.cp-panel{padding:24px}.cp-controls{margin:18px 0}.cp-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border:1px solid var(--line);border-radius:16px;margin:18px 0;overflow:hidden}.cp-kpi{display:flex;flex-direction:column;gap:8px;padding:17px 18px;border-right:1px solid var(--line);min-width:0}.cp-kpi:last-child{border:0}.cp-kpi>b{font-size:25px;letter-spacing:-.6px}.cp-kpi>span:last-child{line-height:1.6}.cp-method{font-size:12px;color:var(--muted);margin:12px 0}.cp-method summary{cursor:pointer}.cp-method p{margin-top:10px;line-height:1.6}.cp-table-wrap{overflow:auto}.cp-table{width:100%;border-collapse:collapse;font-size:14px}.cp-table th{text-align:left;font-size:11px;letter-spacing:.02em;color:var(--muted);padding:13px 12px;white-space:nowrap}.cp-table td{padding:17px 12px;border-top:1px solid var(--line);vertical-align:middle}.cp-table td:first-child{min-width:140px}.cp-table .tiny{margin-top:5px}.cp-table td:not(:first-child){white-space:nowrap}.cp-rate{font-size:19px}.cp-spark{display:block;width:135px;height:32px;color:var(--accent,#a95078);fill:currentColor;margin-top:8px}.cp-warn{color:#ad741e}.cp-note{margin-top:16px;line-height:1.6}.cp-detail h3{margin:24px 0 10px}.cp-compare{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:16px 0}.cp-compare>div{display:flex;flex-direction:column;gap:8px;border:1px solid var(--line);border-radius:12px;padding:14px}.cp-compare span,.cp-compare small{font-size:12px;color:var(--muted)}.cp-compare b{font-size:17px}.cp-large-spark{padding:12px;border:1px solid var(--line);border-radius:14px}.cp-large-spark .cp-spark{width:100%;height:110px}.cp-days{height:100px;display:flex;align-items:flex-end;gap:4px;padding-top:12px}.cp-days>div{flex:1;min-width:0;display:flex;flex-direction:column;align-items:center;gap:6px}.cp-days span{display:block;width:100%;max-width:25px;background:var(--accent,#b66b8c);border-radius:4px 4px 0 0}.cp-days .empty{background:var(--line)}.cp-days .negative{background:var(--danger)}.cp-days small{font-size:9px;color:var(--muted)}.cp-history>div{display:flex;justify-content:space-between;gap:12px;padding:13px 0;border-top:1px solid var(--line)}.cp-history span{display:flex;flex-direction:column;gap:6px}.cp-history small{font-size:12px;color:var(--muted)}.cp-history span:last-child{text-align:right}@media(max-width:1050px){.cp-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.cp-kpi{border-bottom:1px solid var(--line)}.cp-kpi:nth-child(2){border-right:0}}@media(max-width:600px){.cp-panel{padding:16px}.cp-compare{grid-template-columns:1fr}.cp-kpi{padding:14px}.cp-kpi>b{font-size:20px}.cp-table td,.cp-table th{padding:12px 8px}}
.cp-compare .forecast-good{color:var(--ok)}.cp-compare .forecast-bad{color:var(--danger)}

.cp-table td .tiny{white-space:normal;max-width:180px}.cp-table .cp-spark{width:120px}
