.em-inputs { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 4px 18px; }
.em-inputs input[type=range] { margin-top: 6px; }
.em-ten { display: flex; gap: 8px; align-items: center; }
.em-ten input { flex: 1 1 80px; min-width: 0; }
.em-ten .seg { flex: none; flex-wrap: nowrap; }
.em-res { margin-top: 10px; }
.em-res .stat b { font-size: clamp(19px, 5vw, 24px); overflow-wrap: anywhere; }
.em-emi { background: var(--brand-soft) !important; border-color: var(--brand) !important; }
.em-charts { display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 1fr); gap: 16px; align-items: center; margin-top: 14px; }
.em-charts figure { margin: 0; min-width: 0; }
.em-pie svg { width: 100%; max-width: 170px; display: block; margin: 0 auto 6px; }
.em-pie figcaption { font-size: 14px; line-height: 1.8; text-align: center; }
.em-bars svg { width: 100%; height: 160px; display: block; }
.em-bars figcaption { font-size: 13.5px; margin-top: 4px; }
.em-key { display: inline-block; width: 11px; height: 11px; border-radius: 3px; margin: 0 4px 0 6px; vertical-align: -1px; }
.em-key.p { background: var(--brand); } .em-key.i { background: var(--accent); }
.em-pre { margin-top: 16px; }
.em-pre summary { cursor: pointer; }
.em-small { font-size: 13.5px; }
.em-pre-out { background: color-mix(in srgb, var(--ok) 10%, var(--card)); border: 1px solid var(--ok); border-radius: 12px; padding: 10px 12px; }
.em-sched { margin-top: 18px; }
.em-sched-head { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: space-between; }
.em-sched-head h3 { margin: 0; font-size: 18px; }
.em-table-wrap { overflow: auto; max-height: 460px; margin-top: 10px; border: 1px solid var(--line); border-radius: 12px; }
.em-table { border-collapse: collapse; width: 100%; font-size: 14px; font-variant-numeric: tabular-nums; }
.em-table th, .em-table td { padding: 7px 9px; text-align: right; white-space: nowrap; border-bottom: 1px solid var(--line); }
.em-table th:first-child, .em-table td:first-child { text-align: left; }
.em-table thead th { position: sticky; top: 0; background: var(--bg); z-index: 1; }
.em-table tr.yr td { font-weight: 700; background: var(--bg); }
@media (max-width: 560px) { .em-charts { grid-template-columns: 1fr; } .em-table { font-size: 13px; } .em-table th, .em-table td { padding: 6px 7px; } }
/* site.css styles most input types but not "month" */
input[type=month] { font: inherit; color: var(--ink); background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 9px 12px; min-height: 42px; width: 100%; }
input[type=month]:focus { outline: 2px solid var(--brand); outline-offset: 1px; border-color: transparent; }
