/* Base y componentes comunes. Sin fuentes ni bibliotecas externas. */
* {
  box-sizing:border-box
}
button,input {
  font:inherit
}
button {
  cursor:pointer
}
input {
  max-width:100%
}
li {
  margin:.4rem 0
}

.skip {
  position:absolute;
  left:1rem;
  top:-5rem;
  background:white;
  padding:.5rem
}
.skip:focus {
  top:1rem
}
[hidden] {
  display:none!important
}


.primary-link {
  display:inline-flex;
  align-items:center;
  gap:1rem;
  min-height:44px;
  margin-top:1.2rem;
  padding:.6rem 1rem;
  background:#183c43;
  color:white;
  text-decoration:none;
  font-size:.83rem
}
.primary-link:hover {
  background:#254e55;
  color:white
}
#formatos-disponibles {
  scroll-margin-top:1rem
}

:root {
  --ink:#183c43;
  --text:#263d42;
  --muted:#58686a;
  --paper:#faf9f5;
  --line:#d5dcd7;
  --accent:#a1482f;
  --wash:#edf1e9;
  --sand:#f0e9da;
  --serif:Georgia,"Times New Roman",serif;
  font-family:system-ui,-apple-system,"Segoe UI",sans-serif;
  color:var(--text);
  background:var(--paper);
  font-size:16px;
  line-height:1.65
}

body {
  margin:0
}
a {
  color:var(--ink);
  text-underline-offset:.22em;
  text-decoration-thickness:1px
}
a:hover {
  color:var(--accent)
}
a:focus-visible,button:focus-visible,input:focus-visible {
  outline:3px solid var(--accent);
  outline-offset:4px
}
h1,h2,h3,p {
  margin-top:0
}
h1,h2 {
  color:var(--ink);
  font-family:var(--serif);
  font-weight:400;
  line-height:1.12;
  letter-spacing:-.035em
}
h1 {
  font-size:clamp(2.35rem,4.5vw,4.4rem);
  margin-bottom:1.3rem
}
h2 {
  font-size:clamp(1.8rem,3vw,2.5rem);
  margin-bottom:1rem
}
h3 {
  font-size:1.02rem;
  line-height:1.4;
  margin-bottom:.8rem
}
section[id] {
  scroll-margin-top:1rem
}
::selection {
  background:#e6cdb5;
  color:#182f34
}

.site-header,main,footer {
  width:min(1160px,calc(100% - 80px));
  max-width:none;
  margin:auto;
  padding:0
}
.preview {
  margin:0;
  text-align:center;
  background:var(--sand);
  color:#624729;
  font-size:.75rem;
  padding:.35rem 1rem;
  letter-spacing:.025em
}
.site-header {
  border-bottom:1px solid var(--line)
}
.masthead {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:1rem;
  padding:1.35rem 0
}
.brand {
  display:inline-flex;
  align-items:center;
  gap:.65rem;
  text-decoration:none;
  font-size:1.26rem;
  font-weight:650;
  letter-spacing:-.04em
}
.brand-domain {
  font-weight:400
}
.brand-mark {
  display:grid;
  place-items:center;
  width:42px;
  height:42px;
  border:1px solid var(--ink);
  font:italic 1.7rem var(--serif);
  letter-spacing:-.08em;
  padding-right:4px
}
.site-purpose {
  font-size:.78rem;
  color:var(--muted)
}
.navigation-row {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:1.5rem;
  padding:0 0 1rem
}
.navigation-row nav {
  display:flex;
  flex-wrap:wrap;
  gap:1.5rem;
  margin:0
}
.navigation-row nav a {
  font-size:.87rem;
  text-decoration:none;
  min-height:44px;
  display:flex;
  align-items:center
}
.navigation-row form {
  display:flex;
  flex-wrap:nowrap;
  gap:0;
  align-items:center;
  max-width:340px;
  width:100%
}
.navigation-row label {
  position:absolute;
  width:1px;
  height:1px;
  overflow:hidden;
  clip-path:inset(50%)
}
input {
  min-width:0;
  width:100%;
  height:44px;
  padding:.65rem .8rem;
  border:1px solid var(--line);
  border-right:0;
  background:white;
  border-radius:2px 0 0 2px;
  font-size:.8rem
}
input::placeholder {
  color:var(--muted)
}
button {
  min-height:44px;
  border:1px solid var(--ink);
  padding:.6rem 1rem;
  background:var(--ink);
  color:white;
  border-radius:2px;
  font-weight:600;
  font-size:.83rem
}
.navigation-row button {
  border-radius:0 2px 2px 0
}
button:disabled {
  cursor:not-allowed
}

main {
  min-height:50vh;
  padding:2.5rem 0
}
.eyebrow {
  display:block;
  font-family:system-ui,sans-serif;
  font-size:.7rem;
  line-height:1.5;
  letter-spacing:.13em;
  text-transform:uppercase;
  font-weight:650;
  color:var(--accent);
  margin-bottom:1rem
}
.lead {
  font-size:1.05rem;
  color:var(--muted);
  max-width:660px;
  line-height:1.75
}
.home-intro {
  display:grid;
  grid-template-columns:1.5fr 1fr;
  gap:4rem;
  padding:1.3rem 0 2.9rem;
  align-items:center;
  margin:0
}
.home-intro h1 {
  max-width:760px
}
.home-intro .lead {
  max-width:580px;
  margin-bottom:0
}
.intro-aside {
  border-left:1px solid var(--line);
  padding:1rem 0 1rem 2.2rem
}
.intro-aside p {
  font:1.6rem/1.35 var(--serif);
  color:var(--ink);
  margin-bottom:1rem
}
.intro-aside span {
  font-size:.8rem;
  color:var(--muted)
}
.task-section {
  margin:0 0 3.5rem
}
.task-section>h2 {
  font:600 .8rem system-ui,sans-serif;
  letter-spacing:.04em;
  margin-bottom:1rem
}
.actions {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:0;
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line)
}
.task-link {
  padding:1.6rem 1.8rem;
  display:flex;
  flex-direction:column;
  position:relative;
  gap:.4rem;
  text-decoration:none;
  min-height:150px;
  border-right:1px solid var(--line)
}
.task-link:first-child {
  padding-left:0
}
.task-link:last-child {
  border-right:0
}
.task-link:hover {
  background:var(--wash)
}
.task-number {
  font-size:.7rem;
  color:var(--accent);
  letter-spacing:.08em
}
.task-description {
  font-size:.88rem;
  line-height:1.6;
  color:var(--text)
}
.task-link small {
  margin-top:auto;
  padding-top:.5rem
}
.task-link .task-number {
  padding-right:1.5rem
}
.other-guides {
  margin-top:3rem;
  border-top:1px solid var(--line);
  padding-top:2rem
}
.other-guides h2 {
  font-size:2rem
}
.other-guides>p,.catalogue-intro>p {
  max-width:680px
}
.other-guides .actions {
  grid-template-columns:repeat(2,minmax(0,1fr))
}
.return-home a {
  display:inline-flex;
  align-items:center;
  min-height:44px
}
.catalogue-intro {
  margin-bottom:2rem
}
.legacy-content {max-width:680px;margin:2rem 0;overflow-wrap:anywhere}
.legacy-content img,.legacy-gallery img {max-width:100%;height:auto;display:block}
.legacy-figure,.legacy-gallery figure {margin:1.5rem 0;padding:1rem;border:1px solid var(--line);background:white}
.legacy-gallery figcaption {font-size:.8rem;margin-top:1rem;color:var(--muted)}
.legacy-content table {display:block;max-width:100%;overflow-x:auto}
.legacy-attachment {margin:1.5rem 0;padding:1rem;border-left:3px solid var(--line);overflow-wrap:anywhere}
.comment-archive {list-style:none;padding:0}
.comment-archive>li {padding:1.25rem 0;border-top:1px solid var(--line);overflow-wrap:anywhere}
.comment-archive blockquote {margin:.5rem 0;padding-left:1rem;border-left:2px solid var(--line)}
.comment-byline {font-size:.85rem;color:var(--muted)}
.historical-comments [id],.historical-anchor {scroll-margin-top:1rem}
.task-link strong {
  font:1.5rem/1.25 var(--serif);
  max-width:88%
}
.task-link small {
  font-size:.78rem;
  color:var(--muted)
}
.task-arrow {
  position:absolute;
  right:1.5rem;
  top:2rem;
  font-size:1.35rem
}
.format-section {
  background:var(--wash);
  padding:2.2rem 2.5rem;
  margin:0 0 4rem;
  display:grid;
  grid-template-columns:1fr 1.3fr;
  gap:2rem
}
.format-section h2 {
  font-size:2rem
}
.format-section p:last-child {
  margin:0;
  font-size:.88rem;
  color:var(--muted);
  max-width:300px
}
.format-links {
  display:grid;
  gap:0;
  align-content:center
}
.format-links a {
  display:flex;
  align-items:center;
  gap:1rem;
  padding:1rem 0;
  text-decoration:none;
  border-bottom:1px solid #bfcbbf
}
.format-links a:last-child {
  border-bottom:0
}
.format-links strong {
  font-size:.95rem
}
.format-links small {
  display:block;
  font-size:.75rem;
  color:var(--muted)
}
.format-links .arrow {
  margin-left:auto
}
.file-symbol {
  font:italic 1.4rem var(--serif);
  border:1px solid #9aaa9b;
  width:40px;
  height:48px;
  display:grid;
  place-items:center;
  flex-shrink:0
}
.family-section {
  border-top:1px solid var(--line);
  padding:2.3rem 0;
  margin:0
}
.section-heading {
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:1rem
}
.section-heading .eyebrow {
  margin-bottom:.5rem
}
.family-count {
  font-size:.75rem;
  color:var(--muted);
  white-space:nowrap;
  padding-top:.5rem
}
.columns {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:1.8rem
}
.columns h3 {
  font-size:.75rem;
  text-transform:uppercase;
  letter-spacing:.07em;
  color:var(--muted);
  margin-top:1rem
}
.columns ul {
  list-style:none;
  padding:0;
  margin:0
}
.columns li {
  margin:0
}
.columns a {
  display:inline-flex;
  align-items:center;
  min-height:44px;
  font-size:.92rem;
  padding:.3rem 0;
  text-decoration:none
}
.columns a:hover {
  text-decoration:underline
}
.family-section:last-child {
  padding-bottom:0
}

