
:root{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#1c2923;background:#f6f7f4;font-synthesis:none;--green:#25825c;--muted:#7b8580;--border:#e3e7e1}*{box-sizing:border-box}body{margin:0}button,input,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed}a{color:inherit;text-decoration:none}[hidden]{display:none!important}.shell{display:flex;min-height:100vh}.sidebar{width:248px;flex-shrink:0;background:#121c17;color:#fff;padding:34px 20px;position:fixed;inset:0 auto 0 0;display:flex;flex-direction:column}.brand{display:flex;align-items:center;gap:12px;font-size:24px;font-weight:720;letter-spacing:2px;margin:0 14px 56px}.brand-mark{display:inline-flex;align-items:center;justify-content:center;width:40px;height:44px;background:#d1edaa;color:#203522;border-radius:11px;font-size:26px;font-weight:850;letter-spacing:-2px;flex-shrink:0}.brand-sub{display:block;font-size:8px;color:#90a397;letter-spacing:2.2px;margin-top:5px}.nav-label{font-size:9px;letter-spacing:1.7px;color:#7e9588;padding:0 14px;margin-bottom:14px}.nav-item{border:0;background:none;color:#a6b4ab;width:100%;padding:13px 14px;border-radius:8px;text-align:left;display:flex;align-items:center;gap:10px;font-size:13px;margin:4px 0}.nav-item.selected{background:#293a2c;color:#dbf4c1}.grid-icon{font-size:23px;line-height:20px}.nav-count{margin-left:auto;font-size:11px;background:#3d503d;padding:3px 6px;border-radius:5px}.stations-label{margin-top:38px}.station-nav-name{flex:1}.station-nav-city{display:block;font-size:10px;color:#7c9284;margin-top:4px}.sidebar-bottom{margin-top:auto;border-top:1px solid #2a382e;padding:23px 8px 0;display:flex;align-items:flex-start;gap:10px;font-size:11px;color:#c7d1ca}.sidebar-bottom small{display:block;font-size:9px;color:#74877b;margin-top:6px;line-height:1.6}.connection-dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:#8cc376;flex-shrink:0;margin-top:4px}.workspace{margin-left:248px;flex:1;min-width:0}.topbar{height:77px;padding:0 44px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--border);font-size:11px;background:#fbfcf9}.breadcrumb{color:#7c8680}.breadcrumb span{margin:0 12px;color:#c0c7c1}.live-label{display:flex;align-items:center;gap:7px;color:#7a897f;font-size:10px}.content{padding:40px 44px 24px;max-width:1660px;margin:auto}.page-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:32px}.eyebrow{font-size:9px;letter-spacing:2px;color:#849185;font-weight:650}h1{font-size:38px;letter-spacing:-1.6px;font-weight:650;margin:12px 0 10px;line-height:1.1}.title-dot{color:#549560}.page-heading p{font-size:12px;color:var(--muted);margin:0}.secondary{background:#fff;border:1px solid #dce2da;border-radius:7px;color:#425149;padding:10px 14px;font-size:11px;display:inline-flex;gap:8px;align-items:center;justify-content:center}.secondary:hover{background:#f1f5ee;border-color:#b5c5b4}.stats{display:grid;grid-template-columns:repeat(4,1fr);border:1px solid var(--border);border-radius:12px;background:#fff;margin-bottom:27px}.stat{padding:21px 25px;border-right:1px solid var(--border)}.stat:last-child{border:0}.stat>span{font-size:11px;color:#6b7a70;display:flex;align-items:center;gap:9px}.stat strong{display:block;font-size:32px;letter-spacing:-1px;font-weight:550;margin:11px 0 5px}.stat strong em{font-size:16px;font-style:normal;color:#b0b8b1}.stat small{font-size:10px;color:#9aa39b}.dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:#b8c0b9;flex-shrink:0}.dot.green{background:#45a976}.dot.amber{background:#d2a147}.notice{border:1px solid #e7dfc8;background:#fbf8ee;padding:12px 15px;border-radius:8px;color:#8a794b;font-size:11px;line-height:1.6;margin-bottom:22px}.toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:27px}.tabs{display:flex;gap:3px;padding:4px;border-radius:8px;background:#eaece7}.tabs button{border:0;background:none;color:#849081;font-size:11px;padding:9px 12px;border-radius:5px;white-space:nowrap}.tabs button.active{background:#fff;color:#334c36;box-shadow:0 1px 3px #283c2110}.search{display:flex;align-items:center;border:1px solid var(--border);border-radius:8px;background:#fff;padding:0 12px;gap:8px}.search span{font-size:23px;color:#9baa9a}.search input{border:0;outline:none;background:none;width:238px;padding:11px 0;font-size:11px}.search input::placeholder{color:#a2aaa2}.group{margin-bottom:30px}.group-heading{display:flex;align-items:center;gap:10px;margin:0 0 14px}.group-heading h2{font-size:13px;font-weight:600;margin:0}.group-heading .location{font-size:10px;color:#8b988b}.group-heading .count{font-size:10px;color:#899888;margin-left:auto}.empty{padding:55px 20px;text-align:center;color:#82917f;font-size:13px}footer{display:flex;justify-content:space-between;border-top:1px solid var(--border);padding-top:20px;color:#a0aa9a;font-size:9px;letter-spacing:.4px}dialog{padding:0;border:0;border-radius:15px;box-shadow:0 25px 120px #0005;background:#fff;width:min(1050px,95vw);height:min(850px,94vh);overflow:hidden}dialog::backdrop{background:#081510b0;backdrop-filter:blur(5px)}.viewer-layout{display:grid;grid-template-columns:minmax(300px,1fr) 310px;height:100%}.viewer-display{display:flex;flex-direction:column;background:#151b19;color:#d1d8d4;min-height:0}.viewer-top{height:52px;display:flex;align-items:center;justify-content:space-between;padding:0 20px;flex-shrink:0}.viewer-station{font-size:10px;color:#84948a}.icon-button{border:0;background:transparent;color:#9fafA4;font-size:17px;padding:6px}.screen-stage{position:relative;min-height:0;flex:1;display:flex;align-items:center;justify-content:center;overflow:hidden;padding:0 20px}.screen-stage:fullscreen{background:#131917;padding:12px}#screen{display:block;max-width:100%;max-height:100%;object-fit:contain;touch-action:none;outline:none;border-radius:3px;width:auto;height:auto}#screen:focus-visible{box-shadow:0 0 0 2px #8ab26d}.stream-state{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:24px;background:#151b19;color:#9bacA1;text-align:center;gap:14px;font-size:12px}.spinner{border:2px solid #344138;border-top-color:#b3d695;border-radius:50%;width:26px;height:26px;animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.android-nav{height:54px;display:flex;align-items:center;justify-content:center;gap:52px;flex-shrink:0}.android-nav button{background:none;border:none;color:#bac8bf;font-size:23px;padding:8px 16px}.viewer-controls{padding:30px 25px;overflow-y:auto}.viewer-controls h2{font-size:23px;letter-spacing:-.6px;margin:12px 0 6px}.muted{font-size:11px;color:#8c998f}.viewer-status{display:flex;align-items:center;gap:7px;font-size:10px;color:#629775;margin-top:20px}.control-divider{height:1px;background:var(--border);margin:23px 0}.viewer-controls h3{font-size:12px;font-weight:650;margin:0 0 8px}.hint{font-size:11px;line-height:1.6;color:#8b978d}.utility-buttons{display:flex;gap:7px;margin-top:15px}.keypad{display:grid;grid-template-columns:repeat(3,1fr);gap:5px;margin:14px 0}.keypad button{padding:8px;border:1px solid var(--border);border-radius:5px;background:#fafbf8;font-size:12px;color:#546651}.keypad button:hover{background:#e7efdf}#text-form label{display:block;font-size:10px;color:#7c897f;margin:16px 0 7px}textarea{resize:vertical;width:100%;border:1px solid var(--border);border-radius:6px;padding:10px;font-size:11px;outline-color:#97ba81}#text-form button{width:100%;margin:7px 0}.small{display:block;font-size:9px}.viewer-foot{font-size:9px;color:#95a28f;display:flex;align-items:center;gap:6px;margin-top:22px}#stream-size{margin-left:auto}#input-error,#login-error{font-size:11px;line-height:1.5;color:#b56c4e}.login{min-height:100vh;display:grid;place-items:center;background:#121c17}.login form{width:min(360px,90vw);color:#fff}.login h1{font-size:32px;line-height:1.2;margin-top:30px}.login p{color:#8ea394;font-size:12px;margin:20px 0 30px}.login label{font-size:11px;color:#a6b9ab}.login input{display:block;width:100%;margin:8px 0 15px;background:#233229;border:1px solid #425446;border-radius:7px;padding:12px;color:#fff}.primary{background:#d1edaa;color:#294229;border:0;border-radius:7px;padding:12px;width:100%}.login #login-error{color:#e19c7b}
@media(min-width:1600px){.cards{grid-template-columns:repeat(auto-fill,minmax(220px,1fr))}}@media(max-width:1150px){.sidebar{width:210px}.workspace{margin-left:210px}.content{padding:30px 25px}.topbar{padding:0 25px}.search input{width:180px}.stat{padding:18px}.toolbar{flex-wrap:wrap}}@media(max-width:760px){.sidebar{position:static;width:100%;padding:15px 18px;display:block}.brand{margin:0;font-size:18px;gap:9px}.brand-mark{width:31px;height:34px;font-size:22px}.brand-sub{font-size:7px}.sidebar .nav-label,.sidebar .nav-item,.sidebar-bottom{display:none}.shell{display:block}.workspace{margin:0}.topbar{height:48px;padding:0 18px}.live-label{font-size:8px}.content{padding:26px 18px}.eyebrow{font-size:8px}h1{font-size:30px}.page-heading p{font-size:11px;line-height:1.5;max-width:240px}.page-heading{gap:10px}.page-heading .secondary{padding:8px}.page-heading .secondary span{display:none}.stats{grid-template-columns:repeat(2,1fr)}.stat{padding:15px 18px}.stat:nth-child(2){border-right:0}.stat:nth-child(-n+2){border-bottom:1px solid var(--border)}.stat strong{font-size:28px}.toolbar{gap:12px}.tabs{width:100%;justify-content:space-between}.tabs button{font-size:10px;flex:1}.search{width:100%}.search input{width:100%;font-size:11px}.cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.device{padding:13px}.device-top{margin-bottom:17px;gap:5px}.badge{font-size:8px;padding:4px}.device h3{font-size:14px}.device-meta{flex-wrap:wrap;gap:6px}.serial{font-size:8px}.group-heading .location{font-size:9px}.group-heading h2{font-size:12px}dialog{width:100vw;height:100dvh;max-width:none;max-height:none;border-radius:0}.viewer-layout{grid-template-columns:1fr;grid-template-rows:65dvh auto;overflow:auto}.viewer-controls{padding:20px;overflow:visible}.viewer-controls h2{font-size:20px}.control-divider{margin:16px 0}.viewer-display{min-height:0}.viewer-top{height:42px}.android-nav{height:42px}.keypad{grid-template-columns:repeat(6,1fr)}.viewer-foot{margin-top:12px}}

.mobile-sections{display:flex;justify-content:flex-end;gap:8px;background:#fbfcf9;border-bottom:1px solid var(--border);padding:8px 24px}.mobile-sections button{border:0;background:none;border-radius:6px;padding:9px 12px;font-size:11px;color:#617269}.mobile-sections button:not(#logout){display:none}.mobile-sections button.active{background:#e4efdb;color:#34512d}.whatsapp-heading{padding:30px 44px 12px}.whatsapp-heading h1{font-size:32px}.whatsapp-heading p{font-size:12px;line-height:1.6;color:var(--muted);max-width:660px}.whatsapp-workspace iframe{display:block;width:100%;height:calc(100dvh - 245px);min-height:600px;border:0;background:#f5f6f8}.whatsapp-workspace .topbar .secondary{font-size:10px}
@media(max-width:760px){.mobile-sections{justify-content:flex-start;padding:8px 18px;position:sticky;top:0;z-index:2}.mobile-sections button:not(#logout){display:block}.mobile-sections #logout{margin-left:auto}.whatsapp-heading{padding:24px 18px 8px}.whatsapp-heading h1{font-size:28px}.whatsapp-workspace iframe{min-height:800px}.whatsapp-workspace .breadcrumb{font-size:9px}.whatsapp-workspace .topbar{gap:8px}}
/* Shared TARO surface for WhatsApp and Simla. */
.wa-section-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin:30px 0 18px}.wa-section-heading h2{font-size:17px;letter-spacing:-.4px;margin:0 0 6px;font-weight:600}.wa-section-heading p{font-size:11px;color:var(--muted);margin:0;line-height:1.5}.wa-section-heading>.secondary{flex-shrink:0}.wa-accent{background:#e8f2de;border-color:#d3e3c7;color:#426635}.wa-accent:hover{background:#dcebcf}.wa-panel{background:#fff;border:1px solid var(--border);border-radius:10px;padding:22px;margin-bottom:20px}.wa-panel h3{font-size:15px;font-weight:600;margin:0 0 18px}.wa-form{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;align-items:start}.wa-form label{font-size:11px;color:#667569;display:flex;flex-direction:column;gap:8px;min-width:0}.wa-form input,.wa-form select{width:100%;min-width:0;border:1px solid var(--border);border-radius:7px;padding:11px;font:inherit;font-size:12px;color:#314835;background:#fcfdfa;outline-color:#9db98a}.wa-form small{font-size:9px;color:#919d91}.wa-form button{justify-self:start;grid-column:1/-1}.wa-form+.hint{margin:16px 0 0;max-width:850px}.wa-message{font-size:11px;line-height:1.6;white-space:pre-wrap;color:#577651;margin:12px 0;overflow-wrap:anywhere}.wa-message:empty{display:none}.wa-message.error{color:#aa6049}.wa-number-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:16px}.wa-number-card,.wa-account-card{background:#fff;border:1px solid var(--border);border-radius:10px;padding:21px;min-width:0}.wa-card-top{display:flex;justify-content:space-between;gap:10px;align-items:center;margin-bottom:18px}.wa-symbol{display:flex;align-items:center;justify-content:center;border-radius:10px;background:#eff5e9;width:38px;height:38px;color:#629456;font-size:21px}.wa-status{font-size:10px;display:inline-flex;align-items:center;gap:6px;padding:6px 9px;background:#edf6ed;color:#50845b;border-radius:5px}.wa-status.waiting{background:#f9f3e4;color:#9a834c}.wa-status.error{background:#faf0eb;color:#ac7259}.wa-status.muted{background:#f1f3ef;color:#879582}.wa-number-card h3{font-size:21px;font-weight:550;letter-spacing:-.5px;margin:0 0 6px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.wa-number-name{font-size:11px;color:#879580;min-height:16px;overflow-wrap:anywhere}.wa-account-line{display:flex;gap:8px;align-items:center;border-top:1px solid #edf0e9;padding-top:15px;margin-top:17px;font-size:11px;color:#708369}.wa-account-line strong{color:#4f6347;font-weight:550;overflow-wrap:anywhere}.wa-status-hint{font-size:11px;color:#918772;line-height:1.5;margin:14px 0 0}.wa-code-panel{margin:18px 0 0;padding:15px 17px;border:1px dashed #b9cfa5;border-radius:8px;background:#f8fbf3}.wa-code-panel>span{font-size:9px;letter-spacing:1px;color:#819174;display:block}.wa-pairing-code{font-family:ui-monospace,SFMono-Regular,monospace;letter-spacing:3px;font-size:28px;color:#507044;font-weight:600;margin:9px 0}.wa-code-panel small{font-size:10px;color:#87947c}.wa-cooldown{font-size:10px;color:#a18d66;margin:15px 0;line-height:1.6}.wa-actions{display:flex;flex-wrap:wrap;gap:7px;margin-top:18px}.wa-actions .secondary{font-size:10px;padding:9px 12px}.wa-actions button:disabled,.wa-form button:disabled{opacity:.5}.wa-log-button{background:none;border:0;color:#899780;font-size:10px;padding:4px 0;margin-top:17px}.wa-log{white-space:pre-wrap;overflow-wrap:anywhere;overflow:auto;max-height:260px;background:#18221b;color:#b7c7ae;padding:13px;border-radius:7px;font:10px/1.6 ui-monospace,monospace;margin:10px 0 0}.wa-event{font-size:9px;color:#9ca795;margin-top:15px;line-height:1.5}.wa-guide{display:flex;align-items:flex-start;gap:17px;background:#eff3e9;border:1px solid #e1e7d8;border-radius:10px;padding:22px;margin:24px 0 38px}.wa-guide-icon{font-size:24px;color:#83a46b;flex-shrink:0}.wa-guide h3{font-size:12px;font-weight:600;margin:0 0 8px;color:#627651}.wa-guide p{font-size:11px;line-height:1.8;color:#8b9681;margin:0;max-width:690px}.wa-guide .secondary{flex-shrink:0;margin-left:auto}.wa-account-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(270px,1fr));gap:14px;margin-bottom:30px}.wa-account-top{display:flex;align-items:center;gap:12px;margin-bottom:17px}.wa-account-mark{width:36px;height:36px;border:1px solid #e2e8db;border-radius:9px;background:#f7f9f3;color:#94a17e;display:grid;place-items:center;font-weight:650}.wa-account-card h3{font-size:15px;margin:0 0 5px;font-weight:600;overflow-wrap:anywhere}.wa-account-card a{font-size:10px;color:#93a183;overflow-wrap:anywhere}.wa-account-key{font-size:10px;color:#9aa58f;display:flex;justify-content:space-between;gap:12px}.wa-account-key code{color:#6f8063;font-size:11px}.wa-account-card .wa-actions{padding-top:15px;border-top:1px solid #edf0e8}.wa-account-card .wa-actions .wa-delete{margin-left:auto;color:#a89c8b;background:transparent;border-color:transparent}.wa-number-grid>.empty,.wa-account-grid>.empty{grid-column:1/-1;background:#fff;border:1px dashed var(--border);border-radius:10px;margin:0}.wa-number-grid .wa-actions .wa-stop{color:#8d8271}
@media(max-width:1000px){.wa-form{grid-template-columns:1fr 1fr}.wa-guide{flex-wrap:wrap}.wa-guide>div{flex:1}.wa-guide .secondary{margin-left:40px}.wa-number-grid{grid-template-columns:1fr}}
@media(max-width:760px){.wa-section-heading{align-items:flex-start;gap:10px}.wa-section-heading h2{font-size:15px}.wa-section-heading>.secondary{font-size:10px;padding:9px}.wa-section-heading p{max-width:200px}.wa-form{grid-template-columns:1fr}.wa-form input,.wa-form select{font-size:16px}.wa-form button{width:100%;justify-self:stretch;min-height:42px}.wa-panel,.wa-number-card,.wa-account-card{padding:18px}.wa-number-grid,.wa-account-grid{grid-template-columns:minmax(0,1fr)}.wa-guide{padding:18px;gap:12px}.wa-guide .secondary{margin-left:36px}.wa-pairing-code{font-size:26px}.wa-actions .secondary{min-height:38px}.wa-number-card h3{font-size:22px}}
.unlock-controls>#unlock-phone{width:100%;margin-top:5px}.unlock-controls .hint{margin:8px 0}.unlock-controls #unlock-message:empty{display:none}

@media(max-width:760px){.wa-guide{display:grid;grid-template-columns:24px minmax(0,1fr)}.wa-guide .secondary{grid-column:2;margin-left:0;justify-self:start}}
.wa-number-name{display:flex;align-items:center;gap:4px}
.wa-account-card h3{display:flex;align-items:center;gap:4px}
.wa-account-title{min-width:0;flex:1}
.wa-edit{flex-shrink:0;border:1px solid transparent;background:none;color:#9aa792;font-size:13px;line-height:1;width:32px;height:32px;border-radius:7px;display:inline-grid;place-items:center;padding:0}
.wa-edit:hover,.wa-edit:focus-visible{background:#f1f5ee;border-color:#dce2da;color:#4f6347}
.wa-inline-edit{display:flex;flex-wrap:wrap;gap:6px;align-items:center;margin:2px 0 6px}
.wa-inline-edit input{flex:1 1 150px;min-width:0;border:1px solid #b5c5b4;border-radius:7px;padding:9px 10px;font-size:12px;color:#314835;background:#fcfdfa;outline-color:#9db98a}
.wa-inline-edit .secondary{font-size:10px;padding:9px 12px}
.wa-actions .wa-danger,.wa-cascade .wa-danger{color:#a4523b;border-color:#ecd3c8;background:#fff}
.wa-actions .wa-danger:hover:not(:disabled){background:#fbeee8;border-color:#dfb3a3}
.wa-number-grid .wa-actions .wa-danger{margin-left:auto}
.wa-cascade{background:#fdf6f2;border:1px solid #efd6ca;border-radius:10px;padding:18px 20px;margin:0 0 16px;font-size:12px;color:#7b4c3c;line-height:1.6}
.wa-cascade ul{margin:8px 0;padding-left:20px}
.wa-cascade li span{font-variant-numeric:tabular-nums;font-weight:550}
.wa-cascade p{font-size:11px;margin:0;color:#8f6a5c}
.wa-cascade:empty{display:none}
#wa-cascade:empty{display:none}
.wa-details{background:#fff;border:1px solid var(--border);border-radius:10px;margin-bottom:14px}
.wa-details>summary{cursor:pointer;list-style:none;display:flex;align-items:center;gap:10px;min-height:48px;padding:6px 20px;font-size:13px;font-weight:600;color:#3d5037}
.wa-details>summary::-webkit-details-marker{display:none}
.wa-details>summary::before{content:'▸';color:#9aa792;font-size:11px;transition:transform .15s}
.wa-details[open]>summary::before{transform:rotate(90deg)}
.wa-details>summary small{font-weight:400;font-size:10px;color:var(--muted)}
.wa-details-body{padding:0 20px 20px;border-top:1px solid #edf0e9}
.wa-deleted-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:12px;margin-top:16px}
.wa-deleted-grid>.empty{grid-column:1/-1;padding:24px}
.wa-deleted-card{border:1px solid var(--border);border-radius:9px;padding:16px;min-width:0;background:#fcfdfa}
.wa-deleted-head{display:flex;justify-content:space-between;align-items:flex-start;gap:10px}
.wa-deleted-card h3{font-size:16px;font-weight:550;margin:0 0 4px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.wa-deleted-card .wa-status{flex-shrink:0}
.wa-deleted-card dl{display:grid;grid-template-columns:auto minmax(0,1fr);gap:6px 12px;margin:14px 0 0;font-size:11px}
.wa-deleted-card dt{color:#96a28f}
.wa-deleted-card dd{margin:0;color:#4f6347;white-space:pre-wrap;overflow-wrap:anywhere}
.wa-deleted-card dd small{display:block;color:#9ca795;font-size:10px;white-space:normal}
.wa-deleted-card dd code{font-size:10px;word-break:break-all;color:#6f8063}
.wa-deleted-card .wa-bad{color:#aa6049}
.wa-deleted-accounts h4{font-size:12px;margin:18px 0 6px;color:#627651}
.wa-deleted-accounts ul{margin:0;padding-left:18px;font-size:11px;color:#708369;line-height:1.7}
.wa-deleted-accounts li span{color:#9aa58f}
.wa-events{list-style:none;margin:12px 0 0;padding:0;font-size:11px;color:#4f6347}
.wa-event-line{display:grid;grid-template-columns:92px minmax(0,1fr);gap:2px 12px;padding:9px 0;border-bottom:1px solid #f0f2ed}
.wa-event-line time{color:#9ca795;font-variant-numeric:tabular-nums}
.wa-event-line span{overflow-wrap:anywhere}
.wa-event-line details{grid-column:2;font-size:10px;color:#8b978d}
.wa-event-line summary{cursor:pointer;padding:4px 0}
.wa-event-line code{display:block;white-space:pre-wrap;word-break:break-all;background:#f6f8f3;border-radius:6px;padding:8px;margin-top:4px;font-size:10px}
.wa-events>.empty{padding:24px}
.wa-section-heading>#wa-export:disabled{opacity:.5}
@media(max-width:760px),(pointer:coarse){.wa-edit{width:44px;height:44px;font-size:15px}.wa-actions .secondary,.wa-inline-edit .secondary{min-height:44px}.wa-inline-edit input{min-height:44px;font-size:16px}.wa-section-heading>.secondary{min-height:44px}.wa-event-line summary{min-height:44px;display:flex;align-items:center}}
@media(max-width:760px){.wa-details>summary{padding:6px 16px}.wa-details-body{padding:0 16px 16px}.wa-deleted-grid{grid-template-columns:minmax(0,1fr)}.wa-event-line{grid-template-columns:minmax(0,1fr)}.wa-event-line details{grid-column:1}.wa-cascade{padding:16px}.wa-number-grid .wa-actions .wa-danger{margin-left:0}}

/* Compact phone workspace. WhatsApp content retains its own layout. */
.workspace{position:relative}
#phone-workspace .content{max-width:1376px;padding:24px 24px 20px}
#phone-workspace .page-heading{margin-bottom:20px;gap:16px}
#phone-workspace h1{font-size:28px;letter-spacing:-.8px;font-weight:650;line-height:1.2;margin:0 0 6px}
#phone-workspace .page-heading p{font-size:13px;line-height:1.5;color:#66756d;max-width:none}
#phone-workspace .secondary{font-size:12px;min-height:36px;padding:8px 12px;gap:7px}
#refresh svg{width:16px;height:16px;flex-shrink:0}
#phone-workspace .stats{border-radius:10px;margin-bottom:18px}
#phone-workspace .stat{display:flex;align-items:center;gap:12px;padding:16px 18px;min-width:0}
#phone-workspace .stat strong{font-size:26px;line-height:1;letter-spacing:-.6px;margin:0;white-space:nowrap;font-variant-numeric:tabular-nums}
#phone-workspace .stat strong em{font-size:15px;color:#7c8880;letter-spacing:0}
#phone-workspace .stat>span{font-size:12px;line-height:1.4;color:#637369;gap:6px}
#phone-workspace .toolbar{gap:12px;margin-bottom:22px}
#phone-workspace .tabs{padding:3px;background:#e9ede7;border:1px solid #dfe5dc}
#phone-workspace .tabs button{font-size:12px;padding:8px 12px;color:#63715f}
#phone-workspace .tabs button.active{color:#2c4935}
#phone-workspace .search{gap:8px;flex:0 1 340px;padding:0 12px}
#phone-workspace .search svg{width:16px;height:16px;color:#718171;flex-shrink:0}
#phone-workspace .search input{width:100%;min-width:0;font-size:12px;padding:10px 0;color:#283d30}
#phone-workspace .search input::placeholder{color:#7c887f}
#phone-workspace .search:focus-within{border-color:#629472;box-shadow:0 0 0 2px #35815b18}
#phone-workspace .group{margin-bottom:24px}
#phone-workspace .group-heading{gap:9px;margin:0 2px 10px;min-height:24px;flex-wrap:wrap}
#phone-workspace .group-heading h2{font-size:15px;font-weight:650}
#phone-workspace .group-heading .location{font-size:12px;color:#728073;padding-left:9px;border-left:1px solid #d6ded3}
#phone-workspace .group-heading .count{display:flex;align-items:center;gap:10px;color:#6a786b;font-size:12px;white-space:nowrap}
.group-online{color:#36734e;padding:3px 8px;border-radius:5px;background:#e8efe3}
#phone-workspace footer{font-size:11px;padding-top:16px;letter-spacing:0;color:#7b887b}
#phone-workspace .notice{font-size:12px;margin-bottom:18px}
@media(min-width:761px){
  .sidebar{width:216px;padding:24px 16px}
  .workspace{margin-left:216px}
  .brand{margin:0 10px 34px;font-size:23px}
  .nav-label{font-size:10px;letter-spacing:1.3px;padding:0 10px;margin-bottom:10px}
  .nav-item{padding:11px 10px;font-size:13px;gap:9px}
  .nav-count{font-size:12px}
  .stations-label{margin-top:28px}
  .station-nav-city{font-size:11px;margin-top:3px}
  .sidebar-bottom{padding:18px 4px 0;font-size:12px}
  .sidebar-bottom small{font-size:10px;margin-top:4px}
  .mobile-sections{position:absolute;top:8px;right:18px;padding:0;border:0;background:transparent;z-index:1}
  .mobile-sections button{font-size:12px;padding:8px 10px}
  .mobile-sections button:hover{background:#edf1e9}
  .topbar{height:50px;padding:0 110px 0 24px;gap:16px;font-size:12px}
  .live-label{font-size:11px}
}
@media(min-width:761px) and (max-width:1150px){
  .sidebar{width:200px}
  .workspace{margin-left:200px}
  #phone-workspace .content{padding:20px}
  #phone-workspace .stat{gap:8px;padding:14px 12px}
}
@media(max-width:760px){
  #phone-workspace .content{padding:20px 14px}
  #phone-workspace h1{font-size:25px}
  #phone-workspace .page-heading{margin-bottom:16px}
  #phone-workspace .page-heading p{font-size:12px}
  #phone-workspace .page-heading .secondary{min-width:40px;min-height:40px}
  #phone-workspace .page-heading .secondary span{display:inline}
  #phone-workspace .stats{margin-bottom:16px}
  #phone-workspace .stat{padding:14px 12px;gap:10px}
  #phone-workspace .stat strong{font-size:24px}
  #phone-workspace .stat>span{font-size:11px}
  #phone-workspace .toolbar{margin-bottom:20px;gap:10px}
  #phone-workspace .tabs button{padding:10px 8px}
  #phone-workspace .search{flex-basis:100%}
  #phone-workspace .search input{font-size:16px;padding:11px 0}
  #phone-workspace .group-heading .location{font-size:11px}
  #phone-workspace .group-heading .count{font-size:11px;gap:6px}
  #phone-workspace .group-heading h2{font-size:14px}
}
.device-table-wrap{border:1px solid #dfe5dc;border-radius:10px;background:#fff;overflow-x:auto;scrollbar-width:thin;scrollbar-color:#c2cdbb #f3f5f0}
.device-table{width:100%;min-width:980px;border-collapse:collapse;table-layout:fixed;text-align:left}
.device-table .col-model{width:100px}.device-table .col-serial{width:136px}.device-table .col-spacer{width:16px}.device-table .col-state{width:150px}.device-table .col-battery{width:72px}.device-table .col-open{width:64px}.device-table .col-rename{width:112px}.device-table .col-remove{width:64px}
.device-table th,.device-table td{padding:8px 10px;vertical-align:middle}.device-table th:first-child,.device-table td:first-child{padding-left:16px}.device-table .device-spacer{padding:0}
.device-table thead{font-size:12px;line-height:1.5;color:#5e6d63;background:#f5f7f2}.device-table thead th{padding-top:10px;padding-bottom:10px;white-space:nowrap;font-weight:550}
.device-row{height:50px}.device-row td{border-top:1px solid #e8ece5;font-size:13px}.device-row.online:hover{background:#f4f8f0}.device-name strong{display:block;font-size:14px;font-weight:600;line-height:1.45;overflow-wrap:anywhere}
.device-model{color:#596b5e;font-size:12px!important;overflow-wrap:anywhere;line-height:1.45}.device-table .device-serial{font-family:ui-monospace,SFMono-Regular,monospace;font-size:12px;letter-spacing:-.2px;color:#627365;white-space:nowrap}
.device-detail{display:block;color:#6b796e;font-size:11px;margin-top:2px;line-height:1.4;font-variant-numeric:tabular-nums}.row-status{display:flex;align-items:center;gap:7px;font-size:13px;line-height:1.5}
.device-row.offline{background:#f1f3ef;color:#657064}.device-row.offline:hover{background:#eceedf}.device-row.offline .device-detail,.device-row.offline .device-model,.device-row.offline .device-serial{color:#737e71}
.list-divider th{background:#e8ede4;border-top:1px solid #dde4d8;color:#53634e;font-size:11px;padding:7px 16px;font-weight:600}.list-divider span{margin-left:6px;font-weight:400;color:#71816a}
.device-table .device-battery{font-size:12px;white-space:nowrap;font-variant-numeric:tabular-nums}.device-table th.device-battery{font-size:12px}
.delete-device{display:inline-flex;align-items:center;justify-content:center;background:#fff;border:1px solid #d9b6ad;color:#9c4333;border-radius:6px;font-size:12px;padding:9px 12px}.delete-device:hover:not(:disabled){background:#fff1ec}
.device-actions .open-device,.device-actions .rename-device,.device-actions .delete-device{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;padding:6px;border:1px solid #d5dfce;border-radius:7px;background:#fff;color:#526c47;transition:background .12s,border-color .12s}
.device-actions .open-device{background:#eef5e8;border-color:#d6e3cc;color:#3a663b}.device-actions .open-device:hover:not(:disabled){background:#e1edd6;border-color:#adc59b}
.device-actions .open-device:disabled{background:transparent;color:#a4ada1;border-color:#dce2d8}
.device-actions .rename-device:hover{background:#edf3e6;border-color:#b9cbb0}
.device-actions .delete-device{background:#faf9f6;color:#9b675b;border-color:#ded7ce}.device-actions .delete-device:hover{background:#fff0e9;border-color:#d4ac9b;color:#a34030}
.action-unavailable{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;font-size:13px;color:#b4beb0;cursor:help}
.device-actions svg{width:17px;height:17px;flex-shrink:0;pointer-events:none}
@media(max-width:760px),(pointer:coarse){.device-row{height:58px}.device-actions .open-device,.device-actions .rename-device,.device-actions .delete-device,.action-unavailable{width:40px;height:40px}.device-actions svg{width:18px;height:18px}}

.delete-device-dialog,.rename-device-dialog{width:min(440px,calc(100% - 32px));height:fit-content;max-height:90vh;overflow:auto;border:1px solid var(--border);border-radius:12px;padding:24px;color:#273a2c;background:#fff}
.delete-device-dialog::backdrop,.rename-device-dialog::backdrop{background:#0f1d1a88}.delete-device-dialog h2,.rename-device-dialog h2{font-size:19px;margin:0 0 18px}.delete-device-dialog p,.rename-device-dialog p{font-size:12px;line-height:1.65}.delete-device-name{font-weight:650;overflow-wrap:anywhere}.delete-device-buttons{display:flex;justify-content:flex-end;gap:10px;margin-top:22px}
#delete-device-error,#rename-device-error{color:#a64032}.rename-device-dialog label{display:block;font-size:12px;margin:18px 0 7px}.rename-device-dialog input{width:100%;border:1px solid #bac9b3;border-radius:6px;padding:10px;color:inherit;background:#fff;font:inherit}.rename-device-dialog .device-serial{font-family:ui-monospace,SFMono-Regular,monospace;overflow-wrap:anywhere}
button:focus-visible,.device-table-wrap:focus-visible{outline:2px solid #35815b;outline-offset:3px}


.device-table .device-actions,.device-table .device-action-heading{text-align:center}
