/* ============================================================
   MediDPS — System zarządzania lekami w DPS
   Wariant A — Klinika / profesjonalny system medyczny
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@400;500;600;700&family=IBM+Plex+Serif:wght@500;600;700&family=IBM+Plex+Mono:wght@400;500;600&display=swap');

:root {
  /* Brand / clinical palette */
  --navy-900: #0c1f3f;
  --navy-800: #122a52;
  --navy-700: #18386b;
  --navy-600: #1f4684;
  --navy-500: #2b59a3;
  --navy-400: #4d7bc4;
  --navy-tint: #eef3fb;

  --ink: #16243a;
  --ink-soft: #44546b;
  --ink-faint: #7a899e;

  --line: #e3e9f2;
  --line-strong: #cdd7e6;
  --paper: #ffffff;
  --canvas: #f4f7fc;
  --canvas-2: #eef2f9;

  /* Status colors */
  --ok: #1f8f5f;
  --ok-bg: #e6f5ee;
  --ok-line: #b6e2cd;

  --warn: #b9750a;
  --warn-bg: #fdf2dd;
  --warn-line: #f2d59a;

  --danger: #c0392b;
  --danger-bg: #fbe8e6;
  --danger-line: #f0c0ba;

  --info: #1f6b9c;
  --info-bg: #e4f0f8;
  --info-line: #b8d8ec;

  --neutral-bg: #eef1f6;
  --neutral-line: #d8dfea;

  --shadow-sm: 0 1px 2px rgba(12, 31, 63, 0.06), 0 1px 3px rgba(12, 31, 63, 0.04);
  --shadow-md: 0 2px 8px rgba(12, 31, 63, 0.07), 0 8px 24px rgba(12, 31, 63, 0.06);
  --shadow-lg: 0 12px 40px rgba(12, 31, 63, 0.14);

  --radius: 10px;
  --radius-sm: 7px;
  --radius-lg: 16px;

  --sidebar-w: 256px;
  --topbar-h: 64px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

/* ============================================================
   APP SHELL
   ============================================================ */
.app {
  display: grid;
  grid-template-columns: var(--sidebar-w) 1fr;
  min-height: 100vh;
}

/* ---------- Sidebar ---------- */
.sidebar {
  background:
    radial-gradient(120% 80% at 0% 0%, rgba(77, 123, 196, 0.18), transparent 60%),
    linear-gradient(180deg, var(--navy-900), var(--navy-800));
  color: #cdd9ee;
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 0;
  border-right: 1px solid var(--navy-700);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.brand .logo {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, #3a78d6, #1f4684);
  display: grid; place-items: center;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 2px 8px rgba(0,0,0,.3);
  flex-shrink: 0;
}
.brand .logo svg { width: 21px; height: 21px; }
.brand .name {
  font-family: 'IBM Plex Serif', serif;
  font-weight: 700;
  font-size: 19px;
  color: #fff;
  letter-spacing: -0.01em;
  line-height: 1.1;
}
.brand .sub {
  font-size: 11px;
  color: #8aa3cc;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.nav {
  padding: 14px 12px;
  flex: 1;
  overflow-y: auto;
}
.nav-group-label {
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #6f88b0;
  padding: 14px 12px 6px;
  font-weight: 600;
}
.nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  color: #c2d1e9;
  font-weight: 500;
  margin-bottom: 2px;
  transition: background .15s, color .15s;
  position: relative;
}
.nav a svg { width: 18px; height: 18px; opacity: .85; flex-shrink: 0; }
.nav a:hover { background: rgba(255,255,255,.07); color: #fff; }
.nav a.active {
  background: linear-gradient(90deg, rgba(58,120,214,.32), rgba(58,120,214,.1));
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(120,165,235,.25);
}
.nav a.active::before {
  content: '';
  position: absolute;
  left: -12px; top: 8px; bottom: 8px;
  width: 3px;
  background: #6fa8ff;
  border-radius: 0 3px 3px 0;
}
.nav a .badge-count {
  margin-left: auto;
  background: var(--danger);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  min-width: 19px; height: 19px;
  border-radius: 10px;
  display: grid; place-items: center;
  padding: 0 5px;
}
.nav a .badge-count.amber { background: var(--warn); }

.sidebar-foot {
  padding: 14px 18px;
  border-top: 1px solid rgba(255,255,255,.08);
  font-size: 11px;
  color: #7e95bb;
}
.sidebar-foot .ver { color: #5d77a0; }

/* ---------- Topbar ---------- */
.main { display: flex; flex-direction: column; min-width: 0; }

.topbar {
  height: var(--topbar-h);
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 0 28px;
  position: sticky;
  top: 0;
  z-index: 20;
}
.crumbs {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--ink-faint);
}
.crumbs .sep { color: var(--line-strong); }
.crumbs .here { color: var(--ink); font-weight: 600; }

.searchbox {
  margin-left: auto;
  display: flex; align-items: center; gap: 9px;
  background: var(--canvas);
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 8px 13px;
  width: 320px;
  color: var(--ink-faint);
  transition: border .15s, box-shadow .15s;
}
.searchbox:focus-within { border-color: var(--navy-400); box-shadow: 0 0 0 3px rgba(77,123,196,.15); }
.searchbox svg { width: 16px; height: 16px; flex-shrink: 0; }
.searchbox input {
  border: none; background: none; outline: none;
  font-family: inherit; font-size: 13px; color: var(--ink);
  width: 100%;
}
.searchbox kbd {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px; color: var(--ink-faint);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 4px; padding: 1px 5px;
}

.topbar-actions { display: flex; align-items: center; gap: 8px; }
.icon-btn {
  width: 38px; height: 38px;
  border-radius: 9px;
  border: 1px solid var(--line);
  background: var(--paper);
  display: grid; place-items: center;
  color: var(--ink-soft);
  cursor: pointer;
  position: relative;
  transition: background .15s, border .15s;
}
.icon-btn:hover { background: var(--canvas); border-color: var(--line-strong); }
.icon-btn svg { width: 18px; height: 18px; }
.icon-btn .dot {
  position: absolute; top: 8px; right: 9px;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--danger); border: 2px solid var(--paper);
}

