:root{--bg:#f3f5f9;--card:#fff;--text:#172033;--muted:#64748b;--line:#e3e8f0;--brand:#1d6fe8;--brand-d:#1559bd;--navy:#0f2a4a;--navy-2:#163a63;--ok:#16a34a;--ok-bg:#e8f7ee;--warn:#d97706;--warn-bg:#fff4e0;--bad:#dc2626;--bad-bg:#fdecec;--info-bg:#e8f1fe;--radius:12px;--shadow:0 1px 2px #1018280f, 0 1px 3px #10182814;color:var(--text);background:var(--bg);font-family:Segoe UI,system-ui,-apple-system,Roboto,Arial,sans-serif;font-size:14px;line-height:1.45}*{box-sizing:border-box}body{margin:0}a{color:var(--brand);text-decoration:none}a:hover{text-decoration:underline}h1{margin:0 0 4px;font-size:22px}h2{margin:0 0 12px;font-size:16px}h3{margin:0 0 8px;font-size:14px}.muted{color:var(--muted)}.small{font-size:12px}.mono{font-family:Consolas,Cascadia Mono,monospace;font-size:12px}.nowrap{white-space:nowrap}.right{text-align:right}.row{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.row.between{justify-content:space-between}.stack{flex-direction:column;gap:16px;display:flex}.grid{gap:16px;display:grid}.g2{grid-template-columns:repeat(2,minmax(0,1fr))}.g3{grid-template-columns:repeat(3,minmax(0,1fr))}.g4{grid-template-columns:repeat(4,minmax(0,1fr))}.g6{grid-template-columns:repeat(6,minmax(0,1fr))}@media (width<=1100px){.g4,.g6{grid-template-columns:repeat(2,minmax(0,1fr))}.g3{grid-template-columns:1fr}}@media (width<=700px){.g2,.g4,.g6{grid-template-columns:1fr}}.shell{min-height:100vh;display:flex}.side{background:var(--navy);color:#cfe0f5;flex-direction:column;flex-shrink:0;width:232px;height:100vh;display:flex;position:sticky;top:0}.brand{color:#fff;align-items:center;gap:10px;padding:18px 18px 14px;font-size:17px;font-weight:700;display:flex}.brand img{width:28px}.brand small{color:#8fb0d6;font-size:11px;font-weight:400;display:block}.nav{flex:1;padding:6px 10px;overflow-y:auto}.nav .sec{text-transform:uppercase;letter-spacing:.06em;color:#7f9cc0;padding:14px 10px 6px;font-size:11px}.nav a{color:#cfe0f5;border-radius:8px;align-items:center;gap:10px;padding:8px 10px;text-decoration:none;display:flex}.nav a:hover{background:var(--navy-2)}.nav a.active{background:var(--brand);color:#fff}.nav .count{color:#1f1300;background:#f59e0b;border-radius:99px;margin-left:auto;padding:0 7px;font-size:11px;font-weight:700}.side .me{border-top:1px solid #23476f;padding:12px 16px;font-size:12px}.side .me b{color:#fff;display:block}.main{flex:1;min-width:0;padding:24px 28px 48px}.page-head{flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:16px;margin-bottom:18px;display:flex}.topbar{background:var(--navy);color:#fff;justify-content:space-between;align-items:center;padding:12px 24px;display:flex}.topbar .brand{padding:0}.container{max-width:1180px;margin:0 auto;padding:24px 20px 60px}.card{background:var(--card);border-radius:var(--radius);box-shadow:var(--shadow);min-width:0;padding:18px}.card.flush{padding:0;overflow:hidden}.card.flush>h2,.card.flush>.card-head{padding:16px 18px 0}.card-head{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px;display:flex}.card-head h2{margin:0}.stat{flex-direction:column;gap:4px;display:flex}.stat .label{color:var(--muted);text-transform:uppercase;letter-spacing:.04em;font-size:12px}.stat .value{font-size:28px;font-weight:700;line-height:1.1}.stat .hint{color:var(--muted);font-size:12px}.stat.ok .value{color:var(--ok)}.stat.warn .value{color:var(--warn)}.stat.bad .value{color:var(--bad)}a.stat-link{color:inherit;text-decoration:none;display:block}a.stat-link:hover .card{box-shadow:0 0 0 2px var(--brand)}.badge{white-space:nowrap;color:#334155;background:#eef2f7;border-radius:99px;align-items:center;gap:4px;padding:2px 9px;font-size:12px;font-weight:600;display:inline-flex}.badge.ok{background:var(--ok-bg);color:var(--ok)}.badge.warn{background:var(--warn-bg);color:#b45309}.badge.bad{background:var(--bad-bg);color:var(--bad)}.badge.info{background:var(--info-bg);color:var(--brand-d)}.dot{background:#94a3b8;border-radius:50%;width:8px;height:8px;display:inline-block}.dot.on{background:var(--ok);box-shadow:0 0 0 3px #16a34a2e}.table-wrap{overflow-x:auto}table{border-collapse:collapse;width:100%}th{text-align:left;color:var(--muted);border-bottom:1px solid var(--line);white-space:nowrap;background:#fafbfd;padding:10px 12px;font-size:12px;font-weight:600}td{border-bottom:1px solid var(--line);vertical-align:middle;padding:9px 12px}tr:last-child td{border-bottom:0}tr.click{cursor:pointer}tr.click:hover td{background:#f6f9ff}.empty{text-align:center;color:var(--muted);padding:28px}input,select,textarea{font:inherit;color:inherit;background:#fff;border:1px solid #cdd5e1;border-radius:8px;min-width:0;padding:8px 10px}input:focus,select:focus,textarea:focus{border-color:var(--brand);outline:2px solid #1d6fe859}textarea{resize:vertical;width:100%;min-height:80px}label.field{flex-direction:column;gap:5px;font-size:13px;font-weight:600;display:flex}label.field input,label.field select,label.field textarea{font-weight:400}label.check{cursor:pointer;align-items:center;gap:8px;display:inline-flex}.form{flex-direction:column;gap:14px;display:flex}.form .two{grid-template-columns:1fr 1fr;gap:12px;display:grid}.search{min-width:260px}button,.btn{font:inherit;cursor:pointer;background:var(--brand);color:#fff;white-space:nowrap;border:1px solid #0000;border-radius:8px;align-items:center;gap:6px;padding:8px 14px;font-weight:600;text-decoration:none;display:inline-flex}button:hover,.btn:hover{background:var(--brand-d);text-decoration:none}button:disabled{opacity:.55;cursor:default}button.ghost,.btn.ghost{color:var(--text);background:#fff;border-color:#cdd5e1}button.ghost:hover,.btn.ghost:hover{background:#f3f6fb}button.danger{background:var(--bad)}button.danger:hover{background:#b91c1c}button.link{color:var(--brand);background:0 0;border:0;padding:0;font-weight:600}button.link:hover{background:0 0;text-decoration:underline}button.sm,.btn.sm{padding:4px 10px;font-size:12px}.error{background:var(--bad-bg);color:var(--bad);border-radius:8px;padding:10px 12px}.notice{background:var(--info-bg);color:#1e3a8a;border-radius:8px;padding:10px 12px}.notice.warn{background:var(--warn-bg);color:#92400e}.tabs{border-bottom:1px solid var(--line);flex-wrap:wrap;gap:4px;margin-bottom:16px;display:flex}.tabs button{color:var(--muted);background:0 0;border-bottom:2px solid #0000;border-radius:0;padding:10px 14px}.tabs button.on{color:var(--brand);border-bottom-color:var(--brand)}.tabs button:hover{background:#eef3fb}.overlay{z-index:50;background:#0f172a73;justify-content:center;align-items:flex-start;padding:60px 16px;display:flex;position:fixed;inset:0;overflow-y:auto}.modal{background:#fff;border-radius:14px;width:100%;max-width:560px;box-shadow:0 20px 50px #00000040}.modal.wide{max-width:860px}.modal-head{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;padding:16px 20px;display:flex}.modal-head h2{margin:0}.modal-body{padding:20px}.modal-foot{border-top:1px solid var(--line);justify-content:flex-end;gap:8px;padding:14px 20px;display:flex}.x{color:var(--muted);background:0 0;padding:0 6px;font-size:20px}.x:hover{background:#f1f5f9}.toasts{z-index:80;flex-direction:column;gap:8px;display:flex;position:fixed;bottom:20px;right:20px}.toast{background:var(--navy);color:#fff;box-shadow:var(--shadow);border-radius:10px;max-width:380px;padding:10px 16px}.toast.bad{background:var(--bad)}.auth{background:linear-gradient(135deg,#0f2a4a 0%,#1d4f8a 100%);place-items:center;min-height:100vh;padding:24px;display:grid}.auth .card{width:100%;max-width:400px;padding:28px}.auth .brand{color:var(--navy);justify-content:center;padding:0 0 18px}.auth .brand small{color:var(--muted)}.qr{border:1px solid var(--line);border-radius:8px;margin:8px auto;display:block}.kv{grid-template-columns:150px 1fr;gap:6px 14px;display:grid}.kv dt{color:var(--muted)}.kv dd{overflow-wrap:anywhere;min-width:0;margin:0}.bar{background:#e8edf5;border-radius:99px;height:8px;overflow:hidden}.bar>i{background:var(--brand);border-radius:99px;height:100%;display:block}.bar.bad>i{background:var(--bad)}.bar.warn>i{background:var(--warn)}.bar.ok>i{background:var(--ok)}.score{font-size:40px;font-weight:800}.list-clean{margin:0;padding:0;list-style:none}.list-clean li{border-bottom:1px solid var(--line);padding:8px 0}.list-clean li:last-child{border-bottom:0}.hero{color:#fff;border-radius:var(--radius);background:linear-gradient(120deg,#0f2a4a,#1d6fe8);padding:22px 24px}.hero h1{color:#fff}.hero .muted{color:#c7dcf7}.pill-group{background:#e9eef6;border-radius:9px;padding:3px;display:inline-flex}.pill-group button{color:var(--muted);background:0 0;border-radius:7px;padding:5px 12px}.pill-group button.on{color:var(--text);box-shadow:var(--shadow);background:#fff}.spin{border:2px solid #cbd5e1;border-top-color:var(--brand);border-radius:50%;width:18px;height:18px;animation:.8s linear infinite s;display:inline-block}@keyframes s{to{transform:rotate(360deg)}}.loading{place-items:center;padding:40px;display:grid}code.token{color:#e2e8f0;overflow-wrap:anywhere;background:#0f172a;border-radius:8px;padding:8px 10px;display:block}.notice.ok{background:var(--ok-bg);color:#166534}.row.end{justify-content:flex-end;width:100%}.row.wrap{flex-wrap:wrap}.ticket-grid{grid-template-columns:1fr 230px;grid-template-areas:"thread side""reply reply";gap:16px;display:grid}.ticket-thread{flex-direction:column;grid-area:thread;gap:10px;max-height:50vh;padding-right:4px;display:flex;overflow-y:auto}.ticket-side{flex-direction:column;grid-area:side;gap:10px;display:flex}.ticket-reply{border-top:1px solid var(--line);flex-direction:column;grid-area:reply;gap:8px;padding-top:12px;display:flex}.ticket-info{background:#f8fafc;border-radius:10px;flex-direction:column;gap:10px;padding:12px;font-size:13px;display:flex}.msg{border-radius:12px;max-width:82%;padding:9px 12px}.msg.left{background:#eef2f7;border-bottom-left-radius:4px;align-self:flex-start}.msg.right{background:var(--info-bg);border-bottom-right-radius:4px;align-self:flex-end}.msg.internal{background:var(--warn-bg);border:1px dashed #e0b355;align-self:stretch;max-width:100%}.msg-meta{flex-wrap:wrap;align-items:center;gap:6px;margin-bottom:3px;font-size:12px;display:flex}.msg-body{white-space:pre-wrap;overflow-wrap:anywhere}.stars{flex-direction:row-reverse;gap:2px;margin-top:8px;display:inline-flex}.stars .star{color:#cbd5e1;cursor:pointer;background:0 0;border:0;padding:0 2px;font-size:28px;line-height:1}.stars .star:hover,.stars .star:hover~.star,.stars .star:focus-visible,.stars .star:focus-visible~.star{color:#f59e0b}.stars .star:focus-visible{outline:2px solid var(--brand);border-radius:4px}.stars .star:disabled{cursor:default}@media (width<=760px){.ticket-grid{grid-template-columns:1fr;grid-template-areas:"side""thread""reply"}.msg{max-width:92%}}.lp{color:#e6eefb;background:radial-gradient(1200px 600px at 70% -10%,#1b4b86 0%,#0b1f38 55%,#081627 100%);min-height:100vh}.lp a{color:#8fc0ff}.lp-nav{justify-content:space-between;align-items:center;max-width:1180px;margin:0 auto;padding:18px clamp(16px,5vw,64px);display:flex}.lp-nav .brand{color:#fff}.lp-hero{grid-template-columns:1.1fr .9fr;align-items:center;gap:40px;max-width:1180px;margin:0 auto;padding:clamp(32px,8vw,90px) clamp(16px,5vw,64px) 40px;display:grid}.lp-hero h1{color:#fff;letter-spacing:-.02em;margin:0 0 18px;font-size:clamp(30px,5vw,50px);line-height:1.08}.lp-hero p.lead{color:#b9cde8;max-width:540px;margin:0 0 28px;font-size:clamp(16px,2.3vw,20px)}.lp-cta{flex-wrap:wrap;gap:14px;display:flex}.lp .btn-xl{border-radius:10px;padding:14px 26px;font-size:16px}.lp .btn-ghost{color:#fff;background:#ffffff14;border:1px solid #ffffff40}.lp .btn-ghost:hover{background:#ffffff29}.lp-shot{background:#ffffff0d;border:1px solid #ffffff1f;border-radius:18px;padding:18px;box-shadow:0 30px 60px #0006}.lp-shot .row{justify-content:space-between}.lp-chip{background:#ffffff14;border-radius:10px;padding:14px}.lp-chip .big{color:#fff;font-size:26px;font-weight:800}.lp-features{grid-template-columns:repeat(3,1fr);gap:20px;max-width:1180px;margin:0 auto;padding:20px clamp(16px,5vw,64px) 60px;display:grid}.lp-feature{background:#ffffff0d;border:1px solid #ffffff1a;border-radius:14px;padding:22px}.lp-feature .ic{font-size:26px}.lp-feature h3{color:#fff;margin:10px 0 6px;font-size:17px}.lp-feature p{color:#a9c0de;margin:0}.lp-steps{max-width:1180px;margin:0 auto;padding:0 clamp(16px,5vw,64px) 70px}.lp-steps h2{color:#fff;text-align:center;margin-bottom:28px;font-size:26px}.lp-steps .grid4{grid-template-columns:repeat(4,1fr);gap:18px;display:grid}.lp-step{text-align:center}.lp-step .n{background:var(--brand);color:#fff;border-radius:50%;place-items:center;width:40px;height:40px;margin:0 auto 12px;font-weight:800;display:grid}.lp-foot{text-align:center;color:#7f98bb;border-top:1px solid #ffffff1a;padding:24px clamp(16px,5vw,64px);font-size:13px}@media (width<=900px){.lp-hero{grid-template-columns:1fr}.lp-features,.lp-steps .grid4{grid-template-columns:1fr 1fr}}@media (width<=600px){.lp-features,.lp-steps .grid4{grid-template-columns:1fr}}@media (width<=860px){.shell{flex-direction:column}.side{flex-flow:wrap;align-items:center;width:100%;height:auto;position:static}.side .brand{padding:12px 16px}.nav{flex-wrap:wrap;gap:4px;padding:6px;display:flex}.nav .sec{display:none}.nav a{padding:6px 10px}.side .me{border-top:0;margin-left:auto}.main{padding:16px}}
