.afrocite-dashboard {
  --af-navy:#082f59;
  --af-blue:#5d86ad;
  --af-teal:#5d86ad;
  --af-orange:#f39a24;
  --af-paper:#f7fafe;
  --af-white:#ffffff;
  --af-line:#d7e1eb;
  --af-muted:#5b7188;
  --af-navy-soft:#edf3f8;
  --af-teal-soft:#eef4fa;
  --af-blue-soft:#eef4fa;
  --af-orange-soft:#fff5e8;
  --af-neutral:#d9e1e8;
  box-sizing:border-box;
  isolation:isolate;
  color:var(--af-navy);
  background:var(--af-paper);
  border:1px solid var(--af-line);
  border-block-start:5px solid var(--af-orange);
  border-radius:16px;
  font-family:system-ui,-apple-system,"Segoe UI",Tahoma,Arial,sans-serif;
  font-size:16px;
  line-height:1.65;
  text-align:start;
  max-width:1440px;
  margin:24px auto;
  overflow-wrap:normal;
  word-break:normal;
  hyphens:none;
  box-shadow:0 10px 30px rgba(22,50,79,.06);
}
.afrocite-dashboard *, .afrocite-dashboard *::before, .afrocite-dashboard *::after {box-sizing:border-box;}
.afrocite-dashboard [hidden] {display:none !important;}
.afrocite-dashboard [dir="ltr"], .afrocite-dashboard bdi {unicode-bidi:isolate;}
.afrocite-dashboard h2, .afrocite-dashboard h3, .afrocite-dashboard h4, .afrocite-dashboard h5, .afrocite-dashboard h6 {color:var(--af-navy);font-family:inherit;font-weight:750;line-height:1.32;letter-spacing:normal;text-transform:none;margin:1.45em 0 .65em;text-wrap:balance;overflow-wrap:normal;word-break:normal;}
.afrocite-dashboard h2 {font-size:clamp(30px,4vw,46px);}
.afrocite-dashboard h3 {font-size:clamp(24px,3vw,31px);}
.afrocite-dashboard h4 {font-size:21px;}
.afrocite-dashboard h5 {font-size:19px;}
.afrocite-dashboard h6 {font-size:16px;}
.afrocite-dashboard p {margin:.55em 0 1em;text-wrap:pretty;overflow-wrap:normal;word-break:normal;}
.afrocite-dashboard button, .afrocite-dashboard select, .afrocite-dashboard input, .afrocite-dashboard a.af-visit {font:inherit;font-size:14px;line-height:1.5;letter-spacing:normal;text-transform:none;color:var(--af-navy);background:#fff;border:1px solid #aab9c7;border-radius:9px;padding:10px 14px;min-height:44px;max-width:100%;box-shadow:none;text-decoration:none;white-space:normal;}
.afrocite-dashboard button, .afrocite-dashboard select, .afrocite-dashboard a.af-visit {cursor:pointer;}
.afrocite-dashboard input {width:100%;}
.afrocite-dashboard select {width:100%;text-overflow:ellipsis;}
.afrocite-dashboard button:hover {background:var(--af-teal-soft);border-color:var(--af-teal);}
.afrocite-dashboard :focus-visible {outline:3px solid var(--af-orange);outline-offset:3px;}
.afrocite-dashboard :focus:not(:focus-visible) {outline:none;}
.afrocite-dashboard label {display:block;font-weight:650;font-size:13px;margin-block-end:6px;color:var(--af-navy);}

.afrocite-dashboard .af-header {padding:28px 34px 24px;display:flex;gap:32px;align-items:flex-start;background:linear-gradient(180deg,#fff 0%,#fbfdff 100%);border-block-end:1px solid var(--af-line);position:relative;}
.afrocite-dashboard .af-header::after {content:'';position:absolute;inset-inline-start:34px;bottom:-1px;width:68px;height:3px;background:var(--af-orange);border-radius:999px;}
.afrocite-dashboard .af-brand {flex:1;min-width:0;}
.afrocite-dashboard .af-title {margin:.12em 0;font-weight:800;letter-spacing:-.02em;}
.afrocite-dashboard .af-logo {display:block;width:min(100%,390px);height:auto;margin:6px 0 10px;}
.afrocite-dashboard .af-sr-only {position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important;}
.afrocite-dashboard .af-eyebrow {font-size:12px;font-weight:750;color:var(--af-orange);letter-spacing:.02em;}
.afrocite-dashboard .af-intro {color:var(--af-muted);max-width:82ch;margin-block-end:0;font-size:16px;line-height:1.7;text-wrap:pretty;}
.afrocite-dashboard .af-language {flex:0 0 165px;margin-block-start:6px;}

.afrocite-dashboard .af-nav {padding:10px 28px;display:flex;gap:6px;flex-wrap:wrap;background:#fff;border-block-end:1px solid var(--af-line);}
.afrocite-dashboard .af-nav button {border-color:transparent;font-weight:700;flex:1 1 auto;background:transparent;border-radius:8px;}
.afrocite-dashboard .af-nav button[aria-current="page"] {background:var(--af-navy);color:#fff;box-shadow:inset 0 -3px 0 var(--af-orange);}

.afrocite-dashboard .af-content {padding:12px 34px 36px;min-width:0;}
.afrocite-dashboard .af-section-title {margin-block-start:18px;margin-block-end:12px;}
.afrocite-dashboard .af-section-lead {color:var(--af-muted);max-width:75ch;font-size:16px;margin-block-end:22px;}
.afrocite-dashboard .af-pilot-note {padding:11px 15px;border-inline-start:4px solid var(--af-orange);background:var(--af-orange-soft);color:#6a3b17;font-size:13px;border-radius:6px;}
.afrocite-dashboard .af-pilot-note-compact {max-width:70ch;}
.afrocite-dashboard .af-note {border-inline-start:3px solid var(--af-teal);padding:12px 16px;background:var(--af-teal-soft);border-radius:6px;}
.afrocite-dashboard .af-small {font-size:13px;color:var(--af-muted);line-height:1.55;}
.afrocite-dashboard .af-insight {display:inline-block;margin:0 0 24px;padding:8px 12px;background:var(--af-orange-soft);border-radius:999px;color:#6a3b17;font-size:13px;font-weight:650;}

.afrocite-dashboard .af-flow {list-style:none;padding:0;margin:18px 0;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;}
.afrocite-dashboard .af-flow li {position:relative;padding:16px;background:#fff;border:1px solid var(--af-line);border-radius:12px;font-size:13px;min-height:105px;}
.afrocite-dashboard .af-flow li:nth-child(1), .afrocite-dashboard .af-flow li:nth-child(4) {border-block-start:3px solid var(--af-navy);}
.afrocite-dashboard .af-flow li:nth-child(2), .afrocite-dashboard .af-flow li:nth-child(5) {border-block-start:3px solid var(--af-teal);}
.afrocite-dashboard .af-flow li:nth-child(3) {border-block-start:3px solid var(--af-orange);}
.afrocite-dashboard .af-flow li:not(:last-child)::after {content:'›';direction:ltr;position:absolute;right:-11px;top:35px;z-index:1;font-size:24px;background:var(--af-paper);line-height:1;color:var(--af-muted);}
.afrocite-dashboard[dir="rtl"] .af-flow li:not(:last-child)::after {content:'‹';left:-11px;right:auto;}
.afrocite-dashboard .af-flow-number {display:block;font-size:32px;line-height:1.1;margin-block-end:12px;font-weight:800;color:var(--af-navy);}

.afrocite-dashboard .af-metrics {display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,190px),1fr));gap:14px;margin:20px 0;}
.afrocite-dashboard .af-metric {border:1px solid var(--af-line);border-radius:12px;background:#fff;padding:17px;min-width:0;}
.afrocite-dashboard .af-metric.af-accent-orange {border-block-start:3px solid var(--af-orange);}
.afrocite-dashboard .af-metric.af-accent-teal, .afrocite-dashboard .af-metric.af-accent-blue {border-block-start:3px solid var(--af-blue);}
.afrocite-dashboard .af-metric.af-accent-navy {border-block-start:3px solid var(--af-navy);}
.afrocite-dashboard .af-highlight-metrics .af-metric:nth-child(1) {border-block-start:3px solid var(--af-orange);}
.afrocite-dashboard .af-highlight-metrics .af-metric:nth-child(2) {border-block-start:3px solid var(--af-teal);}
.afrocite-dashboard .af-highlight-metrics .af-metric:nth-child(3) {border-block-start:3px solid var(--af-navy);}
.afrocite-dashboard .af-metric-label {font-size:13px;font-weight:700;color:var(--af-muted);}
.afrocite-dashboard .af-metric-value {font-size:clamp(22px,3vw,30px);font-weight:800;display:block;margin:7px 0 4px;line-height:1.3;color:var(--af-navy);}
.afrocite-dashboard .af-metric .af-small {margin-block-end:0;}

.afrocite-dashboard .af-chart, .afrocite-dashboard .af-card {margin:0 0 20px;background:#fff;border:1px solid var(--af-line);border-radius:12px;padding:20px;min-width:0;}
.afrocite-dashboard .af-chart-title {font-weight:750;font-size:17px;line-height:1.5;margin-block-end:14px;}
.afrocite-dashboard .af-chart svg {width:100%;height:auto;display:block;margin:18px 0;overflow:visible;direction:ltr;}
.afrocite-dashboard .af-axis {stroke:#8ba09d;stroke-width:1;}
.afrocite-dashboard .af-point {fill:var(--af-orange);}
.afrocite-dashboard .af-tick {fill:var(--af-navy);font:13px system-ui,sans-serif;}
.afrocite-dashboard .af-series-1 {background:var(--af-orange);}
.afrocite-dashboard .af-series-2 {background:var(--af-blue);}
.afrocite-dashboard .af-series-3 {background:var(--af-navy);}

.afrocite-dashboard .af-count-row {margin-block:16px;}
.afrocite-dashboard .af-count-label {display:flex;justify-content:space-between;gap:16px;font-size:14px;margin-block-end:7px;}
.afrocite-dashboard .af-count-number {white-space:nowrap;font-weight:750;}
.afrocite-dashboard .af-track {height:10px;background:#eef2f1;border-radius:999px;overflow:hidden;}
.afrocite-dashboard .af-bar {display:block;height:100%;border-radius:999px;}

.afrocite-dashboard .af-chart-legend {display:flex;gap:14px;flex-wrap:wrap;margin:0 0 16px;}
.afrocite-dashboard .af-legend-item {display:inline-flex;align-items:center;gap:6px;font-size:12px;color:var(--af-muted);}
.afrocite-dashboard .af-legend-swatch {width:11px;height:11px;border-radius:3px;display:inline-block;}
.afrocite-dashboard .af-seg-orange {background:var(--af-orange);}
.afrocite-dashboard .af-seg-teal, .afrocite-dashboard .af-seg-blue {background:var(--af-blue);}
.afrocite-dashboard .af-seg-navy {background:var(--af-navy);}
.afrocite-dashboard .af-seg-neutral {background:var(--af-neutral);}
.afrocite-dashboard .af-stack-row {display:grid;grid-template-columns:minmax(120px,230px) 1fr;gap:16px;align-items:center;margin:12px 0;}
.afrocite-dashboard .af-stack-label {font-size:13px;font-weight:650;}
.afrocite-dashboard .af-stack-bar {display:flex;height:20px;border-radius:999px;overflow:hidden;background:#eef2f1;direction:ltr;}
.afrocite-dashboard .af-stack-segment {height:100%;min-width:0;}

.afrocite-dashboard .af-histogram {height:250px;display:flex;align-items:flex-end;gap:12px;padding:18px 8px 4px;border-block-end:1px solid var(--af-line);direction:ltr;}
.afrocite-dashboard .af-hist-col {flex:1;height:100%;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;gap:6px;min-width:0;}
.afrocite-dashboard .af-hist-count {font-size:12px;font-weight:750;color:var(--af-navy);}
.afrocite-dashboard .af-hist-bar {width:min(58px,72%);min-height:4px;border-radius:8px 8px 2px 2px;}
.afrocite-dashboard .af-hist-label {font-size:11px;color:var(--af-muted);white-space:nowrap;}

.afrocite-dashboard .af-box-row {display:grid;grid-template-columns:minmax(170px,260px) 1fr 76px;gap:14px;align-items:center;margin:17px 0;}
.afrocite-dashboard .af-box-label {font-size:13px;font-weight:650;}
.afrocite-dashboard .af-box-scale {position:relative;height:22px;background:#f2f5f4;border-radius:999px;direction:ltr;}
.afrocite-dashboard .af-box-whisker {position:absolute;top:10px;height:2px;background:var(--af-navy);}
.afrocite-dashboard .af-box-iqr {position:absolute;top:5px;height:12px;background:var(--af-blue);border-radius:4px;opacity:.88;}
.afrocite-dashboard .af-box-median {position:absolute;top:2px;width:4px;height:18px;background:var(--af-orange);border-radius:2px;transform:translateX(-2px);}
.afrocite-dashboard .af-box-value {font-weight:800;text-align:end;}
.afrocite-dashboard .af-box-axis {font-size:11px;color:var(--af-muted);text-align:center;letter-spacing:.08em;}

.afrocite-dashboard .af-funnel {display:flex;flex-direction:column;gap:10px;margin:14px 0 6px;}
.afrocite-dashboard .af-funnel-step {display:flex;justify-content:center;}
.afrocite-dashboard .af-funnel-block {min-height:54px;color:#fff;border-radius:10px;display:flex;align-items:center;justify-content:space-between;gap:18px;padding:11px 16px;}
.afrocite-dashboard .af-funnel-label {font-size:13px;font-weight:650;}
.afrocite-dashboard .af-funnel-value {font-size:22px;font-weight:800;}
.afrocite-dashboard .af-context-secondary {margin:-6px 0 24px;text-align:center;}

.afrocite-dashboard .af-layers {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;list-style:none;padding:0;}
.afrocite-dashboard .af-layers li {padding:18px;background:#fff;border:1px solid var(--af-line);border-radius:12px;}
.afrocite-dashboard .af-layers .af-layer-1 {border-block-start:3px solid var(--af-navy);}
.afrocite-dashboard .af-layers .af-layer-2 {border-block-start:3px solid var(--af-orange);}
.afrocite-dashboard .af-layers .af-layer-3 {border-block-start:3px solid var(--af-blue);}
.afrocite-dashboard .af-layer-number {display:block;color:var(--af-muted);font-size:11px;margin-block-end:5px;}

.afrocite-dashboard .af-measure-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:16px 0 28px;}
.afrocite-dashboard .af-measure-card {background:#fff;border:1px solid var(--af-line);border-radius:14px;padding:20px;min-width:0;}
.afrocite-dashboard .af-measure-card.af-layer-1 {border-block-start:4px solid var(--af-navy);}
.afrocite-dashboard .af-measure-card.af-layer-2 {border-block-start:4px solid var(--af-orange);}
.afrocite-dashboard .af-measure-card.af-layer-3 {border-block-start:4px solid var(--af-blue);}
.afrocite-dashboard .af-measure-card h5 {margin:.25em 0 .45em;font-size:18px;}
.afrocite-dashboard .af-measure-card p {color:var(--af-muted);margin:0;}

.afrocite-dashboard .af-robustness-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-block-end:22px;}
.afrocite-dashboard .af-robustness-card {padding:18px;background:#fff;border:1px solid var(--af-line);border-radius:12px;}
.afrocite-dashboard .af-robustness-card h5 {margin:0 0 12px;}
.afrocite-dashboard .af-mini-metrics {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;}
.afrocite-dashboard .af-mini-metrics .af-metric {padding:12px;background:var(--af-paper);}
.afrocite-dashboard .af-mini-metrics .af-metric-value {font-size:20px;}

.afrocite-dashboard details {margin-block:12px;}
.afrocite-dashboard summary {cursor:pointer;min-height:44px;padding:10px 0;font-weight:700;font-size:14px;}
.afrocite-dashboard details.af-data-details {margin-block-start:14px;border-block-start:1px solid var(--af-line);}
.afrocite-dashboard details.af-profile-details {background:#fff;border:1px solid var(--af-line);border-radius:10px;padding:0 16px;margin:14px 0;}

.afrocite-dashboard .af-table-wrap {max-width:100%;overflow-x:auto;margin-block:14px;border:1px solid var(--af-line);border-radius:9px;}
.afrocite-dashboard table {width:100%;border-collapse:collapse;margin:0;font-size:13px;color:var(--af-navy);background:#fff;line-height:1.55;table-layout:auto;}
.afrocite-dashboard th, .afrocite-dashboard td {padding:10px 12px;text-align:start;border:0;border-block-end:1px solid var(--af-line);vertical-align:top;min-width:74px;}
.afrocite-dashboard th {font-weight:700;}
.afrocite-dashboard thead th {background:var(--af-navy-soft);}
.afrocite-dashboard tr:last-child td, .afrocite-dashboard tr:last-child th {border-block-end:0;}

.afrocite-dashboard .af-filters {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;padding:18px;background:#fff;border:1px solid var(--af-line);border-radius:12px;align-items:end;}
.afrocite-dashboard .af-filter-search {grid-column:span 2;}
.afrocite-dashboard .af-filters>div {min-width:0;}
.afrocite-dashboard .af-result-count {font-weight:700;margin:18px 0 12px;}
.afrocite-dashboard .af-journal-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;}
.afrocite-dashboard .af-journal-card {padding:20px;background:#fff;border:1px solid var(--af-line);border-radius:12px;display:flex;flex-direction:column;align-items:start;}
.afrocite-dashboard .af-journal-card h4 {font-size:18px;margin:8px 0 10px;}
.afrocite-dashboard .af-journal-institution {font-weight:650;margin-block-end:6px;}
.afrocite-dashboard .af-serials {direction:ltr;unicode-bidi:isolate;}
.afrocite-dashboard .af-journal-card button {margin-block-start:auto;}
.afrocite-dashboard button.af-primary {background:var(--af-navy);color:#fff;border-color:var(--af-navy);}
.afrocite-dashboard button.af-primary:hover {background:var(--af-blue);border-color:var(--af-blue);}
.afrocite-dashboard a.af-visit {display:inline-block;background:var(--af-orange);color:#fff;border-color:var(--af-orange);font-weight:750;}
.afrocite-dashboard a.af-visit:hover {background:var(--af-navy);border-color:var(--af-navy);}
.afrocite-dashboard button.af-back {margin-block-end:14px;background:transparent;}

.afrocite-dashboard .af-profile {background:#fff;border:1px solid var(--af-line);border-radius:14px;padding:24px;margin-block-start:6px;}
.afrocite-dashboard .af-profile-title {margin:0 0 16px;font-size:clamp(24px,3vw,32px);}
.afrocite-dashboard .af-identity {display:grid;grid-template-columns:minmax(140px,1fr) minmax(0,2fr);gap:6px 20px;margin-block:12px 20px;}
.afrocite-dashboard .af-identity dt, .afrocite-dashboard .af-identity dd {margin:0;padding-block:5px;}
.afrocite-dashboard .af-identity dt {color:var(--af-muted);font-size:13px;}
.afrocite-dashboard .af-identity dd {font-weight:600;}
.afrocite-dashboard .af-profile-summary {display:flex;gap:14px;align-items:stretch;flex-wrap:wrap;}
.afrocite-dashboard .af-profile-summary .af-metric {min-width:180px;}
.afrocite-dashboard .af-status-pill {display:inline-flex;align-items:center;padding:9px 13px;background:var(--af-teal-soft);border:1px solid #bcdad7;border-radius:999px;font-size:13px;font-weight:700;}
.afrocite-dashboard .af-criteria-grid {display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:9px;margin:12px 0 20px;}
.afrocite-dashboard .af-criterion-chip {display:flex;flex-direction:column;gap:5px;padding:10px;background:var(--af-paper);border-radius:9px;font-size:12px;}
.afrocite-dashboard .af-criterion-chip bdi {font-size:20px;font-weight:800;}
.afrocite-dashboard .af-profile-score {max-width:320px;border-block-start:3px solid var(--af-orange);}
.afrocite-dashboard .af-dimension-grid {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:14px 0 22px;}
.afrocite-dashboard .af-dimension-card {padding:14px;background:var(--af-paper);border-radius:10px;border:1px solid var(--af-line);}
.afrocite-dashboard .af-dimension-card h6 {margin:.3em 0;}
.afrocite-dashboard .af-dimension-score {display:block;font-size:23px;font-weight:800;color:var(--af-navy);}
.afrocite-dashboard .af-state {font-size:18px;font-weight:700;}
.afrocite-dashboard .af-footer {padding:15px 34px;border-block-start:1px solid var(--af-line);font-size:12px;color:var(--af-muted);background:#fff;}
.afrocite-dashboard .af-footer-owner {color:var(--af-navy);font-weight:700;text-decoration:none;}
.afrocite-dashboard .af-footer-owner:hover {color:var(--af-orange);text-decoration:underline;}

.afrocite-dashboard[dir="rtl"] {font-family:Tahoma,"Segoe UI",Arial,sans-serif;line-height:1.8;}
.afrocite-dashboard[dir="rtl"] .af-nav button {line-height:1.8;}
.afrocite-dashboard[dir="rtl"] .af-flow-number, .afrocite-dashboard[dir="rtl"] .af-metric-value {text-align:right;}


/* v0.2.2.3 public-interface refinement */
.afrocite-dashboard .af-overview-phases {display:grid;grid-template-columns:minmax(240px,1fr) minmax(0,2fr);gap:16px;margin:18px 0 28px;align-items:stretch;}
.afrocite-dashboard .af-overview-phase {background:#fff;border:1px solid var(--af-line);border-radius:14px;padding:16px;min-width:0;}
.afrocite-dashboard .af-overview-phase-stage0 {border-block-start:4px solid var(--af-navy);}
.afrocite-dashboard .af-overview-phase-stage1 {border-block-start:4px solid var(--af-orange);}
.afrocite-dashboard .af-overview-phase-title {margin:0 0 12px;font-size:17px;}
.afrocite-dashboard .af-overview-stage0-cards {display:grid;grid-template-columns:1fr;gap:10px;}
.afrocite-dashboard .af-overview-stage1-cards {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;}
.afrocite-dashboard .af-overview-phases .af-metric {padding:14px;}
.afrocite-dashboard .af-overview-phases .af-metric-label {min-height:3.25em;display:flex;align-items:flex-end;}
.afrocite-dashboard .af-overview-phases .af-metric-value {margin-top:4px;}
.afrocite-dashboard .af-chart-note {font-size:12px;color:var(--af-muted);margin:4px 0 0;text-align:center;}
.afrocite-dashboard .af-hist-count {font-size:12px;white-space:nowrap;}
.afrocite-dashboard .af-filters {display:block;}
.afrocite-dashboard .af-filter-top {display:grid;grid-template-columns:minmax(0,1fr) auto;gap:14px;align-items:end;}
.afrocite-dashboard .af-filter-search {grid-column:auto;}
.afrocite-dashboard .af-reset-wrap {display:flex;align-items:end;}
.afrocite-dashboard .af-reset-button {white-space:nowrap;}
.afrocite-dashboard .af-filter-row {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-top:14px;}
.afrocite-dashboard .af-filter-sort {display:grid;grid-template-columns:minmax(180px,280px);margin-top:14px;}
@media (max-width:900px) {
  .afrocite-dashboard .af-overview-phases {grid-template-columns:1fr;}
  .afrocite-dashboard .af-overview-stage0-cards {grid-template-columns:repeat(2,minmax(0,1fr));}
  .afrocite-dashboard .af-overview-stage1-cards {grid-template-columns:repeat(2,minmax(0,1fr));}
  .afrocite-dashboard .af-filter-row {grid-template-columns:repeat(2,minmax(0,1fr));}
  .afrocite-dashboard .af-header {padding:24px;gap:20px;}
  .afrocite-dashboard .af-content {padding:8px 24px 28px;}
  .afrocite-dashboard .af-flow {grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;}
  .afrocite-dashboard .af-flow li {padding:12px;font-size:12px;min-height:94px;}
  .afrocite-dashboard .af-filters {grid-template-columns:repeat(2,minmax(0,1fr));}
  .afrocite-dashboard .af-filter-search {grid-column:1 / -1;}
  .afrocite-dashboard .af-measure-grid {grid-template-columns:1fr 1fr;}
  .afrocite-dashboard .af-logo {width:min(100%,340px);}
  .afrocite-dashboard .af-box-row {grid-template-columns:minmax(130px,210px) 1fr 70px;}
  .afrocite-dashboard .af-criteria-grid {grid-template-columns:repeat(3,minmax(0,1fr));}
  .afrocite-dashboard .af-dimension-grid {grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media (max-width:600px) {
  .afrocite-dashboard .af-overview-stage0-cards, .afrocite-dashboard .af-overview-stage1-cards {grid-template-columns:1fr;}
  .afrocite-dashboard .af-filter-top {grid-template-columns:minmax(0,1fr) auto;}
  .afrocite-dashboard .af-filter-row {grid-template-columns:1fr;}
  .afrocite-dashboard .af-filter-sort {grid-template-columns:1fr;}
  .afrocite-dashboard {margin:10px 0;border-radius:10px;font-size:15px;}
  .afrocite-dashboard .af-header {display:block;padding:20px 16px;}
  .afrocite-dashboard .af-title {font-size:34px;}
  .afrocite-dashboard .af-intro {font-size:15px;}
  .afrocite-dashboard .af-language {margin-block-start:16px;max-width:190px;}
  .afrocite-dashboard .af-nav {padding:8px 10px;gap:5px;flex-wrap:nowrap;overflow-x:auto;scrollbar-width:thin;}
  .afrocite-dashboard .af-nav button {flex:0 0 auto;padding:8px 11px;font-size:12px;white-space:nowrap;}
  .afrocite-dashboard .af-content {padding:8px 14px 20px;}
  .afrocite-dashboard .af-section-title {font-size:24px;}
  .afrocite-dashboard .af-pilot-note {padding:10px 12px;font-size:12px;}
  .afrocite-dashboard .af-flow {grid-template-columns:1fr;gap:12px;}
  .afrocite-dashboard .af-flow li {display:flex;gap:16px;align-items:center;padding:11px 14px;font-size:13px;min-height:0;}
  .afrocite-dashboard .af-flow-number {font-size:27px;min-width:60px;margin:0;}
  .afrocite-dashboard .af-flow li:not(:last-child)::after, .afrocite-dashboard[dir="rtl"] .af-flow li:not(:last-child)::after {content:'↓';left:calc(50% - 6px);right:auto;top:auto;bottom:-13px;font-size:17px;}
  .afrocite-dashboard .af-layers, .afrocite-dashboard .af-journal-grid, .afrocite-dashboard .af-filters, .afrocite-dashboard .af-robustness-grid, .afrocite-dashboard .af-measure-grid {grid-template-columns:1fr;}
  .afrocite-dashboard .af-filter-search {grid-column:auto;}
  .afrocite-dashboard .af-logo {width:min(100%,290px);}
  .afrocite-dashboard .af-chart, .afrocite-dashboard .af-card, .afrocite-dashboard .af-profile {padding:14px;}
  .afrocite-dashboard .af-stack-row {grid-template-columns:1fr;gap:6px;margin:14px 0;}
  .afrocite-dashboard .af-histogram {height:210px;gap:7px;padding-inline:0;}
  .afrocite-dashboard .af-hist-label {font-size:10px;}
  .afrocite-dashboard .af-box-row {grid-template-columns:1fr 64px;gap:7px;}
  .afrocite-dashboard .af-box-label {grid-column:1 / -1;}
  .afrocite-dashboard .af-funnel-block {min-height:50px;padding:10px 12px;}
  .afrocite-dashboard .af-funnel-label {font-size:12px;}
  .afrocite-dashboard .af-funnel-value {font-size:19px;}
  .afrocite-dashboard .af-identity {grid-template-columns:1fr;gap:0;}
  .afrocite-dashboard .af-identity dd {padding-block-end:11px;}
  .afrocite-dashboard .af-criteria-grid {grid-template-columns:repeat(2,minmax(0,1fr));}
  .afrocite-dashboard .af-dimension-grid {grid-template-columns:1fr;}
  .afrocite-dashboard .af-footer {padding:13px 16px;}
}
@media (prefers-reduced-motion:reduce) {
  .afrocite-dashboard *, .afrocite-dashboard *::before, .afrocite-dashboard *::after {scroll-behavior:auto;transition:none;animation:none;}
}

.afrocite-dashboard .af-stack-label, .afrocite-dashboard .af-box-label, .afrocite-dashboard .af-metric-label, .afrocite-dashboard .af-journal-card, .afrocite-dashboard .af-section-lead {overflow-wrap:normal;word-break:normal;hyphens:none;text-wrap:pretty;}
.afrocite-dashboard .af-identity dd {overflow-wrap:anywhere;}


/* v0.2.2.5 overview stats + explorer tools */
.afrocite-dashboard .af-overview-phases {grid-template-columns:minmax(250px,.82fr) minmax(0,1.9fr);gap:18px;}
.afrocite-dashboard .af-overview-phase {padding:0;overflow:hidden;border:1px solid var(--af-line);box-shadow:0 5px 16px rgba(8,47,89,.035);}
.afrocite-dashboard .af-overview-phase-stage0 {background:linear-gradient(180deg,#f8fbfe 0%,#f3f8fc 100%);border-block-start:0;}
.afrocite-dashboard .af-overview-phase-stage1 {background:linear-gradient(180deg,#fffaf4 0%,#fff7ec 100%);border-block-start:0;}
.afrocite-dashboard .af-overview-phase-head {display:flex;align-items:center;gap:10px;padding:16px 18px 13px;border-block-end:1px solid rgba(8,47,89,.10);}
.afrocite-dashboard .af-overview-phase-title {margin:0;font-size:17px;}
.afrocite-dashboard .af-stat-icon {width:38px;height:38px;display:inline-flex;align-items:center;justify-content:center;flex:0 0 38px;border-radius:50%;background:var(--af-blue-soft);color:var(--af-navy);}
.afrocite-dashboard .af-overview-phase-stage0 .af-stat-icon {background:var(--af-blue-soft);color:var(--af-navy);}
.afrocite-dashboard .af-overview-phase-stage1 .af-stat-icon {background:#ffe7c4;color:#b96300;}
.afrocite-dashboard .af-stat-icon svg {width:21px;height:21px;display:block;}
.afrocite-dashboard .af-overview-stage0-stats {display:grid;grid-template-columns:1fr;padding:0 18px;}
.afrocite-dashboard .af-overview-stage1-stats {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));padding:0 12px;}
.afrocite-dashboard .af-overview-stat {display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:12px;min-width:0;padding:18px 10px;background:transparent;}
.afrocite-dashboard .af-overview-stage0-stats .af-overview-stat + .af-overview-stat {border-block-start:1px solid rgba(8,47,89,.11);}
.afrocite-dashboard .af-overview-stage1-stats .af-overview-stat:nth-child(-n+3) {border-block-end:1px solid rgba(8,47,89,.11);}
.afrocite-dashboard .af-overview-stage1-stats .af-overview-stat:not(:nth-child(3n)) {border-inline-end:1px solid rgba(8,47,89,.11);}
.afrocite-dashboard .af-overview-stat-copy {min-width:0;}
.afrocite-dashboard .af-overview-stat-value {display:block;font-size:clamp(27px,3vw,34px);line-height:1.05;font-weight:820;color:var(--af-navy);margin-block-end:5px;}
.afrocite-dashboard .af-overview-stat-label {display:block;font-size:13px;line-height:1.45;font-weight:680;color:var(--af-muted);text-wrap:pretty;}
.afrocite-dashboard .af-sort-row,.afrocite-dashboard .af-export-row {display:flex;align-items:center;gap:12px;margin-top:14px;min-width:0;}
.afrocite-dashboard .af-sort-row {flex-wrap:nowrap;}
.afrocite-dashboard .af-sort-label,.afrocite-dashboard .af-export-label {font-size:13px;font-weight:750;white-space:nowrap;color:var(--af-navy);}
.afrocite-dashboard .af-sort-segments {display:inline-flex;align-items:stretch;flex-wrap:nowrap;min-width:0;border:1px solid #aab9c7;border-radius:9px;overflow:hidden;background:#fff;}
.afrocite-dashboard .af-sort-button {min-height:40px;border:0;border-radius:0;background:#fff;padding:8px 15px;white-space:nowrap;font-size:13px;font-weight:650;}
.afrocite-dashboard .af-sort-button + .af-sort-button {border-inline-start:1px solid var(--af-line);}
.afrocite-dashboard .af-sort-button.is-active,.afrocite-dashboard .af-sort-button[aria-pressed="true"] {background:var(--af-navy);color:#fff;}
.afrocite-dashboard .af-sort-button.is-active:hover,.afrocite-dashboard .af-sort-button[aria-pressed="true"]:hover {background:var(--af-navy);}
.afrocite-dashboard .af-export-actions {display:flex;gap:8px;flex-wrap:wrap;}
.afrocite-dashboard .af-export-button {min-height:40px;padding:8px 13px;background:#fff;white-space:nowrap;}
.afrocite-dashboard .af-export-button:first-child {border-color:var(--af-blue);}
.afrocite-dashboard .af-export-button:last-child {border-color:var(--af-orange);}
.afrocite-dashboard button:disabled {opacity:.45;cursor:not-allowed;background:#f4f6f8;}
@media (max-width:900px) {
  .afrocite-dashboard .af-overview-phases {grid-template-columns:1fr;}
  .afrocite-dashboard .af-overview-stage0-stats {grid-template-columns:repeat(2,minmax(0,1fr));}
  .afrocite-dashboard .af-overview-stage0-stats .af-overview-stat + .af-overview-stat {border-block-start:0;border-inline-start:1px solid rgba(8,47,89,.11);}
  .afrocite-dashboard .af-overview-stage1-stats {grid-template-columns:repeat(3,minmax(0,1fr));}
  .afrocite-dashboard .af-sort-row {overflow-x:auto;padding-block-end:3px;scrollbar-width:thin;}
}
@media (max-width:600px) {
  .afrocite-dashboard .af-overview-stage0-stats {grid-template-columns:1fr;}
  .afrocite-dashboard .af-overview-stage0-stats .af-overview-stat + .af-overview-stat {border-inline-start:0;border-block-start:1px solid rgba(8,47,89,.11);}
  .afrocite-dashboard .af-overview-stage1-stats {grid-template-columns:1fr;}
  .afrocite-dashboard .af-overview-stage1-stats .af-overview-stat:nth-child(-n+3),.afrocite-dashboard .af-overview-stage1-stats .af-overview-stat:not(:nth-child(3n)) {border-inline-end:0;border-block-end:0;}
  .afrocite-dashboard .af-overview-stage1-stats .af-overview-stat + .af-overview-stat {border-block-start:1px solid rgba(8,47,89,.11);}
  .afrocite-dashboard .af-sort-row {align-items:flex-start;flex-wrap:wrap;overflow:visible;}
  .afrocite-dashboard .af-sort-segments {display:flex;flex-wrap:wrap;overflow:visible;border:0;gap:6px;background:transparent;}
  .afrocite-dashboard .af-sort-button {border:1px solid #aab9c7!important;border-radius:8px;}
  .afrocite-dashboard .af-export-row {align-items:flex-start;flex-direction:column;}
}


/* v0.2.2.5 explorer toolbar refinement */
.afrocite-dashboard .af-explorer-actions-row {
  display:flex;
  align-items:center;
  justify-content:flex-start;
  gap:28px;
  margin-top:14px;
  min-width:0;
  flex-wrap:nowrap;
}
.afrocite-dashboard .af-sort-row,
.afrocite-dashboard .af-export-row {
  display:flex;
  align-items:center;
  gap:10px;
  margin-top:0;
  min-width:0;
  flex-wrap:nowrap;
}
.afrocite-dashboard .af-sort-label,
.afrocite-dashboard .af-export-label {
  font-size:13px;
  font-weight:800;
  white-space:nowrap;
  color:var(--af-navy);
  background:transparent;
  border:0;
  padding:0;
}
.afrocite-dashboard .af-export-actions {display:flex;align-items:center;gap:8px;flex-wrap:nowrap;}
@media (max-width:1050px) {
  .afrocite-dashboard .af-explorer-actions-row {gap:18px;overflow-x:auto;padding-block-end:4px;scrollbar-width:thin;}
}
@media (max-width:720px) {
  .afrocite-dashboard .af-explorer-actions-row {align-items:flex-start;flex-direction:column;gap:12px;overflow:visible;}
  .afrocite-dashboard .af-sort-row,.afrocite-dashboard .af-export-row {align-items:flex-start;flex-wrap:wrap;}
  .afrocite-dashboard .af-export-actions {flex-wrap:wrap;}
}

/* v0.2.2.6 RTL overview-stat alignment fix */
.afrocite-dashboard[dir="rtl"] .af-overview-stat-copy {
  text-align: right;
}
.afrocite-dashboard[dir="rtl"] .af-overview-stat-value,
.afrocite-dashboard[dir="rtl"] .af-overview-stat-label {
  text-align: right;
}

/* v0.2.2.7 visual-priority swap: Stage 2 inherits the former Stage 1 warm treatment; Stage 1 inherits the former Stage 2 cool treatment. Layout/content unchanged. */
