.ep { max-width: 680px; margin: 0 auto; padding: 12px 16px 50px; --low: #2f8f5b; --mid: #d19a2a; --high: #c4472f; --low-bg: #e3f4e8; --mid-bg: #fff3d4; --high-bg: #fde4e1; }
@media (prefers-color-scheme: dark) { .ep { --low: #5fc088; --mid: #e0b04e; --high: #ef7a63; --low-bg: #16301f; --mid-bg: #3a3014; --high-bg: #3d1c18; } }
.ep * { min-width: 0; }
.ep .card { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; margin-bottom: 12px; }
.ep h2 { font-size: 16px; margin: 0 0 8px; }
.ep .small { font-size: 13px; } .ep .err { color: #c4472f; } .ep .ok { color: var(--low); }
.ep .foot { margin-top: 20px; }
.ep .seg { display: flex; gap: 4px; margin-bottom: 12px; }
.ep .seg button { flex: 1; border: 1px solid var(--line); background: var(--surface); color: var(--text); border-radius: 12px; padding: 7px 4px; font: inherit; cursor: pointer;
  display: flex; flex-direction: column; align-items: center; line-height: 1.2; }
.ep .seg button span { font-size: 11px; color: var(--muted); }
.ep .seg button[aria-selected="true"], .ep .seg button[aria-pressed="true"] { background: var(--accent); color: var(--accent-text); border-color: var(--accent); font-weight: 600; }
.ep .seg button[aria-selected="true"] span { color: inherit; opacity: .85; }
.ep .seg button:disabled { opacity: .5; cursor: default; }
.ep .seg.small { margin: 0; flex-wrap: wrap; } .ep .seg.small button { flex-direction: row; padding: 6px 10px; white-space: nowrap; font-size: 14px; }
.ep .bar { flex-wrap: wrap; } .ep .bar .seg.small { flex: 1 1 100%; } .ep .bar .seg.small button { flex: 1 0 28%; justify-content: center; }
.ep .bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 10px; }
.ep .chk { display: flex; align-items: center; gap: 6px; font-size: 14px; }
.ep .now { border-width: 2px; }
.ep .now.low { background: var(--low-bg); border-color: var(--low); } .ep .now.mid { background: var(--mid-bg); border-color: var(--mid); } .ep .now.high { background: var(--high-bg); border-color: var(--high); }
.ep .now .lbl { font-size: 13px; color: var(--muted); }
.ep .now .big { font-size: 46px; font-weight: 700; letter-spacing: -.02em; line-height: 1.15; display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px; }
.ep .now .unit { font-size: 16px; font-weight: 400; color: var(--muted); }
.ep .now .sub { font-size: 14px; margin-top: 4px; }
.ep .tag { font-size: 12px; font-weight: 600; padding: 2px 8px; border-radius: 99px; color: #fff; vertical-align: middle; }
.ep .tag.low { background: var(--low); } .ep .tag.mid { background: var(--mid); color: #1d1c1a; } .ep .tag.high { background: var(--high); }
.ep .read { min-height: 24px; font-size: 14px; margin-bottom: 4px; }
.ep .chart svg { display: block; width: 100%; touch-action: pan-y; }
.ep .chart .grid { stroke: var(--line); stroke-width: 1; } .ep .chart .grid.zero { stroke: var(--muted); }
.ep .chart .ax { fill: var(--muted); font-size: 10px; }
.ep .chart .b.low { fill: var(--low); } .ep .chart .b.mid { fill: var(--mid); } .ep .chart .b.high { fill: var(--high); }
.ep .chart .b.fc { opacity: .5; } .ep .chart .wh { stroke: var(--text); stroke-width: 1.5; fill: none; }
.ep .fcnote { margin: 12px 2px 0; line-height: 1.45; } .ep .fcnote[hidden] { display: none; }
.ep .chart .b.past { opacity: .4; } .ep .chart .b.cur { stroke: var(--text); stroke-width: 1.5; }
.ep .stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 10px; text-align: center; }
.ep .stats div { background: var(--surface-2); border-radius: 10px; padding: 6px 4px; display: flex; flex-direction: column; }
.ep .stats b { font-size: 22px; } .ep .stats span, .ep .stats small { font-size: 12px; color: var(--muted); }
.ep table { width: 100%; border-collapse: collapse; } .ep td { padding: 6px 4px; border-bottom: 1px solid var(--line); } .ep td.r { text-align: right; white-space: nowrap; }
.ep table.hrs td:nth-child(3) { width: 45%; } .ep tr.cur td { font-weight: 700; background: var(--accent-soft); }
.ep .mini { display: block; height: 10px; border-radius: 3px; } .ep .mini.low { background: var(--low); } .ep .mini.mid { background: var(--mid); } .ep .mini.high { background: var(--high); }
.ep details > summary { cursor: pointer; font-weight: 600; }
.ep .btn { display: inline-flex; align-items: center; height: 40px; border-radius: 9px; border: 1px solid var(--line); background: var(--surface); color: var(--text); padding: 0 14px; cursor: pointer; font: inherit; text-decoration: none; }
.ep .btn.primary { background: var(--accent); color: var(--accent-text); border-color: var(--accent); font-weight: 600; }
.ep .row { display: flex; gap: 8px; align-items: center; } .ep .row.wrap { flex-wrap: wrap; }
.ep .grp { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; } .ep .ind { margin-left: 24px; }
.ep input[type=number] { width: 112px; height: 36px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--text); padding: 0 8px; font: inherit; }
.ep .grp select { height: 36px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--text); padding: 0 8px; font: inherit; max-width: 100%; }
.ep .opts { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; } .ep .opts select { height: 36px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--text); padding: 0 8px; font: inherit; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: var(--accent); color: var(--accent-text); padding: 10px 18px; border-radius: 99px; z-index: 2000; font-weight: 600; box-shadow: 0 4px 16px #0004; }
