/* ==========================================================================
   grandprix2.racing — design system
   Hand-written, framework-free. Light theme, modern minimalist with a subtle
   motorsport flavor. Everything is built on the CSS custom properties in
   :root so a future dark theme is just a variable swap.
   ========================================================================== */

/* --------------------------------------------------------------------------
   Self-hosted fonts (no runtime Google Fonts request)
   -------------------------------------------------------------------------- */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/inter-latin-400-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/inter-latin-500-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/inter-latin-600-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/inter-latin-700-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Saira Condensed';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/saira-condensed-latin-600-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Saira Condensed';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/saira-condensed-latin-700-normal.woff2') format('woff2');
}

/* --------------------------------------------------------------------------
   Design tokens
   -------------------------------------------------------------------------- */
:root {
  /* Brand palette */
  --blue:      #264d8a; /* primary: links, accents          */
  --blue-dark: #123d6d; /* headers, hovers                   */
  --gold:      #948627; /* secondary accent, primary buttons */
  --gold-dark: #6f6418;
  --ink:       #1a1a1a; /* body text                         */
  --muted:     #5a5a5a; /* secondary text                    */
  --bg:        #ffffff;
  --bg-soft:   #f6f7f9; /* cards, header/footer band         */
  --border:    #e4e6ea;

  /* Semantic flash colors */
  --error-bg:    #fdecec;
  --error-text:  #8a1f1f;
  --error-border:#f3bcbc;
  --info-bg:     #eaf1fb;
  --info-text:   #1c3a63;
  --info-border: #c3d6f0;
  --success-bg:    #e9f7ef;
  --success-text:  #1d6b40;
  --success-border:#bce4cd;

  /* Type */
  --font-body:    'Inter', system-ui, -apple-system, sans-serif;
  --font-display: 'Saira Condensed', 'Inter', system-ui, sans-serif;

  /* Layout */
  --container: 1080px;
  --radius: 8px;
  --radius-sm: 5px;
  --shadow: 0 1px 2px rgba(18, 61, 109, 0.06), 0 2px 8px rgba(18, 61, 109, 0.05);
}

/* --------------------------------------------------------------------------
   Modern reset
   -------------------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body,
h1, h2, h3, h4, h5, h6,
p, figure, blockquote, dl, dd,
ul, ol { margin: 0; }

ul[class],
ol[class] { list-style: none; padding: 0; }

img,
picture,
svg { max-width: 100%; display: block; }

input,
button,
textarea,
select { font: inherit; color: inherit; }

button { cursor: pointer; }

a { color: inherit; }

/* --------------------------------------------------------------------------
   Base typography
   -------------------------------------------------------------------------- */
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  color: var(--blue-dark);
  letter-spacing: 0.01em;
}

