:root {
  color-scheme: light;
  --font-ui-chrome: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-view: 'Noto Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-view-number: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  --page-bg: #dfe3e3;
  --bg: #eef1f0;
  --ink: #15436b;
  --on-ink: #ffffff;
  --text: #2a2f34;
  --text-strong: #263238;
  --heading: #525b62;
  --icon: #304653;
  --bar: #ffffff;
  --line: #e2e6e6;
  --line-soft: #eef1f1;
  --muted: #6a7078;
  --soft: #f6f8f8;
  --soft-strong: #e9eff1;
  --focus: #c2d9e6;
  --button-border: #cfd5d5;
  --button-text: #5a6066;
  --hover: #f2f5f5;
  --primary-hover: #edf4f7;
  --active-bg: #e8f1f6;
  --active-border: #9dc6d9;
  --panel-hover: #f9fbfb;
  --input-bg: #ffffff;
  --input-border: #d2d9d9;
  --input-focus-border: #a9c7d7;
  --resizer: #8eb8cc;
  --timeline-dot-outline: #ffffff;
  --count-text: #54616a;
  --empty-border: #d3dbdb;
  --chart-shadow: 0 8px 30px rgba(20, 40, 60, 0.12);
  --table-page: #f7f8f7;
  --table-bg: #ffffff;
  --table-line: #d9dfdf;
  --table-cell-line: #edf0f0;
  --table-head: #edf2f3;
  --table-head-text: #34414a;
  --table-active: #eef6fa;
  --table-hover: #f8fbfc;
  --table-active-hover: #e8f3f8;
  --table-link: #155f8d;
  --trend-growth: #9a6a2f;
  --trend-negative: #b7433a;
  --metric-tooltip-bg: rgba(255, 255, 255, 0.96);
  --metric-tooltip-border: rgba(42, 47, 52, 0.12);
  --metric-tooltip-shadow: 0 12px 28px rgba(20, 40, 60, 0.14);
  --period-scroll-thumb: rgba(21, 67, 107, 0.28);
  --period-scroll-thumb-hover: rgba(21, 67, 107, 0.42);
  --period-scroll-track: transparent;
  --list-scroll-thumb: rgba(42, 47, 52, 0.1);
  --list-scroll-thumb-hover: rgba(42, 47, 52, 0.16);
  --list-scroll-track: transparent;
  --toolbar-height: 24px;
  --control-strip-height: 46px;
  --view-actionbar-height: 32px;
  --sidebar-width: 282px;
  --comparison-flow-gap: 8px;
  --comparison-card-border-width: 1px;
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --page-bg: #1d1e1c;
  --bg: #151716;
  --ink: #6fd3c4;
  --on-ink: #10201d;
  --text: #e6e3d8;
  --text-strong: #f1eee5;
  --heading: #d1d5cb;
  --icon: #c8d2c8;
  --bar: #232321;
  --line: #393b37;
  --line-soft: #30332f;
  --muted: #a4aaa4;
  --soft: #2b2d2a;
  --soft-strong: #343832;
  --focus: #6fd3c4;
  --button-border: #464a43;
  --button-text: #c4cbc1;
  --hover: #30332f;
  --primary-hover: #253d38;
  --active-bg: #203c38;
  --active-border: #4b9087;
  --panel-hover: #282b27;
  --input-bg: #1b1d1a;
  --input-border: #464a43;
  --input-focus-border: #74cfc3;
  --resizer: #63b6ad;
  --timeline-dot-outline: #232321;
  --count-text: #c3cbbb;
  --empty-border: #4a5046;
  --chart-shadow: 0 10px 34px rgba(0, 0, 0, 0.38);
  --table-page: #1a1b19;
  --table-bg: #232321;
  --table-line: #393b37;
  --table-cell-line: #343730;
  --table-head: #30342e;
  --table-head-text: #e1e6da;
  --table-active: #203c38;
  --table-hover: #2a2d29;
  --table-active-hover: #254842;
  --table-link: #7fd9cd;
  --trend-growth: #f0bd68;
  --trend-negative: #e99485;
  --metric-tooltip-bg: rgba(35, 35, 33, 0.96);
  --metric-tooltip-border: rgba(230, 227, 216, 0.16);
  --metric-tooltip-shadow: 0 14px 32px rgba(0, 0, 0, 0.38);
  --period-scroll-thumb: rgba(127, 217, 205, 0.34);
  --period-scroll-thumb-hover: rgba(127, 217, 205, 0.5);
  --period-scroll-track: transparent;
  --list-scroll-thumb: rgba(230, 227, 216, 0.12);
  --list-scroll-thumb-hover: rgba(230, 227, 216, 0.2);
  --list-scroll-track: transparent;
}
* { box-sizing: border-box; }
html, body {
  margin: 0;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  background: var(--page-bg);
  font-family: var(--font-ui-chrome);
  color: var(--text);
}
.top-shell {
  position: sticky; top: 0; z-index: 10;
  background: var(--bar);
}
.toolbar {
  display: flex; align-items: center; gap: 8px;
  background: var(--bar);
}
.toolbar {
  height: 24px; min-height: 24px; padding: 0 8px;
}
.toolbar {
  border-bottom: 1px solid var(--line-soft);
}
.toolbar h1 {
  flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  font-size: 12.5px; line-height: 24px; font-weight: 400; margin: 0 2px 0 0; color: var(--ink);
}
.toolbar a {
  color: var(--ink); text-decoration: none;
}
.toolbar a:hover { text-decoration: underline; }
.byline {
  flex: 0 0 auto; white-space: nowrap;
  color: var(--muted); font-size: 11.5px; line-height: 24px; font-weight: 400;
}
.repo-link {
  flex: 0 0 24px; width: 24px; height: 24px;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--icon); font-size: 11.5px; line-height: 24px; font-weight: 400;
}
.repo-link svg {
  width: 13px; height: 13px; flex: 0 0 auto; fill: currentColor;
}
.repo-link:hover { background: var(--hover); text-decoration: none; }
.action-title {
  min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  color: var(--heading); font-size: 12px; font-weight: 400;
}
.view-seg { flex: 0 0 auto; gap: 1px; height: 24px; }
.seg { display: inline-flex; border: 1px solid var(--button-border); overflow: hidden; }
.seg button { border: 0; border-right: 1px solid var(--button-border); background: var(--input-bg); padding: 2px 10px; height: 22px; font: inherit; font-size: 12px; font-weight: 400; color: var(--button-text); cursor: pointer; }
.seg button:last-child { border-right: 0; }
.seg button.active { background: var(--ink); color: var(--on-ink); }
.view-seg.seg { border: 0; }
.view-seg button {
  height: 24px; padding: 0 10px; border: 0; background: transparent;
  color: var(--button-text); line-height: 24px;
}
.view-seg button.active {
  background: var(--ink); color: var(--on-ink);
}
.seg.compact button { padding: 2px 8px; font-size: 11px; height: 22px; }
.toolbar-actions,
.action-group,
.utility-controls { display: inline-flex; align-items: center; gap: 8px; }
.utility-controls { flex: 0 0 auto; margin-left: auto; }
/* held-combo indicator: appears only while modifier keys are down */
.hotkey-hint {
  display: inline-flex; align-items: center; gap: 6px;
  max-width: 46vw; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  color: var(--muted); font-size: 11.5px; line-height: 22px;
}
.hotkey-hint kbd {
  font: inherit; font-size: 11px; font-weight: 700; line-height: 16px;
  color: var(--heading); background: var(--input-bg);
  border: 1px solid var(--button-border); padding: 0 5px;
}
[hidden] { display: none !important; }
.btn {
  height: 22px; font: inherit; font-size: 12px; font-weight: 400; padding: 2px 7px;
  border: 1px solid transparent; background: transparent; color: var(--text); cursor: pointer;
  display: inline-flex; align-items: center; gap: 5px;
}
.btn svg { width: 12px; height: 12px; stroke-width: 2; }
.btn:hover { background: var(--hover); border-color: transparent; }
.btn.primary { color: var(--ink); border-color: transparent; }
.btn.primary:hover { background: var(--primary-hover); }
.icon-btn {
  width: 22px; height: 22px; padding: 0; justify-content: center; flex: 0 0 auto;
}
.icon-btn svg { width: 14px; height: 14px; }
.utility-btn {
  min-width: 48px;
  justify-content: center;
}
.utility-btn span {
  min-width: 18px;
  text-align: center;
  font-size: 11px;
  font-weight: 800;
}
.spacer { flex: 1; }

