:root {
  --ink: #202124;
  --muted: #666b72;
  --line: #d8dde3;
  --paper: #fbfaf7;
  --panel: #ffffff;
  --accent: #235f84;
  --accent-soft: #e8f2f7;
  --exception: #A12E39;
  --stem-ar: #f1ecf5;
  --stem-er: #f3eee6;
  --stem-ir: #e6f1f2;
  --stem-boot: #98d9f3;
  --stem-l: #f8bacc;
  --stem-gerund: #9fdec2;
  --stem-preteritei: #fabea9;
  --stem-preteritej: #e4beed;
  --stem-future: #baccff;
  --stem-imperfect: #eec698;
  --conjugation-table-width: 745px;
  --anchor-scroll-offset: 16px;
  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);
}

.verb-mention-link {
  color: #1f6470;
  font-weight: 500;
  text-decoration: none;
  text-underline-offset: 0.16em;
}

.verb-mention-link:hover,
.verb-mention-link:focus-visible {
  color: var(--accent);
  text-decoration: underline;
}

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

.site-header {
  position: relative;
  z-index: 10;
  display: grid;
  gap: 0;
  background: rgba(251, 250, 247, 0.96);
  backdrop-filter: blur(10px);
  transform: translateY(calc(-1 * var(--site-header-collapse-offset, 0px)));
  will-change: transform;
}

.site-header-hideable {
  display: grid;
  grid-template-columns: minmax(0, max-content) minmax(180px, 360px) max-content;
  gap: 12px 20px;
  align-items: center;
  padding: 10px 28px 12px;
}

.site-header-hideable.no-header-search {
  grid-template-columns: minmax(0, max-content) max-content;
}

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

.search-row {
  position: relative;
  z-index: 40;
  justify-self: end;
  width: min(360px, 100%);
  min-width: 0;
}

.header-subtitle {
  display: inline;
  color: #2a333a;
  font-size: 1.05rem;
  font-weight: 760;
  line-height: 1.15;
  white-space: nowrap;
}

.header-book-link {
  display: inline-flex;
  align-items: center;
  justify-self: end;
  gap: 0.42rem;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid #bd8d1d;
  border-radius: 6px;
  background: #f2b84b;
  color: #201d19;
  font-size: 0.92rem;
  font-weight: 750;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 1px 0 rgba(32, 33, 36, 0.18);
}

.header-book-link:hover,
.header-book-link:focus-visible {
  background: #f6c963;
  color: #201d19;
}

.header-book-link svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

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

.site-header-persistent.has-header-nav {
  grid-template-columns: minmax(44px, 1fr) minmax(0, max-content) minmax(44px, 1fr);
}

.site-header-persistent.has-header-nav .header-breadcrumbs {
  grid-column: 2;
  justify-self: center;
}

.site-header-persistent.has-header-nav .mobile-nav-toggle {
  grid-column: 3;
  justify-self: end;
}

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

.site-header-nav {
  display: flex;
  justify-content: center;
  min-width: 0;
  overflow: hidden;
  text-align: center;
}

.site-header-nav-list {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-width: 0;
  max-width: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  list-style: none;
  color: var(--line-strong);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
}

.site-header-nav-list li {
  display: flex;
  align-items: center;
  min-width: 0;
}

.site-header-nav-list li + li::before {
  content: "|";
  margin-right: 0.45rem;
  color: var(--line-strong);
  font-weight: 500;
}

.site-header-nav a {
  min-width: 0;
  padding-bottom: 0.02rem;
  border-bottom: 2px solid transparent;
  overflow: hidden;
  color: var(--accent);
  text-decoration: none;
  text-overflow: ellipsis;
}

.site-header-nav a:hover {
  text-decoration: underline;
}

.site-header-nav a[aria-current="page"] {
  border-bottom-color: var(--accent);
  color: var(--accent);
  font-weight: 820;
}

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

.brand-line {
  display: inline-block;
  white-space: nowrap;
}

.brand-colored-word + .brand-colored-word {
  margin-left: 0.22em;
}

.brand-title-line {
  color: #201d19;
  font-size: 1.8rem;
  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-block;
}

.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-toggle {
  display: none;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
  padding: 0;
}

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

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

.site-shell.has-site-sidebar {
  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-site-sidebar:has(.content-page-method-model-verbs),
.site-shell.has-site-sidebar:has(.content-page-learn-model-verbs) {
  gap: 28px;
}

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

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

.site-shell:not(.has-site-sidebar) .site-sidebar:not([data-mobile-nav-open]) {
  display: none;
}

body:has(.site-shell:not(.has-site-sidebar)) .mobile-nav-toggle {
  display: grid;
}

.site-shell:not(.has-site-sidebar) .site-sidebar[data-mobile-nav-open] {
  display: block;
  position: fixed;
  top: calc(var(--site-header-visible-height, 0px) + 8px);
  right: 16px;
  z-index: 30;
  width: min(280px, calc(100vw - 32px));
  max-height: calc(100vh - var(--site-header-visible-height, 0px) - 24px);
  overflow: auto;
  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:not(.has-site-sidebar) .site-sidebar[data-mobile-nav-open] .site-section-nav {
  padding: 0;
  border: 0;
}

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

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.2em;
}

.site-footer nav span {
  color: var(--line-strong);
}

.site-footer a {
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 680;
  text-decoration: none;
}

.site-footer p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.4;
  max-width: 76rem;
}

.site-footer strong {
  color: var(--ink);
  font-weight: 760;
}

.conjugation-provenance {
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.45;
}

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

.site-section-list,
.site-subsection-nav {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-section-list {
  display: grid;
  gap: 4px;
}

.site-section-list > li {
  font-size: 1rem;
  line-height: 1.3;
}

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

.site-subsection-nav {
  display: grid;
  gap: 1px;
  margin: -1px 0 5px;
  padding-left: 14px;
}

.site-subsection-nav a {
  display: block;
  border-radius: 6px;
  padding: 4px 10px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.25;
  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;
}

.book-page {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 300px);
  gap: 42px;
  align-items: start;
  max-width: 1080px;
}

