/* Acceso al aplicativo: hoja independiente para evitar dependencias de estilos heredados. */
:root { --auth-green:#137b58; --auth-green-dark:#0d5f43; --auth-ink:#18231e; --auth-muted:#68756e; }
html:has(body.auth-page), body.auth-page { min-height:100%; }
body.auth-page {
    min-height:100vh !important;
    min-height:100svh !important;
    margin:0 !important;
    padding:clamp(18px,3.5vw,42px) !important;
    display:grid !important;
    place-items:center !important;
    overflow-x:hidden;
    background:
      radial-gradient(ellipse at 12% 12%, rgba(19,123,88,.10), transparent 34%),
      radial-gradient(ellipse at 88% 90%, rgba(188,204,188,.20), transparent 32%),
      #f3f5f1 !important;
    color:var(--auth-ink);
    font-family:"Inter","Nunito Sans",Arial,sans-serif !important;
}
body.auth-page .global-loader { z-index:20; }
body.auth-page .auth-layout {
    box-sizing:border-box !important;
    width:min(1010px,100%) !important;
    min-height:min(640px,calc(100svh - 48px)) !important;
    margin:auto !important;
    display:grid !important;
    grid-template-columns:minmax(0,1.08fr) minmax(360px,.92fr) !important;
    align-items:stretch !important;
    overflow:hidden !important;
    border:1px solid #e0e7df !important;
    border-radius:20px !important;
    background:#fff !important;
    box-shadow:0 24px 70px rgba(29,48,37,.11) !important;
}
body.auth-page .auth-story {
    box-sizing:border-box !important;
    position:relative !important;
    isolation:isolate;
    min-width:0 !important;
    min-height:100% !important;
    display:flex !important;
    flex-direction:column !important;
    overflow:hidden !important;
    padding:34px clamp(28px,4vw,46px) 25px !important;
    color:#fff !important;
    background:linear-gradient(145deg,#176f50 0%,#105b42 58%,#0d4938 100%) !important;
}
body.auth-page .auth-story::before,
body.auth-page .auth-story::after {
    content:"" !important;
    position:absolute !important;
    z-index:-1 !important;
    display:block !important;
    border:1px solid rgba(255,255,255,.12) !important;
    border-radius:50% !important;
    pointer-events:none !important;
}
body.auth-page .auth-story::before { width:490px;height:490px;right:-250px;top:100px; }
body.auth-page .auth-story::after { width:350px;height:350px;right:-180px;top:170px; }
body.auth-page .auth-story-top,
body.auth-page .auth-story-copy,
body.auth-page .auth-ledger,
body.auth-page .auth-story-footer { position:relative !important; z-index:1 !important; }
body.auth-page .auth-story-top { display:flex !important;align-items:center !important;justify-content:space-between !important;gap:14px !important; }
body.auth-page .auth-brand { display:flex !important;align-items:center !important;gap:11px !important;margin:0 !important; }
body.auth-page .auth-brand-mark { width:42px !important;height:42px !important;display:grid !important;place-items:center !important;border:1px solid rgba(255,255,255,.22) !important;border-radius:12px !important;background:rgba(255,255,255,.13) !important;color:#fff !important;font-size:12px !important;font-weight:800 !important; }
body.auth-page .auth-brand strong, body.auth-page .auth-brand small { display:block !important; }
body.auth-page .auth-brand strong { color:#fff !important;font-size:14px !important;font-weight:800 !important;letter-spacing:-.02em; }
body.auth-page .auth-brand small { margin-top:4px !important;color:rgba(255,255,255,.68) !important;font-size:9px !important;font-weight:700 !important;text-transform:uppercase;letter-spacing:.14em; }
body.auth-page .auth-version { padding:7px 9px !important;border:1px solid rgba(255,255,255,.2) !important;border-radius:5px !important;color:rgba(255,255,255,.75) !important;font-size:8px !important;font-weight:800 !important;letter-spacing:.11em;white-space:nowrap; }
body.auth-page .auth-story-copy { max-width:440px !important;margin-top:clamp(38px,7vh,68px) !important; }
body.auth-page .auth-kicker { display:inline-block !important;color:rgba(255,255,255,.72) !important;font-size:8px !important;font-weight:800 !important;letter-spacing:.18em !important; }
body.auth-page .auth-story-copy h1 { margin:13px 0 12px !important;color:#fff !important;font-size:clamp(34px,4vw,47px) !important;font-weight:800 !important;line-height:1.08 !important;letter-spacing:-.055em !important; }
body.auth-page .auth-story-copy p { max-width:370px !important;margin:0 !important;color:rgba(255,255,255,.78) !important;font-size:12px !important;line-height:1.75 !important; }
body.auth-page .auth-ledger { box-sizing:border-box !important;width:min(390px,100%) !important;margin:auto 0 0 4% !important;padding:15px 17px 12px !important;border:1px solid rgba(255,255,255,.19) !important;border-radius:11px !important;background:rgba(255,255,255,.10) !important;box-shadow:0 14px 34px rgba(0,0,0,.10) !important;backdrop-filter:blur(5px); }
body.auth-page .ledger-head { display:flex !important;justify-content:space-between !important;align-items:center !important;color:rgba(255,255,255,.7) !important;font-size:7px !important;font-weight:800 !important;letter-spacing:.15em !important; }
body.auth-page .ledger-head i { width:7px;height:7px;border-radius:50%;background:#b8ddc2;box-shadow:0 0 0 4px rgba(184,221,194,.13); }
body.auth-page .ledger-total { display:flex !important;justify-content:space-between !important;align-items:center !important;margin:12px 0 9px !important;padding-bottom:11px !important;border-bottom:1px solid rgba(255,255,255,.15) !important; }
body.auth-page .ledger-total span { color:#fff !important;font-size:13px !important;font-weight:700 !important; }
body.auth-page .ledger-total strong { padding:5px 8px !important;border-radius:4px !important;background:rgba(203,229,205,.16) !important;color:#d4ead8 !important;font-size:8px !important; }
body.auth-page .ledger-line { display:flex !important;align-items:center !important;gap:9px !important;padding:6px 0 !important; }
body.auth-page .ledger-icon { width:25px !important;height:25px !important;flex:0 0 25px !important;display:grid !important;place-items:center !important;border-radius:7px !important;background:rgba(255,255,255,.13) !important;color:#fff !important;font-size:12px !important;font-weight:800 !important; }
body.auth-page .ledger-line b, body.auth-page .ledger-line small { display:block !important; }
body.auth-page .ledger-line b { color:#fff !important;font-size:9px !important; }
body.auth-page .ledger-line small { margin-top:2px !important;color:rgba(255,255,255,.68) !important;font-size:7px !important; }
body.auth-page .ledger-line em { width:35px;height:4px;margin-left:auto;border-radius:8px;background:rgba(255,255,255,.23); }
body.auth-page .ledger-foot { display:flex !important;align-items:center !important;gap:7px !important;margin-top:8px !important;padding-top:9px !important;border-top:1px solid rgba(255,255,255,.14) !important;color:rgba(255,255,255,.67) !important;font-size:7px !important; }
body.auth-page .ledger-foot span { width:5px;height:5px;border-radius:50%;background:#b8ddc2; }
body.auth-page .auth-story-footer { display:flex !important;justify-content:space-between !important;gap:10px !important;margin-top:19px !important;color:rgba(255,255,255,.5) !important;font-size:7px !important;font-weight:800 !important;letter-spacing:.12em !important; }
body.auth-page .auth-access { box-sizing:border-box !important;min-width:0 !important;display:flex !important;flex-direction:column !important;justify-content:center !important;padding:48px clamp(28px,4.3vw,58px) !important;background:#fff !important; }
body.auth-page .auth-access-inner { width:min(350px,100%) !important;margin:0 auto !important; }
body.auth-page .auth-kicker-green { color:#137b58 !important; }
body.auth-page .auth-access-heading { margin-bottom:28px !important; }
body.auth-page .auth-access-heading h2 { margin:11px 0 7px !important;color:#1b2821 !important;font-size:30px !important;font-weight:800 !important;line-height:1.12 !important;letter-spacing:-.05em !important; }
body.auth-page .auth-access-heading p { margin:0 !important;color:#78837c !important;font-size:12px !important;line-height:1.65 !important; }
body.auth-page .auth-form { display:grid !important;gap:17px !important;margin:0 !important; }
body.auth-page .auth-form label { min-width:0 !important;display:grid !important;gap:7px !important;margin:0 !important; }
body.auth-page .auth-form label>span { color:#3e4c43 !important;font-size:10px !important;font-weight:750 !important; }
body.auth-page .auth-input-wrap { box-sizing:border-box !important;min-height:49px !important;display:flex !important;align-items:center !important;gap:10px !important;padding:0 12px !important;border:1px solid #dce4dc !important;border-radius:8px !important;background:#fbfcfa !important; }
body.auth-page .auth-input-wrap:focus-within { border-color:#83b59a !important;background:#fff !important;box-shadow:0 0 0 3px rgba(19,123,88,.10) !important; }
body.auth-page .auth-input-wrap>svg { width:17px !important;height:17px !important;flex:0 0 17px !important;color:#89968d !important; }
body.auth-page .auth-input-wrap input { box-sizing:border-box !important;width:100% !important;min-width:0 !important;min-height:45px !important;margin:0 !important;padding:0 !important;border:0 !important;outline:0 !important;background:transparent !important;box-shadow:none !important;color:#1b2821 !important;font-family:inherit !important;font-size:12px !important; }
body.auth-page .auth-input-wrap input::placeholder { color:#a0aaa2 !important; }
body.auth-page .auth-password-toggle { width:30px !important;height:30px !important;flex:0 0 30px !important;display:grid !important;place-items:center !important;padding:0 !important;border:0 !important;border-radius:6px !important;background:transparent !important;color:#78877d !important;cursor:pointer; }
body.auth-page .auth-password-toggle:hover { background:#edf3ee !important;color:#137b58 !important; }
body.auth-page .auth-password-toggle svg { width:17px !important;height:17px !important; }
body.auth-page .auth-submit { box-sizing:border-box !important;width:100% !important;min-height:49px !important;display:flex !important;align-items:center !important;justify-content:space-between !important;gap:12px !important;margin-top:4px !important;padding:0 16px 0 18px !important;border:0 !important;border-radius:8px !important;background:#137b58 !important;box-shadow:0 8px 18px rgba(19,123,88,.16) !important;color:#fff !important;font-size:11px !important;font-weight:800 !important;cursor:pointer; }
body.auth-page .auth-submit:hover { background:#0e6548 !important; }
body.auth-page .auth-submit svg { width:17px !important;height:17px !important;flex:0 0 17px !important; }
body.auth-page .auth-error { margin:0 0 16px !important; }
body.auth-page .auth-security-note { display:flex !important;align-items:center !important;gap:8px !important;margin-top:24px !important;color:#87928a !important;font-size:9px !important;line-height:1.5 !important; }
body.auth-page .auth-security-dot { width:6px;height:6px;flex:0 0 6px;border-radius:50%;background:#39966b;box-shadow:0 0 0 3px #e9f3ec; }
body.auth-page .auth-mobile-footer { display:none !important; }
@media (max-width:820px) {
  body.auth-page { padding:18px !important; }
  body.auth-page .auth-layout { width:min(520px,100%) !important;min-height:0 !important;grid-template-columns:1fr !important; }
  body.auth-page .auth-story { min-height:300px !important;padding:25px 27px 22px !important; }
  body.auth-page .auth-story-copy { margin-top:35px !important; }
  body.auth-page .auth-story-copy h1 { font-size:35px !important; }
  body.auth-page .auth-ledger, body.auth-page .auth-story-footer { display:none !important; }
  body.auth-page .auth-access { padding:34px 28px 30px !important; }
  body.auth-page .auth-access-heading { margin-bottom:22px !important; }
  body.auth-page .auth-mobile-footer { display:block !important;margin-top:22px !important;color:#9aa39b !important;text-align:center !important;font-size:8px !important; }
}
@media (max-width:480px) {
  body.auth-page { padding:0 !important;background:#fff !important; }
  body.auth-page .auth-layout { width:100% !important;min-height:100svh !important;border:0 !important;border-radius:0 !important;box-shadow:none !important; }
  body.auth-page .auth-story { min-height:265px !important;padding:23px 22px !important; }
  body.auth-page .auth-story-copy { margin-top:29px !important; }
  body.auth-page .auth-story-copy h1 { font-size:32px !important; }
  body.auth-page .auth-access { justify-content:flex-start !important;padding:30px 23px 26px !important; }
}
@media (max-height:680px) and (min-width:821px) {
  body.auth-page .auth-layout { min-height:calc(100svh - 32px) !important; }
  body.auth-page .auth-story { padding-top:24px !important;padding-bottom:18px !important; }
  body.auth-page .auth-story-copy { margin-top:32px !important; }
  body.auth-page .auth-ledger { padding-top:10px !important;padding-bottom:8px !important; }
  body.auth-page .auth-access { padding-top:28px !important;padding-bottom:28px !important; }
}
