/* Tide Table: a nautical almanac. Cream stock, hairline ink, one red. */

@font-face {
  font-family: 'Source Serif 4';
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url(source-serif-4-roman.2a24bad466.woff2) format('woff2');
}
@font-face {
  font-family: 'Source Serif 4';
  font-style: italic;
  font-weight: 200 900;
  font-display: swap;
  src: url(source-serif-4-italic.011e0ca2bd.woff2) format('woff2');
}

/* Tokens. Light: almanac paper. Dark: a chart room at night. Red is kept for
   daylight-saving anomalies and nothing else. */
:root {
  --paper: #f3ecda;
  --paper-2: #ebe2cb;
  --ink: #1b2530;
  --ink-2: #3a4552;
  --ink-3: #555e69;
  --hair: rgba(27, 37, 48, 0.3);
  --hair-2: rgba(27, 37, 48, 0.14);
  --tick-past: #787a7f;
  --red: #a3241b;
  --glow: rgba(255, 255, 255, 0);
  --grain-opacity: 0.07;
  color-scheme: light;
}
:root[data-theme='dark'] {
  --paper: #0d1419;
  --paper-2: #131c22;
  --ink: #e8ddc3;
  --ink-2: #cbc1a9;
  --ink-3: #a79e8a;
  --hair: rgba(232, 221, 195, 0.3);
  --hair-2: rgba(232, 221, 195, 0.13);
  --tick-past: #6e6a60;
  --red: #ff7d6b;
  --glow: rgba(255, 196, 120, 0.07);
  --grain-opacity: 0.05;
  color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    --paper: #0d1419;
    --paper-2: #131c22;
    --ink: #e8ddc3;
    --ink-2: #cbc1a9;
    --ink-3: #a79e8a;
    --hair: rgba(232, 221, 195, 0.3);
    --hair-2: rgba(232, 221, 195, 0.13);
    --tick-past: #6e6a60;
    --red: #ff7d6b;
    --glow: rgba(255, 196, 120, 0.07);
    --grain-opacity: 0.05;
    color-scheme: dark;
  }
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background-color: var(--paper);
  background-image:
    radial-gradient(ellipse 70% 40% at 50% -5%, var(--glow), transparent 70%);
  color: var(--ink);
  font-family: 'Source Serif 4', 'Iowan Old Style', Baskerville, Georgia, serif;
  font-size: 17px;
  line-height: 1.5;
  font-variant-numeric: lining-nums tabular-nums;
  font-optical-sizing: auto;
  min-height: 100vh;
  overflow-x: hidden;
}
/* Stock grain: a faint fibrous texture, generated, not a photo. */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: var(--grain-opacity);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.35 0 0 0 0 0.3 0 0 0 0 0.2 0 0 0 1.4 -0.35'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)'/%3E%3C/svg%3E");
  z-index: 0;
}
body > * {
  position: relative;
  z-index: 1;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}
code {
  font-family: inherit;
  font-feature-settings: 'tnum';
  border-bottom: 1px dotted var(--hair);
}

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

.skip {
  position: absolute;
  left: 16px;
  top: -100px;
  background: var(--paper);
  border: 1px solid var(--ink);
  padding: 6px 12px;
  z-index: 10;
}
.skip:focus {
  top: 12px;
}

/* Spaced capitals, set by hand: the web font carries no small-cap glyphs,
   so a slightly heavier weight keeps them level with the text colour. */
.label,
.kicker,
.plate-no,
h3 {
  font-size: 0.72rem;
  font-weight: 620;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  line-height: 1.3;
}
.aside {
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
  font-style: italic;
  color: var(--ink-3);
  font-size: 0.95rem;
}
.label .aside {
  font-size: 0.85rem;
  margin-left: 0.3em;
}

/* Page frame */
.masthead,
main,
.colophon {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 40px;
  padding-right: 40px;
}

.masthead {
  padding-top: 26px;
}
.masthead-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 6px;
}
.kicker {
  margin: 0;
  color: var(--ink-2);
}
h1 {
  font-size: clamp(2.5rem, 7vw, 4.1rem);
  font-weight: 560;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  line-height: 1;
  margin: 14px 0 6px;
  font-variation-settings: 'opsz' 60;
}
.standfirst {
  font-style: italic;
  font-size: 1.12rem;
  max-width: 52em;
  color: var(--ink-2);
  margin: 0 0 14px;
}
.masthead::after {
  content: '';
  display: block;
  border-top: 3px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  height: 3px;
}

