:root {
  --bg: #141816;
  --surface: #1d2420;
  --surface-2: #222b25;
  --input: #121914;
  --line: #3a443c;
  --line-strong: #52604f;
  --ink: #f2efe5;
  --muted: #b5bdb1;
  --amber: #e2b66f;
  --amber-ink: #211a11;
  --red: #f1aaa0;
}

* { box-sizing: border-box; }

html { background: var(--bg); }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.55;
}

button, input { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: 0.48; }

:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 3px;
}

/* Fix23 (S17): the page moves focus to the heading on load;
   that programmatic focus draws no outline. Keyboard focus
   still shows the amber outline above. */
/* Fix24 (S17): both engines treat the load-time script focus
   as focus-visible, so the outline still drew. The heading is
   focusable only by script (tabindex -1, never in the tab
   order), so its focus never draws the outline; keyboard
   focus on real controls keeps the amber outline above. */
#coach-heading:focus {
  outline: none;
}

.site-header {
  width: min(880px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 20px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--line);
}

.brand {
  font-family: Georgia, serif;
  font-size: clamp(32px, 6vw, 48px);
  line-height: 1;
  letter-spacing: -1px;
  white-space: nowrap;
}

.brand span { color: var(--amber); font-style: italic; }

/* Fix81: the AI assistant note lives in the footer, under the card. */
.assistant-note {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
  margin: 0 0 10px;
}

/* Fix81: the returning visitor's sign in, top right in the header,
   aligned with the wordmark. */
.signin-link {
  color: var(--amber);
  font-size: 15px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  white-space: nowrap;
  padding-bottom: 6px;
}

.page {
  width: min(760px, calc(100% - 32px));
  margin: 0 auto;
  padding: 34px 0 40px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: clamp(24px, 5vw, 44px);
}

/* One calm entrance for the incoming card (fix12, W5): a short
   fade with a small rise. coach.js adds the class on each card
   change and skips it when the visitor prefers reduced motion;
   the media query below disables it regardless. */
@keyframes card-enter {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}
.card.card-enter { animation: card-enter 180ms ease-out; }
@media (prefers-reduced-motion: reduce) {
  .card.card-enter { animation: none; }
}

.step {
  color: var(--amber);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  margin: 0 0 14px;
  text-transform: uppercase;
}

h1 {
  font-family: Georgia, serif;
  font-size: clamp(34px, 6vw, 50px);
  font-weight: 400;
  letter-spacing: -1px;
  line-height: 1.08;
  margin: 0;
}

.intro {
  color: var(--muted);
  font-size: 19px;
  margin: 18px 0 10px;
  max-width: 590px;
}

.question {
  font-size: 22px;
  font-weight: 650;
  line-height: 1.4;
  margin: 20px 0 4px;
}

.conclusion-line {
  border-left: 3px solid var(--amber);
  padding: 4px 0 4px 14px;
  margin: 20px 0 0;
  font-size: 18px;
}
.conclusion-line strong { color: var(--amber); }

.answer-text {
  font-size: 18px;
  margin: 20px 0 0;
  white-space: pre-wrap;
}

.field { margin-top: 24px; }

label {
  display: block;
  font-weight: 650;
  line-height: 1.4;
}

input[type="text"] {
  display: block;
  width: 100%;
  min-height: 56px;
  margin-top: 9px;
  padding: 13px 15px;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  background: var(--input);
  color: var(--ink);
  font-size: 20px;
}

input[aria-invalid="true"] { border-color: var(--red); }
input[hidden] { display: none; }

.help {
  color: var(--muted);
  font-size: 14px;
  margin: 8px 0 0;
}

.error {
  color: var(--red);
  font-size: 15px;
  font-weight: 600;
  margin: 8px 0 0;
}

.note {
  color: var(--red);
  font-size: 15px;
  font-weight: 600;
  margin: 14px 0 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  border-radius: 4px;
  padding: 14px 22px;
  font-weight: 750;
  line-height: 1.25;
  text-decoration: none;
  text-align: center;
}

.button.primary {
  width: 100%;
  margin-top: 30px;
  border: 1px solid var(--amber);
  background: var(--amber);
  color: var(--amber-ink);
  font-size: 19px;
}

.button.secondary {
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--ink);
}
.button.secondary.small { min-height: 44px; padding: 9px 16px; }

.button:hover { filter: brightness(1.08); }

