/*
 * Tokens de cor. Razoes de contraste WCAG 2.x calculadas (luminancia relativa),
 * minimo AA: texto 4.5:1, componente/borda de controle 3:1.
 *
 * Claro
 *   --accent #1d66bd (links/texto): 5.55 em surface-1, 5.22 em bg, 4.87 em surface-2
 *   --accent-solid #1d66bd + --accent-ink #fff (botao primario): 5.69
 *   --text-muted #67655f: 5.68 surface-1, 5.35 bg, 4.98 surface-2, 5.09 good-bg,
 *                         5.16 warn-bg, 4.80 bad-bg
 *   --border-strong #8a8780 (borda de input): 3.49 surface-1, 3.29 bg, 3.06 surface-2
 *   --track #e2dfd8 (trilho de barra): preenchimento series-1 3.32, good 4.09
 *     (a barra pinta com --series-1 #2a78d6, nao com --accent)
 *   --on-status #fff sobre --bad (toast de erro, gravando): 6.54
 * Escuro
 *   --accent #5b9cef (links/texto): 6.18 surface-1, 6.65 bg, 5.51 surface-2
 *   --accent-solid #2b72cc + --accent-ink #fff: 4.79; botao vs surface-1: 3.63
 *   --text-muted #9a9990: 6.08 surface-1, 5.43 surface-2, 4.97 good-bg,
 *                         5.10 warn-bg, 5.47 bad-bg
 *   --border-strong #77756e: 3.78 surface-1, 4.06 bg, 3.37 surface-2
 *   --track #3a3934: preenchimento series-1 3.18, good 5.99
 *   --on-status #121211 sobre --bad: 7.74; sobre --good: 9.71
 * Antes: branco no accent 4.42 (claro) / 3.64 (escuro); muted em surface-2 3.77;
 * toast de erro no escuro 2.42; borda de input 1.35.
 */
