@import url('/fonts.css');
:root{color-scheme:dark;--bg:#111310;--panel:#191c18;--raised:#20241e;--line:#30362b;--muted:#a2aa98;--text:#f0f3eb;--lime:#b2ed6b;--red:#ff9a8e;font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:14px}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text)}button,input,textarea,select{font:inherit}button,a,input,textarea,select{outline-offset:4px}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.38}button:focus-visible,a:focus-visible{outline:2px solid var(--lime)}[hidden]{display:none!important}a{color:inherit;text-decoration:none}button{color:inherit}h1,h2,h3,p{margin:0}h1{font-size:34px;letter-spacing:-1.3px;font-weight:600}h2{font-size:18px;letter-spacing:-.3px;font-weight:550}h3{font-size:15px;font-weight:600}p{line-height:1.6;color:var(--muted)}label{font-size:13px;color:#cbd2c1;display:block;margin:0 0 8px}input,textarea,select{width:100%;color:var(--text);background:#151812;border:1px solid var(--line);border-radius:7px;padding:10px 12px;min-height:40px}input:focus,textarea:focus,select:focus{outline:1px solid var(--lime);border-color:var(--lime)}textarea{resize:vertical;line-height:1.5}button{border:0}.primary,.small-button,.danger-button{border-radius:7px;padding:11px 16px;white-space:nowrap;font-size:13px;font-weight:600;display:inline-flex;align-items:center;justify-content:center;gap:8px}.primary{background:var(--lime);color:#162111}.primary:hover{background:#c3f48f}.small-button{background:#22261f;border:1px solid #3b4134}.small-button:hover{background:#30372a}.danger-button{background:#321e1a;color:#ffab9b;border:1px solid #604036}.text-button{padding:4px 0;background:none;color:var(--muted);font-size:12px;cursor:pointer}.text-button:hover{color:var(--lime)}.eyebrow,.nav-caption,.breadcrumb,.preview-tag{font-size:10px;letter-spacing:1.7px;font-weight:600;color:var(--muted)}.shell{display:grid;grid-template-columns:180px minmax(0,1fr);min-height:100vh}.sidebar{background:#141712;border-right:1px solid var(--line);padding:32px 18px 22px;display:flex;flex-direction:column;position:sticky;top:0;height:100vh}.brand{display:flex;gap:11px;align-items:center;padding:0 9px;font-size:20px;letter-spacing:-.6px;line-height:1.05}.brand strong{font-weight:600}.brand-mark{background:var(--lime);border-radius:9px;color:#172014;width:37px;height:40px;display:grid;place-items:center;font-size:28px;font-weight:800;font-style:italic;flex-shrink:0}.nav-caption{margin:55px 10px 16px;font-size:9px}.nav{width:100%;display:flex;align-items:center;gap:11px;padding:12px 10px;margin-bottom:8px;border-radius:7px;background:transparent;color:var(--muted);font-size:12px;text-align:left}.nav span{font-size:18px;line-height:1}.nav b{font-size:10px;padding:2px 6px;border-radius:4px;background:#363e2b;margin-left:auto}.nav.active{background:#28351e;color:#c4f38f}.nav:hover{background:#242a20}.sidebar-bottom{margin-top:auto;padding:20px 10px 0;border-top:1px solid var(--line)}.version{font-family:ui-monospace,monospace;font-size:11px;color:var(--lime);margin-bottom:12px}.sidebar-bottom p{font-size:11px;margin-bottom:14px}.topbar{height:70px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 34px;gap:20px}.breadcrumb{font-size:9px;letter-spacing:1.2px}.breadcrumb span{margin:0 14px;color:#515a47}.breadcrumb b{font-weight:500;color:#d1d9c7}.top-actions{display:flex;align-items:center;gap:22px}.connection{font-size:11px;color:var(--muted)}.connection:before{content:'';display:inline-block;width:5px;height:5px;background:var(--lime);border-radius:50%;margin-right:8px}.connection.offline{color:var(--red)}.connection.offline:before{background:var(--red)}.view{padding:32px 34px 26px;max-width:1700px;margin:auto}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:0 0 27px}.page-heading .eyebrow{font-size:9px}.page-heading h1{margin:9px 0 7px}.page-heading p{font-size:13px}.accent-dot{color:var(--lime)}.heading-actions{display:flex;gap:10px;align-items:center}.save-state{font-size:11px;color:var(--muted);margin-right:5px}.save-state.dirty{color:var(--lime)}.studio-grid{display:grid;grid-template-columns:minmax(0,1fr) 296px;gap:25px}.stage-toolbar{display:flex;align-items:center;gap:12px;margin-bottom:17px}.inline-label{font-size:10px;letter-spacing:1px;margin:0}.stage-toolbar select{max-width:205px;background:transparent;font-size:12px;min-height:35px;padding:6px 10px}.preview-tag{margin-left:auto;font-size:8px;letter-spacing:1.3px;white-space:nowrap}.monitor-shell{background:#22251f;padding:8px;border:1px solid #3b4135;border-radius:10px;box-shadow:0 18px 38px #0002}.screen{aspect-ratio:16/9;position:relative;background:#111614;border:1px solid #30372c;overflow:hidden;display:flex;flex-direction:column;border-radius:3px;--accent:#b2ed6b;--screen-background:#111614}.screen-content{display:flex;align-items:center;gap:5%;padding:5%;flex:1;min-height:0;background:var(--screen-background)}.screen-art{width:42%;height:100%;min-width:0}.screen-art img{width:100%;height:100%;object-fit:contain;display:block}.screen-copy{min-width:0;flex:1}.support-chip{font-size:clamp(7px,.68vw,11px);letter-spacing:1.2px;color:var(--accent);font-weight:600;display:flex;gap:7px;align-items:center}.support-chip i{width:5px;height:5px;background:var(--accent);border-radius:50%}.screen-copy h2{font-size:clamp(17px,2.2vw,34px);line-height:1.17;color:#fff;letter-spacing:-.7px;margin:15px 0 10px;overflow-wrap:anywhere}.screen-copy p{font-size:clamp(9px,.85vw,14px);line-height:1.7;color:#d0d4cf;overflow-wrap:anywhere;white-space:pre-line}.screen-content.center{flex-direction:column;gap:12px;text-align:center}.screen-content.center .screen-art{width:45%;height:40%;flex-shrink:0}.screen-content.center .screen-copy{flex:0}.screen-content.center .support-chip,.screen-content.center .qr-row{justify-content:center}.screen-content.center h2{font-size:clamp(16px,1.8vw,28px);margin:7px 0}.screen-content.center .qr-row{margin-top:10px}.screen-content.center .qr-row img{width:58px}.screen-notice{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:9px 12px;background:#1b211c;color:#cbd2c9;font-size:clamp(6px,.58vw,9px);border-top:1px solid #364132;flex-shrink:0}.screen-notice i{display:inline-block;width:4px;height:4px;background:#b2ed6b;border-radius:50%;margin-right:4px}.monitor-bottom{display:flex;justify-content:space-between;padding:10px 6px 3px;color:#8c9681;font-size:8px;letter-spacing:1.6px}.qr-row{display:flex;gap:13px;align-items:center;margin-top:20px}.qr-row img{width:clamp(64px,6.6vw,105px);height:auto;border-radius:3px;flex-shrink:0}.qr-row div{min-width:0}.qr-row b{display:block;color:#f3f5ef;font-size:clamp(9px,.85vw,13px)}.qr-row span{display:block;font-size:clamp(8px,.75vw,11px);color:#c6ccc2;margin-top:6px;overflow-wrap:anywhere}.stage-caption{display:flex;align-items:baseline;gap:14px;padding:14px 0 24px}.stage-caption span{font-size:11px;color:#dce3d5}.stage-caption p{font-size:10px}.publish-card{background:var(--panel);border:1px solid var(--line);border-radius:9px;padding:20px}.card-heading{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:20px}.card-heading .eyebrow{font-size:8px}.card-heading h2{margin-top:7px;font-size:16px}.tiny-badge{font-size:10px;color:var(--muted);background:#292f23;border:1px solid #3a4430;padding:5px 9px;border-radius:20px}.tiny-badge.live{color:var(--lime)}.delivery-fields{display:grid;grid-template-columns:1fr 150px;gap:14px}.delivery-fields label{font-size:11px}.delivery-fields select{font-size:12px}.delivery-actions{display:flex;align-items:center;gap:10px;margin-top:17px}.delivery-actions span{font-size:10px;color:var(--muted);margin-left:6px;line-height:1.5}.quick-guide{display:flex;align-items:center;gap:12px;margin-top:26px;padding:0 8px}.guide-number{font-family:ui-monospace,monospace;font-size:12px;border:1px solid var(--line);padding:8px;border-radius:50%;color:#c4d0b7}.quick-guide strong{display:block;font-size:11px;font-weight:500}.quick-guide small{display:block;font-size:9px;color:var(--muted);margin-top:4px}.guide-line{height:1px;background:var(--line);flex:1;margin:0 6px}.editor{background:var(--panel);border:1px solid var(--line);border-radius:9px;align-self:start;overflow:hidden}.editor-heading{display:flex;align-items:center;justify-content:space-between;padding:19px 19px 18px;border-bottom:1px solid var(--line)}.editor-heading h2{font-size:14px}.editor-heading span{font-size:8px;color:var(--muted);letter-spacing:.8px}.field-group{padding:17px 19px 0}.field-group label{font-size:11px}.field-group input,.field-group select,.field-group textarea{font-size:12px}.field-group textarea{margin-bottom:0}.field-group input+label{margin-top:16px}.field-label{display:flex;justify-content:space-between;align-items:baseline}.upload-zone{min-height:100px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:7px;border:1px dashed #4a5540;border-radius:7px;background:#1d2318;cursor:pointer;text-align:center;padding:10px}.upload-zone:hover,.upload-zone.drag{border-color:var(--lime);background:#25301e}.upload-icon{font-size:24px;color:var(--lime);line-height:1}.upload-zone strong{font-size:11px;font-weight:500}.upload-zone small{font-size:9px;color:var(--muted)}.segmented{display:flex;background:#12150f;border:1px solid var(--line);border-radius:6px;margin-top:9px;padding:3px;gap:3px}.segmented button{width:50%;background:transparent;border-radius:4px;padding:5px;color:var(--muted);font-size:10px}.segmented button.selected{background:#343d2c;color:#e2edd7}.color-row{display:flex;gap:12px;padding:17px 19px 0}.color-row label{display:flex;align-items:center;justify-content:space-between;gap:14px;font-size:11px;flex:1}.color-row input{width:29px;height:28px;min-height:28px;padding:2px;border-radius:5px;cursor:pointer}.qr-section{padding:20px 19px;margin-top:17px;border-top:1px solid var(--line)}.toggle-row{display:flex;align-items:center;justify-content:space-between;gap:10px}.toggle-row h3{font-size:13px}.toggle-row p{font-size:10px;margin-top:4px}.switch{margin:0;position:relative;width:35px;height:21px;flex-shrink:0}.switch input{opacity:0;position:absolute;min-height:0;width:35px;height:21px}.switch span{display:block;background:#3c4534;width:35px;height:21px;border-radius:20px;cursor:pointer;transition:.2s}.switch span:after{content:'';position:absolute;width:15px;height:15px;top:3px;left:3px;background:#a9b59b;border-radius:50%;transition:.2s}.switch input:checked+span{background:var(--lime)}.switch input:checked+span:after{transform:translateX(14px);background:#233318}.switch input:focus-visible+span{outline:2px solid var(--lime);outline-offset:4px}#qr-fields{margin-top:18px}#qr-fields label{font-size:11px;margin-top:13px}#qr-fields input{font-size:11px}#qr-fields small{font-size:10px;color:var(--muted);display:block;margin-top:10px;line-height:1.5}.editor-note{border-top:1px solid var(--line);padding:15px 19px;display:flex;gap:10px;background:#1c2317}.editor-note span{color:var(--lime);font-size:19px}.editor-note p{font-size:10px}footer{padding:20px 34px 25px;display:flex;gap:16px;align-items:center;font-size:9px;color:#829074;letter-spacing:.8px}footer span{font-size:9px;letter-spacing:0;color:#747d6b}footer span:last-child{margin-left:auto}.device-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:18px}.empty-state{grid-column:1/-1;min-height:260px;display:flex;justify-content:center;align-items:center;flex-direction:column;gap:16px;border:1px dashed var(--line);border-radius:9px;text-align:center;padding:35px}.empty-state p{max-width:450px}.device-card,.setup-card{background:var(--panel);border:1px solid var(--line);border-radius:9px;padding:22px}.device-card h3{margin:12px 0}.device-card p{font-size:12px;margin:8px 0}.device-card .small-button{margin-top:10px}.device-card .device-meta{display:flex;justify-content:space-between;font-size:10px}.setup-card{margin-top:28px}.setup-card p{margin:13px 0 20px}.setup-card a,.setup-card button{margin:0 12px 10px 0}.activity-list{border:1px solid var(--line);border-radius:9px;overflow:hidden}.activity-row{display:grid;grid-template-columns:160px 210px 1fr;gap:20px;padding:18px 22px;border-bottom:1px solid var(--line);font-size:12px}.activity-row:last-child{border:0}.activity-row time{color:var(--muted)}.activity-row small{color:var(--muted);overflow-wrap:anywhere}dialog{width:470px;max-width:calc(100vw - 30px);background:#20251b;color:var(--text);border:1px solid #4a563d;border-radius:12px;padding:28px;box-shadow:0 30px 120px #0009}dialog::backdrop{background:#060805bb;backdrop-filter:blur(4px)}.dialog-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px}.icon-button{background:none;color:var(--muted);font-size:24px;padding:0 4px}dialog h2{font-size:25px}dialog p{font-size:13px;margin:13px 0 20px}dialog label{font-size:11px;margin-top:20px}dialog code{background:#151b10;color:var(--lime);padding:12px;display:block;border:1px solid var(--line);border-radius:5px;overflow-wrap:anywhere}.pair-code{font-size:33px;letter-spacing:5px;font-family:ui-monospace,monospace;color:var(--lime);padding:12px 0}.dialog-note{font-size:11px!important;margin-bottom:0!important}.toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);background:#d0f5a7;color:#182a10;border:1px solid #def6c6;box-shadow:0 8px 30px #0005;border-radius:8px;padding:13px 20px;max-width:90vw;z-index:20;font-size:13px}.toast.error{background:#583328;color:#ffe8db;border-color:#895346}.auth-shell{min-height:100vh;display:grid;place-items:center;padding:25px;background:radial-gradient(ellipse at 50% 30%,#28351d 0,transparent 65%)}.auth-card{width:400px;max-width:100%;padding:35px;border:1px solid #3d4931;background:#1a2016;border-radius:12px}.auth-card .brand-mark{margin-bottom:28px}.auth-card h1{font-size:29px;margin:13px 0}.auth-card p{font-size:13px;margin:12px 0 22px}.auth-card input{margin-bottom:18px}.auth-card .primary{width:100%}.auth-card small{font-size:10px;color:var(--muted)}#auth-error{color:var(--red);min-height:20px}.visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.button-link{vertical-align:middle}
@media(min-width:1600px){.studio-grid{grid-template-columns:minmax(0,1fr) 330px}.screen-copy h2{font-size:38px}.screen-copy p{font-size:16px}.screen-notice{font-size:11px}.qr-row b{font-size:14px}.qr-row span{font-size:12px}.screen-content.center h2{font-size:30px}}@media(max-width:1180px){.shell{grid-template-columns:150px minmax(0,1fr)}.sidebar{padding:28px 10px}.view{padding:26px 22px}.topbar{padding:0 22px}.studio-grid{grid-template-columns:minmax(0,1fr) 255px;gap:18px}.heading-actions{gap:7px}.save-state{display:none}.preview-tag{display:none}.delivery-actions{flex-wrap:wrap}.delivery-actions span{width:100%;margin-left:0}.quick-guide{gap:8px;padding:0}.quick-guide small{font-size:8px}.guide-line{margin:0}.stage-caption p{font-size:9px}.screen-copy h2{font-size:23px}.screen-copy p{font-size:10px}.qr-row{margin-top:12px}.qr-row img{width:65px}.screen-notice span:last-child{display:none}.screen-notice{font-size:8px}.quick-guide{flex-wrap:wrap}h1{font-size:29px}.page-heading{align-items:flex-start}.primary,.small-button{padding:10px 12px}.top-actions{gap:10px}.stage-toolbar select{max-width:190px}}
@media(max-width:950px){.shell{grid-template-columns:130px minmax(0,1fr)}.brand{font-size:18px}.brand-mark{width:30px;height:35px;font-size:24px}.nav{font-size:11px;gap:7px}.studio-grid{grid-template-columns:1fr}.editor{display:grid;grid-template-columns:1fr 1fr}.editor-heading,.editor-note{grid-column:1/-1}.qr-section{margin-top:0;border-top:0}.screen-copy h2{font-size:30px}.screen-copy p{font-size:13px}.support-chip{font-size:9px}.screen-notice{font-size:9px}.qr-row img{width:90px}.qr-row b{font-size:12px}.qr-row span{font-size:11px}.screen-content.center h2{font-size:24px}.screen-content.center .qr-row img{width:60px}.quick-guide{margin-bottom:12px}.activity-row{grid-template-columns:1fr 1fr}.activity-row small{grid-column:1/-1}.connection{display:none}.page-heading{flex-wrap:wrap}}
@media(max-width:620px){.shell{display:block}.sidebar{position:static;height:auto;padding:15px;border-right:0;border-bottom:1px solid var(--line);flex-direction:row;align-items:center;justify-content:space-between}.brand{font-size:16px;padding:0}.brand-mark{width:30px;height:33px}.sidebar nav{display:flex;gap:3px}.nav{margin:0;padding:9px;font-size:0;width:auto;gap:0}.nav span{font-size:20px}.nav b{display:none}.nav-caption,.sidebar-bottom{display:none}.topbar{height:54px;padding:0 18px}.breadcrumb{font-size:8px}.view{padding:24px 18px}.page-heading{gap:18px}.page-heading h1{font-size:30px}.heading-actions{width:100%}.heading-actions .primary{margin-left:auto}.studio-grid{gap:18px}.screen-copy h2{font-size:22px}.screen-copy p{font-size:10px;line-height:1.45}.screen-content{padding:5%}.support-chip{font-size:7px;letter-spacing:.8px}.screen-copy h2{margin:10px 0}.qr-row img{width:54px}.qr-row b{font-size:9px}.qr-row span{font-size:8px}.qr-row{margin-top:12px;gap:8px}.screen-notice{padding:6px 8px;font-size:7px}.screen-content.center h2{font-size:17px}.screen-content.center .qr-row img{width:40px}.screen-content.center .screen-art{height:30%}.screen-content.center .screen-copy p{font-size:8px}.screen-content.center .support-chip{font-size:6px}.screen-content.center{gap:5px}.stage-caption{gap:10px}.stage-caption p{font-size:9px}.delivery-fields{grid-template-columns:1fr 110px}.publish-card{padding:17px}.editor{display:block}.field-group{padding-top:18px}.qr-section{border-top:1px solid var(--line);margin-top:18px}.quick-guide small{font-size:8px}.quick-guide strong{font-size:10px}.guide-number{font-size:9px;padding:6px}.guide-line{min-width:7px}.quick-guide{gap:7px}.activity-row{padding:16px;gap:10px;font-size:11px}footer{padding:20px 18px;flex-wrap:wrap}footer span:last-child{margin-left:0;width:100%}.pair-code{font-size:26px;letter-spacing:3px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important}}

.qr-import-button{width:100%;margin-top:15px;font-size:11px}.qr-import-actions{display:flex;gap:10px;flex-wrap:wrap}.qr-import-actions label{margin:0;cursor:pointer}.qr-candidate{display:flex;align-items:flex-start;gap:12px;padding:13px;border:1px solid var(--line);border-radius:8px;margin-bottom:12px;background:#151b10;cursor:pointer}.qr-candidate input{width:17px;height:17px;min-height:17px;flex-shrink:0;margin-top:3px}.qr-candidate div{min-width:0}.qr-candidate strong{display:block;font-size:13px;color:var(--lime);margin-bottom:7px}.qr-candidate code{padding:8px;font-size:11px;white-space:pre-wrap;overflow-wrap:anywhere;max-height:150px;overflow:auto}.qr-candidates{margin:15px 0}#qr-import-summary{font-size:12px;margin-top:14px;color:var(--lime)}
