/* ==========================================================================
   PDN-OPS — design tokens
   Palette drawn from the Komdigi login screen (blue / red / blue / gold bar),
   set into a dense, dark network-ops console in the spirit of Cisco DNAC,
   Grafana, Datadog, ServiceNow and Linear.
   ========================================================================== */
:root {
  --bg: #0b1220;
  --surface: #111a2c;
  --surface-2: #16213a;
  --border: #223047;
  --border-soft: #1b2740;

  --blue: #2e6fe0;
  --blue-dim: #1e4faa;
  --red: #e0432e;
  --gold: #f2b705;
  --green: #22c55e;

  --text: #e7ecf6;
  --text-dim: #9aa7c2;
  --text-faint: #6b7793;

  --font-ui: "Inter", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;

  --radius: 10px;
  --radius-sm: 6px;
  --sidebar-w: 236px;
  --sidebar-w-collapsed: 68px;
}

/* Light theme override — toggled via [data-theme="light"] on <html> (see /js/theme.js) */
:root[data-theme="light"] {
  --bg: #eef1f7;
  --surface: #ffffff;
  --surface-2: #f4f6fb;
  --border: #dbe1ec;
  --border-soft: #e6eaf3;

  --text: #17203a;
  --text-dim: #566080;
  --text-faint: #8590ab;
}
:root[data-theme="light"] .login-shell::before,
:root[data-theme="light"] body.app-shell::before { background-image: radial-gradient(circle at 1px 1px, rgba(20,30,60,0.06) 1px, transparent 1px); }
:root[data-theme="light"] .login-card { box-shadow: 0 30px 80px rgba(30,40,80,0.12); }
:root[data-theme="light"] .login-otp-note { color: #2451a8; }

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-ui);
  font-size: 14px;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
::selection { background: rgba(46,111,224,0.35); }

/* Faint network/data grid texture on the base background, echoing the login page */
body.app-shell::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 26px 26px;
  pointer-events: none;
  z-index: 0;
}

/* ---------------------------------- Layout ---------------------------------- */
.app-shell { display: flex; min-height: 100vh; position: relative; z-index: 1; }

.sidebar {
  width: var(--sidebar-w);
  flex-shrink: 0;
  background: var(--surface);
  border-right: 1px solid var(--border-soft);
  display: flex;
  flex-direction: column;
  transition: width 0.18s ease;
  position: sticky;
  top: 0;
  height: 100vh;
  z-index: 20;
}
.sidebar.collapsed { width: var(--sidebar-w-collapsed); }
.sidebar.collapsed .brand-text,
.sidebar.collapsed .nav-item span:not(.nav-icon),
.sidebar.collapsed .nav-section-label,
.sidebar.collapsed .nav-badge,
.sidebar.collapsed .mini-status b,
.sidebar.collapsed .mini-status { display: none; }
.sidebar.collapsed .sidebar-toggle svg { transform: rotate(180deg); }

.sidebar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 18px 16px;
  border-bottom: 1px solid var(--border-soft);
}
.brand-mark { display: flex; gap: 3px; flex-shrink: 0; }
.brand-chip { width: 6px; height: 22px; border-radius: 2px; }
.chip-blue { background: var(--blue); }
.chip-red { background: var(--red); }
.chip-blue2 { background: #4a8bf0; }
.chip-gold { background: var(--gold); }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; flex: 1; }
.brand-text strong { font-size: 14.5px; letter-spacing: 0.02em; }
.brand-text small { color: var(--text-dim); font-size: 11px; }
.sidebar-toggle {
  background: transparent; border: 1px solid var(--border);
  color: var(--text-dim); border-radius: var(--radius-sm);
  width: 24px; height: 24px; display: flex; align-items: center; justify-content: center;
}
.sidebar-toggle:hover { color: var(--text); border-color: var(--blue); }

