/* Saffron, light by default; [data-theme="dark"] and [data-palette] (palettes.css) are set from the theme menu. */
:root {
  --bg: #faf8f6;
  --surface: #ffffff;
  --text: #111827;
  --muted: #6b7280;
  --muted-strong: #4b5563; /* readable grey on tinted backgrounds */
  --btn-bg: #c2410c;        /* darker saffron so white button text passes 4.5:1 */
  --btn-bg-hover: #9a3412;
  --border: #ece6e1;
  --brand: #ea580c;
  --brand-strong: #c2410c;
  --brand-ink: #ffffff;
  --brand-soft: #fff0e6;
  --note-bg: #fff8eb;
  --note-border: #f2b544;
  --shadow: 0 1px 2px rgba(17, 24, 39, .04), 0 4px 16px rgba(17, 24, 39, .04);
  --c1: #4f46e5; --c1s: #eef0ff;
  --c2: #0891b2; --c2s: #e6f6fa;
  --c3: #16a34a; --c3s: #e9f8ee;
  --c4: #d97706; --c4s: #fdf3e2;
  --c5: #db2777; --c5s: #fce9f2;
  --radius: 16px;
  color-scheme: light;
}
:root[data-theme="dark"] {
  --bg: #120d0a;
  --surface: #1c1612;
  --text: #e8ecf2;
  --muted: #94a0b4;
  --muted-strong: #b8c2d3;
  --btn-bg: #fb923c;
  --btn-bg-hover: #fdba74;
  --border: #33281f;
  --brand: #fb923c;
  --brand-strong: #fdba74;
  --brand-ink: #2a1205;
  --brand-soft: #2c1a0e;
  --note-bg: #2a2212;
  --note-border: #a16207;
  --shadow: none;
  --c1: #a5b4fc; --c1s: #1e2140;
  --c2: #67e8f9; --c2s: #0f2a33;
  --c3: #86efac; --c3s: #12291b;
  --c4: #fcd34d; --c4s: #2c2312;
  --c5: #f9a8d4; --c5s: #2e1424;
  color-scheme: dark;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font: 16px/1.6 "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", sans-serif;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--brand-strong); }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
main { max-width: 760px; margin: 0 auto; padding: 0 16px 56px; }
svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Header */
.site-header {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 760px; margin: 0 auto; padding: 14px 16px;
}
.brand { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 1.15rem; color: var(--text); text-decoration: none; }
.brand-mark {
  display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px;
  background: var(--brand); color: var(--brand-ink); font-size: 1rem;
}
.site-header nav { display: flex; align-items: center; gap: 6px; }
.site-header nav a { color: var(--muted); text-decoration: none; font-size: .95rem; padding: 8px; }
.theme-toggle {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px;
  border: 1px solid var(--border); background: var(--surface); color: var(--text); cursor: pointer;
}
.theme-toggle { position: relative; }
.theme-toggle .i-pal { width: 22px; height: 22px; }
.theme-toggle .i-pal .dot { fill: var(--brand); stroke: var(--brand); }
.theme-toggle .i-pal circle:not(.dot) { fill: currentColor; stroke: none; }
.mode-badge {
  position: absolute; right: -5px; bottom: -5px; display: grid; place-items: center; width: 18px; height: 18px;
  border-radius: 50%; background: var(--surface); border: 1px solid var(--border); color: var(--muted-strong);
}
.mode-badge svg { width: 11px; height: 11px; stroke-width: 2.4; }
.theme-toggle .i-moon { display: none; } /* badge shows the current mode */
.theme-wrap { position: relative; }
.theme-menu {
  position: absolute; right: 0; top: calc(100% + 8px); z-index: 20; width: 230px; padding: 8px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: 0 12px 32px rgba(0, 0, 0, .14);
}
.tm-dark, .pal {
  display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 10px; border: 0; border-radius: 10px;
  background: transparent; color: var(--text); font: inherit; font-size: .92rem; text-align: left; cursor: pointer;
}
.tm-dark { justify-content: space-between; font-weight: 600; }
.tm-dark:hover, .pal:hover { background: var(--bg); }
.tm-switch {
  position: relative; width: 36px; height: 20px; border-radius: 999px; background: var(--border); transition: background .15s;
}
.tm-switch::after {
  content: ""; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%;
  background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .2); transition: transform .15s;
}
.tm-dark[aria-checked="true"] .tm-switch { background: var(--brand); }
.tm-dark[aria-checked="true"] .tm-switch::after { transform: translateX(16px); }
.tm-label { margin: 8px 10px 4px; padding-top: 8px; border-top: 1px solid var(--border); font-size: .78rem; font-weight: 650; color: var(--muted); }
.pal-list { display: grid; gap: 2px; }
.pal[aria-pressed="true"] { background: var(--brand-soft); color: var(--brand-strong); font-weight: 650; }
.sw { display: flex; }
.sw i { width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--surface); margin-left: -5px; }
.sw i:first-child { margin-left: 0; }
:root[data-theme="dark"] .theme-toggle .i-moon { display: block; }
:root[data-theme="dark"] .theme-toggle .i-sun { display: none; }

