.schedule-workspace { color: #26313c; letter-spacing: 0; }
.schedule-toolbar, .schedule-period, .schedule-nav, .schedule-actions, .schedule-filters { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.schedule-toolbar { justify-content: space-between; padding: 6px 0 16px; }
.schedule-actions { margin-left: auto; }
.schedule-toolbar .el-button + .el-button { margin-left: 0; }
.schedule-nav { flex-wrap: nowrap; gap: 6px; }
.schedule-nav .el-button.is-circle { width: 32px; height: 32px; font-size: 22px; flex: 0 0 32px; }
.schedule-nav .el-date-editor.el-input { width: 144px; }
.schedule-nav .el-date-editor--daterange { width: 260px; }
.schedule-filters { padding: 12px 0; border-top: 1px solid #e8ecf1; border-bottom: 1px solid #e8ecf1; }
.schedule-department { width: 208px; }
.schedule-search { width: 188px; }
.schedule-filter-end { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.schedule-readonly { color: #697785; font-size: 12px; }
.schedule-error { margin-top: 12px; }
.schedule-content { min-height: 240px; }
.schedule-overview { display: flex; flex-wrap: wrap; gap: 16px 32px; padding: 18px 0; }
.schedule-overview > div { display: flex; align-items: baseline; gap: 8px; }
.schedule-overview strong { font-size: 22px; font-weight: 650; font-variant-numeric: tabular-nums; }
.schedule-overview span { color: #667482; font-size: 12px; }
.schedule-positive { color: #078267; }
.schedule-warning { color: #b36c08; }
.schedule-grid-title { display: flex; align-items: center; gap: 12px; padding: 0 0 12px; }
.schedule-grid-title h3 { font-size: 14px; line-height: 1.5; font-weight: 600; margin: 0; overflow-wrap: anywhere; }
.schedule-grid-title > span { font-size: 12px; color: #6c7783; }
.schedule-grid-scroll { overflow: auto; max-height: 65vh; border: 1px solid #dfe6ed; border-radius: 6px; scrollbar-gutter: stable; }
.schedule-grid { width: 100%; table-layout: fixed; border-spacing: 0; text-align: left; background: #fff; font-size: 13px; }
.schedule-grid th, .schedule-grid td { box-sizing: border-box; border-right: 1px solid #e8ecf1; border-bottom: 1px solid #e8ecf1; padding: 0; vertical-align: top; }
.schedule-grid thead th { position: sticky; top: 0; z-index: 3; background: #f3f6f9; padding: 12px 10px; }
.schedule-grid .schedule-name-column { width: 176px; position: sticky; left: 0; z-index: 2; background: #fff; box-shadow: 1px 0 0 #dfe6ed; }
.schedule-grid thead .schedule-name-column { z-index: 5; background: #f3f6f9; vertical-align: middle; }
.schedule-date { display: flex; align-items: baseline; justify-content: space-between; gap: 4px; }
.schedule-date strong { font-size: 16px; font-variant-numeric: tabular-nums; }
.schedule-date > span { font-size: 12px; color: #697684; font-weight: 400; }
.schedule-day-count { display: flex; flex-wrap: wrap; gap: 4px 12px; margin-top: 7px; font-size: 11px; color: #697684; font-weight: 400; }
.schedule-grid thead .is-weekend { background: #f0f7f4; }
.schedule-grid thead .is-today { background: #e9f1ff; box-shadow: inset 0 3px #3378db; color: #215fae; }
.schedule-grid td.is-today { background: #f7faff; }
.schedule-grid td.is-past { background: #fafbfc; }
.schedule-group-row th, .schedule-group-row td { background: #f7f9fb !important; height: 34px; }
.schedule-group-row button { display: flex; align-items: center; gap: 7px; border: 0; background: transparent; color: #51667a; font: inherit; font-weight: 600; padding: 8px 12px; width: 100%; text-align: left; cursor: pointer; }
.schedule-group-row small { font-size: 11px; color: #788793; font-weight: 400; }
.schedule-person { padding: 14px 12px !important; overflow-wrap: anywhere; font-weight: 400; }
.schedule-person > strong { font-weight: 600; }
.schedule-person > small { display: block; font-size: 11px; line-height: 1.5; color: #71808c; margin-top: 5px; }
.schedule-status { font-size: 10px; color: #79818c; margin-left: 6px; }
.schedule-cell { border: 0; background: transparent; color: inherit; font: inherit; width: 100%; min-height: 88px; padding: 7px; display: flex; flex-direction: column; gap: 6px; text-align: left; cursor: pointer; }
.schedule-cell:disabled { cursor: default; opacity: 1; color: inherit; }
.schedule-cell:not(:disabled):hover { background: #edf4ff; box-shadow: inset 0 0 0 1px #86b4ee; }
.schedule-cell:focus-visible, .schedule-group-row button:focus-visible { outline: 2px solid #3378db; outline-offset: -2px; }
.schedule-shift { display: flex; flex-direction: column; gap: 3px; width: 100%; box-sizing: border-box; border-left: 3px solid var(--shift-color, #3378db); padding: 7px 8px; border-radius: 4px; background: #f0f4f9; line-height: 1.4; overflow-wrap: anywhere; }
.schedule-shift strong { font-size: 12px; font-weight: 600; color: #2b3948; }
.schedule-shift small { font-size: 11px; color: #627387; }
.schedule-shift.is-rest { background: #f1f3f5; border-left-color: #a4afba; }
.schedule-shift.is-rest strong { color: #75808b; }
.schedule-shift .schedule-duty { color: #96621b; }
.schedule-empty-cell { color: #8897a6; font-size: 11px; margin: auto; }
.is-past .schedule-empty-cell { color: #98a2ad; }
.schedule-grid .schedule-no-staff { padding: 36px 12px; text-align: center; color: #73808c; }
.schedule-legend { display: flex; flex-wrap: wrap; gap: 9px 20px; padding: 16px 0 6px; }
.schedule-legend > span { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; color: #5f7082; }
.schedule-legend i { display: inline-block; width: 7px; height: 7px; border-radius: 2px; }
.schedule-legend small { color: #85909a; font-size: 10px; }
.schedule-edit-dialog, .schedule-copy-dialog { max-width: calc(100vw - 24px); border-radius: 8px; }
.schedule-edit-dialog .el-dialog__body { max-height: 68vh; overflow-y: auto; }
.schedule-edit-summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid #e8ecf1; color: #697785; font-size: 12px; }
.schedule-shift-options { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 10px; margin-bottom: 16px; }
.schedule-shift-option { display: flex; flex-direction: column; gap: 5px; align-items: flex-start; font: inherit; padding: 12px; min-height: 76px; border: 1px solid #dce3ec; border-left: 3px solid var(--shift-color); border-radius: 6px; background: #fff; color: #3b4856; cursor: pointer; text-align: left; overflow-wrap: anywhere; }
.schedule-shift-option small { font-size: 11px; color: #687788; }
.schedule-shift-option.is-selected { background: #edf5ff; border-color: #4384d8; box-shadow: inset 0 0 0 1px #4384d8; }
.schedule-shift-option:focus-visible { outline: 2px solid #3378db; outline-offset: 2px; }
.schedule-shift-option:disabled { opacity: .6; cursor: default; }
.schedule-copy-dialog .el-alert { margin-bottom: 16px; }
.schedule-png-dialog { max-width: calc(100vw - 24px); border-radius: 8px; }
.schedule-png-preview { background: #edf0f4; padding: 12px; max-height: 65vh; overflow: auto; text-align: center; }
.schedule-png-preview img { display: block; width: 100%; height: auto; background: white; }
.schedule-png-meta { margin-bottom: 12px; color: #637181; font-size: 13px; }
.schedule-png-footer { display: flex; align-items: center; justify-content: flex-end; gap: 10px; flex-wrap: wrap; }
.schedule-poster-host { position: absolute; top: 0; left: -20000px; width: 1440px; pointer-events: none; }
.schedule-poster { width: 1440px; box-sizing: border-box; padding: 30px 28px 26px; background: #fff; color: #182331; font-family: "PingFang SC", "Microsoft YaHei", sans-serif; font-size: 22px; letter-spacing: 0; line-height: 1.45; }
.schedule-poster * { box-sizing: border-box; letter-spacing: 0; }
.schedule-poster-header { display: flex; justify-content: space-between; gap: 32px; align-items: flex-end; border-bottom: 5px solid #1767d5; padding-bottom: 22px; margin-bottom: 22px; }
.schedule-poster-heading { min-width: 0; flex: 1; }
.schedule-poster-brand { font-size: 23px; color: #495867; margin-bottom: 8px; }
.schedule-poster-heading h1 { font-size: 40px; line-height: 1.25; margin: 0; font-weight: 700; overflow-wrap: anywhere; }
.schedule-poster-period { flex: 0 0 455px; text-align: right; font-variant-numeric: tabular-nums; }
.schedule-poster-period strong { display: block; color: #1767d5; font-size: 32px; margin-bottom: 7px; }
.schedule-poster-period > div { font-size: 26px; font-weight: 600; }
.schedule-poster-table { border-collapse: collapse; table-layout: fixed; width: 100%; background: #fff; }
.schedule-poster-table th, .schedule-poster-table td { border: 1px solid #c8d5e0; padding: 0; text-align: center; vertical-align: middle; overflow-wrap: anywhere; }
.schedule-poster-table thead th { background: #e8f2ff; padding: 14px 8px; font-size: 28px; line-height: 1.35; }
.schedule-poster-table thead .is-weekend { background: #d9eaff; color: #195797; }
.schedule-poster-table thead span { display: block; font-size: 23px; margin-top: 3px; }
.schedule-poster-table .schedule-poster-name { width: 152px; padding: 16px 12px; font-size: 27px; font-weight: 600; }
.schedule-poster-table .schedule-poster-department th { text-align: left; background: #edf4fb; color: #244664; padding: 10px 18px; font-size: 23px; font-weight: 600; }
.schedule-poster-shift { padding: 16px 7px; min-height: 102px; border-left: 4px solid transparent; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.schedule-poster-shift + .schedule-poster-shift { border-top: 1px solid #cbd6de; }
.schedule-poster-shift strong { display: block; font-size: 25px; font-weight: 700; line-height: 1.35; }
.schedule-poster-time { display: block; font-size: 18px; line-height: 1.45; font-variant-numeric: tabular-nums; }
.schedule-poster-duty { font-size: 17px; line-height: 1.45; color: #506174; overflow-wrap: anywhere; }
.schedule-poster-shift.is-rest strong { color: #747f8c; font-size: 30px; }
.schedule-poster-unassigned { background: #fffaef; color: #94701b; font-size: 22px; }
.schedule-poster-footer { padding-top: 18px; }
.schedule-poster-legend { display: flex; flex-wrap: wrap; gap: 8px 23px; font-size: 18px; color: #526172; }
.schedule-poster-legend > span { display: inline-flex; gap: 9px; align-items: center; }
.schedule-poster-legend i { width: 15px; height: 15px; display: inline-block; border-radius: 2px; }
.schedule-poster-notes { display: flex; justify-content: space-between; gap: 24px; align-items: flex-end; padding-top: 16px; margin-top: 16px; border-top: 1px solid #e2e7ee; font-size: 19px; color: #566373; }
.schedule-poster-source { flex-shrink: 0; font-size: 18px; text-align: right; }
.schedule-poster-source span { display: block; }
@media(max-width: 760px) {
  .schedule-actions { margin-left: 0; flex-wrap: wrap; }
  .schedule-toolbar { gap: 12px; }
  .schedule-filters { gap: 8px; }
  .schedule-department, .schedule-search { width: min(100%, 210px); }
  .schedule-filter-end { margin-left: 0; }
  .schedule-overview { gap: 12px 18px; }
  .schedule-overview strong { font-size: 18px; }
  .schedule-nav { max-width: 100%; }
  .schedule-nav .el-date-editor--daterange { width: 210px; min-width: 0; }
  .schedule-grid-title { flex-wrap: wrap; }
  .schedule-grid .schedule-name-column { width: 142px; }
  .schedule-shift-options { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .schedule-edit-dialog .el-dialog__footer .el-button { padding-left: 10px; padding-right: 10px; }
}
