/* SmartCited — Medium-inspired editorial design language (mirrors deploy/index.html) */
:root {
  --ink: #242424; --ink-2: #6b6b6b; --ink-3: #767470; /* darkened from #a8a6a0 (2.4:1) for WCAG AA text contrast (~4.7:1 on white) */
  --rule: #f2f2f2; --rule-2: #e5e5e5; --pill: #f2f2f2;
  --accent: #1a8917;            /* publishable / you / wins / endorsed */
  --action-wash: #edf7ea; --action-ink: #0d4d0b;
  --proof-wash: #eef4fb; --review-wash: #fff8e8;
  --critical: #d03b3b;          /* negative / unknown-outline */
  --caution: #b58900; --caution-wash: #fff8dd; /* cautious stance */
  --earnable: #2a78d6; --closed: #55534d; --unc: #d4d2cc;
  --heat-1: #e6e5e1; --heat-2: #c2c0ba; --heat-3: #9a988f; --heat-4: #6b6963; --heat-5: #292929;
}
* { box-sizing: border-box; margin: 0; }
body { background: #ffffff; color: var(--ink);
       font: 15px/1.6 -apple-system, "Helvetica Neue", Helvetica, Arial, sans-serif;
       -webkit-font-smoothing: antialiased; }
.serif { font-family: Georgia, "Times New Roman", serif; }
.col { max-width: 728px; margin: 0 auto; padding: 0 24px; }
a { color: var(--ink); }
header { padding: 64px 0 0; }
h1 { font-family: Georgia, serif; font-size: 46px; line-height: 1.12; letter-spacing: -0.015em; font-weight: 700; }
.deck { font-size: 19px; color: var(--ink-2); margin-top: 14px; line-height: 1.45; }
.deck b { color: var(--ink); }
.byline { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; font-size: 13px; color: var(--ink-2);
          padding: 22px 0; border-bottom: 1px solid var(--rule); margin-top: 28px; }
.byline b { color: var(--ink); font-weight: 500; }
.byline a { color: var(--ink-2); text-decoration: none; }
.byline a:hover { color: var(--ink); }
.brand-inline { display: inline-flex; align-items: center; gap: 5px; }
.brand-inline img { width: 16px; height: 16px; object-fit: contain; border-radius: 2px; }
.brand-inline span { display: block; }
.dot::before { content: "·"; margin: 0 2px; }
section { padding: 44px 0 8px; }
h2 { font-family: Georgia, serif; font-size: 25px; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 6px; }
.lede { color: var(--ink-2); font-size: 15px; margin-bottom: 26px; }
.pill { background: var(--pill); border-radius: 100px; padding: 2px 11px; font-size: 12px; color: var(--ink-2); white-space: nowrap; }

/* ---------- skip link ---------- */
.skip-link { position: absolute; top: -100px; left: 16px; z-index: 1000;
             background: var(--ink); color: #fff; font: 600 14px/1 inherit; font-family: inherit;
             padding: 12px 20px; border: none; border-radius: 6px; cursor: pointer; }
.skip-link:focus { top: 16px; }
#app:focus { outline: none; } /* focused only to receive the skip target, not to show a ring around the whole page */

/* ---------- home ---------- */
.hero-form { display: flex; gap: 10px; margin-top: 34px; }
.hero-form input { flex: 1; font: 16px/1.4 inherit; font-family: inherit; padding: 12px 16px;
                   border: 1px solid var(--rule-2); border-radius: 6px; color: var(--ink); min-width: 0; }
.hero-form input:focus { outline: none; border-color: var(--ink-3); }
.hero-form input::placeholder { color: var(--ink-3); }
.btn { font: 600 15px/1 inherit; font-family: inherit; background: var(--accent); color: #fff; border: none;
       border-radius: 100px; padding: 14px 26px; cursor: pointer; white-space: nowrap; }
.btn:hover { background: #14700f; }
.btn[disabled] { opacity: .55; cursor: default; }
.btn:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 3px solid rgba(42,120,214,.32); outline-offset: 3px;
}
.btn-secondary { background: #fff; color: var(--ink); border: 1px solid var(--rule-2); }
.btn-secondary:hover { background: var(--pill); }
.btn-compact { padding: 10px 18px; font-size: 13.5px; }
.btn.has-draft { background: var(--ink); }
.btn.has-draft:hover { background: #000; }
.form-note { font-size: 13.5px; margin-top: 12px; color: var(--ink-2); }
.form-note.err { color: var(--critical); }

.scan-row { display: flex; gap: 14px; align-items: center;
            padding: 16px 0; border-bottom: 1px solid var(--rule); cursor: pointer; }
.scan-row > div:first-child { flex: 1; min-width: 0; }
.trackbtn { font-size: 13px; color: var(--accent); text-decoration: none; border: 1px solid rgba(26,137,23,.35);
            border-radius: 100px; padding: 3px 12px; white-space: nowrap; }
.trackbtn:hover { background: rgba(26,137,23,.07); }
.pro-card { border: 1px solid var(--rule-2); border-radius: 10px; padding: 16px 20px; margin: 6px 0 26px;
            font-size: 14.5px; line-height: 1.6; background: rgba(26,137,23,.04); }
.pro-card .btn { margin-left: 10px; padding: 8px 18px; font-size: 14px; }
.pro-links { color: var(--ink-2); font-size: 13px; margin-left: 8px; white-space: nowrap; }
.pro-links a { color: var(--ink-2); }
.scan-row:hover .scan-name { text-decoration: underline; text-underline-offset: 3px; }
.scan-name { font-family: Georgia, serif; font-size: 17px; font-weight: 700; }
.scan-meta { font-size: 13px; color: var(--ink-2); margin-top: 2px; }
.chip { font-size: 12px; border-radius: 100px; padding: 3px 12px; white-space: nowrap; border: 1px solid var(--rule-2); color: var(--ink-2); }
.chip.done { color: var(--accent); border-color: rgba(26,137,23,.35); }
.chip.error { color: var(--critical); border-color: rgba(208,59,59,.35); }
.chip.running { color: var(--ink); border-color: var(--rule-2); }
.chip.review { color: var(--accent); border-color: rgba(26,137,23,.45); font-weight: 600; }
.chip.running::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%;
                        background: var(--accent); margin-right: 7px; vertical-align: 1px; animation: pulse 1.4s ease-in-out infinite; }
@keyframes pulse { 0%,100% { opacity: .35 } 50% { opacity: 1 } }

/* ---------- local referral source benchmark ---------- */
.source-benchmark { margin-top: 42px; padding: 30px; border: 1px solid var(--rule-2); border-radius: 16px;
                    background: linear-gradient(135deg, #fbfcff 0%, #fff 58%); }
.source-benchmark.compact { margin-top: 52px; }
.source-benchmark .lede { margin-bottom: 20px; }
.engine-access-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--rule-2);
                      border: 1px solid var(--rule-2); border-radius: 10px; overflow: hidden; }
.engine-access { display: grid; grid-template-columns: 10px 1fr; gap: 10px; align-items: start; background: #fff; padding: 13px 14px; }
.engine-access b, .engine-access small { display: block; }
.engine-access b { font-size: 13px; }
.engine-access small { color: var(--ink-2); font-size: 11.5px; line-height: 1.4; margin-top: 2px; }
.access-dot { width: 8px; height: 8px; border-radius: 50%; margin-top: 6px; background: var(--unc); }
.access-dot.observed { background: var(--accent); }
.access-dot.auth { background: var(--caution); }
.access-dot.timeout, .access-dot.blocked { background: var(--caution); }
.access-dot.error { background: var(--critical); }
.scan-access { margin-top: 22px; }
.scan-access .section-kicker { margin-bottom: 9px; }
.source-ladder { margin-top: 22px; border-top: 1px solid var(--rule-2); }
.source-rank { display: grid; grid-template-columns: 28px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--rule); }
.source-rank > span { display: grid; place-items: center; width: 25px; height: 25px; border-radius: 50%;
                      color: var(--action-ink); background: var(--action-wash); font-size: 11px; font-weight: 700; }
.source-rank-head { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; }
.source-rank-head b { font-family: Georgia, serif; font-size: 15px; }
.source-rank-head small { color: var(--ink-3); font-size: 11px; white-space: nowrap; }
.source-rank p { color: var(--ink-2); font-size: 12.5px; line-height: 1.45; margin-top: 3px; }
.benchmark-note { color: var(--ink-3); font-size: 11.5px; line-height: 1.5; margin-top: 15px; }

/* ---------- progress ---------- */
.phases { margin-top: 36px; border-top: 1px solid var(--rule); }
.phase { display: flex; gap: 16px; align-items: baseline; padding: 15px 0; border-bottom: 1px solid var(--rule);
         font-size: 15px; color: var(--ink-3); }
.phase .ph-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--rule-2); flex: none; align-self: center; }
.phase.done { color: var(--ink-2); }
.phase.done .ph-dot { background: var(--accent); }
.phase.active { color: var(--ink); font-weight: 600; }
.phase.active .ph-dot { background: var(--accent); animation: pulse 1.4s ease-in-out infinite; }
.phase .ph-sub { font-weight: 400; color: var(--ink-2); font-size: 13px; margin-left: auto; font-variant-numeric: tabular-nums; }
.progressbar { height: 3px; background: var(--rule); border-radius: 100px; overflow: hidden; margin-top: 26px; }
.progressbar > div { height: 100%; background: var(--accent); border-radius: 100px; transition: width .6s ease; }

