@font-face {
  font-family: "Archivo";
  src: url("/fonts/archivo-normal.woff2") format("woff2");
  font-weight: 400 700;
  font-stretch: 75% 100%;
  font-display: swap;
}
@font-face {
  font-family: "Besley";
  src: url("/fonts/besley-normal.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: "Besley";
  src: url("/fonts/besley-italic.woff2") format("woff2");
  font-weight: 400 700;
  font-style: italic;
  font-display: swap;
}

:root {
  /* Black, white and gray only. State is carried by fill, weight, strike and shape. */
  --paper: oklch(0.985 0 0);
  --paper-deep: oklch(0.955 0 0);
  --band: oklch(0.93 0 0);
  --line: oklch(0.87 0 0);
  --line-strong: oklch(0.6 0 0);
  --some: oklch(0.72 0 0);
  --pencil: oklch(0.46 0 0);
  --ink: oklch(0.18 0 0);
  /* Cover rail */
  --cover: oklch(0.18 0 0);
  --cover-lift: oklch(0.29 0 0);
  --on-cover: oklch(0.985 0 0);
  --on-cover-muted: oklch(0.78 0 0);
  /* Sources for the Today block, which is drawn with a difference blend so it can
     turn from white to black under a wipe: white reads as ink on paper and as paper on ink. */
  --d-strong: oklch(1 0 0);
  --d-muted: oklch(0.72 0 0);
  --d-ghost: oklch(0.27 0 0);

  --font-ui: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-book: "Besley", "Iowan Old Style", Georgia, serif;
  --font-code: ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --text-s: 0.8125rem;
  --text-m: 0.9375rem;
  --text-l: 1.0625rem;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  color-scheme: light;
  scrollbar-color: var(--line-strong) transparent;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1rem/1.5 var(--font-ui);
  -webkit-font-smoothing: antialiased;
  caret-color: var(--ink);
}

::selection {
  background: var(--ink);
  color: var(--paper);
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
  text-decoration-color: var(--line-strong);
}
a:hover {
  text-decoration-color: currentColor;
}

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
  border-radius: 1px;
}

h1,
h2,
h3,
h4,
h5,
p,
ol,
ul,
dl,
dd {
  margin: 0;
}
ol,
ul {
  padding: 0;
  list-style: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  text-align: inherit;
}

.skip {
  position: absolute;
  left: 0.5rem;
  top: -4rem;
  z-index: 10;
  padding: 0.5rem 0.75rem;
  background: var(--paper);
  border: 1px solid var(--ink);
}
.skip:focus {
  top: 0.5rem;
}

.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.icon {
  width: 1rem;
  height: 1rem;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
  vertical-align: -0.15em;
}

/* ---------- Shell: cover rail, conversation, mark book ---------- */

.book {
  /* How wide the rail and the mark book are. Closed, each keeps a 3rem edge to open it by. */
  --rail: 16.5rem;
  --record: clamp(22rem, 31vw, 27rem);
  display: grid;
  grid-template-columns: var(--rail) minmax(0, 1fr);
  min-height: 100dvh;
}
.book.record-wide {
  --record: min(54rem, 52vw);
}
/* With a tutor the window is a fixed frame: the rail, the conversation and the mark book each scroll on their own. */
.book.has-tutor {
  height: 100dvh;
  min-height: 0;
  grid-template-rows: minmax(0, 1fr);
}

.cover {
  position: sticky;
  top: 0;
  height: 100dvh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  padding: 1.5rem 0.75rem 1rem;
  background: var(--cover);
  color: var(--on-cover);
  scrollbar-color: var(--cover-lift) transparent;
}
.cover :focus-visible {
  outline-color: var(--on-cover);
}
.cover ::selection {
  background: var(--on-cover);
  color: var(--cover);
}

.cover__brand {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem;
  padding-right: 0.25rem;
}
/* Opens or closes a pane: the rail of tracks, or the mark book. */
.pane-button {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4375rem;
  min-height: 2.25rem;
  padding: 0 0.6875rem;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  font-size: var(--text-m);
  font-weight: 600;
  transition:
    background-color 150ms ease-out,
    color 150ms ease-out;
}
.pane-button--icon {
  width: 2.25rem;
  padding: 0;
}
.pane-button:hover,
.record__edge:hover .pane-button {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
}
.cover .pane-button {
  border-color: var(--on-cover-muted);
}
.cover .pane-button:hover,
.cover__spine:hover .pane-button {
  border-color: var(--on-cover);
  background: var(--on-cover);
  color: var(--cover);
}
/* What a closed pane leaves showing: its edge, with the name running down it. Pressing anywhere on it opens the pane. */
.cover__spine,
.record__edge {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  width: 100%;
  height: 100%;
  padding-top: 1.4375rem;
  transition: background-color 150ms ease-out;
}
.cover__spine-name,
.record__edge-name {
  writing-mode: vertical-rl;
  white-space: nowrap;
}
.cover__spine-name {
  font: 600 1.125rem/1 var(--font-book);
}
.record__edge-name {
  font-size: var(--text-m);
  font-weight: 600;
}
.cover__spine:hover {
  background: var(--cover-lift);
}
.record__edge:hover {
  background: var(--paper-deep);
}
.cover__spine:focus-visible,
.record__edge:focus-visible {
  outline-offset: -2px;
}
@media (min-width: 54.01rem) {
  .book.rail-closed {
    --rail: 3rem;
  }
  .rail-closed .cover {
    padding: 0;
    overflow: hidden;
  }
  .rail-closed .cover > :not(.cover__spine) {
    display: none;
  }
  .rail-closed .cover__spine {
    display: flex;
  }
}
.cover__name {
  padding: 0 0.75rem;
  font: 600 1.375rem/1.2 var(--font-book);
  text-decoration: none;
}
.cover__motto {
  padding: 0.25rem 0.75rem 0;
  font-size: var(--text-s);
  color: var(--on-cover-muted);
}
.cover__button {
  display: none;
  align-items: center;
  min-height: 2.25rem;
  padding: 0 0.75rem;
  border: 1px solid var(--on-cover-muted);
  border-radius: 2px;
  font-size: var(--text-m);
  font-weight: 600;
}
.cover__button:hover,
.cover__button[aria-expanded="true"] {
  background: var(--cover-lift);
}
.cover__account {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem 0.75rem 0;
  font-size: var(--text-s);
  color: var(--on-cover-muted);
}
.cover__account[hidden] {
  display: none;
}
.cover__account span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.cover__account button {
  flex: none;
  color: var(--on-cover);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}
