.gh-demo{display:inline-block;font-size:.8rem;font-weight:650;color:#7c2d12;background:#ffedd5;border:1px solid #c2410c;border-radius:6px;padding:2px 8px;margin:0 0 8px}
.gh-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:12px;margin:12px 0}
.gh-card{background:#fff;border:1px solid #cbd5e1;border-radius:10px;box-shadow:0 2px 8px rgba(0,0,0,.08);padding:14px 16px}
.gh-card.key{border:2px solid #2563eb}
.gh-card h4{margin:0;font-size:.95rem;color:#475569;font-weight:600}
.gh-card .v{font-size:1.75rem;font-weight:700;color:#1e3a5f;line-height:1.2;margin:4px 0;font-variant-numeric:tabular-nums}
.gh-card p{margin:0;font-size:.9rem;color:#334155;line-height:1.4}
.gh-hand{border:1px solid #cbd5e1;border-radius:10px;padding:14px 16px;margin:16px 0}
.gh-hand legend{font-weight:650;color:#1e3a5f;padding:0 6px}
.gh-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.gh-row label{display:block;font-weight:600;color:#475569;font-size:.95rem;margin-bottom:4px}
.gh-row input{width:100%;min-height:44px;font-size:1rem;padding:8px 10px;border:1px solid #64748b;border-radius:8px;box-sizing:border-box}
.gh-row input:focus-visible{outline:3px solid #2563eb;outline-offset:2px}
.gh-help{font-size:.88rem;color:#475569;margin:4px 0 0}
.gh-later{margin-top:10px;border:1px dashed #94a3b8;border-radius:8px;padding:8px 10px;font-size:.88rem;color:#475569}
.gh-sum{background:#f1f5f9;border-left:4px solid #059669;border-radius:8px;padding:12px 14px;margin:12px 0}
.gh-sum p{margin:.2em 0}
.gh-chart svg{width:100%;height:auto;display:block}
.gh-chart figcaption{font-size:.9rem;color:#475569}
.gh-legend{display:flex;flex-wrap:wrap;gap:6px 18px;font-size:.9rem;margin:6px 0;padding:0;list-style:none}
.gh-legend svg{vertical-align:middle;margin-right:6px}
.gh-pm{font-size:.9rem;color:#334155}
.gh-table summary{min-height:44px;display:flex;align-items:center;cursor:pointer;color:#1d4ed8;font-weight:600}
.gh-table summary:focus-visible{outline:3px solid #2563eb;outline-offset:2px}
.gh-table table{border-collapse:collapse;width:100%;font-size:.9rem;font-variant-numeric:tabular-nums}
.gh-table th,.gh-table td{border-bottom:1px solid #e2e8f0;padding:6px 8px;text-align:right}
.gh-table th:first-child,.gh-table td:first-child{text-align:left}
@media (max-width:599px){.gh-row{grid-template-columns:1fr}.gh-card .v{font-size:1.5rem}}
.gh-legend li{display:flex;align-items:center}
.gh-legend svg{width:auto!important;height:auto;flex:none}
.gh-cards{grid-template-columns:repeat(auto-fit,minmax(160px,1fr))}
.gh-chart>svg{max-width:560px}
.gh-card.key{grid-column:1/-1}
@media (max-width:599px){.gh-chart text{font-size:17px}}
.gh-row3{grid-template-columns:1fr 1fr minmax(0,.8fr)}
.gh-gu label{font-size:.9rem}
.gh-fric{margin-top:12px;max-width:16rem}
.gh-fric label{display:block;font-weight:600;color:#475569;margin-bottom:4px}
.gh-fric input,.gh-gu input{width:100%;min-height:44px;font-size:1rem;padding:8px 10px;border:1px solid #64748b;border-radius:8px;box-sizing:border-box}
.gh-fric input:focus-visible{outline:3px solid #2563eb;outline-offset:2px}
.gh-out{margin:0;display:grid;gap:6px}.gh-out div{display:flex;flex-wrap:wrap;justify-content:space-between;gap:4px 12px}
.gh-out dt{color:#334155}.gh-out dd{margin:0;font-weight:700;color:#1e3a5f;font-variant-numeric:tabular-nums}.gh-out dd span{font-weight:400;color:#475569}
@media (max-width:599px){.gh-chart .tk-minor{display:none}.gh-row3{grid-template-columns:1fr}.gh-fric{max-width:none}}
.gh-cards{grid-template-columns:repeat(auto-fit,minmax(230px,1fr))}
.gh-row3{grid-template-columns:repeat(auto-fit,minmax(150px,1fr))}
/* staging build: chart text ≥ 12 px on screen at 390 px (viewBox 480 scaled to ~0.64) */
@media (max-width:599px){.gh-chart #gs-hand text{font-size:19px}}

/* 2026-10 server-side calculation (Rabo/Kilgore 20-10): one status block for "Calculating…" and errors (with retry), dimmed old results,
   spring chart directly under the hand chart (same width and α axis, ~70 % height) */
.gs-status { margin: .75rem 0 0; padding: .6rem .9rem; border: 1px solid #cbd5e1; border-left: 4px solid #64748b; border-radius: 8px; background: #f8fafc; color: #1e293b; display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; }
.gs-status p { margin: 0; }
.gs-status.is-error { border-left-color: #b45309; background: #fffbeb; color: #78350f; }
.gs-retry { font: inherit; font-weight: 600; padding: .45rem .9rem; border: 1px solid currentColor; border-radius: 6px; background: #fff; color: inherit; cursor: pointer; min-height: 44px; }
.gs-retry:hover { background: #fef3c7; }
.gs-retry:focus-visible { outline: 3px solid #1d4ed8; outline-offset: 2px; }
.gs-calc-btn[disabled] { opacity: .7; cursor: progress; }
.gs-result.gs-dim { opacity: .45; transition: opacity .15s; }
.gh-ch-h { margin: 1rem 0 .25rem; font-size: 1rem; }
.gh-ch-h:first-child { margin-top: 0; }
#gs-hand, #gs-spring { max-width: 560px; }
.gs-spring { margin-top: 0; }
@media (max-width:599px){.gh-chart #gs-spring text{font-size:19px}}
/* preset banner (?preset=…, Rabo spec gasveer-uitleg-2026-10): #1e3a5f on #eff6ff 10.57:1 */
.gs-preset{display:flex;flex-wrap:wrap;gap:12px;align-items:center;justify-content:space-between;background:#eff6ff;color:#1e3a5f;border:1px solid #93c5fd;border-left:5px solid #2563eb;border-radius:10px;padding:10px 14px;margin:0 0 14px}
.gs-preset p{margin:0;flex:1 1 260px}
.gs-preset-clear{min-height:44px;padding:0 18px;border:2px solid #2563eb;border-radius:10px;background:#fff;color:#1d4ed8;font-weight:650;font-size:1rem;cursor:pointer}
.gs-preset-clear:focus-visible{outline:3px solid #2563eb;outline-offset:2px}
.gs-explainer-link{margin:12px 0 0}
@media (max-width:899px){.gs-preset{flex-wrap:nowrap;gap:10px;padding:8px 10px}.gs-preset p{flex:1 1 0;min-width:0;font-size:.95rem;line-height:1.35}.gs-preset-clear{flex:0 0 auto;padding:0 12px}}
@media (max-width:599px){.gs-preset{flex-direction:column;align-items:flex-start;flex-wrap:nowrap}.gs-preset p{flex:none;width:100%}.gs-preset-clear{align-self:flex-start;min-height:44px}}
