.comparison-strip{display:flex;justify-content:space-between;gap:12px;margin:18px 0;color:#d0bfe3;font-size:12px;flex-wrap:wrap}.comparison-strip span{background:#2b213a;border:1px solid #453453;border-radius:9px;padding:11px 14px}.table-controls{flex-wrap:wrap}.table-controls .search{flex:1;min-width:230px}.table-controls select:first-of-type{margin-left:0}.filter-grid{display:grid;grid-template-columns:1.3fr repeat(4,1fr);gap:12px;padding:0 24px 8px}.filter-grid label{font-size:11px;color:#c7b3db;min-width:0}.filter-grid input,.filter-grid select,.pagination select{width:100%;background:#1b1525;border:1px solid #513c67;border-radius:8px;color:#e4d5f2;padding:10px 8px;margin-top:6px;min-height:40px}.filter-grid input:disabled{opacity:.6}.inline-error{color:#ffbdba;margin:6px 24px;font-size:12px;min-height:8px}.table-footer{align-items:center;gap:12px;flex-wrap:wrap}.pagination{display:flex;align-items:center;gap:10px;font-size:12px;color:#d8c5e8}.pagination label{display:flex;align-items:center;gap:7px}.pagination select{width:auto;margin:0}.pagination button{background:#3a2c50;color:#e2cfff;border:1px solid #614879;border-radius:8px;width:38px;height:40px;font-size:22px}button:disabled{opacity:.4;cursor:default}.payment-detail{display:block;color:#b9a7c9;font-size:10px;margin-top:7px}.income-amount{color:#9ae4c7!important}.planning-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin:24px 0}.panel-body{padding:10px 24px 22px;max-height:440px;overflow:auto}.panel-body>.subtle{line-height:1.9;font-size:12px}.budget-item{padding:15px 0;border-bottom:1px solid #40304e}.budget-item>div{display:flex;align-items:center;justify-content:space-between}.budget-item strong,.template-item strong{font-size:13px;color:#edddfb}.budget-item p,.template-item p{font-size:11px;color:#c6b3d7;line-height:1.7}.budget-item progress{width:100%;height:7px;accent-color:#ae8bdf}.over-budget{color:#ffb9ae}.template-item{padding:15px 0;border-bottom:1px solid #40304e;display:flex;justify-content:space-between;gap:12px}.template-item small{color:#c4a5db;font-size:11px}.template-actions{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:5px;max-width:160px}.template-actions .secondary{font-size:11px;padding:8px}.tool-actions{padding:22px 24px 8px;display:flex;gap:12px;flex-wrap:wrap}.tool-hint{color:#bda7d0;font-size:11px;line-height:1.8;margin:12px 24px 24px}.list-tags{display:flex;gap:8px;flex-wrap:wrap;margin:16px 0 26px}.list-tags span{background:#3b2b4d;color:#dcc5ee;border:1px solid #614278;border-radius:8px;padding:7px 10px;font-size:12px}dialog{max-height:90dvh;overflow:auto}.icon-field{max-width:80px}.check-label{display:flex;align-items:flex-start;gap:10px;margin:20px 0;color:#d9c6e7;font-size:12px;line-height:1.7}.check-label input{width:18px;height:18px;flex-shrink:0;accent-color:#b28ae8}details{border:1px solid #554067;border-radius:9px;padding:12px;color:#ceb5e0;font-size:12px}summary{cursor:pointer;padding:3px}.notice{padding:14px 18px;background:#46322b;color:#ffdbc0;border:1px solid #85603d;border-radius:10px;font-size:12px;line-height:1.8;margin-bottom:20px}.notice[hidden]{display:none}.search input{min-height:42px}.category-content{flex-wrap:wrap}.category-list{min-width:130px}.row-actions{white-space:nowrap}#empty-state[hidden]{display:none}.install-app{bottom:16px}.toast{max-width:90vw;width:max-content;bottom:80px}
@media(max-width:1150px){.filter-grid{grid-template-columns:repeat(3,1fr)}.planning-grid{grid-template-columns:1fr}.category-list{display:block}}
@media(max-width:760px){.filter-grid{grid-template-columns:1fr 1fr;padding:0 18px 8px}.filter-grid label:first-child{grid-column:1/-1}.filter-grid input,.filter-grid select{font-size:14px;min-height:44px}.table-controls .search{width:100%;flex-basis:100%}.table-controls select{min-height:44px}.table-footer>.pagination{width:100%;justify-content:space-between}.table-footer>span{font-size:11px}.panel-body{padding:8px 18px 20px}.panel-heading .text-button{min-height:44px;white-space:nowrap}.tool-actions{padding:18px}.tool-actions button{flex:1;min-width:130px;min-height:44px}.tool-hint{margin:0 18px 20px}.comparison-strip{gap:8px}.comparison-strip span{width:100%;line-height:1.6;font-size:11px}.template-item{flex-direction:column}.template-actions{max-width:none;justify-content:flex-start}.template-actions button{min-height:40px}.category-list{min-width:120px}.panel-heading p{line-height:1.7}#restore-dialog .dialog-actions{flex-wrap:wrap}}
.template-actions .danger-button{color:#ffb4b4;min-height:40px;padding:8px;border-radius:6px}.template-actions .danger-button:hover{background:#5b2e40}
.app-update-banner{position:fixed;bottom:18px;left:50%;transform:translateX(-50%);z-index:20;display:flex;align-items:center;gap:16px;width:min(580px,calc(100% - 28px));padding:14px 18px;background:#3c2b56;border:1px solid #b89cdd;border-radius:12px;box-shadow:0 8px 30px #0007;color:#f4eaff;font-size:12px;line-height:1.7}.app-update-banner[hidden]{display:none}.app-update-banner button{border:0;border-radius:8px;padding:10px;background:#cdb5ee;color:#241633;font-weight:700;white-space:nowrap;min-height:44px}