/* Home */
.hero { padding: 28px 0 8px; }
.hero h1 { font-size: clamp(1.75rem, 6vw, 2.5rem); line-height: 1.15; letter-spacing: -.02em; margin: 0 0 8px; }
.hero h1 em { font-style: normal; color: var(--brand); }
.lead { margin: 0; color: var(--muted); font-size: 1.05rem; }
.stats { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 14px 0 0; padding: 0; font-size: .9rem; color: var(--muted); }
.stats li { display: inline-flex; align-items: center; gap: 6px; }
.tick {
  display: grid; place-items: center; width: 16px; height: 16px; border-radius: 50%;
  background: var(--brand-soft); color: var(--brand-strong); font-size: .62rem; font-weight: 800;
}
.stats strong { color: var(--text); font-weight: 750; }

.toolbar { position: sticky; top: 0; z-index: 5; background: var(--bg); padding: 16px 0 12px; display: grid; gap: 12px; }
.search {
  display: flex; align-items: center; gap: 10px; padding: 0 14px; border-radius: 14px;
  background: var(--surface); border: 1px solid var(--border); color: var(--muted);
}
.search:focus-within { border-color: var(--brand); }
#search { flex: 1; border: 0; outline: 0; background: transparent; color: var(--text); font-size: 1rem; padding: 12px 0; }
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: none; border: 1px solid var(--border); background: var(--surface); color: var(--text);
  padding: 7px 14px; border-radius: 999px; font-size: .9rem; cursor: pointer;
}
.chip[aria-pressed="true"] { background: var(--text); color: var(--bg); border-color: var(--text); }