:root {
  color-scheme: light;
  --bg: #f6f5f2;
  --surface-1: #fcfcfb;
  --surface-2: #efede8;
  --border: #dedbd3;
  --border-strong: #8a8780;
  --text-primary: #0b0b0b;
  --text-secondary: #52514e;
  --text-muted: #67655f;
  --accent: #1d66bd;
  --accent-solid: #1d66bd;
  --accent-ink: #ffffff;
  --on-status: #ffffff;
  --track: #e2dfd8;
  --focus: #1d66bd;
  --series-1: #2a78d6;
  --seq-0: #e8eef7; --seq-1: #b9cff0; --seq-2: #7fa9e3; --seq-3: #4a86d8; --seq-4: #1f5fb0;
  --good: #0b7a3b; --good-bg: #e2f4e8;
  --warn: #8a5a00; --warn-bg: #fdf0d5;
  --bad: #b3261e; --bad-bg: #fbe4e2;
  --grid: #e7e5df;
  --shadow: 0 1px 2px rgb(0 0 0 / .06), 0 2px 8px rgb(0 0 0 / .04);
}
@media (prefers-color-scheme: dark) {
  :root:where(:not([data-theme="light"])) {
    color-scheme: dark;
    --bg: #121211; --surface-1: #1a1a19; --surface-2: #242422; --border: #34332f; --border-strong: #77756e;
    --text-primary: #f0efec; --text-secondary: #c3c2b7; --text-muted: #9a9990;
    --accent: #5b9cef; --accent-solid: #2b72cc; --accent-ink: #ffffff; --on-status: #121211; --track: #3a3934; --focus: #5b9cef;
    --series-1: #3987e5;
    --seq-0: #1f2530; --seq-1: #1f3a5f; --seq-2: #285a96; --seq-3: #3a7fd0; --seq-4: #7fb0ef;
    --good: #5fd08a; --good-bg: #16301f; --warn: #f0b85a; --warn-bg: #33270f; --bad: #f08a83; --bad-bg: #3a1a18;
    --grid: #2c2b28; --shadow: none;
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #121211; --surface-1: #1a1a19; --surface-2: #242422; --border: #34332f; --border-strong: #77756e;
  --text-primary: #f0efec; --text-secondary: #c3c2b7; --text-muted: #9a9990;
  --accent: #5b9cef; --accent-solid: #2b72cc; --accent-ink: #ffffff; --on-status: #121211; --track: #3a3934; --focus: #5b9cef;
  --series-1: #3987e5;
  --seq-0: #1f2530; --seq-1: #1f3a5f; --seq-2: #285a96; --seq-3: #3a7fd0; --seq-4: #7fb0ef;
  --good: #5fd08a; --good-bg: #16301f; --warn: #f0b85a; --warn-bg: #33270f; --bad: #f08a83; --bad-bg: #3a1a18;
  --grid: #2c2b28; --shadow: none;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: var(--bg); color: var(--text-primary);
  font: 16px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, sans-serif;
}
a { color: var(--accent); }
h1 { font-size: 1.6rem; margin: 0 0 .25rem; }
h2 { font-size: 1.15rem; margin: 1.5rem 0 .6rem; }
h3 { font-size: 1rem; margin: 1rem 0 .4rem; }
.muted { color: var(--text-muted); }
.small { font-size: .85rem; }

/* ---------- Navegacao (R39/R40): 5 areas + menu de perfil; sub-abas dentro da area ----------
   Desktop: areas no topo (sticky). Celular (<= 640px): barra inferior fixa com icone + rotulo,
   topo com 1 linha so (marca + perfil), sem sticky. --bnav-h = altura ocupada pela barra inferior. */
:root { --bnav-h: 0px; }
.topbar {
  position: sticky; top: 0; z-index: 30; display: flex; gap: 1rem; align-items: center;
  padding: .5rem 16px; background: var(--surface-1); border-bottom: 1px solid var(--border);
  padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px));
}
.brand { font-weight: 700; text-decoration: none; color: var(--text-primary); white-space: nowrap; display: inline-flex; align-items: center; gap: .45rem; }
.brand img { display: block; border-radius: 6px; }
#nav { display: flex; gap: .2rem; flex: 1; min-width: 0; }
#nav a {
  display: inline-flex; align-items: center; gap: .4rem; padding: .4rem .7rem; border-radius: 10px;
  text-decoration: none; color: var(--text-secondary); font-size: .95rem; white-space: nowrap;
}
#nav a:hover { background: var(--surface-2); color: var(--text-primary); }
#nav svg, .subnav svg { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
#nav a.active { background: var(--surface-2); color: var(--text-primary); font-weight: 600; }