/* Buttons that look like almanac marginalia */
.text-button,
.lamp {
  font: inherit;
  font-size: 0.72rem;
  font-weight: 620;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--hair);
  padding: 7px 12px 6px;
  cursor: pointer;
  min-height: 34px;
}
.text-button:hover,
.lamp:hover {
  border-color: var(--ink);
}
.text-button:disabled {
  color: var(--ink-3);
  cursor: default;
  border-color: var(--hair-2);
}
.lamp[aria-pressed='true'] {
  background: var(--ink);
  color: var(--paper);
}

/* The query form: expression and its reading on the left, settings on the right */
.query {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  grid-template-areas:
    'expr settings'
    'reading settings';
  grid-template-rows: auto 1fr;
  column-gap: 56px;
  row-gap: 20px;
  padding: 24px 0 26px;
  border-bottom: 1px solid var(--ink);
}
.q-expr { grid-area: expr; }
.reading { grid-area: reading; }
.q-settings {
  grid-area: settings;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-left: 28px;
  border-left: 1px solid var(--hair);
}

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
  min-width: 0;
}
legend {
  padding: 0;
  margin-bottom: 8px;
}
.q-expr .label,
.q-preset .label,
.q-from .label {
  display: block;
  margin-bottom: 6px;
}

input[type='text'],
input[type='month'],
select {
  font: inherit;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--ink);
  border-radius: 0;
  padding: 4px 2px;
  width: 100%;
}
select {
  border: 1px solid var(--hair);
  padding: 7px 8px;
  background: var(--paper);
}
select:hover {
  border-color: var(--ink);
}
#expr {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 500;
  letter-spacing: 0.06em;
  word-spacing: 0.3em;
  padding: 2px 2px 6px;
}
#expr[aria-invalid='true'],
.zone-row input[aria-invalid='true'],
#from[aria-invalid='true'] {
  border-bottom-style: dashed;
  border-bottom-width: 2px;
}

.ruler {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin: 10px 0 0;
  padding: 0;
}
.ruler li {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 3px 12px 4px 8px;
  border-left: 1px solid var(--hair);
  min-width: 4.2em;
}
.ruler li:first-child {
  border-left-color: var(--ink);
}
.ruler .tok {
  font-size: 1rem;
  font-weight: 560;
  white-space: nowrap;
}
.ruler .fld {
  font-size: 0.64rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 600;
}
.ruler li.bad {
  background: var(--ink);
  color: var(--paper);
}
.ruler li.bad .fld {
  color: var(--paper);
}

.help {
  color: var(--ink-3);
  font-size: 0.9rem;
  margin: 8px 0 0;
}
.error {
  font-style: italic;
  margin: 8px 0 0;
  padding-left: 10px;
  border-left: 3px double var(--ink);
  color: var(--ink);
}

.zone-row {
  display: grid;
  grid-template-columns: 1.8em minmax(0, 1fr) auto;
  align-items: end;
  column-gap: 8px;
  margin-bottom: 6px;
}
.zone-row .ord {
  font-size: 0.8rem;
  font-weight: 620;
  color: var(--ink-2);
  padding-bottom: 7px;
}
.zone-row .role {
  grid-column: 2 / span 2;
  font-size: 0.82rem;
  font-style: italic;
  color: var(--ink-3);
  margin: 2px 0 0;
}
.zone-row input {
  font-size: 1.1rem;
}
.zone-remove {
  font: inherit;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 620;
  background: transparent;
  color: var(--ink-2);
  border: 1px solid var(--hair);
  padding: 4px 8px;
  cursor: pointer;
  min-height: 30px;
}
.zone-remove:hover {
  border-color: var(--ink);
  color: var(--ink);
}
.zone-error {
  grid-column: 2 / span 2;
}

.choice {
  display: flex;
  gap: 10px;
  align-items: baseline;
  margin: 4px 0;
  cursor: pointer;
}
.choice input {
  accent-color: var(--ink);
  transform: translateY(1px);
}

.q-from {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 8px 12px;
}
.q-from .label {
  flex-basis: 100%;
  margin-bottom: 0;
}
#from {
  width: auto;
  min-width: 11em;
  font-size: 1.05rem;
}
.q-from .error {
  flex-basis: 100%;
}

