/* Federal Exposure · site styles
   Load order: tokens.css, Bootstrap 5.3.3, then this file.
   Components are lifted from poc/index.html; see docs/03-design-system.md.
   Rules: one accent, --flag only for caveats/flags, no shadows or gradients. */

/* ---------- Bootstrap variable mapping ----------
   [data-bs-theme] is included so Bootstrap's own light/dark blocks never win over our tokens. */
:root,[data-bs-theme]{
  --bs-body-bg:var(--bg); --bs-body-color:var(--ink);
  --bs-body-font-family:var(--body); --bs-body-font-size:1rem; --bs-body-line-height:1.6;
  --bs-font-sans-serif:var(--body); --bs-font-monospace:var(--mono);
  --bs-emphasis-color:var(--ink); --bs-heading-color:inherit;
  --bs-secondary-color:var(--ink-2); --bs-tertiary-color:var(--muted);
  --bs-secondary-bg:var(--surface); --bs-tertiary-bg:var(--surface);
  --bs-link-color:var(--accent); --bs-link-hover-color:var(--accent-strong);
  --bs-border-color:var(--rule); --bs-border-color-translucent:var(--rule);
  --bs-code-color:var(--ink); --bs-highlight-bg:var(--flag-soft); --bs-highlight-color:var(--ink);
}
.btn-primary{--bs-btn-bg:var(--accent);--bs-btn-border-color:var(--accent);--bs-btn-color:var(--surface);
  --bs-btn-hover-bg:var(--accent-strong);--bs-btn-hover-border-color:var(--accent-strong);--bs-btn-hover-color:var(--surface);
  --bs-btn-active-bg:var(--accent-strong);--bs-btn-active-border-color:var(--accent-strong);--bs-btn-active-color:var(--surface)}

/* ---------- Base ---------- */
*,*::before,*::after{box-sizing:border-box}
body{background:var(--bg);color:var(--ink);font-family:var(--body);font-size:1rem;line-height:1.6;margin:0;
  -webkit-text-size-adjust:100%;text-rendering:optimizeLegibility}
/* Bootstrap 5.3 colors links through --bs-link-color-rgb; set them directly instead. */
a{color:var(--accent);text-underline-offset:.15em}
a:hover{color:var(--accent-strong)}
b,strong{font-weight:600}
img,video{max-width:100%;height:auto}
p{margin:0 0 1rem}
code,kbd,samp{font-family:var(--mono);font-size:.88em;color:var(--ink)}

a:focus-visible,button:focus-visible,select:focus-visible,input:focus-visible,
th[tabindex]:focus-visible,summary:focus-visible{outline:2px solid var(--accent);outline-offset:2px;box-shadow:none}

.wrap{max-width:72rem;margin-inline:auto;
  padding-left:max(16px,env(safe-area-inset-left,0px));padding-right:max(16px,env(safe-area-inset-right,0px))}
/* Bootstrap .g-lg-5 rows pull out by 1.5rem; widen the gutter so they never cause horizontal scroll. */
@media (min-width:992px){
  .wrap{padding-left:max(1.5rem,env(safe-area-inset-left,0px));padding-right:max(1.5rem,env(safe-area-inset-right,0px))}
}
main.wrap{display:block;padding-bottom:1rem;min-width:0}
.prose{max-width:42rem}

/* ---------- Type (doc 03 table) ---------- */
h1{font-family:var(--display);font-weight:600;font-size:clamp(1.9rem,4.5vw,2.9rem);line-height:1.12;letter-spacing:-.015em;
  margin:0 0 1rem;text-wrap:balance;max-width:52rem;overflow-wrap:break-word}
h2{font-family:var(--display);font-weight:600;font-size:1.5rem;line-height:1.25;margin:2.5rem 0 .75rem;text-wrap:balance}
h3{font-family:var(--body);font-weight:600;font-size:1.1rem;line-height:1.35;margin:1.75rem 0 .5rem}
.kicker{font-family:var(--mono);font-size:.75rem;letter-spacing:.08em;text-transform:uppercase;color:var(--accent);margin:2.25rem 0 .5rem}
.dek{font-size:1.15rem;color:var(--ink-2);margin:0 0 1rem;max-width:42rem}
.byline{font-size:.85rem;color:var(--muted);display:flex;gap:.4rem 1rem;flex-wrap:wrap;margin-bottom:1rem}
.updated{font-size:.8rem;color:var(--muted);margin:.5rem 0 1rem}

