:root{font-family:'DM Sans',sans-serif;color:#29333d;background:#f6f8fa;font-size:16px;font-synthesis:none;--cyan:#36b2e2;--ink:#29333d;--muted:#61717d;--line:#e3e9ed}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,a,input,select{outline-offset:4px}button{cursor:pointer;border:0;border-radius:8px;padding:11px 16px;font-weight:600;background:#29333d;color:#fff;min-height:44px;transition:background .15s}button:hover{background:#414e5a}button:disabled{opacity:.45;cursor:not-allowed}button.secondary{background:#fff;color:var(--ink);border:1px solid #ced8df}button.secondary:hover{background:#edf3f7}button.cyan{background:#36b2e2;color:#102b3a}button.cyan:hover{background:#63c3e8}button.danger{color:#a22e32;background:#fff0f0}input,select{width:100%;border:1px solid #cbd5dd;border-radius:8px;background:#fff;color:var(--ink);padding:12px;min-height:46px}select{appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' fill='none' stroke='%2329333D'%3E%3Cpath d='m5 7 4 4 4-4'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center;padding-right:36px}label{font-size:.875rem;font-weight:600;display:block;margin:16px 0 7px}h1,h2,h3,p{margin:0}h1{font-size:2rem;letter-spacing:-1px;font-weight:700}h2{font-size:1.15rem;letter-spacing:-.3px}h3{font-size:1rem}.muted{color:var(--muted)}.small{font-size:.875rem}.brand{font-size:1.8rem;letter-spacing:-1.1px;white-space:nowrap}.brand b{font-weight:800}.brand span{color:var(--cyan);font-weight:400;margin-left:6px}.shell{display:grid;grid-template-columns:236px 1fr;min-height:100vh}.sidebar{background:white;border-right:1px solid var(--line);padding:32px 22px;display:flex;flex-direction:column;position:fixed;width:236px;height:100vh;gap:32px}.sidebar .brand{font-size:1.65rem}.side-caption{font-size:.75rem;letter-spacing:1.6px;font-weight:700;color:#76848d;margin:8px 12px 14px}.nav{display:grid;gap:7px}.nav button{text-align:left;background:transparent;color:#60707d;font-size:.9rem;display:flex;align-items:center;gap:12px}.nav button svg{width:20px;height:20px}.nav button.active{color:#116485;background:#eaf7fc}.sidebar-footer{margin-top:auto;border-top:1px solid var(--line);padding-top:20px}.avatar{display:grid;place-items:center;width:36px;height:36px;flex-shrink:0;background:#eaf3f8;border-radius:50%;font-weight:700;color:#29617a}.account{display:flex;gap:10px;align-items:center}.account .name{max-width:140px;overflow:hidden;text-overflow:ellipsis}.role{text-transform:capitalize;color:var(--muted);font-size:.8rem}.sidebar-footer button{margin-top:12px;font-size:.8rem;padding:7px;min-height:32px;background:transparent;color:var(--muted)}main{grid-column:2;min-width:0}.topbar{height:80px;background:#fff;border-bottom:1px solid var(--line);padding:0 40px;display:flex;align-items:center;justify-content:space-between;gap:20px}.topbar-title{font-size:.875rem;color:var(--muted)}.topbar-title strong{color:var(--ink);font-weight:500}.connection{display:flex;align-items:center;gap:7px;color:#44715f;font-size:.8rem}.dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:#2f9c70;flex-shrink:0}.dot.offline{background:#8996a0}.content{max-width:1500px;margin:0 auto;padding:38px 40px 24px}.heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:28px}.heading p{color:var(--muted);font-size:.93rem;margin-top:8px}.actions{display:flex;gap:10px;flex-wrap:wrap}.sitebar{display:flex;gap:14px;align-items:center;justify-content:space-between;background:#fff;border:1px solid var(--line);border-radius:12px;padding:16px 20px;margin-bottom:24px}.site-select{display:flex;align-items:center;gap:15px}.site-select svg{color:#5f879b}.site-select label{margin:0;font-size:.75rem;color:var(--muted);font-weight:500}.site-select select{font-size:1rem;border:0;padding:3px 30px 3px 0;min-height:28px;font-weight:700;max-width:330px}.site-meta{color:var(--muted);font-size:.8rem}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-bottom:32px}.stat{background:#fff;border:1px solid var(--line);border-radius:12px;padding:20px 22px;display:flex;justify-content:space-between;align-items:center}.stat-label{color:var(--muted);font-size:.875rem;margin-bottom:9px}.stat-number{font-size:1.9rem;font-weight:700;line-height:1}.stat-icon{height:44px;width:44px;display:grid;place-items:center;background:#edf7fc;color:#3684a4;border-radius:12px}.stat-icon svg{height:22px;width:22px}.section-head{display:flex;align-items:center;justify-content:space-between;margin:0 0 16px}.section-head .muted{font-size:.8rem}.box-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;align-items:start}.box{background:#fff;border:1px solid var(--line);border-radius:12px;overflow:hidden}.box-header{padding:22px 22px 18px;display:flex;gap:12px;align-items:flex-start}.box-symbol{background:#f0f4f6;border:1px solid #e5ebee;border-radius:10px;height:42px;width:42px;display:grid;place-items:center;flex-shrink:0}.box-symbol svg{height:22px;width:22px}.box-title{flex:1;min-width:0}.box-title h3{font-size:1.05rem;margin-bottom:5px;overflow-wrap:anywhere}.box-title p{font-size:.78rem;color:var(--muted)}.status{display:inline-flex;gap:6px;align-items:center;color:#26784f;background:#eaf7f0;font-size:.75rem;font-weight:600;padding:5px 9px;border-radius:20px}.status.offline{background:#f0f3f5;color:#61717d}.box-channels{border-top:1px solid var(--line)}.channel{padding:16px 22px;border-bottom:1px solid #edf1f4}.channel:last-child{border-bottom:0}.channel-top{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:11px}.channel-name{font-size:.9rem;font-weight:600}.channel-meta{font-size:.75rem;color:var(--muted);white-space:nowrap}.channel button.control{width:100%;display:flex;justify-content:center;align-items:center;gap:9px;font-size:.875rem;min-height:44px}.control svg{height:16px;width:16px;color:#8fd6f1}.maintained-actions{display:flex;gap:8px}.maintained-actions button{flex:1}.channel .result{font-size:.75rem;margin-top:8px;line-height:1.5;color:#536d7b;display:flex;gap:5px;align-items:center;flex-wrap:wrap}.result.unknown{color:#936210}.box-footer{padding:12px 22px;background:#fbfcfd;border-top:1px solid var(--line);display:flex;justify-content:space-between;gap:12px;color:var(--muted);font-size:.75rem}.box-footer button{padding:0;min-height:20px;background:none;color:#326c89;font-size:.75rem}.notice{display:flex;align-items:flex-start;gap:12px;border:1px solid #d6e7f0;border-radius:10px;padding:15px 18px;background:#eff7fb;color:#456577;font-size:.8rem;line-height:1.6;margin:24px 0}.notice svg{height:18px;width:18px;margin-top:3px;flex-shrink:0}.notice strong{color:#2e5265;font-weight:600}.activity{background:#fff;border:1px solid var(--line);border-radius:12px;overflow:auto}.activity table{border-collapse:collapse;width:100%;text-align:left;white-space:nowrap;font-size:.85rem}.activity th{font-weight:500;color:var(--muted);padding:13px 20px;background:#fbfcfd;border-bottom:1px solid var(--line);font-size:.75rem}.activity td{padding:15px 20px;border-bottom:1px solid #edf1f4}.activity tr:last-child td{border-bottom:0}.result-badge{font-size:.75rem;font-weight:600;color:#27734f;background:#eaf6ef;padding:5px 9px;border-radius:5px}.result-badge.pending{color:#936210;background:#fff6e6}.footer{display:flex;justify-content:space-between;color:#7a8791;font-size:.75rem;padding:25px 0 4px}.empty{padding:48px 25px;text-align:center;border:1px dashed #cbd8e0;border-radius:12px;background:white}.empty h2{margin-bottom:10px}.empty p{color:var(--muted);margin-bottom:20px;line-height:1.6}.login{min-height:100vh;display:grid;place-items:center;padding:25px;background:radial-gradient(ellipse at 10% 5%,#e9f7fd,transparent 60%),#f5f8fa}.login-card{width:100%;max-width:420px;background:#fff;border:1px solid var(--line);border-radius:12px;padding:36px;box-shadow:0 16px 60px #29333d08}.login-card .brand{margin-bottom:36px}.login-card h1{font-size:1.6rem}.login-card p{line-height:1.6;font-size:.9rem;margin-top:10px}.login-card button{width:100%;margin-top:24px}.login-foot{text-align:center;font-size:.75rem;color:var(--muted);margin-top:24px}.error{color:#af333b;background:#fff1f2;border-radius:8px;padding:12px;font-size:.875rem;margin:14px 0}.login .error:empty{display:none}dialog{border:1px solid #dce5ea;border-radius:12px;padding:0;width:calc(100% - 32px);max-width:520px;max-height:90vh;color:var(--ink);box-shadow:0 24px 100px #10202d33}dialog::backdrop{background:#18232d66;backdrop-filter:blur(3px)}.modal-head{padding:24px 26px 0;display:flex;justify-content:space-between;align-items:center}.modal-head button{padding:0;min-height:32px;width:32px;background:#f1f4f6;color:#60717c;font-size:1.3rem}.modal-body{padding:8px 26px 26px}.modal-body p{font-size:.875rem;line-height:1.6;color:var(--muted);margin-top:12px}.modal-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:24px}.checks label{display:flex;gap:10px;align-items:center;font-weight:400}.checks input{width:18px;min-height:18px;height:18px}.policy{font-size:.8rem;color:#755922;background:#fff8e9;padding:12px;border-radius:8px;margin-top:12px;line-height:1.6}.settings-list{margin-top:16px}.settings-row{border-top:1px solid var(--line);padding:12px 0;display:flex;align-items:center;justify-content:space-between;gap:10px}.settings-row button{font-size:.8rem;min-height:35px;padding:6px 10px}code{font-size:.8rem;background:#edf2f5;border-radius:6px;padding:10px;display:block;overflow-wrap:anywhere;white-space:pre-wrap;margin-top:10px}.loading{padding:80px;text-align:center;color:var(--muted)}#toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);border-radius:10px;background:#29333d;color:#fff;padding:14px 20px;font-size:.875rem;box-shadow:0 6px 30px #0002;max-width:calc(100vw - 32px);z-index:10;display:none}#toast.show{display:block}.icon{width:20px;height:20px;vertical-align:middle}.user-card{background:#fff;border:1px solid var(--line);border-radius:12px;padding:22px;display:flex;align-items:center;gap:14px;margin-bottom:12px}.user-card .user-details{flex:1}.user-card p{margin-top:5px}.user-card button{font-size:.8rem}.inline-link{background:none;color:#126c90;padding:0;min-height:24px;font-size:.8rem}.sim-tag{color:#687b8a;font-size:.7rem;font-weight:500;margin-left:5px}.refresh{background:transparent;color:var(--muted);font-size:.8rem;min-height:30px;padding:0}.refresh svg{height:15px;width:15px;margin-right:6px}@media(min-width:1450px){.box-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:1050px){.shell{grid-template-columns:200px 1fr}.sidebar{width:200px;padding:28px 16px}.sidebar .brand{font-size:1.4rem}.content{padding:28px 24px}.topbar{padding:0 24px}.box-grid{grid-template-columns:1fr}.heading{align-items:flex-start}h1{font-size:1.75rem}.stats{gap:10px}.stat{padding:16px}.stat-icon{display:none}}@media(max-width:680px){.shell{display:block}.sidebar{position:static;height:auto;width:100%;padding:18px 20px 0;border-right:0;border-bottom:1px solid var(--line);gap:16px}.sidebar .brand{font-size:1.65rem}.side-caption,.sidebar-footer{display:none}.nav{display:flex;overflow:auto;gap:4px}.nav button{border-radius:8px 8px 0 0;padding:12px;font-size:.8rem;white-space:nowrap}.nav button svg{width:17px;height:17px}.topbar{height:52px;padding:0 20px}.connection{font-size:.7rem}.topbar-title{font-size:.75rem}.content{padding:26px 18px}.heading{margin-bottom:22px;flex-wrap:wrap}.heading p{font-size:.85rem}h1{font-size:1.7rem}.actions button{font-size:.8rem;padding:9px 12px}.sitebar{padding:14px}.site-meta{display:none}.site-select select{max-width:245px}.stats{gap:8px;margin-bottom:24px}.stat{padding:15px 12px}.stat-label{font-size:.7rem;white-space:nowrap}.stat-number{font-size:1.5rem}.box-header{padding:18px}.channel{padding:15px 18px}.box-footer{padding:12px 18px}.footer{flex-direction:column;gap:6px}.user-card{padding:16px;flex-wrap:wrap}.notice{padding:12px 14px}}
