/* Тоннум public site: one design system, no build step (admin keeps app.css).
   Каталожные правила — в catalog.css (TMB-511 D). */
/* == tokens == */
:root {
  --bg: #f5f6f8;
  --surface: #ffffff;
  --surface-2: #f9fafb;
  --surface-3: #f1f4f8;
  --border: #e4e7ec;
  --border-strong: #cfd5dd;
  --text: #0e1621;
  --muted: #5d6876;
  --accent: #2f6bff;
  --accent-strong: #1f55e0;
  --accent-weak: #eaf0ff;
  --accent-line: #c7d7ff;
  --on-accent: #ffffff;
  --ok: #0d7440;
  --ok-weak: #e5f5ec;
  --ok-line: #b7dfc6;
  --ok-text: #14532d;
  --warn: #8a5a00;
  --warn-weak: #fff4d6;
  --warn-line: #f1d98c;
  --warn-text: #6b4a00;
  --danger: #cf222e;
  --danger-weak: #fdecee;
  --danger-line: #f5c1c6;
  --danger-text: #8a1520;
  --fresh-mid: #d4a72c;
  --cond-brak: #8a1f11; --cond-brak-bg: #fbe4e0;
  --cond-nek: #7a4d00; --cond-nek-bg: #fdf0d5;
  --cond-bu: #1f4e79; --cond-bu-bg: #e2ecf7;
  --cond-nelik: #4a4a4a; --cond-nelik-bg: #ececec;
  --hover: rgba(14, 22, 33, .05);
  --hover-strong: rgba(14, 22, 33, .1);
  --scrim: rgba(14, 22, 33, .45);
  --shadow: 0 8px 28px rgba(14, 22, 33, .16), 0 1px 3px rgba(14, 22, 33, .1);
  --shadow-sm: 0 1px 2px rgba(14, 22, 33, .12);
  --track: #e9edf1;
  --cta-text: #ffffff;
  --cta-muted: #b9c3cd;
  --radius: 10px;
  --radius-sm: 8px;
  --radius-xs: 6px;
  --header-h: 52px;
  --page-w: 1120px;
  --font: system-ui, "Segoe UI", Roboto, Arial, sans-serif;
  color-scheme: light;
}
:root[data-theme="dark"] {
  --bg: #0b0f14;
  --surface: #11161d;
  --surface-2: #151b23;
  --surface-3: #1a222c;
  --border: #222a35;
  --border-strong: #2e3846;
  --text: #e6ebf2;
  --muted: #8a96a6;
  --accent: #5b8cff;
  --accent-strong: #7aa2ff;
  --accent-weak: #16213a;
  --accent-line: #2c3f66;
  --on-accent: #0b0f14;
  --ok: #3fbf7f;
  --ok-weak: #10261b;
  --ok-line: #1f4a34;
  --ok-text: #8fdcb4;
  --warn: #f0b64a;
  --warn-weak: #2a1f0d;
  --warn-line: #4a3a15;
  --warn-text: #f0c877;
  --danger: #f28b8b;
  --danger-weak: #33161a;
  --danger-line: #55262c;
  --danger-text: #f0a8a8;
  --fresh-mid: #c9a227;
  --cond-brak: #f0a596; --cond-brak-bg: #3a1c17;
  --cond-nek: #e8c37a; --cond-nek-bg: #33270f;
  --cond-bu: #9cc3ea; --cond-bu-bg: #16283d;
  --cond-nelik: #b9bec6; --cond-nelik-bg: #262a30;
  --hover: rgba(230, 235, 242, .06);
  --hover-strong: rgba(230, 235, 242, .11);
  --scrim: rgba(0, 0, 0, .55);
  --shadow: 0 8px 28px rgba(0, 0, 0, .5), 0 1px 3px rgba(0, 0, 0, .4);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .4);
  --track: #1c242f;
  --cta-text: #0b0f14;
  --cta-muted: #9aa7b5;
  color-scheme: dark;
}
/* == base == */
*, *::before, *::after { box-sizing: border-box }
html { scrollbar-gutter: stable; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px) }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 14px/1.45 var(--font); min-height: 100vh;
  display: flex; flex-direction: column;
  -webkit-font-smoothing: antialiased; font-variant-numeric: tabular-nums;
}
.site-main { flex: 1 0 auto; min-width: 0 }
h1, h2, h3, h4 { margin: 0; line-height: 1.25; font-weight: 650; letter-spacing: -.01em }
h1 { font-size: 24px }
h2 { font-size: 18px }
h3 { font-size: 15px }
h4 { font-size: 14px }
p { margin: 0 0 8px }
a { color: var(--accent); text-decoration: none }
a:hover { text-decoration: underline; text-underline-offset: 2px }
ul, ol { margin: 0; padding: 0; list-style: none }
img, svg { display: block; max-width: 100% }
small { font-size: 12px }
button, input, select, textarea { font: inherit; color: inherit }
button { cursor: pointer }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0 }
dl, dd { margin: 0 }
[hidden] { display: none !important }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px }
.saved-row a, .account-button__email, .check__label, .cell-sub, .cell-specs, .col-size, .col-grade, .col-length,
.supplier-link, .supplier-city { overflow: hidden; text-overflow: ellipsis; white-space: nowrap }
.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 8px; top: -48px; z-index: 100; padding: 8px 12px;
  background: var(--accent); color: var(--on-accent); border-radius: var(--radius-sm);
}
.skip-link:focus { top: 8px; text-decoration: none }
.muted { color: var(--muted) }
.small { font-size: 12px }
.num { text-align: right }
.icon { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round }
.container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 24px }
.container--medium > * { max-width: 880px }
.container--narrow > * { max-width: 760px }
.page { padding-top: 32px; padding-bottom: 56px }
.page-head { margin-bottom: 24px }
.page-head__lead { margin-top: 8px; color: var(--muted); font-size: 15px; max-width: 62ch }
.breadcrumbs { display: flex; gap: 6px; align-items: center; margin-bottom: 16px; color: var(--muted); font-size: 13px }
.breadcrumbs a { display: inline-flex; gap: 4px; align-items: center }
.section-title { margin: 32px 0 12px }
.lead { font-size: 15px }
.hint { font-size: 12px; color: var(--muted) }
.plain-list { display: grid; gap: 4px; margin: 8px 0 0 }
.stack-sm { display: grid; gap: 8px }
/* == controls == */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 36px; padding: 0 14px; border: 1px solid transparent;
  border-radius: var(--radius-sm); font-weight: 550; line-height: 1.2; white-space: nowrap;
  text-decoration: none !important; transition: background-color .12s, border-color .12s;
}
.btn-primary { background: var(--accent); color: var(--on-accent) }
.btn-primary:hover { background: var(--accent-strong) }
.btn-secondary { background: var(--surface); border-color: var(--border-strong); color: var(--text) }
.btn-secondary:hover { background: var(--surface-2); border-color: var(--muted) }
.btn-ghost { background: transparent; color: var(--text) }
.btn-ghost:hover { background: var(--hover) }
.btn-sm { min-height: 30px; padding: 0 10px; font-size: 13px }
.btn-lg { min-height: 44px; padding: 0 20px; font-size: 15px }
.btn-block { width: 100% }
.btn-icon { padding: 0; width: 36px }
.btn[disabled] { opacity: .5; cursor: default }
.icon-button {
  display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px;
  border: 0; border-radius: var(--radius-sm); background: transparent; color: var(--muted); list-style: none;
}
.icon-button:hover { background: var(--hover-strong); color: var(--text) }
.theme-toggle { color: var(--muted) }
.theme-toggle .theme-icon--moon, [data-theme="dark"] .theme-toggle .theme-icon--sun { display: none }
[data-theme="dark"] .theme-toggle .theme-icon--moon { display: block }
summary { list-style: none }
summary::-webkit-details-marker { display: none }
.input, .select, .textarea {
  width: 100%; min-height: 36px; padding: 6px 10px; background: var(--surface);
  border: 1px solid var(--border-strong); border-radius: var(--radius-sm);
}
.input:focus, .select:focus, .textarea:focus, .searchbox:focus-within {
  outline: 2px solid var(--accent); outline-offset: 0; border-color: var(--accent);
}
.input--sm, .select--sm { min-height: 30px; padding: 3px 8px; font-size: 13px }
.select {
  appearance: none; padding-right: 28px;
  background: var(--surface) conic-gradient(from -45deg at 50% 100%, var(--muted) 90deg, transparent 0) no-repeat right 11px top 50% / 9px 4.5px;
}
.select--sm { padding-right: 26px; width: auto }
.textarea { resize: vertical; min-height: 80px; line-height: 1.45 }
input[type="file"].input { padding: 3px 6px }
input[type="file"]::file-selector-button {
  margin-right: 10px; min-height: 28px; padding: 0 12px; border: 1px solid var(--border-strong);
  border-radius: 5px; background: var(--surface-2); color: var(--text); cursor: pointer;
}
input[type="checkbox"] { accent-color: var(--accent); width: 16px; height: 16px; margin: 0; flex: none }
.field { display: grid; gap: 4px }
.field__row { display: flex; justify-content: space-between; align-items: baseline }
.label { font-size: 13px; font-weight: 550 }
.form { display: grid; gap: 16px }
.check-line { display: flex; gap: 8px; align-items: flex-start; font-size: 13px }
.check-line input { margin-top: 2px }
.chip {
  display: inline-flex; align-items: center; min-height: 28px; padding: 0 10px;
  background: var(--surface); border: 1px solid var(--border-strong); border-radius: var(--radius-xs);
  color: var(--text); font-size: 13px; white-space: nowrap; text-decoration: none !important;
}
a.chip:hover { background: var(--accent-weak); border-color: var(--accent); color: var(--accent-strong) }
.badge {
  display: inline-flex; align-items: center; padding: 2px 8px; border-radius: 999px;
  font-size: 12px; font-weight: 550; white-space: nowrap; background: var(--bg); color: var(--muted);
}
.badge-ok { background: var(--ok-weak); color: var(--ok) }
.badge-warn { background: var(--warn-weak); color: var(--warn) }
.badge-danger { background: var(--danger-weak); color: var(--danger) }
.segmented { display: inline-flex; padding: 2px; gap: 2px; background: var(--track); border-radius: var(--radius-sm) }
.segmented__item {
  display: inline-flex; align-items: center; justify-content: center; min-height: 28px; padding: 0 12px;
  border: 0; border-radius: var(--radius-xs); background: transparent; color: var(--muted);
  font-size: 13px; font-weight: 550; white-space: nowrap; text-decoration: none !important;
}
.segmented__item:hover { color: var(--text) }
.segmented__item[aria-current="true"], .segmented__item[aria-selected="true"],
.segmented__item[aria-checked="true"] {
  background: var(--surface); color: var(--text); box-shadow: var(--shadow-sm);
}
/* surfaces: one rule for every white bordered block */
.card, .empty, .table-wrap, .tile, .figure, .step, .banner,
.menu__panel {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
}
.banner { display: flex; gap: 12px; align-items: center; padding: 6px 12px; margin-bottom: 10px; font-size: 13px }
.banner p { margin: 0; flex: 1 }
.banner--accent { background: var(--accent-weak); border-color: var(--accent-line) }
.banner--info { background: var(--surface-2) }
.banner--ok { background: var(--ok-weak); border-color: var(--ok-line); color: var(--ok-text) }
.banner--warn { background: var(--warn-weak); border-color: var(--warn-line); color: var(--warn-text) }
.banner--danger { background: var(--danger-weak); border-color: var(--danger-line); color: var(--danger-text) }
.card { padding: 20px 24px; margin-bottom: 16px }
.card > h2 { margin-bottom: 8px }
.card h3 { margin: 16px 0 8px }
.empty-card { text-align: center; padding: 40px 24px }
.empty-card h1, .empty-card h2 { margin-bottom: 8px }
.divider { display: flex; align-items: center; gap: 12px; margin: 16px 0; color: var(--muted); font-size: 12px }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--border) }
.prose p { max-width: 70ch; line-height: 1.6 }
.prose h2 { margin-bottom: 12px }
/* menus: details + panel */
.menu { position: relative }
.menu > summary { cursor: pointer }
.menu__panel {
  position: absolute; top: calc(100% + 6px); left: 0; z-index: 60; min-width: 220px; padding: 6px;
  box-shadow: var(--shadow);
}
.menu--right .menu__panel { left: auto; right: 0 }
.menu__panel > a, .menu__panel > button, .menu__panel form button, .menu__check {
  display: flex; align-items: center; gap: 8px; width: 100%; min-height: 34px; padding: 6px 10px;
  border: 0; border-radius: var(--radius-sm); background: transparent; color: var(--text);
  font-size: 13px; text-align: left; text-decoration: none !important;
}
.menu__panel > a:hover, .menu__panel > button:hover, .menu__panel form button:hover, .menu__check:hover { background: var(--bg) }
.menu__meta { margin: 0 0 4px; padding: 6px 10px 8px; color: var(--muted); font-size: 12px; border-bottom: 1px solid var(--border); overflow-wrap: anywhere }
.menu__group { padding: 6px 0; border-top: 1px solid var(--border); margin-top: 4px }
.menu__group legend, .menu__label { padding: 2px 10px; margin: 0; font-size: 12px; color: var(--muted) }
.menu__group [data-saved-searches] { display: grid }
.saved-row { display: flex; align-items: center; justify-content: space-between; gap: 4px; padding-right: 2px }
.saved-row a { flex: 1; min-width: 0; padding: 6px 10px; color: var(--text); font-size: 13px }
.saved-row button { border: 0; background: none; color: var(--muted); padding: 4px 8px; border-radius: 4px }
.saved-row button:hover { background: var(--bg); color: var(--danger) }
.menu__empty { padding: 4px 10px; color: var(--muted); font-size: 13px }
/* == header == */
.site-header { position: sticky; top: 0; z-index: 50; height: var(--header-h); background: var(--surface); border-bottom: 1px solid var(--border) }
.site-header__inner { display: flex; align-items: center; gap: 24px; height: 100%; max-width: var(--page-w); margin: 0 auto; padding: 0 24px }
.page-catalog .site-header__inner { max-width: 1920px; padding: 0 20px }
@media (min-width: 1440px) { .page-catalog .site-header__inner { padding: 0 24px } }
.logo { display: inline-flex; align-items: center; flex: none; color: var(--text) }
.logo:hover { text-decoration: none }
.logo__img { display: block; height: 26px; width: auto }
.logo__mark { fill: var(--accent) }
.main-nav { display: flex; gap: 4px; flex: 1 }
.main-nav a {
  display: inline-flex; align-items: center; height: 34px; padding: 0 12px; border-radius: var(--radius-sm);
  color: var(--muted); font-weight: 550; text-decoration: none;
}
.main-nav a:hover { color: var(--text); background: var(--bg) }
.main-nav a[aria-current="page"] { color: var(--accent-strong); background: var(--accent-weak) }
.header-actions { display: flex; align-items: center; gap: 8px }
.account-button { max-width: 260px; gap: 4px }
.header-actions .menu__panel { right: 0; left: auto }
.mobile-nav { display: none; position: relative; margin-left: auto }
.mobile-nav__close { display: none }
.mobile-nav[open] .mobile-nav__close { display: block }
.mobile-nav[open] .mobile-nav__open { display: none }
.mobile-nav__panel {
  position: fixed; top: var(--header-h); left: 0; right: 0; z-index: 60; max-height: calc(100vh - var(--header-h));
  overflow: auto; padding: 8px 16px 20px; background: var(--surface); border-bottom: 1px solid var(--border); box-shadow: var(--shadow);
}
.mobile-nav__panel nav, .mobile-nav__account { display: grid }
.mobile-nav__panel nav a, .mobile-nav__account > a:not(.btn), .mobile-nav__account > button:not(.btn), .mobile-nav__account form button {
  display: flex; align-items: center; min-height: 44px; padding: 0 4px; border: 0; background: none;
  color: var(--text); font-size: 15px; text-align: left; text-decoration: none;
}
.mobile-nav__panel nav a[aria-current="page"] { color: var(--accent-strong); font-weight: 650 }
.mobile-nav__account { gap: 8px; margin-top: 8px; padding-top: 12px; border-top: 1px solid var(--border) }
.mobile-nav__account .theme-toggle { justify-content: flex-start; min-height: 44px; font-size: 15px }
.mobile-nav__account .theme-toggle .icon { width: 20px; height: 20px }
.mobile-nav__badge { margin: 4px 0 }
/* == footer == */
.site-footer { margin-top: auto; border-top: 1px solid var(--border); background: var(--surface) }
.site-footer__inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px;
  max-width: var(--page-w); margin: 0 auto; padding: 16px 24px; font-size: 13px;
}
.site-footer__links { display: flex; flex-wrap: wrap; gap: 4px 20px }
.site-footer__links a { color: var(--text) }
.site-footer__meta { display: flex; flex-wrap: wrap; gap: 4px 16px; margin: 0; color: var(--muted) }
.site-footer__meta a { color: var(--muted) }
.site-footer__meta a:hover { color: var(--accent) }
/* == shared content blocks (non-catalog pages too) == */
.searchbox {
  position: relative; display: flex; align-items: center; gap: 8px; height: 48px; padding: 0 6px 0 14px;
  background: var(--surface); border: 1px solid var(--border-strong); border-radius: var(--radius);
}
.searchbox__icon { color: var(--muted) }
.searchbox__input {
  flex: 1; min-width: 0; height: 100%; padding: 0; border: 0; outline: 0; background: transparent; font-size: 15px;
  appearance: none;
}
.searchbox__input::placeholder { color: var(--muted) }
.searchbox__input::-webkit-search-cancel-button { display: none }
.searchbox__hint {
  padding: 1px 6px; border: 1px solid var(--border-strong); border-radius: var(--radius-xs); color: var(--muted);
  font: 12px/1.4 var(--font); background: var(--surface-2);
}
.searchbox__input:focus ~ .searchbox__hint { display: none }
.searchbox .btn { min-height: 36px }
.searchbox--hero { height: 56px; box-shadow: var(--shadow-sm) }
.searchbox--hero .searchbox__input { font-size: 16px }
/* generic table + cells used by offer/procurement/processing pages */
.table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 13px }
.table th {
  padding: 9px 10px; background: var(--surface-2); border-bottom: 1px solid var(--border); color: var(--muted);
  font-size: 12px; font-weight: 600; text-align: left; white-space: nowrap;
}
.table th.num { text-align: right }
.table thead th:first-child { border-top-left-radius: var(--radius-xs) }
.table thead th:last-child { border-top-right-radius: var(--radius-xs) }
.table td { padding: 8px 10px; border-bottom: 1px solid var(--border); vertical-align: middle }
.table tbody tr:last-child td { border-bottom: 0 }
.table tbody tr:last-child td:first-child { border-bottom-left-radius: var(--radius-xs) }
.table tbody tr:last-child td:last-child { border-bottom-right-radius: var(--radius-xs) }
.table tbody tr:hover td { background: var(--hover) }
.sort-link { color: inherit; display: inline-flex; gap: 3px }
.sort-link:hover { color: var(--text); text-decoration: none }
.cell-name { font-weight: 550; line-height: 1.35; overflow-wrap: anywhere }
a.cell-name { color: var(--text) }
a.cell-name:hover { color: var(--accent) }
.cell-sub, .cell-specs {
  display: block; color: var(--muted); font-size: 12px; line-height: 1.4;
}
.cell-specs { display: none }
.clamp-2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden }
.price { display: inline-flex; flex-direction: column; align-items: flex-end; line-height: 1.3 }
.price__main { font-weight: 650; white-space: nowrap }
.price__sub { color: var(--muted); font-size: 12px; white-space: nowrap }
.price--empty { color: var(--muted); font-weight: 400 }
.price__flag { display: inline-flex; margin-left: 4px; color: var(--warn); vertical-align: -3px }
.price__flag .icon { width: 15px; height: 15px }
.fresh { display: inline-block; width: 7px; height: 7px; margin-right: 6px; border-radius: 50%; background: var(--border-strong) }
.fresh-24 { background: var(--ok) }
.fresh-72 { background: var(--fresh-mid) }
.table--stack, .table--stack tbody, .table--stack tr, .table--stack td { display: block }
/* == home == */
.hero {
  padding: 64px 0 40px; border-bottom: 1px solid var(--border);
  background: radial-gradient(70% 90% at 50% 0, var(--accent-weak) 0, transparent 70%), var(--surface);
}
.hero__inner { display: grid; gap: 20px; justify-items: center; text-align: center }
.hero__title { max-width: 17em; font-size: 40px; line-height: 1.12; letter-spacing: -.025em; text-wrap: balance }
.hero__lead { max-width: 60ch; margin: 0; color: var(--muted); font-size: 16px; text-wrap: balance }
.hero-search { width: 100%; max-width: 720px }
.hero__examples { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; max-width: 760px; margin: 0; font-size: 13px; color: var(--muted) }
.home-section { padding-top: 40px }
.home-section:last-of-type { padding-bottom: 56px }
.home-section > h2, .home-section__head h2 { margin-bottom: 16px; font-size: 20px }
.home-section__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 24px }
.home-section__links { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-bottom: 16px; font-size: 13px }
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px }
.tile {
  display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; color: var(--text); text-decoration: none !important;
  transition: border-color .12s, box-shadow .12s;
}
.tile:hover { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent) }
.tile__title { font-weight: 600 }
.tile__meta { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 12px; min-height: 18px }
.tile__lock { width: 13px; height: 13px }
.figures { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px }
.figure { padding: 20px; display: flex; flex-direction: column-reverse; gap: 4px }
.figure dd { font-size: 32px; font-weight: 700; letter-spacing: -.02em }
.figure dt { color: var(--muted) }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px }
.step { padding: 20px }
.step__number { display: grid; place-items: center; width: 28px; height: 28px; margin-bottom: 12px; border-radius: 50%; background: var(--accent-weak); color: var(--accent-strong); font-weight: 700 }
.step h3 { margin-bottom: 6px }
.step p { margin: 0; color: var(--muted) }
.cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 28px 32px; background: var(--text); color: var(--cta-text); border-radius: var(--radius) }
.cta h2 { margin-bottom: 4px }
.cta p { margin: 0; max-width: 56ch; color: var(--cta-muted) }
.cta .btn-primary { flex: none }
/* == pages == */
.auth-page { display: grid; place-items: start center; padding-top: 48px; padding-bottom: 64px }
.auth-card { width: 100%; max-width: 420px; padding: 28px }
.auth-card h1 { margin-bottom: 12px; font-size: 22px }
.auth-card__lead { margin-bottom: 16px }
.auth-card__foot { margin: 16px 0 0; text-align: center }
.auth-card .banner { margin-bottom: 16px }
.auth-card .btn-block + .divider { margin: 16px 0 }
.filter-bar { display: grid; grid-template-columns: 220px 1fr 1fr auto; gap: 12px 16px; align-items: end }
.filter-bar__actions { display: flex; gap: 8px }
.contact-list { display: flex; flex-wrap: wrap; gap: 2px 14px }
.upload-form { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 }
.upload-form .input { flex: 1; min-width: 220px }
.request-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: start }
.request-grid .card { margin: 0 }
.request-grid .contact-list { margin: 8px 0 12px }
.request-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 12px }
.specification-item h3 { margin-top: 0 }
.supplier-source { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--border) }
.supplier-source h3 { margin-top: 0 }
.page-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px }
.card .table-wrap { margin-top: 12px }
.page-procurement .table-wrap { margin-bottom: 16px }
.empty { padding: 56px 16px; text-align: center }
.empty h2 { margin-bottom: 6px }
.empty__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 16px 0 0 }
/* == responsive (shared) == */
@media (max-width: 899px) {
  .main-nav, .header-actions { display: none }
  .mobile-nav { display: block }
  .site-header__inner { padding: 0 16px; gap: 12px }
  .hero { padding: 40px 0 28px }
  .hero__title { font-size: 30px }
  .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)) }
  .filter-bar { grid-template-columns: 1fr 1fr }
  .filter-bar__actions { grid-column: 1 / -1 }
  .request-grid { grid-template-columns: minmax(0, 1fr) }
}
@media (max-width: 767px) {
  .container { padding: 0 16px }
  .page { padding-top: 20px }
  h1 { font-size: 21px }
  .hero__title { font-size: 26px }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)) }
  .figures, .steps { grid-template-columns: minmax(0, 1fr) }
  .figure { flex-direction: row-reverse; justify-content: flex-end; align-items: baseline; gap: 10px; padding: 14px 16px }
  .figure dd { font-size: 24px }
  .cta { flex-direction: column; align-items: flex-start; padding: 20px }
  .filter-bar { grid-template-columns: 1fr }
  .site-footer__inner { padding: 16px }
  .auth-page { padding-top: 24px }
  .auth-card { padding: 20px }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important }
}
