/* CoachSjoerd huisstijl: Reset, Commit, Focus en Endorphins. Rechte hoeken, dunne lijnen, grote strakke koppen.
   Lime alleen als accent op één woord of regel, nooit als knop. */
:root {
  --reset: #F2F2F2; --commit: #001A1E; --focus: #2A5DEA; --lime: #D5FF92; --white: #fff;
  --line: #D9DDDE; --muted: #5B6B6E;
  --orange: #B85C00; --red: #C4302B;
  --orange-bg: #FFF3E4; --red-bg: #FDECEA; --blue-bg: #E9EFFD;
  --head: "Helvetica Neue", Helvetica, Arial, sans-serif; /* niet LT Pro: op deze Mac pakt die de brede variant */
  --big: "Host Grotesk", var(--head);
}
* { box-sizing: border-box; border-radius: 0; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--white); color: var(--commit); font: 400 16px/1.5 Manrope, system-ui, sans-serif; }
h1, h2, h3 { font-family: var(--head); font-weight: 700; margin: 0; letter-spacing: -.03em; line-height: 1.1; }
h1 { font-family: var(--big); font-weight: 700; letter-spacing: -.045em; line-height: .98; }
h2 { font-size: 22px; }
h3 { font-size: 17px; }
p { margin: 0; }
button, select, input { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }

main { margin: 0 auto; }
.loading { color: var(--muted); padding: 40px 32px; }

/* Stappen: alles past in één scherm, zonder scrollen. Maten schalen mee met de hoogte van het scherm. */
.split { display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); height: 100vh; height: 100dvh; overflow: hidden; position: relative; }
.split.nophoto { grid-template-columns: minmax(0, 1fr); }
.visual { display: contents; }
.visual-text { grid-column: 1 / -1; grid-row: 1; background: var(--focus); color: var(--white); padding: clamp(8px, 2.2vh, 22px) 0; display: grid; grid-template-columns: minmax(0, 1fr) 320px; align-items: end; }
.hl { color: var(--lime); }
.visual-text p { margin: 0; padding: 0 32px 6px 0; font-size: clamp(12px, 1.9vh, 14px); line-height: 1.35; }
.shot { display: block; grid-column: 1; grid-row: 2; height: 100%; min-height: 0; aspect-ratio: 2 / 3; object-fit: cover; }
/* Letters staan met hun onderkant op de lijn. Alleen grote titels krijgen een lijn. */
.visual h1 { font-size: clamp(30px, min(5vw, 9.5vh), 76px); line-height: 1; }
.visual h1 span, .closer .big span { display: block; position: relative; padding-top: .12em; line-height: 1; }
.visual h1 span { padding-inline: 32px; }
.visual h1 span::after, .closer .big span::after { content: ""; position: absolute; left: 0; right: 0; top: calc(.12em + var(--baseline)); height: 1px; background: rgba(255,255,255,.4); }
:root { --baseline: .844em; } /* gemeten: onderkant van de letters in Host Grotesk bij line-height 1 */