.app {
  display: grid;
  grid-template-columns: var(--sidebar-width) minmax(0, 1fr);
  height: calc(100vh - var(--toolbar-height));
  min-height: 0;
  overflow: hidden;
  transition: grid-template-columns 160ms ease;
}
body.boot-no-motion .app {
  transition: none;
}
.app.sidebar-collapsed {
  grid-template-columns: 0 minmax(0, 1fr);
}
.dataset-panel {
  height: 100%;
  position: relative; top: auto; align-self: stretch;
  display: flex; flex-direction: column; gap: 0;
  min-width: 0; overflow: hidden; padding: 10px 8px;
  background: var(--bar); border-right: 1px solid var(--line);
}
.app.sidebar-collapsed .dataset-panel {
  padding: 0; border-right: 0; pointer-events: none;
}
.app.sidebar-collapsed .dataset-panel > :not(.sidebar-resizer) {
  display: none;
}
.floating-sidebar-toggle {
  display: none;
  position: fixed;
  top: calc(var(--toolbar-height) + var(--control-strip-height) + var(--view-actionbar-height) + 8px);
  left: 8px;
  z-index: 9;
  background: var(--bar);
  border: 1px solid var(--line);
  box-shadow: 0 3px 12px rgba(20, 40, 60, 0.12);
}
.app.sidebar-collapsed .floating-sidebar-toggle {
  display: inline-flex;
}
.floating-sidebar-toggle:hover,
.floating-sidebar-toggle:focus-visible {
  background: var(--primary-hover);
  border-color: var(--active-border);
}
.sidebar-resizer {
  position: absolute; top: 0; right: 0; bottom: 0; width: 9px;
  cursor: col-resize; touch-action: none; z-index: 2;
  background: transparent; border: 0; padding: 0;
}
.sidebar-resizer::after {
  content: ""; position: absolute; top: 0; right: 0; bottom: 0; width: 2px;
  background: transparent;
}
.sidebar-resizer:hover::after,
.sidebar-resizer:focus-visible::after,
body.is-resizing-sidebar .sidebar-resizer::after {
  background: var(--resizer);
}
.sidebar-resizer:focus-visible { outline: 2px solid var(--focus); outline-offset: -2px; }
.app.sidebar-collapsed .sidebar-resizer { display: none; }
body.is-resizing-sidebar {
  cursor: col-resize; user-select: none;
}
.panel-section { min-height: 0; display: flex; flex-direction: column; gap: 5px; }
.panel-section > .nav-list { flex: 1 1 auto; }
.company-section { position: relative; flex: 1 1 auto; min-height: 92px; }
.company-section .nav-list { max-height: none; gap: 0; }
.period-section { position: relative; flex: 1 1 0; min-height: 0; }
.section-bar { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-width: 0; }
.company-section-bar,
.period-section-bar { min-height: 22px; }
.panel-collapse-btn {
  margin-left: -2px;
}
.section-bar label,
.panel-section > label {
  font-size: 11px; font-weight: 800; color: var(--heading);
}
.section-bar label {
  flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.entity-heading {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.section-heading {
  flex: 1 1 auto;
}
.control-heading,
.actionbar-heading {
  flex: 0 0 auto;
}
.entity-heading label,
.entity-heading .control-label,
.entity-heading .view-label {
  flex: 0 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.scope-count-pill {
  flex: 0 0 auto;
  min-width: 16px;
  height: 16px;
  padding: 0 5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  background: var(--soft);
  color: var(--count-text);
  font-size: 10px;
  line-height: 14px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.scope-count-pill:empty {
  display: none;
}
.panel-icon-actions {
  display: inline-flex; align-items: center; gap: 2px; flex: 0 0 auto;
}
.search-toggle {
  width: 22px; height: 22px; color: var(--button-text);
}
.search-toggle.active,
.sort-toggle {
  background: var(--ink); color: var(--on-ink);
}
.sort-toggle:hover,
.sort-toggle:focus-visible,
.sort-toggle[aria-expanded="true"] {
  background: var(--ink); color: var(--on-ink);
  box-shadow: 0 0 0 1px var(--active-border);
}
.sort-toggle:hover {
  filter: brightness(1.08);
}
.sort-toggle:focus-visible {
  outline: 2px solid var(--focus); outline-offset: 2px;
}
.sort-menu {
  position: relative;
  display: inline-flex;
}
.sort-options {
  position: absolute; top: calc(100% + 4px); right: 0; z-index: 20;
  min-width: 222px; padding: 5px;
  border: 1px solid var(--line); background: var(--bar); box-shadow: var(--chart-shadow);
}
.sort-option-row {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 8px;
  min-height: 30px; padding: 3px 4px 3px 8px;
}
.sort-option-row:hover {
  background: var(--hover);
}
.sort-option-row.active {
  background: var(--active-bg);
}
.sort-option-row.active:hover {
  background: var(--table-active-hover);
}
.sort-option-label {
  min-width: 0; display: inline-flex; align-items: center; gap: 7px;
  color: var(--text-strong); font-size: 11px; font-weight: 800; white-space: nowrap;
}
.sort-option-icon,
.sort-option-icon svg {
  width: 14px; height: 14px; flex: 0 0 auto;
}
.sort-option-icon {
  color: var(--icon); display: inline-flex; align-items: center; justify-content: center;
}
.sort-direction-group {
  display: inline-grid; grid-template-columns: repeat(2, 22px); gap: 2px;
}
.sort-options .sort-direction-button {
  width: 22px; height: 22px; padding: 0;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid transparent; background: transparent; color: var(--button-text);
  font: inherit;
  cursor: pointer;
}
.sort-options .sort-direction-button:hover,
.sort-options .sort-direction-button:focus-visible {
  background: var(--primary-hover); color: var(--ink); border-color: var(--active-border); outline: none;
}
.sort-options .sort-direction-button.active {
  background: var(--ink); color: var(--on-ink); border-color: var(--ink);
}
.sort-options .sort-direction-button svg {
  width: 12px; height: 12px;
}
.search-toggle svg,
.sort-toggle svg {
  width: 13px; height: 13px;
}
.search-box { position: relative; }
.header-search-box {
  display: none; flex: 1 1 auto; min-width: 0;
}
.company-section.search-open .section-bar > label,
.period-section.search-open .section-bar > label {
  display: none;
}
.company-section.search-open .section-bar > .section-heading {
  display: none;
}
.company-section.search-open .header-search-box,
.period-section.search-open .header-search-box {
  display: block;
}
.company-section.search-open .header-search-box {
  flex: 1 1 0;
}
.search-box input {
  width: 100%; height: 28px; padding: 5px 8px;
  border: 1px solid var(--input-border);
  background: var(--input-bg); color: var(--text); font: inherit; font-size: 11.5px; font-weight: 600;
}
.header-search-box input {
  height: 22px; padding-top: 2px; padding-bottom: 2px;
}
.search-box input:focus { outline: 2px solid var(--focus); outline-offset: 0; border-color: var(--input-focus-border); }
.nav-list {
  min-height: 0; overflow: auto; display: flex; flex-direction: column; gap: 2px;
  scrollbar-width: thin;
  scrollbar-color: var(--list-scroll-thumb) var(--list-scroll-track);
}
.nav-list:hover {
  scrollbar-color: var(--list-scroll-thumb-hover) var(--list-scroll-track);
}
.nav-list::-webkit-scrollbar {
  width: 2px;
  height: 2px;
}
.nav-list::-webkit-scrollbar-track {
  background: var(--list-scroll-track);
}
.nav-list::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: var(--list-scroll-thumb);
}
.nav-list:hover::-webkit-scrollbar-thumb {
  background: var(--list-scroll-thumb-hover);
}
.nav-item {
  width: 100%; border: 1px solid transparent;
  background: transparent; padding: 0 5px; text-align: left;
  font: inherit; cursor: pointer; color: var(--text-strong);
}
.nav-item:hover { background: var(--soft); border-color: var(--line); }
.nav-item:focus-visible { outline: 2px solid var(--focus); outline-offset: -2px; }
.nav-item.active { background: var(--active-bg); border-color: var(--active-border); box-shadow: inset 3px 0 0 var(--ink); }
.nav-item.selected:not(.active) { background: var(--soft); border-color: var(--active-border); box-shadow: inset 3px 0 0 var(--focus); }
.item-top { display: flex; align-items: center; gap: 5px; min-width: 0; height: 18px; }
.item-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 11px; line-height: 18px; font-weight: 800; }
.scope-check {
  display: none;
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  border: 1px solid var(--button-border);
  border-radius: 50%;
  background: transparent;
}
.app.company-multi-selecting .scope-check { display: inline-block; }
.company-item.selected .scope-check {
  background: var(--ink);
  border-color: var(--ink);
  box-shadow: 0 0 0 2px var(--active-bg);
}
.company-item {
  padding-top: 2px;
  padding-bottom: 3px;
}
.company-item .item-name {
  flex: 1 1 auto;
  max-width: none;
}
.company-item .count-pill {
  flex: 0 0 auto;
}
.company-item-meta {
  display: block;
  line-height: 13px;
}
.period-item {
  --timeline-color: #8e9aa1;
  --timeline-line-color: #d4dcdc;
  --timeline-ring-color: #c1cbcc;
  --timeline-active-ring-color: #d6e7ef;
  display: grid; grid-template-columns: 18px minmax(0, 1fr); column-gap: 4px;
  width: 100%; min-height: 44px; padding: 0; border: 0; color: var(--text-strong);
  background: transparent;
}
.period-item:hover,
.period-item.active {
  background: transparent; border-color: transparent; box-shadow: none;
}
.timeline-list { gap: 0; padding: 1px 0 3px; }
.timeline-marker {
  position: relative; align-self: stretch; min-height: 44px;
}
.timeline-marker::before,
.timeline-marker::after {
  content: ""; position: absolute; left: 50%; width: 2px; margin-left: -1px;
  background: var(--timeline-line-color);
}
.timeline-marker::before { top: 0; bottom: 50%; }
.timeline-marker::after { top: 50%; bottom: 0; }
.period-item:first-of-type .timeline-marker::before,
.period-item:last-of-type .timeline-marker::after {
  background: transparent;
}
.timeline-dot {
  position: absolute; left: 50%; top: 50%; z-index: 1;
  width: 7px; height: 7px; margin: -3.5px 0 0 -3.5px;
  border-radius: 999px; background: var(--timeline-color);
  box-shadow: 0 0 0 2px var(--timeline-dot-outline), 0 0 0 3px var(--timeline-ring-color);
}
.timeline-content {
  align-self: center; min-width: 0;
  border: 0; padding: 0 3px;
}
.period-item:hover .timeline-content,
.period-item:focus-within .timeline-content {
  background: var(--panel-hover);
}
.period-item.active .timeline-content {
  background: transparent; box-shadow: none;
}
.period-item.active .timeline-dot {
  width: 10px; height: 10px; margin: -5px 0 0 -5px;
  background: var(--timeline-color); box-shadow: 0 0 0 2px var(--timeline-dot-outline), 0 0 0 4px var(--timeline-active-ring-color);
}
.period-item.active .item-name,
.period-item.active .item-meta,
.period-item.active .period-description {
  color: var(--timeline-color);
}
.period-item .item-top { height: 28px; min-height: 0; }
.period-item .item-name { flex: 0 0 auto; font-size: 11.5px; font-weight: 700; }
.period-year-content {
  display: flex; flex-direction: column; gap: 4px;
  padding: 5px 3px 5px 0;
}
.period-year-row {
  display: flex; align-items: center; gap: 7px; min-width: 0;
}
.period-year-name {
  flex: 0 0 40px; max-width: 48px;
}
button.period-year-name {
  appearance: none; background: none; border: 0; padding: 0;
  font: inherit; color: inherit; cursor: pointer; text-align: left;
}
button.period-year-name:hover,
button.period-year-name:focus-visible {
  text-decoration: underline; text-underline-offset: 3px; outline: none;
}
.period-year-name.selected,
.period-year-name.partial {
  text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px;
}
.period-year-name.partial { text-decoration-style: dashed; text-decoration-thickness: 1px; }
#periodSelectAllToggle { cursor: pointer; }
#periodSelectAllToggle:hover { text-decoration: underline; text-underline-offset: 3px; }
.quarter-tags,
.variant-row {
  min-width: 0; display: flex; align-items: center; flex-wrap: wrap; gap: 3px;
}
.quarter-tags { flex: 1 1 auto; }
.quarter-tag,
.variant-chip {
  border: 1px solid var(--button-border); background: var(--input-bg);
  color: var(--button-text); font: inherit; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 25px; height: 18px; padding: 0 5px;
  font-size: 9.5px; line-height: 16px; font-weight: 800;
}
.quarter-tag:hover,
.quarter-tag:focus-visible,
.variant-chip:hover,
.variant-chip:focus-visible {
  background: var(--primary-hover); border-color: var(--active-border);
  outline: none;
}
.quarter-tag.active,
.quarter-tag.selected,
.variant-chip.active,
.variant-chip.selected {
  background: var(--ink); border-color: var(--ink); color: var(--on-ink);
}
.quarter-tag:disabled {
  cursor: default; opacity: 0.38; background: var(--soft);
}
.variant-row {
  padding-left: 47px;
}
.variant-chip {
  min-width: 0; max-width: 100%; height: 19px; padding: 0 6px;
  font-size: 9.5px; font-weight: 700;
}
.period-description {
  min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  color: var(--muted); font-size: 10px; line-height: 1.25; font-weight: 600;
}
.count-pill {
  margin-left: auto; min-width: 18px; padding: 0 4px;
  background: var(--soft-strong); color: var(--count-text); text-align: center;
  font-size: 9px; line-height: 14px; font-weight: 800;
}
.item-meta {
  min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  font-size: 10px; line-height: 1; color: var(--muted);
}
.empty-state {
  border: 1px dashed var(--empty-border); padding: 8px;
  color: var(--muted); background: var(--soft); font-size: 11px; line-height: 1.3;
}

/* transient placeholder while a dataset adapter script loads */
.chart-loading {
  display: flex; align-items: center; justify-content: center;
  min-height: 220px; padding: 24px;
  color: var(--muted); font-size: 13px;
}
.chart-loading-error { flex-direction: column; gap: 12px; }

.content {
  position: relative;
  min-width: 0; min-height: 0; height: 100%;
  display: flex; flex-direction: column;
  overflow: hidden; overscroll-behavior: none;
}
.control-strip {
  flex: 0 0 auto;
  position: relative; z-index: 6;
  display: flex; align-items: stretch; gap: 8px;
  min-width: 0; min-height: 46px;
  padding: 8px 12px;
  background: var(--bar);
  border-bottom: 1px solid var(--line);
}
.control-group {
  min-width: 0;
  display: flex; align-items: center; gap: 8px;
  padding-right: 8px;
  border-right: 1px solid var(--line-soft);
}
.control-group:last-child {
  padding-right: 0;
  border-right: 0;
}
.control-label,
.view-label {
  flex: 0 0 auto;
  color: var(--heading);
  font-size: 11px;
  line-height: 1;
  font-weight: 800;
}
.entity-heading .control-label,
.entity-heading .view-label {
  flex: 0 1 auto;
}
.metric-control,
.view-control {
  flex: 0 0 auto;
}
.control-seg {
  height: 24px;
  border-color: var(--button-border);
}
.control-seg.view-seg {
  border: 1px solid var(--button-border);
}
.control-seg button {
  min-width: 72px;
  height: 22px;
  padding: 0 10px;
  line-height: 22px;
  white-space: nowrap;
}
.metric-seg button {
  min-width: 108px;
}
.period-control {
  flex: 1 1 680px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  column-gap: 8px;
  row-gap: 4px;
}
.period-control .section-bar {
  justify-content: flex-start;
  gap: 6px;
}
.period-control .section-bar label {
  flex: 0 0 auto;
}
.period-control .panel-icon-actions {
  gap: 3px;
}
.period-control .header-search-box {
  min-width: 140px;
}
.period-control .timeline-list {
  min-width: 0;
  max-height: none;
  display: flex;
  flex-direction: row;
  gap: 4px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0 0 2px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.period-control .timeline-list::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}
.period-scroll-meter {
  grid-column: 2;
  position: relative;
  height: 2px;
  margin-top: -1px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--period-scroll-track);
  pointer-events: none;
}
.period-scroll-meter[hidden] {
  display: none;
}
#periodScrollThumb {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 48px;
  border-radius: inherit;
  background: var(--period-scroll-thumb);
  transition: transform 120ms ease, width 120ms ease;
}
.period-control .period-item {
  flex: 0 0 auto;
  display: block;
  width: auto;
  min-width: 156px;
  min-height: 26px;
  padding: 2px 5px;
  border: 1px solid var(--button-border);
  background: var(--input-bg);
}
.period-control .period-item:hover,
.period-control .period-item:focus-within {
  background: var(--panel-hover);
  border-color: var(--active-border);
}
.period-control .period-item.active {
  border-color: var(--ink);
  box-shadow: inset 0 -2px 0 var(--ink);
}
.period-control .timeline-marker {
  display: none;
}
.period-control .timeline-content,
.period-control .period-item.active .timeline-content {
  background: transparent;
  box-shadow: none;
}
.period-control .period-year-content {
  padding: 0;
  gap: 2px;
}
.period-control .period-year-row {
  gap: 5px;
}
.period-control .period-year-name {
  flex: 0 0 auto;
  max-width: none;
}
.period-control .variant-row {
  padding-left: 0;
}
.period-control .period-description {
  display: none;
}
.period-expand-toggle {
  background: var(--input-bg);
  color: var(--ink);
}
.period-expand-toggle:hover,
.period-expand-toggle:focus-visible {
  background: var(--primary-hover);
  color: var(--ink);
}
.app.period-expanded .control-strip {
  flex-wrap: wrap;
}
.app.period-expanded .period-control {
  order: 3;
  flex: 1 1 100%;
  padding-right: 0;
  border-right: 0;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
}
.app.period-expanded .period-control .section-bar {
  min-height: 26px;
}
.app.period-expanded .period-control .timeline-list {
  flex-wrap: wrap;
  align-content: flex-start;
  gap: 5px;
  overflow-x: hidden;
  overflow-y: visible;
  padding-bottom: 0;
  scrollbar-width: none;
}
.app.period-expanded .period-scroll-meter {
  display: none;
}
.app.period-expanded .period-control .timeline-list::-webkit-scrollbar {
  display: none;
}
.app.period-expanded .period-control .period-item {
  min-width: 156px;
  flex: 1 1 166px;
  max-width: 220px;
}
.app.period-expanded .period-control .period-description {
  display: block;
}
.app.period-expanded .view-control {
  order: 2;
  margin-left: auto;
}
.view-actionbar {
  flex: 0 0 auto;
  position: relative; z-index: 6;
  display: flex; align-items: center; gap: 10px;
  min-height: 32px;
  padding: 4px 12px;
  background: var(--bar);
  border-bottom: 1px solid var(--line);
}
.view-pane {
  flex: 1 1 auto;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  font-family: var(--font-view);
}
.stage { padding: 10px; display: flex; justify-content: center; align-items: flex-start; }
.card {
  background: var(--bg); border-radius: 0;
  box-shadow: var(--chart-shadow);
  width: 100%; max-width: 2862px; overflow: hidden;
}
#chart { width: 100%; }
#chart svg { display: block; width: 100%; height: auto; }
.comparison-view {
  width: 100%;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  gap: var(--comparison-flow-gap);
}
.comparison-view[hidden] { display: none; }
.comparison-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--comparison-flow-gap);
  width: 100%;
  align-items: start;
}
.comparison-flow {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: center;
  /* fixed gap at every zoom level; fit/preview measure the resolved flex
     longhands from this connected element, including calc/rem overrides */
  gap: var(--comparison-flow-gap);
  width: 100%;
}
.comparison-flow .comparison-card {
  flex: 0 0 auto;
}
.comparison-flow .comparison-card.empty {
  width: 260px;
}
.comparison-card {
  min-width: 0;
  overflow: hidden;
  border: var(--comparison-card-border-width) solid var(--line);
  border-radius: 6px;
  background: var(--bg);
  box-shadow: var(--chart-shadow);
}
.comparison-card.empty {
  min-height: 88px;
  background: var(--soft);
  box-shadow: none;
}
.comparison-card.hover-linked {
  border-color: var(--ink);
  box-shadow: 0 0 0 2px var(--active-border), var(--chart-shadow);
}
.comparison-card-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
  padding: 6px 8px 3px;
  background: var(--bar);
  border-bottom: 1px solid var(--line-soft);
}
.comparison-card-header strong {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--text-strong);
  font-size: 12px;
  line-height: 1.2;
  font-weight: 800;
}
.comparison-card-header span {
  flex: 0 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.2;
  font-weight: 700;
}
.comparison-card-metrics {
  min-height: 19px;
  padding: 3px 8px 5px;
  color: var(--muted);
  background: var(--bar);
  border-bottom: 1px solid var(--line-soft);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 10px;
  font-weight: 700;
}
.comparison-chart-frame {
  display: flex;
  justify-content: center;
  width: 100%;
  overflow: hidden;
  background: var(--bg);
}
.comparison-chart-host {
  flex: 0 1 auto;
  min-width: 0;
  position: relative;
}
.comparison-chart-host svg {
  display: block;
  width: 100%;
  height: auto;
}
/* flat bitmap stand-ins sampled by the viewport canvas during a zoom gesture,
   so preview frames blit textures instead of re-rasterizing every vector
   chart */
