:root {
  --bg: #f5f7fa;
  --surface: #ffffff;
  --paper: var(--surface);
  --surface-strong: #eaf0f7;
  --ink: #0b2239;
  --muted: #52677a;
  --line: #d5dee8;
  --brand: #003189;
  --brand-dark: #002568;
  --accent: #d80025;
  --accent-soft: #fbe9ec;
  --sun: #ffc800;
  --earth: #ae5845;
  --warning-bg: #fff4cc;
  --warning: #6e4c00;
  --success-bg: #e7f4ec;
  --success: #205f40;
  --danger-bg: #fbe9ec;
  --danger: #a5001c;
  --text-on-dark: #f8fbff;
  --text-on-highlight: #081b2b;
  --on-accent: #ffffff;
  --link: #003189;
  --account-bg: #d80025;
  --account-hover: #b80020;
  --account-text: #ffffff;
  --shadow: 0 22px 56px rgba(11, 34, 57, 0.13);
  --soft-shadow: 0 10px 30px rgba(11, 34, 57, 0.1);
  --focus: 0 0 0 4px rgba(0, 49, 137, 0.2);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background:
    linear-gradient(rgba(245, 247, 250, 0.93), rgba(245, 247, 250, 0.97)),
    url("brand/pattern-trama.svg"),
    radial-gradient(circle at 8% 0%, rgba(0, 49, 137, 0.11), transparent 34rem),
    radial-gradient(circle at 94% 18%, rgba(216, 0, 37, 0.08), transparent 28rem),
    var(--bg);
  color: var(--ink);
  font-family: "Source Sans 3", "Segoe UI Variable Text", "Segoe UI", Arial, Helvetica, sans-serif;
  margin: 0;
  min-width: 320px;
}

body::before {
  content: none;
}

a {
  color: inherit;
}

.skip-link {
  background: var(--sun);
  color: var(--text-on-highlight);
  font-weight: 900;
  left: 16px;
  padding: 10px 14px;
  position: fixed;
  top: -60px;
  transition: top 160ms ease;
  z-index: 100;
}

.skip-link:focus {
  top: 12px;
}

.site-header {
  align-items: center;
  backdrop-filter: blur(16px);
  background:
    linear-gradient(90deg, rgba(11, 34, 57, 0.99), rgba(11, 34, 57, 0.96)),
    url("brand/pattern-trama.svg");
  border-bottom: 4px solid var(--sun);
  box-shadow: 0 10px 34px rgba(11, 34, 57, 0.2);
  color: var(--text-on-dark);
  display: flex;
  gap: 18px;
  justify-content: space-between;
  min-height: 82px;
  padding: 0 32px;
  position: sticky;
  top: 0;
  z-index: 20;
}

.brand {
  align-items: center;
  display: inline-flex;
  flex: 0 0 auto;
  text-decoration: none;
}

.brand img {
  display: block;
  height: auto;
  max-width: 168px;
  width: 168px;
}

.product-context {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  color: var(--text-on-dark);
  font-size: 0.82rem;
  font-weight: 700;
  margin-right: auto;
  padding: 7px 12px;
}

.site-nav {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.site-nav a {
  border: 1px solid transparent;
  color: #d8e4ee;
  font-size: 0.88rem;
  font-weight: 800;
  line-height: 1;
  padding: 9px 10px;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  background: rgba(255, 255, 255, 0.11);
  border-color: rgba(255, 255, 255, 0.16);
  color: var(--text-on-dark);
}

.site-nav .account-link {
  background: var(--account-bg);
  border-color: var(--account-bg);
  border-radius: 10px;
  color: var(--account-text);
}

.site-nav .account-link:hover {
  background: var(--account-hover);
  border-color: var(--account-hover);
}

.page-main,
main,
.shell {
  margin: 0 auto;
  max-width: 1184px;
  padding: 64px 24px 84px;
}

.shell.narrow {
  max-width: 840px;
}

.hero {
  align-items: stretch;
  display: grid;
  gap: clamp(28px, 5vw, 68px);
  grid-template-columns: minmax(0, 1.16fr) minmax(340px, 0.84fr);
  min-height: 590px;
}

.hero.compact {
  display: block;
  min-height: auto;
}

.hero-copy {
  align-content: center;
  display: grid;
}

.eyebrow {
  align-self: start;
  background: var(--sun);
  border: 1px solid var(--sun);
  border-radius: 999px;
  color: var(--text-on-highlight);
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  margin: 0 0 14px;
  padding: 7px 10px;
  text-transform: uppercase;
  width: fit-content;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  font-family: "Manrope", "Segoe UI Variable Display", "Segoe UI", sans-serif;
  font-size: clamp(2.4rem, 5vw, 5.25rem);
  letter-spacing: -0.045em;
  line-height: 0.98;
  margin-bottom: 22px;
  max-width: 900px;
  text-wrap: balance;
}

h2 {
  font-family: "Manrope", "Segoe UI Variable Display", "Segoe UI", sans-serif;
  font-size: clamp(1.75rem, 3vw, 2.85rem);
  letter-spacing: -0.035em;
  line-height: 1.08;
  margin-bottom: 0;
  max-width: 780px;
  text-wrap: balance;
}

h3 {
  font-family: "Manrope", "Segoe UI Variable Display", "Segoe UI", sans-serif;
  font-size: 1.22rem;
  line-height: 1.2;
  margin-bottom: 10px;
}

.lead {
  color: var(--muted);
  font-size: 1.2rem;
  line-height: 1.65;
  max-width: 800px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button,
button.button {
  align-items: center;
  border-radius: 12px;
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-weight: 900;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  text-decoration: none;
}

.button.primary {
  background: var(--brand);
  border: 1px solid var(--brand);
  box-shadow: var(--soft-shadow);
  color: #fff;
}

.button.primary:hover {
  background: var(--brand-dark);
  color: #fff;
}

.button.secondary {
  background: var(--surface);
  border: 1px solid var(--ink);
  box-shadow: var(--soft-shadow);
  color: var(--ink);
}

.hero-panel,
.product-card,
.content-card,
.project-panel,
.trust-section,
.stats article,
.panel,
.service-grid article,
.trust-grid article {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.hero-panel {
  align-content: space-between;
  display: grid;
  padding: clamp(28px, 4vw, 46px);
  position: relative;
}

.hero-panel::before,
.project-panel::before,
.panel::before {
  background: linear-gradient(90deg, var(--sun) 0 50%, var(--brand) 50% 75%, var(--accent) 75%);
  content: "";
  display: block;
  height: 5px;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
}

.hero-panel,
.project-panel,
.panel {
  overflow: hidden;
  position: relative;
}

.panel-label,
.tag {
  color: var(--brand-dark);
  font-size: 0.86rem;
  font-weight: 900;
}

.hero-panel ul {
  display: grid;
  gap: 14px;
  line-height: 1.55;
  margin: 18px 0 0;
  padding-left: 18px;
}

.brand-panel {
  background:
    linear-gradient(rgba(11, 34, 57, 0.93), rgba(11, 34, 57, 0.96)),
    url("brand/pattern-trama.svg");
  border: 0;
  color: var(--text-on-dark);
  isolation: isolate;
  overflow: hidden;
}

.brand-panel::after {
  background: var(--sun);
  border-radius: 50%;
  content: "";
  height: 130px;
  opacity: 0.13;
  position: absolute;
  right: -46px;
  top: 100px;
  width: 130px;
  z-index: -1;
}

.brand-panel .hero-mark {
  filter: brightness(0) invert(1);
  height: auto;
  max-width: 240px;
  width: 62%;
}

.brand-panel .panel-label {
  color: var(--sun);
  display: inline-block;
  letter-spacing: 0.12em;
  margin-bottom: 14px;
  text-transform: uppercase;
}

.brand-panel h2 {
  color: #ffffff;
  font-size: clamp(1.75rem, 3vw, 2.6rem);
  margin-bottom: 14px;
}

.brand-panel p {
  color: #d8e4ee;
  line-height: 1.6;
}

.principle-row {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 26px;
}

.principle-row span {
  background: rgba(255, 255, 255, 0.1);
  border-top: 3px solid var(--sun);
  color: var(--text-on-dark);
  font-size: 0.78rem;
  font-weight: 900;
  padding: 12px 8px;
  text-align: center;
}

.principle-row span:nth-child(2) {
  border-top-color: #4a76cc;
}

.principle-row span:nth-child(3) {
  border-top-color: var(--accent);
}

.section {
  margin-top: 68px;
}

.section-heading {
  margin-bottom: 24px;
}

.product-grid,
.service-grid,
.trust-grid {
  display: grid;
  gap: 20px;
}

.product-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.product-card {
  --product-color: var(--brand);
  border-top: 6px solid var(--product-color);
  display: grid;
  gap: 12px;
  min-height: 310px;
  padding: 28px;
  transition: transform 180ms cubic-bezier(.2,.8,.2,1), box-shadow 180ms cubic-bezier(.2,.8,.2,1);
}

.product-card:hover,
.content-card:hover {
  box-shadow: 0 22px 52px rgba(25, 55, 63, 0.16);
  transform: translateY(-2px);
}

.product-card p,
.service-grid p,
.trust-grid p,
.content-card p,
.project-panel p,
.site-footer p,
.panel p {
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 0;
}

.product-card a {
  align-self: end;
  color: var(--product-color);
  font-weight: 900;
  text-decoration: none;
}

.product-card a::after,
.subdomain-link::after {
  content: " ↗";
  display: inline-block;
  font-weight: 900;
  margin-left: 6px;
}

.card-top {
  align-items: flex-start;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: space-between;
}

.product-number {
  color: var(--product-color);
  font-family: "Manrope", "Segoe UI", sans-serif;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  width: 100%;
}

.product-talonarios {
  --product-color: #8b611c;
}

.product-cuenta {
  --product-color: #35647d;
}

.product-balance {
  --product-color: #397054;
}

.product-autorregistro-card {
  --product-color: #6a587b;
}

.product-pactos-card {
  --product-color: #5d4b72;
}

.status-badge {
  background: var(--warning-bg);
  border: 1px solid #f0d36a;
  border-radius: 999px;
  color: var(--warning);
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 900;
  padding: 5px 10px;
}

.services,
.local-lab {
  background:
    linear-gradient(rgba(11, 34, 57, 0.96), rgba(11, 34, 57, 0.98)),
    url("brand/pattern-trama.svg");
  border: 0;
  border-radius: 28px;
  box-shadow: var(--soft-shadow);
  color: var(--text-on-dark);
  padding: clamp(28px, 5vw, 52px);
}

.services .eyebrow,
.local-lab .eyebrow {
  background: var(--sun);
}

.services h2,
.local-lab h2 {
  color: var(--text-on-dark);
}

.service-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.service-grid article,
.trust-grid article {
  box-shadow: none;
  padding: 22px;
}

.services .service-grid article,
.local-lab .content-card {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.16);
}

.services .service-grid h3,
.local-lab .content-card h3 {
  color: var(--text-on-dark);
}

.services .service-grid p,
.local-lab .content-card p {
  color: #c8d7e4;
}

.local-lab .subdomain-link {
  color: var(--sun);
}

.trust-section {
  align-items: start;
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  border-left: 6px solid var(--earth);
  padding: 34px;
}

.trust-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.site-footer {
  align-items: flex-end;
  background:
    linear-gradient(90deg, rgba(11, 34, 57, 0.99), rgba(0, 37, 104, 0.96)),
    url("brand/pattern-trama.svg");
  border-top: 6px solid var(--sun);
  color: var(--text-on-dark);
  display: flex;
  gap: 42px;
  justify-content: space-between;
  padding: 44px 32px;
}

.site-footer p {
  color: #d8e4ee;
}

.site-footer a {
  color: #fff;
  font-weight: 900;
  text-decoration: none;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: flex-end;
}

.footer-brand {
  max-width: 480px;
}

.footer-brand img {
  display: block;
  height: auto;
  margin-bottom: 18px;
  width: 176px;
}

.footer-brand p {
  line-height: 1.55;
  margin-bottom: 0;
}

.footer-nav {
  text-align: right;
}

.footer-kicker {
  color: var(--sun) !important;
  font-size: 0.84rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.simple-hero {
  display: grid;
  gap: 16px;
  padding: 36px 0 22px;
}

.simple-hero h1 {
  max-width: 920px;
}

.breadcrumb {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--soft-shadow);
  color: var(--ink);
  display: inline-flex;
  font-size: 0.92rem;
  font-weight: 900;
  padding: 9px 11px;
  text-decoration: none;
}

.content-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 24px;
}

.content-card,
.project-panel,
.panel {
  padding: 26px 24px 24px;
}

.project-layout {
  display: grid;
  gap: 22px;
  grid-template-columns: minmax(0, 1fr) 340px;
  margin-top: 24px;
}

.project-list {
  color: var(--muted);
  display: grid;
  gap: 10px;
  line-height: 1.55;
  margin-bottom: 0;
  padding-left: 18px;
}

.notice {
  background: var(--warning-bg);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--soft-shadow);
  color: var(--warning);
  line-height: 1.55;
  padding: 16px;
}