/* Menu de perfil (avatar): Ajustes do estudo, Voz/audio/tema, Usuarios (admin), Sair */
.profile { position: relative; margin-left: auto; }
.profile summary { list-style: none; cursor: pointer; border-radius: 99px; display: flex; align-items: center; min-height: 36px; }
.profile summary::-webkit-details-marker { display: none; }
.avatar {
  width: 34px; height: 34px; border-radius: 50%; display: inline-grid; place-items: center; font-weight: 700; font-size: .9rem;
  background: var(--accent-solid); color: var(--accent-ink); text-transform: uppercase;
}
.profile[open] .avatar, .profile summary:hover .avatar { box-shadow: 0 0 0 3px var(--surface-2); }
.profile-menu {
  position: absolute; right: 0; top: calc(100% + 6px); z-index: 45; min-width: 230px; padding: .35rem;
  background: var(--surface-1); border: 1px solid var(--border); border-radius: 12px; box-shadow: 0 6px 24px rgb(0 0 0 / .14);
}
.profile-menu a { display: flex; align-items: center; min-height: 40px; padding: .45rem .75rem; border-radius: 8px; text-decoration: none; color: var(--text-primary); }
.profile-menu a:hover, .profile-menu a.active { background: var(--surface-2); }
.profile-menu a[hidden] { display: none; }
.profile-who { margin: .3rem .75rem .4rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.profile-who:empty { display: none; }

/* Sub-abas da area (Praticar, Pronuncia, Progresso, Ajustes) */
.subnav { max-width: 980px; margin: 0 auto; padding: .9rem 16px 0;
  padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.subnav[hidden] { display: none; }
.tabs { display: flex; gap: .35rem; overflow-x: auto; scrollbar-width: none; padding: 6px 2px; margin: -4px 0; }
.tabs::-webkit-scrollbar { display: none; }
.tabs + .tabs { margin-top: .5rem; }
.tabs a {
  display: inline-flex; align-items: center; gap: .35rem; white-space: nowrap; text-decoration: none; min-height: 36px;
  padding: .35rem .85rem; border-radius: 99px; border: 1px solid var(--border); color: var(--text-secondary); background: var(--surface-1); font-size: .92rem;
}
.tabs a:hover { background: var(--surface-2); color: var(--text-primary); }
.tabs a.active { background: var(--accent-solid); border-color: var(--accent-solid); color: var(--accent-ink); font-weight: 600; }
.tabs.sub a { min-height: 32px; font-size: .85rem; padding: .25rem .7rem; }
.tabs.sub a.active { background: var(--surface-2); border-color: var(--border-strong); color: var(--text-primary); }

/* Faixa "IA indisponivel" (disjuntor, R67): discreta, nao bloqueia nada */
.ai-banner {
  max-width: calc(980px - 32px); margin: .8rem auto 0; padding: .55rem .9rem; border-radius: 10px;
  background: var(--warn-bg); color: var(--text-primary); border-left: 4px solid var(--warn); font-size: .92rem;
}
.ai-banner[hidden] { display: none; }
@media (max-width: 1012px) { .ai-banner { margin-left: 16px; margin-right: 16px; } }

/* Tela Praticar (hub da area) */
.hub { display: grid; gap: .8rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.hub a.card { text-decoration: none; color: inherit; margin: 0; display: flex; flex-direction: column; gap: .25rem; }
.hub a.card:hover { border-color: var(--border-strong); }
.hub .ic { font-size: 1.6rem; line-height: 1; }
.hub b { font-size: 1.05rem; }

main {
  max-width: 980px; margin: 0 auto; padding: 1.5rem 16px calc(4rem + var(--bnav-h));
  padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px));
}
.subnav:not([hidden]) + main { padding-top: 1rem; }
/* secao alvo de uma aba (ex.: Pares minimos) nao fica embaixo do topo fixo */
main h2, main [data-aba] { scroll-margin-top: 72px; }

.card {
  background: var(--surface-1); border: 1px solid var(--border); border-radius: 14px;
  padding: 1.1rem 1.25rem; box-shadow: var(--shadow); margin-bottom: 1rem;
}
.grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.row { display: flex; gap: .6rem; align-items: center; flex-wrap: wrap; }
.spacer { flex: 1; }

button, .btn {
  font: inherit; border: 1px solid var(--border); background: var(--surface-1); color: var(--text-primary);
  padding: .5rem .95rem; border-radius: 10px; cursor: pointer; text-decoration: none; display: inline-flex;
  align-items: center; gap: .4rem; line-height: 1.2;
}
button:hover, .btn:hover { background: var(--surface-2); }
button.primary, .btn.primary { background: var(--accent-solid); color: var(--accent-ink); border-color: var(--accent-solid); }
button.primary:hover { filter: brightness(1.08); }
button:disabled { opacity: .5; cursor: default; }
/* gravar: neutro (ou primario) ate gravar; vermelho so durante a gravacao */
button.rec.recording { background: var(--bad); color: var(--on-status); border-color: var(--bad); animation: pulse 1.2s infinite; }
@keyframes pulse { 50% { opacity: .75; } }
button.icon { padding: .35rem .55rem; min-width: 2.25rem; justify-content: center; }

/* Foco visivel e alvos de toque (WCAG 2.4.7, 2.5.8: minimo 24px) */
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
[tabindex="-1"]:focus:not(:focus-visible) { outline: none; }
button, .btn, select, input:not([type="checkbox"]):not([type="radio"]):not([type="range"]) { min-height: 24px; }
input[type="checkbox"], input[type="radio"] { width: 1.15rem; height: 1.15rem; accent-color: var(--accent-solid); }
@media (pointer: coarse) {
  button, .btn, select, input:not([type="checkbox"]):not([type="radio"]):not([type="range"]) { min-height: 44px; }
  #nav a { min-height: 44px; }
  .tabs a, .tabs.sub a, .tabs button { min-height: 44px; }
  button.icon { min-width: 44px; }
  .profile summary { min-height: 44px; }
}

/* Acessibilidade: utilitarios */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 100; background: var(--accent-solid); color: var(--accent-ink);
  padding: .6rem 1rem; border-radius: 10px; text-decoration: none; font-weight: 600;
}
.skip-link:focus { top: 8px; }
/* Texto em ingles: as telas marcam <span class="en" lang="en" translate="no">.
   A classe fica neutra de proposito; regras de contexto (ex.: .example .en) continuam valendo. */