.legal-page {
  max-width: 820px;
}

.book-page-purchase {
  position: sticky;
  top: calc(var(--site-header-visible-height, 0px) + 18px);
  display: grid;
  gap: 14px;
  justify-items: stretch;
  padding-top: 4px;
}

.book-cover-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.book-cover-thumbnail {
  display: block;
  width: min(300px, 100%);
  height: auto;
  border-radius: 4px;
  box-shadow: 0 18px 42px rgba(32, 33, 36, 0.18);
}

.book-page-copy h1 {
  margin-bottom: 16px;
}

.book-hero-copy {
  display: grid;
  gap: 16px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.book-hero-copy h1,
.book-hero-copy p,
.book-hero-copy ul {
  margin-top: 0;
  margin-bottom: 0;
}

.book-page-lede {
  max-width: 60ch;
  color: var(--muted);
  font-size: 1.16rem;
  line-height: 1.62;
}

.book-feature-list {
  margin: 0;
  padding-left: 1.2rem;
}

.book-page-jump-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  margin-top: 4px;
}

.book-page-jump-links a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: color-mix(in srgb, var(--panel) 70%, var(--accent-soft));
  color: var(--accent);
  font-size: 0.93rem;
  font-weight: 720;
  line-height: 1;
  text-decoration: none;
}

.book-page-jump-links a:hover,
.book-page-jump-links a:focus-visible {
  border-color: #9aa7b2;
  background: var(--accent-soft);
  color: var(--accent);
  text-decoration: underline;
}

.book-section {
  scroll-margin-top: var(--anchor-scroll-offset);
}

.book-section h2 {
  margin-bottom: 10px;
}

.book-section p {
  max-width: 68ch;
  margin: 0 0 14px;
}

.book-section > :last-child {
  margin-bottom: 0;
}

.book-contents-list,
.book-link-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 1.35rem;
}

.book-contents-list li,
.book-link-list li {
  padding-left: 0.15rem;
}

.book-comparison-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 16px;
}

.book-comparison-grid > div {
  min-width: 0;
  padding-top: 14px;
  border-top: 4px solid var(--accent-soft);
}

.book-comparison-grid h3 {
  margin: 0 0 8px;
  font-size: 1.08rem;
}

.book-comparison-grid ul {
  margin: 0;
  padding-left: 1.2rem;
}

.book-meta-list {
  display: grid;
  gap: 10px;
  margin: 2px 0 0;
  padding: 12px 0 0;
  border-top: 1px solid var(--line);
}

.book-meta-list div {
  display: grid;
  grid-template-columns: minmax(4.5rem, max-content) minmax(0, 1fr);
  gap: 10px;
  align-items: baseline;
}

.book-meta-list dt {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 720;
  line-height: 1.3;
}

.book-meta-list dd {
  margin: 0;
  color: var(--ink);
  font-size: 0.95rem;
  line-height: 1.35;
}

.amazon-book-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid #bd8d1d;
  border-radius: 6px;
  background: #f2b84b;
  color: #201d19;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  box-shadow: 0 2px 0 rgba(32, 33, 36, 0.18);
}

.amazon-book-button:hover,
.amazon-book-button:focus-visible {
  background: #f6c963;
  color: #201d19;
}

.amazon-book-button-icon {
  display: inline-grid;
  width: 20px;
  height: 20px;
  place-items: center;
}

.amazon-book-button svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.drills-page {
  max-width: 840px;
}

.drills-page-copy {
  display: grid;
  width: 100%;
  min-width: 0;
  gap: 18px;
  justify-items: start;
}

.drills-page-copy h1 {
  margin-bottom: 0;
}

.drills-page-copy section {
  width: 100%;
  min-width: 0;
}

.drills-page-copy h2 {
  margin-top: 28px;
}

.drills-page-copy ul,
.drills-page-copy ol {
  margin-top: 8px;
}

.drills-sample-figure {
  width: min(100%, 760px);
  margin: 4px 0 2px;
}

.drills-sample-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.drills-sample-panel {
  display: grid;
  min-width: 0;
  gap: 6px;
}

.drills-sample-label {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
}

.drills-pdf-snippet {
  width: 100%;
  height: 260px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--panel);
  box-shadow: 0 12px 28px rgba(32, 33, 36, 0.08);
}

.book-content .drills-pdf-snippet img {
  display: block;
  width: 760px;
  max-width: none;
  height: auto;
  margin: 0;
  transform: translate(-11px, -11px);
}

.drills-sample-panel .drills-pdf-snippet img {
  width: 100%;
  transform: none;
}

.drills-sample-figure figcaption {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.35;
}

@media (max-width: 720px) {
  .drills-sample-pair {
    grid-template-columns: 1fr;
  }
}

.drills-signup-note {
  max-width: 42rem;
  margin: 18px 0 0;
  padding: 12px 0 12px 16px;
  border-left: 4px solid var(--accent);
  color: var(--ink);
}

.drills-signup-note h2 {
  margin: 0 0 8px;
  font-size: 1.2rem;
}

.drills-signup-note p {
  margin: 0;
}

.drills-signup-form {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: start;
  margin-top: 14px;
}

.drills-signup-form input {
  min-width: min(100%, 260px);
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--panel);
  color: var(--ink);
  font: inherit;
}

.drills-signup-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid #1d587b;
  border-radius: 6px;
  background: var(--accent);
  color: #ffffff;
  font: inherit;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
}

.drills-signup-form button:hover,
.drills-signup-form button:focus-visible {
  background: #174b69;
}

.drills-signup-form button:disabled {
  cursor: wait;
  opacity: 0.68;
}

.drills-signup-status {
  flex-basis: 100%;
  min-height: 1.4em;
  color: var(--muted);
  font-size: 0.95rem;
}

.download-pdf-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid #1d587b;
  border-radius: 6px;
  background: var(--accent);
  color: #ffffff;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  box-shadow: 0 2px 0 rgba(32, 33, 36, 0.18);
}

.download-pdf-button:hover,
.download-pdf-button:focus-visible {
  background: #174b69;
  color: #ffffff;
}

