.wedding-budget-workspace{display:block}.wedding-budget-workspace .workspace-main{width:100%;overflow:visible}.wedding-budget-app{padding:20px;background:#fff}.wb-controls{display:grid;grid-template-columns:repeat(3,minmax(150px,1fr)) auto;align-items:end;gap:12px;padding:16px;border:1px solid var(--line);border-radius:10px;background:var(--paper,#fbf8f3)}.wb-controls label{display:grid;gap:6px;color:var(--muted);font-size:11px;font-weight:750}.wb-controls input,.wb-group input{width:100%;min-width:0;border:1px solid var(--line);border-radius:7px;background:#fff;color:var(--ink);font:600 14px/1.2 Inter,system-ui}.wb-controls>label>input,.wb-money-input,.wb-percent-input{height:42px}.wb-money-input,.wb-percent-input,.wb-amount{display:flex;align-items:center;border:1px solid var(--line);border-radius:7px;background:#fff}.wb-money-input input,.wb-percent-input input,.wb-amount input{border:0}.wb-money-input b,.wb-percent-input b,.wb-amount b{padding-left:11px;color:var(--rose);font-size:12px}.wb-percent-input b{padding:0 11px 0 0}.wb-save-status{align-self:center;color:var(--muted);font-size:11px;white-space:nowrap}.wb-summary{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:12px 0}.wb-summary article{min-width:0;padding:16px;border:1px solid var(--line);border-radius:9px;background:#fff}.wb-summary span,.wb-summary small{display:block;color:var(--muted);font-size:10px}.wb-summary strong{display:block;overflow:hidden;margin:7px 0;color:var(--plum);font:700 clamp(19px,2.2vw,28px)/1 Georgia,serif;text-overflow:ellipsis}.wb-summary article.negative{border-color:#b54d58;background:#fff5f5}.wb-summary article.negative strong{color:#a52e3d}.wb-toolbar{display:flex;justify-content:space-between;gap:12px;margin:12px 0;flex-wrap:wrap}.wb-toolbar>div{display:flex;gap:7px;flex-wrap:wrap}.wb-toolbar button,.wb-footer-actions button,.wb-add-item,.wb-row-actions button{border:1px solid var(--line);background:#fff;color:var(--plum);font:750 11px/1 Inter,system-ui;cursor:pointer}.wb-toolbar button{min-height:36px;padding:0 12px;border-radius:999px}.wb-toolbar button:hover,.wb-row-actions button:hover{border-color:var(--rose);background:var(--blush)}.wb-groups{display:grid;gap:8px}.wb-group{overflow:hidden;border:1px solid var(--line);border-radius:9px;background:#fff}.wb-group[open]{box-shadow:0 5px 18px #50313b0b}.wb-group summary{min-height:58px;padding:10px 14px;display:grid;grid-template-columns:38px minmax(180px,1fr) auto auto;align-items:center;gap:12px;cursor:pointer;list-style:none}.wb-group summary::-webkit-details-marker{display:none}.wb-group summary:after{content:"+";grid-column:5;color:var(--rose);font-size:20px}.wb-group[open] summary:after{content:"−"}.wb-group-number{display:grid;place-items:center;width:33px;height:33px;border-radius:50%;background:var(--blush);color:var(--plum);font-size:10px;font-weight:800}.wb-group summary strong{font:700 17px/1.2 Georgia,serif}.wb-group summary small{color:var(--muted);font-size:10px}.wb-group summary>b{color:var(--plum);font-size:14px}.wb-group-body{padding:12px 14px 15px;border-top:1px solid var(--line);background:#fdfcf9}.wb-group-name{max-width:520px;margin-bottom:10px;display:grid;grid-template-columns:auto 1fr;align-items:center;gap:9px;color:var(--muted);font-size:10px}.wb-group-name input{height:36px;padding:0 10px}.wb-table-wrap{overflow-x:auto;border:1px solid var(--line);border-radius:7px;background:#fff}.wb-group table{width:100%;min-width:780px;border-collapse:collapse;table-layout:fixed}.wb-group th{padding:9px 8px;color:var(--muted);background:#f7f2ef;font-size:9px;letter-spacing:.05em;text-align:left;text-transform:uppercase}.wb-group th:nth-child(1){width:42px}.wb-group th:nth-child(2){width:29%}.wb-group th:nth-child(3){width:31%}.wb-group th:nth-child(4){width:20%}.wb-group th:nth-child(5){width:128px}.wb-group td{padding:6px 5px;border-top:1px solid var(--line);color:var(--muted);font-size:11px}.wb-group td:first-child{text-align:center}.wb-group td input{height:38px;padding:0 9px;border-color:transparent}.wb-group td input:hover,.wb-group td input:focus{border-color:var(--line);outline:2px solid transparent;background:#fff}.wb-amount b{padding-left:8px}.wb-row-actions{display:flex;gap:3px;justify-content:center}.wb-row-actions button{width:27px;height:27px;padding:0;border-radius:6px}.wb-row-actions button.delete{color:#a52e3d}.wb-empty{padding:24px!important;text-align:center!important}.wb-add-item{margin-top:10px;padding:9px 12px;border-radius:7px}.wb-footer-actions{display:flex;justify-content:space-between;margin-top:14px}.wb-footer-actions button{padding:11px 15px;border-radius:999px}.wb-footer-actions .primary{border-color:var(--plum);color:#fff;background:var(--plum)}.wb-footer-actions .danger{color:#a52e3d}
.wb-estimator{margin-bottom:12px;padding:16px;border:1px solid #cdaeb8;border-radius:10px;background:linear-gradient(135deg,#fff 0,#fbf2f3 100%)}.wb-estimator-head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:13px}.wb-estimator-head h2{margin:0;color:var(--plum);font:700 24px/1.1 Georgia,serif}.wb-estimator-head p{max-width:600px;margin:0;color:var(--muted);font-size:10px}.wb-estimator-fields{display:grid;grid-template-columns:1.25fr .65fr 1fr 1.1fr auto auto;align-items:end;gap:9px}.wb-estimator-fields label{display:grid;gap:6px;color:var(--muted);font-size:10px;font-weight:750}.wb-estimator-fields select,.wb-estimator-fields input[type=number]{width:100%;height:42px;padding:0 10px;border:1px solid var(--line);border-radius:7px;background:#fff;color:var(--ink);font:700 12px Inter,system-ui}.wb-estimator-fields .wb-check{height:42px;padding:0 10px;display:flex;align-items:center;gap:7px;border:1px solid var(--line);border-radius:7px;background:#fff;white-space:nowrap}.wb-check input{accent-color:var(--plum)}.wb-estimator-fields>button{height:42px;padding:0 15px;border:0;border-radius:999px;color:#fff;background:var(--plum);font:800 11px Inter,system-ui;cursor:pointer;white-space:nowrap}.wb-sample-note{margin:10px 0;padding:10px 12px;display:flex;align-items:flex-start;gap:9px;border-radius:8px;background:var(--blush);color:var(--plum);font-size:11px}.wb-sample-note b{width:18px;height:18px;display:grid;place-items:center;flex:0 0 18px;border-radius:50%;color:#fff;background:var(--plum);font:700 11px Georgia,serif}.wb-expense-cell{display:grid}.wb-expense-cell small{padding:0 9px 5px;color:#9b6471;font-size:9px}.wb-group tr.wb-excluded{background:#f7f4f2}.wb-group tr.wb-excluded input{color:#8d8588}.wb-group tr.wb-excluded .wb-amount{opacity:.6}.wb-group tr.wb-excluded:has(.wb-amount input:not(:placeholder-shown)){background:#fff}.wb-group tr.wb-excluded:has(.wb-amount input:not(:placeholder-shown)) .wb-expense-cell small{display:none}.wb-group tr.wb-excluded:has(.wb-amount input:not(:placeholder-shown)) .wb-amount{opacity:1}
@media(max-width:1100px){.wb-estimator-fields{grid-template-columns:repeat(3,1fr)}.wb-estimator-fields>button{width:max-content}}
@media(max-width:900px){.wb-controls{grid-template-columns:repeat(2,1fr)}.wb-save-status{grid-column:1/-1}.wb-summary{grid-template-columns:repeat(2,1fr)}.wb-estimator-head{align-items:flex-start;flex-direction:column;gap:7px}}
@media(max-width:620px){.wedding-budget-workspace{padding-inline:8px}.wedding-budget-app{padding:10px}.wb-estimator{padding:12px}.wb-estimator-head h2{font-size:21px}.wb-estimator-fields{grid-template-columns:1fr}.wb-estimator-fields>button{width:100%}.wb-controls{grid-template-columns:1fr;padding:12px}.wb-save-status{grid-column:auto}.wb-summary{gap:6px}.wb-summary article{padding:12px 10px}.wb-summary strong{font-size:18px}.wb-toolbar{margin:9px 0}.wb-toolbar>div{width:100%}.wb-toolbar button{flex:1 1 auto}.wb-group summary{grid-template-columns:32px 1fr auto;gap:8px;padding:8px 10px}.wb-group summary small{display:none}.wb-group summary>b{grid-column:2}.wb-group summary:after{grid-column:3;grid-row:1/3}.wb-group-body{padding:9px}.wb-group-name{grid-template-columns:1fr}.wb-footer-actions{gap:8px}.wb-footer-actions button{padding:10px 12px}}
@media print{body>header,body>footer,.tool-hero,.workspace-bar,.tool-guide,.more,.wb-controls,.wb-toolbar,.wb-footer-actions,.wb-add-item,.wb-row-actions,.wb-group-name{display:none!important}.wedding-budget-workspace,.wedding-budget-workspace .workspace-main{max-width:none;margin:0;padding:0;border:0}.wedding-budget-app{padding:0}.wb-summary{grid-template-columns:repeat(4,1fr)}.wb-group{break-inside:avoid;margin-bottom:7px}.wb-group:not([open])>.wb-group-body{display:block}.wb-group summary:after{display:none}.wb-group-body{padding:6px}.wb-group table{min-width:0}.wb-group td input{border:0;padding:0}.wb-group th:last-child,.wb-group td:last-child{display:none}}