.en { unicode-bidi: isolate; }

input, select, textarea {
  font: inherit; color: var(--text-primary); background: var(--surface-1); border: 1px solid var(--border);
  border-radius: 10px; padding: .5rem .7rem; max-width: 100%;
}
input:not([type="checkbox"]):not([type="radio"]):not([type="range"]), select, textarea { border-color: var(--border-strong); }
textarea { width: 100%; resize: vertical; }
label { display: block; font-size: .9rem; color: var(--text-secondary); margin: .6rem 0 .2rem; }

.badge {
  display: inline-block; font-size: .75rem; padding: .1rem .5rem; border-radius: 99px;
  background: var(--surface-2); color: var(--text-secondary); border: 1px solid var(--border);
}

/* Revisao */
.flash { text-align: center; padding: 2rem 1.25rem; min-height: 320px; }
.flash .front { font-size: 2.3rem; font-weight: 700; margin: .8rem 0 .2rem; word-break: break-word; }
.flash .front.phrase { font-size: 1.6rem; }
.flash .ipa { color: var(--text-muted); font-size: 1.05rem; }
.flash .answer { border-top: 1px dashed var(--border); margin-top: 1.2rem; padding-top: 1rem; text-align: left; }
.flash .tr { font-size: 1.35rem; font-weight: 600; text-align: center; margin-bottom: .8rem; }
.example { background: var(--surface-2); border-radius: 10px; padding: .7rem .9rem; margin: .5rem 0; }
.example .en { font-size: 1.05rem; }
.note { border-left: 3px solid var(--accent); padding: .3rem .8rem; margin: .6rem 0; color: var(--text-secondary); }
/* Notas fixas no rodape do card (alcance do polegar), com area segura do iPhone */
.ratings {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: .5rem; margin: 1.2rem -1.25rem -2rem;
  position: sticky; bottom: 0; z-index: 5; background: var(--surface-1); border-top: 1px solid var(--border);
  padding: .6rem 1.25rem calc(.6rem + env(safe-area-inset-bottom, 0px)); border-radius: 0 0 14px 14px;
}
.ratings button { flex-direction: column; justify-content: center; padding: .5rem .3rem; min-height: 56px; }
.ratings small { color: var(--text-muted); font-size: .78rem; }
.ratings button:hover small { color: inherit; opacity: .9; }
/* "Bom" sugerido com contorno, nao com fundo cheio */
.ratings button.primary { background: var(--surface-1); color: var(--text-primary); border: 2px solid var(--accent-solid); font-weight: 600; }
.ratings button.primary:hover { background: var(--surface-2); filter: none; }
/* "Mostrar resposta": largo e fixo na mesma posicao das notas */
.flash > div:has(> #show) {
  position: sticky; bottom: 0; z-index: 5; background: var(--surface-1);
  margin: 1.5rem -1.25rem -2rem !important; padding: .6rem 1.25rem calc(.6rem + env(safe-area-inset-bottom, 0px));
  border-radius: 0 0 14px 14px;
}
.flash #show { width: 100%; min-height: 56px; justify-content: center; }
.tbl { overflow-x: auto; }
.counts { display: flex; gap: 1rem; justify-content: center; font-size: .9rem; }
.kbd { font-size: .75rem; color: var(--text-muted); }
/* atalhos de teclado nao fazem sentido em tela de toque */
@media (hover: none) { .kbd { display: none; } }
/* aviso do modo recuperacao (tambem no Hoje, fora da tela do Plano) */
.plan-recovery { border-left: 4px solid var(--accent); }

