:root {
  --bg: #0d0f12;
  --surround: #262c34;   /* only ever seen off the edge of the phone */
  --surface: #191e24;
  --surface-2: #1e242b;
  --line: #2a323a;
  --text: #f2f4f6;
  --muted: #98a3ad;
  --accent: #35d07f;
  --accent-ink: #05130c;
  --danger: #ff6b6b;
  --tap: 56px;
  --pad: 14px;
  --gap: 8px;
  --col: 430px;   /* the widest phone, so the desktop view is the phone view */
  --safe-b: env(safe-area-inset-bottom, 0px);
  --offline-h: 0px;   /* the offline banner floats, so its height is set from app.js */
  font-size: 17px;
}

* { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }

html, body {
  background: var(--surround);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, system-ui, sans-serif;
}

/* Pull to refresh works normally, except while a set is being counted out. */
body.running { overscroll-behavior-y: contain; }

html { scroll-padding-bottom: 96px; }
body { padding-bottom: calc(96px + var(--safe-b)); }

main {
  max-width: var(--col); margin: 0 auto;
  min-height: 100vh; background: var(--bg);
}

/* Wider than a phone: show where the screen ends. */
@media (min-width: 460px) {
  main { border-left: 1px solid var(--line); border-right: 1px solid var(--line); }
  .tabs { border-left: 1px solid var(--line); border-right: 1px solid var(--line); }
  .offline-bar { border-left: 1px solid var(--line); border-right: 1px solid var(--line); }
}

/* ------------------------------------------------------------------ type */

h1 { font-size: 1.4rem; font-weight: 700; letter-spacing: -0.01em; }
h2 { font-size: 0.82rem; font-weight: 700; text-transform: uppercase;
     letter-spacing: 0.08em; color: var(--muted); }
.muted { color: var(--muted); }
.small { font-size: 0.85rem; }

/* ---------------------------------------------------------------- header */

.bar {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; gap: 10px;
  min-height: 60px; padding: 8px var(--pad);
  background: var(--bg); border-bottom: 1px solid var(--line);
}
.bar h1 { flex: 1; min-width: 0; line-height: 1.15; overflow-wrap: anywhere; }
.bar .sub { display: block; font-size: 0.78rem; font-weight: 500; color: var(--muted); }

/* How long this session has been going. Tabular so it does not jiggle. */
.clock {
  flex: none;
  font-size: 1.05rem; font-weight: 700; color: var(--accent);
  font-variant-numeric: tabular-nums; letter-spacing: 0.01em;
}
.clock.done { color: var(--muted); font-weight: 600; }

.iconbtn {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 48px; height: 48px; padding: 0 12px;
  background: none; border: 0; color: var(--text);
  font: inherit; font-size: 1rem; cursor: pointer;
}
.iconbtn.back { margin-left: -8px; font-weight: 600; }
.iconbtn.strong { color: var(--accent); font-weight: 700; }

/* ---------------------------------------------------------------- blocks */

.section {
  display: flex; align-items: baseline; justify-content: space-between;
  padding: 18px var(--pad) 6px;
}
.linkbtn {
  background: none; border: 0; color: var(--accent); font: inherit;
  font-size: 0.85rem; font-weight: 700; padding: 4px 0; cursor: pointer;
}
.stack { display: flex; flex-direction: column; gap: var(--gap); }
.card { background: var(--surface); padding: var(--pad); }

.row {
  display: flex; align-items: center; gap: 12px;
  width: 100%; min-height: var(--tap); padding: 12px var(--pad);
  background: var(--surface); border: 0; color: var(--text);
  font: inherit; text-align: left; cursor: pointer;
}
.row:active { background: var(--surface-2); }
.row .grow { flex: 1; min-width: 0; }
.row .name { font-weight: 600; display: block; }
.row .meta {
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2;
  overflow: hidden; font-size: 0.85rem; color: var(--muted); margin-top: 2px;
}
.row .chev { color: var(--muted); font-size: 1.2rem; }
.row.dragging { background: var(--surface-2); box-shadow: 0 8px 24px rgba(0,0,0,.55);
                position: relative; z-index: 5; }
