/* ============================================================================
   _shared.css — component styles for the intake-portal mockups
   Consumes docs/design/tokens.css (loaded first). Every color/space/type value
   references a token — no hardcoded design values. Patterns mirror the
   marketing site (button.tsx, booking-form.tsx, logo.tsx, globals.css) so the
   portal reads as a natural extension of thepicturedayrig.com.

   These are REVIEW MOCKUPS, not the final Flask/Jinja templates.
   ========================================================================== */

/* ─── Reset / base ────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
body {
  margin: 0;
  background-color: var(--color-bg);
  color: var(--color-fg);
  font-family: var(--font-body);
  font-size: var(--type-body);
  line-height: var(--leading-relaxed);
}
h1, h2, h3 { text-wrap: balance; margin: 0; }
p { text-wrap: pretty; margin: 0; }
img { max-width: 100%; display: block; }
/* The `hidden` attribute must win over component display rules (.input/.select
   set display:block, which would otherwise override the UA [hidden] rule). */
[hidden] { display: none !important; }

/* ::selection — accent on Studio White (globals.css). */
::selection { background-color: var(--color-accent); color: var(--color-on-accent); }

/* Editorial focus ring — accent, offset (globals.css). Never removed. */
:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 3px; }

/* ─── Layout shell ────────────────────────────────────────────────────────── */
.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.container {
  width: 100%;
  max-width: var(--measure-editorial);
  margin-inline: auto;
  padding-inline: var(--space-6);
}
@media (min-width: 641px) { .container { padding-inline: var(--space-10); } }
/* Narrow single-column measure for the form/confirmation pages. */
.container--narrow { max-width: var(--measure-readable); }
.main {
  flex: 1;
  padding-block: var(--space-16) var(--space-24);
}
@media (max-width: 640px) { .main { padding-block: var(--space-10) var(--space-16); } }

/* ─── Header + brand wordmark ─────────────────────────────────────────────── */
.site-header {
  border-bottom: 1px solid var(--color-border);
  background-color: var(--color-bg);
}
.site-header__inner {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  min-height: 6rem;               /* h-24 on the marketing site */
  padding-block: var(--space-4);
}
@media (max-width: 640px) { .site-header__inner { min-height: 5rem; } }

.site-brand { display: inline-flex; align-items: center; gap: var(--space-4); text-decoration: none; }

/* Photographer LOGO slot.
   • The Picture Day Rig reference has no raster logo — its logo IS an HTML
     wordmark (logo.tsx), reproduced by .wordmark below.
   • A photographer WITH a raster logo swaps in <img class="site-logo">.
   • A photographer with NEITHER falls back to .wordmark--serif (business name). */
.site-logo { max-height: 2.5rem; width: auto; }

/* Authentic PDR wordmark: "PICTURE DAY" ink + "RIG" accent, Inter extrabold. */
.wordmark {
  font-family: var(--font-heading);
  font-weight: var(--weight-extrabold);
  letter-spacing: var(--tracking-tight);
  line-height: 1;
  font-size: 1.5rem;
  color: var(--color-ink);
  display: inline-flex;
  align-items: baseline;
  white-space: nowrap;
}
.wordmark__accent { color: var(--photographer-accent); margin-left: 0.3em; }
@media (max-width: 640px) { .wordmark { font-size: 1.25rem; } }

/* Generic no-logo fallback (design-brief v2: "render the business name in a
   serif wordmark"). Used when a photographer has neither logo nor brandmark. */
.wordmark--serif {
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 700;
  letter-spacing: var(--tracking-tight);
  color: var(--color-ink);
  text-transform: none;
}
.wordmark--serif .wordmark__accent { color: var(--photographer-accent); margin-left: 0; }

/* Optional descriptor under the brand (mono, like logo.tsx withDescriptor). */
.site-brand__descriptor {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: var(--tracking-mono);
  text-transform: uppercase;
  color: var(--color-muted);
}

/* ─── Eyebrow + accent rule (primitives.tsx) ──────────────────────────────── */
.eyebrow {
  font-family: var(--font-mono);
  font-size: var(--type-eyebrow);
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-mono);
  text-transform: uppercase;
  color: var(--photographer-accent);
  display: inline-block;
}
.accent-rule {
  display: block;
  height: 2px;
  width: 3rem;               /* w-12 */
  background-color: var(--photographer-accent);
  border: 0;
  margin: var(--space-6) 0;
}

