/* ==========================================================================
   Fonts — Routed Gothic
   ========================================================================== */

@font-face {
  font-family: 'Workshop';
  src: url('fonts/routed-gothic.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: 'Workshop';
  src: url('fonts/routed-gothic-italic.ttf') format('truetype');
  font-weight: normal;
  font-style: italic;
}
@font-face {
  font-family: 'Workshop Wide';
  src: url('fonts/routed-gothic-wide.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: 'Workshop Wide';
  src: url('fonts/routed-gothic-wide-italic.ttf') format('truetype');
  font-weight: normal;
  font-style: italic;
}
@font-face {
  font-family: 'Workshop Narrow';
  src: url('fonts/routed-gothic-narrow.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: 'Workshop Narrow';
  src: url('fonts/routed-gothic-narrow-italic.ttf') format('truetype');
  font-weight: normal;
  font-style: italic;
}

/* ==========================================================================
   Design Tokens — Oat overrides + Workshop custom
   ========================================================================== */

@layer theme {
  :root {
    color-scheme: light;
    --background: #faf9f7;
    --foreground: #1a1a1a;
    --card: #fff;
    --card-foreground: #1a1a1a;
    --primary: #c45d2c;
    --primary-foreground: #fafafa;
    --secondary: #f5f0eb;
    --secondary-foreground: #555;
    --muted: #f0ece6;
    --muted-foreground: #888;
    --faint: #f5f0eb;
    --border: #e0dbd4;
    --input: #ebe7e1;
    --ring: #e8c9b4;
    --danger: #b91c1c;
    --radius-round: 50%;
    --font-sans: 'Workshop', system-ui, sans-serif;
    --transition-fast: 0.15s;
    --text-1: 1.75rem;
    --text-2: 1.5rem;
    --text-3: 1.25rem;
    --text-4: 1.125rem;
    --text-9: 0.6rem;
  }
}

:root {
  /* Fonts */
  --ws-font: 'Workshop', system-ui, sans-serif;
  --ws-font-wide: 'Workshop Wide', 'Workshop', system-ui, sans-serif;
  --ws-font-narrow: 'Workshop Narrow', 'Workshop', system-ui, sans-serif;
  /* Diagram quadrants (no Oat equivalent) */
  --ws-diagram-tl: #eae6e0;
  --ws-diagram-tr: #ddd8d0;
  --ws-diagram-bl: #b5afa5;
  --ws-diagram-br: #8a847a;
}

/* ==========================================================================
   Base
   ========================================================================== */

body {
  font-family: var(--ws-font);
  color: var(--foreground);
  margin: 0;
}

input, button, select, textarea, dialog {
  font-family: inherit;
}

/* ==========================================================================
   Layout
   ========================================================================== */

.workshop-layout {
  display: flex;
  height: 100vh;
}

.workshop-panel {
  flex: 1;
  overflow: auto;
  padding: 1.5rem;
}

.workshop-panel--left {
  background: var(--background);
  border-right: 1px solid var(--border);
  padding: 0;
  scroll-behavior: smooth;
}

.workshop-panel--right {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 0;
  background: var(--secondary);
}

.workshop-gate {
  color-scheme: light;
  width: 100%;
  max-width: 30rem;
  margin: 0 auto;
  padding: 1.2rem;
  text-align: left;
  border: 1px solid var(--border);
  border-radius: var(--radius-large);
  background: var(--card);
  box-shadow: 0 20px 50px rgba(31, 24, 15, 0.12);
}

.workshop-gate-page {
  color-scheme: light;
  min-height: 100vh;
  display: grid;
  place-items: center;
  background: var(--background);
  color: var(--foreground);
}

.workshop-gate h1 {
  font-family: var(--ws-font-wide);
  margin: 0 0 0.25rem;
  color: var(--foreground);
}

.workshop-title {
  font-family: var(--ws-font-wide);
  font-size: var(--text-1);
  margin: 0 0 0.25rem;
  text-transform: uppercase;
}

#gateForm {
  margin-top: 0.7rem;
}

.workshop-gate input {
  width: 100%;
  min-height: var(--space-10);
  margin: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-medium);
  background: var(--card);
  color: var(--foreground);
  padding: 0 0.7rem;
  font-size: var(--text-7);
}

.workshop-gate input::placeholder {
  color: var(--muted-foreground);
}

.workshop-gate input:focus {
  outline: none;
  border-color: var(--ring);
  box-shadow: 0 0 0 2px var(--secondary);
}

.workshop-gate button {
  width: 100%;
  min-height: var(--space-10);
  margin: 0.5rem 0 0;
  border: 1px solid var(--foreground);
  border-radius: var(--radius-medium);
  background: var(--foreground);
  color: var(--card);
  font-size: var(--text-7);
  font-weight: 500;
  cursor: pointer;
}

.workshop-gate button:hover {
  background: #111;
}

/* ==========================================================================
   Right Panel
   ========================================================================== */

.right-panel {
  display: flex;
  flex-direction: column;
  padding: 0.6rem 1rem 1rem;
}

.right-header {
  flex-shrink: 0;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding-bottom: 0.5rem;
}

.right-header__auth {
  display: flex;
  width: 100%;
}

.right-header__auth--end {
  justify-content: flex-end;
}

.auth-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 0.5rem;
}

