/* The unenhanced layout is the mobile, reduced-motion, and no-JS story. */
.gb300{--gb-pass:#a2c8af;--gb-fail:#ddb08c;border-top:1px solid var(--line);background:#14181c;padding:70px var(--gutter) 35px}
.gb-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:25px;margin-bottom:45px}.gb-heading h2{font-size:clamp(32px,4vw,60px);margin-top:16px}.gb-skip{white-space:nowrap;color:var(--muted);padding:12px 0}
.gb-stage{border:1px solid #38434d;background:#151a1f}.gb-topline{padding:18px 24px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;gap:18px;color:#a6b2bd;font-size:10px}.gb-composition{padding:24px;display:grid;grid-template-columns:1fr 1fr;gap:40px;align-items:start}.gb-hardware{min-width:0}.gb-rack-svg{display:block;width:100%;max-height:540px;stroke:#627586;stroke-width:1.2}.gb-rack-svg text,.gb-connector text{font:10px Plex,monospace;fill:#b0bfcc;stroke:none;letter-spacing:1px}.gb-trays{fill:#1c252d}.gb-trays circle{fill:#8aa895;stroke:none}.gb-hardware-caption{display:flex;justify-content:space-between;color:#a6b2bd;font-size:9px;padding:12px 0}.gb-board-face{fill:#344c4a;stroke:#a2c8af}.gb-scenes{min-width:0}.gb-scene{padding:28px 0;border-bottom:1px solid var(--line)}.gb-scene:first-child{padding-top:12px}.gb-scene:last-child{border:0}.gb-eyebrow{font-size:10px;color:var(--blue)}.gb-scene h3{font-size:clamp(26px,2.6vw,38px);margin:14px 0}.gb-question{font-size:14px;margin-bottom:24px;max-width:400px}.gb-domain-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;font-size:10px;margin:24px 0}.gb-domain-grid span{border-left:2px solid #627586;padding:8px 12px;background:#1b232b}.gb-note{font-size:12px;line-height:1.75;margin-top:20px;max-width:440px}.gb-terminal,.gb-sop{border:1px solid #3c4b58;background:#10161b}.gb-panel-title{font:10px/1.6 Plex,monospace;color:#b0bfcc;border-bottom:1px solid #34404a;padding:12px 16px}.gb-terminal pre{margin:0;padding:16px;font:12px/1.9 Plex,monospace;color:#c2cdd6;white-space:pre-wrap;overflow-wrap:anywhere}.gb-values{font:10px/1.9 Plex,monospace;color:var(--blue);padding:0 16px 16px}.gb-config{border:1px solid #45584e;margin-top:12px;padding:14px 16px;display:flex;flex-direction:column;gap:8px}.gb-config .mono{font-size:10px}.gb-config strong{font:12px Plex,monospace;color:var(--gb-pass)}.gb-path{display:flex;align-items:center;font-size:11px;margin:28px 0}.gb-path span{border:1px solid #546675;padding:12px;white-space:nowrap}.gb-path .gb-cable{flex:1;text-align:center;border-width:0 0 2px;color:var(--blue);margin:0 8px}.gb-observation{display:flex;flex-direction:column;gap:8px;margin:20px 0}.gb-observation strong{font:14px Plex,monospace;color:var(--gb-pass)}.gb-observation>span{font-size:12px;color:var(--muted)}.gb-hypotheses{display:flex;flex-wrap:wrap;gap:8px;font-size:9px;color:var(--muted)}.gb-hypotheses span{padding:7px;border:1px dashed #53616c}.gb-hypotheses [data-hypothesis=cable]{color:var(--gb-fail);border-color:var(--gb-fail)}.gb-trials{font-size:10px;margin-top:20px}.gb-trials>div{display:flex;justify-content:space-between;border-bottom:1px solid var(--line);padding:9px 0}.gb-trials b{font-weight:400}.gb-pass{color:var(--gb-pass)}.gb-fail,.gb-warning{color:var(--gb-fail)}.gb-connector{width:100%;display:block;margin:20px 0;color:#8195a5}.gb-repair-steps{display:flex;flex-direction:column;font-size:11px;counter-reset:repair}.gb-repair-steps span{border-bottom:1px solid var(--line);padding:12px 0;color:#a8b4be}.gb-repair-steps span:before{counter-increment:repair;content:'0' counter(repair);margin-right:20px;color:#6e8191}.gb-repair-steps .is-current{color:var(--blue)}.gb-flow{display:flex;align-items:center;flex-direction:column;padding:14px;font-size:10px;line-height:1.5}.gb-flow>span{border:1px solid #536471;padding:6px 18px;min-width:200px;text-align:center}.gb-flow i{font-style:normal;color:#7b8f9f}.gb-branches{display:flex;width:100%;justify-content:space-around;text-align:center;gap:12px;margin-top:12px}.gb-final{color:var(--ink);font-size:20px;line-height:1.4;letter-spacing:-.03em;margin-top:20px}.gb-footer{padding:18px 24px;border-top:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;gap:20px}.gb-workflow{list-style:none;display:flex;flex-wrap:wrap;gap:18px;padding:0;margin:0;color:#9ca8b3;font-size:9px}.gb-workflow [aria-current=step]{color:var(--blue)}.gb-workflow [aria-current=step]:before{content:'● ';font-size:7px}.gb-scroll-hint{display:none;font-size:9px;color:var(--muted)}.gb-progress{height:2px;overflow:hidden}.gb-progress>span{display:block;height:100%;background:var(--blue);transform:scaleX(var(--gb-progress,0));transform-origin:left}.gb-summary{margin-top:24px;max-width:800px;color:var(--muted);font-size:13px}.gb-summary summary{cursor:pointer;padding:10px 0;color:#c3cdd5}.gb-summary li{padding:8px 0}.gb-summary strong{color:var(--ink)}
@media(min-width:900px) and (min-height:560px) and (prefers-reduced-motion:no-preference){
.gb-enhanced .gb-scroll{height:650svh;position:relative}.gb-enhanced .gb-stage{position:sticky;top:104px;height:calc(100svh - 120px);max-height:900px;display:flex;flex-direction:column}.gb-enhanced .gb-composition{flex:1;min-height:0;align-items:center;grid-template-columns:1.05fr 1fr;padding:20px 32px;gap:clamp(25px,4vw,64px)}.gb-enhanced .gb-hardware{height:100%;min-height:0;display:flex;flex-direction:column;justify-content:center}.gb-enhanced .gb-rack-svg{height:calc(100% - 38px);max-height:570px}.gb-enhanced .gb-scenes{position:relative;height:100%;display:grid;align-items:center}.gb-enhanced .gb-scene{grid-area:1/1;visibility:hidden;opacity:0;border:0;padding:0;pointer-events:none}.gb-enhanced .gb-scene.is-active{visibility:visible;opacity:1;pointer-events:auto}.gb-enhanced .gb-scroll-hint{display:block}.gb-enhanced .gb-heading{margin-bottom:30px}
}
@media(min-width:900px) and (max-height:800px){.gb-enhanced .gb-scene h3{font-size:28px;margin:10px 0}.gb-enhanced .gb-question{margin-bottom:16px;font-size:12px}.gb-enhanced .gb-terminal pre{font-size:11px;line-height:1.65;padding:12px}.gb-enhanced .gb-note{font-size:11px;margin-top:14px}.gb-enhanced .gb-flow{font-size:9px;padding:10px}.gb-enhanced .gb-flow>span{padding:4px 12px}.gb-enhanced .gb-final{font-size:17px}.gb-enhanced .gb-observation{margin:14px 0}.gb-enhanced .gb-path{margin:16px 0}}
@media(max-width:899px){.gb300{padding:55px 24px 28px}.gb-heading{display:block;margin-bottom:28px}.gb-skip{display:inline-block;margin-top:12px}.gb-topline{padding:14px 18px;font-size:9px;flex-direction:column;gap:4px}.gb-composition{display:block;padding:18px}.gb-hardware{max-width:440px;margin:auto}.gb-rack-svg{max-height:360px}.gb-scenes{margin-top:16px}.gb-scene{padding:32px 0}.gb-scene h3{font-size:29px}.gb-question{font-size:13px}.gb-footer{padding:16px 18px}.gb-workflow{gap:12px;font-size:8px}.gb-path span{padding:10px 6px;font-size:10px}.gb-final{font-size:21px}}
@media(prefers-reduced-motion:reduce),(max-height:559px){.gb-composition{grid-template-columns:1fr}.gb-hardware{max-width:440px;width:100%;margin:auto}.gb-scenes{max-width:640px;width:100%;margin:auto}.gb-scroll-hint{display:none}}
/* Scrubbed tracks use inline transforms only in the enhanced desktop scene. */
.gb-enhanced [data-console-row]{display:inline-block}
.gb-enhanced .gb-values span{display:inline-block;position:relative;z-index:1}
.gb-enhanced .gb-config{min-height:116px;justify-content:space-between}
.gb-enhanced .gb-config>.mono{align-self:flex-end;font-size:8px}
.gb-enhanced .gb-config strong{align-self:flex-end}
.gb-enhanced [data-network]{color:var(--gb-fail)}
.gb-enhanced [data-network-sockets]{stroke:#a0c5f8}
.gb-enhanced [data-board-dimensions]{stroke:#879ba9;stroke-width:.8}
.gb-enhanced [data-board-dimensions] text{font-size:8px}

/* Browser chrome often leaves laptop viewports shorter than 700px. */
@media(min-width:900px) and (min-height:560px) and (max-height:699px) and (prefers-reduced-motion:no-preference){
.gb-enhanced .gb-stage{top:96px;height:calc(100svh - 108px)}
.gb-enhanced .gb-topline{padding:8px 18px;font-size:9px}
.gb-enhanced .gb-composition{padding:10px 24px;gap:28px}
.gb-enhanced .gb-footer{padding:10px 18px}
.gb-enhanced .gb-scene h3{font-size:25px;margin:8px 0}
.gb-enhanced .gb-question{font-size:11px;line-height:1.5;margin-bottom:12px}
.gb-enhanced .gb-panel-title{padding:7px 12px;font-size:9px}
.gb-enhanced .gb-terminal pre{padding:8px 12px;font-size:10px;line-height:1.5}
.gb-enhanced .gb-note{font-size:10px;line-height:1.5;margin-top:10px}
.gb-enhanced .gb-domain-grid{margin:12px 0;gap:8px}
.gb-enhanced .gb-domain-grid span{padding:5px 10px}
.gb-enhanced .gb-path{margin:12px 0}
.gb-enhanced .gb-path span{padding:8px}
.gb-enhanced .gb-observation{margin:10px 0;gap:4px}
.gb-enhanced .gb-trials{margin-top:10px}
.gb-enhanced .gb-trials>div{padding:6px 0}
.gb-enhanced .gb-repair-steps span{padding:8px 0}
.gb-enhanced .gb-flow{padding:8px;font-size:9px}
.gb-enhanced .gb-flow>span{padding:3px 12px}
.gb-enhanced .gb-final{font-size:16px;margin-top:12px}
.gb-enhanced .gb-connector{max-height:110px;margin:10px 0}
}
@media(min-width:900px) and (min-height:560px) and (max-height:699px) and (prefers-reduced-motion:no-preference){
.gb-enhanced{--gb-transfer-distance:92px}
.gb-enhanced .gb-values{padding-bottom:4px}
.gb-enhanced .gb-config{min-height:104px}
.gb-enhanced .gb-scene h3{font-size:23px;margin:6px 0}
.gb-enhanced .gb-question{margin-bottom:8px}
}

.gb-view-status{font-size:12px;line-height:1.6;color:var(--muted);margin:0 0 18px}
