.budget-section-heading,.budget-entry-heading,.budget-values,.budget-bottom,.budget-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px}
.budget-section-heading{align-items:flex-start;margin-bottom:14px}.budget-section-heading p{font-size:12px;margin-top:5px;text-transform:capitalize}.budget-section-heading .text-button{white-space:nowrap;min-height:36px}
.budget-overview-list{display:grid;gap:0}.budget-entry{display:block;width:100%;min-width:0;text-align:left;background:white;border:1px solid var(--line);border-radius:17px;padding:22px;color:inherit;font:inherit;cursor:pointer}.budget-entry:hover{border-color:#bca8de;background:#fdfbff}.budget-entry:focus-visible{outline:3px solid #bca8de;outline-offset:3px}.budget-entry-heading{font-size:16px;line-height:1.5}.budget-entry-heading>strong{overflow-wrap:anywhere}.budget-entry-heading>span{flex:none;color:var(--violet)}.budget-period-note{display:block;font-size:11px;line-height:1.6;color:var(--muted);margin-top:5px}.budget-values{align-items:baseline;justify-content:flex-start;flex-wrap:wrap;gap:5px 8px;font-size:12px;line-height:1.5;margin-top:17px}.budget-values>strong{font-size:19px;letter-spacing:-.3px}.budget-values>span{color:var(--muted)}.budget-track{height:8px;background:#efebf5;border-radius:8px;overflow:hidden;margin:12px 0 9px}.budget-track>span{display:block;height:100%;border-radius:inherit;background:#9d83cf}.budget-over>span{background:#c78369}.budget-incomplete{background:repeating-linear-gradient(135deg,#eee8f4,#eee8f4 6px,#f8f5fb 6px,#f8f5fb 12px)}.budget-bottom{font-size:12px;line-height:1.6;color:var(--muted)}.budget-bottom>strong{color:#655775;font-size:12px}.budget-compact{padding:16px 0;border:0;border-bottom:1px solid var(--line);border-radius:0}.budget-compact:last-child{border-bottom:0}.budget-compact .budget-entry-heading{font-size:14px}.budget-compact .budget-values{margin-top:12px}.budget-compact .budget-values>strong{font-size:17px}.budget-all{margin-top:15px;min-height:35px}.budget-warning{font-size:12px;line-height:1.6;color:#83613f;padding:12px 14px;border:1px solid #efe1c9;border-radius:11px;background:#fffaf2;margin:14px 0}.budget-empty{text-align:center;padding:28px 12px;color:var(--muted);font-size:13px;line-height:1.7}.budget-empty h2,.budget-empty>strong{color:#54445f}.budget-empty p{max-width:380px;margin:10px auto 18px}.budget-empty-icon{display:block;font-size:35px;color:#ac91ce;margin-bottom:8px}.budget-back{margin-bottom:22px;min-height:35px}.budget-toolbar{margin:0 0 24px;align-items:flex-end}.budget-month-field{margin:0;width:210px;max-width:50%}.budget-toolbar>.button{min-height:48px}.budget-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.budget-error{border:1px solid #efd6da;background:#fff6f7;border-radius:12px;padding:15px;margin:12px 0;color:#974c58;font-size:13px;line-height:1.6}.budget-error p{margin:0}.budget-detail-actions{display:flex;gap:16px;align-items:center;flex-wrap:wrap;margin:24px 0}.budget-danger{color:#a55c62}.budget-delete-confirm{background:#a45b64}.budget-delete-confirm:hover{background:#934b54}.budget-transactions-title{display:flex;gap:8px;align-items:center;font-size:15px;margin-top:26px}.budget-transactions-title>span{font-size:12px;color:var(--muted);font-weight:400}.budget-detail>.small-note{margin:10px 0 16px}.budget-transaction{margin:0;border:0;border-top:1px solid var(--line);border-radius:0;padding:0}.budget-transaction>summary{display:flex;align-items:center;justify-content:space-between;gap:14px;list-style:none;padding:16px 0;cursor:pointer}.budget-transaction>summary::-webkit-details-marker{display:none}.budget-transaction-copy{flex:1;min-width:0}.budget-transaction strong{font-size:13px;line-height:1.5;display:block;overflow-wrap:anywhere}.budget-transaction small{display:block;font-size:11px;line-height:1.6;color:var(--muted);margin-top:4px}.budget-transaction-amount{text-align:right;max-width:48%}.budget-conversion{background:#f7f4fb;border-radius:11px;padding:12px 15px;font-size:12px;line-height:1.7;margin:0 0 14px;overflow-wrap:anywhere}.budget-conversion p{margin:5px 0}.budget-conversion .tag{white-space:normal}.budget-detail .budget-warning{margin-bottom:20px}#budget-form .small-note{margin:0 0 18px}#budget-delete-form>.quiet{font-size:13px;line-height:1.6;margin-top:12px}#budget-form-error[hidden]{display:none}
@media(max-width:720px){.budget-grid{grid-template-columns:1fr;gap:12px}.budget-entry{padding:19px}.budget-compact{padding:16px 0}.budget-toolbar{gap:12px}.budget-month-field{width:170px}.budget-toolbar>.button{font-size:12px;padding:12px;min-height:47px}.budget-values>strong{font-size:20px}.budget-back{margin-bottom:14px}.budget-transaction>summary{gap:10px}.budget-transaction strong{font-size:12px}.budget-transaction small{font-size:10px}.budget-section-heading{gap:8px}.budget-section-heading .text-button{font-size:12px}.budget-detail-actions{gap:14px}}
@media(max-width:360px){.budget-toolbar{align-items:stretch;flex-direction:column}.budget-month-field{width:100%;max-width:100%}.budget-transaction>summary{flex-wrap:wrap}.budget-transaction-amount{max-width:100%;text-align:left}.budget-bottom{align-items:flex-start}.budget-bottom>strong{white-space:nowrap}.budget-section-heading{flex-wrap:wrap}}
