/* Formatos — sistema visual inspirado en lumbre.lat */
:root {
  --navy: #123a5e;
  --navy-hi: #1c5182;
  --navy-lo: #0d2942;
  --green: #0f8a4f;
  --green-dark: #0b6d3e;
  --green-soft: #e8f4ee;
  --red: #c9343a;
  --red-soft: #fbecec;
  --ink: #1b2431;
  --muted: #5a6b7d;
  --line: #dfe5ec;
  --line-soft: #edf1f5;
  --bg: #f4f6f9;
  --card: #ffffff;
  --amber: #b9632c;
  --amber-soft: #fdf3e8;
  --teal: #13747a;
  --terracotta: #b55239;
  --plum: #6d4a7a;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow: 0 1px 2px rgba(18, 58, 94, .05), 0 10px 30px rgba(18, 58, 94, .06);
  --shadow-soft: 0 1px 2px rgba(18, 58, 94, .05);
  --font-ui: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-doc: "Noto Serif", Georgia, "Times New Roman", serif;
  --container: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-ui);
  color: var(--ink);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; }
a { color: var(--navy-hi); text-decoration: none; }
a:hover { color: var(--navy); text-decoration: underline; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.2; letter-spacing: -.015em; color: var(--navy); }
h1 { font-size: clamp(2rem, 4vw, 3.1rem); font-weight: 750; }
h2 { font-size: clamp(1.4rem, 2.4vw, 2rem); font-weight: 720; }
h3 { font-size: 1.15rem; font-weight: 680; }
ul, ol { margin-top: 0; }
hr { border: 0; border-top: 1px solid var(--line); margin: 1.5rem 0; }

:focus-visible {
  outline: 3px solid rgba(28, 81, 130, .35);
  outline-offset: 2px;
  border-radius: 4px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--navy);
  color: #fff;
  padding: .7rem 1rem;
  z-index: 200;
}
.skip-link:focus { left: 12px; top: 12px; color: #fff; }

/* — Cabecera — */
.topline {
  background: var(--navy-lo);
  color: rgba(255, 255, 255, .78);
  font-size: .78rem;
  letter-spacing: .02em;
}
.topline-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .45rem 0;
}
.topline a { color: rgba(255, 255, 255, .85); }
.topline a:hover { color: #fff; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  min-height: 72px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  color: var(--navy);
  font-weight: 800;
  letter-spacing: -.03em;
  font-size: 1.35rem;
}
.brand:hover { text-decoration: none; color: var(--navy); }
.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: var(--navy);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: inset 0 -8px 16px rgba(0, 0, 0, .12);
}
.brand-dot { color: var(--green); }

.main-nav {
  display: flex;
  align-items: center;
  gap: .35rem;
  margin-left: auto;
}
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .55rem .8rem;
  border-radius: 8px;
  color: var(--ink);
  font-weight: 560;
  font-size: .95rem;
}
.nav-link:hover { background: var(--bg); text-decoration: none; color: var(--navy); }
.nav-link.is-active { color: var(--navy); background: #edf3f9; }

.header-actions { display: flex; align-items: center; gap: .6rem; margin-left: .6rem; }
.user-menu { position: relative; }
.user-menu summary {
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  cursor: pointer;
  padding: .35rem .55rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  font-weight: 600;
  font-size: .9rem;
  color: var(--ink);
}
.user-menu summary::-webkit-details-marker { display: none; }
.avatar {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: .78rem;
  font-weight: 700;
}
.user-menu-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  width: 220px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: .45rem;
  z-index: 80;
}
.user-menu-panel a,
.user-menu-panel button {
  display: flex;
  width: 100%;
  align-items: center;
  gap: .55rem;
  padding: .55rem .65rem;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: .92rem;
  cursor: pointer;
  text-align: left;
}
.user-menu-panel a:hover,
.user-menu-panel button:hover { background: var(--bg); text-decoration: none; }
.user-menu-panel .danger { color: var(--red); }

.mobile-toggle {
  display: none;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 8px;
  padding: .45rem .55rem;
  cursor: pointer;
  color: var(--navy);
}

