.budget-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,330px),1fr));gap:18px;margin:18px 0}.budget-grid .panel{min-width:0}.ring-layout{display:flex;align-items:center;gap:20px;flex-wrap:wrap}.budget-ring{width:168px;aspect-ratio:1;border-radius:50%;background:#dcd7c8;display:grid;place-items:center}.ring-center{width:74%;aspect-ratio:1;background:#fcfaf3;border-radius:50%;display:grid;align-content:center;text-align:center;color:#123431}.ring-center strong{font-size:20px}.budget-legend{flex:1;min-width:160px}.legend-btn,.budget-line{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;padding:9px 6px;margin:3px 0;overflow-wrap:anywhere}.legend-btn{background:transparent;color:inherit;text-align:left;border:0;cursor:pointer}.legend-btn[aria-pressed=true]{background:#b8a36d33}.daily-bars{display:flex;gap:3px;align-items:flex-end;height:104px;border-bottom:1px solid #bca778}.daily-bars button{flex:1;min-width:0;border:0;background:#39756d;padding:0;cursor:pointer}.budget-grid progress{display:block;width:100%;accent-color:#a47c36}.import-review{overflow:auto;max-height:460px}.import-review td,.import-review th{padding:5px;text-align:left}.import-review input,.import-review select{min-width:7em;max-width:12em}.import-review input[type=checkbox]{min-width:0}.chat-log{white-space:pre-wrap}.budget-grid h3{margin-bottom:4px}
@media(min-width:940px){.budget-grid{grid-template-columns:1.1fr 1fr}.budget-grid>.panel:nth-child(3){grid-column:2;grid-row:1}.budget-grid>.panel:nth-child(4){grid-column:1;grid-row:2}.budget-grid>.panel:nth-child(2){grid-column:2;grid-row:2}}
.day-axis{display:flex;justify-content:space-between;color:#52666b;font-size:.8rem}.import-review table{width:max-content;min-width:100%;border-collapse:collapse}.import-review th,.import-review td{white-space:nowrap;overflow-wrap:normal}.import-review input[type=text]{width:140px}.import-review input[type=date]{width:142px}.import-review input[type=number]{min-width:75px;width:85px}.import-review input[type=checkbox]{width:18px}.import-review select{min-width:100px;width:auto}
.period-bar,.stat-grid{display:flex;flex-wrap:wrap;align-items:center;gap:12px}.period-bar{margin:14px 0}.period-bar select,.period-bar input{min-height:42px;border:1px solid var(--line);border-radius:8px;padding:6px;background:white}.stat-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));align-items:stretch}.stat-grid>div{padding:12px;border-left:2px solid var(--gold);background:var(--paper)}.stat-grid strong,.stat-grid small{display:block}.stat-grid strong{margin-top:6px}.panel+.panel{margin-top:14px}
@media(max-width:620px){.import-review{overflow:visible}.import-review table,.import-review tbody,.import-review tr:not([hidden]),.import-review td{display:block;width:100%;box-sizing:border-box}.import-review tr:first-child:has(th){display:none}.import-review tr{padding:12px;border:1px solid var(--line);border-radius:12px;margin-bottom:12px}.import-review td{border:0;min-width:0}.import-review td input:not([type=checkbox]),.import-review td select{width:100%;min-width:0}.import-review td:before{display:block;font-size:12px;color:var(--muted)}.import-review td:nth-child(3):before{content:'Descrição'}.import-review td:nth-child(4):before{content:'Data'}.import-review td:nth-child(5):before{content:'Tipo'}.import-review td:nth-child(6):before{content:'Categoria'}.import-review td:nth-child(7):before{content:'Subcategoria'}.import-review td:nth-child(8):before{content:'Natureza'}.import-review td:nth-child(9):before{content:'Valor em R$'}.import-review td:nth-child(10):before{content:'Situação'}}
