:root {
  --paper:#f7f5ed;
  --ink:#263f37;
  --muted:#68746b;
  --line:#d9ddd1;
  --accent:#ad5137;
  --serif:Georgia,'Times New Roman',serif;
  --reader-size:22px
}
* {
  box-sizing:border-box
}
html {
  scroll-behavior:smooth;
  scroll-padding-top:28px
}
body {
  margin:0;
  background:var(--paper);
  color:var(--ink);
  font-family:Arial,Helvetica,sans-serif;
  -webkit-font-smoothing:antialiased
}
a {
  color:inherit
}
button,input {
  font:inherit
}
button,a,input {
  touch-action:manipulation
}
button {
  cursor:pointer
}
a {
  text-decoration:none
}
a:focus-visible,button:focus-visible,input:focus-visible {
  outline:3px solid var(--accent);
  outline-offset:5px
}
button:disabled {
  opacity:.3;
  cursor:default
}
.skip {
  position:fixed;
  top:-100px;
  left:10px;
  background:var(--ink);
  color:white;
  padding:15px;
  z-index:10
}
.skip:focus {
  top:10px
}
.site-header {
  position:relative;
  max-width:1320px;
  margin:auto;
  padding:28px 48px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  border-bottom:1px solid var(--line)
}
.brand {
  font-family:var(--serif);
  font-size:35px;
  letter-spacing:-1.8px;
  font-weight:bold
}
.brand span {
  color:var(--accent)
}
nav {
  display:flex;
  gap:6px;
  font-size:13px
}
.site-header nav a {
  display:flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  min-height:44px;
  padding:10px 14px;
  border:1px solid transparent;
  border-radius:8px;
  text-align:center;
  line-height:1.4;
  white-space:nowrap;
  transition:background .15s,border-color .15s,color .15s;
}
.site-header nav a:hover {
  background:#edf0e5;
  border-color:#d2dac8;
}
.site-header nav a[aria-current=page] {
  background:transparent;
  border-color:var(--accent);
  color:var(--ink);
}
.navigation-toggle {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  min-height:44px;
  padding:10px 14px;
  border:1px solid #c7d2bc;
  border-radius:7px;
  color:var(--ink);
  background:transparent;
  font-size:12px;
}
.navigation-toggle:hover,.navigation-toggle[aria-expanded=true] { background:#edf0e5; }
.menu-icon { display:flex; flex-direction:column; gap:4px; width:19px; }
.menu-icon span { display:block; height:1.5px; width:100%; background:currentColor; border-radius:1px; }
nav a:hover,.text-link:hover {
  color:var(--accent)
}
.header-note {
  font-size:9px;
  letter-spacing:1.7px;
  color:var(--muted)
}
main {
  max-width:1224px;
  margin:auto
}
.hero {
  display:grid;
  grid-template-columns:1.3fr 1fr;
  gap:60px;
  padding:76px 28px 80px;
  align-items:center
}
.eyebrow {
  font-size:10px;
  letter-spacing:1.9px;
  font-weight:600;
  margin:0 0 23px
}
.eyebrow>span {
  display:inline-block;
  width:6px;
  height:6px;
  border-radius:50%;
  background:var(--accent);
  margin:0 7px 1px 0
}
h1,h2,h3,p {
  margin-top:0
}
h1 {
  font-family:var(--serif);
  font-size:clamp(44px,5.2vw,68px);
  line-height:1.06;
  font-weight:400;
  letter-spacing:-2.8px;
  margin-bottom:24px
}
h1 em {
  color:var(--accent);
  font-weight:400
}
.intro {
  font-size:15px;
  line-height:1.8;
  color:var(--muted);
  max-width:360px;
  margin-bottom:26px
}
.primary {
  display:inline-flex;
  align-items:center;
  justify-content:space-between;
  gap:28px;
  background:var(--ink);
  color:white;
  border-radius:5px;
  padding:16px 21px;
  font-size:13px
}
.primary:hover {
  background:#3b584b
}
.hero-foot {
  display:flex;
  gap:13px;
  align-items:center;
  margin-top:30px;
  font-size:8px;
  letter-spacing:1.1px;
  color:var(--muted)
}
.hero-foot i {
  height:3px;
  width:3px;
  background:var(--muted);
  border-radius:50%
}
.sample {
  position:relative;
  transform:rotate(2deg);
  border:1px solid #d4d6c7;
  background:#e9eadc;
  padding:26px 32px;
  max-width:430px;
  box-shadow:8px 10px 0 #efede3;
  min-height:335px
}
.sample-top {
  display:flex;
  justify-content:space-between;
  letter-spacing:1.7px;
  font-size:8px
}
.sample-symbol {
  font-family:var(--serif);
  font-style:italic;
  font-size:115px;
  line-height:1.1;
  text-align:center;
  color:var(--accent);
  margin:8px 0 0
}
.sample-line {
  display:flex;
  justify-content:center;
  gap:21px
}
.sample-line span {
  display:flex;
  flex-direction:column;
  gap:7px
}
.sample-line b {
  font-family:var(--serif);
  font-size:28px;
  font-weight:400
}
.sample-line small {
  font-size:11px;
  color:var(--muted)
}
.sample-bottom {
  display:flex;
  justify-content:space-between;
  align-items:center;
  border-top:1px solid #ced1c0;
  margin-top:26px;
  padding-top:18px;
  font-size:10px;
  line-height:1.6;
  color:var(--muted)
}
.paper-stamp {
  position:absolute;
  right:-19px;
  top:68px;
  background:var(--accent);
  color:#fff7e7;
  padding:12px 14px;
  line-height:1.2;
  font-size:14px;
  letter-spacing:2px;
  transform:rotate(-8deg)
}
.paper-stamp span {
  font-size:10px;
  border-top:1px solid #e2a58e;
  padding-top:3px
}
.collection {
  padding:0 28px 66px
}
.section-heading {
  display:flex;
  justify-content:space-between;
  align-items:end;
  margin-bottom:25px
}
.section-heading .eyebrow {
  margin-bottom:12px
}
h2 {
  font-family:var(--serif);
  font-size:31px;
  font-weight:400;
  letter-spacing:-.7px;
  margin-bottom:0
}
.collection-count {
  font-size:12px;
  color:var(--muted);
  padding-bottom:4px
}
.story-cards {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:20px
}
.story-card {
  border:1px solid var(--line);
  border-radius:7px;
  background:#fbfaf5;
  overflow:hidden;
  display:grid;
  grid-template-columns:138px 1fr;
  position:relative
}
.card-art {
  display:flex;
  justify-content:center;
  align-items:center;
  background:#e6e9de;
  position:relative;
  overflow:hidden
}
.card-art svg {
  width:90px;
  height:130px
}
.story-card:nth-child(2) .card-art {
  background:#f0e2d4
}
.card-body {
  padding:24px
}
.card-meta {
  display:flex;
  gap:10px;
  align-items:center;
  margin-bottom:14px;
  font-size:10px;
  color:var(--muted)
}
.level {
  font-size:10px;
  letter-spacing:.5px;
  border:1px solid #b8c4b5;
  padding:4px 7px;
  border-radius:3px;
  color:var(--ink);
  display:inline-block
}
.card-body h3 {
  font-family:var(--serif);
  font-size:23px;
  font-weight:400;
  letter-spacing:-.5px;
  margin-bottom:10px
}
.card-body>p {
  font-size:12px;
  line-height:1.6;
  color:var(--muted);
  min-height:39px;
  margin-bottom:20px
}
.card-actions {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px
}
.read-button {
  border:0;
  padding:0;
  background:transparent;
  font-size:12px;
  color:var(--ink);
  font-weight:600;
  min-height:32px
}
.read-button:hover {
  color:var(--accent)
}
.read-button span {
  margin-left:10px
}
.download {
  display:inline-flex;
  gap:7px;
  align-items:center;
  font-size:11px;
  color:var(--muted);
  min-height:32px
}
.download:hover {
  color:var(--accent)
}
.download svg {
  width:14px;
  height:14px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.5
}
.story-card.active {
  border-color:#899d85
}
.story-card.active:after {
  content:'';
  position:absolute;
  left:0;
  top:0;
  bottom:0;
  width:3px;
  background:var(--ink)
}
.reader-section {
  display:grid;
  grid-template-columns:240px minmax(0,1fr);
  gap:45px;
  padding:45px 28px 80px;
  border-top:1px solid var(--line);
  align-items:start
}
.reading-sidebar {
  padding-top:14px
}
.reading-sidebar h2 {
  font-size:37px;
  line-height:1.16;
  margin-bottom:21px
}
.reading-sidebar>p:not(.eyebrow) {
  font-size:13px;
  line-height:1.8;
  color:var(--muted);
  max-width:210px
}
.alignment-key {
  display:flex;
  flex-direction:column;
  border-left:2px solid var(--accent);
  padding-left:14px;
  gap:7px;
  margin:25px 0
}
.legend-es {
  font-family:var(--serif);
  font-size:21px
}
.legend-en {
  font-size:12px;
  color:var(--muted)
}
.reading-sidebar .side-note {
  font-size:11px!important
}
.text-link {
  font-size:11px;
  display:inline-block;
  margin-top:7px
}
.reader-shell {
  background:#fffef9;
  border:1px solid #d9ddd1;
  border-radius:7px;
  padding:35px 38px 25px;
  box-shadow:0 4px 15px #263f3703;
  min-width:0
}
.reader-top {
  display:flex;
  align-items:center;
  gap:12px;
  margin-bottom:16px
}
.reader-top>span:last-child {
  font-size:10px;
  color:var(--muted)
}
.reader-shell>h2 {
  font-size:38px;
  line-height:1.15;
  margin-bottom:10px
}
.reader-subtitle {
  font-size:12px;
  color:var(--muted);
  margin-bottom:27px
}
.reader-tools {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:15px;
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
  padding:12px 0;
  margin-bottom:32px
}
.switch-label {
  display:inline-flex;
  align-items:center;
  gap:9px;
  font-size:11px;
  cursor:pointer;
  position:relative
}
.switch-label input {
  position:absolute;
  width:32px;
  height:19px;
  opacity:0;
  margin:0
}
.switch {
  width:30px;
  height:17px;
  background:#b6beb2;
  border-radius:15px;
  position:relative;
  transition:background .2s
}
.switch:after {
  content:'';
  position:absolute;
  width:11px;
  height:11px;
  border-radius:50%;
  background:white;
  top:3px;
  left:3px;
  transition:transform .2s
}
.switch-label input:checked+.switch {
  background:var(--ink)
}
.switch-label input:checked+.switch:after {
  transform:translateX(13px)
}
.switch-label input:focus-visible+.switch {
  outline:2px solid var(--accent);
  outline-offset:3px
}
.tools-right {
  display:flex;
  align-items:center;
  gap:15px
}
.size-control {
  display:flex;
  border-right:1px solid var(--line);
  padding-right:12px;
  gap:4px
}
.size-control button {
  padding:5px;
  background:transparent;
  border:0;
  color:var(--ink);
  font-size:12px;
  min-height:30px;
  min-width:28px
}
.story-text {
  font-size:var(--reader-size)
}
.story-paragraph {
  display:flex;
  gap:12px;
  margin-bottom:25px
}
.paragraph-number {
  width:17px;
  flex-shrink:0;
  font-size:9px;
  color:#9aa094;
  padding-top:7px
}
.word-flow {
  display:flex;
  flex-wrap:wrap;
  gap:16px 11px;
  min-width:0
}
.word-pair {
  display:inline-flex;
  flex-direction:column;
  align-items:flex-start;
  gap:6px;
  max-width:100%
}
.spanish {
  font-family:var(--serif);
  line-height:1.2
}
.english {
  font-size:.52em;
  line-height:1.3;
  color:#6b786e;
  white-space:nowrap
}
.hide-decoding .english {
  visibility:hidden
}
.reader-end {
  text-align:center;
  border-top:1px solid var(--line);
  margin-top:34px;
  padding:27px 0 20px
}
.end-flower {
  display:block;
  color:var(--accent);
  font-size:25px;
  margin-bottom:13px
}
.reader-end p {
  font-family:var(--serif);
  font-size:21px;
  margin-bottom:7px
}
.reader-end>span:not(.end-flower) {
  font-size:10px;
  color:var(--muted);
  display:block
}
.outline {
  background:transparent;
  border:1px solid var(--line);
  color:var(--ink);
  border-radius:4px;
  padding:12px 15px;
  font-size:11px;
  margin-top:20px
}
.outline:hover {
  border-color:var(--ink)
}
.outline span {
  margin-left:20px
}
.reading-legend {
  font-size:9px;
  line-height:1.7;
  color:var(--muted);
  border-top:1px solid var(--line);
  padding-top:18px;
  margin-bottom:0
}
.practice {
  background:#e9ecdf;
  border-radius:8px;
  margin:0 28px 65px;
  padding:38px;
  display:grid;
  grid-template-columns:1fr 1.3fr;
  gap:65px
}
.practice-heading .eyebrow {
  font-size:9px;
  margin-bottom:14px
}
.practice h2 {
  font-size:32px;
  margin-bottom:15px
}
.practice-heading>p:last-child {
  font-size:12px;
  color:var(--muted);
  line-height:1.8;
  max-width:310px;
  margin-bottom:0
}
.practice-steps {
  display:grid;
  gap:22px
}
.practice-steps article {
  position:relative;
  padding-left:35px
}
.practice-steps article>span {
  position:absolute;
  left:0;
  font-size:10px;
  color:var(--accent);
  top:4px
}
.practice-steps h3 {
  font-size:13px;
  margin-bottom:7px;
  font-weight:500
}
.practice-steps p {
  font-size:11px;
  color:var(--muted);
  line-height:1.7;
  margin-bottom:0
}
footer {
  max-width:1224px;
  margin:auto;
  border-top:1px solid var(--line);
  padding:25px 28px 35px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:20px
}
footer .brand {
  font-size:26px
}
footer p {
  font-size:11px;
  color:var(--muted);
  margin:0
}
footer>span {
  font-size:8px;
  letter-spacing:1px;
  color:var(--muted)
}
.noscript {
  text-align:center;
  padding:20px
}
.noscript a {
  text-decoration:underline
}
@media(min-width:1300px) {
  .hero {
    gap:100px
  }
}
@media(max-width:1000px) {
  .header-note {
    display:none
  }
  .hero {
    gap:35px
  }
  .sample {
    padding:24px;
    min-height:315px
  }
  .sample-line {
    gap:13px
  }
  .sample-line b {
    font-size:25px
  }
  .story-card {
    grid-template-columns:90px 1fr
  }
  .card-art svg {
    width:70px
  }
  .card-body {
    padding:20px
  }
  .card-actions {
    flex-wrap:wrap;
    gap:4px
  }
  .reader-section {
    grid-template-columns:190px minmax(0,1fr);
    gap:26px
  }
  .reader-shell {
    padding:29px 25px 22px
  }
  .practice {
    gap:30px
  }
}
@media(max-width:720px) {
  .site-header {
    padding:20px 22px
  }
  .brand {
    font-size:31px
  }
  nav {
    font-size:11px;
    gap:20px
  }
  .hero {
    padding:45px 23px 48px;
    grid-template-columns:1fr;
    gap:40px
  }
  .hero-copy {
    max-width:500px
  }
  h1 {
    font-size:52px;
    letter-spacing:-2px
  }
  .intro {
    max-width:330px;
    font-size:14px
  }
  .sample {
    width:90%;
    max-width:370px;
    margin:auto;
    min-height:300px
  }
  .sample-symbol {
    font-size:100px
  }
  .collection {
    padding:0 22px 38px
  }
  .section-heading h2 {
    font-size:27px;
    max-width:260px
  }
  .collection-count {
    font-size:10px
  }
  .story-cards {
    grid-template-columns:1fr;
    gap:14px
  }
  .story-card {
    grid-template-columns:100px 1fr
  }
  .card-body>p {
    min-height:0
  }
  .card-body h3 {
    font-size:23px
  }
  .card-actions {
    flex-wrap:nowrap
  }
  .reader-section {
    padding:30px 18px 40px;
    grid-template-columns:1fr;
    gap:22px
  }
  .reading-sidebar {
    padding:0 4px
  }
  .reading-sidebar h2,.reading-sidebar .alignment-key,.reading-sidebar .side-note,.reading-sidebar .text-link {
    display:none
  }
  .reading-sidebar .eyebrow {
    margin-bottom:10px
  }
  .reading-sidebar>p:not(.eyebrow) {
    max-width:none;
    margin:0;
    font-size:12px
  }
  .reader-shell {
    padding:26px 18px 20px
  }
  .reader-shell>h2 {
    font-size:32px
  }
  .reader-tools {
    gap:6px
  }
  .switch-label {
    font-size:10px;
    gap:6px
  }
  .tools-right {
    gap:10px
  }
  .size-control {
    padding-right:7px
  }
  .word-flow {
    column-gap:10px
  }
  .story-paragraph {
    gap:8px
  }
  .practice {
    margin:0 18px 35px;
    padding:27px 24px;
    grid-template-columns:1fr;
    gap:28px
  }
  .practice-heading>p:last-child {
    max-width:none
  }
  .practice h2 {
    font-size:29px
  }
  footer {
    margin:0 18px;
    padding:20px 5px 25px;
    flex-wrap:wrap
  }
  footer>span {
    width:100%;
    font-size:7px
  }
  .hero-foot {
    font-size:7px;
    gap:10px
  }
}
@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior:auto
  }
  *,*:before,*:after {
    transition:none!important
  }
}
/* Word notes: every word retains its original aligned decoding. */
.word-button {
  display:block;
  background:transparent;
  color:inherit;
  border:0;
  border-bottom:1px dotted #abb6a6;
  border-radius:2px;
  padding:0 0 2px;
  margin:0;
  font-size:inherit;
  text-align:left;
  cursor:pointer
}
.word-button:hover,.word-button.selected-word {
  color:var(--accent);
  background:#f1e9db;
  border-bottom-color:var(--accent)
}
.dictionary-hint {
  font-size:10px;
  line-height:1.7;
  color:var(--muted);
  margin:-14px 0 26px
}
.dictionary-hint>span:first-child {
  color:var(--accent);
  padding-right:4px
}
#dictionary-status {
  font-size:9px
}
#word-dialog {
  position:fixed;
  inset:auto;
  margin:0;
  width:410px;
  max-width:calc(100vw - 32px);
  max-height:calc(100dvh - 32px);
  padding:0;
  border:1px solid #c5ccbf;
  border-radius:10px;
  background:#fffef9;
  color:var(--ink);
  box-shadow:0 14px 55px #22352b30;
  z-index:100;
  overflow-y:auto;
  overscroll-behavior:contain
}
.dictionary-top {
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:15px 20px 9px;
  background:#fffef9;
  position:sticky;
  top:0;
  z-index:1;
  border-bottom:1px solid #efeee6
}
.dictionary-top .eyebrow {
  margin:0;
  font-size:8px;
  letter-spacing:1.5px
}
#dictionary-close {
  width:34px;
  height:34px;
  border:1px solid var(--line);
  background:transparent;
  border-radius:50%;
  font-size:24px;
  color:var(--ink);
  line-height:1
}
#dictionary-close:hover {
  background:#e9ecdf
}
#dictionary-body {
  padding:17px 23px 24px
}
.dictionary-title {
  font-size:34px;
  margin:0 0 7px;
  overflow-wrap:anywhere
}
.dictionary-lemma {
  font-size:10px;
  line-height:1.6;
  color:var(--muted);
  margin-bottom:17px
}
.context-meaning {
  background:#edf0e5;
  padding:13px 14px;
  border-radius:4px;
  display:flex;
  flex-direction:column;
  gap:6px;
  margin-bottom:20px
}
.context-meaning span {
  font-size:8px;
  letter-spacing:1px;
  color:var(--muted)
}
.context-meaning strong {
  font-family:var(--serif);
  font-size:22px;
  font-weight:400
}
.dictionary-section {
  margin:0 0 18px
}
.dictionary-section h3 {
  font-size:9px;
  letter-spacing:.6px;
  margin:0 0 8px;
  text-transform:uppercase;
  color:var(--accent)
}
.definition-es,.definition-en {
  font-size:12px;
  line-height:1.65;
  margin:0 0 7px
}
.definition-es {
  color:var(--ink)
}
.definition-en {
  color:var(--muted)
}
.dictionary-example {
  border-top:1px solid var(--line);
  padding-top:13px
}
.dictionary-example summary {
  font-size:10px;
  cursor:pointer;
  margin-bottom:10px;
  min-height:25px
}
.dictionary-example p {
  font-size:11px
}
.dictionary-loading {
  font-size:12px;
  color:var(--muted);
  padding:12px 0
}
.dictionary-example summary:focus-visible {
  outline:2px solid var(--accent);
  outline-offset:3px
}
@media(max-width:720px) {
  #word-dialog {
    left:0;
    right:0;
    top:auto;
    bottom:0;
    width:100%;
    max-width:100%;
    max-height:68dvh;
    border-radius:16px 16px 0 0;
    border-bottom:0;
    padding-bottom:env(safe-area-inset-bottom);
    box-shadow:0 -10px 40px #22352b28
  }
  .dictionary-top {
    padding:12px 22px 8px
  }
  .dictionary-top:before {
    content:'';
    position:absolute;
    width:32px;
    height:3px;
    border-radius:2px;
    background:#c4cbbb;
    top:5px;
    left:calc(50% - 16px)
  }
  #dictionary-body {
    padding:15px 24px 24px
  }
  .dictionary-title {
    font-size:31px
  }
  .dictionary-hint {
    font-size:9px
  }
  .definition-es,.definition-en {
    font-size:13px
  }
}
/* A single interactive unit keeps the Spanish word and decoding connected. */
.word-pair.word-button {
  display:inline-flex;
  flex-direction:column;
  align-items:flex-start;
  gap:6px;
  background:transparent;
  border:0;
  padding:3px 2px;
  margin:-3px -2px;
  font-family:inherit;
  font-size:inherit;
  color:var(--ink);
  border-radius:4px;
  text-align:left
}
.word-pair.word-button .spanish {
  border-bottom:1px dotted #abb6a6;
  padding-bottom:2px
}
.word-pair.word-button .english {
  font-size:.60em;
  color:#617063
}
.word-pair.word-button:hover,.word-pair.word-button:focus-visible,.word-pair.word-button.selected-word {
  background:#f0e5d5;
  color:var(--accent)
}
.word-pair.word-button:hover .english,.word-pair.word-button:focus-visible .english,.word-pair.word-button.selected-word .english {
  color:#934129
}
.word-pair.word-button:hover .spanish,.word-pair.word-button.selected-word .spanish {
  border-bottom-color:var(--accent)
}
.story-cards {
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:15px
}
.story-card {
  grid-template-columns:65px minmax(0,1fr)
}
.card-art svg {
  width:55px;
  height:100px
}
.card-body {
  padding:17px 16px 13px
}
.card-meta {
  font-size:9px;
  gap:8px;
  margin-bottom:10px
}
.card-body h3 {
  font-size:20px;
  line-height:1.15;
  margin-bottom:8px
}
.card-title-button {
  background:transparent;
  border:0;
  padding:0;
  margin:0;
  font:inherit;
  color:inherit;
  text-align:left;
  letter-spacing:inherit;
  cursor:pointer
}
.card-title-button:hover {
  color:var(--accent);
  text-decoration:underline;
  text-underline-offset:4px
}
.card-body>p {
  font-size:11px;
  line-height:1.55;
  min-height:34px;
  margin-bottom:10px
}
.card-actions {
  justify-content:flex-start
}
.read-button {
  font-size:11px;
  min-height:27px
}
.story-card:nth-child(3) .card-art {
  background:#eee5ce
}
.story-card:nth-child(4) .card-art {
  background:#e1e5eb
}
.story-card:nth-child(5) .card-art {
  background:#dde6d5
}
.dictionary-alternatives {
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
  padding:13px 0;
  margin:2px 0 18px
}
.dictionary-alternatives summary {
  font-size:11px;
  line-height:1.6;
  cursor:pointer;
  color:var(--accent)
}
.dictionary-alternatives[open] summary {
  margin-bottom:15px
}
.dictionary-alternatives .dictionary-section {
  padding-left:11px;
  border-left:2px solid #dce1d1
}
.dictionary-alternatives .dictionary-section:last-child {
  margin-bottom:0
}
.alternative-example {
  font-family:var(--serif);
  font-size:14px;
  line-height:1.5;
  margin:10px 0 4px
}
.alternative-translation {
  font-size:11px;
  line-height:1.6;
  color:var(--muted);
  margin:0
}
.dictionary-alternatives>p {
  margin-top:10px
}
.dictionary-alternatives summary:focus-visible {
  outline:2px solid var(--accent);
  outline-offset:3px
}
@media(max-width:1000px) {
  .story-cards {
    grid-template-columns:repeat(2,minmax(0,1fr))
  }
  .story-card {
    grid-template-columns:64px minmax(0,1fr)
  }
}
@media(max-width:520px) {
  .story-cards {
    grid-template-columns:1fr;
    gap:11px
  }
  .story-card {
    grid-template-columns:62px minmax(0,1fr)
  }
  .card-body {
    padding:14px 16px 10px
  }
  .card-meta {
    margin-bottom:7px
  }
  .card-body h3 {
    font-size:21px
  }
  .card-body>p {
    min-height:0;
    margin-bottom:6px
  }
  .card-art svg {
    height:91px
  }
  .section-heading h2 {
    font-size:27px
  }
}
/* The audio player is only mounted for a story with a supplied recording. */
[hidden] {
  display:none!important
}
.sr-only {
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
  border:0
}
.audio-player {
  border:1px solid #ccd5c1;
  background:#f0f2e7;
  border-radius:7px;
  padding:20px 20px 13px;
  margin:0 0 31px
}
.audio-heading {
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:17px
}
.audio-heading .eyebrow {
  font-size:8px;
  letter-spacing:1.5px;
  display:block;
  margin:0 0 6px;
  color:#6a795d
}
.audio-heading p {
  font-family:var(--serif);
  font-size:20px;
  margin:0
}
.audio-language {
  font-size:10px;
  letter-spacing:1px;
  border:1px solid #c6d0ba;
  padding:5px 6px;
  border-radius:3px;
  color:#65755d
}
.audio-main-controls {
  display:flex;
  align-items:center;
  gap:12px
}
.audio-play {
  width:42px;
  height:42px;
  flex-shrink:0;
  display:grid;
  place-items:center;
  border:0;
  border-radius:50%;
  background:var(--ink);
  color:#fffef5
}
.audio-play:hover {
  background:#3e5b47
}
.audio-play svg {
  height:20px;
  width:20px;
  fill:currentColor
}
.audio-skip {
  height:40px;
  width:31px;
  flex-shrink:0;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:0;
  background:transparent;
  border:0;
  color:var(--ink);
  padding:0
}
.audio-skip svg {
  width:22px;
  height:22px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.5;
  stroke-linecap:round;
  stroke-linejoin:round
}
.audio-skip span {
  font-size:9px;
  line-height:1.1
}
.audio-skip:hover {
  color:var(--accent)
}
.audio-timeline {
  flex:1;
  min-width:45px;
  margin-left:4px
}
#audio-seek {
  width:100%;
  display:block;
  height:20px;
  margin:0;
  accent-color:var(--ink);
  cursor:pointer
}
.audio-times {
  display:flex;
  justify-content:space-between;
  font-size:9px;
  color:var(--muted);
  font-variant-numeric:tabular-nums
}
.audio-settings {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  border-top:1px solid #d6ddcb;
  margin-top:16px;
  padding-top:12px
}
.audio-speed-label {
  font-size:10px;
  color:var(--muted);
  display:flex;
  align-items:center;
  gap:7px
}
.audio-speed-label select {
  border:1px solid #c4cebb;
  border-radius:4px;
  background:#fffef9;
  color:var(--ink);
  font:inherit;
  padding:5px 6px;
  min-height:30px;
  cursor:pointer
}
.audio-settings .switch-label {
  font-size:10px
}
.audio-status {
  font-size:9px;
  line-height:1.5;
  color:var(--muted);
  margin:10px 0 0;
  min-height:14px
}
.audio-speed-label select:focus-visible {
  outline:2px solid var(--accent);
  outline-offset:3px
}
.story-text {
  position:relative
}
.story-paragraph {
  position:relative;
  z-index:1
}
.audio-line-marker {
  position:absolute;
  border-radius:5px;
  background:#e9efd9;
  border-left:3px solid #849b69;
  pointer-events:none;
  z-index:0;
  transition:top .12s ease,height .12s ease
}
.audio-current-line .spanish {
  border-bottom-color:#92a27f!important
}
@media(max-width:520px) {
  .audio-player {
    padding:17px 14px 12px
  }
  .audio-main-controls {
    gap:8px
  }
  .audio-play {
    width:39px;
    height:39px
  }
  .audio-skip {
    width:26px
  }
  .audio-timeline {
    margin-left:2px
  }
  .audio-settings {
    gap:8px
  }
  .audio-settings .switch-label {
    font-size:9px
  }
  .audio-speed-label {
    font-size:9px
  }
  .audio-heading p {
    font-size:19px
  }
}
@media(prefers-reduced-motion:reduce) {
  .audio-line-marker {
    transition:none
  }
}
.hero-actions {
  display:flex;
  align-items:center;
  gap:14px;
  flex-wrap:wrap
}
.random-story {
  font:inherit;
  font-size:12px;
  border:1px solid #c7cfbf;
  border-radius:5px;
  background:transparent;
  padding:15px 17px;
  color:var(--ink);
  cursor:pointer
}
.random-story:hover {
  border-color:var(--accent);
  color:var(--accent)
}
.collection-tools {
  display:flex;
  align-items:center;
  gap:9px;
  margin:0 0 19px;
  font-size:10px;
  color:var(--muted)
}
.collection-tools button {
  border:1px solid var(--line);
  border-radius:20px;
  padding:8px 12px;
  background:#fffef9;
  color:var(--ink);
  font-size:10px;
  min-height:34px
}
.collection-tools button[aria-pressed=true] {
  background:var(--ink);
  color:white;
  border-color:var(--ink)
}
.free-tag {
  margin-left:auto;
  font-size:8px;
  border-radius:3px;
  padding:3px 5px;
  background:#e9efdf;
  color:#526c43
}
.audio-available {
  font-size:9px;
  color:var(--muted);
  margin-left:auto
}
.card-actions {
  justify-content:space-between
}
.audio-settings {
  flex-wrap:wrap
}
.volume-control {
  display:flex;
  align-items:center;
  gap:7px;
  font-size:10px;
  color:var(--muted)
}
.volume-control input {
  width:75px;
  accent-color:var(--ink);
  height:22px
}
.audio-settings input:disabled+.switch {
  opacity:.35
}
.grammar-link {
  display:block;
  width:100%;
  margin:4px 0 22px;
  text-align:left;
  border-color:#b9c7ad;
  background:#edf1e4
}
.grammar-section {
  margin:0 28px 65px;
  padding:43px 36px;
  border:1px solid #cbd4c0;
  border-radius:8px;
  background:#fafbf4;
  scroll-margin-top:24px
}
.grammar-decoration {
  font-family:var(--serif);
  font-size:45px;
  color:#9eac8c;
  font-style:italic
}
.grammar-intro {
  font-size:13px;
  line-height:1.8;
  color:var(--muted);
  max-width:650px;
  margin-bottom:24px
}
.grammar-search-form {
  max-width:650px;
  position:relative;
  margin-bottom:24px
}
.grammar-search-form>label {
  display:block;
  font-size:11px;
  margin-bottom:9px
}
.grammar-search-row {
  display:flex;
  gap:10px
}
.grammar-search-row input {
  width:100%;
  min-width:0;
  border:1px solid #bac8ae;
  border-radius:5px;
  background:white;
  padding:13px 14px;
  font:inherit;
  font-size:14px;
  color:var(--ink)
}
.grammar-search-row .primary {
  border:0;
  white-space:nowrap;
  cursor:pointer;
  padding:13px 20px
}
.grammar-search-form>p {
  font-size:10px;
  color:var(--muted);
  line-height:1.6;
  margin:8px 0 0
}
.word-suggestions {
  position:absolute;
  z-index:5;
  top:72px;
  left:0;
  right:0;
  max-height:300px;
  overflow-y:auto;
  border:1px solid #bdcbb0;
  background:white;
  border-radius:5px;
  box-shadow:0 8px 25px #253b3215;
  list-style:none;
  margin:0;
  padding:5px
}
.word-suggestions button {
  width:100%;
  display:flex;
  justify-content:space-between;
  gap:12px;
  text-align:left;
  border:0;
  background:transparent;
  color:var(--ink);
  padding:11px 10px;
  font-size:13px;
  border-radius:3px
}
.word-suggestions button:hover,.word-suggestions button:focus-visible {
  background:#edf2e3
}
.word-suggestions small {
  font-size:10px;
  color:var(--muted)
}
.grammar-status,.grammar-empty {
  font-size:12px;
  color:var(--muted);
  line-height:1.7
}
.grammar-word-header {
  border-top:1px solid var(--line);
  padding-top:23px;
  margin-top:20px;
  display:flex;
  gap:18px;
  justify-content:space-between;
  align-items:center
}
.grammar-word-header h3 {
  font-family:var(--serif);
  font-size:34px;
  font-weight:400;
  margin:0 0 7px
}
.grammar-word-header p {
  font-size:11px;
  color:var(--muted);
  margin:0
}
.grammar-note {
  font-size:11px;
  line-height:1.8;
  color:var(--muted);
  margin:17px 0
}
.grammar-tabs {
  display:flex;
  gap:7px;
  flex-wrap:wrap;
  margin:25px 0 20px
}
.grammar-tabs button {
  background:transparent;
  border:1px solid #c7d2bc;
  border-radius:20px;
  color:var(--ink);
  font-size:10px;
  padding:9px 12px
}
.grammar-tabs button[aria-pressed=true] {
  background:#263f37;
  color:#fff;
  border-color:#263f37
}
.tense-grid {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:15px
}
.tense-card {
  background:#fffef9;
  border:1px solid var(--line);
  border-radius:6px;
  padding:19px
}
.tense-card h4 {
  font-family:var(--serif);
  font-size:21px;
  font-weight:400;
  line-height:1.25;
  margin:10px 0 5px
}
.tense-english-name {
  font-size:10px;
  color:var(--muted);
  margin:0 0 12px
}
.tense-meta {
  display:flex;
  gap:8px;
  align-items:center;
  font-size:8px;
  letter-spacing:.6px;
  color:var(--muted)
}
.rare-tag {
  color:var(--accent);
  border:1px solid #dbb7a6;
  padding:2px 4px;
  border-radius:2px
}
.tense-use {
  font-size:11px;
  line-height:1.7;
  color:var(--muted);
  margin:7px 0
}
.tense-example {
  border-left:2px solid #a8ba93;
  padding-left:12px;
  margin:14px 0
}
.tense-example p {
  font-size:11px;
  line-height:1.6;
  margin:0 0 5px
}
.tense-example p[lang=es] {
  font-family:var(--serif);
  font-size:17px
}
.tense-card details {
  border-top:1px solid var(--line);
  padding-top:10px;
  margin-top:13px
}
.tense-card summary {
  font-size:10px;
  cursor:pointer;
  padding:3px 0
}
.conjugation-table {
  width:100%;
  border-collapse:collapse;
  font-size:11px;
  margin-top:10px
}
.conjugation-table td {
  padding:8px 3px;
  border-bottom:1px solid #eceee6;
  vertical-align:top
}
.conjugation-table td:first-child {
  font-size:9px;
  color:var(--muted);
  width:47%
}
.conjugation-table td:last-child {
  font-family:var(--serif);
  font-size:16px
}
.nonfinite-list {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
  margin:18px 0
}
.nonfinite-list>div {
  border:1px solid var(--line);
  background:white;
  border-radius:5px;
  padding:14px
}
.nonfinite-list dt {
  font-size:9px;
  color:var(--muted);
  margin-bottom:6px
}
.nonfinite-list dd {
  font-family:var(--serif);
  font-size:20px;
  margin:0;
  overflow-wrap:anywhere
}
.word-form-tags {
  display:flex;
  gap:9px;
  flex-wrap:wrap;
  margin:18px 0
}
.word-form-tags span {
  font-family:var(--serif);
  font-size:21px;
  padding:8px 14px;
  background:#e9efde;
  border-radius:4px
}
.grammar-reference-link {
  font-size:10px;
  color:var(--muted);
  display:inline-block;
  margin-top:20px;
  text-decoration:underline
}
@media(max-width:800px) {
  .tense-grid {
    grid-template-columns:1fr
  }
  .grammar-section {
    padding:30px 24px
  }
}
@media(max-width:520px) {
  .grammar-section {
    margin:0 18px 35px;
    padding:25px 18px
  }
  .grammar-section h2 {
    font-size:29px
  }
  .grammar-decoration {
    display:none
  }
  .grammar-search-row {
    gap:7px
  }
  .grammar-search-row .primary {
    padding:11px 13px;
    font-size:11px
  }
  .grammar-word-header h3 {
    font-size:29px
  }
  .nonfinite-list {
    grid-template-columns:1fr 1fr
  }
  .nonfinite-list dd {
    font-size:18px
  }
  .volume-control input {
    width:68px
  }
  .site-header nav {
    gap:6px;
  }
  .site-header nav a {
    font-size:12px;
  }
}
.card-art img {
  width:55px;
  height:100px;
  object-fit:contain
}
.conjugation-table th {
  font-size:9px;
  text-align:left;
  color:var(--muted);
  padding:7px 3px;
  font-weight:400
}
.nonfinite-section {
  margin-top:23px;
  border-top:1px solid var(--line);
  padding-top:16px
}
.nonfinite-section>summary {
  font-size:12px;
  cursor:pointer
}

