/* The one date picker (app/date-picker.js, workbook row 47): the same row of
   days, "Another date" and calendar on every booking page, website and Mini
   App. Brand tokens only, which both surfaces define. */
.dp{margin:6px 0 0}
.dp-head{font:inherit;font-size:13px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);margin:14px 0 6px}
/* contain:inline-size — the row scrolls, so its own width must never count.
   Without it the strip's fifteen chips are the min-content width of whatever
   holds it, and a grid or flex column with an auto minimum (a bare 1fr) grows
   to fit them instead of letting them scroll: the basket's single phone column
   went to three screens wide this way (10 Nov 2026). */
.dp-days{display:flex;gap:8px;overflow-x:auto;padding:2px 26px 8px 0;scrollbar-width:none;-webkit-overflow-scrolling:touch;contain:inline-size}
.dp-days::-webkit-scrollbar{display:none}
.dp-day{flex:0 0 auto;min-width:62px;min-height:56px;padding:6px 10px;border:1px solid var(--line);border-radius:0;background:var(--surface);color:var(--ink);
  font:inherit;line-height:1.15;text-align:center;cursor:pointer;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px}
.dp-day .dp-wd{font-size:10.5px;letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}
.dp-day .dp-dm{font-size:14px;white-space:nowrap}
.dp-day .dp-note{font-size:10px;color:var(--muted);white-space:nowrap}
.dp-day[aria-pressed="true"]{background:var(--accent);border-color:var(--accent);color:var(--accent-ink)}
.dp-day[aria-pressed="true"] .dp-wd,.dp-day[aria-pressed="true"] .dp-note{color:var(--accent-ink);opacity:.75}
/* A day whose every window is taken: dashed, and still plainly chosen when
   pressed — the same fill as any chosen day, its dashed edge showing through. */
.dp-day.dp-mut{border-style:dashed;color:var(--muted)}
.dp-day.dp-mut[aria-pressed="true"]{background:var(--accent);border-color:var(--accent-ink);color:var(--accent-ink)}
.dp-day.dp-mut[aria-pressed="true"] .dp-wd{color:var(--accent-ink);opacity:.75}
.dp-day.dp-off{border-style:dashed;opacity:.45;cursor:default}
.dp-more{border-style:dashed}
.dp-more[aria-expanded="true"]{border-style:solid;border-color:var(--ink)}
.dp-day:focus-visible,.dp-cell:focus-visible,.dp-nav:focus-visible{outline:2px solid var(--ink);outline-offset:2px}
/* The calendar is a bounded sheet (UAT TC059, Brief 8 T1): a modal dialog
   pinned to the foot of the screen, never taller than it — 100dvh, which
   follows the browser's own bars and the keyboard, after a 100vh fallback —
   with a fixed header and footer and the one scrolling part between them.
   The safe-area insets keep Confirm above the home indicator. Nothing in it
   is wider than the screen: the grid is fixed-layout and its cells shrink
   (min-width:0), so no page needs overflow-x hidden to hide it. */
.dp-sheet{position:fixed;inset:auto 0 0 0;margin:auto auto 0;z-index:1000;box-sizing:border-box;
  width:100%;max-width:480px;min-width:0;max-height:100vh;max-height:100dvh;padding:0;
  border:1px solid var(--line);border-bottom:0;border-radius:0;background:var(--surface);color:var(--ink);
  flex-direction:column;overflow:hidden}
.dp-sheet[open]{display:flex}
.dp-sheet::backdrop{background:color-mix(in srgb,var(--ink) 45%,transparent)}
/* A browser without showModal() (date-picker.js fallbackOn): the same backdrop, by hand. */
.dp-backdrop{position:fixed;inset:0;z-index:999;background:rgba(0,0,0,.45);background:color-mix(in srgb,var(--ink) 45%,transparent)}
.dp-sheethead{flex:0 0 auto;padding:14px 16px 10px;padding-left:max(16px,env(safe-area-inset-left));padding-right:max(16px,env(safe-area-inset-right));
  padding-top:max(14px,env(safe-area-inset-top));border-bottom:1px solid var(--line);min-width:0}
.dp-title{font:inherit;font-size:13px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);margin:0}
.dp-sum{margin:4px 0 0;font-size:16px;font-weight:600;overflow-wrap:anywhere}
.dp-sheetbody{flex:1 1 auto;min-height:0;min-width:0;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;
  padding:10px 16px;padding-left:max(16px,env(safe-area-inset-left));padding-right:max(16px,env(safe-area-inset-right))}
.dp-sheetfoot{flex:0 0 auto;display:flex;gap:8px;padding:10px 16px;border-top:1px solid var(--line);background:var(--surface);
  padding-left:max(16px,env(safe-area-inset-left));padding-right:max(16px,env(safe-area-inset-right));
  padding-bottom:max(10px,env(safe-area-inset-bottom))}
.dp-btn{flex:1 1 0;min-width:0;min-height:48px;padding:8px 12px;border:1px solid var(--ink);border-radius:0;font:inherit;font-weight:600;cursor:pointer;overflow-wrap:anywhere}
.dp-cancel{background:var(--surface);color:var(--ink)}
.dp-confirm{background:var(--accent);border-color:var(--accent);color:var(--accent-ink)}
.dp-confirm[disabled]{opacity:.45;cursor:default}
.dp-btn:focus-visible{outline:2px solid var(--ink);outline-offset:2px}
.dp-calhead{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:6px;min-width:0}
.dp-calhead b{font-size:14px}
.dp-nav{border:1px solid var(--line);border-radius:0;background:var(--surface);color:var(--ink);width:44px;min-height:44px;flex:0 0 auto;font:inherit;font-size:16px;cursor:pointer}
.dp-nav[disabled]{opacity:.35;cursor:default}
.dp-grid{width:100%;min-width:0;border-collapse:separate;border-spacing:3px;table-layout:fixed}
.dp-grid th{font-size:10px;font-weight:400;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);padding:2px 0}
.dp-grid td{padding:0}
.dp-cell{width:100%;min-width:0;min-height:44px;border:1px solid var(--line);border-radius:0;background:var(--surface);color:var(--ink);font:inherit;font-size:14px;cursor:pointer;padding:0}
.dp-cell.dp-today{font-weight:600}
.dp-cell.dp-mut{border-style:dashed;color:var(--muted)}
.dp-cell[aria-pressed="true"]{background:var(--accent);border-color:var(--accent);color:var(--accent-ink)}
.dp-cell.dp-mut[aria-pressed="true"]{border-color:var(--accent-ink)}
.dp-cell.dp-off{border-color:transparent;background:transparent;color:var(--muted);opacity:.5;cursor:default}
.dp-limit{font-size:11px;color:var(--muted);margin:6px 0 0}
.dp-times{margin-top:4px}
