.finance-workspace{display:grid;grid-template-columns:180px minmax(0,1fr);gap:20px;align-items:start}.finance-operation-menu{display:flex;flex-direction:column;gap:7px;padding-inline-end:14px;border-inline-end:1px solid var(--border,#cbdbea)}.finance-operation-menu button{text-align:right;white-space:normal}.finance-workspace form{min-width:0}.finance-workspace h3{margin:0 0 18px}.finance-method{padding:14px;border:1px solid var(--border,#cbdbea);border-radius:12px;margin:14px 0;background:var(--panel,#f5faff)}.finance-method h4{margin:0 0 10px}.finance-operation-total{display:flex;justify-content:space-between;gap:12px;padding:15px;margin:12px 0;background:var(--panel,#eaf5fb);border-radius:10px}.finance-workspace [hidden]{display:none!important}#category-editor{padding:12px;margin-top:10px;border:1px solid var(--border,#cbdbea);border-radius:10px}@media(max-width:650px){.finance-workspace{grid-template-columns:1fr}.finance-operation-menu{flex-direction:row;overflow-x:auto;border:0;padding:0}.finance-operation-menu button{min-width:130px}}
.finance-workspace .actions{display:flex;flex-wrap:wrap;gap:8px}html[data-theme=dark] .finance-method,html[data-theme=dark] .finance-operation-total{background:#20384f;border-color:#34506a}

/* Pending combined release: compact, aligned category actions. */
.finance-workspace .finance-category{min-width:0;display:grid;align-content:start;gap:8px}.finance-workspace .finance-category>.finance-category-actions{display:flex;flex-wrap:nowrap;gap:6px;margin:0}.finance-workspace .finance-category-actions>button{flex:1 1 0;min-width:0;min-height:34px;padding:6px 8px;font-size:.85rem;white-space:nowrap}.finance-workspace .finance-category #category-editor{margin-top:0}.finance-workspace .finance-category #category-editor button{margin-block-start:8px}

/* Pending combined release: compact financial entry, matching the reference. */
.finance-workspace{grid-template-columns:150px minmax(0,1fr);gap:12px}
.finance-workspace h3{margin:0 0 10px;font-size:1rem}
.finance-workspace .finance-operation-menu{gap:4px;padding-inline-end:10px}
.finance-workspace .finance-operation-menu button{min-height:32px;padding:6px 8px;font-size:.85rem;line-height:1.4}
.finance-workspace .form-grid{gap:8px 10px}
.finance-workspace label{gap:4px;font-size:.85rem}
.finance-workspace input:not([type=checkbox]),.finance-workspace select{min-width:0;min-height:34px;height:34px;padding:5px 9px;font-size:.9rem}
.finance-workspace button{min-height:32px;padding:6px 10px}
.finance-workspace .date-control{gap:5px}
.finance-workspace .finance-payment-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:10px 0}
.finance-workspace .finance-payment-grid>.finance-method{margin:0;min-width:0}
.finance-workspace .finance-payment-grid .form-grid{grid-template-columns:minmax(0,1fr);gap:6px}
.finance-workspace .finance-method{padding:10px;border-radius:8px;margin:10px 0}
.finance-workspace .finance-method h4{margin:0 0 7px;font-size:.9rem}
.finance-workspace .finance-operation-total{padding:9px 11px;margin:9px 0;border-radius:8px;font-size:.9rem}
.finance-workspace .finance-note textarea{min-height:44px;height:48px;padding:7px 9px;resize:vertical;font-size:.9rem}
.finance-workspace small,.finance-workspace .hint{font-size:.75rem;line-height:1.5}
@media(max-width:650px){.finance-workspace{grid-template-columns:1fr}.finance-workspace .finance-operation-menu{flex-direction:row;padding:0;border:0;gap:5px}.finance-workspace .finance-operation-menu button{min-width:110px}}
@media(max-width:420px){.finance-workspace .finance-payment-grid{grid-template-columns:1fr}.finance-workspace .finance-category-actions>button{font-size:.8rem}}

@media(max-width:650px){.finance-workspace .finance-operation-menu{flex-wrap:nowrap;overflow-x:auto;max-width:100%;padding-block-end:4px;scrollbar-width:thin}.finance-workspace .finance-operation-menu button{flex:0 0 auto;min-width:110px;min-height:32px}}