/* ─── Typography helpers ──────────────────────────────────────────────────── */
.h1 {
  font-family: var(--font-heading);
  font-size: var(--type-h1);
  font-weight: var(--weight-extrabold);
  letter-spacing: var(--tracking-tighter);
  line-height: var(--leading-tight);
  color: var(--color-ink);
}
.h2 {
  font-family: var(--font-heading);
  font-size: var(--type-h2);
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-tight);
  line-height: var(--leading-tight);
  color: var(--color-ink);
}
.h3 {
  font-family: var(--font-heading);
  font-size: var(--type-h3);
  font-weight: var(--weight-bold);
  letter-spacing: -0.005em;
  line-height: var(--leading-snug);
  color: var(--color-ink);
}
.lead { font-size: var(--type-lead); line-height: var(--leading-normal); color: var(--color-fg-secondary); }
.body { font-size: var(--type-body); line-height: var(--leading-relaxed); color: var(--color-fg-secondary); }
.caption { font-size: var(--type-caption); line-height: var(--leading-normal); color: var(--color-muted); }
.muted { color: var(--color-muted); }
.strong-ink { color: var(--color-ink); font-weight: var(--weight-bold); }

@media (max-width: 640px) {
  .h1 { font-size: var(--type-scale-7); }   /* step down 56px → 44px on mobile */
}

/* Standard link (editorial: ink → accent on hover, underline offset). */
.link {
  color: var(--color-ink);
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: color var(--duration-base) var(--ease-out);
}
.link:hover { color: var(--photographer-accent); }

/* ─── Buttons (button.tsx) ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  padding: var(--space-4) var(--space-7);
  border: 2px solid transparent;
  border-radius: var(--radius-md);          /* 0 — sharp */
  font-family: var(--font-body);
  font-weight: var(--weight-bold);
  font-size: var(--type-body);
  letter-spacing: var(--tracking-tight);
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: background-color var(--duration-base) var(--ease-out),
              border-color var(--duration-base) var(--ease-out),
              color var(--duration-base) var(--ease-out);
}
.btn__arrow { transition: transform var(--duration-base) var(--ease-out); }
.btn:hover .btn__arrow { transform: translateX(4px); }

/* Primary: fill = photographer primary (ink by default) → accent on hover. */
.btn--primary {
  background-color: var(--photographer-primary);
  border-color: var(--photographer-primary);
  color: var(--color-on-ink);
}
.btn--primary:hover {
  background-color: var(--photographer-accent);
  border-color: var(--photographer-accent);
}
/* Secondary: outline ink → fills ink on hover. */
.btn--secondary {
  background-color: transparent;
  border-color: var(--color-ink);
  color: var(--color-ink);
}
.btn--secondary:hover { background-color: var(--color-ink); color: var(--color-on-ink); }

/* Destructive: danger red fill (Remove confirmation). */
.btn--danger {
  background-color: var(--color-danger);
  border-color: var(--color-danger);
  color: var(--color-on-danger);
}
.btn--danger:hover { filter: brightness(0.9); }

.btn--block { width: 100%; }
.btn--lg { font-size: var(--type-lead); padding: var(--space-5) var(--space-8); }

