@import url('/static/quote_components/mounting.css?v=adapter-columns-v2');
:root { --quote-ink:#243b30; --quote-muted:#526258; --quote-line:#cad5cd; --quote-brand:#245a35; --quote-bg:#f3f6f3; }
* { box-sizing:border-box; }
body { margin:0; color:var(--quote-ink); background:var(--quote-bg); font-family:var(--ui-font,Arial,sans-serif); font-size:15px; }
[hidden] { display:none !important; }
a { color:var(--quote-brand); }
.quote-page { max-width:1440px; padding:28px 24px 60px; margin:auto; }
.page-heading,.section-heading { display:flex; justify-content:space-between; align-items:center; gap:18px; margin-bottom:20px; }
.page-heading h1 { margin:4px 0 8px; font-size:30px; letter-spacing:-.5px; }
h2 { margin:0 0 16px; font-size:20px; } h3 { font-size:14px; margin:0 0 8px; }
p { line-height:1.5; } .eyebrow { margin:0; color:var(--quote-muted); font-size:12px; font-weight:700; text-transform:uppercase; letter-spacing:1.4px; }
.card { background:white; border:1px solid var(--quote-line); border-radius:12px; padding:22px; margin-bottom:20px; }
.vertical-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:18px; margin-top:24px; }
.vertical-card { text-align:left; display:flex; flex-direction:column; gap:14px; padding:30px 24px; background:white; color:var(--quote-ink); border:1px solid var(--quote-line); border-radius:12px; min-height:160px; }
.vertical-card strong { font-size:23px; }.vertical-card span { color:var(--quote-muted); font-size:14px; line-height:1.5; }
.vertical-card:hover { border-color:var(--quote-brand); background:#eaf1eb; }
.fields { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; }
label { display:block; font-size:13px; font-weight:600; } input,select,textarea { display:block; width:100%; margin-top:7px; padding:10px; min-height:44px; color:var(--quote-ink); border:1px solid #9dad9f; border-radius:6px; background:white; font:inherit; }
textarea { resize:vertical; } input:user-invalid { border-color:#b02626; background:#fff8f8; }
button { cursor:pointer; min-height:44px; padding:10px 16px; border:1px solid var(--quote-brand); border-radius:6px; background:var(--quote-brand); color:white; font:inherit; font-weight:600; }
button.quiet { background:white; color:var(--quote-brand); border-color:var(--quote-line); font-size:13px; }
button:disabled { opacity:.6; cursor:wait; } :focus-visible { outline:3px solid #b67c1c; outline-offset:3px; }
.quote-layout { display:grid; grid-template-columns:minmax(0,1fr) 300px; gap:20px; align-items:start; }
.summary { position:sticky; top:18px; }.summary section { padding:16px 0; border-bottom:1px solid var(--quote-line); }
.summary output { display:block; font-size:27px; font-weight:700; font-variant-numeric:tabular-nums; }
.summary p { font-size:13px; }.summary[aria-busy="true"] output { opacity:.45; }
.muted { color:var(--quote-muted); font-size:13px; }.table-scroll { overflow:auto; margin-top:18px; }
table { width:100%; border-collapse:collapse; min-width:690px; font-size:13px; } th,td { padding:14px 9px; border-bottom:1px solid #e0e7e1; vertical-align:top; }
thead th { text-align:left; color:var(--quote-muted); background:#f5f8f5; } tbody th { text-align:left; width:25%; } td { font-variant-numeric:tabular-nums; white-space:nowrap; }
td:last-child { text-align:right; font-weight:600; } td input { width:100px; } .applied-price-cell { min-width:110px; } .applied-price-cell input { width:120px; }
th small { display:block; font-size:11px; color:var(--quote-muted); font-weight:400; line-height:1.5; margin-top:5px; }.model-link { font-weight:700; }
.adjust { margin-top:8px; font-size:12px; white-space:normal; }.adjust summary { cursor:pointer; color:var(--quote-muted); padding:5px 0; }.adjust button { margin-top:8px; }.summary .adjust input { width:100%; }
.validation { font-size:13px; color:#8d321d; padding-left:18px; }.notice { padding:20px; background:#fff1d5; }
#quote-terms { padding-left:20px; line-height:1.6; font-size:13px; } #quote-terms li { margin:7px 0; }
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
@media(max-width:1100px) { .quote-layout { grid-template-columns:minmax(0,1fr); }.summary { position:static; }.fields { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:600px) { .quote-page { padding:20px 12px; }.vertical-grid,.fields { grid-template-columns:1fr; }.page-heading,.section-heading { align-items:flex-start; flex-wrap:wrap; }.card { padding:16px; }.vertical-card { min-height:120px; }.page-heading h1 { font-size:26px; } }

#quote-form[data-calculation="pending"] [data-applied], #quote-form[data-calculation="pending"] [data-subtotal],
#quote-form[data-calculation="error"] [data-applied], #quote-form[data-calculation="error"] [data-subtotal] { opacity:.45; }

.compact-summary { display:none; }
@media(max-width:1100px) {
  .compact-summary { display:flex; gap:14px; justify-content:space-between; align-items:center; flex-wrap:wrap; position:sticky; top:0; z-index:20; background:#eaf1eb; padding:12px 16px; border:1px solid #b6c9ba; border-radius:8px; margin-bottom:16px; font-size:12px; }
  .compact-summary strong { display:block; margin-top:4px; font-size:18px; font-variant-numeric:tabular-nums; }
  #quote-form[data-calculation="pending"] .compact-summary strong, #quote-form[data-calculation="error"] .compact-summary strong { opacity:.45; }
}
@media(min-width:650px) and (max-width:1100px) {
  table { min-width:620px; } th,td { padding:12px 6px; } td input { width:80px; } .applied-price-cell { min-width:100px; } .applied-price-cell input { width:100px; }
}

#adjust-pricing { display:inline-block; font-size:11px; color:var(--quote-muted); margin:4px 0; }

.quote-warning { color:#8d321d; background:#fff6ee; border:1px solid #e8c4a8; border-radius:6px; padding:12px 12px 12px 28px; font-size:13px; line-height:1.5; }

.quote-actions { display:flex; align-items:center; gap:18px; }
.series-heading th { background:#f4f5f6; color:#53616d; font-size:12px; letter-spacing:.04em; padding:10px 12px; border-top:2px solid #d6dce1; }
#quote-form[data-vertical="grocery"] .freezer-tag > th,
#quote-form[data-vertical="grocery"] .freezer-tag > td { background:#e6f3ff; }
.applied-price-cell { min-width:120px; }
.applied-price-input { margin-top:0; }
.manual-price-output { display:none; }
#quote-form:not([data-edit-prices="true"]) .optional-price,
#quote-form:not([data-edit-prices="true"]) .subscription-price-editor { display:none; }
#quote-form[data-edit-prices="true"] .applied-price-output { display:none; }

.display-swatches{display:block;margin:6px 0}

.product-name-line{display:flex;align-items:center;gap:12px}.product-name-line .display-swatches{flex:none;margin:0}

.product-identity{display:flex;align-items:center;gap:12px}.product-photo{display:block;width:96px;height:96px;object-fit:contain;flex:none;border-radius:5px;background:white}.product-copy{min-width:0}.product-detail-photo{width:280px;height:280px;max-width:100%;object-fit:contain}@media(max-width:650px){.product-photo{width:72px;height:72px}}

.product-dimensions{display:block;font-size:12px;font-weight:normal;color:#52636d;margin-top:3px}

.accessory-section{margin:18px 0;border:2px solid #a4b6aa;border-radius:6px;padding:12px}.accessory-section>summary{cursor:pointer;font-size:19px;padding:10px;background:#edf3ef}.accessory-section summary span{font-size:15px;margin-left:18px}.effective-tier{font-weight:700;text-decoration:underline;text-underline-offset:4px}.gallery-images{display:flex;flex-wrap:wrap;gap:20px}.gallery-images figure{margin:0;max-width:280px}.gallery-images img{width:260px;height:220px;object-fit:contain;max-width:100%}.gallery-images figcaption{font-size:15px}.accessory-section input{max-width:110px}#accessory-rows td{white-space:nowrap}
/* Keep visually hidden row labels inside the horizontally scrollable table. */
.table-scroll{position:relative}

/* Keep quantity validation and numeric keyboards without spinner controls. */
input[type="number"]{-moz-appearance:textfield;appearance:textfield}
input[type="number"]::-webkit-inner-spin-button,input[type="number"]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}

.inline-adjusted-price:not([hidden]){display:block;margin-top:4px}
#quote-form[data-edit-prices="true"] .inline-adjusted-price{display:none}
.applied-price-input{display:block;margin-top:4px}
#quote-form:not([data-edit-prices="true"]) #accessory-rows .optional-price{display:none}

/* Keep accessory names readable beside their photos on narrow screens. */
@media(max-width:650px){
 #accessory-section .table-scroll{max-width:100%;padding-bottom:8px}
 #accessory-section table{min-width:760px}
 #accessory-rows [data-product]>th{min-width:300px;width:300px;max-width:none}
 #accessory-rows .product-photo{width:56px;height:56px}
 #accessory-rows .product-identity{align-items:flex-start;gap:10px}
 #accessory-rows .product-copy{min-width:216px;overflow-wrap:normal;word-break:normal}
 #accessory-rows .product-name-line{align-items:flex-start}
}

.lease-toggle{display:flex;align-items:center;gap:10px;font-size:15px}.lease-toggle input{width:20px;min-height:20px;margin:0;flex:none}#lease-factor-controls{margin-top:14px}#lease-payment-factor{max-width:160px}.lease-all-in-label{margin-top:16px}

/* Independent width budgets for simple accessories and adapter-selection items. */
:is(#accessory-rows,#customer-accessory-rows) .accessory-group-table{table-layout:fixed;width:100%;border-collapse:collapse}
:is(#accessory-rows,#customer-accessory-rows) .accessory-group-table caption{text-align:left;background:#f1f4f2;color:#40554a;font-size:16px;font-weight:600;padding:10px 8px;border-top:1px solid #cbd6ce}
:is(#accessory-rows,#customer-accessory-rows) .accessory-group-table th{width:auto;max-width:none}
:is(#accessory-rows,#customer-accessory-rows) .accessory-group-table [data-product]>th{width:auto;min-width:0;max-width:none;white-space:normal}
:is(#accessory-rows,#customer-accessory-rows) .accessory-group-table .product-copy{min-width:0;overflow-wrap:break-word;word-break:normal}
:is(#accessory-rows,#customer-accessory-rows) .accessory-group-table .product-identity{align-items:flex-start}
:is(#accessory-rows,#customer-accessory-rows) .accessory-group-table [data-tier]{min-width:0}
:is(#accessory-rows,#customer-accessory-rows) .accessory-group-table td:nth-last-child(2){padding-left:8px;padding-right:8px}
:is(#accessory-rows,#customer-accessory-rows) .accessory-group-table td:last-child{text-align:right;white-space:nowrap}
:is(#accessory-rows,#customer-accessory-rows) .accessory-group-table td{padding-top:8px;padding-bottom:8px}
:is(#accessory-rows,#customer-accessory-rows) .accessory-group-scroll{max-width:100%;margin-top:12px;padding-bottom:10px}

:is(#accessory-rows,#customer-accessory-rows) .accessory-group-table[data-adapter-selection="false"] td:nth-last-child(2)>input{width:90px;max-width:100%}
:is(#accessory-rows,#customer-accessory-rows) .accessory-group-table[data-adapter-selection="true"] [data-tier]>div>small{display:block}

:is(#accessory-rows,#customer-accessory-rows) .accessory-group-table[data-adapter-selection="false"] td:last-child{text-align:left}

/* Compact the simple-accessory price columns; leave quantity/subtotal widths intact. */
:is(#accessory-rows,#customer-accessory-rows) .accessory-group-table[data-adapter-selection="false"] col:not(:first-child):not(:nth-last-child(-n+2)){width:90px!important}
:is(#accessory-rows,#customer-accessory-rows) .accessory-group-table[data-adapter-selection="false"] td:not(:nth-last-child(-n+2)){white-space:normal}

[data-unit-prices]{display:flex;gap:8px;flex-wrap:wrap}.unit-tier{display:inline-block;padding:8px 10px;font-size:1.3em;background:#f2f5fa;border-radius:8px;white-space:nowrap}.unit-tier small{display:block;font-size:13px;color:#586b83}

[data-kind="tag"] .model-link{font-size:20px}

.unit-tier{border:2px solid transparent}
.unit-tier.effective-tier{border-color:var(--quote-brand);font-weight:700;text-decoration:none}
.unit-tier.effective-tier small{font-weight:400}

[data-kind="scanner"] .product-copy:only-child{margin-left:108px}
@media(max-width:650px){[data-kind="scanner"] .product-copy:only-child{margin-left:84px}}

/* Adapter table: align the item heading with text and fit compact price columns. */
#accessory-rows .accessory-group-table[data-adapter-selection="true"] thead th:first-child{padding-left:117px}
#accessory-rows .accessory-group-table[data-adapter-selection="true"] thead th:not(:first-child):not(:nth-last-child(-n+2)){white-space:normal;overflow-wrap:normal;padding-left:6px;padding-right:6px}
#accessory-rows .accessory-group-table[data-adapter-selection="true"] [data-tier]{white-space:normal;padding-left:6px;padding-right:6px}
#accessory-rows .accessory-group-table[data-adapter-selection="true"] .mounting-quantities{min-width:0;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
#accessory-rows .accessory-group-table[data-adapter-selection="true"] .mounting-quantities input{width:88px;max-width:100%}
@media(max-width:650px){#accessory-rows .accessory-group-table[data-adapter-selection="true"] thead th:first-child{padding-left:75px}}

#accessory-rows .product-identity>.product-copy:only-child{margin-left:108px}
@media(max-width:650px){#accessory-rows .product-identity>.product-copy:only-child{margin-left:66px}}
