.fpr-shell {
  --pr-ink: #172b24;
  --pr-muted: #52635c;
  --pr-line: #cdd8cf;
  --pr-dark: #19382d;
  --pr-light: #f9fbf5;
  --pr-accent: #cff28c;
  width: min(100%, 58rem);
  margin: 0 auto;
  padding: clamp(.85rem, 3vw, 2rem);
  border: 1px solid var(--pr-line);
  border-radius: 1.4rem;
  background: #eff3ea;
  color: var(--pr-ink);
  color-scheme: light;
  font-family: inherit;
  line-height: 1.48;
  text-align: left;
  min-width: 0;
}
.fpr-shell *, .fpr-shell *::before, .fpr-shell *::after { box-sizing: border-box; }
.fpr-shell h1, .fpr-shell h2, .fpr-shell h3, .fpr-shell p, .fpr-shell figure { margin: 0; padding: 0; }
.fpr-shell h1, .fpr-shell h2, .fpr-shell h3 { font-family: inherit; color: inherit; text-transform: none; line-height: 1.14; letter-spacing: -.035em; }
.fpr-shell h2 { font-size: clamp(1.35rem,3vw,1.8rem); }
.fpr-header { display: flex; flex-direction: column; align-items: flex-start; gap:.65rem; margin-bottom: 1.05rem; }
.fpr-header .fpr-title { font-size: clamp(1.9rem,6.1vw,3.3rem); max-width: 100%; }
.fpr-shell button, .fpr-shell select { font: inherit; color: var(--pr-ink); }
.fpr-shell button { cursor: pointer; min-height: 2.75rem; border-radius: .65rem; border: 1px solid var(--pr-line); background: white; padding: .5rem .85rem; font-size: .925rem; font-weight: 650; line-height: 1.2; }
.fpr-shell button:hover:not(:disabled), .fpr-shell select:hover { border-color: #537662; }
.fpr-shell button:focus-visible, .fpr-shell select:focus-visible { outline: 3px solid #19724f; outline-offset: 3px; }
.fpr-shell button:disabled { opacity: .48; cursor: default; }
.fpr-controls { display: flex; align-items: flex-end; flex-wrap: wrap; gap: .75rem; }
.fpr-field { display: grid; align-content: end; gap: .24rem; max-width: 100%; min-width: 0; }
.fpr-label { color: var(--pr-muted); font-weight: 650; font-size: .875rem; line-height: 1.3; }
.fpr-shell .fpr-select { width: 100%; max-width:100%; min-height: 2.75rem; border: 1px solid var(--pr-line); border-radius: .65rem; padding: .5rem 2.15rem .5rem .65rem; font-size: 1rem; text-overflow: ellipsis; background: #fff; background-image: linear-gradient(45deg, transparent 50%, #496451 50%), linear-gradient(135deg,#496451 50%,transparent 50%); background-position: calc(100% - 1rem) 50%,calc(100% - .73rem) 50%;background-size: .28rem .28rem; background-repeat: no-repeat; appearance: none; }
.fpr-period-nav { display: flex; align-items: center; flex-wrap: wrap; gap: .4rem; }
.fpr-status:not(:empty) { display:flex; flex-wrap:wrap; align-items:center; gap: .65rem; padding: .9rem 0 0; }
.fpr-body { display: grid; gap: 1rem; margin-top: 1rem; }
.fpr-window, .fpr-panel { min-width: 0; border-radius: 1rem; padding: clamp(.85rem,2.4vw,1.5rem); }
.fpr-window { background: var(--pr-dark); color:#f5f8ef; }
.fpr-window .fpr-label { color: #c4d6c9; }
.fpr-window .fpr-range { margin: .3rem 0 1.25rem; }
.fpr-overview,.fpr-stat-grid { display:grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: .75rem; }
.fpr-stat { display: flex; flex-direction: column; align-items: flex-start; gap: .3rem; min-width: 0; }
.fpr-value { font-size: clamp(1.2rem,4vw,1.8rem); line-height: 1.18; letter-spacing: -.035em; font-weight: 700; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.fpr-overview .fpr-value { color: var(--pr-accent); }
.fpr-panel { display:grid; align-content: start; gap: 1rem; background: var(--pr-light); border: 1px solid var(--pr-line); }
.fpr-detail,.fpr-note,.fpr-empty { color: var(--pr-muted); font-size: .9rem; line-height: 1.42; }
.fpr-filters { display: grid; grid-template-columns: minmax(0,1.3fr) minmax(0,1fr); gap:.7rem; }
.fpr-comparison { padding: .85rem clamp(.75rem,2vw,1.25rem); background: #e7efdf; border: 1px solid #c8d8bc; border-radius: .75rem; }
.fpr-comparison .fpr-measure-name { font-size:1.15rem; margin-bottom:.8rem; }
.fpr-comparison > .fpr-detail { margin-top:.85rem; }
.fpr-comparison .fpr-detail { font-size:.84rem; }
.fpr-figure { min-width: 0; }
.fpr-figure-heading { display: grid; gap:.2rem; }
.fpr-chart { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:clamp(.3rem,2vw,1rem); padding:.75rem 0 .1rem; }
.fpr-col { display:grid; justify-items:center; align-items:end; min-width:0; gap:.3rem; }
.fpr-bar-value,.fpr-tick { font-size: .87rem; font-weight: 650; color: var(--pr-ink); font-variant-numeric: tabular-nums; text-align:center; }
.fpr-tick { font-weight:500; color:var(--pr-muted); }
.fpr-track { position:relative; height:clamp(4.5rem,15vw,7.3rem); width:min(3.75rem,80%); border-bottom:2px solid #85a08e; background:#e6ede1; border-radius:.4rem .4rem 0 0; overflow:hidden; }
.fpr-track-empty { background:transparent; border:1px dashed #a9b9ac; }
.fpr-bar { position:absolute; bottom:0; width:100%; border-radius:.33rem .33rem 0 0; background:#427d5b; }
.fpr-section-heading { display:flex; align-items:center; justify-content:space-between; gap:.6rem; }
.fpr-count { display:inline-grid; place-items:center; min-width:2.55rem; padding:.2rem .55rem; border-radius:100rem; font-weight:650; color:var(--pr-muted); border:1px solid var(--pr-line); }
.fpr-log { list-style:none; margin:0; padding:0; }
.fpr-record { display:grid; grid-template-columns: minmax(9rem, .9fr) minmax(0,1.45fr); align-items:center; gap:.55rem 1rem; padding:.78rem 0; border-bottom:1px solid var(--pr-line); }
.fpr-record:first-child { padding-top:0; }
.fpr-record:last-child { padding-bottom:0; border-bottom:0; }
.fpr-record-intro { display:grid; gap:.15rem; min-width:0; overflow-wrap:anywhere; }
.fpr-record-intro strong { font-size:1.04rem; }
.fpr-record-stats { display:flex; flex-wrap:wrap; gap:.25rem .7rem; align-items:center; }
.fpr-record-stats span { color:var(--pr-muted); font-size:.9rem; }
.fpr-panel > .fpr-soft { justify-self:start; }
@media (max-width: 38rem) {
  .fpr-controls { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:.55rem; }
  .fpr-controls .fpr-period-nav { grid-column:1/-1; }
  .fpr-filters { grid-template-columns:1fr; }
  .fpr-overview,.fpr-stat-grid { gap:.45rem; }
  .fpr-log .fpr-record { grid-template-columns:1fr; }
  .fpr-chart { gap:.18rem; }
  .fpr-bar-value,.fpr-tick { font-size:.82rem; }
}
@media (max-width:22rem) {
  .fpr-shell { padding:.65rem; }
  .fpr-window,.fpr-panel { padding:.7rem; }
  .fpr-label { font-size:.81rem; }
  .fpr-chart { gap:.1rem; }
}
@media (forced-colors:active) { .fpr-bar { background:Highlight; forced-color-adjust:none; } .fpr-track { border:1px solid CanvasText; } }
.fpr-range-form { display:flex; flex-wrap:wrap; align-items:end; gap:.6rem; width:100%; margin:0; }
.fpr-shell .fpr-date { display:block; font:inherit; font-size:1rem; color:var(--pr-ink); background:#fff; border:1px solid var(--pr-line); border-radius:.65rem; min-height:2.75rem; min-width:0; max-width:100%; padding:.45rem .6rem; }
.fpr-shell .fpr-date:focus-visible { outline:3px solid #19724f; outline-offset:3px; }
.fpr-shell .fpr-apply { border-color:var(--pr-dark); background:var(--pr-dark); color:#fff; }
.fpr-range-warning { width:100%; font-size:.9rem; color:#8d3c28; }
.fpr-range-warning:empty { display:none; }
@media (max-width:38rem) { .fpr-range-form { grid-column:1/-1; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); } .fpr-range-warning { grid-column:1/-1; } .fpr-shell .fpr-apply { grid-column:1/-1; justify-self:start; } }
.fpr-roster { display:grid; gap:.75rem; list-style:none; margin:0; padding:0; }
.fpr-member { min-width:0; padding:.75rem; border:1px solid var(--pr-line); border-radius:.8rem; background:#fff; }
.fpr-member-head { display:flex; align-items:center; justify-content:space-between; gap:.55rem .85rem; }
.fpr-who { min-width:0; display:grid; gap:.14rem; }
.fpr-player-name { font-size:1.07rem; line-height:1.28; overflow-wrap:anywhere; }
.fpr-member-head .fpr-soft { flex:none; }
.fpr-mode-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,12.5rem),1fr)); gap:.45rem; margin-top:.65rem; }
.fpr-mode { min-width:0; padding:.55rem .65rem; background:#edf2e8; border-radius:.5rem; }
.fpr-mode-head { display:flex; align-items:baseline; flex-wrap:wrap; justify-content:space-between; gap:.12rem .45rem; }
.fpr-mode .fpr-mode-title { font-size:1rem; line-height:1.25; letter-spacing:-.02em; }
.fpr-mode-time { color:var(--pr-muted); font-weight:650; font-size:.875rem; font-variant-numeric:tabular-nums; }
.fpr-mode-values { display:grid; gap:.1rem; margin-top:.3rem; }
.fpr-mode-values span { font-size:.875rem; line-height:1.36; color:var(--pr-muted); overflow-wrap:anywhere; }
@media (max-width:38rem) { .fpr-who > .fpr-detail { font-size:.84rem; } .fpr-mode-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (max-width:22rem) { .fpr-mode-grid { grid-template-columns:1fr; } }
