/* Plan: the season you can see. Inputs stack in a drawer on the left; on the
   right the season runs as one painted lane of cones, the chosen week opens
   into its day split, and the chosen day opens into its session lane. Hairline
   wedges connect each level to the next, like a detail callout on a drawing. */

.pl {
  display: grid; grid-template-columns: minmax(300px, 3.6fr) minmax(0, 8.4fr); column-gap: var(--s7);
  padding: 92px var(--gut) var(--s8); align-items: start;
}

/* ---------- the drawer ---------- */
.pl-drawer { position: sticky; top: 88px; max-height: calc(100svh - 104px); display: flex; }
.pl-drawer-in {
  overflow-y: auto; overscroll-behavior: contain; padding: var(--s4) var(--s5) var(--s5); width: 100%;
  background: var(--paper); scrollbar-width: thin;
}
.pl-set { border: 0; margin: 0; padding: var(--s4) 0; border-bottom: 1px solid var(--joint); min-width: 0; }
.pl-set:first-child { padding-top: var(--s2); }
.pl-set legend, .pl-set .lg { float: left; width: 100%; font-size: 14px; font-weight: 680; margin-bottom: var(--s3); padding: 0; display: flex; justify-content: space-between; align-items: baseline; }
.pl-set legend + * { clear: both; }
.pl-hint { font-weight: 560; color: var(--ink-2); font-size: 13px; }
.pl-set .chips { gap: 6px; }
.pl-set .chip { height: 38px; padding: 0 14px; font-size: 14px; }
.pl-set .kit { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; }
.pl-set .kit-item { height: 40px; font-size: 14px; padding: 0 12px 0 4px; gap: 6px; }
.pl-set .kit-item .kit-glyph { width: 28px; height: 28px; }
.pl-set .seg button { height: 34px; min-width: 36px; font-size: 13px; }
.pl-two { display: grid; grid-template-columns: auto 1fr; gap: var(--s4); }
.pl-two fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.pl-two legend { font-size: 14px; font-weight: 680; margin-bottom: var(--s3); padding: 0; }
.pl-sheet-head, .pl-edit { display: none; }
.pl-level-word { margin-top: var(--s2); font-size: 14px; color: var(--ink-2); font-weight: 560; min-height: 1.4em; }
.pl-check { margin-top: var(--s3); }
.pl-check summary { cursor: pointer; font-size: 14px; font-weight: 600; text-decoration: underline; text-underline-offset: 0.25em; list-style: none; }
.pl-check summary::-webkit-details-marker { display: none; }
.pl-check .chips { margin-top: var(--s3); }