/* Resultado de pronuncia */
.pron { margin-top: .8rem; }
.pron .score { font-size: 1.6rem; font-weight: 700; }
.words { display: flex; flex-wrap: wrap; gap: .3rem; margin: .5rem 0; }
.w { padding: .15rem .45rem; border-radius: 6px; border: 1px solid transparent; }
.w.ok { background: var(--good-bg); color: var(--good); }
.w.unclear, .w.close { background: var(--warn-bg); color: var(--warn); border-style: dashed; border-color: var(--warn); }
.w.wrong, .w.missing { background: var(--bad-bg); color: var(--bad); text-decoration: underline wavy; }
.legend-inline { display: flex; gap: .8rem; flex-wrap: wrap; font-size: .8rem; color: var(--text-muted); }

/* Conversa */
.chat { display: flex; flex-direction: column; gap: .6rem; max-height: 55vh; overflow-y: auto; padding: .4rem; }
.msg { max-width: 80%; padding: .6rem .9rem; border-radius: 14px; }
.msg.assistant { background: var(--surface-2); align-self: flex-start; border-bottom-left-radius: 4px; }
.msg.user { background: var(--accent-solid); color: var(--accent-ink); align-self: flex-end; border-bottom-right-radius: 4px; }
.msg.hidden-text .txt { filter: blur(6px); cursor: pointer; user-select: none; }
.scenarios { display: grid; gap: .7rem; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
.scenario { text-align: left; flex-direction: column; align-items: flex-start; padding: .9rem; }
.scenario .ic { font-size: 1.6rem; }

table { width: 100%; border-collapse: collapse; font-size: .92rem; }
th, td { text-align: left; padding: .45rem .5rem; border-bottom: 1px solid var(--border); vertical-align: top; }
th { color: var(--text-secondary); font-weight: 600; }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; }

/* Metas / progresso */
.tile .value { font-size: 1.9rem; font-weight: 700; line-height: 1.1; font-variant-numeric: tabular-nums; }
.tile .label { color: var(--text-secondary); font-size: .88rem; }
.bar { height: 8px; background: var(--track); border-radius: 99px; overflow: hidden; margin-top: .35rem; }
.bar > span { display: block; height: 100%; background: var(--series-1); border-radius: 99px; }
.bar.done > span { background: var(--good); }
.goal { margin: .7rem 0; }
.goal .row { justify-content: space-between; font-size: .92rem; }
.heat { display: grid; grid-template-rows: repeat(7, 13px); grid-auto-flow: column; grid-auto-columns: 13px; gap: 3px; overflow-x: auto; padding-bottom: .3rem; }
.heat span { border-radius: 3px; background: var(--seq-0); }
.chart svg { width: 100%; height: auto; display: block; overflow: visible; }
.chart .axis text { fill: var(--text-muted); font-size: 11px; }
.chart .gridline { stroke: var(--grid); stroke-width: 1; }
.chart .line { fill: none; stroke: var(--series-1); stroke-width: 2; }
.chart .dot { fill: var(--series-1); stroke: var(--surface-1); stroke-width: 2; }
.chart .hit { fill: transparent; cursor: crosshair; }
.chart .label { fill: var(--text-secondary); font-size: 11px; }

