/* Request page + the planbord ending. */
.book { background: var(--paper); }
.book .top .wrap { gap: 18px; }
.back { display: flex; align-items: center; gap: 6px; margin-left: auto; color: var(--ink); text-decoration: none; font: 600 15px var(--head); }
.bk { padding: 32px 0 120px; }
#bk { max-width: 760px; margin: 0 auto; background: #fff; border-radius: 10px; padding: 28px 32px 32px; box-shadow: 0 18px 44px -30px rgba(0,0,0,.35); }
.steps { list-style: none; display: flex; gap: 6px; padding: 0; margin: 0 0 26px; counter-reset: s; }
.steps li { counter-increment: s; flex: 1; font: 600 13px var(--head); color: #8b96a1; border-top: 4px solid #e1e6eb; padding-top: 7px; letter-spacing: .03em; }
.steps li::before { content: counter(s) " · "; }
.steps li.done { color: var(--blue); border-color: var(--blue); }
.steps li.on { color: var(--ink); border-color: var(--orange); }
.step h1 { font-size: clamp(26px, 4vw, 34px); margin-bottom: 20px; }
.step h1:focus { outline: none; }
.lbl { display: block; font: 600 16px var(--head); margin: 22px 0 10px; }
.opt { font: 400 13px var(--body); color: var(--muted); margin-left: 6px; }
.note { font-size: 14px; color: var(--muted); margin: 8px 0 0; }
.doors { display: grid; gap: 12px; }
.door-opt { cursor: pointer; }
.door-opt input { position: absolute; opacity: 0; }
.door-opt > span { display: grid; grid-template-columns: 44px 1fr; grid-template-rows: auto auto; column-gap: 14px; align-items: center; padding: 18px 20px; border: 1.5px solid #cfd5db; border-radius: 8px; transition: border-color .12s, background .12s; }
.door-opt svg { grid-row: 1 / 3; color: var(--blue); width: 44px; height: 44px; padding: 8px; border-radius: 50%; background: #eaf1f8; }
.door-opt b { font: 600 19px var(--head); }
.door-opt small { color: var(--muted); font-size: 15px; }
.door-opt:hover > span { border-color: #93abc3; }
.door-opt input:checked + span { border-color: var(--orange); background: #fff8f4; }
.door-opt input:focus-visible + span { outline: 3px solid rgba(240,104,40,.55); outline-offset: 2px; }
.car-card { margin-top: 14px; padding: 14px 16px; border-radius: 8px; background: #eef4fa; display: flex; flex-direction: column; gap: 2px; }
.car-card b { font: 600 20px var(--head); }
.car-card .apk { margin-top: 6px; font-weight: 500; }
.car-card .apk.due { color: #b2410f; }
.car-card.err { background: #fdf0e9; }
.skip { margin: 14px 0 0; }
.link { background: none; border: 0; padding: 0; color: var(--blue); text-decoration: underline; cursor: pointer; font-size: 15px; }
.chips.small span { font-size: 14px; padding: 7px 12px; }
textarea, .field { width: 100%; border: 1.5px solid #c5ccd3; border-radius: var(--radius); padding: 12px 14px; font: 16px var(--body); color: var(--ink); background: #fff; }
textarea:focus, .field:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0,81,155,.18); }
.seg.two { grid-template-columns: 1fr 1fr; }
.days { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-top: 16px; }
.days button { display: flex; flex-direction: column; align-items: center; padding: 10px 4px; border: 1.5px solid #cfd5db; border-radius: 8px; background: #fff; cursor: pointer; color: var(--ink); line-height: 1.15; }
.days small { font-size: 13px; color: var(--muted); text-transform: capitalize; }
.days b { font: 700 22px var(--head); }
.days span { font-size: 13px; color: var(--muted); }
.days button[aria-checked="true"] { background: var(--blue); border-color: var(--blue); color: #fff; }
.days button[aria-checked="true"] small, .days button[aria-checked="true"] span { color: #d6e4f2; }
.tick { display: flex; align-items: flex-start; gap: 10px; margin-top: 14px; cursor: pointer; font-size: 15px; }
.tick input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--blue); flex: none; }
.demo { font-size: 13px; color: #8a4a12; background: #fff4e8; border-radius: 6px; padding: 8px 12px; margin: 0 0 6px; }
.err { color: #b2410f; font-weight: 600; margin: 18px 0 0; }
.nav-bar { display: flex; justify-content: space-between; gap: 12px; margin-top: 28px; }
.nav-bar #next { margin-left: auto; }
.nav-bar [hidden] { display: none; }

/* the ending: their planbord */
.done { max-width: 1080px; margin: 0 auto; }
.done h1 { font-size: clamp(28px, 4.4vw, 38px); margin-bottom: 8px; }
.done-lead { font-size: 18px; color: var(--muted); margin-bottom: 22px; }
.board { position: relative; background: linear-gradient(160deg, #ffffff, #f2f4f6 70%, #e9edf0); border: 12px solid #b7bfc7; border-radius: 6px; box-shadow: inset 0 0 0 1px #d6dbe0, 0 1px 0 #8d969f, 0 24px 40px -28px rgba(0,0,0,.6); padding: 14px 16px 34px; font-family: "Caveat Brush", cursive; color: #1d3f86; }
.board-top { display: flex; align-items: baseline; justify-content: space-between; border-bottom: 2px solid #1d3f86; padding-bottom: 4px; margin-bottom: 8px; }
.board-title { font-size: 30px; letter-spacing: .02em; }
.board-week { font-size: 22px; color: #c2361b; }
.board-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)) repeat(2, minmax(0, .85fr)); min-height: 220px; }
.col { border-left: 1.5px solid rgba(29,63,134,.35); padding: 0 6px; display: flex; flex-direction: column; }
.col:first-child { border-left: 0; }
.col.side { border-left: 2px dashed rgba(29,63,134,.45); background: rgba(29,63,134,.03); }
.col-h { font-size: 20px; padding: 2px 2px 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.col.here .col-h { color: #c2361b; }
.slot { flex: 1; min-height: 150px; padding-top: 6px; }
.scrib { font-size: 19px; margin: 6px 2px; color: #c2361b; transform: rotate(-3deg); }
.mcard { position: relative; display: flex; flex-direction: column; gap: 2px; line-height: 1.1; background: #fff7c9; border-radius: 3px; padding: 18px 10px 10px; box-shadow: 0 1px 0 rgba(0,0,0,.08), 0 10px 16px -12px rgba(0,0,0,.5); transform: rotate(-1.5deg); color: #1f2a37; font-family: "Caveat Brush", cursive; }
.mcard.t-prijs { background: #e2f0ff; }
.mcard.t-project { background: #ffe6d8; }
.mcard .mag { position: absolute; top: -9px; left: 50%; width: 22px; height: 22px; margin-left: -11px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #ff9a63, var(--orange) 55%, #b84714); box-shadow: 0 3px 4px rgba(0,0,0,.35); }
.mcard.t-prijs .mag { background: radial-gradient(circle at 35% 30%, #5c9ee0, var(--blue) 55%, #002f5d); }
.mplate { align-self: flex-start; white-space: nowrap; font: 700 14px "Chakra Petch", monospace; letter-spacing: .06em; background: #f6c400; border: 1.5px solid #1d1d1b; border-left: 7px solid #1b3fa0; border-radius: 3px; padding: 1px 6px; }
.mklus { font-size: 21px; font-weight: 400; line-height: 1.05; color: #1d3f86; }
.mcar { font-size: 17px; }
.mnote { font-size: 17px; color: #c2361b; }
.mwho { font-size: 17px; border-top: 1px dashed rgba(0,0,0,.2); padding-top: 3px; margin-top: 2px; }
.tray { position: absolute; left: 16px; right: 16px; bottom: -12px; height: 16px; background: #a7b0b9; border-radius: 0 0 4px 4px; display: flex; align-items: center; gap: 10px; padding: 0 14px; }
.tray .marker { width: 70px; height: 9px; border-radius: 5px; background: linear-gradient(90deg, #1d3f86 0 18%, #2c2f33 18%); }
.tray .mag { width: 13px; height: 13px; border-radius: 50%; background: var(--orange); }
.tray .mag.b { background: var(--blue); }
/* the card drops onto the board */
.board .mcard { opacity: 0; transform: translateY(-60px) rotate(-8deg); }
.board.drop .mcard { opacity: 1; transform: rotate(-1.5deg); transition: transform .7s cubic-bezier(.2,1.4,.4,1) .25s, opacity .2s .25s; }
.done-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 30px 0 14px; }
.done-actions [hidden] { display: none; }

@media (max-width: 760px) {
  .book .back span { display: none; }
  .back { width: 44px; height: 44px; justify-content: center; border: 1px solid var(--line); border-radius: var(--radius); }
  .book .tel { margin-left: 0; }
  .bk { padding: 16px 0 110px; }
  #bk { padding: 20px 16px 22px; }
  .steps li { font-size: 0; }
  .steps li.on { font-size: 12px; }
  .door-opt > span { padding: 14px; grid-template-columns: 40px 1fr; }
  .door-opt b { font-size: 17px; }
  .days { grid-template-columns: repeat(5, 1fr); gap: 6px; }
  .days b { font-size: 19px; }
  .nav-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; margin: 0; padding: 10px 16px 30px; background: #fff; border-top: 1px solid var(--line); }
  .nav-bar .btn { height: 50px; }
  /* the board turns into day rows on a phone */
  .board { border-width: 8px; padding: 10px 10px 26px; }
  .board-grid { grid-template-columns: 1fr; min-height: 0; }
  .col { border-left: 0; border-top: 1.5px solid rgba(29,63,134,.3); flex-direction: row; align-items: flex-start; padding: 6px 0; gap: 8px; }
  .col:first-child { border-top: 0; }
  .col.side { border-left: 0; border-top: 2px dashed rgba(29,63,134,.45); }
  .col-h { flex: none; width: 104px; font-size: 19px; }
  .slot { min-height: 30px; padding-top: 0; }
  .col.here .slot { padding: 10px 0 4px; }
  .mcard { max-width: 220px; }
}
@media (prefers-reduced-motion: reduce) {
  .board .mcard, .board.drop .mcard { opacity: 1; transform: rotate(-1.5deg); transition: none; }
}
