/* =====================================================================
   DSS · Decision Support System — Design System
   ===================================================================== */
:root {
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, Menlo, Consolas, monospace;

  --bg: #f1f5f9;
  --surface: #ffffff;
  --surface-2: #f8fafc;
  --border: #e2e8f0;
  --border-2: #cbd5e1;
  --text: #0f172a;
  --text-2: #475569;
  --text-3: #94a3b8;

  --sidebar-bg: #0b1220;
  --sidebar-bg-2: #111a2e;
  --sidebar-text: #94a3b8;
  --sidebar-active: #ffffff;

  --primary: #2563eb;
  --primary-2: #1d4ed8;
  --primary-soft: #dbeafe;

  --blue: #2563eb;  --sky: #0ea5e9;  --cyan: #06b6d4; --emerald: #10b981;
  --amber: #f59e0b; --rose: #f43f5e; --indigo: #6366f1; --violet: #8b5cf6; --slate: #475569;

  --radius: 16px; --radius-sm: 10px; --radius-xs: 8px;
  --shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 4px 16px -4px rgba(15, 23, 42, .08);
  --shadow-lg: 0 20px 50px -20px rgba(15, 23, 42, .35);
  --sidebar-w: 268px;
  --topbar-h: 68px;
  --ease: cubic-bezier(.4, 0, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 14px; line-height: 1.5; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0; }
code, .code { font-family: var(--mono); font-size: 12px; }
.code { background: var(--surface-2); border: 1px solid var(--border); padding: 2px 6px; border-radius: 6px; color: var(--text-2); }
button { font-family: inherit; }
[hidden] { display: none !important; }

.ico { width: 18px; height: 18px; flex-shrink: 0; }
.ico-xs { width: 12px; height: 12px; }
.ico-sm { width: 15px; height: 15px; }
.ico-lg { width: 32px; height: 32px; }
.ico-xl { width: 48px; height: 48px; }

.muted { color: var(--text-3); }
.small { font-size: 12px; }
.mono { font-family: var(--mono); }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.num { text-align: right; font-variant-numeric: tabular-nums; }
.text-sky { color: #0369a1; } .text-emerald { color: #047857; } .text-rose { color: #be123c; }
.text-indigo { color: #4338ca; } .text-amber { color: #b45309; }
.emerald { color: #34d399; } .cyan { color: #22d3ee; } .amber { color: #fbbf24; }
.inline { display: inline; }
.req { color: var(--rose); font-weight: 800; }
.hint { font-size: 12px; color: var(--text-3); }

/* ---------- Shell ---------- */
.app-shell { display: flex; min-height: 100vh; }
.sidebar {
  width: var(--sidebar-w); flex-shrink: 0; position: sticky; top: 0; height: 100vh;
  background: linear-gradient(180deg, var(--sidebar-bg) 0%, var(--sidebar-bg-2) 100%);
  color: var(--sidebar-text); display: flex; flex-direction: column; z-index: 40;
  border-right: 1px solid rgba(255,255,255,.06);
}
.brand { display: flex; align-items: center; gap: 12px; padding: 22px 22px 18px; border-bottom: 1px solid rgba(255,255,255,.06); }
.brand-logo { width: 42px; height: 42px; border-radius: 12px; background: linear-gradient(135deg, #2563eb, #06b6d4); display: grid; place-items: center; color: #fff; box-shadow: 0 8px 20px -6px rgba(37, 99, 235, .7); }
.brand-logo .ico { width: 22px; height: 22px; }
.brand-name { color: #fff; font-weight: 800; font-size: 18px; letter-spacing: .08em; }
.brand-sub { font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: #64748b; font-weight: 600; }

.nav { flex: 1; overflow-y: auto; padding: 14px 12px; }
.nav-section { font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #475569; padding: 16px 12px 6px; }
.nav-link {
  display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; color: var(--sidebar-text);
  font-weight: 600; font-size: 13.5px; transition: all .18s var(--ease); position: relative;
}
.nav-link:hover { background: rgba(255,255,255,.05); color: #e2e8f0; text-decoration: none; }
.nav-link.active { background: rgba(255,255,255,.09); color: var(--sidebar-active); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
.nav-link.active::before { content: ''; position: absolute; left: 0; top: 10px; bottom: 10px; width: 3px; border-radius: 3px; background: var(--primary); }
.nav-link .ico { color: #64748b; }
.nav-link.active .ico, .nav-link:hover .ico { color: currentColor; }
.nav-link.accent-blue.active::before   { background: var(--blue); }
.nav-link.accent-slate.active::before  { background: #94a3b8; }
.nav-link.accent-sky.active::before    { background: var(--sky); }
.nav-link.accent-rose.active::before   { background: var(--rose); }
.nav-link.accent-indigo.active::before { background: var(--indigo); }
.nav-link.accent-violet.active::before { background: var(--violet); }
.nav-link.accent-amber.active::before  { background: var(--amber); }

.sidebar-foot { padding: 14px 16px 18px; border-top: 1px solid rgba(255,255,255,.06); }
.user-card { display: flex; align-items: center; gap: 12px; padding: 8px 6px 12px; }
.avatar { width: 38px; height: 38px; border-radius: 50%; background: linear-gradient(135deg, #334155, #1e293b); color: #fff; font-weight: 800; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.1); }
.user-name { color: #f1f5f9; font-weight: 700; font-size: 13px; max-width: 170px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sidebar-actions { display: flex; gap: 6px; }
.sidebar-actions form { flex: 1; }
.sidebar-actions .btn { width: 100%; color: #cbd5e1; border-color: rgba(255,255,255,.1); justify-content: center; }
.sidebar-actions .btn:hover { background: rgba(255,255,255,.06); color: #fff; }
.sidebar-actions .btn-danger-text:hover { color: #fb7185; }
.sidebar-backdrop { display: none; position: fixed; inset: 0; background: rgba(2, 6, 23, .55); z-index: 35; backdrop-filter: blur(2px); }
.sidebar-actions .btn .ico { flex-shrink: 0; }
.nav-section span { display: inline; }

/* ---------- Sidebar buka/tutup (desktop) + teks mengambang ---------- */
.sidebar-collapse {
  margin-left: auto; width: 30px; height: 30px; border-radius: 8px; border: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.04);
  color: #94a3b8; display: inline-grid; place-items: center; cursor: pointer; transition: all .18s var(--ease); flex-shrink: 0;
}
.sidebar-collapse:hover { background: rgba(255,255,255,.1); color: #fff; }
.sidebar-collapse .ico { transition: transform .25s var(--ease); }
.nav-tip {
  position: fixed; z-index: 60; pointer-events: none; background: #0f172a; color: #f8fafc; font-size: 12.5px; font-weight: 700;
  padding: 7px 12px; border-radius: 9px; white-space: nowrap; box-shadow: 0 10px 30px -8px rgba(2, 6, 23, .6); border: 1px solid rgba(255,255,255,.08);
  transform: translateY(-50%); animation: tipIn .14s var(--ease);
}
.nav-tip::before { content: ''; position: absolute; left: -5px; top: 50%; width: 10px; height: 10px; background: inherit; border-left: 1px solid rgba(255,255,255,.08); border-bottom: 1px solid rgba(255,255,255,.08); transform: translateY(-50%) rotate(45deg); }
@keyframes tipIn { from { opacity: 0; transform: translate(-6px, -50%); } to { opacity: 1; transform: translate(0, -50%); } }

@media (min-width: 901px) {
  .sidebar { transition: width .22s var(--ease); }
  .brand { transition: padding .22s var(--ease); }
  body.sidebar-collapsed .sidebar { width: 78px; }
  body.sidebar-collapsed .brand { flex-direction: column; padding: 16px 12px 12px; gap: 10px; }
  body.sidebar-collapsed .brand-text { display: none; }
  body.sidebar-collapsed .sidebar-collapse { margin-left: 0; }
  body.sidebar-collapsed .sidebar-collapse .ico { transform: rotate(180deg); }
  body.sidebar-collapsed .nav { padding: 12px 10px; }
  body.sidebar-collapsed .nav-link { justify-content: center; padding: 11px 0; gap: 0; }
  body.sidebar-collapsed .nav-link span { display: none; }
  body.sidebar-collapsed .nav-link .ico { width: 20px; height: 20px; }
  body.sidebar-collapsed .nav-section { padding: 10px 6px 4px; }
  body.sidebar-collapsed .nav-section span { display: none; }
  body.sidebar-collapsed .nav-section::after { content: ''; display: block; height: 1px; background: rgba(255,255,255,.08); }
  body.sidebar-collapsed .sidebar-foot { padding: 12px 10px 14px; }
  body.sidebar-collapsed .user-card { justify-content: center; padding: 6px 0 10px; }
  body.sidebar-collapsed .user-meta { display: none; }
  body.sidebar-collapsed .sidebar-actions { flex-direction: column; }
  body.sidebar-collapsed .sidebar-actions .btn { padding: 8px 0; }
  body.sidebar-collapsed .sidebar-actions .btn span { display: none; }
}
@media (max-width: 900px) {
  .sidebar-collapse { display: none; }
  .nav-tip { display: none !important; }
}

.main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.topbar {
  height: var(--topbar-h); position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 16px; padding: 0 28px;
  background: rgba(255,255,255,.85); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border);
}
.topbar-title { flex: 1; min-width: 0; }
.topbar-title h1 { font-size: 17px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topbar-date { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--text-3); font-weight: 500; }
.js-sidebar-toggle { display: none; }
.periode-form { display: flex; align-items: center; gap: 8px; background: var(--surface-2); border: 1px solid var(--border); padding: 4px 6px 4px 12px; border-radius: 12px; }
.periode-label { display: flex; align-items: center; gap: 6px; font-weight: 700; font-size: 12px; color: var(--text-2); white-space: nowrap; }
.input-month { width: auto; padding: 6px 10px; font-weight: 700; border: none; background: #fff; }

.content { padding: 26px 28px 60px; display: flex; flex-direction: column; gap: 22px; max-width: 1480px; width: 100%; margin: 0 auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 9px 16px; border-radius: var(--radius-sm);
  font-weight: 700; font-size: 13.5px; border: 1px solid transparent; cursor: pointer; transition: all .16s var(--ease); white-space: nowrap; line-height: 1.2;
  background: var(--surface); color: var(--text-2);
}
.btn .ico { width: 16px; height: 16px; }
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 6px 16px -6px rgba(37, 99, 235, .6); }
.btn-primary:hover { background: var(--primary-2); color: #fff; }
.btn-ghost { background: var(--surface); border-color: var(--border-2); color: var(--text-2); }
.btn-ghost:hover { background: var(--surface-2); color: var(--text); }
.btn-success { background: var(--emerald); color: #fff; box-shadow: 0 6px 16px -6px rgba(16, 185, 129, .6); }
.btn-success:hover { background: #059669; color: #fff; }
.btn-danger { background: var(--rose); color: #fff; box-shadow: 0 6px 16px -6px rgba(244, 63, 94, .6); }
.btn-danger:hover { background: #e11d48; color: #fff; }
.btn-danger-outline { background: #fff1f2; color: #be123c; border-color: #fecdd3; }
.btn-danger-outline:hover { background: #ffe4e6; }
.btn-sm { padding: 7px 12px; font-size: 12.5px; }
.btn-lg { padding: 12px 22px; font-size: 14.5px; border-radius: 12px; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.icon-btn { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; border: 1px solid transparent; background: transparent; color: var(--text-2); cursor: pointer; transition: all .15s; }
.icon-btn:hover { background: var(--surface-2); border-color: var(--border); text-decoration: none; }
.icon-btn.sky { color: #0369a1; } .icon-btn.sky:hover { background: #e0f2fe; }
.icon-btn.rose { color: #be123c; } .icon-btn.rose:hover { background: #ffe4e6; }
.icon-btn.emerald { color: #047857; } .icon-btn.emerald:hover { background: #d1fae5; }

/* ---------- Badges ---------- */
.badge { display: inline-flex; align-items: center; gap: 4px; padding: 3px 9px; border-radius: 999px; font-size: 11px; font-weight: 700; letter-spacing: .02em; }
.badge.lg { font-size: 13px; padding: 5px 12px; }
.badge-amber { background: #fef3c7; color: #92400e; }
.badge-sky { background: #e0f2fe; color: #075985; }
.badge-slate { background: #f1f5f9; color: #475569; }
.badge-emerald { background: #d1fae5; color: #065f46; }
.badge-rose { background: #ffe4e6; color: #9f1239; }
.badge-dark { background: rgba(34, 211, 238, .12); color: #67e8f9; border: 1px solid rgba(34, 211, 238, .3); font-family: var(--mono); letter-spacing: .1em; }

/* ---------- Cards ---------- */
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px 24px; box-shadow: var(--shadow); }
.card-head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; flex-wrap: wrap; }
.card-head > div:not(.card-head-icon) { flex: 1; min-width: 0; }
.card-head h2 { font-size: 15px; display: flex; align-items: center; gap: 8px; }
.card-head .muted { font-size: 12.5px; }
.card-head-icon { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; }
.card-head-icon.sky { background: #e0f2fe; color: #0284c7; }
.card-head-icon.emerald { background: #d1fae5; color: #059669; }
.card-head-icon.cyan-dark { background: rgba(34, 211, 238, .12); color: #22d3ee; box-shadow: 0 0 20px rgba(34, 211, 238, .2); }
.card-table { padding: 0; overflow: hidden; }
.card-table .card-head { padding: 18px 24px 0; }
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.card-dark { background: radial-gradient(circle at top right, rgba(34, 211, 238, .08), transparent 55%), #070f1a; border-color: rgba(34, 211, 238, .25); color: #cbd5e1; box-shadow: 0 0 30px rgba(34, 211, 238, .1); }
.card-dark h2.glow { color: #67e8f9; text-shadow: 0 0 10px rgba(34, 211, 238, .5); letter-spacing: .08em; text-transform: uppercase; font-family: var(--mono); }
.muted-dark { color: #64748b; font-size: 12px; letter-spacing: .04em; }

.page-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.page-title { font-size: 22px; font-weight: 800; display: flex; align-items: center; gap: 10px; }
.page-ico { width: 38px; height: 38px; padding: 8px; border-radius: 11px; background: var(--primary-soft); color: var(--primary); }
.page-ico.accent-rose { background: #ffe4e6; color: #e11d48; }
.page-ico.accent-indigo { background: #e0e7ff; color: #4f46e5; }
.page-ico.accent-violet { background: #ede9fe; color: #7c3aed; }
.page-ico.accent-amber { background: #fef3c7; color: #d97706; }
.page-ico.accent-sky { background: #e0f2fe; color: #0284c7; }
.page-ico.accent-slate { background: #f1f5f9; color: #475569; }
.page-sub { color: var(--text-3); font-size: 13px; margin-top: 4px; }

/* ---------- Forms ---------- */
.input {
  width: 100%; padding: 10px 13px; border: 1px solid var(--border-2); border-radius: var(--radius-sm); background: #fff; color: var(--text);
  font: inherit; font-size: 14px; transition: border-color .15s, box-shadow .15s; outline: none;
}
.input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(37, 99, 235, .15); }
.input.readonly, .input[readonly] { background: var(--surface-2); color: var(--text-2); cursor: not-allowed; }
.input-sm { padding: 7px 10px; font-size: 13px; width: auto; }
.js-number, .js-decimal { text-align: right; font-variant-numeric: tabular-nums; font-weight: 600; }
select.input { appearance: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><path d='m6 9 6 6 6-6'/></svg>"); background-repeat: no-repeat; background-position: right 10px center; padding-right: 32px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field > label, .field > span { font-size: 12.5px; font-weight: 700; color: var(--text-2); }
.form-stack { display: flex; flex-direction: column; gap: 16px; }
.form-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.field-wide { grid-column: span 2; }
.form-page { display: flex; flex-direction: column; gap: 18px; }
.form-page.narrow { max-width: 820px; }
.form-actions { display: flex; justify-content: flex-end; gap: 10px; padding-top: 4px; }
.pair-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.pair-card { background: var(--surface-2); border: 1px solid var(--border); border-radius: 12px; padding: 14px; }
.pair-card.computed { background: linear-gradient(135deg, #eef2ff, #f8fafc); border-color: #c7d2fe; }
.pair-label { font-size: 12.5px; font-weight: 700; color: var(--text); margin-bottom: 10px; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.pair-inputs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pair-inputs label { display: flex; flex-direction: column; gap: 4px; }
.pair-inputs label span { font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--text-3); }
.switch { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; font-weight: 600; color: var(--text-2); padding: 8px 0; }
.switch input { display: none; }
.switch-ui { width: 42px; height: 24px; border-radius: 999px; background: var(--border-2); position: relative; transition: background .2s; }
.switch-ui::after { content: ''; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: transform .2s; box-shadow: 0 1px 3px rgba(0,0,0,.2); }
.switch input:checked + .switch-ui { background: var(--emerald); }
.switch input:checked + .switch-ui::after { transform: translateX(18px); }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.table th, .table td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--border); vertical-align: middle; }
.table thead th { background: var(--surface-2); font-size: 11.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--text-2); white-space: nowrap; position: sticky; top: 0; }
.table tbody tr { transition: background .12s; }
.table tbody tr:hover { background: #f8fafc; }
.table tbody tr:last-child td { border-bottom: none; }
.table .th-check { width: 40px; text-align: center; }
.table .th-no { width: 48px; }
.table .th-actions, .table .td-actions { width: 90px; text-align: center; white-space: nowrap; }
.table th.num { text-align: right; }
.table-compact th, .table-compact td { padding: 8px 10px; font-size: 12.5px; }
.th-sort { display: inline-flex; align-items: center; gap: 4px; color: inherit; }
.th-sort:hover { color: var(--primary); text-decoration: none; }
.th-sort .ico { opacity: .35; transition: transform .15s; }
.th-sort.active { color: var(--primary); }
.th-sort.active .ico { opacity: 1; }
.th-sort.active.asc .ico { transform: rotate(180deg); }
.check { width: 17px; height: 17px; accent-color: var(--primary); cursor: pointer; }
.row-hl { background: #eff6ff !important; box-shadow: inset 3px 0 0 var(--primary); animation: hl 2s ease-out; }
@keyframes hl { from { background: #dbeafe; } }
.pair { display: flex; gap: 0; border: 1px solid var(--border); border-radius: 8px; overflow: hidden; min-width: 130px; }
.pair span { flex: 1; text-align: center; padding: 4px 8px; font-variant-numeric: tabular-nums; font-size: 12.5px; }
.pair-t { color: var(--text-3); background: var(--surface-2); border-right: 1px solid var(--border); }
.pair-c { font-weight: 800; }
.pair-c.ok { color: #047857; } .pair-c.bad { color: #be123c; }
.indent { padding-left: 18px; color: var(--text-2); display: inline-block; }

.table-detail th, .table-detail td { text-align: center; padding: 10px 12px; border-right: 1px solid var(--border); }
.table-detail .left { text-align: left; }
.table-detail .th-top th { background: var(--primary); color: #fff; border-color: rgba(255,255,255,.2); }
.table-detail .th-sub th { background: #eff6ff; color: #1e40af; }
.table-detail .th-cyan { background: #0891b2 !important; color: #fff !important; }
.table-detail .th-sub .th-cyan { background: #cffafe !important; color: #155e75 !important; }
.table-detail .td-cyan { background: #ecfeff; color: #0e7490; font-weight: 600; }
.table-detail .row-total td { background: var(--primary); color: #fff; font-weight: 800; font-size: 14px; }
.table-detail .row-total .td-cyan { background: #1d4ed8; color: #fff; }
.table-detail .row-main td { background: var(--surface-2); font-weight: 700; border-bottom: 2px solid var(--border-2); }
.table-detail .row-sub .left { padding-left: 28px; color: var(--text-2); }

.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding: 16px 20px; border-bottom: 1px solid var(--border); background: #fff; }
.search-form { display: flex; align-items: center; gap: 8px; flex: 1; min-width: 280px; max-width: 620px; }
.search-box { position: relative; flex: 1; }
.search-ico { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--text-3); pointer-events: none; }
.input-search { padding-left: 36px; }
.suggest-list { position: absolute; top: calc(100% + 6px); left: 0; right: 0; background: #fff; border: 1px solid var(--border); border-radius: 12px; box-shadow: var(--shadow-lg); z-index: 50; overflow: hidden; max-height: 320px; overflow-y: auto; }
.suggest-item { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 14px; cursor: pointer; font-size: 13.5px; }
.suggest-item:hover, .suggest-item.active { background: #eff6ff; }
.suggest-item mark { background: #fde68a; border-radius: 3px; padding: 0 1px; }
.suggest-field { font-size: 11px; color: var(--text-3); font-weight: 600; white-space: nowrap; }
.suggest-empty { padding: 12px 14px; color: var(--text-3); font-size: 13px; }
.toolbar-right { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.seg { display: inline-flex; background: var(--surface-2); border: 1px solid var(--border); border-radius: 10px; padding: 3px; }
.seg a { padding: 6px 12px; border-radius: 8px; font-weight: 700; font-size: 12.5px; color: var(--text-2); }
.seg a:hover { text-decoration: none; color: var(--text); }
.seg a.active { background: #fff; color: var(--text); box-shadow: 0 1px 3px rgba(15, 23, 42, .12); }
.bulk-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 12px 20px; background: #eff6ff; border-bottom: 1px solid #bfdbfe; }
.bulk-count { color: #1e40af; font-weight: 600; }
.pagination { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 14px 20px; border-top: 1px solid var(--border); }
.pages { display: flex; gap: 4px; align-items: center; }
.page-btn { min-width: 34px; height: 34px; padding: 0 10px; display: inline-grid; place-items: center; border-radius: 9px; border: 1px solid var(--border); font-weight: 700; font-size: 13px; color: var(--text-2); background: #fff; }
.page-btn:hover { background: var(--surface-2); text-decoration: none; }
.page-btn.active { background: var(--primary); color: #fff; border-color: var(--primary); }
.page-btn.disabled { opacity: .4; pointer-events: none; }
.page-dots { color: var(--text-3); padding: 0 4px; }
.empty-inline { display: flex; align-items: center; gap: 16px; padding: 36px 20px; color: var(--text-2); justify-content: center; text-align: left; }
.empty-inline .ico { color: var(--text-3); }
.empty-state { text-align: center; padding: 44px 24px; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.empty-state .ico { color: var(--text-3); }
.empty-state p { color: var(--text-2); max-width: 540px; }
.empty-state .btn-row { justify-content: center; margin-top: 8px; }

/* ---------- Progress & bars ---------- */
.progress { height: 8px; width: 100%; background: var(--surface-2); border: 1px solid var(--border); border-radius: 999px; overflow: hidden; }
.progress.lg { height: 12px; }
.progress.dark { background: #0f172a; border-color: rgba(255,255,255,.08); box-shadow: inset 0 0 5px rgba(0,0,0,.5); }
.progress-bar { height: 100%; border-radius: 999px; transition: width 1s var(--ease); background: var(--primary); }
.progress-bar.sky { background: var(--sky); } .progress-bar.emerald { background: var(--emerald); }
.progress-bar.violet { background: var(--violet); } .progress-bar.rose { background: var(--rose); }
.progress-foot { display: flex; justify-content: space-between; font-size: 12px; color: var(--text-3); font-weight: 600; margin-top: 8px; }
.bars { display: flex; flex-direction: column; gap: 16px; }
.bars.compact { gap: 12px; }
.bars.dark { gap: 22px; padding: 4px 2px; }
.bars.grid-bars { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }
.bar-head { display: flex; justify-content: space-between; gap: 10px; font-size: 12.5px; font-weight: 700; color: var(--text-2); margin-bottom: 6px; }
.bars.dark .bar-head { color: #64748b; letter-spacing: .08em; font-size: 11px; }
.bar-foot { display: flex; justify-content: space-between; font-size: 11.5px; color: var(--text-3); margin-top: 5px; }
.bar-dual { display: grid; grid-template-columns: 1fr 110px; gap: 6px 10px; align-items: center; }
.bar-dual .num { font-size: 12px; font-weight: 700; color: var(--text-2); }
.legend { display: flex; gap: 18px; font-size: 12px; font-weight: 700; color: var(--text-2); margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--border); }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.dot.sky { background: var(--sky); } .dot.emerald { background: var(--emerald); }
.big-number-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.big-number { font-size: 28px; font-weight: 800; letter-spacing: -.02em; }
.chart-wrap { position: relative; width: 100%; }

/* ---------- Dashboard: KV, status ---------- */
.kv { margin: 0; display: flex; flex-direction: column; }
.kv > div { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px solid var(--border); font-size: 13.5px; }
.kv dt { color: var(--text-2); } .kv dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; }
.kv .strong dt, .kv .strong dd { font-weight: 800; }
.kv .sep { border-top: 2px solid currentColor; margin-top: 4px; }
.kv .text-emerald dd, .kv .text-rose dd, .kv .text-sky dd { color: inherit; }
.proj-box { margin-top: 16px; background: #ecfeff; border: 1px solid #a5f3fc; border-radius: 12px; padding: 14px 16px; }
.proj-title { font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #155e75; border-bottom: 1px solid #a5f3fc; padding-bottom: 8px; margin-bottom: 8px; }
.proj-row { display: flex; justify-content: space-between; padding: 5px 0; font-size: 13.5px; color: #0e7490; font-weight: 600; }
.proj-row strong { color: #164e63; font-weight: 800; }
.status-card { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 12px; }
.status-card.ok { background: linear-gradient(180deg, #ecfdf5, #fff); border-color: #a7f3d0; color: #065f46; }
.status-card.warn { background: linear-gradient(180deg, #fff1f2, #fff); border-color: #fecdd3; color: #9f1239; }
.status-card h2 { font-size: 18px; letter-spacing: .04em; }
.status-card .ico-xl { color: currentColor; }
.status-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 13.5px; max-width: 460px; }
.status-list li { background: rgba(255,255,255,.7); padding: 10px 14px; border-radius: 10px; border: 1px solid rgba(0,0,0,.05); }

.collection-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.collection-card { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 14px 16px; color: var(--text); transition: all .18s var(--ease); box-shadow: var(--shadow); }
.collection-card:hover { text-decoration: none; transform: translateY(-2px); box-shadow: var(--shadow-lg); border-color: var(--border-2); }
.collection-icon { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--primary-soft); color: var(--primary); flex-shrink: 0; }
.collection-card.accent-rose .collection-icon { background: #ffe4e6; color: #e11d48; }
.collection-card.accent-indigo .collection-icon { background: #e0e7ff; color: #4f46e5; }
.collection-card.accent-violet .collection-icon { background: #ede9fe; color: #7c3aed; }
.collection-card.accent-amber .collection-icon { background: #fef3c7; color: #d97706; }
.collection-card.accent-sky .collection-icon { background: #e0f2fe; color: #0284c7; }
.collection-card.accent-slate .collection-icon { background: #f1f5f9; color: #475569; }
.collection-meta { flex: 1; min-width: 0; }
.collection-label { font-weight: 700; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.collection-count { font-size: 18px; font-weight: 800; }
.collection-count span { font-size: 11px; color: var(--text-3); font-weight: 600; }
.collection-arrow { color: var(--text-3); }

/* ---------- HUD (dashboard hero) ---------- */
.hud { position: relative; overflow: hidden; background: #070f1a; border: 2px solid #1e293b; border-radius: 20px; padding: 24px 26px 20px; color: #22d3ee; font-family: var(--mono); box-shadow: inset 0 0 60px rgba(0,0,0,.9), 0 10px 30px -10px rgba(0,0,0,.5); }
.hud-grid { position: absolute; inset: 0; opacity: .15; background-image: linear-gradient(to right, rgba(34,211,238,.25) 1px, transparent 1px), linear-gradient(to bottom, rgba(34,211,238,.25) 1px, transparent 1px); background-size: 40px 40px; animation: scrollGrid 15s linear infinite; transform: perspective(500px) rotateX(20deg); transform-origin: top; }
@keyframes scrollGrid { to { background-position: 40px 40px; } }
.hud > *:not(.hud-grid) { position: relative; z-index: 1; }
.hud-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; border-bottom: 1px solid rgba(8, 145, 178, .4); padding-bottom: 14px; margin-bottom: 18px; }
.hud-date { display: flex; align-items: center; gap: 10px; flex: 1; color: #67e8f9; }
.hud-day { font-size: 13px; font-weight: 800; letter-spacing: .2em; }
.hud-sub { font-size: 10px; color: rgba(8, 145, 178, .9); letter-spacing: .08em; }
.hud-title { text-align: center; flex: 2; }
.hud-title-main { font-size: clamp(14px, 2.4vw, 26px); font-weight: 900; letter-spacing: .1em; animation: breathe 3s ease-in-out infinite; white-space: nowrap; }
@keyframes breathe { 0%, 100% { text-shadow: 0 0 5px rgba(34,211,238,.8), 0 0 15px rgba(34,211,238,.5); color: #a5f3fc; } 50% { text-shadow: 0 0 2px rgba(34,211,238,.3); color: #06b6d4; } }
.hud-title-sub { font-size: 10px; letter-spacing: .25em; color: rgba(6, 182, 212, .9); font-weight: 700; margin-top: 4px; }
.hud-status { flex: 1; display: flex; align-items: center; justify-content: flex-end; gap: 12px; }
.hud-status-text { font-size: 11px; letter-spacing: .14em; color: #34d399; font-weight: 800; text-align: right; }
.hud-status-text .muted { color: #047857; font-size: 9px; }
.radar { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(6, 95, 70, .9); background: rgba(15, 23, 42, .5); position: relative; overflow: hidden; box-shadow: 0 0 15px rgba(16,185,129,.15); }
.radar::before, .radar::after { content: ''; position: absolute; background: rgba(16,185,129,.3); }
.radar::before { top: 50%; left: 0; width: 100%; height: 1px; } .radar::after { left: 50%; top: 0; width: 1px; height: 100%; }
.radar-dot { position: absolute; top: 11px; right: 12px; width: 5px; height: 5px; border-radius: 50%; background: #6ee7b7; box-shadow: 0 0 8px #34d399; animation: blink 2s ease-in-out infinite; }
@keyframes blink { 0%, 49% { opacity: 1; } 50%, 100% { opacity: .3; } }
.radar-sweep { position: absolute; inset: 0; background: conic-gradient(from 0deg, transparent 70%, rgba(16,185,129,.15) 90%, rgba(16,185,129,.8) 100%); animation: sweep 3s linear infinite; }
@keyframes sweep { to { transform: rotate(360deg); } }

.hud-body { display: grid; grid-template-columns: 1fr 1.4fr 1fr; gap: 24px; align-items: center; padding: 6px 0 12px; }
.hud-gauge-wrap { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.hud-chip { font-size: 11px; font-weight: 900; letter-spacing: .2em; padding: 6px 16px; border-radius: 6px; background: rgba(15, 23, 42, .9); }
.hud-chip.emerald { color: #6ee7b7; border: 1px solid rgba(6, 95, 70, .8); box-shadow: 0 0 10px rgba(52,211,153,.2); }
.hud-chip.cyan { color: #67e8f9; border: 1px solid rgba(21, 94, 117, .8); box-shadow: 0 0 10px rgba(34,211,238,.2); }
.hud-dial, .hud-main-gauge { position: relative; display: grid; place-items: center; }
.hud-dial { width: 176px; height: 176px; }
.hud-main-gauge { width: 290px; height: 290px; }
.dial-svg { width: 100%; height: 100%; position: absolute; inset: 0; filter: drop-shadow(0 0 6px rgba(34,211,238,.25)); }
.dial-track { fill: rgba(15, 23, 42, .9); stroke: #1e293b; stroke-width: 8; stroke-linecap: round; }
.dial-fill { fill: none; stroke-width: 8; stroke-linecap: round; transition: stroke-dasharray 1.2s var(--ease); }
.dial-fill.emerald { stroke: #34d399; filter: drop-shadow(0 0 6px #34d399); }
.dial-fill.cyan { stroke: #22d3ee; filter: drop-shadow(0 0 6px #22d3ee); }
.dial-fill.grad { stroke-width: 9; filter: drop-shadow(0 0 8px rgba(34,211,238,.8)); }
.dial-tick { stroke: #334155; stroke-width: 1.5; }
.dial-center { position: relative; text-align: center; z-index: 2; }
.dial-value { font-size: 34px; font-weight: 900; letter-spacing: -.03em; line-height: 1; }
.dial-value.emerald { color: #34d399; text-shadow: 0 0 15px rgba(52,211,153,.6); }
.dial-value.cyan { color: #67e8f9; text-shadow: 0 0 15px rgba(34,211,238,.8); }
.dial-value.amber { color: #fbbf24; text-shadow: 0 0 15px rgba(251,191,36,.6); }
.dial-value.big { font-size: 46px; }
.dial-label { font-size: 9px; letter-spacing: .2em; color: rgba(8, 145, 178, 1); font-weight: 800; margin-top: 8px; }
.dial-kicker { font-size: 9px; letter-spacing: .3em; color: #475569; font-weight: 800; margin-bottom: 8px; }
@keyframes amberPulse { 0%, 100% { opacity: .95; } 50% { opacity: .5; } }
.hud-bar { width: 100%; max-width: 220px; }
.hud-bar-head { display: flex; justify-content: space-between; font-size: 9px; font-weight: 800; letter-spacing: .12em; color: rgba(8, 145, 178, 1); margin-bottom: 6px; }
.hud-track { height: 3px; background: #1e293b; border-radius: 3px; overflow: hidden; }
.hud-fill { height: 100%; border-radius: 3px; transition: width 1.2s var(--ease); }
.hud-fill.emerald { background: #34d399; box-shadow: 0 0 10px #34d399; }
.hud-fill.cyan { background: #22d3ee; box-shadow: 0 0 10px #22d3ee; }

.hud-telemetry { border-top: 1px solid rgba(30, 41, 59, .9); margin-top: 10px; padding-top: 16px; }
.hud-tel-head { display: flex; justify-content: space-between; font-size: 9px; letter-spacing: .14em; font-weight: 800; color: rgba(8, 145, 178, 1); margin-bottom: 18px; }
.hud-tel-head span { display: inline-flex; align-items: center; gap: 6px; }
.hud-tel-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.hud-tel-row { display: flex; justify-content: space-between; align-items: flex-end; font-size: 9.5px; letter-spacing: .12em; font-weight: 800; margin-bottom: 8px; }
.hud-tel-row strong { color: #cbd5e1; font-size: 12px; letter-spacing: 0; }
.hud-tel-track { position: relative; height: 2px; background: #1e293b; border-radius: 2px; margin: 6px 0; }
.hud-tel-dot { position: absolute; top: 50%; width: 12px; height: 12px; border-radius: 50%; transform: translate(-50%, -50%); transition: left 1s var(--ease); }
.hud-tel-pct { text-align: right; font-size: 8px; color: #64748b; font-weight: 800; letter-spacing: .1em; }

/* ---------- Stats (import) ---------- */
.stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; margin-bottom: 20px; }
.stat { background: var(--surface-2); border: 1px solid var(--border); border-radius: 12px; padding: 14px 16px; }
.stat.ok { background: #ecfdf5; border-color: #a7f3d0; } .stat.ok .stat-value { color: #047857; }
.stat.warn { background: #fffbeb; border-color: #fde68a; } .stat.warn .stat-value { color: #b45309; }
.stat-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--text-3); display: flex; align-items: center; gap: 6px; }
.stat-value { font-size: 24px; font-weight: 800; margin-top: 4px; font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stat-sub { font-size: 11.5px; color: var(--text-3); margin-top: 2px; }
.stat-link { color: inherit; display: block; transition: all .16s var(--ease); }
.stat-link:hover { text-decoration: none; border-color: var(--primary); box-shadow: 0 6px 16px -8px rgba(37, 99, 235, .4); transform: translateY(-1px); }
.card .stat-row:last-child { margin-bottom: 0; }
.table .th-uraian { min-width: 220px; }
.sub-title { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--text-2); margin: 14px 0 8px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { font-size: 11.5px; font-weight: 600; padding: 4px 10px; border-radius: 999px; border: 1px solid; }
.chip.ok { background: #ecfdf5; border-color: #a7f3d0; color: #065f46; }
.chip.warn { background: #fffbeb; border-color: #fde68a; color: #92400e; }
.error-list { margin: 0; padding-left: 18px; color: #9f1239; font-size: 13px; display: flex; flex-direction: column; gap: 4px; }
.dropzone { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 34px 20px; border: 2px dashed var(--border-2); border-radius: 14px; background: var(--surface-2); cursor: pointer; text-align: center; transition: all .15s; color: var(--text-2); }
.dropzone:hover, .dropzone.dragover { border-color: var(--primary); background: #eff6ff; }
.dropzone .ico { color: var(--primary); margin-bottom: 6px; }
.dropzone-input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.dropzone-title { font-weight: 800; font-size: 15px; color: var(--text); }
.dropzone-sub { font-size: 12px; color: var(--text-3); }
.dropzone-file { margin-top: 10px; font-weight: 700; color: var(--primary); background: #fff; border: 1px solid var(--border); padding: 6px 12px; border-radius: 8px; }
.note { display: flex; gap: 10px; margin-top: 16px; background: #f8fafc; border: 1px solid var(--border); border-radius: 12px; padding: 12px 14px; font-size: 12.5px; color: var(--text-2); }
.note .ico { color: var(--primary); margin-top: 2px; }
.note p + p { margin-top: 6px; }

/* ---------- Toasts, modals, alerts ---------- */
.toast-stack { position: fixed; right: 22px; bottom: 22px; z-index: 90; display: flex; flex-direction: column; gap: 10px; max-width: min(440px, calc(100vw - 32px)); }
.toast { display: flex; align-items: center; gap: 10px; padding: 13px 16px; border-radius: 14px; background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow-lg); font-weight: 600; font-size: 13.5px; animation: toastIn .35s var(--ease); }
.toast.hide { animation: toastOut .3s var(--ease) forwards; }
@keyframes toastIn { from { transform: translateY(16px); opacity: 0; } }
@keyframes toastOut { to { transform: translateY(8px); opacity: 0; } }
.toast-success { background: #ecfdf5; border-color: #a7f3d0; color: #065f46; }
.toast-error { background: #fff1f2; border-color: #fecdd3; color: #9f1239; }
.toast-info { background: #eff6ff; border-color: #bfdbfe; color: #1e40af; }
.toast span { flex: 1; }
.toast-close { background: none; border: none; cursor: pointer; color: inherit; opacity: .6; padding: 4px; display: grid; place-items: center; }
.toast-close:hover { opacity: 1; }
.alert { display: flex; gap: 10px; align-items: center; padding: 11px 14px; border-radius: 12px; font-size: 13px; font-weight: 600; border: 1px solid; margin-bottom: 16px; }
.alert-success { background: #ecfdf5; border-color: #a7f3d0; color: #065f46; }
.alert-error { background: #fff1f2; border-color: #fecdd3; color: #9f1239; }
.alert-info { background: #eff6ff; border-color: #bfdbfe; color: #1e40af; }

.modal { position: fixed; inset: 0; z-index: 80; display: none; align-items: center; justify-content: center; padding: 16px; background: rgba(2, 6, 23, .55); backdrop-filter: blur(4px); }
.modal.open { display: flex; }
.modal-card { background: #fff; border-radius: 20px; padding: 24px 26px; width: 100%; max-width: 640px; box-shadow: var(--shadow-lg); animation: zoomIn .25s var(--ease); max-height: 92vh; overflow-y: auto; }
.modal-sm { max-width: 440px; }
@keyframes zoomIn { from { transform: scale(.95); opacity: 0; } }
.modal-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.modal-icon { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 14px; }
.modal-icon.danger { background: #fff1f2; color: #e11d48; }
.modal-icon .ico { width: 28px; height: 28px; }
.modal-title { font-size: 18px; font-weight: 800; display: flex; align-items: center; gap: 8px; }
.modal-text { color: var(--text-2); margin: 8px 0 20px; line-height: 1.6; }
.modal-actions { display: flex; justify-content: flex-end; gap: 10px; }
.modal-actions.center { justify-content: center; }

/* ---------- Auth ---------- */
.auth-body { background: #070f1a; min-height: 100vh; display: grid; place-items: center; }
.auth-bg { position: fixed; inset: 0; opacity: .2; background-image: linear-gradient(rgba(34,211,238,.25) 1px, transparent 1px), linear-gradient(90deg, rgba(34,211,238,.25) 1px, transparent 1px); background-size: 40px 40px; mask-image: radial-gradient(circle at center, #000 20%, transparent 75%); }
.auth-wrap { position: relative; width: 100%; max-width: 440px; padding: 24px 16px; display: flex; flex-direction: column; gap: 18px; }
.auth-card { background: #0f172a; border: 1px solid rgba(8, 145, 178, .5); border-radius: 22px; padding: 36px 34px; box-shadow: 0 0 40px rgba(34,211,238,.15); color: #e2e8f0; animation: zoomIn .4s var(--ease); }
.auth-logo { width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 18px; background: #083344; border: 1px solid rgba(34,211,238,.3); display: grid; place-items: center; color: #22d3ee; box-shadow: 0 0 15px rgba(34,211,238,.2); }
.auth-logo .ico { width: 32px; height: 32px; }
.auth-title { text-align: center; font-size: 22px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; color: #67e8f9; }
.auth-sub { text-align: center; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: rgba(8, 145, 178, 1); margin: 6px 0 26px; }
.auth-card .field > span { color: #22d3ee; letter-spacing: .1em; text-transform: uppercase; font-size: 11px; }
.auth-card .input { background: #020617; border-color: #164e63; color: #e0f2fe; border-radius: 12px; padding: 12px 14px; }
.auth-card .input:focus { border-color: #22d3ee; box-shadow: 0 0 0 3px rgba(34,211,238,.2); }
.auth-card .btn-primary { background: #0891b2; color: #020617; letter-spacing: .1em; text-transform: uppercase; box-shadow: 0 0 15px rgba(34,211,238,.4); margin-top: 6px; }
.auth-card .btn-primary:hover { background: #06b6d4; box-shadow: 0 0 25px rgba(34,211,238,.6); }
.auth-card .hint { color: #64748b; }
.auth-card .alert-error { background: rgba(244, 63, 94, .1); border-color: rgba(244, 63, 94, .5); color: #fda4af; }
.auth-card .alert-success { background: rgba(16,185,129,.1); border-color: rgba(16,185,129,.5); color: #6ee7b7; }
.auth-card .alert-info { background: rgba(34,211,238,.08); border-color: rgba(34,211,238,.4); color: #67e8f9; }
.auth-switch { text-align: center; margin-top: 22px; font-size: 12px; color: #64748b; letter-spacing: .04em; }
.auth-switch a { color: #22d3ee; font-weight: 700; }
.auth-foot { text-align: center; font-size: 11px; color: #475569; letter-spacing: .1em; text-transform: uppercase; }
.error-card { text-align: center; }
.error-code { font-size: 64px; font-weight: 900; color: #22d3ee; letter-spacing: -.04em; line-height: 1; margin-bottom: 10px; text-shadow: 0 0 20px rgba(34,211,238,.5); }
.error-card .auth-sub { text-transform: none; letter-spacing: 0; font-size: 13.5px; color: #94a3b8; }
.error-card .btn-ghost { background: transparent; color: #cbd5e1; border-color: #334155; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .hud-body { grid-template-columns: 1fr; justify-items: center; gap: 28px; }
  .hud-tel-grid { grid-template-columns: repeat(2, 1fr); }
  .grid-2 { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .sidebar { position: fixed; left: 0; top: 0; transform: translateX(-100%); transition: transform .25s var(--ease); box-shadow: var(--shadow-lg); }
  body.sidebar-open .sidebar { transform: translateX(0); }
  body.sidebar-open .sidebar-backdrop { display: block; }
  .js-sidebar-toggle { display: inline-grid; }
  .topbar { padding: 0 16px; gap: 10px; }
  .topbar-date { display: none; }
  .periode-label span, .periode-label { font-size: 0; }
  .periode-label .ico { font-size: 14px; }
  .content { padding: 18px 16px 50px; gap: 16px; }
  .card { padding: 18px 16px; }
  .hud { padding: 18px 16px; }
  .hud-head { flex-direction: column; align-items: center; text-align: center; }
  .hud-status { justify-content: center; }
  .hud-main-gauge { width: 240px; height: 240px; }
  .dial-value.big { font-size: 38px; }
  .field-wide { grid-column: span 1; }
  .page-title { font-size: 19px; }
  .search-form { min-width: 0; }
}
@media (max-width: 560px) {
  .hud-tel-grid { grid-template-columns: 1fr; }
  .pair-inputs { grid-template-columns: 1fr; }
  .toast-stack { right: 12px; left: 12px; bottom: 12px; }
}
