.dashboard { color: #172033; display: grid; gap: 12px; min-width: 0; width: 100%; font-family: "Microsoft YaHei", sans-serif; overflow-wrap: anywhere; }
.dashboard *, .dashboard *::before, .dashboard *::after { box-sizing: border-box; }
.dashboard button, .dashboard input, .dashboard select { font: inherit; }
.dashboard button { background: #fff; border: 1px solid #91acc2; border-radius: 7px; color: #173e62; cursor: pointer; min-height: 40px; padding: 8px 12px; }
.dashboard button:hover:not(:disabled) { background: #edf6fe; border-color: #245f98; }
.dashboard button:disabled { background: #edf1f5; border-color: #b8c5d0; color: #475569; cursor: default; }
.dashboard button:focus-visible, .dashboard input:focus-visible, .dashboard select:focus-visible, .dashboard summary:focus-visible { outline: 3px solid #173e62; outline-offset: 3px; }
.dashboard-primary { background: #245f98 !important; border-color: #245f98 !important; color: #fff !important; font-weight: 700; }
.dashboard-primary:hover:not(:disabled) { background: #173e62 !important; }
.dashboard-workspaces { display: flex; flex-wrap: wrap; gap: 8px; }
.dashboard-workspaces button[aria-pressed="true"] { background: #245f98; border-color: #245f98; color: #fff; font-weight: 700; }
.dashboard-workspaces button[aria-pressed="true"]:hover:not(:disabled) { background: #173e62; border-color: #173e62; color: #fff; }
.dashboard-customer-workspace { display: grid; gap: 12px; min-width: 0; }
.dashboard-customer-dimensions { display: flex; flex-wrap: wrap; gap: 8px; }
.dashboard-customer-dimensions button[aria-pressed="true"] { background: #e8f2fc; border-color: #245f98; color: #173e62; font-weight: 700; }
.dashboard-customer-card { max-width: 920px; width: 100%; }
.dashboard-customer-card h3 { color: #173e62; font-size: 18px; margin: 0; }
.dashboard-filters { align-items: end; background: #fff; border: 1px solid #c5d5e4; border-radius: 10px; display: grid; gap: 12px; grid-template-columns: minmax(140px, 1fr) minmax(140px, 1fr) minmax(140px, 1fr) auto; padding: 16px; }
.dashboard-filters label { color: #334155; display: grid; font-size: 13px; font-weight: 700; gap: 6px; min-width: 0; }
.dashboard-filters input, .dashboard-filters select { background: #fff; border: 1px solid #91acc2; border-radius: 6px; color: #172033; min-height: 40px; min-width: 0; padding: 7px 9px; width: 100%; }
.dashboard-filter-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.dashboard-draft-status { color: #744210; font-size: 13px; margin: 0; }
.dashboard-draft-status:empty { display: none; }
.dashboard-applied { color: #334155; font-size: 13px; line-height: 1.65; margin: 0; }
.dashboard-applied span { display: block; }
.dashboard-error { align-items: center; background: #fff4f3; border: 1px solid #c89088; border-radius: 8px; color: #84261d; display: flex; flex-wrap: wrap; gap: 10px; padding: 12px; margin: 0; }
.dashboard-state { background: #f0f6fc; border: 1px solid #c5d5e4; border-radius: 8px; color: #334155; margin: 0; padding: 12px; }
.dashboard-highlights { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.dashboard-highlights button { align-items: start; display: grid; gap: 8px; padding: 14px 16px; text-align: left; }
.dashboard-highlights button>span { color: #334155; font-size: 13px; }
.dashboard-highlights strong { color: #173e62; font-size: 27px; line-height: 1.3; }
.dashboard small { color: #334155; font-size: 12px; font-weight: 400; }
.dashboard-attention { align-items: center; display: flex; flex-wrap: wrap; gap: 8px; }
.dashboard-attention button { background: #f2f7fc; color: #173e62; font-size: 13px; text-align: left; }
.dashboard-group { min-width: 0; }
.dashboard-group h3 { color: #173e62; font-size: 18px; margin: 10px 0 12px; }
.dashboard-grid { align-items: start; display: grid; gap: 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.dashboard-card { background: #fff; border: 1px solid #c5d5e4; border-radius: 10px; box-shadow: 0 3px 12px #173e6208; display: grid; gap: 10px; min-width: 0; padding: 16px; }
.dashboard-card h4 { color: #172033; font-size: 17px; margin: 0; }
.dashboard-views { display: flex; flex-wrap: wrap; gap: 6px; }
.dashboard-views button { background: #f7fafc; font-size: 12px; min-height: 34px; padding: 6px 9px; }
.dashboard-views button[aria-pressed="true"] { background: #e8f2fc; border-color: #245f98; color: #173e62; font-weight: 700; }
.dashboard-basis { color: #475569; font-size: 12px; line-height: 1.5; margin: 0; }
.dashboard-chart-wrap { min-width: 0; width: 100%; }
.dashboard-chart { height: 260px; min-width: 0; width: 100%; background: #fff; }
.dashboard-chart-failure { color: #84261d; font-size: 13px; }
.dashboard-points { display: grid; gap: 6px; grid-template-columns: repeat(2, minmax(0, 1fr)); max-height: 152px; overflow-y: auto; padding: 3px; }
.dashboard-points button { align-items: center; display: flex; gap: 8px; justify-content: space-between; min-width: 0; padding: 7px 9px; text-align: left; }
.dashboard-points span { color: #334155; font-size: 12px; line-height: 1.5; min-width: 0; }
.dashboard-points strong { color: #173e62; flex-shrink: 0; font-size: 15px; }
.dashboard-points button:disabled strong { color: #475569; }
.dashboard-definition { color: #475569; font-size: 12px; line-height: 1.7; }
.dashboard-definition summary { cursor: pointer; padding: 3px 0; }
.dashboard-definition p { background: #f5f8fb; border-radius: 6px; margin: 6px 0 0; padding: 9px; white-space: pre-wrap; }
.dashboard-empty, .dashboard-unavailable { background: #f5f8fb; border: 1px dashed #a4bacd; border-radius: 8px; color: #475569; line-height: 1.7; margin: 0; padding: 20px 14px; text-align: center; }
.dashboard-unavailable span { display: block; font-size: 13px; margin-top: 5px; }
.dashboard-detail { display: grid; gap: 12px; min-width: 0; }
.dashboard-detail-heading { align-items: center; display: flex; flex-wrap: wrap; gap: 14px; }
.dashboard-detail-heading h3 { color: #173e62; font-size: 20px; margin: 0; }
.dashboard-detail-meta { color: #475569; font-size: 13px; line-height: 1.65; margin: 0; }
.dashboard-record { background: #fff; border: 1px solid #c5d5e4; border-radius: 9px; min-width: 0; padding: 16px; }
.dashboard-record-heading { align-items: start; display: flex; gap: 12px; justify-content: space-between; }
.dashboard-record-heading>div { min-width: 0; }
.dashboard-record h4 { color: #173e62; font-size: 16px; line-height: 1.6; margin: 0 0 5px; }
.dashboard-record p { color: #475569; font-size: 13px; line-height: 1.65; margin: 0; }
.dashboard-record-heading button { flex-shrink: 0; }
.dashboard-record .dashboard-record-time { margin: 8px 0; }
.dashboard-record dl { display: grid; gap: 6px 12px; grid-template-columns: minmax(70px, .16fr) minmax(0, 1fr); margin: 10px 0 0; }
.dashboard-record dt { color: #475569; font-size: 13px; }
.dashboard-record dd { color: #172033; font-size: 13px; line-height: 1.65; margin: 0; min-width: 0; white-space: pre-wrap; }
.dashboard-pager { align-items: center; color: #475569; display: flex; flex-wrap: wrap; font-size: 13px; gap: 8px; justify-content: end; }
@media (max-width: 760px) {
  .dashboard { gap: 10px; }
  .dashboard button, .dashboard-filters input, .dashboard-filters select { min-height: 44px; }
  .dashboard-filters { gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 12px; }
  .dashboard-filters label:last-of-type { grid-column: 1 / -1; }
  .dashboard-filter-actions { grid-column: 1 / -1; }
  .dashboard-filter-actions button { flex: 1; }
  .dashboard-highlights { gap: 8px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dashboard-customer-highlights { grid-template-columns: minmax(0, 1fr); }
  .dashboard-highlights button { padding: 12px; }
  .dashboard-highlights strong { font-size: 23px; }
  .dashboard-grid { gap: 12px; grid-template-columns: minmax(0, 1fr); }
  .dashboard-card { gap: 9px; padding: 12px; }
  .dashboard-views button { min-height: 44px; }
  .dashboard-chart { height: 245px; }
  .dashboard-points { grid-template-columns: minmax(0, 1fr); max-height: 180px; }
  .dashboard-detail-heading { align-items: start; flex-direction: column; gap: 10px; }
  .dashboard-record { padding: 12px; }
  .dashboard-record-heading { align-items: stretch; flex-direction: column; }
  .dashboard-record-heading button { align-self: start; }
  .dashboard-record dl { grid-template-columns: minmax(0, 1fr); }
  .dashboard-record dd { margin-bottom: 7px; }
  .dashboard-pager span { flex-basis: 100%; }
  .dashboard-pager button { flex: 1; }
}
