/* Scoped hardware dossier; the shared product editor remains unchanged. */
dialog.hardware-commercial-dialog{width:min(1480px,calc(100vw - 32px));max-width:none;padding:0;border:0;background:transparent;color:#e3edf8;max-height:94dvh;overflow:visible}
dialog.hardware-commercial-dialog::backdrop{background:rgba(2,8,16,.76);backdrop-filter:blur(6px)}
#productDialog.hardware-commercial-dialog .hc-content,.hardware-commercial-dialog .hc-content{box-sizing:border-box;width:100%;max-width:none;max-height:94dvh;overflow:auto;padding:28px 30px 0;border:1px solid #2b4d73;border-radius:24px;background:radial-gradient(ellipse at 90% 0%,rgba(48,112,220,.11),transparent 33%),linear-gradient(145deg,#0d1d30,#09121f 75%);color:#e3edf8;box-shadow:0 30px 100px #0008;scrollbar-gutter:stable}
.hc-content *{box-sizing:border-box}
.hc-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin:0 0 26px;padding:0 0 20px;border-bottom:1px solid #263c56}
.hc-head-identity{min-width:0}.hc-eyebrow{display:block;color:#8bb1d9;font-size:10px;font-weight:600;letter-spacing:.16em;line-height:1.5;margin-bottom:9px}.hc-title{font-size:clamp(21px,2.1vw,29px);line-height:1.22;margin:0 0 7px;font-weight:650;overflow-wrap:anywhere}.hc-code{margin:0;font-size:12px}
.hc-muted{color:#9eb3cb;font-size:12px;line-height:1.55;margin:6px 0 0;overflow-wrap:anywhere}
.hc-button{display:inline-flex;align-items:center;justify-content:center;flex:none;gap:7px;min-height:40px;padding:9px 15px;border:1px solid #3b608b;border-radius:10px;background:#142c46;color:#e6eff9;font:inherit;font-size:12px;font-weight:550;line-height:1.35;cursor:pointer;text-align:center;transition:background .15s,border-color .15s;white-space:normal}
.hc-button:hover{background:#1b3a5c;border-color:#6997cb}.hc-button:focus-visible,.hc-control:focus-visible,.hc-extra summary:focus-visible,.hc-evidence a:focus-visible{outline:2px solid #82b7fb;outline-offset:3px}.hc-button:disabled{opacity:.46;cursor:default}
.hc-button-primary{background:linear-gradient(110deg,#2664e4,#2051b8);border-color:#3d7dec;color:white;box-shadow:0 5px 20px #2261db25}.hc-button-primary:hover{background:#2c6ded}.hc-button-ghost{background:#0b1b2c}.hc-button-subtle{background:transparent;border-color:#2b455f;color:#aebed0;font-weight:400}.hc-remove{min-height:33px;padding:6px 10px;font-size:11px}.hc-remove:hover{background:#4d2532;border-color:#945365;color:#ffd7df}
#productDialog .hc-close,.hc-close{width:36px;height:36px;min-height:36px;padding:0;font-size:24px;line-height:1;border-radius:10px}
.hc-identity{display:grid;grid-template-columns:minmax(180px,240px) minmax(0,1fr);gap:30px;align-items:start;margin-bottom:28px}
.hc-visual{min-width:0}.hc-photo-frame{display:flex;align-items:center;justify-content:center;width:100%;aspect-ratio:1;overflow:hidden;border-radius:18px;border:1px solid #2c4968;background:#e9edf1}.hc-photo{width:100%;height:100%;object-fit:contain}.hc-photo-placeholder{display:flex;align-items:center;justify-content:center;width:100%;height:100%;padding:24px;color:#8299b3;background:linear-gradient(135deg,#142a40,#0e1d2f);font-size:13px;text-align:center}
.hc-image-controls{margin-top:12px;min-width:0}.hc-image-controls.product-images-controls{padding:10px;gap:7px;align-items:flex-start;border-color:#294867;background:#0a192a;border-radius:11px}.hc-image-controls.product-images-controls strong{width:100%;font-size:11px}.hc-image-controls.product-images-controls button{max-width:100%;white-space:normal;min-height:34px;font-size:11px;padding:6px 9px}.hc-image-notice{margin:8px 0 0;color:#e2bd80;font-size:11px;line-height:1.5}
.hc-identity-details{min-width:0;display:flex;flex-direction:column;gap:17px}.hc-field{display:flex;flex-direction:column;gap:7px;min-width:0;margin:0}.hc-field-label{font-size:11px;line-height:1.4;color:#b4c7dd;letter-spacing:.01em}.hc-required{color:#8bbaff}.hc-field-hint{font-size:10px;color:#819bb7;line-height:1.5}
#productDialog .hc-control,.hc-control{display:block;width:100%;min-width:0;min-height:42px;border:1px solid #294c71;border-radius:9px;padding:10px 12px;background:#071522;color:#e3edf8;font:inherit;font-size:12px;line-height:1.45;box-shadow:inset 0 1px 2px #0001;margin:0}
#productDialog textarea.hc-control,textarea.hc-control{resize:vertical;min-height:63px}.hc-control::placeholder{color:#6f89a4;opacity:1}.hc-control:disabled{opacity:1;color:#c6d4e5;background:#0b1b2a;border-color:#223b55;cursor:default}select.hc-control{padding-right:26px;overflow:hidden;text-overflow:ellipsis}.hc-control option{background:#0b1b2b;color:#dfeaf7}.hc-control option:disabled{color:#8a9aab}
.hc-identity-details>[class=hc-field] textarea.hc-control{font-size:18px;line-height:1.35;font-weight:550;min-height:78px}
.hc-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px 20px}.hc-facts>div{display:flex;flex-direction:column;gap:5px;min-width:0}.hc-facts span{font-size:10px;color:#87a1bd}.hc-facts strong{font-size:12px;font-weight:500;line-height:1.5;overflow-wrap:anywhere}
.hc-customer-name{margin:0;font-size:12px;line-height:1.6;color:#a5bad0}.hc-customer-name strong{color:#d8e4f3;font-weight:500;overflow-wrap:anywhere}.hc-identity-note{padding:15px 17px;border:1px solid #254461;border-radius:12px;background:#10263c88}.hc-identity-note strong{font-size:12px;font-weight:550;color:#c3d9f0}.hc-identity-note p{font-size:11px;line-height:1.6;color:#92afca;margin:5px 0 0}
.hc-section{padding:25px 0;border-top:1px solid #263c56}.hc-section-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:17px}.hc-section-head>div{min-width:0}.hc-section h3{display:flex;align-items:center;gap:9px;font-size:17px;line-height:1.35;margin:0;color:#e0ecfa;font-weight:600}.hc-count{display:inline-flex;align-items:center;justify-content:center;min-width:26px;height:25px;padding:0 7px;background:#183651;border:1px solid #2b4d70;border-radius:8px;font-size:11px;color:#a8cff5;font-weight:600}
.hc-row-list{display:flex;flex-direction:column;gap:13px}.hc-row{padding:18px 20px;background:linear-gradient(120deg,#11243a,#0c1a2b);border:1px solid #2a486a;border-radius:15px;min-width:0}.hc-row-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:17px}.hc-row-title{display:flex;align-items:center;gap:10px;min-width:0}.hc-row-title strong{font-size:12px;font-weight:550;overflow-wrap:anywhere}.hc-row-number{display:flex;align-items:center;justify-content:center;flex:none;width:25px;height:25px;color:#85b7ed;border-radius:7px;background:#193855;border:1px solid #2b5278;font-size:10px}
.hc-supplier-setup{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:15px;padding:13px 16px;border:1px solid #29435f;border-radius:11px;background:#0c1c2e}.hc-supplier-setup>div:first-child{min-width:0}.hc-supplier-setup strong{font-size:11px;font-weight:500;color:#b8cde3}.hc-supplier-setup p{margin:5px 0 0;font-size:10px;line-height:1.5;color:#839fba}.hc-supplier-actions{display:flex;gap:7px;flex:none}.hc-supplier-actions .hc-button{font-size:10px;min-height:34px;padding:7px 10px;text-decoration:none}
.hc-offer-grid{display:grid;grid-template-columns:minmax(170px,1fr) minmax(200px,1.5fr) minmax(150px,.8fr);gap:14px;margin-bottom:15px}.hc-price-grid{display:grid;grid-template-columns:minmax(160px,1.3fr) minmax(90px,.65fr) minmax(90px,.7fr) minmax(150px,1fr);gap:14px;margin-bottom:15px}.hc-alternative-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;margin-bottom:15px}.hc-alternative-grid .hc-field-wide{grid-column:1/-1}.hc-candidate-search{margin-bottom:0!important}.hc-empty{padding:22px;border:1px dashed #2d4966;border-radius:13px;background:#0a192966}.hc-empty strong{font-size:12px;line-height:1.5;font-weight:500;color:#bdd0e6}.hc-empty p{font-size:11px;line-height:1.6;color:#829db9;margin:5px 0 0}
.hc-reference-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.hc-reference{padding:15px 17px;border:1px solid #274562;background:#0a1c2b;border-radius:12px;min-width:0}.hc-reference-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;flex-wrap:wrap}.hc-reference-head strong{font-size:12px;font-weight:500;overflow-wrap:anywhere}.hc-reference-head b{font-size:15px;color:#b4dfd0;font-weight:600}.hc-evidence{display:flex;flex-direction:column;gap:5px;margin-top:12px;font-size:11px;line-height:1.5;overflow-wrap:anywhere}.hc-evidence a{color:#92bff4;text-underline-offset:3px}.hc-evidence a:hover{color:#c6e0ff}
.hc-extra{margin:0 0 24px;padding:0 0 20px;border-top:1px solid #263c56;border-bottom:1px solid #263c56}.hc-extra summary{font-size:12px;color:#98b3ce;cursor:pointer;padding:17px 0;line-height:1.5}.hc-extra[open] summary{color:#c7ddf2}.hc-extra-facts{margin-bottom:18px}
.hc-footer{position:sticky;bottom:0;z-index:3;display:flex;align-items:center;justify-content:space-between;gap:18px;margin:0 -30px;padding:16px 30px 19px;border-top:1px solid #2a4662;background:#0b1b2ef5;backdrop-filter:blur(12px);box-shadow:0 -10px 30px #07111b33;border-radius:0 0 24px 24px}.hc-footer-status{flex:1;min-width:0}.hc-change-label{font-size:10px;color:#8ea8c2;line-height:1.4}.hc-status{font-size:12px;line-height:1.5;color:#a6c0da;overflow-wrap:anywhere;margin:5px 0 0}.hc-status:empty{display:none}.hc-status.is-error{color:#ffadb5}.hc-status.is-warning{color:#e9c489}.hc-status.is-success{color:#9cd6b7}.hc-actions{display:flex;align-items:center;gap:9px;flex:none}.hc-readonly{display:block;font-size:11px;color:#90b8e4;margin-bottom:4px}.hc-loading{min-height:230px;padding-bottom:30px!important}.hc-loading>.hc-status{margin:10px 0 20px}
@media(min-width:1500px){.hc-reference-list{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:1050px){.hc-identity{grid-template-columns:190px minmax(0,1fr);gap:23px}.hc-reference-list{grid-template-columns:repeat(2,minmax(0,1fr))}.hc-offer-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hc-offer-grid .hc-field-wide{grid-column:1/-1;grid-row:2}.hc-price-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){dialog.hardware-commercial-dialog{width:calc(100vw - 12px);max-height:97dvh}#productDialog.hardware-commercial-dialog .hc-content,.hardware-commercial-dialog .hc-content{padding:18px 14px 0;max-height:97dvh;border-radius:17px;scrollbar-gutter:auto}.hc-head{margin-bottom:18px;padding-bottom:15px;gap:12px}.hc-title{font-size:21px}.hc-eyebrow{font-size:9px}.hc-identity{display:flex;flex-direction:column;gap:20px}.hc-visual{display:grid;grid-template-columns:112px minmax(0,1fr);gap:12px;width:100%;align-items:center}.hc-photo-frame{border-radius:12px}.hc-image-controls{margin:0}.hc-image-notice{grid-column:1/-1;margin:0}.hc-identity-details{width:100%;gap:15px}.hc-identity-details>[class=hc-field] textarea.hc-control{font-size:16px}.hc-facts{gap:12px}.hc-identity-note{padding:12px}.hc-section{padding:20px 0}.hc-section-head{flex-direction:column;align-items:stretch;gap:13px;margin-bottom:13px}.hc-section-head .hc-button{align-self:flex-start}.hc-section h3{font-size:16px}.hc-row{padding:14px 12px}.hc-row-head{align-items:flex-start;margin-bottom:14px}.hc-row-title{gap:7px}.hc-row-title strong{font-size:11px}.hc-remove{font-size:10px;min-height:30px;padding:5px 7px}.hc-offer-grid,.hc-alternative-grid{grid-template-columns:1fr;gap:13px}.hc-offer-grid .hc-field-wide{grid-column:auto;grid-row:auto}.hc-price-grid{gap:13px 10px}.hc-field-label{font-size:10px}.hc-control{min-height:42px;font-size:12px}.hc-reference-list{grid-template-columns:1fr}.hc-reference-head b{font-size:14px}.hc-extra-facts{grid-template-columns:repeat(2,minmax(0,1fr))}.hc-footer{margin:0 -14px;padding:12px 14px 14px;align-items:stretch;flex-direction:column;gap:11px;border-radius:0 0 17px 17px}.hc-actions{justify-content:flex-end;gap:8px}.hc-actions .hc-button-primary{flex:1}.hc-footer-status:has(.hc-status:empty){min-height:14px}.hc-empty{padding:17px}}
@media(prefers-reduced-motion:reduce){.hc-button{transition:none}}
@media(max-width:800px){.hc-supplier-setup{align-items:flex-start;flex-direction:column;gap:12px}.hc-supplier-actions{flex-wrap:wrap}.hc-supplier-actions .hc-button{font-size:10px}}