/* ---------- Chrome: skip link, masthead, breadcrumbs, banner, footer ---------- */
.skip-link{position:absolute;left:1rem;top:.5rem;z-index:1080;background:var(--accent);color:var(--surface);
  padding:.5rem .85rem;border-radius:4px;font-weight:600;text-decoration:none;transform:translateY(-200%)}
.skip-link:focus,.skip-link:focus-visible{transform:none;color:var(--surface)}

.mast .navbar{--bs-navbar-padding-x:0;--bs-navbar-padding-y:0;--bs-navbar-color:var(--ink-2);
  --bs-navbar-hover-color:var(--ink);--bs-navbar-active-color:var(--ink);--bs-navbar-toggler-border-color:var(--rule);
  --bs-navbar-toggler-focus-width:0;
  padding:1.25rem 0 .9rem;border-bottom:2px solid var(--ink);gap:.5rem 1.5rem}
.brand{font-family:var(--display);font-weight:600;font-size:1.6rem;line-height:1.1;letter-spacing:-.01em;color:var(--ink);text-decoration:none}
.brand:hover{color:var(--ink)}
.brand span{color:var(--accent)}
.mast-nav{font-size:.85rem}
.mast-nav .nav-link{color:var(--ink-2);padding:.55rem 0}
.mast-nav .nav-link:hover{color:var(--ink)}
.mast-nav .nav-link[aria-current="page"]{color:var(--ink);font-weight:600}
.mast .navbar-toggler{border:1px solid var(--rule);border-radius:4px;padding:.3rem .45rem;color:var(--ink);font-size:1rem}
.mast .navbar-toggler:focus{box-shadow:none}
/* Hamburger drawn with a mask in currentColor so it follows our tokens in both themes.
   Without mask support, Bootstrap's own icon (which follows data-bs-theme) is kept. */
@supports ((mask-image:none) or (-webkit-mask-image:none)){
  .mast .navbar-toggler-icon{width:1.25rem;height:1.25rem;background-image:none;background-color:currentColor;
    -webkit-mask:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='black' stroke-linecap='round' stroke-width='2.2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") center/100% 100% no-repeat;
            mask:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='black' stroke-linecap='round' stroke-width='2.2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") center/100% 100% no-repeat}
}
.theme-toggle{display:inline-flex;align-items:center;gap:.4rem;background:transparent;color:var(--ink-2);
  border:1px solid var(--rule);border-radius:4px;padding:.3rem .6rem;font:500 .8rem/1.2 var(--body);cursor:pointer}
.theme-toggle:hover{color:var(--ink);border-color:var(--ink-2)}
/* Fallback icon (half-filled disc) only when the template leaves the button empty. */
.theme-toggle:empty{padding:.45rem}
.theme-toggle:empty::before{content:"";display:block;width:1rem;height:1rem;border-radius:50%;
  border:1.5px solid currentColor;box-shadow:inset -.5rem 0 0 currentColor}
/* Mobile: collapse opens as a vertical list under the brand. */
@media (max-width:767.98px){
  .mast .navbar-collapse{padding-top:.5rem}
  .mast-nav .nav-item+.nav-item{border-top:1px solid var(--rule)}
  .mast .navbar-collapse .theme-toggle{margin:.5rem 0 .25rem}
}
@media (min-width:768px){
  .mast .navbar{align-items:baseline}
  .mast .navbar-collapse{align-items:baseline}
  .mast-nav{gap:1.25rem}
  .mast-nav .nav-link{padding:0}
  .mast .theme-toggle{margin-left:1.25rem;align-self:center}
}

.crumbs{font-family:var(--mono);font-size:.75rem;color:var(--muted);margin:1.25rem 0 0}
.crumbs ol{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap}
.crumbs li{min-width:0;overflow-wrap:anywhere}
.crumbs li+li::before{content:"\203A";content:"\203A" / "";padding:0 .45rem;color:var(--muted)}
.crumbs a{color:var(--ink-2);text-decoration:none}
.crumbs a:hover{color:var(--accent-strong);text-decoration:underline}
.crumbs+.kicker{margin-top:1.5rem}

.draft-banner{background:var(--flag-soft);color:var(--flag);border-bottom:1px solid var(--flag);
  font-family:var(--mono);font-size:.78rem;line-height:1.45;text-align:center;
  padding:.55rem max(16px,env(safe-area-inset-right,0px)) .55rem max(16px,env(safe-area-inset-left,0px))}
.draft-banner p{margin:0}
.draft-banner a{color:var(--flag)}

.site-foot{margin-top:3rem;padding-bottom:2.5rem;font-size:.8rem;color:var(--muted)}
.site-foot .wrap::before{content:"";display:block;border-top:1px solid var(--rule);margin-bottom:1rem}
.site-foot p{margin:0 0 .5rem;max-width:42rem}
.foot-links{list-style:none;margin:.75rem 0 0;padding:0;display:flex;flex-wrap:wrap;gap:.35rem 1.1rem}
.foot-links a{color:var(--ink-2)}
.foot-links a:hover{color:var(--accent-strong)}

/* ---------- Figure strip ---------- */
.figs{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(13rem,100%),1fr));gap:1px;background:var(--rule);
  border-block:1px solid var(--rule);margin:2rem 0}
