/* NÓMADAS 1.5.11 — Mi cuenta. Presentation only: existing security/API flows preserved. */
.account-page{min-width:0;width:100%;max-width:none;margin:0}
.account-tabs{display:flex;align-items:flex-end;gap:9px;margin:0 0 -1px 16px;position:relative;z-index:1;max-width:100%}
:root .account-page .account-tab{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:54px;padding:11px 24px;border:1px solid var(--border);border-radius:13px 13px 0 0;background:color-mix(in srgb,var(--panel) 83%,var(--bg));color:var(--text);font-weight:750;font-size:15px;box-shadow:none;transition:background .15s,border-color .15s}
.account-tab .nav-icon{width:22px;height:22px;flex-shrink:0}
:root .account-page .account-tab.active{background:linear-gradient(115deg,color-mix(in srgb,var(--accent) 88%,white),color-mix(in srgb,var(--accent) 83%,#0771a8));color:#061b2d;border-color:var(--accent);box-shadow:0 -2px 12px color-mix(in srgb,var(--accent) 18%,transparent)}
:root .account-page .account-tab:not(.active):hover:not(:disabled){background:color-mix(in srgb,var(--accent) 18%,var(--panel));border-color:var(--accent)}
.account-tab:disabled{cursor:not-allowed;opacity:.53}
.account-tab-panel{min-width:0;margin:0;border:1px solid var(--border);border-radius:16px;padding:22px;background:color-mix(in srgb,var(--panel) 53%,var(--bg));box-shadow:0 9px 24px #00000010}
.account-security-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch;gap:22px;border:0;padding:0;background:transparent;box-shadow:none;margin:0!important;min-width:0;max-width:none}
.account-security-grid>.account-security-alert{grid-column:1/-1;margin:0}
.account-security-card{display:flex;flex-direction:column;min-width:0;border:1px solid color-mix(in srgb,var(--accent) 60%,var(--border));border-radius:14px;overflow:hidden;background:color-mix(in srgb,var(--panel) 92%,var(--bg));box-shadow:0 5px 18px #00000017}
.account-card-heading{display:flex;align-items:center;gap:15px;min-height:60px;padding:14px 24px;background:linear-gradient(95deg,color-mix(in srgb,var(--accent) 24%,var(--panel)),color-mix(in srgb,var(--accent) 10%,var(--panel)));border-bottom:1px solid color-mix(in srgb,var(--accent) 26%,var(--border))}
.account-card-heading .nav-icon{flex:0 0 auto;width:27px;height:27px;color:var(--accent)}
.account-card-heading h3{margin:0;font-size:clamp(17px,1.3vw,21px);line-height:1.25;font-weight:750;overflow-wrap:anywhere}
.account-card-body{padding:21px 23px 23px;display:flex;flex:1;flex-direction:column;gap:12px;min-width:0}
.account-page .security-form{max-width:none;display:flex;flex-direction:column;gap:15px;min-width:0;margin:0;flex:1}
.account-page .security-form label{margin:0;min-width:0;display:block;font-weight:650}
.account-page .security-form input:not([type=checkbox]){width:100%;max-width:none;margin-top:6px;min-height:43px}
.account-page .security-form .check{display:flex;align-items:center;gap:10px}
.account-page .account-guidance{margin:0;font-size:12px;line-height:1.6;max-width:65ch}
:root .account-page button.account-main-action{width:100%;min-height:43px;margin-top:auto;white-space:normal}
.account-mfa-description{margin:0;min-height:35px}
.account-mfa-status{display:flex;align-items:center;gap:10px 16px;flex-wrap:wrap;margin:0 0 8px}
.account-recovery-count{font-size:13px}
.account-page .account-status-ready{border-color:color-mix(in srgb,var(--success) 45%,var(--border));background:color-mix(in srgb,var(--success) 17%,var(--panel));color:var(--text);font-weight:750}
.account-page .account-factor-form{gap:16px}
.account-factor-actions{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px 12px;align-items:stretch;margin-top:auto}
.account-factor-actions>button{min-height:43px;white-space:normal;overflow-wrap:anywhere}
.account-factor-actions>button.danger{grid-column:1/-1}
.account-factor-step{min-width:0;display:grid;gap:12px}
.account-factor-step h4,.account-factor-step p{margin:0}
.account-factor-step .totp-qr{width:min(100%,230px)}
.account-page .recovery-code-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,165px),1fr))}
.account-page .recovery-codes .check{margin:0}
.account-download-panel{display:block;padding:25px;margin:0;background:color-mix(in srgb,var(--panel) 53%,var(--bg));min-height:275px}
.account-download-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch;gap:22px;margin:0!important}
.account-download-card{min-width:0;display:flex;flex-direction:column;gap:14px;border:1px solid color-mix(in srgb,var(--accent) 50%,var(--border));border-radius:14px;padding:24px;background:color-mix(in srgb,var(--panel) 92%,var(--bg));box-shadow:0 5px 18px #00000012}
.account-download-heading{display:flex;align-items:center;gap:12px}
.account-download-heading .nav-icon{width:28px;height:28px;flex-shrink:0;color:var(--accent)}
.account-download-heading h3{font-size:21px;margin:0}
.account-download-card p{margin:0;color:var(--muted);flex:1}
:root .account-download-card>button{width:100%;white-space:normal;min-height:43px}
.account-download-history{margin:26px 0 0;border-top:1px solid var(--border);padding-top:19px}
.account-download-history>h3{font-size:16px;margin:0 0 13px}
.account-page .account-download-history .history-row{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:13px 0;border-bottom:1px solid var(--border);min-width:0}
.account-download-history .history-row>div{min-width:0;overflow-wrap:anywhere}
.account-download-history .history-row small{display:block;color:var(--muted);margin-top:4px}
.account-download-history .history-row .button{flex:0 0 auto}
.account-download-history .empty{margin:0;padding:17px 12px}
@media(max-width:1100px){.account-security-grid{gap:14px}.account-card-body,.account-download-card{padding:18px}.account-card-heading{padding:14px 18px}.account-factor-actions{grid-template-columns:1fr}}
@media(max-width:900px){.account-security-grid,.account-download-cards{grid-template-columns:1fr}.account-tab-panel{padding:16px}.account-page .account-security-grid{grid-template-columns:1fr}.account-security-card{min-height:0}.account-card-body{padding:20px}.account-factor-actions{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:550px){.account-tabs{margin-left:0;gap:5px}.account-page .account-tab{font-size:13px;padding:9px 12px;gap:7px;min-height:49px;flex:1;min-width:0}.account-tab .nav-icon{width:18px;height:18px}.account-tab-panel{border-radius:0 0 12px 12px;padding:11px}.account-card-heading{padding:12px 14px;min-height:52px;gap:10px}.account-card-heading .nav-icon{width:23px;height:23px}.account-card-body,.account-download-card{padding:15px}.account-factor-actions{grid-template-columns:1fr}.account-download-panel{padding:13px}.account-page .account-download-history .history-row{align-items:flex-start;flex-direction:column}.account-page .account-download-history .history-row .button{width:100%}}
@media(prefers-reduced-motion:reduce){.account-page .account-tab{transition:none}}
