@layer erpComponents {
  html body.erp-system-ui :is(#refine-collect,#refine-records,#refine-stats,#refine-tasks) {
    min-width:0;
    color:var(--ui-text);
    font-size:12px;
  }
  html body.erp-system-ui .ar-shell {
    width:100%;
    min-height:calc(100vh - 88px);
    padding:0 0 28px;
  }
  html body.erp-system-ui .ar-heading {
    display:flex;
    align-items:center;
    gap:10px;
    min-height:36px;
    margin:0 0 16px;
  }
  html body.erp-system-ui .ar-heading-icon {
    display:grid;
    place-items:center;
    flex:0 0 36px;
    width:36px;
    height:36px;
    border-radius:10px;
    background:var(--ui-accent-soft);
    color:var(--ui-accent);
  }
  html body.erp-system-ui .ar-heading-icon svg,
  html body.erp-system-ui .ar-stat-icon svg,
  html body.erp-system-ui .ar-btn svg,
  html body.erp-system-ui .ar-icon-action svg,
  html body.erp-system-ui .ar-empty svg {
    fill:none;
    stroke:currentColor;
    stroke-width:1.7;
    stroke-linecap:round;
    stroke-linejoin:round;
  }
  html body.erp-system-ui .ar-heading-icon svg { width:23px; height:23px; }
  html body.erp-system-ui .ar-heading-copy { min-width:0; }
  html body.erp-system-ui .ar-heading h2 {
    margin:0!important;
    color:var(--ui-text)!important;
    font-size:18px!important;
    line-height:1.35;
    font-weight:600!important;
  }
  html body.erp-system-ui .ar-heading p {
    margin:3px 0 0;
    color:var(--ui-muted,#8a97a8);
    font-size:12px;
    line-height:1.4;
  }
  html body.erp-system-ui .ar-heading-actions {
    display:flex;
    align-items:center;
    gap:12px;
    margin-left:auto;
    color:var(--ui-muted,#8a97a8);
  }
  html body.erp-system-ui .ar-heading-note,
  html body.erp-system-ui .ar-card-hint {
    color:var(--ui-muted,#8a97a8);
    font-size:12px;
    white-space:nowrap;
  }
  html body.erp-system-ui .ar-card {
    min-width:0;
    margin:0 0 16px;
    border:1px solid var(--ui-border);
    border-radius:12px;
    background:var(--ui-surface);
    box-shadow:0 2px 8px #20314e04;
  }
  html body.erp-system-ui .ar-filter-card {
    padding:16px 20px;
  }
  html body.erp-system-ui .ar-filter-grid {
    display:flex;
    align-items:flex-end;
    flex-wrap:wrap;
    gap:14px 16px;
  }
  html body.erp-system-ui .ar-field,
  html body.erp-system-ui .ar-date-group {
    display:flex;
    flex:0 1 154px;
    min-width:138px;
    flex-direction:column;
    gap:6px;
    color:var(--ui-label);
  }
  html body.erp-system-ui .ar-field-grow {
    flex:1 1 260px;
    min-width:220px;
  }
  html body.erp-system-ui .ar-field>span,
  html body.erp-system-ui .ar-field-label {
    color:var(--ui-label);
    font-size:12px;
    line-height:1.2;
  }
  html body.erp-system-ui .ar-field :is(select,.erp-choice,.erp-select-host) {
    width:100%;
    min-width:0;
  }
  html body.erp-system-ui .ar-search-wrap {
    display:flex;
    flex:0 1 270px;
    min-width:210px;
    align-items:center;
    gap:7px;
    height:36px;
    padding:0 10px;
    border:1px solid var(--ui-border);
    border-radius:var(--ui-control-radius);
    background:var(--ui-field-surface);
    color:var(--ui-placeholder);
  }
  html body.erp-system-ui .ar-search-wrap.ar-field-grow {
    flex:1 1 260px;
    min-width:220px;
  }
  html body.erp-system-ui .ar-search-wrap svg {
    flex:0 0 16px;
    width:16px;
    height:16px;
    fill:none;
    stroke:currentColor;
    stroke-width:1.7;
    stroke-linecap:round;
    stroke-linejoin:round;
  }
  html body.erp-system-ui .ar-search-wrap input {
    width:0!important;
    min-width:0!important;
    flex:1;
    height:32px!important;
    padding:0!important;
    border:0!important;
    outline:0!important;
    background:transparent!important;
    color:var(--ui-field-text)!important;
    box-shadow:none!important;
    font:inherit;
  }
  html body.erp-system-ui .ar-search-wrap:focus-within {
    border-color:var(--ui-accent);
    box-shadow:var(--ui-focus-ring);
  }
  html body.erp-system-ui .ar-date-group {
    flex:0 1 290px;
    min-width:270px;
  }
  html body.erp-system-ui .ar-date-range {
    display:flex;
    align-items:center;
    gap:2px;
    width:290px;
    max-width:100%;
    min-height:36px;
    padding:0 5px 0 8px;
    border:1px solid var(--ui-border);
    border-radius:var(--ui-control-radius);
    background:var(--ui-field-surface);
    cursor:pointer;
  }
  html body.erp-system-ui .ar-date-range input {
    width:0!important;
    min-width:0!important;
    flex:1;
    height:32px!important;
    min-height:32px!important;
    padding:0 2px!important;
    border:0!important;
    outline:0!important;
    background:transparent!important;
    color:var(--ui-field-text)!important;
    text-align:center;
    cursor:pointer;
    box-shadow:none!important;
    font:inherit;
  }
  html body.erp-system-ui .ar-date-range>span { flex:none; color:var(--ui-placeholder); }
  html body.erp-system-ui .ar-date-range>button {
    display:grid;
    place-items:center;
    flex:0 0 24px;
    width:24px!important;
    min-width:24px!important;
    height:28px!important;
    min-height:28px!important;
    padding:0!important;
    border:0!important;
    border-radius:4px!important;
    background:transparent!important;
    color:var(--ui-placeholder)!important;
    cursor:pointer;
  }
  html body.erp-system-ui .ar-date-range>button:hover {
    background:var(--ui-accent-soft)!important;
    color:var(--ui-accent)!important;
  }
  html body.erp-system-ui .ar-date-range>button svg {
    width:15px;
    height:15px;
  }
  html body.erp-system-ui .ar-date-range .ar-date-clear {
    flex-basis:18px;
    width:18px!important;
    min-width:18px!important;
    font-size:16px;
    line-height:1;
  }
  html body.erp-system-ui .ar-date-range:focus-within {
    border-color:var(--ui-accent);
    box-shadow:var(--ui-focus-ring);
  }
  html body.erp-system-ui .ar-quick {
    display:flex;
    align-items:center;
    flex-wrap:wrap;
    gap:6px;
    min-height:36px;
  }
  html body.erp-system-ui .ar-quick button,
  html body.erp-system-ui .ar-btn {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:6px;
    min-height:34px;
    padding:7px 14px;
    border:1px solid var(--ui-border);
    border-radius:var(--ui-control-radius);
    background:var(--ui-surface);
    color:var(--ui-text);
    cursor:pointer;
    font:inherit;
    font-size:12px;
    font-weight:400;
    line-height:1.2;
    white-space:nowrap;
    transition:background-color var(--ui-motion),border-color var(--ui-motion),color var(--ui-motion);
  }
  html body.erp-system-ui .ar-quick button:hover,
  html body.erp-system-ui .ar-btn:hover {
    border-color:var(--ui-accent);
    background:var(--ui-accent-soft);
    color:var(--ui-accent);
  }
  html body.erp-system-ui .ar-quick button[aria-pressed="true"] {
    border-color:var(--ui-accent);
    background:var(--ui-accent-soft);
    color:var(--ui-accent);
  }
  html body.erp-system-ui .ar-btn svg {
    width:15px;
    height:15px;
  }
  html body.erp-system-ui .ar-btn-primary {
    border-color:var(--ui-accent)!important;
    background:var(--ui-accent)!important;
    color:#fff!important;
  }
  html body.erp-system-ui .ar-btn-primary:hover {
    border-color:var(--ui-accent-hover)!important;
    background:var(--ui-accent-hover)!important;
    color:#fff!important;
  }
  html body.erp-system-ui .ar-filter-spacer {
    flex:1 1 auto;
    min-width:4px;
  }
  html body.erp-system-ui .ar-stat-grid {
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:12px;
    margin:0 0 16px;
  }
  html body.erp-system-ui .ar-stat-grid.four {
    grid-template-columns:repeat(4,minmax(0,1fr));
  }
  html body.erp-system-ui .ar-stat {
    min-width:0;
    min-height:102px;
    padding:16px 18px;
    border:1px solid var(--ui-border);
    border-radius:12px;
    background:var(--ui-surface);
    box-shadow:0 2px 8px #20314e04;
  }
  html body.erp-system-ui .ar-stat-head {
    display:flex;
    align-items:center;
    gap:8px;
    color:var(--ui-muted,#8a97a8);
    font-size:12px;
  }
  html body.erp-system-ui .ar-stat-icon {
    display:grid;
    place-items:center;
    flex:0 0 28px;
    width:28px;
    height:28px;
    border-radius:8px;
    background:var(--ui-accent-soft);
    color:var(--ui-accent);
  }
  html body.erp-system-ui .ar-stat-icon svg { width:16px; height:16px; }
  html body.erp-system-ui .ar-stat strong {
    display:block;
    margin-top:8px;
    overflow:hidden;
    color:var(--ui-text);
    font-size:22px;
    font-weight:600;
    line-height:1.2;
    text-overflow:ellipsis;
    white-space:nowrap;
  }
  html body.erp-system-ui .ar-stat small {
    display:block;
    margin-top:4px;
    overflow:hidden;
    color:var(--ui-muted,#8a97a8);
    font-size:11px;
    line-height:1.35;
    text-overflow:ellipsis;
    white-space:nowrap;
  }
  html body.erp-system-ui .ar-stat.success .ar-stat-icon { color:#238b57; background:#effaf4; }
  html body.erp-system-ui .ar-stat.warning .ar-stat-icon { color:#a47717; background:#fff9e9; }
  html body.erp-system-ui .ar-stat.purple .ar-stat-icon { color:#8057b5; background:#f7f0ff; }
  html body.erp-system-ui .ar-stat.danger .ar-stat-icon { color:var(--ui-danger); background:var(--ui-danger-soft); }
  html body.erp-system-ui .ar-card-head {
    display:flex;
    align-items:center;
    flex-wrap:wrap;
    gap:10px 16px;
    min-height:56px;
    padding:12px 18px;
    border-bottom:1px solid var(--ui-border-soft);
  }
  html body.erp-system-ui .ar-card-head h3 {
    margin:0!important;
    color:var(--ui-text)!important;
    font-size:14px!important;
    font-weight:600!important;
  }
  html body.erp-system-ui .ar-card-head .ar-card-hint { margin-left:auto; }
  html body.erp-system-ui .ar-table-card { overflow:hidden; }
  html body.erp-system-ui .ar-table-scroll {
    width:auto;
    overflow-x:auto;
    -webkit-overflow-scrolling:touch;
  }
  html body.erp-system-ui .ar-table {
    width:100%;
    min-width:1000px;
    margin:0;
    border-collapse:separate;
    border-spacing:0;
    table-layout:auto;
  }
  html body.erp-system-ui .ar-table :is(th,td) {
    padding:12px 10px;
    border:0;
    border-bottom:1px solid var(--ui-border-soft);
    color:var(--ui-text);
    font:400 12px/1.6 "Microsoft YaHei",sans-serif;
    text-align:left;
    vertical-align:middle;
    white-space:nowrap;
  }
  html body.erp-system-ui .ar-table thead th {
    height:44px;
    background:#f7f9fc;
    color:var(--ui-table-heading);
    font-weight:500;
  }
  html body.erp-system-ui .ar-table tbody tr:last-child td { border-bottom:0; }
  html body.erp-system-ui .ar-table tbody tr:hover td { background:var(--ui-accent-soft); }
  html body.erp-system-ui .ar-product-cell {
    display:flex;
    align-items:center;
    gap:10px;
    min-width:285px;
    white-space:normal;
  }
  html body.erp-system-ui .ar-thumb {
    display:grid;
    place-items:center;
    flex:0 0 48px;
    width:48px;
    height:48px;
    border:1px solid var(--ui-border);
    border-radius:7px;
    background:var(--ui-field-surface);
    color:var(--ui-placeholder);
  }
  html body.erp-system-ui .ar-thumb svg { width:23px; height:23px; }
  html body.erp-system-ui .ar-product-copy { min-width:0; max-width:360px; }
  html body.erp-system-ui .ar-product-title {
    display:block;
    overflow:hidden;
    color:var(--ui-accent);
    font-weight:500;
    line-height:1.5;
    text-overflow:ellipsis;
    white-space:nowrap;
  }
  html body.erp-system-ui .ar-product-meta {
    display:flex;
    align-items:center;
    gap:8px;
    margin-top:4px;
    color:var(--ui-muted,#8a97a8);
    font-size:11px;
  }
  html body.erp-system-ui .ar-sku,
  html body.erp-system-ui .ar-pill,
  html body.erp-system-ui .ar-status {
    display:inline-flex;
    align-items:center;
    min-height:22px;
    padding:2px 7px;
    border-radius:5px;
    font-size:11px;
    line-height:1.2;
  }
  html body.erp-system-ui .ar-sku { background:var(--ui-accent-soft); color:var(--ui-accent); }
  html body.erp-system-ui .ar-pill { background:var(--ui-accent-soft); color:var(--ui-accent); }
  html body.erp-system-ui .ar-status.neutral { background:var(--ui-disabled-surface); color:var(--ui-muted,#8a97a8); }
  html body.erp-system-ui .ar-money { color:var(--ui-danger); font-weight:600; }
  html body.erp-system-ui .ar-muted { color:var(--ui-muted,#8a97a8)!important; }
  html body.erp-system-ui .ar-actions { display:flex; align-items:center; gap:8px; }
  html body.erp-system-ui .ar-icon-action {
    display:grid;
    place-items:center;
    width:28px;
    height:28px;
    padding:0;
    border:0;
    border-radius:6px;
    background:transparent;
    color:var(--ui-muted,#8a97a8);
    cursor:pointer;
  }
  html body.erp-system-ui .ar-icon-action:hover { background:var(--ui-accent-soft); color:var(--ui-accent); }
  html body.erp-system-ui .ar-icon-action svg { width:16px; height:16px; }
  html body.erp-system-ui .ar-empty {
    display:flex;
    min-height:228px;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:8px;
    color:var(--ui-muted,#8a97a8);
    text-align:center;
  }
  html body.erp-system-ui .ar-empty svg { width:43px; height:43px; color:var(--ui-placeholder); }
  html body.erp-system-ui .ar-empty b { color:var(--ui-text); font-size:14px; font-weight:500; }
  html body.erp-system-ui .ar-empty span { color:var(--ui-muted,#8a97a8); font-size:12px; }
  html body.erp-system-ui .ar-pagination {
    min-height:50px;
    margin:0;
    padding:10px 0;
  }
  html body.erp-system-ui .ar-pagination .erp-pagination-controls { margin-left:auto; }
  html body.erp-system-ui .ar-pagination .erp-pagination-pages button {
    display:inline-flex;
    align-items:center;
    justify-content:center;
  }
  html body.erp-system-ui .ar-pagination .erp-pagination-pages svg {
    width:15px;
    height:15px;
    fill:none;
    stroke:currentColor;
    stroke-width:1.7;
    stroke-linecap:round;
    stroke-linejoin:round;
  }
  html[data-erp-mode="dark"] body.erp-system-ui .ar-table thead th { background:var(--ui-field-surface); }
  html[data-erp-mode="dark"] body.erp-system-ui .ar-stat.success .ar-stat-icon,
  html[data-erp-mode="dark"] body.erp-system-ui .ar-stat.warning .ar-stat-icon,
  html[data-erp-mode="dark"] body.erp-system-ui .ar-stat.purple .ar-stat-icon {
    background:var(--ui-accent-soft);
    color:var(--ui-accent);
  }
  @media (max-width:1100px) {
    html body.erp-system-ui .ar-stat-grid.four { grid-template-columns:repeat(2,minmax(0,1fr)); }
    html body.erp-system-ui .ar-field-grow,
    html body.erp-system-ui .ar-search-wrap.ar-field-grow { flex-basis:100%; }
  }
  @media (max-width:720px) {
    html body.erp-system-ui .ar-shell { padding:0 0 20px; }
    html body.erp-system-ui .ar-heading { align-items:flex-start; }
    html body.erp-system-ui .ar-heading-actions { display:none; }
    html body.erp-system-ui .ar-heading h2 { font-size:17px!important; }
    html body.erp-system-ui .ar-filter-card { padding:14px; }
    html body.erp-system-ui .ar-filter-grid { align-items:stretch; gap:12px; }
    html body.erp-system-ui .ar-field,
    html body.erp-system-ui .ar-date-group,
    html body.erp-system-ui .ar-search-wrap,
    html body.erp-system-ui .ar-field-grow { width:100%; min-width:0; flex-basis:100%; }
    html body.erp-system-ui .ar-date-range { width:100%; }
    html body.erp-system-ui .ar-filter-spacer { display:none; }
    html body.erp-system-ui .ar-filter-grid>.ar-btn { width:100%; }
    html body.erp-system-ui .ar-stat-grid,
    html body.erp-system-ui .ar-stat-grid.four { grid-template-columns:1fr; }
    html body.erp-system-ui .ar-card-head { padding:12px 14px; }
  }
}

/* Match the ERP workspace, theme surfaces and action proportions on all four AI pages. */
@layer erpColorMode.overrides {
 html body.erp-system-ui.erp-beauty-v2.erp-beauty-v3 .main :is(#refine-collect #refineCollectWorkspace,#refine-records #refineRecordsWorkspace,#refine-stats #refineStatsWorkspace,#refine-tasks #refineTasksWorkspace).ar-shell {
  box-sizing:border-box!important;width:100%!important;min-width:0!important;max-width:100%!important;--ar-card-accent:var(--ui-accent);
 }
 html body.erp-system-ui.erp-beauty-v2.erp-beauty-v3 .main :is(#refine-collect #refineCollectWorkspace,#refine-records #refineRecordsWorkspace,#refine-stats #refineStatsWorkspace,#refine-tasks #refineTasksWorkspace).ar-shell :is(.ar-card,.ar-stat) {
  box-sizing:border-box!important;min-width:0!important;margin:0 0 14px!important;border:1px solid var(--ui-border)!important;border-radius:var(--workspace-radius,10px)!important;background:var(--ui-surface)!important;box-shadow:0 1px 3px #20314e05!important;
 }
 html body.erp-system-ui.erp-beauty-v2.erp-beauty-v3 .main :is(#refine-collect #refineCollectWorkspace,#refine-records #refineRecordsWorkspace,#refine-stats #refineStatsWorkspace,#refine-tasks #refineTasksWorkspace).ar-shell .ar-filter-card {
  padding:12px!important;
 }
 html body.erp-system-ui.erp-beauty-v2.erp-beauty-v3 .main :is(#refine-collect #refineCollectWorkspace,#refine-records #refineRecordsWorkspace,#refine-stats #refineStatsWorkspace,#refine-tasks #refineTasksWorkspace).ar-shell .ar-filter-grid {
  display:flex!important;flex-direction:row!important;flex-wrap:wrap!important;align-items:flex-end!important;gap:10px 8px!important;min-width:0!important;
 }
 html body.erp-system-ui.erp-beauty-v2.erp-beauty-v3 .main :is(#refine-collect #refineCollectWorkspace,#refine-records #refineRecordsWorkspace,#refine-stats #refineStatsWorkspace,#refine-tasks #refineTasksWorkspace).ar-shell .ar-field {
  box-sizing:border-box!important;flex:0 1 154px!important;min-width:138px!important;max-width:100%!important;gap:6px!important;
 }
 html body.erp-system-ui.erp-beauty-v2.erp-beauty-v3 .main :is(#refine-collect #refineCollectWorkspace,#refine-records #refineRecordsWorkspace,#refine-stats #refineStatsWorkspace,#refine-tasks #refineTasksWorkspace).ar-shell .ar-date-group {
  box-sizing:border-box!important;flex:0 0 284px!important;width:284px!important;min-width:284px!important;max-width:100%!important;gap:6px!important;
 }
 html body.erp-system-ui.erp-beauty-v2.erp-beauty-v3 .main :is(#refine-collect #refineCollectWorkspace,#refine-records #refineRecordsWorkspace,#refine-stats #refineStatsWorkspace,#refine-tasks #refineTasksWorkspace).ar-shell .ar-search-wrap {
  box-sizing:border-box!important;display:flex!important;align-items:center!important;flex:0 1 auto!important;width:min(100%,var(--erp-list-search-width,240px))!important;min-width:0!important;max-width:var(--erp-list-search-width,240px)!important;height:auto!important;min-height:0!important;padding:0!important;gap:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;
 }
 html body.erp-system-ui.erp-beauty-v2.erp-beauty-v3 .main :is(#refine-collect #refineCollectWorkspace,#refine-records #refineRecordsWorkspace,#refine-stats #refineStatsWorkspace,#refine-tasks #refineTasksWorkspace).ar-shell .ar-search-wrap>.erp-clear-field {
  box-sizing:border-box!important;flex:1 1 auto!important;width:100%!important;min-width:0!important;max-width:100%!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important;
 }
 html body.erp-system-ui.erp-beauty-v2.erp-beauty-v3 .main :is(#refine-collect #refineCollectWorkspace,#refine-records #refineRecordsWorkspace,#refine-stats #refineStatsWorkspace,#refine-tasks #refineTasksWorkspace).ar-shell .ar-search-wrap input.erp-list-search {
  box-sizing:border-box!important;flex:1 1 auto!important;width:100%!important;min-width:0!important;max-width:none!important;margin:0!important;
 }
 html body.erp-system-ui.erp-beauty-v2.erp-beauty-v3 .main :is(#refine-collect #refineCollectWorkspace,#refine-records #refineRecordsWorkspace,#refine-stats #refineStatsWorkspace,#refine-tasks #refineTasksWorkspace).ar-shell :is(.ar-field,.ar-date-group)>:is(span,.ar-field-label) {
  color:var(--ui-label)!important;font-size:12px!important;line-height:1.4!important;
 }
 html body.erp-system-ui.erp-beauty-v2.erp-beauty-v3 .main :is(#refine-collect #refineCollectWorkspace,#refine-records #refineRecordsWorkspace,#refine-stats #refineStatsWorkspace,#refine-tasks #refineTasksWorkspace).ar-shell .ar-btn:not([hidden]) {
  box-sizing:border-box!important;display:inline-flex!important;flex:0 0 auto!important;flex-direction:row!important;flex-wrap:nowrap!important;align-items:center!important;justify-content:center!important;gap:6px!important;width:max-content!important;min-width:84px!important;max-width:100%!important;height:36px!important;min-height:36px!important;max-height:36px!important;padding:0 12px!important;margin:0!important;border:1px solid var(--ui-border)!important;border-radius:var(--ui-control-radius)!important;background:var(--ui-surface)!important;color:var(--ui-accent)!important;font:500 12px/1.4 "Microsoft YaHei UI","Microsoft YaHei",sans-serif!important;white-space:nowrap!important;overflow-wrap:normal!important;box-shadow:none!important;
 }
 html body.erp-system-ui.erp-beauty-v2.erp-beauty-v3 .main :is(#refine-collect #refineCollectWorkspace,#refine-records #refineRecordsWorkspace,#refine-stats #refineStatsWorkspace,#refine-tasks #refineTasksWorkspace).ar-shell .ar-btn:not([hidden]):hover:not(:disabled) {
  border-color:var(--ui-accent)!important;background:var(--ui-accent-soft)!important;color:var(--ui-accent-hover)!important;
 }
 html body.erp-system-ui.erp-beauty-v2.erp-beauty-v3 .main :is(#refine-collect #refineCollectWorkspace,#refine-records #refineRecordsWorkspace,#refine-stats #refineStatsWorkspace,#refine-tasks #refineTasksWorkspace).ar-shell .ar-btn.ar-btn-primary:not([hidden]) {
  border-color:var(--ui-accent)!important;background:var(--ui-accent)!important;color:#fff!important;-webkit-text-fill-color:currentColor!important;
 }
 html body.erp-system-ui.erp-beauty-v2.erp-beauty-v3 .main :is(#refine-collect #refineCollectWorkspace,#refine-records #refineRecordsWorkspace,#refine-stats #refineStatsWorkspace,#refine-tasks #refineTasksWorkspace).ar-shell .ar-btn.ar-btn-primary:not([hidden]):hover:not(:disabled) {
  border-color:var(--ui-accent-hover)!important;background:var(--ui-accent-hover)!important;color:#fff!important;
 }
 html body.erp-system-ui.erp-beauty-v2.erp-beauty-v3 .main :is(#refine-collect #refineCollectWorkspace,#refine-records #refineRecordsWorkspace,#refine-stats #refineStatsWorkspace,#refine-tasks #refineTasksWorkspace).ar-shell .ar-btn>.ar-btn-label {
  display:block!important;min-width:0!important;color:inherit!important;-webkit-text-fill-color:currentColor!important;white-space:nowrap!important;
 }
 html body.erp-system-ui.erp-beauty-v2.erp-beauty-v3 .main :is(#refine-collect #refineCollectWorkspace,#refine-records #refineRecordsWorkspace,#refine-stats #refineStatsWorkspace,#refine-tasks #refineTasksWorkspace).ar-shell :is(.ar-btn,.ar-icon-action)>svg {
  display:block!important;flex:0 0 16px!important;width:16px!important;height:16px!important;margin:0!important;color:inherit!important;fill:none!important;stroke:currentColor!important;stroke-width:1.7!important;stroke-linecap:round!important;stroke-linejoin:round!important;
 }
 html body.erp-system-ui.erp-beauty-v2.erp-beauty-v3 .main :is(#refine-collect #refineCollectWorkspace,#refine-records #refineRecordsWorkspace,#refine-stats #refineStatsWorkspace,#refine-tasks #refineTasksWorkspace).ar-shell :is(.ar-btn,.ar-quick button,.ar-icon-action):focus-visible {
  outline:2px solid var(--ui-accent)!important;outline-offset:2px!important;
 }
 html body.erp-system-ui.erp-beauty-v2.erp-beauty-v3 .main :is(#refine-collect #refineCollectWorkspace,#refine-records #refineRecordsWorkspace,#refine-stats #refineStatsWorkspace,#refine-tasks #refineTasksWorkspace).ar-shell .ar-btn:disabled {
  cursor:not-allowed!important;opacity:.55;
 }
 html body.erp-system-ui.erp-beauty-v2.erp-beauty-v3 .main :is(#refine-collect #refineCollectWorkspace,#refine-records #refineRecordsWorkspace,#refine-stats #refineStatsWorkspace,#refine-tasks #refineTasksWorkspace).ar-shell .ar-quick {
  display:flex!important;flex:0 0 auto!important;flex-wrap:nowrap!important;gap:6px!important;min-height:36px!important;
 }
 html body.erp-system-ui.erp-beauty-v2.erp-beauty-v3 .main :is(#refine-collect #refineCollectWorkspace,#refine-records #refineRecordsWorkspace,#refine-stats #refineStatsWorkspace,#refine-tasks #refineTasksWorkspace).ar-shell .ar-quick>button:not([hidden]) {
  box-sizing:border-box!important;flex:0 0 auto!important;width:max-content!important;min-width:52px!important;height:36px!important;min-height:36px!important;padding:0 10px!important;border:1px solid var(--ui-border)!important;border-radius:var(--ui-control-radius)!important;background:var(--ui-surface)!important;color:var(--ui-text)!important;font-size:12px!important;line-height:1.4!important;white-space:nowrap!important;
 }
 html body.erp-system-ui.erp-beauty-v2.erp-beauty-v3 .main :is(#refine-collect #refineCollectWorkspace,#refine-records #refineRecordsWorkspace,#refine-stats #refineStatsWorkspace,#refine-tasks #refineTasksWorkspace).ar-shell .ar-quick>button[aria-pressed=true] {
  border-color:var(--ui-accent)!important;background:var(--ui-accent)!important;color:#fff!important;
 }
 html body.erp-system-ui.erp-beauty-v2.erp-beauty-v3 .main :is(#refine-collect #refineCollectWorkspace,#refine-records #refineRecordsWorkspace,#refine-stats #refineStatsWorkspace,#refine-tasks #refineTasksWorkspace).ar-shell .ar-stat-grid {
  display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:14px!important;margin:0 0 14px!important;
 }
 html body.erp-system-ui.erp-beauty-v2.erp-beauty-v3 .main :is(#refine-collect #refineCollectWorkspace,#refine-records #refineRecordsWorkspace,#refine-stats #refineStatsWorkspace,#refine-tasks #refineTasksWorkspace).ar-shell .ar-stat-grid.four {
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
 }
 html body.erp-system-ui.erp-beauty-v2.erp-beauty-v3 .main :is(#refine-collect #refineCollectWorkspace,#refine-records #refineRecordsWorkspace,#refine-stats #refineStatsWorkspace,#refine-tasks #refineTasksWorkspace).ar-shell .ar-stat.success {
  --ar-card-accent:#20a463;
 }
 html body.erp-system-ui.erp-beauty-v2.erp-beauty-v3 .main :is(#refine-collect #refineCollectWorkspace,#refine-records #refineRecordsWorkspace,#refine-stats #refineStatsWorkspace,#refine-tasks #refineTasksWorkspace).ar-shell .ar-stat.warning {
  --ar-card-accent:#d99b21;
 }
 html body.erp-system-ui.erp-beauty-v2.erp-beauty-v3 .main :is(#refine-collect #refineCollectWorkspace,#refine-records #refineRecordsWorkspace,#refine-stats #refineStatsWorkspace,#refine-tasks #refineTasksWorkspace).ar-shell .ar-stat.purple {
  --ar-card-accent:#8b5cf6;
 }
 html body.erp-system-ui.erp-beauty-v2.erp-beauty-v3 .main :is(#refine-collect #refineCollectWorkspace,#refine-records #refineRecordsWorkspace,#refine-stats #refineStatsWorkspace,#refine-tasks #refineTasksWorkspace).ar-shell .ar-stat.danger {
  --ar-card-accent:#e65770;
 }
 html body.erp-system-ui.erp-beauty-v2.erp-beauty-v3 .main :is(#refine-collect #refineCollectWorkspace,#refine-records #refineRecordsWorkspace,#refine-stats #refineStatsWorkspace,#refine-tasks #refineTasksWorkspace).ar-shell .ar-stat {
  min-height:112px!important;padding:14px 16px!important;margin:0!important;--ar-card-wash:color-mix(in srgb,var(--ar-card-accent) 10%,var(--ui-surface));background:linear-gradient(125deg,var(--ui-surface) 42%,color-mix(in srgb,var(--ar-card-wash) 65%,var(--ui-surface)))!important;
 }
 html body.erp-system-ui.erp-beauty-v2.erp-beauty-v3 .main :is(#refine-collect #refineCollectWorkspace,#refine-records #refineRecordsWorkspace,#refine-stats #refineStatsWorkspace,#refine-tasks #refineTasksWorkspace).ar-shell .ar-stat-head {
  display:flex!important;align-items:center!important;gap:8px!important;color:var(--ui-label)!important;line-height:1.5!important;
 }
 html body.erp-system-ui.erp-beauty-v2.erp-beauty-v3 .main :is(#refine-collect #refineCollectWorkspace,#refine-records #refineRecordsWorkspace,#refine-stats #refineStatsWorkspace,#refine-tasks #refineTasksWorkspace).ar-shell .ar-stat-icon {
  box-sizing:border-box!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;flex:0 0 30px!important;width:30px!important;height:30px!important;border:1px solid color-mix(in srgb,var(--ar-card-accent) 18%,var(--ui-surface))!important;border-radius:8px!important;background:color-mix(in srgb,var(--ar-card-accent) 9%,var(--ui-surface))!important;color:var(--ar-card-accent)!important;
 }
 html body.erp-system-ui.erp-beauty-v2.erp-beauty-v3 .main :is(#refine-collect #refineCollectWorkspace,#refine-records #refineRecordsWorkspace,#refine-stats #refineStatsWorkspace,#refine-tasks #refineTasksWorkspace).ar-shell .ar-stat-icon>svg {
  width:17px!important;height:17px!important;
 }
 html body.erp-system-ui.erp-beauty-v2.erp-beauty-v3 .main :is(#refine-collect #refineCollectWorkspace,#refine-records #refineRecordsWorkspace,#refine-stats #refineStatsWorkspace,#refine-tasks #refineTasksWorkspace).ar-shell .ar-stat strong {
  margin-top:10px!important;color:var(--ui-text)!important;font-size:26px!important;line-height:1.25!important;font-weight:600!important;font-variant-numeric:tabular-nums;
 }
 html body.erp-system-ui.erp-beauty-v2.erp-beauty-v3 .main :is(#refine-collect #refineCollectWorkspace,#refine-records #refineRecordsWorkspace,#refine-stats #refineStatsWorkspace,#refine-tasks #refineTasksWorkspace).ar-shell .ar-stat small {
  font-size:12px!important;line-height:1.5!important;
 }
 html body.erp-system-ui.erp-beauty-v2.erp-beauty-v3 .main :is(#refine-collect #refineCollectWorkspace,#refine-records #refineRecordsWorkspace,#refine-stats #refineStatsWorkspace,#refine-tasks #refineTasksWorkspace).ar-shell .ar-card-head {
  min-height:50px!important;padding:12px 14px!important;gap:8px!important;border-color:var(--ui-border-soft)!important;background:color-mix(in srgb,var(--ui-accent) 3%,var(--ui-surface))!important;
 }
 html body.erp-system-ui.erp-beauty-v2.erp-beauty-v3 .main :is(#refine-collect #refineCollectWorkspace,#refine-records #refineRecordsWorkspace,#refine-stats #refineStatsWorkspace,#refine-tasks #refineTasksWorkspace).ar-shell .ar-card-head h3 {
  display:flex!important;align-items:center!important;gap:7px!important;font-size:14px!important;line-height:1.5!important;
 }
 html body.erp-system-ui.erp-beauty-v2.erp-beauty-v3 .main :is(#refine-collect #refineCollectWorkspace,#refine-records #refineRecordsWorkspace,#refine-stats #refineStatsWorkspace,#refine-tasks #refineTasksWorkspace).ar-shell .ar-card-head h3>svg {
  flex:0 0 16px!important;width:16px!important;height:16px!important;color:var(--ui-accent)!important;
 }
 html body.erp-system-ui.erp-beauty-v2.erp-beauty-v3 .main :is(#refine-collect #refineCollectWorkspace,#refine-records #refineRecordsWorkspace,#refine-stats #refineStatsWorkspace,#refine-tasks #refineTasksWorkspace).ar-shell .ar-table thead th {
  background:var(--ui-field-surface)!important;
 }
 html body.erp-system-ui.erp-beauty-v2.erp-beauty-v3 .main :is(#refine-collect #refineCollectWorkspace,#refine-records #refineRecordsWorkspace,#refine-stats #refineStatsWorkspace,#refine-tasks #refineTasksWorkspace).ar-shell .ar-actions {
  display:flex!important;flex-direction:row!important;gap:8px!important;align-items:center!important;
 }
 html body.erp-system-ui.erp-beauty-v2.erp-beauty-v3 .main :is(#refine-collect #refineCollectWorkspace,#refine-records #refineRecordsWorkspace,#refine-stats #refineStatsWorkspace,#refine-tasks #refineTasksWorkspace).ar-shell .ar-icon-action:not([hidden]) {
  box-sizing:border-box!important;display:inline-flex!important;flex:0 0 32px!important;align-items:center!important;justify-content:center!important;width:32px!important;min-width:32px!important;max-width:32px!important;height:32px!important;min-height:32px!important;max-height:32px!important;margin:0!important;padding:0!important;border:1px solid var(--ui-border)!important;border-radius:6px!important;background:var(--ui-surface)!important;color:var(--ui-accent)!important;
 }
 html body.erp-system-ui.erp-beauty-v2.erp-beauty-v3 .main :is(#refine-collect #refineCollectWorkspace,#refine-records #refineRecordsWorkspace,#refine-stats #refineStatsWorkspace,#refine-tasks #refineTasksWorkspace).ar-shell .ar-icon-action.ar-action-refine {
  color:#8b5cf6!important;background:color-mix(in srgb,#8b5cf6 6%,var(--ui-surface))!important;
 }
 html body.erp-system-ui.erp-beauty-v2.erp-beauty-v3 .main :is(#refine-collect #refineCollectWorkspace,#refine-records #refineRecordsWorkspace,#refine-stats #refineStatsWorkspace,#refine-tasks #refineTasksWorkspace).ar-shell .ar-icon-action.ar-action-delete {
  color:var(--ui-danger)!important;background:var(--ui-danger-soft)!important;
 }
 html body.erp-system-ui.erp-beauty-v2.erp-beauty-v3 .main :is(#refine-collect #refineCollectWorkspace,#refine-records #refineRecordsWorkspace,#refine-stats #refineStatsWorkspace,#refine-tasks #refineTasksWorkspace).ar-shell .ar-icon-action:not([hidden]):hover {
  border-color:currentColor!important;
 }
 html body.erp-system-ui.erp-beauty-v2.erp-beauty-v3 .main :is(#refine-collect #refineCollectWorkspace,#refine-records #refineRecordsWorkspace,#refine-stats #refineStatsWorkspace,#refine-tasks #refineTasksWorkspace).ar-shell .ar-empty {
  min-height:220px!important;padding:24px 16px!important;gap:8px!important;
 }
 html body.erp-system-ui.erp-beauty-v2.erp-beauty-v3 .main :is(#refine-collect #refineCollectWorkspace,#refine-records #refineRecordsWorkspace,#refine-stats #refineStatsWorkspace,#refine-tasks #refineTasksWorkspace).ar-shell .ar-empty-icon {
  box-sizing:border-box!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;width:56px!important;height:56px!important;margin-bottom:4px!important;border:1px solid var(--ui-border)!important;border-radius:14px!important;background:color-mix(in srgb,var(--ui-accent) 6%,var(--ui-surface))!important;color:var(--ui-accent)!important;
 }
 html body.erp-system-ui.erp-beauty-v2.erp-beauty-v3 .main :is(#refine-collect #refineCollectWorkspace,#refine-records #refineRecordsWorkspace,#refine-stats #refineStatsWorkspace,#refine-tasks #refineTasksWorkspace).ar-shell .ar-empty-icon>svg {
  width:26px!important;height:26px!important;color:inherit!important;
 }
 @media(min-width:768px) and (max-width:1100px) {
 html body.erp-system-ui.erp-beauty-v2.erp-beauty-v3 .main :is(#refine-collect #refineCollectWorkspace,#refine-records #refineRecordsWorkspace,#refine-stats #refineStatsWorkspace,#refine-tasks #refineTasksWorkspace).ar-shell .ar-stat-grid.four {
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
 }
 }
 @media(max-width:767px) {
 html body.erp-system-ui.erp-beauty-v2.erp-beauty-v3 .main :is(#refine-collect #refineCollectWorkspace,#refine-records #refineRecordsWorkspace,#refine-stats #refineStatsWorkspace,#refine-tasks #refineTasksWorkspace).ar-shell .ar-heading {
  flex-wrap:wrap!important;align-items:center!important;gap:8px!important;
 }
 html body.erp-system-ui.erp-beauty-v2.erp-beauty-v3 .main :is(#refine-collect #refineCollectWorkspace,#refine-records #refineRecordsWorkspace,#refine-stats #refineStatsWorkspace,#refine-tasks #refineTasksWorkspace).ar-shell .ar-heading-copy {
  flex:1 1 0!important;min-width:0!important;
 }
 html body.erp-system-ui.erp-beauty-v2.erp-beauty-v3 .main :is(#refine-collect #refineCollectWorkspace,#refine-records #refineRecordsWorkspace,#refine-stats #refineStatsWorkspace,#refine-tasks #refineTasksWorkspace).ar-shell .ar-heading-actions {
  display:flex!important;flex:0 0 100%!important;flex-wrap:wrap!important;align-items:center!important;justify-content:flex-end!important;gap:8px!important;width:100%!important;min-width:0!important;margin:0!important;
 }
 html body.erp-system-ui.erp-beauty-v2.erp-beauty-v3 .main :is(#refine-collect #refineCollectWorkspace,#refine-records #refineRecordsWorkspace,#refine-stats #refineStatsWorkspace,#refine-tasks #refineTasksWorkspace).ar-shell .ar-heading-note {
  margin-right:auto!important;
 }
 html body.erp-system-ui.erp-beauty-v2.erp-beauty-v3 .main :is(#refine-collect #refineCollectWorkspace,#refine-records #refineRecordsWorkspace,#refine-stats #refineStatsWorkspace,#refine-tasks #refineTasksWorkspace).ar-shell .ar-filter-card {
  padding:10px!important;
 }
 html body.erp-system-ui.erp-beauty-v2.erp-beauty-v3 .main :is(#refine-collect #refineCollectWorkspace,#refine-records #refineRecordsWorkspace,#refine-stats #refineStatsWorkspace,#refine-tasks #refineTasksWorkspace).ar-shell .ar-filter-grid {
  align-items:stretch!important;gap:8px!important;
 }
 html body.erp-system-ui.erp-beauty-v2.erp-beauty-v3 .main :is(#refine-collect #refineCollectWorkspace,#refine-records #refineRecordsWorkspace,#refine-stats #refineStatsWorkspace,#refine-tasks #refineTasksWorkspace).ar-shell :is(.ar-field,.ar-search-wrap,.ar-field-grow,.ar-date-group) {
  flex:0 0 100%!important;width:100%!important;min-width:0!important;max-width:100%!important;
 }
 html body.erp-system-ui.erp-beauty-v2.erp-beauty-v3 .main :is(#refine-collect #refineCollectWorkspace,#refine-records #refineRecordsWorkspace,#refine-stats #refineStatsWorkspace,#refine-tasks #refineTasksWorkspace).ar-shell .ar-search-wrap {
  height:44px!important;min-height:44px!important;
 }
 html body.erp-system-ui.erp-beauty-v2.erp-beauty-v3 .main :is(#refine-collect #refineCollectWorkspace,#refine-records #refineRecordsWorkspace,#refine-stats #refineStatsWorkspace,#refine-tasks #refineTasksWorkspace).ar-shell .ar-search-wrap input {
  font-size:16px!important;
 }
 html body.erp-system-ui.erp-beauty-v2.erp-beauty-v3 .main :is(#refine-collect #refineCollectWorkspace,#refine-records #refineRecordsWorkspace,#refine-stats #refineStatsWorkspace,#refine-tasks #refineTasksWorkspace).ar-shell .ar-filter-spacer {
  display:none!important;
 }
 html body.erp-system-ui.erp-beauty-v2.erp-beauty-v3 .main :is(#refine-collect #refineCollectWorkspace,#refine-records #refineRecordsWorkspace,#refine-stats #refineStatsWorkspace,#refine-tasks #refineTasksWorkspace).ar-shell .ar-filter-grid>.ar-btn:not([hidden]) {
  flex:1 1 calc(50% - 4px)!important;width:auto!important;min-width:0!important;
 }
 html body.erp-system-ui.erp-beauty-v2.erp-beauty-v3 .main :is(#refine-collect #refineCollectWorkspace,#refine-records #refineRecordsWorkspace,#refine-stats #refineStatsWorkspace,#refine-tasks #refineTasksWorkspace).ar-shell .ar-btn:not([hidden]) {
  height:44px!important;min-height:44px!important;max-height:44px!important;font-size:14px!important;
 }
 html body.erp-system-ui.erp-beauty-v2.erp-beauty-v3 .main :is(#refine-collect #refineCollectWorkspace,#refine-records #refineRecordsWorkspace,#refine-stats #refineStatsWorkspace,#refine-tasks #refineTasksWorkspace).ar-shell .ar-quick {
  display:flex!important;flex:0 0 100%!important;width:100%!important;min-width:0!important;gap:6px!important;
 }
 html body.erp-system-ui.erp-beauty-v2.erp-beauty-v3 .main :is(#refine-collect #refineCollectWorkspace,#refine-records #refineRecordsWorkspace,#refine-stats #refineStatsWorkspace,#refine-tasks #refineTasksWorkspace).ar-shell .ar-quick>button:not([hidden]) {
  flex:1 1 0!important;min-width:0!important;width:auto!important;height:40px!important;min-height:40px!important;
 }
 html body.erp-system-ui.erp-beauty-v2.erp-beauty-v3 .main :is(#refine-collect #refineCollectWorkspace,#refine-records #refineRecordsWorkspace,#refine-stats #refineStatsWorkspace,#refine-tasks #refineTasksWorkspace).ar-shell :is(.ar-stat-grid,.ar-stat-grid.four) {
  grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;
 }
 html body.erp-system-ui.erp-beauty-v2.erp-beauty-v3 .main :is(#refine-collect #refineCollectWorkspace,#refine-records #refineRecordsWorkspace,#refine-stats #refineStatsWorkspace,#refine-tasks #refineTasksWorkspace).ar-shell .ar-stat-grid>.ar-stat:last-child:nth-child(odd) {
  grid-column:1/-1!important;
 }
 html body.erp-system-ui.erp-beauty-v2.erp-beauty-v3 .main :is(#refine-collect #refineCollectWorkspace,#refine-records #refineRecordsWorkspace,#refine-stats #refineStatsWorkspace,#refine-tasks #refineTasksWorkspace).ar-shell .ar-stat {
  min-height:108px!important;padding:12px!important;
 }
 html body.erp-system-ui.erp-beauty-v2.erp-beauty-v3 .main :is(#refine-collect #refineCollectWorkspace,#refine-records #refineRecordsWorkspace,#refine-stats #refineStatsWorkspace,#refine-tasks #refineTasksWorkspace).ar-shell .ar-stat strong {
  font-size:23px!important;
 }
 }
 html body.erp-system-ui.erp-beauty-v2.erp-beauty-v3 aside.side #erpMainNav #refineModeNav .nav-submenu>button:not([hidden])>.nav-sub-icon {color:var(--ui-label,#000)!important;background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;}
}