.breadcrumbs {
  display:flex;
  flex-wrap:wrap;
  gap:.65rem;
  font-size:.73rem;
  color:var(--muted);
  margin-bottom:2.2rem
}
.breadcrumbs a {
  min-height:24px
}
.article-heading {
  max-width:830px;
  margin-bottom:2.5rem
}
.article-heading>.eyebrow {
  text-decoration:none
}
.article-heading h1 {
  font-size:clamp(2.55rem,5.3vw,4.8rem)
}
.metadata {
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:.6rem 1rem;
  font-size:.75rem;
  color:var(--muted)
}
.country {
  display:inline-block;
  background:var(--wash);
  padding:.35rem .65rem;
  color:var(--ink);
  border:1px solid var(--line)
}
.article-layout {
  display:grid;
  grid-template-columns:minmax(0,780px) minmax(200px,1fr);
  gap:3.8rem;
  align-items:start
}
.article-content {
  min-width:0
}
.download-panel {
  margin:0;
  padding:1.8rem;
  background:white;
  border:1px solid var(--line)
}
.download-panel h2 {
  font-size:1.8rem
}
.download-panel>.section-heading {
  gap:.8rem
}
.download-panel>p {
  font-size:.88rem;
  color:var(--muted)
}
.status-tag {
  font-size:.65rem;
  white-space:nowrap;
  border:1px solid #d9c5a6;
  background:#f7f0e5;
  color:#6c4b22;
  padding:.2rem .5rem
}
.document-preview {
  margin:1.5rem 0;
  background:var(--wash);
  padding:1.8rem 2rem 1rem
}
.document-sheet {
  background:#fffefb;
  border:1px solid #d6d6c9;
  box-shadow:0 8px 12px #2039300a;
  padding:1.4rem 1.8rem;
  color:#4d5e5c;
  aspect-ratio:1.9;
  position:relative
}
.sheet-top {
  display:flex;
  justify-content:space-between;
  font-size:.48rem;
  letter-spacing:.13em;
  border-bottom:1px solid #ced5c9;
  padding-bottom:.7rem
}
.sheet-title {
  display:block;
  font:1.6rem var(--serif);
  margin:.85rem 0 .2rem
}
.sheet-note {
  font-size:.6rem;
  margin:0 0 1rem
}
.sheet-lines {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:1rem;
  margin:1.2rem 0
}
.sheet-lines i,.sheet-columns i {
  display:block;
  height:1px;
  background:#bdc8bf
}
.sheet-columns {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:3rem;
  margin:1.8rem 0 1rem
}
.sheet-columns>div {
  display:grid;
  gap:.7rem
}
.sheet-stamp {
  display:inline-block;
  font-size:.55rem;
  letter-spacing:.13em;
  border:1px solid #b7a692;
  color:#7d5b3e;
  padding:.2rem .5rem
}
.document-preview figcaption {
  font-size:.68rem;
  color:var(--muted);
  margin:.8rem 0 0;
  line-height:1.6
}
.download-options {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:1.2rem
}
.format-option {
  padding:1.2rem;
  border:1px solid var(--line)
}
.file-label {
  display:inline-block;
  font-size:.63rem;
  letter-spacing:.08em;
  font-weight:700;
  color:var(--accent);
  margin-bottom:.65rem
}
.format-option h3 {
  font:1.35rem var(--serif);
  margin-bottom:.5rem
}
.format-option p {
  font-size:.78rem;
  color:var(--muted);
  margin-bottom:1rem
}
.format-option button {
  width:100%;
  background:#e9ece7;
  border-color:#cdd6cd;
  color:#59675d
}
.resource-note {
  font-size:.75rem!important;
  margin:1rem 0 0
}
.reading-section {
  margin:3rem 0;
  max-width:680px
}
.reading-section h2 {
  font-size:2rem
}
.reading-section p {
  font-size:1rem
}
.reading-note {
  border-left:3px solid var(--accent);
  padding:1.2rem 1.4rem;
  background:var(--sand);
  margin-top:1.5rem
}
.reading-note p {
  font-size:.9rem;
  margin:.5rem 0
}
.reading-note a {
  font-size:.85rem;
  display:inline-block;
  min-height:32px;
  padding-top:.3rem
}
.ad-placeholder {
  margin:3rem 0;
  min-height:304px;
  background:#f0f1ef;
  border:1px dashed #c8cfca;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  color:var(--muted);
  padding:.75rem
}
.ad-reserved {
  min-height:250px;
  width:100%;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
}
.service-actions {display:flex;flex-wrap:wrap;gap:.75rem;margin:1rem 0}
.service-actions button,.service-actions a {border:1px solid var(--ink);border-radius:4px;background:white;color:var(--ink);padding:.7rem 1rem;min-height:44px;text-decoration:none}
.service-actions button:hover,.service-actions a:hover {background:var(--wash)}
.service-events {overflow-wrap:anywhere;padding-left:1.3rem}
.service-events li {border-bottom:1px solid var(--line);padding:.75rem 0;font-size:.85rem}
.privacy-content {max-width:780px}
.preview a {color:inherit;text-underline-offset:3px}
.ad-placeholder>span {
  font-size:.6rem;
  letter-spacing:.15em
}
.ad-placeholder p {
  font-size:.83rem;
  margin:1rem 0 .2rem
}
.ad-placeholder small {
  font-size:.7rem
}
.article-rail {
  border-top:2px solid var(--ink);
  padding-top:1.2rem
}
.article-rail a {
  display:flex;
  gap:.8rem;
  text-decoration:none;
  font-size:.8rem;
  min-height:48px;
  align-items:center;
  border-bottom:1px solid var(--line)
}
.article-rail a:hover {
  text-decoration:underline
}
.article-rail a>span {
  font-size:.65rem;
  color:var(--accent)
}
.rail-note {
  margin:2rem 0;
  color:var(--muted);
  font-size:.8rem
}
.rail-note strong {
  color:var(--ink);
  font:1.3rem var(--serif)
}
.rail-note p {
  margin-top:.7rem
}
.related-section {
  border-top:1px solid var(--line);
  padding-top:2rem;
  margin:3rem 0 0
}
.related-section ul {
  list-style:none;
  padding:0
}
.related-section a {
  display:flex;
  justify-content:space-between;
  gap:1rem;
  padding:.7rem 0;
  border-bottom:1px solid var(--line);
  text-decoration:none;
  font-size:.95rem
}
.related-section h2 {
  font-size:2rem
}