.notice { border: 1px solid var(--rule-2); border-radius: 6px; padding: 18px 20px; margin-top: 30px;
          font-size: 14.5px; color: var(--ink-2); line-height: 1.55; }
.notice b { color: var(--ink); }
.notice.err { border-color: rgba(208,59,59,.4); }
.notice .btn { margin-top: 12px; padding: 10px 20px; font-size: 13.5px; }

/* ---------- engine stats ---------- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); }
.stats > div { padding: 6px 0 14px; }
.stats > div + div { border-left: 1px solid var(--rule); padding-left: 28px; }
.big { font-family: Georgia, serif; font-size: 54px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; margin: 10px 0 6px; }
.stat-cap { font-size: 13px; color: var(--ink-2); line-height: 1.5; }
.stat-cap b { color: var(--ink); font-weight: 600; }

/* ---------- report action runway ---------- */
.section-kicker { color: var(--accent); font-size: 11px; font-weight: 700; text-transform: uppercase;
                  letter-spacing: .09em; margin-bottom: 8px; }
h1 .section-kicker { display: block; font-family: -apple-system, "Helvetica Neue", Helvetica, Arial, sans-serif; line-height: 1.6; }
.action-runway { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(220px, .8fr); gap: 34px;
                  background: var(--action-wash); border: 1px solid rgba(26,137,23,.18); border-radius: 16px;
                  padding: 30px; margin-top: 34px; }