.auth-bar__user {
  font-family: var(--ws-font);
  font-size: var(--text-9);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--foreground);
}

.auth-bar__links {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.auth-bar__sep {
  font-size: var(--text-9);
  color: var(--muted-foreground);
}

.auth-link {
  background: none;
  border: none;
  padding: 0;
  font-family: var(--ws-font);
  font-size: var(--text-9);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted-foreground);
  cursor: pointer;
  transition: color var(--transition-fast);
}

.auth-link:hover {
  color: var(--foreground);
}

.right-content {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

/* ==========================================================================
   Dialogs — Auth & Profile
   ========================================================================== */

#auth-dialog,
#edit-profile-dialog {
  color-scheme: light;
  width: min(32rem, calc(100vw - 2rem));
  border: 1px solid var(--border);
  border-radius: var(--radius-large);
  background: var(--card);
  color: var(--foreground);
  box-shadow: 0 20px 50px rgba(31, 24, 15, 0.18);
}

#auth-dialog::backdrop,
#edit-profile-dialog::backdrop {
  background: rgba(20, 18, 15, 0.35);
  backdrop-filter: blur(1px);
}

#auth-dialog h3,
#edit-profile-dialog h3 {
  margin: 0;
  font-family: var(--ws-font-wide);
  font-size: var(--text-6);
  color: var(--foreground);
}

#auth-dialog p {
  margin: 0.2rem 0 0;
  color: var(--secondary-foreground);
  font-size: var(--text-6);
}

#auth-dialog form,
#edit-profile-dialog form {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

#auth-dialog label[data-field],
#edit-profile-dialog label[data-field] {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-size: var(--text-8);
  font-family: var(--ws-font-wide);
  color: var(--secondary-foreground);
}

#auth-dialog input,
#edit-profile-dialog input {
  width: 100%;
  min-height: var(--space-10);
  border: 1px solid var(--border);
  border-radius: var(--radius-medium);
  background: var(--card);
  color: var(--foreground);
  padding: 0 0.7rem;
  font-size: var(--text-7);
}

#auth-dialog input::placeholder,
#edit-profile-dialog input::placeholder {
  color: var(--muted-foreground);
}

#auth-dialog input:focus,
#edit-profile-dialog input:focus {
  outline: none;
  border-color: var(--ring);
  box-shadow: 0 0 0 2px var(--secondary);
}

#auth-dialog footer,
#edit-profile-dialog footer {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
  margin-top: 0.1rem;
}

#auth-dialog button,
#edit-profile-dialog button {
  min-height: var(--space-10);
  border-radius: var(--radius-medium);
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--foreground);
  padding: 0 0.95rem;
  font-family: var(--ws-font);
  font-size: var(--text-7);
  font-weight: 500;
}

#auth-dialog button:hover,
#edit-profile-dialog button:hover {
  border-color: var(--foreground);
}

#auth-dialog button.outline,
#edit-profile-dialog button.outline {
  color: var(--secondary-foreground);
  background: transparent;
}

#auth-dialog button[type="submit"],
#edit-profile-dialog button[type="submit"] {
  background: var(--foreground);
  color: var(--card);
  border-color: var(--foreground);
}

#auth-dialog button[type="submit"]:hover,
#edit-profile-dialog button[type="submit"]:hover {
  background: #111;
}

#authErr,
#editProfileErr {
  border: 1px solid var(--danger);
  border-radius: var(--radius-medium);
  background: var(--muted);
  color: var(--danger);
  font-size: var(--text-7);
  padding: 0.5rem 0.65rem;
}

/* ==========================================================================
   Upload Row
   ========================================================================== */