.fig{background:var(--bg);padding:1.1rem 1rem 1rem 0;min-width:0}
.fig+.fig{padding-left:1rem}
.fig b{display:block;font-family:var(--display);font-weight:600;font-size:2.1rem;line-height:1;font-variant-numeric:tabular-nums;margin-bottom:.4rem}
.fig b.nd{font-size:1.3rem;line-height:1.15;color:var(--ink-2);font-style:normal}
.fig span{font-size:.85rem;color:var(--ink-2)}
.fig .calc-note{display:block;margin-top:.2rem;font-family:var(--mono);font-size:.72rem;letter-spacing:.04em;color:var(--muted)}
.panel .fig{background:var(--surface)}
.figs.figs-stack{grid-template-columns:1fr;margin:0 0 1.5rem}
.figs.figs-stack .fig,.figs.figs-stack .fig+.fig{padding:1rem 0}
@media (max-width:560px){.fig+.fig{padding-left:0}.fig{padding-right:0}}

/* ---------- Panel, segmented toggle, controls ---------- */
.panel{background:var(--surface);border:1px solid var(--rule);border-radius:6px;padding:1.25rem;margin:1.5rem 0;min-width:0}
.panel-head{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:.75rem 1rem;margin-bottom:1rem}
.panel-head>div:first-child{min-width:0;flex:1 1 16rem}
.panel .panel-title,.panel-title{font-family:var(--body);font-weight:600;font-size:1rem;line-height:1.4;letter-spacing:0;margin:0;text-wrap:wrap}
.panel-sub{font-size:.82rem;color:var(--muted);margin:.15rem 0 0}
.panel-controls{display:flex;flex-wrap:wrap;gap:.75rem;align-items:center}
.chart-foot{font-size:.78rem;color:var(--muted);margin:.75rem 0 0}
@media (max-width:575.98px){.panel{padding:1rem}}

/* No overflow:hidden here (PoC had it) so the focus ring is not clipped; corners are rounded per button. */
.seg{display:inline-flex;border:1px solid var(--rule);border-radius:4px;max-width:100%}
.seg button{font:500 .8rem var(--body);background:transparent;color:var(--ink-2);border:0;padding:.4rem .75rem;cursor:pointer;position:relative}
.seg button:first-child{border-radius:3px 0 0 3px}
.seg button:last-child{border-radius:0 3px 3px 0}
.seg button+button{border-left:1px solid var(--rule)}
.seg button:hover{color:var(--ink)}
.seg button[aria-pressed="true"]{background:var(--accent);color:var(--surface)}
.seg button:focus-visible{z-index:1}

.controls{display:flex;flex-wrap:wrap;gap:.5rem .75rem;align-items:center}
.controls label{font-size:.82rem;color:var(--ink-2)}
.fx-select,.fx-search{font:inherit;font-size:.85rem;line-height:1.4;background:var(--surface);color:var(--ink);
  border:1px solid var(--rule);border-radius:4px;padding:.3rem .5rem;max-width:100%}
.fx-search{width:12rem;-webkit-appearance:none;appearance:none}
.fx-search::placeholder{color:var(--muted);opacity:1}
/* iOS zooms into inputs under 16px; keep them at 1rem on phones. */
@media (max-width:575.98px){.fx-select,.fx-search{font-size:1rem}}

/* ---------- Callout, quote ---------- */
.callout{border-left:3px solid var(--flag);background:var(--flag-soft);color:var(--ink);padding:.9rem 1rem;margin:1.5rem 0;border-radius:0 4px 4px 0}
.callout p:last-child{margin:0}
blockquote.callout{font-style:normal}
.callout cite,.callout small{color:var(--ink-2)}  /* --muted fails AA on --flag-soft */

