#pe-root { font-variant-numeric: tabular-nums; }
.pe-heading, .pe-controls, .pe-summary { display:flex; gap:16px; flex-wrap:wrap; align-items:center; }
.pe-heading { justify-content:space-between; margin-bottom:24px; }
.pe-heading h1 { margin:0 0 8px; font-size:26px; text-wrap:balance; }
.pe-heading p, .pe-note { color:var(--text-muted, #a4a8b5); max-width:100ch; line-height:1.6; text-wrap:pretty; }
.pe-controls { margin:20px 0; align-items:end; }
.pe-controls label { display:grid; gap:7px; font-size:13px; }
.pe-controls input, .pe-controls select, #pe-root button { min-height:44px; }
.pe-summary { margin:24px 0; gap:28px; }
.pe-summary div { display:grid; gap:5px; }
.pe-summary strong { font-size:26px; }
.pe-summary span { color:var(--text-muted, #a4a8b5); font-size:13px; }
.pe-cards { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; margin:22px 0; }
.pe-card { border-radius:16px; padding:22px; background:var(--surface, #171b25); box-shadow:0 2px 8px rgb(0 0 0 / .12),0 0 0 1px rgb(255 255 255 / .06); }
.pe-card h2 { font-size:16px; margin:0 0 22px; }
.pe-card strong { font-size:30px; letter-spacing:-.025em; }
.pe-card p, .pe-card span { color:var(--text-muted, #a4a8b5); font-size:13px; margin:8px 0; }
.pe-table-wrap { overflow-x:auto; max-width:100%; margin:16px 0 24px; border-radius:12px; }
.pe-table { width:100%; min-width:680px; border-collapse:collapse; font-size:13px; }
.pe-table th, .pe-table td { padding:13px 16px; border-bottom:1px solid rgb(128 128 128 / .14); text-align:right; white-space:nowrap; }
.pe-table th:first-child { text-align:left; font-weight:500; }
.pe-table thead { background:var(--surface, #171b25); }
.pe-table tbody tr:nth-child(9) { background:var(--accent-soft); font-weight:600; }
#pe-root details { margin:22px 0; }
#pe-root summary { cursor:pointer; padding:14px 0; font-weight:600; }
.pe-warning, #pe-error { color:#f2bd6c; }
#pe-root button { transition:transform .15s,opacity .15s; }
#pe-root button:active { transform:scale(.96); }
#pe-root [hidden] { display:none !important; }
@media(max-width:680px) { .pe-cards { grid-template-columns:1fr; } .pe-card { padding:18px; } .pe-card h2 { margin-bottom:12px; } .pe-controls label { flex:1 1 140px; min-width:0; } .pe-controls input,.pe-controls select { width:100%; min-width:0; } .pe-heading h1 { font-size:22px; } }
@media(prefers-reduced-motion:reduce) { #pe-root button { transition:none; } }