main>h1 {
  max-width:900px
}
main>p,main>ul {
  max-width:760px
}
.draft {
  padding:1.2rem;
  border-left:3px solid #a6b4ab;
  background:white
}
#search-results {
  padding-left:1.5rem;
  max-width:760px
}
#search-results li {
  padding:1rem .5rem;
  border-bottom:1px solid var(--line)
}
#search-results a {
  font:1.4rem var(--serif)
}
#search-results p {
  color:var(--muted);
  font-size:.88rem;
  margin:.5rem 0 0
}
footer {
  border-top:1px solid var(--line);
  margin:3rem auto 0;
  padding:2rem 0 2.5rem;
  display:flex;
  justify-content:space-between;
  gap:2rem;
  font-size:.8rem
}
.footer-heading {
  display:grid;
  gap:.35rem
}
.footer-heading>span {
  color:var(--muted);
  font-size:.75rem
}
.footer-links {
  display:flex;
  flex-wrap:wrap;
  gap:.5rem 1.5rem;
  align-items:center
}
.footer-links a {
  min-height:44px;
  display:inline-flex;
  align-items:center
}
.site-footer {
  display:block;
  border-top:3px solid #102f4b;
  padding-top:2rem;
  font-size:.9rem;
  line-height:1.65
}
.footer-grid {
  display:grid;
  grid-template-columns:1.2fr 1fr 1fr;
  gap:2.5rem
}
.site-footer h2 {
  font-family:inherit;
  font-size:1rem;
  line-height:1.4;
  color:#102f4b;
  margin:0 0 .75rem
}
.site-footer p {margin:0 0 .7rem;max-width:36ch}
.site-footer a {color:#07554c;text-underline-offset:4px}
.footer-site-name {display:inline-block;font-size:1.15rem;font-weight:750;margin-bottom:.8rem}
.footer-editorial-name {font-weight:750}
.footer-column-links {display:grid;justify-items:start;gap:.2rem}
.footer-column-links a {display:inline-flex;align-items:center;min-height:44px}
.footer-bottom {border-top:1px solid var(--line);margin-top:1.5rem;padding-top:1rem;display:flex;justify-content:space-between;gap:1rem;align-items:center;font-size:.8rem}
.footer-bottom nav {display:flex;flex-wrap:wrap;gap:1.25rem}
.footer-bottom a {display:inline-flex;align-items:center;min-height:44px}
@media(max-width:800px) {
  .footer-grid {grid-template-columns:1fr 1fr;gap:1.5rem}
  .footer-brand {grid-column:1/-1}
  .footer-bottom {align-items:flex-start;flex-direction:column}
}
@media(max-width:520px) {
  .footer-grid {grid-template-columns:1fr}
  .footer-brand {grid-column:auto}
}
.skip {
  z-index:10
}

@media(max-width:1000px) {
  .site-header,main,footer {
    width:calc(100% - 48px)
  }
  .site-purpose {
    display:none
  }
  .navigation-row nav {
    gap:1rem
  }
  .navigation-row form {
    max-width:285px
  }
  .home-intro {
    gap:2rem;
    grid-template-columns:1.6fr 1fr
  }
  .article-layout {
    gap:2rem;
    grid-template-columns:minmax(0,1fr) 200px
  }
  .download-panel {
    padding:1.3rem
  }
  .status-tag {
    white-space:normal
  }
  .document-preview {
    padding:1rem
  }
  .columns {
    grid-template-columns:repeat(2,minmax(0,1fr))
  }
  
}

@media(max-width:760px) {
  .site-header,main,footer {
    width:calc(100% - 40px)
  }
  .masthead {
    padding:1rem 0 .5rem
  }
  .brand {
    font-size:1.15rem
  }
  .brand-mark {
    width:36px;
    height:36px;
    font-size:1.5rem
  }
  .navigation-row {
    display:block;
    padding-bottom:1rem
  }
  .navigation-row nav {
    justify-content:space-between;
    gap:.25rem
  }
  .navigation-row nav a {
    font-size:.76rem
  }
  .navigation-row form {
    max-width:none;
    margin-top:.45rem
  }
  main {
    padding:1.6rem 0
  }
  .home-intro {
    display:block;
    padding:.5rem 0 1.8rem
  }
  .home-intro h1 {
    font-size:2.65rem
  }
  .home-intro .lead {
    font-size:.97rem
  }
  .intro-aside {
    display:none
  }
  .actions {
    grid-template-columns:1fr
  }
  .other-guides .actions {
    grid-template-columns:1fr
  }
  .task-link,.task-link:first-child {
    padding:1.1rem .3rem;
    min-height:120px;
    border-right:0;
    border-bottom:1px solid var(--line)
  }
  .task-link:last-child {
    border-bottom:0
  }
  .task-link strong {
    font-size:1.45rem
  }
  .task-arrow {
    right:.5rem;
    top:2.2rem
  }
  .task-section {
    margin-bottom:2rem
  }
  .format-section {
    grid-template-columns:1fr;
    gap:.8rem;
    padding:1.4rem;
    margin-bottom:2.5rem
  }
  .format-section h2 {
    font-size:1.8rem
  }
  .format-links a {
    gap:.8rem
  }
  .format-links strong {
    font-size:.85rem
  }
  .columns {
    grid-template-columns:1fr;
    gap:.4rem
  }
  .family-section {
    padding:1.8rem 0
  }
  .section-heading {
    gap:.5rem
  }
  .family-count {
    font-size:.65rem
  }
  .family-section h2 {
    font-size:2rem
  }
  .columns h3 {
    margin:.7rem 0 .3rem
  }
  .columns a {
    font-size:.9rem
  }
  .article-heading h1 {
    font-size:2.65rem
  }
  .article-heading {
    margin-bottom:1.6rem
  }
  .breadcrumbs {
    margin-bottom:1.6rem;
    font-size:.68rem
  }
  .article-layout {
    display:flex;
    flex-direction:column;
    gap:1.8rem
  }
  .article-rail {
    order:-1;
    width:100%;
    border:1px solid var(--line);
    padding:.85rem 1rem;
    background:white
  }
  .article-rail .eyebrow {
    margin:0 0 .3rem
  }
  .article-rail a {
    font-size:.76rem;
    min-height:44px
  }
  .article-rail a:last-of-type {
    border-bottom:0
  }
  .rail-note,.back-family {
    display:none!important
  }
  .download-panel {
    padding:1.1rem
  }
  .download-panel>.section-heading {
    display:block
  }
  .status-tag {
    display:inline-block;
    margin-bottom:.8rem
  }
  .download-panel h2 {
    font-size:1.8rem
  }
  .download-panel .section-heading h2 {
    margin-bottom:.8rem
  }
  .document-preview {
    padding:.8rem;
    margin:1rem 0
  }
  .document-sheet {
    padding:.8rem;
    aspect-ratio:auto;
    min-height:200px
  }
  .sheet-title {
    font-size:1.2rem
  }
  .sheet-top {
    font-size:.4rem
  }
  .sheet-note {
    font-size:.52rem
  }
  .sheet-columns {
    margin:1.4rem 0 1rem;
    gap:1.5rem
  }
  .sheet-stamp {
    font-size:.45rem
  }
  .download-options {
    grid-template-columns:1fr;
    gap:.8rem
  }
  .format-option {
    padding:1rem
  }
  .format-option p {
    margin-bottom:.8rem
  }
  .reading-section {
    margin:2rem 0
  }
  .reading-section h2,.related-section h2 {
    font-size:1.85rem
  }
  .reading-note {
    padding:1rem
  }
  .ad-placeholder {
    margin:2rem 0
  }
  .related-section {
    margin-top:2rem
  }
  footer {
    display:block;
    margin-top:2rem
  }
  .footer-links {
    margin-top:1rem;
    display:grid;
    gap:.1rem
  }
  .footer-links a {
    font-size:.8rem
  }
  .preview {
    font-size:.65rem;
    padding:.35rem .8rem
  }
  
}

@media(max-width:360px) {
  .site-header,main,footer {
    width:calc(100% - 32px)
  }
  .navigation-row nav a {
    font-size:.69rem
  }
  .home-intro h1,.article-heading h1 {
    font-size:2.25rem
  }
  .download-panel {
    padding:.8rem
  }
  .document-preview {
    padding:.6rem
  }
  .section-heading {
    flex-wrap:wrap
  }
  .family-count {
    padding:0
  }
  
}

@media print {
  header,footer,.preview,.skip,.article-rail,.ad-placeholder,.download-options {
    display:none!important
  }
  body {
    background:white
  }
  main {
    width:100%;
    padding:0
  }
  .article-layout {
    display:block
  }
  .document-sheet {
    box-shadow:none
  }
  .download-panel {
    break-inside:avoid
  }
  a {
    color:inherit
  }
  .document-preview:after {
    content:"Esquema de diseño: no utilizar como documento.";
    display:block;
    font-weight:bold;
    margin-top:1rem
  }
  
}


/* El índice precede al artículo también para teclado y lectores de pantalla. */
@media(min-width:761px) {
  .article-content {
    grid-column:1;
    grid-row:1
  }
  .article-rail {
    grid-column:2;
    grid-row:1
  }
  
}


/* Variantes de contenido y estado. */
.eyebrow a {
  color:inherit;
  text-decoration:none
}
.eyebrow a:hover {
  text-decoration:underline
}

.notice {
  padding:1rem 1.2rem;
  margin:1.2rem 0;
  border-left:3px solid var(--ink);
  background:var(--wash);
  font-size:.9rem
}

.notice p {
  margin:.5rem 0 0;
  font-size:inherit
}
.notice-pending {
  border-color:#9e855e;
  background:#f4f0e7
}
.notice-historical {
  border-color:var(--accent);
  background:var(--sand)
}

.review-details {
  margin:1.5rem 0
}
.review-details>div {
  padding:.75rem 0;
  border-bottom:1px solid var(--line)
}
.review-details dt {
  font-weight:600;
  font-size:.8rem
}
.review-details dd {
  margin:.2rem 0 0;
  overflow-wrap:anywhere
}

.source-list {
  padding-left:1.2rem
}
.source-list li {
  margin:1rem 0
}
.source-list a {
  overflow-wrap:anywhere
}
.source-list p {
  font-size:.8rem;
  color:var(--muted)
}

.download-link {
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:44px;
  padding:.6rem 1rem;
  background:var(--ink);
  color:white;
  font-weight:600;
  font-size:.83rem;
  text-decoration:none
}
.download-link:hover {
  background:#254e55;
  color:white
}
.resource-meta {
  font-size:.75rem!important
}

.article-single {
  display:block;
  max-width:780px
}
.article-rail {
  margin:0;
  display:block
}
.format-option .notice {
  padding:.75rem;
  font-size:.75rem
}

/* Vistas de los archivos reales; el esquema de diseño usa otra clase. */
.model-preview {
  margin:2rem 0 0;
  padding:1.2rem;
  background:var(--wash)
}
.model-preview>a {
  display:block;
  max-width:420px;
  margin:auto
}
.model-preview img {
  display:block;
  width:100%;
  height:auto;
  border:1px solid var(--line);
  box-shadow:0 5px 15px #183c4310
}
.model-preview figcaption {
  margin:1rem 0 0;
  color:var(--muted);
  font-size:.8rem
}
.model-preview figcaption a {
  display:inline-block;
  padding:.4rem 0
}
.fields-table {
  width:100%;
  border-collapse:collapse;
  margin:1.5rem 0;
  font-size:.9rem;
  overflow-wrap:anywhere
}
.fields-table caption {
  text-align:left;
  font-size:.8rem;
  color:var(--muted);
  margin-bottom:.5rem
}
.fields-table th,.fields-table td {
  padding:.8rem;
  text-align:left;
  vertical-align:top;
  border-bottom:1px solid var(--line)
}
.fields-table th {
  background:var(--wash)
}
.fields-table td:first-child {width:32%}
.format-option {display:flex; flex-direction:column; min-width:0}
.format-option .download-link {margin-top:auto; overflow-wrap:anywhere}
@media(max-width:400px) {
  .fields-table th,.fields-table td {padding:.55rem .4rem}
  .fields-table td:first-child {width:40%}
  .model-preview {padding:.75rem}
}
@media print {
  .model-preview {break-inside:avoid; background:white}
  .model-preview img {box-shadow:none}
}

/* Guía de campos: información completa sin controles ni scripts obligatorios. */
.role-summary {
  list-style:none;
  padding:0;
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:.75rem;
  margin:1.5rem 0
}
.role-summary li {
  margin:0;
  padding:1rem;
  background:var(--wash);
  border-top:2px solid var(--ink);
  font-size:.88rem
}
.role-summary strong {display:block; margin-bottom:.5rem}
.field-jumps {
  display:flex;
  flex-wrap:wrap;
  gap:.5rem;
  margin:1.5rem 0
}
.field-jumps a {
  display:inline-flex;
  align-items:center;
  min-height:44px;
  padding:.5rem .8rem;
  border:1px solid var(--line);
  background:white;
  font-size:.82rem
}
.field-guide {list-style:none; padding:0; margin:1.5rem 0}
.field-card {
  margin:1rem 0;
  padding:1.4rem;
  background:white;
  border:1px solid var(--line);
  scroll-margin-top:1rem
}
.field-card h3 {
  display:flex;
  align-items:baseline;
  gap:.85rem;
  font:1.35rem/1.35 var(--serif);
  color:var(--ink);
  margin:0 0 1rem
}
.field-number {font:600 .75rem system-ui,sans-serif; color:var(--accent)}
.field-card dl {margin:0}
.field-card dl>div {
  display:grid;
  grid-template-columns:120px minmax(0,1fr);
  gap:1rem;
  padding:.65rem 0;
  border-top:1px solid var(--line)
}
.field-card dt {font-size:.78rem; color:var(--muted); font-weight:600}
.field-card dd {margin:0; font-size:.9rem; overflow-wrap:anywhere}
.field-card .field-example {font-size:1rem; color:var(--ink); font-weight:600}
.guided-steps {padding-left:1.6rem}
.guided-steps>li {padding:.9rem 0 .9rem .5rem; margin:0; border-bottom:1px solid var(--line)}
.guided-steps>li::marker {color:var(--accent); font-weight:650}
.guided-steps>li>strong {display:block; margin-bottom:.4rem}
@media(max-width:1000px) {
  .role-summary {grid-template-columns:1fr}
  .field-card dl>div {grid-template-columns:1fr; gap:.3rem}
}
@media(max-width:400px) {
  .field-card {padding:1rem}
  .field-card h3 {font-size:1.2rem; gap:.6rem}
  .field-jumps {display:grid; grid-template-columns:1fr}
}
@media print {
  .field-card,.role-summary li {break-inside:avoid}
  .field-jumps {display:none}
}

/* Catálogo programático: datos del caso y recursos originales. */
.programmatic-facts {margin:1.5rem 0}
.programmatic-facts>div {display:grid;grid-template-columns:minmax(130px,1fr) minmax(0,2fr);gap:1rem;padding:.8rem 0;border-top:1px solid var(--line)}
.programmatic-facts dt {font-weight:600;font-size:.85rem}
.programmatic-facts dd {margin:0;overflow-wrap:anywhere}
.programmatic-citations {font-size:.8rem!important;overflow-wrap:anywhere}
.programmatic-diagram {margin:1.5rem 0}
.programmatic-diagram img {display:block;width:auto;max-width:100%;height:auto}
.programmatic-diagram figcaption {font-size:.85rem;margin-top:.75rem}
.programmatic-table {max-width:100%;overflow-x:auto;margin:1.5rem 0}
.programmatic-table table {width:100%;border-collapse:collapse}
.programmatic-table th,.programmatic-table td {padding:.7rem;text-align:left;border-bottom:1px solid var(--line);vertical-align:top}
.programmatic-table:focus-visible {outline:2px solid var(--accent);outline-offset:3px}
.programmatic-article .article-content {width:100%;max-width:100%}
.table-scroll-hint {display:none}
@media(max-width:600px) {.programmatic-table table {min-width:32rem}.table-scroll-hint {display:block;font-size:.85rem!important}}
@media(max-width:600px) {.programmatic-facts>div {grid-template-columns:1fr;gap:.25rem}}
@media print {.programmatic-facts>div,.programmatic-diagram {break-inside:avoid}}

/* Casos de cheque: lectura completa, con restricciones acumulables. */
.cheque-case-jumps {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:0 .9rem;
  margin:1.5rem 0 2rem
}
.cheque-case-jumps a {
  display:flex;
  align-items:center;
  gap:.75rem;
  min-height:48px;
  padding:.65rem .3rem;
  border-bottom:1px solid var(--line);
  font-size:.86rem
}
.cheque-case-jumps span {color:var(--accent); font-size:.72rem; font-weight:650}
.cheque-cases {display:grid; gap:1.25rem; margin:1.5rem 0}
.cheque-case {background:white; border:1px solid var(--line); padding:1.5rem; min-width:0}
.cheque-case>.eyebrow {margin-bottom:.5rem}
.cheque-case h3 {font:1.5rem/1.25 var(--serif); color:var(--ink); margin-bottom:1rem}
.cheque-case dl {margin:0}
.cheque-case dl>div {display:grid; grid-template-columns:115px minmax(0,1fr); gap:1rem; border-top:1px solid var(--line); padding:.7rem 0}
.cheque-case dt {font-size:.78rem; color:var(--muted); font-weight:600}
.cheque-case dd {margin:0; font-size:.9rem; overflow-wrap:anywhere}
.cheque-case-source {margin:.75rem 0 0!important; font-size:.8rem!important}
.cheque-example-facts {list-style:none; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:.75rem; padding:0; margin:1.5rem 0}
.cheque-example-facts li {margin:0; padding:1rem; background:var(--wash); border-top:2px solid var(--ink); font-size:.88rem}
.cheque-example-facts strong {display:block; margin-bottom:.35rem}
.cheque-variant {border-left:3px solid var(--ink); background:var(--wash); padding:1rem 1.2rem; margin:1rem 0}
.cheque-variant .eyebrow {margin:0 0 .5rem}
.cheque-variant p:last-child {margin-bottom:0}
@media(max-width:1000px) {
  .cheque-case dl>div {grid-template-columns:1fr; gap:.25rem}
}
@media(max-width:600px) {
  .cheque-case-jumps,.cheque-example-facts {grid-template-columns:1fr}
  .cheque-case {padding:1rem}
  .cheque-case h3 {font-size:1.35rem}
}
@media print {
  .cheque-case-jumps {display:none}
  .cheque-case,.cheque-variant {break-inside:avoid}
}


/* Compact file actions: opt-in shared component, no global link overrides. */
.file-card-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
a.file-card{--file-color:#145bc8;--file-wash:#edf4ff;display:flex;align-items:center;gap:14px;min-width:0;min-height:88px;padding:18px;background:#fff;color:#102f4b;border:1px solid #ccd6e0;border-radius:6px;text-decoration:none;line-height:1.4;transition:border-color .15s,box-shadow .15s}
a.file-card--pdf{--file-color:#cb2638;--file-wash:#fff0f2}
a.file-card:hover{border-color:var(--file-color);box-shadow:0 2px 8px #102f4b0d;color:#102f4b}
a.file-card:focus-visible{outline:3px solid #006b60;outline-offset:4px}
.file-card__icon{display:grid;place-items:center;flex:0 0 44px;width:44px;height:48px;border-radius:5px;background:var(--file-wash);color:var(--file-color)}
.file-card__icon svg{display:block;width:23px;height:27px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.file-card__copy{min-width:0}
.file-card__copy strong{display:block;font-size:16px;font-weight:750}
.file-card__copy small{display:block;margin-top:4px;font-size:14px;color:#425667;overflow-wrap:anywhere}
.file-card__arrow{flex:0 0 22px;width:22px;height:22px;margin-left:auto;fill:none;stroke:#617083;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
@media(max-width:700px){.file-card-grid{grid-template-columns:minmax(0,1fr)}a.file-card{padding:14px;gap:12px}}
@media(max-width:360px){a.file-card{padding:12px;gap:10px}.file-card__icon{flex-basis:36px;width:36px;height:44px}.file-card__copy small{font-size:13px}.file-card__arrow{flex-basis:18px;width:18px}}

/* Cluster navigation: visible links at every size; activated by the local build. */
.site-header--cluster .navigation-row{gap:24px;align-items:center}
.site-header--cluster .navigation-row nav{gap:4px;flex:1;align-items:center}
.site-header--cluster .navigation-row nav a{min-height:44px;padding:10px 14px;border-radius:6px;color:#102f4b;font-weight:650;font-size:15px;line-height:1.3;border:1px solid transparent}
.site-header--cluster .navigation-row nav a:hover{background:#edf4f6;border-color:#b8cbd4}
.site-header--cluster .navigation-row nav a[aria-current="page"]{background:#102f4b;color:#fff;border-color:#102f4b;box-shadow:inset 0 -3px #19b6a0}
.site-header--cluster .navigation-row nav a[aria-current="location"]{background:#e1f2ed;color:#07554c;border-color:#8db7ad;box-shadow:inset 0 -3px #006b60}
.site-header--cluster .navigation-row nav a:focus-visible,.breadcrumbs a:focus-visible{outline:3px solid #006b60;outline-offset:3px}
.breadcrumbs ol{display:flex;align-items:baseline;flex-wrap:wrap;gap:6px 10px;padding:0;margin:0;list-style:none;max-width:100%;font-size:inherit}
.breadcrumbs li{display:flex;align-items:baseline;gap:10px;margin:0;min-width:0;max-width:100%;line-height:1.5}
.breadcrumbs li+li::before{content:'›';color:#617083;font-size:18px;flex-shrink:0}
.breadcrumbs a{color:#07554c;text-underline-offset:3px;min-height:28px;display:inline-flex;align-items:center;font-weight:600}
.breadcrumbs [aria-current]{overflow-wrap:anywhere;color:#425667}
@media(max-width:1050px){.site-header--cluster .navigation-row{display:block}.site-header--cluster .navigation-row form{max-width:100%;margin-top:12px}.site-header--cluster .navigation-row nav{justify-content:flex-start}}
@media(max-width:600px){.site-header--cluster .navigation-row nav{gap:4px}.site-header--cluster .navigation-row nav a{font-size:14px;padding:10px 12px}.breadcrumbs{font-size:13px}.breadcrumbs ol{gap:4px 8px}.breadcrumbs li{gap:8px}.breadcrumbs a{min-height:32px}}

/* Institutional pages and the human-readable site map. */
.legal-page{font-family:system-ui,-apple-system,"Segoe UI",sans-serif;line-height:1.7;color:#20394c}
.legal-hero{padding:28px 32px;background:#102f4b;border-left:6px solid #19b6a0;border-radius:12px;color:#fff}
.legal-hero h1{font:750 clamp(28px,4vw,42px)/1.2 system-ui,sans-serif;color:#fff;margin:0 0 16px;letter-spacing:-.025em}
.legal-hero p{max-width:780px;color:#e0edf5;margin:0;font-size:18px}
.legal-nav{display:flex;flex-wrap:wrap;gap:8px 24px;padding:14px 20px;margin:18px 0 28px;border:1px solid #bdcfd9;border-radius:8px;background:#fff}
.legal-nav a{display:inline-flex;align-items:center;min-height:44px;font-weight:650;color:#07554c;text-underline-offset:5px}
.legal-nav a[aria-current]{text-decoration-thickness:3px}
.legal-section{padding:26px 30px;margin:0 0 24px;border:1px solid #c5d5df;border-top:4px solid #102f4b;border-radius:12px;background:#fff;scroll-margin-top:24px}
.legal-section h2{font:750 27px/1.25 system-ui,sans-serif;letter-spacing:-.02em;color:#102f4b;margin:0 0 18px}
.legal-section h3{font:700 19px/1.4 system-ui,sans-serif;color:#102f4b;margin:22px 0 8px}
.legal-section p{max-width:850px;margin:0 0 16px}.legal-section p:last-child{margin-bottom:0}
.legal-page a{color:#07554c;text-underline-offset:4px}.legal-page a:focus-visible{outline:3px solid #006b60;outline-offset:4px}
.legal-note{background:#e1f2ed;border-left:4px solid #006b60;padding:14px 18px;border-radius:4px}
.legal-facts{display:grid;grid-template-columns:160px minmax(0,1fr);gap:0;margin:0 0 20px}
.legal-facts dt,.legal-facts dd{padding:14px 12px;border-bottom:1px solid #d5e1e7;margin:0}.legal-facts dt{font-weight:700;color:#102f4b;background:#edf4f6}.legal-facts code{overflow-wrap:anywhere}
.legal-email{font-weight:750;font-size:clamp(18px,3vw,25px);overflow-wrap:anywhere}.legal-updated{color:#476071;font-size:14px}
.map-grid{display:block}.map-family{margin-bottom:24px}.map-countries{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;align-items:start}.map-family>.map-links{columns:2;column-gap:36px}.map-links li{break-inside:avoid}.map-family h2 a{color:#102f4b;text-decoration:none}.map-family h2 a:hover{text-decoration:underline}
.map-links{list-style:none;margin:0;padding:0}.map-links li{border-bottom:1px solid #d8e3e8}.map-links li:last-child{border:0}.map-links a{display:block;padding:10px 0;line-height:1.5}
.map-country{margin-top:24px;padding:2px 18px 12px;background:#edf4f6;border-left:4px solid #008575;border-radius:5px}.map-country h3{margin-top:16px}.map-country h3 a{font-size:20px}
@media(max-width:760px){.map-countries{grid-template-columns:1fr}.map-family>.map-links{columns:1}.legal-hero{padding:24px}.legal-section{padding:24px}.legal-section h2{font-size:24px}.legal-facts{grid-template-columns:1fr}.legal-facts dt{border-bottom:0;padding-bottom:4px}.legal-facts dd{padding-top:6px}.legal-nav{gap:4px 20px}.legal-hero p{font-size:16px}}
@media(max-width:400px){.legal-hero,.legal-section{padding:20px 16px}.map-country{padding-left:12px;padding-right:12px}.legal-nav{padding:10px 16px}}

/* Shared identity: the header must not inherit colors from an older article theme. */
.site-header--cluster{background:#fff;border-bottom:3px solid #102f4b;padding:0 20px;color:#102f4b}
.site-header--cluster .masthead{padding:18px 0;gap:20px}
.site-header--cluster .brand{color:#102f4b;font:750 23px/1.2 system-ui,-apple-system,"Segoe UI",sans-serif;letter-spacing:-.04em;gap:12px}
.site-header--cluster .brand:hover{color:#006b60}
.site-header--cluster .brand-domain{color:#476071;font-weight:500}
.site-header--cluster .brand-mark{width:46px;height:46px;flex:0 0 46px;padding:0;border:0;border-radius:9px;background:#102f4b;color:#79e2d2;box-shadow:inset 0 -3px #19b6a0;letter-spacing:normal}
.site-header--cluster .brand-mark svg{display:block}
.site-header--cluster .site-purpose{color:#476071;font-size:13px}
.site-header--cluster .navigation-row{padding:12px 0 16px;border-top:1px solid #d5e1e7;gap:16px}
.site-header--cluster .navigation-row nav a{padding:10px 11px}
.site-header--cluster .navigation-row form{max-width:300px}
.site-header--cluster .navigation-row input{border-color:#a8becb;border-radius:6px 0 0 6px;background:#f6f9fb;color:#20394c;font-size:14px}
.site-header--cluster .navigation-row input::placeholder{color:#476071}
.site-header--cluster .navigation-row button{border-color:#006b60;border-radius:0 6px 6px 0;background:#006b60;color:#fff;font-size:14px}
.site-header--cluster .navigation-row button:hover{background:#07554c;border-color:#07554c}
.site-header--cluster a:focus-visible,.site-header--cluster input:focus-visible,.site-header--cluster button:focus-visible{outline-color:#006b60}
body:has(.site-header--cluster)>.preview{background:#e3edf2;color:#476071}
body:has(.legal-page){--ink:#102f4b;--text:#20394c;--muted:#476071;--accent:#006b60;--line:#b8cbd4;background:#edf4f6;color:#20394c}
body:has(.legal-page) main{padding-top:24px}
@media(max-width:1050px){.site-header--cluster .navigation-row form{max-width:100%}}
@media(max-width:600px){.site-header--cluster{padding-left:14px;padding-right:14px}.site-header--cluster .masthead{padding:14px 0}.site-header--cluster .brand{font-size:21px;gap:9px}.site-header--cluster .brand-mark{width:40px;height:40px;flex-basis:40px}.site-header--cluster .site-purpose{display:none}.site-header--cluster .navigation-row nav a{padding:10px;font-size:14px}}

/* One in-page index across articles, country guides and directories. */
main nav.page-toc{display:flex;align-items:baseline;gap:12px 22px;margin:18px 0 28px;padding:12px 20px;background:#006b60;color:#fff;border:1px solid #006b60;border-radius:10px;font:400 15px/1.5 system-ui,-apple-system,"Segoe UI",sans-serif;position:static;max-width:none;width:100%}
main .page-toc-label{font-weight:750;white-space:nowrap}
main .page-toc-links{display:flex;flex:1;flex-wrap:wrap;gap:0 22px;min-width:0}
main nav.page-toc a{display:inline-flex;align-items:center;min-height:32px;max-width:100%;padding:3px 0;color:#fff;font:inherit;text-decoration:underline;text-decoration-color:#8ed6ca;text-underline-offset:4px;border:0;overflow-wrap:anywhere}
main nav.page-toc a:hover{color:#ffe09a;text-decoration-color:currentColor}
main nav.page-toc a:focus-visible{outline:3px solid #ffd166;outline-offset:4px;border-radius:2px}
.article-layout:has(>.page-toc){display:block;max-width:none}.article-layout:has(>.page-toc)>.article-content{width:100%;min-width:0}
.toc-family-return{margin:-12px 0 24px;font-size:14px}.toc-family-return a{color:#07554c}
@media(max-width:700px){main nav.page-toc{display:block;padding:12px 16px}main .page-toc-links{margin-top:6px;gap:2px 18px}main nav.page-toc a{min-height:44px}}
@media print{main nav.page-toc,.toc-family-return{display:none}}

/* Manual 336 × 280 unit: reserve its footprint, without live ads in local previews. */
.ad-after-toc{display:flex;flex-direction:column;align-items:center;gap:7px;margin:0 0 30px;padding:0;text-align:center;border:0;background:transparent}
.ad-after-toc-label{font:400 11px/1.4 system-ui,sans-serif;letter-spacing:.06em;text-transform:uppercase;color:#586b77}
.ad-after-toc-box{position:relative;flex-shrink:0;width:336px;height:280px;background:#f4f7f9;outline:1px solid #d3dfe5;border-radius:2px}
.ad-after-toc-box ins{vertical-align:top;text-decoration:none}
.ad-local-preview{position:absolute;inset:0;display:flex;justify-content:center;align-items:center;flex-direction:column;pointer-events:none;font:400 13px/1.7 system-ui,sans-serif;color:#657987}
@media(max-width:359px){.ad-after-toc{display:none}}
@media print{.ad-after-toc{display:none}}

/* Opt-in preview styles: every rule is confined to the three Ecuador pages. */
body:has(.ecuador-pilot){--ink:#102f4b;--text:#20394c;--muted:#4a6070;--paper:#fff;--line:#b8cbd4;--accent:#006b60;--wash:#edf4f6;--sand:#edf4f6;background:#edf4f6;color:#20394c}
body:has(.ecuador-pilot) main{max-width:1140px;padding-top:22px}
body:has(.ecuador-pilot) .site-header{padding-top:6px;padding-bottom:4px;background:#fff;border-bottom:3px solid #102f4b}
body:has(.ecuador-pilot) .site-header button{background:#006b60;color:#fff;border-color:#006b60}
body:has(.ecuador-pilot) .masthead{padding:10px 0}
body:has(.ecuador-pilot) .navigation-row{padding-bottom:10px}
.ecuador-pilot{font-size:18px;line-height:1.6}
.ecuador-pilot h1,.ecuador-pilot h2,.ecuador-pilot h3{font-family:system-ui,-apple-system,"Segoe UI",sans-serif;letter-spacing:-.025em;color:#102f4b}
.ecuador-pilot .article-heading{padding:30px;margin:14px 0 18px;border:1px solid #102f4b;border-left:7px solid #19b6a0;border-radius:14px;max-width:none;background:#102f4b;box-shadow:0 8px 22px #102f4b12}
.ecuador-pilot .article-heading h1{color:#fff}
.ecuador-pilot .article-heading .eyebrow a{color:#79e2d2}
.ecuador-pilot .article-heading h1{font-size:44px;font-weight:700;line-height:1.12;max-width:900px;margin:10px 0 16px}
.ecuador-pilot .article-heading .lead{font-size:18px;line-height:1.6;max-width:820px;margin-bottom:12px;color:#e0edf5}
.ecuador-pilot .breadcrumbs{font-size:14px;margin-bottom:8px}
.ecuador-pilot .ec-hero-actions{display:flex;gap:12px;align-items:stretch;margin-top:22px}
.ecuador-pilot .primary-link{background:#ffd166;color:#102f4b;font-size:17px;font-weight:750;border:1px solid #ffd166;border-radius:8px;padding:13px 20px;margin:0;min-height:50px;gap:9px;box-shadow:0 3px 0 #b7892d}
.ecuador-pilot .primary-link:hover{background:#ffe09a;color:#102f4b}
.ecuador-pilot .ec-secondary{display:inline-flex;align-items:center;justify-content:center;gap:12px;margin:0;font-weight:650;font-size:17px;color:#fff;background:#20435e;border:1px solid #91b6c9;border-radius:8px;padding:13px 20px;text-decoration:none;min-height:50px}
.ecuador-pilot .ec-secondary:hover{background:#2e5570;border-color:#fff;color:#fff}
.ecuador-pilot a:focus-visible,.ecuador-pilot h2:focus{outline:3px solid #006b60;outline-offset:5px}
.ecuador-pilot .article-heading a:focus-visible,.ecuador-pilot .ec-toc a:focus-visible,.ecuador-pilot .related-section a:focus-visible{outline-color:#ffd166}
.ecuador-pilot .ec-scope{font-size:15px;line-height:1.5;border-left:4px solid #b5740b;padding:10px 14px;margin:0 0 20px;max-width:none;background:#fff5db;color:#61450f}
.ecuador-pilot .ec-toc{border:1px solid #006b60;border-radius:10px;padding:16px 20px;font-size:15px;display:flex;gap:20px;align-items:baseline;background:#006b60;color:#fff}
.ecuador-pilot .ec-toc>span{font-weight:700;white-space:nowrap}
.ecuador-pilot .ec-toc>div{display:flex;flex-wrap:wrap;gap:8px 20px}
.ecuador-pilot .ec-toc a{color:#fff;text-decoration-color:#8ed6ca;text-underline-offset:4px}
.ecuador-pilot .ec-toc a:hover{color:#ffe09a;text-decoration-color:currentColor}
.ecuador-pilot .ec-section{margin:28px 0;padding:28px;background:#fff;border:1px solid #b8cbd4;border-radius:12px;box-shadow:0 3px 0 #102f4b08}
.ecuador-pilot .ec-section>h2{padding:0 0 16px;border-bottom:2px solid #c4d8df}
.ecuador-pilot .ec-section--downloads{background:#fff;border:1px solid #b8cbd4;border-top:5px solid #006b60}
.ecuador-pilot .ec-section--downloads>h2{border-color:#84bbae;color:#074e48}
.ecuador-pilot h2{font-size:30px;line-height:1.25;margin:0 0 18px;scroll-margin-top:24px}
.ecuador-pilot h3{font-size:21px;line-height:1.3;margin:0 0 12px}
.ecuador-pilot p{max-width:850px}
.ecuador-pilot .ec-download-grid{display:grid;gap:26px}
.ecuador-pilot .ec-download-group+ .ec-download-group{border-top:1px solid #d9e2e8;padding-top:24px}
.ecuador-pilot .ec-download-group h3{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin-bottom:8px}
.ecuador-pilot .ec-download-group h3 span{font-size:12px;letter-spacing:.04em;font-weight:650;color:#07554c;background:#e4f3ee;padding:4px 8px;border-radius:4px}
.ecuador-pilot .ec-download-group p{font-size:16px;margin:0 0 16px}
.ecuador-pilot .ec-file-note,.ecuador-pilot .ec-date{font-size:15px;color:#425667;margin:18px 0 0}
.ecuador-pilot .ec-document-grid{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:28px;align-items:start}
.ecuador-pilot .model-preview{grid-column:1;margin:0;padding:14px;background:#dce8ef;border:1px solid #9cb6c5;border-radius:8px}
.ecuador-pilot .model-preview img{width:100%;max-width:none;height:auto;box-shadow:none}
.ecuador-pilot .model-preview figcaption{font-size:14px;color:#344f61;line-height:1.45;margin:10px 0 0}
.ecuador-pilot .ec-document-grid>.ec-zoom{grid-column:1;grid-row:2;margin:0;font-size:16px;font-weight:650}
.ecuador-pilot .ec-zoom a{display:flex;gap:10px;align-items:center;border:1px solid #76a99c;border-radius:8px;padding:12px 16px;background:#e4f3ee;color:#07554c;text-decoration:none}
.ecuador-pilot .ec-document-grid>div{grid-column:2;grid-row:1}
.ecuador-pilot dt{font-weight:700}.ecuador-pilot dd{margin:0 0 16px}
.ecuador-pilot .ec-fields{list-style:none;padding:0;display:grid;grid-template-columns:1fr 1fr;gap:20px}
.ecuador-pilot .ec-fields>li{margin:0;padding:20px;border:1px solid #b8cbd4;border-radius:8px;scroll-margin-top:24px;background:#f6f9fb}
.ecuador-pilot .ec-fields h3 span{color:#fff;background:#006b60;display:grid;place-items:center;width:34px;height:34px;border-radius:6px;font-size:16px;margin-bottom:12px;letter-spacing:0}
.ecuador-pilot .ec-fields p{font-size:17px;margin:10px 0 0}
.ecuador-pilot .ec-example-value{background:#e1edf7;border-left:3px solid #1757ae;padding:12px;font-weight:600;color:#163f62}
.ecuador-pilot .ec-archive{font-size:15px;border-top:2px solid #9cb6c5;padding:24px 0;overflow-wrap:anywhere}
.ecuador-pilot .ec-section p>a[href^="/"]{display:inline-flex;align-items:center;gap:18px;padding:14px 18px;border:1px solid #76a99c;border-radius:8px;background:#e4f3ee;color:#07554c;text-decoration:none;font-weight:650;font-size:16px}
.ecuador-pilot .ec-section p>a[href^="/"]::after{content:'→';font-size:23px;flex-shrink:0;margin-left:auto}
.ecuador-pilot .ec-section p>a[href^="/"]:hover{background:#c9e9dd;border-color:#006b60}
.ecuador-pilot .related-section{margin:28px 0;padding:28px;background:#102f4b;border:1px solid #102f4b;border-top:5px solid #19b6a0;border-radius:12px}
.ecuador-pilot .related-section h2{color:#fff}
.ecuador-pilot .related-section .eyebrow{color:#79e2d2}
.ecuador-pilot .related-section ul{display:grid;grid-template-columns:1fr 1fr;gap:16px;padding:0;list-style:none;max-width:none}
.ecuador-pilot .related-section li{margin:0}
.ecuador-pilot .related-section li>a{height:100%;display:flex;align-items:center;gap:20px;padding:22px;border:1px solid #9cb6c5;border-radius:8px;background:#fff;color:#102f4b;text-decoration:none;font-size:19px;font-weight:650;line-height:1.4}
.ecuador-pilot .related-section li>a::after{content:'→';display:grid;place-items:center;min-width:34px;height:34px;margin-left:auto;border-radius:50%;background:#ffd166;font-size:22px}
.ecuador-pilot .related-section li>a:hover{border-color:#ffd166;background:#f0faf6}
.ecuador-pilot .ec-family-next .ec-family-intro{color:#e0edf5;font-size:17px}
.ecuador-pilot .ec-family-next li>a>span{min-width:0}
.ecuador-pilot .ec-family-next li>a strong{display:block;font-size:21px}
.ecuador-pilot .ec-family-next li>a small{display:block;font-size:16px;font-weight:400;line-height:1.5;color:#425667;margin:10px 0 14px}
.ecuador-pilot .ec-next-action{display:block;font-size:15px;font-weight:700;color:#006b60}
.ecuador-pilot .ec-family-return{display:flex;flex-wrap:wrap;gap:12px 28px;margin-top:22px;padding-top:18px;border-top:1px solid #648397}
.ecuador-pilot .ec-family-return a{display:inline-flex;align-items:center;gap:12px;color:#fff;font-size:16px;min-height:44px;text-underline-offset:4px}
.ecuador-pilot .ec-family-return a:hover{color:#ffd166}
.ecuador-pilot .ec-download-group .ec-download-preview{margin:12px 0 0}
.ecuador-pilot .ec-section .ec-download-group .ec-download-preview a{padding:8px 0;border:0;background:transparent;border-radius:0;text-decoration:underline;text-underline-offset:4px;font-size:15px;min-height:44px}
.ecuador-pilot .ec-section .ec-download-group .ec-download-preview a:hover{background:transparent;color:#102f4b}
@media(max-width:700px){
 body:has(.ecuador-pilot) main{padding-top:14px}
 .ecuador-pilot .article-heading{padding:20px 16px;border-radius:12px}
 .ecuador-pilot .article-heading h1{font-size:32px;line-height:1.15;margin:8px 0 14px}
 .ecuador-pilot .ec-hero-actions{gap:8px}
 .ecuador-pilot .ec-hero-actions>a{padding:11px 8px;font-size:14px;gap:7px;flex:1;justify-content:center;text-align:center;line-height:1.3}
 .ecuador-pilot .ec-hero-actions>a>span{display:none}
 .ecuador-pilot .ec-toc{display:block}
 .ecuador-pilot .ec-toc>div{margin-top:8px;gap:8px 16px}
 .ecuador-pilot .article-heading>.eyebrow{margin-bottom:8px}
 .ecuador-pilot .breadcrumbs{font-size:12px}
 .ecuador-pilot h2{font-size:26px}
 .ecuador-pilot .ec-section{margin:24px 0;padding:20px 16px}
 .ecuador-pilot .ec-download-grid,.ecuador-pilot .ec-fields,.ecuador-pilot .ec-document-grid{grid-template-columns:minmax(0,1fr);gap:16px}
 .ecuador-pilot .ec-document-grid>div{grid-column:1;grid-row:3}
 .ecuador-pilot .model-preview{padding:6px}
 .ecuador-pilot .ec-scope{font-size:14px}
 .ecuador-pilot .related-section{padding:18px}
 .ecuador-pilot .related-section ul{grid-template-columns:1fr}
 .ecuador-pilot .related-section li>a{padding:18px;font-size:18px}
}

/* Local homepage only. The other articles keep their current presentation. */
body:has(.site-home){--ink:#102f4b;--text:#20394c;--muted:#476071;--accent:#006b60;--sand:#edf4f6;background:#edf4f6;color:#20394c}
body:has(.site-home) .site-header{background:#fff;border-bottom:3px solid #102f4b}
body:has(.site-home) main{padding-top:24px}
.site-home{font-size:17px;line-height:1.6}
.site-home h1,.site-home h2,.site-home h3,.site-home h4{font-family:system-ui,-apple-system,"Segoe UI",sans-serif;color:#102f4b;letter-spacing:-.025em;font-weight:750;line-height:1.2}
.site-home h2{font-size:29px;margin:0 0 12px}
.site-home h3{font-size:23px;margin:0 0 12px}
.site-home h4{font-size:16px;margin:0 0 12px}
.site-home .hp-hero{background:#102f4b;border-left:6px solid #19b6a0;border-radius:14px;padding:34px 36px;margin-bottom:36px;color:#fff}
.site-home .hp-hero h1{font-size:46px;line-height:1.1;color:#fff;margin:8px 0 18px;max-width:850px}
.site-home .hp-kicker{font-size:12px;text-transform:uppercase;letter-spacing:.09em;font-weight:750;color:#006b60;margin:0 0 12px}
.site-home .hp-hero .hp-kicker{color:#79e2d2}
.site-home .hp-lead{color:#e0edf5;font-size:19px;max-width:720px;margin-bottom:22px}
.site-home .hp-actions{display:flex;flex-wrap:wrap;gap:12px}
.site-home .hp-action{display:inline-flex;align-items:center;justify-content:space-between;gap:20px;background:#ffd166;color:#102f4b;padding:12px 18px;border:1px solid #ffd166;border-radius:7px;font-weight:750;text-decoration:none;min-height:48px}
.site-home .hp-action--secondary{background:#20435e;border-color:#91b6c9;color:#fff}
.site-home .hp-action:hover{background:#ffe09a;color:#102f4b}
.site-home .hp-action--secondary:hover{background:#2e5570;color:#fff}
.site-home .hp-section{margin:0 0 34px;scroll-margin-top:24px}
.site-home .hp-section-heading{display:flex;justify-content:space-between;align-items:baseline;gap:24px;margin-bottom:20px}
.site-home .hp-section-heading>p{color:#476071;margin:0;max-width:500px;font-size:16px}
.site-home .hp-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.site-home .hp-grid--two{grid-template-columns:repeat(2,minmax(0,1fr))}
.site-home .hp-family,.site-home .hp-task,.site-home .hp-format-card{display:flex;flex-direction:column;align-items:flex-start;min-width:0;padding:24px;border:1px solid #c5d5df;border-radius:10px;background:#fff;color:#102f4b;text-decoration:none}
.site-home .hp-family{border-top:5px solid var(--family-color,#006b60)}
.site-home .hp-family--letras{--family-color:#006b60}
.site-home .hp-family--pagares{--family-color:#205ba0}
.site-home .hp-family--cheques{--family-color:#915600}
.site-home .hp-family p,.site-home .hp-task p,.site-home .hp-format-card p{font-size:16px;color:#476071;margin-bottom:20px}
.site-home .hp-number{display:grid;place-items:center;width:36px;height:36px;border-radius:7px;background:#edf4f6;color:var(--family-color,#006b60);font-size:15px;font-weight:750;margin-bottom:16px}
.site-home .hp-card-action{display:flex;align-items:center;justify-content:space-between;gap:14px;width:100%;margin-top:auto;color:#07554c;font-size:15px;font-weight:750}
.site-home .hp-card-action>span{font-size:23px;line-height:1}
.site-home .hp-family:hover,.site-home .hp-task:hover,.site-home .hp-format-card:hover{border-color:#006b60;box-shadow:0 4px 12px #102f4b0d}
.site-home .hp-formats{background:#e1f2ed;border:1px solid #8db7ad;border-left:5px solid #006b60;border-radius:12px;padding:28px}
.site-home .hp-country{display:inline-block;background:#e4f3ee;color:#07554c;padding:3px 9px;border-radius:4px;font-size:13px;font-weight:700;margin-bottom:12px}
.site-home .hp-file-types{display:flex;gap:16px;flex-wrap:wrap;margin-bottom:20px}
.site-home .hp-file{display:inline-flex;gap:7px;align-items:center;font-size:14px;color:#145bc8;font-weight:650}
.site-home .hp-file--pdf{color:#b22435}
.site-home .hp-file svg{width:20px;height:25px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}
.site-home .hp-resource-note{font-size:14px;line-height:1.55;color:#254f47;margin:20px 0 0;max-width:950px}
.site-home .hp-task{border-left:4px solid #006b60}
.site-home .hp-catalogue{border:1px solid #c5d5df;border-top:4px solid var(--family-color,#006b60);border-radius:10px;padding:26px;background:#fff;margin:0 0 20px;scroll-margin-top:24px}
.site-home .hp-catalogue>h3{padding-bottom:16px;border-bottom:1px solid #d5e0e5;margin-bottom:20px}
.site-home .hp-catalogue-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px 30px}
.site-home .hp-link-group ul{list-style:none;margin:0;padding:0}
.site-home .hp-link-group li{margin:0 0 10px}
.site-home .hp-link-group a{color:#07554c;display:inline-block;padding:3px 0;font-size:15px;line-height:1.5;text-underline-offset:4px}
.site-home .hp-other{border-top:1px solid #b8cbd4;padding-top:20px;margin:0 0 24px}
.site-home .hp-other h2{font-size:18px}.site-home .hp-other ul{list-style:none;margin:0;padding:0;font-size:15px}
.site-home a:focus-visible{outline:3px solid #006b60;outline-offset:4px}
.site-home .hp-hero a:focus-visible{outline-color:#ffd166}
@media(max-width:800px){.site-home .hp-grid,.site-home .hp-grid--two,.site-home .hp-catalogue-grid{grid-template-columns:minmax(0,1fr)}.site-home .hp-section-heading{display:block}.site-home .hp-hero{padding:26px 22px}.site-home .hp-hero h1{font-size:36px}.site-home .hp-lead{font-size:17px}.site-home .hp-formats{padding:22px}.site-home .hp-family,.site-home .hp-task,.site-home .hp-format-card{padding:22px}.site-home h2{font-size:26px}.site-home .hp-catalogue{padding:22px}.site-home .hp-link-group+.hp-link-group{border-top:1px solid #d5e0e5;padding-top:20px}}
@media(max-width:400px){.site-home .hp-hero{padding:24px 18px}.site-home .hp-hero h1{font-size:32px}.site-home .hp-actions{display:grid}.site-home .hp-action{font-size:15px;gap:14px}.site-home .hp-formats{padding:20px 16px}.site-home .hp-family,.site-home .hp-task,.site-home .hp-format-card,.site-home .hp-catalogue{padding:20px}.site-home .hp-file-types{gap:10px}}
@media(max-width:360px){.site-home .hp-hero h1{font-size:28px}}

/* Navigation hubs only; no article or download layout overrides. */
body:has(.family-hub){background:#edf4f6;color:#20394c}
.family-hub{font-size:17px;line-height:1.6}
.family-hub h1,.family-hub h2,.family-hub h3{font-family:system-ui,-apple-system,"Segoe UI",sans-serif;color:#102f4b;line-height:1.2;letter-spacing:-.025em;font-weight:750}
.family-hub h2{font-size:29px;margin:0 0 12px;scroll-margin-top:24px}
.family-hub h3{font-size:22px;margin:0 0 12px}
.family-hub .hub-hero{background:#102f4b;border-left:6px solid #19b6a0;border-radius:12px;padding:28px 32px;color:#fff}
.family-hub .hub-hero h1{font-size:44px;color:#fff;margin:8px 0 12px}
.family-hub .hub-kicker{font-size:12px;text-transform:uppercase;letter-spacing:.09em;font-weight:750;color:#006b60;margin:0 0 10px}
.family-hub .hub-hero .hub-kicker{color:#79e2d2}
.family-hub .hub-lead{color:#e0edf5;font-size:19px;max-width:780px;margin:0 0 20px}
.family-hub .hub-actions{display:flex;flex-wrap:wrap;gap:12px}
.family-hub .hub-button{display:inline-flex;align-items:center;justify-content:space-between;gap:20px;background:#ffd166;border:1px solid #ffd166;border-radius:7px;color:#102f4b;padding:11px 16px;min-height:48px;text-decoration:none;font-size:16px;font-weight:750}
.family-hub .hub-button--secondary{background:#20435e;border-color:#91b6c9;color:#fff}
.family-hub .hub-button:hover{background:#ffe09a;color:#102f4b}
.family-hub .hub-button--secondary:hover{background:#2e5570;color:#fff}
.family-hub .hub-index{display:flex;flex-wrap:wrap;gap:4px 24px;margin:16px 0 28px;padding:12px 20px;background:#fff;border:1px solid #c5d5df;border-radius:8px}
.family-hub .hub-index a{display:flex;align-items:center;min-height:44px;font-size:14px;color:#07554c;font-weight:650;text-underline-offset:4px}
.family-hub .hub-section{margin:0 0 28px;padding:28px;border:1px solid #c5d5df;border-top:4px solid #102f4b;border-radius:12px;background:#fff}
.family-hub .hub-intro{color:#476071;margin:0 0 22px;max-width:750px}
.family-hub .hub-resources{background:#e1f2ed;border-color:#8db7ad;border-top-color:#006b60}
.family-hub .hub-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.family-hub .hub-grid--two{grid-template-columns:repeat(2,minmax(0,1fr))}
.family-hub .hub-card{display:flex;flex-direction:column;align-items:flex-start;min-width:0;padding:22px;background:#fff;border:1px solid #bdcfd9;border-radius:8px;color:#102f4b;text-decoration:none}
.family-hub .hub-card p{color:#476071;font-size:16px;margin:0 0 22px}
.family-hub .hub-card-action{display:flex;justify-content:space-between;gap:12px;width:100%;margin-top:auto;color:#07554c;font-weight:750;font-size:15px}
.family-hub .hub-card-action>span{font-size:22px;line-height:1}
.family-hub .hub-card:hover{border-color:#006b60;box-shadow:0 3px 12px #102f4b12}
.family-hub .hub-note{font-size:14px;color:#254f47;margin:20px 0 0;line-height:1.55}
.family-hub .hub-note--directory{margin:0 0 24px;max-width:950px}
.family-hub .hub-file-types{display:flex;gap:16px;flex-wrap:wrap;margin-bottom:14px}
.family-hub .hp-file{display:inline-flex;gap:6px;align-items:center;font-size:13px;font-weight:700;color:#145bc8}
.family-hub .hp-file--pdf{color:#b22435}
.family-hub .hp-file svg{width:19px;height:23px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.family-hub .hub-country{display:grid;grid-template-columns:1.3fr 1fr;gap:24px;align-items:center;border-top-color:#006b60}
.family-hub .hub-country p:last-child{margin-bottom:0;color:#476071}
.family-hub .hub-country-link{display:flex;justify-content:space-between;align-items:center;gap:20px;min-height:64px;padding:18px;background:#edf4f6;border:1px solid #b2c9d5;border-radius:8px;color:#07554c;font-weight:750;text-underline-offset:4px}
.family-hub .hub-cases{border-top-color:#915600}
.family-hub a:focus-visible{outline:3px solid #006b60;outline-offset:4px}
.family-hub .hub-hero a:focus-visible{outline-color:#ffd166}
@media(max-width:800px){.family-hub .hub-grid,.family-hub .hub-grid--two,.family-hub .hub-country{grid-template-columns:minmax(0,1fr)}.family-hub .hub-hero{padding:24px}.family-hub .hub-hero h1{font-size:36px}.family-hub .hub-section{padding:24px}.family-hub .hub-lead{font-size:17px}.family-hub h2{font-size:26px}.family-hub .hub-card{padding:20px}}
@media(max-width:400px){.family-hub .hub-hero,.family-hub .hub-section{padding:20px 16px}.family-hub .hub-hero h1{font-size:30px}.family-hub .hub-actions{display:grid}.family-hub .hub-button{font-size:14px;gap:10px}.family-hub .hub-index{padding:10px 16px;gap:0}.family-hub .hub-index a{width:100%}.family-hub h2{font-size:24px}.family-hub .hub-card{padding:18px}.family-hub .hub-country-link{font-size:16px}}

/* National anchors stay visible within the equivalent country cards. */
.letter-directory h3[id]{scroll-margin-top:24px}

/* Only the cross-family pillar: existing hubs retain their presentation. */
.credit-pillar .credit-source{font-size:14px;line-height:1.6;color:#476071;margin:16px 0 0}
.credit-pillar .hub-hero .credit-source{color:#d7e9ee;max-width:850px}
.credit-pillar .hub-hero .credit-source a{color:#a3f1df;text-underline-offset:3px}
.credit-pillar .credit-table{border:1px solid #b4cbd6;border-radius:8px;margin:20px 0}
.credit-pillar .credit-table table{min-width:740px;margin:0;font-size:16px}
.credit-pillar .credit-table caption{text-align:left;padding:14px 18px;background:#edf4f6;font-weight:650;color:#102f4b}
.credit-pillar .credit-table th,.credit-pillar .credit-table td{padding:18px;line-height:1.6;border-bottom:1px solid #c5d5df}
.credit-pillar .credit-table thead th{background:#102f4b;color:#fff}
.credit-pillar .credit-table tbody th{background:#e1f2ed;color:#07554c;width:17%}
.credit-pillar .credit-table td{width:27.66%}
.credit-pillar .credit-table tr:last-child>*{border-bottom:0}
.credit-pillar .credit-example{padding:22px;border:1px solid #8db7ad;border-radius:8px;background:#fff;min-width:0}
.credit-pillar .credit-number{display:block;font-size:14px;font-weight:800;color:#006b60;margin-bottom:12px}
.credit-pillar .credit-key{padding-top:14px;border-top:2px solid #ffd166;font-weight:700;color:#07554c;font-size:15px;margin-bottom:0}
.credit-pillar .credit-countries{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 28px;margin-bottom:0}
.credit-pillar .credit-countries>div{padding:20px 0;border-top:1px solid #bdcfd9}
.credit-pillar dt{font-size:19px;font-weight:750;color:#102f4b;margin-bottom:8px}
.credit-pillar dd{margin:0;line-height:1.7}
.credit-pillar .credit-directory{display:flex;justify-content:space-between;gap:20px;margin-top:22px;font-weight:700;color:#07554c;text-underline-offset:4px}
.credit-pillar .credit-sources{border-top-color:#8e6611;font-size:15px}
.credit-pillar .credit-sources h2{font-size:25px}
@media(max-width:800px){.credit-pillar .credit-countries{grid-template-columns:1fr}.credit-pillar .table-scroll-hint{display:block;font-size:14px}.credit-pillar .credit-table th,.credit-pillar .credit-table td{padding:14px}}

/* Concept article: shared palette, semantic text diagram, no generated document image. */
.letter-definition .ld-role{background:#fff;padding:22px;border:1px solid #bdcfd9;border-radius:8px;min-width:0}
.letter-definition .ld-role p:last-child{margin-bottom:0}
.letter-definition .ld-label{display:block;margin-bottom:12px;font-size:13px;font-weight:750;color:#07554c}
.letter-definition .ld-source{font-size:14px;line-height:1.6;color:#476071;margin:20px 0}
.letter-definition .ld-flow{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px;list-style:none;margin:24px 0;padding:0}
.letter-definition .ld-flow li{position:relative;background:#102f4b;border-top:5px solid #ffd166;color:#fff;padding:22px;border-radius:8px}
.letter-definition .ld-flow li:not(:last-child)::after{content:'→';position:absolute;right:-24px;top:44%;color:#006b60;font-size:25px;font-weight:750}
.letter-definition .ld-flow strong{display:block;font-size:27px;line-height:1.2;margin-bottom:8px}
.letter-definition .ld-flow span{display:block;color:#91eed9;font-size:14px;font-weight:650}
.letter-definition .ld-flow p{margin:14px 0 0;font-size:16px;color:#e0edf5}
.letter-definition .ld-next{display:inline-flex;align-items:center;justify-content:space-between;gap:20px;padding:12px 16px;border:1px solid #8db7ad;border-radius:6px;background:#fff;font-weight:700;color:#07554c;text-underline-offset:4px}
.letter-definition .ld-sources,.letter-definition .ld-archive{font-size:15px}
.letter-definition .ld-sources h2,.letter-definition .ld-archive h2{font-size:25px}
.letter-definition .ld-sources{border-top-color:#915600}
.letter-definition .ld-archive{border-top:1px solid #c5d5df;background:#f6f9fa}
@media(max-width:800px){.letter-definition .ld-flow{grid-template-columns:1fr;gap:28px}.letter-definition .ld-flow li:not(:last-child)::after{content:'↓';top:auto;right:calc(50% - 8px);bottom:-29px}.letter-definition .ld-role{padding:20px}}

/* General reading tasks; country documents retain their own layouts. */
.letter-general .lg-cases{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.letter-general .lg-case{min-width:0;background:#fff;border:1px solid #8db7ad;border-top:4px solid #006b60;border-radius:9px;padding:24px;display:flex;flex-direction:column}
.letter-general .lg-case h3{font-size:28px;margin-bottom:12px}
.letter-general .lg-case dl{margin:0}
.letter-general .lg-case dl>div{padding:9px 0;border-bottom:1px solid #d6e2e5}
.letter-general .lg-case dt{font-size:13px;color:#476071}
.letter-general .lg-case dd{font-weight:650;margin:2px 0 0;color:#102f4b}
.letter-general .lg-case>p:not(.hub-kicker){font-size:16px}
.letter-general .lg-case .hub-country-link{margin-top:auto;font-size:15px;min-height:48px;padding:12px 14px}
.letter-general .lg-checklist{list-style:none;padding:0}
.letter-general .lg-checklist li{padding:14px 16px;margin:10px 0;border-left:4px solid #006b60;background:#edf4f6;border-radius:0 6px 6px 0}
@media(max-width:800px){.letter-general .lg-cases{grid-template-columns:minmax(0,1fr)}.letter-general .lg-case{padding:20px}.letter-general .lg-case h3{font-size:25px}}

/* Local document presentation; no other article styles change. */
.pg-documents .article-heading{max-width:none;padding:24px 28px;background:#102f4b;border-left:6px solid #19b6a0;border-radius:10px;color:white}
.pg-documents .article-heading h1{font-size:clamp(32px,4vw,44px);line-height:1.12;margin:12px 0 16px}
.pg-documents .article-heading .lead{max-width:780px;font-size:18px;line-height:1.6;margin:0 0 16px}
.pg-documents .article-heading h1,.pg-documents .article-heading .lead{color:white}
.pg-documents .article-heading .eyebrow a,.pg-documents .article-heading .metadata{color:#bde7e1}
.pg-actions{display:flex;flex-wrap:wrap;align-items:center;gap:12px}
.pg-actions .primary-link{margin:0;background:#ffd166;color:#102f4b;border-color:#ffd166}
.pg-example-link{display:inline-flex;align-items:center;min-height:44px;padding:10px 16px;border:1px solid #91b6c9;border-radius:6px;color:white;background:#20435e;font-weight:700;text-decoration:none}
.pg-example-link:hover{color:white;background:#2e5570}
.pg-documents .pg-document-section{padding:24px;border:1px solid #bdcfd9;border-top:4px solid #006b60;border-radius:8px;background:#fff;margin-bottom:24px}
.pg-document-section h2{scroll-margin-top:24px}
.pg-document-section:has(#descargas){background:#e1f2ed}
.pg-download-group{margin:0 0 22px}
.pg-download-group h3{margin:0 0 10px;color:#102f4b}
.pg-download-group small{font-size:14px;font-weight:400;display:block;color:#315c62}
.pg-download-group>p{font-size:14px;margin:9px 0}
#pg-document-review{font-size:14px;border-top:1px solid #a7c6bf;padding-top:14px}
.pg-documents .model-preview{margin-top:14px;padding:10px;background:#edf4f6}
.pg-documents .model-preview>a{max-width:700px}
@media(max-width:600px){.pg-documents .article-heading{padding:20px}.pg-documents .pg-document-section{padding:16px}.pg-actions{display:grid}.pg-actions>a{width:100%;justify-content:space-between;box-sizing:border-box}.pg-documents .model-preview{padding:0}.pg-documents .model-preview figcaption{padding:10px}}

/* Filling guide only; document styles are shared with the download page. */
.pg-guide .pg-fields{list-style:none;margin:22px 0;padding:0;display:grid;gap:18px}
.pg-guide .pg-field{padding:22px;border:1px solid #bdcfd9;border-radius:8px;background:#f7fafb}
.pg-guide .pg-field h3{display:flex;gap:12px;align-items:center;margin:0 0 12px;font-size:21px;color:#102f4b;scroll-margin-top:24px}
.pg-step-number{display:inline-grid;place-items:center;flex:0 0 34px;height:34px;background:#006b60;color:white;border-radius:50%;font-size:17px}
.pg-guide .pg-field p{margin:0 0 14px}
.pg-field-example{padding:14px 16px;background:#e1f2ed;border-left:3px solid #006b60;overflow-wrap:anywhere}
.pg-field-example span{display:block;color:#315c62;font-size:13px;margin-bottom:5px}
.pg-field-example strong{font-size:18px;color:#102f4b}
.pg-guide .pg-guide-note,.pg-guide #pg-guide-review{font-size:14px;line-height:1.65;margin-top:20px}
.pg-checklist{padding-left:22px}.pg-checklist li{margin-bottom:16px}
.pg-format-route{display:flex;gap:16px;align-items:center;padding:20px;background:white;border:1px solid #bdcfd9;border-radius:8px;text-decoration:none;color:#102f4b}
.pg-format-route>span:nth-child(2){flex:1}.pg-format-route strong,.pg-format-route small{display:block}.pg-format-route small{font-size:14px;margin-top:5px;color:#315c62}
.pg-format-icons{display:flex;gap:5px}.pg-format-icons span{display:grid;place-items:center;width:35px;height:44px;border:1px solid currentColor;border-radius:3px;background:#edf3ff;color:#1554c0;font-size:14px;font-weight:700}.pg-format-icons span+span{color:#c82037;background:#fff0f2;font-size:11px}
.pg-format-route:hover{border-color:#006b60;box-shadow:0 2px 8px #102f4b15}
.pg-guide-related{padding:24px;background:#102f4b;border-radius:8px;color:white}
.pg-guide-related h2{color:white}.pg-guide-related ul{list-style:none;padding:0;display:grid;gap:12px}.pg-guide-related a{display:block;min-height:44px;padding:12px 16px;border:1px solid #789caf;border-radius:6px;color:white;text-decoration:none}.pg-guide-related a:hover{background:#20435e}
.pg-guide span[id]{scroll-margin-top:24px}
@media(max-width:600px){.pg-guide .pg-field{padding:16px}.pg-guide .pg-field h3{align-items:flex-start;font-size:20px}.pg-format-route{padding:14px;gap:10px}.pg-format-icons{flex-direction:column}.pg-format-icons span{height:29px;width:30px}.pg-guide-related{padding:18px}}

.cheque-panel{background:#fff;border:1px solid #bdcfd9;border-top:4px solid #006b60;border-radius:10px;padding:26px;margin:28px 0}
.cheque-panel h2{margin-top:0;scroll-margin-top:24px}.cheque-panel h3{font-size:22px;margin:24px 0 16px}
.cheque-visual{margin:0}.cheque-visual>a{display:block;border:1px solid #88aaa7;border-radius:10px;padding:10px;background:#f7fbfa}.cheque-visual img{display:block;width:100%;height:auto}
.cheque-visual figcaption{font-size:14px;line-height:1.6;margin-top:10px;color:#315c62}.cheque-visual a:focus-visible{outline:3px solid #006b60;outline-offset:4px}
.cheque-reading{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:0}.cheque-reading>div{padding:15px 18px;border-left:3px solid #006b60;background:#edf6f3}.cheque-reading dt{font-size:14px;color:#315c62;margin-bottom:6px}.cheque-reading dd{margin:0;font-size:17px;color:#102f4b;overflow-wrap:anywhere}
.cheque-visual-note{border-top:1px solid #bdcfd9;padding-top:18px;margin-top:24px}.cheque-visual-source{font-size:13px;color:#315c62}.cheque-visual-action a{display:inline-flex;align-items:center;min-height:44px;padding:10px 18px;border-radius:6px;background:#102f4b;color:white;font-weight:700;text-decoration:none}
@media(max-width:600px){.cheque-panel{padding:16px}.cheque-visual>a{padding:4px}.cheque-reading{grid-template-columns:1fr}.cheque-reading dd{font-size:18px}.cheque-panel h3{font-size:21px}}

/* Only the two payment guides use this component. */
.payment-guide .payment-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:24px 0}
.payment-guide .payment-summary>div{background:#fff;border:1px solid #a5c8ca;border-top:4px solid #087c77;border-radius:10px;padding:18px}
.payment-guide .payment-summary span{display:block;color:#345568;font-size:.9rem}
.payment-guide .payment-summary strong{display:block;color:#12334c;font-size:1.5rem;margin-top:6px;font-variant-numeric:tabular-nums}
.payment-guide .programmatic-table{background:white;border:1px solid #a5c8ca;border-radius:10px}
.payment-guide caption{padding:14px;text-align:left;font-weight:700;color:#12334c}
.payment-guide thead{background:#12334c;color:#fff}
.payment-guide td{font-variant-numeric:tabular-nums;white-space:nowrap}
.payment-guide tbody tr:nth-child(even){background:#eef7f6}
.payment-guide tbody tr:last-child td:last-child{font-weight:800;color:#075e59}
.payment-guide .payment-equation{padding:14px 18px;border-left:4px solid #d29b18;background:#fff7dc;font-weight:700;color:#12334c}
.payment-guide .payment-receipt{padding:22px;border:1px solid #a5c8ca;border-left:5px solid #087c77;border-radius:10px;background:#f3faf9}
.payment-guide .payment-receipt p:last-child{margin-bottom:0}
@media(max-width:640px){.payment-guide .payment-summary{grid-template-columns:1fr}.payment-guide .payment-summary>div{padding:12px 16px}.payment-guide .payment-summary strong{font-size:1.3rem}.payment-guide .payment-receipt{padding:16px}}
@media print{.payment-guide .programmatic-table{overflow:visible}.payment-guide .programmatic-table table{min-width:0}.payment-guide .table-scroll-hint{display:none}}

/* Two-column settlement table: show concept and amount together on small screens. */
.discount-guide .programmatic-table{background:#fff;border:1px solid #a5c8ca;border-radius:8px}
.discount-guide .programmatic-table table{min-width:0;table-layout:fixed}
.discount-guide .programmatic-table caption{padding:14px;text-align:left;font-weight:700;color:#12334c}
.discount-guide .programmatic-table thead{background:#12334c;color:#fff}
.discount-guide .programmatic-table th:first-child{width:60%}
.discount-guide .programmatic-table td{font-variant-numeric:tabular-nums;white-space:nowrap}
.discount-guide .programmatic-table tbody tr:last-child{background:#e1f2ed;color:#07554c}
@media(max-width:600px){.discount-guide .programmatic-table th,.discount-guide .programmatic-table td{padding:12px 8px;font-size:14px}.discount-guide .programmatic-table th:first-child{width:55%}}
