.project-bar{position:sticky;top:72px;z-index:30;display:flex;align-items:center;gap:14px;justify-content:space-between;border:1px solid #d8e4f3;background:#fffffff5;backdrop-filter:blur(12px);border-radius:12px;padding:10px 14px;margin:0 0 14px;box-shadow:0 5px 20px #17375b08}.project-tabs{display:flex;gap:6px}.project-tabs button.active{background:#1769f5;color:white;border-color:#1769f5}#project-budget{margin-left:auto;min-width:0}#project-budget b,#project-budget small{display:block}#project-budget small{font-size:11px;color:#637c99}.estimate-jump{display:inline-flex;align-items:center;justify-content:center;min-height:44px;border-radius:9px;background:#1769f5;color:white;padding:10px 16px;text-decoration:none;font-weight:700;white-space:nowrap}.pro-actions{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:14px}.sidebar,.inspector{top:148px;max-height:calc(100dvh - 164px)}#estimate,#inspector,.project-bar{scroll-margin-top:148px}#estimate{border:1px solid #abcafa}#estimate .section-heading h2{display:block}#estimate-status{padding:14px 16px;background:#edf4ff;border:1px solid #d8e4f3;border-radius:10px;display:flex;gap:12px;justify-content:space-between;align-items:center;margin-bottom:14px}#estimate-status strong{font-size:21px;display:block}#estimate-status small{display:block;margin-top:5px;color:#526e8e}#estimate-status a{white-space:nowrap;font-size:12px}.quote-tools{display:flex;gap:8px;flex-wrap:wrap}.quote-tools input{flex:1;min-width:180px}.quote-tools select{width:180px}.quote-tools button{font-size:12px}.estimate th{background:#17375b;color:white}.estimate td small{display:none}.estimate td{vertical-align:middle}.estimate td:first-child{min-width:280px}.estimate td[data-amount]{min-width:190px}.estimate .table-scroll{max-height:440px}.estimate .quote-total strong{font-size:22px}#commercial-fields{display:grid;grid-template-columns:1fr 1fr;gap:4px 20px}#commercial-fields p{grid-column:1/-1;color:#637c99;font-size:12px}#finance-summary p{padding:12px;background:#f3f7fc;border-radius:8px}.pro-type{margin-top:16px;border-top:1px solid #d8e4f3;padding-top:5px}.pro-type h3{color:#1769f5}.pro-type fieldset{border:1px solid #d8e4f3;border-radius:9px;margin:10px 0;padding:8px}.pro-type legend{font-weight:700;font-size:11px}.pro-type p{font-size:11px;color:#637c99}.pro-type input[type=color]{padding:3px}.pro-type input[type=checkbox]{width:22px!important;min-height:22px}#pro-dialog{width:min(960px,95vw);max-width:95vw}#pro-dialog h2{clear:both}#pro-dialog p{font-size:13px}#pro-dialog .form-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px 22px}#pro-dialog input,#pro-dialog select{min-height:44px}#pro-dialog .table-scroll{margin:14px 0;max-height:46dvh}#pro-dialog table{min-width:700px}#pro-dialog td:first-child{min-width:60px}#pro-dialog input[type=checkbox]{width:22px}#pro-error{color:#a43c23;font-weight:600;min-height:24px}#pro-footer{position:sticky;bottom:-24px;background:white;padding:14px 0}#pro-preview{margin-top:16px}#pro-preview .series-preview{height:260px;max-height:34dvh;background:#f3f7fc}#pro-preview svg{width:100%;height:100%}.variant-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:16px}.variant-grid h3{margin-top:0}.variant-grid small{display:block;color:#637c99}#commercial-panel{scroll-margin-top:150px}#commercial-panel:target{outline:2px solid #1769f5;padding:14px}.estimate .hint{min-height:24px}.estimate td:last-child button{margin:2px}.estimate .actions{align-items:center}
@media(max-width:1100px){.project-tabs button{padding:9px}.project-bar{gap:8px}.project-tabs{gap:3px}.sidebar,.inspector{position:static;max-height:none}}
@media(max-width:700px){.project-tabs{display:none}.project-bar{top:64px;padding:9px 10px;gap:10px;margin-top:0}.project-bar #project-budget{margin:0;flex:1;font-size:12px}.project-bar .estimate-jump{font-size:12px;padding:9px 12px;white-space:normal;max-width:100px}.project-bar small{font-size:10px;overflow-wrap:anywhere}.pro-actions{display:grid;grid-template-columns:1fr 1fr;gap:6px}.pro-actions button{font-size:11px;padding:9px}.pro-actions button:last-child{grid-column:1/-1}.mobile-heading{margin:10px 0}.mobile-heading h2{font-size:18px}.project-bar,#estimate,#inspector{scroll-margin-top:142px}body[data-tab=estimate] .pro-actions,body[data-tab=estimate] .mobile-heading{display:none}body[data-tab=estimate] #estimate{display:block!important;margin-top:12px}.quote-tools{gap:7px}.quote-tools input{width:100%;min-width:0;flex-basis:100%;font-size:16px}.quote-tools select{width:100%;font-size:16px}.quote-tools button{flex:1;min-height:44px}#estimate-status{display:block;padding:12px}#estimate-status strong{font-size:19px}#estimate-status a{display:inline-block;margin-top:8px}#estimate .section-heading h2{font-size:20px}#estimate .section-heading p{font-size:12px}.estimate table{min-width:880px}.estimate .table-scroll{max-height:50dvh}.estimate .quote-total strong{font-size:20px;overflow-wrap:anywhere}.estimate td:first-child{min-width:255px;max-width:300px}#commercial-fields,#pro-dialog .form-grid,.variant-grid{grid-template-columns:1fr}#commercial-fields label{font-size:13px}#commercial-fields input{font-size:16px;min-height:44px}#pro-dialog{padding:16px;max-height:88dvh}#pro-dialog label{font-size:13px}#pro-dialog input,#pro-dialog select{font-size:16px}#pro-footer{bottom:-16px}#pro-footer button{flex:1}.pro-type label input,.pro-type label select{width:100%}.pro-type legend{font-size:12px}.pro-type p{font-size:12px}.pro-type details{padding-bottom:15px}.article-links{margin-bottom:25px}}
.estimate.show-notes td small{display:block;margin-top:6px;font-size:11px}.quote-notes-toggle{display:flex;align-items:center;gap:8px;margin:8px 0 12px;font-size:12px}.quote-notes-toggle input{width:20px;min-height:20px}#commercial-panel[open]{padding-top:14px}
.project-bar{top:0}.sidebar,.inspector{top:82px;max-height:calc(100dvh - 100px)}#estimate,#inspector,#model,#commercial-panel{scroll-margin-top:90px}@media(max-width:1100px){.sidebar,.inspector{max-height:none}}@media(max-width:700px){.project-bar{top:0}#estimate,#inspector,#model,#commercial-panel{scroll-margin-top:94px}}