.action-runway h2 { font-size: 27px; line-height: 1.28; margin-bottom: 10px; }
.runway-copy p { color: #436143; font-size: 14.5px; line-height: 1.55; }
.runway-btn { margin-top: 22px; }
.runway-track { position: relative; align-self: center; display: grid; gap: 0; }
.runway-track::before { content: ""; position: absolute; left: 16px; top: 26px; bottom: 26px; width: 1px;
                        background: rgba(13,77,11,.22); }
.runway-stop { position: relative; z-index: 1; display: grid; grid-template-columns: 34px 1fr; gap: 12px;
               align-items: center; padding: 10px 0; color: #557055; }
.runway-stop > span { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
                      background: #fff; border: 1px solid rgba(13,77,11,.2); font: 700 12px/1 inherit; }
.runway-stop.done > span { background: var(--accent); border-color: var(--accent); color: #fff; }
.runway-stop b { display: block; color: var(--action-ink); font-size: 14px; }
.runway-stop small { display: block; font-size: 12px; margin-top: 1px; }

.action-plan { padding-top: 52px; }
.action-card { border: 1px solid var(--rule-2); border-radius: 12px; padding: 24px 22px; margin-top: 14px; }
.action-card:first-of-type { border-top: 1px solid var(--rule-2); margin-top: 24px; }
.action-card.priority { border-color: rgba(26,137,23,.35); box-shadow: 0 10px 34px rgba(36,36,36,.045); }
.action-more { margin-top: 12px; }
.action-more summary { color: var(--ink-2); cursor: pointer; font-size: 13px; list-style: none; width: fit-content; }
.action-more summary::-webkit-details-marker { display: none; }
.action-more summary::after { content: " +"; color: var(--ink-3); }
.action-more[open] summary::after { content: " −"; }
.action-more-body { padding: 4px 0 2px; }
.action-cta { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-top: 18px; }
.action-cta > span { color: var(--ink-3); font-size: 12px; }

.evidence-intro { display: flex; justify-content: space-between; gap: 24px; align-items: end; margin-top: 58px;
                  padding: 0 0 20px; border-bottom: 1px solid var(--rule-2); }
.evidence-intro h2 { margin-bottom: 5px; }
.evidence-intro p { max-width: 560px; color: var(--ink-2); font-size: 14px; }
.evidence-count { color: var(--ink-3); font-size: 12px; white-space: nowrap; padding-bottom: 4px; }
.report-detail { border-bottom: 1px solid var(--rule-2); }
.report-detail > summary { display: flex; justify-content: space-between; gap: 18px; align-items: baseline;
                           cursor: pointer; padding: 19px 2px; list-style: none; }
.report-detail > summary::-webkit-details-marker { display: none; }
.report-detail > summary span { font-family: Georgia, serif; font-weight: 700; font-size: 17px; }
.report-detail > summary small { color: var(--ink-3); font-size: 12px; }
.report-detail > summary span::before { content: "+"; display: inline-block; width: 22px; color: var(--ink-3);
                                        font-family: -apple-system, "Helvetica Neue", sans-serif; font-weight: 400; }
.report-detail[open] > summary span::before { content: "−"; }
.detail-body { padding: 22px 0 38px; }
.detail-body > h2 { margin-bottom: 6px; }

/* ---------- prompt lists ---------- */
.plist { border-top: 1px solid var(--rule); }
.prow { display: grid; grid-template-columns: 24px 96px 1fr 76px; gap: 14px; align-items: start;
        padding: 13px 0; border-bottom: 1px solid var(--rule); }
.pidx { font-size: 12px; color: var(--ink-3); padding-top: 3px; font-variant-numeric: tabular-nums; }
.prow .ci, .colhead .ci { min-width: 0; }
.prow .ci .pill { display: inline-block; max-width: 100%; overflow: hidden; text-overflow: ellipsis; vertical-align: top; }
.ptext { font-family: Georgia, serif; font-size: 15.5px; line-height: 1.5; }
.pcells { display: flex; gap: 6px; padding-top: 4px; justify-content: flex-end; }
.pc { width: 17px; height: 17px; border-radius: 3px; cursor: pointer; border: none; padding: 0; }
.pc:hover { outline: 2px solid var(--ink); outline-offset: 1px; }
.plegend { display: flex; gap: 20px; flex-wrap: wrap; font-size: 13px; color: var(--ink-2); padding: 16px 0 0; }
.colhead { display: grid; grid-template-columns: 24px 96px 1fr 76px; gap: 14px; font-size: 11px;
           color: var(--ink-3); text-transform: uppercase; letter-spacing: 0.06em; padding-bottom: 8px; }
.colhead .r { text-align: right; }
.sw { display: inline-block; width: 11px; height: 11px; border-radius: 3px; margin-right: 6px; vertical-align: -1.5px; }
.trust-line { font-size: 15px; color: var(--ink-2); padding: 18px 0 2px; }
.trust-line b { color: var(--ink); font-weight: 600; }

/* ---------- citations by pool ---------- */
.pool-block { padding: 10px 0 26px; }
.pool-block + .pool-block { border-top: 1px solid var(--rule); }
.pool-head { display: flex; gap: 10px; align-items: baseline; padding: 16px 0 2px; }
.pool-head h3 { font-family: Georgia, serif; font-size: 18px; font-weight: 700; }
.pool-head .t2 { font-size: 13px; color: var(--ink-2); }
.sharebar { display: flex; height: 10px; border-radius: 100px; overflow: hidden; gap: 2px; margin: 16px 0 12px; }
.share-leg { display: flex; gap: 22px; flex-wrap: wrap; font-size: 13.5px; color: var(--ink-2); margin-bottom: 16px; }
.share-leg b { color: var(--ink); font-weight: 600; }
.drow { display: grid; grid-template-columns: 170px 1fr 36px; gap: 14px; align-items: center; padding: 7px 0; }
.dname { font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dbar { height: 9px; border-radius: 0 100px 100px 0; }
.dval { font-size: 13px; color: var(--ink-2); text-align: right; font-variant-numeric: tabular-nums; }

/* ---------- playbook ---------- */
.pb-headline { font-family: Georgia, serif; font-size: 23px; line-height: 1.4; font-style: italic;
               border-left: 3px solid var(--ink); padding-left: 22px; margin: 24px 0; }
.pb-summary { font-size: 16px; line-height: 1.65; color: var(--ink-2); margin-bottom: 8px; }
.action { display: grid; grid-template-columns: 44px 1fr; gap: 14px; padding: 28px 0; border-bottom: 1px solid var(--rule); }
.action:first-of-type { border-top: 1px solid var(--rule); margin-top: 26px; }
.a-num { font-family: Georgia, serif; font-size: 30px; font-weight: 700; color: var(--ink-3); line-height: 1; padding-top: 2px; }
.a-head { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.a-channel { font-weight: 600; font-size: 15.5px; }
.a-meta { font-size: 12.5px; color: var(--ink-3); }
.a-what { font-family: Georgia, serif; font-size: 17px; line-height: 1.5; font-weight: 700; margin: 12px 0 4px; }
.a-cadence { font-size: 13.5px; color: var(--ink-2); margin-bottom: 12px; }
.a-cadence b { color: var(--ink); font-weight: 600; }
.a-sub { font-size: 11px; color: var(--ink-3); text-transform: uppercase; letter-spacing: .06em; margin: 14px 0 6px; }
.a-topics { margin: 0; padding-left: 18px; }
.a-topics li { font-size: 14px; line-height: 1.55; padding: 2px 0; color: var(--ink); }
.a-ex { font-size: 13.5px; padding: 4px 0; line-height: 1.5; }
.a-ex a { color: var(--earnable); text-decoration: none; word-break: break-all; }
.a-ex a:hover { text-decoration: underline; }
.a-ex .why { color: var(--ink-2); }

/* ---------- action studio ---------- */
.studio-kicker { color: var(--accent); font-size: 11px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.studio-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--rule-2);
                border-radius: 10px; overflow: hidden; margin: 2px 0 28px; }
.studio-step { display: flex; gap: 8px; align-items: center; min-height: 48px; padding: 9px 11px;
               color: var(--ink-3); font-size: 11.5px; border-right: 1px solid var(--rule-2); }
.studio-step:last-child { border-right: 0; }
.studio-step-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--rule-2); flex: none; }
.studio-step.done, .studio-step.active { color: var(--ink); }
.studio-step.done .studio-step-dot { background: var(--accent); }
.studio-step.active { background: var(--action-wash); }
.studio-step.active .studio-step-dot { background: var(--accent); box-shadow: 0 0 0 4px rgba(26,137,23,.12); }
.studio-channel { display: flex; gap: 10px; align-items: center; color: var(--ink-2); font-size: 13px; margin-bottom: 14px; }
.studio-title { font-size: 29px; line-height: 1.2; margin-bottom: 10px; }
.studio-intro { color: var(--ink-2); font-size: 15px; line-height: 1.6; margin-bottom: 24px; }
.studio-brief { border-top: 1px solid var(--rule-2); border-bottom: 1px solid var(--rule-2); padding: 20px 0; }
.studio-brief ul, .studio-cautions ul { margin: 8px 0 0; padding-left: 20px; }
.studio-brief li, .studio-cautions li { margin: 5px 0; font-size: 14px; line-height: 1.5; }
.studio-label, .receipt-kicker { color: var(--ink-3); font-size: 10.5px; font-weight: 700; text-transform: uppercase;
                                letter-spacing: .08em; margin: 14px 0 5px; }
.studio-label:first-child { margin-top: 0; }
.studio-what { font-family: Georgia, serif; font-size: 18px; line-height: 1.45; font-weight: 700; }
.evidence-receipt { background: var(--proof-wash); border: 1px solid rgba(42,120,214,.16); border-radius: 10px;
                    padding: 16px 18px; margin-top: 18px; }
.receipt-kicker { color: #4b6f9c; margin-top: 0; }
.receipt-metric { color: #385b84; font-size: 13.5px; }
.receipt-metric b { color: var(--ink); font-size: 17px; }
.receipt-links { display: grid; gap: 5px; margin-top: 10px; }
.receipt-links a { color: var(--earnable); font-size: 12px; text-decoration: none; overflow: hidden;
                   text-overflow: ellipsis; white-space: nowrap; }
.receipt-links a:hover { text-decoration: underline; }
.studio-field { display: block; margin-top: 20px; }
.studio-field > span { display: block; color: var(--ink-2); font-size: 12px; font-weight: 600; margin-bottom: 7px; }
.studio-field input, .studio-field textarea { width: 100%; border: 1px solid var(--rule-2); border-radius: 8px;
                                             padding: 12px 13px; color: var(--ink); background: #fff;
                                             font: 15px/1.55 -apple-system, "Helvetica Neue", Helvetica, Arial, sans-serif; }
.studio-field textarea { resize: vertical; min-height: 240px; }
.studio-field input[disabled], .studio-field textarea[disabled] { background: #fafafa; color: var(--ink-2); }
.studio-rationale { border-left: 3px solid var(--accent); padding: 1px 0 1px 15px; margin-top: 20px; }
.studio-rationale p { color: var(--ink-2); font-size: 13.5px; line-height: 1.55; }
.studio-cautions { background: var(--review-wash); border-radius: 9px; padding: 15px 17px; margin-top: 18px; }
.studio-cautions .studio-label { color: #8a651d; }
.studio-actions { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; margin-top: 26px; }
.studio-note { color: var(--ink-3); font-size: 12px; line-height: 1.5; text-align: right; margin-top: 10px; }
.studio-error { margin-top: 14px; }
.agent-checks { margin-top: 20px; }
.agent-check { display: grid; grid-template-columns: 24px 1fr; gap: 9px; align-items: start; padding: 10px 0; border-bottom: 1px solid var(--rule); }
.agent-check > span { width: 20px; height: 20px; display: grid; place-items: center; border-radius: 50%; font-weight: 700; font-size: 12px; }
.agent-check.pass > span { color: var(--accent); background: var(--action-wash); }
.agent-check.fail > span { color: #9b3a32; background: #fff0ee; }
.agent-check b, .agent-check small { display: block; }
.agent-check b { font-size: 13px; }
.agent-check small { color: var(--ink-3); line-height: 1.4; margin-top: 2px; }
.execution-receipt { background: var(--action-wash); border-radius: 9px; padding: 14px 16px; margin-top: 16px; }
.execution-receipt p { color: var(--ink-2); font-size: 13px; line-height: 1.5; margin: 0; }
.execution-receipt a { color: var(--accent); font-size: 13px; word-break: break-all; }

/* ---------- table ---------- */
table { border-collapse: collapse; width: 100%; font-size: 13.5px; margin-top: 4px; }
th, td { text-align: right; padding: 9px 10px; border-bottom: 1px solid var(--rule); }
th { color: var(--ink-3); font-weight: 500; font-size: 11px; text-transform: uppercase; letter-spacing: 0.05em; }
th:first-child, td:first-child { text-align: left; padding-left: 0; }
td:first-child { font-weight: 500; }
td { font-variant-numeric: tabular-nums; color: var(--ink); }
.you-row td { background: #f7faf7; }
.grid-scroll { overflow-x: auto; }

footer { padding: 40px 0 72px; color: var(--ink-3); font-size: 13px; border-top: 1px solid var(--rule); margin-top: 48px; line-height: 1.7; }
footer a { color: var(--ink-3); }

/* ---------- tooltip ---------- */
#tip { position: fixed; pointer-events: none; background: #fff; border: 1px solid var(--rule-2);
       border-radius: 6px; padding: 10px 13px; font-size: 13px; max-width: 360px; display: none;
       box-shadow: 0 2px 16px rgba(0,0,0,.09); z-index: 30; line-height: 1.5; }
#tip.pinned { pointer-events: auto; }
#tip .t2 { color: var(--ink-2); }
#tip a { color: var(--earnable); text-decoration: none; word-break: break-all; }
#tip a:hover { text-decoration: underline; }

/* ---------- answer viewer ---------- */
#overlay { position: fixed; inset: 0; background: rgba(20,20,20,.3); z-index: 40; }
#viewer { position: fixed; top: 0; right: 0; bottom: 0; width: min(600px, 100vw); background: #fff; z-index: 41;
          transform: translateX(102%); transition: transform .22s ease; overflow-y: auto;
          box-shadow: -8px 0 32px rgba(0,0,0,.10); }
#viewer.open { transform: translateX(0); }
#viewerBody { padding: 34px 40px 64px; }
.v-top { display: flex; gap: 10px; align-items: center; padding-bottom: 18px; }
.v-close { margin-left: auto; background: none; border: none; font-size: 22px; line-height: 1; color: var(--ink-3);
           cursor: pointer; padding: 4px 8px; }
.v-close:hover { color: var(--ink); }
.v-prompt { font-family: Georgia, serif; font-size: 22px; line-height: 1.35; font-weight: 700; letter-spacing: -0.01em;
            padding-bottom: 16px; border-bottom: 1px solid var(--rule); }
.v-verdict { font-size: 13.5px; color: var(--ink-2); padding: 14px 0 0; line-height: 1.55; }
.v-verdict b { color: var(--ink); font-weight: 600; }
.v-label { font-size: 11px; color: var(--ink-3); text-transform: uppercase; letter-spacing: .06em; margin: 26px 0 10px; }
.answer { font-family: Georgia, "Times New Roman", serif; font-size: 16px; line-height: 1.7; color: var(--ink); }
.answer p { margin: 0 0 14px; }
.answer h3, .answer h4, .answer h5 { font-family: Georgia, serif; margin: 20px 0 8px; line-height: 1.3; }
.answer h3 { font-size: 18px; } .answer h4 { font-size: 16.5px; } .answer h5 { font-size: 15.5px; }
.answer ul { margin: 0 0 14px; padding-left: 22px; }
.answer li { margin: 4px 0; }
.answer a { color: var(--earnable); }
.answer .empty { color: var(--ink-3); font-style: italic; }
.cit { display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; padding: 10px 0; border-bottom: 1px solid var(--rule); }
.cit .cd { font-size: 14px; font-weight: 600; }
.cit .curl { flex-basis: 100%; font-size: 12.5px; }
.cit .curl a { color: var(--ink-2); text-decoration: none; word-break: break-all; }
.cit .curl a:hover { color: var(--earnable); text-decoration: underline; }
.chpill { display: inline-flex; align-items: center; gap: 6px; background: var(--pill); border-radius: 100px;
          padding: 1px 10px; font-size: 11.5px; color: var(--ink-2); white-space: nowrap; }
.chpill .sw { width: 8px; height: 8px; border-radius: 50%; margin: 0; vertical-align: 0; }

/* ---------- prompt review ---------- */
.pr-group { border-top: 1px solid var(--rule); }
.pr-row { display: flex; gap: 10px; align-items: flex-start; padding: 10px 0; border-bottom: 1px solid var(--rule); }
.pr-row textarea { flex: 1; font: 15.5px/1.5 Georgia, "Times New Roman", serif; color: var(--ink); border: none;
                   background: transparent; resize: none; overflow: hidden; padding: 4px 6px; border-radius: 4px; min-width: 0; }
.pr-row textarea:focus { outline: none; background: #f7f7f5; }
.pr-row .pill { margin-top: 6px; flex: none; max-width: 34%; overflow: hidden; text-overflow: ellipsis; }
.pr-del { flex: none; background: none; border: none; font-size: 18px; line-height: 1; color: var(--ink-3);
          cursor: pointer; padding: 6px 8px; border-radius: 4px; }
.pr-del:hover { color: var(--critical); background: #f7f7f5; }
.pr-add { background: none; border: 1px dashed var(--rule-2); border-radius: 6px; width: 100%; padding: 10px 0;
          font: 500 13.5px/1 inherit; font-family: inherit; color: var(--ink-2); cursor: pointer; margin: 12px 0 6px; }
.pr-add:hover { border-color: var(--ink-3); color: var(--ink); }
.pr-allocation { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 22px; align-items: center;
                 margin: 0 0 26px; padding: 17px 19px; border: 1px solid var(--rule-2); border-radius: 9px; background: #fbfbfa; }
.pr-allocation > div:first-child b, .pr-allocation > div:first-child span { display: block; }
.pr-allocation > div:first-child b { font: 700 17px/1.3 Georgia, "Times New Roman", serif; }
.pr-allocation > div:first-child span { margin-top: 3px; color: var(--ink-2); font-size: 12.5px; line-height: 1.45; }
.pr-allocation.complete { border-color: rgba(26,137,23,.35); background: var(--action-wash); }
.pr-allocation.over { border-color: rgba(208,59,59,.35); background: #fff8f8; }
.pr-counts { display: flex; gap: 7px; align-items: center; justify-content: flex-end; flex-wrap: wrap; }
.pr-counts > span { padding: 4px 10px; border-radius: 100px; background: #fff; color: var(--ink-2); font-size: 11.5px; white-space: nowrap; }
.pr-counts b { color: var(--ink); }
.pr-counts .pr-total { border: 1px solid var(--rule-2); font-weight: 600; }
.pr-bar { position: sticky; bottom: 0; background: #fff; padding: 16px 0 20px; border-top: 1px solid var(--rule);
          margin-top: 30px; display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.bulk-box { margin: 10px 0 6px; }
.bulk-box textarea { width: 100%; border: 1px solid var(--rule-2); border-radius: 6px; padding: 12px 14px;
                     font: 14.5px/1.5 Georgia, "Times New Roman", serif; color: var(--ink); resize: vertical; }
.bulk-box textarea:focus { outline: none; border-color: var(--ink-3); }
.bulk-actions { display: flex; gap: 14px; align-items: center; margin-top: 10px; }
.eng-pick { display: flex; gap: 10px; flex-wrap: wrap; margin: 14px 0 6px; }
.eng-chip { display: inline-flex; gap: 7px; align-items: center; border: 1px solid var(--rule-2); border-radius: 100px;
            padding: 7px 15px; font-size: 14px; color: var(--ink-2); cursor: pointer; user-select: none; }
.eng-chip:has(input:checked) { border-color: var(--ink); color: var(--ink); background: #f7f7f5; }
.eng-chip:has(input:disabled) { opacity: 0.45; cursor: not-allowed; }
.eng-chip input { accent-color: var(--accent); margin: 0; }
@media (max-width: 640px) {
  .pr-allocation { grid-template-columns: 1fr; gap: 12px; }
  .pr-counts { justify-content: flex-start; }
}

/* ---------- dashboard: wide desktop layout ---------- */
/* data surfaces opt out of the 728px editorial measure; prose keeps it */
.col.wide { max-width: 1160px; }
.col.wide header h1, .col.wide .deck { max-width: 728px; }
/* wide pages keep interactive strips at a comfortable measure */
.col.wide .hero-form, .col.wide .mr-form { max-width: 860px; }
.col.wide .price-grid { max-width: 980px; }
.dash-cols { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 0 56px; align-items: start; }
@media (max-width: 1020px) { .dash-cols { grid-template-columns: 1fr; } }

/* ---------- dashboard: latest answers + to-do ---------- */
.ans-title { display: flex; gap: 16px; align-items: baseline; justify-content: space-between; flex-wrap: wrap; }
.ans-title select { border: 1px solid var(--rule-2); border-radius: 6px; padding: 7px 10px; font: 13.5px/1.4 inherit;
                    font-family: inherit; color: var(--ink); background: #fff; }
.ans-ctrl { display: inline-flex; gap: 14px; align-items: center; }
.ans-ctrl a { font-size: 13.5px; color: var(--ink-2); }
.ans-ctrl a:hover { color: var(--ink); }
.ans-head, .ans-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; align-items: center; }
.ans-row { padding: 9px 0; border-bottom: 1px solid var(--rule); }
.ans-row .ptext { font-size: 14.5px; }
.ans-dots { display: flex; gap: 14px; align-items: center; justify-content: flex-end; min-width: 90px; }
.ans-dot { width: 14px; height: 14px; border-radius: 4px; display: inline-block; border: none; padding: 0; }
button.ans-dot { cursor: pointer; }
button.ans-dot:hover { outline: 2px solid var(--ink-3); outline-offset: 1px; }
.todo-row { display: flex; gap: 14px; align-items: flex-start; padding: 13px 0; border-bottom: 1px solid var(--rule); }
.todo-num { font-family: Georgia, serif; font-size: 20px; color: var(--ink-3); min-width: 18px; }
.todo-main { min-width: 0; }
.todo-what { font-size: 15px; font-weight: 500; line-height: 1.45; }
.todo-row .task-toggle { margin-left: auto; padding-top: 3px; }
.todo-row.done .todo-what { text-decoration: line-through; color: var(--ink-2); font-weight: 400; }

/* ---------- three-way citation table ---------- */
.cite-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 24px; margin-top: 14px; }
.cite-col-head { font-weight: 600; font-size: 13px; margin: 8px 0 2px; }
.cite-col .drow { grid-template-columns: minmax(0, 1.4fr) 1fr 28px; gap: 8px; }
@media (max-width: 760px) { .cite-cols { grid-template-columns: 1fr; } }

/* ---------- execute & track ---------- */
.task-toggle { display: inline-flex; gap: 7px; align-items: center; margin-left: auto; font-size: 13px;
               color: var(--ink-2); cursor: pointer; user-select: none; white-space: nowrap; }
.task-toggle.done { color: var(--accent); font-weight: 600; }
.task-toggle input { accent-color: var(--accent); margin: 0; cursor: pointer; }
.action-card.task-done { opacity: 0.72; }
.action-card.task-done .a-num { color: var(--accent); }

/* ---------- landing FAQ ---------- */
.faq .report-detail summary { padding: 18px 0; }
.faq .detail-body { padding: 0 0 18px 26px; }
.faq .detail-body .lede { margin-top: 0; }

/* ---------- monthly report form ---------- */
.mr-form { display: flex; gap: 10px; flex-wrap: wrap; margin: 18px 0 8px; }
.mr-form input, .mr-form select { border: 1px solid var(--rule-2); border-radius: 6px; padding: 9px 12px;
                                  font: 14px/1.4 inherit; font-family: inherit; color: var(--ink); background: #fff; }
.mr-form input { flex: 1 1 200px; min-width: 0; }

/* ---------- report view rail ---------- */
/* wide screens: the rail hangs in the left page margin (sticky, zero-height so
   it never pushes the 728px column); narrow screens: a horizontal chip row */
.report-layout { position: relative; }
.report-rail { position: sticky; top: 26px; height: 0; overflow: visible; z-index: 4; }
.report-rail a { display: block; width: 158px; margin-left: -192px; padding: 7px 11px; border-radius: 6px;
                 border-left: 2px solid transparent; font-size: 13.5px; color: var(--ink-2); text-decoration: none; }
.report-rail a:hover { color: var(--ink); background: #f7f7f5; }
.report-rail a.on { color: var(--ink); font-weight: 600; border-left-color: var(--accent); background: #f7f7f5; }
@media (max-width: 1140px) {
  .report-rail { height: auto; display: flex; gap: 4px; overflow-x: auto; margin: 14px -24px 4px;
                 padding: 10px 24px; background: #fff; border-bottom: 1px solid var(--rule); }
  .report-rail a { width: auto; margin-left: 0; border-left: none; white-space: nowrap; flex: none; }
  .report-rail a.on { box-shadow: inset 0 -2px 0 var(--accent); border-radius: 6px 6px 0 0; background: none; }
}

/* ---------- mobile ---------- */
@media (max-width: 640px) {
  h1 { font-size: 34px; }
  .stats { grid-template-columns: 1fr; }
  .stats > div + div { border-left: 0; padding-left: 0; border-top: 1px solid var(--rule); padding-top: 14px; }
  .prow, .colhead { grid-template-columns: 20px 1fr 76px; }
  .prow .ci, .colhead .ci { display: none; }
  .hero-form { flex-direction: column; }
  .drow { grid-template-columns: 110px 1fr 32px; }
  #viewerBody { padding: 26px 22px 56px; }
  .action { grid-template-columns: 32px 1fr; }
  .source-benchmark { padding: 23px 18px; }
  .engine-access-grid { grid-template-columns: 1fr; }
  .source-rank-head { display: block; }
  .source-rank-head small { display: block; margin-top: 2px; }
  .action-runway { grid-template-columns: 1fr; padding: 24px 20px; gap: 20px; }
  .runway-track { grid-template-columns: repeat(3, 1fr); gap: 6px; }
  .runway-track::before { left: 16%; right: 16%; top: 27px; bottom: auto; width: auto; height: 1px; }
  .runway-stop { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 5px; }
  .runway-stop small { font-size: 10.5px; }
  .action-card { padding: 21px 16px; }
  .evidence-intro { align-items: start; flex-direction: column; gap: 8px; }
  .report-detail > summary { align-items: start; }
  .report-detail > summary small { text-align: right; }
  .studio-step { justify-content: center; padding: 8px 5px; text-align: center; }
  .studio-step-dot { display: none; }
  .studio-actions { display: grid; grid-template-columns: 1fr; }
  .studio-actions .btn { width: 100%; }
}

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

.subhead { font-family: Georgia, serif; font-size: 18px; font-weight: 700; margin: 34px 0 4px; }

.brand-lockup { margin-bottom: 26px; line-height: 0; }
.brand-lockup img { display: block; width: 220px; height: auto; max-width: 68vw; }
.brandmark { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); margin-bottom: 26px;
             text-decoration: none; font-size: 17px; line-height: 1; font-weight: 650; letter-spacing: -0.015em; }
.brandmark img { display: block; width: 27px; height: 27px; object-fit: contain; border-radius: 4px; }
.brandmark span { display: block; }

/* ---------- topbar ---------- */
.topbar { display: flex; align-items: center; gap: 18px; margin-bottom: 26px; }
.topbar .brandmark { margin-bottom: 0; }
.topnav { margin-left: auto; display: flex; gap: 18px; align-items: center; font-size: 13.5px; }
.topnav a { color: var(--ink-2); text-decoration: none; }
.topnav a:hover { color: var(--ink); }
.topnav a.on { color: var(--ink); font-weight: 600; border-bottom: 2px solid var(--accent); padding-bottom: 2px; }
.topnav .who { color: var(--ink-3); font-size: 12.5px; max-width: 180px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.linkbtn { background: none; border: none; font: inherit; font-size: 13.5px; color: var(--ink-2); cursor: pointer; padding: 0; }
.linkbtn:hover { color: var(--ink); text-decoration: underline; }

@media (max-width: 640px) {
  /* every nav row and the brandmark are as tall as the Sign in pill, so the logo
     centres on the first row whether or not the nav wraps */
  .topbar { align-items: flex-start; gap: 12px; }
  .brandmark { flex: none; height: 44px; }
  .brandmark img { width: 30px; height: 30px; }
  .topnav { gap: 0 12px; flex-wrap: wrap; justify-content: flex-end; align-items: center; line-height: 44px; }
  .topnav .signin { line-height: 30px; }
  .topnav a.on { border-bottom: 0; padding-bottom: 0; text-decoration: underline 2px var(--accent); text-underline-offset: 6px; }
  .topnav .who { display: none; }
}

@media (max-width: 480px) {
  /* only phones are too narrow for the wordmark beside the nav */
  .brandmark { font-size: 0; gap: 0; }
}

/* ---------- auth ---------- */
.auth-card { border: 1px solid var(--rule-2); border-radius: 10px; padding: 28px 30px; margin-top: 36px; max-width: 420px; background: #fbfbfa; }
.auth-tabs { display: flex; gap: 4px; margin-bottom: 20px; border-bottom: 1px solid var(--rule); }
.auth-tab { background: none; border: none; font: 600 14px/1 inherit; font-family: inherit; color: var(--ink-3); padding: 8px 14px 12px; cursor: pointer; }
.auth-tab.on { color: var(--ink); border-bottom: 2px solid var(--accent); margin-bottom: -1px; }
.auth-input { display: block; width: 100%; font: 15px/1.4 inherit; font-family: inherit; padding: 11px 14px; margin-bottom: 12px;
              border: 1px solid var(--rule-2); border-radius: 6px; color: var(--ink); background: #fff; }
.auth-input:focus { outline: none; border-color: var(--ink-3); }
.auth-btn { width: 100%; padding: 13px 0; margin-top: 4px; }
.auth-title { font-family: Georgia, serif; font-size: 20px; font-weight: 700; margin-bottom: 6px; }
.auth-sub { font-size: 14px; color: var(--ink-2); margin-bottom: 18px; }
.auth-alt { font-size: 13px; color: var(--ink-2); margin-top: 16px; }
.auth-alt a { color: var(--ink-2); }
.auth-div { display: flex; align-items: center; gap: 12px; color: var(--ink-3); font-size: 12px; margin: 20px 0 14px; }
.auth-div::before, .auth-div::after { content: ""; flex: 1; border-top: 1px solid var(--rule); }
.oauth-row { display: flex; gap: 10px; }
.oauth-btn { flex: 1; font: 600 13.5px/1 inherit; font-family: inherit; background: #fff; color: var(--ink);
             border: 1px solid var(--rule-2); border-radius: 6px; padding: 11px 0; cursor: pointer; }
.oauth-btn:hover { border-color: var(--ink-3); }

/* ---------- dashboard: daily decision workspace ---------- */
.dash-toolbar { display: grid; grid-template-columns: minmax(250px, 1fr) auto auto; gap: 22px; align-items: end;
                padding: 22px 0 18px; border-bottom: 1px solid var(--rule-2); }
.dash-brand-picker { display: grid; gap: 5px; max-width: 390px; }
.dash-brand-picker > span { color: var(--ink-3); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.dash-brand-picker input { width: 100%; border: 0; border-bottom: 1px solid var(--ink-3); border-radius: 0; padding: 3px 24px 7px 0;
                           background: transparent; color: var(--ink); font: 700 22px/1.25 Georgia, "Times New Roman", serif; }
.dash-brand-picker input:focus { border-color: var(--ink); outline: none; }
.dash-toolbar-meta { align-self: center; color: var(--ink-2); font-size: 12.5px; white-space: nowrap; }
.status-dot { display: inline-block; width: 7px; height: 7px; margin-right: 7px; border-radius: 50%; background: var(--ink-3); vertical-align: 1px; }
.status-dot.on { background: var(--accent); box-shadow: 0 0 0 3px rgba(26,137,23,.09); }
.dash-toolbar-actions { display: flex; gap: 8px; justify-content: flex-end; }
.dash-toolbar-actions .btn { text-decoration: none; }

.dash-insight { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 44px; align-items: center; margin-top: 30px;
                padding: 30px 32px; border: 1px solid rgba(26,137,23,.18); border-radius: 14px; background: var(--action-wash); }
.dash-insight.warning { border-color: rgba(181,137,0,.28); background: var(--review-wash); }
.dash-insight.warning .section-kicker { color: var(--caution); }
.dash-insight h2 { max-width: 820px; font-size: 28px; line-height: 1.3; margin: 0; }
.dash-quality { display: grid; min-width: 130px; padding-left: 28px; border-left: 1px solid rgba(13,77,11,.18); text-align: right; }
.dash-insight.warning .dash-quality { border-color: rgba(181,137,0,.22); }
.dash-quality b { font: 700 28px/1.15 Georgia, "Times New Roman", serif; }
.dash-quality span { margin-top: 3px; color: var(--ink-2); font-size: 11.5px; white-space: nowrap; }

.dash-metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 30px; padding: 0; border: 1px solid var(--rule-2);
                border-radius: 12px; overflow: hidden; }
.dash-metrics article { min-width: 0; padding: 25px 27px 23px; background: #fff; }
.dash-metrics article + article { border-left: 1px solid var(--rule-2); }
.dash-metric-value { margin-top: 12px; font: 700 49px/1.02 Georgia, "Times New Roman", serif; letter-spacing: -.025em; }
.dash-metric-value.competitor { font-size: 39px; }
.dash-metrics p { min-height: 23px; margin: 7px 0 9px; color: var(--ink-2); font-size: 12.5px; }
.dash-metrics p b { color: var(--ink); }
.dash-delta { display: block; color: var(--ink-2); font-size: 12px; font-weight: 600; }
.dash-delta.up { color: var(--accent); }
.dash-delta.down { color: var(--critical); }
.dash-delta.flat, .dash-delta.muted { color: var(--ink-3); font-weight: 500; }

.dash-branded { margin-top: 20px; padding: 27px 29px 22px; border: 1px solid rgba(55,48,163,.2); border-radius: 12px; background: #fbfaff; }
.dash-branded .dash-section-head { align-items: end; }
.dash-branded .dash-section-head h2 { margin-top: 4px; font-size: 23px; }
.dash-branded .dash-section-head a { color: var(--ink-2); font-size: 12.5px; }
.dash-branded-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 21px; border-top: 1px solid rgba(55,48,163,.15); border-bottom: 1px solid rgba(55,48,163,.15); }
.dash-branded-grid article { padding: 21px 24px 20px 0; }
.dash-branded-grid article + article { padding-left: 24px; border-left: 1px solid rgba(55,48,163,.15); }
.dash-branded-value { margin-top: 9px; font: 700 38px/1.05 Georgia, "Times New Roman", serif; letter-spacing: -.02em; }
.dash-branded-value small { color: var(--ink-2); font: 600 16px/1.2 Arial, sans-serif; letter-spacing: 0; }
.dash-branded-grid p { margin: 6px 0 7px; color: var(--ink-2); font-size: 12.5px; }
.dash-branded-grid p b { color: var(--ink); }
.dash-branded-grid article > span:last-child { color: var(--ink-3); font-size: 11.5px; }
.dash-branded-note { margin: 16px 0 0; color: var(--ink-2); font-size: 11.5px; line-height: 1.5; }

.dash-decision-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 20px; margin-top: 20px; }
.dash-panel { min-width: 0; padding: 28px 29px; border: 1px solid var(--rule-2); border-radius: 12px; }
.dash-panel h2 { font-size: 23px; line-height: 1.3; }
.dash-actions { background: #fcfdfb; border-color: rgba(26,137,23,.24); }
.dash-actions.complete { background: var(--action-wash); }
.dash-action-progress { display: flex; gap: 14px; align-items: center; justify-content: space-between; margin-bottom: 14px;
                        color: var(--ink-2); font-size: 11.5px; }
.dash-progress { display: block; width: 118px; height: 3px; overflow: hidden; border-radius: 100px; background: var(--rule-2); }
.dash-progress i { display: block; height: 100%; border-radius: inherit; background: var(--accent); }
.dash-action-meta { margin: 8px 0 17px; color: var(--ink-2); font-size: 12.5px; }
.dash-primary-toggle { display: flex; justify-content: flex-start; }
.dash-primary-toggle .task-toggle { margin: 0; padding: 8px 12px; border: 1px solid rgba(26,137,23,.3); border-radius: 100px; color: var(--action-ink); }
.dash-action-list { margin-top: 21px; border-top: 1px solid var(--rule-2); }
.dash-action-queue { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; gap: 11px; align-items: start; padding: 13px 0;
                     border-bottom: 1px solid var(--rule); }
.dash-action-queue > span { color: var(--ink-3); font: 700 17px/1.3 Georgia, "Times New Roman", serif; }
.dash-action-queue b, .dash-action-queue small { display: block; }
.dash-action-queue b { font-size: 13px; line-height: 1.42; }
.dash-action-queue small { margin-top: 2px; color: var(--ink-3); font-size: 11px; }
.dash-action-queue .task-toggle { align-self: center; }
.text-link { display: inline-block; margin-top: 17px; color: var(--ink-2); font-size: 12.5px; text-underline-offset: 3px; }
.text-link:hover { color: var(--ink); }

.dash-change-list { margin-top: 14px; }
.dash-change { display: grid; grid-template-columns: 8px minmax(0, 1fr); gap: 12px; padding: 11px 0; border-top: 1px solid var(--rule); }
.dash-change > span { width: 7px; height: 7px; margin-top: 7px; border-radius: 50%; background: var(--ink-3); }
.dash-change.up > span { background: var(--accent); }
.dash-change.down > span { background: var(--critical); }
.dash-change.warn > span { background: var(--caution); }
.dash-change b, .dash-change small { display: block; }
.dash-change b { font-size: 13.5px; line-height: 1.42; }
.dash-change small { margin-top: 2px; color: var(--ink-2); font-size: 11.5px; line-height: 1.45; word-break: break-word; }

.dash-trend-section { padding-top: 54px; }
.dash-section-head { display: flex; gap: 30px; align-items: end; justify-content: space-between; }
.dash-section-head h2 { margin-bottom: 0; }
.dash-section-head > p { max-width: 380px; color: var(--ink-2); font-size: 12.5px; text-align: right; }
.dash-section-head > a { color: var(--ink-2); font-size: 13px; white-space: nowrap; }
.dash-trend-controls { display: flex; gap: 16px; align-items: center; justify-content: space-between; margin: 24px 0 12px;
                       padding: 10px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.dash-range { display: inline-flex; gap: 2px; padding: 3px; border-radius: 100px; background: var(--pill); }
.dash-range button { border: 0; border-radius: 100px; padding: 6px 12px; background: transparent; color: var(--ink-2); font: 600 11.5px/1 inherit;
                     font-family: inherit; cursor: pointer; }
.dash-range button.on { color: var(--ink); background: #fff; box-shadow: 0 1px 4px rgba(36,36,36,.1); }
.dash-engine-toggles { display: flex; gap: 12px; justify-content: flex-end; flex-wrap: wrap; }
.dash-engine-toggles label { display: inline-flex; gap: 6px; align-items: center; color: var(--ink-2); font-size: 11.5px; cursor: pointer; }
.dash-engine-toggles input { position: absolute; opacity: 0; pointer-events: none; }
.dash-engine-toggles label:has(input:checked) { color: var(--ink); font-weight: 600; }
.dash-engine-toggles .sw { width: 9px; height: 9px; border-radius: 2px; opacity: .28; }
.dash-engine-toggles label:has(input:checked) .sw { opacity: 1; box-shadow: 0 0 0 2px #fff, 0 0 0 3px currentColor; }
.dash-chart-legend { display: flex; gap: 18px; flex-wrap: wrap; margin: 15px 0 4px; color: var(--ink-2); font-size: 11.5px; }
.dash-chart-legend span { display: inline-flex; gap: 6px; align-items: center; }
.dash-chart-legend i { width: 16px; height: 2px; background: var(--ink); }
.dash-chart-legend i.mention { background: var(--accent); }
.dash-chart-legend i.competitor { height: 0; border-top: 2px dashed #8a8a83; background: transparent; }
.dash-baseline { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 22px; align-items: center; min-height: 225px; margin-top: 10px;
                 padding: 35px; border: 1px dashed var(--rule-2); border-radius: 12px; background: #fbfbfa; }
.baseline-mark { display: grid; place-items: center; width: 72px; height: 72px; border: 1px solid var(--rule-2); border-radius: 50%;
                 background: #fff; font: 700 24px/1 Georgia, "Times New Roman", serif; }
.dash-baseline h3 { font: 700 20px/1.3 Georgia, "Times New Roman", serif; }
.dash-baseline p { max-width: 560px; margin-top: 6px; color: var(--ink-2); font-size: 13px; }
.dash-causality { margin-top: 7px; color: var(--ink-3); font-size: 11.5px; }
svg.trend { width: 100%; height: auto; display: block; }
svg.trend .ax { font: 11px -apple-system, "Helvetica Neue", sans-serif; fill: var(--ink-3); }
svg.trend .dl { font: 12px -apple-system, "Helvetica Neue", sans-serif; fill: var(--ink-2); }
svg.trend .era { font: 10px -apple-system, "Helvetica Neue", sans-serif; fill: var(--caution); }
svg.trend .dcol line { stroke: var(--ink-3); stroke-width: 1; stroke-dasharray: 3 3; opacity: 0; }
svg.trend .dcol:hover line { opacity: 1; }
.dash-table { margin-top: 22px; }
.dash-table summary { font-size: 13px; color: var(--ink-2); cursor: pointer; }
#tip .sw { width: 9px; height: 9px; border-radius: 2px; }

.dash-latest { padding-top: 52px; }
.dash-result-summary { margin-top: 6px; color: var(--ink-2); font-size: 12.5px; }
.dash-result-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 20px; }
.dash-result-group { min-width: 0; border-top: 3px solid var(--ink); }
.dash-result-group h3 { display: flex; gap: 10px; align-items: baseline; justify-content: space-between; padding: 12px 2px 10px;
                        font: 700 17px/1.3 Georgia, "Times New Roman", serif; }
.dash-result-group h3 small { color: var(--ink-3); font: 500 11px/1.3 -apple-system, "Helvetica Neue", sans-serif; }
.dash-result-row { display: grid; grid-template-columns: 25px minmax(0, 1fr) minmax(155px, auto); gap: 10px; align-items: start;
                   padding: 12px 2px; border-top: 1px solid var(--rule); color: inherit; text-decoration: none; }
.dash-result-row:hover .dash-result-prompt { text-decoration: underline; text-underline-offset: 3px; }
.dash-result-index { color: var(--ink-3); font: 700 14px/1.45 Georgia, "Times New Roman", serif; }
.dash-result-prompt { min-width: 0; font-size: 12.5px; line-height: 1.45; }
.dash-result-prompt > small { display: block; margin-top: 3px; color: var(--ink-3); font-size: 10.5px; }
.dash-result-engines { display: grid; gap: 5px; justify-items: end; }
.dash-result-engine { display: grid; grid-template-columns: auto auto; gap: 5px; align-items: baseline; max-width: 100%; padding: 3px 7px;
                      border-radius: 100px; background: var(--pill); color: var(--ink-2); font-size: 9.5px; white-space: nowrap; }
.dash-result-engine b { color: var(--ink); font-size: 9.5px; }
.dash-result-engine small { overflow: hidden; max-width: 160px; text-overflow: ellipsis; font-size: 9.5px; }
.dash-result-engine.mentioned, .dash-result-engine.target, .dash-result-engine.endorsed { background: var(--action-wash); color: var(--action-ink); }
.dash-result-engine.competitor, .dash-result-engine.negative { background: #fff1f1; color: var(--critical); }
.dash-result-engine.cautious, .dash-result-engine.target_unknown, .dash-result-engine.unavailable { background: var(--caution-wash); color: #795d00; }

.dash-questions { padding-top: 52px; }
.dash-question-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 18px; }
.dash-question-group { min-width: 0; border-top: 3px solid var(--ink-3); }
.dash-question-group.gained { border-color: var(--accent); }
.dash-question-group.lost { border-color: var(--critical); }
.dash-question-group h3 { padding: 12px 2px 10px; font: 700 16px/1.3 Georgia, "Times New Roman", serif; }
.dash-question-group > a { display: block; padding: 12px 2px; border-top: 1px solid var(--rule); color: inherit; text-decoration: none; }
.dash-question-group > a:hover span { text-decoration: underline; text-underline-offset: 3px; }
.dash-question-group span, .dash-question-group small { display: block; }
.dash-question-group span { font-size: 13px; line-height: 1.45; }
.dash-question-group small { margin-top: 4px; color: var(--ink-3); font-size: 11px; line-height: 1.4; }

@media (max-width: 1020px) {
  .dash-toolbar { grid-template-columns: minmax(240px, 1fr) auto; }
  .dash-toolbar-meta { grid-column: 1; grid-row: 2; }
  .dash-toolbar-actions { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
  .dash-insight { gap: 24px; }
  .dash-metrics article { padding-left: 22px; padding-right: 22px; }
  .dash-decision-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .dash-toolbar { grid-template-columns: 1fr; align-items: start; }
  .dash-toolbar-meta, .dash-toolbar-actions { grid-column: 1; grid-row: auto; }
  .dash-toolbar-actions { justify-content: flex-start; }
  .dash-insight { grid-template-columns: 1fr; padding: 24px 22px; }
  .dash-insight h2 { font-size: 23px; }
  .dash-quality { grid-template-columns: auto 1fr; gap: 8px; align-items: baseline; padding: 14px 0 0; border-left: 0; border-top: 1px solid rgba(13,77,11,.18); text-align: left; }
  .dash-quality b { font-size: 21px; }
  .dash-metrics { grid-template-columns: 1fr; }
  .dash-metrics article + article { border-left: 0; border-top: 1px solid var(--rule-2); }
  .dash-branded { padding: 24px 22px 20px; }
  .dash-branded-grid { grid-template-columns: 1fr; }
  .dash-branded-grid article { padding-right: 0; }
  .dash-branded-grid article + article { padding-left: 0; border-left: 0; border-top: 1px solid rgba(55,48,163,.15); }
  .dash-decision-grid { display: contents; }
  .dash-panel { margin-top: 20px; }
  .dash-branded { order: 3; }
  .dash-actions { order: 4; }
  .dash-changes { order: 5; }
  .dash-trend-section { order: 6; }
  .dash-latest { order: 7; }
  .dash-questions { order: 8; }
  #dashBody { display: flex; flex-direction: column; }
  .dash-toolbar { order: 0; }
  .dash-insight { order: 1; }
  .dash-metrics { order: 2; }
  .dash-trend-controls { align-items: flex-start; flex-direction: column; }
  .dash-engine-toggles { justify-content: flex-start; }
  .dash-section-head { align-items: flex-start; flex-direction: column; gap: 7px; }
  .dash-section-head > p { text-align: left; }
  .dash-question-grid { grid-template-columns: 1fr; }
  .dash-result-groups { grid-template-columns: 1fr; }
}
@media (max-width: 440px) {
  .dash-toolbar-actions { display: grid; grid-template-columns: 1fr 1fr; width: 100%; }
  .dash-toolbar-actions .btn { padding-left: 11px; padding-right: 11px; text-align: center; }
  .dash-metric-value { font-size: 43px; }
  .dash-panel { padding: 23px 20px; }
  .dash-action-queue { grid-template-columns: 20px minmax(0, 1fr); }
  .dash-action-queue .task-toggle { grid-column: 2; margin: 3px 0 0; justify-self: start; }
  .dash-baseline { grid-template-columns: 1fr; padding: 26px 22px; }
  .dash-result-row { grid-template-columns: 22px minmax(0, 1fr); }
  .dash-result-engines { grid-column: 2; justify-items: start; }
}

.abstract { border: 1px solid var(--rule-2); border-radius: 10px; padding: 22px 26px; margin-top: 34px; background: #fbfbfa; }
.abstract-label { font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); font-weight: 700; margin-bottom: 10px; }
.abstract p { font-size: 15px; line-height: 1.62; color: var(--ink); }
.abstract p + p { margin-top: 10px; }
.abstract b { font-weight: 650; }

.sum-intro { margin-bottom: 14px; }
.sum-row { display: grid; grid-template-columns: 108px 1fr; gap: 14px; padding: 9px 0; border-top: 1px solid var(--rule); font-size: 14.5px; line-height: 1.55; }
.sum-label { font-size: 12px; font-weight: 700; color: var(--accent); text-transform: uppercase; letter-spacing: 0.05em; text-decoration: none; padding-top: 2px; }
.sum-label:hover { text-decoration: underline; }
.sum-foot { margin-top: 12px; color: var(--ink-2); font-size: 13px; }
@media (max-width: 640px) { .sum-row { grid-template-columns: 1fr; gap: 2px; } }

/* ---------- publish ---------- */
.pub-textarea { display: block; width: 100%; min-height: 260px; font: 15.5px/1.65 Georgia, "Times New Roman", serif;
                color: var(--ink); padding: 14px 16px; border: 1px solid var(--rule-2); border-radius: 6px;
                resize: vertical; background: #fff; }
.pub-textarea:focus { outline: none; border-color: var(--ink-3); }
.pub-textarea::placeholder { color: var(--ink-3); }
.pub-btnrow { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-top: 14px; }
.pub-select { font: 500 13.5px/1.3 inherit; font-family: inherit; color: var(--ink); background: #fff;
              border: 1px solid var(--rule-2); border-radius: 100px; padding: 10px 16px; max-width: 260px;
              margin-right: auto; }
.pub-select:focus { outline: none; border-color: var(--ink-3); }
.btn.secondary { background: #fff; color: var(--ink); border: 1px solid var(--rule-2); }
.btn.secondary:hover { background: #f7f7f5; border-color: var(--ink-3); }
.conn-row { display: flex; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--rule); }
.conn-row > div:first-child { flex: 1; min-width: 0; }
.conn-row .scan-meta a { color: var(--earnable); text-decoration: none; word-break: break-all; }
.conn-row .scan-meta a:hover { text-decoration: underline; }
.pub-connect { margin-top: 22px; max-width: 480px; }
.pub-connect .form-note { margin: 2px 0 12px; }

/* ---------- pricing ---------- */
.price-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 8px; align-items: stretch; }
.price-card { border: 1px solid var(--rule-2); border-radius: 10px; padding: 28px 30px; display: flex; flex-direction: column; background: #fff; }
.price-card.featured { border-color: rgba(26,137,23,.45); background: rgba(26,137,23,.03); }
.price-name { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-2); }
.price-card.featured .price-name { color: var(--accent); }
.price-amount { font-family: Georgia, serif; font-size: 44px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; margin-top: 8px; }
.price-amount span { font-family: -apple-system, "Helvetica Neue", sans-serif; font-size: 15px; font-weight: 400; color: var(--ink-2); letter-spacing: 0; }
.price-cap { font-size: 13.5px; color: var(--ink-2); margin-top: 6px; line-height: 1.5; }
.price-feats { list-style: none; padding: 0; margin: 20px 0 24px; border-top: 1px solid var(--rule); flex: 1; }
.price-feats li { position: relative; padding: 8px 0 8px 26px; font-size: 14.5px; line-height: 1.5; border-bottom: 1px solid var(--rule); }
.price-feats li::before { content: "✓"; position: absolute; left: 2px; color: var(--accent); font-weight: 700; }
.price-card a.btn, .price-card .btn { display: block; width: 100%; text-align: center; text-decoration: none; }
@media (max-width: 640px) { .price-grid { grid-template-columns: 1fr; } }

/* ---------- print / "Download PDF" ---------- */
@media print {
  body { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  #tip, #overlay, #viewer, .noprint, .topbar, .trackbtn, header .form-note { display: none !important; }
  .col { max-width: none; padding: 0; }
  header { padding-top: 0; }
  h1 { font-size: 32px; }
  section { padding: 26px 0 6px; }
  h2, h3, .subhead { break-after: avoid; }
  .prow, .drow, .sum-row, .action, .cit, .stats > div, .pool-head, .sharebar, tr { break-inside: avoid; }
  .abstract { break-inside: avoid; }
  .grid-scroll { overflow: visible; }
  .pc { cursor: default; }
  a { text-decoration: none; }
  footer a[href="#/"] { display: none; }
}

/* ---------- landing / blog / legal ---------- */
.topnav .signin { border: 1px solid var(--rule-2); border-radius: 100px; padding: 6px 16px; color: var(--ink); }
.topnav .signin:hover { border-color: var(--ink-3); }
.cta-row { display: flex; gap: 12px; margin-top: 32px; flex-wrap: wrap; }
.cta-row .btn { text-decoration: none; padding: 13px 26px; }
.landing-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--rule-2);
                 border: 1px solid var(--rule-2); border-radius: 12px; overflow: hidden; margin-top: 12px; }
.landing-step { background: #fff; padding: 22px 20px; }
.landing-step > span { display: grid; place-items: center; width: 25px; height: 25px; border-radius: 50%;
                       color: var(--action-ink); background: var(--action-wash); font-size: 11px; font-weight: 700; }
.landing-step b { display: block; font-family: Georgia, serif; font-size: 16.5px; margin: 12px 0 6px; }
.landing-step p { color: var(--ink-2); font-size: 13px; line-height: 1.55; }
@media (max-width: 640px) { .landing-steps { grid-template-columns: 1fr; } }
.post-list { border-top: 1px solid var(--rule-2); }
.post-row { display: flex; gap: 14px; align-items: center; padding: 17px 0; border-bottom: 1px solid var(--rule);
            text-decoration: none; color: inherit; }
.post-row > div:first-child { flex: 1; min-width: 0; }
.post-row:hover .scan-name { text-decoration: underline; text-underline-offset: 3px; }
.article { font-size: 16px; line-height: 1.75; max-width: 640px; }
.article p { margin: 0 0 18px; }
.article ul, .article ol { margin: 0 0 18px; padding-left: 24px; }
.article li { margin-bottom: 8px; }
.article h3 { font-family: Georgia, serif; font-size: 21px; letter-spacing: -0.01em; margin: 32px 0 10px; }
.article h4 { font-family: Georgia, serif; font-size: 17px; margin: 26px 0 8px; }
.article a { color: var(--accent); }
.article em { color: var(--ink-2); }
.article-cta { padding-top: 0; }
.legal { font-size: 14.5px; }
.legal h3 { font-size: 17px; margin-top: 28px; }

/* ---------- GEO Score ---------- */
.geo-score { border: 1px solid var(--rule-2); border-radius: 16px; padding: 28px 30px 20px; margin-top: 40px; }
.score-hero { display: grid; grid-template-columns: minmax(170px, .55fr) 1fr; gap: 30px; align-items: start; }
@media (max-width: 640px) { .score-hero { grid-template-columns: 1fr; } }
.score-headline .big { font-size: 72px; }
.score-band { display: inline-block; margin-left: 12px; font-size: 13px; font-weight: 700; border-radius: 100px;
              padding: 4px 14px; border: 1px solid var(--rule-2); color: var(--ink-2); vertical-align: 18px; }
.score-band.band-invisible { color: var(--critical); border-color: rgba(208,59,59,.35); }
.score-band.band-emerging { color: var(--caution); border-color: rgba(181,137,0,.4); }
.score-band.band-competitive { color: var(--earnable); border-color: rgba(42,120,214,.35); }
.score-band.band-leading, .score-band.band-dominant { color: var(--accent); border-color: rgba(26,137,23,.4); }
.score-breakdown { display: flex; flex-direction: column; gap: 14px; padding-top: 6px; }
.score-layer-name { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em;
                    color: var(--ink-3); margin-bottom: 5px; }
.score-part { display: grid; grid-template-columns: minmax(150px, .9fr) 1fr 56px; gap: 10px; align-items: center;
              font-size: 12.5px; padding: 2px 0; }
.score-bar-cell { display: block; }
.score-part-label small { color: var(--ink-3); }
.score-bar { display: block; height: 7px; background: var(--rule); border-radius: 100px; overflow: hidden; }
.score-bar > span { display: block; height: 100%; background: var(--accent); border-radius: 100px; min-width: 2px; }
.score-part-val { text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; }
.score-part-val small { color: var(--ink-3); font-weight: 400; }
.score-competitors { margin-top: 16px; font-size: 13.5px; color: var(--ink-2); border-top: 1px solid var(--rule); padding-top: 14px; }
.score-method { margin-top: 12px; font-size: 13px; color: var(--ink-2); }
.score-method summary { cursor: pointer; color: var(--ink-3); font-size: 12.5px; }
.score-method p { margin-top: 8px; line-height: 1.6; }
.stats-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 720px) { .stats-4 { grid-template-columns: 1fr 1fr; } .stats-4 > div { border-left: none !important; padding-left: 0 !important; } }

/* technical check */
.audit-check { display: grid; grid-template-columns: 64px 1fr; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--rule); }
.audit-badge { display: inline-block; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em;
               border: 1px solid; border-radius: 100px; padding: 2px 0; text-align: center; height: fit-content; margin-top: 2px; }
.audit-title { font-weight: 600; }
.audit-detail { color: var(--ink-2); font-size: 14px; margin-top: 3px; overflow-wrap: anywhere; }
.audit-fix { font-size: 14px; margin-top: 8px; }
.audit-code { position: relative; margin-top: 10px; }
.audit-code pre { background: var(--pill); border-radius: 6px; padding: 12px 14px; font-size: 12.5px; line-height: 1.5;
                  overflow-x: auto; white-space: pre; }
.audit-code .linkbtn { position: absolute; top: 8px; right: 10px; font-size: 12px; }
.audit-behind td { background: var(--caution-wash); }
@media (max-width: 560px) { .audit-check { grid-template-columns: 1fr; gap: 6px; } .audit-badge { width: 64px; } }

/* ---------- one-page brief (report view "brief") ---------- */
.stats-2 { grid-template-columns: repeat(2, 1fr); }
.bf-deck { font-size: 18px; line-height: 1.5; color: var(--ink-2); margin: 6px 0 24px; max-width: 728px; }
.bf section { margin-top: 36px; }
.bf h3 { margin: 26px 0 6px; font-size: 16px; }
.bf-must { list-style: none; padding: 0; margin: 18px 0 8px; display: grid; gap: 14px; }
.bf-must li { display: grid; grid-template-columns: 34px 1fr; gap: 12px; border: 1px solid var(--rule-2); border-left: 3px solid var(--accent); border-radius: 8px; padding: 16px 18px; }
.bf-n { width: 28px; height: 28px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 700; display: grid; place-items: center; font-size: 14px; }
.bf-title { display: block; font-size: 16.5px; line-height: 1.35; margin-bottom: 6px; }
.bf-must p { margin: 0; font-size: 14px; line-height: 1.7; color: var(--ink-2); }
.bf-must p.bf-do { margin-top: 10px; color: var(--ink); }
.bf-do span { font-size: 11.5px; font-weight: 700; color: var(--accent); margin-right: 8px; letter-spacing: .04em; text-transform: uppercase; }
.bf-must blockquote { margin: 10px 0 0; padding: 8px 12px; border-left: 2px solid var(--rule-2); background: rgba(120,120,120,.05); font-size: 13px; line-height: 1.6; color: var(--ink); font-style: italic; }
.bf-must blockquote span { display: block; font-style: normal; font-size: 11.5px; color: var(--ink-3); margin-bottom: 2px; }
.bf-must .task-toggle { display: inline-block; margin-top: 10px; }
.bf-wrap { overflow-x: auto; margin: 14px 0 6px; }
.bf-t { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.bf-results { min-width: 560px; }
.bf-t th { text-align: left; font-size: 11.5px; letter-spacing: .04em; color: var(--ink-3); font-weight: 700; padding: 8px 10px; border-bottom: 1px solid var(--rule-2); text-transform: uppercase; }
.bf-t td { text-align: left; padding: 10px; border-bottom: 1px solid var(--rule); vertical-align: top; line-height: 1.5; }
.bf-t .num { text-align: right; font-variant-numeric: tabular-nums; }
.bf-t td small { display: block; color: var(--ink-3); font-size: 12px; margin-top: 3px; }
.bf-qt { width: 46%; }
.bf-group td { font-weight: 700; font-size: 12.5px; color: var(--ink-2); background: var(--rule); padding: 7px 10px; }
.bf-q { cursor: pointer; }
.bf-q:hover td, .bf-q:focus td { background: rgba(26,137,23,.04); }
.bf-q:focus { outline: none; } .bf-q:focus-visible td.bf-qt { box-shadow: inset 2px 0 0 var(--accent); }
.bf-open { display: block; margin-top: 6px; font-size: 12px; font-weight: 600; color: var(--accent); }
.bf-open::after { content: " \25BE"; }
.bf-q[aria-expanded="true"] td { border-bottom-color: transparent; }
.bf-q[aria-expanded="true"] .bf-open::after { content: " \25B4"; }
.bf-ans > td { padding: 0 10px 16px; }
.bf-panes { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px; }
.bf-pane { border: 1px solid var(--rule-2); border-radius: 8px; padding: 12px 14px; max-height: 520px; overflow-y: auto; font-size: 13px; line-height: 1.6; }
.bf-eng { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); margin-bottom: 6px; }
.bf-md p, .bf-md ul { margin: 0 0 8px; } .bf-md ul { padding-left: 18px; }
.bf-md h3, .bf-md h4, .bf-md h5 { font-size: 13px; margin: 10px 0 4px; }
.bf-md a { color: var(--accent); }
.bf-src { border-top: 1px dashed var(--rule-2); margin-top: 8px; padding-top: 8px; font-size: 12px; }
.bf-src ol { margin: 4px 0 0; padding-left: 18px; }
.bf-src a { color: var(--ink-2); word-break: break-word; } .bf-src span { color: var(--ink-3); }
.bf-r { display: inline-block; font-size: 12.5px; font-weight: 600; padding: 2px 8px; border-radius: 4px; }
.bf-r-top { background: rgba(26,137,23,.12); color: #1a7a17; }
.bf-r-ok { background: rgba(120,120,120,.12); color: var(--ink-2); }
.bf-r-miss { background: rgba(200,60,40,.12); color: #b23a26; }
.printonly { display: none; }
.bf-jump { margin-top: 6px; font-size: 12px; font-weight: 600; color: var(--accent); }
.bf-app-group { font-size: 14px; margin: 22px 0 8px; color: var(--ink-2); }
.bf-app-q { margin: 0 0 18px; }
.bf-app-head { font-size: 14px; line-height: 1.5; margin-bottom: 8px; }
.bf-back { font-size: 11px; font-weight: 600; color: var(--accent); margin-left: 6px; white-space: nowrap; }
@media print {
  .bf-ans { display: none; }
  .printonly { display: block; }
  span.printonly { display: inline; }
  .bf-appendix { break-before: page; }
  .bf-app-head { break-after: avoid; }
  .bf-appendix .bf-panes { display: block; }
  .bf-appendix .bf-pane { max-height: none; overflow: visible; break-inside: auto; }
}