.user {
  display: flex; align-items: center; gap: 11px;
  padding: 5px 6px 5px 5px;
  border-radius: 10px;
  cursor: pointer;
}
.user:hover { background: var(--canvas); }
.avatar {
  width: 38px; height: 38px; border-radius: 10px;
  background: linear-gradient(135deg, var(--navy-500), var(--navy-700));
  color: #fff; display: grid; place-items: center;
  font-weight: 600; font-size: 14px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.2);
}
.user .who { line-height: 1.25; }
.user .who .nm { font-weight: 600; font-size: 13px; }
.user .who .role { font-size: 11.5px; color: var(--ink-faint); }

/* ---------- Content ---------- */
.content { padding: 28px; max-width: 1480px; width: 100%; }

.page-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}
.page-head h1 {
  font-family: 'IBM Plex Serif', serif;
  font-size: 27px;
  font-weight: 600;
  margin: 0 0 4px;
  letter-spacing: -0.015em;
  color: var(--navy-900);
}
.page-head .lead { color: var(--ink-soft); font-size: 14px; margin: 0; }
.page-head .head-actions { display: flex; gap: 10px; flex-shrink: 0; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: inherit; font-weight: 600; font-size: 13px;
  padding: 9px 16px;
  border-radius: 9px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background .15s, box-shadow .15s, border .15s, transform .05s;
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; }
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: linear-gradient(180deg, var(--navy-600), var(--navy-700));
  color: #fff;
  box-shadow: var(--shadow-sm), inset 0 1px 0 rgba(255,255,255,.12);
}
.btn-primary:hover { background: linear-gradient(180deg, var(--navy-500), var(--navy-600)); }
.btn-ghost {
  background: var(--paper); color: var(--ink); border-color: var(--line-strong);
}
.btn-ghost:hover { background: var(--canvas); }
.btn-danger { background: var(--danger); color: #fff; }
.btn-danger:hover { background: #a93226; }
.btn-sm { padding: 6px 11px; font-size: 12.5px; border-radius: 7px; }

/* ============================================================
   CARDS / WIDGETS
   ============================================================ */
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.card-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
}
.card-head h2, .card-head h3 {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 15px; font-weight: 600; margin: 0;
  color: var(--navy-900);
  display: flex; align-items: center; gap: 9px;
}
.card-head .more { color: var(--navy-500); font-size: 13px; font-weight: 600; }
.card-body { padding: 20px; }
.card-body.flush { padding: 0; }

/* Stat tiles */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 22px;
}
.stat {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 18px 16px;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}
.stat::after {
  content: ''; position: absolute; right: -20px; top: -20px;
  width: 90px; height: 90px; border-radius: 50%;
  opacity: .06;
}
.stat .stat-top { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.stat .stat-ic {
  width: 34px; height: 34px; border-radius: 9px;
  display: grid; place-items: center; flex-shrink: 0;
}
.stat .stat-ic svg { width: 18px; height: 18px; }
.stat .stat-label { font-size: 12.5px; color: var(--ink-soft); font-weight: 500; }
.stat .stat-num {
  font-family: 'IBM Plex Serif', serif;
  font-size: 32px; font-weight: 600; line-height: 1;
  color: var(--navy-900);
  margin-bottom: 6px;
}
.stat .stat-foot { font-size: 12px; color: var(--ink-faint); display: flex; align-items: center; gap: 6px; }

.stat.danger .stat-ic { background: var(--danger-bg); color: var(--danger); }
.stat.danger::after { background: var(--danger); }
.stat.warn .stat-ic { background: var(--warn-bg); color: var(--warn); }
.stat.warn::after { background: var(--warn); }
.stat.info .stat-ic { background: var(--info-bg); color: var(--info); }
.stat.info::after { background: var(--info); }
.stat.ok .stat-ic { background: var(--ok-bg); color: var(--ok); }
.stat.ok::after { background: var(--ok); }

/* ============================================================
   TABLES
   ============================================================ */
.table-wrap { overflow-x: auto; }
table.data {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}
table.data thead th {
  text-align: left;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-faint);
  font-weight: 600;
  padding: 11px 16px;
  border-bottom: 1px solid var(--line);
  background: var(--canvas-2);
  white-space: nowrap;
}
table.data tbody td {
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}
table.data tbody tr:last-child td { border-bottom: none; }
table.data tbody tr.clickable { cursor: pointer; transition: background .12s; }
table.data tbody tr.clickable:hover { background: var(--navy-tint); }
table.data .num { text-align: right; font-variant-numeric: tabular-nums; font-family: 'IBM Plex Mono', monospace; font-size: 13px; }
table.data .strong { font-weight: 600; color: var(--ink); }
table.data .muted { color: var(--ink-faint); }

