/* TopQuaranta — yellow+black theme (Sessió 18, revised).
 *
 * Mirror of cercol.team's layout, with blue→yellow and white→black
 * swapped. Loaded AFTER style.css so its tokens win; existing
 * templates inherit the new palette automatically via the
 * `--mm-color-*` overrides.
 *
 * Layout mapping (from cercol.team):
 *
 *                  cercol                         topquaranta
 *   home         all-blue hero                   all-yellow hero
 *   other pages  blue header + white bg          yellow header + black bg
 *   logo         white on blue                   black on yellow
 *   cards        white on white (borders)        white on black (floating)
 *   body text    dark on white                   white on black (outside cards)
 *   accent       blue                            yellow
 *
 * The logo SVG uses `currentColor`, so its colour follows whatever
 * context it's rendered in (black on yellow header, black on yellow
 * home-hero, white on black footer, etc.).
 */

:root {
  /* ── Palette ── */
  --tq-color-yellow:            #facc15;  /* primary — the identity colour */
  --tq-color-yellow-soft:       #fde68a;  /* hover/backgrounds */
  --tq-color-yellow-deep:       #ca8a04;  /* active/pressed */

  --tq-color-ink:               #0a0a0a;  /* near-black; page bg & text-on-yellow */
  --tq-color-ink-soft:          #1a1a1a;  /* slightly-lighter surfaces on black bg */
  --tq-color-ink-muted:         #a1a1aa;  /* muted text on black bg */

  --tq-color-surface:           #ffffff;  /* card bg — white, floats on black */
  --tq-color-surface-muted:     #f4f4f5;  /* subtle surface on cards */
  --tq-color-border:            #27272a;  /* dark border for cards-on-black */
  --tq-color-border-strong:     #52525b;

  /* Override mm-design tokens so every template inherits the new
     palette automatically. Keep `--mm-color-text-primary` as white
     because body text is on the black page bg; inside cards, we set
     an override. */
  --mm-color-primary:           var(--tq-color-yellow);
  --mm-color-primary-hover:     var(--tq-color-yellow-deep);
  --mm-color-background:        var(--tq-color-ink);
  --mm-color-text-primary:      #ffffff;
  --mm-color-text-secondary:    var(--tq-color-ink-muted);
  --mm-color-text-muted:        var(--tq-color-ink-muted);
  --mm-color-border:            var(--tq-color-border);
  --mm-color-surface:           var(--tq-color-surface);

  /* Layout (cercol uses 80rem / 1280px; we follow). */
  --tq-width-site:              80rem;
  --tq-radius-sm:               0.375rem;
  --tq-radius-md:               0.5rem;
  --tq-radius-lg:               0.75rem;
  --tq-shadow-sm:               0 1px 2px rgba(0,0,0,.3);
  --tq-shadow-md:               0 4px 6px -1px rgba(0,0,0,.3), 0 2px 4px -2px rgba(0,0,0,.3);
  --tq-shadow-lg:               0 10px 15px -3px rgba(0,0,0,.4), 0 4px 6px -4px rgba(0,0,0,.3);
}

html, body {
  background: var(--tq-color-ink);
  color: #ffffff;
}

body { min-height: 100vh; display: flex; flex-direction: column; }
body > main, body > .main-wrap { flex: 1; }

/* Container — uniform max width, centred. Cercol width. */
.container {
  max-width: var(--tq-width-site);
  margin-inline: auto;
  padding-inline: var(--mm-space-6);
  width: 100%;
}

/* ═══ Header — yellow bar ═══════════════════════════════════ */

.site-header {
  background: var(--tq-color-yellow);
  color: var(--tq-color-ink);
  position: sticky;
  top: 0;
  z-index: 40;
  box-shadow: 0 1px 0 rgba(0,0,0,.1);
}

.site-header .header-bar {
  display: flex;
  align-items: center;
  gap: var(--mm-space-4);
  padding-block: var(--mm-space-3);
  min-height: 4rem;
}

.site-header a {
  color: var(--tq-color-ink);
  text-decoration: none;
}

.site-header .site-logo {
  height: 2.25rem;   /* ~36px */
  width: auto;
  color: var(--tq-color-ink);  /* drives SVG currentColor */
  display: block;
}

/* No accent bar under the header; the yellow bar is the accent. */
.site-header .header-accent { display: none; }

