/* PROFITECH Design System v18.0 — seven page archetypes */
body.pt-ds-ready :is(.page-head,.page-header,.page-title-row,.pt-page-head,.head,.dashboard-tools){
  display:flex;align-items:flex-start;justify-content:space-between;flex-wrap:wrap;gap:14px;margin-bottom:20px
}
body.pt-ds-ready :is(.page-head,.page-header,.page-title-row,.pt-page-head) :is(h1,h2){margin:0}
body.pt-ds-ready :is(.page-head,.page-header,.page-title-row,.pt-page-head) .subtitle{margin:5px 0 0;font-size:12px}
body.pt-ds-ready .head{margin-bottom:18px}
body.pt-ds-ready .page-actions{margin-inline-start:auto;justify-content:flex-end}
body.pt-ds-ready.pt-page-dashboard :is(.welcome,.pt-exec-hero,.hero,.dashboard-hero){
  border:1px solid #d8e6de!important;border-radius:var(--pt-radius-xl)!important;
  background:linear-gradient(115deg,#fff 0%,#f4f8f5 100%)!important;color:var(--pt-ink)!important;
  box-shadow:var(--pt-shadow-sm)!important;padding:26px 29px!important;margin-bottom:20px
}
body.pt-ds-ready.pt-page-dashboard :is(.welcome,.pt-exec-hero,.hero,.dashboard-hero) :is(h1,h2,p,.subtitle){color:var(--pt-ink-strong)!important}
body.pt-ds-ready.pt-page-dashboard :is(.stats,.stat-grid,.metrics-grid,.pt-kpi-grid){
  display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;margin:16px 0 21px
}
body.pt-ds-ready.pt-page-dashboard :is(.stats>.stat,.stat-grid>.stat,.metric-card,.pt-kpi){
  min-width:0;min-height:105px;padding:17px 18px!important;border:1px solid var(--pt-border)!important;
  border-radius:var(--pt-radius-lg)!important;background:#fff!important;box-shadow:var(--pt-shadow-xs)!important
}
body.pt-ds-ready.pt-page-dashboard :is(.stats .value,.metric-value,.pt-kpi strong){font-size:clamp(20px,2vw,28px);font-weight:800;color:var(--pt-green-900);font-variant-numeric:tabular-nums}
body.pt-ds-ready.pt-page-dashboard :is(.module-grid,.actions,.pt-command-grid,.dashboard-grid){
  display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));gap:12px;align-items:stretch
}
body.pt-ds-ready.pt-page-dashboard :is(.module-grid>a,.actions>.action,.pt-command-grid>a,.dashboard-grid>a){
  min-width:0;min-height:116px;padding:17px!important;border:1px solid var(--pt-border)!important;
  border-radius:var(--pt-radius-lg)!important;background:#fff!important;color:var(--pt-ink)!important;
  box-shadow:var(--pt-shadow-xs)!important;text-decoration:none!important
}
body.pt-ds-ready.pt-page-list :is(.filters,.filter-bar,.toolbar,.page-actions,.search-bar){
  background:#fff;border:1px solid var(--pt-border);border-radius:var(--pt-radius-md);padding:12px 14px;margin:0 0 15px
}
body.pt-ds-ready.pt-page-list :is(.table-wrap,.table-responsive,.table-container){box-shadow:var(--pt-shadow-xs)}
body.pt-ds-ready.pt-page-list table{min-width:680px}
body.pt-ds-ready.pt-page-list :is(.pagination,.pager){display:flex;align-items:center;justify-content:flex-start;gap:6px;flex-wrap:wrap;margin-top:14px}
body.pt-ds-ready.pt-page-form :is(form:not(.inline-form),.form-card,.document-form){
  min-width:0
}
body.pt-ds-ready.pt-page-form :is(.form-grid,.fields-grid,.form-row-grid){
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;align-items:start
}
body.pt-ds-ready.pt-page-form :is(.form-section,.form-card,.form-block,.section){
  background:#fff;border:1px solid var(--pt-border);border-radius:var(--pt-radius-lg);padding:18px;margin:0 0 15px;min-width:0
}
body.pt-ds-ready.pt-page-form :is(.form-section-title,.section-title,.form-heading){
  display:flex;align-items:center;justify-content:space-between;gap:12px;padding-bottom:11px;margin-bottom:14px;border-bottom:1px solid var(--pt-border)
}
body.pt-ds-ready.pt-page-form :is(.form-actions,.form-footer,.submit-row){
  display:flex;justify-content:flex-start;align-items:center;gap:9px;flex-wrap:wrap;padding-top:15px;margin-top:16px;border-top:1px solid var(--pt-border)
}
body.pt-ds-ready.pt-page-detail :is(.document-hero,.document-header,.detail-header,.doc-head){
  background:#fff;border:1px solid var(--pt-border);border-radius:var(--pt-radius-xl);padding:22px 24px;margin-bottom:17px;box-shadow:var(--pt-shadow-xs)
}
body.pt-ds-ready.pt-page-detail :is(.document-meta,.detail-meta,.doc-meta,.meta-grid){
  display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px;margin-top:14px
}
body.pt-ds-ready.pt-page-detail :is(.document-meta,.detail-meta,.doc-meta,.meta-grid)>div{
  background:var(--pt-surface-soft);border:1px solid #e9eeeb;border-radius:var(--pt-radius-md);padding:12px;min-width:0
}
body.pt-ds-ready.pt-page-detail :is(.timeline,.history-timeline,.approval-flow){display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px}
body.pt-ds-ready.pt-page-analytics :is(.report-hero,.analytics-hero,.ci-hero,.pt-report-hero){
  background:linear-gradient(110deg,#203e55,#2d5f7b)!important;color:#fff!important;border-radius:var(--pt-radius-xl)!important;padding:23px 26px!important;margin-bottom:17px;box-shadow:var(--pt-shadow-sm)!important
}
body.pt-ds-ready.pt-page-analytics :is(.report-hero,.analytics-hero,.ci-hero,.pt-report-hero) :is(h1,h2,p,.subtitle){color:#fff!important}
body.pt-ds-ready.pt-page-analytics :is(.kpi-grid,.stats,.metrics-grid,.pt-kpi-grid){display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:12px;margin:15px 0 20px}
body.pt-ds-ready.pt-page-analytics :is(.kpi,.stat,.metric-card,.pt-kpi){background:#fff;border:1px solid var(--pt-border);border-radius:var(--pt-radius-lg);padding:16px;min-width:0}
body.pt-ds-ready.pt-page-settings :is(.settings-grid,.settings-cards,.admin-grid,.module-grid){
  display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:13px;align-items:stretch
}
body.pt-ds-ready.pt-page-settings :is(.settings-card,.setting-card,.admin-card,.module-card){
  background:#fff;border:1px solid var(--pt-border);border-radius:var(--pt-radius-lg);padding:18px;min-width:0;box-shadow:var(--pt-shadow-xs)
}
body.pt-ds-ready.pt-page-settings :is(.settings-card,.setting-card,.admin-card,.module-card) :is(h2,h3){margin-top:0}
body.pt-ds-ready.pt-page-settings :is(.permission-grid,.permissions-grid,.role-grid){display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:10px}
body.pt-ds-ready.pt-page-pos{padding:0!important;background:var(--pt-canvas)!important}

/* Shared component patterns migrated from the former additive enterprise layer. */
body.pt-ds-ready .pt-feature-icon{display:inline-flex;align-items:center;justify-content:center;width:42px;height:42px;flex:0 0 42px;border-radius:11px;background:var(--pt-green-100);color:var(--pt-green-800)}
body.pt-ds-ready .pt-feature-icon svg{width:21px;height:21px;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
body.pt-ds-ready .module-section{scroll-margin-top:20px}
body.pt-ds-ready .module-section-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 14px}
body.pt-ds-ready .module-section-title h2{margin:0;color:var(--pt-ink-strong)!important}
body.pt-ds-ready .module-section-title h2:before{content:'';display:inline-block;width:4px;height:18px;margin-inline-end:9px;vertical-align:-3px;background:var(--pt-green-600);border-radius:6px}
body.pt-ds-ready .pt-section-jump{display:flex;flex-wrap:wrap;align-items:center;gap:7px;padding:11px;margin:16px 0 5px;background:#fff;border:1px solid var(--pt-border);border-radius:var(--pt-radius-md);box-shadow:var(--pt-shadow-xs)}
body.pt-ds-ready .pt-section-jump a{text-decoration:none;color:var(--pt-blue-800);font-size:11px;font-weight:750;white-space:nowrap;border:1px solid transparent;padding:7px 10px;border-radius:8px}
body.pt-ds-ready .pt-section-jump a:hover{background:var(--pt-blue-100);border-color:#d5e2eb}
body.pt-ds-ready .ci-page{max-width:1600px!important;width:100%!important;margin:0 auto 70px!important}
body.pt-ds-ready .ci-hero{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:24px 27px;margin-bottom:17px;border-radius:var(--pt-radius-xl);background:linear-gradient(110deg,#203e55,#2d5f7b);color:#fff;box-shadow:var(--pt-shadow-sm)}
body.pt-ds-ready .ci-hero :is(h1,h2,p){color:#fff!important}
body.pt-ds-ready .ci-hero h1{margin:3px 0 7px!important;font-size:clamp(23px,2.7vw,32px)!important}
body.pt-ds-ready .ci-hero p{margin:0;max-width:72ch;color:#e5edf3!important;font-size:13px}
body.pt-ds-ready .ci-eyebrow{font-size:10px!important;letter-spacing:.12em;direction:ltr;text-align:start;font-weight:800;color:#c3d9e8!important}
body.pt-ds-ready .ci-hero-symbol{width:66px;height:66px;display:grid;place-items:center;background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.2);border-radius:17px;flex:none}
body.pt-ds-ready .ci-page>.box{padding:20px;margin-bottom:16px}
body.pt-ds-ready .ci-filter{display:flex;align-items:end;gap:12px;flex-wrap:wrap}
body.pt-ds-ready .ci-filter>div{min-width:min(100%,180px)}
body.pt-ds-ready .ci-filter label{display:block;margin-bottom:6px;font-size:11px;color:var(--pt-muted);font-weight:750}
body.pt-ds-ready .ci-filter :is(input,select){width:100%;min-height:40px}
body.pt-ds-ready .ci-kpis{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,180px),1fr));gap:12px;margin:17px 0}
body.pt-ds-ready .ci-kpi{min-width:0;padding:16px 17px;border:1px solid var(--pt-border);border-radius:var(--pt-radius-lg);background:#fff;box-shadow:var(--pt-shadow-xs)}
body.pt-ds-ready .ci-kpi>span,body.pt-ds-ready .ci-kpi>small{display:block;color:var(--pt-muted);font-size:11px}
body.pt-ds-ready .ci-kpi>strong{display:block;color:var(--pt-green-900);font-size:clamp(20px,2.3vw,26px);font-weight:850;margin:4px 0}
body.pt-ds-ready .ci-status{padding:16px 18px;border-radius:var(--pt-radius-md);border:1px solid #cfe4d6;margin-bottom:14px;background:var(--pt-success-bg);color:#245f40}
body.pt-ds-ready .ci-status-blocked{background:var(--pt-warning-bg);border-color:#efdfbf;color:#7e571b}
body.pt-ds-ready .ci-section-head{display:flex;justify-content:space-between;align-items:flex-start;flex-wrap:wrap;gap:11px;margin-bottom:13px}
body.pt-ds-ready .ci-section-head h2{margin:0 0 4px!important;font-size:17px!important}
body.pt-ds-ready .ci-section-head p{margin:0;color:var(--pt-muted);font-size:11px}
body.pt-ds-ready .ci-label{display:inline-flex;align-items:center;justify-content:center;padding:5px 10px;border-radius:999px;background:var(--pt-surface-muted);color:var(--pt-ink);font-size:10px;font-weight:800;white-space:nowrap}
body.pt-ds-ready .ci-label.ok{background:var(--pt-success-bg);color:var(--pt-success)}
body.pt-ds-ready .ci-label.danger{background:var(--pt-danger-bg);color:var(--pt-danger)}
body.pt-ds-ready .ci-neg{color:var(--pt-danger)!important;font-weight:800}
body.pt-ds-ready .ci-pos{color:var(--pt-success)!important;font-weight:800}
body.pt-ds-ready .ci-footnote{margin:12px 0 0;color:var(--pt-muted)!important;font-size:11px!important;line-height:1.8}
body.pt-ds-ready .ci-inline-stats{display:flex;flex-wrap:wrap;gap:11px}
body.pt-ds-ready .ci-inline-stats>div{padding:12px 16px;border-radius:var(--pt-radius-md);background:var(--pt-surface-soft);border:1px solid var(--pt-border);min-width:170px}
body.pt-ds-ready .ci-inline-stats>div>span{display:block;font-size:11px;color:var(--pt-muted)}
body.pt-ds-ready .ci-inline-stats>div>strong{display:block;font-size:22px;color:var(--pt-green-900)}
body.pt-ds-ready .ci-error{color:var(--pt-danger);background:var(--pt-danger-bg)}
@media(max-width:770px){body.pt-ds-ready .ci-hero{padding:19px 20px}body.pt-ds-ready .ci-hero-symbol{display:none}body.pt-ds-ready .ci-filter>div{flex:1 1 140px}body.pt-ds-ready .ci-filter>button{flex:1 1 140px}body.pt-ds-ready .ci-section-head{align-items:center}}
@media(max-width:460px){body.pt-ds-ready .ci-page>.box{padding:13px}body.pt-ds-ready .ci-hero h1{font-size:22px!important}body.pt-ds-ready .ci-filter>div{width:100%}body.pt-ds-ready .pt-section-jump{flex-wrap:nowrap;overflow:auto}}

/* v18.0.1 — finance workspace heading and Menu Cost Control dashboard. */
html:root body.pt-ds-ready.pt-layout-v168 .fin-page-heading{background:#fff!important;color:#243746!important;border:1px solid #dfe6eb!important;border-top:4px solid #1d344a!important;border-radius:16px!important;box-shadow:0 4px 16px rgba(25,45,60,.045)!important;padding:22px 25px!important}
html:root body.pt-ds-ready.pt-layout-v168 .fin-page-heading h1{color:#172b3c!important;margin:0 0 5px!important}
html:root body.pt-ds-ready.pt-layout-v168 .fin-page-heading p{color:#687b87!important;margin:0!important}
html:root body.pt-ds-ready.pt-ds-finance .fin-quick a{color:#20394e!important;background:#fff!important;border-color:#dfe6eb!important}
html:root body.pt-ds-ready.pt-ds-finance .fin-quick a.current{background:#edf3f7!important;border-color:#9fb4c4!important;color:#1d344a!important}
html:root body.pt-ds-ready.pt-ds-finance .box h2{color:#20394e!important}
body.pt-ds-ready.pt-menu-cost-dashboard .mc-page-heading{display:flex;justify-content:space-between;align-items:center;gap:22px;flex-wrap:wrap;background:#fff!important;border:1px solid #dfe6e2!important;border-top:4px solid #17664e!important;border-radius:16px!important;padding:24px 27px!important;margin:22px 0 14px!important;box-shadow:0 4px 18px rgba(23,42,34,.045)!important;color:#1b2d28!important}
body.pt-ds-ready.pt-menu-cost-dashboard .mc-page-heading h1{margin:0 0 7px!important;color:#1b2d28!important;font-size:clamp(23px,2.2vw,30px)!important}
body.pt-ds-ready.pt-menu-cost-dashboard .mc-page-heading p{margin:0!important;color:#68766f!important;max-width:900px;font-size:13px;line-height:1.9}
body.pt-ds-ready.pt-menu-cost-dashboard .mc-eyebrow{font:800 10px var(--pt-font-mono);letter-spacing:.12em;color:#32765f;direction:ltr;text-align:right;margin-bottom:7px}
body.pt-ds-ready.pt-menu-cost-dashboard .mc-heading-actions{display:flex;gap:8px;flex-wrap:wrap}
body.pt-ds-ready.pt-menu-cost-dashboard .mc-heading-actions a{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:9px 15px;border-radius:10px;text-decoration:none;font-size:12px;font-weight:800}
body.pt-ds-ready.pt-menu-cost-dashboard .mc-primary-action{background:#17664e!important;color:#fff!important;border:1px solid #17664e!important}
body.pt-ds-ready.pt-menu-cost-dashboard .mc-secondary-action{background:#f4f7f5!important;color:#345248!important;border:1px solid #dce6e0!important}
body.pt-ds-ready.pt-menu-cost-dashboard .mc-pro-nav{display:flex;gap:7px;flex-wrap:nowrap;overflow-x:auto;padding:5px 2px 12px;margin:0 0 12px;scrollbar-width:thin}
body.pt-ds-ready.pt-menu-cost-dashboard .mc-pro-nav a{flex:none;min-height:36px;padding:7px 12px!important;border-radius:9px!important;font-size:11px!important;text-decoration:none!important}
body.pt-ds-ready.pt-menu-cost-dashboard .mc-pro-nav a.pt-btn.light{background:#fff!important;border:1px solid #dfe6e2!important;color:#5a6a62!important}
body.pt-ds-ready.pt-menu-cost-dashboard .mc-pro-nav a.pt-btn:not(.light){background:#17664e!important;border:1px solid #17664e!important;color:#fff!important}
body.pt-ds-ready.pt-menu-cost-dashboard .mc-filter-card{padding:17px!important;margin-bottom:15px}
body.pt-ds-ready.pt-menu-cost-dashboard .filters{display:grid;grid-template-columns:1fr 1fr 1.5fr 1fr auto;gap:12px;align-items:end}
body.pt-ds-ready.pt-menu-cost-dashboard .filters>div{min-width:0}
body.pt-ds-ready.pt-menu-cost-dashboard .filters label{display:block;margin-bottom:6px;color:#53645c;font-size:11px;font-weight:800}
body.pt-ds-ready.pt-menu-cost-dashboard .filters input,body.pt-ds-ready.pt-menu-cost-dashboard .filters select{width:100%;min-width:0}
body.pt-ds-ready.pt-menu-cost-dashboard .pt-kpi-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:11px;margin:15px 0}
body.pt-ds-ready.pt-menu-cost-dashboard .pt-kpi{background:#fff!important;border:1px solid #dfe6e2!important;border-radius:13px!important;padding:15px 16px!important;box-shadow:0 2px 8px rgba(23,42,34,.035)!important;min-width:0}
body.pt-ds-ready.pt-menu-cost-dashboard .pt-kpi span{display:block;color:#68776f;font-size:11px;font-weight:700;line-height:1.6}
body.pt-ds-ready.pt-menu-cost-dashboard .pt-kpi strong{display:block;color:#1d3e32;font:800 22px var(--pt-font-mono);margin-top:7px;overflow-wrap:anywhere}
body.pt-ds-ready.pt-menu-cost-dashboard .ws-info{background:#f1f7f3!important;border:1px solid #d6e7dc!important;border-right:3px solid #438466!important;border-radius:11px!important;color:#4e6458!important;padding:12px 15px!important;margin:13px 0!important;font-size:11px;line-height:1.8}
body.pt-ds-ready.pt-menu-cost-dashboard .pt-page-actions{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0 16px}
body.pt-ds-ready.pt-menu-cost-dashboard .mc-table-card,body.pt-ds-ready.pt-menu-cost-dashboard .mc-detail-card{padding:18px!important;margin-bottom:15px}
body.pt-ds-ready.pt-menu-cost-dashboard .mc-table-card h2,body.pt-ds-ready.pt-menu-cost-dashboard .mc-detail-card h2{margin:0 0 13px!important;color:#243a31!important;font-size:16px!important}
body.pt-ds-ready.pt-menu-cost-dashboard .table-wrap{overflow:auto;border:1px solid #e0e7e2;border-radius:12px;background:#fff}
body.pt-ds-ready.pt-menu-cost-dashboard table{min-width:1450px}
body.pt-ds-ready.pt-menu-cost-dashboard .detail-table table{min-width:1050px}
body.pt-ds-ready.pt-menu-cost-dashboard th{background:#f0f5f2!important;color:#344d40!important}
body.pt-ds-ready.pt-menu-cost-dashboard td{white-space:nowrap}
body.pt-ds-ready.pt-menu-cost-dashboard .menu-name{min-width:190px;white-space:normal}
body.pt-ds-ready.pt-menu-cost-dashboard .cost-badge{display:inline-flex;align-items:center;padding:5px 10px;border-radius:999px;font-weight:800;font-size:10px;white-space:nowrap}
body.pt-ds-ready.pt-menu-cost-dashboard .cost-badge.good{background:#eaf5ee;color:#28734e}
body.pt-ds-ready.pt-menu-cost-dashboard .cost-badge.over,body.pt-ds-ready.pt-menu-cost-dashboard .cost-badge.missing{background:#f9ecea;color:#a7433b}
body.pt-ds-ready.pt-menu-cost-dashboard .cost-badge.near{background:#fbf3e4;color:#94651e}
body.pt-ds-ready.pt-menu-cost-dashboard .negative{color:#ad413b;font-weight:850}
body.pt-ds-ready.pt-menu-cost-dashboard .positive{color:#287b55;font-weight:850}
body.pt-ds-ready.pt-menu-cost-dashboard .warning-text{color:#94651e;font-weight:850}
body.pt-ds-ready.pt-menu-cost-dashboard .grid2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
body.pt-ds-ready.pt-menu-cost-dashboard .grid2 .box{padding:18px!important}
body.pt-ds-ready.pt-menu-cost-dashboard .mini-list{width:100%;border-collapse:collapse;min-width:0}
body.pt-ds-ready.pt-menu-cost-dashboard .mini-list td,body.pt-ds-ready.pt-menu-cost-dashboard .mini-list th{padding:10px 11px!important;border-bottom:1px solid #e9eeeb!important}
body.pt-ds-ready.pt-menu-cost-dashboard .module-section-title{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;flex-wrap:wrap;margin-bottom:14px}
body.pt-ds-ready.pt-menu-cost-dashboard .module-section-title p{color:#738078;font-size:11px;margin:4px 0 0}
body.pt-ds-ready.pt-menu-cost-dashboard .mc-snapshot-card{margin-top:14px}
/* Inventory movement report: wide ledger table with the movement categories requested by the operator. */
body.pt-ds-ready.pt-stock-movement-report .inventory-report-note{background:#f1f6f3;border:1px solid #dce9e1;border-right:3px solid #36775a;border-radius:10px;padding:11px 14px;margin:12px 0;color:#53695d;font-size:11px;line-height:1.8}
body.pt-ds-ready.pt-stock-movement-report .table-wrap{max-width:100%;overflow:auto;border:1px solid #dfe7e2;border-radius:12px;background:#fff}
body.pt-ds-ready.pt-stock-movement-report table{min-width:2050px}
body.pt-ds-ready.pt-stock-movement-report th{position:sticky;top:0;background:#edf3ef!important;color:#365143!important;white-space:nowrap}
body.pt-ds-ready.pt-stock-movement-report td{white-space:nowrap;font-variant-numeric:tabular-nums}
body.pt-ds-ready.pt-stock-movement-report td:nth-child(3){font-weight:750}
@media(max-width:1050px){body.pt-ds-ready.pt-menu-cost-dashboard .pt-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}body.pt-ds-ready.pt-menu-cost-dashboard .filters{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:680px){body.pt-ds-ready.pt-menu-cost-dashboard .mc-page-heading{padding:17px!important;margin:14px 0 10px!important}body.pt-ds-ready.pt-menu-cost-dashboard .mc-heading-actions{width:100%}body.pt-ds-ready.pt-menu-cost-dashboard .mc-heading-actions a{flex:1}body.pt-ds-ready.pt-menu-cost-dashboard .mc-pro-nav{margin-bottom:8px}body.pt-ds-ready.pt-menu-cost-dashboard .pt-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}body.pt-ds-ready.pt-menu-cost-dashboard .pt-kpi{padding:12px!important}body.pt-ds-ready.pt-menu-cost-dashboard .pt-kpi strong{font-size:18px}body.pt-ds-ready.pt-menu-cost-dashboard .filters{grid-template-columns:1fr}body.pt-ds-ready.pt-menu-cost-dashboard .grid2{grid-template-columns:1fr}body.pt-ds-ready.pt-menu-cost-dashboard .mc-table-card,body.pt-ds-ready.pt-menu-cost-dashboard .mc-detail-card{padding:12px!important}body.pt-ds-ready.pt-stock-movement-report .inventory-report-note{font-size:10px}}


/* ========================================================================
   PROFITECH v18.0.2 — one neutral workspace language across ERP pages.
   Only Control Center and Company Dashboard retain the signature green hero.
   ======================================================================== */
html:root body.pt-ds-ready:not(.pt-control-dashboard):not(.pt-company-dashboard){
  background:#f2f4f3!important;color:#24312d!important;
}
html:root body.pt-ds-ready:not(.pt-control-dashboard):not(.pt-company-dashboard) :is(
  .pt-report-hero,.pt-command-hero,.pt-hero,.ws-hero,.report-hero,.analytics-hero,
  .ci-hero,.workspace-hero,.page-hero,.module-hero,.page-banner,.workspace-banner,
  .module-banner,.report-banner,.hero
){
  background:#fff!important;background-image:none!important;color:#24312d!important;
  border:1px solid #dfe6e2!important;border-top:3px solid #1b654c!important;
  border-radius:16px!important;box-shadow:0 3px 14px rgba(24,48,39,.045)!important;
}
html:root body.pt-ds-ready:not(.pt-control-dashboard):not(.pt-company-dashboard) :is(
  .pt-report-hero,.pt-command-hero,.pt-hero,.ws-hero,.report-hero,.analytics-hero,
  .ci-hero,.workspace-hero,.page-hero,.module-hero,.page-banner,.workspace-banner,
  .module-banner,.report-banner
) :is(h1,h2,h3,p,.subtitle,.description,.eyebrow,.kicker,.pt-kicker,.ci-eyebrow){
  color:#24312d!important;text-shadow:none!important;opacity:1!important;
}
html:root body.pt-ds-ready:not(.pt-control-dashboard):not(.pt-company-dashboard) :is(
  .pt-report-hero,.pt-command-hero,.pt-hero,.ws-hero,.report-hero,.analytics-hero,
  .ci-hero,.workspace-hero,.page-hero,.module-hero,.page-banner,.workspace-banner,
  .module-banner,.report-banner
) :is(p,.subtitle,.description){color:#68766f!important}
html:root body.pt-ds-ready:not(.pt-control-dashboard):not(.pt-company-dashboard) .hero-main{
  background:#fff!important;background-image:none!important;color:#24312d!important;
  border:1px solid #dfe6e2!important;border-top:3px solid #17664e!important;
  border-radius:16px!important;box-shadow:0 3px 14px rgba(24,48,39,.045)!important;
}
html:root body.pt-ds-ready:not(.pt-control-dashboard):not(.pt-company-dashboard) .hero-main :is(h1,h2,h3){
  color:#1d2b27!important;
}
html:root body.pt-ds-ready:not(.pt-control-dashboard):not(.pt-company-dashboard) .hero-main :is(p,.subtitle){
  color:#68766f!important;opacity:1!important;
}
/* The reports center uses a transparent layout wrapper with two white panels. */
html:root body.pt-ds-ready.pt-report-center.pt-page-analytics .hero{
  background:transparent!important;background-image:none!important;border:0!important;
  box-shadow:none!important;padding:0!important;color:inherit!important;
}
html:root body.pt-ds-ready.pt-report-center .hero-count{
  background:#fff!important;border:1px solid #dfe6e2!important;
  border-radius:16px!important;box-shadow:0 3px 14px rgba(24,48,39,.045)!important;
}
html:root body.pt-ds-ready.pt-report-center .hero-count strong{color:#174d3b!important}
html:root body.pt-ds-ready.pt-report-center .hero-count span{color:#68766f!important}

/* Preserve the two dashboard hero treatments and guarantee readable white copy. */
html:root body.pt-ds-ready.pt-company-dashboard .pt-exec-hero{
  background:
    radial-gradient(ellipse at 88% 8%,rgba(113,205,158,.22),transparent 37%),
    radial-gradient(ellipse at 12% 100%,rgba(61,146,111,.22),transparent 42%),
    linear-gradient(118deg,#103d33 0%,#15543f 58%,#176b4e 100%)!important;
  color:#fff!important;border:1px solid rgba(255,255,255,.12)!important;
  box-shadow:0 16px 38px rgba(15,58,43,.13)!important;
}
html:root body.pt-ds-ready.pt-company-dashboard .pt-exec-hero :is(h1,h2,h3,p,.pt-kicker){
  color:#fff!important;text-shadow:none!important;opacity:1!important;
}
html:root body.pt-ds-ready.pt-company-dashboard .pt-exec-hero p{color:#d8eee2!important}
html:root body.pt-ds-ready.pt-company-dashboard .pt-exec-hero .pt-kicker{color:#a9e2c1!important}
html:root body.pt-ds-ready.pt-control-dashboard .cc-hero{
  background:
    radial-gradient(ellipse at 84% 12%,rgba(113,205,158,.22),transparent 38%),
    radial-gradient(ellipse at 14% 100%,rgba(61,146,111,.2),transparent 42%),
    linear-gradient(118deg,#103b31 0%,#145940 58%,#14734f 100%)!important;
  color:#fff!important;
}
html:root body.pt-ds-ready.pt-control-dashboard .cc-hero :is(h1,h2,h3,p,.subtitle,.cc-eyebrow,.cc-hero-meta span){
  color:#fff!important;text-shadow:none!important;opacity:1!important;
}
html:root body.pt-ds-ready.pt-control-dashboard .cc-hero .subtitle{color:#d5f2e2!important}

/* SVG icon containers: keep every icon centered and fully inside its square. */
body.pt-ds-ready :is(.pt-feature-icon,.pt-hero-symbol,.report-icon,.report-symbol,.module-icon,.feature-icon){
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  box-sizing:border-box!important;overflow:hidden!important;flex:0 0 auto!important;
}
body.pt-ds-ready :is(.pt-feature-icon,.report-icon,.report-symbol,.module-icon,.feature-icon){
  width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important;
  padding:0!important;border-radius:12px!important;
}
body.pt-ds-ready :is(.pt-feature-icon,.pt-hero-symbol,.report-icon,.report-symbol,.module-icon,.feature-icon) svg{
  display:block!important;position:static!important;inset:auto!important;transform:none!important;
  width:21px!important;height:21px!important;min-width:21px!important;min-height:21px!important;
  max-width:21px!important;max-height:21px!important;flex:0 0 21px!important;
  margin:0!important;padding:0!important;overflow:visible!important;
  stroke:currentColor!important;fill:none!important;stroke-linecap:round!important;stroke-linejoin:round!important;
}

/* Menu Cost Control: refined white workspace, navigation, filters, KPI and ledger. */
body.pt-ds-ready.pt-menu-cost-dashboard .mc-dashboard{
  width:min(calc(100% - 48px),1580px)!important;max-width:1580px!important;
  margin:22px auto 64px!important;
}
body.pt-ds-ready.pt-menu-cost-dashboard .mc-page-heading{
  background:#fff!important;background-image:none!important;color:#1e2d28!important;
  border:1px solid #dfe6e2!important;border-top:4px solid #155b43!important;
  border-radius:16px!important;padding:25px 28px!important;
  box-shadow:0 4px 16px rgba(24,48,39,.045)!important;
}
body.pt-ds-ready.pt-menu-cost-dashboard .mc-page-heading h1{color:#1d2b27!important}
body.pt-ds-ready.pt-menu-cost-dashboard .mc-page-heading p{color:#68766f!important}
body.pt-ds-ready.pt-menu-cost-dashboard .mc-eyebrow{
  color:#286b50!important;font-weight:850!important;letter-spacing:.1em!important;
}
body.pt-ds-ready.pt-menu-cost-dashboard .mc-pro-nav{
  padding:7px!important;background:#fff!important;border:1px solid #e1e7e3!important;
  border-radius:12px!important;box-shadow:0 2px 8px rgba(24,48,39,.025)!important;
}
body.pt-ds-ready.pt-menu-cost-dashboard .mc-pro-nav a{
  min-height:38px!important;padding:8px 14px!important;border-radius:9px!important;
  font-weight:800!important;transition:background .15s,border-color .15s,transform .15s!important;
}
body.pt-ds-ready.pt-menu-cost-dashboard .mc-pro-nav a.pt-btn.light{
  background:#f7f9f8!important;border:1px solid #e2e8e4!important;color:#52635b!important;
}
body.pt-ds-ready.pt-menu-cost-dashboard .mc-pro-nav a.pt-btn:not(.light){
  background:#155b43!important;border:1px solid #155b43!important;color:#fff!important;
}
body.pt-ds-ready.pt-menu-cost-dashboard .mc-filter-card,
body.pt-ds-ready.pt-menu-cost-dashboard .mc-table-card,
body.pt-ds-ready.pt-menu-cost-dashboard .mc-detail-card{
  background:#fff!important;border:1px solid #dfe6e2!important;border-radius:15px!important;
  box-shadow:0 3px 12px rgba(24,48,39,.035)!important;
}
body.pt-ds-ready.pt-menu-cost-dashboard .mc-filter-card{padding:20px!important}
body.pt-ds-ready.pt-menu-cost-dashboard .filters{
  display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr)) auto!important;
  gap:13px!important;align-items:end!important;
}
body.pt-ds-ready.pt-menu-cost-dashboard .filters label{
  color:#52635b!important;font-size:11px!important;font-weight:800!important;
}
body.pt-ds-ready.pt-menu-cost-dashboard .filters :is(input,select){
  min-height:42px!important;border:1px solid #d8e1dc!important;border-radius:9px!important;
  background:#fff!important;
}
body.pt-ds-ready.pt-menu-cost-dashboard .pt-kpi-grid{
  grid-template-columns:repeat(auto-fit,minmax(185px,1fr))!important;gap:12px!important;
}
body.pt-ds-ready.pt-menu-cost-dashboard .pt-kpi{
  position:relative!important;overflow:hidden!important;padding:17px 18px!important;
  border:1px solid #dfe6e2!important;border-radius:14px!important;background:#fff!important;
  box-shadow:0 3px 12px rgba(24,48,39,.035)!important;
}
body.pt-ds-ready.pt-menu-cost-dashboard .pt-kpi:before{
  content:"";position:absolute;inset-inline-start:0;top:0;bottom:0;width:3px;background:#2a7658;
}
body.pt-ds-ready.pt-menu-cost-dashboard .pt-kpi span{color:#6b7972!important;font-size:11px!important}
body.pt-ds-ready.pt-menu-cost-dashboard .pt-kpi strong{
  color:#174d3b!important;font-size:23px!important;font-variant-numeric:tabular-nums!important;
}
body.pt-ds-ready.pt-menu-cost-dashboard .mc-table-card,
body.pt-ds-ready.pt-menu-cost-dashboard .mc-detail-card{padding:20px!important}
body.pt-ds-ready.pt-menu-cost-dashboard .mc-table-card h2,
body.pt-ds-ready.pt-menu-cost-dashboard .mc-detail-card h2{color:#20352c!important}
body.pt-ds-ready.pt-menu-cost-dashboard .mc-table-card .table-wrap,
body.pt-ds-ready.pt-menu-cost-dashboard .mc-detail-card .table-wrap{
  border:1px solid #e0e7e2!important;border-radius:11px!important;overflow:auto!important;
}
body.pt-ds-ready.pt-menu-cost-dashboard .mc-table-card th,
body.pt-ds-ready.pt-menu-cost-dashboard .mc-detail-card th{
  background:#f0f4f1!important;color:#344b40!important;
}
body.pt-ds-ready.pt-menu-cost-dashboard .mc-table-card td,
body.pt-ds-ready.pt-menu-cost-dashboard .mc-detail-card td{color:#34423b!important}
body.pt-ds-ready.pt-menu-cost-dashboard .mc-table-card tbody tr:hover td,
body.pt-ds-ready.pt-menu-cost-dashboard .mc-detail-card tbody tr:hover td{background:#f7faf8!important}
body.pt-ds-ready.pt-menu-cost-dashboard .mc-heading-actions a{
  min-height:42px!important;border-radius:10px!important;font-weight:800!important;
}
@media(max-width:1000px){
  body.pt-ds-ready.pt-menu-cost-dashboard .filters{grid-template-columns:repeat(2,minmax(0,1fr)) auto!important}
}
@media(max-width:680px){
  body.pt-ds-ready.pt-menu-cost-dashboard .mc-dashboard{width:calc(100% - 24px)!important;margin:14px auto 42px!important}
  body.pt-ds-ready.pt-menu-cost-dashboard .mc-page-heading{padding:17px!important}
  body.pt-ds-ready.pt-menu-cost-dashboard .filters{grid-template-columns:1fr!important}
  body.pt-ds-ready.pt-menu-cost-dashboard .pt-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.pt-ds-ready.pt-menu-cost-dashboard .mc-table-card,
  body.pt-ds-ready.pt-menu-cost-dashboard .mc-detail-card{padding:12px!important}
}

/* Reports Center: a calm white title panel and balanced, readable report tiles. */
body.pt-ds-ready.pt-report-center>.container{max-width:1580px!important}
body.pt-ds-ready.pt-report-center>.container>.box:first-child{
  background:#fff!important;border:1px solid #dfe6e2!important;border-radius:14px!important;
  padding:16px 18px!important;box-shadow:0 2px 10px rgba(24,48,39,.03)!important;
}
body.pt-ds-ready.pt-report-center .hero-main{
  display:flex!important;flex-direction:column!important;justify-content:center!important;
  min-height:142px!important;padding:24px 27px!important;
}
body.pt-ds-ready.pt-report-center .hero-main h1{font-size:clamp(24px,2.4vw,32px)!important}
body.pt-ds-ready.pt-report-center .module-grid{
  grid-template-columns:repeat(auto-fit,minmax(min(100%,270px),1fr))!important;
  gap:14px!important;
}
body.pt-ds-ready.pt-report-center .module-grid>a.card{
  min-height:180px!important;padding:21px!important;border:1px solid #dfe6e2!important;
  border-radius:15px!important;background:#fff!important;box-shadow:0 3px 12px rgba(24,48,39,.035)!important;
}
body.pt-ds-ready.pt-report-center .module-grid>a.card:before{
  height:3px!important;background:linear-gradient(90deg,#155b43,#72a88d)!important;opacity:1!important;
}
body.pt-ds-ready.pt-report-center .module-grid>a.card>strong{color:#1f332a!important;font-size:15px!important}
body.pt-ds-ready.pt-report-center .module-grid>a.card>span:not(.module-code):not(.pt-feature-icon):not(.ready-badge):not(.report-no){
  color:#68766f!important;font-size:12px!important;line-height:1.8!important;
}
body.pt-ds-ready.pt-report-center .report-no{
  background:#155b43!important;color:#fff!important;border-radius:8px!important;
  font:800 10px var(--pt-font-mono)!important;
}
body.pt-ds-ready.pt-report-center .module-code{
  color:#668074!important;font:800 10px var(--pt-font-mono)!important;
}
body.pt-ds-ready.pt-report-center .ready-badge{
  background:#eef5f0!important;color:#286447!important;border:1px solid #dce9e0!important;
}
@media(max-width:700px){
  body.pt-ds-ready.pt-report-center .hero-main{min-height:120px!important;padding:18px!important}
  body.pt-ds-ready.pt-report-center .module-grid{grid-template-columns:1fr!important}
}
