/* Loaded after the legacy workbench rules.  The wrapper only repositions real controls. */
body[data-surface="home"] .screen{background:linear-gradient(145deg,#e7edf0 0%,#f8fafb 49%,#dfe9ed 100%)!important}
body[data-surface="home"] .exhibition-shell{--exhibit-panel:rgba(255,255,255,.91);position:absolute;inset:0;z-index:14;pointer-events:none;color:#263947;font-family:inherit}
body[data-surface="home"] .exhibition-shell :is(button,select,summary,a,input){pointer-events:auto}
body[data-surface="home"] .exhibition-shell button:disabled,body[data-surface="home"] .exhibition-shell select:disabled{opacity:.48;cursor:not-allowed}
body[data-surface="home"] .exhibition-shell [hidden],body[data-surface="home"] .energy-workbench .exhibition-advanced [hidden]{display:none!important}
body[data-surface="home"].exhibition-shell-mounted #inspector-toggle{display:none!important}
body[data-surface="home"] .exhibition-tourbar{position:absolute;top:72px;left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:5px;max-width:calc(100% - 460px);padding:6px 8px;border:1px solid #d6e0e5;border-radius:12px;background:var(--exhibit-panel);box-shadow:0 10px 30px rgba(53,80,98,.11);backdrop-filter:blur(12px);white-space:nowrap}
body[data-surface="home"] .exhibition-tour-label{font-size:10px;letter-spacing:.1em;color:#617887}
body[data-surface="home"] .exhibition-tourbar button,body[data-surface="home"] .exhibition-tourbar select,body[data-surface="home"] .exhibition-inspect{min-height:28px;border:0;border-radius:7px;background:#edf4f7;color:#345a70;font-size:11px;padding:5px 8px}
body[data-surface="home"] .exhibition-tourbar button[data-tour="start"]{background:#d8edf6;color:#1e607b}
body[data-surface="home"] .exhibition-tourbar label{font-size:10px;color:#657b89}
body[data-surface="home"] .exhibition-tourbar select{margin-left:4px;min-height:26px;background:#fff}
body[data-surface="home"] .exhibition-tour-progress{width:56px;height:3px;background:#dce6ea;border-radius:9px;overflow:hidden}
body[data-surface="home"] .exhibition-tour-progress i{display:block;height:100%;background:#6bb8d6;transition:width .2s ease}
body[data-surface="home"] .exhibition-tour-copy{max-width:160px;overflow:hidden;text-overflow:ellipsis;font-size:10px;color:#617887}
body[data-surface="home"] .exhibition-system-slot{position:absolute;left:20px;top:118px;width:190px;pointer-events:auto}
body[data-surface="home"] .exhibition-system-slot .side-left{position:static!important;inset:auto!important;width:auto!important;max-height:calc(100vh - 250px);overflow:auto;background:var(--exhibit-panel);border:1px solid #d8e2e6;border-radius:13px;padding:11px;box-shadow:0 12px 30px rgba(51,78,95,.11);backdrop-filter:blur(12px)}
body[data-surface="home"] .exhibition-system-slot .section-kicker{font-size:10px;color:#466b80}
body[data-surface="home"] .exhibition-system-slot .micro{font-size:8px;color:#81939c}
body[data-surface="home"] .exhibition-system-slot .focus-list{margin-top:7px;gap:3px}
body[data-surface="home"] .exhibition-system-slot .focus-button{min-height:32px;padding:5px 4px;border-radius:7px;font-size:10px}
body[data-surface="home"] .exhibition-system-slot .focus-copy small{font-size:7px}
body[data-surface="home"] .exhibition-right-rail{position:absolute;right:20px;top:104px;width:min(280px,22vw);min-width:0;pointer-events:auto}
body[data-surface="home"] .exhibition-card-slot .exhibit-card{position:static!important;inset:auto!important;display:block!important;width:auto!important;min-width:0!important;max-width:100%!important;box-sizing:border-box;max-height:260px;overflow:auto;padding:13px!important;background:var(--exhibit-panel)!important;border:1px solid #d8e2e6!important;border-radius:13px!important;box-shadow:0 12px 30px rgba(51,78,95,.11)!important;backdrop-filter:blur(12px)}
body[data-surface="home"] .exhibition-inspect{width:100%;margin-top:7px;background:#e0f1f8;color:#185a75}
body[data-surface="home"] .exhibition-resources,body[data-surface="home"] .energy-workbench .exhibition-advanced{position:absolute;pointer-events:auto;border:1px solid #d8e2e6;border-radius:10px;background:var(--exhibit-panel);box-shadow:0 8px 22px rgba(51,78,95,.09);backdrop-filter:blur(12px)}
body[data-surface="home"] .exhibition-resources{left:20px;bottom:114px;width:205px}
body[data-surface="home"] .energy-workbench .exhibition-advanced{right:20px;bottom:114px;width:min(290px,24vw)}
body[data-surface="home"] .exhibition-shell summary{padding:9px 11px;cursor:pointer;font-size:11px;color:#385f74;list-style:none}
body[data-surface="home"] .energy-workbench .exhibition-advanced>summary{padding:9px 11px;cursor:pointer;font-size:11px;color:#385f74;list-style:none}
body[data-surface="home"] .exhibition-shell summary::-webkit-details-marker{display:none}
body[data-surface="home"] .exhibition-shell summary::after{content:'＋';float:right;color:#6c8796}
body[data-surface="home"] .energy-workbench .exhibition-advanced>summary::after{content:'＋';float:right;color:#6c8796}
body[data-surface="home"] .exhibition-shell details[open] summary::after,body[data-surface="home"] .energy-workbench .exhibition-advanced[open]>summary::after{content:'−'}
body[data-surface="home"] .exhibition-resources-body,body[data-surface="home"] .exhibition-advanced-body{max-height:min(34vh,330px);overflow:auto;padding:0 11px 11px}
body[data-surface="home"] details.nev-home-resources{border:1px solid #d8e2e6;border-radius:10px;background:rgba(255,255,255,.91);box-shadow:0 8px 22px rgba(51,78,95,.09)}
body[data-surface="home"] details.nev-home-resources summary{padding:8px 10px;color:#385f74;font-size:11px;cursor:pointer}
body[data-surface="home"] .exhibition-resources-body :is(.system-learning-actions,.energy-course-links){display:grid!important;grid-template-columns:1fr 1fr;gap:5px;margin:0 0 7px}
body[data-surface="home"] .exhibition-resources-body :is(a,button){min-height:30px;font-size:10px}
body[data-surface="home"] .exhibition-advanced-body :is(.energy-history-panel,.energy-reveal-controls,.energy-battery-story){position:static!important;width:auto!important;max-height:none!important;margin:0 0 9px!important}
body[data-surface="home"] .exhibition-advanced-body .energy-history-panel{padding:7px!important}
body[data-surface="home"] .exhibition-advanced-body .energy-battery-story{white-space:normal!important}
body[data-surface="home"] .exhibition-advanced-body .explode-row,body[data-surface="home"] .exhibition-advanced-body .section-row{display:flex!important;position:static!important;margin:7px 0!important}
body[data-surface="home"].arrival-playing .exhibition-shell{display:none}
@media (min-width:1500px){body[data-surface="home"] .exhibition-system-slot{left:2.2vw;top:14vh;width:245px}body[data-surface="home"] .exhibition-right-rail{right:2.2vw;top:13vh;width:300px}body[data-surface="home"] .exhibition-resources{left:2.2vw;bottom:13vh;width:245px}body[data-surface="home"] .energy-workbench .exhibition-advanced{right:2.2vw;bottom:13vh;width:320px}}
@media (min-width:701px) and (max-width:1100px){body[data-surface="home"] .exhibition-system-slot{left:12px;top:120px;width:120px}body[data-surface="home"] .exhibition-system-slot .side-left{padding:7px}body[data-surface="home"] .exhibition-system-slot .focus-button{min-height:29px;padding:4px 2px;align-items:center}body[data-surface="home"] .exhibition-system-slot .focus-no,body[data-surface="home"] .exhibition-system-slot .focus-arr,body[data-surface="home"] .exhibition-system-slot .micro{display:none}body[data-surface="home"] .exhibition-system-slot .focus-copy strong{font-size:9px;line-height:1.05;white-space:normal}body[data-surface="home"] .exhibition-system-slot .focus-copy small{font-size:6px;line-height:1.05;white-space:normal}body[data-surface="home"] .exhibition-right-rail{right:12px;top:112px;width:180px}body[data-surface="home"] .exhibition-card-slot .exhibit-card{padding:9px!important}body[data-surface="home"] .exhibition-card-slot .exhibit-card :is(h2,p){overflow-wrap:anywhere}body[data-surface="home"] .exhibition-tourbar{max-width:calc(100% - 330px)}body[data-surface="home"] .exhibition-resources{left:12px;bottom:118px;width:160px}body[data-surface="home"] .energy-workbench .exhibition-advanced{right:12px;bottom:118px;width:210px}}
@media (max-width:700px){body[data-surface="home"] .exhibition-shell{position:relative;display:grid;grid-template-columns:1fr;gap:8px;padding:8px 12px;inset:auto}body[data-surface="home"] .exhibition-tourbar,body[data-surface="home"] .exhibition-system-slot,body[data-surface="home"] .exhibition-right-rail,body[data-surface="home"] .exhibition-resources{position:static;transform:none;width:auto;max-width:none}body[data-surface="home"] .energy-workbench .exhibition-advanced{position:static;width:auto;max-width:none;margin:8px 12px}body[data-surface="home"] .exhibition-tourbar{flex-wrap:wrap;justify-content:center;order:0}body[data-surface="home"] .exhibition-system-slot{order:1}body[data-surface="home"] .exhibition-right-rail{order:2}body[data-surface="home"] .exhibition-resources{order:3}body[data-surface="home"] .exhibition-system-slot .side-left{max-height:none}body[data-surface="home"] .exhibition-system-slot .focus-list{display:grid;grid-template-columns:1fr 1fr}body[data-surface="home"] .exhibition-right-rail{display:grid;grid-template-columns:1fr;gap:4px}body[data-surface="home"] .exhibition-resources-body,body[data-surface="home"] .exhibition-advanced-body{max-height:none}}
/* Keep the exhibition narration legible from a presentation screen. */
body[data-surface="home"] .exhibition-tour-copy{position:absolute;top:calc(100% + 12px);left:50%;transform:translateX(-50%);width:700px;max-width:64vw;max-height:50px;white-space:normal;overflow:hidden;text-align:center;font-size:13px;line-height:1.65;color:#466273;text-wrap:balance;pointer-events:none}
body[data-surface="home"] .exhibition-shell[data-tour="idle"][data-tour-reason=""] .exhibition-tour-copy{display:none}
@media(min-width:1500px){body[data-surface="home"] .exhibition-system-slot .focus-button{font-size:13px;min-height:38px}body[data-surface="home"] .exhibition-tourbar button,body[data-surface="home"] .exhibition-tourbar select,body[data-surface="home"] .exhibition-inspect{font-size:12px;min-height:32px}body[data-surface="home"] .exhibition-tour-copy{font-size:14px}}
@media(max-width:700px){body[data-surface="home"] .exhibition-tour-copy{position:static;transform:none;flex-basis:100%;width:auto;max-width:100%;font-size:12px}}
body[data-surface="home"] .exhibition-system-slot .side-left{max-height:calc(100vh - 380px)!important}
body[data-surface="home"][data-teaching-mode="energy"] .exhibition-right-rail{top:235px}
@media(max-width:1100px) and (min-width:701px){body[data-surface="home"][data-teaching-mode="energy"] .exhibition-right-rail{top:250px}}
@media(max-width:700px){body[data-surface="home"] .exhibition-system-slot .side-left{max-height:none!important}}
body[data-surface="home"].exhibition-shell-mounted:not(.portal-home) .exhibition-card-slot .exhibit-caption.exhibit-card{width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box}
body[data-surface="home"].exhibition-shell-mounted #hero-canvas:focus{outline:1px solid rgba(61,110,145,.24);outline-offset:3px}
@media(max-width:1100px) and (min-width:701px){body[data-surface="home"] .exhibition-tourbar{left:45%}body[data-surface="home"] .exhibition-tour-copy{max-width:calc(100vw - 470px);font-size:12px}}
body[data-surface="home"] #home-asset-list{display:grid;gap:5px;padding-top:8px}
body[data-surface="home"] #home-asset-list button{display:block;width:100%;border:1px solid #d6e1e7;border-radius:8px;background:#f5f8fa;text-align:left;color:#385369;line-height:1.5;padding:7px 9px;cursor:pointer;white-space:normal}
body[data-surface="home"] #home-asset-list button:hover{background:#e5eff5;border-color:#97b9cc}
body[data-surface="home"] .professional-map button.domain-card{font:inherit;text-align:left;cursor:pointer}
body[data-surface="home"]:not(.portal-home) .professional-map .domain-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
body[data-surface="home"] .professional-map .domain-card{background:#eef3f6;color:#2d4657;border:1px solid #d8e3e9;padding:18px;border-radius:12px}
body[data-surface="home"] .professional-map .domain-card p{font-size:12px;line-height:1.7;color:#627b8d;margin:8px 0 0}
@media(max-width:600px){body[data-surface="home"]:not(.portal-home) .professional-map .domain-grid{grid-template-columns:1fr}}