.row.placeholder { opacity: 0.25; }

.btn {
  display: block; width: 100%; min-height: var(--tap);
  padding: 16px; border: 0; background: var(--accent); color: var(--accent-ink);
  font: inherit; font-size: 1.05rem; font-weight: 700; cursor: pointer;
}
.btn:active { filter: brightness(0.9); }
.btn.ghost { background: var(--surface); color: var(--text); border: 1px solid var(--line); }
.btn.danger { background: none; color: var(--danger); border: 1px solid var(--line); }
.btn.small { min-height: 44px; padding: 10px; font-size: 0.92rem; }

.btnrow { display: flex; gap: var(--gap); padding: var(--pad); }
.btnrow .btn { flex: 1; }

.pad { padding: var(--pad); }
.empty { padding: 40px var(--pad); text-align: center; color: var(--muted); }

/* -------------------------------------------------------------- steppers */

.field { padding: 12px var(--pad); background: var(--surface); }
.field .label {
  display: flex; justify-content: space-between; align-items: baseline;
  font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.07em;
  color: var(--muted); margin-bottom: 8px;
}
.stepper { display: flex; align-items: stretch; gap: 6px; }
.stepper button {
  width: 64px; min-height: var(--tap);
  background: var(--surface-2); border: 0; color: var(--text);
  font-size: 1.7rem; font-weight: 400; line-height: 1; cursor: pointer;
  touch-action: manipulation;
}
.stepper button:active { background: var(--accent); color: var(--accent-ink); }
.valcell { position: relative; flex: 1; min-width: 0; display: flex; }
.stepper .unit {
  position: absolute; right: 10px; top: 50%; transform: translateY(-50%);
  pointer-events: none; color: var(--muted); font-size: 0.8rem; font-weight: 600;
}
.stepper .val {
  flex: 1; min-width: 0; min-height: var(--tap);
  background: var(--surface-2); border: 0; color: var(--text);
  font: inherit; font-size: 1.35rem; font-weight: 700; text-align: center;
  cursor: pointer; -moz-appearance: textfield;
}
.stepper .val::-webkit-outer-spin-button,
.stepper .val::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.stepper .val:focus { outline: 2px solid var(--accent); outline-offset: -2px; }

.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); }
.grid2 .field { min-width: 0; padding-left: 10px; padding-right: 10px; }
.grid2 .stepper { min-width: 0; }
.grid2 .stepper button { width: 44px; min-height: 48px; font-size: 1.3rem; }
.grid2 .stepper .val { font-size: 1.05rem; min-height: 48px; }

/* ------------------------------------------------------------------ sets */

.set { display: flex; flex-direction: column; gap: var(--gap); }
.set-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px var(--pad); background: var(--surface);
}
.set-head .n { font-weight: 700; font-size: 0.9rem; }
.set-head .del { color: var(--danger); background: none; border: 0; font: inherit;
                 padding: 6px 10px; margin: -6px -10px -6px 0; cursor: pointer; }

.prev { padding: 12px var(--pad); background: var(--surface); }
.prev .line { font-variant-numeric: tabular-nums; padding: 3px 0; }

/* --------------------------------------------------------------- toggles */

.toggle {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; min-height: var(--tap); padding: 12px var(--pad);
  background: var(--surface); border: 0; color: var(--text); font: inherit;
  cursor: pointer;
}
.toggle .state { color: var(--muted); font-size: 0.92rem; }
.toggle[aria-pressed="true"] .state { color: var(--accent); font-weight: 700; }

/* ------------------------------------------------------------------ tabs */

.tabs[hidden] { display: none; }
.tabs {
  position: fixed; left: 50%; transform: translateX(-50%); bottom: 0; z-index: 30;
  width: 100%; max-width: var(--col);
  display: flex; background: var(--surface);
  border-top: 1px solid var(--line);
  padding-bottom: var(--safe-b);
}
.tabs a {
  flex: 1; min-height: 60px; display: flex; align-items: center; justify-content: center;
  color: var(--muted); text-decoration: none; font-size: 0.88rem; font-weight: 600;
}
.tabs a.on { color: var(--accent); box-shadow: inset 0 2px 0 var(--accent); }

