/* Ozon ERP 4.6 · Commercial workspace, third visual edition.
 * Decoration only. Modules own visibility, permissions, values and interactions.
 * Keep table geometry, compact date controls and the 14px navigation chevrons.
 */
html body.erp-system-ui.erp-beauty-v3 {
  --v3-accent: var(--theme-accent, #20aec2);
  --v3-deep: var(--theme-accent-deep, #168b9d);
  --v3-soft: var(--theme-accent-soft, #edf9fb);
  --v3-ink: var(--erp-text, #25364d);
  --v3-label: var(--erp-text-2, #475467);
  --v3-muted: var(--erp-muted, #8695a8);
  --v3-line: #e3e9f1;
  --v3-line-soft: #edf1f6;
  --v3-canvas: #f4f6fa;
  --v3-shadow: 0 2px 4px #22395603, 0 6px 20px #22395604;
  --v3-radius: 12px;
  --v2-bg: var(--v3-canvas);
  --v2-line: var(--v3-line);
  --v2-line-soft: var(--v3-line-soft);
  --v2-shadow: var(--v3-shadow);
  --v2-radius: var(--v3-radius);
  background: var(--v3-canvas) !important;
  color: var(--v3-ink) !important;
  -webkit-font-smoothing: antialiased;
}

/* Workspace chrome: a restrained frame around the business data. */
html body.erp-system-ui.erp-beauty-v3 .main {
  background: linear-gradient(180deg, color-mix(in srgb, var(--v3-accent) 3%, #f4f6fa), var(--v3-canvas) 340px) !important;
}
html body.erp-system-ui.erp-beauty-v3 aside.side {
  border-right-color: var(--v3-line) !important;
  box-shadow: 4px 0 24px #233a5704 !important;
}
html body.erp-system-ui.erp-beauty-v3 aside.side .erp-brand {
  background: linear-gradient(135deg, #fff 60%, color-mix(in srgb, var(--v3-accent) 4%, #fff)) !important;
}
html body.erp-system-ui.erp-beauty-v3 aside.side #erpMainNav button {
  border-radius: 8px !important;
  transition: background-color .15s, color .15s, border-color .15s;
}
html body.erp-system-ui.erp-beauty-v3[data-erp-theme] aside.side .nav button[data-page].active,
html body.erp-system-ui.erp-beauty-v3[data-erp-theme] aside.side .nav .nav-submenu button[data-page].active {
  box-shadow: inset 3px 0 0 var(--v3-accent) !important;
  font-weight: 600 !important;
}
html body.erp-system-ui.erp-beauty-v3 aside.side .sidebar-account {
  background: linear-gradient(120deg, #f8fafc, color-mix(in srgb, var(--v3-accent) 5%, #fff)) !important;
  border-radius: 10px !important;
}
html body.erp-system-ui.erp-beauty-v3 .main > .top {
  border-radius: var(--v3-radius) !important;
  border-color: #e6ebf2 !important;
  box-shadow: var(--v3-shadow) !important;
}
html body.erp-system-ui.erp-beauty-v3 :is(.erp-head-tool, .header-chip) {
  border-radius: 8px !important;
  transition: background-color .15s, border-color .15s;
}
html body.erp-system-ui.erp-beauty-v3 #erpBuildBadge {
  font-variant-numeric: tabular-nums;
  color: var(--v3-muted);
}

/* Titles share a baseline; color gives each business area its own visual cue. */
html body.erp-system-ui.erp-beauty-v3 .erp-v2-page-heading {
  gap: 13px;
  min-height: 50px;
  margin: 0 0 18px;
}
html body.erp-system-ui.erp-beauty-v3 :is(.erp-v2-page-heading, #dashboard .erp-overview-heading, #click-ads .mg-heading, #finance .mg-heading) h2 {
  font-size: 21px !important;
  font-weight: 650 !important;
  letter-spacing: .2px;
  color: var(--v3-ink) !important;
}
html body.erp-system-ui.erp-beauty-v3 :is(.erp-v2-page-heading, #dashboard .erp-overview-heading, #click-ads .mg-heading, #finance .mg-heading) p {
  color: var(--v3-muted) !important;
  line-height: 1.7;
}
html body.erp-system-ui.erp-beauty-v3 .erp-v2-icon {
  width: 40px;
  height: 40px;
  flex-basis: 40px;
  border-radius: 12px;
  background: linear-gradient(145deg, #fff, var(--v2-wash)) !important;
  box-shadow: 0 3px 8px color-mix(in srgb, var(--v2-icon) 7%, transparent);
}
html body.erp-system-ui.erp-beauty-v3 .erp-v2-icon > svg {
  width: 21px;
  height: 21px;
}
html body.erp-system-ui.erp-beauty-v3 .main :is(#dashboard, #click-ads, #finance, #returns, #shops) .erp-caption {
  padding-left: 54px !important;
  min-height: 42px !important;
}
html body.erp-system-ui.erp-beauty-v3 .main :is(#dashboard, #click-ads, #finance, #returns, #shops) .erp-caption > .erp-color-icon {
  width: 40px !important;
  min-width: 40px !important;
  max-width: 40px !important;
  height: 40px !important;
  min-height: 40px !important;
  border-radius: 12px !important;
  background: linear-gradient(145deg, #fff, var(--erp-icon-wash)) !important;
  box-shadow: 0 3px 8px color-mix(in srgb, var(--erp-icon-ink) 7%, transparent) !important;
}
html body.erp-system-ui.erp-beauty-v3 .erp-v2-inline-title {
  gap: 12px;
}
html body.erp-system-ui.erp-beauty-v3 :is(.mg-scope, .mg-board-tag, #dashboard .erp-overview-heading > span) {
  border: 1px solid var(--v3-line) !important;
  border-radius: 7px !important;
  background: #fff !important;
  padding: 6px 10px !important;
  color: var(--v3-muted) !important;
  font-size: 11px !important;
  font-weight: 400 !important;
}

/* Metric cards: readable amounts, consistent icon tiles, soft semantic accents. */
html body.erp-system-ui.erp-beauty-v3 :is(#dashboard .screen-metric.erp-metric-card, #click-ads .ca-ref-kpi.erp-metric-card) {
  border: 1px solid var(--v3-line) !important;
  border-radius: var(--v3-radius) !important;
  background: linear-gradient(125deg, #fff 42%, color-mix(in srgb, var(--erp-icon-wash) 65%, #fff)) !important;
  box-shadow: var(--v3-shadow) !important;
  min-height: 132px !important;
  padding: 18px !important;
  transition: border-color .16s, box-shadow .16s;
}
html body.erp-system-ui.erp-beauty-v3 :is(#dashboard .screen-metric.erp-metric-card, #click-ads .ca-ref-kpi.erp-metric-card):hover {
  border-color: var(--erp-icon-line) !important;
  box-shadow: 0 4px 18px #293d5b08 !important;
}
html body.erp-system-ui.erp-beauty-v3 .main :is(#dashboard, #click-ads, #finance, #returns) .erp-metric-label {
  color: var(--v3-label) !important;
  gap: 10px !important;
  font-size: 12px !important;
  font-weight: 500 !important;
}
html body.erp-system-ui.erp-beauty-v3 .main :is(#dashboard, #click-ads, #finance, #returns) .erp-metric-label > .erp-color-icon {
  border-radius: 10px !important;
  background: var(--erp-icon-wash) !important;
  border-color: var(--erp-icon-line) !important;
}
html body.erp-system-ui.erp-beauty-v3 :is(#dashboard .screen-metric-value, #click-ads .ca-ref-kpi > b) {
  font-size: 27px !important;
  letter-spacing: -.6px !important;
  font-weight: 650 !important;
  line-height: 1.3 !important;
  margin-top: 16px !important;
  font-variant-numeric: tabular-nums;
}
html body.erp-system-ui.erp-beauty-v3 :is(#dashboard .screen-metric-sub, #click-ads .ca-ref-kpi > small) {
  font-size: 11px !important;
  color: var(--v3-muted) !important;
  line-height: 1.6 !important;
}
html body.erp-system-ui.erp-beauty-v3 :is(#dashboard .screen-card-head, #finance .finance-v3278-board-head, #finance .finance-card-head) {
  padding: 17px 20px !important;
  background: linear-gradient(100deg, #fff, #fafbfd) !important;
  border-bottom-color: var(--v3-line-soft) !important;
}
html body.erp-system-ui.erp-beauty-v3 #finance .finance-v3278-board-head b {
  font-size: 15px !important;
  font-weight: 600 !important;
  color: var(--v3-ink) !important;
}
html body.erp-system-ui.erp-beauty-v3 #finance .finance-v3278-metrics > .erp-metric-card {
  background: linear-gradient(150deg, #fff 65%, color-mix(in srgb, var(--erp-icon-wash) 42%, #fff)) !important;
}
html body.erp-system-ui.erp-beauty-v3 #finance .finance-v3278-profit-cell {
  background: color-mix(in srgb, var(--v3-accent) 5%, #fff) !important;
}
html body.erp-system-ui.erp-beauty-v3 #finance .finance-v3278-metrics > div > b {
  font-variant-numeric: tabular-nums;
  letter-spacing: -.3px;
}
html body.erp-system-ui.erp-beauty-v3 #finance .mg-accounting-note {
  border: 1px solid var(--v3-line);
  background: #fff;
  border-radius: 9px;
  padding: 10px 14px;
  color: var(--v3-muted);
}
html body.erp-system-ui.erp-beauty-v3 #finance .mg-accounting-note summary {
  color: var(--v3-label);
  cursor: pointer;
}
html body.erp-system-ui.erp-beauty-v3 #returns .returns-kpi-v3300 {
  border: 1px solid var(--v3-line) !important;
  border-radius: var(--v3-radius) !important;
  background: linear-gradient(120deg, #fff 50%, color-mix(in srgb, var(--erp-icon-wash) 65%, #fff)) !important;
  box-shadow: var(--v3-shadow) !important;
}

/* Filters and data surfaces keep the existing column sizes and line wrapping. */
html body.erp-system-ui.erp-beauty-v3 :is(
  #products #pm-app .pm-shell, #procurement #procurement-app .pc-shell,
  #orders .order-shell, #license-codes #license-codes-app .lc-card,
  #license-codes #license-codes-app .lc-filter-card,
  #accounts #accountUserPanel .account-filterbar, #accounts #accountUserPanel .account-table-card-v3241
) {
  border-radius: var(--v3-radius) !important;
  border-color: var(--v3-line) !important;
  box-shadow: var(--v3-shadow) !important;
}
html body.erp-system-ui.erp-beauty-v3 :is(#dashboard .screen-toolbar, #click-ads .ca-ref-filter-card, #finance .finance-toolbar, #returns .returns-toolbar-v3300) {
  background: linear-gradient(120deg, #fff, #fcfdff) !important;
}
html body.erp-system-ui.erp-beauty-v3 #products #pm-app .pm-toolbar {
  padding-bottom: 16px;
  row-gap: 12px;
}
html body.erp-system-ui.erp-beauty-v3 #products #pm-app .pm-tabs {
  min-height: 46px;
  margin-bottom: 16px;
}
html body.erp-system-ui.erp-beauty-v3 #products #pm-app .pm-count {
  padding: 2px 6px;
  border-radius: 6px;
  font-size: 11px;
  font-variant-numeric: tabular-nums;
}
html body.erp-system-ui.erp-beauty-v3 #products #pm-app .pm-tab.active .pm-count {
  background: var(--v3-soft);
  color: var(--v3-deep);
}
html body.erp-system-ui.erp-beauty-v3 :is(#products #pm-app .pm-table-wrap, #procurement #procurement-app .pc-table-wrap) {
  border-radius: 9px;
  border-color: var(--v3-line);
}
html body.erp-system-ui.erp-beauty-v3 :is(
  #products #pm-app .pm-table, #procurement #procurement-app table,
  #orders .legacy-order-table, #shops .shop-table, #quality-config .quality-table,
  #click-ads .ca-ref-table, #returns .returns-table-v3300,
  #license-codes #license-codes-app .lc-table-wrap table,
  #accounts #accountUserPanel .commercial-account-table
) thead th {
  background: #f7f9fc !important;
  
  font-size: 12px !important;
  font-weight: 500 !important;
  border-bottom-color: var(--v3-line) !important;
}
html body.erp-system-ui.erp-beauty-v3 :is(
  #products #pm-app .pm-table, #procurement #procurement-app table,
  #orders .legacy-order-table, #shops .shop-table, #quality-config .quality-table,
  #click-ads .ca-ref-table, #returns .returns-table-v3300,
  #license-codes #license-codes-app .lc-table-wrap table,
  #accounts #accountUserPanel .commercial-account-table
) tbody td {
  border-bottom-color: var(--v3-line-soft) !important;
}
html body.erp-system-ui.erp-beauty-v3 :is(
  #products #pm-app .pm-table, #procurement #procurement-app table,
  #shops .shop-table, #quality-config .quality-table, #click-ads .ca-ref-table,
  #returns .returns-table-v3300, #license-codes #license-codes-app .lc-table-wrap table,
  #accounts #accountUserPanel .commercial-account-table
) tbody tr:hover > td {
  background: color-mix(in srgb, var(--v3-accent) 3%, #fff) !important;
}
html body.erp-system-ui.erp-beauty-v3 :is(#products #pm-app .pm-photo, #procurement #procurement-app .pc-product img) {
  border: 1px solid var(--v3-line-soft);
  border-radius: 8px;
  box-sizing: border-box;
  background: #fff;
}
html body.erp-system-ui.erp-beauty-v3 #procurement #procurement-app [data-pc-filters] {
  border-color: var(--v3-line-soft);
  background: #fafbfd;
  border-radius: 10px;
}
html body.erp-system-ui.erp-beauty-v3 #procurement #procurement-app .pc-platform {
  border: 1px solid color-mix(in srgb, currentColor 12%, transparent);
  border-radius: 6px;
  padding: 2px 8px;
}
html body.erp-system-ui.erp-beauty-v3 #procurement #procurement-app .pc-product-price {
  font-size: 17px;
  font-variant-numeric: tabular-nums;
}
html body.erp-system-ui.erp-beauty-v3 :is(#products #pm-app .pm-footer, #procurement #procurement-app .pc-shell > footer, #orders .order-pagination) {
  color: var(--v3-muted);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}
html body.erp-system-ui.erp-beauty-v3 #orders .toolbar {
  padding: 18px 20px !important;
}
html body.erp-system-ui.erp-beauty-v3 #orders .status-quick-row {
  background: #fcfdff !important;
  padding: 12px 20px !important;
}
html body.erp-system-ui.erp-beauty-v3 #orders .toolbar-title .toolbar-status {
  padding: 4px 9px;
  border-radius: 6px;
  margin-left: 2px;
}
html body.erp-system-ui.erp-beauty-v3 #shops .shop-manage-head {
  background: linear-gradient(120deg, #fff, #fafcfe) !important;
}
html body.erp-system-ui.erp-beauty-v3 #shops .shop-head-actions {
  row-gap: 9px !important;
}
html body.erp-system-ui.erp-beauty-v3 :is(.ss-batchbar, .ss-schedule-status) {
  border-radius: 9px;
  border-color: color-mix(in srgb, var(--v3-accent) 20%, var(--v3-line));
}
html body.erp-system-ui.erp-beauty-v3 #click-ads :is(.ca-ref-chart-title, .ca-conv-card-head, .ca-history-table-title) {
  background: linear-gradient(100deg, #fff, #fafbfd) !important;
}
html body.erp-system-ui.erp-beauty-v3 #click-ads .ca-conv-kpis {
  padding-top: 18px !important;
  padding-bottom: 18px !important;
}
html body.erp-system-ui.erp-beauty-v3 #click-ads .ca-status {
  border-radius: 6px !important;
}

