:root {
  --bg: #050505;
  --panel: rgba(9, 14, 24, 0.84);
  --panel-soft: rgba(10, 18, 28, 0.66);
  --line: rgba(255, 208, 66, 0.2);
  --line-strong: rgba(255, 208, 66, 0.42);
  --text: #f7f4e8;
  --muted: rgba(247, 244, 232, 0.74);
  --gold: #ffcb33;
  --gold-deep: #d89d00;
  --cyan: #63dff0;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
  --console-page-bg: linear-gradient(180deg, #040507 0%, #09111b 100%);
  --console-sidebar-bg: linear-gradient(180deg, rgba(6, 11, 18, 0.86), rgba(10, 16, 26, 0.74));
  --console-sidebar-shadow: 0 22px 56px rgba(0, 0, 0, 0.28);
  --console-link-hover: rgba(255, 255, 255, 0.06);
  --console-link-active:
    linear-gradient(180deg, rgba(19, 31, 45, 0.96), rgba(12, 20, 31, 0.9)),
    radial-gradient(circle at top right, rgba(99, 223, 240, 0.12), transparent 40%);
  --console-icon-bg:
    radial-gradient(circle at top, rgba(99, 223, 240, 0.25), transparent 62%),
    linear-gradient(180deg, rgba(255, 203, 51, 0.08), rgba(255, 255, 255, 0.02));
  --console-icon-border: rgba(255, 208, 66, 0.18);
  --console-utility-icon-bg: rgba(255, 255, 255, 0.04);
  --console-content-bg:
    linear-gradient(180deg, rgba(3, 5, 8, 0.24) 0%, rgba(5, 10, 17, 0.48) 100%),
    linear-gradient(90deg, rgba(6, 9, 15, 0.08) 0%, rgba(6, 9, 15, 0) 25%, rgba(6, 9, 15, 0) 75%, rgba(6, 9, 15, 0.08) 100%),
    radial-gradient(circle at top left, rgba(99, 223, 240, 0.08), transparent 32%),
    radial-gradient(circle at top right, rgba(255, 203, 51, 0.1), transparent 28%),
    url("../img/kyllr_labs_plain.png");
  --console-content-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
  --console-field-bg: rgba(8, 13, 20, 0.72);
  --console-field-border: rgba(255, 255, 255, 0.07);
  --console-card-bg:
    linear-gradient(180deg, rgba(16, 27, 40, 0.86), rgba(9, 15, 24, 0.72)),
    radial-gradient(circle at top right, rgba(99, 223, 240, 0.08), transparent 34%);
  --console-card-feature-bg:
    linear-gradient(180deg, rgba(18, 31, 46, 0.92), rgba(10, 18, 29, 0.82)),
    radial-gradient(circle at top right, rgba(255, 203, 51, 0.1), transparent 36%);
  --console-table-card-bg:
    linear-gradient(180deg, rgba(16, 27, 40, 0.88), rgba(9, 15, 24, 0.76)),
    radial-gradient(circle at top right, rgba(255, 203, 51, 0.08), transparent 36%);
  --console-table-wrap-bg: rgba(4, 8, 13, 0.4);
  --console-table-head-bg: rgba(10, 16, 24, 0.96);
  --console-table-row-hover: rgba(255, 255, 255, 0.03);
  --console-table-border: rgba(255, 255, 255, 0.06);
  --console-pill-bg: rgba(255, 255, 255, 0.05);
  --console-field-placeholder: rgba(247, 244, 232, 0.48);
  --console-date-label: rgba(247, 244, 232, 0.58);
  --console-divider: rgba(255, 255, 255, 0.07);
  --console-toggle-bg: rgba(255, 255, 255, 0.04);
  --console-toggle-hover: rgba(255, 255, 255, 0.08);
  --console-focus-ring: rgba(99, 223, 240, 0.8);
}

html[data-theme="light"] {
  --bg: #f5f1e8;
  --panel: rgba(255, 255, 255, 0.9);
  --panel-soft: rgba(248, 244, 235, 0.86);
  --line: rgba(152, 112, 0, 0.18);
  --line-strong: rgba(152, 112, 0, 0.34);
  --text: #18202a;
  --muted: rgba(24, 32, 42, 0.66);
  --gold: #a36e00;
  --gold-deep: #8b6100;
  --cyan: #0c8ca5;
  --shadow: 0 24px 60px rgba(123, 110, 80, 0.14);
  --console-page-bg: linear-gradient(180deg, #fcfbf7 0%, #ece6d8 100%);
  --console-sidebar-bg: linear-gradient(180deg, rgba(255, 252, 246, 0.94), rgba(245, 239, 228, 0.9));
  --console-sidebar-shadow: 0 18px 44px rgba(101, 88, 60, 0.12);
  --console-link-hover: rgba(24, 32, 42, 0.06);
  --console-link-active:
    linear-gradient(180deg, rgba(255, 252, 246, 0.98), rgba(245, 239, 228, 0.96)),
    radial-gradient(circle at top right, rgba(12, 140, 165, 0.12), transparent 42%);
  --console-icon-bg:
    radial-gradient(circle at top, rgba(12, 140, 165, 0.12), transparent 62%),
    linear-gradient(180deg, rgba(163, 110, 0, 0.08), rgba(255, 255, 255, 0.4));
  --console-icon-border: rgba(163, 110, 0, 0.16);
  --console-utility-icon-bg: rgba(24, 32, 42, 0.05);
  --console-content-bg:
    linear-gradient(180deg, rgba(255, 255, 255, 0.72) 0%, rgba(247, 242, 233, 0.84) 100%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0) 25%, rgba(255, 255, 255, 0) 75%, rgba(255, 255, 255, 0.18) 100%),
    radial-gradient(circle at top left, rgba(12, 140, 165, 0.1), transparent 32%),
    radial-gradient(circle at top right, rgba(163, 110, 0, 0.1), transparent 28%),
    url("../img/kyllr_labs_plain.png");
  --console-content-shadow: 0 20px 52px rgba(101, 88, 60, 0.12);
  --console-field-bg: rgba(255, 255, 255, 0.82);
  --console-field-border: rgba(24, 32, 42, 0.08);
  --console-card-bg:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(248, 244, 235, 0.88)),
    radial-gradient(circle at top right, rgba(12, 140, 165, 0.08), transparent 34%);
  --console-card-feature-bg:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 242, 233, 0.92)),
    radial-gradient(circle at top right, rgba(163, 110, 0, 0.08), transparent 36%);
  --console-table-card-bg:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(248, 244, 235, 0.9)),
    radial-gradient(circle at top right, rgba(163, 110, 0, 0.06), transparent 36%);
  --console-table-wrap-bg: rgba(255, 255, 255, 0.52);
  --console-table-head-bg: rgba(250, 246, 238, 0.96);
  --console-table-row-hover: rgba(24, 32, 42, 0.03);
  --console-table-border: rgba(24, 32, 42, 0.08);
  --console-pill-bg: rgba(24, 32, 42, 0.05);
  --console-field-placeholder: rgba(24, 32, 42, 0.42);
  --console-date-label: rgba(24, 32, 42, 0.56);
  --console-divider: rgba(24, 32, 42, 0.08);
  --console-toggle-bg: rgba(24, 32, 42, 0.05);
  --console-toggle-hover: rgba(24, 32, 42, 0.09);
  --console-focus-ring: rgba(12, 140, 165, 0.65);
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Manrope", sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

.landing-page {
  height: 100vh;
  height: 100svh;
  overflow: hidden;
}

.landing-shell {
  position: relative;
  height: 100vh;
  height: 100svh;
  background-image: url("../img/kyllr_labs_landing.png");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  overflow: hidden;
}

.landing-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 18%, rgba(99, 223, 240, 0.12), transparent 22%),
    radial-gradient(circle at 82% 78%, rgba(255, 203, 51, 0.08), transparent 26%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.02) 0%, rgba(0, 0, 0, 0.08) 100%);
  pointer-events: none;
}

.landing-atmosphere {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.landing-orb,
.landing-light-beam,
.landing-spark {
  position: absolute;
}

.landing-orb {
  border-radius: 50%;
  filter: blur(16px);
  opacity: 0.72;
  mix-blend-mode: screen;
}

.landing-orb-a {
  top: 8%;
  left: 7%;
  width: 22rem;
  height: 22rem;
  background: radial-gradient(circle, rgba(99, 223, 240, 0.2), transparent 66%);
  animation: landingFloatA 16s ease-in-out infinite;
}

.landing-orb-b {
  right: 8%;
  top: 16%;
  width: 16rem;
  height: 16rem;
  background: radial-gradient(circle, rgba(255, 203, 51, 0.14), transparent 68%);
  animation: landingFloatB 18s ease-in-out infinite;
}

.landing-orb-c {
  right: 18%;
  bottom: 7%;
  width: 18rem;
  height: 18rem;
  background: radial-gradient(circle, rgba(99, 223, 240, 0.14), transparent 68%);
  animation: landingFloatC 20s ease-in-out infinite;
}

.landing-light-beam {
  top: -18%;
  left: 42%;
  width: 26rem;
  height: 140%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 236, 179, 0.1), rgba(255, 255, 255, 0));
  transform: rotate(16deg);
  filter: blur(24px);
  opacity: 0.38;
  animation: landingBeam 14s ease-in-out infinite;
}

.landing-spark {
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.98), rgba(255, 203, 51, 0.74) 45%, rgba(255, 203, 51, 0) 72%);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.42);
  opacity: 0;
}

.landing-spark::before,
.landing-spark::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: rgba(255, 255, 255, 0.62);
  border-radius: 999px;
}

.landing-spark::before {
  width: 1.1rem;
  height: 1px;
}

.landing-spark::after {
  width: 1px;
  height: 1.1rem;
}

.landing-spark-1 {
  top: 18%;
  left: 24%;
  animation: landingSparkle 6.8s ease-in-out infinite 0.2s;
}

.landing-spark-2 {
  top: 31%;
  right: 18%;
  animation: landingSparkle 7.4s ease-in-out infinite 1.3s;
}

.landing-spark-3 {
  bottom: 29%;
  left: 17%;
  animation: landingSparkle 6.2s ease-in-out infinite 2.1s;
}

.landing-spark-4 {
  bottom: 20%;
  right: 26%;
  animation: landingSparkle 7.1s ease-in-out infinite 3s;
}

.landing-spark-5 {
  top: 42%;
  left: 54%;
  animation: landingSparkle 6.5s ease-in-out infinite 4s;
}

.landing-spark-6 {
  top: 24%;
  right: 34%;
  animation: landingSparkle 7.8s ease-in-out infinite 4.8s;
}

.landing-actions {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 2rem;
}

.landing-suite {
  width: min(100%, 1220px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.landing-suite-header {
  text-align: center;
  color: #f7f4e8;
}

.landing-suite-kicker {
  margin: 0 0 0.6rem;
  color: rgba(255, 203, 51, 0.92);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.26em;
  text-transform: uppercase;
}

.landing-suite-header h1 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2rem, 4vw, 3.6rem);
  font-weight: 700;
  letter-spacing: -0.05em;
  text-shadow: 0 12px 36px rgba(0, 0, 0, 0.4);
}

.landing-suite-header p {
  margin: 0.85rem auto 0;
  max-width: 46rem;
  font-size: clamp(0.98rem, 1.45vw, 1.16rem);
  line-height: 1.6;
  color: rgba(247, 244, 232, 0.86);
  text-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.landing-suite-grid {
  width: fit-content;
  max-width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(13.75rem, 14.75rem));
  justify-content: center;
  gap: 0.9rem;
}

.suite-card {
  min-height: 14.2rem;
  padding: 1.35rem;
  border: 1px solid rgba(255, 203, 51, 0.14);
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(9, 14, 24, 0.7), rgba(8, 13, 21, 0.5)),
    radial-gradient(circle at top right, rgba(99, 223, 240, 0.12), transparent 34%);
  box-shadow:
    0 24px 68px rgba(0, 0, 0, 0.38),
    inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(8px);
  color: #f7f4e8;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  text-align: center;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, filter 180ms ease;
}

.suite-card:hover,
.suite-card:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(255, 203, 51, 0.32);
  box-shadow:
    0 28px 86px rgba(0, 0, 0, 0.48),
    inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.suite-card:focus-visible {
  outline: 2px solid rgba(99, 223, 240, 0.8);
  outline-offset: 4px;
}

.suite-card.is-disabled {
  cursor: default;
  filter: saturate(0.78);
}

.suite-card.is-disabled:hover,
.suite-card.is-disabled:focus-visible {
  transform: none;
  border-color: rgba(255, 203, 51, 0.14);
  box-shadow:
    0 24px 68px rgba(0, 0, 0, 0.38),
    inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  outline: none;
}

.suite-card-art {
  width: 100%;
  min-height: 8.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.suite-card-art img {
  width: clamp(7.8rem, 58%, 11.6rem);
  max-width: 100%;
  max-height: 11.6rem;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 12px 22px rgba(0, 0, 0, 0.24));
}

.suite-card-label {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.04em;
}

.suite-card-frontdesk {
  background:
    linear-gradient(180deg, rgba(11, 18, 30, 0.76), rgba(8, 13, 21, 0.56)),
    radial-gradient(circle at top right, rgba(99, 223, 240, 0.16), transparent 34%);
}

.suite-card-project {
  background:
    linear-gradient(180deg, rgba(16, 20, 34, 0.72), rgba(8, 13, 21, 0.52)),
    radial-gradient(circle at top right, rgba(255, 203, 51, 0.12), transparent 34%);
}

.suite-card-surveys {
  background:
    linear-gradient(180deg, rgba(12, 18, 28, 0.76), rgba(8, 13, 21, 0.56)),
    radial-gradient(circle at top right, rgba(99, 223, 240, 0.14), transparent 34%);
}

.suite-card-reports {
  background:
    linear-gradient(180deg, rgba(14, 18, 30, 0.74), rgba(8, 13, 21, 0.54)),
    radial-gradient(circle at top right, rgba(118, 246, 161, 0.14), transparent 34%);
}

.suite-card-blog {
  background:
    linear-gradient(180deg, rgba(18, 16, 30, 0.74), rgba(8, 13, 21, 0.54)),
    radial-gradient(circle at top right, rgba(255, 203, 51, 0.16), transparent 34%);
}

.landing-footer {
  position: absolute;
  left: 50%;
  bottom: 1rem;
  z-index: 1;
  transform: translateX(-50%);
  color: rgba(247, 244, 232, 0.78);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-align: center;
  white-space: nowrap;
}

.landing-footer a {
  color: rgba(247, 244, 232, 0.92);
  text-decoration: none;
  border-bottom: 1px solid rgba(247, 244, 232, 0.28);
}

.landing-footer a:hover,
.landing-footer a:focus-visible {
  color: #fff4c8;
  border-bottom-color: rgba(255, 244, 200, 0.72);
}

.landing-chat-launcher {
  position: absolute;
  right: 1.3rem;
  bottom: 1.3rem;
  z-index: 2;
  width: 4.85rem;
  height: 4.85rem;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(9, 14, 24, 0.3);
  box-shadow:
    0 20px 48px rgba(0, 0, 0, 0.28),
    inset 0 0 0 1px rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.landing-chat-launcher:hover,
.landing-chat-launcher:focus-visible {
  transform: translateY(-3px) scale(1.02);
  box-shadow:
    0 24px 56px rgba(0, 0, 0, 0.34),
    inset 0 0 0 1px rgba(255, 255, 255, 0.16);
}

.landing-chat-launcher:focus-visible {
  outline: 2px solid rgba(99, 223, 240, 0.8);
  outline-offset: 4px;
}

.landing-chat-launcher img {
  width: 3.55rem;
  height: 3.55rem;
  object-fit: contain;
}

.landing-chat-modal {
  position: fixed;
  inset: 0;
  z-index: 20;
}

.landing-chat-open {
  overflow: hidden;
}

.landing-chat-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(4, 8, 14, 0.16);
  cursor: pointer;
}

.landing-chat-window {
  position: absolute;
  right: 1.35rem;
  bottom: 1.35rem;
  width: min(24rem, calc(100vw - 1.5rem));
  height: min(42rem, calc(100vh - 1.5rem));
  border-radius: 30px;
  overflow: hidden;
  background-color: rgba(0, 0, 0, 0.5);
  box-shadow:
    0 32px 80px rgba(0, 0, 0, 0.32),
    inset 0 0 0 1px rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
}

.landing-chat-bg-image {
  display: none;
}

.landing-chat-surface {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  background: transparent;
}

.landing-chat-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.85rem;
  padding: 0.8rem 0.9rem;
  border-radius: 24px;
  background: rgba(0, 0, 0, 0.9);
}

.landing-chat-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.landing-chat-brand img {
  width: 3rem;
  height: 3rem;
  object-fit: contain;
}

.landing-chat-head h2 {
  margin: 0;
  color: #fffaf0;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.35rem;
  letter-spacing: -0.04em;
  text-shadow: 0 8px 20px rgba(0, 0, 0, 0.24);
}

.landing-chat-status {
  margin: 0.28rem 0 0;
  color: rgba(255, 250, 240, 0.74);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1.4;
}

.landing-chat-close {
  width: 2.5rem;
  height: 2.5rem;
  flex: 0 0 2.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  color: #fffaf0;
  backdrop-filter: blur(10px);
  cursor: pointer;
}

.landing-chat-close svg {
  width: 1rem;
  height: 1rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.landing-chat-thread {
  flex: 1 1 auto;
  min-height: 0;
  margin-top: 1rem;
  padding: 0.15rem 0.15rem 0.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  overflow: auto;
  scroll-behavior: smooth;
}

.landing-chat-bubble {
  position: relative;
  max-width: 86%;
  width: fit-content;
  min-width: 0;
  padding: 0.88rem 1rem 0.92rem;
  border-radius: 22px;
  backdrop-filter: blur(10px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.16);
  overflow: clip;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.landing-chat-bubble::before {
  content: "";
  position: absolute;
  inset: 0;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  opacity: 0.42;
  pointer-events: none;
}

.landing-chat-bubble > * {
  position: relative;
  z-index: 1;
}

.landing-chat-bubble-bot {
  align-self: flex-start;
  background: rgba(176, 237, 167, 0.92);
  color: #132112;
  box-shadow:
    0 14px 28px rgba(0, 0, 0, 0.16),
    inset 0 0 0 1px rgba(216, 255, 204, 0.98);
}

.landing-chat-bubble-user {
  align-self: flex-end;
  background: rgba(7, 10, 14, 0.76);
  color: #f8fbff;
  box-shadow:
    0 14px 28px rgba(0, 0, 0, 0.16),
    inset 0 0 0 1px rgba(255, 217, 102, 0.95);
}

.landing-chat-bubble-bot::before {
  display: none;
  background-image: none;
}

.landing-chat-bubble-user::before {
  background-image: url("../img/chat_bubble_background.png");
}

.landing-chat-bubble-label {
  display: block;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.76;
}

.landing-chat-bubble p {
  margin: 0.42rem 0 0;
  line-height: 1.55;
  white-space: pre-wrap;
}

.landing-chat-bubble-bot .landing-chat-bubble-label {
  color: rgba(19, 33, 18, 0.78);
}

.landing-chat-inputbar {
  margin-top: 1rem;
  padding: 0.42rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.45rem;
}

.landing-chat-inputbar input,
.landing-chat-inputbar button {
  border: 0;
  border-radius: 999px;
  min-height: 2.85rem;
  font: inherit;
}

.landing-chat-inputbar input {
  padding: 0 1rem;
  background: rgba(255, 255, 255, 0.78);
  color: #18202a;
  min-width: 0;
}

.landing-chat-inputbar button {
  padding: 0 1rem;
  background: rgba(255, 203, 51, 0.9);
  color: #1b1406;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
}

.free-tools-page {
  min-height: 100vh;
  overflow-x: hidden;
  overflow-y: hidden;
  background: #05070b;
}

.free-tools-shell {
  position: relative;
  min-height: 100vh;
  height: 100vh;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  overflow-x: hidden;
  overflow-y: hidden;
}

.free-tools-shell-landing {
  background-image: url("../img/kyllr_labs_plain.png");
}

.free-tools-shell-tool {
  background-image: url("../img/kyllr_labs_plain.png");
}

.free-tools-shell .landing-overlay {
  background:
    radial-gradient(circle at 18% 14%, rgba(99, 223, 240, 0.18), transparent 24%),
    radial-gradient(circle at 84% 74%, rgba(255, 203, 51, 0.12), transparent 26%),
    linear-gradient(180deg, rgba(5, 7, 11, 0.16) 0%, rgba(5, 7, 11, 0.34) 100%);
}

.free-tools-frame {
  position: relative;
  z-index: 1;
  width: min(100%, 1180px);
  margin: 0 auto;
  min-height: 100vh;
  height: 100vh;
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  color: #f6f7fa;
  overflow: hidden;
}

.free-tools-page-scrollable {
  overflow-y: auto;
}

.free-tools-shell-scrollable {
  height: auto;
  overflow-y: visible;
}

.free-tools-frame-scrollable {
  height: auto;
  overflow: visible;
}

.free-tools-frame-landing {
  justify-content: flex-start;
}

.free-tools-frame-landing .public-scroll-region {
  justify-content: flex-start;
  padding-top: 0.1rem;
}

.free-tools-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.2rem;
  padding-right: 4.5rem;
}

.free-tools-header-landing {
  display: grid;
  grid-template-columns: 1fr;
  align-content: start;
  gap: 0.75rem;
}

.free-tools-header-stack {
  display: grid;
  grid-template-columns: 1fr;
  align-content: start;
  gap: 1rem;
}

.free-tools-back {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 2.8rem;
  padding: 0.72rem 1rem;
  border-radius: 999px;
  background: rgba(255, 252, 246, 0.78);
  color: #18202a;
  border: 1px solid rgba(24, 32, 42, 0.08);
  backdrop-filter: blur(10px);
  font-weight: 700;
  box-shadow: 0 12px 30px rgba(101, 88, 60, 0.12);
  width: fit-content;
  max-width: 100%;
}

.free-tools-back-subtle {
  min-height: 2.35rem;
  padding: 0.52rem 0.78rem;
  background: rgba(255, 252, 246, 0.62);
  color: rgba(24, 32, 42, 0.82);
  box-shadow: 0 8px 20px rgba(101, 88, 60, 0.08);
  font-size: 0.92rem;
}

.free-tools-header-landing .free-tools-back,
.free-tools-header-stack .free-tools-back {
  justify-self: start;
}

.free-tools-back svg {
  width: 1rem;
  height: 1rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.free-tools-header-copy {
  max-width: 58rem;
  margin-left: auto;
  color: #f6f7fa;
}

.free-tools-header-copy-landing {
  width: 100%;
  max-width: none;
  margin-left: 0;
}

.free-tools-header-copy-stack {
  width: 100%;
  max-width: none;
  margin-left: 0;
}

.free-tools-kicker {
  margin: 0 0 0.5rem;
  color: #8b6100;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.free-tools-header-copy h1 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2rem, 3.8vw, 3.45rem);
  font-weight: 700;
  letter-spacing: -0.05em;
}

.free-tools-header-copy p {
  margin: 0.7rem 0 0;
  max-width: 46rem;
  color: rgba(246, 247, 250, 0.76);
  line-height: 1.6;
}

.free-tools-header-copy-landing h1 {
  max-width: none;
}

.free-tools-header-copy-landing p {
  max-width: none;
}

.free-tools-header-copy-stack h1 {
  max-width: none;
}

.free-tools-header-copy-stack p {
  max-width: none;
}

.free-tools-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 1rem;
  min-height: 0;
}

.free-tools-secondary-grid {
  display: grid;
  grid-template-columns: 1fr;
}

.free-tools-landing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  align-content: start;
}

