/* Full-width product stage; preserve the complete chassis in every view. */
.hardware-exploration .hardware-heading{align-items:flex-end;margin-bottom:22px}
.hardware-exploration .hardware-heading h3{font-size:clamp(24px,2.5vw,34px);line-height:1.3}
.hardware-exploration .hardware-stage{margin:0;border-radius:12px;background:#101115;border-color:#ffffff26;box-shadow:0 24px 50px #080a0f65;scroll-margin-top:100px}
.hardware-expand{position:relative;display:block;width:100%;padding:0;border:0;border-radius:0;background:#101115;cursor:zoom-in;overflow:hidden;isolation:isolate}
.hardware-expand>img{display:block;width:100%;height:auto;max-height:none;aspect-ratio:21/9;object-fit:contain;object-position:center}
.hardware-expand:after{content:"";position:absolute;inset:0;pointer-events:none;box-shadow:inset 0 0 0 1px #ffffff06}
.hardware-expand-label{position:absolute;bottom:18px;right:20px;display:flex;align-items:center;gap:9px;min-height:38px;padding:8px 12px;border:1px solid #ffffff35;border-radius:6px;background:#101115d9;backdrop-filter:blur(8px);color:#eee8e0;font-size:12px;line-height:1.4;transition:background .18s,border-color .18s}
.hardware-expand-label svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.hardware-expand:hover .hardware-expand-label{background:#21170eee;border-color:#ff984f; color:#ffd9ba}
.hardware-expand:focus-visible{outline:2px solid #ff984f;outline-offset:-4px}
.hardware-exploration .hardware-stage figcaption{min-height:56px;display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:12px;padding:15px 20px;background:#151619;border-color:#ffffff18;color:#a8a5a1;font-size:12px;line-height:1.5}
.hardware-stage #hardware-view-title{color:#f1e9df;font-weight:500}
.hardware-exploration .hardware-views{width:100%;max-width:none;gap:0;margin:12px 0 0;border:1px solid #ffffff20;border-radius:10px;overflow:hidden;background:#151619}
.hardware-exploration .hardware-views .hardware-view-button{display:flex;flex-direction:row;align-items:center;justify-content:center;gap:15px;min-height:76px;padding:14px 16px;border:0;border-radius:0;border-right:1px solid #ffffff20;background:transparent;box-shadow:none;color:#c5c1bc}
.hardware-exploration .hardware-views .hardware-view-button:last-child{border-right:0}
.hardware-exploration .hardware-views .hardware-view-button:hover{background:#ffffff06}
.hardware-exploration .hardware-views .hardware-view-button[aria-pressed=true]{background:linear-gradient(110deg,#ff6b0012,#ff6b0005);box-shadow:inset 0 -2px #ff8e40}
.hardware-exploration .hardware-views .hardware-view-button:focus-visible{outline:2px solid #ffa160;outline-offset:-4px}
.hardware-exploration .hardware-view-icon{width:45px;height:34px;stroke:#928e88}
.hardware-exploration .hardware-view-button[aria-pressed=true] .hardware-view-icon{stroke:#ffae70}
.hardware-exploration .hardware-views .hardware-view-button>span{display:block;padding:0;text-align:left;color:#c5c1bc;font-size:13px;line-height:1.6}
.hardware-exploration .hardware-views .hardware-view-button b{display:block;margin:0 0 2px;font:10px/1.4 ui-monospace,monospace;color:#918b83}
.hardware-exploration .hardware-views .hardware-view-button[aria-pressed=true]>span{color:#fff1e3}
.hardware-exploration .hardware-views .hardware-view-button[aria-pressed=true] b{color:#ffae70}
.hardware-status{margin:10px 0 0;color:#edc098;font-size:12px;line-height:1.7}
.hardware-status:empty{display:none}
.hardware-viewing{overflow:hidden}
.hardware-dialog{position:fixed;inset:0;width:100vw;max-width:none;height:100dvh;max-height:none;margin:0;padding:0;border:0;border-radius:0;background:#101115;color:#f4eee8;overflow:hidden}
.hardware-dialog::backdrop{background:#080a0fee}
.hardware-dialog-shell{--gallery-padding:clamp(16px,2.4vw,34px);display:grid;grid-template-rows:auto auto minmax(112px,1fr) auto auto;height:100%;max-width:2000px;margin:0 auto;padding:max(var(--gallery-padding),env(safe-area-inset-top)) max(var(--gallery-padding),env(safe-area-inset-right)) max(var(--gallery-padding),env(safe-area-inset-bottom)) max(var(--gallery-padding),env(safe-area-inset-left));gap:16px;box-sizing:border-box;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain}
.hardware-dialog-header{display:flex;align-items:center;justify-content:space-between;gap:16px;border-bottom:1px solid #ffffff1c;padding:0 0 16px}
.hardware-dialog-eyebrow{font:10px/1.5 ui-monospace,monospace;letter-spacing:.12em;color:#c49d79}
.hardware-dialog .hardware-dialog-header h2,.mp-site .hardware-dialog .hardware-dialog-header h2{margin:6px 0 0;font-size:clamp(17px,2vw,25px);font-weight:500;line-height:1.4;letter-spacing:0}
.hardware-dialog-close,.hardware-dialog-navigation button{display:flex;align-items:center;justify-content:center;gap:8px;min-height:44px;min-width:44px;padding:8px 12px;border:1px solid #ffffff35;border-radius:6px;background:#ffffff04;color:#eee8e0;font-size:13px;line-height:1;cursor:pointer}
.hardware-dialog-close svg{height:18px;width:18px;stroke:currentColor;stroke-width:1.6;fill:none}
.hardware-dialog button:hover{border-color:#ffa160;background:#ff6b000e}
.hardware-dialog button:focus-visible{outline:2px solid #ffa160;outline-offset:3px}
.hardware-dialog-media{min-height:112px;min-width:0;display:flex;align-items:center;justify-content:center;overflow:hidden}
.hardware-dialog .hardware-dialog-media:focus-visible{outline:2px solid #ffa160;outline-offset:-3px}
.hardware-dialog-media img{display:block;width:100%;height:100%;object-fit:contain;max-height:100%}
.hardware-dialog-footer{display:flex;flex-direction:row;width:100%;max-width:none;justify-content:space-between;align-items:center;gap:20px;margin:0;padding:16px 0 0;border-top:1px solid #ffffff1c;background:transparent}
.hardware-dialog .hardware-dialog-footer p{margin:0;font-size:12px;line-height:1.8;color:#c4b5a7}
.hardware-dialog-footer p span{color:#a19d98;font-size:11px}
.hardware-dialog-navigation{display:flex;align-items:center;gap:16px;flex-shrink:0}
.hardware-dialog-navigation button{font-size:20px}
#hardware-dialog-count{font:12px/1.5 ui-monospace,monospace;color:#ffc296;min-width:56px;text-align:center}
.hardware-dialog .hardware-dialog-status{margin:0;color:#edc098;font-size:12px;line-height:1.7}
.hardware-dialog-status:empty{display:none}
.hardware-dialog .hardware-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);clip-path:inset(50%);white-space:nowrap;border:0}
.hardware-zoom-toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px 24px;flex-wrap:wrap}
.hardware-zoom-controls{display:flex;align-items:center;gap:8px}
.hardware-zoom-controls button{min-width:44px;min-height:44px;padding:8px 12px;border:1px solid #ffffff35;border-radius:6px;background:#ffffff04;color:#eee8e0;font-size:20px;line-height:1;cursor:pointer}
.hardware-zoom-controls #hardware-zoom-reset{font-size:12px}
.hardware-zoom-controls button:disabled{opacity:.35;cursor:default;border-color:#ffffff24;background:transparent}
#hardware-zoom-value{min-width:54px;text-align:center;font:12px/1.5 ui-monospace,monospace;color:#ffc296}
.hardware-dialog .hardware-zoom-toolbar>p{margin:0;font-size:12px;color:#a7a19b;line-height:1.5}
/* Help overlays the image without changing the fitted image's available height. */
#hardware-zoom-help{position:relative;z-index:2;flex:0 0 auto;margin:0 0 0 auto}
#hardware-zoom-help>summary{display:flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:8px 12px;border:1px solid #ffffff35;border-radius:6px;background:#ffffff04;color:#eee8e0;font-size:12px;line-height:1;list-style:none;cursor:pointer}
#hardware-zoom-help>summary::-webkit-details-marker{display:none}
#hardware-zoom-help>summary:after{content:"+";font-size:16px;line-height:1}
#hardware-zoom-help[open]>summary:after{content:"−"}
#hardware-zoom-help>summary:hover{border-color:#ffa160;background:#ff6b000e}
#hardware-zoom-help>summary:focus-visible{outline:2px solid #ffa160;outline-offset:3px}
#hardware-zoom-help>.hardware-help-panel{position:absolute;top:calc(100% + 8px);right:0;width:min(320px,calc(100vw - 32px));max-height:clamp(48px,calc(100dvh - 150px),240px);overflow:auto;margin:0;padding:14px 16px;border:1px solid #ffffff35;border-radius:6px;background:#18191c;box-shadow:0 10px 30px #0007;color:#eee8e0;font-size:12px;line-height:1.7;box-sizing:border-box}
#hardware-zoom-help .hardware-help-panel p{margin:0;font-size:12px;line-height:1.7;color:#eee8e0}
#hardware-zoom-help .hardware-help-panel p+p{margin-top:10px}
#hardware-zoom-help .hardware-help-panel .hardware-help-touch{display:none;margin:0}
@media(hover:none) and (pointer:coarse){
 #hardware-zoom-help .hardware-help-desktop{display:none}
 #hardware-zoom-help .hardware-help-panel .hardware-help-touch{display:block}
}
.hardware-dialog-media{touch-action:none;user-select:none;border-radius:6px;background:#0c0d0f}
.hardware-dialog-media.is-zoomed{cursor:grab}
.hardware-dialog-media.is-dragging{cursor:grabbing}
.hardware-dialog-media img{pointer-events:none;transform-origin:center;will-change:transform}
@media(max-width:700px){
 .hardware-exploration .hardware-heading{align-items:flex-start;gap:12px}
 .hardware-expand>img{aspect-ratio:16/9}
 .hardware-expand-label{bottom:10px;right:10px;font-size:11px;min-height:34px;padding:7px 9px}
 .hardware-exploration .hardware-stage figcaption{padding:12px 14px;min-height:60px;flex-wrap:wrap;gap:4px;font-size:11px}
 .hardware-exploration .hardware-stage figcaption>span:last-child{font-size:10px}
 .hardware-exploration .hardware-views .hardware-view-button{gap:6px;min-height:75px;padding:11px 6px;flex-direction:column}
 .hardware-exploration .hardware-view-icon{width:34px;height:25px}
 .hardware-exploration .hardware-views .hardware-view-button>span{text-align:center;font-size:11px;line-height:1.5}
 .hardware-exploration .hardware-views .hardware-view-button b{display:inline;margin:0 5px 0 0;font-size:9px}
 .hardware-dialog-shell{--gallery-padding:16px;gap:12px}
 .hardware-dialog-footer{align-items:flex-start;gap:12px;padding-top:12px;flex-wrap:wrap}
 .hardware-dialog .hardware-dialog-footer p{font-size:11px}
 .hardware-dialog-close{padding:8px;flex-shrink:0}
 .hardware-dialog-close span{display:none}
 .hardware-dialog-navigation{gap:10px}
}
/* Keep the image and every control usable in short landscape and enlarged text. */
@media(max-height:500px){
 .hardware-dialog-shell{--gallery-padding:8px;gap:8px}
 .hardware-dialog-header{gap:12px;padding-bottom:8px}
 .hardware-dialog .hardware-dialog-header h2,.mp-site .hardware-dialog .hardware-dialog-header h2{margin-top:3px;font-size:16px;line-height:1.3}
 .hardware-dialog-eyebrow{font-size:9px;line-height:1.3;letter-spacing:.08em}
 .hardware-zoom-toolbar{gap:8px 12px}
 .hardware-dialog .hardware-dialog-footer{gap:8px 16px;padding-top:8px;align-items:center}
 .hardware-dialog .hardware-dialog-footer p{font-size:11px;line-height:1.5}
 .hardware-dialog .hardware-dialog-footer p span{font-size:10px}
 .hardware-dialog-navigation{gap:8px}
 .hardware-dialog .hardware-dialog-status{font-size:11px;line-height:1.4}
}
@media(prefers-reduced-motion:reduce){.hardware-expand-label,.hardware-view-button{transition:none}}

/* Shared image treatment controls for the equipment and exploded structure. */
.visual-mode-switch{display:inline-flex;align-items:center;gap:4px;padding:4px;border:1px solid #d8b77c55;border-radius:8px;background:#151918}
.visual-mode-switch[hidden]{display:none}
.visual-mode-switch button,.ec-dialog header .visual-mode-switch button{width:auto;min-width:86px;min-height:40px;height:auto;padding:9px 18px;border:1px solid transparent;border-radius:5px;background:transparent;color:#c6bda9;font:inherit;font-size:13px;font-weight:500;line-height:1.4;cursor:pointer}
.visual-mode-switch button[aria-pressed=true],.ec-dialog header .visual-mode-switch button[aria-pressed=true]{background:#d8b77c;color:#211d15;border-color:#d8b77c}
.visual-mode-switch button:focus-visible{outline:2px solid #f4d8a3;outline-offset:3px}
.hardware-exploration>.visual-mode-switch{margin:0 0 16px}
.hardware-zoom-toolbar .visual-mode-switch{margin-right:auto}
@media(max-width:700px){.visual-mode-switch button,.ec-dialog header .visual-mode-switch button{min-width:76px;padding:9px 12px}.hardware-zoom-toolbar{gap:8px}.hardware-zoom-toolbar>.visual-mode-switch{order:-1;width:100%;justify-content:center}.hardware-zoom-controls{gap:4px}}
