.report .lead { font-size: 17px; line-height: 1.6; margin: 0 0 28px; }
.report h2 { font-size: 15px; font-weight: 600; margin: 36px 0 12px; }
.report h2 span { color: var(--muted); font-weight: 400; }
.report h3 { font-size: 14px; font-weight: 600; margin: 22px 0 8px; }
.report h3 span { color: var(--muted); font-weight: 400; }
.report h4 { font-size: 13px; font-weight: 600; margin: 16px 0 6px; }
.report h4 span { color: var(--muted); font-weight: 400; }

.legend { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-bottom: 24px; }
.legend div { font-size: 13px; color: var(--muted); }

.meter { display: flex; height: 12px; border-radius: 6px; overflow: hidden; margin-bottom: 10px; }
.meter i { display: block; }
.dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 6px; }
.s-solid { background: #2f6f5e; }
.s-familiar { background: #6fae8f; }
.s-learning { background: #c8a558; }
.s-shaky { background: #b1483c; }
.s-new { background: var(--line); }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 20px; }
.filters button { width: auto; padding: 6px 12px; font-size: 13px; }
.filters button[aria-pressed="true"] { border-color: var(--accent); color: var(--accent); }

.words { display: grid; grid-template-columns: 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.word { background: var(--panel); padding: 10px 14px; display: grid; grid-template-columns: 1fr auto; gap: 4px 14px; align-items: baseline; }
.word .el { font-size: 16px; }
.word .en { color: var(--muted); font-size: 14px; }
.word .meta { font-size: 12px; color: var(--muted); text-align: right; white-space: nowrap; }
.word .ex { grid-column: 1 / -1; font-size: 13px; color: var(--muted); }
.word.new .el, .word.new .en { opacity: 0.55; }
/* `display` on the element beats the browser rule for [hidden], so the filter
   needs a selector of its own or nothing disappears. */
.word[hidden], section[hidden] { display: none; }

.focus { border-left: 2px solid var(--again); padding-left: 14px; }
.focus div { margin-bottom: 6px; font-size: 15px; }
.focus span { color: var(--muted); font-size: 13px; }

@media (max-width: 640px) {
  .word { grid-template-columns: 1fr; }
  .word .meta { text-align: left; }
}

@media print {
  header nav, .filters { display: none; }
  .word { break-inside: avoid; }
}