.comparison-zoom-proxy {
  display: none;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
/* during a zoom gesture the flow is fully hidden and the overlay canvas below
   paints the moving picture, so no DOM pixel is invalidated per frame */
.zoom-previewing .comparison-flow {
  visibility: hidden;
}
.comparison-zoom-overlay {
  position: fixed;
  z-index: 4;
  display: none;
  pointer-events: none;
}
/* frame-rate readout, opt-in via ?fps=1 or localStorage trace-perf-hud=1 */
.perf-hud {
  position: absolute;
  left: 14px;
  bottom: 14px;
  z-index: 6;
  padding: 3px 9px;
  background: var(--bar);
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
  font-variant-numeric: tabular-nums;
  pointer-events: none;
}
.comparison-metric-trend {
  /* stays in the viewport while the zoomed flow scrolls horizontally */
  position: sticky;
  left: 10px;
  width: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--bg);
  box-shadow: var(--chart-shadow);
}
.comparison-metric-trend-header {
  align-items: center;
}
.comparison-metric-trend-header strong {
  flex: 0 1 auto;
  font-size: 13px;
}
.comparison-metric-trend-header span {
  flex: 1 1 auto;
}
.comparison-metric-trend-close {
  flex: 0 0 auto;
  height: 22px;
  min-width: 22px;
  justify-content: center;
}
/* scoped selector outranks the later .trend-canvas-wrap base height */
.comparison-metric-trend .comparison-metric-trend-canvas-wrap {
  height: min(36vh, 300px);
  min-height: 200px;
  padding: 6px 4px 2px;
}
.comparison-chart-host rect.sankey-node.metric-trend-selected {
  /* paired with vector-effect: non-scaling-stroke set on the rect */
  stroke: var(--ink);
  stroke-width: 2.25px;
}
.comparison-chart-host path.sankey-link.metric-trend-selected-link {
  filter: drop-shadow(0 0 5px rgba(0, 0, 0, 0.38));
}
/* trend-bar hover: the hovered period's node (and flow) over the selected
 * outline; paired with vector-effect: non-scaling-stroke on selected rects */
