:root {
  color-scheme: light;
  --bg: #f6f8f7;
  --paper: #fff;
  --ink: #182623;
  --muted: #52655e;
  --accent: #125746;
  --line: #d7e1dc;
  --soft-line: #e5ebe8;
  --header-bg: #eaf1ed;
  font: 100%/1.5 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--bg); color: var(--ink); }
a { color: var(--accent); text-underline-offset: 0.2em; }
a:hover { text-decoration-thickness: 2px; }
button, select, input { font: inherit; }
:focus-visible { outline: 2px solid #086844; outline-offset: 3px; }
p, h1, h2 { margin: 0; }
.wrap { width: min(100% - 64px, 1416px); margin-inline: auto; }
.header { background: var(--paper); border-bottom: 1px solid var(--line); }
.header-row, .footer-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.header-row { min-height: 65px; }
.wordmark { display: inline-flex; align-items: center; gap: 0.55rem; font-weight: 740; color: var(--ink); text-decoration: none; white-space: nowrap; }
nav { display: flex; align-items: center; flex-wrap: wrap; gap: 0.4rem 1.3rem; }
nav a { color: var(--muted); text-decoration: none; font-size: 0.875rem; }
nav a:hover, nav a[aria-current] { color: var(--accent); text-decoration: underline; }
.intro { padding-block: clamp(1.7rem, 4vw, 3rem) 1.4rem; }
.intro .market { color: var(--accent); font-size: 0.875rem; font-weight: 680; margin-bottom: 0.4rem; }
.market span { padding-inline: 0.25rem; }
h1 { font-size: clamp(2rem, 4vw, 3.05rem); line-height: 1.07; letter-spacing: -0.047em; font-weight: 770; text-wrap: balance; }
.intro > p:not(.market) { color: var(--muted); max-width: 75ch; margin-top: 0.8rem; }
.markets { margin-top: 0.8rem; }
.catalogue { padding-bottom: 2.1rem; }
.filters {
  display: grid;
  grid-template-columns: 1.65fr 1.18fr 0.88fr 0.88fr 1.05fr 0.94fr auto;
  align-items: end;
  gap: 0.65rem;
  padding: 0.85rem 0.9rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 7px;
}
.filters .field { display: grid; min-width: 0; gap: 0.28rem; }
.filters label { color: var(--ink); font-size: 0.875rem; font-weight: 620; }
.filters :is(input, select, button) {
  width: 100%; min-width: 0; height: 2.55rem; padding-inline: 0.62rem;
  background-color: var(--paper); border: 1px solid #aebfb7; border-radius: 4px;
  color: var(--ink); font-weight: 450; font-size: 0.875rem;
}
.filters select {
  appearance: none; padding-right: 1.8rem;
  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='%2352655e' stroke-width='1.5'/%3E%3C/svg%3E");
  background-position: right 0.45rem center; background-repeat: no-repeat;
}
.filters input::placeholder { color: var(--muted); opacity: 1; }
.filters .clear { width: auto; padding-inline: 0.85rem; background: var(--header-bg); color: var(--accent); font-weight: 650; cursor: pointer; }
.filters .clear:hover { background: #dfece4; }
.table-bar { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 0.15rem 0.8rem; margin: 1.2rem 0 0.5rem; font-size: 0.875rem; color: var(--muted); }
.table-bar strong, .table-bar time { color: var(--ink); }
.table-bar time { font-weight: 620; }
.scroll-hint { margin-bottom: 0.45rem; color: var(--muted); font-size: 0.8125rem; }
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: 6px; background: var(--paper); }
table { border-spacing: 0; width: 100%; font-size: 0.875rem; font-variant-numeric: tabular-nums; text-align: left; white-space: nowrap; }
thead { background: var(--header-bg); }
thead th { padding: 0.65rem 0.55rem; color: #354d44; }
thead th[data-column] { padding: 0; }
thead button {
  display: flex; align-items: center; gap: 0.33rem; min-height: 2.9rem; width: 100%;
  padding: 0.42rem 0.55rem; border: 0; background: transparent;
  color: inherit; text-align: left; font-weight: 690; cursor: pointer;
}
thead button:hover, thead th[aria-sort] { background-color: #dceae1; color: var(--accent); }
thead button:focus-visible { outline-offset: -3px; }
thead small { font-size: 0.75rem; font-weight: 510; }
.sort-icon { width: 0.45rem; height: 0.45rem; color: #708c7e; border: solid currentColor; border-width: 0 1px 1px 0; transform: rotate(45deg) translateY(-0.12rem); }
[aria-sort="ascending"] .sort-icon { color: var(--accent); border-width: 0 2px 2px 0; transform: rotate(45deg) translateY(-0.12rem); }
[aria-sort="descending"] .sort-icon { color: var(--accent); border-width: 0 2px 2px 0; transform: rotate(225deg) translateY(-0.12rem); }
tbody tr { background: var(--paper); }
tbody tr:nth-child(even) { background: #f9fbfa; }
tbody tr:hover, tbody tr:focus-within { background: #eef7f1; }
tbody td, tbody th { padding: 0.55rem; border-top: 1px solid var(--soft-line); vertical-align: middle; }
thead th:first-child, tbody th { position: sticky; left: 0; z-index: 1; background: inherit; }
thead th:first-child { background: var(--header-bg); }
thead th:first-child button { padding-left: 0.8rem; }
tbody th { padding-left: 0.8rem; font-weight: 690; white-space: normal; min-width: 9.3rem; }
.sub { display: block; font-size: 0.75rem; font-weight: 450; color: var(--muted); line-height: 1.32; margin-top: 0.07rem; }
.sub.inline { display: inline; }
.unknown { color: var(--muted); }
.price { font-weight: 730; }
.links a + a { margin-left: 0.6rem; }
.links a:last-child { color: var(--muted); }
.links .amazon-link { display: block; width: max-content; margin: 0.2rem 0 0; color: var(--accent); }
#empty td { padding: 1.8rem 1rem; white-space: normal; color: var(--muted); }
.table-notes { color: var(--muted); font-size: 0.875rem; margin-top: 0.8rem; max-width: 100ch; }
.table-notes a { white-space: nowrap; }
.footer { padding-block: 1.25rem; border-top: 1px solid var(--line); }
.footer-row > a { color: var(--muted); text-decoration: none; font-size: 0.875rem; }
.prose { max-width: 71ch; padding: clamp(2rem, 6vw, 4rem) 0 3rem; }
.prose h2 { font-size: 1.2rem; margin-top: 1.6rem; }
.prose p { margin-top: 0.7rem; }
.comparison-scroll { overflow-x: auto; margin-top: 1.2rem; }
.comparison-table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; white-space: normal; }
.comparison-table caption { text-align: left; font-weight: 690; margin-bottom: 0.4rem; }
.comparison-table :is(th, td) { padding: 0.7rem; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.comparison-table thead { background: var(--header-bg); }
.comparison-table tbody th { position: static; min-width: 10rem; background: var(--paper); }
.contact-email { overflow-wrap: anywhere; }
.visually-hidden, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { display: block; width: max-content; padding: 0.5rem; background: var(--paper); }
@media (max-width: 850px) {
  .filters { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .search { grid-column: span 2; }
  .filters .clear { width: 100%; }
}
@media (max-width: 570px) {
  .wrap { width: calc(100% - 28px); }
  .header-row, .footer-row { align-items: flex-start; flex-direction: column; gap: 0.65rem; }
  .header-row { padding-block: 0.65rem; }
  nav { column-gap: 1rem; }
  .intro { padding-bottom: 1.1rem; }
  .filters { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 0.65rem; }
  .filters :is(input, select, button) { font-size: 1rem; }
  .filters label { font-size: 0.8125rem; }
  tbody th { min-width: 7rem; max-width: 8rem; }
  .table-bar { margin-top: 1rem; }
}