.cover__nav {
  margin-top: 1.25rem;
  flex: 1;
}
.cover__live {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 0.75rem 0;
  font-size: var(--text-s);
  color: var(--on-cover-muted);
}
.cover__live::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  border: 1px solid currentColor;
}
.cover__live.is-live::before {
  background: currentColor;
}

/* Fields on the cover: the search box and the new-track form. */
.find {
  margin: 0.75rem 0 0;
  padding: 0 0.25rem;
}
.find input,
.newtrack__form input,
.newtrack__form textarea {
  display: block;
  width: 100%;
  min-height: 2.25rem;
  padding: 0.375rem 0.5rem;
  border: 1px solid var(--on-cover-muted);
  border-radius: 2px;
  background: transparent;
  color: var(--on-cover);
  caret-color: var(--on-cover);
  font: inherit;
  font-size: var(--text-m);
  line-height: 1.4;
}
.find input::placeholder {
  color: var(--on-cover-muted);
  opacity: 1;
}
.find input::-webkit-search-cancel-button {
  appearance: none;
}
.find input:focus-visible,
.newtrack__form input:focus-visible,
.newtrack__form textarea:focus-visible {
  outline-offset: 0;
  border-color: var(--on-cover);
}

.nav-group {
  margin-top: 1rem;
}
.nav-link {
  display: grid;
  grid-template-columns: 1.75rem minmax(0, 1fr) auto;
  gap: 0 0.5rem;
  align-items: baseline;
  padding: 0.4375rem 0.75rem;
  border-radius: 2px;
  font-size: var(--text-m);
  line-height: 1.3;
  text-decoration: none;
  transition: background-color 150ms ease-out;
}
.nav-link--top,
.nav-link--track {
  grid-template-columns: minmax(0, 1fr) auto;
  font-weight: 600;
}
.nav-link:hover {
  background: var(--cover-lift);
}
.nav-link[aria-current="page"] {
  background: var(--paper);
  color: var(--ink);
}
.nav-link.is-planned:not([aria-current]) {
  color: var(--on-cover-muted);
}
.nav-code {
  font-weight: 600;
  font-stretch: 88%;
  font-variant-numeric: tabular-nums;
}
.nav-meta {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: var(--text-s);
  font-weight: 400;
  font-variant-numeric: tabular-nums;
}
.nav-dot {
  width: 0.4375rem;
  height: 0.4375rem;
  border-radius: 50%;
  background: currentColor;
}
/* The subskill a search matched, under the topic that holds it. */
.nav-hit {
  display: block;
  font-size: var(--text-s);
  color: var(--on-cover-muted);
}
.nav-link[aria-current="page"] .nav-hit {
  color: var(--pencil);
}
.nav-label,
.nav-note {
  padding: 0.3125rem 0.75rem;
  font-size: var(--text-s);
  color: var(--on-cover-muted);
}
.nav-label {
  font-weight: 600;
}

.newtrack {
  margin-top: 1.25rem;
  padding: 0 0.25rem;
}
.newtrack__open {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  min-height: 2.25rem;
  padding: 0 0.5rem;
  border: 1px solid var(--cover-lift);
  border-radius: 2px;
  font-size: var(--text-m);
  font-weight: 600;
  transition: background-color 150ms ease-out;
}
.newtrack__open[hidden] {
  display: none;
}
.newtrack__open:hover {
  background: var(--cover-lift);
}
.newtrack__form {
  display: grid;
  gap: 0.375rem;
}
.newtrack__form[hidden] {
  display: none;
}
.newtrack__form label {
  margin-top: 0.375rem;
  font-size: var(--text-s);
  font-weight: 600;
}
.newtrack__form label span {
  font-weight: 400;
  color: var(--on-cover-muted);
}
.newtrack__form textarea {
  min-height: 4.5rem;
  resize: vertical;
}
.newtrack__create {
  min-height: 2.25rem;
  padding: 0 0.75rem;
  border: 1px solid var(--paper);
  border-radius: 2px;
  background: var(--paper);
  color: var(--ink);
  font-size: var(--text-m);
  font-weight: 600;
}
.newtrack__create:hover {
  background: var(--cover);
  color: var(--on-cover);
}
.newtrack__cancel {
  font-size: var(--text-m);
  color: var(--on-cover-muted);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}
.newtrack__cancel:hover {
  color: var(--on-cover);
}
.form-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 0.5rem;
}
.form-error {
  font-size: var(--text-s);
  font-weight: 600;
}
.form-error[hidden] {
  display: none;
}

