/* Share: bar button, sheet, and the fixed-width card that gets exported.
   The card is its own light document (data-theme="light") so it never follows
   the reader's dark mode; every colour still resolves from tokens.css. */

/* --------------------------------------------------------------- bar */
.share-btn {
  /* one size with the TODAY button, from tokens.css — no per-file literal,
     no specificity race with app.css */
  width: var(--topbar-btn);
  height: var(--topbar-btn);
  min-height: var(--topbar-btn);
  flex: none;
  margin-left: auto;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1.5px solid var(--rule);
  background: var(--card);
  color: var(--ink);
  cursor: pointer;
}
.share-btn:hover { background: var(--ink); color: var(--paper); }
.share-btn:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.share-btn svg { width: var(--topbar-btn-icon); height: var(--topbar-btn-icon); display: block; }

/* ------------------------------------------------------------- sheet */
.share {
  width: 100%;
  max-width: 100%;
  /* the large viewport made the bottom action row hide behind the phone
     browser toolbar, reading as an overlap (owner report 2026-11-19);
     dvh tracks the visible viewport, the % line stays the fallback */
  height: 100%;
  height: 100dvh;
  max-height: 100dvh;
  margin: 0;
  padding: 0;
  border: 0;
  background: var(--paper);
  color: var(--ink);
}
.share::backdrop { background: rgba(20, 17, 14, 0.45); }

.share-box {
  display: flex;
  flex-direction: column;
  height: 100%;
  max-width: 480px;
  margin: 0 auto;
  padding: 10px var(--gut) calc(12px + env(safe-area-inset-bottom, 0px));
}

.share-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.share-title { margin: 0; font: 700 12px/1 var(--mono); letter-spacing: .14em; }
.share-close {
  min-height: 44px;
  padding: 0 4px;
  border: 0;
  background: none;
  color: var(--ink-2);
  font: 500 11px/1 var(--mono);
  letter-spacing: .1em;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.share-levels {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  margin: 10px 0 8px;
}
.share-level {
  position: relative;
  min-height: 44px;
  border: 1.5px solid var(--rule);
  background: var(--card);
  color: var(--ink);
  font: 600 11px/1 var(--mono);
  letter-spacing: .1em;
  cursor: pointer;
}
.share-level.is-active { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.share-level:disabled { color: var(--ink-3); border-style: dashed; cursor: default; }
.share-level:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.share-soon {
  position: absolute;
  right: 4px;
  top: 3px;
  font-size: 7px;
  letter-spacing: .08em;
  color: var(--ink-3);
}

/* the sheet colour inside the sheet: three low-emphasis labels over one
   hairline underline, same rr.settings.shareColor key as the Settings drawer.
   The 44px box is the hit area; nothing is drawn except the active underline. */
.share-papers {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 6px;
}
.share-papers-label {
  font: 600 8px/1 var(--mono);
  letter-spacing: .16em;
  color: var(--ink-3);
}
.share-paper {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 2px;
  border: 0;
  background: none;
  color: var(--ink-3);
  font: 600 9px/1 var(--mono);
  letter-spacing: .1em;
  cursor: pointer;
  text-decoration: none;
}
.share-paper.is-active {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-thickness: 1.5px;
}
.share-paper:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }

.share-view {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  overscroll-behavior: contain;
  padding: 8px;
  border: 1.5px solid var(--rule);
  background: var(--paper-2);
  -webkit-overflow-scrolling: touch;
}
.share-fit { aspect-ratio: auto; }
.share-view.is-zoomed { padding: 8px; }
.share-empty { margin: 0; font: 500 12px/1.5 var(--mono); color: var(--ink-3); }
.share-loading {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 10px; min-height: 220px; padding: 18px 0;
}
.share-spin {
  width: 22px; height: 22px; border-radius: 50%;
  border: 1.5px solid var(--hair); border-top-color: var(--ink);
  animation: share-spin .9s linear infinite;
}
.share-loading-txt {
  margin: 0; font: 500 10px/1.3 var(--mono);
  letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3);
}
@keyframes share-spin { to { transform: rotate(360deg); } }
/* a spinner that cannot spin must still say "working": keep the ring, drop the motion */
@media (prefers-reduced-motion: reduce) { .share-spin { animation: none; border-top-color: var(--ink-3); } }
.share-hint {
  margin: 8px 0 0;
  font: 500 9px/1.3 var(--mono);
  letter-spacing: .06em;
  color: var(--ink-3);
  text-transform: uppercase;
}
.share-status {
  margin: 6px 0 0;
  min-height: 1.2em;
  font: 500 11px/1.3 var(--mono);
  color: var(--ink-2);
}
/* the action row is a fixed footer: hairline above, never behind the
   toolbar (dvh box), SAVE PNG takes the free width, SHARE hugs its label */
.share-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--hair);
}
.share-save {
  min-width: 0;
  min-height: 44px;
  border: 0;
  background: var(--ink);
  color: var(--paper);
  font: 600 12px/1 var(--mono);
  letter-spacing: .1em;
  cursor: pointer;
}
.share-send {
  min-height: 44px;
  padding: 0 18px;
  border: 1.5px solid var(--rule);
  background: var(--card);
  color: var(--ink);
  font: 600 12px/1 var(--mono);
  letter-spacing: .1em;
  cursor: pointer;
}
.share-save:focus-visible, .share-send:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.share-save:disabled, .share-send:disabled { opacity: .5; cursor: default; }

