/* EffortMart design system - SellerZone layer.
   Loaded right after ds.css. Selectors start with "html body" so they win over the older per-page stylesheets.
   Only SellerZone-specific rules live here; shared tokens and components are in ds.css. */

/* ================= Global floors (no text below 12px) ================= */
html body .nav-group-label, html body .nav-section { font-size: 11px; }
html body .powered-by-text, html body .sidebar-footer small, html body .footer-note { font-size: 12px; opacity: 1; color: var(--ds-mute); }
html body .sidebar .badge, html body .nav-link .badge { font-size: 12px; padding: 2px 7px; }
html body .tab-count, html body .tab-cnt, html body .tab-c, html body .em-inv-alert { font-size: 12px; }
html body .em-stock-badge, html body .em-qc-badge, html body .em-switch-text, html body .em-by-tag, html body .em-price-variant-hint,
html body .em-table-hint, html body .em-stat-label, html body .sbadge, html body .od-pay { font-size: 12px; }
html body .dashboard-header .notranslate, html body .header-content small, html body .account-id { font-size: 12px; }

/* shell: ds.css sets generic nav rules at higher specificity, so the SellerZone sidebar restates what differs */
html body .sidebar .nav-group-label { margin: 0; padding: 0 12px; min-height: 28px; font: 600 12px/1 var(--ds-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ds-mute); }
html body .sidebar .nav-group-label:hover { color: var(--ds-ink); }
html body .sidebar .nav-link { min-height: 36px; padding: 6px 12px; gap: 10px; }
html body .sidebar .nav-link.active { background: #FFF4EC !important; }
html body .sidebar .nav-item { margin: 0; }
html body .sidebar .sidebar-menu { padding: 8px 8px 12px; }
html body .sidebar .nav-count { margin-left: auto; padding-left: 8px; font: 500 12px/1 var(--ds-mono); color: var(--ds-mute); }
html body .sidebar .nav-count.is-hot { color: var(--ds-brand-strong); font-weight: 600; }
html body .sidebar .nav-count.is-warn { color: var(--ds-warn); }
html body .sidebar .nav-count.is-ok { color: var(--ds-ok); }
html body .sidebar .nav-count.is-alert { color: var(--ds-bad); font-weight: 700; }
@media (max-width: 992px) { html body .sidebar .nav-link { min-height: 44px; } html body .sidebar .nav-group-label { min-height: 32px; } }

/* phone bottom bar and top bar: the shared panel stylesheet (em-nav.css) adds a gradient, shadow and big radius */
html body .sidebar .nav-link { font-size: 13.5px; font-weight: 500; margin: 0; }
html body .sidebar .nav-link.active { font-weight: 600; }
html body .sidebar .footer-link { margin: 0; border-radius: var(--ds-r-sm); padding: 6px 12px; white-space: nowrap; }
html body .sidebar .footer-link > i { width: 18px; height: auto; background: none; border-radius: 0; font-size: 16px; color: var(--ds-mute); }
html body .dashboard-header .action-btn { width: 36px; height: 36px; border-radius: var(--ds-r-sm); font-size: 17px; }
html body .dashboard-header .em-lang-hdr.em-lang-sq { height: 36px; border-radius: var(--ds-r-sm); }
@media (max-width: 992px) {
  html body .dashboard-header .action-btn, html body .dashboard-header .profile-toggle { width: 40px; height: 40px; }
  html body .dashboard-header .em-lang-hdr.em-lang-sq { height: 40px; }
  html body .mobile-bottom-nav { padding: 0 0 env(safe-area-inset-bottom); border-radius: 0; box-shadow: none; }
  html body .mobile-bottom-nav-list { padding: 0; }
  html body .mobile-bottom-link { padding: 0; }
  html body .mobile-bottom-link i { font-size: 20px; margin: 0; }
  html body .mobile-bottom-item-center { margin-top: 0; }
  html body .center-icon { width: 44px; height: 36px; font-size: 18px; background: var(--ds-brand); box-shadow: none; border-radius: 8px; }
  html body .mobile-bottom-badge { width: auto; height: 16px; font-size: 12px; right: auto; }
}

/* status colours live on status badges only: Bootstrap contextual badges become soft tinted labels */
html body .badge.bg-success, html body .badge.text-bg-success { background: var(--ds-ok-tint) !important; color: var(--ds-ok) !important; }
html body .badge.bg-danger, html body .badge.text-bg-danger { background: var(--ds-bad-tint) !important; color: var(--ds-bad) !important; }
html body .badge.bg-warning, html body .badge.text-bg-warning { background: var(--ds-warn-tint) !important; color: var(--ds-warn) !important; }
html body .badge.bg-info, html body .badge.bg-primary, html body .badge.text-bg-info, html body .badge.text-bg-primary { background: var(--ds-info-tint) !important; color: var(--ds-info) !important; }
html body .badge.bg-secondary, html body .badge.bg-light, html body .badge.bg-dark { background: #F1F5F9 !important; color: #475569 !important; }

/* table headers: sentence case, 12px, never below */
html body table thead th, html body .data-table th, html body th { font: 500 12px/1.3 var(--ds-mono); letter-spacing: .04em; text-transform: uppercase; color: var(--ds-mute); }

/* flat surfaces: remove shadows and gradients that older page CSS adds */
html body .e-elite-alert, html body .em-panel, html body .panel, html body .em-stat, html body .iv-stat, html body .todo-card, html body .stat-card,
  box-shadow: none; background-image: none; }
html body .btn-action:hover, html body .popup-btn:hover { transform: none; box-shadow: none; }

/* ================= Shared SellerZone components (sz-*) =================
   Page header, key-number strip, panel, tabs, filter bar, ruled table, 2-column form sections, sticky save bar. */
html body .sz-head, html body .szd-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px 16px; flex-wrap: wrap; margin: 0 0 16px; }
html body .sz-head h1, html body .szd-head h1 { margin: 0; font-size: 20px; line-height: 1.3; font-weight: 600; color: var(--ds-ink); }
html body .sz-head p, html body .szd-sub { margin: 2px 0 0; max-width: 70ch; font-size: 13.5px; line-height: 1.5; color: var(--ds-mute); }
html body .sz-head-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
html body .sz-strip { display: grid; grid-template-columns: repeat(var(--sz-cols, 4), minmax(0, 1fr)); margin: 0 0 16px; background: #fff; border: 1px solid var(--ds-line); border-radius: var(--ds-r); overflow: hidden; }
html body .sz-stat { display: flex; flex-direction: column; gap: 4px; min-width: 0; padding: 12px 16px; color: var(--ds-ink); text-decoration: none; border-left: 1px solid var(--ds-line); }
html body .sz-stat:first-child { border-left: 0; }
html body a.sz-stat:hover { background: var(--ds-bg); }
html body .sz-stat-l { font: 500 12px/1.3 var(--ds-mono); letter-spacing: .04em; text-transform: uppercase; color: var(--ds-mute); }
html body .sz-stat-v { font-size: 22px; line-height: 1.2; font-weight: 600; letter-spacing: -.01em; font-variant-numeric: tabular-nums; color: var(--ds-ink); overflow-wrap: anywhere; }
html body .sz-panel { min-width: 0; margin: 0 0 16px; background: #fff; border: 1px solid var(--ds-line); border-radius: var(--ds-r); box-shadow: none; }
html body .sz-panel-h { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; padding: 10px 16px; border-bottom: 1px solid var(--ds-line); }
html body .sz-panel-h h2 { margin: 0; font-size: 14px; font-weight: 600; }
html body .sz-panel-b { padding: 16px; }
html body .sz-mono { font-family: var(--ds-mono); font-size: 12px; letter-spacing: .02em; color: var(--ds-mute); }
/* underlined tabs, counts in mono */
html body .sz-tabs { display: flex; gap: 20px; margin: 0 0 14px; padding: 0; overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--ds-line); }
html body .sz-tabs::-webkit-scrollbar { display: none; }
html body .sz-tab { display: inline-flex; align-items: center; gap: 6px; flex-shrink: 0; min-height: 40px; padding: 0 2px; margin-bottom: -1px; background: none; border: 0; border-bottom: 2px solid transparent; border-radius: 0; font-size: 13.5px; font-weight: 500; color: var(--ds-mute); text-decoration: none; cursor: pointer; white-space: nowrap; }
html body .sz-tab:hover { color: var(--ds-ink); }
html body .sz-tab.active, html body .sz-tab.is-active { color: var(--ds-ink); font-weight: 600; border-bottom-color: var(--ds-brand); }
html body .sz-tab .sz-n { font: 500 12px/1 var(--ds-mono); color: var(--ds-mute); }
html body .sz-tab.active .sz-n { color: var(--ds-brand-strong); }
/* one filter bar */
html body .sz-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 12px; padding: 8px; background: #fff; border: 1px solid var(--ds-line); border-radius: var(--ds-r); }
html body .sz-filters .form-control, html body .sz-filters .form-select { width: auto; min-width: 140px; min-height: 36px; }
html body .sz-filters .sz-grow { flex: 1 1 220px; min-width: 180px; }
/* ruled table */
html body .sz-table-wrap { overflow: auto; max-height: calc(100vh - 220px); background: #fff; border: 1px solid var(--ds-line); border-radius: var(--ds-r); }
html body table.sz-table { width: 100%; margin: 0; border-collapse: separate; border-spacing: 0; font-size: 13px; }
html body table.sz-table th { position: sticky; top: 0; z-index: 2; padding: 8px 14px; background: var(--ds-bg); border-bottom: 1px solid var(--ds-line); font: 500 12px/1.3 var(--ds-mono); letter-spacing: .04em; text-transform: uppercase; color: var(--ds-mute); white-space: nowrap; text-align: left; }
html body table.sz-table td { padding: 9px 14px; border-bottom: 1px solid var(--ds-line); vertical-align: middle; color: var(--ds-text); }
html body table.sz-table tbody tr:last-child td { border-bottom: 0; }
html body table.sz-table tbody tr:hover td { background: var(--ds-bg); }
html body .sz-icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; padding: 0; background: #fff; border: 1px solid var(--ds-line); border-radius: var(--ds-r-sm); color: var(--ds-text); font-size: 14px; text-decoration: none; cursor: pointer; position: relative; }
html body .sz-icon-btn:hover { background: var(--ds-bg); color: var(--ds-ink); border-color: var(--ds-line-strong); }
html body .sz-icon-btn[data-tip]:hover::after, html body .sz-icon-btn[data-tip]:focus-visible::after { content: attr(data-tip); position: absolute; bottom: calc(100% + 6px); right: 0; z-index: 30; padding: 4px 8px; border-radius: 4px; background: var(--ds-ink); color: #fff; font: 500 12px/1.3 var(--ds-font); white-space: nowrap; pointer-events: none; }
/* form sections: label column left, fields right (the shop kit's k-section) */
html body .sz-section { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 8px 40px; padding: 20px 0; border-bottom: 1px solid var(--ds-line); }
html body .sz-section:last-child { border-bottom: 0; }
html body .sz-section > h2, html body .sz-section > .sz-label { margin: 0; font-size: 14px; font-weight: 600; line-height: 1.4; color: var(--ds-ink); }
html body .sz-section > h2 small, html body .sz-label small { display: block; margin-top: 4px; font: 500 12px/1.4 var(--ds-mono); color: var(--ds-mute); }
html body .sz-savebar-fixed { position: sticky; bottom: 0; z-index: 20; display: flex; align-items: center; justify-content: flex-end; gap: 8px; margin: 16px -24px -48px; padding: 10px 24px; background: #fff; border-top: 1px solid var(--ds-line); }
@media (max-width: 991px) {
  html body .sz-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  html body .sz-stat:nth-child(odd) { border-left: 0; }
  html body .sz-stat:nth-child(n+3) { border-top: 1px solid var(--ds-line); }
  html body .sz-section { grid-template-columns: minmax(0, 1fr); gap: 10px; padding: 16px 0; }
  html body .sz-filters .form-control, html body .sz-filters .form-select { flex: 1 1 140px; }
  html body .sz-savebar-fixed { margin: 16px -16px calc(-24px); padding: 10px 16px; }
  html body .sz-table-wrap { max-height: none; }
}

/* ================= Product add / edit forms ================= */
html body.sz-form-page { background: var(--ds-bg); padding-bottom: 0; font-size: 14px; }
html body.sz-form-page .container-custom { max-width: 1120px; margin: 0 auto; padding: 0 16px 0; }
html body.sz-form-page .header { position: sticky; top: 0; z-index: 30; background: #fff; border: 0; border-bottom: 1px solid var(--ds-line); margin: 0 -16px 16px; padding: 10px 16px; min-height: 56px; }
html body.sz-form-page .page-title { font-size: 20px; font-weight: 600; color: var(--ds-ink); }
html body.sz-form-page #stepIndicator { font-size: 12px; font-weight: 600; padding: 2px 8px; background: var(--ds-bg) !important; color: var(--ds-mute) !important; border: 1px solid var(--ds-line); }
html body.sz-form-page .btn-cancel { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 14px; border: 1px solid var(--ds-line-strong); border-radius: var(--ds-r-sm); background: #fff; color: var(--ds-text); font-size: 13.5px; font-weight: 600; text-decoration: none; }
html body.sz-form-page .btn-cancel:hover { background: var(--ds-bg); color: var(--ds-ink); }
html body.sz-form-page .btn { border: 1px solid transparent; padding: 0 14px; font-size: 13.5px; font-weight: 600; border-radius: var(--ds-r-sm); transition: none; }
html body.sz-form-page .btn-primary { background: var(--ds-brand); border-color: var(--ds-brand); color: #fff; }
html body.sz-form-page .btn-primary:hover { background: var(--ds-brand-strong); border-color: var(--ds-brand-strong); transform: none; box-shadow: none; }
html body.sz-form-page .btn-primary:disabled { opacity: .5; }
html body.sz-form-page .btn-outline { background: #fff; border: 1px solid var(--ds-line-strong); color: var(--ds-text); }
html body.sz-form-page .btn-outline:hover { background: var(--ds-bg); color: var(--ds-ink); border-color: var(--ds-line-strong); }
html body.sz-form-page .btn-danger { background: #fff; border: 1px solid #FECACA; color: var(--ds-bad); }
html body.sz-form-page .btn-link { background: none; border: 0; color: var(--ds-brand-strong); min-height: 30px; padding: 0; font-weight: 600; font-size: 13px; display: inline-flex; }
html body.sz-form-page .btn-link:hover { color: var(--ds-brand-deep); text-decoration: underline; }
html body.sz-form-page .btn-sm { min-height: 32px; font-size: 13px; padding: 0 12px; }

/* stepper: flat, one line */
html body.sz-form-page .stepper { margin: 0 0 14px; padding: 10px 16px; border-radius: var(--ds-r); border: 1px solid var(--ds-line); background: #fff; }
html body.sz-form-page .step-item { flex-direction: row; justify-content: center; gap: 8px; flex: none; }
html body.sz-form-page .step-circle { width: 24px; height: 24px; margin: 0; font-size: 12px; background: var(--ds-bg); border: 1px solid var(--ds-line-strong); }
html body.sz-form-page .step-item.active .step-circle { background: var(--ds-brand); border-color: var(--ds-brand); }
html body.sz-form-page .step-item.completed .step-circle { background: var(--ds-ok); border-color: var(--ds-ok); }
html body.sz-form-page .step-label { font-size: 12px; font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--ds-mute); }
html body.sz-form-page .step-item.active .step-label { color: var(--ds-ink); }
html body.sz-form-page .step-connector { height: 1px; margin: 0 12px; align-self: center; background: var(--ds-line-strong); }

/* sections: one flat panel each, small icon-less title */
html body.sz-form-page .card { border: 1px solid var(--ds-line); border-radius: var(--ds-r); padding: 16px; margin-bottom: 14px; background: #fff; }
html body.sz-form-page .card-header-custom { gap: 0; margin-bottom: 12px; padding-bottom: 10px; border-bottom: 1px solid var(--ds-line); }
html body.sz-form-page .card-header-icon { display: none; }
html body.sz-form-page .card-header-title { font-size: 15px; font-weight: 600; margin: 0; color: var(--ds-ink); }
html body.sz-form-page .card-header-sub { font-size: 12.5px; color: var(--ds-mute); }
html body.sz-form-page #step3Card .card-header-custom { margin-top: 0; }
html body.sz-form-page #step3Card .mt-4 { margin-top: 20px !important; }
html body.sz-form-page .form-label { font-size: 12.5px; font-weight: 600; color: var(--ds-ink); margin-bottom: 4px; }
html body.sz-form-page .form-label small, html body.sz-form-page .form-label .small { font-size: 12px; }
html body.sz-form-page .form-label .required-star { color: var(--ds-bad); }
html body.sz-form-page .form-control, html body.sz-form-page .form-select { border: 1px solid var(--ds-line-strong); border-radius: var(--ds-r-sm); padding: 6px 12px; font-size: 13.5px; min-height: 36px; width: 100%; background-color: #fff; }
html body.sz-form-page .form-control:focus, html body.sz-form-page .form-select:focus { border-color: var(--ds-brand); outline: 2px solid color-mix(in srgb, var(--ds-brand) 35%, transparent); outline-offset: 0; box-shadow: none; }
html body.sz-form-page .form-control[readonly] { background: var(--ds-bg); }
html body.sz-form-page .input-group { flex-wrap: nowrap; }
html body.sz-form-page .input-group .form-control { width: 1%; flex: 1 1 auto; }
html body.sz-form-page .input-group .btn { min-height: 36px; padding: 0 12px; }
html body.sz-form-page #catSearch, html body.sz-form-page #brandSearch { border-radius: var(--ds-r-sm) !important; padding-left: 38px !important; }
html body.sz-form-page #categoryBreadcrumb { background: var(--ds-bg) !important; border: 1px solid var(--ds-line); border-radius: var(--ds-r-sm) !important; font-size: 13px; min-height: 0; padding: 6px 10px !important; }
html body.sz-form-page #categoryBreadcrumb:empty { display: none !important; }
html body.sz-form-page .grid-select { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 8px; max-height: 360px; }
html body.sz-form-page .grid-item { border: 1px solid var(--ds-line-strong); border-radius: var(--ds-r-sm); padding: 10px 8px; font-size: 13.5px; font-weight: 500; min-height: 44px; display: flex; align-items: center; justify-content: center; transition: none; }
html body.sz-form-page .grid-item:hover { border-color: var(--ds-brand); background: var(--ds-brand-tint); }
html body.sz-form-page .grid-item.selected { border-color: var(--ds-brand); background: var(--ds-brand-tint); color: var(--ds-brand-deep); font-weight: 600; }

/* variants: flat inner panel (no second card look), section titles as 11px labels */
html body.sz-form-page .variant-card { background: #fff; border: 1px solid var(--ds-line-strong); border-radius: var(--ds-r); padding: 16px; margin-bottom: 14px; }
html body.sz-form-page .variant-remove { top: 10px; right: 10px; width: 30px; height: 30px; border-radius: var(--ds-r-sm); border: 1px solid var(--ds-line-strong); background: #fff; color: var(--ds-text); font-size: 16px; z-index: 2; }
html body.sz-form-page .variant-remove:hover { background: var(--ds-bad-tint); color: var(--ds-bad); border-color: #FECACA; }
html body.sz-form-page .variant-card > .row:first-of-type, html body.sz-form-page .variant-card > .copy-variant-toolbar + .row { padding-right: 34px; }
html body.sz-form-page .variant-section-title { font-size: 11px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--ds-mute); margin: 16px 0 8px; padding: 0 0 6px; border-bottom: 1px solid var(--ds-line); }
html body.sz-form-page .copy-variant-toolbar { background: var(--ds-bg) !important; border: 1px solid var(--ds-line) !important; border-radius: var(--ds-r-sm) !important; padding: 8px 10px !important; margin-bottom: 12px !important; }
html body.sz-form-page .copy-variant-toolbar span { font-size: 12.5px !important; color: var(--ds-text) !important; }
html body.sz-form-page .copy-variant-toolbar .form-select { min-width: 160px; }
html body.sz-form-page .sku-validation { font-size: 12px; }
html body.sz-form-page .sku-valid { color: var(--ds-ok); }
html body.sz-form-page .sku-invalid { color: var(--ds-bad); }
html body.sz-form-page .variant-card .p-2.bg-white.border.rounded { background: var(--ds-bg) !important; font-size: 12.5px; }
html body.sz-form-page .variant-card .p-2.bg-white.border.rounded strong { font-size: 12.5px !important; color: var(--ds-text) !important; font-weight: 500; }
html body.sz-form-page .variant-card .form-check-input { border-color: var(--ds-line-strong); }
html body.sz-form-page .form-check-label { font-size: 13.5px; font-weight: 400; }
/* earnings estimate box inside a variant */
html body.sz-form-page .variant-card [class*="earn"] { font-size: 13px; }

/* image upload */
html body.sz-form-page .upload-zone { border: 1px dashed var(--ds-line-strong); border-radius: var(--ds-r); background: var(--ds-bg); padding: 14px; transition: none; }
html body.sz-form-page .upload-zone:hover { border-color: var(--ds-brand); background: var(--ds-brand-tint); }
html body.sz-form-page .upload-zone i { font-size: 20px; color: var(--ds-brand-strong); }
html body.sz-form-page .upload-zone p { font-size: 13px; color: var(--ds-text); margin: 4px 0 0; }
html body.sz-form-page .img-preview-wrap { gap: 8px; }
html body.sz-form-page .img-thumb { width: 88px; height: 88px; border: 1px solid var(--ds-line-strong); border-radius: var(--ds-r-sm); background: #fff; }
html body.sz-form-page .img-thumb.is-default { border: 2px solid var(--ds-brand); }
html body.sz-form-page .img-thumb-badge { font-size: 11px; padding: 1px 5px; border-radius: 3px; background: var(--ds-brand); }
html body.sz-form-page .thumb-btn { width: 24px; height: 24px; font-size: 12px; border-radius: 4px; }

/* sticky save bar */
html body.sz-form-page .sz-savebar { position: sticky; bottom: 0; z-index: 25; margin: 14px -16px 0; padding: 10px 16px; background: #fff; border-top: 1px solid var(--ds-line); align-items: center; }
html body.sz-form-page .sz-savebar .btn { min-width: 110px; }
html body.sz-form-page .auto-save-indicator { bottom: 72px; right: 16px; border: 1px solid var(--ds-line); box-shadow: none; font-size: 12.5px; border-radius: var(--ds-r-sm); }
/* modals used by the product forms */
html body.sz-form-page .modal-content-orange { border: 1px solid var(--ds-line); border-radius: var(--ds-r); box-shadow: 0 8px 24px rgba(17, 24, 39, .12); max-width: 360px; }
html body.sz-form-page .modal-content-orange h5 { font-size: 16px; }
html body.sz-form-page .modal-content-orange p { font-size: 13.5px; }
html body.sz-form-page .modal-content-orange > div:first-child { width: 44px !important; height: 44px !important; margin-bottom: 12px !important; }
html body.sz-form-page .modal-content-orange > div:first-child i { font-size: 22px !important; }
html body.sz-form-page .crop-modal-box { border-radius: var(--ds-r); }
html body.sz-form-page .crop-modal-title { font-size: 16px; }
html body.sz-form-page .crop-hint { font-size: 12.5px; color: var(--ds-mute); }
html body.sz-form-page .help-icon { font-size: 11px; }

@media (max-width: 767px) {
  html body.sz-form-page .container-custom { padding: 0 12px; }
  html body.sz-form-page .header { margin: 0 -12px 12px; padding: 8px 64px 8px 12px; }
  html body.sz-form-page .stepper { padding: 8px 10px; }
  html body.sz-form-page .step-connector { margin: 0 6px; }
  html body.sz-form-page .step-label { display: none; }
  html body.sz-form-page .step-item.active .step-label { display: inline; }
  html body.sz-form-page .card { padding: 12px; }
  html body.sz-form-page .variant-card { padding: 12px; }
  html body.sz-form-page .form-control, html body.sz-form-page .form-select, html body.sz-form-page .btn { min-height: 40px; }
  html body.sz-form-page .form-control, html body.sz-form-page .form-select { font-size: 16px; }
  html body.sz-form-page .grid-select { grid-template-columns: repeat(2, 1fr); }
  html body.sz-form-page .sz-savebar { margin: 12px -12px 0; padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); }
  html body.sz-form-page .sz-savebar { flex-wrap: nowrap !important; gap: 8px !important; }
  html body.sz-form-page .sz-savebar .d-flex { flex: 1 1 auto; min-width: 0; gap: 8px !important; }
  html body.sz-form-page .sz-savebar .btn { min-width: 0; padding: 0 10px; flex: 1 1 auto; white-space: nowrap; }
  html body.sz-form-page .sz-savebar > .btn { flex: 0 0 auto; }
  html body.sz-form-page .variant-card .col-md-2 { width: 50%; }
  html body.sz-form-page .auto-save-indicator { bottom: 128px; }
}

/* ================= Earnings estimate widget (product forms) ================= */
html body .em-earn { margin: 8px 0 12px; padding: 10px 12px; border: 1px solid var(--ds-line); border-radius: var(--ds-r); background: var(--ds-bg); }
html body .em-earn-h { font-size: 13.5px; font-weight: 600; color: var(--ds-ink); }
html body .em-earn-h i { color: var(--ds-mute); }
html body .em-earn-h small { font-size: 12.5px; color: var(--ds-mute); font-weight: 400; }
html body .em-earn-grid { gap: 8px; margin-top: 8px; }
html body .em-earn-c { border: 1px solid var(--ds-line); border-radius: var(--ds-r-sm); padding: 8px 12px; background: #fff; }
html body .em-earn-c span { font-size: 11px; font-weight: 600; letter-spacing: .04em; color: var(--ds-mute); }
html body .em-earn-c b { font-size: 18px; font-weight: 600; color: var(--ds-ok); letter-spacing: 0; }
html body .em-earn-c small { font-size: 12.5px; color: var(--ds-mute); }
html body .em-earn-f { font-size: 12.5px; color: var(--ds-text); }
html body .em-earn-f a { color: var(--ds-brand-strong); font-weight: 600; }

/* ================= Shared page header / tabs / filters ================= */
html body .orders-header, html body .em-main-header, html body .iv-head { background: transparent; border: 0; border-radius: 0; padding: 0; margin: 0 0 12px; align-items: center; box-shadow: none; }
html body .orders-header h1, html body .em-header-left h1, html body .iv-head h1 { font-size: 20px; font-weight: 600; margin: 0; color: var(--ds-ink); }
html body .iv-head p, html body .em-header-left p { font-size: 13px; color: var(--ds-mute); margin: 2px 0 0; }
html body .iv-btn, html body .btn-export, html body .em-add-btn, html body .em-header-right .btn, html body .em-header-right a { min-height: 36px; padding: 0 14px; border-radius: var(--ds-r-sm); font-size: 13.5px; font-weight: 600; box-shadow: none; transform: none; display: inline-flex; align-items: center; gap: 6px; }
html body .iv-btn, html body .btn-export { background: #fff; border: 1px solid var(--ds-line-strong); color: var(--ds-text); }
html body .iv-btn:hover, html body .btn-export:hover { background: var(--ds-bg); border-color: var(--ds-line-strong); color: var(--ds-ink); }
html body .btn-export i { color: var(--ds-ok); }
html body .iv-btn.primary, html body .em-add-btn { background: var(--ds-brand); border: 1px solid var(--ds-brand); color: #fff; }
html body .iv-btn.primary:hover, html body .em-add-btn:hover { background: var(--ds-brand-strong); border-color: var(--ds-brand-strong); color: #fff; transform: none; filter: none; }
html body .iv-btn.sm { min-height: 30px; padding: 0 10px; font-size: 12.5px; }

/* tabs: underlined, counts in mono (same look as .sz-tabs) */
html body .tab-btn, html body .em-filter-tab { display: inline-flex; align-items: center; gap: 6px; flex-shrink: 0; min-height: 40px; padding: 0 2px; margin: 0 0 -1px; background: none; border: 0; border-bottom: 2px solid transparent; border-radius: 0; box-shadow: none; transition: none; font-size: 13.5px; font-weight: 500; color: var(--ds-mute); text-decoration: none; white-space: nowrap; cursor: pointer; }
html body .tab-btn:hover, html body .em-filter-tab:hover { background: none; color: var(--ds-ink); }
html body .tab-btn.active, html body .em-filter-tab.active { background: none; color: var(--ds-ink); font-weight: 600; border-bottom-color: var(--ds-brand); box-shadow: none; }
html body .tab-cnt, html body .tab-count { min-width: 0; padding: 0; margin: 0; border-radius: 0; background: none; color: var(--ds-mute); font: 500 12px/1 var(--ds-mono); }
html body .tab-btn.active .tab-cnt, html body .em-filter-tab.active .tab-count { background: none; color: var(--ds-brand-strong); }
html body .em-filter-tabs, html body .orders-tabs { display: flex; flex-wrap: nowrap; gap: 20px; padding: 0; margin: 0 0 14px; overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--ds-line); }
html body .em-filter-tabs::-webkit-scrollbar, html body .orders-tabs::-webkit-scrollbar { display: none; }
html body .em-filter-section { margin-bottom: 0; }
html body .em-tab-elite-img { height: 16px; width: auto; vertical-align: -3px; }

html body .orders-search input, html body .em-search-input, html body .iv-search input { min-height: 36px; padding: 6px 34px 6px 36px; font-size: 13.5px; border: 1px solid var(--ds-line-strong); border-radius: var(--ds-r-sm); background: #fff; box-shadow: none; }
html body .orders-search input:focus, html body .iv-search input:focus, html body .iv-select:focus { border-color: var(--ds-brand); box-shadow: none; outline: 2px solid color-mix(in srgb, var(--ds-brand) 35%, transparent); outline-offset: 0; }
html body .em-search-box { box-shadow: none; border: 0; background: transparent; }
html body .em-search-input { border: 1px solid var(--ds-line-strong); background: #fff; padding-left: 38px; }
html body .em-search-box i, html body .orders-search i, html body .iv-search i { font-size: 14px; color: var(--ds-mute); }
html body .orders-filters { gap: 10px; margin: 8px 0 10px; }
html body .orders-filters label { font-size: 12.5px; font-weight: 600; color: var(--ds-ink); gap: 4px; }
html body .orders-filters select, html body .orders-filters input[type=date], html body .iv-select { min-height: 36px; padding: 6px 10px; border: 1px solid var(--ds-line-strong); border-radius: var(--ds-r-sm); font-size: 13.5px; background-color: #fff; }
html body .of-clear { font-size: 13px; }
html body .orders-warn { font-size: 13px; border-radius: var(--ds-r-sm); }

/* ================= Tables on list pages ================= */
html body .orders-card, html body .iv-card, html body .em-table-container { border: 1px solid var(--ds-line); border-radius: var(--ds-r); box-shadow: none; background: #fff; }
html body .orders-table, html body .iv-table, html body .rto-table, html body .em-table { font-size: 13px; }
html body .orders-table th, html body .iv-table th, html body .rto-table th, html body .em-table th, html body .em-products-table th { padding: 8px 14px; background: var(--ds-bg); color: var(--ds-mute); font: 500 12px/1.3 var(--ds-mono); text-transform: uppercase; letter-spacing: .04em; border-bottom: 1px solid var(--ds-line); position: sticky; top: 0; z-index: 2; }
html body .orders-table td, html body .iv-table td, html body .rto-table td, html body .em-table td, html body .em-products-table td { padding: 8px 14px; border-bottom: 1px solid var(--ds-line); }
html body .orders-table tr:hover td, html body .iv-table tbody tr:hover { background: #FAFAFB; }
html body .oid { font-weight: 600; color: var(--ds-ink); }
html body .odate, html body .ccity { font-size: 12px; color: var(--ds-mute); }
html body .sbadge, html body .charge-tag, html body .iv-pill, html body .em-qc-badge, html body .em-stock-badge, html body .iv-tag, html body .ctag { border-radius: 4px; font-size: 12px; font-weight: 600; padding: 2px 8px; }
html body .ab, html body .iv-icon-btn { width: 32px; height: 32px; border-radius: var(--ds-r-sm); border: 1px solid var(--ds-line-strong); background: #fff; color: var(--ds-text); transition: none; }
html body .ab:hover, html body .iv-icon-btn:hover { background: var(--ds-bg); border-color: var(--ds-line-strong); color: var(--ds-ink); }
html body .item-thumb, html body .om-item img { border-radius: var(--ds-r-sm); }
html body .empty-state { padding: 48px 20px; }
html body .empty-state i { font-size: 32px; }

/* inventory + listings stat cards become one strip */
html body .iv-stats, html body .em-stats-grid { display: grid; gap: 0; background: #fff; border: 1px solid var(--ds-line); border-radius: var(--ds-r); overflow: hidden; margin-bottom: 12px; }
html body .iv-stats { grid-template-columns: repeat(6, minmax(0, 1fr)); }
html body .em-stats-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
html body .iv-stat, html body .em-stat-card { border: 0; border-left: 1px solid var(--ds-line); border-radius: 0; box-shadow: none; padding: 10px 14px; background: #fff; transition: none; transform: none; }
html body .iv-stat:first-child, html body .em-stat-card:first-child { border-left: 0; }
html body .iv-stat:hover, html body .em-stat-card:hover { background: #FAFAFB; transform: none; box-shadow: none; border-color: var(--ds-line); }
html body .iv-stat.active { background: var(--ds-brand-tint); box-shadow: none; border-color: var(--ds-line); }
html body .iv-stat .lbl { font: 500 12px/1.3 var(--ds-mono); text-transform: uppercase; letter-spacing: .04em; color: var(--ds-mute); }
html body .iv-stat .num { font-size: 22px; font-weight: 600; margin-top: 2px; }
html body .em-stat-icon { display: none; }
html body .em-stat-count { font-size: 22px; font-weight: 600; margin-bottom: 0; }
html body .em-stat-label { font: 500 12px/1.3 var(--ds-mono); text-transform: uppercase; letter-spacing: .04em; }
html body .em-stat-card { flex-direction: column-reverse; align-items: flex-start; gap: 0; }
html body .iv-summary { font-size: 12.5px; }
html body .iv { padding: 0 0 110px; font-size: 14px; }
@media (max-width: 991px) {
  html body .iv-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  html body .iv-stat:nth-child(4) { border-left: 0; }
  html body .iv-stat:nth-child(n+4) { border-top: 1px solid var(--ds-line); }
  html body .em-stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  html body .em-stat-card:nth-child(3) { border-left: 0; }
  html body .em-stat-card:nth-child(n+3) { border-top: 1px solid var(--ds-line); }
}
html body .iv-bulk { border-radius: var(--ds-r); box-shadow: 0 8px 24px rgba(17, 24, 39, .18); }

/* mobile order cards: compact */
@media (max-width: 680px) {
  html body .orders-table tr { border-radius: var(--ds-r); margin: 0 0 10px; padding: 4px 12px; }
  html body .orders-table td { padding: 5px 0; font-size: 13px; }
  html body .orders-table td::before { font-size: 12px; text-transform: none; font-weight: 600; }
  html body .orders-header { flex-direction: row; align-items: center; }
}

/* listings: phone / tablet cards become compact rows (thumbnail left, details right) */
html body .em-product-grid { gap: 10px; }
html body .em-product-card { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 0 12px; padding: 12px; border: 1px solid var(--ds-line); border-radius: var(--ds-r); box-shadow: none; transform: none; transition: none; overflow: visible; }
html body .em-product-card:hover { transform: none; box-shadow: none; }
html body .em-product-card .em-product-image { height: 88px; width: 88px; border: 1px solid var(--ds-line); border-radius: var(--ds-r-sm); overflow: hidden; }
html body .em-product-card .em-status-badges { top: 4px; left: 4px; gap: 3px; }
html body .em-product-card .em-elite-corner { top: 2px; right: 2px; padding: 1px 3px; box-shadow: none; }
html body .em-product-card .em-elite-corner img { height: 14px; }
html body .em-product-card .em-product-details { min-width: 0; padding: 0; }
html body .em-product-card .em-product-name { font-size: 14px; font-weight: 600; margin: 0 0 2px; }
html body .em-product-card .em-no-image { font-size: 12px; }
@media (min-width: 768px) and (max-width: 991px) { html body .em-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

@media (max-width: 991px) { html body .iv-bulk { bottom: 72px; } }

/* ================= Order page ================= */
html body .od-wrap { gap: 12px; }
html body .od-back { font-size: 13px; }
html body .od-head { padding: 12px 16px; border-radius: var(--ds-r); }
html body .od-head h1 { font-size: 20px; font-weight: 600; margin: 0 0 2px; }
html body .od-sub { font-size: 13px; }
html body .od-btn { min-height: 36px; padding: 0 14px; font-size: 13.5px; border-radius: var(--ds-r-sm); border-color: var(--ds-line-strong); }
html body .od-btn:hover { background: var(--ds-bg); }
html body .od-btn.primary { background: var(--ds-brand); border-color: var(--ds-brand); }
html body .od-btn.primary:hover { background: var(--ds-brand-strong); border-color: var(--ds-brand-strong); filter: none; }
html body .od-note { font-size: 13px; border-radius: var(--ds-r-sm); }
html body .od-card { padding: 14px 16px; border-radius: var(--ds-r); }
html body .od-card h2 { font-size: 15px; font-weight: 600; margin: 0 0 10px; }
html body .od-table, html body .od-money, html body .od-kv { font-size: 13px; }
html body .od-table th { font-size: 12px; padding: 8px; background: #F9FAFB; }
html body .od-table td { border-bottom: 1px solid var(--ds-line); }
html body .od-table tfoot .grand td, html body .od-money .total td { border-top: 1px solid var(--ds-line-strong); }
html body .od-kv { border-bottom-color: var(--ds-line); }
html body .od-item .sm, html body .od-steps .st-when, html body .od-steps .st-note, html body .od-ship, html body .od-foot { font-size: 12.5px; }
html body .od-steps .now .dot { box-shadow: none; border-width: 3px; }
html body .od-who { border-radius: var(--ds-r-sm); font-size: 13px; }
html body .od-paid { border-radius: var(--ds-r-sm); }
html body .od-paid span, html body .od-money .tbu { font-size: 12.5px; }

/* ================= Shared bits for the remaining dashboard pages ================= */
html body .content-area { background: var(--ds-bg); }
html body .dashboard-content { padding-bottom: 8px; }
html body input[type=file] { font-size: 13px; color: var(--ds-text); max-width: 100%; }
html body input[type=file]::file-selector-button { min-height: 32px; padding: 0 12px; margin-right: 10px; font: 600 13px var(--ds-font); color: var(--ds-text); background: #fff; border: 1px solid var(--ds-line-strong); border-radius: var(--ds-r-sm); cursor: pointer; }
html body input[type=file]::file-selector-button:hover { background: var(--ds-bg); }
/* page header cards that wrap only a title become plain headers */
html body .rto-header, html body .tm-header, html body .settings-header { background: transparent; border: 0; border-radius: 0; padding: 0; margin: 0 0 12px; box-shadow: none; }
html body .rto-header h1, html body .tm-header h1, html body .settings-header h1 { font-size: 20px; font-weight: 600; color: var(--ds-ink); margin: 0; }
html body .rto-header small { font-size: 13px; color: var(--ds-mute); max-width: 80ch; }
html body .kyc-btn-outline, html body .tm-header .btn { min-height: 36px; padding: 0 14px; border-radius: var(--ds-r-sm); font-size: 13.5px; font-weight: 600; box-shadow: none; display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: 1px solid var(--ds-line-strong); background: #fff; color: var(--ds-text); text-decoration: none; }
html body .rtab { min-height: 34px; padding: 0 12px; border: 1px solid var(--ds-line-strong); border-radius: var(--ds-r-sm); background: #fff; color: var(--ds-text); font-size: 13px; font-weight: 500; box-shadow: none; transition: none; display: inline-flex; align-items: center; gap: 6px; }
html body .rtab.active { background: var(--ds-brand-tint); border-color: var(--ds-brand); color: var(--ds-brand-deep); font-weight: 600; }
html body .rto-card, html body .kyc-card, html body .info-card, html body .settings-main, html body .settings-nav, html body .settings-status { border: 1px solid var(--ds-line); border-radius: var(--ds-r); box-shadow: none; background: #fff; }

/* coupons: stat tiles as one strip, flat empty state */

/* store page */

/* advertisement: a plain header instead of a hero */

/* notifications: one panel, rows separated by lines, smaller buttons */

html body .form-group label { font-size: 12.5px; font-weight: 600; color: var(--ds-ink); }
html body .form-text, html body .error-message { font-size: 12.5px; }

/* team, kyc */
html body .tm-header h1 { font-size: 20px; }
html body .kyc-card { border-radius: var(--ds-r); padding: 16px; box-shadow: none; }
html body .empty-state { background: transparent; }

/* gst reports + generic .card pages */
html body .card { padding: 16px; margin-bottom: 14px; border-radius: var(--ds-r); }
html body .card h3 { font-size: 15px; font-weight: 600; margin: 0 0 12px; }
html body .card h3 i { color: var(--ds-mute); }
html body .form-group { margin-bottom: 12px; }
html body .form-group select, html body .form-group input { min-height: 36px; padding: 6px 12px; border: 1px solid var(--ds-line-strong); border-radius: var(--ds-r-sm); font-size: 13.5px; box-shadow: none; }

/* earnings calculator: flat, no gradient, no decorative numerals */

/* returns / RTO */
html body .rto-header { display: flex; align-items: baseline; gap: 12px; }
html body .awb-code { font-size: 12px; border-radius: 4px; }
html body .cn-link { font-size: 12.5px; border-radius: var(--ds-r-sm); }
html body .ab-primary { background: var(--ds-brand); border-color: var(--ds-brand); }
html body .rto-wrap .ab { min-height: 32px; width: auto; padding: 0 12px; font-size: 13px; }

/* banners / alerts used across pages */
html body .alert, html body .orders-warn, html body .notice-box { border-radius: var(--ds-r-sm); box-shadow: none; }

/* ================= Sign-in and account-access pages (login, register, forgot, change password, team login) ================= */
html body.sz-auth { background: var(--ds-bg); height: auto; min-height: 100vh; overflow: auto; font-family: var(--ds-font); color: var(--ds-text); }
html:has(body.sz-auth) { height: auto; overflow: auto; }
html body.sz-auth .bg-shape { display: none; }
html body.sz-auth .header { padding: 40px 24px 16px; }
html body.sz-auth .logo { height: 56px; margin-bottom: 8px; }
html body.sz-auth .site-name { font-size: 20px; font-weight: 600; color: var(--ds-ink); margin-bottom: 4px; }
html body.sz-auth .tagline { font-size: 13px; color: var(--ds-mute); font-weight: 400; }
html body.sz-auth .main-content { width: 100%; max-width: 420px; margin: 0 auto 32px; padding: 24px; flex: 0 0 auto; background: #fff; border: 1px solid var(--ds-line); border-radius: var(--ds-r); box-shadow: none; }
html body.sz-auth .welcome-title, html body.sz-auth .page-title { font-size: 20px; font-weight: 600; color: var(--ds-ink); margin: 0 0 4px; text-align: center; }
html body.sz-auth .welcome-subtitle, html body.sz-auth .page-subtitle { font-size: 13.5px; color: var(--ds-mute); margin: 0 0 16px; text-align: center; }
html body.sz-auth .form-input, html body.sz-auth .mobile-input, html body.sz-auth .otp-input-popup, html body.sz-auth .input-wrapper input, html body.sz-auth .form-control, html body.sz-auth .form-group input { min-height: 40px; padding: 8px 12px; border: 1px solid var(--ds-line-strong); border-radius: var(--ds-r-sm); font-size: 16px; font-family: var(--ds-font); color: var(--ds-ink); background: #fff; box-shadow: none; }
html body.sz-auth .form-input:focus, html body.sz-auth .mobile-input:focus, html body.sz-auth .otp-input-popup:focus, html body.sz-auth .input-wrapper input:focus, html body.sz-auth .form-control:focus, html body.sz-auth .form-group input:focus { border-color: var(--ds-brand); outline: 2px solid color-mix(in srgb, var(--ds-brand) 35%, transparent); outline-offset: 0; box-shadow: none; }
html body.sz-auth .floating-label { font-size: 13.5px; font-weight: 400; color: var(--ds-mute); }
html body.sz-auth .form-input:focus + .floating-label, html body.sz-auth .form-input:not(:placeholder-shown) + .floating-label { font-size: 12px; font-weight: 600; color: var(--ds-brand-strong); }
html body.sz-auth .form-group > label, html body.sz-auth .mobile-label { font-size: 12.5px; font-weight: 600; color: var(--ds-ink); }
html body.sz-auth .login-btn, html body.sz-auth .btn-login, html body.sz-auth .btn, html body.sz-auth .btn-primary, html body.sz-auth .send-otp-btn, html body.sz-auth .otp-verify-btn, html body.sz-auth .alert-btn-primary { min-height: 40px; border-radius: var(--ds-r-sm); font-size: 14px; font-weight: 600; background: var(--ds-brand); border: 1px solid var(--ds-brand); color: #fff; box-shadow: none; transform: none; transition: none; }
html body.sz-auth .login-btn:hover, html body.sz-auth .btn-login:hover, html body.sz-auth .btn:hover, html body.sz-auth .btn-primary:hover, html body.sz-auth .send-otp-btn:hover, html body.sz-auth .otp-verify-btn:hover { background: var(--ds-brand-strong); border-color: var(--ds-brand-strong); transform: none; box-shadow: none; color: #fff; }
html body.sz-auth .signup-btn, html body.sz-auth .login-section .login-btn, html body.sz-auth .btn-outline, html body.sz-auth .alert-btn-outline, html body.sz-auth .btn-link, html body.sz-auth .otp-resend-btn { min-height: 40px; border-radius: var(--ds-r-sm); font-size: 13.5px; font-weight: 600; background: #fff; border: 1px solid var(--ds-line-strong); color: var(--ds-text); box-shadow: none; }
html body.sz-auth .signup-btn:hover, html body.sz-auth .btn-outline:hover, html body.sz-auth .alert-btn-outline:hover, html body.sz-auth .btn-link:hover { background: var(--ds-bg); color: var(--ds-ink); }
html body.sz-auth .forgot-link, html body.sz-auth .agree-terms a, html body.sz-auth .signup-text a { color: var(--ds-brand-strong); font-size: 13px; }
html body.sz-auth .remember-me label, html body.sz-auth .agree-terms label, html body.sz-auth .checkbox-group label, html body.sz-auth .signup-text, html body.sz-auth .login-text { font-size: 13px; font-weight: 400; color: var(--ds-text); }
html body.sz-auth .signup-section, html body.sz-auth .login-section { border-top: 1px solid var(--ds-line); margin-top: 16px; padding-top: 16px; }
html body.sz-auth .alert { font-size: 13px; padding: 10px 12px; border-radius: var(--ds-r-sm); }
html body.sz-auth .password-toggle, html body.sz-auth .toggle-pass, html body.sz-auth .toggle-btn { font-size: 13px; color: var(--ds-mute); }
html body.sz-auth .alert-popup, html body.sz-auth .otp-popup-content { border-radius: var(--ds-r); box-shadow: 0 8px 24px rgba(17, 24, 39, .12); border: 1px solid var(--ds-line); }
html body.sz-auth .alert-message, html body.sz-auth .otp-sent-to, html body.sz-auth .otp-timer, html body.sz-auth .resend-timer, html body.sz-auth .timer, html body.sz-auth .optional-note, html body.sz-auth .rules { font-size: 13px; }
html body.sz-auth .success-title, html body.sz-auth .locked-title { font-size: 18px; font-weight: 600; }
html body.sz-auth .success-text, html body.sz-auth .locked-text { font-size: 13.5px; }
/* change-password uses a bare .card */
html body.sz-auth > .card { width: calc(100% - 32px); max-width: 420px; margin: 40px auto; padding: 24px; }
html body.sz-auth > .card h2 { font-size: 20px; font-weight: 600; margin: 0 0 4px; }
html body.sz-auth > .card .sub { font-size: 13.5px; color: var(--ds-mute); }
html body.sz-auth > .card .notice { font-size: 13px; border-radius: var(--ds-r-sm); }
/* team login: flat split layout, no gradient panel */
html body.sz-auth-split .split { min-height: 100vh; }
html body.sz-auth-split .brand-panel { background: #fff; background-image: none; border-right: 1px solid var(--ds-line); color: var(--ds-ink); }
html body.sz-auth-split .brand-panel::before { display: none; }
html body.sz-auth-split .brand-content h1 { font-size: 24px; font-weight: 600; color: var(--ds-ink); }
html body.sz-auth-split .brand-content p { font-size: 14px; color: var(--ds-mute); }
html body.sz-auth-split .login-panel { background: var(--ds-bg); }
html body.sz-auth-split .form-container { background: #fff; border: 1px solid var(--ds-line); border-radius: var(--ds-r); padding: 24px; box-shadow: none; }
html body.sz-auth-split .team-badge { border-radius: 4px; font-size: 12px; }
@media (max-width: 480px) {
  html body.sz-auth .header { padding: 24px 16px 12px; }
  html body.sz-auth .main-content { margin: 0 16px 24px; width: auto; max-width: none; padding: 16px; }
}

/* ================= Payment flow / dues ================= */
html body table.pay-table { font-size: 13px; }
html body table.pay-table th { font-size: 12px; font-weight: 600; color: var(--ds-mute); background: #F9FAFB; }
html body table.pay-table td { border-bottom-color: var(--ds-line); }
@media (max-width: 900px) {
  html body .pay-card:nth-child(3) { border-left: 0; }
  html body .pay-card:nth-child(n+3) { border-top: 1px solid var(--ds-line); }
}

/* the shared panel stylesheet (lang?asset=nav) gives settings tabs a gradient chip look: flatten it */

/* the shared panel stylesheet styles table headers with a higher specificity: match it */
html body:has(.sidebar) table thead th, html body:has(.sidebar) .table > thead > tr > th, html body:has(.sidebar) .em-table thead th { font: 500 12px/1.3 var(--ds-mono); letter-spacing: .04em; text-transform: uppercase; color: var(--ds-mute); background: var(--ds-bg); }
html body .mobile-bottom-link span, html body .mobile-bottom-nav span { font-size: 12px; }
html body.sz-auth .floating-label { top: 10px; left: 12px; line-height: 20px; font-size: 14px; }
html body.sz-auth .form-input:focus + .floating-label, html body.sz-auth .form-input:not(:placeholder-shown) + .floating-label { top: -9px; line-height: 16px; }
html body.sz-auth .input-wrapper input { padding-left: 38px; }
html body.sz-auth .input-wrapper i.icon-left { left: 12px; }
html body.sz-auth .btn-link { display: inline-flex; align-items: center; justify-content: center; width: auto; min-width: 140px; padding: 0 14px; }
html body.sz-auth.sz-auth { background: var(--ds-bg) !important; }
html body.sz-auth .agree-terms { display: flex; align-items: center; gap: 8px; margin: 12px 0; }
html body.sz-auth .agree-terms input, html body.sz-auth .remember-me input { width: 16px; height: 16px; margin: 0; }
html body.sz-auth .form-options { margin: 12px 0; }
/* product forms: the top bar and save bar run edge to edge while the content stays 1120px wide */
html body.sz-form-page .header { margin: 0 calc(50% - 50vw) 16px; padding: 10px max(16px, calc(50vw - 544px)); }
html body.sz-form-page .sz-savebar { margin: 14px calc(50% - 50vw) 0; padding: 10px max(16px, calc(50vw - 544px)); }
@media (max-width: 767px) {
  html body.sz-form-page .header { margin: 0 calc(50% - 50vw) 12px; padding: 8px 64px 8px 12px; }
  html body.sz-form-page .sz-savebar { margin: 12px calc(50% - 50vw) 0; padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); }
}
html body.sz-form-page { overflow-x: clip; }
@media (max-width: 480px) { html body.sz-auth { padding-top: 52px; } }

/* ================= Listings (desktop table, header, pagination) ================= */
html body .em-main-header { display: flex; align-items: flex-start; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-bottom: 16px; }
html body .em-header-right { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
html body .em-header-left p { max-width: 70ch; }
html body .em-filter-icon-btn, html body .em-inv-link { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 36px; min-width: 36px; padding: 0 12px; background: #fff; border: 1px solid var(--ds-line-strong); border-radius: var(--ds-r-sm); color: var(--ds-text); font-size: 13.5px; font-weight: 600; text-decoration: none; box-shadow: none; }
html body .em-filter-icon-btn { padding: 0; }
html body .em-filter-icon-btn:hover, html body .em-inv-link:hover { background: var(--ds-bg); color: var(--ds-ink); }
html body .em-filter-icon-btn.active { border-color: var(--ds-brand); color: var(--ds-brand-strong); }
html body .em-inv-alert { min-width: 18px; padding: 1px 5px; border-radius: 9px; background: var(--ds-bad-tint); color: var(--ds-bad); font: 600 12px/16px var(--ds-mono); text-align: center; }
html body .em-search-section { margin: 0 0 10px; }
html body .em-table-header { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 6px 16px; padding: 10px 16px; border-bottom: 1px solid var(--ds-line); background: #fff; }
html body .em-table-title h3 { margin: 0; font-size: 14px; font-weight: 600; }
html body .em-table-hint { font-size: 12.5px; color: var(--ds-mute); }
html body .em-table-hint a { color: var(--ds-brand-strong); }
html body .em-table-wrapper { overflow: auto; max-height: calc(100vh - 230px); }
html body .em-products-table { width: 100%; border-collapse: separate; border-spacing: 0; }
html body .em-products-table th { white-space: nowrap; text-align: left; }
html body .em-products-table tbody tr:hover td { background: var(--ds-bg); }
html body .em-product-cell { display: flex; align-items: center; gap: 12px; min-width: 240px; }
html body .em-product-thumbnail { width: 40px; height: 40px; flex-shrink: 0; border: 1px solid var(--ds-line); border-radius: var(--ds-r-sm); overflow: hidden; background: var(--ds-bg); }
html body .em-product-thumbnail img { width: 100%; height: 100%; object-fit: cover; }
html body .em-product-name-desktop { max-width: 340px; font-size: 13px; font-weight: 600; line-height: 1.35; color: var(--ds-ink); overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
html body .em-product-pid-desktop { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin-top: 2px; font: 500 12px/1.4 var(--ds-mono); color: var(--ds-mute); }
html body .em-elite-img-btn { display: inline-flex; align-items: center; padding: 0; background: none; border: 0; box-shadow: none; cursor: pointer; font: 600 12px/1 var(--ds-mono); color: var(--ds-brand-strong); }
html body .em-elite-img-btn img { height: 16px; width: auto; }
html body .em-by-tag { padding: 1px 6px; border-radius: 4px; background: var(--ds-bg); border: 1px solid var(--ds-line); color: var(--ds-mute); font: 500 12px/1.4 var(--ds-mono); }
html body .em-price-cell { font-weight: 600; color: var(--ds-ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
html body .em-price-variant-hint { display: block; font-weight: 400; color: var(--ds-mute); }
html body .em-stock-cell { display: flex; align-items: center; gap: 6px; }
html body .em-stock-badge { display: inline-flex; align-items: center; gap: 4px; font-variant-numeric: tabular-nums; }
html body .em-stock-in { background: var(--ds-ok-tint); color: var(--ds-ok); }
html body .em-stock-low { background: var(--ds-warn-tint); color: var(--ds-warn); }
html body .em-stock-out { background: var(--ds-bad-tint); color: var(--ds-bad); }
html body .em-stock-manage { color: var(--ds-mute); font-size: 13px; }
html body .em-stock-manage:hover { color: var(--ds-brand-strong); }
html body .em-action-buttons { display: flex; gap: 6px; }
html body .em-action-icon, html body .em-action-btn { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; padding: 0; background: #fff; border: 1px solid var(--ds-line); border-radius: var(--ds-r-sm); color: var(--ds-text); font-size: 14px; box-shadow: none; transition: none; text-decoration: none; cursor: pointer; }
html body .em-action-icon:hover, html body .em-action-btn:hover { background: var(--ds-bg); color: var(--ds-ink); border-color: var(--ds-line-strong); transform: none; }
html body .em-switch-text { font-size: 12.5px; }
html body .em-pagination { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 12px 0 0; padding: 8px 12px; background: #fff; border: 1px solid var(--ds-line); border-radius: var(--ds-r); }
html body .em-page-info { font: 500 12px/1 var(--ds-mono); color: var(--ds-mute); }
html body .em-page-btn { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 0 12px; background: #fff; border: 1px solid var(--ds-line-strong); border-radius: var(--ds-r-sm); color: var(--ds-text); font-size: 13px; font-weight: 600; text-decoration: none; }
html body .em-page-btn:hover { background: var(--ds-bg); color: var(--ds-ink); border-color: var(--ds-line-strong); }
html body .em-empty-state { padding: 48px 16px; text-align: center; background: #fff; border: 1px solid var(--ds-line); border-radius: var(--ds-r); }
html body .em-empty-icon { display: none; }
@media (max-width: 991px) { html body .em-table-wrapper { max-height: none; } }
html body .em-by-tag.seller, html body .em-by-tag.team, html body .em-by-tag.updated { background: var(--ds-bg); color: var(--ds-mute); border: 1px solid var(--ds-line); }
html body .em-manage-stock, html body .em-vid-open { display: inline-flex; align-items: center; gap: 5px; min-height: 30px; padding: 0 10px; background: #fff; border: 1px solid var(--ds-line-strong); border-radius: var(--ds-r-sm); color: var(--ds-text); font-size: 12.5px; font-weight: 600; text-decoration: none; cursor: pointer; }
html body .em-variant-count, html body .em-meta-item, html body .em-meta-item i, html body .em-variant-count i { color: var(--ds-mute); font-size: 12.5px; }
html body .em-price-range { background: none; color: var(--ds-mute); padding: 0; font-weight: 400; font-size: 12.5px; }
html body .em-stock { font-size: 12.5px; }
html body .em-product-card .em-elite-corner { background: #fff; }
html body .em-product-card .em-product-pid { font: 500 12px/1.4 var(--ds-mono); color: var(--ds-mute); }
html body .em-status-badges .em-badge { padding: 1px 6px; font-size: 12px; }
html body .iv-stat .dot { display: none; }
html body .iv-table td { padding-top: 6px; padding-bottom: 6px; }

/* orders filter bar: labels sit beside their field */
html body .orders-filters label { display: flex; align-items: center; gap: 6px; margin: 0; font: 500 12px/1 var(--ds-mono); letter-spacing: .04em; text-transform: uppercase; color: var(--ds-mute); }
html body .orders-filters label > select, html body .orders-filters label > input { margin: 0; }
html body .orders-search input { width: 100%; }
@media (max-width: 680px) {
  html body .orders-bar { padding: 8px; }
  html body .orders-filters { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; width: 100%; }
  html body .orders-filters label { flex-direction: column; align-items: stretch; gap: 4px; }
  html body .orders-filters .of-clear { grid-column: 1 / -1; }
  html body .orders-table td .charge-tag { margin: 2px 0 0 4px; }
}

/* pages that open their own content-area inside the shell's one: no second padding */
html body .content-area .content-area { padding: 0; background: none; overflow: visible; }
/* returns / RTO tabs and any other pill tabs written as .rtab */
html body .rto-tabs { display: flex; gap: 20px; margin: 0 0 14px; overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--ds-line); }
html body .rtab { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 2px; margin-bottom: -1px; background: none; border: 0; border-bottom: 2px solid transparent; border-radius: 0; box-shadow: none; color: var(--ds-mute); font-size: 13.5px; font-weight: 500; text-decoration: none; white-space: nowrap; }
html body .rtab:hover { background: none; color: var(--ds-ink); }
html body .rtab.active { background: none; color: var(--ds-ink); font-weight: 600; border-bottom-color: var(--ds-brand); }
html body .rtab i { display: none; }
html body .rtab .tab-c { padding: 0; background: none; border-radius: 0; font: 500 12px/1 var(--ds-mono); color: var(--ds-mute); }
html body .rtab.active .tab-c { background: none; color: var(--ds-brand-strong); }
html body .rto-header { margin: 0 0 16px; }
html body .rto-header h1 { margin: 0; font-size: 20px; font-weight: 600; }
html body .rto-card { border: 1px solid var(--ds-line); border-radius: var(--ds-r); background: #fff; box-shadow: none; overflow: hidden; }


/* ================= Settings (tabs on the left, ruled sections on the right) ================= */
html body .settings-header { margin: 0 0 16px; }
html body .settings-header h1 i { display: none; }
html body .settings-layout { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 32px; align-items: start; }
html body .settings-sidebar { position: sticky; top: calc(var(--sz-banner-h, 0px) + 68px); }
html body .settings-nav { display: flex; flex-direction: column; gap: 0; padding: 0; background: none; border: 0; border-left: 1px solid var(--ds-line); border-radius: 0; box-shadow: none; }
html body .settings-nav-item { display: flex; align-items: center; gap: 10px; min-height: 36px; padding: 6px 12px; margin-left: -1px; background: none; border: 0; border-left: 2px solid transparent; border-radius: 0; font-size: 13.5px; font-weight: 500; color: var(--ds-mute); text-decoration: none; box-shadow: none; }
html body .settings-nav-item i { width: 16px; font-size: 14px; background: none; color: var(--ds-mute); }
html body .settings-nav-item:hover { background: none; color: var(--ds-ink); }
html body .settings-nav-item.active { background: none !important; color: var(--ds-brand-strong) !important; border-left-color: var(--ds-brand); font-weight: 600; }
html body .settings-nav-item.active i { color: var(--ds-brand-strong); }
html body .settings-status { margin-top: 12px; padding: 0 12px; background: none; border: 0; box-shadow: none; font: 500 12px/1.4 var(--ds-mono); color: var(--ds-mute); }
html body .settings-main { padding: 0; background: none; border: 0; box-shadow: none; min-width: 0; }
html body .tab-header { margin: 0 0 12px; padding: 0 0 12px; border-bottom: 1px solid var(--ds-line); }
html body .tab-header h2, html body .tab-header h3 { margin: 0 0 2px; font-size: 16px; font-weight: 600; color: var(--ds-ink); }
html body .tab-header h2 i, html body .tab-header h3 i { display: none; }
html body .tab-header p { margin: 0; font-size: 13.5px; color: var(--ds-mute); }
html body .profile-grid { display: block; }
html body .info-card, html body .security-card { margin: 0; background: none; border: 0; border-bottom: 1px solid var(--ds-line); border-radius: 0; box-shadow: none; }
html body .info-card .card-header, html body .security-card .card-header { padding: 14px 0 6px; background: none; border: 0; }
html body .info-card .card-header h3, html body .security-card .card-header h3 { margin: 0; font: 600 12px/1.3 var(--ds-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ds-mute); }
html body .info-card .card-header i, html body .security-card .card-header i { display: none; }
html body .info-card .card-body { padding: 0 0 8px; }
html body .info-row { padding: 9px 0; border-bottom: 1px solid var(--ds-line); font-size: 13.5px; }
html body .info-row:last-child { border-bottom: 0; }
html body .info-label { color: var(--ds-mute); }
html body .info-value { color: var(--ds-ink); }
html body .form-group label { font-size: 12.5px; font-weight: 600; color: var(--ds-ink); }
html body .form-text, html body .error-message { font-size: 12.5px; }
html body .settings-main .btn { min-height: 36px; }
html body .address-card, html body .brand-card, html body .fssai-card, html body .notice-box, html body .document-preview { border-radius: var(--ds-r-sm); box-shadow: none; }
@media (max-width: 991px) {
  html body .settings-layout { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  html body .settings-sidebar { position: static; }
  html body .settings-nav { flex-direction: row; gap: 20px; overflow-x: auto; border: 0; border-bottom: 1px solid var(--ds-line); scrollbar-width: none; }
  html body .settings-nav::-webkit-scrollbar { display: none; }
  html body .settings-nav-item { flex-shrink: 0; min-height: 40px; padding: 0 2px; margin: 0 0 -1px; border-left: 0; border-bottom: 2px solid transparent; white-space: nowrap; }
  html body .settings-nav-item i { display: none; }
  html body .settings-nav-item.active { border-bottom-color: var(--ds-brand); }
  html body .settings-status { display: none; }
}

/* team */
html body .tm-wrap { padding: 0; }
html body .tm-header { display: flex; align-items: flex-start; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin: 0 0 16px; }
html body .tm-title i { display: none; }
html body .tm-info { display: flex; align-items: center; gap: 10px; margin: 0 0 16px; padding: 10px 14px; background: #fff; border: 1px solid var(--ds-line); border-left: 3px solid var(--ds-info); border-radius: var(--ds-r-sm); font-size: 13.5px; color: var(--ds-text); }
html body .tm-info > i { color: var(--ds-mute); }
html body .tm-tabs { display: flex; gap: 20px; margin: 0 0 14px; padding: 0; background: none; border: 0; border-bottom: 1px solid var(--ds-line); border-radius: 0; box-shadow: none; overflow-x: auto; scrollbar-width: none; }
html body .tm-tab-btn { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 2px; margin: 0 0 -1px; background: none; border: 0; border-bottom: 2px solid transparent; border-radius: 0; box-shadow: none; font-size: 13.5px; font-weight: 500; color: var(--ds-mute); white-space: nowrap; cursor: pointer; }
html body .tm-tab-btn:hover { color: var(--ds-ink); background: none; }
html body .tm-tab-btn.active { color: var(--ds-ink); font-weight: 600; border-bottom-color: var(--ds-brand); background: none; }
html body .tm-tab-btn .tab-badge { padding: 0; background: none; border-radius: 0; font: 500 12px/1 var(--ds-mono); color: var(--ds-mute); }
html body .tm-tab-btn.active .tab-badge { color: var(--ds-brand-strong); background: none; }

/* settlement box (shared policy text, inline-styled by SettlementPolicy::box) */
html body .em-settle-box { background: #fff !important; border: 1px solid var(--ds-line) !important; border-radius: var(--ds-r) !important; margin: 0 0 16px !important; padding: 8px 16px !important; font-size: 13.5px !important; }
html body .em-settle-box summary { color: var(--ds-ink) !important; font-weight: 600 !important; min-height: 32px; display: flex; align-items: center; }
html body .em-settle-box [style*="border-top"] { border-top-color: var(--ds-line) !important; }
html body .sidebar .footer-link.active { background: #FFF4EC !important; color: var(--ds-brand-deep) !important; font-weight: 600; box-shadow: none !important; }
html body .sidebar .footer-link.active > i { color: var(--ds-brand-strong); background: none; }

/* ================= Product add / edit: ruled two-column sections on desktop ================= */
html body.sz-form-page #step3Card { background: none; border: 0; padding: 0; margin: 0; }
html body.sz-form-page .sz-fsec { margin-bottom: 14px; padding: 16px; background: #fff; border: 1px solid var(--ds-line); border-radius: var(--ds-r); }
html body.sz-form-page .sz-fsec .card-header-custom { margin: 0 0 12px; }
@media (min-width: 992px) {
  html body.sz-form-page .sz-fsec, html body.sz-form-page .card:has(> .card-header-custom):not(#step1Card):not(#step2Card) { display: grid; grid-template-columns: 220px minmax(0, 1fr); column-gap: 40px; align-items: start; padding: 20px 20px; }
  html body.sz-form-page .sz-fsec > .card-header-custom, html body.sz-form-page .card:has(> .card-header-custom):not(#step1Card):not(#step2Card) > .card-header-custom { grid-column: 1; grid-row: 1 / span 40; margin: 0; padding: 0; border: 0; position: sticky; top: 72px; }
  html body.sz-form-page .sz-fsec > :not(.card-header-custom), html body.sz-form-page .card:has(> .card-header-custom):not(#step1Card):not(#step2Card) > :not(.card-header-custom) { grid-column: 2; min-width: 0; }
  html body.sz-form-page .sz-fsec .card-header-title, html body.sz-form-page .card:has(> .card-header-custom) .card-header-title { font-size: 14px; }
  html body.sz-form-page .sz-fsec .card-header-sub { font: 500 12px/1.4 var(--ds-mono); margin-top: 4px; }
}
html body .em-team-banner, html body .em-team-banner * { color: var(--ds-text); }
html body .em-team-banner strong, html body .em-team-banner b { color: var(--ds-ink); }

/* ================= Brand logo (logo only, no text beside it) =================
   Markup comes from emsz-assets/includes/brand.php: <a class="sz-logo"><img class="sz-logo-img"><span class="sz-logo-mark"></span></a>.
   If the image is missing or fails to load the link gets .is-fallback and shows a neutral square "E" mark instead. */
html body .sz-logo { display: inline-flex; align-items: center; flex: 0 1 auto; min-width: 0; max-width: 160px; height: 32px; color: var(--ds-ink); text-decoration: none; }
html body .sz-logo-img { display: block; width: auto; height: auto; max-width: 160px; max-height: 32px; object-fit: contain; object-position: left center; }
html body .sz-logo-mark { display: none; flex: none; width: 30px; height: 30px; border-radius: 6px; background: var(--ds-ink); color: #fff; font: 700 17px/30px var(--ds-font); text-align: center; }
html body .sz-logo-mark::before { content: "E"; }
html body .sz-logo.is-fallback .sz-logo-img { display: none; }
html body .sz-logo.is-fallback .sz-logo-mark { display: block; }
html body .sz-logo.sz-logo-lg { height: 36px; max-width: 180px; }
html body .sz-logo.sz-logo-lg .sz-logo-img { max-height: 36px; max-width: 180px; }
html body .sz-logo.mobile-header-logo { display: none; }
html body .sidebar-header .sz-logo { max-width: calc(100% - 44px); }
@media (max-width: 992px) { html body .sz-logo.mobile-header-logo { display: inline-flex; } }
html body .sz-logo.sz-logo-form { display: flex; margin: 0 0 6px; height: 28px; } html body .sz-logo-form .sz-logo-img { max-height: 28px; }

/* ================= One typeface (Nov 2026) =================
   Small uppercase labels, eyebrows and the breadcrumb used a monospace font; EffortMart SellerZone uses Inter everywhere
   (codes such as SKU or AWB keep their own monospace where a page sets it). Labels get a little more weight to stay crisp. */
:root { --ds-mono: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; }
html body .sidebar .nav-group-label { font-weight: 700; letter-spacing: .06em; }

/* Amazon: the real Amazon mark (Bootstrap Icons font glyph), not the EffortMart line icon that replaces it elsewhere */
html body [class].bi.bi-amazon::before { content: "\f68d" !important; font-family: bootstrap-icons !important; -webkit-mask-image: none !important; mask-image: none !important; -webkit-mask: none !important; mask: none !important;
  background: none !important; width: auto !important; height: auto !important; vertical-align: -.125em; color: #111827; }
html body .nav-link.active [class].bi.bi-amazon::before { color: #111827; }