blockquote.quote{border-left:3px solid var(--rule);color:var(--ink-2);font-style:normal;padding:.15rem 0 .15rem 1rem;margin:1.5rem 0}
.quote p{margin:0 0 .5rem}
.quote p:last-of-type{margin-bottom:.35rem}
.quote cite{display:block;font-size:.8rem;font-style:normal;color:var(--muted)}

/* ---------- Data tables ---------- */
/* Padding + matching negative margin leaves room for the focus ring inside the scroller. */
.tbl-wrap{overflow-x:auto;min-width:0;padding:4px;margin:-4px;-webkit-overflow-scrolling:touch}
.fx-table,.article-body table{width:100%;border-collapse:collapse;font-size:.86rem;margin:0}
.fx-table.fx-table-wide{min-width:44rem}
.fx-table caption,.article-body table caption{caption-side:top;text-align:left;color:var(--ink-2);font-size:.82rem;padding:0 0 .5rem}
.fx-table th,.fx-table td,.article-body table th,.article-body table td{padding:.55rem .6rem;border-bottom:1px solid var(--rule);text-align:left;vertical-align:top}
.fx-table thead th,.article-body table thead th{font-weight:600;font-size:.76rem;text-transform:uppercase;letter-spacing:.05em;
  color:var(--ink-2);white-space:nowrap;vertical-align:bottom}
.fx-table th[data-sort]{cursor:pointer;user-select:none;-webkit-user-select:none}
.fx-table th[data-sort]:hover{color:var(--ink)}
.fx-table th[data-sort][aria-sort="ascending"]::after{content:" \25B2";content:" \25B2" / "";font-size:.65rem}
.fx-table th[data-sort][aria-sort="descending"]::after{content:" \25BC";content:" \25BC" / "";font-size:.65rem}
/* Row headers read like ordinary cells. */
.fx-table tbody th[scope="row"],.article-body table tbody th{font-weight:400;font-size:inherit;text-transform:none;letter-spacing:0;
  color:var(--ink);white-space:normal;cursor:auto}
.fx-table .n,.article-body table .n{text-align:right;font-family:var(--mono);font-variant-numeric:tabular-nums}
.fx-table td.basis,.fx-table th.basis{color:var(--ink-2);font-size:.8rem;max-width:18rem}
.fx-table tfoot td,.fx-table tfoot th{font-weight:600;border-top:1px solid var(--ink-2);border-bottom:0}
.fx-table tr.is-hidden,.fx-table [data-col].is-hidden,[data-col].is-hidden{display:none!important}
.tk{font-family:var(--mono);font-weight:500}
.fx-table .nm{display:block;color:var(--ink-2);font-size:.8rem;font-family:var(--body);font-weight:400}
.fx-table td .nm a,.fx-table th .nm a{color:inherit}
.calc,.fx-table .calc{color:var(--muted)}
.nd,.fx-table .nd{color:var(--muted);font-style:italic}
.fx-table a{text-decoration:none}
.fx-table a:hover{text-decoration:underline}

/* ---------- Pills, change chips ---------- */
.pill{display:inline-block;font-size:.7rem;line-height:1.5;font-family:var(--mono);font-weight:400;padding:.05rem .4rem;border-radius:3px;
  border:1px solid var(--rule);color:var(--ink-2);white-space:nowrap;vertical-align:baseline;text-transform:none;letter-spacing:0}
.pill.incl{border-color:var(--flag);color:var(--flag)}
.pill.flag{border-color:var(--flag-soft);background:var(--flag-soft);color:var(--flag)}
.pill.jv{border-style:dashed;border-color:var(--muted);color:var(--ink-2)}

.chip{font-family:var(--mono);font-size:.8rem;font-variant-numeric:tabular-nums;white-space:nowrap;color:var(--ink-2)}
.chip.up{color:var(--up)}
.chip.down{color:var(--down)}
.chip.flat{color:var(--ink-2)}

/* ---------- Sources, disclaimer ---------- */
ol.src{font-size:.82rem;color:var(--ink-2);padding-left:1.2rem;columns:2 22rem;column-gap:2rem}
ol.src li{break-inside:avoid;margin-bottom:.3rem;overflow-wrap:anywhere}
aside.disclaimer,.disclaimer{border-top:1px solid var(--rule);margin:2.5rem 0 1rem;padding-top:1rem;font-size:.8rem;line-height:1.55;color:var(--muted)}
.disclaimer p{max-width:42rem;margin:0 0 .5rem}
.disclaimer p:last-child{margin-bottom:0}
.disclaimer a{color:var(--ink-2)}