.nav-hidden {
  margin-top: 0.75rem;
  padding: 0 0.25rem;
  font-size: var(--text-s);
  color: var(--on-cover-muted);
}
.nav-hidden summary {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.375rem 0.5rem;
  cursor: pointer;
}
.nav-hidden summary:hover {
  color: var(--on-cover);
}
.nav-hidden li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.3125rem 0.5rem 0.3125rem 1.75rem;
}
.nav-hidden a {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-decoration: none;
}
.nav-hidden a:hover,
.nav-hidden button {
  color: var(--on-cover);
}
.nav-hidden button {
  flex: none;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

/* ---------- Conversation ---------- */

.talk {
  /* What is said sits in one column, centred in whatever room the rail and the mark book leave. */
  --gutter: max(1.5rem, calc((100% - 44rem) / 2));
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  outline: none;
}
.talk[hidden] {
  display: none;
}
.talk__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1.25rem;
  padding: 1.125rem var(--gutter) 0.875rem;
  border-bottom: 1px solid var(--line);
}
/* Short of room, the title keeps a readable line and the actions drop beneath it. */
.talk__where {
  flex: 1 1 16rem;
  min-width: 0;
}
.talk__head h1 {
  font-size: 1.375rem;
  line-height: 1.25;
}
#talk-sub {
  display: flex;
  flex-wrap: wrap;
  gap: 0 1rem;
  margin-top: 0.1875rem;
  font-size: var(--text-s);
  color: var(--pencil);
  font-variant-numeric: tabular-nums;
}
.talk__record {
  flex: none;
  min-height: 2.25rem;
  padding: 0 0.75rem;
  border: 1px solid var(--ink);
  border-radius: 2px;
  font-size: var(--text-m);
  font-weight: 600;
  transition:
    background-color 150ms ease-out,
    color 150ms ease-out;
}
.talk__record:hover,
.talk__record[aria-expanded="true"] {
  background: var(--ink);
  color: var(--paper);
}
.link {
  flex: none;
  font-size: var(--text-m);
  color: var(--pencil);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
  text-decoration-color: var(--line-strong);
}
.link:hover:not(:disabled) {
  color: var(--ink);
  text-decoration-color: currentColor;
}
.link:disabled {
  cursor: default;
  text-decoration: none;
}

.talk__log {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  display: flex;
  flex-direction: column;
  gap: 1.125rem;
  padding: 1.5rem var(--gutter) 1.25rem;
  scrollbar-color: var(--line-strong) transparent;
}
.talk__log:focus-visible {
  outline-offset: -2px;
}
.turn {
  overflow-wrap: anywhere;
}
.turn--tutor {
  line-height: 1.6;
}
.turn p + p,
.turn p + pre,
.turn pre + p {
  margin-top: 0.7em;
}
.turn pre {
  font-size: var(--text-s);
}
.turn--user {
  align-self: flex-end;
  max-width: 85%;
  padding: 0.5rem 0.75rem;
  border-radius: 2px;
  background: var(--band);
}
.turn--recorded,
.turn--note {
  display: flex;
  align-items: baseline;
  gap: 0.375rem;
  font-size: var(--text-s);
  color: var(--pencil);
}
.turn--recorded .icon {
  width: 0.8125rem;
  height: 0.8125rem;
  align-self: center;
  color: var(--ink);
}
.turn--problem {
  padding: 0.625rem 0.75rem;
  border: 1px solid var(--ink);
  border-radius: 2px;
  font-size: var(--text-m);
}
.turn--problem button {
  margin-left: 0.5rem;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}
/* An untouched conversation: what it is for, and the one thing most worth saying. */
.talk__start {
  max-width: 34rem;
  margin: auto 0;
}
.talk__start p {
  font-size: var(--text-l);
  color: var(--pencil);
}
.talk__start .act {
  margin-top: 1.125rem;
}

.talk__form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 0.5rem;
  padding: 0.75rem var(--gutter) 1.25rem;
  border-top: 1px solid var(--line);
}
.talk__form textarea,
.trackform input,
.trackform textarea {
  display: block;
  width: 100%;
  padding: 0.5rem 0.625rem;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  line-height: 1.4;
}
.talk__form textarea {
  min-height: 4rem;
  max-height: 14rem;
  resize: none;
}
.talk__form textarea::placeholder {
  color: var(--pencil);
  opacity: 1;
}
.talk__form textarea:focus-visible,
.trackform input:focus-visible,
.trackform textarea:focus-visible {
  outline-offset: 0;
  border-color: var(--ink);
}
/* The one filled button: the thing to do next. */
.act,
.talk__send {
  display: inline-flex;
  align-items: center;
  min-height: 2.5rem;
  padding: 0 0.875rem;
  border: 1px solid var(--ink);
  border-radius: 2px;
  background: var(--ink);
  color: var(--paper);
  font-weight: 600;
  transition:
    background-color 150ms ease-out,
    color 150ms ease-out;
}
.act:hover:not(:disabled),
.talk__send:hover:not(:disabled) {
  background: var(--paper);
  color: var(--ink);
}
.act:active:not(:disabled),
.talk__send:active:not(:disabled) {
  transform: translateY(1px);
}
.talk__send:disabled {
  border-color: var(--line-strong);
  background: var(--paper);
  color: var(--pencil);
  cursor: default;
}

/* Mathematics, set by KaTeX. The page stays black, white and gray whatever the source asks for. */
.katex {
  font-size: 1.12em;
}
.katex [style*="color"] {
  color: inherit !important;
  border-color: currentColor !important;
}
.math--display {
  margin: 0.8em 0;
  padding: 0.125rem 0;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-color: var(--line-strong) transparent;
}
.math--display .katex-display {
  margin: 0;
}

/* ---------- Mark book ---------- */

