.workday-page { display: grid; gap: 18px; }
.workday-page .page-head { margin-bottom: 0; }
.workday-actions, .workday-tabs, .workday-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.workday-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.workday-stat { border: 1px solid #dce3e8; border-radius: 12px; padding: 14px 18px; background: #fff; }
.workday-stat small { display: block; color: #586577; }
.workday-stat strong { display: block; font-size: 26px; margin-top: 4px; }
.workday-tabs button { border: 1px solid #dce3e8; border-radius: 20px; background: #fff; color: #334155; padding: 7px 16px; cursor: pointer; }
.workday-tabs button[aria-pressed="true"] { background: #174b42; border-color: #174b42; color: #fff; }
.workday-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 330px), 1fr)); gap: 16px; align-items: start; }
.workday-group { background: #fff; border: 1px solid #dce3e8; border-radius: 12px; padding: 18px; min-width: 0; }
.workday-group h2 { font-size: 16px; margin: 0 0 14px; display: flex; justify-content: space-between; gap: 10px; }
.workday-count { color: #64748b; font-size: 14px; font-weight: normal; }
.workday-item { display: grid; gap: 8px; border-bottom: 1px solid #edf0f3; padding: 14px 0; overflow-wrap: anywhere; }
.workday-item:first-of-type { padding-top: 0; }
.workday-item:last-child { border-bottom: 0; padding-bottom: 0; }
.workday-meta, .workday-note, .workday-case { color: #586577; font-size: 13px; line-height: 1.6; }
.workday-meta { justify-content: space-between; }
.workday-note { margin: 0; white-space: pre-wrap; }
.workday-item .workday-actions { margin-top: 4px; }
.workday-empty { padding: 30px; background: #fff; border: 1px dashed #cbd5e1; border-radius: 12px; color: #586577; }
.workday-error { color: #a12323; background: #fff2f2; border-radius: 8px; padding: 12px; margin: 0; }
.workday-form { display: grid; gap: 14px; }
.workday-form input, .workday-form textarea, .workday-form select { width: 100%; }
.workday-history { display: grid; gap: 12px; max-height: 60vh; overflow-y: auto; }
.workday-event { border-bottom: 1px solid #e2e8f0; padding: 12px 0; }
.workday-records { border-top: 1px solid #dce3e8; padding-top: 16px; }
.workday-records summary { cursor: pointer; margin-bottom: 12px; }
.workday-records .workday-grid { margin: 14px 0; }
.workday-page [aria-busy="true"] { opacity: .65; }
.workday-page button:focus-visible, .workday-page a:focus-visible, .workday-page summary:focus-visible { outline: 3px solid #3b82f6; outline-offset: 3px; }
@media (max-width: 600px) {
  .workday-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .workday-group { padding: 14px; }
  .workday-page .page-head { align-items: stretch; }
}
/* 逾期与今日合并视图、酒店待办条 */
.workday-badge { display: inline-block; background: #a12323; color: #fff; font-size: 11px; font-weight: 600; border-radius: 4px; padding: 1px 6px; margin-right: 6px; vertical-align: 1px; }
.workday-item.is-overdue { border-left: 3px solid #a12323; padding-left: 10px; }
.workday-group.has-overdue { border-color: #f1c4c4; }
.workday-hotel-link { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; padding: 12px 16px; background: #fff; border: 1px solid #dce3e8; border-radius: 12px; color: #334155; text-decoration: none; }
.workday-hotel-link:hover { border-color: #c5a059; }
.workday-hotel-link span.alert { color: #a12323; font-weight: 600; }
.workday-hotel-link .go { margin-left: auto; color: #174b42; }
.workday-hotels:empty, .workday-hints:empty { display: none; }