.notice.success {
  background: var(--success-bg);
  color: var(--success);
}

.notice.error {
  background: var(--danger-bg);
  color: var(--danger);
}

.subdomain-link {
  color: var(--brand-dark);
  display: block;
  font-weight: 900;
  margin-top: 18px;
  text-decoration: none;
}

.stats,
.workspace {
  display: grid;
  gap: 20px;
}

.stats {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 20px;
}

.workspace {
  align-items: start;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
}

.stats article {
  display: grid;
  gap: 8px;
  padding: 24px;
}

.stats span,
.entry span,
.entry small,
.muted {
  color: var(--muted);
}

.stats strong {
  font-size: 1.7rem;
}

.form {
  display: grid;
  gap: 16px;
}

label {
  color: var(--ink);
  display: grid;
  font-weight: 900;
  gap: 8px;
}

textarea,
select,
input {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--ink);
  font: inherit;
  min-height: 46px;
  padding: 11px 12px;
}

textarea:focus,
select:focus,
input:focus {
  border-color: var(--brand);
  box-shadow: var(--focus);
  outline: none;
}

textarea {
  line-height: 1.45;
  min-height: 92px;
  resize: vertical;
}

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

label small {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 400;
  line-height: 1.45;
}

.entry {
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 8px;
  padding: 14px 0;
}

.entry:last-child {
  border-bottom: 0;
}

.entry div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  justify-content: space-between;
}

.entry strong {
  color: var(--brand-dark);
}

.entry p {
  line-height: 1.5;
  margin-bottom: 0;
}

.entry small {
  background: var(--surface-strong);
  border: 1px solid var(--line);
  border-radius: 12px;
  line-height: 1.45;
  padding: 10px;
}

body.product-talonarios-page {
  --brand: #8b611c;
  --brand-dark: #67440f;
  --accent: #d59a32;
  --surface-strong: #fbf3df;
  --focus: 0 0 0 4px rgba(139, 97, 28, 0.2);
}

.talonarios-hero {
  background:
    linear-gradient(130deg, rgba(255, 255, 255, 0.94), rgba(251, 243, 223, 0.9)),
    var(--surface);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
  margin-bottom: 24px;
  padding: clamp(24px, 5vw, 52px);
}

.talonarios-workspace {
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
}

.split.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.talonario-entry {
  gap: 12px;
}

.talonario-actions,
.admin-toolbar,
.ticket-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.share-input {
  background: var(--surface-strong);
  border: 1px solid var(--line);
  color: var(--brand-dark);
  font-size: 0.94rem;
  font-weight: 800;
  min-height: 42px;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
}

.share-box {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.share-box.compact {
  margin-top: 4px;
}

.share-box label {
  color: var(--brand-dark);
  font-size: 0.84rem;
  font-weight: 900;
}

.copy-row {
  align-items: stretch;
  display: grid;
  gap: 8px;
  grid-template-columns: minmax(0, 1fr) auto;
}

.copy-button {
  min-height: 42px;
  white-space: nowrap;
}

.raffle-summary,
.ticket-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 12px 0;
}

.raffle-summary span,
.ticket-legend span {
  background: var(--surface-strong);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--brand-dark);
  font-size: 0.9rem;
  font-weight: 900;
  padding: 8px 11px;
}

.ticket-legend span {
  align-items: center;
  display: inline-flex;
  gap: 7px;
}

.ticket-dot {
  border-radius: 999px;
  display: inline-block;
  height: 10px;
  width: 10px;
}

.ticket-dot.available {
  background: #2f7d4f;
}

.ticket-dot.reserved {
  background: #b16b00;
}

