:root {
  --ink: #202124;
  --muted: #666b72;
  --line: #d8dde3;
  --paper: #fbfaf7;
  --panel: #ffffff;
  --accent: #235f84;
  --accent-soft: #e8f2f7;
  --stem-ar: #f1ecf5;
  --stem-er: #f3eee6;
  --stem-ir: #e6f1f2;
  --stem-boot: #98d9f3;
  --stem-yo: #f8bacc;
  --stem-gerund: #9fdec2;
  --stem-preteritei: #fabea9;
  --stem-preteritej: #e4beed;
  --stem-future: #baccff;
  --stem-imperfect: #eec698;
  --conjugation-table-width: 745px;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
}

a {
  color: var(--accent);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  gap: 0;
  border-bottom: 1px solid var(--line);
  background: rgba(251, 250, 247, 0.96);
  backdrop-filter: blur(10px);
  transition: transform 220ms ease;
  will-change: transform;
}

/* Condensed: slide the whole header up by the hideable row's height so the
   persistent breadcrumb bar pins to top:0. Transform is paint-only, so the
   document height never changes and scroll anchoring can't fight the scroll
   handler (the cause of the earlier collapse/expand flicker). */
.site-header.is-condensed {
  transform: translateY(calc(-1 * var(--hideable-height, 0px)));
}

.site-header-hideable {
  display: grid;
  grid-template-columns: max-content minmax(260px, 520px);
  gap: 12px 28px;
  align-items: center;
  padding: 10px 28px 12px;
  transition: opacity 180ms ease;
}

.site-header.is-condensed .site-header-hideable {
  opacity: 0;
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .site-header,
  .site-header-hideable {
    transition: none;
  }
}

.brand-row {
  min-width: 0;
}

.search-row {
  justify-self: end;
  width: min(520px, 100%);
}

.site-header-persistent {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  min-height: 42px;
  padding: 6px 28px;
  border-top: 1px solid rgba(216, 221, 227, 0.76);
}

.header-breadcrumbs {
  min-width: 0;
}

.brand {
  color: var(--ink);
  display: inline-grid;
  gap: 0.08rem;
  width: max-content;
  max-width: 100%;
  font-family: "Avenir Next", Avenir, Helvetica, Arial, sans-serif;
  line-height: 1.02;
  text-decoration: none;
}

.brand-line {
  display: flex;
  align-items: baseline;
  gap: 0.22em;
  white-space: nowrap;
}

.brand-title-line {
  color: #201d19;
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand-subtitle-line {
  color: #07122c;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand-small {
  color: #2a333a;
  font-size: 0.78em;
  font-style: italic;
  font-weight: 500;
  opacity: 0.94;
}

.brand-colored-word {
  display: inline-flex;
}

.brand-c-1 {
  color: #00a6d8;
}

.brand-c-2 {
  color: #d1cbd5;
}

.brand-c-3 {
  color: #00b17e;
}

.brand-c-4 {
  color: #d3cdc3;
}

.brand-c-5 {
  color: #db6b91;
}

.brand-c-6 {
  color: #df724b;
}

.brand-c-7 {
  color: #bc75cd;
}

.brand-c-8 {
  color: #c4d1d1;
}

.brand-c-9 {
  color: #738eef;
}

.brand-c-10 {
  color: #cd8200;
}

.mobile-nav-menu {
  display: none;
  position: relative;
}

.mobile-nav-menu summary {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper);
  cursor: pointer;
  list-style: none;
}

.mobile-nav-menu summary::-webkit-details-marker {
  display: none;
}

.mobile-nav-menu summary svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: var(--ink);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.site-shell {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 44px;
  width: min(1280px, calc(100vw - 32px));
  margin: 0 auto;
  align-items: start;
}

.site-shell:has(.content-page-method-model-verbs) {
  gap: 28px;
}

.site-main {
  padding: 42px 0 72px;
  min-width: 0;
}

.site-sidebar {
  position: sticky;
  top: 118px;
  padding: 42px 0 72px;
}

