/* V31.4 — shopping-path choice, compatibility collections, quick-order cart, and visible TEST tools. */

body.shopping-path-pending .steps,
body.shopping-path-pending .panel,
body.shopping-path-quick .steps,
body.shopping-path-quick .panel{display:none!important}

.shopping-path-screen{position:relative;overflow:hidden;border:1px solid #d7dbde;background:#fff;padding:28px;margin-bottom:16px}
.shopping-path-screen[hidden],.quick-order-panel[hidden]{display:none!important}
.shopping-path-screen:before{content:"";position:absolute;right:-100px;top:-140px;width:360px;height:360px;border-radius:50%;background:radial-gradient(circle,#efe4d2 0%,rgba(239,228,210,0) 68%);pointer-events:none}
.shopping-path-kicker{position:relative;color:#8b6637;font-size:10px;font-weight:900;letter-spacing:.14em;text-transform:uppercase}
.shopping-path-screen h2{position:relative;margin:8px 0 6px;font:32px/1.12 Georgia,"Songti SC",serif}
.shopping-path-screen>p{position:relative;max-width:760px;margin:0;color:#697076;font-size:12px;line-height:1.65}
.shopping-path-grid{position:relative;display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:22px}
.shopping-path-card{display:grid;grid-template-columns:48px minmax(0,1fr) auto;gap:14px;align-items:center;min-height:146px;border:1px solid #cfd5d9;background:#f9fafb;padding:20px;text-align:left;color:#17191b;transition:border-color .16s ease,box-shadow .16s ease,transform .16s ease}
.shopping-path-card:hover,.shopping-path-card:focus-visible{border-color:#9e7440;box-shadow:0 10px 30px rgba(34,29,22,.1);transform:translateY(-1px);outline:none}
.shopping-path-card.primary{background:linear-gradient(135deg,#fffaf1,#f3eadc);border-color:#d8c09b}
.shopping-path-icon{width:48px;height:48px;display:grid;place-items:center;background:#4f7896;color:#fff;font-size:22px;font-weight:900;box-shadow:0 7px 18px rgba(63,101,127,.22)}
.shopping-path-card.primary .shopping-path-icon{background:#4f7896}
.shopping-path-copy strong{display:block;font-size:17px}.shopping-path-copy span{display:block;margin-top:6px;color:#697076;font-size:11px;line-height:1.55}
.shopping-path-arrow{font-size:22px;color:#9e7440}
.shopping-path-foot{position:relative;display:flex;gap:8px;flex-wrap:wrap;margin-top:14px;color:#6c7278;font-size:10px}
.shopping-path-foot span{padding:6px 8px;border:1px solid #dfe3e5;background:#fff}

.shopping-mode-bar{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:0 0 12px;padding:10px 12px;border:1px solid #d9c49f;border-left:4px solid #9e7440;background:#fffaf2}
.shopping-mode-bar strong{font-size:11px}.shopping-mode-bar span{color:#6c6255;font-size:10px}
.shopping-mode-change{border:1px solid #b8bec2;background:#fff;padding:7px 10px;font-size:10px;font-weight:800}

.compatibility-picker{margin:0 0 12px;padding:13px;border:1px solid #d9dde0;background:#f8f9f9}
.compatibility-picker-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;margin-bottom:10px}
.compatibility-picker-head strong{font-size:12px}.compatibility-picker-head span{color:#697076;font-size:10px;line-height:1.45;text-align:right}
.compatibility-collections{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:8px}
.compatibility-collection{border:1px solid #cfd5d9;background:#fff;padding:11px;text-align:left;color:#1d2226}
.compatibility-collection.active{border-color:#9e7440;background:#fff8ed;box-shadow:inset 0 0 0 1px #9e7440}
.compatibility-collection strong{display:block;font-size:11px}.compatibility-collection span{display:block;margin-top:4px;color:#687077;font-size:9px}
.product-compat-spec{display:flex;gap:5px;flex-wrap:wrap;margin:0 0 8px}
.product-compat-spec span{display:inline-flex;padding:3px 6px;border:1px solid #d7dcdf;background:#fff;color:#566068;font-size:8px;font-weight:800;text-transform:uppercase}

.quick-order-panel{border:1px solid #d7dbde;background:#fff;padding:18px;margin-bottom:16px}
.quick-order-head{display:flex;justify-content:space-between;align-items:flex-start;gap:15px;margin-bottom:15px}
.quick-order-head h2{margin:0;font:27px/1.1 Georgia,"Songti SC",serif}.quick-order-head p{margin:6px 0 0;color:#697076;font-size:11px;line-height:1.55}
.quick-order-layout{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:16px;align-items:start}
.quick-order-tools{display:grid;grid-template-columns:minmax(190px,1fr) auto;gap:8px;margin-bottom:10px}
.quick-order-tools input{height:41px;border:1px solid #cbd1d5;padding:0 11px}
.quick-order-tools select{height:41px;border:1px solid #cbd1d5;background:#fff;padding:0 10px}
.quick-order-products{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.quick-product{display:grid;grid-template-columns:86px minmax(0,1fr);gap:11px;border:1px solid #dbe0e3;background:#fafbfb;padding:10px}
.quick-product-photo{height:150px;border:0;background:#fff;display:grid;place-items:center;padding:5px}.quick-product-photo img{max-height:138px;max-width:70px;object-fit:contain}
.quick-product h3{margin:1px 0 5px;font-size:15px}.quick-product p{margin:4px 0;color:#687077;font-size:9px;line-height:1.45}.quick-product .pack{font-weight:800;color:#30373c}
.quick-add-row{display:grid;grid-template-columns:74px 1fr;gap:6px;margin-top:8px}.quick-add-row input{width:100%;height:34px;border:1px solid #c8ced2;padding:0 7px}.quick-add-row button{border:0;background:#20262b;color:#fff;font-size:9px;font-weight:800}

.quick-cart{position:sticky;top:12px;border:1px solid #cfd5d9;background:#fff}
.quick-cart-head{padding:13px 14px;background:#171c20;color:#fff}.quick-cart-head strong{display:block;font-size:14px}.quick-cart-head span{display:block;margin-top:4px;color:#b5bdc3;font-size:9px}
.quick-cart-empty{padding:24px 15px;color:#747b80;text-align:center;font-size:11px;line-height:1.55}
.quick-cart-items{display:grid}.quick-cart-item{display:grid;grid-template-columns:45px minmax(0,1fr) auto;gap:8px;align-items:center;padding:10px 12px;border-bottom:1px solid #e2e5e7}.quick-cart-item img{height:56px;max-width:36px;object-fit:contain}.quick-cart-item strong{display:block;font-size:11px}.quick-cart-item span{display:block;margin-top:3px;color:#687077;font-size:9px}.quick-cart-controls{display:flex;align-items:center;gap:4px}.quick-cart-controls button{width:25px;height:25px;border:1px solid #c8ced2;background:#fff}.quick-cart-controls output{min-width:21px;text-align:center;font-size:10px;font-weight:800}
.quick-cart-warning{margin:11px 12px 0;padding:10px;border-left:3px solid #b36a35;background:#fff4e8;color:#684526;font-size:9px;line-height:1.5}.quick-cart-warning.visual{border-color:#9e7440;background:#fff8ed}
.quick-cart-confirm{display:flex;gap:8px;align-items:flex-start;margin:9px 12px 0;padding:9px;border:1px solid #e0c9a5;background:#fffaf2;font-size:9px;line-height:1.45}.quick-cart-confirm input{margin-top:2px}
.quick-cart-totals{display:grid;grid-template-columns:1fr 1fr;margin-top:11px;border-top:1px solid #dfe3e5}.quick-cart-total{padding:11px 12px}.quick-cart-total+ .quick-cart-total{border-left:1px solid #dfe3e5}.quick-cart-total small{display:block;color:#747b80;font-size:8px}.quick-cart-total strong{display:block;margin-top:3px;font-size:16px}
.quick-cart-actions{padding:12px}.quick-cart-review{width:100%;border:0;background:#9e7440;color:#fff;padding:11px;font-weight:800}.quick-cart-review:disabled{background:#bcc1c4;cursor:not-allowed}.quick-cart-note{margin:8px 0 0;color:#747b80;font-size:8px;line-height:1.45}
.quick-review{margin-top:14px;border:1px solid #d7dbde;background:#fafafa;padding:15px}.quick-review h3{margin:0 0 6px}.quick-review p{margin:0;color:#687077;font-size:10px;line-height:1.55}.quick-review table{width:100%;border-collapse:collapse;margin-top:12px;font-size:10px}.quick-review th,.quick-review td{padding:8px;border-bottom:1px solid #dde1e4;text-align:left}.quick-review-status{margin-top:12px;padding:10px;border-left:3px solid #9e7440;background:#fff8ed;font-size:10px;line-height:1.5}
.quick-order-submit{margin-top:14px;padding-top:14px;border-top:1px solid #dfe3e5}.quick-order-submit h4{margin:0 0 10px;font-size:13px}.quick-order-submit-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.quick-field{display:grid;gap:5px;min-width:0}.quick-field.full{grid-column:1/-1}.quick-field span{font-size:9px;font-weight:800;color:#343a3f}.quick-field input,.quick-field select,.quick-field textarea{width:100%;border:1px solid #cbd1d5;background:#fff;padding:9px;font-size:11px}.quick-field input,.quick-field select{height:38px}.quick-field textarea{min-height:88px;resize:vertical;line-height:1.45}.quick-order-agree{display:flex;gap:8px;align-items:flex-start;margin:12px 0 0;padding:10px;border:1px solid #e0c9a5;background:#fffaf2;font-size:10px;line-height:1.45}.quick-order-agree input{margin-top:2px}.quick-order-submit-actions{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:12px}.quick-submit-button{border:0;background:#9e7440;color:#fff;padding:11px 14px;font-size:10px;font-weight:900}.quick-submit-button:disabled{background:#bcc1c4}.quick-submit-status{display:none;margin-top:10px;padding:10px;border-left:3px solid #487849;background:#eff8ef;color:#244d28;font-size:10px;line-height:1.55}.quick-submit-status.show{display:block}.quick-submit-status.error{border-color:#b43333;background:#fff3f2;color:#7d2525}

.compatibility-modal{position:fixed;inset:0;z-index:210;display:none;align-items:center;justify-content:center;padding:18px;background:rgba(9,12,14,.72)}
.compatibility-modal.open{display:flex}.compatibility-dialog{width:min(580px,96vw);background:#fff;border:1px solid #aeb5ba;box-shadow:0 22px 70px rgba(0,0,0,.36)}
.compatibility-dialog-head{padding:17px 18px;background:#171c20;color:#fff}.compatibility-dialog-head h2{margin:0;font-size:18px}.compatibility-dialog-head p{margin:5px 0 0;color:#bdc4c9;font-size:10px;line-height:1.45}
.compatibility-dialog-body{padding:17px 18px}.compatibility-compare{display:grid;grid-template-columns:1fr auto 1fr;gap:9px;align-items:center}.compatibility-spec-card{padding:10px;border:1px solid #dce0e2;background:#fafafa}.compatibility-spec-card strong{display:block}.compatibility-spec-card span{display:block;margin-top:4px;color:#6a7176;font-size:9px}.compatibility-versus{font-size:18px;color:#9e7440}.compatibility-explanation{margin:12px 0 0;padding:10px;border-left:3px solid #b36a35;background:#fff4e8;font-size:10px;line-height:1.55}
.compatibility-dialog-actions{display:flex;justify-content:flex-end;gap:8px;flex-wrap:wrap;padding:13px 18px;border-top:1px solid #dfe3e5}.compatibility-dialog-actions button{border:1px solid #bbc2c6;background:#fff;padding:9px 11px;font-size:10px;font-weight:800}.compatibility-dialog-actions .primary{border-color:#9e7440;background:#9e7440;color:#fff}

.v31-test-dock{position:fixed;right:18px;bottom:calc(18px + env(safe-area-inset-bottom));z-index:170;border:2px solid #f4c978;background:#171c20;color:#fff;padding:10px 13px;box-shadow:0 8px 28px rgba(0,0,0,.26);font-size:10px;font-weight:900;letter-spacing:.04em}
.v31-test-dock span{color:#f4c978}.v31-test-dock[hidden]{display:none!important}.v31-test-dock.busy{opacity:.6;pointer-events:none}
.v31-test-inline{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:0 0 13px;padding:10px 12px;border:1px dashed #b98c4e;background:#fff8e9}.v31-test-inline p{margin:0;color:#6b5534;font-size:10px;line-height:1.45}.v31-test-profile-status{margin-top:4px!important;color:#8a622f!important;font-weight:800}.v31-test-actions{display:flex;justify-content:flex-end;gap:7px;flex-wrap:wrap}.v31-test-inline button{border:0;background:#171c20;color:#fff;padding:9px 12px;font-size:9px;font-weight:900;white-space:nowrap}.v31-test-inline button:disabled{opacity:.5}
.quick-profile-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:0 0 12px;padding:9px 10px;border:1px dashed #bd9760;background:#fff9ee;color:#6b5534;font-size:10px}.quick-profile-actions span{font-weight:800}.quick-profile-actions button{border:0;background:#171c20;color:#fff;padding:8px 10px;font-size:9px;font-weight:850}
.v31-company-note{grid-column:1/-1;margin:-4px 0 0;color:#687077;font-size:9px}

@media(max-width:960px){
 .quick-order-layout{grid-template-columns:1fr}.quick-cart{position:static}.quick-order-products{grid-template-columns:1fr 1fr}
}
@media(max-width:700px){
 .shopping-path-screen{padding:18px 13px}.shopping-path-screen h2{font-size:25px}.shopping-path-grid{grid-template-columns:1fr}.shopping-path-card{grid-template-columns:42px minmax(0,1fr) auto;min-height:120px;padding:15px}.shopping-path-icon{width:42px;height:42px}
 .shopping-mode-bar,.quick-order-head,.compatibility-picker-head{align-items:flex-start;flex-direction:column}.compatibility-picker-head span{text-align:left}
 .quick-order-panel{padding:11px}.quick-order-tools{grid-template-columns:1fr}.quick-order-products{grid-template-columns:1fr}.quick-product{grid-template-columns:74px minmax(0,1fr)}.quick-product-photo{height:135px}.quick-product-photo img{max-height:124px;max-width:60px}
 .quick-order-submit-grid{grid-template-columns:1fr}.quick-order-submit-actions{align-items:stretch;flex-direction:column}.quick-order-submit-actions button{width:100%}
 .compatibility-compare{grid-template-columns:1fr}.compatibility-versus{text-align:center;transform:rotate(90deg)}.compatibility-dialog-actions button{flex:1 1 45%}
 .v31-test-dock{position:static;right:auto;bottom:auto;align-self:stretch;margin:0;padding:6px 8px;box-shadow:none;font-size:8px}.v31-test-inline{align-items:flex-start;flex-direction:column}.v31-test-actions{width:100%;flex-direction:column}.v31-test-inline button{width:100%}.quick-profile-actions{align-items:stretch;flex-direction:column}.quick-profile-actions button{width:100%}
}

@media print{.shopping-path-screen,.shopping-mode-bar,.quick-order-tools,.quick-cart-actions,.v31-test-dock,.compatibility-modal{display:none!important}.quick-order-layout{grid-template-columns:1fr}.quick-cart{position:static}}

.compatible-accessories{margin-top:28px;padding-top:24px;border-top:1px solid #d9dfe2}.compatible-accessories-head span{display:inline-block;font-size:10px;letter-spacing:.12em;text-transform:uppercase;color:#946437;font-weight:800}.compatible-accessories-head h2{margin:5px 0 6px}.compatible-accessories-head p{max-width:850px;color:#5c656b;line-height:1.55;font-size:12px}.compatible-accessories-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(245px,1fr));gap:14px;margin-top:16px}.compatible-accessory-card{display:grid;grid-template-columns:100px 1fr;gap:14px;align-items:center;border:1px solid #e0e4e6;border-radius:16px;padding:12px;background:#fff;box-shadow:0 8px 22px rgba(27,37,43,.07)}.compatible-accessory-card img{width:100px;height:110px;object-fit:contain;background:radial-gradient(circle,#fff,#f2f3f2);border-radius:12px}.compatible-accessory-sku{font-size:11px;font-weight:900;color:#9a6737;letter-spacing:.08em}.compatible-accessory-card h3{font-size:14px;margin:3px 0 6px;line-height:1.25}.compatible-accessory-card p{font-size:10px;line-height:1.45;color:#667077;margin:0 0 8px}.compatible-accessory-card label{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:11px;font-weight:800}.compatible-accessory-card input{width:82px;height:36px;border:1px solid #cbd2d6;border-radius:9px;padding:0 9px}.accessory-warning{font-size:9px;color:#8a4f22;background:#fff5e7;border-radius:7px;padding:5px 7px;margin:6px 0}.compatible-accessories-note{margin-top:12px;padding:10px 12px;border-radius:10px;background:#f3f7f7;color:#526268;font-size:11px}@media(max-width:620px){.compatible-accessory-card{grid-template-columns:82px 1fr}.compatible-accessory-card img{width:82px;height:96px}}
.required-accessories-review{margin:18px 0;padding:20px;border:2px solid #b77b32;border-radius:18px;background:linear-gradient(180deg,#fffaf1,#fff);box-shadow:0 12px 30px rgba(110,72,26,.12)}
.required-accessories-review.is-complete{border-color:#668c7b;background:linear-gradient(180deg,#f4fbf7,#fff)}
.required-accessories-kicker{display:inline-block;padding:5px 9px;border-radius:999px;background:#b77b32;color:white;font-size:10px;font-weight:900;letter-spacing:.1em;text-transform:uppercase}
.required-accessories-head{display:flex;justify-content:space-between;gap:20px;align-items:flex-start;margin-top:10px}.required-accessories-head h3{margin:0 0 7px;font-size:20px}.required-accessories-head p{margin:0;max-width:780px;color:#59636a;line-height:1.55;font-size:12px}.required-accessories-count{min-width:110px;text-align:center;padding:12px;border-radius:14px;background:#222;color:#fff;font-size:25px;font-weight:900}.required-accessories-count small{display:block;font-size:9px;font-weight:700;color:#ddd;margin-top:3px}
.required-accessories-choice{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:17px}.accessory-choice-button{border:1px solid #b77b32;border-radius:14px;background:#fff7e8;padding:15px;text-align:left;cursor:pointer}.accessory-choice-button.secondary{border-color:#aab2b6;background:#f6f7f7}.accessory-choice-button strong,.accessory-choice-button span{display:block}.accessory-choice-button strong{font-size:14px}.accessory-choice-button span{font-size:10px;color:#626b70;margin-top:4px;line-height:1.4}.accessory-choice-button:hover{transform:translateY(-1px);box-shadow:0 8px 18px #0001}
.accessory-products-panel{margin-top:18px;padding-top:15px;border-top:1px solid #e4d6c5}.accessory-review-actions{margin-top:14px;text-align:right}.accessory-complete-button{border:0;border-radius:10px;background:#173b45;color:white;padding:12px 17px;font-weight:850;cursor:pointer}.accessory-review-status{margin-top:13px;padding:10px 12px;border-radius:10px;background:#fff0d5;color:#754710;font-size:11px;font-weight:750}.required-accessories-review.is-complete .accessory-review-status{background:#e7f4ed;color:#2f6652}.accessory-review-locked{opacity:.55;pointer-events:none;filter:grayscale(.25)}.accessory-review-lock-note{margin-bottom:14px;padding:12px;border:1px solid #d39b52;border-radius:10px;background:#fff3df;color:#714613;font-weight:800;font-size:11px}
@media(max-width:700px){.required-accessories-head{display:block}.required-accessories-count{margin-top:12px}.required-accessories-choice{grid-template-columns:1fr}}

/* RC4.9 Direct Order completion state */
.quick-previous-notice{display:flex;justify-content:space-between;align-items:center;gap:16px;margin:0 0 16px;padding:14px 16px;border:1px solid #b9d4c5;background:#eef8f1;border-radius:10px}.quick-previous-notice div:first-child{display:flex;flex-direction:column;gap:4px}.quick-previous-notice span{font-size:13px;color:#52645b}.quick-previous-actions{display:flex;gap:8px;align-items:center}.quick-previous-actions a{text-decoration:none}.quick-review-actions-top{display:flex;justify-content:flex-start;margin:0 0 14px}.quick-order-success{text-align:center;padding:34px 24px;margin-top:20px;border:1px solid #d9dfdc;background:#fff;border-radius:14px}.quick-success-icon{width:62px;height:62px;margin:0 auto 14px;border-radius:50%;display:grid;place-items:center;background:#16794b;color:#fff;font-size:36px;font-weight:800}.quick-order-success h3{font-size:26px;margin:0 0 10px}.quick-order-success>p{max-width:650px;margin:0 auto 16px;color:#52605a}.quick-success-reference{display:inline-flex;flex-direction:column;gap:4px;padding:13px 22px;margin:8px auto 16px;border:1px solid #c7cfcb;background:#f6f8f7}.quick-success-reference small{text-transform:uppercase;letter-spacing:.08em;color:#6d7772}.quick-success-reference strong{font-size:20px;letter-spacing:.04em}.quick-success-note{font-size:13px}.quick-success-actions{display:flex;justify-content:center;flex-wrap:wrap;gap:10px;margin-top:22px}.quick-success-actions a{text-decoration:none;display:inline-flex;align-items:center;justify-content:center}.quick-success-actions .quick-submit-button{color:#fff}@media(max-width:760px){.quick-previous-notice{align-items:flex-start;flex-direction:column}.quick-previous-actions{flex-wrap:wrap}.quick-success-actions{flex-direction:column}.quick-success-actions>*{width:100%;box-sizing:border-box}}

/* V061 — Direct Order customer-facing blue visual system. Business logic unchanged. */
.quick-order-panel{
  --rds-blue:#4f7896;
  --rds-blue-hover:#638aa7;
  --rds-blue-deep:#3f657f;
  --rds-blue-light:#edf5fa;
  --rds-blue-border:#c8dbe8;
  --rds-ink:#263746;
}
.quick-order-panel .quick-product{
  border-color:#d7e3eb;
  background:#fbfdfe;
  border-radius:10px;
  transition:border-color .16s ease,box-shadow .16s ease,transform .16s ease;
}
.quick-order-panel .quick-product:hover{
  border-color:var(--rds-blue);
  box-shadow:0 8px 22px rgba(63,101,127,.14);
  transform:translateY(-1px);
}
.quick-order-panel .quick-add-row button,
.quick-order-panel .quick-cart-review,
.quick-order-panel .quick-submit-button{
  border:1px solid var(--rds-blue-deep);
  border-radius:7px;
  background:var(--rds-blue);
  color:#fff;
  cursor:pointer;
  transition:background .16s ease,border-color .16s ease,box-shadow .16s ease;
}
.quick-order-panel .quick-add-row button:hover,
.quick-order-panel .quick-cart-review:hover,
.quick-order-panel .quick-submit-button:hover{
  border-color:var(--rds-blue-hover);
  background:var(--rds-blue-hover);
  box-shadow:0 4px 12px rgba(63,101,127,.18);
}
.quick-order-panel .shopping-mode-change{
  border:1px solid var(--rds-blue-border);
  border-radius:7px;
  background:var(--rds-blue-light);
  color:var(--rds-blue-deep);
  cursor:pointer;
}
.quick-order-panel .shopping-mode-change:hover{
  border-color:var(--rds-blue);
  background:#e2f0f8;
}
.quick-order-panel .quick-cart-head{
  background:linear-gradient(135deg,var(--rds-blue-deep),var(--rds-blue));
  border-radius:9px 9px 0 0;
  color:#fff;
}
.quick-order-panel .quick-cart-head span{color:#dbeaf3}
.quick-order-panel .quick-order-tools input,
.quick-order-panel .quick-order-tools select,
.quick-order-panel .quick-add-row input{
  border-radius:7px;
}
.quick-order-panel .quick-order-tools input:focus,
.quick-order-panel .quick-order-tools select:focus,
.quick-order-panel .quick-add-row input:focus{
  outline:2px solid rgba(79,120,150,.22);
  border-color:var(--rds-blue);
}


/* V063 — contextual New Project control; no global floating action. */
.new-project-context{margin-left:auto;flex:0 0 auto;border:1px solid #4f7896;border-radius:9px;background:#fff;color:#3f657f;padding:9px 13px;font-size:11px;font-weight:900;box-shadow:0 3px 10px rgba(37,63,82,.08);transition:background .16s ease,color .16s ease,border-color .16s ease}
.new-project-context:hover,.new-project-context:focus-visible{background:#eaf2f8;border-color:#385c7a;color:#294b64;outline:none}
.panel-title,.quick-order-head{align-items:flex-start}
.new-project-success{margin:0 0 12px;border-left:4px solid #2e6f45;background:#eef8f0;color:#255d39;padding:10px 12px;font-size:12px;font-weight:750}
.new-project-modal{position:fixed;inset:0;z-index:260;display:none;align-items:center;justify-content:center;padding:18px;background:rgba(15,25,33,.62);backdrop-filter:blur(3px)}
.new-project-modal.open{display:flex}
.new-project-dialog{width:min(520px,100%);border:1px solid #c8dbe8;border-radius:16px;background:#fff;box-shadow:0 28px 70px rgba(18,35,48,.3);padding:22px}
.new-project-dialog-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}
.new-project-dialog-head span{display:block;color:#4f7896;font-size:9px;font-weight:900;letter-spacing:.14em}
.new-project-dialog-head h2{margin:5px 0 0;font:27px/1.1 Georgia,serif;color:#263746}
.new-project-close{border:0;background:#edf5fa;color:#3f657f;width:34px;height:34px;border-radius:50%;font-size:22px;line-height:1}
.new-project-dialog>p{margin:17px 0 20px;color:#5d6b76;font-size:12px;line-height:1.65}
.new-project-actions{display:flex;justify-content:flex-end;gap:9px}
.new-project-cancel,.new-project-confirm{border-radius:9px;padding:10px 15px;font-size:11px;font-weight:850}
.new-project-cancel{border:1px solid #c8dbe8;background:#fff;color:#3f657f}
.new-project-confirm{border:1px solid #4f7896;background:#4f7896;color:#fff}
.new-project-confirm:hover{background:#638aa7}.new-project-confirm:disabled{opacity:.6;cursor:wait}
@media(max-width:700px){.new-project-context{width:100%;margin:8px 0 0}.new-project-actions{flex-direction:column-reverse}.new-project-actions button{width:100%}}
@media print{.new-project-context,.new-project-modal,.new-project-success{display:none!important}}

/* 079: product video thumbnail preview */
.quick-product-photo.has-product-video{position:relative;isolation:isolate;background:#fff}
.quick-product-photo.has-product-video .product-video-poster,.quick-product-photo.has-product-video .product-hover-video{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;background:#fff}
.quick-product-photo.has-product-video .product-hover-video{opacity:0;transition:opacity .18s ease}
.quick-product-photo.has-product-video.video-previewing .product-hover-video{opacity:1}
.quick-product-photo.has-product-video.video-previewing .product-video-poster{opacity:0}
.quick-product-photo .product-video-badge{position:absolute;right:8px;top:8px;z-index:3;width:28px;height:28px;border-radius:50%;display:grid;place-items:center;padding-left:2px;background:rgba(18,30,38,.82);color:#fff;font-size:12px;box-shadow:0 4px 12px rgba(0,0,0,.25);pointer-events:none}
.quick-product-photo.video-previewing .product-video-badge{opacity:.25}

/* 080: consistent photo-only action and transparent PNG backing */
.quick-media-actions{display:flex;justify-content:flex-end;margin:7px 0 8px}.quick-photo-button{border:1px solid #b8c9d3;border-radius:999px;background:#fff;color:#36566d;padding:7px 12px;font-size:11px;font-weight:800;cursor:pointer}.quick-photo-button:hover,.quick-photo-button:focus-visible{background:#edf5fa;border-color:#4f7896;outline:none}.quick-product-photo img,.quick-product-photo video{background:#fff}

/* V115 accessory quantity control: compact vertical stepper kept inside each existing card. */
.compatible-accessory-card .accessory-quantity-row{display:flex;align-items:center;justify-content:space-between;gap:6px;min-width:0;font-size:11px;font-weight:800}
.compatible-accessory-card .accessory-quantity-control{display:grid;grid-template-columns:42px 20px;align-items:stretch;gap:2px;flex:0 0 auto;width:64px;max-width:64px;min-width:64px}
.compatible-accessory-card .accessory-quantity-control input{box-sizing:border-box;width:42px;min-width:0;height:34px;padding:0 2px;text-align:center;border:1px solid #cbd2d6;border-radius:7px;background:#fff;font-size:12px}
.compatible-accessory-card .accessory-quantity-stepper{display:grid;grid-template-rows:1fr 1fr;gap:2px;width:20px;height:34px}
.compatible-accessory-card .accessory-quantity-stepper button{box-sizing:border-box;width:20px;min-width:20px;height:16px;min-height:16px;padding:0;border:1px solid #cbd2d6;border-radius:5px;background:#fff;cursor:pointer;font-size:12px;font-weight:800;line-height:14px;display:grid;place-items:center}
.compatible-accessory-card .accessory-quantity-stepper button:hover{background:#f5f6f6}

