/* ═══════════════════════════════════════════════════════════════════════
   Workout Plan screens (SCRUM-123). Rendered by static/workout-plan.js.
   Tokens come from views.css ([data-ui="v2"]); each has a fallback so the
   screen still reads if that sheet is late.
   ═══════════════════════════════════════════════════════════════════════ */

#viewWorkoutPlan { background: var(--bg, #fafaf8); }

.wp-scroll {
  flex: 1;
  overflow-y: auto;
  padding: 24px 32px 48px;
}
#wpContent {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* ── Buttons ─────────────────────────────────────────────────────────── */
.wp-primary,
.wp-ghost-btn,
.wp-danger-btn,
.wp-text-btn,
.wp-icon-btn {
  font-family: inherit;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.wp-primary {
  background: var(--teal, #0d9488);
  color: #fff;
  border: 1px solid var(--teal, #0d9488);
  border-radius: 12px;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}
.wp-primary:hover { background: var(--teal-deep, #0f766e); border-color: var(--teal-deep, #0f766e); }
.wp-ghost-btn {
  background: var(--paper, #fff);
  color: var(--ink, #0f1a16);
  border: 1px solid var(--line-2, #e3e3df);
  border-radius: 12px;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 600;
}
.wp-ghost-btn:hover { background: var(--paper-2, #f7f7f4); }
.wp-danger-btn {
  background: transparent;
  color: #b91c1c;
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 10px 8px;
  font-size: 14px;
  font-weight: 600;
}
.wp-danger-btn:hover { background: var(--rose-soft, #fee2e2); }
.wp-text-btn {
  background: var(--paper, #fff);
  color: var(--teal-deep, #0f766e);
  border: 1px solid var(--line, #ececea);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}
.wp-text-btn:hover { border-color: var(--teal, #0d9488); }
.wp-icon-btn {
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  background: var(--paper, #fff);
  color: var(--ink-soft, #3a4744);
  border: 1px solid var(--line, #ececea);
  border-radius: 999px;
  padding: 0;
}
.wp-icon-btn:hover { border-color: var(--teal, #0d9488); color: var(--teal-deep, #0f766e); }
.wp-primary:disabled,
.wp-ghost-btn:disabled,
.wp-danger-btn:disabled,
.wp-text-btn:disabled { opacity: 0.55; cursor: default; }
.wp-primary:focus-visible,
.wp-ghost-btn:focus-visible,
.wp-danger-btn:focus-visible,
.wp-text-btn:focus-visible,
.wp-icon-btn:focus-visible,
.wp-entry-main:focus-visible,
.wp-cell:focus-visible,
.wp-wd:focus-visible,
.wp-add-btn:focus-visible,
.wp-close:focus-visible {
  outline: 2px solid var(--teal, #0d9488);
  outline-offset: 2px;
}

/* ── The first-open card ─────────────────────────────────────────────── */
.wp-intro {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--teal-tint, #f0fdfa);
  border: 1px solid var(--teal-soft, #ccfbf1);
  border-radius: 16px;
  padding: 18px 20px;
}
.wp-intro-ico {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--paper, #fff);
  color: var(--teal, #0d9488);
  display: grid;
  place-items: center;
}
.wp-intro-ico svg { width: 24px; height: 24px; }
.wp-intro-text { flex: 1; min-width: 0; }
.wp-intro-title {
  margin: 0 0 4px;
  font-size: 17px;
  font-weight: 700;
  color: var(--ink, #0f1a16);
  text-wrap: balance;
}
.wp-intro-text p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-soft, #3a4744);
  max-width: 62ch;
}

/* ── Reminders can't reach this athlete (SCRUM-126) ─────────────────── */
.wp-reach {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 10px;
  margin: 0;
  padding: 10px 14px;
  border-radius: 12px;
  background: var(--warm-soft, #fef3c7);
  color: #92400e;
  font-size: 13.5px;
  line-height: 1.45;
}
.wp-reach-ico { display: inline-flex; flex: none; }
.wp-reach-ico svg { width: 18px; height: 18px; }
.wp-reach .wp-text-btn { color: #92400e; }

/* ── Send to Apple Watch, iPhone app only (SCRUM-127) ───────────────── */
.wp-watch {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 14px;
  background: var(--paper, #fff);
  border: 1px solid var(--line, #ececea);
  border-radius: 16px;
  padding: 14px 16px;
  box-shadow: var(--shadow-1, 0 1px 2px rgba(15,26,22,0.04));
}
.wp-watch-ico {
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--teal-tint, #f0fdfa);
  color: var(--teal, #0d9488);
  display: grid;
  place-items: center;
}
.wp-watch-ico svg { width: 20px; height: 20px; }
.wp-watch-text { flex: 1 1 220px; min-width: 0; }
.wp-watch-title {
  margin: 0 0 2px;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink, #0f1a16);
}
.wp-watch-text p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--ink-soft, #3a4744);
}
.wp-watch-btn { flex: none; }
.wp-watch-status {
  flex: 1 0 100%;
  margin: 0;
  font-size: 13.5px;
  line-height: 1.45;
}
.wp-watch-status.is-ok { color: var(--teal-deep, #0f766e); }
.wp-watch-status.is-err { color: #b91c1c; }

/* ── Layout: calendar beside the day on wide screens, above it otherwise ── */
.wp-layout {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
@media (min-width: 1100px) {
  .wp-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    align-items: start;
  }
  .wp-day { position: sticky; top: 0; }
}
.wp-cal,
.wp-day {
  background: var(--paper, #fff);
  border: 1px solid var(--line, #ececea);
  border-radius: 16px;
  padding: 16px;
  box-shadow: var(--shadow-1, 0 1px 2px rgba(15,26,22,0.04));
}

.wp-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
}
.wp-period {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: var(--ink, #0f1a16);
}
.wp-tools {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.wp-plan-link { margin-right: 4px; }
.wp-nav {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}

/* ── Month grid ──────────────────────────────────────────────────────── */
.wp-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 4px;
}
.wp-dow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-3, #8a9591);
  text-align: center;
  padding: 2px 0 6px;
}
.wp-cell,
.wp-wd {
  font-family: inherit;
  cursor: pointer;
  background: var(--paper, #fff);
  border: 1px solid var(--line, #ececea);
  color: var(--ink, #0f1a16);
  -webkit-tap-highlight-color: transparent;
}
.wp-cell {
  min-height: 96px;
  padding: 6px;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 3px;
  text-align: left;
  min-width: 0;
}
.wp-cell:hover { border-color: var(--teal-soft, #ccfbf1); background: var(--teal-tint, #f0fdfa); }
.wp-cell.is-other { background: var(--paper-2, #f7f7f4); }
.wp-cell.is-other .wp-num { color: var(--ink-3, #8a9591); }
.wp-cell.is-sel,
.wp-wd.is-sel {
  border-color: var(--teal, #0d9488);
  box-shadow: inset 0 0 0 1px var(--teal, #0d9488);
}
.wp-num {
  font-size: 13px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.wp-cell .wp-num {
  align-self: flex-start;
  min-width: 22px;
  height: 22px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
}
.is-today .wp-num {
  background: var(--teal, #0d9488);
  color: #fff;
}
.wp-items {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.wp-item {
  display: block;
  font-size: 11px;
  line-height: 1.35;
  font-weight: 600;
  padding: 1px 5px;
  border-radius: 5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.wp-item-plan {
  background: var(--teal-tint, #f0fdfa);
  color: var(--teal-deep, #0f766e);
  box-shadow: inset 0 0 0 1px var(--teal-soft, #ccfbf1);
}
.wp-item-workout {
  background: var(--teal-deep, #0f766e);
  color: #fff;
}
.wp-item-activity {
  background: var(--paper-2, #f7f7f4);
  color: var(--ink-3, #8a9591);
  font-weight: 500;
}
.wp-more {
  font-size: 11px;
  color: var(--ink-2, #5c6b66);
  padding-left: 5px;
}

/* Phones: the month is compact, one dot per kind. */
.wp-grid.is-compact .wp-cell {
  min-height: 46px;
  align-items: center;
  justify-content: flex-start;
  padding: 5px 2px;
}
.wp-grid.is-compact .wp-cell .wp-num { align-self: center; }

/* ── Week strip (phones) ─────────────────────────────────────────────── */
.wp-week {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 4px;
}
.wp-wd {
  border-radius: 12px;
  padding: 7px 0 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  min-width: 0;
}
.wp-wd-name {
  font-size: 11px;
  font-weight: 600;
  color: var(--ink-3, #8a9591);
}
.wp-wd .wp-num {
  font-size: 15px;
  min-width: 26px;
  height: 26px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
}

.wp-dots {
  display: flex;
  justify-content: center;
  gap: 3px;
  min-height: 6px;
}
.wp-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  display: block;
}
.wp-dot-plan { box-shadow: inset 0 0 0 1.5px var(--teal, #0d9488); }
.wp-dot-workout { background: var(--teal, #0d9488); }
.wp-dot-activity { background: #b9c2bf; }
.is-past:not(.is-sel) .wp-num { color: var(--ink-2, #5c6b66); }
.is-today.is-past .wp-num,
.is-today .wp-num { color: #fff; }

/* ── The day ─────────────────────────────────────────────────────────── */
.wp-day-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}
.wp-day-title {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink, #0f1a16);
}
.wp-tag {
  font-size: 11px;
  font-weight: 700;
  color: var(--teal-deep, #0f766e);
  background: var(--teal-tint, #f0fdfa);
  border-radius: 999px;
  padding: 2px 8px;
}
.wp-day-empty {
  margin: 10px 0 2px;
  font-size: 13px;
  color: var(--ink-3, #8a9591);
}
.wp-list {
  list-style: none;
  margin: 6px 0 0;
  padding: 0;
}
.wp-entry {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-top: 1px solid var(--line, #ececea);
}
.wp-entry:first-child { border-top: none; }
/* The entry a reminder tap opened (SCRUM-126), picked out for a moment. */
.wp-entry { transition: background-color 0.6s ease, box-shadow 0.6s ease; }
.wp-entry.is-focus {
  background: var(--teal-tint, #f0fdfa);
  box-shadow: 0 0 0 8px var(--teal-tint, #f0fdfa);
  border-radius: 4px;
}
@media (prefers-reduced-motion: reduce) {
  .wp-entry { transition: none; }
}
.wp-when {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-2, #5c6b66);
  font-variant-numeric: tabular-nums;
}
.wp-entry-main {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  background: none;
  border: none;
  padding: 0;
  text-align: left;
  font-family: inherit;
  color: inherit;
}
button.wp-entry-main { cursor: pointer; }
button.wp-entry-main:hover .wp-name { color: var(--teal-deep, #0f766e); }
.wp-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink, #0f1a16);
  overflow-wrap: anywhere;
}
.wp-meta {
  font-size: 12px;
  color: var(--ink-2, #5c6b66);
}
.wp-sub {
  font-size: 12px;
  color: var(--ink-3, #8a9591);
  overflow-wrap: anywhere;
}
.wp-note { font-style: italic; }
.wp-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}
.wp-entry-act { font-size: 12px; padding: 5px 10px; }

.wp-entry-plan .wp-name { color: var(--teal-deep, #0f766e); }
.wp-entry-plan.is-rest .wp-name { color: var(--ink-2, #5c6b66); }
.wp-entry-plan.is-replaced .wp-name {
  color: var(--ink-3, #8a9591);
  text-decoration: line-through;
}
.wp-entry-plan.is-race .wp-name { color: var(--ink, #0f1a16); font-weight: 700; }
/* Never scheduled: drawn lighter. */
.wp-entry-activity .wp-name { color: var(--ink-2, #5c6b66); font-weight: 500; }
.wp-entry-activity .wp-when,
.wp-entry-activity .wp-meta { color: var(--ink-3, #8a9591); }

.wp-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 600;
  color: var(--ink-2, #5c6b66);
  background: var(--paper-2, #f7f7f4);
  border-radius: 999px;
  padding: 3px 9px;
  white-space: nowrap;
}
.wp-chip svg { width: 12px; height: 12px; }
.wp-chip-done { color: var(--teal-deep, #0f766e); background: var(--teal-tint, #f0fdfa); }
.wp-chip-live { color: #92400e; background: var(--warm-soft, #fef3c7); }
/* SCRUM-124: Not today reads closed and quiet: no red, no warning (the design). */
.wp-chip-quiet { color: var(--ink-3, #8a9591); background: var(--paper-2, #f7f7f4); }
.wp-entry.is-not-today .wp-name { text-decoration: line-through; color: var(--ink-3, #8a9591); }
/* Done and Not today on a workout that has started. Its own class: sharing
   `.wp-close` with the sheet's round close icon let that later rule win, and
   both buttons drew as 34px grey circles with their words spilling out. */
.wp-closer {
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  border-radius: 999px;
  padding: 5px 11px;
  cursor: pointer;
  white-space: nowrap;
  border: 1px solid var(--line, #e3e7e4);
  background: var(--paper, #fff);
  color: var(--ink-2, #5c6b66);
}
.wp-closer-done { border-color: var(--teal, #0d9488); background: var(--teal, #0d9488); color: #fff; }
.wp-closer:disabled { opacity: 0.6; cursor: default; }
.wp-closer:focus-visible { outline: 2px solid var(--teal, #0d9488); outline-offset: 2px; }
.wp-chip-soft {
  background: transparent;
  color: var(--ink-3, #8a9591);
  box-shadow: inset 0 0 0 1px var(--line, #ececea);
}

.wp-add-btn {
  margin-top: 12px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1.5px dashed var(--teal-soft, #99e6da);
  background: transparent;
  color: var(--teal-deep, #0f766e);
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}
.wp-add-btn:hover { background: var(--teal-tint, #f0fdfa); border-color: var(--teal, #0d9488); }
.wp-add-ico svg { width: 16px; height: 16px; display: block; }

.wp-loading,
.wp-error {
  padding: 56px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: var(--ink-2, #5c6b66);
  font-size: 14px;
}
.wp-error p { margin: 0; }
.wp-spinner {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  border: 3px solid var(--teal-soft, #ccfbf1);
  border-top-color: var(--teal, #0d9488);
  animation: wp-spin 0.8s linear infinite;
}
@keyframes wp-spin { to { transform: rotate(360deg); } }

/* ── The sheet ───────────────────────────────────────────────────────── */
/* Above the + button (800) and below the confirm dialog (10001), which a
   Delete opens on top of it. */
/* Appended to document.body, so it sits OUTSIDE #desktopApp, which is a
   stacking context at z-index 10: everything in the app shell, the quick-add
   button included, is covered whatever its own z-index (measured, not
   assumed: elementFromPoint over the + button returns the sheet).
   There is deliberately no body scroll lock. platform.css line 19 sets
   `html, body { overflow: hidden }` for the whole app, so the page behind
   never scrolls and a `body.<something>-open { overflow: hidden }` rule,
   which is what the other overlays here carry, could only ever be a no-op. */
.wp-sheet-overlay {
  position: fixed;
  inset: 0;
  z-index: 1100;
  background: rgba(15, 26, 22, 0.5);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.18s ease;
}
.wp-sheet-overlay[hidden] { display: none; }
.wp-sheet-overlay.is-open { opacity: 1; }
.wp-sheet {
  background: var(--paper, #fff);
  width: 100%;
  max-width: 560px;
  max-height: 92vh;
  max-height: 92dvh;
  overflow-y: auto;
  overscroll-behavior: contain;
  border-radius: 20px 20px 0 0;
  padding: 8px 18px calc(16px + env(safe-area-inset-bottom, 0px));
  box-shadow: 0 -8px 32px rgba(15, 26, 22, 0.18);
  transform: translateY(24px);
  transition: transform 0.2s ease;
}
.wp-sheet-overlay.is-open .wp-sheet { transform: none; }
@media (min-width: 720px) {
  .wp-sheet-overlay { align-items: center; }
  .wp-sheet {
    border-radius: 20px;
    padding: 18px 22px 20px;
  }
  .wp-sheet-grip { display: none; }
}
.wp-sheet-grip {
  width: 36px;
  height: 4px;
  border-radius: 999px;
  background: var(--line-2, #e3e3df);
  margin: 0 auto 8px;
}
.wp-step[hidden] { display: none; }
.wp-sheet-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}
.wp-sheet-head h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: var(--ink, #0f1a16);
}
.wp-close {
  flex: none;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  border: none;
  background: var(--paper-2, #f7f7f4);
  color: var(--ink-2, #5c6b66);
  cursor: pointer;
}
.wp-sheet-sub {
  margin: 0;
  font-size: 14px;
  color: var(--ink-2, #5c6b66);
}
.wp-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.wp-types {
  border: 0;
  margin: 0;
  padding: 0;
  min-width: 0;
}
.wp-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-2, #5c6b66);
  margin-bottom: 6px;
  padding: 0;
}
.wp-type-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.wp-type { position: relative; cursor: pointer; }
.wp-type input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}
.wp-type span {
  display: inline-block;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid var(--line-2, #e3e3df);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-soft, #3a4744);
  background: var(--paper, #fff);
}
.wp-type input:checked + span {
  background: var(--teal, #0d9488);
  border-color: var(--teal, #0d9488);
  color: #fff;
}
.wp-type input:focus-visible + span {
  outline: 2px solid var(--teal, #0d9488);
  outline-offset: 2px;
}
.wp-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
@media (max-width: 360px) {
  .wp-row { grid-template-columns: minmax(0, 1fr); }
}
.wp-field {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.wp-field[hidden] { display: none; }
/* 16px, or iOS zooms the page when a field takes focus. */
.wp-field input,
.wp-field select,
.wp-field textarea {
  font-family: inherit;
  font-size: 16px;
  color: var(--ink, #0f1a16);
  background: var(--paper, #fff);
  border: 1px solid var(--line-2, #e3e3df);
  border-radius: 10px;
  padding: 9px 11px;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}
.wp-field textarea { resize: vertical; min-height: 60px; }
/* The reminder picker (SCRUM-126). Drawn flat like the other fields, with
   its arrow made of two gradients rather than an image. */
.wp-field select {
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
  padding-right: 34px;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--ink-2, #5c6b66) 50%),
    linear-gradient(135deg, var(--ink-2, #5c6b66) 50%, transparent 50%);
  background-position: calc(100% - 17px) 50%, calc(100% - 12px) 50%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}
.wp-field input:focus,
.wp-field select:focus,
.wp-field textarea:focus {
  outline: none;
  border-color: var(--teal, #0d9488);
  box-shadow: 0 0 0 3px var(--teal-tint, #f0fdfa);
}
.wp-hints {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.wp-hints:empty { display: none; }
.wp-hint {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  padding: 8px 11px;
  border-radius: 10px;
}
.wp-hint-plan { background: var(--teal-tint, #f0fdfa); color: var(--teal-deep, #0f766e); }
.wp-hint-race { background: var(--indigo-soft, #e0e7ff); color: #3730a3; }
.wp-hint-rest,
.wp-hint-overlap { background: var(--warm-soft, #fef3c7); color: #92400e; }
.wp-hint-muted {
  margin: 0;
  font-size: 13px;
  color: var(--ink-3, #8a9591);
}
.wp-form-err {
  margin: 0;
  font-size: 13px;
  color: #b91c1c;
}
.wp-form-err:empty { display: none; }
.wp-sheet-foot {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
}
.wp-foot-gap { flex: 1; }
.wp-choice {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.wp-choice-q {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--ink, #0f1a16);
}
.wp-choice-note {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-2, #5c6b66);
}
.wp-choice-btns {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 6px;
}
.wp-wide { width: 100%; }

/* ── Phones ──────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .wp-scroll { padding: 14px 14px 24px; }
  #wpContent { gap: 12px; }
  .wp-intro {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px;
  }
  .wp-intro .wp-primary { width: 100%; }
  .wp-watch { padding: 14px 12px; }
  .wp-watch-btn { width: 100%; }
  .wp-cal,
  .wp-day { padding: 14px 12px; }
  .wp-head { margin-bottom: 10px; }
  .wp-head .wp-tools { flex-basis: 100%; flex-wrap: nowrap; }
  .wp-period { font-size: 17px; }
  .wp-entry { grid-template-columns: 56px minmax(0, 1fr) auto; gap: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  .wp-sheet-overlay,
  .wp-sheet { transition: none; }
  .wp-spinner { animation-duration: 2.4s; }
}
