/* 仅增强登记首页；图表用独立日期筛选，不改变下方明细列表的筛选和导出范围。 */
.admin-dashboard[hidden],.dashboard-chart[hidden],.dashboard-chart-status[hidden],.dashboard-tooltip[hidden],.dashboard-validation[hidden],.dashboard-data-details[hidden],.dashboard-list-heading[hidden]{display:none!important}
.admin-dashboard{margin-bottom:24px;min-width:0;color:#242b36}
.dashboard-overview-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:18px}
.admin-dashboard h2,.dashboard-list-heading{font-size:18px;font-weight:650;line-height:1.5;margin:0;color:#242b36}
.dashboard-updated{font-size:12px;color:#626d7d}
.dashboard-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:22px}
.dashboard-stat{display:flex;align-items:center;gap:16px;padding:22px 20px;background:#fff;border:1px solid #e2e5eb;border-radius:10px;min-width:0}
.dashboard-stat-icon{display:grid;place-items:center;flex:none;width:44px;height:44px;background:#faf6eb;color:#97721a;border-radius:9px}
.dashboard-icon{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex:none}
.dashboard-stat-label{font-size:13px;color:#404a58;line-height:1.6}
.dashboard-stat-number{display:block;font-size:30px;font-weight:650;line-height:1.35;font-variant-numeric:tabular-nums;letter-spacing:.3px;margin-top:4px}
.dashboard-panel{background:#fff;border:1px solid #e2e5eb;border-radius:10px;padding:22px 24px 16px;min-width:0}
.dashboard-chart-head{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:12px}
.dashboard-chart-head p{font-size:12px;color:#626d7d;margin:6px 0 0;line-height:1.5}
.dashboard-filters{display:flex;flex-direction:column;align-items:flex-end;gap:10px;max-width:100%;min-width:0}
.dashboard-presets{display:flex;flex-wrap:wrap;gap:0}
.admin-dashboard button{font:inherit;font-size:12px;cursor:pointer;min-height:34px;border:1px solid #d9dfe7;border-radius:6px;padding:6px 15px;background:#fff;color:#404a58;white-space:nowrap}
.dashboard-presets button{border-radius:0;margin-left:-1px}.dashboard-presets button:first-child{border-radius:6px 0 0 6px;margin-left:0}.dashboard-presets button:last-child{border-radius:0 6px 6px 0}
.dashboard-presets button[aria-pressed=true]{background:#fbf0ce;color:#765613;border-color:#dfc77f;position:relative;font-weight:600}
.dashboard-date-form{display:flex;gap:8px;align-items:center;min-width:0;max-width:100%;font-size:12px;color:#626d7d}
.dashboard-date-form input{font:inherit;font-size:12px;width:132px;min-width:0;min-height:34px;border:1px solid #d9dfe7;border-radius:6px;padding:6px 8px;color:#404a58;background:#fff;color-scheme:light}
.admin-dashboard .dashboard-query{border-color:#b58e2c;color:#765613}.admin-dashboard button:hover{background:#faf6eb}
.admin-dashboard :focus-visible{outline:2px solid #97721a;outline-offset:3px}
.dashboard-legend{display:flex;gap:22px;align-items:center;font-size:13px;color:#404a58;margin:18px 0 0;flex-wrap:wrap}
.dashboard-legend-register::before,.dashboard-legend-onboarding::before{content:'';display:inline-block;width:9px;height:9px;border-radius:50%;margin-right:8px;background:#09bc9a}
.dashboard-legend-onboarding::before{background:#2389f9}
.dashboard-chart{position:relative;width:100%;min-width:0;touch-action:pan-y}
.dashboard-chart svg{display:block;width:100%;overflow:visible}.dashboard-chart svg text{font:11px 'Microsoft YaHei',sans-serif;fill:#697383}
.dashboard-grid{stroke:#e8ecf1;stroke-dasharray:3 4;stroke-width:1}.dashboard-crosshair{pointer-events:none}.dashboard-crosshair:is(line){stroke:#b5becb;stroke-dasharray:4 4;stroke-width:1}
.dashboard-tooltip{position:absolute;padding:12px 14px;background:#fff;border:1px solid #e2e5eb;border-radius:8px;box-shadow:0 4px 18px #26304712;font-size:12px;line-height:1.8;color:#242b36;pointer-events:none;z-index:2;min-width:190px;max-width:calc(100% - 8px)}
.dashboard-tooltip strong{display:block;margin-bottom:3px}.dashboard-tooltip div{white-space:nowrap}
.dashboard-chart-status{display:flex;align-items:center;justify-content:center;gap:16px;min-height:60px;padding:12px 0;font-size:13px;color:#626d7d;flex-wrap:wrap}
.admin-dashboard[aria-busy=true] .dashboard-chart-status{min-height:270px}
.dashboard-chart-foot{display:flex;justify-content:space-between;gap:12px;font-size:11px;line-height:1.6;color:#6b7481;margin-top:14px}.dashboard-chart-foot p{margin:0}.dashboard-unit{white-space:nowrap}
.dashboard-validation{color:#b42318!important;font-size:12px!important;max-width:380px;margin:0!important}
.dashboard-data-details{margin-top:8px;font-size:12px;color:#626d7d}.dashboard-data-details summary{cursor:pointer;width:fit-content}
.dashboard-data-scroll{overflow:auto;max-height:280px;margin-top:12px}.dashboard-data-scroll table{width:100%;min-width:0;border-collapse:collapse;text-align:left;font-size:12px;color:#404a58}.dashboard-data-scroll caption{text-align:left;padding:8px}.dashboard-data-scroll th,.dashboard-data-scroll td{padding:8px 12px;border-bottom:1px solid #edf0f3;white-space:nowrap}.dashboard-data-scroll th{background:#f6f7f9}
body.dashboard-register .dashboard-list-heading{margin:24px 0 16px}
body.dashboard-register #stats .stat-card:nth-child(2),body.dashboard-register #stats .stat-card:nth-child(3){display:none}
body.dashboard-register #stats .stats-title{display:none}
body.dashboard-register #stats .stat-card{padding:10px 16px;display:flex;align-items:center;gap:10px;flex:none;min-width:0}
body.dashboard-register #stats .num{font-size:19px;margin:0}body.dashboard-register #stats .label{margin:0;font-size:12px}body.dashboard-register #stats .sub{font-size:11px;margin:0}
body.dashboard-register #tableArea{background:#fff;border:1px solid #e2e5eb;border-radius:10px;padding:8px 16px 16px}
@media(min-width:1500px){.dashboard-stat{padding:24px}.dashboard-stat-number{font-size:32px}.dashboard-panel{padding:24px 26px 18px}}
@media(max-width:1150px){.dashboard-cards{gap:12px}.dashboard-stat{padding:18px 14px;gap:10px}.dashboard-stat-icon{width:36px;height:36px}.dashboard-stat-label{font-size:12px}.dashboard-stat-number{font-size:26px}}
@media(max-width:1000px){.dashboard-chart-head{flex-direction:column;gap:14px}.dashboard-filters{width:100%;flex-direction:row;justify-content:space-between;align-items:center;flex-wrap:wrap}.dashboard-validation{width:100%;max-width:none}}
@media(max-width:600px){.dashboard-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:16px}.dashboard-overview-head{margin-bottom:12px}.admin-dashboard h2,.dashboard-list-heading{font-size:17px}.dashboard-stat{padding:16px 12px;gap:9px}.dashboard-stat-icon{width:32px;height:36px}.dashboard-stat-icon svg{width:21px}.dashboard-stat-number{font-size:26px}.dashboard-stat-label{font-size:11px}.dashboard-panel{padding:18px 14px 14px}.dashboard-filters{flex-direction:column;align-items:flex-start;gap:12px}.dashboard-date-form{width:100%;gap:6px;flex-wrap:wrap}.dashboard-date-form input{flex:1;width:calc((100% - 22px)/2);max-width:155px;padding:6px 4px}.dashboard-date-form button{flex:none;padding:6px 12px}.dashboard-chart-foot{flex-direction:column;gap:4px}.dashboard-legend{font-size:12px;gap:16px;margin-bottom:14px}.dashboard-tooltip{font-size:11px;min-width:172px;padding:8px 10px}.dashboard-updated{font-size:10px}.dashboard-presets button{padding:6px 13px}.admin-dashboard[aria-busy=true] .dashboard-chart-status{min-height:230px}body.dashboard-register #stats .stat-card{flex:1 1 130px;flex-wrap:wrap;gap:6px}.dashboard-validation{line-height:1.7}}
@media(prefers-reduced-motion:reduce){.admin-dashboard *{scroll-behavior:auto!important}}
/* 320~380px窄屏把查询按钮另起一行，保证两个完整日期可读。 */
@media(max-width:380px){.dashboard-date-form .dashboard-query{flex:1 0 100%;width:100%}.dashboard-date-form input{max-width:none}.dashboard-stat-icon{width:26px}.dashboard-stat{gap:6px}}
