:root{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#29333a;background:#ffffff;color-scheme:light;--text:#29333a;--muted:#63717a;--line:#e3e6e2;--accent:#245953;--accent-soft:#edf5f3;--surface:#fff}
*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button{color:inherit;cursor:pointer;border:0}a{color:inherit;text-decoration:none}button,input,a,summary{-webkit-tap-highlight-color:transparent}button,a,summary{touch-action:manipulation}button:focus-visible,a:focus-visible,input:focus-visible,summary:focus-visible,select:focus-visible{outline:2px solid var(--accent);outline-offset:4px}button:disabled{cursor:default}svg{display:block}button svg,.search-wrap svg,.scene-footer svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}[hidden]{display:none!important}summary{list-style:none;cursor:pointer}summary::-webkit-details-marker{display:none}.skip-link{position:fixed;top:8px;left:16px;padding:12px 16px;border-radius:6px;background:var(--accent);color:#fff;z-index:100;transform:translateY(-160%)}.skip-link:focus{transform:translateY(0)}
/* A quiet frame; the model remains the main subject. */
.topbar{min-height:80px;padding:0 32px;display:flex;align-items:center;gap:28px;border-bottom:1px solid var(--line);background:#ffffff}.brand{display:flex;align-items:center;gap:11px;flex-shrink:0}.brand-symbol{display:grid;place-items:center;width:38px;height:38px;border-radius:11px;color:var(--accent);background:#ffffff}.brand-symbol svg{width:29px;height:29px;fill:none;stroke:currentColor;stroke-width:2.1;stroke-linecap:round}.brand-symbol circle{fill:currentColor;stroke:none}.brand-wordmark{font-size:21px;font-weight:650;letter-spacing:-.8px;line-height:1.1}.brand-wordmark>span{font-weight:400;color:#5f6d77}.brand small{display:block;margin-top:5px;color:var(--muted);font-size:10px;font-weight:400;letter-spacing:.15px}.header-note{font-size:12px;color:#646d73;border-left:1px solid #dce1dc;padding-left:25px}.header-actions{margin-left:auto;display:flex;align-items:center;gap:10px}.lab-launch,.tour-button{display:flex;align-items:center;justify-content:center;gap:8px;min-height:40px;padding:9px 14px;border-radius:8px;background:transparent;font-size:12px;font-weight:500;white-space:nowrap}.lab-launch{color:#5a676f}.tour-button{border:1px solid #d6dedf;color:var(--accent);background:#fff}.lab-launch:hover,.tour-button:hover{background:var(--accent-soft)}.mobile-label{display:none}
.workspace{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:24px;max-width:1680px;margin:0 auto;padding:26px 28px;align-items:start}.viewer-column{min-width:0}.scene-panel{border:1px solid #dde2de;border-radius:15px;background:var(--surface)}.view-toolbar{min-height:64px;padding:10px 18px;display:flex;align-items:center;justify-content:space-between;gap:12px}.mode-tabs{display:flex;align-items:center;gap:4px;padding:3px;border-radius:8px;background:#f1f3f0}.mode-tabs button{min-height:35px;padding:8px 15px;border-radius:6px;background:transparent;color:#626d74;font-size:12px;white-space:nowrap}.mode-tabs button.active{color:#245953;background:#fff;box-shadow:0 1px 4px #263c4510}.mode-tabs button:hover:not(.active){color:var(--text)}.small-icon{display:grid;place-items:center;width:38px;height:38px;padding:0;border-radius:7px;background:transparent;color:#626e73}.small-icon:hover{background:#f1f3f0;color:var(--accent)}
.viewport{height:clamp(390px,calc(100dvh - 342px),750px);min-height:390px;position:relative;overflow:hidden;isolation:isolate;background:#ffffff}.viewport canvas{position:absolute;inset:0;width:100%;height:100%;display:block;touch-action:none;outline:none}.scene-heading{position:absolute;top:26px;left:28px;z-index:1;pointer-events:none}.eyebrow{font-size:10px;color:#626d72;letter-spacing:1.5px;margin:0 0 12px;font-weight:500}.scene-heading .eyebrow{font-size:9px;letter-spacing:1.8px}.scene-heading h1{margin:0;font-size:32px;letter-spacing:-1px;font-weight:550;line-height:1.2}.scene-heading h1 span{margin-left:7px;font-size:16px;font-weight:400;letter-spacing:-.2px;color:#666d72}.scene-subtitle{margin:10px 0 0;font-size:12px;color:#626e75;line-height:1.6}.scene-badge{position:absolute;top:30px;right:27px;display:flex;gap:7px;align-items:center;color:#606e77;font-size:11px;z-index:2}.scene-badge i{width:5px;height:5px;border-radius:50%;background:#7899aa}.scene-footer{position:absolute;left:26px;bottom:21px;display:flex;align-items:center;gap:7px;color:#626d72;font-size:10px;pointer-events:none;z-index:2}.scene-footer svg{width:15px;height:15px}.mobile-help{display:none}.camera-presets{position:absolute;right:22px;bottom:17px;display:flex;padding:3px;border-radius:8px;border:1px solid #dee3df;background:#fffffff0;z-index:3}.camera-presets button{min-width:35px;min-height:32px;padding:6px 9px;border-radius:5px;background:transparent;color:#626e75;font-size:11px}.camera-presets button:hover,.camera-presets button.active{color:var(--accent);background:var(--accent-soft)}
.model-controls{min-height:66px;display:flex;align-items:center;gap:13px;padding:12px 18px;border-top:1px solid var(--line)}.check-label{display:inline-flex;align-items:center;gap:8px;font-size:12px;color:#616d76;cursor:pointer;position:relative;white-space:nowrap;min-height:36px}.check-label input{position:absolute;width:18px;height:18px;opacity:0;left:0;margin:0}.check-mark{display:block;position:relative;width:15px;height:15px;border:1px solid #a8b4b9;border-radius:4px;pointer-events:none;background:#fff}.check-label input:checked+.check-mark{background:var(--accent);border-color:var(--accent)}.check-label input:checked+.check-mark:after{content:'';width:7px;height:4px;border-left:1.5px solid #fff;border-bottom:1.5px solid #fff;position:absolute;left:3px;top:3px;transform:rotate(-45deg)}.check-label input:focus-visible+.check-mark{outline:2px solid var(--accent);outline-offset:4px}.power-button,.settings-toggle{display:flex;align-items:center;justify-content:center;gap:7px;font-size:12px;min-height:38px;padding:8px 11px;border-radius:7px;background:transparent;color:#5c6b74;white-space:nowrap}.power-button{margin-left:auto}.power-button>span{font-size:18px;line-height:1}.power-button:hover,.settings-toggle:hover{background:#f1f4f3}.power-button[aria-pressed=true]{color:var(--accent);background:var(--accent-soft)}.settings-toggle{border:1px solid #e0e5e1}.settings-toggle[aria-expanded=true]{color:var(--accent);background:var(--accent-soft);border-color:#c9dcd5}.settings-toggle .chevron{width:12px;height:12px;margin-left:3px;transition:transform .18s}.settings-toggle[aria-expanded=true] .chevron{transform:rotate(180deg)}.mobile-library-link{display:none}
.view-settings{padding:19px 22px 6px;border-top:1px solid var(--line);background:#ffffff;border-radius:0 0 15px 15px}.explode-label{display:flex;gap:20px;align-items:center;color:#5c6b73;font-size:12px}.explode-label>span{white-space:nowrap}.explode-label input{flex:1;min-width:50px;max-width:440px}.explode-label output{font-size:11px;color:#626e73;min-width:32px;font-variant-numeric:tabular-nums}input[type=range]{appearance:none;-webkit-appearance:none;height:4px;border-radius:6px;background:#d4dddf;accent-color:var(--accent);cursor:pointer}input[type=range]::-webkit-slider-thumb{appearance:none;-webkit-appearance:none;background:var(--accent);border:3px solid #fff;width:18px;height:18px;border-radius:50%;box-shadow:0 0 0 1px #a3c0b6}input[type=range]::-moz-range-thumb{width:12px;height:12px;background:var(--accent);border:3px solid #fff;border-radius:50%;box-shadow:0 0 0 1px #a3c0b6}.workbench-strip{display:flex;align-items:center;flex-wrap:wrap;gap:8px 20px;padding-top:14px;margin-top:17px;border-top:1px solid var(--line);position:relative}.workbench-strip>button{min-height:40px;background:transparent;color:var(--accent);font-size:12px;padding:5px 0}.workbench-strip>button:last-child{margin-left:auto}.workbench-strip>button:disabled{color:#a0a9ab}.removed-parts{font-size:11px;color:#636d73}.removed-parts summary{min-height:40px;display:flex;gap:7px;align-items:center}.removed-list{position:absolute;left:0;right:0;top:calc(100% + 2px);z-index:12;padding:12px;max-height:260px;overflow:auto;background:#fff;border:1px solid #d9e0df;border-radius:10px;box-shadow:0 8px 24px #30445412}.removed-list p{margin:8px;font-size:12px}.removed-list button{display:flex;align-items:center;justify-content:space-between;gap:14px;width:100%;min-height:44px;padding:9px;border-bottom:1px solid var(--line);font-size:12px;text-align:left;background:#fff}.removed-list button:hover{background:#f6f8f5}.removed-list button>span{color:var(--accent);font-size:11px;white-space:nowrap}
.power-map{margin-top:15px;border:1px solid var(--line);border-radius:10px;background:#ffffff}.power-map>summary{display:flex;align-items:center;justify-content:space-between;gap:15px;min-height:47px;padding:12px 18px;font-size:12px;color:#616d73}.disclosure-plus{font-weight:400;font-size:18px;line-height:1;color:#646d70;transition:transform .18s}details[open]>summary>.disclosure-plus{transform:rotate(45deg)}.power-flow{padding:0 18px 17px}.flow-note{margin:0 0 10px;color:#626e73;font-size:11px;line-height:1.6}.flow-steps{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.flow-steps button{font-size:12px;background:transparent;color:#5c6a74;padding:8px 0;min-height:36px}.flow-steps>span{color:#676d71;font-size:12px}.flow-steps button.active{color:var(--accent);text-decoration:underline;text-underline-offset:5px}.power-flow.playing .flow-steps>span{color:var(--accent);animation:flow-pulse 1.1s ease-in-out infinite}.power-flow.playing .flow-steps>span:nth-of-type(2){animation-delay:.15s}.power-flow.playing .flow-steps>span:nth-of-type(3){animation-delay:.3s}.power-flow.playing .flow-steps>span:nth-of-type(4){animation-delay:.45s}.power-flow.playing .flow-steps>span:nth-of-type(5){animation-delay:.6s}@keyframes flow-pulse{0%,100%{opacity:.3}50%{opacity:1}}.model-caption{text-align:center;color:#676e71;font-size:10px;margin:15px 0 0;line-height:1.5}
/* The job is always visible; location and inspection tools are disclosures. */
.sidebar{min-width:0;padding:24px 22px 22px;border:1px solid var(--line);border-radius:15px;background:#fff;max-height:calc(100dvh - 132px);overflow-y:auto;scrollbar-width:thin;scrollbar-color:#cdd5d5 transparent;scroll-margin-top:20px}.sidebar-intro h2{font-size:21px;letter-spacing:-.6px;font-weight:550;display:flex;align-items:center;justify-content:space-between;gap:15px;margin:0 0 9px}.sidebar-intro h2>span{border-radius:6px;padding:4px 7px;background:#f0f3f1;color:#616d73;font-size:11px;font-weight:400;letter-spacing:0}.sidebar-intro p{font-size:13px;line-height:1.6;color:#636d73;margin:0 0 19px}.search-wrap{display:flex;align-items:center;gap:10px;height:43px;padding:0 12px;background:#ffffff;border:1px solid #e0e5e0;border-radius:8px;color:#646c70}.search-wrap svg{width:16px;height:16px}.search-wrap input{min-width:0;width:100%;height:100%;background:transparent;border:0;outline:none;color:var(--text);font-size:13px}.search-wrap input::placeholder{color:#666d71}.search-wrap:focus-within{border-color:#839fab;box-shadow:0 0 0 2px #2459530a}.search-wrap input:focus-visible{outline:none}.search-wrap kbd{font-family:inherit;font-size:10px;padding:2px 5px;border:1px solid #e1e5e1;border-radius:3px;color:#666d6e}.category-scroll{display:flex;flex-wrap:wrap;gap:6px;margin:14px 0 22px}.category-scroll button{min-height:30px;padding:6px 10px;border-radius:6px;background:transparent;color:#636d74;font-size:11px;white-space:nowrap}.category-scroll button:hover{background:#f4f6f3;color:#4e626e}.category-scroll button.active{background:var(--accent-soft);color:var(--accent);font-weight:500}
.part-card{padding:21px 17px 6px;border:1px solid #dfe5e4;border-radius:10px;background:#ffffff;scroll-margin-top:20px}.part-meta{display:flex;justify-content:space-between;align-items:center;gap:12px;color:#616d71;font-size:9px;letter-spacing:1px}.part-meta>span:last-child{color:#666e71;font-size:10px;font-variant-numeric:tabular-nums;letter-spacing:0}.part-card h3{font-size:27px;font-weight:550;line-height:1.2;letter-spacing:-.85px;margin:15px 0 6px}.part-alias{font-size:12px;color:#636c70;line-height:1.6;margin:0}.part-job{font-size:14px;line-height:1.85;color:#606c74;margin:17px 0 18px}.part-actions{display:flex;gap:8px;margin-bottom:17px}.part-actions button{display:flex;align-items:center;justify-content:space-between;gap:9px;min-height:40px;padding:10px 12px;border-radius:7px;font-size:12px;background:var(--accent);color:#fff;flex:1;white-space:nowrap}.part-actions button:hover{background:#1b4641}.part-actions button+button{background:#fff;border:1px solid #d8e1e3;color:#5b6e7d;flex:0}.part-actions button+button:hover{background:#eef3f5}.part-details,.part-tools{border-top:1px solid var(--line)}.part-details>summary,.part-tools>summary{display:flex;justify-content:space-between;align-items:center;gap:12px;min-height:43px;color:#606d73;font-size:11px}.part-location{padding:9px 0 0}.part-location small{display:block;color:#606e73;font-size:11px;margin-bottom:6px}.part-location p{font-size:12px;line-height:1.8;color:#596b76;margin:0}.part-related{font-size:11px;line-height:1.9;color:#606d72;margin:11px 0 16px}.part-related button{font-size:11px;color:var(--accent);padding:3px 0;background:transparent;text-decoration:underline;text-decoration-color:#c9d8e1;text-underline-offset:3px}.part-workbench{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;padding:4px 0 12px}.part-workbench button{min-height:40px;padding:8px 10px;border-radius:7px;background:#f0f4f4;color:#547084;font-size:11px}.part-workbench button[aria-pressed=true]{color:#fff;background:var(--accent)}.part-workbench button:last-child{color:#716b68;background:#f1f1ed}.part-engine-lesson{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:42px;padding:10px 0;border-top:1px solid var(--line);background:transparent;color:var(--accent);width:100%;font-size:12px}
.library-list{margin-top:24px}.list-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-bottom:12px;font-size:11px;letter-spacing:.15px;color:#616e74;min-height:32px}.list-heading>span:last-child{font-size:10px;color:#656d70;letter-spacing:0}.list-heading:after{content:'⌄';font-size:13px;margin-left:-3px}.library-list:not([open]) .list-heading:after{transform:rotate(-90deg)}.list-heading>span:first-child{margin-right:auto}.part-list{display:flex;flex-direction:column;gap:2px}.part-item{display:flex;align-items:center;gap:10px;min-height:44px;padding:10px 9px;border-radius:7px;text-align:left;background:transparent;color:#606f78}.part-item:hover{background:#f4f6f3}.part-item.selected{background:#edf5f3;color:#245953}.part-index{font-size:10px;color:#666e72;min-width:17px;font-variant-numeric:tabular-nums}.part-item.selected .part-index{color:#59707f}.part-item-name{font-size:13px;line-height:1.5;flex:1}.part-item-cat{font-size:9px;color:#636c70;white-space:nowrap}.part-item.part-removed .part-item-name{color:#646c6e;text-decoration:line-through;text-decoration-color:#b6bfbe}.part-item.part-removed .part-item-cat{color:#786a57}.empty-search{font-size:13px;color:var(--muted);line-height:1.8;padding:8px;margin:0}.model-info{border-top:1px solid var(--line);margin-top:25px;padding-top:6px;color:#636d71}.model-info summary{display:flex;justify-content:space-between;align-items:center;gap:12px;min-height:43px;font-size:11px}.model-info p,.model-info a{font-size:11px;line-height:1.9;margin:10px 0}.model-info a{display:block;color:#556e7f;text-decoration:underline;text-underline-offset:3px}
/* Model annotations and contextual overlays. */
.pins{position:absolute;inset:0;pointer-events:none;z-index:2}.pin{position:absolute;top:0;left:0;transform:translate(-50%,-50%);display:flex;align-items:center;gap:7px;min-height:31px;padding:7px 10px;border-radius:6px;border:1px solid #d5dfe2;background:#fffffff0;color:#5b6d79;font-size:11px;line-height:1;white-space:nowrap;pointer-events:auto;box-shadow:0 2px 7px #2b424509}.pin i{height:5px;width:5px;border-radius:50%;background:#8ba8b9}.pin:hover,.pin.selected{color:var(--accent);border-color:#98b9ac;background:#fff}.pin.selected i{background:var(--accent)}.loading{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:17px;z-index:5;background:#ffffff;color:#626d73;font-size:12px}.loading-ring{width:30px;height:30px;border:2px solid #d8e0df;border-top-color:#6e8ba0;border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.isolate-bar{position:absolute;top:22px;left:23px;right:23px;max-width:440px;display:flex;align-items:center;justify-content:space-between;gap:14px;z-index:5;padding:11px 14px;border:1px solid #cfdce3;border-radius:8px;background:#fffffff0}.isolate-bar>span{color:#596d7b;font-size:11px;line-height:1.6}.isolate-bar>button{min-height:32px;font-size:12px;white-space:nowrap;background:transparent;color:var(--accent)}.viewport.isolating .scene-heading,.viewport.isolating .scene-badge{display:none}
.tour-card{position:absolute;left:23px;bottom:70px;width:300px;z-index:6;background:#fffffff7;border:1px solid #cfdbe1;border-radius:12px;padding:18px;box-shadow:0 8px 30px #243e491a}.tour-top{display:flex;justify-content:space-between;align-items:center;font-size:10px;color:#5f6d76;letter-spacing:1px}.tour-top button{background:transparent;color:#606d73;font-size:23px;width:28px;height:28px}.tour-progress{display:flex;gap:4px;margin:8px 0 17px}.tour-progress span{height:2px;background:#e4e9e7;flex:1;border-radius:2px}.tour-progress span.done{background:#7d9aac}.tour-card h2{font-size:18px;line-height:1.4;font-weight:550;letter-spacing:-.4px;margin:0 0 8px}.tour-card p{color:#606c75;font-size:12px;line-height:1.8;margin:0 0 14px}.tour-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid var(--line);padding-top:9px}.tour-actions button{font-size:12px;color:var(--accent);background:transparent;min-height:33px;padding:5px 0}.tour-actions button:disabled{color:#b6bfc3}.toast{position:fixed;bottom:22px;left:50%;transform:translateX(-50%);z-index:50;padding:13px 19px;border-radius:10px;border:1px solid #dbe3e2;background:#fff;color:#547084;font-size:13px;line-height:1.7;max-width:90%;box-shadow:0 8px 30px #293c4a1c}.fallback-plan{position:absolute;inset:20% 3% 15%;width:94%;height:65%;z-index:0}.fallback-plan [data-fallback-part]{cursor:pointer}.fallback-plan [data-fallback-part]:hover{filter:brightness(1.1)}.mobile-peek{display:none}
/* The existing motor lesson, in the same restrained palette. */
.engine-lab{--phase-color:#7ccfe5;width:min(1070px,calc(100% - 40px));max-width:none;max-height:94dvh;padding:0;border:1px solid #dce3df;border-radius:17px;background:#fff;color:var(--text);box-shadow:0 25px 90px #273d4b26;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#c5d0d3 transparent}.engine-lab::backdrop{background:#22343e66;backdrop-filter:blur(4px)}.lab-header{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding:27px 30px 24px;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:4;background:#fffffff5;backdrop-filter:blur(8px)}.lab-header .eyebrow{font-size:10px;margin:0 0 10px}.lab-header h2{font-size:29px;font-weight:550;letter-spacing:-.9px;margin:0 0 9px}.lab-header>div>p:last-child{font-size:13px;line-height:1.6;color:#626d73;margin:0}.lab-close{display:grid;place-items:center;flex-shrink:0;width:36px;height:36px;border-radius:8px;background:#f1f4f1;color:#626f75;font-size:26px;line-height:1}.lab-close:hover{background:#e8eeef}.engine-lab-grid{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:28px;padding:27px 30px 30px}.engine-cutaway{min-width:0;background:#f4f6f4;border:1px solid #e0e6e1;border-radius:12px;padding:18px;overflow:hidden}.cutaway-top{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 2px 10px;color:#576f7f;font-size:10px;letter-spacing:1.1px}.cutaway-top>span:last-child{font-variant-numeric:tabular-nums;font-size:13px;letter-spacing:0;color:#626d73}#engine-diagram svg{display:block;width:100%;height:auto;max-height:410px;overflow:visible;font-family:inherit}.engine-playback{display:flex;align-items:center;gap:7px;padding:14px 0 18px;border-top:1px solid #dce4e0}.engine-playback button{min-height:37px;padding:9px 10px;border-radius:6px;background:#e8eeef;color:#596e7c;font-size:12px}.engine-playback button:first-child{min-width:125px;background:var(--accent);color:#fff;font-size:12px}.engine-playback button:not(:first-child){width:33px;padding:7px;font-size:17px}.engine-playback label{display:flex;align-items:center;gap:6px;margin-left:auto;font-size:11px;color:#5f6e76}.engine-playback select{color:#576f7f;background:#fff;border:1px solid #d3dfe0;border-radius:6px;padding:6px 2px;font-size:12px;min-height:35px;cursor:pointer}.crank-scrubber{padding:0 2px}.crank-scrubber label{display:flex;justify-content:space-between;gap:12px;font-size:11px;color:#5f6e76}.crank-scrubber output{font-variant-numeric:tabular-nums;color:#586e7e}.crank-scrubber input{display:block;width:100%;margin:19px 0 14px}.crank-scrubber>div{display:flex;justify-content:space-between;font-size:10px;color:#636d70}.engine-lesson{min-width:0;display:flex;flex-direction:column}.stroke-buttons{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:0 0 28px}.stroke-buttons button{display:flex;align-items:center;gap:9px;min-width:0;min-height:44px;padding:12px;border:1px solid #e1e6e3;border-radius:7px;background:#fff;color:#606d74}.stroke-buttons button>span{color:#636d73;font-size:10px}.stroke-buttons strong{font-size:12px;font-weight:500;white-space:nowrap}.stroke-buttons button.active{color:var(--accent);background:#edf3f5;border-color:#98b9ac}.stroke-explanation .eyebrow{font-size:9px}.stroke-explanation h3{font-size:23px;font-weight:500;line-height:1.4;letter-spacing:-.5px;margin:11px 0 12px}.stroke-explanation p{font-size:13px;line-height:1.9;color:#5e6d74;margin:0 0 24px;min-height:72px}.engine-readings{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding-top:21px;border-top:1px solid var(--line)}.engine-readings>div{padding:12px 0}.engine-readings span{display:block;font-size:11px;color:#626d73;margin-bottom:8px}.engine-readings strong{display:block;font-size:15px;color:#586f7f;font-weight:500}.engine-readings strong.open{color:#487460}.engine-readings strong.igniting{color:#8d6220}.cycle-key{margin:18px 0 22px;padding:14px 16px;border-radius:8px;background:#f3f6f2;color:#606f63;font-size:12px;line-height:1.9}.cycle-key strong{font-weight:500;color:#54715e}.engine-model-note{margin-top:auto;padding-top:5px;border-top:1px solid var(--line);color:#626e73;font-size:11px}.engine-model-note summary{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:40px}.engine-model-note p,.engine-model-note a{font-size:11px;line-height:1.9;margin:11px 0}.engine-model-note a{color:#576f7f;text-decoration:underline;text-underline-offset:3px;display:block}
@media(min-width:1600px){.workspace{grid-template-columns:minmax(0,1fr) 390px;gap:28px;padding-top:32px}.sidebar{padding:27px}.part-job{font-size:14px}}
@media(max-width:1120px) and (min-width:821px){.topbar{padding:0 24px}.header-note{display:none}.workspace{grid-template-columns:minmax(0,1fr) 330px;gap:18px;padding:22px 20px}.sidebar{padding:22px 18px}.model-controls{gap:4px;padding:11px 12px}.check-label,.power-button,.settings-toggle{font-size:11px}.settings-toggle{gap:5px;padding:8px}.scene-footer{bottom:65px;font-size:10px;left:23px}.camera-presets{right:20px;bottom:17px}.scene-heading{left:23px}.scene-badge{top:31px;right:22px;font-size:10px}}
@media(max-width:820px){
.topbar{min-height:66px;padding:0 16px;gap:12px}.brand{gap:8px}.brand-symbol{width:31px;height:31px;border-radius:8px}.brand-symbol svg{width:24px;height:24px}.brand-wordmark{font-size:18px;letter-spacing:-.75px}.brand small,.header-note,.desktop-label{display:none}.mobile-label{display:inline}.header-actions{gap:5px}.lab-launch,.tour-button{font-size:11px;min-height:36px;padding:7px 9px;gap:5px}.lab-launch svg,.tour-button svg{width:15px;height:15px}.workspace{display:flex;flex-direction:column;gap:24px;padding:14px 14px 28px;max-width:720px}.viewer-column,.sidebar{width:100%}.scene-panel{border-radius:12px}.view-toolbar{min-height:58px;padding:8px 10px;gap:8px}.mode-tabs{gap:1px}.mode-tabs button{padding:8px 11px;font-size:12px;min-height:34px}.small-icon{width:32px;height:34px}.viewport{height:390px;min-height:0}.scene-heading{left:20px;top:23px}.scene-heading .eyebrow{font-size:8px;letter-spacing:1.4px;margin-bottom:10px}.scene-heading h1{font-size:28px}.scene-heading h1 span{font-size:14px}.scene-subtitle{font-size:12px;margin-top:9px}.scene-badge{top:27px;right:18px;font-size:9px;gap:5px}.scene-badge i{width:4px;height:4px}.scene-footer{left:18px;bottom:64px;font-size:10px;gap:5px}.scene-footer svg{width:12px;height:12px}.desktop-help{display:none}.mobile-help{display:inline}.camera-presets{bottom:13px;right:16px;left:16px;padding:2px;justify-content:space-between;border-radius:7px}.camera-presets button{flex:1;min-height:34px;font-size:12px;padding:5px 7px}
.model-controls{display:grid;grid-template-columns:1fr 1fr;gap:3px 8px;padding:10px 12px}.check-label{order:3;font-size:12px;min-height:40px;padding-left:8px}.check-label input{left:8px}.power-button{order:1;margin:0;min-height:40px;justify-content:flex-start;padding-left:8px;font-size:12px}.settings-toggle{order:2;min-height:38px;padding:7px 8px;font-size:11px;gap:5px}.settings-toggle>svg{width:15px;height:15px}.settings-toggle .chevron{width:10px;margin-left:auto}.mobile-library-link{display:flex;order:4;align-items:center;justify-content:space-between;min-height:40px;padding:8px;font-size:11px;color:#5a6d7b}.mobile-library-link>span{font-size:14px}.view-settings{padding:20px 16px 7px;border-radius:0 0 12px 12px}.explode-label{font-size:12px;gap:14px}.workbench-strip{gap:0 15px;padding-top:10px;margin-top:20px}.workbench-strip>button,.removed-parts{font-size:11px}.workbench-strip>button:last-child{margin-left:0}.removed-list{top:100%}.power-map{margin-top:12px}.power-map>summary{min-height:47px;padding:12px 16px;font-size:11px}.power-flow{padding:0 16px 14px}.flow-steps{gap:8px}.flow-steps button{font-size:11px}.model-caption{font-size:10px;margin:13px 0 0}
.sidebar{padding:23px 20px;max-height:none;overflow:visible;border-radius:12px;scroll-margin-top:15px}.sidebar-intro h2{font-size:23px}.sidebar-intro p{font-size:13px}.search-wrap{height:46px}.search-wrap input{font-size:16px}.search-wrap kbd{display:none}.category-scroll{margin:14px 0 22px;gap:5px}.category-scroll button{font-size:12px;min-height:36px;padding:8px 10px}.part-card{padding:22px 18px 8px;scroll-margin-top:20px}.part-meta{font-size:10px}.part-card h3{font-size:28px}.part-alias{font-size:12px}.part-job{font-size:14px;line-height:1.85}.part-actions button{min-height:43px;font-size:12px}.part-details>summary,.part-tools>summary{min-height:47px;font-size:12px}.part-location p{font-size:13px}.part-related,.part-related button{font-size:12px}.part-workbench button{min-height:43px;font-size:12px}.part-engine-lesson{min-height:47px;font-size:13px}.library-list{margin-top:28px}.list-heading{font-size:12px}.part-item{min-height:49px;gap:12px}.part-item-name{font-size:14px}.part-item-cat{font-size:10px}.part-index{font-size:11px}.model-info summary{min-height:46px;font-size:12px}.model-info p,.model-info a{font-size:12px}.pin{font-size:10px;min-height:31px;padding:7px 9px}.isolate-bar{left:15px;right:15px;top:20px;padding:9px 11px;gap:8px}.isolate-bar>span{font-size:10px;letter-spacing:0}.isolate-bar>button{font-size:11px}.tour-card{left:15px;right:15px;bottom:64px;width:auto;max-width:340px;margin:0 auto;padding:16px}.tour-card h2{font-size:18px}.tour-card p{font-size:12px;line-height:1.7}.tour-top button{min-width:30px;height:30px}.tour-actions button{min-height:36px}
.mobile-peek:not([hidden]){display:block;position:fixed;left:12px;right:12px;bottom:max(12px,env(safe-area-inset-bottom));max-width:520px;margin:auto;z-index:18;padding:15px 18px;border:1px solid #cbdce4;border-radius:12px;background:#fffffff7;box-shadow:0 8px 36px #273d4b26;backdrop-filter:blur(8px)}.peek-heading{display:flex;justify-content:space-between;align-items:center;gap:15px;color:#5e6d79;font-size:10px}.peek-heading button{width:28px;height:28px;font-size:25px;color:#626d72;background:transparent}.mobile-peek>strong{display:block;margin:3px 0 8px;font-size:21px;letter-spacing:-.5px;font-weight:550}.mobile-peek>p{color:#5e6d76;font-size:12px;line-height:1.8;margin:0 0 12px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.peek-actions{display:flex;align-items:center;justify-content:space-between;gap:15px;border-top:1px solid var(--line);padding-top:7px}.peek-actions button{min-height:37px;background:transparent;color:var(--accent);font-size:12px;padding:4px 0}
.engine-lab{width:calc(100% - 16px);max-height:96dvh;border-radius:13px}.lab-header{padding:20px 18px 18px;gap:10px}.lab-header .eyebrow{font-size:9px}.lab-header h2{font-size:23px;letter-spacing:-.7px}.lab-header>div>p:last-child{font-size:12px}.lab-close{width:32px;height:34px;font-size:23px}.engine-lab-grid{grid-template-columns:minmax(0,1fr);gap:20px;padding:18px}.engine-lesson{display:contents}.stroke-buttons{grid-row:1;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;margin:0}.stroke-buttons button{display:block;padding:9px 7px;min-height:55px;text-align:left}.stroke-buttons button>span{display:block;margin-bottom:7px;font-size:9px}.stroke-buttons strong{display:block;font-size:10px}.engine-cutaway{grid-row:2;padding:14px 12px}.cutaway-top{font-size:9px}#engine-diagram svg{max-height:330px}.engine-playback{gap:5px;padding:12px 0 17px}.engine-playback button:first-child{min-width:104px;padding:9px 7px;font-size:11px}.engine-playback button:not(:first-child){width:29px;padding:5px;font-size:16px}.engine-playback label{gap:4px;font-size:10px}.engine-playback select{font-size:11px;padding:5px 0}.crank-scrubber label{font-size:10px}.crank-scrubber>div{font-size:9px}.stroke-explanation h3{font-size:23px;margin-top:11px}.stroke-explanation p{min-height:0;margin-bottom:0;font-size:14px;line-height:1.85}.engine-readings{padding-top:16px;gap:9px}.engine-readings strong{font-size:15px}.cycle-key{margin:0;font-size:13px}.engine-model-note{margin:0}.engine-model-note p,.engine-model-note a{font-size:12px}
}
@media(max-width:360px){.topbar{padding:0 12px;gap:8px}.brand-symbol{width:27px;height:29px}.brand-wordmark{font-size:17px}.header-actions{gap:3px}.lab-launch,.tour-button{padding:7px;font-size:10px}.workspace{padding:12px 10px 24px}.mode-tabs button{padding:8px 9px}.sidebar{padding:22px 17px}.viewport{height:380px}.scene-badge{font-size:8px}.engine-lab-grid{padding:14px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}

/* Selected CarGuideLab identity: white and petrol green. */
.brand-symbol{position:relative;overflow:hidden;width:44px;height:48px;flex-shrink:0;background:#fff;border-radius:0}.brand-symbol img{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:60px;height:60px;max-width:none;object-fit:contain}.brand-wordmark>span{color:#245953}.tour-button,.lab-launch svg,.settings-toggle svg,.power-button>span,.scene-badge,.scene-footer svg,.part-item.selected,.part-related button,.part-engine-lesson{color:var(--accent)}.scene-badge i,.pin.selected i,.tour-progress span.done{background:var(--accent)}.part-actions button+button{color:var(--accent)}.part-item.selected{background:#edf5f3}.model-controls{border-radius:0 0 15px 15px}.model-controls:has(+.view-settings:not([hidden])){border-radius:0}.stroke-buttons button.active{background:#edf5f3;color:var(--accent)}
@media(max-width:820px){.brand-symbol{width:34px;height:40px}.brand-symbol img{width:50px;height:50px}.model-controls{border-radius:0 0 12px 12px}}
@media(max-width:360px){.brand-symbol{width:29px;height:36px}.brand-symbol img{width:45px;height:45px}}
