
/* v1203 final admin/profile/header UX correction */
:root{--pp-ui-font:'Inter',system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif;--pp-ink:#081b4f;--pp-muted:#66758d;--pp-border:#dfe8f6;--pp-blue:#0d5bff;--pp-bg:#f6f9fd}
html,body{font-family:var(--pp-ui-font)!important;-webkit-font-smoothing:antialiased!important;text-rendering:optimizeLegibility!important}
body,.admin-main,.dash-main,.pp-card,.pp-kpi-card,.admin-sidebar,.dash-side,.navbar,.topbar{font-weight:500!important;letter-spacing:-.012em!important;color:var(--pp-ink)}
.navbar .nav-links>a,.navbar .nav-item>a{font-size:14px!important;font-weight:700!important;letter-spacing:-.02em!important;color:var(--pp-ink)!important}
.topbar,.topbar a,.topbar strong{font-size:12px!important;font-weight:700!important;letter-spacing:-.01em!important}
.nav-account .account-chip{font-weight:700!important}.nav-account small{font-weight:600!important;opacity:.8}.nav-actions .nav-icon{color:#0b55df!important}
.dash-main h1,.admin-main h1,.pp8c-main h1,.admin-page h1{font-weight:760!important;letter-spacing:-.05em!important;line-height:1.05!important;color:var(--pp-ink)!important}
.dash-main h2,.admin-main h2,.pp8c-main h2,.admin-page h2,.pp-card h2,.pp-card h3{font-weight:700!important;letter-spacing:-.035em!important;color:var(--pp-ink)!important}
.dash-main p,.admin-main p,.pp-card p,.pp8c-card p,.dash-main small,.admin-main small{font-weight:500!important;color:var(--pp-muted)!important;line-height:1.45!important}
.dash-side a,.dash-side button,.admin-sidebar a,.ppx-side-group>button{font-weight:650!important;letter-spacing:-.01em!important}.pp-kpi-card b,.pp-kpi-card strong,.stat-card b,.stat-card strong{font-weight:720!important}
/* profile page is a real page, not a template placeholder */
.pp-profile-page{min-height:calc(100vh - 160px);background:linear-gradient(180deg,#f6f9ff 0%,#fff 72%);padding:36px 0 60px}.pp-profile-wrap{width:min(1120px,calc(100% - 32px));margin:0 auto}.pp-profile-hero{display:grid;grid-template-columns:1fr auto;gap:24px;align-items:center;background:radial-gradient(circle at 90% 8%,rgba(255,199,76,.22),transparent 30%),linear-gradient(135deg,#061a55,#0b5cff);color:#fff;border-radius:28px;padding:30px;box-shadow:0 28px 78px rgba(6,26,85,.2)}.pp-profile-id{display:flex;align-items:center;gap:18px}.pp-profile-avatar{width:78px;height:78px;border-radius:24px;background:#fff;color:#061a55;display:grid;place-items:center;font-size:31px;font-weight:850}.pp-profile-hero h1{margin:0;font-size:clamp(2rem,4vw,3.15rem);font-weight:780;letter-spacing:-.06em;line-height:1}.pp-profile-hero p{margin:8px 0 0;color:rgba(255,255,255,.82);font-weight:520}.pp-profile-badges{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end}.pp-profile-badge{border:1px solid rgba(255,255,255,.2);background:rgba(255,255,255,.13);border-radius:999px;padding:9px 12px;font-size:12px;font-weight:720}.pp-profile-grid{display:grid;grid-template-columns:1.15fr .85fr;gap:20px;margin-top:20px}.pp-profile-card{background:#fff;border:1px solid var(--pp-border);border-radius:24px;padding:24px;box-shadow:0 18px 55px rgba(7,26,85,.07)}.pp-profile-card h2{margin:0 0 16px;font-size:20px;font-weight:730}.pp-profile-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.pp-profile-field{background:#fbfdff;border:1px solid #edf2fb;border-radius:18px;padding:14px}.pp-profile-field small{display:block;font-size:11px;text-transform:uppercase;letter-spacing:.08em;font-weight:700;color:#75859d;margin-bottom:5px}.pp-profile-field strong{display:block;font-size:15px;font-weight:650;color:#081b4f;overflow-wrap:anywhere}.pp-profile-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:18px}.pp-profile-btn{border:0;border-radius:14px;padding:12px 15px;background:#0d5bff;color:#fff!important;text-decoration:none!important;font-weight:720;box-shadow:0 14px 28px rgba(13,91,255,.2)}.pp-profile-btn.secondary{background:#eef4ff;color:#061a55!important;box-shadow:none}.pp-profile-checklist{display:grid;gap:12px}.pp-profile-check{display:flex;justify-content:space-between;align-items:center;gap:12px;border:1px solid #edf2fb;border-radius:16px;padding:13px;background:#fbfdff}.pp-profile-check span{font-weight:620;color:#081b4f}.pp-profile-check em{font-style:normal;font-size:12px;font-weight:750;color:#0d5bff;background:#edf4ff;border-radius:999px;padding:5px 9px;white-space:nowrap}
/* force header dropdowns to the right place, especially mobile */
.navbar,.nav-inner,.nav-actions,.pp-header-action-wrap{overflow:visible!important}.pp-header-action-dd{box-sizing:border-box!important}.pp-header-action-wrap:not(.pp-open)>.pp-header-action-dd{display:none!important;opacity:0!important;visibility:hidden!important;pointer-events:none!important}.pp-header-action-wrap.pp-open>.pp-header-action-dd{display:block!important;opacity:1!important;visibility:visible!important;pointer-events:auto!important;z-index:2147483000!important}.pp-header-action-dd-head{border-bottom:1px solid #edf2fb!important;margin-bottom:6px!important}.pp-header-action-dd-head b{font-weight:720!important}.pp-header-action-dd-head a{font-weight:700!important}.pp-header-action-dd-item strong{font-weight:650!important}.pp-header-action-dd-item small{font-weight:500!important}
@media(max-width:900px){
  .pp-header-action-wrap{position:static!important}.nav-actions .pp-header-action-wrap.pp-open>.pp-header-action-dd,.pp-header-action-wrap.pp-open>.pp-header-action-dd{position:fixed!important;top:104px!important;left:12px!important;right:12px!important;width:auto!important;min-width:0!important;max-width:none!important;max-height:min(70vh,460px)!important;overflow:auto!important;border-radius:20px!important;background:#fff!important;border:1px solid #dce8f8!important;box-shadow:0 28px 80px rgba(7,22,79,.25)!important;padding:10px!important;transform:none!important;text-align:left!important;white-space:normal!important;color:#081b4f!important}.pp-header-action-wrap.pp-open>.pp-header-action-dd:before{content:'';position:fixed;left:0;right:0;top:0;bottom:0;background:rgba(3,18,69,.08);z-index:-1;pointer-events:none}.pp-header-action-dd-head{position:sticky;top:0;background:#fff;border-radius:16px 16px 0 0}.pp-header-action-dd-item,.pp-header-action-dd-empty{white-space:normal!important;text-align:left!important}.pp-profile-grid{grid-template-columns:1fr}.pp-profile-hero{grid-template-columns:1fr}.pp-profile-badges{justify-content:flex-start}
}
@media(max-width:560px){.navbar .nav-links>a,.navbar .nav-item>a{font-size:13px!important}.nav-account .account-chip span:not(.avatar-dot),.nav-account .account-chip small{display:none!important}.dash-main h1,.admin-main h1{font-size:clamp(1.75rem,8vw,2.45rem)!important}.pp-profile-page{padding:20px 0 44px}.pp-profile-wrap{width:min(100% - 22px,1120px)}.pp-profile-hero{padding:22px;border-radius:24px}.pp-profile-id{gap:13px}.pp-profile-avatar{width:58px;height:58px;border-radius:18px;font-size:24px}.pp-profile-fields{grid-template-columns:1fr}.pp-profile-card{padding:18px;border-radius:20px}.pp-profile-badge{font-size:11px;padding:8px 10px}.nav-actions .pp-header-action-wrap.pp-open>.pp-header-action-dd,.pp-header-action-wrap.pp-open>.pp-header-action-dd{top:92px!important;left:10px!important;right:10px!important}}