.ticket-dot.paid {
  background: #285ea8;
}

.public-raffle-layout {
  display: grid;
  gap: 20px;
  grid-template-columns: minmax(0, 1fr);
}

.ballot-panel {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(251, 243, 223, 0.9)),
    var(--surface);
}

.ballot-board {
  background:
    linear-gradient(135deg, rgba(139, 97, 28, 0.09), rgba(213, 154, 50, 0.08)),
    #fffaf0;
  border: 1px solid #e4c98f;
  border-radius: 24px;
  display: grid;
  gap: clamp(6px, 0.9vw, 11px);
  margin-top: 18px;
  padding: clamp(10px, 2vw, 18px);
}

.ballot-board-100 {
  grid-template-columns: repeat(10, minmax(0, 1fr));
}

.ballot-board-large {
  grid-template-columns: repeat(auto-fit, minmax(48px, 1fr));
}

.ballot {
  align-items: center;
  aspect-ratio: 1;
  border: 2px solid rgba(255, 255, 255, 0.78);
  border-radius: 999px;
  box-shadow:
    inset 0 6px 10px rgba(255, 255, 255, 0.24),
    inset 0 -10px 14px rgba(0, 0, 0, 0.12),
    0 7px 16px rgba(75, 53, 0, 0.15);
  color: #fff;
  display: inline-grid;
  font-family: "Manrope", "Segoe UI", Arial, sans-serif;
  font-size: clamp(0.78rem, 1.4vw, 1.2rem);
  font-weight: 900;
  justify-content: center;
  min-width: 0;
  padding: 0;
  position: relative;
  text-align: center;
  user-select: none;
  transition: transform 120ms ease, box-shadow 120ms ease;
}

.ballot::after {
  background: rgba(255, 255, 255, 0.46);
  border-radius: 999px;
  content: "";
  height: 26%;
  left: 21%;
  position: absolute;
  top: 15%;
  width: 28%;
}

.ballot span {
  position: relative;
  z-index: 1;
}

.ballot input {
  cursor: pointer;
  inset: 0;
  min-height: auto;
  opacity: 0;
  position: absolute;
  z-index: 2;
}

