/* =========================================================================
   Wendler 5/3/1 Planner — Niggly Stuff
   House "Deed & Ledger" theme reused from new-baby-legal-checklist: brand blue
   accent, navy ink, warm parchment base. Display font Bricolage Grotesque +
   IBM Plex Mono labels (Google Fonts); Inter body vendored locally. Mobile-first.
   NOTE: this tool is deliberately NOT Fane/FCA branded (see DECISIONS.md).
   ========================================================================= */

/* --- Vendored fonts ------------------------------------------------------ */
@font-face { font-family:'Inter'; src:url('../assets/fonts/inter-400.woff2') format('woff2'); font-weight:400; font-style:normal; font-display:swap; }
@font-face { font-family:'Inter'; src:url('../assets/fonts/inter-500.woff2') format('woff2'); font-weight:500; font-style:normal; font-display:swap; }
@font-face { font-family:'Inter'; src:url('../assets/fonts/inter-600.woff2') format('woff2'); font-weight:600; font-style:normal; font-display:swap; }

/* --- Tokens -------------------------------------------------------------- */
:root {
  --paper:      #F4F2EC;
  --surface:    #FFFFFF;
  --ink:        #132A45;
  --body:       #52605A;
  --muted:      #7B8580;
  --blue:       #1D5C96;
  --blue-deep:  #164A7A;
  --blue-tint:  #E8F0F8;
  --blue-line:  #CFE0F0;
  --health:     #963059;      /* Health & Wellbeing category tint */
  --health-tint:#F7E9EF;
  --honey:      #A9761F;      /* deload accent */
  --honey-tint: #FBF3E2;
  --line:       #E4E0D6;
  --good:       #2E7D5B;
  --bad:        #B23B3B;
  --shadow:     0 1px 2px rgba(19,42,69,.05), 0 8px 24px rgba(19,42,69,.06);
  --shadow-sm:  0 1px 2px rgba(19,42,69,.06);

  --display: 'Bricolage Grotesque', 'Inter', system-ui, sans-serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;

  --radius: 14px;
  --radius-sm: 10px;
  --wrap: 860px;
}

*, *::before, *::after { box-sizing: border-box; }
/* The `hidden` attribute is the source of truth for showing/hiding steps,
   buttons, panels and modals. Author rules like `.btn { display:inline-flex }`
   would otherwise beat the UA `[hidden] { display:none }` rule and leave those
   elements visible (e.g. "Create my plan" showing on step 1), so enforce it. */
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--sans); font-size: 17px; line-height: 1.55;
  color: var(--body); background: var(--paper);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
h1,h2,h3,h4 { color: var(--ink); line-height: 1.15; margin: 0; }
p { margin: 0; }
a { color: var(--blue-deep); text-underline-offset: 2px; }
a:hover { color: var(--ink); }
img, svg { max-width: 100%; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 20px; }

/* --- a11y helpers -------------------------------------------------------- */
.sr-only, .visually-hidden {
  position:absolute !important; width:1px; height:1px; padding:0; margin:-1px;
  overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; border:0;
}
.skip-link {
  position:absolute; left:12px; top:-60px; z-index:100; background:var(--ink);
  color:#fff; padding:10px 16px; border-radius:8px; text-decoration:none; transition:top .15s ease;
}
.skip-link:focus { top:12px; }
:where(a,button,input,select,summary,[tabindex]):focus-visible {
  outline:3px solid var(--blue); outline-offset:2px; border-radius:6px;
}
.mono { font-family: var(--mono); }

