:root{color:#f5f5f4;font-synthesis:none;--panel:#111112;--raised:#181819;--line:#29292b;--muted:#858589;--stone:#e7e5e4;--ink:#151413;background:#0c0c0d;font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}body{background:#0c0c0d;min-width:320px;min-height:100vh;margin:0}button,select,input{font:inherit}button{color:inherit}.sr-only{clip:rect(0,0,0,0);width:1px;height:1px;position:absolute;overflow:hidden}.app-shell{background:#0c0c0d;flex-direction:column;height:100vh;display:flex;overflow:hidden}header{border-bottom:1px solid var(--line);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);z-index:5;background:#0e0e0fef;grid-template-columns:1fr auto 1fr;align-items:center;height:66px;padding:0 18px;display:grid}.brand{color:#fafaf9;align-items:center;gap:10px;font-size:16px;font-weight:700;text-decoration:none;display:flex}.brand-mark{color:#151413;background:#e7e5e4;border-radius:9px;place-items:center;width:31px;height:31px;font-weight:800;display:grid;box-shadow:inset 0 1px #fff}.brand sup{color:#6d6d72;text-transform:uppercase;letter-spacing:.12em;font-size:8px}.privacy{text-transform:uppercase;letter-spacing:.1em;color:#77777c;align-items:center;gap:8px;font-size:9px;display:flex}.privacy>span{background:#a8a29e;border-radius:50%;width:6px;height:6px;box-shadow:0 0 0 4px #a8a29e18}.header-actions{justify-self:end;gap:8px;display:flex}.icon-button,.quickbar button{border:1px solid var(--line);cursor:pointer;background:#161617;border-radius:9px;justify-content:center;align-items:center;gap:7px;height:38px;padding:0 12px;transition:background .16s,transform .16s;display:flex}.icon-button:hover,.quickbar button:hover{background:#222224}.interior-button{background:var(--stone);min-width:124px;height:38px;color:var(--ink);cursor:pointer;border:1px solid #fafaf9;border-radius:9px;padding:0 15px;font-weight:700;overflow:hidden;box-shadow:inset 0 1px #fff,0 8px 26px #0004}.interior-button:disabled{opacity:.42;cursor:not-allowed}.interior-button-grid{place-items:center;display:grid}.interior-button-face{white-space:nowrap;grid-area:1/1;justify-content:center;align-items:center;gap:8px;display:flex}.interior-button-face.success{color:#14532d}.interior-button-face.error{color:#7f1d1d}.interior-button.wide{width:100%;height:46px}.thinking-orb{width:17px;height:17px;animation:1s linear infinite orb-spin;display:block;position:relative}.thinking-orb i{mix-blend-mode:multiply;background:linear-gradient(135deg,#0c0a09,#78716c);border-radius:50%;position:absolute;inset:3px}.thinking-orb i:nth-child(2){opacity:.68;transform:translate(3px,-1px)}.thinking-orb i:nth-child(3){opacity:.4;transform:translate(-2px,2px)}@keyframes orb-spin{to{transform:rotate(360deg)}}main{flex:1;grid-template-columns:minmax(0,1fr) 374px;min-height:0;display:grid}.workspace{flex-direction:column;min-width:0;padding:13px 18px 16px;display:flex}.canvas-toolbar{color:#747479;text-transform:uppercase;letter-spacing:.08em;justify-content:space-between;align-items:flex-start;height:37px;font-size:9px;display:flex}.interior-segmented{background:#141415;border:1px solid #28282a;border-radius:9px;padding:3px;display:flex;position:relative}.interior-segmented button{color:#77777c;cursor:pointer;background:0 0;border:0;border-radius:6px;padding:5px 9px;font-size:9px;position:relative}.interior-segmented button>span:last-child{z-index:1;position:relative}.interior-segmented button.active{color:#f5f5f4}.segment-active{background:#343436;border-radius:6px;position:absolute;inset:0;box-shadow:inset 0 1px #464649}.canvas-wrap{background-color:#111112;background-image:linear-gradient(45deg,#161617 25%,#0000 25%),linear-gradient(-45deg,#161617 25%,#0000 25%),linear-gradient(45deg,#0000 75%,#161617 75%),linear-gradient(-45deg,#0000 75%,#161617 75%);background-position:0 0,0 9px,9px -9px,-9px 0;background-size:18px 18px;border:1px solid #252527;border-radius:14px;flex:1;place-items:center;min-height:0;display:grid;position:relative;overflow:hidden}.render-canvas{border-radius:3px;width:auto;max-width:calc(100% - 54px);height:auto;max-height:calc(100% - 40px);display:block;box-shadow:0 30px 90px #0009}.drop-overlay{-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);color:#fafaf9;box-shadow:inset 0 0 100px #fff08;background:#101011ee;border:1px solid #78716c;border-radius:12px;flex-direction:column;justify-content:center;align-items:center;gap:10px;display:flex;position:absolute;inset:18px}.drop-overlay small{color:#858589}.quickbar{justify-content:center;align-items:center;gap:7px;height:49px;margin-top:8px;display:flex}.quickbar button{color:#aaaab0;height:35px;font-size:11px}.quickbar>i{background:#29292b;width:1px;height:20px;margin:0 4px}aside{border-left:1px solid var(--line);background:var(--panel);scrollbar-width:thin;scrollbar-color:#3a3a3c transparent;overflow:auto}.panel-heading{justify-content:space-between;align-items:flex-start;padding:22px 22px 18px;display:flex}.panel-heading p,.panel-heading h1{margin:0}.panel-heading p{color:#8f8f94;text-transform:uppercase;letter-spacing:.13em;margin-bottom:6px;font-size:9px}.panel-heading h1{letter-spacing:-.04em;font-size:22px}.source-chip{color:#a8a29e;text-transform:uppercase;letter-spacing:.08em;background:#1d1d1f;border:1px solid #313133;border-radius:7px;padding:6px 8px;font-size:8px}.panel-section{border-top:1px solid var(--line);padding:17px 22px}.section-title{color:#b3b3b7;text-transform:uppercase;letter-spacing:.11em;justify-content:space-between;align-items:center;margin-bottom:13px;font-size:9px;display:flex}.section-title small{color:#525257}.upload-card{color:#f5f5f4;cursor:pointer;background:#171718;border:1px dashed #3a3a3d;border-radius:11px;flex-direction:column;justify-content:center;align-items:center;gap:6px;width:100%;min-height:100px;transition:border-color .18s,background .18s,transform .18s;display:flex}.upload-card:hover{background:#1c1c1e;border-color:#78716c;transform:translateY(-1px)}.upload-card>span,.file-icon{color:#d6d3d1;background:#29292b;border-radius:8px;place-items:center;width:31px;height:31px;display:grid}.upload-card strong{font-size:11px}.upload-card small,.file-card small{color:#77777d;font-size:9px}.file-card{background:#181819;border:1px solid #2e2e30;border-radius:10px;grid-template-columns:38px minmax(0,1fr) 28px;align-items:center;gap:10px;padding:10px;display:grid}.file-card div{min-width:0}.file-card strong,.file-card small{white-space:nowrap;text-overflow:ellipsis;display:block;overflow:hidden}.file-card strong{margin-bottom:4px;font-size:11px}.file-card button{color:#68686d;cursor:pointer;background:0 0;border:0}.select-label{color:#858589;gap:7px;font-size:10px;display:grid}.select-label select{color:#eeeeec;background:#1a1a1b;border:1px solid #353537;border-radius:9px;outline:none;width:100%;padding:9px 10px}.select-label select:focus{border-color:#78716c}.device-meta{color:#77777c;align-items:center;gap:8px;margin-top:10px;font-size:9px;display:flex}.device-meta b{color:#b8b8bc;font-weight:600}.device-meta em{color:#8f8f94;background:#222224;border-radius:5px;margin-left:auto;padding:3px 6px;font-style:normal}.slider-grid{grid-template-columns:1fr 1fr;gap:15px 14px;display:grid}.interior-slider{display:block;position:relative}.slider-label{color:#77777c;justify-content:space-between;margin-bottom:9px;font-size:9px;display:flex}.slider-label output{color:#b8b8bc;font-variant-numeric:tabular-nums}.slider-track{background:#303033;border-radius:4px;height:3px;display:block;position:relative}.slider-track>i{background:#a8a29e;border-radius:4px;height:100%;display:block}.slider-track>b{background:#77777c;width:1px;height:7px;position:absolute;top:-2px}.interior-slider input{opacity:0;cursor:pointer;width:100%;height:15px;position:absolute;bottom:-6px;left:0;right:0}.interior-slider:has(input:focus-visible) .slider-track{outline-offset:3px;outline:2px solid #78716c}.backgrounds{grid-template-columns:repeat(4,1fr);gap:8px;display:grid}.backgrounds button{aspect-ratio:1;cursor:pointer;border:2px solid #0000;border-radius:9px;padding:0;position:relative;overflow:hidden}.backgrounds button.active{border-color:#fafaf9;box-shadow:inset 0 0 0 2px #111}.backgrounds button span{color:#fff;text-transform:uppercase;letter-spacing:.06em;text-shadow:0 1px 3px #000;font-size:7px;position:absolute;bottom:5px;left:6px}.toggle{cursor:pointer;border-top:1px solid #252527;justify-content:space-between;align-items:center;margin-top:15px;padding-top:14px;display:flex}.toggle strong,.toggle small{display:block}.toggle strong{color:#aaaab0;font-size:10px}.toggle small{color:#5f5f65;margin-top:3px;font-size:8px}.toggle input{display:none}.toggle i{background:#303033;border-radius:20px;width:34px;height:19px;transition:background .2s;position:relative}.toggle i:after{content:"";background:#858589;border-radius:50%;width:15px;height:15px;transition:transform .22s,background .2s;position:absolute;top:2px;left:2px}.toggle input:checked+i{background:#57534e}.toggle input:checked+i:after{background:#e7e5e4;transform:translate(15px)}.export-block{border-top:1px solid var(--line);padding:19px 22px 26px}.export-block p{color:#626268;justify-content:center;align-items:center;gap:6px;margin:10px 0 0;font-size:9px;display:flex}.toast{color:#161616;z-index:20;background:#f5f5f4;border-radius:9px;padding:11px 16px;font-size:10px;font-weight:700;position:fixed;bottom:24px;left:50%;transform:translate(-50%);box-shadow:0 16px 50px #0008}@media (width<=920px){.app-shell{height:auto;min-height:100vh;overflow:visible}header{grid-template-columns:1fr auto}.privacy{display:none}main{grid-template-columns:1fr}.workspace{height:70vh;min-height:520px}aside{border-left:0;border-top:1px solid var(--line);overflow:visible}.panel-heading,.panel-section,.export-block{width:100%;max-width:640px;margin-inline:auto}}@media (width<=560px){header{padding:0 12px}.header-actions .icon-button{display:none}.interior-button{min-width:108px}.workspace{height:62vh;min-height:430px;padding:8px}.render-canvas{max-width:calc(100% - 22px);max-height:calc(100% - 28px)}.quickbar{justify-content:flex-start;overflow:auto}.slider-grid{grid-template-columns:1fr}.backgrounds{grid-template-columns:repeat(3,1fr)}}@media (prefers-reduced-motion:reduce){*,:before,:after{transition-duration:.001ms!important;animation-duration:.001ms!important;animation-iteration-count:1!important}}@font-face{font-family:YS Text;src:url(/fonts/ys-text-regular.woff)format("woff");font-weight:400;font-display:swap}@font-face{font-family:YS Text;src:url(/fonts/ys-text-medium.woff)format("woff");font-weight:500;font-display:swap}@font-face{font-family:YS Text;src:url(/fonts/ys-text-bold.woff)format("woff");font-weight:700;font-display:swap}:root{--shell:#090909;--surface:#111;--surface-raised:#171717;--surface-control:#202020;--line:#292929;--line-strong:#3a3a3a;--muted:#858585;--muted-2:#5f5f5f;--text:#f5f5f4;--stone:#e7e5e4;--ink:#151413;--r-xs:9px;--r-sm:12px;--r-md:15px;--r-lg:20px;--control-sm:32px;--control-md:40px;--control-lg:48px;--focus:0 0 0 3px #ffffff24;font-family:YS Text,Inter,ui-sans-serif,system-ui,-apple-system,sans-serif}body,button,select,input{font-family:inherit}body{background:var(--shell)}.app-shell{background:var(--shell);gap:8px;padding:8px}header{border-radius:var(--r-lg);height:64px;box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none;background:0 0;border:0;flex:none;grid-template-columns:1fr auto;padding:0 16px}.brand{border-radius:var(--r-sm);letter-spacing:-.02em;gap:12px;height:44px;padding:0 8px;font-size:15px;transition:background .16s}.brand:hover{background:#141414}.brand strong{color:var(--text);letter-spacing:-.03em;font-size:20px;font-weight:700}.brand small{border-radius:var(--r-xs);background:var(--surface-control);color:var(--muted);text-transform:uppercase;letter-spacing:.12em;padding:4px 8px;font-size:9px;font-weight:500}.brand small,.brand sup,.privacy,.canvas-toolbar,.panel-heading p,.source-chip,.section-title,.backgrounds button span{text-transform:none;letter-spacing:0}.brand small{font-size:9px}.mockups-mark{object-fit:contain;flex:none;width:34px;height:34px;display:block}.brand-mark{color:#e7e5e4;width:32px;height:32px;box-shadow:none;background:0 0;border-radius:0}.brand-mark svg{fill:none;stroke:currentColor;stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round;width:32px;height:32px}.brand-mark svg rect{fill:#0000;stroke:#fff}.thinking-orb{flex:none;width:20px!important;height:20px!important;animation:none!important;display:block!important}main{grid-template-rows:minmax(0,1fr);grid-template-columns:minmax(0,1fr) 374px;gap:8px;overflow:hidden}.workspace{border:1px solid var(--line);border-radius:var(--r-lg);background:var(--surface);min-height:0;padding:12px;box-shadow:0 18px 50px #00000057}.canvas-toolbar{height:50px;padding:2px 4px 8px}.canvas-wrap{border-radius:var(--r-md);background-color:var(--surface-raised);background-image:radial-gradient(circle at 50% 42%,#242424 0,#1a1a1a 56%,#161616 100%);background-position:50%;background-repeat:no-repeat;background-size:cover;border:0;box-shadow:inset 0 1px #ffffff06}.render-canvas{border-radius:0;max-width:none;max-height:none}.quickbar{height:48px;margin-top:8px}.quickbar>i{display:none}.quickbar button,.icon-button{height:var(--control-md);border:1px solid var(--line);border-radius:var(--r-sm);background:var(--surface-control);transition:background .2s,color .2s,border-color .2s,opacity .2s}.icon-button{width:var(--control-md);padding:0}.quickbar button:hover,.icon-button:hover{background:#292929}.quickbar button:active,.icon-button:active{transform:scale(.97)}.quickbar button:focus-visible,.icon-button:focus-visible{box-shadow:var(--focus);outline:0}.interior-button{height:var(--control-md);border-radius:var(--r-sm);background:var(--stone);min-width:124px;color:var(--ink);box-shadow:none;border:0;padding:0 16px;font-size:14px;font-weight:500;transition:background .2s,color .2s,opacity .2s}.interior-button:hover{background:#fff}.interior-button:focus-visible{box-shadow:var(--focus);outline:0}.interior-button[aria-busy=true]{opacity:1}.interior-button.wide{height:var(--control-lg)}aside{border:1px solid var(--line);border-radius:var(--r-lg);background:var(--surface);flex-direction:column;min-height:0;max-height:100%;display:flex;overflow:hidden;box-shadow:0 18px 50px #00000057}.panel-scroll{overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:var(--line-strong) transparent;background:var(--surface);flex:1;min-height:0;padding:8px;overflow-y:auto}.control-section{z-index:1;border:1px solid var(--line);border-radius:var(--r-md);background:var(--surface-raised);box-shadow:none;margin:0 0 8px;padding:0;position:relative;overflow:hidden}.control-section:last-child{margin-bottom:0}.section-summary{width:100%;min-height:56px;color:var(--text);cursor:pointer;-webkit-user-select:none;user-select:none;text-align:left;background:0 0;border:0;justify-content:space-between;align-items:center;padding:0 20px;font-size:14px;font-weight:500;list-style:none;display:flex}.section-summary:focus-visible{box-shadow:inset var(--focus);outline:0}.section-summary>span{align-items:center;gap:9px;display:flex}.section-summary>span>svg{color:var(--muted)}.section-chevron{color:var(--muted);place-items:center;display:grid}.section-reveal{opacity:1;grid-template-rows:1fr;transition:grid-template-rows .32s cubic-bezier(.16,1,.3,1),opacity .2s ease-out,transform .32s cubic-bezier(.16,1,.3,1);display:grid;transform:translateY(0)}.section-reveal[data-open=false]{opacity:0;grid-template-rows:0fr;transform:translateY(-4px)}.section-reveal-inner{min-height:0;overflow:hidden}.section-content{padding:0 20px 20px}.source-control .section-content{padding:16px}.upload-card{border-color:var(--line-strong);border-radius:var(--r-sm);background:var(--surface-control);min-height:104px;transition:border-color .2s,background .2s,transform .2s}.upload-card:hover{transform:translateY(-2px)}.upload-card:focus-visible{box-shadow:var(--focus);outline:0}.file-card{border:1px solid var(--line);border-radius:var(--r-sm);background:var(--surface-control);padding:12px}.device-select-control{position:relative}.device-select-control select{width:100%;min-height:var(--control-lg);appearance:none;border:1px solid var(--line);border-radius:var(--r-sm);background:var(--surface-control);color:var(--text);box-shadow:none;cursor:pointer;padding:8px 42px 8px 14px;font-size:14px}.device-select-control select:focus-visible{box-shadow:var(--focus);outline:0}.device-select-control>svg{color:var(--muted);pointer-events:none;position:absolute;top:50%;right:14px;transform:translateY(-50%)}.interior-segmented{border:1px solid var(--line);border-radius:var(--r-md);background:var(--surface-control);padding:3px}.interior-segmented button{height:var(--control-sm);border-radius:var(--r-sm);color:var(--muted);padding:0 13px;font-size:13px;font-weight:500}.interior-segmented button:focus-visible{box-shadow:var(--focus);outline:0}.segment-active{border:1px solid var(--line-strong);border-radius:var(--r-sm);background:var(--surface-raised);box-shadow:none}.slider-label{color:var(--muted);margin-bottom:12px;font-size:13px}.slider-label output{color:var(--text)}.slider-grid{gap:20px 14px}.slider-track{background:var(--line);height:4px}.slider-track>i{background:var(--stone)}.interior-slider input{appearance:none;opacity:1;cursor:pointer;background:0 0;width:100%;height:20px;margin:0;position:absolute;bottom:-8px;left:0;right:0}.interior-slider input::-webkit-slider-runnable-track{background:0 0;height:4px}.interior-slider input::-webkit-slider-thumb{appearance:none;background:var(--stone);border:0;border-radius:6px;width:16px;height:16px;margin-top:-6px;box-shadow:0 1px 4px #00000087}.interior-slider input::-moz-range-track{background:0 0;height:4px}.interior-slider input::-moz-range-thumb{background:var(--stone);border:0;border-radius:6px;width:16px;height:16px;box-shadow:0 1px 4px #00000087}.interior-slider:has(input:focus-visible) .slider-track{box-shadow:var(--focus);outline:0}.backgrounds{gap:9px}.backgrounds button{border-radius:var(--r-sm)}.backgrounds button:focus-visible{box-shadow:var(--focus);outline:0}.toggle{border-radius:var(--r-sm);background:var(--surface-control);cursor:default;border:0;margin-top:14px;padding:12px}.toggle-track{background:var(--line);cursor:pointer;border:0;border-radius:99px;width:42px;height:24px;padding:2px;transition:background .2s}.toggle-track[data-on=true]{background:var(--stone)}.toggle-track:focus-visible{box-shadow:var(--focus);outline:0}.toggle-knob{background:var(--muted);border-radius:50%;width:20px;height:20px;display:block}.toggle-track[data-on=true] .toggle-knob{background:var(--ink)}.export-block{z-index:4;border-radius:var(--r-md);background:var(--surface);border:0;flex:none;margin:0 8px 8px;padding:8px 8px 4px;position:relative;box-shadow:0 -18px 32px #111111f0}@media (width<=920px){.app-shell{gap:8px;height:auto;min-height:100vh;padding:8px}main{grid-template-rows:auto;grid-template-columns:1fr;gap:8px;overflow:visible}.workspace{border-radius:16px}aside{border:0;border-radius:16px;max-height:none;display:block;overflow:visible}.panel-scroll{overflow:visible}.control-section,.export-block{width:auto;max-width:none}.export-block{box-shadow:none;position:static}}@media (width<=560px){.app-shell{gap:6px;padding:6px}header{border-radius:13px;padding:0 12px}.brand strong{font-size:17px}.brand small{padding-inline:6px}.mockups-mark{width:31px;height:31px}.workspace,aside{border-radius:14px}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}
