.checkin-report-table { width: 100%; min-width: 920px; }
.checkin-report-table th, .checkin-report-table td { white-space: nowrap; padding: 14px 12px; text-align: left; vertical-align: middle; }
.checkin-report-table .checkin-text { text-align: left; }
.checkin-report-table .checkin-number { text-align: right; font-variant-numeric: tabular-nums; }
.checkin-report-table .checkin-action { text-align: center; width: 84px; }
.checkin-report-table small, .checkin-audit small { display: block; color: #65758b; margin-top: 5px; }
.checkin-report-table tr.checkin-subtotal td { font-weight: 700; border-top: 1px solid #eed4ac; background: #fff5e6; color: #754712; }
.checkin-report-table tr.checkin-total td { font-weight: 700; border-top: 2px solid #b7cbee; background: #e8f0ff; color: #224b87; }
.checkin-subtotal-label { display: inline-block; white-space: nowrap; }
.checkin-summary-table { min-width: 800px; }
.checkin-report-table .checkin-row-action { padding: 4px 2px; min-height: 32px; border: 0; border-radius: 4px; background: transparent; color: #2463ba; font: inherit; cursor: pointer; white-space: nowrap; }
.checkin-report-table .checkin-row-action:hover { text-decoration: underline; background: #edf3ff; }
.checkin-report-table .checkin-row-action:focus-visible { outline: 2px solid #2463ba; outline-offset: 3px; }
.checkin-tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.checkin-tabs button.active { color: #fff; background: #2463ba; border-color: #2463ba; }
.checkin-report-heading { margin-bottom: 18px; }
.checkin-report-heading h2 { margin: 0; }
.checkin-report-toolbar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px 24px; grid-column: 1 / -1; padding-top: 2px; }
.checkin-query-actions, .checkin-export-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.checkin-report-toolbar button { white-space: nowrap; }
.checkin-results-heading { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 18px; margin-bottom: 18px; }
.checkin-results-heading h2, .checkin-results-heading p { margin: 0; }
#checkinReportResult, #checkinReportDetailGrain { color: #637084; font-size: 13px; line-height: 1.6; }
#checkinReportDetailGrain { flex-basis: 100%; }
.checkin-report-results .checkin-report-pagination { justify-content: space-between; align-items: center; gap: 12px 24px; margin-top: 18px; padding-top: 16px; border-top: 1px solid #e1e7f0; }
.checkin-page-info, .checkin-page-buttons { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 20px; }
.checkin-page-buttons { gap: 8px; }
.checkin-report-pagination .report-page-text { min-width: 0; text-align: left; }
.checkin-report-pagination label { margin: 0; grid-template-columns: auto 96px; }
.checkin-report-pagination .select-control { width: 96px; min-width: 0; }
.checkin-report-pagination .select-panel { top: auto; bottom: calc(100% + 6px); }
.checkin-query-method { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; grid-column: 1 / -1; padding-bottom: 16px; border-bottom: 1px solid #e1e7f0; }
.checkin-query-method > span { color: #30415f; font-size: 13px; font-weight: 600; }
.checkin-report-context { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 14px; padding: 10px 12px; border-radius: 8px; background: #edf3ff; color: #2463ba; font-size: 13px; }
.checkin-report-context[hidden] { display: none; }
.checkin-report-context > span { flex: 1; min-width: 180px; overflow-wrap: anywhere; }
#checkinSummaryPanel, #checkinDetailPanel { min-width: 0; }
#checkinEventDetailPanel .checkin-event-fields { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px 24px; margin: 0; }
#checkinEventDetailPanel .checkin-event-fields dt { margin-bottom: 5px; color: #637084; font-size: 12px; }
#checkinEventDetailPanel .checkin-event-fields dd { margin: 0; color: #233550; font-size: 14px; line-height: 1.6; overflow-wrap: anywhere; }
#checkinEventDetailPanel .checkin-event-fields small { display: block; color: #637084; }
.checkin-basis { color: #637084; line-height: 1.8; font-size: 13px; padding: 12px 4px; }
.checkin-basis > summary { cursor: pointer; }
.checkin-report-table .checkin-empty, .checkin-empty { text-align: center; padding: 40px !important; color: #6b7280; }
.checkin-audit { max-width: 1640px; margin: 32px auto; padding: 0 24px; }
.checkin-audit header { display: flex; justify-content: space-between; gap: 20px; align-items: center; margin-bottom: 24px; }
.checkin-audit .panel { margin-bottom: 22px; }
.checkin-audit h1 { font-size: 25px; }
.checkin-audit .error { color: #a82424; white-space: pre-wrap; }
#checkinReportAdvanced { margin: 0; min-width: 0; padding: 12px 16px; border: 1px solid #dce4f0; border-radius: 10px; }
#checkinReportAdvanced > summary { cursor: pointer; color: #30415f; font-size: 13px; font-weight: 600; line-height: 22px; }
#checkinReportAdvanced > summary::after { content: "展开"; float: right; color: #2463ba; font-weight: 400; }
#checkinReportAdvanced[open] > summary::after { content: "收起"; }
#checkinReportAdvanced > summary:focus-visible { outline: 2px solid #2463ba; outline-offset: 4px; border-radius: 3px; }
#checkinReportAdvanced > .report-multi-grid { padding-top: 14px; }
@media (max-width: 720px) {
  #checkinEventDetailPanel .checkin-event-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .checkin-report-toolbar { flex-direction: column; align-items: stretch; gap: 12px; }
  .checkin-export-actions { padding-top: 12px; border-top: 1px solid #e1e7f0; }
  .checkin-results-heading { gap: 6px 12px; }
  #checkinReportResult { flex-basis: 100%; }
  .checkin-report-results .checkin-report-pagination { align-items: flex-start; }
}
@media (max-width: 440px) {
  #checkinEventDetailPanel .checkin-event-fields { grid-template-columns: minmax(0, 1fr); }
}