.ballot.available {
  background:
    radial-gradient(circle at 31% 24%, rgba(255, 255, 255, 0.5), transparent 24%),
    linear-gradient(145deg, #36a466, #1e6e43);
  cursor: pointer;
}

.ballot.available:hover,
.ballot.available:focus-within {
  box-shadow:
    inset 0 6px 10px rgba(255, 255, 255, 0.24),
    inset 0 -10px 14px rgba(0, 0, 0, 0.12),
    0 0 0 4px rgba(215, 154, 50, 0.32),
    0 10px 20px rgba(75, 53, 0, 0.22);
  transform: translateY(-2px);
}

.ballot.reserved {
  background:
    radial-gradient(circle at 31% 24%, rgba(255, 255, 255, 0.46), transparent 24%),
    linear-gradient(145deg, #d99022, #9b5700);
  color: #fff8e6;
}

.ballot.paid {
  background:
    radial-gradient(circle at 31% 24%, rgba(255, 255, 255, 0.42), transparent 24%),
    linear-gradient(145deg, #3e76bd, #1e4f91);
  color: #eef6ff;
}

.ballot.reserved,
.ballot.paid {
  cursor: not-allowed;
  opacity: 0.9;
}

.ballot:has(input:checked),
.ballot.is-selected {
  box-shadow:
    0 0 0 4px var(--sun),
    0 10px 20px rgba(75, 53, 0, 0.24);
  transform: translateY(-2px);
}

.ballot:has(input:checked)::before,
.ballot.is-selected::before {
  align-items: center;
  background: var(--sun);
  border: 2px solid #fff;
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(75, 53, 0, 0.25);
  color: var(--text-on-highlight);
  content: "✓";
  display: inline-flex;
  font-size: 0.72rem;
  font-weight: 1000;
  height: 22%;
  justify-content: center;
  min-height: 16px;
  min-width: 16px;
  position: absolute;
  right: -4px;
  top: -4px;
  width: 22%;
  z-index: 3;
}

.reserve-card {
  display: grid;
  gap: 16px;
}

.admin-toolbar {
  justify-content: space-between;
  margin-bottom: 20px;
}

.admin-toolbar form {
  min-width: 220px;
}

.admin-ticket-list {
  display: grid;
  gap: 10px;
}

.admin-ticket-row {
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 6px solid var(--line);
  border-radius: 14px;
  display: grid;
  gap: 10px;
  grid-template-columns: 58px 110px minmax(120px, 1fr) 130px 110px minmax(260px, auto);
  padding: 12px;
}

.admin-ballot-number {
  align-items: center;
  aspect-ratio: 1;
  background:
    radial-gradient(circle at 31% 24%, rgba(255, 255, 255, 0.46), transparent 24%),
    linear-gradient(145deg, #b98224, #71480e);
  border-radius: 999px;
  box-shadow:
    inset 0 5px 8px rgba(255, 255, 255, 0.24),
    inset 0 -8px 12px rgba(0, 0, 0, 0.14);
  color: #fff;
  display: inline-grid;
  justify-content: center;
  min-width: 46px;
}

.status-pill {
  border-radius: 999px;
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 900;
  padding: 7px 10px;
  text-align: center;
}

.status-pill.available {
  background: #e5f4eb;
  color: #24633e;
}

.status-pill.reserved {
  background: #fff0cf;
  color: #845100;
}

.status-pill.paid {
  background: #e6f0ff;
  color: #24508c;
}

.admin-ticket-row.available {
  border-left-color: #2f7d4f;
}

.admin-ticket-row.reserved {
  border-left-color: #b16b00;
}

.admin-ticket-row.paid {
  border-left-color: #285ea8;
}

.admin-ticket-row > span {
  color: var(--muted);
  overflow-wrap: anywhere;
}

.ticket-actions {
  justify-content: flex-end;
}

.ticket-actions select,
.ticket-actions input {
  min-height: 40px;
  min-width: 120px;
}

.ticket-actions .button {
  min-height: 40px;
  padding: 8px 12px;
}

.modal-backdrop {
  align-items: center;
  background: rgba(11, 34, 57, 0.62);
  display: flex;
  inset: 0;
  justify-content: center;
  padding: 20px;
  position: fixed;
  z-index: 80;
}

.confirmation-modal {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(255, 249, 235, 0.96)),
    var(--surface);
  border: 1px solid #e7c36c;
  border-radius: 18px;
  box-shadow: 0 28px 80px rgba(11, 34, 57, 0.28);
  color: var(--brand-dark);
  display: grid;
  gap: 12px;
  max-width: 480px;
  padding: clamp(22px, 4vw, 34px);
  text-align: center;
  width: min(100%, 480px);
}

.confirmation-modal h2,
.confirmation-modal p {
  margin: 0;
}

.confirmation-modal p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.55;
}

.modal-icon {
  align-items: center;
  background: var(--success-bg);
  border: 2px solid #9bc9aa;
  border-radius: 999px;
  color: var(--success);
  display: inline-flex;
  font-size: 1.8rem;
  font-weight: 1000;
  height: 58px;
  justify-content: center;
  justify-self: center;
  width: 58px;
}

.account-login-page .simple-hero {
  background:
    linear-gradient(130deg, rgba(255, 255, 255, 0.94), rgba(234, 240, 247, 0.9)),
    var(--surface);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
  margin-bottom: 24px;
  padding: clamp(24px, 5vw, 52px);
}

.account-login-page .login-grid .panel {
  border-radius: 24px;
}

.account-login-page .login-grid .panel:first-child::before {
  background: linear-gradient(90deg, var(--brand), var(--sun));
}

.account-login-page .login-grid .panel:last-child::before {
  background: linear-gradient(90deg, var(--sun), var(--accent));
}

.login-code-card {
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 6px solid var(--sun);
  border-radius: 18px;
  box-shadow: var(--soft-shadow);
  display: grid;
  gap: 12px;
  grid-template-columns: auto minmax(180px, 1fr) auto;
  margin: 18px 0;
  padding: 16px;
}

.login-code-card span {
  color: var(--muted);
  font-weight: 900;
}

.login-code-card input {
  background: var(--surface-strong);
  color: var(--ink);
  font-family: Consolas, Menlo, monospace;
  font-size: 1.6rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-align: center;
}

.session-expired-page {
  background:
    linear-gradient(rgba(245, 247, 250, 0.92), rgba(245, 247, 250, 0.98)),
    url("brand/pattern-trama.svg"),
    radial-gradient(circle at 12% 8%, rgba(0, 49, 137, 0.16), transparent 28rem),
    radial-gradient(circle at 88% 18%, rgba(216, 0, 37, 0.1), transparent 30rem),
    var(--bg);
}

.session-expired-card {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(234, 240, 247, 0.92)),
    var(--surface);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
  margin: 0 auto;
  max-width: 860px;
  overflow: hidden;
  padding: clamp(28px, 6vw, 58px);
  position: relative;
}

.session-expired-card::before {
  background: linear-gradient(90deg, var(--sun) 0 45%, var(--brand) 45% 75%, var(--accent) 75%);
  content: "";
  display: block;
  height: 7px;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
}

.session-expired-card .lead {
  max-width: 680px;
}

body.product-cuenta-page {
  --brand: #35647d;
  --brand-dark: #23495e;
  --accent: #ba7a37;
  --surface-strong: #eef4f7;
  --focus: 0 0 0 4px rgba(53, 100, 125, 0.2);
}

body.product-balance-page {
  --brand: #397054;
  --brand-dark: #27543d;
  --accent: #bb8b38;
  --surface-strong: #eef6f0;
  --focus: 0 0 0 4px rgba(57, 112, 84, 0.2);
}

.product-talonarios-page .simple-hero,
.product-cuenta-page .simple-hero,
.product-balance-page .simple-hero,
.product-autorregistro .simple-hero {
  border-left: 6px solid var(--brand);
  padding-left: clamp(20px, 4vw, 42px);
}

.product-talonarios-page .project-panel::before,
.product-cuenta-page .project-panel::before,
.product-balance-page .project-panel::before {
  background: linear-gradient(90deg, var(--brand), var(--accent));
}

body.product-autorregistro {
  --brand: #6a587b;
  --brand-dark: #4d3d5d;
  --accent: #b66b5d;
  --focus: 0 0 0 4px rgba(106, 88, 123, 0.2);
  background:
    linear-gradient(rgba(243, 239, 246, 0.94), rgba(243, 239, 246, 0.98)),
    url("brand/pattern-trama.svg"),
    radial-gradient(circle at 8% 4%, rgba(106, 88, 123, 0.16), transparent 28rem),
    radial-gradient(circle at 92% 15%, rgba(182, 107, 93, 0.13), transparent 32rem);
}

.product-autorregistro .site-header {
  background:
    linear-gradient(90deg, rgba(11, 34, 57, 0.99), rgba(77, 61, 93, 0.97)),
    url("brand/pattern-trama.svg");
  border-bottom-color: #b66b5d;
}

.product-autorregistro h1,
.product-autorregistro h2 {
  font-family: "Manrope", "Segoe UI Variable Display", "Segoe UI", sans-serif;
  font-weight: 800;
  letter-spacing: -0.035em;
}

.product-autorregistro .hero.compact {
  background:
    linear-gradient(130deg, rgba(255, 255, 255, 0.9), rgba(238, 232, 242, 0.88)),
    var(--surface);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
  padding: clamp(24px, 5vw, 52px);
}

.product-autorregistro .hero.compact .lead {
  max-width: 760px;
}

.product-autorregistro .stats article {
  background: rgba(255, 255, 255, 0.92);
  border-color: var(--line);
  box-shadow: var(--soft-shadow);
}

.product-autorregistro .panel::before {
  background: linear-gradient(90deg, #6a587b, #b66b5d, #ffc800);
}

.product-autorregistro .panel,
.product-autorregistro .stats article {
  border-radius: 20px;
}

.product-autorregistro textarea,
.product-autorregistro select,
.product-autorregistro input {
  background: #fdfefd;
}

.product-autorregistro textarea:focus,
.product-autorregistro select:focus,
.product-autorregistro input:focus {
  border-color: #6a587b;
  box-shadow: var(--focus);
}

.product-autorregistro .entry strong {
  color: #6a587b;
}

.product-autorregistro .entry small {
  background: #f3eff6;
  border-color: #d9cfe0;
}

.install-card {
  align-items: center;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  border-radius: 20px;
  display: grid;
  gap: 14px 20px;
  grid-template-columns: minmax(0, 1fr) auto;
  margin-top: 24px;
  padding: 20px;
}

.install-card strong {
  display: block;
  font-size: 1.05rem;
  margin: 5px 0 6px;
}

.install-card p {
  color: var(--muted);
  line-height: 1.5;
  margin: 0;
}

.install-card details {
  border-top: 1px solid var(--line);
  grid-column: 1 / -1;
  padding-top: 12px;
}

.install-card summary {
  color: var(--brand-dark);
  cursor: pointer;
  font-weight: 700;
}

.install-card details p {
  margin-top: 10px;
}

.install-kicker {
  color: #6a587b;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@media (max-width: 1020px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    padding: 18px 24px;
  }

  .site-nav {
    justify-content: flex-start;
  }

  .hero,
  .product-grid,
  .service-grid,
  .trust-section,
  .trust-grid,
  .content-grid,
  .project-layout,
  .stats,
  .workspace,
  .split,
  .split.two,
  .talonarios-workspace {
    grid-template-columns: 1fr;
  }

  .admin-ticket-row {
    grid-template-columns: 54px minmax(0, 1fr);
  }

  .ticket-actions {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }

  .hero {
    min-height: auto;
  }

  .brand-panel {
    min-height: 430px;
  }

  .install-card {
    grid-template-columns: 1fr;
  }

  .install-card details {
    grid-column: 1;
  }
}

@media (max-width: 720px) {
  .site-header,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
    padding: 18px;
  }

  main,
  .page-main,
  .shell {
    padding: 36px 18px 56px;
  }

  h1 {
    font-size: clamp(2.45rem, 13vw, 3.55rem);
  }

  .site-nav a {
    font-size: 0.84rem;
    white-space: nowrap;
  }

  .site-nav {
    flex-wrap: nowrap;
    max-width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
    width: 100%;
  }

  .product-autorregistro .site-nav a {
    display: none;
  }

  .product-autorregistro .site-nav a[href*="autorregistro"],
  .product-autorregistro .site-nav .account-link {
    display: inline-flex;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .footer-nav {
    text-align: left;
  }

  .brand-panel {
    min-height: 390px;
  }

  .principle-row {
    grid-template-columns: 1fr;
  }

  .ballot-board-100 {
    gap: 4px;
    grid-template-columns: repeat(10, minmax(0, 1fr));
    padding: 8px;
  }

  .ballot-board-large {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .ballot {
    font-size: clamp(0.68rem, 2.5vw, 0.92rem);
  }

  .copy-row {
    grid-template-columns: 1fr;
  }

  .admin-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .admin-ticket-row {
    align-items: stretch;
    grid-template-columns: 52px minmax(0, 1fr);
  }

  .admin-ticket-row > span,
  .admin-ticket-row .ticket-actions {
    grid-column: 1 / -1;
  }

  .login-code-card {
    grid-template-columns: 1fr;
  }

  .ticket-actions select,
  .ticket-actions input,
  .ticket-actions .button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* Sequential account access */
.login-page { max-width: 1180px; }
.auth-shell { align-items: center; display: grid; gap: clamp(32px, 7vw, 92px); grid-template-columns: minmax(0, 1.05fr) minmax(340px, .72fr); min-height: min(660px, calc(100vh - 210px)); }
.auth-intro { display: grid; gap: 18px; }
.auth-intro h1 { margin: 0; }
.auth-progress { display: flex; gap: 10px; list-style: none; margin: 10px 0 0; padding: 0; }
.auth-progress li { align-items: center; color: var(--text-muted); display: flex; font-weight: 750; gap: 8px; }
.auth-progress li::after { background: var(--border); content: ""; height: 1px; margin-inline: 5px; width: clamp(24px, 5vw, 72px); }
.auth-progress li:last-child::after { display: none; }
.auth-progress span { align-items: center; border: 1px solid var(--border); border-radius: 50%; display: inline-flex; height: 30px; justify-content: center; width: 30px; }
.auth-progress .is-current { color: var(--text); }
.auth-progress .is-current span { background: var(--action); border-color: var(--action); color: var(--on-action); }
.auth-progress .is-complete span { background: var(--success-bg); border-color: var(--success); color: var(--success); }
.auth-card { border-radius: var(--radius-lg); display: grid; gap: 18px; padding: clamp(24px, 4vw, 42px); }
.auth-form { gap: 22px; }
.auth-form .button { width: 100%; }
.pending-email { background: var(--surface-muted); border: 1px solid var(--border); border-radius: var(--radius-md); display: grid; gap: 2px; padding: 14px 16px; }
.pending-email span { color: var(--text-muted); font-size: .82rem; }
.code-input { font-size: clamp(1.5rem, 4vw, 2.1rem); font-variant-numeric: tabular-nums; font-weight: 800; letter-spacing: .35em; text-align: center; }
.login-code-card { align-items: center; background: var(--warning-bg); border-color: color-mix(in srgb, var(--warning) 42%, var(--border)); border-radius: var(--radius-md); display: flex; gap: 12px; justify-content: space-between; padding: 12px 14px; }
.login-code-card strong { font-size: 1.25rem; letter-spacing: .16em; }
.auth-secondary-actions { border-top: 1px solid var(--border); display: flex; flex-wrap: wrap; gap: 8px 18px; padding-top: 16px; }
.auth-secondary-actions button { background: transparent; border: 0; color: var(--brand-dark); cursor: pointer; font: inherit; font-weight: 750; padding: 4px 0; text-decoration: underline; text-underline-offset: 3px; }

/* Full-width Autorregistro workspace and history */
.autorregistro-workspace { margin-top: 34px; }
.autorregistro-form { display: grid; gap: 22px; grid-template-columns: repeat(2, minmax(0, 1fr)); padding: clamp(22px, 4vw, 42px); }
.autorregistro-form > .eyebrow,
.autorregistro-form > h2,
.autorregistro-form > .split,
.autorregistro-form > .button { grid-column: 1 / -1; }
.autorregistro-form > h2 { margin-bottom: 6px; }
.autorregistro-form > .split { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.autorregistro-form textarea { min-height: 132px; }
.autorregistro-history { margin-top: 34px; padding: clamp(20px, 3vw, 34px); }
.history-heading { align-items: end; display: flex; gap: 24px; justify-content: space-between; margin-bottom: 22px; }
.history-heading h2,
.history-heading p { margin-bottom: 0; }
.history-heading > p { color: var(--text-muted); }
.records-table-wrap { border: 1px solid var(--border); border-radius: var(--radius-md); overflow-x: auto; }
.records-table { border-collapse: collapse; font-size: .88rem; min-width: 1500px; width: 100%; }
.records-table th { background: var(--surface-muted); color: var(--text); font-size: .75rem; letter-spacing: .05em; position: sticky; text-align: left; text-transform: uppercase; top: 0; }
.records-table th,
.records-table td { border-bottom: 1px solid var(--border); max-width: 260px; padding: 13px 14px; vertical-align: top; }
.records-table tbody tr:last-child td { border-bottom: 0; }
.records-table tbody tr:hover { background: color-mix(in srgb, var(--surface-muted) 55%, transparent); }
.record-text summary { color: var(--brand-dark); cursor: pointer; font-weight: 700; }
.record-text p { color: var(--text); margin: 10px 0 0; min-width: 230px; }
.empty-value { color: var(--text-muted); }
.intensity-badge { background: var(--surface-muted); border: 1px solid var(--border); border-radius: 999px; display: inline-flex; font-weight: 800; padding: 4px 8px; }
.pagination { align-items: center; display: flex; gap: 16px; justify-content: center; margin-top: 22px; }
.pagination span { color: var(--text-muted); }
.empty-state { padding: 32px 0; text-align: center; }

@media (max-width: 820px) {
  .auth-shell { grid-template-columns: 1fr; min-height: 0; }
  .auth-intro { max-width: 680px; }
  .autorregistro-form { grid-template-columns: 1fr; }
  .autorregistro-form > * { grid-column: 1 !important; }
  .autorregistro-form > .split { grid-template-columns: 1fr; }
  .history-heading { align-items: flex-start; flex-direction: column; gap: 6px; }
  .records-table-wrap { border: 0; overflow: visible; }
  .records-table,
  .records-table tbody { display: grid; gap: 16px; min-width: 0; }
  .records-table thead { display: none; }
  .records-table tr { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); display: grid; overflow: hidden; }
  .records-table td { border-bottom: 1px solid var(--border); display: grid; gap: 5px; max-width: none; padding: 12px 14px; }
  .records-table td::before { color: var(--text-muted); content: attr(data-label); font-size: .7rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
  .records-table td:last-child { border-bottom: 0; }
  .record-text p { min-width: 0; }
}

@media (max-width: 520px) {
  .auth-progress li::after { width: 20px; }
  .auth-card { padding: 20px; }
  .login-code-card { align-items: flex-start; flex-direction: column; }
  .pagination { align-items: stretch; flex-direction: column; text-align: center; }
}

/* Talonarios test lab and high-priority usability improvements */
.demo-grid { display: grid; gap: 20px; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 34px; }
.demo-card { display: flex; flex-direction: column; padding: clamp(22px, 3vw, 32px); position: relative; }
.demo-card h2 { font-size: clamp(1.45rem, 2.2vw, 2rem); }
.demo-card > p:not(.eyebrow) { color: var(--text-muted); flex: 1; }
.demo-number { color: color-mix(in srgb, var(--brand) 20%, transparent); font-size: 4.5rem; font-weight: 900; line-height: 1; position: absolute; right: 20px; top: 18px; }
.demo-card dl { border-block: 1px solid var(--border); display: grid; gap: 8px; margin: 12px 0 22px; padding: 14px 0; }
.demo-card dl div { display: flex; justify-content: space-between; }
.demo-card dt { color: var(--text-muted); }
.demo-card dd { font-weight: 800; margin: 0; }
.usability-guide { align-items: center; display: grid; gap: clamp(24px, 5vw, 60px); grid-template-columns: 1.15fr .85fr auto; margin-top: 28px; padding: clamp(24px, 4vw, 42px); }
.usability-guide ol { margin: 0; padding-left: 1.3rem; }
.usability-guide li { margin-block: 6px; }
.ballot-tools { align-items: end; background: var(--surface-muted); border: 1px solid var(--border); border-radius: var(--radius-md); display: grid; gap: 12px; grid-template-columns: minmax(180px, 1fr) minmax(140px, .55fr) auto; margin: 18px 0; padding: 14px; }
.ballot-tools label { font-size: .82rem; }
.ballot-tools input,
.ballot-tools select { min-height: 42px; }
.selection-counter { background: var(--surface); border: 1px solid var(--border); border-radius: 999px; padding: 9px 12px; white-space: nowrap; }
.admin-toolbar { flex-wrap: wrap; }
.admin-search { min-width: min(280px, 100%); }
.admin-search input { min-height: 42px; }
.ballot[hidden],
.admin-ticket-row[hidden] { display: none !important; }

@media (max-width: 1050px) {
  .demo-grid { grid-template-columns: 1fr; }
  .usability-guide { align-items: start; grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .ballot-tools { align-items: stretch; grid-template-columns: 1fr; }
}

:focus-visible {
  outline: 3px solid var(--sun);
  outline-offset: 3px;
}

/* pact2gether: acuerdos privados con la identidad ADKIDATA y tonos heredados. */
body.product-pactos-page {
  --brand: #4f3f64;
  --brand-dark: #352a47;
  --accent: #b85f67;
  --surface-strong: #f1eaf4;
  --focus: 0 0 0 4px rgba(79, 63, 100, 0.2);
  background:
    radial-gradient(circle at 8% 12%, rgba(215, 189, 226, 0.48), transparent 24rem),
    radial-gradient(circle at 92% 18%, rgba(169, 210, 246, 0.4), transparent 24rem),
    var(--bg);
}

.pactos-main {
  display: grid;
  gap: 24px;
  margin: 0 auto;
  max-width: 1220px;
}

.pactos-global-notice {
  margin: 24px auto 0;
  max-width: 1120px;
}

.pactos-global-notice.success,
.notice.success {
  background: var(--success-bg);
  border-color: #9bc9aa;
  color: var(--success);
}

.pactos-global-notice.error,
.notice.error {
  background: var(--danger-bg);
  border-color: #e5a8b2;
  color: var(--danger);
}

.pactos-hero {
  align-items: center;
  background:
    radial-gradient(circle at 78% 22%, rgba(215, 189, 226, 0.32), transparent 17rem),
    linear-gradient(135deg, #0b2239, #003189);
  border-bottom-color: var(--sun);
  color: #fff;
  display: flex;
  justify-content: space-between;
}

.pactos-hero h1,
.pactos-hero h2 {
  color: #fff;
}

.pactos-hero .eyebrow {
  color: var(--text-on-highlight);
}

.pactos-hero .lead {
  color: #d8e4ee;
  max-width: 760px;
}

.pactos-seal {
  align-content: center;
  aspect-ratio: 1;
  border: 3px solid var(--sun);
  border-radius: 50%;
  display: grid;
  flex: 0 0 145px;
  padding: 18px;
  text-align: center;
  transform: rotate(4deg);
}

.pactos-seal span {
  font-size: 0.7rem;
  letter-spacing: 0.24em;
}

.pactos-seal strong {
  font-size: 1.3rem;
}

.pactos-onboarding {
  align-items: start;
  display: grid;
  gap: 32px;
  grid-template-columns: auto 1fr;
  margin: 20px auto;
  max-width: 880px;
  padding: 44px;
}

.pactos-step {
  color: var(--accent);
  display: block;
  font-family: "Manrope", "Segoe UI", sans-serif;
  font-size: clamp(3.6rem, 8vw, 7rem);
  font-weight: 900;
  letter-spacing: -0.09em;
  line-height: 0.8;
}

.pactos-space-heading,
.pactos-panel-heading,
.pactos-agreement-top,
.pactos-agreement-meta {
  align-items: center;
  display: flex;
  gap: 20px;
  justify-content: space-between;
}

.pactos-space-heading h2,
.pactos-space-heading p,
.pactos-panel-heading h2 {
  margin-bottom: 4px;
}

.pactos-metrics {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.pactos-metrics article {
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 7px solid var(--brand);
  border-radius: 18px;
  box-shadow: var(--soft-shadow);
  display: grid;
  min-height: 150px;
  padding: 20px;
}

.pactos-metrics article:nth-child(2) { border-left-color: var(--accent); }
.pactos-metrics article:nth-child(3) { border-left-color: var(--sun); }
.pactos-metrics article:nth-child(4) { border-left-color: #6a587b; }
.pactos-metrics span,
.pactos-metrics small { color: var(--muted); }
.pactos-metrics strong { align-self: center; color: var(--ink); font-size: 2.8rem; line-height: 1; }

.pactos-dashboard-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
}

.pactos-guide {
  background: linear-gradient(145deg, #f1eaf4, #fff 72%);
}

.pactos-recent {
  display: grid;
  margin-top: 12px;
}

.pactos-recent a {
  align-items: center;
  border-top: 1px solid var(--line);
  color: var(--ink);
  display: grid;
  gap: 12px;
  grid-template-columns: 12px 1fr auto;
  padding: 16px 4px;
  text-decoration: none;
}

.pactos-recent small { color: var(--muted); }
.pactos-state { background: var(--brand); border-radius: 50%; height: 10px; width: 10px; }
.pactos-state.state-completed { background: var(--success); }
.pactos-state.state-review { background: var(--sun); }
.pactos-state.state-archived { background: #8794a1; }
.pactos-mini-empty { padding-top: 18px; }

.pactos-form-layout {
  align-items: start;
  display: grid;
  gap: clamp(32px, 7vw, 90px);
  grid-template-columns: minmax(0, 0.8fr) minmax(430px, 1.2fr);
  margin: 20px auto;
  max-width: 1080px;
  width: 100%;
}

.pactos-form-card { padding: clamp(24px, 4vw, 42px); }
.stacked-form { display: grid; gap: 12px; }
.stacked-form label,
.pactos-share label { color: var(--ink); font-weight: 800; }
.stacked-form .button { margin-top: 10px; width: 100%; }
.pactos-field-pair { display: grid; gap: 16px; grid-template-columns: 1fr 1fr; }
.pactos-field-pair > div { display: grid; gap: 10px; }
.pactos-share { border-top: 1px solid var(--line); margin-top: 24px; padding-top: 20px; }
.pactos-principles { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.pactos-principles span { background: #f1eaf4; border: 1px solid #d7bde2; border-radius: 999px; color: #5d4b72; font-weight: 800; padding: 6px 12px; }
.pactos-invite-card { margin: 40px auto; max-width: 780px; padding: clamp(28px, 5vw, 54px); text-align: center; }

.pactos-accent {
  background: var(--sun);
  border-color: var(--sun);
  color: var(--text-on-highlight);
}

.pactos-filters {
  align-items: end;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  display: flex;
  gap: 16px;
  padding: 16px;
}

.pactos-filters > div { min-width: 190px; }
.pactos-filters label { color: var(--muted); display: block; font-size: 0.78rem; font-weight: 900; letter-spacing: 0.08em; margin-bottom: 5px; text-transform: uppercase; }
.pactos-filters > span { color: var(--muted); font-weight: 700; margin-left: auto; padding-bottom: 12px; }
.pactos-empty { margin: 36px auto; max-width: 760px; padding: 46px; text-align: center; }

.pactos-agreement-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.pactos-agreement {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  border-top: 7px solid var(--brand);
  box-shadow: var(--soft-shadow);
  padding: clamp(22px, 3vw, 32px);
}

.pactos-agreement.state-review { border-top-color: var(--sun); }
.pactos-agreement.state-completed { border-top-color: var(--success); }
.pactos-agreement.state-archived { border-top-color: #8794a1; }
.pactos-agreement-top { margin-bottom: 20px; }
.pactos-agreement-top span { background: #eee8f2; border-radius: 999px; color: #4f3f64; font-size: 0.78rem; font-weight: 900; padding: 5px 10px; }
.pactos-agreement-top small,
.pactos-agreement-meta { color: var(--muted); }
.pactos-detail { background: #f3eff6; border-left: 4px solid #6a587b; border-radius: 0 10px 10px 0; margin: 18px 0; padding: 16px; }
.pactos-detail p { margin: 6px 0 0; }
.pactos-agreement-meta { border-bottom: 1px solid var(--line); font-size: 0.85rem; padding: 12px 0 18px; }
.pactos-comments summary { color: var(--ink); cursor: pointer; font-weight: 900; padding: 16px 0 6px; }
.pactos-comments summary span { background: #6a587b; border-radius: 50%; color: #fff; display: inline-grid; font-size: 0.75rem; height: 24px; margin-left: 5px; place-items: center; width: 24px; }
.pactos-comment { background: var(--surface-strong); border-radius: 10px; margin-top: 10px; padding: 12px; }
.pactos-comment p { margin: 4px 0; }
.pactos-comment small { color: var(--muted); }
.pactos-comment-form { display: grid; gap: 8px; margin-top: 16px; }

.education-section {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.97), rgba(241, 246, 249, 0.93)),
    var(--surface);
  border: 1px solid var(--line);
  border-radius: 26px;
  box-shadow: var(--soft-shadow);
  display: grid;
  gap: 24px;
  margin: 28px 0;
  overflow: hidden;
  padding: clamp(24px, 5vw, 48px);
  position: relative;
}

.education-section::before {
  background: linear-gradient(90deg, var(--brand), var(--accent), var(--sun));
  content: "";
  height: 7px;
  inset: 0 0 auto;
  position: absolute;
}

.education-heading {
  max-width: 880px;
}

.education-heading h2 {
  margin-bottom: 12px;
}

.education-heading > p:last-child,
.education-steps p,
.education-note {
  color: var(--muted);
  line-height: 1.65;
}

.education-steps {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.education-steps article {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
}

.education-steps article > span {
  color: var(--brand-dark);
  display: block;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  margin-bottom: 14px;
}

.education-steps h3 {
  font-size: 1rem;
  margin: 0 0 8px;
}

.education-steps p {
  font-size: 0.92rem;
  margin: 0;
}

.education-footer {
  align-items: start;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
  padding-top: 20px;
}

.education-note {
  margin: 0;
}

.education-sources {
  display: grid;
  gap: 8px;
}

.education-sources > strong {
  color: var(--ink);
}

.education-sources a {
  font-size: 0.9rem;
  font-weight: 750;
}

@media (max-width: 980px) {
  .pactos-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pactos-dashboard-grid,
  .pactos-form-layout,
  .pactos-agreement-grid,
  .education-footer { grid-template-columns: 1fr; }
  .education-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
  .pactos-hero,
  .pactos-space-heading,
  .pactos-filters { align-items: stretch; flex-direction: column; }
  .pactos-seal { display: none; }
  .pactos-onboarding { grid-template-columns: 1fr; padding: 28px; }
  .pactos-metrics,
  .pactos-field-pair,
  .education-steps { grid-template-columns: 1fr; }
  .pactos-filters > div { min-width: 0; }
  .pactos-filters > span { margin-left: 0; }
}

/* ADKIDATA unified shell · 2026 */
:root {
  color-scheme: light;
  --canvas: #f4f7fb;
  --bg: var(--canvas);
  --surface: #ffffff;
  --paper: var(--surface);
  --surface-raised: rgba(255, 255, 255, 0.9);
  --surface-muted: #edf3f8;
  --text: #081b2b;
  --ink: var(--text);
  --text-muted: #526a7d;
  --muted: var(--text-muted);
  --border: #ccd8e3;
  --line: var(--border);
  --header: #081d31;
  --header-text: #f8fbff;
  --header-muted: #bdd0df;
  --action: #003189;
  --action-hover: #00256b;
  --on-action: #ffffff;
  --text-on-dark: #f8fbff;
  --text-on-highlight: #081b2b;
  --on-accent: #ffffff;
  --link: #003189;
  --account-bg: #d80025;
  --account-hover: #b80020;
  --account-text: #ffffff;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --container: 1380px;
  --content: 760px;
  --gutter: clamp(16px, 3vw, 42px);
  --shadow-sm: 0 8px 24px rgba(8, 27, 43, 0.08);
  --shadow-lg: 0 28px 74px rgba(8, 27, 43, 0.14);
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

html[data-theme="dark"] {
  color-scheme: dark;
  --bg: #061522;
  --canvas: #061522;
  --surface: #0c2438;
  --paper: var(--surface);
  --surface-raised: rgba(14, 39, 60, 0.92);
  --surface-strong: #153650;
  --surface-muted: #112f48;
  --ink: #f4f8fb;
  --text: #f4f8fb;
  --muted: #b6c9d8;
  --text-muted: #b6c9d8;
  --line: #36556e;
  --border: #36556e;
  --brand: #9ab8e2;
  --brand-dark: #c5d6ef;
  --accent: #ff7188;
  --accent-soft: #4b2030;
  --warning-bg: #3d3319;
  --warning: #ffe08a;
  --success-bg: #173b2d;
  --success: #a7e4c3;
  --danger-bg: #49202a;
  --danger: #ffb4c0;
  --header: #04111c;
  --header-text: #f8fbff;
  --header-muted: #b8ccdb;
  --action: #9ab8e2;
  --action-hover: #c5d6ef;
  --on-action: #081b2b;
  --text-on-dark: #f8fbff;
  --text-on-highlight: #081b2b;
  --on-accent: #081b2b;
  --link: #b9d3f5;
  --account-bg: #ff8aa0;
  --account-hover: #ffb2c0;
  --account-text: #081b2b;
  --shadow-sm: 0 8px 24px rgba(0, 0, 0, 0.26);
  --shadow-lg: 0 28px 74px rgba(0, 0, 0, 0.38);
}

html { scroll-padding-top: 150px; }

body {
  background: var(--canvas);
  color: var(--text);
  isolation: isolate;
  line-height: 1.55;
  overflow-x: clip;
  transition: background 240ms var(--ease), color 240ms var(--ease);
}

body::before,
body::after {
  border: 1px solid color-mix(in srgb, var(--brand) 24%, transparent);
  border-radius: 50%;
  content: "";
  display: block;
  height: 38rem;
  opacity: 0.5;
  pointer-events: none;
  position: fixed;
  width: 75rem;
  z-index: -1;
}

body::before {
  left: -36rem;
  top: 10rem;
  transform: rotate(18deg);
  animation: trail-drift 18s var(--ease) infinite alternate;
}

body::after {
  border-color: color-mix(in srgb, var(--accent) 18%, transparent);
  bottom: -20rem;
  right: -38rem;
  transform: rotate(-14deg);
  animation: trail-drift 22s var(--ease) -7s infinite alternate-reverse;
}

@keyframes trail-drift {
  to { transform: translate3d(3rem, -2rem, 0) rotate(24deg); }
}

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

:focus-visible {
  outline: 3px solid var(--sun);
  outline-offset: 3px;
}

.site-header {
  align-items: stretch;
  background: color-mix(in srgb, var(--header) 95%, transparent);
  border-bottom: 0;
  box-shadow: 0 12px 38px rgba(3, 14, 24, 0.2);
  display: block;
  min-height: 0;
  padding: 0;
}

.site-header-main {
  align-items: center;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  margin: 0 auto;
  max-width: var(--container);
  min-height: 76px;
  padding: 10px var(--gutter);
  width: 100%;
}

.site-nav { flex-wrap: nowrap; }

.site-nav > a,
.site-nav button {
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  color: var(--header-muted);
  font: inherit;
  font-size: 0.91rem;
  font-weight: 750;
  min-height: 42px;
  padding: 10px 12px;
}

.site-nav button { background: transparent; cursor: pointer; }

.site-nav > a:hover,
.site-nav > a[aria-current="page"],
.site-nav button:hover,
.site-nav button[aria-expanded="true"] {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.14);
  color: var(--header-text);
}

.site-nav .account-link {
  background: var(--account-bg);
  border-radius: var(--radius-sm);
  color: var(--account-text);
  max-width: 220px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.site-nav .account-link:hover {
  background: var(--account-hover);
  border-color: var(--account-hover);
  color: var(--account-text);
}

.site-nav .logout-link { color: var(--header-muted); }

.apps-menu { position: relative; }

.apps-menu-toggle { align-items: center; display: inline-flex; gap: 7px; }
.apps-menu-indicator { font-size: 0.78rem; line-height: 1; }

.apps-menu-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  color: var(--text);
  display: grid;
  gap: 4px;
  min-width: min(430px, calc(100vw - 32px));
  padding: 9px;
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
}

.apps-menu-panel[hidden] { display: none; }

.site-nav .app-menu-item {
  align-items: center;
  border-radius: var(--radius-sm);
  color: var(--text);
  display: flex;
  gap: 16px;
  justify-content: space-between;
  line-height: 1.25;
  padding: 12px;
}

.site-nav .app-menu-item:hover,
.site-nav .app-menu-item.is-active {
  background: var(--surface-muted);
  border-color: var(--border);
  color: var(--text);
}

.app-menu-item span { display: grid; gap: 4px; }
.app-menu-item small { color: var(--text-muted); font-weight: 500; }
.app-status { border-radius: 999px; font-size: 0.72rem; font-style: normal; padding: 5px 8px; white-space: nowrap; }
.app-status-available { background: var(--success-bg); color: var(--success); }
.app-status-coming { background: var(--surface-muted); color: var(--text-muted); }

.theme-toggle { align-items: center; display: inline-flex; gap: 7px; }
.theme-icon { font-size: 1.15rem; }

.period-chip {
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  color: var(--header-text);
  display: inline-flex;
  font-size: 0.78rem;
  font-variant-numeric: tabular-nums;
  font-weight: 800;
  gap: 6px;
  min-height: 34px;
  padding: 7px 10px;
  white-space: nowrap;
}

.product-bar {
  align-items: center;
  background: color-mix(in srgb, var(--header) 90%, var(--brand) 10%);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  gap: 32px;
  justify-content: space-between;
  min-height: 60px;
  padding: 8px max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter)));
}

.product-bar-name { color: var(--header-text); display: grid; line-height: 1.15; text-decoration: none; }
.product-bar-name span { color: var(--header-muted); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; }
.product-bar-name strong { font-size: 1rem; }
.product-nav { display: flex; gap: 8px; overflow-x: auto; }
.product-nav a { border-radius: 999px; color: var(--header-muted); font-size: 0.84rem; font-weight: 750; padding: 8px 12px; text-decoration: none; white-space: nowrap; }
.product-nav a:hover,
.product-nav a[aria-current="page"] { background: rgba(255,255,255,.11); color: var(--header-text); }

.mobile-nav-toggle { background: transparent; border: 0; display: none; padding: 10px; }
.mobile-nav-toggle span[aria-hidden] { background: var(--header-text); display: block; height: 2px; margin: 5px 0; width: 24px; }

.page-main,
main,
.shell {
  margin-inline: auto;
  max-width: var(--container);
  padding: clamp(42px, 7vw, 92px) var(--gutter) clamp(68px, 9vw, 120px);
}

.hero { min-height: min(660px, calc(100vh - 76px)); }
.hero.compact { max-width: 1040px; }
h1 { font-size: clamp(2.5rem, 5.2vw, 5.5rem); letter-spacing: -0.045em; line-height: 0.98; }
h2 { letter-spacing: -0.025em; }
.lead { font-size: clamp(1.08rem, 1.2vw, 1.28rem); max-width: var(--content); }
.app-tagline { color: var(--brand-dark); font-family: "Segoe UI Variable Display", "Segoe UI", sans-serif; font-size: clamp(1.35rem, 2.4vw, 2.2rem); font-weight: 760; letter-spacing: -.025em; margin: 14px 0 12px; max-width: 860px; }

.panel,
.product-card,
.content-card,
.stats article,
.education-card {
  background: var(--surface-raised);
  border-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.button { border-radius: 999px; min-height: 46px; }
.button.primary { background: var(--action); border-color: var(--action); color: var(--on-action); }
.button.primary:hover { background: var(--action-hover); border-color: var(--action-hover); }
.button.secondary { background: var(--surface); border-color: var(--border); color: var(--text); }

input,
select,
textarea {
  background: var(--surface);
  border-color: var(--border);
  color: var(--text);
}

input::placeholder,
textarea::placeholder { color: color-mix(in srgb, var(--text-muted) 78%, transparent); }

.site-footer {
  background: var(--header);
  color: var(--header-text);
  margin-top: 0;
}

.subdomain-link,
.record-text summary,
.auth-secondary-actions button,
.education-sources a {
  color: var(--link);
}

.panel .eyebrow {
  color: var(--text-on-highlight);
}

html[data-theme="dark"] .product-talonarios {
  --product-color: #f2ce83;
}

html[data-theme="dark"] .product-autorregistro-card {
  --product-color: #dec9e9;
}

html[data-theme="dark"] .product-pactos-card {
  --product-color: #d8c4e8;
}

html[data-theme="dark"] .product-lacuentadecobro,
html[data-theme="dark"] .product-cuenta {
  --product-color: #b5dceb;
}

html[data-theme="dark"] .product-mibf,
html[data-theme="dark"] .product-balance {
  --product-color: #b5e2c8;
}

html[data-theme="dark"] body.product-talonarios,
html[data-theme="dark"] body.product-talonarios-page {
  --brand: #e9bd67;
  --brand-dark: #f2d99f;
  --accent: #e7a943;
  --surface-strong: #3b311d;
  --link: #f2d99f;
  --focus: 0 0 0 4px rgba(233, 189, 103, 0.32);
}

html[data-theme="dark"] body.product-cuenta-page,
html[data-theme="dark"] body.product-lacuentadecobro {
  --brand: #91c6dc;
  --brand-dark: #c1e2ef;
  --accent: #e4b172;
  --surface-strong: #183849;
  --link: #c1e2ef;
  --focus: 0 0 0 4px rgba(145, 198, 220, 0.3);
}

html[data-theme="dark"] body.product-balance-page,
html[data-theme="dark"] body.product-mibf {
  --brand: #91cfae;
  --brand-dark: #c0e7d1;
  --accent: #e2b96d;
  --surface-strong: #193b30;
  --link: #c0e7d1;
  --focus: 0 0 0 4px rgba(145, 207, 174, 0.3);
}

html[data-theme="dark"] body.product-autorregistro {
  --brand: #cbb3db;
  --brand-dark: #e1d2ea;
  --accent: #efa99d;
  --surface-strong: #342b40;
  --link: #e1d2ea;
  --focus: 0 0 0 4px rgba(203, 179, 219, 0.3);
  background:
    linear-gradient(rgba(6, 21, 34, 0.94), rgba(6, 21, 34, 0.98)),
    url("brand/pattern-trama.svg"),
    radial-gradient(circle at 8% 4%, rgba(203, 179, 219, 0.14), transparent 28rem),
    radial-gradient(circle at 92% 15%, rgba(239, 169, 157, 0.11), transparent 32rem),
    var(--canvas);
}

html[data-theme="dark"] body.product-pactos-page,
html[data-theme="dark"] body.product-pact2gether {
  --brand: #c7b1d9;
  --brand-dark: #dfd0e9;
  --accent: #efa4ad;
  --surface-strong: #342b40;
  --link: #dfd0e9;
  --focus: 0 0 0 4px rgba(199, 177, 217, 0.3);
  background:
    radial-gradient(circle at 8% 12%, rgba(199, 177, 217, 0.14), transparent 24rem),
    radial-gradient(circle at 92% 18%, rgba(145, 198, 220, 0.12), transparent 24rem),
    var(--canvas);
}

html[data-theme="dark"] .talonarios-hero,
html[data-theme="dark"] .ballot-panel,
html[data-theme="dark"] .account-login-page .simple-hero,
html[data-theme="dark"] .session-expired-card,
html[data-theme="dark"] .product-autorregistro .hero.compact,
html[data-theme="dark"] .education-section,
html[data-theme="dark"] .confirmation-modal {
  background:
    linear-gradient(135deg, rgba(21, 54, 80, 0.72), rgba(12, 36, 56, 0.92)),
    var(--surface);
  color: var(--text);
}

html[data-theme="dark"] .ballot-board {
  background:
    linear-gradient(135deg, rgba(233, 189, 103, 0.08), rgba(231, 169, 67, 0.07)),
    var(--surface-muted);
  border-color: var(--border);
}

html[data-theme="dark"] .admin-ticket-row,
html[data-theme="dark"] .login-code-card,
html[data-theme="dark"] .product-autorregistro .stats article,
html[data-theme="dark"] .install-card,
html[data-theme="dark"] .education-steps article {
  background: var(--surface-raised);
  border-color: var(--border);
  color: var(--text);
}

html[data-theme="dark"] .product-autorregistro textarea,
html[data-theme="dark"] .product-autorregistro select,
html[data-theme="dark"] .product-autorregistro input {
  background: var(--surface);
  border-color: var(--border);
  color: var(--text);
}

html[data-theme="dark"] .product-autorregistro .entry strong {
  color: var(--link);
}

html[data-theme="dark"] .product-autorregistro .entry small,
html[data-theme="dark"] .pactos-guide,
html[data-theme="dark"] .pactos-principles span,
html[data-theme="dark"] .pactos-agreement-top span,
html[data-theme="dark"] .pactos-detail {
  background: var(--surface-strong);
  border-color: var(--border);
  color: var(--text);
}

html[data-theme="dark"] .services h2,
html[data-theme="dark"] .services h3,
html[data-theme="dark"] .local-lab h2,
html[data-theme="dark"] .local-lab h3,
html[data-theme="dark"] .hero-panel,
html[data-theme="dark"] .hero-panel h2,
html[data-theme="dark"] .principle-row span {
  color: var(--text-on-dark);
}

@media (max-width: 980px) {
  .mobile-nav-toggle { display: block; }
  .site-nav {
    align-items: stretch;
    background: var(--header);
    display: none;
    flex-direction: column;
    gap: 4px;
    left: 0;
    padding: 14px var(--gutter) 22px;
    position: absolute;
    right: 0;
    top: 76px;
  }
  .site-nav.is-open { display: flex; }
  .site-nav > a,
  .site-nav button { justify-content: flex-start; text-align: left; width: 100%; }
  .apps-menu-panel { margin-top: 6px; min-width: 0; position: static; width: 100%; }
  .period-chip { justify-content: flex-start; margin: 4px 0; width: 100%; }
  .theme-toggle { justify-content: flex-start; }
  .product-bar { align-items: flex-start; flex-direction: column; gap: 10px; padding-block: 12px; }
  .product-nav { max-width: 100%; width: 100%; }
}

@media (max-width: 620px) {
  .site-header-main { min-height: 68px; }
  .site-nav { top: 68px; }
  .brand img { width: 148px; }
  .product-bar { padding-inline: 16px; }
  .app-menu-item { align-items: flex-start !important; }
  .app-status { margin-top: 2px; }
  h1 { font-size: clamp(2.35rem, 12vw, 4rem); }
  .page-main,
  main,
  .shell { padding-inline: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
