/* Final client-flow refinements */
html{scrollbar-gutter:stable}body:has(dialog[open]){overflow:hidden}.wizard-tools{display:flex;flex-wrap:wrap;align-items:center;gap:6px 20px;justify-content:flex-end}.wizard-tools .text-button{font-size:12px;min-height:40px}.wizard-tools .text-button:first-child{font-weight:600;color:#394731}
.pf-dialog{width:min(670px,calc(100% - 32px));max-height:calc(100dvh - 32px);padding:28px;border-radius:15px}.pf-dialog .dialog-bar h2{margin:7px 0 0;font-size:27px}.pf-dialog .eyebrow{font-size:10px}.pf-lead{font-size:14px!important;color:#6d7568;line-height:1.65!important}.pf-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:22px}.pf-actions .button{font-size:12px;cursor:pointer}.pf-import{position:relative;overflow:hidden}.pf-import input{position:absolute;inset:0;opacity:0;width:100%;height:100%;cursor:pointer}.pf-hint{font-size:11px!important;color:#8b9280;line-height:1.6!important}.pf-recent{margin-top:25px;border-top:1px solid #daddd1;padding-top:20px}.pf-recent h3{font-size:18px;font-weight:500}.pf-recent>p{font-size:12px;color:#8a917f;line-height:1.6}.pf-recent article{display:flex;align-items:center;justify-content:space-between;gap:15px;border-bottom:1px solid #e0e4d8;padding:14px 0}.pf-recent article b{display:block;font-size:14px;font-weight:500}.pf-recent article span{display:block;font-size:11px;color:#8a917e;margin-top:6px}.pf-recent article .text-button{font-size:12px;white-space:nowrap}.pf-empty{border:1px dashed #d6dfc7;padding:20px;font-size:13px;color:#859478;border-radius:8px}.pf-dialog #projectImportReview{margin-top:18px;padding:20px;background:#edf1e6;border:1px solid #dce3cf;border-radius:8px}.pf-dialog #projectImportReview b{font-size:15px}.pf-dialog #projectImportReview p{font-size:12px}.pf-dialog #projectImportReview .button{font-size:12px}
.w-result-visuals{display:flex;flex-wrap:wrap;gap:12px;border-bottom:1px solid #dfe3d5;padding-bottom:22px;margin-bottom:10px}.w-result-visual{display:flex;align-items:center;gap:12px;background:#f0f2ea;border-radius:8px;padding:10px;flex:1;min-width:220px}.w-result-visual img{width:72px;height:76px;object-fit:cover;border-radius:5px}.w-result-visual .fm-drawing{width:60px;height:90px;padding:0;flex:none}.w-result-visual small{display:block;color:#8b967d;font-size:10px;margin-bottom:5px}.w-result-visual b{display:block;font-size:13px;font-weight:500;line-height:1.5}.w-result-visual .text-button{font-size:11px;margin-top:6px}.w-cost-row{align-items:start!important;gap:14px!important}.w-cost-identity{display:flex;align-items:start;gap:10px;min-width:0}.w-cost-identity img{width:52px;height:48px;object-fit:contain;background:white;border:1px solid #e0e3d9;border-radius:4px;flex:none}.w-cost-identity>span{min-width:0}.w-cost-identity b{display:block;font-size:12px!important;font-weight:500!important;line-height:1.5!important;overflow-wrap:anywhere}.w-cost-row>div:last-child{text-align:right;flex:none;max-width:140px}.w-cost-actions{display:flex;gap:10px;margin-top:7px;justify-content:flex-end}.w-cost-actions .text-button{font-size:10px;min-height:28px}.w-print-heading{display:none}.w-result-save{display:flex;justify-content:space-between;align-items:center;gap:14px;margin:20px 0;padding:18px;border:1px solid #dbe0d2;border-radius:8px}.w-result-save b{font-size:13px;font-weight:500}.w-result-save p{font-size:11px;color:#879379;margin:6px 0 0;line-height:1.5}.w-result-save .button{font-size:11px;padding:10px 14px;white-space:nowrap}
.fc-purpose{font-size:11px;line-height:1.5;color:#758069;margin:2px 0 0}.fc-category-help{font-size:13px;line-height:1.6;color:#768268;padding:13px 16px;margin:14px 0;background:#eef2e7;border-left:3px solid #a8b995;border-radius:0 6px 6px 0}.fc-filters-details{border:0;padding:0;margin:0}.fc-filters-details>summary{display:none}.fc-clear-search{font-size:11px;color:#596c44;border:0;background:transparent;text-decoration:underline;cursor:pointer;white-space:nowrap}.fc-list-heading{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.fc-card-bottom strong{white-space:normal}.fc-quantity input{font-size:13px}.fc-dialog .fc-photo{height:185px}
.upload-zone:focus-within{outline:2px solid #73875d;outline-offset:4px}.upload-file{display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid #dedfd6;padding:10px 0;font-size:12px;overflow-wrap:anywhere}.upload-file small{display:block;font-size:10px;color:#919786;margin-top:4px}.upload-file button{background:transparent;border:1px solid #dbdfd1;border-radius:50%;width:31px;height:31px;flex:none;font-size:18px;color:#687658;cursor:pointer}.upload-steps{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:18px 0}.upload-steps>div{background:#eef1e7;border:1px solid #dbe2cf;padding:12px;border-radius:7px}.upload-steps b{display:block;font-size:12px}.upload-steps p{font-size:11px!important;line-height:1.6!important;color:#828d73;margin:6px 0 0!important}.upload-secondary{display:flex;align-items:center;gap:18px;flex-wrap:wrap;margin-top:14px}.upload-secondary .text-button{font-size:12px}.project-dialog .caption{font-size:12px;line-height:1.6}.faq-list{max-width:820px}.faq-list details{border-top:1px solid var(--line);padding:22px 0}.faq-list details:last-child{border-bottom:1px solid var(--line)}.faq-list summary{font-size:17px;font-weight:500;cursor:pointer;line-height:1.5;list-style:none;display:flex;align-items:center;justify-content:space-between;gap:20px}.faq-list summary::after{content:'+';font-size:24px;color:#929884}.faq-list details[open] summary::after{content:'−'}.faq-list p{font-size:14px;color:var(--muted);max-width:670px;line-height:1.75;margin:15px 0 0}.faq-list a{color:inherit;text-decoration:underline}.home-faq{padding-top:20px}.quick-contact{display:flex;gap:8px}.quick-contact .text-button{min-height:42px}.project-dialog .button:disabled{opacity:.45;cursor:default}
@media(max-width:600px){.wizard-tools{justify-content:flex-start;gap:4px 18px;margin-top:9px}.wizard-tools .text-button{font-size:12px}.pf-dialog{padding:22px}.pf-actions{flex-direction:column}.pf-actions .button{width:100%;font-size:13px}.pf-recent article{gap:10px}.pf-recent article span{font-size:11px}.w-result-save{display:block}.w-result-save .button{margin-top:12px;width:100%;font-size:12px}.w-result-visual{min-width:100%;box-sizing:border-box}.w-cost-identity img{width:40px;height:38px}.w-cost-row{gap:9px!important}.w-cost-row>div:last-child{max-width:112px}.w-cost-row>div:last-child>b{font-size:12px}.w-cost-actions{flex-direction:column;gap:0}.fc-filters-details{border-bottom:1px solid #dce1d2;padding-bottom:10px;margin-top:10px}.fc-filters-details>summary{display:flex;align-items:center;justify-content:space-between;cursor:pointer;font-size:12px;min-height:40px;list-style:none}.fc-filters-details>summary::after{content:'+';font-size:20px}.fc-filters-details[open]>summary::after{content:'−'}.fc-filters-details .fc-filters{padding:7px 0}.fc-advice{margin:12px 0!important;font-size:12px!important}.fc-purpose{font-size:11px}.fc-dialog .fc-photo{height:130px}.fc-category-help{font-size:12px;padding:11px 13px;margin:12px 0}.fc-product-name{font-size:12px!important}.fc-category{font-size:9px!important}.fc-footer span{font-size:12px!important}.fc-dialog .field-label{font-size:12px!important}.fc-dialog .fc-tabs button{font-size:11px}.fc-list-top{gap:10px!important}.fc-list-heading{width:100%;justify-content:space-between}.fc-clear-search{font-size:11px}.fc-detail-copy dl{font-size:13px}.fc-detail-copy p{font-size:12px}.upload-steps{grid-template-columns:1fr}.faq-list summary{font-size:15px}.faq-list p{font-size:13px}}
@media(min-width:601px){.fc-filters-details:not([open])>.fc-filters{display:grid}.fc-filters-details{display:contents}}
@media print{@page{margin:15mm}.w-print-heading{display:flex;justify-content:space-between;border-bottom:1px solid #888;padding-bottom:12px;margin-bottom:20px;font-size:11px}.w-cost-actions,.w-result-save,.w-result-visual .text-button,.wizard-tools,.pf-dialog,#selectedProducts>.text-button{display:none!important}.w-result-visuals{break-inside:avoid}.w-result-heading h2{font-size:24px}.w-result-list{margin-bottom:20px}.w-cost-row{break-inside:avoid}.w-cost-row img{width:42px;height:42px}.w-result-visual{background:white}.w-result-list>div{padding:9px 0}.w-result-list small,.w-explain{font-size:10px!important}body:has(dialog[open]){overflow:visible}}
.fc-scroll>.fc-search-field{margin-bottom:13px}.fc-filters{grid-template-columns:1fr 1fr}.fc-search-field input{width:100%;height:45px}.fc-filter-details .fc-filters{grid-template-columns:1fr 1fr}.fc-card-body{gap:5px}.fc-product-name{min-height:38px}
@media(min-width:601px){.fc-filters-details>.fc-filters{margin-top:0;margin-bottom:10px}.fc-filters-details .fc-filters{grid-template-columns:1fr 1fr}}
@media(max-width:600px){.fc-scroll>.fc-search-field{margin-bottom:0}.fc-product-name{min-height:0}.fc-dialog .fc-photo{height:120px}.fc-filters-details>.fc-filters{grid-template-columns:1fr}.fc-filters-details .field-label{margin-top:3px}.fc-card-bottom .fc-quantity{max-width:112px}.fc-quantity button{width:34px}.fc-quantity input{width:38px}}
