:root{--ink:#0f172a;--ink-2:#334155;--muted:#64748b;--muted-2:#94a3b8;--line:#e2e8f0;--soft-line:#eef2f6;--surface:#fff;--surface-2:#f8fafc;--surface-3:#eef2f7;--page:#f4f7fb;--brand:#0b4d8b;--brand-2:#1267b3;--brand-3:#2b82d4;--brand-bg:#eef6ff;--brand-line:#cfe4fb;--brand-strong:#093f73;--green:#157347;--green-bg:#e9f7ef;--green-line:#bfe6cf;--gold:#9a5b00;--gold-bg:#fff7e6;--gold-line:#ffe2a8;--red:#c0392b;--red-bg:#fdeeec;--red-line:#f4cfca;--shadow-sm:0 1px 2px #0f172a0a, 0 1px 3px #0f172a0f;--shadow-md:0 4px 12px #0f172a0f, 0 2px 6px #0f172a0a;--shadow-lg:0 24px 48px -12px #0f172a1f, 0 8px 20px -8px #0f172a14;--shadow-focus:0 0 0 3px color-mix(in srgb, var(--brand) 20%, transparent);--r-sm:8px;--r-md:12px;--r-lg:16px;--r-xl:22px}*{box-sizing:border-box}html,body{background:radial-gradient(1100px 520px at 12% -10%, var(--brand-bg) 0%, transparent 58%), radial-gradient(900px 480px at 100% 0%, #fff 0%, transparent 55%), var(--page);min-height:100%;color:var(--ink);-webkit-font-smoothing:antialiased;text-rendering:optimizelegibility;background-attachment:fixed;margin:0;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}button,input,select,textarea{font:inherit;color:inherit}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled,a[aria-disabled=true]{cursor:not-allowed;opacity:.55}a{color:inherit;text-decoration:none}h1,h2,h3{letter-spacing:-.01em;margin:0}.eyebrow{letter-spacing:.1em;text-transform:uppercase;color:var(--muted);font-size:10.5px;font-weight:700}.shell{grid-template-columns:260px 1fr;min-height:100vh;display:grid}.sidebar{background:color-mix(in srgb, var(--surface) 82%, transparent);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-right:1px solid var(--line);flex-direction:column;align-self:start;gap:6px;height:100vh;padding:22px 16px;display:flex;position:sticky;top:0}.sidebar-brand{align-items:center;gap:10px;padding:4px 8px 18px;display:flex}.sidebar-brand img{object-fit:contain;width:auto;max-width:160px;max-height:34px}.sidebar-brand .fallback{background:var(--brand);color:#fff;border-radius:10px;justify-content:center;align-items:center;width:36px;height:36px;font-size:15px;font-weight:800;display:inline-flex}.nav{flex-direction:column;gap:2px;display:flex}.nav-link{border-radius:var(--r-sm);color:var(--ink-2);align-items:center;gap:11px;padding:10px 12px;font-size:14px;font-weight:550;transition:background .14s,color .14s;display:flex}.nav-link svg{width:17px;height:17px;color:var(--muted);transition:color .14s}.nav-link:hover{background:var(--surface-2);color:var(--ink)}.nav-link.active{background:var(--brand-bg);color:var(--brand-strong)}.nav-link.active svg{color:var(--brand)}.sidebar-footer{border-top:1px solid var(--soft-line);margin-top:auto;padding-top:16px}.account{align-items:center;gap:10px;padding:6px 4px;display:flex}.avatar{background:var(--brand);color:#fff;border-radius:50%;flex:none;justify-content:center;align-items:center;width:34px;height:34px;font-size:13px;font-weight:700;display:inline-flex}.account-copy{min-width:0;line-height:1.25}.account-copy strong{white-space:nowrap;text-overflow:ellipsis;font-size:13px;font-weight:650;display:block;overflow:hidden}.account-copy span{color:var(--muted);white-space:nowrap;text-overflow:ellipsis;font-size:11.5px;display:block;overflow:hidden}.logout{width:100%;margin-top:10px}.main{min-width:0;padding:26px clamp(18px,4vw,40px) 56px}.mobilebar{display:none}.page-head{flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:16px;margin-bottom:24px;display:flex}.page-head h1{font-size:clamp(22px,3vw,28px);font-weight:720}.page-head p{color:var(--muted);max-width:62ch;margin:6px 0 0;font-size:14px}.card{background:var(--surface);border:1px solid var(--line);border-radius:var(--r-lg);box-shadow:var(--shadow-sm)}.card-pad{padding:20px}.card-head{border-bottom:1px solid var(--soft-line);justify-content:space-between;align-items:center;gap:14px;padding:16px 20px;display:flex}.card-head h2{font-size:15px;font-weight:650}.card-head .sub{color:var(--muted);margin-top:2px;font-size:12.5px}.stats{grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:14px;margin-bottom:24px;display:grid}.stat{background:var(--surface);border:1px solid var(--line);border-radius:var(--r-lg);box-shadow:var(--shadow-sm);padding:18px 20px;position:relative;overflow:hidden}.stat-icon{background:var(--brand-bg);width:38px;height:38px;color:var(--brand);border-radius:11px;justify-content:center;align-items:center;margin-bottom:14px;display:inline-flex}.stat-icon svg{width:19px;height:19px}.stat-value{letter-spacing:-.02em;font-variant-numeric:tabular-nums;font-size:30px;font-weight:740;line-height:1}.stat-label{color:var(--muted);margin-top:7px;font-size:13px}.button{border-radius:var(--r-sm);white-space:nowrap;border:1px solid #0000;justify-content:center;align-items:center;gap:8px;padding:9px 16px;font-size:13.5px;font-weight:600;line-height:1;transition:background .14s,border-color .14s,box-shadow .14s,transform 60ms;display:inline-flex}.button svg{width:16px;height:16px}.button:active{transform:translateY(.5px)}.button.primary{background:var(--brand);color:#fff;box-shadow:0 1px 2px #0f172a1f}.button.primary:hover{background:var(--brand-strong)}.button.secondary{background:var(--surface);border-color:var(--line);color:var(--ink-2)}.button.secondary:hover{background:var(--surface-2);border-color:var(--muted-2)}.button.ghost{color:var(--ink-2);background:0 0}.button.ghost:hover{background:var(--surface-2)}.button.danger{background:var(--surface);border-color:var(--red-line);color:var(--red)}.button.danger:hover{background:var(--red-bg)}.button.sm{padding:7px 12px;font-size:12.5px}.button.block{width:100%}.badge{border:1px solid #0000;border-radius:999px;align-items:center;gap:5px;padding:3px 9px;font-size:11.5px;font-weight:650;display:inline-flex}.badge .dot{background:currentColor;border-radius:50%;width:6px;height:6px}.badge.ok{color:var(--green);background:var(--green-bg);border-color:var(--green-line)}.badge.off{color:var(--muted);background:var(--surface-3);border-color:var(--line)}.badge.brandy{color:var(--brand-strong);background:var(--brand-bg);border-color:var(--brand-line)}.table{border-collapse:collapse;width:100%}.table thead th{text-align:left;letter-spacing:.08em;text-transform:uppercase;color:var(--muted);border-bottom:1px solid var(--soft-line);background:var(--surface-2);padding:11px 20px;font-size:10.5px;font-weight:700}.table tbody td{border-bottom:1px solid var(--soft-line);vertical-align:middle;padding:14px 20px;font-size:14px}.table tbody tr:last-child td{border-bottom:none}.table tbody tr{transition:background .12s}.table.rows-link tbody tr:hover{background:var(--surface-2)}.cell-primary{align-items:center;gap:11px;display:flex}.cell-primary strong{font-weight:600}.cell-sub{color:var(--muted);margin-top:1px;font-size:12.5px}.num{font-variant-numeric:tabular-nums}.row-avatar{background:var(--brand-bg);width:34px;height:34px;color:var(--brand-strong);border-radius:50%;flex:none;justify-content:center;align-items:center;font-size:12.5px;font-weight:700;display:inline-flex}.row-actions{justify-content:flex-end;gap:8px;display:flex}.field{flex-direction:column;gap:6px;display:flex}.field>span{color:var(--ink-2);font-size:12.5px;font-weight:600}.field .hint{color:var(--muted);font-size:12px;font-weight:400}.input,.textarea,.select{border:1px solid var(--line);border-radius:var(--r-sm);background:var(--surface);width:100%;padding:10px 12px;font-size:14px;transition:border-color .14s,box-shadow .14s}.input:focus,.textarea:focus,.select:focus{border-color:var(--brand);box-shadow:var(--shadow-focus);outline:none}.textarea{resize:vertical;min-height:84px}.form-grid{gap:16px;display:grid}.form-grid.two{grid-template-columns:1fr 1fr}.form-actions{flex-wrap:wrap;justify-content:flex-end;gap:10px;display:flex}.toolbar{border-bottom:1px solid var(--soft-line);background:var(--surface-2);flex-wrap:wrap;align-items:flex-end;gap:12px;padding:14px 20px;display:flex}.toolbar-field{min-width:150px}.toolbar-field>span{letter-spacing:.08em;text-transform:uppercase;color:var(--muted);font-size:10.5px;font-weight:700}.toolbar-field .select,.toolbar-field .input{padding:8px 11px;font-size:13px}.toolbar-clear{margin-bottom:1px}.color-field{align-items:center;gap:10px;display:flex}.color-swatch{border:1px solid var(--line);cursor:pointer;background:0 0;border-radius:10px;width:42px;height:42px;padding:0;overflow:hidden}.message{border-radius:var(--r-sm);border:1px solid #0000;padding:11px 14px;font-size:13px}.message.ok{color:var(--green);background:var(--green-bg);border-color:var(--green-line)}.message.err{color:var(--red);background:var(--red-bg);border-color:var(--red-line)}.empty{text-align:center;color:var(--muted);padding:48px 24px}.empty-icon{background:var(--surface-3);width:52px;height:52px;color:var(--muted);border-radius:15px;justify-content:center;align-items:center;margin-bottom:14px;display:inline-flex}.empty-icon svg{width:24px;height:24px}.empty h3{color:var(--ink);margin-bottom:6px;font-size:16px;font-weight:650}.empty p{max-width:42ch;margin:0 auto;font-size:13.5px}.login-shell{place-items:center;min-height:100vh;padding:24px;display:grid}.login-panel{background:var(--surface);border:1px solid var(--line);border-radius:var(--r-xl);width:100%;max-width:400px;box-shadow:var(--shadow-lg);padding:32px 28px}.login-brand{flex-direction:column;align-items:flex-start;gap:10px;margin-bottom:26px;display:flex}.login-brand img{max-width:200px;max-height:40px}.login-brand .fallback{background:var(--brand);color:#fff;border-radius:13px;justify-content:center;align-items:center;width:46px;height:46px;font-size:18px;font-weight:800;display:inline-flex}.login-brand span{letter-spacing:.09em;text-transform:uppercase;color:var(--muted);font-size:11px;font-weight:700}.login-heading{align-items:center;gap:12px;margin-bottom:22px;display:flex}.login-heading .icon{background:var(--brand-bg);width:42px;height:42px;color:var(--brand);border-radius:12px;flex:none;justify-content:center;align-items:center;display:inline-flex}.login-heading .icon svg{width:20px;height:20px}.login-heading h1{font-size:20px;font-weight:700}.login-heading p{color:var(--muted);margin:3px 0 0;font-size:13px}.login-form{flex-direction:column;gap:15px;display:flex}.login-button{margin-top:4px}.back-link{color:var(--muted);align-items:center;gap:6px;margin-bottom:16px;font-size:13px;transition:color .14s;display:inline-flex}.back-link:hover{color:var(--ink)}.back-link svg{width:15px;height:15px}.detail-head{flex-wrap:wrap;align-items:center;gap:16px;margin-bottom:24px;display:flex}.detail-avatar{background:var(--brand);color:#fff;border-radius:18px;flex:none;justify-content:center;align-items:center;width:60px;height:60px;font-size:22px;font-weight:750;display:inline-flex}.detail-head .meta{min-width:0}.detail-head h1{font-size:22px;font-weight:720}.detail-head .meta-sub{color:var(--muted);flex-wrap:wrap;align-items:center;gap:10px;margin-top:6px;font-size:13px;display:flex}.detail-head .spacer{flex:auto}.grid-2{grid-template-columns:1.6fr 1fr;align-items:start;gap:20px;display:grid}.stack{flex-direction:column;gap:20px;display:flex}.kv{border-bottom:1px solid var(--soft-line);justify-content:space-between;gap:16px;padding:11px 0;font-size:13.5px;display:flex}.kv:last-child{border-bottom:none}.kv .k{color:var(--muted)}.kv .v{text-align:right;font-weight:550}.copy-link{color:var(--brand);align-items:center;gap:6px;font-size:13px;font-weight:550;display:inline-flex}.copy-link svg{width:15px;height:15px}.modal-backdrop{z-index:50;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);background:#0f172a73;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.modal{background:var(--surface);border-radius:var(--r-lg);width:100%;max-width:460px;box-shadow:var(--shadow-lg);max-height:calc(100vh - 40px);overflow:auto}.modal-head{justify-content:space-between;align-items:flex-start;gap:14px;padding:20px 22px 0;display:flex}.modal-head h2{font-size:17px;font-weight:680}.modal-head p{color:var(--muted);margin:4px 0 0;font-size:13px}.modal-body{flex-direction:column;gap:15px;padding:18px 22px 22px;display:flex}.icon-button{width:30px;height:30px;color:var(--muted);background:0 0;border:none;border-radius:8px;justify-content:center;align-items:center;display:inline-flex}.icon-button:hover{background:var(--surface-2);color:var(--ink)}.icon-button svg{width:18px;height:18px}@media (max-width:900px){.grid-2,.form-grid.two{grid-template-columns:1fr}}@media (max-width:780px){.shell{grid-template-columns:1fr}.toolbar{gap:10px}.toolbar-field{flex:100%;min-width:0}.toolbar-clear{flex:100%;justify-content:center}.sidebar{z-index:40;width:264px;box-shadow:var(--shadow-lg);transition:transform .24s;position:fixed;inset:0 auto 0 0;transform:translate(-100%)}.shell.nav-open .sidebar{transform:translate(0)}.nav-scrim{z-index:39;background:#0f172a66;display:none;position:fixed;inset:0}.shell.nav-open .nav-scrim{display:block}.mobilebar{z-index:20;background:color-mix(in srgb, var(--surface) 86%, transparent);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-bottom:1px solid var(--line);align-items:center;gap:12px;padding:12px 16px;display:flex;position:sticky;top:0}.mobilebar img{max-width:130px;max-height:28px}.mobilebar .fallback{background:var(--brand);color:#fff;border-radius:8px;justify-content:center;align-items:center;width:30px;height:30px;font-size:13px;font-weight:800;display:inline-flex}.menu-toggle{border:1px solid var(--line);background:var(--surface);width:38px;height:38px;color:var(--ink-2);border-radius:10px;justify-content:center;align-items:center;display:inline-flex}.menu-toggle svg{width:19px;height:19px}.main{padding:18px 16px 48px}.table thead{display:none}.table,.table tbody,.table tr,.table td{width:100%;display:block}.table tbody tr{border:1px solid var(--line);border-radius:var(--r-md);background:var(--surface);box-shadow:var(--shadow-sm);margin-bottom:12px;padding:6px 4px}.table tbody td{border:none;justify-content:space-between;align-items:center;gap:16px;padding:8px 16px;display:flex}.table tbody td:before{content:attr(data-label);letter-spacing:.07em;text-transform:uppercase;color:var(--muted);flex:none;font-size:10.5px;font-weight:700}.table tbody td.cell-main{justify-content:flex-start;padding-top:12px}.table tbody td.cell-main:before{display:none}.row-actions{flex-wrap:wrap;justify-content:flex-start}.row-actions .button{flex:auto}}@media (min-width:781px){.menu-toggle,.nav-scrim{display:none}}