.actions {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}
.actions .button { margin-top: 0; width: 100%; }
.actions .button.secondary { min-height: 52px; }

.text-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-top: 22px;
}

.text-link {
  background: none;
  border: 0;
  padding: 4px 0;
  color: var(--amber);
  font-size: 15px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
a.text-link { cursor: pointer; }

.price {
  color: var(--amber);
  font-family: Georgia, serif;
  font-size: clamp(48px, 10vw, 76px);
  line-height: 1.05;
  letter-spacing: -2px;
  margin: 24px 0 6px;
  font-variant-numeric: tabular-nums;
}

.price-note, .conclusion { color: var(--muted); }
.price-note { margin: 0; }

.breakdown { margin: 30px 0 0; }
.breakdown > div {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.breakdown dt { color: var(--muted); }
.breakdown dd {
  margin: 0;
  font-variant-numeric: tabular-nums;
  font-weight: 650;
  text-align: right;
  white-space: nowrap;
}
.breakdown .total { border-bottom: 0; font-size: 19px; }
.breakdown .total dt { color: var(--ink); font-weight: 700; }
/* Fix91 (item 1): the breakdown reads as groups. Component
   rows indent and carry no divider; a rule sits above each
   subtotal, where its group closes; the added rows carry a
   quiet plus before the label (CSS only, the label text is
   unchanged); the total stands in its own band under a
   stronger rule. */
.breakdown .part { padding-left: 16px; border-bottom: 0; }
.breakdown .subtotal { border-top: 1px solid var(--line); border-bottom: 0; }
.breakdown .subtotal dt { color: var(--ink); font-weight: 650; }
.breakdown .addon { border-bottom: 0; }
.breakdown .addon dt::before { content: '+ '; color: var(--muted); }
.breakdown .total {
  border-top: 2px solid var(--line-strong);
  background: var(--surface-2);
  padding-left: 10px;
  padding-right: 10px;
  margin-top: 10px;
  border-radius: 6px;
}

.conclusion { font-size: 18px; margin: 26px 0 0; }

.trade-actions { display: grid; gap: 10px; margin-top: 22px; }
.trade-actions .button { width: 100%; margin-top: 0; justify-content: flex-start; }

/* Fix16 interview: the starting suggestion box and the review list. */
.suggestion-box {
  border: 1px solid var(--line-strong);
  border-radius: 5px;
  background: var(--surface-2);
  margin-top: 22px;
  padding: 16px 18px;
}
.suggestion-label {
  color: var(--amber);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin: 0;
  text-transform: uppercase;
}
.suggestion-value { font-size: 26px; font-weight: 700; margin: 6px 0 0; }
input[readonly] { opacity: 0.75; }
.review-list { border-top: 1px solid var(--line); margin-top: 22px; }
.review-row {
  display: grid;
  gap: 2px 14px;
  grid-template-columns: 1fr auto;
  border-bottom: 1px solid var(--line);
  padding: 10px 0;
}
.review-label { font-weight: 650; }
.review-value { font-weight: 700; text-align: right; }
.review-state { color: var(--muted); font-size: 14px; grid-column: 1 / -1; }

/* Fix16 restoration: position summary rows, the insurance quote
   comparison, and the segment close lines. */
.position-row {
  display: grid;
  gap: 2px 14px;
  grid-template-columns: 1fr auto;
  border-bottom: 1px solid var(--line);
  padding: 10px 0;
}
.position-area { font-weight: 650; }
.position-priority { color: var(--muted); font-size: 14px; text-align: right; }
.position-status { color: var(--ink); font-size: 15px; grid-column: 1 / -1; }

.quotes-grid { margin-top: 6px; }
.quote-col { border-top: 1px solid var(--line); margin-top: 22px; padding-top: 6px; }
.quote-title { font-size: 19px; margin: 14px 0 0; }
select {
  display: block;
  width: 100%;
  min-height: 56px;
  margin-top: 9px;
  padding: 13px 15px;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  background: var(--input);
  color: var(--ink);
  font-size: 20px;
  font: inherit;
}

.segment-close {
  border-left: 3px solid var(--amber);
  margin: 24px 0 0;
  padding: 2px 0 2px 14px;
}
.segment-close .close-line { font-size: 16px; margin: 8px 0 0; max-width: 590px; }
.segment-close .close-line:first-child { margin-top: 0; }

.sample-flavor { color: var(--muted); font-size: 15px; margin: 12px 0 0; }

.insight { color: var(--muted); font-size: 16px; margin: 22px 0 0; max-width: 590px; }

/* Fix27 (Census geography): the pre-1980 homes line on the
   permits screen, quiet like the insight lines but set apart by
   the rule above it, since it is a checked fact about the
   visitor's own ZIP area rather than coaching text. */
.census-line { border-top: 1px solid var(--line); margin: 20px 0 0; padding: 12px 0 0; max-width: 590px; }
.census-text { color: var(--muted); font-size: 15px; line-height: 1.5; margin: 0; }

/* Fix20 coaching presence: the running position strip inside
   the interview flow, and the local best pick glimmer riding an
   interview card. The strip is two short lines at most, quiet
   by design; the glimmer reuses the resource block shape. */
.flow-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 16px 0 0; padding: 9px 0; }
.flow-line { color: var(--muted); font-size: 14px; line-height: 1.45; margin: 3px 0 0; max-width: 590px; }
.flow-line:first-child { margin-top: 0; }

.glimmer { margin: 20px 0 0; }
.glimmer .pick-line { margin-top: 0; }
.glimmer .resource { margin-top: 10px; }
.resource-photo { display: block; max-width: 100%; height: auto; border-radius: 5px; margin: 10px 0 0; }

/* Fix14 personal layer: reasoning cue, context offers, local help
   entries, document lines, and the score display. */
.reasoning { color: var(--muted); font-size: 15px; font-style: italic; margin: 18px 0 0; max-width: 590px; }

.offer-line { color: var(--muted); font-size: 16px; margin: 22px 0 0; max-width: 590px; }

.pick-line { font-size: 16px; font-weight: 650; margin: 20px 0 0; max-width: 590px; }

.resource { border-top: 1px solid var(--line); margin-top: 20px; padding-top: 16px; }
.resource-name { font-size: 18px; font-weight: 650; margin: 0; }
.resource-why { color: var(--ink); font-size: 16px; margin: 6px 0 0; max-width: 590px; }
.resource-line { color: var(--muted); font-size: 16px; margin: 4px 0 0; }
.resource .text-links { margin-top: 8px; }

/* Fix17 verified specifics: entry detail lines, the bank account
   facts block, and the coverage facts card sections. */
.resource-details { margin-top: 8px; }
.resource-detail { color: var(--ink); font-size: 15px; margin: 4px 0 0; max-width: 590px; }

.account-facts { border-top: 1px solid var(--line); margin-top: 20px; padding-top: 16px; }
.account-facts-head { font-size: 16px; font-weight: 650; margin: 0; }
.account-fact { color: var(--ink); font-size: 15px; margin: 6px 0 0; max-width: 590px; }
.account-facts a { color: var(--amber); }

.desk-block { margin-top: 24px; }
.desk-block a { color: var(--amber); }

.doc-lines p { font-size: 17px; line-height: 1.5; margin: 10px 0 0; max-width: 620px; }

.score-big { font-size: 34px; font-weight: 700; margin: 18px 0 4px; }

.disclaimer {
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--surface-2);
  color: var(--muted);
  font-size: 15px;
  margin: 0 0 26px;
  padding: 13px 16px;
}

