/* Identidad neutra. La estructura y los controles son los del proyecto original. */
:root { --lime: #59b5ff; --lime-deep: #2694ed; --orange: #ff9957; --text: #f3f7ff; --muted: #a4afc0; --line: rgba(205,225,255,.13); }
body { background: #080f1e; }
.glass { background: linear-gradient(145deg,rgba(22,37,59,.97),rgba(12,21,38,.98)); }
#login-screen::after { content: 'TU GIMNASIO'; }
#app-shell > aside::before { content: 'Tu gimnasio'; font-size: 1.15rem; letter-spacing: -.04em; }
#login-screen > .glass { max-width: 620px; text-align:left; padding: clamp(24px,5vw,48px); }
.demo-access-heading { position:relative; }
.demo-pill { display:inline-flex; padding:7px 12px; border:1px solid #59b5ff50; border-radius:100px; font-size:11px; font-weight:700; color:#9bd4ff; background:#59b5ff0a; }
.demo-access-heading .demo-dumbbell { display:block; width:44px; height:44px; margin:30px 0 20px; color:#ff9957; }
#login-screen .demo-access-heading h1 { font-size:clamp(36px,6vw,60px); letter-spacing:-.065em; line-height:1.08; }
.demo-access-heading p { font-size:14px; line-height:1.8; color:#a4afc0; max-width:360px; margin-top:20px; }
.demo-role-options { display:grid; gap:12px; margin-top:30px; }
.demo-role-options button { display:flex; align-items:center; gap:16px; width:100%; border:1px solid #ffffff1a; border-radius:14px; padding:18px; text-align:left; min-height:80px; background:#ffffff03; }
.demo-role-options button:first-child { background:#59b5ff; color:#081426; border-color:#59b5ff; }
.demo-role-options button:hover { border-color:#59b5ff; background:#59b5ff15; }
.demo-role-options button:first-child:hover { background:#8bcbff; }
.demo-role-options svg { width:22px; height:22px; flex-shrink:0; }
.demo-role-options button > svg:last-child { margin-left:auto; width:17px; }
.demo-role-options strong { display:block; font-size:14px; }
.demo-role-options small { display:block; margin-top:5px; font-size:11px; opacity:.7; line-height:1.5; }
.demo-access-note { margin-top:25px; color:#97a7be; font-size:11px; line-height:1.8; }
.demo-toolbar { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:11px 20px; border-bottom:1px solid #59b5ff30; background:#101e33; font-size:11px; color:#aec6e4; }
.demo-toolbar strong { color:#8ecbff; }
.demo-toolbar button { padding:7px 10px; border-radius:7px; border:1px solid #ffffff25; color:#e5eeff; min-height:34px; }
.demo-toolbar button:hover { background:#ffffff0d; }
.demo-toolbar-actions { display:flex; gap:8px; }
.demo-role-switcher {position:sticky;top:0;z-index:35;display:flex;align-items:center;justify-content:center;gap:24px;padding:10px 20px;background:#091a20;border-bottom:1px solid #24505b;color:#b5d1d6;}
.demo-role-caption {font:600 11px/1.4 Manrope,sans-serif;}
.demo-role-switcher > div {display:flex;gap:4px;padding:4px;border:1px solid #2c505a;border-radius:12px;background:#102830;}
body.studio-design .demo-role-switcher button,.demo-role-switcher button {min-height:40px;min-width:100px;border:1px solid transparent;border-radius:8px;padding:9px 18px;color:#c9e2e6;font:700 12px/1.3 Manrope,sans-serif;background:transparent;}
body.studio-design .demo-role-switcher button:hover {background:#20414b;}
body.studio-design .demo-role-switcher button[aria-pressed="true"] {background:#52dce1;color:#091a20;border-color:#52dce1;}
body.studio-design .demo-role-switcher button:focus-visible {outline:2px solid #ff56bb;outline-offset:2px;}
body.studio-design .demo-role-switcher button:disabled {opacity:.65;cursor:wait;}
body:has(#app-shell.hidden) .demo-role-switcher {display:none;}
@media(max-width:600px){.demo-role-switcher{padding:8px 12px;gap:0;}.demo-role-caption{display:none;}.demo-role-switcher > div{width:100%;max-width:420px;}body.studio-design .demo-role-switcher button{flex:1;min-width:0;padding:9px 12px;min-height:44px;}}
body:has(#app-shell.hidden) .demo-toolbar { display:none; }
#logout-btn { font-size:11px; }
[hidden] { display:none!important; }
#account-password-form, #account-modal > div > div:last-child:has(#account-password-form) { display:none; }
#profile-install-shortcut { display:none!important; }
#app-shell header { flex-wrap:wrap; }
#app-shell header > div:first-child { min-width:0; }
#app-shell header .font-display { overflow-wrap:anywhere; }
@media(max-width:639px) {
 .demo-toolbar { padding:10px 12px; flex-wrap:wrap; }
 .demo-toolbar-actions { margin-left:auto; }
 .demo-role-options button { padding:15px; gap:12px; }
 #app-shell header > div:last-child { gap:8px; }
 #app-shell header > div:first-child > div:first-child { display:none; }
 #app-shell header > div:first-child p:last-child { letter-spacing:.04em; font-size:9px; }
}
@media(prefers-reduced-motion:reduce) { *,*::before,*::after { animation:none!important; transition:none!important; scroll-behavior:auto!important; } }
/* Evitar que los controles nativos de fecha ensanchen la caja en celulares. */
#expense-form, #expense-form > div, [data-owner-screen="home"] > div { min-width:0; }
#expense-form input, #expense-form select { min-width:0; max-width:100%; }
#expense-form .grid input { width:100%; }
#expense-form input[type="date"] { flex:1 1 0; width:0; }
#expense-form input[type="search"] { width:100%; }
@media(max-width:639px) { #expense-form .flex { flex-wrap:wrap; } }
header #account-menu-btn #profile-initials { background:#59b5ff20; color:#9bd4ff; }