/* ─── Nav layout (cercol-style: logo → nav → CTA) ───────────── */

.site-header .header-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: var(--mm-space-2);
  order: 3;
}

.site-header .nav-panel {
  display: flex;
  margin-inline: auto;
}

.site-header .nav-links {
  display: flex;
  gap: var(--mm-space-1);
  list-style: none;
  padding: 0;
  margin: 0;
  align-items: center;
}

.site-header .nav-link {
  display: inline-flex;
  align-items: center;
  gap: var(--mm-space-2);
  padding: var(--mm-space-2) var(--mm-space-3);
  font-size: var(--mm-text-sm);
  font-weight: 600;
  border-radius: var(--tq-radius-sm);
  transition: background-color .15s ease;
  color: var(--tq-color-ink);
}

.site-header .nav-link:hover,
.site-header .nav-link:focus {
  background: rgba(0,0,0,.08);
}

.site-header .nav-link[aria-current="page"] {
  background: var(--tq-color-ink);
  color: var(--tq-color-yellow);
}

/* User-access CTA (far right). Cercol: the "Compte" button uses
   inverted colours — here: black pill on yellow bar. */
.site-header .header-cta {
  display: inline-flex;
  align-items: center;
  gap: var(--mm-space-2);
  padding: var(--mm-space-2) var(--mm-space-4);
  background: var(--tq-color-ink);
  color: #ffffff !important;
  font-weight: 600;
  font-size: var(--mm-text-sm);
  border-radius: 9999px;
  transition: background-color .15s ease;
}

.site-header .header-cta:hover {
  background: #000;
}

/* Hamburger (mobile). */
.site-header .nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--tq-color-ink);
  color: var(--tq-color-ink);
  padding: var(--mm-space-2);
  border-radius: var(--tq-radius-sm);
  cursor: pointer;
  order: 4;
}

.site-header .nav-toggle .icon-close { display: none; }
.site-header .nav-toggle[aria-expanded="true"] .icon-hamburger { display: none; }
.site-header .nav-toggle[aria-expanded="true"] .icon-close { display: block; }

@media (max-width: 48rem) {
  .site-header .nav-toggle { display: inline-flex; align-items: center; }
  .site-header .nav-panel {
    display: none;
    flex-basis: 100%;
    order: 10;
    padding: var(--mm-space-2) 0 var(--mm-space-4);
    margin: 0;
  }
  .site-header .nav-panel.is-open { display: block; }
  .site-header .nav-links {
    flex-direction: column;
    align-items: stretch;
    gap: var(--mm-space-1);
  }
  .site-header .nav-link { padding: var(--mm-space-3) var(--mm-space-3); }
}

/* ═══ Main — black background, white text ══════════════════════ */

main.container {
  padding-block: var(--mm-space-8) var(--mm-space-12);
  min-height: 50vh;
  color: #ffffff;
}

main.container a { color: var(--tq-color-yellow); }
main.container a:hover { color: var(--tq-color-yellow-deep); }

main.container h1, main.container h2, main.container h3,
main.container h4, main.container h5, main.container h6 {
  color: #ffffff;
}

/* Inline SVG icons: always inherit stroke/fill from the enclosing
   `color`. Prevents the "black icon on black bg" case that shows up
   when a legacy rule set `color` but the icon was drawn with a
   default `stroke="currentColor"` that fell back to black. */
main.container svg[stroke="currentColor"] { stroke: currentColor; }
main.container svg[fill="currentColor"] { fill: currentColor; }

/* Dark backgrounds anywhere — force light foreground for anything
   that used to be dark-on-light. This picks up every container that
   has `background-color: var(--mm-color-background)` (now black) and
   had an implicit dark text color; the rule is narrowly scoped to
   the public body so staff cards (white surface) aren't affected. */
body:not(.home-yellow) main.container {
  color: #ffffff;
}

/* Card-on-black overrides: legacy components that were designed
   to sit on a white page now need an explicit white surface so
   their monochrome SVG badges (served as <img>) stay readable
   and their muted-grey text has a light background to contrast
   against. This is the cercol pattern: floating white cards on
   the coloured / dark page. */