.free-tool-launch-card {
  min-height: 20rem;
  padding: 1.3rem;
  border-radius: 32px;
  background:
    linear-gradient(180deg, rgba(9, 14, 24, 0.76), rgba(8, 13, 21, 0.56)),
    radial-gradient(circle at top right, rgba(255, 203, 51, 0.12), transparent 36%);
  border: 1px solid rgba(255, 203, 51, 0.16);
  box-shadow:
    0 24px 68px rgba(0, 0, 0, 0.34),
    inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 1rem;
  color: #f6f7fa;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.free-tool-launch-card:hover,
.free-tool-launch-card:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(255, 203, 51, 0.32);
  box-shadow:
    0 28px 86px rgba(0, 0, 0, 0.42),
    inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.free-tool-launch-card:focus-visible {
  outline: 2px solid rgba(99, 223, 240, 0.8);
  outline-offset: 4px;
}

.free-tool-launch-card.is-disabled {
  cursor: default;
  filter: saturate(0.82);
}

.free-tool-launch-card.is-disabled:hover,
.free-tool-launch-card.is-disabled:focus-visible {
  transform: none;
  border-color: rgba(255, 203, 51, 0.16);
  box-shadow:
    0 24px 68px rgba(0, 0, 0, 0.34),
    inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  outline: none;
}

.free-tool-launch-icon {
  width: 5rem;
  height: 5rem;
  border-radius: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at top, rgba(99, 223, 240, 0.16), transparent 62%),
    linear-gradient(180deg, rgba(255, 203, 51, 0.12), rgba(255, 255, 255, 0.04));
  border: 1px solid rgba(255, 203, 51, 0.16);
}

.free-tool-launch-icon svg {
  width: 2.5rem;
  height: 2.5rem;
  fill: none;
  stroke: #f6cf63;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.free-tool-launch-card h2 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.55rem, 2.4vw, 2.1rem);
  letter-spacing: -0.05em;
}

.free-tool-launch-card p {
  margin: 0;
  color: rgba(246, 247, 250, 0.72);
  line-height: 1.6;
}

.free-tool-launch-card-live {
  background:
    linear-gradient(180deg, rgba(9, 16, 24, 0.8), rgba(8, 13, 21, 0.58)),
    radial-gradient(circle at top right, rgba(99, 223, 240, 0.14), transparent 36%);
}

.free-tool-launch-card-soon {
  background:
    linear-gradient(180deg, rgba(13, 18, 28, 0.78), rgba(8, 13, 21, 0.56)),
    radial-gradient(circle at top right, rgba(255, 203, 51, 0.12), transparent 36%);
}

.free-tool-card {
  border-radius: 30px;
  padding: 1.2rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(246, 240, 230, 0.84)),
    radial-gradient(circle at top right, rgba(12, 140, 165, 0.08), transparent 34%);
  border: 1px solid rgba(24, 32, 42, 0.08);
  box-shadow:
    0 20px 50px rgba(101, 88, 60, 0.12),
    inset 0 0 0 1px rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(10px);
  color: #18202a;
}

.free-tool-card-head h2 {
  margin: 0.38rem 0 0.38rem;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  letter-spacing: -0.04em;
  color: #18202a;
}

.free-tool-card-head p {
  margin: 0;
  color: rgba(24, 32, 42, 0.7);
  line-height: 1.58;
}

.free-tool-badge {
  display: inline-flex;
  align-items: center;
  min-height: 1.9rem;
  padding: 0.28rem 0.72rem;
  border-radius: 999px;
  background: rgba(255, 203, 51, 0.16);
  color: rgba(255, 227, 149, 0.94);
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.free-tool-badge-accent {
  background: rgba(12, 140, 165, 0.12);
  color: #0f7689;
}

.free-tool-badge-muted {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(246, 247, 250, 0.7);
}

.free-tool-form {
  margin-top: 1.1rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.free-tool-field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  color: #18202a;
}

.free-tool-field span,
.free-tool-range-head span {
  font-size: 0.84rem;
  font-weight: 700;
  color: rgba(24, 32, 42, 0.8);
}

.free-tool-field input,
.free-tool-field select {
  min-height: 3.1rem;
  width: 100%;
  border: 0;
  border-radius: 18px;
  padding: 0.82rem 1rem;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: inset 0 0 0 1px rgba(24, 32, 42, 0.08);
  color: #18202a;
  font: inherit;
  outline: none;
}

.free-tool-input-shell {
  position: relative;
}

.free-tool-prefix {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
  color: rgba(24, 32, 42, 0.48);
  font-weight: 700;
}

.free-tool-input-shell input {
  padding-left: 2rem;
}

.free-tool-field-range {
  grid-column: span 2;
}

.free-tool-range-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.free-tool-range-head strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 3.6rem;
  min-height: 2rem;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  background: rgba(24, 32, 42, 0.06);
  color: #18202a;
  font-size: 0.8rem;
  font-weight: 800;
}

.free-tool-field input[type="range"] {
  min-height: auto;
  padding: 0;
  background: transparent;
  box-shadow: none;
  appearance: none;
}

.free-tool-field input[type="range"]::-webkit-slider-runnable-track {
  height: 0.5rem;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(99, 223, 240, 0.72), rgba(255, 203, 51, 0.76));
}

.free-tool-field input[type="range"]::-webkit-slider-thumb {
  appearance: none;
  width: 1.2rem;
  height: 1.2rem;
  margin-top: -0.34rem;
  border-radius: 50%;
  border: 0;
  background: #fff9e2;
  box-shadow: 0 0 0 5px rgba(255, 203, 51, 0.14);
}

.free-tool-field input[type="range"]::-moz-range-track {
  height: 0.5rem;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(99, 223, 240, 0.72), rgba(255, 203, 51, 0.76));
}

.free-tool-field input[type="range"]::-moz-range-thumb {
  width: 1.2rem;
  height: 1.2rem;
  border: 0;
  border-radius: 50%;
  background: #fff9e2;
  box-shadow: 0 0 0 5px rgba(255, 203, 51, 0.14);
}

.free-tool-results-grid {
  margin-top: 1.1rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
}

.free-tool-result {
  min-height: 7rem;
  padding: 0.82rem 0.88rem;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: inset 0 0 0 1px rgba(24, 32, 42, 0.07);
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  color: #18202a;
}

.free-tool-result-feature {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(248, 243, 231, 0.9)),
    radial-gradient(circle at top right, rgba(163, 110, 0, 0.1), transparent 34%);
}

.free-tool-result-label {
  color: rgba(24, 32, 42, 0.62);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.free-tool-result-value {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.5rem, 2.5vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.06em;
  line-height: 1;
  color: #18202a;
}

.free-tool-result-note {
  color: rgba(24, 32, 42, 0.66);
  font-size: 0.88rem;
  line-height: 1.35;
}

.free-tool-callout {
  margin-top: 0.75rem;
  padding: 0.85rem 0.95rem;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: inset 0 0 0 1px rgba(24, 32, 42, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.free-tool-callout p {
  margin: 0;
  color: rgba(24, 32, 42, 0.74);
  font-size: 0.93rem;
  line-height: 1.45;
}

.free-tool-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.8rem 1.15rem;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 214, 87, 0.95), rgba(246, 176, 17, 0.96));
  color: #16120a;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  white-space: nowrap;
}

.free-tool-placeholder-body {
  margin-top: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.free-tool-placeholder-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.free-tool-placeholder-stack span {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(24, 32, 42, 0.06);
  color: rgba(24, 32, 42, 0.74);
  font-size: 0.84rem;
  font-weight: 700;
}

.free-tool-placeholder-button {
  min-height: 2.9rem;
  padding: 0.78rem 1rem;
  border: 0;
  border-radius: 999px;
  background: rgba(24, 32, 42, 0.08);
  color: rgba(24, 32, 42, 0.56);
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
}

.free-tool-card-placeholder-page {
  min-height: 20rem;
}

.about-page {
  min-height: 100vh;
  overflow-x: hidden;
  overflow-y: hidden;
  background: #05070b;
}

.about-shell {
  position: relative;
  min-height: 100vh;
  height: 100vh;
  background-image: url("../img/kyllr_labs_plain.png");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  overflow-x: hidden;
  overflow-y: hidden;
}

.about-shell .landing-overlay {
  background:
    radial-gradient(circle at 18% 14%, rgba(99, 223, 240, 0.18), transparent 24%),
    radial-gradient(circle at 84% 74%, rgba(255, 203, 51, 0.12), transparent 26%),
    linear-gradient(180deg, rgba(5, 7, 11, 0.18) 0%, rgba(5, 7, 11, 0.34) 100%);
}

.about-frame {
  position: relative;
  z-index: 1;
  width: min(100%, 1180px);
  margin: 0 auto;
  min-height: 100vh;
  height: 100vh;
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  color: #f6f7fa;
  overflow: hidden;
}

.blog-page {
  min-height: 100vh;
  overflow-x: hidden;
  overflow-y: hidden;
  background: #05070b;
}

.blog-shell {
  position: relative;
  min-height: 100vh;
  height: 100vh;
  background-image: url("../img/kyllr_chat.png");
  background-position: center top;
  background-repeat: no-repeat;
  background-size: 100% auto;
  background-color: #05070b;
  overflow-x: hidden;
  overflow-y: hidden;
}

.blog-shell .landing-overlay {
  background:
    radial-gradient(circle at 20% 16%, rgba(255, 203, 51, 0.12), transparent 24%),
    radial-gradient(circle at 82% 72%, rgba(255, 255, 255, 0.08), transparent 24%),
    linear-gradient(180deg, rgba(5, 7, 11, 0.16) 0%, rgba(5, 7, 11, 0.36) 100%);
}

.blog-frame {
  position: relative;
  z-index: 1;
  width: min(100%, 1180px);
  margin: 0 auto;
  min-height: 100vh;
  height: 100vh;
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  color: #f6f7fa;
  overflow: hidden;
}

.blog-header {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-right: 4.5rem;
}

.blog-header-copy h1 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2.2rem, 5vw, 4rem);
  letter-spacing: -0.06em;
  text-shadow: 0 14px 40px rgba(0, 0, 0, 0.34);
}

.blog-header-copy p {
  margin: 0.7rem 0 0;
  max-width: 44rem;
  color: rgba(246, 247, 250, 0.78);
  line-height: 1.7;
}

.blog-placeholder-badge {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0.32rem 0.76rem;
  border-radius: 999px;
  background: rgba(255, 203, 51, 0.16);
  color: rgba(255, 227, 149, 0.94);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.blog-kpi-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.blog-kpi-card,
.blog-editor-card,
.blog-side-card {
  border-radius: 32px;
  background:
    linear-gradient(180deg, rgba(9, 14, 24, 0.72), rgba(8, 13, 21, 0.52)),
    radial-gradient(circle at top right, rgba(255, 203, 51, 0.12), transparent 34%);
  border: 1px solid rgba(255, 203, 51, 0.16);
  box-shadow:
    0 24px 68px rgba(0, 0, 0, 0.34),
    inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(8px);
}

.blog-kpi-card {
  padding: 1.1rem 1.2rem;
}

.blog-kpi-label {
  display: block;
  color: rgba(246, 247, 250, 0.7);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.blog-kpi-card strong {
  display: block;
  margin-top: 0.55rem;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  letter-spacing: -0.05em;
}

.blog-kpi-card p {
  margin: 0.55rem 0 0;
  color: rgba(246, 247, 250, 0.72);
  line-height: 1.55;
}

.blog-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) minmax(20rem, 0.82fr);
  gap: 1rem;
  align-items: start;
  min-height: 0;
}

.blog-editor-card,
.blog-side-card {
  padding: 1.25rem;
}

.blog-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.blog-card-head-tight {
  margin-bottom: 0.85rem;
}

.blog-card-head h2,
.blog-card-head h3 {
  margin: 0.7rem 0 0;
  font-family: "Space Grotesk", sans-serif;
  letter-spacing: -0.04em;
}

.blog-card-head h2 {
  font-size: clamp(1.5rem, 2.6vw, 2.15rem);
}

.blog-card-head h3 {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
}

.blog-card-head p {
  margin: 0.55rem 0 0;
  max-width: 38rem;
  color: rgba(246, 247, 250, 0.72);
  line-height: 1.6;
}

.blog-workflow-pillars {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.45rem;
}

.blog-workflow-pillars span {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(246, 247, 250, 0.82);
  font-size: 0.78rem;
  font-weight: 700;
}

.blog-editor-grid {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.blog-field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.blog-field-span-2 {
  grid-column: span 2;
}

.blog-field span {
  color: rgba(246, 247, 250, 0.82);
  font-size: 0.84rem;
  font-weight: 700;
}

.blog-field input,
.blog-field select,
.blog-field textarea {
  width: 100%;
  border: 0;
  border-radius: 20px;
  padding: 0.9rem 1rem;
  background: rgba(6, 11, 18, 0.56);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  color: #f6f7fa;
  font: inherit;
  resize: vertical;
  outline: none;
}

.blog-field input::placeholder,
.blog-field textarea::placeholder {
  color: rgba(246, 247, 250, 0.42);
}

.reports-page {
  min-height: 100vh;
  overflow-x: hidden;
  overflow-y: hidden;
  background: #05070b;
}

.reports-modal-open {
  overflow: hidden;
}

html[data-reports-theme="light"] .reports-page {
  background: #efe7d7;
}

.reports-shell {
  position: relative;
  min-height: 100vh;
  height: 100vh;
  background-image: url("../img/kyllr_labs_plain.png");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  overflow-x: hidden;
  overflow-y: hidden;
}

html[data-reports-theme="light"] .reports-shell {
  background-color: #f6efe1;
  background-image:
    radial-gradient(circle at 16% 16%, rgba(255, 213, 98, 0.16), transparent 24%),
    radial-gradient(circle at 86% 18%, rgba(255, 248, 232, 0.82), transparent 28%),
    radial-gradient(circle at 78% 82%, rgba(255, 214, 102, 0.14), transparent 26%),
    linear-gradient(180deg, rgba(255, 251, 245, 0.98) 0%, rgba(242, 232, 214, 0.96) 100%);
}

.reports-shell .landing-overlay {
  background:
    radial-gradient(circle at 18% 14%, rgba(99, 223, 240, 0.18), transparent 24%),
    radial-gradient(circle at 84% 74%, rgba(255, 203, 51, 0.12), transparent 26%),
    linear-gradient(180deg, rgba(5, 7, 11, 0.18) 0%, rgba(5, 7, 11, 0.36) 100%);
}

html[data-reports-theme="light"] .reports-shell .landing-overlay {
  background:
    radial-gradient(circle at 18% 14%, rgba(255, 223, 122, 0.08), transparent 24%),
    radial-gradient(circle at 84% 74%, rgba(255, 255, 255, 0.14), transparent 26%),
    linear-gradient(180deg, rgba(255, 251, 245, 0.04) 0%, rgba(255, 248, 240, 0.08) 100%);
}

html[data-reports-theme="light"] .reports-shell .landing-orb {
  opacity: 0.34;
}

html[data-reports-theme="light"] .reports-shell .landing-light-beam {
  opacity: 0.24;
}

.reports-frame {
  position: relative;
  z-index: 1;
  width: min(100%, 1220px);
  margin: 0 auto;
  min-height: 100vh;
  height: 100vh;
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  color: #f6f7fa;
  overflow: hidden;
}

html[data-reports-theme="light"] .reports-frame {
  color: #18202a;
}

.reports-page-utilities {
  position: absolute;
  top: 1.4rem;
  right: 1.4rem;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.reports-page-utilities .public-home-link {
  position: static;
}

.reports-utility-button {
  min-height: 2.85rem;
  padding: 0.58rem 0.84rem;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 252, 246, 0.76);
  color: rgba(24, 32, 42, 0.88);
  border: 1px solid rgba(24, 32, 42, 0.08);
  box-shadow: 0 12px 30px rgba(101, 88, 60, 0.12);
  backdrop-filter: blur(10px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
}

.reports-utility-button svg {
  width: 0.98rem;
  height: 0.98rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.reports-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding-right: 4.5rem;
}

.reports-header-copy h1 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2.15rem, 4.8vw, 3.8rem);
  letter-spacing: -0.06em;
  text-shadow: 0 14px 40px rgba(0, 0, 0, 0.34);
}

html[data-reports-theme="light"] .reports-header-copy {
  color: #18202a;
}

html[data-reports-theme="light"] .reports-header-copy .about-kicker {
  color: #8b6100;
}

.reports-header-paths {
  margin-top: 0.85rem;
  display: grid;
  gap: 0.75rem;
  max-width: 56rem;
}

.reports-header-path-copy {
  color: rgba(246, 247, 250, 0.72);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.reports-header-path-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.7rem;
}

.reports-header-path-active {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
}

.reports-header-path-chip {
  min-height: 2rem;
  padding: 0.34rem 0.7rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(246, 247, 250, 0.9);
  font-size: 0.8rem;
  font-weight: 700;
}

.reports-header-path-meta {
  color: rgba(246, 247, 250, 0.68);
  font-size: 0.88rem;
  line-height: 1.5;
}

html[data-reports-theme="light"] .reports-header-path-copy,
html[data-reports-theme="light"] .reports-header-path-meta {
  color: rgba(24, 32, 42, 0.7);
}

html[data-reports-theme="light"] .reports-header-path-chip {
  background: rgba(255, 255, 255, 0.8);
  color: rgba(24, 32, 42, 0.86);
  box-shadow: inset 0 0 0 1px rgba(24, 32, 42, 0.08);
}

.reports-callout {
  padding: 1rem 1.1rem;
  border-radius: 24px;
  backdrop-filter: blur(10px);
}

.reports-callout strong {
  display: block;
  margin-bottom: 0.32rem;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1rem;
}

.reports-callout p {
  margin: 0;
  line-height: 1.55;
}

.reports-callout-warning {
  background: rgba(255, 203, 51, 0.16);
  border: 1px solid rgba(255, 203, 51, 0.24);
  color: #fff2be;
}

.reports-callout-error {
  background: rgba(160, 37, 56, 0.2);
  border: 1px solid rgba(255, 129, 150, 0.22);
  color: #ffd7df;
}

html[data-reports-theme="light"] .reports-callout-warning {
  background: rgba(255, 223, 122, 0.22);
  border-color: rgba(181, 132, 0, 0.18);
  color: #6c4900;
}

html[data-reports-theme="light"] .reports-callout-error {
  background: rgba(255, 226, 231, 0.88);
  border-color: rgba(198, 88, 109, 0.16);
  color: #6e2331;
}

.reports-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(18rem, 0.82fr);
  gap: 1rem;
  align-items: start;
}

.reports-grid-top {
  grid-template-columns: minmax(0, 1fr);
}

.reports-grid-analysis {
  margin-top: 1rem;
}

.reports-card {
  border-radius: 32px;
  padding: 1.25rem;
  background:
    linear-gradient(180deg, rgba(9, 14, 24, 0.72), rgba(8, 13, 21, 0.52)),
    radial-gradient(circle at top right, rgba(255, 203, 51, 0.12), transparent 34%);
  border: 1px solid rgba(255, 203, 51, 0.16);
  box-shadow:
    0 24px 68px rgba(0, 0, 0, 0.34),
    inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(8px);
}

html[data-reports-theme="light"] .reports-card,
html[data-reports-theme="light"] .reports-schema-review,
html[data-reports-theme="light"] .reports-summary-card {
  background:
    linear-gradient(180deg, rgba(255, 252, 246, 0.9), rgba(247, 239, 227, 0.92)),
    radial-gradient(circle at top right, rgba(255, 203, 51, 0.08), transparent 34%);
  border: 1px solid rgba(181, 132, 0, 0.12);
  box-shadow:
    0 18px 44px rgba(124, 100, 45, 0.12),
    inset 0 0 0 1px rgba(255, 255, 255, 0.34);
}

.reports-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.reports-card-head-tight {
  margin-bottom: 0.85rem;
}

.reports-card-head h2 {
  margin: 0.65rem 0 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  letter-spacing: -0.04em;
}

.reports-card-head p {
  margin: 0.55rem 0 0;
  color: rgba(246, 247, 250, 0.72);
  line-height: 1.6;
}

html[data-reports-theme="light"] .reports-card-head h2,
html[data-reports-theme="light"] .reports-schema-summary-copy h2,
html[data-reports-theme="light"] .reports-summary-card strong {
  color: #18202a;
}

html[data-reports-theme="light"] .reports-card-head p,
html[data-reports-theme="light"] .reports-schema-summary-copy p {
  color: rgba(24, 32, 42, 0.68);
}

.reports-upload-form {
  margin-top: 1rem;
  display: grid;
  gap: 0.9rem;
}

