:root{--budget-accent:#ae7480;--budget-soft:#fcf7f8;--budget-text:#32312d;--budget-muted:#85848a;--budget-line:#e2dcd7;--budget-line-soft:#f0ece8;--budget-page:#f6f3ef;--budget-olive:#849168;--budget-shadow:0 12px 30px rgba(72,63,56,.045)}
.budget-shell{min-height:calc(100vh - 86px);color:var(--budget-text);font-family:Arial,sans-serif;background:var(--budget-page)}
.budget-shell *{box-sizing:border-box}.budget-shell input{font:inherit}
.budget-hero{position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:17px;align-items:center;padding:28px 2.7% 20px;overflow:hidden;border-bottom:1px solid #e8e1df;background:radial-gradient(circle at 78% -35%,rgba(176,116,128,.09) 0 170px,transparent 171px),linear-gradient(100deg,#fff 0%,#fcf9fa 100%)}
.budget-eyebrow{margin:0 0 14px;color:#7d8866;font-size:10px;font-weight:750;letter-spacing:.14em;text-transform:uppercase}
.budget-title-row{display:grid;grid-template-columns:60px minmax(0,1fr);align-items:center;gap:17px}.budget-title-icon{width:56px;height:56px;display:grid;place-items:center;border:1px solid #ead6da;border-radius:16px;background:#fcf7f8;color:#ae7580;font:400 24px Georgia,serif}
.budget-title-row h1,.budget-section-head h2,.budget-tags h2,.budget-category h3{font-family:Georgia,"Times New Roman",serif}.budget-title-row h1{margin:0;font:400 clamp(36px,3.25vw,52px)/1 Georgia,serif;letter-spacing:-.04em}.budget-title-row p{margin:12px 0 0;color:var(--budget-muted);font-size:12px}
.budget-hero-total{text-align:right;z-index:1}.budget-hero-total span{display:block;color:#89878d;font-size:11px;font-weight:700}.budget-hero-total strong{display:block;margin-top:8px;color:#af7480;font:400 clamp(44px,4.2vw,64px)/.78 Georgia,serif}
.budget-content{width:min(90.8%,1610px);margin:0 auto;padding:20px 0 60px}.budget-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 18px;border:1px solid #e4ded9;border-radius:20px;background:#fff}
.budget-toolbar>div{display:flex;align-items:center;flex-wrap:wrap;gap:8px}
.budget-button{height:44px;min-height:44px;display:flex;align-items:center;justify-content:center;gap:7px;padding:0 14px;border:1px solid #e4ded9;border-radius:13px;background:#fff;color:#37373a;font:750 10px/1 Arial,sans-serif;white-space:nowrap;cursor:pointer}
.budget-button b{font:400 18px/1 Arial,sans-serif}
.budget-primary{border:0;background:#849168;color:#fff}
.budget-primary:hover{background:#849168}
.budget-toolbar>.budget-quiet{width:44px;padding:0;color:#66734e;font-size:20px;font-weight:400}
.budget-button:hover:not(.budget-primary){background:#f4f4ef}
.budget-overview{display:grid;grid-template-columns:minmax(0,1.4fr) repeat(4,minmax(135px,.52fr));gap:12px;margin:20px 0}.budget-main,.budget-metric{border:1px solid var(--budget-line);border-radius:20px;background:#fff;box-shadow:var(--budget-shadow)}.budget-main{padding:18px 24px}.budget-main-top{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}.budget-total-block>span{color:#81818a;font-size:11px;font-weight:700}.budget-total-value{display:flex;align-items:center;gap:8px;margin-top:10px}.budget-total-value b{color:var(--budget-muted);font:400 25px Georgia,serif}.budget-total-value strong{font:500 30px Georgia,serif}.budget-config{display:grid;grid-template-columns:1fr 1fr;gap:10px;min-width:280px}.budget-setting{display:grid;gap:6px}.budget-setting>span{color:#81818a;font-size:9px;font-weight:700}.budget-setting-control{height:42px;display:flex;align-items:center;gap:8px;padding:0 10px;border:1px solid #ebe3dd;border-radius:12px;background:#fdfcfb;transition:border-color .18s ease,box-shadow .18s ease,background .18s ease}.budget-setting-control:focus-within{border-color:#c7b8ae;background:#fff;box-shadow:0 0 0 3px rgba(183,119,131,.08)}.budget-setting-control>i{width:22px;height:22px;display:grid;place-items:center;flex:0 0 22px;border-radius:7px;background:#f5efec;color:#a97880;font:600 12px Georgia,serif}.budget-setting-control select,.budget-setting-control input{min-width:0;height:auto;padding:0;border:0;outline:0;background:transparent;color:#4b4946;font:600 11px/1 Arial,sans-serif}.budget-setting-control select{width:100%;cursor:pointer}.budget-setting-control input{width:62px}.budget-setting-control small{margin-left:auto;color:#98928d;font-size:8px}.budget-progress{height:6px;margin-top:17px;overflow:hidden;border-radius:99px;background:#eee9e9}.budget-progress i{display:block;height:100%;width:0;border-radius:inherit;background:linear-gradient(90deg,#ae6f7b,#c89aa3)}.budget-progress-meta{display:flex;justify-content:space-between;gap:12px;margin-top:7px;color:#898991;font-size:9px}.budget-metric{min-height:86px;display:flex;flex-direction:column;justify-content:center;padding:18px 20px}.budget-metric span{color:#81818a;font-size:10px;font-weight:700}.budget-metric strong{margin-top:8px;font:500 22px/1 Georgia,serif}.budget-metric small{margin-top:8px;color:#898991;font-size:8px}
.budget-analysis{margin-bottom:18px;padding:13px 15px;border:1px solid #e4ded9;border-radius:14px;color:#898991;background:#fff;font-size:11px}.budget-workspace{display:grid;grid-template-columns:220px minmax(0,1fr);gap:18px;align-items:start}.budget-tags{position:sticky;top:14px;padding:15px;border:1px solid var(--budget-line);border-radius:20px;background:#fff;box-shadow:var(--budget-shadow)}.budget-tags-head{display:flex;align-items:center;justify-content:space-between}.budget-tags h2{margin:0;font-size:19px;font-weight:500}.budget-tags-head button{width:32px;height:32px;border:1px solid #ebe4df;border-radius:50%;background:#fff;color:#87936d;font-size:17px;cursor:pointer}.budget-tags [data-budget-tags]{display:grid;gap:8px;margin-top:12px}.budget-tag{width:100%;display:flex;align-items:center;justify-content:space-between;padding:9px 10px;border:1px solid #ebe4df;border-radius:11px;background:#fff;color:inherit;font-size:10px;font-weight:700;text-align:left;cursor:pointer}.budget-tag i{width:13px;height:10px;clip-path:polygon(0 0,72% 0,100% 50%,72% 100%,0 100%);background:var(--tag)}.budget-tag span{display:flex;align-items:center;gap:8px}.budget-tag b{color:#898991;font-size:9px}.budget-tags p{margin:12px 0 0;color:#898991;font-size:8px;line-height:1.45}
.budget-items{min-width:0}.budget-package-drag-hint{display:block;margin-top:7px;color:#9a948e;font-size:9px;line-height:1.4}.budget-section-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 2px 11px}.budget-section-head h2{margin:0;font-size:19px;font-weight:500}.budget-section-head p{margin:5px 0 0;color:#898991;font-size:10px}.budget-search{height:44px;display:flex;align-items:center;gap:8px;min-width:260px;padding:0 12px;border:1px solid #ebe6e1;border-radius:13px;background:#fff}.budget-search input{width:100%;height:32px;border:0;outline:0;color:#555;background:#fff;font-size:10px}
.budget-categories{display:grid;gap:18px}.budget-category{overflow:hidden;border:1px solid var(--budget-line);border-radius:20px;background:#fff;box-shadow:var(--budget-shadow)}.budget-category>header{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:15px;padding:20px;cursor:pointer}.budget-category-title{display:flex;align-items:center;gap:15px;min-width:0}.budget-category-icon{width:45px;height:45px;display:grid;place-items:center;flex:0 0 45px;border:1px solid #ead6da;border-radius:13px;color:#ae7580;background:#fcf7f8;font-size:19px}.budget-category h3{margin:0;font-size:19px;font-weight:500;line-height:1.1}.budget-category-title p{margin:7px 0 0;color:#898991;font-size:9px}.budget-category-actions{display:flex;align-items:center;gap:6px}.budget-category-actions button{min-height:32px;padding:0 10px;border:1px solid #ebe4df;border-radius:9px;background:#fff;color:#66734e;font-size:8px;font-weight:750;cursor:pointer}.budget-chevron{width:32px;padding:0;border-radius:50%;font-size:15px}
.budget-category-summary{display:grid;grid-template-columns:repeat(3,1fr);margin:0 20px 14px;overflow:hidden;border:1px solid #e6dfda;border-radius:12px;background:#e6dfda;gap:1px}.budget-category-summary div{padding:11px 12px;text-align:center;background:#fff}.budget-category-summary span{display:block;color:#81818a;font-size:7px;font-weight:700}.budget-category-summary strong{display:block;margin-top:5px;font:500 16px Georgia,serif}.budget-category-body{display:none}.budget-category.open .budget-category-body{display:block}.budget-item-list{padding:0 20px 14px}.budget-item{min-height:61px;display:grid;grid-template-columns:minmax(0,1.35fr) repeat(4,minmax(88px,.5fr)) auto;align-items:center;gap:10px;border-top:1px solid var(--budget-line-soft)}.budget-item[draggable="true"]{cursor:grab}.budget-item[draggable="true"]:active{cursor:grabbing}.budget-item.is-dragging{opacity:.46}.budget-item-main{min-width:0;padding:10px 0}.budget-item-main>strong{display:block;color:#55545a;font-size:12px;font-weight:600}.budget-item-main small{display:block;margin-top:7px;color:#898991;font-size:9px}.budget-item-tags{display:flex;flex-wrap:wrap;gap:4px;margin-top:6px}.budget-item-tag{padding:3px 6px;border-radius:999px;color:#fff;background:var(--tag);font-size:7px;font-weight:750}.budget-item-value{text-align:right}.budget-item-value span{display:block;color:#81818a;font-size:7px;font-weight:700}.budget-item-value strong{display:block;margin-top:4px;color:#55545a;font-size:10px}.budget-item-actions{display:flex;align-items:center;justify-content:flex-end;gap:6px}.budget-item-drag{display:grid;place-items:center;width:24px;height:34px;color:#aaa39c;font-size:14px;letter-spacing:-3px;cursor:grab}.budget-item-group{min-height:34px;padding:0 11px;border:1px solid #dfe5d4;border-radius:10px;background:#f8faf5;color:#66734e;font-size:9px;font-weight:750;cursor:pointer}.budget-item-group:hover{border-color:#cbd4bd;background:#f1f5eb}.budget-item-action{width:38px;height:38px;border:1px solid #ebe4df;border-radius:50%;color:#b16f7c;background:#fff;font-size:18px;cursor:pointer}.budget-read-state{margin:12px 0 0;color:#9b9690;font-size:9px;text-align:right}.budget-empty{padding:24px;color:#837d76;font-size:10px;text-align:center}
.budget-dialog{width:min(560px,calc(100% - 28px));padding:0;border:0;border-radius:20px;background:#fff;color:#383531;font-family:Arial,sans-serif;box-shadow:0 28px 80px rgba(45,38,33,.22)}
.budget-dialog::backdrop{background:rgba(48,42,38,.28);backdrop-filter:blur(4px)}
.budget-dialog-frame{margin:0}
.budget-dialog header{display:flex;align-items:flex-start;justify-content:space-between;padding:24px 24px 18px}
.budget-dialog header span{color:#778263;font-size:10px;font-weight:800;letter-spacing:.15em}
.budget-dialog h2{margin:4px 0 0;font:500 29px Georgia,serif}
.budget-dialog header button{width:34px;height:34px;border:0;border-radius:50%;background:#f4f1ed;color:#383531;cursor:pointer}
.budget-dialog-body{max-height:58dvh;padding:0 24px 18px;overflow:auto}
.budget-dialog footer{display:flex;justify-content:flex-end;gap:8px;padding:12px 24px 20px;border-top:1px solid #f0ece8}
.budget-dialog footer button{min-height:42px;padding:0 15px;border:1px solid #e2ddd7;border-radius:11px;background:#fff;color:#383531;font-size:11px;cursor:pointer}
.budget-dialog footer .budget-save{border-color:#778263;background:#778263;color:#fff}
.budget-form-field{display:grid;gap:7px;margin:13px 0 0}
.budget-form-field:first-child{margin-top:0}
.budget-form-field>span{color:#383531;font-size:10px;font-weight:700}
.budget-form-field input:not([type="checkbox"]):not([type="radio"]),.budget-form-field select,.budget-form-field textarea{box-sizing:border-box;width:100%;border:1px solid #dfd9d2;border-radius:11px;background:#fff;color:#383531;font:13px Arial,sans-serif;outline:0}
.budget-form-field input:not([type="checkbox"]):not([type="radio"]),.budget-form-field select{height:42px;padding:0 11px}
.budget-form-field textarea{min-height:72px;padding:10px 11px;resize:vertical;line-height:1.4}
.budget-icon-picker{display:grid;gap:10px}
.budget-icon-current{display:flex;align-items:center;gap:11px;padding:10px 12px;border:1px solid #e2ddd7;border-radius:12px;background:#fbfaf8}
.budget-icon-current>span{width:42px;height:42px;display:grid;place-items:center;flex:0 0 42px;border:1px solid #e2ddd7;border-radius:11px;background:#fff;font-size:21px}
.budget-icon-current strong{display:block;color:#55545a;font-size:11px}
.budget-icon-current small{display:block;margin-top:3px;color:#918b85;font-size:9px}
.budget-icon-grid{max-height:245px;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:7px;overflow:auto;padding:2px 3px 2px 1px;scrollbar-width:thin}
.budget-icon-grid button{min-width:0;min-height:62px;display:grid;place-items:center;gap:3px;padding:7px 4px;border:1px solid #e7e1dc;border-radius:11px;background:#fff;color:#55545a;cursor:pointer;transition:border-color .16s ease,background .16s ease,box-shadow .16s ease,transform .16s ease}
.budget-icon-grid button:hover{border-color:#cfd7c3;background:#fafbf8;transform:translateY(-1px)}
.budget-icon-grid button.is-selected{border-color:#99a681;background:#f4f7ef;box-shadow:0 0 0 3px rgba(127,137,98,.09)}
.budget-icon-grid button>span{font-size:20px;line-height:1}
.budget-icon-grid button>small{max-width:100%;overflow:hidden;color:#827d77;font-size:7px;line-height:1.15;text-overflow:ellipsis;white-space:nowrap}
.budget-form-field input:focus,.budget-form-field select:focus,.budget-form-field textarea:focus{border-color:#9aa47b;box-shadow:0 0 0 3px rgba(127,137,98,.1)}
.budget-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.budget-tag-picker{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.budget-tag-picker label{min-height:52px;display:flex;align-items:center;gap:10px;padding:10px 12px;border:1px solid #e6dfda;border-radius:12px;background:#fff;cursor:pointer;transition:border-color .18s ease,background .18s ease,box-shadow .18s ease}
.budget-tag-picker label:hover{border-color:#d5dacb;background:#fcfcfa}
.budget-tag-picker input[type="checkbox"]{flex:0 0 16px;width:16px;height:16px;margin:0;padding:0;accent-color:#849168}
.budget-tag-picker i{flex:0 0 10px;width:10px;height:10px;border-radius:50%;background:var(--tag)}
.budget-tag-picker label span{min-width:0;color:#55545a;font-size:11px;font-weight:600;line-height:1.3}
.budget-tag-picker label:has(input:checked){border-color:#cfd7c3;background:#f7f9f3;box-shadow:0 0 0 3px rgba(127,137,98,.08)}
.budget-package-concepts{margin-top:13px;padding:12px;border:1px solid #e4ded9;border-radius:14px;background:#fbfaf8}
.budget-package-concepts>header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 0 10px}
.budget-package-concepts>header>div{display:flex;align-items:center;gap:9px;min-width:0}
.budget-package-concepts-icon{width:30px;height:30px;display:grid;place-items:center;flex:0 0 30px;border-radius:9px;background:#eef1e8;color:#697553;font-size:16px}
.budget-package-concepts header b{display:block;color:#55545a;font-size:12px;font-weight:600}
.budget-package-concepts header small{display:block;margin-top:4px;color:#898991;font-size:9px;font-weight:400}
.budget-package-concepts header>strong{flex:0 0 auto;color:#66734e;font-size:9px;font-weight:700}
.budget-package-picker{max-height:184px;display:grid;gap:5px;overflow:auto;padding:1px 3px 1px 1px;scrollbar-width:thin}
.budget-package-picker label{min-height:46px;display:grid;grid-template-columns:17px minmax(0,1fr) auto;align-items:center;gap:10px;margin:0;padding:7px 10px;border:1px solid #e8e3de;border-radius:10px;background:#fff;cursor:pointer}
.budget-package-picker label:hover{border-color:#d5dacb;background:#fcfcfa}
.budget-package-picker input[type="checkbox"]{position:absolute;opacity:0;pointer-events:none}
.budget-package-check{width:17px;height:17px;display:grid;place-items:center;border:1px solid #d4c9c7;border-radius:6px;background:#fff}
.budget-package-picker input:checked+.budget-package-check{border-color:#849168;background:#849168}
.budget-package-picker input:checked+.budget-package-check::after{content:"✓";color:#fff;font-size:11px;font-weight:800;line-height:1}
.budget-package-picker label:has(input:checked){border-color:#d7ddca;background:#f7f9f3}
.budget-package-concept-copy{min-width:0}
.budget-package-concept-copy b{display:block;overflow:hidden;color:#55545a;font-size:12px;font-weight:600;line-height:1.25;text-overflow:ellipsis;white-space:nowrap}
.budget-package-concept-copy small{display:block;margin-top:4px;overflow:hidden;color:#898991;font-size:9px;line-height:1.2;text-overflow:ellipsis;white-space:nowrap}
.budget-package-picker label>strong{color:#55545a;font-size:10px;font-weight:600;white-space:nowrap}
.budget-packages{margin-bottom:20px}.budget-packages>[data-budget-packages]{display:grid;gap:10px}.budget-package{overflow:hidden;border:1px solid var(--budget-line);border-radius:16px;background:#fff;transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease,background .18s ease}.budget-package.is-drop-target{border-color:#9aa47b;background:#fbfcf8;box-shadow:0 0 0 3px rgba(127,137,98,.12),var(--budget-shadow);transform:translateY(-1px)}.budget-package>header{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:14px;padding:14px 16px;cursor:pointer}.budget-package>header span{color:#7d8866;font-size:9px;font-weight:800;letter-spacing:.1em}.budget-package h3{margin:3px 0 0;font:500 18px Georgia,serif}.budget-package header p{margin:5px 0 0;color:#898991;font-size:10px}.budget-package-money{text-align:right}.budget-package-money strong{display:block;font:500 17px Georgia,serif}.budget-package-money small{display:block;margin-top:4px;color:#898991;font-size:9px}.budget-package-actions{display:flex;align-items:center;gap:6px}.budget-package-actions button{min-height:32px;padding:0 10px;border:1px solid #ebe4df;border-radius:9px;background:#fff;color:#66734e;font-size:9px;font-weight:750;cursor:pointer}.budget-package-drop-hint{display:flex;align-items:center;gap:8px;margin:0 16px 10px;padding:9px 11px;border:1px dashed #cfd7c3;border-radius:11px;background:#fafbf8;color:#697553}.budget-package-drop-hint>span{font-size:13px;letter-spacing:-3px}.budget-package-drop-hint strong{font-size:9px}.budget-package-drop-hint small{margin-left:auto;color:#959087;font-size:8px}.budget-package-body{display:none;padding:0 16px 10px}.budget-package.open .budget-package-body{display:block}.budget-package-child{display:grid;grid-template-columns:18px minmax(0,1fr) auto 30px;align-items:center;gap:8px;padding:9px 0;border-top:1px solid var(--budget-line-soft)}.budget-package-child>span{color:#9ba484}.budget-package-child b{display:block;font-size:11px}.budget-package-child small{display:block;margin-top:3px;color:#898991;font-size:9px}.budget-package-child>strong{font-size:11px}.budget-package-child button{width:28px;height:28px;border:1px solid #ebe4df;border-radius:50%;background:#fff;color:#b16f7c;cursor:pointer}.budget-package-empty{display:grid;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:13px;padding:15px;border:1px dashed #d8d2ca;border-radius:15px;background:#fff}.budget-package-empty-icon{width:42px;height:42px;display:grid;place-items:center}.budget-package-empty-icon img{display:block;width:38px;height:38px;object-fit:contain}.budget-package-empty strong{display:block;font-size:12px}.budget-package-empty p{margin:4px 0 0;color:#898991;font-size:9px;line-height:1.45}.budget-package-empty button{min-height:36px;padding:0 12px;border:1px solid #778263;border-radius:10px;background:#778263;color:#fff;font-size:9px;font-weight:750;cursor:pointer}.budget-package-chooser>p{margin:0 0 12px;color:#706b66;font-size:11px;line-height:1.5}.budget-package-chooser>div{display:grid;gap:8px}.budget-package-chooser button{width:100%;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 13px;border:1px solid #e5dfd9;border-radius:12px;background:#fff;color:#4f4c48;text-align:left;cursor:pointer}.budget-package-chooser button:hover{border-color:#cfd7c3;background:#fafbf8}.budget-package-chooser button.is-current{border-color:#aab694;background:#f4f7ef}.budget-package-chooser button span{min-width:0}.budget-package-chooser button b{display:block;font-size:11px}.budget-package-chooser button small{display:block;margin-top:4px;color:#918b85;font-size:9px}.budget-package-chooser button>strong{flex:0 0 auto;color:#697553;font-size:9px}.budget-package-chooser .budget-package-remove-choice{border-color:#ead9dc;background:#fffafb}.budget-package-chooser .budget-package-remove-choice>strong{color:#a4616f}.budget-package-chooser-empty{padding:14px;border:1px dashed #d8d2ca;border-radius:12px;background:#fbfaf8}.budget-package-chooser-empty strong,.budget-package-chooser-empty span{display:block}.budget-package-chooser-empty span{margin-top:5px;color:#898991;font-size:9px}.budget-package-chooser-empty button{margin-top:11px}

@media(max-width:760px){
.budget-icon-grid{grid-template-columns:repeat(4,minmax(0,1fr));max-height:230px}.budget-icon-grid button{min-height:58px}.budget-icon-grid button>span{font-size:19px}.budget-tag-picker{grid-template-columns:1fr;gap:8px}.budget-tag-picker label{min-height:48px;padding:9px 10px}.budget-tag-picker label span{font-size:10px}.budget-dialog{box-sizing:border-box;width:calc(100% - 20px);height:calc(100dvh - 10px);max-height:calc(100dvh - 10px);margin:10px auto 0;border-radius:18px 18px 0 0;overflow:hidden;background:#fff}.budget-dialog-frame{display:flex;flex-direction:column;height:100%;max-height:none;overflow:hidden;background:#fff}.budget-dialog header{flex:0 0 auto;padding:16px}.budget-dialog header span{font-size:8px;letter-spacing:.13em}.budget-dialog h2{font-size:24px}.budget-dialog-body{flex:1 1 auto;min-height:0;max-height:none;padding:0 16px 12px;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}.budget-form-grid{grid-template-columns:1fr 1fr;gap:8px}.budget-form-field{gap:4px;margin-top:8px}.budget-form-field>span{font-size:9px}.budget-form-field input:not([type="checkbox"]):not([type="radio"]),.budget-form-field select{height:38px;padding:0 10px;border-radius:10px;font-size:16px}.budget-form-field textarea{min-height:58px;max-height:88px;padding:8px 10px;border-radius:10px;font-size:16px}.budget-package-concepts{margin-top:10px;padding:10px}.budget-package-picker{max-height:150px}.budget-dialog footer{position:static;flex:0 0 auto;padding:10px 16px max(10px,env(safe-area-inset-bottom));border-top:1px solid #f0ece8;background:#fff;backdrop-filter:none}.budget-dialog footer button{min-height:38px;padding:0 12px;border-radius:10px;font-size:10px}
.budget-hero{grid-template-columns:1fr;padding:18px 16px 14px;gap:12px}
.budget-eyebrow{margin-bottom:10px;font-size:8px;letter-spacing:.13em}
.budget-title-row{grid-template-columns:40px minmax(0,1fr);gap:11px}
.budget-title-icon{width:38px;height:38px;border-radius:12px;font-size:18px}
.budget-title-row h1{font-size:30px;font-weight:400;letter-spacing:-.035em}
.budget-title-row p{margin-top:7px;font-size:10.5px;line-height:1.4}
.budget-hero-total{padding-left:51px;text-align:left}
.budget-hero-total span{font-size:8px}
.budget-hero-total strong{margin-top:5px;font-size:35px;line-height:1.05;white-space:normal;overflow-wrap:anywhere}
.budget-content{width:calc(100% - 32px);padding:12px 0 42px}
.budget-toolbar{display:grid;grid-template-columns:1fr 40px;padding:9px;gap:7px;border-radius:16px}
.budget-toolbar>div{display:grid;grid-template-columns:1fr;gap:7px;min-width:0}
.budget-button{width:100%;height:40px;min-height:40px;padding:0 11px;border-radius:11px;font-size:9px}
.budget-button b{font-size:16px}
.budget-toolbar>.budget-quiet{grid-column:2;grid-row:1;width:40px;height:40px;padding:0;border-radius:11px;font-size:18px}
.budget-overview{display:grid;grid-template-columns:1fr;gap:10px;margin:12px 0;overflow:visible;background:transparent;border:0;border-radius:0;box-shadow:none}
.budget-main{min-width:0;padding:14px;border:1px solid var(--budget-line);border-radius:16px;box-shadow:var(--budget-shadow)}
.budget-main-top{display:block}
.budget-total-block>span{font-size:8px}
.budget-total-value{margin-top:7px;flex-wrap:wrap}
.budget-total-value b{font-size:19px}
.budget-total-value strong{min-width:0;font-size:23px;line-height:1.1;overflow-wrap:anywhere}
.budget-config{grid-template-columns:1fr;gap:7px;margin-top:11px;min-width:0}
.budget-setting>span{font-size:8px}
.budget-setting-control{height:42px;border-radius:11px}.budget-setting-control select,.budget-setting-control input{font-size:16px}.budget-setting-control input{width:72px}.budget-setting-control small{font-size:8px}
.budget-progress{height:4px;margin-top:11px}
.budget-progress-meta{align-items:flex-start;flex-wrap:wrap;font-size:7.5px;line-height:1.35}
.budget-metric{min-width:0;min-height:72px;padding:12px 14px;border:1px solid var(--budget-line);border-radius:16px;box-shadow:var(--budget-shadow)}
.budget-metric span{font-size:8px;line-height:1.3}
.budget-metric strong{margin-top:7px;font-size:18px;line-height:1.15;white-space:normal;overflow-wrap:anywhere}
.budget-metric small{margin-top:5px;font-size:7px;line-height:1.35}
.budget-analysis{margin-bottom:12px;padding:10px 12px;border-radius:12px;font-size:9px;line-height:1.4;overflow-wrap:anywhere}
.budget-workspace{display:block}
.budget-tags{position:static;margin-bottom:12px;padding:12px;border-radius:16px;overflow:hidden}
.budget-tags-head{gap:8px}
.budget-tags h2{font-size:17px}
.budget-tags-head button{width:28px;height:28px;font-size:15px}
.budget-tags [data-budget-tags]{display:grid;grid-template-columns:1fr;gap:7px;margin-top:9px;overflow:visible}
.budget-tag{width:100%;min-width:0;padding:8px 9px;border-radius:10px;font-size:9px}
.budget-tag span{min-width:0;flex-wrap:wrap}
.budget-tag b{margin-left:auto}
.budget-tags p{margin-top:8px;font-size:7.5px;line-height:1.45}
.budget-section-head{display:grid;grid-template-columns:1fr;gap:8px;margin:0 0 9px;min-width:0}
.budget-section-head h2{font-size:18px;line-height:1.15}
.budget-section-head p{font-size:9px;line-height:1.4;overflow-wrap:anywhere}
.budget-search{width:100%;min-width:0;height:42px;border-radius:12px}
.budget-search input{min-width:0}
.budget-categories{gap:12px}
.budget-category{border-radius:16px}
.budget-category>header{grid-template-columns:minmax(0,1fr);gap:10px;padding:13px}
.budget-category-title{gap:10px;min-width:0}
.budget-category-icon{width:38px;height:38px;flex-basis:38px;border-radius:11px;font-size:16px}
.budget-category h3{font-size:17px;line-height:1.15;overflow-wrap:anywhere}
.budget-category-title p{margin-top:5px;font-size:8px;line-height:1.35;overflow-wrap:anywhere}
.budget-category-actions{justify-content:flex-end;gap:5px}
.budget-category-actions button{min-height:30px;padding:0 8px;border-radius:8px;font-size:8px}
.budget-chevron{width:30px;padding:0}
.budget-category-summary{grid-template-columns:1fr;margin:0 13px 10px;border-radius:10px}
.budget-category-summary div{padding:9px 10px;text-align:left}
.budget-category-summary span{font-size:6.5px}
.budget-category-summary strong{font-size:14px;overflow-wrap:anywhere}
.budget-item-list{padding:0 13px 10px}
.budget-item{grid-template-columns:minmax(0,1fr) auto;gap:7px;min-height:58px;cursor:default}
.budget-item-main{min-width:0;padding:9px 0}
.budget-item-main>strong{font-size:11px;line-height:1.3;overflow-wrap:anywhere}
.budget-item-main small{margin-top:5px;font-size:8px;line-height:1.35;overflow-wrap:anywhere}
.budget-item-value{grid-column:1;display:block;text-align:left;padding-bottom:6px}
.budget-item-value span{font-size:6.5px}
.budget-item-value strong{font-size:9px;overflow-wrap:anywhere}
.budget-item-actions{grid-column:2;grid-row:1;align-self:start}.budget-item-drag{display:none}.budget-item-group{min-height:32px;padding:0 9px;font-size:8px}.budget-item-action{width:32px;height:32px;font-size:16px}
.budget-read-state{font-size:8px}
.budget-package{border-radius:16px}
.budget-package>header{grid-template-columns:minmax(0,1fr);gap:9px;padding:12px}
.budget-package>header>div{min-width:0}
.budget-package h3{font-size:17px;line-height:1.2;overflow-wrap:anywhere}
.budget-package header p{font-size:9px;line-height:1.35;overflow-wrap:anywhere}
.budget-package-money{grid-column:1;text-align:left}
.budget-package-money strong{font-size:15px;overflow-wrap:anywhere}
.budget-package-actions{grid-column:1;grid-row:auto;justify-content:flex-end}
.budget-package-drop-hint{margin:0 12px 8px;align-items:flex-start;flex-wrap:wrap}.budget-package-drop-hint small{width:100%;margin-left:0;line-height:1.35}.budget-package-empty{grid-template-columns:36px minmax(0,1fr);padding:12px}.budget-package-empty-icon{width:36px;height:36px}.budget-package-empty button{grid-column:1/-1;width:100%}.budget-package-body{padding:0 12px 8px}
.budget-package-child{grid-template-columns:16px minmax(0,1fr) 28px}
.budget-package-child b,.budget-package-child small{white-space:normal;overflow-wrap:anywhere}
.budget-package-child>strong{display:none}
}
@media(max-width:390px){.budget-form-grid,.budget-tag-picker{grid-template-columns:1fr}.budget-dialog h2{font-size:22px}.budget-package-picker{max-height:135px}.budget-dialog footer{display:grid;grid-template-columns:1fr 1fr}.budget-dialog footer button{width:100%;padding:0 8px}}

@media(max-width:430px){
.budget-title-row h1{font-size:28px}
.budget-content{width:calc(100% - 24px)}
.budget-hero-total{padding-left:0}
.budget-toolbar{grid-template-columns:1fr}
.budget-toolbar>.budget-quiet{grid-column:1;grid-row:auto}
.budget-config{grid-template-columns:1fr}
}

@media(prefers-reduced-motion:reduce){.budget-shell *{scroll-behavior:auto}}