/* -------------------------------------------------------------- card */
/* self-hosted script face for the signed-in name; Alex Brush, OFL 1.1,
   licence beside the file. Chosen over Great Vibes because its capital A reads
   as a capital (open apex + entry stroke) instead of a closed loop. */
@font-face {
  font-family: "RR Script";
  src: url("../fonts/alex-brush-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
/* the brush face has letters only, so a pen-written weight falls back to a
   different face in the export; Caveat carries digits and keeps the two in step */
@font-face {
  font-family: "RR Hand";
  src: url("../fonts/caveat-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

.sh-card {
  position: relative;
  width: 720px;
  box-sizing: border-box;
  padding: 34px 38px 26px;
  background: var(--card);
  color: var(--ink);
  font-family: var(--sans);
  border: 0;
}

/* the name sits where the header is empty, like a signature on a print; the
   conditioning face is drawn immediately to its left, as one inked group */
.sh-sign {
  position: absolute;
  top: 14px;
  right: 30px;
  max-width: 60%;
  display: flex;
  align-items: center;
  gap: 14px;
  white-space: nowrap;
}
.sh-sign-face { display: block; }
.sh-sign-face:empty { display: none; }
.sh-sign-face svg { width: 66px; height: 66px; display: block; transform: translateY(7px); }
.sh-sign-body {
  position: relative;
  display: block;
  padding-bottom: 14px;
  font-family: "RR Script", "Segoe Script", "Snell Roundhand", cursive;
  font-size: 50px;
  line-height: 1.04;
  color: var(--ink);
  transform: rotate(-6deg);
  transform-origin: right top;
  letter-spacing: .01em;
}
.sh-sign-text { display: block; }
.sh-flourish {
  position: absolute;
  left: -4px;
  right: -22px;
  bottom: -1px;
  height: 14px;
}
.sh-flourish svg { width: 100%; height: 100%; display: block; }

.sh-head { margin: 0; }
.sh-kicker {
  margin: 0;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.sh-title-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 10px;
}
/* the week/day stamp: W1 over D1 at the same size, in a thin ruled square
   set slightly off-square, so it reads as a plate pressed onto the sheet */
.sh-code {
  flex: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 54px;
  height: 54px;
  padding: 0;
  border: 1px solid var(--ink);
  background: none;
  transform: rotate(-3.2deg);
  /* the double rule is what makes it read as a stamp rather than a chip */
  box-shadow: inset 0 0 0 2px var(--card), inset 0 0 0 3px var(--ink);
}
.sh-code b,
.sh-code i {
  font: 700 15px/1 var(--display);
  font-style: normal;
  letter-spacing: .02em;
  color: var(--ink);
}
.sh-code i {
  padding-top: 4px;
  border-top: 1px solid var(--ink);
}

/* the cycle mileage: one segment per block, filled to the walked session */
.sh-mile { margin: 16px 0 0; }
.sh-mile-cap {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 5px;
  font: 500 8.5px/1 var(--mono);
  letter-spacing: .1em;
  color: var(--ink-3);
  text-transform: uppercase;
}
.sh-mile-bar { display: flex; gap: 2px; height: 6px; }
.sh-mile-seg {
  position: relative;
  background: color-mix(in srgb, var(--seg) 22%, var(--paper));
}
.sh-mile-fill {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  background: color-mix(in srgb, var(--seg) 70%, var(--ink));
}
.sh-mile-now {
  position: absolute;
  top: -3px;
  bottom: -3px;
  width: 2px;
  margin-left: -1px;
  background: var(--red);
}
.sh-mile-labels {
  display: flex;
  gap: 2px;
  margin-top: 6px;
  font: 500 8px/1 var(--mono);
  letter-spacing: .1em;
  color: var(--ink-3);
}
.sh-mile-labels span { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sh-mile-labels span:last-child { text-align: right; }
.sh-title {
  margin: 0;
  font-family: var(--display);
  font-size: 48px;
  line-height: .92;
  letter-spacing: -.01em;
  text-transform: uppercase;
  font-weight: 700;
}
.sh-sub {
  margin: 12px 0 0;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-2);
}

/* date + bodyweight and the readiness numbers on one row, no rule between */
.sh-metarow {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  margin: 20px 0 0;
}
.sh-metarow .sh-cond { margin: 0; }.sh-meta {
  margin: 0;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-2);
  white-space: nowrap;
}
.sh-meta-sep { color: var(--ink-3); }
.sh-mw {
  display: inline;
  font-family: var(--display);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .01em;
  color: var(--ink);
}
.sh-mw-unit {
  display: inline;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: .1em;
  color: var(--ink-2);
  margin-left: 3px;
}

.sh-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 12px;
  border-top: 2.5px solid var(--ink);
  border-bottom: 2.5px solid var(--ink);
}
.sh-stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px 16px 12px;
  border-left: 1px solid var(--hair);
}
.sh-stat:first-child { border-left: 0; padding-left: 0; }
.sh-stat-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.sh-stat-value {
  position: relative;
  display: inline-block;
  align-self: flex-start;
  width: max-content;
  font-family: var(--display);
  font-size: 34px;
  line-height: .95;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.sh-stat-value.is-corrected { color: var(--ink-2); }
.sh-strike {
  position: absolute;
  left: -4px;
  right: -2px;
  top: 10px;
  height: 9px;
  transform: rotate(-2deg);
  pointer-events: none;
}
.sh-strike svg { width: 100%; height: 100%; display: block; }
/* an RPE that moved is circled, not struck: the planned number keeps its
   place inside a pen oval, an arrow sits beside it, the real number is written
   in the same hand as the weight fix */
.sh-rpe-mark { white-space: nowrap; }
.sh-rpe-plan { position: relative; display: inline-block; color: var(--ink); }
.sh-rpe-circle {
  position: absolute;
  left: -8px;
  right: -8px;
  top: 0;
  bottom: 0;
  transform: rotate(-4deg);
  pointer-events: none;
}
.sh-rpe-circle svg { width: 100%; height: 100%; display: block; }
.sh-rpe-arrow {
  display: inline-block;
  width: .8em;
  height: .5em;
  vertical-align: -.08em;
  margin: 0 1px 0 3px;
}
.sh-rpe-arrow svg { width: 100%; height: 100%; display: block; }
.sh-rpe-new {
  display: inline-block;
  margin-left: 2px;
  font-family: "RR Hand", cursive;
  font-size: 1.34em;
  font-weight: 400;
  font-style: normal;
  line-height: 1;
  color: var(--ink);
  transform: rotate(-3deg);
  transform-origin: left center;
}
.sh-stat-actual {
  display: block;
  width: max-content;
  margin-top: 1px;
  font-family: "RR Hand", cursive;
  font-size: 32px;
  font-weight: 400;
  font-style: normal;
  line-height: 1;
  color: var(--ink);
  transform: rotate(-2.4deg);
  transform-origin: left center;
}
.sh-stat-actual-unit {
  font-family: var(--mono);
  font-size: 10px;
  font-style: normal;
  letter-spacing: .06em;
  color: var(--ink-2);
  margin-left: 5px;
}
.sh-stat-unit { font-family: var(--mono); font-size: 11px; font-weight: 400; color: var(--ink-2); margin-left: 4px; letter-spacing: .06em; }

.sh-moves { margin-top: 20px; }
.sh-move { position: relative; padding: 12px 0 11px; border-top: 1px solid var(--hair); }
.sh-move:first-child { border-top: 0; padding-top: 0; }
.sh-move-head { display: flex; align-items: baseline; gap: 12px; }
.sh-move-name {
  font-family: var(--display);
  font-size: 21px;
  line-height: 1.05;
  letter-spacing: .01em;
  text-transform: uppercase;
  font-weight: 700;
}
.sh-move-tier {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--tone, var(--ink-2));
  border-bottom: 2px solid var(--tone, var(--ink-2));
  padding-bottom: 2px;
  white-space: nowrap;
}

/* main lift: colour rule on the left, the working load set in display type.
   The rule is a short inset bar, not a border, so stacked main lifts never
   read as one unbroken line and the text keeps its own gutter. */
.sh-move.is-main {
  padding-left: 30px;
  /* the weight column is taken out of the flow so it cannot push the
     prescription lines down: the name keeps the row's own height */
}
.sh-move.is-main .sh-move-head { display: block; }
.sh-move.is-main .sh-move-right {
  position: absolute;
  top: 10px;
  right: 0;
  /* gauge left of the weight: a second line under the number (the corrected
     weight) must not push the gauge out of the row */
  flex-direction: row;
  align-items: flex-start;
  gap: 12px;
}
.sh-main-rule {
  position: absolute;
  left: 2px;
  top: 18px;
  bottom: 16px;
  width: 3px;
  background: var(--tone);
}
.sh-move.is-main:first-child .sh-main-rule { top: 2px; }
.sh-move.is-main .sh-move-head { align-items: flex-start; gap: 16px; }
/* Step 11 — the inline silhouette is a DOM child of the row, not a CSS
   background, so it survives html-to-image; paintMapInline() inks its paths. */
.sh-lift-icon { display: inline-flex; width: 28px; height: 28px; flex: 0 0 auto; color: var(--ink); }
.sh-lift-icon svg { display: block; }
/* the IPF plate letter, same four competition colours as the app header */
.sh-ipf-badge {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 26px; height: 18px; padding: 0 5px; margin-right: 4px;
  font-family: var(--mono); font-size: 9.5px; font-weight: 700; letter-spacing: .04em; line-height: 1;
  color: #fff; background: var(--plate-color, var(--ink-3));
  flex: 0 0 auto;
}
.sh-ipf-badge.is-neutral { color: var(--ink-2); background: none; box-shadow: inset 0 0 0 1px var(--hair); }
.sh-move.is-main .sh-move-head { display: flex; }
.sh-sbd-tile-head { align-items: center; }
.sh-main-name {
  margin: 0;
  font-family: var(--display);
  font-size: 26px;
  line-height: 1.02;
  letter-spacing: -.01em;
  text-transform: uppercase;
  font-weight: 700;
}
.sh-move-right { display: flex; align-items: baseline; gap: 12px; margin-left: auto; }
/* gauge on its own line: right aligned, never under the set text */
.sh-gauge-line { display: flex; justify-content: flex-end; margin-top: 7px; }
.sh-main-weight { display: flex; flex-direction: column; align-items: flex-end; }
.sh-main-kg { position: relative; text-align: right; line-height: .9; }
.sh-main-kg.is-corrected b { color: var(--ink-2); }
.sh-main-kg.is-corrected .sh-strike { top: 8px; height: 9px; left: -3px; right: -2px; }
.sh-main-actual {
  display: block;
  margin-top: 3px;
  font-family: "RR Hand", cursive;
  font-size: 30px;
  font-weight: 400;
  font-style: normal;
  line-height: 1;
  color: var(--ink);
  transform: rotate(-2.2deg);
  transform-origin: right center;
  white-space: nowrap;
}
.sh-main-actual i {
  font-family: var(--mono);
  font-style: normal;
  font-size: 9px;
  letter-spacing: .1em;
  color: var(--ink-2);
  margin-left: 4px;
}
.sh-main-kg b {
  font-family: var(--display);
  font-size: 32px;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.01em;
}
.sh-main-kg i {
  font-family: var(--mono);
  font-style: normal;
  font-size: 9px;
  letter-spacing: .1em;
  color: var(--ink-3);
  margin-left: 4px;
}
.sh-main-meta { margin-top: 4px; display: flex; gap: 10px; align-items: baseline; }

/* variant / accessory: two to a line */
.sh-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 24px;
  margin-top: 20px;
}
.sh-mini {
  position: relative;
  border-top: 1px solid color-mix(in srgb, var(--tone) 62%, var(--paper));
  padding: 10px 0 11px;
}
.sh-mini-tier {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--tone) 72%, var(--ink));
}
.sh-mini-name {
  margin: 4px 0 5px;
  font-family: var(--display);
  font-size: 15.5px;
  line-height: 1.12;
  letter-spacing: .01em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink-2);
}
.sh-mini-line {
  margin: 0;
  font-family: var(--mono);
  font-size: 11.5px;
  line-height: 1.4;
  letter-spacing: .01em;
  color: var(--ink-2);
}
.sh-mini-done,
.sh-mini-plan {
  margin: 3px 0 0;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.sh-mini-done { color: var(--ink); }
.sh-mini-plan { color: var(--ink-3); }

/* the completed session carries one thin tick, low and to the right */
.sh-check {
  position: absolute;
  right: 0;
  bottom: 10px;
  width: 30px;
  height: 28px;
  opacity: .62;
  transform: rotate(-2.5deg);
}
.sh-check.is-small { width: 18px; height: 17px; bottom: 8px; }
.sh-check svg { width: 100%; height: 100%; display: block; }
.sh-move-body {
  margin: 7px 0 0;
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.5;
  letter-spacing: .02em;
  color: var(--ink-2);
}

.sh-move-lines { margin-top: 4px; display: grid; gap: 3px; }
.sh-move-line {
  margin: 0;
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.5;
  letter-spacing: .02em;
  color: var(--ink-2);
}
.sh-move-done {
  margin: 2px 0 0;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: .04em;
  color: var(--ink);
  text-transform: uppercase;
}
.sh-move-plan {
  margin: 2px 0 0;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .06em;
  color: var(--ink-3);
  text-transform: uppercase;
}
/* intensity gauge (owner order 2026-11-19, second): the ring goes back to a
   bar on the same 60–105 window. The scale is thinner and fainter than the
   old one; fill, tick and the word under the bar take the band colour. */
.sh-band-gauge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.sh-band-track {
  position: relative;
  width: 96px;
  height: 5px;
  border-radius: 2px;
  background: color-mix(in srgb, var(--ink) 10%, transparent);
}
.sh-band-fill {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  border-radius: 2px;
  background: currentColor;
  opacity: .35;
}
.sh-band-tick {
  position: absolute;
  top: -2px;
  width: 2px;
  height: 9px;
  margin-left: -1px;
  border-radius: 1px;
  background: currentColor;
}
/* the three boundaries, one hairline each, kept quiet so the tick stays the
   loudest mark on the bar */
.sh-band-ref {
  position: absolute;
  top: 0;
  height: 5px;
  width: 1px;
  margin-left: -.5px;
  pointer-events: none;
  opacity: .5;
}
.sh-band-ref.is-75 { background: var(--yellow); }
.sh-band-ref.is-85 { background: var(--blue); }
.sh-band-ref.is-95 { background: var(--red); }
.sh-band-edge {
  position: absolute;
  top: 1px;
  width: 1px;
  height: 3px;
  background: color-mix(in srgb, var(--ink) 30%, transparent);
}
.sh-band-edge.is-lo { left: 0; }
.sh-band-edge.is-hi { right: 0; }
.sh-band-gauge[data-band="low"] { color: var(--green); }
.sh-band-gauge[data-band="mid"] { color: var(--yellow); }
.sh-band-gauge[data-band="high"] { color: var(--blue); }
.sh-band-gauge[data-band="max"] { color: var(--red); }
/* the competition day is purple at any intensity */
.sh-band-gauge[data-band="comp"] { color: var(--purple); }
.sh-move-band {
  display: inline-flex;
  flex-direction: column;
  align-items: stretch;
  gap: 2px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
  white-space: nowrap;
}
.sh-move-band b { font-weight: 400; text-align: center; }
/* one rule under the word, in the band's own colour — the multi-bar ramp was
   revoked the same day (owner ruling 2026-11-19) */
.sh-band-bar { height: 2px; background: currentColor; }
.sh-move-band[data-band="low"] { color: var(--green); }
.sh-move-band[data-band="mid"] { color: var(--yellow); }
.sh-move-band[data-band="high"] { color: var(--blue); }
.sh-move-band[data-band="max"] { color: var(--red); }
/* the competition day is purple at any intensity */
.sh-move-band[data-band="comp"] { color: var(--purple); }

/* ------------------------------------------------------------ muscles */
.sh-mus {
  margin-top: 20px;
  padding-top: 12px;
  border-top: 2.5px solid var(--ink);
}
.sh-mus-head { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; }
.sh-mus-title {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.sh-mus-count {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.sh-mus-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 202px;
  gap: 22px;
  margin-top: 12px;
  align-items: start;
}
/* the left column is the same height as the figure, so the section closes on one
   baseline instead of leaving a hole under the bars; the foot note sits at the
   bottom of that column */
.sh-mus-left {
  height: 268px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.sh-mus-left .sh-mus-rows {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.sh-mus-left .sh-mus-more { margin-top: 10px; }
.sh-mus-rows { display: grid; gap: 8px; }
.sh-mus-row { display: grid; grid-template-columns: 132px minmax(0, 1fr) 62px; align-items: center; gap: 12px; }
.sh-mus-name {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink-2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sh-mus-track {
  position: relative;
  height: 9px;
  border: 1px solid var(--hair);
  background: var(--card-2);
}
.sh-mus-fill { display: block; height: 100%; background: var(--ink); }
/* the axis ends at MRV, so a solid right edge is the ceiling and a dashed mark
   is each leaf's own MEV — without them the bar is just a coloured line */
.sh-mus-mrv {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: color-mix(in srgb, var(--ink) 55%, transparent);
}
.sh-mus-mev {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1px;
  margin-left: -.5px;
  background: repeating-linear-gradient(180deg,
    color-mix(in srgb, var(--ink) 30%, transparent) 0 2px,
    transparent 2px 4px);
}
.sh-mus-scale {
  margin: 6px 0 0;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .06em;
  color: var(--ink-3);
  white-space: nowrap;
}
.sh-mus-pct {
  font-family: var(--mono);
  font-size: 11px;
  text-align: right;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}
.sh-mus-row.is-extra { display: none; }
.sh-mus-more {
  margin: 8px 0 0;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink-3);
}
/* the day figure: heat depth in the brand red instead of ink, so it reads as a
   body and not a black block at 2160px */
.sh-map .body-map { width: 202px; height: 252px; }
.sh-map .body-map-wrap { background: transparent; border: 0; padding: 0; margin: 0; }
.sh-map .mm-base path { fill: var(--card); stroke: var(--hair); }
.sh-map .mm-heat path { fill: var(--red); }
.sh-map-key {
  display: flex;
  gap: 8px;
  margin-top: 4px;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.sh-map-key span { display: inline-flex; align-items: center; gap: 4px; }
.sh-map-key .k3::before { content: ""; width: 8px; height: 8px; background: var(--red); opacity: .8; }
.sh-map-key .k2::before { content: ""; width: 8px; height: 8px; background: var(--red); opacity: .38; }
.sh-map-key .k1::before { content: ""; width: 8px; height: 8px; background: var(--hair-2); }

/* only used when a session is too tall for the 3x canvas */
.sh-card.is-tight { padding: 26px 30px 18px; }
/* vertical only: a shorthand here outranks .sh-move.is-main and zeroes the
   gutter, which is what put the colour rule on top of the lift name */
.sh-card.is-tight .sh-move { padding-top: 10px; padding-bottom: 9px; }
.sh-card.is-tight .sh-moves { margin-top: 18px; }
.sh-card.is-tight .sh-mus { margin-top: 18px; }

.sh-foot {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-top: 22px;
  padding-top: 12px;
  border-top: 2.5px solid var(--ink);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-3);
}
/* the bean sits with the brand, not with the day counter */
.sh-brand {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--ink-2);
}
.sh-bean {
  display: inline-flex;
  width: 14px;
  height: 14px;
  transform: translateY(1px);
}
.sh-bean svg { width: 100%; height: 100%; display: block; }
.sh-brand-text { white-space: nowrap; }

/* the closing notes of a printed record: numbered, small, hung on a rule */
.sh-notes {
  display: block;
  margin-top: 10px;
  padding-top: 6px;
  border-top: 1px solid var(--hair);
  font: 400 8px/1.45 var(--mono);
  letter-spacing: .005em;
  color: var(--ink-3);
}
.sh-note {
  display: grid;
  grid-template-columns: 10px minmax(0, 1fr);
  gap: 2px;
  margin: 0;
}
.sh-note-mark { font-size: 7px; line-height: 1.7; }
.sh-note-text { text-indent: 0; }
.sh-note-ref { font-size: 7px; letter-spacing: .01em; color: var(--ink-2); }
.sh-cond-pre .sh-note-mark {
  margin-left: 2px;
  font-size: 7px;
  vertical-align: super;
  color: var(--ink-3);
}

/* ------------------------------------------------ week / block / cycle cards */
.sh-stats-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.sh-stats-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
/* 2 cells = an accessory day (sets · load), 5 = a three-lift SBD day: the
   numbers step down so a kg value never runs into the next cell's rule */
.sh-stats-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.sh-stats-2 .sh-stat-value { font-size: 38px; }
.sh-stats-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.sh-stats-5 .sh-stat { padding: 14px 12px 12px; }
.sh-stats-5 .sh-stat-label { font-size: 9px; letter-spacing: .08em; }
.sh-stats-5 .sh-stat-value { font-size: 24px; }
.sh-stats-5 .sh-stat-unit { font-size: 9px; margin-left: 3px; }
.sh-stats-5 .sh-stat-actual { font-size: 24px; }
/* the test peak is the cycle's payoff number: larger, red, with its day under it */
.sh-stat.is-test .sh-stat-value { font-size: 30px; line-height: 1.05; color: var(--purple); }
.sh-stat.is-test .sh-stat-label { color: var(--purple); }
.sh-stat-sub {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .08em;
  color: var(--ink-3);
}

/* seven columns, always MON..SUN; a rest day keeps the column so the week
   reads as a calendar rather than a list of sessions */
/* month over the grid, the way a wall calendar is headed */
.sh-cal-wrap { margin-top: 22px; }
.sh-cal-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding-bottom: 5px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.sh-cal {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  margin-top: 0;
  border-top: 2.5px solid var(--ink);
  border-bottom: 1px solid var(--hair);
}
.sh-cal-cell {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-height: 132px;
  padding: 11px 10px 13px;
  border-left: 1px solid var(--hair);
}
.sh-cal-cell:first-child { border-left: 0; }
.sh-cal-cell.is-weekend { background: color-mix(in srgb, var(--card-2) 55%, transparent); }
.sh-cal-wd {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: .12em;
  color: var(--ink-3);
}
.sh-cal-date { font-size: 25px; font-weight: 600; line-height: 1; letter-spacing: -.01em; }
.sh-cal-title {
  margin-top: 6px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .04em;
  line-height: 1.25;
  color: var(--ink);
}
.sh-cal-codes {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: .08em;
  color: var(--ink-2);
}
.sh-cal-sets {
  margin-top: auto;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .04em;
  color: var(--ink-3);
}
.sh-cal-tonne {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .04em;
  color: var(--ink-3);
  margin-top: -2px;
}
.sh-cal-cell.is-rest .sh-cal-title { color: var(--ink-3); font-weight: 400; }

/* 16 leaves against MEV / MRV, two columns of eight */
.sh-leaf-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 7px 30px;
  margin-top: 14px;
}
.sh-leaf {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr) 32px;
  align-items: center;
  gap: 10px;
}
.sh-leaf-name {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: .06em;
  color: var(--ink-2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sh-leaf-track {
  position: relative;
  height: 7px;
  border: 1px solid var(--hair);
  background: var(--card-2);
}
.sh-leaf-fill { display: block; height: 100%; }
.sh-leaf-mev {
  position: absolute;
  top: -4px;
  bottom: -4px;
  width: 1px;
  background: var(--ink);
  opacity: .45;
}
.sh-leaf-val {
  font-family: var(--mono);
  font-size: 9.5px;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

/* block: one tonnage bar per week, single zero-based axis */
.sh-cap { margin-top: 24px; padding-top: 12px; border-top: 2.5px solid var(--ink); }
.sh-cap-row {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) 58px 56px;
  align-items: center;
  gap: 12px;
  margin-top: 11px;
}
.sh-cap-label {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .06em;
  color: var(--ink-2);
}
.sh-cap-track {
  height: 18px;
  border: 1px solid var(--hair);
  background: var(--card-2);
}
.sh-cap-fill {
  display: block;
  height: 100%;
  box-shadow: inset 0 -2px 0 color-mix(in srgb, var(--ink) 18%, transparent);
}
/* the block's fixed targets, one quiet line under the capacity header */
.sh-cap-goal {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: baseline;
  gap: 4px 10px;
  margin-top: 4px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .06em;
  color: var(--ink);
  text-transform: uppercase;
}
.sh-cap-goal-k { color: var(--ink-3); }
.sh-cap-goal-v { font-weight: 500; }
.sh-cap-goal-bw { color: var(--red); font-weight: 500; }
.sh-cap-goal-test { color: var(--purple); font-weight: 500; }
.sh-cap-val {
  font-family: var(--mono);
  font-size: 11px;
  text-align: right;
  font-variant-numeric: tabular-nums;
}
/* tonnage above, the week's top set under it: the second axis of a block */
.sh-cap-metric {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1px;
}
.sh-cap-pct {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .04em;
  font-variant-numeric: tabular-nums;
  color: var(--ink-3);
}
.sh-cap-pct[data-band="low"] { color: var(--green); }
.sh-cap-pct[data-band="mid"] { color: var(--yellow); }
.sh-cap-pct[data-band="high"] { color: var(--blue); }
.sh-cap-pct[data-band="max"] { color: var(--red); }
.sh-cap-tag {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .08em;
  text-align: right;
  color: var(--ink-3);
}

/* cycle: the only card that shows bodyweight, and only as intent */
/* the one row the owner asked for (2026-11-19): BW reading left, the purple
   test-day plate right */
.sh-bw-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 20px;
  padding: 14px 0 16px;
  border-top: 1px solid var(--hair);
}
.sh-bw-line .sh-bw {
  margin: 0;
  padding: 0 0 10px;
  border-top: 0;
  flex: 1 1 auto;
  min-width: 0;
  flex-wrap: nowrap;
  gap: 8px;
}
.sh-bw-line .sh-bw-label { width: auto; }
.sh-bw-line .sh-bw-from, .sh-bw-line .sh-bw-to { font-size: 32px; }
.sh-bw-line .sh-bw-arrow { font-size: 18px; }
/* one line is the order: the delta is the first thing to go, the arrow
   already says 85 → 80 and the rail draws the same span */
.sh-bw-line .sh-bw-delta { display: none; }
.sh-bw-line .sh-test-day { flex: none; margin-top: 0; padding: 8px 10px; gap: 8px; }
.sh-bw-line .sh-test-day b { font-size: 20px; }
.sh-bw-line .sh-test-day-date { font-size: 11px; }
.sh-bw {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 12px;
  margin-top: 20px;
  padding: 14px 0 16px;
  border-top: 1px solid var(--hair);
  position: relative;
}
.sh-bw-label {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: .12em;
  color: var(--ink-3);
  width: 96px;
}
.sh-bw-from, .sh-bw-to { font-size: 46px; font-weight: 600; line-height: 1; letter-spacing: -.01em; }
.sh-bw-to { color: var(--red); }
.sh-bw-arrow { font-size: 24px; color: var(--ink-2); }
.sh-bw-unit {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .1em;
  color: var(--ink-2);
}
.sh-bw-delta {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--ink-2);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--hair-2);
  padding: 2px 1px 1px;
}
/* the span only: start and target ends, no fill, because no measured weight
   exists to claim a position on it */