.reports-upload-field input[type="file"] {
  min-height: 3.4rem;
  width: 100%;
  border: 0;
  border-radius: 20px;
  padding: 0.82rem 1rem;
  background: rgba(6, 11, 18, 0.56);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  color: rgba(246, 247, 250, 0.88);
  font: inherit;
}

html[data-reports-theme="light"] .reports-upload-field input[type="file"] {
  background: rgba(255, 255, 255, 0.82);
  box-shadow: inset 0 0 0 1px rgba(24, 32, 42, 0.08);
  color: #18202a;
}

.reports-upload-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.reports-upload-actions p {
  margin: 0;
  color: rgba(246, 247, 250, 0.66);
  font-size: 0.9rem;
  line-height: 1.5;
}

html[data-reports-theme="light"] .reports-upload-actions p,
html[data-reports-theme="light"] .reports-summary-card span,
html[data-reports-theme="light"] .reports-schema-status span {
  color: rgba(24, 32, 42, 0.62);
}

.reports-summary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
}

.reports-summary-card {
  padding: 1rem 1.1rem;
  border-radius: 26px;
  background:
    linear-gradient(180deg, rgba(9, 14, 24, 0.76), rgba(8, 13, 21, 0.54)),
    radial-gradient(circle at top right, rgba(99, 223, 240, 0.14), transparent 34%);
  border: 1px solid rgba(255, 203, 51, 0.14);
  box-shadow:
    0 18px 48px rgba(0, 0, 0, 0.28),
    inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.reports-summary-card span {
  display: block;
  color: rgba(246, 247, 250, 0.66);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.reports-summary-card strong {
  display: block;
  margin-top: 0.45rem;
  color: #fff7dd;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.2rem, 2vw, 1.65rem);
  letter-spacing: -0.04em;
}

.reports-table-wrap {
  overflow: auto;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

html[data-reports-theme="light"] .reports-table-wrap {
  background: rgba(255, 255, 255, 0.7);
  box-shadow: inset 0 0 0 1px rgba(24, 32, 42, 0.08);
}

.reports-table {
  width: 100%;
  min-width: 780px;
  border-collapse: collapse;
}

.reports-table th,
.reports-table td {
  padding: 0.88rem 0.95rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  text-align: left;
  vertical-align: top;
}

.reports-table th {
  color: rgba(246, 247, 250, 0.58);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.reports-table td {
  color: rgba(246, 247, 250, 0.88);
  font-size: 0.92rem;
  line-height: 1.5;
}

.reports-table td strong {
  display: block;
  color: #fff2be;
  font-size: 0.9rem;
}

.reports-table td span {
  display: block;
  margin-top: 0.25rem;
  color: rgba(246, 247, 250, 0.62);
  font-size: 0.84rem;
}

html[data-reports-theme="light"] .reports-table th {
  color: rgba(24, 32, 42, 0.54);
}

html[data-reports-theme="light"] .reports-table td {
  color: rgba(24, 32, 42, 0.86);
  border-bottom-color: rgba(24, 32, 42, 0.08);
}

html[data-reports-theme="light"] .reports-table td strong {
  color: #8b6100;
}

html[data-reports-theme="light"] .reports-table td span {
  color: rgba(24, 32, 42, 0.58);
}

.reports-card-preview,
.reports-card-empty {
  margin-top: 1rem;
}

.reports-card-upload,
.reports-card-preview,
.reports-card-empty {
  min-width: 0;
}

.reports-schema-section {
  margin-top: 1rem;
}

.reports-schema-review {
  border-radius: 32px;
  background:
    linear-gradient(180deg, rgba(9, 14, 24, 0.72), rgba(8, 13, 21, 0.52)),
    radial-gradient(circle at top right, rgba(255, 203, 51, 0.12), transparent 34%);
  border: 1px solid rgba(255, 203, 51, 0.16);
  box-shadow:
    0 24px 68px rgba(0, 0, 0, 0.34),
    inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(8px);
}

.reports-schema-review summary {
  list-style: none;
}

.reports-schema-review summary::-webkit-details-marker {
  display: none;
}

.reports-schema-summary {
  padding: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
}

.reports-schema-summary-copy {
  min-width: 0;
}

.reports-schema-summary-copy h2 {
  margin: 0.65rem 0 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.32rem, 2vw, 1.74rem);
  letter-spacing: -0.04em;
}

.reports-schema-summary-copy p {
  margin: 0.5rem 0 0;
  color: rgba(246, 247, 250, 0.72);
  line-height: 1.55;
}

.reports-schema-status {
  flex: 0 0 auto;
  min-width: 14rem;
  padding: 0.9rem 1rem;
  border-radius: 22px;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.reports-schema-light {
  flex: 0 0 auto;
  width: 0.8rem;
  height: 0.8rem;
  border-radius: 999px;
  box-shadow: 0 0 0 0.24rem rgba(255, 255, 255, 0.06);
}

.reports-schema-status strong,
.reports-schema-status span {
  display: block;
}

.reports-schema-status strong {
  color: #f6f7fa;
  font-size: 0.94rem;
}

.reports-schema-status span {
  margin-top: 0.2rem;
  color: rgba(246, 247, 250, 0.62);
  font-size: 0.82rem;
  line-height: 1.45;
}

.reports-schema-status.status-empty .reports-schema-light {
  background: #e06363;
  box-shadow: 0 0 18px rgba(224, 99, 99, 0.5);
}

.reports-schema-status.status-processing .reports-schema-light {
  background: #f2c14e;
  box-shadow: 0 0 18px rgba(242, 193, 78, 0.52);
}

.reports-schema-status.status-ready .reports-schema-light {
  background: #5ad08a;
  box-shadow: 0 0 18px rgba(90, 208, 138, 0.52);
}

.reports-schema-body {
  padding: 0 1.25rem 1.25rem;
}

.reports-help-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
}

.reports-help-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 6, 10, 0.62);
  backdrop-filter: blur(12px);
}

.reports-help-card {
  position: relative;
  z-index: 1;
  width: min(100% - 1.5rem, 860px);
  max-height: calc(100vh - 2rem);
  margin: 1rem auto;
  overflow: auto;
  border-radius: 30px;
  padding: 1.2rem;
  background:
    linear-gradient(180deg, rgba(10, 15, 24, 0.96), rgba(7, 10, 18, 0.94)),
    radial-gradient(circle at top right, rgba(255, 203, 51, 0.12), transparent 34%);
  box-shadow:
    0 36px 80px rgba(0, 0, 0, 0.42),
    inset 0 0 0 1px rgba(255, 255, 255, 0.05);
  color: #f6f7fa;
}

html[data-reports-theme="light"] .reports-page .public-home-link,
html[data-reports-theme="light"] .reports-page .reports-utility-button {
  background: rgba(255, 252, 246, 0.78);
  color: rgba(24, 32, 42, 0.88);
  border-color: rgba(24, 32, 42, 0.08);
  box-shadow: 0 12px 30px rgba(101, 88, 60, 0.12);
}

html[data-reports-theme="dark"] .reports-page .public-home-link,
html[data-reports-theme="dark"] .reports-page .reports-utility-button {
  background: rgba(11, 17, 26, 0.7);
  color: rgba(246, 247, 250, 0.92);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.22);
}

.reports-help-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.reports-help-head h2 {
  margin: 0.6rem 0 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.45rem, 2.6vw, 2rem);
  letter-spacing: -0.04em;
}

html[data-reports-theme="light"] .reports-help-head h2,
html[data-reports-theme="light"] .reports-help-block h3,
html[data-reports-theme="light"] .reports-schema-status strong {
  color: #18202a;
}

