#operationsDashboard{display:grid;gap:20px}#operationsDashboard .ov-box{background:var(--card);border:1px solid var(--border);border-radius:14px;padding:22px;min-width:0}#operationsDashboard h2{font-size:20px;margin:0 0 12px}#operationsDashboard h3{font-size:16px;margin:0 0 12px}#operationsDashboard p{line-height:1.7;color:var(--text-muted);font-size:13px;margin:8px 0}#operationsDashboard .ov-tools{display:flex;flex-wrap:wrap;gap:10px;align-items:end}#operationsDashboard label{display:grid;gap:6px;font-size:13px}#operationsDashboard button,#operationsDashboard input{font:inherit;padding:9px 12px;border:1px solid var(--border);border-radius:8px;background:var(--card);color:var(--text)}#operationsDashboard button{cursor:pointer}#operationsDashboard button:disabled{opacity:.5;cursor:wait}#operationsDashboard .ov-primary{background:#245c40;color:white}#operationsDashboard .ov-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}#operationsDashboard .ov-metric{padding:16px;background:var(--bg);border-radius:10px}#operationsDashboard .ov-metric b{display:block;font-size:28px;margin-top:8px}#operationsDashboard .ov-metric span{font-size:13px;color:var(--text-muted)}#operationsDashboard .ov-scroll{overflow-x:auto}#operationsDashboard table{min-width:640px;width:100%;border-collapse:collapse}#operationsDashboard td,#operationsDashboard th{padding:12px;text-align:left;border-bottom:1px solid var(--border);font-size:13px}#operationsDashboard th{white-space:nowrap}#operationsDashboard .ov-split{display:grid;grid-template-columns:1fr 1fr;gap:20px}#operationsDashboard .ov-bars{display:flex;height:160px;align-items:end;gap:3px;border-bottom:1px solid var(--border);margin-top:18px}#operationsDashboard .ov-bar{flex:1;min-width:1px;background:#428b62;border-radius:3px 3px 0 0}#operationsDashboard .ov-axis{display:flex;justify-content:space-between;font-size:12px;color:var(--text-muted);margin-top:8px}#operationsDashboard .ov-error{color:#b73f31}#operationsDashboard details{font-size:13px;line-height:1.8}#operationsDashboard summary{cursor:pointer}#operationsDashboard .ov-note{border-left:3px solid #428b62;padding-left:12px}#operationsDashboard .ov-label{display:flex;justify-content:space-between;padding:8px 0;gap:12px;border-bottom:1px solid var(--border)}@media(max-width:800px){#operationsDashboard .ov-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}#operationsDashboard .ov-split{grid-template-columns:1fr}#operationsDashboard .ov-box{padding:16px}#operationsDashboard input{max-width:155px}}
#operationsDashboard{min-width:0;width:100%;grid-template-columns:minmax(0,1fr)}#operationsDashboard .ov-split{grid-template-columns:repeat(2,minmax(0,1fr))}#operationsDashboard .ov-scroll{min-width:0;max-width:100%}@media(max-width:800px){#operationsDashboard .ov-split{grid-template-columns:minmax(0,1fr)}}

/* Keep analytics tables consistent with the light campus palette in either OS theme. */
#operationsDashboard thead,#operationsDashboard th{background:#e3eddf;color:#173d2c}
#operationsDashboard th{border-bottom:1px solid #b7ccb9;font-weight:600;letter-spacing:0;cursor:default;padding:13px 14px}
#operationsDashboard td{border-bottom-color:#cbdcc9;padding:13px 14px}
#operationsDashboard tbody tr:hover{background:#e8f0e3}
#operationsDashboard details,#operationsDashboard summary{color:#52675c}

