/* Mi cuenta: identity and operational activity, using the shared Finkad tokens. */
.account-page { max-width:1420px; margin:0 auto; }
.account-heading { display:flex; align-items:center; justify-content:space-between; gap:24px; margin:8px 0 28px; }
.account-heading h1 { margin:4px 0 6px; }
.account-heading p:not(.eyebrow) { margin:0; color:var(--muted); font-size:14px; }
.account-heading .btn { display:inline-flex; align-items:center; gap:12px; flex-shrink:0; }
.account-grid { display:grid; grid-template-columns:minmax(280px,330px) minmax(0,1fr); gap:24px; align-items:start; }
.account-identity-column,.account-work-column { display:grid; gap:22px; min-width:0; }
.account-page .card { border-radius:24px; box-shadow:0 7px 25px #164e5805; border:1px solid #ffffffed; }
.account-identity { overflow:hidden; }
.account-cover { height:100px; background:#d8eeeb; position:relative; overflow:hidden; }
.account-cover span { position:absolute; width:280px; height:220px; border:1px solid #ffffffa3; border-radius:50%; transform:rotate(-25deg); top:-140px; left:-60px; }
.account-cover span + span { top:12px; left:100px; width:260px; height:190px; border-color:#a8d7d5; }
.account-identity-body { padding:0 24px 24px; position:relative; }
.account-avatar-link { display:block; position:relative; width:102px; height:102px; margin:-51px 0 18px; border-radius:50%; }
.account-avatar { display:grid; place-items:center; width:102px; height:102px; border:6px solid #fff; border-radius:50%; background:#e4f2ef; color:var(--brand); font-size:30px; font-weight:600; overflow:hidden; }
.account-avatar img,.account-photo-preview img { width:100%; height:100%; object-fit:cover; }
.account-avatar-edit { width:32px; height:32px; border:3px solid #fff; border-radius:50%; background:var(--brand); color:white; position:absolute; right:0; bottom:2px; display:grid; place-items:center; }
.account-avatar-edit svg { width:15px; height:15px; }
.account-avatar-link:focus-visible { outline:3px solid var(--focus); outline-offset:4px; }
.account-role { display:inline-block; color:#396d72; background:#eaf5f2; font-size:11px; border-radius:20px; padding:4px 10px; margin-bottom:10px; }
.account-identity h2 { font-size:23px; margin:0 0 6px; line-height:1.3; overflow-wrap:anywhere; }
.account-company { font-size:13px; color:var(--muted); margin:0 0 14px; }
.account-photo-link { display:inline-flex; align-items:center; min-height:44px; font-size:13px; text-underline-offset:4px; }
.account-contact { margin:22px 0; display:grid; gap:16px; padding-top:20px; border-top:1px solid var(--line); }
.account-contact dt { font-size:11px; color:var(--muted); font-weight:500; margin-bottom:3px; }
.account-contact dd { font-size:13px; margin:0; color:var(--ink); overflow-wrap:anywhere; }
.account-page .account-edit { display:flex; align-items:center; justify-content:center; gap:12px; }
.account-edit svg { width:16px; height:16px; }
.account-updated { display:block; color:var(--muted); text-align:center; font-size:11px; margin-top:14px; }
.account-security { padding:24px; }
.account-soft-icon { width:38px; height:38px; display:inline-grid; place-items:center; background:#e9f4f1; color:#18777f; border-radius:13px; flex-shrink:0; }
.account-soft-icon svg { width:22px; height:22px; }
.account-security h2 { font-size:17px; margin:16px 0 6px; }
.account-security p { font-size:13px; color:var(--muted); margin-bottom:18px; }
.account-security .btn { display:inline-flex; align-items:center; gap:12px; }
.account-last-access { border-top:1px solid var(--line); margin-top:20px; padding-top:16px; display:grid; gap:3px; font-size:12px; }
.account-last-access span { color:var(--muted); }
.account-last-access strong { font-weight:500; }
.account-section-heading { display:flex; align-items:center; justify-content:space-between; gap:16px; }
.account-section-heading .eyebrow { margin:0 0 6px; }
.account-page .account-section-heading h2 { font-size:19px; margin:0; }
.account-section-heading p:not(.eyebrow) { color:var(--muted); font-size:13px; margin:5px 0 0; }
.account-live-label { color:#4b737c; background:#e9f2f1; font-size:11px; border-radius:20px; padding:5px 10px; white-space:nowrap; }
.account-metrics { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; margin-top:18px; }
.account-metric { position:relative; display:flex; flex-direction:column; align-items:flex-start; gap:10px; padding:20px; border:1px solid white; border-radius:22px; color:var(--ink); background:#ffffffa6; text-decoration:none; }
.account-metric.is-warm { background:#f8f0dba6; }
.account-metric.is-teal { background:#dcefeb9c; }
.account-metric > .brand-icon { width:23px; height:23px; }
.account-metric strong { font-size:32px; font-weight:500; line-height:1; }
.account-metric > span { font-size:12px; color:#526e77; line-height:1.5; max-width:calc(100% - 18px); }
.account-metric > .ui-arrow { position:absolute; right:18px; bottom:20px; }
.account-metric:hover { border-color:#aacdc8; background:#fff; }
.account-metric:focus-visible { outline:3px solid var(--focus); outline-offset:3px; }
.account-work-summary { display:grid; grid-template-columns:1fr 1fr; gap:20px; }
.account-progress,.account-last-task { padding:24px; min-width:0; }
.account-progress-main { display:flex; align-items:center; gap:18px; margin:20px 0; }
.account-progress-main strong { font-size:42px; font-weight:500; line-height:1; letter-spacing:-.05em; }
.account-progress-main strong span { font-size:24px; }
.account-progress-main p { font-size:12px; margin:0; color:var(--muted); }
.account-progress-main b { color:var(--ink); font-weight:500; }
.account-progress-track { height:8px; background:#e9f0ee; overflow:hidden; border-radius:10px; }
.account-progress-track > span { display:block; background:#008b92; border-radius:inherit; height:100%; }
.account-progress small { display:block; color:var(--muted); font-size:11px; margin-top:14px; }
.account-page .account-last-task { background:#e5f3eeab; }
.account-last-task .eyebrow { margin:2px 0 18px; font-size:9px; }
.account-last-task h2 { font-size:19px; line-height:1.4; margin:0 0 10px; overflow-wrap:anywhere; }
.account-last-task p { font-size:13px; color:#5b787d; margin:0 0 15px; }
.account-last-task time { font-size:11px; display:block; margin:0 0 18px; color:var(--muted); }
.account-task-link { min-height:44px; font-size:12px; font-weight:600; display:inline-flex; align-items:center; gap:10px; text-decoration:none; }
.account-activity { padding:24px; }
.account-activity-empty { text-align:center; padding:38px 24px 24px; }
.account-activity-empty .account-soft-icon { margin-bottom:14px; }
.account-activity-empty h3 { font-size:17px; margin:0 0 8px; }
.account-activity-empty p { font-size:13px; color:var(--muted); margin:0 auto; max-width:370px; }
.account-timeline { list-style:none; padding:0; margin:24px 0 0; }
.account-timeline li { position:relative; display:grid; grid-template-columns:36px minmax(0,1fr) auto; gap:14px; padding:18px 0; border-top:1px solid #e7efec; align-items:start; }
.account-event-icon { display:grid; place-items:center; width:36px; height:36px; border-radius:50%; background:#edf5f2; }
.account-event-icon .brand-icon { width:19px; height:19px; }
.account-timeline h3 { font-size:14px; font-weight:600; margin:0 0 5px; line-height:1.45; }
.account-timeline p { margin:0 0 5px; font-size:13px; color:var(--muted); overflow-wrap:anywhere; }
.account-timeline small { font-size:11px; color:var(--muted); }
.account-timeline time { text-align:right; color:#4b6873; font-size:12px; padding-top:2px; white-space:nowrap; }
.account-timeline time span { display:block; color:var(--muted); font-size:11px; }
.account-history-note { font-size:11px; color:var(--muted); border-top:1px solid var(--line); margin:10px 0 0; padding-top:16px; }
.account-demo-tools { border:1px solid var(--line); border-radius:16px; padding:16px 20px; background:#ffffff45; }
.account-demo-tools summary { cursor:pointer; font-size:12px; color:var(--muted); min-height:44px; align-content:center; }
.account-demo-tools > div { padding-top:16px; font-size:13px; }
.account-modal { width:min(580px,calc(100vw - 32px)); max-height:calc(100dvh - 40px); padding:0; border:1px solid #d9e7e3; border-radius:24px; color:var(--ink); background:#fff; box-shadow:0 25px 80px #102f3c24; }
.account-modal::backdrop { background:#15384255; backdrop-filter:blur(6px); -webkit-backdrop-filter:blur(6px); }
.account-editor { padding:26px; border:1px solid var(--line); border-radius:24px; background:white; max-width:580px; margin:20px auto; }
.account-editor[hidden] { display:none; }
.account-modal .account-editor { margin:0; border:0; }
.account-editor header { display:flex; align-items:center; justify-content:space-between; gap:16px; margin-bottom:20px; }
.account-editor header .eyebrow { margin:0 0 4px; }
.account-editor h2 { font-size:23px; margin:0; }
.account-editor-intro { font-size:13px; color:var(--muted); margin:0 0 20px; }
.account-editor .form-label { margin:18px 0 6px; font-size:13px; }
.account-editor .text-danger { font-size:12px; }
.account-editor footer { display:flex; justify-content:flex-end; gap:12px; margin-top:26px; padding-top:20px; border-top:1px solid var(--line); flex-wrap:wrap; }
.account-fields { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.account-photo-preview { width:128px; height:128px; border-radius:50%; overflow:hidden; background:#e4f2ef; display:grid; place-items:center; margin:4px auto 20px; color:var(--brand); font-size:36px; font-weight:600; }
.account-photo-preview [hidden] { display:none; }
.account-remove-photo { border-top:1px solid var(--line); margin-top:20px; padding-top:20px; }
.account-password-toggle { margin-top:10px; }
.profile-menu-avatar { width:28px; height:28px; border-radius:50%; object-fit:cover; border:1px solid #d2e3e1; }
@media (max-width:1100px) {
    .account-grid { grid-template-columns:280px minmax(0,1fr); gap:20px; }
    .account-metrics { gap:10px; }
    .account-metric { padding:16px 12px; }
    .account-work-summary { grid-template-columns:1fr; }
}
@media (max-width:850px) {
    .account-grid { grid-template-columns:1fr; }
    .account-identity-column { grid-template-columns:1fr 1fr; align-items:start; }
    .account-work-summary { grid-template-columns:1fr 1fr; }
    .account-heading { flex-wrap:wrap; }
}
@media (max-width:600px) {
    .account-heading { gap:16px; margin-top:4px; }
    .account-identity-column,.account-work-summary { grid-template-columns:1fr; }
    .account-metrics { grid-template-columns:1fr; }
    .account-metric { display:grid; grid-template-columns:32px auto 1fr 16px; align-items:center; gap:12px; padding:18px; }
    .account-metric strong { font-size:28px; }
    .account-metric > span { max-width:none; }
    .account-metric > .ui-arrow { position:static; }
    .account-section-heading { flex-wrap:wrap; }
    .account-activity,.account-progress,.account-last-task { padding:20px; }
    .account-timeline li { grid-template-columns:30px minmax(0,1fr); gap:10px; }
    .account-timeline time { grid-column:2; text-align:left; }
    .account-timeline time span { display:inline; margin-left:8px; }
    .account-fields { grid-template-columns:1fr; gap:0; }
    .account-editor { padding:20px; }
    .account-editor h2 { font-size:21px; }
    .account-editor .form-control { font-size:16px; }
}
@media (prefers-reduced-transparency:reduce) {
    .account-metric,.account-page .account-last-task { background:#edf5f2; }
    .account-modal::backdrop { backdrop-filter:none; -webkit-backdrop-filter:none; }
}