.reports-help-close {
  flex: 0 0 auto;
  width: 2.8rem;
  height: 2.8rem;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  color: rgba(246, 247, 250, 0.82);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

html[data-reports-theme="light"] .reports-help-card {
  background:
    linear-gradient(180deg, rgba(255, 252, 246, 0.97), rgba(246, 238, 226, 0.96)),
    radial-gradient(circle at top right, rgba(255, 203, 51, 0.12), transparent 34%);
  box-shadow:
    0 30px 70px rgba(124, 100, 45, 0.18),
    inset 0 0 0 1px rgba(255, 255, 255, 0.42);
  color: #18202a;
}

html[data-reports-theme="light"] .reports-help-close {
  background: rgba(24, 32, 42, 0.08);
  color: rgba(24, 32, 42, 0.82);
}

.reports-help-grid {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.reports-help-block {
  padding: 1rem;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

html[data-reports-theme="light"] .reports-help-block,
html[data-reports-theme="light"] .reports-schema-status {
  background: rgba(255, 255, 255, 0.7);
  box-shadow: inset 0 0 0 1px rgba(24, 32, 42, 0.08);
}

.reports-help-block h3 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.02rem;
  color: #fff2be;
}

.reports-help-block p {
  margin: 0.55rem 0 0;
  color: rgba(246, 247, 250, 0.74);
  line-height: 1.58;
}

html[data-reports-theme="light"] .reports-help-block p {
  color: rgba(24, 32, 42, 0.7);
}

.reports-chat-card,
.reports-agent-card,
.reports-empty-card,
.reports-result-section {
  border-radius: 32px;
  background:
    linear-gradient(180deg, rgba(9, 14, 24, 0.72), rgba(8, 13, 21, 0.52)),
    radial-gradient(circle at top right, rgba(255, 203, 51, 0.12), transparent 34%);
  border: 1px solid rgba(255, 203, 51, 0.16);
  box-shadow:
    0 24px 68px rgba(0, 0, 0, 0.34),
    inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(8px);
}

html[data-reports-theme="light"] .reports-chat-card,
html[data-reports-theme="light"] .reports-agent-card,
html[data-reports-theme="light"] .reports-empty-card,
html[data-reports-theme="light"] .reports-result-section {
  background:
    linear-gradient(180deg, rgba(255, 252, 246, 0.9), rgba(247, 239, 227, 0.92)),
    radial-gradient(circle at top right, rgba(255, 203, 51, 0.08), transparent 34%);
  border: 1px solid rgba(181, 132, 0, 0.12);
  box-shadow:
    0 18px 44px rgba(124, 100, 45, 0.12),
    inset 0 0 0 1px rgba(255, 255, 255, 0.34);
}

.reports-chat-card {
  margin-top: 1rem;
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.reports-chat-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.reports-chat-card-head h2 {
  margin: 0.65rem 0 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.45rem, 2.5vw, 2rem);
  letter-spacing: -0.04em;
}

.reports-chat-runtime {
  margin: 0.5rem 0 0;
  color: rgba(246, 247, 250, 0.7);
  line-height: 1.55;
}

html[data-reports-theme="light"] .reports-chat-card-head h2,
html[data-reports-theme="light"] .reports-thread-meta strong,
html[data-reports-theme="light"] .reports-actions-copy strong,
html[data-reports-theme="light"] .reports-result-section h3,
html[data-reports-theme="light"] .reports-result-next-steps strong,
html[data-reports-theme="light"] .reports-agent-card strong {
  color: #18202a;
}

html[data-reports-theme="light"] .reports-chat-runtime,
html[data-reports-theme="light"] .reports-thread-meta span,
html[data-reports-theme="light"] .reports-actions-copy span,
html[data-reports-theme="light"] .reports-result-section p,
html[data-reports-theme="light"] .reports-agent-card p,
html[data-reports-theme="light"] .reports-result-actions span,
html[data-reports-theme="light"] .reports-result-next-steps li {
  color: rgba(24, 32, 42, 0.68);
}

.reports-chat-status-pill {
  flex: 0 0 auto;
  min-height: 2.5rem;
  padding: 0.6rem 0.9rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(246, 247, 250, 0.92);
  font-size: 0.83rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.reports-chat-status-pill.is-ready {
  color: #fff2be;
}

.reports-chat-status-pill.is-processing {
  background: rgba(255, 203, 51, 0.18);
  color: #fff3c5;
  box-shadow: inset 0 0 0 1px rgba(255, 203, 51, 0.26);
}

.reports-chat-status-pill.is-success {
  background: rgba(90, 208, 138, 0.16);
  color: #dff9e8;
  box-shadow: inset 0 0 0 1px rgba(90, 208, 138, 0.26);
}

.reports-chat-status-pill.is-warning,
.reports-chat-status-pill.is-error {
  background: rgba(224, 99, 99, 0.16);
  color: #ffe0e0;
  box-shadow: inset 0 0 0 1px rgba(224, 99, 99, 0.24);
}

html[data-reports-theme="light"] .reports-chat-status-pill {
  background: rgba(255, 255, 255, 0.72);
  color: rgba(24, 32, 42, 0.84);
  box-shadow: inset 0 0 0 1px rgba(24, 32, 42, 0.08);
}

html[data-reports-theme="light"] .reports-chat-status-pill.is-processing {
  background: rgba(255, 203, 51, 0.18);
  color: #755200;
}

html[data-reports-theme="light"] .reports-chat-status-pill.is-success {
  background: rgba(90, 208, 138, 0.18);
  color: #1d6a3a;
}

html[data-reports-theme="light"] .reports-chat-status-pill.is-warning,
html[data-reports-theme="light"] .reports-chat-status-pill.is-error {
  background: rgba(224, 99, 99, 0.18);
  color: #8b2e2e;
}

.reports-chat-thread {
  min-height: 18rem;
  max-height: 31rem;
  overflow: auto;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding-right: 0.15rem;
}

.reports-thread-message {
  max-width: min(100%, 42rem);
  padding: 0.95rem 1rem;
  border-radius: 24px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.reports-thread-message.is-assistant {
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.06);
}

.reports-thread-message.is-user {
  align-self: flex-end;
  background: linear-gradient(180deg, rgba(255, 203, 51, 0.88), rgba(231, 171, 15, 0.82));
  color: #221906;
  box-shadow: 0 14px 28px rgba(255, 203, 51, 0.18);
}

.reports-thread-message.is-processing {
  opacity: 0.9;
  background: rgba(137, 228, 164, 0.12);
  box-shadow:
    inset 0 0 0 1px rgba(137, 228, 164, 0.18),
    0 14px 28px rgba(7, 19, 15, 0.18);
}

html[data-reports-theme="light"] .reports-thread-message.is-assistant {
  background: rgba(255, 255, 255, 0.78);
  box-shadow: inset 0 0 0 1px rgba(24, 32, 42, 0.08);
}

html[data-reports-theme="light"] .reports-thread-message.is-processing {
  background: rgba(137, 228, 164, 0.16);
  box-shadow:
    inset 0 0 0 1px rgba(68, 160, 97, 0.16),
    0 16px 28px rgba(62, 92, 71, 0.12);
}

.reports-thread-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
}

.reports-thread-meta strong {
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff2be;
}

.reports-thread-message.is-user .reports-thread-meta strong,
.reports-thread-message.is-user .reports-thread-meta span,
.reports-thread-message.is-user .reports-thread-body {
  color: #221906;
}

.reports-thread-meta span {
  color: rgba(246, 247, 250, 0.55);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.reports-thread-body {
  margin-top: 0.45rem;
  color: rgba(246, 247, 250, 0.9);
  line-height: 1.65;
  overflow-wrap: anywhere;
}

html[data-reports-theme="light"] .reports-thread-body {
  color: rgba(24, 32, 42, 0.88);
}

.reports-thread-loading {
  margin-top: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.reports-thread-loader {
  width: 1.05rem;
  height: 1.05rem;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.22);
  border-top-color: #89e4a4;
  animation: reports-spin 0.9s linear infinite;
  flex: 0 0 auto;
}

.reports-thread-loading-copy {
  display: grid;
  gap: 0.22rem;
}

.reports-thread-loading-copy strong {
  color: #edfbe8;
  font-size: 0.86rem;
  letter-spacing: 0.04em;
}

.reports-thread-loading-copy p {
  margin: 0;
  color: rgba(246, 247, 250, 0.82);
  line-height: 1.55;
}

html[data-reports-theme="light"] .reports-thread-loader {
  border-color: rgba(24, 32, 42, 0.16);
  border-top-color: #2d8f56;
}

html[data-reports-theme="light"] .reports-thread-loading-copy strong {
  color: #183021;
}

html[data-reports-theme="light"] .reports-thread-loading-copy p {
  color: rgba(24, 32, 42, 0.72);
}

.reports-chat-actions {
  display: grid;
  gap: 0.85rem;
}

.reports-actions-group {
  display: grid;
  gap: 0.8rem;
}

.reports-actions-copy strong {
  display: block;
  color: #f6f7fa;
  font-size: 0.98rem;
}

.reports-actions-copy span {
  display: block;
  margin-top: 0.35rem;
  color: rgba(246, 247, 250, 0.66);
  line-height: 1.55;
}

.reports-actions-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.reports-actions-grid-tight {
  grid-template-columns: repeat(2, minmax(0, 18rem));
}

.reports-option-button,
.reports-secondary-button {
  border: 0;
  border-radius: 26px;
  font: inherit;
  cursor: pointer;
}

.reports-option-button {
  min-height: 5.4rem;
  padding: 1rem 1.05rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 0.3rem;
  background: rgba(255, 255, 255, 0.05);
  color: #f6f7fa;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.07);
  text-align: left;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.reports-option-button-compact {
  min-height: 4.6rem;
  padding: 0.8rem 0.9rem;
  border-radius: 22px;
}

.reports-option-button-compact strong {
  font-size: 0.92rem;
}

.reports-option-button-compact span {
  font-size: 0.8rem;
  line-height: 1.42;
}

.reports-option-button:hover:not(:disabled) {
  transform: translateY(-1px);
  background: rgba(255, 203, 51, 0.12);
  box-shadow:
    inset 0 0 0 1px rgba(255, 203, 51, 0.18),
    0 14px 24px rgba(0, 0, 0, 0.16);
}

.reports-option-button strong {
  color: #fff4ce;
  font-size: 0.98rem;
}

.reports-option-button span {
  color: rgba(246, 247, 250, 0.68);
  line-height: 1.5;
  font-size: 0.88rem;
}

html[data-reports-theme="light"] .reports-option-button {
  background: rgba(255, 255, 255, 0.78);
  color: #18202a;
  box-shadow: inset 0 0 0 1px rgba(24, 32, 42, 0.08);
}

html[data-reports-theme="light"] .reports-option-button:hover:not(:disabled) {
  background: rgba(255, 203, 51, 0.14);
  box-shadow:
    inset 0 0 0 1px rgba(181, 132, 0, 0.12),
    0 16px 26px rgba(124, 100, 45, 0.12);
}

html[data-reports-theme="light"] .reports-option-button strong {
  color: #18202a;
}

html[data-reports-theme="light"] .reports-option-button span {
  color: rgba(24, 32, 42, 0.65);
}

.reports-option-button:disabled,
.reports-secondary-button:disabled {
  opacity: 0.52;
  cursor: not-allowed;
}

.reports-secondary-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.reports-secondary-button {
  min-height: 2.9rem;
  padding: 0.7rem 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  color: #f6f7fa;
  font-size: 0.92rem;
  font-weight: 800;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.reports-secondary-button-danger {
  color: #ffd3d3;
}

html[data-reports-theme="light"] .reports-secondary-button {
  background: rgba(255, 255, 255, 0.82);
  color: #18202a;
  box-shadow: inset 0 0 0 1px rgba(24, 32, 42, 0.08);
}

html[data-reports-theme="light"] .reports-secondary-button-danger {
  color: #8b2e2e;
}

.reports-action-note {
  padding: 0.9rem 1rem;
  border-radius: 22px;
  line-height: 1.55;
  background: rgba(255, 255, 255, 0.05);
  color: rgba(246, 247, 250, 0.88);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.reports-action-note.is-info {
  color: rgba(246, 247, 250, 0.82);
}

.reports-action-note.is-success {
  background: rgba(90, 208, 138, 0.14);
  color: #e3f9ea;
  box-shadow: inset 0 0 0 1px rgba(90, 208, 138, 0.2);
}

.reports-action-note.is-processing,
.reports-action-note.is-warning {
  background: rgba(255, 203, 51, 0.14);
  color: #fff3ca;
  box-shadow: inset 0 0 0 1px rgba(255, 203, 51, 0.2);
}

.reports-action-note.is-error {
  background: rgba(224, 99, 99, 0.14);
  color: #ffe1e1;
  box-shadow: inset 0 0 0 1px rgba(224, 99, 99, 0.22);
}

html[data-reports-theme="light"] .reports-action-note {
  background: rgba(255, 255, 255, 0.78);
  color: rgba(24, 32, 42, 0.8);
  box-shadow: inset 0 0 0 1px rgba(24, 32, 42, 0.08);
}

html[data-reports-theme="light"] .reports-action-note.is-success {
  background: rgba(90, 208, 138, 0.14);
  color: #1d6a3a;
}

html[data-reports-theme="light"] .reports-action-note.is-processing,
html[data-reports-theme="light"] .reports-action-note.is-warning {
  background: rgba(255, 203, 51, 0.16);
  color: #755200;
}

html[data-reports-theme="light"] .reports-action-note.is-error {
  background: rgba(224, 99, 99, 0.16);
  color: #8b2e2e;
}

.reports-chat-prompt,
.reports-chat-upload {
  display: grid;
  gap: 0.75rem;
}

.reports-composer {
  display: grid;
  gap: 0.55rem;
  padding: 0.9rem 0.95rem 0.95rem;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.045);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.06),
    0 18px 34px rgba(0, 0, 0, 0.12);
  transition: box-shadow 180ms ease, background 180ms ease, transform 180ms ease;
}

.reports-composer:focus-within {
  background: rgba(255, 255, 255, 0.07);
  box-shadow:
    inset 0 0 0 1px rgba(255, 203, 51, 0.16),
    0 18px 34px rgba(0, 0, 0, 0.16);
  transform: translateY(-1px);
}

.reports-composer-label {
  color: rgba(246, 247, 250, 0.76);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.reports-composer-input {
  width: 100%;
  min-height: 5.6rem;
  resize: vertical;
  border: 0;
  outline: 0;
  padding: 0;
  background: transparent;
  color: #f6f7fa;
  font: 600 1rem/1.65 "Manrope", sans-serif;
}

.reports-composer-input::placeholder {
  color: rgba(246, 247, 250, 0.42);
}

.reports-composer-send {
  min-width: 8.3rem;
}

html[data-reports-theme="light"] .reports-composer {
  background: rgba(255, 255, 255, 0.88);
  box-shadow:
    inset 0 0 0 1px rgba(24, 32, 42, 0.08),
    0 18px 34px rgba(84, 96, 112, 0.12);
}

html[data-reports-theme="light"] .reports-composer:focus-within {
  background: rgba(255, 255, 255, 0.96);
  box-shadow:
    inset 0 0 0 1px rgba(204, 153, 11, 0.16),
    0 20px 36px rgba(84, 96, 112, 0.14);
}

html[data-reports-theme="light"] .reports-composer-label {
  color: rgba(24, 32, 42, 0.58);
}

html[data-reports-theme="light"] .reports-composer-input {
  color: #18202a;
}

html[data-reports-theme="light"] .reports-composer-input::placeholder {
  color: rgba(24, 32, 42, 0.38);
}

.reports-chat-form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.7rem;
}

@keyframes reports-spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.reports-job-panel {
  margin-top: 1rem;
  display: grid;
  gap: 1rem;
}

.reports-job-agent-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
}

.reports-agent-card {
  padding: 1rem;
}

.reports-agent-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
}

.reports-agent-card strong {
  font-size: 0.96rem;
  color: #fff3c7;
}

.reports-agent-status {
  flex: 0 0 auto;
  min-height: 2rem;
  padding: 0.35rem 0.65rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.reports-agent-card p {
  margin: 0.75rem 0 0;
  color: rgba(246, 247, 250, 0.72);
  line-height: 1.56;
}

.reports-agent-card.is-queued .reports-agent-status {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(246, 247, 250, 0.86);
}

.reports-agent-card.is-running .reports-agent-status {
  background: rgba(255, 203, 51, 0.16);
  color: #fff4ce;
}

.reports-agent-card.is-completed .reports-agent-status {
  background: rgba(90, 208, 138, 0.16);
  color: #e3f9ea;
}

.reports-agent-card.is-failed .reports-agent-status {
  background: rgba(224, 99, 99, 0.16);
  color: #ffe1e1;
}

html[data-reports-theme="light"] .reports-agent-card.is-queued .reports-agent-status {
  background: rgba(24, 32, 42, 0.08);
  color: rgba(24, 32, 42, 0.76);
}

html[data-reports-theme="light"] .reports-agent-card.is-running .reports-agent-status {
  background: rgba(255, 203, 51, 0.16);
  color: #755200;
}

html[data-reports-theme="light"] .reports-agent-card.is-completed .reports-agent-status {
  background: rgba(90, 208, 138, 0.16);
  color: #1d6a3a;
}

html[data-reports-theme="light"] .reports-agent-card.is-failed .reports-agent-status {
  background: rgba(224, 99, 99, 0.16);
  color: #8b2e2e;
}

.reports-job-result,
.reports-job-data {
  display: grid;
  gap: 1rem;
}

.reports-pill-row {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.reports-pill {
  min-height: 2rem;
  padding: 0.34rem 0.7rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.07);
  color: rgba(246, 247, 250, 0.88);
  font-size: 0.78rem;
  font-weight: 700;
}

.reports-pill-accent {
  color: #fff3c8;
}

html[data-reports-theme="light"] .reports-pill {
  background: rgba(255, 255, 255, 0.82);
  color: rgba(24, 32, 42, 0.82);
  box-shadow: inset 0 0 0 1px rgba(24, 32, 42, 0.08);
}

.reports-result-section-grid {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.reports-buzz-summary {
  margin-top: 1rem;
  padding: 1rem 1.05rem;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.reports-buzz-summary p {
  margin: 0;
  color: rgba(246, 247, 250, 0.9);
  line-height: 1.7;
  font-size: 0.98rem;
}

html[data-reports-theme="light"] .reports-buzz-summary {
  background: rgba(255, 255, 255, 0.78);
  box-shadow: inset 0 0 0 1px rgba(24, 32, 42, 0.08);
}

html[data-reports-theme="light"] .reports-buzz-summary p {
  color: rgba(24, 32, 42, 0.88);
}

.reports-findings-grid {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.reports-finding-card {
  padding: 0.95rem 1rem;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.reports-finding-card span {
  display: block;
  color: rgba(246, 247, 250, 0.62);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.reports-finding-card strong {
  display: block;
  margin-top: 0.4rem;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1rem;
  color: #fff4ce;
}

.reports-finding-card p {
  margin: 0.45rem 0 0;
  color: rgba(246, 247, 250, 0.74);
  line-height: 1.56;
}

.reports-finding-card.is-good {
  background: rgba(90, 208, 138, 0.14);
  box-shadow: inset 0 0 0 1px rgba(90, 208, 138, 0.18);
}

.reports-finding-card.is-warning {
  background: rgba(255, 203, 51, 0.14);
  box-shadow: inset 0 0 0 1px rgba(255, 203, 51, 0.2);
}

.reports-finding-card.is-risk {
  background: rgba(224, 99, 99, 0.14);
  box-shadow: inset 0 0 0 1px rgba(224, 99, 99, 0.22);
}

.reports-attention-card,
.reports-next-step-card {
  margin-top: 1rem;
}

.reports-detail-panel {
  margin-top: 1rem;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.reports-detail-panel summary {
  list-style: none;
  cursor: pointer;
  padding: 1rem 1.05rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
}

.reports-detail-panel summary::-webkit-details-marker {
  display: none;
}

.reports-detail-panel summary strong {
  color: #fff4ce;
  font-size: 1rem;
}

.reports-detail-panel-body {
  padding: 0 1.05rem 1.05rem;
  display: grid;
  gap: 1rem;
}

.reports-research-item-list {
  display: grid;
  gap: 0.85rem;
}

.reports-research-item {
  padding: 0.95rem 1rem;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.045);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.reports-research-item-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
}

.reports-research-item-head strong {
  color: #fff4ce;
  font-size: 0.96rem;
}

.reports-research-item-head span {
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  background: rgba(255, 203, 51, 0.14);
  color: #fff3ca;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.reports-research-item p {
  margin: 0.55rem 0 0;
}

html[data-reports-theme="light"] .reports-finding-card,
html[data-reports-theme="light"] .reports-detail-panel {
  background: rgba(255, 255, 255, 0.78);
  box-shadow: inset 0 0 0 1px rgba(24, 32, 42, 0.08);
}

html[data-reports-theme="light"] .reports-research-item {
  background: rgba(255, 255, 255, 0.82);
  box-shadow: inset 0 0 0 1px rgba(24, 32, 42, 0.08);
}

html[data-reports-theme="light"] .reports-research-item-head strong {
  color: #18202a;
}

html[data-reports-theme="light"] .reports-research-item-head span {
  background: rgba(255, 203, 51, 0.16);
  color: #755200;
}

html[data-reports-theme="light"] .reports-finding-card span {
  color: rgba(24, 32, 42, 0.56);
}

html[data-reports-theme="light"] .reports-finding-card strong,
html[data-reports-theme="light"] .reports-detail-panel summary strong {
  color: #18202a;
}

html[data-reports-theme="light"] .reports-finding-card p {
  color: rgba(24, 32, 42, 0.72);
}

.reports-result-section {
  padding: 1rem;
}

.reports-result-section h3 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.04rem;
  color: #fff3c7;
}

.reports-result-section p {
  margin: 0.6rem 0 0;
  color: rgba(246, 247, 250, 0.74);
  line-height: 1.6;
}

.reports-result-list {
  margin: 0.65rem 0 0;
  padding-left: 1.1rem;
}

.reports-result-list li {
  color: rgba(246, 247, 250, 0.76);
  line-height: 1.6;
}

.reports-result-table-wrap,
.reports-result-next-steps {
  margin-top: 1rem;
}

.reports-result-actions {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.8rem;
}

.reports-result-actions span {
  color: rgba(246, 247, 250, 0.68);
  line-height: 1.55;
}

.reports-result-next-steps strong {
  color: #fff3c7;
}

.reports-result-next-steps ul {
  margin: 0.65rem 0 0;
  padding-left: 1.1rem;
}

.reports-result-next-steps li {
  color: rgba(246, 247, 250, 0.74);
  line-height: 1.6;
}

html[data-reports-theme="light"] .reports-result-list li {
  color: rgba(24, 32, 42, 0.72);
}

.reports-summary-grid-compact {
  margin-top: 1rem;
}

.blog-action-row {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.blog-icon-action,
.blog-primary-action {
  min-height: 3rem;
  border: 0;
  border-radius: 999px;
  padding: 0.72rem 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-family: inherit;
  font-size: 0.96rem;
  font-weight: 800;
  cursor: pointer;
}

.blog-icon-action {
  background: rgba(255, 255, 255, 0.08);
  color: #f6f7fa;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.blog-icon-action svg,
.blog-primary-action svg {
  width: 1rem;
  height: 1rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.blog-icon-action-gold {
  color: #ffdb78;
}

.blog-icon-action-cyan {
  color: #8be9f7;
}

.blog-icon-action-green {
  color: #9cf3be;
}

.blog-primary-action {
  background: linear-gradient(180deg, rgba(255, 203, 51, 0.92), rgba(229, 171, 12, 0.88));
  color: #211705;
  box-shadow: 0 12px 30px rgba(255, 203, 51, 0.2);
}

.blog-side-stack {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.blog-checklist {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.blog-checklist li {
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
  padding: 0.88rem 0.92rem;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.blog-checklist strong {
  color: #f6f7fa;
  font-size: 0.9rem;
}

.blog-checklist span {
  color: rgba(246, 247, 250, 0.72);
  line-height: 1.55;
}

.blog-queue-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.blog-queue-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.9rem;
  padding: 0.95rem 1rem;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.blog-queue-item strong {
  display: block;
  font-size: 0.96rem;
  line-height: 1.45;
}

.blog-queue-item p {
  margin: 0.28rem 0 0;
  color: rgba(246, 247, 250, 0.68);
}

.blog-status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 4.8rem;
  min-height: 2rem;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  background: rgba(255, 203, 51, 0.16);
  color: rgba(255, 227, 149, 0.94);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.blog-status-pill-live {
  background: rgba(118, 246, 161, 0.16);
  color: #aefac7;
}

.blog-status-pill-soft {
  background: rgba(139, 233, 247, 0.14);
  color: #b7f5fb;
}

.about-header {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  padding-right: 4.5rem;
}

.public-frame {
  position: relative;
}

.public-scroll-region {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-right: 0.2rem;
}

.survey-page-scroll-region {
  overflow: hidden;
}

html[data-survey-theme="light"] .survey-page {
  background: #f4ede0;
}

html[data-survey-theme="light"] .survey-page .free-tools-shell-tool {
  background-color: #f7f1e5;
  background-image:
    radial-gradient(circle at 14% 16%, rgba(255, 210, 74, 0.2), transparent 24%),
    radial-gradient(circle at 86% 18%, rgba(255, 243, 210, 0.82), transparent 28%),
    radial-gradient(circle at 78% 78%, rgba(255, 214, 102, 0.16), transparent 24%),
    linear-gradient(180deg, rgba(255, 251, 244, 0.98) 0%, rgba(244, 234, 216, 0.96) 100%);
}

html[data-survey-theme="light"] .survey-page .free-tools-shell .landing-overlay {
  background:
    radial-gradient(circle at 18% 14%, rgba(255, 223, 122, 0.12), transparent 24%),
    radial-gradient(circle at 84% 74%, rgba(255, 255, 255, 0.16), transparent 26%),
    linear-gradient(180deg, rgba(255, 251, 244, 0.04) 0%, rgba(255, 248, 240, 0.08) 100%);
}

html[data-survey-theme="light"] .survey-page .landing-orb {
  opacity: 0.4;
}

html[data-survey-theme="light"] .survey-page .landing-light-beam {
  opacity: 0.26;
}

html[data-survey-theme="light"] .survey-page .free-tools-header-copy {
  color: #18202a;
}

html[data-survey-theme="light"] .survey-page .free-tools-header-copy p {
  color: rgba(24, 32, 42, 0.72);
}

html[data-survey-theme="light"] .survey-page .free-tools-kicker {
  color: #8b6100;
}

html[data-survey-theme="light"] .survey-page .survey-action-button-muted {
  background: rgba(24, 32, 42, 0.08);
  color: rgba(24, 32, 42, 0.78);
  box-shadow: inset 0 0 0 1px rgba(24, 32, 42, 0.06);
}

html[data-survey-theme="light"] .survey-page .survey-help-card {
  color: #18202a;
}

html[data-survey-theme="light"] .survey-page .survey-help-head h2,
html[data-survey-theme="light"] .survey-page .survey-help-block h3 {
  color: #18202a;
}

html[data-survey-theme="light"] .survey-page .survey-help-block p,
html[data-survey-theme="light"] .survey-page .survey-reset-body p {
  color: rgba(24, 32, 42, 0.72);
}

.survey-page-utilities {
  position: absolute;
  top: 1.4rem;
  right: 1.4rem;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.survey-page-utilities .public-home-link {
  position: static;
}

.survey-theme-toggle {
  min-height: 2.85rem;
  padding: 0.58rem 0.84rem;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 252, 246, 0.76);
  color: rgba(24, 32, 42, 0.88);
  border: 1px solid rgba(24, 32, 42, 0.08);
  box-shadow: 0 12px 30px rgba(101, 88, 60, 0.12);
  backdrop-filter: blur(10px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
}

.survey-theme-toggle svg {
  width: 0.98rem;
  height: 0.98rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.public-home-link {
  position: absolute;
  top: 1.4rem;
  right: 1.4rem;
  z-index: 4;
  width: 2.85rem;
  height: 2.85rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(11, 17, 26, 0.68);
  color: rgba(246, 247, 250, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(10px);
}

.public-home-link svg {
  width: 1.05rem;
  height: 1.05rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.public-home-link-light {
  background: rgba(255, 252, 246, 0.76);
  color: rgba(24, 32, 42, 0.88);
  border-color: rgba(24, 32, 42, 0.08);
  box-shadow: 0 12px 30px rgba(101, 88, 60, 0.12);
}

.about-back {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 2.5rem;
  width: fit-content;
  max-width: 100%;
  padding: 0.58rem 0.82rem;
  border-radius: 999px;
  background: rgba(11, 17, 26, 0.68);
  color: rgba(246, 247, 250, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.22);
  font-weight: 700;
}

.about-back svg {
  width: 1rem;
  height: 1rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.about-hero {
  width: 100%;
}

.about-kicker,
.about-card-label {
  margin: 0;
  color: #f2c85c;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.about-hero h1 {
  margin: 0.45rem 0 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2.3rem, 5vw, 4.4rem);
  line-height: 0.96;
  letter-spacing: -0.06em;
}

.about-story-card,
.about-card,
.about-focus-card {
  border-radius: 30px;
  padding: 1.4rem;
  background:
    linear-gradient(180deg, rgba(13, 20, 31, 0.78), rgba(8, 13, 21, 0.72)),
    radial-gradient(circle at top right, rgba(99, 223, 240, 0.16), transparent 38%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow:
    0 24px 54px rgba(0, 0, 0, 0.32),
    inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(12px);
}

.about-story-card p {
  margin: 0;
  color: rgba(236, 240, 246, 0.84);
  font-size: 1.02rem;
  line-height: 1.85;
}

.about-story-card p + p {
  margin-top: 0.95rem;
}

.terms-card h2 {
  margin: 1.35rem 0 0.6rem;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.18rem;
  letter-spacing: -0.03em;
}

.terms-card h2:first-of-type {
  margin-top: 0;
}

.terms-card p,
.terms-card li {
  color: rgba(236, 240, 246, 0.84);
  font-size: 0.97rem;
  line-height: 1.78;
}

.terms-card ul {
  margin: 0.7rem 0 0;
  padding-left: 1.15rem;
}

.terms-card li + li {
  margin-top: 0.45rem;
}

.terms-meta {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0.35rem 0.78rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(236, 240, 246, 0.74);
  font-size: 0.82rem;
  font-weight: 700;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.about-card h2,
.about-focus-card h2 {
  margin: 0.42rem 0 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.35rem, 2.4vw, 1.95rem);
  letter-spacing: -0.04em;
}

.about-card p {
  margin: 0.75rem 0 0;
  color: rgba(24, 32, 42, 0.74);
  line-height: 1.65;
}

.about-focus-card {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.about-focus-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.about-focus-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0.35rem 0.72rem;
  border-radius: 999px;
  background: rgba(24, 32, 42, 0.06);
  color: rgba(24, 32, 42, 0.74);
  font-size: 0.86rem;
  font-weight: 700;
}

.survey-builder-shell {
  display: grid;
  grid-template-columns: minmax(18rem, 0.95fr) minmax(0, 1.05fr);
  gap: 1rem;
  flex: 1 1 auto;
  min-height: 0;
  align-items: stretch;
  overflow: hidden;
}

.survey-builder-main,
.survey-builder-sidebar {
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.survey-builder-card,
.survey-sidebar-card {
  height: 100%;
}

.survey-builder-controls {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.survey-builder-controls-sidebar {
  margin-top: 0.9rem;
  flex-direction: column;
  align-items: stretch;
}

.survey-admin-utility-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
}

.survey-help-button {
  min-height: 2.45rem;
  padding: 0.55rem 0.8rem;
  border: 0;
  border-radius: 999px;
  background: rgba(24, 32, 42, 0.08);
  color: rgba(24, 32, 42, 0.82);
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
}

.survey-builder-limit {
  display: flex;
  flex-direction: column;
  gap: 0.18rem;
}

.survey-builder-limit strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.16rem;
  letter-spacing: -0.04em;
}

.survey-builder-limit span:last-child,
.survey-builder-limit span {
  color: rgba(24, 32, 42, 0.68);
  line-height: 1.4;
  font-size: 0.85rem;
}

.survey-mode-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.28rem;
  border-radius: 999px;
  background: rgba(24, 32, 42, 0.06);
  box-shadow: inset 0 0 0 1px rgba(24, 32, 42, 0.06);
}

.survey-preview-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.45rem;
  padding: 0.55rem 0.8rem;
  border-radius: 999px;
  background: rgba(24, 32, 42, 0.08);
  color: #18202a;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.84rem;
  font-weight: 700;
  white-space: nowrap;
}

.survey-help-modal {
  position: fixed;
  inset: 0;
  z-index: 50;
}

.survey-help-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 8, 14, 0.28);
  backdrop-filter: blur(6px);
}

.survey-help-card {
  position: relative;
  z-index: 1;
  width: min(100% - 2rem, 860px);
  margin: 8vh auto 0;
  padding: 1.25rem;
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(246, 240, 230, 0.94)),
    radial-gradient(circle at top right, rgba(12, 140, 165, 0.08), transparent 34%);
  box-shadow:
    0 24px 60px rgba(101, 88, 60, 0.16),
    inset 0 0 0 1px rgba(24, 32, 42, 0.08);
  color: #18202a;
}

.survey-help-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.survey-help-head h2 {
  margin: 0.4rem 0 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.45rem, 2.5vw, 2rem);
  letter-spacing: -0.04em;
  color: #18202a;
}

.survey-help-close {
  min-width: 2.5rem;
  min-height: 2.5rem;
  border: 0;
  border-radius: 999px;
  background: rgba(24, 32, 42, 0.08);
  color: #18202a;
  font-size: 1.35rem;
  cursor: pointer;
}

.survey-help-grid {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.survey-help-block {
  padding: 1rem;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: inset 0 0 0 1px rgba(24, 32, 42, 0.08);
}

.survey-help-block h3 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.05rem;
  color: #18202a;
}

.survey-help-block p {
  margin: 0.6rem 0 0;
  color: rgba(24, 32, 42, 0.72);
  line-height: 1.55;
}

.survey-mode-button {
  min-height: 2.45rem;
  padding: 0.55rem 0.9rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: rgba(24, 32, 42, 0.68);
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
}

.survey-mode-button.active {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 240, 230, 0.94));
  color: #18202a;
  box-shadow: 0 8px 18px rgba(101, 88, 60, 0.1);
}

.survey-mode-panel {
  display: none;
  margin-top: 0.9rem;
}

.survey-mode-panel.active {
  display: block;
}

.survey-mode-panel-sidebar {
  margin-top: 1rem;
}

.survey-mode-panel-main {
  margin-top: 0;
}

.survey-meta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.72rem;
}

.survey-admin-card,
.survey-builder-canvas {
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: auto;
}

.survey-meta-field-span-2 {
  grid-column: span 2;
}

.survey-questions-header {
  margin-top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.survey-questions-header h2 {
  margin: 0.18rem 0 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.18rem, 2vw, 1.55rem);
  letter-spacing: -0.04em;
}

.survey-question-count {
  min-width: 6.9rem;
  padding: 0.68rem 0.82rem;
  border-radius: 22px;
  background: rgba(24, 32, 42, 0.05);
  box-shadow: inset 0 0 0 1px rgba(24, 32, 42, 0.06);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.1rem;
}

.survey-question-count strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.22rem;
  letter-spacing: -0.05em;
}

.survey-question-count span {
  color: rgba(24, 32, 42, 0.64);
  font-size: 0.76rem;
}

.survey-flow-summary {
  margin-top: 0.7rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.survey-flow-metrics {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
}

.survey-flow-metric {
  display: inline-flex;
  align-items: center;
  gap: 0.34rem;
  padding: 0.26rem 0.56rem;
  border-radius: 999px;
  background: rgba(24, 32, 42, 0.05);
  box-shadow: inset 0 0 0 1px rgba(24, 32, 42, 0.08);
}

.survey-flow-metric strong {
  display: inline;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.86rem;
  letter-spacing: -0.04em;
}

.survey-flow-metric span {
  color: rgba(24, 32, 42, 0.68);
  font-size: 0.72rem;
  line-height: 1;
  letter-spacing: 0.02em;
}

.survey-question-list {
  margin-top: 0.85rem;
  display: grid;
  gap: 0.72rem;
}

.survey-question-empty {
  margin-top: 0.7rem;
  padding: 0.78rem 0.88rem;
  border-radius: 20px;
  background: rgba(24, 32, 42, 0.04);
  box-shadow: inset 0 0 0 1px rgba(24, 32, 42, 0.06);
}

.survey-question-empty p {
  margin: 0;
  color: rgba(24, 32, 42, 0.68);
  font-size: 0.8rem;
  line-height: 1.35;
}

.survey-question-card,
.survey-poll-card,
.survey-share-card {
  padding: 0.85rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: inset 0 0 0 1px rgba(24, 32, 42, 0.08);
}

.survey-question-editbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.survey-question-controls {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.survey-question-select {
  min-height: 2.2rem;
  border: 0;
  border-radius: 999px;
  padding: 0.45rem 0.75rem;
  background: rgba(24, 32, 42, 0.06);
  color: #18202a;
  font: inherit;
  font-weight: 700;
  font-size: 0.84rem;
}

.survey-campaign-actions {
  margin-top: 1rem;
  padding-top: 0.9rem;
  border-top: 1px solid rgba(24, 32, 42, 0.08);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.survey-campaign-actions-sidebar {
  margin-top: 1rem;
}

.survey-campaign-status {
  color: rgba(24, 32, 42, 0.7);
  font-size: 0.84rem;
  line-height: 1.45;
}

.survey-campaign-status[data-tone="success"] {
  color: #0f7689;
}

.survey-campaign-status[data-tone="warning"] {
  color: #8b6100;
}

.survey-campaign-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.survey-question-remove {
  min-height: 2.2rem;
  border: 0;
  border-radius: 999px;
  padding: 0.45rem 0.72rem;
  background: rgba(198, 92, 54, 0.1);
  color: #a34e2f;
  font: inherit;
  font-weight: 700;
  font-size: 0.84rem;
  cursor: pointer;
}

.survey-question-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.survey-question-number,
.survey-question-type {
  display: inline-flex;
  align-items: center;
  min-height: 1.65rem;
  padding: 0.24rem 0.58rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.survey-question-number {
  background: rgba(12, 140, 165, 0.12);
  color: #0f7689;
}

.survey-question-type {
  background: rgba(163, 110, 0, 0.12);
  color: #855c00;
}

.survey-question-card h3,
.survey-poll-card h2,
.survey-share-card h3 {
  margin: 0.65rem 0 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.98rem;
  letter-spacing: -0.03em;
}

.survey-choice-row,
.survey-rating-row,
.survey-rating-stars,
.survey-choice-stack,
.survey-answer-preview {
  margin-top: 0.7rem;
}

.survey-choice-row,
.survey-rating-row,
.survey-rating-stars {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.survey-choice-row span,
.survey-rating-row span,
.survey-rating-stars span,
.survey-choice-stack span,
.survey-answer-preview {
  display: inline-flex;
  align-items: center;
  min-height: 1.78rem;
  padding: 0.28rem 0.58rem;
  border-radius: 999px;
  background: rgba(24, 32, 42, 0.05);
  color: rgba(24, 32, 42, 0.76);
  font-size: 0.8rem;
  font-weight: 700;
}

.survey-rating-stars span {
  color: #a36e00;
  letter-spacing: 0.08em;
}

.survey-rating-hint,
.survey-preview-rating-meta {
  margin-top: 0.8rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.survey-rating-hint span,
.survey-preview-rating-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 1.65rem;
  padding: 0.24rem 0.54rem;
  border-radius: 999px;
  background: rgba(24, 32, 42, 0.05);
  color: rgba(24, 32, 42, 0.68);
  font-size: 0.74rem;
  font-weight: 700;
}

.survey-builder-shell .free-tool-field span,
.survey-builder-shell .free-tool-range-head span {
  font-size: 0.78rem;
}

.survey-builder-shell .free-tool-field input,
.survey-builder-shell .free-tool-field select,
.survey-builder-shell .free-tool-field textarea {
  min-height: 2.7rem;
  padding: 0.68rem 0.82rem;
  border-radius: 16px;
  font-size: 0.9rem;
}

.survey-builder-shell .free-tool-badge {
  min-height: 1.7rem;
  padding: 0.22rem 0.58rem;
  font-size: 0.66rem;
}

.survey-action-button {
  min-height: 2.55rem;
  padding: 0.58rem 0.85rem;
  font-size: 0.86rem;
}

.survey-action-button-icon {
  min-width: 2.55rem;
}

.survey-action-button svg {
  width: 0.96rem;
  height: 0.96rem;
}

html[data-survey-theme="dark"] .survey-page .free-tools-shell .landing-overlay {
  background:
    radial-gradient(circle at 18% 14%, rgba(99, 223, 240, 0.12), transparent 24%),
    radial-gradient(circle at 84% 74%, rgba(255, 203, 51, 0.08), transparent 26%),
    linear-gradient(180deg, rgba(5, 7, 11, 0.3) 0%, rgba(5, 7, 11, 0.48) 100%);
}

html[data-survey-theme="dark"] .survey-page .free-tools-shell-tool {
  background-image: url("../img/kyllr_labs_plain.png");
  background-blend-mode: normal;
}

html[data-survey-theme="dark"] .survey-page .free-tools-header-copy {
  color: #f6f7fa;
}

html[data-survey-theme="dark"] .survey-page .free-tools-header-copy p {
  color: rgba(246, 247, 250, 0.76);
}

html[data-survey-theme="dark"] .survey-page .survey-action-button-muted {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(246, 247, 250, 0.92);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

html[data-survey-theme="dark"] .survey-page .public-home-link,
html[data-survey-theme="dark"] .survey-page .survey-theme-toggle {
  background: rgba(11, 17, 26, 0.7);
  color: rgba(246, 247, 250, 0.92);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.22);
}

html[data-survey-theme="dark"] .survey-page .survey-admin-card,
html[data-survey-theme="dark"] .survey-page .survey-builder-canvas {
  background:
    linear-gradient(180deg, rgba(9, 14, 24, 0.82), rgba(8, 13, 21, 0.66)),
    radial-gradient(circle at top right, rgba(255, 203, 51, 0.1), transparent 34%);
  border: 1px solid rgba(255, 203, 51, 0.14);
  box-shadow:
    0 22px 52px rgba(0, 0, 0, 0.28),
    inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  color: #f6f7fa;
}

html[data-survey-theme="dark"] .survey-page .survey-builder-limit span,
html[data-survey-theme="dark"] .survey-page .survey-campaign-status,
html[data-survey-theme="dark"] .survey-page .survey-question-count span,
html[data-survey-theme="dark"] .survey-page .survey-question-empty p,
html[data-survey-theme="dark"] .survey-page .survey-builder-shell .free-tool-field span,
html[data-survey-theme="dark"] .survey-page .survey-flow-metric span {
  color: rgba(246, 247, 250, 0.72);
}

html[data-survey-theme="dark"] .survey-page .survey-help-button,
html[data-survey-theme="dark"] .survey-page .survey-preview-link,
html[data-survey-theme="dark"] .survey-page .survey-question-count,
html[data-survey-theme="dark"] .survey-page .survey-question-empty,
html[data-survey-theme="dark"] .survey-page .survey-question-card,
html[data-survey-theme="dark"] .survey-page .survey-flow-metric,
html[data-survey-theme="dark"] .survey-page .survey-help-close,
html[data-survey-theme="dark"] .survey-page .survey-type-block,
html[data-survey-theme="dark"] .survey-page .survey-choice-row span,
html[data-survey-theme="dark"] .survey-page .survey-rating-row span,
html[data-survey-theme="dark"] .survey-page .survey-rating-stars span,
html[data-survey-theme="dark"] .survey-page .survey-answer-preview,
html[data-survey-theme="dark"] .survey-page .survey-rating-hint span {
  background: rgba(255, 255, 255, 0.06);
  color: #f6f7fa;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

html[data-survey-theme="dark"] .survey-page .survey-question-select,
html[data-survey-theme="dark"] .survey-page .survey-builder-shell .free-tool-field input,
html[data-survey-theme="dark"] .survey-page .survey-builder-shell .free-tool-field select,
html[data-survey-theme="dark"] .survey-page .survey-builder-shell .free-tool-field textarea {
  background: rgba(6, 11, 18, 0.56);
  color: #f6f7fa;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

html[data-survey-theme="dark"] .survey-page .survey-builder-shell .free-tool-field input::placeholder,
html[data-survey-theme="dark"] .survey-page .survey-builder-shell .free-tool-field textarea::placeholder {
  color: rgba(246, 247, 250, 0.4);
}

html[data-survey-theme="dark"] .survey-page .survey-question-remove {
  background: rgba(198, 92, 54, 0.18);
  color: #ffb7a0;
}

html[data-survey-theme="dark"] .survey-page .survey-help-card {
  background:
    linear-gradient(180deg, rgba(9, 14, 24, 0.96), rgba(8, 13, 21, 0.92)),
    radial-gradient(circle at top right, rgba(99, 223, 240, 0.08), transparent 34%);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.34),
    inset 0 0 0 1px rgba(255, 255, 255, 0.06);
  color: #f6f7fa;
}

html[data-survey-theme="dark"] .survey-page .survey-help-head h2,
html[data-survey-theme="dark"] .survey-page .survey-help-block h3 {
  color: #f6f7fa;
}

html[data-survey-theme="dark"] .survey-page .survey-help-block {
  background: rgba(255, 255, 255, 0.05);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

html[data-survey-theme="dark"] .survey-page .survey-help-block p {
  color: rgba(246, 247, 250, 0.72);
}

html[data-survey-theme="dark"] .survey-page .survey-reset-body p {
  color: rgba(246, 247, 250, 0.76);
}

.survey-action-button-danger {
  background: linear-gradient(180deg, rgba(220, 98, 64, 0.96), rgba(184, 69, 42, 0.98));
  color: #fff8f5;
}

.survey-reset-body p {
  margin: 0.95rem 0 0;
  color: rgba(24, 32, 42, 0.72);
  line-height: 1.65;
}

.survey-reset-actions {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.7rem;
}

.survey-choice-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.survey-option-grid {
  margin-top: 0.85rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.survey-option-grid-poll {
  margin-top: 0.95rem;
}

.survey-answer-preview {
  border-radius: 16px;
  min-height: 2.75rem;
  justify-content: flex-start;
}

.survey-type-block {
  display: none;
}

.survey-type-block.active {
  display: block;
}

.survey-builder-actions {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.survey-action-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.95rem;
  padding: 0.78rem 1.05rem;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 214, 87, 0.95), rgba(246, 176, 17, 0.96));
  color: #16120a;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}

.survey-action-button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.survey-action-button-icon {
  width: 2.95rem;
  padding: 0;
  flex: 0 0 auto;
}

.survey-action-button-icon svg {
  width: 1.1rem;
  height: 1.1rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.survey-action-button-muted {
  background: rgba(24, 32, 42, 0.08);
  color: rgba(24, 32, 42, 0.74);
}

.survey-action-button-success {
  background: linear-gradient(180deg, rgba(66, 176, 121, 0.96), rgba(27, 132, 84, 0.98));
  color: #f6fff9;
}

.survey-action-button-deploy {
  background: linear-gradient(180deg, rgba(255, 214, 87, 0.95), rgba(246, 176, 17, 0.96));
  color: #16120a;
}

.survey-meta-grid-poll {
  margin-bottom: 1rem;
}

.survey-share-grid {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.survey-share-card p {
  margin: 0.7rem 0 0;
  color: rgba(24, 32, 42, 0.7);
  line-height: 1.55;
}

.survey-sidebar-metrics {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
}

.survey-sidebar-metric {
  min-height: 6rem;
  padding: 0.9rem;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: inset 0 0 0 1px rgba(24, 32, 42, 0.07);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.3rem;
}

.survey-sidebar-metric strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.6rem;
  letter-spacing: -0.05em;
}

.survey-sidebar-metric span {
  color: rgba(24, 32, 42, 0.68);
  line-height: 1.4;
}

.survey-sidebar-notes {
  margin-top: 0.95rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.survey-sidebar-notes span {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0.35rem 0.72rem;
  border-radius: 999px;
  background: rgba(24, 32, 42, 0.06);
  color: rgba(24, 32, 42, 0.74);
  font-size: 0.86rem;
  font-weight: 700;
}

.survey-response-preview {
  margin-top: 1rem;
  display: grid;
  gap: 0.85rem;
}

.survey-response-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.survey-response-bar span {
  color: rgba(24, 32, 42, 0.7);
  font-weight: 700;
}

.survey-response-bar strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.05rem;
}

.survey-response-track {
  height: 0.6rem;
  border-radius: 999px;
  background: rgba(24, 32, 42, 0.08);
  overflow: hidden;
}

.survey-response-track span {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(12, 140, 165, 0.82), rgba(255, 203, 51, 0.82));
}

.survey-preview-shell {
  display: flex;
  justify-content: center;
}

.survey-preview-frame {
  padding-top: 1rem;
}

.survey-preview-scroll-region {
  gap: 0.8rem;
}

.survey-preview-return {
  top: 1rem;
  right: 1rem;
}

.survey-preview-header {
  padding-right: 4rem;
}

.survey-preview-header-copy {
  margin-top: 0;
}

.survey-preview-card {
  width: min(100%, 880px);
}

html[data-survey-theme="light"] .survey-preview-page {
  background: #f4ede0;
}

html[data-survey-theme="light"] .survey-preview-page .free-tools-shell-tool {
  background-color: #f7f1e5;
  background-image:
    radial-gradient(circle at 14% 16%, rgba(255, 210, 74, 0.2), transparent 24%),
    radial-gradient(circle at 86% 18%, rgba(255, 243, 210, 0.82), transparent 28%),
    radial-gradient(circle at 78% 78%, rgba(255, 214, 102, 0.16), transparent 24%),
    linear-gradient(180deg, rgba(255, 251, 244, 0.98) 0%, rgba(244, 234, 216, 0.96) 100%);
}

html[data-survey-theme="light"] .survey-preview-page .free-tools-shell .landing-overlay {
  background:
    radial-gradient(circle at 18% 14%, rgba(255, 223, 122, 0.12), transparent 24%),
    radial-gradient(circle at 84% 74%, rgba(255, 255, 255, 0.16), transparent 26%),
    linear-gradient(180deg, rgba(255, 251, 244, 0.04) 0%, rgba(255, 248, 240, 0.08) 100%);
}

html[data-survey-theme="light"] .survey-preview-page .free-tools-header-copy {
  color: #18202a;
}

html[data-survey-theme="light"] .survey-preview-page .free-tools-header-copy h1,
html[data-survey-theme="light"] .survey-preview-page .survey-preview-question h2,
html[data-survey-theme="light"] .survey-preview-page .survey-preview-block h2,
html[data-survey-theme="light"] .survey-preview-page .survey-preview-empty h2 {
  color: #18202a;
}

html[data-survey-theme="light"] .survey-preview-page .free-tools-header-copy p,
html[data-survey-theme="light"] .survey-preview-page .survey-preview-meta {
  color: rgba(24, 32, 42, 0.72);
}

html[data-survey-theme="light"] .survey-preview-page .free-tools-kicker {
  color: #8b6100;
}

html[data-survey-theme="light"] .survey-preview-page .survey-preview-card,
html[data-survey-theme="light"] .survey-preview-page .survey-preview-question,
html[data-survey-theme="light"] .survey-preview-page .survey-preview-block,
html[data-survey-theme="light"] .survey-preview-page .survey-preview-empty,
html[data-survey-theme="light"] .survey-preview-page .survey-preview-option,
html[data-survey-theme="light"] .survey-preview-page .survey-preview-rating label,
html[data-survey-theme="light"] .survey-preview-page .survey-preview-meta span:not(.free-tool-badge) {
  color: #18202a;
}

html[data-survey-theme="light"] .survey-preview-page .survey-question-number,
html[data-survey-theme="light"] .survey-preview-page .survey-question-type,
html[data-survey-theme="light"] .survey-preview-page .survey-preview-rating-meta span {
  color: #18202a;
}

html[data-survey-theme="light"] .survey-preview-page .survey-action-button-muted {
  background: rgba(24, 32, 42, 0.08);
  color: rgba(24, 32, 42, 0.82);
  box-shadow: inset 0 0 0 1px rgba(24, 32, 42, 0.06);
}

html[data-survey-theme="light"] .survey-preview-page .survey-preview-textarea {
  background: rgba(255, 255, 255, 0.92);
  color: #18202a;
  box-shadow: inset 0 0 0 1px rgba(24, 32, 42, 0.08);
}

html[data-survey-theme="dark"] .survey-preview-page .free-tools-shell-tool {
  background-image: url("../img/kyllr_labs_plain.png");
  background-blend-mode: normal;
}

html[data-survey-theme="dark"] .survey-preview-page .free-tools-shell .landing-overlay {
  background:
    radial-gradient(circle at 18% 14%, rgba(99, 223, 240, 0.12), transparent 24%),
    radial-gradient(circle at 84% 74%, rgba(255, 203, 51, 0.08), transparent 26%),
    linear-gradient(180deg, rgba(5, 7, 11, 0.3) 0%, rgba(5, 7, 11, 0.48) 100%);
}

html[data-survey-theme="dark"] .survey-preview-page .public-home-link {
  background: rgba(11, 17, 26, 0.7);
  color: rgba(246, 247, 250, 0.92);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.22);
}

html[data-survey-theme="dark"] .survey-preview-page .free-tools-header-copy {
  color: #f6f7fa;
}

html[data-survey-theme="dark"] .survey-preview-page .free-tools-header-copy p,
html[data-survey-theme="dark"] .survey-preview-page .survey-preview-meta,
html[data-survey-theme="dark"] .survey-preview-page .survey-preview-empty p {
  color: rgba(246, 247, 250, 0.76);
}

html[data-survey-theme="dark"] .survey-preview-page .survey-preview-meta span:not(.free-tool-badge),
html[data-survey-theme="dark"] .survey-preview-page .survey-preview-question,
html[data-survey-theme="dark"] .survey-preview-page .survey-preview-block,
html[data-survey-theme="dark"] .survey-preview-page .survey-preview-empty,
html[data-survey-theme="dark"] .survey-preview-page .survey-preview-option,
html[data-survey-theme="dark"] .survey-preview-page .survey-preview-rating label {
  background: rgba(255, 255, 255, 0.06);
  color: #f6f7fa;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

html[data-survey-theme="dark"] .survey-preview-page .survey-preview-textarea {
  background: rgba(6, 11, 18, 0.56);
  color: #f6f7fa;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

html[data-survey-theme="dark"] .survey-preview-page .survey-preview-question h2,
html[data-survey-theme="dark"] .survey-preview-page .survey-preview-block h2,
html[data-survey-theme="dark"] .survey-preview-page .survey-preview-empty h2 {
  color: #f6f7fa;
}

.survey-preview-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  color: rgba(24, 32, 42, 0.68);
  font-weight: 700;
}

.survey-preview-meta span:not(.free-tool-badge) {
  display: inline-flex;
  align-items: center;
  min-height: 1.9rem;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  background: rgba(24, 32, 42, 0.05);
}

.survey-preview-question,
.survey-preview-block {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: inset 0 0 0 1px rgba(24, 32, 42, 0.08);
}

.survey-preview-empty {
  margin-top: 1rem;
  padding: 1.35rem;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: inset 0 0 0 1px rgba(24, 32, 42, 0.08);
  text-align: center;
}

.survey-preview-empty h2 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.35rem, 2.2vw, 1.8rem);
  letter-spacing: -0.04em;
}

.survey-preview-empty p {
  margin: 0.8rem auto 0;
  max-width: 36rem;
  color: rgba(24, 32, 42, 0.72);
  line-height: 1.65;
}

.survey-preview-question h2,
.survey-preview-block h2 {
  margin: 0.85rem 0 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.3rem, 2.2vw, 1.8rem);
  letter-spacing: -0.04em;
}

.survey-preview-intro,
.survey-preview-success,
.survey-preview-question-step {
  min-height: 19rem;
}

.survey-preview-options {
  margin-top: 0.95rem;
  display: grid;
  gap: 0.65rem;
}

.survey-preview-option {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 3.1rem;
  padding: 0.82rem 0.95rem;
  border-radius: 20px;
  background: rgba(24, 32, 42, 0.04);
  box-shadow: inset 0 0 0 1px rgba(24, 32, 42, 0.07);
  font-weight: 700;
}

.survey-preview-option input,
.survey-preview-rating input {
  accent-color: #0c8ca5;
}

.survey-preview-rating {
  margin-top: 0.95rem;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.6rem;
}

.survey-preview-rating label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 3rem;
  border-radius: 20px;
  background: rgba(24, 32, 42, 0.04);
  box-shadow: inset 0 0 0 1px rgba(24, 32, 42, 0.07);
  font-weight: 700;
}

.survey-preview-rating-performance label {
  padding-inline: 0.65rem;
}

.survey-preview-rating-starset {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.12rem;
  color: #a36e00;
  font-size: 1rem;
  letter-spacing: 0;
}

.survey-preview-rating-starset i {
  font-style: normal;
}

.survey-preview-textarea {
  width: 100%;
  margin-top: 0.95rem;
  border: 0;
  border-radius: 20px;
  padding: 0.95rem 1rem;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: inset 0 0 0 1px rgba(24, 32, 42, 0.08);
  color: #18202a;
  font: inherit;
  resize: vertical;
}

.survey-preview-actions {
  margin-top: 1rem;
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
}

.survey-deployment-shell {
  display: grid;
  gap: 1rem;
}

.survey-deployment-frame {
  padding-top: 1rem;
}

.survey-deployment-scroll-region {
  gap: 0.8rem;
}

.survey-deployment-header {
  padding-right: 4rem;
}

.survey-deployment-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.survey-deployment-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.survey-deployment-head h2,
.survey-deployment-empty h3,
.survey-deployment-success h2 {
  margin: 0.45rem 0 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.3rem, 2.2vw, 1.75rem);
  letter-spacing: -0.04em;
}

.survey-deployment-summary-grid,
.survey-deployment-review-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
}

.survey-deployment-metric {
  min-height: 7rem;
  padding: 1rem;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: inset 0 0 0 1px rgba(24, 32, 42, 0.08);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.4rem;
}

.survey-deployment-metric span {
  color: rgba(24, 32, 42, 0.66);
  font-size: 0.85rem;
  font-weight: 700;
}

.survey-deployment-metric strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.2rem;
  letter-spacing: -0.04em;
  color: #18202a;
}

.survey-deployment-warning {
  padding: 0.95rem 1rem;
  border-radius: 22px;
  background: rgba(255, 207, 102, 0.26);
  color: #7b5400;
  box-shadow: inset 0 0 0 1px rgba(163, 110, 0, 0.18);
  line-height: 1.6;
}

.survey-deployment-toggle {
  width: fit-content;
}

.survey-deployment-panel {
  display: none;
}

.survey-deployment-panel.active {
  display: block;
}

.survey-deployment-empty {
  padding: 1rem;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: inset 0 0 0 1px rgba(24, 32, 42, 0.08);
}

.survey-deployment-empty p,
.survey-deployment-help,
.survey-deployment-success p {
  margin: 0.75rem 0 0;
  color: rgba(24, 32, 42, 0.72);
  line-height: 1.6;
}

.survey-deployment-textarea {
  width: 100%;
  min-height: 10rem;
  resize: vertical;
  border: 0;
  border-radius: 22px;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: inset 0 0 0 1px rgba(24, 32, 42, 0.08);
  color: #18202a;
  font: inherit;
}

.survey-deployment-count {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0.35rem 0.72rem;
  border-radius: 999px;
  background: rgba(24, 32, 42, 0.05);
  color: rgba(24, 32, 42, 0.74);
  font-size: 0.86rem;
  font-weight: 700;
}

.survey-deployment-recipient-wrap {
  overflow: auto;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.62);
  box-shadow: inset 0 0 0 1px rgba(24, 32, 42, 0.08);
}

.survey-deployment-table {
  width: 100%;
  border-collapse: collapse;
}

.survey-deployment-table th,
.survey-deployment-table td {
  padding: 0.9rem 1rem;
  text-align: left;
  border-bottom: 1px solid rgba(24, 32, 42, 0.08);
}

.survey-deployment-table th {
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(24, 32, 42, 0.7);
}

.survey-deployment-table td {
  color: rgba(24, 32, 42, 0.82);
}

.survey-deployment-success {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(248, 244, 235, 0.88)),
    radial-gradient(circle at top right, rgba(12, 140, 165, 0.08), transparent 34%);
}

html[data-survey-theme="dark"] .survey-deployment-page .survey-deployment-card,
html[data-survey-theme="dark"] .survey-deployment-page .survey-deployment-success {
  background:
    linear-gradient(180deg, rgba(9, 14, 24, 0.82), rgba(8, 13, 21, 0.66)),
    radial-gradient(circle at top right, rgba(255, 203, 51, 0.1), transparent 34%);
  border: 1px solid rgba(255, 203, 51, 0.14);
  box-shadow:
    0 22px 52px rgba(0, 0, 0, 0.28),
    inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  color: #f6f7fa;
}

html[data-survey-theme="dark"] .survey-deployment-page .survey-deployment-metric,
html[data-survey-theme="dark"] .survey-deployment-page .survey-deployment-empty,
html[data-survey-theme="dark"] .survey-deployment-page .survey-deployment-recipient-wrap {
  background: rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

html[data-survey-theme="dark"] .survey-deployment-page .survey-deployment-metric span,
html[data-survey-theme="dark"] .survey-deployment-page .survey-deployment-empty p,
html[data-survey-theme="dark"] .survey-deployment-page .survey-deployment-help,
html[data-survey-theme="dark"] .survey-deployment-page .survey-deployment-success p,
html[data-survey-theme="dark"] .survey-deployment-page .survey-deployment-count {
  color: rgba(246, 247, 250, 0.72);
}

html[data-survey-theme="dark"] .survey-deployment-page .survey-deployment-metric strong,
html[data-survey-theme="dark"] .survey-deployment-page .survey-deployment-head h2,
html[data-survey-theme="dark"] .survey-deployment-page .survey-deployment-empty h3,
html[data-survey-theme="dark"] .survey-deployment-page .survey-deployment-success h2,
html[data-survey-theme="dark"] .survey-deployment-page .survey-deployment-table td {
  color: #f6f7fa;
}

html[data-survey-theme="dark"] .survey-deployment-page .survey-deployment-textarea {
  background: rgba(6, 11, 18, 0.56);
  color: #f6f7fa;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

html[data-survey-theme="dark"] .survey-deployment-page .survey-deployment-table th,
html[data-survey-theme="dark"] .survey-deployment-page .survey-deployment-count {
  background: rgba(255, 255, 255, 0.06);
  color: rgba(246, 247, 250, 0.78);
}

html[data-survey-theme="dark"] .survey-deployment-page .survey-deployment-table th,
html[data-survey-theme="dark"] .survey-deployment-page .survey-deployment-table td {
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

@keyframes landingFloatA {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(2rem, 1.4rem, 0) scale(1.08);
  }
}

@keyframes landingFloatB {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(-1.8rem, 1.2rem, 0) scale(1.06);
  }
}

@keyframes landingFloatC {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(-1.2rem, -1.5rem, 0) scale(1.04);
  }
}

@keyframes landingBeam {
  0%,
  100% {
    transform: rotate(16deg) translate3d(0, 0, 0);
    opacity: 0.18;
  }
  50% {
    transform: rotate(16deg) translate3d(2.6rem, 0, 0);
    opacity: 0.34;
  }
}

@keyframes landingSparkle {
  0%,
  100% {
    transform: scale(0.7);
    opacity: 0;
  }
  20% {
    transform: scale(1);
    opacity: 0.68;
  }
  50% {
    transform: scale(1.3);
    opacity: 0.92;
  }
  80% {
    transform: scale(0.95);
    opacity: 0.2;
  }
}

@media (prefers-reduced-motion: reduce) {
  .landing-orb,
  .landing-light-beam,
  .landing-spark {
    animation: none;
  }
}

.console-page {
  min-height: 100vh;
  position: relative;
  background: var(--console-page-bg);
  overflow: hidden;
}

.console-shell {
  width: 100%;
  max-width: none;
  margin: 0;
  min-height: 100vh;
  height: 100vh;
  padding: 5px;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
}

.console-workspace {
  display: grid;
  grid-template-columns: 208px minmax(0, 1fr);
  gap: 0.7rem;
  height: 100%;
  width: 100%;
  min-height: 0;
  overflow: hidden;
}

.console-workspace[data-sidebar-collapsed="true"] {
  grid-template-columns: 84px minmax(0, 1fr);
}

.console-sidebar {
  min-width: 0;
  border-radius: 28px;
  background: var(--console-sidebar-bg);
  box-shadow: var(--console-sidebar-shadow);
  backdrop-filter: blur(10px);
  padding: 0.9rem 0.75rem;
  display: flex;
  flex-direction: column;
  transition: padding 180ms ease;
  min-height: 0;
  overflow: hidden;
  height: 100%;
}

.console-sidebar[data-collapsed="true"] {
  padding-inline: 0.55rem;
}

.console-sidebar-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.9rem;
}

.console-sidebar-brand {
  min-width: 0;
  flex: 1 1 auto;
  display: flex;
  align-items: center;
}

.console-brand-expanded,
.console-brand-collapsed {
  height: auto;
  display: block;
}

.console-brand-expanded {
  width: min(100%, 118px);
}

.console-brand-collapsed {
  display: none;
  width: 36px;
}

.console-sidebar-toggle {
  width: 2.6rem;
  height: 2.6rem;
  flex: 0 0 2.6rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  background: var(--console-toggle-bg);
  color: var(--text);
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease;
}

.console-sidebar-toggle:hover,
.console-sidebar-toggle:focus-visible {
  background: var(--console-toggle-hover);
  transform: translateY(-1px);
}

.console-sidebar-toggle:focus-visible {
  outline: 2px solid var(--console-focus-ring);
  outline-offset: 4px;
}

.console-sidebar-toggle svg {
  width: 1.2rem;
  height: 1.2rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  transition: transform 180ms ease;
}

.console-sidebar[data-collapsed="true"] .console-sidebar-toggle svg {
  transform: rotate(180deg);
}

.console-sidebar[data-collapsed="true"] .console-sidebar-top {
  flex-direction: column;
  justify-content: flex-start;
  gap: 0.45rem;
}

.console-sidebar[data-collapsed="true"] .console-brand-expanded {
  display: none;
}

.console-sidebar[data-collapsed="true"] .console-brand-collapsed {
  display: block;
  margin-inline: auto;
}

.console-side-nav {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  padding-right: 0.15rem;
}

.console-side-link {
  width: 100%;
  min-height: 3.1rem;
  padding: 0.48rem 0.62rem;
  border: 0;
  border-radius: 20px;
  background: transparent;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 0.8rem;
  text-align: left;
  cursor: pointer;
  transition: background 160ms ease, transform 160ms ease;
}

.console-side-link:hover,
.console-side-link:focus-visible {
  background: var(--console-link-hover);
  transform: translateX(2px);
}

.console-side-link:focus-visible {
  outline: 2px solid rgba(99, 223, 240, 0.8);
  outline-offset: 3px;
}

.console-side-link.active {
  background: var(--console-link-active);
  box-shadow: inset 0 0 0 1px rgba(255, 208, 66, 0.16);
}

.console-side-icon {
  width: 2.65rem;
  height: 2.65rem;
  flex: 0 0 2.65rem;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--console-icon-bg);
  border: 1px solid var(--console-icon-border);
}

.console-side-icon svg {
  width: 1.45rem;
  height: 1.45rem;
  fill: none;
  stroke: var(--cyan);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.console-side-icon svg path:first-child {
  fill: rgba(255, 203, 51, 0.07);
}

.console-side-label {
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.console-sidebar[data-collapsed="true"] .console-side-link {
  justify-content: center;
  padding-inline: 0.4rem;
}

.console-sidebar[data-collapsed="true"] .console-side-label {
  display: none;
}

.console-sidebar-bottom {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  flex: 0 0 auto;
  gap: 0.38rem;
  margin-top: auto;
  padding-top: 0.7rem;
  border-top: 1px solid var(--console-divider);
}

.console-utility-link {
  width: 100%;
  min-height: 2.85rem;
  padding: 0.2rem;
  border: 0;
  border-radius: 16px;
  background: transparent;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  transition: background 160ms ease, transform 160ms ease;
}

.console-utility-link:hover,
.console-utility-link:focus-visible {
  background: var(--console-link-hover);
  transform: translateY(-1px);
}

.console-utility-link:focus-visible {
  outline: 2px solid var(--console-focus-ring);
  outline-offset: 3px;
}

.console-utility-icon {
  width: 2rem;
  height: 2rem;
  flex: 0 0 2rem;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--console-utility-icon-bg);
}

.console-utility-icon svg {
  width: 0.98rem;
  height: 0.98rem;
  fill: none;
  stroke: var(--text);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.85;
}

.console-utility-label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.console-sidebar[data-collapsed="true"] .console-utility-link {
  padding: 0.2rem;
}

.console-mainstage {
  min-width: 0;
  min-height: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 0;
  overflow: hidden;
}

.console-stage {
  display: contents;
}

.console-content-shell {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  border-radius: 30px;
  background: var(--console-content-bg);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  box-shadow: var(--console-content-shadow);
  backdrop-filter: blur(10px);
  padding: 1.1rem;
  position: relative;
  overflow: hidden;
}

.console-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
}

.console-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 11, 18, 0.38);
  backdrop-filter: blur(8px);
}

.console-modal-card {
  position: relative;
  z-index: 1;
  width: min(100% - 2rem, 1180px);
  max-height: calc(100vh - 3rem);
  margin: 1.5rem auto;
  padding: 1.2rem;
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 242, 233, 0.95)),
    radial-gradient(circle at top right, rgba(12, 140, 165, 0.08), transparent 34%);
  box-shadow:
    0 30px 72px rgba(0, 0, 0, 0.28),
    inset 0 0 0 1px rgba(24, 32, 42, 0.08);
  overflow: auto;
  color: #18202a;
}