/* days: seven toggles, each active day carries its minutes */
.pl-days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.pl-dayb {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; height: 58px; padding: 0;
  border-radius: var(--r-ctl); border: 1.5px dashed color-mix(in oklch, var(--ink) 30%, transparent); background: transparent; cursor: pointer;
  font-weight: 680; font-size: 14px; color: var(--ink-2); transition: background-color 0.2s var(--out), color 0.2s var(--out), border-color 0.2s var(--out);
}
.pl-dayb small { font-size: 12px; font-weight: 600; font-variant-numeric: tabular-nums; opacity: 0.7; }
.pl-dayb.is-on { background: var(--ink); color: var(--paper); border: 1.5px solid var(--ink); }
.pl-dayb.is-on small { opacity: 0.85; }
.pl-mins { display: grid; grid-template-columns: 34px auto; justify-content: start; align-items: center; gap: 6px 10px; margin-top: var(--s3); font-size: 13px; color: var(--ink-2); font-weight: 640; }
.pl-mins .seg button { min-width: 40px; }
.pl-daypick { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.pl-daypick button {
  height: 36px; border-radius: var(--r-ctl); border: 1.5px solid color-mix(in oklch, var(--ink) 18%, transparent); background: transparent; cursor: pointer;
  font-weight: 640; font-size: 13px; color: var(--ink-2); transition: background-color 0.2s var(--out), color 0.2s var(--out);
}
.pl-daypick button[aria-pressed='true'] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.pl-daypick button[disabled] { opacity: 0.3; cursor: default; }
.pl-device { margin-top: var(--s4); font-size: 13px; color: var(--ink-2); display: flex; align-items: center; gap: var(--s2); }
.pl-device .btn-text { padding: 4px; font-size: 13px; }

/* ---------- the head ---------- */
.pl-main { min-width: 0; }
.pl-head { display: flex; align-items: flex-start; justify-content: space-between; gap: var(--s5); padding-top: var(--s2); }
.pl-title { font-family: var(--d); font-weight: 800; font-stretch: var(--wide); letter-spacing: -0.035em; line-height: 0.95; font-size: clamp(36px, 4.4vw, 68px); max-width: 13em; }
.pl-title.is-long { font-size: clamp(32px, 3.6vw, 56px); max-width: 15em; }
.pl-q { flex: none; text-align: right; }
.pl-q-n { font-family: var(--d); font-weight: 820; font-stretch: 104%; letter-spacing: -0.04em; font-size: clamp(44px, 4.6vw, 72px); line-height: 0.9; font-variant-numeric: tabular-nums; }
.pl-q-l { font-size: 13px; font-weight: 640; color: var(--ink-2); margin-top: 4px; }
.pl-spec { margin-top: var(--s3); font-size: 15px; font-weight: 600; color: var(--ink-2); font-variant-numeric: tabular-nums; }

/* ---------- the season ---------- */
.pl-season { margin: var(--s6) 0 0; position: relative; }
.pl-season svg { display: block; width: 100%; height: auto; overflow: visible; }
.ps-band { fill: var(--slab); }
.ps-band.is-on { fill: var(--ground-deep); }
.ps-week-l { font-family: var(--f); font-weight: 680; font-size: 13px; fill: var(--ink); }
.ps-week-p { font-family: var(--f); font-weight: 560; font-size: 12px; fill: var(--ink-2); }
.ps-line { stroke: var(--ink); stroke-width: 2; opacity: 0.2; }
.ps-line.is-on { opacity: 1; }
.ps-cone { cursor: pointer; }
.ps-cone .b { fill: var(--cone); }
.ps-cone .t { fill: var(--cone-top); }
.ps-cone .h { fill: var(--ground); }
.ps-cone.is-done .h { fill: var(--ink); }
.ps-cone.is-sel .ring { stroke: var(--ink); stroke-width: 2.5; fill: none; }
.ps-cone .ring { stroke: transparent; fill: none; }
.ps-min { font-family: var(--f); font-weight: 600; font-size: 12px; fill: var(--ink-2); font-variant-numeric: tabular-nums; }
.ps-test { font-family: var(--f); font-weight: 700; font-size: 12px; fill: var(--ink); }
.ps-hit { fill: transparent; cursor: pointer; }

/* hairline wedges: a detail callout from one level to the next */
.pl-zoom { display: block; width: 100%; height: 28px; overflow: visible; }
.pl-zoom path { fill: color-mix(in oklch, var(--ink) 4%, transparent); stroke: var(--ink); stroke-width: 1; stroke-opacity: 0.35; }

/* ---------- the week ---------- */
.pl-week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.pw-day {
  position: relative; min-height: 104px; padding: var(--s3); text-align: left; background: transparent; cursor: pointer;
  border: 1px solid var(--joint); display: flex; flex-direction: column; gap: 4px; transition: background-color 0.2s var(--out), border-color 0.2s var(--out);
}
.pw-day .d { font-weight: 720; font-size: 14px; }
.pw-day .f { font-size: 13px; font-weight: 640; line-height: 1.25; }
.pw-day .m { font-size: 12px; color: var(--ink-2); font-weight: 560; font-variant-numeric: tabular-nums; margin-top: auto; }
.pw-day .tag { font-size: 12px; font-weight: 640; color: var(--ink-2); }
.pw-day.is-train { background: var(--paper); }
.pw-day.is-sel { border-color: var(--ink); outline: 1px solid var(--ink); outline-offset: -2px; }
.pw-day.is-rest { cursor: default; }
.pw-day.is-rest .f { color: var(--ink-3); font-weight: 560; }
.pw-day .load { position: absolute; right: var(--s3); top: var(--s3); display: flex; gap: 2px; }
.pw-day .load i { width: 4px; height: 12px; border-radius: 2px; background: var(--ink); opacity: 0.2; }
.pw-day .load i.on { opacity: 1; }
@media (hover: hover) { .pw-day.is-train:not(.is-sel):hover { border-color: color-mix(in oklch, var(--ink) 45%, transparent); } }

/* ---------- the day ---------- */
.pl-day { padding: var(--s4) 0 0; }
.pl-day-head { display: flex; align-items: center; justify-content: space-between; gap: var(--s4); }
.pl-day-title { font-family: var(--d); font-weight: 760; font-stretch: 106%; letter-spacing: -0.02em; font-size: clamp(22px, 2vw, 30px); line-height: 1.1; }
.pl-day-head .btn .ic { width: 14px; height: 14px; }
.pl-lane { list-style: none; margin: var(--s4) 0 0; padding: 0 0 0 10px; display: flex; flex-direction: column; }
/* the session as a run sheet: a cone at each block's start on an ink spine, rows sized by minutes */
.pl-block {
  position: relative; display: grid; grid-template-columns: 64px 128px minmax(0, 1fr) auto; gap: var(--s4); align-items: center;
  padding: var(--s3) 0 var(--s3) 26px; min-height: calc(64px + var(--m, 5) * 4px);
}
.pl-block::before { content: ''; position: absolute; left: -10px; top: calc(var(--s3) + 2px); width: 20px; height: 20px; border-radius: 50%; z-index: 1;
  background: radial-gradient(circle, var(--ground) 0 3px, var(--cone-top) 3.5px 7px, var(--cone) 7.5px); }
.pl-block::after { content: ''; position: absolute; left: -1px; top: calc(var(--s3) + 12px); bottom: calc(-1 * var(--s3) - 2px); width: 2px; background: var(--ink); opacity: 0.18; }
.pl-block:last-child::after { display: none; }
.pl-block .at { align-self: start; padding-top: 1px; font-family: var(--d); font-weight: 760; font-stretch: 104%; font-size: 18px; font-variant-numeric: tabular-nums; }
.pl-block .at small { display: block; font-family: var(--f); font-size: 12px; font-weight: 600; color: var(--ink-2); margin-top: 2px; }
.pl-block .win { display: block; width: 128px; aspect-ratio: 4 / 3; background: var(--slab); overflow: hidden; align-self: start; }
.pl-block .win .field { width: 100%; height: 100%; aspect-ratio: auto; }
.pl-block .tx { display: flex; flex-direction: column; gap: 3px; min-width: 0; align-self: start; }
.pl-block .role { font-size: 12px; font-weight: 680; color: var(--ink-2); }
.pl-block .nm { font-family: var(--d); font-weight: 740; font-stretch: 104%; font-size: 19px; line-height: 1.15; text-decoration: none; }
@media (hover: hover) { .pl-block .nm:hover { text-decoration: underline; text-underline-offset: 0.2em; } }
.pl-block .why { font-size: 14px; line-height: 1.35; color: var(--ink-2); font-weight: 520; max-width: 52ch; }
.pl-rate { display: flex; gap: 4px; align-self: start; }
.pl-rate button {
  height: 32px; padding: 0 11px; border-radius: var(--r-ctl); border: 1.5px solid color-mix(in oklch, var(--ink) 16%, transparent);
  background: transparent; cursor: pointer; font-size: 12px; font-weight: 640; white-space: nowrap; transition: background-color 0.2s var(--out), color 0.2s var(--out), border-color 0.2s var(--out);
}
.pl-rate button[aria-pressed='true'] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
@media (hover: hover) { .pl-rate button[aria-pressed='false']:hover { border-color: var(--ink); } }
.pl-block.is-rest { grid-template-columns: 64px minmax(0, 1fr); min-height: 52px; }
.pl-block.is-rest::before { background: radial-gradient(circle, var(--ground) 0 6px, color-mix(in oklch, var(--ink) 30%, transparent) 6.5px 7.5px, var(--ground) 8px); }
.pl-block .sweep { position: absolute; inset: 0; background: var(--ink); opacity: 0; pointer-events: none; }
.pl-chip { margin-top: 6px; font-size: 14px; font-weight: 600; color: var(--ink-2); min-height: 1.4em; }
.pl-changed { position: sticky; bottom: var(--s4); z-index: 5; margin-top: var(--s3); min-height: 1.5em; font-size: 15px; font-weight: 600; }
/* what a rating changed: an ink strip that stays in view while the session does */
.pl-change { display: flex; align-items: center; justify-content: space-between; gap: var(--s4); padding: var(--s3) var(--s3) var(--s3) var(--s5); background: var(--ink); color: var(--paper); border-radius: var(--r-obj); max-width: 640px; }
.pl-change p { font-size: 15px; font-weight: 620; line-height: 1.35; }
.pl-change p span { opacity: 0.66; font-weight: 540; }
.pl-change .btn-text { flex: none; height: 36px; padding: 0 16px; font-size: 14px; color: var(--ink); background: var(--paper); border-radius: var(--r-ctl); text-decoration: none; }
.pl-unlock { font-size: 12px; font-weight: 700; color: var(--ink-2); margin-left: 2px; font-variant-numeric: tabular-nums; }
.pl-checks li.is-fix .mk { background: var(--paper); border: 1.5px solid var(--ink); }
.pl-checks li.is-fix .mk svg { color: var(--ink); }

/* ---------- the engine ---------- */
.pl-engine { margin-top: var(--s6); padding-top: var(--s5); border-top: 1px solid var(--joint); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s6); align-items: start; }
.pl-funnel { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s2); }
.pl-funnel li { display: grid; grid-template-columns: 76px 1fr; align-items: baseline; gap: var(--s3); }
.pl-funnel .n { font-family: var(--d); font-weight: 800; font-stretch: 104%; font-size: 30px; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; text-align: right; line-height: 1; }
.pl-funnel .l { font-size: 14px; font-weight: 600; color: var(--ink-2); }
.pl-funnel .bar { grid-column: 2; height: 6px; background: var(--ink); transform-origin: left center; margin-top: -4px; }
.pl-checks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3) var(--s5); }
.pl-checks li { display: grid; grid-template-columns: 22px 1fr; gap: var(--s2); font-size: 14px; font-weight: 580; line-height: 1.35; }
.pl-checks .mk { width: 18px; height: 18px; border-radius: 50%; background: var(--ink); display: grid; place-items: center; margin-top: 1px; }
.pl-checks .mk svg { width: 11px; height: 11px; color: var(--paper); }
.pl-checks li.is-warn .mk { background: transparent; border: 1.5px dashed var(--ink); }
.pl-checks li.is-warn .mk svg { display: none; }