/* The reading */
.reading {
  padding-top: 16px;
  border-top: 1px solid var(--hair);
  align-self: start;
}
.sentence {
  font-style: italic;
  font-size: clamp(1.5rem, 3.4vw, 2.15rem);
  line-height: 1.25;
  margin: 8px 0 12px;
  max-width: 34em;
  font-variation-settings: 'opsz' 48;
}
.sentence .zone-clause {
  font-style: normal;
  font-size: 0.6em;
  letter-spacing: 0.02em;
  color: var(--ink-2);
  display: inline-block;
}
.reading-bar {
  display: flex;
  align-items: center;
  gap: 14px;
}
.copied {
  font-style: italic;
  color: var(--ink-2);
}
.summary {
  color: var(--ink-2);
  margin: 12px 0 0;
  font-size: 0.98rem;
}
.summary .red-note {
  color: var(--red);
}
.stale .plate {
  opacity: 0.45;
}
/* Shown while a compute takes more than a moment. */
.busy {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 10px 0 0;
  color: var(--ink-2);
  font-style: italic;
}
.busy[hidden] {
  display: none;
}
.busy svg {
  width: 20px;
  height: 20px;
  flex: none;
}
.busy .d-rim {
  stroke-width: 9;
}
.busy .d-hand-solid {
  stroke: var(--ink);
  stroke-width: 10;
  stroke-linecap: round;
}
.busy-hand {
  transform-origin: 60px 60px;
  animation: sweep 1.6s linear infinite;
}
.almanac[aria-busy='true'] .plate {
  opacity: 0.6;
  transition: opacity 0.2s;
}
/* An incomplete almanac says so above the plates. */
.notice {
  margin: 22px 0 0;
  padding: 8px 12px;
  border: 1px solid var(--ink);
  border-left: 4px double var(--ink);
  font-weight: 600;
}

/* Loading state */
.loading {
  display: flex;
  gap: 22px;
  align-items: center;
  padding: 34px 0;
}
.loading[hidden] {
  display: none;
}
.loading-dial {
  width: 96px;
  height: 96px;
  flex: none;
}
.loading-hand {
  transform-origin: 60px 60px;
  animation: sweep 6s linear infinite;
}
@keyframes sweep {
  to {
    transform: rotate(360deg);
  }
}
.loading-text p {
  margin: 0 0 6px;
}
#loading-detail {
  color: var(--ink-2);
}
.gauge {
  width: min(360px, 60vw);
  height: 5px;
  border: 1px solid var(--ink);
  margin-top: 10px;
}
.gauge-fill {
  height: 100%;
  width: 0;
  background: var(--ink);
}
.loading.failed .loading-hand {
  animation: none;
}

/* Plates */
.almanac:focus {
  outline: none;
}
.plate {
  padding: 30px 0 34px;
  border-bottom: 1px solid var(--ink);
}
.plate + .plate {
  border-top: 3px double var(--ink);
  margin-top: -1px;
}
.plate-head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: baseline;
  gap: 4px 18px;
  margin-bottom: 14px;
}
.plate-no {
  margin: 0;
  color: var(--ink-2);
  grid-row: 1 / span 2;
  align-self: start;
  padding-top: 0.55em;
  min-width: 5.4em;
}
.plate-head h2 {
  margin: 0;
  font-size: clamp(1.45rem, 3vw, 1.95rem);
  font-weight: 540;
  line-height: 1.15;
  font-variation-settings: 'opsz' 40;
  overflow-wrap: anywhere;
}
.plate-head .zone-now {
  justify-self: end;
  font-size: 0.95rem;
  color: var(--ink-2);
  white-space: nowrap;
}
.plate-meta {
  grid-column: 2 / span 2;
  margin: 0;
  color: var(--ink-2);
  font-size: 0.95rem;
}
.plate-meta em {
  color: var(--ink);
}

.strip-wrap {
  position: relative;
  border-top: 1px solid var(--ink);
  padding-top: 10px;
}
.strip {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
  font-family: 'Source Serif 4', Georgia, serif;
}
.strip-key {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
  margin: 10px 0 0;
  padding: 8px 0 0;
  border-top: 1px solid var(--hair);
  font-size: 0.84rem;
  color: var(--ink-3);
  list-style: none;
}
.strip-key svg {
  width: 22px;
  height: 10px;
  vertical-align: -1px;
  margin-right: 6px;
}

