/* W40 — the approved 1672 × 941 Atelier composition translated into the live shell. */
@font-face{font-family:'nOS Editorial';src:url('/atelier/assets/fonts/playfair-display.woff2') format('woff2');font-weight:400 900;font-style:normal;font-display:swap}
:root{--nos-font-display:'nOS Editorial',Georgia,serif;--nos-font-serif:var(--nos-font-display);--nos-bg:#06111e;--nos-text:#f2f1ee;--nos-text-muted:#b0c0d7;--nos-text-subtle:#91a8c5;--nos-line:#233b54}
::selection{background:#6952b8;color:#fff}
.atelier-shell{height:100dvh;min-height:640px;overflow:hidden;background:#06111e;font:14px/1.45 system-ui,sans-serif;scrollbar-color:#35485f #081423;scrollbar-width:thin}
.atelier-shell *{scrollbar-width:thin;scrollbar-color:#35485f #081423}
.atelier-shell svg{display:inline-block;flex-shrink:0;vertical-align:middle}
.atelier-shell button,.atelier-shell a{touch-action:manipulation}
.atelier-shell button{transition:background-color .16s ease,color .16s ease,border-color .16s ease}
.atelier-shell button:focus-visible,.atelier-shell a:focus-visible,.atelier-shell summary:focus-visible{outline:2px solid #b7a2ff;outline-offset:3px}
.atelier-shell button:disabled{opacity:.55}
.atelier-shell .atelier-top{position:relative;display:grid;grid-template-columns:132px 170px minmax(180px,470px) 1fr 36px;height:56px;min-height:56px;padding:0 20px;gap:22px;background:#0b1728;border-bottom:1px solid #213246;backdrop-filter:none}
.atelier-logo{font-family:system-ui,sans-serif;letter-spacing:-1.8px;font-size:30px;font-weight:750;white-space:nowrap}
.atelier-logo em{font-family:var(--nos-font-display);font-style:italic;font-weight:400;font-size:20px;letter-spacing:0}
.atelier-space{border:0;border-radius:10px;background:#18283e;padding:0 12px;gap:10px}
.atelier-space select{font-size:13px;height:36px;cursor:pointer}
.atelier-shell .atelier-search{height:36px;min-width:0;width:100%;border:1px solid #263d59;border-radius:22px;background:#0c1b2f;text-align:left;color:#a7b8d2;gap:9px}
.atelier-search>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1;font-size:12px}
.atelier-search kbd{font:10px system-ui;color:#9db0cb}
.atelier-demo-switch{justify-self:end;padding:7px 12px;color:#c6d5ec;background:#18283e;border:1px solid #314560;border-radius:8px;font-size:11px!important;white-space:nowrap}
.atelier-demo-switch[aria-pressed=true]{color:#e2d9ff;border-color:#7762b9;background:#252143}
.atelier-avatar{width:34px;height:34px;background:#17243b;border:1px solid #536984;color:#d0dcf0}
.atelier-shell[data-surface] .atelier-layout{position:relative;isolation:isolate;display:grid;grid-template-columns:156px minmax(0,1fr) clamp(300px,26.4vw,442px);height:calc(100dvh - 132px);min-height:508px;overflow:hidden;gap:0}
.atelier-layout::before{content:'';position:absolute;z-index:-1;left:156px;right:0;top:0;height:210px;background:linear-gradient(90deg,#06111e 26%,#06111e80 60%,#06111e15),linear-gradient(0deg,#06111e,transparent 75%),url('/atelier/assets/mediterranean-coast-v1.png') 75% 30%/cover;opacity:.9;pointer-events:none}
.atelier-shell .atelier-nav{position:relative;display:flex;flex-direction:column;gap:8px;padding:20px 8px 0 0;height:100%;min-width:0;border-right:1px solid #1b2e43;background:#071321b8;overflow:visible}
.atelier-shell .atelier-nav>button{display:flex;gap:17px;width:100%;min-height:47px;padding:12px 18px 12px 23px;border-radius:0 9px 9px 0;font-size:13px;text-align:left;color:#c0cbe0;flex:none;justify-content:flex-start}
.atelier-shell .atelier-nav>button i{display:flex;width:23px;height:23px;align-items:center;color:inherit}
.atelier-shell .atelier-nav>button span{display:block;font-size:13px;text-align:left;line-height:1.35}
.atelier-shell .atelier-nav>button.is-active{background:linear-gradient(90deg,#31235f,#132136 80%);box-shadow:inset 3px 0 #9172ff;color:#f8f5ff}
.atelier-signature{margin:auto 0 22px 30px;padding-top:30px;color:#bdc8dd}
.atelier-signature p{font:italic 18px/1.3 var(--nos-font-display);margin:0 0 38px}
.atelier-signature p::after{content:'';display:block;width:29px;height:1px;background:#c6d0e0;margin-top:24px}
.atelier-signature span{display:block;font-size:26px;font-weight:700;letter-spacing:-1px;color:#9aafd6}
.atelier-signature small{display:block;font-size:12px;line-height:1.25;letter-spacing:.6px;color:#8fa6c5}
.atelier-shell .atelier-quick{margin:0;padding:0}.atelier-quick>summary{display:none!important}
.atelier-quick[open]>div{position:fixed;z-index:80;bottom:83px;left:12px;width:304px;max-height:min(600px,72vh);overflow:auto;padding:12px;background:#101f33;border:1px solid #405775;border-radius:12px;box-shadow:0 16px 40px #0008}
.atelier-shell .atelier-quick button{min-height:42px;display:flex;gap:12px;padding:10px;color:#d2ddef;font-size:13px}.atelier-quick button i{display:flex}
.atelier-quick button:hover,.atelier-nav>button:hover{background:#192a43!important}
.atelier-shell .atelier-main,.atelier-shell .atelier-module{height:100%;min-height:0;min-width:0;overflow:auto;padding:0;background:transparent}
.atelier-module>[data-module-slot]{min-width:0;min-height:100%}
.atelier-shell .atelier-module h1{font-family:var(--nos-font-display);font-weight:400;letter-spacing:-.03em}
.atelier-shell .atelier-vision{display:flex;flex-direction:column;align-self:stretch;min-width:0;min-height:0;max-height:none;margin:108px 9px 15px 0;padding:18px 16px 12px;border:1px solid #2a4562;border-radius:17px;background:#071322f5;overflow:hidden;box-shadow:none}
.atelier-vision>header{display:flex;align-items:center;justify-content:space-between;margin:0 0 18px;padding:0 6px;flex:none}
.atelier-vision>header>div{display:grid;grid-template-columns:40px 1fr;grid-template-rows:auto auto;gap:0 12px;min-width:0}
.vision-spark{color:#a18aff;grid-row:1/3;align-self:center;display:flex;filter:drop-shadow(0 2px 10px #7c51d84d)}
.atelier-vision h2{margin:0;font:500 25px/1.2 var(--nos-font-display);color:#faf5f3}
.atelier-vision header p{grid-column:2;margin:4px 0 0;font:12px/1.4 system-ui;color:#9cb1cd}
.atelier-vision__body{flex:1;min-height:0;overflow:auto;padding:0 2px 10px}
.atelier-vision__message{margin:4px 0 16px;padding:18px;border:1px solid #233e59;border-radius:16px;background:#101e32;color:#dce5f5}
.atelier-vision__message strong{font-weight:500;font-size:16px}.atelier-vision__message p{margin:10px 0 0;color:#b3c5df;line-height:1.65}
.atelier-vision__user{display:flex;align-items:flex-start;gap:12px;margin:0 0 14px}.atelier-vision__user>svg{margin-top:13px;color:#b5c6df}
.atelier-vision__user p{margin:0;padding:13px 17px;background:#1c2b43;color:#edf3ff;border-radius:21px;line-height:1.5}
.atelier-vision__answer{display:grid;grid-template-columns:29px minmax(0,1fr);gap:8px;align-items:start;padding:14px 10px 16px 0}
.atelier-vision__answer>.vision-spark{grid-row:auto;align-self:start;margin-top:4px}.atelier-vision__answer>div>p{margin:0 0 14px;font-size:14px;line-height:1.5;color:#d9e2f3}
.vision-object{display:flex;align-items:center;gap:12px;padding:9px;border:1px solid #253c57;background:#17263c;border-radius:9px}.vision-object img{width:68px;height:68px;object-fit:cover;border-radius:5px}.vision-object strong{display:block;font-size:13px}.vision-object small{display:block;margin-top:5px;color:#a9bbd6;font-size:11px}
.vision-actions{display:grid;gap:8px;margin-top:10px}.vision-actions button{display:flex;align-items:center;gap:11px;text-align:left;min-height:51px;padding:10px 12px;border:1px solid #29415e;border-radius:12px;background:#0e1b2d;color:#d2ddf1}.vision-actions button>span{flex:1}.vision-actions strong{font-size:12px;font-weight:500;display:block}.vision-actions small{display:block;margin-top:3px;font-size:10px;color:#9cb2d1}.vision-actions button:first-child{background:#242044;border-color:#6854ab}.vision-actions button:hover{background:#273654}
.vision-example-note{font-size:10px;line-height:1.5;color:#acbdd7;margin:16px 5px}.vision-context{margin-top:16px;color:#aabbd4;font-size:12px}.vision-context summary{cursor:pointer}.vision-context strong,.vision-context small{display:block;margin-top:10px}
.vision-compose{display:flex;align-items:center;gap:8px;flex:none;margin-top:9px}.atelier-vision .vision-compose form{display:flex;align-items:center;flex:1;min-width:0;gap:4px;padding:4px 5px 4px 14px;border:1px solid #29445f;border-radius:24px;background:#112139;margin:0}.vision-compose input{height:34px;min-width:0;width:100%;border:0;background:transparent;color:#ecf1fa;font-size:12px!important;outline:none}.vision-compose input::placeholder{color:#a0b5d5}.vision-compose form button{display:grid;place-items:center;flex:none;width:32px;height:32px;border:0;background:transparent;color:#b6c4e2}.vision-mic{display:grid;place-items:center;width:43px;height:43px;border:1px solid #34506f;border-radius:50%;background:#122039;color:#c5d1ec}
.atelier-vision__status{margin:9px 0 0;text-align:center;font-size:10px;line-height:1.5;color:#a5b8d3;flex:none}.vision-voice-settings{flex:none;max-height:46%;overflow:auto;color:#a5b8d3;font-size:11px;margin-top:7px}.vision-voice-settings>summary{cursor:pointer;text-align:center}.vision-voice-settings .vision-voice{padding-top:12px}.vision-voice__disclosure{line-height:1.55}
.vision-proposal{position:relative;margin:12px 0;padding:14px;border:1px solid #7564bc;border-radius:12px;background:#171b37}.vision-proposal h3{font:24px/1.06 var(--nos-font-display);margin:0 0 9px;letter-spacing:-.02em}.vision-proposal small{color:#a7bddc;font-size:11px}.vision-proposal button{float:right;padding:5px 10px;border:1px solid #977cf0;border-radius:18px;background:#131c30;color:#fff;font-size:11px}
.atelier-shell .atelier-dock{position:relative;display:flex;align-items:center;gap:27px;height:76px;padding:0 24px 0 0;background:#0b1727;border-top:1px solid #294059;z-index:25}
.atelier-dock>button{display:flex;align-items:center;gap:11px;border:0;background:transparent;color:#c0cee4;font-size:12px;min-height:42px;padding:4px 0}
.atelier-dock>[data-tools-toggle]{width:190px;padding-left:28px;flex:none;gap:10px}.atelier-dock button i{display:grid;place-items:center;width:39px;height:39px;border:1px solid #364a77;border-radius:9px;background:#172444;color:#b8a5ff;font-style:normal}.atelier-dock button[data-module=create] i{background:#073d53;color:#32d6f1;border-color:#146078}.atelier-dock button[data-module=resources] i{background:#082e50;color:#37baff;border-color:#164a75}.atelier-dock button[data-module=calendar] i{background:#351b45;color:#d587f4;border-color:#613368}.atelier-dock>p{font:italic 14px/1.2 var(--nos-font-display);margin:0 24px 0 auto;color:#afbed4;text-align:right}
.atelier-module--preview{padding:40px!important}.atelier-module--preview h1{font-size:46px;margin:12px 0}.atelier-module--preview p{max-width:60ch;color:#b9cae2}
@media(min-width:901px) and (max-width:1350px){.atelier-shell .atelier-top{grid-template-columns:116px 143px minmax(150px,1fr) auto 34px;gap:12px;padding-inline:16px}.atelier-shell[data-surface] .atelier-layout{grid-template-columns:140px minmax(0,1fr) 310px}.atelier-shell .atelier-nav>button{padding-left:18px;gap:12px}.atelier-signature{margin-left:23px}.atelier-shell .atelier-vision{padding:16px 11px 10px;margin-top:104px}.atelier-vision h2{font-size:23px}.atelier-vision__answer{grid-template-columns:22px 1fr;gap:6px}.atelier-vision__answer>div>p{font-size:12px}.vision-actions small{display:none}.atelier-dock{gap:24px!important}.atelier-dock>[data-tools-toggle]{width:166px}.atelier-dock>p{font-size:12px}.atelier-layout::before{left:140px}}
@media(max-height:820px) and (min-width:901px){.atelier-signature p{margin-bottom:15px}.atelier-signature{padding-top:15px;margin-bottom:12px}.atelier-vision>header{margin-bottom:10px}.atelier-vision__answer{padding-bottom:7px}.vision-actions button{min-height:42px}}
@media(max-width:900px){.atelier-shell{height:auto;min-height:100dvh;overflow:visible}.atelier-shell .atelier-top{position:sticky;grid-template-columns:1fr auto auto auto;height:57px;gap:10px;padding:0 12px}.atelier-shell .atelier-space{display:none}.atelier-shell .atelier-search{width:34px;height:34px;padding:6px;justify-content:center}.atelier-search>span,.atelier-search kbd{display:none}.atelier-demo-switch{font-size:10px!important;padding:6px 8px}.atelier-logo{font-size:27px}.atelier-shell[data-surface] .atelier-layout{display:grid;grid-template-columns:minmax(0,1fr);height:auto;min-height:0;overflow:visible}.atelier-layout::before{left:0;top:100px;height:180px}.atelier-shell .atelier-nav{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));height:auto;padding:8px;gap:4px;border-right:0;border-bottom:1px solid #25394f;background:#0a1728}.atelier-shell .atelier-nav>button{display:flex;flex-direction:column;justify-content:center;gap:3px;min-height:48px;padding:4px;border-radius:7px}.atelier-shell .atelier-nav>button span{font-size:11px;text-align:center}.atelier-signature{display:none}.atelier-shell .atelier-quick{display:block;grid-column:auto;min-width:0}.atelier-quick>summary{display:flex!important;flex-direction:column;align-items:center;justify-content:center;height:48px;gap:3px;padding:0!important;font-size:10px;list-style:none}.atelier-quick[open]>div{position:absolute;bottom:auto;top:100%;left:8px;width:calc(100% - 16px);max-height:60vh}.atelier-shell .atelier-main,.atelier-shell .atelier-module{height:auto;overflow:visible}.atelier-shell .atelier-vision{margin:12px;min-height:420px;max-height:none;overflow:visible;padding:18px}.atelier-vision__body{overflow:visible}.atelier-vision__answer>div>p{font-size:14px}.vision-voice-settings{max-height:none}.atelier-shell .atelier-dock{height:70px;gap:0!important;justify-content:space-evenly;padding:6px 4px}.atelier-dock>[data-tools-toggle],.atelier-dock>p{display:none}.atelier-dock>button{flex-direction:column;gap:3px;font-size:9px;min-width:52px}.atelier-dock button i{width:31px;height:31px}.atelier-module--preview{padding:24px!important}}
@media(prefers-reduced-motion:reduce){.atelier-shell *{scroll-behavior:auto!important;animation:none!important;transition:none!important}}
/* Integration corrections: fit the approved studio in the shared viewport. */
@media(min-width:901px){
 .atelier-shell .ecom-ops .ops-studio{height:calc(100dvh - 350px);min-height:470px;max-height:595px}
 .atelier-shell .ecom-ops .ops-phone-scene{background-position:70% center}
 .atelier-shell .ecom-ops .ops-canvas-wrap{grid-template-rows:36px minmax(0,1fr) 130px}
 .atelier-shell .learn45 .learn45__library{padding:10px}
 .atelier-shell .learn45 .learn45__daily{min-height:76px;padding:7px}
 .atelier-shell .learn45 .learn45__daily p{margin-left:0}
 .atelier-shell .learn45 .learn45__architecture,.atelier-shell .learn45 .learn45__library{min-height:250px}
}
.atelier-shell .home-board :is(.hb-hero h1,.hb-showcase-copy h2,.hb-preview h3){font-family:var(--nos-font-display)}
.atelier-shell .home-board,.atelier-shell .learn45,.atelier-shell .ecom-ops{background:transparent}
.vision-proposal{display:flow-root}.vision-proposal button{float:none;display:block;margin:9px 0 0 auto}
@media(min-width:901px){
 .atelier-shell[data-surface=ecom] .atelier-layout{grid-template-columns:156px minmax(0,1fr) clamp(300px,22.7vw,380px)}
 .atelier-shell[data-surface=ecom] .atelier-vision{margin-top:16px}
 .atelier-shell .ecom-ops .ops-studio{height:calc(100dvh - 310px);max-height:none}
 .atelier-shell .ecom-ops .ops-canvas-wrap{grid-template-rows:36px minmax(0,1fr) 160px}
 .atelier-shell .ecom-ops .ops-scene{width:min(100%,475px)}
 .atelier-shell .ecom-ops .ops-phone{width:min(100%,220px);max-width:220px;height:95%;max-height:500px}
 .atelier-shell .ecom-ops .ops-variant-list img{height:110px}
 .atelier-shell .ecom-ops .ops-variants{padding-bottom:12px}
 .atelier-shell[data-surface=web] .atelier-layout{grid-template-columns:156px minmax(0,1fr) clamp(300px,22.7vw,380px)}
 .atelier-shell[data-surface=web] .atelier-vision__answer{padding-bottom:7px}
 .atelier-shell[data-surface=web] .atelier-vision__user p{padding:10px 13px;font-size:12px}
 .atelier-shell[data-surface=web] .vision-proposal{margin:8px 0;padding:11px}
 .atelier-shell[data-surface=web] .vision-proposal h3{font-size:23px}
}
@media(min-width:901px) and (max-width:1450px){
 .atelier-shell .learn45__landing-grid{grid-template-columns:minmax(0,1fr)}
 .atelier-shell .learn45__library{display:grid;grid-template-columns:1fr 1fr;gap:7px;min-height:0}
 .atelier-shell .learn45__library-head{grid-column:1/-1}
 .atelier-shell .learn45__daily{grid-column:1/-1}
 .atelier-shell .learn45__steps small{font-size:9px}
 .atelier-shell .learn45__steps button{gap:5px;padding-left:3px}
 .atelier-shell .learn45__step-icon{width:37px;height:37px;font-size:20px}
 .atelier-shell .learn45__steps button+button:before{display:none}
}

/* SHELL-UI49: keep the composed surfaces aligned and controls reachable. */
.atelier-shell.is-entering :is(.atelier-main,.atelier-module,.atelier-vision){animation:none!important}
.atelier-shell :is(.atelier-main,.atelier-module):focus{outline:0}
@media(min-width:901px){
 .atelier-shell[data-surface=ecom] .atelier-layout{grid-template-columns:156px minmax(0,1fr) clamp(300px,21.5vw,360px)}
 .atelier-shell[data-surface=ecom] .atelier-vision{margin-top:128px}
}
@media(min-width:901px) and (max-width:1350px){
 .atelier-shell[data-surface=ecom] .atelier-layout{grid-template-columns:140px minmax(0,1fr) 300px}
}
@media(max-width:900px){
 .atelier-shell{padding-bottom:calc(70px + env(safe-area-inset-bottom))}
 .atelier-shell .atelier-dock{position:fixed;right:0;bottom:0;left:0;width:100%;height:calc(70px + env(safe-area-inset-bottom));padding-bottom:env(safe-area-inset-bottom);z-index:60;box-shadow:0 -8px 28px #030c1870}
}
