/* V8 guided-case visualization, scoped to the existing Government Workspace */
.g8-guide,.g8-summary,.g8-comparison{background:#fff;border:1px solid #dde6ed;border-radius:9px;margin:12px 0;overflow:hidden;color:#2b465c}
.g8-heading{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:13px 15px;border-bottom:1px solid #e7edf2}
.g8-heading small{display:block;font-size:9px;font-weight:800;letter-spacing:.08em;color:#718698}
.g8-heading b{display:block;font-size:13px;line-height:1.45;margin-top:4px;color:#2c4c65}
.g8-heading span{font-size:9px;color:#778a9a;background:#f7fafb;border:1px solid #e3e9ed;padding:5px 8px;border-radius:6px}
.g8-pills{display:flex;gap:6px;overflow:auto;padding:12px 15px;scrollbar-width:thin}
.g8-pill{background:#f6f9fa;border:1px solid #dce5ec;border-radius:6px;padding:9px 10px;color:#466a82;font-size:10px;white-space:nowrap;font-weight:750;cursor:pointer}
.g8-pill.active{background:#e9f1f6;border-color:#86a4ba;color:#24516f}
.g8-guide>p,.g8-question,.g8-disclaimer{font-size:10px;line-height:1.65;color:#73879a;padding:0 15px;margin:9px 0 13px}
.g8-numbers{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;padding:12px 15px}
.g8-metric{padding:11px;background:#f8fafb;border:1px solid #e5ecf1;border-radius:7px;min-width:0}
.g8-metric small,.g8-metric span{display:block;color:#778b9a;font-size:9px;line-height:1.6}
.g8-metric strong{display:block;font-size:15px;color:#30556e;line-height:1.4;margin:4px 0;overflow-wrap:anywhere}
.g8-conclusion{padding:11px 15px;background:#f6f9fb;border-top:1px solid #e3eaf0;color:#365b75;font-size:11px;line-height:1.65}
.g8-conclusion p{font-size:10px;color:#738797;margin:4px 0}
.g8-details{margin:10px 15px;border:1px solid #e5ebef;border-radius:6px}
.g8-details summary{cursor:pointer;font-size:10px;color:#456c87;font-weight:750;padding:10px}
.g8-details p,.g8-details li{font-size:10px;color:#73889a;line-height:1.65}
.g8-before{padding:11px 15px;background:#f9fafc;font-size:10px;color:#627e92}
.g8-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;padding:14px 15px}
.g8-choices>div{border:1px solid #e1e8ed;border-radius:7px;padding:12px;min-width:0}
.g8-choices b{font-size:10px;color:#375a72;display:block}
.g8-choices strong{display:block;font-size:17px;color:#2c4e66;margin:8px 0}
.g8-choices p,.g8-choices small{font-size:10px;line-height:1.6;color:#74899a;margin:7px 0}
.g8-meter{height:7px;border-radius:5px;background:#e9eff3;overflow:hidden}.g8-meter i{display:block;height:100%;background:#6991ab}
@media(max-width:1020px){.g8-numbers{grid-template-columns:repeat(3,minmax(0,1fr))}.g8-choices{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.g8-numbers,.g8-choices{grid-template-columns:1fr}.g8-heading{align-items:flex-start;flex-direction:column}.g8-pill{white-space:normal;min-width:145px}}

/* 26 case catalogue: keep all ministries discoverable without 26 crowded tabs */
.g8-catalogue{display:grid;grid-template-columns:minmax(260px,.9fr) minmax(220px,1.1fr);align-items:center;gap:14px;padding:12px 15px 3px}
.g8-catalogue label{font-size:10px;font-weight:850;color:#4c6e86}
.g8-catalogue select{display:block;margin-top:6px;max-width:100%;width:100%;border:1px solid #d4e2eb;border-radius:7px;background:#fff;color:#2f506a;font-size:11px;padding:10px 12px}
.g8-catalogue option,.g8-catalogue optgroup{color:#2d506b;font-size:11px}
.g8-catalogue p{font-size:10px;color:#8394a1;line-height:1.6;margin:0}
.g8-quickviews{display:flex;gap:6px;align-items:center;flex-wrap:wrap;padding:4px 15px 13px}
.g8-view-link{border:1px solid #dbe5ec;background:#fff;border-radius:6px;padding:8px 10px;color:#577389;font-size:10px;font-weight:800;cursor:pointer}
.g8-view-link.active{background:#edf4f8;border-color:#92adc0;color:#2b5676}
.g8-proof-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:10px}
.g8-flow{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;padding:11px;border-top:1px solid #e6edf1}
.g8-flow-step{border:1px solid #e5ecf0;border-radius:7px;padding:10px;background:#f9fbfc}
.g8-flow-step small{font-size:9px;color:#7792a3;letter-spacing:.04em}
.g8-flow-step b{display:block;margin:6px 0;color:#315872;font-size:10px;line-height:1.5}
.g8-flow-step span{font-size:9px;line-height:1.6;color:#8393a1}
.g8-actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap;padding:8px 15px 13px}
.g8-primary{font-size:10px;font-weight:800;background:#365e7b;border:1px solid #365e7b;color:#fff;border-radius:6px;padding:8px 11px}
.g8-link{border:none;background:transparent;color:#3d6d8c;text-decoration:underline;font-size:10px;font-weight:750;padding:7px}
@media(max-width:1020px){.g8-flow{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:680px){.g8-catalogue{grid-template-columns:1fr;gap:7px}.g8-flow,.g8-proof-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.g8-quickviews{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:thin}.g8-view-link{flex-shrink:0}}
@media(max-width:420px){.g8-flow,.g8-proof-grid{grid-template-columns:1fr}}

/* The new guided decision is the primary conclusion; older detailed logic remains accessible. */
.g8-advanced{margin:10px 15px 13px;background:#fff;border:1px solid #e1e9ef;border-radius:7px;overflow:hidden}
.g8-advanced>summary{cursor:pointer;padding:11px 13px;font-size:10px;font-weight:800;color:#3b6580;background:#f9fbfc;line-height:1.6}
.g8-advanced>.g7-scientific,.g8-advanced>.g7-leadership,.g8-advanced>.g7-joint{margin:10px}
.g8-advanced>.g6-options{padding-top:12px}
.g8-advanced:focus-within{border-color:#8aadc4}