.s-month {
  font-size: 10.5px;
  font-weight: 650;
  letter-spacing: 0.13em;
  fill: var(--ink);
}
.s-year {
  font-weight: 450;
  letter-spacing: 0.02em;
  fill: var(--ink-2);
}
.s-count {
  font-size: 10.5px;
  fill: var(--ink-2);
  font-variant-numeric: tabular-nums;
}
.s-hour {
  font-size: 8px;
  fill: var(--ink-3);
}
.s-day {
  font-size: 8px;
  fill: var(--ink-3);
  font-variant-numeric: tabular-nums;
}
.s-rule {
  stroke: var(--ink);
  stroke-width: 0.8;
}
.s-edge {
  stroke: var(--hair);
  stroke-width: 0.6;
}
.s-guide {
  stroke: var(--hair-2);
  stroke-width: 0.6;
}
.s-week {
  stroke: var(--hair-2);
  stroke-width: 0.5;
}
.s-tick {
  fill: var(--ink);
}
.s-tick.s-past {
  fill: var(--tick-past);
}
.s-today {
  fill: var(--ink);
}
.seam .seam-line {
  stroke-width: 1.1;
}
.seam.red .seam-line,
.seam.red .seam-notch {
  stroke: var(--red);
}
.seam.red .seam-notch {
  stroke-width: 1.3;
}
.seam.quiet .seam-line {
  stroke: var(--ink-3);
  stroke-dasharray: 1 2.5;
  stroke-width: 0.8;
}
.seam.quiet .seam-notch {
  stroke: var(--ink-3);
  stroke-width: 0.9;
}
.seam-flag {
  fill: var(--red);
}
.mark-skip {
  fill: var(--paper);
  stroke: var(--red);
  stroke-width: 1.2;
}
.mark-double {
  stroke: var(--red);
  stroke-width: 1.1;
}
.mark-extra {
  fill: var(--red);
}
.seam-label {
  font-size: 7.5px;
  font-weight: 650;
  fill: var(--red);
  stroke: var(--paper);
  stroke-width: 3px;
  stroke-linejoin: round;
  paint-order: stroke;
}
.seam.hot .seam-line {
  stroke-width: 2.4;
}
.seam.quiet.hot .seam-line {
  stroke: var(--ink);
}

/* The strip with the dial beside it; below 981 px the dial drops under the
   strip. app.04118c0d74.js subtracts the same 200 px + 28 px when it sizes the strip. */
.plate-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 200px;
  gap: 28px;
  align-items: start;
}
.plate-foot {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(250px, 320px);
  gap: 34px;
  margin-top: 26px;
  align-items: start;
}
.dial-fig {
  margin: 0;
  padding-top: 10px;
  border-top: 1px solid var(--ink);
}
.dial {
  display: block;
  width: 100%;
  max-width: 200px;
  height: auto;
  font-family: 'Source Serif 4', Georgia, serif;
}
.dial-fig figcaption {
  font-size: 0.84rem;
  color: var(--ink-3);
  margin-top: 6px;
  text-align: center;
  font-style: italic;
}
.d-rim {
  fill: none;
  stroke: var(--ink);
  stroke-width: 1.4;
}
.d-rim2 {
  fill: none;
  stroke: var(--ink);
  stroke-width: 0.6;
}
.d-band {
  fill: none;
  stroke: var(--hair);
  stroke-width: 0.6;
}
.d-grad {
  stroke: var(--ink);
  stroke-width: 0.55;
  fill: none;
}
.d-major {
  stroke: var(--ink);
  stroke-width: 1.3;
}
.d-cross {
  stroke: var(--hair);
  stroke-width: 0.6;
}
.d-num {
  font-size: 9px;
  fill: var(--ink-2);
  font-variant-numeric: tabular-nums;
}
.d-num-major {
  font-size: 10.5px;
  font-weight: 650;
  fill: var(--ink);
}
.d-dot {
  fill: var(--ink-3);
}
.d-tick {
  stroke: var(--ink);
  stroke-width: 0.9;
  fill: none;
}
.d-tick-bold {
  stroke-width: 1.8;
}
.d-tick-thin {
  stroke-width: 0.45;
}
.d-skip {
  fill: var(--paper);
  stroke: var(--red);
  stroke-width: 1.3;
}
.d-double {
  stroke: var(--red);
  stroke-width: 1.2;
}
.d-extra {
  fill: var(--red);
}
.d-hand {
  stroke: var(--ink-2);
  stroke-width: 0.9;
  stroke-dasharray: 3 2;
  fill: none;
}
.d-pivot {
  fill: var(--ink);
}
.d-abbr {
  font-size: 10px;
  font-weight: 620;
  letter-spacing: 0.12em;
  fill: var(--ink-2);
}