/* Without a tutor on the page the mark book is the page. */
.record {
  margin-top: 0;
  min-width: 0;
  outline: none;
}
.record__head {
  display: none;
}
.record__page {
  /* Layout inside answers to the room the mark book has, not to the window. */
  container: page / inline-size;
  padding: 2rem 2.5rem 4rem;
}

/* With one it is a drawer: beside the conversation in a wide window, over it in a narrow one. */
.has-tutor .record {
  display: flex;
  flex-direction: column;
  min-height: 0;
  border-left: 1px solid var(--line-strong);
  background: var(--paper);
}
/* As tall as the conversation's head with a one-line title, so the two rules meet. */
.has-tutor .record__head {
  display: flex;
  flex: none;
  align-items: center;
  gap: 1rem;
  min-height: 5.1875rem;
  padding: 0 1.25rem;
  border-bottom: 1px solid var(--line);
}
.record__head h2 {
  margin-right: auto;
}
.has-tutor .record__page {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 1.25rem 1.25rem 3rem;
  scrollbar-color: var(--line-strong) transparent;
}
@media (min-width: 64rem) {
  .book.has-tutor {
    grid-template-columns: var(--rail) minmax(0, 1fr) var(--record);
  }
  .book.has-tutor:not(.record-open) {
    --record: 3rem;
  }
  .has-tutor:not(.record-open) .record__head,
  .has-tutor:not(.record-open) .record__page {
    display: none;
  }
  .has-tutor:not(.record-open) .record__edge {
    display: flex;
  }
  /* The edge does this job here; the button in the conversation's head is for narrower windows. */
  .talk__record {
    display: none;
  }
}
@media (max-width: 63.99rem) {
  .has-tutor .record {
    position: fixed;
    inset: 0 0 0 auto;
    z-index: 6;
    width: min(100%, 30rem);
    border-left-color: var(--ink);
  }
  .has-tutor:not(.record-open) .record {
    display: none;
  }
  .record__wide {
    display: none;
  }
}

/* A track's own line of actions, and the form that renames it. */
.track-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
  margin-top: 0.625rem;
  font-size: var(--text-m);
  color: var(--pencil);
}
.trackform {
  display: grid;
  gap: 0.375rem;
  max-width: 32rem;
}
.trackform label {
  margin-top: 0.375rem;
  font-size: var(--text-s);
  font-weight: 600;
  color: var(--pencil);
}
.trackform textarea {
  min-height: 4.5rem;
  resize: vertical;
}

/* ---------- Sign-in: the closed book ---------- */

.door {
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 2rem 1.5rem;
  background: var(--cover);
  color: var(--on-cover);
}
.door main {
  width: min(100%, 24rem);
  padding: 0;
}
.door h1 {
  font-size: 2.5rem;
  line-height: 1.1;
}
.door__motto {
  margin-top: 0.375rem;
  color: var(--on-cover-muted);
}
.door__note {
  margin-top: 2.5rem;
  font-size: var(--text-l);
}
.door__enter {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  margin-top: 1.25rem;
  padding: 0 1.125rem;
  border: 1px solid var(--paper);
  border-radius: 2px;
  background: var(--paper);
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
}
.door__enter:hover {
  background: var(--cover);
  color: var(--on-cover);
}
.door :focus-visible {
  outline-color: var(--on-cover);
}

.page {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 18.5rem;
  gap: 2.5rem 2.75rem;
  max-width: 80rem;
}
.page__main {
  min-width: 0;
}
.page__aside {
  padding-top: 0.25rem;
}

/* ---------- Page head ---------- */

h1,
.t-title {
  font: 600 1.75rem/1.2 var(--font-book);
  text-wrap: balance;
}
h1 .code,
.t-title .code {
  margin-right: 0.5rem;
  font-weight: 400;
  color: var(--pencil);
}
.scope {
  max-width: 68ch;
  margin-top: 0.375rem;
  color: var(--pencil);
}
h2,
.t-section {
  font: 600 var(--text-l) / 1.3 var(--font-ui);
}
.t-sub {
  font: 600 var(--text-s) / 1.3 var(--font-ui);
  color: var(--pencil);
}

.totals {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem 1.75rem;
  margin-top: 1rem;
  font-size: var(--text-m);
  font-variant-numeric: tabular-nums;
}
.totals div {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.totals dt {
  color: var(--pencil);
}
.totals dd {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
}

.bar {
  display: inline-block;
  width: 5rem;
  height: 0.5rem;
  border: 1px solid var(--ink);
}
.bar i {
  display: block;
  height: 100%;
  background: var(--ink);
}

section {
  margin-top: 2.75rem;
}
.page__aside section:first-child {
  margin-top: 0;
}
section > .t-section {
  margin-bottom: 0.75rem;
}

.empty {
  max-width: 62ch;
  color: var(--pencil);
}

/* ---------- Today ---------- */

.today {
  position: relative;
  isolation: isolate;
  overflow: clip;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1.25rem 2rem;
  margin-top: 0;
  padding: 1.5rem 1.75rem 1.625rem;
  border: 2px solid var(--ink);
  background: var(--paper);
}
/* The ink that floods the block once the day's goal is met. */
.today::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--ink);
  clip-path: inset(0 100% 0 0);
}
.today.is-done::before {
  clip-path: inset(0);
}
.today.is-done.is-fresh::before {
  animation: wipe 680ms var(--ease) 420ms backwards;
}
@keyframes wipe {
  from {
    clip-path: inset(0 100% 0 0);
  }
}
.today > * {
  position: relative;
  z-index: 1;
  color: var(--d-strong);
  mix-blend-mode: difference;
}
.today .t-title {
  font-size: 2.5rem;
  line-height: 1.1;
}
.today__sub {
  max-width: 36ch;
  margin-top: 0.5rem;
  font-size: var(--text-l);
  color: var(--d-muted);
}