/* Offer rows */
.list { display: grid; gap: 8px; }
.group {
  display: flex; align-items: center; gap: 8px; margin: 18px 4px 2px; font-size: .95rem; font-weight: 700;
}
.group:first-child { margin-top: 4px; }
.group span {
  font-size: .75rem; font-weight: 650; color: var(--muted); background: var(--surface);
  border: 1px solid var(--border); border-radius: 999px; padding: 0 8px;
}
.offer {
  display: flex; align-items: center; gap: 12px; padding: 12px 14px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow); color: var(--text); text-decoration: none;
  transition: border-color .15s, transform .15s, box-shadow .15s;
}
.offer:hover { border-color: var(--brand); transform: translateY(-1px); box-shadow: 0 6px 18px color-mix(in srgb, var(--brand) 14%, transparent); }
.offer .chev { transition: transform .15s, color .15s; }
.offer:hover .chev { transform: translateX(3px); color: var(--brand); }
.hub-item .offer:hover { transform: none; box-shadow: none; }
.offer-text { flex: 1; min-width: 0; display: grid; }
.offer-name { font-weight: 650; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.offer-bonus { color: var(--muted); font-size: .92rem; }
.offer-bonus strong, .bonus strong { color: var(--text); font-weight: 750; }
.chev { color: var(--muted); flex: none; }
.empty { color: var(--muted); text-align: center; padding: 24px 0; }

.avatar {
  flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px;
  font-weight: 800; font-size: 1.05rem;
}
.avatar.has-logo { background: #fff; overflow: hidden; box-shadow: inset 0 0 0 1px var(--border); }
.avatar.has-logo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.avatar.lg { width: 56px; height: 56px; font-size: 1.4rem; border-radius: 16px; }
.c1 { background: var(--c1s); color: var(--c1); }
.c2 { background: var(--c2s); color: var(--c2); }
.c3 { background: var(--c3s); color: var(--c3); }
.c4 { background: var(--c4s); color: var(--c4); }
.c5 { background: var(--c5s); color: var(--c5); }

.pill {
  flex: none; font-size: .72rem; font-weight: 700; padding: 3px 8px; border-radius: 999px;
  background: var(--brand-soft); color: var(--brand-strong); white-space: nowrap;
}
@media (max-width: 380px) { .offer .pill { display: none; } }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 18px; border-radius: 12px; font-weight: 650; font-size: 1rem;
  text-decoration: none; cursor: pointer; border: 1px solid transparent;
}
.btn-primary { background: var(--btn-bg); color: var(--brand-ink); }
.btn-primary:hover { background: var(--btn-bg-hover); }
.btn-outline { border-color: var(--border); background: var(--surface); color: var(--text); }
.code-row { display: flex; gap: 8px; }
.code {
  flex: 1; display: flex; align-items: center; min-height: 48px; padding: 0 14px; border-radius: 12px;
  border: 1.5px dashed var(--brand); background: var(--surface); font-weight: 700; letter-spacing: .05em;
  overflow-wrap: anywhere;
}
.code.copied { animation: copied .4s ease-out; }
@keyframes copied { 40% { background: var(--brand-soft); transform: scale(1.02); } }
.hint { margin: 0; color: var(--muted); font-size: .875rem; }
.hint.report { margin-top: 16px; }
.hint.report a { color: var(--brand-strong); font-weight: 600; }

/* Program page */
.crumbs { display: flex; gap: 8px; font-size: .875rem; color: var(--muted); padding-top: 8px; }
.crumbs a { color: var(--muted); }
.crumbs { align-items: center; }
.crumbs .back {
  display: inline-flex; align-items: center; gap: 4px; padding: 6px 14px 6px 8px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow);
  color: var(--text); font-weight: 600; text-decoration: none;
}
.crumbs .back:hover { border-color: var(--brand); color: var(--brand-strong); }
.crumbs .back svg { width: 16px; height: 16px; }
.program-head { display: flex; align-items: center; gap: 14px; margin: 16px 0 20px; }
.program h1 { font-size: clamp(1.45rem, 5vw, 2rem); line-height: 1.2; letter-spacing: -.01em; margin: 0; }
.meta { margin: 2px 0 0; color: var(--muted); font-size: .875rem; }
.meta a { color: var(--muted); }
.program h2 { font-size: 1.1rem; margin: 32px 0 12px; }

.bonus-box {
  background: var(--brand-soft); border-radius: var(--radius); padding: 18px;
}
.label { display: flex; align-items: center; gap: 8px; margin: 0 0 6px; font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--brand-strong); }
.label .pill { background: var(--surface); text-transform: none; letter-spacing: 0; }
.bonus { margin: 0 0 16px; font-size: 1.15rem; font-weight: 600; line-height: 1.45; }
.actions { display: grid; gap: 10px; }

.timeline { list-style: none; counter-reset: s; margin: 0; padding: 0; }
.timeline li {
  counter-increment: s; position: relative; padding: 0 0 18px 44px; min-height: 32px;
}
.timeline li::before {
  content: counter(s); position: absolute; left: 0; top: -2px;
  display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
  background: var(--surface); border: 2px solid var(--brand); color: var(--brand-strong); font-weight: 700; font-size: .9rem;
}
.timeline li:not(:last-child)::after {
  content: ""; position: absolute; left: 14px; top: 30px; bottom: 2px; width: 2px; background: var(--border);
}
.note { margin: 8px 0 0; background: var(--note-bg); border-left: 4px solid var(--note-border); padding: 12px 14px; border-radius: 10px; }