.site-footer {
  width: min(1280px, calc(100vw - 32px));
  margin: 0 auto;
  padding: 18px 0 28px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer p {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5em 1.25em;
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.4;
}

.site-section-nav {
  display: grid;
  gap: 4px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.site-section-nav a {
  display: block;
  border-radius: 6px;
  padding: 8px 10px;
  color: var(--muted);
  text-decoration: none;
}

.site-section-nav a:hover,
.site-section-nav a[aria-current="page"] {
  background: var(--accent-soft);
  color: var(--ink);
}

.content-page,
.verb-page,
.index-page {
  max-width: 920px;
}

.verb-page {
  --verb-formula-header-height: 2rem;
}

h1 {
  margin: 0 0 18px;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.05;
}

h2 {
  margin-top: 42px;
  font-size: 1.65rem;
}

h3 {
  margin-top: 32px;
  font-size: 1.22rem;
}

p,
li {
  font-size: 1.05rem;
  line-height: 1.68;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 0.83rem;
  font-weight: 750;
  line-height: 1.2;
  text-transform: uppercase;
}

.book-content figure,
.svg-frame {
  margin: 26px 0;
  overflow-x: auto;
  border: 0;
  border-radius: 0;
  background: var(--paper);
  padding: 12px 0;
}

.book-content img,
.svg-frame img,
.svg-table-object {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}

.svg-table-object {
  width: 100%;
}

.svg-table-iframe {
  border: 0;
  aspect-ratio: var(--svg-aspect-ratio);
}

.content-page-method-exceptions .book-content h3 {
  margin-top: 24px;
  margin-bottom: 10px;
}

.content-page-method-exceptions .book-content .wide-table-figure {
  width: min(920px, calc(100% - 48px));
  margin: 12px auto 22px;
  padding: 2px 0;
}

.content-page-method-exceptions .book-content .responsive-svg-panel-figure {
  width: min(920px, 100%);
}

.responsive-svg-panel-grid {
  --responsive-svg-panel-min-width: 220px;
  --responsive-svg-panel-max-width: 299px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(var(--responsive-svg-panel-min-width), 1fr));
  gap: 12px;
  min-width: var(--responsive-svg-panel-min-width);
}

.responsive-svg-panel {
  justify-self: center;
  max-width: var(--responsive-svg-panel-max-width);
  min-width: var(--responsive-svg-panel-min-width);
}

.stem-card-panel-figure {
  width: min(920px, 100%);
}

.stem-card-panel-groups {
  display: grid;
  gap: 14px;
  min-width: min-content;
}

.stem-card-panel-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px var(--stem-card-panel-gap);
  justify-content: center;
  align-items: flex-start;
}

.stem-card-panel {
  flex: 0 0 var(--stem-card-panel-width);
  width: var(--stem-card-panel-width);
  min-width: var(--stem-card-panel-width);
  max-width: var(--stem-card-panel-width);
  margin: 0;
}

.embed-exceptions-table .svg-table-object {
  min-width: 585px;
}

.content-page-method-exceptions {
  max-width: 1040px;
}

.content-page-method-model-verbs .book-content .wide-table-figure {
  margin: 14px 0 8px;
  padding: 2px 0;
  width: 100%;
  max-width: none;
}

.content-page-method-model-verbs {
  max-width: none;
}

.content-page-method-model-verbs .book-content .embed-representative-models-table .svg-table-object {
  width: 880px;
  min-width: 880px;
  aspect-ratio: 635 / 785;
  height: auto;
  max-width: none;
  margin-left: auto;
  margin-right: auto;
}

.content-page-method-model-verbs .book-content .wide-table-figure + hr {
  margin: 10px 0 14px;
}

.content-page-method-model-verbs .book-content .wide-table-figure + h3 {
  margin-top: 16px;
}

.conjugation-table-frame {
  width: max-content;
  max-width: 100%;
  margin: 0;
  padding: 0;
}

.conjugation-table-frame img {
  width: var(--conjugation-table-width);
  max-width: none;
}

.interactive-conjugation-table svg {
  display: block;
  width: var(--conjugation-table-width);
  max-width: none;
  height: auto;
  margin: 0 auto;
}