html[data-theme="dark"] .console-modal-backdrop {
  background: rgba(4, 7, 12, 0.58);
}

html[data-theme="dark"] .console-modal-card {
  background:
    linear-gradient(180deg, rgba(11, 17, 26, 0.98), rgba(8, 13, 21, 0.95)),
    radial-gradient(circle at top right, rgba(255, 203, 51, 0.08), transparent 34%);
  box-shadow:
    0 30px 72px rgba(0, 0, 0, 0.4),
    inset 0 0 0 1px rgba(255, 255, 255, 0.06);
  color: #f6f7fa;
}

.console-modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.console-modal-head h2 {
  margin: 0.42rem 0 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.5rem, 2.6vw, 2.2rem);
  letter-spacing: -0.05em;
}

.console-modal-head p {
  margin: 0.75rem 0 0;
  max-width: 48rem;
  color: rgba(24, 32, 42, 0.72);
  line-height: 1.6;
}

html[data-theme="dark"] .console-modal-head p {
  color: rgba(246, 247, 250, 0.72);
}

.console-modal-close {
  width: 2.8rem;
  height: 2.8rem;
  flex: 0 0 2.8rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  background: rgba(24, 32, 42, 0.08);
  color: #18202a;
  cursor: pointer;
}

html[data-theme="dark"] .console-modal-close {
  background: rgba(255, 255, 255, 0.08);
  color: #f6f7fa;
}