/* Calculator and authorization: compact work panels with consistent headings. */
html body.erp-system-ui.erp-beauty-v3 #profit-calculator :is(.profit-tool-card-v3249, .profit-table-card-v3249) {
  border-radius: var(--v3-radius) !important;
  border-color: var(--v3-line) !important;
  box-shadow: var(--v3-shadow) !important;
}
html body.erp-system-ui.erp-beauty-v3 #profit-calculator .profit-tool-card-v3249 {
  background: linear-gradient(145deg, #fff 65%, #f8fafd) !important;
}
html body.erp-system-ui.erp-beauty-v3 #profit-calculator .profit-tool-icon-v3249 {
  border-radius: 11px !important;
  width: 40px;
  height: 40px;
  flex-basis: 40px;
}
html body.erp-system-ui.erp-beauty-v3 #profit-calculator .profit-detail-head-v3249 {
  padding: 17px 20px !important;
  background: linear-gradient(100deg, #fff, #fafbfd) !important;
  border-bottom-color: var(--v3-line-soft) !important;
}
html body.erp-system-ui.erp-beauty-v3 #profit-calculator .profit-segment-v3249 {
  border: 1px solid var(--v3-line) !important;
  border-radius: 9px !important;
  background: #f5f7fb !important;
  padding: 3px !important;
}
html body.erp-system-ui.erp-beauty-v3 #profit-calculator .profit-segment-v3249 button {
  border-radius: 6px !important;
}
html body.erp-system-ui.erp-beauty-v3 #profit-calculator .profit-table-foot-v3249 {
  color: var(--v3-muted) !important;
  background: #fafbfd !important;
}
html body.erp-system-ui.erp-beauty-v3 #license-codes #license-codes-app :is(.lc-simple-toolbar, .lc-pagination) {
  background: #fcfdff;
}
html body.erp-system-ui.erp-beauty-v3 #license-codes #license-codes-app .lc-tabs {
  padding: 3px;
  gap: 3px;
  border: 1px solid var(--v3-line);
  border-radius: 9px;
  background: #f4f7fb;
}
html body.erp-system-ui.erp-beauty-v3 #license-codes #license-codes-app .lc-tabs button {
  border-radius: 6px;
  padding: 7px 12px;
  border-bottom: 0;
}
html body.erp-system-ui.erp-beauty-v3 #license-codes #license-codes-app .lc-tabs button.active {
  background: #fff;
  box-shadow: 0 1px 4px #2339500c;
  color: var(--v3-deep);
}
html body.erp-system-ui.erp-beauty-v3 #license-codes #license-codes-app .lc-table-wrap code {
  border-radius: 6px;
  background: #f6f8fc;
  color: var(--v3-label);
  line-height: 1.7;
}
html body.erp-system-ui.erp-beauty-v3 #accounts #accountUserPanel .account-simple-caption {
  font-size: 13px !important;
  font-weight: 500 !important;
  color: var(--v3-label) !important;
}
html body.erp-system-ui.erp-beauty-v3 #logs .log {
  padding: 16px 20px;
  border-bottom: 1px solid var(--v3-line-soft);
  line-height: 1.8;
}

