@import url('./quote-document-pages.css');
@import url('./quote-share-ui.css');
@import url('./quote-print-pages.css');
.q-module{--q-ink:#1d1d1f;--q-muted:#6e6e73;--q-line:#e5e5ea;--q-copper:#0071e3;color:var(--q-ink);min-width:0;max-width:1500px;margin:auto}.q-module *{box-sizing:border-box}.q-module button,.q-module input,.q-module select{font:inherit}.q-module button{cursor:pointer}.q-module button:focus-visible,.q-module input:focus-visible,.q-module select:focus-visible{outline:2px solid var(--q-copper);outline-offset:3px}.q-heading{display:flex;justify-content:space-between;align-items:center;gap:24px;margin:0 0 30px}.q-heading h1{font-size:30px;font-weight:500;letter-spacing:-1px;margin:8px 0 10px}.q-heading p{font-size:13px;color:var(--q-muted);margin:0;line-height:1.7}.q-eyebrow,.q-small-label{font-size:10px;letter-spacing:1.8px;color:var(--q-copper);font-weight:600}.q-heading-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.q-button{border:1px solid #0071e3;background:#0071e3;color:white;border-radius:5px;padding:12px 19px;font-size:12px!important;display:inline-flex;align-items:center;justify-content:center;gap:10px;white-space:nowrap;transition:background .16s}.q-button:hover{background:#0062c4}.q-button-secondary{background:transparent;color:#1d1d1f;border-color:#e5e5ea}.q-button-secondary:hover{background:#f5f5f7}.q-muted{font-size:11px;color:var(--q-muted)}.q-overview{border:1px solid var(--q-line);background:#fff;display:grid;grid-template-columns:repeat(3,1fr) 1.7fr;border-radius:8px;margin-bottom:25px}.q-overview>div{padding:23px 25px;position:relative}.q-overview>div+div:before{content:'';position:absolute;left:0;top:25px;bottom:25px;border-left:1px solid var(--q-line)}.q-overview>div>span{font-size:11px;color:#6e6e73}.q-overview strong{display:block;font-size:29px;font-weight:500;line-height:1.3;margin-top:12px;font-variant-numeric:tabular-nums}.q-overview strong small{font-size:11px;color:#6e6e73;font-weight:400}.q-overview .q-overview-note{display:flex;flex-direction:column;justify-content:center}.q-overview .q-overview-note span{color:var(--q-copper)}.q-overview-note p{font-size:12px;color:var(--q-muted);line-height:1.9;margin:10px 0 0;max-width:220px}.q-list-panel{background:white;border:1px solid var(--q-line);border-radius:8px;overflow:hidden}.q-list-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;border-bottom:1px solid var(--q-line);padding:0 25px;min-height:65px}.q-tabs{display:flex;gap:24px;align-self:stretch}.q-tab{border:0;border-bottom:2px solid transparent;background:transparent;color:#6e6e73;font-size:12px!important;padding:19px 0}.q-tab.is-active{border-bottom-color:#b8d6f6;color:#0071e3;font-weight:600}.q-list-labels,.q-quote-row{display:grid;grid-template-columns:minmax(200px,2.3fr) minmax(115px,1fr) 105px 75px 155px;gap:18px;align-items:center}.q-list-labels{font-size:10px;letter-spacing:.3px;color:#6e6e73;padding:16px 25px;background:#ffffff}.q-quote-row{padding:24px 25px;border-top:1px solid #e5e5ea}.q-quote-row:hover{background:#ffffff}.q-text-button{padding:0;border:0;background:transparent;font-size:11px!important;color:#1d1d1f}.q-text-button:hover{color:var(--q-copper)}.q-quote-title{font-size:13px!important;font-weight:600;text-align:left;line-height:1.6;max-width:100%;overflow-wrap:anywhere}.q-quote-identity p{font-size:10px;color:#6e6e73;margin:6px 0 0;line-height:1.7}.q-quote-identity p span{margin:0 8px;color:#6e6e73}.q-quote-money{font-size:14px;font-weight:500;font-variant-numeric:tabular-nums}.q-quote-date{font-size:11px;color:#6e6e73}.q-status{font-size:10px;padding:5px 8px;border-radius:4px;display:inline-block;width:max-content;white-space:nowrap;line-height:1.3}.q-status-draft{color:#6e6e73;background:#f8f9fb}.q-status-pending{color:#a48055;background:#f6f0e6}.q-status-confirmed{color:#0071e3;background:#eaf3ff}.q-row-actions{display:flex;gap:10px 14px;justify-content:flex-end;flex-wrap:wrap}.q-row-actions button{white-space:nowrap;line-height:1.7}.q-preview-link{color:var(--q-copper)}.q-demo-note{font-size:10px;line-height:1.8;color:#6e6e73;margin-top:18px}.q-empty{text-align:center;padding:70px 20px}.q-empty-symbol{font-size:30px;color:#6e6e73;font-weight:300}.q-empty h3{font-size:16px;font-weight:500;margin:16px 0 10px}.q-empty p{font-size:12px;color:var(--q-muted);line-height:1.8;margin-bottom:24px}.q-back{border:0;background:transparent;color:#6e6e73;font-size:11px!important;padding:0;margin-bottom:7px}.q-back:hover{color:#1d1d1f}.q-info-panel{background:#fff;border:1px solid var(--q-line);border-radius:8px;padding:24px;display:grid;grid-template-columns:1.4fr 1fr .6fr;gap:22px;margin-bottom:24px}.q-form-field{display:block;color:#6e6e73;font-size:11px;min-width:0;line-height:1.7}.q-form-field>span{color:var(--q-copper)}.q-form-field input,.q-form-field select,.q-search{border:1px solid #e5e5ea;background:#fff;border-radius:4px;color:#1d1d1f;width:100%;height:41px;padding:9px 11px;font-size:12px;margin-top:8px;min-width:0}.q-form-field input::placeholder,.q-search::placeholder{color:#6e6e73}.q-form-field small{font-size:10px;color:#6e6e73;display:block;margin-top:6px}.q-form-field select{appearance:auto}.q-editor-layout{display:grid;grid-template-columns:minmax(0,1.18fr) minmax(330px,1fr);gap:24px;align-items:start}.q-catalog-panel,.q-selection-panel{background:#fff;border:1px solid var(--q-line);border-radius:8px;padding:23px;min-width:0}.q-panel-heading{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:17px}.q-panel-heading h2{font-size:14px;font-weight:600;margin:0;letter-spacing:.5px}.q-panel-heading h2 small{font-size:10px;border:1px solid var(--q-line);border-radius:4px;display:inline-flex;align-items:center;justify-content:center;width:20px;height:20px;margin-left:7px;color:#6e6e73;font-weight:400}.q-search{margin:0;background:#ffffff}.q-category-tabs{display:flex;gap:7px;flex-wrap:wrap;margin:17px 0 22px}.q-category{font-size:10px!important;white-space:nowrap;padding:7px 10px;border:1px solid transparent;background:#f8f9fb;color:#6e6e73;border-radius:4px}.q-category.is-active{border-color:#b8d6f6;background:#fff;color:#0071e3}.q-product-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.q-product-card{position:relative;display:flex;flex-direction:column;text-align:left;border:1px solid var(--q-line);border-radius:5px;background:#fff;min-width:0;overflow:hidden;padding:0;transition:border-color .2s,box-shadow .2s}.q-product-card:hover{border-color:#e5e5ea;box-shadow:0 2px 8px #1d1d1f08}.q-thumb{height:145px;display:flex;align-items:center;justify-content:center;background:#f8f9fb;overflow:hidden;width:100%}.q-thumb img{display:block;width:100%;height:100%;object-fit:contain;mix-blend-mode:multiply;padding:10px}.q-thumb-placeholder{color:#6e6e73}.q-product-info{padding:14px 12px 15px;display:flex;flex-direction:column;width:100%;gap:5px}.q-product-name{font-size:13px;font-weight:600;line-height:1.4;overflow-wrap:anywhere}.q-product-meta{font-size:9px;color:#6e6e73;line-height:1.6}.q-product-price{font-size:12px;color:#1d1d1f;margin-top:4px;font-variant-numeric:tabular-nums}.q-product-price small{font-size:9px;color:#6e6e73}.q-add-symbol{position:absolute;bottom:16px;right:12px;width:23px;height:23px;border:1px solid #e5e5ea;display:flex;align-items:center;justify-content:center;border-radius:50%;color:#0071e3;background:#fff;font-size:15px}.q-catalog-empty{grid-column:1/-1;text-align:center;padding:40px 0;color:#6e6e73;font-size:12px}.q-line-item{display:flex;gap:13px;padding:18px 0;border-bottom:1px solid var(--q-line)}.q-line-item:first-child{padding-top:3px}.q-line-thumb{width:56px;height:72px;border-radius:4px;flex-shrink:0}.q-line-thumb img{padding:5px}.q-line-main{flex:1;min-width:0}.q-line-top{display:flex;justify-content:space-between;gap:10px;align-items:flex-start}.q-line-top strong{font-size:12px;font-weight:600;line-height:1.5}.q-line-top p{font-size:9px;color:#6e6e73;margin:3px 0 13px;line-height:1.5}.q-remove{border:0;background:transparent;color:#6e6e73;font-size:19px!important;line-height:1;width:24px;height:24px;margin:-4px -5px 0 0}.q-remove:hover{color:#98594a}.q-line-fields{display:grid;grid-template-columns:52px minmax(70px,1fr) minmax(68px,1fr);gap:10px;align-items:start}.q-line-fields label{font-size:9px;color:#6e6e73;min-width:0}.q-line-fields input{width:100%;height:31px;border:1px solid #e5e5ea;border-radius:3px;background:#fff;color:#1d1d1f;font-size:11px;padding:6px;margin-top:5px;min-width:0}.q-line-amount{text-align:right;padding-top:0;min-width:0}.q-line-amount>span{font-size:9px;color:#6e6e73;display:block}.q-line-amount strong{font-size:11px;display:block;margin-top:13px;font-weight:500;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}.q-selected-empty{padding:30px 10px 35px;background:#ffffff;border:1px dashed #e5e5ea;text-align:center;border-radius:4px}.q-selected-empty>span{font-size:27px;color:#6e6e73}.q-selected-empty p{font-size:12px;color:#6e6e73;margin:10px 0 5px}.q-selected-empty small{font-size:10px;color:#6e6e73}.q-price-adjustments{display:grid;grid-template-columns:1fr 1fr;gap:17px;margin:23px 0}.q-totals{border-top:1px solid var(--q-line);padding-top:18px}.q-totals>div{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-bottom:12px;font-size:11px;color:#6e6e73}.q-totals strong{font-weight:400;color:#1d1d1f;font-variant-numeric:tabular-nums}.q-totals .q-grand-total{border-top:1px solid var(--q-line);padding-top:19px;margin-top:19px;color:#1d1d1f;font-size:12px}.q-grand-total strong{font-size:26px;font-weight:500;letter-spacing:-.6px;color:#1d1d1f}.q-selection-note{font-size:10px;line-height:1.9;color:#6e6e73;margin:15px 0 20px}.q-save-wide{width:100%;justify-content:space-between}.q-form-message{padding:13px 17px;border:1px solid #e5e5ea;background:#f8f9fb;color:#6e6e73;font-size:12px;border-radius:5px;margin-bottom:20px;line-height:1.8}.q-form-message[hidden]{display:none}.q-print-sheet{background:#fff;border:1px solid var(--q-line);max-width:940px;margin:auto;padding:48px 55px 35px;border-radius:6px}.q-sheet-header{display:flex;justify-content:space-between;align-items:center;border-bottom:2px solid #e5e5ea;padding-bottom:31px;gap:20px}.q-sheet-brand{font-size:39px;letter-spacing:1px;line-height:1;font-family:Arial,sans-serif;font-weight:400}.q-sheet-brand>span{font-family:inherit;display:block;font-size:9px;letter-spacing:3px;color:#6e6e73;margin-top:13px}.q-sheet-header>div:last-child{text-align:right}.q-sheet-kicker{font-size:8px;letter-spacing:1.8px;color:#6e6e73}.q-sheet-header h2{font-size:19px;font-weight:400;letter-spacing:3px;margin:11px 0 0}.q-sheet-title{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:34px 0 28px}.q-sheet-title h3{font-size:20px;font-weight:500;margin:9px 0 0;line-height:1.6;overflow-wrap:anywhere}.q-sheet-info{display:grid;grid-template-columns:1.3fr .8fr 1.2fr;gap:25px;padding-bottom:28px;border-bottom:1px solid var(--q-line)}.q-sheet-info>div{display:flex;flex-direction:column;gap:8px;min-width:0}.q-sheet-info span{font-size:10px;color:#6e6e73}.q-sheet-info strong{font-size:12px;font-weight:400;line-height:1.6}.q-sheet-info small{font-size:9px;color:#6e6e73}.q-sheet-id{font-size:10px!important;overflow-wrap:anywhere}.q-sheet-table-wrapper{max-width:100%;overflow:auto}.q-sheet-table{width:100%;border-collapse:collapse;font-size:11px}.q-sheet-table th{font-weight:400;font-size:10px;color:#6e6e73;text-align:right;padding:18px 0;border-bottom:1px solid var(--q-line)}.q-sheet-table td{text-align:right;white-space:nowrap;border-bottom:1px solid var(--q-line);padding:20px 0 20px 14px;font-variant-numeric:tabular-nums}.q-sheet-table th:first-child,.q-sheet-table td:first-child{text-align:left;padding-left:0;white-space:normal;width:46%}.q-sheet-table td strong{font-weight:500;font-size:12px}.q-sheet-table td span{display:block;font-size:9px;color:#6e6e73;margin-top:6px}.q-sheet-summary{max-width:310px;margin:28px 0 44px auto}.q-sheet-summary>div{display:flex;justify-content:space-between;gap:16px;margin-bottom:14px;font-size:11px;color:#6e6e73}.q-sheet-summary strong{font-weight:400;color:#1d1d1f;white-space:nowrap;font-variant-numeric:tabular-nums}.q-sheet-summary .q-sheet-grand{padding-top:22px;margin-top:20px;border-top:1px solid #e5e5ea;align-items:baseline;color:#1d1d1f;font-size:12px}.q-sheet-grand strong{font-size:26px;font-weight:500;color:#1d1d1f}.q-sheet-footer{border-top:1px solid var(--q-line);padding-top:25px}.q-sheet-footer p{font-size:14px;letter-spacing:2px;color:#6e6e73;margin:0 0 10px}.q-sheet-footer>span{font-size:9px;color:#6e6e73;line-height:1.8;display:block}.q-preview-footnote{text-align:center;margin-top:20px}
@media(min-width:1450px){.q-product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.q-thumb{height:156px}.q-line-thumb{height:72px}}
@media(max-width:1100px){.q-quote-row,.q-list-labels{grid-template-columns:minmax(140px,1.5fr) 110px 82px 62px 130px;gap:10px;padding-left:18px;padding-right:18px}.q-quote-date{font-size:10px}.q-row-actions{gap:10px}.q-editor-layout{gap:17px;grid-template-columns:minmax(0,1fr) minmax(305px,1fr)}.q-catalog-panel,.q-selection-panel{padding:18px}.q-info-panel{padding:20px;gap:16px}.q-line-thumb{width:43px;height:62px}.q-line-item{gap:10px}.q-overview>div{padding:22px 20px}}
@media screen and (max-width:850px){.q-overview{grid-template-columns:repeat(3,1fr)}.q-overview-note{display:none!important}.q-editor-layout{grid-template-columns:1fr}.q-product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.q-thumb{height:150px}.q-selection-panel{padding:22px}.q-line-thumb{width:60px;height:80px}.q-line-fields{grid-template-columns:70px 1fr 1fr}.q-line-item{gap:15px}.q-info-panel{grid-template-columns:1fr 1fr}.q-state-field{grid-column:2;grid-row:1}.q-info-panel>.q-form-field:first-child{grid-column:1/-1;grid-row:2}.q-info-panel>.q-form-field:nth-child(2){grid-column:1;grid-row:1}.q-print-sheet{padding:35px}.q-list-labels,.q-quote-row{grid-template-columns:minmax(160px,1.7fr) 100px 65px 130px}.q-list-labels>span:nth-child(3),.q-quote-date{display:none}.q-heading{gap:16px}.q-heading-actions{justify-content:flex-end}.q-heading-actions .q-button{padding:11px 13px}}
@media screen and (max-width:600px){.q-heading{align-items:flex-start;margin-bottom:23px;flex-wrap:wrap;gap:16px}.q-heading h1{font-size:25px;margin:7px 0 8px}.q-heading p{font-size:11px}.q-heading-actions{width:100%;justify-content:flex-start}.q-heading-actions .q-button{padding:11px 16px}.q-eyebrow{font-size:9px}.q-overview{margin-bottom:19px}.q-overview>div{padding:18px 12px}.q-overview>div>span{font-size:10px}.q-overview strong{font-size:24px;margin-top:9px}.q-overview strong small{font-size:9px}.q-overview>div+div:before{top:20px;bottom:20px}.q-list-toolbar{padding:0 16px;gap:8px;min-height:57px}.q-tabs{gap:18px}.q-tab{font-size:11px!important;padding:16px 0}.q-list-toolbar>.q-muted{font-size:9px}.q-list-labels{display:none}.q-quote-row{grid-template-columns:minmax(0,1fr) auto;gap:14px 10px;padding:20px 16px}.q-quote-identity{grid-column:1;grid-row:1}.q-quote-money{grid-column:2;grid-row:1;font-size:13px;align-self:start;margin-top:3px}.q-quote-row>.q-status{grid-row:2;grid-column:1}.q-row-actions{grid-column:1/-1;grid-row:3;gap:12px 20px;justify-content:flex-start;border-top:1px solid var(--q-line);padding-top:12px}.q-quote-title{font-size:12px!important}.q-quote-identity p{font-size:9px}.q-quote-identity p span{margin:0 4px}.q-demo-note{font-size:9px}.q-info-panel{padding:17px;gap:15px}.q-form-field{font-size:10px}.q-form-field input,.q-form-field select{font-size:12px}.q-catalog-panel,.q-selection-panel{padding:17px}.q-product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.q-thumb{height:140px}.q-product-info{padding:12px 10px}.q-product-name{font-size:12px}.q-product-price{font-size:11px}.q-product-price small{font-size:8px}.q-product-meta{font-size:8px}.q-add-symbol{right:9px;bottom:12px;width:21px;height:21px}.q-category-tabs{gap:6px}.q-category{font-size:9px!important;padding:6px 8px}.q-line-thumb{width:48px;height:68px}.q-line-item{gap:11px}.q-line-fields{grid-template-columns:48px minmax(65px,1fr) minmax(62px,1fr);gap:9px}.q-price-adjustments{gap:14px}.q-grand-total strong{font-size:25px}.q-print-sheet{padding:25px 19px}.q-sheet-header{padding-bottom:23px;gap:15px}.q-sheet-brand{font-size:33px}.q-sheet-brand>span{font-size:8px;letter-spacing:2px}.q-sheet-kicker{font-size:6px;letter-spacing:1px}.q-sheet-header h2{font-size:15px;letter-spacing:2px}.q-sheet-title{padding:26px 0 23px}.q-sheet-title h3{font-size:17px}.q-sheet-info{grid-template-columns:1fr 1fr;gap:20px 14px}.q-sheet-info>div:last-child{grid-column:1/-1}.q-sheet-info strong{font-size:11px}.q-sheet-table{font-size:9px}.q-sheet-table th{font-size:9px}.q-sheet-table td{padding-left:8px}.q-sheet-table td strong{font-size:10px}.q-sheet-table td span{font-size:8px;line-height:1.7}.q-sheet-summary{margin-top:25px;max-width:265px}.q-sheet-summary>div{font-size:10px}.q-sheet-grand strong{font-size:24px}.q-preview-toolbar .q-heading-actions{gap:8px}}
.q-list-title{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:21px 25px 4px}.q-list-title h2{font-size:15px;font-weight:600;margin:0}.q-list-search{width:260px;max-width:42%;height:36px;font-size:11px!important}.q-quote-number{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:9px!important;overflow-wrap:anywhere;color:#6e6e73!important}.q-list-labels,.q-quote-row{grid-template-columns:minmax(180px,2fr) minmax(110px,1fr) 95px 75px 195px}.q-confirm-link{background:#f5f5f7;border:1px solid #e5e5ea;border-radius:4px;color:#0071e3;padding:6px 9px;font-weight:600}.q-confirm-link:hover{background:#f5f5f7;color:#0062c4}.q-saved-notice{display:flex;align-items:flex-start;gap:14px;max-width:940px;margin:0 auto 18px;padding:17px 20px;border:1px solid #e5e5ea;background:#f8f9fb;border-radius:6px;color:#1d1d1f}.q-saved-check{display:flex;align-items:center;justify-content:center;width:23px;height:23px;flex:none;border:1px solid #e5e5ea;border-radius:50%;font-size:13px}.q-saved-notice strong{font-size:12px;line-height:1.8;overflow-wrap:anywhere}.q-saved-notice p{font-size:11px;line-height:1.8;margin:5px 0 0;color:#6e6e73}.q-next-step{display:flex;align-items:center;justify-content:space-between;gap:24px;max-width:940px;margin:0 auto 24px;padding:23px 25px;border:1px solid #e5e5ea;background:#f8f9fb;border-radius:6px}.q-next-step>div{min-width:0}.q-next-step h2{font-size:17px;font-weight:500;line-height:1.5;margin:10px 0 7px}.q-next-step p{font-size:11px;line-height:1.9;color:#6e6e73;margin:0;max-width:535px;overflow-wrap:anywhere}.q-next-step>.q-button{flex-shrink:0}.q-confirm-review{font-size:13px;color:#1d1d1f}.q-review-lead{line-height:1.8;margin:0 0 19px;color:#6e6e73}.q-review-summary{margin:0}.q-review-summary>div{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;padding:14px 0;border-bottom:1px solid #e5e5ea}.q-review-summary dt{font-size:12px;flex:none;color:#6e6e73}.q-review-summary dd{margin:0;text-align:right;font-size:13px;line-height:1.6;overflow-wrap:anywhere;min-width:0}.q-review-summary .q-review-total{align-items:center}.q-review-total dd{font-size:23px;font-weight:500;line-height:1.4;font-variant-numeric:tabular-nums}.q-review-note{margin:23px 0;background:#f8f9fb;border:1px solid #e5e5ea;border-radius:5px;padding:17px 18px;font-size:12px;line-height:1.8;color:#6e6e73}.q-review-note strong{font-weight:500}.q-review-note p{font-size:11px;margin:7px 0 0;color:#6e6e73}.q-review-error{padding:11px 14px;border:1px solid #d9bfa8;background:#fbf1e9;color:#8b5435;font-size:12px;line-height:1.7;border-radius:4px}.q-review-error[hidden]{display:none}.q-module button:disabled,.q-confirm-review button:disabled{cursor:wait;opacity:.6}
@media(max-width:1100px){.q-list-labels,.q-quote-row{grid-template-columns:minmax(140px,1.5fr) 105px 80px 65px 175px;gap:10px}.q-next-step{gap:18px;padding:22px}.q-next-step>.q-button{padding:12px 14px}}
@media(max-width:850px){.q-list-labels,.q-quote-row{grid-template-columns:minmax(130px,1.7fr) 95px 65px 165px}.q-list-toolbar{flex-wrap:wrap;padding-top:10px;padding-bottom:14px;gap:5px 16px}.q-list-search{max-width:none;flex:1;min-width:200px}.q-tabs{flex-shrink:0}.q-next-step{align-items:flex-start;flex-direction:column;gap:17px}.q-next-step p{max-width:none}}
@media(max-width:600px){.q-list-title{padding:19px 16px 4px}.q-list-title h2{font-size:13px}.q-list-title>.q-muted{font-size:10px}.q-list-toolbar{padding-top:0;padding-bottom:16px;gap:2px}.q-tabs{width:100%;max-width:100%;overflow-x:auto}.q-list-search{width:100%;min-width:0;flex:auto}.q-list-labels{display:none}.q-quote-row{grid-template-columns:minmax(0,1fr) auto;gap:14px 10px}.q-quote-number{font-size:9px!important}.q-next-step{padding:19px 17px;margin-bottom:19px}.q-next-step h2{font-size:16px}.q-next-step>.q-button{width:100%;padding:12px 13px}.q-next-step .q-small-label{font-size:9px;letter-spacing:1px}.q-saved-notice{gap:11px;padding:15px}.q-saved-notice strong{font-size:11px}.q-saved-notice p{font-size:10px}.q-review-summary>div{gap:14px}.q-review-summary dd{font-size:12px}.q-review-total dd{font-size:22px}.q-confirm-review .form-actions{flex-wrap:wrap}.q-confirm-review .form-actions>.primary{flex:1}}
@media print{.q-saved-notice,.q-next-step{display:none!important}}
/* Editable quotation cart; the formal sheet is only used by the print view. */
.q-cart-layout{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:24px;align-items:start}.q-cart-main{min-width:0}.q-cart-products{background:#fff;border:1px solid var(--q-line);border-radius:8px;padding:24px;min-width:0}.q-cart-products>.q-panel-heading{padding-bottom:19px;margin-bottom:0;border-bottom:1px solid var(--q-line)}.q-cart-products .q-add-product{font-size:11px!important;padding:9px 13px}.q-cart-summary{position:sticky;top:24px;padding:23px}.q-cart-summary .q-price-adjustments{grid-template-columns:1fr;margin:22px 0;gap:18px}.q-cart-actions{display:grid;gap:11px;margin-top:23px}.q-cart-actions .q-button{white-space:normal;line-height:1.7;text-align:center}.q-save-state{font-size:10px;color:var(--q-copper)}.q-cart-item{padding:24px 0;gap:21px}.q-cart-item:first-child{padding-top:24px}.q-cart-item:last-child{border-bottom:0;padding-bottom:2px}.q-cart-item .q-line-thumb{width:94px;height:117px}.q-cart-item .q-line-thumb img{padding:9px}.q-cart-item .q-line-top strong{font-size:15px;font-weight:500}.q-cart-item .q-line-top p{font-size:10px;margin:7px 0 5px}.q-cart-item .q-line-top small{display:block;font-size:9px;line-height:1.7;color:#6e6e73;overflow-wrap:anywhere}.q-cart-item .q-remove{width:auto;height:auto;margin:0;font-size:10px!important;line-height:1.7;padding:2px 0;color:#6e6e73;flex:none}.q-cart-item .q-line-fields{grid-template-columns:110px minmax(80px,1fr) minmax(70px,1fr);gap:17px;margin-top:18px;align-items:start}.q-cart-item .q-line-fields label{font-size:10px}.q-cart-item .q-line-fields input{height:35px;font-size:12px;margin-top:7px;padding:8px}.q-quantity{display:flex;width:100%;margin-top:7px;border:1px solid #e5e5ea;border-radius:3px;height:35px;overflow:hidden;background:white}.q-cart-item .q-quantity input{width:46px;flex:1;min-width:0;border:0;border-radius:0;padding:5px 2px;margin:0;height:33px;text-align:center;font-size:12px;appearance:textfield;-moz-appearance:textfield}.q-quantity input::-webkit-inner-spin-button,.q-quantity input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.q-quantity button{width:30px;flex:none;border:0;background:#ffffff;color:#1d1d1f;font-size:14px!important;line-height:1}.q-quantity button:hover{background:#f5f5f7}.q-quantity button:disabled{cursor:default;background:#ffffff;color:#6e6e73;opacity:1}.q-cart-item .q-line-amount>span{font-size:10px}.q-cart-item .q-line-amount strong{font-size:14px;margin-top:17px;font-weight:500}.q-cart-picker{margin-top:22px}.q-cart-picker[hidden]{display:none}.q-cart-picker .q-product-grid{grid-template-columns:repeat(3,minmax(0,1fr));max-height:560px;overflow:auto;padding:2px}.q-cart-picker .q-thumb{height:125px}.q-cart-picker .q-product-name{font-size:12px}.q-cart-picker .q-product-info{padding-bottom:42px}.q-cart-picker .q-add-symbol{right:11px;bottom:11px}.q-cart-products .q-selected-empty{margin-top:20px;padding:36px 16px}.q-cart-products .q-selected-empty .q-button{display:flex;width:max-content;margin:20px auto 0}.q-cart-id{border-top:1px solid var(--q-line);padding-top:15px;font-size:9px;line-height:1.9;color:#6e6e73;overflow-wrap:anywhere}.q-readonly-value{display:block;font-size:13px;line-height:1.8;font-weight:500;color:#1d1d1f;margin-top:9px;overflow-wrap:anywhere}.q-cart-item .q-readonly-value{font-size:12px}.q-cart-module .q-saved-notice{max-width:none;margin-bottom:20px}.q-cart-module .q-saved-notice[hidden]{display:none}.q-conflict-notice{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:17px 20px;border:1px solid #ddc8a8;background:#faf2e5;border-radius:5px;margin-bottom:22px}.q-conflict-notice strong{font-size:12px;font-weight:500;color:#8b633b}.q-conflict-notice p{font-size:11px;line-height:1.8;color:#9a805e;margin-top:7px}.q-conflict-notice button{flex:none;font-size:10px!important}.q-cart-module button:disabled{cursor:default}.q-cart-module[aria-busy="true"] button:disabled{cursor:wait}
@media(max-width:1180px){.q-cart-layout{grid-template-columns:minmax(0,1fr) 290px;gap:18px}.q-cart-products,.q-cart-summary{padding:20px}.q-cart-item{gap:15px}.q-cart-item .q-line-thumb{width:75px;height:101px}.q-cart-item .q-line-fields{grid-template-columns:98px minmax(76px,1fr) minmax(60px,1fr);gap:12px}.q-cart-picker .q-product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.q-cart-summary .q-grand-total strong{font-size:25px}.q-conflict-notice{flex-wrap:wrap;gap:14px}}
@media(max-width:950px){.q-cart-layout{grid-template-columns:1fr}.q-cart-summary{position:static}.q-cart-summary .q-price-adjustments{grid-template-columns:1fr 1fr}.q-cart-summary .q-cart-actions{grid-template-columns:1fr 1fr}.q-cart-summary .q-cart-actions>.q-button:only-child{grid-column:1/-1}.q-cart-picker .q-product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.q-cart-item .q-line-thumb{width:94px;height:117px}.q-cart-item .q-line-fields{grid-template-columns:110px 1fr 1fr;gap:20px}.q-cart-module .q-info-panel>.q-form-field:first-child{grid-column:auto;grid-row:auto}.q-cart-module .q-info-panel>.q-form-field:nth-child(2){grid-column:auto;grid-row:auto}.q-cart-module .q-info-panel .q-state-field{grid-column:auto;grid-row:auto}.q-cart-module .q-info-panel{grid-template-columns:1fr 1fr}.q-cart-module .q-info-panel>.q-form-field:first-child{grid-column:1/-1}}
@media(max-width:600px){.q-cart-layout{gap:18px}.q-cart-products,.q-cart-summary{padding:18px}.q-cart-products>.q-panel-heading{padding-bottom:17px}.q-cart-products>.q-panel-heading h2{font-size:13px}.q-cart-products .q-add-product{padding:8px 10px;font-size:10px!important}.q-cart-item{gap:13px;padding:21px 0;align-items:flex-start}.q-cart-item:first-child{padding-top:21px}.q-cart-item .q-line-thumb{width:64px;height:83px}.q-cart-item .q-line-thumb img{padding:5px}.q-cart-item .q-line-top strong{font-size:13px}.q-cart-item .q-line-top p{font-size:9px;line-height:1.7;margin-top:5px}.q-cart-item .q-line-top small{font-size:8px}.q-cart-item .q-line-fields{grid-template-columns:minmax(93px,1fr) minmax(88px,1fr);gap:12px 14px;margin-top:15px}.q-cart-item .q-line-fields input{font-size:16px;height:36px;padding:7px}.q-cart-item .q-line-fields label{font-size:9px}.q-cart-item .q-quantity{height:36px}.q-cart-item .q-quantity input{font-size:16px;height:34px;padding:4px 0}.q-quantity button{width:27px;font-size:13px!important}.q-cart-item .q-line-amount{grid-column:1/-1;display:flex;justify-content:space-between;align-items:baseline;padding-top:2px}.q-cart-item .q-line-amount>span{font-size:9px}.q-cart-item .q-line-amount strong{font-size:14px;margin-top:0}.q-cart-item .q-remove{font-size:9px!important;padding-top:2px}.q-cart-picker{margin-top:18px;padding:17px}.q-cart-picker .q-product-grid{grid-template-columns:repeat(2,minmax(0,1fr));max-height:440px}.q-cart-picker .q-thumb{height:115px}.q-cart-picker .q-search{font-size:16px!important}.q-cart-picker .q-search::placeholder{font-size:11px}.q-cart-picker .q-product-name{font-size:11px}.q-cart-summary .q-price-adjustments{gap:15px}.q-cart-summary .q-cart-actions{grid-template-columns:1fr}.q-cart-summary .q-grand-total strong{font-size:27px}.q-cart-summary .q-form-field input,.q-cart-module .q-info-panel input,.q-cart-module .q-info-panel select{font-size:16px}.q-cart-module .q-info-panel input::placeholder{font-size:11px}.q-cart-module .q-heading-actions .q-button{font-size:11px!important;padding:10px 13px}.q-cart-module .q-saved-notice{padding:14px}.q-cart-module .q-saved-notice strong{font-size:10px}.q-cart-module .q-saved-notice p{font-size:9px}.q-readonly-value{font-size:12px}.q-conflict-notice{padding:15px}.q-conflict-notice button{width:100%;white-space:normal}.q-conflict-notice p{font-size:10px}}
.q-quantity-field{font-size:10px;color:#6e6e73;min-width:0}.q-field-label{display:block}.q-cart-item .q-quantity-field .q-readonly-value{font-size:12px}@media(max-width:600px){.q-quantity-field{font-size:9px}}
@media(max-width:400px){.q-cart-item{display:grid;grid-template-columns:55px minmax(0,1fr);gap:14px}.q-cart-item .q-line-thumb{width:55px;height:75px}.q-cart-item .q-line-main{display:contents}.q-cart-item .q-line-top{grid-column:2;grid-row:1}.q-cart-item .q-line-fields{grid-column:1/-1;grid-row:2;margin-top:0;gap:12px 18px;grid-template-columns:1fr 1fr}}
/* Product selection stays open beside the editable quotation. */
.q-product-drawer{position:fixed;inset:0 auto 0 var(--q-picker-left,0px);margin:0;width:min(600px,90vw);max-width:100vw;height:100vh;height:100dvh;max-height:100vh;max-height:100dvh;border:0;border-right:1px solid var(--q-line);border-radius:0;padding:0;overflow:hidden;color:var(--q-ink);background:#ffffff;box-shadow:16px 0 60px #1d1d1f20}.q-product-drawer::backdrop{background:transparent;backdrop-filter:none}.q-drawer-shell{height:100%;min-height:0;display:flex;flex-direction:column;overflow:hidden}.q-product-drawer .q-drawer-header{position:static;display:flex;align-items:flex-start;justify-content:space-between;gap:22px;padding:26px 28px 22px;border-bottom:0;flex:none;background:#fff;z-index:auto}.q-drawer-header .q-eyebrow{font-size:9px;letter-spacing:1.8px}.q-drawer-header h2{font-size:24px;font-weight:450;line-height:1.4;margin:10px 0 8px;letter-spacing:-.5px}.q-drawer-header p{font-size:11px;line-height:1.8;color:var(--q-muted);margin:0;max-width:405px}.q-product-drawer .q-drawer-close{flex:none;display:inline-flex;align-items:center;justify-content:center;width:35px;height:35px;margin:-6px -7px 0 0;border:0;border-radius:50%;background:transparent;font-size:25px;font-weight:300;line-height:1;color:#6e6e73}.q-product-drawer .q-drawer-close:hover{background:#f5f5f7;color:#1d1d1f}.q-drawer-filters{padding:0 28px 18px;background:#fff;border-bottom:1px solid var(--q-line);flex:none;min-width:0}.q-drawer-search{display:block}.q-drawer-filters .q-search{height:43px;font-size:13px;background:#f8f9fb}.q-drawer-filters .q-category-tabs{margin:15px 0 0;gap:7px;max-height:100px;overflow:auto}.q-drawer-filters .q-category{font-size:10px!important;padding:7px 11px}.q-drawer-catalog-scroll{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:18px 28px 25px;scrollbar-gutter:stable}.q-drawer-catalog-heading{display:flex;justify-content:space-between;align-items:center;font-size:10px;color:#6e6e73;margin-bottom:16px;gap:15px}.q-product-drawer .q-product-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;max-height:none;overflow:visible;padding:0}.q-product-drawer .q-product-card{border-radius:5px;background:#fff;position:relative;min-height:0}.q-product-drawer .q-product-card.is-picked{border-color:#e5e5ea;box-shadow:inset 0 0 0 1px #1d1d1f}.q-product-drawer .q-thumb{height:159px;background:#f8f9fb}.q-product-drawer .q-thumb img{padding:13px}.q-product-drawer .q-product-info{padding:16px 14px 42px;gap:6px}.q-product-drawer .q-product-name{font-size:14px;font-weight:500}.q-product-drawer .q-product-meta{font-size:10px}.q-product-drawer .q-product-price{font-size:13px;margin-top:4px}.q-product-drawer .q-product-price small{font-size:9px}.q-product-drawer .q-add-symbol{bottom:13px;right:13px;width:25px;height:25px;font-size:18px;border-color:#e5e5ea;background:#f8f9fb;color:#0071e3}.q-product-chosen{position:absolute;left:14px;bottom:17px;display:block;font-size:10px;line-height:1.6;color:#6e6e73;font-weight:500}.q-product-chosen[hidden]{display:none}.q-product-drawer .q-catalog-empty{font-size:12px;line-height:1.9;padding:48px 18px;min-height:150px}.q-drawer-footer{flex:none;display:flex;align-items:center;justify-content:space-between;gap:22px;padding:20px 28px max(20px,env(safe-area-inset-bottom));background:white;border-top:1px solid var(--q-line);box-shadow:0 -7px 24px #1d1d1f05;min-width:0}.q-drawer-summary{min-width:0;flex:1}.q-drawer-summary>[data-q-picker-count]{display:block;font-size:10px;line-height:1.8;color:#6e6e73;overflow-wrap:anywhere}.q-drawer-summary>div{display:flex;align-items:baseline;gap:12px;margin:7px 0 5px;flex-wrap:wrap}.q-drawer-summary>div>span{font-size:11px;color:#6e6e73}.q-drawer-summary strong{font-size:24px;line-height:1.3;font-weight:500;letter-spacing:-.5px;font-variant-numeric:tabular-nums;color:#1d1d1f}.q-drawer-summary>small{display:block;font-size:9px;line-height:1.7;color:#6e6e73}.q-drawer-footer>.q-button{flex:none;min-height:44px;padding:12px 18px}.q-sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.q-cart-products .q-cart-empty-compact{display:flex;align-items:center;gap:16px;text-align:left;margin-top:18px;padding:22px 20px;min-height:0}.q-cart-products .q-cart-empty-compact>span{font-size:25px;width:26px;flex:none}.q-cart-empty-compact>div{min-width:0;flex:1}.q-cart-products .q-cart-empty-compact p{margin:0 0 5px;font-size:12px}.q-cart-products .q-cart-empty-compact small{font-size:10px;line-height:1.8}.q-cart-products .q-cart-empty-compact .q-button{display:inline-flex;width:auto;margin:0;font-size:11px!important;padding:10px 14px;flex:none}
@media(max-width:700px){.q-product-drawer{inset:0;margin:0;width:100vw;max-width:100vw;height:100vh;height:100dvh;max-height:100vh;max-height:100dvh;border:0;border-radius:0}.q-product-drawer .q-drawer-header{padding:max(22px,env(safe-area-inset-top)) 20px 18px;gap:15px}.q-drawer-header h2{font-size:23px;margin:8px 0 7px}.q-drawer-header p{font-size:10px;max-width:290px}.q-drawer-header .q-eyebrow{font-size:8px}.q-product-drawer .q-drawer-close{width:40px;height:40px;font-size:27px;margin:-6px -8px 0 0}.q-drawer-filters{padding:0 20px 16px}.q-drawer-filters .q-search{font-size:16px;height:44px}.q-drawer-filters .q-search::placeholder{font-size:12px}.q-drawer-filters .q-category-tabs{flex-wrap:nowrap;max-height:none;overflow-x:auto;padding:2px 0 4px;margin-top:12px;gap:7px}.q-drawer-filters .q-category{font-size:10px!important;padding:8px 11px;flex:none}.q-drawer-catalog-scroll{padding:15px 19px 20px;scrollbar-gutter:auto}.q-drawer-catalog-heading{font-size:9px;margin-bottom:14px}.q-product-drawer .q-product-grid{gap:12px}.q-product-drawer .q-thumb{height:139px}.q-product-drawer .q-thumb img{padding:10px}.q-product-drawer .q-product-info{padding:13px 11px 40px;gap:5px}.q-product-drawer .q-product-name{font-size:12px}.q-product-drawer .q-product-meta{font-size:9px}.q-product-drawer .q-product-price{font-size:12px}.q-product-drawer .q-add-symbol{right:11px;bottom:12px;width:25px;height:25px}.q-product-chosen{left:11px;bottom:16px;font-size:9px}.q-drawer-footer{padding:16px 20px max(16px,env(safe-area-inset-bottom));gap:14px}.q-drawer-summary>[data-q-picker-count]{font-size:9px}.q-drawer-summary>div{gap:8px;margin:6px 0 3px}.q-drawer-summary>div>span{font-size:10px}.q-drawer-summary strong{font-size:22px}.q-drawer-summary>small{font-size:8px}.q-drawer-footer>.q-button{font-size:11px!important;padding:12px 14px;min-height:44px}.q-cart-products .q-cart-empty-compact{gap:12px;flex-wrap:wrap;padding:18px 15px}.q-cart-products .q-cart-empty-compact>span{display:none}.q-cart-products .q-cart-empty-compact p{font-size:11px}.q-cart-products .q-cart-empty-compact small{font-size:9px}.q-cart-products .q-cart-empty-compact .q-button{font-size:10px!important;padding:9px 11px}}
@media(max-width:359px){.q-product-drawer .q-drawer-header{padding-left:16px;padding-right:16px}.q-drawer-filters{padding-left:16px;padding-right:16px}.q-drawer-catalog-scroll{padding-left:15px;padding-right:15px}.q-product-drawer .q-product-grid{gap:10px}.q-product-drawer .q-thumb{height:122px}.q-product-drawer .q-product-info{padding-left:10px;padding-right:10px}.q-drawer-footer{gap:10px;padding-left:16px;padding-right:16px}.q-drawer-summary strong{font-size:20px}.q-drawer-footer>.q-button{padding-left:11px;padding-right:11px;font-size:10px!important}}
@media print{.q-product-drawer{display:none!important}}

/* Searchable customer selection keeps the quotation cart in place. */
.q-customer-choice{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;height:41px;min-height:41px;margin-top:8px;padding:9px 11px;text-align:left;background:#fff;border:1px solid #e5e5ea;border-radius:4px;color:var(--q-ink);font:inherit;cursor:pointer}
.q-customer-choice:hover{border-color:#e5e5ea;background:#ffffff}.q-customer-choice:focus-visible{outline:2px solid var(--q-copper);outline-offset:2px}
.q-customer-choice-main{display:flex;align-items:center;justify-content:space-between;gap:10px;min-width:0;flex:1}.q-customer-choice-main strong{min-width:0;font-size:12px;font-weight:400;line-height:1.6;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.q-customer-choice-main small{min-width:0;margin:0;font-size:10px;font-weight:400;color:var(--q-muted);line-height:1.6;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:right}.q-customer-choice-action{flex:none;color:var(--q-copper);font-size:10px;white-space:nowrap}
@media(max-width:600px){.q-customer-choice{gap:8px;padding:9px 10px}.q-customer-choice-main{gap:6px}.q-customer-choice-main strong{font-size:12px}.q-customer-choice-main small{font-size:9px}.q-customer-choice-action{font-size:9px}}

/* The product rail stays beside the quote; its handle remains reachable when folded. */
.q-cart-module{--q-picker-left:var(--sidebar,0px);--q-picker-width:min(560px,40vw)}
.dealer-mode .q-cart-module{--q-picker-left:0px}
.q-product-drawer{z-index:40;box-shadow:6px 0 24px #1d1d1f09}
.q-catalog-toggle{position:fixed;z-index:41;left:var(--q-picker-left,0px);top:50%;transform:translateY(-50%);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;width:30px;min-height:76px;padding:9px 4px;border:1px solid #e5e5ea;border-left:0;border-radius:0 7px 7px 0;background:#fff;color:#0071e3;box-shadow:3px 1px 12px #1d1d1f08}
.q-catalog-toggle:hover{background:#f5f5f7}.q-catalog-toggle svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;flex:none}.q-catalog-toggle span{font-size:10px;line-height:1.5;writing-mode:vertical-rl;letter-spacing:2px}
.q-catalog-toggle svg{transform:rotate(180deg)}
.q-cart-module.is-picker-open .q-catalog-toggle svg{transform:rotate(0deg)}
.q-product-drawer .q-drawer-header{padding:14px 18px 8px}
.q-product-drawer .q-drawer-header h2{font-size:20px;margin:0}
.q-product-drawer .q-drawer-header p{display:none}
.q-product-drawer .q-drawer-filters{padding:0 18px 10px}
.q-product-drawer .q-category-tabs{margin-top:8px;gap:6px;max-height:88px}
.q-product-drawer .q-category{padding:6px 9px}
.q-product-drawer .q-drawer-catalog-scroll{padding:10px 16px 16px}
.q-product-drawer .q-drawer-catalog-heading{margin-bottom:10px}
.q-product-drawer .q-product-grid{grid-template-columns:repeat(auto-fill,minmax(136px,1fr));gap:10px}
.q-product-drawer .q-thumb{height:clamp(68px,10vh,100px)}
.q-product-drawer .q-thumb img{padding:7px}
.q-product-drawer .q-product-info{padding:8px 10px 9px;gap:3px}
.q-product-drawer .q-product-name{font-size:12px;position:relative;padding-right:17px}
.q-product-stock-dot{position:absolute;right:0;top:.5em;width:5px;height:5px;border-radius:50%;background:#dba954;pointer-events:auto}
.q-product-stock-dot.is-available{background:#0071e3}
.q-product-drawer .q-product-price{margin-top:1px;padding-right:24px}

.q-product-drawer .q-add-symbol{bottom:10px;right:8px;width:23px;height:23px}
.q-product-drawer .q-product-chosen{top:7px;bottom:auto;left:7px;padding:2px 5px;border-radius:3px;background:#fffffff0}
.q-model-navigation{position:sticky;top:0;z-index:2;display:flex;align-items:center;flex-wrap:wrap;gap:8px 12px;min-width:0;margin:0 0 12px;padding:9px 0 12px;border-bottom:1px solid var(--q-line);background:#ffffff}
.q-model-navigation[hidden]{display:none}
.q-model-back{display:inline-flex;align-items:center;justify-content:center;flex:none;min-height:32px;padding:6px 9px;border:1px solid #e5e5ea;border-radius:4px;background:#fff;color:#6e6e73;font-size:10px!important;line-height:1.6}
.q-model-back:hover{background:#f8f9fb;border-color:#e5e5ea}
.q-model-navigation>strong{flex:1;min-width:120px;font-size:12px;font-weight:500;line-height:1.6;overflow-wrap:anywhere}
.q-model-navigation>small{font-size:10px;color:var(--q-muted);line-height:1.6}
.q-product-drawer .q-drawer-footer{padding:9px 18px max(9px,env(safe-area-inset-bottom))}
.q-product-drawer .q-drawer-summary{display:flex;align-items:center;justify-content:space-between;gap:12px}
.q-product-drawer .q-drawer-summary>div{justify-content:flex-end;margin:0}
.q-product-drawer .q-drawer-summary strong{font-size:22px}
.q-product-drawer .q-drawer-summary>small{display:none}
@media(min-width:1101px){
  .q-cart-module.is-picker-open{margin-left:calc(var(--q-picker-width) + 12px);margin-right:0}
  .q-product-drawer{inset:74px auto 0 var(--q-picker-left,0px);width:var(--q-picker-width);height:calc(100dvh - 74px);max-height:calc(100dvh - 74px)}
  .q-cart-module.is-picker-open .q-catalog-toggle{left:calc(var(--q-picker-left,0px) + var(--q-picker-width))}
  .q-cart-module.is-picker-open .q-heading{align-items:flex-start;flex-wrap:wrap;gap:14px}
  .q-cart-module.is-picker-open .q-info-panel{grid-template-columns:1fr 1fr}
  .q-cart-module.is-picker-open .q-info-panel>.q-form-field{grid-column:auto;grid-row:auto}
  .q-cart-module.is-picker-open .q-info-panel>.q-form-field:first-child{grid-column:1/-1}
}
@media(min-width:1101px) and (max-width:1700px){
  .q-cart-module.is-picker-open .q-cart-layout{grid-template-columns:minmax(0,1fr)}
  .q-cart-module.is-picker-open .q-cart-summary{position:static}
}
@media(max-width:1100px){
  .q-cart-module:not(.is-picker-open):has(.q-catalog-toggle){padding-left:12px}
  .q-catalog-toggle svg{transform:rotate(90deg)}
  .q-cart-module.is-picker-open{padding-bottom:57dvh}
  .q-product-drawer{inset:auto 0 0;margin:0;width:100%;max-width:100%;height:55dvh;max-height:55dvh;border:1px solid var(--q-line);border-bottom:0;box-shadow:0 -5px 22px #1d1d1f15}
  .q-cart-module.is-picker-open .q-catalog-toggle{top:auto;bottom:55dvh;left:18px;transform:none;flex-direction:row;width:78px;min-height:30px;padding:5px 8px;border:1px solid #e5e5ea;border-bottom:0;border-radius:7px 7px 0 0}
  .q-cart-module.is-picker-open .q-catalog-toggle svg{transform:rotate(-90deg)}
  .q-cart-module.is-picker-open .q-catalog-toggle span{writing-mode:horizontal-tb;letter-spacing:0}
  .q-product-drawer .q-drawer-header{padding:10px 20px 6px}
  .q-product-drawer .q-drawer-header h2{font-size:17px;margin:0 0 3px}
  .q-product-drawer .q-drawer-header p{display:none}
  .q-product-drawer .q-drawer-filters{padding:0 20px 8px}
  .q-drawer-filters .q-category-tabs{margin-top:7px}
  .q-product-drawer .q-drawer-footer{padding:10px 20px max(10px,env(safe-area-inset-bottom))}
}
@media(max-width:700px){
  .q-cart-module:not(.is-picker-open):has(.q-catalog-toggle){padding-left:18px}
  .q-model-back{min-height:38px}
  .q-product-drawer .q-product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .q-product-drawer .q-thumb{height:82px}
  .q-product-drawer .q-category-tabs{max-height:none;flex-wrap:nowrap}
}
@media print{.q-catalog-toggle{display:none!important}}

/* Compact quotation rows share the approved 64px desktop geometry. */
.q-cart-products{container-type:inline-size;container-name:quote-cart}
.q-cart-products [data-q-items]{--q-quantity-column:64px}
.q-cart-products [data-q-items]:has([data-q-line-metres]){--q-quantity-column:104px}
.q-cart-item{--q-quantity-width:64px;--q-line-fields-width:calc(190px + var(--q-quantity-column,64px));display:grid;grid-template-columns:48px minmax(0,1fr) 52px;gap:12px;padding:7.5px 0;min-height:64px;align-items:center;position:relative}
.q-cart-item:first-child{padding-top:7.5px}
.q-cart-item:not(:has(.q-line-more)){grid-template-columns:48px minmax(0,1fr)}
.q-cart-item.has-item-discount{--q-line-fields-width:calc(246px + var(--q-quantity-column,64px))}
.q-cart-item .q-line-thumb{width:48px;height:48px;align-self:center;border-radius:5px}
.q-cart-item .q-line-thumb img{padding:3px}
.q-cart-item .q-line-main{display:grid;grid-template-columns:minmax(0,1fr) var(--q-line-fields-width);gap:14px;align-items:center;min-width:0}
.q-cart-item .q-line-top{display:block;position:relative;min-width:0;min-height:38px;grid-column:auto;grid-row:auto}
.q-cart-item .q-line-top>div{min-width:0}
.q-cart-item .q-line-top strong{display:block;font-size:13px;line-height:20px;font-weight:600;min-width:0}
.q-cart-item .q-line-top .document-product-name{display:block;max-width:100%;width:fit-content;font-size:13px;line-height:20px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.q-cart-item .q-line-top p{margin:0;font-size:11px;line-height:18px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.q-cart-item .q-line-top p:has(.q-line-color){display:flex;align-items:center;gap:3px}
.q-cart-item .q-line-top .q-line-color{display:inline-block;flex:0 1 auto;min-width:0;text-align:left;vertical-align:bottom;max-width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:11px;line-height:18px}
.q-cart-item .q-line-top>div:has(>.q-demo-badge) strong{padding-right:36px}
.q-cart-item .q-line-top>div:has(>.q-temporary-label) strong{padding-right:44px}
.q-cart-item .q-line-top .q-demo-badge,.q-cart-item .q-line-top .q-temporary-label{position:absolute;top:1px;right:0;display:inline-block;margin:0;padding:1px 4px;font-size:9px;line-height:14px;white-space:nowrap}
.q-cart-item .q-exempt-badge{font-size:9px;line-height:14px;padding:1px 4px;vertical-align:middle}
.q-cart-item .q-line-top p:has(.q-exempt-badge:not([hidden])){position:relative;padding-right:62px}
.q-cart-item .q-line-top p>.q-exempt-badge:not([hidden]){position:absolute;right:0;bottom:1px}
.q-cart-item .q-line-options{position:absolute;left:0;bottom:0;display:flex;align-items:center;gap:10px;flex-wrap:nowrap;visibility:hidden;white-space:nowrap;background:#f7faff}
.q-cart-item .q-discount-exempt{display:inline-flex;align-items:center;gap:4px;font-size:11px;line-height:18px;color:#6e6e73;cursor:pointer;white-space:nowrap}
.q-cart-item .q-discount-exempt input{width:12px;height:12px;min-height:0;margin:0;padding:0;accent-color:var(--q-copper);flex:none;cursor:pointer}
.q-exempt-badge{font-size:10px;color:#6e6e73;background:#f8f9fb;border-radius:3px;padding:3px 7px;line-height:1.5}
.q-cart-item .q-line-fields{display:grid;grid-template-columns:82px var(--q-quantity-column,64px) minmax(80px,1fr);gap:14px;width:100%;max-width:100%;margin:0;align-items:start;min-width:0;grid-column:auto;grid-row:auto}
.q-cart-item.has-item-discount .q-line-fields{grid-template-columns:82px 54px var(--q-quantity-column,64px) minmax(80px,1fr);gap:10px}
.q-cart-item .q-unit-price,.q-cart-item .q-quantity-field{min-width:0;font-size:11px;color:var(--q-muted)}
.q-cart-item .q-field-label,.q-cart-item .q-line-amount>span{display:block;font-size:11px;color:var(--q-muted);line-height:14px;white-space:nowrap}
.q-cart-item .q-unit-price .q-readonly-value,.q-cart-item .q-quantity-field .q-readonly-value{display:flex;align-items:center;min-height:26px;margin:3px 0 0;font-size:14px;line-height:1.4;font-weight:500;font-variant-numeric:tabular-nums;white-space:normal;overflow-wrap:anywhere}
.q-cart-products .q-cart-item .q-demo-price input{width:100%;max-width:100%;height:26px;margin-top:3px;border-radius:4px;padding:2px 7px;font-size:12px}
.q-cart-item .q-quantity{display:flex;align-items:center;width:var(--q-quantity-width);max-width:100%;height:32px;margin:0 auto;flex:none}
.q-cart-item .q-quantity button{width:25px;min-height:26px;padding:0;flex:none;font-size:14px!important}
.q-cart-item .q-quantity input{width:0;flex:1;min-width:0;height:30px;margin:0;padding:0 2px;font-size:13px;text-align:center;font-variant-numeric:tabular-nums}
.q-cart-item .q-line-original:not([hidden]),.q-cart-item .q-demo-discount:not([hidden]){position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.q-cart-item .q-line-amount{display:block;min-height:43px;grid-column:auto;grid-row:auto;text-align:right;padding:0;border:0}
.q-cart-item .q-line-amount strong{display:flex;align-items:center;justify-content:flex-end;min-height:26px;margin:3px 0 0;font-size:14px;line-height:1.4;font-weight:600;white-space:normal;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
.q-cart-item .q-line-more{display:inline-flex;align-items:center;justify-content:center;gap:3px;align-self:center;width:52px;height:30px;min-height:0;padding:0 4px;border:1px solid transparent;border-radius:4px;background:transparent;color:#6e6e73;font-size:12px;line-height:1;white-space:nowrap}
.q-cart-item .q-line-more svg{width:10px;height:10px;flex:none}
.q-cart-item .q-line-more[aria-expanded=true] svg{transform:rotate(180deg)}
.q-cart-item .q-line-more:hover,.q-cart-item .q-line-more[aria-expanded=true]{border-color:#dce9f8;background:#edf5ff;color:#0071e3}
.q-cart-item.q-line-menu-open{z-index:30}
.q-cart-item.q-line-menu-open .q-line-top{position:static}
.q-cart-item.q-line-menu-open .q-line-options{left:auto;right:0;top:calc(100% - 8px);bottom:auto;min-width:166px;padding:5px;visibility:visible;display:flex;flex-direction:column;align-items:stretch;gap:0;background:#fff;border:1px solid #e5e5ea;border-radius:7px;box-shadow:0 7px 24px #1d1d1f1c;z-index:31}
.q-cart-item.q-line-menu-open.q-line-menu-up .q-line-options{top:auto;bottom:calc(100% - 8px)}
.q-cart-item.q-line-menu-open .q-line-options>button,.q-cart-item.q-line-menu-open .q-line-options>label{display:flex;align-items:center;min-height:34px;width:100%;padding:7px 9px;border:0;border-radius:4px;background:transparent;text-align:left;font-size:12px!important;line-height:20px}
.q-cart-item.q-line-menu-open .q-line-options>button:hover,.q-cart-item.q-line-menu-open .q-line-options>label:hover{background:#f5f8fd}
.q-cart-item.q-line-menu-open .q-line-options .q-remove{color:#b43e3e}
.q-cart-item.q-line-menu-open .q-discount-exempt[aria-pressed=true]{color:#0071e3}
.q-print-original-price{display:block;margin-top:5px;font-size:9px;color:#6e6e73}
@container quote-cart (min-width:520px) and (max-width:599px){
  .q-cart-products [data-q-items]{--q-quantity-column:56px}
  .q-cart-products [data-q-items]:has([data-q-line-metres]){--q-quantity-column:96px}
  .q-cart-item{--q-quantity-width:56px;--q-line-fields-width:calc(160px + var(--q-quantity-column,56px))}
  .q-cart-item.has-item-discount{--q-line-fields-width:calc(214px + var(--q-quantity-column,56px))}
  .q-cart-item .q-line-main{gap:12px}
  .q-cart-item .q-line-fields{grid-template-columns:70px var(--q-quantity-column,56px) minmax(70px,1fr);gap:10px}
  .q-cart-item.has-item-discount .q-line-fields{grid-template-columns:70px 50px var(--q-quantity-column,56px) minmax(70px,1fr);gap:8px}
}
@media(hover:hover){
  @container quote-cart (min-width:700px){
    .q-cart-item:has(.q-line-more):hover{background:#f7faff}
  }
}
@container quote-cart (max-width:519px){
  .q-cart-products [data-q-items]{--q-quantity-column:104px}
  .q-cart-products [data-q-items]:has([data-q-line-metres]){--q-quantity-column:144px}
  .q-cart-item{--q-quantity-width:104px;grid-template-columns:48px minmax(0,1fr) 52px;gap:10px;padding:10px 0;align-items:start}
  .q-cart-item:first-child{padding-top:10px}
  .q-cart-item .q-line-main{display:contents}
  .q-cart-item .q-line-top{grid-column:2;grid-row:1}
  .q-cart-item .q-line-more{grid-column:3;grid-row:1;align-self:center}
  .q-cart-item .q-line-fields{grid-column:1/-1;grid-row:2;grid-template-columns:minmax(0,1fr) var(--q-quantity-column,104px) minmax(0,1fr);gap:10px;width:100%}
  .q-cart-item.has-item-discount .q-line-fields{grid-template-columns:minmax(0,1fr) 54px var(--q-quantity-column,104px) minmax(0,1fr);gap:8px}
}
@container quote-cart (max-width:419px){
  .q-cart-item.has-item-discount .q-line-fields{grid-template-columns:minmax(0,1fr) var(--q-quantity-column,104px);gap:10px}
  .q-cart-item.has-item-discount .q-unit-price{grid-column:1;grid-row:1}
  .q-cart-item.has-item-discount .q-quantity-field{grid-column:2;grid-row:1}
  .q-cart-item.has-item-discount .q-line-discount{grid-column:1;grid-row:2;display:flex;align-items:center;gap:8px}
  .q-cart-item.has-item-discount .q-discount-input{width:64px;margin-top:0;flex:none}
  .q-cart-item.has-item-discount .q-line-amount{grid-column:2;grid-row:2;display:flex;align-items:center;justify-content:space-between;gap:6px;min-height:32px}
  .q-cart-item.has-item-discount .q-line-amount strong{margin-top:0}
}
@media(max-width:600px){
  .q-cart-item .q-quantity{height:36px}
  .q-cart-item .q-quantity button{width:28px;min-height:34px}
  .q-cart-item .q-quantity input{height:34px;font-size:16px}
  .q-cart-products .q-cart-item .q-demo-price input{height:36px;font-size:16px}
  .q-cart-item .q-line-more{height:36px}
}

/* A single header aligns image, name and financial columns across the list. */
.q-cart-columns{--q-line-fields-width:calc(190px + var(--q-quantity-column,64px));display:grid;grid-template-columns:48px minmax(0,1fr) 52px;gap:12px;align-items:center;padding:8px 0;border-bottom:1px solid #e5e5ea;color:#858991;font-size:11px;line-height:18px}
.q-cart-columns.is-readonly{grid-template-columns:48px minmax(0,1fr)}
.q-cart-columns:has(.q-column-discount){--q-line-fields-width:calc(246px + var(--q-quantity-column,64px))}
.q-cart-columns .q-column-image{text-align:center}
.q-columns-main{display:grid;grid-template-columns:minmax(0,1fr) var(--q-line-fields-width);gap:14px;align-items:center;min-width:0}
.q-columns-fields{display:grid;grid-template-columns:82px var(--q-quantity-column,64px) minmax(80px,1fr);gap:14px;align-items:center}
.q-cart-columns:has(.q-column-discount) .q-columns-fields{grid-template-columns:82px 54px var(--q-quantity-column,64px) minmax(80px,1fr);gap:10px}
.q-columns-fields .q-column-quantity{text-align:center}
.q-columns-fields .q-column-amount{text-align:right}
.q-cart-item .q-quantity-unit{flex:none;padding-right:6px;font-size:11px;line-height:1;color:#6e6e73}
.q-cart-item .q-quantity-field .q-readonly-value{justify-content:center}
.q-cart-products:has(.q-cart-columns)>.q-panel-heading{border-bottom:0;margin-bottom:4px;padding-bottom:0}
@container quote-cart (min-width:520px){
  .q-cart-item .q-field-label,.q-cart-item .q-line-amount>span{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
  .q-cart-item .q-unit-price .q-readonly-value,.q-cart-item .q-quantity-field .q-readonly-value,.q-cart-item .q-line-discount .q-readonly-value,.q-cart-item .q-line-amount strong{margin:0;min-height:32px;align-items:center}
  .q-cart-item .q-line-amount{min-height:32px}
  .q-cart-item .q-unit-price,.q-cart-item .q-quantity-field,.q-cart-item .q-line-discount{align-self:center}
  .q-cart-products .q-cart-item .q-demo-price input{height:32px;margin-top:0;font-size:13px}
  .q-cart-products .q-cart-item .q-discount-input{height:32px;margin-top:0}
  .q-cart-products .q-cart-item .q-discount-input input{height:30px}
}
@container quote-cart (min-width:520px) and (max-width:599px){
  .q-cart-columns{--q-line-fields-width:calc(160px + var(--q-quantity-column,56px))}
  .q-cart-columns:has(.q-column-discount){--q-line-fields-width:calc(214px + var(--q-quantity-column,56px))}
  .q-columns-main{gap:12px}
  .q-columns-fields{grid-template-columns:70px var(--q-quantity-column,56px) minmax(70px,1fr);gap:10px}
  .q-cart-columns:has(.q-column-discount) .q-columns-fields{grid-template-columns:70px 50px var(--q-quantity-column,56px) minmax(70px,1fr);gap:8px}
}
@container quote-cart (max-width:519px){.q-cart-columns{display:none}}

/* Size quotation columns from the available panel width, including the sidebar. */
.q-list-panel{container-type:inline-size;container-name:quote-list}
.q-list-panel .q-list-labels{display:none}
.q-list-panel .q-quote-row{grid-template-columns:minmax(0,1fr) auto;gap:10px 16px;padding:16px 20px}
.q-list-panel .q-quote-identity{min-width:0;grid-column:1;grid-row:1}
.q-list-panel .q-quote-title{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.q-list-panel .q-quote-identity p{margin-top:4px}
.q-list-panel .q-quote-money{grid-column:2;grid-row:1;align-self:start;margin-top:2px;text-align:right;white-space:nowrap}
.q-list-panel .q-quote-date{display:block;grid-column:1;grid-row:2;font-size:10px}
.q-list-panel .q-quote-row>.q-status{grid-column:2;grid-row:2;justify-self:end}
.q-list-panel .q-row-actions{grid-column:1/-1;grid-row:3;justify-content:flex-end;align-items:center;gap:8px 12px;border-top:1px solid var(--q-line);padding-top:10px;min-width:0}
@container quote-list (min-width:720px){
  .q-list-panel .q-list-labels,.q-list-panel .q-quote-row{grid-template-columns:minmax(180px,1fr) 110px 74px 220px;gap:12px;padding-left:22px;padding-right:22px}
  .q-list-panel .q-list-labels{display:grid;padding-top:12px;padding-bottom:12px}
  .q-list-panel .q-list-labels>span:nth-child(2){text-align:right}
  .q-list-panel .q-list-labels>span:nth-child(3),.q-list-panel .q-quote-date{display:none}
  .q-list-panel .q-list-labels>span:nth-child(4){text-align:center}
  .q-list-panel .q-list-labels>span:last-child{text-align:right}
  .q-list-panel .q-quote-row>*{grid-column:auto;grid-row:auto;align-self:center;margin-top:0}
  .q-list-panel .q-quote-row>.q-status{grid-column:auto;grid-row:auto;justify-self:center}
  .q-list-panel .q-row-actions{border-top:0;padding-top:0}
}
@container quote-list (min-width:1000px){
  .q-list-panel .q-list-labels,.q-list-panel .q-quote-row{grid-template-columns:minmax(240px,1.4fr) 130px 110px 80px minmax(280px,1fr);gap:16px}
  .q-list-panel .q-list-labels>span:nth-child(3),.q-list-panel .q-quote-date{display:block;text-align:center}
  .q-list-panel .q-row-actions{flex-wrap:nowrap}
}

/* Fixed catalog prices, saved discount changes, and repeatable quotation fees. */
.q-unit-price .q-readonly-value{margin-top:7px;min-height:35px;display:flex;align-items:center;font-variant-numeric:tabular-nums;white-space:nowrap}
.q-discount-summary{display:flex;align-items:center;justify-content:space-between;gap:12px}
.q-discount-summary>div>span{display:block;font-size:11px;color:var(--q-muted)}
.q-discount-summary strong{display:block;font-size:20px;line-height:1.4;font-weight:500;margin-top:8px}.q-discount-summary small{font-size:10px;font-weight:400;color:var(--q-muted);margin-left:9px}
.q-discount-summary .q-button{padding:9px 12px}
.q-discount-panel,.q-fees-panel{margin-top:20px;border:1px solid var(--q-line);background:#fff;border-radius:8px;padding:24px}
.q-fees-panel{container-type:inline-size;container-name:quote-fees}
.q-fees-panel>.q-panel-heading{gap:14px;flex-wrap:wrap;margin-bottom:4px}.q-fee-actions{display:flex;align-items:center;gap:16px;flex-wrap:wrap}.q-fee-actions .q-text-button{color:var(--q-copper)}
.q-fee-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:14px 12px;padding:19px 0;border-bottom:1px solid var(--q-line);align-items:end}
.q-fee-row .q-form-field{min-width:0;font-size:10px}.q-fee-row .q-form-field input,.q-fee-row .q-form-field select{width:100%;min-width:0;margin-top:7px;font-size:12px;padding:9px 8px;height:36px}
.q-fee-name{grid-column:1/-1}.q-fee-result{min-width:0;display:flex;align-items:baseline;gap:12px;font-size:10px;color:var(--q-muted);min-height:24px}.q-fee-result strong{font-size:13px;font-weight:500;color:var(--q-ink);overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
.q-fee-row-actions{display:flex;align-items:center;justify-content:flex-end;gap:14px;min-height:24px}.q-fee-row-actions .q-text-button{font-size:10px!important}.q-fee-row-actions .q-remove{font-size:19px!important;padding:0;width:24px;height:24px;flex:none}
.q-fees-empty{padding:20px 0;font-size:12px;color:#6e6e73}.q-fee-note{font-size:10px;line-height:1.8;color:var(--q-muted);margin:15px 0 0}.q-fee-basis{display:block;margin-top:5px;font-size:9px;color:#6e6e73;font-weight:400}
.q-fee-readonly{display:flex;justify-content:space-between;gap:16px;padding:18px 0;border-bottom:1px solid var(--q-line);font-size:12px}.q-fee-readonly strong{font-weight:500}.q-fee-readonly small{display:block;margin-top:7px;font-size:10px;color:var(--q-muted)}
.q-template-manager .q-template-list{max-height:260px;overflow:auto;margin-bottom:20px}.q-template-row{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:15px 0;border-bottom:1px solid #e5e5ea}.q-template-row>div:first-child{min-width:0}.q-template-row strong{font-size:13px;font-weight:500;overflow-wrap:anywhere}.q-template-row small{display:block;font-size:11px;color:#6e6e73;margin-top:7px}.q-template-row>div:last-child{display:flex;gap:12px;align-items:center;flex:none}.q-template-row .button{font-size:11px;padding:7px 10px}.q-template-manager h3{font-size:14px;font-weight:500;margin-bottom:16px}.q-template-fields{display:grid;grid-template-columns:1fr 1fr;gap:16px}.q-template-name{grid-column:1/-1}.q-template-manager .q-text-button{font-size:11px!important}
@container quote-fees (min-width:500px){.q-fee-row{grid-template-columns:minmax(110px,1.1fr) minmax(130px,1.1fr) minmax(80px,.7fr)}.q-fee-name{grid-column:auto}.q-fee-result{grid-column:1/3}.q-fee-row-actions{grid-column:3}}
@container quote-fees (min-width:780px){.q-fee-row{grid-template-columns:minmax(130px,1.3fr) minmax(130px,1.1fr) 95px minmax(90px,1fr) auto}.q-fee-result{grid-column:auto;flex-direction:column;gap:8px;align-items:flex-end;min-height:54px;justify-content:flex-end}.q-fee-row-actions{grid-column:auto;min-height:36px}}
@media(max-width:600px){.q-discount-panel,.q-fees-panel{padding:18px}.q-fee-row .q-form-field input,.q-fee-row .q-form-field select{font-size:16px}.q-template-row{align-items:flex-start;flex-direction:column}.q-template-fields input,.q-template-fields select{font-size:16px}.q-fee-actions{gap:12px}.q-fees-panel>.q-panel-heading h2{font-size:13px}}

/* Quotation totals always follow products, discounts and fees. */
.q-cart-module .q-cart-layout{grid-template-columns:minmax(0,1fr);container-type:inline-size;container-name:quote-workspace}
.q-cart-module .q-cart-summary{position:static;min-width:0}
.q-cart-summary .q-selection-note{margin-bottom:0}
.q-cart-summary .q-cart-id{margin-top:14px}
@container quote-workspace (min-width:540px){
  .q-cart-summary .q-totals{display:grid;grid-template-columns:repeat(3,minmax(0,1fr)) minmax(130px,1.4fr);gap:18px;padding-top:20px}
  .q-cart-summary .q-totals>div{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:12px;margin:0;padding:0;border:0;font-size:10px}
  .q-cart-summary .q-totals>div strong{font-size:17px;line-height:1.4}
  .q-cart-summary .q-totals .q-grand-total{align-items:flex-end;padding-left:18px;border-left:1px solid var(--q-line)}
  .q-cart-summary .q-totals .q-grand-total strong{font-size:25px}
  .q-cart-summary .q-cart-actions{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:10px;margin-top:22px}
  .q-cart-summary .q-save-wide{width:auto;min-width:170px;gap:24px}
  .q-cart-summary .q-selection-note{text-align:right}
}

/* Choosing a saved fee is the default; setup stays behind template management. */
.q-template-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:18px}
.q-template-toolbar p{font-size:12px;line-height:1.8;color:#6e6e73;margin:0;min-width:0}
.q-template-toolbar>button{flex:none;white-space:nowrap}
.q-template-choices{display:grid;gap:10px;max-height:min(420px,50dvh)!important;margin-bottom:0!important}
.q-template-choice{width:100%;display:flex;align-items:center;justify-content:space-between;gap:20px;text-align:left;padding:17px 18px;background:#fff;border:1px solid #e5e5ea;border-radius:6px;cursor:pointer}
.q-template-choice:hover{border-color:#e5e5ea;background:#f8f9fb}
.q-template-choice:focus-visible{outline:2px solid #0071e3;outline-offset:2px}
.q-template-choice>span:first-child{min-width:0}
.q-template-choice strong{display:block;font-size:14px;font-weight:500;color:#1d1d1f;overflow-wrap:anywhere}
.q-template-choice small{display:block;font-size:11px;line-height:1.6;color:#6e6e73;margin-top:7px}
.q-template-add{font-size:12px;color:#6e6e73;white-space:nowrap;flex:none}
@media(max-width:600px){.q-template-toolbar{gap:12px}.q-template-toolbar p{font-size:11px}.q-template-toolbar>.button{font-size:11px;padding:8px 10px}.q-template-choice{padding:15px 13px;gap:12px}.q-template-choice strong{font-size:13px}.q-template-choice small{font-size:10px}}
/* Customer groups share the quotation columns; each child keeps its own actions. */
.q-list-panel .q-customer-summary{width:100%;text-align:left;color:inherit;background:#fff;border:0;border-top:1px solid #e5e5ea;border-radius:0;cursor:pointer;font:inherit}
.q-list-panel .q-customer-summary:hover,.q-list-panel .q-customer-summary[aria-expanded="true"]{background:#f8f9fb}
.q-customer-summary:focus-visible{outline:2px solid #0071e3;outline-offset:-3px}
.q-customer-name{display:block;font-size:13px;font-weight:600;line-height:1.6;overflow-wrap:anywhere}
.q-customer-meta,.q-customer-latest{display:block;font-size:10px;line-height:1.7;margin-top:4px;color:#6e6e73;overflow-wrap:anywhere}
.q-customer-latest{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%}
.q-customer-summary .q-quote-money small{display:block;font-size:9px;font-weight:400;color:#6e6e73;margin-bottom:4px}
.q-list-panel .q-customer-expand{font-size:11px;color:#6e6e73;white-space:nowrap;gap:8px}
.q-customer-chevron{display:inline-block;font-size:17px;line-height:1;transition:transform .15s}
.q-customer-summary[aria-expanded="true"] .q-customer-chevron{transform:rotate(180deg)}
.q-customer-quotes[hidden]{display:none!important}
.q-customer-quotes{background:#ffffff;border-top:1px solid #e5e5ea}
.q-list-panel .q-customer-quotes .q-quote-row{padding-left:38px;position:relative;background:transparent}
.q-customer-quotes .q-quote-row::before{content:'';position:absolute;left:21px;top:22px;bottom:22px;width:2px;background:#f5f5f7}
.q-customer-quotes .q-quote-row:first-child{border-top:0}
.q-list-panel .q-customer-single .q-customer-quote-title{color:#6e6e73}
@container quote-list (max-width:719px){.q-list-panel .q-customer-quotes .q-quote-row{padding-left:28px}.q-customer-quotes .q-quote-row::before{left:14px}.q-customer-name{font-size:12px}.q-list-panel .q-customer-expand{padding-top:8px}}

/* Keep the original scale; give customer and quote details a consistent hierarchy. */
.q-list-panel .q-customer-summary .q-quote-identity{display:flex;flex-direction:column}
.q-list-panel .q-customer-summary .q-customer-meta{order:3}
.q-list-panel .q-customer-name,.q-list-panel .q-quote-title{color:#1d1d1f;font-weight:600}
.q-list-panel .q-customer-latest,.q-list-panel .q-customer-single .q-customer-quote-title{color:#6e6e73}
.q-list-panel .q-quote-money{font-weight:600;color:#1d1d1f}
.q-list-panel .q-customer-expand{font-weight:500}

/* Saved quotations share one editable status; keep the two identity fields balanced. */
.q-cart-module .q-info-panel.q-info-editable{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
.q-cart-module .q-info-panel.q-info-editable>.q-form-field:nth-child(n){grid-column:auto;grid-row:auto}
@media(max-width:700px){.q-cart-module .q-info-panel.q-info-editable{grid-template-columns:minmax(0,1fr)}}
/* Quotation lists show the customer's shared sales follow-up state. */
.q-list-panel .q-list-toolbar{flex-wrap:wrap;padding-top:12px;padding-bottom:12px;gap:12px 16px}
.q-followup-filter{display:flex;flex:1 1 420px;min-width:0;flex-wrap:wrap;gap:7px}
.q-followup-filter button{min-height:36px;max-width:100%;border:1px solid #e5e5ea;border-radius:4px;background:#fff;color:#6e6e73;padding:7px 12px;font-size:11px;line-height:1.6;overflow-wrap:anywhere}
.q-followup-filter button:hover{border-color:#e5e5ea;background:#f8f9fb}
.q-followup-filter button[aria-pressed="true"]{background:#eaf3ff;border-color:#b8d6f6;color:#0071e3;font-weight:600}
.q-list-panel .q-list-search{flex:0 1 260px}
.q-list-panel .q-followup-state{display:flex;align-items:center;justify-content:center;min-width:0;max-width:110px;padding:0;background:transparent;border-radius:0}
.q-followup-state .c-followup-badges{padding:0;min-width:0;max-width:100%}
.q-followup-state .c-signed-badge{flex:none}
@container quote-list (min-width:720px){.q-list-panel .q-list-labels,.q-list-panel .q-quote-row{grid-template-columns:minmax(150px,1fr) 110px 110px 220px}}
@container quote-list (min-width:1000px){.q-list-panel .q-list-labels,.q-list-panel .q-quote-row{grid-template-columns:minmax(210px,1.4fr) 110px 110px 130px 244px}}
@media(max-width:600px){.q-list-panel .q-list-toolbar{gap:10px}.q-followup-filter{flex-basis:100%;gap:7px}.q-followup-filter button{min-height:38px;font-size:12px}.q-list-panel .q-list-search{flex-basis:100%;width:100%;max-width:none}}

/* Customer, follow-up, date, amount, actions; hide only the date on compact tables. */
.q-list-panel .q-list-labels>span:nth-child(2){text-align:center}
.q-list-panel .q-list-labels>span:nth-child(3){display:none;text-align:center}
.q-list-panel .q-list-labels>span:nth-child(4){display:block;text-align:right}
@container quote-list (min-width:1000px){.q-list-panel .q-list-labels>span:nth-child(3){display:block}}
/* Printed proposal: original layout with the official logo and compact product details. */
.q-sheet-brand{display:flex;align-items:center;flex-shrink:0}
.q-sheet-brand>img{display:block;width:88px;height:29px;object-fit:contain}
.q-sheet-product{display:flex;align-items:center;gap:13px}
.q-sheet-thumb{display:block;width:56px;height:56px;flex:0 0 56px;object-fit:contain}
.q-sheet-product-copy{min-width:0;overflow-wrap:anywhere}
.q-sheet-table .q-sheet-product-brand{width:12%;text-align:center;white-space:normal;overflow-wrap:anywhere;padding-left:12px;padding-right:12px}
@media screen and (max-width:600px){
  .q-sheet-brand>img{width:73px;height:auto}
  .q-sheet-table{min-width:550px}
  .q-sheet-product{gap:10px}
  .q-sheet-thumb{width:46px;height:46px;flex-basis:46px}
}
@media print{
  body.q-print-active .q-sheet-table{min-width:0}
  body.q-print-active .q-sheet-table td:first-child{padding-left:0}
  body.q-print-active .q-sheet-table .q-sheet-product-brand{padding-left:12px;padding-right:12px}
  body.q-print-active .q-sheet-thumb{width:14mm;height:14mm;flex-basis:14mm}
}
/* Separate brand, specification, and product illustration in the quotation sheet. */
.q-sheet-table th.q-sheet-product-brand,.q-sheet-table td.q-sheet-product-brand{width:10%;text-align:left;padding-left:12px;padding-right:12px}
.q-sheet-table th.q-sheet-product-spec,.q-sheet-table td.q-sheet-product-spec{width:30%;text-align:left;white-space:normal;padding-left:12px;padding-right:12px;overflow-wrap:anywhere}
.q-sheet-table th.q-sheet-product-image,.q-sheet-table td.q-sheet-product-image{width:14%;text-align:center;padding-left:8px;padding-right:8px}
.q-sheet-product-image .q-sheet-thumb{margin:0 auto}
.q-sheet-table th:nth-child(4){width:18%}
.q-sheet-table th:nth-child(5){width:10%}
.q-sheet-table th:nth-child(6){width:18%}
@media print{body.q-print-active .q-sheet-table th.q-sheet-product-brand,body.q-print-active .q-sheet-table td.q-sheet-product-brand{padding-left:12px}body.q-print-active .q-sheet-table .q-sheet-product-image{padding-left:8px;padding-right:8px}}
.q-product-add-actions{display:flex;align-items:center;justify-content:flex-end;gap:16px;flex-wrap:wrap}
.q-location-entry-button{white-space:nowrap;color:#6e6e73}
.q-location-guide{font-size:11px;line-height:18px;color:#858993;margin:0 0 14px}
.q-location-legacy-warning{margin:0 0 9px;padding:9px 12px;border:1px solid #f1cc83;border-radius:6px;background:#fff8e9;color:#8b570b;font-size:12px;line-height:18px}
.q-room-groups{display:flex;flex-direction:column;gap:14px}
.q-location-group{min-width:0;border:1px solid #dfe3e9;border-radius:8px;padding:0 14px;background:#fff;container-type:inline-size;container-name:quote-cart;transition:border-color .15s,background-color .15s}
.q-location-group.is-add-target{border-color:#8dbdf1;box-shadow:inset 3px 0 #0071e3}
.q-location-group.is-drop-target{border-color:#0071e3;background:#f0f7ff;box-shadow:inset 3px 0 #0071e3,0 0 0 1px #0071e3}
.q-location-group-header{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:48px;padding:10px 0;border-bottom:1px solid #e5e8ed}
.q-location-group-title{display:flex;align-items:center;gap:8px;flex-wrap:wrap;min-width:0}
.q-location-group-title h3{margin:0;font-size:14px;line-height:22px;font-weight:600;overflow-wrap:anywhere}
.q-location-group-title>span{font-size:11px;color:#858993;white-space:nowrap}
.q-location-group-title .q-location-subtotal,.q-location-group-title .q-location-floor-total{color:#637184;font-size:11px;white-space:nowrap}
.q-location-group-title .q-location-subtotal strong,.q-location-group-title .q-location-floor-total strong{color:#303b4b;font-weight:600}
.q-sheet-location-subtotal{margin-left:12px;font-size:10px;font-weight:400;color:#637184;white-space:normal}
.q-location-active-badge{padding:2px 6px;border-radius:4px;background:#eaf3ff;color:#0071e3;font-size:10px;line-height:16px;white-space:nowrap}
.q-location-group-actions{display:flex;align-items:center;gap:14px;flex-shrink:0}
.q-location-group-actions .q-text-button{padding:4px 0;font-size:11px;color:#6e6e73;white-space:nowrap}
.q-location-group-actions [aria-pressed="true"]{color:#0071e3;font-weight:600}
.q-location-group-actions button:focus-visible{outline:2px solid #0071e3;outline-offset:3px;border-radius:3px}
.q-location-group .q-cart-columns{margin:0;border-top:0}
.q-location-items{min-height:0}
.q-location-items .q-cart-item:last-child{border-bottom:0}
.q-location-drop-empty{margin:10px 0;padding:15px 8px;border:1px dashed #dce4ef;border-radius:5px;text-align:center;font-size:11px;color:#858993;line-height:18px}
.q-location-drop-empty[hidden]{display:none}
.q-selected-items .q-cart-item[hidden]{display:none}
.q-curtain-summary{padding:8px 0}
@media(max-width:600px){.q-location-group{padding:0 10px}.q-location-group-header{align-items:flex-start;flex-wrap:wrap;gap:4px}.q-location-group-actions{margin-left:auto}.q-location-group-title h3{font-size:13px}.q-location-guide{margin-bottom:10px}}
@media(prefers-reduced-motion:reduce){.q-location-group{transition:none}}
.q-location-dialog{box-sizing:border-box;width:min(560px,calc(100vw - 32px));max-height:calc(100dvh - 48px);padding:0;border:1px solid #dfe3e9;border-radius:14px;background:#fff;color:#1d1d1f;box-shadow:0 20px 70px #13263d30;overflow:auto;font-family:inherit}
.q-location-dialog::backdrop{background:#16243835}
.q-location-dialog[open]{display:block}
.q-location-dialog header{display:flex;justify-content:space-between;gap:16px;padding:22px 24px 18px;border-bottom:1px solid #e8ebef}
.q-location-dialog h2{margin:0;font-size:18px;font-weight:650}
.q-location-dialog header p{font-size:12px;color:#6e6e73;margin:6px 0 0;overflow-wrap:anywhere}
.q-location-dialog button,.q-location-dialog input,.q-location-dialog select{font:inherit;box-sizing:border-box}
.q-location-dialog button{cursor:pointer;border:1px solid #dfe3e9;border-radius:6px;background:white;padding:7px 12px;color:#515763;font-size:13px}
.q-location-dialog header>button{border:0;padding:0;width:28px;height:28px;flex-shrink:0;font-size:24px;background:#f5f5f7;color:#6e6e73}
.q-location-dialog button:focus-visible,.q-location-dialog input:focus-visible,.q-location-dialog select:focus-visible{outline:2px solid #0071e3;outline-offset:2px}
.q-location-dialog form{padding:18px 24px 20px}
.q-location-toggle{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px}
.q-location-toggle strong{font-size:14px;font-weight:600;display:block}
.q-location-toggle small{font-size:11px;color:#858993;display:block;margin-top:4px}
.q-location-toggle input{appearance:none;-webkit-appearance:none;width:34px;height:20px;flex-shrink:0;border-radius:12px;border:0;background:#d7dce4;cursor:pointer;position:relative;margin:0;transition:background .15s}
.q-location-toggle input::after{content:"";position:absolute;left:3px;top:3px;width:14px;height:14px;border-radius:50%;background:#fff;box-shadow:0 1px 3px #0002;transition:transform .15s}
.q-location-toggle input:checked{background:#0071e3}
.q-location-toggle input:checked::after{transform:translateX(14px)}
.q-location-list{max-height:230px;overflow:auto;margin:0 0 16px;padding:3px}
.q-location-entry{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.35fr) auto;align-items:center;gap:10px;padding:8px 0;border-bottom:1px solid #edf0f4;font-size:13px}
.q-location-entry input{min-width:0;width:100%;height:36px;padding:7px 10px;border:1px solid transparent;border-radius:6px;background:transparent;color:#1d1d1f;font-size:13px;transition:border-color .15s,background .15s;cursor:text}
.q-location-entry .q-location-inline-floor{font-weight:600}
.q-location-entry input::placeholder{color:#858993;font-weight:400}
.q-location-entry .q-location-inline-floor:hover,.q-location-entry .q-location-inline-floor:focus{border-color:#d7dee8;background:#fff}
.q-location-entry button[data-location-remove]{padding:6px 0;border:0;color:#858993;font-size:12px;white-space:nowrap}
.q-location-entry button[data-location-remove]:hover{color:#b84030}
.q-location-empty{font-size:12px;color:#858993;padding:16px 0;margin:0}
.q-location-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.q-location-fields label{font-size:12px;color:#515763;min-width:0}
.q-location-fields label small{font-size:11px;color:#858993}
.q-location-fields input{display:block;margin-top:7px;width:100%;height:36px;padding:7px 10px;border:1px solid #d7dee8;border-radius:6px;font-size:13px;color:#1d1d1f}
.q-location-room-control{min-width:0}
.q-location-room-field{display:flex;align-items:stretch;box-sizing:border-box;height:36px;margin-top:7px;min-width:0;border:1px solid #d7dee8;border-radius:6px;background:#fff;transition:border-color .15s,box-shadow .15s}
.q-location-room-field:focus-within{border-color:#0071e3;box-shadow:0 0 0 3px #0071e31a}
.q-location-dialog .q-location-room-field input:focus-visible,.q-location-dialog .q-location-room-field button:focus-visible{outline:none;box-shadow:none}
.q-location-room-field input{flex:1;min-width:0;height:34px;margin:0;border:0;border-radius:5px 0 0 5px;background:transparent}
.q-location-dialog .q-location-room-field button{display:inline-flex;align-items:center;justify-content:center;gap:8px;flex:none;width:64px;height:34px;margin:0;padding:0 6px;border:0;border-left:1px solid #e8ebef;border-radius:0 5px 5px 0;background:#f7f9fc;color:#515763;font-size:12px;cursor:pointer}
.q-location-room-field button svg{width:12px;height:12px;fill:none;stroke:currentColor;stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round}
.q-location-room-field button[aria-expanded="true"] svg{transform:rotate(180deg)}
.q-location-dialog .q-location-room-field button:hover{background:#eef5ff;color:#0071e3}
.q-location-entry .q-location-room-field{margin-top:0;border-color:transparent;background:transparent}
.q-location-entry .q-location-room-field:hover{border-color:#d7dee8;background:#fff}
.q-location-entry .q-location-room-field:focus-within{border-color:#0071e3;background:#fff}
.q-location-entry .q-location-room-field input{height:34px;border:0;border-radius:5px 0 0 5px}
.q-location-entry .q-location-room-field button{width:58px;gap:4px;font-size:11px;white-space:nowrap}
.q-location-entry .q-location-room-field button svg{flex:none}
.q-location-presets{display:flex;gap:6px;align-items:center;flex-wrap:wrap;margin:10px 0}
.q-location-presets button{padding:4px 9px;font-size:11px}
.q-location-presets [data-location-add]{margin-left:auto;border:0;padding-right:0;color:#0071e3}
.q-location-hint{font-size:11px;color:#858993;margin:8px 0;overflow-wrap:anywhere}
.q-location-dialog footer{display:flex;justify-content:flex-end;gap:10px;margin-top:18px;padding-top:16px;border-top:1px solid #e8ebef}
.q-location-dialog button.is-primary{background:#0071e3;border-color:#0071e3;color:white}
.q-location-error{font-size:12px;color:#b84030;margin:10px 0}
.q-location-choices{display:grid;gap:4px;padding:14px 24px 22px;max-height:360px;overflow:auto}
.q-location-choices button{display:flex;justify-content:space-between;gap:10px;text-align:left;border:0;padding:10px 12px;overflow-wrap:anywhere}
.q-location-choices button[aria-pressed="true"]{color:#0071e3;background:#eef6ff}
.q-location-assignment .q-location-error{margin:0 24px 18px}
@media(max-width:600px){.q-location-dialog header{padding:18px}.q-location-dialog form{padding:16px 18px}.q-location-fields input,.q-location-entry input{font-size:16px}.q-location-entry{grid-template-columns:minmax(0,.8fr) minmax(0,1.4fr) auto;gap:6px}.q-location-entry input{padding-left:6px;padding-right:6px}.q-location-entry .q-location-room-field button{width:50px;gap:3px;padding:0 4px}.q-product-add-actions:has(.q-location-entry-button){gap:10px}}
@media(prefers-reduced-motion:reduce){.q-location-toggle input,.q-location-toggle input::after{transition:none}}
.q-product-add-actions>[data-q-action="temporary"]{color:var(--q-copper);min-height:34px;white-space:nowrap}

/* Editable room shortcuts are local preferences, separate from quote locations. */
.q-room-presets-dialog{position:fixed;inset:auto;box-sizing:border-box;width:min(360px,calc(100vw - 24px));max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);margin:0;padding:0;border:1px solid #dfe3e9;border-radius:10px;background:#fff;color:#1d1d1f;box-shadow:0 10px 32px #13263d33;font-family:inherit;overflow:hidden}
.q-room-presets-dialog[open]{display:flex;flex-direction:column}
.q-room-presets-dialog::backdrop{background:transparent;backdrop-filter:none}
.q-room-presets-dialog *{box-sizing:border-box}
.q-room-presets-dialog button,.q-room-presets-dialog input{font:inherit;font-size:12px}
.q-room-presets-dialog button{cursor:pointer}
.q-room-presets-heading{display:flex;align-items:center;gap:10px;flex:none;padding:12px 14px;border-bottom:1px solid #edf0f4}
.q-room-presets-heading h3{flex:1;margin:0;font-size:14px;font-weight:600}
.q-room-presets-mode{display:inline-flex;align-items:center;justify-content:center;min-width:24px;min-height:24px;padding:4px 0;border:0;border-radius:5px;background:transparent;color:#0071e3}
.q-room-presets-mode[data-room-presets-manage]{color:#7b8796}
.q-room-presets-mode:hover{color:#0071e3;background:#eaf3ff}
.q-room-presets-close{width:24px;height:24px;padding:0;border:0;border-radius:5px;background:#f5f5f7;color:#6e6e73;font-size:20px!important;line-height:22px}
.q-room-presets-list{position:relative;display:flex;flex-wrap:wrap;align-items:flex-start;align-content:flex-start;gap:6px;min-height:0;max-height:264px;overflow:auto;padding:12px 14px;overscroll-behavior:contain;scrollbar-width:thin}
.q-room-preset-choice{flex:none;min-height:32px;max-width:100%;padding:6px 10px;border:1px solid #e7eaf0;border-radius:5px;background:#f7f9fc;color:#515763;line-height:1.5;overflow-wrap:anywhere}
.q-room-preset-choice:hover,.q-room-preset-choice[aria-pressed="true"]{border-color:#b8d6f6;background:#eaf3ff;color:#0071e3}
.q-room-presets-list.is-managing{max-height:264px}
.q-room-preset-row{display:flex;flex:none;align-items:center;min-width:0;max-width:100%;min-height:32px;border:1px solid #e0e6ed;border-radius:6px;background:#f7f9fc;overflow:hidden}
.q-room-preset-row>button{display:inline-flex;align-items:center;justify-content:center;gap:4px;flex:none;min-height:30px;padding:4px 7px;border:0;background:transparent;color:#515763;font-size:12px}
.q-room-preset-row>.q-room-preset-edit{flex:1;min-width:0;padding-right:4px}
.q-room-preset-edit>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.q-room-preset-edit>svg{flex:none;color:#8a95a4}
.q-room-preset-edit:hover,.q-room-preset-edit:hover>svg{color:#0071e3;background:#eaf3ff}
.q-room-preset-row>.q-room-preset-remove{width:24px;padding:4px;color:#939dab}
.q-room-preset-row>.q-room-preset-remove:hover{color:#c34439;background:#fff0ee}
.q-room-preset-row.is-editing{flex-basis:100%;gap:5px;padding:4px;background:#fff;border-color:#b8d6f6;overflow:visible}
.q-room-preset-row.is-editing>button{color:#0071e3}
.q-room-presets-dialog input{flex:1;min-width:0;width:100%;height:30px;margin:0;padding:5px 8px;border:1px solid #d7dee8;border-radius:5px;color:#1d1d1f;background:#fff}
.q-room-preset-add{display:flex;align-items:center;gap:8px;flex:none;padding:10px 14px 0;border-top:1px solid #edf0f4}
.q-room-preset-add>button{flex:none;height:30px;padding:0 10px;border:1px solid #b8d6f6;border-radius:5px;background:#eaf3ff;color:#0071e3}
.q-room-presets-hint{flex:none;margin:0;padding:9px 14px 12px;font-size:11px;line-height:1.6;color:#858993}
.q-room-presets-error{flex:none;margin:8px 14px 0;font-size:12px;line-height:1.5;color:#b84030}
.q-room-presets-error[hidden]{display:none}
.q-room-presets-empty{grid-column:1/-1;margin:12px 0;font-size:12px;line-height:1.6;color:#858993}
.q-room-presets-dialog button:focus-visible,.q-room-presets-dialog input:focus-visible{outline:2px solid #0071e3;outline-offset:1px}
.q-room-presets-dialog [data-room-preset-drag]:not(.is-editing),.q-room-presets-dialog .q-room-preset-edit{cursor:grab;touch-action:none;user-select:none;-webkit-user-select:none}
.q-room-preset-row:focus-within{border-color:#0071e3}
.q-room-presets-list.is-room-preset-sorting{cursor:grabbing}
.q-room-presets-list.is-room-preset-sorting>[data-room-preset-drag]{pointer-events:none}
.q-room-presets-list>.is-room-preset-dragging{opacity:.25;border-style:dashed;border-color:#0071e3}
.q-room-preset-drag-ghost{position:fixed;z-index:10;display:flex;align-items:center;justify-content:center;padding:4px 8px;border:1px solid #0071e3;border-radius:6px;background:#eaf3ff;color:#0071e3;box-shadow:0 6px 18px #16365b33;font-size:12px;line-height:1.5;overflow:hidden;overflow-wrap:anywhere;pointer-events:none;cursor:grabbing}
@media(max-width:600px){.q-room-presets-dialog input{font-size:16px}.q-room-preset-choice{min-height:36px}}

/* Swap an existing quotation line to another recorded color of the same model. */
.q-module .q-line-color{display:inline;padding:0 1px;border:0;border-bottom:1px dashed #e5e5ea;border-radius:0;background:transparent;color:#6e6e73;font:inherit;line-height:inherit}
.q-module .q-line-color:hover{color:#1d1d1f;border-bottom-style:solid}
.q-line-color>span{font-size:11px}
dialog:has([data-q-color-picker]){width:650px;max-width:calc(100% - 24px)}
.q-color-intro,.q-color-help{font-size:12px;color:#6e6e73;line-height:1.8;margin:0 0 16px}
.q-color-help{margin:17px 0 0}
.q-color-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;max-height:52dvh;overflow:auto;padding:2px}
.q-color-choice{display:flex;align-items:center;flex-direction:column;gap:8px;min-width:0;padding:13px 10px;border:1px solid #e5e5ea;border-radius:4px;background:#fff;text-align:center}
.q-color-choice:hover:not(:disabled){border-color:#e5e5ea;background:#f8f9fb}
.q-color-choice[aria-pressed="true"]{border-color:#b8d6f6;background:#eaf3ff;opacity:1}
.q-color-choice:disabled:not([aria-pressed="true"]){opacity:.55;cursor:not-allowed}
.q-color-choice .q-thumb{width:100%;height:88px;background:transparent;flex:none}
.q-color-choice img{width:100%;height:88px;object-fit:contain}
.q-color-choice>strong{font-size:12px;font-weight:500;overflow-wrap:anywhere}
.q-color-choice-note,.q-color-choice>small{font-size:10px;color:#6e6e73;line-height:1.7;overflow-wrap:anywhere}
.q-color-choice:focus-visible{outline:2px solid #0071e3;outline-offset:2px}
@media(max-width:600px){.q-color-choices{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}}

/* Reusable quotation product lists. */
dialog:has([data-product-templates]){width:900px;max-width:calc(100% - 24px)}
.q-product-templates{font-size:13px}
.q-pt-toolbar,.q-pt-editor-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:22px}
.q-pt-toolbar p,.q-pt-editor-toolbar p{font-size:12px;color:#6e6e73;line-height:1.7;margin:0}
.q-pt-toolbar>.button{flex:none}
.q-pt-templates{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;max-height:55dvh;overflow:auto}
.q-pt-card{border:1px solid #e5e5ea;border-radius:6px;padding:20px;background:#ffffff;min-width:0}
.q-pt-card-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:18px}
.q-pt-card-heading>div{min-width:0}
.q-pt-card h3,.q-pt-selection h3{font-size:15px;font-weight:500;margin:0;overflow-wrap:anywhere}
.q-pt-card-heading p{font-size:11px;color:#6e6e73;margin:8px 0 0}
.q-pt-card ul{list-style:none;padding:0;margin:0}
.q-pt-card li{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:12px;line-height:1.6;padding:6px 0}
.q-pt-line-name{flex:1;min-width:0;overflow-wrap:anywhere}
.q-pt-card li>span:last-child{white-space:nowrap;color:#6e6e73}
.q-pt-thumb{display:block;flex:none;width:48px;height:48px;object-fit:contain;padding:5px;border:1px solid #e5e5ea;border-radius:5px;background:#fff}
.q-pt-card .q-pt-thumb{width:36px;height:36px;padding:3px}
.q-pt-more{margin-top:8px;font-size:11px;color:#6e6e73}
.q-pt-more summary{cursor:pointer}
.q-pt-card-footer{border-top:1px solid #e5e5ea;margin-top:18px;padding-top:15px;display:flex;align-items:center;justify-content:space-between;gap:12px}
.q-pt-card-footer>span{font-size:10px;line-height:1.6;color:#6e6e73}
.q-pt-card-footer .button{min-height:34px;padding:7px 12px;font-size:12px;color:#0071e3;border-color:#e5e5ea}
.q-product-templates button:disabled{opacity:.5;cursor:not-allowed}
.q-product-templates .q-text-button{font-size:12px;color:#0071e3;white-space:nowrap}
.q-pt-empty{padding:32px 20px;text-align:center;font-size:12px;color:#6e6e73;line-height:1.8}
.q-pt-welcome{grid-column:1/-1;border:1px dashed #e5e5ea;border-radius:6px;background:#ffffff;padding:55px 20px}
.q-pt-welcome strong{font-weight:500;font-size:16px;color:#1d1d1f}
.q-pt-welcome p{margin:10px 0 0}
.q-pt-note{font-size:11px;color:#6e6e73;line-height:1.8;margin:18px 0 0}
.q-pt-editor-toolbar{margin:20px 0 14px}
.q-pt-editor{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);border:1px solid #e5e5ea;border-radius:6px;overflow:hidden}
.q-pt-catalog{padding:18px;background:#ffffff;border-right:1px solid #e5e5ea;min-width:0}
.q-pt-catalog .q-form-field input{background:white}
.q-pt-count{font-size:11px;color:#6e6e73;margin:14px 0 8px}
.q-pt-products{max-height:300px;overflow:auto}
.q-pt-product{display:flex;align-items:center;justify-content:space-between;text-align:left;width:100%;gap:12px;padding:13px 7px;border-bottom:1px solid #e5e5ea;border-radius:3px}
.q-pt-product:hover{background:#f5f5f7}
.q-pt-product:focus-visible{outline:2px solid #0071e3;outline-offset:-2px}
.q-pt-product-info{flex:1;min-width:0}
.q-pt-product strong,.q-pt-item strong{display:block;font-size:12px;font-weight:500;line-height:1.5;overflow-wrap:anywhere}
.q-pt-product small,.q-pt-item small{display:block;font-size:10px;color:#6e6e73;line-height:1.6;margin-top:5px}
.q-pt-product>span:last-child{font-size:20px;color:#6e6e73;flex:none}
.q-pt-selection{padding:20px;min-width:0}
.q-pt-selection h3{font-size:13px;margin-bottom:14px}
.q-pt-items{max-height:330px;overflow:auto}
.q-pt-item{display:grid;grid-template-columns:minmax(0,1fr) 66px 30px;align-items:center;gap:10px;padding:14px 0;border-bottom:1px solid #e5e5ea}
.q-pt-item-identity{display:flex;align-items:center;gap:10px;min-width:0}
.q-pt-item-identity>div{min-width:0}
.q-pt-item .q-pt-thumb{width:44px;height:44px}
.q-pt-item input{width:100%;min-width:0;padding:8px 5px;border:1px solid #e5e5ea;border-radius:3px;text-align:center;background:white}
.q-pt-item.is-unavailable small{color:#6e6e73}
.q-pt-summary{font-size:12px;color:#6e6e73;margin:20px 0 0;line-height:1.7}
@media(max-width:650px){
  .q-pt-templates{grid-template-columns:minmax(0,1fr)}
  .q-pt-toolbar,.q-pt-editor-toolbar{align-items:flex-start;flex-direction:column;gap:12px}
  .q-pt-editor{grid-template-columns:minmax(0,1fr)}
  .q-pt-catalog{border-right:0;border-bottom:1px solid #e5e5ea;padding:14px}
  .q-pt-products{max-height:170px}
  .q-pt-selection{padding:16px}
  .q-pt-items{max-height:250px}
  .q-pt-card{padding:16px}
  .q-pt-card-footer{flex-wrap:wrap}
  .q-pt-thumb{width:42px;height:42px}
  .q-pt-item .q-pt-thumb{width:36px;height:36px;padding:3px}
  .q-pt-item{grid-template-columns:minmax(0,1fr) 56px 28px;gap:8px}
  .q-pt-item-identity{gap:8px}
}
.q-cart-item .q-temporary-label{color:#6e6e73}
.q-cart-item [data-q-temporary-edit]{font-size:10px!important;color:var(--q-copper)}

/* A quotation can contain separate new-stock and display-unit lines. */
.q-demo-filter{display:inline-flex;align-items:center;gap:5px;min-height:24px;margin-left:auto;padding:0;color:#6e6e73;font-size:10px;line-height:1.4;white-space:nowrap;flex:none;cursor:pointer}
.q-demo-filter input{width:12px;height:12px;margin:0;accent-color:var(--q-copper);flex:none}
.q-demo-filter:hover,.q-demo-filter:focus-within,.q-demo-filter:has(input:checked){color:var(--q-copper)}
.q-demo-badge{display:inline-flex;align-items:center;vertical-align:middle;margin-left:7px;padding:2px 6px;border:1px solid #e5e5ea;border-radius:3px;background:#f8f9fb;color:#6e6e73;font-size:9px;font-weight:500;line-height:1.5;white-space:nowrap}
.q-product-name .q-demo-badge{display:table;margin:6px 0 0}
.q-product-drawer .q-product-card:disabled{opacity:.72;cursor:default}
.q-cart-item .q-demo-price input{width:100%;max-width:118px;height:32px;margin-top:6px;border:1px solid #e5e5ea;border-radius:3px;padding:5px 8px;font-size:14px;color:var(--q-ink);font-variant-numeric:tabular-nums;background:#fff}
.q-demo-discount{display:block;margin-top:5px;font-size:10px;line-height:1.5;color:var(--q-copper);font-variant-numeric:tabular-nums}
.q-demo-discount[hidden]{display:none}
.q-cart-item .q-unit-price [data-q-demo-discount][hidden]{display:none}
.q-manual-price-edit{display:contents}
.q-manual-price-edit>summary,.q-manual-price-edit>label>span{display:none}
.q-manual-price-edit[data-discounted="true"]{display:block;margin-top:2px}
.q-manual-price-edit[data-discounted="true"]>summary{display:list-item;width:max-content;color:var(--q-copper);font-size:11px;line-height:18px;cursor:pointer}
.q-manual-price-edit[data-discounted="true"]>label>span{display:block;font-size:10px;color:var(--q-muted);margin-top:4px}
@media(max-width:600px){.q-cart-item .q-demo-price input{height:36px;font-size:16px}.q-demo-filter{min-height:28px}}
.q-temporary-form .q-form-field{margin-bottom:0}
.q-temporary-fields{display:grid;grid-template-columns:1.4fr 1fr .8fr;gap:16px;margin-top:18px}
.q-unit-field>label{display:block;margin:0;line-height:inherit}
.q-unit-picker{position:relative;min-width:0;margin-top:8px}
.q-unit-control{position:relative;min-width:0}
.q-unit-field .q-unit-control>input{display:block;margin-top:0;padding-right:36px}
.q-unit-control>.q-unit-toggle{position:absolute;top:1px;right:1px;bottom:1px;display:flex;align-items:center;justify-content:center;width:31px;padding:0;border:0;border-left:1px solid #e5e5ea;border-radius:0 3px 3px 0;background:#f8f9fb;color:#0071e3;font-size:17px;line-height:1;cursor:pointer}
.q-unit-control>.q-unit-toggle:hover,.q-unit-control>.q-unit-toggle[aria-expanded="true"]{background:#f5f5f7;color:#0062c4}
.q-unit-menu{position:absolute;z-index:20;top:calc(100% + 6px);right:0;width:max(100%,160px);min-width:160px;max-width:calc(100vw - 40px);padding:5px;border:1px solid #e5e5ea;border-radius:5px;background:#ffffff;box-shadow:0 8px 24px #1d1d1f24;color:#6e6e73}
.q-unit-menu[hidden]{display:none}
.q-unit-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;max-height:144px;overflow-y:auto;overscroll-behavior:contain;padding:3px}
.q-unit-menu .q-unit-option{min-width:0;min-height:30px;padding:5px 8px;border:1px solid transparent;border-radius:3px;background:transparent;color:#6e6e73;font-size:12px;line-height:1.5;text-align:center;overflow-wrap:anywhere;cursor:pointer}
.q-unit-menu .q-unit-option:hover{background:#f5f5f7;color:#1d1d1f}
.q-unit-menu .q-unit-option[aria-selected="true"]{border-color:#b8d6f6;background:#eaf3ff;color:#0071e3;font-weight:500}
.q-unit-menu .q-unit-option.is-active{border-color:#b8d6f6;background:#eaf3ff;color:#0071e3}
.q-unit-menu .q-unit-manual{display:block;width:100%;min-height:34px;margin-top:4px;padding:8px 7px;border:0;border-top:1px solid #e5e5ea;border-radius:0 0 3px 3px;background:transparent;color:var(--q-copper,#6e6e73);font-size:11px;line-height:1.6;text-align:left;cursor:pointer}
.q-unit-menu .q-unit-manual:hover{background:#f5f5f7;color:#1d1d1f}
.q-unit-menu .q-unit-option:focus-visible,.q-unit-menu .q-unit-manual:focus-visible,.q-unit-control>.q-unit-toggle:focus-visible{outline:2px solid var(--q-copper,#0071e3);outline-offset:-2px}
.q-unit-manager{min-width:0;color:#6e6e73}
.q-unit-manager-note{margin:0 0 17px;font-size:11px;line-height:1.9;color:#6e6e73}
.q-unit-add{margin:0 0 16px;padding:13px 14px;border:1px solid #e5e5ea;border-radius:4px;background:#f8f9fb}
.q-unit-add>label{display:block;margin-bottom:8px;font-size:11px;line-height:1.7;color:#6e6e73}
.q-unit-add>div{display:flex;align-items:stretch;gap:9px;min-width:0}
.q-unit-add input{flex:1;width:0;min-width:0;height:40px;margin:0;padding:9px 11px;border:1px solid #e5e5ea;border-radius:3px;background:#ffffff;color:#1d1d1f;font-size:13px}
.q-unit-add input::placeholder{color:#6e6e73;font-size:11px}
.q-unit-add .button{flex:none;min-height:40px;padding:8px 17px;border-color:#e5e5ea;background:#f5f5f7;color:#0071e3;font-size:11px}
.q-unit-add .button:hover:not(:disabled){background:#f5f5f7;border-color:#e5e5ea}
.q-unit-manager-list{max-height:min(40vh,320px);overflow-y:auto;overscroll-behavior:contain;border:1px solid #e5e5ea;border-radius:4px;background:#ffffff;scroll-padding-block:8px}
.q-unit-row{display:flex;align-items:center;gap:10px;min-width:0;min-height:46px;padding:7px 10px;border-bottom:1px solid #e5e5ea;background:#ffffff}
.q-unit-row:last-child{border-bottom:0}
.q-unit-row.is-dragging{opacity:.42;background:#eaf3ff}
.q-unit-row.is-drag-over{background:#f5f5f7;box-shadow:inset 0 2px 0 #1d1d1f}
.q-unit-row>.q-unit-drag{display:inline-flex;align-items:center;justify-content:center;flex:none;width:26px;min-height:30px;padding:0;border:0;border-radius:3px;background:transparent;color:#6e6e73;font-size:20px;line-height:1;cursor:grab;user-select:none;touch-action:none}
.q-unit-row>.q-unit-drag:hover{background:#f5f5f7;color:#6e6e73}
.q-unit-row>.q-unit-drag:active,.q-unit-row.is-dragging>.q-unit-drag{cursor:grabbing}
.q-unit-name{flex:1;min-width:0;font-size:12px;font-weight:500;line-height:1.7;color:#1d1d1f;overflow-wrap:anywhere}
.q-unit-row-actions{display:flex;align-items:center;gap:4px;flex:none}
.q-unit-row-actions>button{display:inline-flex;align-items:center;justify-content:center;width:30px;min-height:30px;padding:4px;border:1px solid #e5e5ea;border-radius:3px;background:#f8f9fb;color:#0071e3;font-size:13px;line-height:1.5}
.q-unit-row-actions>button:hover:not(:disabled){border-color:#e5e5ea;background:#f5f5f7;color:#0062c4}
.q-unit-row-actions>.q-unit-delete{width:auto;padding:5px 9px;border-color:transparent;background:transparent;color:#6e6e73;font-size:10px}
.q-unit-row-actions>.q-unit-delete:hover:not(:disabled){border-color:#e3cec0;background:#faf0e7;color:#986247}
.q-unit-row-actions>button:disabled{opacity:.32;cursor:default}
.q-unit-manager button:focus-visible{outline:2px solid var(--q-copper,#0071e3);outline-offset:-2px}
.q-unit-manager-empty{margin:0;padding:30px 15px;border:1px dashed #e5e5ea;border-radius:4px;background:#f8f9fb;color:#6e6e73;font-size:11px;line-height:1.9;text-align:center}
.q-unit-manager .q-review-error{margin-top:15px}
.q-unit-manager-status{margin:12px 0 0;font-size:11px;line-height:1.8;color:#6e6e73;overflow-wrap:anywhere}
.q-unit-manager-status:empty{display:none}
.q-unit-manager .form-actions{margin-top:22px}
.q-temporary-form[hidden],.q-unit-manager[hidden],.q-unit-manager [hidden]{display:none}
.q-temporary-extra{margin-top:20px;border-top:1px solid var(--line);padding-top:13px}
.q-temporary-extra>summary{font-size:11px;color:#6e6e73;cursor:pointer}
.q-temporary-extra input{max-width:260px}
@media(max-width:600px){
  .q-cart-products>.q-panel-heading{gap:10px;flex-wrap:wrap}
  .q-product-add-actions{gap:12px}
  .q-temporary-fields{gap:10px}
  .q-temporary-form input,.q-temporary-form select{font-size:16px}
  .q-temporary-form .q-unit-control>input{font-size:16px}
  .q-unit-manager-note{font-size:10px}
  .q-unit-add{padding:12px}
  .q-unit-add input{height:44px;font-size:16px}
  .q-unit-add input::placeholder{font-size:12px}
  .q-unit-add .button{min-height:44px;padding:9px 14px}
  .q-unit-row{gap:6px;padding:6px 8px}
  .q-unit-row>.q-unit-drag{width:32px;min-height:44px}
  .q-unit-row-actions>button{width:40px;min-height:44px}
  .q-unit-row-actions>.q-unit-delete{width:auto;min-width:44px;padding:6px;font-size:11px}
  .q-unit-manager .form-actions>.button{flex:1;min-height:44px}
}

/* The preview uses the same 182 mm content width as an A4 page with 14 mm margins. */
.q-paper-viewport{max-width:100%;overflow-x:auto;padding:1px 0 12px;outline-offset:3px}
.q-preview-module .q-print-sheet{box-sizing:border-box;width:210mm;min-width:210mm;max-width:none;min-height:297mm;margin:0 auto;padding:14mm;border:0;outline:1px solid #e5e5ea;border-radius:0;color:#1d1d1f;font-size:9pt;line-height:1.5}
.q-preview-module .q-sheet-header{padding-bottom:7mm;gap:6mm}
.q-preview-module .q-sheet-brand>img{width:25mm;height:auto}
.q-preview-module .q-sheet-kicker{font-size:6.5pt;letter-spacing:1.4px}
.q-preview-module .q-sheet-header h2{margin:3mm 0 0;font-size:15pt;letter-spacing:2px}
.q-preview-module .q-sheet-title{padding:7mm 0 6mm;display:block}
.q-preview-module .q-sheet-title h3{margin:2mm 0 0;font-size:14pt;line-height:1.5;overflow-wrap:anywhere}
.q-preview-module .q-small-label{font-size:7pt}
.q-preview-module .q-sheet-info{grid-template-columns:1.3fr .8fr 1fr;gap:6mm;padding-bottom:6mm}
.q-preview-module .q-sheet-info>div{gap:2mm;overflow-wrap:anywhere}
.q-preview-module .q-sheet-info>div:last-child{grid-column:auto}
.q-preview-module .q-sheet-info span,.q-preview-module .q-sheet-info small{font-size:7.5pt;line-height:1.5}
.q-preview-module .q-sheet-info strong{font-size:9pt;line-height:1.5}
.q-preview-module .q-sheet-id{font-size:8.5pt!important}
.q-preview-module .q-sheet-table-wrapper{overflow:visible}
.q-preview-module .q-sheet-table{table-layout:fixed;width:100%;min-width:0;font-size:9pt;line-height:1.5}
.q-preview-module .q-sheet-table th{padding:3.5mm 1.5mm;font-size:7.5pt;vertical-align:middle}
.q-preview-module .q-sheet-table td{padding:3.5mm 1.5mm;vertical-align:middle;white-space:normal;overflow-wrap:anywhere}
.q-preview-module .q-sheet-table th.q-sheet-product-brand,.q-preview-module .q-sheet-table td.q-sheet-product-brand{width:10%;padding-left:2.5mm;padding-right:1.5mm;text-align:left}
.q-preview-module .q-sheet-table th.q-sheet-product-image,.q-preview-module .q-sheet-table td.q-sheet-product-image{width:13%;padding-left:1mm;padding-right:1mm;text-align:center}
.q-preview-module .q-sheet-table th.q-sheet-product-spec,.q-preview-module .q-sheet-table td.q-sheet-product-spec{width:31%;padding-left:2mm;padding-right:2mm;text-align:left}
.q-preview-module .q-sheet-table th:nth-child(4){width:18%}
.q-preview-module .q-sheet-table th:nth-child(5){width:10%}
.q-preview-module .q-sheet-table th:nth-child(6){width:18%}
.q-preview-module .q-sheet-table td:nth-child(4),.q-preview-module .q-sheet-table td:nth-child(6){font-size:8.5pt}
.q-preview-module .q-sheet-table td strong{font-size:9.5pt;line-height:1.5}
.q-preview-module .q-sheet-table td span{margin-top:1.5mm;font-size:7.5pt;line-height:1.5}
/* Full-width room bars keep location visible without repeating it in every product. */
.q-preview-module .q-sheet-table .q-sheet-location-heading>th{padding:2.5mm 3mm;background:#f3f5f8;color:#1d1d1f;border-top:1px solid #d8dee7;border-bottom:1px solid #d8dee7;text-align:left;white-space:normal;overflow-wrap:anywhere;font-size:9.5pt;line-height:1.5}
.q-preview-module .q-sheet-location-heading strong{font-weight:600;font-size:inherit;line-height:inherit}
.q-preview-module .q-sheet-thumb{width:14mm;height:14mm;object-fit:contain}
.q-preview-module .q-print-original-price{margin-top:1mm;font-size:7pt;line-height:1.4}
.q-preview-module .q-sheet-summary{width:85mm;max-width:100%;margin:7mm 0 9mm auto}
.q-preview-module .q-sheet-summary>div{margin-bottom:3mm;gap:4mm;font-size:8.5pt}
.q-preview-module .q-sheet-summary>div>span{min-width:0;overflow-wrap:anywhere}
.q-preview-module .q-sheet-summary .q-sheet-grand{padding-top:4mm;margin-top:4mm;font-size:9pt}
.q-preview-module .q-sheet-grand strong{font-size:19pt}
.q-preview-module .q-sheet-footer{padding-top:5mm}
.q-preview-module .q-sheet-footer p{margin:0 0 2mm;font-size:10pt;letter-spacing:2px}
.q-preview-module .q-sheet-footer>span{font-size:7.5pt;line-height:1.6}

@media print{
  @page{size:A4 landscape;margin:0}
  html:has(.q-preview-module),body:is(.q-print-active,:has(.q-preview-module)){height:auto!important;min-height:0!important;margin:0!important;padding:0!important;overflow:visible!important;background:#fff!important}
  body:is(.q-print-active,:has(.q-preview-module))>:not(#app),
  body:is(.q-print-active,:has(.q-preview-module)) #app>:not(.shell),
  body:is(.q-print-active,:has(.q-preview-module)) .shell>:not(#main),
  body:is(.q-print-active,:has(.q-preview-module)) #main>:not(.q-preview-module),
  body:is(.q-print-active,:has(.q-preview-module)) .q-preview-module>:not(.q-paper-viewport){display:none!important}
  body:is(.q-print-active,:has(.q-preview-module)) :is(#app,.shell,#main,.q-preview-module,.q-paper-viewport){display:block!important;position:static!important;width:auto!important;max-width:none!important;min-width:0!important;min-height:0!important;height:auto!important;margin:0!important;padding:0!important;overflow:visible!important;transform:none!important}
  body:is(.q-print-active,:has(.q-preview-module)) .q-print-sheet{display:block!important;position:static!important;width:100%!important;min-width:0!important;max-width:none!important;min-height:0!important;height:auto!important;margin:0!important;padding:0!important;border:0!important;outline:0!important;box-shadow:none!important;overflow:visible!important;print-color-adjust:exact;-webkit-print-color-adjust:exact}
  .q-preview-module .q-sheet-intro{break-inside:avoid;break-after:avoid;page-break-inside:avoid;page-break-after:avoid}
  .q-preview-module .q-sheet-table-wrapper,.q-preview-module .q-sheet-table,.q-preview-module .q-sheet-table tbody{break-inside:auto;page-break-inside:auto;overflow:visible!important}
  .q-preview-module .q-sheet-table thead{display:table-header-group}
  .q-preview-module .q-sheet-table tr{break-inside:avoid;page-break-inside:avoid}
  .q-preview-module .q-sheet-table thead tr{break-after:avoid;page-break-after:avoid}
  .q-preview-module .q-sheet-location-heading{break-after:avoid;page-break-after:avoid}
  .q-preview-module .q-sheet-closing,.q-preview-module .q-sheet-summary>div,.q-preview-module .q-sheet-footer{break-inside:avoid;page-break-inside:avoid}
  body.q-print-active .q-preview-module .q-sheet-table th.q-sheet-product-brand,body.q-print-active .q-preview-module .q-sheet-table td.q-sheet-product-brand{padding-left:2.5mm;padding-right:1.5mm}
  body.q-print-active .q-preview-module .q-sheet-table .q-sheet-product-image{padding-left:1mm;padding-right:1mm}
  body:has(:is(#page-popup,.dq-quick-quote-popup)[open] .q-preview-module)>#app,
  body:has(:is(#page-popup,.dq-quick-quote-popup)[open] .q-preview-module) :is(#page-popup,.dq-quick-quote-popup)>:not(:is(#page-popup-content,.dq-quick-quote-content)){display:none!important}
  body:has(:is(#page-popup,.dq-quick-quote-popup)[open] .q-preview-module) :is(:is(#page-popup,.dq-quick-quote-popup),:is(#page-popup-content,.dq-quick-quote-content)){display:block!important;position:static!important;inset:auto!important;width:auto!important;max-width:none!important;min-width:0!important;height:auto!important;min-height:0!important;max-height:none!important;margin:0!important;padding:0!important;overflow:visible!important;transform:none!important;contain:none!important;border:0!important;border-radius:0!important;box-shadow:none!important;background:#fff!important}
  body:has(:is(#page-popup,.dq-quick-quote-popup)[open] .q-preview-module) :is(#page-popup,.dq-quick-quote-popup)::backdrop{display:none!important}
}

/* Keep the non-modal product rail inside the dashboard's modal workspace. */
@media screen{
  :is(#page-popup,.dq-quick-quote-popup):has(.q-cart-module){transform:translateZ(0)}
  :is(#page-popup,.dq-quick-quote-popup) .q-cart-module{--q-picker-left:0px;--q-picker-width:min(480px,34vw)}
}
@media screen and (min-width:1101px){
  :is(#page-popup,.dq-quick-quote-popup) .q-product-drawer{top:var(--page-popup-header-height,64px);height:calc(100% - var(--page-popup-header-height,64px));max-height:calc(100% - var(--page-popup-header-height,64px))}
  :is(#page-popup,.dq-quick-quote-popup) .q-cart-module.is-picker-open .q-cart-layout{grid-template-columns:minmax(0,1fr)}
  :is(#page-popup,.dq-quick-quote-popup) .q-cart-module.is-picker-open .q-cart-summary{position:static}
}
@media screen and (max-width:1100px){
  :is(#page-popup,.dq-quick-quote-popup) .q-product-drawer{height:55%;max-height:55%}
  :is(#page-popup,.dq-quick-quote-popup) .q-cart-module.is-picker-open .q-catalog-toggle{bottom:55%}
}

/* Keep the delete icon first and reserve its slot when deletion is unavailable. */
.q-list-panel article.q-quote-row>.q-row-actions{display:grid;grid-template-columns:32px repeat(2,minmax(0,1fr));grid-template-rows:auto;gap:6px;width:100%;max-width:204px;justify-self:end;align-items:center}
.q-list-panel article.q-quote-row>.q-row-actions>button{display:inline-flex;align-items:center;justify-content:center;grid-row:1;min-width:0;width:100%;height:32px;min-height:32px;padding:0 6px;border:0;border-radius:3px;font-size:11px!important;font-weight:500;line-height:1;white-space:nowrap;transition:background .16s,color .16s}
.q-list-panel article.q-quote-row>.q-row-actions>.q-quote-open{grid-column:2}
.q-list-panel article.q-quote-row>.q-row-actions>.q-confirm-link{grid-column:3}
.q-list-panel article.q-quote-row>.q-row-actions>:is(.q-quote-open,.q-confirm-link){background:#f8f9fb;color:#6e6e73}
.q-list-panel article.q-quote-row>.q-row-actions>:is(.q-quote-open,.q-confirm-link):hover{background:#f5f5f7;color:#1d1d1f}
.q-list-panel article.q-quote-row>.q-row-actions>.q-quote-delete{grid-column:1;padding:0;background:transparent;color:#6e6e73}
.q-list-panel article.q-quote-row>.q-row-actions>.q-quote-delete:hover{background:#f8f9fb;color:#1d1d1f}
.q-list-panel .q-quote-delete svg{width:14px;height:14px;flex:none;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.q-list-panel article.q-quote-row>.q-row-actions>button:focus-visible{outline:2px solid #0071e3;outline-offset:3px}
.q-confirm-review .button.q-delete-confirm{background:#a84d40;border-color:#a84d40;color:#fff}
.q-confirm-review .button.q-delete-confirm:hover{background:#913e33;border-color:#913e33}
.q-delivery-choice{margin:22px 0 0;padding:0;border:0;min-width:0}.q-delivery-choice legend{margin-bottom:11px;font-size:12px;color:#6e6e73}.q-delivery-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.q-delivery-options label{display:flex;align-items:center;gap:10px;padding:16px 13px;border:1px solid #e5e5ea;border-radius:6px;cursor:pointer;background:#ffffff}.q-delivery-options label:has(input:checked){border-color:#b8d6f6;background:#eaf3ff;box-shadow:0 0 0 1px #1d1d1f1c}.q-delivery-options input{width:15px;height:15px;min-width:15px;margin:0;accent-color:#0071e3}.q-delivery-options strong{display:block;font-size:13px;font-weight:600}.q-delivery-options small{display:block;margin-top:6px;font-size:10px;color:#6e6e73;line-height:1.5}.q-delivery-choice>p{margin:11px 0 0;font-size:11px;color:#6e6e73;line-height:1.8}@media(max-width:420px){.q-delivery-options{gap:8px}.q-delivery-options label{padding:13px 10px;gap:8px}.q-delivery-options small{font-size:9px}}
@container quote-list (max-width:719px){.q-list-panel article.q-quote-row>.q-row-actions{grid-template-columns:44px repeat(2,minmax(0,1fr))}.q-list-panel article.q-quote-row>.q-row-actions>button{height:44px;min-height:44px}}

/* Center summary actions independently of their decorative icons. */
.q-cart-summary .q-cart-actions>.q-button{position:relative;justify-content:center;min-height:44px;padding-inline:32px;text-align:center}
.q-cart-actions>[data-q-action="save"]{background:#f8f9fb;border-color:#e5e5ea;color:#6e6e73}
.q-cart-actions>[data-q-action="save"]:hover:not(:disabled){background:#f5f5f7;border-color:#e5e5ea;color:#1d1d1f}
.q-cart-actions>[data-q-cart-confirm]{background:linear-gradient(120deg,#f8f9fb,#f5f5f7 55%,#f8f9fb);border-color:#e5e5ea;color:#1d1d1f;box-shadow:0 0 9px #1d1d1f24;animation:q-confirm-glow 4s ease-in-out infinite}
.q-cart-actions>[data-q-cart-confirm]:hover:not(:disabled){background:linear-gradient(120deg,#f8f9fb,#f5f5f7 55%,#f5f5f7);border-color:#e5e5ea;color:#1d1d1f}
.q-confirm-sparkle{position:absolute;right:14px;top:50%;transform:translateY(-50%);color:#6e6e73;font-size:12px;line-height:1;pointer-events:none}
.q-cart-summary .q-cart-actions>.q-button:disabled{background:#f8f9fb;border-color:#e5e5ea;color:#6e6e73;cursor:not-allowed;animation:none;box-shadow:none}
.q-cart-actions>[data-q-cart-confirm]:disabled .q-confirm-sparkle{display:none}
@keyframes q-confirm-glow{0%,100%{box-shadow:0 0 8px #1d1d1f24}50%{box-shadow:0 0 15px #1d1d1f40}}
@media(prefers-reduced-motion:reduce){.q-cart-actions>[data-q-cart-confirm]{animation:none}}

/* Quotation discounts use one active mode; item inputs stay close to each price. */
.q-discount-actions{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:10px}
.q-discount-mode{display:inline-flex;padding:3px;background:#f8f9fb;border:1px solid #e5e5ea;border-radius:6px}
.q-discount-mode button{min-height:34px;padding:7px 12px;border:0;border-radius:4px;background:transparent;color:#6e6e73;font-size:11px!important;line-height:1.5;white-space:nowrap}
.q-discount-mode button[aria-pressed="true"]{background:#fff;color:#0071e3;box-shadow:0 1px 4px #1d1d1f18;font-weight:500}
.q-discount-mode button:focus-visible{outline:2px solid var(--q-copper);outline-offset:2px}
.q-discount-actions .q-button:disabled{border-color:#e5e5ea;background:#f8f9fb;color:#6e6e73;cursor:not-allowed}
.q-discount-mode-note{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
 .q-cart-item .q-line-discount{display:block;min-width:0}
.q-cart-item .q-discount-input{display:flex;align-items:center;width:100%;max-width:100%;height:26px;margin-top:3px;border:1px solid #e5e5ea;border-radius:4px;background:#fff;overflow:hidden}
.q-cart-item .q-discount-input input{width:0;flex:1;min-width:0;height:24px;margin:0;border:0;padding:2px 0 2px 6px;background:transparent;font-size:12px;color:var(--q-ink);font-variant-numeric:tabular-nums;appearance:textfield;-moz-appearance:textfield}
.q-discount-input input::-webkit-inner-spin-button,.q-discount-input input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
.q-discount-input>span{padding-right:5px;font-size:11px;color:#6e6e73}
.q-discount-input:focus-within{outline:2px solid #0071e35e;outline-offset:2px;border-color:var(--q-copper)}
.q-discount-input:has(input:disabled){background:#f8f9fb;border-color:#e5e5ea}
.q-cart-item .q-discount-input input:disabled{color:#6e6e73}
.q-discount-input:has(input[aria-invalid="true"]){border-color:#b15d49}
.q-cart-item .q-line-discount .q-readonly-value{margin:3px 0 0;min-height:26px;display:flex;align-items:center;font-size:14px;font-weight:500}
@media(max-width:600px){
  .q-cart-item .q-discount-input{height:36px}
  .q-cart-item .q-discount-input input{height:34px;font-size:16px}
  .q-discount-summary{align-items:flex-start;flex-wrap:wrap;gap:16px}
  .q-discount-actions{width:100%;justify-content:space-between;gap:8px}
  .q-discount-mode{flex:1}
  .q-discount-mode button{flex:1;min-height:40px;padding:7px 9px}
  .q-discount-actions>.q-button{min-height:46px}
  .q-cart-item .q-discount-input input{font-size:16px}
}

/* Internal price references stay quiet beside the quotation number. */
.q-quote-identity .q-quote-number{display:flex;align-items:center;flex-wrap:wrap;gap:6px 9px}
.q-quote-identity .q-quote-number>.q-quote-reference{margin:0}
.q-quote-identity .q-quote-number>.q-cost-shortcuts{display:inline-flex;align-items:center;gap:3px;margin:0}
.q-cost-shortcut{display:inline-flex;align-items:center;justify-content:center;width:25px;height:25px;padding:5px;border:0;border-radius:4px;background:transparent;color:#6e6e73;cursor:pointer;flex:none}
.q-cost-shortcut svg{display:block;width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.35;stroke-linecap:round;stroke-linejoin:round}
.q-cost-shortcut:hover{background:#f5f5f7;color:#6e6e73}
.q-cost-shortcut:focus-visible{outline:2px solid #0071e3;outline-offset:2px;color:#1d1d1f}
.q-reference-cost{min-width:0}
.q-cost-heading{display:flex;flex-direction:column;gap:7px;margin-bottom:20px}
.q-cost-heading>strong{font-size:14px;font-weight:500;line-height:1.7;overflow-wrap:anywhere}
.q-cost-heading>span{font-size:10px;color:#6e6e73}
.q-cost-summary{display:flex;align-items:baseline;justify-content:space-between;gap:16px;padding:18px 20px;background:#f8f9fb;border:1px solid #e5e5ea;border-radius:6px;margin-bottom:18px}
.q-cost-summary>div>span{display:block;font-size:11px;color:#6e6e73;line-height:1.7}
.q-cost-summary>div>strong{display:block;font-size:26px;font-weight:500;line-height:1.4;font-variant-numeric:tabular-nums;margin-top:6px}
.q-cost-summary>.q-cost-known{align-self:end;text-align:right}
.q-cost-summary>.q-cost-known>strong{font-size:17px;color:#6e6e73}
.q-cost-incomplete{margin:0 0 15px;font-size:11px;color:#a0845b;line-height:1.8}
.q-cost-table-wrap{overflow:auto}
.q-cost-table{width:100%;border-collapse:collapse;font-size:12px;table-layout:fixed}
.q-cost-table th{padding:10px 5px;border-bottom:1px solid #e5e5ea;color:#6e6e73;font-size:10px;font-weight:400;text-align:right}
.q-cost-table th:first-child,.q-cost-table td:first-child{width:46%;padding-left:0;text-align:left}
.q-cost-table th:nth-child(2){width:14%}
.q-cost-table th:nth-child(3),.q-cost-table th:nth-child(4){width:20%}
.q-cost-table td{padding:14px 5px;border-bottom:1px solid #e5e5ea;text-align:right;vertical-align:top;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.q-cost-copy>strong{font-size:12px;font-weight:500;line-height:1.6}
.q-cost-copy>small{display:block;font-size:10px;color:#6e6e73;line-height:1.7;margin-top:3px}
.q-cost-copy>.q-cost-missing{color:#a0845b}
.q-cost-condition{margin-left:6px;font-size:9px;font-weight:400;color:#6e6e73;white-space:nowrap}
.q-cost-reference-note{margin:16px 0 0;font-size:10px;line-height:1.9;color:#6e6e73}
@media(max-width:600px){.q-cost-shortcut{width:30px;height:30px;padding:7px}.q-cost-summary{padding:16px}.q-cost-summary>div>strong{font-size:23px}.q-cost-table{font-size:11px}.q-cost-table th:first-child,.q-cost-table td:first-child{width:40%}.q-cost-table th:nth-child(2){width:16%}.q-cost-table th:nth-child(3),.q-cost-table th:nth-child(4){width:22%}.q-cost-table td{padding-top:12px;padding-bottom:12px}.q-cost-copy>strong{font-size:11px}}
@media print{
  .q-cost-shortcuts,.q-reference-cost,#modal:has(.q-reference-cost){display:none!important}
}

/* Align each cost-reference thumbnail with its product identity. */
.q-cost-product{display:flex;align-items:center;gap:10px;min-width:0}
.q-cost-thumb{display:block;flex:none;width:44px;height:52px;object-fit:contain;padding:3px;background:#f8f9fb;border:1px solid #e5e5ea;border-radius:4px}
.q-cost-copy{min-width:0;overflow-wrap:anywhere}
.q-cost-table td{vertical-align:middle}
@media(max-width:600px){
  .q-cost-product{gap:7px}
  .q-cost-thumb{width:32px;height:42px;padding:2px}
  .q-cost-table th:first-child,.q-cost-table td:first-child{width:44%}
  .q-cost-table th:nth-child(2){width:12%}
}

/* The search-bar filter opens over products without changing the catalog height. */
.q-product-drawer .q-drawer-filters{position:relative;z-index:3}
.q-product-drawer .q-drawer-search-row{position:relative;margin-top:8px}
.q-product-drawer .q-drawer-search-row .q-search{margin-top:0;padding-right:106px}
.q-product-drawer .q-catalog-filter-button{position:absolute;right:4px;top:3px;bottom:3px;display:inline-flex;align-items:center;justify-content:center;gap:5px;padding:0 9px;border:1px solid #dfe3e9;border-radius:5px;background:#fff;color:#515763;font-size:11px;line-height:1;white-space:nowrap}
.q-product-drawer .q-catalog-filter-button:hover{background:#f0f6ff;border-color:#b8d6f6;color:#0071e3}
.q-product-drawer .q-catalog-filter-button[aria-expanded="true"],.q-product-drawer .q-catalog-filter-button.has-filters{background:#eaf3ff;border-color:#b8d6f6;color:#0071e3}
.q-catalog-filter-button svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;flex:none}
.q-filter-count{display:inline-flex;align-items:center;justify-content:center;min-width:15px;height:15px;padding:0 3px;border-radius:4px;background:#0071e3;color:#fff;font-size:10px}
.q-filter-count[hidden]{display:none}
.q-product-drawer .q-catalog-filter-popover{position:absolute;inset:calc(100% - 4px) 18px auto;z-index:4;max-height:420px;padding:10px;border:1px solid #dfe3e9;border-radius:8px;background:#fff;box-shadow:0 8px 24px #13263d1f;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin}
.q-product-drawer .q-catalog-filter-popover[hidden]{display:none}
.q-product-drawer .q-catalog-filter-popover .q-catalog-filter-sections{margin:0;max-height:none;overflow:visible}
@media(min-width:701px){.q-product-drawer .q-drawer-filters .q-drawer-search-row .q-search{padding-right:106px}}
@media(max-width:1100px){.q-product-drawer .q-catalog-filter-popover{left:20px;right:20px;padding:8px}.q-product-drawer .q-catalog-filter-button{font-size:12px}}
@media(max-width:359px){.q-product-drawer .q-catalog-filter-popover{left:16px;right:16px}}

/* Brand and category fold independently inside one bounded filter area. */
.q-product-drawer .q-catalog-filter-sections{min-width:0;max-height:300px;max-height:min(300px,34dvh);margin-top:8px;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#6e6e73 transparent}
.q-product-drawer .q-catalog-filters{min-width:0;margin:0;border:1px solid #e5e5ea;border-radius:5px;background:#fff}
.q-product-drawer .q-catalog-filters+.q-catalog-filters{margin-top:6px}
.q-product-drawer .q-catalog-filter-toggle{display:grid;grid-template-columns:auto minmax(0,1fr) 13px;align-items:center;gap:10px;min-height:36px;padding:8px 10px;list-style:none;cursor:pointer;color:#0071e3;font-size:10px;line-height:1.7;user-select:none}
.q-product-drawer .q-catalog-filter-toggle::-webkit-details-marker{display:none}
.q-product-drawer .q-catalog-filter-toggle::marker{content:""}
.q-product-drawer .q-catalog-filter-toggle:hover{background:#f8f9fb}
.q-product-drawer .q-catalog-filter-toggle:focus-visible{outline:2px solid var(--q-copper);outline-offset:-2px;border-radius:4px}
.q-product-drawer .q-catalog-filter-toggle>.q-catalog-filter-heading,.q-product-drawer .q-catalog-filter-toggle>span:first-child:not(.q-catalog-filter-summary){display:inline-flex;align-items:center;gap:6px;white-space:nowrap;font-weight:500;color:#0071e3}
.q-product-drawer .q-catalog-filter-toggle svg{display:block;flex:none;width:13px;height:13px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.q-product-drawer .q-catalog-filter-summary{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:right;color:#6e6e73;font-size:10px;font-weight:400}
.q-product-drawer .q-catalog-filter-chevron{transition:transform .16s;color:#6e6e73}
.q-product-drawer .q-catalog-filters[open]>.q-catalog-filter-toggle{border-bottom:1px solid #e5e5ea;background:#f8f9fb}
.q-product-drawer .q-catalog-filters[open] .q-catalog-filter-chevron{transform:rotate(180deg)}
.q-product-drawer .q-catalog-filter-body{min-width:0;padding:10px}
.q-product-drawer .q-catalog-filters:not([open])>.q-catalog-filter-body{display:none}
.q-product-drawer .q-catalog-filter-body :is(.q-brand-tabs,.q-category-tabs){display:flex;flex-wrap:wrap;align-items:flex-start;gap:6px;min-width:0;max-height:none;margin:0;padding:0;overflow:visible}
.q-product-drawer .q-catalog-filter-body :is(.q-brand,.q-category){display:inline-flex;align-items:center;justify-content:center;flex:none;max-width:100%;min-height:28px;padding:5px 9px;border:1px solid transparent;border-radius:4px;background:#f8f9fb;color:#6e6e73;font-size:10px!important;font-weight:400;line-height:1.6;white-space:normal;overflow-wrap:anywhere;text-align:left}
.q-product-drawer .q-catalog-filter-body :is(.q-brand,.q-category):hover:not(:disabled){background:#f5f5f7;color:#6e6e73}
.q-product-drawer .q-catalog-filter-body :is(.q-brand,.q-category).is-active{border-color:#b8d6f6;background:#eaf3ff;color:#0071e3;font-weight:500}
.q-product-drawer .q-catalog-filter-clear{display:block;flex:none;width:max-content;max-width:100%;min-height:24px;margin:4px 0 0 auto;padding:3px 1px;border:0;background:transparent;color:#6e6e73;font-size:10px!important;line-height:1.7;white-space:nowrap}
.q-product-drawer .q-catalog-filter-clear:hover:not(:disabled){color:#1d1d1f}
.q-product-drawer .q-catalog-filter-body button:focus-visible,.q-product-drawer .q-catalog-filter-clear:focus-visible{outline:2px solid var(--q-copper);outline-offset:2px}
.q-product-drawer .q-catalog-filter-body button:disabled,.q-product-drawer .q-catalog-filter-clear:disabled{opacity:.45;cursor:default}
.q-product-drawer .q-catalog-filter-clear[hidden]{display:none}
@media(max-width:1100px){
  .q-product-drawer .q-catalog-filter-sections{max-height:20vh;max-height:min(20dvh,max(78px,calc(55dvh - 280px)))}
  .q-product-drawer .q-catalog-filter-toggle{min-height:34px;padding:7px 9px;gap:8px}
  .q-product-drawer .q-catalog-filter-body{padding:8px 9px}
  .q-product-drawer .q-catalog-filter-body :is(.q-brand,.q-category){min-height:30px;padding:5px 8px}
}
@media(prefers-reduced-motion:reduce){.q-product-drawer .q-catalog-filter-chevron{transition:none}}

.q-confirm-lock-note{font-size:11px;color:#6e6e73;line-height:1.8;margin:16px 0 8px}

.q-product-drawer .q-product-card.is-price-pending:disabled{opacity:1;cursor:not-allowed}
.q-product-drawer .q-product-card.is-price-pending:hover{border-color:#e5e5ea;box-shadow:none}
.q-product-drawer .q-pending-price{color:#6e6e73}
.q-product-drawer .q-pending-symbol{color:#6e6e73;border-color:#e5e5ea}
/* Quotation-owned drawing attachment and read-only drawing preview. */
.q-list-panel article.q-quote-row>.q-row-actions.has-drawing{grid-template-columns:26px repeat(3,minmax(0,1fr));max-width:280px}
.q-list-panel article.q-quote-row>.q-row-actions.has-drawing>.q-quote-drawing{grid-column:2;background:#f8f9fb;color:#0071e3}
.q-list-panel article.q-quote-row>.q-row-actions.has-drawing>.q-quote-drawing:hover{background:#f8f9fb}
.q-list-panel article.q-quote-row>.q-row-actions.has-drawing>.q-quote-open{grid-column:3}
.q-list-panel article.q-quote-row>.q-row-actions.has-drawing>.q-confirm-link{grid-column:4}
.q-drawing-attachment{display:flex;align-items:center;gap:18px;margin:22px 0;padding:20px 24px;border:1px solid #e5e5ea;border-radius:9px;background:#fff}
.q-drawing-file{display:grid;place-items:center;width:46px;height:56px;flex:none;border-radius:7px;background:#f8f9fb;color:#6e6e73}
.q-drawing-file svg{width:27px;height:35px;fill:none;stroke:currentColor;stroke-width:1.3;stroke-linecap:round;stroke-linejoin:round}
.q-drawing-description{flex:1;min-width:0}
.q-drawing-description>span{display:block;margin-bottom:5px;font-size:11px;color:#6e6e73}
.q-drawing-description>strong{display:block;font-size:14px;font-weight:600;color:#1d1d1f;overflow-wrap:anywhere}
.q-drawing-description>p{margin:6px 0;font-size:12px;color:#6e6e73}
.q-drawing-description>small{display:block;font-size:11px;line-height:1.7;color:#6e6e73}
.q-drawing-actions{display:flex;flex-wrap:wrap;gap:8px;flex:none}
.q-drawing-actions>.q-button{min-height:38px;font-size:12px;white-space:nowrap}
.q-drawing-preview{width:min(1100px,calc(100vw - 32px));max-height:92dvh;padding:0;border:1px solid #e5e5ea;border-radius:12px;background:#fff;color:#1d1d1f;box-shadow:0 24px 80px #00000033;overflow:hidden}
.q-drawing-preview[open]{display:flex;flex-direction:column}
.q-drawing-preview::backdrop{background:#1d1d1f4d;backdrop-filter:blur(3px)}
.q-drawing-preview>header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 22px;border-bottom:1px solid #e5e5ea;flex:none}
.q-drawing-preview h2{margin:0;font-size:17px;line-height:1.4;font-weight:600}
.q-drawing-preview header p{margin:5px 0 0;font-size:12px;line-height:1.6;color:#6e6e73;overflow-wrap:anywhere}
.q-drawing-preview header button{display:grid;place-items:center;flex:none;width:34px;height:34px;padding:0;border:0;border-radius:7px;background:#f8f9fb;font-size:23px;line-height:1;color:#6e6e73;cursor:pointer}
.q-drawing-preview-body{min-height:160px;overflow:auto;overscroll-behavior:contain;background:#f8f9fb;padding:16px}
.q-drawing-preview-body>img{display:block;width:100%;height:auto;background:#fff;border:1px solid #e5e5ea}
.q-drawing-preview-body>p{margin:24px 8px;font-size:13px;line-height:1.8;color:#6e6e73}
.q-drawing-preview-body>[role=alert]{color:#6e6e73}
.q-drawing-preview>footer{padding:13px 22px;border-top:1px solid #e5e5ea;font-size:11px;line-height:1.7;color:#6e6e73;flex:none}
@media(max-width:700px){.q-drawing-attachment{align-items:flex-start;flex-wrap:wrap;gap:12px;padding:16px}.q-drawing-file{width:38px;height:48px}.q-drawing-actions{width:100%;justify-content:flex-end}.q-drawing-actions>.q-button{min-height:42px}.q-drawing-preview{width:calc(100vw - 16px);max-height:94dvh}.q-drawing-preview>header{padding:14px 16px}.q-drawing-preview-body{padding:8px}.q-drawing-preview>footer{padding:12px 16px}}

/* Document details reuse the product page while keeping the current form intact. */
.q-product-preview{display:block;padding:0;border:0;background:transparent;color:inherit;overflow:hidden;cursor:pointer;transition:box-shadow .16s}
.q-product-preview>.q-thumb{width:100%;height:100%;border-radius:inherit}
.q-product-preview:hover,.document-product-preview:hover{box-shadow:0 0 0 1px #0071e3}
.q-product-preview:focus-visible,.document-product-preview:focus-visible,.document-product-name:focus-visible,.document-product-identity:focus-visible{outline:2px solid #0071e3;outline-offset:3px}
dialog.pc-independent-preview{width:500px;max-width:calc(100% - 24px);max-height:calc(100dvh - 32px);overflow:auto;background:#fff}
.pc-independent-preview .pc-independent-content{padding:20px 24px}
.pc-independent-preview .pc-preview-close{display:grid;place-items:center;width:34px;height:34px;border:0;background:transparent;font-size:26px;color:var(--muted);cursor:pointer}
.document-product-preview{display:block;flex:none;padding:0;border:0;border-radius:4px;background:transparent;cursor:pointer}
.document-product-preview>img{display:block}
.document-product-name{border:0;padding:0;background:transparent;text-align:left;font:inherit;color:inherit;cursor:pointer;overflow-wrap:anywhere}
.document-product-name:hover{color:#0071e3}
.document-product-identity{display:flex;align-items:center;gap:12px;min-width:0;max-width:100%;border:0;padding:0;background:transparent;text-align:left;cursor:pointer;color:inherit}
.document-product-identity>img{width:44px;height:44px;flex:none;object-fit:contain;background:#f5f5f7;border-radius:6px}
.document-product-copy{display:grid;gap:4px;min-width:0;overflow-wrap:anywhere}
.document-product-copy strong{font:inherit;font-weight:500}.document-product-copy small{font-size:11px;color:var(--muted)}
@media(max-width:600px){.pc-independent-preview .pc-independent-content{padding:12px}.pc-independent-preview>header{padding:14px 16px}}

/* Add a model in place; only models with several available SKUs need a dialog. */
.q-spec-dialog{--q-line:#e5e5ea;--q-ink:#1d1d1f;--q-muted:#6e6e73;box-sizing:border-box;width:640px;max-width:calc(100vw - 32px);max-height:min(600px,calc(100dvh - 80px));padding:18px;border:1px solid #e5e5ea;border-radius:12px;background:#fff;color:#1d1d1f;box-shadow:0 24px 80px #1d1d1f29;overflow:auto}
.q-spec-dialog::backdrop{background:#1d1d1f45;backdrop-filter:blur(3px)}
.q-spec-dialog .q-spec-header{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;padding:0;margin:0;background:#fff;border:0}
.q-spec-header>div{min-width:0}
.q-spec-header p{font-size:10px;color:#6e6e73;margin:0 0 4px}
.q-spec-header h2{font-size:18px;font-weight:600;line-height:1.4;letter-spacing:-.2px;margin:0;overflow-wrap:anywhere}
.q-spec-close{flex:none;display:grid;place-items:center;width:30px;height:30px;padding:0;border:1px solid #e5e5ea;border-radius:50%;background:#f5f5f7;color:#6e6e73;font-size:21px;line-height:1;cursor:pointer}
.q-spec-dialog #q-spec-help{font-size:11px;color:#6e6e73;margin:8px 0 12px}
.q-spec-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.q-spec-grid .q-product-card{border:1px solid #e5e5ea;border-radius:8px;cursor:pointer}
.q-spec-grid .q-product-card:hover:not(:disabled){border-color:#0071e3;box-shadow:0 3px 12px #1d1d1f0a}
.q-spec-grid .q-product-card.is-picked{border-color:#93bdf1;background:#fafdff}
.q-spec-grid .q-product-card:disabled{opacity:.5;cursor:not-allowed}
.q-spec-grid .q-thumb{height:80px;background:#f5f5f7}
.q-spec-grid .q-thumb img{width:100%;height:100%;object-fit:contain;padding:8px}
.q-spec-grid .q-product-info{padding:9px 9px 30px;box-sizing:border-box;gap:4px}
.q-spec-grid .q-product-name{font-size:12px;font-weight:500;white-space:normal;overflow-wrap:anywhere;line-height:1.45}
.q-spec-grid .q-product-meta{font-size:9px;line-height:1.4;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#86868b}
.q-spec-grid .q-product-price{font-size:13px;font-weight:600;color:#1d1d1f}
.q-spec-grid .q-product-price small{font-size:9px;font-weight:400;color:#86868b}
.q-spec-grid .q-product-chosen{left:9px;bottom:9px;font-size:9px}
.q-spec-grid .q-add-symbol{right:9px;bottom:8px;width:20px;height:20px;font-size:16px}
.q-spec-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:12px 0 0;padding-top:12px;border-top:1px solid #e5e5ea}
.q-spec-footer>span{font-size:11px;color:#86868b}
.q-spec-footer .q-button{min-height:32px;padding:6px 16px;font-size:11px!important}
.q-spec-error{font-size:13px;color:#b42318;margin:14px 0 0}
.q-spec-error[hidden]{display:none}
.q-spec-dialog button:focus-visible{outline:2px solid #0071e3;outline-offset:3px}
@media(max-width:600px){.q-spec-dialog{width:calc(100vw - 24px);max-width:calc(100vw - 24px);max-height:calc(100dvh - 32px);padding:14px;border-radius:10px}.q-spec-header h2{font-size:16px}.q-spec-close{width:32px;height:32px}.q-spec-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.q-spec-grid .q-thumb{height:72px}.q-spec-grid .q-product-info{padding:8px 8px 32px}.q-spec-grid .q-product-name{font-size:12px}.q-spec-grid .q-product-price{font-size:13px}.q-spec-dialog #q-spec-help{font-size:11px;margin-bottom:10px}.q-spec-footer .q-button{min-height:36px}}

/* Quick quote catalog: image opens details; the separate plus adds one SKU. */
.q-product-drawer .q-product-card.q-model-card{cursor:default;box-shadow:none;transition:border-color .18s ease}
.q-product-drawer .q-product-card.q-model-card.is-picked{border-color:#bdd6f3;box-shadow:none}
.q-product-drawer .q-model-card .q-catalog-image{display:block;flex:none;width:100%;padding:0;border:0;border-radius:0;background:#f8f9fb;cursor:pointer;overflow:hidden;color:inherit}
.q-product-drawer .q-model-card .q-catalog-image .q-thumb{width:100%;height:clamp(88px,10vh,104px);margin:0;border-radius:0}
.q-product-drawer .q-model-card .q-catalog-image img{padding:0;object-fit:contain;transition:transform .22s ease}
@media(hover:hover){.q-product-drawer .q-model-card .q-catalog-image:hover img{transform:scale(1.035)}}
.q-product-drawer .q-model-card .q-product-info{padding:8px 10px;gap:4px;flex:1;min-width:0}
.q-product-drawer .q-model-card .q-product-name{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;line-height:1.4;max-height:1.4em;padding-right:0}
.q-product-drawer .q-model-card .q-model-card-footer{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0;margin-top:auto}
.q-product-drawer .q-model-card .q-product-meta{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#6e6e73;line-height:1.5}
.q-product-drawer .q-model-card .q-product-chosen{pointer-events:none;z-index:1;color:#1765ac;background:#f0f7ffeb;border:1px solid #d8e8fa;border-radius:5px}
.q-product-drawer .q-model-card .q-catalog-add{position:relative;inset:auto;flex:none;display:grid;place-items:center;box-sizing:border-box;appearance:none;width:22px;height:22px;padding:0;border:1px solid #dce3ed;border-radius:50%;background:#fff;color:#0071e3;cursor:pointer;transition:background .16s,border-color .16s}
.q-product-drawer .q-model-card .q-catalog-add .q-catalog-plus{position:relative;inset:auto;display:block;width:10px;height:10px;padding:0;margin:0;border:0;background:transparent;color:inherit;font-size:0;line-height:0;pointer-events:none;transition:opacity .1s}
.q-catalog-plus::before,.q-catalog-plus::after{content:'';position:absolute;left:0;top:4.5px;width:10px;height:1px;border-radius:1px;background:currentColor}
.q-catalog-plus::after{left:4.5px;top:0;width:1px;height:10px}
.q-product-drawer .q-model-card .q-catalog-add:hover{background:#eaf3ff;border-color:#acd0fa}
.q-product-drawer .q-model-card .q-catalog-add:active{background:#daeaff;border-color:#99c4f4}
.q-product-drawer .q-model-card .q-catalog-add:disabled{opacity:.4;cursor:not-allowed;box-shadow:none}
.q-product-drawer .q-model-card .q-catalog-image:focus-visible{outline:2px solid #0071e3;outline-offset:-3px}
.q-product-drawer .q-model-card .q-catalog-image{cursor:grab;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}
.q-product-drawer .q-model-card .q-catalog-image.is-catalog-dragging{opacity:.35;cursor:grabbing}
.q-product-drawer .q-model-card .q-catalog-image img{-webkit-user-drag:none}
.q-location-group.is-catalog-drop-target,[data-q-items].is-catalog-drop-target{outline:2px solid #0071e3;outline-offset:-1px;background:#edf6ff;border-radius:8px}
.q-catalog-drag-ghost{position:fixed;inset:auto;margin:0;width:224px;max-width:calc(100vw - 20px);padding:10px;box-sizing:border-box;display:flex;align-items:center;gap:10px;border:1px solid #b8d6f6;border-radius:10px;background:#fff;color:#1d1d1f;box-shadow:0 10px 28px #173c662b;pointer-events:none;z-index:15001;font:13px/1.5 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;overflow:hidden}
.q-catalog-drag-ghost::backdrop{background:transparent;pointer-events:none}
.q-catalog-drag-ghost .q-thumb{flex:none;width:48px;height:48px;padding:3px;margin:0;border-radius:6px;background:#f6f7fa;display:flex;align-items:center;justify-content:center}
.q-catalog-drag-ghost .q-thumb img{width:100%;height:100%;object-fit:contain}
.q-catalog-drag-ghost>div:last-child{min-width:0}
.q-catalog-drag-ghost strong{display:block;font-size:12px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.q-catalog-drag-ghost small{display:block;margin-top:4px;font-size:11px;color:#858993}
.q-catalog-drag-ghost.has-drop-target{border-color:#0071e3}
.q-catalog-drag-ghost.has-drop-target small{color:#0071e3}
.q-product-drawer .q-model-card .q-catalog-add:focus-visible{outline:2px solid #0071e3;outline-offset:3px}
.q-product-drawer .q-model-card .q-catalog-add.q-add-confirmed{background:#0071e3;border-color:#0071e3;color:#fff}
.q-product-drawer .q-model-card .q-catalog-add.q-add-confirmed .q-catalog-plus{opacity:0}
.q-catalog-add.q-add-confirmed::before{content:'';position:absolute;width:9px;height:5px;border-left:1.5px solid #fff;border-bottom:1.5px solid #fff;transform:translateY(-2px) rotate(-45deg)}
.q-catalog-add.q-add-confirmed::after{content:'+1';position:absolute;left:50%;top:-4px;color:#0071e3;font-size:12px;font-weight:600;line-height:1;pointer-events:none;animation:q-add-rise .8s ease-out both}
.q-cart-item.q-line-added{animation:q-line-added .8s ease-out}
@keyframes q-add-rise{0%{opacity:0;transform:translate(-50%,0)}25%{opacity:1}75%{opacity:1}100%{opacity:0;transform:translate(-50%,-19px)}}
@keyframes q-line-added{0%,25%{background:#edf5ff}100%{background:transparent}}
@media(max-width:600px){.q-product-drawer .q-model-card .q-catalog-add{width:24px;height:24px}.q-product-drawer .q-model-card .q-catalog-image .q-thumb{height:92px}}
@media(prefers-reduced-motion:reduce){
  .q-product-drawer .q-model-card,.q-product-drawer .q-model-card .q-catalog-image img,.q-product-drawer .q-model-card .q-catalog-add,.q-product-drawer .q-model-card .q-catalog-plus{transition:none;animation:none!important}
  .q-product-drawer .q-model-card .q-catalog-image:hover img,.q-product-drawer .q-model-card .q-catalog-add:active{transform:none}
  .q-catalog-add.q-add-confirmed::after{display:none;animation:none}
  .q-cart-item.q-line-added{animation:none;box-shadow:inset 3px 0 #0071e3}
}

/* The popup toolbar keeps the original delegated controls in one compact row.
   Reserve the right edge for the parent dialog's guarded close button. */
@media screen {
  :is(#page-popup,.dq-quick-quote-popup):has(.q-editor-topbar){--page-popup-header-height:84px}
  :is(#page-popup,.dq-quick-quote-popup):has(.q-editor-topbar)>.page-popup-header{position:static;z-index:auto;align-items:center;justify-content:flex-end;padding:22px 16px}
  :is(#page-popup,.dq-quick-quote-popup):has(.q-editor-topbar)>.page-popup-header>div{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
  :is(#page-popup,.dq-quick-quote-popup):has(.q-editor-topbar) :is(#close-page-popup,[data-dq-quick-close]){position:relative;z-index:43;height:40px;min-height:40px;padding:0 12px;border-radius:6px;font-size:12px}
  :is(#page-popup,.dq-quick-quote-popup) .q-editor-topbar{position:fixed;inset:0 0 auto;z-index:42;height:var(--page-popup-header-height);display:grid;grid-template-columns:140px minmax(0,1fr) auto;align-items:center;gap:16px;padding:12px 120px 12px 16px;background:#fff;border-bottom:1px solid #e5e5ea;box-shadow:0 2px 6px #1d1d1f03}
  :is(#page-popup,.dq-quick-quote-popup) .q-editor-heading{display:grid;align-content:center;min-width:0;gap:0}
  :is(#page-popup,.dq-quick-quote-popup) .q-editor-heading h1{grid-row:1;margin:0;font-size:18px;line-height:24px;font-weight:600;letter-spacing:0;white-space:nowrap}
  :is(#page-popup,.dq-quick-quote-popup) .q-editor-heading .q-back{grid-row:2;justify-self:start;margin:0;padding:0;font-size:11px!important;line-height:18px;white-space:nowrap}
  :is(#page-popup,.dq-quick-quote-popup) .q-editor-heading p{margin:0;font-size:10px;line-height:16px;color:#6e6e73;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  :is(#page-popup,.dq-quick-quote-popup) .q-editor-topbar .q-heading-actions{flex-wrap:nowrap;gap:8px;padding:0;margin:0}
  :is(#page-popup,.dq-quick-quote-popup) .q-editor-topbar .q-heading-actions .q-button{height:40px;min-height:40px;padding:0 12px;border-radius:6px;font-size:12px!important}
  :is(#page-popup,.dq-quick-quote-popup) .q-editor-topbar [data-q-action="print-preview"]{background:#0071e3;color:#fff;border-color:#0071e3}
  :is(#page-popup,.dq-quick-quote-popup) .q-editor-topbar [data-q-action="print-preview"]:hover:not(:disabled){background:#0062c4;border-color:#0062c4}
  :is(#page-popup,.dq-quick-quote-popup) .q-editor-topbar .q-info-panel{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;min-width:0;padding:0;margin:0;border:0;border-radius:0;background:transparent}
  :is(#page-popup,.dq-quick-quote-popup) .q-editor-topbar .q-info-panel:not(.q-info-editable){grid-template-columns:minmax(0,1.2fr) minmax(0,1fr) auto}
  :is(#page-popup,.dq-quick-quote-popup) .q-editor-topbar .q-info-panel>.q-form-field:nth-child(n){grid-column:auto;grid-row:auto;font-size:11px;line-height:16px}
  :is(#page-popup,.dq-quick-quote-popup) .q-editor-topbar .q-info-editable>.q-form-field{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:10px}
  :is(#page-popup,.dq-quick-quote-popup) .q-editor-topbar .q-field-caption{color:#42464d;font-size:14px;font-weight:600;line-height:20px;white-space:nowrap}
  :is(#page-popup,.dq-quick-quote-popup) .q-editor-topbar .q-field-caption>span{color:#0071e3;font-weight:500;margin-left:3px}
  :is(#page-popup,.dq-quick-quote-popup) .q-editor-topbar .q-form-field input{height:40px;min-height:40px;margin-top:0;padding:8px 12px;border-radius:7px;font-size:13px}
  :is(#page-popup,.dq-quick-quote-popup) .q-editor-topbar .q-customer-choice{display:flex;align-items:center;gap:8px;min-height:40px;height:40px;margin-top:0;padding:8px 12px;border-radius:7px}
  :is(#page-popup,.dq-quick-quote-popup) .q-editor-topbar .q-customer-choice-main{display:block;min-width:0;overflow:hidden}
  :is(#page-popup,.dq-quick-quote-popup) .q-editor-topbar .q-customer-choice-main strong{display:block;font-size:13px;line-height:20px;font-weight:400;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}
  :is(#page-popup,.dq-quick-quote-popup) .q-editor-topbar .q-customer-choice-main small{display:none}
  :is(#page-popup,.dq-quick-quote-popup) .q-editor-topbar .q-customer-choice-action{font-size:11px;white-space:nowrap;flex-shrink:0;margin-left:auto}
  :is(#page-popup,.dq-quick-quote-popup) .q-editor-topbar .q-readonly-value{display:block;max-width:100%;margin-top:7px;font-size:12px;line-height:24px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  :is(#page-popup,.dq-quick-quote-popup):has(.q-editor-topbar) :is(#page-popup-content,.dq-quick-quote-content){padding:18px}
}
@media screen and (min-width:701px) and (max-width:1199px){
  :is(#page-popup,.dq-quick-quote-popup):has(.q-editor-topbar){--page-popup-header-height:116px}
  :is(#page-popup,.dq-quick-quote-popup):has(.q-editor-topbar)>.page-popup-header{align-items:flex-start;padding-top:12px}
  :is(#page-popup,.dq-quick-quote-popup) .q-editor-topbar{grid-template-columns:minmax(0,1fr) auto;grid-template-rows:40px 40px;gap:12px 16px;padding:12px 16px}
  :is(#page-popup,.dq-quick-quote-popup) .q-editor-heading{grid-column:1;grid-row:1;grid-template-columns:auto minmax(0,1fr);gap:0 12px}
  :is(#page-popup,.dq-quick-quote-popup) .q-editor-heading .q-back{grid-row:1;grid-column:2;align-self:center}
  :is(#page-popup,.dq-quick-quote-popup) .q-editor-heading p{grid-column:1/-1}
  :is(#page-popup,.dq-quick-quote-popup) .q-editor-topbar .q-info-panel{grid-column:1/-1;grid-row:2}
  :is(#page-popup,.dq-quick-quote-popup) .q-editor-topbar .q-heading-actions{grid-column:2;grid-row:1;margin:0 112px 0 0;gap:6px}
  :is(#page-popup,.dq-quick-quote-popup) .q-editor-topbar .q-heading-actions .q-button{padding:0 9px}
}
@media screen and (max-width:700px){
  :is(#page-popup,.dq-quick-quote-popup):has(.q-editor-topbar){--page-popup-header-height:204px}
  :is(#page-popup,.dq-quick-quote-popup) .q-editor-topbar{grid-template-columns:minmax(0,1fr);grid-template-rows:36px 88px 40px;gap:8px;padding:12px 14px}
  :is(#page-popup,.dq-quick-quote-popup):has(.q-editor-topbar)>.page-popup-header{align-items:flex-start;padding:12px 14px}
  :is(#page-popup,.dq-quick-quote-popup) .q-editor-heading{padding-right:110px;grid-row:1}
  :is(#page-popup,.dq-quick-quote-popup) .q-editor-heading h1{font-size:16px;line-height:20px}
  :is(#page-popup,.dq-quick-quote-popup) .q-editor-heading .q-back{font-size:10px!important;line-height:16px}
  :is(#page-popup,.dq-quick-quote-popup) .q-editor-heading p{display:none}
  :is(#page-popup,.dq-quick-quote-popup) .q-editor-topbar .q-info-panel{grid-row:2;grid-template-columns:minmax(0,1fr);gap:8px}
  :is(#page-popup,.dq-quick-quote-popup) .q-editor-topbar .q-info-panel:not(.q-info-editable){grid-template-columns:1fr 1fr}
  :is(#page-popup,.dq-quick-quote-popup):has(.q-editor-topbar .q-info-panel:not(.q-info-editable)){--page-popup-header-height:232px}
  :is(#page-popup,.dq-quick-quote-popup) .q-editor-topbar:has(.q-info-panel:not(.q-info-editable)){grid-template-rows:36px 116px 40px}
  :is(#page-popup,.dq-quick-quote-popup) .q-editor-topbar .q-heading-actions{grid-row:3;gap:8px;margin:0}
  :is(#page-popup,.dq-quick-quote-popup) .q-editor-topbar .q-heading-actions .q-button{height:40px;min-height:40px;padding:0 10px}
  :is(#page-popup,.dq-quick-quote-popup):has(.q-editor-topbar) :is(#page-popup-content,.dq-quick-quote-content){padding:14px}
  :is(#page-popup,.dq-quick-quote-popup):has(.q-editor-topbar) .q-product-drawer{height:min(55%,calc(100% - var(--page-popup-header-height) - 36px));max-height:calc(100% - var(--page-popup-header-height) - 36px)}
  :is(#page-popup,.dq-quick-quote-popup):has(.q-editor-topbar) .is-picker-open .q-catalog-toggle{bottom:min(55%,calc(100% - var(--page-popup-header-height) - 36px))}
}
@media screen and (max-width:380px){
  :is(#page-popup,.dq-quick-quote-popup) .q-editor-topbar .q-heading-actions{gap:6px}
  :is(#page-popup,.dq-quick-quote-popup) .q-editor-topbar .q-heading-actions .q-button{padding:0 8px;font-size:11px!important}
}

/* Keep desktop list controls aligned; mobile touch sizes and print remain unchanged. */
@media screen and (min-width:701px) {
  .q-list-panel .q-list-search,
  .q-list-panel .q-followup-filter button {box-sizing:border-box;height:32px;min-height:32px;padding:5px 10px;font-size:12px;line-height:20px;}
  .q-list-panel .q-list-search {width:280px;max-width:100%;min-width:0;flex:0 1 280px;}
  .q-list-panel .q-list-toolbar {min-height:56px;}
  .q-product-drawer .q-drawer-filters .q-search {box-sizing:border-box;height:32px;min-height:32px;padding:5px 10px;font-size:12px;line-height:20px;}
  .q-form-field input,
  .q-form-field select,
  .q-customer-choice {box-sizing:border-box;height:36px;min-height:36px;padding:7px 10px;font-size:12px;line-height:20px;}
}

/* Quotation copies share the existing compact actions without clipping on narrow lists. */
.q-list-panel article.q-quote-row>.q-row-actions.has-copy{display:flex;flex-wrap:wrap;justify-content:flex-end;max-width:350px;gap:6px}
.q-list-panel article.q-quote-row>.q-row-actions.has-copy>button{flex:0 0 auto;width:auto;padding-inline:10px}
.q-list-panel article.q-quote-row>.q-row-actions.has-copy>.q-quote-delete{width:26px;padding:0}
.q-list-panel article.q-quote-row>.q-row-actions>.q-quote-copy{background:#edf4ff;color:#0071e3}
.q-list-panel article.q-quote-row>.q-row-actions>.q-quote-copy:hover{background:#e2eeff}
.q-copy-choice label:has(input:disabled){opacity:.5;cursor:default}

/* Local quotation line editing: hold blank row space to reorder. */
.q-cart-item[data-q-sortable]:focus-visible{outline:2px solid var(--q-copper);outline-offset:2px;border-radius:6px}
.q-cart-item.q-line-pressing{user-select:none;-webkit-user-select:none;cursor:grabbing}
.q-cart-item .q-line-replace{font-size:11px;color:#0071e3;white-space:nowrap}
.q-cart-item.q-line-dragging{opacity:.2;background:#f5f9ff;border-radius:7px;outline:1px dashed #b8d6f6;outline-offset:-1px}
.q-line-drag-layer.q-module.q-cart-products{position:fixed;z-index:15000;max-width:none;margin:0;padding:0;border:0;border-radius:8px;background:#fff;pointer-events:none;box-shadow:0 10px 28px #1d1d1f24;overflow:hidden;user-select:none;animation:q-line-lift 150ms ease-out}
.q-line-drag-layer .q-line-drag-ghost{margin:0;border-bottom:0;opacity:.97}
@keyframes q-line-lift{from{opacity:.7;box-shadow:0 2px 5px #1d1d1f12}to{opacity:1;box-shadow:0 10px 28px #1d1d1f24}}
@media(prefers-reduced-motion:reduce){.q-line-drag-layer.q-module.q-cart-products{animation:none}}
.q-replace-form{font-size:13px}
.q-replace-original{margin:0 0 14px;color:#6e6e73;line-height:1.7}
.q-replace-original strong{font-weight:500;color:#1d1d1f}
.q-replace-original>span{display:block;font-size:12px}
.q-replace-filters{display:grid;grid-template-columns:minmax(180px,2fr) minmax(100px,1fr) minmax(100px,1fr);gap:8px}
.q-replace-filters input,.q-replace-filters select,.q-replace-fields input{width:100%;min-width:0;height:36px;border:1px solid #e5e5ea;border-radius:6px;background:#fff;padding:7px 10px;font:inherit;color:#1d1d1f}
.q-replace-count{margin:12px 0 7px;color:#86868b;font-size:11px}
.q-replace-choices{max-height:30vh;overflow:auto;overscroll-behavior:contain;border:1px solid #e5e5ea;border-radius:7px}
.q-replace-choice{display:flex;align-items:center;gap:10px;width:100%;padding:10px 12px;background:#fff;border:0;border-bottom:1px solid #eeeef1;text-align:left;cursor:pointer}
.q-replace-choice:last-child{border-bottom:0}
.q-replace-choice>img{width:42px;height:42px;object-fit:contain;flex:none;background:#f7f8fa;border-radius:5px}
.q-replace-choice>span{min-width:0;flex:1}
.q-replace-choice strong{display:block;font-size:12px;font-weight:500;line-height:1.5;color:#1d1d1f}
.q-replace-choice small{display:block;margin-top:3px;font-size:11px;color:#6e6e73;line-height:1.4}
.q-replace-choice>b{font-size:12px;font-weight:500;white-space:nowrap;color:#1d1d1f}
.q-replace-choice:hover{background:#f7f9fc}
.q-replace-choice.is-selected{background:#edf5ff;box-shadow:inset 3px 0 #0071e3}
.q-replace-more{width:100%;padding:10px;border:0;background:#f7f8fa;color:#0071e3;font-size:12px;cursor:pointer}
.q-replace-empty{padding:24px 12px;text-align:center;color:#86868b}
.q-replace-selection{margin-top:12px;padding:12px;background:#f7f8fa;border:1px solid #e5e5ea;border-radius:7px}
.q-replace-selection[hidden]{display:none}
.q-replace-selected>strong{display:block;font-size:13px;font-weight:500}
.q-replace-selected>span{display:block;margin-top:4px;font-size:12px;color:#6e6e73}
.q-replace-fields{display:flex;gap:12px;margin-top:12px}
.q-replace-fields>label{display:grid;gap:6px;max-width:200px;flex:1;font-size:12px;color:#6e6e73}
.q-replace-note,.q-replace-unit-note{font-size:11px;line-height:1.7;color:#86868b;margin:12px 0 0}
.q-replace-unit-note{color:#976b22}
@media(max-width:600px){.q-replace-filters{grid-template-columns:1fr 1fr}.q-replace-filters>input{grid-column:1/-1}.q-replace-filters input,.q-replace-fields input{font-size:16px}.q-replace-choice{padding:10px 8px}.q-cart-item .q-line-drag{width:28px;height:30px;flex-basis:28px}.q-replace-choice>b{font-size:11px}.q-replace-choices{max-height:27vh}}
@container quote-list (max-width:719px){.q-list-panel article.q-quote-row>.q-row-actions.has-copy{max-width:none;justify-content:flex-start}.q-list-panel article.q-quote-row>.q-row-actions.has-copy>.q-quote-delete{width:32px}}
/* Phones: keep a usable strip of the quote above the product sheet, and scroll focused fields clear of it. */
@media screen and (max-width:700px){
  :is(#page-popup,.dq-quick-quote-popup) .q-product-drawer,:is(#page-popup,.dq-quick-quote-popup):has(.q-editor-topbar) .q-product-drawer{height:42%;max-height:42%}
  :is(#page-popup,.dq-quick-quote-popup) .q-cart-module.is-picker-open .q-catalog-toggle,:is(#page-popup,.dq-quick-quote-popup):has(.q-editor-topbar) .is-picker-open .q-catalog-toggle{bottom:42%}
  :is(#page-popup,.dq-quick-quote-popup):has(.q-cart-module.is-picker-open) :is(#page-popup-content,.dq-quick-quote-content){scroll-padding-bottom:calc(42dvh + 12px)}
}

/* Landscape proposal: fixed physical page geometry is shared with pagination. */
.q-landscape-preview .q-print-sheet{width:297mm;min-width:297mm;min-height:210mm;padding:12mm;font-size:9pt;background:#fff}
.q-landscape-preview .q-preview-toolbar{margin-bottom:14px;gap:20px;align-items:center}
.q-landscape-preview .q-preview-toolbar h1{font-size:23px;margin:0 0 5px}
.q-landscape-preview .q-preview-toolbar p{font-size:12px;margin:0;color:#7c8794}
.q-landscape-preview .q-sheet-intro{display:grid;grid-template-columns:minmax(0,1fr) 126mm;gap:4mm 8mm;margin-bottom:5mm}
.q-landscape-preview .q-sheet-header{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;padding:0 0 4mm;border-bottom:1.5px solid #253b4a}
.q-landscape-preview .q-sheet-brand>img{width:25mm;height:auto}
.q-landscape-preview .q-sheet-header h2{margin:0;font-size:14pt;font-weight:600;letter-spacing:1px}
.q-landscape-preview .q-sheet-title{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:1.5mm;padding:0}
.q-landscape-preview .q-sheet-title h3{margin:0;font-size:15pt;font-weight:600;line-height:1.35;letter-spacing:0}
.q-landscape-preview .q-small-label{font-size:7.5pt;color:#858b92;letter-spacing:0}
.q-landscape-preview .q-sheet-info{display:grid;grid-template-columns:1.1fr .8fr 1fr;gap:4mm;padding:0;align-items:start}
.q-landscape-preview .q-sheet-info>div{gap:1mm}
.q-landscape-preview .q-sheet-info strong{font-size:9pt;font-weight:500}
.q-landscape-preview .q-sheet-info span,.q-landscape-preview .q-sheet-info small{font-size:7pt;color:#747c87}
.q-landscape-preview .q-sheet-table th{padding:2.5mm 1.5mm;color:#64717f;font-weight:500;font-size:8pt;background:#f5f7f9;border-bottom:1px solid #dce2e8}
.q-landscape-preview .q-sheet-table td{padding:2.5mm 1.5mm;border-bottom:1px solid #e3e7ec;font-size:9pt}
.q-landscape-preview .q-sheet-table th.q-sheet-product-brand,.q-landscape-preview .q-sheet-table td.q-sheet-product-brand{width:8%;padding:2mm 1.5mm;text-align:center}
.q-landscape-preview .q-sheet-table th.q-sheet-product-image,.q-landscape-preview .q-sheet-table td.q-sheet-product-image{width:7%;padding:2mm 1mm}
.q-landscape-preview .q-sheet-table th.q-sheet-product-spec,.q-landscape-preview .q-sheet-table td.q-sheet-product-spec{width:38%;padding-left:3mm;padding-right:3mm}
.q-landscape-preview .q-sheet-table th:nth-child(4){width:17%}
.q-landscape-preview .q-sheet-table th:nth-child(5){width:12%}
.q-landscape-preview .q-sheet-table th:nth-child(6){width:18%}
.q-landscape-preview .q-sheet-table th:nth-child(4),.q-landscape-preview .q-sheet-table td:nth-child(4){text-align:left;padding-left:3mm}
.q-landscape-preview .q-sheet-table th:nth-child(5),.q-landscape-preview .q-sheet-table td:nth-child(5){text-align:center}
.q-landscape-preview .q-sheet-table td strong{font-size:10pt;font-weight:500;line-height:1.4}
.q-landscape-preview .q-sheet-table td span{font-size:8pt;line-height:1.4;margin-top:1mm}
.q-landscape-preview .q-sheet-table td:nth-child(4),.q-landscape-preview .q-sheet-table td:nth-child(6){font-size:9.5pt;font-variant-numeric:tabular-nums}
.q-landscape-preview .q-sheet-thumb{width:12mm;height:12mm;object-fit:contain}
.q-landscape-preview .q-sheet-table .q-sheet-location-heading>th{padding:2mm 3mm;font-size:9pt;background:#eef2f6;border-top:1px solid #dce2e8;color:#334458}
.q-landscape-preview .q-sheet-summary{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:3mm 7mm;width:100%;max-width:none;margin:5mm 0 4mm}
.q-landscape-preview .q-sheet-summary>div{display:flex;flex-direction:column;align-items:flex-end;gap:1mm;min-width:35mm;max-width:72mm;margin:0;font-size:8pt}
.q-landscape-preview .q-sheet-summary>div>span{color:#7b8490;line-height:1.4;text-align:right}
.q-landscape-preview .q-sheet-summary>div>strong{font-size:11pt;font-weight:500;line-height:1.5}
.q-landscape-preview .q-sheet-summary .q-sheet-grand{padding:0 0 0 7mm;margin:0;border-top:0;border-left:1px solid #dce2e8}
.q-landscape-preview .q-sheet-grand strong{font-size:20pt!important;font-weight:600!important;color:#1d3447}
.q-landscape-preview .q-sheet-footer{display:flex;justify-content:space-between;align-items:center;gap:6mm;padding-top:3mm;border-top:1px solid #e2e7ec}
.q-landscape-preview .q-sheet-footer p{margin:0;font-size:8pt;letter-spacing:0;color:#536374}
.q-landscape-preview .q-sheet-footer>span{font-size:7pt;color:#89919a}
.q-landscape-preview .q-sheet-table .q-print-brand-name{display:block;font-size:9pt;line-height:1.45;color:#526170;margin:0;font-weight:400;overflow-wrap:anywhere}
.q-print-preparing{font-size:12px;line-height:1.5;color:#7e8894;margin:8px 0 12px}
.q-print-preparing.is-error{color:#b7523f}
.q-drawing-page-tabs{display:flex;gap:8px;overflow-x:auto;padding:0 0 12px}
.q-drawing-page-tabs button{flex:none;border:1px solid #dce2e8;border-radius:6px;padding:7px 12px;background:#fff;color:#617083;font:inherit;font-size:12px;cursor:pointer}
.q-drawing-page-tabs button[aria-pressed="true"]{border-color:#87bcf4;background:#edf6ff;color:#0071e3}
#aid-quote-document-print{display:none}
@media print{
  @page{size:A4 landscape;margin:0}
  body.q-print-active>:not(#aid-quote-document-print){display:none!important}
  body.q-print-active>#aid-quote-document-print{display:block!important}
  #aid-quote-document-print .q-sheet-table th.q-sheet-product-brand,#aid-quote-document-print .q-sheet-table td.q-sheet-product-brand{padding:2mm 1.5mm}
  #aid-quote-document-print .q-sheet-table th.q-sheet-product-image,#aid-quote-document-print .q-sheet-table td.q-sheet-product-image{padding:2mm 1mm}
  #aid-quote-document-print .q-sheet-thumb{width:12mm;height:12mm}
  .q-landscape-preview .qpp-pages{display:block!important;position:static!important;gap:0!important;margin:0!important;padding:0!important}
  .q-landscape-preview .qpp-page{box-sizing:border-box!important;width:297mm!important;min-width:297mm!important;max-width:297mm!important;height:210mm!important;min-height:210mm!important;max-height:210mm!important;padding:12mm!important;margin:0!important;border:0!important;outline:0!important;box-shadow:none!important;transform:none!important;break-inside:avoid!important;break-after:page!important;page-break-after:always!important}
  #aid-quote-document-print .qpp-drawing-page,.q-landscape-preview .qpp-page.qpp-drawing-page{padding:2mm!important}
  #aid-quote-document-print .qpp-drawing-page .qpp-page-content{height:206mm!important}
  .q-landscape-preview .qpp-page:last-child{break-after:auto!important;page-break-after:auto!important}
}

.q-insert-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.q-insert-options button{height:auto;min-height:90px;text-align:left;padding:16px}.q-insert-options button span{display:block;font-size:12px;color:#66717b;margin-top:6px}.q-preview-module .q-preview-toolbar{gap:16px}.q-preview-module.q-module{max-width:none}.q-preview-module .q-heading-actions{gap:8px}@media(max-width:600px){.q-insert-options{grid-template-columns:1fr}}

/* Amounts stay as text until hovered or focused; editing keeps the same geometry. */
.q-cart-item .q-line-amount-editor{position:relative;width:100%;min-width:0}
.q-cart-item .q-line-amount-editor input{position:absolute;inset:0;width:100%;min-width:0;max-width:100%;height:100%;min-height:26px;margin:0;border:1px solid #b8d6f6;border-radius:4px;padding:0 5px;text-align:right;font:inherit;font-size:14px;font-weight:600;font-variant-numeric:tabular-nums;color:var(--q-ink);background:#fff;opacity:0;pointer-events:none;box-sizing:border-box}
.q-cart-item .q-line-amount-editor:has(input):hover strong,.q-cart-item .q-line-amount-editor:focus-within strong{visibility:hidden}
.q-cart-item .q-line-amount-editor:hover input,.q-cart-item .q-line-amount-editor input:focus{opacity:1;pointer-events:auto}
.q-cart-item .q-line-amount-editor input:focus{outline:2px solid #0071e3;outline-offset:1px}
@media(hover:none){.q-cart-item .q-line-amount-editor input{pointer-events:auto}}
@media(max-width:600px){.q-cart-item .q-line-amount-editor input{font-size:16px}}