.fit { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); margin-top: 32px; }
.fit > div { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 14px 16px; }
.fit h2 { margin: 0 0 6px; font-size: 1rem; }
.fit p { margin: 0; color: var(--muted); }
.fit-yes h2::before { content: "✓ "; color: var(--c3); }
.fit-no h2::before { content: "✕ "; color: var(--c5); }

.more { margin-top: 32px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 4px 16px; }
.more summary { cursor: pointer; font-weight: 650; padding: 12px 0; }
.more h3 { font-size: 1rem; margin: 18px 0 4px; }
.more p { margin: 0; color: var(--muted); }
.more > :last-child { margin-bottom: 16px; }
.facts { width: 100%; border-collapse: collapse; margin-top: 4px; }
.facts th, .facts td { text-align: left; vertical-align: top; padding: 10px 0; border-bottom: 1px solid var(--border); font-size: .95rem; }
.facts th { width: 38%; padding-right: 12px; color: var(--muted); font-weight: 600; }

.prose p { color: var(--text); max-width: 65ch; }

/* Offer-end badge */
.badge-ends {
  flex: none; font-size: .72rem; font-weight: 700; padding: 3px 8px; border-radius: 999px;
  background: var(--note-bg); color: var(--c4); white-space: nowrap;
}
.badge-ends.ended { color: var(--muted); }
.meta .badge-ends { margin-left: 6px; }
@media (max-width: 380px) { .offer .badge-ends { display: none; } }

/* Guides list (home + hubs) */
.guides { max-width: 760px; margin: 32px auto 0; }
.guides h2 { font-size: 1.1rem; margin: 0 0 8px; }
.guides ul { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.guides a {
  display: inline-block; padding: 7px 14px; border: 1px solid var(--border); border-radius: 999px;
  background: var(--surface); color: var(--text); text-decoration: none; font-size: .9rem;
}
.guides a:hover { border-color: var(--brand); }
.hub-item {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow);
}
.hub-item:hover { border-color: var(--brand); }
.hub-item .offer { border: 0; box-shadow: none; background: transparent; }
.hub-why {
  margin: 0 14px 14px; padding: 10px 12px; border-radius: 12px; background: var(--bg);
  color: var(--text); font-size: .92rem; line-height: 1.5;
}
.tips { padding-left: 20px; }
.tips li { margin: 6px 0; }

/* Bonus tracker */
.field {
  width: 100%; min-height: 48px; padding: 0 12px; border-radius: 12px; font: inherit;
  border: 1px solid var(--border); background: var(--bg); color: var(--text);
}
.deadlines { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 8px; }
.deadlines li {
  display: grid; gap: 4px; padding: 14px 16px; background: var(--surface);
  border: 1px solid var(--border); border-left: 4px solid var(--brand); border-radius: 12px;
}
.deadlines li.soon { border-left-color: var(--note-border); }
.deadlines li.past { opacity: .6; border-left-color: var(--border); }
.d-date { font-weight: 700; }
.d-left { margin-left: 6px; font-weight: 600; font-size: .85rem; color: var(--muted); }
.d-gcal { font-size: .9rem; }