.choices {
  border: 0;
  padding: 0;
  margin: 24px 0 0;
}
.choices legend {
  font-size: 22px;
  font-weight: 650;
  line-height: 1.35;
  padding: 0;
  margin-bottom: 8px;
}
.choice {
  display: flex;
  align-items: center;
  gap: 13px;
  min-height: 58px;
  padding: 13px 16px;
  margin-top: 10px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--surface-2);
  font-weight: 600;
}
.choice input {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  accent-color: var(--amber);
}
.other-field { margin-top: 16px; }

.fork-actions { display: grid; gap: 12px; margin-top: 26px; }
.fork-actions .button { margin-top: 0; width: 100%; }

.plan-lines { margin: 22px 0 0; padding: 0; list-style: none; }
.plan-lines li {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 17px;
}
.plan-lines li:last-child { border-bottom: 0; }
.plan-lines .plan-head {
  color: var(--amber);
  font-weight: 700;
  padding-top: 18px;
  border-bottom: 0;
}

.tool-list { margin: 22px 0 0; padding: 0; list-style: none; }
.tool-list li { padding: 11px 0; border-bottom: 1px solid var(--line); }
.tool-list li:last-child { border-bottom: 0; }
.tool-list a { color: var(--ink); font-weight: 650; text-decoration: none; }
.tool-list a:hover { color: var(--amber); }
.tool-list span { display: block; color: var(--muted); font-size: 15px; margin-top: 2px; }

