/* Phewzion Mods Website 2.2 — scoped live Progress dashboard.
   All selectors start with #pm22-live-root. Legacy Progress is unchanged in the HTML. */
#pm22-live-root{--pm22-bg:#0b1b32;--pm22-line:#284969;--pm22-text:#eff7ff;--pm22-muted:#a8c2df;--pm22-cyan:#75cfff;--pm22-violet:#ae91ff;color:var(--pm22-text);font-family:inherit;max-width:1180px;margin:0 auto;padding:20px 0 38px;box-sizing:border-box}
#pm22-live-root *{box-sizing:border-box}#pm22-live-root[hidden]{display:none!important}
.pm22-live-enabled > :not(#pm22-live-root){display:none!important}
#pm22-live-root .pm22-top{display:flex;gap:22px;justify-content:space-between;align-items:flex-start;margin-bottom:23px;flex-wrap:wrap}
#pm22-live-root .pm22-kicker{display:block;letter-spacing:.15em;font-size:11px;font-weight:850;text-transform:uppercase;color:var(--pm22-cyan);margin-bottom:10px}
#pm22-live-root h2{font-size:clamp(30px,4vw,48px);font-weight:850;letter-spacing:-.045em;line-height:1.1;margin:0 0 12px;color:var(--pm22-text)}
#pm22-live-root .pm22-lede{font-size:15px;line-height:1.7;color:var(--pm22-muted);margin:0;max-width:680px}
#pm22-live-root .pm22-actions{display:flex;flex-wrap:wrap;gap:9px;align-items:center}
#pm22-live-root button,#pm22-live-root a.pm22-button{font:inherit;color:#d8ebff;background:#122b48;border:1px solid #356084;border-radius:11px;padding:10px 14px;cursor:pointer;font-size:13px;font-weight:750;text-decoration:none;line-height:1.3;transition:border-color .18s,background .18s,transform .18s}
#pm22-live-root button:hover,#pm22-live-root a.pm22-button:hover{background:#1b4165;border-color:#77b9f1;transform:translateY(-1px)}
#pm22-live-root button[aria-pressed="true"]{background:linear-gradient(110deg,#327abb,#645acf);border-color:#799ff6;color:#fff}
#pm22-live-root .pm22-switch{display:flex;gap:6px;flex-wrap:wrap;background:#0c1a2e;border:1px solid #294d6e;padding:5px;border-radius:14px}
#pm22-live-root .pm22-switch button{border:0;background:transparent;padding:9px 13px}#pm22-live-root .pm22-switch button[aria-pressed="true"]{background:linear-gradient(110deg,#287db6,#705cd4)}
#pm22-live-root .pm22-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:18px}
#pm22-live-root .pm22-kpi,#pm22-live-root .pm22-panel,#pm22-live-root .pm22-milestone{border:1px solid var(--pm22-line);border-radius:17px;background:linear-gradient(155deg,#132946f5,#0a172cee);box-shadow:0 12px 30px #00000019}
#pm22-live-root .pm22-kpi{padding:19px 21px}#pm22-live-root .pm22-kpi-label{font-size:12px;color:var(--pm22-muted);display:block}#pm22-live-root .pm22-kpi-value{font-size:34px;letter-spacing:-.035em;color:#f7fbff;display:block;font-weight:850;margin:7px 0 3px}
#pm22-live-root .pm22-kpi:last-child{border-top:2px solid #50d7a8}#pm22-live-root .pm22-kpi:nth-child(2){border-top:2px solid #6abaff}#pm22-live-root .pm22-kpi:nth-child(3){border-top:2px solid #b48aff}
#pm22-live-root .pm22-main{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(255px,.85fr);gap:17px}
#pm22-live-root .pm22-panel{padding:20px;min-width:0}#pm22-live-root .pm22-panel-head{display:flex;justify-content:space-between;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:15px}#pm22-live-root h3{margin:0;font-size:20px;color:#f6fbff;letter-spacing:-.02em}
#pm22-live-root .pm22-milestones{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
#pm22-live-root .pm22-milestone{border-radius:13px;padding:15px;background:#0b1c32;min-width:0;box-shadow:none}
#pm22-live-root .pm22-item-meta{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;color:#95bbdf;font-size:11px;margin-bottom:12px}
#pm22-live-root .pm22-tag{border:1px solid #365979;border-radius:6px;background:#173451;padding:4px 7px;color:#91d9ff;font-size:10px;font-weight:800;white-space:nowrap}
#pm22-live-root .pm22-tag[data-stage="completed"]{border-color:#26745d;color:#8df4c6;background:#16372e}#pm22-live-root .pm22-tag[data-stage="development"]{border-color:#5e6db4;color:#c1b1ff;background:#252547}#pm22-live-root .pm22-tag[data-stage="testing"]{border-color:#80613a;color:#ffd6a8;background:#342a22}
#pm22-live-root .pm22-item-title{font-weight:750;color:#f0f8ff;font-size:15px;overflow-wrap:anywhere;margin-bottom:7px}
#pm22-live-root .pm22-description{font-size:12px;color:#9bb6d1;line-height:1.6;min-height:36px;margin:0 0 13px;overflow-wrap:anywhere}
#pm22-live-root .pm22-progress-line{display:flex;justify-content:space-between;align-items:center;font-size:12px;color:#b1c5e0;gap:10px;margin-bottom:7px}
#pm22-live-root .pm22-percent{font-weight:850;color:#e9f5ff;font-variant-numeric:tabular-nums}
#pm22-live-root .pm22-track{height:8px;width:100%;border-radius:99px;background:#1c3453;overflow:hidden}#pm22-live-root .pm22-fill{height:100%;background:linear-gradient(90deg,#28b0dc,#7182f6,#a780f1);border-radius:99px;transition:width .8s ease}
#pm22-live-root .pm22-footnote{font-size:11px;color:#7da5c6;margin:9px 0 0}
#pm22-live-root .pm22-focus{padding:16px;border:1px solid #416998;background:linear-gradient(140deg,#143b60,#1a2246);border-radius:13px;margin-bottom:15px}#pm22-live-root .pm22-focus strong{font-size:18px;display:block;margin:8px 0 4px}#pm22-live-root .pm22-focus p{font-size:12px;color:#c4d9f0;line-height:1.55;margin:0 0 9px}#pm22-live-root .pm22-focus small{color:#92caff;font-size:11px}
#pm22-live-root .pm22-activity{display:grid;gap:10px}#pm22-live-root .pm22-event{border-left:2px solid #5f91e5;padding:3px 0 4px 12px}#pm22-live-root .pm22-event strong{color:#edf8ff;display:block;font-size:12px;margin-bottom:3px;overflow-wrap:anywhere}#pm22-live-root .pm22-event small{font-size:11px;color:#82b4dd;display:block;margin-bottom:3px}#pm22-live-root .pm22-event p{font-size:12px;color:#b6cee4;margin:0;line-height:1.5;overflow-wrap:anywhere}
#pm22-live-root .pm22-empty{font-size:13px;color:#b1cae1;background:#101f35;border:1px dashed #37618d;border-radius:12px;text-align:center;padding:35px 12px;grid-column:1/-1}
#pm22-live-root .pm22-refresh{font-size:11px;color:#89aecf;display:flex;align-items:center;gap:8px;margin:14px 0 0}#pm22-live-root .pm22-live-dot{width:7px;height:7px;border-radius:50%;background:#41e6ae;box-shadow:0 0 9px #41e6ae66;display:inline-block}
@media(max-width:970px){#pm22-live-root .pm22-main{grid-template-columns:1fr}#pm22-live-root .pm22-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){#pm22-live-root{padding:10px 0 28px}#pm22-live-root .pm22-top{gap:14px}#pm22-live-root .pm22-milestones{grid-template-columns:1fr}#pm22-live-root .pm22-panel{padding:15px}#pm22-live-root .pm22-kpi{padding:15px}#pm22-live-root .pm22-kpi-value{font-size:27px}#pm22-live-root h2{font-size:29px}}
@media(prefers-reduced-motion:reduce){#pm22-live-root *{transition:none!important;animation:none!important}}


/* 2.2.1 compact, wide, responsive layout — only live dashboard scoped selectors. */
#pm22-live-root {
  max-width:none;
  width:min(1540px,calc(100vw - 64px));
  position:relative;
  left:50%;transform:translateX(-50%);
  padding-top:14px;padding-bottom:24px;margin:0;
}
#pm22-live-root .pm22-top{margin-bottom:16px;gap:16px;align-items:center}
#pm22-live-root h2{font-size:clamp(29px,3vw,42px);margin-bottom:7px}
#pm22-live-root .pm22-lede{font-size:13px;line-height:1.5;max-width:700px}
#pm22-live-root .pm22-kicker{margin-bottom:6px}
#pm22-live-root .pm22-grid{gap:10px;margin-bottom:12px}
#pm22-live-root .pm22-kpi{padding:10px 16px;border-radius:12px;display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:67px}
#pm22-live-root .pm22-kpi-label{font-size:12px;line-height:1.3}
#pm22-live-root .pm22-kpi-value{font-size:26px;margin:0}
#pm22-live-root .pm22-main{grid-template-columns:minmax(0,1fr) minmax(270px,320px);gap:13px;align-items:start}
#pm22-live-root .pm22-panel{padding:16px;border-radius:14px}
#pm22-live-root .pm22-panel-head{margin-bottom:11px}
#pm22-live-root h3{font-size:18px}
#pm22-live-root .pm22-milestones{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
#pm22-live-root .pm22-milestone{padding:12px;border-radius:11px}
#pm22-live-root .pm22-item-meta{margin-bottom:7px;flex-wrap:nowrap}
#pm22-live-root .pm22-tag{font-size:10px;padding:3px 6px}
#pm22-live-root .pm22-item-title{font-size:14px;margin-bottom:4px}
#pm22-live-root .pm22-description{font-size:12px;line-height:1.45;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;overflow:hidden;min-height:0;margin:0 0 9px}
#pm22-live-root .pm22-progress-line{font-size:11px;margin-bottom:4px}
#pm22-live-root .pm22-track{height:6px}
#pm22-live-root .pm22-focus{padding:12px;margin-bottom:12px}
#pm22-live-root .pm22-focus strong{font-size:15px;margin:4px 0 3px}
#pm22-live-root .pm22-focus p{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;overflow:hidden;margin:0 0 6px}
#pm22-live-root .pm22-activity{gap:8px}
#pm22-live-root .pm22-event{padding:2px 0 3px 10px}
#pm22-live-root .pm22-event p{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;overflow:hidden}
#pm22-live-root .pm22-refresh{margin-top:11px}
#pm22-live-root .pm221-view-filters{display:flex;gap:5px;flex-wrap:wrap;margin:-2px 0 11px}
#pm22-live-root .pm221-view-filters button{font-size:12px;padding:7px 11px;border-radius:9px;background:#0c2139;border-color:#274b6f;transition:background .18s,border-color .18s}
#pm22-live-root .pm221-view-filters button[aria-pressed="true"]{background:linear-gradient(110deg,#2676a8,#5556ba);border-color:#639ddb}
#pm22-live-root .pm221-view-filters button span{font-size:11px;opacity:.85}
#pm22-live-root .pm22-empty{padding:20px 12px}
@media(max-width:1370px){
  #pm22-live-root .pm22-milestones{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:1050px){
  #pm22-live-root .pm22-main{grid-template-columns:1fr}
  #pm22-live-root .pm22-milestones{grid-template-columns:repeat(2,minmax(0,1fr))}
  #pm22-live-root .pm22-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
}
@media(max-width:740px){
  #pm22-live-root{width:calc(100vw - 30px)}
  #pm22-live-root .pm22-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  #pm22-live-root .pm22-milestones{grid-template-columns:1fr}
  #pm22-live-root .pm22-panel{padding:13px}
  #pm22-live-root .pm22-top{align-items:flex-start}
  #pm22-live-root .pm22-actions{width:100%}
  #pm22-live-root .pm22-kpi{min-height:56px;padding:9px 11px}
  #pm22-live-root .pm22-kpi-value{font-size:22px}
}
@media(prefers-reduced-motion:reduce){
  #pm22-live-root *{transition:none!important;animation:none!important}
}
/* Defend panel headers from generic site-level header styling. */
#pm22-live-root header.pm22-panel-head{height:auto;min-height:0;background:transparent;border:0;padding:0;box-shadow:none}