.week {
  display: flex;
  gap: 0.5rem;
  margin-top: 1.25rem;
}
.week li {
  display: grid;
  justify-items: center;
  gap: 0.25rem;
  font-size: var(--text-s);
  color: var(--d-muted);
}
.week .is-today {
  font-weight: 700;
  color: var(--d-strong);
}
.week__box {
  width: 1.25rem;
  height: 1.25rem;
  border: 1.5px solid var(--d-strong);
  background: linear-gradient(var(--d-strong), var(--d-strong)) no-repeat bottom / 100% 0;
}
.week .is-counted .week__box {
  background-size: 100% 100%;
}
.week .is-fresh .week__box {
  animation: fill-up 420ms var(--ease) backwards;
}
@keyframes fill-up {
  from {
    background-size: 100% 0;
  }
}

.today__tally {
  justify-self: end;
  text-align: right;
}
.tally {
  display: block;
  height: 6rem;
  margin-left: auto;
  fill: none;
  stroke: var(--d-strong);
  stroke-width: 4;
  stroke-linecap: round;
}
.tally__ghost {
  stroke: var(--d-ghost);
}
.tally__stroke.is-new {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: draw 300ms var(--ease) calc(var(--i) * 110ms) forwards;
}
@keyframes draw {
  to {
    stroke-dashoffset: 0;
  }
}
.today__count {
  margin-top: 0.5rem;
  font-size: var(--text-m);
  font-variant-numeric: tabular-nums;
  color: var(--d-muted);
}

/* Goal met: a short burst of specks from the tally, clipped to the block. */
.spark {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: var(--s);
  height: var(--s);
  background: var(--d-strong);
  pointer-events: none;
  opacity: 0;
  animation: spark 820ms var(--ease) 380ms;
}
@keyframes spark {
  from {
    transform: none;
    opacity: 1;
  }
  to {
    transform: translate(var(--dx), var(--dy)) rotate(var(--r));
    opacity: 0;
  }
}

/* A number that changed rolls over: the old value leaves upward as the new one arrives. */
.roll {
  display: inline-grid;
  overflow: clip;
  overflow-clip-margin: 0.12em;
}
.roll > * {
  grid-area: 1 / 1;
}
.roll__out {
  animation: roll-out 480ms var(--ease) forwards;
}
.roll__in {
  animation: roll-in 480ms var(--ease) backwards;
}
@keyframes roll-out {
  to {
    transform: translateY(-105%);
    filter: blur(2px);
    opacity: 0;
  }
}
@keyframes roll-in {
  from {
    transform: translateY(105%);
    filter: blur(2px);
    opacity: 0;
  }
}

/* The strip above a track's or a topic's record: the run and the tally, without the week. */
.today.today--compact {
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.5rem 1rem;
  margin-top: 1.25rem;
  padding: 0.875rem 1rem 0.9375rem;
}
.today.today--compact .t-title {
  font-size: 1.125rem;
  line-height: 1.2;
}
.today--compact .today__sub {
  margin-top: 0.1875rem;
  font-size: var(--text-m);
}
.today--compact .today__tally {
  justify-self: end;
}
.today--compact .tally {
  height: 2.75rem;
  margin-left: auto;
}
.today--compact .today__count {
  display: none;
}

/* ---------- Do next ---------- */

.next {
  border-top: 1px solid var(--line-strong);
}
.next li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.375rem 1.5rem;
  padding: 0.875rem 0;
  border-bottom: 1px solid var(--line);
}
.next__what a,
.next__what strong {
  font-weight: 600;
}
.next__what span {
  display: block;
  font-size: var(--text-m);
  color: var(--pencil);
}
.say {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
}
.say code {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  max-width: 22rem;
  padding: 0.25rem 0.5rem;
  font-size: var(--text-s);
}
.copy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  flex: none;
  min-width: 5rem;
  min-height: 2rem;
  padding: 0 0.625rem;
  border: 1px solid var(--ink);
  border-radius: 2px;
  font-size: var(--text-m);
  font-weight: 600;
  transition:
    background-color 150ms ease-out,
    color 150ms ease-out;
}
.copy:hover,
.copy.is-copied {
  background: var(--ink);
  color: var(--paper);
}
.copy:active {
  transform: translateY(1px);
}

/* ---------- Path ---------- */

.tracks {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 2rem 2.5rem;
}
.track .t-sub {
  margin-bottom: 0.625rem;
}
.node {
  position: relative;
}
.node:not(:last-child)::before {
  content: "";
  position: absolute;
  left: calc(0.75rem - 1px);
  top: 2rem;
  bottom: -0.375rem;
  width: 2px;
  background: var(--line);
}
.node.is-complete:not(:last-child)::before {
  background: var(--ink);
}
.node a {
  display: grid;
  grid-template-columns: 1.5rem minmax(0, 1fr);
  gap: 0 0.75rem;
  align-items: start;
  padding: 0.4375rem 0;
  text-decoration: none;
}
.node__dot {
  position: relative;
  display: grid;
  place-items: center;
  width: 1.5rem;
  height: 1.5rem;
  border: 1.5px solid var(--line-strong);
  border-radius: 50%;
  background: var(--paper);
  color: var(--paper);
}
.node.is-active .node__dot {
  border-color: var(--ink);
  background: linear-gradient(to top, var(--ink) var(--fill), var(--paper) var(--fill));
}
.node.is-complete .node__dot {
  border-color: var(--ink);
  background: var(--ink);
}
.node__dot .icon {
  width: 0.8125rem;
  height: 0.8125rem;
  stroke-width: 2.25;
}
.node.is-current .node__dot::after {
  content: "";
  position: absolute;
  inset: -1.5px;
  border: 1.5px solid var(--ink);
  border-radius: 50%;
  animation: breathe 2.8s ease-out infinite;
}
@keyframes breathe {
  from {
    transform: scale(1);
    opacity: 0.7;
  }
  70%,
  to {
    transform: scale(1.9);
    opacity: 0;
  }
}
.node__title {
  font-weight: 500;
  line-height: 1.4;
}
.node.is-planned .node__title {
  font-weight: 400;
  color: var(--pencil);
}
.node a:hover .node__title {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}
.node__meta {
  display: block;
  font-size: var(--text-s);
  color: var(--pencil);
  font-variant-numeric: tabular-nums;
}