.console-modal-close svg {
  width: 1.1rem;
  height: 1.1rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.console-settings-grid {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: 0.88fr 1fr 1fr;
  gap: 1rem;
  align-items: start;
}

.console-settings-grid-departments {
  grid-template-columns: minmax(0, 1fr);
}

.console-settings-tabs {
  margin-top: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.32rem;
  border-radius: 999px;
  background: rgba(24, 32, 42, 0.06);
  box-shadow: inset 0 0 0 1px rgba(24, 32, 42, 0.06);
}

.console-settings-tab {
  min-height: 2.45rem;
  border: 0;
  border-radius: 999px;
  padding: 0.55rem 0.9rem;
  background: transparent;
  color: var(--muted);
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
}

.console-settings-tab.active {
  background: linear-gradient(180deg, rgba(255, 214, 87, 0.95), rgba(246, 176, 17, 0.96));
  color: #16120a;
  box-shadow: 0 10px 24px rgba(163, 110, 0, 0.18);
}

.console-settings-view {
  display: none;
}

.console-settings-view.active {
  display: block;
}

.console-tool-card {
  min-height: 100%;
}

.console-tool-callout {
  margin-top: 0.85rem;
}

.console-card-table {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.console-inline-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.console-inline-head p {
  margin: 0.65rem 0 0;
  max-width: 58rem;
  color: var(--muted);
  line-height: 1.55;
}

.console-table-wrap-compact {
  min-height: 0;
  max-height: 28rem;
}

.console-hours-card {
  min-height: 0;
}

.console-hours-list {
  display: grid;
  gap: 0.75rem;
}

.console-hours-row {
  display: grid;
  grid-template-columns: minmax(120px, 160px) minmax(0, 1fr);
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 0.95rem;
  border-radius: 22px;
  background: rgba(24, 32, 42, 0.04);
  box-shadow: inset 0 0 0 1px rgba(24, 32, 42, 0.06);
}

.console-hours-day {
  display: grid;
  gap: 0.18rem;
}

.console-hours-day strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.98rem;
  letter-spacing: -0.03em;
}

.console-hours-day span {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.console-hours-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 180px));
  gap: 0.8rem;
  justify-content: end;
}

.console-hours-field {
  display: grid;
  gap: 0.45rem;
}

.console-hours-field span {
  color: var(--console-date-label);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.console-hours-field select {
  min-height: 2.6rem;
  border: 0;
  border-radius: 16px;
  padding: 0 0.85rem;
  background: var(--console-field-bg);
  box-shadow: inset 0 0 0 1px var(--console-field-border);
  color: var(--text);
  font: inherit;
  appearance: none;
}

.console-hours-closed-pill {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  min-height: 2.4rem;
  padding: 0.42rem 0.8rem;
  border-radius: 999px;
  background: rgba(24, 32, 42, 0.08);
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 700;
}

.console-hours-row-closed {
  opacity: 0.92;
}

.console-ai-card {
  min-height: 0;
}

.console-ai-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr);
  gap: 1rem;
}

.console-ai-section {
  display: grid;
  gap: 0.85rem;
}

.console-ai-choice-list {
  display: grid;
  gap: 0.8rem;
}

.console-ai-choice {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: flex-start;
  gap: 0.85rem;
  padding: 0.95rem 1rem;
  border-radius: 24px;
  background: rgba(24, 32, 42, 0.04);
  box-shadow: inset 0 0 0 1px rgba(24, 32, 42, 0.06);
}

.console-ai-choice input[type="radio"] {
  margin-top: 0.25rem;
  accent-color: #f6b011;
}

.console-ai-choice strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1rem;
  letter-spacing: -0.03em;
}

.console-ai-choice p,
.console-ai-key-note {
  margin: 0.45rem 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.console-ai-choice-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.console-inline-info-button {
  min-height: 2rem;
  border: 0;
  border-radius: 999px;
  padding: 0.35rem 0.72rem;
  background: rgba(255, 203, 51, 0.16);
  color: #7b5400;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
}

.console-ai-key-group {
  display: grid;
  gap: 0.2rem;
}

.console-inline-modal {
  position: absolute;
  inset: 0;
  z-index: 8;
}

.console-inline-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 11, 18, 0.38);
  backdrop-filter: blur(8px);
}

.console-inline-modal-card {
  position: absolute;
  inset: 1.2rem;
  margin: auto;
  width: min(100%, 680px);
  height: fit-content;
  padding: 1.2rem;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 242, 233, 0.95)),
    radial-gradient(circle at top right, rgba(12, 140, 165, 0.08), transparent 34%);
  box-shadow:
    0 24px 54px rgba(0, 0, 0, 0.24),
    inset 0 0 0 1px rgba(24, 32, 42, 0.08);
  color: #18202a;
}

.console-panel {
  display: none;
  height: 100%;
  min-height: 0;
}

.console-panel.active {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-height: 0;
}

.console-panel-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.console-panel-kicker,
.console-card-label {
  display: inline-flex;
  align-items: center;
  color: var(--gold);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.console-panel-header h1,
.console-card h2 {
  margin: 0.3rem 0 0.28rem;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.console-panel-header h1 {
  font-size: clamp(1.8rem, 2.2vw, 2.6rem);
}

.console-toolbar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.console-field {
  min-height: 2.7rem;
  border-radius: 16px;
  background: var(--console-field-bg);
  box-shadow: inset 0 0 0 1px var(--console-field-border);
}

.console-field input,
.console-field select {
  width: 100%;
  height: 100%;
  border: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
  outline: none;
}

.console-field input::placeholder {
  color: var(--console-field-placeholder);
}

.console-field-search {
  min-width: 220px;
  display: grid;
  grid-template-columns: 2.4rem minmax(0, 1fr);
  align-items: center;
  padding-right: 0.85rem;
}

.console-field-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.console-field-icon svg {
  width: 1rem;
  height: 1rem;
  fill: none;
  stroke: var(--cyan);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.console-field-select {
  min-width: 170px;
  padding: 0 0.85rem;
  display: inline-flex;
  align-items: center;
}

.console-field-select select {
  appearance: none;
  cursor: pointer;
}

.console-field-date {
  min-width: 148px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 0.55rem;
  padding: 0 0.8rem;
}

.console-date-label {
  color: var(--console-date-label);
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.console-field-date input[type="date"] {
  color-scheme: dark;
  cursor: pointer;
}

.console-icon-button {
  width: 2.65rem;
  height: 2.65rem;
  border: 0;
  border-radius: 999px;
  background: var(--console-field-bg);
  box-shadow: inset 0 0 0 1px var(--console-field-border);
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.console-icon-button svg {
  width: 1rem;
  height: 1rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.console-panel-header p,
.console-card p,
.console-list {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.console-kpi-grid {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.9rem;
  align-content: start;
}

.console-kpi-card {
  position: relative;
  min-height: 17.2rem;
  padding: 1.15rem;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background:
    linear-gradient(180deg, rgba(12, 20, 31, 0.86), rgba(9, 14, 24, 0.7)),
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.06), transparent 38%);
  box-shadow:
    0 18px 48px rgba(0, 0, 0, 0.24),
    inset 0 0 0 1px rgba(255, 255, 255, 0.03);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.console-kpi-card::after {
  content: "";
  position: absolute;
  inset: auto 1.1rem 1rem 1.1rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.14), transparent);
}

.console-kpi-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.console-kpi-label {
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.console-kpi-trend {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 1.9rem;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.console-kpi-trend-up {
  background: rgba(99, 223, 240, 0.14);
  color: #9be9f4;
}

.console-kpi-trend-neutral {
  background: rgba(255, 203, 51, 0.14);
  color: #ffd86f;
}

.console-kpi-trend-alert {
  background: rgba(255, 127, 80, 0.16);
  color: #ffb79c;
}

.console-kpi-value {
  position: relative;
  z-index: 1;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2.8rem, 4vw, 4.35rem);
  font-weight: 700;
  letter-spacing: -0.08em;
  line-height: 0.95;
}

.console-kpi-caption {
  position: relative;
  z-index: 1;
  margin: auto 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.console-kpi-breakdown {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
}

.console-kpi-breakdown-stacked {
  grid-template-columns: 1fr;
}

.console-kpi-breakdown-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  min-height: 2.2rem;
  padding: 0.48rem 0.68rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.console-kpi-breakdown-item span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 700;
}

.console-kpi-breakdown-item strong {
  color: var(--text);
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.96rem;
  letter-spacing: -0.04em;
}

.console-kpi-glow {
  position: absolute;
  right: -1.4rem;
  bottom: -1.8rem;
  width: 8.5rem;
  height: 8.5rem;
  border-radius: 50%;
  filter: blur(8px);
  opacity: 0.78;
}

.console-kpi-card-calls .console-kpi-glow {
  background: radial-gradient(circle, rgba(99, 223, 240, 0.34), transparent 68%);
}

.console-kpi-card-tickets .console-kpi-glow {
  background: radial-gradient(circle, rgba(255, 203, 51, 0.28), transparent 68%);
}

.console-kpi-card-voicemail .console-kpi-glow {
  background: radial-gradient(circle, rgba(242, 200, 92, 0.26), transparent 68%);
}

.console-kpi-card-sms .console-kpi-glow {
  background: radial-gradient(circle, rgba(102, 214, 160, 0.26), transparent 68%);
}

.console-kpi-card-escalations .console-kpi-glow {
  background: radial-gradient(circle, rgba(255, 127, 80, 0.3), transparent 68%);
}

.console-kpi-card-calls {
  background:
    linear-gradient(180deg, rgba(10, 20, 32, 0.9), rgba(8, 14, 22, 0.72)),
    radial-gradient(circle at top right, rgba(99, 223, 240, 0.16), transparent 34%);
}

.console-kpi-card-tickets {
  background:
    linear-gradient(180deg, rgba(19, 20, 32, 0.9), rgba(12, 13, 22, 0.72)),
    radial-gradient(circle at top right, rgba(255, 203, 51, 0.14), transparent 34%);
}

.console-kpi-card-voicemail {
  background:
    linear-gradient(180deg, rgba(28, 22, 14, 0.9), rgba(21, 16, 10, 0.72)),
    radial-gradient(circle at top right, rgba(242, 200, 92, 0.15), transparent 34%);
}

.console-kpi-card-sms {
  background:
    linear-gradient(180deg, rgba(10, 24, 26, 0.9), rgba(8, 16, 18, 0.72)),
    radial-gradient(circle at top right, rgba(102, 214, 160, 0.14), transparent 34%);
}

.console-kpi-card-escalations {
  background:
    linear-gradient(180deg, rgba(28, 18, 22, 0.9), rgba(20, 12, 16, 0.72)),
    radial-gradient(circle at top right, rgba(255, 127, 80, 0.16), transparent 34%);
}

html[data-theme="light"] .console-kpi-card {
  border-color: rgba(24, 32, 42, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(246, 240, 230, 0.86)),
    radial-gradient(circle at top right, rgba(24, 32, 42, 0.04), transparent 40%);
  box-shadow:
    0 20px 44px rgba(101, 88, 60, 0.12),
    inset 0 0 0 1px rgba(255, 255, 255, 0.44);
}

html[data-theme="light"] .console-kpi-card::after {
  background: linear-gradient(90deg, transparent, rgba(24, 32, 42, 0.1), transparent);
}

html[data-theme="light"] .console-kpi-breakdown-item {
  background: rgba(24, 32, 42, 0.04);
  box-shadow: inset 0 0 0 1px rgba(24, 32, 42, 0.06);
}

html[data-theme="light"] .console-kpi-trend-up {
  background: rgba(12, 140, 165, 0.12);
  color: #0f7689;
}

html[data-theme="light"] .console-kpi-trend-neutral {
  background: rgba(163, 110, 0, 0.12);
  color: #855c00;
}

html[data-theme="light"] .console-kpi-trend-alert {
  background: rgba(198, 92, 54, 0.12);
  color: #a34e2f;
}

html[data-theme="light"] .console-kpi-card-calls {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(236, 247, 249, 0.9)),
    radial-gradient(circle at top right, rgba(12, 140, 165, 0.12), transparent 36%);
}

html[data-theme="light"] .console-kpi-card-tickets {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 243, 231, 0.92)),
    radial-gradient(circle at top right, rgba(163, 110, 0, 0.12), transparent 36%);
}

html[data-theme="light"] .console-kpi-card-voicemail {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 241, 228, 0.92)),
    radial-gradient(circle at top right, rgba(176, 126, 14, 0.12), transparent 36%);
}

