.scope { margin: 18px 0 0; color: var(--muted); font-size: 0.92rem; max-width: 46em; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* approaches */
.aps { margin-top: 36px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.ap { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; min-width: 0; }
.ap h3 { margin: 14px 0 8px; font-size: 1.15rem; }
.ap p { margin: 0; color: var(--muted); font-size: 0.97rem; }

/* chips and bars: three approaches get three distinct hues */
:root { --cD: #0b6e5f; --cC: #8a4a00; --cS: #3b4fb0; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --cD: #4fd1b5; --cC: #e8a04a; --cS: #8fa2ff; } }
:root[data-theme="dark"] { --cD: #4fd1b5; --cC: #e8a04a; --cS: #8fa2ff; }
.chip { display: inline-block; font: 500 0.7rem var(--mono); text-transform: uppercase; letter-spacing: 0.08em; padding: 4px 9px; border: 1px solid currentColor; border-radius: 3px; white-space: nowrap; }
.cD { color: var(--cD); } .cC { color: var(--cC); } .cS { color: var(--cS); }
.sc { white-space: nowrap; }
.bar { position: relative; display: inline-flex; gap: 2px; margin-right: 10px; }
.bar i { width: 9px; height: 14px; background: var(--line); display: block; }
.bar:nth-of-type(1) i.on, .bar:nth-of-type(1) { color: var(--cD); }
.bar:nth-of-type(2) { color: var(--cC); }
.bar:nth-of-type(3) { color: var(--cS); margin-right: 0; }
.bar.b1 i:nth-child(-n+1), .bar.b2 i:nth-child(-n+2), .bar.b3 i:nth-child(-n+3) { background: currentColor; }
.key { display: inline-block; font: 500 0.78rem var(--mono); padding: 0 6px; border: 1px solid var(--line); }

.sov-f { grid-template-columns: repeat(3, minmax(0, 1fr)) auto; }
@media (max-width: 980px) { .sov-f { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .sov-f { grid-template-columns: minmax(0, 1fr); } }
.sovmap { min-width: 820px; }
.sovmap tbody th a { text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 3px; }
.sovmap tbody th a:hover { color: var(--accent); }
.sovmap td { font-size: 0.9rem; color: var(--muted); }
.sovmap td.sc { color: inherit; }

/* profiles */
.profs { margin-top: 32px; display: grid; gap: 22px; }
.prof { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); padding: clamp(18px, 3vw, 30px); scroll-margin-top: 140px; }
.prof header { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 12px 24px; }
.prof header .eyebrow { margin-bottom: 8px; }
.prof h3 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); }
.prof-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.prof-tags .lab { font: 500 0.68rem var(--mono); text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); }
.prof-sum { margin: 18px 0 0; font-size: 1.08rem; max-width: 52em; }
.prof-cols { margin-top: 22px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px 28px; }
.prof-cols h4, .cm h4 { margin: 0 0 10px; font: 500 0.72rem var(--mono); text-transform: uppercase; letter-spacing: 0.1em; color: var(--accent); }
.prof-cols ul { margin: 0; padding-left: 1.1em; display: grid; gap: 10px; font-size: 0.93rem; }
.prof-cols p { margin: 0 0 10px; font-size: 0.93rem; color: var(--muted); }
.prof-cols li { color: var(--muted); }
.watch { color: var(--ink) !important; }
.cm { margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--line); }
.cm-l { list-style: none; margin: 0 0 8px; padding: 0; display: grid; gap: 4px; font-size: 0.93rem; }
.cm-l span { color: var(--muted); margin-left: 8px; }
.cm-g { margin: 6px 0; font-size: 0.9rem; color: var(--muted); }
.cm-link { font-weight: 600; font-size: 0.93rem; text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 3px; }
.srcs { margin-top: 18px; }
.srcs summary { cursor: pointer; font: 500 0.78rem var(--mono); text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }
.srcs ul { margin: 12px 0 0; padding-left: 1.1em; display: grid; gap: 6px; font-size: 0.9rem; }
.srcs a { text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 3px; overflow-wrap: anywhere; }
.srcs a:hover { color: var(--accent); }
.nav .links a[aria-current="page"] { color: var(--ink); }

@media (max-width: 980px) { .aps { grid-template-columns: minmax(0, 1fr); } .prof-cols { grid-template-columns: minmax(0, 1fr); } }

.tbl td .bar, .tbl td.sc .bar { display: inline-flex !important; font-size: inherit; }
.tbl td .vh { display: block; }
.tbl td .chip { display: inline-block; font-size: 0.7rem; }
.tbl td .chip.cD { color: var(--cD); } .tbl td .chip.cC { color: var(--cC); } .tbl td .chip.cS { color: var(--cS); }