html body.erp-system-ui.erp-beauty-v3 #pm-editor .pm-editor-head {
  background: linear-gradient(100deg, #fff, #fafbfd) !important;
}
html body.erp-system-ui.erp-beauty-v3 #pm-editor .pm-editor-scroll {
  background: var(--v3-canvas) !important;
}
html body.erp-system-ui.erp-beauty-v3 #pm-editor .pm-editor-section {
  border-radius: var(--v3-radius) !important;
  border-color: var(--v3-line) !important;
}
html body.erp-system-ui.erp-beauty-v3 #pm-editor .pm-editor-section > h2 {
  padding-bottom: 15px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--v3-line-soft);
  font-size: 15px;
  font-weight: 600;
  color: var(--v3-ink);
}
html body.erp-system-ui.erp-beauty-v3 #pm-editor .pm-anchor-nav {
  border-radius: 10px !important;
  padding: 6px;
}
html body.erp-system-ui.erp-beauty-v3 #pm-editor .pm-anchor-nav button {
  border-radius: 6px;
}
html body.erp-system-ui.erp-beauty-v3 #pm-editor .pm-anchor-nav button.active {
  background: var(--v3-soft);
  color: var(--v3-deep);
}
html body.erp-system-ui.erp-beauty-v3 .pm-stock-intro {
  padding: 14px;
  border: 1px solid var(--v3-line-soft);
  border-radius: 10px;
  background: linear-gradient(110deg, #fafbfd, #fff);
}
html body.erp-system-ui.erp-beauty-v3 .pm-stock-metrics > div {
  border-color: var(--v3-line);
  border-radius: 9px;
  background: #fafbfd;
}
html body.erp-system-ui.erp-beauty-v3 :is(.pm-rich-card, .rc-dialog .rc-property-heading) {
  border-color: var(--v3-line);
}
html body.erp-system-ui.erp-beauty-v3 .rc-dialog .rc-workspace {
  background: #f2f5f9;
}
html body.erp-system-ui.erp-beauty-v3 .rc-dialog .rc-preview-toolbar {
  border-bottom-color: var(--v3-line);
  background: #fff;
}
html body.erp-system-ui.erp-beauty-v3 .lc-dialog[data-lc-view="issue"] .lc-issue-section {
  border-radius: var(--v3-radius);
  border-color: var(--v3-line);
  background: linear-gradient(140deg, #fff, #fcfdff);
}
html body.erp-system-ui.erp-beauty-v3 .lc-dialog[data-lc-view="issue"] .lc-issue-emblem {
  border: 1px solid color-mix(in srgb, var(--v3-accent) 18%, #fff);
  background: linear-gradient(140deg, #fff, var(--v3-soft));
}
html body.erp-system-ui.erp-beauty-v3 .lc-validity > div {
  border-radius: 9px;
  padding: 14px;
}
html body.erp-system-ui.erp-beauty-v3 .profit-config-head-v3249 {
  border-bottom: 1px solid var(--v3-line-soft);
  background: linear-gradient(100deg, #fff, #fafbfd);
}
html body.erp-system-ui.erp-beauty-v3 .profit-config-section-v3249 {
  border-radius: 10px !important;
  border-color: var(--v3-line) !important;
}

/* Login keeps the session-first transition and the original register/login flow. */
html body.erp-system-ui.erp-beauty-v3 .auth-gate {
  background: var(--v3-canvas) !important;
}
html body.erp-system-ui.erp-beauty-v3 .auth-shell {
  background: radial-gradient(ellipse at 12% 12%, color-mix(in srgb, var(--v3-accent) 10%, #f7f9fc), transparent 55%), #f7f9fc !important;
}
html body.erp-system-ui.erp-beauty-v3 .auth-badge {
  border: 1px solid color-mix(in srgb, var(--v3-accent) 18%, #fff) !important;
  border-radius: 7px !important;
  background: #ffffffb3 !important;
  color: var(--v3-deep) !important;
  letter-spacing: 1.4px !important;
  padding: 8px 12px !important;
  font-size: 11px !important;
}
html body.erp-system-ui.erp-beauty-v3 .auth-stat-card {
  border-radius: 14px !important;
  border-color: #fff !important;
  background: #ffffffd9 !important;
  box-shadow: 0 6px 22px #25416605 !important;
}
html body.erp-system-ui.erp-beauty-v3 .auth-card {
  border-radius: 18px !important;
  border-color: #e6ebf2 !important;
  padding: 36px !important;
  box-shadow: 0 24px 70px #2745630b, 0 3px 14px #27456304 !important;
}
html body.erp-system-ui.erp-beauty-v3 .auth-title {
  margin-top: 18px;
  font-size: 27px !important;
}
html body.erp-system-ui.erp-beauty-v3 .auth-field input {
  background: #fafbfd !important;
  height: 46px !important;
  border-radius: 9px !important;
}
html body.erp-system-ui.erp-beauty-v3 .auth-field input:focus {
  background: #fff !important;
}
html body.erp-system-ui.erp-beauty-v3 .auth-submit {
  height: 46px !important;
  border-radius: 9px !important;
  box-shadow: 0 4px 12px color-mix(in srgb, var(--v3-accent) 16%, transparent) !important;
}
html body.erp-system-ui.erp-beauty-v3 :is(.erp-theme-section, .erp-theme-option) {
  border-radius: 10px !important;
}

/* Responsive spacing changes no visibility rules or business conditions. */
@media (max-width: 1380px) {
  html body.erp-system-ui.erp-beauty-v3 :is(#dashboard .screen-metric.erp-metric-card, #click-ads .ca-ref-kpi.erp-metric-card) {
    padding: 15px !important;
    min-height: 124px !important;
  }
  html body.erp-system-ui.erp-beauty-v3 :is(#dashboard .screen-metric-value, #click-ads .ca-ref-kpi > b) {
    font-size: 25px !important;
  }
}
@media (max-width: 760px) {
  html body.erp-system-ui.erp-beauty-v3 .erp-v2-page-heading {
    margin-bottom: 14px;
  }
  html body.erp-system-ui.erp-beauty-v3 #license-codes #license-codes-app .lc-simple-toolbar {
    flex-wrap: wrap;
  }
  html body.erp-system-ui.erp-beauty-v3 :is(#dashboard .screen-metric.erp-metric-card, #click-ads .ca-ref-kpi.erp-metric-card) {
    padding: 12px !important;
  }
  html body.erp-system-ui.erp-beauty-v3 #orders .toolbar {
    padding: 14px !important;
  }
  html body.erp-system-ui.erp-beauty-v3 .auth-card {
    padding: 26px 22px !important;
  }
}
@media (prefers-reduced-motion: reduce) {
  html body.erp-system-ui.erp-beauty-v3 :is(.page, .modal, .pm-portal, .lc-dialog, .pc-dialog, aside.side) :is(button, .erp-metric-card) {
    transition: none !important;
  }
}

/* Semantic action icons. SVG masks inherit state colors and never replace labels. */
html body.erp-system-ui.erp-beauty-v3 {
  --v3-icon-refresh: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M20%207a9%209%200%201%200%201%208M20%203v5h-5%22%2F%3E%3C%2Fsvg%3E");
  --v3-icon-sync: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M20%207a9%209%200%200%200-15-2L3%207m0-4v4h4M4%2017a9%209%200%200%200%2015%202l2-2m0%204v-4h-4%22%2F%3E%3C%2Fsvg%3E");
  --v3-icon-search: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2210.5%22%20cy%3D%2210.5%22%20r%3D%226.5%22%2F%3E%3Cpath%20d%3D%22m16%2016%204.5%204.5%22%2F%3E%3C%2Fsvg%3E");
  --v3-icon-download: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M12%203v12m-4-4%204%204%204-4M4%2016v5h16v-5%22%2F%3E%3C%2Fsvg%3E");
  --v3-icon-upload: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M12%2016V3m-4%204%204-4%204%204M4%2016v5h16v-5%22%2F%3E%3C%2Fsvg%3E");
  --v3-icon-reset: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M3%2011a9%209%200%201%201%202%207M3%204v7h7%22%2F%3E%3C%2Fsvg%3E");
  --v3-icon-plus: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M12%205v14M5%2012h14%22%2F%3E%3C%2Fsvg%3E");
  --v3-icon-save: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M19%2021H5a2%202%200%200%201-2-2V5a2%202%200%200%201%202-2h12l4%204v12a2%202%200%200%201-2%202Z%22%2F%3E%3Cpath%20d%3D%22M7%203v6h10V3M7%2021v-8h10v8%22%2F%3E%3C%2Fsvg%3E");
  --v3-icon-settings: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M4%207h4m4%200h8M4%2017h8m4%200h4%22%2F%3E%3Ccircle%20cx%3D%2210%22%20cy%3D%227%22%20r%3D%222%22%2F%3E%3Ccircle%20cx%3D%2214%22%20cy%3D%2217%22%20r%3D%222%22%2F%3E%3C%2Fsvg%3E");
  --v3-icon-calendar: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%223%22%20y%3D%225%22%20width%3D%2218%22%20height%3D%2216%22%20rx%3D%222%22%2F%3E%3Cpath%20d%3D%22M7%203v4m10-4v4M3%2011h18m-14%204h3m4%200h3%22%2F%3E%3C%2Fsvg%3E");
  --v3-icon-key: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%228%22%20cy%3D%229%22%20r%3D%225%22%2F%3E%3Cpath%20d%3D%22m12%2013%208%208h2v-4l-2-2h-3l-2-2M7%208h.01%22%2F%3E%3C%2Fsvg%3E");
  --v3-icon-package: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m12%203%209%205-9%205-9-5%209-5ZM3%208v9l9%205%209-5V8M12%2013v9m-4.5-19%209%205%22%2F%3E%3C%2Fsvg%3E");
  --v3-icon-users: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%229%22%20cy%3D%228%22%20r%3D%223%22%2F%3E%3Cpath%20d%3D%22M3%2021v-2a6%206%200%200%201%2012%200v2M16%205a3%203%200%200%201%200%206m2%204a5%205%200%200%201%203%204v2%22%2F%3E%3C%2Fsvg%3E");
  --v3-icon-store: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M4%2011v9h16v-9M3%208l2-5h14l2%205M3%208v1a3%203%200%200%200%206%200V8m0%201a3%203%200%200%200%206%200V8m0%201a3%203%200%200%200%206%200V8M9%2020v-5h6v5%22%2F%3E%3C%2Fsvg%3E");
  --v3-icon-message: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M21%2011a8%208%200%200%201-8%208H7l-5%203%201.5-6A8%208%200%201%201%2021%2011Z%22%2F%3E%3Cpath%20d%3D%22M7%209h10M7%2013h7%22%2F%3E%3C%2Fsvg%3E");
  --v3-icon-shield: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m12%203%208%203v6c0%205-8%209-8%209s-8-4-8-9V6l8-3Z%22%2F%3E%3Cpath%20d%3D%22m8%2012%203%203%205-6%22%2F%3E%3C%2Fsvg%3E");
  --v3-icon-log: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%224%22%20y%3D%223%22%20width%3D%2216%22%20height%3D%2218%22%20rx%3D%222%22%2F%3E%3Cpath%20d%3D%22M8%208h8M8%2012h8M8%2016h5%22%2F%3E%3C%2Fsvg%3E");
  --v3-icon-chart: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M4%203v17h17M8%2015l4-4%204%202%205-8%22%2F%3E%3C%2Fsvg%3E");
  --v3-icon-edit: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m15%204%205%205M4%2020l5-1L21%207l-4-4L5%2015l-1%205Z%22%2F%3E%3C%2Fsvg%3E");
  --v3-icon-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%223%22%20y%3D%223%22%20width%3D%2218%22%20height%3D%2218%22%20rx%3D%222%22%2F%3E%3Ccircle%20cx%3D%228%22%20cy%3D%228%22%20r%3D%221.5%22%2F%3E%3Cpath%20d%3D%22m21%2015-6-6L3%2021%22%2F%3E%3C%2Fsvg%3E");
  --v3-icon-layers: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m12%203%2010%206-10%206L2%209l10-6ZM2%2013l10%206%2010-6M2%2017l10%206%2010-6%22%2F%3E%3C%2Fsvg%3E");
  --v3-icon-truck: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M3%206h11v11H3V6Zm11%205h4l3%204v2h-7%22%2F%3E%3Ccircle%20cx%3D%227%22%20cy%3D%2218%22%20r%3D%222%22%2F%3E%3Ccircle%20cx%3D%2217%22%20cy%3D%2218%22%20r%3D%222%22%2F%3E%3C%2Fsvg%3E");
  --v3-icon-plane: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m22%202-7%2020-4-9-9-4L22%202ZM11%2013l5-5%22%2F%3E%3C%2Fsvg%3E");
  --v3-icon-trash: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M3%206h18M9%206V3h6v3M5%206l1%2015h12l1-15M10%2010v7m4-7v7%22%2F%3E%3C%2Fsvg%3E");
  --v3-icon-login: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M14%203h6v18h-6M3%2012h12m-4-4%204%204-4%204%22%2F%3E%3C%2Fsvg%3E");
}
html body.erp-system-ui.erp-beauty-v3 :is(
  #dashboard [onclick="loadStats()"],
  #shops [onclick="loadShops()"],
  #finance #financeLoadBtn,
  #logs [onclick="loadLogs()"],
  #accounts [onclick="loadAccounts()"],
  #returnsRefreshBtn,
  #procurement [data-pc-refresh],
  .pm-dialog [data-action="retry-editor"],
  #syncAllBtn,
  #pullNewOrdersBtn,
  #clickAdsRefreshBtn,
  #financeRebuildBtn,
  #orders [onclick="loadOrders()"],
  #procurement [data-pc-filters] button[type="submit"],
  #license-codes .lc-filter button[type="submit"],
  #accounts [onclick="renderCommercialUsers()"],
  #click-ads .ca-ref-btn.primary,
  #shops [onclick="downloadShopImportTemplate()"],
  #procurement [data-pc-export],
  #license-codes [data-lc-csv],
  #click-ads [onclick="clickAdsExportCsv()"],
  #shopBatchImportBtn,
  #procurement [data-pc-import],
  #orders [onclick="resetOrderFiltersToLatest()"],
  #procurement [data-pc-reset],
  #license-codes [data-lc-reset],
  #accounts [onclick="resetAccountUserFiltersV3241()"],
  #click-ads [onclick="clickAdsResetReferenceFilters()"],
  [onclick="resetProfitConfigV3249()"],
  #profit-calculator [onclick="addProfitRowsV3249()"],
  #qualityCreateBtn,
  .pc-dialog footer .pc-primary[type="submit"],
  #profit-calculator [onclick="saveProfitPrefixV3249()"],
  [onclick="saveProfitConfigV3249()"],
  #createAccountBtn,
  #userManageForm button[type="submit"],
  #profit-calculator [onclick="openProfitConfigV3249()"],
  #license-codes [data-lc-service],
  #shopSyncScheduleBtn,
  #products [data-action="sync-schedule"],
  #license-codes [data-lc-new],
  #erpLicenseButton,
  #license-codes [data-lc-client],
  #createAccountOpenBtn,
  #dashboard [onclick="showDashByBuyer()"],
  #shops .shop-add-btn,
  #dashboard [onclick="showDashByShop()"],
  #license-codes [data-lc-contact],
  #click-ads .ca-api-manage-open,
  #procurement [data-pc-logs],
  #profit-calculator .profit-segment-v3249 [data-mode="land"],
  #profit-calculator .profit-segment-v3249 [data-mode="landAir"],
  #profit-calculator .profit-segment-v3249 [data-mode="air"],
  #profit-calculator [onclick="clearProfitRowsV3249()"],
  #authSubmit
):not(:has(svg)) {
  column-gap: 0;
}
html body.erp-system-ui.erp-beauty-v3 :is(
  #dashboard [onclick="loadStats()"],
  #shops [onclick="loadShops()"],
  #finance #financeLoadBtn,
  #logs [onclick="loadLogs()"],
  #accounts [onclick="loadAccounts()"],
  #returnsRefreshBtn,
  #procurement [data-pc-refresh],
  .pm-dialog [data-action="retry-editor"],
  #syncAllBtn,
  #pullNewOrdersBtn,
  #clickAdsRefreshBtn,
  #financeRebuildBtn,
  #orders [onclick="loadOrders()"],
  #procurement [data-pc-filters] button[type="submit"],
  #license-codes .lc-filter button[type="submit"],
  #accounts [onclick="renderCommercialUsers()"],
  #click-ads .ca-ref-btn.primary,
  #shops [onclick="downloadShopImportTemplate()"],
  #procurement [data-pc-export],
  #license-codes [data-lc-csv],
  #click-ads [onclick="clickAdsExportCsv()"],
  #shopBatchImportBtn,
  #procurement [data-pc-import],
  #orders [onclick="resetOrderFiltersToLatest()"],
  #procurement [data-pc-reset],
  #license-codes [data-lc-reset],
  #accounts [onclick="resetAccountUserFiltersV3241()"],
  #click-ads [onclick="clickAdsResetReferenceFilters()"],
  [onclick="resetProfitConfigV3249()"],
  #profit-calculator [onclick="addProfitRowsV3249()"],
  #qualityCreateBtn,
  .pc-dialog footer .pc-primary[type="submit"],
  #profit-calculator [onclick="saveProfitPrefixV3249()"],
  [onclick="saveProfitConfigV3249()"],
  #createAccountBtn,
  #userManageForm button[type="submit"],
  #profit-calculator [onclick="openProfitConfigV3249()"],
  #license-codes [data-lc-service],
  #shopSyncScheduleBtn,
  #products [data-action="sync-schedule"],
  #license-codes [data-lc-new],
  #erpLicenseButton,
  #license-codes [data-lc-client],
  #createAccountOpenBtn,
  #dashboard [onclick="showDashByBuyer()"],
  #shops .shop-add-btn,
  #dashboard [onclick="showDashByShop()"],
  #license-codes [data-lc-contact],
  #click-ads .ca-api-manage-open,
  #procurement [data-pc-logs],
  #profit-calculator .profit-segment-v3249 [data-mode="land"],
  #profit-calculator .profit-segment-v3249 [data-mode="landAir"],
  #profit-calculator .profit-segment-v3249 [data-mode="air"],
  #profit-calculator [onclick="clearProfitRowsV3249()"],
  #authSubmit
):not(:has(svg))::before {
  content: "";
  display: inline-block;
  flex: 0 0 15px;
  width: 15px;
  height: 15px;
  margin: 0 6px 0 0;
  padding: 0;
  vertical-align: -3px;
  background: var(--v3-action-ink, currentColor);
  -webkit-mask: var(--v3-action-icon) center / contain no-repeat;
  mask: var(--v3-action-icon) center / contain no-repeat;
  pointer-events: none;
}
html body.erp-system-ui.erp-beauty-v3 :is(#dashboard [onclick="loadStats()"], #shops [onclick="loadShops()"], #finance #financeLoadBtn, #logs [onclick="loadLogs()"], #accounts [onclick="loadAccounts()"], #returnsRefreshBtn, #procurement [data-pc-refresh], .pm-dialog [data-action="retry-editor"]) { --v3-action-icon: var(--v3-icon-refresh); --v3-action-ink: #168fa9; }
html body.erp-system-ui.erp-beauty-v3 :is(#syncAllBtn, #pullNewOrdersBtn, #clickAdsRefreshBtn, #financeRebuildBtn) { --v3-action-icon: var(--v3-icon-sync); --v3-action-ink: #168fa9; }
html body.erp-system-ui.erp-beauty-v3 :is(#orders [onclick="loadOrders()"], #procurement [data-pc-filters] button[type="submit"], #license-codes .lc-filter button[type="submit"], #accounts [onclick="renderCommercialUsers()"], #click-ads .ca-ref-btn.primary) { --v3-action-icon: var(--v3-icon-search); --v3-action-ink: currentColor; }
html body.erp-system-ui.erp-beauty-v3 :is(#shops [onclick="downloadShopImportTemplate()"], #procurement [data-pc-export], #license-codes [data-lc-csv], #click-ads [onclick="clickAdsExportCsv()"]) { --v3-action-icon: var(--v3-icon-download); --v3-action-ink: #24966d; }
html body.erp-system-ui.erp-beauty-v3 :is(#shopBatchImportBtn, #procurement [data-pc-import]) { --v3-action-icon: var(--v3-icon-upload); --v3-action-ink: #7e62c5; }
html body.erp-system-ui.erp-beauty-v3 :is(#orders [onclick="resetOrderFiltersToLatest()"], #procurement [data-pc-reset], #license-codes [data-lc-reset], #accounts [onclick="resetAccountUserFiltersV3241()"], #click-ads [onclick="clickAdsResetReferenceFilters()"], [onclick="resetProfitConfigV3249()"]) { --v3-action-icon: var(--v3-icon-reset); --v3-action-ink: #8795a8; }
html body.erp-system-ui.erp-beauty-v3 :is(#profit-calculator [onclick="addProfitRowsV3249()"], #qualityCreateBtn) { --v3-action-icon: var(--v3-icon-plus); --v3-action-ink: currentColor; }
html body.erp-system-ui.erp-beauty-v3 :is(.pc-dialog footer .pc-primary[type="submit"], #profit-calculator [onclick="saveProfitPrefixV3249()"], [onclick="saveProfitConfigV3249()"], #createAccountBtn, #userManageForm button[type="submit"]) { --v3-action-icon: var(--v3-icon-save); --v3-action-ink: currentColor; }
html body.erp-system-ui.erp-beauty-v3 :is(#profit-calculator [onclick="openProfitConfigV3249()"], #license-codes [data-lc-service]) { --v3-action-icon: var(--v3-icon-settings); --v3-action-ink: #7e62c5; }
html body.erp-system-ui.erp-beauty-v3 :is(#shopSyncScheduleBtn, #products [data-action="sync-schedule"]) { --v3-action-icon: var(--v3-icon-calendar); --v3-action-ink: #7e62c5; }
html body.erp-system-ui.erp-beauty-v3 :is(#license-codes [data-lc-new], #erpLicenseButton) { --v3-action-icon: var(--v3-icon-key); --v3-action-ink: currentColor; }
html body.erp-system-ui.erp-beauty-v3 :is(#license-codes [data-lc-client]) { --v3-action-icon: var(--v3-icon-package); --v3-action-ink: #427ce6; }
html body.erp-system-ui.erp-beauty-v3 :is(#createAccountOpenBtn, #dashboard [onclick="showDashByBuyer()"]) { --v3-action-icon: var(--v3-icon-users); --v3-action-ink: #427ce6; }
html body.erp-system-ui.erp-beauty-v3 :is(#shops .shop-add-btn, #dashboard [onclick="showDashByShop()"]) { --v3-action-icon: var(--v3-icon-store); --v3-action-ink: #168fa9; }
html body.erp-system-ui.erp-beauty-v3 :is(#license-codes [data-lc-contact]) { --v3-action-icon: var(--v3-icon-message); --v3-action-ink: #24966d; }
html body.erp-system-ui.erp-beauty-v3 :is(#click-ads .ca-api-manage-open) { --v3-action-icon: var(--v3-icon-shield); --v3-action-ink: #7e62c5; }
html body.erp-system-ui.erp-beauty-v3 :is(#procurement [data-pc-logs]) { --v3-action-icon: var(--v3-icon-log); --v3-action-ink: #c48b32; }
html body.erp-system-ui.erp-beauty-v3 :is(#profit-calculator .profit-segment-v3249 [data-mode="land"], #profit-calculator .profit-segment-v3249 [data-mode="landAir"]) { --v3-action-icon: var(--v3-icon-truck); --v3-action-ink: currentColor; }
html body.erp-system-ui.erp-beauty-v3 :is(#profit-calculator .profit-segment-v3249 [data-mode="air"]) { --v3-action-icon: var(--v3-icon-plane); --v3-action-ink: currentColor; }
html body.erp-system-ui.erp-beauty-v3 :is(#profit-calculator [onclick="clearProfitRowsV3249()"]) { --v3-action-icon: var(--v3-icon-trash); --v3-action-ink: #c96675; }
html body.erp-system-ui.erp-beauty-v3 :is(#authSubmit) { --v3-action-icon: var(--v3-icon-login); --v3-action-ink: currentColor; }
html body.erp-system-ui.erp-beauty-v3 :is(
  #dashboard [onclick="loadStats()"],
  #shops [onclick="loadShops()"],
  #finance #financeLoadBtn,
  #logs [onclick="loadLogs()"],
  #accounts [onclick="loadAccounts()"],
  #returnsRefreshBtn,
  #procurement [data-pc-refresh],
  .pm-dialog [data-action="retry-editor"],
  #syncAllBtn,
  #pullNewOrdersBtn,
  #clickAdsRefreshBtn,
  #financeRebuildBtn,
  #orders [onclick="loadOrders()"],
  #procurement [data-pc-filters] button[type="submit"],
  #license-codes .lc-filter button[type="submit"],
  #accounts [onclick="renderCommercialUsers()"],
  #click-ads .ca-ref-btn.primary,
  #shops [onclick="downloadShopImportTemplate()"],
  #procurement [data-pc-export],
  #license-codes [data-lc-csv],
  #click-ads [onclick="clickAdsExportCsv()"],
  #shopBatchImportBtn,
  #procurement [data-pc-import],
  #orders [onclick="resetOrderFiltersToLatest()"],
  #procurement [data-pc-reset],
  #license-codes [data-lc-reset],
  #accounts [onclick="resetAccountUserFiltersV3241()"],
  #click-ads [onclick="clickAdsResetReferenceFilters()"],
  [onclick="resetProfitConfigV3249()"],
  #profit-calculator [onclick="addProfitRowsV3249()"],
  #qualityCreateBtn,
  .pc-dialog footer .pc-primary[type="submit"],
  #profit-calculator [onclick="saveProfitPrefixV3249()"],
  [onclick="saveProfitConfigV3249()"],
  #createAccountBtn,
  #userManageForm button[type="submit"],
  #profit-calculator [onclick="openProfitConfigV3249()"],
  #license-codes [data-lc-service],
  #shopSyncScheduleBtn,
  #products [data-action="sync-schedule"],
  #license-codes [data-lc-new],
  #erpLicenseButton,
  #license-codes [data-lc-client],
  #createAccountOpenBtn,
  #dashboard [onclick="showDashByBuyer()"],
  #shops .shop-add-btn,
  #dashboard [onclick="showDashByShop()"],
  #license-codes [data-lc-contact],
  #click-ads .ca-api-manage-open,
  #procurement [data-pc-logs],
  #profit-calculator .profit-segment-v3249 [data-mode="land"],
  #profit-calculator .profit-segment-v3249 [data-mode="landAir"],
  #profit-calculator .profit-segment-v3249 [data-mode="air"],
  #profit-calculator [onclick="clearProfitRowsV3249()"],
  #authSubmit
):not(:has(svg)):is(.primary, .pm-primary, .pc-primary, .lc-primary, .profit-primary-btn-v3249, .dash-system-btn-primary, .order-toolbar-btn-primary, .returns-refresh-v3300, .auth-submit, .active)::before {
  background: currentColor;
}
html body.erp-system-ui.erp-beauty-v3 #procurement #procurement-app .pc-toolbar button::before {
  margin-right: 0;
  background: var(--v3-action-ink, currentColor);
  -webkit-mask: var(--v3-action-icon) center / contain no-repeat;
  mask: var(--v3-action-icon) center / contain no-repeat;
}
html body.erp-system-ui.erp-beauty-v3 #procurement #procurement-app .pc-toolbar button { gap: 7px; }

/* Section icons are decorative and do not alter accessible names. */
html body.erp-system-ui.erp-beauty-v3 :is(#pm-editor #pm-section-main > h2, #pm-editor #pm-section-attrs > h2, #pm-editor #pm-section-rich > h2, #pm-editor #pm-section-variant > h2, #click-ads .ca-ref-chart-title > span:first-child, #click-ads .ca-conv-card-head b, #click-ads .ca-history-table-head-left > b, .pc-dialog > header b, #createAccountMask .modal-head > b, #userManageMask .modal-head > b)::before {
  content: "";
  display: inline-block;
  width: 18px;
  height: 18px;
  margin-right: 8px;
  vertical-align: -3px;
  background: var(--v3-heading-ink);
  -webkit-mask: var(--v3-heading-icon) center / contain no-repeat;
  mask: var(--v3-heading-icon) center / contain no-repeat;
  pointer-events: none;
}
html body.erp-system-ui.erp-beauty-v3 #pm-editor #pm-section-main > h2 { --v3-heading-icon: var(--v3-icon-log); --v3-heading-ink: #427ce6; }
html body.erp-system-ui.erp-beauty-v3 #pm-editor #pm-section-attrs > h2 { --v3-heading-icon: var(--v3-icon-settings); --v3-heading-ink: #168fa9; }
html body.erp-system-ui.erp-beauty-v3 #pm-editor #pm-section-rich > h2 { --v3-heading-icon: var(--v3-icon-image); --v3-heading-ink: #8660cf; }
html body.erp-system-ui.erp-beauty-v3 #pm-editor #pm-section-variant > h2 { --v3-heading-icon: var(--v3-icon-layers); --v3-heading-ink: #c88b2c; }
html body.erp-system-ui.erp-beauty-v3 #click-ads .ca-ref-chart-title > span:first-child { --v3-heading-icon: var(--v3-icon-chart); --v3-heading-ink: #427ce6; }
html body.erp-system-ui.erp-beauty-v3 #click-ads .ca-conv-card-head b { --v3-heading-icon: var(--v3-icon-layers); --v3-heading-ink: #8660cf; }
html body.erp-system-ui.erp-beauty-v3 #click-ads .ca-history-table-head-left > b { --v3-heading-icon: var(--v3-icon-log); --v3-heading-ink: #168fa9; }
html body.erp-system-ui.erp-beauty-v3 .pc-dialog > header b { --v3-heading-icon: var(--v3-icon-edit); --v3-heading-ink: #c88b2c; }
html body.erp-system-ui.erp-beauty-v3 #createAccountMask .modal-head > b { --v3-heading-icon: var(--v3-icon-users); --v3-heading-ink: #427ce6; }
html body.erp-system-ui.erp-beauty-v3 #userManageMask .modal-head > b { --v3-heading-icon: var(--v3-icon-users); --v3-heading-ink: #427ce6; }

/* v4.7.6 商品编辑页：减少桌面端左右留白，扩大表单有效宽度 */
@media (min-width:1101px){
  html body.erp-system-ui.erp-beauty-v3 #pm-editor .pm-editor-scroll{
    padding-left:24px !important;
    padding-right:154px !important;
  }
  html body.erp-system-ui.erp-beauty-v3 #pm-editor .pm-editor-content{
    width:100% !important;
    max-width:none !important;
    margin:0 !important;
  }
  html body.erp-system-ui.erp-beauty-v3 #pm-editor .pm-editor-section{
    width:100% !important;
    max-width:none !important;
  }
  html body.erp-system-ui.erp-beauty-v3 #pm-editor .pm-form-row{
    width:100% !important;
    max-width:none !important;
  }
  html body.erp-system-ui.erp-beauty-v3 #pm-editor .pm-anchor-nav{
    right:18px !important;
    width:120px !important;
  }
}
