/* One concept workshop. Existing product and simulation screens stay unchanged. */
.home-only,.home-project-link{display:none}
.workspace.home-active{--home-hero:max(660px,calc(100svh - 64px));position:relative;display:block;height:auto;min-height:var(--home-hero);overflow-x:clip;isolation:isolate;background:#030a12}
body:has(.home-active){background:#030a12}
body:has(.home-active) .topbar{height:64px;padding:0 5vw;gap:25px;background:#040c15;border-bottom:1px solid #9cc9f211}
body:has(.home-active) .wordmark{font-size:25px;letter-spacing:-1.2px}
body:has(.home-active) .alpha{font-size:8px;color:#68869e;border-color:#284155}
body:has(.home-active) .top-note{display:block;color:#7896ad;font-size:10px}
body:has(.home-active) .provider{font-size:10px;color:#8faabd}
body:has(.home-active) .provider.available .status-dot{background:#72c8ff;box-shadow:0 0 10px #50aaff7a}
body:has(.home-active) .home-project-link{display:block;padding:14px 8px;color:#91aec3;font-size:11px;text-decoration:none}
.home-active .home-only{display:block}
.home-active .studio-copy,.home-active .home-kicker,.home-active .home-input-label{display:none}
.home-active .sidebar{position:relative;z-index:3;display:block;width:100%;min-height:0;border:0;background:transparent;pointer-events:none}
.home-active .sidebar-scroll{position:static;display:block;min-height:0;padding:0;overflow:visible;pointer-events:none}
.home-active .create-section{position:relative;height:var(--home-hero);padding:0;margin:0;border:0;pointer-events:none}
.home-active .create-section h1{position:absolute;top:53px;left:50%;transform:translateX(-50%);width:90%;max-width:none;margin:0;text-align:center;color:#edf5fc;font-size:clamp(48px,4.5vw,68px);font-weight:480;line-height:1.16;letter-spacing:-2.8px;white-space:nowrap;text-shadow:0 2px 35px #030a12;pointer-events:none}
.home-active .home-accent{color:#f4b17a}
.home-active .intro{position:absolute;top:140px;left:50%;transform:translateX(-50%);width:88%;max-width:none;margin:0;text-align:center;font-size:12px;line-height:1.95;letter-spacing:.2px;color:#88a4bb;text-shadow:0 2px 18px #030a12;pointer-events:none}
.home-active .intro br{display:none}
.home-active .studio{position:absolute;inset:0 0 auto;z-index:0;width:100%;height:var(--home-hero);min-height:0;background:transparent;pointer-events:none}
.home-active .studio>:not(.home-field):not(#notice){display:none!important}
.home-active .home-field{position:relative;display:block;width:100%;height:100%;min-height:0;overflow:hidden;background:#030a12}
.home-active .home-core{position:absolute;inset:0;overflow:hidden;mask-image:none;-webkit-mask-image:none}
.home-active #home-canvas{display:block;width:100%;height:100%;pointer-events:auto;touch-action:none;cursor:grab}
.home-active #home-canvas:active,.home-active #home-canvas[data-dragging=true]{cursor:grabbing}
.home-active #home-canvas:focus-visible{outline:1px solid #83caff88;outline-offset:-4px}
.home-active .home-demo{position:absolute;top:23px;left:5.9vw;z-index:2;font:8px/1.8 var(--mono);letter-spacing:1.2px;color:#65869e;pointer-events:none}
.home-active .home-demo strong{margin-left:9px;font-weight:400;color:#7599b1;letter-spacing:.3px}
.home-active .home-reel{position:absolute;top:20px;right:5.9vw;z-index:2;display:flex;flex-direction:column;align-items:flex-end;gap:8px;pointer-events:none}
.home-active .home-phase{display:block;max-width:300px;text-align:right;color:#8bacbf;font:9px/1.8 var(--mono);letter-spacing:1px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.home-active .home-episodes{display:flex;gap:6px;pointer-events:auto}
.home-active .home-episodes[hidden]{display:none}
.home-active .home-episodes button{--progress:0;position:relative;min-width:96px;height:30px;padding:0 12px;border:1px solid #82b0d333;border-radius:6px;background:#071522cc;color:#7f9fb6;font:500 12px var(--font);letter-spacing:.2px;cursor:pointer;overflow:hidden;backdrop-filter:blur(8px)}
.home-active .home-episodes button::after{content:"";position:absolute;left:0;bottom:0;height:2px;width:calc(var(--progress) * 100%);background:#72c8ff}
.home-active .home-episodes button:hover{color:#deedf8;border-color:#82b0d366}
.home-active .home-episodes button[aria-current]{color:#eef4f8;border-color:#72c8ff80;background:#0c2133e6}
.home-active .home-episodes button:focus-visible{outline:2px solid #72c8ff;outline-offset:2px}
.home-active .home-hover-label{position:absolute;top:45%;right:6vw;z-index:2;max-width:165px;color:#abd1ea;font:11px/1.8 var(--mono);letter-spacing:.6px;text-align:right;overflow-wrap:anywhere;text-shadow:0 1px 12px #020910;pointer-events:none}
.home-active .home-pointer-hint{position:absolute;bottom:207px;left:50%;z-index:2;transform:translateX(-50%);width:90%;margin:0;text-align:center;color:#648aa5;font:9px/1.8 var(--mono);letter-spacing:.6px;pointer-events:none}
.home-active .home-scene-status{position:absolute;top:48%;left:50%;transform:translate(-50%,-50%);width:min(400px,80vw);margin:0;color:#a0c5dd;font-size:12px;line-height:1.8;text-align:center;pointer-events:none}
.home-active .home-scene-status[hidden]{display:none}
.home-active #create-form{position:absolute;left:50%;bottom:93px;transform:translateX(-50%);display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;width:min(800px,86vw);border:1px solid #82b0d34d;border-radius:9px;background:#071522eb;box-shadow:0 12px 50px #0008,0 0 30px #1c8bda0b;backdrop-filter:blur(18px);pointer-events:auto;transition:border-color .2s,box-shadow .2s}
.home-active #create-form:focus-within{border-color:#f3b27c96;box-shadow:0 0 0 3px #ec924c0c,0 12px 50px #0008}
.home-active #prompt{height:88px;min-height:88px;max-height:88px;margin:0;padding:17px 22px;font-size:13px;line-height:1.8;resize:none;background:transparent;color:#deedf8;overflow:auto;scrollbar-width:thin;scrollbar-color:#31516a transparent}
.home-active #prompt::placeholder{color:#7897ae}
.home-active .prompt-footer{display:flex;flex-direction:column-reverse;align-items:center;justify-content:center;gap:8px;padding:12px 17px 10px 10px}
.home-active .home-shortcut{font:7px var(--mono);letter-spacing:.2px;color:#6788a2;white-space:nowrap}
.home-active #create-button{min-height:44px;padding:10px 16px;border:1px solid #ffc18b;border-radius:5px;background:#eea164;color:#21140a;font-size:11px;font-weight:600;gap:18px;box-shadow:0 2px 15px #f4933d16}
.home-active #create-button:hover:not(:disabled){background:#ffb57e;box-shadow:0 0 20px #f7963a30}
.home-active #create-button:disabled{opacity:.42}
.home-active .home-suggestions{position:absolute;bottom:45px;left:50%;transform:translateX(-50%);display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:7px;width:min(850px,92vw);margin:0;pointer-events:auto}
.home-active .home-suggestions>span{font-size:9px;color:#61859e;margin-right:4px}
.home-active .home-suggestions button{min-height:36px;padding:6px 9px;border:1px solid #80a9c926;border-radius:4px;background:#061320a6;color:#89a9c1;font-size:10px}
.home-active .home-suggestions button:hover{border-color:#77b1de70;color:#c9e9fe}
.home-active .scope-note{position:absolute;bottom:15px;left:50%;transform:translateX(-50%);width:88vw;margin:0;text-align:center;color:#55768e;font-size:8px;line-height:1.8;pointer-events:none}
.home-active #notice{position:fixed;top:76px;left:50%;right:auto;transform:translateX(-50%);width:min(620px,calc(100vw - 32px));pointer-events:auto;z-index:20}
.home-active .recent-section{position:relative;width:min(1160px,88vw);margin:0 auto;padding:35px 0;border-top:1px solid #7aa3c11b;scroll-margin-top:20px;pointer-events:auto}
.home-active .section-heading{margin-bottom:20px}
.home-active .section-heading h2{font-size:13px;font-weight:500;color:#b5cede}
.home-active .section-code{font-size:8px;color:#557891;margin-left:9px}
.home-active .text-button{min-height:32px;font-size:10px;color:#779bb5}
.home-active .projects-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px 25px;max-height:300px;overflow:auto;scrollbar-width:thin;scrollbar-color:#31516a transparent}
.home-active .project-button{min-height:56px;padding:12px 0;gap:12px;border-radius:0;border-bottom:1px solid #739bb91b;background:transparent;color:#87a8c0;font-size:11px;line-height:1.6}
.home-active .project-button:hover{background:#10283a55;color:#d2eaff}
.home-active .project-label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.home-active .muted{color:#688ba4}
.home-active .sidebar-bottom{width:min(1160px,88vw);margin:0 auto;padding:0 0 28px;border:0;background:transparent;color:#4b6d85;font-size:8px;pointer-events:none}
@media(min-width:1700px){.home-active .create-section h1{font-size:76px}.home-active .intro{top:149px;font-size:13px}}
@media(max-width:1100px) and (min-width:721px){body:has(.home-active) .top-note{display:none}.home-active .create-section h1{font-size:50px}.home-active .intro{top:120px;font-size:11px}.home-active .home-suggestions>span{display:none}.home-active .projects-list{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(min-width:721px) and (max-height:800px){.home-active .create-section h1{top:38px;font-size:51px}.home-active .intro{top:107px;font-size:11px}.home-active #create-form{bottom:66px}.home-active .home-pointer-hint{bottom:173px}.home-active .home-suggestions{bottom:18px}.home-active .scope-note{display:none}}
@media(max-width:720px){
 body:has(.home-active) .topbar{height:58px;padding:0 19px;gap:10px}
 body:has(.home-active) .wordmark{font-size:23px}
 body:has(.home-active) .alpha,body:has(.home-active) .top-note,body:has(.home-active) .topbar>a.text-button{display:none}
 body:has(.home-active) .provider{display:none}
 body:has(.home-active) .topbar-button{padding:0 8px;font-size:13px}
 body:has(.home-active) .home-project-link{padding:14px 0;font-size:10px}
 .workspace.home-active{--home-hero:max(560px,calc(100svh - 58px));display:block;min-height:var(--home-hero)}
 .home-active .sidebar{display:block;order:initial;width:100%;border:0;background:transparent}
 .home-active .sidebar-scroll{padding:0}
 .home-active .create-section h1{top:54px;left:20px;right:20px;transform:none;width:auto;max-width:none;font-size:clamp(24px,7.5vw,42px);letter-spacing:-1px;white-space:nowrap}
 .home-active .intro{top:105px;left:20px;right:20px;transform:none;width:auto;max-width:none;font-size:10px}
 .home-active .studio{position:absolute;inset:0 0 auto;width:100%;height:var(--home-hero);min-height:0;order:initial}
 .home-active .home-demo{display:none}
 .home-active .home-demo strong{display:block;margin:2px 0 0;font-size:7px}
 .home-active .home-reel{top:16px;right:16px;left:16px;align-items:flex-end;gap:6px}
 .home-active .home-phase{max-width:100%;font-size:7px;letter-spacing:.5px}
 .home-active .home-episodes button{min-width:0;height:28px;padding:0 9px;font-size:11px}
 .home-active .home-hover-label{top:43%;right:18px;max-width:100px;font-size:9px}
 .home-active .home-pointer-hint{bottom:262px;width:calc(100% - 36px);font-size:9px;letter-spacing:.2px}
 .home-active #create-form{bottom:104px;display:block;width:calc(100% - 34px);border-radius:8px}
 .home-active #prompt{height:67px;min-height:67px;max-height:67px;padding:12px 14px 7px;font-size:16px;line-height:1.55}
 .home-active .prompt-footer{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;padding:3px 11px 10px 14px;gap:7px}
 .home-active .home-shortcut{flex:1 1 100%;font-size:9px}
 .home-active #create-button{min-height:40px;padding:9px 14px;font-size:12px;gap:12px;margin-left:auto;white-space:nowrap}
 .home-active .home-suggestions{bottom:22px;width:calc(100% - 34px);gap:6px;flex-wrap:wrap;justify-content:flex-start;overflow:visible;padding-bottom:2px}
 .home-active .home-suggestions::-webkit-scrollbar{display:none}
 .home-active .home-suggestions button{flex:0 0 auto;white-space:nowrap}
 .home-active .home-phase{display:none}
 .home-active .home-suggestions>span{display:none}
 .home-active .home-suggestions button{min-height:30px;padding:5px 9px;font-size:11px}
 .home-active .scope-note{bottom:10px;width:calc(100% - 40px);font-size:7px;line-height:1.6}
 .home-active .recent-section{width:calc(100% - 44px);padding:29px 0}
 .home-active .projects-list{grid-template-columns:1fr;gap:0;max-height:300px}
 .home-active .project-button{font-size:11px;min-height:55px}
 .home-active .section-heading{margin-bottom:13px}
 .home-active .sidebar-bottom{width:calc(100% - 44px);padding:0 0 23px;font-size:8px}
 .home-active #notice{top:68px}
}
@media(max-width:360px){.home-active .create-section h1{font-size:clamp(24px,7.5vw,28px)}.home-active .home-suggestions button{font-size:7px}}
@media(prefers-reduced-motion:reduce){.home-active *{scroll-behavior:auto!important;transition:none!important}}
.home-active .home-scene-status.is-loading::before{content:"";display:block;width:22px;height:22px;margin:0 auto 10px;border-radius:50%;border:2px solid #6fd6e833;border-top-color:#6fd6e8;animation:spin 1s linear infinite}
