/* ================= 背单词 ================= */

#appVocab {
  padding: 0 0 56px;
}

.vocab-bar .catti-kicker {
  color: var(--amber-deep);
}

/* ---------- 首页 ---------- */

.vocab-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 16px;
  margin-bottom: 16px;
}

.vocab-hero-copy {
  position: relative;
  overflow: hidden;
  padding: 26px 28px 24px;
  border-radius: 18px;
  background: linear-gradient(140deg, var(--forest) 0%, var(--forest-deep) 75%);
  color: var(--paper);
  box-shadow: var(--shadow-md);
}

.vocab-hero-copy::after {
  content: "Aa";
  position: absolute;
  right: -12px;
  bottom: -40px;
  font-family: var(--serif);
  font-size: 150px;
  font-style: italic;
  line-height: 1;
  color: rgba(255, 255, 255, 0.06);
  pointer-events: none;
}

.vocab-book-line {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.62);
  text-transform: uppercase;
}

.vocab-book-line b {
  max-width: 260px;
  overflow: hidden;
  color: #f3c48b;
  font-size: 11.5px;
  letter-spacing: 0;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-transform: none;
}

.vocab-book-line button {
  padding: 2px 8px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background: transparent;
  color: rgba(255, 255, 255, 0.72);
  font-size: 10px;
}

.vocab-book-line button:hover {
  border-color: #f3c48b;
  color: #f3c48b;
}

.vocab-hero-copy h1 {
  margin: 14px 0 10px;
  font-family: var(--serif);
  font-size: clamp(24px, 2.4vw, 30px);
  font-weight: 700;
  line-height: 1.35;
}

.vocab-hero-copy h1 em {
  color: #f3c48b;
  font-style: normal;
}

.vocab-hero-copy p {
  max-width: 520px;
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 11.5px;
  line-height: 1.75;
}

.vocab-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.vocab-actions .study-primary {
  border-color: #f3c48b;
  background: #f3c48b;
  color: #201207;
}

.vocab-actions .study-ghost {
  border-color: rgba(255, 255, 255, 0.26);
  color: rgba(255, 255, 255, 0.82);
}

.vocab-actions .study-ghost:hover {
  border-color: rgba(255, 255, 255, 0.6);
}

/* 深色主题下 forest 变量是浅绿，英雄区需固定为深底浅字 */
[data-theme="dark"] .vocab-hero-copy {
  background: linear-gradient(140deg, #162a24 0%, #0b1512 75%);
  color: #eef4f1;
}

.vocab-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.vocab-metric {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 108px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.vocab-metric span {
  color: var(--muted);
  font-size: 10.5px;
  letter-spacing: 0.04em;
}

.vocab-metric b {
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 700;
  line-height: 1;
}

.vocab-metric small {
  color: var(--faint);
  font-size: 9.5px;
}

.vocab-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 16px;
}

.vocab-grid + .vocab-grid {
  margin-top: 16px;
}

/* 复习安排 */

.vocab-schedule {
  display: grid;
  grid-template-columns: repeat(14, minmax(0, 1fr));
  align-items: end;
  gap: 5px;
  height: 150px;
  padding-top: 14px;
}

.vocab-day {
  display: flex;
  height: 100%;
  flex-direction: column;
  justify-content: flex-end;
  gap: 6px;
  text-align: center;
}

.vocab-day-bar {
  min-height: 3px;
  border-radius: 4px 4px 2px 2px;
  background: var(--amber-soft);
  transition: background 0.16s ease;
}

.vocab-day:hover .vocab-day-bar {
  background: var(--amber);
}

.vocab-day.is-today .vocab-day-bar {
  background: var(--forest);
}

.vocab-day-count {
  color: var(--ink-soft);
  font-size: 9px;
  font-weight: 600;
}

.vocab-day-label {
  color: var(--faint);
  font-size: 8.5px;
  white-space: nowrap;
}

/* 今日进度 */

.vocab-progress {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 14px 0 4px;
}

.vocab-progress-row {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr) 52px;
  align-items: center;
  gap: 10px;
  font-size: 10.5px;
}

.vocab-progress-row span:first-child {
  color: var(--muted);
}

.vocab-progress-row b {
  color: var(--ink);
  font-size: 11px;
  text-align: right;
}

.vocab-track,
.vocab-bar {
  position: relative;
  height: 6px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--paper-tint);
}

.vocab-bar span,
.vocab-track span {
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--amber), var(--amber-deep));
  transition: width 0.4s ease;
}

.vocab-quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.vocab-quick-links button {
  padding: 7px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 600;
}