/* --------------------------------------------------------------- offline */

.offline-bar[hidden] { display: none; }
.offline-bar {
  position: fixed; top: 0; left: 50%; transform: translateX(-50%); z-index: 50;
  width: 100%; max-width: var(--col);
  padding: 8px 12px; text-align: center;
  background: #ffb020; color: #241800; font-size: 0.85rem; font-weight: 700;
}
/* The banner is fixed, so it takes up no space of its own. Without the padding
   the first row of the page sits behind it and the header, which reads as the
   top of the list having been cut off (Sam, 14 September 2026). 33px used to be
   written here by hand and the banner is 35px, so it was short even before the
   words wrapped onto a second line. */
.offline-bar:not([hidden]) ~ main { padding-top: var(--offline-h); }
.offline-bar:not([hidden]) ~ main .bar { top: var(--offline-h); }

/* ---------------------------------------------------------------- search */

.search {
  width: 100%; min-height: var(--tap); padding: 14px var(--pad);
  background: var(--surface-2); border: 0; border-bottom: 1px solid var(--line);
  color: var(--text); font: inherit; font-size: 1rem;
}
.search:focus { outline: 2px solid var(--accent); outline-offset: -2px; }

/* --------------------------------------------------------------- details */

details.hist > summary { list-style: none; cursor: pointer; }
details.hist > summary::-webkit-details-marker { display: none; }
details.hist .detail { padding: 4px var(--pad) 14px; background: var(--surface);
                       color: var(--muted); font-size: 0.9rem;
                       font-variant-numeric: tabular-nums; }
details.hist .detail div { padding: 2px 0; }

/* ------------------------------------------------------------------ tags */