/* ---------- Six-week grid ---------- */

.days {
  display: grid;
  grid-template-columns: repeat(7, 1.75rem);
  gap: 0.25rem;
}
.days__head {
  font-size: var(--text-s);
  text-align: center;
  color: var(--pencil);
}
.day {
  height: 1.75rem;
  border: 1px solid var(--line);
}
.day.is-some {
  border-color: var(--some);
  background: var(--some);
}
.day.is-met {
  border-color: var(--ink);
  background: var(--ink);
}
.day.is-today {
  outline: 1.5px solid var(--ink);
  outline-offset: 2px;
}
.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1rem;
  margin-top: 0.75rem;
  font-size: var(--text-s);
  color: var(--pencil);
}
.legend span {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
}
.legend .day {
  width: 0.75rem;
  height: 0.75rem;
}
.facts {
  margin-top: 0.875rem;
  font-size: var(--text-m);
  font-variant-numeric: tabular-nums;
}
.facts div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.3125rem 0;
  border-top: 1px solid var(--line);
}
.facts dt {
  color: var(--pencil);
}
.facts dd {
  font-weight: 600;
}

/* ---------- Question in hand ---------- */

.question {
  margin-top: 1.75rem;
  padding: 1rem 0 1.25rem;
  border-top: 2px solid var(--ink);
  border-bottom: 1px solid var(--line-strong);
}
.today + .question {
  margin-top: 2.25rem;
}
.question__text {
  max-width: 34em;
  font: 500 1.625rem/1.36 var(--font-book);
  text-wrap: pretty;
}
.question--last .question__text {
  font-size: 1.125rem;
  line-height: 1.45;
}
.question__text p + p,
.question__text p + pre,
.question__text pre + p {
  margin-top: 0.6em;
}
.question__meta {
  margin-top: 0.875rem;
  font-size: var(--text-m);
  color: var(--pencil);
}
.question__meta strong {
  font-weight: 600;
  color: var(--ink);
}
.question.is-new .question__text {
  animation: reveal 620ms var(--ease) backwards;
}
@keyframes reveal {
  from {
    clip-path: inset(0 0 100% 0);
    filter: blur(6px);
    opacity: 0.2;
  }
  to {
    clip-path: inset(0 0 -1rem 0);
  }
}
.icon.is-drawn path {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: draw 460ms var(--ease) 120ms forwards;
}

code,
pre {
  font-family: var(--font-code);
  font-size: 0.82em;
}
:not(pre) > code {
  padding: 0.08em 0.3em;
  background: var(--paper-deep);
  border-radius: 2px;
}
pre {
  max-width: 100%;
  margin: 0;
  padding: 0.75rem 1rem;
  overflow-x: auto;
  background: var(--paper-deep);
  border-left: 1px solid var(--line-strong);
  font-size: var(--text-m);
  font-weight: 400;
  line-height: 1.5;
  tab-size: 2;
}

/* ---------- Register ---------- */

.register-wrap {
  /* Contains the visually hidden labels inside scrolled cells, which would otherwise widen the page. */
  position: relative;
  overflow-x: auto;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}
.register {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: var(--text-m);
  font-variant-numeric: tabular-nums;
}
.register th,
.register td {
  padding: 0.5rem 0.75rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: middle;
  font-weight: 400;
}
.register tbody tr:last-child > * {
  border-bottom: 0;
}
.register thead th {
  padding-block: 0.4375rem;
  border-bottom-color: var(--line-strong);
  font-size: var(--text-s);
  font-weight: 600;
  color: var(--pencil);
  white-space: nowrap;
}
.register .num {
  text-align: right;
  white-space: nowrap;
}
.register .muted {
  color: var(--pencil);
}
.more {
  margin-top: 0.5rem;
  font-size: var(--text-s);
  color: var(--pencil);
}

/* The name column sits left of a double margin rule, as in a ruled record book. */
.register .c-name {
  position: sticky;
  left: 0;
  z-index: 1;
  min-width: 11.5rem;
  background: var(--paper);
  border-right: 3px double var(--line-strong);
}
.register .c-session {
  width: 3.25rem;
  min-width: 3.25rem;
  padding-inline: 0.25rem;
  border-right: 1px solid var(--line);
  text-align: center;
}
.register thead .c-session.is-open {
  color: var(--ink);
}
.register .c-level {
  width: 10rem;
  min-width: 10rem;
  border-left: 1px solid var(--ink);
  border-right: 1px solid var(--ink);
}
.register .c-session + .c-level {
  border-left-width: 0;
  box-shadow: -1px 0 0 var(--ink);
}
.register .c-review {
  width: 7.5rem;
  min-width: 7.5rem;
  white-space: nowrap;
}

