﻿@media(min-width:1550px){.screen-frame{height:485px;max-width:260px}.terminal{max-height:525px;min-height:430px}.detail-body{grid-template-columns:1fr 1.2fr}.workspace{grid-template-columns:290px minmax(0,1fr)}}
@media(max-width:1200px){.app-shell{grid-template-columns:190px minmax(0,1fr)}.sidebar{padding:28px 13px 15px}.topbar{padding:0 24px}.page-view{padding:30px 24px}.workspace{grid-template-columns:225px minmax(0,1fr);gap:14px}.detail-body{grid-template-columns:1fr}.screen-section{border-right:0;border-bottom:1px solid var(--line)}.screen-frame{height:390px;max-width:220px}.terminal{min-height:260px;max-height:360px}.terminal-section{padding:19px}.overview-end{display:none}.page-footer{margin:10px 24px 0}.device-item strong{max-width:140px}.detail-header{flex-wrap:wrap}.story-copy h1{font-size:3rem}.login-story{padding:40px}.page-heading h1{font-size:2.1rem}.page-heading .primary{font-size:.78rem}}
@media(max-width:760px){.login-view{grid-template-columns:1fr}.login-story{padding:25px 28px 30px;border-right:0;border-bottom:1px solid var(--line)}.login-story .brand{font-size:1.4rem}.story-copy{margin:35px 0 0}.story-copy h1{font-size:2.3rem;letter-spacing:-1.5px;margin:15px 0}.story-copy p{font-size:.9rem}.connection-art,.login-footer{display:none}.login-form-wrap{padding:38px 26px}.login-form h2{font-size:1.7rem}.app-shell{grid-template-columns:1fr}.sidebar{height:auto;position:static;padding:15px 20px 10px;border-right:0;border-bottom:1px solid var(--line);display:block}.sidebar .brand{margin:0 0 20px;font-size:1.3rem;display:inline-flex}.brand-mark{width:30px;height:30px;font-size:1rem}.brand-caption{font-size:.5rem;margin-left:39px}.nav-caption,.connection-note,.account-shortcut{display:none}.sidebar nav{display:flex;gap:5px}.nav-item{width:auto;font-size:.8rem;padding:10px;margin:0}.nav-item svg{width:17px;height:17px}.nav-count{font-size:.65rem}.sidebar-bottom{position:absolute;right:17px;top:19px}.logout{font-size:.75rem}.topbar{height:55px;padding:0 20px}.topbar>span:first-child{font-size:.7rem;gap:8px}.stage-label{font-size:.55rem}.page-view{padding:27px 20px}.page-heading{align-items:flex-start;flex-direction:column;gap:18px}.page-heading h1{font-size:2rem}.page-heading p{font-size:.82rem}.page-heading .primary{font-size:.82rem;width:100%}.overview{gap:9px;font-size:.65rem;padding:12px 10px}.overview>div{gap:5px}.overview-divider{margin:0}.overview svg{width:14px}.workspace{grid-template-columns:1fr;gap:18px}.device-list{min-height:0;max-height:220px;display:flex;gap:8px;overflow:auto}.device-item{min-width:220px;width:auto;flex:none;margin:0}.list-hint{font-size:.68rem;padding:12px}.panel-title{padding:9px 13px 4px}.detail-body{grid-template-columns:1fr}.device-detail{min-height:0}.detail-header{padding:17px}.detail-header .device-icon{display:none}.detail-header h2{font-size:.95rem}.status-badge{font-size:.62rem}.screen-frame{height:430px;max-width:240px}.terminal{max-height:360px;min-height:290px}.page-footer{margin:0 20px;font-size:.58rem}.activity-row{flex-wrap:wrap;font-size:.73rem}.activity-row small{font-size:.62rem}.activity-device{margin-left:0}.user-row{grid-template-columns:1fr 1fr;padding:17px}.user-row>span:last-child{grid-column:1/-1}.toast{left:20px;right:20px;bottom:20px;max-width:none}.form-card{padding:21px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
/* Keep controls and command output readable at the normal browser size. */
.nav-item,.page-heading p,.overview,.device-item strong,.detail-header p,.quick-commands button{font-size:.875rem}
.section-label,.status-badge,.device-state,.device-item small,.list-hint,.screen-status,.screen-toolbar,.screen-toolbar button,.terminal-note,.quick-label,.terminal-top,.terminal-output .result-meta,.activity-row small,.stage-label,.page-footer,.connection-note,.connection-note small{font-size:.75rem}
.terminal-output,.command-form input,.activity-row,.terminal-title button{font-size:.875rem}
.terminal-output{line-height:1.65}.screen-toolbar{gap:8px}.overview{flex-wrap:wrap}.detail-header{flex-wrap:wrap}.detail-header p{font-size:.8rem}.activity-device{font-size:.8rem}
@media(max-width:760px){.overview-divider{display:none}.overview{gap:10px 18px}.nav-item{font-size:.875rem}.screen-toolbar{font-size:.75rem}.page-footer{gap:15px;flex-wrap:wrap}}
@media(max-width:760px){.topbar .stage-label{display:none}.topbar>span:first-child{white-space:nowrap;font-size:.75rem}.nav-item{white-space:nowrap}.sidebar nav{gap:0}.nav-item{padding:10px 8px}}
.background-button{font-size:.8rem;margin-top:16px;width:100%;padding:10px 8px}
.setup-choice{flex-direction:row;align-items:center;gap:10px;font-size:.875rem;line-height:1.5}.setup-choice input{width:18px;height:18px;flex:none;accent-color:var(--accent)}.setup-note{font-size:.83rem;color:var(--muted);line-height:1.65;padding:13px 15px;background:#0e171e;border:1px solid var(--line);border-radius:8px}.port-fields{display:grid;grid-template-columns:1fr 1fr;gap:15px}.port-fields label{margin-bottom:0}.setup-progress-list{list-style:none;padding:0;margin:22px 0;display:grid;gap:14px}.setup-progress-list li{display:flex;align-items:center;gap:11px;color:var(--muted);font-size:.875rem}.setup-progress-list li:before{content:'';width:10px;height:10px;flex:none;border:1px solid #526875;border-radius:50%}.setup-progress-list li.done{color:var(--green)}.setup-progress-list li.done:before{background:var(--green);border-color:var(--green)}.setup-progress-list li.current{color:var(--accent)}.setup-progress-list li.current:before{background:var(--accent);border-color:var(--accent)}#setup-progress{display:block;width:100%;height:8px;accent-color:var(--accent);margin-top:20px}#setup-progress.failed{accent-color:var(--red)}#modal{max-height:90vh;overflow-y:auto}

.automatic-note{font-size:.875rem;color:var(--green);margin-top:18px}.setup-caption{font-size:.85rem;margin-bottom:18px}

.cafe-panel{border-top:1px solid var(--line);padding:25px;display:flex;flex-direction:column;gap:18px}.cafe-heading{display:flex;flex-wrap:wrap;align-items:flex-start;justify-content:space-between;gap:12px}.cafe-heading-main{display:flex;flex-direction:column;gap:6px}.cafe-heading h3{font-size:1.4rem;line-height:1.2;margin:0}.cafe-state{display:inline-flex;align-items:center;gap:8px;padding:7px 13px;border:1px solid var(--line);border-radius:999px;font-size:.76rem;color:var(--muted);white-space:nowrap}.cafe-state::before{content:"";width:7px;height:7px;flex:none;border-radius:50%;background:currentColor;opacity:.75}.cafe-state.ready{color:var(--green);border-color:currentColor}.cafe-state.busy{color:#bfe36b;border-color:currentColor}.cafe-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:10px}.cafe-conversation-controls{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.cafe-conversation-controls select{min-width:220px;max-width:360px;font:inherit;font-size:.82rem;color:var(--text);background:#0c141b;border:1px solid var(--line);border-radius:8px;padding:9px 11px}.cafe-conversation-controls button{min-height:38px;padding:8px 13px;font-size:.82rem}.cafe-conversation{display:flex;flex-direction:column;gap:14px;min-height:220px;max-height:420px;overflow:auto;padding:18px;background:#0c141b;border:1px solid var(--line);border-radius:12px}.cafe-message{max-width:min(92%,660px);padding:12px 15px;border-radius:10px;background:#16232d}.cafe-message.user{margin-left:auto;background:#22302a}.cafe-message small{display:block;margin:0 0 5px;color:var(--muted);font-size:.7rem;letter-spacing:.05em;text-transform:uppercase}.cafe-message p{white-space:pre-wrap;overflow-wrap:anywhere;font-size:.875rem;line-height:1.65;margin:0}.cafe-empty{margin:auto;max-width:420px;text-align:center;line-height:1.6;color:var(--muted);font-size:.9rem}.cafe-form{display:flex;flex-direction:column;gap:12px}.cafe-field{display:flex;flex-direction:column;gap:8px;font-size:.85rem}.cafe-form textarea{width:100%;resize:vertical;min-height:96px;background:#0c141b;border:1px solid var(--line);border-radius:10px;padding:12px;color:var(--text);font:inherit;line-height:1.6}.cafe-form textarea:focus{outline:2px solid var(--accent)}.cafe-actions{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:12px}.cafe-actions small{margin-right:auto;max-width:420px;color:var(--muted);font-size:.72rem;line-height:1.5}.cafe-actions button{min-height:40px;padding:9px 16px}.cafe-progress:empty{display:none}.cafe-progress{white-space:pre-wrap;font-size:.8rem;line-height:1.7;color:var(--muted)}.cafe-cancel[hidden]{display:none}@media(max-width:1200px){.cafe-state{order:3;white-space:normal;max-width:100%}.cafe-conversation-controls select{min-width:0;max-width:100%}}@media(max-width:760px){.cafe-panel{padding:18px}.cafe-conversation-controls{flex:1}.cafe-conversation-controls select{min-width:100%}.cafe-conversation-controls button{flex:1}.cafe-actions small{width:100%;max-width:none}.cafe-actions button{flex:1}.cafe-message{max-width:100%}}

.zerotier-card{margin-top:25px}.zerotier-card form{margin-top:22px}.zerotier-card select{width:100%;font:inherit;color:var(--text);background:#0c141b;border:1px solid var(--line);border-radius:8px;padding:12px}.zerotier-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}#zerotier-status{font-size:.875rem;line-height:1.65}.zerotier-actions [hidden]{display:none}

.setup-progress-list li.failed{color:var(--red)}.setup-progress-list li.failed:before{border-color:var(--red);background:var(--red)}

.screen-tree-overlay{position:absolute;inset:9px;z-index:3;display:flex;flex-direction:column;overflow:hidden;border-radius:14px;border:1px solid #3a5261;background:#0b1319f7;color:var(--text);pointer-events:none;text-align:left}.screen-tree-head{padding:13px 12px 10px;border-bottom:1px solid #263946;background:#111e27}.screen-tree-head strong{display:block;font-size:.78rem}.screen-tree-head small{display:block;margin-top:3px;font-size:.62rem;color:var(--green)}.screen-tree-body{min-height:0;overflow:hidden;padding:7px 0}.screen-tree-row{padding:5px 9px 5px calc(9px + var(--depth)*7px);border-bottom:1px solid #ffffff08;overflow:hidden}.screen-tree-label{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:.68rem;color:#d9e6ed}.screen-tree-row small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:.55rem;color:#738b99;line-height:1.35}.screen-tree-empty{display:flex;align-items:center;justify-content:center;height:100%;padding:28px 18px;text-align:center;color:var(--muted);font-size:.72rem;line-height:1.6}.screen-tree-limit{padding:8px 10px;color:var(--muted);font-size:.58rem;text-align:center}.screen-frame video{transition:opacity .18s}.screen-frame{touch-action:none}
.screen-tree-overlay{pointer-events:auto;background:#0b1319;touch-action:pan-y}.screen-tree-head{flex:none}.screen-tree-body{flex:1;overflow:auto;overscroll-behavior:contain;touch-action:pan-y;padding:9px;scrollbar-width:thin;scrollbar-color:#638298 #14212b}.screen-tree-node{border:1px solid #3a5363;border-radius:7px;background:#12212b;margin-bottom:8px;overflow:hidden}.screen-tree-row{display:block;width:100%;padding:9px;text-align:left;background:transparent;color:var(--text);border:0;border-radius:0}.screen-tree-label{font-size:.76rem;white-space:normal;overflow-wrap:anywhere}.screen-tree-row small{font-size:.61rem;white-space:normal;margin-top:4px;color:#9fb7c5}.screen-tree-children{margin:0 6px 6px;padding:6px 0 0 6px;border-left:2px solid #70d6b177}.screen-tree-children .screen-tree-node{background:#0d1821}.screen-tree-row:is(button):hover,.screen-tree-row:is(button):focus-visible{background:#2b424e}.tree-tapped{border-color:var(--accent)}
:root{color-scheme:dark;--bg:#0c1116;--surface:#121a21;--surface2:#17222b;--line:#26343e;--text:#eef2f4;--muted:#92a3af;--accent:#57d29a;--green:#70d6b1;--red:#ff9393;--radius:14px;font-family:Inter,"Segoe UI",Arial,sans-serif;font-size:16px}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text)}[hidden]{display:none!important}button,input{font:inherit}button,a,input{ -webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:wait;opacity:.55}button:focus-visible,a:focus-visible{outline:2px solid var(--accent);outline-offset:4px}button{display:inline-flex;align-items:center;justify-content:center;gap:9px;border:0}a{color:inherit;text-decoration:none}svg{width:20px;height:20px;flex:none;vertical-align:middle;stroke-width:1.7}button svg{pointer-events:none}h1,h2,h3,p{margin:0}h1{font-size:2.4rem;letter-spacing:-1.5px;line-height:1.15;font-weight:650}h2{font-size:1.05rem;letter-spacing:-.2px;font-weight:600}p{color:var(--muted);line-height:1.6}.eyebrow{font-size:.75rem;font-weight:700;letter-spacing:1.7px;color:var(--accent)}.brand{display:flex;align-items:center;gap:9px;font-size:1.6rem;font-weight:800;letter-spacing:-.7px;flex-wrap:wrap}.brand-mark{background:var(--accent);color:#151c22;border-radius:9px;font-size:1.3rem;width:36px;height:36px;display:grid;place-items:center;font-weight:900}.brand-caption{display:block;flex-basis:100%;font-size:.62rem;letter-spacing:2px;color:var(--muted);margin-left:45px;margin-top:-8px;font-weight:600}.primary,.secondary,.danger{padding:12px 17px;border-radius:9px;font-weight:600;font-size:.9rem;min-height:44px;transition:background .15s}.primary{background:var(--accent);color:#161b1f}.primary:hover{background:#7fe0b3}.secondary{background:var(--surface2);color:var(--text);border:1px solid var(--line)}.secondary:hover{background:#22323e}.danger{color:var(--red);background:#321e25;border:1px solid #59313b}.icon-button{padding:7px;background:transparent;color:var(--muted);border-radius:6px;min-width:36px;min-height:36px}.icon-button:hover{background:var(--surface2);color:var(--text)}.muted{color:var(--muted)}small{font-size:.8rem;color:var(--muted);line-height:1.6}label{display:flex;flex-direction:column;gap:9px;font-size:.9rem;font-weight:500;margin:20px 0}input{border:1px solid var(--line);background:#0e151c;padding:13px 14px;border-radius:8px;color:var(--text);width:100%;outline:none;min-width:0}input:focus{border-color:var(--accent);box-shadow:0 0 0 3px #57d29a10}input::placeholder{color:#667b89}input:disabled{color:var(--muted);opacity:.7}.error{color:var(--red);font-size:.9rem;min-height:1rem}.login-view{display:grid;grid-template-columns:1.08fr 1fr;min-height:100vh}.login-story{background:#121d26;position:relative;padding:48px 64px;display:flex;flex-direction:column;justify-content:space-between;border-right:1px solid var(--line)}.story-copy{max-width:520px;margin:90px 0 40px}.story-copy h1{font-size:3.65rem;letter-spacing:-2.8px;margin:20px 0 22px;line-height:1.08}.story-copy p{max-width:380px;font-size:1.05rem}.login-footer{font-size:.8rem;color:#7c94a5}.login-form-wrap{display:grid;place-items:center;padding:56px 32px}.login-form{width:100%;max-width:380px}.login-form h2{font-size:1.85rem;margin:14px 0 10px;letter-spacing:-1px}.login-form>p{font-size:.95rem}.login-form label:first-of-type{margin-top:34px}.login-form .primary{width:100%;justify-content:space-between;margin:12px 0 22px}.login-form small{display:block;text-align:center}.connection-art{height:240px;display:flex;align-items:center;gap:0;max-width:400px;margin-top:38px}.art-host{width:120px;height:102px;background:#1c2b37;border:1px solid #365064;border-radius:13px;padding:19px 16px;position:relative;display:flex;flex-direction:column;gap:10px;box-shadow:0 14px 30px #0002}.art-host>span:not(.art-led){height:8px;border-radius:3px;background:#354c5c;width:60px}.art-led{position:absolute;width:6px;height:6px;border-radius:100%;background:var(--accent);right:14px;top:20px}.art-line{flex:1;height:1px;background:#587369;position:relative}.art-line:after{content:"";position:absolute;left:50%;top:-4px;background:var(--green);width:8px;height:8px;border-radius:100%;box-shadow:0 0 0 5px #70d6b112}.art-phone{height:210px;width:118px;border:2px solid #4b6576;background:#15222c;border-radius:22px;padding:8px;display:flex;align-items:center;flex-direction:column;justify-content:center;position:relative;box-shadow:0 18px 28px #0003}.art-phone-bar{position:absolute;top:7px;width:42px;height:8px;border-radius:5px;background:#0b141b}.art-phone b{font-size:2.4rem;font-weight:800;background:var(--accent);color:#15222c;border-radius:12px;width:54px;height:54px;display:grid;place-items:center}.art-phone>span{font-size:.6rem;color:var(--muted);margin-top:15px}.app-shell{display:grid;grid-template-columns:220px minmax(0,1fr);min-height:100vh}.sidebar{position:sticky;top:0;height:100vh;padding:32px 20px 18px;background:#111920;border-right:1px solid var(--line);display:flex;flex-direction:column}.sidebar .brand{margin:0 10px 56px}.nav-caption{font-size:.66rem;letter-spacing:1.5px;color:#708695;padding:0 13px 14px;font-weight:700}.nav-item{width:100%;justify-content:flex-start;padding:13px 12px;margin-bottom:6px;border-radius:8px;background:transparent;color:#9eafbb;font-size:.88rem}.nav-item.active{color:var(--accent);background:#57d29a10;box-shadow:inset 2px 0 var(--accent)}.nav-item:hover{background:#ffffff06}.nav-count{margin-left:auto;background:#57d29a1c;font-size:.75rem;padding:2px 6px;border-radius:4px}.sidebar-bottom{margin-top:auto}.connection-note{display:flex;gap:9px;color:var(--green);font-size:.75rem;align-items:flex-start;padding:18px 9px 24px}.connection-note svg{width:17px}.connection-note small{display:block;font-size:.7rem;margin-top:3px}.account-shortcut{background:none;color:var(--text);border-top:1px solid var(--line);width:100%;padding:22px 4px 15px;justify-content:flex-start;text-align:left;gap:10px}.avatar{display:grid;place-items:center;width:34px;height:34px;background:#273b46;border:1px solid #405965;border-radius:50%;font-size:.8rem;color:#c9dbe5;flex:none}.account-shortcut b{display:block;font-size:.82rem;max-width:105px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.account-shortcut small{font-size:.71rem}.account-shortcut>svg{margin-left:auto;width:17px}.logout{background:none;color:var(--muted);font-size:.8rem;justify-content:flex-start;padding:10px 8px}.logout svg{width:16px}.topbar{height:76px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 36px;font-size:.8rem;color:var(--muted)}.topbar>span:first-child{display:flex;align-items:center;gap:12px}.topbar b{color:#dbe4ea;font-weight:500}.topbar-square{width:14px;height:14px;border:1.5px solid #7d94a3;border-radius:3px;box-shadow:inset -4px 0 #7d94a322}.slash{color:#405562}.stage-label{font-size:.63rem;letter-spacing:1px;color:#7d93a2}.version{padding:4px 6px;background:#1d2b35;margin-left:7px;border-radius:4px;color:#b3c3cd}.page-view{padding:38px 36px 26px;max-width:1600px;margin:0 auto}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:28px}.page-heading .eyebrow{font-size:.65rem}.page-heading h1{margin:10px 0 11px}.page-heading p{font-size:.9rem}.title-dot{color:var(--accent)}.overview{display:flex;gap:17px;align-items:center;border:1px solid var(--line);border-radius:10px;padding:15px 18px;margin-bottom:25px;font-size:.78rem;color:var(--muted);background:#10181e}.overview>div{display:flex;align-items:center;gap:7px}.overview b{color:var(--text);font-weight:600}.overview svg{width:16px;height:16px}.overview-divider{height:17px;width:1px;background:var(--line);margin:0 3px}.overview-end{margin-left:auto;font-size:.72rem;display:flex;align-items:center;gap:8px;color:#7f95a3}.status-dot{width:6px;height:6px;display:inline-block;background:#687984;border-radius:50%;flex:none}.status-dot.online{background:var(--green)}.workspace{display:grid;grid-template-columns:270px minmax(0,1fr);gap:20px;align-items:start}.device-list-panel{border:1px solid var(--line);border-radius:var(--radius);background:#111920;overflow:hidden}.panel-title{display:flex;align-items:center;justify-content:space-between;padding:16px 16px 10px}.panel-title h2{font-size:.9rem}.device-list{padding:2px 10px 10px;min-height:200px;max-height:580px;overflow:auto}.device-item{width:100%;display:flex;text-align:left;justify-content:flex-start;padding:15px 10px;border:1px solid transparent;background:transparent;color:var(--text);border-radius:9px;gap:10px;margin-bottom:5px}.device-item.selected{background:#1b2933;border-color:#354b59}.device-item:hover{background:#1a2730}.device-icon{width:35px;height:43px;background:#263c49;color:#bbd2df;display:grid;place-items:center;border-radius:8px;flex:none}.device-item.selected .device-icon{background:#24382f;color:var(--accent)}.device-item strong{font-size:.85rem;font-weight:600;display:block;max-width:155px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.device-item small{font-size:.7rem;display:block;margin-top:3px}.device-state{display:flex;align-items:center;gap:6px;font-size:.68rem;margin-top:8px;color:var(--muted)}.device-state.connected{color:var(--green)}.list-hint{font-size:.72rem;line-height:1.6;color:#8397a4;display:flex;gap:9px;padding:17px;border-top:1px solid var(--line)}.list-hint svg{width:15px;height:15px;margin-top:3px}.device-detail{border:1px solid var(--line);border-radius:var(--radius);background:#111920;min-height:570px;overflow:hidden}.detail-header{padding:20px 22px;border-bottom:1px solid var(--line);display:flex;gap:12px;align-items:center}.detail-header h2{font-size:1.05rem}.detail-header p{font-size:.75rem;margin-top:5px}.detail-header .header-actions{display:flex;gap:4px;margin-left:auto}.status-badge{display:inline-flex;align-items:center;gap:6px;font-size:.68rem;background:#70d6b10c;color:var(--green);padding:6px 8px;border:1px solid #70d6b12e;border-radius:5px;margin-left:5px;white-space:nowrap}.status-badge.offline{background:#ffffff04;border-color:var(--line);color:var(--muted)}.detail-body{display:grid;grid-template-columns:minmax(220px,.9fr) minmax(240px,1fr)}.screen-section{padding:19px;border-right:1px solid var(--line)}.section-label{display:flex;align-items:center;gap:7px;color:var(--muted);font-size:.73rem;margin-bottom:16px}.section-label svg{width:15px;height:15px}.screen-frame{height:400px;max-width:230px;margin:0 auto;background:#090d11;border:1px solid #31404b;border-radius:22px;padding:9px;position:relative;display:flex;align-items:center;justify-content:center;overflow:hidden}.screen-frame:before{content:"";position:absolute;top:5px;left:calc(50% - 20px);width:40px;height:4px;background:#2a3943;border-radius:5px;z-index:2}.screen-frame video{max-height:100%;width:100%;height:100%;object-fit:contain;border-radius:14px;touch-action:none;background:#000}.screen-placeholder{text-align:center;padding:22px;color:var(--muted);font-size:.78rem;position:absolute;inset:10px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:15px}.screen-placeholder svg{width:34px;height:34px;color:#6c8494}.screen-placeholder p{font-size:.75rem}.screen-placeholder .primary{font-size:.78rem;padding:10px 13px;min-height:38px}.screen-status{font-size:.67rem;text-align:center;color:var(--muted);min-height:32px;padding-top:10px;line-height:1.5}.screen-nav{display:flex;justify-content:center;gap:18px;margin-top:2px}.screen-nav button{border:1px solid var(--line);border-radius:7px;width:41px;height:34px;min-height:34px;background:#18232c;color:var(--muted)}.screen-nav svg{width:16px;height:16px}.screen-toolbar{display:flex;gap:10px;justify-content:space-between;align-items:center;margin-top:15px;font-size:.66rem;color:#8298a6}.screen-toolbar button{font-size:.72rem;padding:8px 9px;min-height:32px}.terminal-section{min-width:0;padding:19px;display:flex;flex-direction:column}.terminal-title{display:flex;align-items:center;justify-content:space-between}.terminal-title button{font-size:.7rem;color:var(--muted);background:none}.terminal{background:#0a1015;border:1px solid #273540;border-radius:9px;overflow:hidden;display:flex;flex-direction:column;flex:1;min-height:332px;max-height:440px}.terminal-top{padding:11px 12px;display:flex;align-items:center;gap:5px;border-bottom:1px solid #202e38;font-size:.63rem;color:#768e9f}.terminal-top>i{width:5px;height:5px;background:#435866;border-radius:50%}.terminal-top>span{margin-left:5px}.terminal-output{padding:14px;flex:1;min-height:0;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere;font: .73rem/1.65 Consolas,"Courier New",monospace;color:#b3c7d4;margin:0}.terminal-output .prompt-line{color:var(--accent)}.terminal-output .error-line{color:var(--red)}.terminal-output .result-meta{color:#658294;font-size:.65rem}.command-form{display:flex;gap:7px;align-items:center;padding:9px;border-top:1px solid #273540}.command-form>span{color:var(--green);font-family:Consolas,monospace;margin-left:4px}.command-form input{border:0;background:transparent;box-shadow:none;padding:7px 3px;font: .75rem Consolas,monospace}.command-form button{background:#57d29a20;color:var(--accent);padding:7px;border-radius:5px;min-width:31px}.command-form svg{width:16px;height:16px}.quick-label{font-size:.66rem;color:#839aa8;margin:17px 0 9px}.quick-commands{display:flex;gap:6px;flex-wrap:wrap}.quick-commands button{background:#192630;border:1px solid #2a3d4b;color:#c4d2dc;font-size:.68rem;padding:7px 9px;border-radius:5px}.terminal-note{font-size:.68rem;line-height:1.6;margin-top:14px;color:#8095a3}.workspace-empty{min-height:550px;display:flex;flex-direction:column;justify-content:center;align-items:center;padding:40px;text-align:center}.workspace-empty>svg{width:42px;height:42px;color:#7692a4;margin-bottom:22px}.workspace-empty p{max-width:290px;font-size:.85rem;margin:13px 0 25px}.empty-list{text-align:center;color:var(--muted);font-size:.8rem;padding:42px 10px;line-height:1.7}.activity-section{margin-top:28px}.section-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:15px}.section-title h2{font-size:.9rem}.section-title>span{font-size:.72rem;color:var(--muted)}.activity-list{border:1px solid var(--line);border-radius:10px;background:#10181e;padding:0 17px}.activity-row{display:flex;align-items:center;gap:12px;border-bottom:1px solid #22313b;padding:13px 0;font-size:.76rem;color:#bbccd7}.activity-row:last-child{border-bottom:0}.activity-row>svg{width:16px;color:#849caa}.activity-row small{font-size:.68rem;margin-left:auto;white-space:nowrap}.activity-device{color:var(--muted);margin-left:5px}.page-footer{display:flex;justify-content:space-between;margin:15px 36px 0;border-top:1px solid #22313b;padding:18px 0 22px;font-size:.63rem;color:#5e7787}.page-footer>span:first-child{letter-spacing:1.5px;font-weight:700}.narrow .form-card{max-width:560px}.form-card{background:var(--surface);padding:27px;border:1px solid var(--line);border-radius:var(--radius)}.form-card>p{font-size:.82rem;margin-top:9px}.form-divider{border-top:1px solid var(--line);margin:30px 0}.form-card .primary{margin-top:10px}.users-list{border:1px solid var(--line);border-radius:12px;overflow:hidden}.user-row{display:grid;grid-template-columns:1fr 1fr 150px;gap:20px;padding:20px 24px;background:var(--surface);border-bottom:1px solid var(--line);font-size:.9rem}.user-row:last-child{border-bottom:0}.user-row small{display:block;margin-top:5px}.user-role{font-size:.75rem;color:var(--green)}dialog{border:1px solid #3b4d5a;background:#141e26;color:var(--text);border-radius:15px;max-width:520px;width:calc(100% - 36px);padding:0;box-shadow:0 30px 100px #0008}dialog::backdrop{background:#020609bb;backdrop-filter:blur(4px)}.modal-header{display:flex;align-items:center;justify-content:space-between;padding:20px 25px;border-bottom:1px solid var(--line)}#modal-body{padding:23px 25px 26px}#modal-body>p{font-size:.86rem}#modal-body form>.primary{width:100%;margin-top:8px}.modal-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:24px}.activation-code{font: .96rem/1.8 Consolas,monospace;letter-spacing:1px;background:#0b131a;border:1px solid var(--line);padding:15px 12px;border-radius:8px;margin:20px 0 9px;overflow-wrap:anywhere;color:var(--accent);text-align:center}.activation-buttons{display:flex;gap:10px;margin-top:20px}.activation-buttons a{display:inline-flex;align-items:center;justify-content:center;gap:8px;flex:1}.activation-steps{margin-top:22px;padding-left:22px;color:#b0c2cf;font-size:.82rem;line-height:1.8}.activation-steps li{margin-bottom:9px}.toast{position:fixed;right:28px;bottom:26px;z-index:1000;border:1px solid #496053;border-radius:9px;background:#192d25;color:#e2f7eb;padding:15px 20px;box-shadow:0 8px 35px #0005;max-width:430px;font-size:.86rem}.toast.is-error{border-color:#68404a;background:#352028;color:#ffe5e5}.vault-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.vault-actions select{background:#0e151c;border:1px solid var(--line);color:var(--text);border-radius:8px;padding:11px 12px;font-size:.85rem;min-height:44px}.vault-bar{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-bottom:18px;font-size:.8rem}.vault-bar>span{margin-right:auto}.ghost{background:transparent;border:1px solid var(--line);color:var(--muted);padding:9px 13px;border-radius:8px;font-size:.8rem;min-height:38px}.ghost:hover{color:var(--text);background:var(--surface2)}.vault-list{display:flex;flex-direction:column;gap:14px}.vault-empty{border:1px dashed var(--line);border-radius:12px;padding:40px;text-align:center;font-size:.85rem;color:var(--muted)}.vault-category{background:var(--surface);border:1px solid var(--line);border-radius:12px;overflow:hidden}.vault-category>summary{cursor:pointer;padding:16px 20px;display:flex;align-items:center;gap:10px;font-size:.95rem;list-style:none}.vault-category>summary::-webkit-details-marker{display:none}.vault-category>summary span{margin-left:auto;background:#57d29a1c;color:var(--accent);border-radius:5px;font-size:.72rem;padding:3px 8px}.vault-app{border-top:1px solid var(--line);padding:14px 20px}.vault-app h3{font-size:.85rem;display:flex;gap:9px;align-items:center;color:#c9dbe5;font-family:Consolas,"Courier New",monospace;font-weight:500;overflow-wrap:anywhere}.vault-app h3 span{color:var(--muted);font-size:.7rem}.vault-app ul{list-style:none;margin:12px 0 0;padding:0;display:flex;flex-direction:column;gap:9px}.vault-entry{display:flex;flex-wrap:wrap;align-items:center;gap:10px;border:1px solid var(--line);border-radius:9px;padding:11px 13px;background:#0e151c}.vault-value{font: .95rem Consolas,"Courier New",monospace;color:var(--text);overflow-wrap:anywhere}.vault-entry.is-secret .vault-value{color:var(--accent)}.vault-entry small{flex-basis:100%;font-size:.68rem}.vault-toggle{background:#57d29a1a;color:var(--accent);border-radius:6px;font-size:.72rem;padding:5px 9px;min-height:26px}@media(max-width:760px){.vault-actions{width:100%}.vault-actions select,.vault-actions .primary{width:100%}.vault-bar>span{flex-basis:100%}}
.screen-frame .screen-tree-overlay{background:rgba(11,19,25,.97)}
.screen-tree-input{flex:none;padding:9px;border-top:1px solid #263946;background:#111e27}.screen-tree-input-label{display:block;margin-bottom:6px;color:#9fb7c5;font-size:.62rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.screen-tree-input input{padding:8px 9px;font-size:.7rem;border-radius:6px}.screen-tree-input-actions{display:grid;grid-template-columns:.72fr 1.28fr;gap:6px;margin-top:7px}.screen-tree-input-actions button{min-height:31px;padding:6px 5px;font-size:.62rem;white-space:nowrap}
.screen-recovery-preview{position:absolute;inset:9px;width:calc(100% - 18px);height:calc(100% - 18px);object-fit:contain;background:#000;border-radius:14px;z-index:2;pointer-events:none}

.payload-section{grid-column:1/-1;border-top:1px solid var(--line);padding:19px;display:flex;flex-direction:column;gap:11px}
.payload-row{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap}
.payload-state{display:flex;gap:7px;flex-wrap:wrap}
.payload-chip{font-size:.72rem;padding:6px 9px;border-radius:5px;border:1px solid var(--line);background:#ffffff05;color:var(--muted)}
.payload-chip.on{border-color:#70d6b133;background:#70d6b10d;color:var(--green)}
.payload-chip.off{color:#a3b3bf}
.payload-actions{display:flex;gap:7px;flex-wrap:wrap}
.payload-actions button{font-size:.75rem;padding:8px 12px;min-height:36px;gap:7px}
.payload-actions button svg{width:15px;height:15px}
.payload-note{font-size:.7rem;color:#8095a3;line-height:1.6;margin:0}
.payload-note code{font-family:Consolas,"Courier New",monospace;color:#c4d2dc}
@media(max-width:760px){.payload-actions{width:100%}.payload-actions button{flex:1}}
.detail-tabs{min-width:0;padding:19px;display:flex;flex-direction:column}  
.detail-tabbar{display:flex;align-items:center;gap:10px;border-bottom:1px solid var(--line);margin-bottom:16px} 
.detail-tablist{display:flex;justify-content:flex-start;gap:8px;min-width:0;width:100%;flex-wrap:nowrap}
.detail-tab{background:none;color:var(--muted);font-size:.64rem;font-weight:600;letter-spacing:.035em;text-transform:uppercase;padding:11px 8px;min-height:38px;border-bottom:2px solid transparent;border-radius:0;white-space:nowrap}
.detail-tab:hover{color:var(--text)}
.detail-tab:focus-visible{outline:2px solid var(--accent);outline-offset:-2px}
.detail-tab.active{color:var(--accent);border-bottom-color:var(--accent)}
.detail-tab-panel{display:flex;flex-direction:column;flex:1;min-width:0}
.detail-tab-panel[hidden]{display:none}
.tab-panel-top{display:flex;justify-content:flex-end;margin-bottom:10px}
.terminal-top .dev-mode-toggle{margin-left:auto;padding:0;background:transparent;color:#8298a6;gap:7px;min-height:20px;font:600 .62rem/1 "Segoe UI",Arial,sans-serif}
.terminal-top .dev-mode-toggle>b{font-weight:600;white-space:nowrap}
.terminal-top .dev-mode-toggle>i{width:27px;height:14px;border-radius:999px;background:#334550;position:relative;transition:background .15s;flex:none}
.terminal-top .dev-mode-toggle>i:after{content:"";position:absolute;width:10px;height:10px;left:2px;top:2px;border-radius:50%;background:#a9bac4;transition:transform .15s,background .15s}
.terminal-top .dev-mode-toggle.on{color:#b9ead4}
.terminal-top .dev-mode-toggle.on>i{background:#2b9169}
.terminal-top .dev-mode-toggle.on>i:after{transform:translateX(13px);background:#e8fff4}
.terminal-top .dev-mode-toggle:disabled{cursor:wait;opacity:.55}
.tab-panel-head{display:flex;align-items:center;justify-content:space-between;gap:12px}
.tab-panel-head .section-label{margin-bottom:0}
.tab-action{background:none;color:var(--muted);font-size:.7rem;letter-spacing:.04em;padding:4px 10px;min-height:26px;border:0}
.tab-action:hover{color:var(--text)}
#cafe-host{min-width:0}
#cafe-host .cafe-panel{border-top:0;padding:0}
#detail-activity{max-height:440px;overflow:auto}
.banks-panel{min-height:332px}
.banks-head{display:flex;align-items:flex-start;justify-content:space-between;margin-bottom:18px}
.banks-head .section-label{margin-bottom:5px}
.bank-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(125px,1fr));gap:10px;align-content:start}
.bank-card{min-width:0;display:flex;align-items:center;justify-content:flex-start;gap:11px;padding:12px;background:#0d151b;border:1px solid #263742;border-radius:10px;color:#dce7ed;text-align:left;cursor:pointer;transition:border-color .15s,background .15s,transform .15s}
.bank-card:hover{background:#111d24;border-color:#3a515e;transform:translateY(-1px)}
.bank-card:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.bank-card strong{font-size:.75rem;font-weight:600;line-height:1.15;white-space:normal;overflow-wrap:anywhere}
.bank-icon{width:45px;height:45px;border-radius:12px;display:grid;place-items:center;position:relative;overflow:hidden;flex:none;background:#20313b;color:#fff}
.bank-icon i{font-style:normal;font-size:.82rem;font-weight:800;letter-spacing:-.04em}
.bank-icon img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0;transition:opacity .15s}
.bank-card.icon-ready .bank-icon img{opacity:1}
.bank-card.icon-ready .bank-icon i{visibility:hidden}
.bank-focus-brand.icon-ready .bank-icon img{opacity:1}
.bank-focus-brand.icon-ready .bank-icon i{visibility:hidden}
.bank-focus{min-height:294px;display:flex;flex-direction:column;align-items:center;position:relative;padding:8px 12px 20px}
.bank-back{align-self:flex-start;display:inline-flex;align-items:center;gap:6px;padding:5px 0;border:0;background:none;color:var(--muted);font-size:.68rem;cursor:pointer}
.bank-back:hover{color:var(--text)}
.bank-back svg{width:14px;height:14px}
.bank-focus-brand{display:flex;flex-direction:column;align-items:center;gap:9px;margin:5px 0 20px;color:var(--text)}
.bank-focus-brand .bank-icon{width:66px;height:66px;border-radius:17px;box-shadow:0 8px 22px #0005}
.bank-focus-brand strong{font-size:.9rem}
.bank-transfer-form{width:min(100%,410px);display:grid;gap:14px}
.bank-transfer-form label{display:grid;gap:7px;color:#dce7ed;font-size:.72rem;font-weight:600}
.bank-transfer-form input{width:100%;height:42px;padding:0 12px;border:1px solid #2a3b46;border-radius:9px;background:#0b1318;color:var(--text);font:inherit;font-weight:400;outline:none}
.bank-transfer-form input:focus{border-color:var(--accent);box-shadow:0 0 0 2px color-mix(in srgb,var(--accent) 18%,transparent)}
.bank-transfer-form input::placeholder{color:#658091}
.bank-value-field{display:flex;align-items:center;border:1px solid #2a3b46;border-radius:9px;background:#0b1318;overflow:hidden}
.bank-value-field:focus-within{border-color:var(--accent);box-shadow:0 0 0 2px color-mix(in srgb,var(--accent) 18%,transparent)}
.bank-value-field span{padding-left:12px;color:#8ea5b3;font-size:.78rem;font-weight:500}
.bank-value-field input{border:0;box-shadow:none!important;padding-left:7px}
.bank-transfer-button{width:100%;height:42px;margin-top:2px;justify-content:center}
.bank-transfer-live{min-height:310px;padding:4px 2px 18px;display:flex;flex-direction:column;gap:14px}
.bank-transfer-live-head{display:flex;align-items:center;justify-content:space-between;gap:14px}
.bank-transfer-live .bank-focus-brand{margin:0;flex-direction:row;text-align:left}
.bank-transfer-live .bank-focus-brand .bank-icon{width:50px;height:50px;border-radius:13px}
.bank-transfer-live .bank-focus-brand span{display:flex;flex-direction:column;gap:4px}
.bank-transfer-live .bank-focus-brand small{font-size:.57rem;letter-spacing:1px;color:#728c9c}
.bank-transfer-live .bank-focus-brand strong{font-size:.82rem}
.bank-run-state{display:inline-flex;align-items:center;gap:7px;border:1px solid #355064;border-radius:999px;padding:6px 9px;color:#a9c2d1;background:#14212a;font-size:.65rem;white-space:nowrap}
.bank-run-state i{width:7px;height:7px;border-radius:50%;background:#69dba7;box-shadow:0 0 0 4px #69dba718}
.bank-run-state.state-failed i,.bank-run-state.state-interrupted i{background:var(--red);box-shadow:0 0 0 4px #ff768018}
.bank-run-state.state-cancelled i{background:#8ea0ab;box-shadow:none}
.bank-transfer-summary{display:grid;grid-template-columns:1fr 1fr;gap:9px}
.bank-transfer-summary>span{display:flex;flex-direction:column;gap:5px;border:1px solid #253640;border-radius:9px;background:#0c1419;padding:10px 12px;color:#708896;font-size:.61rem;text-transform:uppercase;letter-spacing:.7px}
.bank-transfer-summary strong{color:#d8e5ec;font-size:.72rem;letter-spacing:0;text-transform:none;overflow-wrap:anywhere}
.bank-progress-card{border:1px solid #2a3d49;border-radius:11px;background:#0b1217;overflow:hidden}
.bank-progress-title{display:flex;align-items:center;justify-content:space-between;padding:11px 13px;border-bottom:1px solid #20303a;color:#b8cbd6;font-size:.69rem;font-weight:600}
.bank-progress-spinner{width:13px;height:13px;border:2px solid #385260;border-top-color:var(--accent);border-radius:50%;animation:bank-spin .8s linear infinite}
@keyframes bank-spin{to{transform:rotate(360deg)}}
.bank-progress-steps{list-style:none;margin:0;padding:9px 13px 11px;display:flex;flex-direction:column;gap:8px;max-height:155px;overflow:auto}
.bank-progress-steps li{display:grid;grid-template-columns:11px 1fr;gap:8px;align-items:start;color:#78909e;font-size:.68rem;line-height:1.45}
.bank-progress-steps li>i{width:7px;height:7px;margin-top:3px;border-radius:50%;background:#3d5664}
.bank-progress-steps li.is-current{color:#d2e2ea}
.bank-progress-steps li.is-current>i{background:var(--accent);box-shadow:0 0 0 4px #57d29a16}
.bank-final-answer{border:1px solid #57d29a38;border-radius:11px;background:#10231c;padding:13px 14px}
.bank-final-answer small{color:var(--accent);font-size:.57rem;letter-spacing:1px;font-weight:700}
.bank-final-answer p{margin:7px 0 0;color:#d9e9e1;font-size:.72rem;line-height:1.55;white-space:pre-wrap;overflow-wrap:anywhere}
.bank-transfer-live:not(.is-finished) .bank-final-answer{display:none}
.bank-transfer-again{align-self:flex-start;font-size:.68rem;padding:7px 10px;min-height:32px}
.bank-transfer-again svg{width:14px;height:14px}
@media(max-width:620px){.bank-transfer-live-head{align-items:flex-start;flex-direction:column}.bank-transfer-summary{grid-template-columns:1fr}}
.bank-nubank .bank-icon{background:#820ad1}.bank-inter .bank-icon{background:#ff7a00}.bank-picpay .bank-icon{background:#21c25e}.bank-mercadopago .bank-icon{background:#009ee3}.bank-itau .bank-icon{background:#ec7000}.bank-bradesco .bank-icon{background:#cc092f}.bank-pagbank .bank-icon{background:#28b576}.bank-sicoob .bank-icon{background:#00ae9d}
@media(max-width:1200px){.detail-tabs{padding:19px 16px 0}.detail-body{grid-template-columns:minmax(0,1fr)}.detail-tablist{gap:4px}.detail-tab{font-size:.56rem;padding:11px 4px}}

.brand-image{display:block;width:auto;height:120px;max-width:100%}
.login-story>.brand{width:min(520px,100%);justify-content:center}
.login-story>.brand .brand-image{margin:0 auto}
.sidebar .brand-image{height:96px}
@media(max-width:760px){.sidebar .brand-image{height:64px}.login-story .brand-image{height:86px}}
.sidebar .brand{justify-content:center;margin-left:0;margin-right:0}
.sidebar .brand-image{margin:0 auto}
.smoke-section{margin-top:18px}
.smoke-row{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;margin-top:10px}
.smoke-actions{display:flex;flex-wrap:wrap;gap:8px}
.smoke-apps{display:grid;grid-template-columns:repeat(auto-fill,minmax(96px,1fr));gap:8px;max-height:260px;overflow:auto;margin:12px 0}
.smoke-app{display:flex;flex-direction:column;align-items:center;gap:6px;padding:10px 6px;border:1px solid var(--line,#2a3a34);border-radius:12px;background:transparent;color:inherit;cursor:pointer;font:inherit;font-size:12px;text-align:center}
.smoke-app img{width:34px;height:34px;object-fit:contain;display:none}
.smoke-app img.is-loaded{display:block}
.smoke-app-inicial{display:flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:10px;background:var(--accent,#3ddc84);color:#06231a;font-weight:700;font-size:15px;font-style:normal;line-height:1}
.smoke-app.has-icon .smoke-app-inicial{display:none}
.smoke-app span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%}
.smoke-app:hover{border-color:var(--accent,#3ddc84)}
.smoke-app.is-picked{border-color:var(--accent,#3ddc84);box-shadow:0 0 0 1px var(--accent,#3ddc84) inset}
.smoke-live{display:flex;flex-direction:column;gap:8px;margin-bottom:12px}
label.field{display:flex;flex-direction:column;gap:6px;margin-bottom:12px;font-size:13px}

.screen-toolbar{flex-wrap:wrap;justify-content:flex-start;gap:8px}
.screen-toolbar>button{flex:1 1 auto;min-width:0;white-space:nowrap;padding:8px 10px}
.screen-smoke-state{font-size:.7rem;color:var(--green);margin-top:8px}
/* A classe .smoke-veiled ainda pode existir, mas nao aplica filtro: a camada da
   cortina agora e FLAG_SECURE e nao entra na captura, logo o video ja chega limpo. */
