:root{--bg: #eef1ef;--surface: #ffffff;--surface-2: #f6f8f7;--ink: #182019;--ink-2: #566059;--ink-3: #8b948f;--rule: #dfe5e1;--rule-strong: #c4ccc7;--accent: #1f6f54;--accent-ink: #ffffff;--accent-2: #2b8a69;--accent-wash: #e2f2ea;--red: #b3261e;--red-wash: #fbe9e7;--amber: #8a5a00;--amber-wash: #fdf3dc;--blue: #2a5db0;--blue-wash: #e6eef9;--side: #112a1f;--side-2: #173828;--side-ink: #d9e6df;--side-ink-2: #8fa89b;--side-on: #ffffff;--side-rule: rgb(255 255 255 / .08);--shadow: 0 1px 2px rgb(16 24 20 / .05), 0 6px 20px -8px rgb(16 24 20 / .12);--shadow-lg: 0 10px 40px -10px rgb(16 24 20 / .35);--radius: 8px;--radius-lg: 14px;--side-w: 236px;color-scheme:light;font:14px/1.5 Segoe UI,system-ui,-apple-system,Roboto,Helvetica Neue,sans-serif;-webkit-font-smoothing:antialiased}@media (prefers-color-scheme: dark){:root:not([data-theme=light]){--bg: #0f1412;--surface: #171d1a;--surface-2: #1d2420;--ink: #e7ece9;--ink-2: #a6b1ab;--ink-3: #74807a;--rule: #262e2a;--rule-strong: #38423c;--accent: #4fc28f;--accent-ink: #0b1f17;--accent-2: #6ad3a4;--accent-wash: #16302a;--red: #f08b84;--red-wash: #3a1f1d;--amber: #e7b65a;--amber-wash: #3a2f17;--blue: #8db3f0;--blue-wash: #1a2740;--side: #0b100e;--side-2: #141b17;--side-ink: #c9d5ce;--side-ink-2: #7d8a83;--side-on: #ffffff;--side-rule: rgb(255 255 255 / .07);--shadow: 0 1px 2px rgb(0 0 0 / .4), 0 6px 20px -8px rgb(0 0 0 / .5);--shadow-lg: 0 10px 40px -10px rgb(0 0 0 / .8);color-scheme:dark}}:root[data-theme=dark]{--bg: #0f1412;--surface: #171d1a;--surface-2: #1d2420;--ink: #e7ece9;--ink-2: #a6b1ab;--ink-3: #74807a;--rule: #262e2a;--rule-strong: #38423c;--accent: #4fc28f;--accent-ink: #0b1f17;--accent-2: #6ad3a4;--accent-wash: #16302a;--red: #f08b84;--red-wash: #3a1f1d;--amber: #e7b65a;--amber-wash: #3a2f17;--blue: #8db3f0;--blue-wash: #1a2740;--side: #0b100e;--side-2: #141b17;--side-ink: #c9d5ce;--side-ink-2: #7d8a83;--side-on: #ffffff;--side-rule: rgb(255 255 255 / .07);--shadow: 0 1px 2px rgb(0 0 0 / .4), 0 6px 20px -8px rgb(0 0 0 / .5);--shadow-lg: 0 10px 40px -10px rgb(0 0 0 / .8);color-scheme:dark}*{box-sizing:border-box}html,body{height:100%}body{margin:0;background:var(--bg);color:var(--ink)}h1{font-size:20px;font-weight:650;letter-spacing:-.2px;margin:0}h2{font-size:15px;font-weight:650;margin:0 0 12px;display:flex;align-items:center;gap:8px}p{margin:0 0 10px}a{color:var(--accent)}button,input,select,textarea{font:inherit;color:inherit}button{height:34px;padding:0 14px;border:1px solid var(--rule-strong);border-radius:var(--radius);background:var(--surface);cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:6px;transition:background .12s,border-color .12s,box-shadow .12s}button:hover:not(:disabled){border-color:var(--accent);background:var(--surface-2)}button:disabled{opacity:.55;cursor:default}button.primary{background:var(--accent);border-color:var(--accent);color:var(--accent-ink);font-weight:600}button.primary:hover:not(:disabled){background:var(--accent-2);border-color:var(--accent-2)}button.link{height:auto;padding:0;border:0;background:none;color:var(--accent);text-decoration:underline;text-underline-offset:3px;text-decoration-color:transparent;border-radius:2px}button.link:hover:not(:disabled){text-decoration-color:currentColor;background:none}button.danger{color:var(--red)}.icon-btn{width:36px;height:36px;padding:0;border:0;background:none;color:inherit;border-radius:var(--radius)}.icon-btn:hover{background:var(--surface-2)}input,select,textarea{height:34px;padding:0 10px;border:1px solid var(--rule-strong);border-radius:var(--radius);background:var(--surface);min-width:0;transition:border-color .12s,box-shadow .12s}input:focus,select:focus,textarea:focus{border-color:var(--accent);box-shadow:0 0 0 3px color-mix(in srgb,var(--accent) 22%,transparent);outline:0}input[type=file]{padding:5px 10px}input[type=checkbox]{height:16px;width:16px;accent-color:var(--accent);margin:0}textarea{height:auto;padding:8px 10px}:focus-visible{outline:2px solid var(--accent);outline-offset:1px}.ico{flex:none;vertical-align:-3px}.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}.mono,code{font-family:ui-monospace,Cascadia Mono,SFMono-Regular,Menlo,Consolas,monospace;font-size:12.5px}code{background:var(--surface-2);padding:1px 5px;border-radius:4px}.muted{color:var(--ink-2)}.small{font-size:12px}.wrap{white-space:normal;word-break:break-word}.err{color:var(--red)}.ok-msg{color:var(--accent)}.hint{color:var(--ink-2);font-size:13px;margin:10px 0 0}.dim{opacity:.55}.row{display:flex;gap:8px;align-items:center;flex-wrap:wrap}p.err,p.ok-msg{display:flex;gap:8px;align-items:flex-start;padding:10px 12px;border-radius:var(--radius);margin:0 0 12px;border:1px solid}p.err{background:var(--red-wash);border-color:color-mix(in srgb,var(--red) 30%,transparent)}p.ok-msg{background:var(--accent-wash);border-color:color-mix(in srgb,var(--accent) 30%,transparent)}p.err:before,p.ok-msg:before{content:"";flex:none;width:8px;height:8px;border-radius:50%;background:currentColor;margin-top:7px}.shell{display:grid;grid-template-columns:var(--side-w) 1fr;min-height:100vh}.side{background:var(--side);color:var(--side-ink);display:flex;flex-direction:column;position:sticky;top:0;height:100vh}.side-head{display:flex;align-items:center;gap:10px;padding:18px 16px 14px}.logo{display:inline-grid;place-items:center;width:34px;height:34px;border-radius:10px;background:linear-gradient(135deg,var(--accent-2),var(--accent));color:#fff;flex:none;box-shadow:0 4px 12px -4px #1f6f5499}.logo.big{width:44px;height:44px;border-radius:13px}.brand{font-size:18px;font-weight:700;letter-spacing:-.3px;color:var(--side-on);display:flex;align-items:baseline}.brand .mark{color:var(--accent-2)}.brand small{margin-left:7px;font-size:11px;font-weight:600;letter-spacing:.6px;text-transform:uppercase;color:var(--side-ink-2)}.side nav{display:flex;flex-direction:column;gap:2px;padding:6px 10px;flex:1}.side nav button{height:40px;justify-content:flex-start;gap:10px;padding:0 12px;border:0;border-radius:9px;background:none;color:var(--side-ink);font-weight:500;text-align:left}.side nav button .ico{color:var(--side-ink-2)}.side nav button:hover{background:var(--side-2);color:var(--side-on)}.side nav button.on{background:var(--side-2);color:var(--side-on);box-shadow:inset 3px 0 0 var(--accent-2)}.side nav button.on .ico{color:var(--accent-2)}.side-foot{padding:12px 10px 14px;border-top:1px solid var(--side-rule);display:flex;flex-direction:column;gap:10px}.side-user{display:flex;align-items:center;gap:10px;padding:6px;min-width:0}.side-user .avatar{width:32px;height:32px;border-radius:50%;background:var(--side-2);color:var(--side-on);display:grid;place-items:center;font-weight:700;font-size:13px;flex:none}.side-user .txt{flex:1;min-width:0;line-height:1.3}.side-user .txt b{display:block;color:var(--side-on);font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.side-user .txt span{display:block;color:var(--side-ink-2);font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.side-user .who{flex:1;display:flex;align-items:center;gap:10px;min-width:0;height:auto;padding:4px;border:0;background:none;text-align:left;color:inherit;border-radius:var(--radius)}.side-user .who:hover:not(:disabled){background:var(--side-2);border-color:transparent}.side-user .icon-btn{color:var(--side-ink-2)}.side-user .icon-btn:hover{background:var(--side-2);color:var(--side-on)}.theme-seg{display:inline-flex;padding:3px;gap:2px;border-radius:9px;background:var(--side-2);align-self:stretch}.theme-seg button{flex:1;min-width:34px;height:28px;padding:0;border:0;border-radius:7px;background:none;color:var(--side-ink-2)}.theme-seg button:hover{color:var(--side-on);background:none}.theme-seg button.on{background:var(--side);color:var(--side-on);box-shadow:0 1px 2px #0000004d}.auth .theme-seg{background:var(--surface-2);align-self:auto;border:1px solid var(--rule)}.auth .theme-seg button{color:var(--ink-3)}.auth .theme-seg button:hover{color:var(--ink)}.auth .theme-seg button.on{background:var(--surface);color:var(--accent);box-shadow:var(--shadow)}.content{min-width:0;display:flex;flex-direction:column}.topbar{display:flex;align-items:center;gap:10px;height:58px;padding:0 24px;position:sticky;top:0;z-index:2;background:color-mix(in srgb,var(--bg) 82%,transparent);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-bottom:1px solid var(--rule)}.topbar-right{margin-left:auto;display:flex;gap:8px;align-items:center}main{max-width:1280px;width:100%;margin:0 auto;padding:22px 24px 48px}.backdrop{display:none}.only-mobile{display:none!important}.panel,.card{background:var(--surface);border:1px solid var(--rule);border-radius:var(--radius-lg);padding:18px 20px;margin-bottom:16px;box-shadow:var(--shadow)}.form{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:12px 16px;align-items:end}.form label{display:flex;flex-direction:column;gap:5px;font-size:12.5px;color:var(--ink-2);font-weight:500}.form label.wide{grid-column:span 2}.form .full,.form label.full,details.full{grid-column:1 / -1}.form label.check{flex-direction:row;align-items:center;gap:8px;color:var(--ink);height:34px;font-weight:400}.form label.check input{height:auto}details{border:1px dashed var(--rule-strong);border-radius:var(--radius);padding:10px 12px}details[open]{border-style:solid}details summary{cursor:pointer;color:var(--ink-2);font-weight:500}details[open] summary{margin-bottom:12px}.kv{display:grid;grid-template-columns:max-content 1fr;gap:6px 16px;margin:0 0 14px;font-size:13px}.kv dt{color:var(--ink-2)}.kv dd{margin:0}.seg{display:inline-flex;gap:2px;padding:3px;border-radius:10px;background:var(--surface);border:1px solid var(--rule);margin-bottom:14px;max-width:100%;overflow-x:auto;scrollbar-width:none}.seg button{height:32px;border:0;border-radius:8px;background:none;color:var(--ink-2);white-space:nowrap}.seg button:hover{background:var(--surface-2);color:var(--ink)}.seg button.on{background:var(--accent-wash);color:var(--accent);font-weight:600}.toolbar{margin-bottom:12px}.toolbar select{min-width:160px}.tbl{overflow-x:auto;background:var(--surface);border:1px solid var(--rule);border-radius:var(--radius-lg);box-shadow:var(--shadow);margin-bottom:16px}table{width:100%;border-collapse:separate;border-spacing:0}th,td{text-align:left;padding:10px 12px;border-bottom:1px solid var(--rule);vertical-align:top;white-space:nowrap}th{font-size:11.5px;font-weight:600;letter-spacing:.4px;text-transform:uppercase;color:var(--ink-2);background:var(--surface-2);position:sticky;top:0;z-index:1}.tbl th:first-child{border-top-left-radius:var(--radius-lg)}.tbl th:last-child{border-top-right-radius:var(--radius-lg)}tbody tr{transition:background .1s}tbody tr:hover>td{background:var(--surface-2)}tr:last-child td{border-bottom:0}td.r,th.r{text-align:right}td.empty{text-align:center;color:var(--ink-3);padding:28px}td .acts{display:inline-flex;gap:10px}td.wrapcell{white-space:normal;min-width:220px;max-width:380px}.card table{margin-bottom:4px}.card th{background:var(--surface-2)}.st+.muted{margin-left:6px}.st{display:inline-flex;align-items:center;gap:6px;padding:2px 9px 2px 7px;border-radius:999px;font-size:12px;font-weight:500;background:var(--amber-wash);color:var(--amber);white-space:nowrap}.st:before{content:"";width:6px;height:6px;border-radius:50%;background:currentColor}.st.ok{background:var(--accent-wash);color:var(--accent)}.st.bad{background:var(--red-wash);color:var(--red)}.notice{display:block;border-left:3px solid var(--amber);background:var(--amber-wash);padding:10px 14px;border-radius:0 var(--radius) var(--radius) 0;margin:0 0 14px}.notice.bad{border-color:var(--red);background:var(--red-wash)}.checks{margin:14px 0 0;padding:0;list-style:none;display:flex;flex-direction:column;gap:6px}.checks li{display:flex;gap:10px;align-items:flex-start;padding:8px 12px;border-radius:var(--radius);background:var(--surface-2)}.checks li b{flex:none;font-weight:600}.checks li.ok b{color:var(--accent)}.checks li.bad b{color:var(--red)}.tiles{display:grid;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:12px;margin-bottom:18px}.tile{height:auto;text-align:left;padding:16px 16px 14px;display:grid;grid-template-columns:1fr auto;gap:2px 10px;align-items:start;color:var(--ink-2);border-radius:var(--radius-lg);background:var(--surface);border:1px solid var(--rule);box-shadow:var(--shadow)}.tile:hover:not(:disabled){transform:translateY(-1px);box-shadow:var(--shadow-lg);border-color:var(--rule-strong);background:var(--surface)}.tile .n{grid-column:1;font-size:28px;font-weight:700;letter-spacing:-.5px;color:var(--ink);line-height:1.1}.tile .l{grid-column:1;font-size:12.5px;line-height:1.35}.tile .tile-ico{grid-column:2;grid-row:1 / span 2;width:36px;height:36px;border-radius:10px;display:grid;place-items:center;background:var(--accent-wash);color:var(--accent)}.tile.bad .n{color:var(--red)}.tile.bad .tile-ico{background:var(--red-wash);color:var(--red)}.tile.warn .tile-ico{background:var(--amber-wash);color:var(--amber)}.tile.info .tile-ico{background:var(--blue-wash);color:var(--blue)}.status-line{display:flex;align-items:center;gap:10px;padding:12px 16px;border-radius:var(--radius-lg);background:var(--accent-wash);color:var(--accent);margin-bottom:16px;font-weight:500}.status-line .ico{flex:none}.status-line.bad{background:var(--red-wash);color:var(--red)}.status-line.warn{background:var(--amber-wash);color:var(--amber)}.status-line .link{color:inherit;margin-left:auto;font-weight:600}.auth{min-height:100vh;display:grid;grid-template-columns:minmax(0,5fr) minmax(0,6fr)}.auth-hero{background:radial-gradient(120% 90% at 0% 0%,var(--side-2) 0%,var(--side) 60%);color:var(--side-ink);padding:48px 56px;display:flex;flex-direction:column;justify-content:center;gap:28px;position:relative;overflow:hidden}.auth-hero:after{content:"";position:absolute;right:-120px;bottom:-160px;width:420px;height:420px;border-radius:50%;background:radial-gradient(closest-side,color-mix(in srgb,var(--accent-2) 30%,transparent),transparent)}.auth-brand{display:flex;align-items:center;gap:12px}.auth-brand .brand{font-size:24px}.auth-hero h2{font-size:28px;line-height:1.2;font-weight:700;letter-spacing:-.5px;color:var(--side-on);margin:0;max-width:22ch;display:block}.auth-points{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px;font-size:15px}.auth-points li{display:flex;gap:10px;align-items:center}.auth-points .ico{color:var(--accent-2)}.auth-foot{color:var(--side-ink-2);font-size:12.5px;letter-spacing:.3px;margin:0}.auth-pane{display:grid;grid-template-rows:auto 1fr;padding:16px 24px 40px}.auth-top{display:flex;justify-content:flex-end}.auth-card{align-self:center;justify-self:center;width:min(400px,100%);display:flex;flex-direction:column;gap:14px;background:var(--surface);border:1px solid var(--rule);border-radius:var(--radius-lg);padding:28px;box-shadow:var(--shadow-lg)}.auth-card h1{font-size:24px}.auth-card .muted{margin:-8px 0 4px}.auth-card label{display:flex;flex-direction:column;gap:5px;font-size:12.5px;color:var(--ink-2);font-weight:500}.auth-card input{height:40px}.auth-card button.primary{height:40px;margin-top:4px}.auth-card p.err{margin:0}.auth-fields{display:flex;flex-direction:column;gap:14px}.modal{position:fixed;top:0;right:0;bottom:0;left:0;background:#080e0b8c;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);display:grid;place-items:start center;padding:40px 16px;overflow-y:auto;z-index:30}.modal .card{width:min(420px,100%);box-shadow:var(--shadow-lg);margin:0}.modal .card h2{font-size:17px}.modal .card.wide-card{width:min(860px,100%)}.modal .card>label{display:flex;flex-direction:column;gap:5px;font-size:12.5px;color:var(--ink-2);margin-bottom:12px;font-weight:500}.modal h2+.form{margin-top:4px}.sub{margin-top:22px;padding-top:16px;border-top:1px solid var(--rule)}.modal .card.profile-card{width:min(640px,100%);padding:0;overflow:hidden}.profile-head{display:flex;align-items:center;gap:14px;padding:18px 20px 14px;background:var(--surface-2);border-bottom:1px solid var(--rule)}.profile-head .avatar-lg{width:52px;height:52px;border-radius:50%;background:var(--accent);color:var(--accent-ink);display:grid;place-items:center;font-weight:700;font-size:19px;flex:none}.profile-head .txt{flex:1;min-width:0}.profile-head .txt b{display:block;font-size:16px;font-weight:650;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.profile-head .txt span{display:block;color:var(--ink-2);font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.profile-head .txt .st{display:inline-flex;margin-top:6px}.profile-body{padding:14px 20px 20px}.profile-body .seg{display:flex;margin-bottom:18px}.profile-body .seg button{flex:1;gap:6px}.profile-body h3{font-size:14px;font-weight:650;margin:0 0 4px}.profile-body .lead{color:var(--ink-2);margin:0 0 14px;font-size:13px}.profile-body .form{grid-template-columns:1fr 1fr}.qr-box{display:flex;gap:18px;align-items:flex-start;flex-wrap:wrap;margin-bottom:14px}.qr{background:#fff;padding:8px;border-radius:var(--radius);border:1px solid var(--rule);line-height:0}.qr svg{width:168px;height:168px;display:block}.qr-side{flex:1;min-width:200px}.qr-side code{display:inline-block;padding:6px 8px;background:var(--surface-2);border-radius:var(--radius);word-break:break-all;margin:6px 0 8px;-webkit-user-select:all;user-select:all}.steps{margin:0 0 12px;padding-left:20px;color:var(--ink-2);font-size:13px}.steps li{margin:2px 0}.act-list{margin:0;padding:0;list-style:none;border:1px solid var(--rule);border-radius:var(--radius);overflow:hidden}.act-list li{display:grid;grid-template-columns:136px 1fr auto;gap:10px;padding:8px 12px;border-bottom:1px solid var(--rule);font-size:13px;align-items:baseline}.act-list li:last-child{border-bottom:0}.act-list li.bad .what{color:var(--red)}.act-list .when{color:var(--ink-2);font-variant-numeric:tabular-nums}.act-list .what{font-weight:500}.act-list .what small{font-weight:400;color:var(--ink-2);margin-left:6px}.act-list .ip{color:var(--ink-3);font-size:12px}.act-list li.empty{grid-template-columns:1fr;text-align:center;color:var(--ink-3);padding:20px}@media (max-width: 900px){.shell{grid-template-columns:1fr}.side{position:fixed;inset:0 auto 0 0;width:min(300px,86vw);z-index:20;transform:translate(-102%);transition:transform .22s ease;box-shadow:var(--shadow-lg)}.nav-open .side{transform:none}.backdrop{display:block;position:fixed;top:0;right:0;bottom:0;left:0;background:#00000073;z-index:15;opacity:0;pointer-events:none;transition:opacity .2s}.nav-open .backdrop{opacity:1;pointer-events:auto}.only-mobile{display:inline-flex!important}.side-head .only-mobile{margin-left:auto;color:var(--side-ink-2)}.topbar{padding:0 12px;height:54px}main{padding:16px 12px 40px}.panel,.card{padding:14px}.tiles{grid-template-columns:repeat(2,1fr);gap:10px}.tile{padding:12px 12px 10px}.tile .n{font-size:24px}.form label.wide{grid-column:1 / -1}.tbl th:first-child,.tbl td:first-child{position:sticky;left:0;background:var(--surface);z-index:1;box-shadow:1px 0 0 var(--rule)}.tbl th:first-child{z-index:2;background:var(--surface-2)}.auth{grid-template-columns:1fr}.auth-hero{display:none}.auth-pane{padding:12px 16px 32px}.auth-card{padding:22px 18px}.modal{padding:12px 8px}.modal .card.profile-card .profile-body .form{grid-template-columns:1fr}.profile-body .seg button span{display:none}.act-list li{grid-template-columns:1fr;gap:2px}}@media (prefers-reduced-motion: reduce){*{transition:none!important}}
