/* Mi IKATU v9. Componentes compartidos para los recorridos de cuenta revisados. */
.cristal main:has(.account-page:not([hidden])){padding:0 0 40px;max-width:1400px}
.account-page>.page-head{padding:28px;border:1px solid var(--edge);border-radius:24px;background:var(--glass);box-shadow:var(--glass-shadow);align-items:center;gap:20px}
.account-page>.page-head h1{font-size:clamp(28px,3.2vw,42px);letter-spacing:-1.2px;line-height:1.13}
.account-page>.page-head .eyebrow{color:var(--brand)}
.account-page>.page-head p{max-width:620px;line-height:1.5}
.account-page .grow{flex:1;min-width:0}
.account-page .section-title{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:0 0 18px}
.account-page h2{font-size:20px}.account-page h3{font-size:16px}
.account-panel{background:var(--glass);border:1px solid var(--edge);border-radius:20px;box-shadow:var(--glass-shadow);padding:24px;margin-bottom:20px;min-width:0}
.account-panel>h2{margin-bottom:18px}
.account-page :is(p,small){overflow-wrap:anywhere}
.account-profile{display:flex;align-items:center;gap:22px;padding:24px;border-radius:18px;margin-bottom:24px}
.account-profile .eyebrow{font-size:10px;margin-bottom:8px;color:var(--muted)}
.account-profile h2{font-size:24px;overflow-wrap:anywhere}
.account-profile p{margin:5px 0 0;color:var(--muted)}
.account-avatar{display:grid;place-items:center;width:82px;height:82px;flex-shrink:0;border-radius:50%;background:var(--selected);color:var(--brand);font-size:32px;font-weight:650;border:1px solid var(--edge);overflow:hidden}
.account-avatar img{width:100%;height:100%;object-fit:cover}
.account-profile-actions{display:grid;gap:10px;min-width:225px}.account-profile-actions .actions{gap:8px}
.account-profile-actions .actions>*{flex:1;font-size:12px;padding:9px 10px}
.account-shortcuts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-bottom:24px}
.account-shortcut{position:relative;text-decoration:none;color:var(--ink);padding:22px;border-radius:16px;min-height:174px}
.account-shortcut .shortcut-icon{margin-bottom:15px}.account-shortcut>.icon{position:absolute;top:28px;right:18px;color:var(--muted);width:17px}
.account-shortcut h2{font-size:17px;margin:0 0 7px}.account-shortcut p{font-size:13px;color:var(--muted);line-height:1.5;margin:0}
.account-page .shortcut-icon{display:grid;place-items:center;width:42px;height:42px;flex-shrink:0;background:var(--surface);border:1px solid var(--edge);border-radius:12px;color:var(--brand);box-shadow:var(--raised)}
.account-page .shortcut-icon .icon{height:22px;width:22px}
.account-recent{display:flex;align-items:center;gap:16px}.account-recent>div{flex:1}.account-recent p{color:var(--muted);margin:5px 0;font-size:13px}
.account-places{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin-bottom:22px}
.account-place{padding:23px;border-radius:18px;min-width:0}.account-place-header{display:flex;align-items:center;gap:13px;margin-bottom:16px}.account-place h2{flex:1;margin:0;overflow-wrap:anywhere}
.account-place p{font-size:14px;line-height:1.5;margin:4px 0;color:var(--muted)}
.account-place .actions{margin-top:20px;gap:8px}.account-place button{font-size:12px;padding:9px 12px}.account-place .place-remove{background:none;border-color:transparent;color:var(--muted)}
.account-undo{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 18px;background:var(--soft);border:1px solid var(--line);border-radius:14px;margin-bottom:16px;font-size:14px}
.account-empty{text-align:center;padding:42px 22px}.account-empty>.icon{width:32px;height:32px;color:var(--brand);margin-bottom:16px}.account-empty p{color:var(--muted);margin-bottom:20px}
.account-appearance{padding:24px;border-radius:18px;display:flex;align-items:center;gap:18px;margin-bottom:22px}.account-appearance h2{margin:0 0 6px}.account-appearance p{font-size:14px;color:var(--muted);margin:0 0 5px}.account-appearance .muted{font-size:12px}
.account-swatches{display:flex;gap:6px}.account-swatches i{width:28px;height:38px;border:1px solid var(--edge);border-radius:8px;background:var(--brand)}.account-swatches i:nth-child(2){background:var(--accent)}.account-swatches i:nth-child(3){background:var(--surface)}.account-swatches i:nth-child(4){background:var(--bg)}
.account-preferences-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px;align-items:stretch}.account-preferences-grid .account-panel{margin:0}
.account-setting{display:flex;align-items:center;gap:18px;justify-content:space-between;padding:18px 0;border-bottom:1px solid var(--line);cursor:pointer}.account-setting>span{flex:1}.account-setting strong{display:block;font-size:14px}.account-setting small{display:block;font-size:12px;color:var(--muted);line-height:1.5;margin-top:5px}
.account-setting input{appearance:none;flex:0 0 44px;width:44px;height:26px;border:1px solid var(--muted);border-radius:99px;position:relative;background:var(--soft);cursor:pointer;transition:background .18s}.account-setting input::after{content:"";position:absolute;top:3px;left:3px;width:18px;height:18px;border-radius:50%;background:var(--muted);transition:transform .18s}.account-setting input:checked{background:var(--brand);border-color:var(--brand)}.account-setting input:checked::after{background:var(--on-brand);transform:translateX(18px)}
.account-setting input:focus-visible{outline:3px solid var(--brand);outline-offset:4px}.account-preferences-grid .field{margin-top:18px}.account-preferences-grid .notice{margin-top:22px;font-size:13px;line-height:1.6}
.account-savebar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;margin-top:20px}.account-savebar .form-status{flex:1;margin:0;min-width:180px}.account-links{display:flex;flex-wrap:wrap;gap:12px}
.account-filters{display:flex;flex-wrap:wrap;gap:10px;margin:0 0 15px}.account-filters button{background:var(--surface);color:var(--muted);border:1px solid var(--edge);border-radius:99px;box-shadow:var(--raised);font-size:13px;min-height:44px;padding:10px 18px}.account-filters [aria-pressed=true]{background:var(--action);color:var(--on-action)}
#account-activity-count{font-size:13px;margin:0 0 18px}.account-activity-list{display:grid;gap:14px}.account-activity{display:flex;align-items:center;gap:16px;border-radius:16px;padding:20px}.account-activity .grow{min-width:0}.account-activity-heading{display:flex;flex-wrap:wrap;align-items:center;gap:10px}.account-activity h3{margin:0}.account-activity p{color:var(--muted);font-size:13px;margin:7px 0}.account-activity .actions{flex-wrap:wrap;max-width:290px;justify-content:flex-end}.account-activity .actions>*{font-size:12px}.account-activity[data-read=true] [data-read-label]{background:var(--soft);color:var(--muted)}
.account-dialog{max-width:620px}.account-dialog .dialog-body{padding-bottom:20px}.account-dialog .field{font-size:14px}.account-dialog small{font-size:12px;line-height:1.5}.account-dialog details{margin-top:10px}.account-dialog summary{min-height:44px;padding:12px 0}.account-dialog form{gap:18px}.account-dialog .form-status{margin-bottom:0;line-height:1.5}
.profile-photo-editor{display:flex;align-items:center;gap:14px;flex-wrap:wrap}.profile-photo-editor .field{flex:1;min-width:190px}.profile-photo-editor .account-avatar{width:68px;height:68px;font-size:26px}.profile-photo-editor>button{font-size:12px}.profile-photo-editor input[type=file]{box-shadow:none;width:100%;padding:9px;font-size:12px}
.account-public-preview{text-align:center;padding:12px 0 24px}.account-public-preview .account-avatar{margin:0 auto 16px}.account-public-preview h3{font-size:23px;margin:0 0 8px}.account-public-preview p{white-space:pre-line;overflow-wrap:anywhere;color:var(--muted)}
.account-page .form-status{font-size:13px;color:var(--brand)}
@media(min-width:900px) and (max-width:1199px){.account-profile{flex-wrap:wrap}.account-profile-actions{width:100%;grid-template-columns:1fr 1fr}.account-appearance{flex-wrap:wrap}.account-activity{flex-wrap:wrap}.account-activity .actions{margin-left:58px;max-width:none}.account-shortcut{padding:18px}.account-preferences-grid{grid-template-columns:1fr}}
@media(max-width:899px){.cristal main:has(.account-page:not([hidden])){padding-bottom:100px}.account-page>.page-head{padding:22px 20px;display:block}.account-page>.page-head>.actions:not(:empty){margin-top:18px}.account-profile{padding:20px;gap:15px;flex-wrap:wrap}.account-avatar{width:62px;height:62px;font-size:26px}.account-profile .grow{flex-basis:calc(100% - 80px)}.account-profile h2{font-size:20px}.account-profile-actions{width:100%;min-width:0}.account-profile-actions>.primary{width:100%}.account-shortcuts{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.account-shortcut{padding:16px;min-height:160px}.account-shortcut h2{font-size:15px}.account-shortcut p{font-size:12px}.account-shortcut>.icon{right:10px;top:24px}.account-panel{padding:20px}.account-recent{flex-wrap:wrap}.account-recent>.button{margin-left:58px}.account-places{grid-template-columns:1fr}.account-place{padding:20px}.account-place-header{flex-wrap:wrap}.account-appearance{flex-wrap:wrap;padding:20px}.account-appearance>.primary{width:100%}.account-appearance .grow{flex-basis:calc(100% - 70px)}.account-swatches{margin-left:60px}.account-preferences-grid{grid-template-columns:1fr}.account-savebar .actions{width:100%}.account-savebar .actions>*{flex:1;font-size:12px}.account-activity{padding:16px;gap:12px;align-items:flex-start;flex-wrap:wrap}.account-activity .grow{flex-basis:calc(100% - 60px)}.account-activity .actions{width:100%;max-width:none;justify-content:flex-start}.account-activity .actions>*{flex:1}.account-filters{gap:8px}.account-filters button{font-size:12px;padding:9px 14px}.account-dialog .dialog-footer{position:static}.account-dialog .form-grid{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){.account-setting input,.account-setting input::after{transition:none}}
@media(forced-colors:active){.account-setting input{appearance:auto}.account-setting input::after{display:none}}