/* Side arrows keep the catalogue to two rows without a controls row below. */
.collection-pager { display:grid; grid-template-columns:30px minmax(0,1fr) 30px; gap:13px; align-items:center; }
.collection-arrow { width:30px; height:52px; border:1px solid var(--line); border-radius:6px; background:transparent; color:var(--ink); font-size:30px; line-height:1; transition:background .15s; }
.collection-arrow:hover:enabled { background:#e5eadc; }
.collection-arrow:disabled { opacity:.25; }
.collection-tools select { max-width:100%; padding:9px 30px 9px 12px; border:1px solid #bec9b6; border-radius:5px; color:var(--ink); background:#fafbf4; font-size:12px; }
.page-status { margin-left:auto; color:var(--muted); font-size:11px; white-space:nowrap; font-variant-numeric:tabular-nums; }
.audio-available { padding:4px 7px; border-radius:4px; background:#e5ecdf; color:#45603e; font-size:9px; font-weight:600; white-space:nowrap; }
.verb-page .grammar-section { padding-top:36px; min-height:65vh; }
.back-to-stories { display:flex; align-items:center; gap:10px; width:fit-content; margin:27px 28px 22px; padding:11px 18px; border:1px solid #cbd4c0; border-radius:5px; background:#edf0e5; color:var(--ink); font-size:12px; transition:background .15s; }
.back-to-stories:hover { background:#e2e8d8; }
.grammar-link { display:inline-flex; }
@media(max-width:520px) {
 .collection-pager { grid-template-columns:23px minmax(0,1fr) 23px; gap:6px; }
 .collection-arrow { width:23px; height:45px; font-size:25px; }
 .collection-tools { flex-wrap:wrap; gap:8px; }
 .collection-tools select { font-size:11px; padding-left:8px; padding-right:22px; }
 .page-status { font-size:10px; }
 .back-to-stories { margin-left:18px; }
}
.newsletter-card { margin:0 28px 55px; padding:26px 32px; border:1px solid var(--line); border-radius:6px; background:#edf0e5; }
.newsletter-card h2 { font-family:var(--serif); font-weight:400; margin:0 0 10px; }
.newsletter-card p { color:var(--muted); font-size:13px; line-height:1.7; }
.newsletter-card .text-link { margin-left:18px; font-size:12px; }
/* Frequency filters and mood filters share the same controls. */
.grammar-tabs { align-items:center; column-gap:12px; row-gap:12px; }
.grammar-filter-group { display:flex; flex-wrap:wrap; gap:6px; }
.grammar-mood-group { flex-basis:100%; }
.grammar-tabs .grammar-all { border-radius:5px; }
@media(max-width:600px) {
 .grammar-tabs { column-gap:8px; }
}
@media(max-width:860px) {
  .site-header { gap:16px; padding:18px 20px; }
  .site-header nav {
    position:absolute;
    z-index:20;
    top:calc(100% - 8px);
    right:20px;
    display:flex;
    flex-direction:column;
    gap:4px;
    width:min(350px, calc(100% - 40px));
    max-width:none;
    padding:8px;
    border:1px solid #d2dac8;
    border-radius:10px;
    background:var(--paper);
    box-shadow:0 10px 25px #263f3714;
  }
  .site-header nav a {
    padding:10px 12px;
    justify-content:flex-start;
    white-space:normal;
    text-align:left;
    font-size:12px;
    min-width:0;
  }
}
