.graphs-layout{max-width:1400px;margin:0 auto}.graph-tabs{display:flex;gap:8px;border-bottom:1px solid #dce5f0;margin-bottom:20px}.graph-tabs button{border:0;background:transparent;color:#60728a;font:inherit;font-weight:650;padding:14px 24px;border-bottom:3px solid transparent;cursor:pointer}.graph-tabs [aria-selected=true]{border-color:#2563eb;color:#1d4ed8}.graph-tabs button:focus-visible,.graph-detail-btn:focus-visible,.graph-ranking button:focus-visible,.graph-legend-row:focus-visible{outline:3px solid #6ca9ef;outline-offset:2px}.graph-toolbar{display:flex;align-items:flex-end;gap:16px;flex-wrap:wrap;padding:18px 22px}.graph-toolbar label,.graph-category-select{display:grid;gap:5px;font-size:12px;color:#54657b}.graph-toolbar label{flex:1;min-width:180px;max-width:310px}.graph-toolbar select,.graph-category-select select{font:inherit;font-size:14px;padding:10px;border:1px solid #d6e0eb;border-radius:8px;background:white;color:#23344d;max-width:100%;min-width:0}.graph-period{font-size:12px;color:#6b7e94;margin:0 0 7px}.graph-toolbar>.graph-period{margin-left:auto}.graph-basis{font-size:12px;color:#64748b;line-height:1.6;margin:15px 2px 22px}.graphs-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;align-items:start}.graph-wide{grid-column:1/-1}.graph-card{min-width:0;overflow:hidden}.graph-card .card-head{display:flex;justify-content:space-between;gap:12px;align-items:center;flex-wrap:wrap}.graph-card .card-head h2{font-size:16px}.graph-body{padding:6px 22px 22px}.graph-total{display:flex;justify-content:space-between;align-items:center;gap:16px;margin:0 0 22px;padding:24px}.graph-total>div{display:grid;gap:6px}.graph-total span{font-size:13px;color:#64748b}.graph-total strong{font-size:28px;font-weight:650;color:#1d4ed8}.graph-total small{color:#6b7e94}.graph-detail-btn{display:flex;align-items:center;gap:7px;border:0;background:#edf4ff;color:#1d4ed8;border-radius:8px;padding:11px 14px;font:inherit;font-size:13px;cursor:pointer}.graph-detail-btn svg,.graph-legend-row svg{width:16px;height:16px;flex-shrink:0}.graph-scroll{overflow-x:auto;-webkit-overflow-scrolling:touch}.graph-bars{width:100%;height:auto;display:block;font-size:11px;fill:#65778e}.graph-legend{display:flex;gap:16px;justify-content:center;flex-wrap:wrap;font-size:12px;color:#52637a;margin-top:6px}.graph-legend span{display:flex;gap:6px;align-items:center}.graph-legend i,.graph-legend-row>i{width:10px;height:10px;border-radius:50%;flex-shrink:0}.graph-values{margin-top:14px;font-size:12px;color:#475c78}.graph-values summary{cursor:pointer}.graph-values table{margin-top:12px}.graph-values td,.graph-values th,.graph-detail td{white-space:normal;overflow-wrap:anywhere}.graph-donut{display:grid;grid-template-columns:minmax(150px,200px) minmax(0,1fr);align-items:center;gap:18px}.graph-ring{position:relative}.graph-ring svg{width:100%;display:block}.graph-ring>div{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:center;align-items:center;pointer-events:none;gap:4px}.graph-ring strong{font-size:clamp(13px,1.2vw,18px);max-width:75%;overflow-wrap:anywhere;text-align:center}.graph-ring small{color:#718198;font-size:12px}.graph-legend-list{max-height:280px;overflow:auto}.graph-legend-row{border:0;border-bottom:1px solid #edf1f7;background:none;display:flex;width:100%;gap:9px;align-items:center;text-align:left;padding:12px 0;cursor:pointer;color:#334155;font:inherit;font-size:12px}.graph-legend-row>span{flex:1;overflow-wrap:anywhere}.graph-legend-row small{display:block;color:#74839a;margin-top:3px}.graph-legend-row strong{white-space:nowrap;font-size:12px}.graph-ranking{max-height:330px;overflow:auto}.graph-ranking button{display:grid;grid-template-columns:minmax(80px,1fr) minmax(50px,1.1fr) minmax(80px,auto) 44px;align-items:center;gap:12px;width:100%;background:none;border:0;border-radius:5px;cursor:pointer;text-align:left;color:#42546e;padding:12px 2px;font:inherit;font-size:12px}.graph-ranking button:hover,.graph-legend-row:hover{background:#f4f8fd}.graph-rank-label{overflow-wrap:anywhere}.graph-rank-track{height:12px;background:#eef3fa;border-radius:3px}.graph-rank-track i{height:100%;display:block;border-radius:3px}.graph-ranking strong{text-align:right}.graph-ranking small{text-align:right;color:#708097}.graph-note{font-size:11px;line-height:1.65;color:#6b7b92;margin:15px 0 0}.graph-empty{padding:35px 12px;text-align:center;color:#72839b;font-size:13px}.graph-indicators{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}.graph-indicators>div{background:#f5f8fc;border-radius:10px;padding:18px;min-width:0}.graph-indicators small{color:#607089;font-size:12px}.graph-indicators strong{display:block;font-size:25px;color:#245ca6;margin:12px 0;overflow-wrap:anywhere}.graph-indicators p{font-size:11px;color:#708097;line-height:1.6;margin:0}.graph-detail{width:min(900px,90vw);max-width:100%}#modal:has(.graph-detail){max-width:1000px}.graph-category-select{max-width:220px}.graphs-page #new-transaction{display:none}@media(max-width:1150px){.graph-donut{grid-template-columns:1fr}.graph-ring{max-width:220px;width:100%;margin:auto}.graph-ring strong{font-size:18px}.graph-indicators{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:800px){.graphs-grid{grid-template-columns:1fr;gap:16px}.graph-body{padding:4px 16px 18px}.graph-tabs button{flex:1;padding:12px;font-size:14px}.graph-toolbar{padding:16px;gap:12px}.graph-toolbar label{min-width:130px}.graph-toolbar>.graph-period{margin-left:0}.graph-total{padding:18px;flex-wrap:wrap}.graph-total strong{font-size:26px}.graph-indicators{gap:10px}.graph-indicators>div{padding:14px}.graph-indicators strong{font-size:21px}.graph-ranking button{gap:8px;grid-template-columns:minmax(64px,1fr) minmax(25px,.7fr) auto 38px}.graph-donut{grid-template-columns:1fr}.graph-detail{width:100%}}