h1 { font-size: 2.1rem; margin-bottom: 0.6em; }
h2 {
  font-size: 1.5rem;
  margin-bottom: 0.5em;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
h3 { font-size: 1.2rem; margin-bottom: 0.4em; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

a {
  color: var(--blue);
  text-decoration: none;
  transition: color 0.12s ease;
}
a:hover { color: var(--blue-dark); text-decoration: underline; }

small { color: var(--muted); font-size: 0.85rem; }

hr {
  border: 0;
  border-top: 1px solid var(--border);
  margin: 2rem 0;
}

code, pre {
  font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  font-size: 0.9em;
}
pre {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1rem;
  overflow-x: auto;
}
code { background: var(--bg-soft); padding: 0.1em 0.35em; border-radius: 4px; }
pre code { background: none; padding: 0; }

/* --------------------------------------------------------------------------
   Container
   -------------------------------------------------------------------------- */
.container {
  /* Generous horizontal space on large screens, still gutters on small. */
  width: min(92%, 1500px);
  margin-inline: auto;
}

main.container {
  flex: 1 0 auto;
  padding-block: 2rem;
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn,
button.btn,
input[type='submit'].btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.95rem;
  line-height: 1;
  padding: 0.7em 1.3em;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  background: var(--gold);
  color: #fff;
  cursor: pointer;
  transition: background 0.12s ease, border-color 0.12s ease, color 0.12s ease;
  text-decoration: none;
}
.btn:hover {
  background: var(--gold-dark);
  color: #fff;
  text-decoration: none;
}

.btn-secondary {
  background: transparent;
  color: var(--blue);
  border-color: var(--border);
}
.btn-secondary:hover {
  background: var(--bg-soft);
  border-color: var(--blue);
  color: var(--blue-dark);
}

.btn-link {
  background: none;
  border: none;
  padding: 0;
  color: var(--blue);
  font: inherit;
  text-transform: none;
  letter-spacing: normal;
}
.btn-link:hover { color: var(--blue-dark); text-decoration: underline; }

/* --------------------------------------------------------------------------
   Chips (category labels)
   -------------------------------------------------------------------------- */
.chip {
  display: inline-block;
  padding: 0.18em 0.7em;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.5;
  color: var(--ink);
  background: var(--bg-soft);
  text-decoration: none;
  white-space: nowrap;
}
a.chip:hover { text-decoration: none; filter: brightness(0.96); }

.chip.track    { background: #d6c1f6; }
.chip.carset   { background: #92f2c6; }
.chip.carshape { background: #f77e73; }
.chip.tool     { background: #123d6d; color: #fff; }
.chip.series   { background: #fffa98; }
.chip.year     { background: #e8e1c4; }
.chip.author   { background: #92ccf2; }
.chip.country  { background: #424242; color: #fff; }
.chip.misc     { background: #445f52; color: #fff; }
.chip.tag      { background: #eceaf4; }

/* --------------------------------------------------------------------------
   Cards
   -------------------------------------------------------------------------- */
.card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.1rem 1.25rem;
  box-shadow: var(--shadow);
  transition: border-color 0.12s ease, box-shadow 0.12s ease;
}
a.card:hover,
.card:hover {
  border-color: #cfd6e0;
  box-shadow: 0 2px 6px rgba(18, 61, 109, 0.08), 0 6px 18px rgba(18, 61, 109, 0.07);
  text-decoration: none;
}
.card h3 { margin-bottom: 0.25em; }
.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 640px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .card-grid { grid-template-columns: repeat(3, 1fr); }
}

/* --------------------------------------------------------------------------
   Forms
   -------------------------------------------------------------------------- */
label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
  color: var(--ink);
}

input[type='text'],
input[type='email'],
input[type='password'],
input[type='search'],
input[type='url'],
input[type='number'],
textarea,
select {
  display: block;
  width: 100%;
  padding: 0.6em 0.8em;
  font-size: 1rem;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: border-color 0.12s ease, box-shadow 0.12s ease;
  margin-bottom: 1rem;
}
input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(38, 77, 138, 0.15);
}
textarea { min-height: 9rem; resize: vertical; line-height: 1.5; }

/* Field wrapper: groups a label, control and optional hint with even rhythm. */
.field { margin-bottom: 1.25rem; }
.field > label { margin-bottom: 0.35rem; }
.field input,
.field textarea,
.field select,
.field .chip-input { margin-bottom: 0; }
.field__hint {
  display: block;
  margin-top: 0.35rem;
  color: var(--muted);
  font-size: 0.82rem;
}

/* Action bar at the foot of a form. */
.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.field--or {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: -0.25rem 0 1.25rem;
  color: var(--muted);
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
}
.field--or::before,
.field--or::after {
  content: '';
  flex: 1;
  border-top: 1px solid var(--border);
}

/* --------------------------------------------------------------------------
   Chip input (progressive enhancement over ";"-separated text fields)
   -------------------------------------------------------------------------- */
.chip-input {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  width: 100%;
  padding: 0.4em 0.5em;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: text;
  transition: border-color 0.12s ease, box-shadow 0.12s ease;
}
.chip-input:focus-within {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(38, 77, 138, 0.15);
}
.chip-input__entry {
  flex: 1 1 8rem;
  min-width: 7rem;
  border: none !important;
  outline: none;
  margin: 0 !important;
  padding: 0.2em 0.25em !important;
  background: transparent;
  box-shadow: none !important;
}
.chip-input__chip.chip-removable {
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
  padding-right: 0.4em;
}
.chip-input__remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.2em;
  height: 1.2em;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: rgba(18, 26, 38, 0.12);
  color: inherit;
  font-size: 0.95em;
  line-height: 1;
  transition: background 0.12s ease;
}
.chip-input__remove:hover { background: rgba(18, 26, 38, 0.3); }

/* --------------------------------------------------------------------------
   Flash alerts
   -------------------------------------------------------------------------- */
.flash {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.8rem 1rem;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}
.flash-error {
  background: var(--error-bg);
  color: var(--error-text);
  border-color: var(--error-border);
}
.flash-info {
  background: var(--info-bg);
  color: var(--info-text);
  border-color: var(--info-border);
}
.flash-success {
  background: var(--success-bg);
  color: var(--success-text);
  border-color: var(--success-border);
}

/* --------------------------------------------------------------------------
   Site header
   -------------------------------------------------------------------------- */
.site-header {
  /* White band to match the logo PNG's white background. */
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  /* Motorsport accent: a thin gold/blue racing stripe along the top edge. */
  border-top: 3px solid var(--gold);
}
.site-header__inner {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  padding-block: 0.9rem;
}
.site-header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.site-logo { display: inline-flex; align-items: center; }
.site-logo img { height: 42px; width: auto; }

.site-search { width: 100%; }
.site-search form { display: flex; gap: 0.5rem; }
.site-search input[type='search'] {
  margin-bottom: 0;
  flex: 1;
  padding-block: 0.45em;
}

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 1.4rem;
  /* No default list bullets — clean, evenly-spaced, left-aligned links. */
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-nav a {
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.92rem;
  color: var(--blue-dark);
  padding: 0.2rem 0;
  border-bottom: 2px solid transparent;
  transition: color 0.12s ease, border-color 0.12s ease;
}
.site-nav a:hover {
  color: var(--gold-dark);
  border-bottom-color: var(--gold);
  text-decoration: none;
}

@media (min-width: 640px) {
  .site-header__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
  }
  .site-header__bar { flex: 0 0 auto; }
  /* Cluster nav + search together on the right: push the nav over with
     margin-left:auto, and let search sit right next to it. */
  .site-nav { order: 2; margin-left: auto; }
  .site-search { width: auto; max-width: 280px; order: 3; }
}

/* --------------------------------------------------------------------------
   Site footer
   -------------------------------------------------------------------------- */
.site-footer {
  flex-shrink: 0;
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: 3rem;
}
.site-footer__inner {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-block: 1.75rem;
}
.site-footer a { color: var(--blue); }
.site-footer__content p:last-child { margin-bottom: 0; }
.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 1.1rem;
}
.site-footer__links form { display: inline; margin: 0; }

@media (min-width: 640px) {
  .site-footer__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

/* --------------------------------------------------------------------------
   Utilities
   -------------------------------------------------------------------------- */
.muted { color: var(--muted); }
.text-center { text-align: center; }
.stack > * + * { margin-top: 1rem; }
.chips { display: flex; flex-wrap: wrap; gap: 0.4rem; }

/* Small button variant for inline / in-table actions. */
.btn-sm {
  padding: 0.4em 0.8em;
  font-size: 0.8rem;
}
.inline-form { display: inline; margin: 0; }
.row-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
}

/* Status badge (hidden / featured indicators). */
.badge {
  display: inline-block;
  padding: 0.1em 0.55em;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: var(--bg-soft);
  color: var(--muted);
}
.badge--on { background: var(--success-bg); color: var(--success-text); }
.badge--off { background: var(--bg-soft); color: var(--muted); }

/* Data table (admin manage-files, users). */
.table-wrap { overflow-x: auto; }
.table {
  width: 100%;
  border-collapse: collapse;
}
.table th,
.table td {
  text-align: left;
  padding: 0.6rem 0.75rem;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}
.table th {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.8rem;
  color: var(--muted);
  white-space: nowrap;
}
.table tbody tr:hover { background: var(--bg-soft); }
.table .table__cell-input { margin-bottom: 0; }

/* Toolbar: a row of "new upload" actions above a table. */
.toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}
.toolbar__label {
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.85rem;
  color: var(--muted);
  margin-right: 0.25rem;
}

/* Narrow confirmation / form card. */
.confirm { max-width: 520px; }
.form { max-width: 640px; }

/* Pagination nav (listing pages) */
.pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  margin-top: 2rem;
  align-items: center;
  justify-content: center;
}
.pagination__status {
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.9rem;
  color: var(--muted);
}
.btn.is-disabled {
  opacity: 0.45;
  cursor: default;
  pointer-events: none;
}

/* Active state for toggle-style controls (sort order). */
.btn.is-active {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
  pointer-events: none;
}

/* Listing controls: sort toggle, see-all button, country selector ---------- */
.see-all { margin: 0 0 1.25rem; }

.sort-control {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 1.5rem;
}
.sort-control__label {
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.8rem;
  color: var(--muted);
  margin-right: 0.25rem;
}

.country-selector {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem 0.75rem;
  padding: 0.75rem 1rem;
  margin-bottom: 1.5rem;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.country-selector__label {
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.8rem;
  color: var(--muted);
}
.country-selector__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

/* --------------------------------------------------------------------------
   Home & listing sections
   -------------------------------------------------------------------------- */
.home-section + .home-section { margin-top: 2.5rem; }

/* Home: recently-added main column + a compact "Popular" aside.
   Mobile-first: single column (popular panel stacks below the recent grid);
   two columns on wide screens. */
.home-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 900px) {
  .home-grid {
    grid-template-columns: 1fr 320px;
    gap: 2.5rem;
    align-items: start;
  }
}

.popular-panel {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.1rem 1.25rem;
}
.popular-panel__title {
  margin-bottom: 0.75rem;
  font-size: 1.3rem;
}
.popular-list {
  display: flex;
  flex-direction: column;
}
.popular-list__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  padding: 0.5rem 0;
  border-top: 1px solid var(--border);
}
.popular-list__item:first-child { border-top: 0; }
.popular-list__item a {
  font-weight: 500;
  line-height: 1.3;
}
.popular-list__item .chip {
  flex: 0 0 auto;
  text-transform: capitalize;
}

/* --------------------------------------------------------------------------
   Creation card (listings)
   -------------------------------------------------------------------------- */
.creation-card {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.creation-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.6rem;
}
.creation-card__title {
  margin: 0;
  font-size: 1.15rem;
  line-height: 1.2;
}
.creation-card__head .chip { flex: 0 0 auto; text-transform: capitalize; }
.creation-card__meta {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.25rem 1rem;
  font-size: 0.82rem;
  color: var(--muted);
  padding-top: 0.3rem;
  border-top: 1px solid var(--border);
}

/* --------------------------------------------------------------------------
   Item detail page
   -------------------------------------------------------------------------- */
.item { max-width: 760px; }
.item__header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}
.item__title { margin-bottom: 0; }
.item__header .chip { text-transform: capitalize; }
.item__image {
  margin: 1.5rem 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-soft);
}
.item__image img { width: 100%; height: auto; }
.item__authors {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.25rem;
}
.item__label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.item__classifiers {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.85rem;
}
.item__desc { margin-top: 1.75rem; }
.item__downloads { margin-top: 2rem; }
.download-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.download-row {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}
.download-row .btn { flex: 0 1 auto; }
.item__admin {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}