.download-pdf-button-icon {
  display: inline-grid;
  width: 20px;
  height: 20px;
  place-items: center;
}

.download-pdf-button svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.verb-page {
  --verb-detail-slot-height: 1.6em;
}

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;
}

.book-content h2[id],
.book-content h3[id],
.book-content h4[id] {
  scroll-margin-top: var(--anchor-scroll-offset);
}

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

.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;
}

.stem-card-panel-link {
  display: block;
  flex: 0 0 var(--stem-card-panel-width);
  color: inherit;
  text-decoration: none;
}

.stem-card-panel-link:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}

.stem-ending-reference-tables {
  display: grid;
  gap: 10px;
  margin-top: 34px;
}

.stem-ending-reference-table {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: color-mix(in srgb, var(--panel) 76%, var(--paper));
}

.stem-ending-reference-table summary {
  cursor: pointer;
  padding: 11px 13px;
  color: var(--ink);
  font-weight: 760;
}

.stem-ending-reference-table summary h2 {
  display: inline;
  margin: 0;
  font-size: 1.2rem;
}

.stem-ending-reference-table table {
  margin: 0;
  border-width: 1px 0 0;
}

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

.exceptions-html-figure {
  margin: 14px 0 8px;
  padding: 2px 0;
  width: 100%;
  max-width: none;
}

.book-content .embed-exceptions-table.exceptions-html-figure {
  width: fit-content;
  max-width: 100%;
  margin-right: auto;
  margin-left: auto;
}

.book-content .embed-exceptions-table .exceptions-html-scroll {
  width: fit-content;
  max-width: 100%;
}

.exceptions-html-scroll {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.exceptions-html-panel-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  align-items: flex-start;
  width: 100%;
}

.exceptions-html-table {
  border-collapse: collapse;
  color: #222222;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  line-height: 1.2;
  table-layout: fixed;
}

.exceptions-html-table--wide {
  min-width: 585px;
}

.book-content .embed-exceptions-table .exceptions-html-table--wide {
  width: 585px;
}

.exceptions-html-table--panel {
  flex: 0 0 auto;
  min-width: 200px;
  max-width: 220px;
  font-size: 12px;
}

.exceptions-html-table th,
.exceptions-html-table td {
  padding: 3px 8px;
  border-right: 0.5px solid rgba(192, 192, 192, 0.3);
  border-bottom: 0.5px solid rgba(192, 192, 192, 0.4);
  vertical-align: middle;
}

.exceptions-html-table thead th,
.exceptions-html-group-row th {
  background: #e0e0e0;
  color: #222222;
  font-weight: 700;
  text-align: center;
}

.exceptions-html-table thead th {
  height: 20px;
  font-size: 11px;
}

.exceptions-html-group-row th {
  height: 18px;
  color: #444444;
  font-size: 10px;
  font-style: italic;
  text-align: left;
}

.exceptions-html-table tbody tr:hover {
  background: #e8f2f7;
}

.exceptions-html-verb {
  width: 88px;
  color: #222222;
  font-weight: 700;
  text-align: left;
  white-space: nowrap;
}

.exceptions-html-table--wide .exceptions-html-verb {
  width: 82px;
}

.exceptions-html-table--wide .exceptions-html-value {
  width: 92px;
}

.exceptions-html-table--wide .exceptions-html-value:nth-child(2) {
  width: 150px;
}

.exceptions-html-table--wide .exceptions-html-value:nth-child(3) {
  width: 140px;
}

.exceptions-html-table--panel .exceptions-html-value {
  width: 80px;
}

.exceptions-html-value {
  text-align: left;
}

.exceptions-html-value em {
  font-style: italic;
}

.exceptions-html-verb-link {
  color: inherit;
  text-decoration: none;
}

.exceptions-html-form-link {
  color: inherit;
  text-decoration: none;
}

.exceptions-html-verb-link:hover,
.exceptions-html-verb-link:focus-visible,
.exceptions-html-form-link:hover,
.exceptions-html-form-link:focus-visible {
  color: var(--accent);
  text-decoration: underline;
}

.exceptions-html-table .formula-exception-highlight {
  color: var(--exception);
}

.exceptions-html-table .exception-orth-highlight {
  text-decoration: overline;
}

.ss-stem {
  font-weight: 700;
}

.ss-ending {
  font-weight: 400;
}

@media (max-width: 560px) {
  .exceptions-html-panel-grid {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
  }

  .verbs-model-card {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }
}

.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 .book-content .model-verbs-table-frame {
  display: block;
  width: 100%;
  max-width: none;
  margin: 14px 0 8px;
  padding: 2px 0;
}

.content-page-method-model-verbs .book-content .model-verbs-table-scroll {
  contain: inline-size;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
}

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

.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 .model-verbs-table {
  width: auto;
  margin: 0 auto;
}

.content-page-method-model-verbs .book-content .model-verbs-table th,
.content-page-method-model-verbs .book-content .model-verbs-table td {
  padding: 0 8px;
  border: 0;
}

.content-page-method-model-verbs .book-content .model-verbs-table th {
  height: 20px;
}

.content-page-method-model-verbs .book-content .model-verbs-table td {
  height: 17px;
}

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

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

.conjugation-table-frame {
  width: max-content;
  max-width: 100%;
  margin: 20px 0px 0px 0px;
  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;
}

.spelling-rule-key {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.18rem 0.55rem;
  width: var(--conjugation-table-width);
  max-width: 100%;
  margin: 0.24rem 0 0;
  color: var(--ink);
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.15;
  --spelling-rule-hover-bg-mix: 18%;
}

.spelling-rule-key-label {
  white-space: nowrap;
}

.spelling-rule-key-rules {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.75rem 1.35rem;
}

.spelling-rule-key-item,
.text-conjugation-spelling-rule-group {
  display: inline-flex;
  align-items: baseline;
  gap: 0.28em;
}

.spelling-rule-key-rule {
  color: inherit;
  text-decoration-line: underline;
  text-decoration-color: var(--spelling-rule-color);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.12em;
}

