/* Finest dashboard studio: scoped exclusively to the seven dashboard roots.
   No external chart libraries, polling, transaction styles or global layout changes. */
@media screen {
html body.erp-formal-theme.erp-approved-design .erp-dashboard {
    --dash-ink:#242943; --dash-muted:#646a82; --dash-line:#e8eaf2;
    --dash-accent:#6657db; --dash-soft:#f0edff; --dash-teal:#12a59b;
    --dash-shadow:0 2px 5px #26305d04,0 7px 22px #26305d09;
    display:grid; gap:22px; max-width:1800px; min-width:0; margin-inline:auto; padding:4px 0 24px; color:var(--dash-ink);
}
html body.erp-formal-theme.erp-approved-design .erp-dashboard--purchases { --dash-accent:#397cd3; --dash-soft:#edf4ff; }
html body.erp-formal-theme.erp-approved-design .erp-dashboard--inventory { --dash-accent:#108b83; --dash-soft:#e6f7f3; }
html body.erp-formal-theme.erp-approved-design .erp-dashboard :is(h1,h2,h3) { color:var(--dash-ink); }
html body.erp-formal-theme.erp-approved-design .erp-dashboard :is(a,button,select,summary,input):focus-visible {
    outline:3px solid var(--dash-accent)!important; outline-offset:4px;
}
html body.erp-formal-theme.erp-approved-design .erp-dashboard > :is(.dashboard-hero,.finance-hero,.people-hero) {
    display:flex; flex-direction:row; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:14px 24px;
    min-height:0; padding:6px 0 14px!important; margin:0!important; background:transparent!important;
    border:0!important; border-bottom:1px solid var(--dash-line)!important; border-radius:0!important; box-shadow:none!important; overflow:visible;
}
html body.erp-formal-theme.erp-approved-design .erp-dashboard .dashboard-hero > div { width:100%; }
html body.erp-formal-theme.erp-approved-design .erp-dashboard :is(.dashboard-hero,.finance-hero,.people-hero) :is(h1,h1 i) {
    font-size:1.35rem!important; line-height:1.6; font-weight:700; letter-spacing:0; margin:0;
}
html body.erp-formal-theme.erp-approved-design .erp-dashboard .dashboard-hero p { font-size:.85rem; color:var(--dash-muted); margin:5px 0 0; }
html body.erp-formal-theme.erp-approved-design .erp-dashboard :is(.finance-hero-meta,.people-meta) { display:flex; flex-wrap:wrap; gap:10px 18px; margin-top:5px; color:var(--dash-muted); font-size:.8rem; }
html body.erp-formal-theme.erp-approved-design .erp-dashboard :is(.finance-period-control,.people-period) {
    display:grid; grid-template-columns:auto minmax(130px,190px) 40px; align-items:center; gap:8px; width:auto; max-width:100%; padding:0; border:0!important; background:transparent!important;
}
html body.erp-formal-theme.erp-approved-design .erp-dashboard :is(.finance-period-control,.people-period) label { grid-column:auto; margin:0; font-size:.8rem; white-space:nowrap; }
html body.erp-formal-theme.erp-approved-design .erp-dashboard :is(.finance-period-control,.people-period) :is(select,button) { min-height:40px; height:40px; border-radius:10px; }
html body.erp-formal-theme.erp-approved-design .erp-dashboard :is(.finance-period-control,.people-period) button { padding:0; }

/* Medium metric cards: visual hierarchy instead of seven dashboards of identical boxes. */
html body.erp-formal-theme.erp-approved-design .erp-dashboard :is(.workspace-command-metrics,.finance-kpis,.people-kpis),
html body.erp-formal-theme.erp-approved-design .erp-dashboard > .row.g-3 {
    display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:18px; margin:0!important;
}
html body.erp-formal-theme.erp-approved-design .erp-dashboard > .row.g-3 > div { width:auto; min-width:0; margin:0; padding:0; }
html body.erp-formal-theme.erp-approved-design .erp-dashboard > .row.dashboard-metrics--six { grid-template-columns:repeat(3,minmax(0,1fr)); }
html body.erp-formal-theme.erp-approved-design .erp-dashboard :is(.workspace-command-metric,.finance-kpi,.people-kpi,.dashboard-kpi) {
    --card-accent:var(--dash-accent); --card-soft:var(--dash-soft);
    position:relative; isolation:isolate; display:flex; flex-direction:column; align-items:stretch; justify-content:flex-start;
    gap:7px; min-height:164px; height:100%; padding:23px 21px 18px;
    background:#fff!important; color:var(--dash-ink)!important; border:1px solid #ececf4!important; border-radius:17px!important;
    box-shadow:var(--dash-shadow)!important; overflow:hidden; transition:box-shadow .2s ease,transform .2s ease;
}
html body.erp-formal-theme.erp-approved-design .erp-dashboard :is(.workspace-command-metric,.finance-kpi,.people-kpi):nth-child(2),
html body.erp-formal-theme.erp-approved-design .erp-dashboard .dashboard-kpi--violet { --card-accent:#6657db; --card-soft:#f0edff; }
html body.erp-formal-theme.erp-approved-design .erp-dashboard :is(.workspace-command-metric,.finance-kpi,.people-kpi):nth-child(3),
html body.erp-formal-theme.erp-approved-design .erp-dashboard .dashboard-kpi--success { --card-accent:#0b9588; --card-soft:#e5f8f2; }
html body.erp-formal-theme.erp-approved-design .erp-dashboard :is(.workspace-command-metric-attention,.finance-kpi-net,.people-kpi:last-child,.dashboard-kpi--warning) { --card-accent:#c38427; --card-soft:#fff4df; }
html body.erp-formal-theme.erp-approved-design .erp-dashboard .dashboard-kpi--info { --card-accent:#397cd3; --card-soft:#eaf3ff; }
html body.erp-formal-theme.erp-approved-design .erp-dashboard :is(.workspace-command-metric,.finance-kpi,.people-kpi,.dashboard-kpi)::after { display:none; }
html body.erp-formal-theme.erp-approved-design .erp-dashboard :is(.workspace-command-metric-icon,.finance-kpi-icon,.people-kpi-icon,.dashboard-kpi__icon) {
    position:absolute; top:20px; inset-inline-end:20px; display:grid; place-items:center; width:44px; height:44px;
    margin:0; background:var(--card-soft)!important; color:var(--card-accent)!important; border:0!important; border-radius:13px; font-size:1.3rem;
}
html body.erp-formal-theme.erp-approved-design .erp-dashboard :is(.workspace-command-metric-icon,.finance-kpi-icon,.people-kpi-icon,.dashboard-kpi__icon) i { color:inherit!important; }
html body.erp-formal-theme.erp-approved-design .erp-dashboard :is(.workspace-command-metric > .workspace-command-section-label,.finance-kpi > span:not(.finance-kpi-icon),.people-kpi > span:not(.people-kpi-icon),.dashboard-kpi__label) {
    display:block; min-height:28px; padding-inline-end:50px; margin:0; color:var(--dash-muted)!important; font-size:.88rem; font-weight:500; line-height:1.7; white-space:normal;
}
html body.erp-formal-theme.erp-approved-design .erp-dashboard :is(.workspace-command-metric > strong,.finance-kpi > strong,.people-kpi > strong,.dashboard-kpi__value) {
    display:block; color:var(--dash-ink)!important; font-size:clamp(1.6rem,2vw,2.05rem)!important; font-weight:700; line-height:1.35;
    letter-spacing:-.025em; font-variant-numeric:tabular-nums; text-align:match-parent; margin:7px 0 0; overflow-wrap:anywhere; white-space:normal;
}
html body.erp-formal-theme.erp-approved-design .erp-dashboard :is(.workspace-command-metric > small,.finance-kpi > small,.people-kpi > small,.dashboard-kpi__hint) {
    display:block; color:var(--dash-muted)!important; font-size:.76rem; line-height:1.7; margin:auto 0 0; white-space:normal;
}
html[dir="rtl"] body.erp-formal-theme.erp-approved-design .erp-dashboard .finance-kpi > strong[dir="ltr"] { text-align:right!important; }
html body.erp-formal-theme.erp-approved-design .erp-dashboard :is(.workspace-command-metric:first-child,.finance-kpi:first-child,.people-kpi.is-primary),
html body.erp-formal-theme.erp-approved-design .erp-dashboard--inventory .dashboard-metrics > div:last-child .dashboard-kpi {
    background:linear-gradient(120deg,#303969,#51479b)!important; border-color:transparent!important; box-shadow:0 10px 25px #49428726!important;
}
html body.erp-formal-theme.erp-approved-design .erp-dashboard :is(.workspace-command-metric:first-child,.finance-kpi:first-child,.people-kpi.is-primary)::before,
html body.erp-formal-theme.erp-approved-design .erp-dashboard--inventory .dashboard-metrics > div:last-child .dashboard-kpi::before {
    content:""; position:absolute; inset:0; border:0; border-radius:inherit; background:radial-gradient(circle at 0% 120%,transparent 38%,#ffffff07 38% 57%,transparent 57%); z-index:-1;
}
html body.erp-formal-theme.erp-approved-design .erp-dashboard :is(.workspace-command-metric:first-child,.finance-kpi:first-child,.people-kpi.is-primary) > :is(span,strong,small),
html body.erp-formal-theme.erp-approved-design .erp-dashboard--inventory .dashboard-metrics > div:last-child .dashboard-kpi > span { color:#fff!important; }
html body.erp-formal-theme.erp-approved-design .erp-dashboard :is(.workspace-command-metric:first-child,.finance-kpi:first-child,.people-kpi.is-primary) > :is(.workspace-command-metric-icon,.finance-kpi-icon,.people-kpi-icon),
html body.erp-formal-theme.erp-approved-design .erp-dashboard--inventory .dashboard-metrics > div:last-child .dashboard-kpi__icon { background:#ffffff20!important; color:#fff!important; }

/* Compact command rail, followed by independent, balanced analysis surfaces. */
html body.erp-formal-theme.erp-approved-design .erp-dashboard :is(.finance-shortcuts,.people-shortcuts) { display:flex; flex-wrap:wrap; gap:9px; }
html body.erp-formal-theme.erp-approved-design .erp-dashboard :is(.finance-shortcuts,.people-shortcuts):empty { display:none; }
html body.erp-formal-theme.erp-approved-design .erp-dashboard :is(.finance-shortcuts a,.people-shortcuts a) {
    display:flex; align-items:center; flex:1 1 155px; gap:9px; min-height:48px; padding:10px 13px; background:#fff!important; border:1px solid var(--dash-line)!important;
    border-radius:11px!important; box-shadow:0 3px 8px #26305d03!important; font-size:.82rem; font-weight:600; color:var(--dash-ink); text-decoration:none; transition:transform .18s,box-shadow .18s,background .18s;
}
html body.erp-formal-theme.erp-approved-design .erp-dashboard :is(.finance-shortcuts a > i:first-child,.people-action-icon) { color:var(--dash-accent)!important; font-size:1.15rem; }
html body.erp-formal-theme.erp-approved-design .erp-dashboard :is(.finance-shortcuts a,.people-shortcuts a) > i:last-child { margin-inline-start:auto; font-size:.68rem; opacity:.6; }
html body.erp-formal-theme.erp-approved-design .erp-dashboard :is(.workspace-command-panel,.finance-panel,.people-panel,.dashboard-panel,.dash-distribution,.dash-linkage) {
    min-width:0; background:#fff!important; border:1px solid #e9ebf3!important; border-radius:17px!important; padding:23px; box-shadow:var(--dash-shadow)!important;
}
html body.erp-formal-theme.erp-approved-design .erp-dashboard :is(.workspace-command-panel > header,.finance-panel > header,.people-panel > header,.dashboard-panel__header,.dash-distribution > header) {
    display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:12px; padding:0; margin:0 0 22px; border:0!important; background:transparent!important;
}
html body.erp-formal-theme.erp-approved-design .erp-dashboard :is(.workspace-command-panel,.finance-panel,.people-panel,.dashboard-panel,.dash-distribution,.dash-linkage) h2 { color:var(--dash-ink); font-size:1.1rem; font-weight:650; line-height:1.7; margin:0; }
html body.erp-formal-theme.erp-approved-design .erp-dashboard :is(.finance-eyebrow,.people-eyebrow,.workspace-command-panel .workspace-command-section-label,.dash-overline) { display:block; font-size:.74rem; font-weight:500; color:var(--dash-muted); margin-bottom:5px; }
html body.erp-formal-theme.erp-approved-design .erp-dashboard :is(.workspace-command-analytics,.finance-main-grid,.finance-bottom-grid,.people-main-grid,.people-bottom-grid,.dash-module-overview) { display:grid; gap:22px; }
html body.erp-formal-theme.erp-approved-design .erp-dashboard :is(.workspace-command-analytics,.finance-main-grid,.people-main-grid,.dash-module-overview) { grid-template-columns:minmax(0,1.7fr) minmax(0,1fr); }
html body.erp-formal-theme.erp-approved-design .erp-dashboard .people-bottom-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
html body.erp-formal-theme.erp-approved-design .erp-dashboard .people-payroll { grid-column:auto; }
html body.erp-formal-theme.erp-approved-design .erp-dashboard > .row.g-4 { display:grid; grid-template-columns:minmax(0,1.5fr) minmax(0,1fr); gap:22px; margin:0; align-items:start; }
html body.erp-formal-theme.erp-approved-design .erp-dashboard > .row.g-4 > div { width:auto; padding:0; margin:0; min-width:0; }
html body.erp-formal-theme.erp-approved-design .erp-dashboard .dashboard-panel { height:auto; }
html body.erp-formal-theme.erp-approved-design .erp-dashboard .col-lg-7 > .dashboard-panel { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
html body.erp-formal-theme.erp-approved-design .erp-dashboard .col-lg-7 .dashboard-panel__header { grid-column:1/-1; margin-bottom:4px; }
html body.erp-formal-theme.erp-approved-design .erp-dashboard .dashboard-panel > .p-4 { padding:0!important; grid-column:1/-1; }
html body.erp-formal-theme.erp-approved-design .erp-dashboard .dashboard-panel > .p-4 > .d-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px!important; }
html body.erp-formal-theme.erp-approved-design .erp-dashboard .dashboard-action {
    display:flex; align-items:center; gap:12px; min-height:78px; margin:0 0 10px; padding:14px; border:1px solid #edeff6!important; background:#fff;
    border-radius:12px!important; box-shadow:none; color:var(--dash-ink); text-decoration:none; transition:transform .18s,box-shadow .18s,background .18s;
}
html body.erp-formal-theme.erp-approved-design .erp-dashboard .col-lg-7 .dashboard-action { min-height:103px; margin:0; flex-wrap:wrap; align-content:center; }
html body.erp-formal-theme.erp-approved-design .erp-dashboard .dashboard-action > span:not(.badge) { flex:1; min-width:0; }
html body.erp-formal-theme.erp-approved-design .erp-dashboard .dashboard-action > i:first-child,
html body.erp-formal-theme.erp-approved-design .erp-dashboard .workspace-command-area-icon { display:grid; place-items:center; width:43px; height:43px; flex:0 0 43px; border:0; border-radius:13px; color:var(--dash-accent)!important; background:var(--dash-soft)!important; font-size:1.25rem; }
html body.erp-formal-theme.erp-approved-design .erp-dashboard .dashboard-action strong { display:block; font-size:.9rem; font-weight:600; color:var(--dash-ink); overflow-wrap:anywhere; white-space:normal; }
html body.erp-formal-theme.erp-approved-design .erp-dashboard .dashboard-action small { display:block; margin-top:4px; font-size:.75rem; line-height:1.7; color:var(--dash-muted); }
html body.erp-formal-theme.erp-approved-design .erp-dashboard .dashboard-action:not(:has(> .badge))::after { content:"↗"; font-size:1rem; color:var(--dash-accent); margin-inline-start:auto; }
html body.erp-formal-theme.erp-approved-design .erp-dashboard--partners .col-lg-7 > .dashboard-panel { display:block; }
html body.erp-formal-theme.erp-approved-design .erp-dashboard--partners .col-lg-7 .dashboard-action { min-height:78px; margin-bottom:10px; }
html body.erp-formal-theme.erp-approved-design .erp-dashboard .workspace-command-systems { grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; }
html body.erp-formal-theme.erp-approved-design .erp-dashboard .workspace-command-systems a {
    min-height:104px; padding:20px; background:#fff!important; border:1px solid var(--dash-line)!important; border-radius:15px!important;
    box-shadow:var(--dash-shadow)!important; color:var(--dash-ink); text-decoration:none; transition:transform .18s,box-shadow .18s,background .18s;
}
html body.erp-formal-theme.erp-approved-design .erp-dashboard .workspace-command-systems a:nth-child(2n) { --dash-accent:#0f978e; --dash-soft:#e4f7f2; }
html body.erp-formal-theme.erp-approved-design .erp-dashboard .workspace-command-systems a:nth-child(3n) { --dash-accent:#397cd3; --dash-soft:#edf4ff; }
html body.erp-formal-theme.erp-approved-design .erp-dashboard .workspace-command-systems :is(strong,small) { white-space:normal; }
html body.erp-formal-theme.erp-approved-design .erp-dashboard .workspace-command-systems strong { font-size:.96rem; }
html body.erp-formal-theme.erp-approved-design .erp-dashboard .workspace-command-systems small { color:var(--dash-muted); font-size:.77rem; line-height:1.7; }
html body.erp-formal-theme.erp-approved-design .erp-dashboard .workspace-command-donut { width:166px; height:166px; margin:12px auto 22px; background:conic-gradient(#6657db 0 var(--completion),#eeecf8 var(--completion) 100%); }
html body.erp-formal-theme.erp-approved-design .erp-dashboard .workspace-command-status-list { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
html body.erp-formal-theme.erp-approved-design .erp-dashboard .workspace-command-status-list > div { display:flex; flex-direction:column; align-items:flex-start; gap:7px; padding:11px 13px; border:0; border-radius:10px; background:#f7f8fc; }
html body.erp-formal-theme.erp-approved-design .erp-dashboard .workspace-command-status-list dd { font-size:1.18rem; font-weight:700; margin:0; }

/* Genuine composition charts, based only on the records already loaded by the page. */
html body.erp-formal-theme.erp-approved-design .erp-dashboard .dash-panel-icon { display:grid; place-items:center; width:38px; height:38px; background:var(--dash-soft); color:var(--dash-accent); border-radius:11px; font-size:1.15rem; }
html body.erp-formal-theme.erp-approved-design .erp-dashboard .dash-distribution-body { display:grid; grid-template-columns:180px minmax(0,1fr); gap:28px; align-items:center; }
html body.erp-formal-theme.erp-approved-design .erp-dashboard .dash-distribution-ring { display:grid; place-items:center; width:176px; aspect-ratio:1; border-radius:50%; padding:16px; box-shadow:0 7px 20px #6657db10; }
html body.erp-formal-theme.erp-approved-design .erp-dashboard .dash-distribution-ring > div { display:flex; flex-direction:column; justify-content:center; align-items:center; width:100%; height:100%; border-radius:50%; background:white; box-shadow:inset 0 0 0 6px #f9faff; }
html body.erp-formal-theme.erp-approved-design .erp-dashboard .dash-distribution-ring strong { font-size:1.8rem; color:var(--dash-ink); font-weight:700; }
html body.erp-formal-theme.erp-approved-design .erp-dashboard .dash-distribution-ring span { font-size:.72rem; color:var(--dash-muted); }
html body.erp-formal-theme.erp-approved-design .erp-dashboard .dash-breakdown-row { display:flex; align-items:center; gap:12px; padding:11px 0; color:var(--dash-ink); text-decoration:none; border-radius:9px; }
html body.erp-formal-theme.erp-approved-design .erp-dashboard .dash-breakdown-icon { display:grid; place-items:center; flex:0 0 35px; width:35px; height:35px; border-radius:11px; background:color-mix(in srgb,var(--slice-color) 10%,white); color:var(--slice-color); }
html body.erp-formal-theme.erp-approved-design .erp-dashboard .dash-breakdown-row > span:nth-child(2) { flex:1; min-width:0; }
html body.erp-formal-theme.erp-approved-design .erp-dashboard .dash-breakdown-row b { font-size:.82rem; font-weight:600; }
html body.erp-formal-theme.erp-approved-design .erp-dashboard .dash-breakdown-row > strong { font-size:.98rem; text-align:end; }
html body.erp-formal-theme.erp-approved-design .erp-dashboard .dash-breakdown-row small { display:block; margin-top:3px; color:var(--dash-muted); font-size:.68rem; font-weight:400; }
html body.erp-formal-theme.erp-approved-design .erp-dashboard .dash-breakdown-row > i { font-size:.7rem; color:var(--dash-muted); }
html body.erp-formal-theme.erp-approved-design .erp-dashboard .dash-mini-track { display:block; height:5px; border-radius:8px; background:#eff0f6; margin-top:9px; overflow:hidden; }
html body.erp-formal-theme.erp-approved-design .erp-dashboard .dash-mini-track > span { display:block; height:100%; border-radius:8px; background:var(--slice-color); }
html body.erp-formal-theme.erp-approved-design .erp-dashboard :is(.dash-distribution-note,.dash-linkage p) { color:var(--dash-muted); font-size:.73rem; line-height:1.8; margin:18px 0 0; }
html body.erp-formal-theme.erp-approved-design .erp-dashboard .dash-spotlight {
    display:flex; flex-direction:column; align-items:flex-start; position:relative; isolation:isolate; overflow:hidden; min-width:0; padding:26px; border-radius:17px;
    color:#fff; background:linear-gradient(125deg,#303969,#5546a1); box-shadow:0 10px 25px #49428722;
}
html body.erp-formal-theme.erp-approved-design .erp-dashboard .dash-spotlight::before { content:""; position:absolute; inset-inline-end:-70px; top:-80px; width:250px; height:250px; border:38px solid #ffffff07; border-radius:50%; z-index:-1; }
html body.erp-formal-theme.erp-approved-design .erp-dashboard .dash-spotlight-icon { position:absolute; inset-inline-end:22px; top:23px; display:grid; place-items:center; width:42px; height:42px; background:#ffffff19; border:1px solid #ffffff25; border-radius:13px; font-size:1.3rem; }
html body.erp-formal-theme.erp-approved-design .erp-dashboard .dash-spotlight .dash-overline { color:#e0dcff; padding-inline-end:46px; }
html body.erp-formal-theme.erp-approved-design .erp-dashboard .dash-spotlight h2 { font-size:1.1rem; line-height:1.8; margin:0; color:#fff; padding-inline-end:42px; }
html body.erp-formal-theme.erp-approved-design .erp-dashboard .dash-spotlight-value { font-size:clamp(1.7rem,2.5vw,2.5rem); margin:27px 0 5px; font-weight:650; font-variant-numeric:tabular-nums; overflow-wrap:anywhere; max-width:100%; }
html body.erp-formal-theme.erp-approved-design .erp-dashboard .dash-spotlight p { color:#e0dcff; font-size:.77rem; margin:0 0 24px; line-height:1.7; }
html body.erp-formal-theme.erp-approved-design .erp-dashboard .dash-spotlight a { display:flex; justify-content:space-between; gap:16px; padding:11px 14px; width:100%; margin-top:auto; color:#fff; background:#ffffff13; border:1px solid #ffffff28; border-radius:10px; text-decoration:none; font-size:.83rem; }
html body.erp-formal-theme.erp-approved-design .erp-dashboard .dash-linkage a { display:block; color:var(--dash-ink); text-decoration:none; margin-top:27px; }
html body.erp-formal-theme.erp-approved-design .erp-dashboard .dash-linkage a > span { display:flex; justify-content:space-between; gap:8px; font-size:.85rem; }
html body.erp-formal-theme.erp-approved-design .erp-dashboard .dash-linkage progress { appearance:none; width:100%; height:8px; border-radius:8px; overflow:hidden; margin-top:12px; border:0; background:#edf0f7; accent-color:#6657db; }
html body.erp-formal-theme.erp-approved-design .erp-dashboard .dash-linkage progress::-webkit-progress-bar { background:#edf0f7; }
html body.erp-formal-theme.erp-approved-design .erp-dashboard .dash-linkage progress::-webkit-progress-value { background:linear-gradient(90deg,#6657db,#a092f3); border-radius:8px; }

/* Local interaction: radio controls switch the plot without a server round-trip. */
html body.erp-formal-theme.erp-approved-design .erp-dashboard .dash-trend { color:var(--dash-accent); min-width:0; }
html body.erp-formal-theme.erp-approved-design .erp-dashboard .dash-trend-toolbar { display:flex; flex-wrap:wrap; justify-content:space-between; align-items:center; gap:10px; margin:12px 0 20px; }
html body.erp-formal-theme.erp-approved-design .erp-dashboard .dash-chart-legend { display:flex; flex-wrap:wrap; gap:16px; font-size:.79rem; color:var(--dash-muted); }
html body.erp-formal-theme.erp-approved-design .erp-dashboard .dash-chart-legend span { display:flex; align-items:center; gap:7px; }
html body.erp-formal-theme.erp-approved-design .erp-dashboard .dash-chart-legend i { display:inline-block; width:9px; height:9px; background:var(--dash-accent); border-radius:50%; }
html body.erp-formal-theme.erp-approved-design .erp-dashboard .dash-chart-legend i.is-secondary { background:#12a59b; }
html body.erp-formal-theme.erp-approved-design .erp-dashboard .dash-chart-switch { display:flex; gap:3px; padding:4px; margin:0; border:0; border-radius:10px; background:#f3f4f9; }
html body.erp-formal-theme.erp-approved-design .erp-dashboard .dash-chart-switch label { position:relative; margin:0; cursor:pointer; }
html body.erp-formal-theme.erp-approved-design .erp-dashboard .dash-chart-switch input { position:absolute; opacity:0; width:1px; height:1px; }
html body.erp-formal-theme.erp-approved-design .erp-dashboard .dash-chart-switch label > span { display:flex; align-items:center; gap:6px; min-height:30px; padding:6px 11px; border-radius:7px; font-size:.75rem; color:var(--dash-muted); }
html body.erp-formal-theme.erp-approved-design .erp-dashboard .dash-chart-switch input:checked + span { color:var(--dash-accent); background:#fff; box-shadow:0 2px 5px #2a275216; }
html body.erp-formal-theme.erp-approved-design .erp-dashboard .dash-chart-switch input:focus-visible + span { outline:3px solid var(--dash-accent); outline-offset:2px; }
html body.erp-formal-theme.erp-approved-design .erp-dashboard .dash-trend-plot { position:relative; height:235px; margin-bottom:30px; direction:ltr; }
html body.erp-formal-theme.erp-approved-design .erp-dashboard .dash-trend-plot svg { display:block; width:100%; height:100%; overflow:visible; }
html body.erp-formal-theme.erp-approved-design .erp-dashboard .dash-grid-lines { stroke:#edeef5; stroke-width:1; stroke-dasharray:4 5; }
html body.erp-formal-theme.erp-approved-design .erp-dashboard :is(.dash-trend-primary,.dash-trend-secondary) { stroke:var(--dash-accent); stroke-width:3; fill:none; stroke-linejoin:round; stroke-linecap:round; vector-effect:non-scaling-stroke; }
html body.erp-formal-theme.erp-approved-design .erp-dashboard .dash-trend-secondary { stroke:#12a59b; stroke-width:2.5; }
html body.erp-formal-theme.erp-approved-design .erp-dashboard .dash-point { fill:#fff; stroke:var(--dash-accent); stroke-width:2.5; }
html body.erp-formal-theme.erp-approved-design .erp-dashboard .dash-bar-primary { fill:var(--dash-accent); }
html body.erp-formal-theme.erp-approved-design .erp-dashboard .dash-bar-secondary { fill:#45beb6; }
html body.erp-formal-theme.erp-approved-design .erp-dashboard .dash-bar-view { display:none; }
html body.erp-formal-theme.erp-approved-design .erp-dashboard .dash-trend:has(input[value="bar"]:checked) .dash-line-view { display:none; }
html body.erp-formal-theme.erp-approved-design .erp-dashboard .dash-trend:has(input[value="bar"]:checked) .dash-bar-view { display:block; }
html body.erp-formal-theme.erp-approved-design .erp-dashboard .dash-chart-hitareas { position:absolute; inset:0; display:grid; }
html body.erp-formal-theme.erp-approved-design .erp-dashboard .dash-chart-point { position:relative; min-width:0; border:0; border-radius:8px; padding:0; background:transparent; color:var(--dash-muted); cursor:crosshair; box-shadow:none; }
html body.erp-formal-theme.erp-approved-design .erp-dashboard .dash-chart-point:hover { background:#6657db05; }
html body.erp-formal-theme.erp-approved-design .erp-dashboard .dash-chart-date { position:absolute; top:100%; left:50%; transform:translateX(-50%); padding-top:9px; white-space:nowrap; font-size:.68rem; }
html body.erp-formal-theme.erp-approved-design .erp-dashboard .dash-chart-tooltip { display:none; pointer-events:none; position:absolute; z-index:5; top:0; left:50%; transform:translateX(-50%); min-width:190px; padding:13px 16px; border-radius:12px; background:#272d4d; box-shadow:0 10px 25px #20264426; color:#fff; direction:rtl; text-align:start; }
html body.erp-formal-theme.erp-approved-design .erp-dashboard .dash-chart-point:nth-child(-n+3) .dash-chart-tooltip { left:0; transform:none; }
html body.erp-formal-theme.erp-approved-design .erp-dashboard .dash-chart-point:nth-last-child(-n+3) .dash-chart-tooltip { left:auto; right:0; transform:none; }
html body.erp-formal-theme.erp-approved-design .erp-dashboard .dash-chart-point:is(:hover,:focus) .dash-chart-tooltip { display:block; }
html body.erp-formal-theme.erp-approved-design .erp-dashboard .dash-chart-tooltip b { display:block; color:#d6d9f4; font-size:.74rem; margin-bottom:8px; }
html body.erp-formal-theme.erp-approved-design .erp-dashboard .dash-chart-tooltip > span { display:flex; justify-content:space-between; gap:16px; font-size:.74rem; margin-top:5px; }
html body.erp-formal-theme.erp-approved-design .erp-dashboard .dash-chart-tooltip strong { font-size:.82rem; color:#fff; }
html body.erp-formal-theme.erp-approved-design .erp-dashboard .dash-chart-data { margin-top:16px; color:var(--dash-muted); font-size:.77rem; }
html body.erp-formal-theme.erp-approved-design .erp-dashboard .dash-chart-data summary { display:flex; gap:9px; align-items:center; width:fit-content; padding:8px 0; cursor:pointer; }
html body.erp-formal-theme.erp-approved-design .erp-dashboard .dash-chart-data[open] summary i { transform:rotate(180deg); }
html body.erp-formal-theme.erp-approved-design .erp-dashboard :is(.workspace-command-chart-legend,.finance-chart-key) > span { display:none; }
html body.erp-formal-theme.erp-approved-design .erp-dashboard :is(.workspace-command-chart-legend,.finance-chart-key) { margin-bottom:0; }
html body.erp-formal-theme.erp-approved-design .erp-dashboard .people-chart-summary { margin-bottom:10px; }
html body.erp-formal-theme.erp-approved-design .erp-dashboard .people-chart-summary > strong { font-size:1.85rem; }
html body.erp-formal-theme.erp-approved-design .erp-dashboard .people-attention-row { padding:14px 8px; border-bottom:1px solid #f0f1f7; border-radius:10px; transition:background .18s; }
html body.erp-formal-theme.erp-approved-design .erp-dashboard .people-attention-icon { background:#f0edff; color:#6657db; border-radius:12px; width:38px; height:38px; }
html body.erp-formal-theme.erp-approved-design .erp-dashboard .people-attention-row > b.has-items { background:#fff0e7; color:#b1632e; border-radius:9px; padding:6px 10px; }
html body.erp-formal-theme.erp-approved-design .erp-dashboard :is(.people-department,.finance-source) progress::-webkit-progress-value { background:linear-gradient(90deg,#6657db,#aea2f6); border-radius:8px; }
html body.erp-formal-theme.erp-approved-design .erp-dashboard .people-team-footer { background:#f4f1ff; }
html body.erp-formal-theme.erp-approved-design .erp-dashboard .people-reports { border-radius:14px; background:#fff; border:1px solid var(--dash-line); }
html body.erp-formal-theme.erp-approved-design article.content .erp-dashboard table.table thead th { background:#f4f4fa!important; color:#5b5e78!important; font-size:.77rem!important; border:0!important; padding:13px 15px!important; }
html body.erp-formal-theme.erp-approved-design .erp-dashboard table.table tbody td { border-inline:0!important; border-bottom:1px solid #edf0f6!important; background:#fff!important; padding:13px 15px!important; font-size:.82rem!important; }
html body.erp-formal-theme.erp-approved-design .erp-dashboard table.table tbody tr:hover td { background:#f8f7ff!important; }
html body.erp-formal-theme.erp-approved-design .erp-dashboard :is(.finance-scope-note,.people-scope,.workspace-command-bottom-strip) { color:var(--dash-muted); font-size:.74rem; line-height:1.8; }
}
@media screen and (hover:hover) {
html body.erp-formal-theme.erp-approved-design .erp-dashboard :is(.workspace-command-metric,.finance-kpi,.people-kpi,.dashboard-kpi):hover { box-shadow:0 8px 25px #39346419!important; transform:translateY(-2px)!important; }
html body.erp-formal-theme.erp-approved-design .erp-dashboard :is(.dashboard-action,.workspace-command-systems a,.finance-shortcuts a,.people-shortcuts a):hover {
    background:var(--dash-soft)!important; border-color:#d8d1f2!important; box-shadow:0 5px 16px #6657db12!important; transform:translateY(-2px)!important;
}
html body.erp-formal-theme.erp-approved-design .erp-dashboard :is(.dashboard-action,.workspace-command-systems a,.finance-shortcuts a,.people-shortcuts a):active { transform:translateY(0)!important; }
html body.erp-formal-theme.erp-approved-design .erp-dashboard :is(.dash-breakdown-row,.people-attention-row,.people-leave-row):hover { background:#f6f4ff; }
html body.erp-formal-theme.erp-approved-design .erp-dashboard .dash-spotlight a:hover { background:#ffffff25; }
}
@media screen and (max-width:1100px) {
html body.erp-formal-theme.erp-approved-design .erp-dashboard :is(.workspace-command-metrics,.finance-kpis,.people-kpis),
html body.erp-formal-theme.erp-approved-design .erp-dashboard > .row.g-3 { grid-template-columns:repeat(2,minmax(0,1fr)); }
html body.erp-formal-theme.erp-approved-design .erp-dashboard .dash-distribution-body { grid-template-columns:135px minmax(0,1fr); gap:18px; }
html body.erp-formal-theme.erp-approved-design .erp-dashboard .dash-distribution-ring { width:132px; padding:12px; }
html body.erp-formal-theme.erp-approved-design .erp-dashboard .people-bottom-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
html body.erp-formal-theme.erp-approved-design .erp-dashboard .people-payroll { grid-column:1/-1; }
}
@media screen and (max-width:850px) {
html body.erp-formal-theme.erp-approved-design .erp-dashboard :is(.workspace-command-analytics,.finance-main-grid,.finance-bottom-grid,.people-main-grid,.people-bottom-grid,.dash-module-overview),
html body.erp-formal-theme.erp-approved-design .erp-dashboard > .row.g-4 { grid-template-columns:minmax(0,1fr); }
html body.erp-formal-theme.erp-approved-design .erp-dashboard .workspace-command-systems { grid-template-columns:repeat(2,minmax(0,1fr)); }
html body.erp-formal-theme.erp-approved-design .erp-dashboard .dash-spotlight { min-height:240px; }
}
@media screen and (max-width:600px) {
html body.erp-formal-theme.erp-approved-design .erp-dashboard { gap:16px; }
html body.erp-formal-theme.erp-approved-design .erp-dashboard :is(.workspace-command-metrics,.finance-kpis,.people-kpis),
html body.erp-formal-theme.erp-approved-design .erp-dashboard > .row.g-3 { gap:11px; }
html body.erp-formal-theme.erp-approved-design .erp-dashboard :is(.workspace-command-metric,.finance-kpi,.people-kpi,.dashboard-kpi) { min-height:175px; padding:16px 13px; }
html body.erp-formal-theme.erp-approved-design .erp-dashboard :is(.workspace-command-metric-icon,.finance-kpi-icon,.people-kpi-icon,.dashboard-kpi__icon) { position:static; width:34px; height:34px; font-size:1.1rem; border-radius:10px; }
html body.erp-formal-theme.erp-approved-design .erp-dashboard :is(.workspace-command-metric > .workspace-command-section-label,.finance-kpi > span:not(.finance-kpi-icon),.people-kpi > span:not(.people-kpi-icon),.dashboard-kpi__label) { padding:0; font-size:.82rem; min-height:0; }
html body.erp-formal-theme.erp-approved-design .erp-dashboard :is(.workspace-command-panel,.finance-panel,.people-panel,.dashboard-panel,.dash-distribution,.dash-linkage) { padding:18px; }
html body.erp-formal-theme.erp-approved-design .erp-dashboard :is(.finance-period-control,.people-period) { width:100%; grid-template-columns:auto minmax(0,1fr) 44px; }
html body.erp-formal-theme.erp-approved-design .erp-dashboard :is(.finance-period-control,.people-period) :is(select,button) { min-height:44px; height:44px; }
html body.erp-formal-theme.erp-approved-design .erp-dashboard .dash-chart-switch label > span { min-height:36px; }
html body.erp-formal-theme.erp-approved-design .erp-dashboard .dash-trend-plot { height:185px; }
html body.erp-formal-theme.erp-approved-design .erp-dashboard .dash-chart-date { font-size:.61rem; }
html body.erp-formal-theme.erp-approved-design .erp-dashboard .dash-chart-point:nth-child(even) .dash-chart-date { visibility:hidden; }
html body.erp-formal-theme.erp-approved-design .erp-dashboard .dash-chart-tooltip { min-width:160px; padding:10px; }
html body.erp-formal-theme.erp-approved-design .erp-dashboard .dash-distribution-body { grid-template-columns:minmax(0,1fr); justify-items:center; gap:16px; }
html body.erp-formal-theme.erp-approved-design .erp-dashboard .dash-distribution-ring { width:154px; padding:14px; }
html body.erp-formal-theme.erp-approved-design .erp-dashboard .dash-distribution-list { width:100%; }
html body.erp-formal-theme.erp-approved-design .erp-dashboard .workspace-command-systems { grid-template-columns:minmax(0,1fr); }
html body.erp-formal-theme.erp-approved-design .erp-dashboard :is(.col-lg-7 > .dashboard-panel,.dashboard-panel > .p-4 > .d-grid) { grid-template-columns:minmax(0,1fr); }
html body.erp-formal-theme.erp-approved-design .erp-dashboard .col-lg-7 .dashboard-action { min-height:78px; }
html body.erp-formal-theme.erp-approved-design .erp-dashboard :is(.finance-shortcuts a,.people-shortcuts a) { flex-basis:130px; font-size:.78rem; padding:10px; }
html body.erp-formal-theme.erp-approved-design .erp-dashboard .people-section-label { flex-wrap:wrap; }
}
@media screen and (max-width:359px) {
html body.erp-formal-theme.erp-approved-design .erp-dashboard :is(.workspace-command-metrics,.finance-kpis,.people-kpis),
html body.erp-formal-theme.erp-approved-design .erp-dashboard > .row.g-3 { grid-template-columns:minmax(0,1fr); }
}
@media (prefers-reduced-motion:reduce) {
html body.erp-formal-theme.erp-approved-design .erp-dashboard *,
html body.erp-formal-theme.erp-approved-design .erp-dashboard *::before,
html body.erp-formal-theme.erp-approved-design .erp-dashboard *::after { animation:none!important; transition:none!important; }
html body.erp-formal-theme.erp-approved-design .erp-dashboard :is(.workspace-command-metric,.finance-kpi,.people-kpi,.dashboard-kpi,.dashboard-action,.workspace-command-systems a,.finance-shortcuts a,.people-shortcuts a):hover { transform:none!important; }
}
/* Requested density change is exclusive to Home; other module dashboards stay unchanged. */
@media screen {
html body.erp-formal-theme.erp-approved-design .erp-dashboard.erp-dashboard--home { gap:12px; padding-bottom:12px; }
html body.erp-formal-theme.erp-approved-design .erp-dashboard.erp-dashboard--home .workspace-command-toolbar { padding:2px 0 10px; gap:8px 16px; }
html body.erp-formal-theme.erp-approved-design .erp-dashboard.erp-dashboard--home .workspace-command-heading h1 { font-size:1.2rem; }
html body.erp-formal-theme.erp-approved-design .erp-dashboard.erp-dashboard--home .workspace-command-metrics { gap:10px; }
html body.erp-formal-theme.erp-approved-design .erp-dashboard.erp-dashboard--home .workspace-command-metric { min-height:112px; padding:13px 14px; gap:3px; border-radius:12px!important; }
html body.erp-formal-theme.erp-approved-design .erp-dashboard.erp-dashboard--home .workspace-command-metric-icon { position:absolute; top:12px; inset-inline-end:12px; width:30px; height:30px; border-radius:9px; font-size:1rem; }
html body.erp-formal-theme.erp-approved-design .erp-dashboard.erp-dashboard--home .workspace-command-metric > .workspace-command-section-label { min-height:24px; padding-inline-end:34px; font-size:.79rem; }
html body.erp-formal-theme.erp-approved-design .erp-dashboard.erp-dashboard--home .workspace-command-metric > strong { font-size:1.5rem!important; margin:2px 0; }
html body.erp-formal-theme.erp-approved-design .erp-dashboard.erp-dashboard--home .workspace-command-metric > small { font-size:.69rem; }
html body.erp-formal-theme.erp-approved-design .erp-dashboard.erp-dashboard--home .workspace-command-analytics { grid-template-columns:minmax(0,1fr); gap:0; }
html body.erp-formal-theme.erp-approved-design .erp-dashboard.erp-dashboard--home .workspace-command-chart-panel { padding:14px 18px; border-radius:12px!important; }
html body.erp-formal-theme.erp-approved-design .erp-dashboard.erp-dashboard--home .workspace-command-chart-panel > header { margin-bottom:4px; }
html body.erp-formal-theme.erp-approved-design .erp-dashboard.erp-dashboard--home .workspace-command-chart-panel h2 { font-size:.96rem; }
html body.erp-formal-theme.erp-approved-design .erp-dashboard.erp-dashboard--home .workspace-command-chart-legend { padding:0; font-size:.68rem; }
html body.erp-formal-theme.erp-approved-design .erp-dashboard.erp-dashboard--home .dash-trend-toolbar { margin:6px 0 10px; }
html body.erp-formal-theme.erp-approved-design .erp-dashboard.erp-dashboard--home .dash-trend-plot { height:150px; margin-bottom:25px; }
html body.erp-formal-theme.erp-approved-design .erp-dashboard.erp-dashboard--home .dash-chart-data { margin-top:4px; }
html body.erp-formal-theme.erp-approved-design .erp-dashboard.erp-dashboard--home .dash-chart-data summary { padding:5px 0; }
html body.erp-formal-theme.erp-approved-design .erp-dashboard.erp-dashboard--home .workspace-command-chart-note { padding:5px 0 0; }
html body.erp-formal-theme.erp-approved-design .erp-dashboard.erp-dashboard--home .workspace-command-empty { min-height:120px; padding:15px; }
html body.erp-formal-theme.erp-approved-design .erp-dashboard.erp-dashboard--home .workspace-command-section-heading { margin:0 0 9px; gap:6px 16px; flex-direction:row; flex-wrap:wrap; align-items:center; }
html body.erp-formal-theme.erp-approved-design .erp-dashboard.erp-dashboard--home .workspace-command-section-heading h2 { font-size:1rem; margin:0; }
html body.erp-formal-theme.erp-approved-design .erp-dashboard.erp-dashboard--home .workspace-command-section-heading p { margin:0; }
html body.erp-formal-theme.erp-approved-design .erp-dashboard.erp-dashboard--home .workspace-command-systems { gap:10px; }
html body.erp-formal-theme.erp-approved-design .erp-dashboard.erp-dashboard--home .workspace-command-systems a { min-height:76px; padding:12px 14px; gap:3px 10px; border-radius:12px!important; }
html body.erp-formal-theme.erp-approved-design .erp-dashboard.erp-dashboard--home .workspace-command-area-icon { width:34px; height:34px; font-size:1.1rem; }
html body.erp-formal-theme.erp-approved-design .erp-dashboard.erp-dashboard--home .workspace-command-bottom-strip { padding:8px 12px; }
}
@media screen and (max-width:600px) {
html body.erp-formal-theme.erp-approved-design .erp-dashboard.erp-dashboard--home .workspace-command-metrics { grid-template-columns:repeat(2,minmax(0,1fr)); }
html body.erp-formal-theme.erp-approved-design .erp-dashboard.erp-dashboard--home .workspace-command-metric { padding:12px 10px; }
html body.erp-formal-theme.erp-approved-design .erp-dashboard.erp-dashboard--home .workspace-command-metric > strong { font-size:1.25rem!important; }
html body.erp-formal-theme.erp-approved-design .erp-dashboard.erp-dashboard--home .workspace-command-chart-panel { padding:12px; }
}
@media print {
    .erp-dashboard .dash-chart-switch, .erp-dashboard .dash-chart-hitareas { display:none!important; }
    .erp-dashboard .dash-trend-plot svg { width:100%; height:180px; }
    .erp-dashboard .dash-trend-primary { stroke:#6657db; fill:none; }
    .erp-dashboard .dash-trend-secondary { stroke:#12a59b; fill:none; }
    .erp-dashboard .dash-bar-view { display:none; }
    .erp-dashboard .dash-chart-data { display:block; }
}