.comparison-chart-host rect.sankey-node.metric-trend-hover {
  stroke: var(--ink);
  stroke-width: 3.5px;
  filter: drop-shadow(0 0 5px rgba(0, 0, 0, 0.4));
}
.comparison-chart-host path.sankey-link.metric-trend-hover-link {
  filter: drop-shadow(0 0 7px rgba(0, 0, 0, 0.55));
}
#sankeyView.comparison-zoomed {
  overflow-x: auto;
  justify-content: flex-start;
}
.comparison-view.zoomed {
  width: max-content;
  min-width: 100%;
  margin-inline: auto;
}
.canvas-zoom {
  position: absolute;
  right: 22px;
  bottom: 18px;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--button-border);
  background: var(--bg);
  box-shadow: var(--chart-shadow);
}
.canvas-zoom[hidden] { display: none; }
.canvas-zoom .btn {
  height: 24px;
  min-width: 26px;
  justify-content: center;
  font-weight: 700;
}
.canvas-zoom #zoomFitBtn {
  min-width: 46px;
  font-size: 11px;
  border-left: 1px solid var(--line-soft);
  border-right: 1px solid var(--line-soft);
}
/* native title tooltips need ~1s of hover; the zoom controls use an instant
   CSS tooltip fed by the i18n-refreshed aria-label instead */
