@font-face{font-family:BeaconSystem;src:local('Segoe UI Variable Text'),local('Segoe UI');font-display:swap}
:root{font-family:BeaconSystem,Inter,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;color-scheme:dark;--bg:#202020;--sidebar:#1b1b1b;--panel:#282828;--raised:#303030;--hover:#343434;--line:#3b3b39;--line-soft:#30302f;--text:#f0efeb;--muted:#b3b1aa;--faint:#a29f97;--ink:#ecebe6;--onink:#252523;--green:#a3cbb5;--green-bg:#28372f;--amber:#ddc28d;--amber-bg:#383126;--red:#f0aaa2;--red-bg:#3b2e2d;--shadow:0 14px 60px #0002;--radius:20px}
:root[data-theme=light]{color-scheme:light;--bg:#f8f7f3;--sidebar:#efeee9;--panel:#fffefa;--raised:#f0efe9;--hover:#e9e8e1;--line:#dddbd2;--line-soft:#e8e6de;--text:#282925;--muted:#65665d;--faint:#696b62;--ink:#2d302a;--onink:#fffefa;--green:#3b7257;--green-bg:#e6eee6;--amber:#88682e;--amber-bg:#f4ecd9;--red:#ad4940;--red-bg:#f9e9e5;--shadow:0 14px 60px #292a2410}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font-size:14px;line-height:1.5;-webkit-font-smoothing:antialiased}button,input,textarea,select{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer;color:inherit}button:disabled{cursor:not-allowed;opacity:.48}a{color:inherit;text-decoration:none}button,input,textarea,select{outline:none}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:2px solid var(--green);outline-offset:4px}::selection{background:var(--green);color:var(--onink)}h1,h2,h3,p{margin-top:0}h1,h2,h3{font-weight:500}h1{font-size:clamp(34px,4.1vw,52px);line-height:1.12;letter-spacing:-2px;margin-bottom:19px}h2{font-size:23px;line-height:1.25;letter-spacing:-.65px;margin-bottom:14px}h3{font-size:15px;letter-spacing:-.15px;margin-bottom:6px}small{font-size:12px}strong{font-weight:600}img{max-width:100%;display:block}[hidden]{display:none!important}.icon{display:inline-block;width:19px;height:19px;flex:none;background:currentColor;mask-image:var(--icon);mask-size:contain;mask-repeat:no-repeat;mask-position:center;vertical-align:middle}.spin{animation:spin 1.5s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.skip-link{position:fixed;top:-60px;left:20px;z-index:99;background:var(--ink);color:var(--onink);padding:12px;border-radius:10px}.skip-link:focus{top:12px}.boot{min-height:100dvh;display:grid;align-content:center;justify-items:center;gap:18px}.boot strong{font-size:24px;letter-spacing:-1px}.boot p{color:var(--muted)}.boot-mark{height:38px;width:38px;border:1px solid var(--muted);border-radius:12px;position:relative}.boot-mark:after{content:'';position:absolute;inset:9px;border:1px solid var(--green);border-radius:4px}.app-shell{display:grid;grid-template-columns:230px minmax(0,1fr);min-height:100dvh}.sidebar{position:sticky;top:0;height:100dvh;display:flex;flex-direction:column;background:var(--sidebar);border-right:1px solid var(--line-soft);padding:33px 19px 22px}.brand{display:flex;align-items:center;gap:11px;font-size:23px;font-weight:600;letter-spacing:-.95px;border:0;padding:0;background:transparent}.brand-mark{display:grid;place-items:center;width:33px;height:33px;border-radius:10px;background:var(--ink);color:var(--onink)}.brand-mark .icon{width:23px;height:23px}.sidebar .brand{margin-left:13px;margin-bottom:41px}.nav-list{display:flex;flex-direction:column;gap:6px}.nav-button{display:flex;gap:12px;align-items:center;min-height:44px;border:0;border-radius:11px;background:transparent;color:var(--muted);padding:11px 14px;text-align:left}.nav-button:hover{background:var(--raised);color:var(--text)}.nav-button[aria-current=page]{background:var(--raised);color:var(--text)}.nav-button .nav-count{margin-left:auto;font-size:11px;border-radius:5px;background:var(--line);padding:0 6px;color:var(--muted)}.nav-caption{margin:35px 14px 11px;font-size:10px;text-transform:uppercase;letter-spacing:1.6px;color:var(--faint)}.sidebar-footer{margin-top:auto;padding:22px 12px 0;border-top:1px solid var(--line-soft)}.host-mini{display:flex;align-items:center;gap:10px}.host-mini>.icon{color:var(--muted)}.host-mini strong{font-size:12px;display:block;font-weight:500}.host-mini small{font-size:11px;color:var(--muted)}.sidebar-footline{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:17px;color:var(--faint);font-size:11px}.main-wrap{min-width:0}.topbar{height:83px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line-soft);padding:0 42px;gap:16px}.breadcrumb{font-size:12px;color:var(--muted);display:flex;align-items:center;gap:10px}.breadcrumb .icon{width:13px;height:13px;color:var(--faint)}.breadcrumb strong{font-weight:400;color:var(--text)}.top-actions{display:flex;align-items:center;gap:12px}.icon-button{border:1px solid transparent;background:transparent;color:var(--muted);width:38px;height:38px;display:grid;place-items:center;border-radius:50%;padding:0}.icon-button:hover{background:var(--raised);color:var(--text)}.icon-button .icon{width:18px;height:18px}.connection-pill{display:flex;align-items:center;gap:7px;font-size:11px;color:var(--muted);border:1px solid var(--line);padding:6px 10px;border-radius:30px;background:transparent}.status-dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:var(--green);flex:none}.status-dot.off{background:var(--amber)}.mobile-header,.mobile-nav{display:none}.main{max-width:1250px;margin:auto;padding:51px 57px 70px;min-height:calc(100dvh - 83px)}.eyebrow{font-size:10px;letter-spacing:1.8px;text-transform:uppercase;color:var(--faint);margin-bottom:18px}.muted{color:var(--muted)}.faint{color:var(--faint)}.lead{font-size:15px;line-height:1.65;color:var(--muted);max-width:46ch;margin-bottom:26px}.page-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:31px}.page-heading h1{font-size:36px;margin-bottom:11px;letter-spacing:-1.3px}.page-heading p{margin:0;color:var(--muted);font-size:13px}.button{border:1px solid var(--line);background:transparent;padding:10px 15px;min-height:42px;border-radius:11px;display:inline-flex;align-items:center;justify-content:center;gap:8px;font-size:12px;font-weight:500;white-space:nowrap}.button:hover{background:var(--raised)}.button.primary{background:var(--ink);color:var(--onink);border-color:var(--ink)}.button.primary:hover{filter:brightness(.91)}.button.soft{background:var(--raised);border-color:transparent}.button.danger{color:var(--red)}.button .icon{width:16px;height:16px}.button.small{font-size:11px;min-height:34px;padding:7px 11px;border-radius:8px}.button.full{width:100%}.text-button{padding:0;border:0;background:transparent;color:var(--muted);font-size:12px;display:inline-flex;gap:6px;align-items:center}.text-button:hover{color:var(--text)}.text-button .icon{width:14px;height:14px}.hero{padding:7px 0 41px;display:grid;grid-template-columns:minmax(0,1.1fr) minmax(260px,.8fr);gap:70px;align-items:center}.hero-copy{padding:12px 0 0}.hero-copy h1{max-width:11.5ch}.feature-strip{display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:22px 0;gap:20px;margin-bottom:40px}.feature{display:flex;gap:12px}.feature>.icon{width:17px;height:17px;color:var(--muted);margin-top:2px}.feature strong{font-weight:500;font-size:12px;display:block}.feature small{display:block;color:var(--muted);font-size:11px;margin-top:4px}.section-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 16px}.section-head h2{font-size:14px;letter-spacing:0;margin:0}.section-head small{color:var(--faint);font-size:11px}.panel{background:var(--panel);border:1px solid var(--line);border-radius:var(--radius);padding:24px}.panel-subtle{border:1px solid var(--line);border-radius:var(--radius);padding:24px}.panel-label{font-size:10px;letter-spacing:1.3px;text-transform:uppercase;color:var(--faint);margin-bottom:19px;display:flex;justify-content:space-between;align-items:center}.empty-state{border:1px dashed var(--line);border-radius:17px;min-height:180px;padding:30px 22px;text-align:center;display:grid;justify-items:center;align-content:center}.empty-state>.icon{color:var(--faint);width:25px;height:25px;margin-bottom:14px}.empty-state h3{font-size:14px;font-weight:500;margin-bottom:5px}.empty-state p{font-size:12px;max-width:40ch;color:var(--muted);margin:0;line-height:1.7}.empty-state .button{margin-top:17px}.notice{display:flex;gap:10px;align-items:flex-start;background:var(--amber-bg);color:var(--amber);font-size:12px;line-height:1.6;border-radius:12px;padding:13px 15px;margin-bottom:22px}.notice>.icon{width:17px;height:17px;margin-top:1px}.notice p{margin:0}.notice.info{background:var(--raised);color:var(--muted)}.notice.success{background:var(--green-bg);color:var(--green)}.notice.error{background:var(--red-bg);color:var(--red)}.create-grid{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(240px,.85fr);gap:24px;align-items:start}.form-label{font-size:11px;color:var(--muted);display:block;margin-bottom:9px}.field{margin-bottom:24px}.input,select{width:100%;background:var(--bg);color:var(--text);border:1px solid var(--line);border-radius:11px;min-height:44px;padding:11px 13px;font-size:13px}.input::placeholder{color:var(--faint)}textarea.input{min-height:170px;line-height:1.75;resize:vertical}.prompt-wrap{border:1px solid var(--line);border-radius:16px;background:var(--bg);overflow:hidden}.prompt-wrap textarea{border:0;border-radius:0;min-height:179px;padding:17px 18px;background:transparent}.prompt-wrap textarea:focus-visible{outline-offset:-3px}.prompt-foot{display:flex;align-items:center;justify-content:space-between;padding:0 12px 12px;gap:8px}.prompt-foot .button{border-color:var(--line-soft);font-weight:400}.prompt-foot small{font-size:10px;color:var(--faint)}.dimension-row{display:flex;gap:9px}.dimension-button{border:1px solid var(--line);background:transparent;flex:1;min-height:66px;border-radius:11px;display:flex;align-items:center;justify-content:center;gap:9px;padding:10px 7px;font-size:11px;color:var(--muted)}.dimension-button[aria-pressed=true]{background:var(--raised);color:var(--text);border-color:var(--muted)}.ratio-symbol{display:block;border:1px solid currentColor;border-radius:2px;width:16px;height:16px}.ratio-symbol.landscape{width:19px;height:14px}.ratio-symbol.portrait{width:14px;height:19px}.submit-row{display:flex;align-items:center;gap:13px;margin-top:26px}.submit-row .button{min-width:162px}.submit-row small{font-size:10px;color:var(--faint);line-height:1.55;max-width:17ch}.quiet-note{font-size:11px;color:var(--faint);line-height:1.8;margin:15px 0 0}.reference-list{display:flex;gap:9px;flex-wrap:wrap;margin-top:12px}.reference-chip{display:flex;gap:8px;align-items:center;background:var(--raised);border-radius:9px;padding:5px 6px;font-size:11px;max-width:100%}.reference-chip img{width:33px;height:33px;border-radius:5px;object-fit:cover}.reference-chip span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:150px}.reference-chip .icon-button{width:26px;height:26px}.reference-chip .icon{width:14px;height:14px}.studio-aside{display:flex;flex-direction:column;gap:20px}.studio-aside h3{font-size:16px;line-height:1.4;margin-bottom:12px}.studio-aside p{font-size:12px;line-height:1.75;color:var(--muted);margin:0}.step-list{list-style:none;margin:22px 0 0;padding:0;display:flex;flex-direction:column;gap:16px}.step-list li{display:flex;gap:10px;align-items:flex-start;font-size:11px;color:var(--muted);line-height:1.6}.step-number{border:1px solid var(--line);border-radius:50%;height:21px;width:21px;flex:none;display:grid;place-items:center;font-size:10px;color:var(--text)}.host-state{display:flex;align-items:center;gap:9px;font-size:12px;margin-bottom:7px}.jobs-list{display:flex;flex-direction:column}.job-row{display:flex;gap:15px;align-items:center;padding:18px 0;border-bottom:1px solid var(--line-soft);width:100%;border-left:0;border-right:0;border-top:0;background:transparent;text-align:left}.job-row:first-child{padding-top:3px}.job-row:last-child{border-bottom:0}.job-thumb{width:64px;height:64px;background:var(--raised);border:1px solid var(--line-soft);border-radius:12px;flex:none;display:grid;place-items:center;color:var(--faint);overflow:hidden}.job-thumb img{height:100%;width:100%;object-fit:cover}.job-thumb .icon{width:22px;height:22px}.job-summary{flex:1;min-width:0}.job-summary strong{display:block;font-size:13px;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-bottom:5px}.job-summary small{color:var(--muted);font-size:10px;display:flex;gap:7px;align-items:center;flex-wrap:wrap}.job-row>.icon{color:var(--faint);width:16px;height:16px}.state-badge{display:inline-flex;gap:5px;align-items:center;border-radius:5px;background:var(--raised);color:var(--muted);font-size:10px;line-height:1.5;padding:3px 6px}.state-badge.success{color:var(--green);background:var(--green-bg)}.state-badge.error{color:var(--red);background:var(--red-bg)}.state-badge.active{color:var(--amber);background:var(--amber-bg)}.state-badge .icon{width:11px;height:11px}.filter-row{display:flex;gap:7px;margin-bottom:26px;flex-wrap:wrap}.filter-button{font-size:11px;border:1px solid transparent;background:transparent;border-radius:8px;padding:7px 11px;color:var(--muted)}.filter-button[aria-pressed=true]{background:var(--raised);border-color:var(--line);color:var(--text)}.job-detail-header{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:25px}.job-title{font-size:28px;letter-spacing:-.9px;line-height:1.3;margin:13px 0 9px}.job-details{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(240px,.8fr);gap:25px}.result-stage{border-radius:20px;background:var(--panel);border:1px solid var(--line);overflow:hidden;min-height:300px;display:grid;place-items:center}.result-stage img{width:100%;max-height:650px;object-fit:contain}.result-wait{padding:55px 35px;text-align:center;max-width:390px}.result-wait>.icon{width:37px;height:37px;color:var(--muted);margin-bottom:22px}.result-wait h3{font-size:19px;letter-spacing:-.4px;margin-bottom:12px}.result-wait p{font-size:12px;line-height:1.8;color:var(--muted)}.progress-track{height:4px;border-radius:4px;background:var(--line);overflow:hidden;margin:20px 0 9px}.progress-track>span{display:block;height:100%;background:var(--green);transition:width .4s}.detail-prompt{font-size:13px;line-height:1.8;color:var(--text);white-space:pre-wrap;overflow-wrap:anywhere}.meta-row{display:flex;justify-content:space-between;gap:14px;padding:12px 0;border-top:1px solid var(--line-soft);font-size:11px}.meta-row span:first-child{color:var(--muted)}.meta-row span:last-child{max-width:65%;text-align:right;overflow-wrap:anywhere}.detail-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:18px}.result-thumbnails{display:flex;gap:9px;margin-top:13px}.result-thumbnails button{width:58px;height:58px;padding:0;background:var(--raised);border:1px solid var(--line);border-radius:9px;overflow:hidden}.result-thumbnails img{width:100%;height:100%;object-fit:cover}.model-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px}.model-card{padding:22px}.model-top{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:20px}.model-kind{width:37px;height:37px;background:var(--raised);border-radius:11px;display:grid;place-items:center;color:var(--muted)}.model-kind .icon{width:19px;height:19px}.model-card h3{font-size:17px;overflow-wrap:anywhere}.model-card p{color:var(--muted);font-size:11px;line-height:1.7;margin-bottom:18px;overflow-wrap:anywhere}.model-tags{display:flex;gap:7px;flex-wrap:wrap;margin-bottom:21px}.model-tags span{font-size:9px;letter-spacing:.2px;border:1px solid var(--line);border-radius:5px;padding:3px 6px;color:var(--muted)}.model-card .button{width:100%}.pair-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.9fr);gap:25px;align-items:start}.pair-grid>div{min-width:0}.pair-qr{width:174px;height:174px;border-radius:13px;margin:24px auto 18px;background:#fff;padding:13px;display:grid;place-items:center}.pair-qr img{width:100%;height:100%}.pair-placeholder{display:grid;place-items:center;width:100%;height:100%;background:#f4f3ef;color:#595b52;border-radius:6px}.pair-placeholder .icon{width:46px;height:46px}.pair-code{text-align:center;font-variant-numeric:tabular-nums;letter-spacing:5px;font-size:24px;font-weight:500;margin:15px 0 7px;overflow-wrap:anywhere}.pair-caption{font-size:11px;line-height:1.6;text-align:center;color:var(--muted);margin-bottom:21px}.pair-address{font-size:11px;overflow-wrap:anywhere;color:var(--muted);background:var(--bg);padding:11px 12px;border:1px solid var(--line);border-radius:9px;margin:14px 0}.pair-actions{display:flex;justify-content:center;gap:10px;margin-top:19px}.request{border:1px solid var(--line);border-radius:13px;padding:17px;margin-top:13px}.request h3{font-size:14px;display:flex;gap:8px;align-items:center}.request p{font-size:11px;color:var(--muted);line-height:1.7;margin-bottom:13px}.verification{font-size:21px;font-variant-numeric:tabular-nums;letter-spacing:4px;margin:13px 0 17px}.request-actions{display:flex;gap:8px}.device-row{display:flex;gap:12px;align-items:center;padding:17px 0;border-bottom:1px solid var(--line-soft)}.device-row:last-child{border-bottom:0}.device-row>.icon{width:21px;height:21px;color:var(--muted)}.device-info{flex:1;min-width:0}.device-info strong{font-size:12px;font-weight:500;display:block;overflow-wrap:anywhere}.device-info small{font-size:10px;color:var(--muted)}.device-row .button{flex:none}.connection-setting{margin-top:24px}.connection-setting p{font-size:11px;line-height:1.7;color:var(--muted)}.connection-setting .input{font-size:12px}.connection-setting .button{margin-top:11px}.pair-screen{max-width:440px;margin:0 auto;padding:52px 26px;min-height:100dvh;display:flex;flex-direction:column}.pair-screen .brand{margin:0 auto 69px;font-size:25px}.pair-screen h1{font-size:37px;letter-spacing:-1.5px;max-width:12ch}.pair-screen .lead{font-size:13px;margin-bottom:31px}.pair-screen .panel{padding:23px}.pair-screen label{font-size:11px}.pair-screen .input{margin-bottom:20px}.code-input{letter-spacing:3px;font-variant-numeric:tabular-nums;font-size:18px!important;text-transform:uppercase}.pair-screen .quiet-note{margin-top:23px;text-align:center}.pair-screen-footer{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-top:auto;padding-top:40px;font-size:10px;color:var(--faint)}.pair-wait{text-align:center;padding:20px 0 8px}.pair-wait>.icon{width:37px;height:37px;color:var(--muted);margin-bottom:23px}.pair-wait h2{font-size:22px}.pair-wait p{font-size:12px;color:var(--muted);line-height:1.8}.pair-wait .verification{font-size:29px;margin:25px 0}.toasts{position:fixed;bottom:26px;left:50%;transform:translateX(-50%);width:min(460px,calc(100% - 40px));z-index:100;pointer-events:none;display:flex;flex-direction:column;gap:8px}.toast{border:1px solid var(--line);background:var(--panel);box-shadow:var(--shadow);padding:14px 17px;border-radius:13px;font-size:12px;display:flex;align-items:flex-start;gap:10px;pointer-events:auto}.toast>.icon{width:17px;height:17px;color:var(--green);margin-top:1px}.toast.error>.icon{color:var(--red)}dialog{border:1px solid var(--line);border-radius:23px;background:var(--panel);color:var(--text);padding:27px;max-width:500px;width:calc(100% - 32px);box-shadow:var(--shadow)}dialog::backdrop{background:#0007;backdrop-filter:blur(3px)}.modal-head{display:flex;gap:15px;align-items:center;justify-content:space-between;margin-bottom:18px}.modal-head h2{font-size:23px;margin:0}.modal-body p{font-size:13px;color:var(--muted);line-height:1.7}.modal-footer{display:flex;justify-content:flex-end;gap:9px;margin-top:25px}.error-copy{font-size:12px;color:var(--red);line-height:1.6;margin:14px 0}.inline-status{font-size:11px;color:var(--muted);line-height:1.7}.connection-banner{margin:-22px 0 27px}.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}
@media(min-width:1500px){.main{padding-top:65px}.hero{gap:90px}.sidebar{padding-left:24px;padding-right:24px}.app-shell{grid-template-columns:250px minmax(0,1fr)}}
@media(max-width:1150px){.main{padding:39px 33px 60px}.app-shell{grid-template-columns:200px minmax(0,1fr)}.topbar{padding:0 32px}.sidebar{padding-left:13px;padding-right:13px}.hero{gap:35px}.create-grid{grid-template-columns:minmax(0,1.5fr) minmax(210px,.8fr);gap:18px}.panel{padding:20px}.feature{gap:8px}.feature-strip{gap:14px}.pair-grid{gap:18px}}
@media(max-width:900px){.app-shell{grid-template-columns:174px minmax(0,1fr)}.sidebar{padding-top:25px}.sidebar .brand{font-size:21px;margin-left:8px}.brand-mark{width:29px;height:29px;border-radius:8px}.nav-button{font-size:12px;padding:10px 11px;gap:10px}.main{padding:31px 26px 50px}.topbar{height:72px;padding:0 26px}.hero{gap:24px;grid-template-columns:minmax(0,1.1fr) minmax(190px,.8fr)}.hero h1{font-size:39px;letter-spacing:-1.6px}.lead{font-size:13px}.feature-strip{grid-template-columns:1fr;gap:15px;padding:20px 0}.feature{align-items:center;gap:11px}.feature strong{display:inline}.feature small{display:inline;margin-left:7px}.create-grid{grid-template-columns:1fr}.studio-aside{display:grid;grid-template-columns:1fr 1fr}.studio-aside .step-list{display:none}.pair-grid,.job-details{grid-template-columns:1fr}.model-grid{grid-template-columns:1fr}.page-heading h1{font-size:32px}.page-heading{margin-bottom:26px}}
@media(max-width:640px){body{font-size:14px}.app-shell{display:block}.sidebar,.topbar{display:none}.mobile-header{display:flex;align-items:center;justify-content:space-between;padding:23px 23px 16px;gap:13px;position:relative;padding-top:max(23px,env(safe-area-inset-top));background:var(--bg)}.mobile-header .brand{font-size:22px;gap:10px}.mobile-header .brand-mark{width:29px;height:29px;border-radius:8px}.mobile-header .brand-mark .icon{width:21px;height:21px}.mobile-header-actions{display:flex;gap:5px}.mobile-header .icon-button{width:35px;height:35px}.mobile-header .icon{width:18px;height:18px}.main{padding:20px 23px 117px;min-height:calc(100dvh - 82px);width:100%}.eyebrow{font-size:9px;letter-spacing:1.5px;margin-bottom:17px}.hero{display:block;padding:2px 0 25px}.hero-copy{padding:0}.hero-copy h1{font-size:39px;letter-spacing:-1.7px;max-width:12ch;margin-bottom:15px}.hero .lead{font-size:13px;line-height:1.7;max-width:32ch;margin-bottom:22px}.hero .button{font-size:12px;padding:11px 14px;min-height:44px}.feature-strip{margin-bottom:30px;padding:18px 0;gap:14px}.feature small{font-size:10px;display:block;margin-left:0;margin-top:3px}.feature strong{font-size:11px}.feature>.icon{width:17px;height:17px}.feature-strip .feature:last-child{display:none}.page-heading{margin-bottom:24px;gap:10px}.page-heading h1{font-size:32px;letter-spacing:-1.25px;line-height:1.15;margin-bottom:10px}.page-heading p{font-size:12px;line-height:1.7}.page-heading>.button{min-height:37px;padding:8px 10px;font-size:10px;margin-top:3px}.page-heading>.button .icon{width:14px;height:14px}.panel,.panel-subtle{padding:20px;border-radius:18px}.create-grid{gap:19px}.create-grid>.panel{padding:19px 17px}.form-label{font-size:10px}.field{margin-bottom:22px}.input,select{font-size:16px;min-height:46px}.prompt-wrap textarea{padding:14px 14px;min-height:170px;font-size:16px;line-height:1.65}.prompt-foot{padding:0 9px 10px}.prompt-foot .button{font-size:10px;min-height:34px;padding:6px 9px}.prompt-foot small{font-size:9px}.dimension-row{gap:7px}.dimension-button{font-size:10px;min-height:60px;gap:7px}.submit-row{margin-top:23px}.submit-row .button{min-width:0;flex:1;min-height:45px}.submit-row small{font-size:9px;max-width:15ch}.studio-aside{display:block}.studio-aside .panel-subtle{padding:18px}.studio-aside .panel{display:none}.studio-aside h3{font-size:14px;margin-bottom:7px}.studio-aside p{font-size:11px}.quiet-note{font-size:10px;line-height:1.75}.job-row{gap:12px;padding:16px 0}.job-thumb{width:60px;height:60px;border-radius:12px}.job-summary strong{font-size:12px}.job-summary small{font-size:9px;gap:6px}.section-head h2{font-size:13px}.section-head .text-button{font-size:10px}.empty-state{min-height:170px}.empty-state h3{font-size:13px}.empty-state p{font-size:11px}.mobile-nav{display:flex;justify-content:space-around;align-items:center;position:fixed;bottom:0;left:0;right:0;padding:10px 12px calc(10px + env(safe-area-inset-bottom));background:var(--bg);border-top:1px solid var(--line);z-index:20}.mobile-nav .nav-button{display:flex;flex:1;align-items:center;justify-content:center;flex-direction:column;gap:5px;font-size:10px;border-radius:9px;min-height:52px;padding:8px 6px;background:transparent}.mobile-nav .nav-button[aria-current=page]{color:var(--text)}.mobile-nav .nav-button .icon{width:20px;height:20px}.mobile-nav .nav-count{display:none}.connection-banner{margin:-1px 0 22px}.notice{padding:12px;font-size:11px}.model-grid{gap:13px}.model-card{padding:19px}.model-top{margin-bottom:15px}.model-card h3{font-size:16px}.pair-grid{gap:20px}.pair-qr{width:165px;height:165px}.device-row .button{font-size:10px;min-height:35px;padding:7px 9px}.pair-screen{padding:35px 25px;min-height:100dvh}.pair-screen .brand{margin-bottom:54px}.pair-screen h1{font-size:36px}.pair-screen .panel{padding:21px}.pair-screen .input{font-size:16px}.pair-screen-footer{padding-bottom:env(safe-area-inset-bottom)}.pair-wait .verification{font-size:27px}.job-title{font-size:24px;letter-spacing:-.7px}.job-detail-header{margin-bottom:20px}.job-details{gap:18px}.result-stage{min-height:290px}.result-wait{padding:40px 25px}.result-wait h3{font-size:18px}.result-wait p{font-size:11px}.detail-prompt{font-size:12px}.toasts{bottom:96px;width:calc(100% - 34px)}dialog{padding:23px;border-radius:21px}.modal-head h2{font-size:21px}.modal-body p{font-size:12px}.button,.icon-button,.text-button{touch-action:manipulation}.filter-button{min-height:37px}.connection-setting .input{font-size:16px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* Keep compact controls comfortable to tap on phones. */
@media(max-width:640px){.mobile-header .icon-button{width:44px;height:44px}.prompt-foot .button,.filter-button,.device-row .button{min-height:44px}.reference-chip .icon-button{width:44px;height:44px}.text-button{min-height:44px}.pair-screen-footer .icon-button{width:44px;height:44px}}
.connection-summary{font-size:12px;color:var(--muted);cursor:pointer;min-height:24px}.connection-summary:focus-visible{outline:2px solid var(--green);outline-offset:5px;border-radius:3px}.connection-setting[open] .connection-summary{margin-bottom:23px;color:var(--text)}

/* Generated PNG artwork is shared by the installed app and both studio themes. */
.generated-mark{overflow:hidden;background:#202020}.generated-mark img{width:100%;height:100%;object-fit:cover}
.studio-art{margin:0;aspect-ratio:1.12;max-height:325px;min-width:0;border:1px solid var(--line);border-radius:25px;background:var(--panel);display:flex;flex-direction:column;align-items:center;justify-content:center;overflow:hidden;padding:14px 19px 21px}
.studio-art img{width:100%;height:calc(100% - 20px);min-height:0;object-fit:contain}
.studio-art figcaption{font-size:10px;text-transform:uppercase;letter-spacing:1.3px;color:var(--muted);align-self:flex-start;margin:8px 5px 0}
.mobile-only{display:none}.install-card{border:1px solid var(--line);background:var(--panel);border-radius:16px;padding:14px;gap:12px;align-items:center;margin:0 0 29px}.install-card-mark{width:44px;height:44px;flex:none;border-radius:11px;overflow:hidden}.install-card>div{flex:1;min-width:0}.install-card h2{font-size:12px;line-height:1.4;letter-spacing:-.15px;margin:0 0 3px}.install-card p{font-size:10px;color:var(--muted);margin:0}.install-card>.icon-button{width:28px;height:40px;margin-left:-6px}.install-card>.button{font-size:11px;min-height:44px;padding:8px 10px}
.install-steps{padding-left:22px;font-size:13px;line-height:1.75;color:var(--text)}.install-steps li{padding:7px 0 7px 4px}.notice .text-button{margin-top:7px;color:inherit}.notice small{font-size:10px;color:inherit;opacity:.9;display:block;margin-top:3px}
.reference-chip img,.result-stage img{image-orientation:from-image}
.main{scroll-margin-top:20px}input,textarea,select,button,a,summary{scroll-margin-block:80px 120px}
@media(max-width:900px) and (min-width:641px){.studio-art{max-height:270px;padding:14px}.studio-art figcaption{font-size:9px;letter-spacing:.9px}}
@media(max-width:640px){
  html{scroll-padding-top:20px;scroll-padding-bottom:110px}
  .main{padding-left:max(23px,env(safe-area-inset-left));padding-right:max(23px,env(safe-area-inset-right));padding-bottom:calc(115px + env(safe-area-inset-bottom))}
  .mobile-header{padding-left:max(23px,env(safe-area-inset-left));padding-right:max(23px,env(safe-area-inset-right))}
  .mobile-header .icon-button{width:44px;height:44px}.mobile-header-actions{gap:1px}
  .mobile-nav{padding-left:max(12px,env(safe-area-inset-left));padding-right:max(12px,env(safe-area-inset-right))}
  .mobile-nav .nav-button{min-height:54px;font-size:11px}
  .mobile-only{display:flex}
  .hero{position:relative}.hero-copy h1{font-size:37px;max-width:11.4ch;position:relative;z-index:1}.hero-copy .eyebrow{max-width:19ch}.hero-copy .lead{margin-top:24px;font-size:14px;max-width:34ch}
  .studio-art{position:absolute;right:-9px;top:3px;width:122px;height:150px;aspect-ratio:auto;padding:0;border:0;background:transparent;max-height:none;pointer-events:none}.studio-art img{height:100%}.studio-art figcaption{display:none}
  .hero .button{min-height:48px;font-size:13px;padding:11px 15px}.feature-strip{margin-bottom:25px}
  .form-label{font-size:12px}.prompt-foot .button{font-size:11px;min-height:48px}.prompt-foot small{font-size:10px}
  .dimension-button{min-height:66px;font-size:11px}.submit-row .button{min-height:48px;font-size:13px}.submit-row small{font-size:10px;max-width:14ch}.quiet-note{font-size:11px}
  .page-heading p{font-size:13px}.page-heading>.button{min-height:44px;font-size:11px}.button.small,.filter-button,.device-row .button{min-height:44px}
  .job-summary strong{font-size:13px}.job-summary small{font-size:10px}.job-row{min-height:84px}.reference-chip .icon-button{width:44px;height:44px}
  .pair-screen{padding-left:max(25px,env(safe-area-inset-left));padding-right:max(25px,env(safe-area-inset-right));padding-top:max(35px,env(safe-area-inset-top))}.pair-screen .button{min-height:48px;font-size:13px}.pair-screen .brand{margin-bottom:46px}.pair-screen .lead{font-size:14px}.pair-screen .form-label{font-size:12px}.pair-screen-footer{padding-bottom:max(12px,env(safe-area-inset-bottom))}
  .keyboard-active .mobile-nav{display:none}.keyboard-active .main{padding-bottom:30px}.keyboard-active .toasts{bottom:16px}
  .connection-summary{min-height:44px;display:list-item;align-content:center}.toasts{bottom:calc(96px + env(safe-area-inset-bottom))}.notice{font-size:12px}.notice small{font-size:11px}
  dialog{max-height:calc(100dvh - 32px - env(safe-area-inset-top) - env(safe-area-inset-bottom));overflow-y:auto}.modal-footer .button{min-height:44px}.install-steps{font-size:13px}
}
@media(max-width:360px){.hero-copy h1{font-size:34px;max-width:none}.studio-art{display:none}.install-card{gap:8px;padding:12px}.install-card h2{font-size:11px}.install-card p{font-size:9px}.install-card-mark{width:37px;height:37px}.install-card>.icon-button{width:24px}.dimension-button{gap:5px}.mobile-header{padding-left:20px;padding-right:18px}}

.hero-actions{display:flex;gap:10px;flex-wrap:wrap}.main[data-view=chat]{padding-top:28px;padding-bottom:22px;height:calc(100dvh - 83px);min-height:0;display:flex;flex-direction:column;max-width:1180px}.main[data-view=chat]>#connection-state{flex:none}.main[data-view=chat] .connection-banner{margin:0 0 16px}.chat-layout{flex:1;min-height:0;display:flex;flex-direction:column}.chat-toolbar{display:flex;justify-content:space-between;align-items:center;gap:15px;padding-bottom:20px;flex:none}.chat-toolbar>div:first-child{min-width:0}.chat-toolbar .eyebrow{font-size:9px;letter-spacing:1.4px;margin-bottom:8px}.chat-toolbar h1{font-size:25px;letter-spacing:-.7px;line-height:1.25;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:650px;margin:0}.chat-toolbar-actions{display:flex;gap:5px;flex:none}.chat-toolbar .icon-button{border:1px solid var(--line);border-radius:10px;width:39px;height:39px}.chat-messages{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:8px 22px 22px 2px;scrollbar-width:thin;scrollbar-color:var(--line) transparent}.chat-empty{height:100%;min-height:180px;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;max-width:450px;margin:auto;padding-bottom:35px}.chat-empty>.icon{width:30px;height:30px;color:var(--muted);margin-bottom:23px}.chat-empty h2{font-size:29px;letter-spacing:-1px;line-height:1.23;margin-bottom:15px}.chat-empty p{font-size:13px;line-height:1.8;color:var(--muted);max-width:40ch}.chat-message{max-width:780px;margin:0 auto 28px}.chat-message.from-user{padding:18px 21px;background:var(--panel);border:1px solid var(--line);border-radius:17px;margin-top:4px}.chat-speaker{display:flex;align-items:center;gap:9px;font-size:11px;line-height:1.5;font-weight:500;color:var(--muted);margin-bottom:11px;flex-wrap:wrap}.chat-prose{font-size:14px;line-height:1.85;overflow-wrap:anywhere;white-space:normal;color:var(--text)}.chat-prose h3{font-size:17px;letter-spacing:-.2px;margin:19px 0 9px}.chat-line-gap{height:12px}.chat-bullet{display:flex;gap:8px;padding:3px 0}.chat-prose code{font-family:ui-monospace,'Cascadia Code',Consolas,monospace;font-size:.87em;background:var(--raised);padding:2px 5px;border-radius:4px}.chat-prose a{color:var(--green);text-decoration:underline;text-underline-offset:3px}.chat-prose a .icon{width:11px;height:11px;margin-left:2px}.chat-code{border:1px solid var(--line);border-radius:11px;background:var(--sidebar);overflow:hidden;margin:17px 0}.chat-code>small{display:block;color:var(--muted);font-size:10px;padding:9px 13px;border-bottom:1px solid var(--line)}.chat-code pre{white-space:pre;overflow-x:auto;margin:0;padding:14px;font-size:12px;line-height:1.75}.chat-code code{background:transparent;padding:0}.chat-thinking,.chat-turn-note{font-size:12px;color:var(--muted);line-height:1.8}.chat-composer{flex:none;border:1px solid var(--line);border-radius:20px;background:var(--panel);padding:12px 15px 10px;max-width:820px;width:100%;margin:0 auto}.chat-composer textarea{width:100%;border:0;resize:vertical;max-height:200px;min-height:67px;background:transparent;color:var(--text);font-size:14px;line-height:1.75;padding:8px 3px}.chat-composer textarea::placeholder{color:var(--faint)}.chat-composer textarea:focus-visible{outline-offset:2px;border-radius:4px}.chat-compose-controls{display:flex;align-items:center;gap:7px}.chat-model-control{min-width:0;flex:1}.chat-model-control select{font-size:11px;min-height:36px;background:transparent;border:0;max-width:330px;padding-left:3px;color:var(--muted);text-overflow:ellipsis}.chat-send{width:36px;height:36px;display:grid;place-items:center;border:0;border-radius:50%;background:var(--ink);color:var(--onink);flex:none}.chat-send .icon{width:18px;height:18px}.chat-send.stop{background:var(--raised);color:var(--text);border:1px solid var(--line)}.chat-disclaimer{font-size:10px;color:var(--faint);line-height:1.55;margin:9px 2px 1px}.chat-live-status{font-size:10px;color:var(--muted);line-height:1.65;padding:0 3px;min-height:0}.chat-live-status:empty{display:none}.chat-pending{font-size:11px;margin:6px 0 9px;padding:10px}.chat-pending .text-button{min-height:32px;font-size:11px}.chat-composer .error-copy{font-size:11px;margin:8px 3px}.tools-enabled{color:var(--green)}.chat-compose-controls>.icon-button{position:relative}.tool-count{position:absolute;right:0;top:0;background:var(--green-bg);border-radius:7px;padding:0 4px;font-size:9px}.chat-tool{padding:16px;border:1px solid var(--line);background:var(--panel);border-radius:13px;margin:16px 0}.chat-tool-heading{display:flex;gap:8px;align-items:center}.chat-tool-heading>.icon{width:17px;height:17px;color:var(--muted)}.chat-tool-heading strong{font-size:12px;font-weight:500;flex:1}.chat-tool>p,.chat-tool>small{font-size:11px;line-height:1.75;color:var(--muted);margin:9px 0 0}.tool-arguments,.tool-result{padding:11px 12px;background:var(--bg);border:1px solid var(--line-soft);border-radius:8px;font:11px/1.7 ui-monospace,'Cascadia Code',Consolas,monospace;overflow:auto;max-height:240px;white-space:pre-wrap;overflow-wrap:anywhere;margin:11px 0}.chat-tool-actions{display:flex;gap:8px;margin-top:13px}.chat-tool details{margin-top:12px;font-size:11px;color:var(--muted)}.chat-tool summary{cursor:pointer;min-height:30px}.chat-sources{margin:18px 0;display:flex;gap:8px;flex-wrap:wrap}.chat-sources>p{flex-basis:100%;font-size:10px;color:var(--muted);margin:0 0 3px}.chat-sources a{display:flex;gap:8px;align-items:center;border:1px solid var(--line);border-radius:8px;padding:8px 10px;font-size:10px;max-width:100%}.chat-sources a>span{color:var(--faint)}.chat-sources a>strong{font-weight:400;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.chat-sources a>.icon{width:12px;height:12px;color:var(--muted)}.chat-tool-choices{display:flex;flex-direction:column;gap:12px}.chat-tool-choices label{display:flex;align-items:flex-start;gap:11px;padding:13px;border:1px solid var(--line);border-radius:10px;cursor:pointer;min-height:55px}.chat-tool-choices input{width:18px;height:18px;flex:none;margin:3px 0 0;accent-color:var(--green)}.chat-tool-choices strong{font-size:12px;font-weight:500;display:block}.chat-tool-choices small{font-size:11px;color:var(--muted);display:block;line-height:1.65;margin-top:3px}.chat-history{display:flex;flex-direction:column;gap:6px;max-height:55dvh;overflow-y:auto}.chat-history button{display:flex;align-items:center;gap:12px;justify-content:space-between;min-height:48px;padding:12px;border:1px solid var(--line);border-radius:10px;background:transparent;text-align:left;font-size:12px}.chat-history button>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chat-history button>.icon{width:15px;height:15px;color:var(--muted)}
.resolution-field{margin-top:23px}.resolution-summary{display:flex;justify-content:space-between;gap:12px;margin:10px 1px 0;font-size:11px}.resolution-summary strong{font-weight:500}.resolution-summary span{color:var(--muted);font-size:10px}
.chat-delivery{display:flex;align-items:center;gap:5px;margin:11px 0 0;font-size:10px;font-weight:400;line-height:1.5;color:var(--muted)}.chat-delivery>.icon{width:12px;height:12px;color:var(--green)}
/* Exceptional notices stay away from the chat composer. Routine acceptance is inline. */
body[data-view=chat] .toasts{top:calc(14px + env(safe-area-inset-top));bottom:auto}
@media(max-width:900px) and (min-width:641px){.main[data-view=chat]{height:calc(100dvh - 72px);padding-left:24px;padding-right:24px}.chat-toolbar h1{font-size:23px}.chat-messages{padding-right:8px}}
@media(max-width:640px){
  .main[data-view=chat]{height:calc(100dvh - 172px - env(safe-area-inset-top) - env(safe-area-inset-bottom));padding:8px 16px 11px;max-height:none;min-height:300px}.keyboard-active .main[data-view=chat]{height:calc(100dvh - 88px - env(safe-area-inset-top));min-height:170px;padding-bottom:10px}
  .chat-toolbar{padding:1px 5px 14px;gap:9px}.chat-toolbar .eyebrow{font-size:8px;letter-spacing:1.2px;margin-bottom:6px}.chat-toolbar h1{font-size:20px;letter-spacing:-.55px;max-width:235px}.chat-toolbar-actions{gap:4px}.chat-toolbar .icon-button{width:39px;height:44px}.chat-messages{padding:6px 6px 14px;scroll-margin-bottom:0}.chat-empty{min-height:130px;padding:8px 20px 10px}.chat-empty>.icon{width:24px;height:24px;margin-bottom:16px}.chat-empty h2{font-size:25px;letter-spacing:-.75px;margin-bottom:12px}.chat-empty p{font-size:12px;line-height:1.75;margin-bottom:0}.chat-message{margin-bottom:22px}.chat-message.from-user{padding:14px 15px;border-radius:15px}.chat-speaker{font-size:10px;margin-bottom:9px}.chat-prose{font-size:14px;line-height:1.8}.chat-code pre{font-size:11px;padding:12px}.chat-composer{padding:10px 12px 8px;border-radius:18px}.chat-composer textarea{font-size:16px;min-height:55px;max-height:135px;padding:6px 3px;line-height:1.6}.chat-compose-controls{gap:4px}.chat-model-control select{min-height:44px;font-size:12px;max-width:220px;padding:9px 4px 9px 0}.chat-compose-controls>.icon-button,.chat-send{width:44px;height:44px}.chat-disclaimer{font-size:9px;margin-top:6px}.chat-live-status{font-size:10px;line-height:1.6}.chat-pending{padding:9px;font-size:10px}.chat-pending .text-button{min-height:38px;font-size:10px}.chat-tool{padding:13px}.chat-tool-actions>.button{min-height:44px;font-size:12px}.chat-sources a{min-height:44px;font-size:11px;max-width:100%}.chat-toolbar .icon-button:focus-visible{outline-offset:2px}.main[data-view=chat] .notice{font-size:11px;margin:0 4px 12px;padding:10px}.keyboard-active .chat-toolbar .eyebrow{display:none}.keyboard-active .chat-toolbar{padding-bottom:9px}.keyboard-active .chat-disclaimer{display:none}.keyboard-active .mobile-header{padding-top:max(12px,env(safe-area-inset-top));padding-bottom:8px}
}

.chat-input-hint{font-size:10px;line-height:1.6;color:var(--faint);margin:8px 3px 0}.chat-disclaimer{margin-top:3px}.chat-search-results{margin-top:15px;display:grid;gap:8px}.chat-search-results>p{font-size:10px;color:var(--muted);margin:0}.chat-search-results>a{display:grid;gap:4px;padding:12px;border:1px solid var(--line);border-radius:9px;overflow-wrap:anywhere}.chat-search-results>a:hover{background:var(--raised)}.chat-search-results strong{font-weight:500;font-size:12px;display:flex;justify-content:space-between;gap:8px}.chat-search-results strong>.icon{width:13px;height:13px;color:var(--muted)}.chat-search-results small{font-size:10px;color:var(--muted)}.chat-search-results span{font-size:11px;line-height:1.7;color:var(--muted)}.chat-search-results>small{line-height:1.7}
@media(max-width:640px){.chat-input-hint{font-size:9px;margin-top:5px}.chat-disclaimer{margin-top:3px}.keyboard-active .chat-input-hint{display:none}}
