/* Central design tokens. Colors are defined only in this block. */
:root {
  --light-bg: #f8f6f6;
  --light-definition-bg: #f2ecd9;
  --light-text: #2a2a2a;
  --light-accent: #8eba2e;
  --light-error: #d44c16;
  --dark-bg: #2a2a2a;
  --dark-definition-bg: #515445;
  --dark-text: #d4d2d2;
  --dark-accent: #a3d635;
  --dark-error: #d44c16;
  --save-accent: #e6c229;
  --video-backdrop: rgb(0 0 0 / 82%);
  --video-control: #fff;
  --preview-shadow: rgb(0 0 0 / 16%);

  --font: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Consolas, monospace;
  --width-narrow: 30rem;
  --width-wide: 50rem;
  --pad-block: 3rem;
  --pad-inline: 2.25rem;
  --gap: 1rem;
  --radius: 0.5rem;
  --bar-top: 2rem;
  --bar-left: 1rem;
  --bar-width: 0.375rem;
  --bar-height: 9rem;
  --toggle-size: 1rem;
  --toggle-offset: 1rem;
  --logout-space: 6rem;
  --sep-width: 1.5rem;

  --bg: var(--light-bg);
  --definition-bg: var(--light-definition-bg);
  --text: var(--light-text);
  --accent: var(--light-accent);
  --error: var(--light-error);
  --toggle: var(--dark-bg);
  --muted: color-mix(in srgb, var(--text) 65%, var(--bg));
  --border: color-mix(in srgb, var(--text) 30%, var(--bg));
  color-scheme: light;
}

:root[data-theme="dark"] {
  --bg: var(--dark-bg);
  --definition-bg: var(--dark-definition-bg);
  --text: var(--dark-text);
  --accent: var(--dark-accent);
  --error: var(--dark-error);
  --toggle: var(--light-bg);
  color-scheme: dark;
}

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

html,
body {
  min-height: 100%;
  margin: 0;
}

body {
  padding: var(--pad-block) var(--pad-inline);
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.5;
}

.theme-toggle {
  position: fixed;
  top: var(--toggle-offset);
  right: var(--toggle-offset);
  width: var(--toggle-size);
  height: var(--toggle-size);
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--toggle);
  cursor: pointer;
}

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

.page {
  position: relative;
  margin-inline: auto;
}

/* Accent: decorative bar, top left of the content column, outside the padded text area. */
.page::before {
  content: "";
  position: absolute;
  top: calc(var(--bar-top) - var(--pad-block));
  left: calc(var(--bar-left) - var(--pad-inline));
  width: var(--bar-width);
  height: var(--bar-height);
  background: var(--accent);
}

.page-narrow {
  max-width: var(--width-narrow);
}

.page-wide {
  max-width: var(--width-wide);
}

h1 {
  margin: 0 0 var(--gap);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.15;
}

p {
  margin: 0 0 var(--gap);
}

.muted {
  color: var(--muted);
}

.streak-zero {
  color: var(--error);
}

.nowrap {
  white-space: nowrap;
}

.error {
  color: var(--error);
  font-weight: 600;
}

form {
  display: grid;
  gap: var(--gap);
}

label {
  display: grid;
  gap: 0.25rem;
}

input,
textarea,
select {
  width: 100%;
  padding: 0.625rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 1rem;
}

button {
  font: inherit;
}

.btn {
  justify-self: start;
  min-height: 2.75rem;
  padding: 0.625rem 1.25rem;
  border: 1px solid var(--text);
  border-radius: var(--radius);
  background: var(--text);
  color: var(--bg);
  font-weight: 600;
  cursor: pointer;
}

.btn-secondary {
  background: transparent;
  color: var(--text);
}

/* Index content: title above tagline, centered text, as before. */
.index h1 {
  font-weight: 500;
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  text-align: center;
}

.index p {
  text-align: center;
}

/* Blocks that opt out of the centered index text. */
.index .left-block p {
  text-align: left;
}

.index-preview {
  margin: var(--gap) 0 0;
}

.index-preview img {
  display: block;
  width: 100%;
  height: auto;
  padding: 0.375rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  box-shadow: 0 0.375rem 1rem var(--preview-shadow);
}

.index-preview figcaption {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin-top: var(--gap);
}