.cell-name { display: flex; align-items: center; gap: 11px; }
.cell-name .mini-av {
  width: 32px; height: 32px; border-radius: 8px;
  background: var(--navy-tint); color: var(--navy-600);
  display: grid; place-items: center;
  font-weight: 600; font-size: 12px; flex-shrink: 0;
  border: 1px solid var(--line);
}
.cell-name .nm { font-weight: 600; }
.cell-name .meta { font-size: 12px; color: var(--ink-faint); }

/* drug name cell */
.drug { display: flex; flex-direction: column; }
.drug .dn { font-weight: 600; }
.drug .dose { font-size: 12px; color: var(--ink-faint); font-family: 'IBM Plex Mono', monospace; }

/* ============================================================
   BADGES
   ============================================================ */
.badge {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 11.5px; font-weight: 600;
  padding: 3px 9px; border-radius: 100px;
  border: 1px solid transparent;
  white-space: nowrap;
}
.badge .dotb { width: 6px; height: 6px; border-radius: 50%; }
.badge.ok { background: var(--ok-bg); color: var(--ok); border-color: var(--ok-line); }
.badge.ok .dotb { background: var(--ok); }
.badge.warn { background: var(--warn-bg); color: var(--warn); border-color: var(--warn-line); }
.badge.warn .dotb { background: var(--warn); }
.badge.danger { background: var(--danger-bg); color: var(--danger); border-color: var(--danger-line); }
.badge.danger .dotb { background: var(--danger); }
.badge.info { background: var(--info-bg); color: var(--info); border-color: var(--info-line); }
.badge.info .dotb { background: var(--info); }
.badge.neutral { background: var(--neutral-bg); color: var(--ink-soft); border-color: var(--neutral-line); }
.badge.neutral .dotb { background: var(--ink-faint); }

/* expiry pill (mono) */
.exp {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12.5px; font-weight: 500;
}
.exp.soon { color: var(--warn); }
.exp.over { color: var(--danger); }