html[data-theme="light"] .console-kpi-card-sms {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(235, 247, 241, 0.92)),
    radial-gradient(circle at top right, rgba(72, 156, 117, 0.12), transparent 36%);
}

html[data-theme="light"] .console-kpi-card-escalations {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(249, 238, 234, 0.92)),
    radial-gradient(circle at top right, rgba(198, 92, 54, 0.13), transparent 36%);
}

html[data-theme="light"] .console-kpi-card-calls .console-kpi-glow {
  background: radial-gradient(circle, rgba(12, 140, 165, 0.18), transparent 68%);
}

html[data-theme="light"] .console-kpi-card-tickets .console-kpi-glow {
  background: radial-gradient(circle, rgba(163, 110, 0, 0.16), transparent 68%);
}

html[data-theme="light"] .console-kpi-card-voicemail .console-kpi-glow {
  background: radial-gradient(circle, rgba(176, 126, 14, 0.15), transparent 68%);
}

html[data-theme="light"] .console-kpi-card-sms .console-kpi-glow {
  background: radial-gradient(circle, rgba(72, 156, 117, 0.14), transparent 68%);
}

html[data-theme="light"] .console-kpi-card-escalations .console-kpi-glow {
  background: radial-gradient(circle, rgba(198, 92, 54, 0.15), transparent 68%);
}

.console-panel-grid {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: 1.3fr 0.85fr 0.85fr;
  gap: 0.8rem;
}

.console-card {
  border-radius: 26px;
  padding: 1.15rem;
  background: var(--console-card-bg);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.22);
}

.console-card-feature {
  background: var(--console-card-feature-bg);
}

.console-sms-shell {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 1rem;
}

.console-sms-sidebar-card,
.console-sms-thread-card {
  min-height: 0;
  border-radius: 28px;
  background: var(--console-card-bg);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.22);
  padding: 1rem;
}

.console-sms-sidebar-card {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.console-sms-sidebar-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.8rem;
}

.console-sms-sidebar-head h2,
.console-sms-thread-head h2 {
  margin: 0.3rem 0 0;
  font-family: "Space Grotesk", sans-serif;
  letter-spacing: -0.04em;
}

.console-sms-thread-list {
  display: grid;
  gap: 0.7rem;
  overflow: auto;
}

.console-sms-thread-item {
  border: 0;
  border-radius: 22px;
  padding: 0.95rem;
  background: rgba(24, 32, 42, 0.04);
  box-shadow: inset 0 0 0 1px rgba(24, 32, 42, 0.06);
  color: var(--text);
  text-align: left;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.8rem;
  cursor: pointer;
}

.console-sms-thread-item.active {
  background: rgba(255, 203, 51, 0.12);
  box-shadow: inset 0 0 0 1px rgba(255, 203, 51, 0.18);
}

.console-sms-thread-item strong,
.console-sms-thread-item span,
.console-sms-thread-item p,
.console-sms-thread-item em {
  display: block;
}

.console-sms-thread-item strong {
  font-size: 0.95rem;
}

.console-sms-thread-item span,
.console-sms-thread-item em {
  margin-top: 0.18rem;
  color: var(--muted);
  font-size: 0.8rem;
}

.console-sms-thread-item p {
  margin: 0.45rem 0 0;
  color: var(--muted);
  line-height: 1.45;
}

.console-sms-thread-head p {
  margin: 0.65rem 0 0;
  color: var(--muted);
}

.console-sms-thread-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.console-sms-messages {
  flex: 1;
  min-height: 0;
  overflow: auto;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  padding-right: 0.2rem;
}

.console-sms-bubble {
  max-width: min(78%, 36rem);
  border-radius: 24px;
  padding: 0.92rem 1rem;
  line-height: 1.55;
}

.console-sms-bubble p {
  margin: 0;
}

.console-sms-bubble-inbound {
  align-self: flex-start;
  background: rgba(24, 32, 42, 0.06);
  box-shadow: inset 0 0 0 1px rgba(24, 32, 42, 0.07);
}

.console-sms-bubble-agent {
  align-self: flex-end;
  background: rgba(255, 203, 51, 0.14);
  box-shadow: inset 0 0 0 1px rgba(255, 203, 51, 0.18);
}

.console-sms-bubble-system {
  align-self: center;
  max-width: 100%;
  background: rgba(99, 223, 240, 0.1);
  box-shadow: inset 0 0 0 1px rgba(99, 223, 240, 0.16);
  color: rgba(24, 32, 42, 0.82);
}

.console-sms-composer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.7rem;
  align-items: center;
}

.console-sms-composer input {
  min-height: 3rem;
  border: 0;
  border-radius: 999px;
  background: var(--console-field-bg);
  box-shadow: inset 0 0 0 1px var(--console-field-border);
  color: var(--text);
  font: inherit;
  padding: 0 1rem;
  outline: none;
}

.console-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 1rem;
}

.console-badge {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: var(--console-pill-bg);
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 700;
}

.console-list {
  padding-left: 1rem;
}

.console-list li + li {
  margin-top: 0.42rem;
}

.console-table-card {
  flex: 1;
  min-height: 0;
  border-radius: 28px;
  background: var(--console-table-card-bg);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.22);
  padding: 0.9rem;
}

.console-table-wrap {
  height: 100%;
  overflow: auto;
  border-radius: 22px;
  background: var(--console-table-wrap-bg);
}

.console-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.console-table thead th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: var(--console-table-head-bg);
  color: var(--gold);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.console-table th,
.console-table td {
  padding: 0.9rem 0.8rem;
  border-bottom: 1px solid var(--console-table-border);
  vertical-align: top;
  text-align: left;
  font-size: 0.9rem;
}

.console-table tbody tr:hover {
  background: var(--console-table-row-hover);
}

.console-table th:nth-child(1),
.console-table td:nth-child(1) {
  width: 8%;
}

.console-table th:nth-child(2),
.console-table td:nth-child(2) {
  width: 12%;
}

.console-table th:nth-child(3),
.console-table td:nth-child(3) {
  width: 13%;
}

.console-table th:nth-child(4),
.console-table td:nth-child(4) {
  width: 24%;
}

.console-table th:nth-child(5),
.console-table td:nth-child(5) {
  width: 24%;
}

.console-table th:nth-child(6),
.console-table td:nth-child(6) {
  width: 9%;
}

.console-table th:nth-child(7),
.console-table td:nth-child(7) {
  width: 10%;
}

.console-table-tickets th:nth-child(1),
.console-table-tickets td:nth-child(1) {
  width: 10%;
}

.console-table-tickets th:nth-child(2),
.console-table-tickets td:nth-child(2) {
  width: 9%;
}

.console-table-tickets th:nth-child(3),
.console-table-tickets td:nth-child(3) {
  width: 8%;
}

.console-table-tickets th:nth-child(4),
.console-table-tickets td:nth-child(4) {
  width: 12%;
}

.console-table-tickets th:nth-child(5),
.console-table-tickets td:nth-child(5) {
  width: 17%;
}

.console-table-tickets th:nth-child(6),
.console-table-tickets td:nth-child(6) {
  width: 12%;
}

.console-table-tickets th:nth-child(7),
.console-table-tickets td:nth-child(7) {
  width: 12%;
}

.console-table-tickets th:nth-child(8),
.console-table-tickets td:nth-child(8) {
  width: 20%;
}

.console-table-departments th:nth-child(1),
.console-table-departments td:nth-child(1) {
  width: 16%;
}

.console-table-departments th:nth-child(2),
.console-table-departments td:nth-child(2) {
  width: 22%;
}

.console-table-departments th:nth-child(3),
.console-table-departments td:nth-child(3) {
  width: 16%;
}

.console-table-departments th:nth-child(4),
.console-table-departments td:nth-child(4) {
  width: 46%;
}

.console-table-escalation-contacts th:nth-child(1),
.console-table-escalation-contacts td:nth-child(1) {
  width: 13%;
}

.console-table-escalation-contacts th:nth-child(2),
.console-table-escalation-contacts td:nth-child(2) {
  width: 11%;
}

.console-table-escalation-contacts th:nth-child(3),
.console-table-escalation-contacts td:nth-child(3) {
  width: 10%;
}

.console-table-escalation-contacts th:nth-child(4),
.console-table-escalation-contacts td:nth-child(4) {
  width: 10%;
}

.console-table-escalation-contacts th:nth-child(5),
.console-table-escalation-contacts td:nth-child(5) {
  width: 12%;
}

.console-table-escalation-contacts th:nth-child(6),
.console-table-escalation-contacts td:nth-child(6) {
  width: 18%;
}

.console-table-escalation-contacts th:nth-child(7),
.console-table-escalation-contacts td:nth-child(7) {
  width: 10%;
}

.console-table-escalation-contacts th:nth-child(8),
.console-table-escalation-contacts td:nth-child(8) {
  width: 16%;
}

.console-table-contacts th:nth-child(1),
.console-table-contacts td:nth-child(1) {
  width: 11%;
}

.console-table-contacts th:nth-child(2),
.console-table-contacts td:nth-child(2) {
  width: 11%;
}

.console-table-contacts th:nth-child(3),
.console-table-contacts td:nth-child(3) {
  width: 13%;
}

.console-table-contacts th:nth-child(4),
.console-table-contacts td:nth-child(4) {
  width: 18%;
}

.console-table-contacts th:nth-child(5),
.console-table-contacts td:nth-child(5) {
  width: 10%;
}

.console-table-contacts th:nth-child(6),
.console-table-contacts td:nth-child(6) {
  width: 13%;
}

.console-table-contacts th:nth-child(7),
.console-table-contacts td:nth-child(7) {
  width: 12%;
}

.console-table-contacts th:nth-child(8),
.console-table-contacts td:nth-child(8) {
  width: 6%;
}

.console-table-contacts th:nth-child(9),
.console-table-contacts td:nth-child(9) {
  width: 6%;
}

.console-table-text {
  color: var(--muted);
  line-height: 1.45;
}

.console-ticket-link {
  border: 0;
  background: transparent;
  padding: 0;
  color: var(--cyan);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 0.18rem;
}

.console-ticket-link:hover,
.console-ticket-link:focus-visible {
  color: var(--gold);
}

.console-mini-toggle,
.console-status-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 1.85rem;
  padding: 0.3rem 0.68rem;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.console-mini-toggle {
  background: rgba(24, 32, 42, 0.08);
  color: rgba(24, 32, 42, 0.76);
}

.console-status-chip-active {
  background: rgba(102, 214, 160, 0.18);
  color: #3f7d61;
}

.console-status-chip-inactive {
  background: rgba(24, 32, 42, 0.1);
  color: rgba(24, 32, 42, 0.66);
}

.console-status-chip-invite-pending {
  background: rgba(255, 203, 51, 0.18);
  color: #8c6400;
}

.console-priority-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 4.35rem;
  height: 1.7rem;
  padding: 0 0.55rem;
  border-radius: 999px;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
}

.priority-high {
  background: rgba(220, 98, 64, 0.16);
  color: #ffb39b;
}

.priority-medium {
  background: rgba(255, 203, 51, 0.18);
  color: #ffd76e;
}

.priority-low {
  background: rgba(102, 214, 160, 0.16);
  color: #9df0c2;
}

.console-ticket-modal-card {
  width: min(100% - 2rem, 1280px);
  max-height: calc(100vh - 2rem);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.console-ticket-modal-head {
  flex: 0 0 auto;
}

.console-ticket-head-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
}

.console-ticket-head-copy {
  min-width: 0;
}

.console-ticket-head-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.console-ticket-menu {
  position: relative;
}

.console-ticket-menu-toggle {
  min-height: 2.7rem;
  border: 0;
  border-radius: 999px;
  padding: 0.5rem 0.9rem 0.5rem 0.72rem;
  background: rgba(24, 32, 42, 0.06);
  box-shadow: inset 0 0 0 1px rgba(24, 32, 42, 0.08);
  color: var(--text);
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
}

.console-ticket-menu-icon {
  width: 1.28rem;
  height: 1.28rem;
  object-fit: contain;
  flex: 0 0 1.28rem;
}

.console-ticket-menu-list {
  position: absolute;
  top: calc(100% + 0.55rem);
  right: 0;
  z-index: 5;
  min-width: 12rem;
  padding: 0.4rem;
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 242, 233, 0.95)),
    radial-gradient(circle at top right, rgba(12, 140, 165, 0.08), transparent 34%);
  box-shadow:
    0 24px 54px rgba(0, 0, 0, 0.2),
    inset 0 0 0 1px rgba(24, 32, 42, 0.08);
}

.console-ticket-menu-item {
  width: 100%;
  min-height: 2.45rem;
  border: 0;
  border-radius: 16px;
  padding: 0.55rem 0.8rem;
  background: transparent;
  color: var(--text);
  text-align: left;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
}

.console-ticket-menu-item.active,
.console-ticket-menu-item:hover,
.console-ticket-menu-item:focus-visible,
.console-ticket-menu-toggle:hover,
.console-ticket-menu-toggle:focus-visible {
  background: linear-gradient(180deg, rgba(255, 214, 87, 0.95), rgba(246, 176, 17, 0.96));
  box-shadow: 0 10px 24px rgba(163, 110, 0, 0.18);
  color: #16120a;
}

