#dash-root { --dash-gutter: 0; }

.apt {
  --bg: #0A0F1A; --bg2: #070B14; --surface: #131A26; --surface2: #0E1420;
  --gold: #C8A97E; --gold-soft: #D9BE93; --ivory: #F5F1E6; --ivory-dim: #C8C3B4;
  --steel: #5B7B9A; --muted: #8C93A3; --line: rgba(245,241,230,.08); --line-strong: rgba(245,241,230,.18);
  --ember: #E0874E; --ok: #8FBF9A;
  --serif: "Playfair Display", "Cormorant Garamond", var(--font-anthropic-serif), Georgia, serif;
  --serif2: "Cormorant Garamond", "Playfair Display", var(--font-anthropic-serif), Georgia, serif;
  --sans: "Outfit", var(--font-anthropic-sans), ui-sans-serif, system-ui, sans-serif;
  --ease: cubic-bezier(.22,.8,.24,1);
  position: relative; overflow: hidden; color: var(--ivory); font-family: var(--sans);
  background:
    radial-gradient(1200px 600px at 70% -10%, rgba(200,169,126,.10), transparent 60%),
    radial-gradient(900px 500px at -10% 30%, rgba(91,123,154,.14), transparent 60%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg2) 100%);
  font-variant-numeric: tabular-nums; line-height: 1.45;
}
.apt *, .apt *::before, .apt *::after { box-sizing: border-box; }
.apt-stage {
  position: relative; padding: clamp(16px, 3vw, 40px); max-width: 1480px; margin-inline: auto;
  transform-origin: 0% 50%; transition: transform .9s var(--ease), filter .9s var(--ease), opacity .9s var(--ease);
}
.apt.is-open .apt-stage { transform: perspective(2200px) rotateY(9deg) translateX(-2%) scale(.97); filter: brightness(.55) saturate(.8); }
.apt-scrim { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,0) 30%, rgba(0,0,0,.45)); opacity: 0; pointer-events: none; transition: opacity .9s var(--ease); z-index: 4; }
.apt.is-open .apt-scrim { opacity: 1; pointer-events: auto; }

/* ---------- type ---------- */
.apt-eyebrow { font-size: 11px; letter-spacing: .32em; text-transform: uppercase; color: var(--gold); }
.apt-h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(34px, 5vw, 64px); line-height: 1.02; margin: 10px 0 12px; letter-spacing: -.01em; }
.apt-h1 em { font-style: italic; color: var(--gold-soft); }
.apt-h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(24px, 3vw, 36px); margin: 0 0 4px; }
.apt-h3 { font-size: 15px; font-weight: 500; margin: 0 0 2px; color: var(--ivory); letter-spacing: .01em; }
.apt-note { font-size: 12.5px; color: var(--muted); margin: 0 0 14px; }
.apt-lede { font-family: var(--serif2); font-size: clamp(18px, 2vw, 23px); color: var(--ivory-dim); max-width: 62ch; margin: 0; }
.apt-lede b { color: var(--ivory); font-weight: 600; }
.apt-small { font-size: 11.5px; color: var(--muted); }
.apt a { color: var(--gold-soft); }

