@import "https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Inter:wght@400;500;600;700&display=swap";
/* [project]/tokens.css [app-client] (css) */
.waterfall-report {
  --wf-paper: #f4f9fb;
  --wf-paper-raised: #fff;
  --wf-paper-muted: #e6f1f4;
  --wf-paper-strong: #d4e5eb;
  --wf-rule: #c2d1d6;
  --wf-rule-strong: #8ea2a9;
  --wf-ink: #121b26;
  --wf-ink-soft: #37444f;
  --wf-muted: #4e5d68;
  --wf-accent: #00acc2;
  --wf-accent-ink: #05161f;
  --wf-accent-soft: #caf4fc;
  --wf-accent-mid: #96dfec;
  --wf-accent-strong: #49c4d8;
  --wf-accent-soft-ink: var(--wf-accent-ink);
  --wf-accent-mid-ink: var(--wf-accent-ink);
  --wf-accent-strong-ink: var(--wf-accent-ink);
  --wf-action: #cd175a;
  --wf-action-hover: #b3004b;
  --wf-action-ink: #fcf7f8;
  --wf-success: #007742;
  --wf-success-soft: #d5f5de;
  --wf-warning: #925b00;
  --wf-warning-soft: #ffeccf;
  --wf-error: #b7262b;
  --wf-error-soft: #ffe6e3;
  --wf-focus: #005c99;
  --wf-shadow: 0 1px 2px #0c181d14;
  --wf-font-display: "Outfit", sans-serif;
  --wf-font-body: "Inter", sans-serif;
  --wf-space-2xs: .25rem;
  --wf-space-xs: .5rem;
  --wf-space-sm: .75rem;
  --wf-space-md: 1rem;
  --wf-space-lg: 1.5rem;
  --wf-space-xl: 2rem;
  --wf-radius-xs: .25rem;
  --wf-radius-sm: .375rem;
  --wf-radius: .75rem;
  --wf-ease-out: cubic-bezier(.16, 1, .3, 1);
  --wf-duration: .15s;
  --wf-z-cell: 10;
  --wf-z-sticky: 20;
  --wf-z-corner: 30;
}

@supports (color: lab(0% 0 0)) {
  .waterfall-report {
    --wf-paper: lab(97.7171% -1.53574 -1.47938);
    --wf-paper-raised: lab(100.025% -1.0249 -.987029);
    --wf-paper-muted: lab(94.2736% -3.06025 -2.95185);
    --wf-paper-strong: lab(89.6813% -5.0734 -4.90376);
    --wf-rule: lab(82.7093% -4.56822 -4.41462);
    --wf-rule-strong: lab(65.3492% -6.29097 -6.10176);
    --wf-ink: lab(9.44505% -1.64548 -8.71519);
    --wf-ink-soft: lab(28.0692% -3.02485 -8.4367);
    --wf-muted: lab(38.5451% -3.80115 -8.10769);
    --wf-accent: lab(63.9082% -38.0151 -25.7419);
    --wf-accent-ink: lab(6.22033% -3.63712 -8.70091);
    --wf-accent-soft: lab(93.4013% -12.9303 -8.56767);
    --wf-accent-mid: lab(84.3496% -21.2903 -14.1346);
    --wf-accent-strong: lab(72.9974% -30.6088 -20.4635);
    --wf-action: lab(45.3135% 68.0378 13.0603);
    --wf-action-hover: lab(38.4699% 64.6868 12.552);
    --wf-action-ink: lab(97.6098% 2.00656 .337577);
    --wf-success: lab(43.669% -41.9439 21.7007);
    --wf-success-soft: lab(93.646% -13.9689 7.15933);
    --wf-warning: lab(43.9735% 22.2239 68.8592);
    --wf-warning-soft: lab(94.2817% 3.6093 17.2284);
    --wf-error: lab(41.3325% 57.0013 35.7415);
    --wf-error-soft: lab(93.7822% 13.8254 7.47877);
    --wf-focus: lab(36.4146% -2.70434 -54.5591);
    --wf-shadow: 0 1px 2px lab(7.2825% -3.4845 -5.63906 / .08);
  }
}

body.dark-mode .waterfall-report {
  --wf-paper: #0b1219;
  --wf-paper-raised: #131c23;
  --wf-paper-muted: #19232c;
  --wf-paper-strong: #222f3b;
  --wf-rule: #303c47;
  --wf-rule-strong: #5c6b77;
  --wf-ink: #e4edf2;
  --wf-ink-soft: #bdc9d2;
  --wf-muted: #a1b1ba;
  --wf-accent: #2abfd4;
  --wf-accent-ink: #04141d;
  --wf-accent-soft: #062e37;
  --wf-accent-mid: #004e5c;
  --wf-accent-strong: #2396a9;
  --wf-accent-soft-ink: var(--wf-ink);
  --wf-accent-mid-ink: var(--wf-ink);
  --wf-accent-strong-ink: var(--wf-accent-ink);
  --wf-action: #e9597d;
  --wf-action-hover: #f76d8d;
  --wf-action-ink: #08131c;
  --wf-success: #6ac48c;
  --wf-success-soft: #152c1e;
  --wf-warning: #ebb761;
  --wf-warning-soft: #3a2710;
  --wf-error: #ff958d;
  --wf-error-soft: #431f1d;
  --wf-focus: #41c8f6;
  --wf-shadow: 0 1px 2px #00020459;
}

@supports (color: lab(0% 0 0)) {
  body.dark-mode .waterfall-report {
    --wf-paper: lab(5.25516% -1.47232 -5.33571);
    --wf-paper-raised: lab(9.50385% -2.26924 -6.6971);
    --wf-paper-muted: lab(12.9832% -2.51566 -7.37308);
    --wf-paper-strong: lab(18.7786% -3.07098 -9.04348);
    --wf-rule: lab(24.5871% -2.98311 -8.42127);
    --wf-rule-strong: lab(44.3472% -3.97566 -8.44139);
    --wf-ink: lab(93.0727% -2.25675 -3.74303);
    --wf-ink-soft: lab(80.3271% -3.34764 -5.5945);
    --wf-muted: lab(71.0557% -4.05175 -6.81762);
    --wf-accent: lab(70.7444% -33.1715 -22.245);
    --wf-accent-ink: lab(5.28758% -3.20291 -8.2871);
    --wf-accent-soft: lab(16.7652% -11.4582 -9.52532);
    --wf-accent-mid: lab(29.676% -17.6264 -14.7623);
    --wf-accent-strong: lab(56.6268% -26.7996 -19.6093);
    --wf-action: lab(58.4361% 58.7687 10.8177);
    --wf-action-hover: lab(64.3562% 55.6461 10.1203);
    --wf-action-ink: lab(5.23886% -1.80497 -7.58301);
    --wf-success: lab(72.5749% -37.9352 19.5176);
    --wf-success-soft: lab(15.8464% -12.6181 6.4887);
    --wf-warning: lab(77.9988% 12.7693 50.5066);
    --wf-warning-soft: lab(17.5731% 6.81452 18.2326);
    --wf-error: lab(73.228% 40.5134 22.6485);
    --wf-error-soft: lab(17.1067% 17.1804 9.69151);
    --wf-focus: lab(74.9569% -26.4609 -33.6324);
    --wf-shadow: 0 1px 2px lab(.457298% -.177614 -.976658 / .35);
  }
}

/* [project]/packages/admin-reporting/src/components/WaterfallReportTab.css [app-client] (css) */
html:has(.waterfall-report) {
  overflow-x: clip;
}

body.admin-reporting-active:has(.waterfall-report) {
  overflow-x: clip;
}

.waterfall-report {
  gap: var(--wf-space-md);
  min-width: 0;
  padding: var(--wf-space-md);
  color: var(--wf-ink);
  font-family: var(--wf-font-body);
  font-variant-numeric: tabular-nums;
  overflow-x: clip;
}

.waterfall-controls {
  gap: var(--wf-space-md);
  padding: var(--wf-space-md);
  border: 1px solid var(--wf-rule);
  border-radius: var(--wf-radius);
  background: var(--wf-paper-raised);
  color: var(--wf-ink);
  box-shadow: var(--wf-shadow);
  display: grid;
}

.waterfall-controls__copy {
  min-width: 0;
}

.waterfall-controls__timer {
  border: 1px solid var(--wf-rule);
  border-radius: var(--wf-radius-sm);
  background: var(--wf-paper);
  color: var(--wf-muted);
  white-space: nowrap;
  order: 99;
  align-items: center;
  gap: .25rem;
  margin-inline-start: auto;
  padding: .35rem .6rem;
  font-size: .72rem;
  font-weight: 700;
  line-height: 1;
  display: inline-flex;
  flex: none !important;
}

.waterfall-controls__timer strong {
  color: var(--wf-ink);
  font-variant-numeric: tabular-nums;
  font-size: .78rem;
}

.waterfall-controls__timer--running {
  border-color: color-mix(in srgb, var(--wf-action) 42%, var(--wf-rule));
  background: color-mix(in srgb, var(--wf-action) 7%, var(--wf-paper));
}

.waterfall-controls__copy h2, .waterfall-workbench__heading h2, .waterfall-cohort-cards__heading h2, .waterfall-state h2 {
  color: var(--wf-ink);
  font-family: var(--wf-font-display);
  letter-spacing: -.02em;
  overflow-wrap: anywhere;
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.2;
}

.waterfall-controls__copy p, .waterfall-workbench__heading p, .waterfall-cohort-cards__heading p, .waterfall-state p, .waterfall-method {
  max-width: 68ch;
  margin: var(--wf-space-2xs) 0 0;
  color: var(--wf-muted);
  font-size: .875rem;
  line-height: 1.55;
}

.waterfall-controls__fields {
  gap: var(--wf-space-sm);
  grid-template-columns: minmax(0, 1fr);
  min-width: 0;
  display: grid;
}

.waterfall-controls__fields label {
  gap: var(--wf-space-2xs);
  min-width: 0;
  color: var(--wf-ink-soft);
  font-size: .75rem;
  font-weight: 700;
  display: grid;
}

.waterfall-controls__fields input, .waterfall-controls__fields select {
  width: 100%;
  min-width: 0;
  height: 2.75rem;
  padding-inline: var(--wf-space-sm);
  border: 1px solid var(--wf-rule-strong);
  border-radius: var(--wf-radius-sm);
  outline-offset: 1px;
  background: var(--wf-paper);
  color: var(--wf-ink);
  font: inherit;
  outline: 2px solid #0000;
  font-size: .875rem;
  font-weight: 600;
}

.waterfall-controls__fields input:focus-visible, .waterfall-controls__fields select:focus-visible, .waterfall-button:focus-visible, .waterfall-matrix-scroll:focus-visible {
  outline: 2px solid var(--wf-focus);
  outline-offset: 2px;
}

.waterfall-controls__fields input:hover:not(:disabled), .waterfall-controls__fields select:hover:not(:disabled), .waterfall-controls__fields input:active:not(:disabled), .waterfall-controls__fields select:active:not(:disabled) {
  border-color: var(--wf-action);
  background: var(--wf-paper-raised);
}

.waterfall-controls__fields input:disabled, .waterfall-controls__fields select:disabled, .waterfall-button:disabled {
  cursor: not-allowed;
  opacity: .52;
}

.waterfall-controls__actions {
  gap: var(--wf-space-xs);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-self: end;
  display: grid;
}

.waterfall-button {
  min-height: 2.75rem;
  padding: 0 var(--wf-space-md);
  border: 1px solid var(--wf-rule-strong);
  border-radius: var(--wf-radius-sm);
  background: var(--wf-paper-raised);
  color: var(--wf-ink);
  font: inherit;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color var(--wf-duration) var(--wf-ease-out), transform .1s var(--wf-ease-out);
  justify-content: center;
  align-items: center;
  font-size: .8125rem;
  font-weight: 800;
  line-height: 1;
  display: inline-flex;
}

.waterfall-button:active:not(:disabled) {
  transform: translateY(1px);
}

.waterfall-button--primary {
  border-color: var(--wf-action);
  background: var(--wf-action);
  color: var(--wf-action-ink);
}

.waterfall-button--export {
  border-color: var(--wf-action);
  background: var(--wf-paper-raised);
  color: var(--wf-action);
}

.waterfall-button--working:before {
  border: 2px solid color-mix(in srgb, currentColor 28%, transparent);
  content: "";
  border-block-start-color: currentColor;
  border-radius: 999px;
  width: .875rem;
  height: .875rem;
  animation: .75s linear infinite waterfall-spin;
}

.waterfall-export-status {
  color: var(--wf-muted);
  text-align: end;
  flex: 1 0 100%;
  font-size: .75rem;
  line-height: 1.35;
}

.waterfall-export-status--error {
  color: var(--wf-error);
}

@keyframes waterfall-spin {
  to {
    transform: rotate(360deg);
  }
}

.waterfall-controls__status {
  align-items: center;
  gap: var(--wf-space-xs) var(--wf-space-sm);
  min-width: 0;
  border-block-start: 1px solid var(--wf-rule);
  color: var(--wf-muted);
  flex-wrap: wrap;
  padding-block-start: var(--wf-space-xs);
  font-size: .75rem;
  line-height: 1.5;
  display: flex;
}

.waterfall-controls__status > span:not(.waterfall-status) {
  flex: 20rem;
}

.waterfall-controls__status > strong {
  color: var(--wf-warning);
  font-size: .75rem;
}

.waterfall-status {
  align-items: center;
  gap: var(--wf-space-xs);
  min-height: 1.75rem;
  padding-inline: var(--wf-space-sm);
  background: var(--wf-paper-muted);
  color: var(--wf-ink-soft);
  white-space: nowrap;
  border-radius: 999rem;
  font-weight: 800;
  display: inline-flex;
}

.waterfall-status i {
  background: var(--wf-muted);
  border-radius: 50%;
  width: .5rem;
  height: .5rem;
}

.waterfall-status--ready {
  background: var(--wf-success-soft);
  color: var(--wf-success);
}

.waterfall-status--ready i {
  background: var(--wf-success);
}

.waterfall-status--partial_data {
  background: var(--wf-warning-soft);
  color: var(--wf-warning);
}

.waterfall-status--partial_data i {
  background: var(--wf-warning);
}

.waterfall-reconcile {
  gap: var(--wf-space-md);
  padding: var(--wf-space-md);
  border-block: 1px solid var(--wf-rule);
  background: var(--wf-paper);
  color: var(--wf-ink);
  display: grid;
}

.waterfall-reconcile__lead {
  align-content: start;
  gap: var(--wf-space-2xs);
  display: grid;
}

.waterfall-reconcile__lead > span, .waterfall-reconcile dt {
  color: var(--wf-muted);
  font-size: .75rem;
  font-weight: 700;
}

.waterfall-reconcile__lead > strong {
  color: var(--wf-ink);
  font-family: var(--wf-font-display);
  letter-spacing: -.04em;
  font-size: clamp(2rem, 8vw, 3.25rem);
  font-weight: 700;
  line-height: 1;
}

.waterfall-reconcile__lead > small {
  color: var(--wf-ink-soft);
  font-size: .75rem;
}

.waterfall-reconcile dl {
  gap: var(--wf-space-xs);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
  display: grid;
}

.waterfall-reconcile dl > div {
  gap: var(--wf-space-2xs);
  min-width: 0;
  padding: var(--wf-space-sm);
  border-block-start: 1px solid var(--wf-rule);
  display: grid;
}

.waterfall-reconcile dd {
  color: var(--wf-ink);
  font-family: var(--wf-font-display);
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
}

.waterfall-workbench {
  border: 1px solid var(--wf-rule);
  border-radius: var(--wf-radius);
  background: var(--wf-paper-raised);
  min-width: 0;
  color: var(--wf-ink);
  box-shadow: var(--wf-shadow);
  display: none;
  overflow: clip;
}

.waterfall-workbench__heading {
  justify-content: space-between;
  align-items: center;
  gap: var(--wf-space-md);
  padding: var(--wf-space-md);
  border-block-end: 1px solid var(--wf-rule);
  flex-wrap: wrap;
  display: flex;
}

.waterfall-workbench__heading > div:first-child {
  min-width: min(100%, 18rem);
}

.waterfall-workbench__tools {
  justify-content: flex-end;
  align-items: center;
  gap: var(--wf-space-sm);
  flex-wrap: wrap;
  display: flex;
}

.waterfall-legends {
  align-items: center;
  gap: var(--wf-space-sm);
  flex-wrap: wrap;
  display: flex;
}

.waterfall-legend {
  align-items: center;
  gap: var(--wf-space-xs);
  color: var(--wf-muted);
  white-space: nowrap;
  font-size: .75rem;
  font-weight: 700;
  display: inline-flex;
}

.waterfall-legend i {
  border-radius: var(--wf-radius-xs);
  width: .75rem;
  height: .75rem;
}

.waterfall-legend--same i {
  border: 2px solid var(--wf-accent-ink);
  background: var(--wf-accent);
}

.waterfall-legend--later i {
  background: #cbd5ff;
  background: lab(85.5351% 3.91331 -25.7398);
  border: 1px solid #6572c6;
  border: 1px solid lab(49.8903% 12.9675 -46.4215);
}

.waterfall-matrix-scroll {
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  max-width: 100%;
  overflow: auto;
}

.waterfall-matrix-scroll:focus-visible {
  outline-offset: -3px;
}

.waterfall-matrix {
  border-spacing: 0;
  border-collapse: separate;
  background: var(--wf-paper-raised);
  width: max-content;
  min-width: 100%;
  color: var(--wf-ink);
  font-size: .75rem;
  line-height: 1.25;
}

.waterfall-matrix caption {
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
  width: 1px;
  height: 1px;
  padding: 0;
  position: absolute;
  overflow: hidden;
}

.waterfall-matrix th, .waterfall-matrix td {
  min-width: 4rem;
  height: 2rem;
  padding: var(--wf-space-2xs) var(--wf-space-xs);
  border-inline-end: 1px solid var(--wf-rule);
  border-block-end: 1px solid var(--wf-rule);
  background: var(--wf-paper-raised);
  color: var(--wf-ink);
  text-align: center;
  white-space: nowrap;
}

.waterfall-matrix tr > :first-child {
  z-index: var(--wf-z-cell);
  border-inline-end-color: var(--wf-rule-strong);
  background: var(--wf-paper-raised);
  width: 22rem;
  min-width: 22rem;
  max-width: 22rem;
  color: var(--wf-ink);
  text-align: start;
  white-space: normal;
  font-weight: 700;
  position: sticky;
  inset-inline-start: 0;
}

.waterfall-matrix thead th {
  z-index: var(--wf-z-sticky);
  border-block-end-color: var(--wf-rule-strong);
  background: var(--wf-paper-muted);
  height: 2.5rem;
  color: var(--wf-ink-soft);
  font-family: var(--wf-font-display);
  font-weight: 700;
  position: sticky;
  inset-block-start: 0;
}

.waterfall-matrix thead th:first-child {
  z-index: var(--wf-z-corner);
  background: var(--wf-paper-muted);
  color: var(--wf-ink-soft);
}

.waterfall-matrix tr > :last-child {
  z-index: var(--wf-z-cell);
  border-inline-start: 1px solid var(--wf-rule-strong);
  background: var(--wf-paper-muted);
  min-width: 5rem;
  color: var(--wf-ink);
  border-inline-end: 0;
  font-weight: 800;
  position: sticky;
  inset-inline-end: 0;
}

.waterfall-matrix thead tr > :last-child {
  z-index: var(--wf-z-corner);
  color: var(--wf-ink-soft);
}

.waterfall-matrix__summary td, .waterfall-matrix__summary th {
  background: var(--wf-paper);
  color: var(--wf-ink-soft);
}

.waterfall-matrix__summary--totalIvfAdvised td, .waterfall-matrix__summary--totalIvfAdvised th {
  background: var(--wf-paper-strong);
  color: var(--wf-ink);
  font-weight: 800;
}

.waterfall-matrix__summary--advisedPercentage td, .waterfall-matrix__summary--advisedPercentage th {
  border-block-end-color: var(--wf-rule-strong);
  background: var(--wf-accent-soft);
  color: var(--wf-accent-ink);
  font-weight: 800;
}

body.dark-mode .waterfall-matrix__summary--advisedPercentage td, body.dark-mode .waterfall-matrix__summary--advisedPercentage th {
  color: var(--wf-ink);
}

.waterfall-matrix__axis th, .waterfall-matrix__axis td {
  background: var(--wf-ink);
  height: 1.75rem;
  color: var(--wf-paper);
  letter-spacing: .06em;
  text-transform: uppercase;
  font-size: .6875rem;
  font-weight: 800;
}

.waterfall-matrix__axis td {
  text-align: start;
  position: static !important;
}

.waterfall-matrix__cohort > th {
  background: var(--wf-ink);
  color: var(--wf-paper);
  font-family: var(--wf-font-display);
}

.waterfall-matrix td.is-delayed[data-density="1"] {
  color: var(--wf-ink);
  background: #e9eeff;
  background: lab(94.0294% 1.01659 -9.36365);
}

.waterfall-matrix td.is-delayed[data-density="2"] {
  color: var(--wf-ink);
  background: #d0d9ff;
  background: lab(86.8298% 2.79185 -20.3366);
  font-weight: 700;
}