.interactive-conjugation-table [data-ss-role="card-hit"],
.interactive-conjugation-table [data-ss-role="form-hit"],
.interactive-conjugation-table [data-ss-role="rule-hit"],
.interactive-conjugation-table .svg-stem-region,
.interactive-conjugation-table .svg-form-region {
  cursor: pointer;
}

.interactive-conjugation-table .svg-stem-region:focus {
  outline: none;
}

.interactive-conjugation-table .svg-preview-card-overlay {
  fill: #202124;
  fill-opacity: 0.08;
  pointer-events: none;
}

.interactive-conjugation-table .svg-selected-card-overlay {
  fill: #202124;
  fill-opacity: 0.16;
  pointer-events: none;
}

.interactive-conjugation-table .svg-dimmed-card {
  filter: saturate(0.35) brightness(1.18);
}

.interactive-conjugation-table text.svg-dimmed-card,
.interactive-conjugation-table text.svg-dimmed-card tspan,
.interactive-conjugation-table tspan.svg-dimmed-card {
  fill-opacity: 0.38;
}

.interactive-conjugation-table .svg-stem-label-highlight,
.interactive-conjugation-table .svg-stem-label-text,
.interactive-conjugation-table .svg-header-band,
.interactive-conjugation-table .svg-header-label {
  pointer-events: none;
}

.interactive-conjugation-table svg text,
.interactive-conjugation-table svg tspan {
  pointer-events: none;
}

.interactive-conjugation-table .svg-preview-form {
  fill: var(--accent);
  fill-opacity: 0.07;
}

.interactive-conjugation-table .svg-selected-form {
  fill: var(--accent);
  fill-opacity: 0.2;
}

.interactive-conjugation-table .svg-selection-clear,
.interactive-conjugation-table .svg-stem-selection-clear {
  cursor: pointer;
}

.interactive-conjugation-table .svg-selection-clear-hit,
.interactive-conjugation-table .svg-stem-selection-clear-hit {
  fill: var(--paper);
  fill-opacity: 0.96;
  stroke: var(--accent);
  stroke-width: 0.8;
}

.interactive-conjugation-table .svg-selection-clear-label,
.interactive-conjugation-table .svg-stem-selection-clear-label {
  fill: var(--ink);
  font-size: 8px;
  font-weight: 700;
  pointer-events: none;
}

.svg-image-link {
  display: block;
}

.book-content .svg-image-link img {
  width: var(--conjugation-table-width);
  max-width: none;
}

.book-content .wide-table-figure img {
  width: 100%;
}

.book-content table {
  width: 100%;
  margin: 24px 0;
  border-collapse: collapse;
  background: transparent;
}

.book-content th,
.book-content td {
  border: 1px solid var(--line);
  padding: 9px 11px;
  text-align: left;
  vertical-align: top;
}

.book-content tr.clickable-table-row:hover td {
  background: var(--accent-soft);
}

.book-content .table-row-link {
  display: block;
  min-height: 100%;
  color: inherit;
  text-decoration: none;
}

.book-content .formula-token-link,
.formula-pills-link,
.formula-pills .book-spill[href] {
  color: inherit;
  text-decoration: none;
}

.book-content .formula-token-link:hover .book-stem,
.formula-pills-link:hover .book-stem {
  color: var(--accent);
}

.formula-pills .book-spill.formula-dimmed {
  filter: saturate(0.35) brightness(1.18);
}

.formula-pills .book-spill.formula-dimmed .book-stem,
.formula-pills .book-spill.formula-dimmed .book-ending-pill,
.formula-pills .book-spill.formula-dimmed .reflexive {
  color: var(--muted);
}

/* The active stem pill gets a soft outlined box so it pops against the
   dimmed siblings without changing the pill's intrinsic colors. */
.formula-pills .book-spill.formula-selected {
  background: rgba(32, 33, 36, 0.06);
  border-radius: 0.28em;
  box-shadow: 0 0 0 0.18em rgba(32, 33, 36, 0.06);
}

.summary-stem {
  font-style: italic;
}

