/* ===== Un Día como Alumno ESOFA — estilos de pantalla ===== */
:root {
    --navy: #1b3a4b;
    --navy-2: #2b5a70;
    --navy-deep: #0c1b25;
    --sky: #2f9bd0;
    --sky-soft: #e6f3fa;
    --paper: #f4f6f9;
    --field: #eaf1fb;
    --grad-dark: linear-gradient(160deg, #1d3e51 0%, #12293a 45%, #0b1820 100%);
    --grad-btn: linear-gradient(90deg, #1d3c4f 0%, #34647c 100%);
    --card: #ffffff;
    --ink: #1d2733;
    --muted: #5d6a78;
    --line: #dde2e8;
    --ok: #1f7a4d;
    --ok-soft: #e5f4ec;
    --danger: #b3261e;
    --danger-soft: #fbeceb;
    --warn: #8a5a00;
    --warn-soft: #fff4dc;
    --radius: 8px;
    --f-display: "Signika", system-ui, -apple-system, "Segoe UI", sans-serif;
    --f-body: "Signika", system-ui, -apple-system, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 16px/1.55 var(--f-body); color: var(--ink); background: var(--paper); }
a { color: var(--sky); }
img { max-width: 100%; }
[hidden] { display: none !important; }

.wrap { max-width: 1100px; margin: 0 auto; padding: 0 16px; }
.main { padding-top: 28px; padding-bottom: 48px; min-height: 70vh; }

/* ---------- tipografía ---------- */
.h-display { font: 700 clamp(30px, 5vw, 46px)/1.05 var(--f-display); letter-spacing: .2px; margin: 0 0 12px; color: var(--navy); }
.h-section { font: 600 22px/1.2 var(--f-display); color: var(--navy); margin: 0 0 14px; padding: 0; display: flex; align-items: center; gap: 10px; }
.h-sub { font: 600 13px/1.3 var(--f-body); text-transform: uppercase; letter-spacing: .7px; color: var(--muted); margin: 22px 0 8px; }
.eyebrow { font: 600 13px var(--f-body); text-transform: uppercase; letter-spacing: 1.4px; color: var(--sky); margin: 0 0 8px; }
.lead { font-size: 18px; color: #36424f; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
b.req, label b { color: var(--danger); font-weight: 600; }

/* ---------- barra superior ---------- */
.topbar { background: var(--navy); color: #fff; }
.topbar__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; padding: 8px 0; }
.brand__mark { width: 34px; height: 34px; color: #7fb8ee; }
.brand small { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: 1.2px; opacity: .75; }
.brand strong { font: 600 21px/1.1 var(--f-display); letter-spacing: .3px; }
.topnav { display: flex; gap: 4px; flex-wrap: wrap; }
.topnav a { color: #dce8f5; text-decoration: none; padding: 8px 12px; border-radius: 4px; font-weight: 500; font-size: 15px; }
.topnav a:hover { background: rgba(255,255,255,.1); color: #fff; }
.foot { border-top: 1px solid var(--line); padding: 20px 0; color: var(--muted); font-size: 13px; }

/* ---------- tarjetas ---------- */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; margin: 0 0 18px; }
fieldset.card { min-width: 0; }
fieldset.card > legend { float: left; width: 100%; }
fieldset.card > legend + * { clear: both; }
.card--accent { border-left: 4px solid var(--sky); background: #fbfdff; }
.narrow { max-width: 460px; margin-left: auto; margin-right: auto; }
.tag { font: 600 12px var(--f-body); background: var(--sky-soft); color: var(--navy-2); padding: 3px 8px; border-radius: 99px; }

/* ---------- botones ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--navy); color: #fff; border: 1px solid var(--navy);
       border-radius: 6px; padding: 10px 18px; font: 600 15px var(--f-body); text-decoration: none; cursor: pointer; transition: background .15s; }
.btn:hover { background: var(--navy-2); }
.btn:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid #9cc8f3; outline-offset: 1px; }
.btn--lg { padding: 13px 24px; font-size: 16px; }
.btn--sm { padding: 6px 12px; font-size: 13px; }
.btn--block { width: 100%; }
.btn--ghost { background: transparent; color: var(--navy); border-color: #b9c4d0; }
.btn--ghost:hover { background: #fff; }
.btn--sky { background: var(--sky); border-color: var(--sky); }
.btn--sky:hover { background: #2569b0; }
.btn--danger { background: #fff; color: var(--danger); border-color: #e6b8b5; }
.btn--danger:hover { background: var(--danger-soft); }
.btn:disabled { opacity: .6; cursor: wait; }
.link-btn { background: none; border: 0; padding: 0; color: var(--sky); font: inherit; cursor: pointer; text-decoration: underline; }

/* ---------- alertas ---------- */
.alert { padding: 12px 16px; border-radius: 6px; margin: 0 0 18px; border: 1px solid; font-weight: 500; }
.alert--ok { background: var(--ok-soft); border-color: #b8dfc9; color: var(--ok); }
.alert--error { background: var(--danger-soft); border-color: #efc6c3; color: var(--danger); }
.alert--info { background: var(--sky-soft); border-color: #c4dcf3; color: var(--navy-2); }
.alert--warn { background: var(--warn-soft); border-color: #f0d9a6; color: var(--warn); }

/* ---------- formularios ---------- */
.grid { display: grid; gap: 14px 16px; }
.g-2 { grid-template-columns: repeat(2, 1fr); }
.g-3 { grid-template-columns: repeat(3, 1fr); }
.g-4 { grid-template-columns: repeat(4, 1fr); }
.span-2 { grid-column: span 2; }
.span-3 { grid-column: span 3; }
@media (max-width: 860px) { .g-4 { grid-template-columns: repeat(2, 1fr); } .span-3 { grid-column: span 2; } }
@media (max-width: 560px) { .g-2, .g-3, .g-4 { grid-template-columns: 1fr; } .span-2, .span-3 { grid-column: auto; } .card { padding: 18px 16px; } }

.field { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.field label { font-size: 14px; font-weight: 500; color: #34404d; }
input[type=text], input[type=email], input[type=tel], input[type=date], input[type=time], input[type=number], input[type=password], input[type=search], select, textarea {
    width: 100%; font: 16px var(--f-body); color: var(--ink); background: #fff; border: 1px solid #c3ccd6; border-radius: 6px; padding: 10px 12px; min-height: 44px;
}
textarea { min-height: 120px; resize: vertical; line-height: 1.5; }
input[data-mayus] { text-transform: uppercase; }
input::placeholder { text-transform: none; color: #9aa5b1; }
.is-invalid, .was-validated :invalid { border-color: var(--danger) !important; background: #fffafa; }
.field-error { color: var(--danger); font-size: 13px; }
.radios { display: flex; flex-wrap: wrap; gap: 6px 14px; min-height: 44px; align-items: center; }
.radios.is-invalid { border: 1px solid var(--danger); border-radius: 6px; padding: 0 8px; }
.radio { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; cursor: pointer; }
.radio input, .check input { width: 18px; height: 18px; accent-color: var(--navy); }
.check { display: flex; gap: 10px; align-items: flex-start; margin: 10px 0; font-size: 15px; cursor: pointer; }
.check input { flex: 0 0 auto; margin-top: 3px; }
.check.is-invalid { color: var(--danger); }
.edad-info { min-height: 44px; display: flex; align-items: center; font-weight: 600; color: var(--navy-2); font-size: 15px; }
.foto-input { display: flex; gap: 12px; align-items: center; }
.foto-input img { width: 60px; height: 74px; object-fit: cover; border: 1px solid var(--line); border-radius: 4px; }
.hp { position: absolute; left: -9999px; }
.form-actions { display: flex; justify-content: flex-end; gap: 10px; flex-wrap: wrap; }
.page-head { margin-bottom: 20px; }

/* ---------- portada ---------- */
.hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px; align-items: center; margin: 8px 0 32px; }
.hero__cta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; }
@media (max-width: 860px) { .hero { grid-template-columns: 1fr; } }
.pasos { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.pasos li { display: flex; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; }
.pasos li > span { flex: 0 0 34px; height: 34px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font: 700 18px var(--f-display); }
.pasos strong { display: block; color: var(--navy); }
.pasos div { font-size: 15px; color: var(--muted); }
.jornadas { display: grid; gap: 10px; }
.jornada { display: flex; gap: 16px; align-items: center; padding: 12px; border: 1px solid var(--line); border-radius: var(--radius); }
.jornada__fecha { flex: 0 0 62px; text-align: center; background: var(--sky-soft); border-radius: 6px; padding: 6px 0; color: var(--navy); }
.jornada__fecha span { display: block; font: 700 28px/1 var(--f-display); }
.jornada__fecha small { text-transform: uppercase; font-weight: 600; font-size: 12px; letter-spacing: 1px; }
.cupos { font-size: 13px; color: var(--ok); font-weight: 600; }

/* ---------- éxito ---------- */
.exito { text-align: center; max-width: 680px; margin: 0 auto; padding: 36px 24px; }
.exito__icon { width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 50%; background: var(--ok-soft); color: var(--ok); display: grid; place-items: center; }
.exito__icon svg { width: 34px; height: 34px; }
.pasos-mini { text-align: left; margin: 28px 0 18px; display: grid; gap: 8px; background: var(--paper); border-radius: 6px; padding: 16px 18px; font-size: 15px; }

/* =================== PANEL ADMINISTRATIVO =================== */
.admin { background: #eef0f3; }
.admin-shell { display: grid; grid-template-columns: 232px 1fr; min-height: 100vh; }
.side { background: var(--navy); color: #cfdbe8; padding: 18px 12px; display: flex; flex-direction: column; gap: 4px; }
.side .brand { padding: 0 8px 18px; }
.side a, .side .link-btn { display: flex; align-items: center; gap: 10px; color: #cfdbe8; text-decoration: none; padding: 9px 12px; border-radius: 6px; font-weight: 500; font-size: 15px; }
.side a:hover, .side .link-btn:hover { background: rgba(255,255,255,.08); color: #fff; }
.side a.on { background: rgba(127,184,238,.18); color: #fff; }
.side svg { width: 18px; height: 18px; flex: 0 0 18px; }
.side__foot { margin-top: auto; border-top: 1px solid rgba(255,255,255,.12); padding-top: 10px; }
.side__user { font-size: 13px; padding: 4px 12px 8px; opacity: .75; }
.admin-main { padding: 26px 28px 48px; min-width: 0; }
@media (max-width: 900px) {
    .admin-shell { grid-template-columns: 1fr; }
    .side { flex-direction: row; flex-wrap: wrap; padding: 10px; }
    .side .brand { width: 100%; padding-bottom: 8px; }
    .side__foot { margin: 0; border: 0; padding: 0; display: flex; }
    .side__user { display: none; }
    .admin-main { padding: 18px 16px 40px; }
}
.head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.head-row .h-display { font-size: 34px; margin: 0; }

.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-bottom: 18px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; }
.stat small { display: block; color: var(--muted); font-size: 13px; font-weight: 500; }
.stat strong { font: 700 32px/1.1 var(--f-display); color: var(--navy); font-variant-numeric: tabular-nums; }
.two-col { display: grid; grid-template-columns: 1.4fr 1fr; gap: 18px; }
@media (max-width: 1000px) { .two-col { grid-template-columns: 1fr; } }

.bars { display: grid; gap: 8px; }
.bar { display: grid; grid-template-columns: 120px 1fr 40px; gap: 10px; align-items: center; font-size: 14px; }
.bar__track { height: 10px; background: #edf0f4; border-radius: 99px; overflow: hidden; }
.bar__fill { height: 100%; background: var(--sky); border-radius: 99px; }
.bar b { text-align: right; font-variant-numeric: tabular-nums; }

.filters { display: grid; grid-template-columns: 2fr repeat(4, 1fr) auto; gap: 10px; align-items: end; }
@media (max-width: 1000px) { .filters { grid-template-columns: 1fr 1fr; } }

.table-wrap { overflow-x: auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
table.data { width: 100%; border-collapse: collapse; font-size: 14px; }
table.data th { text-align: left; font-weight: 600; color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .5px; padding: 10px 12px; border-bottom: 1px solid var(--line); background: #fafbfc; white-space: nowrap; }
table.data td { padding: 10px 12px; border-bottom: 1px solid #eef1f4; vertical-align: middle; }
table.data tr:last-child td { border-bottom: 0; }
table.data tr:hover td { background: #fafcff; }
table.data .num { text-align: right; font-variant-numeric: tabular-nums; }
.nowrap { white-space: nowrap; }
.pill { display: inline-block; font-size: 12px; font-weight: 600; padding: 2px 8px; border-radius: 99px; background: #edf0f4; color: #47525e; white-space: nowrap; }
.pill--ok { background: var(--ok-soft); color: var(--ok); }
.pill--sky { background: var(--sky-soft); color: var(--navy-2); }
.pill--warn { background: var(--warn-soft); color: var(--warn); }
.pill--danger { background: var(--danger-soft); color: var(--danger); }
.pager { display: flex; gap: 6px; justify-content: center; margin-top: 16px; flex-wrap: wrap; }
.pager a, .pager span { padding: 6px 12px; border-radius: 4px; border: 1px solid var(--line); background: #fff; text-decoration: none; font-size: 14px; color: var(--ink); }
.pager .on { background: var(--navy); color: #fff; border-color: var(--navy); }

dl.kv { display: grid; grid-template-columns: 200px 1fr; gap: 8px 16px; margin: 0; font-size: 15px; }
dl.kv dt { color: var(--muted); }
dl.kv dd { margin: 0; font-weight: 500; word-break: break-word; }
@media (max-width: 560px) { dl.kv { grid-template-columns: 1fr; } dl.kv dd { margin-bottom: 6px; } }
.actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.actions form { margin: 0; }

.vars { display: flex; flex-wrap: wrap; gap: 6px; }
.vars button { font: 500 13px ui-monospace, Consolas, monospace; background: var(--sky-soft); color: var(--navy-2); border: 1px solid #c4dcf3; border-radius: 4px; padding: 4px 8px; cursor: pointer; }
.preview-mail { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #eef1f5; }
.preview-mail iframe { width: 100%; height: 560px; border: 0; display: block; }
.progress { height: 12px; background: #edf0f4; border-radius: 99px; overflow: hidden; margin: 10px 0; }
.progress > div { height: 100%; background: var(--ok); width: 0; transition: width .3s; }

.login { min-height: 100vh; display: grid; place-items: center; background: var(--navy); padding: 16px; }
.login .card { width: 100%; max-width: 400px; }

/* ---------- selección / estadísticas ---------- */
.foot__in { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.foot__in a { color: var(--muted); }
.bulk { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; padding: 12px 14px; margin-bottom: 12px; position: sticky; top: 8px; z-index: 5; }
.bulk select { width: auto; min-width: 230px; }
.bulk__n { font-weight: 600; color: var(--navy); }
table.data input[type=checkbox] { width: 18px; height: 18px; accent-color: var(--navy); cursor: pointer; }
.estado-form select { min-height: 34px; padding: 4px 8px; font-size: 14px; width: auto; }
.tabs-estado { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 12px; }
.tabs-estado a { padding: 6px 12px; border-radius: 99px; border: 1px solid var(--line); background: #fff; text-decoration: none; color: var(--ink); font-size: 14px; font-weight: 500; }
.tabs-estado a.on { background: var(--navy); color: #fff; border-color: var(--navy); }
.stat--ok strong { color: var(--ok); }
.stat small b { font-weight: 600; color: var(--ink); }
.grid-charts { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 18px; }
.grid-charts .card { margin: 0; }
.hbars { display: grid; gap: 7px; }
.hbar { display: grid; grid-template-columns: minmax(90px, 38%) 1fr 64px; gap: 10px; align-items: center; font-size: 14px; }
.hbar > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hbar__track { height: 14px; background: #edf0f4; border-radius: 4px; overflow: hidden; }
.hbar__fill { height: 100%; background: var(--sky); border-radius: 0 4px 4px 0; min-width: 2px; }
.hbar__fill.ok { background: var(--ok); } .hbar__fill.warn { background: #c98a12; } .hbar__fill.danger { background: var(--danger); } .hbar__fill.neutral { background: #8b97a5; }
.hbar b { text-align: right; font-variant-numeric: tabular-nums; font-weight: 600; }
.hbar b small { color: var(--muted); font-weight: 400; }
.cols { display: flex; align-items: flex-end; gap: 3px; height: 160px; padding-top: 18px; border-bottom: 1px solid var(--line); }
.col { flex: 1 1 0; min-width: 6px; max-width: 40px; background: var(--sky); border-radius: 4px 4px 0 0; position: relative; }
.col:hover { background: var(--navy-2); }
.col span { position: absolute; top: -18px; left: 50%; transform: translateX(-50%); font-size: 11px; color: var(--muted); white-space: nowrap; }
.cols-x { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); margin-top: 4px; }
.split { display: flex; height: 22px; border-radius: 4px; overflow: hidden; gap: 2px; background: #fff; margin: 6px 0 10px; }
.split > div { min-width: 2px; }
.legend { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13px; color: var(--muted); }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 6px; vertical-align: -1px; }
@media print { .side, .no-print { display: none !important; } .admin-shell { display: block; } .admin { background: #fff; } .card { break-inside: avoid; } }

/* ---------- logo institucional ---------- */
.brand__logo { height: 44px; width: auto; max-width: 64px; object-fit: contain; flex: 0 0 auto; }
.side .brand__logo { height: 40px; }
.login__logo { display: block; height: 84px; width: auto; margin: 0 auto 14px; }

/* =================== TEMA (estilo Pre-ESOFA) =================== */
body { font-weight: 400; }
.h-display { font-weight: 700; letter-spacing: -.2px; }
.h-section { font-weight: 600; }
.btn { background: var(--grad-btn); border: 0; border-radius: 8px; box-shadow: 0 2px 6px rgba(13,30,42,.18); }
.btn:hover { background: linear-gradient(90deg, #17323f 0%, #2b566b 100%); }
.btn--ghost, .btn--outline { background: #fff; color: var(--navy); border: 1px solid #dde4ec; box-shadow: none; }
.btn--ghost:hover, .btn--outline:hover { background: #f6f9fc; }
.btn--sky { background: var(--sky); }
.btn--danger { background: #fff; color: var(--danger); border: 1px solid #e6b8b5; box-shadow: none; }
.btn__arrow, .btn__icon { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
input[type=text], input[type=email], input[type=tel], input[type=date], input[type=time], input[type=number], input[type=password], input[type=search], select, textarea {
    background: var(--field); border-color: #dfe7f1; border-radius: 8px;
}
input:focus, select:focus, textarea:focus { background: #fff; border-color: #8cc4e6; }
.card { border-radius: 12px; border-color: #e3e9f0; box-shadow: 0 1px 2px rgba(16,40,56,.04); }
.topbar { background: var(--grad-dark); }
.brand__mark { color: #6fc3ea; }
.eyebrow { color: var(--sky); }
.side { background: var(--grad-dark); }
.side a.on { background: rgba(111,195,234,.16); }
.brand__logo { background: #fff; border-radius: 10px; padding: 4px; height: 46px; max-width: 46px; }
.side .brand__logo { height: 42px; max-width: 42px; }
.tabs-estado a.on, .pager .on { background: var(--navy); }
.pasos li > span { background: var(--grad-btn); }

/* ---------- portada pública oscura ---------- */
.hero--dark { background: var(--grad-dark); color: #dce7ef; border-radius: 16px; padding: 40px; margin-top: 0; }
.hero--dark .h-display { color: #fff; }
.hero--dark .lead { color: #c3d3de; }
.hero--dark .eyebrow { color: #6fc3ea; letter-spacing: 2px; }
.hero--dark .btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.hero--dark .btn--ghost:hover { background: rgba(255,255,255,.08); }
.hero--dark .btn { background: #fff; color: var(--navy); }
.hero--dark .pasos li { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.12); }
.hero--dark .pasos strong { color: #fff; }
.hero--dark .pasos div { color: #b9cad6; }
.hero--dark .pasos li > span { background: #fff; color: var(--navy); }
.hero__tile { width: 92px; height: 92px; background: #f3f5f7; border-radius: 18px; display: grid; place-items: center; margin-bottom: 18px; box-shadow: 0 10px 30px rgba(0,0,0,.25); }
.hero__tile img { width: 76px; height: 76px; object-fit: contain; }
.hero__tile svg { width: 48px; height: 48px; color: var(--navy); }
@media (max-width: 560px) { .hero--dark { padding: 24px 18px; border-radius: 12px; } }

/* ---------- login / consulta (layout dividido) ---------- */
.auth-body { background: #fff; }
.auth { display: grid; grid-template-columns: 1fr 1fr; min-height: 100vh; }
.auth__brand { background: var(--grad-dark); color: #c9d6df; display: grid; place-items: center; padding: 48px 32px; }
.auth__brand-in { max-width: 340px; text-align: center; }
.auth__tile { width: 180px; height: 180px; margin: 0 auto 28px; background: #f3f5f7; border-radius: 22px; display: grid; place-items: center; box-shadow: 0 18px 40px rgba(0,0,0,.35); }
.auth__logo { width: 156px; height: 156px; object-fit: contain; }
.auth__mark { width: 80px; height: 80px; color: var(--navy); }
.auth__name { color: #fff; font: 700 30px/1.1 var(--f-display); margin: 0 0 10px; letter-spacing: .5px; }
.auth__tagline { color: #4fb7e6; text-transform: uppercase; letter-spacing: 3px; font-size: 15px; font-weight: 500; margin: 0 0 22px; }
.auth__desc { font-size: 15px; line-height: 1.6; margin: 0; color: #b9c8d3; }
.auth__panel { display: grid; place-items: center; padding: 40px 24px; }
.auth__box { width: 100%; max-width: 380px; }
.auth__head { text-align: center; margin-bottom: 28px; }
.auth__head h2 { font: 700 28px/1.2 var(--f-display); color: var(--navy); margin: 0 0 6px; }
.auth__head p { color: var(--muted); margin: 0; font-size: 15px; }
.auth__form { display: grid; gap: 18px; }
.auth__form .btn { margin-top: 4px; }
.input-icon { position: relative; }
.input-icon > svg { position: absolute; left: 14px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); fill: none; stroke: #9aa8b6; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; pointer-events: none; }
.input-icon input { padding-left: 44px; min-height: 48px; }
.input-icon__toggle { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); background: none; border: 0; padding: 6px; cursor: pointer; color: #9aa8b6; border-radius: 6px; }
.input-icon__toggle:hover { color: var(--navy); }
.input-icon__toggle svg { width: 18px; height: 18px; display: block; fill: none; stroke: currentColor; stroke-width: 1.7; }
.input-icon__toggle.on { color: var(--sky); }
.auth__divider { display: flex; align-items: center; gap: 12px; color: #a3afbb; font-size: 13px; margin: 26px 0 18px; }
.auth__divider::before, .auth__divider::after { content: ""; flex: 1; height: 1px; background: #e5eaf0; }
.auth__copy { text-align: center; color: #a3afbb; font-size: 12px; margin-top: 30px; }
@media (max-width: 860px) {
    .auth { grid-template-columns: 1fr; }
    .auth__brand { padding: 32px 20px; }
    .auth__tile { width: 110px; height: 110px; margin-bottom: 16px; border-radius: 18px; }
    .auth__logo { width: 88px; height: 88px; }
    .auth__desc { display: none; }
    .auth__tagline { margin-bottom: 0; }
}