.canvas-zoom .btn { position: relative; }
.canvas-zoom .btn::after {
  content: attr(aria-label);
  position: absolute;
  bottom: calc(100% + 9px);
  left: 50%;
  transform: translateX(-50%);
  padding: 3px 8px;
  border: 1px solid var(--metric-tooltip-border);
  background: var(--metric-tooltip-bg);
  box-shadow: var(--metric-tooltip-shadow);
  color: var(--text);
  font-size: 11px;
  font-weight: 500;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 70ms ease 0s, visibility 0s linear 70ms;
  z-index: 6;
}
.canvas-zoom .btn:hover::after,
.canvas-zoom .btn:focus-visible::after {
  opacity: 1;
  visibility: visible;
  transition: opacity 70ms ease 90ms, visibility 0s linear 90ms;
}
/* double-click flies the comparison canvas to this chart; custom 16px
   magnifier because the native zoom-in cursor is oversized */
.comparison-chart-host .sankey-title {
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Ccircle cx='6.5' cy='6.5' r='4.75' fill='rgba(255,255,255,0.9)' stroke='%232a2f34' stroke-width='1.3'/%3E%3Cpath d='M4.6 6.5h3.8M6.5 4.6v3.8' stroke='%232a2f34' stroke-width='1.2' stroke-linecap='round'/%3E%3Cpath d='M10.1 10.1 14 14' stroke='%232a2f34' stroke-width='1.7' stroke-linecap='round'/%3E%3C/svg%3E") 7 7, zoom-in;
  -webkit-user-select: none;
  user-select: none;
}
/* one-shot "double-click to zoom" hint shown on a single title click */
.comparison-zoom-hint {
  position: fixed;
  transform: translateX(-50%);
  padding: 3px 8px;
  border: 1px solid var(--metric-tooltip-border);
  background: var(--metric-tooltip-bg);
  box-shadow: var(--metric-tooltip-shadow);
  color: var(--text);
  font-size: 11px;
  font-weight: 500;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 120ms ease, visibility 0s linear 120ms;
  z-index: 40;
}
.comparison-zoom-hint.visible {
  opacity: 1;
  visibility: visible;
  transition: opacity 120ms ease;
}
.revenue-comparison-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.comparison-trend-canvas-wrap {
  height: min(34vh, 270px);
  min-height: 190px;
  border: 0;
  border-radius: 0;
  background: var(--table-bg);
}
.btn:disabled { opacity: 0.45; cursor: not-allowed; }
.table-view {
  display: flex; flex-direction: column; gap: 0;
  min-height: 0;
  padding: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: var(--table-page);
}
.table-section {
  min-width: 0;
  min-height: 0;
  flex: 0 0 auto;
  min-height: 100%;
  overflow: visible;
}
.table-heading {
  display: none;
  align-items: baseline; justify-content: space-between; gap: 12px;
  padding: 0 0 7px;
  border-bottom: 1px solid var(--table-line);
}
.table-heading h2 {
  margin: 0; font-size: 16px; line-height: 1.2; font-weight: 800; color: var(--ink);
}
.table-heading span {
  flex: 0 0 auto; color: var(--muted); font-size: 11px; font-weight: 700;
}
.table-wrap {
  width: 100%;
  max-width: 100%;
  min-height: 100%;
  overflow: visible;
  background: var(--table-bg);
  border: 1px solid var(--table-line);
}
.data-table {
  width: 100%;
  min-width: 0;
  --table-row-height: 104px;
  --cell-line-clamp: 5;
  border-collapse: separate; border-spacing: 0;
  table-layout: fixed;
  font-size: 11.5px; line-height: 1.35;
}
#companiesTable {
  --table-row-height: 104px;
  --cell-line-clamp: 5;
}
#statementsTable {
  --table-row-height: 116px;
  --cell-line-clamp: 6;
}
#revenueTable {
  --table-row-height: 118px;
  --cell-line-clamp: 6;
}
.data-table th,
.data-table td {
  padding: 8px 9px;
  border-bottom: 1px solid var(--table-cell-line);
  border-right: 1px solid var(--table-cell-line);
  text-align: left; vertical-align: top;
  overflow-wrap: anywhere;
}
.data-table tbody tr:not(.virtual-spacer) {
  height: var(--table-row-height);
}
.data-table tbody tr:not(.virtual-spacer) td {
  height: var(--table-row-height);
  max-height: var(--table-row-height);
}
.data-table th:last-child,
.data-table td:last-child { border-right: 0; }
.data-table thead th {
  position: sticky; top: 0; z-index: 2;
  background: var(--table-head); color: var(--table-head-text);
  box-shadow: 0 1px 0 var(--table-line);
  font-size: 10px; line-height: 1.2; font-weight: 800;
  text-transform: uppercase;
}
.data-table tbody tr.active-row { background: var(--table-active); }
.data-table tbody tr:hover { background: var(--table-hover); }
.data-table tbody tr.active-row:hover { background: var(--table-active-hover); }
.data-table .num {
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.data-table .cell-content {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: var(--cell-line-clamp);
  line-clamp: var(--cell-line-clamp);
  max-height: calc(var(--table-row-height) - 16px);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
  overflow-wrap: anywhere;
}
.data-table .nowrap { white-space: normal; }
.data-table .wide { white-space: normal; }
.data-table .virtual-spacer td {
  height: auto;
  padding: 0;
  border-bottom: 0;
  background: transparent;
}
.data-table .virtual-spacer div {
  width: 1px;
  min-height: 0;
}
.data-table .cell-muted { color: var(--muted); }
.data-table a { color: var(--table-link); font-weight: 700; text-decoration: none; }
.data-table a:hover { text-decoration: underline; }
.table-empty {
  padding: 14px;
  color: var(--muted); font-size: 12px;
}
.trend-view {
  min-height: 0;
  padding: 10px;
  background: var(--table-page);
}
.trend-panel {
  position: relative;
  width: 100%;
  min-height: 0;
  background: var(--table-bg);
  border: 1px solid var(--table-cell-line);
  display: flex;
  flex-direction: column;
}
.trend-heading {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  border: 0;
  white-space: nowrap;
}
.trend-heading h2 {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin: 0;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.15;
  font-weight: 800;
}
.trend-heading span {
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.2;
  font-weight: 700;
}
#trendChart {
  flex: 1 1 auto;
  min-height: 0;
  padding: 8px 14px 12px;
  display: flex;
  flex-direction: column;
}
.trend-summary {
  flex: 0 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 2px 2px 8px;
  color: var(--muted);
  font-size: 10.5px;
  line-height: 1.2;
}
.trend-summary-item {
  min-width: 0;
  display: flex;
  align-items: baseline;
  gap: 6px;
  white-space: nowrap;
}
.trend-summary-item span {
  overflow: hidden;
  text-overflow: ellipsis;
}
.trend-summary-item strong {
  flex: 0 0 auto;
  color: var(--text-strong);
  font-size: 13px;
  font-weight: 600;
}
.trend-summary-item:nth-child(3) strong {
  color: var(--trend-growth);
}
.trend-canvas-wrap {
  flex: 0 0 auto;
  position: relative;
  width: 100%;
  height: clamp(390px, calc(100vh - 178px), 620px);
  min-height: 360px;
}
#trendChart .comparison-trend-canvas-wrap {
  height: min(34vh, 270px);
  min-height: 190px;
}
#trendChart canvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
}