.spelling-rule-key .spelling-rule-key-rule {
  background: color-mix(in srgb, var(--spelling-rule-color) var(--spelling-rule-bg-mix), transparent);
  border-radius: 3px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  padding: calc(0.02em + 2px) calc(0.16em + 2px) calc(0.04em + 2px);
}

.form-formula .spelling-rule-key-rule {
  background: color-mix(in srgb, var(--spelling-rule-color) var(--spelling-rule-bg-mix), transparent);
  border-radius: 3px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  padding: calc(0.02em + 2px) calc(0.16em + 2px) calc(0.04em + 2px);
}

.spelling-rule-key-rule.uses-overline {
  text-decoration-line: overline;
}

.spelling-rule-key-rule:hover,
.spelling-rule-key-rule:focus-visible,
.spelling-rule-key-rule.rule-preview-active {
  background: color-mix(in srgb, var(--spelling-rule-color) var(--spelling-rule-hover-bg-mix, 18%), transparent);
  color: inherit;
  outline: none;
}

.spelling-rule-info-link {
  position: relative;
  display: inline-grid;
  flex: 0 0 auto;
  width: 0.95rem;
  height: 0.95rem;
  place-items: center;
  border: 1px solid #8e9aa4;
  border-radius: 50%;
  color: var(--muted);
  font-size: 0.64rem;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  top: -0.04em;
}

.spelling-rule-info-link:hover,
.spelling-rule-info-link:focus-visible {
  border-color: var(--accent);
  color: var(--accent);
  outline: none;
}

.interactive-conjugation-table [data-ss-role="card-hit"],
.interactive-conjugation-table [data-ss-role="form-hit"],
.interactive-conjugation-table [data-ss-role="rule-hit"],
.spelling-rule-key [data-ss-role="rule-preview"],
.spelling-rule-key [data-ss-role="rule-info"],
.spelling-rule-key-rule[data-ss-role="rule-preview"],
.spelling-rule-info-link[data-ss-role="rule-info"],
.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-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-preview-rule-form {
  fill: var(--active-spelling-rule-color, var(--accent));
  fill-opacity: 0.16;
}

.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;
}

.spelling-rule-popover {
  position: fixed;
  z-index: 20;
  width: min(320px, calc(100vw - 24px));
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper);
  box-shadow: 0 12px 28px rgba(32, 33, 36, 0.18);
  color: var(--ink);
  font-size: 0.85rem;
  line-height: 1.38;
  pointer-events: none;
}

.spelling-rule-popover[hidden] {
  display: none;
}

.spelling-rule-popover strong {
  color: var(--accent);
}

.text-conjugation-table {
  width: var(--conjugation-table-width);
  max-width: 100%;
  margin: 12px 0 0;
  color: var(--ink);
  font-size: 0.9rem;
}

.text-conjugation-table summary {
  cursor: pointer;
  font-weight: 700;
}

.text-conjugation-stem-section {
  margin: 14px 0 0;
}

.text-conjugation-stem-heading {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.35;
  border-radius: 4px;
  padding: 1px 3px 2px;
}

.text-conjugation-stem-heading-content {
  display: inline-flex;
  align-items: baseline;
  gap: 0.3em;
}

.text-conjugation-stem-heading.text-conjugation-stem-heading-selected {
  background: var(--accent-soft);
}

.text-conjugation-table table {
  width: 100%;
  margin: 6px 0 0;
  border-collapse: collapse;
  background: transparent;
}

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

.text-conjugation-table tbody th {
  width: 15%;
  font-weight: 700;
}

.text-conjugation-table tbody th.text-conjugation-pronoun {
  font-style: italic;
  font-weight: 400;
}

.text-conjugation-form .formula-exception-highlight {
  color: var(--exception);
}

.irregularity-explanation .formula-exception-highlight {
  color: var(--exception);
}

.text-conjugation-table tbody tr[data-row-href] {
  cursor: pointer;
}

.text-conjugation-table tbody tr:hover th,
.text-conjugation-table tbody tr:hover td {
  background: color-mix(in srgb, var(--accent-soft) 28%, transparent);
}

.text-conjugation-table tr.text-conjugation-row-selected th,
.text-conjugation-table tr.text-conjugation-row-selected td {
  background: var(--accent-soft);
}

.text-conjugation-table tr.text-conjugation-row-selected:hover th,
.text-conjugation-table tr.text-conjugation-row-selected:hover td {
  background: var(--accent-soft);
}

.text-conjugation-formula,
.text-conjugation-spelling-rules {
  color: var(--muted);
  white-space: nowrap;
}

.text-conjugation-spelling-rules {
  font-size: 0.85rem;
}

.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 .stem-type-model-verbs table {
  width: auto;
  max-width: 100%;
  margin: 24px auto;
}

.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;
}

.formula-info-link {
  position: relative;
  display: inline-grid;
  flex: 0 0 auto;
  width: 1.05rem;
  height: 1.05rem;
  place-items: center;
  border: 1px solid #8e9aa4;
  border-radius: 50%;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  top: -0.05em;
}

.formula-info-link:hover,
.formula-info-link:focus,
.formula-info-link:focus-visible {
  border-color: var(--accent);
  color: var(--accent);
  outline: none;
}

.formula-info-tooltip {
  position: absolute;
  left: 0;
  top: calc(100% + 8px);
  z-index: 50;
  width: min(19rem, calc(100vw - 32px));
  max-width: calc(100vw - 32px);
  padding: 9px 11px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--panel);
  box-shadow: 0 12px 32px rgba(32, 33, 36, 0.16);
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 500;
  line-height: 1.35;
  text-align: left;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateY(2px);
  transition: opacity 0.12s ease, transform 0.12s ease, visibility 0.12s ease;
}

.formula-info-tooltip strong {
  font-weight: 800;
}

.formula-info-link:hover .formula-info-tooltip,
.formula-info-link:focus .formula-info-tooltip,
.formula-info-link:focus-visible .formula-info-tooltip {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

.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);
}

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