.sh-bw-rail {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 6px;
  height: 3px;
  background: var(--hair-2);
}
.sh-bw-rail-end {
  position: absolute;
  top: -2px;
  width: 2px;
  height: 7px;
  background: var(--ink);
}
.sh-bw-rail-end.is-from { left: 0; }
.sh-bw-rail-end.is-to { right: 0; background: var(--red); }
/* the test day banner: the one date the cycle exists for, boxed in comp
   purple with the week number in display type (owner order 2026-11-19) */
.sh-test-day {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-top: 18px;
  padding: 10px 14px;
  border: 1.5px solid var(--purple);
  background: color-mix(in srgb, var(--purple) 7%, transparent);
}
.sh-test-day-cap {
  font: 700 10px/1 var(--mono);
  letter-spacing: .16em;
  color: var(--purple);
  text-transform: uppercase;
}
.sh-test-day b {
  font-family: var(--display);
  font-size: 26px;
  font-weight: 700;
  line-height: 1;
  color: var(--purple);
  letter-spacing: .01em;
}
.sh-test-day-date {
  font: 600 12px/1 var(--mono);
  letter-spacing: .08em;
  color: var(--ink);
  text-transform: uppercase;
}
.sh-test-day-tag {
  margin-left: auto;
  font: 500 10px/1 var(--mono);
  font-style: normal;
  letter-spacing: .1em;
  color: var(--purple);
  border: 1px solid var(--purple);
  padding: 3px 6px;
}
/* the competition cycle sheet: purple base tone (owner order 2026-11-19).
   Rules, big numbers and plates swap from ink/red to comp purple; the card
   sits on a faint purple wash. Small semantic colours (gain up/down) stay. */