.upload-row {
  flex-shrink: 0;
  display: flex;
  align-items: stretch;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.upload-row .file-input-wrap,
.upload-row .location-input,
.upload-row .upload-row__btn {
  min-height: var(--space-10);
  height: var(--space-10);
  margin: 0;
  padding: 0 0.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-medium);
  font-family: var(--ws-font);
  font-size: var(--text-7);
  box-sizing: border-box;
  background: var(--card);
}

.upload-row .location-input {
  line-height: 1;
  -webkit-appearance: none;
  appearance: none;
}

.file-input-wrap__hint {
  font-size: var(--text-8);
  color: var(--muted-foreground);
  font-weight: 400;
}

.file-input-wrap {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  cursor: pointer;
  color: var(--secondary-foreground);
  transition: border-color var(--transition-fast), color var(--transition-fast);
}

.file-input-wrap:hover,
.file-input-wrap.dragover {
  border-color: var(--foreground);
  color: var(--foreground);
}

.file-input-wrap input {
  display: none;
}

.location-input {
  flex: 1;
  min-width: 0;
}

.upload-row__btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
  color: var(--foreground);
  cursor: pointer;
  transition: border-color var(--transition-fast), background var(--transition-fast);
}

.upload-row__btn:hover {
  border-color: var(--foreground);
}

.upload-row__btn--danger {
  color: var(--danger);
  border-color: var(--danger);
}

.upload-row__btn--danger:hover {
  border-color: var(--danger);
  background: var(--muted);
}

/* ==========================================================================
   Submissions Section
   ========================================================================== */

.submissions-section {
  flex: 1;
  min-height: 0;
}

.submissions-section--empty {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: var(--space-6);
}

.submissions-empty {
  font-size: var(--text-7);
  color: var(--muted-foreground);
}

.workshop-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.submission-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  aspect-ratio: 1;
  background: var(--card);
  border: 1px solid var(--input);
  border-radius: var(--radius-large);
  text-decoration: none;
  color: var(--foreground);
  transition: border-color var(--transition-fast);
  padding: 0.75rem;
  text-align: center;
}

.submission-card:hover {
  border-color: var(--border);
}

.submission-card__location {
  font-family: var(--ws-font-wide);
  font-size: var(--text-6);
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.2;
}

.submission-card__username {
  position: absolute;
  bottom: 0.5rem;
  left: 0.5rem;
  font-family: var(--ws-font);
  font-size: var(--text-8);
  font-weight: 500;
  color: var(--muted-foreground);
}

/* ==========================================================================
   Components — Gate
   ========================================================================== */

#gateErr {
  padding: 0.5rem;
  margin: 0.5rem 0;
  border-radius: var(--radius-medium);
  font-size: var(--text-6);
}

#gateErr.err {
  background: var(--muted);
  color: var(--danger);
}

/* ==========================================================================
   Instructions — Header
   ========================================================================== */

.instructions {
  padding: 2rem 2rem 3rem;
  line-height: 1.55;
}

.instructions__header {
  margin-bottom: 0.75rem;
}

.instructions__header h1 {
  margin: 0 0 0.25rem;
}

.instructions__subtitle {
  font-style: italic;
  color: var(--secondary-foreground);
  margin: 0;
  font-size: var(--text-6);
}

.instructions__intro {
  padding-bottom: 1.75rem;
  /* border-bottom: 1px solid var(--border); */
  margin-bottom: 3rem;
}

.instructions__intro p {
  margin: 0.5rem 0;
  color: var(--secondary-foreground);
}

.instructions__intro strong {
  color: var(--foreground);
}

/* ==========================================================================
   Instructions — Quadrant Diagram
   ========================================================================== */

.quadrant-diagram {
  margin: 1.25rem 0 0.5rem;
}

.quadrant-diagram__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  aspect-ratio: 2 / 1;
  /* max-width: 16rem; */
  border: 1px solid var(--border);
  border-radius: var(--radius-medium);
  overflow: hidden;
}

.quadrant-diagram__cell {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 0.6rem 0.65rem;
  font-size: var(--text-8);
  gap: 0.1rem;
}

.quadrant-diagram__cell--tl { background: var(--ws-diagram-tl); }
.quadrant-diagram__cell--tr { background: var(--ws-diagram-tr); }
.quadrant-diagram__cell--bl { background: var(--ws-diagram-bl); }
.quadrant-diagram__cell--br { background: var(--ws-diagram-br); color: var(--primary-foreground); }

.quadrant-diagram__label {
  font-family: var(--ws-font-wide);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: var(--text-9);
  opacity: 0.7;
}

.quadrant-diagram__value {
  font-size: var(--text-8);
}

