/* PeakFour V63 | authenticated dashboard; numbers sourced from current activity/Firebase. */
#page-profile.pf-profile-page{max-width:1420px!important;padding:clamp(12px,2vw,30px)!important;border-radius:24px}
#page-profile .pf-profile-hero{border-radius:27px!important;padding:clamp(20px,3vw,38px)!important;box-shadow:0 16px 38px #06112b19!important}
#page-profile .pf-profile-hero h1{font-weight:800!important;letter-spacing:-.04em!important}
#page-profile .pf-profile-identity{border-radius:20px!important}
#page-profile .pf-profile-avatar{border-radius:18px;background:linear-gradient(135deg,#2563eb,#38bdf8);color:#fff}
#page-profile .pf-profile-overview article,#page-profile .pf-profile-panel{border-radius:21px!important;box-shadow:0 10px 29px #07152d13!important}
#page-profile .pf-profile-overview article strong{color:#3b82f6!important;font-size:clamp(22px,2.3vw,32px)!important}
#page-profile .pf-v63-analytics{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:18px;margin:18px 0}
#page-profile .pf-v63-analytics .pf-profile-panel{min-width:0;margin:0!important;display:flex;flex-direction:column;gap:13px}
#page-profile .pf-v63-bars{height:190px;display:flex;align-items:end;gap:12px;padding:15px 12px 7px;border-radius:15px;background:rgba(59,130,246,.055);border:1px solid rgba(59,130,246,.1)}
#page-profile .pf-v63-day{min-width:0;flex:1;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:end;gap:8px}
#page-profile .pf-v63-day .pf-v63-bar{min-height:2px;width:min(40px,86%);border-radius:9px 9px 4px 4px;background:linear-gradient(0deg,#1d4ed8,#3b82f6 68%,#38bdf8);transition:height .25s}
#page-profile .pf-v63-day small{color:var(--pf-secondary);font-size:10px;font-weight:700}
#page-profile .pf-v63-insight-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
#page-profile .pf-v63-insight-grid>div{display:grid;gap:7px;padding:15px;border-radius:15px;background:rgba(59,130,246,.065);border:1px solid rgba(59,130,246,.14)}
#page-profile .pf-v63-insight-grid small{font-size:11px;color:var(--pf-secondary)}
#page-profile .pf-v63-insight-grid strong{font-size:clamp(18px,2vw,25px);font-weight:800;color:#2563eb;line-height:1.2;overflow-wrap:anywhere}
html[data-pf-theme="dark"] #page-profile .pf-v63-insight-grid strong{color:#7fb5ff}
html[data-pf-theme="dark"] #page-profile .pf-v63-analytics .pf-profile-panel{background:rgba(15,23,42,.83)!important;backdrop-filter:blur(12px);border:1px solid #334155!important;color:#e2e8f0!important}
html[data-pf-theme="light"] #page-profile .pf-v63-analytics .pf-profile-panel{background:rgba(255,255,255,.94)!important;backdrop-filter:blur(12px);border:1px solid #dae5f1!important}
@media(max-width:800px){#page-profile .pf-v63-analytics{grid-template-columns:1fr}}
@media(max-width:480px){#page-profile .pf-v63-analytics{gap:11px}#page-profile .pf-v63-bars{height:160px;gap:4px}#page-profile .pf-v63-insight-grid>div{padding:10px}}
@media(prefers-reduced-motion:reduce){#page-profile .pf-v63-analytics *{transition:none!important}}
/* Explicit dark palette overrides legacy profile.css's forced white panels. */
html[data-pf-theme="dark"] #page-profile.pf-profile-page{color:#e2e8f0!important;background:#0b0f19!important}
html[data-pf-theme="dark"] #page-profile .pf-profile-hero{background:radial-gradient(circle at 80% 22%,#214579 0%,transparent 48%),linear-gradient(115deg,#111d32,#0e1729)!important;border-color:#344761!important;box-shadow:0 15px 35px #0005!important}
html[data-pf-theme="dark"] #page-profile .pf-profile-hero h1,html[data-pf-theme="dark"] #page-profile .pf-profile-identity strong{color:#f8fafc!important}
html[data-pf-theme="dark"] #page-profile .pf-profile-hero p,html[data-pf-theme="dark"] #page-profile .pf-profile-identity small{color:#9cb0cb!important}
html[data-pf-theme="dark"] #page-profile .pf-profile-identity{background:#0c1b31dd!important;border-color:#3a5371!important}
html[data-pf-theme="dark"] #page-profile .pf-profile-overview article,html[data-pf-theme="dark"] #page-profile .pf-profile-panel{background:#0f172aec!important;border-color:#2d4059!important;color:#e2e8f0!important;box-shadow:0 13px 32px #0003!important}
html[data-pf-theme="dark"] #page-profile .pf-profile-overview article strong{color:#76b3ff!important}
html[data-pf-theme="dark"] #page-profile .pf-profile-overview article span,html[data-pf-theme="dark"] #page-profile .pf-profile-overview article small,html[data-pf-theme="dark"] #page-profile .pf-profile-panel p{color:#9fb1c9!important}
html[data-pf-theme="dark"] #page-profile .pf-panel-head h2,html[data-pf-theme="dark"] #page-profile .pf-profile-settings h2,html[data-pf-theme="dark"] #page-profile .pf-phoneme-columns h3{color:#f4f8ff!important}
html[data-pf-theme="dark"] #page-profile .pf-v63-insight-grid>div{background:#15233a!important;border-color:#2c4871!important}
html[data-pf-theme="dark"] #page-profile .pf-v63-insight-grid small{color:#aebfda!important}