.waterfall-matrix td.is-delayed[data-density="3"] {
  color: #111428;
  color: lab(6.85282% 3.45369 -14.2282);
  background: #b0bdf8;
  background: lab(77.2578% 5.38585 -31.0362);
  font-weight: 800;
}

.waterfall-matrix td.is-delayed[data-density="4"] {
  color: #0b0e1e;
  color: lab(4.19901% 2.22748 -11.0817);
  background: #8998e9;
  background: lab(64.0509% 10.0089 -43.1929);
  font-weight: 900;
}

.waterfall-matrix td.is-diagonal {
  background: var(--wf-accent);
  color: var(--wf-accent-ink);
  box-shadow: inset 0 0 0 2px var(--wf-accent-ink);
  font-weight: 900;
}

body.dark-mode .waterfall-legend--later i {
  background: #444d84;
  background: lab(34.1159% 8.42699 -32.2234);
  border-color: #9eacf1;
  border-color: lab(71.2824% 7.13104 -36.2805);
}

body.dark-mode .waterfall-matrix td.is-delayed[data-density="1"] {
  background: #232633;
  background: lab(15.1193% 1.49307 -9.15847);
}

body.dark-mode .waterfall-matrix td.is-delayed[data-density="2"] {
  background: #31364f;
  background: lab(23.0444% 3.21941 -16.3234);
}

body.dark-mode .waterfall-matrix td.is-delayed[data-density="3"] {
  background: #454c76;
  background: lab(33.222% 5.65355 -25.2354);
}

body.dark-mode .waterfall-matrix td.is-delayed[data-density="4"] {
  background: #626da6;
  background: lab(46.9525% 7.29206 -32.4404);
}

body.dark-mode .waterfall-matrix td.is-delayed {
  color: var(--wf-ink);
}

.waterfall-matrix__axis:hover td {
  background: var(--wf-ink);
  color: var(--wf-paper);
}

.waterfall-matrix__cohort:hover td[data-density="0"] {
  background: var(--wf-paper-raised);
  color: var(--wf-ink);
}

.waterfall-matrix__cohort:hover td.is-future {
  background: var(--wf-paper-muted);
  color: var(--wf-muted);
}

.waterfall-matrix__cohort:hover td.is-diagonal {
  background: var(--wf-accent);
  color: var(--wf-accent-ink);
}

.waterfall-matrix__cohort:hover td.is-delayed[data-density="1"] {
  color: var(--wf-ink);
  background: #e9eeff;
  background: lab(94.0294% 1.01659 -9.36365);
}

.waterfall-matrix__cohort:hover td.is-delayed[data-density="2"] {
  color: var(--wf-ink);
  background: #d0d9ff;
  background: lab(86.8298% 2.79185 -20.3366);
}

.waterfall-matrix__cohort:hover td.is-delayed[data-density="3"] {
  color: #111428;
  color: lab(6.85282% 3.45369 -14.2282);
  background: #b0bdf8;
  background: lab(77.2578% 5.38585 -31.0362);
}

.waterfall-matrix__cohort:hover td.is-delayed[data-density="4"] {
  color: #0b0e1e;
  color: lab(4.19901% 2.22748 -11.0817);
  background: #8998e9;
  background: lab(64.0509% 10.0089 -43.1929);
}

body.dark-mode .waterfall-matrix__cohort:hover td.is-delayed[data-density="1"] {
  color: var(--wf-ink);
  background: #232633;
  background: lab(15.1193% 1.49307 -9.15847);
}

body.dark-mode .waterfall-matrix__cohort:hover td.is-delayed[data-density="2"] {
  color: var(--wf-ink);
  background: #31364f;
  background: lab(23.0444% 3.21941 -16.3234);
}

body.dark-mode .waterfall-matrix__cohort:hover td.is-delayed[data-density="3"] {
  color: var(--wf-ink);
  background: #454c76;
  background: lab(33.222% 5.65355 -25.2354);
}

body.dark-mode .waterfall-matrix__cohort:hover td.is-delayed[data-density="4"] {
  color: var(--wf-ink);
  background: #626da6;
  background: lab(46.9525% 7.29206 -32.4404);
}

.waterfall-matrix td.is-future {
  background: var(--wf-paper-muted);
  color: var(--wf-muted);
}

.waterfall-matrix tfoot th, .waterfall-matrix tfoot td {
  z-index: var(--wf-z-sticky);
  border-block-start: 1px solid var(--wf-rule-strong);
  background: var(--wf-paper-strong);
  color: var(--wf-ink);
  border-block-end: 0;
  font-weight: 900;
  position: sticky;
  inset-block-end: 0;
}

.waterfall-matrix tfoot th {
  z-index: var(--wf-z-corner);
}

.waterfall-method {
  max-width: none;
  padding: var(--wf-space-sm) var(--wf-space-md);
  border-block-start: 1px solid var(--wf-rule);
  margin: 0;
}

.waterfall-cohort-cards {
  gap: var(--wf-space-sm);
  grid-template-columns: minmax(0, 1fr);
  display: grid;
}

.waterfall-cohort-cards__heading {
  padding-block: var(--wf-space-xs);
}

.waterfall-cohort-card {
  gap: var(--wf-space-md);
  padding: var(--wf-space-md);
  border: 1px solid var(--wf-rule);
  border-radius: var(--wf-radius);
  background: var(--wf-paper-raised);
  color: var(--wf-ink);
  box-shadow: var(--wf-shadow);
  display: grid;
}

.waterfall-cohort-card__header {
  justify-content: space-between;
  align-items: baseline;
  gap: var(--wf-space-md);
  border-block-end: 1px solid var(--wf-rule);
  padding-block-end: var(--wf-space-xs);
  display: flex;
}

.waterfall-cohort-card h3 {
  color: var(--wf-ink);
  font-family: var(--wf-font-display);
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
}

.waterfall-cohort-card__header > strong {
  color: var(--wf-accent-ink);
  font-family: var(--wf-font-display);
  font-size: 1.5rem;
}

body.dark-mode .waterfall-cohort-card__header > strong {
  color: var(--wf-accent);
}

.waterfall-cohort-card dl {
  gap: var(--wf-space-xs);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
  display: grid;
}

.waterfall-cohort-card dl > div {
  min-width: 0;
}

.waterfall-cohort-card dt {
  color: var(--wf-muted);
  font-size: .75rem;
}

.waterfall-cohort-card dd {
  margin: var(--wf-space-2xs) 0 0;
  color: var(--wf-ink);
  font-size: 1rem;
  font-weight: 800;
}

.waterfall-cohort-card__timing {
  border: 1px solid var(--wf-rule);
  border-radius: var(--wf-radius-sm);
  background: var(--wf-rule);
  color: var(--wf-ink-soft);
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  display: grid;
  overflow: clip;
}

.waterfall-cohort-card__timing span {
  gap: var(--wf-space-2xs);
  min-width: 0;
  padding: var(--wf-space-xs);
  background: var(--wf-paper-muted);
  color: var(--wf-muted);
  text-align: center;
  font-size: .6875rem;
  display: grid;
}

.waterfall-cohort-card__timing span:not(:last-child) {
  border-inline-end: 1px solid var(--wf-rule);
}

.waterfall-cohort-card__timing b {
  color: var(--wf-ink);
  font-size: .875rem;
}

.waterfall-state {
  align-items: center;
  gap: var(--wf-space-md);
  min-height: 9rem;
  padding: var(--wf-space-lg);
  border: 1px solid var(--wf-rule);
  border-radius: var(--wf-radius);
  background: var(--wf-paper-raised);
  color: var(--wf-ink);
  grid-template-columns: auto minmax(0, 1fr);
  display: grid;
}

.waterfall-state--error {
  border-color: var(--wf-error);
  background: var(--wf-error-soft);
  color: var(--wf-error);
}

.waterfall-state svg {
  color: currentColor;
  width: 2rem;
  height: 2rem;
}

.waterfall-state .waterfall-button {
  grid-column: 1 / -1;
}

.waterfall-skeleton {
  gap: var(--wf-space-xs);
  padding: var(--wf-space-md);
  border: 1px solid var(--wf-rule);
  border-radius: var(--wf-radius);
  background: var(--wf-paper-raised);
  color: var(--wf-ink);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  display: grid;
}

.waterfall-skeleton > span, .waterfall-skeleton i {
  border-radius: var(--wf-radius-sm);
  background: var(--wf-paper-strong);
  min-height: 4.5rem;
  color: var(--wf-ink);
  animation: waterfall-skeleton-pulse 1.2s var(--wf-ease-out) infinite alternate;
  display: block;
}

.waterfall-skeleton > div {
  gap: var(--wf-space-2xs);
  grid-column: 1 / -1;
  display: grid;
}

.waterfall-skeleton i {
  min-height: 2rem;
}

@keyframes waterfall-skeleton-pulse {
  from {
    opacity: .5;
  }

  to {
    opacity: 1;
  }
}

@media (hover: hover) and (pointer: fine) {
  .waterfall-button--quiet:hover, .waterfall-button--export:hover {
    background: var(--wf-paper-muted);
    color: var(--wf-ink);
  }

  .waterfall-button--primary:hover {
    border-color: var(--wf-action-hover);
    background: var(--wf-action-hover);
    color: var(--wf-action-ink);
  }
}

