:root {
    --ink: #111210;
    --ink-soft: #242521;
    --paper: #f4f1eb;
    --white: #fffefa;
    --coral: #ff6b57;
    --coral-dark: #e95140;
    --lime: #c8f26a;
    --muted: #74756e;
    --line: rgba(17, 18, 16, .11);
    --shadow: 0 24px 70px rgba(26, 25, 22, .10);
    --radius-xl: 32px;
    --radius-lg: 24px;
    --radius-md: 16px;
}

* { box-sizing: border-box; }

html { font-size: 16px; }

body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    -webkit-font-smoothing: antialiased;
}

button, input { font: inherit; }
a { color: inherit; text-decoration: none; }

.brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    font-size: 1.42rem;
    font-weight: 800;
    letter-spacing: -.055em;
}

.brand-mark {
    display: inline-flex;
    align-items: flex-end;
    gap: 3px;
    width: 27px;
    height: 25px;
}

.brand-mark i { display: block; width: 7px; border-radius: 5px; background: var(--coral); transform: skew(-9deg); }
.brand-mark i:nth-child(1) { height: 14px; }
.brand-mark i:nth-child(2) { height: 22px; }
.brand-mark i:nth-child(3) { height: 18px; }

.eyebrow {
    display: block;
    margin-bottom: 15px;
    color: var(--coral-dark);
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .15em;
    text-transform: uppercase;
}
.eyebrow--light { color: #ffc8bf; }

/* Acceso */
.public-main {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 28px;
    background:
        radial-gradient(circle at 12% 16%, rgba(255,107,87,.18), transparent 28%),
        linear-gradient(135deg, #eeeeeb, #fafaf8);
}

.auth-page {
    width: min(1120px, 100%);
    min-height: 680px;
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.85);
    border-radius: 38px;
    background: rgba(255,255,255,.92);
    box-shadow: 0 34px 100px rgba(0,0,0,.14);
}

.auth-art {
    position: relative;
    overflow: hidden;
    min-height: 680px;
    padding: 52px clamp(44px, 6vw, 90px);
    color: var(--white);
    background: var(--ink);
}

.brand--light { position: relative; z-index: 3; }

.auth-copy {
    position: relative;
    z-index: 3;
    max-width: 660px;
    margin-top: clamp(110px, 18vh, 210px);
}

.auth-copy h1,
.auth-form-wrap h2,
.password-card h1,
.dashboard-head h1,
.hero-metric strong,
.content-card h2 {
    margin: 0;
    letter-spacing: -.06em;
    line-height: .96;
}

.auth-copy h1 { font-size: clamp(4rem, 7vw, 7.6rem); font-weight: 680; }
.auth-copy h1 em { color: var(--coral); font-family: Georgia, serif; font-weight: 400; }
.auth-copy p { max-width: 520px; margin: 34px 0 0; color: #b9bab4; font-size: 1.08rem; line-height: 1.75; }

.orb { position: absolute; border-radius: 50%; filter: blur(1px); }
.orb--one { width: 410px; height: 410px; right: -190px; top: 80px; border: 1px solid rgba(255,255,255,.15); box-shadow: inset 0 0 80px rgba(255,107,87,.1); }
.orb--two { width: 250px; height: 250px; left: -110px; bottom: -80px; background: var(--coral); opacity: .82; }

.art-card {
    position: absolute;
    z-index: 4;
    display: flex;
    flex-direction: column;
    padding: 20px 23px;
    border-radius: 20px;
    background: rgba(255, 254, 250, .92);
    color: var(--ink);
    box-shadow: 0 24px 60px rgba(0,0,0,.25);
    transform: rotate(-4deg);
    backdrop-filter: blur(15px);
}
.art-card span { color: var(--muted); font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.art-card strong { margin-top: 8px; font-size: 1.55rem; letter-spacing: -.04em; }
.art-card i { margin-top: 10px; color: #438c42; font-size: .75rem; font-style: normal; }
.art-card--one { right: 9%; bottom: 9%; }
.art-card--two { right: 28%; top: 13%; background: var(--lime); transform: rotate(6deg); }

.auth-panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 680px;
    padding: 54px clamp(42px, 7vw, 110px) 26px;
    background: var(--white);
}

.auth-form-wrap { width: min(100%, 470px); margin: auto; }
.brand--mobile { display: none; margin-bottom: 62px; }
.auth-form-wrap h2 { font-size: clamp(3rem, 5vw, 5rem); font-weight: 690; }
.auth-intro { margin: 22px 0 38px; color: var(--muted); font-size: 1rem; }

.auth-form { display: grid; gap: 20px; }
.field { display: grid; gap: 8px; }
.field label { font-size: .77rem; font-weight: 780; letter-spacing: .04em; }
.field input {
    width: 100%;
    height: 57px;
    padding: 0 17px;
    color: var(--ink);
    background: #f7f5f0;
    border: 1px solid transparent;
    border-radius: 14px;
    outline: none;
    transition: border-color .2s, box-shadow .2s, background .2s;
}
.field input:focus { background: var(--white); border-color: var(--ink); box-shadow: 0 0 0 4px rgba(17,18,16,.06); }
.field > span { min-height: 0; color: #b92f27; font-size: .77rem; }
.password-field { position: relative; }
.password-field input { padding-right: 80px; }
.password-toggle {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    padding: 8px 9px;
    border: 0;
    color: var(--muted);
    background: transparent;
    font-size: .76rem;
    font-weight: 750;
    cursor: pointer;
}

.primary-button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 59px;
    margin-top: 5px;
    padding: 0 19px 0 22px;
    border: 0;
    border-radius: 14px;
    color: var(--white);
    background: var(--ink);
    font-weight: 730;
    cursor: pointer;
    transition: transform .2s, background .2s;
}
.primary-button:hover { background: var(--ink-soft); transform: translateY(-1px); }
.primary-button span { font-size: 1.4rem; }

.validation-summary:empty { display: none; }
.validation-summary { padding: 13px 15px; color: #8e2923; background: #fff0ed; border-radius: 12px; font-size: .84rem; }
.validation-summary ul { margin: 0; padding-left: 19px; }
.notice { display: flex; gap: 10px; align-items: center; margin: 0 0 22px; padding: 14px 15px; border-radius: 12px; font-size: .84rem; }
.notice--success { color: #2c6736; background: #eaf7e9; }
.support-copy { margin: 27px 0 0; color: #93938e; font-size: .78rem; text-align: center; }
.auth-legal { margin: auto auto 0; color: #a09f98; font-size: .71rem; }

/* Cambio de clave y mensajes */
.password-page { min-height: 100vh; display: grid; place-items: center; padding: 28px; background: var(--ink); }
.password-card { width: min(100%, 560px); padding: clamp(32px, 6vw, 60px); border-radius: var(--radius-xl); background: var(--white); box-shadow: var(--shadow); }
.password-card .brand { margin-bottom: 60px; }
.password-card h1 { font-size: clamp(2.65rem, 6vw, 4.4rem); }
.password-card > p { margin: 23px 0 34px; color: var(--muted); line-height: 1.65; }
.centered-card { text-align: center; }
.centered-card .primary-button { margin-top: 30px; text-align: left; }
.status-symbol { display: grid; place-items: center; width: 58px; height: 58px; margin: 0 auto 30px; border-radius: 50%; color: var(--white); background: var(--coral); font-size: 1.6rem; font-weight: 800; }

/* Aplicación */
.app-frame { min-height: 100vh; }
.sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 10;
    display: flex;
    flex-direction: column;
    width: 260px;
    padding: 38px 25px 25px;
    overflow: hidden;
    color: var(--white);
    background: var(--ink);
    transition: width .28s ease, padding .28s ease;
}
.brand--sidebar { width: 100%; padding: 0 13px; border: 0; color: inherit; background: transparent; text-align: left; cursor: pointer; }
.brand--sidebar:focus-visible { outline: 2px solid var(--lime); outline-offset: 7px; border-radius: 8px; }
.main-nav { display: grid; width: 100%; min-width: 0; gap: 7px; margin-top: 64px; }
.nav-link { position: relative; display: flex; align-items: center; width: 100%; min-width: 0; gap: 13px; min-height: 50px; padding: 0 13px; overflow: hidden; border-radius: 13px; color: #aeafa9; font-size: .88rem; font-weight: 650; }
.nav-link.active { color: var(--ink); background: var(--white); }
.nav-link.disabled { cursor: default; }
.nav-link small { flex: 0 1 72px; margin-left: auto; overflow: hidden; color: #72736e; font-size: .52rem; text-overflow: ellipsis; text-transform: uppercase; white-space: nowrap; }
.nav-icon { flex: 0 0 20px; width: 20px; font-size: 1.15rem; text-align: center; }
.sidebar-foot { margin-top: auto; }
.company-chip { display: flex; align-items: center; gap: 11px; padding: 14px 10px; border-top: 1px solid rgba(255,255,255,.1); }
.company-chip > span:last-child { display: grid; min-width: 0; }
.company-chip strong, .company-chip small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.company-chip strong { font-size: .78rem; }
.company-chip small { margin-top: 3px; color: #84857e; font-size: .68rem; }
.avatar { display: grid; place-items: center; flex: 0 0 auto; width: 37px; height: 37px; border-radius: 12px; color: var(--ink); background: var(--coral); font-size: .83rem; font-weight: 850; }
.logout-link { display: flex; justify-content: space-between; width: 100%; padding: 10px; border: 0; color: #777873; background: transparent; font-size: .72rem; cursor: pointer; }
.logout-link:hover { color: var(--white); }
.mobile-header, .bottom-nav { display: none; }
.mobile-logout { display: flex; align-items: center; gap: 8px; padding: 0; border: 0; color: var(--muted); background: transparent; cursor: pointer; }
.mobile-logout b { font-size: .7rem; }

.app-main { min-height: 100vh; margin-left: 260px; padding: 52px clamp(34px, 5vw, 82px) 70px; transition: margin-left .28s ease; }
.dashboard-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; }
.dashboard-head h1 { font-size: clamp(2.8rem, 5vw, 5.2rem); font-weight: 690; }
.dashboard-head p { margin: 19px 0 0; color: var(--muted); }
.connection-pill { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; padding: 11px 14px; border: 1px solid var(--line); border-radius: 999px; color: #5f6259; background: rgba(255,255,255,.45); font-size: .72rem; font-weight: 700; }
.connection-pill i { width: 8px; height: 8px; border-radius: 50%; background: #62b75e; box-shadow: 0 0 0 4px rgba(98,183,94,.12); }

.hero-metric { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; min-height: 280px; margin-top: 45px; padding: clamp(30px, 5vw, 58px); border-radius: var(--radius-xl); color: var(--white); background: var(--coral); box-shadow: 0 25px 60px rgba(227,76,58,.17); }
.hero-metric > div:first-child { position: relative; z-index: 2; display: grid; }
.hero-metric span { color: #ffe3de; font-size: .78rem; font-weight: 750; text-transform: uppercase; letter-spacing: .1em; }
.hero-metric strong { margin: 17px 0 12px; font-size: clamp(3.3rem, 7vw, 7rem); font-weight: 660; }
.hero-metric small { color: #ffd4cd; }
.metric-orbit { position: absolute; right: -65px; display: grid; place-items: center; width: 290px; height: 290px; border: 1px solid rgba(255,255,255,.26); border-radius: 50%; }
.metric-orbit::before { content: ""; position: absolute; width: 195px; height: 195px; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; }
.metric-orbit span { display: grid; place-items: center; width: 85px; height: 85px; border-radius: 28px; color: var(--ink); background: var(--lime); font-size: 2.2rem; font-weight: 800; transform: rotate(8deg); }

.metric-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 18px; }
.metric-card { position: relative; display: grid; min-height: 190px; padding: 26px; border-radius: var(--radius-lg); background: var(--white); box-shadow: 0 10px 35px rgba(30,29,25,.05); }
.metric-card--dark { color: var(--white); background: var(--ink); }
.metric-label { color: var(--muted); font-size: .75rem; font-weight: 730; }
.metric-card--dark .metric-label, .metric-card--dark small { color: #8d8e88; }
.metric-card strong { align-self: end; font-size: clamp(2rem, 3vw, 3.2rem); letter-spacing: -.055em; }
.metric-card small { margin-top: 6px; color: var(--muted); }
.metric-icon { position: absolute; right: 22px; top: 21px; display: grid; place-items: center; width: 37px; height: 37px; border-radius: 12px; color: var(--ink); background: var(--paper); font-style: normal; }
.metric-card--dark .metric-icon { background: var(--lime); }

.dashboard-columns { display: grid; grid-template-columns: 1.35fr .65fr; gap: 18px; margin-top: 18px; }
.content-card { min-height: 300px; padding: clamp(27px, 4vw, 40px); border-radius: var(--radius-lg); background: var(--white); }
.card-heading { display: flex; justify-content: space-between; gap: 20px; }
.content-card h2 { font-size: clamp(2rem, 3vw, 3.2rem); }
.soft-badge { align-self: flex-start; padding: 9px 12px; border-radius: 999px; color: var(--muted); background: var(--paper); font-size: .66rem; font-weight: 750; }
.ready-list { display: grid; gap: 18px; margin-top: 36px; }
.ready-list > div { display: flex; gap: 13px; align-items: center; }
.ready-icon { display: grid; place-items: center; flex: 0 0 auto; width: 33px; height: 33px; border-radius: 10px; color: #386b3a; background: #e8f5df; font-weight: 800; }
.ready-list p { display: grid; gap: 3px; margin: 0; }
.ready-list strong { font-size: .86rem; }
.ready-list small { color: var(--muted); font-size: .74rem; }
.coral-card { display: flex; flex-direction: column; color: var(--white); background: var(--ink); }
.coral-card p { color: #a6a7a1; line-height: 1.65; }
.mini-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: auto; }
.mini-stats span { display: grid; padding: 15px; border: 1px solid rgba(255,255,255,.1); border-radius: 14px; color: #969791; font-size: .68rem; }
.mini-stats strong { margin-bottom: 4px; color: var(--white); font-size: 1.35rem; }

/* Escritorio: densidad pensada para que el panel completo respire y quepa
   en la altura util real de una pantalla Full HD con el navegador abierto. */
@media (min-width: 1051px) {
    .public-main { padding: 24px; }
    .auth-page {
        height: min(760px, calc(100dvh - 48px));
        min-height: 620px;
    }
    .auth-art {
        min-height: 0;
        padding: 38px clamp(48px, 4.2vw, 68px);
    }
    .auth-copy { margin-top: clamp(68px, 8.5vh, 88px); }
    .auth-copy h1 { font-size: clamp(4.35rem, 4.6vw, 5.55rem); }
    .auth-copy p { margin-top: 22px; font-size: .94rem; line-height: 1.55; }
    .orb--one { width: 360px; height: 360px; right: -170px; top: 72px; }
    .art-card { padding: 16px 19px; border-radius: 17px; }
    .art-card strong { font-size: 1.3rem; }
    .art-card--one { right: 9%; bottom: 8%; }
    .art-card--two { right: 28%; top: 14%; }

    .auth-panel {
        min-height: 0;
        padding: 38px clamp(54px, 5vw, 78px) 20px;
    }
    .auth-form-wrap h2 { font-size: clamp(3.35rem, 3.7vw, 4.15rem); }
    .auth-intro { margin: 17px 0 24px; font-size: .94rem; }
    .auth-form { gap: 14px; }
    .field { gap: 6px; }
    .field input { height: 52px; }
    .primary-button { min-height: 54px; }
    .support-copy { margin-top: 18px; }

    .sidebar { width: 232px; padding: 30px 18px 20px; }
    .main-nav { margin-top: 46px; }
    .nav-link { min-height: 47px; }
    .app-main {
        margin-left: 232px;
        padding: 30px clamp(30px, 3.3vw, 56px) 34px;
    }
    .dashboard-head h1 { font-size: clamp(3.3rem, 3.7vw, 4.35rem); }
    .dashboard-head p { margin-top: 12px; }
    .hero-metric {
        min-height: 210px;
        margin-top: 25px;
        padding: 36px 48px;
    }
    .hero-metric strong {
        margin: 12px 0 8px;
        font-size: clamp(3.7rem, 4.5vw, 5.35rem);
    }
    .metric-orbit { width: 235px; height: 235px; }
    .metric-orbit::before { width: 158px; height: 158px; }
    .metric-orbit span { width: 72px; height: 72px; border-radius: 23px; font-size: 1.85rem; }
    .metric-grid { gap: 15px; margin-top: 15px; }
    .metric-card { min-height: 145px; padding: 22px; }
    .metric-card strong { font-size: clamp(2rem, 2.4vw, 2.75rem); }
    .metric-icon { right: 19px; top: 18px; }
    .dashboard-columns { gap: 15px; margin-top: 15px; }
    .content-card { min-height: 220px; padding: 28px 32px; }
    .content-card h2 { font-size: clamp(2rem, 2.4vw, 2.7rem); }
    .ready-list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 26px; }
    .ready-list > div { align-items: flex-start; }
    .coral-card p { margin: 13px 0 18px; font-size: .88rem; line-height: 1.5; }
    .mini-stats span { padding: 11px 13px; }

    .sidebar-collapsed .sidebar { width: 80px; padding: 30px 13px 20px; align-items: center; }
    .sidebar-collapsed .brand--sidebar { justify-content: center; padding: 0; }
    .sidebar-collapsed .brand--sidebar > span:last-child { display: none; }
    .sidebar-collapsed .nav-link { justify-content: center; gap: 0; padding: 0; font-size: 0; }
    .sidebar-collapsed .nav-link small { display: none; }
    .sidebar-collapsed .nav-icon { flex-basis: auto; width: auto; font-size: 1.2rem; }
    .sidebar-collapsed .company-chip { justify-content: center; padding: 14px 0; }
    .sidebar-collapsed .company-chip > span:last-child { display: none; }
    .sidebar-collapsed .logout-link { justify-content: center; padding: 11px 0; font-size: 0; }
    .sidebar-collapsed .logout-link span { font-size: 1rem; }
    .sidebar-collapsed .app-main { margin-left: 80px; }
}

/* Altura habitual disponible en un monitor Full HD con el navegador abierto. */
@media (min-width: 1051px) and (max-height: 950px) {
    .app-main { padding-top: 24px; padding-bottom: 18px; }
    .dashboard-head .eyebrow { margin-bottom: 12px; }
    .dashboard-head h1 { font-size: clamp(3.1rem, 3.4vw, 3.95rem); }
    .hero-metric { min-height: 198px; margin-top: 20px; padding: 30px 44px; }
    .hero-metric strong { font-size: clamp(3.55rem, 4.1vw, 4.8rem); }
    .metric-grid, .dashboard-columns { gap: 14px; margin-top: 14px; }
    .metric-card { min-height: 136px; padding: 19px 22px; }
    .content-card { min-height: 0; padding: 24px 28px; }
    .content-card h2 { font-size: clamp(1.9rem, 2.2vw, 2.45rem); }
    .ready-list { gap: 12px; margin-top: 20px; }
    .coral-card p { margin: 10px 0 13px; font-size: .82rem; line-height: 1.45; }
    .mini-stats span { padding: 9px 12px; }
    .mini-stats strong { font-size: 1.2rem; }
}

/* Portatiles y ventanas de poca altura: una vuelta mas de compactacion
   sin usar escalado, para mantener texto y controles nitidos. */
@media (min-width: 1051px) and (max-height: 760px) {
    .auth-page { height: calc(100dvh - 28px); min-height: 590px; }
    .auth-copy { margin-top: 52px; }
    .auth-copy h1 { font-size: 4rem; }
    .auth-copy p { margin-top: 16px; }
    .auth-form-wrap h2 { font-size: 3.25rem; }
    .auth-intro { margin: 13px 0 18px; }
    .support-copy { margin-top: 13px; }
    .auth-legal { font-size: .66rem; }

    .app-main { padding-top: 22px; padding-bottom: 25px; }
    .dashboard-head h1 { font-size: 3.25rem; }
    .hero-metric { min-height: 180px; margin-top: 18px; }
    .metric-card { min-height: 126px; }
    .content-card { min-height: 200px; }
}

@media (max-width: 1050px) {
    .auth-copy h1 { font-size: 4.8rem; }
    .art-card--two { right: 8%; }
    .sidebar { width: 80px; padding: 30px 13px 22px; align-items: center; }
    .brand--sidebar { padding: 0; }
    .brand--sidebar > span:last-child { display: none; }
    .main-nav { width: 100%; }
    .nav-link { justify-content: center; padding: 0; font-size: 0; }
    .nav-link small { display: none; }
    .nav-icon { width: auto; font-size: 1.2rem; }
    .company-chip { justify-content: center; padding: 14px 0; }
    .company-chip > span:last-child { display: none; }
    .logout-link { justify-content: center; padding: 11px 0; font-size: 0; }
    .logout-link span { font-size: 1rem; }
    .app-main { margin-left: 80px; }
    .metric-grid { grid-template-columns: repeat(2, 1fr); }
    .metric-card:last-child { grid-column: 1 / -1; }
    .dashboard-columns { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
    .public-main { padding: 0; }
    .auth-page { width: 100%; min-height: 100vh; grid-template-columns: 1fr; border: 0; border-radius: 0; }
    .auth-art { min-height: 305px; padding: 34px 30px; }
    .auth-copy { margin-top: 56px; }
    .auth-copy .eyebrow, .auth-copy p, .art-card { display: none; }
    .auth-copy h1 { font-size: clamp(3rem, 14vw, 4.3rem); }
    .auth-panel { min-height: auto; padding: 45px 25px 25px; }
    .brand--mobile { display: none; }
    .auth-form-wrap h2 { font-size: clamp(3.15rem, 14vw, 4.8rem); }
    .auth-legal { margin-top: 45px; }

    .sidebar { display: none; }
    .mobile-header { position: sticky; top: 0; z-index: 9; display: flex; align-items: center; justify-content: space-between; height: 73px; padding: 0 21px; background: rgba(244,241,235,.9); border-bottom: 1px solid var(--line); backdrop-filter: blur(15px); }
    .mobile-header .avatar { color: var(--white); background: var(--ink); }
    .app-main { margin-left: 0; padding: 32px 19px 105px; }
    .dashboard-head { align-items: flex-start; flex-direction: column; gap: 20px; }
    .dashboard-head h1 { font-size: clamp(2.75rem, 12vw, 4.4rem); }
    .hero-metric { min-height: 250px; margin-top: 32px; padding: 29px 25px; }
    .hero-metric strong { font-size: clamp(2.85rem, 12vw, 5.2rem); }
    .metric-orbit { opacity: .48; right: -150px; }
    .metric-grid { grid-template-columns: 1fr; }
    .metric-card:last-child { grid-column: auto; }
    .metric-card { min-height: 155px; }
    .bottom-nav { position: fixed; z-index: 20; left: 12px; right: 12px; bottom: calc(10px + env(safe-area-inset-bottom)); display: grid; grid-template-columns: repeat(4, 1fr); min-height: 68px; padding: 8px; border-radius: 20px; color: #7a7b75; background: rgba(17,18,16,.96); box-shadow: 0 17px 45px rgba(0,0,0,.24); backdrop-filter: blur(15px); }
    .bottom-nav a, .bottom-nav > span { display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 4px; font-size: .61rem; }
    .bottom-nav a > span, .bottom-nav b { color: inherit; font-size: 1.15rem; font-weight: 500; }
    .bottom-nav .active { color: var(--white); }
}

@media (max-width: 480px) {
    .auth-art { min-height: 270px; padding: 28px 24px; }
    .auth-copy { margin-top: 50px; }
    .auth-panel { justify-content: flex-start; padding-top: 38px; }
    .auth-intro { margin-bottom: 31px; }
    .password-page { padding: 13px; }
    .password-card { padding: 31px 22px; border-radius: 25px; }
    .password-card .brand { margin-bottom: 50px; }
    .dashboard-head .connection-pill { display: none; }
    .hero-metric { border-radius: 25px; }
    .hero-metric small { max-width: 200px; }
    .metric-card, .content-card { border-radius: 21px; }
    .card-heading { display: block; }
    .soft-badge { display: inline-block; margin-top: 17px; }
}

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