.vocab-quick-links button:hover {
  border-color: var(--amber);
  color: var(--amber-deep);
}

/* ---------- 学习流程 ---------- */

.vocab-study {
  max-width: 840px;
  margin: 0 auto;
}

.vocab-study-top {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 4px 2px 14px;
}

.vocab-back {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink-soft);
  font-size: 11px;
}

.vocab-back:hover {
  border-color: var(--amber);
  color: var(--amber-deep);
}

.vocab-back svg {
  width: 11px;
  height: 11px;
}

.vocab-study-top .vocab-track {
  flex: 1;
  height: 5px;
}

.vocab-counter {
  color: var(--muted);
  font-size: 10.5px;
  font-variant-numeric: tabular-nums;
}

.vocab-card {
  padding: 28px 34px 22px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--white);
  box-shadow: var(--shadow-md);
}

.vocab-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.vocab-chip {
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--amber-soft);
  color: var(--amber-deep);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.vocab-card-tools {
  display: flex;
  gap: 6px;
}

.vocab-card-tools button {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: transparent;
  color: var(--muted);
}

.vocab-card-tools button:hover {
  border-color: var(--amber);
  color: var(--amber-deep);
}

.vocab-card-tools button.is-active {
  border-color: var(--amber);
  background: var(--amber-soft);
  color: var(--amber-deep);
}

.vocab-card-tools svg {
  width: 14px;
  height: 14px;
}

.vocab-word {
  margin-top: 22px;
  font-family: var(--serif);
  font-size: clamp(36px, 4.6vw, 54px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  word-break: break-word;
}

.vocab-phonetic-line {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
  min-height: 20px;
}

.vocab-phonetic {
  color: var(--muted);
  font-family: var(--serif);
  font-size: 15px;
  letter-spacing: 0.04em;
}

.vocab-pos {
  color: var(--amber-deep);
  font-size: 11px;
  font-style: italic;
}

.vocab-meaning {
  max-height: 230px;
  margin-top: 20px;
  overflow-y: auto;
  padding-right: 6px;
  font-size: 14px;
  line-height: 1.85;
  white-space: pre-wrap;
}

.vocab-meaning:empty::before {
  content: "这个词暂无释义，可先收藏或补充词书后再学。";
  color: var(--faint);
  font-size: 12px;
}

.vocab-example {
  margin-top: 18px;
  padding: 13px 16px;
  border-left: 2px solid var(--amber);
  border-radius: 0 10px 10px 0;
  background: var(--paper-tint);
  font-family: var(--serif);
  font-size: 13px;
  font-style: italic;
  line-height: 1.7;
}

.vocab-example:empty {
  display: none;
}

.vocab-example-cn {
  margin-top: 8px;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.7;
}

.vocab-example-cn:empty {
  display: none;
}

.vocab-grades {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 28px;
}

.vocab-grades button {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 13px 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  color: var(--ink-soft);
  transition: transform 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}

.vocab-grades button:hover {
  transform: translateY(-2px);
}

.vocab-grades button b {
  font-size: 13px;
}

.vocab-grades button small {
  color: var(--faint);
  font-size: 9.5px;
}

.vocab-grades button[data-grade="1"]:hover {
  border-color: #c25b4a;
  background: rgba(194, 91, 74, 0.08);
  color: #a9473a;
}

.vocab-grades button[data-grade="2"]:hover {
  border-color: var(--amber);
  background: var(--amber-soft);
  color: var(--amber-deep);
}

.vocab-grades button[data-grade="3"]:hover {
  border-color: #3f7d5f;
  background: rgba(63, 125, 95, 0.1);
  color: #2f6149;
}

.vocab-grades button:disabled {
  opacity: 0.55;
  cursor: wait;
  transform: none;
}

.vocab-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed var(--line);
}

.vocab-card-foot button {
  padding: 5px 10px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 10.5px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.vocab-card-foot button:hover {
  color: var(--amber-deep);
}

.vocab-card-foot span {
  color: var(--faint);
  font-size: 10px;
}

.vocab-card-foot span.is-good {
  color: #3f7d5f;
}

.vocab-card-foot span.is-warn {
  color: #c25b4a;
}

/* 学习总结 */

.vocab-summary {
  padding: 30px 34px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--white);
  box-shadow: var(--shadow-md);
  text-align: center;
}

.vocab-summary h2 {
  margin: 0 0 6px;
  font-family: var(--serif);
  font-size: 24px;
}

.vocab-summary p {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 11.5px;
}

.vocab-summary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 22px;
}

