:root {
  color-scheme: light;
  --bg: #f6f7f9;
  --panel: #ffffff;
  --ink: #1f2933;
  --muted: #667085;
  --line: #d9dee7;
  --brand: #0f766e;
  --brand-dark: #115e59;
  --danger: #b42318;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 15px;
}
a { color: inherit; }
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 24px;
  background: var(--panel);
  border-bottom: 1px solid var(--line);
}
.eyebrow {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}
h1 { margin: 2px 0 0; font-size: 22px; }
.nav { display: flex; gap: 8px; flex-wrap: wrap; }
.nav a,
.actions a,
.filters button,
.form-stack button,
.order-toolbar button,
.secondary {
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 9px 12px;
  text-decoration: none;
  background: #fff;
  font-weight: 700;
}
.shell { max-width: 1480px; margin: 0 auto; padding: 20px 28px; }
.notice,
.policy,
.error,
.summary-grid > div,
.stats > div,
.login-panel,
.admin-dashboard {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}
.notice { padding: 16px; margin-bottom: 16px; }
.notice p { margin: 6px 0 0; color: var(--muted); }
.compact { padding: 12px 14px; }
.actions { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 18px; }
.actions .primary,
.filters button,
.form-stack button,
.order-toolbar button { background: var(--brand); color: #fff; border-color: var(--brand-dark); cursor: pointer; }
.summary-grid,
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 18px; }
.summary-grid div,
.stats div { padding: 14px; }
.summary-grid span,
.stats span,
.admin-dashboard span { display: block; color: var(--muted); font-size: 12px; margin-bottom: 5px; }
.summary-grid strong,
.stats strong,
.admin-dashboard strong { font-size: 18px; }
.filters {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 220px) auto;
  gap: 10px;
  align-items: end;
  margin-bottom: 14px;
}
.filters label,
.form-stack label { color: var(--muted); font-size: 12px; font-weight: 700; }
.filters input,
.form-stack input {
  display: block;
  width: 100%;
  margin-top: 4px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 15px;
}
.error,
.alert.error { color: var(--danger); }
.error { padding: 12px; margin-bottom: 12px; }
.alert { padding: 10px 12px; border: 1px solid var(--line); border-radius: 6px; background: #fff7f6; }
.table-wrap {
  overflow-x: auto;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}
table { width: 100%; border-collapse: collapse; min-width: 900px; }
th, td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; white-space: nowrap; }
th { background: #f1f4f8; color: var(--muted); font-size: 12px; }
.num { text-align: right; }
.code { font-family: "SFMono-Regular", Consolas, monospace; font-weight: 700; }
.empty { text-align: center; color: var(--muted); padding: 28px; }
.policy { margin-top: 16px; padding: 16px; }
.policy h2 { margin: 0 0 8px; font-size: 17px; }
.policy p { color: var(--muted); margin: 0 0 8px; }
.policy ul { margin: 0; padding-left: 18px; }
.login-panel { max-width: 420px; margin: 0 auto; padding: 18px; }
.form-stack { display: grid; gap: 14px; }
.form-stack button { width: 100%; }
.admin-dashboard { display: grid; grid-template-columns: 1fr 1fr auto; gap: 12px; align-items: center; padding: 16px; margin-bottom: 16px; }
@media (max-width: 720px) {
  .topbar { align-items: flex-start; flex-direction: column; padding: 16px; }
  .shell { padding: 14px; max-width: none; }
  .summary-grid,
  .stats,
  .filters,
  .admin-dashboard,
  .detail-grid { grid-template-columns: 1fr; }
  .admin-page-header { align-items: stretch; flex-direction: column; }
  h1 { font-size: 20px; }
}

.alert.success { color: #027a48; background: #ecfdf3; }
.form-links { text-align: center; font-size: 13px; }
.form-links a { color: var(--brand-dark); font-weight: 700; text-decoration: none; }
.admin-actions { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }

.form-panel,
.admin-page-header,
.detail-grid > div {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}
.form-panel { max-width: 640px; padding: 18px; }
.admin-page-header { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 16px; margin-bottom: 16px; }
.admin-page-header span,
.detail-grid span { display: block; color: var(--muted); font-size: 12px; margin-bottom: 5px; }
.admin-page-header strong,
.detail-grid strong { font-size: 18px; }
.form-stack select,
.form-stack textarea {
  display: block;
  width: 100%;
  margin-top: 4px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 15px;
  font-family: inherit;
}
.form-stack button:disabled { opacity: 0.55; cursor: not-allowed; }
.detail-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.detail-grid > div { padding: 14px; }
.detail-grid .wide { grid-column: 1 / -1; }

.admin-placeholder-actions button { border: 1px solid var(--line); border-radius: 6px; padding: 9px 12px; background: #f1f4f8; color: var(--muted); font-weight: 700; }

.status-badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #f8fafc;
  font-size: 12px;
  font-weight: 800;
}
.status-approved,
.status-active,
.status-confirmed { color: #027a48; background: #ecfdf3; border-color: #abefc6; }
.status-requested { color: #175cd3; background: #eff8ff; border-color: #b2ddff; }
.status-pending { color: #b54708; background: #fffaeb; border-color: #fedf89; }
.status-rejected,
.status-blocked { color: var(--danger); background: #fff7f6; border-color: #fecdca; }
.status-cancelled { color: #475467; background: #f2f4f7; border-color: #d0d5dd; }
.compact-link { padding: 5px 8px; font-size: 12px; }
.admin-status-actions form { margin: 0; }
.admin-status-actions button {
  border: 1px solid var(--brand-dark);
  border-radius: 6px;
  padding: 9px 12px;
  background: var(--brand);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}
.admin-status-actions .danger-button { background: var(--danger); border-color: var(--danger); }

.section-heading-row { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.compact-table { margin-top: 12px; }
.compact-table table { min-width: 760px; }
@media (max-width: 720px) {
  .section-heading-row { flex-direction: column; }
}


.inline-form { display: inline-flex; gap: 6px; align-items: center; margin: 0; }
.inline-form button,
.inline-form .danger-button {
  border: 1px solid var(--brand-dark);
  border-radius: 6px;
  padding: 7px 9px;
  background: var(--brand);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}
.inline-form .danger-button { background: var(--danger); border-color: var(--danger); }
.qty-input { width: 72px; padding: 7px; border: 1px solid var(--line); border-radius: 6px; text-align: right; }
.muted-note { color: var(--muted); font-size: 12px; font-weight: 700; }
.cart-stats,
.cart-totals { margin-top: 14px; }
.danger-button { background: var(--danger); border-color: var(--danger); color: #fff; }

.client-home-hero,
.client-home-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}
.client-home-hero {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  padding: 20px;
  margin-bottom: 16px;
}
.client-home-hero h2 { margin: 4px 0 10px; font-size: 24px; }
.client-home-meta,
.client-home-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}
.client-home-meta span:not(.status-badge) {
  color: var(--muted);
  font-size: 13px;
}
.client-home-meta strong { color: var(--ink); }
.client-home-actions a,
.primary-button,
.compact-link.primary {
  border: 1px solid var(--brand-dark);
  border-radius: 6px;
  background: var(--brand);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}
.client-home-actions a { padding: 11px 14px; }
.client-home-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 14px;
  margin-bottom: 14px;
}
.client-home-grid.lower { grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr); }
.client-home-card { padding: 16px; }
.client-home-card h2,
.client-home-card h3 { margin: 0; font-size: 17px; }
.supplier-status-list {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}
.supplier-status-list > div,
.client-order-list a,
.client-home-metrics > div {
  display: grid;
  grid-template-columns: minmax(90px, 0.8fr) minmax(120px, 1fr) auto;
  gap: 10px;
  align-items: center;
  border-top: 1px solid var(--line);
  padding: 10px 0;
}
.supplier-status-list > div:first-child,
.client-order-list a:first-child { border-top: 0; }
.supplier-status-list span,
.client-home-metrics dt,
.client-order-list span,
.empty-message,
.order-guide-card p { color: var(--muted); }
.client-home-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 14px 0 8px;
}
.client-home-metrics > div {
  grid-template-columns: 1fr;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
}
.client-home-metrics dt { font-size: 12px; font-weight: 800; }
.client-home-metrics dd { margin: 4px 0 0; font-size: 20px; font-weight: 800; }
.client-order-list {
  display: grid;
  margin-top: 12px;
}
.client-order-list a {
  grid-template-columns: minmax(180px, 1.2fr) minmax(80px, 0.6fr) minmax(110px, 0.7fr) minmax(140px, 0.8fr);
  color: inherit;
  text-decoration: none;
}
.order-guide-card p { margin: 10px 0 0; line-height: 1.5; }
@media (max-width: 860px) {
  .client-home-hero { align-items: stretch; flex-direction: column; }
  .client-home-grid,
  .client-home-grid.lower,
  .client-home-metrics { grid-template-columns: 1fr; }
  .supplier-status-list > div,
  .client-order-list a { grid-template-columns: 1fr; align-items: start; }
}


.order-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  margin-bottom: 18px;
  padding: 16px;
}
.order-card-header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 14px;
}
.order-card-header strong { font-size: 16px; }
.order-card-header p { margin: 5px 0 0; color: var(--muted); }
.order-toolbar {
  display: grid;
  grid-template-columns: 120px minmax(150px, 220px) minmax(240px, 1fr) auto;
  gap: 10px;
  align-items: end;
  margin-bottom: 14px;
}
.order-toolbar label { color: var(--muted); font-size: 12px; font-weight: 700; }
.order-toolbar span { display: block; margin-bottom: 4px; }
.order-toolbar input,
.order-toolbar select {
  width: 100%;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 15px;
  background: #fff;
}
.order-toolbar button,
.primary-button {
  border: 1px solid var(--brand-dark);
  border-radius: 6px;
  padding: 10px 14px;
  background: var(--brand);
  color: #fff;
  font-weight: 800;
  cursor: pointer;
}
.primary-button:disabled { opacity: 0.55; cursor: not-allowed; }
.result-heading {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  padding: 10px 0;
  color: var(--muted);
}
.result-heading strong { color: var(--ink); }
.product-table-wrap table { min-width: 1120px; }
.cart-table-wrap table { min-width: 1120px; }
.pagination-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
}
.pagination-bar a,
.pagination-bar span,
.pagination-bar strong {
  min-width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  text-decoration: none;
  background: #fff;
  font-weight: 800;
}
.pagination-bar strong { background: var(--brand); border-color: var(--brand-dark); color: #fff; }
.pagination-bar .disabled { color: #c1c7d0; background: #f8fafc; }
.cart-below-products { margin-top: 4px; }
.cart-header-row { align-items: center; }
.strong-money { font-weight: 800; color: var(--brand-dark); }
.cart-policy-note,
.cart-submit-note { margin-top: 14px; }
.add-cart-form { min-width: 138px; }
@media (max-width: 720px) {
  .order-card { padding: 12px; }
  .order-card-header,
  .cart-header-row { flex-direction: column; align-items: stretch; }
  .order-toolbar { grid-template-columns: 1fr; }
  .result-heading { align-items: flex-start; flex-direction: column; }
  .pagination-bar { justify-content: flex-start; overflow-x: auto; padding-bottom: 2px; }
}


.product-search-card { padding-bottom: 12px; }
.product-table-wrap th,
.product-table-wrap td { padding: 7px 10px; font-size: 13px; }
.product-table-wrap .qty-input { width: 58px; padding: 5px 6px; }
.product-table-wrap .inline-form button { padding: 5px 8px; }
.pagination-bar .ellipsis {
  border-color: transparent;
  background: transparent;
  color: var(--muted);
  min-width: 22px;
}


.order-request-card { margin-top: 14px; }
.order-request-form { display: grid; gap: 12px; }
.order-request-form label { color: var(--muted); font-size: 12px; font-weight: 700; }
.order-request-form span { display: block; margin-bottom: 5px; }
.order-request-form textarea {
  display: block;
  width: 100%;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 15px;
  font-family: inherit;
  resize: vertical;
}
.status-requested { color: #175cd3; background: #eff8ff; border-color: #b2ddff; }
.primary-button { text-decoration: none; display: inline-flex; align-items: center; justify-content: center; }


.flash-stack { display: grid; gap: 8px; margin-bottom: 14px; }
.admin-order-control { display: grid; gap: 12px; }
.admin-order-control textarea { min-height: 96px; resize: vertical; }
.admin-status-actions .admin-actions { margin: 12px 0 0; }
.admin-status-actions button:disabled { opacity: 0.55; cursor: not-allowed; }


.register-hero strong { font-size: 22px; }
.register-form { display: grid; gap: 16px; }
.register-panel { max-width: none; width: 100%; }
.register-panel .section-heading-row { margin-bottom: 12px; }
.register-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.register-grid label { color: var(--muted); font-size: 12px; font-weight: 700; }
.register-grid span { display: block; margin-bottom: 5px; }
.register-grid em { color: var(--danger); font-style: normal; }
.register-grid input,
.register-grid select,
.register-grid textarea {
  display: block;
  width: 100%;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 15px;
  font-family: inherit;
  background: #fff;
}
.register-grid textarea { resize: vertical; }
.register-grid .wide { grid-column: 1 / -1; }
.inline-check-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; align-items: center; }
.inline-check-row .secondary { cursor: pointer; white-space: nowrap; }
.check-result { display: block; margin-top: 6px; font-weight: 800; }
.check-result.available { color: #027a48; }
.check-result.unavailable { color: var(--danger); }
.file-guide small,
.login-id-field small { color: var(--muted); }
.register-submit-panel { display: grid; gap: 8px; }
.register-submit-panel .primary-button { width: fit-content; }
.register-login-link { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); display: grid; gap: 8px; }
.register-login-link p { margin: 0; color: var(--muted); }
.register-login-link .secondary { width: fit-content; }
@media (max-width: 720px) {
  .register-grid { grid-template-columns: 1fr; }
  .register-grid .wide { grid-column: auto; }
  .inline-check-row { grid-template-columns: 1fr; }
}

.register-errors ul {
  margin: 8px 0 0;
  padding-left: 20px;
}

.register-submit-panel .primary-button {
  width: fit-content;
}

.register-complete .admin-actions {
  justify-content: flex-start;
  margin-top: 18px;
}
.pending-row { background: #fffdf4; }
.review-detail-grid { margin-bottom: 16px; }
.admin-memo-form { display: grid; gap: 10px; margin-top: 12px; }
.admin-memo-form textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 15px;
  font-family: inherit;
  resize: vertical;
}
.admin-client-documents .table-wrap table { min-width: 1180px; }
.status-approved { color: #027a48; background: #ecfdf3; border-color: #abefc6; }
.status-rejected,
.status-blocked { color: #b42318; background: #fef3f2; border-color: #fecdca; }
.status-pending { color: #b54708; background: #fffaeb; border-color: #fedf89; }
.login-status-card {
  max-width: 720px;
  margin: 0 auto;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  display: grid;
  gap: 16px;
}
.login-status-card h2 {
  margin: 4px 0 0;
  font-size: 24px;
}
.login-status-messages {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-weight: 700;
}
.login-status-messages p { margin: 0; }
.login-status-card .admin-actions { justify-content: flex-start; }
.register-guide p { margin: 6px 0 0; }
.account-help-link { border-top-style: dashed; }
.admin-client-list-table table { min-width: 1120px; }
.detail-section-card { margin-bottom: 16px; }
.detail-section-card .detail-grid { margin-top: 12px; }
.review-guide p { margin: 6px 0 0; }
@media (max-width: 720px) {
  .admin-client-list-table table,
  .admin-client-documents .table-wrap table,
  .admin-client-users .table-wrap table { min-width: 920px; }
}
.admin-order-filter {
  grid-template-columns: minmax(120px, 160px) minmax(220px, 1fr) minmax(150px, 180px) minmax(150px, 180px) auto auto;
}
.admin-order-filter .reset-link {
  align-self: end;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}
.admin-orders-table table { min-width: 1320px; }
.export-badges { display: flex; flex-wrap: wrap; gap: 5px; }
.export-badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 3px 7px;
  border-radius: 999px;
  background: #ecfdf3;
  color: #027a48;
  border: 1px solid #abefc6;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}
.status-requested { color: #b54708; background: #fffaeb; border-color: #fedf89; }
.status-confirmed { color: #027a48; background: #ecfdf3; border-color: #abefc6; }
.status-cancelled { color: #475467; background: #f2f4f7; border-color: #d0d5dd; }
@media (max-width: 900px) {
  .admin-order-filter { grid-template-columns: 1fr; }
  .admin-order-filter .reset-link { width: fit-content; }
}
.admin-export-filter {
  grid-template-columns: minmax(150px, 190px) minmax(260px, 1fr) minmax(150px, 180px) minmax(150px, 180px) auto auto;
}
.admin-export-filter .reset-link {
  align-self: end;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}
.admin-exports-table table { min-width: 1220px; }
.admin-export-history-table table { min-width: 860px; }
.export-type-badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid #b2ddff;
  background: #eff8ff;
  color: #175cd3;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}
.export-type-purchase-form {
  border-color: #abefc6;
  background: #ecfdf3;
  color: #027a48;
}
@media (max-width: 900px) {
  .admin-export-filter { grid-template-columns: 1fr; }
  .admin-export-filter .reset-link { width: fit-content; }
}


/* Client UX polish */
.app-topbar { position: sticky; top: 0; z-index: 20; box-shadow: 0 1px 0 rgba(16, 24, 40, 0.04); }
.brand-block { display: grid; gap: 6px; min-width: 220px; }
.brand-link { display: grid; gap: 2px; text-decoration: none; }
.brand-link strong { font-size: 20px; line-height: 1.2; }
.session-chip { display: inline-flex; width: fit-content; max-width: 100%; padding: 4px 8px; border: 1px solid #abefc6; border-radius: 999px; color: #027a48; background: #ecfdf3; font-size: 12px; font-weight: 800; }
.admin-chip { border-color: #b2ddff; color: #175cd3; background: #eff8ff; }
.muted-chip { border-color: var(--line); color: var(--muted); background: #f8fafc; }
.app-nav { justify-content: flex-end; }
.app-nav a { min-height: 38px; display: inline-flex; align-items: center; }
.client-hero { background: var(--panel); border: 1px solid var(--line); border-radius: 8px; padding: 28px; margin-bottom: 16px; }
.client-hero h2 { margin: 6px 0 10px; font-size: 28px; line-height: 1.25; }
.client-hero p { max-width: 760px; color: var(--muted); margin: 6px 0; font-weight: 650; }
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.client-summary-grid p { margin: 8px 0 0; color: var(--muted); font-size: 13px; font-weight: 650; }
.client-guide-card, .product-intro { border-left: 4px solid var(--brand); }
.login-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 420px); gap: 18px; align-items: start; }
.login-copy, .complete-card { background: var(--panel); border: 1px solid var(--line); border-radius: 8px; padding: 22px; }
.login-copy h2, .complete-card h2 { margin: 6px 0 10px; font-size: 24px; }
.login-copy p, .complete-card p { color: var(--muted); font-weight: 650; }
.check-list { margin: 16px 0 0; padding-left: 18px; color: var(--muted); font-weight: 700; }
.check-list li { margin: 7px 0; }
.client-login-panel { max-width: none; }
.panel-title { margin-bottom: 14px; }
.panel-title strong { font-size: 18px; }
.panel-title p { margin: 5px 0 0; color: var(--muted); }
.complete-card { max-width: 860px; margin: 0 auto; }
.code-box { background: #f8fafc; border: 1px solid var(--line); border-radius: 8px; padding: 12px; }
.next-step-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 18px 0; }
.next-step-grid div { border: 1px solid var(--line); border-radius: 8px; padding: 14px; background: #f8fafc; }
.next-step-grid span { display: inline-flex; width: 26px; height: 26px; align-items: center; justify-content: center; border-radius: 999px; background: var(--brand); color: #fff; font-weight: 900; }
.next-step-grid strong { display: block; margin-top: 8px; }
.next-step-grid p { margin: 5px 0 0; font-size: 13px; }
.complete-actions { justify-content: flex-start; }
.account-grid { margin-bottom: 16px; }
.account-help-box { border-left: 4px solid #b2ddff; }
.product-toolbar { grid-template-columns: 120px minmax(150px, 220px) minmax(260px, 1fr) auto; }
.product-name-cell { min-width: 240px; white-space: normal; line-height: 1.35; }
.success-note { border-color: #abefc6; background: #ecfdf3; }
.cart-page-header { align-items: flex-start; }
.order-status-guide { display: grid; gap: 8px; }
.order-status-guide p { margin: 0; }
.client-orders-table table { min-width: 960px; }
.client-order-detail-table table { min-width: 980px; }
.order-summary-stats strong { color: var(--brand-dark); }
input, select, textarea, button, .secondary, .primary-button { min-height: 40px; }
button:disabled { opacity: 0.5; cursor: not-allowed; }
@media (max-width: 900px) { .topbar { align-items: stretch; } .app-nav { justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 2px; } .app-nav a { flex: 0 0 auto; } .login-layout { grid-template-columns: 1fr; } .next-step-grid { grid-template-columns: 1fr; } .product-toolbar { grid-template-columns: 1fr; } }
@media (max-width: 720px) { .client-hero { padding: 18px; } .client-hero h2 { font-size: 24px; } .hero-actions, .complete-actions { flex-direction: column; } .hero-actions a, .complete-actions a, .primary-button, .secondary { width: 100%; justify-content: center; text-align: center; } th, td { padding: 9px 10px; } .qty-input { width: 64px; } }


/* Integrated wholesale order screen */
.supplier-select-card { display: grid; gap: 14px; }
.supplier-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.supplier-tab { border: 1px solid var(--line); border-radius: 8px; padding: 12px; text-decoration: none; background: #fff; display: grid; gap: 5px; }
.supplier-tab strong { font-size: 16px; }
.supplier-tab span { color: var(--muted); font-size: 12px; font-weight: 800; }
.supplier-tab.active { border-color: var(--brand-dark); background: #ecfdf3; }
.supplier-tab.disabled-supplier { background: #f8fafc; }
.supplier-coming-soon { border-left: 4px solid #b2ddff; }
.integrated-order-toolbar { grid-template-columns: 110px minmax(140px, 180px) minmax(120px, 160px) minmax(120px, 160px) minmax(220px, 1fr) auto auto; }
.integrated-product-table table { min-width: 1360px; }
.stock-filter {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  font-size: 13px;
  font-weight: 800;
  color: var(--text);
  white-space: nowrap;
}
.stock-filter input { min-height: auto; }

.wholesale-order-header p { margin: 6px 0 0; }
@media (max-width: 900px) {
  .supplier-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .integrated-order-toolbar { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .supplier-tabs { grid-template-columns: 1fr; }
}


/* Supplier grouped cart */
.supplier-cart-board { display: grid; gap: 14px; }
.supplier-cart-board-heading p { margin: 5px 0 0; color: var(--muted); }
.supplier-cart-group { border: 1px solid var(--line); border-radius: 8px; background: #fff; padding: 14px; display: grid; gap: 14px; }
.active-supplier-cart { border-color: #abefc6; background: #fcfffd; }
.supplier-cart-header { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.supplier-cart-header strong { display: block; margin-top: 6px; font-size: 18px; }
.supplier-cart-header p { margin: 5px 0 0; color: var(--muted); }
.supplier-cart-status { display: inline-flex; min-height: 24px; align-items: center; padding: 3px 8px; border-radius: 999px; background: #ecfdf3; color: #027a48; border: 1px solid #abefc6; font-size: 12px; font-weight: 900; }
.supplier-cart-coming-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.supplier-cart-coming-card { border: 1px dashed var(--line); border-radius: 8px; padding: 14px; background: #f8fafc; display: grid; gap: 6px; }
.supplier-cart-coming-card span { width: fit-content; padding: 3px 8px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); font-size: 12px; font-weight: 900; background: #fff; }
.supplier-cart-coming-card strong { font-size: 15px; }
.supplier-cart-coming-card p { margin: 0; color: var(--muted); font-size: 13px; font-weight: 650; }
.order-request-inside-supplier { border-top: 1px solid var(--line); padding-top: 14px; }
.supplier-cart-page-card { padding: 16px; }
@media (max-width: 900px) { .supplier-cart-coming-grid { grid-template-columns: 1fr; } .supplier-cart-header { flex-direction: column; } }


.supplier-badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #f8fafc;
  font-size: 12px;
  font-weight: 800;
  color: var(--text);
}
.supplier-banax { color: #175cd3; background: #eff8ff; border-color: #b2ddff; }
.empty-filter-note { margin-bottom: 14px; }

.stock-empty-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  padding: 4px 8px;
  border: 1px solid #fecaca;
  border-radius: 999px;
  background: #fff1f2;
  color: #b91c1c;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}

.order-unit-note {
  margin-top: 4px;
  color: #64748b;
  font-size: 12px;
  font-weight: 600;
}

.order-unit-block-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 82px;
  padding: 4px 8px;
  border: 1px solid #fde68a;
  border-radius: 999px;
  background: #fffbeb;
  color: #92400e;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}

.readonly-supplier-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 58px;
  padding: 4px 8px;
  border: 1px solid #bfdbfe;
  border-radius: 999px;
  background: #eff6ff;
  color: #1d4ed8;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}


.shipping-policy-notice { border-color: #fedf89; background: #fffaeb; }
.shipping-policy-notice strong { color: #92400e; }
.shipping-policy-notice p { color: #854d0e; }

/* Login landing */
.client-login-page {
  min-height: 100vh;
  background: #f6f7f9;
}
.client-login-page .app-topbar {
  display: none;
}
.client-login-page .shell {
  min-height: 100vh;
  max-width: none;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 16px;
}
.login-landing {
  width: 100%;
  max-width: 480px;
  display: grid;
  gap: 18px;
}
.login-brand {
  text-align: center;
}
.login-brand .session-chip {
  margin: 0 auto 12px;
}
.login-brand h1 {
  margin: 0;
  font-size: 28px;
  line-height: 1.25;
}
.login-brand p {
  margin: 8px 0 0;
  color: var(--muted);
  font-weight: 700;
}
.login-card {
  width: 100%;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 14px 30px rgba(16, 24, 40, 0.08);
}
.login-card-title {
  margin-bottom: 18px;
}
.login-card-title strong {
  display: block;
  font-size: 22px;
  line-height: 1.25;
}
.login-card-title p,
.login-register-box p,
.login-help-text {
  margin: 6px 0 0;
  color: var(--muted);
  font-weight: 650;
  line-height: 1.45;
}
.login-form {
  gap: 16px;
}
.login-form input {
  min-height: 48px;
  padding: 12px;
  font-size: 16px;
}
.login-form button {
  min-height: 48px;
  font-size: 16px;
}
.login-form button,
.login-register-box .secondary,
.apply-type-card .primary-button,
.apply-disabled-submit .primary-button {
  background: linear-gradient(90deg, #172554 0%, #1e3a8a 100%);
  border-color: #172554;
  color: #ffffff;
  box-shadow: 0 8px 18px rgba(23, 37, 84, 0.18);
}
.login-form button:hover,
.login-register-box .secondary:hover,
.apply-type-card .primary-button:hover,
.apply-disabled-submit .primary-button:hover {
  background: #172554;
  border-color: #172554;
  color: #ffffff;
}
.login-card-divider {
  height: 1px;
  background: var(--line);
  margin: 22px 0;
}
.login-register-box {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid #dbe4ef;
  border-radius: 8px;
  background: #f8fafc;
}
.login-register-box strong {
  font-size: 16px;
}
.login-register-box .secondary {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  text-align: center;
}
.login-help-text {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 13px;
}
@media (max-width: 480px) {
  .client-login-page .shell {
    align-items: flex-start;
    padding: 18px 16px;
  }
  .login-landing {
    gap: 14px;
  }
  .login-brand h1 {
    font-size: 24px;
  }
  .login-card {
    padding: 20px 16px;
  }
  .login-card-title strong {
    font-size: 20px;
  }
}

.apply-hero strong {
  font-size: 24px;
}
.apply-hero p {
  margin: 8px 0 0;
  color: var(--muted);
  font-weight: 700;
  line-height: 1.5;
}
.apply-guide p {
  margin: 6px 0 0;
}
.apply-type-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.apply-type-card {
  display: grid;
  gap: 16px;
  align-content: space-between;
  min-height: 320px;
  padding: 24px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(16, 24, 40, 0.06);
}
.apply-type-card h2 {
  margin: 10px 0 8px;
  font-size: 22px;
  line-height: 1.25;
}
.apply-type-card p {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
  line-height: 1.5;
}
.apply-type-card ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 18px;
  color: var(--text);
  line-height: 1.5;
}
.apply-type-card .primary-button {
  width: 100%;
  min-height: 48px;
  text-align: center;
}
.apply-type-card .session-chip {
  width: fit-content;
}
.apply-preview-panel {
  margin-top: 16px;
}
.readonly-apply-grid input:disabled,
.readonly-apply-grid textarea:disabled {
  background: #f3f6f9;
  color: var(--muted);
  opacity: 1;
}
.apply-disabled-submit {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 16px;
}
@media (max-width: 720px) {
  .apply-type-grid {
    grid-template-columns: 1fr;
  }
  .apply-hero {
    gap: 12px;
  }
  .apply-hero .secondary {
    width: 100%;
  }
  .apply-type-card {
    min-height: auto;
    padding: 18px;
  }
  .apply-type-card h2 {
    font-size: 20px;
  }
  .apply-disabled-submit .primary-button,
  .apply-disabled-submit .secondary {
    width: 100%;
  }
}
.privacy-check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.privacy-check input[type="checkbox"] {
  width: 18px;
  min-height: 18px;
  margin-top: 2px;
}
.privacy-check span {
  margin: 0;
  line-height: 1.5;
}
.file-guide small {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-weight: 650;
  line-height: 1.45;
}

.address-fieldset {
  display: grid;
  gap: 8px;
}
.address-fieldset > span {
  font-size: 13px;
  font-weight: 800;
  color: var(--text);
}
.address-search-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
}
.postcode-button {
  min-height: 42px;
  white-space: nowrap;
}
.address-fieldset input {
  width: 100%;
}
@media (max-width: 520px) {
  .address-search-row {
    grid-template-columns: 1fr;
  }
  .postcode-button {
    width: 100%;
  }
}

.admin-applications-table td,
.admin-applications-table th {
  white-space: nowrap;
}
.application-detail-grid .wide strong {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.admin-application-filter {
  align-items: end;
}

.register-grid label small {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-weight: 650;
  line-height: 1.45;
}

.review-action-form {
  display: grid;
  gap: 10px;
  margin-top: 14px;
  max-width: 680px;
}

.review-action-form label {
  display: grid;
  gap: 6px;
  font-weight: 700;
}

.review-action-form textarea {
  min-height: 82px;
  resize: vertical;
}

.review-action-form.reject {
  border-top: 1px solid #e5e7eb;
  padding-top: 14px;
}

.password-change-page {
  max-width: 560px;
  margin: 0 auto;
}

.password-change-card {
  margin: 0;
}

.password-change-notice {
  margin-bottom: 14px;
}

.client-login-page .shell > .flash-stack {
  display: none;
}

.login-alert-stack {
  display: grid;
  gap: 8px;
  margin: 0 0 16px;
}

.login-alert-stack .alert {
  width: 100%;
  line-height: 1.45;
}

.client-status-action-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 16px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
}

.client-status-form {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.client-status-form input[type="text"] {
  min-width: 260px;
}



/* Supplier top navigation UX */
.app-nav .supplier-menu-link {
  border-color: #abefc6;
  background: #f6fef9;
  color: #027a48;
}
.app-nav .supplier-menu-link.active {
  background: var(--brand);
  border-color: var(--brand-dark);
  color: #fff;
}
.compact-order-header {
  margin-bottom: 12px;
}
.compact-order-header strong {
  font-size: 24px;
}
.order-policy-summary {
  margin-bottom: 12px;
}
.order-policy-summary summary {
  cursor: pointer;
  font-weight: 900;
}
.supplier-brief {
  margin: 0 0 12px;
  color: var(--muted);
  font-weight: 700;
}
.compact-search-heading {
  margin-bottom: 10px;
}
.compact-product-search {
  grid-template-columns: minmax(280px, 1fr) minmax(140px, 180px) 110px auto auto;
}
.compact-product-search .toolbar-search input {
  min-height: 44px;
  font-size: 16px;
}
.compact-product-search button {
  min-height: 44px;
  padding-inline: 18px;
}

@media (max-width: 900px) {
  .app-topbar {
    align-items: stretch;
  }
  .brand-block {
    min-width: 0;
  }
  .app-nav {
    width: 100%;
    overflow-x: auto;
    flex-wrap: nowrap;
    scrollbar-width: thin;
    padding-bottom: 4px;
  }
  .app-nav a {
    flex: 0 0 auto;
    white-space: nowrap;
  }
  .compact-product-search {
    grid-template-columns: 1fr;
  }
}


/* Top navigation visual separation */
.app-topbar {
  background: #ffffff;
  border-bottom: 0;
  padding: 14px 24px 0;
  gap: 12px;
  flex-wrap: wrap;
}
.app-topbar .brand-block {
  flex: 1 1 260px;
  padding-bottom: 12px;
}
.app-nav {
  flex: 1 1 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 10px 12px;
  margin: 0 -24px;
  background: #24594f;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.nav-group {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.supplier-nav-group {
  flex: 1 1 auto;
}
.utility-nav-group,
.admin-nav-group {
  flex: 0 0 auto;
}
.app-nav a,
.app-nav .supplier-menu-link {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 7px;
  padding: 8px 12px;
  color: #ecfdf3;
  background: transparent;
  text-decoration: none;
  font-weight: 850;
  white-space: nowrap;
}
.app-nav a:hover {
  background: rgba(255, 255, 255, 0.12);
}
.app-nav .supplier-menu-link {
  color: #d1fae5;
}
.app-nav .supplier-menu-link.active {
  background: #ffffff;
  color: #115e59;
  border-color: #ffffff;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.12);
}
.utility-nav-group {
  padding-left: 12px;
  border-left: 1px solid rgba(255, 255, 255, 0.22);
}
.utility-nav-group a,
.admin-nav-group a {
  color: #f8fafc;
  background: rgba(255, 255, 255, 0.06);
}
.product-search-card {
  padding: 14px;
}
.product-search-card .table-wrap {
  margin-top: 4px;
}
.integrated-product-table th {
  background: #f8fafc;
  color: #334155;
  font-size: 12px;
  font-weight: 900;
}
.add-cart-button {
  min-width: 56px;
  padding-inline: 12px !important;
}
.add-cart-button.disabled,
.add-cart-button:disabled {
  background: #e5e7eb !important;
  border-color: #d1d5db !important;
  color: #94a3b8 !important;
  box-shadow: none !important;
}

@media (max-width: 900px) {
  .app-topbar {
    padding: 12px 16px 0;
  }
  .app-nav {
    margin: 0 -16px;
    padding: 9px 10px;
    flex-direction: column;
    align-items: stretch;
    overflow-x: visible;
  }
  .nav-group {
    overflow-x: auto;
    flex-wrap: nowrap;
    scrollbar-width: thin;
    padding-bottom: 2px;
  }
  .utility-nav-group {
    padding-left: 0;
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    padding-top: 8px;
  }
  .app-nav a {
    flex: 0 0 auto;
  }
}


/* Inline order cart summary */
.inline-cart-section {
  border-color: #c7d2fe;
  background: #ffffff;
}
.inline-cart-section > .cart-header-row {
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.inline-cart-board .supplier-cart-board-heading {
  margin-bottom: 2px;
}
.inline-cart-board .supplier-cart-group {
  border-color: #dbeafe;
  background: #f8fbff;
  padding: 12px;
}
.inline-cart-board .supplier-cart-header strong {
  font-size: 16px;
}
.inline-cart-board .cart-policy-note,
.inline-cart-board .cart-submit-note,
.inline-cart-board .shipping-policy-notice {
  background: #ffffff;
}
.inline-cart-board .cart-table-wrap table {
  min-width: 1040px;
}
.inline-cart-board .cart-totals {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.mini-link {
  min-height: 32px;
  padding: 6px 10px;
  font-size: 12px;
}
@media (max-width: 900px) {
  .inline-cart-section .admin-actions {
    width: 100%;
  }
  .inline-cart-section .admin-actions a {
    flex: 1 1 140px;
    justify-content: center;
  }
  .inline-cart-board .cart-totals {
    grid-template-columns: 1fr;
  }
}


/* Wholesale order UX step 3 */
.order-hero-compact {
  background: linear-gradient(135deg, #172554 0%, #1e3a8a 100%);
  color: #ffffff;
  border-color: #1e3a8a;
  padding: 14px 18px;
}
.order-hero-compact span,
.order-hero-compact .muted-note {
  color: #dbeafe;
}
.order-hero-compact .secondary {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.24);
}
.order-policy-compact {
  margin: 8px 0 12px;
  border-left-color: #4f6df5;
}
.order-policy-compact summary {
  cursor: pointer;
  color: #172554;
  font-weight: 900;
}
.order-product-panel {
  margin-bottom: 12px;
}
.order-product-panel .result-heading {
  border-top: 1px solid #e5e7eb;
  margin-top: 2px;
}
.inline-cart-section {
  scroll-margin-top: 92px;
  box-shadow: 0 16px 38px rgba(15, 23, 42, 0.08);
}
.inline-cart-section > .cart-header-row {
  align-items: center;
}
.inline-cart-section .primary-button {
  background: #1e3a8a;
  border-color: #172554;
}
.inline-cart-board .supplier-cart-board-heading strong {
  color: #172554;
  font-size: 17px;
}
.inline-cart-board .cart-stats,
.inline-cart-board .cart-totals {
  gap: 10px;
}
.inline-cart-board .cart-stats div,
.inline-cart-board .cart-totals div {
  background: #ffffff;
  border-color: #dbeafe;
}
.inline-cart-board .cart-submit-note {
  border-left-color: #1e3a8a;
}
.simple-cart-page-header {
  margin-bottom: 10px;
}
.simple-cart-page-header strong {
  font-size: 22px;
}
.simple-cart-title-row {
  align-items: flex-start;
  gap: 12px;
}
.simple-cart-title-row p,
.inline-cart-heading p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}
.supplier-cart-overview {
  align-items: center;
}
.supplier-cart-overview p {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}
.simple-cart-summary,
.inline-cart-summary-bar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px 14px;
}
.simple-cart-summary span,
.inline-cart-summary-bar span {
  color: #475569;
  font-weight: 800;
}
.simple-cart-summary strong,
.inline-cart-summary-bar strong {
  color: #0f172a;
  font-size: 16px;
}
.simple-qty-form,
.inline-supplier-cart-table .simple-qty-form {
  justify-content: flex-end;
  gap: 6px;
}
.simple-qty-form .qty-input,
.inline-supplier-cart-table .qty-input {
  width: 76px;
  min-height: 36px;
  text-align: right;
  font-weight: 800;
}
.simple-qty-form button,
.inline-supplier-cart-table .simple-qty-form button {
  min-height: 36px;
  white-space: nowrap;
}
.simple-order-request-box,
.inline-order-request-box {
  border: 1px solid #bfdbfe;
  border-left: 4px solid #2563eb;
  background: #f8fbff;
}
.simple-order-request-box p,
.inline-order-request-box p {
  margin: 4px 0 0;
  color: var(--muted);
  font-weight: 700;
}
.js-order-request-submit:disabled {
  cursor: wait;
  opacity: 0.72;
}
.simple-cart-empty a,
.inline-cart-empty a {
  margin-top: 10px;
}
.cart-shipping-fee-summary {
  margin: 8px 0 12px;
  padding: 10px 12px;
  border: 1px solid #dbeafe;
  border-left: 4px solid #2563eb;
  border-radius: 8px;
  background: #f8fbff;
}
.cart-shipping-fee-summary.compact {
  margin-top: 8px;
}
.cart-shipping-fee-lines {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  margin-bottom: 6px;
}
.cart-shipping-fee-lines span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 8px;
  border: 1px solid #bfdbfe;
  border-radius: 999px;
  background: #ffffff;
  color: #1e3a8a;
  font-size: 12px;
  font-weight: 850;
}
.cart-shipping-fee-summary p {
  margin: 2px 0;
  color: #475569;
  font-size: 13px;
  font-weight: 650;
}
@media (max-width: 720px) {
  .order-hero-compact {
    padding: 12px;
  }
  .order-hero-compact .admin-actions,
  .inline-cart-section .admin-actions {
    display: grid;
    grid-template-columns: 1fr;
  }
  .order-policy-compact {
    margin-top: 6px;
  }
}


/* Simplified single top navigation */
.simplified-topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  display: block;
  padding: 0;
  background: #172554;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
}
.simplified-topbar .brand-block {
  display: none;
}
.simplified-nav {
  width: 100%;
  max-width: none;
  min-height: 56px;
  margin: 0;
  padding: 8px 18px;
  background: linear-gradient(90deg, #172554 0%, #1e3a8a 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  overflow: visible;
}
.topbar-brand {
  flex: 0 0 auto;
  min-height: 40px;
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
  padding: 0 10px 0 0;
  color: #ffffff;
  text-decoration: none;
  letter-spacing: 0;
  border: 0 !important;
  background: transparent !important;
}
.topbar-brand span {
  font-size: 14px;
  font-weight: 950;
}
.topbar-brand strong {
  font-size: 11px;
  color: #bfdbfe;
  font-weight: 900;
}
.simplified-nav .nav-group {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}
.simplified-nav .supplier-nav-group {
  flex: 1 1 auto;
  justify-content: center;
}
.simplified-nav .utility-nav-group,
.simplified-nav .admin-nav-group {
  flex: 0 0 auto;
}
.simplified-nav .utility-nav-group {
  padding-left: 12px;
  border-left: 1px solid rgba(255, 255, 255, 0.2);
}
.simplified-nav a,
.simplified-nav .supplier-menu-link {
  min-height: 36px;
  border: 1px solid transparent;
  border-radius: 7px;
  padding: 7px 10px;
  color: #e0e7ff;
  background: transparent;
  font-size: 13px;
  font-weight: 850;
  text-decoration: none;
  white-space: nowrap;
}
.simplified-nav a:hover {
  background: rgba(255, 255, 255, 0.12);
}
.simplified-nav .supplier-menu-link.active {
  background: #ffffff;
  color: #172554;
  border-color: #ffffff;
  box-shadow: 0 5px 14px rgba(15, 23, 42, 0.14);
}
.simplified-nav .topbar-session {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  border-radius: 999px;
  color: #bfdbfe;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}
.simplified-topbar + .shell {
  padding-top: 14px;
}
.order-hero-compact {
  padding: 12px 16px;
  margin-bottom: 10px;
}
.product-search-card {
  padding-top: 12px;
}

@media (max-width: 1100px) {
  .simplified-nav {
    flex-wrap: wrap;
    gap: 8px;
    padding: 8px 12px;
  }
  .topbar-brand {
    min-height: 32px;
  }
  .simplified-nav .supplier-nav-group {
    order: 3;
    flex: 1 0 100%;
    justify-content: flex-start;
    overflow-x: auto;
    scrollbar-width: thin;
    padding-bottom: 2px;
  }
  .simplified-nav .admin-nav-group {
    order: 3;
    flex: 1 0 100%;
    overflow-x: auto;
    scrollbar-width: thin;
  }
  .simplified-nav .utility-nav-group {
    margin-left: auto;
  }
}
@media (max-width: 720px) {
  .simplified-nav {
    min-height: 0;
  }
  .simplified-nav .utility-nav-group {
    flex: 1 0 100%;
    margin-left: 0;
    padding-left: 0;
    border-left: 0;
    overflow-x: auto;
    scrollbar-width: thin;
  }
  .simplified-nav a,
  .simplified-nav .supplier-menu-link {
    min-height: 34px;
    padding: 7px 9px;
    font-size: 13px;
  }
  .topbar-brand span {
    font-size: 13px;
  }
  .topbar-brand strong {
    font-size: 10px;
  }
  .simplified-topbar + .shell {
    padding-top: 10px;
  }
}

/* Simple cart order table */
.simple-cart-page-header {
  align-items: center;
}

.simple-cart-header-actions,
.simple-cart-title-row,
.simple-cart-toolbar,
.simple-order-request-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.simple-cart-page-card {
  padding: 0;
}

.simple-cart-board {
  display: grid;
  gap: 16px;
  padding: 22px;
}

.simple-cart-title-row p {
  margin: 4px 0 0;
  color: var(--muted-text);
  font-size: 14px;
}

.simple-cart-toolbar {
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 10px 14px;
  background: #fff;
}

.simple-cart-tools,
.simple-cart-summary {
  display: flex;
  align-items: center;
  gap: 10px;
}

.simple-cart-summary strong {
  color: var(--danger-color);
}

.simple-text-button {
  border: 0;
  background: transparent;
  color: var(--muted-text);
  font-weight: 700;
  cursor: not-allowed;
}

.simple-text-button.danger {
  color: var(--danger-color);
}

.simple-cart-table-wrap {
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow-x: auto;
}

.simple-cart-table {
  min-width: 960px;
}

.simple-cart-table th,
.simple-cart-table td {
  white-space: nowrap;
  vertical-align: middle;
}

.simple-cart-table .product-name-cell {
  white-space: normal;
  min-width: 260px;
}

.simple-cart-table .select-col {
  width: 44px;
  text-align: center;
}

.simple-qty-form {
  justify-content: flex-end;
}

.simple-order-request-box {
  align-items: flex-start;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 16px;
  background: #fff;
}

.simple-order-request-form {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) auto;
  align-items: end;
  gap: 12px;
  min-width: min(560px, 100%);
}

.simple-cart-empty {
  padding: 34px 16px;
}

.simple-cart-empty strong,
.simple-cart-empty span {
  display: block;
  margin-bottom: 8px;
}

@media (max-width: 760px) {
  .simple-cart-page-header,
  .simple-cart-title-row,
  .simple-cart-toolbar,
  .simple-order-request-box,
  .simple-order-request-form {
    display: grid;
    align-items: stretch;
  }

  .simple-cart-summary {
    justify-content: space-between;
  }
}

/* Supplier section cart page */
.supplier-section-cart-header {
  margin-bottom: 16px;
}

.supplier-cart-overview {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--border-color);
  background: #fff;
}

.supplier-cart-overview div {
  display: grid;
  gap: 4px;
}

.supplier-cart-overview span,
.supplier-cart-overview p {
  color: var(--muted-text);
  font-size: 13px;
}

.supplier-cart-overview strong {
  font-size: 18px;
}

.supplier-cart-section-list {
  display: grid;
  gap: 18px;
  padding: 18px;
}

.supplier-cart-section-list .simple-cart-board {
  border: 1px solid var(--border-color);
  border-radius: 8px;
  background: #fff;
}

.supplier-cart-empty-state {
  display: grid;
  gap: 10px;
  justify-items: center;
  padding: 48px 22px;
}

@media (max-width: 760px) {
  .supplier-cart-overview {
    display: grid;
    align-items: stretch;
  }

  .supplier-cart-section-list {
    padding: 12px;
  }
}

/* Current supplier inline cart */
.current-supplier-cart {
  scroll-margin-top: 96px;
}

.inline-cart-heading {
  align-items: center;
}

.inline-cart-summary-bar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  padding: 12px 16px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  background: #fff;
}

.inline-cart-summary-bar span {
  color: var(--muted-text);
}

.inline-cart-summary-bar strong {
  color: var(--danger-color);
}

.inline-cart-flashes {
  display: grid;
  gap: 8px;
  margin: 12px 0;
}

.inline-cart-flashes .flash-message {
  margin: 0;
}

.inline-supplier-cart-table table {
  min-width: 760px;
}

.inline-supplier-cart-table th,
.inline-supplier-cart-table td {
  white-space: nowrap;
}

.inline-supplier-cart-table .product-name-cell {
  min-width: 260px;
  white-space: normal;
}

.inline-cart-empty strong,
.inline-cart-empty span {
  display: block;
  margin-bottom: 8px;
}

.inline-order-request-box {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 16px;
  background: #fff;
}

.inline-order-request-form {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) auto;
  align-items: end;
  gap: 12px;
  min-width: min(560px, 100%);
}

@media (max-width: 760px) {
  .inline-cart-heading,
  .inline-cart-summary-bar,
  .inline-order-request-box,
  .inline-order-request-form {
    display: grid;
    align-items: stretch;
  }
}

/* Cart quantity and delete controls */
.simple-qty-form {
  gap: 6px;
}

.simple-qty-form .qty-input {
  width: 76px;
}

.inline-supplier-cart-table .danger-button,
.simple-cart-table .danger-button {
  white-space: nowrap;
}
.cart-bulk-toolbar,
.simple-cart-tools {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cart-bulk-toolbar {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  justify-content: space-between;
  margin: 0 0 10px;
  padding: 10px 12px;
}

.cart-select-all-label {
  align-items: center;
  color: #334155;
  display: inline-flex;
  font-size: 13px;
  font-weight: 700;
  gap: 6px;
  white-space: nowrap;
}

.cart-select-all-label input,
.select-col input {
  cursor: pointer;
}

.select-col {
  text-align: center;
  width: 48px;
}

.js-cart-delete-selected:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}


.image-link-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  min-height: 32px;
  padding: 0 10px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  background: #fff;
  color: #0f172a;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}
.image-link-button:hover {
  border-color: #0f766e;
  color: #0f766e;
}
.image-link-button.disabled,
.image-link-button:disabled {
  background: #f1f5f9;
  color: #94a3b8;
  cursor: not-allowed;
}


/* Compact product order table */
.integrated-product-table th,
.integrated-product-table td {
  padding: 7px 10px;
  line-height: 1.25;
  vertical-align: middle;
}

.integrated-product-table .product-name-cell {
  line-height: 1.25;
}

.integrated-product-table .add-cart-button,
.integrated-product-table .image-link-button {
  min-height: 32px;
  padding-block: 0 !important;
}

.integrated-product-table .add-cart-form {
  min-height: 0;
}


/* Product table row hover state */
.integrated-product-table tbody tr {
  transition: background-color 120ms ease, box-shadow 120ms ease;
}

.integrated-product-table tbody tr:hover {
  background: #ecfdf5;
  box-shadow: inset 4px 0 0 #0f766e;
}

.integrated-product-table tbody tr:hover td {
  border-color: #a7f3d0;
}

.integrated-product-table tbody tr:hover .code,
.integrated-product-table tbody tr:hover .product-name-cell {
  color: #064e3b;
}


/* Product table centered header */
.integrated-product-table thead th {
  text-align: center;
}


/* Product table body alignment */
.integrated-product-table tbody td {
  text-align: center;
}

.integrated-product-table tbody .product-name-cell {
  text-align: left;
}

.integrated-product-table tbody .money-cell {
  text-align: right;
}


/* Center active add-cart form in product table */
.integrated-product-table .add-cart-form {
  display: flex;
  justify-content: center;
  width: 100%;
}


/* Simple cart order sheet refinement */
.simple-cart-page-card {
  background: transparent;
  border: 0;
  box-shadow: none;
}

.supplier-cart-overview {
  display: none;
}

.simple-cart-board {
  background: #fff;
  border: 1px solid #d7e0ec;
  border-radius: 8px;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.04);
  gap: 0;
  padding: 0;
}

.simple-cart-title-row {
  border-bottom: 1px solid #e5e7eb;
  padding: 18px 24px;
}

.simple-cart-title-row strong {
  font-size: 18px;
}

.simple-cart-order-button {
  min-width: 72px;
}

.simple-cart-toolbar {
  border: 0;
  border-radius: 0;
  padding: 16px 24px 8px;
}

.simple-cart-table-wrap {
  border: 0;
  border-radius: 0;
  padding: 0 24px 24px;
}

.simple-cart-table {
  border: 1px solid #e5e7eb;
  min-width: 980px;
}

.simple-cart-table th {
  background: #172b4d;
  color: #fff;
  font-weight: 900;
  text-align: center;
}

.simple-cart-table td {
  padding: 8px 10px;
  text-align: center;
}

.simple-cart-table .product-name-cell {
  text-align: center;
}

.simple-cart-table .num {
  text-align: right;
}

.simple-cart-table .simple-qty-form {
  justify-content: center;
}

.simple-cart-table .simple-qty-form .qty-input {
  height: 30px;
  text-align: center;
  width: 58px;
}

.simple-cart-table .simple-qty-form button {
  min-height: 30px;
  padding: 4px 8px;
}

.simple-order-request-box {
  border: 0;
  border-top: 1px solid #e5e7eb;
  border-radius: 0;
  padding: 16px 24px 24px;
}

/* Admin price policy read-only screen */
.price-policy-summary {
  margin-bottom: 16px;
}

.admin-section {
  margin-top: 18px;
}

.section-title-row {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}

.section-title-row h2 {
  font-size: 18px;
  margin: 0;
}

.section-title-row span {
  color: #56657a;
  font-weight: 700;
}

.admin-price-groups-table td,
.admin-price-groups-table th,
.admin-price-policies-table td,
.admin-price-policies-table th {
  white-space: nowrap;
}

.admin-price-policies-table td:first-child {
  min-width: 190px;
}
\n

/* Admin price policy edit */
.policy-current-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.policy-current-grid > div,
.admin-edit-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.policy-current-grid > div {
  padding: 12px;
}

.policy-current-grid span,
.admin-edit-form label span {
  color: var(--muted);
  display: block;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 6px;
}

.policy-current-grid strong {
  display: block;
}

.policy-current-grid small {
  color: var(--muted);
}

.admin-edit-form {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 18px;
  padding: 18px;
}

.admin-edit-form input,
.admin-edit-form select,
.admin-edit-form textarea {
  border: 1px solid var(--line);
  border-radius: 6px;
  font: inherit;
  padding: 10px;
  width: 100%;
}

.admin-edit-form textarea {
  resize: vertical;
}

.full-span {
  grid-column: 1 / -1;
}

.confirmation-check {
  align-items: center;
  display: flex;
  gap: 10px;
}

.confirmation-check input {
  width: auto;
}

.confirmation-check span {
  margin: 0;
}

.validation-list {
  margin: 8px 0 0;
  padding-left: 20px;
}

@media (max-width: 900px) {
  .policy-current-grid,
  .admin-edit-form {
    grid-template-columns: 1fr;
  }
}



.warning-note {
  border-color: #f59e0b;
  background: #fffbeb;
  color: #78350f;
}


.price-unavailable-row {
  background: #fffaf0;
}

.price-check-needed {
  color: #b45309;
  font-weight: 700;
  white-space: nowrap;
}

.price-unavailable-notice {
  border-color: #f59e0b;
  background: #fff7ed;
}

.order-empty-state strong,
.order-empty-state span {
  display: block;
  margin-bottom: 6px;
}
.order-empty-state .compact-link {
  display: inline-flex;
  margin-top: 8px;
}
.order-detail-shipping-note p {
  font-size: 12px;
}
.client-orders-table td,
.client-orders-table th {
  white-space: nowrap;
}

.admin-order-summary-stats {
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
}
.admin-orders-table table {
  min-width: 1320px;
}
.admin-order-items-table table {
  min-width: 1180px;
}
.policy-debug-cell {
  min-width: 220px;
  font-size: 12px;
  line-height: 1.55;
}
.policy-debug-cell strong {
  display: inline-block;
  min-width: 112px;
  color: var(--muted);
}
.admin-shipping-fee-summary p {
  margin: 4px 0 0;
}

/* Keep customer utility navigation visible on narrow screens. */
.simplified-nav .utility-nav-group a {
  flex: 0 0 auto;
}
@media (max-width: 720px) {
  .simplified-nav .utility-nav-group {
    flex-wrap: wrap;
    overflow-x: visible;
    row-gap: 6px;
  }
  .simplified-nav .utility-nav-group .topbar-session {
    max-width: 100%;
  }
}

/* Login/apply primary actions use the same main navy tone as the top navigation. */
.login-register-box .primary-button,
.login-form .primary-button,
.apply-type-card .primary-button,
.register-submit-panel .primary-button {
  background: linear-gradient(90deg, #172554 0%, #1e3a8a 100%);
  border-color: #172554;
  color: #fff;
  box-shadow: 0 8px 18px rgba(23, 37, 84, 0.18);
}
.login-register-box .primary-button:hover,
.login-form .primary-button:hover,
.apply-type-card .primary-button:hover,
.register-submit-panel .primary-button:hover {
  background: #172554;
  border-color: #172554;
  color: #fff;
}
.login-register-box .primary-button {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  text-align: center;
}

.payment-account-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 10px;
}
.payment-account-grid div {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  background: #ffffff;
}
.payment-account-grid span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}
.payment-account-grid strong {
  display: block;
  margin-top: 4px;
}
@media (max-width: 720px) {
  .payment-account-grid { grid-template-columns: 1fr; }
}

/* Simplified membership application layout fix */
.apply-type-shell,
.simplified-apply {
  max-width: 1080px;
  margin: 0 auto;
}

.apply-type-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.apply-type-head span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 6px;
}

.apply-type-head strong {
  display: block;
  color: var(--text);
  font-size: 22px;
  line-height: 1.35;
}

.apply-type-head .muted-note {
  margin: 8px 0 0;
}

.apply-type-shell .apply-type-grid {
  align-items: stretch;
}

.apply-type-shell .apply-type-card {
  min-height: 220px;
  padding: 22px 24px;
}

.apply-type-shell .apply-type-card h2 {
  margin-top: 12px;
}

.simplified-apply .register-panel {
  max-width: 100%;
  padding: 18px;
}

.simplified-apply .form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 16px;
}

.simplified-apply .form-grid label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.simplified-apply .form-grid label.wide {
  grid-column: 1 / -1;
}

.simplified-apply .form-grid label > span {
  display: block;
}

.simplified-apply .form-grid em {
  color: var(--danger);
  font-style: normal;
}

.simplified-apply .form-grid input,
.simplified-apply .form-grid textarea {
  display: block;
  width: 100%;
  min-width: 0;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--text);
  font-family: inherit;
  font-size: 15px;
}

.simplified-apply .form-grid textarea {
  resize: vertical;
}

.simplified-apply .inline-check-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
}

.simplified-apply .register-submit-panel {
  max-width: 100%;
}

.simplified-apply .register-submit-panel .primary-button {
  min-width: 150px;
}

@media (max-width: 720px) {
  .apply-type-head {
    display: grid;
  }

  .apply-type-head .secondary {
    width: 100%;
    justify-content: center;
  }

  .apply-type-head strong {
    font-size: 20px;
  }

  .simplified-apply .form-grid {
    grid-template-columns: 1fr;
  }

  .simplified-apply .form-grid label.wide {
    grid-column: auto;
  }

  .simplified-apply .inline-check-row {
    grid-template-columns: 1fr;
  }
}

/* Admin client profile edit */
.client-profile-edit-form {
  margin-bottom: 16px;
}
.client-profile-edit-form .admin-actions {
  margin-top: 12px;
}

/* Mobile auth/signup redesign 20260709 */
.mobile-auth-shell {
  width: min(100%, 430px);
  margin: 0 auto;
}

.client-login-page {
  background: #f5f7fb;
}

.client-login-page .shell {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 16px 34px;
}

.login-landing {
  display: grid;
  gap: 18px;
}

.login-brand {
  text-align: center;
}

.login-brand h1 {
  margin: 12px 0 6px;
  color: #0f172a;
  font-size: 28px;
  line-height: 1.18;
  letter-spacing: 0;
}

.login-brand p {
  margin: 0;
  color: #475569;
  font-weight: 750;
}

.login-card {
  width: 100%;
  padding: 24px;
  background: #fff;
  border: 1px solid #d8e0eb;
  border-radius: 8px;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08);
}

.login-card-title {
  margin-bottom: 18px;
}

.login-card-title strong {
  display: block;
  font-size: 22px;
  line-height: 1.25;
}

.login-form label,
.membership-mobile-form label {
  display: grid;
  gap: 7px;
}

.login-form label span,
.membership-mobile-form label span {
  color: #475569;
  font-size: 13px;
  font-weight: 850;
}

.login-form input,
.membership-mobile-form input,
.membership-mobile-form select,
.membership-mobile-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #fff;
  color: #0f172a;
  font-size: 16px;
}

.login-form .primary-button,
.login-register-box .primary-button,
.apply-type-card .primary-button,
.membership-submit-panel .primary-button {
  width: 100%;
  min-height: 48px;
  border-radius: 8px;
  background: linear-gradient(90deg, #172554 0%, #1e3a8a 100%);
  border-color: #172554;
  color: #fff;
  font-size: 16px;
  font-weight: 900;
  box-shadow: 0 8px 18px rgba(23, 37, 84, 0.18);
}

.login-card-divider {
  height: 1px;
  background: #d8e0eb;
  margin: 22px 0;
}

.login-register-box {
  display: grid;
  gap: 12px;
  padding: 0;
  border: 0;
  background: transparent;
}

.login-register-box strong {
  font-size: 17px;
  line-height: 1.35;
}

.login-help-text {
  margin: 18px 0 0;
  padding-top: 16px;
  border-top: 1px solid #d8e0eb;
  color: #475569;
  font-size: 13px;
  font-weight: 750;
  line-height: 1.5;
}

.signup-choice-page .shell {
  padding-top: 22px;
}

.signup-choice-shell {
  display: grid;
  gap: 16px;
}

.signup-choice-head {
  display: grid;
  gap: 12px;
  margin-bottom: 0;
}

.signup-choice-head span {
  color: #475569;
  font-size: 13px;
  font-weight: 850;
}

.signup-choice-head strong {
  font-size: 24px;
  line-height: 1.25;
}

.signup-choice-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.signup-choice-card {
  min-height: auto;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.signup-choice-card h2 {
  margin: 12px 0 6px;
  font-size: 22px;
}

.signup-choice-card p {
  margin: 0;
  color: #475569;
  font-weight: 750;
}

.signup-choice-card .primary-button {
  margin-top: 20px;
}

.signup-choice-card .secondary-signup-button {
  background: #fff;
  border: 1px solid #1e3a8a;
  color: #1e3a8a;
  box-shadow: none;
}

.simplified-apply.mobile-auth-shell,
.simplified-apply {
  width: min(100%, 560px);
}

.simplified-apply .apply-type-head {
  display: grid;
  gap: 12px;
  margin-bottom: 16px;
}

.simplified-apply .apply-type-head strong {
  font-size: 23px;
}

.simplified-apply .register-panel {
  padding: 20px;
  border-radius: 8px;
}

.simplified-apply .membership-mobile-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.simplified-apply .membership-mobile-form label.wide {
  grid-column: auto;
}

.simplified-apply .inline-check-row {
  grid-template-columns: 1fr;
}

.simplified-apply .inline-check-row .secondary {
  min-height: 44px;
  justify-content: center;
}

.membership-mobile-form small {
  color: #64748b;
  font-weight: 700;
  line-height: 1.4;
}

.membership-submit-panel {
  border-radius: 8px;
}

.membership-submit-panel .primary-button {
  width: 100%;
}

@media (min-width: 721px) {
  .signup-choice-shell {
    width: min(100%, 900px);
  }

  .signup-choice-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .signup-choice-card {
    min-height: 230px;
  }

  .simplified-apply .membership-mobile-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .simplified-apply .membership-mobile-form label.wide {
    grid-column: 1 / -1;
  }

  .simplified-apply .inline-check-row {
    grid-template-columns: minmax(0, 1fr) auto;
  }
}

@media (max-width: 480px) {
  .client-login-page .shell {
    align-items: flex-start;
    padding: 24px 16px 32px;
  }

  .login-brand h1 {
    font-size: 25px;
  }

  .login-card {
    padding: 20px;
  }

  .signup-choice-page .shell,
  .shell {
    padding-left: 14px;
    padding-right: 14px;
  }
}

/* Supplier mobile product cards 20260709 */
.mobile-product-list,
.mobile-cart-sticky-bar {
  display: none;
}

@media (max-width: 720px) {
  .supplier-mobile-enabled .desktop-product-table {
    display: none;
  }

  .supplier-mobile-enabled .compact-search-heading {
    display: none;
  }

  .supplier-mobile-enabled .cart-hold-notice {
    display: none;
  }

  .supplier-mobile-enabled .compact-product-search {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 12px;
    border: 1px solid #dbe4ef;
    border-radius: 8px;
    background: #fff;
  }

  .supplier-mobile-enabled .compact-product-search label,
  .supplier-mobile-enabled .compact-product-search .stock-filter {
    width: 100%;
  }

  .supplier-mobile-enabled .compact-product-search input,
  .supplier-mobile-enabled .compact-product-search select,
  .supplier-mobile-enabled .compact-product-search button {
    width: 100%;
    min-height: 46px;
    border-radius: 8px;
  }

  .supplier-mobile-enabled .compact-product-search button {
    background: #1e3a8a;
    border-color: #172554;
    color: #fff;
    font-weight: 900;
  }

  .supplier-mobile-enabled .result-heading {
    align-items: flex-start;
    gap: 4px;
    margin-top: 12px;
  }

  .supplier-mobile-product-list {
    display: grid;
    gap: 12px;
    margin-top: 12px;
  }

  .mobile-product-card {
    display: grid;
    gap: 12px;
    padding: 14px;
    border: 1px solid #dbe4ef;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.05);
  }

  .mobile-product-card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
  }

  .mobile-product-card-head strong {
    display: block;
    color: #0f172a;
    font-size: 16px;
    line-height: 1.35;
  }

  .mobile-product-card-head .code {
    display: block;
    margin-top: 4px;
    color: #475569;
    font-size: 12px;
    font-weight: 850;
  }

  .mobile-product-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
  }

  .mobile-product-meta span {
    padding: 5px 8px;
    border: 1px solid #dbeafe;
    border-radius: 999px;
    background: #eff6ff;
    color: #1e3a8a;
    font-size: 12px;
    font-weight: 850;
  }

  .mobile-product-price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding-top: 4px;
  }

  .mobile-product-price-row span {
    color: #64748b;
    font-size: 13px;
    font-weight: 850;
  }

  .mobile-product-price-row strong {
    color: #0f172a;
    font-size: 21px;
    line-height: 1.2;
  }

  .mobile-add-cart-form {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 8px;
    align-items: end;
  }

  .mobile-qty-field {
    display: grid;
    gap: 5px;
  }

  .mobile-qty-field span {
    color: #64748b;
    font-size: 12px;
    font-weight: 850;
  }

  .mobile-qty-field input {
    width: 100%;
    min-height: 46px;
    padding: 8px 10px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 16px;
    text-align: center;
  }

  .mobile-add-cart-button {
    width: 100%;
    min-height: 46px;
    border-radius: 8px;
    background: #1e3a8a;
    border-color: #172554;
    color: #fff;
    font-weight: 900;
  }

  .mobile-add-cart-button.disabled {
    background: #e2e8f0;
    border-color: #cbd5e1;
    color: #64748b;
  }

  .mobile-empty-card {
    padding: 18px;
    border: 1px solid #dbe4ef;
    border-radius: 8px;
    background: #fff;
    color: #64748b;
    text-align: center;
    font-weight: 800;
  }

  .mobile-cart-sticky-bar {
    position: sticky;
    bottom: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 12px -14px 0;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    background: rgba(15, 23, 42, 0.96);
    color: #fff;
    box-shadow: 0 -10px 24px rgba(15, 23, 42, 0.18);
  }

  .mobile-cart-sticky-bar span {
    display: block;
    color: #cbd5e1;
    font-size: 12px;
    font-weight: 800;
  }

  .mobile-cart-sticky-bar strong {
    display: block;
    margin-top: 2px;
    color: #fff;
    font-size: 15px;
  }

  .mobile-cart-sticky-bar a {
    min-width: 72px;
    padding: 10px 14px;
    border-radius: 8px;
    background: #fff;
    color: #172554;
    text-align: center;
    font-weight: 900;
    text-decoration: none;
  }
}

/* Supplier mobile filter fix 20260709 */
@media (max-width: 720px) {
  .supplier-mobile-enabled .mobile-filter-reorder {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .supplier-mobile-enabled .mobile-category-field {
    order: 1;
  }

  .supplier-mobile-enabled .mobile-per-page-field {
    order: 2;
  }

  .supplier-mobile-enabled .mobile-stock-field {
    order: 3;
  }

  .supplier-mobile-enabled .mobile-search-field {
    order: 4;
  }

  .supplier-mobile-enabled .mobile-filter-reorder button[type="submit"] {
    order: 5;
  }

  .supplier-mobile-enabled .mobile-stock-field {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    min-height: 44px;
    padding: 8px 2px;
    color: #475569;
    font-size: 14px;
    font-weight: 850;
  }

  .supplier-mobile-enabled .mobile-stock-field input[type="checkbox"] {
    flex: 0 0 auto;
    width: 22px;
    height: 22px;
    min-height: 0;
    margin: 0;
    accent-color: #1e3a8a;
  }

  .supplier-mobile-enabled .mobile-stock-field span {
    line-height: 1.3;
  }
}


/* Mobile cart detail UI 20260709 */
.simple-mobile-cart-list {
  display: none;
}

@media (max-width: 720px) {
  .cart-page-header.simple-cart-page-header {
    display: grid;
    gap: 12px;
    padding: 14px;
  }

  .cart-page-header.simple-cart-page-header span {
    font-size: 12px;
  }

  .cart-page-header.simple-cart-page-header strong {
    font-size: 20px;
  }

  .cart-page-header.simple-cart-page-header .muted-note {
    margin-top: 6px;
    font-size: 13px;
    line-height: 1.45;
  }

  .simple-cart-page-card {
    padding: 12px;
  }

  .supplier-cart-overview {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding: 12px;
  }

  .supplier-cart-overview > div {
    min-width: 0;
    padding: 10px;
    border-radius: 8px;
  }

  .supplier-cart-overview > p {
    grid-column: 1 / -1;
    margin: 2px 0 0;
    font-size: 12px;
  }

  .simple-cart-title-row {
    display: grid;
    gap: 10px;
  }

  .simple-cart-title-row strong {
    font-size: 18px;
  }

  .simple-cart-order-button {
    width: 100%;
    min-height: 46px;
    justify-content: center;
  }

  .simple-cart-toolbar {
    display: grid;
    gap: 10px;
  }

  .simple-cart-tools {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .simple-text-button {
    min-height: 42px;
    border-radius: 8px;
  }

  .simple-cart-summary {
    display: grid;
    grid-template-columns: 1fr;
    gap: 5px;
    padding: 12px;
    border: 1px solid #dbe4ef;
    border-radius: 8px;
    background: #f8fafc;
  }

  .simple-cart-table-wrap {
    display: none;
  }

  .simple-mobile-cart-list {
    display: grid;
    gap: 12px;
    margin-top: 12px;
  }

  .simple-mobile-cart-card {
    display: grid;
    gap: 12px;
    padding: 14px;
    border: 1px solid #dbe4ef;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.05);
  }

  .simple-mobile-cart-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
  }

  .simple-mobile-cart-check {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #475569;
    font-size: 13px;
    font-weight: 850;
  }

  .simple-mobile-cart-check input {
    width: 20px;
    height: 20px;
    accent-color: #1e3a8a;
  }

  .simple-mobile-delete-button {
    min-height: 36px;
    padding: 0 12px;
    border: 1px solid #fecaca;
    border-radius: 8px;
    background: #fff1f2;
    color: #b91c1c;
    font-weight: 900;
  }

  .simple-mobile-cart-product strong {
    display: block;
    color: #0f172a;
    font-size: 16px;
    line-height: 1.35;
  }

  .simple-mobile-cart-product span {
    display: block;
    margin-top: 5px;
    color: #475569;
    font-size: 12px;
    font-weight: 850;
  }

  .simple-mobile-cart-product.unavailable strong {
    color: #b91c1c;
  }

  .simple-mobile-cart-money {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .simple-mobile-cart-money div {
    padding: 10px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #f8fafc;
  }

  .simple-mobile-cart-money span,
  .simple-mobile-qty-form span {
    display: block;
    color: #64748b;
    font-size: 12px;
    font-weight: 850;
  }

  .simple-mobile-cart-money strong {
    display: block;
    margin-top: 4px;
    color: #0f172a;
    font-size: 16px;
  }

  .simple-mobile-qty-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 112px;
    gap: 8px;
    align-items: end;
  }

  .simple-mobile-qty-form label {
    display: grid;
    gap: 5px;
  }

  .simple-mobile-qty-form input {
    width: 100%;
    min-height: 44px;
    padding: 8px 10px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 16px;
    text-align: center;
  }

  .simple-mobile-qty-form button {
    min-height: 44px;
    border-radius: 8px;
    background: #1e3a8a;
    border: 1px solid #172554;
    color: #fff;
    font-weight: 900;
  }

  .simple-mobile-empty-card {
    display: grid;
    gap: 8px;
    padding: 18px;
    border: 1px solid #dbe4ef;
    border-radius: 8px;
    background: #fff;
    text-align: center;
  }

  .simple-order-request-box {
    display: grid;
    gap: 12px;
    padding: 14px;
  }

  .simple-order-request-form {
    display: grid;
    gap: 10px;
  }

  .simple-order-request-form textarea {
    min-height: 72px;
  }

  .simple-order-request-form .primary-button,
  .simple-order-request-form button[type="submit"] {
    width: 100%;
    min-height: 48px;
    justify-content: center;
  }
}


/* Mobile order inline cart UI 20260709 */
.inline-mobile-cart-list {
  display: none;
}

@media (max-width: 720px) {
  .order-product-panel.supplier-mobile-enabled {
    padding-bottom: 82px;
  }

  .mobile-cart-sticky-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 80;
    margin: 0;
    padding: 11px 14px calc(11px + env(safe-area-inset-bottom));
  }

  .mobile-cart-sticky-bar strong {
    max-width: calc(100vw - 112px);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .current-supplier-cart {
    margin-top: 14px;
    padding: 12px;
  }

  .current-supplier-cart .cart-header-row {
    display: grid;
    gap: 10px;
  }

  .current-supplier-cart .cart-header-row p {
    font-size: 13px;
    line-height: 1.45;
  }

  .current-supplier-cart .admin-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    width: 100%;
  }

  .current-supplier-cart .admin-actions a {
    width: 100%;
    min-height: 44px;
    justify-content: center;
  }

  .inline-cart-summary-bar {
    display: grid;
    grid-template-columns: 1fr;
    gap: 5px;
    padding: 12px;
    border: 1px solid #dbe4ef;
    border-radius: 8px;
    background: #f8fafc;
  }

  .inline-supplier-cart-table {
    display: none;
  }

  .inline-mobile-cart-list {
    display: grid;
    gap: 12px;
    margin-top: 12px;
  }

  .inline-mobile-cart-card {
    display: grid;
    gap: 12px;
    padding: 14px;
    border: 1px solid #dbe4ef;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.05);
  }

  .inline-mobile-cart-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
  }

  .inline-mobile-cart-check {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #475569;
    font-size: 13px;
    font-weight: 850;
  }

  .inline-mobile-cart-check input {
    width: 20px;
    height: 20px;
    accent-color: #1e3a8a;
  }

  .inline-mobile-delete-button {
    min-height: 36px;
    padding: 0 12px;
    border: 1px solid #fecaca;
    border-radius: 8px;
    background: #fff1f2;
    color: #b91c1c;
    font-weight: 900;
  }

  .inline-mobile-cart-product strong {
    display: block;
    color: #0f172a;
    font-size: 16px;
    line-height: 1.35;
  }

  .inline-mobile-cart-product span {
    display: block;
    margin-top: 5px;
    color: #475569;
    font-size: 12px;
    font-weight: 850;
  }

  .inline-mobile-cart-money {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .inline-mobile-cart-money div {
    padding: 10px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #f8fafc;
  }

  .inline-mobile-cart-money span,
  .inline-mobile-qty-form span {
    display: block;
    color: #64748b;
    font-size: 12px;
    font-weight: 850;
  }

  .inline-mobile-cart-money strong {
    display: block;
    margin-top: 4px;
    color: #0f172a;
    font-size: 16px;
  }

  .inline-mobile-qty-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 112px;
    gap: 8px;
    align-items: end;
  }

  .inline-mobile-qty-form label {
    display: grid;
    gap: 5px;
  }

  .inline-mobile-qty-form input {
    width: 100%;
    min-height: 44px;
    padding: 8px 10px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 16px;
    text-align: center;
  }

  .inline-mobile-qty-form button {
    min-height: 44px;
    border: 1px solid #172554;
    border-radius: 8px;
    background: #1e3a8a;
    color: #fff;
    font-weight: 900;
  }

  .inline-mobile-empty-card {
    display: grid;
    gap: 8px;
    padding: 18px;
    border: 1px solid #dbe4ef;
    border-radius: 8px;
    background: #fff;
    text-align: center;
  }

  .inline-order-request-box {
    display: grid;
    gap: 12px;
    padding: 14px;
  }

  .inline-order-request-form {
    display: grid;
    gap: 10px;
  }

  .inline-order-request-form textarea {
    min-height: 72px;
  }

  .inline-order-request-form .primary-button,
  .inline-order-request-form button[type="submit"] {
    width: 100%;
    min-height: 48px;
    justify-content: center;
  }
}


/* Mobile optional order memo and supplier cart readability 20260709 */
.mobile-order-memo-details {
  display: none;
}

@media (max-width: 720px) {
  .desktop-order-memo-field {
    display: none !important;
  }

  .mobile-order-memo-details {
    display: block;
    border: 1px solid #dbe4ef;
    border-radius: 8px;
    background: #f8fafc;
  }

  .mobile-order-memo-details summary {
    min-height: 44px;
    padding: 12px 14px;
    color: #1e3a8a;
    cursor: pointer;
    font-weight: 900;
    list-style-position: inside;
  }

  .mobile-order-memo-details label {
    display: grid;
    gap: 6px;
    padding: 0 14px 14px;
  }

  .mobile-order-memo-details span {
    color: #64748b;
    font-size: 12px;
    font-weight: 850;
  }

  .mobile-order-memo-details textarea {
    width: 100%;
    min-height: 86px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 16px;
  }

  .inline-order-request-box,
  .simple-order-request-box,
  .order-request-inside-supplier {
    border-radius: 8px;
    background: #fff;
  }

  .inline-order-request-form,
  .simple-order-request-form,
  .order-request-form {
    grid-template-columns: 1fr !important;
  }

  .inline-order-request-form .js-order-request-submit,
  .simple-order-request-form .js-order-request-submit,
  .order-request-form .js-order-request-submit,
  .order-request-form .primary-button {
    width: 100%;
    min-height: 52px;
    border-radius: 8px;
    font-size: 17px;
    line-height: 1.2;
    white-space: normal;
  }

  .simple-cart-section-list {
    display: grid;
    gap: 16px;
  }

  .simple-cart-board {
    overflow: hidden;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.07);
  }

  .simple-cart-title-row {
    padding: 14px;
    border-bottom: 1px solid #dbe4ef;
    background: linear-gradient(180deg, #f8fafc 0%, #eef2ff 100%);
  }

  .simple-cart-title-row strong {
    display: block;
    color: #0f172a;
    font-size: 20px;
  }

  .simple-cart-title-row p {
    margin-top: 5px;
    color: #475569;
    font-size: 13px;
    line-height: 1.45;
  }

  .simple-cart-toolbar {
    padding: 12px 14px;
    background: #fff;
  }

  .simple-cart-summary {
    border-color: #bfdbfe;
    background: #eff6ff;
  }

  .simple-cart-summary span {
    color: #1e3a8a;
    font-size: 13px;
    font-weight: 850;
  }

  .simple-cart-summary strong {
    color: #0f172a;
    font-size: 16px;
  }

  .simple-mobile-cart-list {
    padding: 0 14px 14px;
  }

  .simple-mobile-cart-card {
    border-color: #d7e0ec;
  }

  .simple-order-request-box {
    margin: 0 14px 14px;
    border: 1px solid #dbe4ef;
  }
}


/* Mobile cart full width refinement 20260709 */
@media (max-width: 720px) {
  .supplier-cart-page-card.simple-cart-page-card,
  .current-supplier-cart,
  .cart-below-products.inline-cart-section {
    width: 100%;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
  }

  .simple-cart-section-list,
  .simple-cart-board,
  .simple-cart-toolbar,
  .simple-cart-summary,
  .simple-mobile-cart-list,
  .simple-mobile-cart-card,
  .simple-order-request-box,
  .inline-mobile-cart-list,
  .inline-mobile-cart-card,
  .inline-order-request-box,
  .cart-shipping-fee-summary {
    width: 100%;
    max-width: none;
  }

  .simple-cart-board {
    margin-left: 0;
    margin-right: 0;
  }

  .simple-mobile-cart-list,
  .inline-mobile-cart-list {
    box-sizing: border-box;
  }

  .simple-mobile-cart-card,
  .inline-mobile-cart-card {
    box-sizing: border-box;
  }

  .simple-order-request-box {
    margin-left: 0;
    margin-right: 0;
  }

  .current-supplier-cart .order-card-header,
  .current-supplier-cart .inline-cart-summary-bar,
  .current-supplier-cart .cart-shipping-fee-summary,
  .current-supplier-cart .inline-mobile-cart-list,
  .current-supplier-cart .inline-order-request-box {
    width: 100%;
    max-width: none;
  }
}


/* Banax threshold discount display 20260710 */
.discount-money {
  color: #0f766e !important;
}


/* Banax GA discount detail display 20260710 */
.inline-cart-summary-bar .discount-money,
.simple-cart-summary .discount-money {
  color: #0f766e !important;
  white-space: normal;
}

/* Banax GA price highlight 20260710 */
.ga-price-header {
  color: #0f766e !important;
  background: #ecfdf5 !important;
  font-weight: 900 !important;
}

.ga-price-cell,
.ga-price-value {
  color: #0f766e !important;
  font-weight: 900 !important;
}

.simple-mobile-cart-money .ga-price-card,
.inline-mobile-cart-money .ga-price-card {
  border-color: #99f6e4 !important;
  background: #ecfdf5 !important;
}

.simple-mobile-cart-money .ga-price-label,
.inline-mobile-cart-money .ga-price-label {
  color: #0f766e !important;
}

/* Admin readonly membership grade display 20260710 */
.readonly-display {
  min-height: 42px;
  display: flex;
  align-items: center;
  padding: 10px 12px;
  border: 1px solid #d8e1ef;
  border-radius: 6px;
  background: #f8fafc;
  color: #0f172a;
  font-weight: 800;
}



.client-review-document-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 16px;
}

.register-file-warning {
  display: block;
  margin-top: 6px;
  color: #b42318;
  font-weight: 700;
}


.register-client-errors[hidden] {
  display: none;
}

.register-client-errors {
  margin-bottom: 14px;
}
