/* Customer quote dialog: scoped separately from the installer application. */
html:root body .bws-ip .bws-ip-quote-dialog { display: none; width: min(1080px, calc(100% - 40px)); max-width: 1080px; max-height: calc(100dvh - 40px); margin: auto; padding: 32px; overflow-y: auto; overscroll-behavior: contain; border: 1px solid rgba(255,255,255,.24); border-radius: 16px; background: linear-gradient(145deg, #3e453e, #303731); color: var(--bws-ip-text, #e1e3df); box-shadow: 0 18px 60px rgba(0,0,0,.3); color-scheme: dark; }
html:root body .bws-ip .bws-ip-quote-dialog[open] { display: block; }
html:root body .bws-ip .bws-ip-quote-dialog::backdrop { background: rgba(0,0,0,.48); backdrop-filter: blur(4px); }
html:root body .bws-ip .bws-ip-quote-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 22px; padding-bottom: 12px; }
html:root body .bws-ip .bws-ip-quote-head .bws-ip-eyebrow { margin-bottom: 6px; font-size: 11px; }
html:root body .bws-ip.bws-ip .bws-ip-quote-head h2 { color: #fff; margin: 0; font-size: 30px; line-height: 1.2; letter-spacing: -.035em; }
html:root body .bws-ip.bws-ip .bws-ip-quote-head h2:focus { outline: none; }
html:root body .bws-ip .bws-ip-quote-close { display: inline-flex; align-items: center; gap: 10px; flex: 0 0 auto; min-height: 38px; padding: 6px 12px; border: 1px solid rgba(255,255,255,.38); border-radius: 6px; background: transparent; color: #fff; font-size: 13px; cursor: pointer; }
html:root body .bws-ip .bws-ip-quote-close span { font-size: 24px; line-height: 1; }
html:root body .bws-ip .bws-ip-quote-close:hover { border-color: #ffc400; color: #ffc400; }
html:root body .bws-ip .bws-ip-quote-intro { max-width: 780px; margin: 0 0 22px; color: #d4d8d1; font-size: 15px; line-height: 1.65; }
html:root body .bws-ip .bws-ip-quote-form { margin: 0; }
html:root body .bws-ip .bws-ip-quote-recipient { padding: 16px 18px; margin-bottom: 25px; border: 1px solid rgba(255,196,0,.26); border-radius: 9px; background: rgba(255,196,0,.045); }
html:root body .bws-ip .bws-ip-quote-recipient > label { color: #ffda59; }
html:root body .bws-ip .bws-ip-quote-recipient select { max-width: 100%; }
html:root body .bws-ip .bws-ip-quote-layout { display: grid; grid-template-columns: minmax(0,1.45fr) minmax(0,1fr); gap: 28px; align-items: start; }
html:root body .bws-ip .bws-ip-quote-main { min-width: 0; }
html:root body .bws-ip .bws-ip-quote-section { display: block; min-width: 0; margin: 0 0 26px; padding: 0; border: 0; }
html:root body .bws-ip .bws-ip-quote-section > legend { float: none; display: flex; align-items: center; gap: 10px; width: 100%; margin: 0 0 17px; padding: 0; color: #f7f7f5; font-size: 17px; line-height: 1.4; font-weight: 700; }
html:root body .bws-ip .bws-ip-quote-step { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 28px; width: 28px; height: 28px; border: 1px solid rgba(255,196,0,.5); border-radius: 50%; background: rgba(255,196,0,.08); color: #ffcf26; font-size: 13px; font-weight: 700; }
html:root body .bws-ip .bws-ip-quote-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 16px; }
html:root body .bws-ip .bws-ip-quote-wide { grid-column: 1/-1; }
html:root body .bws-ip .bws-ip-quote-form input:not([type="checkbox"]), html:root body .bws-ip .bws-ip-quote-form select, html:root body .bws-ip .bws-ip-quote-form textarea { width: 100%; min-width: 0; max-width: 100%; min-height: 45px; margin: 0; padding: 11px 12px; border: 1px solid rgba(255,255,255,.25); border-radius: 6px; background-color: rgba(12,17,13,.22); color: #f1f3ed; font-size: 14px; line-height: 1.5; box-shadow: none; }
html:root body .bws-ip .bws-ip-quote-form select { padding-right: 30px; text-overflow: ellipsis; }
html:root body .bws-ip .bws-ip-quote-form textarea { resize: vertical; min-height: 120px; }
html:root body .bws-ip .bws-ip-quote-form :is(input, textarea)::placeholder { color: #bac1b7; opacity: 1; }
html:root body .bws-ip .bws-ip-quote-form :is(input,select,textarea):focus { border-color: #ffcf26; outline-offset: 2px; }
html:root body .bws-ip .bws-ip-quote-form select option { background: #343c35; color: #f1f3ed; }
html:root body .bws-ip .bws-ip-quote-optional { color: #c0c7bc; font-size: 12px; font-weight: 400; }
html:root body .bws-ip .bws-ip-quote-product-section { position: sticky; top: 0; padding: 18px; border: 1px solid rgba(255,255,255,.16); border-radius: 10px; background: rgba(15,20,16,.12); }
html:root body .bws-ip .bws-ip-quote-product-section > legend { width: auto; margin: 0 0 9px; padding: 0 6px; font-size: 17px; }
html:root body .bws-ip .bws-ip-quote-product-preview { margin-top: 17px; overflow-wrap: anywhere; }
html:root body .bws-ip .bws-ip-quote-product-empty { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; padding: 22px 0; }
html:root body .bws-ip .bws-ip-quote-product-empty > span { font-size: 32px; line-height: 1; color: #ffcf26; }
html:root body .bws-ip .bws-ip-quote-product-empty > strong { color: #f0f3ec; font-size: 16px; }
html:root body .bws-ip .bws-ip-quote-product-empty p { margin: 0; color: #c6cdc2; font-size: 14px; line-height: 1.65; }
html:root body .bws-ip .bws-ip-quote-product-image-link { display: block; width: 100%; margin: 0 0 16px; padding: 12px; border-radius: 7px; background: #fff; }
html:root body .bws-ip .bws-ip-quote-product-image { display: block; width: 100%; height: 190px; max-width: 100%; margin: 0; object-fit: contain; background: #fff; }
html:root body .bws-ip .bws-ip-quote-product-label { margin: 0 0 6px; color: #d2d8ce; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
html:root body .bws-ip.bws-ip .bws-ip-quote-product-preview h3 { margin: 0 0 8px; color: #fff; font-size: 17px; line-height: 1.45; letter-spacing: -.01em; overflow-wrap: anywhere; }
html:root body .bws-ip .bws-ip-quote-product-link { display: inline-block; margin-top: 10px; font-size: 13px; font-weight: 700; }
html:root body .bws-ip .bws-ip-quote-product-note { margin-top: 18px; padding-top: 15px; border-top: 1px solid rgba(255,255,255,.14); }
html:root body .bws-ip .bws-ip-quote-footer { padding-top: 23px; border-top: 1px solid rgba(255,255,255,.17); }
html:root body .bws-ip .bws-ip-quote-consent { align-items: flex-start; font-size: 13px; line-height: 1.65; }
html:root body .bws-ip .bws-ip-quote-consent input { flex: 0 0 18px; width: 18px; height: 18px; margin-top: 3px; }
html:root body .bws-ip .bws-ip-quote-send { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 20px; }
html:root body .bws-ip .bws-ip-quote-send .bws-ip-button { flex: 0 0 auto; }
html:root body .bws-ip .bws-ip-quote-status { min-height: 22px; margin-top: 15px; color: #cbd3c5; font-size: 13px; line-height: 1.6; }
html:root body .bws-ip .bws-ip-quote-status.is-error { color: #ffd0c7; }
html:root body .bws-ip .bws-ip-quote-status button { margin-left: 10px; padding: 3px 0; border: 0; background: transparent; color: #ffdc60; font-size: inherit; font-weight: 700; text-decoration: underline; cursor: pointer; }
html:root body .bws-ip .bws-ip-quote-success { padding: 18px 0 10px; outline: none; }
html:root body .bws-ip .bws-ip-quote-success-icon { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; margin-bottom: 16px; border: 1px solid rgba(255,196,0,.45); border-radius: 50%; background: rgba(255,196,0,.08); color: #ffcf26; font-size: 24px; }
html:root body .bws-ip.bws-ip .bws-ip-quote-success h3 { margin: 0 0 12px; color: #fff; font-size: 24px; }
html:root body .bws-ip .bws-ip-quote-success p { margin: 0 0 12px; }
html:root body .bws-ip .bws-ip-quote-success .bws-ip-button { margin-top: 10px; }
@media (max-width: 780px) {
  html:root body .bws-ip .bws-ip-quote-dialog { width: calc(100% - 24px); max-height: calc(100dvh - 24px); padding: 25px; }
  html:root body .bws-ip .bws-ip-quote-layout { grid-template-columns: minmax(0,1fr); gap: 0; }
  html:root body .bws-ip .bws-ip-quote-product-section { position: static; margin-top: 0; }
  html:root body .bws-ip .bws-ip-quote-product-image { height: 210px; }
}
@media (max-width: 480px) {
  html:root body .bws-ip .bws-ip-quote-dialog { padding: 22px 17px; border-radius: 12px; }
  html:root body .bws-ip .bws-ip-quote-head { gap: 12px; }
  html:root body .bws-ip.bws-ip .bws-ip-quote-head h2 { font-size: 26px; }
  html:root body .bws-ip .bws-ip-quote-head .bws-ip-eyebrow { font-size: 10px; letter-spacing: .05em; }
  html:root body .bws-ip .bws-ip-quote-close { min-height: 36px; padding: 5px 9px; font-size: 12px; }
  html:root body .bws-ip .bws-ip-quote-close span { display: none; }
  html:root body .bws-ip .bws-ip-quote-grid { grid-template-columns: minmax(0,1fr); gap: 14px; }
  html:root body .bws-ip .bws-ip-quote-recipient { padding: 14px; }
  html:root body .bws-ip .bws-ip-quote-product-section { padding: 14px; }
  html:root body .bws-ip .bws-ip-quote-section > legend { font-size: 16px; }
  html:root body .bws-ip .bws-ip-quote-send { align-items: stretch; flex-direction: column; gap: 15px; }
  html:root body .bws-ip .bws-ip-quote-send .bws-ip-button { width: 100%; }
  html:root body .bws-ip .bws-ip-quote-form input:not([type="checkbox"]), html:root body .bws-ip .bws-ip-quote-form select, html:root body .bws-ip .bws-ip-quote-form textarea { font-size: 16px; }
}