.vocab-summary-grid div {
  padding: 14px 10px;
  border-radius: 12px;
  background: var(--paper-tint);
}

.vocab-summary-grid b {
  display: block;
  font-family: var(--serif);
  font-size: 26px;
}

.vocab-summary-grid span {
  color: var(--muted);
  font-size: 10px;
}

.vocab-summary-actions {
  display: flex;
  justify-content: center;
  gap: 8px;
}

/* ---------- 词书管理 ---------- */

.vocab-import {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 18px;
  padding: 18px 22px;
  border: 1px dashed var(--line-strong);
  border-radius: 16px;
  background: var(--white);
  transition: border-color 0.16s ease, background 0.16s ease;
}

.vocab-import.is-drag {
  border-color: var(--amber);
  background: var(--amber-soft);
}

.vocab-import-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border-radius: 12px;
  background: var(--amber-soft);
  color: var(--amber-deep);
}

.vocab-import-icon svg {
  width: 18px;
  height: 18px;
}

.vocab-import-copy {
  flex: 1;
  min-width: 0;
}

.vocab-import-copy b {
  font-size: 13px;
}

.vocab-import-copy p {
  margin: 4px 0 10px;
  color: var(--muted);
  font-size: 10.5px;
  line-height: 1.7;
}

.vocab-import-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.vocab-link {
  color: var(--amber-deep);
  font-size: 11px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.vocab-sample-links {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--faint);
  font-size: 10px;
}

.vocab-import-status {
  max-width: 240px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.6;
}

.vocab-import-status.is-error {
  color: #c25b4a;
}

.vocab-import-status.is-ok {
  color: #3f7d5f;
}

.vocab-book-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 14px;
}

.vocab-book {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.vocab-book.is-current {
  border-color: var(--amber);
  box-shadow: 0 0 0 3px var(--amber-soft);
}

.vocab-book-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.vocab-book-top b {
  font-family: var(--serif);
  font-size: 16px;
  line-height: 1.4;
}

.vocab-badge {
  flex: 0 0 auto;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--forest-soft);
  color: var(--forest);
  font-size: 9px;
  font-weight: 700;
}

.vocab-book-meta {
  color: var(--muted);
  font-size: 10px;
  line-height: 1.6;
}

.vocab-book-desc {
  color: var(--ink-soft);
  font-size: 10.5px;
  line-height: 1.6;
}

.vocab-book-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.vocab-book-actions button,
.vocab-book-actions a {
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: transparent;
  color: var(--ink-soft);
  font-size: 10px;
  text-decoration: none;
}

.vocab-book-actions button:hover,
.vocab-book-actions a:hover {
  border-color: var(--amber);
  color: var(--amber-deep);
}

.vocab-book-actions .is-danger:hover {
  border-color: #c25b4a;
  color: #c25b4a;
}

.vocab-empty {
  padding: 36px 20px;
  border: 1px dashed var(--line);
  border-radius: 14px;
  color: var(--muted);
  font-size: 11.5px;
  text-align: center;
}

/* ---------- 学习记录 ---------- */

.vocab-record-metrics {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.vocab-record-metrics .vocab-metric {
  min-height: 92px;
}

.vocab-record-metrics .vocab-metric b {
  font-size: 26px;
}

.vocab-chart {
  display: grid;
  grid-template-columns: repeat(30, minmax(0, 1fr));
  align-items: end;
  gap: 3px;
  height: 160px;
  padding-top: 12px;
  overflow: hidden;
}

.vocab-chart .vocab-day-count {
  font-size: 8px;
}

.vocab-chart .vocab-day-label {
  overflow: hidden;
  font-size: 8px;
  text-overflow: clip;
}

.vocab-dist {
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding-top: 12px;
}

.vocab-dist-row {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) 42px;
  align-items: center;
  gap: 10px;
  font-size: 10.5px;
}

.vocab-dist-row span:first-child {
  color: var(--muted);
}

.vocab-dist-row b {
  font-size: 10.5px;
  text-align: right;
}

.vocab-setting {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 14px 0 6px;
}

.vocab-setting label {
  color: var(--ink-soft);
  font-size: 11px;
}

.vocab-setting input {
  width: 84px;
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  font-size: 12px;
}

.vocab-setting p {
  width: 100%;
  margin: 2px 0 0;
  color: var(--faint);
  font-size: 9.5px;
  line-height: 1.6;
}

.vocab-subhead {
  margin-top: 10px;
  padding-top: 12px;
}

.vocab-sessions {
  display: flex;
  flex-direction: column;
  gap: 2px;
  max-height: 190px;
  overflow-y: auto;
}