body:not(.home-yellow) .welcome-hero,
body:not(.home-yellow) .selector-card,
body:not(.home-yellow) .ranking-entry,
body:not(.home-yellow) .ranking-rank-card,
body:not(.home-yellow) .rank-hero,
body:not(.home-yellow) .artista-card,
body:not(.home-yellow) .artista-perfil,
body:not(.home-yellow) .album-card,
body:not(.home-yellow) .album-perfil,
body:not(.home-yellow) .canco-card,
body:not(.home-yellow) .canco-perfil,
body:not(.home-yellow) .profile-hero,
body:not(.home-yellow) .profile-body {
  background: var(--tq-color-surface);
  color: var(--tq-color-ink);
  border-radius: var(--tq-radius-lg);
}
/* Nested links inside those cards follow their new dark-on-white
   context (not the page-level yellow-on-black). */
body:not(.home-yellow) .welcome-hero a,
body:not(.home-yellow) .selector-card a,
body:not(.home-yellow) .ranking-entry a,
body:not(.home-yellow) .rank-hero a,
body:not(.home-yellow) .artista-card a,
body:not(.home-yellow) .album-card a,
body:not(.home-yellow) .canco-card a,
body:not(.home-yellow) .profile-hero a,
body:not(.home-yellow) .profile-body a {
  color: var(--tq-color-ink);
}
body:not(.home-yellow) .welcome-hero a:hover,
body:not(.home-yellow) .selector-card a:hover,
body:not(.home-yellow) .ranking-entry a:hover,
body:not(.home-yellow) .rank-hero a:hover,
body:not(.home-yellow) .artista-card a:hover,
body:not(.home-yellow) .album-card a:hover,
body:not(.home-yellow) .canco-card a:hover,
body:not(.home-yellow) .profile-hero a:hover,
body:not(.home-yellow) .profile-body a:hover {
  color: var(--tq-color-yellow-deep);
}
/* Titles inside floating cards keep ink color. */
body:not(.home-yellow) .welcome-hero :where(h1,h2,h3,h4,h5,h6),
body:not(.home-yellow) .selector-card :where(h1,h2,h3,h4,h5,h6),
body:not(.home-yellow) .ranking-entry :where(h1,h2,h3,h4,h5,h6),
body:not(.home-yellow) .rank-hero :where(h1,h2,h3,h4,h5,h6),
body:not(.home-yellow) .artista-card :where(h1,h2,h3,h4,h5,h6),
body:not(.home-yellow) .album-card :where(h1,h2,h3,h4,h5,h6),
body:not(.home-yellow) .canco-card :where(h1,h2,h3,h4,h5,h6) {
  color: var(--tq-color-ink);
}

/* ═══ Footer — same black as body, divider on top ═══ */

.site-footer {
  background: var(--tq-color-ink);
  color: #ffffff;
  padding-block: var(--mm-space-12) var(--mm-space-6);
  border-top: 1px solid var(--tq-color-border);
  margin-top: var(--mm-space-12);
}

.site-footer a { color: #ffffff; text-decoration: none; }
.site-footer a:hover { color: var(--tq-color-yellow); }

.site-footer .footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--mm-space-8);
  padding-bottom: var(--mm-space-8);
  border-bottom: 1px solid var(--tq-color-border);
}

@media (max-width: 48rem) {
  .site-footer .footer-grid { grid-template-columns: 1fr; gap: var(--mm-space-6); }
}

.site-footer .footer-mission-title {
  font-family: var(--mm-font-display, 'Playfair Display', Georgia, serif);
  font-size: var(--mm-text-xl);
  font-weight: 700;
  margin: 0 0 var(--mm-space-3);
}
.site-footer .footer-mission-text {
  font-size: var(--mm-text-sm);
  line-height: 1.6;
  color: var(--tq-color-ink-muted);
  max-width: 42em;
  margin: 0 0 var(--mm-space-4);
}
.site-footer .footer-cta {
  display: inline-flex;
  align-items: center;
  gap: var(--mm-space-2);
  padding: var(--mm-space-2) var(--mm-space-4);
  background: var(--tq-color-yellow);
  color: var(--tq-color-ink) !important;
  font-weight: 600;
  font-size: var(--mm-text-sm);
  border-radius: 9999px;
}
.site-footer .footer-cta:hover { background: #fff; color: var(--tq-color-ink) !important; }
.site-footer .footer-nav-title {
  font-weight: 700;
  font-size: var(--mm-text-sm);
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--tq-color-ink-muted);
  margin: 0 0 var(--mm-space-3);
}
.site-footer .footer-nav-list {
  list-style: none;
  padding: 0; margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--mm-space-2);
}
.site-footer .footer-nav-link { font-size: var(--mm-text-sm); }
.site-footer .footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--mm-space-6);
  flex-wrap: wrap;
  gap: var(--mm-space-4);
}
.site-footer .footer-copy {
  font-size: var(--mm-text-sm);
  color: var(--tq-color-ink-muted);
  margin: 0;
}
.site-footer .footer-logo {
  height: 1.25rem;
  width: auto;
  color: #ffffff;
  opacity: .9;
}

