/* Hiệu suất Design — Apple style */
.ds { max-width: 1120px; margin: 0 auto; padding: 8px 4px 40px; color: #1d1d1f; font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", Inter, "Segoe UI", sans-serif; }
.ds-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.ds-head h2 { margin: 0; font-size: 28px; font-weight: 700; letter-spacing: -.02em; }
.ds-head p { margin: 4px 0 0; color: #86868b; font-size: 13px; }
.ds-chips { display: inline-flex; gap: 2px; padding: 3px; background: #ececf0; border-radius: 10px; flex-wrap: wrap; }
.ds-chip { border: 0; background: transparent; padding: 6px 12px; border-radius: 8px; color: #1d1d1f; font: 500 13px inherit; cursor: pointer; }
.ds-chip.on { background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.12); font-weight: 600; }
.ds-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 16px; }
.ds-kpis article { background: #fff; border-radius: 16px; padding: 16px 18px; box-shadow: 0 1px 2px rgba(0,0,0,.04), 0 0 0 1px rgba(0,0,0,.04); }
.ds-kpis span { display: block; color: #86868b; font-size: 12.5px; font-weight: 500; }
.ds-kpis b { display: block; margin-top: 6px; font-size: 30px; font-weight: 700; letter-spacing: -.02em; }
.ds-card { background: #fff; border-radius: 18px; padding: 18px 20px; margin-bottom: 16px; box-shadow: 0 1px 2px rgba(0,0,0,.04), 0 0 0 1px rgba(0,0,0,.04); }
.ds-card > header { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 10px; }
.ds-card h4 { margin: 0; font-size: 17px; font-weight: 600; }
.ds-card header small { color: #86868b; font-size: 12.5px; }
.ds-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.ds-table th { text-align: left; padding: 8px 10px; color: #86868b; font-size: 12px; font-weight: 500; border-bottom: 1px solid #ececf0; }
.ds-table td { padding: 12px 10px; border-bottom: 1px solid #f2f2f5; vertical-align: middle; }
.ds-table tr:last-child td { border-bottom: 0; }
.ds-code { display: block; font-weight: 600; letter-spacing: .02em; }
.ds-table td small { color: #86868b; font-size: 12px; }
.ds-table td strong { font-size: 16px; font-weight: 700; }
.ds-bar { display: flex; align-items: center; gap: 10px; min-width: 140px; }
.ds-bar i { height: 8px; border-radius: 4px; min-width: 4px; }
.ds-bar i.l { background: #0071e3; }
.ds-bar i.p { background: #34c759; }
.ds-bar em { font-style: normal; font-weight: 600; font-variant-numeric: tabular-nums; }
.ds-bar .w0 { width: 4px; } .ds-bar .w5 { width: 5%; } .ds-bar .w10 { width: 10%; } .ds-bar .w15 { width: 15%; } .ds-bar .w20 { width: 20%; } .ds-bar .w25 { width: 25%; } .ds-bar .w30 { width: 30%; } .ds-bar .w35 { width: 35%; } .ds-bar .w40 { width: 40%; } .ds-bar .w45 { width: 45%; } .ds-bar .w50 { width: 50%; } .ds-bar .w55 { width: 55%; } .ds-bar .w60 { width: 60%; } .ds-bar .w65 { width: 65%; } .ds-bar .w70 { width: 70%; } .ds-bar .w75 { width: 75%; } .ds-bar .w80 { width: 80%; } .ds-bar .w85 { width: 85%; } .ds-bar .w90 { width: 90%; } .ds-bar .w95 { width: 95%; } .ds-bar .w100 { width: 100%; }
.ds-scroll { overflow-x: auto; }
.ds-daily { border-collapse: collapse; font-size: 13px; }
.ds-daily th, .ds-daily td { padding: 8px 10px; text-align: center; white-space: nowrap; border-bottom: 1px solid #f2f2f5; }
.ds-daily thead th { color: #86868b; font-weight: 500; font-size: 12px; }
.ds-daily tbody th { text-align: left; font-weight: 600; position: sticky; left: 0; background: #fff; }
.ds-daily td b { color: #0071e3; font-weight: 600; }
.ds-daily td i { font-style: normal; color: #34c759; font-weight: 600; margin-left: 6px; }
.ds-daily td.z { color: #d2d2d7; }
.ds-map { height: 32px; padding: 0 10px; border: 1px solid #d2d2d7; border-radius: 8px; background: #fff; font: 13px inherit; color: #1d1d1f; }
.ds-note { margin: 12px 0 0; color: #86868b; font-size: 12.5px; line-height: 1.5; }
.ds-note code { background: #f5f5f7; padding: 1px 6px; border-radius: 5px; color: #1d1d1f; }
.ds-empty { padding: 28px 10px; text-align: center; color: #86868b; display: grid; gap: 4px; }
.ds-empty b { color: #1d1d1f; font-weight: 600; }
@media (max-width: 760px) {
  .ds-head h2 { font-size: 22px; }
  .ds-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ds-kpis b { font-size: 24px; }
  .ds-card { padding: 14px; border-radius: 14px; }
  .ds-bar { min-width: 70px; }
  .ds-table { font-size: 13px; }
}
/* Chặn CSS bảng chung của app */
.ds table { min-width: 0 !important; max-width: none !important; background: transparent !important; border: 0 !important; box-shadow: none !important; }
.ds .ds-table { width: 100% !important; table-layout: fixed !important; }
.ds .ds-table th, .ds .ds-table td { height: auto !important; background: transparent !important; text-transform: none !important; letter-spacing: 0 !important; white-space: normal !important; overflow: hidden; text-overflow: ellipsis; }
.ds .ds-table th:nth-child(1) { width: 28%; } .ds .ds-table th:nth-child(2), .ds .ds-table th:nth-child(3) { width: 31%; } .ds .ds-table th:nth-child(4) { width: 10%; text-align: right; }
.ds .ds-table td:nth-child(4) { text-align: right; }
.ds .ds-map-table th:nth-child(1) { width: 45%; } .ds .ds-map-table th:nth-child(2) { width: 15%; } .ds .ds-map-table th:nth-child(3) { width: 40%; text-align: left; }
.ds .ds-map-table td:nth-child(3) { text-align: left; }
.ds .ds-bar { min-width: 0; }
.ds .ds-bar i { flex: 0 0 auto; max-width: calc(100% - 36px); }
.ds .ds-daily { width: auto !important; table-layout: auto !important; }
.ds .ds-daily th, .ds .ds-daily td { height: auto !important; background: #fff !important; text-transform: none !important; letter-spacing: 0 !important; min-width: 56px; }
.ds .ds-daily tbody th { min-width: 110px; }