.index-play {
  display: inline-flex;
  padding: 0;
  border: 0;
  background: none;
  color: var(--text);
  cursor: pointer;
}

.index-play span {
  display: block;
  width: 2rem;
  height: 2rem;
  background: currentColor;
  mask: url("/img/play.svg") center / contain no-repeat;
}

html.index-video-open,
html.index-video-open body {
  overflow: hidden;
}

.index-video-dialog {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 3.5rem var(--gap) var(--gap);
  border: 0;
  background: transparent;
  color: var(--video-control);
}

.index-video-dialog[open] {
  display: grid;
  place-items: center;
}

.index-video-dialog::backdrop {
  background: var(--video-backdrop);
}

.index-video-loading {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(12rem, 60%);
  height: var(--bar-width);
  pointer-events: none;
  background: repeating-linear-gradient(
    to right,
    var(--accent) 0 calc(16.666666% - 0.25rem),
    transparent calc(16.666666% - 0.25rem) 16.666666%
  );
  animation: index-video-loading 1.2s steps(6, end) infinite;
}

@keyframes index-video-loading {
  from {
    clip-path: inset(0 100% 0 0);
  }
  to {
    clip-path: inset(0 0 0 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .index-video-loading {
    animation: none;
  }
}

.index-video-close {
  position: absolute;
  top: var(--gap);
  right: var(--gap);
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

.index-video-close:focus-visible {
  outline-color: var(--video-control);
}

.index-video {
  display: block;
  width: min(100%, calc(100dvh - 4.5rem), var(--width-wide));
  height: auto;
  aspect-ratio: 1;
  border: 0;
}

[hidden] {
  display: none !important;
}

h2 {
  margin: calc(var(--gap) * 2) 0 var(--gap);
  font-size: 1.25rem;
  font-weight: 700;
}

a {
  color: inherit;
}

code {
  font-family: var(--font-mono);
}

.url {
  word-break: break-all;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: var(--gap);
}

.reminder-actions {
  justify-content: center;
}

.stats-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
  font-variant-numeric: tabular-nums;
}

.stats-table th,
.stats-table td {
  padding: 0.5rem 0.375rem;
  border-bottom: 1px solid var(--border);
  text-align: right;
  vertical-align: top;
  overflow-wrap: anywhere;
}

.stats-table th:first-child,
.stats-table td:first-child {
  text-align: left;
}

.stats-table th {
  font-weight: 600;
}

.stats-dashboard td:first-child {
  position: relative;
  padding-left: 1rem;
}

.stats-dashboard td:first-child a {
  font-weight: 600;
}

.stats-dashboard .stats-timezone {
  font-size: 0.7rem;
}

.stats-speaker svg {
  vertical-align: middle;
}

.stats-scroll {
  max-width: 100%;
  overflow-x: auto;
}

.stats-line {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.375rem 1rem;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
}

.student-report,
.stats-section {
  margin: var(--gap) 0;
}

.stats-section > summary {
  cursor: pointer;
  font-weight: 600;
}

.stats-section h3 {
  margin: var(--gap) 0 0.5rem;
  font-size: 1rem;
}

.stats-section > p,
.stats-period {
  font-size: 0.875rem;
}

.stats-period {
  margin-bottom: 0.5rem;
}

.stats-term {
  text-decoration: underline dotted var(--border);
  text-underline-offset: 0.2em;
  cursor: help;
}

.stats-tooltip {
  pointer-events: none;
}

.stats-mobile {
  display: none;
}

@media (max-width: 40rem) {
  .stats-dashboard,
  .stats-dashboard tbody {
    display: block;
  }

  .stats-dashboard thead {
    display: none;
  }

  .stats-dashboard tr {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.375rem 0.75rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border);
  }

  .stats-dashboard td {
    padding: 0;
    border: 0;
    text-align: left;
  }

  .stats-dashboard td:first-child {
    grid-column: 1 / -1;
    padding: 0.25rem 0 0.25rem 1rem;
  }

  .stats-mobile {
    display: inline;
    color: var(--muted);
  }

  .stats-dashboard td:first-child .stats-mobile {
    display: none;
  }
}

/* Paused marker: slim bar in the error color, like the accent bar. */
.row-paused::before {
  content: "";
  position: absolute;
  top: 0.5rem;
  bottom: 0.5rem;
  left: 0;
  width: var(--bar-width);
  background: var(--error);
}

.relogin {
  margin-bottom: var(--gap);
  padding: var(--gap);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

/* Teacher Log out: plain underlined text, top right of the content column. */
.logout {
  position: absolute;
  top: 0;
  right: 0;
}

.page-wide > h1 {
  padding-right: var(--logout-space);
}

.page-wide > .relogin {
  margin-top: calc(var(--gap) * 2);
}

.link-btn {
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-decoration: underline;
  cursor: pointer;
}

/* Page navigation links shown as buttons (Vocab, Dashboard). */
a.btn {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

/* Dashboard New student: label, shortened name field, Create at the row's end; wraps when narrow. */
.inline-form {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem var(--gap);
  margin-bottom: var(--gap);
}

.inline-form label {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem var(--gap);
  font-weight: 600;
}

.inline-form input {
  width: 20rem;
  max-width: 100%;
  font-weight: 400;
}

.inline-form .btn {
  margin-left: auto;
}

/* Section heading with a right-aligned note (dashboard Students and AI cost). */
.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.25rem var(--gap);
  margin: calc(var(--gap) * 2) 0 var(--gap);
}

.section-head h2 {
  margin: 0;
}

/* Student page: name with Edit link; wrapping status and review-link controls. */
.inline-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1rem;
  margin-bottom: var(--gap);
}

.inline-row h1 {
  margin: 0;
}

.name-line h1 {
  position: relative;
}

.name-line h1.row-paused {
  padding-left: var(--gap);
}

.status-line {
  gap: 0.5rem;
}

.status-line .url {
  min-width: 0;
}

.assign-section {
  margin-top: var(--gap);
}

.assign-section > summary {
  cursor: pointer;
}

.assign-section > summary h2 {
  display: inline;
  margin: 0;
}

.assign-section[open] > summary {
  margin-bottom: var(--gap);
}

.name-line,
.title-row {
  padding-right: var(--logout-space);
}

.name-form {
  margin-bottom: var(--gap);
}

.btn-danger {
  border-color: var(--error);
  background: transparent;
  color: var(--error);
}

/* Vocab word form and the student's card list. */
.word-form textarea {
  min-height: 8rem;
  resize: vertical;
}

/* Russian part, English part side by side; stacks when narrow. */
.word-parts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: var(--gap);
}