.sidebar-nav { flex: 1; overflow-y: auto; padding: 10px 10px; }
.nav-section-label {
  font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--text-faint); margin: 14px 8px 6px;
}
.nav-item {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 10px; border-radius: var(--radius-sm);
  color: var(--text-dim); font-size: 13.3px; font-weight: 500;
  margin-bottom: 2px; position: relative;
}
.nav-item:hover { background: var(--surface-2); color: var(--text); }
.nav-item.active { background: rgba(46,111,224,0.14); color: #cfe0ff; }
.nav-item.active::before {
  content: ""; position: absolute; left: -10px; top: 6px; bottom: 6px; width: 3px;
  background: var(--blue); border-radius: 2px;
}
.nav-icon { width: 17px; height: 17px; flex-shrink: 0; }
.nav-badge {
  margin-left: auto; background: var(--red); color: #fff;
  font-size: 10.5px; font-weight: 700; padding: 1px 6px; border-radius: 999px;
}
.sidebar-footer { padding: 12px 16px; border-top: 1px solid var(--border-soft); }
.mini-status { font-size: 11.5px; color: var(--text-dim); display: flex; align-items: center; gap: 6px; }
.dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.dot-ok { background: var(--green); box-shadow: 0 0 0 3px rgba(34,197,94,0.18); }
.dot-warn { background: var(--gold); box-shadow: 0 0 0 3px rgba(242,183,5,0.18); }
.dot-bad { background: var(--red); box-shadow: 0 0 0 3px rgba(224,67,46,0.18); }

.main { flex: 1; min-width: 0; display: flex; flex-direction: column; }

/* ---------------------------------- Topbar ---------------------------------- */
.topbar {
  height: 58px; flex-shrink: 0;
  display: flex; align-items: center; gap: 16px;
  padding: 0 20px; border-bottom: 1px solid var(--border-soft);
  background: rgba(17,26,44,0.7); backdrop-filter: blur(6px);
  position: sticky; top: 0; z-index: 10;
}
.topbar-left { display: flex; align-items: center; gap: 10px; }
.breadcrumb { font-size: 13px; color: var(--text-dim); display: flex; align-items: center; gap: 6px; }
.crumb-current { color: var(--text); font-weight: 600; }
.crumb-sep { color: var(--text-faint); }
.icon-btn {
  background: transparent; border: 1px solid var(--border); color: var(--text-dim);
  width: 32px; height: 32px; border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center; position: relative;
}
.icon-btn:hover { color: var(--text); border-color: var(--blue); }
.ping { position: absolute; top: 5px; right: 6px; width: 6px; height: 6px; border-radius: 50%; background: var(--red); }
.mobile-only { display: none; }

.topbar-search {
  flex: 1; max-width: 420px; display: flex; align-items: center; gap: 8px;
  background: var(--surface-2); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 7px 12px; color: var(--text-faint);
}
.topbar-search input {
  background: transparent; border: none; outline: none; color: var(--text);
  font-size: 13px; width: 100%; font-family: var(--font-ui);
}
.topbar-search input::placeholder { color: var(--text-faint); }

.topbar-right { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.user-chip { display: flex; align-items: center; gap: 8px; padding-left: 10px; border-left: 1px solid var(--border-soft); }
.avatar {
  width: 30px; height: 30px; border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--blue-dim));
  display: flex; align-items: center; justify-content: center;
  font-size: 11.5px; font-weight: 700; color: #fff;
}
.user-meta { display: flex; flex-direction: column; line-height: 1.15; }
.user-meta strong { font-size: 12.5px; }
.user-meta small { color: var(--text-dim); font-size: 11px; }

/* Signature element: brand pulse strip under the topbar, standing in for
   overall system heartbeat (this is the mockup's one deliberate flourish). */
.status-pulse { height: 3px; display: flex; position: sticky; top: 58px; z-index: 9; }
.pulse-seg { flex: 1; opacity: 0.85; }
.seg-blue { background: var(--blue); }
.seg-red { background: var(--red); }
.seg-blue2 { background: #4a8bf0; }
.seg-gold { background: var(--gold); }
@keyframes pulseGlow { 0%,100% { opacity: 0.55; } 50% { opacity: 1; } }
.status-pulse .pulse-seg { animation: pulseGlow 3.4s ease-in-out infinite; }
.status-pulse .pulse-seg:nth-child(2) { animation-delay: 0.3s; }
.status-pulse .pulse-seg:nth-child(3) { animation-delay: 0.6s; }
.status-pulse .pulse-seg:nth-child(4) { animation-delay: 0.9s; }

/* ---------------------------------- Content ---------------------------------- */
.content { padding: 22px 26px 60px; max-width: 1440px; width: 100%; margin: 0 auto; }
.page-head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 18px; gap: 12px; flex-wrap: wrap; }
.page-head h1 { font-size: 20px; margin: 0 0 4px; letter-spacing: -0.01em; }
.page-head p { margin: 0; color: var(--text-dim); font-size: 13px; }

.btn {
  display: inline-flex; align-items: center; gap: 6px;
  border-radius: var(--radius-sm); padding: 8px 14px; font-size: 13px; font-weight: 600;
  border: 1px solid var(--border); background: var(--surface-2); color: var(--text);
}
.btn:hover { border-color: var(--blue); }
.btn-primary { background: var(--blue); border-color: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-dim); }
.btn-ghost { background: transparent; }
.btn-sm { padding: 5px 10px; font-size: 12px; }