/* --------------------------------------------------------------------------
   Error page
   -------------------------------------------------------------------------- */
.error-page { padding-block: 3rem; }
.error-page__code {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 5rem;
  line-height: 1;
  color: var(--gold);
  margin-bottom: 0.5rem;
}
.error-page__title { margin-bottom: 0.5rem; }

/* --------------------------------------------------------------------------
   Admin sub-navigation + filter bar
   -------------------------------------------------------------------------- */
.admin-nav {
  background: var(--bg-soft);
  border-bottom: 1px solid var(--border);
}
.admin-nav__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.4rem;
  padding-block: 0.6rem;
}
.admin-nav__link {
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.88rem;
  color: var(--blue-dark);
  padding: 0.15rem 0;
  border-bottom: 2px solid transparent;
}
.admin-nav__link:hover {
  color: var(--gold-dark);
  border-bottom-color: var(--gold);
  text-decoration: none;
}
.admin-nav__link.is-active {
  color: var(--gold-dark);
  border-bottom-color: var(--gold);
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 0.75rem 1rem;
  margin-bottom: 1.5rem;
  padding: 0.9rem 1rem;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.filter-bar__group {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.filter-bar__group label {
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.78rem;
  color: var(--muted);
}

.field--check label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
}
.field--check input { width: auto; }

.item__admin-label {
  align-self: center;
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.85rem;
  color: var(--muted);
}