/* 可自定义分布面板：纯 CSS 饼图（conic-gradient）+ 图例；与既有 .ov-bars 同一套视觉。 */
#operationsDashboard .ov-pie-wrap{display:grid;grid-template-columns:minmax(160px,220px) minmax(0,1fr);gap:22px;align-items:center;margin:14px 0}
#operationsDashboard .ov-pie{width:100%;aspect-ratio:1/1;border-radius:50%;border:1px solid var(--border);box-shadow:inset 0 0 0 12px var(--card)}
#operationsDashboard .ov-legend{min-width:0;max-height:260px;overflow:auto}
#operationsDashboard .ov-legend .ov-label:last-child{border-bottom:0}
#operationsDashboard .ov-dot{display:inline-block;width:10px;height:10px;border-radius:2px;margin-right:8px;vertical-align:middle}
#operationsDashboard .ov-sub{font-weight:400;color:var(--text-muted);font-size:12px;margin-left:6px}
#operationsDashboard .ov-funnel{padding:12px 0;border-bottom:1px dashed var(--border)}
#operationsDashboard .ov-funnel:last-child{border-bottom:0}
#operationsDashboard .ov-funnel h4{margin:0 0 8px;font-size:14px}
#operationsDashboard .ov-funnel .ov-label b{white-space:nowrap}
#operationsDashboard select{font:inherit;padding:9px 12px;border:1px solid var(--border);border-radius:8px;background:var(--card);color:var(--text);max-width:220px}
@media(max-width:800px){#operationsDashboard .ov-pie-wrap{grid-template-columns:minmax(0,1fr)}#operationsDashboard .ov-pie{max-width:220px;margin:0 auto}#operationsDashboard .ov-legend{max-height:none}}
#operationsDashboard .ov-legend{display:flex;flex-wrap:wrap;gap:16px;font-size:13px;color:var(--text);margin:4px 0 8px}
#operationsDashboard .ov-swatch{display:inline-block;width:10px;height:10px;border-radius:2px;margin-right:6px;vertical-align:middle}
#operationsDashboard .ov-swatch-reg{background:#245c40}
#operationsDashboard .ov-swatch-ver{background:#6e9460}
#operationsDashboard .ov-swatch-pair{background:#c4a15a}
#operationsDashboard .ov-trend{display:flex;align-items:flex-end;gap:4px;height:168px;overflow-x:auto;padding-top:8px;border-bottom:1px solid var(--border);animation:ov-trend-in 180ms cubic-bezier(0.23,1,0.32,1) both}
@keyframes ov-trend-in{from{opacity:0}to{opacity:1}}
#operationsDashboard .ov-day{flex:1 0 18px;height:100%;display:flex;align-items:flex-end;justify-content:center;gap:2px}
#operationsDashboard .ov-col{display:block;width:100%;max-width:8px;border-radius:2px 2px 0 0;min-height:0}
#operationsDashboard .ov-col[data-series="registrations"]{background:#245c40}
#operationsDashboard .ov-col[data-series="verifications"]{background:#6e9460}
#operationsDashboard .ov-col[data-series="pairs"]{background:#c4a15a}
#operationsDashboard .ov-col.is-zero{height:0}
@media (prefers-reduced-motion: reduce) {
  #operationsDashboard .ov-trend { animation: none; transition: none; }
}
@media (max-width:840px){
 #operationsDashboard .ov-tools{display:grid;grid-template-columns:1fr 1fr;align-items:stretch}
 #operationsDashboard .ov-tools label{min-width:0}
 #operationsDashboard .ov-tools input,
 #operationsDashboard .ov-tools select{max-width:none;width:100%}
 #operationsDashboard .ov-tools button{width:100%;min-height:44px}
 #operationsDashboard .ov-primary,
 #operationsDashboard #ovExport{grid-column:1 / -1}
 #operationsDashboard .ov-metric b{font-size:22px}
 #operationsDashboard .ov-box{padding:14px}
 #operationsDashboard .ov-scroll{overflow:visible}
 #operationsDashboard .ov-scroll table{min-width:0;display:block}
 #operationsDashboard .ov-scroll thead{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
 #operationsDashboard .ov-scroll tbody,
 #operationsDashboard .ov-scroll tr{display:block}
 #operationsDashboard .ov-scroll tr{background:var(--bg,#f7f8f4);border:1px solid var(--border,#cad8c8);border-radius:14px;margin:0 0 10px;padding:4px 10px}
 #operationsDashboard .ov-scroll td{display:flex;justify-content:space-between;gap:10px;text-align:right;overflow-wrap:anywhere;border-bottom:1px solid #e6eee4}
 #operationsDashboard .ov-scroll td::before{content:attr(data-label);flex:0 0 42%;text-align:left;font-weight:700;color:#55726a}
 #operationsDashboard .ov-scroll td.empty-row{display:block;text-align:center}
 #operationsDashboard .ov-scroll td.empty-row::before{content:none}
 #operationsDashboard .ov-pie{max-width:200px}
}