.web-indent {
  font-size: 1.05rem;
  line-height: 1.68;
  margin-left: min(calc(var(--web-indent, 4) * 0.25em), 2rem);
}

.formula-pills {
  display: inline-flex;
  flex-wrap: wrap;
  column-gap: 0.5em;
  row-gap: 0.38em;
  align-items: baseline;
  line-height: 1.4rem;
}

.verb-title-row h1 .stem-title-formula {
  line-height: 1;
}

.formula-term {
  display: inline-flex;
  gap: 0.36em;
  align-items: baseline;
  white-space: nowrap;
}

.formula-term-first {
  gap: 0;
}

.formula-plus,
.exception-plus {
  color: var(--muted);
  font-weight: 700;
}

.formula-exception {
  display: inline-flex;
  gap: 0.35em;
  align-items: baseline;
  color: var(--muted);
  font-size: 0.92em;
  font-weight: 650;
  white-space: nowrap;
}

.formula-exception em {
  color: var(--ink);
}

.stem-type-pill {
  display: inline-block;
  padding: 0 0.18em 0.02em;
  border-radius: 0.18em;
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1em;
  font-weight: 700;
  line-height: 1.05;
  white-space: nowrap;
}

a.stem-type-pill,
.stem-type-link {
  color: var(--ink);
  text-decoration: none;
  cursor: pointer;
}

.stem-type-link:hover {
  text-decoration: underline;
}

.stem-type-pill.stem-ar {
  background: var(--stem-ar);
}

.stem-type-pill.stem-er {
  background: var(--stem-er);
}

.stem-type-pill.stem-ir {
  background: var(--stem-ir);
}

.stem-type-pill.stem-boot {
  background: var(--stem-boot);
}

.stem-type-pill.stem-gerund {
  background: var(--stem-gerund);
}

.stem-type-pill.stem-yo {
  background: var(--stem-yo);
}

.stem-type-pill.stem-preteritei {
  background: var(--stem-preteritei);
}

.stem-type-pill.stem-preteritej {
  background: var(--stem-preteritej);
}

.stem-type-pill.stem-future {
  background: var(--stem-future);
}

.stem-type-pill.stem-imperfect {
  background: var(--stem-imperfect);
}

.book-spill {
  display: inline-flex;
  align-items: baseline;
  overflow: hidden;
  white-space: nowrap;
}

.book-stem {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1em;
  font-weight: 700;
}

.book-ending-pill {
  display: inline-block;
  margin-left: 0;
  padding: 0.01em 0.18em 0.05em;
  border-radius: 0.18em;
  font-family: ui-monospace, "SFMono-Regular", Menlo, monospace;
  font-size: 1em;
  font-weight: 400;
  line-height: 1.18;
}

.reflexive {
  padding-left: 0.08em;
}

.stem-ar .book-ending-pill {
  background: var(--stem-ar);
}

.stem-er .book-ending-pill {
  background: var(--stem-er);
}

.stem-ir .book-ending-pill {
  background: var(--stem-ir);
}

.stem-boot .book-ending-pill {
  background: var(--stem-boot);
}

.stem-gerund .book-ending-pill {
  background: var(--stem-gerund);
}

.stem-yo .book-ending-pill {
  background: var(--stem-yo);
}

.stem-preteritei .book-ending-pill {
  background: var(--stem-preteritei);
}

.stem-preteritej .book-ending-pill {
  background: var(--stem-preteritej);
}

.stem-future .book-ending-pill {
  background: var(--stem-future);
}

.stem-imperfect .book-ending-pill {
  background: var(--stem-imperfect);
}

.search-shell {
  position: relative;
}

.search-input {
  width: 100%;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
  background: var(--panel);
  color: var(--ink);
  font: inherit;
}

.search-results {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: min(520px, calc(100vw - 32px));
  max-height: 70vh;
  overflow-y: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 18px 48px rgba(32, 33, 36, 0.16);
}

.search-result,
.verb-index-row {
  display: grid;
  grid-template-columns: minmax(110px, 0.55fr) minmax(0, 1.7fr) auto;
  gap: 14px;
  align-items: center;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
}

.search-result,
.verb-index-row {
  cursor: pointer;
}