.waiting { color: var(--muted); font-size: 19px; margin-top: 20px; }

.site-footer {
  width: min(880px, calc(100% - 32px));
  margin: 0 auto;
  padding: 6px 0 34px;
}
.privacy-line { color: var(--muted); font-size: 14px; margin: 0 0 10px; }
.footer-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 22px;
}
.copyright { color: var(--muted); font-size: 14px; }
.share-status { color: var(--muted); font-size: 14px; }

.history-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 12, 10, 0.72);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 28px 16px;
  overflow-y: auto;
  z-index: 40;
}
.history-overlay[hidden] { display: none; }
.history-box {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 6px;
  width: min(680px, 100%);
  padding: 26px clamp(20px, 4vw, 36px);
}
.history-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.history-head h2 {
  font-family: Georgia, serif;
  font-weight: 400;
  font-size: 28px;
  margin: 0;
}
.history-list { margin-top: 10px; }
.history-entry { padding: 10px 0; border-bottom: 1px solid var(--line); white-space: pre-wrap; }
.history-entry .who { color: var(--amber); font-weight: 700; display: block; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 3px; }
.history-note { color: var(--muted); font-size: 14px; margin: 16px 0 0; }

/* The print-only one page plan (fix11, W3) never shows on screen. */
#coach-print-plan { display: none; }

@media print {
  @page { size: letter; margin: 0.5in; }
  html, body { background: #ffffff !important; }
  .site-header, .page, .site-footer, .history-overlay { display: none !important; }
  #coach-print-plan {
    display: block !important;
    color: #000000;
    background: #ffffff;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 11pt;
    line-height: 1.3;
  }
  .pp-brand {
    font-family: Georgia, serif;
    font-size: 17pt;
    margin: 0 0 2pt;
  }
  .pp-title {
    font-family: Georgia, serif;
    font-weight: 400;
    font-size: 20pt;
    margin: 0 0 4pt;
  }
  .pp-date { margin: 0 0 2pt; }
  .pp-name { margin: 0 0 2pt; font-weight: 650; }
  .pp-block { margin-top: 10pt; page-break-inside: avoid; }
  .pp-head {
    font-size: 12.5pt;
    margin: 0 0 3pt;
    padding-bottom: 2pt;
    border-bottom: 1.5pt solid #000000;
  }
  .pp-row {
    display: flex;
    justify-content: space-between;
    gap: 24pt;
    padding: 2pt 0;
    border-bottom: 0.5pt solid #666666;
  }
  .pp-value { font-weight: 650; font-variant-numeric: tabular-nums; white-space: nowrap; }
  .pp-line { margin: 2pt 0; }
  .pp-steps { margin: 3pt 0 0; padding-left: 16pt; }
  .pp-steps li { margin: 1pt 0; }
  .pp-privacy { margin-top: 10pt; font-size: 10pt; }
}

@media (max-width: 620px) {
  .site-header {
    display: block;
    padding-top: 22px;
  }
  .signin-link {
    display: inline-block;
    margin-top: 10px;
  }
  .page { padding-top: 22px; }
  .breakdown > div { gap: 14px; }
  .breakdown dd { white-space: normal; }
}

