/* v1204 custom fix based on actual PPEPro structure: /admin/profile was falling through admin/router.php. */
:root{--pp-soft-font:'Inter',system-ui,-apple-system,'Segoe UI',Arial,sans-serif;--pp-deep:#071a55;--pp-soft-text:#52627a;--pp-line:#dfe8f6;--pp-page:#f6f9fd;--pp-accent:#145cff}
html,body{font-family:var(--pp-soft-font)!important;font-weight:500!important;-webkit-font-smoothing:antialiased!important;text-rendering:optimizeLegibility!important}
body,.admin-main,.pp8m-main,.pp8c-main,.dash-main,.admin-content,.pp-card,.pp8m-card,.pp8c-card{font-weight:500!important;letter-spacing:-.012em!important;color:var(--pp-deep)!important}
.navbar,.topbar{font-family:var(--pp-soft-font)!important;letter-spacing:-.012em!important}.topbar,.topbar a,.topbar span,.topbar strong{font-size:12px!important;font-weight:650!important}.nav-links>a,.nav-item>a{font-size:13.5px!important;font-weight:650!important;letter-spacing:-.018em!important}.account-chip{font-weight:650!important}.account-chip small{font-weight:500!important;opacity:.75}.account-chip span:not(.avatar-dot){font-weight:650!important;max-width:100px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.admin-sidebar a,.admin-sidebar button,.ppx-sidebar a,.ppx-side-group>button{font-weight:600!important;letter-spacing:-.01em!important}.admin-main h1,.pp8m-main h1,.dash-main h1,.pp8c-main h1{font-weight:680!important;letter-spacing:-.05em!important}.admin-main h2,.admin-main h3,.pp8m-main h2,.pp8m-main h3,.dash-main h2,.dash-main h3{font-weight:650!important;letter-spacing:-.035em!important}.admin-main p,.admin-main small,.pp8m-main p,.pp8m-main small,.dash-main p,.dash-main small{font-weight:450!important;line-height:1.5!important;color:var(--pp-soft-text)!important}.stat-card strong,.pp-kpi-card strong,.pp8m-card strong{font-weight:680!important}
.pp-admin-profile-page{min-height:calc(100vh - 160px);background:radial-gradient(circle at top right,rgba(20,92,255,.08),transparent 34%),linear-gradient(180deg,#f5f8fe,#fff 72%);padding:38px 0 70px}.pp-admin-profile-shell{width:min(1120px,calc(100% - 34px));margin:0 auto}.pp-admin-profile-hero{display:grid;grid-template-columns:auto 1fr auto;gap:18px;align-items:center;background:linear-gradient(135deg,#061a55,#1367ff);border-radius:28px;padding:28px;box-shadow:0 28px 80px rgba(7,26,85,.22);color:#fff}.pp-admin-profile-avatar{width:76px;height:76px;border-radius:24px;background:#fff;color:#061a55;display:grid;place-items:center;font-size:30px;font-weight:750}.pp-admin-profile-title span{display:inline-block;font-size:12px;text-transform:uppercase;letter-spacing:.12em;font-weight:700;color:rgba(255,255,255,.72);margin-bottom:7px}.pp-admin-profile-title h1{margin:0;font-size:clamp(2rem,4vw,3.1rem);font-weight:720!important;line-height:.98;letter-spacing:-.06em;color:#fff!important}.pp-admin-profile-title p{margin:9px 0 0;color:rgba(255,255,255,.84)!important;font-weight:450!important}.pp-admin-profile-actions{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end}.pp-admin-profile-actions a,.pp-admin-shortcuts a{display:inline-flex;align-items:center;justify-content:center;border-radius:14px;padding:12px 15px;background:#fff;color:#071a55!important;text-decoration:none!important;font-weight:650;box-shadow:0 14px 28px rgba(3,18,69,.12)}.pp-admin-profile-actions a.soft{background:rgba(255,255,255,.15);color:#fff!important;border:1px solid rgba(255,255,255,.24);box-shadow:none}.pp-admin-profile-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:18px 0}.pp-admin-profile-kpis article,.pp-admin-profile-card{background:#fff;border:1px solid var(--pp-line);border-radius:22px;box-shadow:0 18px 55px rgba(7,26,85,.07)}.pp-admin-profile-kpis article{padding:20px}.pp-admin-profile-kpis small,.pp-admin-profile-fields small{display:block;font-size:11px;text-transform:uppercase;letter-spacing:.08em;color:#657897;font-weight:650;margin-bottom:8px}.pp-admin-profile-kpis strong{display:block;font-size:24px;font-weight:680;color:#071a55}.pp-admin-profile-kpis span{display:block;margin-top:6px;font-size:13px;color:#5d6f89}.pp-admin-profile-grid{display:grid;grid-template-columns:1.2fr .8fr;gap:18px}.pp-admin-profile-card{padding:22px}.pp-card-head h2{margin:0;font-size:20px!important;font-weight:650!important}.pp-card-head p{margin:7px 0 18px}.pp-admin-profile-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.pp-admin-profile-fields>div{background:#fbfdff;border:1px solid #edf2fb;border-radius:16px;padding:14px}.pp-admin-profile-fields strong{font-size:15px;font-weight:600;color:#071a55;overflow-wrap:anywhere}.pp-security-list,.pp-ops-snapshot{display:grid;gap:11px}.pp-security-list>div{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:13px;border-radius:15px;border:1px solid #edf2fb;background:#fbfdff}.pp-security-list span,.pp-ops-snapshot span{color:#5d6f89;font-weight:500}.pp-security-list b{font-size:12px;border-radius:999px;background:#eef5ff;color:#145cff;padding:6px 9px;font-weight:650;white-space:nowrap}.pp-admin-shortcuts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.pp-admin-shortcuts a{box-shadow:none;background:#eef5ff}.pp-ops-snapshot>div{border:1px solid #edf2fb;background:#fbfdff;border-radius:16px;padding:14px}.pp-ops-snapshot strong{display:block;font-size:22px;font-weight:680;color:#071a55}.pp-ops-snapshot span{display:block;margin-top:4px;font-size:13px}
/* Correct active header dropdowns on mobile. Existing PPEPro uses .pp-header-action-wrap and data-pp-action-toggle. */
.navbar,.nav-inner,.nav-actions,.pp-clickable-header-actions{overflow:visible!important}.pp-header-action-wrap:not(.pp-open)>.pp-header-action-dd{display:none!important;visibility:hidden!important;opacity:0!important;pointer-events:none!important}.pp-header-action-wrap.pp-open>.pp-header-action-dd{display:block!important;visibility:visible!important;opacity:1!important;pointer-events:auto!important;z-index:2147483000!important}.pp-header-action-dd{box-sizing:border-box!important;text-align:left!important;white-space:normal!important;line-height:1.35!important;color:#071a55!important}.pp-header-action-dd strong,.pp-header-action-dd b{font-weight:650!important}.pp-header-action-dd small{font-weight:450!important;color:#64748b!important}
@media(max-width:900px){.pp-header-action-wrap{position:static!important}.pp-header-action-wrap.pp-open>.pp-header-action-dd{position:fixed!important;top:94px!important;left:12px!important;right:12px!important;width:auto!important;min-width:0!important;max-width:none!important;max-height:min(72vh,460px)!important;overflow:auto!important;background:#fff!important;border:1px solid #dce8f8!important;border-radius:20px!important;box-shadow:0 28px 80px rgba(7,22,79,.25)!important;padding:10px!important;transform:none!important}.pp-header-action-dd-head{position:sticky;top:0;background:#fff;border-bottom:1px solid #edf2fb;border-radius:16px 16px 0 0}.pp-admin-profile-hero{grid-template-columns:1fr;text-align:left}.pp-admin-profile-actions{justify-content:flex-start}.pp-admin-profile-kpis,.pp-admin-profile-grid{grid-template-columns:1fr}.pp-admin-profile-fields{grid-template-columns:1fr}}
@media(max-width:560px){.pp-admin-profile-page{padding:22px 0 50px}.pp-admin-profile-shell{width:min(100% - 22px,1120px)}.pp-admin-profile-hero{padding:22px;border-radius:23px}.pp-admin-profile-avatar{width:58px;height:58px;border-radius:18px;font-size:24px}.pp-admin-profile-title h1{font-size:2rem!important}.pp-admin-profile-kpis{gap:12px}.pp-admin-profile-card{padding:18px;border-radius:20px}.pp-admin-shortcuts{grid-template-columns:1fr}.pp-header-action-wrap.pp-open>.pp-header-action-dd{top:88px!important;left:10px!important;right:10px!important}.nav-links>a,.nav-item>a{font-weight:600!important}.account-chip span:not(.avatar-dot),.account-chip small{display:none!important}}
