/* Store management 4.4: clear information hierarchy, using the existing ERP palette. */
body.erp-system-ui :is(#click-ads,#finance,#returns){--mg-accent:var(--theme-accent,#1496a9);--mg-soft:var(--theme-accent-soft,#edf8fa);--mg-border:#e5ebf0;--mg-muted:#8492a3;color:#304157}
body.erp-system-ui :is(#click-ads,#finance) .mg-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin:0 0 16px;padding:2px 0}
body.erp-system-ui :is(#click-ads,#finance) .mg-heading h2{font-size:20px;font-weight:650;letter-spacing:.1px;margin:0 0 5px;color:#293c52}
body.erp-system-ui :is(#click-ads,#finance) .mg-heading p{font-size:12px;line-height:1.6;margin:0;color:var(--mg-muted)}
body.erp-system-ui :is(#click-ads,#finance) .mg-scope{font-size:12px;padding:7px 12px;border:1px solid var(--mg-border);border-radius:7px;background:#fff;color:#738398;white-space:nowrap}
body.erp-system-ui :is(#click-ads,#finance) :is(input,select,.erp-select-btn){border-color:#e1e7ee!important;border-radius:6px!important;color:#718299!important;box-shadow:none!important;min-height:34px}
body.erp-system-ui :is(#click-ads,#finance) input::placeholder{color:#9aa7b7!important}
body.erp-system-ui :is(#click-ads,#finance) :is(button,input,select):focus-visible{outline:2px solid var(--mg-accent)!important;outline-offset:3px!important}
body.erp-system-ui :is(#click-ads,#finance) :is(.ca-ref-card,.finance-erp-card,.ca-api-manager){background:#fff!important;border:1px solid var(--mg-border)!important;border-radius:10px!important;box-shadow:0 2px 6px rgba(36,57,80,.025)!important}
body.erp-system-ui #click-ads .ca-ref-shell{display:flex;flex-direction:column;gap:14px!important}
body.erp-system-ui #click-ads .mg-heading{margin-bottom:0}
body.erp-system-ui #click-ads .ca-ref-filter-card{padding:16px 18px!important}
body.erp-system-ui #click-ads .ca-ref-filter-row{display:flex!important;align-items:center;flex-wrap:wrap;gap:12px 22px!important}
body.erp-system-ui #click-ads .ca-ref-field{display:flex;align-items:center;gap:10px;width:auto!important;min-width:0!important;font-size:12px;color:#7a899b!important}
body.erp-system-ui #click-ads .ca-ref-field>span{color:var(--erp-text-2,#475467)!important;-webkit-text-fill-color:currentColor!important;white-space:nowrap}
body.erp-system-ui #click-ads .ca-ref-shop{flex:0 1 300px}
body.erp-system-ui #click-ads .ca-ref-shop :is(select,.erp-select-wrap){width:220px!important;max-width:100%}
body.erp-system-ui #click-ads .ca-ref-keyword{flex:1 1 270px}
body.erp-system-ui #click-ads .ca-ref-keyword input{width:100%!important;max-width:400px!important}
body.erp-system-ui #click-ads .ca-ref-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px!important;margin-top:14px!important;padding-top:14px;border-top:1px solid #f0f3f6}
body.erp-system-ui #click-ads .ca-ref-btn{min-height:34px!important;min-width:64px;border-radius:6px!important;font-size:12px!important;font-weight:500!important;box-shadow:none!important}
body.erp-system-ui #click-ads .ca-ref-btn.primary{background:var(--mg-accent)!important;border-color:var(--mg-accent)!important;color:#fff!important}
body.erp-system-ui #click-ads .ca-sync-info{margin-left:auto;color:var(--mg-muted)!important;font-size:11px!important}
body.erp-system-ui #click-ads .ca-api-manager-compact{padding:0!important}
body.erp-system-ui #click-ads .ca-api-manager-compact-head{padding:12px 18px!important;min-height:54px}
body.erp-system-ui #click-ads .ca-api-summary{display:flex;align-items:center;flex-wrap:wrap;gap:10px}
body.erp-system-ui #click-ads .ca-api-summary>b{font-size:13px!important;color:#42556d!important;margin-right:10px}
body.erp-system-ui #click-ads .ca-api-summary-chip{border:0!important;border-radius:5px!important;font-size:11px!important;padding:4px 8px!important;font-weight:400!important}
body.erp-system-ui #click-ads .ca-api-manage-open{border-color:var(--theme-accent-border,#c4e6eb)!important;color:var(--mg-accent)!important;background:var(--mg-soft)!important;border-radius:6px!important;font-size:12px!important}
body.erp-system-ui #click-ads .ca-ref-kpis{display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:12px!important}
body.erp-system-ui #click-ads .ca-ref-kpi{padding:18px!important;min-height:116px!important;border:1px solid var(--mg-border)!important;border-radius:9px!important;background:#fff!important;box-shadow:none!important;min-width:0!important}
body.erp-system-ui #click-ads :is(.ca-ref-kpi,.ca-conv-kpi)::before{display:none!important}
body.erp-system-ui #click-ads .ca-ref-kpi>span{font-size:12px!important;color:#7b899a!important;font-weight:400!important}
body.erp-system-ui #click-ads .ca-ref-kpi>b{display:block;font-size:23px!important;font-weight:650!important;line-height:1.35!important;margin:10px 0 6px!important;letter-spacing:-.5px;color:#30435b!important;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
body.erp-system-ui #click-ads .ca-ref-kpi:first-child>b{color:#cb9630!important}
body.erp-system-ui #click-ads .ca-ref-kpi:nth-child(5){background:var(--mg-soft)!important;border-color:var(--theme-accent-border,#d2e9ed)!important}
body.erp-system-ui #click-ads .ca-ref-kpi:nth-child(5)>b{color:var(--mg-accent)!important}
body.erp-system-ui #click-ads :is(.ca-ref-kpi,.ca-conv-kpi)>small{color:#9aa5b3!important;font-size:11px!important;font-weight:400!important;line-height:1.5}
body.erp-system-ui #click-ads .ca-conv-kpis{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:0!important;border:1px solid var(--mg-border);border-radius:9px;background:#fff;padding:14px 0}
body.erp-system-ui #click-ads .ca-conv-kpi{border:0!important;border-right:1px solid #edf1f5!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;min-height:0!important;padding:0 22px!important}
body.erp-system-ui #click-ads .ca-conv-kpi:last-child{border-right:0!important}
body.erp-system-ui #click-ads .ca-conv-kpi>span{font-size:12px!important;color:#7b899a!important;font-weight:400!important}
body.erp-system-ui #click-ads .ca-conv-kpi>b{font-size:20px!important;line-height:1.4!important;color:#455972!important;margin:5px 0!important;font-weight:600!important;font-variant-numeric:tabular-nums}
body.erp-system-ui #click-ads :is(.ca-ref-chart-title,.ca-conv-card-head,.ca-history-table-title){padding:16px 18px!important;border-bottom:1px solid #edf1f5!important;gap:12px;flex-wrap:wrap}
body.erp-system-ui #click-ads :is(.ca-ref-chart-title>span:first-child,.ca-conv-card-head b,.ca-history-table-head-left>b){font-size:14px!important;font-weight:600!important;color:#3c5069!important}
body.erp-system-ui #click-ads :is(.ca-fx-info,.ca-conv-card-head span,#clickAdsCount){font-size:11px!important;color:#8d9bae!important}
body.erp-system-ui #click-ads .ca-ref-chart-area{padding:26px 22px 12px!important}
body.erp-system-ui #click-ads .ca-conversion-grid{grid-template-columns:minmax(0,1fr) minmax(0,1.35fr)!important;gap:14px!important}
body.erp-system-ui #click-ads .ca-funnel-wrap{padding:20px 18px!important}
body.erp-system-ui #click-ads .ca-funnel-track{height:10px!important;border-radius:4px!important;background:#f1f5f8!important}
body.erp-system-ui #click-ads .ca-funnel-fill{border-radius:4px!important}
body.erp-system-ui #click-ads .ca-funnel-summary{font-size:12px!important;border:0!important;background:#f7fafc!important;color:#7b8b9f!important;padding:12px!important;margin-top:20px!important}
body.erp-system-ui #click-ads .ca-conv-bars{padding:16px 18px!important}
body.erp-system-ui #click-ads .ca-history-table-tools{gap:12px!important}
body.erp-system-ui #click-ads .ca-ref-table-wrap{max-height:640px;overflow:auto!important}
body.erp-system-ui #click-ads .ca-ref-table{min-width:1270px!important}
body.erp-system-ui #click-ads .ca-ref-table thead th{position:sticky;top:0;z-index:2;background:#f7f9fb!important;font-size:12px!important;color:#7d8ba0!important;padding:13px 14px!important;border-bottom:1px solid #e9eef3!important}
body.erp-system-ui #click-ads .ca-ref-table td{padding:14px!important;vertical-align:middle!important;border-bottom:1px solid #eef2f5!important;font-size:12px!important}
body.erp-system-ui #click-ads .ca-ref-name{max-width:250px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.erp-system-ui #click-ads .ca-status{border:0!important;border-radius:5px!important;padding:4px 8px!important;font-size:11px!important}
body.erp-system-ui #click-ads .ca-money-stack b{font-size:13px!important;font-weight:550!important;font-variant-numeric:tabular-nums}
body.erp-system-ui #finance .finance-toolbar{padding:16px 18px!important;display:flex!important;flex-direction:column;align-items:stretch!important;gap:12px!important;margin-bottom:16px!important}
body.erp-system-ui #finance .finance-toolbar-left{display:flex!important;align-items:center;flex-wrap:wrap;gap:12px 16px!important;width:100%!important}
body.erp-system-ui #finance .finance-field{gap:9px!important;color:#7b899a!important}
body.erp-system-ui #finance .finance-field>label{font-size:12px!important;color:var(--erp-text-2,#475467)!important;-webkit-text-fill-color:currentColor!important}
body.erp-system-ui #finance .finance-quick{display:flex;flex-wrap:wrap;height:auto!important;padding:0!important;border:0!important;border-radius:0!important;gap:8px!important;background:transparent!important;box-shadow:none!important}
body.erp-system-ui #finance .finance-quick button[data-finance-range]{height:34px!important;min-height:34px!important;padding:0 12px!important;border:1px solid #dbe3ec!important;border-radius:6px!important;background:#fff!important;color:#6d7b8d!important;-webkit-text-fill-color:currentColor!important;font-size:12px!important;font-weight:400!important;box-shadow:none!important;white-space:nowrap}
body.erp-system-ui #finance .finance-quick button[data-finance-range]:not(.active):hover{background:var(--mg-soft)!important;border-color:var(--mg-accent)!important;color:var(--mg-accent)!important}
body.erp-system-ui #finance .finance-quick button[data-finance-range].active{background:var(--mg-accent)!important;border-color:var(--mg-accent)!important;color:#fff!important;-webkit-text-fill-color:#fff!important}
body.erp-system-ui #finance .finance-quick button[data-finance-range].active:hover{background:var(--theme-accent-deep,var(--mg-accent))!important;border-color:var(--theme-accent-deep,var(--mg-accent))!important;color:#fff!important}
body.erp-system-ui #finance .finance-date-field{display:flex!important;align-items:center!important;gap:8px!important;min-width:0;max-width:100%}
body.erp-system-ui #finance .finance-date-field>label{flex:none;white-space:nowrap}
body.erp-system-ui #finance .finance-toolbar :is(.btn,#financeLoadBtn,#financeRebuildBtn){height:34px!important;min-height:34px!important;border-radius:6px!important;font-size:12px!important;padding:0 12px!important;box-shadow:none!important;font-weight:500!important}
body.erp-system-ui #finance #financeLoadBtn{background:var(--mg-accent)!important;border-color:var(--mg-accent)!important;color:white!important}
body.erp-system-ui #finance #financeRebuildBtn{background:#fff!important;color:#8b98a9!important;border:1px solid #e4eaf0!important}
body.erp-system-ui #finance .finance-source-wrap-v3262{display:flex!important;align-items:center!important;justify-content:space-between;flex-wrap:wrap;gap:8px;width:100%;border-top:1px solid #eff3f6;padding-top:11px!important;text-align:left!important}
body.erp-system-ui #finance :is(.finance-source,.finance-fx-live-v3262){font-size:11px!important;font-weight:400!important;color:#8a99aa!important;margin:0!important;padding:0!important;border:0!important;background:none!important}
body.erp-system-ui #finance .finance-v3278-boards{display:flex!important;flex-direction:column;gap:14px!important}
body.erp-system-ui #finance .finance-v3278-board{padding:0!important;overflow:hidden}
body.erp-system-ui #finance .finance-v3278-board-head{display:flex;align-items:center;justify-content:space-between;padding:17px 20px!important;border-bottom:1px solid #edf1f5!important;background:#fff!important;gap:12px}
body.erp-system-ui #finance .finance-v3278-board-head>div>b{font-size:15px!important;font-weight:600!important;color:#344a64!important}
body.erp-system-ui #finance .finance-v3278-board-head>div>span{display:block;margin-top:5px!important;font-size:11px!important;font-weight:400!important;color:#9aa5b4!important;line-height:1.5!important}
body.erp-system-ui #finance .mg-board-tag{display:inline-flex;align-items:center;gap:6px;white-space:nowrap;padding:5px 9px;background:var(--mg-soft);color:var(--mg-accent);border-radius:5px;font-size:11px}
body.erp-system-ui #finance .mg-board-tag::before{content:'';width:5px;height:5px;background:currentColor;border-radius:50%}
body.erp-system-ui #finance .finance-v3278-board-pending .mg-board-tag{background:#f1f4f8;color:#8896a9}
body.erp-system-ui #finance .finance-v3278-metrics{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:1px!important;padding:0!important;background:#edf1f5!important}
body.erp-system-ui #finance .finance-v3278-metrics>div{display:flex!important;flex-direction:column;align-items:flex-start!important;justify-content:flex-start!important;min-height:128px!important;min-width:0;padding:22px!important;border:0!important;border-radius:0!important;background:#fff!important;box-shadow:none!important}
body.erp-system-ui #finance .finance-v3278-metrics>div>span{font-size:12px!important;color:#8190a3!important;font-weight:400!important}
body.erp-system-ui #finance .finance-v3278-metrics>div>b{font-size:24px!important;line-height:1.35!important;letter-spacing:-.5px!important;margin:9px 0 4px!important;font-weight:650!important;color:#30465f;white-space:normal!important;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
body.erp-system-ui #finance .finance-v3278-metrics>div>small{font-size:11px!important;color:#98a5b5!important;line-height:1.5!important;margin-top:0!important}
body.erp-system-ui #finance .finance-v3278-metrics>.finance-v3278-profit-cell{background:var(--mg-soft)!important}
body.erp-system-ui #finance #finActualProfit{color:var(--mg-accent)}
body.erp-system-ui #finance #finActualProfit.finance-profit-negative{color:#c15d61!important}
body.erp-system-ui #finance #finEstimatedProfit.finance-profit-negative{color:#c15d61!important}
body.erp-system-ui #finance .finance-v3278-all-metrics>div:nth-child(n+5){min-height:106px!important;padding:18px 22px!important;background:#fcfdfe!important}
body.erp-system-ui #finance .finance-v3278-all-metrics>div:nth-child(n+5)>b{font-size:20px!important}
body.erp-system-ui #finance .finance-v3278-board-pending .finance-v3278-metrics>div{min-height:118px!important}
body.erp-system-ui #finance .finance-v3278-board-pending .finance-v3278-profit-cell{background:#f7f9fc!important}
body.erp-system-ui #finance #finQualityNote:empty{display:none}
body.erp-system-ui #finance #finQualityNote:not(:empty){padding:10px 16px!important;border:1px solid #eceff3;border-radius:7px;background:#f8fafc;font-size:11px!important;color:#8291a4!important}
body.erp-system-ui #finance .mg-accounting-note{padding:10px 15px;color:#8b99ac;font-size:11px;line-height:1.8}
body.erp-system-ui #finance .mg-accounting-note summary{cursor:pointer;width:max-content;max-width:100%}
body.erp-system-ui #finance .mg-accounting-note p{margin:8px 0 0}
body.erp-system-ui #finance .finance-simple-more{margin:16px 0!important}
body.erp-system-ui #finance .finance-simple-more-btn{width:100%!important;display:flex!important;align-items:center!important;justify-content:space-between!important;border:1px solid var(--mg-border)!important;border-radius:8px!important;background:#fff!important;color:#6c7e93!important;padding:13px 18px!important;font-size:13px!important;box-shadow:none!important}
body.erp-system-ui #finance .finance-card-head{padding:16px 18px!important;gap:12px!important;flex-wrap:wrap;border-bottom:1px solid #eef2f5!important}
body.erp-system-ui #finance .finance-card-head b{font-size:14px!important;font-weight:600!important;color:#3c5069!important}
body.erp-system-ui #finance .finance-card-head span{font-size:11px!important;color:#91a0b2!important}
body.erp-system-ui #finance :is(.finance-table-scroll,.finance-simple-table-scroll){overflow:auto!important;max-height:650px}
body.erp-system-ui #finance .finance-table th{padding:13px 15px!important;background:#f7f9fb!important;font-size:12px!important;color:#8290a4!important;position:sticky;top:0;z-index:1}
body.erp-system-ui #finance .finance-table td{padding:14px 15px!important;border-color:#edf1f5!important;font-size:12px!important}
body.erp-system-ui #finance .finance-easy-audit-note{padding:11px 16px!important;font-size:12px!important;color:#8b99aa!important;margin-bottom:12px}

/* Compact 14px SVG chevrons in a 16px alignment slot. */
html body.erp-system-ui aside.side .nav button > .nav-arrow,
html body.erp-system-ui aside.side .nav button:is(:hover,:active,.active) > .nav-arrow{display:flex!important;align-items:center!important;justify-content:center!important;width:16px!important;min-width:16px!important;max-width:16px!important;height:16px!important;font-size:0!important;line-height:1!important}
html body.erp-system-ui aside.side .nav button > .nav-arrow svg,
html body.erp-system-ui aside.side .nav button:is(:hover,:active,.active) > .nav-arrow svg{width:14px!important;height:14px!important;fill:none!important;stroke:currentColor!important;stroke-width:1.6!important;stroke-linecap:round;stroke-linejoin:round;transform:rotate(0deg)!important;transition:transform .18s ease!important}
html body.erp-system-ui aside.side .nav .nav-parent-block.open>button.nav-parent>.nav-arrow svg{transform:rotate(90deg)!important}
html body.erp-system-ui aside.side #erpMainNav button{grid-template-columns:20px minmax(0,1fr) 16px!important}
html body.erp-system-ui.erp-sidebar-collapsed aside.side .nav button > .nav-arrow{display:none!important}
html body.erp-system-ui.erp-sidebar-collapsed aside.side #erpMainNav button{grid-template-columns:1fr!important}
@media(prefers-reduced-motion:reduce){html body.erp-system-ui aside.side .nav button>.nav-arrow svg{transition:none!important}}

/* Long device-bound activation codes stay copyable without stretching tables. */
.lc-table-wrap code{display:inline-block;max-width:230px;vertical-align:middle;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.lc-dialog .lc-device-block{background:#f7fafc;border:1px solid #e5ebf1;border-radius:8px;padding:14px;margin:14px 0}
.lc-dialog :is(.lc-device-block,[data-lc-offline-field]) textarea{font:11px/1.6 ui-monospace,monospace;word-break:break-all;resize:vertical}
.lc-dialog .lc-offline-export{padding:14px 16px;border:1px solid #deedf0;border-radius:9px;background:var(--theme-accent-soft,#f2fafb);margin-bottom:18px}
.lc-dialog .lc-offline-export h3{margin:0 0 8px;font-size:16px}
.lc-dialog [data-lc-offline-field][hidden],.lc-dialog [data-lc-online-field][hidden]{display:none!important}
.lc-dialog [data-lc-result-codes]{overflow-wrap:anywhere;word-break:break-all}
.lc-dialog p>code{word-break:break-all;font-size:11px}
@media(max-width:1400px){
 body.erp-system-ui #click-ads .ca-ref-kpis{grid-template-columns:repeat(3,minmax(0,1fr))!important}
 body.erp-system-ui #click-ads .ca-ref-kpi{min-height:107px!important;padding:16px 18px!important}
}
@media(max-width:1024px){
 body.erp-system-ui #click-ads .ca-conversion-grid{grid-template-columns:minmax(0,1fr)!important}
 body.erp-system-ui #finance .finance-v3278-metrics{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 body.erp-system-ui #click-ads .ca-conv-kpis{grid-template-columns:repeat(2,minmax(0,1fr))!important;row-gap:20px!important}
 body.erp-system-ui #click-ads .ca-conv-kpi:nth-child(2){border-right:0!important}
}
@media(max-width:700px){
 body.erp-system-ui :is(#click-ads,#finance) .mg-heading{align-items:flex-start;flex-direction:column;gap:8px}
 body.erp-system-ui #click-ads .ca-ref-kpis{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 body.erp-system-ui #click-ads .ca-sync-info{margin-left:0;flex-basis:100%}
 body.erp-system-ui #finance .finance-v3278-metrics>div{padding:16px!important}
 body.erp-system-ui #finance .finance-v3278-metrics>div>b{font-size:21px!important}
}

/* 4.4.1: compact returns workspace; full details remain in the existing dialog. */
body.erp-system-ui #returns .returns-shell-v3300{display:flex!important;flex-direction:column;gap:14px!important}
body.erp-system-ui #returns .returns-head-v3300{padding:2px 0!important;background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;min-height:52px}
body.erp-system-ui #returns .returns-head-copy-v3300>b{font-size:20px!important;color:#293c52!important;font-weight:650!important}
body.erp-system-ui #returns .returns-head-copy-v3300>span{font-size:12px!important;color:#8a98a9!important}
body.erp-system-ui #returns .returns-refresh-v3300{height:34px!important;min-height:34px!important;border-radius:6px!important;font-size:12px!important;font-weight:500!important;background:var(--mg-accent)!important;border-color:var(--mg-accent)!important;color:white!important;-webkit-text-fill-color:white!important;box-shadow:none!important}
body.erp-system-ui #returns .returns-refresh-v3300:hover{background:var(--theme-accent-deep,var(--mg-accent))!important}
body.erp-system-ui #returns .returns-toolbar-v3300{display:flex!important;flex-wrap:wrap!important;align-items:center!important;gap:12px 20px!important;padding:16px!important;border:1px solid var(--mg-border)!important;border-radius:8px!important;box-shadow:none!important}
body.erp-system-ui #returns .returns-field-v3300{display:flex!important;align-items:center!important;flex-direction:row!important;gap:8px!important;min-width:0!important}
body.erp-system-ui #returns .returns-field-v3300>label{white-space:nowrap;font-size:12px!important;color:var(--erp-text-2,#475467)!important;-webkit-text-fill-color:currentColor!important;font-weight:400!important}
body.erp-system-ui #returns .returns-field-v3300 :is(select,.erp-select-host){min-width:110px!important;width:130px!important}
body.erp-system-ui #returns .returns-shop-field-v3300 :is(select,.erp-select-host){width:170px!important}
body.erp-system-ui #returns :is(select,.erp-select-button,input){height:34px!important;min-height:34px!important;border-radius:6px!important;border-color:#e3e9ef!important;color:#7d8b9d!important;font-size:12px!important;box-shadow:none!important}
body.erp-system-ui #returns .returns-range-v3300{gap:2px!important;padding:3px!important;background:color-mix(in srgb,var(--theme-accent-soft,#dff5f8) 25%,#fff)!important;border:0!important;border-radius:6px!important}
body.erp-system-ui #returns .returns-range-v3300 button{border:0!important;border-radius:4px!important;padding:0 10px!important;height:28px!important;min-height:28px!important;background:transparent!important;color:#8b98a8!important;font-size:12px!important;box-shadow:none!important;font-weight:400!important}
body.erp-system-ui #returns .returns-range-v3300 button.active{background:var(--theme-accent-soft,#dff5f8)!important;color:var(--theme-accent-deep,#148fa2)!important;-webkit-text-fill-color:currentColor!important;box-shadow:0 1px 4px #1c334510!important}
body.erp-system-ui #returns .returns-range-v3300 button:not(.active):hover{background:color-mix(in srgb,var(--theme-accent-soft,#dff5f8) 50%,#fff)!important;color:var(--theme-accent-deep,#148fa2)!important;-webkit-text-fill-color:currentColor!important}
body.erp-system-ui #returns .returns-search-v3300{display:flex!important;align-items:center!important;gap:8px!important;padding:0 10px!important;height:34px!important;min-height:34px!important;min-width:220px!important;flex:1 1 250px!important;border:1px solid #e3e9ef!important;border-radius:6px!important;background:#fff!important}
body.erp-system-ui #returns .returns-search-v3300 svg{flex:0 0 16px;fill:none;stroke:#9aa6b6;stroke-width:1.7;stroke-linecap:round}
body.erp-system-ui #returns .returns-search-v3300 input{border:0!important;height:30px!important;min-height:30px!important;min-width:0!important;width:100%!important;padding:0!important;background:transparent!important}
body.erp-system-ui #returns .returns-search-v3300 input::placeholder{color:#a2adbc!important}
body.erp-system-ui #returns .returns-sync-v3300{padding:0 2px!important;margin:0!important;font-size:11px!important;line-height:1.5;color:#8f9bac!important;background:transparent!important;border:0!important;min-height:0!important}
body.erp-system-ui #returns .returns-kpis-v3300{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:0!important;padding:16px 0!important;border:1px solid var(--mg-border)!important;border-radius:8px!important;background:#fff!important}
body.erp-system-ui #returns .returns-kpi-v3300{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;min-height:30px!important;padding:0 24px!important;border:0!important;border-right:1px solid #edf1f5!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}
body.erp-system-ui #returns .returns-kpi-v3300:last-child{border-right:0!important}
body.erp-system-ui #returns .returns-kpi-v3300::before{display:none!important}
body.erp-system-ui #returns .returns-kpi-v3300>span{font-size:12px!important;color:#8996a8!important;font-weight:400!important}
body.erp-system-ui #returns .returns-kpi-v3300>b{font-size:22px!important;font-weight:600!important;color:#435871!important;line-height:1.3!important;margin:0!important;font-variant-numeric:tabular-nums}
body.erp-system-ui #returns .returns-kpi-v3300.total>b{color:var(--mg-accent)!important}
body.erp-system-ui #returns .returns-table-card-v3300{border:1px solid var(--mg-border)!important;border-radius:8px!important;background:#fff!important;box-shadow:none!important;overflow:hidden}
body.erp-system-ui #returns .returns-table-head-v3300{padding:15px 16px!important;border-bottom:1px solid #edf1f5!important;background:#fff!important}
body.erp-system-ui #returns .returns-table-head-v3300 b{font-size:14px!important;font-weight:550!important;color:#43566d!important}
body.erp-system-ui #returns .returns-table-head-v3300 span{font-size:11px!important;color:#98a4b3!important}
body.erp-system-ui #returns .returns-table-wrap-v3300{overflow:auto!important;max-height:650px}
body.erp-system-ui #returns .returns-table-v3300{min-width:1190px!important;width:100%!important;table-layout:fixed!important}
body.erp-system-ui #returns .returns-table-v3300 th{position:sticky;top:0;z-index:1;background:#f7f9fb!important;padding:12px 14px!important;font-size:12px!important;color:#8190a3!important;font-weight:500!important;border-bottom:1px solid #e8edf3!important}
body.erp-system-ui #returns .returns-table-v3300 td{padding:16px 14px!important;font-size:12px!important;vertical-align:middle!important;color:#6f8095!important;border-bottom:1px solid #edf1f5!important;overflow-wrap:anywhere}
body.erp-system-ui #returns .returns-table-v3300 th:nth-child(1){width:120px!important}
body.erp-system-ui #returns .returns-table-v3300 th:nth-child(2){width:300px!important}
body.erp-system-ui #returns .returns-table-v3300 th:nth-child(3){width:185px!important}
body.erp-system-ui #returns .returns-table-v3300 th:nth-child(4){width:170px!important}
body.erp-system-ui #returns .returns-table-v3300 th:nth-child(5){width:135px!important}
body.erp-system-ui #returns .returns-table-v3300 th:nth-child(6){width:145px!important}
body.erp-system-ui #returns .returns-table-v3300 th:nth-child(7){width:110px!important}
body.erp-system-ui #returns .returns-table-v3300 th:nth-child(8){width:80px!important}
body.erp-system-ui #returns .ret-shop-name-v441{font-weight:500!important;color:#5b708c!important}
body.erp-system-ui #returns .ret-product-v3300{gap:12px!important;align-items:center!important;min-width:0!important}
body.erp-system-ui #returns :is(.ret-img-v3300,.ret-img-ph-v3300){width:62px!important;height:62px!important;min-width:62px!important;flex:0 0 62px!important;border:1px solid #edf1f5!important;border-radius:6px!important;object-fit:contain!important}
body.erp-system-ui #returns .ret-product-copy-v3300{min-width:0!important;flex:1!important}
body.erp-system-ui #returns :is(.ret-product-name-v3300,.ret-product-meta-v3300){display:block!important;font-size:12px!important;font-weight:400!important;line-height:1.9!important;margin:0!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;color:#8b98aa!important;-webkit-line-clamp:unset!important}
body.erp-system-ui #returns :is(.ret-product-name-v3300,.ret-product-meta-v3300)>span{color:#5285bc!important}
body.erp-system-ui #returns .ret-id-v3300{font-size:12px!important;font-weight:500!important;color:#587faa!important}
body.erp-system-ui #returns .ret-sub-v3300{font-size:11px!important;line-height:1.7!important;margin-top:4px!important;color:#96a2b1!important}
body.erp-system-ui #returns .ret-reason-v3300{font-size:12px!important;font-weight:400!important;color:#7a899d!important;line-height:1.7!important;display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical;overflow:hidden!important}
body.erp-system-ui #returns .ret-status-v3300{border:0!important;border-radius:4px!important;font-size:11px!important;padding:4px 8px!important;font-weight:400!important;white-space:normal!important}
body.erp-system-ui #returns .ret-money-v3300>b{font-size:14px!important;font-weight:550!important;color:#667d99!important;font-variant-numeric:tabular-nums}
body.erp-system-ui #returns .ret-detail-btn-v3300{padding:5px 12px!important;min-height:29px!important;border:1px solid var(--theme-accent-border,#cde5ea)!important;border-radius:5px!important;background:var(--mg-soft)!important;color:var(--mg-accent)!important;font-size:12px!important;font-weight:400!important;box-shadow:none!important}
body.erp-system-ui #returns .ret-detail-btn-v3300:hover{background:var(--mg-accent)!important;border-color:var(--mg-accent)!important;color:#fff!important}
body.erp-system-ui #returns .returns-pager-v3300{padding:13px 16px!important;font-size:12px!important;color:#8b99aa!important;border-top:0!important}
body.erp-system-ui #returns :is(button,input,.erp-select-button):focus-visible{outline:2px solid var(--mg-accent)!important;outline-offset:2px}
@media(max-width:850px){body.erp-system-ui #returns .returns-kpis-v3300{grid-template-columns:repeat(2,minmax(0,1fr))!important;row-gap:18px!important}body.erp-system-ui #returns .returns-kpi-v3300:nth-child(2){border-right:0!important}body.erp-system-ui #returns .returns-kpi-v3300{padding:0 18px!important}}

/* Identify the running package on both login and workspace pages. */
body.erp-system-ui .erp-runtime-label{display:inline-flex;align-items:center;white-space:nowrap;color:#8896a7;font-size:11px;line-height:1.5;font-weight:400}
body.erp-system-ui #authRuntimeLabel{margin:0 0 12px;padding:4px 9px;border:1px solid #e4eaf1;border-radius:5px;background:#f8fafc}
body.erp-system-ui #authRuntimeLabel:empty{display:none}
body.erp-system-ui #erpBuildBadge{margin-left:8px;padding:4px 8px;border-left:1px solid #e6ecf2}

/* 4.4.4: colorful metric icons in the content workspace. */
html body.erp-system-ui .main .erp-tone-blue{--erp-icon-ink:#427ce6;--erp-icon-wash:#edf3ff;--erp-icon-line:#dee9fe}
html body.erp-system-ui .main .erp-tone-green{--erp-icon-ink:#219a72;--erp-icon-wash:#eaf8f1;--erp-icon-line:#d4eee2}
html body.erp-system-ui .main .erp-tone-cyan{--erp-icon-ink:#168fa9;--erp-icon-wash:#eaf7fb;--erp-icon-line:#d7edf4}
html body.erp-system-ui .main .erp-tone-violet{--erp-icon-ink:#8660cf;--erp-icon-wash:#f2edfc;--erp-icon-line:#e8ddf9}
html body.erp-system-ui .main .erp-tone-amber{--erp-icon-ink:#d58c24;--erp-icon-wash:#fff6e7;--erp-icon-line:#f9e6c6}
html body.erp-system-ui .main .erp-tone-rose{--erp-icon-ink:#ce6b82;--erp-icon-wash:#fdf0f4;--erp-icon-line:#f5dfe6}
html body.erp-system-ui .main :is(#dashboard,#click-ads,#finance,#returns,#shops) .erp-color-icon{
 display:inline-flex!important;align-items:center!important;justify-content:center!important;flex:0 0 32px!important;
 width:32px!important;min-width:32px!important;max-width:32px!important;height:32px!important;min-height:32px!important;
 margin:0!important;padding:0!important;border:1px solid var(--erp-icon-line)!important;border-radius:9px!important;
 background:var(--erp-icon-wash)!important;color:var(--erp-icon-ink)!important;-webkit-text-fill-color:var(--erp-icon-ink)!important;
 box-sizing:border-box!important;line-height:1!important;font-size:0!important;font-style:normal!important;box-shadow:none!important;
 vertical-align:middle;pointer-events:none;
}
html body.erp-system-ui .main :is(#dashboard,#click-ads,#finance,#returns,#shops) .erp-color-icon>svg{
 display:block!important;flex:none!important;width:19px!important;min-width:19px!important;max-width:19px!important;height:19px!important;
 min-height:19px!important;max-height:19px!important;margin:0!important;padding:0!important;
 fill:none!important;stroke:currentColor!important;stroke-width:1.7!important;overflow:visible!important;
}
html body.erp-system-ui .main :is(#dashboard,#click-ads,#finance,#returns) .erp-metric-label{
 display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:9px!important;
 min-height:32px!important;min-width:0!important;color:#8290a3!important;font-size:12px!important;font-weight:400!important;
 line-height:1.5!important;text-align:left!important;white-space:normal!important;
}
html body.erp-system-ui .main :is(#dashboard,#click-ads,#finance,#returns,#shops) .erp-caption{
 position:relative!important;padding-left:46px!important;min-height:36px!important;box-sizing:border-box!important;
}
html body.erp-system-ui .main :is(#dashboard,#click-ads,#finance,#returns,#shops) .erp-caption>.erp-color-icon{
 position:absolute!important;left:0!important;top:50%!important;transform:translateY(-50%)!important;
 width:34px!important;min-width:34px!important;max-width:34px!important;height:34px!important;min-height:34px!important;
}
body.erp-system-ui #dashboard .erp-overview-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 16px;padding:2px 0}
body.erp-system-ui #dashboard .erp-overview-heading h2{font-size:20px;font-weight:650;letter-spacing:.1px;margin:0 0 5px;color:#293c52}
body.erp-system-ui #dashboard .erp-overview-heading p{font-size:12px;line-height:1.6;margin:0;color:#8492a3}
body.erp-system-ui #dashboard .erp-overview-heading>span{font-size:12px;color:#8795a7;white-space:nowrap}
body.erp-system-ui #dashboard .screen-metric-grid{grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:12px!important;margin-bottom:16px!important}
body.erp-system-ui #dashboard .screen-metric.erp-metric-card{
 min-width:0!important;min-height:116px!important;padding:16px!important;border:1px solid #e4ebf2!important;border-radius:10px!important;
 background:linear-gradient(135deg,#fff 58%,var(--erp-icon-wash))!important;box-shadow:0 2px 6px #26395004!important;
}
body.erp-system-ui #dashboard .screen-metric.erp-metric-card::before{display:none!important}
body.erp-system-ui #dashboard .screen-metric.erp-metric-card::after{height:2px!important;background:var(--erp-icon-ink)!important;opacity:.24!important}
body.erp-system-ui #dashboard .screen-metric-top{min-height:32px!important;justify-content:flex-start!important}
body.erp-system-ui #dashboard .screen-metric-value{margin-top:13px!important;font-weight:650!important;letter-spacing:-.3px!important;font-variant-numeric:tabular-nums;line-height:1.4!important;overflow-wrap:anywhere}
body.erp-system-ui #dashboard .screen-card{border:1px solid #e4ebf2!important;border-radius:10px!important;box-shadow:0 2px 6px #26395004!important}
body.erp-system-ui #dashboard .screen-card-head{padding:14px 18px!important;background:#fff!important;gap:12px!important}
body.erp-system-ui #dashboard .screen-card-head b{font-weight:600!important}
body.erp-system-ui #dashboard .screen-card-head>div>span:not(.erp-color-icon){display:block!important;margin-top:5px!important;font-size:11px!important;color:#8e9bac!important}
body.erp-system-ui #dashboard .screen-top-table tbody tr:last-child td{border-bottom:0!important}
body.erp-system-ui #click-ads .ca-ref-kpi.erp-metric-card{justify-content:flex-start!important;min-height:140px!important;gap:2px!important;background:linear-gradient(135deg,#fff 65%,var(--erp-icon-wash))!important}
body.erp-system-ui #click-ads .ca-ref-kpi.erp-metric-card>b{margin-top:12px!important}
body.erp-system-ui #click-ads .ca-ref-kpi.erp-metric-card:nth-child(5){border-color:var(--erp-icon-line)!important}
body.erp-system-ui #click-ads .ca-ref-kpi.erp-metric-card:nth-child(5)>b{color:var(--erp-icon-ink)!important}
body.erp-system-ui #click-ads .ca-conv-kpi.erp-metric-card>b{margin-top:9px!important}
body.erp-system-ui #finance .finance-v3278-metrics>.erp-metric-card{padding:20px 22px!important;min-height:143px!important}
body.erp-system-ui #finance .finance-v3278-metrics>.erp-metric-card>b{margin-top:12px!important}
body.erp-system-ui #finance .finance-v3278-all-metrics>.erp-metric-card:nth-child(n+5){padding:18px 22px!important;min-height:128px!important}
html body.erp-system-ui .main :is(#returns,#click-ads) :is(.returns-kpi-v3300,.ca-conv-kpi) .erp-color-icon{
 flex-basis:26px!important;width:26px!important;min-width:26px!important;max-width:26px!important;height:26px!important;min-height:26px!important;border-radius:7px!important;
}
html body.erp-system-ui .main :is(#returns,#click-ads) :is(.returns-kpi-v3300,.ca-conv-kpi) .erp-color-icon>svg{width:16px!important;min-width:16px!important;max-width:16px!important;height:16px!important;min-height:16px!important;max-height:16px!important}
body.erp-system-ui #profit-calculator .profit-tool-icon-v3249{background:#edf3ff!important;border-color:#dee9fe!important;color:#427ce6!important}
body.erp-system-ui #profit-calculator .profit-prefix-icon-v3249{background:#f2edfc!important;border-color:#e8ddf9!important;color:#8660cf!important}
body.erp-system-ui #profit-calculator .profit-add-icon-v3249{background:#eaf8f1!important;border-color:#d4eee2!important;color:#219a72!important}
@media(max-width:1380px){
 body.erp-system-ui #dashboard .screen-metric-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
 body.erp-system-ui #dashboard .screen-metric.erp-metric-card{min-height:108px!important}
}
@media(max-width:850px){
 body.erp-system-ui #dashboard .screen-metric-grid{gap:10px!important}
 body.erp-system-ui #dashboard .screen-metric.erp-metric-card{padding:14px!important}
 body.erp-system-ui #finance .finance-v3278-metrics>.erp-metric-card,
 body.erp-system-ui #finance .finance-v3278-all-metrics>.erp-metric-card:nth-child(n+5){padding:16px!important}
 body.erp-system-ui #dashboard .erp-overview-heading>span{display:none}
}
@media(max-width:640px){
 body.erp-system-ui #dashboard .screen-metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}

/* 4.4.6: only field contents are muted; external labels use ERP body text. */
body.erp-system-ui{
 --erp-field-value:var(--erp-muted,#8a98a9);
 --erp-field-placeholder:color-mix(in srgb,var(--erp-muted,#8a98a9) 78%,#fff);
}
html body.erp-system-ui #procurement #procurement-app :is(.pc-field,.pc-date-filter)>span:first-child{
 color:var(--erp-text-2,#475467)!important;-webkit-text-fill-color:currentColor!important;
}
html body.erp-system-ui :is(
 #returns .returns-toolbar-v3300,
 #click-ads .ca-ref-filter-card,
 #finance .finance-toolbar,
 #products #pm-app .pm-toolbar,
 #procurement #procurement-app [data-pc-filters],
 #license-codes #license-codes-app .lc-filter-card,
 #accounts #accountUserPanel .account-filterbar
) :is(input:not([type=checkbox]):not([type=radio]):not([type=file]):not(:disabled),select:not(:disabled),.erp-select-button:not(:disabled),.erp-select-button:not(:disabled) .erp-select-label){
 color:var(--erp-field-value)!important;-webkit-text-fill-color:currentColor!important;font-weight:400!important;
}
html body.erp-system-ui :is(
 #returns .returns-toolbar-v3300,
 #click-ads .ca-ref-filter-card,
 #finance .finance-toolbar,
 #products #pm-app .pm-toolbar,
 #procurement #procurement-app [data-pc-filters],
 #license-codes #license-codes-app .lc-filter-card,
 #accounts #accountUserPanel .account-filterbar
) input::placeholder{color:var(--erp-field-placeholder)!important;-webkit-text-fill-color:currentColor!important;opacity:1!important}
html body.erp-system-ui :is(
 #returns .returns-toolbar-v3300,
 #click-ads .ca-ref-filter-card,
 #finance .finance-toolbar,
 #products #pm-app .pm-toolbar,
 #procurement #procurement-app [data-pc-filters],
 #license-codes #license-codes-app .lc-filter-card,
 #accounts #accountUserPanel .account-filterbar
) :is(input:not([type=checkbox]):not([type=radio]):not([type=file]),select):focus:not(.returns-search-v3300 input):not(.pc-date-range input){
 border-color:var(--theme-accent,#20aec2)!important;
 box-shadow:0 0 0 3px color-mix(in srgb,var(--theme-accent,#20aec2) 10%,transparent)!important;outline:none!important;
}
html body.erp-system-ui #returns .returns-toolbar-v3300 .erp-select-button:hover:not(:disabled){
 background:color-mix(in srgb,var(--theme-accent,#20aec2) 3%,#fff)!important;
}
html body.erp-system-ui #returns .returns-search-v3300:hover:not(:focus-within){border-color:color-mix(in srgb,var(--theme-accent,#20aec2) 45%,#c7d3dc)!important}
html body.erp-system-ui #returns .returns-search-v3300:focus-within{
 border-color:var(--theme-accent,#20aec2)!important;
 box-shadow:0 0 0 3px color-mix(in srgb,var(--theme-accent,#20aec2) 10%,transparent)!important;
}
html body.erp-system-ui #returns .returns-search-v3300 input:focus{outline:none!important;border:0!important;box-shadow:none!important}

/* 4.4.7: compact conversion metrics and a theme-aware pricing workspace. */
html body.erp-system-ui #click-ads .ca-conv-kpis{padding:18px 0!important;border-radius:10px!important;align-items:stretch}
html body.erp-system-ui #click-ads .ca-conv-kpi{display:flex!important;flex-direction:column!important;justify-content:flex-start!important;gap:8px!important;padding:0 20px!important}
html body.erp-system-ui #click-ads .ca-conv-kpi::after{display:none!important}
html body.erp-system-ui .main #click-ads .ca-conv-kpi>span.erp-metric-label{min-height:26px!important;color:var(--erp-text-2,#475467)!important;-webkit-text-fill-color:currentColor!important}
html body.erp-system-ui #click-ads .ca-conv-kpi>b,
html body.erp-system-ui #click-ads .ca-conv-value-v447>b{display:block!important;margin:0!important;font-size:22px!important;line-height:1.4!important;font-weight:650!important;color:var(--erp-text,#30435b)!important;font-variant-numeric:tabular-nums;overflow-wrap:anywhere;letter-spacing:-.3px}
html body.erp-system-ui #click-ads .ca-conv-kpi>b{padding-left:35px}
html body.erp-system-ui #click-ads .ca-conv-value-v447{display:flex;align-items:baseline;flex-wrap:wrap;gap:3px 10px;padding-left:35px;min-width:0}
html body.erp-system-ui #click-ads .ca-conv-value-v447>small{font-size:11px!important;font-weight:400!important;line-height:1.5;color:var(--erp-muted,#8a98a9)!important;overflow-wrap:anywhere}

html body.erp-system-ui #profit-calculator{
 --profit-line:#e4eaf1;--profit-text:var(--erp-text,#293c52);--profit-label:var(--erp-text-2,#475467);
 --profit-muted:var(--erp-muted,#8a98a9);--profit-accent:var(--theme-accent,#20aec2);--profit-deep:var(--theme-accent-deep,#168b9d);
 --profit-soft:var(--theme-accent-soft,#edf9fb);color:var(--profit-text);
}
html body.erp-system-ui #profit-calculator .profit-shell-v3249{gap:16px!important}
html body.erp-system-ui #profit-calculator .profit-heading-v447{display:flex;align-items:center;gap:12px;padding:2px 0}
html body.erp-system-ui #profit-calculator .profit-heading-v447 h2{margin:0 0 5px;font-size:20px;font-weight:650;line-height:1.4;color:var(--profit-text)}
html body.erp-system-ui #profit-calculator .profit-heading-v447 p{margin:0;font-size:12px;line-height:1.5;color:var(--profit-muted)}
html body.erp-system-ui #profit-calculator .profit-heading-icon-v447{display:inline-flex;align-items:center;justify-content:center;flex:0 0 40px;height:40px;border-radius:11px;background:var(--profit-soft);border:1px solid color-mix(in srgb,var(--profit-accent) 18%,#e4eaf1);color:var(--profit-deep)}
html body.erp-system-ui #profit-calculator :is(.profit-heading-icon-v447,.profit-detail-title-v3249>i)>svg{display:block;width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
html body.erp-system-ui #profit-calculator .profit-top-grid-v3249{gap:14px!important;grid-template-columns:repeat(3,minmax(0,1fr))}
html body.erp-system-ui #profit-calculator .profit-tool-card-v3249{min-width:0;min-height:144px!important;border:1px solid var(--profit-line)!important;border-radius:10px!important;padding:18px!important;gap:16px;background:#fff!important;box-shadow:0 2px 6px #26395004!important}
html body.erp-system-ui #profit-calculator .profit-tool-card-v3249:nth-child(1){background:linear-gradient(135deg,#fff 62%,#f5f8ff)!important}
html body.erp-system-ui #profit-calculator .profit-tool-card-v3249:nth-child(2){background:linear-gradient(135deg,#fff 62%,#faf7ff)!important}
html body.erp-system-ui #profit-calculator .profit-tool-card-v3249:nth-child(3){background:linear-gradient(135deg,#fff 62%,#f2faf6)!important}
html body.erp-system-ui #profit-calculator .profit-tool-icon-v3249{width:36px;height:36px;flex-basis:36px;border:1px solid;border-radius:10px}
html body.erp-system-ui #profit-calculator .profit-tool-head-v3249{align-items:flex-start;gap:11px}
html body.erp-system-ui #profit-calculator .profit-tool-head-v3249 b{font-size:14px;font-weight:600;color:var(--profit-text)}
html body.erp-system-ui #profit-calculator .profit-tool-head-v3249>div>span{font-size:11px;font-weight:400;color:var(--profit-muted);line-height:1.6}
html body.erp-system-ui #profit-calculator .profit-inline-action-v3249{margin-top:0;gap:8px}
html body.erp-system-ui #profit-calculator .profit-batch-action-v3249{grid-template-columns:minmax(56px,1fr) auto auto}
html body.erp-system-ui #profit-calculator .profit-tool-card-v3249>.profit-primary-btn-v3249{width:auto;align-self:flex-start;margin-top:0;min-width:116px}
html body.erp-system-ui #profit-calculator :is(.profit-primary-btn-v3249,.profit-secondary-btn-v3249,.profit-danger-btn-v3249,.profit-reset-btn-v3249){height:36px;min-height:36px;border-radius:7px;font-size:12px;font-weight:500;padding:0 15px;box-shadow:none!important}
html body.erp-system-ui #profit-calculator .profit-primary-btn-v3249{background:var(--profit-accent)!important;border-color:var(--profit-accent)!important;color:#fff!important;-webkit-text-fill-color:currentColor!important}
html body.erp-system-ui #profit-calculator .profit-primary-btn-v3249:hover:not(:disabled){background:var(--profit-deep)!important;border-color:var(--profit-deep)!important;color:#fff!important}
html body.erp-system-ui #profit-calculator :is(.profit-danger-btn-v3249,.profit-delete-btn-v3249){background:#fff5f5!important;border-color:#f3d7da!important;color:#cd5363!important;-webkit-text-fill-color:currentColor!important}
html body.erp-system-ui #profit-calculator :is(.profit-danger-btn-v3249,.profit-delete-btn-v3249):hover:not(:disabled){background:#fce8eb!important;border-color:#e6a5ad!important;color:#b73b4c!important}
html body.erp-system-ui #profit-calculator .profit-reset-btn-v3249{background:#fff8ec!important;border-color:#f3dfbd!important;color:#b68028!important;-webkit-text-fill-color:currentColor!important}
html body.erp-system-ui #profit-calculator .profit-reset-btn-v3249:hover:not(:disabled){background:#fff0d7!important;border-color:#e5c18c!important;color:#996711!important}
html body.erp-system-ui #profit-calculator button:hover:not(:disabled){box-shadow:none!important;filter:none!important}
html body.erp-system-ui #profit-calculator button:focus-visible{outline:2px solid var(--profit-accent)!important;outline-offset:3px!important;box-shadow:none!important}
html body.erp-system-ui #profit-calculator.page input:not([type=checkbox]):not([type=radio]):not([type=file]),
html body.erp-system-ui #profit-calculator.page select,
html body.erp-system-ui #profit-calculator .erp-select-button .erp-select-label{color:var(--erp-field-value,#8a98a9)!important;-webkit-text-fill-color:currentColor!important;font-weight:400!important;font-variant-numeric:tabular-nums}
html body.erp-system-ui #profit-calculator.page input:not([type=checkbox]):not([type=radio]):not([type=file]){border-color:#dfe6ed!important;border-radius:7px!important}
html body.erp-system-ui #profit-calculator input::placeholder{color:var(--erp-field-placeholder,#a4afbc)!important;opacity:1}
html body.erp-system-ui #profit-calculator .profit-inline-action-v3249 input{height:36px;font-size:12px}
html body.erp-system-ui #profit-calculator.page input:not([type=checkbox]):not([type=radio]):not([type=file]):focus{border-color:var(--profit-accent)!important;box-shadow:0 0 0 3px color-mix(in srgb,var(--profit-accent) 10%,transparent)!important}
html body.erp-system-ui #profit-calculator .profit-detail-head-v3249{margin:2px 0 -16px!important;padding:16px 18px;background:#fff;border:1px solid var(--profit-line);border-bottom:0;border-radius:10px 10px 0 0;gap:18px;min-width:0}
html body.erp-system-ui #profit-calculator .profit-detail-title-v3249{gap:10px;min-width:0}
html body.erp-system-ui #profit-calculator .profit-detail-title-v3249>i{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;flex:0 0 32px;border:1px solid #f9e6c6;border-radius:8px;background:#fff6e7;color:#d58c24}
html body.erp-system-ui #profit-calculator .profit-detail-title-v3249>i>svg{width:18px;height:18px}
html body.erp-system-ui #profit-calculator .profit-detail-title-v3249 b{font-size:14px;font-weight:600;color:var(--profit-text)}
html body.erp-system-ui #profit-calculator .profit-detail-title-v3249>div>span{font-size:11px;font-weight:400;color:var(--profit-muted);line-height:1.6}
html body.erp-system-ui #profit-calculator .profit-mode-wrap-v3249{font-size:12px;color:var(--profit-label);flex-wrap:wrap}
html body.erp-system-ui #profit-calculator .profit-segment-v3249{padding:3px;border-color:var(--profit-line);border-radius:8px;background:#f7f9fc;flex-wrap:wrap}
html body.erp-system-ui #profit-calculator .profit-segment-v3249 button{height:30px;border-radius:5px;font-size:11px;font-weight:500;color:var(--profit-label);box-shadow:none!important}
html body.erp-system-ui #profit-calculator :is(.profit-segment-v3249,.profit-config-tabs-v3249) button.active{background:var(--profit-accent)!important;color:#fff!important;-webkit-text-fill-color:currentColor!important;box-shadow:none!important}
html body.erp-system-ui #profit-calculator :is(.profit-segment-v3249,.profit-config-tabs-v3249) button:not(.active):hover{background:var(--profit-soft)!important;color:var(--profit-deep)!important}
html body.erp-system-ui #profit-calculator .profit-table-card-v3249{border-color:var(--profit-line)!important;border-radius:0 0 10px 10px!important;box-shadow:0 2px 6px #26395004!important}
html body.erp-system-ui #profit-calculator .profit-table-v3249 :is(th,td){border-right:1px solid #f0f3f7;border-bottom:1px solid #edf1f5;font-size:12px;padding:12px 5px;color:var(--profit-label)}
html body.erp-system-ui #profit-calculator .profit-table-v3249 thead th{height:46px;padding:9px 5px;border-radius:0!important;background:#f7f9fc!important;color:var(--profit-label)!important;-webkit-text-fill-color:currentColor!important;font-size:11.5px;font-weight:500;line-height:1.6}
html body.erp-system-ui #profit-calculator .profit-table-v3249 thead .profit-th-blue-v3249{background:#f0f5ff!important;color:#487ccc!important}
html body.erp-system-ui #profit-calculator .profit-table-v3249 thead .profit-th-orange-v3249{background:#fff8ed!important;color:#b68337!important}
html body.erp-system-ui #profit-calculator .profit-table-v3249 thead .profit-th-cyan-v3249{background:#eef8fb!important;color:#328aa0!important}
html body.erp-system-ui #profit-calculator .profit-table-v3249 thead .profit-th-purple-v3249{background:#f6f2fd!important;color:#8863c4!important}
html body.erp-system-ui #profit-calculator .profit-table-v3249 thead .profit-th-green-v3249{background:#edf8f2!important;color:#2a946d!important}
html body.erp-system-ui #profit-calculator .profit-table-v3249 tbody tr:hover td{background:color-mix(in srgb,var(--profit-accent) 2%,#fff)!important}
html body.erp-system-ui #profit-calculator .profit-cell-input-v3249{height:34px;font-size:12px;padding:0 4px}
html body.erp-system-ui #profit-calculator .profit-output-v3249{font-size:12px;font-weight:500;color:var(--profit-text)}
html body.erp-system-ui #profit-calculator .profit-output-v3249.profit-positive-v3249{font-size:14px;font-weight:650;color:#21936a}
html body.erp-system-ui #profit-calculator .profit-output-v3249.profit-negative-v3249{font-size:14px;font-weight:650;color:#d45364}
html body.erp-system-ui #profit-calculator .profit-bracket-badge-v3249{min-width:0;max-width:100%;padding:4px 5px;min-height:24px;white-space:normal;font-size:10.5px;font-weight:400;line-height:1.5;background:var(--profit-soft);border-color:color-mix(in srgb,var(--profit-accent) 15%,#e4eaf1);color:var(--profit-deep)}
html body.erp-system-ui #profit-calculator .profit-offer-v3249 code{padding:6px;border:1px solid #e7edf3;border-radius:6px;background:#f8fafc;color:var(--profit-label);font-size:10.5px;font-weight:400;line-height:1.6}
html body.erp-system-ui #profit-calculator :is(.profit-copy-btn-v3249,.profit-delete-btn-v3249){height:25px;padding:0 8px;border-radius:5px;font-size:10px;font-weight:400;box-shadow:none!important}
html body.erp-system-ui #profit-calculator .profit-copy-btn-v3249{background:var(--profit-soft)!important;border-color:color-mix(in srgb,var(--profit-accent) 18%,#e4eaf1)!important;color:var(--profit-deep)!important;-webkit-text-fill-color:currentColor!important}
html body.erp-system-ui #profit-calculator .profit-table-foot-v3249{padding:11px 16px;font-size:11px;color:var(--profit-muted);background:#fbfcfe}
html body.erp-system-ui #profit-calculator .profit-config-modal-v3249{border:1px solid var(--profit-line)!important;border-radius:12px!important;background:#f7f9fc!important}
html body.erp-system-ui #profit-calculator .profit-config-head-v3249{padding:18px 22px!important;border-bottom-color:var(--profit-line)!important}
html body.erp-system-ui #profit-calculator .profit-config-head-v3249 small{font-size:11px;font-weight:400;color:var(--profit-deep)}
html body.erp-system-ui #profit-calculator .profit-config-head-v3249 b{font-size:18px;font-weight:600;color:var(--profit-text)}
html body.erp-system-ui #profit-calculator .profit-config-head-v3249 span{font-size:12px;line-height:1.7;color:var(--profit-muted)}
html body.erp-system-ui #profit-calculator .profit-config-tabs-v3249{margin:16px 20px 0;gap:4px;background:#edf1f6;border-color:var(--profit-line);border-radius:8px}
html body.erp-system-ui #profit-calculator .profit-config-tabs-v3249 button{height:36px;font-size:12px;font-weight:500;border-radius:5px;color:var(--profit-label)}
html body.erp-system-ui #profit-calculator .profit-config-body-v3249{padding:16px 20px}
html body.erp-system-ui #profit-calculator .profit-config-section-v3249{padding:16px;border-color:var(--profit-line);border-radius:9px}
html body.erp-system-ui #profit-calculator .profit-config-section-title-v3249{gap:14px;flex-wrap:wrap;padding-bottom:12px;border-bottom-color:#edf1f5}
html body.erp-system-ui #profit-calculator :is(.profit-config-section-title-v3249,.profit-shipping-toolbar-v3249) b{font-size:14px;font-weight:600;color:var(--profit-text)}
html body.erp-system-ui #profit-calculator :is(.profit-config-section-title-v3249,.profit-shipping-toolbar-v3249) span{font-size:11px;line-height:1.6;color:var(--profit-muted)}
html body.erp-system-ui #profit-calculator .profit-shipping-toolbar-v3249{flex-wrap:wrap}
html body.erp-system-ui #profit-calculator .profit-bracket-grid-v3249{gap:12px}
html body.erp-system-ui #profit-calculator :is(.profit-bracket-card-v3249,.profit-setting-grid-v3249 label){padding:14px;border-color:var(--profit-line);border-radius:8px;background:#fafbfd}
html body.erp-system-ui #profit-calculator .profit-bracket-title-v3249{flex-wrap:wrap;gap:4px 10px;margin-bottom:12px}
html body.erp-system-ui #profit-calculator .profit-bracket-title-v3249 b{font-size:12px;font-weight:600;color:var(--profit-text)}
html body.erp-system-ui #profit-calculator .profit-bracket-title-v3249 span{font-size:10px;color:var(--profit-muted);line-height:1.6;text-align:left}
html body.erp-system-ui #profit-calculator :is(.profit-bracket-inputs-v3249,.profit-setting-grid-v3249) label>span{font-size:12px;font-weight:400;color:var(--profit-label)}
html body.erp-system-ui #profit-calculator .profit-setting-grid-v3249 label>small{font-size:11px;color:var(--profit-muted);line-height:1.6}
html body.erp-system-ui #profit-calculator :is(.profit-bracket-inputs-v3249,.profit-unit-input-v3249) input{font-size:13px}
html body.erp-system-ui #profit-calculator .profit-unit-input-v3249{border-color:#dfe6ed;border-radius:7px;height:38px}
html body.erp-system-ui #profit-calculator.page .profit-unit-input-v3249 input:not([type=checkbox]):not([type=radio]):not([type=file]){border:0!important;box-shadow:none!important;background:transparent!important}
html body.erp-system-ui #profit-calculator .profit-unit-input-v3249:focus-within{border-color:var(--profit-accent);box-shadow:0 0 0 3px color-mix(in srgb,var(--profit-accent) 10%,transparent)}
html body.erp-system-ui #profit-calculator .profit-unit-input-v3249 i{font-size:11px;color:var(--profit-muted)}
html body.erp-system-ui #profit-calculator .profit-config-actions-v3249{padding:14px 20px;gap:10px;border-color:var(--profit-line);flex-wrap:wrap}
@media(max-width:1200px){
 html body.erp-system-ui #profit-calculator .profit-top-grid-v3249{grid-template-columns:repeat(2,minmax(0,1fr))}
 html body.erp-system-ui #profit-calculator .profit-tool-card-v3249:last-child{grid-column:1/-1;min-height:0!important;flex-direction:row;align-items:center}
 html body.erp-system-ui #profit-calculator .profit-batch-action-v3249{grid-template-columns:72px auto auto}
}
@media(max-width:760px){
 html body.erp-system-ui #profit-calculator .profit-top-grid-v3249{grid-template-columns:minmax(0,1fr)}
 html body.erp-system-ui #profit-calculator .profit-tool-card-v3249:last-child{grid-column:auto;flex-direction:column;align-items:stretch}
 html body.erp-system-ui #profit-calculator .profit-batch-action-v3249{grid-template-columns:minmax(56px,1fr) auto auto}
 html body.erp-system-ui #profit-calculator .profit-detail-head-v3249{padding:14px;align-items:flex-start;flex-direction:column;gap:12px}
 html body.erp-system-ui #profit-calculator .profit-config-tabs-v3249{margin:12px 12px 0}
 html body.erp-system-ui #profit-calculator .profit-config-body-v3249{padding:12px}
 html body.erp-system-ui #profit-calculator .profit-setting-grid-one-v3249{grid-template-columns:minmax(0,1fr)}
}