.tag {
  font-size: 0.66rem; font-weight: 800; letter-spacing: 0.09em;
  text-transform: uppercase; padding: 4px 7px; white-space: nowrap;
  background: var(--accent); color: var(--accent-ink);
}
.tag.going { background: #ffb020; color: #241800; }

/* ----------------------------------------------------------------- sheet */

.scrim {
  position: fixed; inset: 0; z-index: 60;
  background: rgba(0, 0, 0, 0.72);
  display: flex; align-items: center; justify-content: center;
  padding: 20px var(--pad);
}
.sheet {
  position: relative;
  width: 100%; max-width: 360px; max-height: 86vh; overflow-y: auto;
  background: var(--surface); border: 1px solid var(--line);
  padding: 26px 20px 20px;
  animation: rise 0.14s ease-out;
}
@keyframes rise { from { transform: translateY(10px); opacity: 0.6; } to { transform: none; opacity: 1; } }
.sheet h1 { text-align: center; margin-bottom: 18px; }
.sheet .list { color: var(--muted); font-size: 0.9rem; margin-bottom: 20px; text-align: center; }
.sheet .btn + .btn { margin-top: var(--gap); }
.sheet .close {
  position: absolute; top: 4px; right: 4px;
  width: 44px; height: 44px; background: none; border: 0;
  color: var(--muted); font: inherit; font-size: 1.3rem; cursor: pointer;
}

/* the exercises in the workout, numbered */
.sheet ol {
  list-style: none; counter-reset: n; margin: 0 0 22px; padding: 0;
  border-top: 1px solid var(--line);
}
.sheet ol li {
  counter-increment: n;
  display: flex; gap: 12px; align-items: baseline;
  padding: 11px 2px; border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
}
.sheet ol li::before {
  content: counter(n); width: 18px; flex: 0 0 18px;
  color: var(--muted); font-size: 0.8rem; font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.sheet ol li.empty { color: var(--muted); justify-content: center; }
.sheet ol li.empty::before { content: ''; width: 0; flex: 0; }

/* ------------------------------------------------------- segmented nav */

.seg { display: flex; background: var(--surface); border-bottom: 1px solid var(--line); }
.seg button {
  flex: 1; min-height: 52px; background: none; border: 0; color: var(--muted);
  font: inherit; font-size: 0.95rem; font-weight: 600; cursor: pointer;
}
.seg button[aria-selected="true"] {
  color: var(--text); box-shadow: inset 0 -2px 0 var(--accent);
}

/* ------------------------------------------------------- big number pad */

.big { padding: 14px var(--pad) 2px; background: var(--bg); }
.big .label {
  font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.07em;
  color: var(--muted); margin-bottom: 8px;
}
.big .stepper button { width: 78px; min-height: 76px; font-size: 2.1rem; }
.big .stepper .val { min-height: 76px; font-size: 2.3rem; font-weight: 800; }
.big .stepper .unit { right: 12px; font-size: 0.9rem; }

/* ------------------------------------------------------------- tempo bar */

.tempo { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); padding: 0 var(--pad); }
.tempo .field { min-width: 0; padding: 10px; }
.tempo .label { margin-bottom: 5px; font-size: 0.68rem; }
.tempo .stepper button { width: 40px; min-height: 44px; font-size: 1.2rem; }
.tempo .stepper .val { min-height: 44px; font-size: 1rem; }
.tempo .stepper .unit { right: 6px; font-size: 0.68rem; }

/* --------------------------------------------------------------- set rows */

.setrow {
  display: flex; align-items: center; gap: 14px;
  width: 100%; min-height: 54px; padding: 10px var(--pad);
  background: var(--surface); border: 0; color: var(--text);
  font: inherit; font-variant-numeric: tabular-nums; text-align: left; cursor: pointer;
}
.setrow.editing { box-shadow: inset 3px 0 0 var(--accent); background: var(--surface-2); }
.setrow .n { width: 22px; color: var(--muted); font-weight: 700; }
.setrow .w { font-weight: 700; font-size: 1.05rem; }
.setrow .r { color: var(--muted); }
.setrow .t { margin-left: auto; color: var(--muted); font-size: 0.8rem; }

/* ------------------------------------------------------------------ chart */

.chart { padding: 18px var(--pad); background: var(--surface); }
.chart svg { display: block; width: 100%; height: auto; }
.chips { display: flex; gap: 6px; padding: 12px var(--pad); }
.chips button {
  padding: 8px 14px; min-height: 40px; background: var(--surface-2); border: 0;
  color: var(--muted); font: inherit; font-size: 0.85rem; font-weight: 600; cursor: pointer;
}
.chips button[aria-pressed="true"] { background: var(--accent); color: var(--accent-ink); }

/* ------------------------------------------------- spacing between blocks */

.stack + .stack { margin-top: var(--gap); }
.btnrow + .btnrow { padding-top: 0; }
.chart { margin: 0 var(--pad); border: 1px solid var(--line); }
.seg { margin-bottom: 4px; }

/* ---------------------------------------------------- workouts on the home */

.stack.roomy { gap: 16px; }
.row.tall { min-height: 82px; padding: 16px var(--pad); }
.row.tall .name { font-size: 1.12rem; }
.row .count { display: flex; align-items: center; padding: 0 4px; }
.row .count .n {
  font-size: 1.15rem; font-weight: 800; color: var(--text);
  font-variant-numeric: tabular-nums;
}
.row.tall .tag { display: inline-block; margin-top: 8px; }

/* --------------------------------------------------------- filter scroller */

.chips.scroller {
  overflow-x: auto; -webkit-overflow-scrolling: touch;
  flex-wrap: nowrap; scrollbar-width: none;
}
.chips.scroller::-webkit-scrollbar { display: none; }
.chips.scroller button { flex: 0 0 auto; }

.btn.quiet { color: var(--muted); }

/* ------------------------------------------------------------ rest timer */

.restbar {
  position: fixed; left: 50%; transform: translateX(-50%);
  bottom: calc(61px + var(--safe-b)); z-index: 40;
  width: 100%; max-width: var(--col);
  display: flex; align-items: center; gap: 12px;
  padding: 12px var(--pad);
  background: var(--accent); color: var(--accent-ink);
  font-weight: 800; cursor: pointer; border: 0; font-family: inherit;
}
.restbar .time { font-size: 1.3rem; font-variant-numeric: tabular-nums; }
.restbar .grow { flex: 1; }
.restbar .skip { font-size: 0.85rem; font-weight: 700; opacity: 0.75; }
.restbar.done { background: #ffb020; color: #241800; }
.restbar.metro { bottom: calc(110px + var(--safe-b)); background: var(--surface-2); color: var(--text); }
.restbar.metro .bpm {
  background: var(--accent); color: var(--accent-ink); border: 0;
  font: inherit; font-weight: 800; padding: 8px 12px; cursor: pointer;
}
.restbar[hidden] { display: none; }

/* ------------------------------------------------------------ the target */

.target {
  display: flex; align-items: baseline; gap: 10px;
  padding: 10px var(--pad); color: var(--muted); font-size: 0.9rem;
}
.target .aim { color: var(--text); font-weight: 700; }
.done-count {
  display: block; margin-top: 6px; font-size: 0.85rem;
  color: #ffb020; font-weight: 600;
}
.done-count.never { color: var(--muted); font-weight: 400; }

/* -------------------------------------------------------------- signing in */

.gate { padding: 64px var(--pad) var(--pad); }
.gate h1 { margin-bottom: 8px; }
.gate p { color: var(--muted); font-size: 0.92rem; margin-bottom: 22px; }
.gate input {
  width: 100%; min-height: 62px; padding: 16px var(--pad); margin-bottom: var(--gap);
  background: var(--surface-2); border: 0; color: var(--text);
  font: inherit; font-size: 1.25rem; letter-spacing: 0.08em;
}
.gate input:focus { outline: 2px solid var(--accent); outline-offset: -2px; }
.gate .warn { color: var(--danger); font-size: 0.9rem; margin-top: 12px; min-height: 20px; }

/* ------------------------------------------------- spacing between blocks */

.stack + .stack { margin-top: var(--gap); }
.btnrow + .btnrow { padding-top: 0; }
.chart { margin: 0 var(--pad); border: 1px solid var(--line); }
.seg { margin-bottom: 4px; }

/* ---------------------------------------------------- workouts on the home */

.stack.roomy { gap: 16px; }
.row.tall { min-height: 82px; padding: 16px var(--pad); }
.row.tall .name { font-size: 1.12rem; }
.row .count { display: flex; align-items: center; padding: 0 4px; }
.row .count .n {
  font-size: 1.15rem; font-weight: 800; color: var(--text);
  font-variant-numeric: tabular-nums;
}
.row.tall .tag { display: inline-block; margin-top: 8px; }

/* --------------------------------------------------------- filter scroller */

.chips.scroller {
  overflow-x: auto; -webkit-overflow-scrolling: touch;
  flex-wrap: nowrap; scrollbar-width: none;
}
.chips.scroller::-webkit-scrollbar { display: none; }
.chips.scroller button { flex: 0 0 auto; }

.btn.quiet { color: var(--muted); }

/* ------------------------------------------------------------ rest timer */

.restbar {
  position: fixed; left: 50%; transform: translateX(-50%);
  bottom: calc(61px + var(--safe-b)); z-index: 40;
  width: 100%; max-width: var(--col);
  display: flex; align-items: center; gap: 12px;
  padding: 12px var(--pad);
  background: var(--accent); color: var(--accent-ink);
  font-weight: 800; cursor: pointer; border: 0; font-family: inherit;
}
.restbar .time { font-size: 1.3rem; font-variant-numeric: tabular-nums; }
.restbar .grow { flex: 1; }
.restbar .skip { font-size: 0.85rem; font-weight: 700; opacity: 0.75; }
.restbar.done { background: #ffb020; color: #241800; }
.restbar.metro { bottom: calc(110px + var(--safe-b)); background: var(--surface-2); color: var(--text); }
.restbar.metro .bpm {
  background: var(--accent); color: var(--accent-ink); border: 0;
  font: inherit; font-weight: 800; padding: 8px 12px; cursor: pointer;
}
.restbar[hidden] { display: none; }

/* ------------------------------------------------------------ the target */

.target {
  display: flex; align-items: baseline; gap: 10px;
  padding: 10px var(--pad); color: var(--muted); font-size: 0.9rem;
}
.target .aim { color: var(--text); font-weight: 700; }
.done-count {
  display: block; margin-top: 6px; font-size: 0.85rem;
  color: #ffb020; font-weight: 600;
}
.done-count.never { color: var(--muted); font-weight: 400; }

/* -------------------------------------------------------------- signing in */

.gate { padding: 64px var(--pad) var(--pad); }
.gate h1 { margin-bottom: 8px; }
.gate p { color: var(--muted); font-size: 0.92rem; margin-bottom: 22px; }
.gate input {
  width: 100%; min-height: 62px; padding: 16px var(--pad); margin-bottom: var(--gap);
  background: var(--surface-2); border: 0; color: var(--text);
  font: inherit; font-size: 1.25rem; letter-spacing: 0.08em;
}
.gate input:focus { outline: 2px solid var(--accent); outline-offset: -2px; }
.gate .warn { color: var(--danger); font-size: 0.9rem; margin-top: 12px; min-height: 20px; }

/* ------------------------------------------------------------ set player */

.player {
  position: fixed; inset: 0; z-index: 70;
  display: flex; flex-direction: column;
  background: var(--bg);
  max-width: var(--col); margin: 0 auto;
  padding: env(safe-area-inset-top, 0px) var(--pad) calc(var(--pad) + var(--safe-b));
}
.player .top {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 60px; color: var(--muted); font-size: 0.9rem; font-weight: 600;
}
.player .stage {
  flex: 1; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 6px;
}
.player .phase {
  font-size: 3rem; font-weight: 800; letter-spacing: 0.02em; text-transform: uppercase;
  line-height: 1;
}
.player .count {
  font-size: 6.5rem; font-weight: 800; line-height: 1;
  font-variant-numeric: tabular-nums;
}
.player .sub { color: var(--muted); font-size: 1rem; }
.player .pips { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; max-width: 280px; }
.player .pip { width: 12px; height: 12px; background: var(--surface-2); }
.player .pip.on { background: var(--accent); }
.player .ring { width: 100%; height: 6px; background: var(--surface-2); margin-top: 10px; }
.player .ring i { display: block; height: 100%; background: var(--accent); }
.player .acts { display: flex; gap: var(--gap); }
.player .acts .btn { flex: 1; }

.player.rest .phase, .player.rest .count { color: #ffb020; }
.player.go .phase { color: var(--accent); }
.player.hold .phase { color: var(--muted); }
.player.done .phase { color: var(--accent); }

/* ------------------------------------------------------- finishing a workout */

.btn.huge { min-height: 74px; font-size: 1.25rem; letter-spacing: 0.01em; }

.tape { position: fixed; inset: 0; z-index: 80; pointer-events: none; overflow: hidden; }
.tape i {
  position: absolute; top: -20px; width: 7px;
  animation: fall linear forwards;
}
@keyframes fall {
  to { transform: translateY(110vh) rotate(540deg); opacity: 0.85; }
}

/* ------------------------------------------------------------- body parts */
/* Least recently trained at the top; a part not trained for a week reads as due. */
.row.part .when { display: block; margin-top: 6px; font-size: 0.85rem; color: var(--muted); }
.row.part.due .when { color: #ffb020; font-weight: 600; }
.row .meta.best { color: var(--accent); }

/* The record to beat, at the top of the exercise screen. */
.prev.record { margin-bottom: 4px; }
.prev .k {
  display: inline-block; width: 52px; color: var(--muted);
  font-size: 0.74rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em;
}

/* ------------------------------------------------------------------- note */
/* How a workout went, written at the end of it and read back week on week. */
.notebox {
  width: 100%; min-height: 120px; margin: 10px 0 14px;
  padding: 12px var(--pad);
  background: var(--surface-2); border: 1px solid var(--line);
  color: var(--text); font: inherit; font-size: 1rem; line-height: 1.45;
  resize: vertical;
}
.notebox:focus { outline: 0; border-color: var(--accent); }
/* A note is worth reading in full, so it is never clamped to two lines. */
.row .meta.note { -webkit-line-clamp: unset; display: block; white-space: pre-wrap; }