/* — Botones — */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: .7rem 1.05rem;
  font: inherit;
  font-size: .95rem;
  font-weight: 650;
  line-height: 1.2;
  cursor: pointer;
  transition: background .16s ease, border-color .16s ease, transform .06s ease, color .16s ease;
  text-decoration: none;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .55; cursor: not-allowed; }
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-dark); color: #fff; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-lo); color: #fff; }
.btn-outline { background: #fff; border-color: var(--line); color: var(--navy); }
.btn-outline:hover { border-color: #b9c7d6; background: #f8fafc; color: var(--navy); }
.btn-ghost { background: transparent; color: var(--navy); }
.btn-ghost:hover { background: rgba(18, 58, 94, .07); color: var(--navy); }
.btn-danger { background: #fff; border-color: #ecc7c7; color: var(--red); }
.btn-danger:hover { background: var(--red-soft); color: var(--red); }
.btn-sm { padding: .45rem .7rem; font-size: .85rem; border-radius: 7px; }
.btn-lg { padding: .88rem 1.35rem; font-size: 1rem; }
.btn-block { width: 100%; }
.btn .icon { width: 18px; height: 18px; }

/* — Hero — */
.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(900px 420px at 88% -10%, rgba(15, 138, 79, .36), transparent 62%),
    radial-gradient(700px 500px at 8% 110%, rgba(28, 81, 130, .9), transparent 60%),
    linear-gradient(135deg, var(--navy-lo), var(--navy) 55%, #16466f);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, .08) 1px, transparent 1px);
  background-size: 22px 22px;
  opacity: .35;
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, .8fr);
  gap: 3rem;
  align-items: center;
  padding: 4.4rem 0 4.6rem;
}
.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .82rem;
  font-weight: 650;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #bfe5cf;
  margin-bottom: 1.1rem;
}
.hero-kicker::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--green);
  display: inline-block;
}
.hero h1 { color: #fff; max-width: 15ch; margin-bottom: 1rem; }
.hero h1 em { font-style: normal; color: #a9e3c1; }
.hero-lead {
  color: rgba(255, 255, 255, .82);
  font-size: 1.1rem;
  max-width: 54ch;
  margin-bottom: 1.7rem;
}
.hero-search {
  display: flex;
  align-items: stretch;
  gap: .5rem;
  background: #fff;
  padding: .45rem;
  border-radius: 12px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, .22);
  max-width: 640px;
}
.hero-search .search-field {
  flex: 1;
  display: flex;
  align-items: center;
  gap: .55rem;
  padding: 0 .6rem;
  color: var(--muted);
}
.hero-search input {
  border: 0;
  outline: 0;
  width: 100%;
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: transparent;
  padding: .55rem 0;
}
.hero-search input::placeholder { color: #8b98a6; }
.hero-search .btn { border-radius: 8px; }
.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin-top: 1.1rem;
}
.hero .chip {
  background: rgba(255, 255, 255, .1);
  border-color: rgba(255, 255, 255, .18);
  color: rgba(255, 255, 255, .9);
}
.hero .chip:hover { background: rgba(255, 255, 255, .18); color: #fff; border-color: rgba(255, 255, 255, .28); }
.hero-note {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-top: 1.2rem;
  font-size: .82rem;
  color: rgba(255, 255, 255, .62);
}
.hero-note .icon { width: 15px; height: 15px; color: #9fd8b6; }

.hero-visual { display: flex; justify-content: center; }
.paper-stack { position: relative; width: 300px; height: 360px; }
.paper-sheet {
  position: absolute;
  inset: 0;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  padding: 2rem 1.7rem;
  box-shadow: 0 30px 60px rgba(0, 0, 0, .28);
  font-family: var(--font-doc);
}
.paper-sheet.back {
  transform: rotate(-5deg) translate(-14px, 12px);
  background: #e9eef4;
  opacity: .65;
}
.paper-sheet.mid {
  transform: rotate(3deg) translate(12px, 4px);
  background: #f5f7fa;
  opacity: .8;
}
.paper-sheet .sheet-title {
  font-size: .72rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
  font-family: var(--font-ui);
  margin-bottom: 1.1rem;
}
.paper-sheet .sheet-heading {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: .9rem;
  line-height: 1.25;
}
.paper-sheet .sheet-line {
  height: 7px;
  border-radius: 3px;
  background: #e7ebf0;
  margin: 0 0 9px;
}
.paper-sheet .sheet-line.short { width: 62%; }
.paper-sheet .sheet-line.tiny { width: 38%; }
.paper-sheet .sheet-sign {
  margin-top: 2rem;
  border-top: 1px solid #cfd8e2;
  width: 60%;
  padding-top: .45rem;
  font-size: .62rem;
  color: var(--muted);
  font-family: var(--font-ui);
}
.paper-badge {
  position: absolute;
  right: -24px;
  bottom: 24px;
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  background: var(--green);
  color: #fff;
  font-family: var(--font-ui);
  font-size: .78rem;
  font-weight: 700;
  padding: .55rem .8rem;
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .24);
  transform: rotate(2deg);
}
.paper-badge .icon { width: 15px; height: 15px; }

/* — Secciones — */
.section { padding: 3.4rem 0; }
.section-tight { padding: 2.4rem 0; }
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1.7rem;
}
.section-head > div { max-width: 680px; }
.section-title { margin-bottom: .35rem; }
.section-lead { color: var(--muted); margin: 0; font-size: 1.02rem; }
.eyebrow {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--green-dark);
  margin-bottom: .45rem;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-weight: 650;
  font-size: .92rem;
  white-space: nowrap;
}
.text-link .icon { width: 16px; height: 16px; }