/* stock bar */
.stockbar { display: flex; align-items: center; gap: 9px; min-width: 130px; }
.stockbar .track { flex: 1; height: 7px; border-radius: 4px; background: var(--canvas-2); overflow: hidden; }
.stockbar .fill { height: 100%; border-radius: 4px; }
.stockbar .fill.ok { background: var(--ok); }
.stockbar .fill.warn { background: var(--warn); }
.stockbar .fill.danger { background: var(--danger); }
.stockbar .qty { font-family: 'IBM Plex Mono', monospace; font-size: 12px; color: var(--ink-soft); min-width: 38px; text-align: right; }

/* ============================================================
   ALERT LIST (dashboard)
   ============================================================ */
.alert-list { display: flex; flex-direction: column; }
.alert-row {
  display: flex; align-items: center; gap: 13px;
  padding: 13px 20px;
  border-bottom: 1px solid var(--line);
  transition: background .12s;
}
.alert-row:last-child { border-bottom: none; }
.alert-row:hover { background: var(--canvas); }
.alert-ic {
  width: 36px; height: 36px; border-radius: 9px;
  display: grid; place-items: center; flex-shrink: 0;
}
.alert-ic svg { width: 18px; height: 18px; }
.alert-ic.danger { background: var(--danger-bg); color: var(--danger); }
.alert-ic.warn { background: var(--warn-bg); color: var(--warn); }
.alert-ic.info { background: var(--info-bg); color: var(--info); }
.alert-main { flex: 1; min-width: 0; }
.alert-main .t { font-weight: 600; font-size: 13.5px; }
.alert-main .d { font-size: 12.5px; color: var(--ink-faint); }
.alert-row .when { font-size: 12px; color: var(--ink-faint); white-space: nowrap; font-family: 'IBM Plex Mono', monospace; }

/* ============================================================
   PROFILE / DETAIL LAYOUT
   ============================================================ */
.detail-grid { display: grid; grid-template-columns: 320px 1fr; gap: 22px; align-items: start; }

.profile-card { text-align: center; }
.profile-card .big-av {
  width: 84px; height: 84px; border-radius: 18px; margin: 4px auto 14px;
  background: linear-gradient(135deg, var(--navy-500), var(--navy-700));
  color: #fff; display: grid; place-items: center;
  font-family: 'IBM Plex Serif', serif; font-weight: 600; font-size: 30px;
  box-shadow: var(--shadow-md), inset 0 1px 0 rgba(255,255,255,.2);
}
.profile-card h2 { font-family: 'IBM Plex Serif', serif; font-size: 21px; margin: 0 0 3px; color: var(--navy-900); }
.profile-card .sub { color: var(--ink-faint); font-size: 13px; margin-bottom: 16px; }

.kv { display: flex; flex-direction: column; gap: 0; text-align: left; }
.kv .row {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 11px 0; border-bottom: 1px solid var(--line);
}
.kv .row:last-child { border-bottom: none; }
.kv .k { color: var(--ink-faint); font-size: 13px; }
.kv .v { font-weight: 600; font-size: 13px; text-align: right; }

.tabs {
  display: flex; gap: 4px; border-bottom: 1px solid var(--line);
  margin-bottom: 0; padding: 0 8px;
}
.tabs a {
  padding: 13px 16px; font-weight: 600; font-size: 13.5px;
  color: var(--ink-faint); border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}
.tabs a:hover { color: var(--ink); }
.tabs a.active { color: var(--navy-600); border-bottom-color: var(--navy-600); }

.section-title {
  font-size: 12px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink-faint); font-weight: 600; margin: 0 0 12px;
}

/* ============================================================
   FORM / INPUTS
   ============================================================ */
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 12.5px; font-weight: 600; color: var(--ink-soft); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; font-family: inherit; font-size: 13.5px;
  padding: 10px 12px; border: 1px solid var(--line-strong);
  border-radius: 9px; background: var(--paper); color: var(--ink);
  outline: none; transition: border .15s, box-shadow .15s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--navy-400); box-shadow: 0 0 0 3px rgba(77,123,196,.15);
}
.field .hint { font-size: 12px; color: var(--ink-faint); margin-top: 5px; }

input[type="checkbox"].chk {
  width: 17px; height: 17px; accent-color: var(--navy-600); cursor: pointer;
}

/* ============================================================
   QR / SCANNER
   ============================================================ */