.tooltip {
  position: fixed; z-index: 50; pointer-events: none; background: var(--surface-1); color: var(--text-primary);
  border: 1px solid var(--border); border-radius: 8px; padding: .35rem .6rem; font-size: .82rem; box-shadow: var(--shadow);
}
.toast {
  position: fixed; bottom: calc(20px + max(var(--bnav-h), env(safe-area-inset-bottom, 0px))); left: 50%; transform: translateX(-50%); z-index: 60; background: var(--text-primary);
  color: var(--bg); padding: .6rem 1rem; border-radius: 10px; max-width: calc(100% - 32px);
}
.toast.error { background: var(--bad); color: var(--on-status); }
.spinner { display: inline-block; width: 14px; height: 14px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.status-ok { color: var(--good); } .status-warn { color: var(--warn); } .status-bad { color: var(--bad); }
.check-list label { display: flex; gap: .5rem; align-items: flex-start; color: var(--text-primary); margin: .3rem 0; font-size: .95rem; }
.big-choice { display: flex; gap: 1rem; justify-content: center; margin-top: 1.5rem; }
.big-choice button { min-width: 150px; justify-content: center; padding: .8rem 1rem; font-size: 1.05rem; }

/* Tarefa concluida do Plano (estilo injetado pelo plan.js usa --accent-ink sobre --good,
   1.93:1 no escuro). Seletor mais especifico para usar --on-status: 9.71:1 no escuro. */
main .plan-tasks .plan-task.done .plan-check { color: var(--on-status); }

@media (max-width: 640px) {
  .flash .front { font-size: 1.8rem; }
  .flash { padding-left: 1rem; padding-right: 1rem; }
  .ratings { gap: .35rem; margin-left: -1rem; margin-right: -1rem; padding-left: .6rem; padding-right: .6rem; }
  .flash > div:has(> #show) { margin-left: -1rem !important; margin-right: -1rem !important; padding-left: 1rem; padding-right: 1rem; }
  .msg { max-width: 92%; }

  /* Navegacao no celular: topo de 1 linha (nao sticky) + barra inferior fixa com as 5 areas */
  :root { --bnav-h: calc(58px + env(safe-area-inset-bottom, 0px)); }
  .topbar { position: static; }
  #nav {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0;
    background: var(--surface-1); border-top: 1px solid var(--border);
    padding: 0 env(safe-area-inset-right, 0px) env(safe-area-inset-bottom, 0px) env(safe-area-inset-left, 0px);
  }
  #nav a {
    flex-direction: column; justify-content: center; gap: 2px; min-height: 58px; padding: .3rem 0; border-radius: 0;
    font-size: .72rem; color: var(--text-secondary);
  }
  #nav a:hover { background: none; }
  #nav svg { width: 24px; height: 24px; }
  #nav a.active { background: none; color: var(--accent); box-shadow: inset 0 3px 0 var(--accent); }
  /* teclado aberto: a barra sairia por cima do campo de texto */
  body:has(input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):focus, textarea:focus, select:focus) #nav { display: none; }
  /* sem a barra, as notas do Revisar e o aviso descem junto (sem vao acima do teclado) */
  :root:has(input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):focus, textarea:focus, select:focus) { --bnav-h: 0px; }
  /* notas do Revisar ficam logo acima da barra inferior (a barra ja cobre a area segura) */
  .ratings, .flash > div:has(> #show) { bottom: var(--bnav-h); }
  .ratings { padding-bottom: .6rem; }
  .flash > div:has(> #show) { padding-bottom: .6rem; }
  /* topo nao e sticky: o menu fica preso ao avatar (absolute), nao solto na tela ao rolar */
  .profile-menu { max-width: calc(100vw - 32px); }
  .subnav { padding-top: .7rem; }
}
@media print { #nav, .subnav, .profile, .ai-banner { display: none !important; } }

/* Movimento reduzido: sem pulsar ao gravar (o estado continua visivel pela cor e pelo texto "Parar") */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
  button.rec.recording { animation: none; }
  .spinner { animation-duration: 1.6s; }
}
