/* 월간 실적 화면 (stats.js, 2026-11-16). 기존 화면 색(:root 의 --g·--line 등)을 그대로 씀. 흐림 효과 없음 */
:root{--up:#d32f2f;--dn:#1565c0}
.tabbar.t5{grid-template-columns:repeat(5,1fr)}
.stx{padding:12px 12px 24px}
.stx-h{margin:6px 4px 2px;font-size:18px}
.stx-sub{margin:0 4px 10px;font-size:13px;color:var(--sub)}
.stx .stx-seg{margin-top:0}
.stx-bar-row{display:flex;align-items:flex-end;gap:8px;margin:10px 0 0;flex-wrap:wrap}
.stx-pick{flex:1 1 130px;display:flex;flex-direction:column;gap:4px;font-size:12px;color:var(--sub);min-width:0}
.stx-pick .fi{padding:8px 10px;font-size:14px}
.stx-tiles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:12px 0 0}
.stx-tile{background:#fff;border:1px solid var(--line);border-radius:12px;padding:10px 12px;min-width:0}
.stx-tile .k{font-size:12px;color:var(--sub)}
.stx-tile .v{font-size:20px;font-weight:700;margin-top:2px;overflow-wrap:anywhere}
.stx-tile .y{font-size:11.5px;color:var(--sub);margin-top:3px}
.stx-d{font-weight:700;color:var(--sub)}
.stx-d.up{color:var(--up)}
.stx-d.dn{color:var(--dn)}
.stx-note{margin:8px 4px 0;font-size:12px;color:var(--sub)}
.stx .sec.stx-sec{margin:12px 0 0}
.stx-tw{overflow-x:auto}
.stx-t{width:100%;border-collapse:collapse;font-size:13px}
.stx-t th{text-align:left;font-weight:600;color:var(--sub);font-size:12px;padding:8px 10px;background:#f8f9fb;border-bottom:1px solid var(--line);white-space:nowrap}
.stx-t td{padding:8px 10px;border-bottom:1px solid #eef0f3;white-space:nowrap;vertical-align:top}
.stx-t .num{text-align:right}
.stx-t td small{display:block;color:var(--sub);font-size:11px;margin-top:1px}
.stx-t tr.cur td{background:#fbfcf8}
.stx-cur{color:var(--g)!important}
.stx-chart-w{padding:10px 10px 12px}
.stx-metric{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:8px}
.stx-chart{display:flex;align-items:stretch;gap:4px;height:180px;border-bottom:1px solid var(--line);padding-top:4px}
.stx-col{flex:1 1 0;min-width:0;display:flex;flex-direction:column;align-items:center}
.stx-v{font-size:10px;color:var(--sub);height:14px;white-space:nowrap;overflow:hidden;max-width:100%}
.stx-pair{flex:1;width:100%;display:flex;align-items:flex-end;justify-content:center;gap:2px}
.stx-bar{width:62%;max-width:28px;background:var(--g);border-radius:3px 3px 0 0;min-height:1px}
.stx-pair .stx-bar.ghost{background:#cfd6de;width:34%;max-width:14px}
.stx-col.cur .stx-bar:not(.ghost){opacity:.6}
.stx-l{font-size:10.5px;color:var(--sub);margin-top:4px;white-space:nowrap}
.stx-legend{display:flex;align-items:center;gap:6px;font-size:11.5px;color:var(--sub);margin-top:8px}
.stx-legend .sw{display:inline-block;width:10px;height:10px;border-radius:2px;background:var(--g)}
.stx-legend .sw.ghost{background:#cfd6de}
.stx-reg td.share{min-width:110px}
.stx-rb{display:inline-block;width:70px;height:8px;background:#eef1f5;border-radius:4px;vertical-align:middle;margin-right:6px;overflow:hidden}
.stx-rb i{display:block;height:100%;background:var(--g)}
.stx-reg td.share small{display:inline;margin:0}
.dk-stats{max-width:1100px;margin:0 auto;width:100%;padding:12px 32px 40px}
.stx-w .stx-tiles{grid-template-columns:repeat(4,minmax(0,1fr))}
.stx-w .stx-bar-row{max-width:560px}
.stx-w .stx-seg{max-width:360px}
.stx-w .stx-chart{height:220px}
.stx-w .stx-t{font-size:14px}
@media (max-width:380px){.stx-tile .v{font-size:17px}.stx-v{display:none}}
