:root{--bg: #f3f5f9;--surface: #fff;--surface-2: #f7f8fc;--border: #e3e7f0;--text: #1a2133;--text-2: #5a6479;--text-3: #8a93a6;--brand: #4457e8;--brand-600: #3647d1;--brand-50: #eef0ff;--ok: #12a06c;--ok-bg: #e3f6ee;--warn: #c98200;--warn-bg: #fff3d6;--bad: #d5384b;--bad-bg: #fde8eb;--info: #2a7de1;--info-bg: #e5f0fd;--shadow: 0 1px 2px rgba(20,30,60,.05), 0 6px 20px rgba(20,30,60,.06);font-family:Segoe UI Variable Text,Segoe UI,system-ui,-apple-system,Roboto,sans-serif;font-size:16px;color:var(--text)}@media(prefers-color-scheme:dark){:root{--bg: #0f1424;--surface: #171e33;--surface-2: #1c2440;--border: #28314d;--text: #eaeefb;--text-2: #a2adca;--text-3: #7a86a6;--brand-50: #1f2750;--ok-bg: #11332a;--warn-bg: #3a2c0c;--bad-bg: #3b1820;--info-bg: #14284a;--shadow: none}}*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}html,body,#root{min-height:100%;margin:0}body{background:var(--bg)}button,input,select,textarea{font:inherit;color:inherit}h1,h2,h3{margin:0;letter-spacing:-.01em}a{color:var(--brand);text-decoration:none}.shell{max-width:1040px;margin:0 auto;min-height:100vh;display:grid;grid-template-columns:220px 1fr;gap:28px;padding:24px 20px}.side{position:sticky;top:24px;align-self:start;display:flex;flex-direction:column;gap:4px}.brand{display:flex;gap:10px;align-items:center;padding:6px 10px 18px;font-weight:700}.brand i{width:34px;height:34px;border-radius:10px;background:linear-gradient(135deg,#5b6cff,#25c2a0);display:grid;place-items:center;color:#fff;font-style:normal}.nav{display:flex;gap:12px;align-items:center;padding:11px 12px;border-radius:12px;color:var(--text-2);cursor:pointer;font-weight:550;border:0;background:none;text-align:left;position:relative}.nav:hover{background:var(--surface)}.nav.on{background:var(--brand-50);color:var(--brand)}.nav .dot{margin-left:auto;background:var(--bad);color:#fff;border-radius:10px;font-size:12px;min-width:20px;height:20px;display:grid;place-items:center;padding:0 6px;font-weight:700}.main{min-width:0;display:flex;flex-direction:column;gap:16px;padding-bottom:20px}.head{display:flex;align-items:center;gap:12px}.head h1{font-size:24px;flex:1}.card{background:var(--surface);border:1px solid var(--border);border-radius:18px;box-shadow:var(--shadow);padding:18px 20px}.card h3{font-size:15px;color:var(--text-2);font-weight:600;margin-bottom:10px}.hero{background:linear-gradient(135deg,#4457e8,#6f55e0 60%,#25b8a0);color:#fff;border:0;position:relative;overflow:hidden}.hero .big{font-size:36px;font-weight:750;letter-spacing:-.02em;margin:4px 0}.hero .sub{opacity:.85}.hero:after{content:"";position:absolute;right:-40px;top:-40px;width:180px;height:180px;border-radius:50%;background:#ffffff1f}.hero .btn{background:#fff;color:var(--brand);border-color:#fff}.grid2{display:grid;grid-template-columns:1fr 1fr;gap:16px}.row{display:flex;gap:12px;align-items:center}.row.sp{justify-content:space-between}.stack{display:flex;flex-direction:column;gap:12px}.muted{color:var(--text-2)}.faint{color:var(--text-3)}.small{font-size:13.5px}.mono{font-variant-numeric:tabular-nums}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid var(--border);background:var(--surface);padding:12px 18px;border-radius:12px;cursor:pointer;font-weight:600;min-height:46px}.btn.primary{background:var(--brand);color:#fff;border-color:var(--brand)}.btn.primary:hover{background:var(--brand-600)}.btn:disabled{opacity:.55;cursor:default}.btn.block{width:100%}.input{width:100%;border:1px solid var(--border);background:var(--surface);border-radius:12px;padding:12px 14px;min-height:48px;outline:none}.input:focus{border-color:var(--brand);box-shadow:0 0 0 3px #4457e82e}textarea.input{min-height:110px;resize:vertical}.field{display:flex;flex-direction:column;gap:6px}.field label{font-size:13.5px;font-weight:600;color:var(--text-2)}.badge{display:inline-flex;padding:3px 10px;border-radius:20px;font-size:13px;font-weight:600;white-space:nowrap}.badge.ok{background:var(--ok-bg);color:var(--ok)}.badge.warn{background:var(--warn-bg);color:var(--warn)}.badge.bad{background:var(--bad-bg);color:var(--bad)}.badge.info{background:var(--info-bg);color:var(--info)}.badge.mute{background:var(--surface-2);color:var(--text-2)}.item{display:flex;gap:14px;align-items:center;padding:14px 0;border-bottom:1px solid var(--border)}.item:last-child{border-bottom:0;padding-bottom:0}.item:first-child{padding-top:0}.ico{width:42px;height:42px;border-radius:12px;display:grid;place-items:center;flex:none;background:var(--brand-50);color:var(--brand)}.callout{padding:12px 14px;border-radius:12px;background:var(--info-bg);color:var(--info);font-size:14.5px;display:flex;gap:10px}.callout svg{flex:none;margin-top:2px}.callout.bad{background:var(--bad-bg);color:var(--bad)}.callout.ok{background:var(--ok-bg);color:var(--ok)}.callout.warn{background:var(--warn-bg);color:var(--warn)}.pay{white-space:pre-line;background:var(--surface-2);border-radius:12px;padding:12px 14px;font-size:14.5px}.empty{text-align:center;padding:30px 10px;color:var(--text-2)}.auth{min-height:100vh;display:grid;place-items:center;padding:20px;background:linear-gradient(160deg,#121a2e,#27346b)}.auth .box{width:100%;max-width:400px;background:var(--surface);border-radius:24px;padding:28px;display:flex;flex-direction:column;gap:16px;box-shadow:0 20px 60px #0006}.seg{display:flex;background:var(--surface-2);border-radius:12px;padding:4px}.seg button{flex:1;border:0;background:none;padding:10px;border-radius:9px;font-weight:600;cursor:pointer;color:var(--text-2)}.seg button.on{background:var(--surface);color:var(--text);box-shadow:0 1px 4px #0000001f}.tabbar{display:none}@media(max-width:820px){.shell{display:block;padding:14px 14px 96px}.side{display:none}.grid2{grid-template-columns:1fr}.head h1{font-size:21px}.tabbar{display:flex;position:fixed;left:0;right:0;bottom:0;background:var(--surface);border-top:1px solid var(--border);padding:6px 4px calc(6px + env(safe-area-inset-bottom));z-index:10}.tabbar button{flex:1;border:0;background:none;display:flex;flex-direction:column;align-items:center;gap:3px;padding:6px 0;color:var(--text-3);font-size:11.5px;font-weight:600;position:relative}.tabbar button.on{color:var(--brand)}.tabbar .dot{position:absolute;top:2px;left:55%;background:var(--bad);color:#fff;border-radius:10px;font-size:11px;min-width:17px;height:17px;display:grid;place-items:center}.hero .big{font-size:32px}}.modal-bg{position:fixed;inset:0;background:#0a0e1980;z-index:40;display:grid;place-items:center;padding:16px}.modal{background:var(--surface);border-radius:16px;padding:20px;width:min(520px,100%);max-height:90vh;overflow:auto;display:flex;flex-direction:column;gap:12px}.modal h3{margin:0}