.qr {
  width: 46px; height: 46px; border-radius: 7px;
  background:
    repeating-linear-gradient(0deg, var(--ink) 0 2px, transparent 2px 4px),
    repeating-linear-gradient(90deg, var(--ink) 0 2px, transparent 2px 4px);
  background-blend-mode: multiply;
  border: 3px solid var(--paper);
  box-shadow: 0 0 0 1px var(--line-strong);
  position: relative;
  flex-shrink: 0;
}
.qr.sm { width: 38px; height: 38px; }
.qr::after {
  content: ''; position: absolute; inset: 30%;
  background: var(--paper);
  box-shadow: 0 0 0 2px var(--ink);
}

.scanner {
  background: var(--navy-900);
  border-radius: var(--radius-lg);
  aspect-ratio: 4 / 3;
  position: relative;
  overflow: hidden;
  display: grid; place-items: center;
  box-shadow: var(--shadow-lg), inset 0 0 60px rgba(0,0,0,.5);
}
.scanner .frame {
  width: 58%; aspect-ratio: 1; position: relative;
}
.scanner .frame .corner {
  position: absolute; width: 34px; height: 34px;
  border: 3px solid #5fd6a3;
}
.scanner .frame .corner.tl { top: 0; left: 0; border-right: none; border-bottom: none; border-radius: 8px 0 0 0; }
.scanner .frame .corner.tr { top: 0; right: 0; border-left: none; border-bottom: none; border-radius: 0 8px 0 0; }
.scanner .frame .corner.bl { bottom: 0; left: 0; border-right: none; border-top: none; border-radius: 0 0 0 8px; }
.scanner .frame .corner.br { bottom: 0; right: 0; border-left: none; border-top: none; border-radius: 0 0 8px 0; }
.scanner .scanline {
  position: absolute; left: 6%; right: 6%; height: 2px;
  background: linear-gradient(90deg, transparent, #5fd6a3, transparent);
  box-shadow: 0 0 16px #5fd6a3;
  top: 10%;
  animation: scan 2.4s ease-in-out infinite;
}
@keyframes scan { 0%,100% { top: 12%; } 50% { top: 86%; } }
.scanner .mock-qr {
  width: 46%; aspect-ratio: 1; opacity: .92;
  background:
    repeating-linear-gradient(0deg, #dfe7f2 0 3px, transparent 3px 6px),
    repeating-linear-gradient(90deg, #dfe7f2 0 3px, transparent 3px 6px);
  border-radius: 6px;
  filter: blur(.3px);
}
.scanner .hint-txt {
  position: absolute; bottom: 16px; left: 0; right: 0; text-align: center;
  color: #9fc6e6; font-size: 12.5px; font-family: 'IBM Plex Mono', monospace;
}

/* utility */
.row-flex { display: flex; align-items: center; gap: 10px; }
.spread { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.muted { color: var(--ink-faint); }
.mono { font-family: 'IBM Plex Mono', monospace; }
.mt0 { margin-top: 0; } .mb0 { margin-bottom: 0; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.stack { display: flex; flex-direction: column; gap: 22px; }

.toolbar {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 20px; border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
}
.filter-pill {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 13px; border-radius: 8px;
  border: 1px solid var(--line-strong); background: var(--paper);
  font-size: 13px; font-weight: 500; color: var(--ink-soft); cursor: pointer;
}
.filter-pill:hover { background: var(--canvas); }
.filter-pill.active { background: var(--navy-tint); border-color: var(--navy-400); color: var(--navy-700); }
.filter-pill svg { width: 14px; height: 14px; }

.cart-foot {
  position: sticky; bottom: 0;
  background: var(--paper);
  border-top: 1px solid var(--line);
  padding: 16px 20px;
  display: flex; align-items: center; justify-content: space-between;
  box-shadow: 0 -4px 16px rgba(12,31,63,.05);
}
.cart-foot .total { font-family: 'IBM Plex Serif', serif; font-size: 22px; font-weight: 600; color: var(--navy-900); }

.progress-mini { display: flex; align-items: center; gap: 8px; }
.progress-mini .track { width: 90px; height: 6px; border-radius: 4px; background: var(--canvas-2); overflow: hidden; }
.progress-mini .fill { height: 100%; background: var(--ok); border-radius: 4px; }

/* fade-in on load */
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.content > * { animation: rise .4s ease both; }
.content > *:nth-child(2) { animation-delay: .04s; }
.content > *:nth-child(3) { animation-delay: .08s; }
.content > *:nth-child(4) { animation-delay: .12s; }
