.verb-comparison { margin-block: 1rem 2rem; }
.verb-table-toolbar { display: flex; align-items: center; flex-wrap: wrap; gap: .6rem 1rem; margin-block: 1rem; }
.verb-table-toolbar label { color: var(--muted); }
.verb-table-toolbar select { font: inherit; min-height: 44px; max-width: 100%; padding: .55rem .7rem; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 5px; }
.verb-comparison-matrix { width: 100%; table-layout: fixed; border-collapse: collapse; }
.verb-comparison-matrix caption { text-align: left; padding: .65rem 0; color: var(--muted); font-size: .85rem; }
.verb-comparison-matrix th, .verb-comparison-matrix td { padding: .8rem .6rem; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.verb-comparison-matrix th { font-weight: 400; }
.verb-comparison-matrix th:first-child { width: 26%; }
.verb-comparison-matrix thead th:not(:first-child), .verb-comparison-matrix td, .verb-example { font-family: var(--serif, Georgia, serif); font-size: 1.15rem; }
.verb-comparison-matrix small, .verb-comparison [data-usage] small { display: block; margin-top: .25rem; color: var(--muted); font: .8rem/1.5 var(--sans, system-ui, sans-serif); }
.verb-comparison-matrix tbody th { font-size: .8rem; color: var(--muted); }
.verb-form-word { display: inline-block; }
.verb-form-word strong { color: var(--accent); font-weight: 700; }
.verb-table-pager { display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin-top: 1rem; }
.verb-table-pager button { min-height: 44px; font: inherit; font-size: .85rem; color: var(--ink); background: transparent; border: 1px solid var(--line); border-radius: 5px; padding: .5rem .65rem; }
.verb-table-pager button:disabled { opacity: .4; cursor: default; }
.verb-table-pager button:hover:not(:disabled) { background: var(--surface); }
.verb-table-pager [data-range] { white-space: nowrap; font-size: .8rem; color: var(--muted); }
.verb-comparison > details { margin-top: 1rem; }
.verb-comparison > details > summary { min-height: 44px; align-content: center; cursor: pointer; }
.verb-comparison [data-usage] { max-width: 72ch; }
.verb-table-sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.verb-comparison [hidden] { display: none !important; }
@media (max-width: 600px) {
  .verb-table-toolbar { align-items: stretch; flex-direction: column; gap: .3rem; }
  .verb-comparison-matrix th, .verb-comparison-matrix td { padding: .7rem .3rem; }
  .verb-comparison-matrix th:first-child { width: 29%; }
  .verb-comparison-matrix thead th:not(:first-child), .verb-comparison-matrix td { font-size: 1rem; overflow-wrap: normal; }
  .verb-comparison-matrix tbody th { font-size: .75rem; }
  .verb-table-pager { flex-wrap: wrap; }
}
/* One regular model per ending, followed by expandable complete ending groups. */
.regular-verb-overview { margin-top: 2rem; }
.regular-verb-overview h3 { font: 400 1.5rem/1.3 var(--serif, Georgia, serif); }
.verb-ending-label { display: block; color: var(--accent); font-size: .85rem; margin-bottom: .3rem; }
.regular-comparison-scroll { overflow-x: auto; overscroll-behavior-x: contain; scrollbar-color: var(--line) transparent; }
.regular-comparison-scroll:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.regular-scroll-hint { display: none; color: var(--muted); font-size: .8rem; margin-top: .5rem; }
.verb-ending-group > summary { min-height: 56px; }
.verb-ending-group > summary h3 { display: inline; margin: 0; font: 400 1.5rem/1.3 var(--serif, Georgia, serif); }
.verb-ending-group > summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
@media (max-width: 600px) {
  .regular-comparison-scroll .verb-comparison-matrix { min-width: 340px; }
  .regular-comparison-scroll .verb-comparison-matrix th:first-child { width: 22%; }
  .regular-comparison-scroll .verb-comparison-matrix td, .regular-comparison-scroll .verb-comparison-matrix thead th:not(:first-child) { font-size: .875rem; }
  .regular-comparison-scroll .verb-comparison-matrix th, .regular-comparison-scroll .verb-comparison-matrix td { padding-inline: .1875rem; }
}

#regular-overview-title { scroll-margin-top: 108px; }

@media (max-width: 379px) { .regular-scroll-hint { display: block; } }