/* ═══ Home — all yellow (mirror of cercol's all-blue home) ═══ */

/* Opt-in via `<body class="home-yellow">`. Everything above the
   footer is yellow with ink (black) text; the footer keeps its
   black identity to act as a visual terminator. */
body.home-yellow {
  background: var(--tq-color-yellow);
  color: var(--tq-color-ink);
}
body.home-yellow main.container {
  color: var(--tq-color-ink);
}
body.home-yellow main.container a {
  color: var(--tq-color-ink);
  text-decoration: underline;
}
body.home-yellow main.container h1,
body.home-yellow main.container h2,
body.home-yellow main.container h3 {
  color: var(--tq-color-ink);
}

/* On the yellow home, the header's bottom edge disappears — no
   shadow line between the yellow bar and the yellow canvas. */
body.home-yellow .site-header {
  box-shadow: none;
}

/* ═══ Cards — white on black, cercol-style ═══ */

.tq-card {
  background: var(--tq-color-surface);
  color: var(--tq-color-ink);
  border-radius: var(--tq-radius-lg);
  padding: var(--mm-space-5);
  box-shadow: var(--tq-shadow-md);
}
.tq-card a { color: var(--tq-color-ink); }
.tq-card a:hover { color: var(--tq-color-yellow-deep); }

.tq-card--hover { transition: box-shadow .15s ease, transform .15s ease; }
.tq-card--hover:hover { box-shadow: var(--tq-shadow-lg); transform: translateY(-2px); }

.tq-card__title {
  font-family: var(--mm-font-display, 'Playfair Display', Georgia, serif);
  font-size: var(--mm-text-xl);
  font-weight: 700;
  margin: 0 0 var(--mm-space-2);
  color: var(--tq-color-ink);
}
.tq-card__meta {
  font-size: var(--mm-text-sm);
  color: var(--tq-color-ink-muted);
}

/* ═══ Buttons ═══ */