/* Russian part fills the row's height: as tall as the English part plus the button row below it. */
.word-ru {
  grid-template-rows: auto 1fr;
}

.word-ru textarea {
  height: 100%;
}

.word-en-col {
  display: grid;
  align-content: start;
  gap: var(--gap);
}

/* English-part controls: AI, Delete/Restore, then audio status and its buttons.
   Slightly tighter padding so the row fits; wraps when narrow. */
.word-en-col .actions {
  align-items: center;
  margin-bottom: 0;
}

.word-en-col .btn {
  padding-inline: 0.875rem;
}

.audio-group {
  display: contents;
}

.card-list {
  margin: 0 0 var(--gap);
  padding: 0;
  list-style: none;
}

.card-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
}

.card-en {
  flex: 1 1 12rem;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.card-row input[type="date"] {
  width: auto;
}

/* Student page: lesson date and filter on one line; the filter takes the rest. */
.assign-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: var(--gap);
  margin-bottom: var(--gap);
}

.assign-tools input[type="date"] {
  width: auto;
}

.assign-tools select {
  width: auto;
}

.assign-tools label:last-child {
  flex: 1 1 16rem;
}

/* Student page word chips (Add words, Selected); pressed = selected. */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: var(--gap);
}

.chip {
  padding: 0.25rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: transparent;
  color: var(--text);
  overflow-wrap: anywhere;
  cursor: pointer;
}

.chip[aria-pressed="true"] {
  border-color: var(--text);
  background: var(--text);
  color: var(--bg);
}

.selected .muted {
  display: block;
  margin-bottom: 0.25rem;
}

/* Student page card groups by lesson date: collapsible, words as wrapping links. */
.card-group {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
}

.card-group summary {
  font-weight: 600;
  cursor: pointer;
}

.card-group[open] summary {
  margin-bottom: var(--gap);
}

.card-words {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1rem;
  margin-bottom: var(--gap);
  overflow-wrap: anywhere;
}

/* Vocab page: filter and "Show deleted" on one line, word list, deleted rows in the error color. */
.vocab-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: var(--gap);
  margin-bottom: var(--gap);
}