.console-ticket-meta {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.console-ticket-meta-pill {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0.38rem 0.72rem;
  border-radius: 999px;
  background: rgba(24, 32, 42, 0.08);
  color: rgba(24, 32, 42, 0.76);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.console-ticket-action-drawer {
  margin-top: 1rem;
  flex: 0 0 auto;
}

.console-ticket-action-panel {
  padding: 1rem 1.05rem;
}

.console-ticket-action-panel-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.console-ticket-body {
  margin-top: 1rem;
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
}

.console-ticket-detail-card {
  width: 100%;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.console-ticket-thread {
  margin-top: 1rem;
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  display: grid;
  gap: 0.8rem;
  padding-right: 0.2rem;
}

.console-ticket-thread-item {
  border-radius: 22px;
  padding: 1rem;
  background: rgba(24, 32, 42, 0.04);
  box-shadow: inset 0 0 0 1px rgba(24, 32, 42, 0.06);
}

.console-ticket-thread-item-customer {
  background: rgba(255, 203, 51, 0.1);
  box-shadow: inset 0 0 0 1px rgba(255, 203, 51, 0.18);
}

.console-ticket-thread-item-agent {
  background: rgba(99, 223, 240, 0.08);
  box-shadow: inset 0 0 0 1px rgba(99, 223, 240, 0.16);
}

.console-ticket-thread-item-system {
  background: rgba(24, 32, 42, 0.05);
}

.console-ticket-thread-label {
  display: inline-flex;
  align-items: center;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.console-ticket-thread-item p {
  margin: 0.65rem 0 0;
  color: rgba(24, 32, 42, 0.78);
  line-height: 1.6;
}

.console-ticket-field {
  display: grid;
  gap: 0.48rem;
  margin-top: 0.9rem;
}

.console-ticket-field span {
  color: var(--console-date-label);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.console-ticket-field input,
.console-ticket-field textarea,
.console-ticket-field select {
  width: 100%;
  border: 0;
  border-radius: 18px;
  background: var(--console-field-bg);
  box-shadow: inset 0 0 0 1px var(--console-field-border);
  color: var(--text);
  font: inherit;
  padding: 0.85rem 0.95rem;
  resize: vertical;
  outline: none;
}

.console-ticket-field input[readonly] {
  cursor: default;
  color: var(--muted);
}

.console-ticket-action-button {
  margin-top: 0.9rem;
  min-height: 2.9rem;
  border: 0;
  border-radius: 999px;
  padding: 0.72rem 1rem;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
}

.console-ticket-action-button-success {
  background: linear-gradient(180deg, rgba(66, 176, 121, 0.96), rgba(27, 132, 84, 0.98));
  color: #f6fff9;
}

.console-ticket-action-button-dark {
  background: rgba(24, 32, 42, 0.9);
  color: #f6f7fa;
}

.console-ticket-action-button-danger {
  background: linear-gradient(180deg, rgba(220, 98, 64, 0.96), rgba(184, 69, 42, 0.98));
  color: #fff8f5;
}

.console-ticket-action-button-gold {
  background: linear-gradient(180deg, rgba(255, 214, 87, 0.95), rgba(246, 176, 17, 0.96));
  color: #16120a;
}

.console-compact-modal {
  width: min(100% - 2rem, 760px);
}

.console-modal-form {
  margin-top: 1rem;
  display: grid;
  gap: 0.8rem;
}

.console-modal-form-two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

html[data-theme="dark"] .console-ticket-meta-pill {
  background: rgba(255, 255, 255, 0.06);
  color: rgba(246, 247, 250, 0.8);
}

html[data-theme="dark"] .console-ticket-menu-toggle {
  background: rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  color: rgba(246, 247, 250, 0.84);
}

html[data-theme="dark"] .console-mini-toggle {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(246, 247, 250, 0.78);
}

html[data-theme="dark"] .console-status-chip-active {
  color: #9df0c2;
}

html[data-theme="dark"] .console-status-chip-inactive {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(246, 247, 250, 0.62);
}

html[data-theme="dark"] .console-status-chip-invite-pending {
  color: #ffd76e;
}

html[data-theme="dark"] .console-ticket-menu-list {
  background:
    linear-gradient(180deg, rgba(11, 17, 26, 0.98), rgba(8, 13, 21, 0.95)),
    radial-gradient(circle at top right, rgba(255, 203, 51, 0.08), transparent 34%);
  box-shadow:
    0 24px 54px rgba(0, 0, 0, 0.34),
    inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

html[data-theme="dark"] .console-ticket-menu-item {
  color: rgba(246, 247, 250, 0.88);
}

html[data-theme="dark"] .console-settings-tabs {
  background: rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

html[data-theme="dark"] .console-settings-tab {
  color: rgba(246, 247, 250, 0.72);
}

html[data-theme="dark"] .console-hours-row {
  background: rgba(255, 255, 255, 0.05);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

html[data-theme="dark"] .console-hours-closed-pill {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(246, 247, 250, 0.72);
}

html[data-theme="dark"] .console-ai-choice {
  background: rgba(255, 255, 255, 0.05);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

html[data-theme="dark"] .console-ai-choice strong {
  color: #f6f7fa;
}

html[data-theme="dark"] .console-inline-info-button {
  background: rgba(255, 203, 51, 0.16);
  color: #ffd76e;
}

html[data-theme="dark"] .console-inline-modal-card {
  background:
    linear-gradient(180deg, rgba(11, 17, 26, 0.98), rgba(8, 13, 21, 0.95)),
    radial-gradient(circle at top right, rgba(255, 203, 51, 0.08), transparent 34%);
  box-shadow:
    0 24px 54px rgba(0, 0, 0, 0.34),
    inset 0 0 0 1px rgba(255, 255, 255, 0.06);
  color: #f6f7fa;
}

html[data-theme="dark"] .console-modal-card .free-tool-card,
html[data-theme="dark"] .console-modal-card .free-tool-result,
html[data-theme="dark"] .console-modal-card .free-tool-callout,
html[data-theme="dark"] .console-modal-card .free-tool-input-shell {
  background: rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

html[data-theme="dark"] .console-modal-card .free-tool-card {
  color: #f6f7fa;
}

html[data-theme="dark"] .console-modal-card .free-tool-card-head p,
html[data-theme="dark"] .console-modal-card .free-tool-result-label,
html[data-theme="dark"] .console-modal-card .free-tool-result-note,
html[data-theme="dark"] .console-modal-card .free-tool-callout p,
html[data-theme="dark"] .console-modal-card .free-tool-field span,
html[data-theme="dark"] .console-modal-card .free-tool-range-head span {
  color: rgba(246, 247, 250, 0.72);
}

html[data-theme="dark"] .console-modal-card .free-tool-card h2,
html[data-theme="dark"] .console-modal-card .free-tool-result-value,
html[data-theme="dark"] .console-modal-card .free-tool-range-head strong {
  color: #f6f7fa;
}

html[data-theme="dark"] .console-modal-card .free-tool-field input,
html[data-theme="dark"] .console-modal-card .free-tool-field select,
html[data-theme="dark"] .console-modal-card .free-tool-field textarea {
  background: rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  color: #f6f7fa;
}

html[data-theme="dark"] .console-modal-card .free-tool-prefix {
  color: rgba(246, 247, 250, 0.72);
}

html[data-theme="dark"] .console-sms-thread-item {
  background: rgba(255, 255, 255, 0.05);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

html[data-theme="dark"] .console-sms-thread-item.active {
  background: rgba(255, 203, 51, 0.12);
  box-shadow: inset 0 0 0 1px rgba(255, 203, 51, 0.18);
}

html[data-theme="dark"] .console-sms-bubble-inbound {
  background: rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

html[data-theme="dark"] .console-sms-bubble-agent {
  background: rgba(255, 203, 51, 0.14);
  box-shadow: inset 0 0 0 1px rgba(255, 203, 51, 0.18);
}

html[data-theme="dark"] .console-sms-bubble-system {
  background: rgba(99, 223, 240, 0.12);
  box-shadow: inset 0 0 0 1px rgba(99, 223, 240, 0.16);
  color: rgba(246, 247, 250, 0.82);
}

html[data-theme="dark"] .console-ticket-thread-item {
  background: rgba(255, 255, 255, 0.05);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

html[data-theme="dark"] .console-ticket-thread-item-customer {
  background: rgba(255, 203, 51, 0.12);
  box-shadow: inset 0 0 0 1px rgba(255, 203, 51, 0.18);
}

html[data-theme="dark"] .console-ticket-thread-item-agent {
  background: rgba(99, 223, 240, 0.1);
  box-shadow: inset 0 0 0 1px rgba(99, 223, 240, 0.16);
}

html[data-theme="dark"] .console-ticket-thread-item-system {
  background: rgba(255, 255, 255, 0.05);
}

html[data-theme="dark"] .console-ticket-thread-item p {
  color: rgba(246, 247, 250, 0.78);
}

.console-status-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.65rem;
  min-width: 3.65rem;
  height: 1.58rem;
  padding: 0 0.2rem;
  border-radius: 999px;
  font-size: 0.63rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  text-align: center;
}

.status-new {
  background: rgba(82, 176, 255, 0.18);
  color: #9fd3ff;
}

.status-pending {
  background: rgba(255, 203, 51, 0.18);
  color: #ffd76e;
}

.status-ai {
  background: rgba(99, 223, 240, 0.18);
  color: #8be9f5;
}

.status-human {
  background: rgba(255, 127, 80, 0.18);
  color: #ffb197;
}

.status-resolved {
  background: rgba(102, 214, 160, 0.18);
  color: #9df0c2;
}

@media (max-width: 1280px) {
  .console-kpi-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .console-sms-shell {
    grid-template-columns: 1fr;
  }

  .console-settings-grid,
  .console-settings-grid-departments {
    grid-template-columns: 1fr;
  }

  .console-ai-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .console-ticket-head-row,
  .console-ticket-head-actions,
  .console-ticket-action-panel-grid {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: stretch;
  }

  .console-kpi-grid {
    grid-template-columns: 1fr;
  }

  .console-modal-form-two {
    grid-template-columns: 1fr;
  }

  .console-sms-composer {
    grid-template-columns: 1fr;
  }

  .console-hours-row {
    grid-template-columns: 1fr;
  }

  .console-hours-fields {
    grid-template-columns: 1fr;
    justify-content: stretch;
  }

  .console-hours-closed-pill {
    justify-self: start;
  }
}

@media (max-width: 860px) {
  .landing-actions {
    padding: 1rem 0.95rem 5.8rem;
  }

  .landing-suite {
    gap: 1.2rem;
    width: min(100%, 24rem);
  }

  .landing-suite-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    max-width: 24rem;
    gap: 0.75rem;
  }

  .suite-card {
    min-height: 8.9rem;
    padding: 0.95rem 0.85rem;
    gap: 0.55rem;
    border-radius: 24px;
  }

  .suite-card-art {
    min-height: 4.9rem;
  }

  .suite-card-art img {
    width: clamp(4.7rem, 23vw, 6.6rem);
    max-height: 6.6rem;
  }

  .suite-card-label {
    font-size: clamp(1rem, 4.6vw, 1.22rem);
  }

  .landing-suite-header h1 {
    font-size: clamp(1.75rem, 8vw, 2.3rem);
  }

  .landing-suite-header p {
    margin-top: 0.55rem;
    max-width: 22rem;
    font-size: 0.92rem;
    line-height: 1.45;
  }

  .landing-footer {
    bottom: 0.7rem;
    width: calc(100% - 7rem);
    font-size: 0.68rem;
    line-height: 1.3;
    white-space: normal;
  }

  .free-tools-frame {
    padding: 1rem;
    gap: 0.9rem;
  }

  .public-home-link {
    top: 1rem;
    right: 1rem;
    width: 2.65rem;
    height: 2.65rem;
  }

  .public-scroll-region {
    padding-right: 0;
  }

  .free-tools-header {
    flex-direction: column;
    padding-right: 3.7rem;
  }

  .blog-frame {
    padding: 1rem;
  }

  .blog-shell {
    background-position: center center;
    background-size: cover;
  }

  .blog-kpi-row,
  .blog-workspace,
  .blog-editor-grid {
    grid-template-columns: 1fr;
  }

  .blog-field-span-2 {
    grid-column: span 1;
  }

  .blog-card-head {
    flex-direction: column;
  }

  .blog-workflow-pillars {
    justify-content: flex-start;
  }

  .blog-queue-item {
    flex-direction: column;
  }

  .about-header,
  .blog-header {
    padding-right: 3.7rem;
  }

  .reports-frame {
    padding: 1rem;
  }

  .reports-page-utilities {
    top: 1rem;
    right: 1rem;
  }

  .reports-header {
    align-items: center;
    padding-right: 0;
  }

  .reports-header-copy h1 {
    font-size: clamp(1.95rem, 7.2vw, 2.7rem);
  }

  .reports-header-path-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .reports-chat-card-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .reports-chat-thread {
    min-height: 16rem;
    max-height: 22rem;
  }

  .reports-grid,
  .reports-grid-analysis,
  .reports-summary-grid {
    grid-template-columns: 1fr;
  }

  .reports-actions-grid,
  .reports-actions-grid-tight,
  .reports-job-agent-strip,
  .reports-result-section-grid,
  .reports-findings-grid {
    grid-template-columns: 1fr;
  }

  .reports-schema-summary {
    flex-direction: column;
    align-items: flex-start;
  }

  .reports-schema-status {
    min-width: 0;
    width: 100%;
  }

  .reports-upload-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .reports-upload-actions .free-tool-cta {
    width: 100%;
  }

  .reports-card {
    padding: 1rem;
    border-radius: 26px;
  }

  .reports-card-head {
    flex-direction: column;
  }

  .reports-card-head h2 {
    font-size: clamp(1.2rem, 5.4vw, 1.7rem);
  }

  .reports-table {
    min-width: 640px;
  }

  .reports-help-grid {
    grid-template-columns: 1fr;
  }

  .reports-utility-button span {
    display: none;
  }

  .reports-chat-form-actions {
    justify-content: stretch;
  }

  .reports-chat-form-actions .free-tool-cta,
  .reports-secondary-button {
    width: 100%;
  }

  .console-modal-card {
    width: min(100% - 1rem, 1180px);
    max-height: calc(100vh - 1rem);
    margin: 0.5rem auto;
    padding: 1rem;
  }

  .console-settings-grid {
    grid-template-columns: 1fr;
  }

  .free-tools-grid {
    grid-template-columns: 1fr;
  }

  .free-tools-landing-grid {
    grid-template-columns: 1fr;
  }

  .free-tool-form,
  .free-tool-results-grid {
    grid-template-columns: 1fr;
  }

  .free-tool-field-range {
    grid-column: auto;
  }

  .free-tool-callout,
  .free-tool-placeholder-body {
    flex-direction: column;
    align-items: stretch;
  }

  .landing-chat-launcher {
    right: 0.85rem;
    bottom: 0.85rem;
    width: 4.2rem;
    height: 4.2rem;
  }

  .landing-chat-launcher img {
    width: 3rem;
    height: 3rem;
  }

  .landing-chat-window {
    inset: 0;
    width: 100vw;
    height: 100vh;
    height: 100svh;
    border-radius: 0;
    box-shadow: none;
  }

  .landing-chat-surface {
    padding: 0.85rem;
  }

  .landing-chat-head {
    padding: 0.75rem 0.8rem;
    border-radius: 20px;
  }

  .landing-chat-brand img {
    width: 2.7rem;
    height: 2.7rem;
  }

  .landing-chat-head h2 {
    font-size: 1.18rem;
  }

  .landing-chat-close {
    width: 2.35rem;
    height: 2.35rem;
    flex-basis: 2.35rem;
  }

  .landing-chat-thread {
    margin-top: 0.75rem;
    padding-bottom: 0.5rem;
  }

  .landing-chat-bubble {
    max-width: 92%;
  }

  .landing-chat-inputbar {
    margin-top: 0.75rem;
    padding: 0.36rem;
    gap: 0.36rem;
  }

  .landing-chat-inputbar input,
  .landing-chat-inputbar button {
    min-height: 2.75rem;
  }

  .landing-chat-inputbar input {
    padding-inline: 0.9rem;
  }

  .landing-chat-inputbar button {
    padding-inline: 0.9rem;
  }

  .about-frame {
    padding: 1rem;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-focus-card {
    flex-direction: column;
    align-items: stretch;
  }

  .survey-builder-shell,
  .survey-share-grid,
  .survey-deployment-summary-grid,
  .survey-deployment-review-grid,
  .survey-sidebar-metrics,
  .survey-meta-grid,
  .survey-help-grid,
  .survey-option-grid {
    grid-template-columns: 1fr;
  }

  .survey-builder-topbar,
  .survey-questions-header,
  .survey-campaign-action-row {
    align-items: stretch;
  }

  .survey-builder-sidebar {
    position: static;
  }

  .survey-admin-utility-row {
    grid-template-columns: 1fr;
  }

  .survey-builder-controls {
    width: 100%;
    justify-content: stretch;
  }

  .survey-mode-toggle {
    width: 100%;
  }

  .survey-mode-button {
    flex: 1 1 0;
  }

  .survey-preview-link {
    width: 100%;
  }

  .survey-help-button {
    width: 100%;
  }

  .survey-preview-rating {
    grid-template-columns: 1fr;
  }

  .landing-footer {
    bottom: 0.8rem;
    font-size: 0.72rem;
  }

  .console-shell {
    height: auto;
    min-height: 100vh;
    padding: 5px 5px 1rem;
  }

  .console-workspace {
    grid-template-columns: 1fr;
    height: auto;
  }

  .console-sidebar {
    border-radius: 22px;
  }

  .console-header-band {
    height: clamp(72px, 11vh, 108px);
    border-radius: 0 0 18px 18px;
  }

  .console-mainstage {
    min-height: 72vh;
    gap: 0.75rem;
  }

  .console-content-shell {
    padding: 0.9rem;
  }

  .console-toolbar {
    width: 100%;
    justify-content: flex-start;
  }

  .console-field-search,
  .console-field-select,
  .console-field-date {
    min-width: unset;
    width: 100%;
  }

  .console-panel-grid {
    grid-template-columns: 1fr;
  }

  .console-kpi-grid {
    grid-template-columns: 1fr;
  }

  .console-sidebar[data-collapsed="true"] .console-side-label {
    display: inline;
  }

  .console-sidebar[data-collapsed="true"] .console-side-link {
    justify-content: flex-start;
    padding-inline: 0.7rem;
  }

  .console-sidebar[data-collapsed="true"] .console-utility-label {
    display: inline;
  }

  .console-sidebar[data-collapsed="true"] .console-utility-link {
    justify-content: flex-start;
    padding-inline: 0.7rem;
  }
}

@media (min-width: 861px) and (max-width: 1180px) {
  .landing-suite-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 52rem;
  }

  .suite-card-art {
    min-height: 7.4rem;
  }

  .suite-card-art img {
    width: clamp(7rem, 50%, 10rem);
    max-height: 10rem;
  }

  .blog-kpi-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .blog-workspace {
    grid-template-columns: 1fr;
  }

  .console-settings-grid {
    grid-template-columns: 1fr 1fr;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .free-tools-grid {
    grid-template-columns: 1fr;
  }

  .free-tools-landing-grid {
    grid-template-columns: 1fr;
  }

  .survey-builder-shell {
    grid-template-columns: 1fr;
  }

  .survey-builder-sidebar {
    position: static;
  }

  .survey-share-grid {
    grid-template-columns: 1fr;
  }

.survey-deployment-summary-grid,
  .survey-deployment-review-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.kyllr-ai-admin-page {
  min-height: 100vh;
  overflow: hidden;
  background: #efe6d7;
}

.kyllr-ai-admin-page .free-tools-shell-tool {
  background-color: #f6eee0;
  background-image:
    radial-gradient(circle at 14% 16%, rgba(255, 210, 74, 0.14), transparent 24%),
    radial-gradient(circle at 84% 18%, rgba(255, 242, 214, 0.72), transparent 28%),
    radial-gradient(circle at 78% 82%, rgba(255, 214, 102, 0.12), transparent 24%),
    linear-gradient(180deg, rgba(255, 251, 244, 0.98) 0%, rgba(242, 231, 213, 0.96) 100%);
}

.kyllr-ai-admin-page .landing-overlay {
  background:
    radial-gradient(circle at 18% 14%, rgba(255, 223, 122, 0.1), transparent 24%),
    radial-gradient(circle at 84% 74%, rgba(255, 255, 255, 0.14), transparent 26%),
    linear-gradient(180deg, rgba(255, 251, 244, 0.04) 0%, rgba(255, 248, 240, 0.08) 100%);
}

.kyllr-ai-frame {
  padding: 1.2rem;
}

.kyllr-ai-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding-right: 0.4rem;
}

.kyllr-ai-header .free-tools-header-copy {
  color: #18202a;
}

.kyllr-ai-header-copy {
  max-width: 52rem;
}

.kyllr-ai-header .free-tools-kicker {
  color: #8b6100;
}

.kyllr-ai-header p {
  color: rgba(24, 32, 42, 0.72);
}

.kyllr-ai-help-trigger {
  flex: 0 0 auto;
  width: 2.85rem;
  height: 2.85rem;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow:
    0 14px 30px rgba(101, 88, 60, 0.1),
    inset 0 0 0 1px rgba(24, 32, 42, 0.1);
  color: #18202a;
  cursor: pointer;
}

.kyllr-ai-help-trigger svg {
  width: 1.2rem;
  height: 1.2rem;
  stroke: currentColor;
  stroke-width: 1.9;
  fill: none;
}

.kyllr-ai-workspace {
  flex: 1 1 auto;
  min-height: 0;
  display: grid;
  grid-template-columns: 16rem minmax(0, 1fr);
  gap: 1rem;
}

.kyllr-ai-sidebar {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding: 1rem;
}

.kyllr-ai-tab {
  min-height: 3rem;
  padding: 0.8rem 0.95rem;
  border: 0;
  border-radius: 18px;
  background: rgba(24, 32, 42, 0.06);
  color: #18202a;
  box-shadow: inset 0 0 0 1px rgba(24, 32, 42, 0.06);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  text-align: left;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.kyllr-ai-tab.is-active {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(248, 243, 231, 0.9)),
    radial-gradient(circle at top right, rgba(163, 110, 0, 0.08), transparent 34%);
  box-shadow:
    0 16px 28px rgba(101, 88, 60, 0.08),
    inset 0 0 0 1px rgba(163, 110, 0, 0.14);
}

.kyllr-ai-panel-wrap {
  min-width: 0;
  min-height: 0;
}

.kyllr-ai-panel {
  display: none;
  min-height: 100%;
}

.kyllr-ai-panel.is-active {
  display: block;
}

.kyllr-ai-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.kyllr-ai-panel-head h2 {
  margin: 0.28rem 0 0;
  color: #18202a;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.6rem;
  letter-spacing: -0.04em;
}

.kyllr-ai-panel-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.kyllr-ai-mini-cta {
  min-height: 2.55rem;
  padding-inline: 0.95rem;
  font-size: 0.88rem;
}

.kyllr-ai-inline-help {
  min-height: 2.55rem;
  padding: 0.55rem 0.95rem;
  border: 0;
  border-radius: 999px;
  background: rgba(24, 32, 42, 0.08);
  color: #18202a;
  font: inherit;
  font-size: 0.84rem;
  font-weight: 800;
  cursor: pointer;
}

.kyllr-ai-table-wrap {
  margin-top: 1rem;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.56);
  box-shadow: inset 0 0 0 1px rgba(24, 32, 42, 0.08);
  overflow: auto;
}

.kyllr-ai-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
}

.kyllr-ai-table th,
.kyllr-ai-table td {
  padding: 0.88rem 0.95rem;
  text-align: left;
  border-bottom: 1px solid rgba(24, 32, 42, 0.08);
  vertical-align: top;
}

.kyllr-ai-table th {
  color: rgba(24, 32, 42, 0.62);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.kyllr-ai-table td {
  color: #18202a;
  font-size: 0.92rem;
  line-height: 1.45;
}

.kyllr-ai-editor-stack {
  margin-top: 1rem;
}

.kyllr-ai-editor-form {
  display: grid;
  gap: 0.9rem;
}

.kyllr-ai-form-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.kyllr-ai-form-columns-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.kyllr-ai-runtime-note {
  padding: 0.95rem 1rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: inset 0 0 0 1px rgba(24, 32, 42, 0.08);
}

.kyllr-ai-runtime-note strong {
  display: block;
  margin-bottom: 0.3rem;
  color: #18202a;
  font-size: 0.92rem;
}

.kyllr-ai-runtime-note p {
  margin: 0;
  color: rgba(24, 32, 42, 0.72);
  font-size: 0.9rem;
  line-height: 1.5;
}

.kyllr-ai-modal-open {
  overflow: hidden;
}

.kyllr-ai-help-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
}

.kyllr-ai-help-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 8, 14, 0.28);
  backdrop-filter: blur(6px);
}

.kyllr-ai-help-card {
  position: relative;
  z-index: 1;
  width: min(100% - 2rem, 960px);
  margin: 8vh auto 0;
  padding: 1.25rem;
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(246, 240, 230, 0.94)),
    radial-gradient(circle at top right, rgba(255, 210, 74, 0.14), transparent 34%);
  box-shadow:
    0 24px 60px rgba(101, 88, 60, 0.16),
    inset 0 0 0 1px rgba(24, 32, 42, 0.08);
  color: #18202a;
}

.kyllr-ai-help-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.kyllr-ai-help-head h2 {
  margin: 0.4rem 0 0;
  color: #18202a;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.45rem, 2.5vw, 2rem);
  letter-spacing: -0.04em;
}

.kyllr-ai-help-close {
  min-width: 2.5rem;
  min-height: 2.5rem;
  border: 0;
  border-radius: 999px;
  background: rgba(24, 32, 42, 0.08);
  color: #18202a;
  font-size: 1.35rem;
  cursor: pointer;
}

.kyllr-ai-help-grid {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.kyllr-ai-help-block {
  padding: 1rem;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: inset 0 0 0 1px rgba(24, 32, 42, 0.08);
}

.kyllr-ai-help-block h3 {
  margin: 0 0 0.55rem;
  color: #18202a;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1rem;
}

.kyllr-ai-help-block p {
  margin: 0;
  color: rgba(24, 32, 42, 0.74);
  font-size: 0.92rem;
  line-height: 1.55;
}

@media (max-width: 1180px) {
  .kyllr-ai-workspace,
  .kyllr-ai-form-columns,
  .kyllr-ai-form-columns-3 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .kyllr-ai-header {
    padding-right: 0;
  }

  .kyllr-ai-help-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .landing-actions {
    align-items: center;
  }

  .landing-suite {
    width: min(100%, 22.5rem);
    gap: 1rem;
  }

  .landing-suite-grid {
    max-width: 22.5rem;
  }

  .reports-frame {
    gap: 0.85rem;
  }

  .reports-page-utilities {
    gap: 0.45rem;
  }

  .reports-callout,
  .reports-summary-card,
  .reports-card,
  .reports-schema-review,
  .reports-chat-card,
  .reports-agent-card,
  .reports-result-section,
  .reports-option-button {
    border-radius: 22px;
  }

  .reports-chat-card,
  .reports-agent-card,
  .reports-result-section {
    padding: 1rem;
  }

  .reports-header {
    align-items: flex-start;
  }

  .reports-header-path-grid {
    grid-template-columns: 1fr;
  }

  .reports-schema-summary,
  .reports-schema-body,
  .reports-help-card {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .reports-summary-card strong {
    font-size: 1.12rem;
  }

  .reports-thread-message {
    max-width: 100%;
    padding: 0.9rem;
  }

  .reports-option-button {
    min-height: 4.8rem;
    padding: 0.9rem;
  }

  .reports-result-actions,
  .reports-secondary-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .reports-table {
    min-width: 560px;
  }

  .suite-card {
    min-height: 8.2rem;
  }

  .suite-card-art {
    min-height: 4.4rem;
  }

  .landing-chat-launcher {
    right: 0.75rem;
    bottom: 0.75rem;
    width: 3.85rem;
    height: 3.85rem;
  }

  .landing-chat-launcher img {
    width: 2.75rem;
    height: 2.75rem;
  }
}