.sh-card.is-comp {
  background: color-mix(in srgb, var(--purple) 5%, var(--card));
  border: 1.5px solid color-mix(in srgb, var(--purple) 55%, var(--hair));
}
.sh-card.is-comp .sh-title { color: var(--purple); }
.sh-card.is-comp .sh-stats { border-top-color: var(--purple); border-bottom-color: var(--purple); }
.sh-card.is-comp .sh-sbd,
.sh-card.is-comp .sh-mus,
.sh-card.is-comp .sh-blocks,
.sh-card.is-comp .sh-cap { border-top-color: var(--purple); }
.sh-card.is-comp .sh-foot { border-top-color: var(--purple); }
.sh-card.is-comp .sh-bw-to { color: var(--purple); }
.sh-card.is-comp .sh-bw-rail-end.is-to { background: var(--purple); }
.sh-card.is-comp .sh-sbd-tile {
  background: color-mix(in srgb, var(--purple) 6%, var(--card));
  border-color: color-mix(in srgb, var(--purple) 30%, var(--hair));
}
.sh-card.is-comp .sh-sbd-tile-kg { color: var(--purple); }
.sh-card.is-comp .sh-sbd-rail-fill { background: var(--purple); }
.sh-card.is-comp .sh-sbd-rail-end.is-to { background: var(--purple); }

