/* Khusus dashboard: tidak mengubah elemen di halaman ERP lain. */
.xh-dashboard{--df-border:#e2e8f0;--df-muted:#64748b;padding:4px 0 32px!important;color:#0f172a;font-variant-numeric:tabular-nums;line-height:1.5}
.xh-dashboard *{box-sizing:border-box}
.xh-dashboard .df-header{gap:12px!important;margin-bottom:18px!important}
.xh-dashboard .df-header>div>div:first-child{font-size:24px!important;font-weight:700!important;letter-spacing:-.6px!important;line-height:1.25;margin-bottom:5px}
.xh-dashboard .df-filters{padding:14px;background:#fff;border:1px solid var(--df-border);border-radius:12px;margin-bottom:18px!important}
.xh-dashboard .df-periods{gap:6px!important;margin-bottom:12px!important}
.xh-dashboard button,.xh-dashboard select,.xh-dashboard input{font-family:inherit;max-width:100%}
.xh-dashboard .df-chip,.xh-dashboard .df-header button,.xh-dashboard .df-filters select,.xh-dashboard .df-filters input{height:38px!important;border-radius:8px!important;font-size:13px!important;font-weight:500!important}
.xh-dashboard .df-chip{padding:0 12px!important}
.xh-dashboard .df-chip[style*="linear-gradient"]{background:#0f766e!important;border-color:#0f766e!important}
.xh-dashboard .df-selects{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:10px!important}
.xh-dashboard .df-filters select{padding:0 10px!important}
.xh-dashboard :is(button,select,input):focus-visible{outline:2px solid #0f766e;outline-offset:3px}
.xh-dashboard .df-funnel{display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px!important;overflow:visible!important;padding:0!important}
.xh-dashboard .df-funnel>div{min-width:0!important;padding:14px!important;border-radius:12px!important;box-shadow:0 1px 2px #0f172a04}
.xh-dashboard .df-funnel>div>div:first-child{white-space:normal!important;font-size:11px!important;letter-spacing:.25px!important;font-weight:600!important;min-height:17px}
.xh-dashboard .df-funnel>div>div:nth-child(2){font-size:23px!important;font-weight:700!important;letter-spacing:-.5px;line-height:1.25;margin-top:5px!important}
.xh-dashboard .df-section{margin:28px 0 12px!important;padding-top:4px;gap:12px!important}
.xh-dashboard .df-section>div>div:first-child{font-size:16px!important;font-weight:700!important;letter-spacing:-.2px}
.xh-dashboard .df-section>div>div:nth-child(2){line-height:1.5;margin-top:3px!important}
.xh-dashboard .df-section button{min-height:34px;font-weight:600!important}
.xh-dashboard .df-card{border-radius:12px!important;padding:16px!important;gap:7px!important;box-shadow:0 1px 3px #0f172a05!important}
.xh-dashboard .df-card-label{font-size:11px!important;font-weight:600!important;line-height:1.4!important;letter-spacing:.3px!important;padding-right:10px}
.xh-dashboard .df-card-value{font-weight:700!important;line-height:1.2!important;letter-spacing:-.5px!important}
.xh-dashboard .df-card-note{font-size:12px!important;color:#64748b!important;line-height:1.5!important}
.xh-dashboard .df-card>div:first-child[style*="absolute"]{font-size:18px!important;color:#64748b!important;top:13px!important;right:12px!important}
.xh-dashboard .df-table{border-radius:12px!important;scrollbar-width:thin}
.xh-dashboard .df-table th{font-size:11px!important;font-weight:600!important;padding:12px 14px!important;color:#475569!important}
.xh-dashboard .df-table td{padding:12px 14px!important;font-weight:500!important}
.xh-dashboard .df-table td:first-child{font-weight:600!important}
.xh-dashboard .df-table tr:last-child td{border-bottom:0!important}
.xh-dashboard .df-row-card{border-radius:12px!important;padding:14px!important;margin-bottom:10px!important}
.xh-dashboard .df-row-card [style*="font-size: 9.5px"]{font-size:10.5px!important;color:#64748b!important;line-height:1.5!important}
.xh-dashboard .df-row-card [style*="font-weight: 800"]{font-weight:700!important}
@media(hover:hover){.xh-dashboard .df-card[title]:hover{border-color:#94bcb7!important;background:#fcfefe!important}.xh-dashboard button:not(:disabled):hover{filter:brightness(.97)}.xh-dashboard .df-table tbody tr:hover{background:#f8fafc}}
@media(max-width:1100px){.xh-dashboard .df-funnel{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:600px){
 .xh-dashboard{padding-top:0!important}
 .xh-dashboard .df-header{gap:8px!important;margin-bottom:14px!important}
 .xh-dashboard .df-header>div>div:first-child{font-size:22px!important}
 .xh-dashboard .df-header>div>div:nth-child(2){font-size:11px!important}
 .xh-dashboard .df-header button{height:36px!important;font-size:12px!important}
 .xh-dashboard .df-filters{padding:10px;margin-bottom:14px!important}
 .xh-dashboard .df-periods{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px!important;margin-bottom:10px!important}
 .xh-dashboard .df-chip{padding:0 3px!important;font-size:11.5px!important;height:36px!important}
 .xh-dashboard .df-selects{gap:6px!important}
 .xh-dashboard .df-filters select{padding:0 4px!important;font-size:12px!important}
 .xh-dashboard .df-funnel{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px!important}
 .xh-dashboard .df-funnel>div{padding:10px 12px!important}
 .xh-dashboard .df-funnel>div>div:nth-child(2){font-size:21px!important;margin-top:3px!important}
 .xh-dashboard .df-section{margin:22px 0 10px!important}
 .xh-dashboard .df-section>div>div:first-child{font-size:15px!important}
 .xh-dashboard .df-card{padding:13px!important;gap:5px!important}
 .xh-dashboard .df-card-note{font-size:11px!important}
 .xh-dashboard .df-card-label{font-size:10.5px!important;min-height:29px!important}
}