.tq-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--mm-space-2);
  padding: var(--mm-space-2) var(--mm-space-4);
  border-radius: var(--tq-radius-md);
  font-size: var(--mm-text-sm);
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s;
}
.tq-btn--primary { background: var(--tq-color-yellow); color: var(--tq-color-ink); }
.tq-btn--primary:hover { background: #fff; }
.tq-btn--ghost   { background: transparent; color: #ffffff; border-color: var(--tq-color-border-strong); }
.tq-btn--ghost:hover { border-color: var(--tq-color-yellow); color: var(--tq-color-yellow); }

/* ═══ Staff panel — card-on-black, same palette ═══ */

.staff-nav {
  display: flex;
  flex-wrap: wrap;
  gap: var(--mm-space-1);
  align-items: center;
  padding: var(--mm-space-2) var(--mm-space-3);
  margin-bottom: var(--mm-space-6);
  background: var(--tq-color-surface);
  border-radius: var(--tq-radius-lg);
  box-shadow: var(--tq-shadow-md);
}
.staff-nav .staff-badge {
  display: inline-flex;
  align-items: center;
  padding: var(--mm-space-1) var(--mm-space-3);
  background: var(--tq-color-ink);
  color: var(--tq-color-yellow);
  font-size: var(--mm-text-xs);
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  border-radius: 9999px;
  margin-right: var(--mm-space-2);
}
.staff-nav .staff-nav-link {
  padding: var(--mm-space-1) var(--mm-space-3);
  font-size: var(--mm-text-sm);
  font-weight: 500;
  color: var(--tq-color-ink);
  text-decoration: none;
  border-radius: var(--tq-radius-sm);
  transition: background-color .12s;
}
.staff-nav .staff-nav-link:hover { background: var(--tq-color-yellow-soft); }
.staff-nav .staff-nav-link.is-active {
  background: var(--tq-color-yellow);
  color: var(--tq-color-ink);
  font-weight: 600;
}

.staff-messages {
  display: flex;
  flex-direction: column;
  gap: var(--mm-space-2);
  margin-bottom: var(--mm-space-4);
}
.staff-msg {
  padding: var(--mm-space-3) var(--mm-space-4);
  border-radius: var(--tq-radius-md);
  font-size: var(--mm-text-sm);
  background: var(--tq-color-surface);
  color: var(--tq-color-ink);
}
.staff-msg--success { background: #dcfce7; color: #166534; }
.staff-msg--error   { background: #fee2e2; color: #991b1b; }
.staff-msg--warning { background: var(--tq-color-yellow-soft); color: #713f12; }
.staff-msg--info    { background: #dbeafe; color: #1e40af; }

.staff-content {
  background: var(--tq-color-surface);
  color: var(--tq-color-ink);
  padding: var(--mm-space-6);
  border-radius: var(--tq-radius-lg);
  box-shadow: var(--tq-shadow-md);
}
.staff-content a { color: var(--tq-color-ink); }
.staff-content a:hover { color: var(--tq-color-yellow-deep); }
.staff-content h1, .staff-content h2, .staff-content h3,
.staff-content h4, .staff-content h5, .staff-content h6 {
  color: var(--tq-color-ink);
}

.staff-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: var(--mm-text-sm);
  background: var(--tq-color-surface);
  color: var(--tq-color-ink);
  border: 1px solid #e5e7eb;
  border-radius: var(--tq-radius-md);
  overflow: hidden;
}
.staff-table thead th {
  background: var(--tq-color-surface-muted);
  text-align: left;
  font-weight: 600;
  padding: var(--mm-space-2) var(--mm-space-3);
  border-bottom: 1px solid #e5e7eb;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: .04em;
  font-size: var(--mm-text-xs);
}
.staff-table tbody td {
  padding: var(--mm-space-2) var(--mm-space-3);
  border-bottom: 1px solid #e5e7eb;
  vertical-align: middle;
}
.staff-table tbody tr:last-child td { border-bottom: none; }
.staff-table tbody tr:hover { background: var(--tq-color-yellow-soft); }
.staff-table-wrap { overflow-x: auto; margin-bottom: var(--mm-space-4); }

.staff-filters {
  display: flex;
  flex-wrap: wrap;
  gap: var(--mm-space-2);
  align-items: center;
  padding: var(--mm-space-3);
  margin-bottom: var(--mm-space-4);
  background: var(--tq-color-surface-muted);
  border: 1px solid #e5e7eb;
  border-radius: var(--tq-radius-md);
}

.staff-action-select, .filter-search {
  padding: var(--mm-space-1) var(--mm-space-2);
  font-size: var(--mm-text-sm);
  border: 1px solid #d4d4d8;
  border-radius: var(--tq-radius-sm);
  background: var(--tq-color-surface);
  color: var(--tq-color-ink);
}
.staff-action-select:focus, .filter-search:focus {
  outline: 2px solid var(--tq-color-yellow);
  outline-offset: 1px;
  border-color: var(--tq-color-yellow-deep);
}

.filter-btn {
  padding: var(--mm-space-1) var(--mm-space-3);
  font-size: var(--mm-text-sm);
  font-weight: 600;
  background: var(--tq-color-ink);
  color: #fff;
  border: 1px solid var(--tq-color-ink);
  border-radius: var(--tq-radius-sm);
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: var(--mm-space-1);
}
.filter-btn:hover { background: var(--tq-color-yellow); color: var(--tq-color-ink); }

.staff-btn--danger { background: #991b1b; border-color: #991b1b; }
.staff-btn--danger:hover { background: #7f1d1d; border-color: #7f1d1d; color: #fff; }
.staff-btn--cancel { background: transparent; color: var(--tq-color-ink); border-color: #d4d4d8; }
.staff-btn--cancel:hover { background: var(--tq-color-surface-muted); color: var(--tq-color-ink); }

.staff-ml {
  display: inline-flex;
  align-items: center;
  padding: 0.15rem var(--mm-space-2);
  border-radius: var(--tq-radius-sm);
  font-size: var(--mm-text-xs);
  font-weight: 600;
  white-space: nowrap;
}
.staff-ml--good    { background: #dcfce7; color: #166534; }
.staff-ml--caution { background: var(--tq-color-yellow-soft); color: #854d0e; }
.staff-ml--bad     { background: #fee2e2; color: #991b1b; }
.staff-ml--none    { background: var(--tq-color-surface-muted); color: #6b7280; }

.staff-badge-ok { background: #dcfce7; color: #166534; padding: .15rem var(--mm-space-2); border-radius: var(--tq-radius-sm); font-size: var(--mm-text-xs); font-weight: 600; }
.staff-badge-no { background: var(--tq-color-surface-muted); color: #6b7280; padding: .15rem var(--mm-space-2); border-radius: var(--tq-radius-sm); font-size: var(--mm-text-xs); font-weight: 600; }

.ranking-header {
  margin-bottom: var(--mm-space-5);
  padding-bottom: var(--mm-space-3);
  border-bottom: 2px solid var(--tq-color-ink);
}
.ranking-title {
  font-family: var(--mm-font-display, 'Playfair Display', Georgia, serif);
  font-size: var(--mm-text-3xl);
  font-weight: 800;
  margin: 0;
  color: var(--tq-color-ink);
}
.ranking-date { font-size: var(--mm-text-sm); color: #6b7280; margin: var(--mm-space-1) 0 0; }
.ranking-empty {
  padding: var(--mm-space-6);
  text-align: center;
  color: #6b7280;
  font-size: var(--mm-text-sm);
  background: var(--tq-color-surface-muted);
  border-radius: var(--tq-radius-md);
}

.staff-actions-bar {
  display: flex;
  flex-wrap: wrap;
  gap: var(--mm-space-2);
  align-items: center;
  padding: var(--mm-space-2) var(--mm-space-3);
  margin-bottom: var(--mm-space-3);
  background: var(--tq-color-surface-muted);
  border: 1px solid #e5e7eb;
  border-radius: var(--tq-radius-md);
  font-size: var(--mm-text-sm);
  color: var(--tq-color-ink);
}

.staff-cell-muted  { color: #6b7280; }
.staff-cell-mono   { font-family: var(--mm-font-mono, ui-monospace, Menlo, monospace); font-size: var(--mm-text-xs); }
.staff-cell-links  { white-space: nowrap; }
.staff-cell-links a { font-size: var(--mm-text-xs); margin-right: var(--mm-space-1); }
.staff-edit-link   { color: var(--tq-color-ink); text-decoration: none; border-bottom: 1px dotted #6b7280; }
.staff-edit-link:hover { color: var(--tq-color-yellow-deep); border-bottom-color: var(--tq-color-yellow-deep); }

.staff-confirm-actions {
  display: flex;
  gap: var(--mm-space-2);
  align-items: center;
  padding-top: var(--mm-space-4);
  border-top: 1px solid #e5e7eb;
  margin-top: var(--mm-space-4);
}

.staff-sort-link {
  color: inherit;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: var(--mm-space-1);
}
.staff-sort-link:hover { color: var(--tq-color-yellow-deep); }
.staff-sort-link.is-active { color: var(--tq-color-ink); }

.form-field { margin-bottom: var(--mm-space-4); }
.form-label {
  display: block;
  font-size: var(--mm-text-sm);
  font-weight: 600;
  margin-bottom: var(--mm-space-1);
  color: var(--tq-color-ink);
}
.form-field input[type="text"],
.form-field input[type="url"],
.form-field input[type="email"],
.form-field input[type="date"],
.form-field input[type="number"],
.form-field textarea,
.form-field select {
  width: 100%;
  max-width: 560px;
  padding: var(--mm-space-2) var(--mm-space-3);
  border: 1px solid #d4d4d8;
  border-radius: var(--tq-radius-sm);
  font-size: var(--mm-text-sm);
  background: var(--tq-color-surface);
  color: var(--tq-color-ink);
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus {
  outline: 2px solid var(--tq-color-yellow);
  outline-offset: 1px;
  border-color: var(--tq-color-yellow-deep);
}
.form-hint { font-size: var(--mm-text-xs); color: #6b7280; margin: var(--mm-space-1) 0 0; }
