/* Webly Transcribe. The page is typeset as a transcript: a narrow column of times, a margin rule, the words.
   The list of recent files is set the same way, with the time each was sent in the margin. Three views share
   the page: a first visit, this browser's files, one transcript. Colours and faces are Webly Studio's own
   (weblystudio.com). Phone width first; one breakpoint up. */

@font-face {
  font-family: "DM Serif Display";
  src: url("fonts/dm-serif-display.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Outfit";
  src: url("fonts/outfit.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --color-primary: #1b1b2f;
  --color-secondary: #131327;
  --color-accent: #fe5f50;
  --color-accent-hover: #ff7669;
  --color-bg: #faf6f0;
  --color-surface: #f5efe6;
  --color-card: #fffdf9;
  --color-scrim: rgb(19 19 39 / 0.62);
  --color-text: #1b1b2f;
  --color-text-muted: #4a4a60;
  --color-text-faint: #65657c;
  --color-rule: #e6dccd;
  --color-on-dark: #faf6f0;
  --color-on-dark-muted: #bdbacb;
  --color-deck-raised: #1b1b33;
  --color-deck-line: #3a3a58;
  --color-unsure: #7d5e1f;
  --color-unsure-bg: #fbf0d6;
  --color-unsure-mark: #d4a853;
  --color-problem: #9c2418;
  --color-problem-bg: #ffe9e5;

  --font-heading: "DM Serif Display", Georgia, "Times New Roman", serif;
  --font-body: "Outfit", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --text-xs: 0.75rem; --text-sm: 0.875rem; --text-base: 1rem; --text-lg: 1.125rem;
  --text-xl: 1.25rem; --text-2xl: 1.5rem; --text-3xl: 1.875rem; --text-4xl: 2.25rem;
  --text-5xl: 3rem; --text-6xl: 3.75rem;
  --text-headline: clamp(2.75rem, 1.5rem + 6.2vw, 5.25rem);
  --text-name: clamp(1.875rem, 1.3rem + 2.6vw, 3rem);

  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px; --space-6: 24px;
  --space-8: 32px; --space-12: 48px; --space-16: 64px; --space-20: 80px; --space-24: 96px;

  --duration-fast: 150ms; --duration-normal: 300ms; --duration-slow: 600ms;
  --easing-default: cubic-bezier(0.4, 0, 0.2, 1);

  --page: 72rem;
  --gutter: var(--space-4);
  --time-col: 3rem;
  --measure: 38rem;
  --radius: 6px;
  --radius-inner: 4px;
  --hairline: 1px;
  --rule: var(--hairline) solid var(--color-rule);
  --focus: 3px solid var(--color-accent);
  --focus-offset: 3px;
  --bar-height: 6px;
  --dot: 0.625rem;
  --rail: 13rem;
  --side: 13rem;
  --dialog: 34rem;
  --sent-col: 4.5rem;
  --length-col: 3.5rem;
  --speed-col: 5rem;
  --act-col: 7.5rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
h1, h2 { font-family: var(--font-heading); font-weight: 400; margin: 0; text-wrap: balance; }
h3 { margin: 0; font-size: var(--text-sm); font-weight: 600; color: var(--color-text-muted); }
ul, ol { margin: 0; }
.sr { position: absolute; width: var(--hairline); height: var(--hairline); overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
p { margin: 0; }
a { color: inherit; text-underline-offset: 3px; }
button, select, input { font: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: var(--focus); outline-offset: var(--focus-offset); }

.skip {
  position: absolute; left: var(--gutter); top: calc(-1 * var(--space-24));
  background: var(--color-primary); color: var(--color-bg);
  padding: var(--space-2) var(--space-4); border-radius: var(--radius); z-index: 3;
}
.skip:focus { top: var(--space-2); }

.top, main, .foot { max-width: var(--page); margin-inline: auto; padding-inline: var(--gutter); }

.top { display: flex; justify-content: space-between; align-items: baseline; gap: var(--space-4); padding-block: var(--space-6); }
.mark { display: inline-flex; align-items: center; gap: var(--space-2); font-weight: 600; letter-spacing: -0.01em; text-decoration: none; }
.dot { width: var(--dot); height: var(--dot); border-radius: 50%; background: var(--color-accent); }
.by { font-size: var(--text-sm); color: var(--color-text-muted); }

/* ---- a first visit: the pitch and the tool */

.trouble { margin-block: var(--space-2) var(--space-4); max-width: var(--measure); }
.stage { display: grid; gap: var(--space-12); padding-block: var(--space-6) var(--space-16); }
/* in the other two views the headline stays for a screen reader and leaves the page for the eye */
.stage.tucked { position: absolute; width: var(--hairline); height: var(--hairline); padding: 0; overflow: hidden; clip-path: inset(50%); }

/* a line of transcript: its time, a margin rule, its words */
.said, .sheet li { display: grid; grid-template-columns: var(--time-col) minmax(0, 1fr); align-items: baseline; }
.said > :last-child, .sheet p { border-left: var(--rule); padding-left: var(--space-4); }
.time { font-size: var(--text-sm); font-variant-numeric: tabular-nums; color: var(--color-text-faint); }

.pitch h1 { font-size: var(--text-headline); line-height: 1.02; letter-spacing: -0.015em; padding-bottom: var(--space-6); }
.pitch p { font-size: var(--text-lg); line-height: 1.5; padding-block: var(--space-3); max-width: 30rem; }
.pitch .said:last-child p { padding-bottom: var(--space-6); }
.lost { grid-template-columns: minmax(0, 1fr); }
.lost .solid { margin-top: var(--space-2); }

.arrives { animation: arrive var(--duration-slow) var(--easing-default) 500ms both; }
.arrives.later { animation-delay: 1100ms; }
.sheet li.new, .prose p.new { animation: arrive var(--duration-normal) var(--easing-default) both; }
@keyframes arrive { from { opacity: 0; transform: translateY(var(--space-2)); } }

/* ---- the tool: on the page at a first visit, in a dialog after that */

.deck {
  display: grid; gap: var(--space-6); align-content: start;
  background: var(--color-secondary); color: var(--color-on-dark);
  border-radius: var(--radius); padding: var(--space-6);
}
.drop { display: grid; gap: var(--space-3); text-align: center; }
.file { position: absolute; width: var(--hairline); height: var(--hairline); opacity: 0; overflow: hidden; clip-path: inset(50%); }
.choose, .go {
  display: block; width: 100%; cursor: pointer; border: 0; text-align: center;
  background: var(--color-accent); color: var(--color-primary);
  font-size: var(--text-lg); font-weight: 600;
  padding: var(--space-4) var(--space-6); border-radius: var(--radius);
  transition: background var(--duration-fast) var(--easing-default);
}
.choose:hover, .go:hover { background: var(--color-accent-hover); }
.file:focus-visible + .choose, .deck .go:focus-visible { outline: 3px solid var(--color-on-dark); outline-offset: var(--focus-offset); }
/* once files are chosen the one orange button is Transcribe, and choosing more steps back */
.has-files .choose { background: transparent; color: var(--color-on-dark); border: var(--hairline) dashed var(--color-deck-line); font-size: var(--text-base); font-weight: 500; padding-block: var(--space-3); }
.has-files .choose:hover { background: var(--color-deck-raised); }
.has-files .hint { display: none; }
.hint, .fine, .speed legend, .language label { font-size: var(--text-sm); color: var(--color-on-dark-muted); }
.fine { line-height: 1.45; }
.dragging .deck { outline: 2px dashed var(--color-accent); outline-offset: var(--space-2); }

.chosen { list-style: none; padding: 0; display: grid; gap: var(--space-1); }
.chosen li {
  display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: baseline; gap: var(--space-3);
  background: var(--color-deck-raised); border-radius: var(--radius-inner); padding: var(--space-2) var(--space-3);
}
.chosen .what { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chosen .how { font-size: var(--text-sm); color: var(--color-on-dark-muted); font-variant-numeric: tabular-nums; }
.chosen .bad { grid-column: 1 / -1; font-size: var(--text-sm); color: var(--color-unsure-mark); }
.chosen button { cursor: pointer; background: none; border: 0; color: var(--color-on-dark-muted); padding: 0 var(--space-1); font-size: var(--text-lg); line-height: 1; }
.chosen button:hover { color: var(--color-on-dark); }

.speed { border: 0; margin: 0; padding: 0; min-width: 0; }
.speed legend { padding: 0; margin-bottom: var(--space-2); }
.pair {
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-1);
  border: var(--hairline) solid var(--color-deck-line); border-radius: var(--radius); padding: var(--space-1);
  margin-bottom: var(--space-2);
}
.pair label { position: relative; display: block; }
.pair input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.pair span { display: grid; text-align: center; padding: var(--space-2) var(--space-3); border-radius: var(--radius-inner); }
.pair b { font-weight: 600; }
.pair small { font-size: var(--text-xs); color: var(--color-on-dark-muted); }
.pair input:checked + span { background: var(--color-on-dark); color: var(--color-primary); }
.pair input:checked + span small { color: var(--color-text-muted); }
.pair input:focus-visible + span { outline: var(--focus); outline-offset: var(--hairline); }

.language { display: grid; gap: var(--space-2); }
.language select {
  width: 100%; padding: var(--space-3);
  color: var(--color-on-dark); background: var(--color-deck-raised);
  border: var(--hairline) solid var(--color-deck-line); border-radius: var(--radius);
}
.problem {
  background: var(--color-problem-bg); color: var(--color-problem);
  font-weight: 500; padding: var(--space-3) var(--space-4); border-radius: var(--radius);
}

.dialog {
  width: min(var(--dialog), calc(100vw - 2 * var(--space-4))); max-height: calc(100dvh - 2 * var(--space-4));
  padding: 0; border: 0; border-radius: var(--radius); overflow: auto;
  background: var(--color-secondary); color: var(--color-on-dark);
}
.dialog::backdrop { background: var(--color-scrim); }
.dialog-head { display: flex; justify-content: space-between; align-items: center; gap: var(--space-4); padding: var(--space-6) var(--space-6) 0; }
.dialog-head h2 { font-size: var(--text-3xl); line-height: 1.1; }
.close { cursor: pointer; background: none; border: 0; color: var(--color-on-dark-muted); font-size: var(--text-3xl); line-height: 1; padding: 0 var(--space-2); border-radius: var(--radius-inner); }
.close:hover { color: var(--color-on-dark); }
.close:focus-visible { outline-color: var(--color-on-dark); }

/* ---- the desk: a rail, and beside it this browser's files or one transcript */

.desk { display: grid; gap: var(--space-6); padding-block: var(--space-2) var(--space-16); align-items: start; }
/* on a phone the rail is one line, the button and the way back to the list, so the words start higher */
.rail { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--space-2) var(--space-4); align-items: center; align-content: start; }
.rail-note { grid-column: 1 / -1; }
.rail .go { font-size: var(--text-base); padding-block: var(--space-3); }
.rail .go:focus-visible { outline: var(--focus); outline-offset: var(--focus-offset); }
.rail-link { font-weight: 500; padding-block: var(--space-1); text-decoration: none; border-bottom: var(--rule); }
.rail-link[aria-current] { border-bottom-color: var(--color-primary); }
.rail-link:hover { border-bottom-color: var(--color-text-faint); }
.rail-note, .rail-limits { font-size: var(--text-sm); color: var(--color-text-muted); }
.rail-limits { display: none; list-style: none; padding: 0; }

.card { background: var(--color-card); border: var(--rule); border-radius: var(--radius); padding: var(--space-4); min-width: 0; }
.card > h2, .doc-head h2 { font-size: var(--text-name); line-height: 1.1; overflow-wrap: anywhere; }
.card h2:focus { outline: none; }
.fine-ink { font-size: var(--text-sm); color: var(--color-text-muted); }

/* recent files, set like the transcript: when each was sent in the margin, a rule, then the file. Laid out as a
   grid, so a line can stack on a phone; the table keeps its meaning through its roles. */
.files { display: block; margin-block: var(--space-4); }
.files thead, .files tbody { display: block; }
.files thead { position: absolute; width: var(--hairline); height: var(--hairline); overflow: hidden; clip-path: inset(50%); }
.files tr { display: grid; grid-template-columns: var(--sent-col) minmax(0, 1fr) auto; border-bottom: var(--rule); }
.files tbody tr:first-child { border-top: var(--rule); }
.files th, .files td { display: block; min-width: 0; padding: 0; text-align: left; line-height: var(--space-6); }
.files .time { grid-row: 1 / span 2; padding-block: var(--space-3); white-space: nowrap; }
.files .name { grid-column: 2; border-left: var(--rule); padding: var(--space-3) var(--space-3) 0 var(--space-4); font-weight: 500; overflow-wrap: break-word; }
.files .name a { text-decoration: none; }
.files .name a:hover { text-decoration: underline; }
.files .narrow { display: block; font-size: var(--text-sm); font-weight: 400; color: var(--color-text-muted); }
.files .wide { display: none; }
.files .status { grid-column: 2 / span 2; border-left: var(--rule); padding: 0 var(--space-3) var(--space-3) var(--space-4); font-size: var(--text-sm); color: var(--color-text-muted); }
.files .status.busy { color: var(--color-text); font-weight: 500; }
.files .status.bad { color: var(--color-problem); }
.files .act { grid-column: 3; grid-row: 1; padding-top: var(--space-1); text-align: right; white-space: nowrap; }
.files tbody tr:hover { background: var(--color-surface); }

/* one transcript: the words, and in the margin what can be done with them */
.paper { display: grid; gap: var(--space-6); }
.doc-head { display: grid; gap: var(--space-2); }
.doc-meta { color: var(--color-text-muted); }
.rename { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3); }
.rename input { flex: 1 1 14rem; min-width: 0; padding: var(--space-3); border: var(--hairline) solid var(--color-primary); border-radius: var(--radius); background: var(--color-bg); color: var(--color-text); }
.doc-progress { display: grid; gap: var(--space-3); }
.doc-state { font-size: var(--text-lg); color: var(--color-text-muted); min-height: 1.55em; }
.doc-state.bad { color: var(--color-problem); font-weight: 500; }

.bar { appearance: none; -webkit-appearance: none; display: block; width: 100%; height: var(--bar-height); border: 0; border-radius: var(--bar-height); overflow: hidden; background: var(--color-rule); }
.bar::-webkit-progress-bar { background: var(--color-rule); }
.bar::-webkit-progress-value { background: var(--color-accent); transition: width var(--duration-normal) var(--easing-default); }
.bar::-moz-progress-bar { background: var(--color-accent); }
.bar:indeterminate { background: linear-gradient(90deg, var(--color-rule) 0 40%, var(--color-accent) 50%, var(--color-rule) 60% 100%) 0 0 / 300% 100%; animation: waiting 1.6s linear infinite; }
.bar:indeterminate::-webkit-progress-bar { background: transparent; }
.bar:indeterminate::-moz-progress-bar { background: transparent; }
@keyframes waiting { from { background-position: 100% 0; } to { background-position: 0 0; } }

.solid, .outline { display: inline-block; cursor: pointer; text-align: center; text-decoration: none; border-radius: var(--radius); border: var(--hairline) solid var(--color-primary); padding: var(--space-3) var(--space-4); font-weight: 500; }
.solid { background: var(--color-primary); color: var(--color-bg); font-weight: 600; padding-inline: var(--space-6); }
.outline { background: transparent; color: var(--color-text); }
.outline:hover { background: var(--color-surface); }
.quiet { justify-self: start; cursor: pointer; background: none; border: 0; padding: var(--space-2) 0; color: var(--color-text-muted); text-decoration: underline; text-underline-offset: 3px; }
.quiet:hover { color: var(--color-text); }
.quiet[data-armed="yes"] { color: var(--color-problem); font-weight: 500; }

.side { display: grid; gap: var(--space-4); border-block: var(--rule); padding-block: var(--space-4); }
.side-group { display: grid; gap: var(--space-2); }
.side ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: var(--space-1) var(--space-6); }
.side a, .side button { display: block; cursor: pointer; background: none; border: 0; padding: var(--space-1) 0; color: var(--color-text); text-align: left; text-decoration: underline; text-decoration-color: var(--color-rule); text-underline-offset: 4px; }
.side a:hover, .side button:hover { text-decoration-color: var(--color-primary); }
.side button[data-armed="yes"] { color: var(--color-problem); font-weight: 500; }
.side button:disabled { cursor: default; color: var(--color-text-faint); text-decoration: none; }
.check { display: inline-flex; align-items: center; gap: var(--space-2); padding-block: var(--space-1); cursor: pointer; }
.check input { width: var(--space-4); height: var(--space-4); accent-color: var(--color-primary); }

.notice { background: var(--color-unsure-bg); color: var(--color-unsure); border-left: 3px solid var(--color-unsure-mark); padding: var(--space-3) var(--space-4); max-width: var(--measure); }

.prose p { font-size: var(--text-lg); line-height: 1.7; max-width: var(--measure); overflow-wrap: anywhere; }
.prose p + p { margin-top: var(--space-4); }
.prose .unsure { background: var(--color-unsure-bg); box-shadow: inset 0 calc(-1 * var(--space-1) / 2) 0 var(--color-unsure-mark); }
.sheet { list-style: none; padding: 0; }
.sheet p { font-size: var(--text-lg); line-height: 1.6; padding-block: var(--space-2); max-width: calc(var(--measure) + var(--space-4)); overflow-wrap: anywhere; }
.sheet .tag { display: block; font-size: var(--text-xs); color: var(--color-unsure); }
.sheet .unsure p { border-left-color: var(--color-unsure-mark); background: var(--color-unsure-bg); }
.sheet button.time { cursor: pointer; background: none; border: 0; padding: 0; text-align: left; text-decoration: underline; text-decoration-color: var(--color-rule); text-underline-offset: 3px; }
.sheet button.time:hover { color: var(--color-text); text-decoration-color: var(--color-primary); }

.kept { color: var(--color-text-muted); max-width: var(--measure); border-top: var(--rule); padding-top: var(--space-4); }
.player { position: sticky; bottom: 0; background: var(--color-card); border-top: var(--rule); padding-block: var(--space-3); }
.player audio { width: 100%; height: var(--space-12); }

/* ---- below the tool: plain sections, a heading and what it says */

.more { display: grid; gap: var(--space-6); border-top: var(--rule); padding-block: var(--space-12); }
.more h2 { font-size: var(--text-3xl); line-height: 1.15; }
.facts, .steps { margin: 0; display: grid; gap: var(--space-3); max-width: var(--measure); font-size: var(--text-lg); }
.facts { padding-left: var(--space-6); }
.steps { list-style: none; padding: 0; counter-reset: step; }
.steps li { counter-increment: step; display: grid; grid-template-columns: var(--space-8) minmax(0, 1fr); align-items: baseline; }
.steps li::before { content: counter(step); font-family: var(--font-heading); font-size: var(--text-2xl); line-height: 1; }
.limits-list { margin: 0; max-width: var(--measure); }
.limits-list div { display: grid; grid-template-columns: 7rem minmax(0, 1fr); gap: var(--space-4); padding-block: var(--space-3); border-bottom: var(--rule); }
.limits-list div:first-child { padding-top: 0; }
.limits-list dt { color: var(--color-text-muted); }
.limits-list dd { margin: 0; font-weight: 500; }
.limits-list div:last-child dd { font-weight: 400; }
.questions { max-width: var(--measure); }
.questions details { border-bottom: var(--rule); }
.questions summary { display: flex; justify-content: space-between; gap: var(--space-4); cursor: pointer; list-style: none; font-size: var(--text-lg); font-weight: 500; padding-block: var(--space-4); }
.questions details:first-child summary { padding-top: 0; }
.questions summary::-webkit-details-marker { display: none; }
.questions summary::after { content: "+"; font-weight: 400; color: var(--color-text-faint); }
.questions details[open] summary::after { content: "\2212"; }
.questions p { color: var(--color-text-muted); padding-bottom: var(--space-4); }

.foot { border-top: var(--rule); padding-block: var(--space-8) var(--space-12); font-size: var(--text-sm); color: var(--color-text-muted); }

@media (min-width: 60rem) {
  :root { --gutter: var(--space-12); --time-col: 4.5rem; }
  .stage { grid-template-columns: minmax(0, 7fr) minmax(20rem, 5fr); gap: var(--space-16); align-items: start; padding-block: var(--space-12) var(--space-24); }
  .pitch p { font-size: var(--text-xl); }
  .deck { padding: var(--space-8); }
  .dialog-head { padding: var(--space-8) var(--space-8) 0; }
  .desk { grid-template-columns: var(--rail) minmax(0, 1fr); gap: var(--space-12); padding-block: var(--space-6) var(--space-24); }
  .rail { position: sticky; top: var(--space-6); grid-template-columns: minmax(0, 1fr); gap: var(--space-4); }
  .rail-limits { display: grid; gap: var(--space-1); border-top: var(--rule); padding-top: var(--space-4); }
  .card { padding: var(--space-8); }
  :root { --sent-col: 5rem; }
  /* one line across: sent, name, length, speed, status, delete */
  .files thead { position: static; width: auto; height: auto; overflow: visible; clip-path: none; }
  .files tr { grid-template-columns: var(--sent-col) minmax(0, 3fr) var(--length-col) var(--speed-col) minmax(0, 2fr) var(--act-col); }
  .files th { font-size: var(--text-sm); font-weight: 500; color: var(--color-text-faint); padding: var(--space-2) var(--space-3) var(--space-2) 0; }
  .files th.name { border-left-color: transparent; padding: var(--space-2) var(--space-3) var(--space-2) var(--space-4); }
  .files td.time, .files td.act, .files td.name, .files td.status { grid-column: auto; grid-row: auto; }
  .files td.wide, .files td.status { padding: var(--space-3) var(--space-3) var(--space-3) 0; }
  .files td.name { padding: var(--space-3) var(--space-3) var(--space-3) var(--space-4); }
  .files td.status { border-left: 0; }
  .files .wide { display: block; white-space: nowrap; }
  .files .narrow { display: none; }
  /* the margin on the right carries what can be done with the words. Rows are spaced by margins, not a gap, so
     the rows the margin spans add no height of their own. */
  .paper { grid-template-columns: minmax(0, 1fr) var(--side); column-gap: var(--space-8); row-gap: 0; }
  .paper > * { grid-column: 1; }
  .paper > :not(.side):not(:first-child) { margin-top: var(--space-6); }
  .paper > .side { grid-column: 2; grid-row: 1 / span 8; align-self: start; position: sticky; top: var(--space-6); border-block: 0; border-left: var(--rule); padding-block: 0; padding-left: var(--space-6); gap: var(--space-6); }
  .side ul { display: grid; gap: 0; }
  .more { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--space-16); padding-block: var(--space-16); }
  .more h2 { font-size: var(--text-4xl); }
}

@media (prefers-reduced-motion: reduce) {
  .arrives, .sheet li.new, .prose p.new, .bar:indeterminate { animation: none; }
  .choose, .go, .bar::-webkit-progress-value { transition: none; }
}

/* Save as PDF is the browser's own print: the name and the words, and nothing of the page round them */
@media print {
  .top, .skip, .trouble, .rail, .side, .doc-progress, .player, .kept, .more, .foot, .dialog, #files, .stage { display: none !important; }
  body { background: none; }
  .desk { display: block; padding: 0; }
  .card { border: 0; padding: 0; background: none; }
  .prose p, .sheet p { max-width: none; }
}