.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  border-radius: 999px;
  padding: .4rem .8rem;
  font-size: .86rem;
  font-weight: 560;
  transition: border-color .15s ease, background .15s ease;
}
.chip:hover { border-color: #b9c7d6; background: #f8fafc; color: var(--navy); text-decoration: none; }
.chip.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }
.chip .count { opacity: .6; font-size: .78rem; }

.category-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
}
.category-card {
  display: flex;
  flex-direction: column;
  gap: .55rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.15rem 1.1rem;
  box-shadow: var(--shadow-soft);
  color: var(--ink);
  min-height: 150px;
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}
.category-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: #c8d4e1;
  text-decoration: none;
  color: var(--ink);
}
.category-icon {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: #eef3f8;
  color: var(--navy);
}
.category-icon .icon { width: 20px; height: 20px; }
.accent-terracotta .category-icon { background: #fbeee9; color: var(--terracotta); }
.accent-amber .category-icon { background: var(--amber-soft); color: var(--amber); }
.accent-teal .category-icon { background: #e8f3f3; color: var(--teal); }
.accent-green .category-icon { background: var(--green-soft); color: var(--green-dark); }
.accent-plum .category-icon { background: #f2ecf5; color: var(--plum); }
.accent-navy .category-icon { background: #eaf0f6; color: var(--navy); }
.category-card h3 { margin: 0; font-size: .98rem; line-height: 1.3; }
.category-card p { margin: 0; font-size: .82rem; color: var(--muted); line-height: 1.4; }
.category-count { margin-top: auto; font-size: .78rem; font-weight: 650; color: var(--green-dark); }

.format-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem;
}
.format-card {
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.3rem 1.25rem 1.1rem;
  box-shadow: var(--shadow-soft);
  color: var(--ink);
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}
.format-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: #c8d4e1;
  text-decoration: none;
  color: var(--ink);
}
.format-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .6rem;
  margin-bottom: .65rem;
}
.format-card-cat {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}
.format-card h3 { font-size: 1.08rem; margin-bottom: .35rem; }
.format-card p { color: var(--muted); font-size: .9rem; margin-bottom: 1rem; flex: 1; }
.format-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .6rem;
  border-top: 1px solid var(--line-soft);
  padding-top: .75rem;
  font-size: .84rem;
  font-weight: 650;
  color: var(--navy);
}
.format-card-foot .icon { width: 16px; height: 16px; color: var(--green); }
.tag {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  background: #f1f5f9;
  color: var(--muted);
  border-radius: 999px;
  padding: .18rem .55rem;
  font-size: .72rem;
  font-weight: 600;
  white-space: nowrap;
}
.tag-green { background: var(--green-soft); color: var(--green-dark); }
.tag-amber { background: var(--amber-soft); color: var(--amber); }
.tag-red { background: var(--red-soft); color: var(--red); }

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  counter-reset: step;
}
.step-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.3rem 1.15rem;
}
.step-card .step-number {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--navy);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: .8rem;
  font-weight: 700;
  margin-bottom: .8rem;
}
.step-card:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -1rem;
  top: 50%;
  width: 1rem;
  height: 1px;
  background: var(--line);
}
.step-card h3 { font-size: .96rem; margin-bottom: .3rem; }
.step-card p { margin: 0; font-size: .85rem; color: var(--muted); }

.trust-band { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trust-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 2.5rem;
  align-items: center;
  padding: 2.6rem 0;
}
.trust-grid h2 { font-size: 1.5rem; }
.trust-grid p { color: var(--muted); margin-bottom: .6rem; }
.privacy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .8rem;
}
.privacy-item {
  display: flex;
  gap: .55rem;
  align-items: flex-start;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: .75rem .8rem;
  font-size: .84rem;
  color: var(--ink);
}
.privacy-item .icon { width: 17px; height: 17px; color: var(--green-dark); flex: 0 0 auto; margin-top: 2px; }

.cta-band {
  background: linear-gradient(120deg, var(--navy-lo), var(--navy));
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 2.3rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.cta-band h2 { color: #fff; margin-bottom: .35rem; font-size: 1.6rem; }
.cta-band p { color: rgba(255, 255, 255, .78); margin: 0; }
.cta-band .btn { flex: 0 0 auto; }

/* — Migas y cabeceras de página — */
.page-head {
  background: #fff;
  border-bottom: 1px solid var(--line);
  padding: 2.2rem 0 1.9rem;
}
.page-head h1 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin-bottom: .4rem; }
.page-head p { color: var(--muted); margin: 0; max-width: 70ch; }
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .35rem;
  font-size: .8rem;
  color: var(--muted);
  margin-bottom: 1rem;
}
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--navy); }
.breadcrumb .sep { opacity: .5; }

