@charset "UTF-8";

:root {
  color-scheme: light;
  --background: #ffffff;
  --surface: #f7f9f8;
  --ink: #252b28;
  --body: #58625c;
  --muted: #707973;
  --line: #e8ece9;
  --accent: #456651;
  --accent-soft: #edf3ef;
  --font: "Atlas Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 28px; }
body {
  margin: 0;
  background: var(--background);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.modal-open { overflow: hidden; }
html:has(body.modal-open) { scroll-behavior: auto; }
button, input, select { font: inherit; }
button, a, input, select { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; color: inherit; touch-action: manipulation; }
a { color: inherit; text-decoration: none; }
button, input, select, a { outline-offset: 4px; }
:focus-visible { outline: 2px solid var(--accent); }
[hidden] { display: none !important; }
::selection { background: #dde9df; }
.wrap { width: calc(100% - 96px); max-width: 1120px; margin-inline: auto; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link { position: fixed; top: -80px; left: 20px; z-index: 10; padding: 10px 18px; background: var(--ink); color: white; border-radius: 6px; }
.skip-link:focus { top: 12px; }

/* Compact introduction; one type family, three levels of emphasis. */
.site-header { border-bottom: 1px solid var(--line); }
.header-inner { height: 72px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 600; letter-spacing: -.025em; }
.brand-mark { width: 24px; height: 24px; color: var(--accent); }
.header-nav { display: flex; align-items: center; gap: 32px; font-size: 14px; }
.header-nav a, .header-nav button { min-height: 44px; display: inline-flex; align-items: center; }
.header-nav .nav-active { color: var(--ink); font-weight: 500; }
.text-button { background: none; border: 0; padding: 0; color: var(--muted); font-size: 14px; line-height: 1.7; }
.text-button:hover { color: var(--accent); }
.page-intro { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 44px 0 36px; }
.page-intro h1 { font-size: 34px; line-height: 1.45; letter-spacing: -.025em; font-weight: 600; margin: 0; }
.intro-description { font-size: 16px; color: var(--body); margin: 10px 0 0; }
.archive-meta { text-align: right; flex-shrink: 0; }
.archive-period { font-size: 15px; font-weight: 500; font-variant-numeric: tabular-nums; letter-spacing: .015em; }
.archive-meta p { font-size: 13px; color: var(--muted); margin: 5px 0 0; }
.meta-divider { padding-inline: 9px; color: #a7afa9; }

/* Search and filters share one level, without an enclosing card. */
.explorer { scroll-margin-top: 24px; }
.filter-panel { padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.filter-top { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.search-box { display: flex; align-items: center; gap: 10px; width: 400px; max-width: 48%; height: 44px; padding: 0 13px; background: var(--surface); border: 1px solid var(--line); border-radius: 7px; }
.search-box:focus-within { border-color: #9aac9e; }
.search-box svg { width: 18px; height: 18px; flex: 0 0 auto; color: var(--muted); }
.search-box input { min-width: 0; width: 100%; height: 100%; padding: 0; font-size: 14px; border: 0; outline: none; color: var(--ink); background: transparent; }
.search-box input::placeholder { color: var(--muted); }
.search-box kbd { font-family: inherit; font-size: 13px; line-height: 20px; min-width: 20px; text-align: center; border: 1px solid #e1e6e2; border-radius: 4px; color: var(--muted); background: white; }
.filter-options { display: flex; gap: 24px; align-items: center; }
select { height: 44px; padding: 0 32px 0 14px; border: 1px solid var(--line); border-radius: 7px; color: var(--body); background-color: white; font-size: 14px; cursor: pointer; }
.milestone-toggle { display: inline-flex; align-items: center; gap: 10px; position: relative; min-height: 44px; font-size: 14px; color: var(--body); cursor: pointer; white-space: nowrap; }
.milestone-toggle input { position: absolute; left: 0; top: 0; width: 34px; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.switch { width: 32px; height: 18px; flex-shrink: 0; background: #dce3de; border-radius: 12px; position: relative; pointer-events: none; transition: background .15s; }
.switch::after { content: ""; position: absolute; width: 14px; height: 14px; top: 2px; left: 2px; border-radius: 50%; background: white; box-shadow: 0 1px 2px #24332a15; transition: transform .15s; }
.milestone-toggle input:checked + .switch { background: var(--accent); }
.milestone-toggle input:checked + .switch::after { transform: translateX(14px); }
.milestone-toggle input:focus-visible + .switch { outline: 2px solid var(--accent); outline-offset: 4px; }
.company-filters { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; }
.company-chip { display: inline-flex; align-items: center; justify-content: center; min-height: 36px; padding: 5px 12px; background: none; border: 1px solid transparent; border-radius: 6px; font-size: 13px; line-height: 1.7; color: var(--body); white-space: nowrap; transition: background .15s, color .15s; }
.company-chip:hover { background: var(--surface); color: var(--ink); }
.company-chip[aria-pressed="true"] { color: #375742; background: var(--accent-soft); font-weight: 500; }
.results-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; min-height: 68px; flex-wrap: wrap; padding-block: 14px; color: var(--muted); font-size: 13px; }
.results-toolbar p { margin: 0; }
.results-toolbar strong { font-weight: 500; color: var(--ink); font-variant-numeric: tabular-nums; }
.results-actions { display: flex; align-items: center; gap: 22px; }
.results-actions button { min-height: 36px; font-size: 13px; }
#reset-filters { color: var(--accent); }

/* Aligned dates and an unboxed reading column keep the timeline in focus. */
.timeline-layout { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 44px; align-items: start; }
.year-sidebar { position: sticky; top: 28px; }
.sidebar-label { margin: 3px 12px 14px; font-size: 13px; color: var(--muted); }
.year-sidebar nav { display: flex; flex-direction: column; gap: 4px; }
.year-jump { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 38px; padding: 6px 12px; border: 0; background: transparent; border-radius: 6px; font-size: 14px; color: var(--muted); font-variant-numeric: tabular-nums; transition: background .15s; }
.year-jump:disabled { opacity: .4; cursor: default; }
.year-jump span { font-size: 13px; }
.year-jump:hover { background: var(--surface); color: var(--ink); }
.year-jump[aria-current="true"] { color: var(--accent); background: var(--accent-soft); font-weight: 500; }
.timeline { min-width: 0; }
.year-section { margin-bottom: 36px; scroll-margin-top: 28px; }
.year-heading { display: flex; align-items: center; gap: 18px; margin-bottom: 12px; min-height: 38px; }
.year-heading h3 { margin: 0; font-size: 25px; font-weight: 550; line-height: 1.45; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.year-theme { font-size: 13px; color: var(--muted); }
.year-count { margin-left: auto; font-size: 13px; color: var(--muted); white-space: nowrap; }
.release-card { position: relative; display: grid; grid-template-columns: 80px minmax(0, 1fr); gap: 28px; padding-block: 24px; }
.release-card::before { content: ""; position: absolute; left: 78px; top: 0; bottom: 0; width: 1px; background: var(--line); }
.release-card::after { content: ""; position: absolute; top: 34px; left: 75px; width: 7px; height: 7px; border: 1px solid #b6c3ba; background: white; border-radius: 50%; }
.release-card.is-milestone::after { background: #7d9a87; border-color: #7d9a87; }
.release-card + .release-card .release-body::before { content: ""; position: absolute; top: -24px; left: 0; right: 0; height: 1px; background: #eff2f0; }
.release-body { position: relative; min-width: 0; }
.release-card:target .release-body { background: var(--surface); box-shadow: 0 0 0 12px var(--surface); border-radius: 3px; }
.card-date { padding-top: 3px; color: var(--muted); font-size: 13px; line-height: 28px; letter-spacing: .015em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.card-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 20px; }
.card-title { min-width: 0; margin: 0; font-size: 21px; line-height: 1.5; font-weight: 600; letter-spacing: -.025em; }
.card-title :is(button, a) { background: none; border: 0; padding: 0; font: inherit; text-align: left; letter-spacing: inherit; transition: color .15s; }
.card-title :is(button, a):hover { color: var(--accent); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.card-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.company-label { color: var(--muted); font-size: 13px; line-height: 1.6; }
.milestone-badge { font-size: 13px; line-height: 1.7; padding: 1px 7px; color: var(--accent); background: var(--accent-soft); border-radius: 4px; }
.card-summary { margin: 10px 0 16px; font-size: 16px; line-height: 1.85; color: var(--body); overflow-wrap: break-word; }
.card-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px 20px; }
.card-tags { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 12px; color: var(--muted); }
.tag { font-size: 13px; line-height: 1.8; }
.tag + .tag::before { content: "·"; margin-right: 12px; color: #a3aba6; }
.tag.event-kind { color: var(--body); }
.source-link { color: var(--accent); white-space: nowrap; font-size: 13px; line-height: 1.8; }
.source-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.timeline-end { padding: 4px 0 16px 108px; font-size: 13px; color: var(--muted); }
.timeline-layout.has-no-results { grid-template-columns: 1fr; }
.empty-state { padding: 72px 24px 80px; text-align: center; background: var(--surface); border-radius: 8px; }
.empty-state h3 { margin: 0 0 12px; font-size: 20px; font-weight: 500; }
.empty-state p { max-width: 380px; margin: 0 auto 24px; color: var(--body); font-size: 15px; }

.site-footer { display: flex; justify-content: space-between; align-items: center; gap: 16px 24px; margin-top: 32px; padding-block: 28px 36px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.site-footer p { margin: 0; }
.footer-brand { font-size: 14px; font-weight: 500; color: var(--body); }
.site-footer button { font-size: 13px; min-height: 36px; }

/* Detail pages use the same type scale, colors, and spacing. */
.detail-dialog { width: min(640px, calc(100% - 40px)); max-width: none; max-height: min(85vh, 860px); padding: 0; overflow: hidden; color: var(--ink); background: white; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 20px 80px #15221b1f; }
.detail-dialog[open] { display: flex; flex-direction: column; }
.dialog-controls { display: flex; justify-content: flex-end; flex-shrink: 0; padding: 8px 12px 0; }
#dialog-content { min-height: 0; padding: 0 32px 28px; overflow: auto; overscroll-behavior: contain; }
.detail-dialog::backdrop { background: #17221b40; }
.close-dialog { width: 40px; height: 40px; padding: 0; background: none; border: 0; border-radius: 6px; font-family: sans-serif; font-size: 27px; font-weight: 300; color: var(--muted); }
.close-dialog:hover { background: var(--surface); }
.detail-dialog h2 { font-size: 25px; line-height: 1.4; font-weight: 600; letter-spacing: -.03em; margin: 12px 0 16px; padding-right: 12px; }
.dialog-meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 3px 12px; font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.dialog-summary { margin: 16px 0 10px; font-size: 16px; line-height: 1.75; }
.detail-copy { margin: 0; color: var(--body); font-size: 14px; line-height: 1.8; }
.detail-note { margin: 10px 0 0; padding: 0; color: var(--muted); font-size: 12px; line-height: 1.7; }
.detail-note strong { font-weight: 500; color: var(--body); }
.dialog-meta .company-label { font-size: inherit; line-height: inherit; }
.dialog-meta > * { max-width: 100%; overflow-wrap: anywhere; }
.dialog-source-title, .detail-classification h3 { margin: 0 0 10px; color: var(--ink); font-size: 14px; font-weight: 600; }
.detail-sources { list-style: none; padding: 0; margin: 0; }
.detail-sources li + li { margin-top: 6px; }
.detail-sources a { color: var(--accent); font-size: 13px; text-decoration: underline; text-decoration-color: #c4d1c8; text-underline-offset: 4px; overflow-wrap: anywhere; }
.detail-sources a:hover { text-decoration-color: var(--accent); }
.dialog-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.solid-button, .outline-button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 9px 17px; border-radius: 6px; border: 1px solid var(--accent); font-size: 14px; line-height: 1.75; }
.solid-button { color: white; background: var(--accent); }
.solid-button:hover { background: #35523f; }
.outline-button { color: var(--body); background: white; border-color: #dbe2dd; }
.outline-button:hover { background: var(--surface); }
.about-stats { display: flex; flex-wrap: wrap; gap: 20px 36px; padding-block: 20px; margin-block: 24px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.about-stats strong { display: block; font-size: 25px; line-height: 1.5; font-weight: 500; font-variant-numeric: tabular-nums; }
.about-stats span { font-size: 13px; color: var(--muted); }
.about-copy h3 { font-size: 16px; font-weight: 500; margin: 24px 0 8px; }
.about-copy p { font-size: 14px; line-height: 1.9; color: var(--body); margin: 0; }
.about-copy a { color: var(--accent); text-decoration: underline; text-decoration-color: #c4d1c8; text-underline-offset: 4px; }
.about-copy a:hover { text-decoration-color: var(--accent); }
.copy-link-input { width: 100%; padding: 10px 12px; margin-top: 18px; font-size: 14px; border: 1px solid var(--line); border-radius: 6px; background: var(--surface); color: var(--ink); }
.toast { position: fixed; z-index: 20; left: 50%; bottom: 28px; transform: translate(-50%, 8px); max-width: calc(100% - 32px); padding: 11px 18px; border-radius: 7px; background: #303c34; color: white; font-size: 14px; text-align: center; opacity: 0; pointer-events: none; transition: opacity .15s, transform .15s; }
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 1050px) {
  .wrap { width: calc(100% - 64px); }
  .timeline-layout { grid-template-columns: 100px minmax(0, 1fr); gap: 28px; }
  .company-chip { padding-inline: 10px; }
  .release-card { grid-template-columns: 66px minmax(0, 1fr); gap: 24px; }
  .release-card::before { left: 64px; }
  .release-card::after { left: 61px; }
  .timeline-end { padding-left: 90px; }
}

@media (max-width: 760px) {
  .wrap { width: calc(100% - 40px); }
  .page-intro { align-items: flex-start; gap: 24px; padding-block: 32px; }
  .page-intro h1 { font-size: 30px; }
  .intro-description { font-size: 15px; }
  .archive-meta { padding-top: 5px; }
  .archive-period { font-size: 14px; }
  .filter-options { gap: 18px; }
  .search-box { flex: 1; max-width: none; }
  .search-box kbd { display: none; }
  .company-filters { gap: 5px; }
  .company-chip { min-height: 38px; padding-inline: 10px; }
  .timeline-layout { display: block; }
  .year-sidebar { display: none; }
  .year-theme { font-size: 13px; }
  .release-card { grid-template-columns: 66px minmax(0, 1fr); }
  .year-section { margin-bottom: 28px; }
  .site-footer { flex-wrap: wrap; }
  .site-footer p:nth-child(2) { order: 3; flex-basis: 100%; }
}

@media (max-width: 540px) {
  .header-inner { height: 64px; }
  .brand { font-size: 16px; gap: 8px; }
  .header-nav { gap: 20px; }
  .header-nav .nav-active { display: none; }
  .page-intro { display: block; padding: 28px 0; }
  .page-intro h1 { font-size: 28px; }
  .intro-description { margin-top: 10px; line-height: 1.8; }
  .archive-meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 20px; text-align: left; margin-top: 16px; padding: 0; }
  .archive-meta p { margin: 0; }
  .archive-period { font-size: 13px; color: var(--muted); font-weight: 400; }
  .filter-top { flex-wrap: wrap; gap: 12px; }
  .search-box { width: 100%; flex-basis: 100%; }
  .filter-options { width: 100%; justify-content: space-between; }
  .company-filters { margin-top: 16px; margin-inline: -5px; gap: 4px; }
  .company-chip { padding-inline: 9px; }
  .filter-panel { padding-bottom: 18px; }
  .results-toolbar { min-height: 62px; padding-block: 12px; gap: 4px 14px; }
  .results-actions { gap: 14px; }
  .year-heading { gap: 14px; margin-bottom: 8px; }
  .year-heading h3 { font-size: 23px; }
  .year-count { display: none; }
  .release-card { grid-template-columns: minmax(0, 1fr); gap: 7px; padding: 22px 0 22px 22px; }
  .release-card::before { left: 3px; }
  .release-card::after { left: 0; top: 32px; }
  .release-card + .release-card .release-body::before { top: -52px; }
  .card-date { padding: 0; line-height: 26px; }
  .card-title { font-size: 20px; }
  .card-heading { gap: 7px 14px; }
  .card-meta { gap: 10px; }
  .card-summary { margin-top: 10px; line-height: 1.8; }
  .card-bottom { column-gap: 14px; }
  .card-tags { column-gap: 9px; }
  .tag + .tag::before { margin-right: 9px; }
  .timeline-end { padding-left: 22px; }
  .empty-state { padding: 48px 20px; }
  .empty-state h3 { font-size: 18px; }
  .detail-dialog { width: calc(100% - 24px); max-height: calc(100vh - 24px); max-height: calc(100dvh - 24px); border-radius: 10px; }
  #dialog-content { padding: 0 20px 22px; }
  .dialog-controls { padding: 6px 8px 0; }
  .close-dialog { width: 44px; height: 44px; }
  .detail-dialog h2 { font-size: 22px; padding-right: 0; }
  .dialog-summary { font-size: 15px; }
  .dialog-meta { gap: 3px 10px; font-size: 11px; }
  .dialog-actions { gap: 10px; }
  .about-stats { gap: 16px 26px; }
  .about-stats strong { font-size: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

@media print {
  .wrap { width: 100%; }
  .header-nav, .filter-panel, .results-toolbar, .year-sidebar, .site-footer button, .skip-link, .toast { display: none; }
  .header-inner { height: 52px; }
  .page-intro { padding-block: 24px; }
  .page-intro h1 { font-size: 28px; }
  .timeline-layout { display: block; }
  .release-card { break-inside: avoid; }
  .detail-dialog, .detail-dialog[open] { display: none; }
}

/* A restrained, shared shell for all three sections. */
body { min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; }
html { scroll-padding-top: 104px; }
.site-header { position: sticky; top: 0; z-index: 5; background: #fffffff5; backdrop-filter: blur(16px); }
.header-inner { height: 76px; gap: 18px; }
.header-menu { display: flex; align-items: center; gap: 24px; margin-left: auto; }
.header-nav { margin-left: 0; gap: 8px; }
.header-nav a { padding: 8px 14px; min-height: 38px; font-size: 14px; color: var(--body); border-radius: 6px; }
.header-nav a:hover { background: var(--surface); color: var(--ink); }
.header-nav a[aria-current="page"] { background: var(--accent-soft); color: var(--accent); font-weight: 500; }
.header-actions { display: flex; align-items: center; gap: 4px; flex-shrink: 0; padding-left: 12px; border-left: 1px solid var(--line); }
.icon-button { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border: 0; border-radius: 6px; background: transparent; color: var(--body); }
.icon-button svg { width: 20px; height: 20px; }
.icon-button:hover { background: var(--surface); color: var(--accent); }
.icon-button.has-query { background: var(--accent-soft); color: var(--accent); }
.menu-toggle { display: none; }
.menu-toggle svg { width: 22px; height: 22px; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
.language-control { position: relative; display: flex; }
.language-options { position: absolute; right: 0; top: calc(100% + 10px); width: 164px; padding: 6px; border: 1px solid var(--line); border-radius: 9px; background: white; box-shadow: 0 8px 30px #20392a12; }
.language-options a { display: flex; align-items: center; justify-content: space-between; min-height: 44px; padding: 8px 12px; border-radius: 5px; color: var(--body); font-size: 13px; }
.language-options a:hover { background: var(--surface); }
.language-options a[aria-current] { background: var(--accent-soft); color: var(--accent); }
.language-options a[aria-current]::after { content: '✓'; font-size: 12px; }
.mobile-language { display: none; }
.page-intro { display: grid; grid-template-columns: 1fr 1.05fr; gap: 80px; padding: 48px 0 38px; }
.page-intro h1 { font-size: 32px; margin-top: 0; letter-spacing: -.03em; }
.intro-meta { margin: 18px 0 0; color: var(--muted); font-size: 13px; }
.intro-meta > span:first-child, #company-total { color: var(--ink); font-weight: 500; }
.activity { margin: 0; min-width: 0; scroll-margin-top: 104px; }
.activity-heading { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.activity-heading h2 { margin: 0; font-size: 14px; line-height: 1.7; font-weight: 500; }
#chart-scope { color: var(--muted); font-size: 12px; }
.annual-chart { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); align-items: end; margin-top: 12px; padding: 0 12px 6px; }
.annual-bar { display: grid; grid-template-rows: 119px 25px; justify-items: stretch; gap: 6px; border: 0; padding: 0 3px; background: none; color: var(--muted); border-radius: 4px; font-variant-numeric: tabular-nums; }
.bar-track { position: relative; height: 99px; margin-top: 20px; border-bottom: 1px solid var(--line); }
.bar-fill { position: absolute; bottom: 0; left: 50%; width: min(48%, 32px); transform: translateX(-50%); height: var(--bar-height); background: #c0d0c5; border-radius: 3px 3px 0 0; transition: background .15s; }
.bar-fill.current-year { background: #819d8b; }
.bar-count { position: absolute; bottom: calc(var(--bar-height) + 4px); left: 0; width: 100%; text-align: center; font-size: 12px; line-height: 18px; }
.bar-year { font-size: 12px; line-height: 22px; width: max-content; justify-self: center; }
.annual-bar.is-unlabeled .bar-year { visibility: hidden; }
.annual-bar { min-width: 0; grid-template-columns: minmax(0, 1fr); }
.annual-bar:hover .bar-fill, .annual-bar[aria-pressed="true"] .bar-fill { background: var(--accent); }
.annual-bar:hover, .annual-bar[aria-pressed="true"] { color: var(--accent); }
.annual-bar[aria-pressed="true"] .bar-year { font-weight: 600; background: var(--accent-soft); border-radius: 4px; }
.activity figcaption { font-size: 11px; color: var(--muted); margin-top: 6px; text-align: right; }
.chart-scope-note { display: block; margin-top: 2px; }
.chart-empty { display: grid; place-items: center; min-height: 150px; margin: 0; color: var(--muted); font-size: 13px; }
.filter-panel { padding-top: 22px; border-top: 1px solid var(--line); padding-bottom: 20px; }
.filter-heading { display: flex; gap: 18px; align-items: center; font-size: 13px; color: var(--body); }
.subtle-link { color: var(--muted); font-size: 12px; text-decoration: underline; text-underline-offset: 4px; }
.filter-options { gap: 14px; flex-wrap: wrap; }
select { appearance: none; height: 40px; min-width: 116px; max-width: 100%; font-size: 13px; padding: 0 36px 0 12px; border-radius: 8px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%23707973' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; transition: border-color .15s, background-color .15s; }
select:hover { border-color: #aebfb3; background-color: var(--surface); }
select:focus-visible { border-color: var(--accent); }
.milestone-toggle { font-size: 13px; min-height: 38px; }
.company-filters { gap: 7px; margin-top: 16px; }
.company-chip { min-height: 34px; padding: 5px 12px; border-color: var(--line); background: white; font-size: 12px; border-radius: 6px; }
.company-chip:hover { border-color: #bbcabe; background: #f7f9f8; }
.company-chip[aria-pressed="true"] { border-color: #d8e5dc; background: var(--accent-soft); }
.solid-button, .outline-button { transition: background .15s, border-color .15s, color .15s; }
.solid-button { border-color: #456651; }
.outline-button:hover { border-color: #aebfb3; background: #f7f9f8; }
.button-small { min-height: 34px; padding: 5px 12px; font-size: 12px; }
.reset-button { padding: 5px 9px; border-radius: 5px; }
.reset-button:hover { background: var(--accent-soft); }
.results-toolbar { min-height: 72px; }
.results-actions { gap: 12px; }
.results-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 16px; }
.active-search { max-width: 280px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding: 3px 9px; background: var(--surface); border: 1px solid var(--line); border-radius: 5px; font-size: 12px; color: var(--body); }
.year-sidebar { top: 104px; max-height: calc(100dvh - 128px); overflow-y: auto; scrollbar-width: thin; }
.year-section { scroll-margin-top: 104px; }
.year-heading h2 { margin: 0; font-size: 25px; line-height: 1.45; font-weight: 550; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.card-title { font-size: 20px; }
.brand-icon { display: block; flex: 0 0 auto; object-fit: contain; color-scheme: light; }
.company-chip { gap: 7px; }
.company-chip .brand-icon { width: 16px; height: 16px; }
.card-title button { display: inline-flex; align-items: flex-start; gap: 10px; }
.card-title .brand-icon { width: 23px; height: 23px; margin-top: 3px; }
.card-title button > span { min-width: 0; overflow-wrap: anywhere; }
.dialog-title-row { display: flex; align-items: flex-start; gap: 10px; margin: 0 0 8px; }
.dialog-title-row .brand-icon { width: 26px; height: 26px; margin-top: 4px; }
.dialog-title-row h2 { min-width: 0; margin: 0; overflow-wrap: anywhere; }
.site-footer { display: block; width: 100%; margin-top: 52px; padding: 0; background: #fafbf9; border-top: 1px solid var(--line); }
.footer-bottom { display: flex; justify-content: space-between; gap: 12px 24px; padding-block: 24px; color: var(--muted); font-size: 12px; }
.footer-bottom time { margin-left: 5px; font-variant-numeric: tabular-nums; }
.footer-project-link { text-decoration: underline; text-decoration-color: #c6cec8; text-underline-offset: 3px; }
.footer-project-link:hover, .footer-project-link:focus-visible { color: var(--accent); text-decoration-color: currentColor; }
.back-to-top { position: fixed; z-index: 4; right: 24px; bottom: calc(max(24px, env(safe-area-inset-bottom)) + var(--footer-offset, 0px)); width: 44px; height: 44px; padding: 0; border: 1px solid #dfe6e1; border-radius: 50%; color: var(--body); background: #fffffff7; box-shadow: 0 3px 16px #293e300b; }
.back-to-top:hover { color: var(--accent); border-color: #aebfb3; background: var(--surface); }
body.modal-open .back-to-top { display: none; }
.about-page { padding-top: 48px; }
.about-intro { padding-bottom: 40px; border-bottom: 1px solid var(--line); }
.about-intro h1 { margin: 0 0 12px; font-size: 34px; font-weight: 600; letter-spacing: -.025em; }
.about-intro > p:last-child { margin: 0; color: var(--body); font-size: 16px; }
.about-layout { display: grid; grid-template-columns: 184px minmax(0, 720px); gap: 72px; padding-top: 40px; }
.about-nav { display: flex; flex-direction: column; position: sticky; top: 108px; align-self: start; gap: 6px; }
.about-nav a { font-size: 13px; padding: 7px 0; color: var(--muted); }
.about-nav a:hover { color: var(--accent); }
.about-content > section { padding-bottom: 40px; margin-bottom: 36px; border-bottom: 1px solid var(--line); scroll-margin-top: 104px; }
.about-content > section:last-child { border-bottom: 0; margin: 0; }
.section-number { flex-shrink: 0; color: #85978b; font-size: inherit; font-weight: 400; letter-spacing: .06em; font-variant-numeric: tabular-nums; }
.about-content h2 { display: flex; align-items: baseline; gap: 14px; font-size: 23px; font-weight: 550; line-height: 1.5; letter-spacing: -.02em; margin: 0 0 22px; }
.about-content p { color: var(--body); font-size: 15px; line-height: 1.95; margin: 0 0 18px; }
.selection-criteria { display: grid; gap: 20px; margin: 28px 0 0; }
.selection-criteria > div { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 20px; }
.selection-criteria dt { font-size: 14px; font-weight: 550; }
.selection-criteria dd { margin: 0; font-size: 14px; line-height: 1.9; color: var(--body); }
.about-content h3 { font-size: 16px; font-weight: 550; margin: 26px 0 10px; }
.about-content h2 + h3 { margin-top: 0; }
.company-order { margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--line); scroll-margin-top: 104px; }
.company-order p { font-size: 14px; }
.company-order h3 { margin: 0 0 12px; }
.company-order a { text-decoration: underline; text-underline-offset: 4px; color: var(--accent); }
.company-order .ranking-source { font-size: 12px; color: var(--muted); margin-bottom: 0; }
.definition { padding: 22px 24px; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; margin-block: 24px; }
.definition p { font-size: 14px; margin: 0; }
.definition h3 { margin-top: 0; }
.reference-list { margin: 12px 0 26px; border-top: 1px solid var(--line); }
.reference-list a { display: grid; grid-template-columns: 174px minmax(0, 1fr); align-items: baseline; gap: 18px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.reference-list a:hover strong { color: var(--accent); text-decoration: underline; text-underline-offset: 4px; }
.reference-list strong { font-size: 14px; font-weight: 500; }
.reference-list span { color: var(--body); font-size: 13px; line-height: 1.8; }
.data-cutoff { font-size: 12px !important; color: var(--muted) !important; }
.search-dialog { --search-top: min(112px, 12vh); width: min(580px, calc(100% - 32px)); max-height: calc(100vh - var(--search-top) - 16px); padding: 0; margin: var(--search-top) auto auto; border: 1px solid var(--line); border-radius: 12px; background: white; box-shadow: 0 20px 70px #17221b24; overflow: hidden; }
@supports (height: 100dvh) {
  .search-dialog { --search-top: min(112px, 12dvh); max-height: calc(100dvh - var(--search-top) - 16px); }
}
.search-dialog[open] { display: flex; flex-direction: column; }
.search-dialog::backdrop { background: #1f2f2640; backdrop-filter: blur(3px); }
.search-dialog .search-box { flex: 0 0 auto; width: 100%; max-width: none; height: 62px; padding: 0 20px; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: white; gap: 12px; }
.search-dialog .search-box input { font-size: 16px; }
.search-dialog .search-box .search-dismiss { border: 1px solid var(--line); border-radius: 4px; padding: 2px 6px; font-size: 11px; background: white; color: var(--muted); }
.search-help { flex-shrink: 0; margin: 0; padding: 14px 20px; font-size: 12px; color: var(--muted); }
.search-results { min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 5px 10px; }
.search-results:empty { padding: 0; }
.search-result { display: flex; width: 100%; justify-content: space-between; align-items: center; gap: 18px; padding: 12px 10px; border: 0; border-radius: 6px; background: white; text-align: left; }
.search-result:hover, .search-result:focus-visible { background: var(--surface); }
.search-result strong { font-size: 14px; font-weight: 500; }
.search-result span { display: block; font-size: 12px; color: var(--muted); }
.search-result-date { flex-shrink: 0; font-size: 11px; color: var(--muted); }
.search-result-identity { display: flex; align-items: center; gap: 12px; min-width: 0; }
.search-result-identity > div { min-width: 0; overflow-wrap: anywhere; }
.search-result .brand-icon { width: 22px; height: 22px; }

@media (max-width: 1050px) {
  .header-inner { gap: 16px; }
  .header-menu { gap: 16px; }
  .page-intro { gap: 40px; grid-template-columns: 1fr 1.1fr; }
  .page-intro h1 { font-size: 29px; }
  .about-layout { gap: 36px; grid-template-columns: 150px minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .header-inner { height: 64px; gap: 8px; }
  .brand { min-height: 44px; font-size: 16px; gap: 8px; white-space: nowrap; }
  .brand-mark { width: 22px; height: 22px; }
  .header-actions { gap: 0; margin-left: auto; padding: 0; border: 0; }
  .header-actions .icon-button { flex-shrink: 0; width: 44px; height: 44px; }
  .language-control { display: none; }
  .mobile-language { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; padding: 12px 14px 0; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
  .language-inline { display: flex; align-items: center; gap: 4px; }
  .language-inline a { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 12px; border-radius: 5px; font-size: 13px; color: var(--body); }
  .language-inline a[aria-current] { color: var(--accent); background: var(--accent-soft); }
  .menu-toggle { display: inline-flex; }
  .header-menu { display: none; position: absolute; top: 100%; left: 0; right: 0; max-height: calc(100dvh - 64px); overflow-y: auto; padding: 12px 20px 16px; background: white; border-bottom: 1px solid var(--line); box-shadow: 0 12px 20px #24332a08; }
  .is-menu-open .header-menu { display: flex; flex-direction: column; align-items: stretch; gap: 12px; }
  .header-nav { flex-direction: column; align-items: stretch; gap: 4px; }
  .header-nav a { min-height: 48px; padding: 10px 14px; font-size: 15px; }
  .company-chip { min-height: 40px; }
  .page-intro { grid-template-columns: 1fr; gap: 28px; padding: 32px 0 28px; }
  .page-intro h1 { font-size: 29px; }
  .intro-meta { margin-top: 12px; }
  .activity { width: 100%; max-width: none; }
  .bar-fill { width: min(44%, 32px); }
  .annual-bar { grid-template-rows: 97px 24px; }
  .bar-track { height: 77px; }
  .activity figcaption { text-align: left; }
  .filter-top { flex-wrap: wrap; gap: 12px; }
  .filter-options { gap: 10px; }
  .filter-heading { min-height: 24px; }
  .footer-bottom { flex-wrap: wrap; padding-block: 16px 24px; }
  .site-footer p:nth-child(2) { order: initial; flex-basis: auto; }
  .about-page { padding-top: 32px; }
  .about-intro h1 { font-size: 29px; }
  .about-intro { padding-bottom: 28px; }
  .about-layout { display: block; padding-top: 30px; }
  .about-nav { display: none; }
  .about-content > section { padding-bottom: 28px; margin-bottom: 28px; }
  .back-to-top { right: 16px; bottom: calc(max(18px, env(safe-area-inset-bottom)) + var(--footer-offset, 0px)); }
}
@media (max-width: 540px) {
  .page-intro { padding-top: 28px; gap: 24px; }
  .page-intro h1 { font-size: 27px; }
  .filter-options { justify-content: flex-start; }
  .company-filters { margin-inline: 0; gap: 6px; }
  .company-chip { min-height: 40px; padding-inline: 10px; }
  .year-heading h2 { font-size: 23px; }
  .results-toolbar { gap: 8px; padding-block: 14px; }
  .results-actions { gap: 6px; }
  .reference-list a { grid-template-columns: 1fr; gap: 4px; }
  .selection-criteria > div { grid-template-columns: 1fr; gap: 5px; }
  .search-dialog { --search-top: min(80px, 12vh); }
  @supports (height: 100dvh) { .search-dialog { --search-top: min(80px, 12dvh); } }
  .search-dialog .search-box { height: 58px; padding-inline: 16px; }
  .search-result { gap: 12px; }
}
@media print {
  .site-header { position: static; }
  .header-actions, .header-menu, .back-to-top, .about-nav, .search-dialog, .search-dialog[open] { display: none; }
  .page-intro { grid-template-columns: 1fr 1fr; }
  .about-layout { display: block; }
}

/* Shared filters and both timeline densities. */
.filter-top { gap: 16px 24px; flex-wrap: wrap; }
.filter-options { gap: 10px; }

.chip-count { min-width: 1.2em; color: var(--muted); font-size: 11px; font-variant-numeric: tabular-nums; text-align: right; }
.company-chip.is-empty { color: #818981; }
.company-chip.is-empty .brand-icon { opacity: .55; }
.company-chip:disabled { cursor: not-allowed; background: var(--surface); }
.company-chip[aria-pressed="true"] { border-color: #a7bfaf; }
.company-chip[aria-pressed="true"] .chip-count { color: var(--accent); }
.active-filter-row { display: flex; align-items: flex-start; flex-wrap: wrap; gap: 6px 12px; padding-top: 14px; margin-top: 14px; border-top: 1px solid var(--line); }
.active-filters { display: flex; gap: 7px; flex-wrap: wrap; min-width: 0; }
.active-filter-row .reset-button { min-height: 30px; padding: 3px 4px; white-space: nowrap; font-size: 12px; }
.company-disclosure { min-height: 40px; margin: 0; padding: 4px 10px; border: 0; background: transparent; color: var(--muted); font-size: 12px; border-radius: 5px; }
.company-disclosure:hover { color: var(--accent); background: var(--surface); }
.filter-chip { display: inline-flex; align-items: center; gap: 10px; max-width: 100%; min-height: 30px; padding: 3px 10px; border: 1px solid #d8e5dc; border-radius: 6px; color: var(--accent); background: var(--accent-soft); font-size: 12px; }
.filter-chip > span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.filter-chip > span:last-child { flex-shrink: 0; font-size: 16px; }
.filter-chip:hover { border-color: var(--accent); }
.results-toolbar, .results-actions { flex-wrap: wrap; }
.view-switch { display: flex; padding: 3px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); }
.view-switch button { min-height: 30px; padding: 3px 12px; background: transparent; border: 0; border-radius: 5px; color: var(--muted); font-size: 12px; }
.view-switch button[aria-pressed="true"] { background: white; color: var(--accent); box-shadow: 0 1px 4px #21352a12; }
.chart-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.chart-actions button { font-size: 12px; padding: 4px 0 4px 6px; color: var(--accent); }
.monthly-chart { grid-auto-flow: row; grid-template-columns: repeat(12, minmax(0, 1fr)); }
.monthly-chart .bar-fill { width: min(56%, 24px); }
.annual-bar:disabled { cursor: default; color: #a5ada7; }
.annual-bar:disabled:hover .bar-fill { background: #c0d0c5; }
.annual-bar.is-future .bar-track { border-bottom-style: dashed; }
.detail-access { margin: 0; font-size: 12px; line-height: 1.75; color: var(--muted); }
.detail-access + .detail-access { margin-top: 8px; }
.detail-access strong { color: var(--body); font-weight: 500; }
.detail-access a { text-decoration: underline; text-underline-offset: 3px; color: var(--accent); }
.card-facts { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 10px 0 12px; }
.fact-chip { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 3px; min-height: 26px; max-width: 100%; padding: 3px 7px; border: 1px solid var(--line); border-radius: 5px; background: #fafbf9; color: var(--body); font-size: 11px; line-height: 1.5; text-align: left; font-variant-numeric: tabular-nums; transition: border-color .15s, background-color .15s; }
.fact-chip:hover { border-color: #adc0b2; background: var(--accent-soft); color: var(--accent); }
.fact-label, .fact-unit { color: #626e66; font-size: 11px; }
.fact-label { margin-right: 1px; }
.fact-model { color: var(--body); font-weight: 500; padding-right: 5px; margin-right: 2px; border-right: 1px solid var(--line); overflow-wrap: anywhere; }
.fact-unit { white-space: nowrap; }
.fact-separator { color: #a2aba5; margin-inline: 1px; }
.detail-specs, .detail-pricing, .detail-scores, .detail-classification, .detail-references { margin: 18px 0 0; padding: 14px 0 0; border: 0; border-top: 1px solid var(--line); }
.price-intro { margin: 0 0 12px; color: var(--muted); font-size: 12px; line-height: 1.8; }
.price-condition { margin: 0 0 8px; font-size: 12px; color: var(--body); }
.price-tier + .price-tier { margin-top: 18px; padding-top: 16px; border-top: 1px dashed var(--line); }
.specs-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.specs-heading h3 { margin: 0; font-size: 14px; font-weight: 600; }
.specs-heading a, .spec-sources a { color: var(--accent); font-size: 12px; text-decoration: underline; text-decoration-color: #c4d1c8; text-underline-offset: 3px; }
.specs-heading a { flex-shrink: 0; }
.specs-heading a:hover, .spec-sources a:hover { text-decoration-color: var(--accent); }
.spec-variant + .spec-variant { margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--line); }
.spec-version { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; margin-bottom: 10px; }
.spec-version h4 { min-width: 0; margin: 0; font-size: 13px; font-weight: 500; overflow-wrap: anywhere; }
.spec-version > span { color: var(--muted); font-size: 11px; }
.spec-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 20px; margin: 0; }
.spec-grid dt { margin-bottom: 3px; color: var(--muted); font-size: 12px; }
.spec-grid dd { margin: 0; font-size: 14px; line-height: 1.7; font-weight: 500; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.spec-unit { color: var(--muted); font-size: 11px; font-weight: 400; }
.spec-sources { margin: 12px 0 0; line-height: 1.6; }
.spec-note { margin: 12px 0 0; color: var(--body); font-size: 12px; line-height: 1.85; }
.spec-checked { margin: 10px 0 0; color: var(--muted); font-size: 11px; font-variant-numeric: tabular-nums; }
.detail-related { margin: 20px 0; font-size: 13px; }
.detail-related a { color: var(--accent); text-decoration: underline; text-underline-offset: 4px; }

.benchmark-record + .benchmark-record { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.benchmark-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.benchmark-heading h4 { margin: 0; font-size: 13px; line-height: 1.7; font-weight: 500; }
.benchmark-heading strong { font-size: 18px; font-weight: 500; font-variant-numeric: tabular-nums; white-space: nowrap; }
.benchmark-heading strong span, .benchmark-heading sup { font-size: 11px; color: var(--muted); }
.benchmark-model { margin: 5px 0; font-size: 12px; color: var(--body); overflow-wrap: anywhere; }
.benchmark-meta { margin: 4px 0; font-size: 11px; color: var(--muted); }
.benchmark-record > a { font-size: 12px; color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.compact-card { grid-template-columns: 52px minmax(0, 1fr) 140px; align-items: baseline; gap: 16px; min-height: 48px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.compact-card::before, .compact-card::after { display: none; }
.compact-identity { display: contents; }
.compact-card .entry-date { padding: 0; color: var(--muted); font-size: 13px; line-height: 24px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.compact-card h3 { min-width: 0; margin: 0; font-size: 15px; font-weight: 500; line-height: 24px; }
.compact-card h3 button { display: flex; align-items: baseline; gap: 8px; width: 100%; max-width: 100%; padding: 0; border: 0; background: none; font: inherit; text-align: left; }
.compact-card h3 button .brand-icon { align-self: center; }
.compact-card h3 button span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.compact-card h3 button:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 4px; }
.compact-card .company-label { min-width: 0; text-align: right; font-size: 12px; line-height: 24px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.is-compact .year-theme { display: none; }
.is-compact .year-section { margin-bottom: 28px; }
.is-compact .timeline-end { padding-left: 0; }
@media (max-width: 760px) {
  .filter-options { width: 100%; }
  select { height: 44px; }
  .filter-chip { min-height: 36px; }
  .view-switch button { min-height: 36px; }
  .compact-card { grid-template-columns: 42px minmax(0, 1fr) 96px; gap: 10px; }
  .fact-chip { min-height: 28px; }
  .chart-actions { gap: 8px; }
  .active-filter-row .reset-button { min-height: 36px; }
  .card-heading { justify-content: flex-start; column-gap: 10px; row-gap: 3px; }
  .card-meta { gap: 8px; }
  .card-meta .company-label { font-size: 11px; }
  .card-title { font-size: 18px; }
  .spec-grid { gap: 10px 16px; }
  .detail-specs, .detail-pricing, .detail-scores, .detail-classification, .detail-references { margin-top: 16px; padding-top: 12px; }
}
@media (max-width: 540px) {
  .filter-options { gap: 8px; }
  .filter-options select { flex: 1 1 120px; }
  .results-toolbar { align-items: flex-start; gap: 12px; }
  .results-actions { width: 100%; justify-content: space-between; gap: 8px; }
  .results-actions .reset-button { margin-left: auto; }
  .monthly-chart { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px 0; }
  .monthly-chart .annual-bar { grid-template-rows: 70px 24px; }
  .monthly-chart .bar-track { height: 50px; }
  .monthly-chart .bar-fill { width: min(40%, 24px); }
  .activity-heading { flex-wrap: wrap; gap: 4px 12px; }
  .chart-actions { margin-left: auto; }
  .compact-card { grid-template-columns: 36px minmax(0, 1fr) 72px; gap: 8px; }
  .compact-card .entry-date { font-size: 11px; }
  .compact-card h3 { font-size: 14px; }
  .compact-card h3 button { gap: 8px; }
  .compact-card .brand-icon { width: 18px; height: 18px; }
  .compact-card .company-label { font-size: 11px; }
}
@media print {
  .active-filters, .view-switch, .chart-actions button { display: none; }
}

/* Single selection by default, with an explicit multiple-selection mode. */
.filter-heading { flex-direction: column; align-items: stretch; gap: 2px; min-width: 0; }
.company-heading-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.selection-toggle { display: inline-flex; position: relative; align-items: center; gap: 7px; min-height: 36px; color: var(--muted); font-size: 12px; white-space: nowrap; cursor: pointer; }
.selection-toggle input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.selection-switch { position: relative; width: 28px; height: 16px; flex: 0 0 auto; border-radius: 20px; background: #dce3df; }
.selection-switch::after { content: ''; position: absolute; left: 2px; top: 2px; width: 12px; height: 12px; border-radius: 50%; background: white; }
.selection-toggle input:checked + .selection-switch { background: var(--accent); }
.selection-toggle input:checked + .selection-switch::after { transform: translateX(12px); }
.selection-toggle input:focus-visible + .selection-switch { outline: 2px solid var(--accent); outline-offset: 4px; }
.selection-toggle:has(input:checked) { color: var(--accent); }
@media (max-width: 760px) {
  .filter-heading { width: 100%; }
  .selection-toggle { min-height: 44px; }
}

.explore-launch { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; width: 44px; height: 44px; padding: 0; border-radius: 6px; color: var(--accent); }
.explore-launch svg { width: 20px; height: 20px; flex-shrink: 0; }
.explore-launch:hover, .explore-launch[aria-current="page"] { background: var(--accent-soft); }
@media (min-width: 761px) and (max-width: 960px) {
  .brand { flex-shrink: 0; white-space: nowrap; }
  .header-inner { gap: 12px; }
  .header-nav { gap: 4px; }
  .header-nav a { padding-inline: 10px; }
  .header-actions { padding-left: 8px; }
}
/* The prerendered edition uses source links in place of JavaScript buttons. */
.card-title > a { display: inline-flex; align-items: center; gap: 9px; max-width: 100%; }
.card-title > a > span { overflow-wrap: anywhere; }
.journey-event h3 > a { display: flex; align-items: flex-start; gap: 9px; max-width: 100%; color: var(--ink); }
.journey-event h3 > a > span { overflow-wrap: anywhere; }
.journey-event h3 > a:hover { color: var(--accent); }