.search-result {
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
}

.verb-index-row {
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  column-gap: 3em;
  align-items: baseline;
  padding: 7px 14px;
  text-align: left;
}

.search-result:last-child,
.verb-index-row:last-child {
  border-bottom: 0;
}

.search-result:hover,
.search-result.is-active,
.verb-index-row:hover {
  background: var(--accent-soft);
}

.verb-index-name {
  color: var(--ink);
  font-weight: 760;
  text-decoration: none;
}

.verb-index-formula,
.search-formula {
  display: grid;
  gap: 0.35em;
  min-width: 0;
}

.verb-index-row .formula-pills {
  width: 100%;
}

.search-formula .formula-pills {
  max-width: 100%;
  width: fit-content;
}

.verb-index-gloss,
.search-gloss {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.35;
  text-align: left;
  text-decoration: none;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  padding: 0;
  margin: 0;
  list-style: none;
  font-size: 0.85rem;
  color: var(--muted);
}
.breadcrumbs li + li::before {
  content: "›";
  margin-right: 0.35rem;
  color: var(--muted);
}
.breadcrumbs a {
  color: inherit;
  text-decoration: none;
}
.breadcrumbs a:hover {
  text-decoration: underline;
}
.breadcrumbs [aria-current="page"] {
  color: var(--ink);
}
.breadcrumbs li[hidden] {
  display: none;
}

.verb-title-row {
  /* Single responsive scale drives H1, gloss, and the detail line so
     the gloss + detail-line stack stays within the H1's height as the
     window shrinks (they all shrink together). */
  --verb-title-scale: clamp(1rem, 2.2vw, 1.6rem);
  display: grid;
  /* Right column sizes to its content (capped by .verb-title-meta's
     own max-width) so long verbs/forms like "abstendríamos" get all
     remaining horizontal room and don't wrap to two lines. */
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: 1.25em;
  align-items: start;
}

.verb-title-row h1 {
  margin-bottom: 8px;
  min-width: 0;
  font-style: normal;
  overflow-wrap: anywhere;
  /* Sized to be just taller than the gloss + detail-line stack at every
     window width — both columns shrink together via --verb-title-scale.
     The 2.15 multiplier is empirical: gloss=1× line-height 1.2, detail=
     0.78× line-height 1.2 → stack height ≈ 2.16× scale; H1 line-height
     1.0 lets the multiplier double as the height ratio. */
  font-size: calc(var(--verb-title-scale) * 2.22);
  line-height: 1.0;
}

.verb-title-meta {
  justify-self: end;
  min-width: 0;
  /* Cap the right column to leave most of the row for the H1; long
     glosses get ellipsized rather than steal H1 space. */
  max-width: min(40vw, 16rem);
  padding-top: 0.05em;
  text-align: right;
}

.verb-formula-header {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: .1em 0.5em;
  align-items: center;
  align-content: flex-start;
  margin: 0;
  min-height: var(--verb-formula-header-height);
}

.verb-formula-header .formula-pills {
  display: contents;
}

.formula-height-measurer {
  position: absolute;
  top: 0;
  left: -10000px;
  visibility: hidden;
  pointer-events: none;
  z-index: -1;
}

.verb-section-heading {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 0em .5em;
  align-items: baseline;
  margin: 0.4em 0 0;
}

.verb-section-heading h2 {
  margin: 0;
}

.verb-gloss {
  margin: 0;
  color: var(--muted);
  font-size: var(--verb-title-scale, 1.05rem);
  font-weight: 720;
  line-height: 1.2;
  text-align: right;
  white-space: normal;
  overflow-wrap: anywhere;
}

