#pghm-dashboard{
  max-width:100%;
  overflow-x:hidden;
  --pghm-bg-1: rgba(6,12,24,0.84);
  --pghm-bg-2: rgba(5,10,20,0.76);
  --pghm-stroke: rgba(125,211,252,0.10);
  --pghm-stroke-strong: rgba(34,211,238,0.24);
  --pghm-text: #F7FAFF;
  --pghm-text-soft: #D7E4F2;
  --pghm-text-muted: #9CB0C9;
  --pghm-accent-1: #8B5CF6;
  --pghm-accent-2: #38BDF8;
  --pghm-accent-3: #0F766E;
  --pghm-accent-4: #22D3EE;
  --pghm-shadow: 0 26px 80px rgba(2,8,20,0.50);
  background: transparent;
  color: var(--pghm-text);
  font-family: Inter, Arial, system-ui, sans-serif;
  width:100%;
}
#pghm-dashboard *{box-sizing:border-box;}
.pghm-topbar{
  display:flex;justify-content:space-between;gap:16px;align-items:end;flex-wrap:wrap;margin-bottom:20px;
}
.pghm-user-switch{display:flex;gap:12px;align-items:center;flex-wrap:wrap;}
.pghm-user-switch label{font-size:14px;font-weight:700;color:var(--pghm-text);letter-spacing:.02em;}
#pghmUserSelect{
  min-width:320px;padding:13px 16px;border-radius:16px;border:1px solid var(--pghm-stroke-strong);
  background:linear-gradient(180deg, rgba(15,23,42,0.96) 0%, rgba(10,15,27,0.94) 100%);
  color:var(--pghm-text);backdrop-filter: blur(14px);outline:none;
  box-shadow:0 0 0 1px rgba(255,255,255,0.03), 0 0 0 4px rgba(110,123,255,0.06), 0 14px 36px rgba(7,12,24,0.34);
}
#pghmUserSelect:focus{border-color:rgba(79,209,255,0.55);box-shadow:0 0 0 1px rgba(79,209,255,0.14), 0 0 0 4px rgba(79,209,255,0.09), 0 18px 42px rgba(7,12,24,0.4);}
#pghmUserSelect option{background:#0f172a;color:#F7FAFF;}
#pghmLoadUserBtn{
  padding:13px 20px;border:none;border-radius:16px;background:linear-gradient(135deg,#8B5CF6 0%, #38BDF8 52%, #0F766E 100%);
  color:#fff;font-weight:800;cursor:pointer;letter-spacing:.01em;
  box-shadow:0 18px 42px rgba(139,92,246,0.28), 0 0 34px rgba(56,189,248,0.18);
  transition:transform .18s ease, box-shadow .18s ease, filter .18s ease;
}
#pghmLoadUserBtn:hover{transform:translateY(-2px);filter:saturate(1.08);box-shadow:0 22px 52px rgba(139,92,246,0.34),0 0 42px rgba(56,189,248,0.22);}
.pghm-user-meta{font-size:14px;color:var(--pghm-text-soft);opacity:.98;}
.pghm-hero-card,.pghm-card{
  border:1px solid var(--pghm-stroke);
  background:linear-gradient(180deg, var(--pghm-bg-1) 0%, var(--pghm-bg-2) 100%);
  backdrop-filter: blur(16px);
  border-radius:24px;
  box-shadow:var(--pghm-shadow), inset 0 1px 0 rgba(255,255,255,0.04), 0 0 0 1px rgba(255,255,255,0.02);
}
.pghm-hero-card{display:grid;grid-template-columns:1.35fr .95fr;gap:22px;padding:28px;margin-bottom:20px;position:relative;overflow:hidden;}
.pghm-hero-card:before,.pghm-card:before{
  content:'';position:absolute;inset:auto auto -30px -30px;width:180px;height:180px;border-radius:50%;
  background:radial-gradient(circle, rgba(79,209,255,0.16) 0%, rgba(79,209,255,0.05) 35%, rgba(79,209,255,0) 72%);
  pointer-events:none;filter:blur(8px);
}
.pghm-hero-card:after,.pghm-card:after{
  content:'';position:absolute;inset:-40px -10px auto auto;width:210px;height:210px;border-radius:50%;
  background:radial-gradient(circle, rgba(110,123,255,0.12) 0%, rgba(110,123,255,0.03) 42%, rgba(110,123,255,0) 74%);
  pointer-events:none;filter:blur(10px);
}
.pghm-kicker{font-size:12px;text-transform:uppercase;letter-spacing:.16em;color:var(--pghm-text-muted);margin-bottom:10px;}
.pghm-hero-title{margin:0 0 14px;font-size:32px;line-height:1.06;color:#FFFFFF;font-weight:800;}
.pghm-score-row{display:flex;gap:24px;align-items:center;}
.pghm-score-number{font-size:72px;line-height:.92;font-weight:900;background:linear-gradient(135deg,#CFFAFE 0%, #67E8F9 38%, #8B5CF6 100%);-webkit-background-clip:text;background-clip:text;color:transparent;text-shadow:0 0 30px rgba(34,211,238,0.20),0 0 36px rgba(139,92,246,0.20);}
.pghm-score-label{font-size:14px;color:var(--pghm-text-soft);margin-bottom:8px;letter-spacing:.02em;}
.pghm-score-badge{display:inline-block;padding:9px 13px;border-radius:999px;font-weight:800;margin-bottom:10px;background:rgba(255,255,255,0.10);font-size:14px;box-shadow:inset 0 0 0 1px rgba(255,255,255,0.04);}
.pghm-score-badge.peak,.pghm-score-badge.strong{background:rgba(56,189,248,0.16);color:#B7ECFF;box-shadow:0 0 18px rgba(56,189,248,0.14), inset 0 0 0 1px rgba(56,189,248,0.16);}
.pghm-score-badge.stable{background:rgba(15,118,110,0.18);color:#A7F3D0;box-shadow:0 0 18px rgba(15,118,110,0.14), inset 0 0 0 1px rgba(15,118,110,0.16);}
.pghm-score-badge.strained,.pghm-score-badge.recover{background:rgba(139,92,246,0.18);color:#E5D5FF;box-shadow:0 0 18px rgba(139,92,246,0.14), inset 0 0 0 1px rgba(139,92,246,0.16);}
.pghm-score-badge.neutral{background:rgba(255,255,255,0.10);color:#DDE7F4;}
.pghm-score-copy p{margin:0;color:var(--pghm-text);font-size:16px;line-height:1.72;max-width:760px;font-weight:500;}
.pghm-panel-title,.pghm-card-title{font-size:14px;text-transform:uppercase;letter-spacing:.14em;color:var(--pghm-text-soft);margin-bottom:14px;font-weight:700;}
.pghm-forecast-panel{padding-top:8px;}
.pghm-forecast-trend{font-size:30px;font-weight:900;color:#FFFFFF;margin-bottom:16px;text-shadow:0 0 20px rgba(79,209,255,0.10);}
.pghm-forecast-mini{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:14px;}
.pghm-forecast-mini div{background:linear-gradient(180deg, rgba(255,255,255,0.07) 0%, rgba(255,255,255,0.04) 100%);border-radius:18px;padding:14px;text-align:center;box-shadow:inset 0 0 0 1px rgba(255,255,255,0.03), 0 10px 24px rgba(5,9,18,0.24);}
.pghm-forecast-mini span{display:block;font-size:12px;color:var(--pghm-text-soft);margin-bottom:6px;letter-spacing:.04em;}
.pghm-forecast-mini strong{font-size:24px;color:#FFFFFF;}
.pghm-forecast-mini em{display:block;font-style:normal;font-size:12px;line-height:1.4;color:var(--pghm-text-muted);margin-top:6px;}
.pghm-forecast-text{font-size:16px;line-height:1.72;color:var(--pghm-text);font-weight:500;}
.pghm-grid{display:grid;gap:18px;margin-bottom:18px;}
.pghm-grid-rings{grid-template-columns:repeat(5,minmax(0,1fr));}
.pghm-grid-main{grid-template-columns:1fr 1.2fr;}
.pghm-grid-secondary{grid-template-columns:repeat(3,minmax(0,1fr));}
.pghm-grid-insights{grid-template-columns:repeat(3,minmax(0,1fr));}
.pghm-card{padding:20px;min-width:0;position:relative;overflow:hidden;transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease;}
.pghm-card:hover,.pghm-hero-card:hover{border-color:rgba(79,209,255,0.20);box-shadow:0 30px 90px rgba(2,8,20,0.48), inset 0 1px 0 rgba(255,255,255,0.04), 0 0 24px rgba(79,209,255,0.08);}
.pghm-ring-card{text-align:center;padding:20px 14px;}
.pghm-ring-card canvas{width:214px!important;height:214px!important;display:block;margin:0 auto;filter:drop-shadow(0 0 30px rgba(34,211,238,0.22)) drop-shadow(0 0 42px rgba(124,58,237,0.22));}
.pghm-ring-title{margin-top:14px;font-size:19px;color:#FFFFFF;font-weight:800;letter-spacing:-.01em;}
.pghm-ring-sub{margin-top:8px;font-size:14px;color:var(--pghm-text-soft);min-height:40px;line-height:1.55;font-weight:500;}
.pghm-chart-wrap{position:relative;height:310px;}
.pghm-chart-influence{height:270px;}
.pghm-insight-card{min-height:220px;}
.pghm-list{margin:0;padding-left:20px;}
.pghm-list li{margin:0 0 12px;color:var(--pghm-text);line-height:1.72;font-size:16px;font-weight:500;}
.pghm-text-block{font-size:16px;line-height:1.72;color:var(--pghm-text);font-weight:500;}
.pghm-energy-scale{display:grid;grid-template-columns:repeat(10,minmax(0,1fr));gap:8px;max-width:440px;margin:8px 0 12px;}
.pghm-energy-seg{height:10px;border-radius:3px;background:rgba(255,255,255,0.08);box-shadow:inset 0 0 0 1px rgba(255,255,255,0.03);}
.pghm-energy-seg.is-on{background:var(--seg-color,#8ea2ff);box-shadow:0 0 0 1px rgba(255,255,255,0.05),0 0 16px var(--seg-glow,rgba(142,162,255,0.3));}
.pghm-energy-hint{font-size:15px;line-height:1.65;color:var(--pghm-text-soft);margin:0 0 10px;font-weight:500;}
.pghm-score-copy p,.pghm-forecast-text,.pghm-list li,.pghm-text-block{font-size:16px;line-height:1.72;}
.pghm-card-title,.pghm-panel-title{font-size:14px;}
@media (max-width:1200px){
  .pghm-grid-rings{grid-template-columns:repeat(3,minmax(0,1fr));}
  .pghm-grid-secondary,.pghm-grid-insights{grid-template-columns:1fr;}
  .pghm-hero-card,.pghm-grid-main{grid-template-columns:1fr;}
}
@media (max-width:1024px){
  .pghm-topbar{align-items:stretch;}
  .pghm-user-switch{width:100%;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;}
  #pghmUserSelect{width:100%;min-width:0;max-width:100%;}
  .pghm-user-meta{width:100%;}
}
@media (max-width:767px){
  #pghm-dashboard{padding:0 2px;}
  .pghm-topbar{gap:12px;align-items:stretch;margin-bottom:14px;}
  .pghm-user-switch{grid-template-columns:1fr;gap:10px;width:100%;}
  .pghm-user-switch label{font-size:13px;}
  #pghmUserSelect,
  #pghmLoadUserBtn{
    width:100%;
    min-width:0;
    max-width:100%;
    display:block;
    font-size:16px;
  }
  #pghmUserSelect{
    -webkit-appearance:none;
    appearance:none;
    padding-right:46px;
    background-image:linear-gradient(180deg, rgba(15,23,42,0.98) 0%, rgba(10,15,27,0.96) 100%), linear-gradient(45deg, transparent 50%, #CFFAFE 50%), linear-gradient(135deg, #CFFAFE 50%, transparent 50%);
    background-position:0 0, calc(100% - 22px) 20px, calc(100% - 16px) 20px;
    background-size:100% 100%, 6px 6px, 6px 6px;
    background-repeat:no-repeat;
    line-height:1.35;
  }
  #pghmUserSelect option{font-size:16px;color:#F7FAFF;background:#0f172a;}
  .pghm-user-meta{font-size:13px;line-height:1.5;}
  .pghm-hero-card,.pghm-card{border-radius:20px;}
  .pghm-hero-card{padding:20px;gap:16px;}
  .pghm-grid-main{grid-template-columns:1fr;}
  .pghm-grid-rings,.pghm-grid-secondary,.pghm-grid-insights{grid-template-columns:1fr;}
  .pghm-score-row{align-items:flex-start;gap:16px;flex-wrap:wrap;}
  .pghm-score-number{font-size:58px;}
  .pghm-hero-title{font-size:24px;}
  .pghm-forecast-mini{grid-template-columns:repeat(2,1fr);}
  .pghm-ring-card canvas{width:198px!important;height:198px!important;}
  .pghm-energy-ring-wrap{width:214px;height:214px;flex:0 0 214px;}
  #pghmEnergyHeroRing{width:194px!important;height:194px!important;}
  .pghm-chart-wrap{height:260px;}
  .pghm-chart-influence{height:240px;}
  .pghm-score-copy p,.pghm-forecast-text,.pghm-list li,.pghm-text-block{font-size:15px;}
}

.pghm-energy-ring-wrap{position:relative;width:232px;height:232px;flex:0 0 232px;filter:drop-shadow(0 0 38px rgba(34,211,238,0.22)) drop-shadow(0 0 52px rgba(124,58,237,0.22));}
#pghmEnergyHeroRing{width:212px!important;height:212px!important;display:block;}
.pghm-energy-ring-center{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;pointer-events:none;}
.pghm-score-mini{font-size:12px;letter-spacing:.14em;text-transform:uppercase;color:var(--pghm-text-soft);margin-top:6px;}
.pghm-score-copy{max-width:760px;}
.pghm-score-badge{background:rgba(255,255,255,0.08);}
.pghm-score-badge.peak,.pghm-score-badge.strong{background:rgba(34,211,238,0.16);color:#8FEFFF;box-shadow:0 0 18px rgba(34,211,238,0.14), inset 0 0 0 1px rgba(34,211,238,0.16);}
.pghm-score-badge.stable{background:rgba(20,184,166,0.16);color:#8CF5EA;box-shadow:0 0 18px rgba(20,184,166,0.14), inset 0 0 0 1px rgba(20,184,166,0.16);}
.pghm-score-badge.strained,.pghm-score-badge.recover{background:rgba(124,58,237,0.16);color:#D9BEFF;box-shadow:0 0 18px rgba(124,58,237,0.14), inset 0 0 0 1px rgba(124,58,237,0.16);}
.pghm-card,.pghm-hero-card{box-shadow:var(--pghm-shadow), inset 0 1px 0 rgba(255,255,255,0.04), 0 0 0 1px rgba(255,255,255,0.02), 0 0 34px rgba(34,211,238,0.05);}
.pghm-card:hover,.pghm-hero-card:hover{border-color:rgba(34,211,238,0.22);box-shadow:0 30px 90px rgba(2,8,20,0.52), inset 0 1px 0 rgba(255,255,255,0.04), 0 0 36px rgba(34,211,238,0.10), 0 0 48px rgba(124,58,237,0.08);}
.pghm-forecast-trend{font-size:22px;font-weight:800;color:#FFFFFF;margin-bottom:12px;text-shadow:0 0 22px rgba(34,211,238,0.12);}
.pghm-forecast-graph-wrap{position:relative;height:210px;margin-bottom:10px;padding:8px 0 0;}
.pghm-forecast-legend{display:flex;gap:18px;align-items:center;font-size:12px;color:var(--pghm-text-soft);margin-bottom:12px;letter-spacing:.04em;text-transform:uppercase;}
.pghm-forecast-legend span{display:inline-flex;align-items:center;gap:8px;}
.pghm-forecast-legend i{display:inline-block;width:14px;height:14px;border-radius:4px;box-shadow:0 0 14px rgba(34,211,238,0.12);}
.pghm-forecast-legend i.is-current{background:linear-gradient(180deg,#22D3EE,#14B8A6);}
.pghm-forecast-legend i.is-forecast{background:linear-gradient(180deg,#7C3AED,#38BDF8);}
.pghm-forecast-text{font-size:15px;line-height:1.68;color:var(--pghm-text);font-weight:500;}
.pghm-ring-card canvas{width:214px!important;height:214px!important;display:block;margin:0 auto;filter:drop-shadow(0 0 30px rgba(34,211,238,0.22)) drop-shadow(0 0 42px rgba(124,58,237,0.22));}
.pghm-ring-sub{margin-top:8px;font-size:14px;color:var(--pghm-text-soft);min-height:22px;line-height:1.55;font-weight:500;}
.pghm-insight-card{min-height:220px;}
.pghm-card-title,.pghm-panel-title{font-size:13px;text-transform:uppercase;letter-spacing:.16em;color:var(--pghm-text-soft);margin-bottom:14px;font-weight:700;}
.pghm-list li,.pghm-text-block{font-size:15px;line-height:1.75;color:var(--pghm-text);font-weight:500;}
.pghm-list li{margin:0 0 10px;}
.pghm-energy-hint{font-size:14px;line-height:1.65;color:var(--pghm-text-soft);margin:0 0 10px;font-weight:500;}
@media (max-width:767px){
  .pghm-energy-ring-wrap{width:168px;height:168px;flex-basis:168px;}
  #pghmEnergyHeroRing{width:148px!important;height:148px!important;}
  .pghm-score-number{font-size:52px;}
  .pghm-forecast-graph-wrap{height:150px;}
}

.pghm-grid-insights .pghm-card-title{font-size:15px!important;line-height:1.35!important;letter-spacing:.12em!important;font-weight:700!important;color:var(--pghm-text-soft)!important;min-height:40px;display:flex;align-items:flex-start;}
.pghm-grid-insights .pghm-list li,.pghm-grid-insights .pghm-text-block{font-size:17px!important;line-height:1.75!important;font-weight:500!important;}
.pghm-grid-insights .pghm-card{display:flex;flex-direction:column;justify-content:flex-start;}

#signalKpi{filter:drop-shadow(0 0 22px rgba(34,211,238,0.10)) drop-shadow(0 0 24px rgba(124,58,237,0.12));}
.pghm-ring-card #signalKpi + .pghm-ring-title{margin-top:12px;}
.pghm-ring-card .pghm-ring-sub{max-width:180px;margin-left:auto;margin-right:auto;}

.pghm-grid-rings{align-items:stretch;}
.pghm-ring-card{padding:28px 18px 24px;}
.pghm-ring-title{font-size:20px;margin-top:16px;}
.pghm-ring-sub{font-size:15px;}
.pghm-grid-secondary .pghm-card-title{font-size:14px;}
#signalKpi{filter:drop-shadow(0 0 24px rgba(244,114,182,0.16)) drop-shadow(0 0 26px rgba(34,211,238,0.12));}
@media (max-width:767px){.pghm-ring-card canvas{width:176px!important;height:176px!important;}.pghm-grid-main,.pghm-grid-secondary,.pghm-grid-insights,.pghm-grid-rings{grid-template-columns:1fr!important;}.pghm-chart-wrap{height:240px;}.pghm-forecast-graph-wrap{height:150px;}.pghm-topbar{gap:12px;}.pghm-user-meta{font-size:13px;line-height:1.5;}}


/* v2.3.8 responsive refinements */
.pghm-grid-insights{grid-template-columns:repeat(3,minmax(0,1fr))!important;align-items:stretch;}
.pghm-grid-insights .pghm-card{height:100%;}
@media (max-width:1024px){
  .pghm-topbar{align-items:stretch;}
  .pghm-user-switch{width:100%;display:grid;grid-template-columns:1fr auto;grid-template-areas:"label label" "select button";align-items:center;}
  .pghm-user-switch label{grid-area:label;}
  #pghmUserSelect{grid-area:select;min-width:0;width:100%;}
  #pghmLoadUserBtn{grid-area:button;white-space:nowrap;}
  .pghm-user-meta{width:100%;text-align:left;}
  .pghm-grid-rings{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
  .pghm-grid-secondary{grid-template-columns:1fr!important;}
}
@media (max-width:767px){
  #pghm-dashboard{padding-inline:0;}
  .pghm-topbar{flex-direction:column;align-items:stretch;gap:10px;}
  .pghm-user-switch{display:block;width:100%;}
  .pghm-user-switch label{display:block;margin-bottom:8px;}
  #pghmUserSelect{display:block;width:100%;min-width:0;max-width:100%;font-size:16px;padding:14px 16px;}
  #pghmLoadUserBtn{display:block;width:100%;margin-top:10px;padding:14px 16px;font-size:15px;}
  .pghm-user-meta{width:100%;font-size:13px;line-height:1.5;text-align:left;}
  .pghm-hero-card,.pghm-card{padding:18px;border-radius:20px;}
  .pghm-hero-title{font-size:26px;}
  .pghm-score-row{flex-direction:column;align-items:flex-start;gap:16px;}
  .pghm-energy-ring-wrap{width:176px;height:176px;flex-basis:176px;}
  #pghmEnergyHeroRing{width:156px!important;height:156px!important;}
  .pghm-grid-rings,.pghm-grid-main,.pghm-grid-secondary,.pghm-grid-insights{grid-template-columns:1fr!important;}
  .pghm-ring-card{padding:22px 14px 20px;}
  .pghm-ring-card canvas{width:184px!important;height:184px!important;}
  .pghm-chart-wrap{height:220px;}
  .pghm-forecast-graph-wrap{height:160px;}
  .pghm-forecast-legend{flex-wrap:wrap;gap:10px;}
}
@media (max-width:420px){
  .pghm-hero-card,.pghm-card{padding:16px;}
  .pghm-ring-card canvas{width:170px!important;height:170px!important;}
  .pghm-score-number{font-size:48px;}
}

@media (max-width: 932px) and (orientation: landscape){
  .pghm-topbar{gap:12px;}
  .pghm-user-switch{width:58%;grid-template-columns:minmax(0,1fr) auto;}
  .pghm-user-meta{width:40%;text-align:right;}
  .pghm-grid-rings{grid-template-columns:repeat(3,minmax(0,1fr));}
  .pghm-grid-secondary{grid-template-columns:1fr 1fr;}
  .pghm-card,.pghm-hero-card{padding:18px;}
}


/* v2.4.0 mobile fixes */
.pghm-user-switch{gap:10px;}
#pghmUserSelect{background:#0f172a;color:#F7FAFF;border:1px solid rgba(255,255,255,0.14);}
#pghmUserSelect option{color:#F7FAFF;background:#0f172a;}
@media (max-width:1024px){
  .pghm-topbar{display:flex;flex-direction:column;align-items:stretch;gap:12px;}
  .pghm-user-switch{display:grid;grid-template-columns:1fr auto;grid-template-areas:'label label' 'select button';width:100%;align-items:center;}
  .pghm-user-switch label{grid-area:label;margin:0 0 6px 0;}
  #pghmUserSelect{grid-area:select;width:100%;min-width:0;max-width:none;}
  #pghmLoadUserBtn{grid-area:button;display:inline-flex;min-width:140px;justify-content:center;}
  .pghm-user-meta{width:100%;max-width:none;text-align:left;}
}
@media (max-width:767px){
  .pghm-topbar{display:flex;flex-direction:column;align-items:stretch;gap:12px;}
  .pghm-user-switch{display:flex;flex-direction:column;align-items:stretch;width:100%;gap:10px;}
  .pghm-user-switch label{margin-bottom:0;}
  #pghmUserSelect{display:block!important;width:100%!important;max-width:none!important;min-width:0!important;padding:14px 16px!important;font-size:16px!important;line-height:1.4!important;appearance:auto!important;-webkit-appearance:menulist!important;background:#0f172a!important;background-image:none!important;color:#F7FAFF!important;}
  #pghmLoadUserBtn{display:block!important;width:100%!important;margin-top:0!important;padding:14px 16px!important;font-size:15px!important;}
  .pghm-user-meta{display:block;width:100%;}
  .pghm-hero-card,.pghm-card,#pghm-dashboard{width:100%;max-width:100%;}
}
@media (max-width:932px) and (orientation: landscape){
  .pghm-topbar{display:flex;flex-direction:column;align-items:stretch;gap:12px;}
  .pghm-user-switch{display:grid;grid-template-columns:1fr auto;grid-template-areas:'label label' 'select button';width:100%;}
  #pghmUserSelect{width:100%;min-width:0;max-width:none;}
  #pghmLoadUserBtn{min-width:140px;}
  .pghm-user-meta{width:100%;text-align:left;}
  #pghm-dashboard{max-width:100%;}
  .pghm-hero-card,.pghm-card{width:100%;max-width:100%;}
}


/* v2.4.1 mobile + date formatting support */
@media (max-width: 767px){
  .pghm-topbar,
  .pghm-user-switch{display:block!important;width:100%!important;max-width:none!important;}
  .pghm-user-switch label{display:block!important;margin-bottom:8px!important;}
  #pghmUserSelect{
    display:block!important;
    width:100%!important;
    max-width:none!important;
    min-width:0!important;
    min-height:50px!important;
    padding:14px 16px!important;
    padding-right:16px!important;
    border-radius:14px!important;
    -webkit-appearance: menulist !important;
    appearance: menulist !important;
    background:#0f172a!important;
    background-image:none!important;
    line-height:1.35!important;
    position:relative!important;
    z-index:5!important;
  }
  #pghmLoadUserBtn{display:block!important;width:100%!important;max-width:none!important;margin-top:10px!important;}
  .pghm-user-meta{display:block!important;width:100%!important;text-align:left!important;margin-top:10px!important;}
}

@media (max-width: 932px) and (orientation: landscape){
  #pghm-dashboard{padding-inline:0!important;}
  .pghm-topbar{display:block!important;width:100%!important;max-width:none!important;}
  .pghm-user-switch{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:10px!important;width:100%!important;max-width:none!important;align-items:end!important;}
  .pghm-user-switch label{grid-column:1 / -1!important;margin-bottom:0!important;}
  #pghmUserSelect{width:100%!important;max-width:none!important;min-width:0!important;}
  #pghmLoadUserBtn{width:auto!important;min-width:140px!important;}
  .pghm-user-meta{display:block!important;width:100%!important;text-align:left!important;margin-top:10px!important;}
  .pghm-hero-card,.pghm-card{width:100%!important;}
  .pghm-grid-rings{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
  .pghm-grid-main,.pghm-grid-secondary,.pghm-grid-insights{grid-template-columns:1fr!important;}
  .pghm-chart-wrap,.pghm-forecast-graph-wrap{width:100%!important;}
}


/* v2.4.6 mobile custom picker */
.pghm-mobile-user-toggle,
.pghm-mobile-user-panel{display:none;}
.pghm-mobile-user-toggle{
  width:100%;
  text-align:left;
  min-width:0;
  padding:13px 16px;
  border-radius:16px;
  border:1px solid var(--pghm-stroke-strong);
  background:linear-gradient(180deg, rgba(15,23,42,0.96) 0%, rgba(10,15,27,0.94) 100%);
  color:var(--pghm-text);
  box-shadow:0 0 0 1px rgba(255,255,255,0.03), 0 0 0 4px rgba(110,123,255,0.06), 0 14px 36px rgba(7,12,24,0.34);
  position:relative;
  font-size:16px;
  font-weight:600;
}
.pghm-mobile-user-toggle:after{
  content:'▾';
  position:absolute;
  right:16px;
  top:50%;
  transform:translateY(-50%);
  color:#CFFAFE;
  pointer-events:none;
}
.pghm-mobile-user-panel{
  width:100%;
  margin-top:10px;
  border:1px solid rgba(34,211,238,0.22);
  background:linear-gradient(180deg, rgba(8,14,26,0.98) 0%, rgba(10,15,27,0.98) 100%);
  border-radius:18px;
  box-shadow:0 18px 40px rgba(7,12,24,0.45);
  overflow:hidden;
}
.pghm-mobile-user-panel-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:14px 16px;
  border-bottom:1px solid rgba(255,255,255,0.08);
}
.pghm-mobile-user-close{
  border:none;
  background:transparent;
  color:#F7FAFF;
  font-size:28px;
  line-height:1;
  padding:0;
}
.pghm-mobile-user-list{
  display:grid;
  gap:8px;
  padding:12px;
  max-height:50vh;
  overflow:auto;
}
.pghm-mobile-user-item{
  width:100%;
  text-align:left;
  padding:14px 16px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,0.08);
  background:rgba(255,255,255,0.04);
  color:#F7FAFF;
  font-size:16px;
  font-weight:600;
}
.pghm-mobile-user-item.is-active{
  border-color:rgba(34,211,238,0.36);
  background:rgba(34,211,238,0.10);
  box-shadow:0 0 0 1px rgba(34,211,238,0.14) inset;
}
@media (max-width:767px){
  #pghmUserSelect{display:none !important;}
  .pghm-mobile-user-toggle,.pghm-mobile-user-panel{display:block;}
}