/* Wow change 1: path finder (pathfinder.js). Append-only block. */
.pf-kicker { color: var(--amber); font-size: 14px; font-weight: 700; margin: 14px 0 0; letter-spacing: 0.02em; }
.pf-why { margin-top: 16px; }
.pf-why-toggle { margin-top: 0; }
.pf-why-toggle:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }
.pf-why-lines[hidden] { display: none; }
.pf-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.pf-chips .button { min-height: 44px; padding: 9px 14px; font-size: 16px; margin: 0; }
.pf-choices { display: grid; gap: 10px; margin-top: 20px; }
.pf-choices .button { width: 100%; margin: 0; justify-content: flex-start; text-align: left; }
/* fix45: the guessed state is a suggestion, outlined, never chosen for the visitor. */
.pf-choices .button.pf-suggested { border-color: var(--amber); box-shadow: inset 0 0 0 1px var(--amber); }
.pf-geo-line { color: var(--muted); margin-top: 10px; }
.pf-known { color: var(--muted); font-size: 16px; }
.pf-headline { font-size: 26px; line-height: 1.3; }
.pf-pivot { border-left: 3px solid var(--amber); padding: 4px 0 4px 14px; margin: 18px 0 0; font-size: 17px; }
.pf-src a, .pf-extras a { color: var(--amber); }
.pf-table { width: 100%; border-collapse: collapse; margin-top: 12px; font-size: 15px; }
.pf-table th, .pf-table td { text-align: left; vertical-align: top; padding: 8px 8px; border-bottom: 1px solid var(--line); }
.pf-table thead th { color: var(--muted); font-weight: 650; font-size: 13px; }
.pf-table tbody th { font-weight: 650; width: 34%; }
.pf-unknown-row td:nth-child(2) { color: var(--amber); font-weight: 650; }
.pf-next { margin-top: 8px; }
.pf-artifact { margin-top: 18px; }
.pf-letter { white-space: pre-wrap; word-wrap: break-word; background: var(--input); border: 1px solid var(--line-strong); border-radius: 4px; padding: 14px; font-family: inherit; font-size: 15px; line-height: 1.5; margin: 10px 0 0; max-height: 360px; overflow: auto; }
.pf-artifact .actions { grid-template-columns: auto 1fr; align-items: center; margin-top: 12px; }
.pf-artifact .actions .button { width: auto; }
@media (max-width: 520px) {
  .pf-table { font-size: 14px; }
  .pf-table thead { display: none; }
  .pf-table tr { display: block; padding: 8px 0; border-bottom: 1px solid var(--line); }
  .pf-table th, .pf-table td { display: block; border: 0; padding: 2px 0; width: auto; }
  .pf-table tbody th { width: auto; }
  .pf-headline { font-size: 23px; }
}

/* Fix32: job sources card */
.sources32-order { margin: 12px 0 0; padding-left: 22px; }
.sources32-order li { margin: 0 0 10px; line-height: 1.45; }
.button.secondary.referrer32[aria-pressed="true"] { border-color: var(--amber); background: var(--amber); }