.formula-exception .formula-exception-highlight,
.exception-term .formula-exception-highlight {
  color: var(--exception);
}

.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-l {
  background: var(--stem-l);
}

.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-l .book-ending-pill {
  background: var(--stem-l);
}

.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;
  min-width: 0;
}

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

.hero-search-shell .search-input {
  height: 48px;
  border-color: #9aa7b2;
  padding: 0 14px;
  font-size: 1.05rem;
  box-shadow: 0 1px 0 rgba(32, 33, 36, 0.08);
}

.hero-search-shell .search-results {
  right: auto;
  left: 0;
  width: min(640px, calc(100vw - 32px));
}

.search-results {
  position: absolute;
  z-index: 40;
  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: nowrap;
  gap: 0.35rem;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  padding: 0;
  margin: 0;
  list-style: none;
  font-size: calc(0.85rem - 2px);
  color: var(--muted);
  white-space: nowrap;
}
.breadcrumbs {
  display: flex;
  align-items: flex-end;
  min-width: 0;
  min-height: var(--route-breadcrumb-height, 0px);
}
.breadcrumbs li {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.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: center;
}

.verb-title-row h1 {
  margin-bottom: 0;
  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. The H1 line
     box stays a little taller than the font so descenders like "g" are
     not painted under the sticky detail strip below. */
  font-size: calc(var(--verb-title-scale) * 2.22);
  line-height: 1.1;
}

.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;
  text-align: right;
}

.verb-sticky-detail {
  position: relative;
  z-index: 8;
  display: grid;
  gap: 0;
  margin: 0 0 0.3em;
  padding: 0.1em 0 0.12em;
  border-bottom: 1px solid rgba(216, 221, 227, 0.76);
  background: rgba(251, 250, 247, 0.96);
  backdrop-filter: blur(10px);
}

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

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

.conjugation-table-heading {
  margin: 1rem 0 0.3rem;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 650;
  line-height: 1.15;
}

.conjugation-table-heading + .conjugation-table-frame {
  margin-top: 0;
}

.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 0 0.05em;
  min-height: min(var(--verb-detail-slot-height, 0px), 1.3em);
}

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

.verb-detail-back-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.35em;
  height: 1.35em;
/*  margin-left: 0.35em;*/
  border-radius: 999px;
  color: var(--accent);
  text-decoration: none;
  line-height: 1;
}

.verb-detail-back-link:hover,
.verb-detail-back-link:focus-visible {
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  color: var(--accent);
  text-decoration: none;
}

.verb-detail-back-icon {
  font-size: 1.05em;
}

.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;
}

.verb-index-page-header {
  margin-bottom: 22px;
}

.verb-index-page-header p {
  max-width: 62ch;
  margin: 0;
  color: var(--muted);
}

.verbs-page {
  width: min(1080px, calc(100vw - 56px));
  margin: 0 auto;
}

.verbs-page-title {
  margin: 0 auto 18px;
  text-align: center;
}

.verbs-search-panel {
  margin: 0 auto 34px;
  text-align: center;
}

.verbs-search-panel .search-shell {
  max-width: 520px;
  margin: 0 auto 12px;
  text-align: left;
}

.verbs-search-panel p,
.verbs-model-table-section p {
  max-width: 62ch;
  margin: 0;
  color: var(--muted);
}

.verbs-search-panel p {
  max-width: none;
}

.verbs-model-table-section {
  margin: 0 auto 36px;
  text-align: center;
}

.verbs-model-table-section h2 {
  margin-bottom: 8px;
}

.verbs-model-table-section p {
  margin: 0 auto;
}

.home-landing {
  display: grid;
  gap: 52px;
}

.home-top-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35em 1em;
  padding-top: 12px;
  color: var(--line-strong);
  font-size: 0.95rem;
  font-weight: 700;
}

.home-top-nav a {
  color: var(--accent);
  text-decoration: none;
}

.home-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.75fr);
  gap: 28px 44px;
  align-items: center;
  min-height: min(520px, calc(100vh - 190px));
  padding: 36px 0 28px;
  border-bottom: 1px solid var(--line);
}

.home-hero-copy p,
.home-demo-copy p {
  max-width: 58ch;
  color: var(--muted);
}

.home-hero-copy h1 {
  max-width: 100%;
  margin-bottom: 18px;
  font-size: clamp(2.7rem, 4.1vw, 3.75rem);
  line-height: 1.02;
}

.home-hero-copy h1 em {
  color: var(--accent);
  font-style: italic;
}

.homde-landing strong {
  color: var(--accent);
/*  font-s: italic;*/
}

.home-landing em {
  color: var(--accent);
  font-style: italic;
}

.home-hero-search {
  display: grid;
  gap: 14px;
}

.text-link-strong:hover {
  text-decoration: underline;
}

.text-link-strong {
  width: fit-content;
  font-weight: 760;
  text-decoration: none;
}

.home-stem-types {
  display: grid;
  grid-template-columns: minmax(0, 0.40fr) minmax(320px, 0.60fr);
  gap: 24px 42px;
  align-items: center;
}

.home-stem-types-copy h2 {
  max-width: 100%;
  margin: 0 0 16px;
  font-size: 1.65rem;
  line-height: 1.2;
}

.home-stem-types-copy p {
  max-width: 49ch;
  margin: 0 0 18px;
  color: var(--muted);
}


.home-stem-types-preview {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px 24px;
  align-items: center;
/*  justify-items: center;*/
  padding: 16px 12px 0px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}


.home-stem-types-card {
  --stem-type-card-width: 260px;
/*  height: calc(var(--stem-type-card-width) * 228 / 223);*/
  margin: 0px 2px;
/*  overflow: hidden;*/
/*margin:;*/
}

.home-stem-types-card .stem-type-card {
  display: block;
  width: var(--stem-type-card-width);
}

.home-stem-types-card-link {
  display: grid;
  gap: 0px;
/*  justify-items: center;*/
  color: inherit;
  text-decoration: none;
  width: fit-content;
}


.home-stem-types-link {
  margin-bottom: 18px;
}




