/* Comply web app. Built to the Claude Design canvas on the consultation.club system. Light only, phone first. */
@font-face { font-family: "TT Commons Pro"; src: url("fonts/TT_Commons_Pro_Regular.otf") format("opentype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "TT Commons Pro"; src: url("fonts/TT_Commons_Pro_Medium.otf") format("opentype"); font-weight: 500; font-display: swap; }
@font-face { font-family: "TT Commons Pro"; src: url("fonts/TT_Commons_Pro_DemiBold.otf") format("opentype"); font-weight: 600; font-display: swap; }
@font-face { font-family: "TT Commons Pro"; src: url("fonts/TT_Commons_Pro_Bold.otf") format("opentype"); font-weight: 700; font-display: swap; }

:root {
  --ink: #1B1B1B; --fg-2: #555555; --fg-3: #777777;
  --surface: #FAFAFA; --surface-2: #F8F8F8; --surface-3: #F1F1F1; --card: #FFFFFF;
  --line: rgba(27,27,27,0.10); --line-2: rgba(27,27,27,0.20); --line-3: rgba(27,27,27,0.30);
  --orange: #FF6A13; --orange-tint: #FFF0E6;
  --red: #E80000; --red-ink: #A30000; --red-tint: #FDE8E8;
  --amber-ink: #7A4F00; --amber-tint: #FFF4DC;
  --shadow: 0 4px 20px rgba(0,0,0,0.06);
  --r-pill: 100px; --r-card: 20px; --r-sm: 15px; --r-md: 12px;
  --font: "TT Commons Pro", system-ui, -apple-system, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { font-feature-settings: "ss02" 1, "ss05" 1; }
html, body { margin: 0; background: var(--surface); color: var(--ink); font: 400 16px/1.45 var(--font); -webkit-font-smoothing: antialiased; }
body { padding-bottom: calc(84px + env(safe-area-inset-bottom)); }
body.no-tabs { padding-bottom: 0; }
a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--fg-2); }
img { max-width: 100%; }

/* Layout */
.top { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 20px 20px 10px; background: var(--surface); }
.wordmark { height: 26px; width: auto; display: block; }
.avatar { width: 36px; height: 36px; border-radius: var(--r-pill); background: var(--orange); color: var(--ink); display: grid; place-items: center; font-size: 15px; font-weight: 600; border: none; cursor: pointer; }
main { max-width: 560px; margin: 0 auto; padding: 8px 20px 24px; }
.stack { display: flex; flex-direction: column; gap: 16px; }
.view:not(.active) { display: none !important; }
.view.active { display: block; }
.view.active.stack { display: flex; }
h1 { margin: 0; font-size: 34px; font-weight: 700; line-height: 1; letter-spacing: -0.01em; }
h2 { margin: 0; font-size: 20px; font-weight: 700; line-height: 1.1; }
h3 { margin: 0; font-size: 16px; font-weight: 600; }
.lead { margin: 8px 0 0; color: var(--fg-2); }
.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--fg-3); }
.muted { color: var(--fg-3); }
.small { font-size: 13px; line-height: 1.4; }
.hidden { display: none !important; }
.row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.between { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }

/* Cards */
.card { background: var(--card); border-radius: var(--r-card); padding: 18px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 12px; }
.card.sm { border-radius: var(--r-sm); padding: 14px 16px; }
.dark-card { background: var(--ink); color: #FFFFFF; border-radius: var(--r-card); padding: 18px; display: flex; flex-direction: column; gap: 12px; }
.dark-card p { margin: 0; color: rgba(255,255,255,0.8); }
.dark-card h2 { font-size: 22px; }
.dark-card input { background: var(--ink); color: #FFFFFF; border-color: rgba(255,255,255,0.3); }
.dark-card input::placeholder { color: rgba(255,255,255,0.5); }
.dark-card label { color: #FFFFFF; }
.tile { display: flex; flex-direction: column; gap: 8px; padding: 14px 12px; border-radius: var(--r-sm); background: var(--card); box-shadow: var(--shadow); border: none; text-align: left; cursor: pointer; font: inherit; color: var(--ink); }
.tile svg { color: var(--orange); }
.tile b { font-size: 14px; font-weight: 600; line-height: 1.2; }
.tile span { font-size: 12px; color: var(--fg-3); line-height: 1.2; }
.well { background: var(--surface-2); border-radius: var(--r-md); padding: 12px 14px; }
.strip { border-radius: var(--r-md); padding: 10px 14px; font-size: 14px; line-height: 1.4; background: var(--surface-2); color: var(--fg-2); }
.strip.warn { background: var(--amber-tint); color: var(--amber-ink); }
.error { background: var(--red-tint); color: var(--red-ink); border-radius: var(--r-md); padding: 10px 14px; }

/* Forms */
label { display: flex; flex-direction: column; gap: 8px; font-size: 14px; font-weight: 500; }
label .hint { font-weight: 400; color: var(--fg-3); font-size: 13px; margin-top: -6px; }
label.file-btn, label.check { flex-direction: row; align-items: center; }
input[type=text], input[type=url], input[type=password], textarea, select { width: 100%; padding: 0 18px; height: 48px; border: 1px solid var(--line-2); border-radius: var(--r-pill); background: var(--card); color: var(--ink); font: 400 16px/1 var(--font); }
textarea { height: auto; min-height: 120px; padding: 14px 16px; border-radius: var(--r-card); line-height: 1.45; resize: none; }
textarea.sm { min-height: 84px; border-radius: 16px; }
input::placeholder, textarea::placeholder { color: rgba(27,27,27,0.3); }
input:focus, textarea:focus, select:focus { outline: 2px solid var(--orange); outline-offset: 1px; border-color: var(--ink); }
.check { flex-direction: row; align-items: center; gap: 10px; font-weight: 400; font-size: 15px; }
.check input { width: 20px; height: 20px; accent-color: var(--ink); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 16px; border-radius: var(--r-pill); border: 1px solid var(--ink); background: transparent; color: var(--ink); font: 500 15px/1 var(--font); cursor: pointer; text-decoration: none; }
.btn.light { border-color: var(--line-3); }
.btn.primary { height: 54px; width: 100%; border: none; background: var(--orange); color: var(--ink); font-size: 17px; }
.btn.primary.sm { height: 48px; width: auto; font-size: 16px; }
.btn.sm { height: 40px; padding: 0 16px; font-size: 14px; }
.btn.block { width: 100%; height: 54px; font-size: 17px; }
.btn:disabled { opacity: 0.6; cursor: wait; }
.btn.white { background: #FFFFFF; border-color: #FFFFFF; }
.link { background: none; border: none; color: var(--ink); font: 500 14px/1 var(--font); padding: 0; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.back { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 500; }
.file-btn { position: relative; display: inline-flex; }
.file-btn input { position: absolute; inset: 0; opacity: 0; width: 100%; height: 100%; cursor: pointer; }
.drop { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; min-height: 150px; padding: 20px; border-radius: var(--r-card); border: 1px dashed rgba(27,27,27,0.4); background: var(--surface); color: var(--ink); font: 500 16px/1.3 var(--font); text-align: center; cursor: pointer; position: relative; }
.drop span { font-size: 13px; font-weight: 400; color: var(--fg-3); }
.drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.thumb { display: flex; align-items: center; gap: 12px; }
.thumb img { width: 56px; height: 56px; object-fit: cover; border-radius: var(--r-md); border: 1px solid var(--line); }

/* Chips and pills */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { height: 38px; padding: 0 14px; border-radius: var(--r-pill); border: 1px solid var(--line-3); background: transparent; color: var(--ink); font: 500 14px/1 var(--font); cursor: pointer; }
.chip.active { background: var(--orange); border-color: var(--orange); }
.pill { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; padding: 5px 10px; border-radius: var(--r-pill); white-space: nowrap; }
.pill.fail { background: var(--red-tint); color: var(--red-ink); }
.pill.review { background: var(--amber-tint); color: var(--amber-ink); }
.pill.ok { background: var(--orange-tint); color: var(--ink); }
.pill.neutral { background: var(--surface-3); color: var(--fg-2); }
.pill.outline { border: 1px solid var(--line-2); color: var(--fg-2); }
.pill img { height: 12px; width: auto; }
.tick { height: 22px; width: auto; flex: none; }

/* Verdict and issues */
.verdict { display: flex; gap: 14px; align-items: flex-start; padding: 18px; border-radius: var(--r-card); }
.verdict .badge { width: 44px; height: 44px; flex: none; border-radius: var(--r-pill); display: grid; place-items: center; font-weight: 700; font-size: 22px; }
.verdict h2 { font-size: 26px; line-height: 1; }
.verdict p { margin: 4px 0 0; font-size: 15px; line-height: 1.4; color: var(--ink); }
.verdict.compliant { background: var(--orange-tint); }
.verdict.compliant .badge { background: #FFFFFF; }
.verdict.compliant .badge img { height: 24px; }
.verdict.not_compliant { background: var(--red-tint); }
.verdict.not_compliant h2 { color: var(--red-ink); }
.verdict.not_compliant .badge { background: var(--red); color: #FFFFFF; }
.verdict.needs_human_check { background: var(--amber-tint); }
.verdict.needs_human_check h2 { color: var(--amber-ink); }
.verdict.needs_human_check .badge { background: #FFFFFF; color: var(--amber-ink); }
.content-box { white-space: pre-wrap; word-break: break-word; font-size: 16px; line-height: 1.5; }
mark { background: transparent; color: inherit; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; border-radius: 0; }
mark.fail { color: var(--red-ink); text-decoration-color: var(--red); }
mark.review { color: var(--amber-ink); text-decoration-color: var(--amber-ink); text-decoration-style: dotted; }
.issue header { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.part { display: flex; flex-direction: column; gap: 4px; }
.part p { margin: 0; font-size: 15px; line-height: 1.45; }
.part p.why, .part p.how { color: var(--fg-2); }
.part q { font-weight: 600; font-style: normal; }
.example { background: var(--surface-2); border-radius: var(--r-md); padding: 12px 14px; font-size: 15px; line-height: 1.45; }
.source { font-size: 12px; line-height: 1.4; color: var(--fg-3); }
.actions { display: flex; flex-direction: column; gap: 10px; }

/* Options, ideas, history */
.option textarea { min-height: 128px; border-radius: 16px; }
.option .live-issues { display: flex; flex-direction: column; gap: 6px; font-size: 13px; }
.goal-row { display: flex; flex-wrap: wrap; gap: 8px; }
.hist { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; }
.dot { flex: none; width: 10px; height: 10px; margin-top: 6px; border-radius: var(--r-pill); }
.dot.compliant { background: var(--orange); } .dot.not_compliant { background: var(--red); } .dot.needs_human_check { background: #E0A100; }
.snippet { color: var(--fg-2); font-size: 14px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.stat { display: flex; flex-direction: column; gap: 2px; }
.stat b { font-size: 24px; font-weight: 700; line-height: 1; }
.stat b.orange { color: var(--orange); }
.stat span { font-size: 12px; color: var(--fg-3); }
.chip-list { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-list span { font-size: 14px; padding: 8px 12px; border-radius: var(--r-pill); border: 1px solid var(--line-2); }

.practitioner label { font-size: 13px; }
.site-page summary::-webkit-details-marker, .site-clean summary::-webkit-details-marker { display: none; }
.site-page > summary { display: flex; }
.shot-wrap { max-height: 70vh; overflow: auto; border: 1px solid var(--line); border-radius: var(--r-md); background: #FFFFFF; }
.shot { position: relative; }
.shot img { display: block; width: 100%; height: auto; }
.pin { position: absolute; transform: translate(-50%, -50%); width: 24px; height: 24px; border-radius: var(--r-pill); background: var(--red); color: #FFFFFF; font-size: 12px; font-weight: 700; display: grid; place-items: center; box-shadow: 0 2px 6px rgba(0,0,0,0.35); border: 2px solid #FFFFFF; cursor: pointer; z-index: 2; }
.pin.review { background: #E0A100; color: var(--ink); }
.pin.added { background: var(--orange); color: var(--ink); border-color: var(--ink); font-size: 10px; }
.pin-box { position: absolute; border: 2px solid var(--red); border-radius: 4px; background: rgba(232,0,0,0.10); box-sizing: border-box; pointer-events: none; }
.pin-box.review { border-color: #E0A100; background: rgba(224,161,0,0.14); }
.pin-tag { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: var(--r-pill); background: var(--red); color: #FFFFFF; font-size: 11px; font-weight: 700; margin-right: 6px; vertical-align: -4px; }
.pin-tag.review { background: #E0A100; color: var(--ink); }
.shot-tabs { display: flex; gap: 6px; }
.shot-tabs .chip { height: 32px; font-size: 13px; }
.ld-plans { display: grid; gap: 16px; margin-top: 24px; }
@media (min-width: 900px) { .ld-plans { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.ld-plans .ld-price { margin-top: 0; max-width: none; }
.ld-price.featured { border: 2px solid var(--orange); }
.ld-compare { margin-top: 28px; overflow-x: auto; }
.ld-compare table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 560px; }
.ld-compare th, .ld-compare td { padding: 12px 10px; border-bottom: 1px solid var(--line); text-align: center; vertical-align: middle; }
.ld-compare th:first-child, .ld-compare td:first-child { text-align: left; }
.ld-compare th { font-size: 15px; font-weight: 600; line-height: 1.2; } .ld-compare th span { font-size: 12px; font-weight: 400; color: var(--fg-3); }
.ld-compare th:last-child, .ld-compare td:last-child { background: var(--orange-tint); }
.ld-compare .tick { height: 18px; }
@media (max-width: 599px) { .practitioner .grid-2 { grid-template-columns: 1fr; } }

/* Landing: the website home for anyone not logged in */
.landing { display: block; }
.landing section, .landing footer { scroll-margin-top: 72px; }
.ld-wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.ld-nav { position: sticky; top: 0; z-index: 5; background: var(--surface); border-bottom: 1px solid var(--line); }
.ld-nav .ld-wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; }
.ld-logo { height: 26px; width: auto; display: block; }
.ld-links { display: none; gap: 24px; font-size: 15px; font-weight: 500; }
.ld-hero { padding: 44px 0 40px; }
.ld-cols { display: grid; gap: 36px; }
.ld-copy { display: flex; flex-direction: column; gap: 18px; }
.ld-copy h1 { font-size: 44px; }
.ld-lead { margin: 0; font-size: 19px; line-height: 1.4; color: var(--fg-2); max-width: 560px; }
.ld-cta { display: flex; gap: 10px; flex-wrap: wrap; }
.ld-cta .btn.primary.sm { width: auto; padding: 0 22px; }
.ld-phone { justify-self: center; width: 100%; max-width: 360px; border-radius: 36px; background: var(--ink); padding: 12px; box-shadow: 0 20px 50px rgba(0,0,0,0.12); }
.ld-screen { background: var(--surface); border-radius: 26px; padding: 18px 14px; display: flex; flex-direction: column; gap: 12px; }
.ld-screen .verdict { padding: 14px; }
.ld-screen .verdict h2 { font-size: 22px; }
.ld-section { padding: 48px 0; border-top: 1px solid var(--line); }
.ld-h2 { font-size: 28px; line-height: 1.1; max-width: 720px; letter-spacing: -0.01em; }
.ld-sub { margin: 12px 0 0; color: var(--fg-2); font-size: 17px; line-height: 1.45; max-width: 640px; }
.ld-grid3 { display: grid; gap: 12px; margin-top: 24px; }
.ld-tile { background: var(--card); border-radius: var(--r-sm); padding: 18px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 6px; }
.ld-tile b { font-size: 17px; font-weight: 600; }
.ld-tile span { color: var(--fg-2); font-size: 15px; line-height: 1.4; }
.ld-steps { display: grid; gap: 18px; margin-top: 24px; }
.ld-step { display: flex; gap: 14px; align-items: flex-start; }
.ld-step b { font-size: 17px; font-weight: 600; }
.ld-step p { margin: 4px 0 0; color: var(--fg-2); font-size: 15px; line-height: 1.45; }
.ld-dark { background: var(--ink); color: #FFFFFF; border-top: none; }
.ld-dark .ld-h2 { color: #FFFFFF; }
.ld-dark .ld-sub { color: rgba(255,255,255,0.8); }
.ld-sources { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.ld-sources li { padding: 14px 16px; border: 1px solid rgba(255,255,255,0.2); border-radius: var(--r-md); display: flex; flex-direction: column; gap: 4px; }
.ld-sources b { font-size: 16px; }
.ld-sources span { font-size: 14px; line-height: 1.4; color: rgba(255,255,255,0.75); }
.ld-price { background: var(--card); border-radius: var(--r-card); padding: 24px; box-shadow: var(--shadow); max-width: 520px; display: flex; flex-direction: column; gap: 16px; margin-top: 24px; }
.ld-price .amount { font-size: 44px; font-weight: 700; line-height: 1; margin-top: 6px; }
.ld-price .amount small { font-size: 16px; font-weight: 400; color: var(--fg-3); }
.ld-price ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.ld-price li { display: flex; gap: 10px; align-items: center; font-size: 15px; }
.ld-faq { margin-top: 20px; display: flex; flex-direction: column; }
.ld-faq details { border-top: 1px solid var(--line); padding: 14px 0; }
.ld-faq details:last-child { border-bottom: 1px solid var(--line); }
.ld-faq summary { cursor: pointer; font-weight: 600; font-size: 17px; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.ld-faq summary::-webkit-details-marker { display: none; }
.ld-faq summary::after { content: "+"; color: var(--fg-3); font-weight: 400; }
.ld-faq details[open] summary::after { content: "\2013"; }
.ld-faq p { margin: 10px 0 0; color: var(--fg-2); line-height: 1.5; max-width: 720px; }
.ld-foot { padding: 32px 0 48px; border-top: 1px solid var(--line); font-size: 13px; color: var(--fg-3); }
.ld-foot .ld-wrap { display: flex; flex-direction: column; gap: 12px; }
.ld-foot a { text-decoration: underline; text-underline-offset: 2px; }

/* Tabs */
.tabs { position: fixed; bottom: 0; left: 0; right: 0; height: calc(84px + env(safe-area-inset-bottom)); padding: 8px 8px calc(24px + env(safe-area-inset-bottom)); display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); background: var(--card); border-top: 1px solid var(--line); z-index: 5; }
.tabs button { display: flex; flex-direction: column; align-items: center; gap: 4px; border: none; background: none; color: var(--fg-3); font: 500 11px/1 var(--font); cursor: pointer; padding: 0; }
.tabs button.active { color: var(--ink); font-weight: 600; }
.tabs button.active svg { color: var(--orange); }
.tabs svg { width: 22px; height: 22px; }

/* Admin */
.admin-top { height: 70px; padding: 0 30px; display: flex; align-items: center; justify-content: space-between; gap: 20px; background: var(--card); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 5; }
.admin-top .brand { display: flex; align-items: center; gap: 12px; }
.admin-top .brand div { display: flex; flex-direction: column; gap: 1px; padding-left: 12px; border-left: 1px solid var(--line-2); }
.admin-top .brand strong { font-size: 16px; line-height: 1; }
.admin-top .brand small { font-size: 12px; color: var(--fg-3); }
.admin-shell { display: flex; flex-wrap: wrap; min-height: calc(100vh - 70px); }
.side-nav { width: 210px; flex: 0 0 210px; padding: 20px 0; display: flex; flex-direction: column; gap: 4px; background: var(--card); border-right: 1px solid var(--line); }
.side-nav button { display: flex; align-items: center; gap: 10px; margin-right: 12px; padding: 12px 20px; border: 1px solid transparent; border-left: none; border-radius: 0 5px 5px 0; background: none; color: var(--fg-2); font: 500 15px/1 var(--font); cursor: pointer; text-align: left; }
.side-nav button.active { background: var(--orange-tint); border-color: var(--orange); color: var(--ink); font-weight: 600; }
.admin-main { flex: 999 1 560px; min-width: 0; padding: 30px; display: flex; flex-direction: column; gap: 20px; }
.admin-main h1 { font-size: 32px; }
.rule-list { display: flex; flex-direction: column; gap: 8px; }
.rule-row { display: grid; grid-template-columns: minmax(0, 2fr) 110px 130px; gap: 12px; align-items: center; padding: 14px 16px; border-radius: var(--r-sm); background: var(--card); box-shadow: var(--shadow); border: 1px solid transparent; cursor: pointer; }
.rule-row.active { background: var(--orange-tint); border-color: var(--orange); box-shadow: none; }
.rule-row b { font-size: 15px; font-weight: 600; }
.rule-row small { font-size: 12px; color: var(--fg-3); }
.admin-grid { display: flex; flex-wrap: wrap; gap: 20px; align-items: flex-start; }
.admin-grid > * { flex: 1 1 380px; min-width: 0; }
.json { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13px; min-height: 420px; border-radius: var(--r-md); }
.admin-main textarea { border-radius: var(--r-md); min-height: 0; }
.admin-main select { height: 44px; }

.spinner { display: inline-block; width: 16px; height: 16px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .8s linear infinite; vertical-align: -3px; margin-right: 8px; }
@keyframes spin { to { transform: rotate(360deg); } }
.toast { position: fixed; bottom: 100px; left: 50%; transform: translateX(-50%); background: var(--ink); color: #FFFFFF; padding: 10px 16px; border-radius: var(--r-pill); font-size: 14px; z-index: 6; }
@media (min-width: 720px) { main { max-width: 640px; } }

/* Desktop: a top bar with the sections in it, a wider column, no bottom tabs. */
@media (min-width: 900px) {
  body { padding-bottom: 48px; }
  .top { height: 68px; padding: 0 32px; border-bottom: 1px solid var(--line); }
  .wordmark { height: 28px; }
  #app main { max-width: 760px; padding: 36px 24px 48px; }
  .tabs { position: fixed; top: 0; bottom: auto; left: 50%; right: auto; transform: translateX(-50%); width: auto; height: 68px; padding: 0; display: flex; align-items: center; gap: 4px; background: transparent; border: none; z-index: 6; }
  .tabs button { flex-direction: row; gap: 8px; height: 40px; padding: 0 16px; border-radius: var(--r-pill); font-size: 14px; }
  .tabs button.active { background: var(--orange-tint); }
  .tabs svg { width: 18px; height: 18px; }
  .toast { bottom: 40px; }
  h1 { font-size: 40px; }
  .grid-3 { gap: 12px; }
  .ld-links { display: flex; }
  .ld-cols { grid-template-columns: 1.1fr 0.9fr; align-items: center; }
  .ld-copy h1 { font-size: 64px; }
  .ld-hero { padding: 80px 0 72px; }
  .ld-section { padding: 72px 0; }
  .ld-h2 { font-size: 38px; }
  .ld-grid3, .ld-steps, .ld-sources { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ld-steps { gap: 24px; }
}

/* Inputs inside dark cards (placed last so they win over the generic input rules). */
.dark-card input[type=text], .dark-card input[type=url] { background: var(--ink); color: #FFFFFF; border-color: rgba(255,255,255,0.3); }

/* Ideas feed */
.idea { display: flex; flex-direction: column; gap: 8px; border: none; background: none; padding: 0; text-align: left; cursor: pointer; font: inherit; color: var(--ink); }
.frame { position: relative; border-radius: var(--r-sm); padding: 14px; box-sizing: border-box; display: flex; flex-direction: column; justify-content: space-between; gap: 6px; overflow: hidden; }
.frame.reel { aspect-ratio: 9 / 16; justify-content: flex-end; }
.frame.carousel { aspect-ratio: 4 / 5; }
.frame.post { aspect-ratio: 1 / 1; }
.frame.dark { background: var(--ink); color: #FFFFFF; }
.frame.light { background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); }
.frame.grey { background: var(--surface-3); }
.frame.orange { background: var(--orange); color: var(--ink); }
.frame .badge { position: absolute; top: 10px; left: 10px; font-size: 11px; font-weight: 600; padding: 4px 8px; border-radius: var(--r-pill); background: rgba(27,27,27,0.08); color: var(--fg-2); }
.frame.dark .badge { background: rgba(255,255,255,0.15); color: #FFFFFF; }
.frame.orange .badge { background: rgba(27,27,27,0.12); color: var(--ink); }
.frame .hook { font-size: 20px; font-weight: 700; line-height: 1.05; letter-spacing: -0.01em; }
.frame.reel .hook { font-size: 22px; }
.frame .sub { font-size: 11px; line-height: 1.3; color: var(--fg-3); }
.frame.dark .sub { color: rgba(255,255,255,0.8); }
.frame.orange .sub { color: var(--ink); }
.frame .dots { display: flex; gap: 4px; }
.frame .dots span { width: 8px; height: 4px; border-radius: 2px; background: rgba(27,27,27,0.15); }
.frame .dots span:first-child { width: 14px; background: var(--orange); }
.frame .scrim { position: absolute; top: 44px; left: 14px; right: 14px; height: 54%; border-radius: 10px; background: rgba(255,255,255,0.06); }
.frame.light .scrim { background: var(--surface-2); }
.idea b { font-size: 15px; font-weight: 600; line-height: 1.2; }
.idea span.why { font-size: 12px; color: var(--fg-3); line-height: 1.3; }

/* Post plan */
.hook-card { background: var(--ink); color: #FFFFFF; border-radius: var(--r-card); padding: 18px; display: flex; flex-direction: column; gap: 10px; }
.hook-card .eyebrow { color: rgba(255,255,255,0.7); }
.hook-card p { margin: 0; }
.hook-card .big { font-size: 26px; font-weight: 700; line-height: 1; letter-spacing: -0.01em; }
.shots { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.shots li { display: flex; gap: 12px; }
.shot-num { flex: none; width: 28px; height: 28px; border-radius: var(--r-pill); background: var(--orange); color: var(--ink); display: grid; place-items: center; font-size: 14px; font-weight: 700; }
.shots b { font-size: 15px; font-weight: 600; }
.shots p { margin: 2px 0 0; font-size: 14px; line-height: 1.4; color: var(--fg-2); }
.slide-strip { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 4px; }
.slide { flex: none; width: 150px; aspect-ratio: 4 / 5; border-radius: var(--r-md); padding: 12px; box-sizing: border-box; display: flex; flex-direction: column; justify-content: flex-end; gap: 4px; background: var(--card); border: 1px solid var(--line-2); }
.slide.first { background: var(--ink); color: #FFFFFF; border-color: var(--ink); }
.slide small { font-size: 10px; color: var(--fg-3); }
.slide.first small { color: rgba(255,255,255,0.7); }
.slide b { font-size: 16px; font-weight: 700; line-height: 1.05; }
.slide span { font-size: 11px; line-height: 1.3; color: var(--fg-2); }
.post-image { aspect-ratio: 1 / 1; border-radius: var(--r-sm); background: var(--orange); color: var(--ink); padding: 20px; box-sizing: border-box; display: flex; flex-direction: column; justify-content: space-between; }
.post-image .big { font-size: 34px; font-weight: 700; line-height: 0.95; letter-spacing: -0.01em; }
.section-check { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 13px; }
.review-sheet textarea { min-height: 96px; }
.due { font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: var(--r-pill); background: var(--amber-tint); color: var(--amber-ink); }
.due.late { background: var(--red-tint); color: var(--red-ink); }
.due.done { background: var(--orange-tint); color: var(--ink); }
.frame.post, .frame.carousel { padding-top: 44px; }
.frame .hook { overflow-wrap: anywhere; }
.frame.reel .hook { font-size: 19px; }
.frame .scrim { height: 38%; }

.disclaimer { border-top: 1px solid var(--line); padding-top: 10px; margin: 8px 0 0; font-size: 12px; line-height: 1.4; color: var(--fg-3); }
.disclaimer summary { cursor: pointer; list-style: none; }
.disclaimer summary::-webkit-details-marker { display: none; }
.disclaimer .more { text-decoration: underline; text-underline-offset: 2px; }
.disclaimer[open] .more { display: none; }
.disclaimer p { margin: 6px 0 0; }