.btn:disabled, .btn[aria-disabled="true"] {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

/* Small text button / inline action (e.g. "Choose a different file", Undo). */
.btn-text {
  background: none;
  border: 0;
  padding: 0;
  font-family: var(--font-body);
  font-size: var(--type-body);
  color: var(--color-ink);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.btn-text:hover { color: var(--photographer-accent); }

/* Spinner shown inside a submitting button. */
.spinner {
  width: 1rem; height: 1rem;
  border: 2px solid currentColor;
  border-top-color: transparent;
  border-radius: var(--radius-full);
  display: inline-block;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ─── Icons ───────────────────────────────────────────────────────────────── */
.icon { width: 1.25em; height: 1.25em; display: inline-block; vertical-align: middle; flex-shrink: 0; }
.icon--sm { width: 1em; height: 1em; }
.icon--lg { width: 2.5rem; height: 2.5rem; }

/* ─── Form fields (booking-form.tsx) ──────────────────────────────────────── */
.field { display: block; margin-bottom: var(--space-6); }
.field__label {
  display: block;
  font-family: var(--font-mono);
  font-size: var(--type-eyebrow);
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-mono);
  text-transform: uppercase;
  color: var(--photographer-accent);
  margin-bottom: var(--space-3);
}
.field__required { color: var(--photographer-accent); }

/* Underline input — bottom border only (booking-form.tsx Field). */
.input {
  display: block;
  width: 100%;
  background-color: transparent;
  border: 0;
  border-bottom: 2px solid var(--color-border);
  border-radius: var(--radius-sm);          /* 0 */
  padding: var(--space-3) 0;
  font-family: var(--font-body);
  font-size: var(--type-lead);
  color: var(--color-ink);
}
.input::placeholder { color: color-mix(in srgb, var(--color-slate) 55%, transparent); }
.input:focus { outline: none; border-bottom-color: var(--color-ink); }

/* Boxed textarea (booking-form.tsx TextAreaField). */
.textarea {
  display: block;
  width: 100%;
  background-color: transparent;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: var(--space-3) var(--space-4);
  font-family: var(--font-body);
  font-size: var(--type-body);
  color: var(--color-ink);
  resize: vertical;
}
.textarea:focus { outline: none; border-color: var(--color-ink); }

/* Error variants + message. */
.input--error, .textarea--error { border-color: var(--color-danger); }
.field__error {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-top: var(--space-2);
  font-size: var(--type-caption);
  color: var(--color-danger);
}

/* Radio option rows (corrections cards). Native input kept, accent-colored. */
.radio-group { display: flex; flex-direction: column; gap: var(--space-3); margin-top: var(--space-2); }
.radio {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: border-color var(--duration-fast) var(--ease-out),
              background-color var(--duration-fast) var(--ease-out);
}
.radio:hover { border-color: var(--color-ink); }
.radio__input { margin-top: 0.2em; accent-color: var(--photographer-accent); width: 1.1em; height: 1.1em; flex-shrink: 0; }
.radio__label { font-size: var(--type-body); line-height: var(--leading-normal); color: var(--color-fg-secondary); }
.radio:has(.radio__input:checked) {
  border-color: var(--photographer-accent);
  background-color: color-mix(in srgb, var(--color-stone) 60%, transparent);
}
.radio:has(.radio__input:checked) .radio__label { color: var(--color-ink); font-weight: var(--weight-medium); }

/* Nested sub-fields revealed under a radio branch (ambiguous-duplicate 3c). */
.radio-branch {
  margin-top: var(--space-3);
  margin-left: var(--space-8);
  padding-left: var(--space-4);
  border-left: 2px solid var(--color-border);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

/* Pre-submit checklist (Page 1). */
.checklist { list-style: none; margin: var(--space-4) 0 0; padding: 0; display: flex; flex-direction: column; gap: var(--space-3); }
.checklist li { display: flex; align-items: flex-start; gap: var(--space-3); font-size: var(--type-body); color: var(--color-fg-secondary); }
.checklist .icon { color: var(--color-slate); margin-top: 0.15em; }

/* ─── Drag-and-drop upload zone (Page 1) ──────────────────────────────────── */
.dropzone {
  border: 2px dashed var(--color-border);
  border-radius: var(--radius-md);          /* 0 */
  background-color: var(--color-surface);
  padding: var(--space-16) var(--space-8);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
  transition: border-color var(--duration-base) var(--ease-out),
              background-color var(--duration-base) var(--ease-out);
  cursor: pointer;
}
.dropzone:hover, .dropzone.is-dragover, .dropzone:focus-within {
  border-color: var(--photographer-accent);
  background-color: var(--color-stone);
}
.dropzone__icon { color: var(--color-slate); }
.dropzone__title { font-size: var(--type-lead); font-weight: var(--weight-bold); color: var(--color-ink); letter-spacing: var(--tracking-tight); }
.dropzone__hint { font-size: var(--type-caption); color: var(--color-muted); }
.dropzone__browse { color: var(--color-ink); text-decoration: underline; text-underline-offset: 3px; font-weight: var(--weight-semibold); }

/* Selected-file preview (Page 1 post-select). */
.file-preview {
  border: 2px solid var(--color-ink);
  border-radius: var(--radius-md);
  background-color: var(--color-surface);
  padding: var(--space-6);
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
}
.file-preview__icon { color: var(--photographer-accent); }
.file-preview__body { flex: 1; min-width: 0; }
.file-preview__name { font-size: var(--type-lead); font-weight: var(--weight-bold); color: var(--color-ink); word-break: break-word; }
.file-preview__meta { font-size: var(--type-caption); color: var(--color-muted); margin-top: var(--space-1); }
.file-preview__meta strong { color: var(--color-success); font-weight: var(--weight-bold); }

/* Upload progress bar. */
.progress-bar { width: 100%; height: 6px; background-color: var(--color-hairline); border-radius: var(--radius-full); overflow: hidden; margin-top: var(--space-3); }
.progress-bar__fill { height: 100%; background-color: var(--photographer-accent); border-radius: var(--radius-full); transition: width var(--duration-base) var(--ease-out); }

/* ─── Banners (booking-form.tsx error block) ──────────────────────────────── */
.banner {
  border-left: 3px solid var(--color-accent);
  background-color: var(--color-stone);
  padding: var(--space-5);
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  margin-bottom: var(--space-6);
}
.banner--error { border-left-color: var(--color-danger); }
.banner--error .icon { color: var(--color-danger); }
.banner__text { font-size: var(--type-body); color: var(--color-ink); }

/* ─── Cards (corrections issues, Page 3) ──────────────────────────────────── */
.issue-card {
  position: relative;
  border: 1px solid var(--color-border);
  border-left: 3px solid var(--color-border);
  border-radius: var(--radius-md);          /* 0 */
  background-color: var(--color-surface);
  padding: var(--space-6);
  margin-bottom: var(--space-5);
  transition: border-color var(--duration-base) var(--ease-out),
              background-color var(--duration-base) var(--ease-out),
              opacity var(--duration-base) var(--ease-out);
}
.issue-card__athlete { font-size: var(--type-h3); font-weight: var(--weight-bold); color: var(--color-ink); letter-spacing: -0.005em; }
.issue-card__problem { font-size: var(--type-caption); color: var(--color-muted); margin-top: var(--space-1); }
.issue-card__question { font-size: var(--type-body); color: var(--color-fg-secondary); margin-top: var(--space-4); margin-bottom: var(--space-3); }
.issue-card__actions { display: flex; justify-content: flex-end; margin-top: var(--space-4); }
.issue-card__type-label {
  font-family: var(--font-mono);
  font-size: var(--type-eyebrow);
  letter-spacing: var(--tracking-mono);
  text-transform: uppercase;
  color: var(--color-muted);
  margin-bottom: var(--space-3);
  display: block;
}

/* "Not on the roster ×" button — quiet by default, danger on hover. */
.remove-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: none;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: var(--space-2) var(--space-3);
  font-family: var(--font-mono);
  font-size: var(--type-eyebrow);
  letter-spacing: var(--tracking-mono);
  text-transform: uppercase;
  color: var(--color-muted);
  cursor: pointer;
  transition: color var(--duration-fast) var(--ease-out), border-color var(--duration-fast) var(--ease-out);
}
.remove-btn:hover { color: var(--color-danger); border-color: var(--color-danger); }

/* Per-card autosave "Saved" indicator (fades in after blur). */
.saved-tag {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--type-caption);
  color: var(--color-success);
  font-weight: var(--weight-medium);
}
.saved-tag .icon { color: var(--color-success); }

/* ── Card STATES ──────────────────────────────────────────────────────────
   Every state pairs color with a non-color signal (icon / text / strikethrough)
   per the accessibility requirement. */

/* 1 · Idle — the base .issue-card above. */

/* 2 · Focused — accent left bar + border (the card being worked on). */
.issue-card--focused {
  border-color: var(--photographer-accent);
  border-left-color: var(--photographer-accent);
}

/* 3 · Answered — green check + "Saved", dim stone bg. Does NOT change size. */
.issue-card--answered {
  background-color: var(--color-stone);
  border-left-color: var(--color-success);
}
.issue-card--answered .issue-card__athlete { color: var(--color-graphite); }

/* 4 · Removed — strikethrough name, dimmed, "Removed" tag + inline Undo. */
.issue-card--removed { opacity: 0.6; background-color: var(--color-stone); }
.issue-card--removed .issue-card__athlete { text-decoration: line-through; color: var(--color-muted); }
.removed-note {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-top: var(--space-3);
  font-size: var(--type-caption);
  color: var(--color-muted);
}
.removed-note__label {
  font-family: var(--font-mono);
  letter-spacing: var(--tracking-mono);
  text-transform: uppercase;
}

/* 5 · Errored — danger border + left bar + error copy w/ warning icon. */
.issue-card--errored {
  border-color: var(--color-danger);
  border-left-color: var(--color-danger);
}

/* State-demo strip (README/Page-3 reference row). */
.state-strip { display: grid; gap: var(--space-4); grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); }
.state-strip .issue-card { margin-bottom: 0; }
.state-strip__caption {
  font-family: var(--font-mono);
  font-size: var(--type-eyebrow);
  letter-spacing: var(--tracking-mono);
  text-transform: uppercase;
  color: var(--color-muted);
  margin-bottom: var(--space-2);
}

