:root{--bg:#f4f7fb;--ink:#101828;--muted:#667085;--card:#fff;--line:#e6eaf2;--primary:#0b5cff;--primary2:#052b78;--danger:#d92d20;--success:#039855;--shadow:0 18px 45px rgba(16,24,40,.10);--radius:24px}*{box-sizing:border-box}body{margin:0;font-family:Inter,Segoe UI,Arial,sans-serif;background:var(--bg);color:var(--ink)}a{text-decoration:none;color:inherit}.app-shell{display:flex;min-height:100vh}.sidebar{width:290px;background:linear-gradient(180deg,#071225,#0b1b3b);color:white;padding:22px;display:flex;flex-direction:column;position:fixed;inset:0 auto 0 0}.brand{display:flex;gap:12px;align-items:center;margin-bottom:28px}.brand-mark{width:44px;height:44px;border-radius:16px;background:linear-gradient(135deg,#0b5cff,#7cc7ff);display:grid;place-items:center;font-weight:900;box-shadow:0 10px 25px rgba(11,92,255,.35)}.brand-mark.big{width:70px;height:70px;border-radius:24px;font-size:24px}.brand span,.profile span{display:block;color:#b7c4dc;font-size:12px}.nav-item{display:flex;gap:12px;align-items:center;padding:13px 14px;border-radius:16px;color:#dbe7ff;margin:6px 0}.nav-item:hover{background:rgba(255,255,255,.09)}.profile{margin-top:auto;padding:16px;border:1px solid rgba(255,255,255,.12);border-radius:20px;background:rgba(255,255,255,.06)}.profile a{display:inline-block;margin-top:10px;color:#9fd2ff}.main{margin-left:290px;width:calc(100% - 290px);padding:26px}.topbar,.page-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.topbar small{color:var(--muted)}.topbar h1,.page-head h2{margin:4px 0 0}.hero{border-radius:32px;padding:34px;background:radial-gradient(circle at top right,#3c8bff,transparent 35%),linear-gradient(135deg,#071225,#0c2f72);color:white;box-shadow:var(--shadow);margin-bottom:20px}.hero h2{font-size:34px;margin:12px 0}.hero p{color:#d7e4ff;max-width:680px}.chip{display:inline-flex;padding:7px 12px;border-radius:999px;background:rgba(11,92,255,.10);color:#0b5cff;font-weight:800;font-size:12px}.hero .chip{background:rgba(255,255,255,.14);color:white}.kpi-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-bottom:18px}.kpi,.card,.module-card{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow)}.kpi{padding:20px}.kpi span{color:var(--muted);display:block}.kpi b{font-size:34px}.cards-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.module-card{padding:24px}.module-card b{display:block;font-size:18px}.module-card span{color:var(--muted)}.card{padding:22px;margin-bottom:18px}.grid-form{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.grid-form label{display:flex;flex-direction:column;gap:7px}.grid-form label span{font-size:12px;font-weight:800;color:#344054}.grid-form input,.grid-form select,.grid-form textarea{width:100%;border:1px solid #d0d5dd;border-radius:14px;padding:12px;background:white;font:inherit}.grid-form textarea{min-height:90px}.full{grid-column:1/-1}.btn{border:0;border-radius:14px;padding:12px 16px;font-weight:800;cursor:pointer}.btn-primary{background:linear-gradient(135deg,var(--primary),var(--primary2));color:white}.btn-soft{background:#eef4ff;color:#0844b8}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse}th,td{padding:13px;border-bottom:1px solid var(--line);text-align:left;font-size:14px}th{color:#475467;background:#f9fafb}.inline-form{display:flex;gap:8px}.icon-btn{border:1px solid var(--line);border-radius:12px;background:white;padding:8px 10px;cursor:pointer}.icon-btn.danger{color:var(--danger)}.toast{position:fixed;right:24px;bottom:24px;padding:14px 18px;border-radius:16px;color:white;box-shadow:var(--shadow);z-index:20}.toast.inline{position:static;margin:12px 0}.toast.success{background:linear-gradient(135deg,#039855,#027a48)}.toast.danger{background:linear-gradient(135deg,#d92d20,#7a271a)}.auth-body{min-height:100vh;display:grid;place-items:center;background:radial-gradient(circle at top left,#d7e9ff,transparent 30%),linear-gradient(135deg,#071225,#0e2d66)}.auth-card{width:min(460px,92vw);background:white;border-radius:32px;padding:28px;box-shadow:0 28px 80px rgba(0,0,0,.28)}.auth-card.small{width:min(420px,92vw)}.auth-hero{text-align:center;margin-bottom:20px}.auth-hero .brand-mark{margin:auto}.form{display:grid;gap:14px}.form label{display:grid;gap:7px}.form input{border:1px solid #d0d5dd;border-radius:14px;padding:13px;font:inherit}.password-wrap{display:flex}.password-wrap input{border-radius:14px 0 0 14px}.eye{border:1px solid #d0d5dd;border-left:0;border-radius:0 14px 14px 0;background:#f9fafb;padding:0 12px}.link{text-align:center;color:#0b5cff;font-weight:800}.conditional{display:none;grid-column:1/-1;grid-template-columns:repeat(4,1fr);gap:14px;background:#f7f9ff;border:1px dashed #b5c7ef;border-radius:20px;padding:16px}.conditional.active{display:grid}
@media(max-width:900px){.sidebar{display:none}.main{margin-left:0;width:100%;padding:16px 16px 86px}.topbar h1{font-size:20px}.hero{padding:24px;border-radius:26px}.hero h2{font-size:27px}.kpi-grid,.cards-grid,.grid-form{grid-template-columns:1fr}.conditional.active{grid-template-columns:1fr}.page-head{align-items:flex-start;gap:10px;flex-direction:column}.toast{left:16px;right:16px;bottom:16px}.card{padding:18px}}

/* V1.1 PRO - Mi Cuenta + Mobile Banking App */
svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.nav-item svg{flex:0 0 18px}.grid-form label span{display:flex;align-items:center;gap:7px}.eye{display:grid;place-items:center;color:#344054}.eye svg{width:19px;height:19px}.mobile-app-header,.mobile-bottom-nav,.mobile-scrim{display:none}.profile a+a{margin-left:12px}.chip svg{width:15px;height:15px}.chip-dark{gap:8px;align-items:center;background:#eef4ff;color:#0844b8}.page-head p{color:var(--muted);margin:7px 0 0}.account-grid{display:grid;grid-template-columns:320px 1fr;gap:18px;align-items:start}.profile-card-pro{text-align:center;position:sticky;top:24px}.avatar-xl{width:92px;height:92px;border-radius:32px;margin:0 auto 16px;display:grid;place-items:center;background:linear-gradient(135deg,#071225,#0b5cff);color:#fff;font-size:34px;font-weight:900;box-shadow:0 18px 38px rgba(11,92,255,.24)}.profile-card-pro h3{margin:0 0 6px}.profile-card-pro span,.profile-card-pro small,.profile-note{display:block;color:var(--muted)}.profile-card-pro small{margin-top:6px}.profile-note{margin-top:18px;padding:14px;border-radius:18px;background:#f6f8fc;font-size:13px}.section-divider{display:flex;align-items:center;gap:12px;margin:8px 0}.section-divider:before,.section-divider:after{content:"";height:1px;background:var(--line);flex:1}.section-divider span{font-size:12px;font-weight:900;color:#475467;text-transform:uppercase;letter-spacing:.08em}.form-actions{display:flex;justify-content:flex-end}
@media(max-width:900px){body{background:#eef3fb}.mobile-app-header{display:flex;position:fixed;z-index:50;top:0;left:0;right:0;height:70px;align-items:center;justify-content:space-between;padding:12px 16px;background:rgba(255,255,255,.92);backdrop-filter:blur(16px);border-bottom:1px solid rgba(208,213,221,.85);box-shadow:0 10px 25px rgba(16,24,40,.08)}.mobile-app-header small{display:block;color:var(--muted);font-size:11px}.mobile-app-header b{font-size:14px}.mobile-menu-btn,.mobile-exit{width:42px;height:42px;border:1px solid var(--line);border-radius:16px;background:white;color:#0b1b3b;display:grid;place-items:center}.mobile-exit svg,.mobile-menu-btn svg{width:20px;height:20px}.mobile-bottom-nav{display:flex;position:fixed;z-index:45;left:12px;right:12px;bottom:12px;height:72px;border-radius:26px;background:rgba(255,255,255,.94);backdrop-filter:blur(18px);border:1px solid rgba(208,213,221,.9);box-shadow:0 18px 42px rgba(16,24,40,.18);align-items:center;justify-content:space-around}.mobile-bottom-nav a{min-width:62px;display:grid;place-items:center;gap:4px;color:#475467;font-size:11px;font-weight:800}.mobile-bottom-nav svg{width:21px;height:21px}.mobile-bottom-nav a:hover,.mobile-bottom-nav a:focus{color:var(--primary)}.mobile-scrim{position:fixed;inset:0;background:rgba(8,16,32,.38);z-index:52}.sidebar{display:flex;transform:translateX(-105%);transition:.24s ease;z-index:55;width:286px}.sidebar.mobile-open{transform:translateX(0)}.mobile-scrim.show{display:block}.main{padding:90px 14px 104px;margin-left:0;width:100%}.topbar{display:none}.hero{border-radius:30px;padding:24px 20px;margin-top:4px}.card,.kpi,.module-card{border-radius:24px;box-shadow:0 12px 30px rgba(16,24,40,.08)}.account-grid{grid-template-columns:1fr}.profile-card-pro{position:relative;top:auto}.form-actions .btn{width:100%;padding:14px 16px}.toast{bottom:96px}.grid-form label span svg{width:17px;height:17px}.profile{margin-top:18px}}
