/* Sales Day setup page (setup.html). LAYOUT ONLY, like season.css: every colour comes from
   style.css variables, so the page follows the board's look. No colour values here. */
.setup-page { overflow: auto; }
html:has(.setup-page) { overflow: auto; }
.setup-main { flex: 1; padding: 24px 32px; overflow: auto; }
.setup-main form { display: grid; grid-template-columns: repeat(auto-fit, minmax(420px, 1fr)); gap: 20px; max-width: 1400px; margin: 0 auto; }
.setup-card { background: var(--row-bg); border-radius: 16px; padding: 18px 22px; display: flex; flex-direction: column; gap: 12px; }
.setup-card h2 { font-size: 20px; color: var(--gold); }
.setup-hint { display: block; font-size: 13px; font-weight: 600; color: var(--grey); margin-top: 4px; }
.setup-card label { display: flex; flex-direction: column; gap: 4px; font-size: 14px; color: var(--grey); }
.setup-card input, .setup-card select { font: inherit; font-size: 16px; padding: 8px 10px; border-radius: 8px;
  border: 1px solid var(--grey); background: var(--navy-2); color: var(--white); }
.setup-check { flex-direction: row !important; align-items: center; gap: 8px !important; color: var(--white) !important; }
/* Two lines per session: the name across the card, then Start / End / Remove. One line
   overflowed the card and put Remove over the Points card (fixed 2026-10-21). */
.setup-session { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
  grid-template-areas: 'name name name' 'start end remove'; gap: 8px; align-items: end;
  padding-bottom: 10px; border-bottom: 1px solid var(--row-bg-hi); }
.setup-session label:nth-child(1) { grid-area: name; }
.setup-session label:nth-child(2) { grid-area: start; }
.setup-session label:nth-child(3) { grid-area: end; }
.setup-session .s-remove { grid-area: remove; }
.setup-card input:not([type=checkbox]), .setup-card select { min-width: 0; width: 100%; box-sizing: border-box; }
.setup-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.setup-table th { text-align: left; color: var(--grey); font-weight: 600; padding: 4px; }
.setup-table td { padding: 4px; }
.setup-table input { width: 90px; }
.setup-table select { width: auto; }
.setup-people { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 6px; }
.setup-card button { cursor: pointer; font-family: inherit; align-self: flex-start; }
/* A <button> keeps the browser's light grey background, which hid the board pill's white
   text (+ Session, Remove). See-through instead; the Save button keeps the pill's own colour. */
.setup-card button.view-pill:not(.view-round) { background: transparent; }
.setup-result { font-size: 15px; white-space: pre-line; }
.setup-result.ok { color: var(--teal); }
.setup-result.bad { color: var(--pink); }

/* Confirm step before saving (2026-10-21). Colours from style.css variables only. */
.setup-confirm { border: 1px solid var(--gold); border-radius: 12px; padding: 12px 16px; display: flex; flex-direction: column; gap: 8px; font-size: 15px; color: var(--white); }
.setup-confirm[hidden] { display: none; }
.setup-confirm ul { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 4px; }
.setup-confirm p { margin: 0; }
.setup-was { color: var(--grey); }
.setup-warn { color: var(--pink); font-weight: 800; }
.setup-confirm-buttons { display: flex; gap: 10px; flex-wrap: wrap; }
