@font-face {
  font-family: 'DM Sans';
  src: url('/fonts/dm-sans-400.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'DM Sans';
  src: url('/fonts/dm-sans-600.woff2') format('woff2');
  font-weight: 500 600;
  font-display: swap;
}
@font-face {
  font-family: 'DM Sans';
  src: url('/fonts/dm-sans-700.woff2') format('woff2');
  font-weight: 700 800;
  font-display: swap;
}
@font-face {
  font-family: 'DM Sans';
  src: url('/fonts/dm-sans.woff2') format('woff2');
  font-weight: 900;
  font-display: swap;
}

:root {
  --font: 'DM Sans', Arial, sans-serif;
  --ink: #28243d;
  --cream: #faf9f6;
  --line: #e9e4ef;
  --muted: #787287;
  --purple: #6951c9;
  --purple-dark: #543cae;
  --lavender: #f0ecfb;
  --yellow: #ffe24c;
  --teal: #007e85;
  color: var(--ink);
  background: var(--cream);
  font-family: var(--font);
  font-synthesis: none;
}
* { box-sizing: border-box; }
body { margin: 0; -webkit-font-smoothing: antialiased; }
button, input { font: inherit; color: inherit; }
button, a, input { -webkit-tap-highlight-color: transparent; }
button, a { touch-action: manipulation; }
button { cursor: pointer; }
button:disabled { cursor: default; opacity: .45; }
button:focus-visible, a:focus-visible, input:focus-visible {
  outline: 3px solid var(--purple);
  outline-offset: 3px;
}
[hidden] { display: none !important; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip-link {
  position: fixed;
  top: -60px;
  left: 16px;
  z-index: 50;
  padding: 8px 12px;
  background: var(--yellow);
  color: var(--ink);
  border-radius: 6px;
}
.skip-link:focus { top: 10px; }

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  min-height: 104px;
  padding: 18px clamp(16px, 2.6vw, 36px);
  background: #fffdf4;
  border-bottom: 1px solid #e6e5db;
  color: #26343e;
}
.header-brand, .header-actions { display: flex; align-items: center; gap: 12px; }
.header-brand, .heading { min-width: 0; }
.header-actions { flex-shrink: 0; gap: 8px; }
.brand-icon { width: 68px; height: 68px; flex: 0 0 68px; transform: rotate(-5deg); }
.brand {
  display: block;
  margin: 0 0 5px 1px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2.3px;
  text-transform: uppercase;
}
h1 { margin: 0; font: 900 33px/1.12 var(--font); letter-spacing: -1.5px; }
.keywords {
  background: linear-gradient(transparent 81%, var(--yellow) 81%, var(--yellow) 97%, transparent 97%);
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
.title-dot { color: #f17e43; }
.header-actions .subtle-button { border: 1px solid #d0d8cd; background: #fffefa; }
.header-actions .subtle-button:hover { background: #f1f1e6; }
.fullscreen svg { width: 17px; height: 17px; }
.content { width: min(1240px, calc(100% - 48px)); margin: auto; padding-top: 22px; }
.app:fullscreen, .app.expanded { min-height: 100vh; overflow: auto; background: var(--cream); }
.app:fullscreen .tools-link, .app.expanded .tools-link { display: none; }

.settings-card, .demo-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 8px 30px #39304b06;
}
.settings-card {
  --show-width: 108px;
  --form-gap: 16px;
  --middle: 42px;
  --leaf-sign: 26px;
  width: min(100%, 712px);
  margin-inline: auto;
  padding: 16px 20px;
}
.question-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--show-width);
  align-items: center;
  gap: var(--form-gap);
}
.input-equation, .diagram-branches, .partitions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--middle) minmax(0, 1fr);
  align-items: center;
}
.number-field { min-width: 0; position: relative; }
.input-equation .number-field { width: min(100%, 192px); justify-self: center; }
.input-wrap {
  display: flex;
  align-items: stretch;
  min-width: 0;
  background: #fcfaff;
  border: 1px solid #d8cde8;
  border-radius: 7px;
}
.input-wrap:focus-within { border-color: var(--purple); outline: 3px solid #6951c92b; }
.input-wrap:has(input[aria-invalid='true']) { border-color: #b46550; }
.input-wrap input {
  min-width: 0;
  width: 100%;
  height: 46px;
  padding: 7px 4px 7px 9px;
  border: 0;
  outline: 0;
  border-radius: inherit;
  background: transparent;
  text-align: center;
  font-size: 24px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.input-wrap input::placeholder { color: #a99db8; font-weight: 500; }
.pad-toggle {
  display: grid;
  place-items: center;
  width: 39px;
  min-width: 39px;
  border: 0;
  border-radius: 0 6px 6px 0;
  background: transparent;
  color: var(--muted);
}
.pad-toggle:hover, .pad-toggle[aria-expanded='true'] { background: var(--lavender); color: var(--purple); }
.pad-toggle:focus-visible { outline-offset: -3px; }
.pad-toggle svg { width: 21px; height: 21px; }
.operation-picker { display: grid; justify-items: center; gap: 2px; }
.operation-picker label { position: relative; width: min(100%, 34px); }
.operation-picker input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.operation-picker span {
  display: grid;
  place-items: center;
  min-height: 24px;
  border: 1px solid #d8cde8;
  border-radius: 6px;
  background: #fcfaff;
  color: var(--purple);
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
}
.operation-picker input:hover + span { background: var(--lavender); }
.operation-picker input:checked + span { border-color: var(--purple); background: var(--purple); color: #fff; }
.operation-picker input:focus-visible + span { outline: 2px solid var(--purple); outline-offset: 2px; }
.times { text-align: center; color: #9c90ae; font-size: 30px; font-weight: 700; }
.error {
  grid-column: 1 / -1;
  margin: 0;
  padding: 8px 12px;
  border: 1px solid #e1ad85;
  border-radius: 7px;
  background: #fff2e3;
  color: #7a3e1e;
  font-size: 13px;
}
.primary-button, .subtle-button, .answer-choice {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  white-space: nowrap;
}
.primary-button {
  min-height: 44px;
  padding: 8px 15px;
  border: 1px solid var(--purple);
  border-radius: 10px;
  background: var(--purple);
  color: #fff;
  box-shadow: 0 3px 0 #533caa;
  font-size: 14px;
  font-weight: 700;
}
.primary-button:hover:not(:disabled) { background: var(--purple-dark); }
.primary-button:active:not(:disabled) { transform: translateY(2px); box-shadow: 0 1px 0 #533caa; }
.show-button span, #next-icon { font-size: 19px; line-height: 1; }
.subtle-button {
  min-height: 38px;
  padding: 7px 11px;
  border: 1px solid transparent;
  border-radius: 7px;
  color: inherit;
  background: transparent;
  font-size: 12px;
  font-weight: 600;
}
.subtle-button:hover:not(:disabled) { background: var(--lavender); }

.diagram-branches, .partitions { margin-right: calc(var(--show-width) + var(--form-gap)); }
.unrevealed .diagram-branches, .unrevealed .partitions { display: none; }
.diagram-branches { height: 40px; color: #ab93c7; }
.diagram-branches svg { grid-column: 1; width: 100%; height: 100%; }
.diagram-branches svg + svg, .partition ~ .partition { grid-column: 3; }
.partitions > .times { grid-column: 2; }
.partition {
  grid-column: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--leaf-sign) minmax(0, 1fr);
  align-items: stretch;
  min-width: 0;
  font-size: 25px;
  font-weight: 700;
}
.partition.grouped { position: relative; padding-inline: .37em; }
.partition.grouped::before, .partition.grouped::after {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: #514960;
  font-weight: 600;
}
.partition.grouped::before { content: '('; left: 0; }
.partition.grouped::after { content: ')'; right: 0; }
.base, .power {
  border: 1px solid transparent;
  border-radius: 8px;
  min-width: 0;
  padding: 3px 0;
  line-height: 1.35;
  text-align: center;
  overflow-wrap: anywhere;
}
.base { color: var(--purple); }
.power {
  grid-column: 2 / 4;
  display: grid;
  grid-template-columns: var(--leaf-sign) minmax(0, 1fr);
  align-items: center;
  container-type: inline-size;
  color: #514960;
}
.power-number { font-size: min(1em, calc((100cqw - var(--leaf-sign)) / var(--label-length) / .6)); }
.no-power .base { grid-column: 1 / -1; width: 70%; justify-self: center; }
.partition .active { border-color: #d6bd39; background: var(--yellow); color: var(--ink); box-shadow: 0 2px 0 #e2c83b80; }
.partition .done { background: var(--lavender); color: #625875; }
.long .partition { font-size: clamp(14px, 1.8vw, 21px); }

.feedback-slot {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  height: 42px;
  padding: 2px 18px;
  overflow: auto;
}
.activity-feedback { margin: 0; color: #2d6853; font-size: 13px; font-weight: 500; line-height: 1.35; text-align: right; }
.activity-feedback.is-error { color: #8a432d; }
.factor-ten { font-weight: 700; white-space: nowrap; }
.highlight-zero { padding: 0 2px; border-radius: 3px; color: var(--ink); background: var(--yellow); }
.equation-bar {
  display: grid;
  grid-template-columns: minmax(0, .93fr) minmax(0, 1.07fr);
  align-items: center;
  gap: 16px;
  min-height: 89px;
  padding: 13px 23px;
  border-bottom: 1px solid var(--line);
}
.working-row, .working, .fact-form, .response-area, .activity-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.working-row { flex-wrap: wrap; min-height: 48px; }
.working {
  flex-wrap: wrap;
  font-size: clamp(22px, 2.7vw, 33px);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.5px;
  overflow-wrap: anywhere;
}
.working.long { font-size: clamp(17px, 2vw, 24px); }
.equals { color: #9c90ae; }
.equation-answer {
  min-width: 43px;
  padding: 2px 8px;
  border-radius: 6px;
  color: var(--purple);
  background: var(--lavender);
  text-align: center;
}
.equation-answer.revealed { background: var(--yellow); color: var(--ink); }
.fact-form { gap: 7px; }
.fact-field { width: 116px; }
.fact-field input { font-size: 23px; }
.check-button { min-height: 42px; }
.response-area { justify-content: flex-end; min-height: 48px; }
.teaching-copy { min-width: 0; text-align: right; }
.teaching-copy h2 { margin: 0; font-size: 21px; font-weight: 700; line-height: 1.22; letter-spacing: -.5px; }
.teaching-copy h2:focus { outline: none; }
.teaching-copy p { margin: 5px 0 0; font-size: 12px; line-height: 1.4; color: var(--muted); }
.activity-controls { gap: 8px; flex-shrink: 0; }
.activity-controls:empty { display: none; }
.answer-choice {
  min-height: 46px;
  min-width: 99px;
  padding: 8px 13px;
  border: 1.5px solid #d6cce7;
  border-radius: 10px;
  background: #fff;
  color: #514960;
  box-shadow: 0 3px 0 #e4ddee;
  font-size: 16px;
  font-weight: 700;
}
.answer-choice:hover { background: var(--lavender); border-color: var(--purple); }
.answer-choice:active { transform: translateY(2px); box-shadow: 0 1px 0 #e4ddee; }
.answer-choice.distance-choice { width: 43px; min-width: 43px; padding-inline: 4px; }

.chart-section { padding: 16px 23px 14px; }
.chart {
  --cell: calc(100% / var(--columns));
  --tile-height: 58px;
  position: relative;
  min-width: 0;
  width: 100%;
  border: 1.5px solid #64847b;
  border-radius: 4px;
  overflow: hidden;
  color: #153d3b;
  container-type: inline-size;
}
.chart-bands, .chart-headings, .chart-cells, .chart-targets {
  display: grid;
  grid-template-columns: repeat(var(--columns), minmax(0, 1fr));
}
.chart-bands > span {
  grid-column: span var(--whole-columns);
  padding: 5px 2px;
  overflow: hidden;
  color: #fff;
  background: var(--teal);
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 10px;
  font-weight: 600;
}
.chart-bands #decimal-band { grid-column: span var(--decimal-columns); color: #153d3b; background: #d5ebe7; }
.column-heading {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  min-width: 0;
  min-height: 65px;
  padding: 4px 2px;
  border-right: 1px solid #64847b;
  border-bottom: 1px solid #64847b;
  background: var(--colour);
  text-align: center;
}
.column-heading:last-child, .chart-cell:last-child { border-right: 0; }
.column-heading.decimal-divider, .chart-cell.decimal-divider { border-right: 2px solid #64847b; }
.heading-number { font-size: 16px; font-size: min(18px, calc(87cqw / var(--columns) / var(--label-length) / .56)); line-height: 1.2; }
.heading-word { font-size: 10px; line-height: 1.15; overflow-wrap: anywhere; }
.chart.many .heading-word { display: none; }
.chart-body { position: relative; height: 92px; background: #fff; }
.chart-cells, .chart-targets, .digit-layer { position: absolute; inset: 0; }
.chart-cell { border-right: 1px solid #c3d3c9; }
.digit-layer { pointer-events: none; }
.digit {
  position: absolute;
  left: calc(var(--index) * var(--cell));
  top: 0;
  width: var(--cell);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.digit-tile, .add-zero-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(79%, 65px);
  height: var(--tile-height);
  padding: 0;
  border: 1.5px solid #b9d2c4;
  border-radius: 7px;
  background: #e3f1e9;
  color: #153d3b;
  font-size: 35px;
  font-size: min(40px, calc(81cqw / var(--columns)));
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 3px 0 #cadfd0;
}
.digit-tile[data-zero-power] { pointer-events: auto; }
.digit.placeholder .digit-tile { background: #fff4bc; border-color: #c7ae41; color: #665a1e; box-shadow: 0 3px 0 #e3d28a; }
.digit.new .digit-tile { animation: digit-pop .3s ease-out; }
@keyframes digit-pop {
  from { opacity: 0; transform: scale(.55); }
  65% { opacity: 1; transform: scale(1.08); }
  to { transform: scale(1); }
}
.cell-target { display: flex; align-items: center; justify-content: center; min-width: 0; padding: 0; border: 0; background: transparent; }
.cell-target:focus-visible { outline-offset: -3px; }
.add-zero-mark { border-style: dashed; background: #fff; color: #5c7b6b; font-size: clamp(18px, 2vw, 26px); box-shadow: none; }
.cell-target:hover .add-zero-mark, .cell-target:focus-visible .add-zero-mark, .digit-tile[data-zero-power]:hover {
  background: #fff4bc;
  border-color: #b89c2f;
}
.decimal-point {
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(var(--whole-columns) * var(--cell));
  display: flex;
  align-items: center;
  justify-content: center;
  width: 0;
  color: #153d3b;
  font-size: 39px;
  font-weight: 900;
  line-height: 1;
  pointer-events: none;
}

.step-controls {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 59px;
  padding: 5px 13px 7px;
  border-top: 1px solid var(--line);
}
.step-count { margin-left: auto; padding-right: 8px; color: var(--muted); font-size: 12px; font-weight: 600; white-space: nowrap; }
.next-button { min-width: 126px; }
footer { padding: 17px 0 20px; text-align: center; font-size: 11px; }
footer a { color: var(--muted); text-decoration: none; }
footer a:hover { color: var(--purple); }

.keypad {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 30;
  width: 247px;
  padding: 12px;
  border: 1px solid #d8cde8;
  border-radius: 11px;
  background: #fff;
  box-shadow: 0 12px 35px #39304b25;
}
.second-field .keypad { left: auto; right: 0; }
.keypad-heading, .keypad-actions { display: flex; align-items: center; justify-content: space-between; gap: 7px; }
.keypad-heading { margin-bottom: 8px; font-size: 13px; }
.keypad-heading button { width: 32px; height: 32px; padding: 0; border: 0; border-radius: 6px; background: var(--lavender); font-size: 22px; }
.keypad-keys { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.keypad-key {
  min-height: 44px;
  border: 1px solid #d6cce7;
  border-radius: 7px;
  background: #fcfaff;
  font-size: 20px;
  font-weight: 700;
}
.keypad-key:hover:not(:disabled) { background: var(--lavender); border-color: var(--purple); }
.keypad-actions { margin-top: 9px; }
.keypad-actions button { flex: 1; min-height: 39px; }
.keypad-clear { padding: 6px 8px; border: 1px solid #e5d58e; border-radius: 7px; background: #fff4cb; font-size: 13px; font-weight: 700; }
.keypad-done { box-shadow: none; }

@media (max-width: 1000px) {
  .equation-bar { grid-template-columns: minmax(0, 1fr); gap: 4px; padding-block: 9px; }
  .working-row, .response-area { justify-content: center; }
  .teaching-copy { text-align: center; }
}
@media (max-width: 650px) {
  .header { min-height: 92px; padding: 12px; gap: 8px; }
  .header-brand { gap: 8px; }
  .brand-icon { width: 45px; height: 45px; flex-basis: 45px; }
  .brand { font-size: 9px; letter-spacing: 1.7px; }
  h1 { font-size: 25px; letter-spacing: -1px; }
  .header-actions .tools-link, .fullscreen span { display: none; }
  .fullscreen { width: 39px; padding: 0; }
  .content { width: calc(100% - 24px); padding-top: 15px; }
  .settings-card, .demo-card { border-radius: 16px; }
  .settings-card { --show-width: 56px; --form-gap: 8px; --middle: 24px; --leaf-sign: 18px; padding: 12px; }
  .input-wrap input { height: 43px; padding-left: 4px; font-size: 21px; }
  .pad-toggle { width: 34px; min-width: 34px; }
  .pad-toggle svg { width: 19px; height: 19px; }
  .times { font-size: 25px; }
  .show-button { min-height: 42px; padding-inline: 5px; gap: 3px; font-size: 12px; }
  .show-button span { font-size: 13px; }
  .diagram-branches { height: 35px; }
  .partition { font-size: 21px; }
  .long .partition { font-size: 15px; }
  .feedback-slot { height: 38px; padding-inline: 6px; justify-content: center; }
  .activity-feedback { font-size: 12px; text-align: center; }
  .equation-bar { min-height: 126px; padding: 8px 10px; gap: 4px; }
  .working-row { min-height: 44px; gap: 7px; }
  .working { font-size: 24px; gap: 6px; }
  .fact-field { width: 95px; }
  .check-button { min-height: 40px; padding-inline: 8px; font-size: 13px; }
  .response-area { min-height: 62px; flex-wrap: wrap; gap: 6px 8px; align-content: center; }
  .teaching-copy h2 { font-size: 18px; }
  .answer-choice { min-height: 40px; min-width: 80px; padding: 6px 10px; font-size: 15px; }
  .answer-choice.distance-choice { width: 35px; min-width: 35px; }
  .activity-controls { gap: 6px; }
  .chart-section { padding: 11px 6px; }
  .chart { --tile-height: 48px; }
  .chart-bands > span { font-size: 9px; }
  .column-heading { min-height: 55px; gap: 3px; }
  .heading-number { font-size: 12px; font-size: min(14px, calc(90cqw / var(--columns) / var(--label-length) / .56)); }
  .heading-word { font-size: 8px; }
  .chart-body { height: 79px; }
  .digit-tile { font-size: min(32px, calc(79cqw / var(--columns))); }
  .decimal-point { font-size: 32px; }
  .step-controls { min-height: 54px; gap: 3px; padding-inline: 6px; }
  .step-count { padding-right: 4px; font-size: 10px; }
  .step-controls .subtle-button { gap: 4px; padding-inline: 6px; }
  .next-button { min-height: 41px; min-width: 108px; padding-inline: 8px; font-size: 13px; }
  .keypad, .second-field .keypad {
    position: fixed;
    top: auto;
    right: auto;
    bottom: max(10px, env(safe-area-inset-bottom));
    left: 50%;
    width: min(280px, calc(100vw - 24px));
    transform: translateX(-50%);
  }
}
@media (max-height: 565px) and (min-width: 650px) {
  .header { min-height: 60px; padding: 7px 16px; }
  .brand-icon { width: 43px; height: 43px; flex-basis: 43px; }
  .brand { font-size: 8px; margin-bottom: 3px; }
  h1 { font-size: 23px; letter-spacing: -.9px; }
  .content { width: calc(100% - 24px); padding-top: 9px; display: grid; grid-template-columns: minmax(0, .83fr) minmax(0, 1.17fr); column-gap: 11px; align-items: center; }
  .settings-card { grid-row: 1 / 3; --show-width: 58px; --form-gap: 7px; --middle: 25px; --leaf-sign: 18px; padding: 10px; }
  .show-button { min-height: 39px; padding-inline: 4px; font-size: 12px; gap: 3px; }
  .show-button span { font-size: 12px; }
  .input-wrap input { height: 39px; padding-left: 3px; font-size: 20px; }
  .pad-toggle { width: 31px; min-width: 31px; }
  .pad-toggle svg { width: 18px; height: 18px; }
  .diagram-branches { height: 32px; }
  .partition { font-size: 20px; }
  .feedback-slot { grid-column: 2; height: 34px; padding-inline: 3px; }
  .activity-feedback { font-size: 11px; }
  .demo-card { grid-column: 2; min-width: 0; }
  .equation-bar { grid-template-columns: minmax(0, 1fr); min-height: 95px; gap: 3px; padding: 5px 7px; }
  .working-row { min-height: 38px; justify-content: center; gap: 5px; }
  .working { font-size: 22px; gap: 5px; }
  .response-area { min-height: 42px; justify-content: center; flex-wrap: wrap; gap: 5px; }
  .teaching-copy { text-align: center; }
  .teaching-copy h2 { font-size: 17px; }
  .teaching-copy p { font-size: 11px; margin-top: 2px; }
  .answer-choice { min-height: 35px; min-width: 73px; padding: 4px 8px; font-size: 13px; }
  .answer-choice.distance-choice { width: 32px; min-width: 32px; }
  .chart-section { padding: 7px 6px; }
  .chart { --tile-height: 43px; }
  .chart-bands > span { font-size: 8px; padding-block: 3px; }
  .column-heading { min-height: 31px; }
  .heading-word { display: none; }
  .heading-number { font-size: min(13px, calc(90cqw / var(--columns) / var(--label-length) / .56)); }
  .chart-body { height: 61px; }
  .digit-tile { font-size: min(30px, calc(78cqw / var(--columns))); }
  .step-controls { min-height: 45px; padding: 3px 5px 4px; gap: 3px; }
  .step-controls .subtle-button { padding-inline: 6px; }
  .next-button { min-height: 35px; min-width: 106px; padding: 4px 8px; font-size: 12px; }
  footer { display: none; }
  .keypad, .second-field .keypad {
    position: fixed;
    inset: auto auto 8px 50%;
    width: 240px;
    transform: translateX(-50%);
  }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Use the site menu on small screens and leave room for the calculation in full screen. */
.header-actions .website-menu-toggle { display: none; }
.website-menu-toggle svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.app:fullscreen #mr-walker-app-nav, .app.expanded #mr-walker-app-nav,
.app:fullscreen .website-menu-toggle, .app.expanded .website-menu-toggle { display: none; }
@media (max-width: 800px) {
  #mr-walker-app-nav:not(.mw-menu-open) { display: none; }
  #mr-walker-app-nav .mw-return-tools { grid-column: span 2; }
  .header-actions .tools-link { display: none; }
  .header-actions .website-menu-toggle { display: inline-flex; }
}
@media (max-height: 565px) and (min-width: 650px) {
  header.mw-app-header { min-height: 62px !important; padding: 8px 16px !important; gap: 8px !important; }
  header.mw-app-header h1.mw-app-title { font-size: 23px !important; }
  header.mw-app-header .mw-app-brand > .mw-app-icon { width: 43px !important; height: 43px !important; min-width: 43px !important; flex-basis: 43px !important; }
}
