/* User profile: navy identity, compact reading surfaces and persistent navigation. */
html,body{overflow-x:visible!important;max-width:none!important}
body{background:radial-gradient(ellipse at 85% 0%,#28306b 0,transparent 45%),linear-gradient(155deg,#101531,#121b36 65%,#1c2450)!important;background-attachment:fixed;color:#202748}
.perfil-container{max-width:1280px;grid-template-columns:240px minmax(0,1fr);gap:24px;padding:24px 24px 48px}
.topnav{background:rgba(13,20,46,.95);border-radius:16px}
.opciones{background:rgba(242,244,255,.96)!important;border:1px solid #ffffff35;border-radius:22px;padding:20px 12px;box-shadow:0 18px 50px #05091e30;top:90px}
.opciones .quote,.sidebar-badges,.sb-divider{display:none!important}
.avatar-circle,#sidebarAvatarCircle{width:72px;height:72px}
.sidebar-name{font-size:1rem}.opciones li{min-height:44px}.opciones li:focus-visible{outline:3px solid #29b9ec}
.contenido{gap:16px}.hero{padding:24px!important;min-height:0!important;background:linear-gradient(120deg,#202c58,#192242)!important;border:1px solid #ffffff20;box-shadow:none;gap:18px!important}
.hero .scene{opacity:.28}.hero h1{font-family:Outfit,sans-serif;font-size:clamp(1.4rem,2.6vw,2rem)!important}.hero .hi{font-family:inherit;font-style:normal}.hero .nm{color:#f4f5ff}.hero-meta{flex-wrap:wrap}.hero-meta-pill{overflow-wrap:anywhere}.hero-stats{display:none!important}.id-pill{padding:10px!important;min-width:0!important}.cta{padding:18px 22px!important;min-height:0!important;background:linear-gradient(120deg,#283b70,#3c337f)!important;gap:16px!important}.cta .owl-wrap{display:none}.cta h3{font-size:1rem!important}.cta p{font-size:.8rem!important;max-width:55ch}.cta .btn-white{min-height:44px}
.psico-body{padding:14px 18px!important}.psico-card{box-shadow:none}.psico-label{font-size:.65rem}.psico-nombre{font-size:1rem}.btn-abrir-chat{min-height:44px}
#perfil-content,#verResultados,#panelPlan,#panelConfig{scroll-margin-top:100px;min-width:0}
#verResultados{background:#f6f7fc;border-radius:24px;padding:clamp(16px,3vw,28px)}
.section-title h2{font-size:clamp(1.2rem,2vw,1.6rem)}.section-title p{font-size:.85rem!important}
#gridTestsResultados{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,250px),1fr));gap:14px}
.profile-result-card{padding:20px;border:1px solid #e3e5f1;background:#fff;border-radius:18px;display:flex;flex-direction:column;gap:10px;min-width:0;box-shadow:0 8px 24px #16244906}
.profile-result-card h3{font-size:1rem;line-height:1.4}.profile-result-origin{font-size:.7rem;color:#6557ac}.profile-result-summary{font-size:.92rem;color:#344365}.profile-result-card time{font-size:.75rem;color:#657086}.profile-result-open{display:inline-flex;justify-content:center;align-items:center;min-height:44px;padding:10px 16px;border:1px solid #dedaf4;border-radius:12px;background:#f1efff;color:#493a9a;font-weight:600;text-decoration:none;font-size:.85rem;margin-top:auto;white-space:normal}.profile-status{grid-column:1/-1;padding:20px;color:#465371}
#detalleResultadoWrapper{scroll-margin-top:100px}#resultados{min-height:0}#resultados .eb-user-result{margin-top:18px}#resultados .eb-user-result h2{line-height:1.2}#resultados .eb-user-tips{margin:0;padding:0}#resultados .eb-user-result p{overflow-wrap:anywhere}
.profile-tabs{display:none}
@media(max-width:960px){
 .perfil-container{padding:14px 14px 32px!important;gap:14px!important}.opciones{padding:14px!important;background:#f2f4ff!important}.opciones ul,.opciones h2{display:none!important}.sidebar-avatar-zone{margin:0!important;flex-wrap:wrap}.sidebar-name{white-space:normal!important;overflow-wrap:anywhere}.sidebar-username{font-size:.8rem!important}.hero{display:none!important}.cta{display:none!important}.psico-card{border-radius:16px}.psico-body{gap:10px!important}.psico-avatar{width:40px;height:40px;flex:none}.psico-info{flex:1}.btn-abrir-chat{padding:10px 14px;font-size:.8rem}
 .profile-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));position:fixed;bottom:0;left:0;right:0;z-index:80;gap:4px;background:rgba(17,25,51,.97);border-top:1px solid #ffffff25;backdrop-filter:blur(16px);padding:8px 8px max(8px,env(safe-area-inset-bottom))}.profile-tabs button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;min-height:52px;min-width:0;padding:6px 2px;background:none;border:0;border-radius:12px;color:#c1cae5;font-size:.7rem}.profile-tabs button[aria-pressed=true]{background:#354471;color:white}.profile-tabs button:focus-visible{outline:2px solid #69cfff}body{padding-bottom:80px}#verResultados{padding:16px;border-radius:18px}#perfil-content,#verResultados,#panelPlan,#panelConfig,#detalleResultadoWrapper{scroll-margin-top:80px}.section-title{margin-bottom:16px!important}#resultados .eb-user-hero{min-width:0}
}
@media(max-height:600px) and (min-width:961px){.opciones{top:78px;padding:12px}.opciones .sidebar-avatar-zone{display:none}.opciones li{padding:8px 12px}.hero{padding:18px!important}.cta{padding:12px 18px!important}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.profile-tabs *, .hero *, .opciones *{animation:none!important;transition:none!important}}

.chat-drawer:not(.open),.profile-toast:not(.show){display:none}