.home-stem-types-card-link h2 {
  margin: 0;
  color: var(--accent);
  line-height: 1.25;
  text-align: center;
  font-size: 1.25rem;
  font-weight: 760;
}

.home-stem-types-card-link:hover h2,
.home-stem-types-card-link:focus-visible h2 {
  color: var(--accent);
  text-decoration: underline;
}

.home-demo {
  display: grid;
  grid-template-columns: minmax(0, 0.4fr) minmax(300px, .65fr);
  gap: 24px 32px;
  align-items: center;
}

.home-demo h2,
.home-family h2,
.home-learning h2,
.home-common-verbs h2,
.home-faq h2 {
  margin-top: 0;
}

/*.home-demo-copy strong {
  color: var(--accent);
  font-style: italic;
  font-weight: bold;
}
*/


.formula-demo {
  display: grid;
  gap: 18px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: color-mix(in srgb, var(--panel) 82%, var(--accent-soft));
}

.formula-demo .formula-pills {
  font-size: 1.2rem;
}

.formula-demo-stems {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  align-items: start;
}

.formula-demo-stem {
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  gap: 0;
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper);
}

.formula-demo-stem h3 {
  display: grid;
  gap: 8px;
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.2;
}

.formula-demo-stem p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.formula-demo-stem-type .stem-type-pill {
  margin-right: 0.1em;
}

.formula-demo-stem .formula-demo-stem-usage {
  margin-top: 10px;
}

.formula-demo-examples {
  align-self: end;
  margin-top: 10px;
  color: var(--ink);
  font-size: 0.92rem;
  line-height: 1.35;
}

.formula-demo-examples em {
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 400;
  line-height: 1.35;
}

.formula-demo-link {
  margin-top: 2px;
}

.home-paths {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.home-path-card {
  display: grid;
  gap: 12px;
  align-content: start;
  min-height: 210px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  color: inherit;
  text-decoration: none;
}

.home-path-card:hover,
.home-path-card:focus-visible {
  border-color: #9aa7b2;
  box-shadow: 0 10px 24px rgba(32, 33, 36, 0.1);
}

.home-path-card h2 {
  margin: 0;
  font-size: 1.18rem;
  line-height: 1.25;
}

.home-path-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.55;
}

.home-path-card span {
  align-self: end;
  color: var(--accent);
  font-weight: 760;
}

.home-path-card-search {
  align-content: start;
}

.home-path-search {
  width: 100%;
  margin-top: 4px;
}

.home-family {
  display: grid;
  grid-template-columns: minmax(0, 0.4fr) minmax(420px, .6fr);
  gap: 24px 44px;
  align-items: center;
}

.home-family-preview {
/*  display: grid;*/
  justify-items: center;
/*  gap: 16px;*/
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}


.home-family-preview .formula-pills {
  font-size: clamp(0.82rem, 1.25vw, 0.96rem);
}

.home-family-formulas {
  display: grid;
  gap: 10px;
  margin-bottom: 15px;
}

.home-family-formula-row {
  display: grid;
  grid-template-columns: minmax(5.4rem, max-content) minmax(0, 1fr);
  gap: 10px 12px;
  align-items: baseline;
}

.home-family-formula-row .formula-pills {
  display: grid;
  grid-template-columns: minmax(5.4rem, 0.9fr) minmax(6.8rem, 1.08fr) minmax(7.4rem, 1.12fr);
  column-gap: 0.3rem;
  row-gap: 0.24rem;
  width: 100%;
  min-width: 0;
  line-height: 1.18;
}

.home-family-formula-row .formula-term {
  min-width: 0;
  gap: 0.18em;
}

.home-family-formula-row .formula-plus {
  flex: 0 0 0.75em;
  text-align: center;
}

.home-family-formula-link {
  color: var(--accent);
  font-weight: 760;
  text-decoration: none;
}

.home-family-formula-link:hover {
  text-decoration: underline;
}

.home-family-model {
  display: grid;
  gap: 16px;
}


.home-family-model-name {
  display: grid;
  width: fit-content;
  color: inherit;
  text-decoration: none;
  color: var(--accent);
  font-size: 1.25rem;
  font-weight: 760;
}


/*.home-family-model span {
  color: var(--muted);
  font-size: 0.92rem;
}
*/

.home-family-preview a {
  color: var(--accent);
  text-decoration: none;
}

.home-family-preview a:hover,
.home-family-preview a:focus-visible,
.home-top-nav a:hover,
.home-top-nav a:focus-visible,
.home-learning-steps a:hover strong,
.home-learning-steps a:focus-visible strong,
.home-common-verb-name:hover,
.home-common-verb-name:focus-visible,
.site-footer a:hover,
.site-footer a:focus-visible {
  text-decoration: underline;
}


.home-family-formula {

}

.home-section-heading {
  display: flex;
  gap: 14px;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 16px;
}

.home-learning-steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: none;
}

.home-learning-steps li {
  min-width: 0;
}

.home-learning-steps a {
  display: grid;
  grid-template-rows: auto auto 1fr;
  gap: 8px;
  height: 100%;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  color: inherit;
  text-decoration: none;
}

.home-learning-steps span {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 760;
}