.plate-foot h3 {
  margin: 0 0 8px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--ink);
}
.seams ol,
.next ol {
  list-style: none;
  margin: 0;
  padding: 0;
}
.seam-item {
  padding: 9px 0 10px;
  border-bottom: 1px solid var(--hair);
}
.seam-item .when {
  display: flex;
  flex-wrap: wrap;
  gap: 2px 12px;
  align-items: baseline;
}
.seam-item .date {
  font-weight: 600;
}
.seam-item .tag {
  font-size: 0.7rem;
  font-weight: 650;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.seam-item.red .tag {
  color: var(--red);
}
.seam-item p {
  margin: 3px 0 0;
  font-size: 0.93rem;
  color: var(--ink-2);
  line-height: 1.45;
}
.seam-item.hot {
  background: var(--paper-2);
}
.empty {
  color: var(--ink-3);
  font-style: italic;
  margin: 6px 0;
}

.next table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}
.next th {
  text-align: left;
  font-size: 0.66rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  font-weight: 620;
  color: var(--ink-2);
  padding: 0 6px 5px 0;
  border-bottom: 1px solid var(--hair);
}
.next td {
  padding: 4px 6px 4px 0;
  border-bottom: 1px solid var(--hair-2);
  vertical-align: top;
  white-space: nowrap;
}
.next td.t {
  font-weight: 600;
}
.next td.z {
  color: var(--ink-2);
  font-size: 0.86rem;
}
.next tr.note td {
  white-space: normal;
  font-style: italic;
  font-size: 0.86rem;
  color: var(--red);
  border-bottom-color: var(--hair);
  padding-top: 0;
}

/* Notes */
.notes {
  padding: 30px 0 34px;
}
.notes-cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
  margin-top: 12px;
}
.notes h3 {
  margin: 0 0 6px;
  color: var(--ink-2);
}
.notes p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--ink-2);
}

.colophon {
  padding-top: 18px;
  padding-bottom: 40px;
  font-size: 0.86rem;
  color: var(--ink-3);
}
.colophon::before {
  content: '';
  display: block;
  border-top: 1px solid var(--ink);
  border-bottom: 3px solid var(--ink);
  height: 3px;
  margin-bottom: 14px;
}
.colophon p {
  margin: 0 0 4px;
}

.tip {
  position: fixed;
  z-index: 20;
  pointer-events: none;
  background: var(--paper);
  border: 1px solid var(--ink);
  padding: 5px 9px 6px;
  font-size: 0.84rem;
  line-height: 1.35;
  max-width: 260px;
  box-shadow: 3px 3px 0 var(--hair-2);
}
.tip strong {
  font-weight: 620;
}

/* Tablet */
@media (max-width: 980px) {
  .plate-body {
    grid-template-columns: minmax(0, 1fr);
  }
  .dial-fig {
    display: flex;
    align-items: center;
    gap: 22px;
    border-top: 0;
    padding-top: 0;
  }
  .dial-fig .dial {
    flex: none;
    width: 200px;
  }
  .dial-fig figcaption {
    text-align: left;
    max-width: 18em;
  }
  .notes-cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Phone */
@media (max-width: 720px) {
  .masthead,
  main,
  .colophon {
    padding-left: 16px;
    padding-right: 16px;
  }
  body {
    font-size: 16px;
  }
  .query {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: 'expr' 'reading' 'settings';
    row-gap: 22px;
  }
  .q-settings {
    padding-left: 0;
    border-left: 0;
    padding-top: 18px;
    border-top: 1px solid var(--hair);
  }
  .plate-head {
    grid-template-columns: minmax(0, 1fr) auto;
  }
  .plate-no {
    grid-row: auto;
    grid-column: 1 / -1;
    padding-top: 0;
  }
  .plate-meta {
    grid-column: 1 / -1;
  }
  .plate-foot {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }
  .dial-fig {
    flex-direction: column;
    gap: 4px;
  }
  .dial-fig .dial {
    margin: 0 auto;
    width: 100%;
    max-width: 240px;
  }
  .dial-fig figcaption {
    text-align: center;
  }
  .notes-cols {
    grid-template-columns: minmax(0, 1fr);
  }
  .loading {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .loading-hand,
  .busy-hand {
    animation: none;
  }
  .almanac[aria-busy='true'] .plate {
    transition: none;
  }
  * {
    scroll-behavior: auto !important;
  }
}

.offscreen {
  position: fixed;
  left: -9999px;
  top: 0;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.tip .red-note {
  color: var(--red);
}
.key-count {
  display: inline-block;
  min-width: 22px;
  margin-right: 6px;
  font-size: 0.8rem;
  color: var(--ink-2);
}