.sh-blocks { margin-top: 22px; border-top: 2.5px solid var(--ink); }
.sh-block-row {
  display: grid;
  grid-template-columns: 30px 4px minmax(0, 1fr) 52px 56px;
  align-items: baseline;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--hair);
}
.sh-block-no {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .06em;
  color: var(--ink-3);
}
.sh-block-tone { width: 4px; height: 12px; display: block; align-self: center; }
.sh-block-name { font-size: 12.5px; font-weight: 600; letter-spacing: .05em; }
.sh-block-wk, .sh-block-t {
  font-family: var(--mono);
  font-size: 10.5px;
  text-align: right;
  font-variant-numeric: tabular-nums;
  color: var(--ink-2);
}

/* week calendar: the working weight of each main lift is the headline */
.sh-cal-lift {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .04em;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
  line-height: 1.35;
}

/* cycle: SBD trajectory as three tiles in one row — target is the loud number,
   the % gained is the verdict, the start weight is the quiet footnote */
.sh-sbd { margin-top: 22px; padding-top: 12px; border-top: 2.5px solid var(--ink); }
.sh-sbd-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 10px;
}
.sh-sbd-tile {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 9px 9px 10px;
  border: 1px solid var(--hair);
  background: var(--card-2);
}
.sh-sbd-tile-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px;
}
.sh-sbd-code {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .04em;
  line-height: 1;
}
.sh-sbd-tile-name {
  font-family: var(--mono);
  font-size: 7.5px;
  letter-spacing: .08em;
  color: var(--ink-3);
}
.sh-sbd-tile-num {
  display: flex;
  align-items: baseline;
  gap: 3px;
  margin-top: 6px;
  font-variant-numeric: tabular-nums;
}
.sh-sbd-tile-start {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  color: var(--ink-2);
}
.sh-sbd-tile-arrow { font-size: 8px; color: var(--ink-3); }
.sh-sbd-tile-kg {
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.02em;
  color: var(--red);
}
.sh-sbd-tile-unit {
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: .08em;
  color: var(--ink-3);
}
/* the span is start → target; the wash tells the direction of travel */
.sh-sbd-rail {
  position: relative;
  height: 3px;
  margin-top: 7px;
  background: var(--hair-2);
}
.sh-sbd-rail-fill { position: absolute; inset: 0; opacity: .38; }
.sh-sbd-rail-fill.is-up { background: var(--green); }
.sh-sbd-rail-fill.is-down { background: var(--red); }
.sh-sbd-rail-fill.is-flat { background: var(--ink-3); }
.sh-sbd-rail-end {
  position: absolute;
  top: -2px;
  width: 2px;
  height: 7px;
}
.sh-sbd-rail-end.is-from { left: 0; background: var(--ink); }
.sh-sbd-rail-end.is-to { right: 0; background: var(--red); }
.sh-sbd-tile-gain {
  margin-top: 5px;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .04em;
}
.sh-sbd-tile-gain.is-up { color: var(--green); }
.sh-sbd-tile-gain.is-down { color: var(--red); }
.sh-sbd-tile-gain.is-flat { color: var(--ink-3); }
/* target scores: cap line, then three federation values */
.sh-score-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 14px;
  margin-top: 10px;
  padding-top: 9px;
  border-top: 1px solid var(--hair);
}
.sh-score-cap {
  flex: 1 1 100%;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .06em;
  color: var(--ink-3);
}
.sh-score-cell { display: flex; align-items: baseline; gap: 5px; }
.sh-score-k {
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: .06em;
  color: var(--ink-3);
}
.sh-score-v {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}
/* the estimate is a model output, so it never borrows the ink of a measured number */
.sh-est-chip {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .06em;
  color: var(--purple);
  border-left: 2px solid var(--purple);
  padding-left: 6px;
  white-space: nowrap;
}