/* Fix56: the front door on the start card. */
.front-lede { font-size: 18px; line-height: 1.55; color: var(--ink); margin: 14px 0 22px; max-width: 34em; }
.front-benefits { list-style: none; margin: 26px 0 0; padding: 18px 0 0; border-top: 1px solid rgba(181, 189, 177, 0.25); display: grid; gap: 12px; }
.front-benefits li { color: var(--muted); line-height: 1.55; padding-left: 16px; border-left: 3px solid var(--amber); }
.front-benefits strong { color: var(--ink); font-weight: 600; }
.front-access, .front-scope { color: var(--muted); font-size: 15px; line-height: 1.55; margin: 16px 0 0; }
.front-boundary90 { color: var(--muted); font-size: 15px; line-height: 1.55; margin: 16px 0 0; }
.front-privacy91 { color: var(--muted); font-size: 15px; line-height: 1.55; margin: 10px 0 0; }
.front-sample90 { margin: 26px 0 0; padding: 16px 18px; border: 1px solid var(--line, #3a3f3a); border-radius: 10px; }
.front-sample-tag90 { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--amber); margin: 0 0 8px; }
.front-sample-title90 { font-size: 17px; font-weight: 600; color: var(--ink); margin: 0 0 8px; }
.front-sample90 p { color: var(--muted); line-height: 1.55; margin: 0 0 10px; }
.front-sample90 .front-sample-tag90 { color: var(--amber); }
.front-sample90 .front-sample-title90 { color: var(--ink); }
.front-sample-list90 { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 10px; }
.front-sample-list90 li { color: var(--muted); line-height: 1.55; padding-left: 16px; border-left: 3px solid var(--amber); }
.front-sample-list90 strong { color: var(--ink); font-weight: 600; }
@media (min-width: 760px) { .front-benefits { grid-template-columns: repeat(3, 1fr); gap: 18px; } }
/* Fix58: paint brand and store kind choices, two per row, with the picked one marked. */
#coach-paint-brands, .store-type-choice .trade-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 12px; }
.store-type-choice .question { margin-top: 18px; }
.button.secondary.store-type[aria-pressed="true"] { border-color: var(--amber); background: var(--amber); }
.paint-brand-block { margin-top: 18px; }
/* Fix59: the feedback prompt and the usage disclosure. */
.usage-line { color: var(--muted); font-size: 14px; margin: 0 0 10px; }
.feedback-box { margin-top: 22px; padding: 16px 18px; border: 1px solid var(--line, #3a3f3a); border-radius: 10px; }
.feedback-box.compact { padding: 12px 14px; }
.feedback-question { margin: 0 0 10px; font-weight: 600; }
.feedback-ratings { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.feedback-rating { font: inherit; padding: 8px 12px; border-radius: 8px; border: 1px solid var(--line, #3a3f3a); background: transparent; color: inherit; cursor: pointer; min-height: 44px; }
.feedback-rating[aria-pressed="true"] { border-color: var(--amber); background: var(--amber); color: #1a1a1a; }
.feedback-label { display: block; font-size: 15px; margin-bottom: 6px; }
.feedback-text { width: 100%; box-sizing: border-box; font: inherit; padding: 8px 10px; border-radius: 8px; border: 1px solid var(--line, #3a3f3a); background: transparent; color: inherit; }
.feedback-hint { color: var(--muted); font-size: 14px; margin: 6px 0 10px; }
.feedback-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.feedback-actions .feedback-send { margin-top: 0; width: auto; }
.feedback-skip { background: none; border: 0; padding: 0; font: inherit; cursor: pointer; }
.feedback-status, .feedback-thanks { margin: 8px 0 0; font-size: 15px; }

/* fix93: the website preview offer under the plan. The block
   renders only for a session the deterministic gate qualifies,
   and only while the feature flag is on. */
.site-offer93 { margin: 26px 0 0; padding: 16px 18px; border: 1px solid var(--line, #3a3f3a); border-radius: 10px; }
.site-offer93-title { color: var(--ink); font-size: 20px; line-height: 1.35; margin: 0 0 10px; }
.site-offer93-body { color: var(--muted); line-height: 1.55; margin: 0 0 14px; }
.site-offer93-btn { min-height: 48px; width: 100%; }
.site-offer93-note { margin: 10px 0 0; }
/* fix94: the website review block under the plan. The block
   renders only for a session with a website that the fix93
   gate does not qualify, and only while its own flag is on. */
.site-review94 { margin: 26px 0 0; padding: 16px 18px; border: 1px solid var(--line, #3a3f3a); border-radius: 10px; }
.site-review94-title { color: var(--ink); font-size: 20px; line-height: 1.35; margin: 0 0 10px; }
.site-review94-body { color: var(--muted); line-height: 1.55; margin: 0 0 14px; }
.site-review94-label { display: block; margin: 0 0 6px; }
.site-review94-input { width: 100%; min-height: 48px; font-size: 16px; padding: 10px 12px; margin: 0 0 12px; box-sizing: border-box; }
.site-review94-btn { min-height: 48px; width: 100%; }
.site-review94-list { margin: 0 0 14px; padding-left: 20px; line-height: 1.55; }
.site-review94-list li { margin: 0 0 8px; }
.site-review94-note { margin: 10px 0 0; }

/* fix113 Part C: the card is filled by the script, so the first paint
   showed the footer right under the empty card and then pushed it off
   the screen (layout shift 0.25 to 0.6), and on the coach the save bar
   then pushed the card down. The page body and footer now wait, hidden
   but laid out, until the card has its content, and appear with it.
   Browsers without :has() show them as before. */
.page:has(> .card:empty),
.page:has(> .card:empty) ~ .site-footer { visibility: hidden; }
/* fix113 Part C: on the coach the save bar sits between the header and
   the card, and its script runs just after the card is drawn, so the
   page body also waits for the bar. If the bar never arrives, the page
   shows after 1.5 seconds anyway. */
body:not(:has(> #flx-save-bar)) > .page { visibility: hidden; animation: fix113-show 0s linear 1.5s forwards; }
@keyframes fix113-show { to { visibility: visible; } }

/* fix114: the benefits and the sample sit behind one tap on the entry screen. */
.front-more114 { margin: 22px 0 0; }
.front-more114 > summary { cursor: pointer; color: var(--amber); min-height: 44px; display: flex; align-items: center; }
.front-flow114 a { color: var(--amber); }