.verb-title-meta .verb-detail-line {
  /* Right-column detail line under the gloss: matches gloss scale so
     the whole right column shrinks with the H1 in lockstep. */
  display: block;
  margin: 0;
  color: var(--muted);
  font-size: calc(var(--verb-title-scale, 1.05rem) * 0.78);
  font-weight: 600;
  line-height: 1.2;
  text-align: right;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.verb-title-meta .verb-detail-line[hidden] {
  display: none;
}

.verb-detail-line {
  /* Default (when not in title-meta — e.g. used elsewhere in book content). */
  display: flex;
  flex-wrap: wrap;
  gap: 0.45em 1em;
  align-items: baseline;
  margin: 0.1em 0 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.4;
}

.infinitive-link {
  color: var(--accent);
  text-decoration: underline;
}

.infinitive-link:hover,
.formula-stem-link:hover,
.rule-link:hover {
  text-decoration: underline;
  color: var(--accent);
}

.formula-stem-link,
.rule-link {
  color: var(--accent);
  text-decoration: underline;
}

.form-formula {
  margin: 0;
/*  padding: 0;*/
/*  border: solid .5px black;*/
/*  color: red;*/
/*  font-size: 1.05rem;*/
  line-height: 1.4rem;
}

.stem-usage-display {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.4rem;
}

/* Shared detail/subtitle slot under the H1 for verb, form, and stem routes. */
.verb-detail-slot {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4em 1em;
  align-items: baseline;
  margin: -0.15em 0 0.05em;
  min-height: 1.6em;
}

.verb-additional-detail-line {
/*  display: inline-flex;*/
/*  flex-wrap: wrap;*/
/*  gap: 0.45em;*/
/*  align-items: baseline;*/
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.2;
}

.verb-additional-detail-line[hidden] {
  display: none;
}

.exception-list {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.0em 0.45em;
  align-items: baseline;
}

.exception-term {
  display: inline-flex;
  gap: 0.35em;
  align-items: baseline;
  white-space: nowrap;
}

.index-exceptions,
.search-exceptions {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.35;
}

.next-link {
  display: inline-block;
  margin-top: 28px;
  font-weight: 700;
  text-decoration: none;
}

.verb-index-list {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: transparent;
}

.model-link,
.model-note {
  color: var(--muted);
}

.model-note {
  margin: 0;
  font-size: 0.94rem;
  font-weight: 500;
  line-height: 1.35;
}

.like-section {
  margin-top: 40px;
}

.like-section .svg-frame {
  display: flex;
  justify-content: center;
}

.like-section .svg-table-object {
  flex: 0 0 auto;
  width: var(--group-table-width, var(--conjugation-table-width));
  aspect-ratio: var(--group-table-aspect-ratio, auto);
  height: auto;
  max-width: none;
}

.model-commentary {
  margin-top: 24px;
}

.literary-quote {
  max-width: 58ch;
  margin: 34px auto 0;
  color: var(--ink);
  text-align: center;
}

.literary-quote blockquote {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.05rem;
  line-height: 1.55;
}

.literary-quote blockquote p,
.quote-translation {
  margin: 0 0 0.65em;
}

.quote-translation,
.literary-quote figcaption {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.4;
}

.literary-quote figcaption {
  font-style: italic;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

@media (max-width: 860px) {
  .site-header-hideable {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 12px 16px 10px;
  }

  .site-header-persistent {
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 6px 16px;
  }

  .brand-title-line {
    font-size: 1.5rem;
  }

  .brand-subtitle-line {
    font-size: 1.02rem;
  }

  .search-row {
    justify-self: stretch;
    width: 100%;
  }

  .mobile-nav-menu {
    display: block;
  }

  .mobile-nav-menu .site-section-nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    z-index: 30;
    width: min(280px, calc(100vw - 32px));
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--panel);
    box-shadow: 0 18px 48px rgba(32, 33, 36, 0.16);
  }

  .site-shell {
    display: block;
    width: min(920px, calc(100vw - 32px));
  }

  .site-sidebar {
    display: none;
  }

  .site-main {
    padding-top: 28px;
  }

  .content-page-method-exceptions {
    margin-left: 0;
  }

  .search-result,
  .verb-index-row {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 1100px) {
  body:has(.content-page-method-model-verbs) .mobile-nav-menu {
    display: block;
  }

  body:has(.content-page-method-model-verbs) .site-shell {
    display: block;
    width: min(920px, calc(100vw - 32px));
  }

  body:has(.content-page-method-model-verbs) .site-sidebar {
    display: none;
  }
}