/* — Catálogo — */
.catalog-toolbar {
  display: flex;
  align-items: center;
  gap: .8rem;
  flex-wrap: wrap;
  margin-bottom: 1.2rem;
}
.catalog-search {
  display: flex;
  align-items: center;
  gap: .5rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: .35rem .5rem .35rem .7rem;
  min-width: 280px;
  flex: 1;
  max-width: 430px;
}
.catalog-search .icon { width: 18px; height: 18px; color: var(--muted); }
.catalog-search input { border: 0; outline: 0; background: transparent; font: inherit; padding: .4rem 0; width: 100%; }
.filter-pills { display: flex; flex-wrap: wrap; gap: .45rem; margin-bottom: 1.4rem; }
.result-meta { color: var(--muted); font-size: .88rem; margin-bottom: 1rem; }
.catalog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.1rem; }

.empty-state {
  background: #fff;
  border: 1px dashed #c8d3df;
  border-radius: var(--radius);
  padding: 3rem 1.5rem;
  text-align: center;
  color: var(--muted);
}
.empty-state .icon { width: 38px; height: 38px; color: #9aa9b8; margin-bottom: .8rem; }
.empty-state h3 { color: var(--ink); margin-bottom: .35rem; }
.empty-state p { margin: 0 auto .9rem; max-width: 46ch; }

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .3rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}
.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 .6rem;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  font-size: .88rem;
}
.pagination a:hover { border-color: #b9c7d6; background: #f8fafc; text-decoration: none; }
.pagination .is-current { background: var(--navy); border-color: var(--navy); color: #fff; }
.pagination .is-disabled { opacity: .45; }

/* — Ficha de formato — */
.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(300px, .75fr);
  gap: 2.2rem;
  align-items: start;
  padding: 2.2rem 0 3rem;
}
.detail-main > section { margin-bottom: 2rem; }
.detail-main h2 { font-size: 1.25rem; margin-bottom: .7rem; }
.detail-main p { color: #344152; }
.detail-points { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.detail-points li { display: flex; gap: .55rem; align-items: flex-start; font-size: .94rem; color: #344152; }
.detail-points .icon { width: 17px; height: 17px; color: var(--green-dark); flex: 0 0 auto; margin-top: 3px; }
.detail-side { position: sticky; top: 92px; }
.sticky-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.4rem;
}
.sticky-card h3 { font-size: 1.05rem; margin-bottom: .55rem; }
.sticky-card .btn { margin-top: .4rem; }
.sticky-card .meta-list { list-style: none; padding: 0; margin: 1rem 0 0; border-top: 1px solid var(--line-soft); }
.sticky-card .meta-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: .55rem 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: .84rem;
  color: var(--muted);
}
.sticky-card .meta-list strong { color: var(--ink); font-weight: 600; text-align: right; }
.side-note { font-size: .78rem; color: var(--muted); margin-top: .85rem; }

.legal-box {
  background: var(--amber-soft);
  border: 1px solid #f0d8bf;
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
  font-size: .86rem;
  color: #69452a;
}
.legal-box strong { color: #7a3e12; }
.legal-status {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  border-radius: 999px;
  padding: .2rem .6rem;
  font-size: .72rem;
  font-weight: 700;
  background: #fff4e6;
  color: #8a4a1f;
  border: 1px solid #efd6b8;
}

.sample-box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.sample-box-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .85rem 1rem;
  border-bottom: 1px solid var(--line);
  background: #fbfcfd;
}
.sample-box-head h2 { font-size: 1rem; margin: 0; }
.sample-box iframe {
  display: block;
  width: 100%;
  height: 620px;
  border: 0;
  background: #eef1f5;
}

/* — Formularios — */
.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-soft);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: flex; flex-direction: column; gap: .35rem; min-width: 0; }
.field--wide { grid-column: 1 / -1; }
.field label { font-size: .88rem; font-weight: 650; color: var(--ink); }
.field .req { color: var(--red); margin-left: 2px; }
.field-hint { font-size: .78rem; color: var(--muted); line-height: 1.4; }
.field-error { font-size: .78rem; color: var(--red); }
.input, .select, .textarea {
  width: 100%;
  border: 1px solid #cfd9e4;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: .95rem;
  padding: .62rem .7rem;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.input:focus, .select:focus, .textarea:focus {
  outline: 0;
  border-color: var(--navy-hi);
  box-shadow: 0 0 0 3px rgba(28, 81, 130, .12);
}
.textarea { min-height: 96px; resize: vertical; line-height: 1.5; }
.input.is-invalid, .select.is-invalid, .textarea.is-invalid { border-color: #d98a8a; }
.select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, #64748b 50%), linear-gradient(135deg, #64748b 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; padding-right: 2rem; }
.checkbox-row { display: flex; align-items: flex-start; gap: .55rem; font-size: .92rem; color: var(--ink); }
.checkbox-row input { width: 17px; height: 17px; margin-top: .15rem; accent-color: var(--green); }
.checkbox-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .45rem .9rem; }
.form-actions { display: flex; align-items: center; gap: .7rem; flex-wrap: wrap; margin-top: 1.4rem; }
.form-note { font-size: .8rem; color: var(--muted); }
.error-summary {
  background: var(--red-soft);
  border: 1px solid #f0cccc;
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
  color: #7a2428;
  margin-bottom: 1.2rem;
}
.error-summary strong { display: block; margin-bottom: .35rem; }
.error-summary ul { margin: 0; padding-left: 1.15rem; font-size: .88rem; }

/* — Autenticación — */
.auth-wrap {
  min-height: calc(100vh - 200px);
  display: grid;
  place-items: center;
  padding: 3rem 1.25rem;
}
.auth-card {
  width: 100%;
  max-width: 440px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 2rem;
}
.auth-card h1 { font-size: 1.6rem; margin-bottom: .35rem; }
.auth-card .lead { color: var(--muted); font-size: .92rem; margin-bottom: 1.3rem; }
.auth-card .field { margin-bottom: .9rem; }
.auth-footer { margin-top: 1.1rem; font-size: .88rem; color: var(--muted); text-align: center; }
.auth-footer a { font-weight: 650; }
.auth-wide { max-width: 980px; display: grid; grid-template-columns: 1fr 1fr; gap: 0; padding: 0; overflow: hidden; }
.auth-aside {
  background: linear-gradient(150deg, var(--navy-lo), var(--navy));
  color: #fff;
  padding: 2.4rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.auth-aside h2 { color: #fff; font-size: 1.5rem; }
.auth-aside p { color: rgba(255, 255, 255, .78); font-size: .92rem; }
.auth-aside ul { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: .55rem; font-size: .88rem; color: rgba(255, 255, 255, .9); }
.auth-aside li { display: flex; gap: .5rem; align-items: flex-start; }
.auth-aside .icon { width: 16px; height: 16px; color: #a9e3c1; margin-top: 2px; flex: 0 0 auto; }
.auth-form { padding: 2rem; }

/* — Asistente — */
.wizard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(280px, .7fr);
  gap: 2rem;
  align-items: start;
  padding: 2rem 0 3.5rem;
}
.wizard-main { min-width: 0; }
.wizard-side { position: sticky; top: 92px; }
.wizard-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 1.5rem;
  margin-bottom: 1rem;
}
.wizard-card h2 { font-size: 1.2rem; margin-bottom: .25rem; }
.wizard-card .card-lead { color: var(--muted); font-size: .88rem; margin-bottom: 1.2rem; }
.steps-track {
  display: flex;
  align-items: center;
  gap: .4rem;
  margin-bottom: 1.4rem;
  flex-wrap: wrap;
}
.steps-track .step-pill {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .82rem;
  font-weight: 650;
  color: var(--muted);
  padding: .35rem .65rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
}
.steps-track .step-pill .num {
  width: 20px;
  height: 20px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: #eef2f6;
  font-size: .7rem;
}
.steps-track .step-pill.is-active { color: var(--navy); border-color: #b9c7d6; background: #f3f7fb; }
.steps-track .step-pill.is-active .num { background: var(--navy); color: #fff; }
.steps-track .step-pill.is-done { color: var(--green-dark); border-color: #cfe6d9; background: var(--green-soft); }
.steps-track .step-pill.is-done .num { background: var(--green); color: #fff; }
.step-actions { display: flex; align-items: center; justify-content: space-between; gap: .7rem; margin-top: 1.3rem; flex-wrap: wrap; }
.step-actions .right { display: flex; gap: .6rem; }

.section-group { border-top: 1px solid var(--line-soft); padding-top: 1.2rem; margin-top: 1.2rem; }
.section-group:first-of-type { border-top: 0; padding-top: 0; margin-top: 0; }
.section-group > h3 {
  font-size: .8rem;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: .8rem;
}

.role-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem;
  background: #fbfcfd;
  margin-bottom: .9rem;
}
.role-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: .8rem;
  margin-bottom: .7rem;
}
.role-head h3 { font-size: .95rem; margin: 0; }
.role-head .role-help { font-size: .78rem; color: var(--muted); margin: .15rem 0 0; }
.role-index { font-size: .76rem; color: var(--muted); font-weight: 650; }
.participant-box { border-top: 1px dashed var(--line); padding-top: .8rem; margin-top: .8rem; }
.participant-box:first-of-type { border-top: 0; padding-top: 0; margin-top: 0; }
.participant-box-head { display: flex; align-items: center; justify-content: space-between; gap: .6rem; margin-bottom: .6rem; }
.participant-box-head .who { font-size: .8rem; font-weight: 650; color: var(--navy); }
.link-btn {
  background: none;
  border: 0;
  padding: .15rem .25rem;
  color: var(--navy-hi);
  font: inherit;
  font-size: .78rem;
  font-weight: 650;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  border-radius: 5px;
}
.link-btn:hover { background: #eef3f8; text-decoration: none; }
.link-btn.danger { color: var(--red); }
.link-btn.danger:hover { background: var(--red-soft); }
.link-btn .icon { width: 14px; height: 14px; }

.repeater { display: grid; gap: .6rem; }
.repeater-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
  gap: .6rem;
  align-items: end;
  background: #fbfcfd;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: .65rem;
}
.repeater-row .field { margin: 0; }
.repeater-empty { font-size: .84rem; color: var(--muted); padding: .3rem 0; }
.add-row {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-size: .84rem;
  font-weight: 650;
  color: var(--navy-hi);
  background: none;
  border: 1px dashed #c3d0de;
  border-radius: 8px;
  padding: .5rem .7rem;
  cursor: pointer;
}
.add-row:hover { background: #f5f8fb; }
.add-row .icon { width: 15px; height: 15px; }

.summary-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 1.3rem;
}
.summary-card .summary-eyebrow { font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.summary-card h3 { font-size: 1.1rem; margin: .25rem 0 .5rem; }
.summary-card p { font-size: .86rem; color: var(--muted); }
.summary-list { list-style: none; padding: 0; margin: .9rem 0 0; }
.summary-list li { display: flex; gap: .5rem; align-items: flex-start; font-size: .84rem; padding: .4rem 0; border-top: 1px solid var(--line-soft); color: #3d4a59; }
.summary-list .icon { width: 15px; height: 15px; color: var(--green-dark); margin-top: 2px; flex: 0 0 auto; }
.wizard-note {
  background: var(--amber-soft);
  border: 1px solid #f0d8bf;
  border-radius: 8px;
  padding: .7rem .8rem;
  font-size: .79rem;
  color: #69452a;
  margin-top: .9rem;
}
.wizard-login-note { background: #eef4fa; border-color: #ccdcec; color: #2b4a68; }
.review-block { border-top: 1px solid var(--line-soft); padding-top: .9rem; margin-top: .9rem; }
.review-block h4 { margin: 0 0 .3rem; font-size: .85rem; color: var(--navy); }
.review-block p { margin: 0; font-size: .88rem; color: #3d4a59; white-space: pre-line; }

.contact-picker { margin-top: .6rem; background: #f5f8fb; border: 1px solid var(--line); border-radius: 8px; padding: .7rem; }
.contact-picker .picker-head { display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin-bottom: .5rem; }
.contact-picker .picker-head strong { font-size: .82rem; }
.contact-results { display: grid; gap: .35rem; max-height: 200px; overflow: auto; }
.contact-result {
  display: flex;
  flex-direction: column;
  gap: .1rem;
  text-align: left;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 7px;
  padding: .45rem .55rem;
  font: inherit;
  cursor: pointer;
}
.contact-result:hover { border-color: #b9c7d6; background: #f8fafc; }
.contact-result strong { font-size: .82rem; }
.contact-result span { font-size: .74rem; color: var(--muted); }

/* — Editor — */
.editor-shell { background: #e9edf2; min-height: 100vh; }
.editor-bar {
  position: sticky;
  top: 0;
  z-index: 70;
  background: #fff;
  border-bottom: 1px solid var(--line);
  padding: .55rem 0;
}
.editor-bar-inner { display: flex; align-items: center; gap: .9rem; flex-wrap: wrap; }
.editor-title-wrap { display: flex; flex-direction: column; gap: .1rem; min-width: 0; }
.editor-title {
  border: 1px solid transparent;
  background: transparent;
  font: inherit;
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  padding: .25rem .35rem;
  border-radius: 6px;
  width: min(420px, 45vw);
}
.editor-title:hover { border-color: var(--line); }
.editor-title:focus { outline: 0; border-color: var(--navy-hi); background: #fff; box-shadow: 0 0 0 3px rgba(28, 81, 130, .1); }
.save-status { display: inline-flex; align-items: center; gap: .35rem; font-size: .78rem; color: var(--muted); }
.save-status .dot { width: 7px; height: 7px; border-radius: 999px; background: #9aa9b8; }
.save-status.is-saving .dot { background: var(--amber); }
.save-status.is-saved .dot { background: var(--green); }
.save-status.is-error .dot { background: var(--red); }
.editor-actions { display: flex; align-items: center; gap: .45rem; margin-left: auto; flex-wrap: wrap; }
.download-group { display: inline-flex; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: #fff; }
.download-group .btn { border-radius: 0; border: 0; border-right: 1px solid var(--line); }
.download-group .btn:last-child { border-right: 0; }

.editor-canvas { padding: 2rem 1rem 4rem; display: flex; justify-content: center; }
.sheet {
  background: #fff;
  width: min(900px, 100%);
  min-height: 1100px;
  border-radius: 3px;
  box-shadow: 0 8px 30px rgba(18, 58, 94, .16);
  padding: 0;
  overflow: hidden;
}
.sheet .tox-tinymce { border: 0 !important; border-radius: 0 !important; min-height: 1100px; }
.sheet .tox .tox-editor-header { box-shadow: none; border-bottom: 1px solid var(--line) !important; }
.sheet .tox .tox-statusbar { border-top: 1px solid var(--line); }
.editor-hint { text-align: center; font-size: .78rem; color: var(--muted); margin-top: .9rem; }
.editor-footer { padding: 0 0 2.5rem; text-align: center; font-size: .78rem; color: var(--muted); }

/* — Documentos — */
.doc-list { display: grid; gap: .8rem; }
.doc-card {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
  box-shadow: var(--shadow-soft);
}
.doc-icon {
  width: 54px;
  height: 54px;
  border-radius: 9px;
  background: #eef3f8;
  color: var(--navy);
  display: grid;
  place-items: center;
  font-family: var(--font-doc);
  font-weight: 700;
  font-size: .8rem;
  border: 1px solid #dce5ee;
}
.doc-main { min-width: 0; }
.doc-main h3 { font-size: 1rem; margin-bottom: .2rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.doc-main p { margin: 0; color: var(--muted); font-size: .82rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.doc-meta { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: .35rem; font-size: .75rem; color: var(--muted); }
.doc-actions { display: flex; align-items: center; gap: .35rem; flex-wrap: wrap; justify-content: flex-end; }
.doc-rename { margin-top: .55rem; display: flex; gap: .4rem; align-items: center; flex-wrap: wrap; }
.doc-rename .input { max-width: 320px; padding: .4rem .5rem; font-size: .85rem; }

/* — Tablas, versiones y comparación — */
.table-wrap { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: auto; }
.table { width: 100%; border-collapse: collapse; font-size: .88rem; }
.table th, .table td { padding: .7rem .85rem; text-align: left; border-bottom: 1px solid var(--line-soft); vertical-align: middle; }
.table th { background: #f8fafc; color: var(--muted); font-size: .74rem; text-transform: uppercase; letter-spacing: .06em; }
.table tr:last-child td { border-bottom: 0; }
.table .num { font-variant-numeric: tabular-nums; }
.badge {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  font-size: .72rem;
  font-weight: 700;
  border-radius: 999px;
  padding: .15rem .55rem;
  background: #eef2f6;
  color: var(--muted);
}
.badge-green { background: var(--green-soft); color: var(--green-dark); }
.badge-amber { background: var(--amber-soft); color: var(--amber); }
.badge-navy { background: #eaf0f6; color: var(--navy); }

.diff-table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; font-size: .88rem; }
.diff-table td { padding: .55rem .75rem; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
.diff-table tr:last-child td { border-bottom: 0; }
.diff-row-same td { color: #4a5766; }
.diff-row-added td { background: #eaf7ef; color: #14532d; }
.diff-row-removed td { background: #fbecec; color: #7a2428; text-decoration: line-through; }
.diff-label { width: 90px; font-size: .7rem; text-transform: uppercase; letter-spacing: .06em; font-weight: 700; opacity: .7; }

/* — Avisos — */
.flash {
  display: flex;
  align-items: flex-start;
  gap: .55rem;
  border-radius: 8px;
  padding: .8rem 1rem;
  font-size: .88rem;
  margin: 1rem 0;
  border: 1px solid transparent;
}
.flash .icon { width: 17px; height: 17px; flex: 0 0 auto; margin-top: 2px; }
.flash-success { background: var(--green-soft); border-color: #cfe6d9; color: #14532d; }
.flash-error { background: var(--red-soft); border-color: #f0cccc; color: #7a2428; }
.flash-info { background: #eef4fa; border-color: #ccdcec; color: #2b4a68; }

/* — Pie — */
.footer { background: var(--navy-lo); color: rgba(255, 255, 255, .72); margin-top: auto; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2rem;
  padding: 2.8rem 0 2rem;
}
.footer h4 { color: #fff; font-size: .82rem; letter-spacing: .09em; text-transform: uppercase; margin-bottom: .75rem; }
.footer a { color: rgba(255, 255, 255, .74); font-size: .88rem; display: block; padding: .18rem 0; }
.footer a:hover { color: #fff; }
.footer .brand { color: #fff; font-size: 1.15rem; margin-bottom: .7rem; }
.footer .brand-mark { background: #fff; color: var(--navy); width: 32px; height: 32px; border-radius: 9px; }
.footer p { font-size: .82rem; color: rgba(255, 255, 255, .6); max-width: 40ch; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding: 1rem 0 1.4rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: .76rem;
  color: rgba(255, 255, 255, .5);
  flex-wrap: wrap;
}

.page-main { min-height: calc(100vh - 380px); }

/* — Varios — */
.muted { color: var(--muted); }
.small { font-size: .82rem; }
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: .5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-0 { margin-bottom: 0; }
.mb-2 { margin-bottom: 1rem; }
.flex-between { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.stack-sm > * + * { margin-top: .5rem; }
.hide { 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;
}
.divider { height: 1px; background: var(--line); margin: 1.4rem 0; }
.icon { display: inline-block; vertical-align: middle; }

.legal-note-page { max-width: 780px; margin: 0 auto; padding: 3rem 1.25rem; }

@media (max-width: 1080px) {
  .category-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .catalog-grid, .format-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-inner { grid-template-columns: 1fr; gap: 2rem; padding: 3.2rem 0; }
  .hero-visual { display: none; }
  .detail-grid { grid-template-columns: 1fr; }
  .detail-side { position: static; }
  .wizard-grid { grid-template-columns: 1fr; }
  .wizard-side { position: static; order: -1; }
}

@media (max-width: 820px) {
  .topline-inner { font-size: .72rem; }
  .topline-inner .topline-right { display: none; }
  .main-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: .6rem 1rem 1rem;
    flex-direction: column;
    align-items: stretch;
    box-shadow: var(--shadow);
  }
  .main-nav.is-open { display: flex; }
  .main-nav .nav-link { padding: .7rem .6rem; }
  .header-actions { margin-left: auto; }
  .mobile-toggle { display: inline-flex; }
  .header-actions .btn { padding: .45rem .7rem; font-size: .85rem; }
  .user-menu summary .user-name { display: none; }
  .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps-grid { grid-template-columns: 1fr 1fr; }
  .step-card::after { display: none; }
  .trust-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .section-head { align-items: flex-start; flex-direction: column; gap: .6rem; }
  .cta-band { flex-direction: column; align-items: flex-start; padding: 1.8rem; }
  .form-grid { grid-template-columns: 1fr; }
  .auth-wide { grid-template-columns: 1fr; }
  .auth-aside { display: none; }
  .doc-card { grid-template-columns: 44px minmax(0, 1fr); }
  .doc-icon { width: 44px; height: 44px; }
  .doc-actions { grid-column: 1 / -1; justify-content: flex-start; }
  .checkbox-grid { grid-template-columns: 1fr; }
  .repeater-row { grid-template-columns: 1fr; }
  .editor-title { width: 100%; }
  .editor-title-wrap { width: 100%; }
  .editor-actions { margin-left: 0; }
}

@media (max-width: 560px) {
  .container { padding: 0 16px; }
  .category-grid, .catalog-grid, .format-grid, .privacy-grid, .steps-grid { grid-template-columns: 1fr; }
  .header-inner { min-height: 62px; gap: .6rem; }
  .brand { font-size: 1.15rem; }
  .brand-mark { width: 34px; height: 34px; }
  .hero-search { flex-direction: column; padding: .5rem; }
  .hero-search .search-field { padding: .2rem .4rem; }
  .hero-search .btn { width: 100%; }
  .hero { background: linear-gradient(150deg, var(--navy-lo), var(--navy)); }
  .page-head { padding: 1.6rem 0 1.4rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.4rem; }
  .auth-form, .auth-card { padding: 1.4rem; }
  .sticky-card, .wizard-card, .form-card { padding: 1.15rem; }
  .editor-canvas { padding: 1rem .4rem 2rem; }
  .editor-actions .btn span { display: none; }
  .editor-actions .btn { padding: .5rem .6rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}

/* Impresión de páginas de la interfaz */
@media print {
  .site-header, .topline, .footer, .editor-bar, .editor-hint, .no-print { display: none !important; }
  body { background: #fff; }
  .editor-canvas { padding: 0; }
  .sheet { box-shadow: none; width: 100%; }
  .page-main, .editor-shell { min-height: 0; }
}

[x-cloak] { display: none !important; }
