:root {
  --navy: #0A1630;
  --ink: #1C2740;
  --text: #2B3548;
  --muted: #667085;
  --line: #E1E5EC;
  --line-2: #EEF1F5;
  --soft: #F4F6F9;
  --primary: #3D6FD8;
  --primary-600: #2F5BBE;
  --primary-50: #EAF0FC;
  --teal: #1B6E8C;
  --green: #0E9F6E;
  --red: #D93A3A;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display: "Plus Jakarta Sans", var(--font);
  --side: 236px;
  --top: 64px;
}
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; }
body { font-family: var(--font); font-size: 14px; line-height: 1.5; color: var(--text); background: #fff; -webkit-font-smoothing: antialiased; }
svg { display: block; }
a { color: var(--primary); text-decoration: none; }
button { font: inherit; }
h1, h2, h3 { color: var(--ink); margin: 0; letter-spacing: -.01em; }
[hidden] { display: none !important; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 36px; padding: 0 14px; border-radius: 6px; border: 1px solid transparent; font-weight: 600; font-size: 13px; cursor: pointer; white-space: nowrap; transition: background .15s, color .15s, border-color .15s; }
.btn svg { width: 16px; height: 16px; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-600); }
.btn-outline { background: #fff; color: var(--primary); border-color: var(--primary); }
.btn-outline:hover { background: var(--primary-50); }
.btn-plain { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-plain:hover { border-color: #C5CCD8; }
.btn-danger { background: #fff; color: var(--red); border-color: #F0C4C4; }
.btn-black { background: #000; color: #fff; height: 44px; padding: 0 18px; border-radius: 8px; }
.btn-black svg { width: 20px; height: 20px; }
.btn-lg { height: 44px; padding: 0 20px; font-size: 14px; }
.btn-block { width: 100%; }
.link { background: none; border: 0; padding: 0; color: var(--primary); cursor: pointer; font-weight: 500; }
.link:hover { text-decoration: underline; }
.act { background: none; border: 0; padding: 4px 0; color: var(--teal); font-weight: 700; font-size: 14px; cursor: pointer; }
.act:hover { text-decoration: underline; }

/* ---------- Login ---------- */
.login { min-height: 100vh; display: grid; place-items: center; padding: 24px 16px; background: radial-gradient(800px 400px at 80% 0%, #DCE6FF, transparent 60%), #F5F7FB; }
.login-card { width: 100%; max-width: 420px; padding: 40px 36px; border-radius: 18px; background: #fff; border: 1px solid var(--line); box-shadow: 0 30px 60px -30px rgba(15, 30, 70, .3); }
.login-card .brand { margin-bottom: 28px; }
.login-card h1 { font: 800 1.6rem var(--display); margin-bottom: 6px; }
.login-card > p { margin: 0 0 24px; color: var(--muted); }
.login-card form { display: grid; gap: 14px; }
.divider { display: flex; align-items: center; gap: 12px; margin: 20px 0; color: var(--muted); font-size: 12px; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.login-note { margin: 18px 0 0; font-size: 12px; color: var(--muted); text-align: center; }
.login-foot { margin-top: 18px; text-align: center; font-size: 12px; }

/* ---------- Form fields ---------- */
.field { display: grid; gap: 6px; }
.field > span, .field > label { font-size: 12.5px; font-weight: 600; color: var(--ink); }
.input, .field input, .field select, .field textarea { width: 100%; height: 40px; padding: 0 12px; border: 1px solid var(--line); border-radius: 8px; background: #fff; font: inherit; color: var(--ink); }
.field textarea { height: 80px; padding: 10px 12px; resize: vertical; }
.input:focus, .field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-50); }
.field small { color: var(--muted); font-size: 12px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.radio-list { display: grid; gap: 8px; }
.radio { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; }
.radio:has(input:checked) { border-color: var(--primary); background: var(--primary-50); }
.radio input { margin-top: 3px; accent-color: var(--primary); }
.radio b { display: block; color: var(--ink); font-size: 13.5px; }
.radio small { color: var(--muted); }
.check-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.check-grid label { display: flex; gap: 8px; align-items: center; font-size: 13px; }
.check-grid input { accent-color: var(--primary); }
.err { color: var(--red); font-size: 12.5px; margin: 0; }

/* ---------- Shell ---------- */
.topbar { position: fixed; z-index: 40; top: 0; left: 0; right: 0; height: var(--top); display: flex; align-items: center; gap: 16px; padding: 0 24px; background: #fff; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 800 1.2rem var(--display); color: var(--navy); letter-spacing: -.02em; }
.brand svg { width: 28px; height: 28px; }
.demo-badge { padding: 3px 10px; border-radius: 999px; background: #FFF4DB; color: #8A5A00; font-size: 11.5px; font-weight: 600; }
.top-right { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.co-select { height: 34px; min-width: 200px; padding: 0 30px 0 12px; border: 1px solid var(--line); border-radius: 4px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23334155' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 10px center / 14px no-repeat; font: inherit; font-size: 13px; color: var(--ink); -webkit-appearance: none; appearance: none; }
.avatar-wrap { position: relative; }
.avatar { width: 36px; height: 36px; border: 0; border-radius: 50%; background: linear-gradient(135deg, #FDBA74, #F472B6); color: #fff; font-weight: 700; font-size: 13px; cursor: pointer; }
.user-menu { position: absolute; right: 0; top: 46px; min-width: 220px; padding: 6px; border-radius: 10px; background: #fff; border: 1px solid var(--line); box-shadow: 0 20px 40px -20px rgba(15, 30, 70, .35); }
.user-menu .who { padding: 10px 12px; border-bottom: 1px solid var(--line-2); margin-bottom: 4px; }
.user-menu .who b { display: block; color: var(--ink); }
.user-menu .who small { color: var(--muted); }
.user-menu button, .user-menu a { display: flex; align-items: center; gap: 8px; width: 100%; padding: 9px 12px; border: 0; border-radius: 6px; background: none; color: var(--ink); text-align: left; cursor: pointer; font-size: 13.5px; }
.user-menu button:hover, .user-menu a:hover { background: var(--soft); }
.user-menu svg { width: 16px; height: 16px; }
.side-toggle { display: none; width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 8px; background: #fff; place-items: center; cursor: pointer; color: var(--ink); }
.side-toggle svg { width: 20px; height: 20px; }

.sidebar { position: fixed; z-index: 30; top: var(--top); bottom: 0; left: 0; width: var(--side); padding: 14px 0; overflow-y: auto; background: #fff; border-right: 1px solid var(--line); }
.nav-a { display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px 20px 10px 22px; border: 0; background: none; color: var(--text); font-size: 13.5px; font-weight: 500; text-align: left; cursor: pointer; }
.nav-a svg { width: 18px; height: 18px; color: #475467; flex: none; }
.nav-a .chev { margin-left: auto; width: 16px; height: 16px; transition: transform .15s; }
.nav-a.open .chev { transform: rotate(180deg); }
.nav-a:hover { background: var(--soft); }
.nav-a.on { background: var(--primary-50); color: var(--ink); font-weight: 600; box-shadow: inset 3px 0 0 var(--primary); }
.nav-sub { display: none; padding: 2px 0 6px; }
.nav-sub.open { display: block; }
.nav-sub .nav-a { padding-left: 52px; font-size: 13px; }
.nav-divider { height: 1px; margin: 12px 0; background: var(--line); }
.side-scrim { display: none; }

.main { margin-left: var(--side); padding: calc(var(--top) + 28px) 40px 72px; }
.page { max-width: 1120px; }

@media (max-width: 960px) {
  .side-toggle { display: grid; }
  .sidebar { transform: translateX(-100%); transition: transform .2s; box-shadow: 20px 0 40px -20px rgba(0, 0, 0, .2); }
  .side-open .sidebar { transform: none; }
  .side-open .side-scrim { display: block; position: fixed; z-index: 25; inset: var(--top) 0 0 0; background: rgba(10, 22, 48, .3); }
  .main { margin-left: 0; padding: calc(var(--top) + 20px) 16px 56px; }
  .co-select { min-width: 0; width: 160px; }
}
@media (max-width: 560px) {
  .topbar { padding: 0 12px; gap: 10px; }
  .topbar .brand span, .demo-badge { display: none; }
  .co-select { width: 140px; }
}

/* ---------- Page header ---------- */
.page-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.page-head h1 { font-size: 24px; font-weight: 500; }
.page-head .sub { margin: 4px 0 0; color: var(--muted); }
.head-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.notice { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 24px; padding: 12px 16px; border-radius: 4px; background: #EEF0F3; color: var(--ink); font-size: 13.5px; }
.notice svg { width: 18px; height: 18px; }
.notice.warn { background: #FFF6E5; color: #7A4B00; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-bottom: 28px; max-width: 860px; }
.stats.four { grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: none; }
.stat { padding: 0 24px; border-left: 1px solid var(--line); }
.stat:first-child { padding-left: 0; border-left: 0; }
.stat small { display: block; font-size: 11.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #344054; }
.stat b { display: block; margin: 2px 0; font-size: 22px; font-weight: 600; color: var(--ink); }
.stat span { font-size: 12.5px; color: var(--muted); }
.stat .link { font-size: 12.5px; }
@media (max-width: 760px) {
  .stats, .stats.four { grid-template-columns: 1fr 1fr; gap: 18px 0; }
  .stat:nth-child(odd) { padding-left: 0; border-left: 0; }
}

/* ---------- Tabs & filters ---------- */
.tabs { display: flex; gap: 28px; border-bottom: 1px solid #C9CFD9; margin-bottom: 16px; overflow-x: auto; }
.tab { position: relative; padding: 10px 0 12px; border: 0; background: none; color: var(--muted); font-weight: 500; font-size: 13.5px; cursor: pointer; white-space: nowrap; }
.tab.on { color: var(--ink); font-weight: 600; }
.tab.on::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--primary); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.fchip { display: flex; align-items: center; gap: 10px; min-width: 150px; padding: 8px 14px 8px 10px; border: 1px solid #CDD3DD; border-radius: 3px; background: #F7F8FA; cursor: pointer; text-align: left; }
.fchip input { width: 16px; height: 16px; margin: 0; accent-color: var(--primary); pointer-events: none; }
.fchip small { display: block; font-size: 10.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #475467; }
.fchip b { display: block; font-size: 13px; color: var(--ink); }
.fchip:not(.on) { background: #fff; opacity: .7; }
.results { display: flex; align-items: center; gap: 18px; margin-bottom: 14px; font-size: 13px; color: var(--ink); }
.results .link { font-size: 13px; }
.bulk { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; padding: 10px 14px; border-radius: 8px; background: var(--primary-50); font-size: 13px; }
.bulk b { color: var(--ink); }
.toolbar { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 16px; }
.search { position: relative; flex: 1; max-width: 320px; min-width: 180px; }
.search svg { position: absolute; left: 12px; top: 50%; width: 16px; height: 16px; color: var(--muted); transform: translateY(-50%); }
.search input { padding-left: 36px; }

/* ---------- Tables ---------- */
.table-card { overflow: hidden; border: 1px solid var(--line); border-radius: 10px; background: #fff; box-shadow: 0 1px 2px rgba(16, 24, 40, .04); }
.table-wrap { overflow-x: auto; }
table.t { width: 100%; border-collapse: collapse; }
.t th { padding: 13px 16px; background: #F4F5F7; border-bottom: 1px solid var(--line); text-align: left; font-size: 13px; font-weight: 600; color: var(--ink); white-space: nowrap; }
.t td { padding: 14px 16px; border-bottom: 1px solid var(--line-2); font-size: 14px; color: var(--ink); vertical-align: middle; }
.t tr:last-child td { border-bottom: 0; }
.t tbody tr:hover td { background: #FAFBFC; }
.t .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.t .end { text-align: right; white-space: nowrap; }
.t .cb { width: 44px; padding-right: 0; }
.t .cb input { width: 16px; height: 16px; accent-color: var(--primary); }
.t .desc small { display: block; color: var(--muted); font-size: 12px; }
.t .group-row td { background: #F8FAFC; font-weight: 600; font-size: 13px; color: #344054; }
.empty { padding: 48px 16px; text-align: center; color: var(--muted); }

.pill { display: inline-block; padding: 4px 12px; border-radius: 999px; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.pill-amber { background: #F8CF7E; color: #533800; }
.pill-cyan { background: #8CE6F4; color: #064A57; }
.pill-blue { background: #DCE6FF; color: #1E3A8A; }
.pill-gray { background: #E6EAF0; color: #344054; }
.pill-red { background: #FFD6D6; color: #8A1C1C; }
.pill-green { background: #CDF5E3; color: #065F46; }
.pill-dark { background: #111827; color: #fff; }

.bar { position: relative; width: 120px; height: 6px; margin-top: 6px; border-radius: 99px; background: #EDF0F4; overflow: hidden; }
.bar i { position: absolute; inset: 0 auto 0 0; border-radius: 99px; background: var(--primary); }
.bar.hot i { background: #E9A23B; }

/* ---------- Cards & panels ---------- */
.grid { display: grid; gap: 20px; }
.grid.two { grid-template-columns: 1.4fr 1fr; }
.grid.three { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1000px) { .grid.two, .grid.three { grid-template-columns: 1fr; } }
.panel { padding: 22px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.panel h2 { font-size: 15px; font-weight: 600; margin-bottom: 14px; }
.panel-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.panel-head h2 { margin: 0; }
.kpi { padding: 18px 20px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.kpi small { display: block; font-size: 11.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #475467; }
.kpi b { display: block; margin: 4px 0 2px; font-size: 22px; font-weight: 600; color: var(--ink); }
.kpi span { font-size: 12.5px; color: var(--muted); }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 24px; }
@media (max-width: 900px) { .kpis { grid-template-columns: 1fr 1fr; } }
.todo { display: grid; }
.todo a { display: flex; align-items: center; gap: 14px; padding: 12px 4px; border-bottom: 1px solid var(--line-2); color: var(--ink); }
.todo a:last-child { border-bottom: 0; }
.todo a:hover { background: var(--soft); }
.todo .ic { width: 34px; height: 34px; flex: none; display: grid; place-items: center; border-radius: 8px; background: var(--primary-50); color: var(--primary); }
.todo .ic svg { width: 17px; height: 17px; }
.todo .ic.amber { background: #FFF4DB; color: #A16207; }
.todo .ic.red { background: #FFE8E8; color: var(--red); }
.todo .grow { flex: 1; }
.todo small { display: block; color: var(--muted); }
.todo .go { width: 16px; height: 16px; color: var(--muted); }
.feed { margin: 0; padding: 0; list-style: none; display: grid; gap: 14px; }
.feed li { display: flex; gap: 12px; font-size: 13.5px; }
.feed .dot { width: 8px; height: 8px; margin-top: 7px; flex: none; border-radius: 50%; background: var(--primary); }
.feed small { display: block; color: var(--muted); }

.list-row { display: flex; align-items: center; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line-2); }
.list-row:last-child { border-bottom: 0; }
.list-row .ic { width: 40px; height: 40px; flex: none; display: grid; place-items: center; border-radius: 10px; background: var(--primary-50); color: var(--primary); }
.list-row .ic svg { width: 20px; height: 20px; }
.list-row .grow { flex: 1; min-width: 0; }
.list-row b { color: var(--ink); display: block; }
.list-row small { color: var(--muted); }

.toggle { position: relative; width: 40px; height: 22px; flex: none; border: 0; border-radius: 99px; background: #CBD2DC; cursor: pointer; transition: background .15s; }
.toggle::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform .15s; }
.toggle.on { background: var(--primary); }
.toggle.on::after { transform: translateX(18px); }

.dl { display: grid; grid-template-columns: 200px 1fr; margin: 0; }
.dl dt, .dl dd { margin: 0; padding: 12px 0; border-bottom: 1px solid var(--line-2); }
.dl dt { color: var(--muted); }
.dl dd { color: var(--ink); font-weight: 500; }
@media (max-width: 560px) { .dl { grid-template-columns: 1fr; } .dl dt { border: 0; padding-bottom: 0; } }

.sched { display: grid; grid-template-columns: 160px repeat(7, minmax(84px, 1fr)); min-width: 760px; }
.sched > div { padding: 10px; border-bottom: 1px solid var(--line-2); border-right: 1px solid var(--line-2); font-size: 12.5px; min-height: 52px; }
.sched .h { background: #F4F5F7; font-weight: 600; color: var(--ink); min-height: 0; }
.shift { display: block; padding: 4px 8px; border-radius: 6px; background: var(--primary-50); color: #1E3A8A; font-weight: 600; font-size: 12px; }
.shift.b { background: #E3FBF6; color: #0F766E; }
.shift.c { background: #FFF4DB; color: #8A5A00; }

/* ---------- Card visual ---------- */
.vcard { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; width: 100%; max-width: 340px; aspect-ratio: 1.586; padding: 20px 22px; border-radius: 16px; color: #fff; background: radial-gradient(380px 200px at 110% -10%, rgba(94, 234, 212, .45), transparent 60%), linear-gradient(135deg, #0B1C47 0%, #1D3FA8 60%, #2D5BE3 100%); box-shadow: 0 20px 40px -20px rgba(10, 22, 48, .55); }
.vcard.frozen { filter: grayscale(1) brightness(.9); }
.vcard .r { display: flex; justify-content: space-between; align-items: center; }
.vcard .b { display: flex; align-items: center; gap: 8px; font: 800 1rem var(--display); }
.vcard .b svg { width: 20px; height: 20px; }
.vcard .t { font-size: 10.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; opacity: .8; }
.vcard .chip { width: 38px; height: 28px; border-radius: 6px; background: linear-gradient(135deg, #F1E3B5, #B8995A); }
.vcard .n { font: 500 1rem ui-monospace, "SF Mono", Menlo, monospace; letter-spacing: .14em; }
.vcard .h { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.vcard .h small { display: block; font-size: 9px; opacity: .7; }
.vcard .net { font: 800 italic 1.25rem var(--display); }
.wallet-tag { display: inline-flex; align-items: center; gap: 4px; padding: 3px 9px; border-radius: 999px; background: #111827; color: #fff; font-size: 11px; font-weight: 600; }
.wallet-tag svg { width: 12px; height: 12px; }

/* ---------- Modal ---------- */
.modal-root { position: fixed; inset: 0; z-index: 100; display: none; align-items: flex-start; justify-content: center; padding: 6vh 16px 16px; overflow-y: auto; background: rgba(10, 22, 48, .45); }
.modal-root.open { display: flex; }
.modal { width: 100%; max-width: 560px; border-radius: 14px; background: #fff; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .45); animation: pop .16s ease-out; }
.modal.wide { max-width: 820px; }
@keyframes pop { from { transform: translateY(8px); opacity: 0; } }
.modal-h { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 20px 24px 0; }
.modal-h h2 { font-size: 18px; font-weight: 600; }
.modal-h p { margin: 4px 0 0; color: var(--muted); font-size: 13px; }
.x { width: 32px; height: 32px; flex: none; display: grid; place-items: center; border: 0; border-radius: 8px; background: none; color: var(--muted); cursor: pointer; }
.x:hover { background: var(--soft); }
.x svg { width: 18px; height: 18px; }
.modal-b { padding: 20px 24px; display: grid; gap: 16px; }
.modal-f { display: flex; justify-content: flex-end; gap: 10px; flex-wrap: wrap; padding: 16px 24px; border-top: 1px solid var(--line-2); }
.sum { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: 10px; }
.sum div { padding: 12px 16px; border-left: 1px solid var(--line); }
.sum div:first-child { border-left: 0; }
.sum small { display: block; font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.sum b { font-size: 17px; color: var(--ink); }
@media (max-width: 560px) { .sum { grid-template-columns: 1fr; } .sum div { border-left: 0; border-top: 1px solid var(--line); } .sum div:first-child { border-top: 0; } .field-row, .check-grid { grid-template-columns: 1fr; } }
.timeline { margin: 0; padding: 0; list-style: none; display: grid; gap: 0; }
.timeline li { position: relative; padding: 0 0 16px 26px; font-size: 13.5px; }
.timeline li::before { content: ""; position: absolute; left: 5px; top: 6px; width: 10px; height: 10px; border-radius: 50%; background: var(--primary); }
.timeline li::after { content: ""; position: absolute; left: 9.5px; top: 18px; bottom: 0; width: 1px; background: var(--line); }
.timeline li:last-child::after { display: none; }
.timeline li.todo-step::before { background: #fff; border: 2px solid #C5CCD8; }
.timeline small { display: block; color: var(--muted); }
.callout { display: flex; gap: 10px; padding: 12px 14px; border-radius: 10px; background: #FFF1F1; color: #7F1D1D; font-size: 13px; }
.callout.info { background: var(--primary-50); color: #1E3A8A; }
.callout svg { width: 18px; height: 18px; flex: none; margin-top: 1px; }
.mini-t { width: 100%; border-collapse: collapse; font-size: 13px; }
.mini-t th, .mini-t td { padding: 9px 10px; border-bottom: 1px solid var(--line-2); text-align: left; }
.mini-t th { color: var(--muted); font-weight: 600; font-size: 12px; }
.mini-t .num { text-align: right; font-variant-numeric: tabular-nums; }
.mini-t tfoot td { font-weight: 700; color: var(--ink); border-bottom: 0; }
.scroll-y { max-height: 300px; overflow-y: auto; border: 1px solid var(--line); border-radius: 10px; }

/* ---------- Toast ---------- */
.toast { position: fixed; z-index: 200; left: 50%; bottom: 28px; max-width: calc(100% - 32px); padding: 12px 18px; border-radius: 10px; background: #111827; color: #fff; font-size: 13.5px; box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .5); transform: translate(-50%, 20px); opacity: 0; pointer-events: none; transition: .2s; }
.toast.show { transform: translate(-50%, 0); opacity: 1; }
.nav-a .chev svg { width: 16px; height: 16px; }