@media (max-width: 1100px) {
  .control-strip {
    flex-wrap: wrap;
  }
  .period-control {
    order: 2;
    flex: 1 1 100%;
    padding-right: 0;
    border-right: 0;
  }
  .view-control {
    order: 3;
    margin-left: auto;
  }
}

@media (max-width: 900px) {
  .toolbar { gap: 6px; }
  .control-strip {
    flex-wrap: wrap;
    gap: 8px;
    padding: 8px;
  }
  .period-control {
    flex: 1 1 100%;
    order: 2;
    grid-template-columns: auto minmax(0, 1fr);
    padding-right: 0;
    border-right: 0;
  }
  .view-control {
    order: 3;
  }
  .app.period-expanded .period-control {
    order: 2;
  }
  .app.period-expanded .view-control {
    order: 3;
    margin-left: 0;
  }
  #svgBtn,
  #pngBtn,
  #companiesCsvBtn,
  #statementsCsvBtn,
  #revenueCsvBtn { width: 26px; justify-content: center; }
  #svgBtn span,
  #pngBtn span,
  #companiesCsvBtn span,
  #statementsCsvBtn span,
  #revenueCsvBtn span { display: none; }
  .app,
  .app.sidebar-collapsed {
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(0, 1fr);
    grid-auto-rows: minmax(0, auto);
    align-content: start;
    overflow: hidden; overscroll-behavior: none;
  }
  .dataset-panel {
    position: static; height: auto; border-right: 0; border-bottom: 1px solid var(--line);
    display: grid; grid-template-columns: 1fr; align-items: start; overflow: visible;
  }
  .app.sidebar-collapsed .dataset-panel { display: none; }
  .sidebar-resizer { display: none; }
  .company-section, .period-section { min-height: 0; }
  .company-section { max-height: none; }
  .company-section .nav-list { max-height: 210px; }
  .nav-list { max-height: 210px; }
  .stage { padding: 8px; }
  .comparison-grid {
    grid-template-columns: 1fr;
  }
  .table-view { padding: 0; }
  .trend-view { padding: 8px; }
}
@media (max-width: 620px) {
  .toolbar { padding: 0 6px; }
  .toolbar h1 { font-size: 12px; }
  .byline { display: none; }
  .control-group {
    flex: 1 1 auto;
    padding-right: 0;
    border-right: 0;
  }
  .metric-control,
  .view-control {
    justify-content: space-between;
  }
  .metric-seg,
  .view-seg {
    flex: 1 1 auto;
  }
  .metric-seg button,
  .view-seg button {
    flex: 1 1 0;
    min-width: 0;
  }
  .period-control {
    grid-template-columns: 1fr;
  }
  .period-scroll-meter {
    grid-column: 1;
  }
  .view-seg button { padding: 2px 8px; }
  .toolbar-actions { margin-left: auto; }
  .dataset-panel { grid-template-columns: 1fr; padding: 8px; }
  .seg button { padding: 2px 8px; }
  .btn { padding: 2px 7px; }
  .trend-summary {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

/* General metric observations use exact values and expandable provenance. */
.metric-library { width: min(1200px, 94vw); max-height: 90vh; box-sizing: border-box; padding: 20px; color: var(--text); background: var(--bg); border: 1px solid var(--line); border-radius: 0; }
.metric-library::backdrop { background: #0008; }
.metric-library-tools { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; justify-content: space-between; }
.metric-library-tools h2 { font-size: 20px; }
.metric-library input { padding: 8px; max-width: 100%; box-sizing: border-box; }
.metric-library-table { overflow: auto; max-height: 60vh; margin-top: 12px; }
.metric-library table { width: 100%; border-collapse: separate; border-spacing: 0; }
.metric-library th, .metric-library td { padding: 9px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.metric-library th { position: sticky; top: 0; background: var(--bg); }
.metric-library td { min-width: 72px; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.metric-library details p { white-space: pre-wrap; max-width: 320px; }