.home-learning-steps small {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.home-common-verb-formulas {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.home-common-verb-formula {
  display: grid;
  grid-template-columns: minmax(4.5rem, 0.28fr) minmax(0, 1fr);
  gap: 10px 14px;
  align-items: baseline;
  min-width: 0;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--panel);
}

.home-common-verb-name {
  color: var(--accent);
  font-weight: 680;
  text-decoration: none;
}

.home-common-verb-formula .formula-pills {
  min-width: 0;
  font-size: 0.98rem;
}

.home-faq-list {
  display: grid;
  gap: 10px;
}

.home-faq details {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.home-faq summary {
  cursor: pointer;
  color: var(--ink);
  font-weight: 760;
}

.home-faq p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.home-feature-mark {
  width: 36px;
  height: 8px;
  border-radius: 999px;
}

.home-feature-mark.stem-future {
  background: var(--stem-future);
}

.home-feature-mark.stem-er {
  background: var(--stem-er);
}

.home-feature-mark.stem-l {
  background: var(--stem-l);
}

.home-feature-mark.stem-boot {
  background: var(--stem-boot);
}

.home-feature h3 {
  margin: 0;
  font-size: 1.04rem;
}

.model-family-page {
  max-width: 760px;
}

.model-family-title-block {
  display: inline-block;
  width: max-content;
  max-width: 100%;
  margin: 0 0 14px;
}

.model-family-page h1 {
  margin-bottom: 10px;
}

.model-family-under-title {
  contain: inline-size;
  display: flex;
  flex-wrap: wrap;
  gap: 0.1em 2em;
  align-items: baseline;
  justify-content: space-between;
  min-width: 0;
  width: 100%;
}

.model-family-links {
  display: grid;
  justify-items: start;
  gap: 0.28em;
  text-align: left;
  white-space: nowrap;
}

.model-family-links a,
.model-family-links a:hover,
.model-family-links a:focus-visible,
.model-family-table-links a,
.model-family-table-links a:hover,
.model-family-table-links a:focus-visible {
  text-decoration: none;
}

.model-family-conjugation-link {
  margin: 0;
}

.model-family-table-links {
  width: fit-content;
/*  margin: calc(8px + 0.5em) auto 0;*/
margin: 12px;
  text-align: left;
}

.rae-model-link {
  display: inline-flex;
  gap: 0.28em;
  align-items: baseline;
  white-space: nowrap;
}

.rae-favicon {
  width: 0.95em;
  height: 0.95em;
  object-fit: contain;
  transform: translateY(0.1em);
}

.model-family-formula {
  display: flex;
  flex-wrap: wrap;
  flex: 1 1 auto;
  gap: 0.1em 0.5em;
  align-items: baseline;
  min-width: 0;
  margin: 0;
}

.model-family-formula .formula-pills {
  display: contents;
}

.model-family-commentary {
  margin: 0 0 12px;
}

.model-family-commentary > :first-child {
  margin-top: 0;
}

.model-family-commentary > :last-child {
  margin-bottom: 0;
}

.model-family-count {
  margin: 10px 0 0;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.25;
}

.model-family-table-frame {
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 10px auto 0;
  overflow-x: auto;
}

.model-family-table-frame-compact {
  width: fit-content;
}

.model-family-table-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, var(--model-family-item-min)), 1fr));
  gap: 10px 18px;
  align-items: start;
}

.model-family-table {
  border-collapse: collapse;
  color: #222222;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  line-height: 1;
  min-width: max-content;
  white-space: nowrap;
}

.model-family-table-card {
  width: 100%;
}

.model-family-table-frame-compact .model-family-table-card {
  width: max-content;
}

.model-family-table th,
.model-family-table td {
  padding: 0 8px;
  border: 0;
  vertical-align: middle;
}

.model-family-table th {
  height: 20px;
  background: #e0e0e0;
  font-size: 11px;
  font-weight: 700;
  text-align: center;
}

.model-family-table td {
  height: 20px;
}

.model-family-table th:first-child {
  background: transparent;
}

.model-family-table th.stem-ar {
  background: var(--stem-ar);
}

.model-family-table th.stem-er {
  background: var(--stem-er);
}

.model-family-table th.stem-ir {
  background: var(--stem-ir);
}

.model-family-table th.stem-boot {
  background: var(--stem-boot);
}

.model-family-table th.stem-gerund {
  background: var(--stem-gerund);
}

.model-family-table th.stem-l {
  background: var(--stem-l);
}

.model-family-table th.stem-preteritei {
  background: var(--stem-preteritei);
}

.model-family-table th.stem-preteritej {
  background: var(--stem-preteritej);
}

.model-family-table th.stem-future {
  background: var(--stem-future);
}

.model-family-table th.stem-imperfect {
  background: var(--stem-imperfect);
}

.model-family-table td:first-child {
  text-align: right;
}

.model-family-cell-text {
  text-align: center;
}

.model-family-cell-stem {
  display: grid;
  grid-template-columns: minmax(0, 1fr) max-content;
  align-items: baseline;
  width: 100%;
  color: var(--ink);
  white-space: nowrap;
}

.model-family-table td:first-child .model-family-cell-stem {
  grid-template-columns: minmax(0, 1fr) max-content 1.25em;
}

.model-family-row-link {
  display: block;
  width: 100%;
  color: inherit;
  text-decoration: none;
}

.model-family-cell-stem .book-stem {
  justify-self: end;
}

.model-family-row-link:hover .book-stem,
.model-family-row-link:focus-visible .book-stem {
  color: var(--accent);
}

.verbs-model-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 18px auto 0;
}

.verbs-model-card {
  display: grid;
  grid-template-columns: minmax(5.8rem, 0.3fr) minmax(0, 1fr);
  gap: 8px 14px;
  align-items: baseline;
  min-width: 0;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--panel);
}

.verbs-model-card-label {
  display: grid;
  gap: 0.22em;
  justify-items: start;
  align-self: start;
  min-width: 0;
  text-align: left;
}

.verbs-model-card-count {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 650;
  line-height: 1.25;
  text-decoration: none;
}

.verbs-model-card-formula {
  min-width: 0;
  text-align: left;
}

.verbs-model-card-formula .formula-pills {
  min-width: 0;
  font-size: 0.98rem;
}

.verbs-infinitive-link,
.verbs-model-name-link {
  color: var(--accent);
  text-decoration: none;
}

.verbs-infinitive-link:hover,
.verbs-infinitive-link:focus-visible,
.verbs-model-card-count:hover,
.verbs-model-card-count:focus-visible,
.verbs-model-name-link:hover,
.verbs-model-name-link:focus-visible {
  text-decoration: underline;
}

.model-family-link {
  font-weight: 720;
  text-decoration: none;
}

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

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

.conjugation-model-card {
  margin: 18px 0 20px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: color-mix(in srgb, var(--paper) 82%, white);
}

.conjugation-model-card h2 {
  margin: 0 0 10px;
  font-size: 1rem;
  line-height: 1.25;
}

