.b2b-public{margin:0;background:#f3f6fa;color:#14243a;font:16px/1.5 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}.b2b-public *,.b2b-dialog:not(.b2b-app-dialog) *{box-sizing:border-box}.b2b-public a{color:#215bba}.b2b-header{background:#102c4b;color:#fff;display:flex;align-items:center;justify-content:space-between;gap:24px;padding:22px max(24px,calc((100vw - 1360px)/2));flex-wrap:wrap}.b2b-header .b2b-brand{font-size:24px;font-weight:750;color:inherit;text-decoration:none}.b2b-header nav{display:flex;flex-wrap:wrap;gap:10px}.b2b-header button{color:#fff;background:#ffffff16;border-color:#ffffff40}.b2b-main{max-width:1360px;margin:30px auto;padding:0 24px;min-height:60vh}.b2b-footer{max-width:1360px;margin:32px auto;padding:24px;color:#4c6075;border-top:1px solid #d7e1ee}.b2b-public button,.b2b-dialog:not(.b2b-app-dialog) button,.b2b-admin:not(.mydb-admin-section) button.b2b-btn{font:inherit;border:1px solid #c9d6e6;border-radius:7px;padding:9px 14px;cursor:pointer}.b2b-public button:disabled,.b2b-dialog:not(.b2b-app-dialog) button:disabled{cursor:wait;opacity:.55}.b2b-primary:not(.btn){background:#215bb6!important;color:white!important;border-color:#215bb6!important}.b2b-danger:not(.btn){background:#fff0f1;color:#a92235}.b2b-public input,.b2b-public select,.b2b-public textarea,.b2b-dialog:not(.b2b-app-dialog) input,.b2b-dialog:not(.b2b-app-dialog) select,.b2b-dialog:not(.b2b-app-dialog) textarea{width:100%;padding:10px;border:1px solid #c3d0df;border-radius:6px;font:inherit;color:inherit;background:#fff}.b2b-public input[type=checkbox],.b2b-dialog:not(.b2b-app-dialog) input[type=checkbox]{width:auto}.b2b-public label,.b2b-dialog:not(.b2b-app-dialog) label{display:block;font-size:14px;font-weight:600}.b2b-public label input,.b2b-public label select,.b2b-dialog:not(.b2b-app-dialog) label input,.b2b-dialog:not(.b2b-app-dialog) label select{margin-top:5px}.b2b-public :focus-visible,.b2b-dialog:not(.b2b-app-dialog) :focus-visible{outline:3px solid #5996ea;outline-offset:3px}.b2b-card{background:#fff;border:1px solid #dbe3ee;border-radius:12px;padding:24px;margin-bottom:20px}.b2b-card h2{margin-top:0;font-size:21px}.b2b-auth{max-width:620px;margin:20px auto}.b2b-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.b2b-wide{grid-column:1/-1}.b2b-stack{display:grid;gap:16px}.b2b-toolbar{display:flex;gap:12px;align-items:center;justify-content:space-between;flex-wrap:wrap;margin:16px 0}.b2b-toolbar input{max-width:420px}.b2b-table-wrap{overflow:auto}.b2b-table:not(.table){width:100%;border-collapse:collapse;text-align:left;white-space:nowrap;font-size:14px}.b2b-table:not(.table) th{color:#526881;font-weight:600;background:#f5f8fc}.b2b-table:not(.table) td,.b2b-table:not(.table) th{padding:13px 12px;border-bottom:1px solid #e1e8f1}.b2b-table:not(.table) tbody tr:hover{background:#f7faff}.b2b-muted{color:#526881;font-size:14px}.b2b-price{font-weight:750;font-size:16px;white-space:nowrap}.b2b-badge{display:inline-block;padding:4px 9px;border-radius:5px;background:#eaf1fe;color:#215bba;font-size:13px}.b2b-error{padding:14px 18px;margin-bottom:16px;background:#fff0f1;border:1px solid #edbfca;color:#9b1f37;border-radius:8px}.b2b-success{padding:14px 18px;margin-bottom:16px;background:#eaf4ff;border:1px solid #b7d1f4;color:#164980;border-radius:8px}.b2b-dialog:not(.b2b-app-dialog){box-sizing:border-box;width:min(1080px,94vw);max-height:90vh;border:1px solid #bbcde4;border-radius:12px;padding:24px;background:#fff;color:#14243a;box-shadow:0 20px 80px #08213b50;font:16px/1.5 system-ui,sans-serif}.b2b-dialog:not(.b2b-app-dialog)::backdrop{background:#10243c88}.b2b-dialog:not(.b2b-app-dialog) h2{margin:0;font-size:22px}.b2b-dialog:not(.b2b-app-dialog) .b2b-scroll{max-height:43vh;overflow:auto}.b2b-dialog-close{float:right}.b2b-help{border-radius:50%!important;padding:0!important;margin-left:5px;width:23px;height:23px;display:inline-flex;align-items:center;justify-content:center;color:#245a98;background:#edf4ff;border:1px solid #a8c5e8!important;font-size:14px!important;vertical-align:middle}.b2b-tabs{display:flex;gap:10px;flex-wrap:wrap;margin:20px 0}.b2b-tabs a{padding:10px 18px;background:#fff;border:1px solid #d5dfec;border-radius:7px;color:#254666;text-decoration:none}.b2b-tabs a.active{background:#194f9b;color:white}.b2b-admin:not(.mydb-admin-section) .b2b-card{padding:22px}.b2b-admin:not(.mydb-admin-section) .b2b-card h2{font-size:20px}.b2b-admin:not(.mydb-admin-section) label{font-size:14px;font-weight:600;display:block}.b2b-admin:not(.mydb-admin-section) label input,.b2b-admin:not(.mydb-admin-section) label select,.b2b-admin:not(.mydb-admin-section) label textarea{margin-top:6px}.b2b-admin:not(.mydb-admin-section) .b2b-grid input:not([type=checkbox]),.b2b-admin:not(.mydb-admin-section) .b2b-grid select,.b2b-admin:not(.mydb-admin-section) .b2b-grid textarea{width:100%;padding:9px;border:1px solid #ccd9e8;border-radius:5px;background:#fff}.b2b-checks{display:flex;gap:18px;flex-wrap:wrap}.b2b-checks label{font-weight:400}.b2b-summary{background:#edf4ff;border-left:4px solid #2662b5;border-radius:6px;padding:18px;margin:16px 0}.b2b-summary strong{font-size:22px}.b2b-empty{padding:35px;text-align:center;color:#526881}.b2b-dns code{user-select:all;overflow-wrap:anywhere;white-space:normal}.b2b-dns{margin:16px 0;padding:16px;border:1px solid #d2dfed;border-radius:8px}.b2b-public h1{font-size:28px;line-height:1.2}.b2b-public h3{font-size:18px}.b2b-inline{display:inline-flex!important;align-items:center;gap:8px}.b2b-order-item{border-bottom:1px solid #dbe3ee;padding:10px 0}.b2b-public .b2b-link-button{background:transparent;border:0;color:#215bba;text-decoration:underline}.b2b-total-row{display:flex;justify-content:space-between;gap:16px}.b2b-small-dialog{max-width:660px}@media(max-width:720px){.b2b-grid{grid-template-columns:1fr}.b2b-header{padding:18px}.b2b-main{padding:0 14px;margin-top:18px}.b2b-card,.b2b-dialog:not(.b2b-app-dialog){padding:16px}.b2b-toolbar{align-items:stretch}.b2b-toolbar input{max-width:none}.b2b-public h1{font-size:24px}.b2b-header .b2b-brand{font-size:21px}.b2b-table:not(.table) td,.b2b-table:not(.table) th{padding:10px 8px}}
/* Delivery/payment configuration and the shared order composer. */
.b2b-method-columns{display:grid;grid-template-columns:1fr 1fr;gap:22px;align-items:start}.b2b-method-columns>section{min-width:0}.b2b-method-intro{display:flex;justify-content:space-between;gap:25px}.b2b-method-intro p{max-width:740px}.b2b-eyebrow{display:block;font-size:11px;letter-spacing:1.3px;font-weight:700;color:#377dff}.b2b-step{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;background:#edf3ff;color:#377dff;border-radius:50%;font-size:13px;flex:none;margin-right:7px}.b2b-method-list{display:grid;gap:15px}.b2b-method-row{border:1px solid #dbe3ee;border-radius:10px;padding:18px;background:white}.b2b-method-row.is-disabled{background:#f7f9fc}.b2b-method-row.is-disabled strong{color:#677788}.b2b-method-row-head{display:flex;justify-content:space-between;gap:15px;align-items:center}.b2b-method-row-head label{margin:0}.b2b-method-row input[type=checkbox]{accent-color:#377dff}.b2b-method-row p{font-size:13px;margin:8px 0}.b2b-method-actions,.b2b-method-tags{display:flex;flex-wrap:wrap;gap:7px;margin-top:14px}.b2b-method-tags .is-disabled{color:#788491;background:#edf0f3}.b2b-method-save{position:sticky;bottom:12px;background:#fff;border:1px solid #dbe3ee;border-radius:10px;box-shadow:0 5px 30px #10243c12;padding:18px;display:flex;align-items:center;justify-content:space-between;gap:20px;z-index:2}.b2b-method-save span{font-size:14px}.b2b-method-save .b2b-error{margin:0}.b2b-payment-matrix{border:1px solid #dbe3ee;border-radius:8px;padding:16px;display:grid;gap:10px}.b2b-payment-matrix legend{float:none;width:auto;font-size:15px;padding:0 5px}.b2b-dialog .b2b-payment-matrix input{margin:0}.b2b-admin [data-workspace]{min-width:200px;margin-left:10px;padding:8px;border:1px solid #dbe3ee;border-radius:6px}.b2b-checkout-layout{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(280px,1fr);gap:28px;align-items:start}.b2b-checkout-main{min-width:0}.b2b-checkout-section{border:1px solid #e7eaf3;border-radius:9px;padding:22px;margin-bottom:20px;background:#fff}.b2b-checkout-section h3{display:flex;align-items:center;font-size:17px;margin:0 0 20px;gap:6px}.b2b-checkout-item{display:grid;grid-template-columns:36px 1fr auto;gap:12px;align-items:center;border-bottom:1px solid #e7eaf3;padding:15px 0;font-size:13px}.b2b-checkout-item:first-child{padding-top:0}.b2b-checkout-item:last-child{border:0;padding-bottom:0}.b2b-checkout-item small{display:block;font-size:11px;color:#677788;margin-top:4px}.b2b-checkout-item>button{grid-column:2/4;justify-self:start;padding:0!important;border:0!important;background:none!important;font-size:11px!important;color:#677788}.b2b-cart-grade{background:#edf3ff;color:#377dff;display:grid;place-items:center;width:34px;height:34px;border-radius:50%;font-weight:600}.b2b-choice-list{display:grid;gap:10px;margin:0;padding:0;border:0;min-width:0}.b2b-dialog .b2b-method-choice{display:flex;align-items:center;gap:11px;padding:16px;border:1px solid #dce3ee;border-radius:7px;cursor:pointer;font-size:13px;font-weight:400}.b2b-method-choice:has(input:checked){background:#f3f7ff;border-color:#377dff;box-shadow:0 0 0 1px #377dff}.b2b-dialog .b2b-method-choice input[type=radio]{width:17px;height:17px;flex:none;margin:0;accent-color:#377dff}.b2b-choice-icon{display:grid;place-items:center;width:32px;height:32px;flex:none;border-radius:6px;background:#edf3ff;color:#377dff;font-size:22px}.b2b-choice-content{flex:1;min-width:0}.b2b-choice-content strong{display:block;overflow-wrap:anywhere}.b2b-choice-content small{display:block;color:#677788;font-size:11px;line-height:1.6;margin-top:4px;white-space:pre-line;overflow-wrap:anywhere}.b2b-choice-price{font-size:12px;white-space:nowrap;align-self:flex-start}.b2b-checkout-aside{position:sticky;top:0;min-width:0}.b2b-checkout-summary{background:#f7f9fc;border:1px solid #e7eaf3;border-radius:10px;padding:24px}.b2b-checkout-summary h3{font-size:20px;margin:7px 0 20px}.b2b-checkout-summary .b2b-total-row{font-size:12px;margin:13px 0;align-items:flex-start}.b2b-checkout-summary .b2b-total-row>span:last-child{white-space:nowrap}.b2b-summary-state{font-size:11px;color:#677788;margin:0 0 20px!important}.b2b-summary-state.is-verified{color:#07875c;background:#e8f7f2;padding:10px;border-radius:6px}.b2b-grand-total{border-top:1px solid #dce3ee;padding-top:18px;margin-top:20px}.b2b-grand-total span{font-size:13px;display:block}.b2b-grand-total strong{display:block;font-size:27px;letter-spacing:-.5px;margin:3px 0}.b2b-grand-total small{color:#677788;font-size:11px}.b2b-checkout-summary button[type=submit]{width:100%;margin:22px 0 14px;font-size:13px;line-height:1.5}.b2b-checkout-summary .b2b-muted{font-size:11px;line-height:1.7}.b2b-checkout-summary a{font-size:12px}.b2b-seller-details{padding:20px 8px;font-size:12px}.b2b-seller-details p{white-space:normal;overflow-wrap:anywhere;padding-top:14px}.b2b-billing-details{font-size:12px;margin-top:20px}.b2b-billing-details p{padding-top:12px}.b2b-checkout-buyer{font-size:13px}.b2b-dialog [hidden]{display:none!important}.b2b-dialog .b2b-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:1100px){.b2b-method-columns{grid-template-columns:1fr}}@media(max-width:760px){.b2b-checkout-layout{grid-template-columns:1fr}.b2b-checkout-aside{position:static}.b2b-checkout-section{padding:16px}.b2b-method-intro,.b2b-method-save{flex-direction:column;align-items:stretch}.b2b-method-row-head{flex-wrap:wrap}.b2b-dialog .b2b-method-choice{gap:9px;padding:12px}.b2b-choice-icon{display:none}.b2b-method-save{bottom:0}}

/* Employee-facing dialogs reuse the application theme's modal, form and button components. */
html.b2b-app-modal-open { overflow: hidden; }
.b2b-app-dialog.modal { position: fixed; inset: 0; height: fit-content; margin: auto; }
.b2b-app-dialog.modal[open] { display: block; }
.b2b-app-dialog {
  width: min(1140px, calc(100% - 48px));
  max-width: none;
  max-height: calc(100dvh - 2rem);
  padding: 0;
  border: 0;
  border-radius: .75rem;
  background: transparent;
  color: inherit;
  font: inherit;
  overflow: hidden;
  box-shadow: 0 .5rem 1.5rem rgba(19, 33, 68, .12);
}
.b2b-app-dialog::backdrop { background: rgba(19, 33, 68, .35); }
.b2b-app-dialog.b2b-small-dialog { width: min(660px, calc(100% - 48px)); }
.b2b-app-dialog.b2b-client-picker { width: min(800px, calc(100% - 48px)); }
.b2b-app-dialog > .modal-content { max-height: calc(100dvh - 2rem); border: 0; }
.b2b-app-dialog .modal-header { flex-shrink: 0; align-items: flex-start; gap: 16px; }
.b2b-app-dialog .modal-header .btn-close { flex-shrink: 0; }
.b2b-app-dialog .modal-body { overflow-y: auto; min-height: 0; }
.b2b-app-dialog .b2b-dialog-message:empty { display: none; }
.b2b-app-dialog .b2b-scroll { max-height: 36vh; overflow: auto; }
.b2b-app-dialog .b2b-grid { gap: 20px; }
.b2b-app-dialog .form-label { display: block; margin-bottom: 0; }
.b2b-app-dialog .form-label > .form-control,
.b2b-app-dialog .form-label > .form-select { margin-top: .5rem; }
.b2b-app-dialog .b2b-toolbar { margin: 0 0 20px; }
.b2b-app-dialog .b2b-toolbar:last-child { margin: 20px 0 0; }
.b2b-app-dialog .b2b-toolbar > .form-control { flex: 1; max-width: none; min-width: 180px; }
.b2b-app-dialog .b2b-muted { color: #677788; font-size: .8125rem; }
.b2b-app-dialog .b2b-help { font-family: inherit; cursor: pointer; margin-left: 4px; width: 20px; height: 20px; }
.b2b-app-dialog .b2b-help:focus-visible { outline: 2px solid #377dff; outline-offset: 2px; }
.b2b-app-dialog .b2b-summary { background: rgba(55, 125, 255, .05); border: 1px solid #e7eaf3; padding: 20px; }
.b2b-app-dialog .b2b-checkout-section { padding: 20px; }
.b2b-app-dialog .b2b-checkout-section h3 { font-size: 1rem; }
.b2b-app-dialog .b2b-checkout-summary { background: #f8fafd; padding: 20px; }
.b2b-app-dialog .b2b-table { margin-bottom: 0; }
.b2b-app-dialog .b2b-client-search { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; }
.b2b-app-dialog .b2b-client-search .input-group { flex: 1; min-width: 0; }
.b2b-app-dialog .b2b-client-search > button { flex-shrink: 0; }
.b2b-app-dialog .b2b-client-search input { min-width: 0; }
.b2b-app-dialog .b2b-client-results-heading { display: flex; align-items: center; gap: 8px; font-size: .75rem; margin-bottom: 12px; }
.b2b-app-dialog .b2b-client-row { display: flex; align-items: center; gap: 20px; padding: 18px 0; }
.b2b-app-dialog .b2b-client-row:first-child { border-top: 1px solid #e7eaf3; }
.b2b-app-dialog .b2b-client-info { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.b2b-app-dialog .b2b-client-name { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 4px; }
.b2b-app-dialog .b2b-client-name strong { color: #1e2022; }
.b2b-app-dialog .b2b-client-contact { margin-top: 2px; }
.b2b-app-dialog .b2b-client-row > button { flex-shrink: 0; }
.b2b-app-dialog .b2b-client-empty { padding: 32px 16px; text-align: center; font-size: .875rem; }
.b2b-app-dialog .b2b-client-footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; border-top: 1px solid #e7eaf3; padding-top: 20px; margin-top: 12px; }
.b2b-app-dialog .b2b-client-help { display: flex; flex-wrap: wrap; gap: 16px; color: #677788; font-size: .75rem; }
.b2b-app-dialog .b2b-client-help > span { white-space: nowrap; }
@media (max-width: 575px) {
  .b2b-app-dialog,
  .b2b-app-dialog.b2b-small-dialog,
  .b2b-app-dialog.b2b-client-picker { width: calc(100% - 24px); max-height: calc(100dvh - 1rem); }
  .b2b-app-dialog > .modal-content { max-height: calc(100dvh - 1rem); }
  .b2b-app-dialog .modal-header,
  .b2b-app-dialog .modal-body { padding: 20px; }
  .b2b-app-dialog .b2b-client-search { align-items: stretch; flex-direction: column; gap: 10px; }
  .b2b-app-dialog .b2b-client-row { align-items: flex-start; gap: 12px; }
  .b2b-app-dialog .b2b-client-name { gap: 6px; }
  .b2b-app-dialog .b2b-client-footer { align-items: flex-end; }
  .b2b-app-dialog .b2b-client-help { gap: 10px; }
  .b2b-app-dialog .b2b-checkout-item { grid-template-columns: 30px minmax(0, 1fr) auto; gap: 8px; }
  .b2b-app-dialog .b2b-checkout-item > strong { font-size: .75rem; }
}