.vocab-tools label:first-child {
  flex: 1 1 16rem;
}

.check {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.75rem;
}

.check input {
  width: auto;
}

/* Separator lists (Vocab words, review looks like) inline, wrapping, with a gray separator in front of each word. The list is shifted left by one
   separator and its container clips it, so no line starts with a separator, whatever the filter hides. */
.vocab-words {
  overflow: hidden;
}

.dot-list {
  display: flex;
  flex-wrap: wrap;
  row-gap: 0.25rem;
  margin: 0 0 var(--gap) calc(-1 * var(--sep-width));
  padding: 0;
  list-style: none;
}

.dot-list > li {
  overflow-wrap: anywhere;
}

.dot-list > li::before {
  content: "·";
  display: inline-block;
  width: var(--sep-width);
  color: var(--muted);
  text-align: center;
}

.row-deleted {
  color: var(--error);
}

/* Vocab list words are buttons (click loads the word); plain text until hover. */
.vocab-row .link-btn {
  text-align: left;
  text-decoration: none;
}

.vocab-row .link-btn:hover {
  text-decoration: underline;
}

/* Vocab English field with playback/download and New word on its right. */
.word-en-row {
  display: flex;
  align-items: end;
  gap: var(--gap);
}

.word-en-field {
  flex: 1 1 auto;
  min-width: 0;
}

.vocab-nav .voice-links {
  margin-left: auto;
}

.word-en-field > label {
  margin-bottom: 0.25rem;
}

.word-input-tools {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding-right: 0.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.word-input-tools input {
  min-width: 0;
  border: 0;
}

.word-input-tools .review-speak {
  flex: none;
}

.word-input-tools [aria-disabled="true"],
.word-input-tools button:disabled {
  color: var(--muted);
  cursor: default;
}

.vocab-save-row {
  margin-top: var(--gap);
}

.vocab-save-row > .btn {
  margin-left: auto;
}

.vocab-save-row > [data-vocab-assigned] {
  margin: 0;
  font-weight: 700;
}

.vocab-indicators {
  display: contents;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.vocab-indicators p {
  margin: 0;
  text-align: center;
  text-transform: uppercase;
}

.vocab-indicators .muted {
  color: var(--text);
}

.ai-recheck > summary {
  font-weight: 700;
  cursor: pointer;
}

.ai-recheck[open] > summary {
  margin-bottom: var(--gap);
}

.ai-recheck [data-ai-calls] {
  overflow-wrap: anywhere;
}

.vocab-busy {
  position: fixed;
  inset: 0;
  z-index: 20;
  background: color-mix(in srgb, var(--accent) 30%, transparent);
  pointer-events: none;
}

.vocab-busy-saving {
  background: color-mix(in srgb, var(--save-accent) 30%, transparent);
}

@media (max-width: 30rem) {
  .word-en-row {
    flex-wrap: wrap;
  }

  .word-en-field {
    flex-basis: 100%;
  }
}

/* Vocab similar words under English: label and word links on wrapping lines. */
.similar,
.similar-list {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.25rem 1rem;
}

.similar-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Student review page: status line, word, meanings; the Russian part stays hidden until revealed. */
/* Fixed student footer: review content scrolls beneath it. */
.review-footer {
  position: fixed;
  z-index: 1;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: min(var(--width-narrow), calc(100% - 2 * var(--pad-inline)));
  padding-top: var(--gap);
  padding-bottom: calc(var(--bar-top) + var(--bar-width) + var(--gap));
  background: var(--bg);
  color: var(--muted);
}

.review-footer::after {
  content: "";
  position: absolute;
  right: calc(var(--bar-left) - var(--pad-inline));
  bottom: var(--bar-top);
  width: var(--bar-height);
  height: var(--bar-width);
  background: var(--accent);
}

.review-footer a {
  text-decoration: none;
}

.review-footer a:hover {
  text-decoration: underline;
}

.review-footer svg {
  width: 1em;
  height: 1em;
  vertical-align: -0.125em;
}

.looks-wrap,
.review-footer {
  font-size: 0.9375rem;
}

.review-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) max-content;
  align-items: baseline;
  gap: 0.25rem var(--gap);
  margin-bottom: 0.25rem;
}