.vocab-session {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding: 7px 2px;
  border-bottom: 1px dashed var(--line);
  font-size: 10px;
  color: var(--muted);
}

.vocab-session b {
  color: var(--ink-soft);
  font-size: 10.5px;
}

.vocab-wordlist {
  display: flex;
  flex-direction: column;
  max-height: 280px;
  overflow-y: auto;
}

.vocab-wordrow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 2px;
  border-bottom: 1px dashed var(--line);
}

.vocab-wordrow-main {
  min-width: 0;
}

.vocab-wordrow-main b {
  font-family: var(--serif);
  font-size: 13px;
}

.vocab-wordrow-main p {
  margin: 2px 0 0;
  overflow: hidden;
  color: var(--muted);
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.vocab-wordrow-actions {
  display: flex;
  flex: 0 0 auto;
  gap: 5px;
}

.vocab-wordrow-actions button {
  padding: 4px 8px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: transparent;
  color: var(--ink-soft);
  font-size: 9.5px;
}

.vocab-wordrow-actions button:hover {
  border-color: var(--amber);
  color: var(--amber-deep);
}

/* ---------- 弹窗 ---------- */

.vocab-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(18, 26, 22, 0.46);
  backdrop-filter: blur(3px);
}

.vocab-modal[hidden] {
  display: none;
}

.vocab-modal-card {
  display: flex;
  width: min(820px, 100%);
  max-height: 88vh;
  flex-direction: column;
  overflow: hidden;
  border-radius: 18px;
  background: var(--white);
  box-shadow: 0 24px 60px rgba(10, 24, 19, 0.28);
}

.vocab-modal-card > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
}

.vocab-modal-card > header h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: 17px;
}

.vocab-modal-card > header button {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
}

.vocab-modal-card > header svg {
  width: 12px;
  height: 12px;
}

.vocab-modal-body {
  flex: 1;
  overflow-y: auto;
  padding: 18px 20px;
}

.vocab-modal-card > footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  padding: 12px 20px;
  border-top: 1px solid var(--line);
  background: var(--paper-tint);
}

.vocab-modal-card > footer:empty {
  display: none;
}

.vocab-modal-hint {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 10.5px;
  line-height: 1.7;
}

.vocab-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 12px;
}

.vocab-field label {
  color: var(--ink-soft);
  font-size: 10.5px;
  font-weight: 600;
}

.vocab-field input,
.vocab-field select {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--white);
  color: var(--ink);
  font-size: 12px;
}

.vocab-map-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 14px;
  margin-bottom: 14px;
}

.vocab-map-grid .vocab-field {
  margin-bottom: 0;
}

.vocab-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.vocab-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 10.5px;
}

.vocab-table th,
.vocab-table td {
  max-width: 220px;
  padding: 7px 10px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.vocab-table th {
  position: sticky;
  top: 0;
  background: var(--paper-tint);
  color: var(--ink-soft);
  font-weight: 600;
}

.vocab-table tr:last-child td {
  border-bottom: 0;
}

.vocab-error-box {
  margin-bottom: 12px;
  padding: 9px 12px;
  border: 1px solid rgba(194, 91, 74, 0.35);
  border-radius: 9px;
  background: rgba(194, 91, 74, 0.08);
  color: #a9473a;
  font-size: 10.5px;
  line-height: 1.6;
}

.vocab-words-modal-list .vocab-wordrow-main b {
  font-size: 14px;
}

.vocab-pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding-top: 12px;
  color: var(--muted);
  font-size: 10.5px;
}

.vocab-pager button {
  padding: 5px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink-soft);
  font-size: 10.5px;
}

.vocab-pager button:disabled {
  opacity: 0.4;
}

/* ---------- 响应式 ---------- */

@media (max-width: 980px) {
  .vocab-hero,
  .vocab-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .vocab-record-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .vocab-hero-copy {
    padding: 20px;
  }

  .vocab-metric {
    min-height: 92px;
    padding: 12px 14px;
  }

  .vocab-metric b {
    font-size: 26px;
  }

  .vocab-card {
    padding: 20px 18px 16px;
  }

  .vocab-grades {
    gap: 6px;
  }

  .vocab-record-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .vocab-schedule {
    gap: 3px;
  }

  .vocab-day-label {
    font-size: 7px;
  }

  .vocab-import {
    flex-direction: column;
    align-items: flex-start;
  }

  .vocab-import-status {
    max-width: none;
  }

  .vocab-map-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .vocab-summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