/* ─── Sticky progress indicator (Page 3) ──────────────────────────────────── */
.progress {
  position: sticky;
  top: 0;
  z-index: 20;
  background-color: color-mix(in srgb, var(--color-bg) 95%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-border);
  padding-block: var(--space-4);
}
.progress__inner { display: flex; align-items: center; gap: var(--space-4); }
.progress__count { font-family: var(--font-mono); font-size: var(--type-caption); letter-spacing: 0.04em; text-transform: uppercase; color: var(--color-ink); white-space: nowrap; font-weight: var(--weight-bold); }
.progress__track { flex: 1; height: 4px; background-color: var(--color-hairline); border-radius: var(--radius-full); overflow: hidden; }
.progress__fill { height: 100%; background-color: var(--color-success); border-radius: var(--radius-full); }

/* Autosave reassurance line. */
.autosave-note {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--type-caption);
  color: var(--color-muted);
  margin-bottom: var(--space-6);
}

/* ─── Modal (booking-form.tsx ConfirmationModal) ──────────────────────────── */
.modal { position: fixed; inset: 0; z-index: 50; overflow-y: auto; }
.modal[hidden] { display: none; }
.modal__backdrop {
  position: fixed;
  inset: 0;
  background-color: color-mix(in srgb, var(--color-ink) 80%, transparent); /* bg-ink/80 */
  backdrop-filter: blur(4px);
}
.modal__positioner { position: relative; display: flex; min-height: 100%; align-items: center; justify-content: center; padding: var(--space-4); }
.modal__panel {
  position: relative;
  width: 100%;
  max-width: 32rem;                          /* max-w-xl */
  background-color: var(--color-surface);
  border-radius: var(--radius-lg);           /* 0 — sharp */
  box-shadow: var(--shadow-lg);              /* shadow-2xl */
  padding: var(--space-8);
}
@media (min-width: 641px) { .modal__panel { padding: var(--space-12); } }
.modal__title { font-size: var(--type-h2); font-weight: var(--weight-bold); color: var(--color-ink); letter-spacing: var(--tracking-tight); }
.modal__body { font-size: var(--type-body); color: var(--color-fg-secondary); line-height: var(--leading-relaxed); margin-top: var(--space-4); }
.modal__actions { display: flex; flex-wrap: wrap; gap: var(--space-3); justify-content: flex-end; margin-top: var(--space-8); }
.modal__close {
  position: absolute;
  top: var(--space-5);
  right: var(--space-5);
  background: none;
  border: 0;
  font-family: var(--font-mono);
  font-size: var(--type-caption);
  color: var(--color-muted);
  cursor: pointer;
}
.modal__close:hover { color: var(--photographer-accent); }

