.bs-quote-form,.bs-request-section,.bs-quote-item,.bs-quote-page__head{border:1px solid #e5e7eb;border-radius:18px;background:#fff;box-shadow:0 10px 24px rgba(17,24,39,.05)}
.bs-quote-form{padding:18px;margin:16px 0}
.bs-quote-form__compact-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}
.bs-quote-form__compact-head label{font-weight:700;color:#111827}
.bs-mode-switch{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 12px 0}
.bs-mode-toggle{border:1px solid #111827;background:#fff;border-radius:999px;padding:10px 14px;font-weight:700;line-height:1;cursor:pointer}
.bs-mode-toggle.is-active{background:#111827;color:#fff}
.bs-panel{display:flex;flex-direction:column;gap:6px;margin-bottom:12px}
.bs-panel input,.bs-request-form input,.bs-request-form textarea{border:1px solid #d1d5db;border-radius:12px;padding:12px 14px;width:100%}
.bs-actions{display:flex;gap:10px;flex-wrap:wrap}
.bs-pallet-note,.bs-field-help,.bs-response-time-note{font-size:12px;color:#6b7280}
.bs-inline-message,.bs-quote-feedback{margin-top:10px;color:#166534;font-weight:600}
.bs-inline-message.is-error,.bs-quote-feedback.is-error{color:#b91c1c}
.bs-quote-page{display:grid;gap:16px}
.bs-quote-page__head{padding:18px}
.bs-quote-page__head h2{margin:0}
.bs-quote-page__intro{margin:10px 0 6px}
.bs-quote-items{display:grid;gap:12px}
.bs-quote-item{padding:16px}
.bs-quote-item__view{display:flex;justify-content:space-between;gap:14px;align-items:flex-start}
.bs-quote-item__product{display:flex;gap:14px;align-items:center;min-width:0}
.bs-quote-item__thumb img,.bs-product-thumb{width:84px;height:84px;object-fit:cover;border-radius:14px;display:block}
.bs-quote-item__title{font-weight:700;color:#111827;text-decoration:none}
.bs-quote-item__meta{margin-top:8px}
.bs-quote-breakdown{display:grid;gap:8px}
.bs-quote-breakdown__row{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.bs-quote-breakdown__label{font-size:12px;color:#6b7280;font-weight:700;min-width:112px}
.bs-quote-chip{display:inline-flex;padding:8px 12px;border-radius:999px;background:#eef2ff;color:#1d4ed8;font-size:12px;font-weight:700}
.bs-icon-btn{display:inline-flex;align-items:center;justify-content:center;border:0;background:#f3f4f6;border-radius:999px;width:40px;height:40px;font-size:18px;line-height:1;text-align:center;padding:0;cursor:pointer}
.bs-item-remove{font-size:22px;font-weight:700}
.bs-quote-item__actions,.bs-quote-item__edit-actions{display:flex;gap:8px;flex-wrap:wrap;align-items:center}
.bs-quote-item__actions .bs-item-remove{align-self:center}
.bs-quote-item__edit{margin-top:14px;padding-top:14px;border-top:1px solid #e5e7eb}
.bs-edit-panels{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px}
.bs-request-section{padding:18px}
.bs-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.bs-form-grid-full{grid-column:1/-1}
.bs-empty-quote{padding:24px;border:1px dashed #d1d5db;border-radius:16px;background:#fff;text-align:center}
.bs-modal{position:fixed;inset:0;z-index:99999;pointer-events:none;opacity:0;transition:opacity .22s ease}
.bs-modal[hidden]{display:none}
.bs-modal.is-visible{opacity:1;pointer-events:auto}
.bs-modal__backdrop{position:absolute;inset:0;background:rgba(17,24,39,.22)}
.bs-modal__dialog{position:relative;z-index:2;max-width:360px;margin:24px auto 0;background:#fff;border-radius:18px;padding:16px 16px 14px;border:1px solid #e5e7eb;box-shadow:0 20px 40px rgba(17,24,39,.18);transform:translateY(-8px);transition:transform .22s ease}
.bs-modal.is-visible .bs-modal__dialog{transform:translateY(0)}
.bs-modal__close{position:absolute;top:8px;right:8px;width:32px;height:32px;border:0;border-radius:999px;background:#f3f4f6;font-size:20px;line-height:1;cursor:pointer}
.bs-modal__title{margin:0 0 6px 0;font-size:20px;color:#111827}
.bs-modal__text{margin:0 0 14px 0;color:#4b5563;font-size:14px;line-height:1.5}
.bs-modal__actions{display:flex;gap:8px;flex-wrap:wrap}
@media(max-width:767px){.bs-form-grid{grid-template-columns:1fr}.bs-quote-item__view,.bs-quote-item__product{flex-direction:column;align-items:flex-start}.bs-quote-item__thumb img,.bs-product-thumb{width:100px;height:100px}.bs-actions .button,.bs-modal__actions .button{width:100%;text-align:center}.bs-quote-breakdown__label{min-width:0;width:100%}.bs-modal__dialog{margin:0;max-width:none;position:absolute;left:12px;right:12px;bottom:12px;top:auto;padding:16px}.bs-mode-switch{display:grid;grid-template-columns:1fr 1fr}.bs-mode-toggle{width:100%;text-align:center}}


.bs-date-input{appearance:none;-webkit-appearance:none;min-height:48px;background:#fff;color:#111827}
.bs-quote-icon-link{position:relative;display:inline-flex;align-items:center;gap:8px;text-decoration:none;color:#111827;font-weight:700;line-height:1;min-height:28px}
.bs-quote-icon-link .bs-quote-icon{font-size:22px;display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px}
.bs-quote-icon-link .bs-quote-count{display:inline-flex;align-items:center;justify-content:center;min-width:18px;height:18px;padding:0 5px;border-radius:999px;background:#111827;color:#fff;font-size:11px;font-weight:700;line-height:1}
.bs-quote-label{font-size:14px;font-weight:700}
@media(max-width:767px){.bs-quote-icon-link .bs-quote-icon{font-size:24px;width:26px;height:26px}.bs-quote-icon-link .bs-quote-count{min-width:20px;height:20px;font-size:12px}}

.bs-thankyou-card{padding:24px;border:1px solid #e5e7eb;border-radius:18px;background:#fff;box-shadow:0 10px 24px rgba(17,24,39,.05)}
.bs-thankyou-card h2{margin:0 0 10px 0}
.bs-thankyou-card p{margin:0 0 10px 0;color:#374151;line-height:1.6}


.bs-request-error{padding:14px 16px;border:1px solid #fecaca;border-radius:16px;background:#fef2f2;color:#b91c1c;font-weight:700}
.bs-request-form input:invalid,.bs-request-form textarea:invalid{border-color:#fca5a5}
.bs-request-form input:focus,.bs-request-form textarea:focus{outline:none;box-shadow:0 0 0 3px rgba(37,99,235,.12);border-color:#2563eb}
.bs-thankyou-mail{max-width:760px;margin:0 auto;background:#fff;border:1px solid #e5e7eb;border-radius:22px;overflow:hidden;box-shadow:0 16px 40px rgba(17,24,39,.08)}
.bs-thankyou-mail__head{background:#111827;color:#fff;padding:28px 24px}
.bs-thankyou-mail__brand{font-size:28px;line-height:1.2;font-weight:700;margin:0 0 6px 0}
.bs-thankyou-mail__sub{font-size:14px;color:#d1d5db}
.bs-thankyou-mail__body{padding:24px}
@media(max-width:767px){.bs-thankyou-mail__brand{font-size:22px}.bs-thankyou-mail__head{padding:22px 18px}.bs-thankyou-mail__body{padding:18px}}

.bs-request-summary{margin:18px 0 0}
.bs-request-summary__title{margin:0 0 10px 0;font-size:16px;font-weight:700;color:#111827}
.bs-request-summary__table-wrap{overflow:auto}

.bs-request-feedback{display:none;margin:0 0 14px;padding:12px 14px;border-radius:14px;background:#eff6ff;border:1px solid #bfdbfe;color:#1d4ed8;font-weight:600}
.bs-request-feedback.is-error{display:block;background:#fef2f2;border-color:#fecaca;color:#b91c1c}
.bs-request-feedback.is-success{display:block;background:#ecfdf5;border-color:#bbf7d0;color:#166534}


.bs-account-icon-link{display:inline-flex;align-items:center;justify-content:center;gap:8px;text-decoration:none;color:#111827;font-weight:700;line-height:1;min-height:36px;padding:4px 0}
.bs-account-icon{font-size:22px;display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px}
.bs-account-label{font-size:14px;font-weight:700}
.bs-account-prefill-note{margin:0 0 14px 0;padding:12px 14px;border-radius:14px;background:#eff6ff;border:1px solid #bfdbfe;color:#1d4ed8;font-weight:600}
@media(max-width:767px){.bs-account-icon{font-size:24px;width:30px;height:30px}}
.bs-account-icon svg{display:block;width:100%;height:100%}