.panel { grid-column: 2; grid-row: 2; min-height: 0; overflow-y: auto; display: flex; justify-content: center; padding: clamp(10px, 2.6vh, 28px) 76px clamp(10px, 2.6vh, 28px) 32px; background: var(--white); }
.nophoto .panel { grid-column: 1; }
.wizard { width: 100%; max-width: 620px; display: flex; flex-direction: column; gap: clamp(8px, 2.4vh, 24px); min-height: 100%; }
.nophoto .wizard { max-width: 1120px; }
.meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.steps { color: var(--focus); font-size: 13px; font-weight: 600; }
.back { background: none; border: 0; padding: 0; color: var(--commit); font-size: 14px; font-weight: 600; }
.back:hover { color: var(--focus); }
.lead { color: var(--muted); }
.field { display: grid; gap: clamp(6px, 1.5vh, 14px); align-content: start; }
.field h2 { font-size: clamp(16px, 3.2vh, 22px); }
.two { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: clamp(20px, 4vw, 56px); }
.grid-days, .grid-week, .grid-picks { display: grid; }
.grid-days { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.grid-week { grid-template-columns: repeat(7, minmax(0, 1fr)); }
.grid-picks { grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); }
.pick { min-height: clamp(36px, 7vh, 52px); padding: 4px 6px; background: var(--white); border: 1px solid var(--commit); margin: 0 -1px -1px 0; font-size: 14px; font-weight: 600; }
.pick:hover { background: var(--reset); }
.pick[aria-pressed="true"] { background: var(--focus); border-color: var(--focus); color: var(--white); position: relative; }
.pick.off[aria-pressed="true"] { background: var(--commit); border-color: var(--commit); color: var(--white); text-decoration: line-through; }
.pick.big { font: 700 clamp(18px, 3.4vh, 24px) var(--head); }
.pick:disabled { color: #A9B3B5; border-color: var(--line); cursor: not-allowed; background: var(--white); }
.card { display: grid; grid-template-columns: 24px 1fr; column-gap: 8px; width: 100%; text-align: left; padding: clamp(6px, 1.6vh, 16px) 8px; background: none; border: 1px solid var(--line); margin-bottom: -1px; }
.card::before { content: "→"; grid-row: span 2; color: var(--focus); font-weight: 600; }
.card:hover strong { color: var(--focus); }
.card strong { display: block; font: 700 clamp(15px, 2.8vh, 18px)/1.2 var(--head); letter-spacing: -.02em; }
.card span { color: var(--muted); font-size: 13px; line-height: 1.3; }
.card[aria-pressed="true"] { background: var(--focus); border-color: var(--focus); color: var(--white); }
.card[aria-pressed="true"]::before { color: var(--lime); }
.card[aria-pressed="true"] strong { color: var(--white); }
.card[aria-pressed="true"] span { color: rgba(255,255,255,.85); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; }
/* Klein beeldmerk rechts onderin de hoek. */
.mark { position: absolute; right: 18px; bottom: clamp(10px, 2.6vh, 28px); width: clamp(26px, 5.4vh, 40px); height: auto; display: block; }
.gate { justify-content: center; }
.mail-input { width: 100%; min-height: clamp(40px, 7.5vh, 52px); padding: 6px 12px; background: var(--white); border: 1px solid var(--commit); color: var(--commit); }
.gate .btn { width: 100%; }
.small { font-size: 12px; }
.btn { min-height: clamp(38px, 7.5vh, 52px); padding: 6px 24px; border: 1px solid var(--commit); background: transparent; font-weight: 600; }
.btn:hover { background: var(--reset); }
.btn.primary { background: var(--focus); border-color: var(--focus); color: var(--white); font-weight: 700; }
.btn.primary:hover { background: #1F4CC9; }
.btn:disabled, .btn.primary:disabled { background: var(--reset); border-color: var(--reset); color: #8C989A; cursor: not-allowed; }
.error { color: var(--red); font-size: 14px; }

/* Bord: de hele split naast elkaar */
main:has(.stage) { padding: clamp(12px, 3vh, 28px) 32px 0; max-width: 1640px; }
.bar-top { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 12px 24px; margin: 0 0 clamp(10px, 3vh, 22px); }
.bar-actions { display: grid; gap: 6px; justify-items: end; }
.links { display: flex; align-items: center; gap: 16px; }
.bar-top h1 { font-size: clamp(32px, min(6vw, 11vh), 84px); }
.bar-top h1 em { font-style: normal; color: var(--focus); }
.chips { display: flex; flex-wrap: wrap; gap: 4px 22px; margin-top: clamp(6px, 1.6vh, 16px); }
.chip { background: none; border: 0; border-bottom: 1px solid var(--commit); padding: 2px 0; font-size: 14px; font-weight: 600; }
.chip:hover { color: var(--focus); border-color: var(--focus); }
.soft { color: var(--muted); font-size: 14px; font-weight: 400; font-family: Manrope, sans-serif; letter-spacing: 0; }
.plain { background: none; border: 0; padding: 6px 0; color: var(--muted); font-size: 13px; font-weight: 600; min-height: 32px; }
.plain:hover { color: var(--commit); }
.plain.danger { margin-left: auto; color: var(--red); }
.note { margin-bottom: 12px; }

.stage { display: grid; gap: clamp(14px, 2vw, 28px); align-items: start; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .stage { grid-template-columns: minmax(0, 1fr) 208px; } .volume { position: sticky; top: 16px; } }

.board { display: flex; gap: clamp(12px, 1.6vw, 24px); align-items: flex-start; overflow-x: auto; scroll-snap-type: x proximity; padding-bottom: 8px; }
.col { flex: 1 1 0; min-width: 140px; max-width: 360px; scroll-snap-align: start; border-top: 2px solid var(--commit); }
.col.lv-orange { border-top-color: var(--orange); }
.col.lv-red { border-top-color: var(--red); }
@media (max-width: 899px) { .col { flex: 0 0 min(76vw, 300px); } }
.col > header { display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 2px 6px; padding: 10px 0 12px; }
.col .day { grid-column: 1 / -1; color: var(--focus); font-size: 13px; font-weight: 600; }
.col h3 { font-size: 22px; letter-spacing: -.03em; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.col .tot { color: var(--muted); font-size: 13px; white-space: nowrap; }
.col.lv-orange .tot { color: var(--orange); } .col.lv-red .tot { color: var(--red); }
.rows { list-style: none; margin: 0; padding: 0; }
.ex-row { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; gap: 4px; align-items: center; width: 100%; min-height: 48px; padding: 7px 0; background: none; border: 0; border-top: 1px solid var(--line); text-align: left; font-size: 14px; line-height: 1.25; }
.ex-row:hover { background: var(--reset); }
.ex-row .n { color: var(--muted); font-size: 12px; font-weight: 600; }
.ex-row .nm { font-weight: 600; min-width: 0; }
.ex-row .st { font: 700 15px var(--head); color: var(--focus); padding: 0 2px 0 8px; }
.dot { display: inline-block; width: 7px; height: 7px; background: var(--focus); }
.ex-row .dot { margin-left: 6px; vertical-align: middle; }
.ex-row.open .nm { color: var(--muted); font-weight: 500; }
.ex-row.open .st { font: 700 12px Manrope, sans-serif; color: var(--white); background: var(--focus); padding: 3px 8px; }
.ex-row.ss { box-shadow: inset 2px 0 0 var(--focus); padding-left: 6px; }
.ex-row.lv-orange { background: var(--orange-bg); } .ex-row.lv-orange .st { color: var(--orange); }
.ex-row.lv-red { background: var(--red-bg); } .ex-row.lv-red .st { color: var(--red); }
.ex-row.lv-blue .st { color: var(--focus); }
.col-foot { display: flex; align-items: center; justify-content: space-between; gap: 6px; padding: 6px 0; border-top: 1px solid var(--line); }
.flag { border: 0; padding: 3px 8px; font-size: 12px; font-weight: 700; background: var(--blue-bg); color: var(--focus); min-height: 26px; }
.flag.orange { background: var(--orange-bg); color: var(--orange); }
.flag.red { background: var(--red-bg); color: var(--red); }

/* Volume, helemaal rechts */
.volume { background: var(--reset); padding: 16px; display: grid; gap: 10px; }
.volume h3 { font-size: 18px; display: flex; justify-content: space-between; align-items: baseline; }
.volume h3 span { color: var(--muted); font: 400 12px Manrope, sans-serif; letter-spacing: 0; }
.volume ul { list-style: none; margin: 0; padding: 0; display: grid; }
.volume li { display: grid; grid-template-columns: minmax(0, 1fr) auto 26px; align-items: baseline; gap: 2px; font-size: 13px; padding: 3px 0; border-top: 1px solid var(--line); }
.volume li b { font-weight: 700; font-variant-numeric: tabular-nums; text-align: right; }
.volume li small { color: var(--muted); font-size: 11px; }
.volume .fx { color: var(--focus); font-weight: 700; }
.volume li.orange b { color: var(--orange); } .volume li.red b { color: var(--red); }
.volume .flag { justify-self: start; }

.src { font-size: 11px; color: var(--muted); }

/* Afsluiter onder het bord */
.closer { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); margin: 56px -32px 0; background: var(--focus); color: var(--white); min-height: 300px; }
.closer-text { display: flex; align-items: flex-end; padding: 48px 0 40px; }
.closer .big { font: 700 clamp(36px, 5vw, 76px)/1 var(--big); letter-spacing: -.045em; width: 100%; }
.closer .big span { padding-inline: 32px; }
.closer-photo { background: var(--commit) var(--photo) center 30% / cover no-repeat; }

@media (max-width: 899px) {
  /* Telefoon: titel en keuzes in één scherm, de foto valt weg. */
  .split, .split.nophoto { display: flex; flex-direction: column; }
  .shot { display: none; }
  .visual-text { display: block; flex: none; padding: 12px 0; }
  .visual h1 { font-size: clamp(30px, min(11vw, 6.4vh), 52px); }
  .visual h1 span { padding-inline: 16px; }
  .visual-text p { padding: 8px 16px 0; }
  .panel { flex: 1 1 0; padding: 12px 16px; }
  .nav { padding-right: 40px; }
  .mark { right: 12px; bottom: 16px; width: 28px; }
  .two { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .grid-picks { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid-picks .pick { min-height: clamp(32px, 5.6vh, 46px); }
  .field h2 .soft { display: block; }
  main:has(.stage) { padding: 16px 16px 72px; }
  .closer { grid-template-columns: minmax(0, 1fr); margin: 40px -16px 0; }
  .closer .big span { padding-inline: 16px; }
  .closer-photo { min-height: 240px; }
  .volume ul { grid-template-columns: 1fr 1fr; column-gap: 18px; }
  .bar-actions { justify-items: start; }
  .dl { position: fixed; left: 0; right: 0; bottom: 0; width: 100%; z-index: 5; min-height: 56px; }
}

/* Venster */
dialog { background: var(--white); color: var(--commit); border: 0; padding: 22px; width: min(460px, calc(100vw - 32px)); max-height: min(86vh, 760px); overflow-y: auto; }
dialog::backdrop { background: rgba(0, 26, 30, .55); }
@media (max-width: 599px) { dialog { width: 100vw; max-width: 100vw; margin: auto 0 0; } }
/* Telefoon: grotere tikvlakken zonder dat de opmaak verschuift. */
@media (max-width: 899px) { .chip, .back { position: relative; } .chip::after, .back::after { content: ''; position: absolute; inset: -10px -4px; } }
dialog h2 { font-size: 26px; padding-right: 8px; }
dialog > * + * { margin-top: 12px; }
.dlg-back { display: block; margin-bottom: 2px; }
.ctrl { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.stepper { display: inline-flex; align-items: center; border: 1px solid var(--commit); }
.stepper button, .icon { min-width: 44px; min-height: 44px; background: transparent; border: 0; font-size: 17px; font-weight: 600; }
.stepper button:hover, .icon:hover { background: var(--reset); }
.stepper output { min-width: 58px; text-align: center; font-size: 14px; font-weight: 700; }
.icon { border: 1px solid var(--commit); }
.icon:disabled { color: #A9B3B5; border-color: var(--line); cursor: default; background: none; }
.lbl { display: grid; gap: 6px; font-size: 13px; font-weight: 600; color: var(--muted); }
.lbl.as-label { display: block; }
.lbl .soft { font-size: 12px; margin-left: 4px; }
.lbl input, .pat-select { min-height: 46px; padding: 8px 10px; width: 100%; background: var(--white); border: 1px solid var(--commit); color: var(--commit); font-weight: 500; }
.choices { display: grid; margin-top: 6px !important; }
.choice { display: grid; grid-template-columns: 22px 1fr; text-align: left; min-height: 44px; padding: 10px 6px; border: 0; border-top: 1px solid var(--line); background: none; font-size: 14px; font-weight: 500; }
.choice::before { content: "→"; color: var(--focus); }
.choice:hover { background: var(--reset); }
.choice[aria-pressed="true"] { background: var(--focus); color: var(--white); font-weight: 700; }
.choice[aria-pressed="true"]::before { color: var(--lime); }
.msgs { display: grid; gap: 8px; }
.msg { font-size: 14px; padding: 10px 12px; border-left: 3px solid; }
.msg.orange { background: var(--orange-bg); border-color: var(--orange); }
.msg.red { background: var(--red-bg); border-color: var(--red); }
.msg.blue { background: var(--blue-bg); border-color: var(--focus); }
.dlg-foot { display: flex; justify-content: flex-end; align-items: center; gap: 12px; margin-top: 18px !important; }
.dlg-foot .plain { margin-right: auto; }
.as-link { display: block; text-align: center; text-decoration: none; line-height: 28px; }