/* ---------- save ---------- */
.pl-save { margin-top: var(--s8); padding: var(--s7) var(--s6); background: var(--cone); display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: var(--s6); align-items: center; }
/* the season again, as ink on the flood: the thing the email keeps */
.pl-stub { width: 100%; height: auto; overflow: visible; }
.pl-stub .ln { stroke: var(--ink); stroke-width: 2; stroke-linecap: round; }
.pl-stub .ln.is-test { stroke-dasharray: 2 7; }
.pl-stub .c { fill: var(--ink); }
.pl-stub .h { fill: var(--cone); }
.pl-stub text { font-family: var(--f); font-size: 13px; font-weight: 680; fill: var(--ink); }
.pl-save h2 { font-family: var(--d); font-weight: 820; font-stretch: var(--wide); letter-spacing: -0.035em; font-size: clamp(34px, 4vw, 60px); line-height: 0.95; }
.pl-save .signup { margin-top: var(--s5); }
.pl-save .signup-row { background: var(--paper); border-color: transparent; }
.pl-save .signup-row:focus-within { border-color: var(--ink); }
.pl-save .signup-msg { color: var(--ink); }

/* ---------- session runner ---------- */
.run-x { width: 100%; max-width: none; height: 100dvh; max-height: none; margin: 0; padding: 0; border: 0; background: var(--ground); color: var(--ink); }
.run-x::backdrop { background: var(--ink); }
.rx-in { height: 100%; display: flex; flex-direction: column; padding: 0 var(--gut) var(--s5); }
.rx-top { display: flex; align-items: center; justify-content: space-between; height: 72px; flex: none; }
.rx-count { font-weight: 680; font-size: 15px; font-variant-numeric: tabular-nums; }
.rx-body { flex: 1; min-height: 0; display: grid; grid-template-columns: minmax(0, 7fr) minmax(300px, 5fr); gap: var(--s7); align-items: stretch; }
.rx-body[hidden] { display: none; }
.rx-window { margin: 0; background: var(--slab); min-height: 0; }
.rx-window .field { width: 100%; height: 100%; aspect-ratio: auto; }
.rx-text { display: flex; flex-direction: column; justify-content: center; }
.rx-name { font-family: var(--d); font-weight: 790; font-stretch: var(--wide); letter-spacing: -0.03em; font-size: clamp(32px, 3.4vw, 52px); line-height: 0.98; }
.rx-time { font-family: var(--d); font-weight: 820; font-stretch: 104%; letter-spacing: -0.04em; font-size: clamp(88px, 11vw, 168px); line-height: 0.9; margin-top: var(--s4); font-variant-numeric: tabular-nums; }
.rx-bar { height: 6px; margin-top: var(--s4); background: color-mix(in oklch, var(--ink) 12%, transparent); }
.rx-bar i { display: block; height: 100%; width: 100%; background: var(--ink); transform-origin: left center; }
.rx-cue { margin-top: var(--s5); font-family: var(--d); font-weight: 720; font-stretch: 104%; font-size: clamp(22px, 2vw, 30px); line-height: 1.15; }
.rx-next { margin-top: var(--s3); font-size: 15px; color: var(--ink-2); font-weight: 580; }
.rx-ctl { display: flex; align-items: center; gap: var(--s3); margin-top: var(--s6); }
.rx-ctl[hidden] { display: none; }
.rx-rate { margin-top: var(--s5); }
.rx-rate[hidden] { display: none; }
.rx-q { font-weight: 700; font-size: 17px; margin-bottom: var(--s3); }
/* your number for the drill's own measure */
.rx-measure { margin-bottom: var(--s5); }
.rx-measure .rx-q { display: block; font-weight: 600; font-size: 15px; color: var(--ink-2); max-width: 46ch; line-height: 1.4; }
.rx-num-row { display: flex; align-items: baseline; gap: var(--s3); }
.rx-num { width: 120px; height: 64px; padding: 0 16px; border: 1.5px solid color-mix(in oklch, var(--ink) 24%, transparent); border-radius: 14px; background: var(--paper);
  font-family: var(--d); font-weight: 800; font-size: 36px; font-variant-numeric: tabular-nums; color: var(--ink); -moz-appearance: textfield; }
