
/* Tổng Kho X | Doanh thu: cải tiến bố cục không thay đổi nghiệp vụ */
#dash-body{max-width:1480px;margin:0 auto}
#dash .hello{font-size:19px;letter-spacing:-.02em;margin-bottom:14px}
#dash .ranges{gap:8px;margin-bottom:10px}
#dash .range-chip{border-radius:10px;padding:9px 14px}
#dash .period-label{margin-bottom:18px}
#dash .bal-row{gap:16px;margin-bottom:16px}
#dash .bal-card{min-height:152px;border:1px solid var(--border);box-shadow:0 3px 14px rgba(25,38,60,.04);padding:22px 24px;border-radius:18px}
#dash .bal-vi{background:#FFF2EF;color:#9E3028;border-color:#F5D6CE}
#dash .bal-hh{background:#EBF8F0;color:#166B40;border-color:#CEEAD9}
#dash .bal-label{font-size:13px;font-weight:700;opacity:1}
#dash .bal-val{font-size:clamp(24px,2.1vw,32px);font-weight:750;letter-spacing:.015em;font-variant-numeric:tabular-nums;line-height:1.3;margin-top:12px}
#dash .bal-btn{align-self:flex-start;background:#BC3435;color:#fff;border-radius:10px;box-shadow:none;padding:9px 22px;margin-top:14px}
#dash .bal-btn:hover{background:#A92B2E}
#dash .bal-sub{font-size:12px;opacity:1}
#dash .wd-list{border-radius:16px;padding:12px 18px;margin-bottom:18px;box-shadow:0 3px 14px rgba(25,38,60,.03)}
#dash .wd-title{font-size:14px;color:#263448;padding:4px 0 10px}
#dash .wd-row{padding:12px 0;flex-wrap:wrap}
#dash .stats{gap:14px;margin-bottom:20px}
#dash .stat{border-radius:16px;padding:18px 20px;box-shadow:0 3px 14px rgba(25,38,60,.03)}
#dash .stat .k{font-size:12px;text-transform:none;letter-spacing:0}
#dash .stat .v{font-size:clamp(21px,1.8vw,28px);letter-spacing:.012em;font-weight:750;line-height:1.4}
#dash .stat.rev .v{color:#243B53}
#dash .tkx-panel{background:#fff;border:1px solid #E6EAF0;border-radius:18px;padding:22px 22px 24px;margin-bottom:20px;box-shadow:0 3px 14px rgba(25,38,60,.03)}
#dash .tkx-section-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:18px}
#dash .tkx-section-heading h2{font-size:16px;font-weight:750;color:#263448;margin:0}
#dash .tkx-section-heading p{font-size:12px;color:#8A94A5;margin:4px 0 0}
#dash .tkx-status-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px}
#dash .tkx-status-card{border:1px solid #E7EAF0;background:#FAFBFC;border-radius:15px;display:flex;flex-direction:column;align-items:center;gap:7px;padding:17px 7px 16px;cursor:pointer;color:#263448;font:inherit;transition:border-color .15s,background .15s,transform .15s}
#dash .tkx-status-card:hover{transform:translateY(-2px);border-color:#C8D0DB}
#dash .tkx-status-card.selected{outline:2px solid #B73536;outline-offset:1px;background:#FFF8F7}
#dash .tkx-status-icon{display:grid;place-items:center;width:52px;height:52px;border-radius:15px;font-size:23px;background:#EAF2FF}
#dash .tkx-status-card strong{font-size:24px;line-height:1.1;font-variant-numeric:tabular-nums;letter-spacing:.02em}
#dash .tkx-status-card>span:last-child{font-size:12px;font-weight:650;text-align:center}
#dash .tkx-new .tkx-status-icon{background:#EAF2FF}#dash .tkx-new strong{color:#2F80ED}
#dash .tkx-pending .tkx-status-icon{background:#FFF2D9}#dash .tkx-pending strong{color:#B77A15}
#dash .tkx-shipping .tkx-status-icon{background:#F0EAFF}#dash .tkx-shipping strong{color:#7353BE}
#dash .tkx-received .tkx-status-icon{background:#E5F7ED}#dash .tkx-received strong{color:#168447}
#dash .tkx-returned .tkx-status-icon{background:#FDE9E9}#dash .tkx-returned strong{color:#BE4141}
#dash .tkx-clear,#dash .tkx-refresh{border:1px solid #E1E6EE;border-radius:10px;background:#fff;color:#B73536;padding:8px 13px;font:inherit;font-size:12px;font-weight:700;cursor:pointer}
#dash .tkx-clear[hidden]{display:none}
#dash .tkx-orders-heading{margin:0 0 12px}
#dash .tkx-count{display:inline-flex;align-items:center;justify-content:center;min-width:24px;padding:2px 7px;border-radius:20px;background:#F1F3F7;color:#667085;font-size:12px}
#dash .orders{border-radius:18px;box-shadow:0 3px 14px rgba(25,38,60,.03)}
#dash .order{padding:18px 20px;transition:background .15s}
#dash .order:hover{background:#FAFBFE}
#dash .order[hidden]{display:none!important}
#dash .order-top{margin-bottom:8px}
#dash .order-code-line{font-size:14px;margin-bottom:7px}
#dash .order-sp{font-size:12.5px;line-height:1.55;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
#dash .order-money{font-size:12.5px}
@media(max-width:760px){#dash .tkx-status-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}#dash .tkx-panel{padding:16px}#dash .bal-row{gap:10px}#dash .bal-card{padding:16px;min-height:148px}#dash .bal-val{font-size:23px}#dash .tkx-status-icon{width:44px;height:44px}#dash .tkx-section-heading p{font-size:11px}}
@media(max-width:480px){#dash .bal-row{flex-direction:column}#dash .bal-card{min-height:unset}#dash .tkx-status-grid{grid-template-columns:repeat(3,minmax(0,1fr))}#dash .tkx-status-card{padding:13px 5px}#dash .tkx-status-card>span:last-child{font-size:11px}#dash .tkx-section-heading{align-items:flex-start}#dash .order{padding:14px}#dash .wd-row{font-size:11.5px}}
