.balance-summary,.balance-status-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;margin-bottom:1.25rem}.balance-summary article,.balance-status-grid article{background:var(--surface,#fff);border:1px solid var(--border,#d8ded9);border-radius:14px;padding:1.15rem;display:flex;flex-direction:column;gap:.25rem}.balance-summary strong{font-size:1.65rem}.balance-summary span,.balance-summary small,.balance-import-history small{color:var(--muted,#62706a)}.balance-layout{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(18rem,.8fr);gap:1.25rem;margin-bottom:1.25rem}.balance-upload{display:grid;gap:.75rem;margin-top:1.25rem}.balance-upload input[type=file]{border:1px dashed #9aa8a0;border-radius:10px;padding:1rem;background:#f8faf8}.balance-upload button{justify-self:start}.balance-import-history{list-style:none;padding:0;margin:0}.balance-import-history li{display:flex;justify-content:space-between;gap:1rem;padding:.8rem 0;border-bottom:1px solid #dfe5e1}.balance-import-history li div{display:grid}.numeric{text-align:right}.balance-preview-head,.balance-confirm{display:flex;justify-content:space-between;align-items:center;gap:1rem;margin-bottom:1.25rem}.balance-status-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.balance-status-grid strong{font-size:1.6rem}.balance-status-grid .matched{border-top:4px solid #2f7d4a}.balance-status-grid .suggested{border-top:4px solid #c48b15}.balance-status-grid .unmatched,.balance-status-grid .invalid{border-top:4px solid #b5443c}.balance-state{display:inline-block;border-radius:99px;padding:.25rem .55rem;font-size:.75rem;font-style:normal;text-transform:capitalize;background:#ecefed;color:#34423b}.balance-state.matched,.balance-state.confirmed{background:#e0f2e6;color:#205f37}.balance-state.suggested,.balance-state.pending{background:#fff1ca;color:#73530c}.balance-state.unmatched,.balance-state.ambiguous,.balance-state.invalid,.balance-state.failed{background:#fde5e2;color:#8b2d26}.balance-confirm{position:sticky;bottom:0;background:#fff;border:1px solid #d8ded9;border-radius:14px;padding:1rem;margin-top:1rem;box-shadow:0 -4px 16px rgba(20,35,27,.08)}.balance-confirm p{margin:.25rem 0 0}.student-balance-history .balance-history-total{display:flex;justify-content:space-between;padding:1rem;background:#f4f7f5;border-radius:10px}.student-balance-history ol{list-style:none;padding:0}.student-balance-history li{display:grid;grid-template-columns:1fr auto auto;gap:1rem;padding:.75rem 0;border-bottom:1px solid #e1e5e2}@media(max-width:800px){.balance-layout{grid-template-columns:1fr}.balance-status-grid{grid-template-columns:repeat(2,1fr)}.balance-preview-head,.balance-confirm{align-items:stretch;flex-direction:column}.balance-confirm button{width:100%}}@media(max-width:480px){.balance-summary{grid-template-columns:1fr}}
