.dashboard-overview { display: none; }
@media (min-width: 861px) {
  /* Keep the mobile markup out of desktop first paint, before data arrives. */
  #allSchemesDashboard > :not(.dashboard-overview) { display: none; }
  #allSchemesDashboard:not(:has(.dashboard-overview))::before {
    content: "正在读取方案数据…";
    display: block;
    padding: 24px 14px;
    color: #6b7971;
    font-size: 14px;
  }
  #allSchemesDashboard .dashboard-overview { display: block; color: #17221f; padding: 8px 14px 0; }
  .dashboard-overview * { box-sizing: border-box; letter-spacing: 0; }
  .dashboard-overview h2, .dashboard-overview h3, .dashboard-overview p { margin: 0; }
  .dashboard-overview .do-head { display:flex; align-items:center; justify-content:space-between; gap:24px; padding:4px 0 26px; border-bottom:1px solid #d6e2dd; }
  .dashboard-overview .do-title { display:flex; align-items:center; gap:22px; }
  .dashboard-overview .do-title h2 { font-size:28px; line-height:1.4; }
  .dashboard-overview .do-title > span { color:#748078; font-size:14px; white-space:nowrap; }
  .dashboard-overview .do-head form { display:flex; width:40%; min-width:250px; border:1px solid #cfdcd5; border-radius:6px; background:#fff; overflow:hidden; }
  .dashboard-overview .do-head input { border:0; box-shadow:none; min-width:0; flex:1; padding:12px 14px; background:transparent; font-size:15px; }
  .dashboard-overview button { border:0; border-radius:4px; background:transparent; color:inherit; box-shadow:none; cursor:pointer; font:inherit; }
  .dashboard-overview button:hover:not(:disabled) { background:rgba(255,255,255,.6); }
  .dashboard-overview button:focus-visible, .dashboard-overview input:focus-visible { outline:2px solid #36796c; outline-offset:-2px; }
  .dashboard-overview button:disabled { opacity:.4; cursor:default; }
  .dashboard-overview .do-head form button { padding:10px 14px; color:#28675a; font-size:14px; }
  .dashboard-overview .do-summary { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.08fr); gap:30px; padding:30px 0; border-bottom:1px solid #d6e2dd; }
  .dashboard-overview h3 { font-size:21px; font-weight:650; }
  .dashboard-overview .do-risk { border-right:1px solid #d6e2dd; padding-right:28px; min-width:0; }
  .dashboard-overview .do-risk-body { display:flex; align-items:center; gap:24px; padding-top:30px; }
  .dashboard-overview .do-ring { position:relative; width:250px; height:250px; flex:0 0 250px; }
  .dashboard-overview canvas { position:absolute; inset:0; width:100%!important; height:100%!important; cursor:pointer; }
  .dashboard-overview .do-ring button { position:absolute; left:50%; top:50%; transform:translate(-50%,-50%); width:63%; padding:12px 0; }
  .dashboard-overview .do-ring span { display:block; font-size:16px; color:#6b7971; }
  .dashboard-overview .do-ring strong { display:block; font-size:36px; font-weight:600; margin-top:12px; }
  .dashboard-overview .do-legend { flex:1; min-width:140px; }
  .dashboard-overview .do-level { display:flex; width:100%; gap:12px; align-items:center; text-align:left; padding:10px 0; }
  .dashboard-overview .do-level i { width:10px; height:10px; border-radius:50%; background:currentColor; align-self:flex-start; margin-top:6px; flex-shrink:0; }
  .dashboard-overview .do-level small { font-size:15px; color:#6b7971; display:block; }
  .dashboard-overview .do-level strong { font-size:25px; font-weight:500; color:#17221f; display:block; margin-top:8px; }
  .dashboard-overview .do-level em { font-size:14px; font-style:normal; color:#6b7971; margin-left:auto; }
  .dashboard-overview .do-legend p { color:#6b7971; font-size:13px; margin-top:20px; }
  .dashboard-overview .high { color:#c9363d; }
  .dashboard-overview .medium { color:#cd8b2d; }
  .dashboard-overview .normal { color:#4b80b2; }
  .dashboard-overview .do-work-grid { display:grid; grid-template-columns:1fr 1fr; margin-top:28px; }
  .dashboard-overview .do-work-grid > * { text-align:left; padding:12px 24px 22px; min-height:116px; }
  .dashboard-overview .do-work-grid > :nth-child(odd) { border-right:1px solid #d6e2dd; }
  .dashboard-overview .do-work-grid > :nth-child(-n+2) { border-bottom:1px solid #d6e2dd; }
  .dashboard-overview .do-work-grid > :nth-child(n+3) { padding-top:22px; }
  .dashboard-overview .do-work-grid span { font-size:16px; display:block; color:#6b7971; }
  .dashboard-overview .do-work-grid strong { font-size:39px; font-weight:600; display:block; margin-top:15px; line-height:1.15; }
  .dashboard-overview .do-completion { display:flex; gap:16px; align-items:center; margin:24px 24px 0; font-size:14px; }
  .dashboard-overview .do-completion span { white-space:nowrap; }
  .dashboard-overview .do-completion span:last-child { color:#6b7971; }
  .dashboard-overview progress { flex:1; width:0; height:8px; appearance:none; border:0; border-radius:5px; overflow:hidden; }
  .dashboard-overview progress::-webkit-progress-bar { background:#d9e3de; }
  .dashboard-overview progress::-webkit-progress-value { background:#2d6659; }
  .dashboard-overview progress::-moz-progress-bar { background:#2d6659; }
  .dashboard-overview .do-schemes h3 { padding:24px 0 18px; }
  .dashboard-overview .do-table-scroll { overflow:auto; }
  .dashboard-overview table { width:100%; border-collapse:collapse; font-size:15px; background:transparent; }
  .dashboard-overview th, .dashboard-overview td { text-align:left; padding:14px 12px; border-bottom:1px solid #d6e2dd; background:transparent; white-space:nowrap; }
  .dashboard-overview th { font-weight:400; color:#6b7971; }
  .dashboard-overview th:first-child { width:32%; }
  .dashboard-overview td:first-child button { text-align:left; padding:4px 0; }
  .dashboard-overview tr:hover td { background:rgba(255,255,255,.35); }
  .dashboard-overview .do-enter { font-size:13px; color:#357369; }
  .dashboard-overview .do-pagination { display:flex; align-items:center; justify-content:center; gap:20px; padding:20px 0; font-size:14px; }
  .dashboard-overview .do-pagination button { border:1px solid #ccdad2; padding:5px 12px; }
  .dashboard-overview .do-freshness { display:flex; justify-content:space-between; border-top:1px solid #d6e2dd; padding:12px 0; color:#758078; font-size:13px; }
  .dashboard-overview .do-empty { padding:24px 0; color:#758078; text-align:center; }
  .dashboard-overview .do-chart-error { font-size:13px; color:#ac433d; margin-top:10px; }
}
@media (min-width:861px) and (max-width:1400px) {
  .dashboard-overview .do-title { flex-wrap:wrap; gap:6px 16px; }
  .dashboard-overview .do-ring { width:180px; height:180px; flex-basis:180px; }
  .dashboard-overview .do-risk-body { gap:16px; }
  .dashboard-overview .do-risk { padding-right:18px; }
  .dashboard-overview .do-summary { gap:22px; }
  .dashboard-overview .do-ring strong { font-size:28px; }
  .dashboard-overview .do-work-grid strong { font-size:31px; }
}
@media (min-width:861px) and (max-width:1100px) {
  .dashboard-overview .do-summary { grid-template-columns:1fr; }
  .dashboard-overview .do-risk { border-right:0; border-bottom:1px solid #d6e2dd; padding:0 0 24px; }
  .dashboard-overview .do-risk-body { justify-content:center; }
  .dashboard-overview .do-legend { max-width:240px; }
}