/* Credit card finder */
.finder-row {
  display: flex; align-items: center; gap: 12px; padding: 12px 14px; margin-bottom: 12px;
  background: var(--brand-soft); border: 1px solid transparent; border-radius: var(--radius);
  color: var(--text); text-decoration: none;
}
.finder-row:hover { border-color: var(--brand); }
.finder-row .offer-bonus { color: var(--muted-strong); }
.finder-icon {
  flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px;
  background: var(--brand); color: var(--brand-ink);
}
.program > .lead { margin: 8px 0 8px; }
.quiz { display: grid; gap: 14px; margin-top: 20px; }
.q {
  margin: 0; padding: 16px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface);
}
.q legend { display: flex; align-items: center; gap: 10px; padding: 0; font-weight: 650; float: left; width: 100%; margin-bottom: 12px; }
.q-num {
  flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%;
  border: 2px solid var(--brand); color: var(--brand-strong); font-size: .8rem; font-weight: 700;
}
.opts { clear: both; display: flex; flex-wrap: wrap; gap: 8px; }
.opt { position: relative; }
.opt input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.opt span {
  display: inline-flex; align-items: center; min-height: 44px; padding: 8px 14px; border-radius: 12px;
  border: 1px solid var(--border); background: var(--bg); cursor: pointer; font-size: .95rem;
}
.opt input:checked + span { background: var(--brand-soft); border-color: var(--brand); color: var(--brand-strong); font-weight: 650; }
.opt input:focus-visible + span { outline: 2px solid var(--brand); outline-offset: 2px; }
.btn-block { width: 100%; }
.quiz-error { margin: 0; color: var(--c5); font-weight: 600; }
.results { margin-top: 8px; scroll-margin-top: 16px; }
.results .hint { margin: 14px 0; }
.result .offer-bonus { white-space: normal; }
.result-bonus { margin-top: 2px; font-size: .88rem; font-weight: 650; color: var(--brand-strong); }
.top {
  display: inline-block; margin-right: 8px; padding: 1px 8px; border-radius: 999px; vertical-align: 2px;
  background: var(--btn-bg); color: var(--brand-ink); font-size: .7rem; font-weight: 700;
}

/* Sticky action bar on phones */
.sticky-cta { display: none; }
@media (max-width: 720px) {
  .has-sticky main { padding-bottom: 120px; }
  .sticky-cta {
    display: grid; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 10;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    background: var(--surface); border-top: 1px solid var(--border);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, .06);
    transform: translateY(110%); transition: transform .2s;
  }
  .sticky-cta.show { transform: none; }
}

.site-footer {
  max-width: 760px; margin: 0 auto; padding: 24px 16px 40px;
  border-top: 1px solid var(--border); color: var(--muted); font-size: .85rem;
}
.site-footer a { color: var(--muted); }
.foot-grid { display: grid; gap: 24px; grid-template-columns: 1fr 1fr; }
.foot-about { grid-column: 1 / -1; }
.foot-about .brand { margin-bottom: 8px; color: var(--text); }
.foot-about p { margin: 0; max-width: 60ch; }
.site-footer h2 { margin: 0 0 6px; font-size: .85rem; color: var(--text); }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.site-footer ul a { text-decoration: none; }
.site-footer ul a:hover { color: var(--brand-strong); text-decoration: underline; }
.foot-note { margin: 24px 0 0; font-size: .8rem; }
@media (min-width: 720px) {
  .foot-grid { grid-template-columns: 2fr 1fr 1fr; }
  .foot-about { grid-column: auto; }
}
.has-sticky .site-footer { padding-bottom: 140px; }
.toast {
  position: fixed; left: 50%; bottom: 96px; transform: translateX(-50%); z-index: 20;
  background: var(--text); color: var(--bg); padding: 8px 16px; border-radius: 999px; font-size: .9rem;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* "Best cards for" strip (phones/tablets, home) */
.guide-strip {
  display: flex; align-items: center; gap: 8px; overflow-x: auto; margin: -2px -16px 16px; padding: 2px 16px 4px;
  scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent);
}
.guide-strip::-webkit-scrollbar { display: none; }
.guide-strip-label { flex: none; font-size: .85rem; font-weight: 650; color: var(--muted); margin-right: 2px; }
.guide-strip a {
  flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px 6px 8px;
  border: 1px solid var(--border); border-radius: 999px; background: var(--surface); box-shadow: var(--shadow);
  color: var(--text); text-decoration: none; font-size: .9rem; font-weight: 550; white-space: nowrap;
}
.guide-strip a:hover { border-color: var(--brand); }
.guide-strip .ico { width: 24px; height: 24px; border-radius: 50%; }
.guide-strip .ico svg { width: 14px; height: 14px; }
.guides a[aria-current] { border-color: var(--brand); color: var(--brand-strong); }