/* ─── Confirmation / terminal pages (Pages 2, 4) ──────────────────────────── */
.confirm { max-width: var(--measure-readable); }
.confirm__check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  border: 2px solid var(--color-success);
  border-radius: var(--radius-full);
  color: var(--color-success);
  margin-bottom: var(--space-6);
}
.confirm__check .icon { width: 1.75rem; height: 1.75rem; }

/* ─── Utility ─────────────────────────────────────────────────────────────── */
.stack > * + * { margin-top: var(--space-6); }
.stack-sm > * + * { margin-top: var(--space-3); }
.mt-4 { margin-top: var(--space-4); }
.mt-8 { margin-top: var(--space-8); }
.mt-12 { margin-top: var(--space-12); }
.text-center { text-align: center; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.demo-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  border: 1px dashed var(--color-slate);
  background: repeating-linear-gradient(45deg, transparent, transparent 6px, color-mix(in srgb, var(--color-stone) 70%, transparent) 6px, color-mix(in srgb, var(--color-stone) 70%, transparent) 12px);
  color: var(--color-slate);
  font-family: var(--font-mono);
  font-size: var(--type-eyebrow);
  letter-spacing: var(--tracking-mono);
  text-transform: uppercase;
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-sm);
}

/* ─── Footer ──────────────────────────────────────────────────────────────── */
.site-footer {
  border-top: 1px solid var(--color-border);
  padding-block: var(--space-8);
  margin-top: auto;
}
.site-footer__text {
  font-family: var(--font-mono);
  font-size: var(--type-caption);
  letter-spacing: var(--tracking-mono);
  text-transform: uppercase;
  color: var(--color-muted);
}

