/* Homepage product walkthrough: five steps drawn from the real app screens.
   The canvas is drawn at a fixed design size (720x450, or 350x408 in a narrow
   slot) and walkthrough.js scales it to the slot. Each scene shows its moments
   through the classes b1 to b4, which walkthrough.js adds on a clock.
   The app colours are fixed on purpose: the drawn product looks the same in
   the site's light and dark theme. */

.wt { width: 100%; max-width: 720px; min-width: 0; margin: 0 auto; overflow: hidden; border-radius: 22px; background: #d9e5dd; color: #17362f; text-align: left; }
.wt-stage {
  container-type: inline-size; position: relative; width: 100%; overflow: hidden; cursor: pointer;
}
/* Holds the height before the script runs, so nothing below moves. */
.wt-stage::before { content: ""; display: block; padding-top: 62.5%; }
.wt-canvas {
  position: absolute; left: 0; top: 0; width: 720px; height: 450px; transform-origin: 0 0;
  transform: scale(var(--wt-scale, var(--wt-fit, 1)));
  color: #18212f; font: 400 13px/1.3 "Open Sans", system-ui, sans-serif; -webkit-user-select: none; user-select: none;
}
.wt-canvas p { margin: 0; }
.wt-defs { position: absolute; width: 0; height: 0; }
.wt-i { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Scenes */
.wt-scene { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: none; }
/* Only the step that arrives fades. The one that leaves is gone in the same frame, so two never show at once. */
.wt-scene.is-on { opacity: 1; visibility: visible; transition: opacity .3s ease-out; }
/* The script switches scenes without a fade until it has set the first one. */
.wt:not(.is-ready) .wt-scene { transition: none; }
/* The same inside a step: what is replaced goes at once, then its replacement fades in. */
.wt-upload.b2 .wt-create, .wt-upload.b2 .wt-before,
.wt-upload.b4 .wt-folder, .wt-upload.b4 .wt-card-sd > .wt-h, .wt-upload.b4 .wt-drop-empty,
.wt-sort.b2 .wt-busy,
.wt-check.b1 .wt-calls-1, .wt-check.b3 .wt-was,
.wt-maps.b1 .wt-legend, .wt-maps.b1 .wt-pies,
.wt-report.b2 .wt-before { transition: none; }
.wt-cap { position: absolute; left: 24px; right: 24px; top: 22px; display: flex; align-items: center; gap: 12px; color: #17362f; font-size: 21px; font-weight: 600; line-height: 1.25; text-wrap: balance; }
.wt-cap b { flex: none; width: 32px; height: 32px; border-radius: 50%; background: #17362f; color: #fff; font-size: 16px; display: grid; place-items: center; }
.wt-app {
  position: absolute; left: 24px; top: 82px; width: 500px; height: 340px; display: flex; overflow: hidden;
  border-radius: 18px; background: #fff; box-shadow: 0 14px 30px -14px rgba(23,54,47,.45);
}
.wt-pop {
  position: absolute; left: 448px; top: 118px; width: 250px; min-height: 250px; padding: 18px;
  border-radius: 18px; background: #fff; box-shadow: 0 24px 44px -14px rgba(23,54,47,.55), 0 2px 6px rgba(23,54,47,.1);
  translate: 18px 0; transition: translate .6s cubic-bezier(.2,.7,.2,1) .1s;
}
.wt-scene.is-on .wt-pop { translate: 0 0; }
.wt-swap { transition: opacity .3s, visibility .3s; }
.wt-swap + .wt-swap { position: absolute; inset: 18px; opacity: 0; visibility: hidden; }

/* App parts */
.wt-side { flex: none; width: 50px; padding: 12px 0; background: #101827; color: #93b4dc; display: flex; flex-direction: column; align-items: center; gap: 9px; }
.wt-logo { width: 26px; height: 26px; margin-bottom: 4px; background: url("/new-website/assets/biosonic-logo-small.png") center / contain no-repeat; }
.wt-nav { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; transition: background .2s, color .2s; }
.wt-nav.is-on { background: #234a77; color: #fff; }
.wt-nav-up.is-on { border-radius: 50%; background: #5143e6; }
.wt-main { flex: 1; min-width: 0; padding: 20px 96px 20px 20px; }
.wt-h { position: relative; font-size: 16px; font-weight: 700; line-height: 1.3; }
.wt-label { color: #566171; font-size: 12px; font-weight: 600; }
.wt-btn { position: relative; height: 40px; border-radius: 9px; background: #2563eb; color: #fff; font-size: 14px; font-weight: 600; display: grid; place-items: center; transition: background .2s, scale .2s; }
.wt-dot { width: 11px; height: 11px; flex: none; border-radius: 50%; background: var(--c); display: inline-block; }
.wt-before, .wt-named { transition: opacity .3s; }
.wt-named { position: absolute; inset: 0; opacity: 0; }

/* 1. Upload */
.wt-drop { position: relative; height: 254px; margin-top: 18px; border: 2px dashed #b9c5d6; border-radius: 14px; transition: border-color .2s, background .2s; }
.wt-drop-empty, .wt-drop-full { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; transition: opacity .3s; }
.wt-drop-empty { align-items: center; gap: 7px; color: #566171; text-align: center; padding: 10px; }
.wt-drop-empty .wt-i { width: 34px; height: 34px; color: #2563eb; }
.wt-drop-empty b { color: #18212f; font-size: 15px; }
.wt-drop-empty small { font-size: 12px; }
.wt-drop-full { gap: 22px; padding: 0 16px; opacity: 0; }
.wt-upl { position: relative; display: flex; align-items: center; justify-content: space-between; padding-bottom: 12px; font-weight: 600; white-space: nowrap; }
.wt-upl > span { display: flex; align-items: center; gap: 8px; }
.wt-upl .wt-i { color: #d9a24a; stroke: none; }
.wt-upl small { color: #566171; font-size: 12px; font-weight: 400; }
.wt-upl i { position: absolute; left: 0; right: 0; bottom: 0; height: 6px; border-radius: 3px; background: #2563eb; scale: 0 1; transform-origin: left; transition: scale .8s ease; }
.wt-upl:nth-child(2) i { transition-delay: .12s; }
.wt-upl:nth-child(3) i { transition-delay: .24s; }
.wt-create .wt-label { margin: 26px 0 6px; }
.wt-input { height: 40px; padding: 0 10px; margin-bottom: 22px !important; border: 2px solid #c5cfdd; border-radius: 9px; display: flex; align-items: center; font-size: 14px; }
.wt-input span { white-space: nowrap; clip-path: inset(0 100% 0 0); transition: clip-path .8s steps(18); }
.wt-folder { margin-top: 26px !important; padding: 14px; border-radius: 12px; background: #f6f1e7; display: flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 600; transition: opacity .25s; }
.wt-folder .wt-i { width: 42px; height: 42px; color: #d9a24a; stroke: none; }
.wt-folder small { display: block; color: #566171; font-size: 12px; font-weight: 400; }
.wt-card-sd > .wt-h { transition: opacity .25s; }
.wt-found { position: absolute; left: 0; right: 0; top: 0; color: #17703f; font-size: 16px; font-weight: 700; opacity: 0; transition: opacity .3s; }
.wt-found .wt-i { display: inline-block; vertical-align: -3px; margin-right: 7px; }
.wt-found small { display: block; margin-top: 12px; color: #566171; font-size: 14px; font-weight: 400; }
.wt-upload.b1 .wt-input { border-color: #2563eb; }
.wt-upload.b1 .wt-input span { clip-path: inset(0 0 0 0); }
.wt-upload.b2 .wt-create { opacity: 0; visibility: hidden; }
.wt-upload.b2 .wt-card-sd { opacity: 1; visibility: visible; }
.wt-upload.b2 .wt-before { opacity: 0; }
.wt-upload.b2 .wt-named { opacity: 1; }
.wt-upload.b3 .wt-folder { opacity: .3; }
.wt-upload.b3 .wt-drop { border-color: #2563eb; background: #eff5ff; }
.wt-upload.b4 .wt-folder, .wt-upload.b4 .wt-card-sd > .wt-h { opacity: 0; }
.wt-upload.b4 .wt-found { opacity: 1; }
.wt-upload.b4 .wt-drop { border-style: solid; border-color: #d5deea; background: #fff; }
.wt-upload.b4 .wt-drop-empty { opacity: 0; }
.wt-upload.b4 .wt-drop-full { opacity: 1; }
.wt-upload.b4 .wt-upl i { scale: 1 1; }

/* 2. Sort */
.wt-status { position: relative; height: 38px; margin: 12px 0 !important; font-weight: 600; }
.wt-status > span { position: absolute; inset: 0; padding: 0 12px; border-radius: 10px; display: flex; align-items: center; gap: 8px; transition: opacity .3s; }
.wt-busy { background: #eff5ff; color: #1d4fc4; }
.wt-busy i { width: 14px; height: 14px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: wt-spin .8s linear infinite; }
.wt:not(.is-running) .wt-busy i { animation-play-state: paused; }
.wt-done { background: #e8f7ee; color: #17703f; opacity: 0; }
.wt-files p { height: 35px; border-bottom: 1px solid #edf0f4; display: flex; align-items: center; gap: 12px; white-space: nowrap; }
.wt-files p > span { color: #566171; font-size: 12px; }
.wt-files em { flex: 1; height: 6px; border-radius: 3px; background: #e7ebf0; }
.wt-files b { width: 170px; display: flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 600; opacity: 0; translate: -10px 0; transition: opacity .3s, translate .3s; transition-delay: calc(var(--n) * 110ms); }
.wt-sort .wt-pop { top: 98px; min-height: 306px; }
.wt-groups { margin-top: 8px; }
.wt-groups p { position: relative; height: 31px; padding: 0 6px; border-radius: 7px; display: flex; align-items: center; gap: 8px; white-space: nowrap; font-size: 12.5px; transition: background .2s; }
.wt-groups p > span { flex: 1; }
.wt-groups small { color: #566171; font-size: 12px; }
.wt-groups p > i:last-child { position: absolute; left: 25px; bottom: 1px; height: 3px; width: calc((100% - 31px) * .01); border-radius: 2px; background: var(--c); transition: width .7s ease; transition-delay: calc(var(--n) * 70ms); }
.wt-sort.b1 .wt-files b { opacity: 1; translate: 0 0; }
.wt-sort.b1 .wt-groups p > i:last-child { width: calc(var(--w) * .85); }
.wt-sort.b2 .wt-busy { opacity: 0; }
.wt-sort.b2 .wt-done { opacity: 1; }
.wt-sort.b3 .wt-g-grp { background: #e7f2d5; font-weight: 700; }

/* 3. Check */
.wt-dark { background: #101827; color: #e7edf6; }
.wt-list { flex: none; width: 170px; padding: 10px 0; border-left: 1px solid #26344b; }
.wt-listhead { padding: 4px 10px 10px; color: #93a4bd; font-size: 11px; }
.wt-row { height: 43px; padding: 0 9px; display: flex; align-items: center; gap: 7px; font-size: 10.5px; white-space: nowrap; transition: background .18s; }
.wt-row > span { color: #93a4bd; }
.wt-row b { position: relative; flex: none; width: 54px; padding: 4px 0; border-radius: 4px; font-weight: 700; text-align: center; transition: background .2s, box-shadow .15s; }
.wt-sp-bar { background: rgba(146,198,57,.3); }
.wt-sp-myo { background: rgba(184,118,26,.38); }
.wt-row em, .wt-tag em { font-style: normal; transition: opacity .15s; }
.wt-now { position: absolute; left: 0; right: 0; text-align: center; opacity: 0; }
.wt-row-1 { background: #24406b; }
.wt-check.b1 .wt-row-1 { background: transparent; }
.wt-check.b1 .wt-row-1 b { font-weight: 400; }
.wt-check.b1 .wt-row-2 { background: #24406b; }
/* A key changes only the cell that is selected, so BARBAR stays. */
.wt-check.b2 .wt-row-2 .wt-sp-myo { box-shadow: inset 0 0 0 2px #8ab8f5; }
.wt-spec { position: relative; flex: 1; min-width: 0; overflow: hidden; background: #07108a; }
.wt-spec svg { width: 100%; height: 100%; display: block; }
.wt-khz { position: absolute; left: 5px; translate: 0 -100%; color: #fff; font: 600 10px "JetBrains Mono", monospace; opacity: .85; }
.wt-grid { stroke: #fff; stroke-opacity: .13; }
.wt-call, .wt-call-glow { fill: none; stroke-linecap: round; }
.wt-call { stroke: #d9f754; stroke-width: 3; }
.wt-call-glow { stroke: #16b9e8; stroke-width: 9; stroke-opacity: .6; }
.wt-calls { transition: opacity .18s; }
.wt-calls-2 { opacity: 0; }
.wt-check.b1 .wt-calls-1 { opacity: 0; }
.wt-check.b1 .wt-calls-2 { opacity: 1; }
.wt-tags { position: absolute; left: 12px; top: 10px; display: flex; gap: 5px; }
.wt-tag { position: relative; width: 62px; padding: 4px 0; border-radius: 5px; background: #92c639; color: #18212f; font-size: 11px; font-weight: 700; text-align: center; transition: background .2s; }
.wt-tag-myo { background: #7d5012; color: #fff; opacity: 0; }
.wt-check.b1 .wt-tag-myo { opacity: 1; }
.wt-check.b3 .wt-tag-myo { background: #e29934; color: #18212f; }
.wt-check.b3 .wt-was { opacity: 0; }
.wt-check.b3 .wt-now { opacity: 1; }
.wt-check.b3 .wt-row-2 .wt-sp-myo { background: rgba(226,153,52,.65); }
.wt-check .wt-pop { left: 460px; width: 238px; top: 198px; min-height: 0; padding: 14px; }
.wt-key { padding: 8px; border-radius: 11px; display: flex; flex-direction: row-reverse; justify-content: space-between; align-items: center; gap: 12px; font-size: 14px; font-weight: 600; } /* keys on the right, so the cursor never covers their names */
.wt-key small { display: block; color: #566171; font-size: 11px; font-weight: 400; }
.wt-key kbd { flex: none; width: 46px; height: 46px; border: 1px solid #c5cfdd; border-radius: 9px; background: #f5f7fa; color: #18212f; box-shadow: 0 4px 0 #c5cfdd; font: 700 22px/44px "Open Sans", system-ui, sans-serif; text-align: center; transition: translate .1s, box-shadow .1s, background .1s; }
.wt-key.is-hit kbd { translate: 0 4px; box-shadow: none; background: #cfe0ff; }
.wt-saved { height: 30px; margin-top: 4px !important; padding: 0 8px; color: #17703f; display: flex; align-items: center; gap: 8px; font-weight: 600; opacity: 0; transition: opacity .25s; }
.wt-check.b3 .wt-saved { opacity: 1; }

/* 4. Maps */
.wt-map { position: relative; flex: 1; min-width: 0; }
.wt-map > svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.wt-pin { position: absolute; left: 28%; top: 39%; width: 2px; height: 2px; }
.wt-ring { fill: none; stroke: #fff; stroke-width: 3; }
.wt-heat, .wt-picks, .wt-pies { transition: opacity .4s; }
.wt-heat, .wt-picks { opacity: 0; }
.wt-picks rect { fill: #9a3412; stroke: #fff; stroke-width: 2.5; }
.wt-picks text { fill: #fff; font: 700 14px "Open Sans", system-ui, sans-serif; text-anchor: middle; }
.wt-legend > p:not(.wt-h) { height: 37px; display: flex; align-items: center; gap: 9px; white-space: nowrap; font-size: 12.5px; }
.wt-legend > .wt-h { margin-bottom: 8px; }
.wt-legend span { flex: 1; }
.wt-legend small { color: #566171; font-size: 12px; }
.wt-note { margin: 12px 0 26px !important; color: #566171; font-size: 14px; }
.wt-scale { display: block; height: 14px; margin-top: 8px; border-radius: 7px; background: linear-gradient(90deg,#a6d96a,#f6d54a,#f09a37,#d8402f); }
.wt-ends { display: flex; justify-content: space-between; margin-top: 5px !important; color: #566171; }
.wt-maps.b1 .wt-nav-map { background: transparent; color: inherit; }
.wt-maps.b1 .wt-nav-home { background: #234a77; color: #fff; }
.wt-maps.b1 .wt-legend, .wt-maps.b1 .wt-pies { opacity: 0; }
.wt-maps.b1 .wt-legend { visibility: hidden; }
.wt-maps.b1 .wt-roost { opacity: 1; visibility: visible; }
.wt-maps.b1 .wt-heat { opacity: .78; }
.wt-maps.b2 .wt-picks { opacity: 1; }

/* 5. Report */
.wt-paperbed { flex: 1; min-width: 0; padding: 18px 92px 0 20px; background: #eef1f5; }
.wt-paper { height: 400px; padding: 20px; border-radius: 8px 8px 0 0; background: #fff; box-shadow: 0 2px 8px rgba(16,24,39,.12); }
.wt-title { margin-bottom: 18px !important; font-size: 19px; font-weight: 700; line-height: 1.25; }
.wt-title small { display: block; color: #566171; font-size: 13px; font-weight: 400; }
.wt-chart { display: block; width: 100%; height: 96px; margin: 6px 0 16px; clip-path: inset(0 100% 0 0); transition: clip-path 1.1s ease; }
.wt-tr { height: 30px; border-bottom: 1px solid #edf0f4; display: flex; align-items: center; justify-content: space-between; white-space: nowrap; font-size: 12px; }
.wt-tr small { color: #566171; font-size: 12px; }
.wt-report.b1 .wt-chart { clip-path: inset(0 0 0 0); }
.wt-tick { height: 33px; display: flex; align-items: center; gap: 9px; }
.wt-tick .wt-i { color: #17703f; }
.wt-report .wt-h { margin-bottom: 8px; }
.wt-report .wt-btn { margin-top: 12px; }
.wt-report .wt-btn > span { display: flex; align-items: center; justify-content: center; gap: 8px; }
.wt-report.b2 .wt-btn { background: #17703f; }
.wt-report.b2 .wt-before { opacity: 0; }
.wt-report.b2 .wt-named { opacity: 1; }

/* The cursor */
.wt-cursor { position: absolute; z-index: 3; left: 0; top: 0; translate: 620px 420px; opacity: 0; transition: translate .65s cubic-bezier(.45,.05,.25,1), opacity .25s; }
.wt-cursor.is-shown { opacity: 1; }
/* The tip of the arrow sits on the point the cursor is moved to. */
.wt-cursor > svg { position: absolute; left: -6px; top: -5px; width: 58px; height: 58px; filter: drop-shadow(0 4px 5px rgba(23,54,47,.28)); transition: scale .12s; transform-origin: 8px 8px; }
.wt-cursor > svg path { fill: #c8714d; stroke: #fff; stroke-width: 3; stroke-linejoin: round; }
.wt-cursor.is-down > svg { scale: .8; }
.wt-cursor::before { content: ""; position: absolute; left: -22px; top: -22px; width: 44px; height: 44px; border: 3px solid #c8714d; border-radius: 50%; opacity: 0; }
.wt-cursor.is-down::before { animation: wt-ring .4s ease-out; }
.wt-ghost { position: absolute; left: -70px; top: -44px; padding: 8px 12px; border-radius: 10px; background: #fff; box-shadow: 0 10px 20px -8px rgba(23,54,47,.5); display: flex; align-items: center; gap: 8px; white-space: nowrap; font-weight: 600; opacity: 0; }
.wt-ghost .wt-i { color: #d9a24a; stroke: none; }
.wt-cursor.is-carrying .wt-ghost { opacity: 1; transition: opacity .15s; }
@keyframes wt-ring { from { opacity: .9; scale: .4; } to { opacity: 0; scale: 1.3; } }
@keyframes wt-spin { to { rotate: 1turn; } }

/* Step buttons */
.wt-controls { display: flex; align-items: center; gap: 12px; padding: 0 20px 12px; }
.wt-steps { flex: 1; min-width: 0; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.wt-steps button { position: relative; width: 100%; min-height: 44px; padding: 10px 0 0; border: 0; background: none; color: inherit; font: 500 13px/1.2 var(--font-body); text-align: center; cursor: pointer; }
.wt-steps button[aria-current] { font-weight: 700; }
.wt-bar { display: block; height: 5px; margin-bottom: 8px; overflow: hidden; border-radius: 3px; background: rgba(23,54,47,.18); }
.wt-bar i { display: block; height: 100%; background: currentColor; transform-origin: left; transform: scaleX(0); }
.wt-steps button[aria-current] .wt-bar i { transform: scaleX(var(--wt-progress, 1)); }
.wt-play { flex: none; width: 44px; height: 44px; padding: 13px; border: 1px solid rgba(23,54,47,.3); border-radius: 50%; background: transparent; color: inherit; cursor: pointer; }
.wt-play[hidden] { display: none; }
.wt-play svg { width: 100%; height: 100%; fill: currentColor; display: block; }
.wt-when-paused, .wt.is-paused .wt-when-playing { display: none; }
.wt.is-paused .wt-when-paused { display: inline; }
.wt-steps button:focus-visible, .wt-play:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; border-radius: 6px; }
.wt-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* Until the script has measured the slot (or without JavaScript), a step that always fits. */
@container (max-width: 719px) { .wt-canvas { --wt-fit: .9; } }
@container (max-width: 647px) { .wt-canvas { --wt-fit: .82; } }
@container (max-width: 589px) { .wt-canvas { --wt-fit: .72; } }

/* Narrow slot (phones): the same five scenes on a taller canvas, panel lifted out below. */
@container (max-width: 519px) {
  .wt-stage::before { padding-top: 116.571%; }
  .wt-canvas { width: 350px; height: 408px; --wt-fit: 1; }
  .wt-cap { left: 14px; right: 12px; top: 10px; height: 50px; gap: 10px; font-size: 16.5px; }
  .wt-cap b { width: 28px; height: 28px; font-size: 14px; }
  .wt-app { left: 10px; top: 68px; width: 330px; height: 226px; border-radius: 14px; }
  .wt-pop, .wt-sort .wt-pop, .wt-check .wt-pop { left: 38px; top: 242px; width: 302px; min-height: 154px; padding: 12px 14px; border-radius: 15px; translate: 0 14px; }
  .wt-swap + .wt-swap { inset: 12px 14px; }
  .wt-side { width: 40px; gap: 2px; padding: 8px 0; }
  .wt-nav { width: 28px; height: 28px; }
  .wt-nav .wt-i { width: 15px; height: 15px; }
  .wt-logo { width: 22px; height: 22px; }
  .wt-main { padding: 12px 12px 0; }
  .wt-h { font-size: 14px; }
  .wt-drop { height: 124px; margin-top: 8px; }
  .wt-drop-empty { gap: 4px; }
  .wt-drop-empty .wt-i { width: 26px; height: 26px; }
  .wt-drop-full { gap: 8px; padding: 0 12px; }
  .wt-upl { padding-bottom: 7px; }
  .wt-upl i { height: 4px; }
  .wt-create .wt-label { margin: 6px 0 4px; }
  .wt-input { height: 34px; margin-bottom: 9px !important; }
  .wt-btn { height: 36px; }
  .wt-folder { margin-top: 12px !important; }
  .wt-status { height: 30px; margin: 6px 0 !important; }
  .wt-files p { height: 24px; }
  .wt-files b { width: 158px; font-size: 12px; }
  .wt-files p:nth-child(n+5) { display: none; }
  .wt-sort .wt-pop { top: 232px; min-height: 166px; }
  .wt-groups { margin-top: 2px; }
  .wt-groups p { height: 24px; }
  .wt-groups p:nth-child(4), .wt-groups p:nth-child(5), .wt-groups p:nth-child(6) { display: none; }
  .wt-list { width: 140px; padding: 4px 0; }
  .wt-spec { height: 180px; } /* above the lifted card, so the low barbastelle calls stay visible */
  .wt-listhead { padding: 4px 8px; }
  .wt-row { height: 31px; padding: 0 5px; gap: 5px; font-size: 9.5px; }
  .wt-row b { width: 47px; padding: 3px 0; }
  .wt-khz { left: 3px; font-size: 8px; }
  .wt-tags { left: 8px; top: 7px; gap: 4px; }
  .wt-tag { width: 50px; font-size: 9.5px; }
  .wt-check .wt-pop { top: 248px; min-height: 0; padding: 6px 12px; }
  .wt-key { padding: 4px 6px; }
  .wt-key kbd { width: 38px; height: 38px; font-size: 19px; line-height: 36px; }
  .wt-saved { height: 24px; margin: 0 !important; }
  .wt-map > svg { height: 206px; }
  .wt-pin { top: 35%; }
  .wt-legend > p:not(.wt-h) { height: 21px; }
  .wt-legend > .wt-h { margin-bottom: 2px; }
  .wt-note { margin: 6px 0 14px !important; font-size: 13px; }
  .wt-paperbed { padding: 10px 12px 0; }
  .wt-paper { padding: 11px 13px; }
  .wt-title { margin-bottom: 8px !important; font-size: 15px; }
  .wt-title small { font-size: 12px; }
  .wt-chart { height: 56px; margin: 4px 0 10px; }
  .wt-report .wt-pop { top: 238px; min-height: 160px; display: grid; grid-template-columns: 1fr 1fr; align-content: start; }
  .wt-report .wt-h, .wt-report .wt-btn { grid-column: 1 / -1; }
  .wt-report .wt-h { margin-bottom: 4px; }
  .wt-tick { height: 25px; gap: 6px; font-size: 12px; white-space: nowrap; }
  .wt-report .wt-btn { margin-top: 10px; }
  .wt-cursor > svg { width: 48px; height: 48px; left: -5px; top: -4px; }
}
@container (max-width: 349px) { .wt-canvas { --wt-fit: .8; } }

/* Tablets: the site's floating theme button rests on the right end of the steps. */
@media (min-width: 568px) and (max-width: 860px) {
  .wt-controls { padding-right: 76px; }
}
@media (max-width: 567px) {
  .wt { border-radius: 18px; }
  .wt-steps { gap: 4px; }
  .wt-steps button { font-size: 12px; }
  .wt-controls { gap: 8px; padding: 0 10px 8px; }
}

/* While a step is being rewound, nothing animates backwards. */
.wt-scene.is-reset *, .wt-cursor.is-reset { transition: none !important; }

@media (prefers-reduced-motion: reduce) {
  .wt *, .wt *::before { transition: none !important; animation: none !important; }
  .wt-cursor { display: none; }
}
