@font-face {
  font-family: "Barlow Semi Condensed";
  src: url("../fonts/barlow-semi-condensed-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Scorecard: white card stock on a pale green desk, ruled rows, tabular figures, one green action per screen. */
  --desk: #eef2ea;
  --card: #ffffff;
  --paper: #f7f9f4;
  --ink: #13241b;
  --muted: #55655b;
  --line: #d3dbd1;
  --fairway: #1b6a41;
  --fairway-deep: #114a2c;
  --fairway-tint: #e3f0e7;
  --flag: #e0a812; /* pin-flag yellow: marks where to sign and where focus is */
  --ok: #23804a;
  --warn: #9a5b06;
  --warn-tint: #fdf1d8;
  --bad: #b3261e;
  --bad-tint: #fbe6e3;
  --display: "Barlow Semi Condensed", "Arial Narrow", "Segoe UI", system-ui, sans-serif;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --radius: 10px;
  color-scheme: light; /* one look on purpose: a counter screen should not change with the device's dark mode */
}

*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  background: var(--desk);
  color: var(--ink);
  font: 16px/1.5 var(--body);
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
}
#app { height: 100%; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 600; line-height: 1.15; margin: 0; text-wrap: balance; }
h1 { font-size: 2rem; }
h2 { font-size: 1.4rem; }
h3 { font-size: 1.15rem; }
h4 { font-size: 1rem; }
p { margin: 0; }
small { font-size: 0.85em; }
[hidden] { display: none !important; }
.icon { flex: none; }
.muted { color: var(--muted); }
.small { font-size: 0.85rem; }
.grow { flex: 1 1 240px; }
.lead { font-size: 1.1rem; color: var(--muted); max-width: 60ch; }
.boot { padding: 40px 20px; text-align: center; color: var(--muted); }
:focus-visible { outline: 3px solid var(--flag); outline-offset: 2px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 8px 18px;
  border: 1.5px solid var(--line); border-radius: var(--radius);
  background: var(--card); color: var(--ink);
  font: 600 1rem/1.2 var(--body); text-decoration: none;
  cursor: pointer; touch-action: manipulation; user-select: none;
}
.btn:hover { border-color: var(--fairway); }
.btn:active { background: var(--fairway-tint); }
.btn:disabled { opacity: 0.45; cursor: not-allowed; }
.btn-primary { background: var(--fairway); border-color: var(--fairway); color: #fff; }
.btn-primary:hover { background: var(--fairway-deep); border-color: var(--fairway-deep); }
.btn-primary:active { background: var(--fairway-deep); }
.btn-danger { background: var(--bad); border-color: var(--bad); color: #fff; }
.btn-xl { min-height: 60px; padding: 12px 26px; font: 600 1.35rem/1.1 var(--display); letter-spacing: 0.01em; }
.btn-small { min-height: 36px; padding: 4px 12px; font-size: 0.9rem; }
.btn-link { border-color: transparent; background: none; color: var(--muted); text-decoration: underline; font-weight: 500; }
.btn-ghost { background: transparent; border-color: rgba(255, 255, 255, 0.45); color: #fff; }
.btn-ghost:hover { border-color: #fff; }
.btn-ghost:active { background: rgba(255, 255, 255, 0.15); }
.icon-btn { display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: none; color: var(--muted); cursor: pointer; }
.icon-btn:hover { background: var(--paper); color: var(--ink); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; }
.actions > :only-child { margin-left: auto; }
.actions-stack { flex-direction: column; align-items: stretch; }
.actions-stack > :only-child { margin-left: 0; }

/* ---------- forms ---------- */
.form { display: grid; gap: 16px; }
.form-grid { display: grid; gap: 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.form-grid > .field-wide { grid-column: 1 / -1; }
.form-section { display: grid; gap: 12px; }
.form-section h2 { padding-bottom: 6px; border-bottom: 2px solid var(--ink); font-size: 1.1rem; }
.screen textarea { min-height: 84px; }
.seg-yesno { display: flex; }
.seg-yesno .seg-opt { flex: 1; text-align: center; }
.seg-yesno .seg-opt span { padding: 13px; font-size: 1.05rem; }
.field { display: grid; gap: 6px; min-width: 0; }
.field label, .edit-label, .sig-label { font-weight: 600; font-size: 0.95rem; }
.optional { font-weight: 400; color: var(--muted); }
.field-hint { font-size: 0.85rem; color: var(--muted); }
.field-error, .form-error { color: var(--bad); font-size: 0.9rem; font-weight: 600; }
.field-error:empty, .form-error:empty { display: none; }
input[type="text"], input[type="email"], input[type="tel"], input[type="password"], input[type="search"], input[type="number"], input[type="date"], select, textarea {
  width: 100%; min-height: 52px; padding: 10px 14px;
  border: 1.5px solid var(--line); border-radius: var(--radius);
  background: var(--card); color: var(--ink);
  font: 1.05rem/1.3 var(--body);
  appearance: none; -webkit-appearance: none;
}
select {
  padding-right: 36px;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%;
  background-size: 6px 6px; background-repeat: no-repeat;
}
textarea { min-height: 200px; resize: vertical; line-height: 1.5; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--fairway); box-shadow: 0 0 0 3px var(--fairway-tint); }
.has-error input, .has-error select { border-color: var(--bad); }
.dob { display: grid; grid-template-columns: 1fr 1.7fr 1.2fr; gap: 8px; }
.check {
  display: flex; gap: 14px; align-items: flex-start; padding: 16px;
  border: 1.5px solid var(--line); border-radius: var(--radius); background: var(--card);
  font-size: 1.05rem; cursor: pointer;
}
.check:has(input:checked) { border-color: var(--fairway); background: var(--fairway-tint); }
.check input { flex: none; width: 28px; height: 28px; margin: 0; accent-color: var(--fairway); }
.check-small { padding: 12px; font-size: 0.95rem; }
.check-small input { width: 22px; height: 22px; }
.notice { display: grid; gap: 12px; padding: 14px 16px; border-left: 4px solid var(--warn); border-radius: 4px var(--radius) var(--radius) 4px; background: var(--warn-tint); }
.notice-bad { border-left-color: var(--bad); background: var(--bad-tint); }
.notice ul { margin: 0; padding-left: 20px; }

/* Ruled rows of label and value, like the lines of a scorecard. */
.facts { margin: 0; display: grid; }
.facts > div { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.facts > div:last-child { border-bottom: 0; }
.facts dt { color: var(--muted); flex: none; }
.facts dd { margin: 0; text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }

/* ---------- kiosk ---------- */
.kiosk { position: relative; height: 100%; display: grid; grid-template-rows: auto minmax(0, 1fr) auto; background: var(--desk); }
.kiosk-head { display: flex; align-items: center; gap: 12px; padding: 14px 20px; background: var(--fairway-deep); color: #fff; }
.kiosk-mark { display: grid; place-items: center; color: var(--flag); }
.kiosk-club { font: 600 1.35rem/1.1 var(--display); letter-spacing: 0.01em; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.kiosk-tag { margin-left: auto; font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.8; white-space: nowrap; }
.kiosk-stage { overflow: auto; padding: 24px 16px; display: flex; justify-content: center; align-items: flex-start; }
.kiosk-foot { display: flex; justify-content: center; padding: 6px 16px 12px; }
.screen {
  width: 100%; max-width: 640px; margin-block: auto;
  display: flex; flex-direction: column; gap: 18px;
  padding: 28px; background: var(--card); border: 1px solid var(--line); border-radius: 16px;
  border-top: 5px solid var(--fairway);
}
.screen-welcome { max-width: 420px; text-align: center; }
.screen-welcome .lead { margin-inline: auto; }
.welcome-copy { display: grid; gap: 6px; }
.welcome-pad { display: grid; gap: 14px; }
.mobile-display {
  padding: 6px 4px 8px; border-bottom: 3px solid var(--ink);
  font: 600 2.6rem/1.1 var(--display); font-variant-numeric: tabular-nums; letter-spacing: 0.04em; white-space: nowrap;
}
.mobile-display.is-empty { color: #b4bfb6; border-bottom-color: var(--line); }
.keypad { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.key {
  display: grid; place-items: center; height: 68px;
  border: 1.5px solid var(--line); border-radius: 12px; background: var(--card); color: var(--ink);
  font: 600 1.9rem/1 var(--display); font-variant-numeric: tabular-nums;
  cursor: pointer; touch-action: manipulation; user-select: none;
}
.key:active { background: var(--fairway-tint); border-color: var(--fairway); }
.key-alt { background: var(--paper); color: var(--muted); }
.card { padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.masked-name { font: 600 1.7rem/1.2 var(--display); letter-spacing: 0.06em; padding-bottom: 6px; border-bottom: 2px solid var(--ink); }
.screen-done { align-items: center; text-align: center; }
.screen-done .actions-stack { align-self: stretch; }
.screen-done .lead { margin-inline: auto; }
.tick { display: grid; place-items: center; width: 84px; height: 84px; border-radius: 50%; background: var(--fairway); color: #fff; }
.edit-list { display: grid; border-top: 1px solid var(--line); }
.edit-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.edit-label { grid-column: 1 / -1; color: var(--muted); font-weight: 500; font-size: 0.9rem; }
.edit-row .field-error { grid-column: 1 / -1; }
.masked { font-weight: 600; letter-spacing: 0.05em; }
.masked.is-blank { color: var(--muted); font-weight: 400; letter-spacing: 0; }
.waiver-text {
  max-height: max(170px, 30vh); overflow: auto; padding: 16px 18px;
  border: 1px solid var(--line); border-left: 4px solid var(--fairway); border-radius: 4px var(--radius) var(--radius) 4px;
  background: var(--paper); white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.6;
}
.waiver-text-full { max-height: none; }
.sig-block { display: grid; gap: 8px; }
.sig-head { display: flex; justify-content: space-between; align-items: center; }
.sig-pad { position: relative; height: 190px; border: 1.5px dashed #9fb0a3; border-radius: 12px; background: var(--card); overflow: hidden; }
.sig-pad::before { /* the line to sign on */
  content: ""; position: absolute; left: 44px; right: 20px; bottom: 48px; border-bottom: 2px solid var(--ink); opacity: 0.55; pointer-events: none;
}
.sig-pad::after { /* yellow flag marking where to start */
  content: ""; position: absolute; left: 18px; bottom: 49px; width: 0; height: 0;
  border-left: 16px solid var(--flag); border-top: 9px solid transparent; border-bottom: 9px solid transparent; pointer-events: none;
}
.sig-canvas { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: none; cursor: crosshair; color: #101c3a; }
.sig-hint { position: absolute; left: 0; right: 0; bottom: 16px; text-align: center; color: var(--muted); font-size: 0.9rem; pointer-events: none; }
.sig-pad.has-ink .sig-hint { display: none; }
.status-chip {
  display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 6px 14px;
  border: 1px solid var(--line); border-radius: 999px; background: var(--card); color: var(--ink);
  font: 500 0.85rem/1.2 var(--body); cursor: pointer;
}
.status-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--ok); flex: none; }
.status-short { display: none; }
.status-warn { border-color: #e6c88a; background: var(--warn-tint); }
.status-warn .status-dot { background: var(--warn); }
.status-bad { border-color: #e5aaa5; background: var(--bad-tint); }
.status-bad .status-dot { background: var(--bad); }
.status-busy .status-dot { background: var(--flag); animation: pulse 1s ease-in-out infinite alternate; }
@keyframes pulse { to { opacity: 0.35; } }
.unlink { border-top: 1px solid var(--line); padding-top: 12px; display: grid; gap: 12px; }
.unlink summary, details summary { cursor: pointer; font-weight: 600; }
.unlink[open] summary { margin-bottom: 12px; }

/* ---------- admin and HQ ---------- */
.console { min-height: 100%; }
.console-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 20px; background: var(--fairway-deep); color: #fff; }
.console-title { display: grid; gap: 2px; min-width: 0; }
.console-title h1 { font-size: 1.5rem; }
.eyebrow { font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.8; }
.tabs { display: flex; gap: 4px; padding: 0 12px; background: var(--card); border-bottom: 1px solid var(--line); overflow-x: auto; }
.tab { flex: none; padding: 14px 12px 11px; border: 0; border-bottom: 3px solid transparent; background: none; color: var(--muted); font: 500 1rem/1.2 var(--body); cursor: pointer; }
.tab[aria-current="page"] { color: var(--fairway-deep); border-bottom-color: var(--fairway); font-weight: 700; }
.console-main { max-width: 1040px; margin: 0 auto; padding: 20px 16px 56px; display: grid; gap: 20px; align-content: start; }
.console-main > * { min-width: 0; }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(128px, 1fr)); gap: 12px; }
.tile { display: grid; gap: 2px; padding: 14px 16px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); border-top: 4px solid var(--fairway); }
.tile-value { font: 600 2.2rem/1 var(--display); font-variant-numeric: tabular-nums; }
.tile-label { font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.panel { display: grid; gap: 14px; padding: 18px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); min-width: 0; }
.panel-stack { display: grid; gap: 12px; min-width: 0; }
.toolbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.toolbar select { width: auto; flex: 0 1 auto; min-height: 44px; }
.toolbar .btn { flex: none; }
.search { position: relative; flex: 1 1 220px; color: var(--muted); }
.search .icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); pointer-events: none; }
.search input { min-height: 44px; padding-left: 40px; }
.rows { border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); overflow: hidden; }
.row {
  display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; width: 100%; padding: 12px 14px;
  border: 0; border-bottom: 1px solid var(--line); background: none; color: var(--ink);
  font: inherit; text-align: left; cursor: pointer;
}
.row:last-child { border-bottom: 0; }
.row:hover { background: var(--paper); }
.row-static { cursor: default; }
.row-static:hover { background: none; }
.row > .icon { margin-left: auto; color: var(--muted); }
.row-main { display: grid; flex: 1 1 190px; min-width: 0; }
.row-main strong { overflow-wrap: anywhere; }
.row-sub { color: var(--muted); font-size: 0.9rem; font-variant-numeric: tabular-nums; }
.row-mid { flex: 1 1 170px; color: var(--muted); font-size: 0.95rem; }
.row-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.row-when { color: var(--muted); font-size: 0.9rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.tag { display: inline-block; padding: 2px 9px; border-radius: 999px; background: var(--fairway-tint); color: var(--fairway-deep); font-size: 0.78rem; font-weight: 600; white-space: nowrap; }
.tag-warn { background: var(--warn-tint); color: var(--warn); }
.tag-off { background: #e7e9e6; color: var(--muted); }
.bars { display: grid; gap: 10px; }
.bar-row { display: grid; grid-template-columns: minmax(110px, 1fr) minmax(60px, 2fr) auto; gap: 12px; align-items: center; }
.bar-name { font-weight: 600; overflow-wrap: anywhere; }
.bar-track { height: 12px; border-radius: 999px; background: var(--fairway-tint); overflow: hidden; }
.bar-fill { display: block; height: 100%; min-width: 4px; border-radius: 999px; background: var(--fairway); }
.bar-count { font: 600 1.1rem/1 var(--display); font-variant-numeric: tabular-nums; white-space: nowrap; }
.bar-count small { font: 400 0.8rem var(--body); color: var(--muted); }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-left: 3px solid var(--line); }
.timeline li { display: grid; gap: 6px; padding: 10px 0 14px 16px; position: relative; }
.timeline li::before { content: ""; position: absolute; left: -8px; top: 14px; width: 13px; height: 13px; border-radius: 50%; background: var(--card); border: 3px solid var(--line); }
.timeline li.is-current::before { border-color: var(--fairway); background: var(--fairway); }
.timeline-head { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.timeline-head .btn { margin-left: auto; }
details .facts, details .waiver-text { margin-top: 10px; }
details.nested { margin: 10px 0 0 12px; }
.sheet { display: grid; gap: 20px; }
.sheet section, .modal-body > section { display: grid; gap: 10px; min-width: 0; }
.sig-box { padding: 10px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); color: #101c3a; }
.sig-svg { display: block; width: 100%; max-height: 190px; }
.wording h4 { margin-top: 12px; }

/* date search */
.dates { display: flex; flex-wrap: wrap; gap: 10px; }
.dates label { display: grid; gap: 4px; flex: 1 1 130px; min-width: 0; font-size: 0.85rem; font-weight: 600; color: var(--muted); }
.dates input { min-width: 0; min-height: 44px; padding-inline: 10px; }

/* a club's form settings: groups of ruled rows, one per detail, with Off / Optional / Required */
.choice-group { display: grid; gap: 6px; padding-top: 6px; }
.sticky-save { position: sticky; bottom: 0; padding: 10px 0; background: var(--card); border-top: 1px solid var(--line); }
#welcome-pack { min-height: 300px; font: 0.85rem/1.5 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.choice-list { display: grid; border-top: 1px solid var(--line); }
.choice-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.choice-label { font-weight: 600; }
.seg { display: inline-flex; border: 1.5px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--card); }
.seg-opt { position: relative; display: block; cursor: pointer; }
.seg-opt input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.seg-opt span { display: block; padding: 9px 13px; border-left: 1px solid var(--line); color: var(--muted); font-size: 0.92rem; font-weight: 600; }
.seg-opt:first-child span { border-left: 0; }
.seg-opt input:checked + span { background: var(--fairway); color: #fff; }
.seg-opt input:focus-visible + span { outline: 3px solid var(--flag); outline-offset: -3px; }
.address { padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); font: 0.9rem/1.4 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; overflow-wrap: anywhere; user-select: all; }
.facts-stack > div { flex-direction: column; gap: 2px; }
.facts-stack dd { text-align: left; font: 0.9rem/1.4 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; user-select: all; }
.needed { color: var(--warn); font-weight: 700; }

/* ---------- login ---------- */
.login { min-height: 100%; display: grid; place-items: center; padding: 24px 16px; }
.login-card { width: 100%; max-width: 420px; display: grid; gap: 16px; padding: 28px; background: var(--card); border: 1px solid var(--line); border-top: 5px solid var(--fairway); border-radius: 16px; }
.login-mark { color: var(--fairway); }
.home-links { display: grid; gap: 12px; }
.home-links .btn { flex-direction: column; gap: 2px; }
.home-links small { font: 400 0.85rem var(--body); opacity: 0.85; }

/* ---------- dialogs and toasts ---------- */
.modal-backdrop { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 16px; background: rgba(19, 36, 27, 0.5); overflow: auto; }
.modal-panel { width: min(520px, 100%); max-height: 100%; overflow: auto; background: var(--card); border-radius: 16px; box-shadow: 0 20px 60px rgba(10, 30, 18, 0.35); }
.modal-wide { width: min(760px, 100%); }
.modal-head { position: sticky; top: 0; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 14px 14px 20px; background: var(--card); border-bottom: 1px solid var(--line); }
.modal-head h2 { overflow-wrap: anywhere; }
.modal-body { display: grid; gap: 20px; padding: 20px; }
.modal-body > * { min-width: 0; }
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 60; transform: translateX(-50%); max-width: calc(100% - 32px); padding: 12px 18px; border-radius: var(--radius); background: var(--ink); color: #fff; font-weight: 600; box-shadow: 0 8px 24px rgba(10, 30, 18, 0.3); }
.toast-bad { background: var(--bad); }
.toast-warn { background: var(--warn); }

/* ---------- small screens ---------- */
@media (max-width: 560px) {
  h1 { font-size: 1.7rem; }
  /* Phone-sized: the status chip moves up into the header to leave the screen for the form. */
  .kiosk-head { padding: 12px 150px 12px 16px; min-height: 52px; }
  .kiosk-tag { display: none; }
  .kiosk-foot { position: absolute; top: 8px; right: 10px; padding: 0; }
  .status-long { display: none; }
  .status-short { display: inline; }
  .kiosk-stage { padding: 12px 12px 20px; }
  .screen { padding: 20px 16px; gap: 16px; border-radius: 14px; }
  .mobile-display { font-size: 2.1rem; }
  .key { height: 54px; font-size: 1.7rem; }
  .form-grid { grid-template-columns: minmax(0, 1fr); }
  .sig-pad { height: 170px; }
  .modal-backdrop { padding: 8px; }
  .modal-body { padding: 16px; }
  .console-head { padding: 12px 16px; }
  .choice-row:not(.is-locked) { flex-direction: column; align-items: stretch; }
  .seg { display: flex; }
  .seg-opt { flex: 1; text-align: center; }
  .tiles { grid-template-columns: repeat(auto-fit, minmax(96px, 1fr)); gap: 8px; }
  .tile { padding: 12px; }
  .tile-value { font-size: 1.9rem; }
  .tile-label { font-size: 0.68rem; letter-spacing: 0.05em; }
  .bar-row { grid-template-columns: minmax(0, 1fr) auto; }
  .bar-track { grid-column: 1 / -1; order: 3; }
}
@media (min-width: 720px) {
  .row { flex-wrap: nowrap; }
  .row-main, .row-mid { flex: 1 1 0; }
  .row-tags { flex: 0 0 132px; justify-content: flex-end; }
  .row-when { flex: 0 0 auto; min-width: 150px; text-align: right; }
  .modal-panel .row-tags { flex-basis: 110px; }
}
@media (min-width: 900px) and (min-height: 600px) {
  .screen-welcome { max-width: 860px; flex-direction: row; align-items: center; gap: 48px; padding: 44px; text-align: left; }
  .screen-welcome > * { flex: 1 1 0; }
  .screen-welcome h1 { font-size: 3rem; }
  .screen-welcome .lead { font-size: 1.3rem; margin-inline: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .status-busy .status-dot { animation: none; }
}

/* ---------- printing one signed waiver ---------- */
.print-root { display: none; }
@media print {
  body.is-printing { background: #fff; }
  body.is-printing > :not(.print-root) { display: none !important; }
  body.is-printing .print-root { display: grid; gap: 18px; padding: 0; }
  body.is-printing .waiver-text { max-height: none; overflow: visible; }
  body.is-printing .sig-svg { max-height: 150px; }
}