@media (min-width: 40rem) {
  .waterfall-report {
    padding: var(--wf-space-lg);
  }

  .waterfall-controls__fields {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .waterfall-controls__actions {
    grid-column: 1 / -1;
  }

  .waterfall-reconcile {
    gap: var(--wf-space-xl);
    grid-template-columns: minmax(12rem, .72fr) minmax(0, 2fr);
    align-items: center;
  }

  .waterfall-reconcile dl {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .waterfall-cohort-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .waterfall-cohort-cards__heading {
    grid-column: 1 / -1;
  }

  .waterfall-state {
    grid-template-columns: auto minmax(0, 1fr) auto;
  }

  .waterfall-state .waterfall-button {
    grid-column: auto;
  }
}

@media (min-width: 60rem) {
  .waterfall-workbench {
    display: block;
  }

  .waterfall-cohort-cards {
    display: none;
  }
}

@media (min-width: 75rem) {
  .waterfall-controls {
    gap: var(--wf-space-lg);
    grid-template-columns: minmax(15rem, .72fr) minmax(0, 2fr);
  }

  .waterfall-controls__fields {
    grid-template-columns: minmax(10rem, .85fr) minmax(10rem, .85fr) minmax(13rem, 1.4fr) auto;
  }

  .waterfall-controls__actions {
    grid-column: auto;
    grid-template-columns: auto auto;
  }

  .waterfall-controls__status {
    grid-column: 1 / -1;
  }
}

@media (min-width: 90rem) {
  .waterfall-report {
    padding-inline: 0;
  }

  .waterfall-matrix th, .waterfall-matrix td {
    min-width: 4.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .waterfall-report *, .waterfall-report :before, .waterfall-report :after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}

.waterfall-drill-value {
  appearance: none;
  color: inherit;
  font: inherit;
  font-weight: inherit;
  cursor: pointer;
  text-underline-offset: .2rem;
  background: none;
  border: 0;
  border-radius: .3rem;
  min-width: 2.25rem;
  padding: .25rem .45rem;
  -webkit-text-decoration: underline #0000;
  text-decoration: underline #0000;
}

.waterfall-drill-value:hover, .waterfall-drill-value:focus-visible {
  outline-offset: -1px;
  outline: 2px solid;
  text-decoration-color: currentColor;
}

.waterfall-drawer-backdrop {
  z-index: 1000;
  background: #0f172a7a;
  justify-content: flex-end;
  display: flex;
  position: fixed;
  inset: 0;
}

.waterfall-drawer {
  background: var(--wf-surface, #fff);
  width: min(76rem, 94vw);
  height: 100%;
  color: var(--wf-ink, #10202e);
  grid-template-rows: auto auto minmax(0, 1fr) auto;
  display: grid;
  box-shadow: -1rem 0 3rem #0f172a38;
}

.waterfall-drawer > header, .waterfall-drawer__toolbar, .waterfall-drawer > footer {
  border-bottom: 1px solid #bfd0d9;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  display: flex;
}

.waterfall-drawer > header span {
  color: #d4145a;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .75rem;
  font-weight: 800;
}

.waterfall-drawer > header h2 {
  margin: .2rem 0;
  font-size: 1.25rem;
}

.waterfall-drawer > header p {
  color: #526577;
  margin: 0;
}

.waterfall-drawer__close {
  color: inherit;
  cursor: pointer;
  background: none;
  border: 0;
  font-size: 2rem;
}

.waterfall-drawer__toolbar form {
  flex: 1;
  gap: .5rem;
  display: flex;
}

.waterfall-drawer__toolbar input {
  width: min(32rem, 100%);
  font: inherit;
  border: 1px solid #9fb5c1;
  border-radius: .45rem;
  padding: .7rem;
}

.waterfall-drawer__table {
  padding: 0 1.25rem;
  overflow: auto;
}

.waterfall-drawer__table table {
  border-collapse: collapse;
  white-space: nowrap;
  width: 100%;
  font-size: .83rem;
}

.waterfall-drawer__table th {
  z-index: 1;
  text-align: left;
  background: #e7f1f5;
  position: sticky;
  top: 0;
}

.waterfall-drawer__table th, .waterfall-drawer__table td {
  border-bottom: 1px solid #d5e0e6;
  padding: .7rem;
}

.waterfall-drawer__message {
  color: #b42318;
  padding: 1.25rem;
}

.waterfall-conversion-status {
  border-radius: 999px;
  padding: .25rem .55rem;
  font-size: .72rem;
  font-weight: 800;
  display: inline-flex;
}

.waterfall-conversion-status--converted {
  color: #08783f;
  background: #d8f5e4;
}

.waterfall-conversion-status--not_converted {
  color: #526577;
  background: #f1f5f9;
}

.waterfall-drawer > footer {
  border-top: 1px solid #bfd0d9;
  border-bottom: 0;
}

.waterfall-drawer > footer div {
  gap: .5rem;
  display: flex;
}

@media (max-width: 40rem) {
  .waterfall-drawer {
    width: 100vw;
  }

  .waterfall-drawer__toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .waterfall-drawer__toolbar form {
    width: 100%;
  }
}

/* [project]/packages/admin-reporting/src/pdf/dashboardPdfReport.css [app-client] (css) */
@page {
  size: A4;
  margin: 0;
}

html.dashboard-pdf-document, html.dashboard-pdf-document body {
  background: #fff !important;
  width: 1240px !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
}

.dashboard-pdf-report {
  --pdf-page-width: 1240px;
  --pdf-content-width: 1120px;
  --pdf-primary: #e91e63;
  color: #0f172a;
  background: #fff;
  min-height: 100%;
  font-family: Outfit, Inter, Arial, sans-serif;
  width: var(--pdf-page-width) !important;
  max-width: var(--pdf-page-width) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  display: block !important;
  overflow: visible !important;
}

.dashboard-pdf-report, .dashboard-pdf-report * {
  box-sizing: border-box;
  transition: none !important;
  animation: none !important;
}

.pdf-page {
  break-after: page;
  page-break-after: always;
  width: var(--pdf-page-width) !important;
  background: #fff !important;
  flex-direction: column !important;
  height: 1754px !important;
  margin: 0 auto !important;
  padding: 0 60px 72px !important;
  display: flex !important;
  overflow: hidden !important;
}

.pdf-page:last-child {
  break-after: auto;
  page-break-after: auto;
}

.pdf-report-header {
  z-index: 2;
  border-bottom: 3.5px solid var(--pdf-primary);
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  display: flex;
  position: relative;
  width: var(--pdf-content-width) !important;
  background: #fff !important;
  flex: 0 0 118px !important;
  height: 118px !important;
  min-height: 118px !important;
  margin: 0 auto 34px !important;
  padding-top: 34px !important;
  padding-bottom: 18px !important;
}

.dashboard-pdf-report header.pdf-report-header {
  visibility: visible !important;
  display: flex !important;
}

@media print {
  .dashboard-pdf-report header.pdf-report-header {
    visibility: visible !important;
    display: flex !important;
  }
}

.pdf-report-header h1 {
  color: #0f172a;
  letter-spacing: 0;
  text-transform: uppercase;
  margin: 0;
  font-family: Outfit, Inter, Arial, sans-serif;
  font-size: 22px;
  font-weight: 800;
}

.pdf-report-header p {
  color: #64748b;
  margin: 6px 0 0;
  font-size: 12px;
  font-weight: 600;
}

.pdf-report-meta {
  text-align: right;
  flex: none;
}

.pdf-report-meta span {
  color: var(--pdf-primary);
  text-transform: uppercase;
  background: #fce4ec;
  border-radius: 24px;
  justify-content: center;
  align-items: center;
  padding: 6px 12px;
  font-size: 11px;
  font-weight: 800;
  display: inline-flex;
}

.pdf-page-content {
  width: var(--pdf-content-width) !important;
  max-width: var(--pdf-content-width) !important;
  flex: auto !important;
  margin: 0 auto !important;
  display: block !important;
}

.dashboard-pdf-report .filter-card, .dashboard-pdf-report .admin-pdf-export-btn, .dashboard-pdf-report #trend-metric-toggle, .dashboard-pdf-report button {
  display: none !important;
}

.dashboard-pdf-report .nps-hero-banner, .dashboard-pdf-report .card, .dashboard-pdf-report .segment-bar-wrap {
  border: 2px solid #d8dee8 !important;
}

.dashboard-pdf-report .nps-hero-banner, .dashboard-pdf-report .card, .dashboard-pdf-report .charts-grid {
  break-inside: avoid;
  page-break-inside: avoid;
  box-shadow: none !important;
  transform: none !important;
}

.dashboard-pdf-report .nps-hero-banner {
  margin-bottom: 20px !important;
}

.dashboard-pdf-report .section-header {
  margin-top: 30px !important;
  margin-bottom: 22px !important;
}

.dashboard-pdf-report .section-title h2 {
  color: #0f172a !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  font-size: 19px !important;
  font-weight: 900 !important;
}

.dashboard-pdf-report .section-icon {
  color: #0d9488 !important;
  box-shadow: none !important;
  background: #dff8f5 !important;
}

.dashboard-pdf-report .charts-grid {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
  align-items: stretch !important;
  gap: 20px !important;
  width: 100% !important;
  max-width: 100% !important;
  margin-top: 32px !important;
  display: grid !important;
}

.dashboard-pdf-report .pdf-chart-grid {
  gap: 20px !important;
  margin-top: 0 !important;
}

.dashboard-pdf-report .pdf-first-grid {
  margin-top: 0 !important;
}

.dashboard-pdf-report .card {
  box-shadow: none !important;
  break-inside: avoid !important;
  page-break-inside: avoid !important;
  background: #fff !important;
  border-radius: 18px !important;
  width: 100% !important;
  max-width: 100% !important;
  overflow: hidden !important;
}

.dashboard-pdf-report .card h3 {
  color: #0f172a !important;
  font-size: 19px !important;
  line-height: 1.2 !important;
}

.dashboard-pdf-report canvas {
  width: 100% !important;
  max-width: 100% !important;
  display: block !important;
}

.dashboard-pdf-report .kpi-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
  gap: 16px !important;
  margin-bottom: 24px !important;
  display: grid !important;
}

.dashboard-pdf-report .kpi-grid .kpi-card:first-child, .dashboard-pdf-report .kpi-grid .kpi-card:nth-child(2) {
  grid-column: span 3 !important;
}

.dashboard-pdf-report .kpi-grid .kpi-card:nth-child(3), .dashboard-pdf-report .kpi-grid .kpi-card:nth-child(4), .dashboard-pdf-report .kpi-grid .kpi-card:nth-child(5) {
  grid-column: span 2 !important;
}

.dashboard-pdf-report .charts-grid > *, .dashboard-pdf-report .pdf-chart-grid > * {
  min-width: 0 !important;
  max-width: 100% !important;
}

.dashboard-pdf-report .card > div[style*="height"], .dashboard-pdf-report .charts-grid .card > div[style*="height"] {
  width: 100% !important;
  max-width: 100% !important;
  overflow: hidden !important;
}

.dashboard-pdf-report .report-table {
  font-size: 13px !important;
}

.dashboard-pdf-report .report-table th, .dashboard-pdf-report .report-table td {
  padding: 14px 18px !important;
}

.dashboard-pdf-report .pdf-error, .dashboard-pdf-report .pdf-loading {
  color: #0f172a;
  background: #fff;
  place-items: center;
  width: 100vw;
  min-height: 100vh;
  font: 700 18px Outfit, Inter, Arial, sans-serif;
  display: grid;
}

/* [project]/node_modules/.pnpm/choices.js@11.2.3/node_modules/choices.js/public/assets/styles/choices.min.css [app-client] (css) */
.choices {
  margin-bottom: var(--choices-guttering, 24px);
  font-size: var(--choices-font-size-lg, 16px);
  position: relative;
  overflow: hidden;
}

.choices:focus {
  outline: 0;
}

.choices:last-child {
  margin-bottom: 0;
}

.choices.is-open {
  overflow: visible;
}

.choices.is-disabled :is(.choices__inner, .choices__input) {
  background-color: var(--choices-bg-color-disabled, #eaeaea);
  -webkit-user-select: none;
  user-select: none;
  cursor: not-allowed !important;
}

.choices.is-disabled .choices__item {
  cursor: not-allowed;
  color: var(--choices-item-disabled-color, #fff);
}

.choices [hidden] {
  pointer-events: none;
  opacity: 0;
  position: absolute;
  inset: 0;
}

.choices[data-type*="select-one"] {
  cursor: pointer;
}

.choices[data-type*="select-one"] .choices__inner {
  padding-bottom: var(--choices-inner-one-padding, 7.5px);
}

.choices[data-type*="select-one"] .choices__input {
  width: var(--choices-width, 100%);
  padding: var(--choices-dropdown-item-padding, 10px);
  border-bottom: var(--choices-base-border, 1px solid) var(--choices-keyline-color, #ddd);
  background-color: var(--choices-bg-color-dropdown, #fff);
  margin: 0;
  display: block;
}

.choices[data-type*="select-one"] .choices__button {
  background-image: var(--choices-icon-cross-inverse, url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjEiIGhlaWdodD0iMjEiIHZpZXdCb3g9IjAgMCAyMSAyMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZyBmaWxsPSIjMDAwIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPjxwYXRoIGQ9Ik0yLjU5Mi4wNDRsMTguMzY0IDE4LjM2NC0yLjU0OCAyLjU0OEwuMDQ0IDIuNTkyeiIvPjxwYXRoIGQ9Ik0wIDE4LjM2NEwxOC4zNjQgMGwyLjU0OCAyLjU0OEwyLjU0OCAyMC45MTJ6Ii8+PC9nPjwvc3ZnPg=="));
  opacity: .25;
  background-size: 8px;
  border-radius: 10em;
  width: 20px;
  height: 20px;
  margin-top: -10px;
  margin-right: 25px;
  padding: 0;
  position: absolute;
  top: 50%;
  right: 0;
}

.choices[data-type*="select-one"] .choices__button:is(:hover, :focus) {
  opacity: var(--choices-button-opacity-hover, 1);
}

.choices[data-type*="select-one"] .choices__button:focus {
  box-shadow: 0 0 0 2px var(--choices-highlight-color, #005f75);
}

.choices[data-type*="select-one"] .choices__item[data-placeholder] .choices__button {
  display: none;
}

.choices[data-type*="select-one"]:after {
  content: "";
  border-style: solid;
  border-color: var(--choices-text-color, #333) transparent transparent transparent;
  border-width: var(--choices-arrow-size, 5px);
  width: 0;
  height: 0;
  right: var(--choices-arrow-right, 11.5px);
  margin-top: var(--choices-arrow-margin-top, -2.5px);
  pointer-events: none;
  position: absolute;
  top: 50%;
}

.choices[data-type*="select-one"].is-open:after {
  border-color: transparent transparent var(--choices-text-color, #333);
  margin-top: var(--choices-arrow-margin-top-open, -7.5px);
}

.choices[data-type*="select-one"][dir="rtl"]:after {
  left: 11.5px;
  right: auto;
}

.choices[data-type*="select-one"][dir="rtl"] .choices__button {
  margin-left: 25px;
  margin-right: 0;
  left: 0;
  right: auto;
}

.choices:is([data-type*="select-multiple"], [data-type*="text"]) .choices__inner {
  cursor: text;
}

.choices:is([data-type*="select-multiple"], [data-type*="text"]) .choices__button {
  margin: 0 calc(var(--choices-button-offset, 8px)*-.5)0 var(--choices-button-offset, 8px);
  padding-left: calc(var(--choices-button-offset, 8px)*2);
  border-left: 1px solid color-mix(in srgb,var(--choices-primary-color, #005f75) 90%,var(--choices-darken, black));
  background-image: var(--choices-icon-cross, url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjEiIGhlaWdodD0iMjEiIHZpZXdCb3g9IjAgMCAyMSAyMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZyBmaWxsPSIjRkZGIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPjxwYXRoIGQ9Ik0yLjU5Mi4wNDRsMTguMzY0IDE4LjM2NC0yLjU0OCAyLjU0OEwuMDQ0IDIuNTkyeiIvPjxwYXRoIGQ9Ik0wIDE4LjM2NEwxOC4zNjQgMGwyLjU0OCAyLjU0OEwyLjU0OCAyMC45MTJ6Ii8+PC9nPjwvc3ZnPg=="));
  background-size: var(--choices-button-dimension, 8px);
  width: var(--choices-button-dimension, 8px);
  line-height: var(--choices-button-line-height, 1);
  border-radius: var(--choices-button-border-radius, 0);
  opacity: var(--choices-button-opacity, .75);
  display: inline-block;
  position: relative;
}

.choices:is([data-type*="select-multiple"], [data-type*="text"]) .choices__button:is(:hover, :focus) {
  --choices-button-opacity: var(--choices-button-opacity-hover, 1);
}

.choices__inner {
  vertical-align: top;
  width: var(--choices-width, 100%);
  background-color: var(--choices-bg-color, #f9f9f9);
  padding: var(--choices-inner-padding, 7.5px 7.5px 3.75px);
  border: var(--choices-base-border, 1px solid) var(--choices-keyline-color, #ddd);
  border-radius: var(--choices-border-radius, 2.5px);
  font-size: var(--choices-font-size-md, 14px);
  min-height: var(--choices-input-height, 44px);
  display: inline-block;
  overflow: hidden;
}

.is-focused .choices__inner, .is-open .choices__inner {
  border-color: color-mix(in srgb,var(--choices-keyline-color, #ddd) 85%,var(--choices-darken, black));
}

.is-open .choices__inner {
  border-radius: var(--choices-border-radius, 2.5px) var(--choices-border-radius, 2.5px)0 0;
}

.is-invalid .choices__inner {
  border-color: var(--choices-invalid-color, #d33141);
}

.is-flipped.is-open .choices__inner {
  border-radius: 0 0 var(--choices-border-radius, 2.5px) var(--choices-border-radius, 2.5px);
}

.choices__list {
  margin: 0;
  padding-left: 0;
  list-style: none;
}

.choices__list--single {
  padding: var(--choices-list-single-padding, 4px 16px 4px 4px);
  display: inline-block;
}

[dir="rtl"] .choices__list--single {
  padding-left: 16px;
  padding-right: 4px;
}

.choices__list--single, .choices__list--single .choices__item {
  width: var(--choices-width, 100%);
}

.choices__list--multiple {
  display: inline;
}

.choices__list--multiple .choices__item {
  vertical-align: middle;
  border-radius: var(--choices-border-radius-item, 20px);
  padding: var(--choices-multiple-item-padding, 4px 10px);
  font-size: var(--choices-font-size-sm, 12px);
  margin-right: var(--choices-multiple-item-margin, 3.75px);
  margin-bottom: var(--choices-multiple-item-margin, 3.75px);
  background-color: var(--choices-primary-color, #005f75);
  border: 1px solid color-mix(in srgb,var(--choices-primary-color, #005f75) 95%,var(--choices-darken, black));
  color: var(--choices-item-color, #fff);
  word-break: break-all;
  box-sizing: border-box;
  font-weight: 500;
  display: inline-block;
}

.choices__list--multiple .choices__item[data-deletable] {
  padding-right: 5px;
}

[dir="rtl"] .choices__list--multiple .choices__item {
  margin-right: 0;
  margin-left: var(--choices-multiple-item-margin, 3.75px);
}

.choices__list--multiple .choices__item.is-highlighted {
  background-color: color-mix(in srgb,var(--choices-primary-color, #005f75) 95%,var(--choices-darken, black));
  border: 1px solid color-mix(in srgb,var(--choices-primary-color, #005f75) 90%,var(--choices-darken, black));
}

.is-disabled .choices__list--multiple .choices__item {
  background-color: color-mix(in srgb,var(--choices-disabled-color, #eaeaea) 75%,var(--choices-darken, black));
  border: 1px solid color-mix(in srgb,var(--choices-disabled-color, #eaeaea) 65%,var(--choices-darken, black));
}

.choices__list--dropdown, .choices__list[aria-expanded] {
  z-index: var(--choices-z-index, 1);
  width: var(--choices-width, 100%);
  background-color: var(--choices-bg-color-dropdown, #fff);
  border: var(--choices-base-border, 1px solid) var(--choices-keyline-color, #ddd);
  border-bottom-left-radius: var(--choices-border-radius, 2.5px);
  border-bottom-right-radius: var(--choices-border-radius, 2.5px);
  word-break: break-all;
  margin-top: -1px;
  display: none;
  position: absolute;
  top: 100%;
  overflow: hidden;
}

.is-active.choices__list--dropdown, .is-active.choices__list[aria-expanded] {
  display: block;
}

.is-open .choices__list--dropdown, .is-open .choices__list[aria-expanded] {
  border-color: color-mix(in srgb,var(--choices-keyline-color, #ddd) 85%,var(--choices-darken, black));
}

.is-flipped .choices__list--dropdown, .is-flipped .choices__list[aria-expanded] {
  border-radius: .25rem .25rem 0 0;
  margin-top: 0;
  margin-bottom: -1px;
  top: auto;
  bottom: 100%;
}

.choices__list--dropdown .choices__list, .choices__list[aria-expanded] .choices__list {
  -webkit-overflow-scrolling: touch;
  will-change: scroll-position;
  max-height: 300px;
  position: relative;
  overflow: auto;
}

.choices__list--dropdown .choices__item, .choices__list[aria-expanded] .choices__item {
  padding: var(--choices-dropdown-item-padding, 10px);
  font-size: var(--choices-font-size-md, 14px);
  position: relative;
}

[dir="rtl"] .choices__list--dropdown .choices__item, [dir="rtl"] .choices__list[aria-expanded] .choices__item {
  text-align: right;
}

@media (min-width: 640px) {
  .choices__list--dropdown .choices__item--selectable.is-highlighted[data-select-text], .choices__list[aria-expanded] .choices__item--selectable.is-highlighted[data-select-text] {
    padding-right: 100px;
  }

  .choices__list--dropdown .choices__item--selectable.is-highlighted[data-select-text]:after, .choices__list[aria-expanded] .choices__item--selectable.is-highlighted[data-select-text]:after {
    content: attr(data-select-text);
    font-size: var(--choices-font-size-sm, 12px);
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
  }

  [dir="rtl"] .choices__list--dropdown .choices__item--selectable.is-highlighted[data-select-text], [dir="rtl"] .choices__list[aria-expanded] .choices__item--selectable.is-highlighted[data-select-text] {
    text-align: right;
    padding-left: 100px;
    padding-right: 10px;
  }

  [dir="rtl"] .choices__list--dropdown .choices__item--selectable.is-highlighted[data-select-text]:after, [dir="rtl"] .choices__list[aria-expanded] .choices__item--selectable.is-highlighted[data-select-text]:after {
    left: 10px;
    right: auto;
  }
}

.choices__list--dropdown .choices__item--selectable.is-selected:after, .choices__list[aria-expanded] .choices__item--selectable.is-selected:after {
  content: none !important;
}

.choices__list--dropdown .choices__item--selectable.is-highlighted, .choices__list--dropdown .choices__item--selectable.is-selected, .choices__list[aria-expanded] .choices__item--selectable.is-highlighted, .choices__list[aria-expanded] .choices__item--selectable.is-selected {
  background-color: var(--choices-highlighted-color, #f2f2f2);
}

.choices__item {
  cursor: default;
}

.choices__item--selectable {
  cursor: pointer;
}

.choices__item--disabled {
  cursor: not-allowed;
  -webkit-user-select: none;
  user-select: none;
  opacity: .5;
}

.choices__heading {
  border-bottom: 1px solid color-mix(in srgb,var(--choices-keyline-color, #ddd) 90%,var(--choices-lighten, white));
  color: gray;
  padding: 10px;
  font-size: 12px;
  font-weight: 600;
}

.choices__button {
  text-indent: -9999px;
  appearance: none;
  cursor: pointer;
  background-color: #0000;
  background-position: center;
  background-repeat: no-repeat;
  border: 0;
}

.choices__button:focus, .choices__input:focus {
  outline: 0;
}

.choices__input {
  vertical-align: baseline;
  background-color: var(--choices-bg-color, #f9f9f9);
  font-size: var(--choices-font-size-md, 14px);
  margin-bottom: var(--choices-input-margin-bottom, 5px);
  max-width: var(--choices-width, 100%);
  padding: var(--choices-input-padding, 4px 0 4px 2px);
  border: 0;
  border-radius: 0;
  display: inline-block;
}

.choices__input::-webkit-search-cancel-button {
  display: none;
}

.choices__input::-webkit-search-decoration {
  display: none;
}

.choices__input::-webkit-search-results-button {
  display: none;
}

.choices__input::-webkit-search-results-decoration {
  display: none;
}

.choices__input::-ms-clear {
  width: 0;
  height: 0;
  display: none;
}

.choices__input::-ms-reveal {
  width: 0;
  height: 0;
  display: none;
}

[dir="rtl"] .choices__input {
  padding-left: 0;
  padding-right: 2px;
}

.choices__placeholder {
  opacity: var(--choices-placeholder-opacity, .5);
}

/* [project]/apps/web/src/styles/globals.css [app-client] (css) */
:root {
  --primary: #e91e63;
  --primary-dark: #c2185b;
  --primary-light: #fce4ec;
  --primary-glow: #e91e6333;
  --accent: #0d9488;
  --accent-light: #f0fdfa;
  --bg: #f8fafc;
  --surface: #fffc;
  --surface-solid: #fff;
  --border: #e2e8f099;
  --text: #0f172a;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --shadow-sm: 0 4px 6px -1px #0000000d;
  --shadow: 0 20px 40px -10px #e91e631a;
  --shadow-lg: 0 30px 60px -15px #e91e6326;
  --radius: 20px;
  --radius-lg: 32px;
  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;
  --spacing-layout: clamp(16px, 3vw, 32px);
  --spacing-card: clamp(20px, 6vw, 48px);
  --spacing-gap: clamp(12px, 2.5vw, 24px);
  --fs-title: clamp(20px, 4vw, 28px);
  --fs-section-title: clamp(18px, 3vw, 24px);
  --fs-label: clamp(11px, 1.5vw, 13px);
  --fs-input: clamp(14px, 2vw, 16px);
  --fs-body: clamp(13px, 1.5vw, 15px);
}

* {
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  margin: 0;
  padding: 0;
  font-family: Inter, sans-serif;
}

h1, h2, h3, h4, .brand, .section-title {
  font-family: Outfit, sans-serif;
}

body {
  color: var(--text);
  background-color: #0000;
  background-image: radial-gradient(circle at 0 0, #e91e630d 0%, #0000 40%), radial-gradient(circle at 100% 100%, #0d94880d 0%, #0000 40%), linear-gradient(135deg, #fff5f7 0%, #fff 100%);
  background-position: 0 0, 0 0, 0 0;
  background-repeat: repeat, repeat, repeat;
  background-size: auto, auto, auto;
  background-attachment: fixed;
  background-origin: padding-box, padding-box, padding-box;
  background-clip: border-box, border-box, border-box;
  flex-direction: column;
  min-height: 100vh;
  display: flex;
  overflow-x: hidden;
}

header {
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  z-index: 100;
  background: #fffc;
  justify-content: space-between;
  align-items: center;
  height: 80px;
  padding: 0 40px;
  display: flex;
  position: sticky;
  top: 0;
}

.brand {
  align-items: center;
  gap: 12px;
  display: flex;
}

.brand img {
  width: auto;
  height: 44px;
  transition: transform .3s;
}

.brand:hover img {
  transform: scale(1.05);
}

.brand-text {
  color: var(--primary);
  letter-spacing: -.02em;
  font-size: 22px;
  font-weight: 800;
}

.user-profile {
  align-items: center;
  gap: 16px;
  display: flex;
}

.user-info {
  text-align: right;
}

.user-name {
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
}

.user-center {
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: .05em;
  font-size: 13px;
  font-weight: 800;
}

.logout-btn {
  cursor: pointer;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  margin-left: 10px;
  display: flex;
  border: 1px solid var(--border) !important;
  width: 44px !important;
  height: 44px !important;
  color: var(--text-muted) !important;
  box-shadow: none !important;
  background: #0f172a0a !important;
  border-radius: 14px !important;
  padding: 0 !important;
  font-size: 16px !important;
  transition: all .3s cubic-bezier(.4, 0, .2, 1) !important;
}

.logout-btn:hover {
  transform: translateY(-2px);
  background: var(--primary-light) !important;
  border-color: var(--primary) !important;
  color: var(--primary) !important;
}

.logout-btn:active {
  transform: translateY(0)scale(.95);
}

#login-overlay {
  -webkit-backdrop-filter: blur(15px);
  backdrop-filter: blur(15px);
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  overscroll-behavior: contain;
  width: 100%;
  height: 100dvh;
  padding: max(16px, env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px)) max(16px, env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
  background: #0f172ad9;
  justify-content: center;
  align-items: safe center;
  transition: all .5s;
  display: flex;
  position: fixed;
  inset: 0;
  overflow: hidden auto;
}

#login-overlay.show {
  opacity: 1;
  pointer-events: auto;
}

.login-card {
  text-align: center;
  background: #fff;
  border-radius: 40px;
  flex: none;
  width: min(100%, 440px);
  max-width: 440px;
  max-height: none;
  margin-block: auto;
  padding: 50px 40px;
  transition: all .5s cubic-bezier(.34, 1.56, .64, 1);
  overflow: visible;
  transform: translateY(20px);
  box-shadow: 0 40px 100px -20px #0006;
}

#login-overlay.show .login-card {
  transform: translateY(0);
}

.login-card .input-group {
  text-align: left;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  margin-bottom: 24px;
  display: flex;
}

.login-card .input-group label {
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: .1em;
  padding-left: 2px;
  font-size: 11px;
  font-weight: 800;
}

.login-card input {
  width: 100%;
  color: var(--text);
  background: #f8fafc;
  border: 1px solid #f1f5f9;
  border-radius: 20px;
  padding: 18px 24px;
  font-size: 16px;
  transition: all .3s;
}

.login-card input:focus {
  border-color: var(--primary);
  box-shadow: 0 10px 25px -5px var(--primary-glow);
  background: #fff;
}

.login-legal-notice {
  color: var(--text-light);
  text-align: center;
  margin-top: 18px;
  font-size: 10.5px;
  font-weight: 700;
  line-height: 1.35;
}

.login-legal-notice a {
  color: var(--primary);
  white-space: nowrap;
  text-decoration: none;
}

.login-legal-notice a:hover, .login-legal-notice a:focus-visible {
  text-decoration: underline;
}

main {
  max-width: 800px;
  padding: 0 var(--spacing-layout);
  flex: 1;
  width: 100%;
  margin: 40px auto;
}

.survey-step-questions > main {
  align-items: center;
}

.survey-step-questions #survey-card {
  place-items: center;
  width: min(100%, 800px);
  max-height: 100%;
  display: grid;
  overflow: hidden;
}

.survey-step-questions .survey-container {
  place-items: center;
  width: 100%;
  height: 100%;
  display: grid;
  overflow: hidden;
}

.survey-step-questions .survey-step-card {
  border-radius: var(--radius-lg);
  width: min(100%, 800px);
  max-height: 100%;
  margin: 0;
  box-shadow: 0 18px 36px -18px #0f172a4d, 0 10px 22px -16px #e91e632e;
}

.site-footer {
  text-align: center;
  border-top: 1px solid var(--border);
  height: 80px;
  color: var(--text-muted);
  -webkit-backdrop-filter: blur(10px);
  background: #fff6;
  flex-flow: column;
  justify-content: center;
  align-items: center;
  gap: clamp(6px, 1.2vw, 10px);
  padding: 0 16px;
  font-size: clamp(11px, 1.5vw, 13px);
  font-weight: 600;
  transition: opacity .3s;
  display: flex;
}

.site-footer img {
  vertical-align: middle;
  width: auto;
  height: clamp(20px, 3vw, 30px);
}

.site-footer-main {
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 3px;
  display: flex;
}

.legal-notice {
  max-width: min(100%, 980px);
  color: var(--text-light);
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: clamp(9px, 1.1vw, 10px);
  font-weight: 700;
  line-height: 1.1;
  overflow: hidden;
}

.legal-notice a {
  color: var(--primary);
  white-space: nowrap;
  text-decoration: none;
}

.legal-notice a:hover, .legal-notice a:focus-visible {
  text-decoration: underline;
}

.license-page-shell {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: clamp(18px, 4vw, 42px);
}

.license-page-card {
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  background: #ffffffeb;
  border-radius: 28px;
  padding: clamp(22px, 4vw, 44px);
}

.license-page-topbar {
  justify-content: space-between;
  align-items: center;
  margin-bottom: 22px;
  display: flex;
}

.license-topbar-logo {
  width: auto;
  height: 42px;
}

.license-back-link, .license-home-button {
  border-radius: 14px;
  justify-content: center;
  align-items: center;
  min-height: 42px;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  display: inline-flex;
}

.license-back-link {
  color: var(--primary);
  background: var(--primary-light);
  border: 1px solid #e91e6340;
  padding: 0 16px;
}

.license-page-header {
  border-bottom: 1px solid var(--border);
  -webkit-backdrop-filter: none;
  background: none;
  justify-content: flex-start;
  gap: 18px;
  height: auto;
  padding: 0 0 26px;
  position: static;
}

.license-page-header img {
  flex-shrink: 0;
  width: auto;
  height: 54px;
}

.license-kicker {
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin: 0 0 6px;
  font-size: 12px;
  font-weight: 900;
}

.license-page-header h1 {
  color: var(--text);
  letter-spacing: 0;
  margin: 0;
  font-family: Outfit, sans-serif;
  font-size: clamp(24px, 4vw, 38px);
  line-height: 1.1;
}

.license-meta {
  background: var(--primary-light);
  border: 1px solid #e91e6329;
  border-radius: 18px;
  margin: 24px 0 28px;
  padding: 18px;
}

.license-meta p, .license-section p {
  color: var(--text-muted);
  margin: 0 0 12px;
  font-size: clamp(13px, 1.5vw, 15px);
  line-height: 1.65;
}

.license-meta p:last-child, .license-section p:last-child {
  margin-bottom: 0;
}

.license-section {
  border-top: 1px solid var(--border);
  padding: 22px 0;
}

.license-section h2 {
  color: var(--text);
  letter-spacing: 0;
  margin: 0 0 12px;
  font-family: Outfit, sans-serif;
  font-size: clamp(18px, 2.4vw, 24px);
  line-height: 1.2;
}

.license-page-actions {
  border-top: 1px solid var(--border);
  justify-content: center;
  padding-top: 28px;
  display: flex;
}

.license-home-button {
  width: auto;
  padding: 0 22px;
}

.license-overview {
  background: radial-gradient(circle at 92% 8%, #e91e631f, #0000 34%), linear-gradient(145deg, #fffffffa, #fff5f9f5);
  border: 1px solid #e91e6326;
  border-radius: 24px;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  padding: clamp(24px, 4vw, 38px);
  display: flex;
}

.license-overview h1 {
  color: var(--text);
  letter-spacing: -.025em;
  margin: 0;
  font: 900 clamp(30px, 5vw, 48px) / 1.06 Outfit, sans-serif;
}

.license-overview > div > p:last-child {
  max-width: 760px;
  color: var(--text-muted);
  margin: 13px 0 0;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.65;
}

.license-classification {
  color: #15803d;
  letter-spacing: .04em;
  text-transform: uppercase;
  background: #16a34a14;
  border: 1px solid #16a34a33;
  border-radius: 999px;
  flex: none;
  padding: 9px 13px;
  font-size: 10px;
  font-weight: 900;
}

.license-tabs {
  border: 1px solid var(--border);
  background: color-mix(in srgb, var(--text-muted) 4%, var(--surface-solid));
  border-radius: 18px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  margin: 22px 0;
  padding: 7px;
  display: grid;
  overflow-x: auto;
}

.license-tabs button {
  min-width: 142px;
  min-height: 48px;
  color: var(--text-muted);
  cursor: pointer;
  white-space: nowrap;
  background: none;
  border: 1px solid #0000;
  border-radius: 12px;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  transition: all .2s;
  display: flex;
}

.license-tabs button span {
  background: color-mix(in srgb, var(--text-muted) 9%, transparent);
  border-radius: 8px;
  place-items: center;
  width: 23px;
  height: 23px;
  font-size: 9px;
  font-weight: 900;
  display: grid;
}

.license-tabs button strong {
  font-size: 11px;
  font-weight: 850;
}

.license-tabs button:hover {
  color: var(--primary);
  background: color-mix(in srgb, var(--primary) 5%, var(--surface-solid));
}

.license-tabs button.active {
  border-color: color-mix(in srgb, var(--primary) 20%, var(--border));
  background: var(--surface-solid);
  color: var(--primary);
  box-shadow: 0 7px 20px #5b193814;
}

.license-tabs button.active span {
  background: var(--primary);
  color: #fff;
}

.license-tabs button:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--primary) 22%, transparent);
  outline-offset: 2px;
}

.license-policy-heading {
  border-bottom: 1px solid var(--border);
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  padding: 23px 4px 19px;
  display: flex;
}

.license-policy-heading span {
  color: var(--primary);
  letter-spacing: .13em;
  text-transform: uppercase;
  font-size: 9px;
  font-weight: 900;
}

.license-policy-heading h2 {
  color: var(--text);
  margin: 4px 0 2px;
  font: 850 25px / 1.2 Outfit, sans-serif;
}

.license-policy-heading p {
  color: var(--text-muted);
  margin: 0;
  font-size: 12px;
  font-weight: 650;
}

.license-policy-heading button {
  border: 1px solid var(--border);
  background: var(--surface-solid);
  min-height: 39px;
  color: var(--text);
  cursor: pointer;
  border-radius: 11px;
  padding: 0 15px;
  font-size: 10px;
  font-weight: 850;
}

.license-policy-panel {
  outline: none;
  max-width: 900px;
  margin: 0 auto;
  padding: 12px 4px 4px;
}

.license-policy-panel > h2 {
  color: var(--text);
  margin: 32px 0 10px;
  font: 900 clamp(25px, 4vw, 36px) / 1.15 Outfit, sans-serif;
}

.license-policy-panel > h3 {
  color: var(--text);
  margin: 30px 0 11px;
  padding-top: 4px;
  font: 850 21px / 1.25 Outfit, sans-serif;
}

.license-policy-panel > h4 {
  color: var(--text);
  margin: 23px 0 8px;
  font: 800 16px / 1.3 Outfit, sans-serif;
}

.license-policy-panel > p, .license-policy-panel li {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.72;
}

.license-policy-panel > p {
  margin: 0 0 14px;
}

.license-policy-panel ul, .license-policy-panel ol {
  margin: 7px 0 19px;
  padding-left: 25px;
}

.license-policy-panel li {
  margin: 5px 0;
  padding-left: 3px;
}

.license-policy-panel strong {
  color: var(--text);
  font-weight: 800;
}

.license-policy-panel a {
  color: var(--primary);
  text-underline-offset: 3px;
  font-weight: 750;
}

.license-policy-panel hr {
  background: var(--border);
  border: 0;
  height: 1px;
  margin: 28px 0;
}

.license-policy-panel .license-section {
  padding: 22px 0;
}

@media (max-width: 760px) {
  .license-page-shell {
    padding: 10px;
  }

  .license-page-card {
    border-radius: 20px;
    padding: 16px;
  }

  .license-overview {
    padding: 24px 20px;
    display: grid;
  }

  .license-classification {
    width: max-content;
  }

  .license-tabs {
    grid-template-columns: repeat(5, max-content);
    justify-content: start;
    margin-inline: -4px;
  }

  .license-tabs button {
    min-width: 132px;
  }

  .license-policy-heading {
    align-items: flex-start;
  }

  .license-policy-heading button {
    flex: none;
  }

  .license-policy-panel > p, .license-policy-panel li {
    font-size: 13px;
  }
}

@media print {
  .license-page-shell {
    max-width: none;
    padding: 0;
  }

  .license-page-card {
    box-shadow: none;
    border: 0;
    padding: 0;
  }

  .license-page-topbar, .license-tabs, .license-policy-heading button, .license-page-actions, .cookie-notice {
    display: none !important;
  }

  .license-overview {
    background: #fff;
    border: 0;
    padding: 0 0 18px;
  }

  .license-policy-panel {
    max-width: none;
  }
}

.card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: var(--spacing-card);
  background: #fff;
  margin-bottom: 32px;
  transition: all .4s cubic-bezier(.4, 0, .2, 1);
  position: relative;
}

.card:before {
  content: "";
  background: linear-gradient(to right, var(--primary), var(--primary-dark));
  opacity: 0;
  border-top-left-radius: var(--radius-lg);
  border-top-right-radius: var(--radius-lg);
  width: 100%;
  height: 4px;
  transition: opacity .3s;
  position: absolute;
  top: 0;
  left: 0;
}

.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-8px);
}

.card:hover:before {
  opacity: 1;
}

.section-header {
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
  display: flex;
}

.section-title {
  font-size: var(--fs-section-title);
  color: var(--text);
  letter-spacing: -.01em;
  font-weight: 800;
}

.section-num {
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 12px;
  justify-content: center;
  align-items: center;
  width: 36px;
  height: 36px;
  font-size: 15px;
  font-weight: 800;
  display: flex;
}

.input-group {
  margin-bottom: 24px;
  position: relative;
}

.input-group label {
  font-size: var(--fs-label);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: 10px;
  font-weight: 700;
  display: block;
}

input[type="text"], input[type="date"], input[type="number"], input[type="password"], textarea {
  border-radius: var(--radius);
  width: 100%;
  color: var(--text);
  font-size: var(--fs-input);
  background: #f8fafc;
  border: 2px solid #f1f5f9;
  outline: none;
  padding: clamp(14px, 2.5vw, 18px) clamp(16px, 3vw, 24px);
  font-weight: 500;
  transition: all .3s;
}

input:focus, textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 10px 20px -5px var(--primary-glow);
  background: #fff;
  transform: translateY(-2px);
}

.choices {
  z-index: 10 !important;
  margin-bottom: 0 !important;
  position: relative !important;
}

.choices.is-open, .choices.is-focused, .choices.is-active {
  z-index: 9999 !important;
}

.choices__inner {
  border-radius: var(--radius) !important;
  min-height: 60px !important;
  color: var(--text) !important;
  background-color: #f8fafc !important;
  border: 2px solid #f1f5f9 !important;
  align-items: center !important;
  padding: 8px 24px !important;
  font-size: 16px !important;
  font-weight: 500 !important;
  transition: all .3s !important;
  display: flex !important;
}

.choices.is-focused .choices__inner {
  border-color: var(--primary) !important;
  box-shadow: 0 10px 20px -5px var(--primary-glow) !important;
  background-color: #fff !important;
  transform: translateY(-2px) !important;
}

.choices.is-disabled {
  opacity: 1 !important;
}

.choices.is-disabled .choices__inner {
  color: var(--text) !important;
  opacity: 1 !important;
  cursor: not-allowed !important;
  background-color: #f8fafc !important;
}

.choices.is-disabled .choices__item {
  color: var(--text) !important;
  opacity: 1 !important;
  font-weight: 700 !important;
}

.choices__list--dropdown {
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  border: 1px solid var(--border) !important;
  width: 100% !important;
  box-shadow: var(--shadow-lg) !important;
  z-index: 9999 !important;
  background: #fff !important;
  border-radius: 14px !important;
  margin-top: 8px !important;
  padding: 8px !important;
  transition: all .2s !important;
  position: absolute !important;
  transform: translateY(-10px) !important;
}

.choices.is-open .choices__list--dropdown {
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
  transform: translateY(0) !important;
}

.choices__list--dropdown .choices__list {
  -webkit-overflow-scrolling: touch !important;
  max-height: 240px !important;
  overflow-y: auto !important;
}

.choices__item--choice {
  color: var(--text) !important;
  border-radius: 8px !important;
  padding: 12px 16px !important;
  font-size: 15px !important;
  transition: background .2s !important;
}

.choices__item--choice.is-highlighted {
  background-color: var(--primary-light) !important;
  color: var(--primary-dark) !important;
}

.choices[data-type*="select-one"]:after {
  border-color: var(--text-muted) transparent transparent transparent !important;
  border-width: 6px !important;
  width: 10px !important;
  height: 10px !important;
  margin-top: -3px !important;
  right: 24px !important;
}

.choices[data-type*="select-one"].is-open:after {
  border-color: transparent transparent var(--text-muted) transparent !important;
  margin-top: -9px !important;
}

.portal-choice-native {
  opacity: 0 !important;
  pointer-events: none !important;
  width: 1px !important;
  height: 1px !important;
  position: absolute !important;
}

.portal-choice-control {
  border-radius: var(--radius);
  width: 100%;
  min-height: 60px;
  color: var(--text);
  font: inherit;
  text-align: left;
  cursor: pointer;
  background-color: #f8fafc;
  border: 2px solid #f1f5f9;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 8px 56px 8px 24px;
  font-size: 16px;
  font-weight: 500;
  transition: all .3s;
  display: flex;
  position: relative;
}

.portal-choice-control:focus, .portal-choice-control.is-open {
  border-color: var(--primary);
  box-shadow: 0 10px 20px -5px var(--primary-glow);
  background-color: #fff;
  outline: none;
  transform: translateY(-2px);
}

.portal-choice-control.is-disabled {
  cursor: not-allowed;
  opacity: 1;
  color: var(--text);
}

.portal-choice-placeholder {
  color: var(--text-muted);
}

.portal-choice-arrow {
  border-left: 6px solid #0000;
  border-right: 6px solid #0000;
  border-top: 7px solid var(--text-muted);
  width: 0;
  height: 0;
  position: absolute;
  top: 50%;
  right: 24px;
  transform: translateY(-50%);
}

.portal-choice-control.is-open .portal-choice-arrow {
  border-top: 0;
  border-bottom: 7px solid var(--text-muted);
}

.portal-choice-dropdown {
  z-index: 2147483000;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  background: #fff;
  border-radius: 14px;
  padding: 8px;
  position: fixed;
  overflow: hidden;
}

.portal-choice-search-wrap {
  padding: 4px 4px 8px;
}

.portal-choice-search {
  border: 1px solid var(--border);
  border-radius: 10px;
  width: 100%;
  min-height: 42px;
  padding: 8px 12px;
  font-size: 15px;
  font-weight: 500;
}

.portal-choice-list {
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding-right: 2px;
  overflow-y: auto;
}

.portal-choice-option {
  width: 100%;
  color: var(--text);
  text-align: left;
  cursor: pointer;
  background: none;
  border: 0;
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 15px;
  font-weight: 500;
  transition: background .2s, color .2s;
}

.portal-choice-option:hover, .portal-choice-option:focus, .portal-choice-option.is-selected {
  background-color: var(--primary-light);
  color: var(--primary-dark);
  outline: none;
}

.portal-choice-option:disabled {
  cursor: not-allowed;
  opacity: .55;
}

.portal-choice-empty {
  color: var(--text-muted);
  padding: 14px 16px;
  font-weight: 600;
}

.question-block {
  margin-bottom: 32px;
}

.question-text {
  color: var(--text);
  margin-bottom: 16px;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.5;
}

.nps-rating-wrap {
  margin-top: 18px;
}

.nps-helper-text {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 700;
}

.rating-container {
  grid-template-columns: repeat(11, minmax(54px, 1fr));
  gap: 8px;
  margin-top: 0;
  display: grid;
}

.rating-btn {
  cursor: pointer;
  width: 100%;
  min-width: 0;
  min-height: 78px;
  color: var(--text-muted);
  box-shadow: var(--shadow-sm);
  background: #fff;
  border: 2px solid #f1f5f9;
  border-radius: 10px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  padding: 8px 6px;
  font-size: 15px;
  font-weight: 800;
  transition: all .3s cubic-bezier(.34, 1.56, .64, 1);
  display: inline-flex;
}

.rating-btn:hover {
  transform: translateY(-3px)scale(1.04);
  box-shadow: 0 8px 16px #00000014;
}

.rating-btn.detractor-hover:hover {
  color: #ef4444;
  background: #fef2f2;
  border-color: #ef4444;
}

.rating-btn.passive-hover:hover {
  color: #f59e0b;
  background: #fffbeb;
  border-color: #f59e0b;
}

.rating-btn.promoter-hover:hover {
  color: #10b981;
  background: #ecfdf5;
  border-color: #10b981;
}

.rating-btn.selected.detractor {
  color: #dc2626;
  background: #fff1f2;
  border-color: #ef4444;
  transform: translateY(-2px)scale(1.05);
  box-shadow: 0 8px 16px #ef44444d;
}

.rating-btn.selected.passive {
  color: #d97706;
  background: #fffbeb;
  border-color: #f59e0b;
  transform: translateY(-2px)scale(1.05);
  box-shadow: 0 8px 16px #f59e0b4d;
}

.rating-btn.selected.promoter {
  color: #059669;
  background: #ecfdf5;
  border-color: #10b981;
  transform: translateY(-2px)scale(1.05);
  box-shadow: 0 8px 16px #10b9814d;
}

.nps-tone-red {
  --nps-face: #ef4444;
  --nps-score: #ef4444;
}

.nps-tone-orange {
  --nps-face: #f97316;
  --nps-score: #ea580c;
}

.nps-tone-yellow {
  --nps-face: #facc15;
  --nps-score: #f59e0b;
}

.nps-tone-green {
  --nps-face: #49b87a;
  --nps-score: #168a50;
}

.nps-emoji-face {
  width: 34px;
  height: 34px;
  display: block;
}

.nps-face-dark {
  fill: #0f172a;
}

.nps-face-line, .nps-mouth-line {
  fill: none;
  stroke: #0f172a;
  stroke-width: 4px;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nps-score-number {
  color: var(--nps-score);
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
}

.nps-endpoint-labels {
  color: var(--text-muted);
  justify-content: space-between;
  align-items: center;
  margin-top: 8px;
  font-size: 12px;
  font-weight: 700;
  display: flex;
}

.nps-endpoint-labels span:first-child {
  color: #e24a5d;
}

.nps-endpoint-labels span:last-child {
  color: #64748b;
}

.rating-five-container {
  grid-template-columns: repeat(5, minmax(70px, 1fr));
  gap: 14px;
  width: min(100%, 470px);
  margin: 0 auto;
}

.satisfaction-rating-wrap {
  margin-top: 12px;
}

.satisfaction-helper-text {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 12px;
  font-size: clamp(12px, 1.6vw, 14px);
  font-weight: 700;
  line-height: 1.5;
}

.satisfaction-endpoint-labels {
  width: min(100%, 470px);
  margin: 8px auto 0;
  font-size: 14px;
}

.satisfaction-endpoint-labels span:first-child {
  color: #e24a5d;
}

.satisfaction-endpoint-labels span:last-child {
  color: #6bbf45;
}

.question-actions {
  justify-content: center;
  align-items: stretch;
  gap: 14px;
  margin-top: 32px;
  display: grid;
}

.question-actions-two {
  grid-template-columns: repeat(2, minmax(0, 220px));
}

.question-actions-three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.question-actions .btn, .question-actions .btn-cancel {
  text-align: center;
  white-space: nowrap;
  border-radius: 14px;
  justify-content: center;
  align-items: center;
  gap: 8px;
  width: 100%;
  min-width: 0;
  min-height: 52px;
  font-size: 14px;
  line-height: 1.15;
  display: inline-flex;
  height: 52px !important;
  padding: 0 14px !important;
}

.close-survey-btn {
  white-space: nowrap;
}

.btn-secondary-action {
  color: var(--primary) !important;
  background: #fff !important;
  border: 2px solid #e91e6359 !important;
  box-shadow: 0 8px 16px #e91e6314 !important;
}

.btn-secondary-action:hover, .btn-secondary-action:focus-visible {
  transform: translateY(-2px);
  border-color: var(--primary) !important;
  color: var(--primary-dark) !important;
  background: #fff5f9 !important;
}

.btn-submit-survey {
  background: var(--accent) !important;
}

@media (max-width: 560px) {
  .question-actions {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .question-actions .btn, .question-actions .btn-cancel {
    white-space: normal;
  }
}

.stars {
  cursor: pointer;
  gap: 16px;
  padding: 10px 0;
  display: flex;
}

.star {
  color: #f1f5f9;
  font-size: 42px;
  transition: all .3s cubic-bezier(.34, 1.56, .64, 1);
}

.star:hover, .star.active {
  color: #f59e0b;
  filter: drop-shadow(0 0 12px #f59e0b66);
  transform: scale(1.2);
}

.toggle-group {
  gap: 12px;
  display: flex;
}

.toggle-btn {
  border-radius: var(--radius);
  cursor: pointer;
  color: var(--text-muted);
  box-shadow: var(--shadow-sm);
  background: #fff;
  border: 2px solid #f1f5f9;
  flex: 1;
  padding: 16px 32px;
  font-size: 15px;
  font-weight: 700;
  transition: all .3s cubic-bezier(.34, 1.56, .64, 1);
}

.toggle-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-3px);
  box-shadow: 0 8px 16px #e91e6314;
}

.toggle-btn.selected {
  border-color: var(--primary);
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  box-shadow: 0 10px 20px var(--primary-glow);
  transform: scale(1.02);
}

.toggle-btn.selected:before {
  content: "✓ ";
  font-weight: 800;
}

.conditional-area {
  border-left: 4px solid var(--primary);
  background: #fff;
  border-radius: 20px;
  margin-top: 20px;
  padding: 24px;
  animation: .4s slideIn;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(-10px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.btn {
  border-radius: var(--radius);
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: .05em;
  border: none;
  justify-content: center;
  align-items: center;
  gap: 12px;
  padding: 20px 48px;
  font-size: 16px;
  font-weight: 700;
  transition: all .4s cubic-bezier(.34, 1.56, .64, 1);
  display: inline-flex;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  box-shadow: 0 15px 30px -5px var(--primary-glow);
}

.btn-primary:hover {
  box-shadow: 0 25px 50px -10px var(--primary-glow);
  transform: translateY(-6px);
}

.btn-primary:active {
  transform: translateY(-2px);
}

.btn-cancel {
  color: #fff;
  background: linear-gradient(135deg, var(--danger), #dc2626);
  border-radius: var(--radius);
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: .05em;
  border: none;
  justify-content: center;
  align-items: center;
  height: 60px;
  padding: 20px 40px;
  font-weight: 700;
  transition: all .4s cubic-bezier(.34, 1.56, .64, 1);
  display: inline-flex;
  box-shadow: 0 10px 24px -8px #ef444459;
}

.btn-cancel:hover {
  background: linear-gradient(135deg, #ef4444, #b91c1c);
  transform: translateY(-3px);
  box-shadow: 0 15px 30px -5px #ef444466;
}

.lookup-results {
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  z-index: 200;
  background: #fff;
  border-radius: 20px;
  max-height: 300px;
  padding: 8px;
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  right: 0;
  overflow-y: auto;
}

.lookup-results.active {
  display: block;
}

.result-item {
  cursor: pointer;
  border-radius: 12px;
  padding: 16px;
  transition: all .2s;
}

.result-item:hover {
  background: #f8fafc;
  transform: translateX(4px);
}

.result-name {
  color: var(--text);
  font-weight: 700;
}

.result-meta {
  color: var(--primary);
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 600;
}

#success-overlay {
  z-index: 2000;
  text-align: center;
  width: 100%;
  height: 100%;
  padding: max(24px, var(--survey-safe-top, env(safe-area-inset-top, 0px))) max(24px, env(safe-area-inset-right, 0px)) max(24px, var(--survey-safe-bottom, env(safe-area-inset-bottom, 0px))) max(24px, env(safe-area-inset-left, 0px));
  overscroll-behavior: contain;
  background: #fff radial-gradient(circle, #fff 0%, #fff5f7 100%);
  flex-direction: column;
  justify-content: safe center;
  align-items: center;
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  overflow: hidden auto;
}

.success-icon {
  color: #fff;
  background: linear-gradient(135deg, #10b981, #059669);
  border-radius: 40px;
  justify-content: center;
  align-items: center;
  width: 120px;
  height: 120px;
  margin-bottom: 32px;
  font-size: 60px;
  animation: .8s cubic-bezier(.34, 1.56, .64, 1) bounceIn;
  display: flex;
  box-shadow: 0 20px 40px #10b9814d;
}

.success-icon:before {
  content: "✓";
}

.success-title {
  color: var(--primary);
  margin: 0 0 16px;
  font-size: 36px;
  line-height: 1.05;
}

.success-message {
  max-width: 460px;
  color: var(--text-muted);
  margin: 0 0 40px;
  font-size: 18px;
  line-height: 1.45;
}

.success-action {
  max-width: min(100%, 520px);
}

@keyframes bounceIn {
  from {
    opacity: 0;
    transform: scale(0)rotate(-45deg);
  }

  to {
    opacity: 1;
    transform: scale(1)rotate(0);
  }
}

.otp-actions-container {
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 24px;
  display: grid;
}

.patient-grid-container {
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  display: grid;
}

.otp-verify-container {
  gap: 12px;
  display: flex;
}

@media (max-width: 768px) {
  header {
    height: 72px;
    padding: 0 20px;
  }

  .brand-text {
    display: none;
  }

  .brand img {
    height: 36px !important;
  }

  .user-profile {
    gap: 10px !important;
  }

  .user-info {
    text-align: right;
    flex-direction: column;
    justify-content: center;
    display: flex;
  }

  .user-name {
    line-height: 1.2;
    font-size: 13px !important;
  }

  .user-center {
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: .02em;
    white-space: normal;
    word-wrap: break-word;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    max-width: 160px;
    margin-top: 2px;
    font-weight: 800;
    line-height: 1.2;
    display: -webkit-box;
    overflow: hidden;
    font-size: 11px !important;
  }

  .card {
    padding: 32px 24px;
  }

  .rating-container {
    grid-template-columns: repeat(6, 1fr);
  }

  .btn {
    width: 100%;
  }

  .patient-grid-container {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

@media (max-width: 480px) {
  .brand img {
    height: 30px !important;
  }

  .user-center {
    max-width: 120px !important;
  }

  .logout-btn {
    border-radius: 10px !important;
    width: 38px !important;
    height: 38px !important;
    font-size: 14px !important;
  }

  .otp-actions-container {
    grid-template-columns: 1fr;
  }

  .otp-verify-container {
    flex-direction: column;
  }

  .otp-verify-container button {
    width: 100% !important;
  }

  .rating-container {
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 8px !important;
  }
}

.refresh-btn.loading {
  pointer-events: none;
  opacity: .8;
}

.refresh-btn.loading svg {
  animation: 1s linear infinite spin;
}

@keyframes spin {
  0% {
    transform: rotate(0);
  }

  100% {
    transform: rotate(360deg);
  }
}

html.survey-shell-bootstrapped, html.survey-shell-bootstrapped body, body.survey-shell-mounted {
  overscroll-behavior: none;
  touch-action: pan-y;
  -webkit-overflow-scrolling: auto;
  width: 100%;
  max-width: 100%;
  height: 100dvh;
  max-height: 100dvh;
  overflow: hidden;
}

body.survey-shell-mounted {
  margin: 0;
  padding: 0;
  display: block;
  position: fixed;
  inset: 0;
}

.survey-app-shell {
  --survey-page-pad-x: clamp(10px, 3vw, 32px);
  --survey-page-pad-y: clamp(10px, 2vh, 22px);
  --survey-card-pad: clamp(18px, 2.6vw, 36px);
  --survey-card-radius: clamp(18px, 3vw, 28px);
  --survey-control-height: clamp(46px, 5vw, 56px);
  --survey-action-height: clamp(48px, 5vw, 56px);
  --survey-gap: clamp(10px, 2vw, 20px);
  --survey-question-font: clamp(19px, 2.4vw, 28px);
  --survey-keyboard-height: 0px;
  --survey-visual-offset-top: 0px;
  --survey-visual-offset-left: 0px;
  --survey-shell-gap: clamp(12px, 2.4vh, 28px);
  overscroll-behavior: none;
  touch-action: pan-y;
  flex-direction: column;
  width: 100%;
  max-width: 100%;
  height: 100dvh;
  max-height: 100dvh;
  padding: 0;
  display: flex;
  position: fixed;
  inset: 0;
  overflow: hidden;
}

.survey-app-shell, .survey-app-shell * {
  box-sizing: border-box;
  min-width: 0;
}

html[data-survey-keyboard="open"] .survey-app-shell, html[data-survey-keyboard="open"] #login-overlay {
  height: var(--survey-vvh, 100dvh);
  max-height: var(--survey-vvh, 100dvh);
}

html[data-survey-keyboard="open"] #login-overlay {
  align-items: flex-start;
}

.survey-app-shell > header {
  width: 100%;
  max-width: 100%;
  padding-inline: var(--survey-page-pad-x);
  z-index: 2;
  height: auto;
  min-height: clamp(60px, 8vh, 80px);
  padding-top: var(--survey-safe-top, env(safe-area-inset-top, 0px));
  flex: none;
  position: relative;
  top: auto;
  overflow: hidden;
}

.survey-app-shell > .site-footer {
  width: 100%;
  max-width: 100%;
  height: auto;
  min-height: clamp(48px, 7vh, 80px);
  padding: clamp(6px, 1.5vh, 16px) var(--survey-page-pad-x);
  padding-bottom: max(clamp(6px, 1.5vh, 16px), var(--survey-safe-bottom, env(safe-area-inset-bottom, 0px)));
  flex: none;
  overflow: hidden;
}

.survey-app-shell .brand, .survey-app-shell .user-profile, .survey-app-shell .user-info {
  min-width: 0;
}

.survey-app-shell .user-center {
  overflow-wrap: anywhere;
  word-break: break-word;
  max-width: min(52vw, 420px);
}

.survey-app-shell > main {
  width: 100%;
  max-width: 100%;
  min-height: 0;
  padding: var(--survey-page-pad-y) var(--survey-page-pad-x);
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  flex: auto;
  justify-content: flex-start;
  align-items: center;
  margin: 0;
  display: flex;
  overflow: hidden auto;
}

.survey-app-shell > main > .card, .survey-app-shell #survey-card.card, .survey-app-shell #survey-card, .survey-app-shell .survey-container, .survey-app-shell .survey-step-card {
  width: min(100%, 800px);
  max-width: 100%;
  height: auto;
  max-height: none;
  margin-inline: auto;
  overflow: visible;
}

.survey-app-shell .card, .survey-app-shell .survey-step-card {
  padding: var(--survey-card-pad);
  border-radius: var(--survey-card-radius);
  margin-bottom: 0;
  scroll-margin-block: 14px;
}

.survey-app-shell .card:hover {
  transform: none;
}

.survey-app-shell #appointment-card {
  flex-direction: column;
  max-height: 100%;
  display: flex;
  overflow: hidden;
}

.survey-app-shell #appointment-card .input-group {
  flex-shrink: 0;
}

.survey-app-shell #appointment-list {
  overscroll-behavior: contain;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  flex: 1;
  min-height: 0;
  padding-right: 4px;
  max-height: none !important;
  overflow-y: auto !important;
}

html[data-survey-keyboard="open"] .survey-app-shell .card, html[data-survey-keyboard="open"] .survey-app-shell .survey-step-card, html[data-survey-keyboard="open"] .survey-app-shell textarea, html[data-survey-keyboard="open"] .survey-app-shell input:not([type="hidden"]), html[data-survey-keyboard="open"] .survey-app-shell .choices, html[data-survey-keyboard="open"] .survey-app-shell .choices__inner {
  scroll-margin-top: 14px;
  scroll-margin-bottom: calc(var(--survey-keyboard-height, 0px) + 28px);
}

html[data-survey-keyboard="open"] .survey-app-shell .question-actions, html[data-survey-keyboard="open"] .survey-app-shell .patient-info-actions {
  scroll-margin-bottom: calc(var(--survey-keyboard-height, 0px) + 28px);
}

.survey-app-shell .card:before, .survey-app-shell .survey-step-card:before {
  border-top-left-radius: var(--survey-card-radius);
  border-top-right-radius: var(--survey-card-radius);
}

.survey-app-shell .section-header {
  align-items: center;
  gap: clamp(10px, 2vw, 16px);
  margin-bottom: clamp(16px, 2.4vw, 28px);
}

.survey-app-shell .section-title {
  overflow-wrap: anywhere;
  font-size: clamp(22px, 3vw, 28px);
  line-height: 1.12;
}

.survey-app-shell .section-num {
  border-radius: clamp(10px, 2vw, 14px);
  flex: none;
  width: clamp(34px, 7vw, 44px);
  height: clamp(34px, 7vw, 44px);
}

.survey-app-shell .input-group {
  margin-bottom: clamp(14px, 2.6vw, 24px);
}

.survey-app-shell input[type="text"], .survey-app-shell input[type="date"], .survey-app-shell input[type="number"], .survey-app-shell input[type="password"], .survey-app-shell textarea, .survey-app-shell .choices__inner, .survey-app-shell .readonly-field {
  min-height: var(--survey-control-height) !important;
  border-radius: clamp(14px, 2.8vw, 20px) !important;
  font-size: clamp(14px, 2.7vw, 16px) !important;
}

.survey-app-shell .readonly-field {
  width: 100%;
  color: var(--text);
  overflow-wrap: anywhere;
  -webkit-user-select: none;
  user-select: none;
  background: #f8fafc;
  border: 2px solid #f1f5f9;
  justify-content: center;
  align-items: center;
  padding: clamp(14px, 2.5vw, 18px) clamp(16px, 3vw, 24px);
  font-weight: 600;
  line-height: 1.2;
  display: flex;
}

.survey-app-shell .choices__inner {
  padding: clamp(6px, 1.4vw, 8px) clamp(14px, 3vw, 24px) !important;
}

.survey-app-shell .choices__list--single {
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
  overflow: hidden;
}

.survey-app-shell .btn, .survey-app-shell .btn-cancel {
  min-width: 0;
  max-width: 100%;
  min-height: var(--survey-action-height);
  white-space: normal;
  text-align: center;
  height: auto;
  padding: 0 clamp(14px, 3vw, 32px);
  font-size: clamp(13px, 2.4vw, 16px);
  line-height: 1.15;
}

.survey-app-shell .appointment-help-text {
  color: var(--text-muted);
  overflow-wrap: anywhere;
  margin-bottom: clamp(14px, 2.5vw, 20px);
  font-size: clamp(13px, 2.5vw, 15px);
  line-height: 1.45;
}

.survey-app-shell .appointment-search-row {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: stretch;
  gap: clamp(8px, 1.8vw, 12px);
  width: 100%;
  display: grid;
}

.survey-app-shell .appointment-search-field {
  min-width: 0;
  position: relative;
}

.survey-app-shell #appointment-search {
  padding-left: clamp(42px, 8vw, 50px);
}

.survey-app-shell .appointment-search-icon {
  color: var(--text-light);
  pointer-events: none;
  justify-content: center;
  align-items: center;
  display: flex;
  position: absolute;
  top: 50%;
  left: clamp(14px, 3vw, 18px);
  transform: translateY(-50%);
}

.survey-app-shell .appointment-refresh-btn {
  min-height: var(--survey-control-height);
  flex: none;
  justify-content: center;
  align-items: center;
  display: inline-flex;
  width: var(--survey-control-height) !important;
  height: var(--survey-control-height) !important;
  border-radius: clamp(14px, 2.8vw, 20px) !important;
  padding: 0 !important;
}

.survey-app-shell .appointment-last-updated {
  color: var(--text-light);
  text-align: right;
  overflow-wrap: anywhere;
  margin-top: 8px;
  font-size: clamp(10px, 2.2vw, 12px);
  font-weight: 700;
  line-height: 1.3;
}

.survey-app-shell #appointment-list, .survey-app-shell .appointment-list {
  flex-direction: column;
  flex: auto;
  gap: clamp(8px, 1.5vw, 12px);
  min-height: 0;
  padding-right: 2px;
  scroll-padding-block: 10px;
  display: flex;
  overflow-x: hidden;
  max-height: none !important;
  overflow-y: auto !important;
}

.survey-app-shell .appointment-result-item {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-left-width: 4px;
  padding: clamp(12px, 2.8vw, 16px);
  box-shadow: 0 1px 2px #0f172a0a;
}

.survey-app-shell .appointment-result-item.status-available {
  --appointment-status-color: #047857;
  --appointment-status-border: #10b981;
  --appointment-status-bg: #d1fae5;
  --appointment-status-badge-border: #a7f3d0;
  border-left-color: var(--appointment-status-border);
}

.survey-app-shell .appointment-result-item.status-feedback-taken {
  --appointment-status-color: #ea580c;
  --appointment-status-border: #f59e0b;
  --appointment-status-bg: #fff7ed;
  --appointment-status-badge-border: #fed7aa;
  border-color: #fed7aa;
  border-left-color: var(--appointment-status-border);
  cursor: not-allowed;
  background: #fffbeb;
}

.survey-app-shell .appointment-result-item.status-in-progress {
  --appointment-status-color: var(--primary);
  --appointment-status-border: var(--primary);
  --appointment-status-bg: #fff5f8;
  --appointment-status-badge-border: #f8bbd0;
  background: var(--primary-light);
  border-color: #f8bbd0;
  border-left-color: var(--appointment-status-border);
  cursor: not-allowed;
}

.survey-app-shell .appointment-result-item.status-not-ready {
  --appointment-status-color: #64748b;
  --appointment-status-border: #cbd5e1;
  --appointment-status-bg: #f1f5f9;
  --appointment-status-badge-border: #e2e8f0;
  border-left-color: var(--appointment-status-border);
  opacity: .72;
  cursor: not-allowed;
}

.survey-app-shell .appointment-result-item.status-feedback-taken:hover, .survey-app-shell .appointment-result-item.status-in-progress:hover, .survey-app-shell .appointment-result-item.status-not-ready:hover {
  transform: none;
}

.survey-app-shell .result-item-header {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 10px;
  display: grid;
}

.survey-app-shell .result-name {
  overflow-wrap: anywhere;
  word-break: normal;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  min-width: 0;
  font-size: clamp(16px, 3.3vw, 18px);
  line-height: 1.2;
  display: flex;
}

.survey-app-shell .result-index {
  color: var(--primary);
  flex: none;
  margin-right: 4px;
  font-weight: 900;
}

.survey-app-shell .result-status-badge {
  border: 1px solid var(--appointment-status-badge-border, #e2e8f0);
  background: var(--appointment-status-bg, #f1f5f9);
  width: fit-content;
  max-width: 100%;
  min-height: 28px;
  color: var(--appointment-status-color, #64748b);
  white-space: nowrap;
  text-align: center;
  border-radius: 10px;
  justify-content: center;
  justify-self: end;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  font-size: clamp(9px, 2vw, 10px);
  font-weight: 900;
  line-height: 1.1;
  display: inline-flex;
}

.survey-app-shell .result-status-badge.checked-out {
  color: #166534;
  background: #dcfce7;
}

.survey-app-shell .result-status-badge.not-checked-out {
  color: #64748b;
  background: #f1f5f9;
}

.survey-app-shell .status-badge-icon {
  border-radius: 999px;
  flex: none;
  justify-content: center;
  align-items: center;
  width: 18px;
  height: 18px;
  display: inline-flex;
}

.survey-app-shell .result-status-badge.status-feedback-taken .status-badge-icon {
  color: #fff;
  background: #f59e0b;
}

.survey-app-shell .result-status-badge.status-in-progress .status-badge-icon {
  color: var(--primary);
}

.survey-app-shell .result-meta {
  overflow-wrap: anywhere;
  word-break: normal;
  margin-top: 6px;
  font-size: clamp(11px, 2.4vw, 13px);
  line-height: 1.35;
}

.survey-app-shell #validation-card {
  min-height: 0;
  max-height: 100%;
}

.survey-app-shell .selected-patient-badge {
  background: var(--primary-light);
  border: 1px solid var(--primary);
  border-radius: 14px;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  margin-bottom: clamp(18px, 3vw, 24px);
  padding: clamp(14px, 2.6vw, 16px);
  display: grid;
}

.survey-app-shell .selected-patient-details {
  overflow-wrap: anywhere;
  min-width: 0;
}

.survey-app-shell .selected-patient-change-btn {
  flex: none;
  min-height: 38px;
  border: 1px solid var(--primary) !important;
  width: auto !important;
  color: var(--primary) !important;
  box-shadow: none !important;
  background: #fff !important;
  padding: 0 12px !important;
  font-size: 12px !important;
}

.survey-app-shell .mobile-verify-label {
  overflow-wrap: anywhere;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  min-width: 0;
  display: flex;
}

.survey-app-shell .otp-area {
  min-width: 0;
  animation: .4s slideIn;
}

.remote-feedback-shell main {
  justify-content: center;
  align-items: center;
}

.remote-feedback-card {
  width: min(100%, 760px);
  margin-inline: auto;
}

.remote-feedback-form {
  gap: 18px;
  width: min(100%, 820px);
  margin-inline: auto;
  display: grid;
}

.remote-feedback-context-card {
  padding: clamp(18px, 3vw, 28px);
}

.remote-context {
  border: 1px solid var(--border);
  background: #f8fafcd6;
  border-radius: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
  padding: 16px;
  display: grid;
}

.remote-context-label {
  color: var(--text-light);
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 800;
}

.remote-context-value {
  min-width: 0;
  color: var(--text);
  overflow-wrap: anywhere;
  font-size: 14px;
  font-weight: 800;
}

.remote-security-badge {
  background: var(--primary-light);
  color: var(--primary-dark);
  white-space: nowrap;
  border: 1px solid #e91e632e;
  border-radius: 999px;
  justify-self: end;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 900;
}

.remote-security-badge.verified {
  color: #047857;
  background: #ecfdf5;
  border-color: #10b98133;
}

.remote-help-text, .remote-feedback-message, .remote-dev-otp {
  color: var(--text-muted);
  margin-bottom: 18px;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.6;
}

.remote-feedback-message {
  color: var(--primary-dark);
  margin-top: 14px;
  margin-bottom: 0;
}

.remote-dev-otp {
  color: #047857;
  margin-top: -4px;
}

.remote-primary-action, .remote-otp-actions .btn {
  width: 100%;
  min-height: 52px;
  margin-top: 14px;
}

.remote-feedback-card input.remote-code-input {
  border-radius: var(--radius);
  width: 100%;
  min-height: 58px;
  color: var(--text);
  text-align: center;
  letter-spacing: .22em;
  background: #f8fafc;
  border: 2px solid #f1f5f9;
  padding: 0 18px;
  font-size: clamp(22px, 5vw, 30px);
  font-weight: 900;
  transition: border-color .2s, box-shadow .2s, background .2s;
  box-shadow: inset 0 1px #fffc;
}

.remote-feedback-card input.remote-code-input:focus {
  border-color: var(--primary);
  box-shadow: 0 10px 20px -5px var(--primary-glow);
  background: #fff;
  outline: none;
}

.remote-phone-confirmation {
  color: #047857;
  background: #ecfdf5;
  border: 1px solid #10b9813d;
  border-radius: 16px;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  padding: 14px 16px;
  display: flex;
}

.remote-phone-confirmation span {
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 900;
}

.remote-phone-confirmation strong {
  color: #064e3b;
  font-size: 16px;
  font-weight: 900;
}

.remote-language-field {
  margin-bottom: 0;
}

.remote-language-field select {
  border-radius: var(--radius);
  width: 100%;
  min-height: 52px;
  color: var(--text);
  font-size: var(--fs-input);
  background: #f8fafc;
  border: 2px solid #f1f5f9;
  padding: 0 18px;
  font-weight: 700;
}

.remote-language-field select:focus {
  border-color: var(--primary);
  box-shadow: 0 10px 20px -5px var(--primary-glow);
  background: #fff;
  outline: none;
}

.remote-status-card {
  text-align: center;
  padding: clamp(32px, 6vw, 56px);
}

.remote-status-card h1 {
  color: var(--text);
  margin-bottom: 12px;
  font-family: Outfit, sans-serif;
  font-size: clamp(24px, 5vw, 36px);
  font-weight: 900;
}

.remote-status-card p {
  color: var(--text-muted);
  font-size: clamp(14px, 2.6vw, 17px);
  font-weight: 650;
  line-height: 1.6;
}

.remote-status-icon {
  width: 64px;
  height: 64px;
  color: var(--danger);
  background: #fef2f2;
  border-radius: 50%;
  place-items: center;
  margin: 0 auto 18px;
  font-size: 30px;
  font-weight: 900;
  display: grid;
}

.remote-status-icon.success {
  color: #047857;
  background: #ecfdf5;
}

@media (max-width: 760px) {
  .remote-context {
    grid-template-columns: 1fr;
  }

  .remote-security-badge {
    justify-self: start;
  }
}

.survey-app-shell .otp-actions-container {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(10px, 2vw, 12px);
  margin-bottom: clamp(18px, 3vw, 24px);
}

.survey-app-shell .otp-action-btn {
  min-height: var(--survey-action-height);
  justify-content: center;
  align-items: center;
  gap: 8px;
  display: inline-flex;
  height: auto !important;
  padding-inline: clamp(12px, 2.6vw, 20px) !important;
  font-size: clamp(12px, 2.4vw, 14px) !important;
}

.survey-app-shell .wa-otp-action {
  background: #25d366 !important;
}

.survey-app-shell .sms-otp-action {
  background: #3b82f6 !important;
}

.survey-app-shell .otp-verify-container {
  grid-template-columns: minmax(0, 1fr) minmax(118px, 150px);
  align-items: stretch;
  gap: 12px;
  display: grid;
}

.survey-app-shell .otp-input {
  text-align: center;
  letter-spacing: .18em;
  font-weight: 800;
  font-size: clamp(20px, 4.5vw, 24px) !important;
}

.survey-app-shell #otp-status {
  overflow-wrap: anywhere;
  max-width: 100%;
  line-height: 1.35;
}

.survey-app-shell .otp-verify-btn {
  width: 100% !important;
  padding-inline: 16px !important;
}

.survey-app-shell .patient-grid-container {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(14px, 2.6vw, 20px);
}

.survey-app-shell .patient-grid-span {
  grid-column: 1 / -1;
}

.survey-app-shell .staff-otp-card {
  background: #e91e630a;
  border: 1px solid #e91e632e;
  border-radius: 18px;
  padding: clamp(12px, 2vw, 16px);
}

.survey-app-shell .staff-otp-actions {
  grid-template-columns: minmax(150px, .85fr) minmax(0, 1fr) minmax(110px, .55fr);
  align-items: stretch;
  gap: 12px;
  display: grid;
}

.survey-app-shell .staff-otp-actions input {
  width: 100%;
  min-height: var(--survey-control-height);
  border: 2px solid var(--border);
  text-align: center;
  letter-spacing: .12em;
  background: #fff;
  border-radius: 16px;
  padding: 0 16px;
  font-size: clamp(16px, 3.6vw, 20px);
  font-weight: 800;
}

.survey-app-shell .staff-otp-actions button {
  min-height: var(--survey-control-height);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  border: 0;
  border-radius: 16px;
  font-weight: 900;
}

.survey-app-shell .staff-otp-actions .otp-btn {
  color: var(--primary);
  background: #e91e631f;
}

.survey-app-shell .staff-otp-actions .verify-btn {
  background: var(--primary);
  color: #fff;
}

.survey-app-shell .staff-otp-actions button:disabled, .survey-app-shell .staff-otp-actions input:disabled {
  cursor: not-allowed;
  opacity: .62;
}

.survey-app-shell .staff-otp-status {
  overflow-wrap: anywhere;
  margin: 8px 0 0;
  font-size: clamp(13px, 2.4vw, 15px);
  font-weight: 800;
  line-height: 1.35;
}

.survey-app-shell .patient-info-actions {
  grid-template-columns: minmax(0, 1fr) minmax(0, .72fr);
  justify-content: center;
  align-items: stretch;
  gap: clamp(12px, 2.4vw, 16px);
  margin-top: clamp(18px, 3vw, 24px);
  display: grid;
}

.survey-app-shell .patient-proceed-btn {
  min-height: var(--survey-action-height);
  height: auto !important;
  padding-inline: clamp(16px, 4vw, 45px) !important;
}

.survey-step-patient-info {
  --survey-page-pad-y: clamp(8px, 1.6vh, 14px);
  --survey-card-pad: clamp(14px, 2vw, 24px);
  --survey-control-height: clamp(42px, 4.4vw, 50px);
  --survey-action-height: clamp(44px, 4.6vw, 52px);
}

.survey-step-patient-info > main {
  align-items: center;
}

.survey-step-patient-info #survey-card.card {
  flex-direction: column;
  justify-content: flex-start;
  gap: clamp(10px, 1.4vw, 16px);
  min-height: 0;
  display: flex;
}

.survey-step-patient-info .section-header {
  margin-bottom: clamp(8px, 1.4vw, 14px);
}

.survey-step-patient-info #patient-info-card {
  flex-direction: column;
  flex: 0 auto;
  gap: clamp(10px, 1.6vw, 14px);
  min-height: 0;
  display: flex;
}

.survey-step-patient-info .patient-grid-container {
  gap: clamp(8px, 1.5vw, 14px);
  min-height: 0;
  overflow: visible;
}

.survey-step-patient-info .input-group {
  margin-bottom: 0;
}

.survey-step-patient-info .input-group label {
  margin-bottom: clamp(5px, 1vw, 8px);
  line-height: 1.15;
}

.survey-step-patient-info input[type="text"], .survey-step-patient-info input[type="date"], .survey-step-patient-info .choices__inner, .survey-step-patient-info .readonly-field {
  min-height: var(--survey-control-height) !important;
}

.survey-step-patient-info .patient-info-actions {
  gap: clamp(8px, 1.6vw, 12px);
  margin-top: clamp(6px, 1.2vw, 12px);
}

.survey-step-patient-info .patient-info-actions .btn, .survey-step-patient-info .patient-info-actions .btn-cancel {
  min-height: var(--survey-action-height);
  padding-block: 8px;
  line-height: 1.1;
}

.survey-step-patient-info .choices__list--dropdown {
  z-index: 60;
  width: 100%;
  max-width: 100%;
  max-height: min(260px, calc(var(--survey-vvh, 100dvh) - 180px));
  overflow: hidden;
}

.survey-step-patient-info .choices__list--dropdown .choices__list {
  max-height: min(250px, calc(var(--survey-vvh, 100dvh) - 190px));
  overscroll-behavior: contain;
  overflow-y: auto;
}

.survey-step-questions #survey-card, .survey-step-questions .survey-container {
  height: auto;
  display: block;
  overflow: visible;
}

.survey-step-questions .survey-step-card {
  flex-direction: column;
  display: flex;
  overflow: visible;
}

.survey-app-shell .question-block {
  min-height: 0;
  margin-bottom: clamp(18px, 3vw, 32px);
}

.survey-step-questions .question-block {
  flex: none;
  overflow: visible;
}

.survey-app-shell .question-text {
  font-size: var(--survey-question-font);
  white-space: normal;
  overflow-wrap: break-word;
  word-wrap: break-word;
  word-break: normal;
  -webkit-hyphens: auto;
  hyphens: auto;
  max-width: 100%;
  line-height: 1.38;
}

.survey-app-shell .survey-step-card textarea, .survey-app-shell #survey-card textarea {
  resize: vertical;
  width: 100%;
  max-width: 100%;
  max-height: min(30vh, 160px);
}

.survey-app-shell .nps-rating-wrap {
  width: 100%;
  margin-top: clamp(14px, 2.5vw, 18px);
}

.survey-app-shell .rating-container {
  grid-template-columns: repeat(11, minmax(0, 1fr));
  gap: clamp(6px, 1.2vw, 8px);
  width: 100%;
}

.survey-app-shell .rating-five-container {
  width: min(100%, 470px);
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  gap: clamp(6px, 1.3vw, 14px) !important;
}

.survey-app-shell .rating-btn {
  border-radius: clamp(10px, 2vw, 14px);
  gap: clamp(4px, 1vw, 6px);
  min-height: clamp(58px, 8vw, 78px);
  padding: clamp(6px, 1.5vw, 8px);
}

.survey-app-shell .nps-emoji-face {
  width: clamp(28px, 5.4vw, 34px);
  height: clamp(28px, 5.4vw, 34px);
}

.survey-app-shell .nps-score-number {
  font-size: clamp(12px, 2.4vw, 14px);
}

.survey-app-shell .nps-endpoint-labels {
  grid-template-columns: repeat(11, minmax(0, 1fr));
  align-items: start;
  gap: clamp(6px, 1.2vw, 8px);
  width: 100%;
  margin-top: 10px;
  font-size: clamp(12px, 2.5vw, 14px);
  line-height: 1.2;
  display: grid;
}

.survey-app-shell .nps-endpoint-labels .endpoint-start {
  color: #e24a5d;
  text-align: center;
  grid-column: 1;
  justify-self: center;
  width: max-content;
  max-width: max-content;
}

.survey-app-shell .nps-endpoint-labels .endpoint-end {
  color: #64748b;
  text-align: center;
  grid-column: 11;
  justify-self: center;
  width: max-content;
  max-width: max-content;
}

.survey-app-shell .satisfaction-endpoint-labels {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  width: min(100%, 470px);
  margin: 10px auto 0;
}

.survey-app-shell .satisfaction-endpoint-labels .endpoint-start {
  text-align: center;
  grid-column: 1;
  justify-self: center;
  width: max-content;
  max-width: max-content;
}

.survey-app-shell .satisfaction-endpoint-labels .endpoint-end {
  color: #6bbf45;
  text-align: center;
  grid-column: 5;
  justify-self: center;
  width: max-content;
  max-width: max-content;
}

.survey-app-shell .question-actions {
  flex: none;
  gap: clamp(10px, 2vw, 14px);
  margin-top: clamp(18px, 3vw, 32px);
}

.survey-app-shell .question-actions .btn, .survey-app-shell .question-actions .btn-cancel {
  min-height: var(--survey-action-height);
  white-space: normal;
  height: auto !important;
  padding-inline: clamp(12px, 2.6vw, 18px) !important;
}

.survey-app-shell > .site-footer {
  height: auto;
  min-height: clamp(58px, 9vw, 80px);
  padding: 10px var(--survey-page-pad-x) calc(10px + var(--survey-safe-bottom, env(safe-area-inset-bottom, 0px)));
  z-index: 2;
  flex: none;
  gap: 4px;
  max-width: 100%;
  overflow: hidden;
}

.survey-app-shell .site-footer-main, .survey-app-shell .legal-notice {
  white-space: normal;
  text-overflow: clip;
  min-width: 0;
  max-width: 100%;
  line-height: 1.25;
  overflow: visible;
}

.survey-app-shell .site-footer-main {
  gap: 4px;
}

.survey-app-shell #success-overlay {
  width: 100%;
  max-width: 100%;
  height: 100%;
  max-height: 100%;
  padding: max(18px, var(--survey-safe-top, env(safe-area-inset-top, 0px)))
        var(--survey-page-pad-x)
        max(18px, var(--survey-safe-bottom, env(safe-area-inset-bottom, 0px)));
  overflow: hidden;
}

.survey-app-shell #success-overlay .success-icon {
  border-radius: clamp(24px, 5vw, 40px);
  width: clamp(76px, 16vw, 120px);
  height: clamp(76px, 16vw, 120px);
  margin-bottom: clamp(18px, 4vw, 32px);
  font-size: clamp(40px, 9vw, 60px);
}

.survey-app-shell #success-overlay .success-title {
  margin-bottom: clamp(10px, 2vw, 16px);
  font-size: clamp(32px, 7vw, 52px);
}

.survey-app-shell #success-overlay .success-message {
  margin-bottom: clamp(24px, 5vw, 40px);
  font-size: clamp(16px, 3.8vw, 22px);
}

.survey-app-shell #success-overlay .success-action {
  width: min(100%, 520px);
  min-height: var(--survey-action-height);
  padding-inline: clamp(14px, 4vw, 32px);
}

@media (max-width: 1024px) {
  .survey-app-shell > main {
    align-items: flex-start;
  }

  .survey-app-shell .rating-container, .survey-app-shell .nps-endpoint-labels {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .survey-app-shell .nps-endpoint-labels .endpoint-end {
    grid-column: 5;
  }

  .survey-app-shell .satisfaction-endpoint-labels {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .survey-app-shell .satisfaction-endpoint-labels .endpoint-end {
    grid-column: 5;
  }
}

@media (max-width: 768px) {
  #login-overlay {
    align-items: flex-start;
  }

  .login-card {
    border-radius: clamp(22px, 7vw, 34px);
    padding: clamp(24px, 6vh, 42px) clamp(20px, 5vw, 32px);
  }

  .login-card > img {
    margin-bottom: clamp(18px, 4vh, 28px) !important;
  }

  .survey-app-shell {
    --survey-page-pad-x: clamp(8px, 3.2vw, 18px);
    --survey-page-pad-y: clamp(10px, 2.6vw, 18px);
    --survey-card-pad: clamp(16px, 4.2vw, 28px);
    overflow-y: hidden;
  }

  .survey-app-shell > main {
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    flex: auto;
    align-items: flex-start;
    min-height: 0;
    overflow: hidden auto;
  }

  .survey-app-shell > main > .card, .survey-app-shell #survey-card.card, .survey-app-shell #survey-card, .survey-app-shell .survey-container, .survey-app-shell .survey-step-card, .survey-step-questions #survey-card, .survey-step-questions .survey-container, .survey-step-questions .survey-step-card {
    overflow: visible;
  }

  .survey-app-shell .brand-text {
    display: none;
  }

  .survey-app-shell .user-center {
    max-width: min(58vw, 260px) !important;
  }

  .survey-app-shell .patient-grid-container, .survey-app-shell .patient-info-actions, .survey-app-shell .staff-otp-actions {
    grid-template-columns: 1fr;
  }

  .survey-step-patient-info {
    --survey-page-pad-y: clamp(6px, 1.8vw, 10px);
    --survey-card-pad: clamp(12px, 3.4vw, 18px);
    --survey-control-height: clamp(40px, 10vw, 48px);
    --survey-action-height: clamp(42px, 10.5vw, 48px);
  }

  .survey-step-patient-info > main {
    align-items: stretch;
  }

  .survey-step-patient-info #survey-card.card {
    justify-content: flex-start;
  }

  .survey-step-patient-info .section-header {
    gap: 10px;
    margin-bottom: 8px;
  }

  .survey-step-patient-info .patient-grid-container {
    gap: 8px;
  }

  .survey-step-patient-info .input-group label {
    letter-spacing: .055em;
    margin-bottom: 5px;
    font-size: clamp(10px, 2.65vw, 12px);
  }

  .survey-step-patient-info .patient-info-actions {
    gap: 8px;
    margin-top: 4px;
  }

  .survey-step-patient-info .patient-info-actions .btn, .survey-step-patient-info .patient-info-actions .btn-cancel {
    letter-spacing: .045em;
    font-size: clamp(12px, 3.2vw, 14px);
  }

  .survey-step-patient-info #patient-info-card, .survey-step-patient-info .patient-grid-container {
    flex: auto;
  }

  .survey-step-patient-info .patient-info-actions {
    flex: none;
  }

  .survey-app-shell .question-actions-two, .survey-app-shell .question-actions-three {
    grid-template-columns: 1fr;
  }

  .survey-app-shell #success-overlay {
    justify-content: center;
  }
}

@media (max-width: 480px), (max-height: 760px) {
  #login-overlay {
    padding: max(10px, env(safe-area-inset-top, 0px)) max(10px, env(safe-area-inset-right, 0px)) max(10px, env(safe-area-inset-bottom, 0px)) max(10px, env(safe-area-inset-left, 0px));
    align-items: flex-start;
  }

  .login-card {
    border-radius: 24px;
    margin-block: auto;
    padding: clamp(18px, 4vh, 28px) clamp(16px, 5vw, 26px);
  }

  .login-card > img {
    height: 44px !important;
    margin-bottom: 14px !important;
  }

  #staff-login-area h2 {
    margin-bottom: 4px !important;
    font-size: clamp(22px, 7vw, 26px) !important;
  }

  #staff-login-area > p {
    margin-bottom: 20px !important;
    font-size: 14px !important;
  }

  .login-card .input-group {
    gap: 6px;
    margin-bottom: 14px;
  }

  .login-card input {
    border-radius: 16px;
    min-height: 48px;
    padding: 13px 18px;
    font-size: 15px;
  }

  #login-btn {
    border-radius: 16px !important;
    height: 50px !important;
  }

  .login-legal-notice {
    margin-top: 12px;
    font-size: 9.5px;
  }
}

@media (max-width: 560px) {
  .survey-app-shell {
    --survey-control-height: clamp(44px, 11vw, 54px);
    --survey-action-height: clamp(48px, 12vw, 56px);
    --survey-question-font: clamp(20px, 5.3vw, 26px);
  }

  .survey-app-shell > header {
    height: 70px;
  }

  .survey-app-shell .user-center {
    max-width: min(58vw, 210px) !important;
    font-size: clamp(10px, 2.8vw, 12px) !important;
  }

  .survey-app-shell #appointment-list, .survey-app-shell .appointment-list {
    max-height: none !important;
  }

  .survey-app-shell .result-item-header {
    grid-template-columns: minmax(0, 1fr);
  }

  .survey-app-shell .result-status-badge {
    justify-self: start;
  }

  .survey-app-shell .selected-patient-badge {
    grid-template-columns: 1fr;
  }

  .survey-app-shell .selected-patient-change-btn {
    justify-self: start;
  }

  .survey-app-shell .otp-actions-container, .survey-app-shell .otp-verify-container {
    grid-template-columns: 1fr;
  }

  .survey-app-shell .rating-container {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }

  .survey-app-shell .nps-endpoint-labels {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .survey-app-shell .nps-endpoint-labels .endpoint-end {
    grid-column: 3;
  }

  .survey-app-shell .rating-five-container {
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  }

  .survey-app-shell .satisfaction-endpoint-labels {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .survey-app-shell .satisfaction-endpoint-labels .endpoint-end {
    grid-column: 5;
  }

  .survey-app-shell .rating-five-container .rating-btn {
    min-height: clamp(52px, 13vw, 64px);
    padding: 5px 4px;
  }

  .survey-app-shell .rating-five-container .nps-emoji-face {
    width: clamp(24px, 6vw, 30px);
    height: clamp(24px, 6vw, 30px);
  }
}

@media (max-width: 768px) and (max-height: 860px) {
  .survey-step-patient-info {
    --survey-card-pad: 12px;
    --survey-page-pad-y: 6px;
    --survey-control-height: 40px;
    --survey-action-height: 42px;
  }

  .survey-step-patient-info > header {
    height: 60px;
  }

  .survey-step-patient-info > .site-footer {
    min-height: 48px;
    padding-top: 6px;
    padding-bottom: calc(6px + var(--survey-safe-bottom, env(safe-area-inset-bottom, 0px)));
  }

  .survey-step-patient-info .section-header {
    margin-bottom: 6px;
  }

  .survey-step-patient-info .section-title {
    font-size: clamp(20px, 5vw, 24px);
  }

  .survey-step-patient-info .section-num {
    width: 34px;
    height: 34px;
  }

  .survey-step-patient-info #patient-info-card, .survey-step-patient-info .patient-grid-container, .survey-step-patient-info .patient-info-actions {
    gap: 7px;
  }

  .survey-step-patient-info input[type="text"], .survey-step-patient-info input[type="date"], .survey-step-patient-info .choices__inner, .survey-step-patient-info .readonly-field {
    font-size: 13px !important;
  }

  .survey-step-questions {
    --survey-card-pad: 12px;
    --survey-question-font: clamp(18px, 5vw, 22px);
    --survey-action-height: 42px;
  }

  .survey-step-questions .section-header, .survey-step-questions .question-block {
    margin-bottom: 8px;
  }

  .survey-step-questions .question-actions {
    gap: 7px;
    margin-top: 8px;
  }

  .survey-step-questions .question-actions .btn, .survey-step-questions .question-actions .btn-cancel {
    min-height: 42px;
  }
}

html[data-survey-keyboard="open"] .survey-step-patient-info, html[data-survey-keyboard="open"] .survey-step-questions {
  --survey-card-pad: 10px;
  --survey-page-pad-y: 6px;
  --survey-control-height: 38px;
  --survey-action-height: 40px;
  --survey-question-font: clamp(17px, 4.7vw, 21px);
}

html[data-survey-keyboard="open"] .survey-step-patient-info .section-header, html[data-survey-keyboard="open"] .survey-step-questions .section-header {
  margin-bottom: 6px;
}

html[data-survey-keyboard="open"] .survey-step-patient-info .section-title, html[data-survey-keyboard="open"] .survey-step-questions .section-title {
  font-size: clamp(19px, 5vw, 23px);
}

html[data-survey-keyboard="open"] .survey-step-patient-info .section-num, html[data-survey-keyboard="open"] .survey-step-questions .section-num {
  border-radius: 10px;
  width: 32px;
  height: 32px;
}

html[data-survey-keyboard="open"] .survey-step-patient-info #patient-info-card, html[data-survey-keyboard="open"] .survey-step-patient-info .patient-grid-container {
  gap: 6px;
}

html[data-survey-keyboard="open"] .survey-step-patient-info .input-group label {
  margin-bottom: 4px;
  font-size: 10px;
  line-height: 1.08;
}

html[data-survey-keyboard="open"] .survey-step-patient-info .patient-info-actions, html[data-survey-keyboard="open"] .survey-step-questions .question-actions {
  gap: 6px;
  margin-top: 6px;
}

html[data-survey-keyboard="open"] .survey-step-questions .question-block {
  margin-bottom: 6px;
}

html[data-survey-keyboard="open"] .survey-app-shell textarea {
  max-height: min(22vh, 112px);
}

@media (min-width: 769px) and (max-height: 820px) {
  .survey-step-patient-info {
    --survey-page-pad-y: 8px;
    --survey-card-pad: 18px;
    --survey-control-height: 44px;
    --survey-action-height: 46px;
  }

  .survey-step-patient-info .section-header {
    margin-bottom: 8px;
  }

  .survey-step-patient-info #patient-info-card, .survey-step-patient-info .patient-grid-container {
    gap: 9px;
  }

  .survey-step-patient-info .patient-info-actions {
    gap: 10px;
    margin-top: 6px;
  }
}

@media (max-width: 375px) {
  .survey-app-shell {
    --survey-card-pad: 14px;
    --survey-page-pad-x: 8px;
  }

  .survey-app-shell .appointment-search-row {
    grid-template-columns: minmax(0, 1fr) 48px;
  }

  .survey-app-shell .question-actions .btn, .survey-app-shell .question-actions .btn-cancel, .survey-app-shell .patient-info-actions .btn, .survey-app-shell .patient-info-actions .btn-cancel {
    letter-spacing: .035em;
    font-size: 12px;
  }

  .survey-app-shell .rating-btn {
    min-height: 56px;
  }

  .survey-app-shell .nps-emoji-face {
    width: 26px;
    height: 26px;
  }

  .survey-app-shell .rating-five-container {
    gap: 5px !important;
  }

  .survey-step-questions {
    --survey-card-pad: 12px;
    --survey-question-font: 18px;
    --survey-action-height: 44px;
  }

  .survey-step-questions .section-header {
    margin-bottom: 10px;
  }

  .survey-step-questions .question-block {
    margin-bottom: 12px;
  }

  .survey-step-questions .nps-rating-wrap {
    margin-top: 8px;
  }

  .survey-step-questions .rating-container {
    gap: 5px !important;
  }

  .survey-step-questions .rating-btn {
    min-height: 50px;
    padding: 4px;
  }

  .survey-step-questions .nps-endpoint-labels, .survey-step-questions .satisfaction-endpoint-labels {
    margin-top: 6px;
    font-size: 11px;
  }

  .survey-step-questions .question-actions {
    gap: 8px;
    margin-top: 12px;
  }

  .survey-app-shell #validation-card {
    --survey-control-height: 38px;
    --survey-action-height: 40px;
    padding-block: 12px;
  }

  .survey-app-shell #validation-card .section-header {
    margin-bottom: 10px;
  }

  .survey-app-shell #validation-card .section-title {
    font-size: 22px;
  }

  .survey-app-shell #selected-patient-badge {
    gap: 8px;
    margin-bottom: 10px;
    padding: 10px;
  }

  .survey-app-shell #v-display-name {
    font-size: 15px;
    line-height: 1.1;
  }

  .survey-app-shell #v-display-mrn {
    line-height: 1.18;
    font-size: 10px !important;
  }

  .survey-app-shell #validation-card .selected-patient-change-btn {
    min-height: 32px;
    font-size: 11px !important;
  }

  .survey-app-shell #validation-card .input-group {
    margin-bottom: 8px;
  }

  .survey-app-shell #validation-card .input-group label {
    margin-bottom: 5px;
  }

  .survey-app-shell #validation-card .otp-actions-container {
    gap: 7px;
    margin-bottom: 8px;
  }

  .survey-app-shell #validation-card .otp-action-btn, .survey-app-shell #validation-card #test-otp-btn {
    min-height: 38px;
    font-size: 11px !important;
  }

  .survey-app-shell #validation-card .otp-verify-container {
    gap: 7px;
  }

  .survey-app-shell #validation-card .otp-input {
    font-size: 17px !important;
  }

  .survey-app-shell #validation-card #otp-status {
    margin-top: 6px !important;
    font-size: 11px !important;
  }
}