.rx-num::-webkit-outer-spin-button, .rx-num::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.rx-num:focus { outline: none; border-color: var(--ink); }
.rx-of { font-family: var(--d); font-weight: 760; font-size: 24px; color: var(--ink-2); }
.rx-last { font-size: 14px; font-weight: 600; color: var(--ink-2); }
.rx-rate .chip.is-suggested { border-color: var(--ink); border-style: dashed; }
/* the end of a session */
.rx-end { flex: 1; min-height: 0; overflow-y: auto; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-rows: auto auto auto; gap: var(--s5) var(--s8); align-content: start; align-items: start; padding-top: var(--s4); }
.rx-end[hidden] { display: none; }
.rx-end-head { grid-row: 1 / span 3; }
.rx-score { display: flex; flex-direction: column; }
.rx-score .n { font-family: var(--d); font-weight: 820; font-stretch: 104%; letter-spacing: -0.045em; font-size: clamp(120px, 15vw, 220px); line-height: 0.86; font-variant-numeric: tabular-nums; }
.rx-score .l { font-size: 15px; font-weight: 700; margin-top: var(--s2); }
.rx-score-how { margin-top: var(--s3); font-size: 15px; color: var(--ink-2); font-weight: 560; max-width: 34ch; }
.rx-sum { list-style: none; margin: 0; padding: 0; border-top: 1.5px solid var(--ink); }
.rx-sum li { display: grid; grid-template-columns: minmax(0, 1.4fr) 80px minmax(0, 1fr) minmax(0, 1.2fr); gap: var(--s4); align-items: baseline; padding: 12px 0; border-bottom: 1px solid var(--joint); font-size: 15px; font-weight: 600; }
.rx-sum li > :first-child { font-family: var(--d); font-weight: 760; font-stretch: 104%; font-size: 17px; }
.rx-sum .num { font-variant-numeric: tabular-nums; }
.rx-sum .num small { color: var(--ink-2); font-weight: 600; margin-left: 4px; }
.rx-sum .felt, .rx-sum .next { color: var(--ink-2); }
.rx-focus { grid-column: 2; padding: var(--s4) var(--s5); background: var(--paper); }
.rx-focus .k { font-size: 13px; font-weight: 700; color: var(--ink-2); }
.rx-focus .v { margin-top: 4px; font-size: 16px; font-weight: 600; line-height: 1.45; max-width: 60ch; }
.rx-end > .btn { grid-column: 2; justify-self: start; }
/* the session log on the page */
.pl-log { margin-top: var(--s7); padding-top: var(--s5); border-top: 1px solid var(--joint); display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--s3) var(--s6); align-items: end; }
.pl-log[hidden] { display: none; }
.pl-log-title { font-family: var(--d); font-weight: 760; font-stretch: 106%; font-size: 22px; letter-spacing: -0.02em; grid-column: 1 / -1; }
.pl-log-bars { list-style: none; margin: 0; padding: 0; display: flex; align-items: flex-end; gap: 6px; height: 72px; }
.pl-log-bars li { width: 22px; background: var(--ink); position: relative; min-height: 4px; }
.pl-log-bars li span { position: absolute; left: 50%; top: -18px; transform: translateX(-50%); font-size: 12px; font-weight: 700; font-variant-numeric: tabular-nums; }
.pl-log-last { font-size: 15px; font-weight: 600; color: var(--ink-2); line-height: 1.45; max-width: 62ch; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .pl { grid-template-columns: minmax(0, 1fr); padding-top: 84px; }
  /* the drawer becomes a bottom sheet; the plan stays visible above it and rebuilds as you change things */
  .pl-drawer {
    position: fixed; inset: auto 0 0 0; top: auto; z-index: 45; max-height: min(64svh, 640px);
    transform: translateY(102%); visibility: hidden; transition: transform 0.5s var(--out), visibility 0s linear 0.5s;
  }
  .pl-drawer.is-open { transform: none; visibility: visible; transition: transform 0.5s var(--out); }
  .pl-drawer-in { border-radius: var(--r-obj) var(--r-obj) 0 0; padding: 0 var(--gut) calc(var(--s5) + env(safe-area-inset-bottom)); border-top: 1.5px solid var(--ink); }
  .pl-sheet-head { display: flex; position: sticky; top: 0; z-index: 2; align-items: center; justify-content: space-between; padding: var(--s3) 0; background: var(--paper); border-bottom: 1px solid var(--joint); }
  .pl-sheet-head p { font-weight: 700; font-size: 15px; line-height: 1.3; padding: 4px 8px; margin-left: -8px; border-radius: 8px; min-width: 0; }
  .pl-edit { display: inline-flex; position: fixed; left: 50%; bottom: calc(var(--s4) + env(safe-area-inset-bottom)); z-index: 34; translate: -50% 0; transition: translate 0.4s var(--out), opacity 0.3s var(--out); }
  .pl-edit.is-away { translate: -50% 160%; opacity: 0; }
  .pl-changed { bottom: 84px; }
  .pl-engine { grid-template-columns: minmax(0, 1fr); }
  .rx-body { grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) auto; gap: var(--s4); }
}
@media (max-width: 760px) {
  .pl-week { display: flex; overflow-x: auto; scrollbar-width: none; margin: 0 calc(var(--gut) * -1); padding: 0 var(--gut); }
  .pw-day { flex: none; width: 112px; }
  .pl-block { grid-template-columns: 52px 88px minmax(0, 1fr); gap: var(--s3); }
  .pl-block .win { width: 88px; }
  .pl-rate { grid-column: 2 / -1; flex-wrap: wrap; }
  .pl-block .nm { font-size: 17px; }
  .pl-checks { grid-template-columns: 1fr; }
  .pl-head { flex-direction: column; gap: var(--s3); }
  .pl-day-head { flex-direction: column; align-items: flex-start; gap: var(--s3); }
  .pl-q { text-align: left; display: flex; align-items: baseline; gap: var(--s3); }
  .rx-time { font-size: 84px; }
  .rx-end { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; }
  .rx-end-head { grid-row: auto; }
  .rx-focus, .rx-end > .btn { grid-column: 1; }
  .rx-sum li { grid-template-columns: minmax(0, 1fr) auto; }
  .rx-sum .felt { grid-column: 1; }
  .rx-sum .next { grid-column: 2; text-align: right; }
  .pl-log { grid-template-columns: minmax(0, 1fr); }
  .pl-save { grid-template-columns: minmax(0, 1fr); gap: var(--s5); padding: var(--s6) var(--s5); }
  .pl-save .signup { max-width: none; }
  .pl-stub { max-width: 420px; }
}