.conjugation-model-heading {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25em 6em;
  align-items: baseline;
}

.conjugation-model-heading-link {
  color: inherit;
  text-decoration: none;
}

.conjugation-model-heading-link:hover,
.conjugation-model-heading-link:focus-visible {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.16em;
}

.conjugation-model-details {
  display: grid;
  gap: 8px;
  margin: 0 0 10px;
}

.conjugation-model-details div {
  display: grid;
  grid-template-columns: minmax(9rem, max-content) minmax(0, 1fr);
  gap: 10px 14px;
}

.conjugation-model-details dt {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 650;
}

.conjugation-model-details dd {
  margin: 0;
}

.conjugation-model-card p,
.family-preview-list {
  margin: 0;
}

.verb-commentary {
  margin: 18px 0 20px;
}

.verb-commentary > :first-child {
  margin-top: 0;
}

.verb-commentary > :last-child {
  margin-bottom: 0;
}

.this-verb-marker,
.family-preview-more {
  color: var(--muted);
}

.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: 1100px) {
  .home-learning-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  :root {
    --anchor-scroll-offset: calc(var(--site-header-visible-height, 80px) + 16px);
  }

  .site-header {
    position: sticky;
    top: 0;
  }

  .site-header-hideable {
    grid-template-columns: minmax(0, max-content) minmax(92px, 1fr);
    gap: 8px;
    padding: 10px 16px 9px;
  }

  .site-header-hideable.no-header-search {
    grid-template-columns: minmax(0, 1fr);
  }

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

  .site-header-persistent .mobile-nav-toggle {
    grid-column: 2;
    grid-row: 1;
  }

  .site-header-persistent .header-breadcrumbs {
    grid-column: 1;
    grid-row: 1;
  }

  .site-header-persistent.has-header-nav {
    grid-template-columns: minmax(36px, 1fr) minmax(0, max-content) minmax(36px, 1fr);
  }

  .site-header-persistent.has-header-nav .header-breadcrumbs {
    grid-column: 2;
  }

  .site-header-persistent.has-header-nav .mobile-nav-toggle {
    grid-column: 3;
  }

  .site-header-nav-list {
    gap: 0.34rem;
    font-size: 0.9rem;
  }

  .site-header-nav-list li + li::before {
    margin-right: 0.34rem;
  }

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

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

  .header-subtitle {
    font-size: 0.66em;
  }

  .header-book-link {
    display: none;
  }

  .search-input {
    height: 32px;
    padding: 0 8px;
    font-size: 0.9rem;
  }

  .formula-info-tooltip {
    position: fixed;
    left: 16px;
    right: 16px;
    top: calc(var(--site-header-visible-height, 0px) + 12px);
    width: auto;
    max-width: none;
    transform: translateY(2px);
  }

  .formula-info-link:hover .formula-info-tooltip,
  .formula-info-link:focus .formula-info-tooltip,
  .formula-info-link:focus-visible .formula-info-tooltip {
    transform: translateY(0);
  }

  .mobile-nav-toggle {
    display: grid;
  }

  .verb-sticky-detail {
    position: sticky;
    top: calc(var(--site-header-visible-height, 0px) - 1px);
  }

  .site-sidebar {
    display: none;
  }

  .site-sidebar[data-mobile-nav-open] {
    display: block;
    position: fixed;
    top: calc(var(--site-header-visible-height, 0px) + 8px);
    right: 16px;
    z-index: 30;
    width: min(280px, calc(100vw - 32px));
    max-height: calc(100vh - var(--site-header-visible-height, 0px) - 24px);
    overflow: auto;
    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-sidebar[data-mobile-nav-open] .site-section-nav {
    padding: 0;
    border: 0;
  }

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

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

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

  .book-page {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .book-page-purchase {
    position: static;
    padding-top: 0;
    justify-items: start;
  }

  .book-cover-thumbnail {
    width: min(300px, 100%);
  }

  .book-comparison-grid {
    grid-template-columns: 1fr;
  }

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

  .home-landing {
    gap: 38px;
  }

  .home-hero,
  .home-stem-types,
  .home-demo,
  .home-family,
  .home-paths,
  .home-learning-steps,
  .formula-demo-stems {
    grid-template-columns: 1fr;
  }

  .formula-demo-stem {
    grid-template-rows: auto auto auto auto;
  }

  .home-section-heading {
    display: grid;
    gap: 8px;
  }

  .home-common-verb-formulas,
  .verbs-model-card-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .home-common-verb-formula {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }

  .home-hero {
    min-height: auto;
    padding-top: 20px;
  }

  .home-hero-copy h1 {
    font-size: 2.65rem;
  }

  .home-stem-types-copy h2 {
    max-width: 100%;
    font-size: 1.65rem;
  }

  .home-family-formula-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .home-family-formula-row .formula-pills {
    display: inline-flex;
    flex-wrap: wrap;
    width: auto;
  }

  .verbs-page {
    width: min(920px, calc(100vw - 32px));
  }

  .verbs-search-panel .search-shell {
    max-width: none;
  }

}

@media (max-width: 640px) {
  .home-stem-types-preview {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

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

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

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

  body:has(.content-page-method-model-verbs) .site-sidebar[data-mobile-nav-open],
  body:has(.content-page-learn-model-verbs) .site-sidebar[data-mobile-nav-open] {
    display: block;
    position: fixed;
    top: calc(var(--site-header-visible-height, 0px) + 8px);
    right: 16px;
    z-index: 30;
    width: min(280px, calc(100vw - 32px));
    max-height: calc(100vh - var(--site-header-visible-height, 0px) - 24px);
    overflow: auto;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--panel);
    box-shadow: 0 18px 48px rgba(32, 33, 36, 0.16);
  }

  body:has(.content-page-method-model-verbs) .site-sidebar[data-mobile-nav-open] .site-section-nav,
  body:has(.content-page-learn-model-verbs) .site-sidebar[data-mobile-nav-open] .site-section-nav {
    padding: 0;
    border: 0;
  }

}