/* ---------- header ---------- */
.apt-top { position: sticky; top: 0; z-index: 6; margin-inline: -12px; padding: 10px 12px; border-radius: 0 0 16px 16px; background: linear-gradient(180deg, rgba(10,15,26,.92), rgba(10,15,26,.6)); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); display: flex; justify-content: space-between; gap: 16px; align-items: center; flex-wrap: wrap; margin-bottom: 26px; }
.apt-brand { display: flex; align-items: center; gap: 12px; font-size: 12px; letter-spacing: .28em; color: var(--ivory); }
.apt-brand i { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-family: var(--serif); letter-spacing: 0; font-size: 15px; color: var(--bg);
  background: radial-gradient(circle at 30% 30%, #F0DDB8, var(--gold) 55%, #8A6E46); box-shadow: 0 0 0 1px rgba(255,255,255,.15) inset, 0 6px 18px rgba(200,169,126,.35); }
.apt-hero { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 28px; align-items: end; margin-bottom: 26px; }
@media (max-width: 860px) { .apt-hero { grid-template-columns: 1fr; } }

/* ---------- raised controls ---------- */
.apt-btn {
  appearance: none; border: 0; cursor: pointer; font: inherit; font-size: 12px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--ivory); padding: 11px 18px; border-radius: 10px;
  background: linear-gradient(180deg, rgba(200,169,126,.14), rgba(200,169,126,.04));
  box-shadow: 0 1px 0 rgba(255,255,255,.08) inset, 0 -1px 0 rgba(0,0,0,.55) inset, 0 8px 22px rgba(0,0,0,.55), 0 0 0 1px rgba(200,169,126,.22);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s;
}
.apt-btn:hover { transform: translateY(-2px); box-shadow: 0 1px 0 rgba(255,255,255,.12) inset, 0 -1px 0 rgba(0,0,0,.55) inset, 0 14px 30px rgba(0,0,0,.6), 0 0 0 1px rgba(200,169,126,.45), 0 0 26px rgba(200,169,126,.18); }
.apt-btn:active { transform: translateY(1px); box-shadow: 0 2px 6px rgba(0,0,0,.6) inset, 0 0 0 1px rgba(200,169,126,.3); }
.apt-btn.gold { background: linear-gradient(180deg, #DCC197, #B8966A); color: #0A0F1A; font-weight: 600; box-shadow: 0 1px 0 rgba(255,255,255,.5) inset, 0 -2px 0 rgba(0,0,0,.25) inset, 0 10px 26px rgba(200,169,126,.28); }
.apt-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.apt-chip {
  appearance: none; border: 0; cursor: pointer; font: inherit; font-size: 12px; color: var(--ivory-dim); padding: 8px 13px; border-radius: 999px;
  background: linear-gradient(180deg, rgba(245,241,230,.07), rgba(245,241,230,.02));
  box-shadow: 0 1px 0 rgba(255,255,255,.07) inset, 0 -1px 0 rgba(0,0,0,.5) inset, 0 4px 12px rgba(0,0,0,.45), 0 0 0 1px var(--line);
  transition: all .25s var(--ease);
}
.apt-chip:hover { color: var(--ivory); transform: translateY(-1px); }
.apt-chip[aria-pressed="true"] { color: #0A0F1A; background: linear-gradient(180deg, #E6CDA2, #BE9C6E); box-shadow: 0 1px 0 rgba(255,255,255,.55) inset, 0 6px 18px rgba(200,169,126,.3); }

/* ---------- breadcrumb rail ---------- */
.apt-rail { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; padding: 8px; border-radius: 14px;
  background: rgba(19,26,38,.55); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 0 0 1px var(--line) inset, 0 20px 40px rgba(0,0,0,.35); }
.apt-rail button { appearance: none; border: 0; background: transparent; color: var(--muted); font: inherit; font-size: 12.5px; padding: 7px 11px; border-radius: 9px; cursor: pointer; transition: all .25s; }
.apt-rail button:hover { color: var(--ivory); background: rgba(245,241,230,.05); }
.apt-rail button.on { color: var(--bg); background: var(--gold); }
.apt-rail span.sep { color: var(--line-strong); }
.apt-rail .lvl { font-size: 9.5px; letter-spacing: .2em; text-transform: uppercase; display: block; opacity: .7; }

/* ---------- glass cards ---------- */
.apt-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); }
.apt-card {
  position: relative; border-radius: 18px; padding: 20px; min-width: 0;
  background: linear-gradient(180deg, rgba(30,40,58,.62), rgba(14,20,32,.72));
  backdrop-filter: blur(16px) saturate(1.2); -webkit-backdrop-filter: blur(16px) saturate(1.2);
  box-shadow: 0 1px 0 rgba(255,255,255,.07) inset, 0 -1px 0 rgba(0,0,0,.6) inset, 0 0 0 1px var(--line), 0 24px 50px rgba(0,0,0,.45);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.apt-card::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(135deg, rgba(255,255,255,.06), transparent 35%); }
.apt-card.lift:hover { transform: translateY(-4px); box-shadow: 0 1px 0 rgba(255,255,255,.1) inset, 0 0 0 1px rgba(200,169,126,.25), 0 34px 70px rgba(0,0,0,.55); }
.apt-card.span2 { grid-column: span 2; }
@media (max-width: 900px) { .apt-card.span2 { grid-column: auto; } }

.apt-section { margin-top: 56px; scroll-margin-top: 20px; }
.apt-section-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.apt-num { font-family: var(--serif); color: var(--gold); font-size: 14px; letter-spacing: .2em; }

/* ---------- KPIs ---------- */
.apt-kpis { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 12.5rem), 1fr)); }
.kpi { position: relative; padding: 16px 16px 14px; border-radius: 16px; min-width: 0;
  background: linear-gradient(160deg, rgba(40,52,74,.55), rgba(12,17,28,.75));
  box-shadow: 0 1px 0 rgba(255,255,255,.08) inset, 0 -2px 0 rgba(0,0,0,.55) inset, 0 0 0 1px var(--line), 0 14px 30px rgba(0,0,0,.42);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.kpi:hover { transform: translateY(-3px) rotateX(2deg); box-shadow: 0 1px 0 rgba(255,255,255,.1) inset, 0 0 0 1px rgba(200,169,126,.3), 0 24px 44px rgba(0,0,0,.5); }
.kpi-label { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); min-height: 2.6em; }
.kpi-val { font-family: var(--serif); font-size: clamp(26px, 3vw, 38px); font-weight: 400; line-height: 1.05; margin: 6px 0 4px; color: var(--ivory);
  text-shadow: 0 1px 0 rgba(0,0,0,.6), 0 0 22px rgba(200,169,126,.12); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kpi-sub { font-size: 11.5px; color: var(--ivory-dim); opacity: .8; }
.kpi .vs { display: block; margin-top: 8px; padding-top: 8px; border-top: 1px dashed var(--line-strong); font-size: 12px; color: var(--ivory-dim); }
.kpi .vs b { font-family: var(--serif); font-weight: 400; color: var(--gold-soft); font-size: 17px; }
.kpi .cmp { display: block; margin-top: 9px; font-size: 11px; line-height: 1.35; color: var(--muted); }
.kpi .cmp::before { content: ""; display: inline-block; width: 5px; height: 5px; border-radius: 50%; margin-right: 6px; vertical-align: 1px; background: var(--muted); }
.kpi .cmp.ok::before { background: var(--gold); box-shadow: 0 0 8px rgba(200,169,126,.55); }
.kpi .cmp.warn::before { background: var(--ember); }
.kpi.tier-us::after, .kpi.tier-or::after { position: absolute; top: 12px; right: 12px; font-size: 9.5px; letter-spacing: .2em; padding: 3px 7px; border-radius: 6px; }
.kpi.tier-us::after { content: "US"; color: var(--steel); box-shadow: 0 0 0 1px rgba(91,123,154,.5) inset; }
.kpi.tier-or::after { content: "OR"; color: var(--gold); box-shadow: 0 0 0 1px rgba(200,169,126,.5) inset; }

/* ---------- atlas ---------- */
.apt-atlas { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(300px, 1fr); gap: 18px; }
@media (max-width: 1100px) { .apt-atlas { grid-template-columns: 1fr; } }
.apt-mapcard { padding: 18px 18px 12px; overflow: hidden; }
.apt-mapwrap { position: relative; margin-top: 8px; perspective: 1500px; min-height: 380px; }
.apt-map3d { position: relative; transform-style: preserve-3d; transform: rotateX(var(--rx, 12deg)) rotateY(var(--ry, 0deg)) rotateZ(var(--rz, -1.5deg)); transition: transform .8s var(--ease); transform-origin: 50% 60%; }
.apt-map3d canvas, .apt-map3d svg { position: absolute; left: 0; top: 0; display: block; }
.apt-map3d canvas.base { position: relative; }
.apt-map3d canvas { pointer-events: none; }   /* the svg hit layer owns the pointer */
.apt-map3d canvas.dots { mix-blend-mode: screen; }
.apt-map3d canvas.lift { transition: transform .45s var(--ease), opacity .3s; filter: drop-shadow(0 16px 14px rgba(0,0,0,.7)) drop-shadow(0 0 18px rgba(200,169,126,.25)); pointer-events: none; }
.apt-map3d canvas.lift.up { transform: translateY(-16px); }
.apt-map3d canvas.shadow { filter: blur(7px); opacity: 0; transition: opacity .45s var(--ease); pointer-events: none; }
.apt-map3d canvas.shadow.up { opacity: .85; }
.apt-map3d svg path.cty { fill: transparent; stroke: rgba(245,241,230,.16); stroke-width: .6; cursor: pointer; transition: transform .45s var(--ease), stroke .25s, stroke-width .25s; }
.apt-map3d svg path.cty.hot { stroke: #F3DDA8; stroke-width: 1.6; transform: translateY(-16px); filter: drop-shadow(0 0 6px rgba(243,221,168,.7)); }
.apt-map3d svg path.cty.sel { stroke: var(--gold); stroke-width: 2; transform: translateY(-16px); }
.apt-map3d svg text.lab { fill: var(--ivory); font-size: 11px; font-family: var(--sans); paint-order: stroke; stroke: rgba(7,11,20,.85); stroke-width: 3px; pointer-events: none; letter-spacing: .04em; }
.apt-legend { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 6px; font-size: 11.5px; color: var(--muted); }
.apt-legend .ramp { flex: 1 1 160px; height: 10px; border-radius: 6px; box-shadow: 0 0 0 1px var(--line) inset, 0 4px 10px rgba(0,0,0,.4); }
.apt-compass { position: absolute; right: 8px; bottom: 6px; font-size: 10px; letter-spacing: .3em; color: var(--muted); }

/* ---------- inspector ---------- */
.apt-insp { display: flex; flex-direction: column; gap: 14px; min-height: 520px; }
.apt-insp .back { align-self: flex-start; }
.apt-insp-title { font-family: var(--serif); font-size: clamp(28px, 3vw, 40px); font-weight: 400; line-height: 1; margin: 2px 0 2px; }
.apt-mini { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; }
.apt-mini .m { padding: 11px 12px; border-radius: 12px; background: rgba(7,11,20,.45); box-shadow: 0 0 0 1px var(--line) inset, 0 6px 16px rgba(0,0,0,.35); }
.apt-mini .m span { display: block; font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.apt-mini .m b { font-family: var(--serif); font-weight: 400; font-size: 22px; color: var(--ivory); }
.apt-mini .m i { font-style: normal; font-size: 11px; color: var(--gold-soft); margin-left: 4px; }
.apt-insp-anim { animation: aptIn .55s var(--ease) both; }
@keyframes aptIn { from { opacity: 0; transform: translateY(10px) scale(.985); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }

/* ---------- hbars ---------- */
.hb { display: grid; gap: 7px; }
.hb-row { display: grid; grid-template-columns: minmax(90px, 38%) 1fr auto; gap: 10px; align-items: center; font-size: 12.5px; cursor: default; padding: 2px 4px; border-radius: 8px; transition: background .2s; }
.hb-row.click { cursor: pointer; }
.hb-row.click:hover { background: rgba(200,169,126,.08); }
.hb-row .lab { color: var(--ivory-dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hb-row .val { color: var(--ivory); font-size: 12px; min-width: 4.5em; text-align: right; }
.hb-track { position: relative; height: 12px; border-radius: 7px; background: rgba(7,11,20,.6); box-shadow: 0 1px 2px rgba(0,0,0,.7) inset, 0 0 0 1px var(--line); }
.hb-bar { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 7px; transform-origin: left; animation: hbGrow .9s var(--ease) both;
  background: linear-gradient(180deg, #E8CFA4, #A9875A); box-shadow: 0 1px 0 rgba(255,255,255,.45) inset, 0 3px 8px rgba(200,169,126,.25); }
.hb-bar.steel { background: linear-gradient(180deg, #8EA9C4, #4A6884); box-shadow: 0 1px 0 rgba(255,255,255,.35) inset, 0 3px 8px rgba(91,123,154,.25); }
.hb-bar.ember { background: linear-gradient(180deg, #F2A776, #B9622E); }
.hb-bar.thin { top: 3px; bottom: 3px; opacity: .9; }
.hb-tick { position: absolute; top: -3px; bottom: -3px; width: 2px; border-radius: 2px; background: var(--ivory); box-shadow: 0 0 6px rgba(245,241,230,.6); }
@keyframes hbGrow { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* ---------- svg charts ---------- */
.apt-chart { position: relative; min-height: 220px; }
.apt-chart svg { display: block; overflow: visible; }
.apt-chart .ax text { fill: var(--muted); font-size: 11px; font-family: var(--sans); }
.apt-chart .ax line, .apt-chart .ax path { stroke: var(--line-strong); }
.apt-chart .grid line { stroke: var(--line); }
.apt-chart rect.bar { transition: opacity .2s, filter .2s; }
.apt-chart rect.bar:hover { filter: brightness(1.25) drop-shadow(0 0 8px rgba(200,169,126,.5)); }
.apt-tip { position: absolute; z-index: 30; pointer-events: none; min-width: 150px; max-width: 280px; padding: 10px 12px; border-radius: 12px; font-size: 12px;
  background: rgba(13,19,31,.9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); color: var(--ivory);
  box-shadow: 0 0 0 1px rgba(200,169,126,.3), 0 18px 40px rgba(0,0,0,.6); opacity: 0; transform: translateY(6px) scale(.98); transition: opacity .18s, transform .18s; }
.apt-tip.on { opacity: 1; transform: none; }
.apt-tip .t { font-family: var(--serif); font-size: 17px; margin-bottom: 4px; }
.apt-tip .r { display: flex; justify-content: space-between; gap: 14px; color: var(--ivory-dim); }
.apt-tip .r b { color: var(--ivory); font-weight: 500; }
.apt-tip .h { color: var(--gold-soft); font-size: 11px; margin-top: 6px; letter-spacing: .06em; }

/* ---------- tables ---------- */
.apt-tablebox { max-height: 420px; overflow: auto; border-radius: 12px; box-shadow: 0 0 0 1px var(--line) inset; }
.apt-table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.apt-table th { position: sticky; top: 0; z-index: 1; background: #141C2A; text-align: left; font-weight: 500; color: var(--gold-soft); padding: 0; }
.apt-table th button { all: unset; cursor: pointer; display: block; padding: 10px 10px; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.apt-table td { padding: 8px 10px; border-top: 1px solid var(--line); color: var(--ivory-dim); }
.apt-table td.n, .apt-table th.n { text-align: right; }
.apt-table tr:hover td { background: rgba(200,169,126,.06); color: var(--ivory); }
.apt-table tr.sel td { background: rgba(200,169,126,.12); color: var(--ivory); }
.apt-search { all: unset; box-sizing: border-box; width: 100%; padding: 10px 14px; border-radius: 10px; font-size: 13px; color: var(--ivory); margin-bottom: 10px;
  background: rgba(7,11,20,.55); box-shadow: 0 2px 6px rgba(0,0,0,.6) inset, 0 0 0 1px var(--line); }

/* ---------- door panel ---------- */
.apt-door {
  position: absolute; right: 0; top: 0; z-index: 10; width: min(380px, 92%); max-height: calc(100vh - 24px); overflow: auto; padding: 22px;
  border-radius: 22px 0 0 22px; background: linear-gradient(180deg, rgba(28,38,56,.78), rgba(10,15,26,.88));
  backdrop-filter: blur(24px) saturate(1.3); -webkit-backdrop-filter: blur(24px) saturate(1.3);
  box-shadow: -30px 0 80px rgba(0,0,0,.6), 0 0 0 1px rgba(200,169,126,.22) inset, 1px 0 0 rgba(255,255,255,.08) inset;
  transform-origin: 100% 50%; transform: perspective(1600px) translateX(105%) rotateY(-28deg); opacity: 0; visibility: hidden;
  transition: transform .9s var(--ease), opacity .6s var(--ease), visibility 0s linear .9s;
}
.apt.is-open .apt-door { transform: perspective(1600px) translateX(0) rotateY(0); opacity: 1; visibility: visible; transition: transform .9s var(--ease), opacity .6s var(--ease); }
.apt-door h4 { font-size: 10.5px; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); margin: 22px 0 10px; font-weight: 500; }
.apt-door .opt { display: block; width: 100%; text-align: left; margin-bottom: 8px; padding: 11px 13px; border-radius: 12px; border: 0; cursor: pointer; font: inherit; color: var(--ivory-dim);
  background: linear-gradient(180deg, rgba(245,241,230,.06), rgba(245,241,230,.015)); box-shadow: 0 1px 0 rgba(255,255,255,.06) inset, 0 -1px 0 rgba(0,0,0,.5) inset, 0 0 0 1px var(--line), 0 6px 14px rgba(0,0,0,.35);
  transition: all .25s var(--ease); }
.apt-door .opt:hover { transform: translateX(-3px); color: var(--ivory); }
.apt-door .opt[aria-pressed="true"] { color: var(--ivory); box-shadow: 0 0 0 1px rgba(200,169,126,.6) inset, 0 0 22px rgba(200,169,126,.15), 0 8px 18px rgba(0,0,0,.4); }
.apt-door .opt b { display: block; font-weight: 500; font-size: 13.5px; color: inherit; }
.apt-door .opt small { display: block; font-size: 11.5px; color: var(--muted); margin-top: 2px; }
.apt-select { all: unset; box-sizing: border-box; width: 100%; padding: 11px 14px; border-radius: 12px; font-size: 13px; color: var(--ivory); cursor: pointer;
  background: rgba(7,11,20,.6); box-shadow: 0 2px 6px rgba(0,0,0,.6) inset, 0 0 0 1px var(--line-strong); }
.apt-select option { background: #131A26; color: var(--ivory); }
.apt-doorhead { display: flex; justify-content: space-between; align-items: center; }
.apt-x { all: unset; cursor: pointer; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-size: 18px; color: var(--ivory);
  box-shadow: 0 0 0 1px var(--line-strong) inset, 0 6px 14px rgba(0,0,0,.45); transition: transform .3s var(--ease); }
.apt-x:hover { transform: rotate(90deg); }
.apt-jump { display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------- misc ---------- */
.apt-gaps { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr)); }
.apt-gap { padding: 14px 16px; border-radius: 14px; background: rgba(7,11,20,.45); box-shadow: 0 0 0 1px var(--line) inset; font-size: 13px; color: var(--ivory-dim); }
.apt-gap b { display: block; color: var(--gold-soft); font-weight: 500; margin-bottom: 4px; }
.apt-legendrow { display: flex; gap: 14px; flex-wrap: wrap; font-size: 11.5px; color: var(--muted); margin-bottom: 8px; }
.apt-legendrow i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.apt-foot { margin-top: 60px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 11.5px; color: var(--muted); }
.apt-empty { color: var(--muted); font-size: 12.5px; padding: 18px 0; }
.apt-fail { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 120px; color: var(--muted); font-size: 12px; }
.apt-fail::before { content: ""; width: .375rem; height: .375rem; border-radius: 50%; background: var(--color-bad); }
.apt [data-dash-source-state=refreshing] { opacity: .5; transition: opacity var(--cds-dur-slow); }
.apt [data-dash-source-state=empty] { color: transparent; }
@media (prefers-reduced-motion: reduce) { .apt *, .apt *::before { animation: none !important; transition: none !important; } }

/* ============================================================
   Embossed glass — the atlas now uses the same raised treatment
   as .card-3d-raised on the main site: inset top highlight,
   inner bottom shade, layered drop shadows, a fine noise wash
   and a gold radial glow. Same palette, same depth language.
   ============================================================ */
.apt-card, .kpi, .apt-mapcard, .apt-door {
  background-image:
    radial-gradient(circle at 30% 0%, rgba(200,169,126,.10), transparent 62%),
    linear-gradient(180deg, rgba(30,40,58,.66), rgba(14,20,32,.76));
}
.apt-card {
  box-shadow:
    0 1px 0 rgba(255,255,255,.10) inset,
    0 -1px 0 rgba(0,0,0,.65) inset,
    0 18px 40px -20px rgba(0,0,0,.85),
    0 34px 70px -40px rgba(0,0,0,.9),
    0 0 0 1px var(--line);
}
/* noise wash, matching the main site's card-3d-raised::before */
.apt-card::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.035 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: .55; mix-blend-mode: overlay;
}
.apt-card.lift:hover {
  box-shadow:
    0 1px 0 rgba(255,255,255,.12) inset,
    0 -1px 0 rgba(0,0,0,.65) inset,
    0 28px 50px -20px rgba(0,0,0,.85),
    0 46px 90px -40px rgba(200,169,126,.20),
    0 0 0 1px rgba(200,169,126,.30);
}
.kpi {
  box-shadow:
    0 1px 0 rgba(255,255,255,.10) inset,
    0 -2px 0 rgba(0,0,0,.62) inset,
    0 14px 30px -14px rgba(0,0,0,.8),
    0 0 0 1px var(--line);
}
.kpi:hover {
  box-shadow:
    0 1px 0 rgba(255,255,255,.12) inset,
    0 -2px 0 rgba(0,0,0,.62) inset,
    0 24px 44px -18px rgba(0,0,0,.85),
    0 0 0 1px rgba(200,169,126,.32),
    0 30px 60px -40px rgba(200,169,126,.22);
}
.apt-mapcard {
  box-shadow:
    0 1px 0 rgba(255,255,255,.11) inset,
    0 -1px 0 rgba(0,0,0,.7) inset,
    0 26px 60px -24px rgba(0,0,0,.9),
    0 44px 100px -50px rgba(200,169,126,.22),
    0 0 0 1px rgba(200,169,126,.18);
}

/* ---------- three-tier altimeter ---------- */
.apt-alt {
  display: flex; gap: 6px; padding: 6px; border-radius: 14px; flex-wrap: wrap;
  background: rgba(19,26,38,.55); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 0 0 1px var(--line) inset, 0 20px 40px rgba(0,0,0,.35);
}
.apt-alt button {
  appearance: none; border: 0; cursor: pointer; font: inherit; flex: 1 1 0; min-width: 108px;
  text-align: left; padding: 9px 12px; border-radius: 10px; color: var(--muted);
  background: transparent; transition: all .3s var(--ease);
}
.apt-alt button:hover { color: var(--ivory); background: rgba(245,241,230,.05); }
.apt-alt button.on {
  color: #0A0F1A; background: linear-gradient(180deg, #E6CDA2, #BE9C6E);
  box-shadow: 0 1px 0 rgba(255,255,255,.5) inset, 0 6px 18px rgba(200,169,126,.28);
}
.apt-alt .ft { display: block; font-size: 9.5px; letter-spacing: .22em; text-transform: uppercase; opacity: .75; }
.apt-alt .nm { display: block; font-size: 12.5px; font-weight: 500; margin-top: 1px; }
.apt-alt button.on .ft { opacity: .85; }
.apt-asof { margin: 10px 0 0; font-size: 11px; line-height: 1.5; color: var(--muted); }

/* ---------- tier badge on each section ---------- */
.apt-tier {
  display: inline-flex; align-items: center; gap: 8px; margin: 6px 0 0;
  font-size: 9.5px; letter-spacing: .28em; text-transform: uppercase; color: var(--steel);
}
.apt-tier::before { content: ""; width: 18px; height: 1px; background: currentColor; opacity: .6; }

/* ---------- drawer: docks either side ---------- */
.apt-doortools { display: flex; gap: 8px; }
.apt-door.is-left {
  left: 0; right: auto; border-radius: 0 22px 22px 0; transform-origin: 0% 50%;
  transform: perspective(1600px) translateX(-105%) rotateY(28deg);
  box-shadow: 30px 0 80px rgba(0,0,0,.6), 0 0 0 1px rgba(200,169,126,.22) inset, -1px 0 0 rgba(255,255,255,.08) inset;
}
.apt.is-open .apt-door.is-left { transform: perspective(1600px) translateX(0) rotateY(0); }
.apt.is-open.is-left .apt-stage { transform: perspective(2200px) rotateY(-9deg) translateX(2%) scale(.97); filter: brightness(.55) saturate(.8); }
.apt.is-open.is-left .apt-scrim { background: linear-gradient(270deg, rgba(0,0,0,0) 30%, rgba(0,0,0,.45)); }

/* ---------- measure-aware filters ---------- */
.apt-filters h4 { margin-top: 22px; }
.apt-filter { display: block; margin-bottom: 14px; }
.apt-filter .lbl {
  display: block; font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 7px;
}
.apt-filter .hint { display: block; font-size: 11.5px; color: var(--muted); margin-top: 7px; line-height: 1.45; }
.apt-seg { display: flex; gap: 6px; flex-wrap: wrap; }
.apt-seg button {
  appearance: none; border: 0; cursor: pointer; font: inherit; font-size: 12px; padding: 7px 12px; border-radius: 9px;
  color: var(--ivory-dim); background: linear-gradient(180deg, rgba(245,241,230,.06), rgba(245,241,230,.015));
  box-shadow: 0 1px 0 rgba(255,255,255,.06) inset, 0 -1px 0 rgba(0,0,0,.5) inset, 0 0 0 1px var(--line), 0 4px 10px rgba(0,0,0,.3);
  transition: all .22s var(--ease);
}
.apt-seg button:hover { color: var(--ivory); transform: translateY(-1px); }
.apt-seg button[aria-pressed="true"] {
  color: #0A0F1A; background: linear-gradient(180deg, #E6CDA2, #BE9C6E);
  box-shadow: 0 1px 0 rgba(255,255,255,.55) inset, 0 6px 16px rgba(200,169,126,.28);
}

/* freshness line — turns amber when a source report has moved */
.apt-asof.stale { color: var(--ember); }
.apt-btn[disabled] { opacity: .65; cursor: progress; transform: none; }

/* ============================================================
   Map hero, wall dividers, info buttons, comparison
   ============================================================ */

/* ---------- the map owns its own full-width band ---------- */
.apt-hero-map { display: flex; flex-direction: column; gap: 12px; margin-bottom: 6px; }
.apt-mapcard { width: 100%; }
.apt-hero-map .apt-mapwrap { min-height: clamp(380px, 54vh, 640px); }
.apt-hero-map .apt-mapcard { padding: 16px 16px 10px; }
.apt-hero-map .apt-legend { margin-top: 10px; }

/* "Now showing" bar: names the measure the map is coloured by, so the
   switch between filings, felonies and evictions is never ambiguous. */
.apt-scope {
  position: relative; display: flex; justify-content: space-between; align-items: flex-end;
  gap: 16px; flex-wrap: wrap; padding: 14px 18px; border-radius: 16px;
  background: linear-gradient(180deg, rgba(30,40,58,.6), rgba(14,20,32,.7));
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(255,255,255,.08) inset, 0 0 0 1px var(--line), 0 16px 34px rgba(0,0,0,.4);
}
.apt-scope .k { display: block; font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); margin-bottom: 5px; }
.apt-scope-l { min-width: 0; flex: 1 1 22rem; }
.apt-scope-l .apt-h3 { font-size: 17px; margin-bottom: 3px; }

/* ---------- wall dividers between kinds of data ---------- */
.apt-wall { display: flex; align-items: center; gap: 16px; margin: 32px 0 18px; }
.apt-wall::before, .apt-wall::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, transparent, var(--line-strong), transparent); }
.apt-wall span { font-size: 10.5px; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); white-space: nowrap; }
.apt-section > .apt-wall:first-child { margin-top: 0; }

/* ---------- roman numerals, asked for larger ---------- */
.apt-num { font-size: clamp(20px, 2.1vw, 28px); letter-spacing: .14em; line-height: 1.2; }
.apt-tier { font-size: 10.5px; letter-spacing: .3em; margin-top: 9px; }

/* ---------- the "i" on every field ---------- */
.apt-i {
  position: absolute; top: 12px; right: 12px; z-index: 3; width: 22px; height: 22px; padding: 0;
  border: 0; border-radius: 50%; cursor: pointer; place-items: center;
  font-family: var(--serif); font-size: 12px; font-style: italic; line-height: 1; color: var(--gold-soft);
  background: rgba(7,11,20,.6); box-shadow: 0 0 0 1px rgba(200,169,126,.35) inset, 0 4px 10px rgba(0,0,0,.5);
  transition: all .22s var(--ease); display: grid;
}
.apt-i:hover, .apt-i:focus-visible, .apt-i[aria-expanded="true"] {
  color: #0A0F1A; background: linear-gradient(180deg, #E6CDA2, #BE9C6E);
  box-shadow: 0 0 0 1px rgba(200,169,126,.85), 0 6px 16px rgba(200,169,126,.35); outline: none;
}
.kpi > .apt-i { top: auto; bottom: 10px; right: 10px; }
.apt-scope > .apt-i { top: 12px; right: 12px; }
.apt-def {
  position: absolute; z-index: 12; top: 42px; right: 12px; width: min(330px, calc(100% - 24px));
  padding: 14px 16px; border-radius: 14px; pointer-events: none;
  background: linear-gradient(180deg, rgba(20,28,42,.985), rgba(9,13,22,.99));
  box-shadow: 0 0 0 1px rgba(200,169,126,.38), 0 26px 54px rgba(0,0,0,.72);
  opacity: 0; visibility: hidden; transform: translateY(-6px) scale(.98);
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility 0s linear .2s;
}
.kpi > .apt-def { top: auto; bottom: 36px; }
.apt-card:hover > .apt-def, .kpi:hover > .apt-def, .apt-def.on {
  opacity: 1; visibility: visible; transform: none; pointer-events: auto;
  transition: opacity .2s var(--ease), transform .2s var(--ease);
}
.apt-card:hover > .apt-i, .kpi:hover > .apt-i { color: #0A0F1A; background: linear-gradient(180deg, #E6CDA2, #BE9C6E); }
.apt-def-term { font-family: var(--serif); font-size: 17px; color: var(--ivory); margin-bottom: 5px; }
.apt-def-body { font-size: 12.5px; line-height: 1.5; color: var(--ivory-dim); }
.apt-def-src { margin-top: 9px; padding-top: 8px; border-top: 1px dashed var(--line-strong); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); }

/* ---------- compare two counties ---------- */
.apt-cmp-pick { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 12px 0 14px; }
.apt-cmp-pick label { display: flex; flex-direction: column; gap: 6px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 620px) { .apt-cmp-pick { grid-template-columns: 1fr; } }
#cmpTable td.cmp-win { color: var(--gold-soft); font-weight: 500; }
#cmpTable td.cmp-lose { opacity: .7; }
#cmpTable td.cmp-gap { color: var(--muted); font-variant-numeric: tabular-nums; }

/* ---------- simple column chart ---------- */
.apt-cols { display: flex; align-items: flex-end; gap: 8px; height: 196px; padding-top: 6px; }
.apt-col { flex: 1 1 0; min-width: 0; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 6px; }
.apt-col-v { font-size: 11px; color: var(--ivory-dim); }
.apt-col-bar { width: 72%; border-radius: 7px 7px 3px 3px; background: linear-gradient(180deg, #E8CFA4, #A9875A);
  box-shadow: 0 1px 0 rgba(255,255,255,.4) inset, 0 8px 18px rgba(200,169,126,.18); transition: filter .2s; }
.apt-col:hover .apt-col-bar { filter: brightness(1.2); }
.apt-col-l { font-size: 11px; color: var(--muted); }

/* the inspector is now a full-width band under the map */
.apt-insp { min-height: 220px; }

/* ============================================================
   Site header, typography, depth, palette
   ============================================================ */

/* ---------- the header the rest of the site carries ---------- */
.apt-nav-wrap { position: sticky; top: 0; z-index: 6; margin: 0 -12px 26px; }
.apt-nav {
  background: rgba(10,15,26,.74);
  backdrop-filter: blur(20px) saturate(1.25); -webkit-backdrop-filter: blur(20px) saturate(1.25);
  border-bottom: 1px solid rgba(255,255,255,.08);
  border-radius: 0 0 16px 16px;
  box-shadow: 0 18px 40px -28px rgba(0,0,0,.9);
}
.apt-nav-in {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; height: 64px; padding: 0 16px;
}
.apt-lockup { display: flex; align-items: center; gap: 12px; text-decoration: none; min-width: 0; }
/* The mark is the site's A, and it is the word's first letter — once. */
.apt-a {
  width: 48px; height: 48px; margin: -9px -12px -9px -8px; object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(200,169,126,.4)) drop-shadow(0 2px 14px rgba(200,169,126,.22));
  transition: filter .4s var(--ease);
}
.apt-lockup:hover .apt-a { filter: drop-shadow(0 0 18px rgba(242,226,196,.6)) drop-shadow(0 2px 22px rgba(200,169,126,.35)); }
.apt-word { display: flex; flex-direction: column; min-width: 0; }
.apt-word-main {
  font-family: var(--serif); font-size: clamp(16px, 2vw, 21px); font-weight: 500;
  letter-spacing: .22em; color: var(--ivory); line-height: 1; white-space: nowrap;
}
.apt-word-main .g { color: var(--gold); }
.apt-word-sub {
  font-size: 8.5px; letter-spacing: .38em; text-transform: uppercase;
  color: rgba(200,195,180,.45); margin-top: 5px; white-space: nowrap;
}
@media (max-width: 720px) { .apt-word-sub { display: none; } }
.apt-nav-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
@media (max-width: 620px) { .apt-nav-actions .apt-btn { display: none; } }

.apt-menu {
  appearance: none; border: 0; background: transparent; cursor: pointer;
  display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 6px 8px;
  color: var(--ivory-dim); transition: color .35s var(--ease);
}
.apt-menu-glyph svg { width: 40px; height: 16px; display: block; }
.apt-menu-label { font-family: var(--serif); font-size: 10.5px; letter-spacing: .34em; line-height: 1; }
.apt-menu-rule { width: 40px; height: 2px; border-radius: 999px; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.apt-menu:hover, .apt-menu[aria-expanded="true"] { color: var(--gold); }

.apt-menu-panel { border-top: 1px solid rgba(255,255,255,.07); background: rgba(10,15,26,.975); }
.apt-menu-panel[hidden] { display: none; }
.apt-menu-grid {
  max-width: 1360px; margin-inline: auto; padding: 24px 18px;
  display: grid; gap: 4px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr));
}
.apt-menu-grid a { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; border-radius: 6px; text-decoration: none; transition: background .25s var(--ease); }
.apt-menu-grid a:hover { background: rgba(200,169,126,.06); }
.apt-menu-grid b { font-size: 10.5px; letter-spacing: .34em; text-transform: uppercase; font-weight: 500; color: var(--ivory); transition: color .25s; }
.apt-menu-grid a:hover b, .apt-menu-grid a.is-current b { color: var(--gold); }
.apt-menu-grid span { font-size: 12px; color: var(--muted); line-height: 1.45; }

/* ---------- the display face, not the rounded one ---------- */
.apt-h3 { font-family: var(--serif); font-size: 17.5px; font-weight: 500; letter-spacing: .005em; color: var(--ivory); margin: 0 0 3px; }
.apt-scope-l .apt-h3 { font-size: clamp(18px, 2vw, 22px); }
.apt-h2 { letter-spacing: -.005em; }
.apt-chip {
  font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; font-weight: 500;
  padding: 9px 14px; font-family: var(--ui, var(--sans));
}
.apt-wall span { font-family: var(--serif); font-size: 12px; letter-spacing: .32em; font-weight: 500; }
.apt-legend span, .apt-kpi, .apt-small { letter-spacing: .01em; }
.apt-scope .k { font-family: var(--serif); font-size: 10.5px; letter-spacing: .34em; }

/* ---------- the definition opens from the i, not the whole card ---------- */
.apt-card:hover > .apt-def, .kpi:hover > .apt-def {
  opacity: 0; visibility: hidden; transform: translateY(-6px) scale(.98); pointer-events: none;
}
.apt-i:hover + .apt-def, .apt-i:focus-visible + .apt-def, .apt-def.on {
  opacity: 1; visibility: visible; transform: none; pointer-events: auto;
}
.apt-i { opacity: .5; }
.apt-card:hover > .apt-i, .kpi:hover > .apt-i, .apt-i:hover, .apt-i[aria-expanded="true"] { opacity: 1; }

/* ---------- glass with depth, not frost ---------- */
.apt-card, .kpi {
  background-image:
    radial-gradient(130% 90% at 26% -14%, rgba(200,169,126,.17), transparent 58%),
    linear-gradient(168deg, rgba(60,74,100,.62) 0%, rgba(28,38,56,.74) 38%, rgba(11,16,26,.9) 100%);
  backdrop-filter: blur(9px) saturate(1.45); -webkit-backdrop-filter: blur(9px) saturate(1.45);
  box-shadow:
    0 1px 0 rgba(255,255,255,.17) inset,
    0 0 0 1px rgba(255,255,255,.05) inset,
    0 34px 46px -38px rgba(0,0,0,.98) inset,
    0 18px 34px -18px rgba(0,0,0,.85),
    0 48px 96px -54px rgba(0,0,0,.95),
    0 0 0 1px var(--line);
}
.apt-card::before {
  background:
    linear-gradient(135deg, rgba(255,255,255,.11), transparent 32%),
    linear-gradient(0deg, rgba(0,0,0,.30), transparent 18%);
}
.apt-card.lift:hover {
  box-shadow:
    0 1px 0 rgba(255,255,255,.2) inset,
    0 0 0 1px rgba(255,255,255,.06) inset,
    0 34px 46px -36px rgba(0,0,0,1) inset,
    0 30px 54px -22px rgba(0,0,0,.9),
    0 60px 120px -60px rgba(200,169,126,.28),
    0 0 0 1px rgba(200,169,126,.34);
}
.kpi {
  background-image:
    radial-gradient(130% 90% at 26% -14%, rgba(200,169,126,.16), transparent 60%),
    linear-gradient(166deg, rgba(56,70,96,.6) 0%, rgba(24,33,50,.78) 44%, rgba(10,15,24,.9) 100%);
}
.kpi:hover {
  box-shadow:
    0 1px 0 rgba(255,255,255,.2) inset,
    0 34px 44px -38px rgba(0,0,0,1) inset,
    0 26px 48px -18px rgba(0,0,0,.9),
    0 0 0 1px rgba(200,169,126,.36),
    0 40px 80px -50px rgba(200,169,126,.26);
}

/* ---------- extruded bars: a lit face, a shaded side, a cast shadow ---------- */
.hb-track { overflow: visible; }
.hb-bar {
  border-radius: 3px;
  background: linear-gradient(180deg, #F8EBCF 0%, #E6CCA0 16%, #C8A97E 46%, #9C7A4F 78%, #6F5433 100%);
  box-shadow:
    0 1px 0 rgba(255,255,255,.8) inset,
    0 -1px 0 rgba(0,0,0,.5) inset,
    0 3px 0 -1px #5C4429,
    0 6px 3px -3px rgba(0,0,0,.55),
    0 11px 18px -8px rgba(0,0,0,.8);
}
.hb-bar::after {
  content: ""; position: absolute; top: 2px; bottom: -4px; right: -4px; width: 4px;
  border-radius: 1px; opacity: .92;
  background: linear-gradient(180deg, #96723F, #4A361F);
  transform: skewY(-38deg); transform-origin: top left;
}
.hb-bar.steel { background: linear-gradient(180deg,#D2E1EF 0%,#A8C0D8 22%,#7C99B6 52%,#4A6884 100%); }
.hb-bar.steel::after { background: linear-gradient(180deg,#3E5872,#1F2C39); }
.hb-bar.ember { background: linear-gradient(180deg,#FBD4B0 0%,#F0A26C 20%,#E0874E 50%,#A64E1F 100%); }
.hb-bar.ember::after { background: linear-gradient(180deg,#8C4520,#4E2611); }

/* column bars, same extrusion turned upright */
.apt-col-bar {
  position: relative; width: 64%; border-radius: 3px;
  background: linear-gradient(180deg, #F8EBCF 0%, #E6CCA0 18%, #C8A97E 52%, #8E6C43 100%);
  box-shadow:
    0 1px 0 rgba(255,255,255,.75) inset,
    0 -2px 0 rgba(0,0,0,.35) inset,
    0 6px 0 -3px #5C4429,
    0 14px 22px -10px rgba(0,0,0,.85);
}
.apt-col-bar::after {
  content: ""; position: absolute; top: 2px; bottom: -5px; right: -5px; width: 5px;
  background: linear-gradient(180deg, #96723F, #4A361F);
  transform: skewY(38deg); transform-origin: top left;
}

/* svg bars get a rounded edge and a real shadow, so they sit on the card */
.apt-chart rect.bar { rx: 2; filter: drop-shadow(0 3px 5px rgba(0,0,0,.55)); }
.apt-chart svg .grid line { stroke: rgba(245,241,230,.06); }

/* the legend ramp reads in the new palette */
.apt-legend .ramp { box-shadow: 0 0 0 1px var(--line) inset, 0 2px 0 -1px rgba(255,255,255,.12) inset, 0 6px 14px rgba(0,0,0,.6); }

/* table headers pick up the display face */
.apt-table th button { font-family: var(--serif); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; }