.register tr.is-focus > * {
  background: var(--band);
}
.register .title {
  font-weight: 600;
}
.register .sub {
  display: block;
  font-size: var(--text-s);
  color: var(--pencil);
}

.row-toggle {
  display: flex;
  align-items: flex-start;
  gap: 0.375rem;
  width: 100%;
  font-weight: 500;
  line-height: 1.35;
}
.row-toggle .icon {
  margin-top: 0.2em;
  transition: transform 150ms ease-out;
}
.row-toggle[aria-expanded="true"] .icon {
  transform: rotate(90deg);
}
.row-toggle:hover .row-toggle__name {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}
.is-focus .row-toggle {
  font-weight: 700;
}
.focus-tag {
  display: block;
  margin-left: 1.375rem;
  font-size: var(--text-s);
}

.cell {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.1875rem;
  min-width: 2.75rem;
  min-height: 2rem;
  border-radius: 2px;
}
.cell:hover {
  background: var(--paper-deep);
}
.is-focus .cell:hover {
  background: var(--paper);
}
.cell.is-fresh {
  animation: wet-ink 2.4s ease-out;
}
@keyframes wet-ink {
  from {
    background: var(--ink);
    color: var(--paper);
  }
  30% {
    background: var(--band);
    color: var(--ink);
  }
}

.mark {
  font: 600 1.125rem/1 var(--font-book);
}
.mark--pencil {
  font-style: italic;
  font-weight: 500;
  color: var(--pencil);
}
.mark--struck {
  font-weight: 500;
  color: var(--pencil);
  text-decoration: line-through var(--ink) 1.5px;
}