.survey-app-shell .modal-overlay {
  max-width: 100%;
  max-height: 100%;
  padding: max(12px, var(--survey-safe-top, env(safe-area-inset-top, 0px))) 12px max(12px, var(--survey-safe-bottom, env(safe-area-inset-bottom, 0px)));
  overflow: hidden;
}

.survey-app-shell .modal-content {
  overflow: auto;
  width: min(100%, 400px) !important;
  max-width: 100% !important;
  max-height: calc(100% - 24px) !important;
}

.survey-app-shell #custom-alert-actions-confirm {
  flex-wrap: wrap;
}

.survey-app-shell #custom-alert-actions-confirm button {
  min-width: min(142px, 100%);
}

.survey-error-shell {
  background: radial-gradient(circle at 0 0, #e91e631f, #0000 30%), linear-gradient(135deg, #fff7fb 0%, #f3fbfb 100%);
  place-items: center;
  min-height: 100vh;
  padding: 24px;
  display: grid;
}

.survey-error-card {
  text-align: center;
  background: #fffffff0;
  border: 1px solid #e2e8f0f2;
  border-radius: 22px;
  width: min(620px, 100%);
  padding: 42px;
  box-shadow: 0 22px 70px #0f172a1f;
}

.survey-error-badge {
  color: #db2777;
  letter-spacing: .08em;
  background: #ffe4ef;
  border-radius: 999px;
  justify-content: center;
  align-items: center;
  min-width: 78px;
  height: 42px;
  margin-bottom: 20px;
  font-weight: 900;
  display: inline-flex;
}

.survey-error-card h1 {
  color: #111827;
  margin: 0 0 12px;
  font-size: clamp(30px, 5vw, 46px);
  line-height: 1.05;
}

.survey-error-card p {
  color: #667085;
  max-width: 440px;
  margin: 0 auto 28px;
  font-size: 16px;
  line-height: 1.6;
}

.survey-error-actions {
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  display: flex;
}

.survey-error-primary, .survey-error-secondary {
  cursor: pointer;
  border-radius: 12px;
  justify-content: center;
  align-items: center;
  min-width: 132px;
  min-height: 44px;
  font-weight: 800;
  text-decoration: none;
  display: inline-flex;
}

.survey-error-primary {
  color: #fff;
  background: #db2777;
  border: 1px solid #db2777;
}

.survey-error-secondary {
  color: #344054;
  background: #fff;
  border: 1px solid #d0d5dd;
}

.reports-app-shell {
  background: radial-gradient(circle at 0 0, #e91e6312, #0000 28%), linear-gradient(135deg, #fff7fb 0%, #f8fbff 100%);
  grid-template-columns: 280px minmax(0, 1fr);
  min-height: 100vh;
  display: grid;
}

.reports-sidebar {
  border-right: 1px solid var(--border);
  background: #ffffffdb;
  flex-direction: column;
  gap: 24px;
  min-height: 100vh;
  padding: 22px;
  display: flex;
}

.reports-brand {
  align-items: center;
  gap: 12px;
  display: flex;
}

.reports-brand img {
  width: 46px;
  height: auto;
}

.reports-brand strong {
  color: var(--text);
  font-family: Outfit, sans-serif;
  font-size: 20px;
  display: block;
}

.reports-brand span {
  color: var(--primary);
  text-transform: uppercase;
  margin-top: 2px;
  font-size: 12px;
  font-weight: 800;
  display: block;
}

.reports-sidebar nav {
  gap: 8px;
  display: grid;
}

.reports-sidebar nav button, .reports-logout, .reports-filterbar button, .reports-primary-action {
  border: 1px solid var(--border);
  min-height: 44px;
  color: var(--text-muted);
  cursor: pointer;
  background: #fff;
  border-radius: 12px;
  font-weight: 800;
}

.reports-sidebar nav button {
  text-align: left;
  padding: 0 14px;
}

.reports-sidebar nav button.active {
  color: var(--primary);
  background: var(--primary-light);
  border-color: #e91e633d;
}

.reports-logout {
  color: #b91c1c;
  margin-top: auto;
}

.reports-main {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: clamp(18px, 3vw, 34px);
}

.reports-topbar {
  background: none;
  border: 0;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  height: auto;
  padding: 0 0 20px;
  display: flex;
  position: static;
}

.reports-topbar h1 {
  color: var(--text);
  margin: 0;
  font-family: Outfit, sans-serif;
  font-size: clamp(24px, 3vw, 36px);
}

.reports-topbar p {
  color: var(--text-muted);
  margin-top: 6px;
  font-weight: 600;
}

.reports-filterbar {
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  display: flex;
}

.reports-filterbar select, .reports-filterbar input {
  border: 1px solid var(--border);
  min-height: 44px;
  color: var(--text);
  background: #fff;
  border-radius: 12px;
  padding: 0 12px;
  font-weight: 700;
}

.reports-grid {
  grid-template-columns: repeat(5, minmax(140px, 1fr));
  gap: 14px;
  display: grid;
}

.reports-card {
  border: 1px solid var(--border);
  min-height: 120px;
  box-shadow: var(--shadow-sm);
  background: #ffffffeb;
  border-radius: 18px;
  padding: 18px;
}

.reports-card span {
  color: var(--text-muted);
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 900;
  display: block;
}

.reports-card strong {
  color: var(--text);
  margin-top: 12px;
  font-family: Outfit, sans-serif;
  font-size: 34px;
  display: block;
}

.reports-primary-action {
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  grid-column: 1 / -1;
}

.reports-table-wrap {
  border: 1px solid var(--border);
  width: 100%;
  box-shadow: var(--shadow-sm);
  background: #fff;
  border-radius: 18px;
  overflow: auto;
}

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

.reports-table th, .reports-table td {
  text-align: left;
  border-bottom: 1px solid #eef2f7;
  padding: 14px 16px;
  font-size: 13px;
}

.reports-table th {
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .06em;
  background: #f8fafc;
  font-size: 11px;
}

.reports-alert, .reports-loading {
  border-radius: 12px;
  margin-bottom: 14px;
  padding: 12px 14px;
  font-weight: 800;
}

.reports-alert {
  color: #b91c1c;
  background: #fef2f2;
}

.reports-loading {
  background: var(--primary-light);
  color: var(--primary);
}

@media (max-width: 900px) {
  .reports-app-shell {
    grid-template-columns: 1fr;
  }

  .reports-sidebar {
    border-right: 0;
    border-bottom: 1px solid var(--border);
    min-height: 0;
  }

  .reports-sidebar nav {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }

  .reports-logout {
    margin-top: 0;
  }

  .reports-topbar {
    flex-direction: column;
  }

  .reports-filterbar {
    justify-content: flex-start;
    width: 100%;
  }

  .reports-grid {
    grid-template-columns: repeat(2, minmax(140px, 1fr));
  }
}

@media (max-width: 560px) {
  .reports-grid {
    grid-template-columns: 1fr;
  }
}

.ivf-display-page {
  color: #0f172a;
  background: radial-gradient(circle at 12% 15%, #e91e6333, #0000 28%), radial-gradient(circle at 88% 18%, #0d94882e, #0000 30%), linear-gradient(135deg, #fff7fb 0%, #fff 46%, #f0fdfa 100%);
  grid-template-rows: auto auto auto minmax(0, 1fr);
  gap: clamp(12px, 1.2vw, 20px);
  width: 100vw;
  max-width: none;
  min-height: 100svh;
  margin: 0;
  padding: clamp(18px, 2.4vw, 36px);
  display: grid;
  overflow: hidden;
}

.celebration-hero-card, .celebration-center-card, .celebration-leaderboard-card, .celebration-progress-card {
  overflow-wrap: anywhere;
  min-width: 0;
  max-width: 100%;
}

.ivf-display-loading {
  text-align: center;
  align-content: center;
  place-items: center;
  gap: 18px;
  min-height: 100svh;
  display: grid;
}

.ivf-display-loading img {
  width: 120px;
  height: auto;
}

.ivf-display-loading h1 {
  font-size: clamp(34px, 5vw, 68px);
}

.ivf-display-loading p {
  color: #64748b;
  font-size: clamp(18px, 2vw, 28px);
}

.ivf-display-header {
  background: #ffffffdb;
  border: 1px solid #e2e8f0d9;
  border-radius: 24px;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-bottom: 0;
  padding: 16px clamp(18px, 2vw, 30px);
  display: flex;
  box-shadow: 0 20px 60px #0f172a14;
}

.ivf-display-header img {
  width: clamp(80px, 7vw, 132px);
  height: auto;
}

.ivf-display-header div {
  text-align: right;
  justify-items: end;
  gap: 4px;
  display: grid;
}

.ivf-display-header span {
  color: #e91e63;
  text-transform: uppercase;
  letter-spacing: 0;
  font: 800 clamp(18px, 1.8vw, 28px) Outfit, sans-serif;
}

.ivf-display-header strong {
  color: #64748b;
  font-size: clamp(13px, 1.1vw, 18px);
}

.ivf-hero-counter {
  background: linear-gradient(135deg, #fffffff5, #ffffffd1), radial-gradient(circle at 90% 10%, #e91e632e, #0000 35%);
  border: 1px solid #e2e8f0d1;
  border-radius: 30px;
  grid-template-columns: minmax(0, 1fr) minmax(260px, .42fr);
  align-items: center;
  gap: clamp(18px, 2vw, 32px);
  padding: clamp(22px, 3vw, 46px);
  display: grid;
  box-shadow: 0 28px 90px #e91e6324;
}

.ivf-kicker {
  color: #0d9488;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: clamp(18px, 1.5vw, 26px);
  font-weight: 900;
}

.ivf-hero-copy h1 {
  color: #0f172a;
  letter-spacing: 0;
  max-width: 980px;
  margin-top: 12px;
  font-size: clamp(42px, 5.2vw, 92px);
  line-height: .95;
}

.ivf-hero-copy p:not(.ivf-kicker) {
  color: #64748b;
  max-width: 850px;
  margin-top: 18px;
  font-size: clamp(19px, 1.8vw, 32px);
  line-height: 1.35;
}

.ivf-total-meter {
  color: #fff;
  background: #0f172a;
  border-radius: 28px;
  justify-items: center;
  gap: 12px;
  padding: clamp(22px, 3vw, 38px);
  display: grid;
  box-shadow: inset 0 0 0 1px #ffffff1f, 0 22px 50px #0f172a3d;
}

.ivf-total-number {
  color: #fff;
  font: 900 clamp(74px, 8vw, 148px) / .82 Outfit, sans-serif;
}

.ivf-total-limit {
  color: #ffffffb8;
  font: 800 clamp(28px, 3vw, 52px) Outfit, sans-serif;
}

.ivf-total-progress, .ivf-center-progress {
  background: #94a3b838;
  border-radius: 999px;
  width: 100%;
  height: 14px;
  overflow: hidden;
}

.ivf-total-progress span, .ivf-center-progress span {
  border-radius: inherit;
  background: linear-gradient(90deg, #e91e63, #0d9488);
  height: 100%;
  transition: width .7s;
  display: block;
}

.ivf-total-meter strong {
  color: #ffffffd1;
  font-size: clamp(16px, 1.3vw, 24px);
}

.ivf-slots-banner {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  display: grid;
}

.ivf-slots-banner div, .ivf-leaderboard, .ivf-center-card {
  background: #ffffffe0;
  border: 1px solid #e2e8f0d1;
  box-shadow: 0 18px 48px #0f172a14;
}

.ivf-slots-banner div {
  border-radius: 22px;
  gap: 6px;
  padding: clamp(16px, 1.5vw, 24px);
  display: grid;
}

.ivf-slots-banner span {
  color: #64748b;
  text-transform: uppercase;
  font-size: clamp(12px, 1vw, 16px);
  font-weight: 800;
}

.ivf-slots-banner strong {
  color: #0f172a;
  font: 900 clamp(26px, 2.7vw, 48px) Outfit, sans-serif;
}

.ivf-display-warning {
  color: #92400e;
  background: #fffbebeb;
  border: 1px solid #f59e0b59;
  border-radius: 18px;
  margin: 0 0 18px;
  padding: 14px 18px;
  font-weight: 800;
}

.ivf-board-grid {
  grid-template-columns: minmax(280px, .28fr) minmax(0, 1fr);
  gap: clamp(16px, 2vw, 28px);
  min-height: 0;
  display: grid;
  overflow: hidden;
}

.ivf-leaderboard {
  border-radius: 26px;
  align-self: start;
  min-height: 0;
  padding: clamp(18px, 2vw, 28px);
  position: sticky;
  top: 18px;
}

.ivf-section-heading span {
  color: #e91e63;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 13px;
  font-weight: 900;
}

.ivf-section-heading h2 {
  margin-top: 6px;
  font-size: clamp(26px, 2.5vw, 44px);
}

.ivf-leaderboard-list {
  gap: 12px;
  margin-top: 20px;
  display: grid;
}

.ivf-leaderboard-row {
  background: linear-gradient(135deg, #fce4ecc7, #f0fdfad1);
  border-radius: 16px;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 14px;
  display: grid;
}

.ivf-leaderboard-row span, .ivf-center-rank {
  color: #fff;
  background: #e91e63;
  border-radius: 14px;
  place-items: center;
  min-width: 42px;
  height: 42px;
  font-weight: 900;
  display: inline-grid;
}

.ivf-leaderboard-row strong {
  overflow-wrap: anywhere;
  font-size: clamp(15px, 1.2vw, 22px);
}

.ivf-leaderboard-row em {
  color: #0d9488;
  font: 900 clamp(24px, 2vw, 36px) Outfit, sans-serif;
}

.ivf-center-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-content: start;
  gap: clamp(14px, 1.4vw, 22px);
  min-height: 0;
  display: grid;
}

.ivf-center-card {
  border-radius: 24px;
  gap: 12px;
  min-height: 0;
  padding: clamp(16px, 1.5vw, 24px);
  transition: transform .22s, box-shadow .22s, border-color .22s;
  display: grid;
  position: relative;
  overflow: hidden;
}

.ivf-center-card:before {
  content: "";
  background: linear-gradient(#e91e63, #0d9488);
  width: 8px;
  position: absolute;
  inset: 0 auto 0 0;
}

.ivf-center-card.is-highlighted {
  border-color: #e91e638c;
  animation: 1.4s ease-in-out 3 ivf-card-pulse;
  box-shadow: 0 26px 70px #e91e6338;
}

.ivf-center-card-header {
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  display: flex;
}

.ivf-center-code {
  color: #0d9488;
  background: #f0fdfa;
  border-radius: 999px;
  padding: 9px 12px;
  font-weight: 900;
}

.ivf-center-card h3 {
  overflow-wrap: anywhere;
  min-height: 0;
  font-size: clamp(19px, 1.55vw, 28px);
  line-height: 1.04;
}

.ivf-center-count-row {
  align-items: end;
  gap: 10px;
  display: flex;
}

.ivf-center-count-row strong {
  color: #e91e63;
  font: 900 clamp(42px, 4vw, 72px) / .85 Outfit, sans-serif;
}

.ivf-center-count-row span, .ivf-center-card p {
  color: #64748b;
  font-weight: 800;
}

.ivf-campaign-complete {
  color: #fff;
  text-align: center;
  background: linear-gradient(135deg, #0f172a, #143c3a);
  border-radius: 28px;
  align-content: center;
  place-items: center;
  gap: 10px;
  min-height: min(620px, 100svh - 320px);
  margin: 0 0 18px;
  padding: clamp(22px, 3vw, 38px);
  display: grid;
  box-shadow: 0 26px 80px #0f172a38;
}

.ivf-campaign-complete span {
  color: #f9a8d4;
  text-transform: uppercase;
  font-weight: 900;
}

.ivf-campaign-complete h2 {
  margin-top: 8px;
  font-size: clamp(56px, 7vw, 120px);
}

.ivf-recent-toast {
  z-index: 30;
  background: #fff;
  border: 1px solid #e91e6347;
  border-radius: 20px;
  gap: 4px;
  min-width: min(420px, 100vw - 36px);
  padding: 18px 22px;
  animation: .35s both ivf-toast-in;
  display: grid;
  position: fixed;
  top: clamp(18px, 3vw, 44px);
  right: clamp(18px, 3vw, 44px);
  box-shadow: 0 24px 70px #0f172a33;
}

.ivf-recent-toast strong {
  color: #e91e63;
  font-size: 18px;
}

.ivf-recent-toast span {
  color: #0f172a;
  font-size: 24px;
  font-weight: 900;
}

.ivf-celebration-layer {
  pointer-events: none;
  z-index: 25;
  opacity: 0;
  transition: opacity .16s;
  position: fixed;
  inset: 0;
  overflow: hidden;
}

.ivf-celebration-layer.is-active {
  opacity: 1;
}

.ivf-celebration-layer span {
  --particle-index: 0;
  left: calc((var(--particle-index) * 53px) % 100vw);
  background: hsl(calc(var(--particle-index) * 31), 82%, 58%);
  width: clamp(12px, 1vw, 20px);
  height: clamp(12px, 1vw, 20px);
  animation: 1.7s ease-out both ivf-particle-fall;
  animation-delay: calc(var(--particle-index) * 35ms);
  border-radius: 4px;
  position: absolute;
  top: -30px;
}

@keyframes ivf-particle-fall {
  0% {
    opacity: 0;
    transform: translate3d(0, 0, 0)rotate(0)scale(.8);
  }

  12% {
    opacity: 1;
  }

  100% {
    transform: translate3d(calc((var(--particle-index) - 8) * 18px), 105vh, 0) rotate(540deg) scale(1.1);
    opacity: 0;
  }
}

@keyframes ivf-card-pulse {
  0%, 100% {
    transform: translateY(0)scale(1);
  }

  45% {
    transform: translateY(-8px)scale(1.02);
  }
}

@keyframes ivf-toast-in {
  from {
    opacity: 0;
    transform: translateY(-16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1200px) {
  .ivf-hero-counter, .ivf-board-grid {
    grid-template-columns: 1fr;
  }

  .ivf-leaderboard {
    position: static;
  }

  .ivf-center-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1201px) {
  .ivf-display-page {
    height: 100svh;
  }
}

@media (min-width: 1500px) {
  .ivf-center-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 1400px) and (min-width: 1000px) {
  .ivf-display-page {
    gap: 10px;
    height: 100svh;
    padding: 14px;
  }

  .ivf-display-header {
    border-radius: 18px;
    padding: 10px 16px;
  }

  .ivf-display-header img {
    width: 74px;
  }

  .ivf-hero-counter {
    border-radius: 22px;
    grid-template-columns: minmax(0, 1fr) minmax(210px, 300px);
    padding: 18px;
  }

  .ivf-hero-copy h1 {
    font-size: clamp(34px, 4.1vw, 58px);
  }

  .ivf-hero-copy p:not(.ivf-kicker) {
    margin-top: 8px;
    font-size: 18px;
  }

  .ivf-total-number {
    font-size: clamp(62px, 6vw, 92px);
  }

  .ivf-slots-banner {
    gap: 8px;
  }

  .ivf-slots-banner div {
    border-radius: 16px;
    padding: 10px 12px;
  }

  .ivf-slots-banner strong {
    font-size: 28px;
  }

  .ivf-board-grid {
    grid-template-columns: minmax(230px, .24fr) minmax(0, 1fr);
    gap: 10px;
  }

  .ivf-leaderboard {
    border-radius: 18px;
    padding: 12px;
  }

  .ivf-leaderboard-list {
    gap: 7px;
    margin-top: 10px;
  }

  .ivf-leaderboard-row {
    border-radius: 12px;
    padding: 9px;
  }

  .ivf-center-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
  }

  .ivf-center-card {
    border-radius: 16px;
    gap: 7px;
    padding: 10px 12px 10px 16px;
  }

  .ivf-center-rank {
    border-radius: 10px;
    min-width: 30px;
    height: 30px;
    font-size: 12px;
  }

  .ivf-center-code {
    padding: 6px 8px;
    font-size: 12px;
  }

  .ivf-center-card h3 {
    font-size: 16px;
    line-height: 1.05;
  }

  .ivf-center-count-row strong {
    font-size: 38px;
  }

  .ivf-center-card p {
    margin: 0;
    font-size: 12px;
  }
}

@media (max-width: 760px) {
  .ivf-display-page {
    height: auto;
    min-height: 100svh;
    padding: 14px;
    overflow: auto;
  }

  .ivf-display-header, .ivf-slots-banner {
    grid-template-columns: 1fr;
  }

  .ivf-display-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .ivf-display-header div {
    text-align: left;
    justify-items: start;
  }

  .ivf-center-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ivf-celebration-layer span, .ivf-center-card.is-highlighted, .ivf-recent-toast {
    animation: none !important;
  }

  .ivf-total-progress span, .ivf-center-progress span {
    transition: none !important;
  }
}

.auth-shell {
  background: var(--surface-solid, #fff);
  border: 1px solid var(--border, #e5e7eb);
  border-radius: 30px;
  grid-template-columns: 1.05fr .95fr;
  width: min(1080px, 94vw);
  min-height: 650px;
  display: grid;
  overflow: hidden;
  box-shadow: 0 28px 80px #3d122a2e;
}

.auth-brand-panel {
  color: #fff;
  background: radial-gradient(circle at 80% 15%, #fff3, #0000 35%), linear-gradient(145deg, #b20b5a, #e94382 60%, #f5a1be);
  flex-direction: column;
  justify-content: space-between;
  padding: 52px;
  display: flex;
}

.auth-brand-panel img {
  filter: none;
  background: #fff;
  border-radius: 14px;
  width: 156px;
  height: auto;
  padding: 10px 12px;
  box-shadow: 0 10px 26px #490a2a2e;
}

.auth-brand-panel h1 {
  margin: 16px 0;
  font: 900 clamp(34px, 4vw, 52px) / 1.05 Outfit, sans-serif;
}

.auth-brand-panel p {
  opacity: .92;
  max-width: 480px;
  line-height: 1.7;
}

.auth-brand-panel small {
  opacity: .8;
  font-weight: 700;
}

.auth-form-panel {
  align-self: center;
  padding: clamp(34px, 5vw, 64px);
}

.auth-form-panel > h1 {
  color: var(--text);
  margin: 14px 0 8px;
  font: 900 34px / 1.1 Outfit, sans-serif;
}

.auth-intro {
  color: var(--text-muted);
  margin: 0 0 30px;
  line-height: 1.6;
}

.auth-eyebrow {
  letter-spacing: .14em;
  font-size: 11px;
  font-weight: 900;
}

.auth-security-pill {
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 11px;
  font-weight: 900;
  display: inline-flex;
}

.auth-forgot-link, .auth-back-link {
  color: var(--primary);
  cursor: pointer;
  background: none;
  border: 0;
  margin: 0 0 14px;
  padding: 8px 0;
  font-weight: 800;
}

.auth-submit {
  border-radius: 16px;
  width: 100%;
  height: 54px;
  font-weight: 900;
}

.auth-field {
  gap: 7px;
  margin: 18px 0;
  display: grid;
}

.auth-field span {
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 850;
}

.auth-field input {
  border: 2px solid color-mix(in srgb,var(--text-muted) 45%,var(--surface-solid));
  background: color-mix(in srgb,var(--surface-solid) 96%,var(--text) 4%);
  width: 100%;
  height: 50px;
  color: var(--text);
  border-radius: 14px;
  padding: 0 15px;
  transition: border-color .2s, box-shadow .2s, background-color .2s;
  box-shadow: inset 0 1px 2px #0f172a0a;
}

.auth-field input:hover {
  border-color: color-mix(in srgb,var(--primary) 42%,var(--text-muted));
}

.auth-field input:focus {
  border-color: var(--primary);
  background: var(--surface-solid);
  box-shadow: 0 0 0 4px color-mix(in srgb,var(--primary) 14%,transparent);
  outline: none;
}

.auth-methods {
  gap: 10px;
  margin: 20px 0;
  display: grid;
}

.auth-methods button {
  text-align: left;
  border: 1px solid var(--border);
  background: var(--surface-solid);
  color: var(--text);
  cursor: pointer;
  border-radius: 14px;
  gap: 4px;
  padding: 15px;
  display: grid;
}

.auth-methods button.selected {
  border-color: var(--primary);
  background: var(--primary-light);
}

.auth-methods span {
  color: var(--text-muted);
  font-size: 12px;
}

.auth-password-rules {
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  margin: 5px 0 16px;
  display: grid;
}

.auth-password-rules span {
  color: var(--text-muted);
  font-size: 11px;
}

.auth-password-rules .met {
  color: #15803d;
}

.auth-error {
  color: #be123c;
  background: #fff1f2;
  border-radius: 12px;
  margin: 14px 0;
  padding: 12px 14px;
  font-size: 13px;
  font-weight: 700;
}

.password-strength {
  margin: 10px 0 8px;
}

.password-strength-header {
  color: var(--text-muted);
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 7px;
  font-size: 11px;
  font-weight: 800;
  display: flex;
}

.password-strength-header strong {
  color: var(--text);
}

.password-strength-track {
  grid-template-columns: repeat(5, 1fr);
  gap: 5px;
  display: grid;
}

.password-strength-track i {
  background: color-mix(in srgb,var(--text-muted) 18%,transparent);
  border-radius: 999px;
  height: 6px;
  transition: background-color .2s, transform .2s;
  display: block;
}

.password-strength-track i.active {
  background: #f59e0b;
  transform: scaleY(1.08);
}

.password-strength[data-level="5"] .password-strength-track i.active {
  background: #16a34a;
}

.cookie-notice {
  z-index: 100000;
  left: 50%;
  bottom: max(18px,env(safe-area-inset-bottom));
  border: 1px solid color-mix(in srgb,var(--primary) 22%,var(--border));
  background: color-mix(in srgb,var(--surface-solid) 96%,transparent);
  width: min(920px, 100vw - 32px);
  color: var(--text);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-radius: 18px;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  display: grid;
  position: fixed;
  transform: translateX(-50%);
  box-shadow: 0 20px 60px #0f172a3d;
}

.cookie-notice-icon {
  background: color-mix(in srgb,var(--primary) 10%,var(--surface-solid));
  border-radius: 13px;
  place-items: center;
  width: 42px;
  height: 42px;
  font-size: 20px;
  display: grid;
}

.cookie-notice-copy strong {
  margin-bottom: 3px;
  font: 800 14px Outfit, sans-serif;
  display: block;
}

.cookie-notice-copy p {
  color: var(--text-muted);
  margin: 0;
  font-size: 11px;
  font-weight: 650;
  line-height: 1.5;
}

.cookie-notice-button {
  background: var(--primary);
  color: #fff;
  white-space: nowrap;
  cursor: pointer;
  min-height: 42px;
  box-shadow: 0 8px 20px var(--primary-glow);
  border: 0;
  border-radius: 12px;
  padding: 0 17px;
  font-size: 11px;
  font-weight: 850;
}

.cookie-notice-button:hover {
  transform: translateY(-1px);
}

.cookie-notice-button:focus-visible {
  outline: 3px solid color-mix(in srgb,var(--primary) 28%,transparent);
  outline-offset: 3px;
}

@media (max-width: 760px) {
  .auth-shell {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .auth-brand-panel {
    min-height: 220px;
    padding: 28px;
  }

  .auth-brand-panel h1 {
    font-size: 31px;
  }

  .auth-brand-panel small {
    display: none;
  }

  .auth-form-panel {
    padding: 30px;
  }

  .auth-password-rules {
    grid-template-columns: 1fr;
  }

  .cookie-notice {
    bottom: max(10px,env(safe-area-inset-bottom));
    border-radius: 16px;
    grid-template-columns: auto minmax(0, 1fr);
    width: calc(100vw - 20px);
    padding: 14px;
  }

  .cookie-notice-button {
    grid-column: 1 / -1;
    width: 100%;
  }
}

.legal-page-shell {
  background: radial-gradient(circle at 10% 0%,#d9006414,transparent 35%),var(--background, #f8fafc);
  min-height: 100vh;
  color: var(--text, #111827);
  padding: clamp(14px, 3vw, 42px);
}

.legal-page-card {
  border: 1px solid var(--border, #e5e7eb);
  background: var(--surface-solid, #fff);
  border-radius: 28px;
  width: min(1120px, 100%);
  margin: 0 auto;
  padding: clamp(18px, 4vw, 48px);
  box-shadow: 0 24px 70px #23141f1c;
}

.legal-topbar {
  border-bottom: 1px solid var(--border, #e5e7eb);
  color: var(--text-muted, #64748b);
  align-items: center;
  gap: 16px;
  padding-bottom: 18px;
  font-size: 12px;
  font-weight: 850;
  display: flex;
}

.legal-topbar .legal-brand-link {
  margin-right: 0;
}

.legal-topbar img {
  width: 112px;
  height: auto;
  display: block;
}

.legal-login-link {
  color: var(--primary, #d90064);
  margin-left: auto;
  font-weight: 850;
  text-decoration: none;
}

.legal-login-link:hover {
  text-decoration: underline;
}

.legal-login-link:focus-visible {
  outline: 3px solid color-mix(in srgb,var(--primary, #d90064) 32%,transparent);
  outline-offset: 4px;
  border-radius: 4px;
}

.legal-print {
  border: 1px solid var(--border, #e5e7eb);
  background: var(--surface-solid, #fff);
  min-height: 38px;
  color: var(--text, #111827);
  cursor: pointer;
  border-radius: 10px;
  padding: 0 14px;
  font-weight: 800;
}

.legal-hero {
  color: #fff;
  background: linear-gradient(135deg, #9d174d, #e5006d 58%, #f08db6);
  border-radius: 24px;
  margin: 28px 0;
  padding: clamp(24px, 4vw, 44px);
}

.legal-hero > p:first-child {
  letter-spacing: .16em;
  margin: 0 0 10px;
  font-size: 11px;
  font-weight: 900;
}

.legal-hero h1 {
  max-width: 780px;
  margin: 0 0 12px;
  font: 900 clamp(32px, 5vw, 54px) / 1.05 Outfit, sans-serif;
}

.legal-hero p:last-child {
  opacity: .9;
  max-width: 760px;
  margin: 0;
  line-height: 1.65;
}

.legal-document-control {
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin: 0 0 26px;
  display: grid;
}

.legal-document-control div {
  border: 1px solid var(--border, #e5e7eb);
  background: color-mix(in srgb,var(--primary, #d90064) 3%,var(--surface-solid, #fff));
  border-radius: 14px;
  padding: 14px;
}

.legal-document-control dt {
  color: var(--text-muted, #64748b);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 10px;
  font-weight: 900;
}

.legal-document-control dd {
  margin: 5px 0 0;
  font-size: 12px;
  font-weight: 800;
}

.legal-intro {
  border-left: 4px solid var(--primary, #d90064);
  background: color-mix(in srgb,var(--primary, #d90064) 5%,var(--surface-solid, #fff));
  border-radius: 0 14px 14px 0;
  max-width: 900px;
  margin: 0 auto 22px;
  padding: 20px;
  font-size: 15px;
  font-weight: 650;
  line-height: 1.75;
}

.legal-sections {
  max-width: 900px;
  margin: 0 auto;
}

.legal-sections section {
  border-bottom: 1px solid var(--border, #e5e7eb);
  padding: 22px 0;
}

.legal-sections h2, .legal-related h2 {
  margin: 0 0 12px;
  font: 850 22px / 1.25 Outfit, sans-serif;
}

.legal-sections p, .legal-sections li {
  color: var(--text-muted, #64748b);
  font-size: 14px;
  line-height: 1.75;
}

.legal-sections p {
  margin: 0 0 10px;
}

.legal-sections ul {
  margin: 7px 0;
  padding-left: 24px;
}

.legal-sections li {
  margin: 6px 0;
}

.legal-sections a, .legal-related a, .legal-site-footer a {
  color: var(--primary, #d90064);
  text-underline-offset: 3px;
  font-weight: 750;
}

.legal-related {
  border: 1px solid var(--border, #e5e7eb);
  border-radius: 18px;
  max-width: 900px;
  margin: 28px auto;
  padding: 20px;
}

.legal-related nav {
  flex-wrap: wrap;
  gap: 10px 18px;
  display: flex;
}

.legal-site-footer {
  border-top: 1px solid var(--border, #e5e7eb);
  color: var(--text-muted, #64748b);
  justify-content: space-between;
  gap: 20px;
  margin-top: 34px;
  padding-top: 22px;
  font-size: 11px;
  font-weight: 700;
  display: flex;
}

.legal-site-footer nav {
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 15px;
  display: flex;
}

@media (max-width: 760px) {
  .legal-page-shell {
    padding: 8px;
  }

  .legal-page-card {
    border-radius: 20px;
    padding: 17px;
  }

  .legal-document-control {
    grid-template-columns: 1fr 1fr;
  }

  .legal-site-footer {
    display: grid;
  }

  .legal-site-footer nav {
    justify-content: flex-start;
  }

  .legal-topbar span {
    display: none;
  }
}

@media print {
  .legal-page-shell {
    background: #fff;
    padding: 0;
  }

  .legal-page-card {
    box-shadow: none;
    border: 0;
    padding: 0;
  }

  .legal-print, .cookie-consent-layer, .cookie-settings-trigger {
    display: none !important;
  }

  .legal-hero {
    color: #111;
    background: #fff;
    border: 1px solid #ddd;
  }

  .legal-site-footer {
    break-inside: avoid;
  }
}

.cookie-consent-layer {
  z-index: 100000;
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  background: #0f172a7a;
  align-items: end;
  padding: 18px;
  display: grid;
  position: fixed;
  inset: 0;
}

.cookie-consent {
  border: 1px solid color-mix(in srgb,var(--primary, #d90064) 24%,var(--border, #e5e7eb));
  background: var(--surface-solid, #fff);
  width: min(820px, 100%);
  color: var(--text, #111827);
  border-radius: 22px;
  margin: 0 auto;
  padding: 24px;
  box-shadow: 0 28px 90px #0f172a4d;
}

.cookie-consent-heading {
  align-items: center;
  gap: 12px;
  display: flex;
}

.cookie-consent-heading > span {
  background: color-mix(in srgb,var(--primary, #d90064) 11%,var(--surface-solid, #fff));
  width: 42px;
  height: 42px;
  color: var(--primary, #d90064);
  border-radius: 13px;
  place-items: center;
  display: grid;
}

.cookie-consent-heading p {
  color: var(--primary, #d90064);
  letter-spacing: .13em;
  margin: 0;
  font-size: 9px;
  font-weight: 900;
}

.cookie-consent-heading h2 {
  margin: 3px 0 0;
  font: 850 22px Outfit, sans-serif;
}

.cookie-consent > p {
  color: var(--text-muted, #64748b);
  font-size: 13px;
  line-height: 1.6;
}

.cookie-policy-link {
  color: var(--primary, #d90064);
  font-size: 11px;
  font-weight: 800;
}

.cookie-categories {
  gap: 8px;
  margin: 16px 0;
  display: grid;
}

.cookie-categories label {
  border: 1px solid var(--border, #e5e7eb);
  border-radius: 12px;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 12px 14px;
  display: flex;
}

.cookie-categories strong, .cookie-categories small {
  display: block;
}

.cookie-categories strong {
  font-size: 12px;
}

.cookie-categories small {
  color: var(--text-muted, #64748b);
  margin-top: 3px;
  font-size: 10px;
}

.cookie-categories input {
  width: 20px;
  height: 20px;
  accent-color: var(--primary, #d90064);
}

.cookie-consent-actions {
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 9px;
  margin-top: 18px;
  display: flex;
}

.cookie-consent-actions button {
  cursor: pointer;
  border-radius: 11px;
  min-height: 42px;
  padding: 0 15px;
  font-size: 11px;
  font-weight: 850;
}

.cookie-secondary {
  border: 1px solid var(--border, #e5e7eb);
  background: var(--surface-solid, #fff);
  color: var(--text, #111827);
}

.cookie-primary {
  border: 1px solid var(--primary, #d90064);
  background: var(--primary, #d90064);
  color: #fff;
}

.cookie-settings-trigger {
  z-index: 99990;
  border: 1px solid var(--border, #e5e7eb);
  background: var(--surface-solid, #fff);
  min-height: 34px;
  color: var(--text, #111827);
  cursor: pointer;
  border-radius: 999px;
  padding: 0 12px;
  font-size: 10px;
  font-weight: 800;
  position: fixed;
  bottom: 12px;
  left: 12px;
  box-shadow: 0 7px 22px #0f172a24;
}

@media (max-width: 640px) {
  .cookie-consent-layer {
    padding: 8px;
  }

  .cookie-consent {
    border-radius: 17px;
    padding: 18px;
  }

  .cookie-consent-actions {
    display: grid;
  }

  .cookie-consent-actions button {
    width: 100%;
  }
}

.login-policy-links {
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 12px;
  margin-top: 14px;
  display: flex;
}

.login-policy-links a {
  color: var(--text-muted);
  text-underline-offset: 3px;
  font-size: 9px;
  font-weight: 750;
}

.login-policy-links a:hover {
  color: var(--primary);
}

/*# sourceMappingURL=_0xizsvx._.css.map*/