.case-study{--cs-ink:var(--ink);--cs-muted:var(--muted-text);--cs-slab:#dfe5ec;--cs-cell:#fff;--cs-concrete:var(--marfil);--cs-rebar:var(--verde);--cs-flag:#b42318;--cs-flag-bg:#fbe9e7;--cs-ok:#0b6b4f;--cs-ok-bg:#e3f5ee;color:var(--cs-ink)}.case-study h1{letter-spacing:-.04em;font-size:clamp(2.35rem,6.4vw,4.25rem);font-weight:600;line-height:1.03}.case-study h2{letter-spacing:-.03em;scroll-margin-top:6rem;font-size:clamp(1.6rem,3.6vw,2.35rem);font-weight:600;line-height:1.1}.case-study .chapter{margin-top:4.5rem}@media (min-width:64rem){.case-study .chapter{margin-top:7rem}}.case-study .chapter-label{font-family:var(--font-jetbrains-mono), monospace;letter-spacing:.14em;text-transform:uppercase;color:var(--cs-rebar);align-items:center;gap:.75rem;font-size:.75rem;font-weight:500;display:flex}.case-study .chapter-label span{background:var(--cs-ink);min-width:2rem;height:1.5rem;color:var(--lime);letter-spacing:.04em;border-radius:6px;justify-content:center;align-items:center;padding-inline:.4rem;display:inline-flex}.case-study .chapter-image{border:1px solid var(--cs-slab);aspect-ratio:16/9;background:#fff;border-radius:20px;overflow:hidden}.case-study .chapter-image img{object-fit:contain;width:100%;height:100%;display:block}.case-study .system-chip{background:#fff;border:1px dashed #768493;border-radius:12px;align-items:center;min-height:3rem;padding:.6rem .8rem;font-size:.95rem;font-weight:600;line-height:1.25;display:flex}.case-study .pain-row{background:var(--cs-flag-bg);border-radius:12px;align-items:flex-start;gap:.75rem;padding:.8rem 1rem;font-size:1.0625rem;font-weight:600;line-height:1.35;display:flex}.case-study .pain-row__x{color:var(--cs-flag);flex-shrink:0;font-size:1.25rem;line-height:1.1}.case-study .handoff-board{border:1px solid var(--cs-slab);background:#fff;border-radius:16px;padding:1.1rem}.case-study .handoff-grid{grid-template-columns:repeat(9,minmax(0,1fr));gap:.4rem;display:grid}@media (min-width:40rem){.case-study .handoff-board{padding:1.5rem}.case-study .handoff-grid{grid-template-columns:repeat(13,minmax(0,1fr));gap:.5rem}}.case-study .handoff{aspect-ratio:1;border-radius:6px;flex-shrink:0;display:block}.case-study .handoff--auto{background:var(--emerald)}.case-study .handoff--retyped{background:var(--cs-flag)}.case-study .handoff--missing{border:2px dashed var(--cs-flag);background:#fff}.case-study .handoff--manual{background:var(--cs-slab)}.case-study .progress{background:var(--cs-slab);border-radius:999px;height:.75rem;overflow:hidden}.case-study .progress span{border-radius:inherit;background:var(--emerald);height:100%;display:block}.case-study .proof-band{background:var(--cs-rebar);border-radius:16px;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;margin-bottom:0;padding:1.5rem 1.25rem;display:grid}@media (min-width:40rem){.case-study .proof-band{padding:2rem}}.case-study .finding-card{border:1px solid var(--cs-slab);border-top:3px solid var(--cs-flag);background:#fff;border-radius:14px;padding:1.1rem 1.15rem 1.2rem}.case-study .check-row{border:1px solid var(--cs-slab);background:#fff;border-radius:12px;align-items:flex-start;gap:.85rem;padding:.9rem 1rem;font-size:1.0625rem;line-height:1.4;display:flex}.case-study .check-box{border:2px solid var(--cs-rebar);border-radius:4px;flex-shrink:0;width:1.15rem;height:1.15rem;margin-top:.12rem}.case-study .check-box.is-checked{background:var(--emerald) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 85% no-repeat;border-color:var(--emerald)}.case-study .case-close{background:var(--cs-rebar);color:#fff;border-radius:20px;margin-top:4.5rem;padding:2.5rem 1.25rem}@media (min-width:40rem){.case-study .case-close{padding:3.5rem 3rem}}.case-study .sheet-card{border:1px solid var(--cs-slab);background:var(--cs-cell);border-radius:16px;padding:.75rem}@media (min-width:40rem){.case-study .sheet-card{padding:1.25rem}}.case-study .sheet-scroll{-webkit-overflow-scrolling:touch;overflow-x:auto}.case-study table.sheet{border-collapse:collapse;font-variant-numeric:tabular-nums;width:100%;font-size:.8125rem;line-height:1.3}@media (min-width:40rem){.case-study table.sheet{font-size:.95rem}}.case-study .sheet th,.case-study .sheet td{border:1px solid var(--cs-slab);text-align:left;vertical-align:top;padding:.4rem .35rem}@media (min-width:40rem){.case-study .sheet th,.case-study .sheet td{padding:.4rem .45rem}}.case-study .sheet thead th,.case-study .sheet th.rn{background:var(--cs-concrete);color:var(--cs-muted);text-align:center;width:1.75rem;font-weight:500}.case-study .sheet thead th{width:auto}.case-study .sheet thead th:first-child{width:1.75rem}.case-study .sheet .num{text-align:right}.case-study .sheet tr.tot td{font-weight:700}.case-study .sheet td.is-flag{outline:2px solid var(--cs-flag);outline-offset:-2px;background:var(--cs-flag-bg);color:var(--cs-flag)}.case-study .sheet td.is-ok{outline:2px solid var(--cs-ok);outline-offset:-2px;background:var(--cs-ok-bg)}.case-study .sheet tr.is-flag td{background:var(--cs-flag-bg)}.case-study .sheet tr.is-flag td:first-of-type{box-shadow:inset 3px 0 0 var(--cs-flag)}.case-study .fx{overflow-wrap:anywhere;border-radius:8px}.case-study .fx.is-flag{border-color:var(--cs-flag);background:var(--cs-flag-bg)}.case-study .fx.is-ok{border-color:var(--cs-ok);background:var(--cs-ok-bg)}.case-study .space{border-bottom:1px dashed;min-width:1.2em;display:inline-block}.case-study .action:focus-visible,.case-study a:focus-visible{outline:3px solid var(--emerald);outline-offset:3px}@media (prefers-reduced-motion:reduce){.case-study *{scroll-behavior:auto}}
