/* ================================================================
   SOFT UI layer (loaded after app.css, so it restyles everything)
   Light by default: off-white page, white cards, large radii, soft layered shadows,
   gentle coral gradient buttons (black text), pill inputs with a teal focus glow.
   Text colours stay on the Eagle Rank contrast pairs (tokens at the top of app.css).
   ================================================================ */
:root {
  --soft-bg: #F2F6F7;
  --soft-card: #FFFFFF;
  --soft-line: #E3EEF0;
  --soft-r: 20px;
  --soft-r-sm: 12px;
  --soft-shadow-sm: 0 1px 2px rgba(20,49,58,.05), 0 2px 8px rgba(20,49,58,.05);
  --soft-shadow: 0 2px 6px rgba(20,49,58,.05), 0 12px 32px rgba(20,49,58,.08);
  --soft-shadow-lg: 0 4px 10px rgba(20,49,58,.06), 0 22px 48px rgba(20,49,58,.12);
  --soft-coral: linear-gradient(135deg, #FF9A90 0%, #FF6F61 100%);
  --soft-teal: linear-gradient(135deg, #3B7684 0%, #2F5F6A 55%, #234A53 100%);
  --soft-focus: 0 0 0 4px rgba(127,179,192,.35);
}

/* Soft dark: deep teal-charcoal instead of pure black */
html, body, .app-wrapper { background: #0E1D22; }
body.light, body.light .app-wrapper {
  background: radial-gradient(1200px 600px at 10% -10%, #E6F1F3 0%, rgba(230,241,243,0) 60%),
              radial-gradient(900px 500px at 110% 10%, #FFEDEA 0%, rgba(255,237,234,0) 55%), var(--soft-bg);
  background-attachment: fixed;
}

/* ── Surfaces: one soft card style everywhere ── */
.form-section, .auth-card, .lp-step, .lp-card, .lp-price, .lp-faq details, .plan-card, .plan-acct, .staff-card, .staff-sec,
.rd-item, .unlock-card, .sample-box, .cmp-pair, .cmp-ins-col, .chat-msg, .lp-mock, .guide-card, .bridge-card {
  border-radius: var(--soft-r); box-shadow: var(--soft-shadow);
}
.form-section, .auth-card, .staff-sec, .staff-card, .lp-step, .lp-card, .lp-price, .lp-faq details, .plan-card, .rd-item {
  background: #14313A; border: 1px solid rgba(127,179,192,.14);
}
body.light .form-section, body.light .auth-card, body.light .staff-sec, body.light .staff-card, body.light .lp-step,
body.light .lp-card, body.light .lp-price, body.light .lp-faq details, body.light .plan-card, body.light .rd-item,
body.light .plan-acct, body.light .sample-box, body.light .cmp-pair, body.light .cmp-ins-col {
  background: var(--soft-card); border: 1px solid var(--soft-line);
}
.plan-card.plan-current, .lp-price.lp-pop { border: 1px solid rgba(255,111,97,.55); box-shadow: var(--soft-shadow-lg); }
.lp-card, .lp-step, .lp-price, .plan-card, .rd-item { transition: transform .18s ease, box-shadow .18s ease; }
.lp-card:hover, .lp-step:hover, .lp-price:hover, .plan-card:hover, .rd-item:hover { transform: translateY(-2px); box-shadow: var(--soft-shadow-lg); }
@media (prefers-reduced-motion: reduce) {
  .lp-card, .lp-step, .lp-price, .plan-card, .rd-item { transition: none; }
  .lp-card:hover, .lp-step:hover, .lp-price:hover, .plan-card:hover, .rd-item:hover { transform: none; }
}

/* Report sections: white cards with a soft shadow; header bars become gentle teal gradients (white text, 7:1+) */
.report-section { border: none; border-radius: var(--soft-r); box-shadow: var(--soft-shadow); overflow: hidden; }
.core-header, .py-header, .bridge-header, .minor-header, .period-header, .chart-title-bar, .career-header, .xt-tbl th {
  background: var(--soft-teal) !important; color: #fff !important; letter-spacing: .08em;
}
.xt-tbl td { border-bottom-color: var(--soft-line); }
.unlock-card { border: 1px solid rgba(255,111,97,.45); }
body.light .unlock-card { background: linear-gradient(180deg, #FFFFFF 0%, #FFF6F4 100%); }

/* ── Buttons: coral gradient with black text (8:1+), soft lift ── */
.btn-primary, .auth-btn.is-primary, .pdf-btn, .lk-mini, .gc-btn.is-primary, .tb-links .tb-cta, .lpm-chip, .lp-n, .btt {
  background: var(--soft-coral); color: var(--black); border: none;
  box-shadow: 0 6px 16px rgba(255,111,97,.32), inset 0 1px 0 rgba(255,255,255,.35);
}
.btn-primary, .auth-btn.is-primary, .pdf-btn { border-radius: 14px; font-weight: 700; transition: transform .15s ease, box-shadow .15s ease, filter .15s; }
.btn-primary:hover, .auth-btn.is-primary:hover, .pdf-btn:hover, .tb-links .tb-cta:hover {
  background: var(--soft-coral); filter: brightness(1.04); transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(255,111,97,.38), inset 0 1px 0 rgba(255,255,255,.35);
}
.btn-primary:active, .auth-btn.is-primary:active, .pdf-btn:active { transform: translateY(0); box-shadow: 0 3px 8px rgba(255,111,97,.3); }
@media (prefers-reduced-motion: reduce) { .btn-primary:hover, .auth-btn.is-primary:hover, .pdf-btn:hover { transform: none; } }
.auth-btn.is-outline, .pdf-mail-btn, .btn-secondary, .tips-toggle, .staff-btn, .chat-tool, .tb-tool, .tb-menu, .gc-btn, .sample-link, .staff-nav a {
  border-radius: 14px; box-shadow: var(--soft-shadow-sm);
}
body.light .auth-btn.is-outline, body.light .pdf-mail-btn, body.light .btn-secondary, body.light .tips-toggle, body.light .tb-tool,
body.light .tb-menu, body.light .sample-link, body.light .staff-nav a:not([aria-current]) {
  background: #fff; color: var(--teal-700); border: 1px solid var(--soft-line);
}
body.light .auth-btn.is-outline:hover, body.light .pdf-mail-btn:hover, body.light .tb-tool:hover, body.light .sample-link:hover {
  border-color: var(--teal-200); background: var(--teal-50);
}
.tb-tool.is-on { background: var(--soft-coral); color: var(--black); border-color: transparent; }
.auth-btn.is-danger { border-radius: 14px; }

/* ── Inputs: rounded, soft inner shadow, teal focus glow ── */
.field-input, .auth-card input:not([type=checkbox]):not([type=radio]):not([type=hidden]), .auth-card select, .auth-card textarea,
.chat-form textarea, .staff-inline input, .staff-form input, .lp-sel select, .tb-jump, .staff-ta, .chat-edit {
  border-radius: var(--soft-r-sm); transition: box-shadow .15s ease, border-color .15s ease;
}
body.light .field-input, body.light .auth-card input:not([type=checkbox]):not([type=radio]):not([type=hidden]),
body.light .auth-card select, body.light .auth-card textarea, body.light .chat-form textarea, body.light .lp-sel select,
body.light .tb-jump {
  background: #F7FAFB; border: 1px solid var(--soft-line); box-shadow: inset 0 1px 2px rgba(20,49,58,.06); color: var(--black);
}
.field-input:focus, .auth-card input:focus, .auth-card select:focus, .auth-card textarea:focus, .chat-form textarea:focus,
.lp-sel select:focus, .tb-jump:focus { outline: none; border-color: var(--teal-300) !important; box-shadow: var(--soft-focus); }
.plan-qty-opt { border-radius: 14px; }
body.light .plan-qty-opt { border: 1px solid var(--soft-line); background: #fff; box-shadow: var(--soft-shadow-sm); }
body.light .plan-qty-opt:has(input:checked) { border-color: var(--coral); box-shadow: 0 0 0 3px rgba(255,111,97,.18); }

/* ── Navigation bar: frosted and floating ── */
.topbar { border-bottom: none; box-shadow: 0 6px 24px rgba(0,0,0,.25); background: rgba(14,29,34,.86); }
body.light .topbar { background: rgba(255,255,255,.82); box-shadow: 0 1px 0 var(--soft-line), 0 8px 28px rgba(20,49,58,.07); }
.tb-links a, .tb-link-btn { border-radius: 12px; }
.tb-links a[aria-current="page"] { background: var(--soft-teal); color: #fff; box-shadow: 0 4px 12px rgba(47,95,106,.3); }
body.light .lang-wrap { background: #fff; border-color: var(--soft-line); box-shadow: var(--soft-shadow-sm); }
.app-header { border-bottom: none; }
body.light .app-footer { border-top-color: var(--soft-line); }

/* ── Chips, notices, chat ── */
.preview-banner { border-radius: 14px; border: none; box-shadow: var(--soft-shadow-sm); }
body.light .preview-section { background: linear-gradient(180deg, #F4FAFB, #FFFFFF); }
body.light .preview-chip { background: #fff; border: 1px solid var(--soft-line); border-radius: 14px; box-shadow: var(--soft-shadow-sm); }
.xt-pill, .lpm-nums i, .lp-chip i { box-shadow: 0 3px 8px rgba(20,49,58,.18); }
.lp-notice { border-radius: 14px; border-left: none; box-shadow: var(--soft-shadow-lg); }
body.light .chat-msg.is-user { background: linear-gradient(135deg, #E8F3F5, #DCEDF0); border: none; }
body.light .chat-msg.is-assistant { background: #fff; border: 1px solid var(--soft-line); }
.guide-card { border-top: none; box-shadow: var(--soft-shadow-lg), inset 0 3px 0 var(--coral); }
.lp-mock { border: none; box-shadow: var(--soft-shadow-lg); }
.staff-tbl td { border-bottom-color: var(--soft-line); }

/* PDF and print: no shadows or gradients behind content */
.pdf-render .report-section, .pdf-render .unlock-card { box-shadow: none !important; }
@media print {
  .report-section, .form-section { box-shadow: none !important; }
  body.light, body.light .app-wrapper { background: #fff !important; }
}

/* ── Brand rules: coral is a FILL only (never text), and nothing is faded with opacity ── */
.lp-hl, .plan-price, .lp-pamt, .unlock-link, .preview-banner .unlock-link, .cmp-amp, .cmp-flag, .cmp-now, .sample-link,
.lp-kicker .bi, .lp-card .bi, .lp-step .bi, .unlock-star { color: var(--teal-300); }
body.light .lp-hl, body.light .plan-price, body.light .lp-pamt, body.light .unlock-link, body.light .cmp-amp,
body.light .lp-card .bi, body.light .lp-step .bi, body.light .lp-kicker .bi, body.light .unlock-star { color: var(--teal-700); }
.report-section .cmp-amp, .report-section .cmp-flag, .report-section .cmp-now, .preview-banner .unlock-link { color: var(--teal-700); }
.lp-hl { text-decoration: underline; text-decoration-color: var(--coral); text-decoration-thickness: 4px; text-underline-offset: 6px; }
.btn-primary:disabled, .auth-btn.is-primary:disabled, .pdf-btn:disabled {
  opacity: 1; filter: none; background: var(--teal-100); color: var(--muted-light); box-shadow: none; cursor: not-allowed;
}
.form-legal, .chat-note, .chat-count, .chat-typing, .chat-empty, .chat-tool, .lp-local, .unlock-feats li span { opacity: 1; }
.form-legal, .chat-note, .chat-count, .chat-typing, .chat-empty { color: var(--muted-dark); }
body.light .form-legal, body.light .chat-note, body.light .chat-count, body.light .chat-typing, body.light .chat-empty { color: var(--muted-light); }

/* ================================================================
   Plans page: compact cards, dropdowns, one status line, fold-outs
   ================================================================ */
body[data-page="plans"] .form-container { max-width: 1120px; }
.pp-title { font-family: 'Cinzel', serif; font-size: clamp(22px, 3.4vw, 30px); text-align: center; margin: 0 0 6px; }
.pp-lead { text-align: center; margin: 0 0 10px; color: var(--muted-dark); }
body.light .pp-lead { color: var(--muted-light); }
.pp-status { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: center; margin: 12px auto 16px;
  font-size: 13.5px; text-align: center; }
.pp-chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; font-weight: 600;
  background: #14313A; box-shadow: var(--soft-shadow-sm); }
body.light .pp-chip { background: #fff; border: 1px solid var(--soft-line); color: var(--teal-700); }
.plan-tabs { max-width: 620px; margin: 0 auto 20px; padding: 5px; border-radius: 16px; background: #14313A; box-shadow: inset 0 1px 3px rgba(0,0,0,.25); gap: 4px; }
body.light .plan-tabs { background: #E8F0F2; box-shadow: inset 0 1px 3px rgba(20,49,58,.08); }
.plan-tab { border: none; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.auth-card a.plan-tab, a.plan-tab { color: inherit; text-decoration: none; }
body.light a.plan-tab { color: var(--teal-700); }
a.plan-tab.is-on { background: var(--soft-coral); color: var(--black); box-shadow: 0 4px 12px rgba(255,111,97,.3); }

.pp-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); align-items: start; margin-bottom: 18px; }
.pp-card { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 22px 20px 18px; border-radius: var(--soft-r);
  background: #14313A; border: 1px solid rgba(127,179,192,.14); box-shadow: var(--soft-shadow); }
body.light .pp-card { background: #fff; border: 1px solid var(--soft-line); }
.pp-card.is-pop { border: 2px solid var(--coral); box-shadow: var(--soft-shadow-lg); }
.pp-card.is-addon { background: transparent; box-shadow: none; border: 1px dashed var(--teal-300); }
body.light .pp-card.is-addon { background: rgba(255,255,255,.6); border-color: var(--teal-200); }
.pp-badge { position: absolute; top: -12px; left: 20px; padding: 3px 12px; border-radius: 999px; font-size: 11.5px; font-weight: 800;
  background: var(--soft-coral); color: var(--black); box-shadow: 0 4px 10px rgba(255,111,97,.3); }
.pp-badge.is-addon { background: var(--teal-700); color: #fff; box-shadow: none; }
.pp-name { font-family: 'Cinzel', serif; font-size: 19px; margin: 4px 0 0; display: flex; gap: 8px; align-items: center; }
.pp-name .bi { color: var(--teal-300); }
body.light .pp-name .bi { color: var(--teal-700); }
.pp-tag { margin: 0; font-size: 13.5px; color: var(--muted-dark); }
body.light .pp-tag { color: var(--muted-light); }
.pp-price { display: flex; align-items: baseline; gap: 8px; }
.pp-price span { font-size: 30px; font-weight: 800; letter-spacing: -.01em; }
.pp-price small { font-size: 13px; color: var(--muted-dark); font-weight: 600; }
body.light .pp-price small { color: var(--muted-light); }
.pp-form { display: grid; gap: 8px; }
.pp-qty, .pp-selects label { display: grid; gap: 4px; font-size: 12.5px; font-weight: 700; }
.pp-qty select, .pp-selects select { padding: 10px 12px; border-radius: 12px; font: 600 14px 'Inter', sans-serif;
  background: #0E1D22; color: #fff; border: 1px solid rgba(127,179,192,.25); }
body.light .pp-qty select, body.light .pp-selects select { background: #F7FAFB; color: var(--black); border: 1px solid var(--soft-line);
  box-shadow: inset 0 1px 2px rgba(20,49,58,.06); }
.pp-qty select:focus, .pp-selects select:focus { outline: none; border-color: var(--teal-300); box-shadow: var(--soft-focus); }
.pp-cta { width: 100%; text-align: center; justify-content: center; padding: 12px 16px; font-size: 15px; text-decoration: none; display: inline-flex; gap: 6px; }
.pp-keys { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 13.5px; }
.pp-keys li { position: relative; padding-left: 22px; }
.pp-keys li::before { content: "\2713"; position: absolute; left: 0; font-weight: 800; color: var(--ok-dark); }
body.light .pp-keys li::before { color: var(--ok-light); }
.pp-more summary { cursor: pointer; font-size: 13px; font-weight: 700; color: var(--teal-300); list-style: none; }
body.light .pp-more summary { color: var(--teal-700); }
.pp-more summary::before { content: "+ "; }
.pp-more[open] summary::before { content: "\2013 "; }
.pp-more[open] summary { margin-bottom: 8px; }
.plan-share { font-size: 12px; margin: 0; }
.pp-trust { font-size: 12px; margin: 0; color: var(--muted-dark); }
body.light .pp-trust { color: var(--muted-light); }

.pp-biz { max-width: 640px; margin: 0 auto 18px; display: grid; gap: 14px; }
.pp-selects { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (max-width: 520px) { .pp-selects { grid-template-columns: 1fr; } }
.pp-calc { display: grid; gap: 4px; font-size: 13.5px; }
.pp-calc .bi { color: var(--teal-300); }
body.light .pp-calc .bi { color: var(--teal-700); }
#ppBizForm { display: grid; gap: 10px; }
.pp-current { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; max-width: 900px;
  margin: 0 auto 18px; padding: 14px 18px; border-radius: var(--soft-r); background: #14313A; box-shadow: var(--soft-shadow); font-size: 14px; }
body.light .pp-current { background: #fff; border: 1px solid var(--soft-line); }
.pp-compare { padding: 14px 16px; border-radius: var(--soft-r); background: #14313A; }
body.light .pp-compare { background: #fff; border: 1px solid var(--soft-line); box-shadow: var(--soft-shadow-sm); }
.pp-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.pp-table th, .pp-table td { padding: 8px; text-align: left; border-bottom: 1px solid var(--soft-line); }
.pp-table td small { display: block; font-size: 11px; color: var(--ok-dark); font-weight: 700; }
body.light .pp-table td small { color: var(--ok-light); }
.pp-sample { text-align: center; margin: 8px 0 18px; }
.pp-h2 { font-size: 15px; text-transform: uppercase; letter-spacing: .08em; margin: 0 0 10px; }
.pp-faq { max-width: 820px; margin: 0 auto; display: grid; gap: 8px; }
.pp-faq details { padding: 12px 16px; border-radius: 14px; background: #14313A; }
body.light .pp-faq details { background: #fff; border: 1px solid var(--soft-line); box-shadow: var(--soft-shadow-sm); }
.pp-faq summary { cursor: pointer; font-weight: 700; }
.pp-faq p { margin: 8px 0 0; font-size: 14px; line-height: 1.6; }


/* ── Plain text links in page content: brand teal, never the browser's blue/purple (visited too) ── */
main a:not([class]), main a:not([class]):visited, .pp-status a, .pp-sample a, .pp-faq a, .lp-disc a, .auth-help a {
  color: var(--teal-300); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px;
}
main a:not([class]):hover, .pp-status a:hover, .pp-sample a:hover { color: #fff; text-decoration-color: var(--coral); }
body.light main a:not([class]), body.light main a:not([class]):visited, body.light .pp-status a, body.light .pp-sample a,
body.light .pp-faq a, body.light .lp-disc a, body.light .auth-help a { color: var(--teal-700); }
body.light main a:not([class]):hover, body.light .pp-status a:hover, body.light .pp-sample a:hover { color: var(--black); }
main a:not([class]):focus-visible { outline: 3px solid var(--coral); outline-offset: 2px; border-radius: 4px; }
.pp-status, .pp-sample { color: #fff; }
body.light .pp-status, body.light .pp-sample { color: var(--black); }

.unlock-alt { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: center; max-width: 640px;
  margin: 18px auto 0; padding: 12px 14px; border-radius: 14px; border: 1px dashed var(--teal-300); font-size: 14px; }
body.light .unlock-alt { border-color: var(--teal-200); background: #fff; }
.unlock-alt .bi { font-size: 20px; color: var(--teal-300); }
body.light .unlock-alt .bi { color: var(--teal-700); }
body[data-page="plans"] .pp-grid { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

.pp-value { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; line-height: 1.5; padding: 8px 10px; border-radius: 12px;
  background: rgba(127,179,192,.12); }
body.light .pp-value { background: var(--teal-50); color: var(--black); }
.pp-value .bi, .pp-chat .bi { color: var(--teal-300); margin-top: 2px; }
body.light .pp-value .bi, body.light .pp-chat .bi { color: var(--teal-700); }
.pp-chat { display: flex; gap: 8px; align-items: center; font-size: 13px; padding: 6px 0; border-top: 1px solid var(--soft-line); border-bottom: 1px solid var(--soft-line); }
body:not(.light) .pp-chat { border-color: rgba(127,179,192,.18); }
.pp-addons { margin: 4px 0 22px; }
.pp-addon { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; padding: 14px 18px;
  border-radius: var(--soft-r); border: 1px dashed var(--teal-300); }
body.light .pp-addon { border-color: var(--teal-200); background: rgba(255,255,255,.7); }
.pp-addon-main { display: grid; gap: 4px; flex: 1 1 320px; font-size: 13.5px; }
.pp-addon-main b { font-size: 15px; display: inline-flex; gap: 8px; align-items: center; }
.pp-addon-main small { color: var(--muted-dark); }
body.light .pp-addon-main small { color: var(--muted-light); }
.pp-addon-buy { display: grid; gap: 6px; justify-items: end; min-width: 200px; }
.pp-addon-price { font-size: 22px; font-weight: 800; }
.pp-addon-buy .pp-form { width: 100%; }

/* ================================================================
   Landing animations (from the spec, in brand colours). Movement only, never text fading;
   everything is off for people who prefer reduced motion.
   ================================================================ */
@keyframes lpUp { from { transform: translateY(22px); } to { transform: none; } }
@keyframes lpFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes lpPop { 0% { transform: scale(.4); } 70% { transform: scale(1.12); } 100% { transform: none; } }
@keyframes lpShine { to { background-position: 200% center; } }
@keyframes lpSweep { from { left: -60%; } 60%, to { left: 140%; } }
@keyframes lpGlow { 0%, 100% { box-shadow: 0 0 0 0 rgba(255,111,97,.45); } 50% { box-shadow: 0 0 0 12px rgba(255,111,97,0); } }
@keyframes lpCount { from { transform: rotateX(90deg); } to { transform: none; } }

/* Hero: lines rise in one after another */
.lp-hero-txt > * { animation: lpUp .7s cubic-bezier(.2,.7,.2,1) both; }
.lp-hero-txt > *:nth-child(2) { animation-delay: .12s; } .lp-hero-txt > *:nth-child(3) { animation-delay: .24s; }
.lp-hero-txt > *:nth-child(4) { animation-delay: .36s; } .lp-hero-txt > *:nth-child(5) { animation-delay: .48s; }
.lp-hero-txt > *:nth-child(6) { animation-delay: .6s; }
/* Highlighted words: a slow teal shine across the underline colour */
.lp-hl { background-image: linear-gradient(90deg, var(--teal-700), var(--teal), var(--teal-700)); background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text; color: transparent; animation: lpShine 6s linear infinite; }
body:not(.light) .lp-hl { background-image: linear-gradient(90deg, #B5D6DD, #FFFFFF, #B5D6DD); }
/* Sample chart: floats gently; its numbers pop in one by one, the letters spin in like a counter */
.lp-mock { animation: lpUp .8s .25s cubic-bezier(.2,.7,.2,1) both, lpFloat 6s 1.4s ease-in-out infinite; }
.lpm-nums div { animation: lpPop .55s cubic-bezier(.2,.9,.3,1.3) both; }
.lpm-nums div:nth-child(1) { animation-delay: .8s; } .lpm-nums div:nth-child(2) { animation-delay: .92s; }
.lpm-nums div:nth-child(3) { animation-delay: 1.04s; } .lpm-nums div:nth-child(4) { animation-delay: 1.16s; }
.lpm-nums div:nth-child(5) { animation-delay: 1.28s; }
.lpm-name { perspective: 400px; }
.lpm-name { animation: lpCount .6s .5s cubic-bezier(.2,.8,.3,1) both; transform-origin: 50% 100%; }
.lp-kicker { display: inline-block; border-radius: 999px; animation: lpGlow 3s 1.4s ease-in-out infinite; }
/* Life Path chips and step numbers bounce on hover */
.lp-n, .lp-chip i { transition: transform .25s cubic-bezier(.2,.9,.3,1.3); }
.lp-step:hover .lp-n, .lp-chip:hover i { transform: scale(1.15) rotate(-6deg); }
/* Scroll reveal: cards and chips rise into place as they come into view (JS adds .lp-rv / .in) */
.lp-rv { transform: translateY(26px); transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.lp-rv.in { transform: none; }
/* Call-to-action buttons: a light sweep now and then */
.lp-cta, .lp-price .btn-primary { position: relative; overflow: hidden; }
.lp-cta::after, .lp-price .btn-primary::after { content: ""; position: absolute; top: 0; left: -60%; width: 36%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.45), transparent); transform: skewX(-20deg);
  animation: lpSweep 3.6s 1.6s ease-in-out infinite; pointer-events: none; }
.lp-pop { animation: lpGlow 2.8s ease-in-out infinite; }
.lp-faq details[open] p { animation: lpUp .35s ease both; }
@media (prefers-reduced-motion: reduce) {
  .lp *, .lp *::before, .lp *::after { animation: none !important; transition: none !important; }
  .lp-rv { transform: none !important; }
  .lp-hl { color: var(--teal-700); -webkit-background-clip: border-box; background-clip: border-box; background-image: none; }
  body:not(.light) .lp-hl { color: var(--teal-300); }
}

.qk-upgrade { cursor: pointer; font: inherit; border: none; background: var(--soft-coral); color: var(--black); border-radius: 12px; padding: 6px 12px; font-weight: 700; }
body[data-page="plans"] .pp-grid { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }

/* Spiral of letters and numbers behind the header and the home-page hero (decorative, never over content) */
.app-header, .lp-hero { position: relative; isolation: isolate; }
.spiral-bg { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; display: block; }
.lp-hero { overflow: hidden; border-radius: var(--soft-r); }
.app-header > :not(.spiral-bg), .lp-hero > :not(.spiral-bg) { position: relative; z-index: 1; }
@media print { .spiral-bg { display: none !important; } }

.pp-price { flex-direction: column; align-items: flex-start; gap: 0; }
.pp-price span { line-height: 1.1; white-space: nowrap; }
.pp-grid, body[data-page="plans"] .pp-grid { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.pp-name { font-size: 18px; line-height: 1.25; }
.pp-card.is-biz { border: 1px dashed var(--teal-300); }
body.light .pp-card.is-biz { border-color: var(--teal-200); }
#lpPricing .pp-grid { margin-top: 14px; }

/* Calculate row: buttons side by side, the agreement line under them, clear space before the report toolbar */
.form-actions { display: grid; justify-items: center; gap: 12px; margin: 28px 0 32px; }
.form-buttons { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; align-items: center; }
.form-actions .btn-secondary { margin-left: 0; display: inline-flex; align-items: center; gap: 6px; border-radius: 14px; }
.form-legal { margin: 0; max-width: 560px; text-align: center; line-height: 1.6; }
.report-toolbar { margin-top: 8px; margin-bottom: 18px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.preview-banner { margin: 18px 0; }

.pp-for { display: flex; gap: 6px; align-items: center; font-size: 12.5px; color: var(--muted-dark); }
body.light .pp-for { color: var(--muted-light); }
.pp-for .bi { color: var(--teal-300); }
body.light .pp-for .bi { color: var(--teal-700); }

/* Home page widget: Universal calendar (default) and the sample report, as tabs */
.lp-widget { display: grid; gap: 10px; }
.lpw-tabs { display: flex; gap: 4px; padding: 4px; border-radius: 14px; background: #14313A; }
body.light .lpw-tabs { background: #E8F0F2; }
.lpw-tab { flex: 1; display: inline-flex; gap: 6px; align-items: center; justify-content: center; padding: 8px 10px; border: none;
  border-radius: 10px; background: none; color: inherit; font: 700 13px 'Inter', sans-serif; cursor: pointer; }
body.light .lpw-tab { color: var(--teal-700); }
.lpw-tab[aria-selected="true"] { background: var(--soft-coral); color: var(--black); box-shadow: 0 4px 12px rgba(255,111,97,.3); }
.lpw-tab:focus-visible { outline: 3px solid var(--teal-300); outline-offset: 2px; }
.ucal { padding: 16px; border-radius: var(--soft-r); background: #fff; color: var(--black); box-shadow: var(--soft-shadow-lg); }
.uc-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.uc-top b { font-family: 'Cinzel', serif; font-size: 17px; }
.uc-prev, .uc-next { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--soft-line); background: #fff; cursor: pointer;
  color: var(--teal-700); box-shadow: var(--soft-shadow-sm); }
.uc-prev:focus-visible, .uc-next:focus-visible, .uc-day:focus-visible { outline: 3px solid var(--coral); outline-offset: 2px; }
.uc-head { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 10px; }
.uc-chip { display: flex; gap: 8px; align-items: center; font-size: 12px; line-height: 1.3; padding: 6px 8px; border-radius: 12px; background: var(--teal-50); }
.uc-chip b { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .04em; color: var(--teal-700); }
.uc-n { display: inline-flex; align-items: center; justify-content: center; min-width: 28px; height: 28px; padding: 0 5px; border-radius: 14px;
  font-weight: 800; font-size: 13px; }
.uc-n.sm { min-width: 22px; height: 22px; font-size: 11px; }
.uc-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.uc-dow { text-align: center; font-size: 10.5px; font-weight: 800; color: var(--muted-light); text-transform: uppercase; }
.uc-day { display: grid; justify-items: center; gap: 1px; padding: 3px 0 5px; border-radius: 10px; border: 1px solid transparent; background: none; cursor: pointer; }
.uc-day small { font-size: 10px; color: var(--muted-light); }
.uc-day .uc-n { min-width: 24px; height: 24px; font-size: 11.5px; }
.uc-day:hover { background: var(--teal-50); }
.uc-day.is-today { border-color: var(--coral); background: var(--coral-100); }
.uc-day.is-picked { border-color: var(--teal-700); }
.uc-note { display: flex; gap: 8px; align-items: center; margin: 10px 0 4px; font-size: 13px; line-height: 1.45; }
.uc-sub { margin-top: 10px; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--teal-700); }
.uc-week { list-style: none; margin: 6px 0 10px; padding: 0; display: grid; gap: 3px; }
.uc-week li { display: grid; grid-template-columns: 58px 28px 1fr; gap: 6px; align-items: center; font-size: 12.5px; padding: 3px 6px; border-radius: 8px; }
.uc-week li.is-today { background: var(--coral-100); font-weight: 700; }
.uc-wd { color: var(--muted-light); font-weight: 700; }
.uc-cta { display: flex; gap: 8px; align-items: center; justify-content: center; text-align: center; padding: 10px 12px; border-radius: 12px;
  background: var(--soft-coral); color: var(--black); text-decoration: none; font-size: 13px; box-shadow: 0 6px 16px rgba(255,111,97,.3); }
.uc-cta:hover { filter: brightness(1.04); }
.lp-mock .lpm-name { animation: none; transform: none; color: var(--black); }
@media (max-width: 420px) { .uc-head { grid-template-columns: 1fr; } .uc-week li { grid-template-columns: 52px 26px 1fr; } }

/* Larger calendar: the widget gets more of the hero, bigger day pills */
@media (min-width: 900px) { .lp-hero { grid-template-columns: .95fr 1.05fr; } }
.ucal { padding: 20px; }
.uc-top b { font-size: 20px; }
.uc-grid { gap: 6px; }
.uc-dow { font-size: 11.5px; padding-bottom: 2px; }
.uc-day { padding: 5px 0 7px; gap: 2px; }
.uc-day small { font-size: 11px; }
.uc-day .uc-n { min-width: 34px; height: 34px; font-size: 14px; border-radius: 17px; }
.uc-head .uc-n { min-width: 34px; height: 34px; font-size: 15px; }
.uc-note { font-size: 14px; margin-top: 14px; }
.uc-cta { margin-top: 12px; }
.uc-cta span { text-align: left; }
@media (max-width: 420px) { .uc-day .uc-n { min-width: 28px; height: 28px; font-size: 12px; } .ucal { padding: 14px; } }

.uc-prev:disabled, .uc-next:disabled { background: var(--teal-50); color: var(--teal-200); box-shadow: none; cursor: default; }

/* Sample report tab: as tall as the calendar; numbers are buttons that open an insight */
#lpwSample { display: flex; }
#lpwSample[hidden] { display: none; }
.lp-sample { flex: 1; display: flex; flex-direction: column; gap: 10px; padding: 20px; cursor: default; }
.lp-sample:hover { border-color: transparent; }
.lp-sample .lpm-bar { align-items: center; }
.lp-sample .lpm-chip { text-decoration: none; padding: 5px 12px; }
.lpm-hint { margin: 0; font-size: 12.5px; color: var(--muted-light); }
.lp-sample .lpm-nums { grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 0; }
.lpm-num { display: grid; justify-items: center; gap: 4px; padding: 8px 4px; border-radius: 14px; border: 1px solid var(--soft-line);
  background: #fff; cursor: pointer; font: 600 11.5px 'Inter', sans-serif; color: var(--black); transition: transform .15s, box-shadow .15s; }
.lpm-num i { width: 38px; height: 38px; font-size: 15px; }
.lpm-num:hover { transform: translateY(-2px); box-shadow: var(--soft-shadow-sm); }
.lpm-num.is-on { border-color: var(--coral); box-shadow: 0 0 0 3px rgba(255,111,97,.2); }
.lpm-num:focus-visible { outline: 3px solid var(--teal-700); outline-offset: 2px; }
.lp-sample .lpm-read { flex: 1; padding: 12px 14px; border-radius: 14px; background: var(--teal-50); border-top: none; }
.lp-sample .lpm-read b { font-size: 15px; color: var(--teal-700); }
.lp-sample .lpm-read p { margin: 6px 0 0; font-size: 14px; line-height: 1.6; color: var(--black); }
.lp-sample .lpm-lock { display: flex; gap: 8px; align-items: flex-start; font-weight: 600; line-height: 1.45; }
@media (prefers-reduced-motion: reduce) { .lpm-num { transition: none; } .lpm-num:hover { transform: none; } }

/* ── Product landing pages (/quick-reports/, /personal-report/, /compatibility-report/) ── */
.lpp-tabs { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 4px 0 6px; }
.lpp-tabs a { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--teal-800);
  color: inherit; text-decoration: none; font-size: 14px; }
.lpp-tabs a:hover { border-color: var(--teal-300); }
.lpp-tabs a[aria-current="page"] { background: var(--teal-700); border-color: var(--teal-700); color: #fff; }
body.light .lpp-tabs a { border-color: var(--teal-200); }
body.light .lpp-tabs a[aria-current="page"] { background: var(--teal-700); color: #fff; }
.lpp-list { list-style: none; margin: 0; padding: 4px 0 0; display: grid; gap: 10px; }
.lpp-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.5; }
.lpp-list .bi { font-size: 18px; color: var(--teal-300); flex: none; margin-top: 1px; }
body.light .lpp-list .bi { color: var(--teal-700); }
.lpp-list b { display: block; }
.lpp-ups { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.lpp-up { display: flex; flex-direction: column; }
.lpp-up p { flex: 1; }
.lpp-up-foot { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; margin-top: 12px; font-size: 14px; }
.lpp-up-foot b { display: inline; margin: 0; }
.pp-learn { display: inline-flex; align-items: center; gap: 4px; margin-top: 4px; font-size: 14px; font-weight: 700;
  color: var(--teal-300); text-decoration: underline; text-underline-offset: 3px; }
.pp-learn:visited { color: var(--teal-300); }
.pp-learn:hover { color: #fff; text-decoration-color: var(--coral); }
body.light .pp-learn, body.light .pp-learn:visited { color: var(--teal-700); }
body.light .pp-learn:hover { color: var(--black); }
.pp-keys li.is-no::before { content: "\274C"; font-size: 11px; top: 2px; }
.pp-keys li.is-no { opacity: .85; }
.pp-note { font-size: 12.5px; margin-top: 2px; color: var(--muted-dark); }
body.light .pp-note { color: var(--muted-light); }
/* Product pages: goal chooser, free-preview note, quick vs full tables */
.lpp-goals { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); margin: 4px 0 10px; }
.lpp-goal { display: flex; gap: 10px; align-items: center; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--teal-800);
  color: inherit; text-decoration: none; }
.lpp-goal .bi { font-size: 22px; color: var(--teal-300); }
.lpp-goal b { display: block; }
.lpp-goal small { display: block; font-size: 12.5px; opacity: .8; }
.lpp-goal:hover { border-color: var(--teal-300); }
.lpp-goal[aria-current="page"] { background: var(--teal-700); border-color: var(--teal-700); color: #fff; }
.lpp-goal[aria-current="page"] .bi { color: #fff; }
body.light .lpp-goal { border-color: var(--teal-200); background: #fff; }
body.light .lpp-goal .bi { color: var(--teal-700); }
body.light .lpp-goal[aria-current="page"] { background: var(--teal-700); color: #fff; }
body.light .lpp-goal[aria-current="page"] .bi { color: #fff; }
.lpp-free { margin-top: 14px; font-size: 13.5px; line-height: 1.55; padding: 10px 12px; border-radius: 12px; border: 1px dashed var(--teal-800); }
body.light .lpp-free { border-color: var(--teal-200); }
.lpp-tbl-wrap { overflow-x: auto; }
.lpp-tbl { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 520px; }
.lpp-tbl th, .lpp-tbl td { padding: 10px 12px; border-bottom: 1px solid var(--teal-800); text-align: left; vertical-align: top; }
body.light .lpp-tbl th, body.light .lpp-tbl td { border-color: var(--teal-200); }
.lpp-tbl thead th { font-size: 15px; }
.lpp-tbl thead small { display: block; font-weight: 600; opacity: .85; }
.lpp-tbl tbody th { font-weight: 500; width: 40%; }
.lpp-yes { color: var(--ok-dark); font-weight: 800; }
body.light .lpp-yes { color: var(--ok-light); }
.lpp-no { font-size: 11px; }
/* Cards: nothing may grow wider than its card (long dropdown options, full-width buttons) */
.pp-card, .pp-card * { box-sizing: border-box; }
.pp-card > *, .pp-form > *, .pp-qty { min-width: 0; max-width: 100%; }
.pp-qty select, .pp-selects select { width: 100%; max-width: 100%; text-overflow: ellipsis; }
.pp-qty select option, .pp-selects select option { background: #0E1D22; color: #fff; }
body.light .pp-qty select option, body.light .pp-selects select option { background: #fff; color: var(--black); }
.pp-cta { max-width: 100%; white-space: normal; }
.plan-share { color: var(--muted-dark); }
body.light .plan-share { color: var(--muted-light); }
.pp-keys li { color: #E6F0F2; }
body.light .pp-keys li { color: var(--black); }
.field-help { font-size: 12.5px; line-height: 1.5; margin: 8px 0 0; color: var(--muted-dark); }
body.light .field-help { color: var(--muted-light); }
.report-year { font-size: 13.5px; margin: 8px 0 14px; color: var(--muted-dark); }
body.light .report-year { color: var(--muted-light); }
.lpp-needs { font-size: 14px; margin: 10px 0 0; }
.lpp-terms { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); margin: 14px 0 18px; font-size: 13.5px; }
.lpp-terms dt { font-weight: 700; }
.lpp-terms dd { margin: 2px 0 0; color: var(--muted-dark); line-height: 1.5; }
body.light .lpp-terms dd { color: var(--muted-light); }
.pp-info { margin: 8px 0 18px; padding: 16px 18px; border-radius: var(--soft-r); border: 1px solid rgba(127,179,192,.25); }
body.light .pp-info { border-color: var(--soft-line); background: #fff; }
.pp-info-title { font-size: 16px; margin: 0 0 10px; display: flex; gap: 8px; align-items: center; }
.pp-info-title .bi { color: var(--teal-300); }
body.light .pp-info-title .bi { color: var(--teal-700); }
.pp-info-list { display: grid; gap: 10px 18px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); margin: 0; font-size: 13.5px; }
.pp-info-list dt { font-weight: 700; }
.pp-info-list dd { margin: 2px 0 0; line-height: 1.5; color: var(--muted-dark); }
body.light .pp-info-list dd { color: var(--muted-light); }
.pp-info-list a { color: var(--teal-300); font-weight: 600; text-decoration: underline; }
body.light .pp-info-list a { color: var(--teal-700); }
/* Calculator: journeys and "what we need and why" beside the form */
.calc-journeys { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 10px; }
.calc-journeys a, .calc-gift-kinds a { display: inline-flex; gap: 6px; align-items: center; padding: 9px 14px; border-radius: 999px;
  border: 1px solid var(--teal-800); color: inherit; text-decoration: none; font-weight: 600; font-size: 14px; }
body.light .calc-journeys a, body.light .calc-gift-kinds a { border-color: var(--teal-200); background: #fff; }
.calc-journeys a[aria-current], .calc-gift-kinds a[aria-current] { background: var(--teal-700); border-color: var(--teal-700); color: #fff; }
.calc-journey-note { font-size: 14px; line-height: 1.55; padding: 10px 14px; border-radius: 12px; border: 1px dashed var(--teal-800); margin: 0 0 14px; }
body.light .calc-journey-note { border-color: var(--teal-200); }
.calc-gift-kinds { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0; }
.calc-layout { display: grid; gap: 18px; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 1000px) { .calc-layout { grid-template-columns: minmax(0, 1fr) 300px; } .calc-why { position: sticky; top: 76px; } }
.calc-why { font-size: 13.5px; line-height: 1.5; padding: 16px; border-radius: var(--soft-r); border: 1px solid rgba(127,179,192,.25); }
body.light .calc-why { background: #fff; border-color: var(--soft-line); }
.calc-why-title { font-size: 16px; margin: 0 0 10px; display: flex; gap: 8px; align-items: center; }
.calc-why dl { margin: 0 0 10px; display: grid; gap: 8px; }
.calc-why dt { font-weight: 700; }
.calc-why dd { margin: 0; color: var(--muted-dark); }
body.light .calc-why dd { color: var(--muted-light); }
.calc-why p { margin: 8px 0 0; }
.calc-why a { color: var(--teal-300); font-weight: 600; text-decoration: underline; }
body.light .calc-why a { color: var(--teal-700); }
.unlock-gift { font-size: 14px; padding: 10px 12px; border-radius: 12px; border: 1px dashed var(--teal-300); margin: 10px 0; }
.lpg-choices { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.lpg-choice { display: flex; flex-direction: column; gap: 6px; }
.lpg-choice .lp-cta { margin-top: auto; text-align: center; }
.lpg-for { font-size: 12.5px; color: var(--muted-dark); }
body.light .lpg-for { color: var(--muted-light); }
.lpg-prices { list-style: none; padding: 0; margin: 4px 0 10px; display: grid; gap: 4px; font-size: 14px; }
.lpp-tbl tbody th, .lpp-tbl thead td { position: sticky; left: 0; z-index: 1; background: #14313A; }
body.light .lpp-tbl tbody th, body.light .lpp-tbl thead td { background: #fff; }
.lpp-tbl { min-width: 720px; }
.lpp-tbl tbody th { width: 24%; min-width: 150px; }
/* Payment result page */
.pay-done { max-width: 620px; margin: 24px auto; padding: 28px 24px; text-align: center; border-radius: var(--soft-r);
  border: 1px solid rgba(127,179,192,.25); }
body.light .pay-done { background: #fff; border-color: var(--soft-line); }
.pay-icon { font-size: 44px; color: var(--teal-300); }
.pay-ready .pay-icon { color: var(--ok-dark); }
body.light .pay-icon { color: var(--teal-700); }
body.light .pay-ready .pay-icon { color: var(--ok-light); }
.pay-title { font-size: 22px; margin: 8px 0 6px; }
.pay-sub, .pay-credit { font-size: 14.5px; line-height: 1.55; }
.pay-credit { margin: 14px 0; }
.pay-cta { display: inline-block; font-size: 17px; padding: 14px 28px; margin: 6px 0 10px; text-decoration: none; }
.pay-done a:not([class]) { color: var(--teal-300); font-weight: 600; text-decoration: underline; }
body.light .pay-done a:not([class]) { color: var(--teal-700); }
.calc-paid { font-size: 14.5px; padding: 12px 14px; border-radius: 12px; margin: 0 0 12px; background: var(--teal-700); color: #fff; }
details.calc-why { margin: 14px 0 0; }
details.calc-why summary { cursor: pointer; list-style: none; margin: 0; }
details.calc-why[open] summary { margin-bottom: 10px; }
/* Product hero: headline, one sentence, one button; details below */
.lpp-hero { grid-template-columns: 1fr !important; text-align: center; justify-items: center; padding: 26px 0 30px; }
.lpp-hero .lp-hero-txt { max-width: 720px; margin: 0 auto; }
.lpp-hero .lp-cta-row { justify-content: center; }
.lpp-hero .lp-cta { font-size: 18px; padding: 16px 30px; }
.lpp-nocard { margin: 10px 0 0; font-size: 14.5px; font-weight: 600; color: var(--muted-dark); }
body.light .lpp-nocard { color: var(--muted-light); }
@media (max-width: 600px) {
  .lpp-hero .lp-h1 { font-size: 30px; line-height: 1.15; }
  .lpp-hero .lp-cta-row { flex-direction: column; align-items: stretch; }
  .lpp-hero .lp-cta { width: 100%; text-align: center; }
}
.lpp-start .lpp-free { border-style: solid; }
.form-section .field-help { margin: -2px 0 12px; }
.lpp-compare-cta { justify-content: center; margin: 14px 0 6px; }
.claim-box { text-align: left; margin: 18px 0 0; padding: 16px; border-radius: 14px; border: 1px dashed var(--teal-300); }
.claim-title { font-size: 17px; margin: 0 0 8px; display: flex; gap: 8px; align-items: center; }
.claim-form { display: grid; gap: 10px; margin: 12px 0; }
.claim-code { font-size: 22px; letter-spacing: 6px; text-align: center; max-width: 220px; }
.claim-box a { color: var(--teal-300); font-weight: 600; text-decoration: underline; }
body.light .claim-box a { color: var(--teal-700); }
.claim-code-wrap { max-width: 260px; }
.claim-code-wrap .claim-code { max-width: none; width: 100%; letter-spacing: 6px; text-align: center; }
.claim-box .code-notice { margin: 8px 0; }
.rd-pairs { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; font-size: 13.5px; margin: 6px 0 2px; }
.rd-pair { padding: 4px 10px; border-radius: 999px; border: 1px solid var(--teal-300); color: inherit; text-decoration: none; }
body.light .rd-pair { border-color: var(--teal-200); }
/* Price cards: same height in each row; "Learn more" sits at the bottom of every card */
.pp-grid, body[data-page="plans"] .pp-grid { align-items: stretch; }
.pp-card { height: 100%; }
.pp-card .pp-learn { margin-top: auto; padding-top: 8px; }
/* Business tab: a soft glowing border so it is noticed (owner, 2026-12-03) */
a.plan-tab.is-biz:not(.is-on) { position: relative; color: #fff; border: 1px solid rgba(255,111,97,.75);
  box-shadow: 0 0 0 1px rgba(255,111,97,.35), 0 0 14px rgba(255,111,97,.45); animation: bizGlow 2.4s ease-in-out infinite; }
body.light a.plan-tab.is-biz:not(.is-on) { color: var(--teal-900, #0E1D22); background: #fff; }
@keyframes bizGlow {
  0%, 100% { box-shadow: 0 0 0 1px rgba(255,111,97,.35), 0 0 10px rgba(255,111,97,.35); }
  50%      { box-shadow: 0 0 0 2px rgba(255,111,97,.6), 0 0 22px rgba(255,111,97,.6); }
}
/* Price cards: lift and glow on hover */
.pp-card { transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.pp-card:hover { transform: translateY(-6px); border-color: var(--teal-300);
  box-shadow: 0 14px 30px rgba(0,0,0,.35), 0 0 0 1px rgba(127,179,192,.35), 0 0 22px rgba(127,179,192,.25); }
.pp-card.is-pop:hover { border-color: var(--coral); box-shadow: 0 14px 30px rgba(0,0,0,.35), 0 0 24px rgba(255,111,97,.35); }
body.light .pp-card:hover { box-shadow: 0 14px 30px rgba(20,49,58,.16), 0 0 0 1px var(--teal-200); }
@media (prefers-reduced-motion: reduce) {
  a.plan-tab.is-biz:not(.is-on) { animation: none; }
  .pp-card, .pp-card:hover { transition: none; transform: none; }
}
/* Chat: readable labels, icon tools, folded older answers, send icon, spacing */
.chat-msg .ai-key { color: var(--teal-300); }
body.light .chat-msg .ai-key { color: var(--teal-700); }
.chat-tool.is-icon { width: 34px; height: 30px; padding: 0; display: inline-flex; align-items: center; justify-content: center; font-size: 15px; }
.chat-tool.is-icon.is-armed { background: var(--coral); border-color: var(--coral); color: var(--black); }
.chat-body.is-folded { max-height: 7.5em; overflow: hidden; -webkit-mask-image: linear-gradient(#000 60%, transparent); mask-image: linear-gradient(#000 60%, transparent); }
.chat-more { background: none; border: none; padding: 2px 0; cursor: pointer; font: 700 13px 'Inter', sans-serif; color: var(--teal-300); text-decoration: underline; }
body.light .chat-more { color: var(--teal-700); }
.chat-send { width: 48px; height: 44px; padding: 0; font-size: 18px; }
.chat-keys { font-size: 12px; color: var(--muted-dark); margin-left: auto; }
body.light .chat-keys { color: var(--muted-light); }
.chat-form .auth-help { margin-top: 16px; }
@media print { .chat-body.is-folded { max-height: none; -webkit-mask-image: none; mask-image: none; } .chat-more { display: none; } }
.pp-again { display: flex; gap: 8px; align-items: flex-start; font-size: 12.5px; font-weight: 600; padding: 8px 10px; border-radius: 10px;
  border: 1px dashed var(--teal-300); }
body.light .pp-again { border-color: var(--teal-200); }
.pp-new { max-width: 760px; margin: 0 auto 14px; display: flex; gap: 8px; align-items: flex-start; }
/* Promo code box and partner pages */
.promo-box { max-width: 520px; margin: 4px auto 14px; padding: 12px 14px; border-radius: 14px; border: 1px dashed var(--teal-300); }
.promo-row { display: flex; gap: 8px; } .promo-row input { flex: 1; min-width: 0; text-transform: uppercase; letter-spacing: .08em; padding: 9px 12px; border-radius: 10px; }
.promo-on { font-size: 14px; } .promo-remove { margin-left: 8px; font-size: 13px; color: var(--teal-300); }
body.light .promo-remove { color: var(--teal-700); }
.partners-list { list-style: none; padding: 0; display: grid; gap: 8px; margin: 12px 0 18px; }
.partners-list .bi { color: var(--teal-300); margin-right: 6px; } body.light .partners-list .bi { color: var(--teal-700); }
.partners-link { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.partners-link code { padding: 8px 10px; border-radius: 8px; background: rgba(127,179,192,.15); overflow-wrap: anywhere; }
/* Smaller PDF panel */
dialog.pdfz { max-width: 520px; width: calc(100% - 32px); border: 0; border-radius: 18px; padding: 0; background: #14313A; color: #fff;
  box-shadow: 0 20px 60px rgba(0,0,0,.45); }
body.light dialog.pdfz { background: #fff; color: var(--black, #111); }
dialog.pdfz::backdrop { background: rgba(0,0,0,.55); }
.pdfz-in { padding: 20px 22px; display: grid; gap: 10px; }
.pdfz-in h2 { margin: 0; font-size: 20px; }
.pdfz-p, .pdfz-note, .pdfz-small { margin: 0; font-size: 14px; line-height: 1.55; }
.pdfz-small { font-size: 12.5px; color: var(--muted-dark); } body.light .pdfz-small { color: var(--muted-light); }
.pdfz-in input[type=range] { width: 100%; accent-color: #FF6F61; }
.pdfz-ticks { display: flex; justify-content: space-between; font-size: 12.5px; margin-top: -4px; }
.pdfz-sizes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 4px 0; }
.pdfz-sizes div { padding: 8px 10px; border-radius: 10px; background: rgba(127,179,192,.14); }
.pdfz-sizes dt { font-size: 12px; font-weight: 700; } .pdfz-sizes dd { margin: 2px 0 0; font-size: 14px; font-weight: 700; }
.pdfz-actions { display: flex; flex-wrap: wrap; gap: 8px; }
@media (max-width: 480px) { .pdfz-sizes { grid-template-columns: 1fr; } }
/* Feedback widget (bottom left; back-to-top is bottom right) and conversations */
.fb { position: fixed; left: 16px; bottom: 16px; z-index: 940; }
.fb-open { display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--teal-700); color: #fff; font: 700 14px 'Inter', sans-serif; box-shadow: 0 8px 22px rgba(0,0,0,.3); }
.fb-open:hover { background: #3A7280; }
.fb-dot { display: inline-flex; min-width: 18px; height: 18px; padding: 0 5px; align-items: center; justify-content: center; border-radius: 999px;
  background: #FF6F61; color: #111; font-size: 11px; font-weight: 800; }
.fb-panel { position: absolute; left: 0; bottom: 54px; width: min(360px, calc(100vw - 32px)); padding: 14px 16px; border-radius: 16px;
  background: #14313A; color: #fff; box-shadow: 0 18px 48px rgba(0,0,0,.45); display: grid; gap: 8px; }
body.light .fb-panel { background: #fff; color: var(--black, #111); border: 1px solid var(--soft-line, #DDE7EA); }
.fb-head { display: flex; justify-content: space-between; align-items: center; }
.fb-x { background: none; border: 0; color: inherit; cursor: pointer; font-size: 16px; }
.fb-p { margin: 0; font-size: 13px; line-height: 1.5; } .fb-p a { color: var(--teal-300); } body.light .fb-p a { color: var(--teal-700); }
.fb-panel form { display: grid; gap: 6px; }
.fb-panel input, .fb-panel textarea { width: 100%; padding: 8px 10px; border-radius: 10px; font: 14px 'Inter', sans-serif; }
.fb-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
@media (max-width: 560px) { .fb-open span { display: none; } }
@media print { .fb { display: none; } }
.fb-conv { margin: 0 0 18px; display: grid; gap: 8px; }
.fb-conv-head { font-size: 12.5px; color: var(--muted-dark); } body.light .fb-conv-head { color: var(--muted-light); }
.fb-msg { padding: 10px 12px; border-radius: 12px; max-width: 90%; }
.fb-msg p { margin: 4px 0 0; line-height: 1.55; } .fb-msg small { font-size: 12px; opacity: .85; }
.fb-msg.is-user { justify-self: end; background: rgba(127,179,192,.18); }
.fb-msg.is-staff { justify-self: start; background: rgba(255,111,97,.14); border-left: 3px solid #FF6F61; }
.fb-page { display: grid; gap: 8px; }
.fb-unread td { font-weight: 700; } .fb-actions { display: flex; gap: 8px; flex-wrap: wrap; }
/* Feedback: minimise keeps the draft; the launcher can shrink to an icon */
.fb-launch { display: inline-flex; align-items: center; gap: 4px; }
.fb-shrink { width: 26px; height: 26px; border-radius: 50%; border: 0; cursor: pointer; background: rgba(14,29,34,.75); color: #fff;
  display: inline-flex; align-items: center; justify-content: center; font-size: 12px; }
body.light .fb-shrink { background: rgba(47,95,106,.85); }
.fb.is-small .fb-label { display: none; }
.fb.is-small .fb-open { padding: 10px; }
.fb-draft { font-size: 10px; font-weight: 800; padding: 1px 6px; border-radius: 999px; background: #F7D774; color: #111; }
.fb-tools { display: inline-flex; gap: 4px; }
.fb-x { width: 30px; height: 30px; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; }
.fb-x:hover { background: rgba(127,179,192,.2); }
/* Feedback widget at the bottom right (convention); back-to-top moves up above it.
   [hidden] must win over the panel's display, or it can never be minimised or closed. */
.fb { left: auto; right: 16px; bottom: 16px; display: flex; flex-direction: column; align-items: flex-end; }
.fb-panel { left: auto; right: 0; }
.fb-panel[hidden], .fb-draft[hidden] { display: none !important; }
.btt { bottom: 78px; right: 22px; }
@media print { .btt { display: none; } }
/* Prices never touch the card edges: wrap, and shrink a little on narrow cards */
.pp-price { flex-wrap: wrap; row-gap: 2px; min-width: 0; }
.pp-price span { font-size: clamp(22px, 2.3vw, 30px); overflow-wrap: anywhere; }
.pp-price.is-from { flex-direction: column; align-items: flex-start; gap: 0; }
.pp-price .pp-from { font-size: 13px; font-weight: 700; color: var(--muted-dark); text-transform: lowercase; }
body.light .pp-price .pp-from { color: var(--muted-light); }
/* Feedback reply boxes (admin thread and the user's Feedback page) */
.fb-page form { display: grid; gap: 10px; margin-top: 6px; }
.fb-page textarea { width: 100%; box-sizing: border-box; min-height: 120px; padding: 12px 14px; border-radius: 12px; resize: vertical;
  font: 15px/1.55 'Inter', sans-serif; background: #0E1D22; color: #fff; border: 1px solid rgba(127,179,192,.3); }
.fb-page textarea:focus { outline: none; border-color: var(--teal-300); box-shadow: 0 0 0 3px rgba(127,179,192,.25); }
body.light .fb-page textarea { background: #F7FAFB; color: var(--black, #111); border-color: var(--soft-line, #DDE7EA); }
.fb-page .be-help { display: block; margin-top: 2px; line-height: 1.5; }
.fb-page .fb-actions { margin-top: 2px; }
/* Error pages (400 / 403 / 404) */
.err-page { max-width: 640px; margin: 30px auto 40px; text-align: center; padding: 34px 24px; border-radius: 22px;
  background: #14313A; box-shadow: var(--soft-shadow); }
body.light .err-page { background: #fff; border: 1px solid var(--soft-line); }
.err-code { font-family: 'Cinzel', serif; font-size: clamp(56px, 12vw, 96px); font-weight: 700; line-height: 1; color: var(--teal-300); }
body.light .err-code { color: var(--teal-700); }
.err-title { font-family: 'Cinzel', serif; font-size: clamp(22px, 4vw, 30px); margin: 12px 0 8px; }
.err-text { font-size: 16.5px; line-height: 1.6; margin: 0 auto 20px; max-width: 480px; color: var(--muted-dark); }
body.light .err-text { color: var(--muted-light); }
.err-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.err-more { margin: 18px 0 0; font-size: 14px; }
.err-more a { color: var(--teal-300); font-weight: 600; } body.light .err-more a { color: var(--teal-700); }

/* Logo (brand colours; follows light and dark mode) */
:root { --logo-teal: #7FB3C0; --logo-coral: #FF6F61; --logo-ink: #FFFFFF; }
body.light { --logo-teal: #2F5F6A; --logo-ink: #111111; }
.app-title-logo { margin: 0; line-height: 0; }
.app-logo-link { display: inline-block; }
.app-logo { width: min(340px, 72vw); height: auto; display: block; margin: 4px auto 2px; }
.app-logo text { font-family: 'Montserrat', 'Inter', 'Segoe UI', Arial, sans-serif; }
.tb-brand { display: inline-flex; align-items: center; gap: 6px; }
.app-mark { width: 20px; height: 26px; flex: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Terms tick box next to every checkout button (billing/_agree.html) */
.pp-agree { display: flex; gap: 8px; align-items: flex-start; margin: 4px 0 8px; font-size: 13.5px; line-height: 1.4; cursor: pointer; text-align: left; }
.pp-agree input { width: 18px; height: 18px; margin: 1px 0 0; flex: none; accent-color: #2a9d8f; }
.pp-agree a { color: var(--teal-300); font-weight: 600; text-decoration: underline; }
body.light .pp-agree a { color: var(--teal-700); }
.up-form .pp-agree { justify-content: center; }

/* Terms pop-up (static/js/terms-pop.js) */
.terms-pop { width: min(720px, calc(100vw - 24px)); max-height: min(86vh, 900px); padding: 0; border: 0; border-radius: var(--soft-r, 18px);
  background: #0f2328; color: #fff; box-shadow: 0 20px 60px rgba(0,0,0,.45); display: none; flex-direction: column; }
.terms-pop[open] { display: flex; }
.terms-pop::backdrop { background: rgba(0,0,0,.6); }
body.light .terms-pop { background: #fff; color: #111; }
.terms-pop-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; border-bottom: 1px solid rgba(127,179,192,.25); }
.terms-pop-head h2 { margin: 0; font-size: 18px; }
.terms-pop-x { background: none; border: 0; color: inherit; font-size: 18px; cursor: pointer; padding: 6px; }
.terms-pop-body { overflow-y: auto; padding: 6px 18px 12px; flex: 1; }
.terms-pop-foot { padding: 12px 18px; border-top: 1px solid rgba(127,179,192,.25); display: flex; justify-content: flex-end; }
.terms-pop-foot .auth-btn { width: auto; }
@media (max-width: 560px) { .terms-pop { max-height: 92vh; } .terms-pop-foot .auth-btn { width: 100%; } }

/* Card facts: delivery, formats, upgrade credit, refunds, sample (billing/_pp_cards.html) */
.pp-facts { list-style: none; margin: 10px 0 6px; padding: 10px 0 0; border-top: 1px solid rgba(127,179,192,.22); display: grid; gap: 7px; font-size: 13px; line-height: 1.45; }
.pp-facts li { display: flex; gap: 8px; align-items: flex-start; }
.pp-facts .bi { color: var(--teal-300); margin-top: 2px; flex: none; }
body.light .pp-facts .bi { color: var(--teal-700); }
.pp-facts a { color: var(--teal-300); font-weight: 600; text-decoration: underline; }
body.light .pp-facts a { color: var(--teal-700); }
.qk-sample { margin: 0 auto 12px; max-width: 1100px; display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center;
  padding: 10px 14px; border-radius: 14px; border: 1px solid rgba(127,179,192,.35); background: rgba(127,179,192,.10); color: #fff; font-size: 14.5px; }
body.light .qk-sample { color: #111; background: #EEF6F8; border-color: var(--teal-200); }
.qk-sample > .bi { color: var(--teal-300); } body.light .qk-sample > .bi { color: var(--teal-700); }
.qk-sample span { flex: 1 1 280px; }
.qk-sample-buy { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; }
.qk-sample-buy .pp-agree { margin: 0; }
.qk-sample-cta { border: 0; cursor: pointer; font: inherit; font-weight: 700; display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; border-radius: 999px; font-weight: 700; text-decoration: none;
  background: linear-gradient(135deg, #FF9A8B, #FF6F61); color: #000; white-space: nowrap; }
.qk-sample-cta:hover, .qk-sample-cta:focus-visible { filter: brightness(1.05); box-shadow: 0 0 16px rgba(255,111,97,.45); }

/* Sample carousels on the product pages (landing/product.html, js/landing.js) */
.lp-carousels { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; max-width: 900px; margin: 0 auto; }
.lp-carousels.is-one { grid-template-columns: minmax(0, 420px); justify-content: center; }
@media (max-width: 720px) { .lp-carousels { grid-template-columns: minmax(0, 1fr); max-width: 420px; } }
.lp-car { margin: 0; padding: 14px; border-radius: var(--soft-r, 18px); border: 1px solid rgba(127,179,192,.25); background: rgba(20,49,58,.55); }
body.light .lp-car { background: #fff; border-color: var(--soft-line); }
.lp-car-cap { display: flex; flex-direction: column; gap: 2px; margin-bottom: 10px; text-align: center; }
.lp-car-cap span { font-size: 13px; color: var(--muted-dark); }
body.light .lp-car-cap span { color: var(--muted-light); }
.lp-car-view { position: relative; }
.lp-car-track { overflow: hidden; border-radius: 12px; touch-action: pan-y; user-select: none; }
.lp-car-strip { display: flex; transition: transform .5s cubic-bezier(.4,.1,.2,1); will-change: transform; }
.lp-car-strip.no-anim { transition: none; }
.lp-car-track::-webkit-scrollbar { display: none; }
.lp-car-track img { flex: 0 0 100%; width: 100%; height: auto; display: block; background: #14313A; pointer-events: none; -webkit-user-drag: none; }
.lp-car-track.r-9x16 img { aspect-ratio: 9 / 16; } .lp-car-track.r-4x5 img { aspect-ratio: 4 / 5; } .lp-car-track.r-1x1 img { aspect-ratio: 1 / 1; }
.lp-car-btn { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 40px; height: 40px; border-radius: 50%; border: 0;
  background: rgba(0,0,0,.62); color: #fff; font-size: 18px; cursor: pointer; display: grid; place-items: center; }
.lp-car-btn:hover, .lp-car-btn:focus-visible { background: #000; }
.lp-car-btn.is-prev { left: 8px; } .lp-car-btn.is-next { right: 8px; }
.lp-car-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; font-size: 13.5px; }
.lp-car-foot a { color: var(--teal-300); font-weight: 600; text-decoration: underline; }
body.light .lp-car-foot a { color: var(--teal-700); }

/* Sample pop-up (static/js/sample-pop.js): page behind blurred, sample in a frame */
.sample-pop { width: min(1100px, calc(100vw - 20px)); height: min(92vh, 1100px); max-width: none; max-height: none; padding: 0; border: 0;
  border-radius: var(--soft-r, 18px); background: #0f2328; color: #fff; box-shadow: 0 24px 70px rgba(0,0,0,.5); display: none; flex-direction: column; overflow: hidden; }
.sample-pop[open] { display: flex; }
.sample-pop::backdrop { background: rgba(0,0,0,.45); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
html.sample-pop-open { overflow: hidden; }
body.light .sample-pop { background: #fff; color: #111; }
.sample-pop-head { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-bottom: 1px solid rgba(127,179,192,.25); }
.sample-pop-head h2 { margin: 0; font-size: 17px; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sample-pop-back { width: auto; padding: 8px 16px; font-size: 14px; }
.sample-pop-x { background: none; border: 0; color: inherit; font-size: 18px; cursor: pointer; padding: 6px; }
.sample-pop-body { position: relative; flex: 1; }
.sample-pop-frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; opacity: 0; transition: opacity .2s; }
.sample-pop.is-loaded .sample-pop-frame { opacity: 1; }
.sample-pop-load { position: absolute; inset: 0; display: grid; place-items: center; font-size: 15px; }
.sample-pop.is-loaded .sample-pop-load { display: none; }
@media (max-width: 560px) { .sample-pop { width: 100vw; height: 100dvh; border-radius: 0; } .sample-pop-back { padding: 7px 12px; } }

/* Embed mode (?embed=1): a sample page inside the pop-up, without the site chrome */
body.is-embed .topbar, body.is-embed .app-header, body.is-embed .app-footer, body.is-embed .fb-widget,
body.is-embed #fbWidget, body.is-embed #guideCard, body.is-embed #btt { display: none !important; }
body.is-embed .form-container { margin-top: 12px; }

/* Pop-ups centred: the global reset (* { margin: 0 }) removes the browser's own dialog centring */
dialog.sample-pop, dialog.terms-pop { position: fixed; inset: 0; margin: auto; }

/* Thin, brand-coloured scroll bars everywhere (pages, pop-ups, the sample inside the pop-up) */
html, .terms-pop-body, .sample-pop * { scrollbar-width: thin; scrollbar-color: rgba(127,179,192,.55) transparent; }
html:has(body.light), body.light .terms-pop-body { scrollbar-color: rgba(31,95,110,.45) transparent; }
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(127,179,192,.55); border-radius: 8px; }
body.light ::-webkit-scrollbar-thumb { background: rgba(31,95,110,.45); }
::-webkit-scrollbar-thumb:hover { background: rgba(127,179,192,.85); }

/* "See a sample" on each price card: a glowing pill so it is easy to spot */
.pp-facts li.pp-sample-li { display: block; margin-bottom: 4px; }
a.pp-sample-btn { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px;
  border: 2px solid var(--teal-300); background: rgba(127,179,192,.12); color: #fff; font-weight: 700; font-size: 14px;
  text-decoration: none; box-shadow: 0 0 0 0 rgba(127,179,192,.55), 0 0 14px rgba(127,179,192,.45); animation: ppGlow 2.4s ease-in-out infinite; }
a.pp-sample-btn .bi { color: inherit; margin: 0; }
a.pp-sample-btn:hover, a.pp-sample-btn:focus-visible { background: var(--teal-700); border-color: var(--teal-700); color: #fff; animation: none;
  box-shadow: 0 0 22px rgba(127,179,192,.75); }
body.light a.pp-sample-btn { color: var(--teal-700); border-color: var(--teal-700); background: rgba(31,95,110,.07);
  box-shadow: 0 0 14px rgba(31,95,110,.30); animation-name: ppGlowLight; }
body.light a.pp-sample-btn:hover, body.light a.pp-sample-btn:focus-visible { color: #fff; background: var(--teal-700); }
@keyframes ppGlow { 0%, 100% { box-shadow: 0 0 0 0 rgba(127,179,192,.50), 0 0 12px rgba(127,179,192,.35); }
  50% { box-shadow: 0 0 0 6px rgba(127,179,192,0), 0 0 24px rgba(127,179,192,.75); } }
@keyframes ppGlowLight { 0%, 100% { box-shadow: 0 0 0 0 rgba(31,95,110,.35), 0 0 10px rgba(31,95,110,.20); }
  50% { box-shadow: 0 0 0 6px rgba(31,95,110,0), 0 0 20px rgba(31,95,110,.45); } }
@media (prefers-reduced-motion: reduce) { a.pp-sample-btn { animation: none; } }

/* More ways to a sample on the product pages: hero, under "What's inside", comparison headers */
.lpp-samples { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 18px; }
.lp-cta2-sample { display: inline-flex; align-items: center; gap: 6px; }
.lpp-cmp-sample { display: inline-flex; align-items: center; gap: 4px; margin-top: 6px; font-size: 12.5px; font-weight: 700;
  color: var(--teal-300); text-decoration: underline; white-space: nowrap; }
body.light .lpp-cmp-sample { color: var(--teal-700); }

/* Hero slideshow of the saved 4:5 sample slides (product pages) */
.lpp-hero.has-show .lp-hero-show { width: 100%; max-width: 400px; justify-self: center; }
@media (min-width: 900px) { .lpp-hero.has-show { grid-template-columns: 1.15fr .85fr !important; text-align: left; } .lpp-hero.has-show .lp-cta-row { justify-content: flex-start; } }
.lp-car-play { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--teal-300); background: transparent; color: inherit;
  cursor: pointer; display: grid; place-items: center; font-size: 16px; }
.lp-car-play:hover, .lp-car-play:focus-visible { background: var(--teal-700); border-color: var(--teal-700); color: #fff; }
body.light .lp-car-play { border-color: var(--teal-700); color: var(--teal-700); }
body.light .lp-car-play:hover { color: #fff; }

/* Hero slideshow tabs: Personal / Compatibility */
.lp-car-tabs { display: flex; gap: 6px; padding: 4px; margin: 0 auto 12px; border-radius: 999px; width: max-content; max-width: 100%;
  border: 1px solid rgba(127,179,192,.35); background: rgba(127,179,192,.08); }
body.light .lp-car-tabs { border-color: var(--teal-200); background: #EEF6F8; }
.lp-car-tab { display: inline-flex; align-items: center; gap: 6px; padding: 7px 16px; border: 0; border-radius: 999px; background: transparent;
  color: inherit; font: 600 14px 'Inter', sans-serif; cursor: pointer; }
.lp-car-tab.is-on { background: var(--teal-700); color: #fff; }
.lp-car-tab:not(.is-on):hover { background: rgba(127,179,192,.18); }
.lp-car-track img[hidden] { display: none; }

/* Product page "What's inside" cards: every card the same size (rows as tall as the tallest card) */
.lp-prod .lp-grid { grid-auto-rows: 1fr; }
.lp-prod .lp-grid .lp-card { height: 100%; }

/* Feedback chat button, icon-only (small mode and phones): 56 x 56 with a 28px icon */
.fb.is-small .fb-open { width: 56px; height: 56px; padding: 0; justify-content: center; gap: 0; position: relative; box-shadow: 0 6px 18px rgba(0,0,0,.28); }
.fb.is-small .fb-open > .bi { font-size: 28px; line-height: 1; }
.fb.is-small .fb-open .fb-dot, .fb.is-small .fb-open .fb-draft { position: absolute; top: -4px; right: -4px; }
.fb.is-small .fb-shrink { width: 30px; height: 30px; }
.fb.is-small .fb-panel { bottom: 66px; }
@media (max-width: 560px) {
  .fb-open { width: 56px; height: 56px; padding: 0; justify-content: center; gap: 0; position: relative; box-shadow: 0 6px 18px rgba(0,0,0,.28); }
  .fb-open > .bi { font-size: 28px; line-height: 1; }
  .fb-open .fb-dot, .fb-open .fb-draft { position: absolute; top: -4px; right: -4px; }
  .fb-panel { bottom: 66px; }
}
.btt { bottom: 88px; }

/* Compare the reports: aligned headings (name, then price and sample on one line across), heading row stays
   under the top bar while the table scrolls past; phones show one report at a time with controls. */
.lpp-tbl-wrap { overflow: visible; }
.lpp-tbl { table-layout: fixed; min-width: 0; }
.lpp-tbl col.lpp-col-label { width: 22%; }
.lpp-tbl thead th { height: 1px; position: sticky; top: var(--tbh, 60px); z-index: 3; background: #14313A; vertical-align: top;
  box-shadow: 0 1px 0 var(--teal-800); }
.lpp-tbl thead td { position: sticky; top: var(--tbh, 60px); z-index: 4; }
body.light .lpp-tbl thead th { background: #fff; box-shadow: 0 1px 0 var(--teal-200); }
.lpp-h { display: flex; flex-direction: column; height: 100%; gap: 3px; }
.lpp-h-name { flex: 1; font-weight: 700; line-height: 1.3; }
.lpp-h small { margin: 0; white-space: nowrap; }
.lpp-h .lpp-cmp-sample { margin-top: 2px; }
.lpp-tbl tbody th { width: auto; min-width: 0; }
.lpp-cmp-nav { display: none; }
@media (max-width: 720px) {
  .lpp-tbl col.lpp-col-label { width: 42%; }
  .lpp-tbl [data-col]:not(.is-cur) { display: none; }
  .lpp-tbl colgroup col:not(.lpp-col-label) { width: auto; }
  .lpp-cmp-nav { display: flex; align-items: center; gap: 10px; margin: 0 0 10px; padding: 8px; border-radius: 14px;
    border: 1px solid rgba(127,179,192,.3); background: rgba(127,179,192,.08); position: sticky; top: var(--tbh, 60px); z-index: 5; }
  body.light .lpp-cmp-nav { background: #EEF6F8; border-color: var(--teal-200); }
  .lpp-tbl thead th, .lpp-tbl thead td { top: calc(var(--tbh, 60px) + 64px); }
  .lpp-cmp-now { flex: 1; text-align: center; display: grid; gap: 6px; }
  .lpp-cmp-now b { font-size: 15px; }
  .lpp-cmp-dots { display: flex; justify-content: center; gap: 8px; }
  .lpp-cmp-dot { width: 10px; height: 10px; padding: 0; border-radius: 50%; border: 1px solid var(--teal-300); background: transparent; cursor: pointer; }
  .lpp-cmp-dot.is-on { background: var(--teal-300); }
  body.light .lpp-cmp-dot { border-color: var(--teal-700); } body.light .lpp-cmp-dot.is-on { background: var(--teal-700); }
  .lpp-cmp-arrow { width: 44px; height: 44px; flex: none; border-radius: 50%; border: 0; cursor: pointer; background: var(--teal-700); color: #fff;
    font-size: 18px; display: grid; place-items: center; }
}
@media (max-width: 720px) {
  .lpp-tbl { table-layout: auto; }                 /* hidden columns must not keep their width */
  .lpp-tbl colgroup { display: none; }
  .lpp-tbl tbody th { width: 42%; }
}

/* Staff: showcase reports */
.sc-form { display: grid; gap: 14px; max-width: 760px; }
.sc-fs { border: 1px solid rgba(127,179,192,.3); border-radius: 12px; padding: 10px 14px; }
.sc-fs legend { font-weight: 700; padding: 0 6px; }
.sc-opts { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.sc-parts { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.sc-opt { display: inline-flex; gap: 8px; align-items: center; font-weight: 500; cursor: pointer; }
.sc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 10px 14px; }
.sc-grid label, .sc-form > label { display: grid; gap: 4px; font-size: 13.5px; font-weight: 600; }
.sc-form small { font-weight: 400; opacity: .85; }
.sc-check { display: flex !important; gap: 8px; align-items: flex-start; }
.sc-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.sc-delete { margin-top: 28px; }
.sc-b[hidden] { display: none; }

/* Staff: showcase list as a clear table in the brand's light teal */
.sc-top-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 10px 0 16px; }
.sc-top-actions .auth-btn { width: auto; }
.sc-table-wrap { overflow-x: auto; border-radius: 14px; border: 1px solid #B5D6DD; }
.sc-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.sc-table th, .sc-table td { padding: 9px 12px; text-align: left; vertical-align: middle; border-bottom: 1px solid rgba(181,214,221,.45);
  border-right: 1px solid rgba(181,214,221,.30); }
.sc-table th:last-child, .sc-table td:last-child { border-right: 0; }
.sc-table tbody tr:last-child td { border-bottom: 0; }
.sc-table thead th { background: #B5D6DD; color: #111; font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.sc-table tbody tr:nth-child(even) td { background: rgba(181,214,221,.08); }
.sc-table tbody tr:hover td { background: rgba(181,214,221,.16); }
.sc-table td a { color: var(--teal-300); font-weight: 700; }
body.light .sc-table tbody tr:nth-child(even) td { background: #F2F8F9; }
body.light .sc-table tbody tr:hover td { background: #E6F1F3; }
body.light .sc-table td a { color: var(--teal-700); }

/* My readings: stacked cards (the page column is narrow on every screen): name and type on top, details below,
   one Open button and a More menu for everything else. Search, sort and pages on top. */
.rd-tools { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 18px 0 6px; }
.rd-search { flex: 1 1 100%; }
.rd-search input, .rd-sel select { width: 100%; min-height: 48px; font-size: 16px; }
.rd-sel { flex: 1 1 140px; }
.rd-clear { font-weight: 700; padding: 10px 6px; }
.rd-count { font-size: 13.5px; color: var(--muted-dark); margin: 4px 0 0; }
body.light .rd-count { color: var(--muted-light); }
.rd-item { display: flex; flex-direction: column; gap: 10px; padding: 14px 16px; margin-top: 12px; }
.rd-top { display: flex; flex-direction: column; gap: 6px; }
.rd-title { font-size: 18px; font-weight: 800; line-height: 1.3; overflow-wrap: break-word; word-break: normal; hyphens: manual; }
.rd-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.rd-badge { display: inline-flex; align-items: center; padding: 2px 10px; border-radius: 999px; font-size: 12px; font-weight: 800;
  background: var(--teal-700); color: #fff; }
.rd-badge.is-muted { background: transparent; color: inherit; border: 1px solid var(--teal-300); }
body.light .rd-badge.is-muted { border-color: var(--teal-700); }
.rd-info { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: flex-start; }
.rd-nums { display: flex; gap: 4px; flex: none; }
.rd-pill { width: 28px; height: 28px; font-size: 13px; }
.rd-meta { display: flex; flex-wrap: wrap; gap: 4px 16px; margin: 0; font-size: 14px; flex: 1 1 200px; }
.rd-meta > div { display: flex; gap: 6px; }
.rd-meta-full { flex-basis: 100%; }
.rd-meta dt { color: var(--muted-dark); font-weight: 600; }
body.light .rd-meta dt { color: var(--muted-light); }
.rd-meta dd { margin: 0; font-weight: 700; }
.rd-note { margin: 0; }
.rd-pairs { margin: 0; }
.rd-bar { display: flex; gap: 8px; align-items: flex-start; flex-wrap: wrap; }
.rd-bar .rd-open { flex: 1 1 auto; justify-content: center; min-height: 48px; font-size: 16px; }
.rd-more { flex: 0 0 auto; }
.rd-more[open] { flex-basis: 100%; order: 2; }
.rd-more > summary { list-style: none; min-height: 48px; display: inline-flex; align-items: center; gap: 6px; cursor: pointer; font-size: 15px; }
.rd-more > summary::-webkit-details-marker { display: none; }
.rd-more[open] > summary { width: 100%; justify-content: center; }
.rd-more-menu { display: flex; flex-direction: column; margin-top: 8px; border: 1px solid var(--teal-800); border-radius: 12px; overflow: hidden; }
body.light .rd-more-menu { border-color: var(--teal-200); }
.rd-more-menu > a, .rd-edit > summary { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 10px 14px;
  font-size: 15px; font-weight: 700; color: inherit; text-decoration: none; cursor: pointer; }
.rd-more-menu > a + a, .rd-more-menu > .rd-edit { border-top: 1px solid var(--teal-800); }
body.light .rd-more-menu > a + a, body.light .rd-more-menu > .rd-edit { border-top-color: var(--teal-200); }
.rd-more-menu > a:hover, .rd-edit > summary:hover { background: var(--teal-900); }
body.light .rd-more-menu > a:hover, body.light .rd-edit > summary:hover { background: var(--teal-50); }
.rd-edit { margin: 0; }
.rd-edit > form { padding: 0 14px 12px; }
.rd-pages { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: center; margin: 22px 0 8px; }
.rd-page-no { font-weight: 700; font-size: 14px; }
.rd-item, .rd-info, .rd-meta, .rd-meta > div, .rd-meta dd { min-width: 0; }
.rd-meta dd, .rd-title, .rd-pair { overflow-wrap: anywhere; }
.rd-meta-full { flex-direction: column; gap: 0 !important; }
.rd-item .rd-more-menu > a, .rd-item .rd-more-menu > a:hover { text-decoration: none; }

/* ================================================================
   NEUMORPHIC LAYER (Soft UI, as in the owner's reference): page and surfaces share one tinted colour; surfaces
   are raised with two soft shadows (light top-left, dark bottom-right), inputs and panels are pressed in, buttons
   are pills. Eagle Rank colours kept: teal tint for the surface, coral for actions, black/teal-700 text.
   Contrast on #E6EEF0: black 17.9:1, teal-700 6.0:1, muted 6.7:1, coral-700 4.9:1, error/warn/ok 5.4:1+.
   Dark: #16343D surface, white 13:1, muted 8.2:1, teal-300 5.7:1.
   ================================================================ */
:root {
  --neu-bg: #16343D; --neu-hi: rgba(255,255,255,.055); --neu-lo: rgba(0,0,0,.42);
}
body.light {
  --neu-bg: #E6EEF0; --neu-hi: rgba(255,255,255,.9); --neu-lo: rgba(36,74,83,.20);
}
:root, body.light {
  --neu-raise: -7px -7px 16px var(--neu-hi), 8px 8px 18px var(--neu-lo);
  --neu-raise-sm: -3px -3px 8px var(--neu-hi), 4px 4px 10px var(--neu-lo);
  --neu-raise-lg: -10px -10px 24px var(--neu-hi), 12px 12px 28px var(--neu-lo);
  --neu-inset: inset 3px 3px 7px var(--neu-lo), inset -3px -3px 7px var(--neu-hi);
  --neu-inset-lg: inset 6px 6px 14px var(--neu-lo), inset -6px -6px 14px var(--neu-hi);
  --soft-shadow-sm: var(--neu-raise-sm); --soft-shadow: var(--neu-raise); --soft-shadow-lg: var(--neu-raise-lg);
  --soft-r: 24px;
}
html, body, .app-wrapper { background: var(--neu-bg); }
body.light, body.light .app-wrapper { background: var(--neu-bg); background-attachment: scroll; }

/* Raised surfaces: same colour as the page, no borders, two shadows */
.form-section, .auth-card, .lp-step, .lp-card, .lp-price, .lp-faq details, .plan-card, .plan-acct, .staff-card, .staff-sec,
.rd-item, .unlock-card, .sample-box, .cmp-pair, .cmp-ins-col, .lp-mock, .bridge-card, .report-section, .preview-section,
body.light .form-section, body.light .auth-card, body.light .staff-sec, body.light .staff-card, body.light .lp-step,
body.light .lp-card, body.light .lp-price, body.light .lp-faq details, body.light .plan-card, body.light .rd-item,
body.light .plan-acct, body.light .sample-box, body.light .cmp-pair, body.light .cmp-ins-col, body.light .unlock-card,
body.light .preview-section {
  background: var(--neu-bg); border: 1px solid transparent; box-shadow: var(--neu-raise);
}
.plan-card.plan-current, .lp-price.lp-pop, body.light .plan-card.plan-current, body.light .lp-price.lp-pop,
.unlock-card, body.light .unlock-card { border-color: rgba(255,111,97,.55); }
/* Cards inside cards: a little smaller lift so the nesting stays calm */
.auth-card .rd-item, .form-section .preview-section, .auth-card .plan-card { box-shadow: var(--neu-raise-sm); }
.lp-card:hover, .lp-step:hover, .lp-price:hover, .plan-card:hover, .rd-item:hover { transform: none; box-shadow: var(--neu-raise-lg); }
.auth-card .rd-item:hover { box-shadow: var(--neu-raise); }

/* Pressed-in panels and fields */
.preview-chip, body.light .preview-chip, .lp-mock-screen, .rd-more-menu, body.light .rd-more-menu {
  background: var(--neu-bg); border-color: transparent; box-shadow: var(--neu-inset);
}
.field-input, .auth-card input:not([type=checkbox]):not([type=radio]):not([type=hidden]), .auth-card select, .auth-card textarea,
.chat-form textarea, .lp-sel select, .tb-jump, .staff-inline input, .staff-form input, .staff-ta, .chat-edit,
body.light .field-input, body.light .auth-card input:not([type=checkbox]):not([type=radio]):not([type=hidden]),
body.light .auth-card select, body.light .auth-card textarea, body.light .chat-form textarea, body.light .lp-sel select,
body.light .tb-jump {
  background: var(--neu-bg); border: 1px solid rgba(70,129,143,.28); box-shadow: var(--neu-inset); border-radius: 16px;
}
.field-input:focus, .auth-card input:focus, .auth-card select:focus, .auth-card textarea:focus, .chat-form textarea:focus,
.lp-sel select:focus, .tb-jump:focus { box-shadow: var(--neu-inset), var(--soft-focus); }

/* Buttons: pills. Primary keeps the coral gradient (black text); secondary is a raised pill in the surface colour */
.btn-primary, .auth-btn.is-primary, .pdf-btn, .auth-btn.is-outline, .pdf-mail-btn, .btn-secondary, .tips-toggle, .staff-btn,
.chat-tool, .tb-tool, .tb-menu, .gc-btn, .sample-link, .auth-btn.is-danger { border-radius: 999px; }
.btn-primary, .auth-btn.is-primary, .pdf-btn, .tb-links .tb-cta {
  box-shadow: -4px -4px 10px var(--neu-hi), 6px 6px 14px rgba(255,111,97,.35), inset 0 1px 0 rgba(255,255,255,.35);
}
.btn-primary:hover, .auth-btn.is-primary:hover, .pdf-btn:hover, .tb-links .tb-cta:hover {
  transform: none; box-shadow: -5px -5px 12px var(--neu-hi), 8px 8px 18px rgba(255,111,97,.42), inset 0 1px 0 rgba(255,255,255,.35);
}
.btn-primary:active, .auth-btn.is-primary:active, .pdf-btn:active { box-shadow: inset 3px 3px 8px rgba(120,30,20,.35); }
.auth-btn.is-outline, .pdf-mail-btn, .btn-secondary, .tips-toggle, .tb-tool, .tb-menu, .sample-link, .chat-tool, .gc-btn,
body.light .auth-btn.is-outline, body.light .pdf-mail-btn, body.light .btn-secondary, body.light .tips-toggle,
body.light .tb-tool, body.light .tb-menu, body.light .sample-link {
  background: var(--neu-bg); border: 1px solid transparent; box-shadow: var(--neu-raise-sm);
}
body.light .auth-btn.is-outline, body.light .pdf-mail-btn, body.light .btn-secondary, body.light .tips-toggle,
body.light .tb-tool, body.light .tb-menu, body.light .sample-link { color: var(--teal-700); }
.auth-btn.is-outline:hover, .pdf-mail-btn:hover, .tb-tool:hover, .sample-link:hover,
body.light .auth-btn.is-outline:hover, body.light .pdf-mail-btn:hover, body.light .tb-tool:hover, body.light .sample-link:hover {
  background: var(--neu-bg); border-color: transparent; box-shadow: var(--neu-raise);
}
.auth-btn.is-outline:active, .pdf-mail-btn:active, .tb-tool:active, .sample-link:active, .tb-menu:active,
.rd-more[open] > summary { box-shadow: var(--neu-inset); }
.tb-tool.is-on { background: var(--soft-coral); box-shadow: var(--neu-inset); }

/* Navigation: part of the surface, lifted by a shadow; current page is a pressed-in pill */
.topbar, body.light .topbar { background: var(--neu-bg); box-shadow: 0 8px 20px var(--neu-lo), 0 -1px 0 var(--neu-hi) inset; }
.tb-links a, .tb-link-btn, .tb-acct > summary { border-radius: 999px; }
.tb-links a[aria-current="page"], .tb-acct > summary[aria-current="page"] {
  background: var(--neu-bg); color: inherit; box-shadow: var(--neu-inset); font-weight: 800;
}
body.light .tb-links a[aria-current="page"] { color: var(--teal-700); }
.tb-links a:hover, .tb-link-btn:hover, .tb-acct > summary:hover,
body.light .tb-links a:hover, body.light .tb-link-btn:hover, body.light .tb-acct > summary:hover { background: transparent; box-shadow: var(--neu-raise-sm); }
.lang-wrap, body.light .lang-wrap { background: var(--neu-bg); border-color: transparent; box-shadow: var(--neu-raise-sm); border-radius: 999px; }
@media (min-width: 1024px) {
  .tb-acct-menu, body.light .tb-acct-menu { background: var(--neu-bg); border-color: transparent; box-shadow: var(--neu-raise-lg); }
}
@media (forced-colors: active) {
  .form-section, .auth-card, .rd-item, .plan-card, .lp-card, .report-section, .auth-btn, .field-input { border: 1px solid CanvasText; }
}
/* More raised surfaces (landing, calculator, blog, pricing, panels). Report content and Quick slides keep white
   paper, since they are exported as PDF and images. */
.lpp-goal, .ucal, .pp-card, .bl-card, .bl-toc, .calc-gift-kinds a, .calc-journeys a, .calc-why, .be-box, .err-page,
.fb-panel, .guide-card, .chat-msg.is-assistant, .lp-car, .sp-card,
body.light .lpp-goal, body.light .ucal, body.light .pp-card, body.light .bl-card, body.light .bl-toc,
body.light .calc-gift-kinds a, body.light .calc-journeys a, body.light .calc-why, body.light .be-box, body.light .err-page,
body.light .fb-panel, body.light .guide-card, body.light .chat-msg.is-assistant, body.light .lp-car, body.light .sp-card {
  background: var(--neu-bg); border-color: transparent; box-shadow: var(--neu-raise);
}
.lpp-goal:hover, .calc-gift-kinds a:hover, .calc-journeys a:hover, .bl-card:hover { box-shadow: var(--neu-raise-lg); }
.guide-card, .fb-panel, body.light .guide-card, body.light .fb-panel { border-color: rgba(255,111,97,.55); }
.bl-cats a, body.light .bl-cats a { background: var(--neu-bg); border-color: transparent; box-shadow: var(--neu-raise-sm); border-radius: 999px; }
.bl-search input, body.light .bl-search input { background: var(--neu-bg); box-shadow: var(--neu-inset); border-radius: 999px; }
.uc-prev, .uc-next, body.light .uc-prev, body.light .uc-next { background: var(--neu-bg); border-color: transparent; box-shadow: var(--neu-raise-sm); }

/* ── Dark theme contrast: panels first designed as white paper now sit on the dark surface, so their text,
   labels and icons switch to the dark-theme colours (white 13:1, muted 8.2:1, teal-300 5.7:1 on #16343D).
   Report-content cards (.sp-card, the landing mock) stay white paper with black text in both themes. ── */
.sp-card, .lp-mock, body.light .sp-card, body.light .lp-mock { background: #fff; color: var(--black); }
body:not(.light) .ucal, body:not(.light) .guide-card { color: #fff; }
body:not(.light) .uc-top b { color: #fff; }
body:not(.light) .uc-dow, body:not(.light) .uc-day small, body:not(.light) .uc-wd { color: var(--muted-dark); }
body:not(.light) .uc-chip { background: var(--neu-bg); box-shadow: var(--neu-inset); color: #fff; }
body:not(.light) .uc-chip b, body:not(.light) .uc-sub { color: var(--teal-300); }
body:not(.light) .uc-day:hover { background: rgba(255,255,255,.07); }
body:not(.light) .uc-day.is-today small, body:not(.light) .uc-week li.is-today { color: var(--black); }
body:not(.light) .uc-day.is-picked { border-color: var(--teal-300); }
body:not(.light) .uc-prev, body:not(.light) .uc-next { color: #fff; }
body:not(.light) .uc-prev:disabled, body:not(.light) .uc-next:disabled { background: transparent; color: rgba(255,255,255,.45); box-shadow: none; }
body.light .uc-chip { background: var(--neu-bg); box-shadow: var(--neu-inset); }
body.light .uc-prev:disabled, body.light .uc-next:disabled { background: transparent; color: #7C9AA1; box-shadow: none; }
body:not(.light) .gc-head { color: var(--teal-300); }
body:not(.light) .gc-x { color: var(--muted-dark); }
/* Secondary pill buttons on the dark surface: white text and icons */
body:not(.light) .auth-btn.is-outline, body:not(.light) .pdf-mail-btn, body:not(.light) .btn-secondary,
body:not(.light) .tips-toggle, body:not(.light) .tb-tool, body:not(.light) .tb-menu, body:not(.light) .sample-link,
body:not(.light) .chat-tool, body:not(.light) .gc-btn:not(.is-primary) { color: #fff; }
body.light .gc-btn:not(.is-primary) { color: var(--teal-700); }

/* Audio summary card (report page) */
.au-card { margin: 18px 0 22px; padding: 18px 20px; border-radius: var(--soft-r); background: var(--neu-bg); box-shadow: var(--neu-raise); }
.au-head { display: flex; gap: 14px; align-items: flex-start; }
.au-icon { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 50%;
  background: var(--soft-coral); color: var(--black); font-size: 22px; box-shadow: var(--neu-raise-sm); }
.au-title { margin: 0; font-size: 19px; line-height: 1.3; }
.au-sub { margin: 4px 0 0; font-size: 15px; line-height: 1.5; }
.au-player { display: block; width: 100%; margin: 14px 0 6px; }
.au-row { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; margin-top: 12px; }
.au-meta { font-weight: 700; font-size: 14px; }
.au-progress { display: inline-flex; gap: 8px; align-items: center; font-size: 15px; font-weight: 600; }
.au-progress[hidden] { display: none; }
.au-spin { width: 18px; height: 18px; border-radius: 50%; border: 3px solid var(--teal-300); border-top-color: transparent; animation: auSpin 1s linear infinite; }
@keyframes auSpin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .au-spin { animation: none; } }
.au-note { margin: 10px 0 0; font-size: 14px; }
.au-transcript { margin-top: 12px; }
.au-transcript > summary { cursor: pointer; font-weight: 700; min-height: 44px; display: flex; align-items: center; }
.au-text { padding: 12px 16px; border-radius: 16px; box-shadow: var(--neu-inset); font-size: 16px; line-height: 1.65; }
.au-text p { margin: 0 0 10px; }
body.pdf-render .au-card { display: none !important; }
@media print { .au-card { display: none !important; } }
