/* ========================================
   CSS PART 1 START - Base
======================================== */

/* ----- CSS PART 1.1 START: Variables ----- */
:root{
  --bg:#f6f7fb;
  --card:#ffffff;
  --border:#e9eaf0;
  --text:#1d1f25;
  --muted:#6f7482;
  --primary:#6ca1ff;
  --primary2:#5b86f0;
  --warn:#f3b742;
  --teal:#53c5d0;
  --green:#4ac37a;
}
/* ----- CSS PART 1.1 END: Variables ----- */

*{box-sizing:border-box;}
body{background:var(--bg);}

/* ========================================
   CSS PART 1 END - Base
======================================== */

/* ========================================
   CSS PART 2 START - Global Layout
======================================== */
.lzi-page{background:var(--bg);padding:24px 0 40px;}
.lzi-shell{max-width:1280px;margin:0 auto;padding:0 18px;}
.lzi-topbar{max-width:1280px;margin:0 auto 18px;padding:0 18px;display:flex;justify-content:space-between;align-items:center;color:#24406d;}
.lzi-brand{font-size:18px;font-weight:700;}
.lzi-toplinks{font-size:14px;color:#6480af;}
.lzi-toplinks a,.lzi-toplinks a:visited{color:#6480af;text-decoration:none;font-weight:600;}
.lzi-toplinks a:hover,.lzi-toplinks a:focus{color:#24406d;text-decoration:none;}
.lzi-toplinks .sep{margin:0 10px;}
.lzi-title{font-size:54px;line-height:1.05;font-weight:800;color:var(--text);margin:0 0 10px;}
.lzi-subtitle{margin:0 0 26px;color:var(--muted);font-size:17px;}
.lzi-card,.lzi-table-card,.lzi-detail-card{background:var(--card);border:1px solid var(--border);border-radius:18px;padding:20px;box-shadow:0 12px 30px rgba(29,31,37,.03);}
.lzi-card h2,.lzi-detail-card h2{font-size:22px;margin:0 0 20px;color:var(--text);}
.lzi-grid{display:grid;gap:20px;}
.lzi-grid-2{grid-template-columns:1fr 1fr;margin-top:20px;}
.lzi-grid-3{grid-template-columns:1fr 1fr 1fr;}
.lzi-field{min-width:0;}
.lzi-field label,
.lzi-status-form label,
.lzi-inline-label{
  display:block;
  font-size:14px;
  font-weight:600;
  color:#4c5260;
  margin:0 0 8px;
  line-height:1.2;
}
.lzi-field input,
.lzi-field textarea,
.lzi-field select,
.lzi-dashboard-search input,
.lzi-dashboard-search select,
.lzi-rows-form select,
.lzi-status-form select{
  width:100%;
  border:1px solid #e0e3eb;
  border-radius:12px;
  background:#fff;
  color:var(--text);
  padding:14px 16px;
  font-size:16px;
  outline:none;
}
.lzi-field textarea{resize:vertical;min-height:120px;}
.lzi-field input:focus,
.lzi-field textarea:focus,
.lzi-field select:focus,
.lzi-dashboard-search input:focus,
.lzi-product-search:focus,
.lzi-dashboard-search select:focus,
.lzi-rows-form select:focus,
.lzi-status-form select:focus{
  border-color:#b8c8f5;
  box-shadow:0 0 0 4px rgba(91,134,240,.10);
}
.muted{color:#9aa0ac;font-weight:400;}
.lzi-note{margin-top:18px;background:#fbf5e8;color:#9a7a31;border-radius:12px;padding:13px 16px;font-size:15px;}
.lzi-alert{margin:0 0 18px;border-radius:12px;padding:14px 16px;font-size:15px;}
.lzi-alert.success{background:#ecfbf1;color:#2f7b50;}
.lzi-alert.warn{background:#fbf5e8;color:#9a7a31;}
.lzi-alert.error{background:#fdecec;color:#a04141;}
.lzi-dashboard-tools{display:flex;justify-content:space-between;align-items:center;gap:16px;background:#fff;border:1px solid var(--border);border-radius:18px;padding:18px 20px;margin:0 0 20px;box-shadow:0 12px 30px rgba(29,31,37,.03);}
.lzi-dashboard-tools-copy{display:flex;flex-direction:column;gap:4px;color:#5b6270;font-size:14px;}
.lzi-dashboard-tools-copy strong{color:var(--text);font-size:16px;}
.lzi-danger-btn{border:none;border-radius:12px;padding:12px 16px;font-size:15px;font-weight:700;cursor:pointer;line-height:1.2;text-align:center;background:#b94848;color:#fff;white-space:nowrap;}
.lzi-modal-overlay{position:fixed;inset:0;background:rgba(17,19,25,.58);display:none;align-items:center;justify-content:center;padding:18px;z-index:9999;}
.lzi-modal-overlay.is-open{display:flex;}
.lzi-modal-card{position:relative;max-width:620px;width:100%;background:#fff;border-radius:20px;padding:28px;border:1px solid #e9eaf0;box-shadow:0 24px 56px rgba(17,19,25,.18);}
.lzi-modal-card h2{margin:0 0 14px;color:var(--text);}
.lzi-modal-card p{margin:0 0 12px;color:#4c5260;font-size:16px;line-height:1.6;}
.lzi-modal-actions{display:flex;justify-content:flex-end;margin-top:20px;}
.lzi-modal-close-icon{position:absolute;top:14px;right:14px;width:40px;height:40px;border:none;border-radius:12px;background:#f3f5fb;color:#495060;font-size:28px;line-height:1;display:flex;align-items:center;justify-content:center;cursor:pointer;}

/* ========================================
   CSS PART 2 END - Global Layout
======================================== */

/* ========================================
   CSS PART 3 START - Portal
======================================== */
#lzi-product-list{
  display:flex;
  flex-direction:column;
  gap:16px;
  min-height:0;
}
.lzi-product-card{
  position:relative;
  border:1px solid var(--border);
  border-radius:16px;
  padding:18px;
  background:#fff;
  display:block;
  visibility:visible;
  opacity:1;
}
.lzi-product-top-row{display:grid;grid-template-columns:220px 1fr;gap:16px;align-items:start;}
.lzi-product-top-row .lzi-field{display:block;}
.lzi-product-top-row .lzi-field label{margin:0 0 6px;line-height:1.2;}
.lzi-field-grow{min-width:0;}

/* ----- CSS PART 3.2 START: Portal Dropdown Fix (LOCKED) ----- */
.lzi-product-search{
  width:100%;
  height:52px !important;
  min-height:52px !important;
  padding:0 16px !important;
  line-height:52px !important;
  border:1px solid #e0e3eb;
  border-radius:12px;
  background:#fff;
  color:var(--text);
  font-size:16px;
  outline:none;
  box-sizing:border-box !important;
}
.lzi-catalog-filter,
.lzi-product-top-row select{
  width:100%;
  height:52px !important;
  min-height:52px !important;
  max-height:52px !important;
  padding:0 42px 0 16px !important;
  border:1px solid #e0e3eb !important;
  border-radius:12px !important;
  background:#fff !important;
  color:var(--text) !important;
  font-size:16px !important;
  line-height:1.2 !important;
  box-sizing:border-box !important;
  appearance:auto !important;
  -webkit-appearance:menulist !important;
  -moz-appearance:menulist !important;
  text-indent:0 !important;
  text-align:left !important;
  vertical-align:middle !important;
  white-space:nowrap !important;
  overflow:visible !important;
  display:block !important;
}
.lzi-catalog-filter option,.lzi-product-top-row select option{line-height:1.2 !important;}
/* ----- CSS PART 3.2 END: Portal Dropdown Fix (LOCKED) ----- */

.lzi-search-results{display:none;position:absolute;left:254px;right:18px;top:71px;z-index:25;background:#111319;color:#fff;border-radius:14px;max-height:280px;overflow:auto;box-shadow:0 18px 40px rgba(0,0,0,.18);}
.lzi-search-results.open{display:block;}
.lzi-search-result{padding:13px 16px;border-bottom:1px solid rgba(255,255,255,.06);cursor:pointer;}
.lzi-search-result:last-child{border-bottom:none;}
.lzi-search-result:hover{background:#1d2230;}
.lzi-search-result .type{display:block;color:#97a7ff;font-size:12px;margin-top:4px;}
.lzi-product-row{display:grid;grid-template-columns:180px 1fr 180px 130px;gap:16px;align-items:end;margin-top:14px;}
.lzi-product-name-field{min-width:0;}
.lzi-qty-field input{text-align:center;}
.lzi-product-actions{display:flex;justify-content:space-between;gap:12px;margin-top:14px;align-items:center;}

/* ========================================
   CSS PART 3 END - Portal
======================================== */

.lzi-portal-date-field{min-width:0;}
.lzi-portal-date-input{width:100% !important;max-width:100% !important;min-width:0 !important;display:block !important;box-sizing:border-box !important;}

/* ========================================
   CSS PART 4 START - Shared Buttons
======================================== */
.lzi-clear-btn,.lzi-remove-btn,.lzi-add-btn,.lzi-detail-actions button,.lzi-dashboard-search button,.lzi-view-btn,.lzi-primary-btn,.lzi-neutral-btn,.lzi-date-group-toggle,.lzi-panel-close{border:none;border-radius:12px;padding:12px 16px;font-size:15px;font-weight:600;cursor:pointer;line-height:1.2;text-align:center;}
.lzi-clear-btn{background:#f5f6fa;color:#5b6270;}
.lzi-remove-btn{background:#fff0f0;color:#d96a6a;}
.lzi-add-btn{margin-top:14px;background:#f2f6ff;color:#5b86f0;}
.lzi-submit-btn{width:100%;margin-top:20px;border:none;border-radius:14px;padding:18px 20px;font-size:30px;font-weight:700;color:#fff;background:linear-gradient(90deg,var(--primary),var(--primary2));cursor:pointer;}
.lzi-primary-btn,.lzi-primary-btn:visited,.lzi-primary-btn:hover,.lzi-primary-btn:focus{background:linear-gradient(90deg,var(--primary),var(--primary2));color:#fff !important;text-decoration:none;}
.lzi-neutral-btn{background:#f5f6fa;color:#495060;width:100%;}
.lzi-footer-note{text-align:center;color:#7f8696;font-size:14px;margin-top:14px;}

/* ========================================
   CSS PART 4 END - Shared Buttons
======================================== */

/* ========================================
   CSS PART 5 START - Dashboard
======================================== */
.lzi-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;margin:16px 0 20px;}
.lzi-stat{border-radius:18px;color:#1d1f25;padding:24px 26px;text-decoration:none;}
.lzi-stat-link{display:block;}
.lzi-stat-link.active{outline:3px solid rgba(29,31,37,.18);}
.lzi-stat.blue{background:linear-gradient(135deg,#6e9df9,#5b86f0);}
.lzi-stat.gold{background:linear-gradient(135deg,#f2bf55,#edae31);}
.lzi-stat.green{background:linear-gradient(135deg,#5fd289,#38ba6d);}
.lzi-stat.teal{background:linear-gradient(135deg,#63d2db,#41c2cf);}
.lzi-stat .label{font-size:16px;opacity:.95;margin-bottom:8px;color:#1d1f25;}
.lzi-stat .value{font-size:44px;font-weight:800;line-height:1;color:#1d1f25;}
.lzi-stat.has-new-alert{position:relative;box-shadow:0 0 0 2px rgba(29,31,37,.08) inset;}
.lzi-stat-alert-indicator{display:inline-flex;align-items:center;justify-content:center;margin-left:10px;padding:3px 8px;border-radius:999px;background:rgba(29,31,37,.12);font-size:11px;font-weight:800;line-height:1.1;vertical-align:middle;}
.lzi-dashboard-alert{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:0 0 18px;padding:14px 16px;border:1px solid #dbe6fb;border-radius:16px;background:#f6f9ff;}
.lzi-dashboard-alert-title{font-size:16px;font-weight:700;color:#304364;}
.lzi-dashboard-alert-actions{display:flex;gap:10px;flex-wrap:wrap;}
.lzi-dashboard-alert-dismiss{background:#eef2f7;color:#304364;}

.lzi-dashboard-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:24px;align-items:start;}
.lzi-dashboard-shell.is-detail-open .lzi-dashboard-grid{grid-template-columns:minmax(0,1fr) 430px;}
.lzi-right-panel{display:none;}
.lzi-dashboard-shell.is-detail-open .lzi-right-panel{display:block;}
.lzi-dashboard-shell.is-detail-open .lzi-products-col{display:none;}
.lzi-dashboard-shell.is-detail-open .lzi-order-table-full th:nth-child(1),
.lzi-dashboard-shell.is-detail-open .lzi-order-table-full td:nth-child(1){width:22%;}
.lzi-dashboard-shell.is-detail-open .lzi-order-table-full th:nth-child(2),
.lzi-dashboard-shell.is-detail-open .lzi-order-table-full td:nth-child(2){width:34%;}
.lzi-dashboard-shell.is-detail-open .lzi-order-table-full th:nth-child(3),
.lzi-dashboard-shell.is-detail-open .lzi-order-table-full td:nth-child(3){width:24%;}
.lzi-dashboard-shell.is-detail-open .lzi-order-table-full th:nth-child(5),
.lzi-dashboard-shell.is-detail-open .lzi-order-table-full td:nth-child(5){width:20%;}

.lzi-list-header{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:14px;}
.lzi-panel-title{margin:0;font-size:24px;color:var(--text);}
.lzi-rows-form{display:flex;align-items:center;gap:10px;}
.lzi-rows-form select{width:auto;min-width:110px;padding:10px 12px;}
.lzi-dashboard-filters{display:grid;grid-template-columns:1fr 130px 220px;gap:12px;margin-bottom:16px;}
.lzi-dashboard-search button{background:#7a808d;color:#fff;}

.lzi-order-table{width:100%;border-collapse:separate;border-spacing:0;table-layout:fixed;overflow:hidden;}
.lzi-order-table-full th:nth-child(1),.lzi-order-table-full td:nth-child(1){width:18%;}
.lzi-order-table-full th:nth-child(2),.lzi-order-table-full td:nth-child(2){width:24%;}
.lzi-order-table-full th:nth-child(3),.lzi-order-table-full td:nth-child(3){width:18%;}
.lzi-order-table-full th:nth-child(4),.lzi-order-table-full td:nth-child(4){width:24%;}
.lzi-order-table-full th:nth-child(5),.lzi-order-table-full td:nth-child(5){width:16%;}
.lzi-order-table th,.lzi-order-table td{padding:16px 14px;text-align:left;border-bottom:1px solid #edf0f4;vertical-align:middle;white-space:normal;word-break:break-word;overflow-wrap:anywhere;}
.lzi-order-table thead th{font-size:15px;color:#424857;background:#fff;}
.lzi-order-row:hover{background:#f8fbff;}
.lzi-order-row-needs-review{background:#fff6df;}
.lzi-order-row-needs-review:hover{background:#fff0c7;}
.lzi-order-row-new{background:#f1f7ff;}
.lzi-order-row-new:hover{background:#e7f1ff;}
.lzi-row-new-badge{display:inline-flex;align-items:center;justify-content:center;margin-left:8px;padding:3px 8px;border-radius:999px;background:#d8e8ff;color:#304364;font-size:11px;font-weight:800;line-height:1;}
.lzi-view-btn{background:#e9f2ff;color:#5b86f0;padding:10px 12px;width:100%;}

.lzi-order-group-list{display:flex;flex-direction:column;gap:14px;}
.lzi-date-group{border:1px solid #edf0f4;border-radius:16px;overflow:hidden;background:#fff;}
.lzi-date-group-toggle{width:100%;display:flex;align-items:center;justify-content:space-between;background:#f8fbff;color:#304364;border-radius:0;padding:16px 18px;}
.lzi-date-group-label{font-size:18px;font-weight:700;}
.lzi-date-group-icon{font-size:24px;line-height:1;}
.lzi-date-group-body{display:none;padding:0 14px 14px;}
.lzi-date-group.is-open .lzi-date-group-body{display:block;}

/* ----- CSS PART 5.4 START: Right Detail Panel ----- */
.lzi-detail-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px;}
.lzi-detail-head h2{margin:0;}
.lzi-panel-close{width:42px;height:42px;padding:0;background:#f3f5fb;color:#495060;font-size:28px;border-radius:12px;display:flex;align-items:center;justify-content:center;}
.lzi-detail-actions{display:flex;gap:10px;margin-bottom:16px;}
.lzi-status-form{margin-bottom:18px;}
.lzi-status-form-grid{display:grid;grid-template-columns:minmax(0,1fr) 160px;gap:12px;align-items:end !important;}
.lzi-status-form-grid > div{min-width:0;}
.lzi-status-form label{display:block;margin:0 0 8px;line-height:1.2;}
.lzi-status-form select{width:100%;border:1px solid #e0e3eb;border-radius:12px;background:#fff;color:var(--text);font-size:16px;box-sizing:border-box;min-height:52px;padding:0 42px 0 16px !important;line-height:1.2 !important;appearance:auto !important;-webkit-appearance:menulist !important;-moz-appearance:menulist !important;}
.lzi-status-form-button-wrap{display:flex;align-items:stretch !important;}
.lzi-status-form-button-wrap .lzi-primary-btn{width:100%;height:52px !important;min-height:52px !important;display:flex !important;align-items:center !important;justify-content:center !important;padding:0 16px !important;}
.lzi-detail-section{padding:16px 0;border-top:1px solid #edf0f4;}
.lzi-detail-section:first-child{border-top:none;padding-top:0;}
.lzi-detail-section h3{margin:0 0 12px;font-size:18px;}
.lzi-detail-empty{color:#798091;}
.lzi-badge{display:inline-block;padding:8px 12px;border-radius:999px;font-size:14px;font-weight:700;}
.lzi-badge.new{background:#e8f0ff;color:#5b86f0;}
.lzi-badge.needs-review{background:#fff2d7;color:#b78011;}
.lzi-badge.completed{background:#e9f8ef;color:#2f9360;}
/* ----- CSS PART 5.4 END: Right Detail Panel ----- */

.lzi-detail-products{display:flex;flex-direction:column;gap:10px;}
.lzi-detail-products-head,.lzi-detail-product-row{display:grid;grid-template-columns:88px minmax(0,1fr) 70px;gap:12px;align-items:start;}
.lzi-detail-products-head{padding:0 0 8px;border-bottom:1px solid #edf0f4;font-size:13px;font-weight:700;color:#556072;text-transform:uppercase;letter-spacing:.02em;}
.lzi-detail-product-row{padding:10px 0;border-bottom:1px solid #edf0f4;}
.lzi-detail-product-row:last-child{border-bottom:none;padding-bottom:0;}
.lzi-detail-product-cell{min-width:0;word-break:break-word;overflow-wrap:anywhere;}

.lzi-company-lock-note,.lzi-permission-note{margin-top:14px;background:#f5f8ff;color:#42577f;border:1px solid #dce6ff;border-radius:12px;padding:13px 16px;font-size:14px;line-height:1.5;}
.lzi-add-btn[disabled],.lzi-submit-btn[disabled]{opacity:.55;cursor:not-allowed;}
.lzi-readonly-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;}
.lzi-readonly-grid h3{margin:0 0 10px;font-size:16px;color:var(--text);}
.lzi-readonly-grid p{margin:0 0 8px;color:#4c5260;line-height:1.5;}
.lzi-small-note{margin-top:10px !important;font-size:13px;color:#6f7482 !important;}
.lzi-customer-orders-card{margin-top:20px;}
.lzi-customer-history-table th:nth-child(1),.lzi-customer-history-table td:nth-child(1){width:22%;}
.lzi-customer-history-table th:nth-child(2),.lzi-customer-history-table td:nth-child(2){width:18%;}
.lzi-customer-history-table th:nth-child(3),.lzi-customer-history-table td:nth-child(3){width:18%;}
.lzi-customer-history-table th:nth-child(4),.lzi-customer-history-table td:nth-child(4){width:14%;}
.lzi-customer-history-table th:nth-child(5),.lzi-customer-history-table td:nth-child(5){width:28%;}

/* ========================================
   CSS PART 5 END - Dashboard
======================================== */

/* ========================================
   CSS PART 5.5 START - Customer Portal Auth
======================================== */
.lzi-auth-shell{max-width:760px;}
.lzi-auth-card{background:#fff;border:1px solid var(--border);border-radius:20px;padding:28px;box-shadow:0 12px 30px rgba(29,31,37,.04);}
.lzi-auth-title{font-size:40px !important;margin-bottom:8px !important;}
.lzi-auth-form{display:grid;gap:16px;margin-top:12px;}
.lzi-auth-submit{width:100%;height:52px;display:flex;align-items:center;justify-content:center;}
.lzi-auth-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:18px;}
.lzi-inline-btn{display:inline-flex !important;align-items:center;justify-content:center;text-decoration:none;min-width:190px;height:52px;}
.lzi-checkbox-row{display:flex;align-items:center;gap:10px;color:#4c5260;font-size:14px;}
.lzi-checkbox-row input{margin:0;}
.lzi-customer-hero{padding:28px;}
.lzi-customer-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:14px;}
.lzi-customer-summary{border:1px solid #edf0f4;border-radius:16px;padding:18px;background:#fafbff;}
.lzi-customer-summary h2{margin:0 0 12px;font-size:20px;}
.lzi-customer-summary p{margin:0 0 10px;color:#4c5260;line-height:1.6;}
/* ========================================
   CSS PART 5.5 END - Customer Portal Auth
======================================== */

/* ========================================
   CSS PART 6 START - Responsive
======================================== */
@media (max-width:1180px){
  .lzi-dashboard-shell.is-detail-open .lzi-dashboard-grid{grid-template-columns:1fr;}
}

@media (max-width:980px){
  .lzi-grid-2,.lzi-grid-3,.lzi-product-top-row,.lzi-product-row,.lzi-stats,.lzi-dashboard-filters,.lzi-status-form-grid{grid-template-columns:1fr;}
  .lzi-dashboard-alert{flex-direction:column;align-items:flex-start;}
  .lzi-portal-date-field{width:100% !important;min-width:0 !important;overflow:hidden !important;}
  .lzi-portal-date-input{width:100% !important;max-width:100% !important;min-width:0 !important;display:block !important;box-sizing:border-box !important;}

  .lzi-title{font-size:42px;}
  .lzi-detail-actions,.lzi-product-actions,.lzi-list-header,.lzi-dashboard-tools{flex-direction:column;align-items:stretch;}
  .lzi-search-results{left:18px;right:18px;top:130px;}
  .lzi-order-table{table-layout:auto;}
  .lzi-detail-products-head,.lzi-detail-product-row{grid-template-columns:78px minmax(0,1fr) 56px;}
  .lzi-danger-btn{width:100%;}
  .lzi-modal-card{padding:24px 20px;}
  .lzi-readonly-grid{grid-template-columns:1fr;}
  .lzi-customer-history-table th,.lzi-customer-history-table td{width:auto !important;}
}

/* ========================================
   CSS PART 6 END - Responsive
======================================== */

/* ========================================
   CSS PART 6.1 START - v4.5.0 Overrides
======================================== */
.lzi-order-row{cursor:pointer;}
.lzi-order-row:focus,.lzi-customer-history-row:focus{outline:3px solid rgba(91,134,240,.24);outline-offset:-3px;}
.lzi-order-table-full th:nth-child(1),.lzi-order-table-full td:nth-child(1){width:20%;}
.lzi-order-table-full th:nth-child(2),.lzi-order-table-full td:nth-child(2){width:28%;}
.lzi-order-table-full th:nth-child(3),.lzi-order-table-full td:nth-child(3){width:20%;}
.lzi-order-table-full th:nth-child(4),.lzi-order-table-full td:nth-child(4){width:32%;}
.lzi-dashboard-shell.is-detail-open .lzi-order-table-full th:nth-child(1),
.lzi-dashboard-shell.is-detail-open .lzi-order-table-full td:nth-child(1){width:28%;}
.lzi-dashboard-shell.is-detail-open .lzi-order-table-full th:nth-child(2),
.lzi-dashboard-shell.is-detail-open .lzi-order-table-full td:nth-child(2){width:42%;}
.lzi-dashboard-shell.is-detail-open .lzi-order-table-full th:nth-child(3),
.lzi-dashboard-shell.is-detail-open .lzi-order-table-full td:nth-child(3){width:30%;}

.lzi-product-picker-bar{
  display:grid;
  grid-template-columns:minmax(0,240px) minmax(0,1fr);
  gap:16px;
  align-items:end;
  margin-top:8px;
}
.lzi-product-picker-type,
.lzi-product-picker-action{
  min-width:0;
}
.lzi-product-picker-type label,
.lzi-product-picker-action label{
  font-size:14px;
  font-weight:600;
  color:#4c5260;
  margin-bottom:8px;
}
.lzi-product-picker-action{
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
}
.lzi-product-picker-action .lzi-inline-btn{
  width:50%;
  min-width:240px;
}

.lzi-catalog-static{
  width:100%;
  height:52px;
  display:flex;
  align-items:center;
  padding:0 16px;
  border:1px solid #e0e3eb;
  border-radius:12px;
  background:#fff;
  color:var(--text);
  font-size:16px;
}
.lzi-selected-products-note{
  display:none !important;
}
.lzi-product-row-static{grid-template-columns:180px minmax(0,1fr) 180px 130px;}
.lzi-product-card-note{display:inline-flex;align-items:center;color:#6f7482;font-size:14px;}
.lzi-product-empty{
  padding:18px;
  border:1px dashed #d6dbe7;
  border-radius:14px;
  background:#fafbff;
}
.lzi-product-modal-card{max-width:980px;}
.lzi-product-modal-toolbar{display:flex;gap:12px;flex-wrap:wrap;margin:14px 0 16px;}
.lzi-product-modal-table-wrap{
  max-height:420px;
  overflow:auto;
  border:1px solid #e6e9f2;
  border-radius:14px;
  background:#fff;
}
.lzi-product-modal-table{
  width:100%;
  border-collapse:collapse;
  background:#fff;
}
.lzi-product-modal-table th,.lzi-product-modal-table td{
  padding:12px 14px;
  border-bottom:1px solid #edf0f4;
  text-align:left;
  vertical-align:middle;
  color:var(--text);
  background:#fff;
}
.lzi-product-modal-table thead th{
  position:sticky;
  top:0;
  background:#fff;
  z-index:1;
}
.lzi-product-modal-table tbody tr:hover{background:#f8fbff;}
.lzi-product-modal-table tbody tr:hover td{background:#f8fbff;}

.lzi-customer-dashboard-grid{display:grid;grid-template-columns:420px minmax(0,1fr);gap:18px;margin-top:18px;align-items:start;}
.lzi-customer-summary-card,.lzi-customer-detail-card{border:1px solid #edf0f4;border-radius:16px;padding:18px;background:#fafbff;}
.lzi-customer-summary-card{height:860px;display:flex;flex-direction:column;overflow:hidden;}
.lzi-customer-summary-card h2,.lzi-customer-detail-card h2{margin:0 0 12px;font-size:20px;}
.lzi-customer-summary-block{
  padding-bottom:12px;
  margin-bottom:12px;
  border-bottom:1px solid #edf0f4;
}
.lzi-customer-summary-block:last-child{
  margin-bottom:0;
  padding-bottom:0;
  border-bottom:none;
  min-height:0;
  display:flex;
  flex-direction:column;
  flex:1;
}
.lzi-buying-power-list{
  margin-top:8px;
  display:flex;
  flex-direction:column;
  gap:6px;
  color:#4c5260;
  font-size:14px;
  line-height:1.5;
}
.lzi-history-block h3,.lzi-customer-summary-block h3{margin:0 0 12px;font-size:18px;color:var(--text);}
.lzi-customer-summary-block h4{margin:0 0 10px;font-size:16px;color:var(--text);}
.lzi-history-scroll{min-height:0;overflow:auto;border:1px solid #e6e9f2;border-radius:14px;background:#fff;}
.lzi-customer-purchase-history-table{table-layout:fixed;}
.lzi-customer-purchase-history-table th:nth-child(1),.lzi-customer-purchase-history-table td:nth-child(1){width:48%;}
.lzi-customer-purchase-history-table th:nth-child(2),.lzi-customer-purchase-history-table td:nth-child(2){width:52%;}
.lzi-customer-history-row{cursor:pointer;}
.lzi-customer-history-row:hover,.lzi-customer-history-row.is-active,.lzi-customer-history-row.is-default-group{background:#eef4ff;}
.lzi-customer-detail-card{height:860px;overflow:auto;background:#fff;}
.lzi-customer-detail-list{display:flex;flex-direction:column;gap:16px;}
.lzi-customer-order-card{border:1px solid #edf0f4;border-radius:16px;padding:18px;background:#fff;box-shadow:0 8px 20px rgba(29,31,37,.03);}
.lzi-customer-order-card .lzi-detail-section{padding:14px 0;}
@media (max-width:1180px){
  .lzi-customer-dashboard-grid{grid-template-columns:1fr;}
  .lzi-customer-summary-card,.lzi-customer-detail-card{height:auto;}
  .lzi-history-scroll{max-height:360px;}
}
@media (max-width:980px){
  .lzi-product-picker-bar{grid-template-columns:1fr;}
  .lzi-product-row-static{grid-template-columns:1fr;}
}
/* ========================================
   CSS PART 6.1 END - v4.5.0 Overrides
======================================== */

/* ========================================
   CSS PART 6.2 START - v4.5.4 Mobile/Desktop Refinement
======================================== */
.lzi-topbar{display:grid;grid-template-columns:minmax(260px,340px) minmax(0,1fr);gap:18px;align-items:center;}
.lzi-topbar-brand-row,.lzi-topbar-nav-row{min-width:0;}
.lzi-toplinks{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:0;line-height:1.5;}
.lzi-brand{line-height:1.3;word-break:normal;overflow-wrap:anywhere;}

.lzi-customer-shell{padding-top:6px;}
.lzi-customer-page-head{margin-bottom:18px;}
.lzi-customer-page-head .lzi-title{margin-bottom:8px;}
.lzi-customer-page-head .lzi-subtitle{margin-bottom:0;}
.lzi-customer-primary-action{margin-bottom:18px;}
.lzi-customer-primary-action .lzi-inline-btn{min-width:240px;}
.lzi-customer-dashboard-grid{grid-template-columns:minmax(0,420px) minmax(0,1fr);align-items:start;}
.lzi-customer-summary-column{display:flex;flex-direction:column;gap:18px;min-width:0;}
.lzi-customer-summary-card,.lzi-customer-detail-card{background:#fff;}
.lzi-customer-summary-card{height:auto;overflow:visible;}
.lzi-customer-detail-card{min-height:100%;}
.lzi-customer-summary-block-last{
  margin-bottom:0;
  padding-bottom:0;
  border-bottom:none;
  min-height:auto;
  display:block;
  flex:none;
}
.lzi-history-block .lzi-history-scroll{max-height:360px;}

@media (max-width: 768px){
  .lzi-page{padding:14px 0 28px;}
  .lzi-topbar,
  .lzi-shell{max-width:none;width:100%;padding-left:14px;padding-right:14px;}
  .lzi-topbar{grid-template-columns:1fr;gap:10px;align-items:start;margin-bottom:14px;}
  .lzi-toplinks{justify-content:flex-start;gap:8px 12px;}
  .lzi-toplinks .sep{display:none;}
  .lzi-brand{font-size:17px;}
  .lzi-title{font-size:36px;line-height:1.08;word-break:break-word;overflow-wrap:anywhere;}
  .lzi-auth-title{font-size:36px !important;}
  .lzi-customer-shell{padding-top:0;}
  .lzi-customer-page-head{margin-bottom:16px;}
  .lzi-customer-primary-action{margin-bottom:16px;}
  .lzi-customer-primary-action .lzi-inline-btn,
  .lzi-inline-btn,
  .lzi-primary-btn,
  .lzi-neutral-btn{width:100% !important;min-width:0 !important;}
  .lzi-customer-dashboard-grid{grid-template-columns:1fr !important;gap:16px !important;}
  .lzi-customer-summary-column{gap:16px;}
  .lzi-card,
  .lzi-table-card,
  .lzi-detail-card,
  .lzi-auth-card,
  .lzi-customer-summary-card,
  .lzi-customer-detail-card{width:100%;max-width:none;margin-left:0;margin-right:0;padding:18px;border-radius:16px;}
  .lzi-readonly-grid{grid-template-columns:1fr;gap:14px;}
  .lzi-history-block .lzi-history-scroll,
  .lzi-history-scroll{max-height:none;}
}
/* ========================================
   CSS PART 6.2 END - v4.5.4 Mobile/Desktop Refinement
======================================== */

.lzi-customer-primary-action .lzi-primary-btn{color:#fff !important;}

/* ========================================
   CSS PART 6.3 START - v4.5.6 Portal Mobile Refinement
======================================== */
.lzi-portal-shell{padding-top:6px;}
.lzi-portal-page-head{margin-bottom:18px;}
.lzi-portal-page-head .lzi-title{margin-bottom:8px;}
.lzi-portal-page-head .lzi-subtitle{margin-bottom:0;max-width:760px;}
.lzi-portal-form{display:flex;flex-direction:column;gap:20px;}
.lzi-portal-form .lzi-grid{margin-top:0;}
.lzi-portal-card{margin:0;}
.lzi-portal-order-grid{grid-template-columns:repeat(3,minmax(0,1fr));align-items:end;}
.lzi-portal-contact-grid{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:20px;margin-top:0;}
.lzi-portal-card .lzi-field + .lzi-field{margin-top:14px;}
.lzi-portal-order-grid .lzi-field + .lzi-field{margin-top:0;}
.lzi-portal-submit-btn{margin-top:0;}
.lzi-portal-products-card #lzi-product-list{margin-top:16px;}
.lzi-portal-page input[type="date"]{min-height:52px;}

/* top row label tune for company / ship date / po */
.lzi-portal-order-grid .lzi-field label{
  font-size:15px;
  font-weight:600;
  color:#4c5260;
}

/* native date input theme cleanup */
.lzi-portal-page input[type="date"],
#lzi-customer-history-date,
#lzi-phase1-followup-date,
#lzi-backorder-followup-date{
  height:52px;
  min-height:52px;
  border:1px solid #e0e3eb;
  border-radius:12px;
  background:#fff;
  color:var(--text);
  padding:0 16px;
  font-size:16px;
}
.lzi-portal-page input[type="date"]::-webkit-calendar-picker-indicator,
#lzi-customer-history-date::-webkit-calendar-picker-indicator,
#lzi-phase1-followup-date::-webkit-calendar-picker-indicator,
#lzi-backorder-followup-date::-webkit-calendar-picker-indicator{
  cursor:pointer;
  opacity:.9;
}

/* ========================================
   customer dashboard filters for purchase history
======================================== */
.lzi-history-filters,.lzi-customer-history-filters{
  display:grid;
  grid-template-columns:minmax(0,1fr) 180px;
  gap:12px;
  align-items:end;
  margin-bottom:14px;
}
.lzi-history-filters .lzi-field,.lzi-customer-history-filters .lzi-field{
  margin:0;
}
.lzi-history-filters .lzi-field label,.lzi-customer-history-filters .lzi-field label{
  margin-bottom:8px;
}
.lzi-history-filters input,.lzi-customer-history-filters input{
  width:100%;
  height:48px;
  border:1px solid #e0e3eb;
  border-radius:12px;
  background:#fff;
  color:var(--text);
  padding:0 14px;
  font-size:15px;
}
.lzi-history-filters input:focus,.lzi-customer-history-filters input:focus{
  border-color:#b8c8f5;
  box-shadow:0 0 0 4px rgba(91,134,240,.10);
  outline:none;
}

/* tighten account summary spacing */
.lzi-customer-summary-card .lzi-customer-summary-block p{
  margin:0 0 6px;
  line-height:1.42;
}
.lzi-customer-summary-card .lzi-buying-power-list{
  gap:4px;
}
.lzi-customer-contact-card .lzi-readonly-grid p{
  margin:0 0 5px;
  line-height:1.42;
}
.lzi-small-note{
  margin-top:8px !important;
  line-height:1.45 !important;
}

/* validation */
.lzi-field-error{
  border-color:#d84b4b !important;
  box-shadow:0 0 0 4px rgba(216,75,75,.10) !important;
}
.lzi-field-error-box{
  border:1px solid #d84b4b !important;
  box-shadow:0 0 0 4px rgba(216,75,75,.10) !important;
  border-radius:14px;
}

@media (max-width: 768px){
  .lzi-portal-page{padding:14px 0 28px;}
  .lzi-portal-page .lzi-topbar,
  .lzi-portal-page .lzi-shell{max-width:none !important;width:100% !important;margin:0 !important;padding-left:12px !important;padding-right:12px !important;}
  .lzi-portal-shell{padding-top:0;}
  .lzi-portal-page-head{margin-bottom:14px;}
  .lzi-portal-form{gap:16px;}
  .lzi-portal-card{padding:16px !important;border-radius:16px !important;}
  .lzi-portal-card h2{margin-bottom:16px;}
  .lzi-portal-order-grid,
  .lzi-portal-contact-grid,
  .lzi-portal-page .lzi-grid-2,
  .lzi-portal-page .lzi-grid-3{grid-template-columns:1fr !important;gap:16px !important;}
  .lzi-portal-order-grid .lzi-field + .lzi-field,
  .lzi-portal-contact-grid .lzi-field + .lzi-field{margin-top:0;}
  .lzi-portal-page .lzi-field input,
  .lzi-portal-page .lzi-field textarea,
  .lzi-portal-page .lzi-field select{font-size:16px;}
  .lzi-portal-page .lzi-product-picker-bar{grid-template-columns:1fr !important;gap:14px !important;align-items:start;}
  .lzi-portal-page .lzi-product-picker-action .lzi-inline-btn{width:100% !important;min-width:0 !important;}
  .lzi-portal-page .lzi-selected-products-note{margin-top:10px;}
  .lzi-portal-page .lzi-product-row-static{grid-template-columns:1fr !important;gap:14px !important;}
  .lzi-portal-page .lzi-product-actions{flex-direction:column;align-items:stretch;}
  .lzi-portal-page .lzi-product-card-note{display:block;}
  .lzi-portal-page .lzi-submit-btn{font-size:24px;padding:16px 18px;}
  .lzi-portal-page .lzi-modal-card{padding:22px 16px;}

  .lzi-history-filters,.lzi-customer-history-filters{
    grid-template-columns:1fr;
  }
}
/* ========================================
   CSS PART 6.3 END - v4.5.6 Portal Mobile Refinement
======================================== */

/* ========================================
   CSS PART 6.6 START - v4.7.3 Phase 1 Intake Dashboard
======================================== */
.lzi-phase1-dashboard-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:24px;align-items:start;}
.lzi-phase1-dashboard-shell.is-detail-open .lzi-phase1-dashboard-grid{grid-template-columns:minmax(0,1fr) 460px;}
.lzi-phase1-dashboard-shell.is-detail-open .lzi-right-panel{display:block;}
.lzi-phase1-order-table{table-layout:fixed;}
.lzi-phase1-order-table th:nth-child(1),.lzi-phase1-order-table td:nth-child(1){width:18%;}
.lzi-phase1-order-table th:nth-child(2),.lzi-phase1-order-table td:nth-child(2){width:22%;}
.lzi-phase1-order-table th:nth-child(3),.lzi-phase1-order-table td:nth-child(3){width:16%;}
.lzi-phase1-order-table th:nth-child(4),.lzi-phase1-order-table td:nth-child(4){width:18%;}
.lzi-phase1-order-table th:nth-child(5),.lzi-phase1-order-table td:nth-child(5){width:14%;}
.lzi-phase1-order-table th:nth-child(6),.lzi-phase1-order-table td:nth-child(6){width:12%;}
.lzi-order-row.is-active{background:#eef4ff;}
.lzi-phase1-detail-card{padding:20px;}
.lzi-phase1-detail-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px;}
.lzi-phase1-save-message{font-size:14px;color:#5b6270;min-height:20px;}
.lzi-phase1-save-btn{min-width:170px;}
.lzi-phase1-panel-section{padding:16px 0;border-top:1px solid #edf0f4;}
.lzi-phase1-panel-section:first-child{padding-top:0;border-top:none;}
.lzi-phase1-panel-section h3{margin:0 0 12px;font-size:20px;color:var(--text);}
.lzi-phase1-summary-grid{display:grid;gap:8px;margin-bottom:14px;color:#4c5260;}
.lzi-phase1-control-grid{display:grid;gap:12px;grid-template-columns:1fr;}
.lzi-phase1-control-grid-compact{grid-template-columns:1fr;}
.lzi-phase1-contact-block p{margin:0 0 8px;color:#4c5260;line-height:1.5;}
.lzi-phase1-products-table-wrap{overflow:auto;border:1px solid #edf0f4;border-radius:14px;background:#fff;}
.lzi-phase1-products-table{width:100%;border-collapse:collapse;table-layout:fixed;}
.lzi-phase1-products-table th,.lzi-phase1-products-table td{padding:12px 12px;border-bottom:1px solid #edf0f4;text-align:left;vertical-align:top;}
.lzi-phase1-products-table th:nth-child(1),.lzi-phase1-products-table td:nth-child(1){width:16%;}
.lzi-phase1-products-table th:nth-child(2),.lzi-phase1-products-table td:nth-child(2){width:34%;}
.lzi-phase1-products-table th:nth-child(3),.lzi-phase1-products-table td:nth-child(3){width:10%;}
.lzi-phase1-products-table th:nth-child(4),.lzi-phase1-products-table td:nth-child(4){width:24%;}
.lzi-phase1-products-table th:nth-child(5),.lzi-phase1-products-table td:nth-child(5){width:16%;}
.lzi-phase1-products-table tr:last-child td{border-bottom:none;}
.lzi-badge-workflow.approved,.lzi-badge.needs-review.approved,.lzi-badge.approved{background:#e9f8ef;color:#2f9360;}
.lzi-badge-workflow.hold,.lzi-badge.hold{background:#fdecec;color:#a04141;}
.lzi-badge-workflow.waiting,.lzi-badge.waiting{background:#fff4d8;color:#b78011;}
.lzi-badge-workflow.partial,.lzi-badge.partial{background:#eef4ff;color:#4769c8;}
.lzi-badge-workflow.new,.lzi-badge.new{background:#e8f0ff;color:#5b86f0;}
.lzi-badge-backorder.none{background:#eef6ef;color:#4f8a60;}
.lzi-badge-backorder.partial{background:#fff4d8;color:#b78011;}
.lzi-badge-backorder.full{background:#fdecec;color:#a04141;}
@media (max-width:1180px){
  .lzi-phase1-dashboard-shell.is-detail-open .lzi-phase1-dashboard-grid{grid-template-columns:1fr;}
}
@media (max-width:980px){
  .lzi-phase1-order-table{table-layout:auto;}
  .lzi-phase1-order-table th,.lzi-phase1-order-table td{width:auto !important;}
  .lzi-phase1-detail-toolbar{flex-direction:column;align-items:stretch;}
  .lzi-phase1-save-btn{width:100%;}
  .lzi-phase1-products-table th,.lzi-phase1-products-table td{width:auto !important;}
}
/* ========================================
   CSS PART 6.6 END - v4.7.3 Phase 1 Intake Dashboard
======================================== */


/* ========================================
   CSS PART 6.7 START - v4.5.12 Orders Dashboard Full-Panel Fix
======================================== */
.lzi-dashboard-table-compact-wrap{display:none;}

.lzi-phase1-dashboard-shell.is-detail-open .lzi-phase1-dashboard-grid{
  grid-template-columns:280px minmax(0,1fr);
  gap:24px;
}
.lzi-phase1-master-panel{min-width:0;}
.lzi-phase1-dashboard-shell.is-detail-open .lzi-right-panel{
  display:block;
  width:100%;
  min-width:0;
}
.lzi-phase1-dashboard-shell.is-detail-open .lzi-phase1-detail-card{
  width:100%;
}
.lzi-phase1-dashboard-shell.is-detail-open .lzi-dashboard-filters,
.lzi-phase1-dashboard-shell.is-detail-open .lzi-dashboard-table-full-wrap{display:none;}
.lzi-phase1-dashboard-shell.is-detail-open .lzi-dashboard-table-compact-wrap{display:block;}
.lzi-order-table-compact th:nth-child(1),.lzi-order-table-compact td:nth-child(1){width:100%;}
.lzi-order-table-compact th:nth-child(2),.lzi-order-table-compact td:nth-child(2){display:none;}

.lzi-order-table th,
.lzi-order-table td{
  word-break:normal;
  overflow-wrap:break-word;
}
.lzi-order-table thead th{
  white-space:normal;
  word-break:normal;
  overflow-wrap:normal;
}

.lzi-phase1-detail-card .lzi-field select,
.lzi-phase1-detail-card .lzi-phase1-products-table select{
  height:48px;
  min-height:48px;
  padding:0 40px 0 14px !important;
  line-height:1.35 !important;
  display:block;
}
.lzi-phase1-detail-card .lzi-field textarea{line-height:1.45;}

.lzi-phase1-products-table{table-layout:fixed;width:100%;}
.lzi-phase1-products-table .lzi-col-ref{width:14%;}
.lzi-phase1-products-table .lzi-col-product{width:42%;}
.lzi-phase1-products-table .lzi-col-qty{width:10%;}
.lzi-phase1-products-table .lzi-col-availability{width:22%;}
.lzi-phase1-products-table .lzi-col-backordered{width:12%;}
.lzi-phase1-products-table th,
.lzi-phase1-products-table td{
  white-space:normal;
  word-break:normal;
  overflow-wrap:break-word;
  vertical-align:top;
}
.lzi-phase1-products-table thead th{
  white-space:nowrap;
  word-break:normal;
  overflow-wrap:normal;
}
.lzi-phase1-products-table-wrap{overflow-x:auto;}

@media (max-width:1180px){
  .lzi-phase1-dashboard-shell.is-detail-open .lzi-phase1-dashboard-grid{grid-template-columns:1fr;}
}
/* ========================================
   CSS PART 6.7 END - v4.5.12 Orders Dashboard Full-Panel Fix
======================================== */


/* ========================================
   CSS PART 6.8 START - v4.5.19 Backorder Queue / Dashboard Collapse
======================================== */
.lzi-backorder-stats{margin:16px 0 20px;grid-template-columns:repeat(5,minmax(0,1fr));gap:20px;}
.lzi-backorder-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:24px;align-items:start;}
.lzi-backorder-shell.is-detail-open .lzi-backorder-grid{grid-template-columns:280px minmax(0,1fr);}
.lzi-backorder-card,.lzi-backorder-detail-card{background:#fff;}
.lzi-backorder-right-panel{display:none;}
.lzi-backorder-shell.is-detail-open .lzi-backorder-right-panel{display:block;width:100%;min-width:0;}
.lzi-backorder-full-view{display:block;}
.lzi-backorder-compact-view{display:none;}
.lzi-backorder-shell.is-detail-open .lzi-backorder-full-view{display:none;}
.lzi-backorder-shell.is-detail-open .lzi-backorder-compact-view{display:block;}
.lzi-backorder-filters{display:grid;grid-template-columns:minmax(0,1fr) 220px;gap:12px;align-items:stretch;margin-bottom:16px;}
.lzi-backorder-filter-block{min-width:0;display:block;}
.lzi-backorder-filters input,
.lzi-backorder-filters select{
  width:100%;
  height:52px;
  min-height:52px;
  border:1px solid #e0e3eb;
  border-radius:12px;
  background:#fff;
  color:var(--text);
  padding:0 16px;
  font-size:16px;
  outline:none;
  box-sizing:border-box;
  display:block;
}
.lzi-backorder-filters select{padding:0 42px 0 16px !important;appearance:auto;-webkit-appearance:menulist;-moz-appearance:menulist;}
.lzi-backorder-filters input:focus,.lzi-backorder-filters select:focus{border-color:#b8c8f5;box-shadow:0 0 0 4px rgba(91,134,240,.10);}
.lzi-backorder-table-wrap{overflow:auto;border:1px solid #edf0f4;border-radius:14px;background:#fff;}
.lzi-backorder-table{min-width:980px;}
.lzi-backorder-table th:nth-child(1),.lzi-backorder-table td:nth-child(1){width:24%;}
.lzi-backorder-table th:nth-child(2),.lzi-backorder-table td:nth-child(2){width:16%;}
.lzi-backorder-table th:nth-child(3),.lzi-backorder-table td:nth-child(3){width:16%;}
.lzi-backorder-table th:nth-child(4),.lzi-backorder-table td:nth-child(4){width:20%;}
.lzi-backorder-table th:nth-child(5),.lzi-backorder-table td:nth-child(5){width:10%;text-align:center;}
.lzi-backorder-table th:nth-child(6),.lzi-backorder-table td:nth-child(6){width:14%;}
.lzi-backorder-table-compact{width:100%;table-layout:fixed;}
.lzi-backorder-table-compact th:nth-child(1),.lzi-backorder-table-compact td:nth-child(1){width:100%;}
.lzi-backorder-row{cursor:pointer;}
.lzi-backorder-row.is-active,.lzi-backorder-row:hover{background:#eef4ff;}
.lzi-backorder-empty{margin-bottom:12px;color:#798091;}
.lzi-backorder-preference{display:inline-flex;align-items:center;min-height:44px;padding:10px 14px;border-radius:12px;background:#fbf5e8;color:#9a7a31;font-weight:600;}
.lzi-backorder-followup-badges{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px;}
.lzi-backorder-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:14px;}
.lzi-backorder-actions .lzi-primary-btn{min-width:220px;}
.lzi-badge-backorder-item.pending-review{background:#eef4ff;color:#4769c8;}
.lzi-badge-backorder-item.available,.lzi-badge-backorder-item.ready-to-ship{background:#e9f8ef;color:#2f9360;}
.lzi-badge-backorder-item.backordered{background:#fdecec;color:#a04141;display:inline-flex;align-items:center;justify-content:center;min-width:128px;text-align:center;}
.lzi-badge-backorder-item.lead-time-item{background:#fff4d8;color:#b78011;}
.lzi-badge-backorder-item.shipped,.lzi-badge-backorder-item.completed{background:#eef6ef;color:#4f8a60;}
.lzi-badge-followup.none{background:#f5f6fa;color:#5b6270;}
.lzi-badge-followup.overdue{background:#fdecec;color:#a04141;}
.lzi-badge-followup.today{background:#fff4d8;color:#b78011;}
.lzi-badge-followup.upcoming{background:#eef4ff;color:#4769c8;}
.lzi-badge-action.waiting{background:#fff4d8;color:#b78011;}
.lzi-badge-action.due{background:#fdecec;color:#a04141;}
.lzi-badge-action.inventory{background:#eef4ff;color:#4769c8;}
.lzi-badge-action.review{background:#e9f8ef;color:#2f9360;}
@media (max-width:1180px){
  .lzi-phase1-dashboard-shell.is-detail-open .lzi-phase1-dashboard-grid,
  .lzi-backorder-shell.is-detail-open .lzi-backorder-grid{grid-template-columns:1fr;}
  .lzi-phase1-dashboard-shell.is-detail-open .lzi-dashboard-filters,
  .lzi-phase1-dashboard-shell.is-detail-open .lzi-dashboard-table-full-wrap{display:block;}
  .lzi-phase1-dashboard-shell.is-detail-open .lzi-dashboard-table-compact-wrap{display:none;}
  .lzi-backorder-full-view,.lzi-backorder-shell.is-detail-open .lzi-backorder-full-view{display:block;}
  .lzi-backorder-compact-view,.lzi-backorder-shell.is-detail-open .lzi-backorder-compact-view{display:none;}
}
@media (max-width:980px){
  .lzi-backorder-stats{grid-template-columns:1fr;}
  .lzi-backorder-filters{grid-template-columns:1fr;}
}
/* ========================================
   CSS PART 6.8 END - v4.5.19 Backorder Queue / Dashboard Collapse
======================================== */

.lzi-backorder-stat-card{
  min-width:0;
  padding:24px 26px;
  display:block;
  border-radius:18px;
}
.lzi-backorder-stat-card .label{
  font-size:16px;
  opacity:.95;
  margin-bottom:8px;
  color:#1d1f25;
  min-height:0;
  display:block;
  text-align:left;
}
.lzi-backorder-stat-card .value{
  text-align:left;
  font-size:44px;
  font-weight:800;
  line-height:1;
}
.lzi-backorder-stat-card.is-active{outline:3px solid rgba(29,31,37,.18);}
.lzi-backorder-filter-date input{height:52px;min-height:52px;}
.lzi-backorder-products-wrap{
  overflow:auto;
  border:1px solid #edf0f4;
  border-radius:14px;
  background:#fff;
}
.lzi-backorder-products-table{
  width:100%;
  min-width:760px;
  border-collapse:collapse;
  table-layout:fixed;
}
.lzi-backorder-products-table th,
.lzi-backorder-products-table td{
  padding:12px 12px;
  border-bottom:1px solid #edf0f4;
  text-align:left;
  vertical-align:top;
  white-space:normal;
  overflow-wrap:break-word;
  word-break:normal;
}
.lzi-backorder-products-table tr:last-child td{border-bottom:none;}
.lzi-backorder-products-table th:nth-child(1),.lzi-backorder-products-table td:nth-child(1){width:12%;}
.lzi-backorder-products-table th:nth-child(2),.lzi-backorder-products-table td:nth-child(2){width:34%;}
.lzi-backorder-products-table th:nth-child(3),.lzi-backorder-products-table td:nth-child(3){width:10%;}
.lzi-backorder-products-table th:nth-child(4),.lzi-backorder-products-table td:nth-child(4){width:12%;}
.lzi-backorder-products-table th:nth-child(5),.lzi-backorder-products-table td:nth-child(5){width:16%;}
.lzi-backorder-products-table th:nth-child(6),.lzi-backorder-products-table td:nth-child(6){width:16%;}
.lzi-phase1-warning-section{padding-top:0;}
.lzi-phase1-warning{display:flex;gap:8px;align-items:flex-start;border-radius:14px;padding:14px 16px;border-left:5px solid #d99200;background:#fff7e6;color:#7c5a12;line-height:1.5;font-size:14px;margin-bottom:10px;}
.lzi-phase1-warning strong{display:inline-block;font-weight:800;color:#6c4d0d;}
.lzi-phase1-warning-critical{background:#fdecec;border-left-color:#c84343;color:#8f2f2f;}
.lzi-phase1-warning-critical strong{color:#7a1f1f;}
.lzi-phase1-warning-attention{background:#fff7e6;border-left-color:#d99200;color:#7c5a12;}
.lzi-phase1-warning-soft{background:#f5f8ff;border-left-color:#5b86f0;color:#35507f;}
@media (max-width:1280px){
  .lzi-backorder-stats{grid-template-columns:repeat(5,minmax(0,1fr));}
  .lzi-backorder-stat-card .value{font-size:44px;}
}


/* ========================================
   CSS PART 6.9 START - v4.5.19 Dashboard + Queueing Fixes
======================================== */
.lzi-phase1-detail-card .lzi-phase1-products-table td:nth-child(2),
.lzi-phase1-detail-card .lzi-phase1-products-table td:nth-child(3){
  font-size:15px;
  line-height:1.45;
}
.lzi-phase1-detail-card .lzi-phase1-products-table select,
.lzi-phase1-detail-card .lzi-phase1-products-table select option{
  font-size:15px !important;
}
.lzi-phase1-warning-section{
  margin-top:4px;
  padding-top:0;
  border-top:none;
}
.lzi-phase1-warning{
  display:flex;
  gap:10px;
  align-items:flex-start;
  border-radius:14px;
  padding:16px 18px;
  border:1px solid transparent;
  border-left-width:6px;
  box-shadow:0 6px 16px rgba(29,31,37,.05);
  line-height:1.55;
  font-size:14px;
  margin:0 0 10px;
}
.lzi-phase1-warning strong{
  display:block;
  font-weight:800;
  margin-right:4px;
}
.lzi-phase1-warning-critical{
  background:#fff1f1;
  border-color:#efc5c5;
  border-left-color:#c84343;
  color:#7f2525;
}
.lzi-phase1-warning-attention{
  background:#fff8e8;
  border-color:#f2dfb3;
  border-left-color:#d99200;
  color:#6e5310;
}
.lzi-phase1-warning-soft{
  background:#f4f7ff;
  border-color:#d7e3ff;
  border-left-color:#5b86f0;
  color:#35507f;
}
.lzi-badge-backorder-item.backordered,
.lzi-badge-backorder-item.lead-time-item,
.lzi-badge-backorder-item.pending-review,
.lzi-badge-backorder-item.available,
.lzi-badge-backorder-item.ready-to-ship,
.lzi-badge-backorder-item.shipped,
.lzi-badge-backorder-item.completed{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:0;
  max-width:100%;
  text-align:center;
  white-space:nowrap;
}
/* ========================================
   CSS PART 6.9 END - v4.5.19 Dashboard + Queueing Fixes
======================================== */

/* ========================================
   CSS PART 7.0 START - v4.5.20 Execution Dashboard
======================================== */
.lzi-execution-stats{margin:16px 0 20px;grid-template-columns:repeat(5,minmax(0,1fr));gap:20px;}
.lzi-execution-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:24px;align-items:start;}
.lzi-execution-shell.is-detail-open .lzi-execution-grid{grid-template-columns:280px minmax(0,1fr);}
.lzi-execution-right-panel{display:none;}
.lzi-execution-shell.is-detail-open .lzi-execution-right-panel{display:block;width:100%;min-width:0;}
.lzi-execution-full-view{display:block;}
.lzi-execution-compact-view{display:none;}
.lzi-execution-shell.is-detail-open .lzi-execution-full-view{display:none;}
.lzi-execution-shell.is-detail-open .lzi-execution-compact-view{display:block;}
.lzi-execution-card,.lzi-execution-detail-card{background:#fff;}
.lzi-execution-filters{display:grid;grid-template-columns:minmax(0,1fr) 220px 220px;gap:12px;align-items:stretch;margin-bottom:16px;}
.lzi-execution-filter-block{min-width:0;display:block;}
.lzi-execution-filters input,.lzi-execution-filters select{
  width:100%;
  height:52px;
  min-height:52px;
  border:1px solid #e0e3eb;
  border-radius:12px;
  background:#fff;
  color:var(--text);
  padding:0 16px;
  font-size:16px;
  outline:none;
  box-sizing:border-box;
  display:block;
}
.lzi-execution-filters select{padding:0 42px 0 16px !important;appearance:auto;-webkit-appearance:menulist;-moz-appearance:menulist;}
.lzi-execution-filters input:focus,.lzi-execution-filters select:focus{border-color:#b8c8f5;box-shadow:0 0 0 4px rgba(91,134,240,.10);}
.lzi-execution-table-wrap{overflow:auto;border:1px solid #edf0f4;border-radius:14px;background:#fff;}
.lzi-execution-table{min-width:1100px;}
.lzi-execution-table th:nth-child(1),.lzi-execution-table td:nth-child(1){width:18%;}
.lzi-execution-table th:nth-child(2),.lzi-execution-table td:nth-child(2){width:14%;}
.lzi-execution-table th:nth-child(3),.lzi-execution-table td:nth-child(3){width:14%;}
.lzi-execution-table th:nth-child(4),.lzi-execution-table td:nth-child(4){width:14%;}
.lzi-execution-table th:nth-child(5),.lzi-execution-table td:nth-child(5){width:15%;}
.lzi-execution-table th:nth-child(6),.lzi-execution-table td:nth-child(6){width:13%;}
.lzi-execution-table th:nth-child(7),.lzi-execution-table td:nth-child(7){width:12%;}
.lzi-execution-table-compact{width:100%;table-layout:fixed;}
.lzi-execution-table-compact th:nth-child(1),.lzi-execution-table-compact td:nth-child(1){width:50%;}
.lzi-execution-table-compact th:nth-child(2),.lzi-execution-table-compact td:nth-child(2){width:50%;}
.lzi-execution-row{cursor:pointer;}
.lzi-execution-row.is-active,.lzi-execution-row:hover{background:#eef4ff;}
.lzi-execution-empty{margin-bottom:12px;color:#798091;}
.lzi-badge-execution.ready{background:#e8f0ff;color:#5b86f0;}
.lzi-badge-execution.processing{background:#eef4ff;color:#4769c8;}
.lzi-badge-execution.packed{background:#fff4d8;color:#b78011;}
.lzi-badge-execution.shipped{background:#ecfbf1;color:#2f7b50;}
.lzi-badge-execution.partial-shipped{background:#f5f8ff;color:#35507f;}
.lzi-badge-execution.completed{background:#e9f8ef;color:#2f9360;}
.lzi-execution-products-wrap{overflow:auto;border:1px solid #edf0f4;border-radius:14px;background:#fff;}
.lzi-execution-products-table{width:100%;min-width:620px;border-collapse:collapse;table-layout:fixed;}
.lzi-execution-products-table th,.lzi-execution-products-table td{
  padding:12px 12px;
  border-bottom:1px solid #edf0f4;
  text-align:left;
  vertical-align:top;
  white-space:normal;
  overflow-wrap:break-word;
  word-break:normal;
}
.lzi-execution-products-table tr:last-child td{border-bottom:none;}
.lzi-execution-products-table th:nth-child(1),.lzi-execution-products-table td:nth-child(1){width:18%;}
.lzi-execution-products-table th:nth-child(2),.lzi-execution-products-table td:nth-child(2){width:58%;}
.lzi-execution-products-table th:nth-child(3),.lzi-execution-products-table td:nth-child(3){width:24%;}
.lzi-execution-products-table.unresolved th:nth-child(1),.lzi-execution-products-table.unresolved td:nth-child(1){width:16%;}
.lzi-execution-products-table.unresolved th:nth-child(2),.lzi-execution-products-table.unresolved td:nth-child(2){width:44%;}
.lzi-execution-products-table.unresolved th:nth-child(3),.lzi-execution-products-table.unresolved td:nth-child(3){width:20%;}
.lzi-execution-products-table.unresolved th:nth-child(4),.lzi-execution-products-table.unresolved td:nth-child(4){width:20%;}
.lzi-execution-stat-card{min-width:0;padding:24px 26px;display:block;border-radius:18px;}
.lzi-execution-stat-card .label{font-size:16px;opacity:.95;margin-bottom:8px;color:#1d1f25;min-height:0;display:block;text-align:left;}
.lzi-execution-stat-card .value{text-align:left;font-size:44px;font-weight:800;line-height:1;}
.lzi-execution-stat-card.is-active{outline:3px solid rgba(29,31,37,.18);}
@media (max-width:1180px){
  .lzi-execution-shell.is-detail-open .lzi-execution-grid{grid-template-columns:1fr;}
  .lzi-execution-full-view,.lzi-execution-shell.is-detail-open .lzi-execution-full-view{display:block;}
  .lzi-execution-compact-view,.lzi-execution-shell.is-detail-open .lzi-execution-compact-view{display:none;}
}
@media (max-width:980px){
  .lzi-execution-stats{grid-template-columns:1fr;}
  .lzi-execution-filters{grid-template-columns:1fr;}
}
/* ========================================
   CSS PART 7.0 END - v4.5.20 Execution Dashboard
======================================== */


/* ========================================
   CSS PART 7.1 START - v4.5.21.1 Right Panel Inline Dropdown Alignment
======================================== */
.lzi-phase1-control-grid-inline{
  display:flex;
  flex-direction:column;
  gap:12px;
}
.lzi-phase1-control-grid-inline .lzi-field-row{
  display:grid;
  grid-template-columns:160px minmax(0,1fr);
  align-items:center;
  gap:14px;
  margin:0;
}
.lzi-phase1-control-grid-inline .lzi-field-row label{
  margin:0;
  font-size:14px;
  font-weight:600;
  color:#3f4a5f;
  line-height:1.3;
}
.lzi-phase1-control-grid-inline .lzi-field-row select{
  width:100%;
  min-width:0;
  height:44px;
  min-height:44px;
  padding:0 40px 0 16px !important;
  border:1px solid #d9dfeb;
  border-radius:12px;
  background:#fff;
  color:var(--text);
  font-size:15px;
  line-height:1.2 !important;
  box-shadow:none;
}
.lzi-phase1-control-grid-inline .lzi-field-row select:focus{
  border-color:#b8c8f5;
  box-shadow:0 0 0 4px rgba(91,134,240,.10);
}
@media (max-width:980px){
  .lzi-phase1-control-grid-inline .lzi-field-row{
    grid-template-columns:1fr;
    gap:8px;
  }
}
/* ========================================
   CSS PART 7.1 END - v4.5.21.1 Right Panel Inline Dropdown Alignment
======================================== */


/* ========================================
   Customer Dashboard v4.5.21.3 + Portal Timing
======================================== */
.lzi-customer-modern-shell-wrap{max-width:1500px;}
.lzi-customer-modern-head{display:flex;justify-content:space-between;align-items:flex-end;gap:16px;margin-bottom:18px;}
.lzi-customer-modern-order-btn{min-width:220px;}
.lzi-customer-modern-shell{display:grid;grid-template-columns:42% 58%;min-height:860px;background:rgba(255,255,255,.28);border:1px solid rgba(217,224,236,.8);border-radius:22px;box-shadow:0 10px 28px rgba(28,40,68,.06);overflow:hidden;position:relative;}
.lzi-customer-modern-left{border-right:1px solid #dfe5ef;background:#f7f9fd;}
.lzi-customer-modern-right{background:linear-gradient(180deg,#ffffff 0%,#f6f8fc 100%);padding:18px 20px;}
.lzi-customer-modern-toolbar{position:relative;display:flex;align-items:stretch;gap:14px;padding:18px 18px 14px;border-bottom:1px solid #dfe5ef;background:#fff;}
.lzi-customer-modern-search{flex:1;display:flex;align-items:center;height:44px;min-height:44px;border:1px solid #d6deeb;border-radius:9px;padding:0 12px;background:#fff;box-sizing:border-box;box-shadow:none;}
.lzi-customer-modern-search input{border:none !important;outline:none;width:100%;height:100%;font-size:16px;font-weight:600;color:#27344a;background:transparent;padding:0;box-shadow:none !important;}
.lzi-customer-modern-search-icon,.lzi-customer-modern-search-icon::after{display:none !important;}
.lzi-customer-modern-toolbar-actions{display:flex;gap:0;height:44px;min-height:44px;border:1px solid #d6deeb;border-radius:8px;overflow:hidden;box-sizing:border-box;background:#fff;}
.lzi-customer-modern-icon-btn{width:64px;height:42px;border:none;border-right:none;background:#fff;color:#49566e;font-size:23px;font-weight:700;cursor:pointer;line-height:1;box-shadow:none;}
.lzi-customer-modern-icon-btn:last-child{border-right:none;}
.lzi-customer-modern-menu{position:absolute;top:70px;right:18px;z-index:25;width:290px;background:#fff;border:1px solid #d7deea;border-radius:14px;box-shadow:0 16px 36px rgba(28,40,68,.14);padding:14px;}
.lzi-customer-modern-menu-title{font-size:15px;font-weight:800;color:#2f3b50;margin-bottom:10px;}
.lzi-customer-modern-menu-option{width:100%;display:block;padding:10px 12px;border:none;background:#fff;text-align:left;border-radius:10px;color:#344158;font-weight:600;cursor:pointer;}
.lzi-customer-modern-menu-option:hover,.lzi-customer-modern-menu-option.is-active{background:#eef4ff;color:#2f3b50;}
.lzi-customer-modern-setting-group{padding-top:10px;margin-top:10px;border-top:1px solid #edf1f7;display:grid;gap:8px;}
.lzi-customer-modern-setting-heading{font-size:13px;font-weight:800;color:#5a6477;text-transform:uppercase;letter-spacing:.03em;}
.lzi-customer-modern-setting-group label{display:flex;align-items:center;gap:8px;font-size:14px;color:#344158;}
.lzi-customer-modern-chip{border:none;background:#eef4ff;color:#35507f;padding:8px 10px;border-radius:999px;font-size:13px;font-weight:700;text-align:left;cursor:pointer;}
.lzi-customer-modern-menu-actions{display:flex;justify-content:flex-end;padding-top:12px;margin-top:12px;border-top:1px solid #edf1f7;}
.lzi-customer-modern-clear-filter{border:1px solid #cfd7e6;background:#fff;color:#33415a;padding:8px 12px;border-radius:8px;font-size:13px;font-weight:700;cursor:pointer;}
.lzi-customer-modern-clear-filter:hover{background:#f5f8fd;}
.lzi-customer-modern-head-row{display:grid;grid-template-columns:44% 56%;background:#fff;border-bottom:1px solid #dfe5ef;font-weight:700;color:#44526c;font-size:14px;}
.lzi-customer-modern-head-row > div{padding:14px 20px;border-right:1px solid #dfe5ef;}
.lzi-customer-modern-head-row > div:last-child{border-right:none;}
.lzi-customer-modern-list{display:block;}
.lzi-customer-modern-row{width:100%;display:grid;grid-template-columns:44% 56%;min-height:106px;border:none;border-top:1px solid #e7ecf4;background:#f7f9fd;text-align:left;padding:0;cursor:pointer;}
.lzi-customer-modern-row:nth-child(even){background:#fbfcff;}
.lzi-customer-modern-row:hover,.lzi-customer-modern-row.is-active{background:#eef4ff;}
.lzi-customer-modern-cell{padding:16px 18px;border-right:1px solid #e2e8f2;display:flex;flex-direction:column;justify-content:center;gap:8px;min-width:0;}
.lzi-customer-modern-cell:last-child{border-right:none;}
.lzi-customer-modern-po{display:flex;align-items:center;gap:10px;flex-wrap:wrap;font-size:17px;font-weight:800;color:#1e2a3b;line-height:1.2;}
.lzi-customer-modern-badge-new{display:inline-flex;align-items:center;justify-content:center;background:#d99635;color:#fff;font-size:14px;font-weight:700;padding:5px 11px;border-radius:6px;}
.lzi-customer-modern-main{font-size:17px;font-weight:800;color:#233149;line-height:1.35;}
.lzi-customer-modern-sub{font-size:13px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:#69758d;line-height:1.45;}
.lzi-customer-modern-pills{display:flex;align-items:center;gap:10px;flex-wrap:wrap;}
.lzi-customer-modern-pill,.lzi-customer-modern-status-badge{display:inline-flex;align-items:center;justify-content:center;padding:8px 14px;border-radius:999px;font-size:13px;font-weight:700;white-space:nowrap;line-height:1;max-width:100%;} .lzi-customer-modern-status-badge{overflow:hidden;text-overflow:ellipsis;}
.lzi-customer-modern-pill.next{background:#b0b8c4;color:#fff;}
.lzi-customer-modern-status-badge.progress{background:#e8efff;color:#4d7be4;}
.lzi-customer-modern-status-badge.review{background:#eef2f7;color:#546278;}
.lzi-customer-modern-status-badge.needs-review{background:#fff1d6;color:#b77b15;}
.lzi-customer-modern-status-badge.approved{background:#e7f7ec;color:#2d8f5a;}
.lzi-customer-modern-status-badge.waiting{background:#fff4df;color:#9a6e12;}
.lzi-customer-modern-status-badge.hold{background:#fdecec;color:#b44949;}
.lzi-customer-modern-status-badge.partial{background:#edf2ff;color:#516fd0;}
.lzi-customer-modern-status-badge.completed{background:#e8f7ef;color:#2b8e62;}
.lzi-customer-modern-status-badge.default{background:#eef2f7;color:#546278;}
.lzi-customer-modern-detail{padding:16px 18px 24px;background:rgba(255,255,255,.96);border:1px solid #dde5f0;border-radius:18px;box-shadow:0 10px 24px rgba(28,40,68,.05);}
.lzi-customer-modern-detail-title{font-size:30px;font-weight:800;color:#1d2940;margin:0 0 12px;}
.lzi-customer-modern-divider{height:1px;background:#dfe5ef;margin:0 0 16px;}
.lzi-customer-modern-meta{display:grid;gap:14px;margin-bottom:18px;font-size:17px;color:#324056;}
.lzi-customer-modern-meta strong{color:#2e3b51;min-width:110px;display:inline-block;}
.lzi-customer-modern-card{border:1px solid #d8e0ec;border-radius:6px;background:#fff;margin-bottom:16px;overflow:hidden;}
.lzi-customer-modern-card-body{padding:16px 18px;}
.lzi-customer-modern-card-title{font-size:21px;font-weight:800;color:#2f3b50;margin:0 0 10px;padding-bottom:8px;border-bottom:2px solid #d7dde8;}
.lzi-customer-modern-timing-list{display:grid;gap:12px;font-size:16px;font-weight:600;color:#37445b;}
.lzi-customer-modern-timing-list strong{color:#2e3b51;}
.lzi-customer-modern-warning,.lzi-customer-modern-bottom-warning,.lzi-portal-cutoff-warning{display:flex;gap:12px;align-items:flex-start;background:#fff5de;border:1px solid #f0dfb2;color:#4e4c42;padding:16px 14px;border-radius:4px;font-size:15px;line-height:1.45;}
.lzi-customer-modern-bottom-warning{margin-top:12px;font-size:14px;padding:12px 12px;}
.lzi-customer-modern-warning-icon,.lzi-portal-warning-icon{width:20px;height:20px;border-radius:50%;background:#e29b18;color:#fff;display:inline-flex;align-items:center;justify-content:center;font-size:12px;font-weight:800;flex:0 0 auto;}
.lzi-customer-modern-products-table{width:100%;border-collapse:collapse;font-size:16px;table-layout:fixed;}
.lzi-customer-modern-products-table th,.lzi-customer-modern-products-table td{border-bottom:1px solid #dde4ef;padding:13px 10px;text-align:left;vertical-align:top;word-break:normal;overflow-wrap:anywhere;}
.lzi-customer-modern-products-table th{color:#44526c;font-size:14px;font-weight:700;background:#fff;}
.lzi-customer-modern-products-table th.ref,.lzi-customer-modern-products-table td.ref{width:90px;}
.lzi-customer-modern-products-table .qty{text-align:center;width:90px;}
.lzi-customer-modern-products-table .availability{text-align:left;width:150px;}
.lzi-customer-modern-products-table tbody tr.is-backordered{background:#fff9e8;}
.lzi-customer-modern-products-table tbody tr.is-backordered td{border-bottom-color:#f2dfaa;}
.lzi-customer-modern-section-title{font-size:18px;font-weight:800;color:#2f3b50;margin:18px 0 10px;padding-top:10px;border-top:1px solid #dfe5ef;}
.lzi-customer-modern-radio-row{display:flex;align-items:flex-start;gap:10px;margin:14px 0;color:#304059;}
.lzi-customer-modern-radio{width:18px;height:18px;border-radius:50%;border:2px solid #7a88a2;margin-top:1px;position:relative;flex:0 0 auto;}
.lzi-customer-modern-radio.active{border-color:#4c7ce5;}
.lzi-customer-modern-radio.active::after{content:"";position:absolute;inset:3px;border-radius:50%;background:#4c7ce5;}
.lzi-customer-modern-radio-copy strong{display:block;font-size:16px;margin-bottom:6px;color:#2f3b50;}
.lzi-customer-modern-radio-copy small{font-size:13px;color:#5f6c84;display:block;line-height:1.4;}
.lzi-customer-modern-schedule-row{display:flex;align-items:center;gap:14px;margin-left:28px;margin-top:8px;font-size:15px;color:#475369;}
.lzi-customer-modern-schedule-select{height:38px;border:1px solid #cfd7e6;border-radius:4px;padding:0 12px;background:#fff;display:flex;align-items:center;gap:10px;color:#2f3b50;min-width:150px;}
.lzi-portal-shipping-card{margin-top:16px;border:1px solid #d8e0ec;border-radius:14px;background:#fff;padding:18px;}
.lzi-portal-shipping-card h3{margin:0 0 12px;font-size:20px;color:#2f3b50;}
.lzi-portal-radio-row{display:flex;align-items:flex-start;gap:10px;margin:14px 0;color:#304059;}
.lzi-portal-radio-row input{margin-top:2px;}
.lzi-portal-radio-row strong{display:block;font-size:16px;margin-bottom:6px;color:#2f3b50;}
.lzi-portal-radio-row small{display:block;font-size:13px;color:#5f6c84;line-height:1.4;}
.lzi-portal-schedule-row{display:flex;align-items:center;gap:14px;margin-left:28px;margin-top:8px;}
.lzi-portal-schedule-row label{margin:0;font-size:15px;font-weight:600;color:#475369;}
.lzi-portal-schedule-row input{max-width:220px;}
.lzi-portal-cutoff-warning{margin-top:12px;}

.lzi-customer-modern-warning-chip,.lzi-customer-modern-inline-warning{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;background:none !important;color:inherit;font-size:18px;line-height:1;font-style:normal;font-weight:400;}
.lzi-customer-modern-warning-chip{width:20px;height:20px;margin-right:4px;vertical-align:middle;font-size:19px;}
.lzi-customer-modern-inline-warning{width:18px;height:18px;margin-right:8px;vertical-align:-2px;font-size:18px;}
.lzi-customer-modern-availability-badge{display:inline-flex;align-items:center;gap:6px;padding:6px 10px;border-radius:999px;font-size:12px;font-weight:700;line-height:1;}
.lzi-customer-modern-availability-badge.backordered{background:#fff1d6;color:#b77b15;}
.lzi-customer-modern-row.has-backorder{box-shadow:inset 4px 0 0 #f0b93d;}
.lzi-customer-modern-row.has-backorder .lzi-customer-modern-main,.lzi-customer-modern-row.has-backorder .lzi-customer-modern-po span{color:#2f3b50;}
.lzi-customer-modern-meta > div{display:flex;align-items:center;gap:8px;flex-wrap:wrap;}
@media (max-width:1180px){.lzi-customer-modern-shell{grid-template-columns:1fr;}.lzi-customer-modern-left{border-right:none;border-bottom:1px solid #dfe5ef;}}
@media (max-width:980px){.lzi-customer-modern-head{flex-direction:column;align-items:stretch;}.lzi-customer-modern-toolbar{flex-wrap:wrap;}.lzi-customer-modern-toolbar-actions{margin-left:auto;}.lzi-customer-modern-head-row,.lzi-customer-modern-row{grid-template-columns:1fr 1fr;}.lzi-customer-modern-right{padding:14px;}}


@media (max-width:900px){
  .lzi-customer-modern-products-table,
  .lzi-customer-modern-products-table tbody,
  .lzi-customer-modern-products-table tr,
  .lzi-customer-modern-products-table td{
    display:block !important;
    width:100% !important;
  }
  .lzi-customer-modern-products-table{
    table-layout:auto !important;
    border-collapse:separate !important;
    border-spacing:0 14px !important;
    background:transparent !important;
  }
  .lzi-customer-modern-products-table thead{display:none !important;}
  .lzi-customer-modern-products-table tbody tr{
    background:#fff !important;
    border:1px solid #dbe2ee !important;
    border-radius:18px !important;
    overflow:hidden !important;
    box-shadow:none !important;
  }
  .lzi-customer-modern-products-table tbody tr.is-backordered{
    background:#fff9e8 !important;
    border-color:#f2dfaa !important;
  }
  .lzi-customer-modern-products-table th.ref,
  .lzi-customer-modern-products-table td.ref,
  .lzi-customer-modern-products-table .qty,
  .lzi-customer-modern-products-table .availability{width:auto !important;}
  .lzi-customer-modern-products-table td{
    padding:0 !important;
    border:none !important;
    border-top:1px solid #dde4ef !important;
    overflow-wrap:break-word !important;
    word-break:normal !important;
    white-space:normal !important;
    text-align:left !important;
  }
  .lzi-customer-modern-products-table tbody tr td:first-child{border-top:none !important;}
  .lzi-customer-modern-products-table td::before{
    content:attr(data-label);
    display:block;
    padding:16px 18px 6px;
    font-size:13px;
    font-weight:800;
    line-height:1.2;
    color:#5d6a84;
    text-transform:none;
    letter-spacing:0;
  }
  .lzi-customer-modern-products-table td > strong,
  .lzi-customer-modern-products-table td > span,
  .lzi-customer-modern-products-table td{
    font-size:16px;
    line-height:1.4;
    color:#2f3b50;
  }
  .lzi-customer-modern-products-table td strong{
    display:inline !important;
    white-space:normal !important;
    word-break:normal !important;
    overflow-wrap:anywhere !important;
  }
  .lzi-customer-modern-products-table td.ref,
  .lzi-customer-modern-products-table td.qty,
  .lzi-customer-modern-products-table td.availability,
  .lzi-customer-modern-products-table td:not(.ref):not(.qty):not(.availability){
    padding:0 18px 16px !important;
    text-align:left !important;
  }
  .lzi-customer-modern-products-table td.qty,
  .lzi-customer-modern-products-table td.qty *{
    text-align:left !important;
    justify-content:flex-start !important;
  }
  .lzi-customer-modern-products-table td.qty::before{padding-bottom:6px;}
  .lzi-customer-modern-products-table .lzi-customer-modern-inline-warning{margin-right:8px;}
  .lzi-customer-modern-products-table .lzi-customer-modern-availability-badge{display:inline-flex !important;}
}

.lzi-customer-modern-meta .lzi-customer-modern-pill.next{margin-left:10px;}
.lzi-customer-modern-meta strong{margin-right:4px;}

/* ========================================
   CSS PART 6.8 START - Grouped Product Families
======================================== */
.lzi-product-search-wrap{
  position:relative;
  flex:1 1 280px;
  min-width:240px;
  max-width:100%;
}

.lzi-product-family-search{
  width:100%;
  min-height:44px;
  padding:10px 14px;
  border:1px solid #e0e3eb;
  border-radius:12px;
  background:#fff;
  color:var(--text);
  font-size:15px;
  outline:none;
  box-sizing:border-box;
}

.lzi-product-family-search:focus{
  border-color:#b8c8f5;
  box-shadow:0 0 0 4px rgba(91,134,240,.10);
}

.lzi-product-modal-table tbody tr.lzi-product-family-spacer td{
  padding:10px 0 !important;
  border:none !important;
  background:transparent !important;
}

.lzi-product-modal-table tbody tr.lzi-product-family-header td{
  position:sticky;
  top:45px;
  z-index:1;
  padding:14px 16px !important;
  background:linear-gradient(180deg,#f8fbff 0%,#f4f7fd 100%) !important;
  color:#304364;
  border-top:1px solid #dbe6fb !important;
  border-bottom:1px solid #dbe6fb !important;
}

.lzi-product-modal-table tbody tr.lzi-product-family-header strong{
  font-size:15px;
  font-weight:800;
  color:#1f3558;
  letter-spacing:.01em;
}

.lzi-product-modal-table tbody tr.lzi-product-family-header span{
  display:inline-flex;
  align-items:center;
  padding:4px 10px;
  border-radius:999px;
  background:#eaf1ff;
  color:#42639a;
  font-size:12px;
  font-weight:700;
  white-space:nowrap;
}

.lzi-product-modal-table tbody tr.lzi-product-family-product-row{
  cursor:pointer;
  transition:background-color .18s ease, box-shadow .18s ease;
}

.lzi-product-modal-table tbody tr.lzi-product-family-product-row td{
  transition:background-color .18s ease, border-color .18s ease;
}

.lzi-product-modal-table tbody tr.lzi-product-family-product-row:hover td,
.lzi-product-modal-table tbody tr.lzi-product-family-product-row:focus td{
  background:#f8fbff !important;
}

.lzi-product-modal-table tbody tr.lzi-product-family-product-row:focus{
  outline:none;
}

.lzi-product-modal-table tbody tr.lzi-product-family-product-row:focus td:first-child{
  box-shadow:inset 3px 0 0 #8eaef7;
}

.lzi-product-modal-table tbody tr.lzi-product-family-product-row.is-selected td,
.lzi-product-modal-table tbody tr.lzi-product-family-product-row.is-selected:hover td,
.lzi-product-modal-table tbody tr.lzi-product-family-product-row.is-selected:focus td{
  background:#f5f0ff !important;
}

.lzi-product-modal-table tbody tr.lzi-product-family-product-row.is-selected td:first-child{
  box-shadow:inset 3px 0 0 #8b63dc;
}

.lzi-product-modal-table tbody tr.lzi-product-family-product-row + tr.lzi-product-family-product-row td{
  border-top-color:#f4f6fb;
}

.lzi-product-modal-table .lzi-product-choice{
  width:18px;
  height:18px;
  cursor:pointer;
  accent-color:#6d7cff;
}

.lzi-product-selection-warning{
  margin-top:10px;
  padding:12px 14px;
  border:1px solid #f1c2c2;
  border-radius:12px;
  background:#fff6f6;
  color:#9d3535;
  font-size:14px;
  line-height:1.5;
  box-shadow:0 8px 20px rgba(157,53,53,.06);
}

.lzi-product-selection-warning[hidden]{
  display:none !important;
}

.lzi-modal-actions .lzi-product-apply-selection:disabled,
.lzi-modal-actions .lzi-product-apply-selection[disabled]{
  opacity:.58;
  cursor:not-allowed;
  filter:saturate(.72);
}

.lzi-product-modal-table tbody tr.lzi-product-family-product-row td:nth-child(2){
  font-weight:700;
  color:#304364;
  white-space:nowrap;
}

.lzi-product-modal-table tbody tr.lzi-product-family-product-row td:nth-child(3) strong{
  display:block;
  margin-bottom:3px;
}

.lzi-product-modal-table tbody tr.lzi-product-family-product-row td:nth-child(3) div:last-child{
  color:#6f7482;
}

/* Minimal grouped admin management UI support */
.lzi-group-admin-grid,
.lzi-grouped-admin-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:18px;
  margin-top:18px;
}

.lzi-group-admin-card,
.lzi-grouped-admin-card{
  background:#fff;
  border:1px solid #e6e9f2;
  border-radius:16px;
  padding:18px;
  box-shadow:0 8px 20px rgba(29,31,37,.03);
}

.lzi-group-admin-card h3,
.lzi-grouped-admin-card h3{
  margin:0 0 12px;
  font-size:18px;
  color:var(--text);
}

.lzi-group-admin-inline,
.lzi-grouped-admin-inline{
  display:flex;
  gap:10px;
  align-items:center;
  flex-wrap:wrap;
}

.lzi-group-admin-badge,
.lzi-grouped-admin-badge{
  display:inline-flex;
  align-items:center;
  padding:4px 10px;
  border-radius:999px;
  background:#eef4ff;
  color:#42639a;
  font-size:12px;
  font-weight:700;
}

@media (max-width:980px){
  .lzi-product-modal-toolbar{
    align-items:stretch;
  }

  .lzi-product-search-wrap{
    flex:1 1 100%;
    width:100%;
    min-width:0;
    margin-left:0 !important;
  }

  .lzi-product-modal-table tbody tr.lzi-product-family-header td{
    top:45px;
  }

  .lzi-group-admin-grid,
  .lzi-grouped-admin-grid{
    grid-template-columns:1fr;
  }
}
/* ========================================
   CSS PART 6.8 END - Grouped Product Families
======================================== */


/* ===== ORDER PORTAL MOCKUP THEME PATCH ===== */
.lzi-order-form-page{
  padding-top:14px;
}
.lzi-order-form-page .lzi-order-form-shell{
  background:#f7f8fc;
  border:1px solid #d9deea;
  border-radius:22px;
  overflow:hidden;
  box-shadow:none;
  padding:0;
  gap:0;
}
.lzi-order-form-page .lzi-alert{
  margin-bottom:18px;
}
.lzi-order-top-head{
  display:grid;
  grid-template-columns:minmax(0,1fr) 420px;
  gap:32px;
  align-items:start;
  padding:34px 28px 22px;
  border-bottom:1px solid #d9deea;
  background:#f7f8fc;
}
.lzi-order-brand-area{
  display:flex;
  align-items:center;
  min-height:64px;
  gap:16px;
  min-width:0;
}
.lzi-order-logo{
  font-size:40px;
  font-weight:700;
  line-height:1;
  letter-spacing:-0.8px;
  display:inline-flex;
  align-items:baseline;
  flex-wrap:wrap;
}
.lzi-order-logo-dark{color:#17244a;}
.lzi-order-logo-blue{color:#4f84e8;}
.lzi-order-brand-edit-field{
  max-width:360px;
  width:100%;
}
.lzi-order-brand-edit-field label{
  font-size:14px;
  margin-bottom:8px;
}
.lzi-order-top-right{
  display:grid;
  gap:14px;
  align-items:start;
}
.lzi-order-title{
  text-align:right;
  font-size:26px;
  font-weight:600;
  color:#1d2b4f;
  line-height:1.2;
}
.lzi-portal-layout-section{
  padding:26px 28px;
  border-bottom:1px solid #d9deea;
  background:#f7f8fc;
}
.lzi-portal-layout-section:last-of-type{
  border-bottom:0;
}
.lzi-order-shipping-layout{
  display:grid;
  grid-template-columns:minmax(0,1fr) 420px;
  gap:32px;
  align-items:start;
}
.lzi-order-section-title,
.lzi-order-subsection-title{
  font-size:22px;
  font-weight:600;
  color:#1d2b4f;
  margin:0 0 22px;
}
.lzi-order-timing-options{
  display:grid;
  gap:22px;
  padding-top:4px;
  margin-top:0;
  border:0;
  background:transparent;
  padding-left:0;
  padding-right:0;
  padding-bottom:0;
}
.lzi-order-radio-row{
  display:flex;
  align-items:flex-start;
  gap:12px;
  margin:0;
  color:#1e2c50;
}
.lzi-order-radio-row input[type="radio"]{
  margin-top:3px;
  width:20px;
  height:20px;
  accent-color:#4d87f6;
  flex-shrink:0;
}
.lzi-order-radio-row strong{
  font-size:18px;
  font-weight:500;
  line-height:1.3;
  color:#1e2c50;
  margin:0;
}
.lzi-order-radio-row small{
  margin-top:8px;
  font-size:14px;
  color:#6f7d99;
  line-height:1.45;
}
.lzi-order-info-box,
.lzi-order-form-page .lzi-company-lock-note,
.lzi-order-form-page .lzi-note{
  margin-top:24px;
  background:#edf1fa;
  border:1px solid #e6eaf3;
  border-radius:12px;
  padding:16px 18px;
  font-size:15px;
  line-height:1.45;
  color:#51607f;
}
.lzi-order-top-fields{
  display:grid;
  gap:18px;
  align-items:start;
}
.lzi-order-po-field,
.lzi-order-timezone-field{
  margin:0;
}
.lzi-order-timezone-field .lzi-catalog-static{
  height:56px;
  display:flex;
  align-items:center;
}
.lzi-order-two-col{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  gap:0;
}
.lzi-order-col-block{
  padding-right:28px;
  min-width:0;
}
.lzi-order-col-block + .lzi-order-col-block{
  border-left:1px solid #d9deea;
  padding-left:28px;
  padding-right:0;
}
.lzi-order-col-block .lzi-field + .lzi-field{
  margin-top:18px;
}
.lzi-order-products-section{
  margin:0;
  background:#f7f8fc;
  border:0;
  border-radius:0;
  box-shadow:none;
  padding:26px 28px;
}
.lzi-order-products-grid{
  display:grid;
  grid-template-columns:220px minmax(0,380px);
  gap:18px;
  align-items:end;
  margin-bottom:16px;
}
.lzi-order-products-grid .lzi-product-picker-type,
.lzi-order-products-grid .lzi-product-picker-action{
  display:grid;
  gap:8px;
}
.lzi-order-products-grid label{
  font-size:16px;
  font-weight:500;
  color:#223255;
  margin:0;
}
.lzi-order-products-grid .lzi-inline-btn,
.lzi-order-products-grid .lzi-primary-btn{
  width:100%;
  height:56px;
  border-radius:12px;
  font-size:16px;
  font-weight:700;
  letter-spacing:.3px;
}
.lzi-order-form-page .lzi-permission-note{
  background:#edf1fa;
  border:1px solid #e6eaf3;
  border-radius:10px;
  padding:14px;
  color:#66728e;
  font-size:14px;
  margin:0 0 14px;
}
.lzi-order-form-page #lzi-product-list{
  margin-top:0;
  background:#f5f7fc;
  border:1px dashed #cfd7e8;
  border-radius:10px;
  padding:18px;
  min-height:96px;
}
.lzi-order-form-page .lzi-product-empty{
  margin:0;
  border:0;
  background:transparent;
  padding:0;
  color:#4e5c7d;
  font-size:16px;
  text-align:center;
}
.lzi-order-form-page .lzi-product-card{
  background:#fff;
  border:1px solid #d9deea;
  border-radius:14px;
}
.lzi-order-form-page .lzi-product-card + .lzi-product-card{
  margin-top:14px;
}
.lzi-submit-wrap{
  margin-top:18px;
}
.lzi-order-form-page .lzi-submit-btn{
  width:100%;
  min-height:58px;
  margin-top:0;
  border-radius:12px;
  font-size:20px;
  font-weight:700;
  letter-spacing:.4px;
}
.lzi-submit-note{
  text-align:center;
  margin-top:20px;
  color:#6a7694;
  font-size:14px;
  line-height:1.5;
}
.lzi-order-form-page .lzi-field label{
  font-size:16px;
  font-weight:500;
  color:#223255;
  margin-bottom:8px;
}
.lzi-order-form-page .lzi-field input,
.lzi-order-form-page .lzi-field textarea,
.lzi-order-form-page .lzi-field select,
.lzi-order-form-page .lzi-catalog-static,
.lzi-order-form-page .lzi-catalog-filter{
  width:100%;
  border:1px solid #d9deea;
  background:#fff;
  color:#233255;
  border-radius:12px;
  font-size:16px;
  outline:none;
  box-shadow:none;
}
.lzi-order-form-page .lzi-field input,
.lzi-order-form-page .lzi-field select,
.lzi-order-form-page .lzi-catalog-filter,
.lzi-order-form-page .lzi-catalog-static{
  min-height:56px;
  padding:0 16px;
}
.lzi-order-form-page .lzi-field textarea{
  min-height:120px;
  resize:vertical;
  padding:14px 16px;
  line-height:1.45;
}
.lzi-order-form-page .lzi-field input:focus,
.lzi-order-form-page .lzi-field textarea:focus,
.lzi-order-form-page .lzi-field select:focus,
.lzi-order-form-page .lzi-catalog-filter:focus{
  border-color:#91b6ff;
  box-shadow:0 0 0 3px rgba(77,135,246,.12);
}
.lzi-order-form-page .lzi-field-error,
.lzi-order-form-page .lzi-field-error-box{
  border-color:#e4a1a1 !important;
}
.lzi-order-form-page .lzi-portal-schedule-row{
  display:flex;
  align-items:center;
  gap:14px;
  margin-left:32px;
  margin-top:-8px;
}
.lzi-order-form-page .lzi-portal-schedule-row label{
  margin:0;
  font-size:15px;
  font-weight:600;
  color:#475369;
}
.lzi-order-form-page .lzi-themed-date{
  max-width:220px;
}
@media (max-width: 980px){
  .lzi-order-top-head,
  .lzi-order-shipping-layout,
  .lzi-order-two-col,
  .lzi-order-products-grid{
    grid-template-columns:1fr;
  }
  .lzi-order-title{
    text-align:left;
  }
  .lzi-order-col-block,
  .lzi-order-col-block + .lzi-order-col-block{
    padding:0;
    border-left:0;
  }
  .lzi-order-col-block + .lzi-order-col-block{
    margin-top:28px;
  }
}
@media (max-width: 640px){
  .lzi-order-form-page{
    padding-top:0;
  }
  .lzi-order-form-page .lzi-order-form-shell{
    border-radius:16px;
  }
  .lzi-order-top-head,
  .lzi-portal-layout-section,
  .lzi-order-products-section{
    padding-left:18px;
    padding-right:18px;
  }
  .lzi-order-logo{
    font-size:32px;
  }
  .lzi-order-title,
  .lzi-order-section-title,
  .lzi-order-subsection-title{
    font-size:22px;
  }
  .lzi-order-products-grid{
    grid-template-columns:1fr;
  }
  .lzi-order-form-page .lzi-product-row-static{
    grid-template-columns:1fr !important;
  }
  .lzi-order-form-page .lzi-product-actions{
    flex-direction:column;
    align-items:stretch;
  }
}

/* ===== ORDER PORTAL EXACT MOCKUP OVERRIDES ===== */
.lzi-order-form-page{
  background:var(--bg);
  color:var(--text);
  padding-top:24px;
}
.lzi-order-form-page .lzi-shell{max-width:1280px;}
.lzi-order-form-page .lzi-order-form-shell{
  background:transparent !important;
  border:0 !important;
  box-shadow:none !important;
  padding:0 !important;
}
.lzi-order-form-page .page{max-width:1280px;margin:0 auto;}
.lzi-order-form-page .form-shell{
  background:var(--panel);
  border:1px solid var(--border);
  border-radius:22px;
  overflow:hidden;
}
.lzi-order-form-page .top-head{
  display:grid;
  grid-template-columns:1fr 420px;
  gap:32px;
  align-items:start;
  padding:34px 28px 22px;
  border-bottom:1px solid var(--border);
}
.lzi-order-form-page .brand-area{display:flex;align-items:center;min-height:64px;}
.lzi-order-form-page .logo{font-size:40px;font-weight:700;line-height:1;letter-spacing:-0.8px;display:inline-flex;align-items:baseline;gap:0;}
.lzi-order-form-page .logo-dark{color:#17244a;}
.lzi-order-form-page .logo-blue{color:#4f84e8;}
.lzi-order-form-page .top-right{display:grid;gap:14px;align-items:start;}
.lzi-order-form-page .order-title{text-align:right;font-size:26px;font-weight:600;color:#1d2b4f;}
.lzi-order-form-page .input,
.lzi-order-form-page .select,
.lzi-order-form-page .textarea{
  width:100%;
  border:1px solid var(--border);
  background:#fff;
  color:#233255;
  border-radius:12px;
  font-family:inherit;
  font-size:16px;
  outline:none;
}
.lzi-order-form-page .input,
.lzi-order-form-page .select{height:56px;padding:0 16px;}
.lzi-order-form-page .textarea{min-height:96px;resize:vertical;padding:14px 16px;line-height:1.4;}
.lzi-order-form-page .input::placeholder,
.lzi-order-form-page .textarea::placeholder{color:var(--muted-2);}
.lzi-order-form-page .select{appearance:none;background-image:linear-gradient(45deg, transparent 50%, #60708e 50%),linear-gradient(135deg, #60708e 50%, transparent 50%);background-position:calc(100% - 20px) calc(50% - 3px),calc(100% - 14px) calc(50% - 3px);background-size:6px 6px, 6px 6px;background-repeat:no-repeat;padding-right:40px;display:flex;align-items:center;}
.lzi-order-form-page .input:focus,
.lzi-order-form-page .select:focus,
.lzi-order-form-page .textarea:focus{border-color:#91b6ff;box-shadow:0 0 0 3px rgba(77, 135, 246, 0.12);}
.lzi-order-form-page .section{padding:26px 28px;border-bottom:1px solid var(--border);}
.lzi-order-form-page .section:last-child{border-bottom:0;}
.lzi-order-form-page .section-title{font-size:22px;font-weight:600;color:#1d2b4f;margin-bottom:22px;}
.lzi-order-form-page .shipping-layout{display:grid;grid-template-columns:1fr 420px;gap:32px;align-items:start;}
.lzi-order-form-page .timing-options{display:grid;gap:22px;padding-top:4px;}
.lzi-order-form-page .radio-row{display:flex;align-items:flex-start;gap:12px;}
.lzi-order-form-page .radio-row input[type="radio"]{margin-top:3px;width:20px;height:20px;accent-color:var(--blue);flex-shrink:0;}
.lzi-order-form-page .radio-main{font-size:18px;font-weight:500;color:#1e2c50;line-height:1.3;}
.lzi-order-form-page .radio-sub{margin-top:8px;font-size:14px;color:var(--muted);}
.lzi-order-form-page .info-box{margin-top:24px;background:#edf1fa;border:1px solid var(--border-soft);border-radius:12px;padding:16px 18px;font-size:15px;line-height:1.45;color:#51607f;}
.lzi-order-form-page .two-col{display:grid;grid-template-columns:1fr 1fr;gap:0;}
.lzi-order-form-page .col-block{padding-right:28px;}
.lzi-order-form-page .col-block + .col-block{border-left:1px solid var(--border);padding-left:28px;padding-right:0;}
.lzi-order-form-page .subsection-title{font-size:22px;font-weight:600;margin-bottom:22px;color:#1d2b4f;}
.lzi-order-form-page .mini-title{display:flex;align-items:center;gap:12px;margin-bottom:18px;}
.lzi-order-form-page .mini-title-text{font-size:16px;font-weight:500;color:#223255;white-space:nowrap;}
.lzi-order-form-page .mini-line{height:1px;flex:1;background:var(--border);}
.lzi-order-form-page .billing-list{display:grid;gap:18px;}
.lzi-order-form-page .billing-item{display:grid;gap:6px;}
.lzi-order-form-page .billing-label{font-size:15px;color:#223255;font-weight:500;}
.lzi-order-form-page .billing-value{font-size:16px;color:#2b3a5d;line-height:1.45;}
.lzi-order-form-page .shipping-form{display:grid;gap:18px;}
.lzi-order-form-page .field{display:grid;gap:8px;min-width:0;}
.lzi-order-form-page .field-head{display:flex;align-items:center;gap:10px;}
.lzi-order-form-page .field-label{font-size:16px;font-weight:500;color:#223255;white-space:nowrap;}
.lzi-order-form-page .field-line{flex:1;height:1px;background:var(--border);}
.lzi-order-form-page .products-grid{display:grid;grid-template-columns:220px 380px;gap:18px;align-items:end;margin-bottom:16px;}
.lzi-order-form-page .products-field{display:grid;gap:8px;}
.lzi-order-form-page .products-label{font-size:16px;font-weight:500;color:#223255;}
.lzi-order-form-page .btn-blue{height:56px;border:0;border-radius:12px;color:#fff;font-family:inherit;font-size:16px;font-weight:700;letter-spacing:0.3px;cursor:pointer;background:linear-gradient(135deg, var(--blue), var(--blue-2));}
.lzi-order-form-page .note-bar{background:#edf1fa;border:1px solid var(--border-soft);border-radius:10px;padding:14px 14px;color:#66728e;font-size:14px;margin-bottom:14px;}
.lzi-order-form-page .empty-box{background:#f5f7fc;border:1px dashed #cfd7e8;border-radius:10px;padding:18px;color:#4e5c7d;font-size:16px;text-align:center;margin-bottom:18px;min-height:96px;}
.lzi-order-form-page .empty-box .lzi-product-empty{background:transparent;border:0;padding:0;margin:0;color:#4e5c7d;font-size:16px;text-align:center;}
.lzi-order-form-page .empty-box .lzi-product-card{background:#fff;border:1px solid var(--border);border-radius:16px;padding:18px;text-align:left;}
.lzi-order-form-page .empty-box .lzi-product-card + .lzi-product-card{margin-top:14px;}
.lzi-order-form-page .submit-wrap{margin-top:6px;}
.lzi-order-form-page .submit-btn{width:100%;height:58px;border:0;border-radius:12px;color:#fff;font-family:inherit;font-size:20px;font-weight:700;letter-spacing:0.4px;cursor:pointer;background:linear-gradient(135deg, var(--blue), var(--blue-2));margin-top:0;}
.lzi-order-form-page .submit-note{text-align:center;margin-top:20px;color:#6a7694;font-size:14px;line-height:1.5;}
.lzi-order-form-page .lzi-alert{margin-bottom:18px;}
.lzi-order-form-page .lzi-portal-schedule-row{display:flex;align-items:center;gap:14px;margin-left:32px;margin-top:-8px;}
.lzi-order-form-page .lzi-portal-schedule-row label{margin:0;font-size:15px;font-weight:600;color:#475369;}
.lzi-order-form-page .lzi-themed-date{max-width:220px;}
@media (max-width: 980px){
  .lzi-order-form-page .top-head,
  .lzi-order-form-page .shipping-layout,
  .lzi-order-form-page .two-col,
  .lzi-order-form-page .products-grid{grid-template-columns:1fr;}
  .lzi-order-form-page .order-title{text-align:left;}
  .lzi-order-form-page .col-block,
  .lzi-order-form-page .col-block + .col-block{padding:0;border-left:0;}
  .lzi-order-form-page .col-block + .col-block{margin-top:28px;}
}
@media (max-width: 640px){
  .lzi-order-form-page{padding-top:12px;}
  .lzi-order-form-page .form-shell{border-radius:16px;}
  .lzi-order-form-page .top-head,
  .lzi-order-form-page .section{padding-left:18px;padding-right:18px;}
  .lzi-order-form-page .logo{font-size:32px;}
  .lzi-order-form-page .order-title,
  .lzi-order-form-page .section-title,
  .lzi-order-form-page .subsection-title{font-size:22px;}
  .lzi-order-form-page .products-grid{grid-template-columns:1fr;}
}


/* Orders Portal baseline from latest pasted HTML */
/* Order Portal baseline theme v1.0.0 */
.lzi-portal-page .lzi-order-baseline,
.lzi-portal-page .lzi-order-baseline * { box-sizing: border-box; }
.lzi-portal-page .lzi-order-baseline {
  max-width: 980px !important;
  margin: 0 auto !important;
  background: #ffffff !important;
  border: 1px solid #d7deeb !important;
  border-radius: 10px !important;
  color: #1f2f57 !important;
  font-family: Arial, sans-serif !important;
  overflow: hidden !important;
}
.lzi-portal-page .lzi-order-baseline header,
.lzi-portal-page .lzi-order-baseline section,
.lzi-portal-page .lzi-order-baseline footer {
  padding: 20px !important;
  border-bottom: 1px solid #d7deeb !important;
  margin: 0 !important;
}
.lzi-portal-page .lzi-order-baseline footer { border-bottom: none !important; }
.lzi-portal-page .lzi-order-baseline h1,
.lzi-portal-page .lzi-order-baseline h2 {
  margin-top: 0 !important;
  margin-bottom: 12px !important;
  color: #1f2f57 !important;
  line-height: 1.25 !important;
}
.lzi-portal-page .lzi-order-baseline h1 { font-size: 18px !important; font-weight: 700 !important; }
.lzi-portal-page .lzi-order-baseline h2 { font-size: 15px !important; font-weight: 700 !important; }
.lzi-portal-page .lzi-order-baseline p { margin-top: 0 !important; }
.lzi-portal-page .lzi-order-baseline form { margin: 0 !important; }
.lzi-portal-page .lzi-order-baseline label {
  display: inline-block !important;
  margin-bottom: 6px !important;
  font-size: 13px !important;
  color: #1f2f57 !important;
}
.lzi-portal-page .lzi-order-baseline input,
.lzi-portal-page .lzi-order-baseline textarea,
.lzi-portal-page .lzi-order-baseline select,
.lzi-portal-page .lzi-order-baseline button { font: inherit !important; }
.lzi-portal-page .lzi-order-baseline input[type="text"],
.lzi-portal-page .lzi-order-baseline input[type="email"],
.lzi-portal-page .lzi-order-baseline textarea,
.lzi-portal-page .lzi-order-baseline select,
.lzi-portal-page .lzi-order-baseline .lzi-catalog-static {
  width: 100% !important;
  padding: 10px !important;
  border: 1px solid #cfd7e6 !important;
  border-radius: 6px !important;
  background: #fff !important;
  color: #1f2f57 !important;
  box-shadow: none !important;
}
.lzi-portal-page .lzi-order-baseline textarea {
  min-height: 90px !important;
  resize: vertical !important;
}
.lzi-portal-page .lzi-order-baseline button {
  padding: 10px 16px !important;
  border: 1px solid #5b8ef7 !important;
  border-radius: 6px !important;
  background: #5b8ef7 !important;
  color: #fff !important;
  cursor: pointer !important;
  box-shadow: none !important;
}
.lzi-portal-page .lzi-order-baseline fieldset { margin: 0 !important; padding: 0 !important; border: none !important; }
.lzi-portal-page .lzi-order-baseline legend {
  padding: 0 !important;
  margin-bottom: 12px !important;
  font-weight: bold !important;
  font-size: 15px !important;
  color: #1f2f57 !important;
}
.lzi-portal-page .lzi-order-baseline #topbar {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  gap: 20px !important;
}
.lzi-portal-page .lzi-order-baseline #companyname {
  font-size: 22px !important;
  font-weight: bold !important;
  color: #1f2f57 !important;
}
.lzi-portal-page .lzi-order-baseline #companyname .companyname-blue { color: #2563eb !important; }
.lzi-portal-page .lzi-order-baseline #shippingrow,
.lzi-portal-page .lzi-order-baseline #detailsrow,
.lzi-portal-page .lzi-order-baseline #productrow {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 24px !important;
}
.lzi-portal-page .lzi-order-baseline #billingdetails {
  border-right: 1px solid #d7deeb !important;
  padding-right: 24px !important;
}
.lzi-portal-page .lzi-order-baseline #billingdetails p { margin-bottom: 10px !important; }
.lzi-portal-page .lzi-order-baseline #catalogandbutton {
  display: grid !important;
  grid-template-columns: 1fr auto !important;
  gap: 16px !important;
  align-items: end !important;
}
.lzi-portal-page .lzi-order-baseline [role="alert"],
.lzi-portal-page .lzi-order-baseline .lzi-portal-cutoff-warning {
  margin-top: 12px !important;
  padding: 10px 12px !important;
  border: 1px solid #d8dfec !important;
  border-radius: 6px !important;
  background: #edf2fb !important;
  font-size: 13px !important;
  color: #52627f !important;
}
.lzi-portal-page .lzi-order-baseline #emptyproducts {
  text-align: center !important;
  background: #f8faff !important;
  border-style: dashed !important;
}
.lzi-portal-page .lzi-order-baseline #submitnote {
  margin-top: 12px !important;
  font-size: 12px !important;
  text-align: center !important;
  color: #6f7e9b !important;
}
.lzi-portal-page .lzi-order-baseline #shippingtimingnote {
  font-size: 12px !important;
  color: #6f7e9b !important;
  margin: 4px 0 12px 24px !important;
}
.lzi-portal-page .lzi-order-baseline #submitorder {
  width: 100% !important;
  padding: 12px !important;
  font-weight: bold !important;
}
.lzi-portal-page .lzi-order-baseline .lzi-portal-schedule-row { margin-top: 16px !important; }
.lzi-portal-page .lzi-order-baseline #lzi-product-list { min-height: 24px !important; }
.lzi-portal-page .lzi-order-baseline .lzi-detail-empty.lzi-product-empty {
  color: #52627f !important;
  text-align: center !important;
}
.lzi-portal-page .lzi-order-baseline .lzi-product-card {
  margin-top: 10px !important;
  text-align: left !important;
  background: #fff !important;
  border: 1px solid #d7deeb !important;
  border-radius: 6px !important;
  padding: 12px !important;
}
.lzi-portal-page .lzi-order-baseline .lzi-product-row-static {
  display: grid !important;
  grid-template-columns: 1fr 2fr 1fr 120px !important;
  gap: 12px !important;
}
.lzi-portal-page .lzi-order-baseline .lzi-product-card .lzi-field label {
  display: block !important;
  margin-bottom: 6px !important;
  font-size: 12px !important;
}
.lzi-portal-page .lzi-order-baseline .lzi-product-actions {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  margin-top: 12px !important;
  gap: 12px !important;
  flex-wrap: wrap !important;
}
.lzi-portal-page .lzi-order-baseline .lzi-remove-btn {
  background: #fff !important;
  color: #1f2f57 !important;
  border: 1px solid #cfd7e6 !important;
}
@media (max-width: 768px) {
  .lzi-portal-page .lzi-order-baseline #topbar,
  .lzi-portal-page .lzi-order-baseline #shippingrow,
  .lzi-portal-page .lzi-order-baseline #detailsrow,
  .lzi-portal-page .lzi-order-baseline #productrow,
  .lzi-portal-page .lzi-order-baseline #catalogandbutton {
    display: block !important;
  }

  .lzi-portal-page .lzi-order-baseline #billingdetails {
    border-right: none !important;
    padding-right: 0 !important;
    margin-bottom: 20px !important;
  }

  .lzi-portal-page .lzi-order-baseline #catalogbuttonwrap { margin-top: 12px !important; }
  .lzi-portal-page .lzi-order-baseline #ponumberwrap { margin-top: 20px !important; }
  .lzi-portal-page .lzi-order-baseline .lzi-product-row-static { grid-template-columns: 1fr !important; }
}


/* Orders Portal exact UI patch */
.lzi-portal-page .lzi-topbar{max-width:1450px;margin:0 auto 24px;display:flex;justify-content:space-between;align-items:center;padding:0 12px;}
.lzi-portal-page .lzi-topbar-brand-row{display:flex;align-items:center;gap:12px;}
.lzi-portal-page .lzi-brand{font-size:16px;font-weight:700;color:#1f2f57;}
.lzi-portal-page .lzi-toplinks a{color:#61708f;text-decoration:none;font-size:13px;font-weight:600;}
.lzi-portal-page .lzi-toplinks .sep{margin:0 8px;color:#b5bfd3;}
.lzi-portal-page .lzi-shell.lzi-order-form-page{max-width:1450px;margin:0 auto;background:transparent;border:none;box-shadow:none;padding:0;}
.lzi-portal-page .lzi-order-baseline{max-width:1450px!important;background:#fff!important;border:1px solid #d7deeb!important;border-radius:16px!important;overflow:hidden!important;color:#1f2f57!important;}
.lzi-portal-page .lzi-order-baseline header,.lzi-portal-page .lzi-order-baseline section,.lzi-portal-page .lzi-order-baseline footer{padding:22px 28px!important;border-bottom:1px solid #d7deeb!important;}
.lzi-portal-page .lzi-order-baseline footer{border-bottom:none!important;}
.lzi-portal-page .lzi-order-baseline h1{font-size:20px!important;font-weight:700!important;margin:0!important;color:#16295a!important;}
.lzi-portal-page .lzi-order-baseline h2{font-size:17px!important;font-weight:700!important;margin:0 0 16px!important;color:#16295a!important;}
.lzi-portal-page .lzi-order-baseline legend{font-size:17px!important;font-weight:700!important;margin-bottom:14px!important;color:#16295a!important;}
.lzi-portal-page .lzi-order-baseline #topbar{display:flex!important;justify-content:space-between!important;align-items:center!important;gap:20px!important;}
.lzi-portal-page .lzi-order-baseline #companyname{font-size:20px!important;font-weight:700!important;color:#2563eb!important;}
.lzi-portal-page .lzi-order-baseline #shippingrow,.lzi-portal-page .lzi-order-baseline #detailsrow,.lzi-portal-page .lzi-order-baseline #productrow{display:grid!important;grid-template-columns:1fr 1fr!important;gap:34px!important;align-items:start!important;}
.lzi-portal-page .lzi-order-baseline #shippingrow{min-height:220px;}
.lzi-portal-page .lzi-order-baseline #billingdetails{border-right:1px solid #d7deeb!important;padding-right:34px!important;}
.lzi-portal-page .lzi-order-baseline .lzi-billing-stack{display:grid;gap:14px;}
.lzi-portal-page .lzi-order-baseline .lzi-billing-item strong{display:block;font-size:14px;color:#16295a;margin-bottom:4px;}
.lzi-portal-page .lzi-order-baseline .lzi-billing-item span{display:block;font-size:16px;line-height:1.45;color:#243662;}
.lzi-portal-page .lzi-order-baseline #shippingdetailspanel{display:grid;gap:18px;}
.lzi-portal-page .lzi-order-baseline .lzi-shipping-grid-top{display:grid;grid-template-columns:1fr 1fr;gap:24px;}
.lzi-portal-page .lzi-order-baseline .lzi-shipping-grid-bottom{display:grid;gap:8px;padding-top:4px;border-top:1px solid #d7deeb;}
.lzi-portal-page .lzi-order-baseline input[type="text"],.lzi-portal-page .lzi-order-baseline textarea,.lzi-portal-page .lzi-order-baseline select,.lzi-portal-page .lzi-order-baseline .lzi-catalog-static,.lzi-portal-page .lzi-order-baseline .lzi-themed-date{height:auto!important;min-height:44px;padding:11px 14px!important;border:1px solid #c7d1e3!important;border-radius:8px!important;background:#fff!important;color:#1f2f57!important;font-size:15px!important;box-shadow:none!important;}
.lzi-portal-page .lzi-order-baseline textarea{min-height:66px!important;resize:vertical;}
.lzi-portal-page .lzi-order-baseline #ponumberwrap input{font-size:18px!important;padding:14px 16px!important;border-radius:8px!important;}
.lzi-portal-page .lzi-order-baseline [role="alert"],.lzi-portal-page .lzi-order-baseline .lzi-portal-cutoff-warning{margin-top:16px!important;padding:14px 18px!important;border:1px solid #cfd8ea!important;border-radius:8px!important;background:#edf2fb!important;color:#4e617f!important;font-size:14px!important;line-height:1.45!important;}
.lzi-portal-page .lzi-order-baseline .lzi-portal-schedule-row{display:grid;grid-template-columns:140px 160px;gap:16px;align-items:center;margin-top:14px!important;}
.lzi-portal-page .lzi-order-baseline .lzi-portal-schedule-row label{margin:0!important;text-align:right;font-weight:600;font-size:14px;}
.lzi-portal-page .lzi-order-baseline #catalogandbutton{display:grid!important;grid-template-columns:1fr 200px!important;gap:16px!important;align-items:end!important;}
.lzi-portal-page .lzi-order-baseline #catalogandbutton #lzi-open-product-modal{width:100%;height:44px;border:1px solid #5b8ef7;background:#5b8ef7;color:#fff;border-radius:8px;font-size:15px;font-weight:700;}
.lzi-portal-page .lzi-order-baseline .submit-wrap{margin-top:24px!important;}
.lzi-portal-page .lzi-order-baseline #submitorder{width:100%!important;padding:14px 18px!important;border:none!important;border-radius:8px!important;background:linear-gradient(90deg,#5c8ef7,#4b7cf0)!important;color:#fff!important;font-size:18px!important;font-weight:700!important;}
.lzi-portal-page .lzi-order-baseline #submitnote{margin-top:14px!important;text-align:center!important;font-size:12px!important;color:#7a88a4!important;}
.lzi-portal-page .lzi-order-baseline .lzi-products-table-panel{display:grid;gap:14px;align-content:start;}
.lzi-portal-page .lzi-order-baseline .lzi-selected-products-table{width:100%;border-collapse:separate;border-spacing:0;border:1px solid #cfd7e6;border-radius:8px;overflow:hidden;}
.lzi-portal-page .lzi-order-baseline .lzi-selected-products-table th,.lzi-portal-page .lzi-order-baseline .lzi-selected-products-table td{padding:12px 16px;border-right:1px solid #cfd7e6;border-top:1px solid #cfd7e6;font-size:15px;vertical-align:middle;}
.lzi-portal-page .lzi-order-baseline .lzi-selected-products-table thead th{background:#f3f6fb;color:#41527a;font-weight:600;text-transform:uppercase;letter-spacing:.03em;font-size:13px;border-top:none;}
.lzi-portal-page .lzi-order-baseline .lzi-selected-products-table th:last-child,.lzi-portal-page .lzi-order-baseline .lzi-selected-products-table td:last-child{border-right:none;}
.lzi-portal-page .lzi-order-baseline .lzi-selected-products-table tbody tr:first-child td{border-top:1px solid #cfd7e6;}
.lzi-portal-page .lzi-order-baseline .lzi-selected-products-table .lzi-selected-ref{width:120px;color:#41527a;font-weight:500;}
.lzi-portal-page .lzi-order-baseline .lzi-selected-name{font-size:16px;color:#1f2f57;}
.lzi-portal-page .lzi-order-baseline .lzi-selected-qty{width:90px;text-align:center;}
.lzi-portal-page .lzi-order-baseline .lzi-selected-qty input{width:52px;text-align:center;padding:8px 6px!important;min-height:38px;}
.lzi-portal-page .lzi-order-baseline .lzi-selected-remove{width:72px;text-align:center;}
.lzi-portal-page .lzi-order-baseline .lzi-remove-btn{width:44px;height:44px;border:1px solid #c5d2eb;border-radius:10px;background:#f6f8fd;color:#5579cf;font-size:34px;line-height:1;padding:0;display:inline-flex;align-items:center;justify-content:center;}
.lzi-portal-page .lzi-order-baseline .lzi-products-footnote{font-size:12px;color:#7a88a4;margin-top:6px;}
.lzi-portal-page .lzi-order-baseline #emptyproducts{margin-top:0!important;display:none;text-align:left!important;background:#f8faff!important;border-style:dashed!important;}
@media (max-width: 980px){
  .lzi-portal-page .lzi-order-baseline #shippingrow,.lzi-portal-page .lzi-order-baseline #detailsrow,.lzi-portal-page .lzi-order-baseline #productrow,.lzi-portal-page .lzi-order-baseline .lzi-shipping-grid-top,.lzi-portal-page .lzi-order-baseline #catalogandbutton{grid-template-columns:1fr!important;}
  .lzi-portal-page .lzi-order-baseline #billingdetails{border-right:none!important;padding-right:0!important;border-bottom:1px solid #d7deeb;padding-bottom:20px;margin-bottom:10px;}
  .lzi-portal-page .lzi-order-baseline .lzi-portal-schedule-row{grid-template-columns:1fr;}
  .lzi-portal-page .lzi-order-baseline .lzi-portal-schedule-row label{text-align:left;}
}

/* ===== MODAL TOOLBAR INLINE PATCH v1.0.2 ===== */
.lzi-product-modal-toolbar{display:flex;gap:12px;flex-wrap:nowrap;align-items:center;}
.lzi-product-modal-toolbar .lzi-inline-btn,
.lzi-product-modal-toolbar .lzi-neutral-btn,
.lzi-product-modal-toolbar button{width:auto !important;min-width:220px;flex:0 0 auto;}
@media (max-width: 768px){
  .lzi-product-modal-toolbar{flex-direction:column;align-items:stretch;}
  .lzi-product-modal-toolbar .lzi-inline-btn,
  .lzi-product-modal-toolbar .lzi-neutral-btn,
  .lzi-product-modal-toolbar button{width:100% !important;min-width:0;flex:1 1 auto;}
}


/* ===== Orders Portal polish patch v1.0.3 ===== */
.lzi-portal-page .lzi-order-baseline #shippingrow{display:block!important;}
.lzi-portal-page .lzi-order-baseline #ponumberwrap{margin-top:18px!important;max-width:680px;}
.lzi-portal-page .lzi-order-baseline #ponumberwrap label{display:block;margin-bottom:8px;font-size:14px;font-weight:600;color:#223255;}
.lzi-portal-page .lzi-order-baseline .lzi-portal-schedule-row{display:none;grid-template-columns:140px 160px;gap:16px;align-items:center;margin-top:16px!important;margin-left:0!important;}
.lzi-portal-page .lzi-order-baseline .lzi-portal-schedule-row.is-visible{display:grid!important;}
.lzi-portal-page .lzi-order-baseline [role="alert"],.lzi-portal-page .lzi-order-baseline .lzi-portal-cutoff-warning{max-width:520px;}
.lzi-portal-page .lzi-order-baseline .lzi-shipping-grid-bottom{display:grid;gap:8px;padding-top:4px;border-top:none!important;}
.lzi-portal-page .lzi-order-baseline #submitnote{margin-top:14px!important;text-align:center!important;font-size:16px!important;color:#7a88a4!important;line-height:1.45!important;}
.lzi-portal-page .lzi-order-baseline .lzi-selected-products-table{table-layout:fixed;}
.lzi-portal-page .lzi-order-baseline .lzi-selected-products-table col.ref-col{width:120px;}
.lzi-portal-page .lzi-order-baseline .lzi-selected-products-table col.product-col{width:auto;}
.lzi-portal-page .lzi-order-baseline .lzi-selected-products-table col.qty-col{width:88px;}
.lzi-portal-page .lzi-order-baseline .lzi-selected-products-table col.remove-col{width:74px;}
.lzi-portal-page .lzi-order-baseline .lzi-selected-products-table thead th{white-space:nowrap;text-align:left;}
.lzi-portal-page .lzi-order-baseline .lzi-selected-products-table thead th:nth-child(3),.lzi-portal-page .lzi-order-baseline .lzi-selected-products-table thead th:nth-child(4),.lzi-portal-page .lzi-order-baseline .lzi-selected-products-table td:nth-child(3),.lzi-portal-page .lzi-order-baseline .lzi-selected-products-table td:nth-child(4){text-align:center;}
.lzi-portal-page .lzi-order-baseline .lzi-selected-products-table td{vertical-align:middle;}
.lzi-portal-page .lzi-order-baseline .lzi-selected-name{font-size:15px;color:#1f2f57;line-height:1.45;word-break:normal;overflow-wrap:anywhere;}
.lzi-portal-page .lzi-order-baseline .lzi-selected-qty{width:auto;text-align:center;}
.lzi-portal-page .lzi-order-baseline .lzi-selected-qty input{width:54px;height:42px;text-align:center;padding:8px 6px!important;min-height:42px;border-radius:8px!important;}
.lzi-portal-page .lzi-order-baseline .lzi-selected-remove{width:auto;text-align:center;}
.lzi-portal-page .lzi-order-baseline .lzi-remove-btn{width:38px;height:38px;border:1px solid #c8d3e7;border-radius:10px;background:#f5f8ff;color:#5376c9;font-size:22px;font-weight:700;line-height:1;padding:0;display:inline-flex;align-items:center;justify-content:center;box-shadow:0 1px 1px rgba(22,42,90,.03);transition:background .15s ease,border-color .15s ease,color .15s ease,transform .15s ease;}
.lzi-portal-page .lzi-order-baseline .lzi-remove-btn:hover{background:#eaf0ff;border-color:#aebfe6;color:#2f57b8;transform:translateY(-1px);}
.lzi-portal-page .lzi-order-baseline .lzi-remove-btn:focus{outline:none;box-shadow:0 0 0 3px rgba(91,142,247,.16);}
.lzi-portal-page .lzi-order-baseline .lzi-products-table-panel{display:flex;flex-direction:column;gap:12px;}
.lzi-portal-page .lzi-order-baseline .lzi-products-footnote{margin-top:0!important;padding:12px 14px;border:1px solid #d8dfec;border-radius:8px;background:#edf2fb;color:#52627f;font-size:13px;line-height:1.45;}
.lzi-portal-page .lzi-order-baseline #emptyproducts{margin-top:0!important;}
@media (max-width:980px){
  .lzi-portal-page .lzi-order-baseline .lzi-portal-schedule-row.is-visible{grid-template-columns:1fr!important;}
  .lzi-portal-page .lzi-order-baseline [role="alert"],.lzi-portal-page .lzi-order-baseline .lzi-portal-cutoff-warning,.lzi-portal-page .lzi-order-baseline #ponumberwrap{max-width:none;}
  .lzi-portal-page .lzi-order-baseline .lzi-selected-products-table col.ref-col{width:90px;}
  .lzi-portal-page .lzi-order-baseline .lzi-selected-products-table col.qty-col{width:72px;}
  .lzi-portal-page .lzi-order-baseline .lzi-selected-products-table col.remove-col{width:64px;}
}


/* ===== Orders Portal micro-fixes v1.0.3 ===== */
.lzi-portal-page .lzi-order-baseline .lzi-portal-schedule-row{order:2!important;margin-bottom:10px!important;}
.lzi-portal-page .lzi-order-baseline #ponumberwrap{order:3!important;}
.lzi-portal-page .lzi-order-baseline .lzi-selected-products-table{table-layout:auto!important;width:100%!important;}
.lzi-portal-page .lzi-order-baseline .lzi-selected-products-table .lzi-selected-name{white-space:normal!important;word-break:normal!important;overflow-wrap:normal!important;hyphens:none!important;min-width:0!important;}
.lzi-portal-page .lzi-order-baseline .lzi-selected-products-table td,.lzi-portal-page .lzi-order-baseline .lzi-selected-products-table th{white-space:normal!important;word-break:normal!important;overflow-wrap:normal!important;vertical-align:middle!important;}
.lzi-portal-page .lzi-order-baseline .lzi-selected-products-table col.ref-col{width:86px!important;}
.lzi-portal-page .lzi-order-baseline .lzi-selected-products-table col.qty-col{width:74px!important;}
.lzi-portal-page .lzi-order-baseline .lzi-selected-products-table col.remove-col{width:66px!important;}
.lzi-portal-page .lzi-order-baseline .lzi-selected-products-table td.lzi-selected-name{padding-right:12px!important;}


/* ===== Orders Portal micro-fixes v1.0.4 ===== */
.lzi-portal-page .lzi-order-baseline #shippingrow > div{display:flex;flex-direction:column;}
.lzi-portal-page .lzi-order-baseline #lzi-portal-cutoff-warning{order:0;margin-top:0!important;margin-bottom:12px!important;max-width:520px;}
.lzi-portal-page .lzi-order-baseline fieldset{order:1;}
.lzi-portal-page .lzi-order-baseline .lzi-portal-schedule-row{order:2!important;margin-bottom:10px!important;}
.lzi-portal-page .lzi-order-baseline #ponumberwrap{order:3!important;}
.lzi-portal-page .lzi-order-baseline #shippingrow [role="alert"]{order:4;max-width:520px;}
.lzi-portal-page .lzi-order-baseline .lzi-selected-products-table tbody#lzi-product-list{display:table-row-group!important;}
.lzi-portal-page .lzi-order-baseline .lzi-selected-products-table tbody#lzi-product-list > tr{display:table-row!important;}
.lzi-portal-page .lzi-order-baseline .lzi-selected-products-table tbody#lzi-product-list > tr > td{display:table-cell!important;}
.lzi-portal-page .lzi-order-baseline .lzi-selected-products-table .lzi-selected-ref{white-space:nowrap!important;word-break:keep-all!important;overflow-wrap:normal!important;}
.lzi-portal-page .lzi-order-baseline .lzi-selected-products-table .lzi-selected-name{white-space:normal!important;word-break:normal!important;overflow-wrap:anywhere!important;}
.lzi-portal-page .lzi-order-baseline .lzi-selected-products-table .lzi-selected-qty input{display:inline-block!important;}


/* ===== Orders Portal structural fixes v1.0.5 ===== */
.lzi-portal-page .lzi-order-baseline .lzi-selected-products-table{table-layout:fixed!important;width:100%!important;border-collapse:collapse!important;}
.lzi-portal-page .lzi-order-baseline .lzi-selected-products-table colgroup{display:table-column-group!important;}
.lzi-portal-page .lzi-order-baseline .lzi-selected-products-table thead{display:table-header-group!important;width:100%!important;}
.lzi-portal-page .lzi-order-baseline .lzi-selected-products-table tbody#lzi-product-list{display:table-row-group!important;width:100%!important;}
.lzi-portal-page .lzi-order-baseline .lzi-selected-products-table tr{display:table-row!important;width:100%!important;}
.lzi-portal-page .lzi-order-baseline .lzi-selected-products-table th,.lzi-portal-page .lzi-order-baseline .lzi-selected-products-table td{display:table-cell!important;white-space:normal!important;word-break:normal!important;overflow-wrap:break-word!important;vertical-align:middle!important;}
.lzi-portal-page .lzi-order-baseline .lzi-selected-products-table col.ref-col{width:86px!important;}
.lzi-portal-page .lzi-order-baseline .lzi-selected-products-table col.product-col{width:auto!important;}
.lzi-portal-page .lzi-order-baseline .lzi-selected-products-table col.qty-col{width:74px!important;}
.lzi-portal-page .lzi-order-baseline .lzi-selected-products-table col.remove-col{width:66px!important;}
.lzi-portal-page .lzi-order-baseline .lzi-selected-products-table .lzi-selected-name{width:auto!important;min-width:0!important;white-space:normal!important;word-break:break-word!important;overflow-wrap:anywhere!important;line-height:1.45!important;}
.lzi-portal-page .lzi-order-baseline .lzi-selected-products-table-wrap{overflow-x:auto!important;}
.lzi-portal-page .lzi-order-baseline #billingdetails [role="alert"]{max-width:none!important;margin-top:18px!important;}
.lzi-portal-page .lzi-order-baseline #shippingrow [role="alert"]{display:none!important;}
@media (max-width:980px){.lzi-portal-page .lzi-order-baseline .lzi-selected-products-table{table-layout:auto!important;}}


/* Revision v1.0.9 customer dashboard controls + product modal search */
.lzi-customer-modern-toolbar{gap:10px;border-bottom:none;padding-bottom:18px;}
.lzi-customer-modern-search{position:relative;z-index:1;box-shadow:none;}
.lzi-customer-modern-toolbar-actions{border:none;background:transparent;overflow:visible;height:44px;min-height:44px;padding:0;}
.lzi-customer-modern-toolbar-actions-single{flex:0 0 auto;}
.lzi-customer-modern-menu{top:72px;right:18px;}
.lzi-product-modal-toolbar{align-items:center;}
.lzi-product-modal-toolbar .lzi-product-search-wrap{flex:1 1 340px;min-width:260px;}
.lzi-product-modal-toolbar .lzi-product-family-search{min-height:46px;}
@media (max-width:980px){.lzi-customer-modern-toolbar-actions{margin-left:0;}.lzi-customer-modern-menu{right:0;}.lzi-product-modal-toolbar .lzi-product-search-wrap{min-width:0;}}

/* Revision v1.0.13 customer dashboard toolbar alignment fix */
.lzi-customer-modern-toolbar{align-items:center;}
.lzi-customer-modern-search{
  height:46px;
  min-height:46px;
  padding:0 14px;
}
.lzi-customer-modern-search input{
  display:block;
  height:100%;
  line-height:46px;
  margin:0;
  padding:0;
}
.lzi-customer-modern-toolbar-actions,
.lzi-customer-modern-toolbar-actions-single{
  height:46px;
  min-height:46px;
  display:flex;
  align-items:stretch;
}
.lzi-customer-modern-icon-btn{
  width:56px;
  height:46px;
  min-height:46px;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:0;
  line-height:1;
}
.lzi-customer-modern-icon-btn img,
.lzi-customer-modern-icon-btn .emoji{
  width:20px;
  height:20px;
  display:block;
  margin:0;
}

.lzi-customer-modern-meta{align-items:start;}
.lzi-customer-modern-meta > div.lzi-customer-modern-meta-block p{margin:0;}
.lzi-customer-modern-meta > div.lzi-customer-modern-meta-block p + p{margin-top:4px;}
.lzi-customer-modern-meta .lzi-customer-modern-meta-po strong,
.lzi-customer-modern-meta .lzi-customer-modern-meta-availability strong{display:inline;color:#2e3b51;min-width:0;margin-right:0;}
.lzi-customer-modern-meta #create_PO{font-size:18px;color:#324056;}
.lzi-customer-modern-meta .lzi-customer-modern-meta-availability .lzi-customer-modern-inline-warning{margin-right:6px;}
.lzi-customer-modern-meta .lzi-customer-modern-pill.next{margin-left:8px;}


/* Revision v1.0.15 backorder alert popup + warning icon refresh */
.lzi-customer-modern-page,.lzi-customer-modern-shell-wrap,.lzi-customer-modern-shell{position:relative;}
.lzi-customer-backorder-toast{position:absolute;left:50%;bottom:24px;transform:translateX(-50%);z-index:9999;max-width:420px;width:min(420px,calc(100% - 32px));}
.lzi-customer-backorder-toast[hidden]{display:none !important;}
.lzi-customer-backorder-toast-card{position:relative;display:grid;grid-template-columns:auto 1fr auto;gap:14px;align-items:start;background:#ffffff;border:1px solid #d7deea;border-radius:18px;box-shadow:0 18px 44px rgba(28,40,68,.18);padding:18px 18px 16px;}
.lzi-customer-backorder-toast-icon-wrap{padding-top:2px;}
.lzi-customer-backorder-toast-icon-wrap .lzi-customer-modern-warning-chip{width:24px;height:24px;margin-right:0;font-size:22px;}
.lzi-customer-backorder-toast-title{font-size:18px;font-weight:800;color:#1f2b3e;line-height:1.25;margin:0 0 6px;}
.lzi-customer-backorder-toast-text{font-size:15px;font-weight:600;line-height:1.5;color:#43516a;}
.lzi-customer-backorder-toast-actions{display:flex;align-items:flex-end;justify-content:flex-end;align-self:end;padding-top:20px;}
.lzi-customer-backorder-toast-view{border:none;background:#4c7ce5;color:#fff;padding:11px 18px;border-radius:10px;font-size:14px;font-weight:800;cursor:pointer;box-shadow:0 10px 20px rgba(76,124,229,.2);}
.lzi-customer-backorder-toast-view:hover{background:#416fd2;}
.lzi-customer-backorder-toast-close{position:absolute;top:10px;right:10px;width:28px;height:28px;border:none;background:transparent;color:#5c6a82;font-size:22px;line-height:1;cursor:pointer;border-radius:999px;}
.lzi-customer-backorder-toast-close:hover{background:#f3f6fb;color:#1f2b3e;}
@media (max-width:640px){.lzi-customer-backorder-toast{left:16px;right:16px;bottom:16px;transform:none;width:auto;max-width:none;}.lzi-customer-backorder-toast-card{grid-template-columns:auto 1fr;}.lzi-customer-backorder-toast-actions{grid-column:1 / -1;padding-top:0;}.lzi-customer-backorder-toast-view{width:100%;}}


/* Admin: company account nesting */
.lzi-admin-company-account-table td{
  vertical-align:top;
}
.lzi-admin-company-cell{
  min-width:180px;
}
.lzi-admin-company-name{
  font-size:15px;
  font-weight:700;
  color:#1d2327;
  margin-bottom:4px;
}
.lzi-admin-company-subtext,
.lzi-admin-account-meta,
.lzi-admin-empty-state{
  color:#50575e;
  font-size:12px;
  line-height:1.5;
}
.lzi-admin-secondary-list{
  display:flex;
  flex-direction:column;
  gap:10px;
}
.lzi-admin-account-card{
  background:#fff;
  border:1px solid #dcdcde;
  border-radius:10px;
  padding:12px;
}
.lzi-admin-account-card-primary{
  border-color:#2271b1;
  box-shadow:inset 0 0 0 1px rgba(34,113,177,.08);
}
.lzi-admin-account-card-secondary{
  background:#f6f7f7;
}
.lzi-admin-account-badge{
  display:inline-block;
  font-size:11px;
  font-weight:700;
  letter-spacing:.04em;
  color:#fff;
  background:#2271b1;
  border-radius:999px;
  padding:4px 8px;
  margin-bottom:8px;
}
.lzi-admin-account-badge-secondary{
  background:#646970;
}
.lzi-admin-account-name{
  font-weight:700;
  color:#1d2327;
  margin-bottom:4px;
}
.lzi-admin-inline-form{
  margin-top:10px;
}
.lzi-admin-status-pill{
  display:inline-block;
  border-radius:999px;
  padding:5px 10px;
  font-size:12px;
  font-weight:700;
  background:#f0f0f1;
  color:#1d2327;
}
.lzi-admin-status-pill.is-active{
  background:#edfaef;
  color:#0a7a20;
}
.lzi-admin-status-pill.is-mixed{
  background:#fff8e5;
  color:#8a5600;
}

.lzi-customer-modern-head-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;justify-content:flex-end;}
@media (max-width:980px){
  .lzi-customer-modern-head-actions{width:100%;justify-content:flex-end;}
  .lzi-customer-modern-head-actions .lzi-customer-modern-order-btn{flex:1 1 0;justify-content:center;text-align:center;}
}

/* Revision v1.0.32 phase 3 profile panel left overlay patch */
.lzi-customer-modern-profile-btn{
  border:1px solid #d6deeb;
  background:#fff;
  color:#1d2940;
  border-radius:10px;
  padding:0 16px;
  height:46px;
  font-size:14px;
  font-weight:700;
  cursor:pointer;
  box-shadow:0 4px 12px rgba(28,40,68,.06);
}
.lzi-customer-modern-profile-btn:hover{background:#f6f8fc;}
.lzi-customer-profile-drawer{
  position:absolute;
  top:0;
  left:0;
  right:auto;
  width:min(520px,calc(42% + 1px));
  max-width:100%;
  height:100%;
  z-index:20;
}
.lzi-customer-profile-card{
  height:100%;
  background:linear-gradient(180deg,#ffffff 0%,#f7f9fc 100%);
  border-right:1px solid #dfe5ef;
  box-shadow:18px 0 40px rgba(28,40,68,.12);
  display:flex;
  flex-direction:column;
}
.lzi-customer-profile-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:16px;
  padding:22px 22px 18px;
  border-bottom:1px solid #e2e8f2;
}
.lzi-customer-profile-eyebrow{font-size:11px;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:#6d7c96;margin-bottom:6px;}
.lzi-customer-profile-title{margin:0;font-size:28px;font-weight:800;color:#1d2940;}
.lzi-customer-profile-close{
  width:40px;height:40px;border:none;border-radius:999px;background:#eef3fb;color:#324056;font-size:26px;line-height:1;cursor:pointer;
}
.lzi-customer-profile-body{padding:22px;overflow:auto;display:grid;gap:18px;}
.lzi-customer-profile-section,.lzi-customer-profile-panel{background:#fff;border:1px solid #e1e7f0;border-radius:18px;box-shadow:0 8px 22px rgba(28,40,68,.05);padding:18px;}
.lzi-customer-profile-company{font-size:24px;font-weight:800;color:#1d2940;line-height:1.2;margin-bottom:10px;}
.lzi-customer-profile-status-row{display:flex;flex-wrap:wrap;gap:10px;align-items:center;}
.lzi-customer-profile-role-badge{display:inline-flex;align-items:center;justify-content:center;padding:7px 12px;border-radius:999px;font-size:12px;font-weight:800;letter-spacing:.04em;text-transform:uppercase;}
.lzi-customer-profile-role-badge.primary{background:#e9f4ec;color:#1e6b3a;}
.lzi-customer-profile-role-badge.secondary{background:#eef3fb;color:#37517a;}
.lzi-customer-profile-company-status{display:inline-flex;align-items:center;padding:7px 12px;border-radius:999px;background:#fff5db;color:#8b6b12;font-size:12px;font-weight:800;letter-spacing:.04em;text-transform:uppercase;}
.lzi-customer-profile-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;}
.lzi-customer-profile-grid-single{grid-template-columns:1fr;}
.lzi-customer-profile-panel-title,.lzi-customer-profile-section-title{font-size:16px;font-weight:800;color:#1d2940;margin:0 0 12px;}
.lzi-customer-profile-section-subtitle{font-size:13px;line-height:1.5;color:#617089;margin:-6px 0 14px;}
.lzi-customer-profile-kv{display:flex;flex-direction:column;gap:4px;padding:12px 0;border-top:1px solid #eef2f7;}
.lzi-customer-profile-kv:first-of-type{border-top:none;padding-top:0;}
.lzi-customer-profile-kv span{font-size:12px;font-weight:700;color:#6d7c96;text-transform:uppercase;letter-spacing:.04em;}
.lzi-customer-profile-kv strong{font-size:15px;line-height:1.45;color:#26354d;}
.lzi-customer-profile-user-list{display:grid;gap:12px;}
.lzi-customer-profile-user-card{display:grid;grid-template-columns:1fr auto;gap:12px;align-items:start;padding:14px 16px;border:1px solid #e3e9f2;border-radius:16px;background:#fbfcfe;}
.lzi-customer-profile-user-name{font-size:15px;font-weight:800;color:#1d2940;line-height:1.35;}
.lzi-customer-profile-you{display:inline-flex;align-items:center;margin-left:6px;padding:2px 8px;border-radius:999px;background:#eef3fb;color:#37517a;font-size:11px;font-weight:800;letter-spacing:.04em;text-transform:uppercase;}
.lzi-customer-profile-user-email{font-size:13px;line-height:1.5;color:#5f6f88;margin-top:4px;word-break:break-word;}
.lzi-customer-profile-user-meta{display:grid;gap:8px;justify-items:end;text-align:right;}
.lzi-customer-profile-last-login{font-size:12px;line-height:1.45;color:#5f6f88;max-width:130px;}
.lzi-customer-profile-empty{padding:18px;border:1px dashed #d6deeb;border-radius:14px;background:#f9fbfd;color:#667792;font-size:14px;line-height:1.5;}
.lzi-customer-profile-open .lzi-customer-modern-right{padding-right:18px;}
@media (max-width:1180px){
  .lzi-customer-profile-drawer{width:min(480px,100%);}
  .lzi-customer-profile-open .lzi-customer-modern-right{padding-right:18px;}
}
@media (max-width:980px){
  .lzi-customer-modern-toolbar-actions{width:100%;justify-content:flex-end;gap:10px;}
  .lzi-customer-modern-profile-btn{flex:1 1 auto;min-width:0;}
  .lzi-customer-profile-drawer{width:100%;}
  .lzi-customer-profile-card{border-right:none;box-shadow:none;}
  .lzi-customer-profile-grid{grid-template-columns:1fr;}
  .lzi-customer-profile-user-card{grid-template-columns:1fr;}
  .lzi-customer-profile-user-meta{justify-items:start;text-align:left;}
  .lzi-customer-profile-last-login{max-width:none;}
  .lzi-customer-profile-open .lzi-customer-modern-right{padding-right:14px;}
}

/* Revision v1.0.31 primary user purchase view patch */

.lzi-customer-profile-purchase-history{gap:10px;align-items:flex-start;}
.lzi-customer-profile-view-btn{display:inline-flex;align-items:center;justify-content:center;margin-top:10px;padding:9px 12px;border:1px solid #ccd6e6;border-radius:999px;background:#fff;color:#1d2940;font-size:12px;font-weight:800;letter-spacing:.02em;cursor:pointer;text-decoration:none;}
.lzi-customer-profile-view-btn:hover{background:#f5f8fd;}
.lzi-customer-profile-user-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:10px;}
.lzi-customer-profile-user-total{font-size:12px;line-height:1.45;color:#5f6f88;}


/* Revision v1.0.33 profile left overlay + orders list clamp */
.lzi-customer-modern-shell{grid-template-columns:minmax(0,42%) minmax(0,58%);}
.lzi-customer-modern-left{position:relative;overflow:hidden;}
.lzi-customer-modern-list-wrap{position:relative;}
.lzi-customer-modern-list{display:block;max-height:636px;overflow-y:auto;overscroll-behavior:contain;}
.lzi-customer-modern-list.is-expanded{max-height:none;overflow-y:visible;}
.lzi-customer-modern-list-actions{padding:14px 20px 18px;background:#f7f9fd;border-top:1px solid #dfe5ef;}
.lzi-customer-modern-view-all-btn{display:inline-flex;align-items:center;justify-content:center;padding:10px 16px;border:1px solid #cfd8e6;border-radius:999px;background:#fff;color:#1d2940;font-size:13px;font-weight:800;letter-spacing:.02em;cursor:pointer;box-shadow:0 4px 12px rgba(28,40,68,.05);}
.lzi-customer-modern-view-all-btn:hover{background:#f5f8fd;}
.lzi-customer-profile-drawer{position:absolute !important;top:0 !important;bottom:0 !important;left:0 !important;right:auto !important;width:42% !important;max-width:42% !important;height:auto !important;z-index:40 !important;pointer-events:none;background:transparent !important;overflow:visible !important;}
.lzi-customer-profile-drawer[hidden]{display:none !important;}
.lzi-customer-profile-drawer:not([hidden]){display:block !important;pointer-events:auto;}
.lzi-customer-profile-card{position:relative;width:65%;max-width:65%;min-width:65%;height:100%;min-height:100%;overflow-y:auto;overflow-x:visible;}
@media (max-width:1180px){
  .lzi-customer-modern-list{max-height:560px;}
  .lzi-customer-profile-drawer{width:100% !important;max-width:100% !important;}
}
@media (max-width:980px){
  .lzi-customer-modern-list-actions{padding:12px 14px 16px;}
}

/* Revision v1.0.34 header profile button restore */
.lzi-customer-modern-head-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;}
.lzi-customer-modern-head-profile-btn{min-width:120px;}
.lzi-customer-modern-toolbar-actions{margin-left:auto;}

/* Revision v1.0.37 profile card width only */
@media (max-width:980px){
  .lzi-customer-profile-card{width:100%;max-width:100%;min-width:100%;}
}


/* Revision v1.0.38 mobile stack + profile close centering */
.lzi-customer-profile-close{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-size:18px;
  line-height:1;
  text-align:center;
  padding:0;
}
@media (max-width:980px){
  .lzi-customer-modern-shell{grid-template-columns:1fr !important;}
  .lzi-customer-modern-left{border-right:none;border-bottom:1px solid #dfe5ef;}
  .lzi-customer-modern-head-row,
  .lzi-customer-modern-row{grid-template-columns:1fr !important;}
}
@media (max-width:768px){
  .lzi-customer-modern-head{align-items:stretch;}
  .lzi-customer-modern-head-actions,
  .lzi-customer-modern-toolbar,
  .lzi-customer-modern-toolbar-actions{width:100%;}
  .lzi-customer-modern-toolbar{flex-wrap:wrap;align-items:stretch;}
  .lzi-customer-modern-search{width:100%;}
  .lzi-customer-modern-toolbar-actions{margin-left:0;justify-content:flex-start;}
  .lzi-customer-modern-profile-btn{min-width:110px;}
  .lzi-customer-modern-row,
  .lzi-customer-modern-head-row{grid-template-columns:1fr !important;}
  .lzi-customer-modern-row > *,
  .lzi-customer-modern-head-row > *{min-width:0;}
  .lzi-customer-modern-right{padding:14px;}
}


/* Revision v1.0.39 remove customer dashboard horizontal scroll */
.lzi-customer-modern-left,
.lzi-customer-modern-list-wrap,
.lzi-customer-modern-list{overflow-x:hidden !important;}
.lzi-customer-modern-head-row,
.lzi-customer-modern-row{min-width:0 !important; width:100% !important;}
.lzi-customer-modern-head-row > div,
.lzi-customer-modern-row > .lzi-customer-modern-cell{min-width:0 !important;}