/* ---------- Ad slots (docs/05) ----------
   Height is reserved up front (unit height + label) so a filled slot never shifts the page. */
.ad-slot{--ad-h:250px;--ad-label-h:1.25rem;position:relative;display:block;width:100%;margin:2rem auto;
  min-height:calc(var(--ad-h) + var(--ad-label-h));contain:layout;overflow:hidden;text-align:center}
.ad-label{display:block;height:var(--ad-label-h);line-height:var(--ad-label-h);font-family:var(--mono);font-size:.65rem;
  letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}
.ad-slot .adsbygoogle{display:block;width:100%;min-height:var(--ad-h)}
.ad-slot--in-article{--ad-h:280px}
.ad-slot--sidebar{--ad-h:250px;max-width:300px}
.ad-slot--leader{--ad-h:100px}
@media (min-width:768px){.ad-slot--leader{--ad-h:90px}}
.ad-slot--placeholder{border:1px dashed var(--rule)}
.ad-slot--placeholder .ad-label{position:absolute;inset:0;height:auto;display:flex;align-items:center;justify-content:center;
  font-size:.72rem;letter-spacing:.06em}

/* ---------- Company page grid ---------- */
@media (min-width:992px){.sidebar{position:sticky;top:1rem}}
.sidebar .ad-slot--sidebar{margin-top:1.5rem}

/* ---------- Article list, home blocks ---------- */
.article-list{list-style:none;margin:0 0 2rem;padding:0}
.article-item{padding:1.25rem 0;border-bottom:1px solid var(--rule)}
.article-item:first-child{padding-top:.5rem}
.article-item .kicker,.lead-story .kicker{margin:0 0 .35rem}
.article-title{font-family:var(--display);font-weight:600;font-size:1.35rem;line-height:1.25;letter-spacing:-.005em;margin:0 0 .4rem;text-wrap:balance}
.article-title a{color:var(--ink);text-decoration:none}
.article-title a:hover{color:var(--accent-strong);text-decoration:underline;text-decoration-thickness:1px}
.article-item .dek,.lead-story .dek{font-size:1rem;margin:0 0 .4rem}
.meta{font-size:.8rem;color:var(--muted);margin:0}

.lead-story{padding:1.5rem 0 1.75rem;border-bottom:1px solid var(--rule);margin-bottom:1rem}
.lead-story .article-title{font-size:clamp(1.6rem,4vw,2rem);line-height:1.15;letter-spacing:-.012em;max-width:48rem}
.lead-story .dek{font-size:1.15rem;max-width:42rem}

.section-head{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:.25rem 1rem;
  border-bottom:1px solid var(--rule);padding-bottom:.4rem;margin:2.5rem 0 1rem}
.section-head h2{margin:0}
.section-head a{font-size:.85rem;white-space:nowrap;text-decoration:none}
.section-head a:hover{text-decoration:underline}

.changes-strip{list-style:none;margin:1rem 0 2rem;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(14rem,100%),1fr));gap:0 1.5rem}
.changes-strip li{border-top:1px solid var(--rule);padding:.75rem 0;min-width:0}
.changes-strip .tk{margin-right:.5rem}
.changes-strip li>span:not(.tk):not(.chip){display:block;font-size:.82rem;color:var(--ink-2);margin-top:.2rem}

.sector-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(13rem,100%),1fr));gap:.75rem;margin:1rem 0 2rem}
.sector-link{display:block;background:var(--surface);border:1px solid var(--rule);border-radius:4px;padding:.85rem 1rem;color:var(--ink);text-decoration:none}
.sector-link:hover{border-color:var(--accent);color:var(--ink)}
.sector-link b{display:block;font-weight:600}
.sector-link span{display:block;font-size:.8rem;color:var(--ink-2);margin-top:.15rem}

dl.stat-list,.stat-list{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:0 1rem;font-size:.86rem;margin:0 0 1.5rem}
.stat-list dt,.stat-list dd{padding:.4rem 0;border-bottom:1px solid var(--rule);margin:0}
.stat-list dt{font-weight:400;color:var(--muted)}
.stat-list dd{font-family:var(--mono);font-variant-numeric:tabular-nums;color:var(--ink);text-align:right;overflow-wrap:anywhere}