/* --- Header -------------------------------------------------------------- */
.site-head { padding:16px 0; }
.site-head__inner { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.brand { display:inline-flex; align-items:center; gap:8px; text-decoration:none; color:var(--ink); font-weight:600; letter-spacing:-.01em; }
.brand__mark { display:inline-flex; line-height:0; }
.brand__name { font-size:.98rem; }
.scope-tag {
  font-size:.74rem; font-weight:600; letter-spacing:.02em; color:var(--health);
  background:var(--health-tint); padding:5px 11px; border-radius:999px; white-space:nowrap;
}

/* --- Wizard intro -------------------------------------------------------- */
.wizard__intro { text-align:center; max-width:620px; margin:8px auto 22px; }
.wizard__title { font-family:var(--display); font-weight:600; letter-spacing:-.02em; font-size:clamp(2rem,6vw,2.85rem); margin-bottom:12px; }
.wizard__lead { color:var(--body); font-size:1.05rem; }

/* --- Progress bar -------------------------------------------------------- */
.progress { list-style:none; display:flex; gap:6px; padding:0; margin:0 auto 20px; max-width:620px; }
.progress__step { flex:1 1 0; display:flex; flex-direction:column; align-items:center; gap:6px; text-align:center; }
.progress__num {
  width:30px; height:30px; border-radius:999px; display:grid; place-items:center;
  font-family:var(--mono); font-weight:600; font-size:.85rem; color:var(--muted);
  background:var(--surface); border:1.5px solid var(--line);
}
.progress__label { font-size:.7rem; color:var(--muted); font-weight:600; letter-spacing:.01em; }
.progress__step.is-active .progress__num { background:var(--blue); color:#fff; border-color:var(--blue); }
.progress__step.is-done .progress__num { background:var(--blue-tint); color:var(--blue-deep); border-color:var(--blue-line); }
.progress__step.is-active .progress__label { color:var(--ink); }
@media (max-width:520px){ .progress__label { display:none; } }

/* --- Card + fields ------------------------------------------------------- */
.card { background:var(--surface); border:1px solid var(--line); border-radius:var(--radius); box-shadow:var(--shadow); padding:clamp(20px,5vw,32px); max-width:640px; margin-inline:auto; }
.step { border:0; padding:0; margin:0; }
.step__title { font-family:var(--display); font-weight:600; font-size:1.4rem; letter-spacing:-.01em; margin-bottom:6px; padding:0; color:var(--ink); }
.step__hint { color:var(--muted); font-size:.95rem; margin-bottom:18px; }

.field { margin-bottom:20px; }
.field > label { display:block; font-weight:600; color:var(--ink); margin-bottom:7px; font-size:1rem; }
.field__help { font-size:.85rem; color:var(--muted); margin-top:6px; }
.field__error { font-size:.88rem; color:var(--bad); margin-top:6px; font-weight:500; }

input[type="text"], input[type="email"], input[type="number"], input[type="date"], select {
  width:100%; font:inherit; color:var(--ink); padding:12px 14px; border:1.5px solid var(--line);
  border-radius:var(--radius-sm); background:#fff; transition:border-color .15s ease, box-shadow .15s ease;
}
input:focus, select:focus { border-color:var(--blue); box-shadow:0 0 0 3px var(--blue-tint); outline:none; }
input[aria-invalid="true"] { border-color:var(--bad); }

.field--check .check { display:flex; gap:11px; align-items:flex-start; font-size:.95rem; color:var(--ink); cursor:pointer; line-height:1.45; }
.check input[type="checkbox"] { width:22px; height:22px; margin-top:1px; flex:0 0 auto; accent-color:var(--blue-deep); cursor:pointer; }

.rm-grid { display:grid; grid-template-columns:1fr 1fr; gap:14px 16px; }
.rm-grid .field { margin-bottom:6px; }
@media (max-width:460px){ .rm-grid { grid-template-columns:1fr; } }

/* --- Estimator + settings ------------------------------------------------ */
.linkbtn { background:none; border:0; padding:0; font:inherit; font-weight:600; color:var(--blue-deep); cursor:pointer; text-decoration:underline; text-underline-offset:2px; }
.linkbtn:hover { color:var(--ink); }

.estimator { margin-top:14px; padding:16px 18px; border-radius:var(--radius-sm); background:var(--blue-tint); border:1px solid var(--blue-line); }
.estimator__lead { font-size:.9rem; color:var(--body); margin-bottom:12px; }
.estimator__row { display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.estimator__result { margin-top:12px; font-weight:600; color:var(--ink); }
.estimator__actions { margin-top:12px; display:flex; gap:10px; flex-wrap:wrap; align-items:center; }
.estimator__actions select { width:auto; flex:1 1 140px; }

.settings { margin-top:18px; border-top:1px solid var(--line); padding-top:14px; }
.settings > summary { cursor:pointer; font-weight:600; color:var(--ink); list-style:none; display:flex; align-items:center; gap:8px; }
.settings > summary::-webkit-details-marker { display:none; }
.settings > summary::before { content:"▸"; color:var(--blue); transition:transform .15s ease; display:inline-block; }
.settings[open] > summary::before { transform:rotate(90deg); }
.settings__default { font-size:.68rem; color:var(--muted); font-weight:500; text-transform:uppercase; letter-spacing:.05em; }
.settings__body { margin-top:16px; }

/* --- Buttons ------------------------------------------------------------- */
.btn { display:inline-flex; align-items:center; justify-content:center; gap:8px; font:inherit; font-weight:600; cursor:pointer; padding:13px 22px; border-radius:999px; border:1.5px solid transparent; text-decoration:none; transition:transform .06s ease, background .15s, box-shadow .15s; }
.btn:active { transform:translateY(1px); }
.btn--primary { background:var(--blue); color:#fff; box-shadow:var(--shadow-sm); }
.btn--primary:hover { background:var(--blue-deep); color:#fff; }
.btn--ghost { background:transparent; color:var(--blue-deep); border-color:var(--line); }
.btn--ghost:hover { border-color:var(--blue); background:var(--blue-tint); color:var(--blue-deep); }
.btn[disabled] { opacity:.55; cursor:not-allowed; }

/* --- Wizard nav / privacy ------------------------------------------------ */
.wizard__nav { display:flex; gap:12px; margin-top:26px; }
.wizard__nav .btn { flex:1 1 auto; }
#back-btn { flex:0 0 auto; }
.wizard__privacy { margin:18px auto 40px; font-size:.84rem; color:var(--muted); text-align:center; max-width:560px; line-height:1.5; }

/* --- Day toggles + preview ---------------------------------------------- */
.days { display:grid; grid-template-columns:repeat(7,1fr); gap:8px; }
.day-toggle { position:relative; }
.day-toggle input { position:absolute; opacity:0; inset:0; cursor:pointer; }
.day-toggle span {
  display:block; text-align:center; padding:12px 4px; border:1.5px solid var(--line);
  border-radius:var(--radius-sm); font-weight:600; color:var(--ink); background:#fff;
  font-size:.9rem; transition:border-color .15s, background .15s;
}
.day-toggle input:checked + span { border-color:var(--blue); background:var(--blue-tint); color:var(--blue-deep); }
.day-toggle input:focus-visible + span { outline:3px solid var(--blue); outline-offset:2px; }

.preview { margin-top:18px; }
.preview__title { font-size:.78rem; font-family:var(--mono); text-transform:uppercase; letter-spacing:.06em; color:var(--muted); margin-bottom:8px; }
.preview__week { display:grid; grid-template-columns:repeat(7,1fr); gap:6px; }
.preview__day { text-align:center; padding:8px 2px; border-radius:8px; font-size:.72rem; border:1px solid var(--line); background:#fff; }
.preview__day b { display:block; color:var(--ink); font-size:.8rem; }
.preview__day.is-wendler { background:var(--blue-tint); border-color:var(--blue-line); color:var(--blue-deep); }
.preview__day.is-light { background:#F1F3F2; border-color:var(--line); color:var(--body); }
.preview__day.is-rest { color:var(--muted); }
.preview__note { margin-top:10px; font-size:.85rem; color:var(--body); }

/* --- Review -------------------------------------------------------------- */
.review__block { margin-bottom:18px; }
.review__label { font-family:var(--mono); font-size:.7rem; text-transform:uppercase; letter-spacing:.06em; color:var(--muted); margin-bottom:6px; }
.review__val { color:var(--ink); font-weight:600; }
.review table { width:100%; border-collapse:collapse; margin-top:6px; }
.review th, .review td { text-align:left; padding:8px 10px; border-bottom:1px solid var(--line); font-size:.95rem; }
.review th { font-size:.72rem; text-transform:uppercase; letter-spacing:.04em; color:var(--muted); }
.review td.num, .review th.num { text-align:right; font-family:var(--mono); }
.review__weeks { margin-top:12px; padding:12px 14px; border-radius:var(--radius-sm); background:var(--blue-tint); border:1px solid var(--blue-line); color:var(--ink); font-size:.92rem; }

/* --- Dashboard ----------------------------------------------------------- */
.dash-head { text-align:center; max-width:680px; margin:8px auto 20px; }
.eyebrow { font-family:var(--mono); text-transform:uppercase; letter-spacing:.08em; font-size:.7rem; font-weight:600; color:var(--blue-deep); margin-bottom:8px; }
.dash-title { font-family:var(--display); font-weight:600; letter-spacing:-.02em; font-size:clamp(1.9rem,6vw,2.6rem); margin-bottom:8px; outline:none; }
.dash-sub { color:var(--muted); font-size:.95rem; }

.tm-summary { overflow-x:auto; margin:0 auto 22px; max-width:680px; }
.tm-summary table { width:100%; border-collapse:collapse; background:var(--surface); border:1px solid var(--line); border-radius:var(--radius); overflow:hidden; }
.tm-summary th, .tm-summary td { padding:10px 12px; border-bottom:1px solid var(--line); font-size:.92rem; text-align:right; }
.tm-summary th:first-child, .tm-summary td:first-child { text-align:left; }
.tm-summary thead th { background:var(--blue-tint); color:var(--blue-deep); font-size:.72rem; text-transform:uppercase; letter-spacing:.04em; }
.tm-summary td.num { font-family:var(--mono); color:var(--ink); }

.dash-actions { display:flex; flex-wrap:wrap; gap:10px; justify-content:center; margin-bottom:24px; }

/* --- Tabs ---------------------------------------------------------------- */
.tabs { display:flex; gap:4px; border-bottom:2px solid var(--line); margin-bottom:22px; overflow-x:auto; }
.tab { flex:0 0 auto; background:none; border:0; border-bottom:2px solid transparent; margin-bottom:-2px; padding:11px 16px; font:inherit; font-weight:600; color:var(--muted); cursor:pointer; white-space:nowrap; }
.tab[aria-selected="true"] { color:var(--blue-deep); border-bottom-color:var(--blue); }
.tab:hover { color:var(--ink); }

/* --- Monthly calendar ---------------------------------------------------- */
.cal { margin-bottom:22px; }
.cal__title { font-family:var(--display); font-weight:600; font-size:1.2rem; margin-bottom:10px; }
.cal__grid { display:grid; grid-template-columns:repeat(7,1fr); gap:4px; }
.cal__dow { text-align:center; font-size:.66rem; font-weight:600; text-transform:uppercase; letter-spacing:.04em; color:var(--muted); padding:4px 0; }
.cal__cell { min-height:64px; border:1px solid var(--line); border-radius:8px; padding:5px 6px; background:#fff; font-size:.72rem; }
.cal__cell.is-blank { background:transparent; border-color:transparent; }
.cal__date { font-family:var(--mono); font-weight:600; color:var(--muted); font-size:.72rem; }
.cal__tag { display:block; margin-top:4px; font-weight:600; line-height:1.25; }
.cal__cell.d-wendler { background:var(--blue-tint); border-color:var(--blue-line); }
.cal__cell.d-wendler .cal__tag { color:var(--blue-deep); }
.cal__cell.d-deload { background:var(--honey-tint); border-color:#EAD9B4; }
.cal__cell.d-deload .cal__tag { color:var(--honey); }
.cal__cell.d-light { background:#F1F3F2; border-color:var(--line); }
.cal__cell.d-light .cal__tag { color:var(--body); }
.legend { display:flex; flex-wrap:wrap; gap:12px; margin-top:14px; font-size:.78rem; color:var(--body); }
.legend span { display:inline-flex; align-items:center; gap:6px; }
.legend i { width:14px; height:14px; border-radius:4px; border:1px solid var(--line); display:inline-block; }
.legend i.l-wendler { background:var(--blue-tint); border-color:var(--blue-line); }
.legend i.l-deload { background:var(--honey-tint); border-color:#EAD9B4; }
.legend i.l-light { background:#F1F3F2; }

/* --- Session / weekly cards --------------------------------------------- */
.wk { margin-bottom:26px; }
.wk__head { font-family:var(--display); font-weight:600; font-size:1.15rem; margin-bottom:2px; }
.wk__range { font-size:.8rem; color:var(--muted); margin-bottom:12px; font-family:var(--mono); }
.sess { border:1px solid var(--line); border-radius:var(--radius); background:var(--surface); box-shadow:var(--shadow-sm); padding:16px 18px; margin-bottom:14px; }
.sess--wendler { border-left:4px solid var(--blue); }
.sess--deload { border-left:4px solid var(--honey); }
.sess--light { border-left:4px solid #B9C2BD; }
/* Tinted header strip for each session (mirrors the PDF). */
.sess__bar { display:flex; flex-wrap:wrap; gap:2px 12px; align-items:baseline; justify-content:space-between;
  margin:-16px -18px 12px; padding:10px 18px; border-radius:var(--radius) var(--radius) 0 0; background:var(--blue-tint); }
.sess--deload .sess__bar { background:var(--honey-tint); }
.sess--light .sess__bar { background:#F1F3F2; }
.sess__title { font-weight:600; color:var(--ink); font-size:1.05rem; }
.sess__meta { font-family:var(--mono); font-size:.76rem; color:var(--muted); }

.tbl-scroll { overflow-x:auto; }
table.plan { width:100%; border-collapse:collapse; font-size:.9rem; }
table.plan th, table.plan td { padding:7px 9px; border-bottom:1px solid var(--line); text-align:left; vertical-align:top; }
table.plan th { font-size:.66rem; text-transform:uppercase; letter-spacing:.04em; color:var(--muted); font-weight:600; }
table.plan td.num, table.plan th.num { text-align:right; font-family:var(--mono); white-space:nowrap; }
table.plan tr.is-amrap td { background:var(--blue-tint); }
table.plan .amrap { font-weight:700; color:var(--blue-deep); }
table.plan .actual-box { display:inline-block; min-width:90px; width:100%; border-bottom:1px dashed var(--muted); }
/* Done tick boxes */
table.plan th.chk-col, table.plan td.chk-cell { text-align:center; }
.chk { width:16px; height:16px; accent-color:var(--blue); cursor:pointer; margin:0; }
.sub-note { font-size:.8rem; color:var(--muted); margin:8px 0 0; }
.sess__group { margin-top:12px; }
.sess__group h4 { font-size:.72rem; text-transform:uppercase; letter-spacing:.04em; color:var(--muted); margin-bottom:6px; }
.block-lift { font-weight:600; color:var(--ink); font-size:1rem; margin:14px 0 2px; padding-top:8px; border-top:1px solid var(--line); }
.sess__head + .sess__meta + .block-lift, .block-lift:first-of-type { border-top:0; padding-top:0; margin-top:8px; }

/* Accessory swap select */
.swap { font:inherit; font-size:.86rem; padding:3px 6px; border:1px solid var(--line); border-radius:6px; background:#fff; color:var(--ink); max-width:100%; }

/* --- Cycle summary table ------------------------------------------------- */
.summary-wrap { overflow-x:auto; }
table.cycle { width:100%; border-collapse:collapse; font-size:.85rem; min-width:520px; }
table.cycle th, table.cycle td { padding:8px 10px; border:1px solid var(--line); text-align:center; font-family:var(--mono); }
table.cycle th { background:var(--blue-tint); color:var(--blue-deep); font-family:var(--sans); font-size:.72rem; text-transform:uppercase; letter-spacing:.03em; }
table.cycle td:first-child, table.cycle th:first-child { text-align:left; font-family:var(--sans); font-weight:600; color:var(--ink); }
table.cycle tr.deload td { background:var(--honey-tint); }

/* --- Log & history ------------------------------------------------------- */
.log-intro { color:var(--body); font-size:.95rem; margin-bottom:16px; max-width:60ch; }
.log-lift { margin-bottom:18px; border:1px solid var(--line); border-radius:var(--radius); background:var(--surface); padding:14px 16px; }
.log-lift h4 { font-size:1rem; margin-bottom:8px; }
.log-row { display:flex; flex-wrap:wrap; gap:10px; align-items:center; margin-bottom:8px; font-size:.9rem; }
.log-row label { color:var(--body); }
.log-row input { width:80px; }
.log-est { font-family:var(--mono); color:var(--ink); font-weight:600; }
.log-warn { color:var(--bad); font-size:.85rem; margin-top:6px; }
.hist-table { width:100%; border-collapse:collapse; font-size:.85rem; margin-top:10px; }
.hist-table th, .hist-table td { padding:7px 9px; border-bottom:1px solid var(--line); text-align:right; }
.hist-table th:first-child, .hist-table td:first-child { text-align:left; }
.hist-table td.num { font-family:var(--mono); }

/* --- Cross-referral ------------------------------------------------------ */
.cross { margin:30px auto 0; max-width:680px; padding:18px 20px; border-radius:var(--radius); background:var(--health-tint); border:1px solid #E6C9D6; }
.cross__title { font-family:var(--display); font-weight:600; font-size:1.1rem; color:var(--health); margin-bottom:4px; }
.cross__lead { font-size:.9rem; color:var(--body); margin-bottom:10px; }
.cross__list { margin:0; padding-left:18px; display:grid; gap:6px; font-size:.9rem; color:var(--body); }
.cross__list a { font-weight:600; color:var(--health); }
.cross__list a:hover { color:var(--ink); }

/* --- Dashboard footer ---------------------------------------------------- */
.dash-foot { margin:28px 0 46px; display:flex; flex-wrap:wrap; gap:8px 12px; justify-content:center; align-items:center; font-size:.88rem; }

/* --- Modal --------------------------------------------------------------- */
.modal { position:fixed; inset:0; background:rgba(19,42,69,.45); display:grid; place-items:center; padding:20px; z-index:200; }
.modal[hidden] { display:none; }
.modal__box { background:var(--surface); border-radius:var(--radius); padding:24px; max-width:440px; width:100%; box-shadow:var(--shadow); }
.modal__title { font-family:var(--display); font-weight:600; font-size:1.4rem; margin-bottom:16px; }
.modal__status { min-height:1.2em; font-size:.88rem; margin:4px 0 12px; }
.modal__status.is-error { color:var(--bad); }
.modal__status.is-ok { color:var(--good); font-weight:600; }
.modal__actions { display:flex; gap:10px; justify-content:flex-end; }
.hp { position:absolute; left:-9999px; width:1px; height:1px; overflow:hidden; }

/* --- Footer -------------------------------------------------------------- */
.site-foot { border-top:1px solid var(--line); padding:28px 0 46px; margin-top:10px; }
.disclaimer { font-size:.85rem; color:var(--muted); max-width:70ch; }
.disclaimer strong { color:var(--body); }
.foot-links { margin-top:14px; display:flex; flex-wrap:wrap; gap:8px 12px; align-items:center; font-size:.86rem; }
.foot-links a { font-weight:600; }
.foot-note { color:var(--muted); }

/* --- Larger screens ------------------------------------------------------ */
@media (min-width:640px){
  body { font-size:18px; }
  .cal__cell { min-height:80px; font-size:.76rem; }
}

/* --- Motion & print ------------------------------------------------------ */
@media (prefers-reduced-motion: reduce){ * { scroll-behavior:auto !important; transition:none !important; animation:none !important; } }
@media print {
  .site-head, .dash-actions, .tabs, .dash-foot, .wizard__nav, .modal, .scope-tag { display:none !important; }
  /* Print the plan: monthly calendar, weekly plans, then the cycle summary.
     Hide the log/history tab and the cross-referral block. */
  #panel-log, .cross { display:none !important; }
  .panel[hidden] { display:block !important; }
  body { background:#fff; }
  /* Each part starts on its own page: the month, then every week, then the
     summary. (Monthly is first in the document, so it needs no break.) */
  #panel-weekly, #panel-summary { break-before:page; }
  .wk { break-before:page; }
  .wk:first-child { break-before:auto; }
  .sess, .cal__cell, .wk__head { break-inside:avoid; box-shadow:none; }
  /* Compact the cards so a full week (three sessions) fits on one page. */
  @page { margin: 11mm; }
  .dash-title, .dash-head, .dash-sub, .eyebrow, .tm-summary { display:none !important; }
  .wk__head { font-size:1rem; margin-bottom:1px; }
  .wk__range { margin-bottom:6px; }
  .sess { padding:6px 9px; margin-bottom:0; border-radius:8px; }
  .sess__bar { margin:-6px -9px 5px; padding:4px 9px; }
  .sess__title { font-size:.92rem; }
  .sess__group { margin-top:4px; }
  .sess__group h4 { display:none; }               /* the table's own header covers it */
  .block-lift { margin:5px 0 0; padding-top:3px; font-size:.9rem; }
  table.plan { font-size:.74rem; }
  table.plan th, table.plan td { padding:1px 7px; line-height:1.25; }
  table.plan th { font-size:.58rem; }
  .chk { width:12px; height:12px; }
  /* Flatten the accessory swap selects to plain text on paper. */
  .swap { border:0 !important; padding:0 !important; background:none !important; font-weight:400; color:var(--ink);
    -webkit-appearance:none; appearance:none; }
  /* Keep the tints and tick boxes visible on paper. */
  .sess__bar, table.plan th, table.plan tr.is-amrap td,
  table.cycle th, table.cycle tr.deload td, .chk {
    -webkit-print-color-adjust:exact; print-color-adjust:exact;
  }
}