/* Line icon in a soft tile (guides + tools) */
.ico, .tool-ico {
  flex: none; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand-strong);
}
.ico { width: 32px; height: 32px; border-radius: 10px; }
.ico svg { width: 17px; height: 17px; stroke-width: 1.8; }
.avatar.sm { width: 34px; height: 34px; border-radius: 10px; font-size: .85rem; }

/* Side rails: only on wide screens, where there's empty space either side */
.side { display: none; }
@media (min-width: 1200px) {
  .layout {
    display: grid; grid-template-columns: 1fr minmax(0, 760px) 1fr; gap: 28px;
    max-width: 1360px; margin: 0 auto; padding: 0 24px;
  }
  .layout > main { width: 100%; margin: 0; padding-left: 0; padding-right: 0; }
  .site-header, .site-footer { max-width: 1360px; padding-left: 40px; padding-right: 40px; }
  .side {
    /* full-height sticky column with its panels centred, so they sit mid-screen while scrolling */
    display: flex; flex-direction: column; justify-content: center; gap: 14px;
    position: sticky; top: 0; align-self: start; height: 100vh; overflow-y: auto;
    width: 100%; max-width: 260px; padding: 16px 0;
  }
  .side-l { justify-self: end; }
  .side-r { justify-self: start; }
  .panel {
    background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
    box-shadow: var(--shadow); padding: 14px 10px 10px;
  }
  .side-home {
    display: flex; align-items: center; gap: 10px; padding: 7px 8px; margin-bottom: 10px; border-radius: 12px;
    color: var(--text); text-decoration: none; font-size: .93rem; font-weight: 650;
    border-bottom: 1px solid var(--border); border-radius: 12px 12px 0 0; padding-bottom: 12px;
  }
  .side-home:hover { color: var(--brand-strong); }
  .side-home[aria-current] .ico { background: var(--brand); color: var(--brand-ink); }
  .panel h2 { margin: 0 0 8px; padding: 0 8px; font-size: .9rem; font-weight: 700; }
  .side-nav, .side-top { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
  .side-nav a, .side-top a {
    display: flex; align-items: center; gap: 10px; padding: 7px 8px; border-radius: 12px;
    color: var(--text); text-decoration: none; font-size: .93rem; font-weight: 550;
  }
  .side-nav a:hover, .side-top a:hover { background: var(--bg); }
  .side-nav a[aria-current], .side-top a[aria-current] { background: var(--brand-soft); color: var(--brand-strong); }
  .side-nav a[aria-current] .ico { background: var(--brand); color: var(--brand-ink); }
  .top-text { display: grid; min-width: 0; line-height: 1.3; }
  .top-name { font-size: .9rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .side-bonus { font-size: .8rem; color: var(--muted); font-weight: 500; }
  .side-bonus strong { color: var(--brand-strong); }
  .tools { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .tool-tile {
    display: grid; gap: 10px; padding: 14px 12px; border-radius: var(--radius); text-decoration: none;
    background: var(--brand-soft); color: var(--text); font-size: .88rem; font-weight: 650; line-height: 1.3;
    border: 1px solid transparent;
  }
  .tool-tile:hover, .tool-tile[aria-current] { border-color: var(--brand); }
  .tool-ico { width: 34px; height: 34px; border-radius: 10px; background: var(--brand); color: var(--brand-ink); }
  .tool-ico svg { width: 18px; height: 18px; }
  .guide-strip, main .guides { display: none; }
}

/* Contact form */
.f-label { display: block; margin-bottom: 6px; font-weight: 650; }
.opt-l { font-weight: 500; color: var(--muted); font-size: .85rem; }
textarea.field { min-height: 140px; padding: 12px; resize: vertical; line-height: 1.5; }
.f-row { display: grid; gap: 14px; }
@media (min-width: 640px) { .f-row { grid-template-columns: 1fr 1fr; } }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.btn:disabled { opacity: .7; cursor: wait; }
