/* Explorable notebook, adapted from the supplied Graicells design library. */
:root{--gc-stage:#0b1120;--gc-muted:#b6c5d7;--gc-line:#34445b;--gc-control:#a5b4fc;--gc-truth:#6ee7b7;--gc-approx:#fcd34d;--gc-hazard:#fda4af}
.gc-card-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,310px),1fr));gap:24px;margin:32px 0}
.gc-card{display:flex;flex-direction:column;min-width:0;overflow:hidden;color:var(--ink-primary);text-decoration:none;background:#fff;border:1px solid var(--border);border-radius:16px;box-shadow:0 4px 16px #0f262009;transition:transform .2s,border-color .2s}
.gc-card:hover{transform:translateY(-3px);border-color:#6b9f89}.gc-card:focus-visible{outline:3px solid #06634a;outline-offset:4px}
.gc-card-visual{background:var(--gc-stage);aspect-ratio:400/220;display:grid;place-items:center}.gc-card-visual img{display:block;width:100%;height:100%;object-fit:contain}
.gc-card-body{padding:22px;display:flex;flex-direction:column;gap:14px;flex:1}.gc-card h2{font-size:1.25rem;line-height:1.35;margin:0}.gc-card p{line-height:1.65;margin:0;color:#475569;flex:1}.gc-card-meta,.gc-card-footer,.gc-article-meta{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.gc-card-meta,.gc-card-footer{justify-content:space-between}.gc-card-footer{border-top:1px solid #e2e8f0;padding-top:16px;font-size:.78rem;color:#475569}.gc-eyebrow{font-size:.75rem;color:#475569;white-space:nowrap}.gc-badge{display:inline-block;font-size:.72rem;font-weight:700;border-radius:30px;padding:5px 10px;border:1px solid;line-height:1.4}.gc-badge--truth{color:#065f46;background:#d1fae5;border-color:#6ee7b7}.gc-badge--hazard{color:#9f1239;background:#ffe4e6;border-color:#fda4af}.gc-badge--approx{color:#854d0e;background:#fef3c7;border-color:#fcd34d}.gc-badge--control{color:#3730a3;background:#e0e7ff;border-color:#a5b4fc}
.gc-article.prose{max-width:1040px;padding:clamp(18px,4vw,48px);display:grid;grid-template-columns:minmax(0,1fr) minmax(0,68ch) minmax(0,1fr);column-gap:0}.gc-article> *{grid-column:2;min-width:0}.gc-article>.gc-stage{grid-column:1/-1}.gc-article-meta{color:#475569;font-size:.82rem;margin-bottom:18px}.gc-series{display:flex;flex-wrap:wrap;gap:20px;border-bottom:1px solid var(--border);padding-bottom:24px;margin-bottom:18px;font-size:.85rem}.gc-article h2{line-height:1.3}.gc-article>h2{margin-top:36px}
.gc-stage.learning-example,.gc-stage.llm-example,.gc-stage{border:1px solid var(--gc-line);border-radius:14px;background-color:var(--gc-stage);background-image:radial-gradient(#94a3b814 1px,transparent 1px);background-size:18px 18px;color:#f8fafc;padding:clamp(18px,3vw,30px);margin:32px 0;overflow-wrap:anywhere;min-width:0;box-shadow:0 16px 28px #02061716}
.gc-stage p,.gc-stage h2,.gc-stage h3,.gc-stage label,.gc-stage legend,.gc-stage caption,.gc-stage .status{color:#dbe5f1}.gc-stage h2{margin-top:0;color:#f8fafc}.gc-stage h3{font-size:1.05rem}.gc-stage a,.gc-stage summary{color:var(--gc-truth)}.gc-stage fieldset{border-color:var(--gc-line)}.gc-stage .learning-inputs{gap:16px}.gc-stage input,.gc-stage select,.gc-stage textarea{background:#172235;color:#f8fafc;border:1px solid #71839d;max-width:100%;font:inherit;min-height:44px}.gc-stage input[type=checkbox]{min-height:auto;width:auto;accent-color:#6ee7b7}.gc-stage select option{color:#f8fafc;background:#172235}.gc-stage input[type=range]{accent-color:#a5b4fc}.gc-stage .learning-result,.gc-stage .notice{background:#122e2c;color:#d1fae5;border:1px solid #348574}.gc-stage .learning-result.warning{background:#39251e;color:#ffdcc7;border-color:#bd7857}.gc-stage .learning-notice{background:#172235;border-color:#71839d;color:#cbd5e1}.gc-stage pre{background:#172235;color:#e2e8f0;white-space:pre-wrap;overflow-wrap:anywhere;padding:16px;border-radius:8px;font-size:.85rem;line-height:1.6}.gc-stage .token{background:#1e2d47;color:#e0e7ff;border-color:#71839d}.gc-stage th,.gc-stage td{border-color:var(--gc-line);color:#e2e8f0;padding:10px 8px}.gc-stage table{width:100%;border-collapse:collapse;line-height:1.5}.gc-scroll,.learning-table{overflow:auto;max-width:100%}.gc-stage .learning-table table{min-width:520px}.gc-stage caption{text-align:left;margin:12px 0}.gc-stage .gc-timeline{border-left:3px solid var(--gc-approx);padding:12px 16px;background:#172235}.gc-stage .plan-card{border-color:var(--gc-truth)}
.gc-stage button,.gc-stage .gc-button{display:inline-block;font:inherit;font-size:.83rem;cursor:pointer;border:1px solid #71839d;border-radius:7px;background:#172235;color:#e2e8f0;min-height:44px;padding:10px 14px;text-decoration:none}.gc-stage button:hover,.gc-stage button[aria-pressed=true]{background:#303d62;border-color:#a5b4fc}.gc-stage button:disabled{opacity:.55;cursor:default}.gc-stage :is(a,button,input,select,textarea,summary,[tabindex]):focus-visible{outline:3px solid #fcd34d;outline-offset:4px}.gc-stage [hidden]{display:none!important}.gc-stage-controls{display:flex;gap:10px;flex-wrap:wrap;align-items:center;padding-bottom:16px;margin-bottom:20px;border-bottom:1px solid var(--gc-line)}.gc-stage-controls .gc-eyebrow{color:var(--gc-muted);margin-right:auto}.gc-presets{display:flex;gap:8px;flex-wrap:wrap;margin:18px 0}.gc-takeaway{border-top:1px solid var(--gc-line);padding-top:18px;color:#cbd5e1}.gc-takeaway strong{color:var(--gc-approx)}.gc-evidence-grid,.gc-banking-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}.gc-evidence-grid>div,.gc-banking-grid>div{padding:18px;background:#172235;border:1px solid var(--gc-line);border-radius:10px}.gc-stage .gc-headline{font-size:1.7rem;font-weight:700;display:block;color:#f8fafc;line-height:1.3;margin-bottom:8px}.gc-stage .gc-waterfall{width:100%;display:block;height:auto;background:#111d30;border-radius:10px}.gc-stage .gc-waterfall text{font-family:inherit}.gc-stage #map{background:#e9f3ee;border-radius:8px}.gc-stage #probabilities li{grid-template-columns:minmax(140px,1.3fr) minmax(50px,1fr) 70px}.gc-stage #probabilities meter{accent-color:#10b981}.gc-stage .gc-query{font-size:.88rem}.gc-stage .gc-selected-token{display:inline-block;padding:10px 16px;background:#254e49;border:1px solid #6ee7b7;border-radius:8px}.gc-corpus-filters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.gc-case{border-top:1px solid var(--gc-line);padding:22px 0;scroll-margin-top:18px}.gc-case:target{border:2px solid #fcd34d;padding:18px;border-radius:10px}.gc-case h3{margin:0}.gc-case .gc-badge{margin:8px 0}.gc-stage .gc-warning{color:#fcd34d}.gc-case pre{margin:8px 0}.gc-static-copy{color:#cbd5e1}.gc-stage details{margin:20px 0}.gc-stage summary{min-height:44px;cursor:pointer}.gc-filter-count{font-weight:700}.gc-demo-note{font-size:.85rem;color:#475569}
@media(max-width:650px){.gc-article.prose{padding:18px}.gc-stage .split,.gc-evidence-grid,.gc-banking-grid,.gc-corpus-filters{grid-template-columns:1fr}.gc-stage #probabilities li{grid-template-columns:minmax(90px,1fr) minmax(40px,.6fr) 62px;font-size:.82rem}.gc-stage-controls{gap:8px}.gc-stage-controls .gc-eyebrow{width:100%}.gc-card-body{padding:20px}.gc-stage h2{font-size:1.4rem}.gc-stage .gc-headline{font-size:1.4rem}.gc-stage{padding:16px}.gc-stage .learning-inputs{grid-template-columns:1fr}.gc-stage pre{font-size:.78rem;padding:12px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation:none!important;transition:none!important}.gc-card:hover{transform:none}}
.gc-stage #map{min-width:510px}.gc-stage .gc-waterfall{min-width:600px}#similarity .split{grid-template-columns:minmax(0,1fr)}.gc-stage .split>*{min-width:0}.gc-scroll{border-radius:8px}.gc-scroll:focus-visible{outline:3px solid #fcd34d;outline-offset:3px}.gc-chart-note{font-size:.85rem}.gc-stage .gc-flow-arrow{color:#fcd34d}.gc-stage #neighbors{list-style:none;padding-left:0}