/* ─── Select dropdown (matches .input visual weight) ──────────────────────── */
.select {
  display: block;
  width: 100%;
  background-color: transparent;
  border: 0;
  border-bottom: 2px solid var(--color-border);
  border-radius: var(--radius-sm);            /* 0 — sharp, like .input */
  padding: var(--space-3) var(--space-8) var(--space-3) 0;   /* right pad clears the caret */
  font-family: var(--font-body);
  font-size: var(--type-lead);
  color: var(--color-ink);
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  /* Custom caret (native arrow hidden via appearance:none); slate chevron. */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236E6E6E' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right var(--space-1) center;
  background-size: 1.25rem;
}
.select:focus { outline: none; border-bottom-color: var(--photographer-primary); }
.select--error { border-bottom-color: var(--color-danger); }

/* Escape-hatch pattern: dropdown ↔ free-text toggle ("Team not listed?"). */
.team-field { display: block; }
.team-field .link--secondary { margin-top: var(--space-2); display: inline-block; }

/* Small secondary link — muted, underline on hover, no background. */
.link--secondary {
  background: none;
  border: 0;
  padding: 0;
  font-family: var(--font-body);
  font-size: var(--type-caption);
  color: var(--color-muted);
  text-decoration: none;
  cursor: pointer;
}
.link--secondary:hover { color: var(--color-ink); text-decoration: underline; text-underline-offset: 3px; }

/* Dynamic marketing URL (Page 7): visually plain; the class only marks the
   Jinja substitution point for the Flask session. No visual treatment. */
.dynamic-marketing-url { /* rendered from photographer.marketing_url — hostname only */ }

/* ─── Review artifacts (NOT production UI) ────────────────────────────────── */
/* REVIEW NAV strip — dashed, mono, muted; lets reviewers cycle mockups. */
.review-nav {
  border: 1px dashed var(--color-border);
  border-radius: var(--radius-sm);
  padding: var(--space-4) var(--space-5);
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: var(--space-2) var(--space-5);
}
.review-nav__label {
  font-family: var(--font-mono);
  font-size: var(--type-eyebrow);
  letter-spacing: var(--tracking-mono);
  text-transform: uppercase;
  color: var(--color-muted);
}
.review-nav__links {
  font-family: var(--font-mono);
  font-size: var(--type-caption);
  color: var(--color-muted);
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: var(--space-2);
}
.review-nav__links a { color: var(--color-ink); text-decoration: none; }
.review-nav__links a:hover { color: var(--photographer-accent); text-decoration: underline; text-underline-offset: 3px; }
.review-nav__sep { color: var(--color-muted); }

/* REVIEW INDEX — the directory page's mono header label + grouped listing. */
.review-index {
  font-family: var(--font-mono);
  font-size: var(--type-eyebrow);
  letter-spacing: var(--tracking-mono);
  text-transform: uppercase;
  color: var(--color-muted);
  display: inline-block;
}
.review-index-group { margin-top: var(--space-8); }
.review-index-group__title {
  font-family: var(--font-mono);
  font-size: var(--type-eyebrow);
  letter-spacing: var(--tracking-mono);
  text-transform: uppercase;
  color: var(--photographer-accent);
  margin-bottom: var(--space-2);
}
.review-index-item {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-1) var(--space-4);
  padding: var(--space-2) 0;
  border-bottom: 1px solid var(--color-border);
}
.review-index-item a { font-family: var(--font-mono); font-size: var(--type-body); color: var(--color-ink); text-decoration: none; min-width: 16rem; }
.review-index-item a:hover { color: var(--photographer-accent); text-decoration: underline; text-underline-offset: 3px; }
.review-index-item span { font-size: var(--type-caption); color: var(--color-muted); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