.level {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.level__num {
  min-width: 0.75em;
  font: 600 1.375rem/1 var(--font-book);
}
.level__num.is-unplaced {
  font-weight: 400;
  color: var(--pencil);
}
.level__of {
  margin-left: -0.3rem;
  font-size: var(--text-s);
  color: var(--pencil);
}
.level__review {
  display: none;
  font-size: var(--text-s);
  line-height: 1.25;
}
.level__name {
  display: block;
  margin-top: 0.1875rem;
  font-size: var(--text-s);
  line-height: 1.25;
  color: var(--pencil);
}
.pips {
  display: inline-flex;
  gap: 2px;
}
.pips i {
  width: 0.5625rem;
  height: 0.5625rem;
  border: 1px solid var(--ink);
}
.pips i.is-filled {
  background: var(--ink);
}
.pips i.is-beyond {
  border-color: var(--line-strong);
}
.pips i.is-beyond.is-filled {
  background: var(--line-strong);
}
.pips i.is-new {
  animation: pip 300ms var(--ease) calc(var(--i) * 100ms + 240ms) backwards;
}
@keyframes pip {
  from {
    background: transparent;
    transform: scale(0.3);
  }
}

.due-now {
  font-weight: 600;
}

.entries > td {
  padding: 0;
  background: var(--paper-deep);
}
.entries ol {
  position: sticky;
  left: 0;
  max-width: min(44rem, 86vw);
  padding: 0.75rem 1rem 0.875rem 2.125rem;
}
.entries li + li {
  margin-top: 0.625rem;
}
.entries time,
.entries .what {
  font-size: var(--text-s);
}
.entries time {
  color: var(--pencil);
}
.entries .what {
  margin-left: 0.5rem;
  font-weight: 600;
}
.entries p {
  max-width: 68ch;
}

/* ---------- Sessions ---------- */

.sessions {
  border-top: 1px solid var(--line-strong);
}
.session {
  border-bottom: 1px solid var(--line);
}
.session summary {
  display: grid;
  grid-template-columns: 1rem 4.5rem minmax(0, 1fr);
  gap: 0.125rem 0.5rem;
  align-items: baseline;
  padding: 0.5625rem 0;
  font-size: var(--text-m);
  cursor: pointer;
}
summary {
  list-style: none;
}
summary::-webkit-details-marker {
  display: none;
}
summary .icon {
  align-self: center;
  transition: transform 150ms ease-out;
}
details[open] > summary .icon {
  transform: rotate(90deg);
}
.session summary:hover .session__date {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}
.session__date {
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.session__tally {
  color: var(--pencil);
}
.session__summary {
  grid-column: 3;
  max-width: 68ch;
}
.session__body {
  padding: 0.25rem 0 1rem 6.5rem;
}

.qlist li {
  display: grid;
  grid-template-columns: 1.25rem minmax(0, 1fr);
  gap: 0 0.375rem;
  max-width: 68ch;
}
.qlist li + li {
  margin-top: 0.75rem;
}
.qlist .icon {
  margin-top: 0.25rem;
}
.qlist .verdict {
  grid-column: 2;
  font-size: var(--text-s);
  color: var(--pencil);
}
.qlist .verdict strong {
  font-weight: 600;
  color: var(--ink);
}

/* ---------- Aside ---------- */

.page__aside section {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line-strong);
}
.page__aside section:first-child {
  padding-top: 0.875rem;
  border-top: 2px solid var(--ink);
}
.page__aside .t-section {
  font-size: 1rem;
}
.page__aside .t-sub {
  margin: 0.875rem 0 0.25rem;
}
.page__aside .empty {
  font-size: var(--text-m);
}

.plain li {
  padding: 0.4375rem 0;
  font-size: var(--text-m);
  line-height: 1.4;
}
.plain li + li {
  border-top: 1px solid var(--line);
}
.plain .meta {
  display: block;
  font-size: var(--text-s);
  color: var(--pencil);
  font-variant-numeric: tabular-nums;
}

.misconception {
  display: grid;
  grid-template-columns: 1rem minmax(0, 1fr);
  gap: 0 0.375rem;
}
.misconception .icon {
  margin-top: 0.2rem;
}
.misconception > :not(.icon) {
  grid-column: 2;
}
.misconception.is-resolved .text {
  color: var(--pencil);
  text-decoration: line-through;
  text-decoration-thickness: 1px;
}

.resolved {
  margin-top: 0.5rem;
  font-size: var(--text-m);
}
.resolved summary {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.25rem 0;
  color: var(--pencil);
  cursor: pointer;
}
.resolved summary:hover {
  color: var(--ink);
}

.key {
  font-size: var(--text-s);
  line-height: 1.4;
}
.key li {
  display: grid;
  grid-template-columns: 3.25rem minmax(0, 1fr);
  gap: 0.5rem;
  align-items: center;
  padding: 0.1875rem 0;
}
.key .sample {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.1875rem;
  height: 1.5rem;
}

/* ---------- Narrower windows ---------- */

@container page (max-width: 56.5rem) {
  .page {
    grid-template-columns: minmax(0, 1fr);
  }
  .page__aside {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
    gap: 0 2.5rem;
    align-items: start;
  }
  .page__aside section,
  .page__aside section:first-child {
    margin-top: 2rem;
    padding-top: 0.875rem;
    border-top: 2px solid var(--ink);
  }
}

@media (max-width: 54rem) {
  .book {
    display: block;
  }
  /* The cover becomes a bar across the top and the conversation takes the rest of the window. */
  .book.has-tutor {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto minmax(0, 1fr);
  }
  .cover {
    z-index: 5;
    height: auto;
    max-height: 100dvh;
    flex-flow: row wrap;
    align-items: center;
    gap: 0.25rem 0.75rem;
    padding: 0.5rem 0.75rem;
  }
  .cover__name {
    padding: 0 0.25rem;
    font-size: 1.125rem;
  }
  .cover__motto {
    padding: 0 0.25rem;
    line-height: 1.3;
  }
  .cover__live {
    order: 2;
    margin-left: auto;
    padding: 0;
  }
  /* The bar's Menu does the folding here. */
  .cover__brand .pane-button {
    display: none;
  }
  .cover__toggle {
    order: 3;
    display: inline-flex;
  }
  .cover__account {
    order: 5;
    flex-basis: 100%;
    padding: 0.5rem 0.75rem;
  }
  .cover:not(.is-open) .cover__account {
    display: none;
  }
  .cover__nav {
    order: 4;
    display: none;
    flex-basis: 100%;
    margin: 0;
    padding-bottom: 0.5rem;
  }
  .cover.is-open .cover__nav {
    display: block;
  }
  .nav-link {
    padding-block: 0.625rem;
  }
  .record__page {
    padding: 1.25rem 1rem 3rem;
  }
  .has-tutor .record {
    width: 100%;
    border-left: 0;
  }
  .has-tutor .record__head {
    padding-inline: 1rem;
  }
  .talk {
    --gutter: 1rem;
  }
  .talk__head {
    gap: 0.75rem;
    padding-block: 0.75rem 0.625rem;
  }
  .talk__head h1 {
    font-size: 1.125rem;
  }
  .talk__log {
    padding-block: 1rem;
  }
  .talk__form {
    padding-block: 0.625rem 0.875rem;
  }
  .t-title,
  .question__text {
    font-size: 1.375rem;
  }
  .today {
    padding: 1.25rem 1.25rem 1.375rem;
  }
  .register .c-name {
    min-width: 9.5rem;
  }
  .session summary {
    grid-template-columns: 1rem minmax(0, 1fr);
  }
  .session__tally,
  .session__summary {
    grid-column: 2;
  }
  .session__body {
    padding-left: 1.5rem;
  }
}

@container page (max-width: 48rem) {
  .say code {
    max-width: 16rem;
  }
}

@container page (max-width: 34rem) {
  .today {
    grid-template-columns: minmax(0, 1fr);
    padding-inline: 1.125rem;
  }
  .today .t-title {
    font-size: 1.75rem;
  }
  .today__tally {
    justify-self: start;
    text-align: left;
  }
  .tally {
    height: 4.5rem;
    margin-left: 0;
  }
  .next li {
    grid-template-columns: minmax(0, 1fr);
  }
  .say code {
    flex: 1;
    max-width: none;
  }
  /* Beside the conversation the question is already on screen at full size; here it is the record of it. */
  .has-tutor .question__text {
    font-size: var(--text-l);
    line-height: 1.45;
  }
}

@container page (max-width: 30rem) {
  .register .c-name {
    min-width: 8.5rem;
  }
  .register .c-level {
    width: 8.5rem;
    min-width: 8.5rem;
  }
  .register .c-review,
  .pips {
    display: none;
  }
  .level__review {
    display: block;
  }
}

/* Reduced motion: nothing travels. What confirms a change still fades in; the loop and the burst stop. */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
  }
  .roll__out,
  .spark {
    display: none;
  }
  .roll__in,
  .pips i.is-new,
  .cell.is-fresh,
  .week .is-fresh .week__box,
  .question.is-new .question__text {
    animation: appear 200ms ease-out backwards;
  }
  .today.is-done.is-fresh::before {
    animation: appear 240ms ease-out backwards;
  }
  .tally__stroke.is-new,
  .icon.is-drawn path {
    stroke-dasharray: none;
    stroke-dashoffset: 0;
    animation: appear 200ms ease-out backwards;
  }
  .node.is-current .node__dot::after {
    animation: none;
    transform: scale(1.45);
    opacity: 0.35;
  }
}
@keyframes appear {
  from {
    opacity: 0;
  }
}
