.lsai-root{position:fixed;right:22px;bottom:22px;z-index:999999;font-family:Arial,Helvetica,sans-serif;color:#1f2937}.lsai-launcher{display:flex;align-items:center;gap:9px;border:0;border-radius:999px;background:#0f4aa3;color:#fff;padding:12px 17px;font-weight:700;font-size:14px;box-shadow:0 8px 28px rgba(0,0,0,.22);cursor:pointer}.lsai-launcher:hover{filter:brightness(.96)}.lsai-launcher-icon{font-size:18px;line-height:1}.lsai-panel{position:absolute;right:0;bottom:58px;width:min(400px,calc(100vw - 28px));height:min(620px,calc(100vh - 110px));background:#fff;border:1px solid #d7dde7;border-radius:16px;box-shadow:0 18px 50px rgba(0,0,0,.25);overflow:hidden;display:flex;flex-direction:column}.lsai-panel[hidden]{display:none}.lsai-header{background:#0f4aa3;color:#fff;padding:14px 14px 13px 16px;display:flex;justify-content:space-between;align-items:center}.lsai-header strong{display:block;font-size:16px}.lsai-header span{display:block;font-size:11px;opacity:.9;margin-top:2px}.lsai-header-actions{display:flex;gap:4px}.lsai-icon-button{border:0;background:transparent;color:#fff;font-size:22px;line-height:1;width:32px;height:32px;border-radius:8px;cursor:pointer}.lsai-icon-button:hover{background:rgba(255,255,255,.12)}.lsai-preview{background:#fff3cd;color:#664d03;padding:7px 12px;font-size:11px;border-bottom:1px solid #ffe69c}.lsai-messages{flex:1;overflow-y:auto;padding:15px;background:#f7f9fc}.lsai-message{max-width:88%;padding:10px 12px;border-radius:13px;margin:0 0 10px;font-size:14px;line-height:1.42;white-space:pre-wrap}.lsai-advisor-message{background:#fff;border:1px solid #e1e6ef;border-top-left-radius:5px}.lsai-customer-message{background:#e7f0ff;margin-left:auto;border-bottom-right-radius:5px}.lsai-starters{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:10px 0 2px}.lsai-starters button{border:1px solid #cfd8e8;background:#fff;color:#173c73;border-radius:10px;padding:9px 10px;text-align:left;font-size:12px;cursor:pointer}.lsai-starters button:hover{border-color:#0f4aa3;background:#f2f6fc}.lsai-products{display:grid;gap:8px;margin:2px 0 12px;max-width:92%}.lsai-product-card{border:1px solid #d8e0ec;background:#fff;border-radius:11px;padding:10px 11px}.lsai-product-name{font-weight:700;font-size:13px;margin-bottom:7px}.lsai-product-card a,.lsai-quote-link{display:inline-block;text-decoration:none;background:#0f4aa3;color:#fff!important;border-radius:7px;padding:7px 10px;font-weight:700;font-size:12px}.lsai-quote-wrap{margin:2px 0 12px}.lsai-form{border-top:1px solid #e0e5ed;background:#fff;padding:10px;display:flex;gap:8px;align-items:flex-end}.lsai-form textarea{flex:1;resize:none;border:1px solid #cbd5e1;border-radius:10px;padding:9px 10px;font:inherit;font-size:14px;line-height:1.3;min-height:42px;max-height:110px}.lsai-form textarea:focus{outline:2px solid rgba(15,74,163,.2);border-color:#0f4aa3}.lsai-form button{width:42px;height:42px;border:0;border-radius:50%;background:#0f4aa3;color:#fff;font-size:18px;cursor:pointer}.lsai-form button:disabled{opacity:.5;cursor:default}.lsai-footnote{font-size:10px;color:#6b7280;text-align:center;padding:0 8px 8px;background:#fff}.lsai-typing{font-style:italic;color:#667085}.lsai-error{background:#fff1f1;border-color:#f0c5c5;color:#842029}.screen-reader-text{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
@media(max-width:600px){.lsai-root{right:12px;bottom:12px}.lsai-launcher{padding:11px 14px}.lsai-panel{position:fixed;inset:8px;width:auto;height:auto;border-radius:14px}.lsai-starters{grid-template-columns:1fr}.lsai-message{max-width:92%}}

/* v0.6.1: preserve readable button text even when the site theme overrides button backgrounds. */
.lsai-root .lsai-launcher,.lsai-root .lsai-launcher *,.lsai-root .lsai-icon-button,.lsai-root .lsai-form button{color:#fff!important;-webkit-text-fill-color:#fff!important}.lsai-root .lsai-launcher:visited,.lsai-root .lsai-launcher:hover,.lsai-root .lsai-launcher:focus{color:#fff!important}.lsai-root .lsai-product-card a,.lsai-root .lsai-quote-link{color:#fff!important;-webkit-text-fill-color:#fff!important}

/* v0.7.0: conversational CUSTOMER_RFQ quote builder */
.lsai-product-actions{display:flex;gap:7px;flex-wrap:wrap;align-items:center}.lsai-secondary-button,.lsai-quote-start,.lsai-quote-builder button,.lsai-project-builder button{border:1px solid #0f4aa3;background:#fff;color:#0f4aa3!important;-webkit-text-fill-color:#0f4aa3!important;border-radius:7px;padding:7px 10px;font-weight:700;font-size:12px;cursor:pointer}.lsai-secondary-button:hover,.lsai-quote-start:hover,.lsai-quote-builder button:hover,.lsai-project-builder button:hover{background:#f2f6fc}.lsai-quote-start{background:#0f4aa3;color:#fff!important;-webkit-text-fill-color:#fff!important}.lsai-quote-builder,.lsai-project-builder{max-width:96%;margin:2px 0 12px;background:#fff;border:1px solid #d8e0ec;border-radius:11px;padding:10px}.lsai-quote-summary{white-space:pre-wrap;font-size:12px;line-height:1.45;background:#f7f9fc;border:1px solid #e1e6ef;border-radius:8px;padding:9px;margin-bottom:9px}.lsai-quote-choices{display:flex;gap:7px;flex-wrap:wrap;margin:2px 0 8px}.lsai-quote-choices button{font-weight:600}.lsai-quote-upload{display:grid;grid-template-columns:1fr auto;gap:7px;align-items:center;margin:6px 0 9px}.lsai-quote-upload input{min-width:0;font-size:11px}.lsai-quote-actions{display:flex;gap:7px;flex-wrap:wrap;margin-top:7px}.lsai-quote-actions .lsai-quote-submit{background:#0f4aa3;color:#fff!important;-webkit-text-fill-color:#fff!important}.lsai-quote-actions .lsai-quote-cancel{border-color:#a8b0bd;color:#5c6470!important;-webkit-text-fill-color:#5c6470!important}.lsai-quote-control button:disabled,.lsai-quote-control input:disabled{opacity:.5;cursor:default}
@media(max-width:600px){.lsai-quote-upload{grid-template-columns:1fr}.lsai-product-actions{align-items:stretch}.lsai-product-actions a,.lsai-product-actions button{flex:1 1 auto;text-align:center}}


/* v0.7.1: keep Advisor action buttons readable against site-theme button overrides. */
.lsai-root .lsai-product-actions button,.lsai-root .lsai-quote-start,.lsai-root .lsai-quote-builder button,.lsai-root .lsai-project-builder button{background:#0f4aa3!important;border-color:#0f4aa3!important;color:#fff!important;-webkit-text-fill-color:#fff!important}
.lsai-root .lsai-product-actions button:hover,.lsai-root .lsai-quote-start:hover,.lsai-root .lsai-quote-builder button:hover,.lsai-root .lsai-project-builder button:hover{background:#0c3d87!important;color:#fff!important;-webkit-text-fill-color:#fff!important}
.lsai-root .lsai-quote-actions .lsai-quote-cancel{background:#6b7280!important;border-color:#6b7280!important;color:#fff!important;-webkit-text-fill-color:#fff!important}
/* v0.7.13: dedicated custom-size entry inside the quote card */
.lsai-quote-dimensions{display:grid;grid-template-columns:1fr 1fr auto;gap:7px;align-items:end;margin:6px 0 9px}.lsai-quote-dimensions label{display:grid;gap:4px;font-size:11px;font-weight:700;color:#4b5563}.lsai-quote-dimensions input{width:100%;box-sizing:border-box;border:1px solid #cbd5e1;border-radius:7px;padding:8px 7px;font:inherit;font-size:13px;background:#fff;color:#111827}.lsai-quote-dimensions input:focus{outline:2px solid rgba(15,74,163,.18);border-color:#0f4aa3}@media(max-width:600px){.lsai-quote-dimensions{grid-template-columns:1fr 1fr}.lsai-quote-dimensions button{grid-column:1/-1}}

.lsai-project-control button:disabled,.lsai-project-control input:disabled{opacity:.5;cursor:default}


/* v0.7.25: compact persistent project basket UI. */
.lsai-project-item-list{display:grid;gap:7px;margin:3px 0 9px}.lsai-project-item-row{display:flex;align-items:center;justify-content:space-between;gap:8px;border:1px solid #d8e0ec;border-radius:9px;padding:8px;background:#f8fafc}.lsai-project-item-row.is-complete{background:#edf8f0;border-color:#b8ddc0}.lsai-project-item-row.is-pending{background:#fff8e6;border-color:#ead7a0}.lsai-project-item-status{display:flex;align-items:center;gap:7px;min-width:0;flex:1}.lsai-project-status-dot{width:9px;height:9px;border-radius:50%;background:#c28b16;flex:0 0 auto}.lsai-project-item-row.is-complete .lsai-project-status-dot{background:#238636}.lsai-project-item-text{display:grid;min-width:0;line-height:1.18}.lsai-project-item-text strong{font-size:12px;overflow-wrap:anywhere}.lsai-project-item-text span{font-size:10px;color:#667085;margin-top:2px}.lsai-project-item-actions{display:flex;gap:5px;flex:0 0 auto}.lsai-root .lsai-project-item-actions button{padding:6px 8px!important;min-width:56px}.lsai-root .lsai-project-item-actions .lsai-project-remove{background:#6b7280!important;border-color:#6b7280!important}.lsai-project-global-actions{padding-top:2px;border-top:1px solid #edf0f5}.lsai-project-global-actions button{flex:1 1 135px;text-align:center}@media(max-width:430px){.lsai-project-item-row{align-items:flex-start}.lsai-project-item-actions{flex-direction:column}.lsai-root .lsai-project-item-actions button{min-width:64px}}

.lsai-project-choice-context{display:flex;gap:5px;align-items:baseline;flex-wrap:wrap;margin:0 0 8px;padding:8px 9px;background:#eef5ff;border:1px solid #c8d9f3;border-radius:8px;font-size:12px;line-height:1.35;color:#24364d}.lsai-project-choice-context strong{font-size:12px;color:#0f4aa3}

/* v0.8.63: public-launch surface hardening.
 * Keep starter buttons readable even when the active theme imposes its own red
 * button styling, and use a consistent high-contrast treatment. */
.lsai-root .lsai-starters button{
  background:#b91c2b!important;
  border-color:#b91c2b!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
}
.lsai-root .lsai-starters button:hover,.lsai-root .lsai-starters button:focus{
  background:#991827!important;
  border-color:#991827!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
}
