@font-face{font-family:Geist;src:url('/static/assets/geist-latin.woff2') format('woff2');font-weight:100 900;font-display:swap}
:root{font-family:Geist,"SF Pro Text",-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;color:var(--ink);background:var(--canvas);font-size:14px;line-height:1.5;font-synthesis:none;--canvas:#fff;--surface:#fff;--soft:#f4f5f7;--soft2:#fafafb;--ink:#111317;--muted:#72747a;--border:rgba(17,19,23,.12);--line:rgba(17,19,23,.2);--inverse:#fff;--green:#237b4c;--green-bg:#eaf4ee;--red:#b3261e;--red-bg:#fbe9e7;--amber:#916020;--amber-bg:#fbf3e5;--shadow:0 24px 100px rgba(17,19,23,.15);color-scheme:light}
:root[data-theme=dark]{--canvas:#090a0b;--surface:#111315;--soft:#1a1c20;--soft2:#141619;--ink:#f4f5f7;--muted:#a0a3aa;--border:rgba(244,245,247,.14);--line:rgba(244,245,247,.25);--inverse:#111317;--green:#8bd6a7;--green-bg:#152d20;--red:#ffaaa2;--red-bg:#321b1a;--amber:#e2bd7d;--amber-bg:#302719;--shadow:0 24px 100px rgba(0,0,0,.5);color-scheme:dark}
*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.45}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,summary:focus-visible{outline:2px solid var(--ink);outline-offset:3px}button svg,a svg{flex-shrink:0}svg{display:inline-block;vertical-align:middle}h1,h2,h3,h4,p{margin:0}h1,h2,h3{letter-spacing:-.035em;line-height:1.2}h1{font-size:32px;font-weight:600}h2{font-size:22px;font-weight:600}h3{font-size:16px;font-weight:600}p{color:var(--muted)}button{border:0;background:none;color:inherit}input,textarea,select{max-width:100%;background:var(--surface);color:var(--ink);border:1px solid var(--border);border-radius:8px;padding:11px 13px;min-height:44px}textarea{resize:vertical;line-height:1.5}input[type=checkbox]{min-height:auto;width:17px;height:17px;accent-color:var(--ink)}input::placeholder,textarea::placeholder{color:var(--muted)}label{display:grid;gap:7px;font-size:13px;font-weight:500}label small{font-weight:400;color:var(--muted)}code,pre,.mono{font-family:"Geist Mono","SFMono-Regular",Consolas,monospace}code{font-size:12px}pre{white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px;line-height:1.7;background:var(--soft);border-radius:8px;padding:14px;margin:0}small{font-size:12px}hr{border:0;border-top:1px solid var(--border);margin:24px 0}.muted{color:var(--muted)}.hidden,[hidden]{display:none!important}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.row{display:flex;align-items:center;gap:10px}.between{justify-content:space-between}.wrap{flex-wrap:wrap}.stack{display:grid;gap:16px}.gap8{gap:8px}.gap24{gap:24px}.grow{flex:1;min-width:0}.eyebrow{font-size:11px;letter-spacing:.1em;text-transform:uppercase;color:var(--muted);font-weight:600}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:8px;min-height:44px;padding:10px 16px;font-weight:500;white-space:nowrap;transition:background .15s,transform .15s}.btn:active:not(:disabled){transform:translateY(1px)}.btn.primary{background:var(--ink);color:var(--inverse)}.btn.primary:hover{opacity:.87}.btn.secondary{background:var(--surface);border:1px solid var(--border)}.btn.secondary:hover,.btn.quiet:hover,.icon-btn:hover{background:var(--soft)}.btn.danger{color:var(--red);background:var(--red-bg)}.btn.small{padding:8px 12px;font-size:13px}.icon-btn{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;border-radius:8px;border:1px solid transparent}.icon-btn.small{min-width:36px;min-height:36px}.icon-btn.active{background:var(--soft);border-color:var(--border)}.text-btn{display:inline-flex;align-items:center;gap:6px;min-height:44px;font-weight:500}.text-btn:hover{text-decoration:underline}.badge{display:inline-flex;align-items:center;gap:6px;font-size:11px;font-weight:500;line-height:1;border-radius:20px;background:var(--soft);color:var(--muted);padding:6px 8px;white-space:nowrap}.badge.success{background:var(--green-bg);color:var(--green)}.badge.error{background:var(--red-bg);color:var(--red)}.badge.warning{background:var(--amber-bg);color:var(--amber)}.dot{width:6px;height:6px;border-radius:50%;display:inline-block;background:currentColor}.spinner{display:inline-block;width:20px;height:20px;border:2px solid var(--border);border-top-color:var(--ink);border-radius:50%;animation:spin .7s linear infinite}.boot{min-height:100vh;display:flex;align-items:center;justify-content:center;gap:12px;color:var(--muted)}.message{padding:12px 14px;border:1px solid var(--border);border-radius:8px;font-size:13px;line-height:1.6;background:var(--soft2);overflow-wrap:anywhere}.message.error{color:var(--red);border-color:color-mix(in srgb,var(--red) 25%,transparent);background:var(--red-bg)}.message.success{color:var(--green);background:var(--green-bg)}.message.warning{color:var(--amber);background:var(--amber-bg)}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.full{grid-column:1/-1}.logo{display:flex;align-items:center;gap:12px}.logo img{width:35px;height:35px;object-fit:contain}.logo-name{font-size:16px;letter-spacing:-.04em;font-weight:600}.logo-name small{display:block;font-size:10px;letter-spacing:.09em;color:var(--muted);text-transform:uppercase;font-weight:500}.brand-divider{height:25px;width:1px;background:var(--border);margin:0 3px}.product-name{font-size:20px;font-weight:500;letter-spacing:-.04em}:root[data-theme=dark] .logo img{filter:invert(1)}
.auth-page{min-height:100vh;display:grid;grid-template-columns:1.1fr 1fr}.auth-story{background:var(--soft2);border-right:1px solid var(--border);padding:44px 64px;display:flex;flex-direction:column;justify-content:space-between;gap:60px;overflow:hidden}.auth-story-content{max-width:490px;margin:auto 0}.auth-story h1{font-size:clamp(36px,4.4vw,64px);line-height:1.07;letter-spacing:-.055em;margin:26px 0 22px;font-weight:500}.auth-story p{font-size:16px;line-height:1.8;max-width:400px}.auth-foot{display:flex;justify-content:space-between;align-items:center;font-size:12px;color:var(--muted)}.auth-main{display:flex;align-items:center;justify-content:center;padding:48px 32px}.auth-card{width:100%;max-width:360px}.auth-card h2{font-size:28px;margin-bottom:10px}.auth-card>p{margin-bottom:32px;line-height:1.7}.auth-card form{display:grid;gap:20px}.auth-switch{margin-top:24px;text-align:center;font-size:13px;color:var(--muted)}.auth-switch button{font-weight:600;color:var(--ink)}.auth-fine{margin-top:32px;font-size:12px;line-height:1.7;text-align:center;color:var(--muted)}.auth-graphic{display:flex;align-items:center;gap:14px;margin:38px 0 0}.graphic-phone{height:150px;width:76px;border:1px solid var(--line);border-radius:13px;padding:7px;background:var(--surface);transform:rotate(-7deg)}.graphic-phone:nth-child(2){height:174px;width:87px;transform:rotate(2deg);box-shadow:0 10px 30px rgba(0,0,0,.06)}.graphic-phone:nth-child(3){transform:rotate(9deg)}.graphic-screen{height:100%;border-radius:7px;background:var(--soft);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;color:var(--muted)}.graphic-screen:before{content:"";width:18px;height:18px;border:1px solid var(--line);border-radius:5px}.graphic-line{width:30px;height:3px;border-radius:3px;background:var(--border)}.auth-mobile-logo{display:none;margin-bottom:46px}
.shell{min-height:100vh;display:grid;grid-template-columns:230px minmax(0,1fr)}.sidebar{position:fixed;inset:0 auto 0 0;width:230px;padding:29px 18px 18px;border-right:1px solid var(--border);background:var(--surface);display:flex;flex-direction:column;z-index:20}.sidebar .logo{padding:0 12px 28px}.sidebar nav{display:grid;gap:4px}.nav-link{display:flex;align-items:center;gap:12px;min-height:46px;padding:10px 13px;border-radius:8px;font-weight:450;color:var(--muted)}.nav-link:hover{background:var(--soft2);color:var(--ink)}.nav-link.active{background:var(--soft);color:var(--ink);font-weight:550}.nav-link .count{margin-left:auto;font-size:11px;font-weight:500;background:var(--surface);padding:2px 6px;border-radius:5px;min-width:22px;text-align:center}.side-section{margin-top:35px;padding:0 13px}.side-section .eyebrow{margin-bottom:14px}.side-status{display:flex;align-items:center;gap:9px;font-size:12px;color:var(--muted);margin-bottom:13px}.side-status .dot{color:var(--green)}.side-bottom{margin-top:auto;padding-top:25px}.side-note{padding:14px 13px;border-top:1px solid var(--border);font-size:12px;line-height:1.7;color:var(--muted)}.account{display:flex;align-items:center;gap:10px;padding:12px 10px 0}.avatar{width:34px;height:34px;background:var(--soft);border:1px solid var(--border);border-radius:50%;display:grid;place-items:center;font-size:12px;font-weight:600;flex-shrink:0}.account .email{font-size:11px;color:var(--muted);max-width:130px}.account-title{font-size:12px;font-weight:500}.workspace{grid-column:2;min-width:0}.topbar{height:77px;border-bottom:1px solid var(--border);display:flex;align-items:center;justify-content:space-between;gap:16px;padding:0 36px;background:var(--surface)}.breadcrumb{font-size:13px;color:var(--muted);display:flex;align-items:center;gap:11px}.breadcrumb strong{font-weight:500;color:var(--ink)}.topbar-actions{display:flex;align-items:center;gap:10px}.mobile-menu{display:none}.main{padding:36px;max-width:1660px;margin:0 auto}.page-head{display:flex;justify-content:space-between;align-items:center;gap:24px;margin-bottom:28px}.page-head p{margin-top:9px;font-size:14px}.page-head .actions{display:flex;gap:9px;align-items:center}.metrics{display:grid;grid-template-columns:repeat(3,1fr);border:1px solid var(--border);border-radius:12px;margin-bottom:32px;background:var(--surface)}.metric{padding:19px 23px}.metric+.metric{border-left:1px solid var(--border)}.metric-label{font-size:12px;color:var(--muted);display:flex;align-items:center;gap:8px}.metric-value{font-size:27px;letter-spacing:-.04em;font-weight:500;margin-top:7px}.metric-value small{font-size:12px;letter-spacing:0;color:var(--muted);font-weight:400;margin-left:8px}.section-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:18px}.section-title{font-size:16px;font-weight:550;letter-spacing:-.02em}.session-control{display:flex;align-items:center;gap:6px}.session-control select{font-weight:500;border:0;padding-left:0;background:transparent;max-width:240px}.layout-options{display:flex;align-items:center;gap:5px}.layout-options select{min-height:36px;font-size:12px;padding:6px 9px}.segment{display:flex;border:1px solid var(--border);padding:3px;border-radius:8px;gap:3px}.segment button{min-height:30px;min-width:32px;border-radius:5px;font-size:12px;color:var(--muted)}.segment button.active{color:var(--ink);background:var(--soft)}.device-wall{display:grid;grid-template-columns:repeat(var(--columns,3),minmax(0,1fr));gap:18px}.device-card{border:1px solid var(--border);border-radius:12px;overflow:hidden;background:var(--surface);min-width:0;transition:border-color .15s}.device-card.drag-over{border:1px dashed var(--ink);background:var(--soft)}.device-header{padding:12px 13px;display:flex;align-items:center;gap:10px}.slot-number{width:26px;height:26px;border:1px solid var(--border);border-radius:7px;display:grid;place-items:center;color:var(--muted);font-size:10px;flex-shrink:0;font-variant-numeric:tabular-nums}.device-name{font-size:13px;line-height:1.4;font-weight:550}.device-agent{font-size:11px;color:var(--muted);margin-top:2px}.device-card .device-header .icon-btn{margin:-6px -6px -6px 0}.device-preview{height:310px;background:var(--soft2);position:relative;display:flex;align-items:center;justify-content:center;overflow:hidden;border-block:1px solid var(--border);width:100%;padding:15px;cursor:pointer}.device-preview .screen-image{max-height:100%;max-width:100%;width:auto;height:auto;border-radius:5px;object-fit:contain;box-shadow:0 4px 16px rgba(0,0,0,.06);position:relative;z-index:2;background:#111}.screen-placeholder{position:absolute;inset:0;display:flex;flex-direction:column;gap:12px;align-items:center;justify-content:center;text-align:center;color:var(--muted);padding:20px}.screen-placeholder .phone-outline{border:1px solid var(--line);border-radius:12px;width:68px;height:125px;display:flex;align-items:center;justify-content:center}.screen-placeholder span{font-size:12px}.device-footer{display:flex;align-items:center;justify-content:space-between;padding:8px 13px;gap:8px}.device-footer .btn{font-size:12px;padding:7px 10px;min-height:36px}.empty-slot{min-height:420px;display:flex;flex-direction:column}.empty-slot .device-header{color:var(--muted)}.slot-add{flex:1;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:12px;min-height:330px;color:var(--muted);width:100%;padding:24px}.slot-add:hover{background:var(--soft2);color:var(--ink)}.slot-add .add-circle{width:42px;height:42px;border:1px dashed var(--line);border-radius:50%;display:grid;place-items:center}.slot-add span{font-size:12px}.wall-footer{display:flex;justify-content:space-between;gap:16px;color:var(--muted);font-size:11px;margin-top:18px;line-height:1.7}.empty-state{padding:80px 24px;display:flex;flex-direction:column;align-items:center;text-align:center;gap:14px}.empty-state .empty-icon{width:56px;height:56px;border:1px solid var(--border);border-radius:50%;display:grid;place-items:center;color:var(--muted)}.empty-state h3{font-size:16px;margin-top:2px}.empty-state p{max-width:370px;font-size:14px;line-height:1.7}.empty-state .text-btn{margin-top:4px}.notice-bar{display:flex;align-items:flex-start;gap:10px;background:var(--soft2);padding:14px 16px;border-radius:9px;font-size:12px;line-height:1.7;color:var(--muted);margin:22px 0}.notice-bar svg{margin-top:2px;flex-shrink:0}.card-list{display:grid;gap:12px}.list-card{padding:20px;border:1px solid var(--border);border-radius:12px;background:var(--surface)}.list-card-head{display:flex;gap:14px;align-items:center}.list-icon{width:42px;height:42px;flex-shrink:0;border:1px solid var(--border);border-radius:10px;display:grid;place-items:center}.list-card p{font-size:12px;margin-top:5px;line-height:1.6}.list-meta{display:flex;gap:18px;align-items:center;color:var(--muted);font-size:11px;margin-top:16px;flex-wrap:wrap}.list-card-actions{display:flex;gap:5px;flex-shrink:0}.workflow-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.workflow-card{padding:22px;border:1px solid var(--border);border-radius:12px}.workflow-card .list-icon{margin-bottom:20px}.workflow-card p{font-size:13px;line-height:1.7;margin:9px 0 20px;min-height:44px}.workflow-card-foot{border-top:1px solid var(--border);padding-top:12px;display:flex;align-items:center;justify-content:space-between;gap:8px}.workflow-card-foot .btn{font-size:12px}.workflow-card .list-meta{margin:0 0 18px}.table-scroll{overflow:auto;border:1px solid var(--border);border-radius:12px}table{width:100%;border-collapse:collapse;text-align:left}th{font-size:11px;color:var(--muted);font-weight:500;background:var(--soft2);padding:13px 18px;white-space:nowrap}td{padding:16px 18px;border-top:1px solid var(--border);font-size:12px}td strong{font-size:13px;font-weight:500}td .muted{font-size:11px;margin-top:3px}.job-filters{display:flex;gap:8px;overflow-x:auto;margin-bottom:20px;padding-bottom:2px}.filter-btn{min-height:36px;padding:7px 13px;border:1px solid var(--border);border-radius:20px;font-size:12px;white-space:nowrap}.filter-btn.active{background:var(--ink);color:var(--inverse);border-color:var(--ink)}.client-code{margin-top:17px}.help-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-top:30px}.help-card{padding:24px;border-radius:12px;background:var(--soft2);border:1px solid var(--border)}.help-card h3{margin-bottom:9px}.help-card p{font-size:12px;line-height:1.8}.help-card ol{padding-left:19px;font-size:12px;line-height:1.9;color:var(--muted)}
dialog{border:1px solid var(--border);padding:0;border-radius:16px;background:var(--surface);color:var(--ink);box-shadow:var(--shadow);max-height:min(92dvh,1000px);width:min(620px,calc(100% - 32px));max-width:100%;overflow:auto}dialog::backdrop{background:rgba(10,12,16,.38);backdrop-filter:blur(3px)}dialog.wide{width:min(1040px,calc(100% - 32px))}dialog.focus-dialog{width:min(1050px,calc(100% - 32px))}.modal-header{padding:22px 24px 18px;border-bottom:1px solid var(--border);display:flex;align-items:center;justify-content:space-between;gap:16px;position:sticky;top:0;background:var(--surface);z-index:5}.modal-header h2{font-size:20px}.modal-header p{font-size:12px;margin-top:6px}.modal-header .icon-btn{margin:-7px -8px -7px 0}.modal-body{padding:24px}.modal-footer{padding:16px 24px;border-top:1px solid var(--border);display:flex;align-items:center;justify-content:flex-end;gap:9px;background:var(--surface);position:sticky;bottom:0;z-index:5}.modal-footer .muted{margin-right:auto;font-size:12px}.device-options{display:grid;gap:9px}.device-option{border:1px solid var(--border);border-radius:10px;padding:14px;display:flex;align-items:center;gap:12px;text-align:left;min-height:70px}.device-option:hover{background:var(--soft)}.device-option .badge{margin-left:auto}.device-option strong{display:block;font-size:13px;font-weight:550}.device-option small{display:block;color:var(--muted);margin-top:3px}.control-layout{display:grid;grid-template-columns:minmax(260px,1fr) minmax(280px,340px);gap:24px}.control-stage{min-height:520px;height:min(65vh,690px);background:var(--soft2);border:1px solid var(--border);border-radius:12px;display:flex;align-items:center;justify-content:center;position:relative;padding:14px;overflow:hidden}.control-stage img{display:block;max-width:100%;max-height:100%;width:auto;height:auto;position:relative;z-index:2;touch-action:none;user-select:none;-webkit-user-select:none;border-radius:6px;background:#111;cursor:crosshair}.control-panel{display:grid;gap:20px;align-content:start}.control-keyboard{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.control-keyboard .btn{min-height:48px;font-size:12px;padding:8px;display:flex;flex-direction:column;gap:4px}.control-section{display:grid;gap:10px}.control-section h3{font-size:13px;letter-spacing:0}.control-section p{font-size:12px;line-height:1.7}.control-section textarea{width:100%;min-height:87px;font-size:13px}.record-button{display:flex;gap:10px;align-items:center;justify-content:center;min-height:46px;border:1px solid var(--border);border-radius:8px;width:100%;font-size:13px}.record-dot{width:9px;height:9px;border-radius:50%;background:var(--red)}.record-button.recording{background:var(--red-bg);border-color:var(--red);color:var(--red)}.record-button.recording .record-dot{animation:pulse 1.2s infinite}.control-advanced{border-top:1px solid var(--border);padding-top:14px}.control-advanced summary{cursor:pointer;font-size:12px;color:var(--muted);padding:8px 0}.control-advanced .stack{margin-top:12px}.control-advanced input{width:100%;font-size:12px}.media-list{display:grid;gap:4px;max-height:190px;overflow:auto}.media-file{display:flex;align-items:center;gap:8px;text-align:left;min-height:38px;padding:7px;border-radius:6px;font-size:11px;overflow-wrap:anywhere}.media-file:hover{background:var(--soft)}.inspection{white-space:pre-wrap;overflow-wrap:anywhere;max-height:230px;overflow:auto}.step-list{display:grid;gap:10px;margin:20px 0}.step-card{border:1px solid var(--border);border-radius:10px;overflow:hidden}.step-head{display:flex;align-items:center;gap:10px;padding:10px 12px;background:var(--soft2)}.step-head select{font-size:12px;min-height:36px;padding:7px 10px}.step-index{font-size:11px;width:24px;color:var(--muted);font-variant-numeric:tabular-nums}.step-body{padding:15px;display:grid;gap:14px}.step-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.step-fields label{font-size:11px}.step-fields input,.step-fields select{min-height:40px;padding:9px 11px;font-size:12px}.step-check{border-top:1px solid var(--border);padding-top:12px}.step-check summary{font-size:12px;cursor:pointer;color:var(--muted);min-height:32px}.step-check .step-fields{margin-top:10px}.json-editor{width:100%;height:430px;font-family:"SFMono-Regular",Consolas,monospace;font-size:12px;tab-size:2}.token-box{background:var(--soft);padding:16px;border-radius:10px;word-break:break-all;font-family:Consolas,monospace;font-size:12px;line-height:1.7;user-select:all}.timeline{display:grid;gap:0;margin-top:24px}.timeline-item{display:grid;grid-template-columns:18px 1fr;gap:10px;padding-bottom:20px;position:relative}.timeline-item:before{content:"";position:absolute;width:1px;background:var(--border);top:10px;bottom:0;left:5px}.timeline-item:last-child:before{display:none}.timeline-dot{height:11px;width:11px;border:2px solid var(--muted);background:var(--surface);border-radius:50%;margin-top:5px;z-index:1}.timeline-title{font-size:12px;font-weight:500}.timeline-detail{font-size:12px;color:var(--muted);line-height:1.7;margin-top:4px;overflow-wrap:anywhere}.evidence-image{display:block;max-height:450px;max-width:100%;margin:16px auto;border-radius:8px}.key-value{display:grid;grid-template-columns:100px 1fr;gap:10px;font-size:12px}.key-value dt{color:var(--muted)}.key-value dd{margin:0;overflow-wrap:anywhere}#toasts{position:fixed;bottom:24px;right:24px;display:grid;gap:9px;z-index:100;max-width:min(400px,calc(100vw - 32px));pointer-events:none}.toast{padding:13px 16px;background:var(--ink);color:var(--inverse);border-radius:10px;font-size:12px;line-height:1.6;box-shadow:0 6px 25px rgba(0,0,0,.13);animation:appear .2s ease;overflow-wrap:anywhere}.toast.error{background:var(--red);color:#fff}.error-banner{margin-bottom:22px}.keyboard-hint{font-size:11px;color:var(--muted);text-align:center;margin-top:10px}.session-dirty{font-size:11px;color:var(--amber)}
@keyframes spin{to{transform:rotate(360deg)}}@keyframes pulse{50%{opacity:.35}}@keyframes appear{from{transform:translateY(6px);opacity:0}to{transform:none;opacity:1}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
@media(min-width:1500px){.device-preview{height:365px}.empty-slot{min-height:475px}.slot-add{min-height:385px}}
@media(max-width:1180px){.shell{grid-template-columns:200px minmax(0,1fr)}.sidebar{width:200px;padding-inline:12px}.main{padding:28px}.topbar{padding-inline:28px}.logo-name{font-size:14px}.device-wall{gap:12px}.device-preview{height:260px}.empty-slot{min-height:370px}.slot-add{min-height:280px}.device-header{gap:7px;padding:11px}.device-name{font-size:12px}.device-agent{font-size:10px}.wall-footer{flex-direction:column;gap:4px}.auth-story{padding:36px 40px}.workflow-grid{grid-template-columns:1fr}}
@media(max-width:920px){.device-wall{grid-template-columns:repeat(2,minmax(0,1fr))}.page-head{align-items:flex-start}.page-head .actions{flex-wrap:wrap;justify-content:flex-end}.metrics .metric{padding:16px}.metric-label{font-size:11px}.metric-value{font-size:24px}.metric-value small{display:block;margin-left:0;margin-top:4px}.control-layout{grid-template-columns:minmax(230px,1fr) minmax(240px,300px);gap:16px}.control-stage{min-height:440px}.help-grid{grid-template-columns:1fr}}
@media(max-width:760px){.auth-page{grid-template-columns:1fr}.auth-story{display:none}.auth-main{min-height:100dvh;padding:35px 25px}.auth-mobile-logo{display:flex}.shell{display:block}.sidebar{transform:translateX(-100%);transition:transform .2s,visibility .2s;width:245px;box-shadow:none;visibility:hidden}.sidebar.open{transform:translateX(0);box-shadow:var(--shadow);visibility:visible}.sidebar-backdrop{position:fixed;inset:0;background:rgba(0,0,0,.3);z-index:19}.workspace{width:100%}.topbar{height:66px;padding:0 16px}.mobile-menu{display:inline-flex}.topbar .breadcrumb>span:first-child,.topbar .breadcrumb>svg{display:none}.topbar-actions .badge{font-size:10px}.main{padding:24px 18px}.page-head{gap:14px;align-items:flex-start;margin-bottom:24px}.page-head h1{font-size:28px}.page-head p{font-size:12px;max-width:240px}.page-head .actions .btn{font-size:12px;padding:8px 12px}.metrics{margin-bottom:25px}.metric{padding:13px!important}.metric-label{gap:5px}.metric-label svg{display:none}.metric-value{font-size:23px}.metric-value small{font-size:10px}.section-head{gap:8px;flex-wrap:wrap}.section-head .session-control{flex:1}.session-control select{max-width:150px;font-size:13px}.layout-options .segment{display:none}.session-control .icon-btn{min-width:36px}.device-preview{height:260px;padding:10px}.device-card .device-header .slot-number{display:none}.device-header{padding:12px 10px}.device-name{font-size:12px}.device-agent{font-size:10px}.device-footer{padding:7px 8px;gap:4px}.device-footer .badge{font-size:9px;gap:4px;padding:5px 6px}.device-footer .btn{font-size:11px;padding:7px;gap:3px}.device-footer .btn svg{width:13px}.empty-slot{min-height:366px}.slot-add{min-height:280px;padding:16px}.workflow-grid{gap:12px}.list-card{padding:16px}.list-card-head{gap:11px;flex-wrap:wrap}.list-card-head .list-card-actions{margin-left:53px}.client-code pre{font-size:10px}.list-meta{gap:12px}.control-layout{grid-template-columns:1fr}.control-stage{min-height:300px;height:55dvh;padding:10px}.control-panel{grid-template-columns:1fr;gap:18px}.control-keyboard{grid-template-columns:repeat(3,1fr)}dialog,dialog.wide,dialog.focus-dialog{width:calc(100% - 16px);max-height:calc(100dvh - 16px);border-radius:14px}.modal-header{padding:18px}.modal-body{padding:18px}.modal-footer{padding:13px 18px;flex-wrap:wrap}.modal-footer .muted{width:100%;font-size:11px}.modal-header h2{font-size:18px}.form-grid{gap:12px}.step-head{padding:9px;gap:6px}.step-head .icon-btn{min-width:30px}.step-head select{max-width:180px}.step-body{padding:12px}.table-scroll{margin-inline:-2px}.auth-graphic{display:none}.topbar-actions .live-clock{display:none}.keyboard-hint{display:none}#toasts{bottom:16px;right:16px}.wall-footer{font-size:10px}}
@media(max-width:390px){.device-wall{grid-template-columns:1fr}.device-preview{height:330px}.empty-slot{min-height:220px}.slot-add{min-height:150px}.page-head{flex-direction:column}.page-head .actions{width:100%;justify-content:flex-start}.device-card .device-header .slot-number{display:grid}.metric-label{font-size:10px}.metric-value{font-size:21px}}
