:root {
  color-scheme: light;
  --paper: #fcfbf8;
  --ink: #151515;
  --muted: #585650;
  --line: #929089;
  --grid: #dedbd3;
  --hover: #efede7;
  --blue: #345cff;
  --coral: #ff6b61;
  --lime: #c7f338;
  --accent: var(--blue);
  --focus: var(--blue);
  --mono: "SF Mono", "Cascadia Mono", "DejaVu Sans Mono", Consolas, monospace;
  --edge: clamp(16px, 3.5vw, 52px);
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --paper: #151515;
  --ink: #f5f4f0;
  --muted: #bbb8b0;
  --line: #77746d;
  --grid: #393733;
  --hover: #272623;
  --accent: var(--lime);
  --focus: var(--lime);
}
body[data-view="sales"] { --accent: var(--coral); }
body[data-view="partners"] { --accent: var(--blue); }
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 15px/1.5 Arial, sans-serif; }
h1, h2, p { margin: 0; }
small { display: block; color: var(--muted); font-size: .875rem; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: -4px; }
.symbols { position: absolute; width: 0; height: 0; overflow: hidden; }
[hidden] { display: none !important; }
.skip { position: fixed; z-index: 2; top: 8px; left: 8px; padding: 10px 16px; background: var(--ink); color: var(--paper); transform: translateY(-150%); }
.skip:focus { transform: none; }
.shell { margin-inline: auto; max-width: 1680px; padding-inline: 8px; }
.masthead { display: grid; grid-template-columns: minmax(200px, 1fr) 2.5fr minmax(166px, 1fr); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 12px; padding: 12px var(--edge); font-size: 1.13rem; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; white-space: nowrap; }
.brand img { flex: none; }
.masthead nav { display: flex; justify-content: center; flex-wrap: wrap; border-inline: 1px solid var(--line); }
.masthead nav a, #theme-switch { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 56px; padding: 8px clamp(10px, 1.5vw, 22px); font: .81rem/1.3 var(--mono); text-transform: uppercase; }
.masthead nav a::before, .badge::before { content: ""; width: 6px; height: 6px; background: transparent; flex: none; }
.masthead nav a[aria-current="page"]::before { background: var(--accent); }
#theme-switch { border: 0; background: transparent; }
.theme-icon { width: 13px; height: 13px; border: 1px solid currentColor; background: linear-gradient(90deg, currentColor 50%, transparent 50%); }
#theme-switch[aria-pressed="true"] .theme-icon { background: linear-gradient(90deg, transparent 50%, currentColor 50%); }
.content { padding-bottom: 36px; }
.intro { padding: clamp(40px, 6.5vw, 104px) var(--edge) clamp(32px, 4vw, 62px); }
.eyebrow { margin-bottom: 12px; color: var(--muted); font: .78rem/1.4 var(--mono); text-transform: uppercase; }
h1 { font: 900 clamp(2.3rem, 9.8vw, 9rem)/.96 Arial, sans-serif; letter-spacing: -.055em; text-transform: uppercase; }
#description { margin-top: 20px; color: var(--muted); font: .9rem/1.6 var(--mono); max-width: 64ch; }
.report-bar { display: flex; justify-content: space-between; align-items: stretch; border-block: 1px solid var(--line); font: .78rem/1.3 var(--mono); }
.badge { display: inline-flex; align-items: center; gap: 9px; padding: 8px var(--edge); color: var(--muted); }
.badge::before { background: var(--lime); border: 1px solid var(--muted); }
.period { display: flex; }
.period button { min-height: 44px; padding: 8px clamp(9px, 2vw, 24px); border: 0; border-inline-start: 1px solid var(--line); background: transparent; white-space: nowrap; }
.period button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-bottom: 1px solid var(--line); }
.metric { padding: 20px var(--edge) 24px; }
.metric + .metric { border-inline-start: 1px solid var(--line); }
.metric h2 { color: var(--muted); font: .78rem/1.4 var(--mono); text-transform: uppercase; }
.metric h2::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-inline-end: 9px; background: var(--blue); }
.metric:nth-child(2) h2::before { background: var(--coral); }
.metric:nth-child(3) h2::before { background: var(--lime); border: 1px solid var(--muted); box-sizing: border-box; }
.metric strong, .chart-total { font-family: var(--mono); font-variant-numeric: tabular-nums; letter-spacing: -.075em; }
.metric strong { display: block; margin-block: 8px; font-size: clamp(1.8rem, 4vw, 3.6rem); line-height: 1.1; }
.chart { padding: 28px var(--edge) 12px; border-bottom: 1px solid var(--line); }
.chart header { display: flex; justify-content: space-between; align-items: start; gap: 12px; }
.chart h2, .directions h2 { font-size: clamp(1rem, 2vw, 1.35rem); line-height: 1.25; text-transform: uppercase; }
.chart header p, .chart-dates { color: var(--muted); font: .78rem/1.5 var(--mono); }
.chart header p { margin-top: 5px; }
.chart-total { font-size: clamp(1.3rem, 3vw, 2.25rem); line-height: 1.25; }
#plot { display: block; width: 100%; height: clamp(125px, 19vw, 238px); margin-top: 12px; --line: var(--grid); }
.chart-dates { display: flex; justify-content: space-between; gap: 6px; padding-top: 3px; }
summary { width: fit-content; min-height: 44px; padding: 12px 4px; cursor: pointer; font: .8rem/1.5 var(--mono); }
table { width: 100%; border-collapse: collapse; font: .8rem/1.5 var(--mono); }
th, td { padding: 7px 4px; border-bottom: 1px solid var(--grid); text-align: start; }
.directions h2 { padding: 20px var(--edge); border-bottom: 1px solid var(--line); }
.direction-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-bottom: 1px solid var(--line); }
.direction-grid a { display: flex; align-items: center; gap: 14px; padding: 16px var(--edge); }
.direction-grid a + a { border-inline-start: 1px solid var(--line); }
.direction-grid strong { font: 700 .875rem/1.4 var(--mono); text-transform: uppercase; }
.direction-grid svg { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; }
.direction-icon { display: grid; place-items: center; width: 36px; height: 36px; flex: none; background: var(--blue); color: #fff; }
.sales-icon { background: var(--coral); color: #151515; }
.direction-grid .arrow { margin-inline-start: auto; }
@media (hover: hover) {
  .brand:hover, .masthead nav a:hover, #theme-switch:hover, .direction-grid a:hover, .period button[aria-pressed="false"]:hover { background: var(--hover); }
  summary:hover { text-decoration: underline; }
}
@media (max-width: 720px) {
  .masthead { grid-template-columns: minmax(0, 1fr) auto; }
  .masthead nav { grid-row: 2; grid-column: 1 / -1; border-inline: 0; border-top: 1px solid var(--line); justify-content: start; }
  .masthead nav a, #theme-switch { min-height: 44px; }
  #theme-switch { border-inline-start: 1px solid var(--line); }
  .brand { font-size: .9rem; gap: 8px; }
}
@media (max-width: 510px) {
  .metrics, .direction-grid { grid-template-columns: minmax(0, 1fr); }
  .metric, .direction-grid a { padding-block: 14px; }
  .metric + .metric, .direction-grid a + a { border-inline-start: 0; border-top: 1px solid var(--line); }
  .chart-dates span:nth-child(2n) { display: none; }
}
:root[data-theme="light"] body[data-view="sales"] #plot { --accent: #c74039; }

.owner-report > header {
  padding: 24px var(--edge) 16px;
  border-bottom: 1px solid var(--line);
}
.owner-report h2 { font-size: clamp(1rem, 2vw, 1.35rem); text-transform: uppercase; }
.owner-report header p { margin-top: 4px; color: var(--muted); font: .78rem/1.5 var(--mono); }
.owner-groups { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-bottom: 1px solid var(--line); }
.owner-groups section { padding: 16px clamp(12px, 2.4vw, 36px); }
.owner-groups section + section { border-inline-start: 1px solid var(--line); }
.owner-groups h3 { margin: 0 0 8px; font: 700 .85rem/1.4 var(--mono); text-transform: uppercase; }
.owner-groups dl, .owner-groups dd { margin: 0; }
.owner-groups dl > div { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 3px 12px; border-top: 1px solid var(--grid); padding-block: 9px; }
.owner-groups dt { color: var(--muted); font-size: .875rem; }
.owner-groups dd { font: 700 .82rem/1.5 var(--mono); font-variant-numeric: tabular-nums; }
@media (max-width: 720px) {
  .owner-groups { grid-template-columns: minmax(0, 1fr); }
  .owner-groups section { padding-inline: var(--edge); }
  .owner-groups section + section { border-inline-start: 0; border-top: 1px solid var(--line); }
}
