:root {
  color-scheme: light;
  font: 15px/1.5 system-ui, sans-serif;
  color: #182b35;
  background: #edf3f4;
  --ink: #173642;
  --accent: #075b50;
  --line: #d8e5e7;
}
* { box-sizing: border-box; }
body { margin: 0; }
header {
  background: #173642;
  color: white;
  padding: 28px max(24px, calc((100vw - 1328px)/2));
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
h1 { font-size: clamp(1.75rem, 3vw, 2.6rem); line-height: 1.1; margin: 0 0 8px; letter-spacing: -.035em; }
header p { margin: 0; color: #c7dce1; }
nav { display: flex; gap: 18px; flex-wrap: wrap; }
nav a { color: #e6f7f5; text-underline-offset: 5px; }
main { width: min(1328px, calc(100% - 48px)); margin: 24px auto 64px; }
.filters { display: flex; align-items: end; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }
label { display: grid; gap: 4px; font-weight: 600; }
input, select, button {
  min-height: 40px;
  border: 1px solid #9eb6bc;
  border-radius: 7px;
  background: white;
  padding: 7px 11px;
  font: inherit;
  color: inherit;
}
select { width: min(280px, calc(100vw - 48px)); }
button { color: white; background: var(--accent); border-color: var(--accent); cursor: pointer; font-weight: 650; }
button:hover { background: #08473f; }
:focus-visible { outline: 3px solid #3e8bb1; outline-offset: 3px; }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(158px, 1fr)); gap: 12px; }
.tile, section, details { background: white; border: 1px solid var(--line); border-radius: 12px; padding: 18px; }
.tile span { color: #435f6b; display: block; }
.tile strong { font-size: clamp(1.35rem, 2vw, 2rem); letter-spacing: -.035em; font-variant-numeric: tabular-nums; }
section, details { margin-top: 16px; }
h2 { font-size: 1.3rem; margin: 0; letter-spacing: -.02em; }
section p { color: #435f6b; margin: 4px 0 14px; }
.scroll { overflow: auto; }
table { width: 100%; border-collapse: collapse; text-align: right; font-variant-numeric: tabular-nums; }
th, td { padding: 11px 12px; border-bottom: 1px solid var(--line); }
th { font-weight: 650; }
thead th, .total { background: #e8f3f1; }
thead th { vertical-align: bottom; }
th:first-child { text-align: left; min-width: 148px; }
td { white-space: nowrap; }
td small { display: block; color: #435f6b; }
.inline { display: flex; gap: 8px; justify-content: flex-end; }
.inline input { width: 125px; text-align: right; }
.note { padding: 9px 13px; background: #fff5db; border-radius: 7px; color: #614309; }
summary { cursor: pointer; font-weight: 650; }
.comparison { list-style: none; padding: 4px 0 0; margin: 0 0 16px; display: grid; gap: 9px; }
.comparison li { display: grid; grid-template-columns: minmax(100px, 190px) 1fr; gap: 8px; align-items: center; }
.comparison div { display: grid; gap: 1px 8px; grid-template-columns: 1fr 120px; align-items: center; }
.comparison meter { width: 100%; accent-color: #398476; }
.comparison meter::-webkit-meter-optimum-value { background: #398476; }
.comparison .revenue::-webkit-meter-optimum-value { background: #4266a1; }
.comparison small { text-align: right; }
@media (max-width: 600px) {
  main { width: calc(100% - 24px); }
  header, section, details, .tile { padding: 12px; }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .inline input { width: 90px; }
  .comparison li { grid-template-columns: 1fr; }
}