/* Cards / KPIs */
.kpi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; margin-bottom: 18px; }
.card {
  background: var(--surface); border: 1px solid var(--border-soft);
  border-radius: var(--radius); padding: 16px;
}
.kpi-card .kpi-label { font-size: 12px; color: var(--text-dim); margin-bottom: 8px; }
.kpi-card .kpi-value { font-size: 24px; font-weight: 700; font-family: var(--font-mono); letter-spacing: -0.01em; }
.kpi-card .kpi-delta { font-size: 11.5px; margin-top: 6px; display: inline-flex; align-items: center; gap: 4px; }
.tone-good { color: var(--green); }
.tone-warn { color: var(--gold); }
.tone-bad { color: var(--red); }

.grid-2 { display: grid; grid-template-columns: 1.6fr 1fr; gap: 16px; }
@media (max-width: 980px) { .grid-2 { grid-template-columns: 1fr; } }

.card-title { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.card-title h2 { font-size: 14.5px; margin: 0; }
.card-title .muted { color: var(--text-dim); font-size: 12px; }

/* Sparkline / chart area */
.chart-wrap { width: 100%; overflow: hidden; }
.sparkline-fill { color: var(--blue); }

/* Incident / activity list */
.list-row {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 4px; border-bottom: 1px solid var(--border-soft);
  font-size: 12.8px;
}
.list-row:last-child { border-bottom: none; }
.sev-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.sev-critical { background: var(--red); }
.sev-warning { background: var(--gold); }
.sev-info { background: var(--blue); }
.list-row .row-title { flex: 1; }
.list-row .row-time { color: var(--text-faint); font-family: var(--font-mono); font-size: 11.5px; }

/* Badges / pills */
.pill {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 9px; border-radius: 999px; font-size: 11px; font-weight: 600;
  border: 1px solid transparent;
}
.pill-critical { background: rgba(224,67,46,0.14); color: #ff8a75; border-color: rgba(224,67,46,0.3); }
.pill-high { background: rgba(224,67,46,0.14); color: #ff8a75; border-color: rgba(224,67,46,0.3); }
.pill-warning, .pill-medium { background: rgba(242,183,5,0.14); color: #f6cd4c; border-color: rgba(242,183,5,0.3); }
.pill-low, .pill-healthy, .pill-resolved, .pill-active, .pill-available, .pill-online { background: rgba(34,197,94,0.14); color: #6fe0a0; border-color: rgba(34,197,94,0.3); }
.pill-open, .pill-in-progress, .pill-investigating { background: rgba(46,111,224,0.14); color: #7fb0ff; border-color: rgba(46,111,224,0.3); }
.pill-waiting, .pill-acknowledged, .pill-monitoring, .pill-maintenance, .pill-away { background: rgba(154,167,194,0.14); color: var(--text-dim); border-color: var(--border); }
.pill-conflict, .pill-inactive, .pill-critical-bg { background: rgba(224,67,46,0.14); color: #ff8a75; border-color: rgba(224,67,46,0.3); }
.pill-reserved { background: rgba(74,139,240,0.14); color: #9dc2ff; border-color: rgba(74,139,240,0.3); }

/* Tables */
.table-card { padding: 0; overflow: hidden; }
.table-toolbar {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 14px 16px; border-bottom: 1px solid var(--border-soft); flex-wrap: wrap;
}
.filter-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.filter-chip {
  background: var(--surface-2); border: 1px solid var(--border); color: var(--text-dim);
  border-radius: 999px; padding: 5px 12px; font-size: 12px; font-weight: 500;
}
.filter-chip.active { background: rgba(46,111,224,0.16); color: #cfe0ff; border-color: var(--blue-dim); }

table { width: 100%; border-collapse: collapse; font-size: 12.8px; }
thead th {
  text-align: left; padding: 10px 16px; font-size: 11px; text-transform: uppercase;
  letter-spacing: 0.05em; color: var(--text-faint); border-bottom: 1px solid var(--border-soft);
  background: var(--surface-2);
}
tbody td { padding: 12px 16px; border-bottom: 1px solid var(--border-soft); vertical-align: middle; }
tbody tr:last-child td { border-bottom: none; }
tbody tr:hover { background: rgba(255,255,255,0.02); }
.mono { font-family: var(--font-mono); font-size: 12px; }
.copyable { cursor: pointer; }
.copyable:hover { color: var(--blue); }
.text-dim { color: var(--text-dim); }
.text-faint { color: var(--text-faint); }
.link-row { color: var(--text); font-weight: 600; }
.link-row:hover { color: var(--blue); }

/* Utilization bar (IPAM / monitoring) */
.util-bar { width: 90px; height: 6px; border-radius: 4px; background: var(--surface-2); overflow: hidden; display: inline-block; vertical-align: middle; margin-right: 8px; }
.util-fill { height: 100%; border-radius: 4px; }
.util-low { background: var(--green); }
.util-mid { background: var(--gold); }
.util-high { background: var(--red); }

/* Tabs */
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--border-soft); margin-bottom: 16px; }
.tab-btn {
  background: transparent; border: none; color: var(--text-dim);
  padding: 9px 4px; font-size: 13px; font-weight: 600; position: relative; margin-right: 18px;
}
.tab-btn.active { color: var(--text); }
.tab-btn.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--blue); border-radius: 2px; }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* Modal */
.modal { position: fixed; inset: 0; background: rgba(6,10,20,0.6); display: none; align-items: center; justify-content: center; z-index: 100; }
.modal.open { display: flex; }
.modal-box { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); width: 100%; max-width: 480px; padding: 20px; }
.modal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.modal-head h3 { margin: 0; font-size: 15px; }
.field { margin-bottom: 12px; }
.field label { display: block; font-size: 12px; color: var(--text-dim); margin-bottom: 5px; }
.field input, .field select, .field textarea {
  width: 100%; background: var(--surface-2); border: 1px solid var(--border); color: var(--text);
  border-radius: var(--radius-sm); padding: 8px 10px; font-size: 13px; font-family: var(--font-ui);
}

/* Toast */
.toast-root { position: fixed; bottom: 18px; right: 18px; display: flex; flex-direction: column; gap: 8px; z-index: 200; }
.toast {
  background: var(--surface-2); border: 1px solid var(--border); color: var(--text);
  padding: 10px 14px; border-radius: var(--radius-sm); font-size: 12.5px;
  opacity: 0; transform: translateY(6px); transition: all 0.2s ease;
  box-shadow: 0 8px 24px rgba(0,0,0,0.35);
}
.toast.show { opacity: 1; transform: translateY(0); }
.toast-success { border-color: rgba(34,197,94,0.4); }
.toast-info { border-color: rgba(46,111,224,0.4); }

/* Settings */
.settings-grid { display: grid; grid-template-columns: 220px 1fr; gap: 20px; }
@media (max-width: 780px) { .settings-grid { grid-template-columns: 1fr; } }
.settings-nav { display: flex; flex-direction: column; gap: 2px; }
.settings-nav .tab-btn { margin: 0; padding: 9px 12px; border-radius: var(--radius-sm); text-align: left; }
.settings-nav .tab-btn.active { background: rgba(46,111,224,0.14); color: #cfe0ff; }
.settings-nav .tab-btn.active::after { display: none; }

.toggle { position: relative; width: 38px; height: 21px; flex-shrink: 0; }
.toggle input { opacity: 0; width: 0; height: 0; }
.toggle-track { position: absolute; inset: 0; background: var(--surface-2); border: 1px solid var(--border); border-radius: 999px; transition: 0.15s; }
.toggle-track::before { content: ""; position: absolute; width: 15px; height: 15px; left: 2px; top: 2px; background: var(--text-dim); border-radius: 50%; transition: 0.15s; }
.toggle input:checked + .toggle-track { background: rgba(46,111,224,0.3); border-color: var(--blue); }
.toggle input:checked + .toggle-track::before { transform: translateX(17px); background: var(--blue); }

.divider { height: 1px; background: var(--border-soft); margin: 16px 0; }

/* ---------------------------------- Login page ---------------------------------- */
.login-shell {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  background: var(--bg); position: relative; overflow: hidden;
}
.login-shell::before {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(to bottom, transparent, black 20%, black 60%, transparent);
}
.login-card {
  width: 100%; max-width: 400px; background: var(--surface);
  border: 1px solid var(--border-soft); border-radius: 14px; padding: 30px 30px 24px;
  position: relative; z-index: 1; box-shadow: 0 30px 80px rgba(0,0,0,0.45);
}
.login-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 22px; }
.login-brand .brand-mark { gap: 4px; }
.login-brand .brand-chip { width: 7px; height: 26px; }
.login-brand-text strong { display: block; font-size: 16px; }
.login-brand-text small { color: var(--text-dim); font-size: 11.5px; }
.login-title { font-size: 18px; margin: 0 0 4px; }
.login-sub { color: var(--text-dim); font-size: 12.5px; margin: 0 0 20px; }
.login-field { margin-bottom: 14px; }
.login-field label { display: block; font-size: 12px; color: var(--text-dim); margin-bottom: 6px; }
.input-wrap {
  display: flex; align-items: center; gap: 8px;
  background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 10px 12px;
}
.input-wrap:focus-within { border-color: var(--blue); }
.input-wrap input { flex: 1; background: transparent; border: none; outline: none; color: var(--text); font-size: 13.5px; }
.input-wrap svg { color: var(--text-faint); flex-shrink: 0; }
.login-row { display: flex; align-items: center; justify-content: space-between; margin: 4px 0 18px; font-size: 12.5px; color: var(--text-dim); }
.login-row a { color: var(--blue); }
.login-checkbox { display: flex; align-items: center; gap: 7px; }
.btn-block { width: 100%; justify-content: center; padding: 11px; font-size: 14px; }
.login-foot { text-align: center; margin-top: 18px; color: var(--text-faint); font-size: 11.5px; }
.login-otp-note { display: flex; gap: 8px; align-items: flex-start; background: rgba(46,111,224,0.08); border: 1px solid rgba(46,111,224,0.25); border-radius: var(--radius-sm); padding: 10px 12px; font-size: 12px; color: #b7cdf5; margin-bottom: 16px; }

/* Login top bar: live clock/date + theme toggle */
.login-topbar {
  position: absolute; top: 18px; left: 0; right: 0;
  display: flex; align-items: center; justify-content: center; gap: 14px;
  z-index: 2; font-family: var(--font-mono);
}
.login-clock {
  display: flex; align-items: baseline; gap: 8px;
  background: var(--surface); border: 1px solid var(--border-soft); border-radius: 999px;
  padding: 7px 14px; font-size: 12.5px; color: var(--text-dim); box-shadow: 0 6px 20px rgba(0,0,0,0.18);
}
.login-clock .clock-time { color: var(--text); font-weight: 600; font-size: 13.5px; letter-spacing: 0.3px; }
.login-clock .clock-sep { color: var(--text-faint); }
.theme-toggle {
  display: flex; align-items: center; gap: 6px;
  background: var(--surface); border: 1px solid var(--border-soft); border-radius: 999px;
  padding: 6px 6px; box-shadow: 0 6px 20px rgba(0,0,0,0.18);
}
.theme-toggle button {
  display: flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border-radius: 999px; border: none; background: transparent;
  color: var(--text-faint); transition: background 0.15s, color 0.15s;
}
.theme-toggle button.active { background: var(--blue); color: #fff; }
@media (max-width: 520px) {
  .login-topbar { position: static; margin-bottom: 16px; }
}

/* Ticket attachment field */
.attach-drop {
  display: flex; align-items: center; gap: 10px;
  border: 1px dashed var(--border); border-radius: var(--radius-sm);
  background: var(--surface-2); padding: 12px; cursor: pointer; font-size: 12.5px; color: var(--text-dim);
}
.attach-drop:hover { border-color: var(--blue); color: var(--text); }
.attach-drop input[type="file"] { display: none; }
.attach-drop svg { flex-shrink: 0; color: var(--text-faint); }
.attach-list { margin-top: 8px; display: flex; flex-direction: column; gap: 6px; }
.attach-chip {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 6px 10px; font-size: 12px; color: var(--text-dim);
}
.attach-chip .attach-remove { color: var(--text-faint); cursor: pointer; }
.attach-chip .attach-remove:hover { color: var(--red); }

/* MRTG external embed */
.mrtg-embed-card iframe {
  width: 100%; height: 640px; border: 1px solid var(--border); border-radius: var(--radius-sm);
  background: #fff;
}
.mrtg-embed-note {
  display: flex; gap: 8px; align-items: flex-start; background: rgba(242,183,5,0.08);
  border: 1px solid rgba(242,183,5,0.3); border-radius: var(--radius-sm); padding: 10px 12px;
  font-size: 12px; color: #f2b705; margin-bottom: 12px;
}

/* Empty state */
.empty-state { text-align: center; padding: 50px 20px; color: var(--text-dim); }
.empty-state svg { margin-bottom: 12px; opacity: 0.6; }
.empty-state h3 { color: var(--text); margin: 0 0 6px; font-size: 15px; }
.empty-state p { margin: 0; font-size: 12.5px; }

/* Responsive */
@media (max-width: 860px) {
  .sidebar { position: fixed; left: -260px; top: 0; height: 100vh; box-shadow: 0 0 0 100vmax rgba(0,0,0,0); transition: left 0.2s ease; }
  .sidebar.open { left: 0; box-shadow: 30px 0 60px rgba(0,0,0,0.5); }
  .mobile-only { display: flex; }
  .topbar-search { display: none; }
  .content { padding: 16px; }
}