/* ==========================================================================
   Instructions — Phase Nav
   ========================================================================== */

.phase-nav {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  gap: 0.35rem;
  flex-wrap: wrap;
  background: var(--background);
  margin: 0 -2rem;
  padding: 0.75rem 2rem;
  border-bottom: 1px solid var(--input);
  margin-bottom: 2rem;
}

.phase-nav__item {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.65rem 0.3rem 0.35rem;
  background: var(--secondary);
  border: 1px solid var(--input);
  border-radius: var(--radius-full);
  text-decoration: none;
  color: var(--secondary-foreground);
  font-size: var(--text-8);
  transition: border-color var(--transition-fast), color var(--transition-fast);
}

.phase-nav__item:hover {
  border-color: var(--border);
  color: var(--foreground);
}

.phase-nav__number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.3rem;
  height: 1.3rem;
  border-radius: var(--radius-round);
  background: var(--border);
  color: var(--foreground);
  font-family: var(--ws-font-wide);
  font-size: var(--text-9);
  font-weight: 600;
  flex-shrink: 0;
}

.phase-nav__label {
  white-space: nowrap;
}

/* ==========================================================================
   Instructions — Section
   ========================================================================== */

.workshop-section {
  padding-bottom: 2rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--input);
  scroll-margin-top: 5rem;
}

.workshop-section:last-child:not(.workshop-section--secondary) {
  border-bottom: none;
  margin-bottom: 0;
}

.workshop-section__heading {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.workshop-section__heading h2 {
  font-family: var(--ws-font-wide);
  font-size: var(--text-3);
  font-weight: 600;
  letter-spacing: 0.03em;
  margin: 0;
}

.workshop-section__number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: var(--radius-round);
  background: var(--secondary-foreground);
  color: var(--primary-foreground);
  font-family: var(--ws-font-wide);
  font-size: var(--text-7);
  font-weight: 600;
  flex-shrink: 0;
  position: relative;
  top: 0.1rem;
}

.workshop-section__lead {
  color: var(--secondary-foreground);
  margin: 0 0 1rem;
  font-size: var(--text-6);
}

.workshop-section h3 {
  font-family: var(--ws-font-wide);
  font-size: var(--text-6);
  font-weight: 600;
  margin: 3rem 0 0.35rem;
}

.workshop-section p {
  margin: 0.5rem 0;
}

.workshop-section ul,
.workshop-section ol {
  padding-left: 1.25rem;
  margin: 0.5rem 0;
}

.workshop-section li {
  margin: 0.3rem 0;
}

.instructions a {
  color: var(--foreground);
  text-decoration-color: currentColor;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.15em;
  transition: color var(--transition-fast), text-decoration-color var(--transition-fast);
}

.instructions a:visited {
  color: var(--foreground);
}

.instructions a:hover {
  color: var(--primary);
  /* text-decoration-color: var(--ring); */
}

.workshop-section code {
  font-size: 0.8em;
  padding: 0.1em 0.35em;
  background: var(--muted);
  border-radius: var(--radius-small);
}

.workshop-section--secondary {
  border: 1px solid var(--input);
  border-radius: var(--radius-large);
  background: var(--card);
  padding: 1rem 1.1rem;
}

.workshop-section--secondary .workshop-section__heading {
  margin-bottom: 0.5rem;
}

.workshop-section__kicker {
  font-family: var(--ws-font-wide);
  font-size: var(--text-9);
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--muted-foreground);
}

/* ==========================================================================
   Instructions — Step List
   ========================================================================== */

.step-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.step {
  padding-left: 0.25rem;
}

.step__title {
  font-family: var(--ws-font-wide);
  font-size: var(--text-7);
  font-weight: 600;
  /* margin-bottom: 0.35rem; */
}

.step__marker {
  font-family: var(--ws-font-wide);
  color: var(--muted-foreground);
  font-size: var(--text-8);
  margin-right: 0.3em;
}

/* ==========================================================================
   Instructions — Prompt Block
   ========================================================================== */

.prompt-block {
  position: relative;
  background: var(--secondary);
  border: 1px solid var(--input);
  border-radius: var(--radius-large);
  padding: 1rem 1.1rem;
  margin: 0.75rem 0;
  cursor: pointer;
  transition: border-color var(--transition-fast);
}

.prompt-block:hover {
  border-color: var(--border);
}

.prompt-block::after {
  content: 'Copy';
  position: absolute;
  top: 0.65rem;
  right: 0.75rem;
  font-family: var(--ws-font-wide);
  font-size: var(--text-9);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted-foreground);
  opacity: 0.5;
  transition: opacity var(--transition-fast);
}