.review-welcome {
  min-width: 0;
  margin: 0;
  font-size: 1.25rem;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.review-status {
  font-size: 1.25rem;
  font-weight: 600;
}

.review-word {
  overflow-wrap: anywhere;
}

/* Review word row: word with speaker left, looks like right; both share the row, a long entry wraps in its heading,
   the cloud keeps at least 40% and wraps freely (never cut). Narrow: the cloud goes above the word, full width.
   The wrapper clips only the list's left shift, as .vocab-words does. */
.review-head {
  flex-wrap: nowrap;
  align-items: flex-start;
}

.review-title {
  display: flex;
  align-items: center;
  gap: 0.5rem 1rem;
  flex: 0 1 auto;
  min-width: 0;
}

.review-title .review-word {
  min-width: 0;
}

.review-title .review-speak {
  flex: none;
}

.looks-wrap {
  flex: 1 0 40%;
  min-width: 0;
  overflow: hidden;
  color: var(--muted);
}

.looks-wrap .dot-list {
  justify-content: flex-end;
  margin-bottom: 0;
}

.looks-wrap .link-btn {
  color: inherit;
  text-decoration: none;
}

@media (max-width: 30rem) {
  .review-head {
    flex-wrap: wrap;
  }

  .looks-wrap {
    order: -1;
    flex-basis: 100%;
  }

  .looks-wrap .dot-list {
    justify-content: flex-start;
  }
}

.review-back {
  margin-bottom: var(--gap);
}

.meanings {
  margin: 0 0 var(--gap);
  padding: 0;
  list-style: none;
}

.meanings li {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
}

.meanings p {
  margin: 0;
  overflow-wrap: anywhere;
}

.meaning-defined {
  cursor: help;
  text-decoration: underline dotted var(--border);
  text-underline-offset: 0.2em;
}

.meaning-definition {
  position: fixed;
  z-index: 10;
  margin: var(--gap);
  width: max-content;
  max-width: min(var(--width-narrow), calc(100vw - 2 * var(--gap)));
  max-height: calc(100vh - 2 * var(--gap));
  overflow: auto;
  overflow-wrap: anywhere;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--definition-bg);
  color: var(--text);
  font-size: 0.9375rem;
}

.meaning-ru {
  margin-top: 0.5rem;
}

.meaning-ru-word {
  font-weight: 600;
}

.meaning-ru-word .meaning-pos {
  margin-left: 2rem;
  font-size: 0.9375rem;
  font-weight: 400;
  font-style: italic;
}

.review-reveal {
  width: 100%;
}

.review-grades {
  display: flex;
  gap: 0.5rem;
}

.review-grades .btn {
  flex: 1 1 0;
}

/* Review spinner: from page load or a grade tap until the result is on screen. Theme colors only. */
.review-spinner {
  position: fixed;
  top: 50%;
  left: 50%;
  width: 2.5rem;
  height: 2.5rem;
  margin: -1.25rem 0 0 -1.25rem;
  border: 0.25rem solid var(--border);
  border-top-color: var(--text);
  border-radius: 50%;
  animation: review-spin 0.8s linear infinite;
}

.is-busy {
  opacity: 0.5;
}

@keyframes review-spin {
  to {
    transform: rotate(360deg);
  }
}

/* Review speaker: SVG icon in the text color. */
.review-speak {
  display: inline-flex;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  cursor: pointer;
}

/* Review voice choice: one unbroken group beside the greeting; no underline.
   The current voice is in the text color and 10% larger; the others are muted. */
.voice-links {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.75rem;
}

.voice-links .link-btn {
  display: inline-flex;
  color: var(--muted);
  text-decoration: none;
}

.voice-links svg {
  width: 1rem;
  height: 1rem;
}

.voice-links [aria-pressed="true"] {
  color: var(--text);
  cursor: default;
}

.voice-links [aria-pressed="true"] svg {
  width: 1.1rem;
  height: 1.1rem;
}

/* Sentence speaker: the word speaker icon, smaller, after the English example. */
.meaning-en .review-speak {
  margin-left: 0.375rem;
  vertical-align: middle;
}

.meaning-en .review-speak svg {
  width: 1.25rem;
  height: 1.25rem;
}

/* Custom audio uploaded for the word: accent green (student speaker icon, teacher word lists). */
.audio-custom,
.review-speak.audio-custom {
  color: var(--accent);
}
