:root{color-scheme:dark;font-family:'Instrument Sans',system-ui,sans-serif;color:#f7f7f5;background:#050505;font-synthesis:none;--muted:#8d8d91;--line:#ffffff24;--mono:'JetBrains Mono',monospace}
*{box-sizing:border-box}body{margin:0}button,input,a{-webkit-tap-highlight-color:transparent}button,a,input{touch-action:manipulation}button,input{font:inherit}button,a{color:inherit}button{cursor:pointer}a{text-decoration:none}button:disabled{cursor:wait;opacity:.4}button{border:0}button:focus-visible,a:focus-visible,input:focus-visible{outline:2px solid #fff;outline-offset:5px}button svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.3;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}[hidden]{display:none!important}.landing-page{height:100vh;height:100dvh;overflow:hidden}.landing{height:100%;position:relative;isolation:isolate;overflow:hidden;background:radial-gradient(ellipse at 62% 48%,#17191a 0%,#090909 36%,#050505 69%)}.crown-canvas{position:absolute;inset:0;z-index:1;touch-action:none}.crown-canvas canvas{display:block;width:100%;height:100%;outline-offset:-4px}.landing-header{position:absolute;top:0;left:0;right:0;display:flex;align-items:center;justify-content:space-between;gap:24px;padding:25px 32px;z-index:5}.brand{font-size:27px;line-height:1;letter-spacing:-1.4px;font-weight:700;display:inline-flex;gap:7px;align-items:center}.brand span{font-weight:400;font-size:24px;letter-spacing:-1.1px;border-left:1px solid #ffffff6b;padding-left:9px}.landing-header nav{display:flex;align-items:center;gap:30px;font-size:13px}.landing-header nav a{color:#c7c7ca}.landing-header nav a:hover{color:#fff}.landing-header nav a span{padding-left:9px}.landing-header .login-link{border:1px solid #ffffff35;border-radius:30px;padding:10px 17px;color:#fff}.hero{position:absolute;top:21%;left:5%;z-index:2;max-width:460px;pointer-events:none;outline:none}.eyebrow{font-size:13px;font-weight:400;letter-spacing:.025em;display:flex;align-items:center;gap:10px;margin:0 0 21px;color:#c4c4c6}.eyebrow>span{width:5px;height:5px;border-radius:50%;background:currentColor}.hero h1{font-weight:500;font-size:clamp(46px,5.7vw,86px);letter-spacing:-.065em;line-height:.99;margin:0}.hero-note{font-size:14px;color:#909095;margin:24px 0 0;letter-spacing:-.01em}.enrollment{position:absolute;left:5%;bottom:17%;z-index:3;display:grid;gap:15px}.price{display:flex;gap:10px;align-items:baseline;margin:0}.price-amount{font-size:30px;line-height:1;font-weight:500;letter-spacing:-1px}.price-unit{color:#9a9a9d;font-size:12px}.course-cta{display:flex;align-items:center;justify-content:space-between;gap:28px;border-radius:28px;background:#f6f6f3;color:#101010;padding:14px 20px;font-size:14px;font-weight:600;transition:background .2s}.course-cta:hover{background:#d7d7d4}.course-cta span{font-size:17px}.enrollment-detail{color:#86868c;font-size:11px;padding-left:2px}.enrollment-detail:hover{color:#fff}.scene-controls{position:absolute;z-index:3;right:30px;top:31%;display:grid;gap:24px;justify-items:center}.lighting-controls{display:grid;border:1px solid var(--line);border-radius:13px;padding:5px;gap:3px;background:#0c0c0c99}.lighting-controls button{background:transparent;display:flex;flex-direction:column;gap:8px;align-items:center;justify-content:center;border-radius:8px;padding:12px 8px;color:#929297;font-size:10px;min-width:65px;min-height:65px}.lighting-controls button[aria-pressed=true]{background:#ffffff14;color:#fff}.lighting-controls button:hover{background:#ffffff1c;color:#fff}.view-controls{display:grid;gap:5px}.view-controls button{font-size:11px;padding:9px 5px;min-height:34px;background:none;color:#77777f}.view-controls button:hover,.view-controls button[aria-pressed=true]{color:#fff}.workbench{position:absolute;z-index:4;bottom:47px;left:50%;transform:translateX(-50%);display:grid;justify-items:center;gap:12px;max-width:calc(100% - 30px)}.tool-bar{display:flex;align-items:center;border:1px solid #ffffff26;border-radius:15px;background:#141414ed;padding:6px;box-shadow:0 8px 40px #0008;gap:3px}.tool-bar button{min-height:45px;display:flex;align-items:center;justify-content:center;gap:9px;background:none;border-radius:9px;padding:10px 13px;color:#a4a4aa;font-size:12px;white-space:nowrap}.tool-bar button:hover{color:#fff;background:#ffffff0e}.tool-bar button[aria-pressed=true]{color:#111;background:#f3f3f0}.tool-bar kbd{font:11px var(--mono);color:inherit;opacity:.6}.tool-bar .orbit-tool{padding-inline:12px}.tool-bar .orbit-tool svg{width:20px}.tool-bar .orbit-tool span,.tool-bar .reset-tool span{display:none}.tool-divider{width:1px;height:23px;background:var(--line);margin-inline:3px}.viewer-hint{font-size:11px;line-height:1.45;color:#84848b;margin:0;text-align:center;min-height:16px}.tool-options{border:1px solid #ffffff28;border-radius:10px;background:#161616ed;padding:12px 16px;max-width:100%;box-shadow:0 5px 25px #0005}.option-row{display:flex;align-items:center;gap:12px;font-size:12px}.option-row input{width:155px;height:18px;accent-color:#fff;cursor:pointer}.option-row label{font-size:11px;color:#bebec1}.option-row output{font:10px var(--mono);color:#b8b8bf;min-width:38px;text-align:right}.option-row .range-end{color:#85858a;font-size:13px}.brush-modes{display:flex;gap:4px;border-right:1px solid var(--line);padding-right:12px}.brush-modes button{font-size:11px;background:none;padding:7px;color:#81818a;border-radius:4px}.brush-modes button[aria-pressed=true]{color:#fff;background:#ffffff12}.model-caption{position:absolute;right:16%;bottom:25%;display:flex;align-items:start;gap:17px;z-index:2;pointer-events:none;color:#909095;font:10px/1.8 var(--mono);letter-spacing:.035em}.caption-cross{font-size:19px;font-weight:400;color:#777;line-height:1}.model-caption small{font:11px 'Instrument Sans',sans-serif;color:#63636a;letter-spacing:0}.viewer-atmosphere{position:absolute;inset:0;pointer-events:none;overflow:hidden;z-index:0}.ghost{position:absolute;font:10px var(--mono);letter-spacing:.22em;color:#ffffff1c}.ghost-one{left:57%;top:17%}.ghost-two{left:43%;top:64%}.ghost-three{right:15%;top:22%}.orbit-mark{position:absolute;width:440px;height:440px;border:1px solid #ffffff05;border-radius:50%;left:62%;top:50%;transform:translate(-50%,-50%)}.orbit-mark:before,.orbit-mark:after{content:'';position:absolute;background:#ffffff0d}.orbit-mark:before{width:1px;height:14px;top:-7px;left:50%}.orbit-mark:after{height:1px;width:14px;top:50%;right:-7px}.landing-footer{position:absolute;z-index:4;left:32px;right:32px;bottom:20px;display:flex;justify-content:space-between;gap:20px;color:#69696e;font-size:10px}.landing-footer nav{display:flex;gap:18px}.landing-footer a:hover{color:#fff}.footer-separator{padding-inline:9px}.skip-link{position:absolute;left:20px;top:-100px;z-index:100;background:#fff;color:#000;padding:12px;border-radius:5px}.skip-link:focus{top:10px}.viewer-error{position:absolute;left:60%;top:46%;transform:translate(-50%,-50%);z-index:6;width:min(340px,80%);background:#161616;border:1px solid #ffffff30;padding:24px;border-radius:12px;line-height:1.5;font-size:14px}.viewer-error p{margin:0 0 18px}.viewer-error button{color:#111;background:#fff;border-radius:5px;padding:9px 12px;margin-bottom:14px}.viewer-error a{display:block;text-decoration:underline;font-size:12px}
/* Consent stays accessible inside the same monochrome canvas. */
.landing-page #cookie-banner{left:auto!important;right:20px!important;bottom:20px!important;width:min(390px,calc(100vw - 40px));background:#181818!important;color:#d1d1d4!important;border-color:#424242!important;border-radius:12px!important;font:12px/1.55 'Instrument Sans',sans-serif!important;box-shadow:0 10px 50px #0009!important}.landing-page #cookie-banner a{color:#fff!important}.landing-page #cookie-banner button{font-size:11px!important;min-height:38px}.landing-page #cookie-accept{background:#f5f5f3!important;color:#111!important}.landing-page #cookie-reject{color:#fff!important;background:transparent!important;border-color:#666!important}
@media(min-width:1600px){.hero{left:7%}.enrollment{left:7%;bottom:21%}.workbench{bottom:65px}.landing-header{padding:30px 42px}.landing-footer{left:42px;right:42px;bottom:25px}}
@media(max-width:1050px) and (min-width:701px){.hero{left:4%;top:23%;max-width:330px}.hero h1{font-size:57px}.enrollment{left:4%}.scene-controls{right:20px}.model-caption{right:15%;bottom:26%}.hero-note{font-size:12px}}
@media(max-width:700px){.landing-header{padding:20px}.brand{font-size:23px}.brand span{font-size:21px}.landing-header nav{gap:18px;font-size:11px}.landing-header nav a span{display:none}.landing-header .login-link{padding:8px 12px}.hero{top:93px;left:24px;right:24px;max-width:none}.eyebrow{font-size:11px;margin-bottom:12px}.hero h1{font-size:clamp(37px,9vw,52px);line-height:1.02;letter-spacing:-.05em}.hero h1 br{display:none}.hero-note{font-size:12px;margin-top:12px}.landing{background:radial-gradient(ellipse at 50% 48%,#1a1b1c 0%,#090909 36%,#050505 70%)}.scene-controls{right:16px;top:33%;gap:10px}.lighting-controls{padding:3px;border-radius:10px}.lighting-controls button{min-width:45px;min-height:47px;padding:7px 4px;gap:5px;font-size:8px}.lighting-controls button svg{width:16px;height:16px}.view-controls{gap:0}.view-controls button{font-size:9px;padding:6px 2px;min-height:31px}.enrollment{left:24px;right:24px;bottom:166px;grid-template-columns:1fr auto;align-items:center;gap:6px 18px}.price{display:grid;gap:4px}.price-amount{font-size:27px}.price-unit{font-size:10px}.course-cta{font-size:12px;gap:16px;padding:12px 17px}.enrollment-detail{grid-column:2;justify-self:center;font-size:9px;padding:0}.workbench{bottom:48px;gap:10px;max-width:calc(100% - 24px);width:max-content}.tool-bar{gap:1px;padding:5px;border-radius:12px}.tool-bar button{font-size:10px;min-height:43px;gap:5px;padding:9px 10px;flex-direction:column}.tool-bar kbd{font-size:9px}.tool-bar .orbit-tool{padding-inline:9px}.tool-divider{margin-inline:2px}.tool-bar .reset-tool{padding-inline:9px}.tool-bar svg{width:17px;height:17px}.viewer-hint{font-size:10px;max-width:300px}.tool-options{padding:9px 12px}.option-row{gap:8px}.option-row input{width:130px}.option-row output{min-width:31px}.brush-modes{padding-right:7px}.brush-modes button{padding:6px;font-size:10px}.model-caption{left:24px;right:auto;bottom:33%;font-size:8px;gap:10px}.model-caption small{display:none}.caption-cross{font-size:14px}.ghost-one{top:27%;left:24px;font-size:8px}.ghost-two{left:19%;top:57%;font-size:8px}.ghost-three{display:none}.orbit-mark{width:280px;height:280px;left:50%;top:47%}.landing-footer{left:20px;right:20px;bottom:15px;font-size:8px;gap:10px}.landing-footer nav{gap:12px}.footer-separator{padding-inline:4px}.viewer-error{left:50%;top:45%;font-size:12px;padding:16px}.landing-page #cookie-banner{right:12px!important;bottom:12px!important;width:calc(100vw - 24px);max-width:none!important}}
@media(max-width:380px){.landing-header{padding-inline:16px}.landing-header nav{gap:13px}.brand{font-size:21px}.brand span{font-size:19px}.hero{left:20px;right:20px}.hero h1{font-size:38px}.enrollment{left:20px;right:20px;gap:6px 12px}.course-cta{padding:12px 14px;font-size:11px}.tool-bar button{padding-inline:8px}.tool-options{padding-inline:9px}.option-row input{width:105px}.landing-footer>span{max-width:130px}.landing-footer nav{gap:10px}}
@media(max-height:720px) and (max-width:700px){.hero{top:82px}.hero h1{font-size:36px}.hero-note{display:none}.eyebrow{margin-bottom:9px}.enrollment{bottom:142px}.workbench{bottom:37px}.landing-footer{bottom:11px}.model-caption{bottom:34%;font-size:7px}.scene-controls{top:31%}.tool-options{padding-block:6px}.workbench{gap:7px}.ghost-one{top:27%}}
@media(max-height:580px) and (min-width:701px){.hero{top:23%}.hero h1{font-size:45px}.hero-note{display:none}.enrollment{bottom:21%;gap:9px}.price-amount{font-size:24px}.course-cta{padding:10px 17px}.workbench{bottom:34px}.scene-controls{top:22%;gap:10px}.landing-footer{bottom:11px}.model-caption{display:none}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important}}
.tool-options{position:absolute;z-index:4;left:50%;bottom:145px;transform:translateX(-50%);max-width:calc(100% - 24px)}
@media(max-width:700px){.tool-options{top:202px;bottom:auto}.tool-bar button,.view-controls button{min-height:44px}.tool-bar .orbit-tool,.tool-bar .reset-tool{min-width:44px}.scene-controls{right:12px}.model-caption{bottom:30%;opacity:.65}}
@media(max-width:700px) and (max-height:720px){.tool-options{top:155px}.scene-controls{top:205px;gap:3px}.view-controls{position:absolute;right:0;top:calc(100% + 5px);display:flex;background:#101010b3;border:1px solid var(--line);border-radius:7px}.view-controls button{min-height:44px;min-width:44px;padding-inline:6px}.model-caption{display:none}}
@media(max-width:700px){.option-row input{flex:1;min-width:50px}.brush-modes button{min-height:34px}}
@media(max-width:340px){.hero h1{font-size:31px}.tool-bar button{padding-inline:7px}.landing-header nav{gap:10px}}
.tool-options .option-row input{width:100px}.tool-options .option-row label{white-space:nowrap}.viewer-hint{max-width:560px}
@media(max-width:700px){.tool-options{width:calc(100% - 32px);padding:9px 12px}.tool-options .option-row{display:grid;grid-template-columns:auto minmax(45px,1fr) 33px;gap:7px 10px}.tool-options .option-row input{width:100%;min-width:0;margin:0}.brush-modes{grid-column:1 / -1;border:0;padding:0;justify-content:center}.brush-modes button{min-height:26px;padding-block:3px}.tool-options:has(.brush-modes:not([hidden])){top:185px}.viewer-hint{max-width:310px;font-size:9px;line-height:1.4}}
@media(max-width:700px){.tool-options .option-row:has(.brush-modes:not([hidden])){grid-template-columns:55px auto minmax(35px,1fr) 33px}.brush-modes{grid-column:1;grid-row:1 / 3;display:grid;gap:2px;border-right:1px solid var(--line);padding-right:7px}.brush-modes button{min-height:25px}}
@media(max-width:700px) and (max-height:720px){.tool-options,.tool-options:has(.brush-modes:not([hidden])){top:150px}.scene-controls{top:228px}.view-controls{top:0;right:calc(100% + 7px);display:grid}.view-controls button{min-height:35px}.workbench{bottom:38px}}
.enrollment{gap:12px}.enrollment .price{display:flex;align-items:baseline;gap:7px}.price-from{font-size:12px;color:#b3b3b8}.promotion{margin:0;font-size:11px;line-height:1.5;color:#96969d;max-width:245px}.course-cta{min-width:225px}.mesh-panel{position:absolute;z-index:5;right:28px;top:100px;width:184px;background:#121212eb;border:1px solid var(--line);border-radius:10px;font-size:11px}.mesh-panel summary{padding:12px;cursor:pointer;list-style:none;display:flex;justify-content:space-between;align-items:center}.mesh-panel summary::-webkit-details-marker{display:none}.mesh-panel[open] summary{border-bottom:1px solid var(--line)}.mesh-panel[open] summary span{transform:rotate(45deg)}.mesh-list{padding:8px 10px}.mesh-row{display:grid;grid-template-columns:1fr 48px;align-items:center;gap:7px;min-height:33px}.mesh-row label{display:flex;align-items:center;gap:6px;white-space:nowrap;cursor:pointer;font-size:10px}.mesh-row input[type=checkbox]{accent-color:#fff;margin:0}.mesh-row input[type=range]{width:48px;accent-color:#eee;margin:0}.mesh-list p{font-size:8px;line-height:1.5;color:#8d8d94;margin:8px 0 2px}.scene-controls{top:330px;right:28px}.scene-controls .lighting-controls{display:flex}.scene-controls .lighting-controls button{min-width:60px;min-height:56px}.scene-controls .view-controls{display:flex;gap:8px}.model-caption{bottom:24%;right:17%}
@media(max-width:1050px) and (min-width:701px){.mesh-panel{width:168px;right:20px}.scene-controls{right:20px}.hero h1{font-size:52px}.enrollment{bottom:18%}}
@media(max-width:700px){.mesh-panel{left:18px;right:auto;top:224px;width:90px}.mesh-panel[open]{width:224px;z-index:8}.mesh-panel summary{padding:9px 11px}.mesh-row{grid-template-columns:1fr 80px;min-height:34px}.mesh-row input[type=range]{width:80px}.mesh-panel:not([open]) .mesh-list{display:none}.scene-controls{top:280px;right:12px}.scene-controls .lighting-controls{display:grid}.scene-controls .lighting-controls button{min-width:45px;min-height:47px}.scene-controls .view-controls{display:grid;gap:0}.enrollment{left:24px;right:24px;bottom:159px;display:flex;flex-direction:column;align-items:center;gap:8px}.enrollment .course-cta{width:100%;min-width:0;max-width:340px;justify-content:center;position:relative;padding:11px 17px;min-height:42px}.course-cta span{position:absolute;right:18px}.enrollment .price-amount{font-size:22px}.enrollment .price-from,.enrollment .price-unit{font-size:10px}.promotion{font-size:9px;max-width:none;text-align:center}.model-caption{display:none}}
@media(max-width:700px) and (max-height:720px){.mesh-panel{top:226px;left:16px}.scene-controls{top:226px}.scene-controls .view-controls{right:calc(100% + 7px);top:0}.enrollment{bottom:132px;gap:6px}.enrollment .course-cta{min-height:36px;padding-block:8px}.promotion{font-size:8px}.enrollment .price-amount{font-size:20px}.enrollment .price-unit,.enrollment .price-from{font-size:9px}}

/* Minimal PROCA R teaching workspace. */
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.hero{top:85px;left:30px;right:auto;max-width:none}.hero .eyebrow{margin:0;font-size:12px}.online-dot{background:#beffd7!important;box-shadow:0 0 7px #91ffc9,0 0 18px #72ffb580;width:6px!important;height:6px!important}
.workbench{top:20px;bottom:auto;gap:0;z-index:6}.tool-bar{border-radius:10px;padding:4px;background:#151515d9;box-shadow:none}.tool-bar button{min-height:35px;padding:8px 12px;font-size:11px}.tool-bar .reset-tool{padding:8px;min-width:32px}.tool-bar .reset-tool svg{width:17px}
.viewer-hint{position:fixed;bottom:27px;left:50%;transform:translateX(-50%);max-width:390px;font-size:9px;pointer-events:none}.tool-options{top:77px;bottom:auto;padding:10px 12px;z-index:7}.tool-options .option-row input{width:80px}
.scene-controls{top:130px;right:28px;gap:0}.scene-controls .lighting-controls{display:flex;flex-direction:column;border-radius:10px}.scene-controls .lighting-controls button{min-width:48px;min-height:48px;padding:9px 7px;font-size:9px}
.enrollment{bottom:78px;left:30px;right:auto;display:grid;gap:9px;align-items:start}.enrollment .course-cta{min-width:190px;width:190px;min-height:36px;padding:10px 16px;font-size:12px}.enrollment .price{justify-content:flex-start}.enrollment .price-amount{font-size:27px}.promotion{font-size:10px;max-width:245px;text-align:left}.course-cta span{position:static}
.landing-footer{left:30px;right:30px;font-size:9px}.landing-footer>span{max-width:250px;line-height:1.6}.ghost-two{left:23%;top:52%}.orbit-mark{left:53%}
@media(max-width:1100px){.workbench{top:76px}.hero{top:94px}.tool-options{top:130px}.viewer-hint{bottom:66px;max-width:280px}.scene-controls{top:160px}}
@media(max-width:700px){.landing-header{padding:18px}.landing-header nav{gap:13px;font-size:10px}.hero{top:63px;left:20px}.hero .eyebrow{font-size:10px}.workbench{top:98px;max-width:calc(100% - 32px)}.tool-bar button{display:flex;flex-direction:row;min-height:36px;padding:7px 10px;gap:6px}.tool-bar .reset-tool{min-width:32px}.tool-options,.tool-options:has(.brush-modes:not([hidden])){top:145px;width:calc(100% - 40px);max-width:340px}.scene-controls{top:205px;right:14px}.scene-controls .lighting-controls button{min-width:40px;min-height:44px}.enrollment{left:20px;bottom:72px;right:auto;gap:6px}.enrollment .course-cta{min-width:155px;width:155px;justify-content:space-between;min-height:34px}.enrollment .price-amount{font-size:23px}.enrollment .price-unit,.enrollment .price-from{font-size:9px}.promotion{font-size:8px;max-width:240px}.viewer-hint{bottom:183px;width:calc(100vw - 40px);max-width:330px;font-size:8px}.landing-footer{left:20px;right:20px;bottom:14px;display:grid;gap:5px;font-size:8px}.landing-footer>span{max-width:none}.landing-footer nav{gap:15px}.ghost{display:none}}

.landing-footer>span{max-width:360px}
.enrollment{grid-template-columns:1fr}.enrollment .course-cta,.enrollment .price,.enrollment .promotion{grid-column:1}
.viewer-hint{z-index:3}@media(max-width:700px) and (max-height:720px){.viewer-hint{display:none}}

/* Paired centrals: selection and object transforms. */
.workbench{top:74px;max-width:calc(100% - 40px)}.tool-bar{gap:1px}.tool-bar button{padding:8px 10px}.tool-options{top:130px}.hero{top:32px;left:195px}.transform-panel{position:absolute;z-index:7;left:50%;top:128px;transform:translateX(-50%);padding:9px 12px;background:#111e;border:1px solid #ffffff25;border-radius:10px;width:310px}.tooth-select{display:flex;gap:6px;margin-bottom:8px}.tooth-select button{flex:1;border-radius:5px;background:none;color:#aaa;padding:5px;font-size:10px}.tooth-select button[aria-pressed=true]{background:#ffffff17;color:#fff}.xyz-controls{display:flex;gap:8px}.xyz-controls>div{display:flex;align-items:center;gap:4px;min-width:0}.xyz-controls button{background:none;font-size:11px;padding:4px;color:#aaa;border-radius:3px}.xyz-controls button[aria-pressed=true]{background:#ffffff20;color:#fff}.xyz-controls input{width:64px;min-width:0;background:#080808;color:#ddd;border:1px solid #ffffff25;border-radius:4px;padding:4px;font:11px var(--mono)}.transform-panel p{font-size:9px;color:#999;margin:8px 0 0}.scene-controls{top:140px}
@media(max-width:1100px){.hero{top:32px;left:190px}.tool-options{top:130px}.transform-panel{top:128px}}
@media(max-width:700px){.hero{top:63px;left:20px}.workbench{top:96px;max-width:calc(100% - 28px);width:380px}.tool-bar{flex-wrap:wrap;justify-content:center}.tool-bar button{min-height:30px;padding:6px 8px;font-size:10px}.transform-panel{top:187px;width:284px}.xyz-controls input{width:57px}.tool-options,.tool-options:has(.brush-modes:not([hidden])){top:185px}.scene-controls{top:285px;right:10px}.viewer-hint{display:none}}

/* Compact, icon-only workspace. */
.workbench{left:20px;top:105px;bottom:auto;transform:none;width:88px;max-width:none;display:block}.tool-bar{display:grid;grid-template-columns:1fr 1fr;gap:2px;padding:4px;border-radius:9px}.tool-bar button{position:relative;min-width:0;min-height:34px;padding:7px;gap:0}.tool-bar button svg{width:19px;height:19px}.tool-bar kbd{position:absolute;right:3px;bottom:2px;font-size:7px;line-height:1}.axis-mini{display:flex;justify-content:space-between;margin:6px 0;padding:3px;background:#101010c9;border:1px solid #ffffff20;border-radius:5px}.axis-mini button{background:none;font:9px var(--mono);color:#999;padding:5px}.axis-mini button[aria-pressed=true]{color:white;background:#ffffff18;border-radius:3px}.mesh-mini{margin-top:9px;border:1px solid #ffffff20;background:#101010c9;border-radius:7px;overflow:hidden}.mesh-mini>div{display:grid;grid-template-columns:22px 1fr 1fr;align-items:center;padding:2px;border-left:2px solid transparent;min-height:26px}.mesh-mini>div.selected{border-left-color:#eee;background:#ffffff14}.mesh-mini span{font:9px var(--mono);color:#aaa;text-align:center}.mesh-mini button{background:none;color:#555;padding:4px;height:25px}.mesh-mini button[aria-pressed=true]{color:#ddd}.mesh-mini svg{width:14px;height:14px}.scene-controls{top:108px;right:20px;gap:12px}.lighting-controls button span{display:none}.scene-controls .lighting-controls button{min-width:38px;min-height:39px;padding:6px;position:relative}.scene-controls kbd{font:7px var(--mono);position:absolute;bottom:2px;right:3px}.finish-controls{display:grid;gap:3px;padding:4px;border:1px solid #ffffff24;border-radius:9px;background:#101010bd}.finish-controls button{position:relative;background:none;border-radius:6px;padding:8px;min-width:38px;min-height:38px}.finish-controls button[aria-pressed=true]{background:#ffffff18}.swatch{display:block;width:21px;height:21px;border-radius:50%;border:1px solid #ffffff20}.swatch.plaster{background:#cbbb99}.swatch.gray{background:radial-gradient(circle at 32% 28%,#fff,#afb3b8 32%,#4d5156)}.tool-options,.tool-options:has(.brush-modes:not([hidden])){left:120px;top:110px;bottom:auto;transform:none;max-width:300px;padding:8px}.tool-options label{font-size:0}.tool-options label[for=brush-size]:before{content:'◯';font-size:12px}.tool-options label[for=brush-strength]:before{content:'◐';font-size:12px}.viewer-hint{display:none}.enrollment{left:20px}.hero{left:195px;top:32px}
@media(max-width:700px){.hero{left:20px;top:63px}.workbench{left:10px;top:98px;width:72px;max-width:none}.tool-bar{gap:0;padding:2px}.tool-bar button{min-height:30px;padding:6px}.tool-bar button svg{width:16px;height:16px}.mesh-mini>div{grid-template-columns:18px 1fr 1fr;min-height:25px}.mesh-mini button{padding:3px}.mesh-mini svg{width:12px;height:12px}.scene-controls{right:10px;top:100px;gap:7px}.scene-controls .lighting-controls button{min-width:30px;min-height:32px}.finish-controls button{min-width:30px;min-height:31px;padding:5px}.swatch{width:18px;height:18px}.tool-options,.tool-options:has(.brush-modes:not([hidden])){top:105px;left:90px;width:calc(100% - 142px);max-width:245px;padding:8px}.tool-options .option-row:has(.brush-modes:not([hidden])){grid-template-columns:22px auto minmax(30px,1fr) 28px}.option-row output{min-width:26px}.brush-modes{padding-right:4px}.enrollment{left:16px;bottom:73px}.enrollment .course-cta{width:140px;min-width:140px}}
@media(max-width:700px) and (max-height:650px){.workbench{top:88px}.mesh-mini{margin-top:4px}.mesh-mini>div{min-height:20px;height:20px}.mesh-mini button{height:20px}.tool-bar button{min-height:25px}.axis-mini{margin:4px 0}.enrollment{bottom:55px;gap:4px}.enrollment .course-cta{width:128px;min-width:128px;min-height:29px}.enrollment .price-amount{font-size:19px}.landing-footer{bottom:8px}}

.viewer-hint.export-status{display:block;position:fixed;bottom:64px;left:50%;transform:translateX(-50%);padding:9px 12px;background:#181818;border:1px solid #444;border-radius:8px;max-width:280px;z-index:20;color:#eee}

.mesh-dock{position:absolute;right:20px;top:218px;z-index:6;width:48px;background:#101010db;border:1px solid #ffffff25;border-radius:8px;padding:4px}.mesh-dock button{background:none;color:#666;width:100%;font:10px var(--mono);padding:8px 4px;border-radius:4px}.mesh-dock button[aria-pressed=true]{color:#eee}.mesh-dock button.selected{background:#ffffff16}.mesh-dock button:hover{background:#ffffff12}#mesh-menu-toggle{color:#bbb;padding:4px}#mesh-material{position:absolute;right:58px;top:0;width:205px;padding:14px;background:#151515f5;border:1px solid #ffffff30;border-radius:8px;color:#bbb;font:11px system-ui;display:grid;gap:12px}#mesh-material label{display:flex;justify-content:space-between;align-items:center;gap:12px}#mesh-material input[type=range]{width:105px;accent-color:#ddd}#mesh-material input[type=color]{width:40px;height:24px;padding:0;border:0;background:none}#material-wire{border:1px solid #ffffff20}#material-piece{color:#eee}@media(max-width:700px){.mesh-dock{right:10px;top:183px;width:40px}.mesh-dock button{padding:6px 2px}#mesh-material{right:46px;width:200px}}

.workbench .tool-bar{grid-template-columns:1fr}.mesh-numbers button{height:24px;padding:4px}.mesh-dock #mesh-material{right:0;top:calc(100% + 7px);gap:8px;padding:12px;width:205px}.mesh-dock #reset-crown{position:absolute;right:10px;top:7px;width:24px;height:24px;padding:4px}.mesh-dock #reset-crown svg{width:14px;height:14px}.mesh-dock #material-piece{padding-right:20px}.save-html{position:absolute;right:20px;bottom:35px;z-index:7;width:42px;height:38px;padding:10px;background:#151515;border:1px solid #ffffff30;border-radius:8px;color:#ddd}.save-html:hover{background:#292929}@media(max-width:700px){.workbench{width:40px}.mesh-dock{width:42px}.save-html{right:10px;bottom:55px}}@media(max-width:700px) and (max-height:700px){.mesh-dock{width:65px;top:177px}.mesh-numbers{display:grid;grid-template-columns:1fr 1fr}.mesh-dock #mesh-material{gap:6px;padding:10px}.mesh-dock #mesh-menu-toggle{padding:2px}}

.workbench{width:48px}.tool-bar .navigation-start{border-top:1px solid #ffffff25;margin-top:5px;border-radius:0 0 6px 6px}.mesh-dock{top:170px}.mesh-dock:has(#mesh-content[hidden]){background:#101010db}.mesh-dock #mesh-menu-toggle{height:34px;font-size:20px;color:#ddd}.mesh-dock #mesh-content .mesh-numbers{margin-top:5px}.mesh-dock #mesh-material{top:calc(100% + 7px)}.scene-controls .lighting-controls button{min-height:40px}#light-toggle[aria-pressed=false]{background:#ffffff08;color:#b9bcc0}@media(max-width:700px){.workbench{width:44px}.tool-bar button{min-height:36px}.scene-controls{top:100px}.mesh-dock{top:155px}.mesh-dock #mesh-menu-toggle{height:34px}.mesh-dock #mesh-material{width:200px}.mesh-numbers{display:grid;grid-template-columns:1fr 1fr}.mesh-dock:has(#mesh-content:not([hidden])){width:65px}}

/* Viewport overlays remain anchored when the device rotates. */
html:has(.landing-page),.landing-page{width:100%;height:100%;min-height:0;overflow:hidden}.landing-page .landing{position:fixed;inset:0;width:100%;height:100dvh;min-height:0}.landing:fullscreen{width:100vw;height:100dvh}.workbench{position:fixed;left:max(20px,env(safe-area-inset-left));top:85px;bottom:auto;width:max-content;max-width:calc(100vw - 40px);transform:none}.workbench .tool-bar{display:flex;flex-wrap:nowrap;gap:2px;padding:4px}.workbench .tool-bar button{width:36px;min-height:38px;flex:0 0 36px;padding:7px}.workbench .tool-bar .navigation-start{border-top:0;border-left:1px solid #ffffff25;margin-top:0;margin-left:3px;border-radius:0}.workbench #undo-model{border-left:1px solid #ffffff25;margin-left:3px}.workbench #undo-model:disabled{cursor:default;opacity:.3}.floating-join{position:fixed;z-index:8;left:max(20px,env(safe-area-inset-left));bottom:calc(110px + env(safe-area-inset-bottom));width:150px;min-height:40px;padding:11px 16px;font-size:12px;box-shadow:0 5px 24px #0008}.enrollment{position:fixed;left:max(20px,env(safe-area-inset-left));right:auto;bottom:calc(48px + env(safe-area-inset-bottom));gap:5px;pointer-events:none}.tool-options,.tool-options:has(.brush-modes:not([hidden])){left:20px;top:140px;width:340px;max-width:calc(100vw - 40px)}.tool-options .option-row{gap:7px}.tool-options .option-row input{min-width:30px;width:85px}.scene-controls{top:85px}.mesh-dock{top:145px}#fullscreen-viewer{position:fixed;right:max(20px,env(safe-area-inset-right));bottom:calc(82px + env(safe-area-inset-bottom));z-index:7;width:42px;height:38px;padding:10px;background:#151515;border:1px solid #ffffff30;border-radius:8px;color:#ddd}.save-html{position:fixed;right:max(20px,env(safe-area-inset-right));bottom:calc(35px + env(safe-area-inset-bottom))}
@media(max-width:700px){.workbench{top:94px;left:10px;max-width:calc(100vw - 20px)}.workbench .tool-bar{gap:0;padding:3px}.workbench .tool-bar button{width:calc((100vw - 40px)/9);max-width:38px;min-width:27px;flex:1 1 auto;min-height:40px;padding:5px}.scene-controls{top:148px;right:10px}.mesh-dock{top:205px}.tool-options,.tool-options:has(.brush-modes:not([hidden])){top:146px;left:10px;width:calc(100vw - 74px);max-width:340px}.floating-join{left:16px;bottom:calc(120px + env(safe-area-inset-bottom));width:140px}.enrollment{left:16px;bottom:calc(68px + env(safe-area-inset-bottom))}.enrollment .price-amount{font-size:23px}.save-html,#fullscreen-viewer{right:10px}}
@media(orientation:landscape) and (max-height:600px){.landing-header{padding:10px max(18px,env(safe-area-inset-right)) 8px max(18px,env(safe-area-inset-left))}.brand{font-size:22px}.brand span{font-size:20px}.landing-header nav{font-size:11px;gap:18px}.landing-header .login-link{padding:6px 12px}.hero{top:17px;left:180px}.hero .eyebrow{font-size:9px}.workbench{top:52px;left:max(18px,env(safe-area-inset-left));max-width:calc(100vw - 145px)}.workbench .tool-bar button{min-height:34px;width:34px;flex:0 0 34px}.tool-options,.tool-options:has(.brush-modes:not([hidden])){top:99px;left:18px}.scene-controls{top:52px;right:74px}.mesh-dock{top:52px;right:18px}.mesh-dock .mesh-numbers{display:grid;grid-template-columns:repeat(3,1fr)}.mesh-dock:has(#mesh-content:not([hidden])){width:100px}.mesh-dock #mesh-content{max-height:calc(100dvh - 135px);overflow:auto}.mesh-dock #mesh-material{position:relative;right:auto;top:auto;width:200px;max-width:100%;margin-top:6px;gap:5px;padding:8px}.mesh-dock:has(#mesh-content:not([hidden])){width:215px;z-index:9}.mesh-dock #mesh-menu-toggle{width:34px;margin-left:auto;display:block}.floating-join{left:max(18px,env(safe-area-inset-left));bottom:calc(16px + env(safe-area-inset-bottom));width:125px;min-height:36px}.enrollment{left:158px;bottom:calc(17px + env(safe-area-inset-bottom));gap:2px}.enrollment .price-amount{font-size:20px}.promotion{font-size:8px}.landing-footer{display:none}.save-html{bottom:calc(16px + env(safe-area-inset-bottom));right:18px}#fullscreen-viewer{bottom:calc(16px + env(safe-area-inset-bottom));right:68px}}

.course-cta.floating-join{min-width:0;max-width:none;justify-content:space-between}.course-cta.floating-join span{position:static}

@media(max-width:700px){.workbench .tool-bar button{width:calc((100vw - 42px)/10);min-width:25px;max-width:36px}}

/* Fill the brush panel while keeping labels and values aligned. */
.tool-options .option-row{display:grid;grid-template-columns:auto minmax(0,1fr) 38px;gap:8px}
.tool-options .option-row:has(.brush-modes:not([hidden])){grid-template-columns:28px auto minmax(0,1fr) 38px}
.tool-options .option-row input{width:100%;min-width:0;margin:0}
.tool-options .brush-modes{grid-column:1;grid-row:1 / 3;display:grid;gap:3px;padding:0 5px 0 0;border-right:1px solid var(--line)}
.tool-options .brush-modes button{min-width:20px;min-height:25px;padding:2px}
/* UI surfaces stay dark and readable independently of the scene background. */
.landing-header{background:linear-gradient(#080a0dee,#080a0dd9);color:#f4f4f4;backdrop-filter:blur(10px)}
.landing-header .brand,.landing-header .brand span,.landing-header .cad-title{color:#f4f4f4}.landing-header nav a,.cad-page .landing-header>a:last-child{color:#d4d6da}.cad-title small{color:#d4d6da!important;border-color:#687078!important}
.workbench .tool-bar,.tool-options,.lighting-controls,.mesh-dock #mesh-content,.mesh-dock #mesh-material,.cad-cases[open],.cad-practice{background:#14171b!important;color:#eceff2;border-color:#555b64}
.cad-cases:not([open]) summary{background:#14171b;color:#eceff2;padding:8px 10px;border:1px solid #555b64;border-radius:7px}
.cad-cases p,.cad-cases small{color:#c4c9cf!important}.tool-options label,.tool-options output,#mesh-material label,#material-piece{color:#d4d9df}
.landing .hero .eyebrow,.landing .enrollment,.landing .viewer-hint.export-status{background:#11151af2;color:#eceff2;border-radius:8px;padding:8px 10px}.landing .enrollment .price-from,.landing .enrollment .price-unit,.landing .enrollment .promotion{color:#c4cbd3}
.landing-footer{background:#11151af2;color:#c4cbd3;padding:7px 12px;border-radius:7px}.landing-footer a{color:#d4d9df}
.landing .hero{z-index:6}

/* Secondary colour sampled from the supplied CAD export. */
.landing-page{--secondary:#bababa}.landing-page .landing-header nav a,.landing-page .promotion,.landing-page .viewer-hint,.landing-page .enrollment-detail{color:var(--secondary)}.landing-page .material-finishes{display:flex;gap:6px;margin:8px 0}.landing-page .material-finishes button{flex:1;border:1px solid #bababa55;border-radius:6px;padding:7px 10px;background:#151515;color:#bababa;font-size:11px}.landing-page .material-finishes button[aria-pressed=true]{background:#bababa;color:#080808}