.prompt-block:hover::after {
  opacity: 0.8;
}

.prompt-block.copied::after {
  content: 'Copied';
  opacity: 1;
}

.prompt-block p {
  margin: 0;
  font-size: var(--text-6);
  /* line-height: 1.65; */
  font-style: italic;
  color: var(--secondary-foreground);
}

.prompt-block__label {
  display: inline-block;
  font-family: var(--ws-font-wide);
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted-foreground);
  margin-bottom: 0.35rem;
}

/* ==========================================================================
   Instructions — Callout
   ========================================================================== */

.callout {
  background: var(--secondary);
  border-radius: var(--radius-medium);
  padding: 0.85rem 1rem;
  margin: 1rem 0;
  font-size: var(--text-6);
  color: var(--secondary-foreground);
  line-height: 1.5;
}

.callout strong {
  color: var(--foreground);
}

/* ==========================================================================
   Instructions — Shortcut Grid
   ========================================================================== */

.shortcut-grid {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.35rem 0.75rem;
  margin-bottom: 1rem;
  font-size: var(--text-7);
}

.shortcut-grid kbd {
  font-family: var(--ws-font-narrow);
  font-size: 0.8rem;
  background: var(--secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-medium);
  padding: 0.15rem 0.5rem;
  white-space: nowrap;
  text-align: center;
}

.shortcut-grid span {
  color: var(--secondary-foreground);
  padding: 0.15rem 0;
}

/* ==========================================================================
   Instructions — Font Grid
   ========================================================================== */

.font-grid {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.2rem 1rem;
  font-size: 0.85rem;
  margin: 0.5rem 0;
}

.font-grid__name {
  font-weight: 600;
}

.font-grid__desc {
  color: var(--muted-foreground);
}

/* ==========================================================================
   Instructions — Explore Grid (Part 3 cards)
   ========================================================================== */

.explore-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.explore-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-large);
  background: var(--card);
  transition: border-color var(--transition-fast);
}

.explore-card:hover {
  border-color: var(--border);
}

.explore-card__header {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.65rem 0.75rem;
  font-weight: 600;
  font-size: 0.82rem;
  font-family: var(--ws-font-wide);
  border-bottom: 1px solid var(--input);
  margin-bottom: 0.35rem;
}

.explore-card__icon {
  font-size: 1rem;
  line-height: 1;
  opacity: 0.5;
}

.explore-card ul {
  padding: 0 0.75rem 0.5rem 1.75rem;
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.45;
}

.explore-card li {
  margin: 0.3rem 0;
  color: var(--secondary-foreground);
}

/* ==========================================================================
   Instructions — Details (collapsible)
   ========================================================================== */

.step-details {
  margin: 0.75rem 0;
  border: 1px solid var(--input);
  border-radius: var(--radius-medium);
  background: var(--card);
}

.step-details summary {
  padding: 0.55rem 0.85rem;
  cursor: pointer;
  font-weight: 500;
  font-size: 0.85rem;
  color: var(--secondary-foreground);
}

.step-details summary:hover {
  color: var(--foreground);
}

.step-details[open] summary {
  border-bottom: 1px solid var(--input);
  margin-bottom: 0.5rem;
  padding-bottom: 0.55rem;
}

.step-details > * {
  margin: 0 0.85rem 0.5rem;
}

.step-details > *:last-child {
  margin-bottom: 0.85rem;
}

.step-details ul {
  padding-left: 1.25rem;
}

.step-details--help {
  background: var(--secondary);
  border-color: var(--border);
}

.step-details--help summary {
  color: var(--warning);
}

/* ==========================================================================
   Instructions — Tables
   ========================================================================== */

.instructions table {
  font-size: var(--text-8);
  width: 100%;
}

/* ==========================================================================
   Place grid (5-up camera picker)
   ========================================================================== */

.place-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.5rem;
  font-size: var(--text-8);
  margin: 2rem 0;
}

.place-grid__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  text-decoration: none;
  color: inherit;
  padding: 0.35rem;
  border-radius: var(--radius-small);
  transition: background var(--transition-fast);
}

.place-grid__item:hover {
  background: var(--input);
}

.place-grid__item img {
  display: block;
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 2px;
}

.place-grid__item span {
  margin-top: 0.25rem;
  line-height: 1.2;
}

/* ==========================================================================
   Instructions — Horizontal Rule
   ========================================================================== */

.instructions hr {
  border: none;
  border-top: 1px solid var(--input);
  margin: 1.5rem 0;
}