:root{font-family:Inter,"Segoe UI","Microsoft YaHei",Arial,sans-serif;color:#27344a;background:#f4f6fb;font-size:14px;font-synthesis:none;--indigo:#5963ed;--line:#e8ecf3;--muted:#8a96a9;--nav:#111b2e}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,a,input,select{outline-offset:4px}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #a9b0fb}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.45}button,a{touch-action:manipulation}a{color:var(--indigo);text-decoration:none}h1,h2,h3,p{margin:0}button{color:inherit}input,select{border:1px solid #dfe5ee;border-radius:8px;background:#fff;padding:10px 12px;color:#35435a;min-width:0}input:focus,select:focus{border-color:#8993f0}input::placeholder{color:#a1aaba}.button{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:39px;padding:10px 16px;border:1px solid transparent;border-radius:8px;font-size:13px;font-weight:600;white-space:nowrap;transition:background .15s,transform .15s}.button:hover:not(:disabled){transform:translateY(-1px)}.primary{background:var(--indigo);color:white;box-shadow:0 4px 9px #5963ed1a}.primary:hover{background:#4855dc}.secondary{background:white;border-color:#dfe5ef;color:#58657a}.danger-text{background:#fff4f3;border-color:#ffdeda;color:#c76459}.text-button{background:none;border:0;padding:4px 0;color:var(--indigo);font-size:12px;cursor:pointer}.full{width:100%}.eyebrow{display:block;font-size:10px;letter-spacing:2px;font-weight:600;color:#8e9bb2;margin-bottom:10px}.muted{color:var(--muted);font-size:12px}.mono{font-family:Consolas,monospace;font-size:12px}.avatar{display:inline-flex;align-items:center;justify-content:center;flex:none;width:36px;height:36px;border-radius:50%;background:#eef0ff;color:#6b71c4;font-size:12px;font-weight:600}.sidebar{position:fixed;left:0;top:0;bottom:0;width:232px;background:var(--nav);color:#a9b3c7;padding:28px 18px;display:flex;flex-direction:column;z-index:5}.brand{display:flex;align-items:center;gap:12px;color:#fff;font-size:23px;font-weight:750;letter-spacing:-.8px}.brand-icon{display:flex;align-items:center;justify-content:center;width:42px;height:42px;flex:none;background:linear-gradient(135deg,#7374ff,#505ce2);border-radius:12px;color:#fff;font-size:30px;font-weight:400;box-shadow:0 4px 15px #595ee92b}.brand small{display:block;color:#8190a9;font-size:9px;letter-spacing:1px;font-weight:500;margin-top:5px}.workspace{display:flex;gap:10px;align-items:center;border:1px solid #ffffff0e;background:#ffffff06;border-radius:9px;padding:14px 10px;margin-top:31px;font-size:12px;color:#d3dbea}.workspace>span{display:grid;place-items:center;width:31px;height:32px;border-radius:7px;background:#34415b;font-weight:700}.workspace small{display:block;margin-top:6px;color:#7f8ba1;font-size:10px}.nav-label{font-size:10px;color:#5e6a82;margin:32px 10px 12px}.nav-item{width:100%;display:flex;align-items:center;gap:12px;border:0;border-radius:8px;background:none;color:#9aa6be;text-align:left;padding:14px 12px;margin-bottom:6px;font-size:13px}.nav-item b{font-size:21px;line-height:1;font-weight:400;width:20px}.nav-item:hover{background:#ffffff08;color:#fff}.nav-item.active{background:var(--indigo);color:#fff;box-shadow:0 5px 16px #080c1730}.nav-item small{margin-left:auto;border-radius:4px;background:#ffffff20;min-width:22px;text-align:center;font-size:10px;padding:3px}.sidebar-bottom{margin-top:auto;border-top:1px solid #ffffff0d;padding:20px 8px 0;font-size:10px}.sidebar-bottom strong{font-size:10px;font-weight:500;color:#aeb9cc}.sidebar-bottom p{font-size:10px;line-height:1.9;color:#66758e;margin:12px 0 18px}.connection-dot{display:inline-block;width:6px;height:6px;background:#d19d62;border-radius:50%;margin-right:7px}.connection-dot.online{background:#51bc9f}.logout{border:0;background:none;color:#8795af;padding:0;font-size:11px}.app-shell{margin-left:232px;min-height:100vh}.topbar{height:72px;background:#fff;border-bottom:1px solid #eef0f5;display:flex;align-items:center;justify-content:space-between;padding:0 32px;font-size:12px;color:#a0a9b7}.topbar>div>span{margin:0 13px;color:#b6bdc9}.topbar strong{font-weight:500;color:#67748a}.account{display:flex;align-items:center;gap:18px;color:#6d798e}.account .avatar{margin:0}.pilot-tag{font-size:9px!important;letter-spacing:.8px;background:#f0f1fc;color:#848cbb!important;border-radius:4px;padding:4px 7px;white-space:nowrap;margin:0!important}.pilot-banner{display:flex;align-items:center;gap:9px;min-height:42px;padding:10px 32px;color:#7c83a9;background:#eef0fe;border-bottom:1px solid #e5e9fa;font-size:11px;line-height:1.6}.pilot-banner>span:first-child{font-size:17px}.pilot-banner strong{font-size:11px;white-space:nowrap}main{padding:31px 32px 26px;max-width:1760px;margin:auto}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:26px}.page-heading h1{font-size:25px;color:#233148;letter-spacing:-.5px}.page-heading p{font-size:12px;color:#8c98aa;margin-top:10px;line-height:1.8}.heading-actions{display:flex;align-items:center;gap:10px}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:26px}.stats>div{display:flex;align-items:center;gap:15px;background:#fff;border:1px solid var(--line);border-radius:12px;padding:22px 18px}.stat-icon{display:grid;place-items:center;width:44px;height:44px;font-size:25px;border-radius:11px;flex:none}.indigo{background:#eef0ff;color:#7b83df}.green{background:#e7f7f0;color:#55ab8c}.amber{background:#fff6e5;color:#d1ac61}.neutral{background:#f0f3f8;color:#98a4b5}.stats small{display:block;color:#94a0b2;font-size:11px;margin-bottom:9px}.stats strong{font-size:28px;font-weight:650;color:#25344a;line-height:1}.stats em{font-style:normal;font-size:11px;color:#a0aaba;margin-left:6px;font-weight:400}.panel{background:#fff;border:1px solid var(--line);border-radius:12px;overflow:hidden}.panel-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:17px 20px;border-bottom:1px solid #edf0f5;min-height:68px}.status-tabs{display:flex;gap:20px;align-items:center;align-self:stretch}.status-tabs button{border:0;background:none;padding:8px 0;color:#8d98aa;font-size:12px;position:relative}.status-tabs button.active{color:var(--indigo);font-weight:600}.status-tabs button.active:after{content:"";position:absolute;height:2px;background:var(--indigo);bottom:-17px;left:0;right:0}.search{position:relative;display:flex;align-items:center}.search>span{position:absolute;left:12px;font-size:23px;color:#a6afbf;line-height:1}.search input{padding:9px 12px 9px 36px;width:260px;background:#fff;font-size:11px;min-height:35px}.screen-grid{padding:20px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}.device-card{display:flex;flex-direction:column;border:1px solid #e1e7ef;background:#fff;text-align:left;padding:0;border-radius:10px;overflow:hidden;transition:box-shadow .18s,transform .18s}.device-card:hover{box-shadow:0 7px 21px #34456612;transform:translateY(-2px)}.device-card.idle{border-color:#e5c982}.screen-preview{position:relative;aspect-ratio:16/10;background:#edf1f7;overflow:hidden}.screen-preview>img,.remote-stage>img{width:100%;height:100%;object-fit:contain;display:block;pointer-events:none;user-select:none}.screen-preview img:not([src]),.remote-stage img:not([src]){visibility:hidden}.screen-placeholder{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;background:#eff2f8;color:#9aa7ba;text-align:center;padding:20px;z-index:1}.screen-placeholder[hidden]{display:none}.screen-placeholder>span{font-size:32px;color:#aab5c6;line-height:1}.screen-placeholder strong{font-size:12px;font-weight:500}.screen-placeholder small{font-size:9px;line-height:1.7;color:#afb8c7}.screen-corner{position:absolute;top:8px;left:8px;z-index:2;border-radius:4px;background:#1c2c4380;color:#fff;font-size:9px;padding:4px 6px}.screen-expand{position:absolute;inset:auto auto 12px 50%;transform:translateX(-50%);padding:7px 12px;white-space:nowrap;border-radius:5px;background:#1e2c45c7;color:#fff;font-size:10px;opacity:0;z-index:3}.device-card:hover .screen-expand{opacity:1}.card-info{display:flex;align-items:center;gap:10px;padding:14px 13px 11px;min-width:0}.card-info>div{flex:1;min-width:0}.card-info strong{display:block;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-weight:600}.card-info small{display:block;margin-top:5px;color:#a1aabc;font-size:9px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.card-info .avatar{width:31px;height:31px;font-size:10px}.badge{display:inline-flex;align-items:center;gap:4px;white-space:nowrap;font-size:9px;padding:4px 6px;border-radius:4px;color:#929fb1;background:#f0f3f7;flex:none}.badge i{width:4px;height:4px;border-radius:50%;background:currentColor}.badge.working{background:#eaf8f0;color:#4da988}.badge.idle{background:#fff7e5;color:#c5a04c}.badge.revoked{color:#bc7772;background:#fff0ee}.card-footer{display:flex;justify-content:space-between;gap:10px;padding:10px 13px;border-top:1px solid #f0f2f7;font-size:9px;color:#a0aabc}.card-footer span:first-child{color:#7e8ca2;max-width:60%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.panel-footer{min-height:58px;border-top:1px solid #edf0f6;display:flex;justify-content:space-between;align-items:center;gap:15px;padding:15px 20px;color:#a1aaba;font-size:10px}.pagination{display:flex;align-items:center;gap:12px}.pagination button{border:1px solid #e6ebf2;background:#fff;border-radius:5px;color:#8b98ac;width:28px;height:28px;font-size:19px}.pagination>span{font-size:11px;color:#8c98aa}.empty{min-height:310px;display:flex;align-items:center;justify-content:center;flex-direction:column;padding:45px;text-align:center}.empty-icon{display:grid;place-items:center;width:68px;height:68px;border-radius:19px;background:#f0f2fd;color:#9099e2;font-size:37px;margin-bottom:20px}.empty h2{font-size:17px;font-weight:600;color:#64738c}.empty p{font-size:12px;color:#a0aabc;line-height:1.9;max-width:460px;margin:10px 0 20px}.info-note{background:#f0f3fb;color:#8794ad;border:1px solid #e9edf6;border-radius:8px;padding:13px 15px;font-size:11px;line-height:1.9;margin-top:18px}footer{max-width:1760px;margin:0 auto;padding:0 32px 24px;display:flex;justify-content:space-between;gap:20px;font-size:9px;color:#a3adbe}footer span{color:#aab3c2}.logs-toolbar{justify-content:flex-start;flex-wrap:wrap}.logs-toolbar select{font-size:11px;min-height:35px;padding:8px 11px}.logs-toolbar>.muted{margin-left:auto}.table-scroll{overflow:auto}table{width:100%;border-collapse:collapse;font-size:11px;min-width:700px}th{text-align:left;background:#fafbfe;color:#99a5b7;font-size:10px;font-weight:500;padding:14px 18px;white-space:nowrap}td{padding:16px 18px;border-bottom:1px solid #f0f3f8;color:#7d8ba2;line-height:1.7}td strong{color:#566780;font-size:11px;font-weight:600}td:nth-child(4){min-width:220px}.event-pill{background:#f1f3fa;color:#8998b1;border-radius:5px;padding:5px 7px;font-size:10px;white-space:nowrap}.event-pill.idle{background:#fff6e5;color:#ba9a55}.event-pill.start,.event-pill.recover{background:#eaf7ef;color:#76a98d}.settings-grid{display:grid;grid-template-columns:1.2fr 1fr;gap:24px}.panel-heading{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);padding:22px 24px}.panel-heading h2{font-size:14px;font-weight:600}#settings-form{padding:4px 24px 0}.setting{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:24px 0;border-bottom:1px solid #eef1f6}.setting strong{display:block;font-size:12px;font-weight:600;color:#5e6d85}.setting small{display:block;font-size:10px;color:#a2acbd;margin-top:6px}.setting select{font-size:11px;min-width:110px}.setting>b{font-size:12px;font-weight:500;color:#8998b1}.form-footer{padding:22px 0;display:flex;align-items:center;justify-content:space-between;gap:15px}.form-footer .muted{font-size:10px}.settings-info{padding:30px}.settings-info h2{font-size:17px;margin:17px 0}.large-symbol{font-size:45px;color:#949ce1}.settings-info ul{padding-left:20px;color:#95a1b3;line-height:2.1;font-size:12px}.settings-info li{padding-left:4px;margin-bottom:12px}.modal-open{overflow:hidden}.backdrop{position:fixed;inset:0;background:#0f1b3a70;backdrop-filter:blur(5px);z-index:30}.modal{position:fixed;z-index:31;top:50%;left:50%;transform:translate(-50%,-50%);background:#fff;border:1px solid #ffffff80;border-radius:16px;box-shadow:0 25px 90px #17223840;max-height:calc(100dvh - 36px);overflow:auto}.modal>header{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:22px 25px;border-bottom:1px solid var(--line)}.modal h2{font-size:17px;font-weight:600}.modal header p{font-size:10px;color:#a0aaba;margin-top:7px}.icon-button{width:30px;height:30px;display:grid;place-items:center;font-size:25px;font-weight:300;background:none;border:0;color:#8d9ab0;border-radius:6px}.icon-button:hover{background:#f1f3f8}.small-modal{width:440px;max-width:calc(100vw - 30px)}.small-modal form,.pair-result{padding:25px}.small-modal form>label,.pair-result>label{display:block;font-size:11px;font-weight:600;color:#7e8ca4;margin-bottom:20px}.small-modal label input,.pair-result label input{display:block;width:100%;margin-top:9px;font-size:12px;font-weight:400}.small-modal .info-note{margin:18px 0}.small-modal .eyebrow{font-size:8px;margin-bottom:7px}.pair-result>p{font-size:12px;color:#95a1b3;line-height:1.9;margin-bottom:22px}.pair-code{font:600 30px/1.5 Consolas,monospace;letter-spacing:3px;color:#626cd4;background:#f1f2fd;border:1px dashed #cbd0f0;text-align:center;padding:14px;border-radius:9px;overflow-wrap:anywhere}.pair-result>small{display:block;text-align:center;color:#a2acbd;font-size:10px;margin-top:10px}.pair-result ol{padding-left:20px;font-size:11px;line-height:2;color:#8c9ab0;margin:25px 0}.detail-modal{width:min(1360px,calc(100vw - 36px))}.detail-person{display:flex;align-items:center;gap:13px}.detail-person h2{font-size:15px}.detail-person .badge{margin-left:8px}.detail-layout{display:grid;grid-template-columns:minmax(0,1fr) 285px}.detail-left{padding:20px;background:#f8faff;min-width:0}.control-bar{display:flex;align-items:center;justify-content:space-between;gap:15px;font-size:10px;color:#8996af;padding:11px 13px;border:1px solid #e1e7f2;background:#f0f3fa;border-radius:7px;margin-bottom:13px;line-height:1.7}.control-bar strong{font-size:9px;font-weight:400}.control-bar.active{background:#fff0e8;border-color:#f5c9a9;color:#b17a4b}.control-bar.pending{background:#fff8e7;border-color:#f0e0b6;color:#b49b5f}.remote-stage{position:relative;aspect-ratio:16/10;background:#e9edf5;border:2px solid transparent;border-radius:8px;overflow:hidden;outline-offset:2px;touch-action:none;user-select:none}.remote-stage.controlling{border-color:#dda66c;cursor:default}.remote-stage.controlling:focus{outline:2px solid #e1ab72}.screen-caption{display:flex;align-items:center;justify-content:space-between;gap:15px;color:#a4aebe;font-size:9px;margin:12px 0 18px}.screen-caption>span:last-child{color:#8f9db2}.detail-actions{display:flex;gap:9px;flex-wrap:wrap}.detail-actions .button{font-size:11px;min-height:35px;padding:8px 12px}.detail-actions .danger-text{margin-left:auto}.remote-text{display:flex;align-items:flex-end;gap:10px;margin-top:18px}.remote-text label{flex:1;font-size:10px;color:#95a1b5}.remote-text input{display:block;width:100%;font-size:11px;margin-top:8px}.remote-text .button{font-size:11px;min-height:36px;padding:8px 12px}.remote-text input:disabled{background:#f0f3f8;color:#b0b8c6}.detail-left .info-note{font-size:9px;background:#f1f4fa;margin-top:16px}.detail-right{padding:25px 21px;max-height:720px;overflow:auto;border-left:1px solid var(--line)}.detail-right h3{font-size:12px;font-weight:600;color:#6a7891}.detail-right>p{font-size:9px;margin:7px 0 25px}.timeline-event{display:flex;gap:12px;position:relative;padding-bottom:25px}.timeline-event:before{content:"";position:absolute;left:4px;top:8px;bottom:0;width:1px;background:#e9edf5}.timeline-event>i{flex:none;position:relative;width:9px;height:9px;border:2px solid #b3bddb;background:white;border-radius:50%;margin-top:4px;z-index:1}.timeline-event.idle>i{border-color:#dbbe7a}.timeline-event time{display:block;font-size:9px;color:#adb6c5;margin-bottom:7px}.timeline-event strong{display:block;font-size:11px;color:#7787a0;font-weight:500}.timeline-event p{font-size:10px;line-height:1.9;color:#a0acbe;margin-top:7px}.timeline-event .text-button{font-size:9px;margin-top:5px}.snapshot-modal{width:min(1250px,calc(100vw - 36px))}.snapshot-body{background:#f5f7fc;padding:18px}.snapshot-body img{display:block;width:100%;max-height:70vh;object-fit:contain;background:#edf1f7}.snapshot-body p{font-size:10px;color:#9ca8bc;margin-top:13px;line-height:1.8}#toast-root{position:fixed;bottom:24px;right:25px;z-index:80;display:flex;flex-direction:column;gap:10px;max-width:calc(100vw - 30px)}.toast{background:#293957;color:#fff;padding:14px 20px;border-radius:9px;font-size:12px;box-shadow:0 8px 28px #18294930;line-height:1.6}.toast.error{background:#a66362}.login-layout{min-height:100dvh;display:grid;grid-template-columns:1fr 1fr;background:#f5f7fc}.login-intro{padding:60px 12%;background:radial-gradient(ellipse at 90% 100%,#36408f50,transparent 60%),#111b2e;color:#fff;display:flex;flex-direction:column;justify-content:center}.login-intro .brand{margin-bottom:85px}.login-label{font-size:12px;letter-spacing:2px;color:#8e9bd6;margin-bottom:24px}.login-intro h1{font-size:43px;line-height:1.5;letter-spacing:-1px;font-weight:650}.login-intro>p{color:#8795b0;font-size:13px;line-height:2.2;margin-top:25px;max-width:430px}.login-features{display:flex;gap:20px;flex-wrap:wrap;font-size:10px;color:#8d9cb8;margin-top:40px}.login-card{align-self:center;justify-self:center;max-width:420px;width:calc(100% - 80px);background:#fff;padding:38px;border:1px solid var(--line);border-radius:15px;box-shadow:0 15px 50px #22325307}.login-card h2{font-size:25px;font-weight:600;letter-spacing:-.5px}.login-card>p{font-size:12px;line-height:1.9;color:#99a4b6;margin:13px 0 30px}.login-card form label{font-size:11px;font-weight:600;color:#7d8ba3}.login-card input{width:100%;margin-top:10px;font-size:12px;height:43px}.form-error{color:#c2746f;font-size:11px;min-height:20px;line-height:1.7;margin:9px 0 15px}.login-card form .button{width:100%;justify-content:space-between}.login-note{font-size:10px;line-height:2;color:#a3adbf;border-top:1px solid #edf0f5;margin-top:29px;padding-top:21px}::selection{background:#dce0ff;color:#3d4592}
@media(min-width:1700px){.screen-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}@media(max-width:1200px){.sidebar{width:210px;padding:25px 15px}.brand{font-size:21px}.brand-icon{width:38px;height:38px}.app-shell{margin-left:210px}main{padding:27px 24px}.topbar,.pilot-banner{padding-left:24px;padding-right:24px}.stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.stats>div{padding:19px}.screen-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.page-heading{align-items:flex-start}.heading-actions{flex-wrap:wrap;justify-content:flex-end}.detail-layout{grid-template-columns:minmax(0,1fr) 240px}.detail-right{padding:22px 16px}.detail-actions .danger-text{margin-left:0}.login-intro{padding:40px 10%}.login-intro h1{font-size:35px}.login-features{gap:10px}.login-card{padding:30px;width:calc(100% - 50px)}}
@media(max-width:900px){.sidebar{width:75px;padding:25px 11px}.sidebar .brand>div,.workspace,.nav-label,.nav-item small,.sidebar-bottom p,.sidebar-bottom strong,.logout{display:none}.brand{justify-content:center}.nav-item{font-size:0;justify-content:center;padding:15px 0;margin-top:12px}.nav-item b{font-size:25px}.sidebar nav{margin-top:35px}.sidebar-bottom{text-align:center;padding:18px 0 0}.app-shell{margin-left:75px}.screen-grid{gap:13px;padding:16px}.stats>div{padding:18px}.page-heading h1{font-size:23px}.panel-toolbar{flex-wrap:wrap}.search{width:100%}.search input{width:100%}.status-tabs{min-height:25px;gap:22px}.status-tabs button.active:after{bottom:-8px}.settings-grid{grid-template-columns:1fr}.detail-layout{grid-template-columns:1fr}.detail-right{border-left:0;border-top:1px solid var(--line);max-height:290px}.detail-modal{max-height:calc(100dvh - 24px)}.detail-right>p{margin-bottom:20px}.pilot-banner{align-items:flex-start}.pilot-banner>span:last-child{font-size:10px}.account{gap:10px}footer{padding:0 24px 22px;flex-direction:column;gap:8px}.logs-toolbar>.muted{margin-left:0}.logs-toolbar .search{flex:1;min-width:180px}.login-layout{grid-template-columns:1fr}.login-intro{padding:35px 28px 40px}.login-intro .brand{margin-bottom:35px}.login-intro h1{font-size:30px;line-height:1.4}.login-intro h1 br{display:none}.login-label{font-size:10px;margin-bottom:16px}.login-intro>p{font-size:12px;max-width:none;margin-top:17px}.login-features{margin-top:24px}.login-card{width:calc(100% - 40px);margin:30px 0;max-width:500px}}
@media(max-width:600px){.sidebar{position:static;width:100%;height:auto;padding:15px 18px;display:block}.sidebar .brand{justify-content:flex-start;font-size:18px}.sidebar .brand>div{display:block}.sidebar .brand small{font-size:7px}.sidebar .brand-icon{width:33px;height:33px;font-size:24px;border-radius:9px}.sidebar nav{display:flex;gap:7px;margin-top:18px}.nav-item{width:auto;flex:1;font-size:11px;padding:10px 6px;margin:0;gap:6px}.nav-item b{font-size:18px;width:18px}.sidebar-bottom{display:none}.app-shell{margin-left:0}.topbar{padding:0 18px;height:56px;font-size:10px}.topbar>div>span{margin:0 8px}.account{gap:9px}.account .avatar{width:27px;height:27px;font-size:10px}.account #manager-name{display:none}.pilot-banner{padding:11px 18px;font-size:10px;gap:7px}.pilot-banner>span:last-child{font-size:9px}.pilot-banner>span:first-child{display:none}main{padding:23px 15px 20px}.page-heading{flex-direction:column;gap:17px;margin-bottom:20px}.page-heading h1{font-size:24px}.eyebrow{font-size:8px;margin-bottom:8px}.page-heading p{font-size:11px;line-height:1.9;margin-top:8px}.heading-actions{width:100%;justify-content:flex-start;gap:8px}.heading-actions .button{font-size:11px;min-height:35px;padding:9px 12px}.stats{gap:10px;margin-bottom:20px}.stats>div{padding:17px 12px;gap:11px;border-radius:10px}.stats small{font-size:9px;margin-bottom:9px}.stats strong{font-size:25px}.stats em{font-size:9px;margin-left:5px}.stat-icon{width:35px;height:35px;border-radius:9px;font-size:22px}.panel-toolbar{padding:14px;gap:16px}.status-tabs{width:100%;gap:0;justify-content:space-between}.status-tabs button{font-size:11px}.screen-grid{grid-template-columns:1fr;padding:14px;gap:14px}.screen-preview{aspect-ratio:16/10}.card-info{padding:14px}.card-info strong{font-size:12px}.card-info small{font-size:9px}.card-footer{font-size:10px;padding:11px 14px}.screen-placeholder strong{font-size:12px}.screen-placeholder small{font-size:10px}.panel-footer{padding:14px;font-size:9px}.pagination{gap:9px}.empty{padding:35px 22px;min-height:300px}.empty h2{font-size:16px}.empty p{font-size:11px}.info-note{font-size:10px;padding:12px}.settings-grid{gap:17px}.panel-heading{padding:19px}.panel-heading h2{font-size:13px}#settings-form{padding:0 19px}.setting{padding:22px 0;gap:12px}.setting strong{font-size:11px}.setting small{font-size:9px}.setting select{font-size:10px;min-width:95px;padding:9px}.form-footer{align-items:flex-start;flex-direction:column}.form-footer .button{width:100%}.settings-info{padding:24px}.settings-info ul{font-size:11px}.detail-modal,.snapshot-modal{width:calc(100vw - 16px);max-height:calc(100dvh - 16px);border-radius:12px}.modal>header{padding:16px}.detail-person{gap:9px;flex-wrap:wrap}.detail-person h2{font-size:13px}.detail-person p{font-size:8px}.detail-person .avatar{width:31px;height:31px;font-size:10px}.detail-person .badge{margin-left:0;font-size:8px}.detail-left{padding:13px}.control-bar{font-size:9px;align-items:flex-start;flex-direction:column;gap:4px;padding:9px 10px}.control-bar strong{font-size:8px}.screen-caption{font-size:8px;gap:8px;margin:10px 0 14px;flex-wrap:wrap}.detail-actions{gap:7px}.detail-actions .button{font-size:10px;padding:8px;min-height:33px}.detail-actions .danger-text{width:100%;margin-top:3px}.remote-text{gap:8px}.remote-text label{font-size:9px}.remote-text input{font-size:10px;padding:9px;min-width:0}.remote-text .button{font-size:10px;padding:8px;min-height:33px}.detail-right{padding:19px 17px;max-height:250px}.detail-left .info-note{font-size:8px;line-height:1.8}.small-modal{max-width:calc(100vw - 22px)}.small-modal form,.pair-result{padding:22px}.pair-code{font-size:25px;letter-spacing:2px}.snapshot-body{padding:10px}.snapshot-body p{font-size:9px}footer{padding:0 17px 20px;font-size:8px;line-height:1.8}.login-intro{padding:26px 23px 32px}.login-intro .brand{font-size:21px}.login-intro h1{font-size:27px}.login-features{font-size:9px}.login-card{width:calc(100% - 30px);padding:27px;margin:22px 0}.login-card h2{font-size:23px}.login-card>p{font-size:11px}.login-note{font-size:9px}#toast-root{right:15px;bottom:15px}.toast{font-size:11px;padding:12px 15px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
.attendance-timezone{display:flex;align-items:center;flex-wrap:wrap;gap:8px 12px;font-size:11px;color:#91a0b6;margin:-8px 0 22px;line-height:1.8}.attendance-timezone>span:first-child{font-size:18px;color:#7e89d2}.attendance-timezone strong{font-size:11px;color:#6e7a9a;font-weight:500}.attendance-toolbar{justify-content:flex-start;flex-wrap:wrap;gap:18px}.attendance-toolbar>label{display:flex;align-items:center;gap:10px;font-size:11px;color:#8d9ab0}.attendance-toolbar input,.attendance-toolbar select{font-size:11px;min-height:36px;padding:8px 10px}.attendance-toolbar input{width:155px}.attendance-toolbar select{min-width:145px;max-width:245px}.attendance-updated{margin-left:auto;font-size:10px;color:#9aa6b8;white-space:nowrap}.attendance-table{min-width:900px}.attendance-table td{vertical-align:middle;padding-top:18px;padding-bottom:18px}.attendance-table td:nth-child(4){min-width:150px}.attendance-table td:first-child{min-width:135px}.attendance-table td small{display:block;color:#a0aabd;font-size:9px;line-height:1.9;margin-top:3px}.attendance-clock{font-family:Consolas,monospace;font-size:11px;white-space:nowrap}.attendance-open{font-family:Inter,"Segoe UI","Microsoft YaHei",Arial,sans-serif;color:#ad985f;font-size:10px}.attendance-table td small.attendance-gap{color:#b59b67}.attendance-status{display:flex;flex-wrap:wrap;align-items:center;gap:5px;min-width:105px}.attendance-badge{display:inline-flex;align-items:center;border-radius:5px;padding:5px 7px;font-size:9px;white-space:nowrap;background:#f0f3f8;color:#8c99af}.attendance-badge.sharing{background:#eaf8f0;color:#58a68d}.attendance-badge.closed{background:#eef0ff;color:#7a83c4}.attendance-badge.offline,.attendance-badge.awaitingShare{background:#fff6e5;color:#b79b62}.attendance-review{font-size:8px;line-height:1.5;white-space:nowrap;border:1px solid #eedab0;background:#fffaf0;border-radius:4px;padding:3px 5px;color:#b09258}.attendance-note{line-height:2}.attendance-error{padding:55px 30px;text-align:center}.attendance-error strong{display:block;font-size:15px;font-weight:500;color:#a3706b}.attendance-error p{font-size:11px;line-height:1.9;margin:12px auto 20px;color:#9a9eae;max-width:500px}.attendance-error .button{font-size:11px}
@media(max-width:900px){.attendance-updated{margin-left:0;width:100%}.attendance-toolbar{gap:14px}.attendance-timezone{margin-top:-6px}}
@media(max-width:600px){.sidebar nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.sidebar .nav-item{width:100%;justify-content:flex-start;padding:10px 12px}.attendance-timezone{font-size:9px;gap:4px 8px;margin-bottom:18px}.attendance-timezone strong{font-size:10px}.attendance-timezone>span:last-child{width:100%;padding-left:23px}.attendance-toolbar{padding:14px;gap:13px}.attendance-toolbar>label{justify-content:space-between;width:100%;font-size:10px}.attendance-toolbar input,.attendance-toolbar select{width:calc(100% - 62px);max-width:none;font-size:10px}.attendance-updated{font-size:9px;white-space:normal}.attendance-table td{padding:14px;font-size:10px}.attendance-table th{padding:12px 14px}.attendance-table{min-width:820px}.attendance-note{font-size:9px}.attendance-error{padding:40px 20px}.attendance-error strong{font-size:14px}}
.screen-viewer{display:flex;flex-direction:column;background:#f0f3f9;border:1px solid #dce3ee;border-radius:9px;overflow:hidden;margin-bottom:18px;min-width:0}.viewer-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;background:#fff;padding:10px 11px;border-bottom:1px solid #e4e9f2;flex:none}.viewer-zoom{display:flex;flex-wrap:wrap;gap:5px}.viewer-zoom button,.viewer-fullscreen{font-size:10px;line-height:1.5;border:1px solid #dfe5ef;border-radius:5px;background:#fff;color:#7f8da5;padding:6px 9px;white-space:nowrap}.viewer-zoom button.active{border-color:#aab2f4;background:#eff1ff;color:#5c68cb}.viewer-fullscreen{background:#f1f3fc;color:#6876b6;border-color:#dce1f4;flex:none}.viewer-info{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:5px 16px;font-size:9px;line-height:1.8;padding:8px 12px;color:#8797ad;flex:none}.viewer-info>span:first-child{font-family:Consolas,"Microsoft YaHei",monospace;color:#6e7e98}.remote-stage.viewer-viewport,.snapshot-stage.viewer-viewport{position:relative;display:block;aspect-ratio:auto;width:100%;height:min(53vh,580px);min-height:240px;overflow:auto;border-radius:0;border:2px solid transparent;background:#e6ebf3;overscroll-behavior:contain;scrollbar-gutter:stable;touch-action:pan-x pan-y;flex:none}.remote-stage.viewer-viewport.controlling{border-color:#dda66c;touch-action:none}.viewer-viewport::-webkit-scrollbar{width:12px;height:12px}.viewer-viewport::-webkit-scrollbar-track{background:#e7ebf2}.viewer-viewport::-webkit-scrollbar-thumb{background:#acb8ca;border-radius:8px;border:3px solid #e7ebf2}.viewer-canvas{position:relative;display:block;flex:none;margin-left:auto;margin-right:auto;min-width:1px;min-height:1px;padding:0;border:0;user-select:none}.screen-viewer .viewer-canvas>img{display:block;width:100%;height:100%;max-width:none;max-height:none;object-fit:fill;pointer-events:none;user-select:none}.viewer-footer{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;padding:9px 12px;font-size:9px;color:#8b98ae;flex:none}.viewer-footer .text-button{font-size:9px;padding:0}.screen-viewer .screen-caption{margin:0;padding:0 12px 9px;font-size:8px;flex:none}.screen-viewer .viewer-help{padding:9px 12px;margin:0;border-top:1px solid #e1e7f0;font-size:9px;line-height:1.9;color:#98a5b7;flex:none}.snapshot-stage.viewer-viewport{height:min(65vh,700px);min-height:280px}.snapshot-body .screen-viewer{margin-bottom:0}.screen-viewer:fullscreen,.screen-viewer.viewer-expanded{display:flex;flex-direction:column;background:#f0f3f9;width:100%;height:100%;max-width:none;max-height:none;border:0;border-radius:0;margin:0;padding:0;overflow:hidden}.screen-viewer.viewer-expanded{position:fixed;inset:0;width:100vw;height:100dvh;z-index:70;box-shadow:none}.screen-viewer:fullscreen .viewer-viewport,.screen-viewer.viewer-expanded .viewer-viewport{height:auto;min-height:0;flex:1 1 0}.screen-viewer:fullscreen .viewer-toolbar,.screen-viewer.viewer-expanded .viewer-toolbar{padding:12px 16px}.screen-viewer:fullscreen .viewer-help,.screen-viewer.viewer-expanded .viewer-help{font-size:10px}.screen-viewer::backdrop{background:#111b2e}.detail-name-area{display:flex;align-items:center;gap:12px;min-width:0}.detail-name-area h2{overflow-wrap:anywhere;max-width:300px}.edit-name-button{font-size:9px;white-space:nowrap;font-weight:400;flex:none}.rename-form{display:grid;grid-template-columns:minmax(170px,260px) auto;align-items:center;gap:7px 9px;min-width:0}.rename-form>label{font-size:9px;color:#8796af;grid-column:1/-1}.rename-form input{font-size:12px;padding:8px 10px;width:100%;height:35px}.rename-form input:read-only{background:#f6f7fb}.rename-actions{display:flex;gap:6px}.rename-actions .button{font-size:10px;padding:7px 10px;min-height:33px}.rename-form>small{grid-column:1/-1;font-size:8px;color:#9aa6b9;line-height:1.8;max-width:440px}.rename-error{grid-column:1/-1;font-size:9px;color:#bd7770;line-height:1.7}.rename-error:empty{display:none}
@media(max-width:900px){.viewer-toolbar{gap:9px}.viewer-zoom button,.viewer-fullscreen{font-size:9px;padding:6px 7px}.remote-stage.viewer-viewport{height:min(53vh,560px)}.viewer-info{font-size:8px}}
@media(max-width:600px){.viewer-toolbar{align-items:flex-start;gap:7px;padding:8px}.viewer-zoom{gap:4px}.viewer-zoom button,.viewer-fullscreen{font-size:8px;padding:5px 6px}.viewer-info{padding:7px 9px;font-size:8px;gap:3px}.remote-stage.viewer-viewport,.snapshot-stage.viewer-viewport{height:45vh;min-height:220px}.screen-viewer .viewer-help{font-size:8px;padding:8px 9px}.viewer-footer{font-size:8px;padding:8px 9px}.viewer-footer .text-button{font-size:8px}.screen-viewer .screen-caption{font-size:7px;padding:0 9px 8px}.screen-viewer:fullscreen .viewer-toolbar,.screen-viewer.viewer-expanded .viewer-toolbar{padding:9px}.screen-viewer:fullscreen .viewer-help,.screen-viewer.viewer-expanded .viewer-help{font-size:8px}.detail-name-area{align-items:flex-start;gap:8px;flex-wrap:wrap}.detail-name-area h2{max-width:180px}.edit-name-button{font-size:8px;padding:1px 0}.rename-form{grid-template-columns:minmax(100px,1fr);max-width:calc(100vw - 110px);gap:6px}.rename-form>label{font-size:8px}.rename-form input{font-size:11px;height:33px}.rename-actions{grid-column:1/-1}.rename-actions .button{font-size:9px;min-height:30px;padding:6px 10px}.rename-form>small{font-size:7px}.rename-error{font-size:8px}}
.modal.viewer-host-expanded{position:fixed;inset:0;top:0;left:0;transform:none;width:100vw;height:100dvh;max-width:none;max-height:none;border:0;border-radius:0;overflow:visible}
.join-result>p strong{color:#687997;font-weight:600}.join-warning{display:flex;flex-direction:column;gap:7px;padding:13px 14px;background:#fff8e9;border:1px solid #f0dfb8;border-radius:8px;margin:0 0 20px;color:#a38c5e;font-size:10px;line-height:1.9}.join-warning strong{font-size:11px;font-weight:600;color:#9c8354}.join-result .join-code-label{margin-bottom:12px}.join-code-label textarea{display:block;width:100%;min-height:108px;margin-top:10px;padding:11px 12px;resize:vertical;overflow-wrap:anywhere;border:1px solid #d8def0;border-radius:8px;background:#f6f7fe;color:#6774ae;font:10px/1.8 Consolas,"Microsoft YaHei",monospace;letter-spacing:.1px;outline-offset:3px}.join-code-label textarea:focus{outline:2px solid #a9b0fb}.join-copy-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}.join-copy-actions .button{font-size:10px;padding:9px 8px;min-height:37px}.join-result .join-copy-status{font-size:10px;color:#7b8ab3;line-height:1.9;margin:10px 0 0}.join-result .join-copy-status:empty{display:none}.join-result .join-steps{margin:22px 0;color:#8c9ab0;font-size:11px;line-height:2.1}.join-steps strong{font-weight:500;color:#7585a1}.join-result>a.button{font-size:11px}.join-copy-details,.manual-pair{border-top:1px solid #e7ebf3;padding-top:14px;margin-top:18px}.join-copy-details summary,.manual-pair summary{color:#8a98af;font-size:10px;line-height:1.9;cursor:pointer}.join-copy-details textarea{display:block;width:100%;min-height:190px;margin-top:12px;border:1px solid #dfe5ef;border-radius:7px;padding:11px;background:#f8faff;color:#8b99b0;resize:vertical;font:10px/1.9 Consolas,"Microsoft YaHei",monospace}.manual-pair label{display:block;font-size:10px;color:#8c9ab0;margin:15px 0 0;font-weight:500}.manual-pair input{display:block;margin-top:7px;width:100%;font-size:11px;font-weight:400;padding:9px 10px;background:#f9faff}.manual-pair .mono{font-size:12px;letter-spacing:1px}.join-result .info-note{margin-bottom:0}
@media(max-width:600px){.join-warning{font-size:9px;padding:11px 12px}.join-warning strong{font-size:10px}.join-code-label textarea{font-size:9px;min-height:110px}.join-copy-actions .button{font-size:9px;padding:9px 6px}.join-result .join-steps{font-size:10px}.join-result .join-copy-status{font-size:9px}.join-copy-details textarea{font-size:9px}.manual-pair input{font-size:10px}}
.device-open{display:block;width:100%;padding:0;border:0;border-radius:0;background:transparent;color:inherit;text-align:left}.device-open:focus-visible{outline-offset:-3px}.card-management{display:flex;align-items:center;justify-content:space-between;gap:10px;border-top:1px solid #edf0f5;background:#fafbfe;padding:8px 12px;font-size:8px;color:#a4aec0}.card-delete-button{font-size:9px;line-height:1.6;border:0;background:transparent;color:#b77d78;padding:3px 1px}.card-delete-button:hover:not(:disabled){color:#a66059}.deleted-devices-table{min-width:660px}.deleted-devices-table td:nth-child(4){min-width:125px}.deleted-devices-table td small{display:block;color:#a0aabd;font-size:9px;margin-top:5px;line-height:1.8}.deleted-devices-table .button{font-size:10px;padding:8px 11px;min-height:33px}#delete-confirm-root{position:fixed;inset:0;z-index:100}.delete-backdrop{position:absolute;inset:0;background:#14213c73;backdrop-filter:blur(4px)}.delete-dialog{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:445px;max-width:calc(100vw - 32px);max-height:calc(100dvh - 34px);overflow:auto;padding:27px;background:#fff;border:1px solid #ffffff80;border-radius:15px;box-shadow:0 24px 80px #1523403b}.delete-dialog header{display:flex;align-items:center;gap:12px;margin-bottom:22px}.delete-dialog h2{font-size:17px;line-height:1.7;font-weight:600;color:#596a84}.delete-dialog-symbol{display:grid;place-items:center;width:35px;height:35px;border-radius:10px;font-size:24px;color:#c08a83;background:#fff0ed;flex:none}.delete-target{display:flex;flex-direction:column;gap:7px;padding:14px 16px;background:#f5f7fc;border:1px solid #e9edf5;border-radius:8px;margin-bottom:18px}.delete-target strong{font-size:13px;font-weight:600;color:#657691;overflow-wrap:anywhere}.delete-target span{font-size:10px;color:#a0acbf;line-height:1.7;overflow-wrap:anywhere}.delete-dialog>p{font-size:11px;color:#8797af;line-height:2}.delete-history-note{font-size:10px;color:#9aa6b8;line-height:2;margin-top:13px;padding:12px 14px;background:#f9faff;border-radius:7px}.delete-dialog>.delete-confirm-error{font-size:10px;color:#bf7d74;margin-top:12px}.delete-confirm-error:empty{display:none}.delete-dialog-actions{display:flex;justify-content:flex-end;align-items:center;gap:9px;margin-top:23px}.delete-dialog-actions .button{font-size:11px;min-height:36px;padding:9px 14px}.join-portable-link{display:block;text-align:center;font-size:9px!important;padding:9px 0 0}
@media(max-width:600px){.card-management{font-size:8px;padding:9px 13px}.card-delete-button{font-size:9px}.delete-dialog{padding:23px;max-width:calc(100vw - 26px)}.delete-dialog h2{font-size:16px}.delete-dialog>p{font-size:10px}.delete-target strong{font-size:12px}.delete-target span{font-size:9px}.delete-history-note{font-size:9px}.delete-dialog-actions .button{font-size:10px;padding:9px 12px}.deleted-devices-table td{padding:14px;font-size:10px}.deleted-devices-table th{padding:12px 14px}}
.viewer-toolbar{flex-wrap:wrap}.viewer-toolbar-end{display:flex;align-items:center;justify-content:space-between;gap:9px;margin-left:auto}.viewer-steps{display:flex;align-items:center;gap:3px;border:1px solid #dce2ef;background:#f8faff;border-radius:6px;overflow:hidden;flex:none}.viewer-steps button{width:29px;height:28px;padding:0;border:0;background:#edf0ff;font-size:17px;line-height:1;color:#6e7dc2}.viewer-steps button:hover:not(:disabled){background:#e4e8ff}.viewer-steps>span{min-width:43px;text-align:center;font:10px/1.5 Consolas,monospace;color:#7e8ba6}.viewer-viewport.view-pannable{cursor:grab;touch-action:none}.viewer-viewport.panning{cursor:grabbing;touch-action:none}.remote-stage.viewer-viewport.controlling{cursor:default}
@media(max-width:900px){.viewer-toolbar-end{gap:7px}.viewer-steps button{width:27px;height:26px;font-size:16px}.viewer-steps>span{font-size:9px;min-width:39px}}
@media(max-width:600px){.viewer-zoom{width:100%}.viewer-toolbar-end{width:100%;margin-left:0}.viewer-steps button{width:30px;height:27px;font-size:17px}.viewer-steps>span{font-size:9px;min-width:42px}}
.viewer-profile{display:flex;align-items:center;gap:3px;padding:3px;border:1px solid #dce3f2;border-radius:7px;background:#f4f6ff;flex:none}.viewer-profile button{font-size:10px;line-height:1.5;border:0;border-radius:4px;background:transparent;color:#8a97b0;padding:5px 9px}.viewer-profile button.active{background:#6673cf;color:#fff;box-shadow:0 2px 5px #5360ac1c}.viewer-profile button:hover:not(.active){background:#e9edff;color:#6c7bb0}
@media(max-width:600px){.viewer-profile{padding:2px}.viewer-profile button{font-size:9px;padding:5px 12px}}
/* Readable records 0.4.3 */
.records-page{color:#334155}.records-page .page-heading{margin-bottom:22px}.records-page .page-heading h1{font-size:30px;letter-spacing:-.8px;color:#14243b;font-weight:700}.records-page .page-heading p{font-size:14px;color:#53647b;line-height:1.8}.records-page .eyebrow{color:#637592;font-size:11px;letter-spacing:1.8px}.records-page .heading-actions .button{font-size:13px;min-height:42px}.records-timezone{display:inline-flex;align-items:center;gap:8px;background:white;border:1px solid #dce3ef;border-radius:8px;padding:10px 13px;color:#50627d;font-size:12px;white-space:nowrap}
.records-panel{border-color:#dce4f0;border-radius:14px;box-shadow:0 4px 16px #1d365308}.record-section-heading{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:20px 24px;border-bottom:1px solid #e6ebf3}.record-section-heading>div{display:flex;align-items:center;gap:11px}.record-section-heading h2{font-size:17px;font-weight:650;color:#1c304d}.record-section-icon{width:32px;height:32px;display:grid;place-items:center;background:#eef0ff;color:#5963d9;border-radius:8px;font-size:23px}.record-section-heading>span{font-size:13px;color:#64748b}.record-section-heading>span strong{color:#334155;font-weight:650}
.records-toolbar{padding:18px 24px;gap:16px;background:#fff;align-items:flex-end;min-height:100px}.records-toolbar>label{display:flex;flex-direction:column;gap:8px;font-size:12px;font-weight:600;color:#52637b;align-items:stretch}.records-toolbar select,.records-toolbar input{font-size:14px;height:42px;min-height:42px;padding:9px 12px;border-color:#d4ddeb;border-radius:8px;color:#283b55;background:#fff;min-width:165px}.records-toolbar input::placeholder{color:#758399}.records-toolbar select:hover,.records-toolbar input:hover{border-color:#929fd1}.records-toolbar .search input{width:285px;padding-left:36px;font-size:14px}.records-toolbar .search>span{color:#71809b;font-size:23px}.records-result-count{font-size:13px;color:#64748b;margin:0 0 12px auto;white-space:nowrap}.records-result-count strong{font-size:16px;color:#4e5cce;margin-right:4px;font-weight:700}
.records-scroll{max-height:72vh;overscroll-behavior:contain}.records-table{font-size:14px;min-width:900px;table-layout:auto}.records-table th{position:sticky;top:0;z-index:2;background:#f4f6fb;color:#4a5d78;font-size:12px;font-weight:650;padding:14px 20px;border-top:1px solid #e8edf4;border-bottom:1px solid #dde5f0;letter-spacing:.3px}.records-table td{padding:16px 20px;color:#3d506b;border-color:#e9edf4;vertical-align:middle;line-height:1.7}.records-table tbody tr:nth-child(even){background:#fbfcff}.records-table tbody tr:hover{background:#f1f4ff}.records-table td:nth-child(4){min-width:185px}.records-table td small{display:block;font-size:12px;color:#64748b;line-height:1.8;margin-top:3px}.record-time{display:block;white-space:nowrap;font-variant-numeric:tabular-nums;line-height:1.5}.record-time strong{display:block;font-family:Consolas,"Segoe UI",monospace;font-size:17px;font-weight:650;color:#263954;letter-spacing:.2px}.records-table .record-time small{font-size:12px;color:#65758e;font-family:"Segoe UI","Microsoft YaHei",sans-serif;margin-top:2px}
.record-person{display:flex;align-items:center;gap:11px;min-width:140px;max-width:260px}.record-avatar{display:grid;place-items:center;flex:none;width:36px;height:36px;border-radius:10px;background:#e9edff;color:#4d5ac3;font-size:15px;font-weight:650}.record-person>div{min-width:0}.record-person strong{display:block;font-size:15px;font-weight:650;color:#223650;overflow-wrap:anywhere;line-height:1.55}.records-table .record-person small{font-size:12px;color:#65758c;line-height:1.55;margin-top:3px}.record-missing{color:#6c7b91;font-size:12px;white-space:nowrap}.logs-table th:nth-child(1){width:150px}.logs-table th:nth-child(2){width:210px}.logs-table th:nth-child(3){width:155px}.logs-table th:nth-child(5){width:150px}.log-event{display:inline-flex;align-items:center;gap:7px;border-radius:7px;white-space:nowrap;font-size:12px;font-weight:600;line-height:1.5;padding:7px 10px;border:1px solid transparent}.log-event i{font-style:normal;font-size:14px;width:13px;text-align:center}.log-event.app{background:#edf3ff;color:#2c59a5;border-color:#dbe7fc}.log-event.positive{background:#e9f7ef;color:#21704b;border-color:#d2eedf}.log-event.attention{background:#fff4dc;color:#8e5a12;border-color:#f4dfb1}.log-event.control{background:#f0edff;color:#6550ad;border-color:#e3dbfa}.log-event.snapshot{background:#e9f6f7;color:#206e78;border-color:#cfebed}.log-event.neutral{background:#f0f3f7;color:#50637e;border-color:#e0e6ee}.log-app-name{display:block;color:#273f63;font-size:15px;font-weight:650;line-height:1.7}.log-description{font-size:14px;color:#3d526e;line-height:1.8;overflow-wrap:anywhere}.records-table .log-description-note{color:#65758c;font-size:12px;margin-top:2px}.log-snapshot-button{display:inline-flex;align-items:center;gap:6px;white-space:nowrap;font-size:12px;font-weight:650;color:#4c56c8;border:1px solid #d6dcfa;border-radius:7px;background:#f4f5ff;min-height:36px;padding:7px 11px}.log-snapshot-button:hover{background:#e9ecff;border-color:#9ca8ec}.log-snapshot-button>span{font-size:15px}.records-panel .panel-footer{font-size:12px;color:#63738b;line-height:1.8;flex-wrap:wrap;padding:16px 24px;background:#fcfdff}
.attendance-records .attendance-timezone{margin:0 0 20px;font-size:12px;color:#5e6f89;line-height:1.8;gap:9px}.attendance-records .attendance-timezone strong{color:#4e5e87;font-size:12px}.attendance-records .attendance-stats{gap:16px;margin-bottom:24px}.attendance-records .attendance-stats>div{padding:22px 20px;border-color:#dce4ef;border-radius:12px;box-shadow:0 3px 12px #1d365304}.attendance-records .attendance-stats small{font-size:13px;color:#596c88;margin-bottom:10px}.attendance-records .attendance-stats strong{font-size:30px;color:#1c304d}.attendance-records .attendance-stats em{font-size:12px;color:#697b95}.attendance-records .attendance-updated{font-size:12px;color:#64748b;align-self:center;margin-left:auto}.attendance-records .attendance-table{min-width:1000px}.attendance-records .attendance-table th:first-child{width:210px}.attendance-records .attendance-table th:nth-child(2),.attendance-records .attendance-table th:nth-child(3){width:170px}.attendance-records .attendance-table td{padding-top:18px;padding-bottom:18px}.attendance-records .attendance-table .record-duration{display:block;font-size:17px;color:#2f425f;font-weight:650;white-space:nowrap}.attendance-records .record-pause{font-size:14px;color:#435974;font-weight:600;white-space:nowrap}.record-open{display:inline-flex;align-items:center;gap:7px;color:#8a5b16;background:#fff6e3;border:1px solid #efdcad;border-radius:7px;padding:7px 10px;font-size:12px;font-weight:600;white-space:nowrap}.record-open i{width:6px;height:6px;border-radius:50%;background:#c48b2e}.attendance-records .attendance-gap{color:#9b6317;font-weight:600}.attendance-records .attendance-status{display:flex;gap:6px;align-items:flex-start;flex-direction:column}.attendance-records .attendance-badge{display:inline-flex;gap:7px;align-items:center;padding:7px 10px;border-radius:7px;border:1px solid #dce2f0;font-size:12px;font-weight:600;line-height:1.5;color:#50617e;background:#f1f4fa;white-space:nowrap}.attendance-records .attendance-badge:before{content:"";height:6px;width:6px;border-radius:50%;background:currentColor}.attendance-records .attendance-badge.sharing{color:#21704b;background:#e9f7ef;border-color:#d2eedf}.attendance-records .attendance-badge.closed{color:#5a53aa;background:#eeedfb;border-color:#dedcf3}.attendance-records .attendance-badge.offline,.attendance-records .attendance-badge.awaitingShare{color:#8e5a12;background:#fff3db;border-color:#eed9a5}.attendance-records .attendance-review{font-size:11px;color:#8e5a12;background:#fff7e7;border:1px solid #f0dcad;border-radius:5px;padding:3px 7px;font-weight:600}.attendance-records .record-needs-review td:first-child{box-shadow:inset 3px 0 #e0b35f}.attendance-records .attendance-note{font-size:12px;color:#5d6d86;background:#edf1fa;border-color:#e0e7f2;line-height:1.9}
@media(min-width:1900px){.records-table td{padding:19px 24px}.records-table th{padding:16px 24px}.record-time strong{font-size:18px}.record-person strong,.log-app-name{font-size:16px}.log-description{font-size:15px}.records-table td small{font-size:13px}.logs-table th:nth-child(2){width:245px}.logs-table th:nth-child(3){width:175px}.attendance-records .attendance-table td{padding-top:21px;padding-bottom:21px}}
@media(max-width:1100px){.records-page .page-heading{align-items:flex-start}.records-toolbar{flex-wrap:wrap}.records-result-count{margin-left:0}.records-toolbar .search input{width:250px}.records-table td,.records-table th{padding-left:16px;padding-right:16px}.attendance-records .attendance-stats{gap:10px}.attendance-records .attendance-stats>div{padding:18px 13px;gap:10px}.attendance-records .attendance-updated{width:100%;margin-left:0}.records-timezone{font-size:11px}}
@media(max-width:600px){.records-page .page-heading h1{font-size:27px}.records-page .page-heading p{font-size:13px}.records-page .heading-actions{flex-wrap:wrap;width:100%}.records-toolbar{padding:16px;gap:13px}.records-toolbar>label{flex:1;min-width:140px}.records-toolbar select,.records-toolbar input{min-width:0;width:100%;font-size:14px}.records-toolbar .record-search-label{flex-basis:100%}.records-toolbar .search input{width:100%}.record-section-heading{padding:16px;gap:12px}.record-section-heading h2{font-size:16px}.record-section-heading>span{font-size:11px}.records-panel .panel-footer{padding:14px 16px;font-size:11px}.records-table{min-width:840px}.records-table td{font-size:14px}.records-page .attendance-timezone{align-items:flex-start;flex-wrap:wrap;font-size:11px}.attendance-records .attendance-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.attendance-records .attendance-stats strong{font-size:27px}.attendance-records .attendance-stats small{font-size:12px}.attendance-records .attendance-stats .stat-icon{width:36px;height:36px;font-size:21px}.attendance-records .attendance-table{min-width:950px}.records-scroll{max-height:70vh}}

/* Readable workspace 0.4.3 */
:root{font-size:15px;color:#283c56;--muted:#62758e}input,select{font-size:14px;color:#283c56}input::placeholder{color:#71829b}.button{font-size:14px;min-height:43px}.eyebrow{font-size:11px;color:#647793}.page-heading h1{font-size:29px;color:#182b45}.page-heading p{font-size:14px;color:#5c6f88}.muted{font-size:12px;color:#62758e}.text-button{font-size:13px}.info-note{font-size:13px;color:#586d89;line-height:1.9}.sidebar{padding-top:26px}.brand{font-size:24px}.brand small{font-size:10px;color:#a2b1ca}.workspace{font-size:14px;color:#e0e7f3}.workspace small{font-size:11px;color:#a1afc6}.nav-label{font-size:12px;color:#91a0b9}.nav-item{font-size:14px;padding:15px 12px;color:#b4bfd2}.nav-item small{font-size:12px}.sidebar-bottom,.sidebar-bottom strong,.sidebar-bottom p,.logout{font-size:12px;line-height:1.9}.sidebar-bottom p,.logout{color:#a3b0c7}.sidebar-bottom strong{color:#d2dbe9}.topbar{font-size:14px;color:#64758e}.topbar strong{color:#415977}.account{color:#526984;gap:13px}.pilot-tag{font-size:10px!important;color:#5c66ab!important}.pilot-banner{font-size:12px;color:#5e6c96;line-height:1.8}.pilot-banner strong{font-size:12px}.app-shell>main{max-width:2240px}.stats small{font-size:13px;color:#62758f}.stats strong{font-size:31px}.stats em{font-size:12px;color:#61758f}.panel-toolbar{padding-top:18px;padding-bottom:18px}.status-tabs button{font-size:14px;color:#64758f}.search input{font-size:14px;min-height:40px}.panel-footer{font-size:12px;color:#61758e}.badge{font-size:12px;padding:5px 8px}.card-info{padding:16px}.card-info strong{font-size:15px;color:#283e5c}.card-info small{font-size:12px;color:#62748e}.card-info .avatar{width:36px;height:36px;font-size:12px}.card-footer{font-size:12px;padding:11px 16px;color:#61758f}.card-footer span:first-child{color:#526984}.card-management{font-size:11px;padding:10px 15px;color:#63758e}.card-delete-button{font-size:12px;color:#b34d47}.screen-corner{font-size:11px}.screen-expand{font-size:12px}.screen-placeholder strong{font-size:14px;color:#526881}.screen-placeholder small{font-size:12px;color:#697c95}.empty h2{font-size:19px;color:#445e7d}.empty p{font-size:14px;color:#62748d}.empty .button{font-size:14px}.settings-info h2{font-size:20px}.settings-info ul{font-size:14px;color:#5e738e}.panel-heading h2{font-size:17px;color:#2a4262}.setting strong{font-size:14px;color:#385373}.setting small{font-size:12px;color:#62758f}.setting select{font-size:14px}.setting>b{font-size:14px;color:#536e8d}.form-footer .muted{font-size:12px}.deleted-devices-table,.deleted-devices-table td{font-size:14px}.deleted-devices-table th{font-size:13px;color:#526984}.deleted-devices-table td strong{font-size:15px;color:#344e70}.deleted-devices-table td small{font-size:12px;color:#657a96}.deleted-devices-table .button{font-size:13px;min-height:40px}footer{font-size:11px;color:#647792}footer span{color:#697c95}.toast{font-size:15px;padding:18px 22px;line-height:1.9;max-width:430px}.toast.error{background:#a84e49}
.modal{max-height:calc(100dvh - 32px)}.modal h2{font-size:20px;color:#243c5d}.modal header p{font-size:12px;color:#61748f}.modal .icon-button{width:38px;height:38px;font-size:29px;color:#5f718c}.small-modal{width:540px}.small-modal form>label,.pair-result>label{font-size:14px;color:#496181}.small-modal label input,.pair-result label input{font-size:14px;min-height:42px}.small-modal .eyebrow{font-size:10px}.pair-result>p{font-size:14px;color:#5b708c}.pair-result>small{font-size:12px;color:#637793}.pair-result ol{font-size:14px;color:#5a7090}.join-warning{font-size:13px;color:#865e21}.join-warning strong{font-size:14px;color:#7b551b}.join-code-label textarea{font-size:13px;color:#41589b;min-height:110px}.join-copy-actions .button{font-size:13px;min-height:42px}.join-result .join-steps{font-size:14px;color:#536c8d}.join-steps strong{color:#3f567c}.join-result .join-copy-status{font-size:13px;color:#506c9b}.join-result>a.button{font-size:14px}.join-copy-details summary,.manual-pair summary{font-size:13px;color:#536d90}.join-copy-details textarea{font-size:12px;color:#4c668b}.manual-pair label{font-size:13px;color:#536c8c}.manual-pair input{font-size:14px}.join-portable-link{font-size:12px!important}.delete-dialog h2{font-size:20px;color:#304b6e}.delete-target strong{font-size:16px;color:#365277}.delete-target span{font-size:12px;color:#607895}.delete-dialog>p{font-size:14px;color:#526c8d}.delete-history-note{font-size:13px;color:#617793}.delete-dialog>.delete-confirm-error{font-size:13px;color:#b04a40}.delete-dialog-actions .button{font-size:14px;min-height:42px}
.detail-modal{width:calc(100vw - 40px);max-width:2240px;max-height:calc(100dvh - 32px)}.detail-modal>header{padding:18px 24px}.detail-person h2{font-size:20px;color:#233d60}.detail-person .avatar{width:42px;height:42px;font-size:15px}.detail-person .badge{font-size:12px}.detail-layout{grid-template-columns:minmax(0,1fr) 330px}.detail-left{padding:20px;min-width:0}.detail-right{padding:24px 22px;max-height:calc(100dvh - 125px);background:#fff}.detail-right h3{font-size:17px;font-weight:650;color:#2a4264}.detail-right>p{font-size:13px;color:#617796;margin:8px 0 25px}.control-bar{font-size:13px;padding:12px 15px;color:#526c8d}.control-bar strong{font-size:12px;color:#617793}.timeline-event{gap:13px;padding-bottom:26px}.timeline-event>i{width:10px;height:10px;border-color:#8c9bc8;margin-top:5px}.timeline-event:before{left:4px;background:#dce3ef}.timeline-event time{font-size:12px;color:#617692;line-height:1.8;margin-bottom:7px}.timeline-event strong{font-size:15px;font-weight:650;color:#344e74}.timeline-event p{font-size:14px;color:#526d90;line-height:1.85;margin-top:6px;overflow-wrap:anywhere}.timeline-event .text-button{font-size:13px;min-height:32px;font-weight:600}.viewer-zoom button,.viewer-fullscreen,.viewer-profile button{font-size:13px;padding:7px 10px;min-height:34px}.viewer-profile button{color:#596e90}.viewer-steps button{font-size:21px;width:34px;height:33px}.viewer-steps>span{font-size:12px;color:#536b8e;min-width:49px}.viewer-info{font-size:12px;padding:10px 12px;color:#5e7494;flex-wrap:wrap;line-height:1.8}.remote-stage.viewer-viewport{height:min(66vh,900px);min-height:300px}.remote-stage.viewer-viewport.controlling{cursor:default}.screen-viewer .viewer-help{font-size:12px;line-height:1.9;color:#617793}.screen-viewer .screen-caption{font-size:12px;color:#5b7191}.screen-caption>span:last-child{color:#5d7392}.viewer-footer,.viewer-footer .text-button{font-size:12px;color:#586f90}.detail-actions .button{font-size:14px;min-height:43px;padding:10px 15px}.remote-text label{font-size:13px;color:#526c8e}.remote-text input{font-size:14px;min-height:42px}.remote-text .button{font-size:13px;min-height:42px}.detail-left .info-note{font-size:12px;color:#5f7594}.detail-name-area h2{font-size:20px}.edit-name-button{font-size:12px}.rename-form input{font-size:15px}.rename-form>label,.rename-form>small,.rename-error{font-size:12px}.snapshot-modal{width:calc(100vw - 40px);max-width:2100px}.snapshot-body p{font-size:12px;color:#617793}
.login-intro>p{font-size:15px;color:#b0bed5}.login-features{font-size:13px;color:#bdc9df}.login-card{max-width:450px}.login-card h2{font-size:28px}.login-card>p{font-size:14px;color:#617792}.login-card form label{font-size:14px;color:#4e6687}.login-card input{font-size:15px;height:46px}.login-note{font-size:12px;color:#657a96}.form-error{font-size:13px}.login-card .button{font-size:15px;min-height:46px}
.detail-modal{display:flex;flex-direction:column;height:calc(100dvh - 32px);overflow:hidden}.detail-modal>header{flex:none;background:white}.detail-modal>.detail-layout{flex:1;min-height:0;overflow:hidden}.detail-modal .detail-left{min-height:0;overflow:auto;overscroll-behavior:contain}.detail-modal .detail-right{min-height:0;max-height:none;overflow:auto;overscroll-behavior:contain}
@media(max-width:1100px){.detail-modal{display:block;height:auto;overflow:auto}.detail-modal>header{position:sticky;top:0;z-index:5}.detail-modal>.detail-layout{overflow:visible}.detail-modal .detail-left{overflow:visible}.detail-modal .detail-right{max-height:380px}}
.idle-sound-controls{display:flex;gap:6px;align-items:center}.idle-sound-controls button{border:1px solid #d7e0ef;background:#f7f9fe;color:#4c6385;border-radius:7px;font-size:12px;padding:8px 10px;min-height:35px;white-space:nowrap}.idle-sound-controls #idle-sound-toggle[aria-pressed="true"][data-ready="true"]{background:#edf8f2;border-color:#cce7d8;color:#216b4a}.idle-sound-controls #idle-sound-toggle[aria-pressed="true"][data-ready="false"]{background:#fff7e6;border-color:#efdbae;color:#8a601c}.idle-sound-controls #idle-test-sound{color:#535fba;background:#f0f2ff;border-color:#dbe0fb}.idle-alert-banner{margin:20px 32px 0;padding:20px 23px;border:1px solid #e8c676;border-left:5px solid #db9f2d;border-radius:12px;background:#fff7e5;color:#6e4c15;max-width:2240px}.idle-alert-banner[hidden]{display:none}.idle-alert-heading{display:flex;gap:13px;align-items:center}.idle-alert-icon{display:grid;place-items:center;width:38px;height:38px;background:#f7e2ae;color:#996414;font-size:25px;font-weight:700;border-radius:11px}.idle-alert-heading strong{font-size:18px;color:#714c10}.idle-alert-heading p{font-size:13px;margin-top:5px;color:#8a682f}.idle-alert-list{margin-top:15px;display:flex;flex-direction:column;gap:9px}.idle-alert-item{display:flex;gap:12px;align-items:center;background:#fffdf6;border:1px solid #f0dfb8;border-radius:8px;padding:11px 13px;flex-wrap:wrap}.idle-alert-item strong{font-size:15px;min-width:100px;color:#634716}.idle-alert-item>span{font-size:13px;flex:1;color:#806232}.idle-alert-item button{font-size:13px;padding:7px 11px;min-height:34px;border-radius:6px;border:1px solid #dcc692;background:white;color:#78541b;font-weight:600}.idle-alert-list>p{font-size:13px;color:#806232}
@media(max-width:1100px){.topbar{height:auto;min-height:72px;padding-top:12px;padding-bottom:12px;gap:12px;flex-wrap:wrap}.account{flex-wrap:wrap;gap:10px}.account #manager-name{font-size:12px}.detail-layout{grid-template-columns:minmax(0,1fr)}.detail-right{max-height:380px;border-left:0;border-top:1px solid #dde5f1}.detail-left{padding:16px}.viewer-toolbar{gap:9px}.viewer-toolbar-end{gap:7px}.remote-stage.viewer-viewport{height:62vh;min-height:280px}.pilot-banner{flex-wrap:wrap}.records-page .heading-actions{flex-wrap:wrap}}
@media(max-width:600px){.nav-item{font-size:12px;padding:12px 5px}.sidebar .brand{font-size:22px}.sidebar .brand small{font-size:9px}.topbar{padding:12px 18px;font-size:12px}.account{width:100%;justify-content:flex-start}.account #manager-name{display:none}.idle-sound-controls button{font-size:12px}.pilot-banner,.pilot-banner>span:last-child{font-size:11px}.page-heading h1{font-size:26px}.page-heading p{font-size:13px}.stats small{font-size:12px}.badge{font-size:12px}.card-info strong{font-size:15px}.card-info small,.card-footer{font-size:12px}.detail-modal,.snapshot-modal{width:calc(100vw - 16px);max-height:calc(100dvh - 16px);border-radius:11px}.detail-modal>header{padding:14px;gap:12px}.detail-person{gap:9px;flex-wrap:wrap}.detail-person h2,.detail-name-area h2{font-size:18px}.detail-person .avatar{width:36px;height:36px}.detail-left{padding:12px}.control-bar{font-size:12px;align-items:flex-start;flex-direction:column;gap:4px}.control-bar strong{font-size:12px}.viewer-zoom button,.viewer-fullscreen,.viewer-profile button{font-size:12px;padding:7px;min-height:33px}.viewer-info{font-size:11px;padding:9px}.remote-stage.viewer-viewport{height:52vh;min-height:240px}.screen-viewer .viewer-help,.screen-viewer .screen-caption,.viewer-footer,.viewer-footer .text-button{font-size:11px}.detail-actions .button{font-size:13px;min-height:42px}.remote-text{flex-wrap:wrap}.remote-text label{flex-basis:100%}.detail-left .info-note{font-size:12px}.small-modal{width:calc(100vw - 24px)}.join-copy-actions{grid-template-columns:1fr}.join-code-label textarea{font-size:12px}.small-modal form,.pair-result{padding:20px}.join-result .join-steps{font-size:13px}.join-warning,.join-warning strong{font-size:12px}.join-copy-details textarea,.manual-pair label,.manual-pair input{font-size:12px}.idle-alert-banner{margin:15px 15px 0;padding:16px}.idle-alert-heading strong{font-size:17px}.idle-alert-item>span{flex-basis:100%}.toast{font-size:14px;max-width:calc(100vw - 30px)}}

/* Compact page actions 0.4.3 */
.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}.page-actions{display:flex;justify-content:flex-end;align-items:center;gap:12px;margin:0 0 18px;min-height:0}.page-actions>.heading-actions{flex-wrap:wrap;justify-content:flex-end}
@media(max-width:600px){.page-actions{margin-bottom:16px}.page-actions>.heading-actions{width:100%;justify-content:flex-start}}

/* Real-time video and visible voice controls 0.5.0 */
.remote-rtc-video{display:none;width:100%;height:100%;max-width:none;max-height:none;object-fit:fill;pointer-events:none;user-select:none;cursor:default}.screen-viewer .viewer-canvas.rtc-active>.remote-rtc-video{display:block}.screen-viewer .viewer-canvas.rtc-active>img{display:none}.viewer-canvas.rtc-active>.screen-placeholder{display:none}.rtc-panel{padding:12px 14px;background:#f8faff;border-bottom:1px solid #dce4f2;flex:none}.rtc-status-row{display:flex;align-items:center;justify-content:space-between;gap:12px}.rtc-status-row strong{font-size:14px;color:#324d78;font-weight:650;line-height:1.7}.rtc-status-row .text-button{font-size:12px;flex:none}.rtc-stats,.rtc-voice-status{font-size:12px;color:#536d90;line-height:1.8;margin-top:5px;overflow-wrap:anywhere}.rtc-call-controls{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:9px}.rtc-call-controls .button{font-size:12px;min-height:34px;padding:7px 10px}.rtc-call-controls .text-button{font-size:12px;padding:7px 9px;min-height:34px;border:1px solid #d9e2f0;border-radius:6px;background:white;color:#4a648d}.rtc-call-controls [aria-pressed="true"]:not(:disabled){border-color:#a8cdbb;color:#246b49;background:#edf8f2}.rtc-call-controls #rtc-mic[aria-pressed="true"]{border-color:#e1b487;background:#fff4e8;color:#8b5726}.rtc-panel [hidden],.viewer-profile[hidden]{display:none!important}.screen-viewer:fullscreen .rtc-panel,.screen-viewer.viewer-expanded .rtc-panel{padding:8px 14px}.screen-viewer:fullscreen .rtc-stats,.screen-viewer.viewer-expanded .rtc-stats{margin-top:1px}.timeline-page-details{display:block;font-size:13px;color:#4a658a;line-height:1.8;overflow-wrap:anywhere;margin-top:5px}.log-page-url{display:block;overflow-wrap:anywhere;color:#4a6286;font-size:13px;line-height:1.8;margin-top:3px}
@media(max-width:600px){.rtc-panel{padding:10px}.rtc-status-row{align-items:flex-start;gap:7px}.rtc-status-row strong{font-size:12px}.rtc-status-row .text-button,.rtc-stats,.rtc-voice-status{font-size:11px}.rtc-call-controls{gap:5px}.rtc-call-controls .button,.rtc-call-controls .text-button{font-size:11px;padding:6px 7px;min-height:33px}}

/* Saved activity search and pagination 0.5.0 */
.worklog-toolbar{flex-wrap:wrap;justify-content:flex-start;align-items:flex-end}.worklog-toolbar>label{min-width:150px}.worklog-toolbar input[type="date"]{width:158px;min-height:42px;padding:9px 10px;font-size:13px}.worklog-toolbar .record-search-label{flex:1;min-width:270px}.worklog-toolbar .search input{width:100%;min-height:42px;font-size:13px}.worklog-clear-dates{min-height:42px;padding:9px 5px;font-size:12px}.worklog-feedback{margin:16px 20px 0;padding:13px 16px;border-radius:8px;font-size:14px;line-height:1.8}.worklog-feedback.recent{background:#fff6e3;border:1px solid #ead5a8;color:#815b20}.worklog-feedback.error{background:#fff0ee;border:1px solid #ecc5bf;color:#99473f}.worklog-footer{flex-wrap:wrap}.worklog-pagination{display:flex;gap:9px;align-items:center}.worklog-pagination .button{min-height:37px;padding:7px 12px;font-size:13px}.worklog-scope{display:flex;align-items:flex-start;gap:7px;flex-direction:column;background:#f8faff!important;color:#59718f!important;line-height:1.8}.activity-span{display:block!important;color:#4f6e91!important;font-size:12px!important;line-height:1.8!important;margin-top:6px!important}.activity-span.supervisor{color:#735498!important;font-weight:600}.timeline-page-details .activity-span{font-size:12px!important}.worklog-toolbar .records-result-count{margin-left:0;align-self:flex-end;min-height:42px;display:flex;align-items:center}
.log-page-site{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 9px;margin-bottom:3px;line-height:1.6;color:#2e527d}.log-page-site>strong{font-size:14px;font-weight:650}.log-page-host{overflow-wrap:anywhere;unicode-bidi:isolate}.log-page-title{unicode-bidi:plaintext}.log-website-missing{display:block;font-size:13px;color:#765d36;line-height:1.7;margin-bottom:3px}.log-page-address{margin:3px 0}.log-page-address>summary{width:fit-content;font-size:13px;line-height:1.7;min-height:26px;color:#415f8f;cursor:pointer}.log-page-address .log-page-url{margin:2px 0 5px;color:#3e59a1;text-decoration:underline;text-underline-offset:2px}.log-page-address .log-page-url:focus-visible,.log-page-address>summary:focus-visible{outline:2px solid #7185c9;outline-offset:2px}
@media(max-width:600px){.worklog-toolbar>label{min-width:calc(50% - 8px);flex:1}.worklog-toolbar input[type="date"],.worklog-toolbar select{width:100%}.worklog-toolbar .record-search-label{min-width:100%;flex-basis:100%}.worklog-feedback{margin:13px 14px 0;padding:11px 13px;font-size:13px}.worklog-pagination{width:100%;justify-content:space-between}.worklog-pagination .button{font-size:12px}.worklog-clear-dates{margin-right:auto}}

/* Clear video modes and inline sound feedback 0.5.1 */
.viewer-profile{align-items:center;flex-wrap:wrap}.viewer-profile>span{font-size:12px;font-weight:650;color:#445f84;padding:0 5px}.rtc-profile-status{font-size:13px;line-height:1.8;color:#3d5d88;margin-top:4px;font-weight:600}.idle-sound-controls{position:relative;flex-wrap:nowrap}.idle-sound-status{font-size:11px;color:#526e92;line-height:1.5;max-width:250px}.idle-sound-status:empty{display:none}.idle-sound-status[data-error="true"]{color:#a04e43}.idle-sound-settings{margin-top:24px}.idle-sound-settings-body{padding:23px 25px}.idle-sound-current{display:flex;align-items:baseline;gap:10px;flex-wrap:wrap;margin-bottom:18px}.idle-sound-current>span{font-size:13px;color:#60738d}.idle-sound-current strong{font-size:16px;color:#2f496d;overflow-wrap:anywhere}.idle-sound-current small{font-size:12px;color:#647a98}.idle-sound-settings form>label{display:flex;flex-direction:column;gap:9px;font-size:14px;color:#405f87;font-weight:600}.idle-sound-settings input[type="file"]{width:100%;max-width:620px;min-height:45px;font-size:13px;background:#f8faff}.idle-sound-settings form>p{font-size:12px;color:#637a98;line-height:1.8;margin:10px 0}.idle-sound-upload-actions{display:flex;gap:9px;flex-wrap:wrap}.idle-volume-label{display:flex;gap:10px;align-items:center;flex-wrap:wrap;font-size:13px;color:#4a6689;margin-top:20px}.idle-volume-label input{max-width:330px;width:100%;accent-color:#5963ed;padding:0;border:0;min-height:28px}.idle-volume-label output{min-width:42px;color:#384f78;font-weight:650}.idle-settings-status{font-size:13px;color:#526f95;line-height:1.8;margin-top:12px}.idle-settings-status:empty{display:none}
@media(max-width:600px){.idle-sound-settings-body{padding:18px}.idle-sound-status{max-width:100%;flex-basis:100%}.rtc-profile-status{font-size:12px}.idle-volume-label input{max-width:none}.idle-sound-upload-actions .button{font-size:12px;padding:8px 11px}}

/* Single-place fallback guidance 0.5.2 */
.rtc-status-row>strong{min-width:0;overflow-wrap:anywhere}.rtc-panel [hidden]{display:none!important}

/* Telegram settings 0.5.4 */
.admin-account-heading-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}.master-password-note{font-size:13px;line-height:1.7;color:#607694;margin:0 0 12px}#master-password-form #master-password-error{margin:0 0 12px}
.nav-item[hidden]{display:none!important}.login-card form>label{display:block;margin-bottom:14px}
.admin-accounts-page{max-width:1200px;margin:0 auto}.admin-owner-card{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px 22px;margin-bottom:18px;border-color:#dce3f3;background:linear-gradient(105deg,#f7f8ff,#fff 72%)}.admin-owner-identity{display:flex;align-items:center;gap:14px;min-width:0}.admin-owner-identity>.avatar{width:48px;height:48px;border-radius:13px;font-size:21px;color:#5260ce;background:#e9edff}.admin-owner-label{display:block;font-size:13px;color:#62749a;margin-bottom:4px}.admin-owner-identity strong{display:block;font-size:20px;font-weight:650;color:#263f67;overflow-wrap:anywhere}.admin-owner-identity p{font-size:14px;color:#617697;margin-top:4px}.admin-accounts-layout{display:grid;grid-template-columns:minmax(280px,360px) minmax(0,1fr);gap:18px;align-items:start}.admin-account-form-panel{max-width:420px;width:100%}.admin-accounts-page .panel-heading{padding:14px 18px}.admin-accounts-page .panel-heading h2{font-size:16px}.admin-accounts-page .button,#master-password-form .button,#admin-password-form .button{min-height:44px;font-size:14px}.admin-accounts-page input,#master-password-form input,#admin-password-form input{height:44px;min-height:44px;font-size:15px}
.admin-account-create{display:flex;flex-direction:column;align-items:stretch;gap:14px;padding:18px;max-width:420px;width:100%;margin:0 auto}.admin-account-create>label{display:flex;flex-direction:column;gap:7px;font-size:14px;font-weight:600;color:#405f87}.admin-account-create input{width:100%;max-width:420px}.admin-account-create>.button{margin-top:2px}.admin-account-create>p{font-size:13px;line-height:1.7;color:#607694}.admin-account-feedback{margin:12px 18px;font-size:14px;line-height:1.7;color:#536e92}.admin-account-feedback:empty{display:none}.admin-account-feedback.error{color:#a84940}.admin-accounts-page .admin-account-empty{min-height:160px;padding:20px;gap:8px}.admin-account-empty-icon{display:grid;place-items:center;width:36px;height:36px;border-radius:10px;color:#7682bd;background:#eef1fb;font-size:24px}.admin-account-empty>strong{font-size:15px;color:#4e6586}.admin-account-empty p{font-size:14px;margin:0;line-height:1.7}
.admin-accounts-scroll{max-height:60vh;overflow:auto}.admin-account-list{padding:4px 18px}.admin-account-row{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:16px 0;border-bottom:1px solid #e9edf5}.admin-account-row:last-child{border-bottom:0}.admin-account-person{display:flex;align-items:center;gap:11px;min-width:0}.admin-account-person>.avatar{width:40px;height:40px;font-size:16px}.admin-account-person>div{min-width:0}.admin-account-person strong{display:block;font-size:15px;font-weight:650;color:#334f74;overflow-wrap:anywhere}.admin-account-username{display:block;font:14px/1.6 Consolas,"Segoe UI",monospace;color:#647994;overflow-wrap:anywhere}.admin-account-person small{display:block;font-size:13px;color:#73859d;line-height:1.7;margin-top:3px}.admin-account-row-controls{display:flex;flex-direction:column;align-items:flex-end;gap:8px;flex:none}.admin-account-row-controls .badge{font-size:13px}.admin-account-actions{display:flex;align-items:center;gap:8px;white-space:nowrap}.admin-accounts-panel .panel-footer{font-size:13px;padding:12px 18px;gap:6px 12px}.admin-accounts-panel .panel-footer span:last-child{line-height:1.6}
@media(max-width:880px){.admin-accounts-page{max-width:680px}.admin-accounts-layout{grid-template-columns:minmax(0,1fr)}.admin-account-form-panel{max-width:420px}}@media(max-width:600px){.admin-owner-card{align-items:flex-start;flex-direction:column;padding:16px;gap:14px}.admin-owner-card .admin-account-heading-actions,.admin-owner-card .button{width:100%}.admin-account-form-panel{max-width:none}.admin-account-create{padding:16px}.admin-account-row{align-items:flex-start;flex-wrap:wrap;gap:12px}.admin-account-row-controls{flex-direction:row;align-items:center;justify-content:space-between;width:100%}.admin-account-list{padding:4px 16px}}
.telegram-settings{margin-top:16px}.telegram-settings-body{padding:18px}.telegram-token-form{display:flex;align-items:flex-end;flex-wrap:wrap;gap:10px}.telegram-token-form>label{display:flex;flex:1;min-width:220px;flex-direction:column;gap:6px;font-size:14px;font-weight:600;color:#405f87}.telegram-token-form input{width:100%}.telegram-dynamic{margin-top:14px;padding-top:14px;border-top:1px solid #e6ebf3}.telegram-summary,.telegram-binding-actions,.telegram-actions,.telegram-command-row{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.telegram-summary{margin-bottom:12px}.telegram-summary strong{font-size:14px;color:#334f73;overflow-wrap:anywhere}.telegram-summary small{font-size:12px;color:#607695}.telegram-help,.telegram-command-label>small{font-size:12px;line-height:1.7;color:#5d7392;margin:10px 0}.telegram-command-label{display:flex;flex-direction:column;gap:6px;margin:12px 0;font-size:13px;color:#466184}.telegram-command-row input{flex:1;min-width:210px;font:13px/1.5 Consolas,monospace}.telegram-command-label>small{margin:0}.telegram-actions{margin-top:12px}.telegram-feedback{font-size:13px;line-height:1.7;color:#536e92;margin-top:10px}.telegram-feedback:empty{display:none}.telegram-feedback.error{color:#a84940}
/* Compact workspace 0.5.3: shared rhythm, then the denser media controls. */
:root{--control-height:40px;--control-compact:34px;--group-gap:10px;--panel-inset:16px}
.button{min-height:var(--control-height);padding:8px 14px;line-height:1.5}
input,select{min-height:var(--control-height);padding:8px 11px}.text-button{display:inline-flex;align-items:center;justify-content:center;min-height:32px;line-height:1.5}
.topbar{height:auto;min-height:64px;padding:12px 24px;gap:12px}main{padding:20px 24px}.page-heading{gap:16px;margin-bottom:16px}.page-actions{gap:var(--group-gap);margin-bottom:12px}.heading-actions{gap:var(--group-gap);flex-wrap:wrap}
.stats{gap:12px;margin-bottom:16px}.stats>div{padding:16px;gap:12px}.stats small{margin-bottom:7px}
.panel-toolbar{padding:12px var(--panel-inset);gap:12px;min-height:64px;flex-wrap:wrap}.panel-heading{padding:14px 18px;gap:12px}.panel-footer{min-height:52px;padding:12px var(--panel-inset);gap:12px;flex-wrap:wrap}
.status-tabs{gap:14px;flex-wrap:wrap}.status-tabs button{min-height:var(--control-height);padding:6px 0}.status-tabs button.active:after{bottom:-12px}.search input{min-height:var(--control-height)}
.screen-grid{padding:16px;gap:12px;grid-template-columns:repeat(4,minmax(0,1fr))}.card-info{padding:12px 13px}.card-footer{padding:9px 13px}.card-management{padding:8px 12px;gap:8px}.card-delete-button{min-height:32px;padding:4px 6px}.pagination button{width:34px;height:34px}
.info-note{margin-top:14px;padding:10px 12px;line-height:1.75}.empty{min-height:260px;padding:30px 24px}footer{max-width:2240px;padding:0 24px 18px}
.record-section-heading{padding:14px 18px;gap:12px}.records-toolbar{padding:12px 18px;min-height:86px;gap:12px}.records-toolbar>label{gap:6px}.records-toolbar select,.records-toolbar input,.worklog-toolbar input[type="date"],.worklog-toolbar .search input{height:var(--control-height);min-height:var(--control-height);padding-top:8px;padding-bottom:8px}
.records-table td{padding:15px 18px;line-height:1.65}.records-table th{padding:12px 18px}.attendance-records .attendance-stats{gap:12px;margin-bottom:16px}.attendance-records .attendance-stats>div{padding:16px;gap:12px}.attendance-records .attendance-stats small{margin-bottom:7px}
.worklog-toolbar .records-result-count,.worklog-clear-dates{min-height:var(--control-height)}.worklog-feedback{margin:12px 16px 0;padding:10px 12px}.worklog-pagination{gap:8px}.worklog-pagination .button,.deleted-devices-table .button{min-height:var(--control-height);padding:8px 12px}
.settings-grid{gap:16px}#settings-form{padding:0 18px}.setting{padding:16px 0;gap:16px}.setting select{height:var(--control-height)}.form-footer{padding:16px 0;gap:12px;flex-wrap:wrap}.settings-info{padding:20px}.settings-info h2{margin:12px 0}.settings-info ul{line-height:1.85}.settings-info li{margin-bottom:8px}
.idle-sound-settings{margin-top:16px}.idle-sound-settings-body{padding:18px}.idle-sound-current{gap:8px;margin-bottom:14px}.idle-sound-upload-actions{gap:8px}.idle-sound-upload-actions .button{min-height:var(--control-height)}.idle-volume-label{margin-top:16px}.idle-sound-settings input[type="file"]{min-height:var(--control-height)}
.idle-sound-controls{flex-wrap:nowrap}.idle-sound-controls button{min-height:36px;padding:7px 10px}.idle-sound-controls #idle-test-sound[data-error="true"]{color:#9b4137;background:#fff1ee;border-color:#e9c2bb}.work-event-toast{white-space:pre-line}
.modal>header{padding:14px 18px;gap:12px}.small-modal form,.pair-result{padding:18px}.small-modal form>label,.pair-result>label{margin-bottom:14px}.small-modal label input,.pair-result label input{margin-top:7px;min-height:var(--control-height)}.small-modal .info-note{margin:14px 0}.pair-result>p{margin-bottom:16px;line-height:1.75}.pair-result ol{margin:16px 0;line-height:1.8}
.join-copy-actions{gap:8px}.join-copy-actions .button,.delete-dialog-actions .button{min-height:var(--control-height);padding:8px 12px}.join-result .join-steps{margin:16px 0}.join-warning{padding:11px 12px}.join-code-label textarea{padding:10px 12px}.join-copy-details,.manual-pair{margin-top:14px}.delete-dialog{padding:20px}.delete-dialog header{margin-bottom:14px;gap:10px}.delete-dialog>p{line-height:1.8}.delete-dialog-actions{margin-top:16px;gap:8px;flex-wrap:wrap}
.rename-form{gap:6px 9px}.rename-form input{height:var(--control-height)}.rename-actions{align-items:center;gap:8px}.rename-actions .button{font-size:14px;min-height:var(--control-height);padding:8px 12px}
.login-intro .brand{margin-bottom:48px}.login-label{margin-bottom:16px}.login-intro>p{margin-top:18px;line-height:1.9}.login-features{margin-top:28px;gap:14px}.login-card{padding:30px}.login-card>p{margin:10px 0 22px}.login-card input{height:44px;margin-top:8px}.login-card .button{min-height:44px}.login-note{margin-top:20px;padding-top:16px;line-height:1.8}
.detail-modal>header{padding:8px 12px}.detail-modal .detail-person{gap:12px}.detail-modal .detail-person .avatar{width:36px;height:36px}.detail-modal .detail-left{padding:6px 8px 10px}.detail-modal .detail-right{padding:12px 14px}.detail-modal .detail-right>p{margin:5px 0 16px}
.detail-modal .detail-actions{display:flex;align-items:center;flex-wrap:wrap;gap:4px;margin:0}.viewer-tool-group{display:flex;align-items:center;gap:4px;flex:none;min-width:0;padding:3px;border:1px solid #dce4ef;border-radius:8px;background:#f8faff}.viewer-group-label{font-size:13px;font-weight:650;color:#4e6485;padding:0 5px;white-space:nowrap}
.detail-control-status{font-size:12px;font-weight:650;line-height:1.5;padding:5px 9px;border-radius:6px;color:#536b8a;white-space:nowrap}.detail-control-group .detail-control-status{margin:0 3px}.detail-control-status[data-control="active"]{color:#85571e;background:#fff4e5}.detail-control-status[data-control="pending"]{color:#6554a0;background:#f4f0ff}.detail-device-actions{display:flex;align-items:center;gap:7px;margin-left:auto}.detail-device-actions [data-action="revoke-device"]{margin-left:0}
.detail-modal .screen-viewer{margin-bottom:0}.detail-modal .viewer-toolbar{display:flex;justify-content:flex-start;align-items:center;gap:6px;padding:6px;background:#fff}.detail-modal .viewer-profile{gap:6px;flex-wrap:nowrap}.viewer-profile>.viewer-group-label{padding:0 5px;font-size:13px}.detail-modal .viewer-zoom{gap:4px;align-items:center;flex-wrap:wrap}.viewer-toolbar-end.viewer-tool-group{margin-left:auto}
.detail-modal .viewer-toolbar button,.detail-modal .viewer-toolbar select,.detail-modal .detail-actions .button,.detail-modal .rtc-call-controls .button,.detail-modal .rtc-call-controls .text-button{box-sizing:border-box;font-size:13px;line-height:1.4;min-height:var(--control-compact);padding:5px 8px;border-radius:5px;white-space:nowrap}.detail-modal .viewer-toolbar .viewer-steps button{width:26px;min-height:32px;height:32px;padding:0;font-size:19px;border-radius:0}.detail-modal .viewer-steps{margin:0}.detail-modal .viewer-steps>span{font-size:12px;min-width:42px}.viewer-zoom-select{width:88px;border:1px solid #dfe5ef;background:#fff;color:#4c6387;cursor:pointer}
.viewer-transport{font-weight:650;color:#4f6485;background:#e9eef7;border-radius:5px;padding:3px 7px}.detail-modal .viewer-info{justify-content:flex-start;gap:6px 12px;padding:4px 10px;line-height:1.5}.detail-modal .viewer-info>span:first-child{font-family:inherit;color:#4f6485}.detail-modal .rtc-panel{padding:5px 8px}.detail-modal .rtc-status-row{align-items:center;gap:6px;margin:0;flex-wrap:wrap}.detail-modal .rtc-status-row strong{font-size:13px;line-height:1.5}.detail-modal .rtc-status-row .text-button{min-height:32px;white-space:nowrap}.detail-modal .rtc-status-row[hidden]{display:none}
.rtc-video-summary{display:flex;align-items:baseline;gap:3px 18px;flex-wrap:wrap}.rtc-video-summary>p{margin:0}.rtc-voice-row{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin:0}.detail-modal .rtc-call-controls{display:flex;align-items:center;gap:5px;margin:0}.detail-modal .rtc-stats,.detail-modal .rtc-voice-status,.detail-modal .rtc-profile-status{line-height:1.5;margin-top:3px}.detail-modal .rtc-voice-row>.rtc-voice-status{margin:0}
.remote-stage.viewer-viewport{height:min(65vh,900px)}.viewer-viewport[data-sizing="fit"]{height:auto;min-height:0;max-height:70vh;aspect-ratio:16/9;scrollbar-gutter:auto}.detail-modal .screen-caption{padding:5px 10px}.screen-viewer .fullscreen-end-control{display:none}.screen-viewer:fullscreen .fullscreen-end-control,.screen-viewer.viewer-expanded .fullscreen-end-control{display:inline-flex;align-items:center;font-size:12px;min-height:33px;padding:6px 9px;border:1px solid #dce1f4;border-radius:5px;background:#fff;color:#566b90;white-space:nowrap}.detail-modal .screen-viewer:fullscreen .viewer-toolbar,.detail-modal .screen-viewer.viewer-expanded .viewer-toolbar{padding:8px}
/* The desktop live screen shares the modal's remaining height with its own controls. */
@media(min-width:1101px){.detail-modal .detail-left{display:flex;flex-direction:column;overflow:hidden}.detail-modal #live-viewer{flex:1 1 0;min-height:0}.detail-modal #live-viewer>.viewer-toolbar,.detail-modal #live-viewer>.rtc-panel,.detail-modal #live-viewer>.screen-caption{flex-shrink:0}.detail-modal #remote-stage{flex:1 1 0;height:0;min-height:0;max-height:none;aspect-ratio:auto}.detail-modal #remote-stage[data-sizing="available"]{scrollbar-gutter:auto}}
.detail-header-actions{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.detail-modal>header .detail-person{min-width:0;flex:1}.detail-header-actions .button{min-height:32px;font-size:13px;padding:5px 8px}.detail-header-actions .detail-device-actions{margin:0}.timeline-toggle{color:#4356bd;background:#f0f3ff;border-color:#aab7e8;font-weight:650}.detail-modal.timeline-collapsed .detail-layout{grid-template-columns:minmax(0,1fr)}.detail-modal .detail-right[hidden]{display:none!important}.screen-viewer:fullscreen .regular-end-control,.screen-viewer.viewer-expanded .regular-end-control{display:none}.rtc-secondary{display:flex;align-items:center;justify-content:space-between;gap:6px 12px;flex-wrap:wrap}.rtc-connection-summary{display:flex;align-items:center;gap:6px;flex:1 1 250px;min-width:0;flex-wrap:wrap}.rtc-connection-summary>.viewer-transport{font-size:13px;line-height:1.4;padding:3px 6px}#live-compact-stats{font-size:13px;font-weight:600;color:#395778;white-space:nowrap}.rtc-diagnostics,.rtc-listening-options{position:relative;flex:none}.rtc-diagnostics>summary,.rtc-listening-options>summary{display:flex;align-items:center;justify-content:center;min-height:32px;padding:5px 8px;font-size:13px;line-height:1.4;list-style:none;cursor:pointer;white-space:nowrap;color:#4e6689;background:#fff;border:1px solid #d9e2ee;border-radius:5px}.rtc-diagnostics>summary::-webkit-details-marker,.rtc-listening-options>summary::-webkit-details-marker{display:none}.rtc-diagnostics>summary:after,.rtc-listening-options>summary:after{content:'⌄';margin-left:5px}.rtc-diagnostics-body,.rtc-listening-options>div{position:absolute;left:0;top:calc(100% + 5px);z-index:15;width:min(600px,calc(100vw - 50px));max-height:min(45vh,340px);overflow:auto;padding:12px;background:#fff;border:1px solid #d5dfed;border-radius:8px;box-shadow:0 10px 32px #1e355326}.rtc-diagnostics-body>p{font-size:12px;line-height:1.65;margin:5px 0;overflow-wrap:anywhere}.rtc-listening-options>div{left:auto;right:0;display:flex;flex-direction:column;align-items:stretch;gap:6px;width:260px}.detail-modal .rtc-voice-row>.rtc-voice-status{font-size:12px;line-height:1.5;margin:0}
@media(max-width:1550px){.screen-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:1150px){.screen-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:900px){main{padding:18px 20px}.detail-modal .viewer-toolbar{align-items:flex-start}.detail-modal .viewer-zoom{order:0;flex:0 1 auto;max-width:100%;width:auto}.detail-modal .viewer-toolbar-end{order:0;margin-left:auto}.detail-device-actions{margin-left:0}.detail-modal .rtc-voice-row{align-items:flex-start}.detail-modal .rtc-call-controls{flex-wrap:wrap}.detail-modal .rtc-voice-status{flex:1 1 100%}.settings-grid{gap:14px}}
@media(max-width:680px){.screen-grid{grid-template-columns:minmax(0,1fr)}}
.telegram-steps{display:flex;flex-wrap:wrap;gap:8px 20px;list-style:none;padding:0;margin:16px 0;color:#61738b;font-size:14px}.telegram-steps li{display:flex;align-items:center;gap:8px}.telegram-steps b{display:grid;place-items:center;border-radius:50%;width:26px;height:26px;background:#edf1f6}.telegram-steps .complete{color:#217663}.telegram-steps .complete b{background:#e7f6ee}.telegram-steps .current{color:#4944ba;font-weight:650}.telegram-steps .current b{background:#eae9ff}.telegram-binding-guide{padding:16px;border:1px solid #d9def7;border-radius:10px;background:#f8f9ff}.telegram-binding-guide>strong{font-size:15px;color:#34476a}.telegram-binding-guide>p{font-size:14px;line-height:1.7;color:#526784;margin:6px 0 12px}.telegram-binding-guide .telegram-command-label{font-size:14px}.telegram-binding-guide .telegram-command-row{max-width:900px}.telegram-binding-guide .telegram-command-row input{background:#fff;color:#263a56;min-height:44px;font-size:14px}.telegram-binding-guide .button,.telegram-actions .button{min-height:40px}.telegram-binding-guide .telegram-command-label>small{font-size:13px}
@media(max-width:600px){main{padding:14px 12px}.page-actions{margin-bottom:12px}.heading-actions{gap:8px}.panel-toolbar,.records-toolbar{padding:12px;gap:10px}.record-section-heading{padding:12px;gap:10px}.stats{gap:10px}.stats>div,.attendance-records .attendance-stats>div{padding:13px;gap:10px}.screen-grid{padding:12px}.status-tabs{gap:6px;justify-content:space-between}.status-tabs button.active:after{bottom:-12px}.settings-info{padding:18px}.setting{padding:14px 0}.form-footer .button{width:100%}.login-intro .brand{margin-bottom:28px}.login-card{padding:24px;margin:18px 0}.small-modal form,.pair-result{padding:16px}.delete-dialog{padding:18px}.join-copy-actions{grid-template-columns:1fr}footer{padding:0 12px 16px}.detail-modal>header{padding:9px 11px;gap:8px}.detail-modal .detail-left{padding:8px}.detail-modal .detail-right{padding:15px}.detail-modal .detail-actions{gap:6px}.detail-control-group{flex-wrap:wrap}.detail-modal .viewer-toolbar-end{width:auto}.detail-modal .viewer-profile{width:auto}.detail-modal .viewer-info{font-size:12px}.detail-modal .viewer-toolbar .viewer-zoom{gap:5px}.detail-modal .viewer-toolbar button,.detail-modal .viewer-toolbar select{padding:6px 8px}.detail-modal .viewer-zoom .viewer-group-label{padding:0 3px}.detail-modal .rtc-call-controls{gap:5px}.remote-stage.viewer-viewport{height:55vh;min-height:240px}.viewer-viewport[data-sizing="fit"]{height:auto;min-height:0;max-height:70vh}}
/* A retained call stays visible independently of the employee detail dialog. */
.ongoing-call{position:fixed;left:246px;right:16px;bottom:12px;z-index:75;display:flex;align-items:center;justify-content:space-between;gap:10px 18px;flex-wrap:wrap;padding:12px 15px;background:#fff;border:1px solid #b7c9e9;border-radius:11px;box-shadow:0 6px 30px #172f5830;color:#243c5d}
.ongoing-call[hidden]{display:none!important}
.ongoing-call-person{display:flex;flex-direction:column;gap:5px;min-width:150px}
.ongoing-call-person strong{font-size:15px;line-height:1.4;overflow-wrap:anywhere}
.ongoing-call-person span,.ongoing-call-message{font-size:14px;line-height:1.5;color:#4a617e}
.ongoing-call-actions{display:flex;align-items:center;gap:7px;flex-wrap:wrap}
.ongoing-call-actions .button,.ongoing-listening>summary{min-height:38px;padding:7px 10px;font-size:14px;font-weight:600;line-height:1.5;border-radius:6px}
.ongoing-listening{position:relative}
.ongoing-listening>summary{list-style:none;cursor:pointer;border:1px solid #d5deed;background:#fff;color:#425b7d}
.ongoing-listening>summary::-webkit-details-marker{display:none}
.ongoing-listening>div{position:absolute;bottom:calc(100% + 8px);right:0;display:flex;flex-direction:column;align-items:stretch;gap:7px;width:220px;padding:12px;border:1px solid #c9d6e9;border-radius:8px;background:#fff;box-shadow:0 5px 20px #172f5820}
.ongoing-listening .text-button{font-size:14px;min-height:36px;text-align:left}
.ongoing-call-message{flex-basis:100%;margin:0;color:#9c453d}
body.has-ongoing-call{--call-bar-space:112px}
body.has-ongoing-call .app-shell{padding-bottom:var(--call-bar-space)}
body.has-ongoing-call .detail-modal{max-height:calc(100dvh - var(--call-bar-space));top:calc((100dvh - var(--call-bar-space))/2)}
body.has-ongoing-call #toast-root{bottom:calc(var(--call-bar-space) + 8px)}
@media(max-width:900px){.ongoing-call{left:12px;right:12px;padding:11px 12px;gap:10px}.ongoing-call-actions{width:100%}body.has-ongoing-call{--call-bar-space:184px}}
.device-state-badges{display:inline-flex;flex-direction:column;align-items:flex-end;gap:4px;flex:none;max-width:170px}
.device-state-badges .attendance-status-badge{color:#49627e;background:#f0f4f9;white-space:normal;line-height:1.4}
/* Group management: compact forms and association-safe membership controls. */
.groups-page{max-width:1420px;margin:0 auto}.groups-page-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.groups-page-heading h2{font-size:20px;line-height:1.4;margin:0;color:#304a70}.groups-page-heading p{font-size:14px;line-height:1.6;margin:5px 0 0;color:#5c718e}.groups-layout{display:grid;grid-template-columns:minmax(280px,350px) minmax(0,1fr);gap:16px;align-items:start}.groups-layout>.panel{min-width:0}.groups-layout .panel-heading{padding:13px 16px}.groups-layout .panel-heading h2{font-size:16px}.groups-layout .panel-heading>span{font-size:13px;color:#637894}.groups-feedback{font-size:14px;line-height:1.6;color:#486584;margin:0 0 12px;overflow-wrap:anywhere}.groups-feedback:empty{display:none}.groups-feedback.error{color:#a13e36}
.group-create-form{padding:14px 16px;border-bottom:1px solid #e4eaf2}.group-create-form>label{display:block;font-size:14px;font-weight:600;color:#405b7e;margin-bottom:7px}.group-create-form>div,.group-inline-form{display:flex;align-items:center;gap:7px}.group-create-form input,.group-inline-form input{width:0;min-width:0;flex:1}.groups-list{max-height:540px;overflow:auto}.group-row{padding:13px 16px;border-bottom:1px solid #e7ecf3}.group-row:last-child{border-bottom:0}.group-row-heading{display:flex;align-items:center;justify-content:space-between;gap:9px}.group-row-heading>div:first-child{min-width:0}.group-row-heading strong{display:block;font-size:15px;line-height:1.5;color:#334e74;overflow-wrap:anywhere}.group-row-heading span,.group-row-heading small{display:block;font-size:13px;line-height:1.6;color:#617791;margin-top:3px}.group-row-heading small{font-size:12px;color:#8b6548}.group-row-actions{display:flex;gap:5px;flex:none}.group-row-actions .text-button{font-size:14px;min-height:34px;padding:5px 7px}.group-inline-form{margin-top:10px;flex-wrap:wrap}.group-inline-form .button{min-height:36px;font-size:14px;padding:6px 9px}.group-inline-form input{flex:1 1 100%;width:100%;font-size:14px}.groups-list-note{font-size:13px;line-height:1.6;color:#647b96;margin:0;padding:11px 16px;border-top:1px solid #e7ecf3}.group-empty{padding:28px 16px;text-align:center;font-size:14px;line-height:1.7;color:#607894}
.group-members-toolbar,.group-move-toolbar{display:flex;align-items:flex-end;flex-wrap:wrap;gap:10px;padding:12px 16px;border-bottom:1px solid #e4eaf2}.group-members-toolbar>label:first-child{display:flex;flex-direction:column;gap:6px;font-size:13px;font-weight:600;color:#536b8a;flex:0 1 230px;min-width:170px}.group-members-toolbar select{width:100%}.group-members-toolbar .group-search{flex:1 1 200px;min-width:160px}.group-search input{width:100%;min-width:0}.group-move-toolbar{align-items:center;background:#f8faff;gap:8px}.group-move-toolbar>strong{font-size:14px;color:#3f5d84;margin-right:3px;white-space:nowrap}.group-move-toolbar select{flex:1 1 160px;min-width:140px;max-width:260px}.group-move-toolbar .button{font-size:14px;white-space:nowrap}.group-move-toolbar .text-button{font-size:14px;min-height:40px}.group-members-scroll{max-height:590px;overflow:auto}.group-members-table{width:100%;border-collapse:collapse;font-size:14px;text-align:left}.group-members-table th{font-size:13px;font-weight:650;color:#546b89;background:#f8faff;position:sticky;top:0;z-index:1;padding:12px}.group-members-table th:first-child,.group-members-table td:first-child{padding-left:16px;width:78px}.group-members-table td{padding:13px 12px;border-top:1px solid #e8edf4;color:#3f587a;overflow-wrap:anywhere;max-width:270px}.group-members-table td strong{display:block;font-size:15px;color:#344f72;font-weight:650}.group-members-table td small{display:block;font-size:12px;color:#6b809b;line-height:1.5;margin-top:3px;word-break:break-all}.group-members-table .badge{font-size:12px;line-height:1.5;white-space:nowrap}.group-checkbox{display:flex;align-items:center;gap:7px;white-space:nowrap}.group-members-table input[type=checkbox]{appearance:auto;width:17px;height:17px;min-height:0;margin:0;padding:0;accent-color:#5b5bd7;cursor:pointer}.group-member-deleted td{background:#fcfaf8}.group-members-panel .panel-footer{font-size:13px;line-height:1.6;padding:11px 16px}
@media(max-width:1150px){.groups-layout{grid-template-columns:minmax(250px,300px) minmax(0,1fr)}.group-members-toolbar,.group-move-toolbar{padding:12px}.group-move-toolbar>strong{flex-basis:100%}.group-members-table th,.group-members-table td{padding:11px 9px}.group-members-table th:first-child,.group-members-table td:first-child{padding-left:12px}}
@media(max-width:900px){.groups-layout{grid-template-columns:minmax(0,1fr)}.groups-list{max-height:320px}.groups-list-panel .group-create-form>div{max-width:450px}.group-inline-form input{flex:1 1 160px;width:0}.group-move-toolbar>strong{flex-basis:auto}}
@media(max-width:600px){.groups-page-heading{align-items:flex-start}.groups-page-heading h2{font-size:18px}.groups-page-heading p{font-size:13px}.groups-page-heading>.button{white-space:nowrap;font-size:14px;padding:8px 10px}.group-members-table{min-width:480px}.group-members-scroll{max-height:460px}.group-members-toolbar>label:first-child{flex:1 1 100%}.group-move-toolbar>strong{flex-basis:100%}.group-move-toolbar select{max-width:none}.group-row-heading{align-items:flex-start}.group-members-panel .panel-footer{padding:10px 12px}}
.viewer-presence{display:flex;align-items:center;gap:5px 8px;flex-wrap:wrap;min-width:0;color:#4e6586;font-size:13px;line-height:1.5}.viewer-presence:empty{display:none}.presence-group{display:inline-flex;align-items:center;gap:4px;flex-wrap:wrap;max-width:100%;min-width:0}.presence-label{font-size:12px;font-weight:650;white-space:nowrap;color:#356b5a}.presence-waiting .presence-label{color:#8b6b3e}.viewer-person{display:inline-flex;align-items:center;gap:5px;max-width:145px;min-width:0;padding:2px 6px 2px 3px;border:1px solid #dce6ee;border-radius:16px;background:#f4f8fc;color:#405c7b}.presence-waiting .viewer-person{background:#faf8f4;border-color:#e8e2d7;color:#79694f}.viewer-mini-avatar{display:inline-flex;align-items:center;justify-content:center;flex:none;width:20px;height:20px;border-radius:50%;background:#e2eaf6;color:#4b628d;font-size:11px;font-weight:650}.presence-waiting .viewer-mini-avatar{background:#eee7da;color:#897145}.viewer-person-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}.viewer-person>small{font-size:11px;flex:none;white-space:nowrap;color:#6b7f98}.presence-more{font-size:12px;white-space:nowrap;color:#627895}.viewer-controller{display:inline-block;color:#87541b;background:#fff2de;border-radius:5px;padding:3px 7px;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:600}.card-viewer-presence{padding:8px 12px;border-top:1px solid #e7edf5;background:#f8faff}.detail-viewer-presence{flex:1 1 220px;max-width:600px}.detail-modal .detail-person{flex-wrap:wrap}.detail-viewer-presence .viewer-controller{font-size:12px}
.broadcast-bar{position:fixed;left:246px;right:16px;bottom:12px;z-index:76;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px 16px;padding:12px 15px;background:#fff;border:1px solid #b7c9e9;border-radius:11px;box-shadow:0 6px 30px #172f5830;color:#243c5d}.broadcast-bar[hidden]{display:none!important}.broadcast-person{display:flex;flex-direction:column;gap:5px;min-width:160px}.broadcast-person strong{font-size:15px;overflow-wrap:anywhere}.broadcast-person span{font-size:14px;line-height:1.5;color:#4a617e}.broadcast-actions{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.broadcast-actions .button,.broadcast-recipients>summary{min-height:38px;padding:7px 10px;font-size:14px;line-height:1.5;border-radius:6px}.broadcast-recipients{position:relative}.broadcast-recipients>summary{list-style:none;cursor:pointer;border:1px solid #d5deed;color:#425b7d;background:#fff}.broadcast-recipients>summary::-webkit-details-marker{display:none}.broadcast-recipients>div{position:absolute;bottom:calc(100% + 8px);right:0;width:min(440px,calc(100vw - 44px));max-height:340px;overflow:auto;padding:8px 12px;background:#fff;border:1px solid #c9d6e9;border-radius:8px;box-shadow:0 5px 20px #172f5820}.broadcast-recipients p{display:flex;justify-content:space-between;gap:12px;margin:0;padding:8px 0;border-bottom:1px solid #e5ebf3;font-size:13px;line-height:1.6}.broadcast-recipients p:last-child{border:0}.broadcast-recipients strong{font-weight:600;overflow-wrap:anywhere}.broadcast-recipients p>span{color:#627791;flex-shrink:0}.broadcast-setup-note{font-size:14px;color:#536c8c;line-height:1.75;margin:6px 0 16px}#broadcast-start-form select{width:100%;margin-top:7px}body.has-broadcast .app-shell{padding-bottom:112px}body.has-broadcast .detail-modal{max-height:calc(100dvh - 112px);top:calc((100dvh - 112px)/2)}body.has-broadcast #toast-root{bottom:120px}
@media(max-width:900px){.broadcast-bar{left:12px;right:12px;padding:11px 12px}.broadcast-actions{width:100%}body.has-broadcast .app-shell{padding-bottom:176px}body.has-broadcast .detail-modal{max-height:calc(100dvh - 176px);top:calc((100dvh - 176px)/2)}}

.device-card>.card-management{margin-top:auto}#broadcast-group-label[hidden]{display:none!important}

/* Overview group scope: independent from group-management filters. */
.page-actions:has(.monitor-group-filter)>.heading-actions{width:100%}
.monitor-group-filter{display:flex;align-items:center;gap:8px;flex:0 1 350px;min-width:245px;margin-right:auto;flex-wrap:wrap}
.monitor-group-filter>label{display:flex;align-items:center;gap:9px;flex:1;min-width:190px;font-size:14px;font-weight:600;color:#405b7e}
.monitor-group-filter>label>span{white-space:nowrap}
.monitor-group-filter select{flex:1;min-width:0;max-width:280px;height:44px;min-height:44px;font-size:14px;text-overflow:ellipsis}
.monitor-group-refresh{flex:none;width:44px;min-width:44px;height:44px;padding:8px!important;font-size:20px!important}
.monitor-group-status{flex-basis:100%;font-size:13px;line-height:1.4;color:#6b7d94}
.monitor-group-status:empty{display:none}
@media(max-width:720px){.monitor-group-filter{flex:1 1 100%;min-width:0;margin-right:0}.monitor-group-filter select{max-width:none}.monitor-group-filter>label{min-width:0}}

/* Work activity: one readable summary, with original evidence available on demand. */
.activity-page{min-width:0;color:#334d70}
.activity-page-site{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 8px;margin-bottom:4px;min-width:0}
.activity-page-site>.log-page-host{font-size:14px;font-weight:650;line-height:1.5;color:#2e527d;overflow-wrap:anywhere}
.activity-page-brand{font-size:12px;font-weight:500;color:#6b7e97}
.activity-title-text{display:block;font-size:14px;font-weight:500;line-height:1.65;color:#354d6b;overflow-wrap:anywhere}
.activity-title{margin:0}
.activity-title>summary{display:block;position:relative;padding-right:17px;cursor:pointer;list-style:none}
.activity-title>summary::-webkit-details-marker{display:none}
.activity-title>summary:after{content:"⌄";position:absolute;right:0;top:1px;color:#627a9d;font-size:14px}
.activity-title:not([open])>summary>.activity-title-text{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.activity-title[open]>summary:after{content:"⌃"}
.activity-details{margin-top:5px;min-width:0}
.activity-details>summary{display:block;width:fit-content;min-height:28px;padding:3px 0;color:#536c94;font-size:12px;line-height:1.7;cursor:pointer;list-style:none}
.activity-details>summary::-webkit-details-marker{display:none}
.activity-details>summary:after{content:" ›";display:inline-block;margin-left:3px}
.activity-details[open]>summary:after{transform:rotate(90deg)}
.activity-title>summary:focus-visible,.activity-details>summary:focus-visible{outline:2px solid #778bd3;outline-offset:3px;border-radius:3px}
.activity-details-body{border:1px solid #e0e7f1;border-radius:6px;padding:9px 10px;background:#f7f9fc;min-width:0}
.activity-detail-row{display:grid;grid-template-columns:minmax(0,1fr);gap:2px;margin-top:9px;min-width:0;font-size:12px;line-height:1.65;overflow-wrap:anywhere}
.activity-detail-row:first-child{margin-top:0}
.activity-detail-row>span:first-child{font-size:11px;font-weight:600;color:#74839a}
.activity-detail-row .log-page-url{font-size:12px;margin:0;line-height:1.65;text-decoration:underline;text-underline-offset:2px}
.activity-detail-row .activity-span{margin:0!important;font-size:12px!important;line-height:1.65!important}
.timeline-event{gap:11px;padding-bottom:16px}
.timeline-event:before{left:4px;top:11px;bottom:0;background:#dfe6f1}
.timeline-event>i{width:9px;height:9px;margin-top:15px;background:#fff;border-color:#93a4cf}
.timeline-event-content{flex:1;min-width:0;padding:10px 11px;border:1px solid #e2e8f2;border-radius:8px;background:#fff}
.timeline-event-header{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:22px;margin-bottom:6px}
.timeline-event .timeline-event-time{margin:0;font-size:12px;line-height:1.5;color:#6a7e98;font-variant-numeric:tabular-nums}
.timeline-event-type{display:block;max-width:65%;padding:2px 6px;border-radius:4px;background:#f0f4fa;color:#526c90;font-size:11px;font-weight:600;line-height:1.5;overflow-wrap:anywhere}
.timeline-event.idle .timeline-event-type,.timeline-event.idleRepeat .timeline-event-type{background:#fff5e4;color:#926520}
.timeline-event p{margin:0;font-size:14px;font-weight:500;line-height:1.65;color:#3b5476;overflow-wrap:anywhere}
.timeline-event .timeline-page-details{margin:0;line-height:1.65}
.timeline-event .activity-title-text{font-size:14px;font-weight:500;line-height:1.65;color:#3b5476}
.timeline-event .activity-page-site>.log-page-host{font-size:14px;font-weight:650;color:#2e527d;line-height:1.5}
.timeline-event .log-website-missing{display:block;margin-bottom:4px;font-size:12px;color:#7c6c51;line-height:1.6}
.timeline-event .activity-page-brand{font-size:11px}
.timeline-event .text-button{margin-top:5px;min-height:28px;padding:2px 0;font-size:12px;line-height:1.7;font-weight:550}
.timeline-event:last-child{padding-bottom:0}
.timeline-event:last-child:before{display:none}

/* MULTI_WORK_VOICE_UI */
.rtc-call-members{display:flex;align-items:center;flex-wrap:wrap;gap:5px;font-size:13px;line-height:1.5}.rtc-call-member-label{color:#4b617b;white-space:nowrap}.rtc-call-member{display:inline-flex;align-items:center;max-width:18ch;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:2px 7px;border:1px solid #b9d5ca;border-radius:12px;background:#eef8f3;color:#24644c}.rtc-call-member.is-joining{border-color:#dfcd9f;background:#fff8e8;color:#805d1b}.ongoing-call-person .rtc-call-members{max-width:600px}.ongoing-call-person .rtc-call-member{font-size:13px;color:#24644c}

/* MULTI_MONITOR_UI */
.card-monitor-count{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:32px;padding:5px 12px;border-top:1px solid #e8edf5;background:#f5f7ff;font-size:12px;font-weight:650;line-height:1.5;color:#4359a4}
.card-monitor-count>span{font-size:12px;font-weight:500;color:#687c99}
.detail-modal .viewer-monitors{display:flex;align-items:center;flex:0 1 auto;gap:6px;min-width:0;max-width:100%;position:relative}
.viewer-monitors>label{display:flex;align-items:center;gap:5px;min-width:0}
.viewer-monitors select{width:190px;max-width:30vw;min-height:29px;padding:3px 20px 3px 7px;border:1px solid #d9e1f2;border-radius:4px;background:#fff;font-size:12px;line-height:1.5;color:#344b6b}
.viewer-monitors select:disabled{color:#72829b;background:#f4f6fa;opacity:1;cursor:default}
.monitor-selection-status{display:block;position:absolute;left:0;top:100%;z-index:3;max-width:340px;padding:5px 8px;border:1px solid #dce4f4;border-radius:5px;background:#f8faff;box-shadow:0 3px 9px #23375c12;color:#536b8e;font-size:12px;line-height:1.6;visibility:hidden;pointer-events:none}
.viewer-monitors:hover .monitor-selection-status,.viewer-monitors:focus-within .monitor-selection-status,.viewer-monitors.is-switching .monitor-selection-status,.viewer-monitors.has-permission-warning .monitor-selection-status{visibility:visible}
.detail-modal .viewer-monitors.is-switching{border-color:#dfc77e;background:#fff9eb}
.detail-modal .viewer-monitors.is-switching .monitor-selection-status,.detail-modal .viewer-monitors.has-permission-warning .monitor-selection-status{color:#89631d;background:#fffaf0;border-color:#efdfb2}
@media(max-width:900px){.viewer-monitors select{max-width:48vw;width:185px}.detail-modal .viewer-monitors{order:0}.card-monitor-count{font-size:12px}}
@media(max-width:600px){.detail-modal .viewer-monitors{flex:1 1 100%}.viewer-monitors>label{width:100%;justify-content:space-between}.viewer-monitors select{max-width:70vw;width:230px}.monitor-selection-status{max-width:calc(100vw - 65px)}}
/* Telegram destinations: one private editor, independent channel state. */
.telegram-destinations>.panel-heading{align-items:center;gap:14px;flex-wrap:wrap}.telegram-destinations>.panel-heading p{margin:5px 0 0;color:#60738e;font-size:14px;line-height:1.5}.telegram-destinations>.panel-heading .telegram-actions{margin:0}.telegram-routing-note{margin:0 0 16px;padding:10px 12px;background:#f5f7fc;border:1px solid #e2e8f4;border-radius:8px;font-size:14px;line-height:1.65;color:#4c6181}.telegram-channel-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,320px),1fr));gap:14px}.telegram-channel-card{min-width:0;padding:17px;border:1px solid #dee5f1;border-radius:12px;background:#fff;box-shadow:0 2px 6px #18345a05}.telegram-channel-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:10px;margin-bottom:13px}.telegram-channel-heading h3{font-size:17px;line-height:1.4;color:#203855;margin:0;overflow-wrap:anywhere}.telegram-channel-heading p{font-size:13px;margin:5px 0 0;color:#637793;overflow-wrap:anywhere}.telegram-channel-heading .badge{flex:none}.telegram-channel-card dl{margin:0}.telegram-channel-card dl>div{display:grid;grid-template-columns:78px minmax(0,1fr);gap:10px;margin:11px 0}.telegram-channel-card dt{color:#708098;font-size:13px;line-height:1.6}.telegram-channel-card dd{margin:0;color:#334f70;font-size:14px;line-height:1.6;overflow-wrap:anywhere}.telegram-group-tag,.telegram-fallback-tag{display:inline-block;border-radius:5px;padding:2px 7px;margin:0 5px 4px 0;background:#eef0ff;color:#514cbb;font-size:12px}.telegram-fallback-tag{background:#e9f6ef;color:#28765a}.telegram-channel-footer{display:flex;align-items:center;gap:12px;border-top:1px solid #edf0f6;padding-top:13px;margin-top:14px}.telegram-channel-footer span{color:#74849b;font-size:12px;line-height:1.5}.telegram-channel-footer .button{flex:none}.telegram-channel-card .telegram-feedback{font-size:13px}.telegram-empty{padding:20px;color:#718098;text-align:center}.telegram-editor-overlay{position:fixed;inset:0;z-index:300;display:grid;place-items:center;padding:24px}.telegram-editor-backdrop{position:absolute;inset:0;background:#101e3c65;backdrop-filter:blur(3px)}.telegram-editor{position:relative;width:min(680px,100%);max-height:calc(100dvh - 48px);background:#fff;border:1px solid #e0e6f1;box-shadow:0 24px 80px #11254335;border-radius:16px;overflow:auto}.telegram-editor>header{position:sticky;top:0;z-index:1;display:flex;justify-content:space-between;align-items:flex-start;gap:12px;padding:20px 24px 16px;background:#fff;border-bottom:1px solid #e9edf5}.telegram-editor h2{font-size:21px;margin:0;color:#203855}.telegram-editor>header p{font-size:13px;color:#708099;margin:6px 0 0;overflow-wrap:anywhere}.telegram-editor-body{padding:20px 24px 24px}.telegram-field{display:flex;flex-direction:column;gap:7px;font-size:14px;font-weight:650;color:#36506e}.telegram-field input{width:100%;font-size:15px}.telegram-group-choices{border:0;padding:0;margin:19px 0 14px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;max-height:235px;overflow:auto}.telegram-group-choices legend{font-size:14px;font-weight:650;color:#36506e;padding:0;margin-bottom:10px}.telegram-group-choices>label{display:flex;align-items:flex-start;gap:9px;padding:10px;border:1px solid #e1e7f1;border-radius:7px;font-size:14px;color:#344f70;line-height:1.5;min-width:0}.telegram-group-choices input{width:16px;height:16px;margin:3px 0 0;flex:none;accent-color:#6059ed}.telegram-group-choices label span{min-width:0;overflow-wrap:anywhere}.telegram-group-choices label small{display:block;font-size:11px;color:#7b8799;margin-top:2px}.telegram-group-choices label.unavailable{background:#f6f8fb;color:#8692a3}.telegram-group-choices>small,.telegram-group-choices>p{grid-column:1/-1;font-size:12px;line-height:1.6;color:#718098;margin:3px 0}.telegram-editor-section{margin-top:24px;padding-top:20px;border-top:1px solid #e7ecf5}.telegram-editor-section h3{font-size:16px;margin:0 0 13px;color:#2b4361}.telegram-editor-section .telegram-token-form>label{min-width:min(100%,260px);font-size:13px}.telegram-editor-section .telegram-token-form .button{min-height:42px}.telegram-editor-section .telegram-summary{font-size:13px;line-height:1.6}.telegram-editor-section .telegram-summary span{color:#62758d}.telegram-editor-section .telegram-actions{gap:8px}.telegram-editor-section .telegram-command-row input{min-width:0;font-size:12px}.telegram-editor-delete{margin-top:22px;padding-top:16px;border-top:1px solid #edf0f5;display:flex;align-items:center;gap:12px}.telegram-editor-delete span{font-size:12px;line-height:1.6;color:#7a879b}.telegram-editor .telegram-feedback{font-size:14px;padding:10px 12px;border-radius:7px;background:#f5f7fd}.telegram-editor .telegram-feedback.error{background:#fff3f1;color:#a14439}@media(max-width:600px){.telegram-editor-overlay{padding:10px}.telegram-editor{max-height:calc(100dvh - 20px);border-radius:12px}.telegram-editor>header,.telegram-editor-body{padding:17px}.telegram-group-choices{grid-template-columns:1fr;max-height:210px}.telegram-channel-footer{align-items:flex-start}.telegram-editor-delete{align-items:flex-start;flex-direction:column}.telegram-editor-section .telegram-token-form{align-items:stretch}.telegram-editor-section .telegram-token-form>label{min-width:100%}}
.has-telegram-editor{overflow:hidden}
.turn-settings{margin-top:16px}.turn-settings>.panel-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap}.turn-settings>.panel-heading p{font-size:13px;line-height:1.55;color:#687b95;margin:5px 0 0}.turn-settings-body{padding:18px 20px}.turn-status-summary{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:16px}.turn-status-summary p{font-size:13px;color:#60728c;margin:0;line-height:1.6}.turn-budget-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:0}.turn-budget-grid>div{padding:14px 16px;background:#f7f9fd;border:1px solid #e7ecf5;border-radius:9px;min-width:0}.turn-budget-grid dt{font-size:13px;color:#657894;line-height:1.5}.turn-budget-grid dd{font-size:25px;line-height:1.45;font-weight:700;margin:5px 0;color:#263e60;font-variant-numeric:tabular-nums}.turn-budget-grid small{font-size:12px;line-height:1.6;color:#73829a;display:block}.turn-budget-note{font-size:13px;line-height:1.7;margin:15px 0 10px;color:#7c673b}.turn-status-footer{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;color:#7b8ba2;font-size:12px;line-height:1.6}.turn-status-feedback{font-size:13px;color:#a14e43;margin:12px 0 0;line-height:1.6}.rtc-route-summary{display:inline-block;padding:3px 7px;border:1px solid #e1e7f2;background:#f7f9fd;border-radius:5px;color:#536a8c;font-size:12px;line-height:1.5;white-space:normal}.rtc-route-summary.is-relay{background:#fff8ea;border-color:#f0dfb6;color:#90662b}.rtc-route-summary.is-direct{background:#eff9f2;border-color:#d4eadd;color:#2e7851}@media(max-width:800px){.turn-budget-grid{grid-template-columns:1fr}.turn-budget-grid>div{padding:12px 14px}.turn-budget-grid dd{font-size:22px}.turn-settings-body{padding:16px}}

.turn-configure-form{display:grid;grid-template-columns:minmax(220px,1fr) auto;gap:10px 12px;align-items:end;margin-top:16px;padding-top:16px;border-top:1px solid var(--line)}.turn-configure-form>label{display:flex;flex-direction:column;gap:7px;font-size:13px;font-weight:650;color:#415473}.turn-configure-form input{width:100%;font-size:14px;min-height:41px}.turn-configure-form>p{grid-column:1/-1;font-size:12px;line-height:1.8;color:#60728c}.turn-configured-note{font-size:12px;line-height:1.8;color:#60728c;margin-top:12px}.turn-configure-form>.button{min-height:41px}@media(max-width:800px){.turn-configure-form{grid-template-columns:minmax(0,1fr)}.turn-configure-form>.button{justify-self:start}}

/* TURN_MONITOR_UI_START */
.route-monitor-panel{margin:0 0 16px;overflow:hidden}.route-monitor-panel[hidden]{display:none!important}.route-monitor-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:16px 18px;border-bottom:1px solid #e5ebf4}.route-monitor-heading h2{margin:0;font-size:17px;color:#203b60}.route-monitor-heading p{margin:5px 0 0;font-size:13px;line-height:1.6;color:#667b97}.route-monitor-totals{display:flex;align-items:center;gap:10px 22px;flex-wrap:wrap;padding:13px 18px;background:#f6f8fd;color:#657792;font-size:13px;border-bottom:1px solid #e5ebf4}.route-monitor-totals b{font-size:17px;margin-left:5px;font-variant-numeric:tabular-nums}.route-monitor-totals>.is-direct{color:#287552}.route-monitor-totals>.is-relay{color:#946426}.route-monitor-table-wrap{max-height:460px;overflow:auto;scrollbar-gutter:stable}.route-monitor-table{width:100%;border-collapse:collapse;table-layout:fixed}.route-monitor-table th{position:sticky;top:0;z-index:1;text-align:left;padding:12px 18px;font-size:13px;background:#fbfcff;color:#5e7290;border-bottom:1px solid #e4eaf4}.route-monitor-table th:first-child{width:23%}.route-monitor-table th:last-child{width:27%}.route-monitor-table td{padding:14px 18px;vertical-align:top;border-bottom:1px solid #e9eef6;color:#3a5374;font-size:14px;overflow-wrap:anywhere}.route-monitor-table tr:last-child td{border-bottom:0}.route-monitor-employee>strong{display:block;font-size:15px;color:#243f63}.route-monitor-employee>small{display:block;margin-top:5px;color:#6d809b;font-size:12px;line-height:1.6}.route-monitor-connections{display:flex;flex-direction:column;gap:10px}.route-monitor-connection{display:grid;grid-template-columns:minmax(60px,110px) minmax(0,1fr);align-items:center;gap:4px 10px}.route-monitor-connection>strong{font-size:13px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.route-monitor-connection>small{grid-column:2;font-size:12px;color:#72829a;line-height:1.5}.route-connection-pill{justify-self:start;border-radius:5px;border:1px solid #e2e8f1;padding:3px 7px;font-size:12px;line-height:1.5;background:#f2f5fa;color:#657891}.route-connection-pill.is-direct{background:#edf8f1;border-color:#cce8d7;color:#2e7853}.route-connection-pill.is-relay{background:#fff6e7;border-color:#efdcb8;color:#966929}.route-monitor-usage>strong,.route-monitor-usage>span,.route-monitor-usage>small{display:block}.route-monitor-usage>strong{color:#283f62;font-size:17px;font-variant-numeric:tabular-nums}.route-monitor-usage>span{margin-top:4px;font-size:13px}.route-monitor-usage>small{color:#7a89a0;margin-top:5px;font-size:12px;line-height:1.5}.route-monitor-usage>.is-unknown{font-size:14px;color:#7b8aa0}.route-monitor-notes{padding:13px 18px;background:#fafbfe;border-top:1px solid #e5ebf4;color:#72819a;font-size:12px;line-height:1.7}.route-monitor-notes p{margin:0 0 5px;color:#7e6b45}.route-monitor-preview{font-size:13px;color:#8290a5}.route-monitor-empty{padding:24px 18px;display:flex;flex-direction:column;gap:7px;color:#73839a;font-size:13px}.route-monitor-empty strong{font-size:14px;color:#4c6384}.route-card{padding:8px 12px;display:flex;align-items:flex-start;gap:7px;border-top:1px solid #e7edf5;background:#fbfcff;min-height:36px;min-width:0}.route-card-preview{flex:none;font-size:11px;padding:2px 5px;background:#edf1f8;border-radius:4px;line-height:1.5;color:#7b8aa1;white-space:nowrap}.route-card-empty{font-size:12px;line-height:1.75;color:#8290a6}.route-card-people{display:flex;gap:5px;flex-wrap:wrap;min-width:0}.route-card-person{display:inline-flex;align-items:center;gap:4px;min-width:0;max-width:100%;padding:2px 5px;border-radius:5px;background:#f0f3f8;color:#6c7e96;font-size:11px;line-height:1.6}.route-card-person i{flex:none;width:5px;height:5px;border-radius:50%;background:#9cacc0}.route-card-person b{max-width:78px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:650}.route-card-person>span{white-space:nowrap}.route-card-person.is-direct{background:#edf8f1;color:#377957}.route-card-person.is-direct i{background:#46a578}.route-card-person.is-relay{background:#fff5e5;color:#9b702f}.route-card-person.is-relay i{background:#d5a142}.route-card-more{font-size:11px;line-height:1.8;color:#7788a0}
@media(max-width:800px){.route-monitor-heading{padding:14px}.route-monitor-totals{padding:12px 14px;gap:8px 14px}.route-monitor-table{min-width:650px}.route-monitor-table th,.route-monitor-table td{padding:12px 14px}.route-monitor-notes{padding:12px 14px}.route-monitor-connection{grid-template-columns:minmax(60px,90px) minmax(0,1fr)}}
/* TURN_MONITOR_UI_END */

/* Desktop-only native controls supplement, never replace, existing web controls. */
.desktop-native-controls{position:fixed;right:20px;top:78px;z-index:92;width:min(620px,calc(100vw - 40px));padding:8px 12px;background:#fff;border:1px solid #dbe2f4;border-radius:12px;box-shadow:0 10px 36px #13274d24;}
.desktop-native-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:7px 0;}
.desktop-native-row+ .desktop-native-row{border-top:1px solid #edf0f7;}
.desktop-native-row strong,.desktop-native-row span{display:block;}.desktop-native-row span{margin-top:3px;color:#526582;font-size:12px;}
.desktop-native-actions{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end;}.desktop-native-actions .button{padding:6px 9px;font-size:12px;min-height:30px;}