/* ---------- Prose / article body ---------- */
.prose,.article-body{overflow-wrap:break-word}
.article-body>p,.article-body>ul,.article-body>ol,.article-body>h2,.article-body>h3,.article-body>blockquote,.article-body>.callout{max-width:42rem}
.prose ul,.prose ol,.article-body ul,.article-body ol{padding-left:1.25rem;margin:0 0 1rem}
.prose li,.article-body li{margin-bottom:.3rem}
.prose ol.src,.article-body ol.src{padding-left:1.2rem}
.prose h2:first-child,.article-body h2:first-child{margin-top:1.5rem}
.prose blockquote:not(.quote):not(.callout),.article-body blockquote:not(.quote):not(.callout){border-left:3px solid var(--flag);background:var(--flag-soft);
  color:var(--ink);padding:.9rem 1rem;margin:1.5rem 0;border-radius:0 4px 4px 0}
.prose blockquote p:last-child,.article-body blockquote p:last-child{margin:0}
.prose code,.article-body code{font-family:var(--mono);font-size:.88em}
.article-body table{margin:1.5rem 0}
.prose hr,.article-body hr{border:0;border-top:1px solid var(--rule);opacity:1;margin:2rem 0}

/* ---------- Charts (fx-chart.js) ---------- */
.fx-chart{position:relative;min-width:0}
.fx-chart svg{display:block;width:100%;height:auto}
.fx-chart text{font-family:var(--mono);font-size:11px;fill:var(--ink-2)}
.fx-chart .lbl{font-family:var(--body);font-size:12px;fill:var(--ink)}
.fx-chart .val{fill:var(--ink);font-weight:500}
.fx-chart .grid{stroke:var(--rule);stroke-width:1}
.fx-chart .base{stroke:var(--muted);stroke-width:1}
.fx-chart .ref{stroke:var(--flag);stroke-width:1;stroke-dasharray:3 3}
.fx-chart .reft{fill:var(--flag)}
.fx-chart .bar{fill:var(--accent)}
/* Faint accent edge keeps de-emphasized bars visible on the dark surface. */
.fx-chart .bar.dim{fill:var(--accent-soft);stroke:var(--accent);stroke-opacity:.45;stroke-width:1}
/* Row groups are .fx-row, not .row: Bootstrap's .row > *{width:100%} would override the rect width. */
.fx-chart .fx-row:hover .bar,.fx-chart .fx-row.on .bar{fill:var(--accent-strong)}
.fx-chart a{text-decoration:none}
.fx-chart .hit{fill:transparent;cursor:default}
.fx-chart a .hit{cursor:pointer}
.fx-chart .line{fill:none;stroke:var(--accent);stroke-width:2;stroke-linejoin:round;stroke-linecap:round}
.fx-chart .dot{fill:var(--accent);stroke:var(--surface);stroke-width:1.5}
.fx-chart .pt:hover .dot{fill:var(--accent-strong)}
.fx-chart .sgb{stroke:none}
.fx-chart .sg:hover .sgb{stroke:var(--ink);stroke-width:1}
.fx-chart .empty{fill:var(--muted);font-family:var(--body);font-size:12px}
.fx-tip{position:absolute;pointer-events:none;background:var(--ink);color:var(--bg);font-size:.78rem;line-height:1.4;
  padding:.5rem .65rem;border-radius:4px;max-width:16rem;z-index:2;text-align:left}
.fx-tip b{display:block;font-size:.85rem}
.fx-legend{list-style:none;margin:.75rem 0 0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(min(15rem,100%),1fr));gap:.3rem 1.5rem;font-size:.82rem}
.fx-legend li{display:flex;align-items:baseline;gap:.5rem;min-width:0}
.fx-legend .sw{flex:none;width:.75rem;height:.75rem;border-radius:2px;align-self:center}
.fx-legend .lg-l{flex:1 1 auto;min-width:0;color:var(--ink)}
.fx-legend .lg-v{font-family:var(--mono);font-variant-numeric:tabular-nums;color:var(--ink-2);white-space:nowrap}

/* ---------- 404 search ---------- */
.search-results{list-style:none;margin:1rem 0 2rem;padding:0;max-width:42rem}
.search-results li{padding:.45rem 0;border-bottom:1px solid var(--rule)}
.search-results li:first-child{border-top:1px solid var(--rule)}

/* ---------- Motion ---------- */
@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{transition:none!important;animation:none!important;scroll-behavior:auto!important}
}

/* Numbers and dates in tables never break across lines (e.g. 2026-08-01 at its hyphens). */
.fx-table td.n, .fx-table th.n { white-space: nowrap; }
