.ph-page .ph-impact-first {grid-template-columns:1.3fr repeat(6,minmax(0,1fr))}
.ph-impact-stat strong {color:var(--ph-accent)}
.ph-impact-stat small {display:block;color:var(--ph-muted);font-size:14px}
.ph-trend-panel {min-width:0}
.ph-trend-panel [hidden] {display:none!important}
.ph-trend-panel .ph-panel-head {flex-wrap:wrap;gap:12px}
.ph-segment {max-width:100%;flex-wrap:wrap}
.ph-trend-unit {color:var(--ph-muted);font-size:16px;margin:.6rem 0}
.ph-trend-plot {display:grid;grid-template-columns:42px minmax(0,1fr);min-width:0}
.ph-trend-scroll.ph-chart {width:100%;height:auto;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-color:#686a79 #1b1c23}
.ph-trend-scroll.ph-chart svg {display:block;width:auto;max-width:none;height:222px;overflow:hidden}
#trend-scale svg {display:block;overflow:visible}
#trend-scale text {fill:#b5b5c1;font:14px system-ui,sans-serif}
.ph-trend-plot .ph-zero {stroke:#bdbdc8;stroke-width:1.4}
.ph-trend-plot g[role=button] {cursor:pointer}
.ph-trend-plot g[aria-pressed=true] .ph-bar {fill:#f4f1e9;stroke:#f4f1e9;opacity:1}
.ph-trend-plot g:focus-visible {outline:2px solid var(--ph-accent);outline-offset:-2px}
.ph-trend-plot .ph-missing {fill:#cacbd6}
.ph-trend-browse {display:flex;align-items:center;gap:.65rem;margin-top:.8rem}
.ph-trend-browse label {color:var(--ph-muted);font-size:14px;font-variant-numeric:tabular-nums}
.ph-trend-browse button {background:var(--ph-panel);border:1px solid #555563;border-radius:4px;color:#f2eff4;width:44px;height:44px;font-size:19px;cursor:pointer}
.ph-trend-browse button:disabled {opacity:.4;cursor:default}
.ph-trend-browse input {min-width:0;flex:1;height:36px;accent-color:var(--ph-accent)}
.ph-trend-selection {display:flex;flex-wrap:wrap;align-items:baseline;gap:3px 16px;margin:8px 0 20px}
.ph-trend-selection .ph-chart-detail {font-size:16px;color:#f2eff4;min-height:0;margin:0}
.ph-impact-list {max-height:15rem;overflow:auto;list-style:none;padding:0}
.ph-impact-list li {display:flex;justify-content:space-between;gap:1rem;border-bottom:1px solid var(--ph-line);padding:6px 0}
@media(max-width:760px){
 .ph-page .ph-impact-first {grid-template-columns:repeat(3,minmax(0,1fr))}
 .ph-page .ph-impact-stat {grid-column:1/-1;border:0}
 .ph-page .ph-impact-first .ph-stat:nth-child(3n+2) {padding-left:0}
 .ph-trend-panel .ph-segment button,.ph-trend-panel .ph-chart-legend select {font-size:16px;min-height:44px}
 .ph-trend-browse {display:grid;grid-template-columns:44px minmax(0,1fr) 44px;gap:.4rem}
 .ph-trend-browse label {grid-column:1/-1}
 .ph-trend-selection .ph-text-link {padding-block:6px}
}

.ph-form-comparison {border-top:1px solid var(--ph-line);padding-top:.65rem}
.ph-form-comparison p {font-size:1rem;line-height:1.5;margin:0;max-width:64ch}
.ph-form-comparison p strong {color:var(--ph-accent);font-variant-numeric:tabular-nums}
.ph-split-detail summary {width:fit-content;cursor:pointer;color:var(--ph-text);font-size:1rem;font-weight:650;line-height:1.4;padding:11px 0}
.ph-split-detail summary::marker {color:var(--ph-accent)}
.ph-split-detail fieldset {min-inline-size:0;margin:0;padding:0;border:0}
.ph-split-detail legend {font-size:14px;color:var(--ph-muted);padding:0}
.ph-split-detail input[type=radio] {position:absolute;width:1px;height:1px;min-height:0;padding:0;clip-path:inset(50%);overflow:hidden}
.ph-split-detail label {display:inline-flex;align-items:center;min-height:44px;cursor:pointer;font-size:1rem;padding:0 .5rem;border-bottom:2px solid transparent}
.ph-split-detail input:checked + label {color:var(--ph-accent);border-color:currentColor;font-weight:700}
.ph-split-detail input:focus-visible + label {outline:2px solid var(--ph-accent);outline-offset:-2px}
.ph-split-compare {width:100%;max-width:32rem;margin-top:.5rem;border-collapse:collapse;line-height:1.35;font-size:1rem;font-variant-numeric:tabular-nums}
.ph-split-compare caption {text-align:left;font-size:14px;color:var(--ph-muted);padding:.2rem 0 .55rem}
.ph-split-compare th,.ph-split-compare td {padding:.4rem .25rem;border-bottom:1px solid var(--ph-line);text-align:right}
.ph-split-compare th:first-child {text-align:left;padding-left:0}
.ph-split-compare tbody th {font-weight:500}
.ph-split-compare small {display:block;font-size:14px;font-weight:400;color:var(--ph-muted)}
.ph-split-compare [data-split] {display:none}
#split-last-5:checked ~ table [data-split="last-5"],
#split-last-10:checked ~ table [data-split="last-10"],
#split-starts:checked ~ table [data-split="starts"],
#split-off-bench:checked ~ table [data-split="off-bench"] {display:table-cell}

.ph-page .ph-production {display:block;align-self:start}
.ph-production fieldset {border:0;padding:0;margin:0;min-inline-size:0}
.ph-production .ph-production-sr,.ph-production input[type=radio] {position:absolute;clip-path:inset(50%);width:1px;height:1px;min-height:0;padding:0;overflow:hidden;white-space:nowrap}
.ph-production fieldset>label {display:inline-flex;align-items:center;min-height:44px;padding:0 .6rem;font-size:1rem;font-weight:600;cursor:pointer;border-bottom:2px solid transparent}
.ph-production input:checked+label {border-color:currentColor;color:var(--ph-accent)}
.ph-production input:focus-visible+label {outline:2px solid var(--ph-accent);outline-offset:-2px}
.ph-rate-minutes,#ph-rate-minutes:checked ~ .ph-rate-game {display:none}
#ph-rate-minutes:checked ~ .ph-rate-minutes {display:block}
.ph-rate-view p {margin:.7rem 0;font-size:1rem;line-height:1.4}
.ph-rate-view table {width:100%;font-variant-numeric:tabular-nums;border-collapse:collapse}
.ph-rate-view caption,.ph-rate-view th,.ph-rate-view td {padding:.45rem .18rem;text-align:right;font-size:1rem;border-bottom:1px solid var(--ph-line)}
.ph-rate-view th:first-child,.ph-rate-view caption {text-align:left;padding-left:0}
.ph-rate-view caption,.ph-rate-view thead th,.ph-rate-view small {font-size:14px;color:var(--ph-muted);font-weight:400}
.ph-rate-view tbody th {font-weight:600;line-height:1.25}
.ph-rate-view small {display:block;margin-top:.2rem}
.ph-rate-view td:first-of-type {font-weight:700;color:var(--ph-accent)}
