@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --navy: #072146;
  --blue: #1464a5;
  --blue-bright: #2a7de1;
  --aqua: #2dcccd;
  --ink: #111827;
  --muted: #64748b;
  --line: #dfe7f1;
  --paper: #ffffff;
  --canvas: #f3f7fb;
  --success: #067647;
  --success-bg: #ecfdf3;
  --warning: #b54708;
  --warning-bg: #fffaeb;
  --danger: #b42318;
  --danger-bg: #fef3f2;
  --shadow: 0 14px 40px rgba(7, 33, 70, .09);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: var(--ink); background: var(--canvas); line-height: 1.55; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4, p { margin-top: 0; }
h1, h2, h3, h4 { letter-spacing: -.025em; text-wrap: balance; }
p { text-wrap: pretty; }
:focus-visible { outline: 3px solid rgba(45, 204, 205, .65); outline-offset: 3px; }

.skip-link { position: fixed; left: 1rem; top: -80px; z-index: 9999; padding: .7rem 1rem; color: #fff; background: var(--navy); border-radius: .6rem; }
.skip-link:focus { top: 1rem; }
.eyebrow { display: block; color: var(--blue); font-size: .72rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.muted { color: var(--muted); }
.text-right { text-align: right; }
.text-small { font-size: .84rem; }
.stack { display: grid; gap: 1rem; }
.cluster { display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; }
.spacer { flex: 1; }
.empty-state { padding: 3rem 1.5rem; text-align: center; color: var(--muted); }
.empty-state strong { display: block; margin-bottom: .35rem; color: var(--ink); font-size: 1rem; }

/* App shell */
.app-body { min-height: 100vh; }
.sidebar { position: fixed; inset: 0 auto 0 0; z-index: 80; width: 264px; display: flex; flex-direction: column; padding: 1.25rem 1rem; color: #dbeafe; background: radial-gradient(circle at 20% 0%, rgba(45, 204, 205, .2), transparent 30%), linear-gradient(180deg, #071f42, #06172f); }
.sidebar-brand { display: grid; grid-template-columns: 44px 1fr; grid-template-rows: auto auto; align-items: center; column-gap: .75rem; padding: .35rem .55rem 1.2rem; color: #fff; }
.sidebar-brand img { grid-row: 1 / 3; width: 44px; height: 44px; object-fit: contain; }
.sidebar-brand span { align-self: end; font-size: 1.2rem; font-weight: 800; letter-spacing: .06em; }
.sidebar-brand small { color: #8fb8d9; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.sidebar-nav { display: grid; gap: .25rem; margin-top: .75rem; }
.sidebar-nav a { display: flex; align-items: center; gap: .8rem; min-height: 44px; padding: .65rem .75rem; border: 1px solid transparent; border-radius: .75rem; color: #bcd0e5; font-size: .9rem; font-weight: 600; transition: .2s var(--ease-out); }
.sidebar-nav a:hover, .sidebar-nav a.is-active { color: #fff; background: rgba(255, 255, 255, .09); border-color: rgba(255, 255, 255, .08); transform: translateX(3px); }
.sidebar-nav a.is-active { box-shadow: inset 3px 0 var(--aqua); }
.nav-icon { display: grid; place-items: center; width: 25px; height: 25px; color: var(--aqua); font-size: .84rem; font-weight: 800; }
.sidebar-footer { display: grid; grid-template-columns: 38px 1fr 24px; align-items: center; gap: .65rem; margin-top: auto; padding: .85rem .55rem 0; border-top: 1px solid rgba(255,255,255,.1); }
.sidebar-footer strong, .sidebar-footer small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sidebar-footer strong { color: #fff; font-size: .8rem; }
.sidebar-footer small { color: #8fb8d9; font-size: .68rem; text-transform: capitalize; }
.user-avatar { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(135deg, var(--blue-bright), var(--aqua)); color: var(--navy); font-weight: 800; }
.app-shell { min-height: 100vh; margin-left: 264px; }
.topbar { position: sticky; top: 0; z-index: 50; min-height: 84px; display: flex; align-items: center; gap: 1rem; padding: 1rem clamp(1rem, 3vw, 2.25rem); background: rgba(243,247,251,.9); border-bottom: 1px solid rgba(223,231,241,.8); backdrop-filter: blur(14px) saturate(160%); -webkit-backdrop-filter: blur(14px) saturate(160%); }
.topbar h1 { margin: .15rem 0 0; font-size: clamp(1.15rem, 2vw, 1.5rem); }
.topbar-actions { margin-left: auto; }
.app-main { padding: 1.5rem clamp(1rem, 3vw, 2.25rem) 3rem; }
.app-footer { padding: 1rem 2rem 1.5rem; color: var(--muted); font-size: .76rem; text-align: center; }
.mobile-menu { display: none; }
.sidebar-overlay { display: none; }

/* Buttons */
.button, button.button { display: inline-flex; align-items: center; justify-content: center; gap: .45rem; min-height: 40px; padding: .62rem 1rem; border: 1px solid transparent; border-radius: .7rem; font-weight: 700; font-size: .84rem; transition: transform .2s var(--ease-out), box-shadow .2s var(--ease-out), background .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: #fff; background: var(--blue); box-shadow: 0 8px 20px rgba(20,100,165,.2); }
.button-primary:hover { background: var(--navy); box-shadow: 0 11px 28px rgba(7,33,70,.26); }
.button-accent { color: var(--navy); background: var(--aqua); }
.button-soft { color: var(--blue); background: #eaf2fb; border-color: #d7e7f7; }
.button-danger { color: var(--danger); background: var(--danger-bg); border-color: #fecdca; }
.button-small { min-height: 32px; padding: .38rem .68rem; font-size: .76rem; }
.icon-button { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: .7rem; background: var(--paper); }

/* Cards and KPIs */
.kpi-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; margin-bottom: 1.25rem; }
.kpi-card { position: relative; min-height: 145px; padding: 1.15rem; overflow: hidden; border: 1px solid var(--line); border-radius: 1rem; background: var(--paper); box-shadow: 0 8px 25px rgba(7,33,70,.05); transition: .25s var(--ease-out); }
.kpi-card::after { content: ""; position: absolute; right: -30px; bottom: -45px; width: 105px; height: 105px; border-radius: 50%; background: radial-gradient(circle, rgba(45,204,205,.22), transparent 70%); }
.kpi-card:hover { transform: translateY(-4px); border-color: rgba(45,204,205,.7); box-shadow: var(--shadow); }
.kpi-label { color: var(--muted); font-size: .76rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.kpi-value { display: block; margin: .55rem 0 .25rem; color: var(--navy); font-size: clamp(1.55rem, 3vw, 2.1rem); font-weight: 800; letter-spacing: -.05em; }
.kpi-foot { color: var(--blue); font-size: .76rem; font-weight: 700; }
.content-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(280px, .7fr); gap: 1rem; }
.panel { min-width: 0; border: 1px solid var(--line); border-radius: 1rem; background: var(--paper); box-shadow: 0 8px 28px rgba(7,33,70,.05); }
.panel-header { display: flex; align-items: center; gap: .75rem; padding: 1rem 1.15rem; border-bottom: 1px solid var(--line); }
.panel-header h2, .panel-header h3 { margin: 0; font-size: 1rem; }
.panel-body { padding: 1.1rem; }
.panel-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.metric-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .75rem 0; border-bottom: 1px solid #edf2f7; }
.metric-row:last-child { border-bottom: 0; }
.team-access { padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
.team-access:last-child { padding-bottom: 0; border-bottom: 0; }
.team-access .metric-row { padding-top: 0; }
.access-tools { margin-top: .8rem; padding: .7rem; border: 1px solid var(--line); border-radius: .75rem; background: #f8fafc; }
.access-tools summary { cursor: pointer; color: var(--blue); font-size: .76rem; font-weight: 800; }
.access-tools[open] summary { margin-bottom: .8rem; }
.access-tools form + form { margin-top: .65rem; }

/* Tables */
.table-wrap { width: 100%; overflow-x: auto; }
.data-table { width: 100%; border-collapse: collapse; font-size: .82rem; }
.data-table th, .data-table td { padding: .82rem .9rem; border-bottom: 1px solid #edf2f7; text-align: left; vertical-align: top; }
.data-table th { color: var(--muted); background: #f8fafc; font-size: .7rem; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; }
.data-table tbody tr:hover { background: #fbfdff; }
.data-table a:not(.button) { color: var(--blue); font-weight: 700; }
.data-table .actions { display: flex; gap: .4rem; white-space: nowrap; }
.badge { display: inline-flex; align-items: center; gap: .3rem; padding: .25rem .55rem; border-radius: 99px; font-size: .69rem; font-weight: 800; white-space: nowrap; }
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.is-success { color: var(--success); background: var(--success-bg); }
.is-warning { color: var(--warning); background: var(--warning-bg); }
.is-danger { color: var(--danger); background: var(--danger-bg); }
.is-neutral { color: #475467; background: #f2f4f7; }

/* Forms */
.filter-bar, .form-grid { display: grid; gap: .9rem; }
.filter-bar { grid-template-columns: repeat(5, minmax(120px, 1fr)); align-items: end; margin-bottom: 1rem; padding: 1rem; border: 1px solid var(--line); border-radius: 1rem; background: var(--paper); }
.form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.form-grid .full { grid-column: 1 / -1; }
.field { display: grid; gap: .38rem; }
.field label { color: #344054; font-size: .78rem; font-weight: 700; }
.field input, .field select, .field textarea { width: 100%; min-height: 42px; padding: .65rem .75rem; color: var(--ink); background: #fff; border: 1px solid #cfd9e6; border-radius: .65rem; outline: 0; transition: .18s; }
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(20,100,165,.12); }
.field small { color: var(--muted); font-size: .7rem; }
.checkbox-field { display: flex; align-items: flex-start; gap: .6rem; }
.checkbox-field input { width: 18px; height: 18px; margin-top: .18rem; accent-color: var(--blue); }
.form-actions { display: flex; align-items: center; justify-content: flex-end; gap: .65rem; padding-top: .5rem; }
.alert { margin-bottom: 1rem; padding: .8rem 1rem; border: 1px solid; border-radius: .75rem; font-size: .84rem; }
.alert-success { color: var(--success); background: var(--success-bg); border-color: #abefc6; }
.alert-warning { color: var(--warning); background: var(--warning-bg); border-color: #fedf89; }
.alert-danger { color: var(--danger); background: var(--danger-bg); border-color: #fecdca; }
.alert-info { color: var(--blue); background: #eff8ff; border-color: #b2ddff; }
.validation-list { margin: 0; padding-left: 1.2rem; }

/* Progress and reports */
.bar-list { display: grid; gap: .85rem; }
.bar-item { display: grid; grid-template-columns: minmax(90px, 150px) 1fr auto; align-items: center; gap: .65rem; font-size: .78rem; }
.bar-track { height: 9px; overflow: hidden; border-radius: 99px; background: #edf2f7; }
.bar-fill { height: 100%; min-width: 4px; border-radius: inherit; background: linear-gradient(90deg, var(--blue), var(--aqua)); }
.pagination { display: flex; justify-content: center; gap: .35rem; padding: 1rem; }
.pagination a, .pagination span { min-width: 34px; padding: .4rem .55rem; text-align: center; border: 1px solid var(--line); border-radius: .5rem; background: #fff; font-size: .76rem; }
.pagination .is-current { color: #fff; background: var(--blue); border-color: var(--blue); }

/* Public contract flow */
.public-flow { min-height: 100vh; background: radial-gradient(circle at 12% 0%, rgba(45,204,205,.22), transparent 26%), radial-gradient(circle at 90% 12%, rgba(42,125,225,.16), transparent 26%), #f6f9fc; }
.public-nav, .portal-topbar { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; min-height: 76px; padding: .8rem clamp(1rem, 6vw, 6rem); background: rgba(255,255,255,.88); border-bottom: 1px solid rgba(223,231,241,.85); backdrop-filter: blur(16px) saturate(170%); -webkit-backdrop-filter: blur(16px) saturate(170%); }
.public-brand img { width: 122px; height: 46px; object-fit: contain; }
.public-nav nav, .portal-topbar nav { display: flex; align-items: center; gap: 1.2rem; color: #344054; font-size: .84rem; font-weight: 700; }
.public-nav nav a:hover, .portal-topbar nav a:hover, .portal-topbar nav a.is-active { color: var(--blue); }
.flow-hero { padding: clamp(3rem, 8vw, 6rem) 1rem 2rem; text-align: center; }
.flow-hero h1 { max-width: 800px; margin: .55rem auto 1rem; color: var(--navy); font-size: clamp(2.15rem, 5vw, 4.3rem); line-height: 1.02; }
.flow-hero p { max-width: 640px; margin: 0 auto; color: var(--muted); font-size: clamp(.98rem, 2vw, 1.15rem); }
.flow-container { width: min(1120px, calc(100% - 2rem)); margin: 0 auto 4rem; }
.plan-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 2rem; }
.plan-card { position: relative; display: flex; flex-direction: column; min-height: 410px; padding: 1.4rem; border: 1px solid rgba(255,255,255,.6); border-radius: 1.3rem; background: rgba(255,255,255,.72); box-shadow: 0 24px 70px rgba(7,33,70,.1); backdrop-filter: blur(18px) saturate(150%); -webkit-backdrop-filter: blur(18px) saturate(150%); transition: .25s var(--ease-out); }
.plan-card:hover { transform: translateY(-7px); border-color: rgba(45,204,205,.8); }
.plan-card.is-featured { color: #fff; background: linear-gradient(150deg, var(--navy), var(--blue)); }
.plan-card.is-featured .muted, .plan-card.is-featured li { color: #dbeafe; }
.plan-price { margin: 1rem 0; font-size: 2.25rem; font-weight: 800; letter-spacing: -.05em; }
.plan-price small { font-size: .75rem; font-weight: 600; letter-spacing: 0; }
.plan-features { display: grid; gap: .65rem; margin: 0 0 1.25rem; padding: 0; list-style: none; color: #475467; font-size: .84rem; }
.plan-features li::before { content: "✓"; margin-right: .5rem; color: var(--aqua); font-weight: 900; }
.plan-card .button { margin-top: auto; }
.flow-card { padding: clamp(1.25rem, 4vw, 2.2rem); border: 1px solid rgba(255,255,255,.7); border-radius: 1.35rem; background: rgba(255,255,255,.82); box-shadow: var(--shadow); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.flow-card h2 { color: var(--navy); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; margin: 0 auto 1.5rem; }
.step { display: flex; align-items: center; gap: .5rem; color: var(--muted); font-size: .74rem; font-weight: 700; }
.step span { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; color: var(--blue); background: #eaf2fb; }
.step.is-active { color: var(--navy); }
.step.is-active span { color: var(--navy); background: var(--aqua); }
.contract-paper { max-height: 590px; padding: 1.8rem; overflow-y: auto; border: 1px solid #d6dce6; border-radius: .7rem; background: #fff; color: #27364a; font-family: Georgia, serif; font-size: .91rem; line-height: 1.72; white-space: pre-wrap; }
.evidence-box { display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; margin: 1rem 0; }
.evidence-box div { padding: .8rem; border-radius: .7rem; background: #f5f8fb; }
.evidence-box small, .evidence-box strong { display: block; }
.evidence-box small { color: var(--muted); font-size: .68rem; text-transform: uppercase; }
.evidence-box strong { margin-top: .2rem; font-size: .8rem; }
.public-footer { display: flex; justify-content: space-between; padding: 1.5rem clamp(1rem, 6vw, 6rem); color: var(--muted); background: #fff; border-top: 1px solid var(--line); font-size: .8rem; }

/* Portal */
.portal-body { min-height: 100vh; background: var(--canvas); }
.portal-topbar { justify-content: flex-start; gap: 2rem; padding-inline: clamp(1rem, 4vw, 3rem); }
.portal-topbar nav { margin-inline: auto; }
.portal-user { display: flex; align-items: center; gap: .8rem; color: var(--muted); font-size: .78rem; }
.portal-user a { color: var(--blue); font-weight: 800; }
.portal-main { width: min(1160px, calc(100% - 2rem)); min-height: calc(100vh - 150px); margin: 0 auto; padding: 2rem 0 4rem; }
.page-heading { margin-bottom: 1.2rem; }
.page-heading h1 { margin: .25rem 0; color: var(--navy); font-size: clamp(1.55rem, 3vw, 2.2rem); }
.detail-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.detail-card { padding: 1rem; border: 1px solid var(--line); border-radius: .9rem; background: #fff; }
.detail-card small, .detail-card strong { display: block; }
.detail-card small { margin-bottom: .3rem; color: var(--muted); font-size: .7rem; text-transform: uppercase; }
.credential-secret { display: inline-flex; align-items: center; gap: .5rem; padding: .35rem .55rem; border-radius: .5rem; background: #f2f4f7; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; }

/* Acceso administrativo */
.auth-body { min-height: 100vh; background: var(--navy); }
.auth-page { position: relative; min-height: 100vh; display: grid; place-items: center; padding: 2rem 1rem; overflow: hidden; background: radial-gradient(circle at 15% 10%, rgba(45,204,205,.2), transparent 26%), radial-gradient(circle at 88% 90%, rgba(42,125,225,.28), transparent 30%), linear-gradient(145deg, #041a38, #0a315f); }
.auth-page::before, .auth-page::after { content: ""; position: absolute; pointer-events: none; border: 1px solid rgba(255,255,255,.08); border-radius: 50%; }
.auth-page::before { width: 520px; height: 520px; left: -220px; bottom: -310px; }
.auth-page::after { width: 360px; height: 360px; right: -190px; top: -190px; }
.auth-card { position: relative; z-index: 1; width: min(510px, 100%); padding: clamp(2rem, 5vw, 3.25rem); border: 1px solid rgba(255,255,255,.72); border-radius: 1.6rem; background: rgba(255,255,255,.98); box-shadow: 0 28px 80px rgba(1,16,36,.34); }
.auth-brand { display: flex; justify-content: center; margin-bottom: 1.35rem; }
.auth-brand img { width: 150px; height: auto; }
.auth-card > .eyebrow { margin-bottom: .35rem; text-align: center; }
.auth-card h1 { margin-bottom: .4rem; color: var(--navy); font-size: clamp(1.65rem, 4vw, 2rem); text-align: center; }
.auth-intro { margin-bottom: 1.5rem; color: var(--muted); text-align: center; }
.auth-card form { margin-top: 1.25rem; }
.field-label-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.field-label-row a { color: var(--blue); font-size: .75rem; font-weight: 700; }
.auth-submit { width: 100%; min-height: 48px; margin-top: .2rem; }
.auth-links { display: flex; justify-content: center; margin-top: 1.35rem; color: var(--blue); font-size: .82rem; font-weight: 700; }
.auth-help { margin: 1rem 0 0; padding: .85rem; border-radius: .75rem; color: var(--muted); background: #f5f8fc; font-size: .78rem; text-align: center; }

/* Instalador heredado: se conserva únicamente para instalaciones autorizadas. */
.login-shell { min-height: 100vh; display: grid; grid-template-columns: minmax(320px, .9fr) minmax(420px, 1.1fr); background: #fff; }
.login-aside { position: relative; display: flex; flex-direction: column; justify-content: space-between; padding: clamp(2rem, 6vw, 5rem); overflow: hidden; color: #fff; background: radial-gradient(circle at 80% 15%, rgba(45,204,205,.35), transparent 25%), linear-gradient(145deg, #051a38, #0b477e); }
.login-aside::after { content: ""; position: absolute; right: -120px; bottom: -120px; width: 360px; height: 360px; border: 1px solid rgba(255,255,255,.12); border-radius: 42% 58% 55% 45%; transform: rotate(18deg); }
.login-logo { width: 150px; }
.login-aside h1 { max-width: 480px; margin-bottom: 1rem; font-size: clamp(2rem, 5vw, 4rem); line-height: 1.02; }
.login-aside p { max-width: 500px; color: #c9def1; }
.login-main { display: grid; place-items: center; padding: 2rem; background: radial-gradient(circle at 100% 0%, rgba(45,204,205,.15), transparent 30%), #fff; }
.login-card { width: min(430px, 100%); }
.login-card h2 { margin-bottom: .4rem; color: var(--navy); font-size: 1.8rem; }
.login-card form { margin-top: 1.4rem; }

@media (max-width: 1120px) {
  .kpi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .filter-bar { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .sidebar { transform: translateX(-100%); transition: transform .25s var(--ease-out); }
  .sidebar.is-open { transform: translateX(0); }
  .app-shell { margin-left: 0; }
  .mobile-menu { display: grid; }
  .sidebar-overlay { position: fixed; inset: 0; z-index: 70; background: rgba(4,18,38,.55); }
  .sidebar-overlay.is-open { display: block; }
  .content-grid, .panel-grid { grid-template-columns: 1fr; }
  .plan-grid { grid-template-columns: 1fr; }
  .plan-card { min-height: auto; }
  .portal-topbar { flex-wrap: wrap; gap: .7rem; }
  .portal-topbar nav { order: 3; width: 100%; overflow-x: auto; margin: 0; padding-bottom: .35rem; }
  .portal-user { margin-left: auto; }
  .login-shell { grid-template-columns: 1fr; }
  .login-aside { min-height: 280px; }
}

@media (max-width: 640px) {
  .topbar-actions { display: none; }
  .app-main { padding-inline: .75rem; }
  .kpi-grid, .detail-grid, .form-grid, .evidence-box { grid-template-columns: 1fr; }
  .filter-bar { grid-template-columns: 1fr 1fr; padding: .75rem; }
  .filter-bar .button { width: 100%; }
  .panel { border-radius: .75rem; }
  .public-nav nav { gap: .65rem; font-size: .72rem; }
  .public-brand img { width: 95px; }
  .flow-hero { padding-top: 2.5rem; }
  .flow-container { width: min(100% - 1rem, 1120px); }
  .steps { grid-template-columns: 1fr; }
  .public-footer { flex-direction: column; gap: .4rem; }
  .login-aside { padding: 2rem 1.25rem; }
  .login-main { padding: 2rem 1rem; }
}

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