/* ── Reset & base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; font-size: 14px; background: #f4f5f7; color: #1a1a1a; }

/* ── Layout ── */
.app-shell { display: flex; height: 100vh; overflow: hidden; }

/* ── Sidebar ── */
.sidebar {
  width: 220px; flex-shrink: 0;
  background: #1b3a2d;
  display: flex; flex-direction: column;
  padding: 0; overflow-y: auto;
}
.sidebar-logo {
  display: flex; align-items: center; gap: 10px;
  padding: 20px 20px 18px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.logo-mark {
  width: 32px; height: 32px; border-radius: 6px;
  background: #2ecc84; color: #1b3a2d;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 13px; flex-shrink: 0;
}
.logo-text { color: #fff; font-weight: 600; font-size: 13px; line-height: 1.3; }

.sidebar-nav { padding: 16px 12px; display: flex; flex-direction: column; gap: 2px; }
.nav-item {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 10px; border-radius: 6px;
  color: rgba(255,255,255,.55); text-decoration: none;
  font-size: 13px; transition: background .15s, color .15s;
}
.nav-item:hover { background: rgba(255,255,255,.08); color: rgba(255,255,255,.85); }
.nav-item.active { background: rgba(46,204,132,.18); color: #2ecc84; }
.nav-item.done { color: rgba(255,255,255,.6); }
.nav-num {
  width: 20px; height: 20px; border-radius: 50%;
  background: rgba(255,255,255,.1); color: inherit;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 600; flex-shrink: 0;
}
.nav-item.active .nav-num { background: #2ecc84; color: #1b3a2d; }

.sidebar-context {
  margin: auto 0 0;
  padding: 16px;
  border-top: 1px solid rgba(255,255,255,.1);
  font-size: 12px;
}
.ctx-label { color: rgba(255,255,255,.4); text-transform: uppercase; letter-spacing: .06em; font-size: 10px; }
.ctx-value { color: rgba(255,255,255,.8); margin-top: 2px; font-weight: 500; }
.ctx-site-select {
  width: 100%; margin-top: 4px; padding: 6px 8px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18);
  color: #fff; border-radius: 6px; font-size: 13px; font-weight: 500;
  cursor: pointer; max-width: 100%;
}
.ctx-site-select option { color: #1a1a1a; background: #fff; }
.ctx-site-select optgroup { color: #6b7280; background: #f4f5f7; font-style: italic; }

/* ── Main content ── */
.main-content { flex: 1; overflow-y: auto; padding: 36px 40px; }

/* ── Step panels ── */
.step-panel { max-width: 900px; }
.step-panel.hidden { display: none; }

.panel-header { margin-bottom: 24px; }
.panel-step-label { font-size: 11px; font-weight: 600; color: #2ecc84; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 6px; }
.panel-title { font-size: 24px; font-weight: 600; color: #1a1a1a; }
.panel-sub { font-size: 14px; color: #666; margin-top: 4px; }

/* ── Step 1: Hospital grid ── */
.search-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-bottom: 12px; }
.search-row input { height: 38px; padding: 0 14px; border: 1px solid #ddd; border-radius: 8px; font-size: 14px; width: 240px; }
.region-tabs { display: flex; flex-wrap: wrap; gap: 6px; }
.rtab {
  padding: 5px 12px; font-size: 12px; border-radius: 20px;
  border: 1px solid #ddd; background: #fff; color: #555; cursor: pointer;
}
.rtab.active, .rtab:hover { background: #1b3a2d; color: #fff; border-color: #1b3a2d; }
.count-badge { font-size: 12px; color: #999; margin-bottom: 12px; }
.hospital-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 8px; margin-bottom: 20px; }
.hosp-card {
  border: 1px solid #e0e0e0; border-radius: 8px;
  padding: 10px 14px; cursor: pointer; background: #fff;
  transition: border-color .15s, box-shadow .15s;
}
.hosp-card:hover { border-color: #1b3a2d; }
.hosp-card.selected { border: 2px solid #2ecc84; background: #f0fdf4; }
.hosp-name { font-size: 13px; font-weight: 500; }
.hosp-region { font-size: 11px; color: #999; margin-top: 2px; }

/* ── Step 2: Catchment ── */
.controls-row { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.ctrl-label { font-size: 13px; color: #555; min-width: 100px; }
.controls-row input[type=range] { width: 200px; }
.results-header { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.results-title { font-size: 12px; font-weight: 600; color: #555; text-transform: uppercase; letter-spacing: .05em; }
.badge-count { background: #1b3a2d; color: #fff; font-size: 11px; padding: 2px 8px; border-radius: 10px; }
.catchment-row {
  display: flex; align-items: center; gap: 12px;
  border: 1px solid #e8e8e8; border-radius: 8px;
  padding: 10px 14px; background: #fff; margin-bottom: 6px;
}
.catch-check { width: 16px; height: 16px; cursor: pointer; accent-color: #2ecc84; flex-shrink: 0; }
.catch-info { flex: 1; }
.catch-name { font-size: 13px; font-weight: 500; }
.catch-trust { font-size: 11px; color: #999; margin-top: 1px; }
.catch-right { display: flex; align-items: center; gap: 8px; }
.dist-badge { font-size: 12px; color: #666; }
.type-pill { font-size: 10px; padding: 2px 7px; border-radius: 4px; font-weight: 600; }
.tp-ft { background: #e8f4fd; color: #185fa5; }
.tp-nhs { background: #e8f7f0; color: #0f6e56; }
.tp-spire          { background: #fef3c7; color: #92400e; }
.tp-circle         { background: #fce7f3; color: #9d174d; }
.tp-hca            { background: #ede9fe; color: #5b21b6; }
.tp-ramsay         { background: #fee2e2; color: #991b1b; }
.tp-independent    { background: #f3f4f6; color: #4b5563; }
.tp-nuffield-other { background: #d1fae5; color: #065f46; border: 1px solid #6ee7b7; }

/* ── Catchment sections ── */
.catchment-section { margin-bottom: 16px; }
.catchment-section-header {
  display: flex; align-items: baseline; gap: 10px;
  padding: 6px 2px 8px; border-bottom: 1px solid #e8e8e8; margin-bottom: 8px;
}
.cs-title { font-size: 12px; font-weight: 700; color: #1a1a1a; text-transform: uppercase; letter-spacing: .07em; }
.cs-sub { font-size: 11px; color: #999; flex: 1; }
.cs-count { background: #1b3a2d; color: #fff; font-size: 11px; padding: 2px 8px; border-radius: 10px; }
.catchment-row-private { background: #fafafa; }
.catchment-row-private .catch-name { color: #444; }
.catchment-empty { font-size: 12px; color: #999; font-style: italic; padding: 8px 2px; }

/* ── Shared filter row ── */
.filter-row { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; align-items: flex-end; }
.fg { display: flex; flex-direction: column; gap: 4px; }
.fg label { font-size: 11px; color: #777; text-transform: uppercase; letter-spacing: .05em; }
.fg select { height: 34px; padding: 0 10px; border: 1px solid #ddd; border-radius: 6px; font-size: 13px; background: #fff; }

/* ── Summary strip ── */
.summary-strip { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.smetric { background: #fff; border: 1px solid #e8e8e8; border-radius: 8px; padding: 10px 14px; min-width: 100px; }
.smetric .sval { font-size: 20px; font-weight: 600; color: #1a1a1a; }
.smetric .slbl { font-size: 11px; color: #999; margin-top: 2px; }
.smetric .ssrc { font-size: 10px; color: #bbb; margin-top: 1px; }

/* ── GMC table ── */
.table-wrap { overflow-x: auto; margin-bottom: 16px; }
table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 10px; overflow: hidden; border: 1px solid #e8e8e8; }
th { font-size: 11px; font-weight: 600; color: #777; text-align: left; padding: 10px 12px; border-bottom: 1px solid #e8e8e8; cursor: pointer; white-space: nowrap; background: #fafafa; }
th:hover { color: #1a1a1a; }
td { padding: 10px 12px; border-bottom: 1px solid #f0f0f0; font-size: 13px; white-space: nowrap; }
tr:last-child td { border-bottom: none; }
tr:hover td { background: #fafafa; }

/* NEW row highlight in GMC table */
tr.row-new td { background: #fffbea; }
tr.row-new:hover td { background: #fff8d6; }
tr.row-new td:first-child { border-left: 3px solid #f59e0b; }

/* ── Badges ── */
.badge { display: inline-block; padding: 2px 8px; border-radius: 4px; font-size: 11px; font-weight: 600; }
.b-new { background: #fffbea; color: #b45309; border: 1px solid #f59e0b; }
.b-splitter { background: #fef3c7; color: #92400e; }
.b-established { background: #d1fae5; color: #065f46; }
.b-peri { background: #fee2e2; color: #991b1b; }

/* Unknown stage — for consultants without GMC enrichment yet */
.badge.b-unknown,
.badge[class~=""] { background: #f3f4f6; color: #6b7280; }

/* Nuffield-designated pill — shown next to name in tables */
.nh-pill {
  display: inline-block;
  padding: 1px 6px;
  border-radius: 3px;
  font-size: 9px;
  font-weight: 800;
  background: #2ecc84;
  color: #0f3b22;
  letter-spacing: .08em;
  vertical-align: middle;
  margin-left: 4px;
}
.split-pill {
  display: inline-block;
  padding: 1px 6px;
  border-radius: 3px;
  font-size: 9px;
  font-weight: 800;
  background: #fef3c7;
  color: #92400e;
  border: 1px solid #f59e0b;
  letter-spacing: .08em;
  vertical-align: middle;
  margin-left: 4px;
}

/* Derived subspecialty from PHIN procedure mix */
.subspec {
  font-size: 11px;
  color: #6b7280;
  font-style: italic;
  margin-top: 2px;
}
.subspec-inline {
  font-size: 12px;
  color: #185fa5;
  font-style: italic;
}

/* NJR caveat note */
.njr-caveat {
  margin-top: 8px;
  padding: 6px 10px;
  background: #fef9e7;
  border-left: 3px solid #f59e0b;
  border-radius: 0 4px 4px 0;
  font-size: 11px;
  color: #78350f;
  line-height: 1.4;
}

/* ── GMC concern flags ── */
.concern-flag { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 4px; font-size: 11px; font-weight: 600; }
.cf-none { background: #d1fae5; color: #065f46; }
.cf-warn { background: #fef3c7; color: #92400e; }
.cf-alert { background: #fee2e2; color: #991b1b; }

/* ── API callout ── */
.api-callout {
  background: #f0fdf4; border: 1px solid #6ee7b7; border-radius: 8px;
  padding: 10px 14px; font-size: 12px; color: #065f46;
  margin-bottom: 16px; line-height: 1.6;
}
.api-callout code { background: rgba(0,0,0,.06); padding: 1px 5px; border-radius: 3px; font-size: 11px; }

/* ── Source pills ── */
.source-pills { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.pill { padding: 3px 10px; border-radius: 20px; font-size: 11px; font-weight: 600; }
.pill-phin { background: #dbeafe; color: #1e40af; }
.pill-njr { background: #d1fae5; color: #065f46; }
.pill-derived { background: #fef3c7; color: #92400e; }

/* ── Activity cards ── */
.activity-card {
  background: #fff; border: 1px solid #e8e8e8; border-radius: 10px;
  margin-bottom: 8px; overflow: hidden;
}
.activity-card.stage-new { border-left: 4px solid #f59e0b; }
.acard-header {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  padding: 12px 16px; cursor: pointer;
}
.acard-name { font-size: 14px; font-weight: 600; min-width: 160px; }
.acard-spec { font-size: 12px; color: #777; min-width: 110px; }
.vol-group { display: flex; gap: 16px; margin-left: auto; flex-wrap: wrap; }
.vol-item { text-align: right; }
.vol-num { font-size: 15px; font-weight: 600; }
.vol-lbl { font-size: 10px; color: #999; margin-top: 1px; }
.acard-detail { display: none; padding: 0 16px 14px; border-top: 1px solid #f0f0f0; }
.acard-detail.open { display: block; }
.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 14px; }
.detail-section h4 { font-size: 10px; font-weight: 700; color: #999; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 8px; }
.loc-tag { display: inline-block; padding: 2px 8px; border-radius: 4px; font-size: 11px; margin: 2px; border: 1px solid #e0e0e0; color: #555; }
.loc-tag.nuffield { background: #d1fae5; color: #065f46; border-color: #6ee7b7; }
.loc-tag.competitor { background: #fee2e2; color: #991b1b; border-color: #fca5a5; }
.loc-tag.nhs { background: #f3f4f6; color: #4b5563; }
.sat-row { display: flex; align-items: center; gap: 8px; margin-bottom: 5px; }
.sat-row .slabel { font-size: 12px; color: #555; width: 150px; flex-shrink: 0; }
.sat-track { flex: 1; height: 6px; background: #e5e7eb; border-radius: 3px; overflow: hidden; }
.sat-fill { height: 100%; border-radius: 3px; background: #185fa5; }
.sat-val { font-size: 12px; color: #555; width: 36px; text-align: right; }
.njr-mini { width: 100%; border-collapse: collapse; font-size: 12px; }
.njr-mini th { font-size: 10px; color: #999; text-align: left; padding: 3px 6px; border-bottom: 1px solid #e8e8e8; font-weight: 600; }
.njr-mini td { padding: 4px 6px; border-bottom: 1px solid #f5f5f5; }
.derived-box { background: #fffbea; border: 1px solid #fde68a; border-radius: 6px; padding: 8px 12px; margin-top: 8px; font-size: 12px; display: flex; flex-wrap: wrap; gap: 12px; }
.derived-box span strong { color: #1a1a1a; }
.card-links { margin-top: 10px; display: flex; gap: 12px; }
.card-links a { font-size: 12px; color: #185fa5; text-decoration: none; }
.card-links a:hover { text-decoration: underline; }

/* ── Step 5: Pipeline ── */
.splitter-priority-banner {
  background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
  border: 2px solid #f97316;
  border-radius: 12px; padding: 20px; margin-bottom: 24px;
}
.split-icon { font-size: 22px; color: #c2410c; }
.splitter-cards-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(360px, 1fr)); gap: 10px;
}
.splitter-card {
  background: #fff; border: 1px solid #fed7aa; border-radius: 10px;
  padding: 14px 16px;
}
.sc-header { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 4px; gap: 8px; }
.sc-name { font-size: 14px; font-weight: 600; }
.sc-volume { font-size: 12px; color: #555; white-space: nowrap; }
.sc-volume strong { font-size: 16px; color: #c2410c; }
.sc-spec { font-size: 12px; color: #777; margin-bottom: 8px; }
.sc-sites-row { font-size: 11px; margin-bottom: 4px; }
.sc-label { font-weight: 700; color: #555; text-transform: uppercase; letter-spacing: .05em; margin-right: 4px; font-size: 10px; }
.sc-links { margin-top: 8px; display: flex; gap: 10px; }
.sc-links a { font-size: 11px; color: #185fa5; text-decoration: none; }
.sc-links a:hover { text-decoration: underline; }

.new-priority-banner {
  background: linear-gradient(135deg, #fffbea 0%, #fef3c7 100%);
  border: 2px solid #f59e0b;
  border-radius: 12px; padding: 20px; margin-bottom: 24px;
}
.banner-header { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; flex-wrap: wrap; }
.banner-icon { font-size: 18px; color: #b45309; }
.banner-title { font-size: 16px; font-weight: 700; color: #b45309; }
.banner-sub { font-size: 13px; color: #92400e; margin-left: auto; }
.new-cards-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px; }
.new-consultant-card {
  background: #fff; border: 1px solid #fde68a; border-radius: 10px;
  padding: 14px 16px; position: relative;
}
.new-consultant-card::before {
  content: "NEW"; position: absolute; top: 10px; right: 10px;
  background: #f59e0b; color: #fff; font-size: 9px; font-weight: 800;
  padding: 2px 6px; border-radius: 3px; letter-spacing: .08em;
}
.nc-name { font-size: 14px; font-weight: 600; margin-bottom: 3px; padding-right: 48px; }
.nc-spec { font-size: 12px; color: #777; margin-bottom: 10px; }
.nc-metrics { display: flex; gap: 14px; flex-wrap: wrap; }
.nc-metric .val { font-size: 15px; font-weight: 600; }
.nc-metric .lbl { font-size: 10px; color: #999; margin-top: 1px; }
.nc-locs { margin-top: 10px; }
.nc-gmc-link { margin-top: 10px; font-size: 11px; color: #185fa5; text-decoration: none; }
.nc-concern { margin-top: 6px; }

.overview-notes {
  margin-top: 30px; padding: 18px 22px;
  background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 10px;
}
.overview-notes h4 {
  margin: 0 0 8px; font-size: 13px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .07em; color: #475569;
}
.overview-notes ul { margin: 0; padding-left: 20px; }
.overview-notes li { font-size: 13px; color: #475569; margin-bottom: 6px; line-height: 1.5; }
.overview-notes strong { color: #1e293b; }
#overview-table td a { color: #185fa5; text-decoration: none; }
#overview-table td a:hover { text-decoration: underline; }
#overview-table tr.overview-totals td {
  border-top: 2px solid #555; background: #f1f5f9;
  font-weight: 700; padding-top: 10px;
}
/* Sticky table headers — three independent things break sticky in Chrome:
   - table { overflow: hidden } (clipping context)
   - .table-wrap { overflow-x: auto } (scroll-container ancestor)
   - table { border-collapse: collapse } (Chromium bug: sticky on <th> inside
     a collapsed-border table doesn't work).
   Reset all three for the two summary tables. */
#step-0 .table-wrap, #step-6 .table-wrap { overflow: visible; }
#overview-table, #trust-table {
  overflow: visible;
  border-collapse: separate;
  border-spacing: 0;
}
#overview-table thead th, #trust-table thead th {
  position: sticky; top: 0; z-index: 10;
  background: #fafafa;
  box-shadow: 0 1px 0 #e8e8e8;
}
.src-badge {
  display: inline-block; padding: 2px 6px; margin-right: 3px;
  border-radius: 4px; font-size: 10px; font-weight: 700; letter-spacing: .04em;
}

/* Region grouping — Network overview */
.region-strip { display: flex; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.rmetric {
  flex: 1 1 220px; min-width: 200px;
  background: #fff; border: 1px solid #e8e8e8; border-radius: 10px;
  padding: 12px 16px; cursor: pointer; user-select: none;
  border-left: 4px solid var(--rcolor, #185fa5);
  transition: box-shadow .12s, transform .12s;
}
.rmetric:hover { box-shadow: 0 4px 12px rgba(0,0,0,.08); transform: translateY(-1px); }
.rmetric-active { background: #fef3c7; border-color: #f59e0b; }
.rlabel { font-size: 11px; color: #777; text-transform: uppercase; letter-spacing: .06em; font-weight: 600; }
.rval { font-size: 28px; font-weight: 700; color: #1a1a1a; margin-top: 4px; line-height: 1; }
.rval-sub { font-size: 11px; color: #999; margin-left: 8px; font-weight: 500; letter-spacing: .03em; }
.rfoot { font-size: 11px; color: #777; margin-top: 6px; }
.region-chip {
  display: inline-block; padding: 2px 8px; border-radius: 10px;
  color: #fff; font-size: 10px; font-weight: 700; letter-spacing: .04em;
}

/* NHS trust coverage tab */
.trust-status-badge {
  display: inline-block; padding: 3px 8px; border-radius: 4px;
  color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .03em;
}
.trust-status-sub { font-size: 10px; color: #94a3b8; margin-top: 2px; }
.trust-site-chip {
  display: inline-block; padding: 2px 8px; margin: 2px 4px 2px 0;
  background: #f1f5f9; border: 1px solid #e2e8f0; border-radius: 12px;
  font-size: 12px; color: #334155;
}
.trust-site-new {
  display: inline-block; margin-left: 4px; padding: 0 5px;
  background: #f59e0b; color: #fff; border-radius: 8px;
  font-size: 10px; font-weight: 700;
}
.trust-note { font-size: 12px; color: #475569; line-height: 1.4; }
#trust-table th, #trust-table td { vertical-align: top; padding: 8px 10px; }
#trust-table tbody tr:nth-child(even) { background: #fafafa; }

.new-bucket { margin-top: 14px; }
.new-bucket:first-child { margin-top: 0; }
.new-bucket-title {
  display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap;
  padding: 4px 0 8px 10px; margin-bottom: 8px;
}
.nbt-label { font-size: 13px; font-weight: 700; color: #92400e; }
.nbt-sub { font-size: 12px; color: #92400e; opacity: .7; }

.pipeline-stages { display: flex; flex-direction: column; gap: 20px; }
.stage-section {}
.stage-section-title {
  font-size: 12px; font-weight: 700; color: #555; text-transform: uppercase;
  letter-spacing: .07em; padding-bottom: 8px;
  border-bottom: 1px solid #e0e0e0; margin-bottom: 10px;
}
.stage-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 8px; }
.pipeline-card {
  background: #fff; border: 1px solid #e8e8e8; border-radius: 8px;
  padding: 12px 14px;
}
.pc-name { font-size: 13px; font-weight: 600; margin-bottom: 2px; }
.pc-spec { font-size: 12px; color: #777; margin-bottom: 8px; }
.pc-row { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 4px; }
.pc-metric .val { font-size: 13px; font-weight: 600; }
.pc-metric .lbl { font-size: 10px; color: #999; }
.pc-locs { margin-top: 8px; }
.pc-concern { margin-top: 4px; }
.pc-links { margin-top: 8px; display: flex; gap: 8px; }
.pc-links a { font-size: 11px; color: #185fa5; text-decoration: none; }

/* ── Action bar ── */
.action-bar {
  display: flex; align-items: center; gap: 10px;
  padding-top: 20px; border-top: 1px solid #e8e8e8; margin-top: 4px;
}
.action-info { font-size: 13px; color: #555; flex: 1; }
.btn-primary {
  height: 38px; padding: 0 22px; background: #1b3a2d; color: #fff;
  border: none; border-radius: 8px; font-size: 13px; font-weight: 600;
  cursor: pointer; transition: background .15s;
}
.btn-primary:hover { background: #0f2419; }
.btn-secondary {
  height: 38px; padding: 0 18px; background: #fff; color: #333;
  border: 1px solid #ccc; border-radius: 8px; font-size: 13px; cursor: pointer;
}
.btn-secondary:hover { background: #f5f5f5; }
.btn-export {
  height: 38px; padding: 0 18px; background: #2ecc84; color: #1b3a2d;
  border: none; border-radius: 8px; font-size: 13px; font-weight: 700; cursor: pointer;
}
.btn-export:hover { background: #27b573; }

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #ccc; border-radius: 3px; }
