.dh-dashboard-v2{color:#0f172a;gap:18px;display:grid}.dh-dash-hero{color:#fff;background:linear-gradient(120deg,#0f172a 0%,#172554 52%,#312e81 100%);border-radius:24px;padding:26px 28px;position:relative;overflow:hidden;box-shadow:0 18px 45px #1e293b29}.dh-dash-hero:before,.dh-dash-hero:after{content:"";pointer-events:none;border-radius:999px;position:absolute}.dh-dash-hero:before{background:#38bdf833;width:250px;height:250px;top:-100px;right:-65px}.dh-dash-hero:after{background:#a78bfa42;width:160px;height:160px;bottom:-115px;right:155px}.dh-dash-hero-content{z-index:1;position:relative}.dh-dash-toolbar{flex-wrap:wrap;align-items:center;gap:10px;margin-top:18px;display:flex}.dh-dash-select,.dh-dash-button{color:#fff;background:#ffffff1c;border:1px solid #ffffff42;border-radius:11px;outline:none;min-height:40px;padding:0 12px}.dh-dash-select option{color:#0f172a;background:#fff}.dh-dash-button{cursor:pointer;font-weight:700}.dh-dash-button:hover{background:#ffffff2e}.dh-kpi-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;display:grid}.dh-kpi-card{background:#fff;border:1px solid #e2e8f0;border-radius:18px;min-width:0;padding:16px;transition:transform .15s,box-shadow .15s;box-shadow:0 8px 24px #0f172a0b}.dh-kpi-card.clickable{cursor:pointer}.dh-kpi-card.clickable:hover{transform:translateY(-2px);box-shadow:0 12px 28px #0f172a16}.dh-kpi-top{justify-content:space-between;align-items:flex-start;gap:10px;display:flex}.dh-kpi-icon{border-radius:13px;place-items:center;width:40px;height:40px;font-size:20px;display:grid}.dh-kpi-label{color:#64748b;font-size:12px;font-weight:700}.dh-kpi-value{letter-spacing:-.02em;margin-top:10px;font-size:24px;font-weight:900;line-height:1.1}.dh-kpi-sub{color:#94a3b8;margin-top:7px;font-size:12px}.dh-panel-grid{grid-template-columns:minmax(0,1.5fr) minmax(300px,.8fr);gap:14px;display:grid}.dh-panel{background:#fff;border:1px solid #e2e8f0;border-radius:18px;min-width:0;padding:18px;box-shadow:0 8px 24px #0f172a0a}.dh-panel-header{justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px;display:flex}.dh-panel-title{margin:0;font-size:18px}.dh-panel-subtitle{color:#64748b;margin:4px 0 0;font-size:12px}.dh-trend-chart{border-bottom:1px solid #e2e8f0;align-items:flex-end;gap:12px;min-height:230px;padding-top:14px;display:flex}.dh-trend-month{flex:1;align-items:end;gap:7px;min-width:0;height:205px;display:grid}.dh-trend-bars{justify-content:center;align-items:flex-end;gap:5px;height:172px;display:flex}.dh-trend-bar{border-radius:7px 7px 2px 2px;width:min(22px,42%);min-height:3px;transition:opacity .15s}.dh-trend-bar:hover{opacity:.78}.dh-trend-bar.sales{background:linear-gradient(#2563eb,#60a5fa)}.dh-trend-bar.purchase{background:linear-gradient(#f97316,#fdba74)}.dh-trend-label{text-align:center;color:#64748b;font-size:11px;font-weight:700}.dh-legend{color:#64748b;flex-wrap:wrap;gap:14px;font-size:12px;display:flex}.dh-legend span:before{content:"";border-radius:3px;width:9px;height:9px;margin-right:5px;display:inline-block}.dh-legend .sales:before{background:#2563eb}.dh-legend .purchase:before{background:#f97316}.dh-progress-list{gap:13px;display:grid}.dh-progress-row{gap:5px;display:grid}.dh-progress-meta{justify-content:space-between;gap:10px;font-size:12px;display:flex}.dh-progress-track{background:#f1f5f9;border-radius:999px;height:7px;overflow:hidden}.dh-progress-fill{border-radius:inherit;background:linear-gradient(90deg,#2563eb,#7c3aed);height:100%}.dh-list{gap:8px;display:grid}.dh-list-row{border-bottom:1px solid #f1f5f9;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;padding:10px 0;display:grid}.dh-list-row:last-child{border-bottom:0}.dh-muted{color:#64748b;font-size:12px}.dh-status-pill{color:#475569;background:#f1f5f9;border-radius:999px;padding:4px 8px;font-size:10px;font-weight:800;display:inline-flex}.dh-activity-row{color:inherit;border-radius:12px;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:10px;padding:10px;text-decoration:none;display:grid}.dh-activity-row:hover{background:#f8fafc}.dh-activity-icon{background:#eef2ff;border-radius:12px;place-items:center;width:38px;height:38px;display:grid}.dh-empty{color:#94a3b8;text-align:center;padding:14px 0;font-size:13px}.dh-loading{text-align:center;color:#64748b;background:#fff;border:1px solid #e2e8f0;border-radius:18px;padding:28px}.dh-dashboard-error{color:#b91c1c;background:#fef2f2;border:1px solid #fecaca;border-radius:14px;padding:12px 14px}@media (width<=1180px){.dh-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dh-panel-grid{grid-template-columns:1fr}}@media (width<=700px){.dh-dash-hero{border-radius:18px;padding:22px 18px}.dh-kpi-grid{grid-template-columns:1fr}.dh-panel{padding:14px}.dh-trend-chart{gap:6px}.dh-kpi-value{font-size:21px}}*{box-sizing:border-box}html,body,#root{width:100%;min-height:100%;margin:0;padding:0}body{color:#111827;background:#f8fafc;min-height:100vh;font-family:Arial,sans-serif}@media print{body{background:#fff!important}body:has(.print-page) *{visibility:hidden!important}:is(body:has(.print-page) .print-page,body:has(.print-page) .print-page *){visibility:visible!important}.print-page{grid-template-columns:repeat(4,1fr)!important;gap:6mm!important;width:100%!important;padding:0!important;display:grid!important;position:absolute!important;top:0!important;left:0!important}.sticker-card{break-inside:avoid!important;page-break-inside:avoid!important}.no-print{display:none!important}body:has(.dh-report-page){background:#fff!important}body:has(.dh-report-page) .dh-app-sidebar{display:none!important}body:has(.dh-report-page) .dh-app-header{display:none!important}body:has(.dh-report-page) .dh-company-content>:not(.dh-company-main){display:none!important}body:has(.dh-report-page) .dh-report-toolbar{display:none!important}body:has(.dh-report-page) .no-print{display:none!important}body:has(.dh-report-page) [data-sonner-toaster]{display:none!important}body:has(.dh-report-page) [data-hot-toast-root]{display:none!important}body:has(.dh-report-page) .dh-company-layout{background:#fff!important;width:100%!important;height:auto!important;min-height:0!important;display:block!important}:is(body:has(.dh-report-page) .dh-company-content,body:has(.dh-report-page) .dh-company-main){background:#fff!important;width:100%!important;height:auto!important;min-height:0!important;margin:0!important;padding:0!important;display:block!important;overflow:visible!important}body:has(.dh-report-page) .dh-company-main>:not(.dh-report-page){display:none!important}body:has(.dh-report-page) .dh-report-page{background:#fff!important;gap:12px!important;width:100%!important;margin:0!important;padding:0!important;display:grid!important}:is(body:has(.dh-report-page) .dh-report-print-header,body:has(.dh-report-page) .dh-report-print-meta,body:has(.dh-report-page) .dh-report-print-footer){display:block!important}body:has(.dh-report-page) .dh-report-print-footer{text-align:center!important;color:#64748b!important;background:#fff!important;border-top:1px solid #cbd5e1!important;padding-top:3px!important;font-size:8px!important;position:fixed!important;bottom:2mm!important;left:0!important;right:0!important}body:has(.dh-report-page) .dh-report-page section{break-inside:auto;page-break-inside:auto}body:has(.dh-report-page) .dh-report-page table{break-inside:auto;page-break-inside:auto}body:has(.dh-report-page) .dh-report-page .print-area{break-inside:auto;page-break-inside:auto}body:has(.dh-report-page) .dh-report-page tr{break-inside:avoid;page-break-inside:avoid}@page{size:A4 portrait;margin:8mm 8mm 16mm}}
