/* AI-native agency niches report. Static, system fonts, no external requests.
   Visual language follows the BusinessRnD AngleLab report: paper + ink, forest hero, neon accent. */

:root {
  color-scheme: light;
  --paper: #F9F9F9;
  --white: #FFFFFF;
  --ink: #0A0A0A;
  --ink-2: #333333;
  --muted: #5A5A5A;
  --line: #E1E1E1;
  --line-2: #C9C9C9;
  --night: #0A0B0A;
  --forest: #1B2B1D;
  --forest-2: #223624;
  --pale: #F1F8B2;
  --neon: #E6FF55;
  --series-1: #2a78d6;
  --series-1-soft: #cde2fb;
  --series-2: #eb6834;
  --series-3: #1baf7a;
  --band: #F1F8B2;
  --good: #2F5D00;
  --good-bg: #E6F4D2;
  --warn: #7A4B00;
  --warn-bg: #FCEBC5;
  --bad: #A8102A;
  --bad-bg: #FBE0E5;
  --font: "Helvetica Neue", Helvetica, Arial, system-ui, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --pad: clamp(14px, 2.6vw, 36px);
  --radius: 14px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; background: var(--paper); }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 15px/1.45 var(--font); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
p, h1, h2, h3, h4, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-underline-offset: .18em; text-decoration-thickness: 1px; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid #000; outline-offset: 2px; }
::selection { background: var(--neon); color: #000; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.wrap { max-width: 1280px; margin: 0 auto; padding: 0 var(--pad); }
.muted { color: var(--muted); }
.num { font-variant-numeric: tabular-nums; }

/* top bar */
.bar { position: sticky; top: 0; z-index: 20; background: rgba(249,249,249,.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.bar .wrap { display: flex; gap: 6px; align-items: center; height: 46px; overflow-x: auto; scrollbar-width: none; }
.bar .wrap::-webkit-scrollbar { display: none; }
.bar .brand { font-weight: 700; margin-right: 10px; white-space: nowrap; }
.bar a.tab { white-space: nowrap; text-decoration: none; padding: 6px 11px; border-radius: 999px; font-size: 13px; border: 1px solid var(--line); background: var(--white); }
.bar a.tab:hover { border-color: var(--ink); }

/* hero */
.hero { background: var(--forest); color: #fff; padding: 26px 0 22px; }
.hero .kicker { font: 600 12px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--neon); }
.hero h1 { font-size: clamp(24px, 3.6vw, 42px); line-height: 1.08; letter-spacing: -.02em; margin: 10px 0 8px; max-width: 980px; }
.hero h1 mark { background: var(--neon); color: #000; padding: 0 .15em; border-radius: 4px; }
.hero .sub { color: #D9E5D6; max-width: 900px; font-size: 15px; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-top: 16px; }
.stat { background: var(--forest-2); border: 1px solid #2E4630; border-radius: 12px; padding: 10px 12px; }
.stat b { display: block; font-size: 24px; line-height: 1.1; color: var(--neon); }
.stat span { font-size: 12px; color: #C8D6C5; }
.picks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 16px; }
.pick { display: block; background: #fff; color: var(--ink); border-radius: 12px; padding: 12px 14px; text-decoration: none; border: 2px solid transparent; }
.pick:hover { border-color: var(--neon); }
.pick .rk { font: 700 11px/1 var(--mono); color: var(--muted); letter-spacing: .06em; }
.pick h3 { font-size: 16px; margin: 4px 0 4px; }
.pick p { font-size: 13px; color: var(--ink-2); }
.pick .price { margin-top: 6px; font-weight: 700; }

/* sections */
section.block { padding: 26px 0 8px; }
.h2 { display: flex; align-items: baseline; gap: 10px; margin-bottom: 12px; }
.h2 .n { font: 700 12px/1 var(--mono); color: var(--muted); }
.h2 h2 { font-size: clamp(19px, 2.2vw, 26px); letter-spacing: -.01em; }
.h2 .hint { font-size: 13px; color: var(--muted); }
.panel { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; }

/* price chart */
.chart-legend { display: flex; flex-wrap: wrap; gap: 14px; font-size: 12px; color: var(--ink-2); margin: 2px 0 10px; }
.chart-legend i { display: inline-block; width: 18px; height: 8px; border-radius: 4px; vertical-align: middle; margin-right: 6px; }
.lg-band { background: var(--band); outline: 1px solid #D9E39A; }
.lg-range { background: var(--series-1); }
.lg-us { width: 10px !important; height: 10px !important; border-radius: 50% !important; background: var(--ink); }
.pchart { width: 100%; }
.pchart text { font: 12px var(--font); fill: var(--ink-2); }
.pchart .lbl { font-size: 12.5px; fill: var(--ink); }
.pchart .tick { font-size: 11px; fill: var(--muted); }
.pchart .grid { stroke: var(--line); stroke-width: 1; }
.pchart .row:hover .hit { fill: rgba(42,120,214,.06); }
.pchart .hit { fill: transparent; }
.tip { position: fixed; z-index: 50; pointer-events: none; background: #111; color: #fff; font-size: 12.5px; line-height: 1.35; padding: 8px 10px; border-radius: 8px; max-width: 280px; box-shadow: 0 6px 22px rgba(0,0,0,.25); opacity: 0; transition: opacity .12s; }
.tip.on { opacity: 1; }

/* idea cards */
.filters { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.filters button { border: 1px solid var(--line-2); background: var(--white); border-radius: 999px; padding: 5px 12px; font-size: 13px; }
.filters button[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 12px; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; display: flex; flex-direction: column; gap: 10px; scroll-margin-top: 60px; }
.card.top { border: 2px solid var(--ink); }
.card-head { display: flex; gap: 10px; align-items: flex-start; }
.card-head .rk { flex: 0 0 auto; width: 30px; height: 30px; border-radius: 9px; background: var(--ink); color: var(--neon); display: grid; place-items: center; font: 700 13px var(--mono); }
.card-head h3 { font-size: 16.5px; line-height: 1.2; }
.card-head .who { font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.badges { display: flex; flex-wrap: wrap; gap: 5px; }
.badge { display: inline-flex; align-items: center; gap: 4px; font-size: 11.5px; font-weight: 600; padding: 3px 8px; border-radius: 999px; background: #F0F0EE; color: var(--ink-2); white-space: nowrap; }
.badge.go { background: var(--good-bg); color: var(--good); }
.badge.maybe { background: var(--warn-bg); color: var(--warn); }
.badge.no { background: var(--bad-bg); color: var(--bad); }
.badge.famb { background: var(--pale); color: #3B4200; }
.ask { background: #F4F7FB; border-left: 3px solid var(--series-1); border-radius: 0 10px 10px 0; padding: 8px 10px; font-size: 13.5px; }
.ask .src { display: block; font-size: 11.5px; color: var(--muted); margin-top: 3px; }
.money { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.money > div { background: #FAFAF8; border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; }
.money .k { font-size: 11px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.money .v { font-size: 18px; font-weight: 700; }
.money .us .v { color: var(--good); }
.mini-range { height: 8px; background: #EEE; border-radius: 4px; position: relative; margin-top: 6px; }
.mini-range i { position: absolute; top: 0; bottom: 0; background: var(--series-1); border-radius: 4px; }
.mini-range b { position: absolute; top: -3px; width: 14px; height: 14px; border-radius: 50%; background: var(--ink); border: 2px solid #fff; transform: translateX(-50%); }
.mini-range s { position: absolute; top: -2px; bottom: -2px; background: var(--band); outline: 1px solid #D9E39A; border-radius: 3px; }
.proof-row { display: flex; flex-direction: column; gap: 5px; }
.proof-row .k { font-size: 11px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 5px; }
.chip { display: inline-flex; gap: 5px; align-items: center; max-width: 100%; font-size: 12px; text-decoration: none; padding: 4px 9px; border-radius: 8px; border: 1px solid var(--line-2); background: var(--white); }
.chip:hover { border-color: var(--ink); background: #FFFFF2; }
.chip .ic { font-size: 12px; }
.chip .t { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 260px; }
.chip.weak { border-style: dashed; }
.flow { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; font-size: 12.5px; }
.flow > div { border-radius: 10px; padding: 8px 10px; }
.flow .ai { background: #EEF5FD; }
.flow .hu { background: #FFF4EC; }
.flow h4 { font-size: 11px; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 4px; }
.flow li { margin: 2px 0; padding-left: 12px; position: relative; }
.flow li::before { content: "•"; position: absolute; left: 0; color: var(--muted); }
.lead { font-size: 12.5px; background: #F6F6F3; border-radius: 10px; padding: 8px 10px; }
.lead b { font-size: 11px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); display: block; margin-bottom: 2px; }
.scores { display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px; }
.sc { text-align: center; font-size: 10.5px; color: var(--muted); }
.sc .dots { display: flex; gap: 2px; justify-content: center; margin-bottom: 2px; }
.sc .dots i { width: 6px; height: 6px; border-radius: 50%; background: #DDD; }
.sc .dots i.on { background: var(--ink); }
details.more { font-size: 13px; border-top: 1px solid var(--line); padding-top: 8px; }
details.more summary { cursor: pointer; font-weight: 600; font-size: 13px; }
details.more ul { margin-top: 6px; }
details.more li { margin: 3px 0; padding-left: 12px; position: relative; }
details.more li::before { content: "–"; position: absolute; left: 0; color: var(--muted); }
details.more .sub { font-size: 11px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin-top: 8px; }

/* families */
.fams { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.fam { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; }
.fam h3 { font-size: 16px; margin-bottom: 6px; }
.fam .steps { display: flex; flex-direction: column; gap: 6px; margin-top: 8px; }
.fam .step { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; }
.fam .step i { flex: 0 0 auto; font-style: normal; font: 700 11px/20px var(--mono); width: 20px; height: 20px; text-align: center; border-radius: 6px; background: var(--ink); color: var(--neon); }
.fam .members { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 8px; }

/* rejected + ledger */
table.t { width: 100%; border-collapse: collapse; font-size: 13px; background: var(--white); }
table.t th, table.t td { text-align: left; padding: 7px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.t th { font-size: 11px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); background: var(--white); }
.tscroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
.ledger-tools { display: flex; gap: 8px; margin-bottom: 8px; }
.ledger-tools input { flex: 1; padding: 8px 10px; border: 1px solid var(--line-2); border-radius: 8px; font: inherit; }
.yes { color: var(--good); font-weight: 600; }
.snip { color: var(--warn); font-weight: 600; }
.foot { padding: 30px 0 50px; font-size: 12.5px; color: var(--muted); }
.note { font-size: 12.5px; color: var(--muted); margin-top: 8px; }

@media (max-width: 900px) {
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .picks, .fams { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  body { font-size: 14.5px; }
  .cards { grid-template-columns: 1fr; }
  .money, .flow { grid-template-columns: 1fr; }
  .scores { grid-template-columns: repeat(3, 1fr); row-gap: 6px; }
  .hero { padding-top: 18px; }
}
@media print { .bar, .filters, .ledger-tools { display: none; } }

/* price chart rows (HTML, log-positioned in build) */
.pchart2 { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px 6px; }
.prow { position: relative; display: grid; grid-template-columns: minmax(170px, 32%) 1fr; gap: 12px; align-items: center; text-decoration: none; padding: 5px 4px; border-radius: 8px; }
.prow:hover { background: #F4F7FB; }
.prow .pl { font-size: 13px; line-height: 1.2; }
.prow .pl b { display: inline-block; min-width: 18px; color: var(--muted); font-size: 11.5px; }
.prow .pt { position: relative; height: 14px; }
.prow .pt::before { content: ""; position: absolute; left: 0; right: 0; top: 6px; height: 2px; background: var(--line); }
.prow .pt s { position: absolute; top: -10px; bottom: -10px; background: #F5FAD2; }
.prow .pt i { position: absolute; top: 3px; height: 8px; background: var(--series-1); border-radius: 4px; }
.prow .pt em { position: absolute; top: 0; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; background: var(--ink); border: 2px solid #fff; box-shadow: 0 0 0 1px var(--ink); }
.prow.axis { padding-top: 2px; }
.prow.axis .pt { height: 16px; }
.prow.axis .pt::before { display: none; }
.prow.axis u { position: absolute; transform: translateX(-50%); text-decoration: none; font-size: 11px; color: var(--muted); }
.matrix td.m { text-align: center; font-weight: 600; }
.matrix td.m0 { color: #BBB; }
.matrix td.m1 { background: #cde2fb; }
.matrix td.m2 { background: #86b6ef; }
.matrix td.m3 { background: #2a78d6; color: #fff; }
.matrix th { white-space: normal; vertical-align: bottom; }
@media (max-width: 640px) {
  .prow { grid-template-columns: 1fr; gap: 4px; }
  .prow.axis .pl { display: none; }
}
.ask .asklbl { display: block; font-size: 10.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--series-1); font-weight: 700; margin-bottom: 3px; }
.prow .ptxt { position: absolute; left: 0; top: -2px; font-size: 11px; color: var(--muted); white-space: nowrap; }
.bad { color: var(--bad); font-weight: 600; }

details.ledger > summary { cursor: pointer; display: inline-block; padding: 8px 14px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--white); font-weight: 600; font-size: 13.5px; margin-bottom: 10px; }
details.ledger[open] > summary { background: var(--ink); color: #fff; border-color: var(--ink); }
.prow .pt i, .prow .pt em { z-index: 1; }
.card, .lead, .ask, .fam, table.t td { overflow-wrap: anywhere; }
.card { min-width: 0; }

.badges { align-items: center; }
.badge { line-height: 1.25; }
.badge .vi { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.badge.maybe .vi { background: transparent; border: 2px solid currentColor; }
.badge.no .vi { border-radius: 1px; transform: rotate(45deg); width: 7px; height: 7px; }
.badge.warnf { background: #FFF1E0; color: #7A3B00; }
table.t td:last-child, table.t td:nth-last-child(2) { overflow-wrap: normal; }
table.t td a { white-space: nowrap; }
.matrix td:first-child { min-width: 230px; }
.matrix th { font-size: 10.5px; }
.prow .pl { position: relative; z-index: 2; }
@media (max-width: 640px) {
  .prow .pt s { top: -3px; bottom: -3px; }
  .prow { padding: 6px 2px; }
}

/* operability + payments sections */
.lede { font-size: 14.5px; max-width: 980px; margin-bottom: 12px; }
.lvl-tiles { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; margin-bottom: 12px; }
.lvl-tile { border-radius: 12px; padding: 10px 12px; border: 1px solid var(--line); background: var(--white); }
.lvl-tile b { display: block; font-size: 24px; line-height: 1.1; }
.lvl-tile span { font-size: 12px; color: var(--ink-2); }
.lv1 { --lv: #2F5D00; --lvbg: #E6F4D2; }
.lv2 { --lv: #2E5E1F; --lvbg: #EEF6DF; }
.lv3 { --lv: #7A4B00; --lvbg: #FCEBC5; }
.lv4 { --lv: #8A3A00; --lvbg: #FFE3CC; }
.lv5 { --lv: #A8102A; --lvbg: #FBE0E5; }
.lvl-tile { border-left: 5px solid var(--lv); }
.lvl-tile b { color: var(--lv); }
.badge.lvb { background: var(--lvbg); color: var(--lv); }
.badge.lvb.lv2 .vi { background: transparent; border: 2px solid currentColor; }
.badge.lvb.lv3 .vi { border-radius: 2px; }
.badge.lvb.lv4 .vi { border-radius: 0; transform: rotate(45deg); width: 7px; height: 7px; }
.badge.lvb.lv5 .vi { border-radius: 0; width: 9px; height: 3px; }
table.opt td { font-size: 13px; }
details.mini summary { cursor: pointer; font-weight: 600; font-size: 12.5px; color: var(--series-1); }
details.mini p { margin-top: 6px; font-size: 12.5px; max-width: 520px; }
.src-l { font-size: 11.5px; color: var(--series-1); }
.panel.qa { margin-top: 12px; }
.panel.qa h3, .pbox h3 { font-size: 15px; margin-bottom: 6px; }
.panel.qa li { margin: 4px 0; font-size: 13.5px; padding-left: 14px; position: relative; }
.panel.qa ul li::before { content: "✓"; position: absolute; left: 0; color: var(--good); font-weight: 700; }
ol.ol { list-style: decimal; padding-left: 20px; }
ol.ol li { padding-left: 2px !important; }
ol.ol li::before { content: none !important; }
.flow-d { display: flex; align-items: stretch; gap: 6px; flex-wrap: wrap; margin: 6px 0 14px; }
.fd { flex: 1 1 150px; background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; font-weight: 700; font-size: 14px; }
.fd small { display: block; font-weight: 400; font-size: 12px; color: var(--muted); margin-top: 2px; }
.fd.hl { background: var(--forest); color: #fff; border-color: var(--forest); }
.fd.hl small { color: #C8D6C5; }
.fa { align-self: center; font-size: 20px; color: var(--muted); }
.stats2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 8px; margin-bottom: 14px; }
.stat2 { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; }
.stat2 b { display: block; font-size: 19px; }
.stat2 span { font-size: 12px; color: var(--ink-2); }
.rails { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 10px; margin-bottom: 12px; }
.rail { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 14px; font-size: 13px; display: flex; flex-direction: column; gap: 5px; overflow-wrap: anywhere; }
.rail:first-child { border: 2px solid var(--ink); }
.rail.rail-no { opacity: .75; border-style: dashed; }
.rail-h { display: flex; gap: 8px; align-items: center; }
.rail-h .rk { width: 26px; height: 26px; border-radius: 8px; background: var(--ink); color: var(--neon); display: grid; place-items: center; font: 700 12px var(--mono); flex: 0 0 auto; }
.rail-h h3 { font-size: 15px; }
.rail .risk { color: #7A3B00; }
.rail .src, .pbox .src { margin-top: 2px; }
.pboxes { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 10px; margin-bottom: 12px; }
.pbox p { font-size: 13px; margin: 4px 0; overflow-wrap: anywhere; }
@media (max-width: 700px) { .lvl-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } .fa { display: none; } }
.pick-lv { margin-top: 6px; }
.yn { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 12px; }
.yn > div { border-radius: 14px; padding: 14px 16px; }
.yn b { display: block; font-size: 19px; line-height: 1.2; margin-bottom: 4px; }
.yn span { font-size: 13.5px; }
.yn-yes { background: var(--good-bg); color: #1F3F00; border: 1px solid #BFDDA0; }
.yn-no { background: var(--bad-bg); color: #6E0A1C; border: 1px solid #F2B8C3; }
.usebadge { display: inline-block; font: 700 10.5px/1 var(--mono); padding: 4px 6px; border-radius: 6px; margin-right: 4px; letter-spacing: .04em; }
.usebadge.u-use { background: var(--good-bg); color: var(--good); }
.usebadge.u-backup { background: #E8F0FB; color: #1C5CAB; }
.usebadge.u-avoid, .usebadge.u-later { background: var(--warn-bg); color: var(--warn); }
.usebadge.u-no { background: var(--bad-bg); color: var(--bad); }
table.paysum tr.u-no td, table.paysum tr.u-avoid td { color: var(--muted); }
details.paydet { margin-top: 10px; }
@media (max-width: 640px) { .yn { grid-template-columns: 1fr; } }
.answers { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; }
.ans { display: block; text-decoration: none; background: var(--neon); color: #000; border-radius: 12px; padding: 10px 14px; }
.ans b { display: block; font-size: 15px; }
.ans span { font-size: 13px; }
.ans:hover { outline: 2px solid #fff; }
@media (max-width: 640px) { .answers { grid-template-columns: 1fr; } }
.xbox { margin-top: 12px; border: 2px solid var(--ink); }
.xbox h3 { font-size: 16px; margin-bottom: 8px; }
.xgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 10px; }
.xc { background: #FAFAF8; border: 1px solid var(--line); border-radius: 10px; padding: 9px 11px; font-size: 13px; overflow-wrap: anywhere; }
.xc h4 { font-size: 13.5px; margin-bottom: 3px; }
.xc:first-child { background: var(--warn-bg); border-color: #EBCB8B; }
.stat2 b { font-size: 22px; }
@media (max-width: 640px) {
  .h2 { flex-wrap: wrap; }
  .h2 .hint { display: none; }
  table.opt, table.opt tbody, table.opt tr, table.opt td,
  table.paysum, table.paysum tbody, table.paysum tr, table.paysum td,
  table.rej, table.rej tbody, table.rej tr, table.rej td { display: block; width: 100%; }
  table.opt tr:first-child, table.paysum tr:first-child, table.rej tr:first-child { display: none; }
  table.opt tr, table.paysum tr, table.rej tr { padding: 10px 12px; border-bottom: 1px solid var(--line); }
  table.opt td, table.paysum td, table.rej td { border: 0; padding: 2px 0; }
  table.opt td:nth-child(3)::before { content: "AI share: "; color: var(--muted); }
  table.paysum td:nth-child(2)::before { content: "Client pays by: "; color: var(--muted); }
  table.paysum td:nth-child(3)::before { content: "Cost: "; color: var(--muted); }
  table.rej td:nth-child(3)::before { content: "Prices seen: "; color: var(--muted); }
  table.paysum td:first-child, table.opt td:first-child, table.rej td:first-child { font-weight: 600; }
}
@media (max-width: 640px) { table.opt td a, table.rej td a, table.paysum td a { white-space: normal; } }
.design-link { display: block; text-decoration: none; background: var(--ink); color: var(--neon); border-radius: 10px; padding: 10px 12px; font-weight: 700; font-size: 13.5px; }
.design-link:hover { outline: 2px solid var(--neon); }
.pick-d { margin-top: 6px; font-size: 12.5px; font-weight: 700; color: #3B4200; background: var(--neon); display: inline-block; padding: 3px 8px; border-radius: 6px; }

/* cadence grid */
.cg-scroll { border: 0; }
.cg { display: grid; grid-template-columns: 150px repeat(5, minmax(150px, 1fr)); gap: 4px; min-width: 900px; }
.cg-corner { }
.cg-ch { font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); padding: 6px 8px; }
.cg-ch.hot { color: var(--good); }
.cg-rh { display: flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700; padding: 8px; border-radius: 10px; background: var(--lvbg); color: var(--lv); }
.cg-rh .vi { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.cg-c { min-height: 64px; background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: 6px; display: flex; flex-direction: column; gap: 4px; }
.cg-c.target { background: var(--good-bg); border: 2px solid var(--good); }
.cg-chip { display: block; font-size: 12px; line-height: 1.25; text-decoration: none; background: #F6F6F3; border: 1px solid var(--line); border-radius: 7px; padding: 4px 6px; }
.cg-chip:hover { border-color: var(--ink); }
.cg-chip b { color: var(--muted); margin-right: 2px; }
.cg-chip.new { background: var(--neon); border-color: #C8D64A; }
.cg-chip em { font-style: normal; font-size: 10px; font-weight: 800; text-transform: uppercase; background: var(--ink); color: var(--neon); border-radius: 4px; padding: 0 4px; margin-left: 2px; }
.badge.cad { background: #EEF5FD; color: #1C5CAB; }
.badge.cad.c1 { background: var(--bad-bg); color: var(--bad); }
.badge.cad.c4, .badge.cad.c5 { background: var(--good-bg); color: var(--good); }
.cl { display: none; }
@media (max-width: 640px) {
  .cg-scroll { display: none; }
  .cl { display: flex; flex-direction: column; gap: 10px; }
  .cl-g { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 10px; display: flex; flex-direction: column; gap: 6px; }
  .cl-g.hot { border: 2px solid var(--good); background: var(--good-bg); }
  .cl-h { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
  .cl-g.hot .cl-h { color: var(--good); }
  .cl-i { display: grid; grid-template-columns: 22px 1fr; gap: 2px 6px; align-items: center; text-decoration: none; background: #F6F6F3; border: 1px solid var(--line); border-radius: 9px; padding: 7px 8px; font-size: 13.5px; }
  .cl-i.ok { background: var(--neon); border-color: #C8D64A; }
  .cl-i b { color: var(--muted); }
  .cl-i .badge { grid-column: 2; justify-self: start; }
  .cl-i em { font-style: normal; font-size: 10px; font-weight: 800; text-transform: uppercase; background: var(--ink); color: var(--neon); border-radius: 4px; padding: 0 4px; }
  .cl-none { color: var(--muted); font-size: 13px; }
}

/* offers gallery */
.ot2s { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.ot2 { display: flex; flex-direction: column; gap: 6px; height: 100%; text-decoration: none; background: var(--white); border: 2px solid var(--ink); border-radius: 14px; padding: 14px; box-shadow: 4px 4px 0 rgba(10,10,10,.08); }
.ot2:hover { box-shadow: 4px 4px 0 var(--acc); }
.ot2-top { display: flex; justify-content: space-between; align-items: center; }
.ot2-ic { width: 42px; height: 42px; padding: 9px; border-radius: 11px; background: var(--acc); color: #fff; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ot2-rk { font: 700 13px/1 var(--mono); color: var(--muted); }
.ot2 b { font-size: 19px; line-height: 1.1; margin-top: 2px; }
.ot2-e { font-size: 13px; color: var(--muted); }
.ot2-p { font-size: 22px; font-weight: 800; color: var(--acc); }
.ot2-p small { font-size: 13px; font-weight: 600; color: var(--muted); }
.ot2-b { display: flex; flex-wrap: wrap; gap: 5px; }
.ot2-go { margin-top: auto; padding-top: 6px; font-weight: 700; font-size: 13.5px; }

/* stress test */
.sm-wrap { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 14px; margin-bottom: 14px; }
.sm { display: grid; grid-template-columns: 90px repeat(5, minmax(0, 1fr)); gap: 4px; }
.sm-yl { font-size: 11.5px; font-weight: 700; color: var(--muted); display: flex; align-items: center; text-transform: uppercase; letter-spacing: .04em; }
.sm-xl { font-size: 11.5px; font-weight: 700; color: var(--muted); text-align: center; text-transform: uppercase; letter-spacing: .04em; padding-top: 4px; }
.sm-c { min-height: 54px; background: #F6F6F3; border-radius: 8px; padding: 5px; display: flex; flex-direction: column; gap: 4px; }
.sm-c.z-go { background: var(--good-bg); outline: 2px solid var(--good); }
.sm-c.z-bad { background: var(--bad-bg); }
.sm-chip { display: block; font-size: 12px; line-height: 1.2; text-decoration: none; background: var(--white); border: 1px solid var(--line-2); border-radius: 7px; padding: 4px 6px; }
.sm-chip b { color: var(--muted); }
.sm-cap { font-size: 12.5px; color: var(--muted); margin-top: 8px; }
.st-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 12px; }
.st-card { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 14px; display: flex; flex-direction: column; gap: 8px; scroll-margin-top: 60px; overflow-wrap: anywhere; }
.st-h { display: flex; align-items: center; gap: 8px; }
.st-h b { color: var(--muted); }
.st-h h3 { font-size: 16.5px; flex: 1; }
.st-meters { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.st-k { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.st-dots { display: flex; gap: 3px; margin-top: 3px; }
.st-dots i { width: 18px; height: 8px; border-radius: 3px; background: #E3E3DF; }
.st-dots i.on { background: var(--series-1); }
.st-dots.t i.on { background: var(--good); }
.st-int { display: flex; flex-wrap: wrap; gap: 5px; }
.st-pill { font-size: 11.5px; font-weight: 700; background: #EEF5FD; color: #1C5CAB; border-radius: 999px; padding: 3px 8px; }
.st-pill.sens { background: #F0F0EE; color: var(--ink-2); }
.st-pill.s-public { background: var(--good-bg); color: var(--good); }
.st-pill.s-sensitive-PII, .st-pill.s-privileged { background: var(--bad-bg); color: var(--bad); }
.st-pill.s-PII { background: var(--warn-bg); color: var(--warn); }
.st-risk, .st-fix { font-size: 13px; }
.st-fix { background: var(--good-bg); border-radius: 8px; padding: 6px 8px; }
@media (max-width: 640px) { .sm { grid-template-columns: 54px repeat(5, minmax(0, 1fr)); } .sm-chip { font-size: 10.5px; padding: 3px 4px; } .sm-yl { font-size: 9.5px; } .sm-xl { font-size: 9.5px; } }
.st-mv { font-size: 11.5px; font-weight: 800; border-radius: 6px; padding: 2px 6px; background: #F0F0EE; color: var(--muted); white-space: nowrap; }
.st-mv.up { background: var(--good-bg); color: var(--good); }
.st-mv.dn { background: var(--bad-bg); color: var(--bad); }
.tk { background: var(--forest); color: #fff; border-radius: 14px; padding: 16px; margin-bottom: 14px; }
.tk h3 { font-size: 17px; margin-bottom: 10px; color: var(--neon); }
.tk ul { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 8px; }
.tk li { display: grid; grid-template-columns: 30px 1fr; gap: 0 8px; background: var(--forest-2); border: 1px solid #2E4630; border-radius: 10px; padding: 9px 10px; }
.tk-i { grid-row: span 2; font-size: 20px; }
.tk li b { font-size: 14px; }
.tk li span:last-child { font-size: 12.5px; color: #C8D6C5; }
.tk-gap { margin-top: 10px; font-size: 12.5px; color: #F1F8B2; }
.sm-legend { display: none; }
@media (max-width: 640px) {
  .sm-n { display: none; }
  .sm-chip { text-align: center; font-size: 13px; padding: 4px 2px; }
  .sm-chip b { color: var(--ink); }
  .sm-c { min-height: 40px; }
  .sm-legend { display: flex; flex-wrap: wrap; gap: 4px 10px; margin-top: 10px; font-size: 12.5px; }
  .sm-legend b { display: inline-block; min-width: 16px; color: var(--muted); }
}

/* Owner's filter: private buyer, pain now */
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.fl-sum { display: flex; gap: 10px; flex-wrap: wrap; margin: 4px 0 14px; }
.fl-t { display: flex; align-items: baseline; gap: 8px; padding: 10px 16px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); }
.fl-t b { font-size: 30px; font-weight: 800; line-height: 1; }
.fl-t span { font-size: 13px; color: var(--muted); }
.fl-t.t-keep b { color: var(--good); }
.fl-t.t-narrow b { color: var(--warn); }
.fl-t.t-drop b { color: var(--bad); }
.fl { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.fl-r { display: grid; grid-template-columns: 70px minmax(140px, 1fr) minmax(0, 1.5fr) minmax(0, 1.7fr) 130px; gap: 12px; align-items: center; padding: 11px 16px; border-top: 1px solid var(--line); font-size: 13.5px; }
.fl-r.fl-hd { border-top: 0; background: #F4F4F2; font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); padding-top: 8px; padding-bottom: 8px; }
.fl-rk { display: flex; flex-direction: column; line-height: 1.1; }
.fl-rk b { font-size: 20px; font-weight: 800; }
.fl-rk small { font-size: 11px; color: var(--muted); }
.fl-n { font-weight: 700; font-size: 14.5px; }
.fl-n a { color: inherit; text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; }
.fl-n a:hover { text-decoration-color: currentColor; }
.fl-g { display: flex; gap: 8px; align-items: flex-start; min-width: 0; overflow-wrap: anywhere; }
.fl-m { flex: none; display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; font-style: normal; font-size: 12px; font-weight: 800; }
.g-yes .fl-m { background: var(--good-bg); color: var(--good); }
.g-narrowed .fl-m { background: linear-gradient(90deg, var(--warn) 50%, var(--warn-bg) 50%); box-shadow: inset 0 0 0 2px var(--warn); }
.g-no .fl-m { background: var(--bad-bg); color: var(--bad); }
.g-no { color: var(--bad); }
.fl-r.r-drop { background: #FBF7F7; }
.fl-r.r-drop .fl-n s { color: var(--muted); text-decoration-thickness: 2px; text-decoration-color: var(--bad); }
.fl-r.r-drop .fl-rk b { color: var(--bad); }
.fl-res { justify-self: end; }
.fl-k { display: none; font-style: normal; font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
@media (max-width: 760px) {
  .fl-r.fl-hd { display: none; }
  .fl-sum { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .fl-t { flex-direction: column; gap: 2px; padding: 8px 12px; }
  .fl-t b { font-size: 26px; }
  .fl-r { grid-template-columns: 44px minmax(0, 1fr) auto; gap: 6px 10px; align-items: start; }
  .fl-rk { grid-row: 1 / span 3; }
  .fl-n { grid-column: 2; }
  .fl-res { grid-column: 3; grid-row: 1; }
  .fl-g { grid-column: 2 / span 2; font-size: 13px; }
  .fl-k { display: block; }
}

.answers .ans.ans-gtm { grid-column: 1 / -1; background: var(--white); }
