:root{--q-ink:var(--mt-brand,#1d1d1f);--q-muted:var(--mt-muted,#6e6e73);--q-line:var(--mt-line,#e5e5ea);--q-copper:var(--mt-accent,#0071e3)}
.q-module{--q-ink:var(--mt-brand,#1d1d1f);--q-muted:var(--mt-muted,#6e6e73);--q-line:var(--mt-line,#e5e5ea);--q-copper:var(--mt-accent,#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 var(--mt-accent,#0071e3);background:var(--mt-accent,#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:var(--mt-hover,#0062c4)}.q-button-secondary{background:transparent;color:var(--mt-brand,#1d1d1f);border-color:var(--mt-line,#e5e5ea)}.q-button-secondary:hover{background:var(--mt-canvas,#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:var(--mt-muted,#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:var(--mt-muted,#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:var(--mt-muted,#6e6e73);font-size:12px!important;padding:19px 0}.q-tab.is-active{border-bottom-color:var(--mt-accent,#0071e3);color:var(--mt-accent,#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:var(--mt-muted,#6e6e73);padding:16px 25px;background:var(--mt-quiet,#f8f9fb)}.q-quote-row{padding:24px 25px;border-top:1px solid var(--mt-line,#e5e5ea)}.q-quote-row:hover{background:var(--mt-canvas,#f5f5f7)}.q-text-button{padding:0;border:0;background:transparent;font-size:11px!important;color:var(--mt-brand,#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:var(--mt-muted,#6e6e73);margin:6px 0 0;line-height:1.7}.q-quote-identity p span{margin:0 8px;color:var(--mt-muted,#6e6e73)}.q-quote-money{font-size:14px;font-weight:500;font-variant-numeric:tabular-nums}.q-quote-date{font-size:11px;color:var(--mt-muted,#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:var(--mt-muted,#6e6e73);background:var(--mt-canvas,#f5f5f7)}.q-status-pending{color:var(--mt-accent,#0071e3);background:var(--mt-soft,#eaf3ff)}.q-status-confirmed{color:var(--mt-accent,#0071e3);background:var(--mt-soft,#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:var(--mt-muted,#6e6e73);margin-top:18px}.q-empty{text-align:center;padding:70px 20px}.q-empty-symbol{font-size:30px;color:var(--mt-muted,#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:var(--mt-muted,#6e6e73);font-size:11px!important;padding:0;margin-bottom:7px}.q-back:hover{color:var(--mt-brand,#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:var(--mt-brand,#1d1d1f);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 var(--mt-line,#e5e5ea);background:#fff;border-radius:4px;color:var(--mt-brand,#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:var(--mt-muted,#6e6e73)}.q-form-field small{font-size:10px;color:var(--mt-muted,#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:var(--mt-muted,#6e6e73);font-weight:400}.q-search{margin:0;background:var(--mt-quiet,#f8f9fb)}.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:var(--mt-canvas,#f5f5f7);color:var(--mt-muted,#6e6e73);border-radius:4px}.q-category.is-active{border-color:var(--mt-blue-line,#b8d6f6);background:#fff;color:var(--mt-accent,#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:var(--mt-blue-line,#b8d6f6);box-shadow:0 2px 8px #00000008}.q-thumb{height:145px;display:flex;align-items:center;justify-content:center;background:var(--mt-quiet,#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:var(--mt-muted,#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:var(--mt-muted,#6e6e73);line-height:1.6}.q-product-price{font-size:12px;color:var(--mt-brand,#1d1d1f);margin-top:4px;font-variant-numeric:tabular-nums}.q-product-price small{font-size:9px;color:var(--mt-muted,#6e6e73)}.q-add-symbol{position:absolute;bottom:16px;right:12px;width:23px;height:23px;border:1px solid var(--mt-line,#e5e5ea);display:flex;align-items:center;justify-content:center;border-radius:50%;color:var(--mt-accent,#0071e3);background:#fff;font-size:15px}.q-catalog-empty{grid-column:1/-1;text-align:center;padding:40px 0;color:var(--mt-muted,#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:var(--mt-muted,#6e6e73);margin:3px 0 13px;line-height:1.5}.q-remove{border:0;background:transparent;color:var(--mt-muted,#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:var(--mt-muted,#6e6e73);min-width:0}.q-line-fields input{width:100%;height:31px;border:1px solid var(--mt-line,#e5e5ea);border-radius:3px;background:#fff;color:var(--mt-brand,#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:var(--mt-muted,#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:var(--mt-quiet,#f8f9fb);border:1px dashed var(--mt-line,#e5e5ea);text-align:center;border-radius:4px}.q-selected-empty>span{font-size:27px;color:var(--mt-muted,#6e6e73)}.q-selected-empty p{font-size:12px;color:var(--mt-muted,#6e6e73);margin:10px 0 5px}.q-selected-empty small{font-size:10px;color:var(--mt-muted,#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:var(--mt-muted,#6e6e73)}.q-totals strong{font-weight:400;color:var(--mt-brand,#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:var(--mt-brand,#1d1d1f);font-size:12px}.q-grand-total strong{font-size:26px;font-weight:500;letter-spacing:-.6px;color:var(--mt-brand,#1d1d1f)}.q-selection-note{font-size:10px;line-height:1.9;color:var(--mt-muted,#6e6e73);margin:15px 0 20px}.q-save-wide{width:100%;justify-content:space-between}.q-form-message{padding:13px 17px;border:1px solid var(--mt-line,#e5e5ea);background:var(--mt-quiet,#f8f9fb);color:var(--mt-brand,#1d1d1f);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 var(--doc-ink,#1d1d1d);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:var(--doc-muted,#6e6e6e);margin-top:13px}.q-sheet-header>div:last-child{text-align:right}.q-sheet-kicker{font-size:8px;letter-spacing:1.8px;color:var(--doc-muted,#6e6e6e)}.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:var(--doc-muted,#6e6e6e)}.q-sheet-info strong{font-size:12px;font-weight:400;line-height:1.6}.q-sheet-info small{font-size:9px;color:var(--doc-muted,#6e6e6e)}.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:var(--doc-muted,#6e6e6e);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:var(--doc-muted,#6e6e6e);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:var(--doc-muted,#6e6e6e)}.q-sheet-summary strong{font-weight:400;color:var(--doc-ink,#1d1d1d);white-space:nowrap;font-variant-numeric:tabular-nums}.q-sheet-summary .q-sheet-grand{padding-top:22px;margin-top:20px;border-top:1px solid var(--doc-ink,#1d1d1d);align-items:baseline;color:var(--doc-ink,#1d1d1d);font-size:12px}.q-sheet-grand strong{font-size:26px;font-weight:500;color:var(--doc-ink,#1d1d1d)}.q-sheet-footer{border-top:1px solid var(--q-line);padding-top:25px}.q-sheet-footer p{font-size:14px;letter-spacing:2px;color:var(--doc-ink,#1d1d1d);margin:0 0 10px}.q-sheet-footer>span{font-size:9px;color:var(--doc-muted,#6e6e6e);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:var(--mt-muted,#6e6e73)!important}.q-list-labels,.q-quote-row{grid-template-columns:minmax(180px,2fr) minmax(110px,1fr) 95px 75px 195px}.q-confirm-link{background:var(--mt-soft,#eaf3ff);border:1px solid var(--mt-blue-line,#b8d6f6);border-radius:4px;color:var(--mt-accent,#0071e3);padding:6px 9px;font-weight:600}.q-confirm-link:hover{background:var(--mt-soft,#eaf3ff);color:var(--mt-hover,#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 var(--mt-blue-line,#b8d6f6);background:var(--mt-soft,#eaf3ff);border-radius:6px;color:var(--mt-accent,#0071e3)}.q-saved-check{display:flex;align-items:center;justify-content:center;width:23px;height:23px;flex:none;border:1px solid var(--mt-blue-line,#b8d6f6);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:var(--mt-accent,#0071e3)}.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 var(--mt-line,#e5e5ea);background:var(--mt-canvas,#f5f5f7);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:var(--mt-muted,#6e6e73);margin:0;max-width:535px;overflow-wrap:anywhere}.q-next-step>.q-button{flex-shrink:0}.q-confirm-review{font-size:13px;color:var(--mt-brand,#1d1d1f)}.q-review-lead{line-height:1.8;margin:0 0 19px;color:var(--mt-brand,#1d1d1f)}.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 var(--mt-line,#e5e5ea)}.q-review-summary dt{font-size:12px;flex:none;color:var(--mt-muted,#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:var(--mt-canvas,#f5f5f7);border:1px solid var(--mt-line,#e5e5ea);border-radius:5px;padding:17px 18px;font-size:12px;line-height:1.8;color:var(--mt-muted,#6e6e73)}.q-review-note strong{font-weight:500}.q-review-note p{font-size:11px;margin:7px 0 0;color:var(--mt-muted,#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:var(--mt-muted,#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:var(--mt-muted,#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 var(--mt-line,#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:var(--mt-quiet,#f8f9fb);color:var(--mt-brand,#1d1d1f);font-size:14px!important;line-height:1}.q-quantity button:hover{background:var(--mt-canvas,#f5f5f7)}.q-quantity button:disabled{cursor:default;background:var(--mt-quiet,#f8f9fb);color:var(--mt-muted,#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:var(--mt-muted,#6e6e73);overflow-wrap:anywhere}.q-readonly-value{display:block;font-size:13px;line-height:1.8;font-weight:500;color:var(--mt-brand,#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:var(--mt-muted,#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 0 0 auto;margin:0;width:min(600px,90vw);max-width:100vw;height:100vh;height:100dvh;max-height:100vh;max-height:100dvh;border:0;border-left:1px solid var(--q-line);border-radius:0;padding:0;overflow:hidden;color:var(--q-ink);background:var(--mt-quiet,#f8f9fb);box-shadow:-16px 0 60px #00000020}.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:var(--mt-muted,#6e6e73)}.q-product-drawer .q-drawer-close:hover{background:var(--mt-canvas,#f5f5f7);color:var(--mt-brand,#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:var(--mt-quiet,#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:var(--mt-muted,#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:var(--mt-line,#e5e5ea);box-shadow:inset 0 0 0 1px #0000001a}.q-product-drawer .q-thumb{height:159px;background:var(--mt-canvas,#f5f5f7)}.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:var(--mt-line,#e5e5ea);background:var(--mt-quiet,#f8f9fb);color:var(--mt-accent,#0071e3)}.q-product-chosen{position:absolute;left:14px;bottom:17px;display:block;font-size:10px;line-height:1.6;color:var(--mt-muted,#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 #00000005;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:var(--mt-muted,#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:var(--mt-muted,#6e6e73)}.q-drawer-summary strong{font-size:24px;line-height:1.3;font-weight:500;letter-spacing:-.5px;font-variant-numeric:tabular-nums;color:var(--mt-brand,#1d1d1f)}.q-drawer-summary>small{display:block;font-size:9px;line-height:1.7;color:var(--mt-muted,#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 var(--mt-line,#e5e5ea);border-radius:4px;color:var(--q-ink);font:inherit;cursor:pointer}
.q-customer-choice:hover{border-color:var(--mt-blue-line,#b8d6f6);background:var(--mt-canvas,#f5f5f7)}.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-width:min(560px,40vw)}
.q-product-drawer{z-index:40;box-shadow:-6px 0 24px #00000009}
.q-catalog-toggle{position:fixed;z-index:41;right:0;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 var(--mt-line,#e5e5ea);border-right:0;border-radius:7px 0 0 7px;background:#fff;color:var(--mt-muted,#6e6e73);box-shadow:-3px 1px 12px #00000008}
.q-catalog-toggle:hover{background:var(--mt-canvas,#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-cart-module.is-picker-open .q-catalog-toggle svg{transform:rotate(180deg)}
.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:var(--mt-accent,#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-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{--q-picker-left:var(--sidebar,0px)}
  .q-cart-module.is-picker-open{margin-left:calc(var(--q-picker-width) + 12px)}
  .q-product-drawer{inset:74px auto 0 var(--q-picker-left);width:var(--q-picker-width);height:calc(100dvh - 74px);max-height:calc(100dvh - 74px);border-left:0;border-right:1px solid var(--q-line);box-shadow:6px 0 24px #00000009}
  .q-catalog-toggle{left:var(--q-picker-left);right:auto;border-left:0;border-right:1px solid var(--mt-line,#e5e5ea);border-radius:0 7px 7px 0;box-shadow:3px 1px 12px #00000008}
  .q-catalog-toggle svg{transform:rotate(180deg)}
  .q-cart-module.is-picker-open .q-catalog-toggle{left:calc(var(--q-picker-left) + var(--q-picker-width))}
  .q-cart-module.is-picker-open .q-catalog-toggle svg{transform:rotate(0deg)}
  .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(max-width:1100px){
  .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 #00000015}
  .q-cart-module.is-picker-open .q-catalog-toggle{top:auto;bottom:55dvh;right:18px;transform:none;flex-direction:row;width:78px;min-height:30px;padding:5px 8px;border:1px solid var(--mt-line,#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-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}}

/* Product details, effective price, quantity and line total share consistent alignment. */
.q-cart-products{container-type:inline-size;container-name:quote-cart}
.q-cart-item{display:grid;grid-template-columns:56px minmax(0,1fr);gap:14px;padding:18px 0;align-items:start}
.q-cart-item:first-child{padding-top:18px}
.q-cart-item .q-line-thumb{width:56px;height:76px}
.q-cart-item .q-line-thumb img{padding:6px}
.q-product-preview{display:block;padding:0;border:0;background:transparent;color:inherit;overflow:hidden;transition:box-shadow .16s}
.q-product-preview>.q-thumb{width:100%;height:100%;border-radius:inherit}
.q-product-preview:hover{box-shadow:0 0 0 1px #0000001a}
.q-cart-item .q-line-main{display:contents}
.q-cart-item .q-line-top{display:flex;flex-direction:column;gap:10px;min-width:0;grid-column:2;grid-row:1}
.q-cart-item .q-line-top>div{min-width:0}
.q-cart-item .q-line-top strong{font-size:14px;line-height:1.5;overflow-wrap:anywhere}
.q-cart-item .q-line-top p{margin:5px 0 3px}
.q-cart-item .q-line-options{display:flex;align-items:center;gap:8px 16px;flex-wrap:wrap}
.q-cart-item .q-discount-exempt{display:inline-flex;align-items:center;gap:6px;font-size:10px;line-height:1.5;color:var(--mt-muted,#6e6e73);cursor:pointer}
.q-cart-item .q-discount-exempt input{width:14px;height:14px;min-height:0;margin:0;padding:0;accent-color:var(--q-copper);flex:none;cursor:pointer}
.q-exempt-badge{font-size:10px;color:var(--mt-muted,#6e6e73);background:var(--mt-canvas,#f5f5f7);border-radius:3px;padding:3px 7px;line-height:1.5}
.q-cart-item .q-line-fields{display:grid;grid-template-columns:minmax(0,1fr) 104px;gap:12px 18px;width:100%;max-width:100%;margin:0;grid-column:1/-1;grid-row:2;align-items:start;justify-self:stretch}
.q-cart-item .q-unit-price,.q-cart-item .q-quantity-field{min-width:0;font-size:10px;color:var(--q-muted)}
.q-cart-item .q-field-label,.q-cart-item .q-line-amount>span{font-size:10px;color:var(--q-muted);line-height:1.5}
.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:36px;margin:8px 0 0;font-size:15px;line-height:1.4;font-weight:500;font-variant-numeric:tabular-nums;white-space:nowrap}
.q-cart-item .q-quantity{width:104px;height:36px;margin-top:8px}
.q-cart-item .q-quantity input{height:34px;font-size:14px}
.q-cart-item .q-line-original{display:block;margin-top:3px;font-size:10px;color:var(--mt-muted,#6e6e73);line-height:1.5;font-variant-numeric:tabular-nums}
.q-cart-item .q-line-original[hidden]{display:none}
.q-cart-item .q-line-amount{grid-column:1/-1;display:flex;align-items:baseline;justify-content:space-between;gap:10px;padding-top:10px;border-top:1px solid var(--mt-line,#e5e5ea);text-align:right}
.q-cart-item .q-line-amount strong{margin:0;font-size:16px;line-height:1.4;font-weight:500}
.q-print-original-price{display:block;margin-top:5px;font-size:9px;color:var(--doc-muted,#6e6e6e)}
@container quote-cart (min-width:420px){
  .q-cart-item{grid-template-columns:64px minmax(0,1fr);gap:16px;align-items:center}
  .q-cart-item .q-line-thumb{width:64px;height:84px}
  .q-cart-item .q-line-main{display:grid;grid-template-columns:minmax(0,1fr) 220px;gap:16px;align-items:center}
  .q-cart-item .q-line-top{grid-column:auto;grid-row:auto}
  .q-cart-item .q-line-fields{grid-template-columns:minmax(0,1fr) 96px;gap:12px;width:220px;grid-column:auto;grid-row:auto}
  .q-cart-item .q-quantity{width:96px}
  .q-cart-item .q-line-amount{padding-top:0;border-top:0}
}
@container quote-cart (min-width:600px){
  .q-cart-item{grid-template-columns:72px minmax(0,1fr);gap:20px}
  .q-cart-item .q-line-thumb{width:72px;height:92px}
  .q-cart-item .q-line-main{grid-template-columns:minmax(0,1fr) 250px;gap:20px}
  .q-cart-item .q-line-fields{grid-template-columns:minmax(0,1fr) 104px;gap:12px 16px;width:250px}
  .q-cart-item .q-quantity{width:104px}
}
@container quote-cart (min-width:850px){
  .q-cart-item .q-line-main{grid-template-columns:minmax(180px,1fr) 366px;gap:24px}
  .q-cart-item .q-line-fields{grid-template-columns:118px 104px 116px;gap:14px;width:366px}
  .q-cart-item .q-line-amount{grid-column:auto;display:block}
  .q-cart-item .q-line-amount strong{display:flex;align-items:center;justify-content:flex-end;min-height:36px;margin-top:8px}
}

/* 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;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:var(--mt-muted,#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:var(--mt-muted,#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 var(--mt-line,#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:var(--mt-muted,#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:var(--mt-muted,#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 var(--mt-line,#e5e5ea);border-radius:6px;cursor:pointer}
.q-template-choice:hover{border-color:var(--mt-blue-line,#b8d6f6);background:var(--mt-canvas,#f5f5f7)}
.q-template-choice:focus-visible{outline:2px solid var(--mt-accent,#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:var(--mt-brand,#1d1d1f);overflow-wrap:anywhere}
.q-template-choice small{display:block;font-size:11px;line-height:1.6;color:var(--mt-muted,#6e6e73);margin-top:7px}
.q-template-add{font-size:12px;color:var(--mt-muted,#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 var(--mt-line,#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:var(--mt-soft,#eaf3ff)}
.q-customer-summary:focus-visible{outline:2px solid var(--mt-accent,#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:var(--mt-muted,#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:var(--mt-muted,#6e6e73);margin-bottom:4px}
.q-list-panel .q-customer-expand{font-size:11px;color:var(--mt-muted,#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:var(--mt-quiet,#f8f9fb);border-top:1px solid var(--mt-line,#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:var(--mt-canvas,#f5f5f7)}
.q-customer-quotes .q-quote-row:first-child{border-top:0}
.q-list-panel .q-customer-single .q-customer-quote-title{color:var(--mt-muted,#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:var(--mt-brand,#1d1d1f);font-weight:600}
.q-list-panel .q-customer-latest,.q-list-panel .q-customer-single .q-customer-quote-title{color:var(--mt-muted,#6e6e73)}
.q-list-panel .q-quote-money{font-weight:600;color:var(--mt-brand,#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 var(--mt-line,#e5e5ea);border-radius:4px;background:#fff;color:var(--mt-brand,#1d1d1f);padding:7px 12px;font-size:11px;line-height:1.6;overflow-wrap:anywhere}
.q-followup-filter button:hover{border-color:var(--mt-blue-line,#b8d6f6);background:var(--mt-canvas,#f5f5f7)}
.q-followup-filter button[aria-pressed="true"]{background:var(--mt-soft,#eaf3ff);border-color:var(--mt-blue-line,#b8d6f6);color:var(--mt-accent,#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-preview-module .q-sheet-product-copy .q-sheet-dimensions{margin-top:1mm;color:#6e6e73;font-size:7.5pt;line-height:1.5;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-product-add-actions>[data-q-action="temporary"]{color:var(--q-copper);min-height:34px;white-space:nowrap}

/* 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 var(--mt-line,#e5e5ea);border-radius:0;background:transparent;color:var(--mt-accent,#0071e3);font:inherit;line-height:inherit}
.q-module .q-line-color:hover{color:var(--mt-hover,#0062c4);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:var(--mt-muted,#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 var(--mt-line,#e5e5ea);border-radius:4px;background:#fff;text-align:center}
.q-color-choice:hover:not(:disabled){border-color:var(--mt-line,#e5e5ea);background:var(--mt-canvas,#f5f5f7)}
.q-color-choice[aria-pressed="true"]{border-color:var(--mt-blue-line,#b8d6f6);background:var(--mt-soft,#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:var(--mt-muted,#6e6e73);line-height:1.7;overflow-wrap:anywhere}
.q-color-choice:focus-visible{outline:2px solid var(--mt-accent,#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:var(--mt-muted,#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 var(--mt-line,#e5e5ea);border-radius:6px;padding:20px;background:var(--mt-quiet,#f8f9fb);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:var(--mt-muted,#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:var(--mt-muted,#6e6e73)}
.q-pt-thumb{display:block;flex:none;width:48px;height:48px;object-fit:contain;padding:5px;border:1px solid var(--mt-line,#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:var(--mt-muted,#6e6e73)}
.q-pt-more summary{cursor:pointer}
.q-pt-card-footer{border-top:1px solid var(--mt-line,#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:var(--mt-accent,#0071e3)}
.q-pt-card-footer .button{min-height:34px;padding:7px 12px;font-size:12px;color:var(--mt-accent,#0071e3);border-color:var(--mt-line,#e5e5ea)}
.q-product-templates button:disabled{opacity:.5;cursor:not-allowed}
.q-product-templates .q-text-button{font-size:12px;color:var(--mt-accent,#0071e3);white-space:nowrap}
.q-pt-empty{padding:32px 20px;text-align:center;font-size:12px;color:var(--mt-muted,#6e6e73);line-height:1.8}
.q-pt-welcome{grid-column:1/-1;border:1px dashed var(--mt-line,#e5e5ea);border-radius:6px;background:var(--mt-quiet,#f8f9fb);padding:55px 20px}
.q-pt-welcome strong{font-weight:500;font-size:16px;color:var(--mt-brand,#1d1d1f)}
.q-pt-welcome p{margin:10px 0 0}
.q-pt-note{font-size:11px;color:var(--mt-muted,#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 var(--mt-line,#e5e5ea);border-radius:6px;overflow:hidden}
.q-pt-catalog{padding:18px;background:var(--mt-quiet,#f8f9fb);border-right:1px solid var(--mt-line,#e5e5ea);min-width:0}
.q-pt-catalog .q-form-field input{background:white}
.q-pt-count{font-size:11px;color:var(--mt-muted,#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 var(--mt-line,#e5e5ea);border-radius:3px}
.q-pt-product:hover{background:var(--mt-canvas,#f5f5f7)}
.q-pt-product:focus-visible{outline:2px solid var(--mt-accent,#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:var(--mt-muted,#6e6e73);line-height:1.6;margin-top:5px}
.q-pt-product>span:last-child{font-size:20px;color:var(--mt-muted,#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 var(--mt-line,#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 var(--mt-line,#e5e5ea);border-radius:3px;text-align:center;background:white}
.q-pt-item.is-unavailable small{color:#a14938}
.q-pt-summary{font-size:12px;color:var(--mt-muted,#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 var(--mt-line,#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:var(--mt-muted,#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:var(--mt-muted,#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 var(--mt-line,#e5e5ea);border-radius:3px;background:var(--mt-canvas,#f5f5f7);color:var(--mt-muted,#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:36px;margin-top:8px;border:1px solid var(--mt-line,#e5e5ea);border-radius:3px;padding:7px 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}
@media(max-width:600px){.q-cart-item .q-demo-price input{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 var(--mt-line,#e5e5ea);border-radius:0 3px 3px 0;background:var(--mt-quiet,#f8f9fb);color:var(--mt-accent,#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:var(--mt-soft,#eaf3ff);color:var(--mt-hover,#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 var(--mt-line,#e5e5ea);border-radius:5px;background:var(--mt-quiet,#f8f9fb);box-shadow:0 8px 24px #00000024;color:var(--mt-brand,#1d1d1f)}
.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:var(--mt-muted,#6e6e73);font-size:12px;line-height:1.5;text-align:center;overflow-wrap:anywhere;cursor:pointer}
.q-unit-menu .q-unit-option:hover{background:var(--mt-canvas,#f5f5f7);color:var(--mt-brand,#1d1d1f)}
.q-unit-menu .q-unit-option[aria-selected="true"]{border-color:var(--mt-blue-line,#b8d6f6);background:var(--mt-soft,#eaf3ff);color:var(--mt-accent,#0071e3);font-weight:500}
.q-unit-menu .q-unit-option.is-active{border-color:var(--mt-blue-line,#b8d6f6);background:var(--mt-soft,#eaf3ff);color:var(--mt-accent,#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 var(--mt-line,#e5e5ea);border-radius:0 0 3px 3px;background:transparent;color:var(--q-copper,var(--mt-accent,#0071e3));font-size:11px;line-height:1.6;text-align:left;cursor:pointer}
.q-unit-menu .q-unit-manual:hover{background:var(--mt-canvas,#f5f5f7);color:var(--mt-hover,#0062c4)}
.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,var(--mt-accent,#0071e3));outline-offset:-2px}
.q-unit-manager{min-width:0;color:var(--mt-brand,#1d1d1f)}
.q-unit-manager-note{margin:0 0 17px;font-size:11px;line-height:1.9;color:var(--mt-muted,#6e6e73)}
.q-unit-add{margin:0 0 16px;padding:13px 14px;border:1px solid var(--mt-line,#e5e5ea);border-radius:4px;background:var(--mt-quiet,#f8f9fb)}
.q-unit-add>label{display:block;margin-bottom:8px;font-size:11px;line-height:1.7;color:var(--mt-accent,#0071e3)}
.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 var(--mt-line,#e5e5ea);border-radius:3px;background:var(--mt-quiet,#f8f9fb);color:var(--mt-accent,#0071e3);font-size:13px}
.q-unit-add input::placeholder{color:var(--mt-accent,#0071e3);font-size:11px}
.q-unit-add .button{flex:none;min-height:40px;padding:8px 17px;border-color:var(--mt-line,#e5e5ea);background:var(--mt-canvas,#f5f5f7);color:var(--mt-accent,#0071e3);font-size:11px}
.q-unit-add .button:hover:not(:disabled){background:var(--mt-canvas,#f5f5f7);border-color:var(--mt-line,#e5e5ea)}
.q-unit-manager-list{max-height:min(40vh,320px);overflow-y:auto;overscroll-behavior:contain;border:1px solid var(--mt-line,#e5e5ea);border-radius:4px;background:var(--mt-quiet,#f8f9fb);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 var(--mt-line,#e5e5ea);background:var(--mt-quiet,#f8f9fb)}
.q-unit-row:last-child{border-bottom:0}
.q-unit-row.is-dragging{opacity:.42;background:var(--mt-canvas,#f5f5f7)}
.q-unit-row.is-drag-over{background:var(--mt-canvas,#f5f5f7);box-shadow:inset 0 2px 0 #0000001a}
.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:var(--mt-muted,#6e6e73);font-size:20px;line-height:1;cursor:grab;user-select:none;touch-action:none}
.q-unit-row>.q-unit-drag:hover{background:var(--mt-canvas,#f5f5f7);color:var(--mt-muted,#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:var(--mt-brand,#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 var(--mt-line,#e5e5ea);border-radius:3px;background:var(--mt-quiet,#f8f9fb);color:var(--mt-accent,#0071e3);font-size:13px;line-height:1.5}
.q-unit-row-actions>button:hover:not(:disabled){border-color:var(--mt-line,#e5e5ea);background:var(--mt-canvas,#f5f5f7);color:var(--mt-brand,#1d1d1f)}
.q-unit-row-actions>.q-unit-delete{width:auto;padding:5px 9px;border-color:transparent;background:transparent;color:var(--mt-accent,#0071e3);font-size:10px}
.q-unit-row-actions>.q-unit-delete:hover:not(:disabled){border-color:#e7cec9;background:#fff5f3;color:#a23b32}
.q-unit-row-actions>button:disabled{opacity:.32;cursor:default}
.q-unit-manager button:focus-visible{outline:2px solid var(--q-copper,var(--mt-accent,#0071e3));outline-offset:-2px}
.q-unit-manager-empty{margin:0;padding:30px 15px;border:1px dashed var(--mt-line,#e5e5ea);border-radius:4px;background:var(--mt-quiet,#f8f9fb);color:var(--mt-muted,#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:var(--mt-muted,#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:var(--mt-muted,#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 var(--doc-line,#e5e5e5);border-radius:0;color:var(--doc-ink,#1d1d1d);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}
.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 portrait;margin:14mm}
  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-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(#page-popup[open] .q-preview-module)>#app,
  body:has(#page-popup[open] .q-preview-module) #page-popup>:not(#page-popup-content){display:none!important}
  body:has(#page-popup[open] .q-preview-module) :is(#page-popup,#page-popup-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(#page-popup[open] .q-preview-module) #page-popup::backdrop{display:none!important}
}

/* Keep the non-modal product rail inside the dashboard's modal workspace. */
@media screen{
  #page-popup:has(.q-cart-module){transform:translateZ(0)}
  #page-popup .q-cart-module{--q-picker-width:min(560px,40vw)}
}
@media screen and (min-width:1101px){
  #page-popup .q-cart-module,.dealer-mode .q-cart-module{--q-picker-left:0px}
  #page-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))}
}
@media screen and (max-width:1100px){
  #page-popup .q-product-drawer{height:55%;max-height:55%}
  #page-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:var(--mt-soft,#eaf3ff);color:var(--mt-accent,#0071e3)}
.q-list-panel article.q-quote-row>.q-row-actions>:is(.q-quote-open,.q-confirm-link):hover{background:var(--mt-soft,#eaf3ff);color:var(--mt-hover,#0062c4)}
.q-list-panel article.q-quote-row>.q-row-actions>.q-quote-delete{grid-column:1;padding:0;background:transparent;color:var(--mt-brand,#1d1d1f)}
.q-list-panel article.q-quote-row>.q-row-actions>.q-quote-delete:hover{background:var(--mt-canvas,#f5f5f7);color:var(--mt-brand,#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 var(--mt-accent,#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:var(--mt-brand,#1d1d1f)}.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 var(--mt-line,#e5e5ea);border-radius:6px;cursor:pointer;background:var(--mt-quiet,#f8f9fb)}.q-delivery-options label:has(input:checked){border-color:var(--mt-blue-line,#b8d6f6);background:var(--mt-soft,#eaf3ff);box-shadow:0 0 0 1px #0000001c}.q-delivery-options input{width:15px;height:15px;min-width:15px;margin:0;accent-color:var(--mt-muted,#6e6e73)}.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:var(--mt-muted,#6e6e73);line-height:1.5}.q-delivery-choice>p{margin:11px 0 0;font-size:11px;color:var(--mt-muted,#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:var(--mt-canvas,#f5f5f7);border-color:var(--mt-line,#e5e5ea);color:var(--mt-brand,#1d1d1f)}
.q-cart-actions>[data-q-action="save"]:hover:not(:disabled){background:var(--mt-canvas,#f5f5f7);border-color:var(--mt-line,#e5e5ea);color:var(--mt-brand,#1d1d1f)}
.q-cart-actions>[data-q-cart-confirm]{background:var(--mt-accent,#0071e3);border-color:var(--mt-accent,#0071e3);color:#fff;box-shadow:none;animation:none}
.q-cart-actions>[data-q-cart-confirm]:hover:not(:disabled){background:var(--mt-hover,#0062c4);border-color:var(--mt-hover,#0062c4);color:#fff;box-shadow:none;animation:none}
.q-confirm-sparkle{position:absolute;right:14px;top:50%;transform:translateY(-50%);color:currentColor;font-size:12px;line-height:1;pointer-events:none}
.q-cart-summary .q-cart-actions>.q-button:disabled{background:var(--mt-canvas,#f5f5f7);border-color:var(--mt-line,#e5e5ea);color:var(--mt-muted,#6e6e73);cursor:not-allowed;animation:none;box-shadow:none}
.q-cart-actions>[data-q-cart-confirm]:disabled .q-confirm-sparkle{display:none}

@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:var(--mt-canvas,#f5f5f7);border:1px solid var(--mt-line,#e5e5ea);border-radius:6px}
.q-discount-mode button{min-height:34px;padding:7px 12px;border:0;border-radius:4px;background:transparent;color:var(--mt-muted,#6e6e73);font-size:11px!important;line-height:1.5;white-space:nowrap}
.q-discount-mode button[aria-pressed="true"]{background:#fff;color:var(--mt-accent,#0071e3);box-shadow:0 1px 4px #00000018;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:var(--mt-line,#e5e5ea);background:var(--mt-quiet,#f8f9fb);color:var(--mt-muted,#6e6e73);cursor:not-allowed}
.q-discount-mode-note{font-size:10px;line-height:1.8;color:var(--mt-muted,#6e6e73);margin:13px 0 0}
.q-cart-item .q-line-discount{min-width:0}
.q-cart-item .q-discount-input{display:flex;align-items:center;width:84px;max-width:100%;height:36px;margin-top:8px;border:1px solid var(--mt-line,#e5e5ea);border-radius:4px;background:#fff;overflow:hidden}
.q-cart-item .q-discount-input input{width:0;flex:1;min-width:0;height:34px;margin:0;border:0;padding:6px 0 6px 9px;background:transparent;font-size:14px;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:8px;font-size:11px;color:var(--mt-muted,#6e6e73)}
.q-discount-input:focus-within{outline:2px solid color-mix(in srgb,var(--mt-accent,#0071e3) 37%,transparent);outline-offset:2px;border-color:var(--q-copper)}
.q-discount-input:has(input:disabled){background:var(--mt-canvas,#f5f5f7);border-color:var(--mt-line,#e5e5ea)}
.q-cart-item .q-discount-input input:disabled{color:var(--mt-muted,#6e6e73)}
.q-discount-input:has(input[aria-invalid="true"]){border-color:#b15d49}
.q-cart-item .q-line-discount .q-readonly-value{margin:8px 0 0;min-height:36px;display:flex;align-items:center;font-size:14px;font-weight:500}
.q-cart-item.has-item-discount .q-line-fields{grid-template-columns:minmax(0,1fr) 104px}
.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}
.q-cart-item.has-item-discount .q-line-amount{grid-column:2;grid-row:2;display:block;border:0;padding:0;text-align:right}
.q-cart-item.has-item-discount .q-line-amount strong{min-height:36px;margin:8px 0 0;display:flex;align-items:center;justify-content:flex-end}
@container quote-cart (min-width:420px){
  .q-cart-item.has-item-discount .q-line-fields{width:220px;grid-template-columns:minmax(0,1fr) 96px}
}
@container quote-cart (min-width:650px){
  .q-cart-item.has-item-discount .q-line-main{grid-template-columns:minmax(0,1fr) 324px;gap:20px}
  .q-cart-item.has-item-discount .q-line-fields{width:324px;grid-template-columns:minmax(0,1fr) 84px 104px;gap:12px 16px}
  .q-cart-item.has-item-discount .q-line-discount{grid-column:2;grid-row:1}
  .q-cart-item.has-item-discount .q-quantity-field{grid-column:3;grid-row:1}
  .q-cart-item.has-item-discount .q-line-amount{grid-column:1/-1;grid-row:2;display:flex;align-items:baseline;justify-content:space-between}
  .q-cart-item.has-item-discount .q-line-amount strong{min-height:0;margin:0}
}
@media(max-width:600px){
  .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:var(--mt-muted,#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:var(--mt-canvas,#f5f5f7);color:var(--mt-brand,#1d1d1f)}
.q-cost-shortcut:focus-visible{outline:2px solid var(--mt-accent,#0071e3);outline-offset:2px;color:var(--mt-brand,#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:var(--mt-muted,#6e6e73)}
.q-cost-summary{display:flex;align-items:baseline;justify-content:space-between;gap:16px;padding:18px 20px;background:var(--mt-quiet,#f8f9fb);border:1px solid var(--mt-line,#e5e5ea);border-radius:6px;margin-bottom:18px}
.q-cost-summary>div>span{display:block;font-size:11px;color:var(--mt-muted,#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:var(--mt-brand,#1d1d1f)}
.q-cost-incomplete{margin:0 0 15px;font-size:11px;color:var(--mt-muted,#6e6e73);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 var(--mt-line,#e5e5ea);color:var(--mt-muted,#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 var(--mt-line,#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:var(--mt-muted,#6e6e73);line-height:1.7;margin-top:3px}
.q-cost-copy>.q-cost-missing{color:var(--mt-muted,#6e6e73)}
.q-cost-condition{margin-left:6px;font-size:9px;font-weight:400;color:var(--mt-muted,#6e6e73);white-space:nowrap}
.q-cost-reference-note{margin:16px 0 0;font-size:10px;line-height:1.9;color:var(--mt-muted,#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:var(--mt-quiet,#f8f9fb);border:1px solid var(--mt-line,#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%}
}

/* 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:var(--mt-muted,#6e6e73) transparent}
.q-product-drawer .q-catalog-filters{min-width:0;margin:0;border:1px solid var(--mt-line,#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:var(--mt-muted,#6e6e73);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:var(--mt-canvas,#f5f5f7)}
.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:var(--mt-brand,#1d1d1f)}
.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:var(--mt-muted,#6e6e73);font-size:10px;font-weight:400}
.q-product-drawer .q-catalog-filter-chevron{transition:transform .16s;color:var(--mt-muted,#6e6e73)}
.q-product-drawer .q-catalog-filters[open]>.q-catalog-filter-toggle{border-bottom:1px solid var(--mt-line,#e5e5ea);background:var(--mt-quiet,#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:var(--mt-canvas,#f5f5f7);color:var(--mt-muted,#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:var(--mt-canvas,#f5f5f7);color:var(--mt-brand,#1d1d1f)}
.q-product-drawer .q-catalog-filter-body :is(.q-brand,.q-category).is-active{border-color:var(--mt-blue-line,#b8d6f6);background:var(--mt-soft,#eaf3ff);color:var(--mt-accent,#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:var(--mt-accent,#0071e3);font-size:10px!important;line-height:1.7;white-space:nowrap}
.q-product-drawer .q-catalog-filter-clear:hover:not(:disabled){color:var(--mt-brand,#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:var(--mt-muted,#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:var(--mt-line,#e5e5ea);box-shadow:none}
.q-product-drawer .q-pending-price{color:var(--mt-muted,#6e6e73)}
.q-product-drawer .q-pending-symbol{color:var(--mt-muted,#6e6e73);border-color:var(--mt-line,#e5e5ea)}

.q-unit-row.is-sort-placeholder{opacity:.2;background:var(--mt-canvas,#f5f5f7)}
.q-unit-row.is-sort-ghost{cursor:grabbing;overflow:hidden}
.q-unit-manager-list.is-sorting{user-select:none;cursor:grabbing}
@media(prefers-reduced-motion:reduce){.q-unit-row{scroll-behavior:auto}}
.q-unit-manager-list{overflow-anchor:none}

/* Selected quote items show physical dimensions instead of internal SKU codes. */
.q-line-dimensions{display:grid;gap:0;margin:3px 0 0;color:var(--q-muted);font-size:10px;line-height:1.5}
.q-line-dimensions>div{display:flex;flex-wrap:wrap;column-gap:3px}
.q-line-dimensions dt{flex:none}
.q-line-dimensions dd{margin:0;overflow-wrap:anywhere}
@media(max-width:600px){.q-line-dimensions{font-size:9px;line-height:1.7}}


/* Compact quotation workspace: fixed header, product rail and shared line columns. */
@media screen {

.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-cart-module .q-product-drawer{z-index:40;box-shadow:6px 0 24px #1d1d1f09}
.q-cart-module .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-cart-module .q-catalog-toggle:hover{background:#f5f5f7}
.q-cart-module .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-cart-module .q-catalog-toggle span{font-size:10px;line-height:1.5;writing-mode:vertical-rl;letter-spacing:2px}
.q-cart-module .q-catalog-toggle svg{transform:rotate(180deg)}
.q-cart-module.is-picker-open .q-catalog-toggle svg{transform:rotate(0deg)}
.q-cart-module .q-product-drawer .q-drawer-header{padding:14px 18px 8px}
.q-cart-module .q-product-drawer .q-drawer-header h2{font-size:20px;margin:0}
.q-cart-module .q-product-drawer .q-drawer-header p{display:none}
.q-cart-module .q-product-drawer .q-drawer-filters{padding:0 18px 10px}
.q-cart-module .q-product-drawer .q-category-tabs{margin-top:8px;gap:6px;max-height:88px}
.q-cart-module .q-product-drawer .q-category{padding:6px 9px}
.q-cart-module .q-product-drawer .q-drawer-catalog-scroll{padding:10px 16px 16px}
.q-cart-module .q-product-drawer .q-drawer-catalog-heading{margin-bottom:10px}
.q-cart-module .q-product-drawer .q-product-grid{grid-template-columns:repeat(auto-fill,minmax(136px,1fr));gap:10px}
.q-cart-module .q-product-drawer .q-thumb{height:clamp(68px,10vh,100px)}
.q-cart-module .q-product-drawer .q-thumb img{padding:7px}
.q-cart-module .q-product-drawer .q-product-info{padding:8px 10px 9px;gap:3px}
.q-cart-module .q-product-drawer .q-product-name{font-size:12px;position:relative;padding-right:17px}
.q-cart-module .q-product-stock-dot{position:absolute;right:0;top:.5em;width:5px;height:5px;border-radius:50%;background:#dba954;pointer-events:auto}
.q-cart-module .q-product-stock-dot.is-available{background:#0071e3}
.q-cart-module .q-product-drawer .q-product-price{margin-top:1px;padding-right:24px}
.q-cart-module .q-product-drawer .q-add-symbol{bottom:10px;right:8px;width:23px;height:23px}
.q-cart-module .q-product-drawer .q-product-chosen{top:7px;bottom:auto;left:7px;padding:2px 5px;border-radius:3px;background:#fffffff0}
.q-cart-module .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-cart-module .q-model-navigation[hidden]{display:none}
.q-cart-module .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-cart-module .q-model-back:hover{background:#f8f9fb;border-color:#e5e5ea}
.q-cart-module .q-model-navigation>strong{flex:1;min-width:120px;font-size:12px;font-weight:500;line-height:1.6;overflow-wrap:anywhere}
.q-cart-module .q-model-navigation>small{font-size:10px;color:var(--q-muted);line-height:1.6}
.q-cart-module .q-product-drawer .q-drawer-footer{padding:9px 18px max(9px,env(safe-area-inset-bottom))}
.q-cart-module .q-product-drawer .q-drawer-summary{display:flex;align-items:center;justify-content:space-between;gap:12px}
.q-cart-module .q-product-drawer .q-drawer-summary>div{justify-content:flex-end;margin:0}
.q-cart-module .q-product-drawer .q-drawer-summary strong{font-size:22px}
.q-cart-module .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-cart-module .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-cart-module .q-catalog-toggle svg{transform:rotate(90deg)}
.q-cart-module.is-picker-open{padding-bottom:57dvh}
.q-cart-module .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-cart-module .q-product-drawer .q-drawer-header{padding:10px 20px 6px}
.q-cart-module .q-product-drawer .q-drawer-header h2{font-size:17px;margin:0 0 3px}
.q-cart-module .q-product-drawer .q-drawer-header p{display:none}
.q-cart-module .q-product-drawer .q-drawer-filters{padding:0 20px 8px}
.q-cart-module .q-drawer-filters .q-category-tabs{margin-top:7px}
.q-cart-module .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-cart-module .q-model-back{min-height:38px}
.q-cart-module .q-product-drawer .q-product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.q-cart-module .q-product-drawer .q-thumb{height:82px}
.q-cart-module .q-product-drawer .q-category-tabs{max-height:none;flex-wrap:nowrap}
}
@media print{
.q-cart-module .q-catalog-toggle{display:none!important}}
.q-cart-module .q-cart-products{container-type:inline-size;container-name:quote-cart}
.q-cart-module .q-cart-products [data-q-items]{--q-quantity-column:64px}
.q-cart-module .q-cart-products [data-q-items]:has([data-q-line-metres]){--q-quantity-column:104px}
.q-cart-module .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-module .q-cart-item:first-child{padding-top:7.5px}
.q-cart-module .q-cart-item:not(:has(.q-line-more)){grid-template-columns:48px minmax(0,1fr)}
.q-cart-module .q-cart-item:has(.q-quantity input[step=".001"]){--q-quantity-width:104px}
.q-cart-module .q-cart-item.has-item-discount{--q-line-fields-width:calc(246px + var(--q-quantity-column,64px))}
.q-cart-module .q-cart-item .q-line-thumb{width:48px;height:48px;align-self:center;border-radius:5px}
.q-cart-module .q-cart-item .q-line-thumb img{padding:3px}
/* MATECH enclosure photos have empty side margins around a centered product. */
.q-cart-module .q-cart-item .q-line-thumb.is-matech-box img{padding:1px;object-fit:cover}
.q-cart-module .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-module .q-cart-item .q-line-top{display:block;position:relative;min-width:0;min-height:38px;grid-column:auto;grid-row:auto}
.q-cart-module .q-cart-item .q-line-top>div{min-width:0}
.q-cart-module .q-cart-item .q-line-top strong{display:block;font-size:13px;line-height:20px;font-weight:600;min-width:0}
.q-cart-module .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-module .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-module .q-cart-item .q-line-top p:has(.q-line-color){display:flex;align-items:center;gap:3px}
.q-cart-module .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-module .q-cart-item .q-line-top>div:has(>.q-demo-badge) strong{padding-right:36px}
.q-cart-module .q-cart-item .q-line-top>div:has(>.q-temporary-label) strong{padding-right:44px}
.q-cart-module .q-cart-item .q-line-top .q-demo-badge,.q-cart-module .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-module .q-cart-item .q-exempt-badge{font-size:9px;line-height:14px;padding:1px 4px;vertical-align:middle}
.q-cart-module .q-cart-item .q-line-top p:has(.q-exempt-badge:not([hidden])){position:relative;padding-right:62px}
.q-cart-module .q-cart-item .q-line-top p>.q-exempt-badge:not([hidden]){position:absolute;right:0;bottom:1px}
.q-cart-module .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-module .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-module .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-cart-module .q-exempt-badge{font-size:10px;color:#6e6e73;background:#f8f9fb;border-radius:3px;padding:3px 7px;line-height:1.5}
.q-cart-module .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-module .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-module .q-cart-item .q-unit-price,.q-cart-module .q-cart-item .q-quantity-field{min-width:0;font-size:11px;color:var(--q-muted)}
.q-cart-module .q-cart-item .q-field-label,.q-cart-module .q-cart-item .q-line-amount>span{display:block;font-size:11px;color:var(--q-muted);line-height:14px;white-space:nowrap}
.q-cart-module .q-cart-item .q-unit-price .q-readonly-value,.q-cart-module .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-module .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-module .q-cart-item .q-quantity{width:var(--q-quantity-width);max-width:100%;height:32px;margin:0 auto;flex:none}
.q-cart-module .q-cart-item .q-quantity button{width:25px;min-height:26px;padding:0;flex:none;font-size:14px!important}
.q-cart-module .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-module .q-cart-item .q-line-original:not([hidden]),.q-cart-module .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-module .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-module .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-module .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-module .q-cart-item .q-line-more svg{width:10px;height:10px;flex:none}
.q-cart-module .q-cart-item .q-line-more[aria-expanded=true] svg{transform:rotate(180deg)}
.q-cart-module .q-cart-item .q-line-more:hover,.q-cart-module .q-cart-item .q-line-more[aria-expanded=true]{border-color:#dce9f8;background:#edf5ff;color:#0071e3}
.q-cart-module .q-cart-item.q-line-menu-open{z-index:30}
.q-cart-module .q-cart-item.q-line-menu-open .q-line-top{position:static}
.q-cart-module .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-module .q-cart-item.q-line-menu-open.q-line-menu-up .q-line-options{top:auto;bottom:calc(100% - 8px)}
.q-cart-module .q-cart-item.q-line-menu-open .q-line-options>button,.q-cart-module .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-module .q-cart-item.q-line-menu-open .q-line-options>button:hover,.q-cart-module .q-cart-item.q-line-menu-open .q-line-options>label:hover{background:#f5f8fd}
.q-cart-module .q-cart-item.q-line-menu-open .q-line-options .q-remove{color:#b43e3e}
.q-cart-module .q-cart-item.q-line-menu-open .q-discount-exempt[aria-pressed=true]{color:#0071e3}
.q-cart-module .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-module .q-cart-products [data-q-items]{--q-quantity-column:56px}
.q-cart-module .q-cart-products [data-q-items]:has([data-q-line-metres]){--q-quantity-column:96px}
.q-cart-module .q-cart-item{--q-quantity-width:56px;--q-line-fields-width:calc(160px + var(--q-quantity-column,56px))}
.q-cart-module .q-cart-item:has(.q-quantity input[step=".001"]){--q-quantity-width:96px}
.q-cart-module .q-cart-item.has-item-discount{--q-line-fields-width:calc(214px + var(--q-quantity-column,56px))}
.q-cart-module .q-cart-item .q-line-main{gap:12px}
.q-cart-module .q-cart-item .q-line-fields{grid-template-columns:70px var(--q-quantity-column,56px) minmax(70px,1fr);gap:10px}
.q-cart-module .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-module .q-cart-item:has(.q-line-more):hover{background:#f7faff}
  }
}
@container quote-cart (max-width:519px){
.q-cart-module .q-cart-products [data-q-items]{--q-quantity-column:104px}
.q-cart-module .q-cart-products [data-q-items]:has([data-q-line-metres]){--q-quantity-column:144px}
.q-cart-module .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-module .q-cart-item:first-child{padding-top:10px}
.q-cart-module .q-cart-item:has(.q-quantity input[step=".001"]){--q-quantity-width:144px}
.q-cart-module .q-cart-item .q-line-main{display:contents}
.q-cart-module .q-cart-item .q-line-top{grid-column:2;grid-row:1}
.q-cart-module .q-cart-item .q-line-more{grid-column:3;grid-row:1;align-self:center}
.q-cart-module .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-module .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-module .q-cart-item.has-item-discount .q-line-fields{grid-template-columns:minmax(0,1fr) var(--q-quantity-column,104px);gap:10px}
.q-cart-module .q-cart-item.has-item-discount .q-unit-price{grid-column:1;grid-row:1}
.q-cart-module .q-cart-item.has-item-discount .q-quantity-field{grid-column:2;grid-row:1}
.q-cart-module .q-cart-item.has-item-discount .q-line-discount{grid-column:1;grid-row:2;display:flex;align-items:center;gap:8px}
.q-cart-module .q-cart-item.has-item-discount .q-discount-input{width:64px;margin-top:0;flex:none}
.q-cart-module .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-module .q-cart-item.has-item-discount .q-line-amount strong{margin-top:0}
}
@media(max-width:600px){
.q-cart-module .q-cart-item .q-quantity{height:36px}
.q-cart-module .q-cart-item .q-quantity button{width:28px;min-height:34px}
.q-cart-module .q-cart-item .q-quantity input{height:34px;font-size:16px}
.q-cart-module .q-cart-products .q-cart-item .q-demo-price input{height:36px;font-size:16px}
.q-cart-module .q-cart-item .q-line-more{height:36px}
}
.q-cart-module .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-module .q-cart-columns.is-readonly{grid-template-columns:48px minmax(0,1fr)}
.q-cart-module .q-cart-columns:has(.q-column-discount){--q-line-fields-width:calc(246px + var(--q-quantity-column,64px))}
.q-cart-module .q-cart-columns .q-column-image{text-align:center}
.q-cart-module .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-cart-module .q-columns-fields{display:grid;grid-template-columns:82px var(--q-quantity-column,64px) minmax(80px,1fr);gap:14px;align-items:center}
.q-cart-module .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-cart-module .q-columns-fields .q-column-quantity{text-align:center}
.q-cart-module .q-columns-fields .q-column-amount{text-align:right}
.q-cart-module .q-cart-item .q-quantity-unit{flex:none;padding-right:6px;font-size:11px;line-height:1;color:#6e6e73}
.q-cart-module .q-cart-item .q-quantity-field .q-readonly-value{justify-content:center}
.q-cart-module .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-module .q-cart-item .q-field-label,.q-cart-module .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-module .q-cart-item .q-unit-price .q-readonly-value,.q-cart-module .q-cart-item .q-quantity-field .q-readonly-value,.q-cart-module .q-cart-item .q-line-discount .q-readonly-value,.q-cart-module .q-cart-item .q-line-amount strong{margin:0;min-height:32px;align-items:center}
.q-cart-module .q-cart-item .q-line-amount{min-height:32px}
.q-cart-module .q-cart-item .q-unit-price,.q-cart-module .q-cart-item .q-quantity-field,.q-cart-module .q-cart-item .q-line-discount{align-self:center}
.q-cart-module .q-cart-products .q-cart-item .q-demo-price input{height:32px;margin-top:0;font-size:13px}
.q-cart-module .q-cart-products .q-cart-item .q-discount-input{height:32px;margin-top:0}
.q-cart-module .q-cart-products .q-cart-item .q-discount-input input{height:30px}
}
@container quote-cart (min-width:520px) and (max-width:599px){
.q-cart-module .q-cart-columns{--q-line-fields-width:calc(160px + var(--q-quantity-column,56px))}
.q-cart-module .q-cart-columns:has(.q-column-discount){--q-line-fields-width:calc(214px + var(--q-quantity-column,56px))}
.q-cart-module .q-columns-main{gap:12px}
.q-cart-module .q-columns-fields{grid-template-columns:70px var(--q-quantity-column,56px) minmax(70px,1fr);gap:10px}
.q-cart-module .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-module .q-cart-columns{display:none}}
.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-module .q-cart-summary .q-selection-note{margin-bottom:0}
.q-cart-module .q-cart-summary .q-cart-id{margin-top:14px}
@container quote-workspace (min-width:540px){
.q-cart-module .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-module .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-module .q-cart-summary .q-totals>div strong{font-size:17px;line-height:1.4}
.q-cart-module .q-cart-summary .q-totals .q-grand-total{align-items:flex-end;padding-left:18px;border-left:1px solid var(--q-line)}
.q-cart-module .q-cart-summary .q-totals .q-grand-total strong{font-size:25px}
.q-cart-module .q-cart-summary .q-cart-actions{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:10px;margin-top:22px}
.q-cart-module .q-cart-summary .q-save-wide{width:auto;min-width:170px;gap:24px}
.q-cart-module .q-cart-summary .q-selection-note{text-align:right}
}



@media screen{
#page-popup:has(.q-cart-module){transform:translateZ(0)}
#page-popup .q-cart-module{--q-picker-left:0px;--q-picker-width:min(560px,40vw)}
}
@media screen and (min-width:1101px){
#page-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))}
#page-popup .q-cart-module.is-picker-open .q-cart-layout{grid-template-columns:minmax(0,1fr)}
#page-popup .q-cart-module.is-picker-open .q-cart-summary{position:static}
}
@media screen and (max-width:1100px){
#page-popup .q-product-drawer{height:55%;max-height:55%}
#page-popup .q-cart-module.is-picker-open .q-catalog-toggle{bottom:55%}
}
.q-cart-module .q-product-drawer .q-product-card.q-model-card{cursor:default;box-shadow:none;transition:border-color .18s ease}
.q-cart-module .q-product-drawer .q-product-card.q-model-card.is-picked{border-color:#bdd6f3;box-shadow:none}
.q-cart-module .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-cart-module .q-product-drawer .q-model-card .q-catalog-image .q-thumb{width:100%;height:clamp(88px,10vh,104px);margin:0;border-radius:0}
.q-cart-module .q-product-drawer .q-model-card .q-catalog-image img{padding:0;object-fit:contain;transition:transform .22s ease}
@media(hover:hover){
.q-cart-module .q-product-drawer .q-model-card .q-catalog-image:hover img{transform:scale(1.035)}}
.q-cart-module .q-product-drawer .q-model-card .q-product-info{padding:8px 10px;gap:4px;flex:1;min-width:0}
.q-cart-module .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-cart-module .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-cart-module .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-cart-module .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-cart-module .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-cart-module .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-cart-module .q-catalog-plus::before,.q-cart-module .q-catalog-plus::after{content:'';position:absolute;left:0;top:4.5px;width:10px;height:1px;border-radius:1px;background:currentColor}
.q-cart-module .q-catalog-plus::after{left:4.5px;top:0;width:1px;height:10px}
.q-cart-module .q-product-drawer .q-model-card .q-catalog-add:hover{background:#eaf3ff;border-color:#acd0fa}
.q-cart-module .q-product-drawer .q-model-card .q-catalog-add:active{background:#daeaff;border-color:#99c4f4}
.q-cart-module .q-product-drawer .q-model-card .q-catalog-add:disabled{opacity:.4;cursor:not-allowed;box-shadow:none}
.q-cart-module .q-product-drawer .q-model-card .q-catalog-image:focus-visible{outline:2px solid #0071e3;outline-offset:-3px}
.q-cart-module .q-product-drawer .q-model-card .q-catalog-add:focus-visible{outline:2px solid #0071e3;outline-offset:3px}
.q-cart-module .q-product-drawer .q-model-card .q-catalog-add.q-add-confirmed{background:#0071e3;border-color:#0071e3;color:#fff}
.q-cart-module .q-product-drawer .q-model-card .q-catalog-add.q-add-confirmed .q-catalog-plus{opacity:0}
.q-cart-module .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-cart-module .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-module .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-cart-module .q-product-drawer .q-model-card .q-catalog-add{width:24px;height:24px}
.q-cart-module .q-product-drawer .q-model-card .q-catalog-image .q-thumb{height:92px}}
@media(prefers-reduced-motion:reduce){
.q-cart-module .q-product-drawer .q-model-card,.q-cart-module .q-product-drawer .q-model-card .q-catalog-image img,.q-cart-module .q-product-drawer .q-model-card .q-catalog-add,.q-cart-module .q-product-drawer .q-model-card .q-catalog-plus{transition:none;animation:none!important}
.q-cart-module .q-product-drawer .q-model-card .q-catalog-image:hover img,.q-cart-module .q-product-drawer .q-model-card .q-catalog-add:active{transform:none}
.q-cart-module .q-catalog-add.q-add-confirmed::after{display:none;animation:none}
.q-cart-module .q-cart-item.q-line-added{animation:none;box-shadow:inset 3px 0 #0071e3}
}


@media screen {
#page-popup:has(.q-editor-topbar){--page-popup-header-height:136px}
#page-popup:has(.q-editor-topbar)>.page-popup-header{position:static;z-index:auto;align-items:flex-start;justify-content:flex-end;padding:12px 16px}
#page-popup:has(.q-editor-topbar)>.page-popup-header>div{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
#page-popup:has(.q-editor-topbar) #close-page-popup{position:relative;z-index:43;height:32px;min-height:32px;padding:0 12px;font-size:12px}
#page-popup .q-editor-topbar{position:fixed;inset:0 0 auto;z-index:42;height:var(--page-popup-header-height);padding:12px 16px;background:#fff;border-bottom:1px solid #e5e5ea;box-shadow:0 2px 6px #1d1d1f03}
#page-popup .q-editor-topbar .q-heading{display:flex;align-items:flex-start;justify-content:space-between;flex-wrap:nowrap;gap:16px;min-height:44px;margin:0 0 10px;padding-right:128px}
#page-popup .q-editor-topbar .q-heading>div:first-child{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:4px 16px;min-width:0}
#page-popup .q-editor-topbar .q-heading h1{grid-row:1;grid-column:1;margin:0;font-size:18px;line-height:24px;font-weight:600;letter-spacing:0;white-space:nowrap}
#page-popup .q-editor-topbar .q-back{grid-row:1;grid-column:2;justify-self:start;margin:0;padding:3px 0;font-size:11px!important;line-height:18px;white-space:nowrap}
#page-popup .q-editor-topbar .q-heading p{grid-column:1/-1;margin:0;font-size:11px;line-height:16px;white-space:normal}
#page-popup .q-editor-topbar .q-heading-actions{flex-wrap:nowrap;gap:8px;flex-shrink:0;padding:0}
#page-popup .q-editor-topbar .q-heading-actions .q-button{height:32px;min-height:32px;padding:0 12px;border-radius:6px;font-size:12px!important}
#page-popup .q-editor-topbar [data-q-action="print-preview"]{background:#0071e3;color:#fff;border-color:#0071e3}
#page-popup .q-editor-topbar [data-q-action="print-preview"]:hover:not(:disabled){background:#0062c4;border-color:#0062c4}
#page-popup .q-editor-topbar .q-info-panel.q-info-editable{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:18px;padding:0;margin:0;border:0;border-radius:0;background:transparent}
#page-popup .q-editor-topbar .q-info-panel>.q-form-field:nth-child(n){grid-column:auto;grid-row:auto;font-size:11px;line-height:17px}
#page-popup .q-editor-topbar .q-form-field input{height:34px;min-height:34px;margin-top:4px;padding:6px 10px;border-radius:6px;font-size:12px}
#page-popup .q-editor-topbar .q-customer-choice{display:flex;align-items:center;gap:10px;min-height:34px;height:34px;margin-top:4px;padding:5px 10px;border-radius:6px}
#page-popup .q-editor-topbar .q-customer-choice-main{display:flex;align-items:baseline;gap:10px;min-width:0;overflow:hidden}
#page-popup .q-editor-topbar .q-customer-choice-main strong{font-size:12px;line-height:20px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}
#page-popup .q-editor-topbar .q-customer-choice-main small{margin:0;font-size:11px;line-height:20px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#page-popup .q-editor-topbar .q-customer-choice-action{font-size:11px;white-space:nowrap;flex-shrink:0;margin-left:auto}
#page-popup:has(.q-editor-topbar) #page-popup-content{padding:18px}
}
@media screen and (min-width:701px) and (max-width:1100px){
#page-popup:has(.q-editor-topbar){--page-popup-header-height:152px}
#page-popup .q-editor-topbar .q-heading{min-height:60px}
#page-popup .q-editor-topbar .q-heading-actions{gap:6px}
#page-popup .q-editor-topbar .q-heading-actions .q-button{padding:0 9px}
}
@media screen and (max-width:700px){
#page-popup:has(.q-editor-topbar){--page-popup-header-height:224px}
#page-popup .q-editor-topbar{padding:12px 14px}
#page-popup:has(.q-editor-topbar)>.page-popup-header{padding:12px 14px}
#page-popup .q-editor-topbar .q-heading{display:grid;grid-template-columns:minmax(0,1fr);gap:10px;padding:0;margin:0 0 10px;min-height:0}
#page-popup .q-editor-topbar .q-heading>div:first-child{padding-right:100px;gap:0 10px;min-height:32px}
#page-popup .q-editor-topbar .q-heading h1{font-size:16px}
#page-popup .q-editor-topbar .q-back{grid-column:2;font-size:10px!important}
#page-popup .q-editor-topbar .q-heading p{display:none}
#page-popup .q-editor-topbar .q-heading-actions{gap:8px}
#page-popup .q-editor-topbar .q-heading-actions .q-button{height:34px;min-height:34px;padding:0 10px}
#page-popup .q-editor-topbar .q-info-panel.q-info-editable{grid-template-columns:minmax(0,1fr);gap:8px}
#page-popup .q-editor-topbar .q-customer-choice-main small{font-size:10px}
#page-popup:has(.q-editor-topbar) #page-popup-content{padding:14px}
#page-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)}
#page-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){
#page-popup .q-editor-topbar .q-heading-actions{gap:6px}
#page-popup .q-editor-topbar .q-heading-actions .q-button{padding:0 8px;font-size:11px!important}
}
}

/* Keep this editor independent from the purchase form's shared row classes. */
@media screen {
  #page-popup:has(.q-editor-topbar){width:calc(100vw - clamp(48px, 6vw, 160px));height:calc(100dvh - clamp(48px, 8dvh, 120px));max-width:none;max-height:none}
  .q-cart-module .q-catalog-toggle{right:auto;border-right:1px solid var(--q-line)}
  .q-cart-module .q-cart-item:last-child{padding-bottom:7.5px}
  .q-cart-module .q-cart-item.has-item-discount :is(.q-unit-price,.q-line-discount,.q-quantity-field,.q-line-amount){grid-column:auto;grid-row:auto}
  .q-cart-module .q-cart-item .q-line-product-info{position:relative;min-width:0}
  .q-cart-module .q-cart-item .q-line-dimensions{display:grid;gap:0;min-width:0;margin:3px 0 0;padding:0;border:0;color:var(--q-muted);font-size:11px;line-height:18px;white-space:normal}
  .q-cart-module .q-cart-item .q-line-dimensions>div{display:flex;flex-wrap:wrap;column-gap:3px}
  .q-cart-module .q-cart-item .q-line-dimensions dd{min-width:0}
  .q-cart-module .q-cart-item .q-line-dimensions dt,.q-cart-module .q-cart-item .q-line-dimensions dd{margin:0}
  .q-cart-module .q-cart-item .q-line-options[hidden]{display:none}
  .q-cart-module .q-product-drawer .q-catalog-filter-toggle,.q-cart-module .q-product-drawer .q-catalog-filter-heading{color:var(--q-copper)}
  @container quote-cart (min-width:960px){
    .q-cart-module .q-cart-item .q-line-top:has(>.q-line-dimensions){display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);column-gap:16px;align-items:center}
    .q-cart-module .q-cart-item .q-line-top>.q-line-dimensions{margin:0}
  }
}
@media screen and (max-width:700px){
  #page-popup:has(.q-editor-topbar){width:100%;height:100dvh;border:0;border-radius:0}
}
@media screen and (max-width:380px){
  #page-popup .q-editor-topbar .q-back{max-width:72px;white-space:normal;line-height:1.4}
  #page-popup .q-editor-topbar .q-heading>div:first-child{grid-template-columns:auto minmax(0,1fr);padding-right:88px;gap:0 7px}
  #page-popup .q-editor-topbar .q-heading h1{font-size:15px}
}
@media screen {
  @container quote-cart (max-width:419px){
    .q-cart-module .q-cart-item.has-item-discount .q-unit-price{grid-column:1;grid-row:1}
    .q-cart-module .q-cart-item.has-item-discount .q-quantity-field{grid-column:2;grid-row:1}
    .q-cart-module .q-cart-item.has-item-discount .q-line-discount{grid-column:1;grid-row:2}
    .q-cart-module .q-cart-item.has-item-discount .q-line-amount{grid-column:2;grid-row:2}
  }
}

/* Specification selection stays within its own dialog. */
@media screen {
.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}}
}

/* Standalone quotation editor: a regular page with its own fixed toolbar. */
@media screen {
body.quote-standalone{--page-popup-header-height:136px;background:#f5f5f7}
.quote-standalone #quote-standalone-content:has(.q-editor-topbar){min-height:100dvh;padding:calc(var(--page-popup-header-height) + 18px) 18px 24px}
.quote-standalone .q-cart-module{--q-picker-left:0px;--q-picker-width:min(560px,40vw)}
.quote-standalone .q-editor-topbar{position:fixed;inset:0 0 auto;z-index:42;height:var(--page-popup-header-height);padding:12px 16px;background:#fff;border-bottom:1px solid #e5e5ea;box-shadow:0 2px 6px #1d1d1f03}
.quote-standalone .q-editor-topbar .q-heading{display:flex;align-items:flex-start;justify-content:space-between;flex-wrap:nowrap;gap:16px;min-height:44px;margin:0 0 10px;padding-right:128px}
.quote-standalone .q-editor-topbar .q-heading>div:first-child{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:4px 16px;min-width:0}
.quote-standalone .q-editor-topbar .q-heading h1{grid-row:1;grid-column:1;margin:0;font-size:18px;line-height:24px;font-weight:600;letter-spacing:0;white-space:nowrap}
.quote-standalone .q-editor-topbar .q-back{grid-row:1;grid-column:2;justify-self:start;margin:0;padding:3px 0;font-size:11px!important;line-height:18px;white-space:nowrap}
.quote-standalone .q-editor-topbar .q-heading p{grid-column:1/-1;margin:0;font-size:11px;line-height:16px;white-space:normal}
.quote-standalone .q-editor-topbar .q-heading-actions{flex-wrap:nowrap;gap:8px;flex-shrink:0;padding:0}
.quote-standalone .q-editor-topbar .q-heading-actions .q-button{height:32px;min-height:32px;padding:0 12px;border-radius:6px;font-size:12px!important}
.quote-standalone .q-editor-topbar [data-q-action="print-preview"]{background:#0071e3;color:#fff;border-color:#0071e3}
.quote-standalone .q-editor-topbar [data-q-action="print-preview"]:hover:not(:disabled){background:#0062c4;border-color:#0062c4}
.quote-standalone .q-editor-topbar .q-info-panel.q-info-editable{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:18px;padding:0;margin:0;border:0;border-radius:0;background:transparent}
.quote-standalone .q-editor-topbar .q-info-panel>.q-form-field:nth-child(n){grid-column:auto;grid-row:auto;font-size:11px;line-height:17px}
.quote-standalone .q-editor-topbar .q-form-field input{height:34px;min-height:34px;margin-top:4px;padding:6px 10px;border-radius:6px;font-size:12px}
.quote-standalone .q-editor-topbar .q-customer-choice{display:flex;align-items:center;gap:10px;min-height:34px;height:34px;margin-top:4px;padding:5px 10px;border-radius:6px}
.quote-standalone .q-editor-topbar .q-customer-choice-main{display:flex;align-items:baseline;gap:10px;min-width:0;overflow:hidden}
.quote-standalone .q-editor-topbar .q-customer-choice-main strong{font-size:12px;line-height:20px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}
.quote-standalone .q-editor-topbar .q-customer-choice-main small{margin:0;font-size:11px;line-height:20px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.quote-standalone .q-editor-topbar .q-customer-choice-action{font-size:11px;white-space:nowrap;flex-shrink:0;margin-left:auto}
 .quote-standalone .q-editor-topbar .q-heading{padding-right:0}
}
@media screen and (min-width:1101px){.quote-standalone .q-product-drawer{top:var(--page-popup-header-height);height:calc(100dvh - var(--page-popup-header-height));max-height:calc(100dvh - var(--page-popup-header-height))}}
@media screen and (min-width:701px) and (max-width:1100px){body.quote-standalone{--page-popup-header-height:152px}.quote-standalone .q-editor-topbar .q-heading{min-height:60px}.quote-standalone .q-editor-topbar .q-heading-actions{gap:6px}.quote-standalone .q-editor-topbar .q-heading-actions .q-button{padding:0 9px}}
@media screen and (max-width:700px){body.quote-standalone{--page-popup-header-height:224px}.quote-standalone #quote-standalone-content:has(.q-editor-topbar){padding:calc(var(--page-popup-header-height) + 14px) 14px 24px}.quote-standalone .q-editor-topbar{padding:12px 14px}.quote-standalone .q-editor-topbar .q-heading{display:grid;grid-template-columns:minmax(0,1fr);gap:10px;padding:0;margin:0 0 10px;min-height:0}.quote-standalone .q-editor-topbar .q-heading>div:first-child{padding-right:0;gap:0 10px;min-height:32px}.quote-standalone .q-editor-topbar .q-heading h1{font-size:16px}.quote-standalone .q-editor-topbar .q-back{grid-column:2;font-size:10px!important}.quote-standalone .q-editor-topbar .q-heading p{display:none}.quote-standalone .q-editor-topbar .q-heading-actions{gap:8px}.quote-standalone .q-editor-topbar .q-heading-actions .q-button{height:34px;min-height:34px;padding:0 10px}.quote-standalone .q-editor-topbar .q-info-panel.q-info-editable{grid-template-columns:minmax(0,1fr);gap:8px}.quote-standalone .q-editor-topbar .q-customer-choice-main small{font-size:10px}.quote-standalone .q-product-drawer{height:min(55dvh,calc(100dvh - var(--page-popup-header-height) - 36px));max-height:calc(100dvh - var(--page-popup-header-height) - 36px)}.quote-standalone .is-picker-open .q-catalog-toggle{bottom:min(55dvh,calc(100dvh - var(--page-popup-header-height) - 36px))}}

/* Optional floor, room and distribution-box groups in the quotation. */
@media screen {
.q-cart-module .q-product-add-actions{flex-wrap:wrap;justify-content:flex-end}
.q-cart-module .q-location-guide{margin:16px 0 8px;color:var(--q-muted);font-size:11px;line-height:1.6}
.q-cart-module .q-location-section{margin-top:12px;padding:0 12px 8px;border:1px solid var(--q-line);border-radius:7px;min-width:0;background:#fff}
.q-cart-module .q-location-section.is-active{border-color:#a9aaad}
.q-cart-module .q-location-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:44px;border-bottom:1px solid var(--q-line)}
.q-cart-module .q-location-heading>div:first-child{display:flex;align-items:center;flex-wrap:wrap;gap:7px;min-width:0}
.q-cart-module .q-location-heading strong{font-size:12px;line-height:1.5;overflow-wrap:anywhere}
.q-cart-module .q-location-heading span,.q-cart-module .q-location-heading small{font-size:10px;color:var(--q-muted)}
.q-cart-module .q-location-heading .q-space-occupancy,.q-cart-module .q-space-occupancy{font-size:11px;font-weight:600;color:#455d75;white-space:normal}
.q-cart-module .q-space-occupancy.is-over{color:#b42318}
.q-cart-module .q-space-overall{padding:6px 0 9px}
.q-cart-module .q-location-heading small{padding:2px 5px;border-radius:4px;background:#eee;color:#333}
.q-cart-module .q-location-actions{display:flex;align-items:center;gap:8px;flex:none}
.q-cart-module .q-location-actions button{border:0;background:transparent;color:var(--q-muted);padding:5px;font-size:11px;white-space:nowrap}
.q-cart-module .q-location-actions button[aria-pressed=true]{color:var(--q-ink);font-weight:600}
.q-cart-module .q-location-empty{margin:0;padding:14px 0 8px;color:var(--q-muted);font-size:11px}
.q-cart-module .q-line-options .q-location-move{display:grid;gap:5px;padding:6px 8px;color:var(--q-muted);font-size:11px}
.q-cart-module .q-line-options .q-location-move select{max-width:180px;min-height:30px;border:1px solid var(--q-line);border-radius:4px;background:white;color:var(--q-ink);font-size:11px}
@media(max-width:600px){.q-cart-module .q-location-heading{align-items:flex-start;padding:10px 0}.q-cart-module .q-location-actions{gap:2px}.q-cart-module .q-location-section{padding:0 9px 8px}}
}
.q-preview-module .q-sheet-table .q-print-location td{padding:1mm 2mm;background:#fafafa;color:#555;font-size:8pt;font-weight:600;line-height:1.4;text-align:left;print-color-adjust:exact;-webkit-print-color-adjust:exact}

/* One location represents one enclosure and its accompanying devices. */
@media screen {
  #modal:has(.q-location-form){width:560px;max-width:calc(100vw - 32px);border-radius:10px;color:#202124}
  #modal:has(.q-location-form)>header{padding:20px 24px;border-bottom:1px solid #e8e8e9}
  #modal:has(.q-location-form) #modal-content{padding:20px 24px 24px}
  .q-location-form{color:#202124}
  .q-location-form .q-location-intro{margin:0 0 20px;color:#686a6d;font-size:12px;line-height:1.7}
  .q-location-form .q-location-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 16px}
  .q-location-form .q-location-field{display:flex;flex-direction:column;gap:8px;min-width:0;margin:0}
  .q-location-form .q-location-floor{grid-column:1/-1}
  .q-location-form .q-location-label{display:flex;align-items:baseline;gap:6px;color:#303134;font-size:12px;font-weight:600;line-height:1.4}
  .q-location-form .q-location-label b{font-size:12px;color:#555;font-weight:500}
  .q-location-form .q-location-label small{color:#929497;font-size:11px;font-weight:400}
  .q-location-form .q-location-field input{box-sizing:border-box;width:100%;height:42px;min-width:0;margin:0;padding:0 12px;border:1px solid #dadce0;border-radius:6px;background:#fff;color:#202124;font:inherit;font-size:13px}
  .q-location-form .q-location-field input::placeholder{color:#a0a2a5}
  .q-location-form .q-location-field input:focus{border-color:#494b4d;outline:2px solid #b9babc;outline-offset:1px}
  .q-location-form .q-location-floor-label{margin-top:2px;color:#8a8c8f;font-size:11px;line-height:1.4}
  .q-location-form .q-location-floor-options{display:flex;flex-wrap:wrap;gap:7px}
  .q-location-form .q-location-floor-options button{min-height:30px;padding:5px 12px;border:1px solid #dedfe1;border-radius:5px;background:#fff;color:#55575a;font:inherit;font-size:11px;cursor:pointer}
  .q-location-form .q-location-floor-options button:hover{background:#f4f4f5}
  .q-location-form .q-location-floor-options button[aria-pressed=true]{background:#303134;border-color:#303134;color:#fff}
  .q-location-form .q-location-floor-options button:focus-visible{outline:2px solid #737578;outline-offset:2px}
  .q-location-form .q-location-preview{display:flex;align-items:baseline;gap:12px;margin-top:20px;padding:12px 14px;background:#f6f6f7;border:1px solid #ededee;border-radius:6px;min-width:0;line-height:1.5}
  .q-location-form .q-location-preview span{flex:none;color:#85878a;font-size:11px}
  .q-location-form .q-location-preview strong{min-width:0;color:#3d3e40;font-size:12px;font-weight:500;overflow-wrap:anywhere}
  .q-location-form .form-actions{margin-top:20px;padding-top:16px;border-color:#ededee;align-items:center}
  #modal .q-location-form .button{min-height:38px;border-radius:6px;font-size:12px}
  #modal .q-location-form .button.primary{background:#252628;border-color:#252628;color:#fff}
  #modal .q-location-form .button.primary:hover{background:#444548;border-color:#444548}
  #modal .q-location-form .q-location-delete{margin-right:auto;background:#fff;color:#777;border-color:#dedfe1}
  .q-location-form .q-location-delete-note{margin:10px 0 0;color:#888;font-size:11px;line-height:1.6}
  .q-picker-location{margin:2px 18px 10px;padding:8px 10px;background:#f3f3f4;border:1px solid #e6e6e8;border-radius:5px;color:#525356;font-size:11px;line-height:1.5;overflow-wrap:anywhere}
  .q-picker-location[hidden]{display:none}
}
@media screen and (max-width:480px){
  #modal:has(.q-location-form)>header{padding:16px 18px}
  #modal:has(.q-location-form) #modal-content{padding:16px 18px 20px}
  .q-location-form .q-location-fields{grid-template-columns:minmax(0,1fr);gap:14px}
  .q-location-form .q-location-floor{grid-column:auto}
  .q-location-form .q-location-preview{align-items:flex-start;flex-direction:column;gap:3px;margin-top:16px}
  .q-location-form .form-actions{gap:8px;flex-wrap:wrap}
  .q-location-form .q-location-delete{flex:1 0 100%;margin-right:0}
}

/* Quotation actions share the same monochrome button treatment as the position form. */
@media screen {
  body .q-module .q-button:not(.q-button-secondary):not(:disabled),
  body #page-popup .q-editor-topbar [data-q-action="print-preview"]:not(:disabled),
  body.quote-standalone .q-editor-topbar [data-q-action="print-preview"]:not(:disabled),
  body .q-cart-module .q-cart-actions>[data-q-cart-confirm]:not(:disabled){background:#252628;border-color:#252628;color:#fff;box-shadow:none}
  body .q-module .q-button:not(.q-button-secondary):not(:disabled):hover,
  body #page-popup .q-editor-topbar [data-q-action="print-preview"]:not(:disabled):hover,
  body.quote-standalone .q-editor-topbar [data-q-action="print-preview"]:not(:disabled):hover,
  body .q-cart-module .q-cart-actions>[data-q-cart-confirm]:not(:disabled):hover{background:#444548;border-color:#444548;color:#fff}
  body .q-module .q-button-secondary:not([data-q-action="print-preview"]):not(:disabled){background:#fff;border-color:#dedfe1;color:#303134}
  body .q-module .q-button-secondary:not([data-q-action="print-preview"]):not(:disabled):hover{background:#f4f4f5;border-color:#b9babc;color:#202124}
  body .q-module .q-button:disabled{background:#f1f1f2;border-color:#e3e3e5;color:#a0a2a5;cursor:not-allowed}
  body .q-module :is(.q-text-button,.q-line-color,.q-catalog-toggle,.q-location-actions button){color:#3d3e40}
  body .q-module :is(.q-text-button,.q-line-color,.q-catalog-toggle,.q-location-actions button):hover{color:#111;background-color:#f5f5f6}
  body .q-module .q-discount-mode{background:#f1f1f2;border-color:#e3e3e5}
  body .q-module .q-discount-mode button[aria-pressed="true"]{background:#fff;color:#252628;box-shadow:0 1px 4px #00000018}
  body .q-module .q-product-drawer .q-catalog-filter-body :is(.q-brand,.q-category).is-active{background:#eeeeef;border-color:#c4c5c7;color:#252628}
  body .q-module .q-product-drawer .q-model-card .q-catalog-add{background:#fff;border-color:#d4d5d7;color:#303134}
  body .q-module .q-product-drawer .q-model-card .q-catalog-add:hover{background:#f0f0f1;border-color:#aeb0b2}
  body .q-module .q-product-drawer .q-model-card .q-catalog-add.q-add-confirmed{background:#303134;border-color:#303134;color:#fff}
  body .q-module .q-catalog-add.q-add-confirmed::after{color:#303134}
  body .q-module .q-product-drawer .q-model-card .q-product-chosen{color:#303134;background:#f3f3f3eb;border-color:#dedfe1}
  body .q-module .q-cart-item.q-line-added{animation:none;background:#f3f3f4}
  body .q-module :is(button,input,select):focus-visible,body .q-spec-dialog button:focus-visible{outline:2px solid #737578;outline-offset:2px}
  body .q-spec-dialog .q-product-card:hover:not(:disabled),body .q-spec-dialog .q-product-card.is-picked{border-color:#85878a;background:#f5f5f6}
  body .q-list-panel article.q-quote-row>.q-row-actions>:is(.q-quote-open,.q-confirm-link){background:#f1f1f2;color:#303134;border-color:#dedfe1}
  body .q-list-panel article.q-quote-row>.q-row-actions>:is(.q-quote-open,.q-confirm-link):hover{background:#e8e8e9;color:#202124;border-color:#b9babc}
}

/* 电箱位置与长按拖动反馈：沿用报价页的黑白灰层级。 */
@media screen {
  .q-cart-module .q-location-section[data-q-location-selectable] { cursor:pointer; }
  .q-cart-module .q-location-section[data-q-location-selectable]:hover { border-color:#9b9c9e; }
  .q-cart-module .q-location-section.is-active {
    border-color:#303133;
    background:#f7f7f7;
    box-shadow:inset 3px 0 0 #303133;
  }
  .q-cart-module .q-location-section.is-active .q-location-heading small {
    background:#303133;
    color:#fff;
  }
  .q-cart-module .q-location-section[data-q-location-selectable]:focus-visible {
    outline:2px solid #48494b;
    outline-offset:2px;
  }
  .q-cart-module .q-location-section[data-q-location-selectable] .q-cart-item { cursor:grab; }
  .q-cart-module .q-location-section .q-cart-item.q-dragging {
    opacity:.4;
    cursor:grabbing;
  }
  .q-cart-module .q-location-section.q-drop-target {
    border-color:#303133;
    box-shadow:inset 0 0 0 1px #303133;
    background:#efeff0;
  }
  .q-cart-module .q-cart-item.q-drop-before::before,
  .q-cart-module .q-cart-item.q-drop-after::after {
    content:"";
    position:absolute;
    left:0;
    right:0;
    height:3px;
    border-radius:3px;
    background:#303133;
    pointer-events:none;
    z-index:3;
  }
  .q-cart-module .q-cart-item.q-drop-before::before { top:-2px; }
  .q-cart-module .q-cart-item.q-drop-after::after { bottom:-2px; }
}
@media screen {
  .q-drag-preview { position:fixed; z-index:10000; pointer-events:none; max-width:min(280px,75vw); overflow:hidden; text-overflow:ellipsis; white-space:nowrap; padding:8px 12px; border-radius:6px; background:#303133; color:#fff; box-shadow:0 4px 14px #0003; font-size:12px; line-height:1.4; }
}

/* 在常见报价窗口宽度内，把电箱尺寸留在名称右侧；小屏继续纵向排列。 */
@media screen {
  @container quote-cart (min-width:640px) and (max-width:959px) {
    .q-cart-module .q-cart-products [data-q-items] { --q-quantity-column:48px; }
    .q-cart-module .q-cart-products [data-q-items]:has([data-q-line-metres]) { --q-quantity-column:92px; }
    .q-cart-module .q-cart-item, .q-cart-module .q-cart-columns {
      --q-line-fields-width:calc(136px + var(--q-quantity-column,48px));
      grid-template-columns:42px minmax(0,1fr) 40px;
      gap:6px;
    }
    .q-cart-module .q-cart-item:not(:has(.q-line-more)), .q-cart-module .q-cart-columns.is-readonly { grid-template-columns:42px minmax(0,1fr); }
    .q-cart-module .q-cart-item.has-item-discount, .q-cart-module .q-cart-columns:has(.q-column-discount) { --q-line-fields-width:calc(202px + var(--q-quantity-column,52px)); }
    .q-cart-module .q-cart-item .q-line-thumb { width:42px; height:42px; }
    .q-cart-module .q-cart-item .q-line-more { width:40px; }
    .q-cart-module .q-cart-item .q-line-main, .q-cart-module .q-columns-main { gap:8px; }
    .q-cart-module .q-cart-item .q-line-fields, .q-cart-module .q-columns-fields { grid-template-columns:60px var(--q-quantity-column,48px) minmax(64px,1fr); gap:6px; }
    .q-cart-module .q-cart-item.has-item-discount .q-line-fields, .q-cart-module .q-cart-columns:has(.q-column-discount) .q-columns-fields { grid-template-columns:64px 46px var(--q-quantity-column,52px) minmax(68px,1fr); gap:8px; }
    .q-cart-module .q-cart-item .q-quantity { width:48px; }
    .q-cart-module .q-cart-item:has(.q-quantity input[step=".001"]) .q-quantity { width:92px; }
    .q-cart-module .q-cart-item:not(.has-item-discount) .q-line-top:has(>.q-line-dimensions) { display:grid; grid-template-columns:minmax(0,1.3fr) minmax(0,1fr); column-gap:8px; align-items:center; }
    .q-cart-module .q-cart-item:not(.has-item-discount) .q-line-top>.q-line-dimensions { margin:0; }
  }
}

/* 拖动时显示商品卡片与抓取手势，不改变行内操作。 */
@media screen {
  .q-cart-module [data-q-items] .q-cart-item:has(.q-line-more),
  .q-cart-module [data-q-items] .q-cart-item:has(.q-line-more) [data-q-product-preview],
  .q-cart-module [data-q-items] .q-cart-item:has(.q-line-more) [data-q-product-preview] * { cursor:grab; }
  body.q-gesture-active, body.q-gesture-active * { cursor:grabbing !important; user-select:none !important; }
  .q-cart-module [data-q-items] .q-cart-item { transition:opacity .16s ease, background-color .16s ease; }
  .q-cart-module [data-q-items] .q-cart-item.q-dragging { opacity:.34; }
  .q-cart-module .q-location-section { transition:border-color .16s ease, background-color .16s ease, box-shadow .16s ease; }
  .q-drag-preview {
    display:flex; align-items:center; gap:10px; width:max-content; max-width:min(280px,75vw);
    padding:7px 12px 7px 7px; border:1px solid #d9d9db; border-radius:8px;
    background:#fff; color:#242426; box-shadow:0 10px 28px #0003, 0 2px 7px #0002;
    font-size:12px; font-weight:600; line-height:1.4; overflow:hidden;
    animation:q-drag-lift .18s ease-out both;
  }
  .q-drag-preview img { width:42px; height:42px; flex:none; object-fit:contain; border-radius:5px; background:#f3f3f4; }
  .q-drag-preview span { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
  .q-drag-preview.is-releasing { animation:q-drag-release .16s ease-in both; }
  @keyframes q-drag-lift { from { opacity:0; transform:translateY(6px) scale(.94); } to { opacity:1; transform:translateY(0) scale(1); } }
  @keyframes q-drag-release { from { opacity:1; transform:scale(1); } to { opacity:0; transform:scale(.92); } }
}
@media (prefers-reduced-motion:reduce) {
  .q-cart-module [data-q-items] .q-cart-item, .q-cart-module .q-location-section { transition:none; }
  .q-drag-preview, .q-drag-preview.is-releasing { animation:none; }
  .q-drag-preview.is-releasing { opacity:0; }
}

/* 左侧商品可拖进右侧位置；点击加号和查看详情仍保持原有操作。 */
@media screen {
  .q-cart-module .q-product-drawer .q-model-card[data-q-catalog-drag],
  .q-cart-module .q-product-drawer .q-model-card[data-q-catalog-drag] .q-catalog-image,
  .q-cart-module .q-product-drawer .q-model-card[data-q-catalog-drag] .q-catalog-image img { cursor:grab; }
  .q-cart-module .q-product-drawer .q-model-card[data-q-catalog-drag] .q-catalog-add { cursor:pointer; }
  .q-cart-module .q-product-drawer .q-model-card[data-q-catalog-drag] .q-catalog-add:disabled { cursor:not-allowed; }
  .q-cart-module .q-product-drawer .q-model-card[data-q-catalog-drag] .q-catalog-image img { pointer-events:none; -webkit-user-drag:none; user-select:none; }
  .q-cart-module .q-product-drawer .q-model-card[data-q-catalog-drag].q-dragging { opacity:.4; cursor:grabbing; }
  .q-cart-module .q-selected-items.q-drop-target {
    background:#efeff0;
    border-radius:6px;
    box-shadow:inset 0 0 0 2px #303133;
  }
}

/* 折扣参与状态可直接点击切换，不使用勾选框。 */
@media screen {
  .q-cart-module .q-cart-item.q-line-menu-open .q-line-options > .q-discount-exempt {
    justify-content:space-between;
    gap:12px;
    color:#303133;
  }
  .q-cart-module .q-cart-item.q-line-menu-open .q-line-options > .q-discount-exempt:hover { background:#f3f3f4; }
  .q-cart-module .q-cart-item.q-line-menu-open .q-line-options > .q-discount-exempt small {
    font-size:11px;
    line-height:18px;
    color:#737478;
  }
  .q-cart-module .q-cart-item.q-line-menu-open .q-line-options > .q-discount-exempt[aria-pressed="true"] small {
    color:#303133;
    font-weight:600;
  }
}

/* 商品选品：搜索框内收起品牌和类别筛选。 */
@media screen {
  .q-cart-module .q-product-drawer .q-drawer-filters {
    position:relative;
    z-index:5;
  }
  .q-cart-module .q-product-drawer .q-search-filter-row {
    position:relative;
    min-width:0;
  }
  .q-cart-module .q-product-drawer .q-search-filter-row .q-drawer-search { display:block; min-width:0; }
  .q-cart-module .q-product-drawer .q-search-filter-row .q-search { padding-right:90px; }
  .q-cart-module .q-product-drawer .q-filter-trigger {
    position:absolute;
    top:50%;
    right:5px;
    transform:translateY(-50%);
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:5px;
    min-width:70px;
    height:31px;
    padding:0 9px;
    border:1px solid #d9dadd;
    border-radius:5px;
    background:#fff;
    color:#303133;
    font-size:11px!important;
    font-weight:500;
    line-height:1;
    white-space:nowrap;
  }
  .q-cart-module .q-product-drawer .q-filter-trigger:hover,
  .q-cart-module .q-product-drawer .q-filter-trigger[aria-expanded="true"] {
    border-color:#a9aaad;
    background:#f0f0f1;
    color:#1d1d1f;
  }
  .q-cart-module .q-product-drawer .q-filter-trigger:focus-visible {
    outline:2px solid #454648;
    outline-offset:2px;
  }
  .q-cart-module .q-product-drawer .q-filter-count {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-width:16px;
    height:16px;
    padding:0 3px;
    border-radius:8px;
    background:#303133;
    color:#fff;
    font-size:10px;
    line-height:1;
  }
  .q-cart-module .q-product-drawer .q-filter-count[hidden],
  .q-cart-module .q-product-drawer .q-filter-popover[hidden] { display:none; }
  .q-cart-module .q-product-drawer .q-filter-popover {
    position:absolute;
    top:calc(100% - 5px);
    right:18px;
    left:18px;
    z-index:8;
    max-height:min(360px, calc(100dvh - 220px));
    overflow-y:auto;
    overscroll-behavior:contain;
    padding:10px;
    border:1px solid #dedfe1;
    border-radius:7px;
    background:#fff;
    box-shadow:0 8px 24px #0002;
    scrollbar-width:thin;
    scrollbar-color:#aaa transparent;
  }
  .q-cart-module .q-product-drawer .q-filter-popover .q-catalog-filter-sections {
    max-height:none;
    margin:0;
    overflow:visible;
  }
  .q-cart-module .q-product-drawer .q-filter-popover .q-category-tabs {
    flex-wrap:wrap;
    max-height:none;
  }
  .q-cart-module .q-product-drawer .q-filter-popover .q-catalog-filter-clear { color:#505154; }
  .q-cart-module .q-product-drawer .q-filter-popover .q-catalog-filter-clear:hover { color:#1d1d1f; }
}
@media screen and (max-width:1100px) {
  .q-cart-module .q-product-drawer .q-filter-popover {
    right:20px;
    left:20px;
    max-height:min(300px, max(100px, calc(55dvh - 150px)));
  }
}
@media screen {
  .q-cart-module .q-product-drawer .q-filter-trigger svg {
    display:block;
    flex:none;
    width:14px;
    height:14px;
    fill:none;
    stroke:currentColor;
    stroke-width:1.5;
    stroke-linecap:round;
  }
}

/* 报价窗口顶部：标题、报价信息和操作在宽屏排成一行。 */
.q-form-field > .q-field-name { color:inherit; }
.q-field-name b { color:var(--q-copper); font-weight:400; }
@media screen and (min-width:1101px) {
  body.quote-standalone, #page-popup:has(.q-editor-topbar) { --page-popup-header-height:76px; }
  body.quote-standalone .q-editor-topbar,
  #page-popup .q-editor-topbar {
    display:grid;
    grid-template-columns:150px minmax(0,1fr) auto;
    align-items:center;
    column-gap:16px;
    padding:10px 16px;
  }
  #page-popup .q-editor-topbar { padding-right:128px; }
  body.quote-standalone .q-editor-topbar .q-heading,
  #page-popup .q-editor-topbar .q-heading { display:contents; }
  body.quote-standalone .q-editor-topbar .q-heading > div:first-child,
  #page-popup .q-editor-topbar .q-heading > div:first-child {
    display:flex;
    flex-direction:column;
    align-items:flex-start;
    gap:2px;
    grid-column:1;
    min-width:0;
  }
  body.quote-standalone .q-editor-topbar .q-heading h1,
  #page-popup .q-editor-topbar .q-heading h1 { order:-1; margin:0; }
  body.quote-standalone .q-editor-topbar .q-heading p,
  #page-popup .q-editor-topbar .q-heading p { display:none; }
  body.quote-standalone .q-editor-topbar .q-heading-actions,
  #page-popup .q-editor-topbar .q-heading-actions { grid-column:3; grid-row:1; }
  body.quote-standalone .q-editor-topbar .q-info-panel.q-info-editable,
  #page-popup .q-editor-topbar .q-info-panel.q-info-editable { grid-column:2; grid-row:1; gap:16px; }
  body.quote-standalone .q-editor-topbar .q-info-panel > .q-form-field:nth-child(n),
  #page-popup .q-editor-topbar .q-info-panel > .q-form-field:nth-child(n) {
    display:grid;
    grid-template-columns:max-content minmax(0,1fr);
    align-items:center;
    gap:9px;
    min-width:0;
  }
  body.quote-standalone .q-editor-topbar .q-field-name,
  #page-popup .q-editor-topbar .q-field-name { white-space:nowrap; font-size:12px; color:#303133; }
  body.quote-standalone .q-editor-topbar .q-form-field input,
  #page-popup .q-editor-topbar .q-form-field input,
  body.quote-standalone .q-editor-topbar .q-customer-choice,
  #page-popup .q-editor-topbar .q-customer-choice { width:100%; min-width:0; margin:0; }
  body.quote-standalone .q-editor-topbar .q-customer-choice-main small,
  #page-popup .q-editor-topbar .q-customer-choice-main small { display:none; }
}

/* AI-assisted quotation: review before applying to the current draft. */
.q-product-add-actions .q-ai-entry{color:#0069d9;font-weight:600;white-space:nowrap}
.q-ai-line-badge{display:inline-flex;align-items:center;margin-left:6px;padding:3px 7px;border:0;border-radius:4px;background:#ededee;color:#444;font:inherit;font-size:11px;line-height:1.4;cursor:pointer;vertical-align:middle}
.q-ai-line-badge.is-uncertain{background:#fff2db;color:#8a5811}
.q-ai-line-badge{white-space:nowrap;max-width:100%}
.q-cart-module .q-line-product-info>p:has(.q-ai-line-badge){white-space:normal;overflow:visible;text-overflow:clip}
/* A recommendation badge must wrap as a whole, rather than squeeze the
   category and colour into single-character flex columns. */
.q-cart-module .q-cart-item .q-line-top p:has(.q-ai-line-badge){display:block;white-space:normal;overflow:visible;text-overflow:clip;padding-right:0}
.q-cart-module .q-cart-item .q-line-top p:has(.q-ai-line-badge):has(.q-exempt-badge:not([hidden])){padding-right:0}
.q-cart-module .q-cart-item .q-line-top p:has(.q-ai-line-badge) .q-line-color{vertical-align:baseline}
.q-cart-module .q-cart-item .q-line-top p:has(.q-ai-line-badge)>.q-exempt-badge:not([hidden]){position:static;display:inline-block;margin-left:4px}
.q-ai-line-badge:hover{box-shadow:inset 0 0 0 1px currentColor}
.q-ai-line-badge:focus-visible{outline:2px solid #555;outline-offset:2px}
.q-ai-evidence{box-sizing:border-box;width:min(520px,calc(100vw - 32px));max-height:calc(100dvh - 40px);padding:0;border:1px solid #ddd;border-radius:12px;background:white;color:#252628;box-shadow:0 20px 70px #0003;overflow:auto}
.q-ai-evidence::backdrop{background:#0005;backdrop-filter:blur(2px)}
.q-ai-evidence header{display:flex;justify-content:space-between;gap:20px;padding:22px 24px 18px;border-bottom:1px solid #e5e5e5}
.q-ai-evidence h2{margin:0;font-size:18px;font-weight:600;line-height:1.4}
.q-ai-evidence header p{margin:7px 0 0;color:#737373;font-size:13px;line-height:1.5}
.q-ai-evidence header button{align-self:flex-start;border:0;background:transparent;font-size:25px;line-height:1;color:#777;cursor:pointer}
.q-ai-evidence-body{padding:22px 24px;font-size:13px;line-height:1.7;overflow-wrap:anywhere}
.q-ai-evidence-body section+section{margin-top:22px}
.q-ai-evidence h3{margin:0 0 8px;font-size:12px;color:#747474;font-weight:500}
.q-ai-evidence-body p{margin:0}
.q-ai-evidence blockquote{margin:7px 0;padding:10px 12px;border-left:3px solid #333;background:#f6f6f6;white-space:pre-wrap}
.q-ai-evidence-muted{color:#777;margin-top:8px!important}
.q-ai-evidence-check{padding:12px 14px;background:#fff8ed;border-radius:6px;color:#81551d}
.q-ai-evidence-check h3{color:inherit}
.q-ai-evidence-check ul{margin:0;padding-left:18px}
.q-ai-evidence footer{display:flex;justify-content:flex-end;padding:14px 24px;border-top:1px solid #e5e5e5}
.q-ai-evidence footer button{border:0;border-radius:6px;background:#252628;color:white;padding:9px 18px;font:inherit;font-size:13px;cursor:pointer}
.q-ai-evidence button:focus-visible{outline:2px solid #777;outline-offset:3px}
.q-ai-evidence-choices [role=list]{display:grid;gap:6px}
.q-ai-evidence-choices button{display:flex;justify-content:space-between;align-items:center;gap:12px;width:100%;padding:9px 12px;border:1px solid #e2e2e2;border-radius:6px;background:white;color:inherit;font:inherit;text-align:left;cursor:pointer}
.q-ai-evidence-choices button:hover{border-color:#999;background:#fafafa}
.q-ai-evidence-choices button.is-current{border-color:#252628;background:#f6f6f6}
.q-ai-evidence-choices strong{display:block;font-weight:500}
.q-ai-evidence-choices small{display:block;color:#777;font-size:12px}
.q-ai-evidence-choices em{flex:none;font-style:normal;color:#555;font-size:12px}
.q-ai-evidence-thumb{flex:none;width:44px;height:44px;border-radius:4px;background:#f6f6f6;overflow:hidden;display:flex;align-items:center;justify-content:center}
.q-ai-evidence-thumb>*{width:100%;height:100%}
.q-ai-evidence-thumb img{width:100%;height:100%;object-fit:contain;padding:3px;mix-blend-mode:multiply}
.q-ai-evidence-choice-name{flex:1;min-width:0}
.q-ai-evidence-choices em{display:flex;flex-direction:column;align-items:flex-end;gap:4px}
.q-ai-evidence-current{font-weight:500;font-size:11px;color:white;background:#252628;border-radius:3px;padding:1px 6px}
.q-ai-evidence footer{gap:8px}
.q-ai-evidence footer .q-ai-evidence-secondary{background:white;color:#252628;border:1px solid #ccc}
.q-ai-pending-notice{margin:0 0 12px;padding:10px 12px;border-radius:6px;background:#fff4df;color:#805219;font-size:12px;line-height:1.6}
.q-ai-pending-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px;border-top:1px dashed #e0c798;background:#fffbf4}
.q-ai-pending-row>div:first-child{display:grid;gap:4px;min-width:0}.q-ai-pending-row strong{overflow-wrap:anywhere;font-size:13px;color:#493b29}.q-ai-pending-row span{font-size:11px;color:#966419}
.q-ai-pending-row>div:last-child{display:flex;flex-wrap:wrap;gap:8px}.q-ai-pending-row button{padding:6px 9px;border:1px solid #e4d3b8;border-radius:5px;background:#fff;color:#805219;font-size:11px;cursor:pointer}
@media(max-width:600px){.q-ai-pending-row{align-items:flex-start;flex-direction:column}}
.q-ai-dialog{box-sizing:border-box;width:min(720px,calc(100vw - 32px));max-width:calc(100vw - 32px);max-height:min(780px,calc(100dvh - 48px));padding:0;border:1px solid #dcdfe5;border-radius:12px;background:#fff;color:#202124;box-shadow:0 24px 80px #1d1d1f30;overflow:hidden}
.q-ai-dialog::backdrop{background:#1d1d1f55;backdrop-filter:blur(2px)}
.q-ai-dialog *{box-sizing:border-box;min-width:0}
.q-ai-dialog button,.q-ai-dialog input,.q-ai-dialog select,.q-ai-dialog textarea{font:inherit}
.q-ai-dialog button{cursor:pointer}
.q-ai-dialog button:disabled{opacity:.5;cursor:not-allowed}
.q-ai-dialog button:focus-visible,.q-ai-dialog input:focus-visible,.q-ai-dialog select:focus-visible,.q-ai-dialog textarea:focus-visible{outline:2px solid #555659;outline-offset:2px}
.q-ai-header{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;padding:22px 24px 18px;border-bottom:1px solid #e5e5ea}
.q-ai-header h2{margin:0;font-size:19px;line-height:1.4;font-weight:600}
.q-ai-header p{margin:6px 0 0;color:#6e6e73;font-size:12px;line-height:1.6}
.q-ai-close{flex:none;border:0;background:transparent;color:#6e6e73;font-size:26px;line-height:1;padding:0 4px}
.q-ai-body{max-height:calc(min(780px,100dvh - 48px) - 145px);padding:20px 24px;overflow-y:auto;overscroll-behavior:contain}
.q-ai-fields label{display:grid;gap:8px;color:#30333a;font-size:12px;font-weight:500}
.q-ai-fields select,.q-ai-fields input{width:100%;border:1px solid #d7dbe2;border-radius:6px;background:#fff;color:#202124;padding:10px 12px;line-height:1.5}
.q-ai-compose{padding:12px;border:1px solid #d7dbe2;border-radius:12px;background:#fff;transition:border-color .15s,box-shadow .15s}
.q-ai-compose:focus-within{border-color:#8b8c8e;box-shadow:0 0 0 3px #2526280a}
.q-ai-compose textarea{display:block;width:100%;min-height:100px;resize:vertical;padding:4px;border:0;outline:0!important;background:transparent;color:#202124;font-size:14px;line-height:1.6}
.q-ai-compose textarea::placeholder{color:#969ca5}
.q-ai-compose-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:8px}
.q-ai-dialog .q-ai-attach-button{display:inline-flex;align-items:center;gap:5px;padding:7px 8px;border:0;border-radius:6px;background:transparent;color:#555f6b;font-size:12px}
.q-ai-attach-button:hover{background:#f1f4f7}
.q-ai-attach-button span{font-size:21px;line-height:1}
.q-ai-attachment{position:relative;display:inline-flex;width:76px;height:76px;margin:2px 0 10px;vertical-align:top}
.q-ai-attachment[hidden]{display:none}
.q-ai-attachment img{width:100%;height:100%;object-fit:cover;border:1px solid #e0e4e9;border-radius:8px;background:#f5f6f8}
.q-ai-dialog .q-ai-remove-image{position:absolute;right:-7px;top:-7px;display:grid;place-items:center;width:23px;height:23px;padding:0;border:2px solid white;border-radius:50%;background:#333a42;color:white;font-size:17px;line-height:1}
.q-ai-body [data-ai-progress]{display:block;font-size:12px;color:#687484}
.q-ai-dialog .q-button{border:1px solid #d9dce2;border-radius:6px;padding:9px 15px;background:white;color:#30343b;font-size:12px;line-height:1.4}
.q-ai-dialog .q-button-primary{border-color:#0071e3;background:#0071e3;color:white}
.q-ai-error{padding:10px 12px;margin:14px 0 0;background:#fff3f1;border-radius:6px;color:#a33b31;font-size:12px;line-height:1.7}
.q-ai-results-head{border-top:1px solid #e5e5ea;margin-top:20px;padding-top:18px}
.q-ai-results-head h3{font-size:15px;margin:0;color:#202124}
.q-ai-results-head p,.q-ai-empty{font-size:12px;color:#6e6e73;line-height:1.7;margin:7px 0 12px}
.q-ai-summary{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 12px}
.q-ai-summary span{padding:5px 9px;border:1px solid #e1e5eb;border-radius:5px;background:#f7f8fa;color:#414b59;font-size:11px;line-height:1.4}
.q-ai-uncertainties{margin:7px 0 10px;padding:9px 12px 9px 27px;border-radius:6px;background:#fff8ed;color:#80602f;font-size:11px;line-height:1.7}
.q-ai-warnings{margin:0 0 12px;padding:12px 12px 12px 30px;border-radius:6px;background:#fff8ed;color:#86652d;font-size:12px;line-height:1.7}
.q-ai-results-list{display:grid;gap:10px}
.q-ai-result{padding:14px;border:1px solid #e1e5eb;border-radius:8px;background:#fff}
.q-ai-result-top{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:11px;color:#80858d}
.q-ai-result-top label{display:flex;align-items:center;gap:7px;color:#263342;font-size:12px;font-weight:600}
.q-ai-result-top input{accent-color:#0071e3;width:16px;height:16px}
.q-ai-source-label{margin:10px 0 0;font-size:11px;line-height:1.5;color:#6e6e73}
.q-ai-source{font-size:12px;line-height:1.6;margin:3px 0 10px;color:#262b32;white-space:pre-wrap;overflow-wrap:anywhere}
.q-ai-reason{font-size:11px;color:#9a6720;line-height:1.6;margin:6px 0 10px}
.q-ai-fields{display:grid;grid-template-columns:minmax(0,1fr) 100px;gap:12px}
.q-ai-fields select,.q-ai-fields input{font-size:12px;padding:8px}
.q-ai-footer{display:flex;justify-content:flex-end;gap:10px;padding:14px 24px;border-top:1px solid #e5e5ea;background:#fff}
.q-ai-footer [hidden]{display:none!important}

.q-ai-source-notes{margin-top:12px;padding:10px 12px;border-left:2px solid #c5c5c7;background:#fafafa;color:#666;font-size:12px;line-height:1.6}
.q-ai-source-notes-label{display:block;margin-bottom:3px;color:#777;font-size:11px;font-weight:500}
.q-ai-source-notes>div{display:flex;align-items:flex-start;gap:12px}
.q-ai-source-notes p{flex:1;min-width:0;margin:0;white-space:pre-wrap;overflow-wrap:anywhere}
.q-ai-source-notes button{flex:none;border:0;background:transparent;color:#888;padding:0 4px;font-size:16px;line-height:1.3;cursor:pointer}
.q-ai-source-notes button:hover{color:#222}
.q-ai-source-notes button:focus-visible{outline:2px solid #666;outline-offset:2px}
@media(max-width:600px){.q-ai-dialog{width:calc(100vw - 24px);max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px)}.q-ai-header{padding:18px 16px 14px}.q-ai-body{padding:16px;max-height:calc(100dvh - 170px)}.q-ai-footer{padding:12px 16px}.q-ai-fields{grid-template-columns:minmax(0,1fr) 76px;gap:8px}}

/* AI selection scope stays secondary to the source list. */
.q-ai-scope{margin:18px 0 12px;padding:0;border:0;min-inline-size:0}
.q-ai-scope legend{padding:0;margin-bottom:9px;color:#303134;font-size:12px;font-weight:600}
.q-ai-scope legend span{margin-left:6px;font-size:11px;font-weight:400;color:#858587}
.q-ai-scope-fields{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.q-ai-scope-control{position:relative;display:grid;gap:6px;min-width:0;color:#6e6e73;font-size:11px}
.q-ai-dialog .q-ai-scope-toggle{display:flex;align-items:center;gap:6px;width:100%;height:38px;padding:0 10px;border:1px solid #dedfe1;border-radius:6px;background:#fafafa;color:#303134;font-size:12px;line-height:1.4;text-align:left}
.q-ai-scope-toggle [data-ai-scope-summary]{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.q-ai-scope-toggle svg{width:14px;height:14px;flex:none;fill:none;stroke:currentColor;stroke-width:1.5}
.q-ai-dialog .q-ai-scope-toggle[aria-expanded=true]{border-color:#777;background:#fff}
.q-ai-scope-count{padding:1px 5px;border-radius:4px;background:#e8e8e9;color:#303134;font-size:10px;flex:none}
.q-ai-scope-count[hidden]{display:none}
.q-ai-scope p{margin:8px 0 0;font-size:11px;line-height:1.6;color:#858587}
.q-ai-scope-picker{box-sizing:border-box;width:min(600px,calc(100vw - 32px));max-width:calc(100vw - 32px);max-height:calc(100dvh - 32px);padding:0;border:1px solid #dedfe1;border-radius:12px;background:#fff;color:#252628;box-shadow:0 20px 70px #00000033;overflow:auto}
.q-ai-scope-picker::backdrop{background:#1d1d1f45;backdrop-filter:blur(2px)}
.q-ai-scope-picker *{box-sizing:border-box;min-width:0}
.q-ai-scope-picker>header{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;padding:22px 24px 18px;border-bottom:1px solid #eeeeef}
.q-ai-scope-picker h3{margin:0;font-size:18px;font-weight:600;line-height:1.4}
.q-ai-scope-picker header p{margin:6px 0 0;color:#858587;font-size:12px;line-height:1.5}
.q-ai-scope-picker button{font:inherit;cursor:pointer}
.q-ai-scope-picker>header>button{padding:0 2px;border:0;background:transparent;color:#777;font-size:24px;line-height:1}
.q-ai-scope-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:22px 24px}
.q-ai-scope-options label{display:flex;align-items:center;gap:10px;min-height:60px;padding:10px 12px;border:1px solid #e3e3e5;border-radius:7px;color:#444;font-size:13px;line-height:1.5;cursor:pointer}
.q-ai-scope-thumb{position:relative;display:flex;align-items:center;justify-content:center;flex:0 0 36px;width:36px;height:40px;border-radius:4px;background:#f5f5f6;overflow:hidden}
.q-ai-scope-thumb img{display:block;width:100%;height:100%;padding:3px;object-fit:contain;pointer-events:none}
.q-ai-scope-thumb:not(.is-brand) img[data-thumbnail-fitted]{position:absolute;width:var(--product-thumb-width);height:var(--product-thumb-height);left:var(--product-thumb-left);top:var(--product-thumb-top);max-width:none;padding:0;object-fit:fill}
.q-ai-scope-thumb.is-brand{flex-basis:64px;width:64px;background:#fff}
.q-ai-scope-thumb.is-brand img{padding:3px}
.q-ai-scope-thumb-fallback{display:none;color:#929294;font-size:10px;white-space:nowrap}
.q-ai-scope-thumb.is-missing .q-ai-scope-thumb-fallback{display:block}
.q-ai-scope-option-name{flex:1;overflow-wrap:anywhere}
.q-ai-scope-section{padding:18px 24px 0}
.q-ai-scope-section h4{margin:0 0 10px;font-size:12px;font-weight:500;color:#767678}
.q-ai-scope-section .q-ai-scope-options{padding:0}
.q-ai-scope-section:last-of-type{padding-bottom:22px}
.q-ai-scope-options.is-series label{min-height:44px}
.q-ai-scope-options label:hover{border-color:#a8a8aa;background:#fafafa}
.q-ai-scope-options label:has(input:checked){border-color:#555;background:#f4f4f5;color:#252628}
.q-ai-scope-options input{appearance:auto;width:16px;height:16px;margin:0;padding:0;accent-color:#252628;flex:none}
.q-ai-scope-picker :is(input,button):focus{outline:2px solid #666;outline-offset:2px;box-shadow:none}
.q-ai-scope-picker>footer{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:16px 24px;border-top:1px solid #eeeeef;background:#fafafa}
.q-ai-scope-picker footer>div{display:flex;align-items:center;gap:10px}
.q-ai-scope-picker footer button{padding:8px 18px;border:1px solid #dedfe1;border-radius:6px;background:#fff;color:#303134;font-size:12px;line-height:1.5}
.q-ai-scope-picker footer [data-ai-scope-clear]{padding:6px 0;border:0;background:transparent;color:#666}
.q-ai-scope-picker [data-ai-scope-selection-count]{font-size:11px;color:#858587}
.q-ai-scope-picker footer .q-ai-scope-done{border-color:#252628;background:#252628;color:#fff}
.q-ai-scope-picker footer .q-ai-scope-done:hover{background:#444548}
@media(max-width:480px){.q-ai-scope-fields{grid-template-columns:1fr 1fr}.q-ai-scope-picker>header{padding:20px 16px 16px}.q-ai-scope-options{padding:18px 16px;gap:8px}.q-ai-scope-options label{padding:10px 8px;font-size:12px;gap:7px}.q-ai-scope-thumb{flex-basis:32px;width:32px;height:36px}.q-ai-scope-thumb.is-brand{flex-basis:46px;width:46px}.q-ai-scope-section{padding:16px 16px 0}.q-ai-scope-section:last-of-type{padding-bottom:18px}.q-ai-scope-picker>footer{padding:14px 16px}.q-ai-scope-picker footer>div{gap:8px}.q-ai-scope-picker footer button{padding:8px 14px}}

/* Recognition progress is estimated; completion follows the actual response. */
.q-ai-progress{margin-top:18px;padding:12px 0 2px}
.q-ai-progress[hidden]{display:none}
.q-ai-progress-label{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:9px;color:#303134;font-size:12px;line-height:1.4}
.q-ai-progress-label small{color:#85868a;font-size:11px;white-space:nowrap}
.q-ai-progress-track{height:5px;overflow:hidden;border-radius:3px;background:#ececee}
.q-ai-progress-track>span{display:block;height:100%;width:0;background:#252628;border-radius:inherit;transition:width .25s linear}
@media(prefers-reduced-motion:reduce){.q-ai-progress-track>span{transition:none}}
