:root {
  color-scheme: light;
  --ink: #18312e;
  --muted: #667975;
  --line: #dce7e3;
  --surface: #ffffff;
  --canvas: #f3f7f5;
  --brand: #0c6b61;
  --brand-dark: #08544c;
  --brand-soft: #e5f3ef;
  --shadow: 0 14px 35px rgba(24, 62, 54, .08);
  font-family: "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--canvas); }
button, input { font: inherit; }
button { cursor: pointer; }
.site-header { background: linear-gradient(110deg, #07564f, #0d796d); color: #fff; }
.header-inner { width: min(1120px, calc(100% - 32px)); margin: auto; min-height: 112px; display: flex; align-items: center; gap: 16px; }
.brand-mark { display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid rgba(255,255,255,.45); border-radius: 14px; font-weight: 800; letter-spacing: -.06em; }
.eyebrow { margin: 0 0 7px; font-size: .72rem; line-height: 1.2; font-weight: 750; letter-spacing: .13em; color: var(--brand); }
.site-header .eyebrow { color: #bfe9dd; }
h1, h2, p { margin-top: 0; }
h1 { margin-bottom: 0; font-size: clamp(1.25rem, 3vw, 1.8rem); letter-spacing: -.025em; }
.page { width: min(1120px, calc(100% - 32px)); margin: 0 auto; padding: 38px 0 24px; }
.intro { max-width: 740px; margin: 0 auto 25px; text-align: center; }
.intro h2 { margin-bottom: 9px; font-size: clamp(1.5rem, 3.5vw, 2.15rem); letter-spacing: -.04em; }
.muted { color: var(--muted); line-height: 1.55; }
.intro .muted { margin-bottom: 0; }
.catalog-nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 14px; }
.catalog-tab { display: flex; justify-content: center; align-items: center; gap: 9px; min-height: 56px; padding: 12px; border: 1px solid var(--line); border-radius: 13px; color: #37514c; background: #fff; font-weight: 700; transition: border-color .15s, background .15s, color .15s; }
.catalog-tab:hover { border-color: #8bbeb1; }
.catalog-tab.active { color: var(--brand-dark); border-color: #8bbeb1; background: var(--brand-soft); box-shadow: inset 0 0 0 1px #b5d8cf; }
.tab-icon { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; background: rgba(12,107,97,.1); font-size: 1.1rem; }
.card { border: 1px solid var(--line); border-radius: 17px; background: var(--surface); box-shadow: var(--shadow); }
.catalog-panel { padding: clamp(18px, 4vw, 30px); }
.panel-heading { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin-bottom: 24px; }
.panel-heading h2 { margin: 0; font-size: clamp(1.25rem, 3vw, 1.65rem); letter-spacing: -.03em; }
.count-badge { padding: 7px 11px; border-radius: 999px; background: var(--brand-soft); color: var(--brand-dark); white-space: nowrap; font-size: .84rem; font-weight: 700; }
label { display: block; margin-bottom: 8px; font-size: .9rem; font-weight: 700; }
.search-row { display: flex; gap: 9px; }
input[type="search"] { flex: 1; min-width: 0; height: 46px; padding: 0 13px; border: 1px solid #bfcfca; border-radius: 10px; outline: none; color: var(--ink); background: #fff; }
input[type="search"]:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(12,107,97,.15); }
.primary-button, .secondary-button { min-height: 46px; padding: 0 17px; border-radius: 10px; font-weight: 700; }
.primary-button { border: 1px solid var(--brand); color: #fff; background: var(--brand); }
.primary-button:hover { background: var(--brand-dark); }
.secondary-button { border: 1px solid #c7d5d1; color: #36514b; background: #fff; }
.secondary-button:hover { background: #f2f7f5; }
.status { min-height: 1.2em; margin: 16px 0 10px; color: var(--muted); font-size: .88rem; }
.table-wrap { width: 100%; overflow-x: auto; border: 1px solid var(--line); border-radius: 11px; }
table { width: 100%; border-collapse: collapse; text-align: left; }
th, td { padding: 12px 14px; border-bottom: 1px solid #e8efec; vertical-align: top; }
th { background: #f0f6f3; color: #35534c; font-size: .78rem; letter-spacing: .045em; text-transform: uppercase; }
td { font-size: .94rem; line-height: 1.45; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: #f8fbf9; }
td:first-child { white-space: nowrap; font-variant-numeric: tabular-nums; font-weight: 650; }
.empty-state { padding: 24px 10px; text-align: center; color: var(--muted); }
.hidden { display: none; }
.source-note { margin: 15px 0 0; color: #778984; font-size: .8rem; line-height: 1.45; }
.site-footer { padding: 24px 8px 0; color: #71827d; text-align: center; font-size: .8rem; }
@media (max-width: 620px) {
  .header-inner { min-height: 92px; }
  .page { padding-top: 26px; }
  .catalog-nav { gap: 7px; }
  .catalog-tab { flex-direction: column; gap: 5px; min-height: 68px; padding: 8px 4px; font-size: .79rem; }
  .search-row { display: grid; grid-template-columns: 1fr 1fr; }
  input[type="search"] { grid-column: 1 / -1; }
  th, td { padding: 10px; }
  td { font-size: .88rem; }
}
.site-footer { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 8px 18px; }
.site-footer a { color: var(--brand-dark); font-weight: 650; }
.site-footer a:focus-visible, button:focus-visible, a:focus-visible { outline: 3px solid #e1a23e; outline-offset: 3px; }
.terms-page { max-width: 820px; }
.terms-card { padding: clamp(20px, 5vw, 38px); line-height: 1.65; }
.terms-card h2 { margin: 0 0 8px; font-size: 1.15rem; }
.terms-card p { color: #455c57; }
.terms-card h2:not(:first-child) { margin-top: 25px; }
.terms-back { display: inline-flex; align-items: center; margin-top: 10px; text-decoration: none; }