/* --------------------------------------------- conditioning stamp on the card
   Under the signature: pen face plus the two numbers, right aligned. */
.sh-cond { display: flex; justify-content: flex-end; align-items: center; gap: 10px; margin: 12px 0 0; }
.sh-cond-text { text-align: right; }
.sh-cond-status { margin: 0 0 3px; font: 700 17px/1.1 var(--mono); letter-spacing: .04em; }
.sh-cond-pre { margin: 0; font: 700 15px/1.15 var(--mono); letter-spacing: .06em; }
.sh-cond-exec { margin: 3px 0 0; font: 500 10.5px/1.3 var(--mono); letter-spacing: .08em; color: var(--ink-3); }

/* gear line under a main lift: mono, quiet, underlined so it separates from
   the prescription lines above it without gaining weight */
.sh-gear {
  margin: 5px 0 0;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .1em;
  line-height: 1.5;
  text-transform: uppercase;
  color: var(--ink-2);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  text-decoration-color: color-mix(in srgb, var(--ink-2) 45%, transparent);
}

/* swapped exercise: the planned name is struck, the actual one written under */
.sh-main-namebox { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; }
.sh-main-name { position: relative; width: max-content; }
.sh-main-name.is-corrected { color: var(--ink-2); }
.sh-main-name .sh-strike { top: 42%; height: 10px; }
.sh-main-exname {
  display: block;
  margin-top: 12px;
  font-family: "RR Script", "Segoe Script", cursive;
  font-size: 22px;
  font-weight: 400;
  font-style: normal;
  line-height: 1.05;
  color: var(--ink);
  transform: rotate(-1.6deg);
  transform-origin: left top;
  white-space: nowrap;
}
.sh-mini-name { position: relative; width: max-content; max-width: 100%; }
.sh-mini-name.is-corrected { color: var(--ink-2); }
.sh-mini-name .sh-strike { top: 44%; height: 9px; }
.sh-mini-exname {
  display: block;
  margin-top: 5px;
  font-family: "RR Script", "Segoe Script", cursive;
  font-size: 16px;
  font-weight: 400;
  font-style: normal;
  line-height: 1.05;
  color: var(--ink);
  transform: rotate(-1.4deg);
  transform-origin: left top;
  white-space: normal;
  overflow-wrap: anywhere;
}
