.schedule-status-dialog{width:min(1260px,96vw);max-width:96vw}.schedule-status{min-width:0}.schedule-status-heading{margin-bottom:18px}.schedule-status-heading h3{margin:0 0 6px;font-size:18px;font-weight:700}.schedule-status-heading p{margin:0;color:var(--muted,#65738b)}.schedule-status .card{padding:16px;min-width:0}.schedule-status-filters{display:flex;align-items:end;flex-wrap:wrap;gap:12px;margin-bottom:16px}.schedule-status-filters .field{margin:0;min-width:130px;flex:1}.schedule-status-filters .list-page-size{flex:0 0 150px;min-width:150px}.schedule-status-filters input,.schedule-status-filters select{min-height:40px;width:100%}.schedule-status .table-wrap{overflow:auto;max-width:100%}.schedule-status table{width:100%;border-collapse:collapse}.schedule-status th{font-weight:700;white-space:nowrap}.schedule-status td,.schedule-status th{padding:12px;text-align:left;border-bottom:1px solid var(--border,#e4e9f1)}.schedule-status td .button{font-weight:600;white-space:normal;text-align:left}.schedule-status .table-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-top:16px;flex-wrap:wrap}.schedule-status .list-pagination{display:flex;align-items:center;justify-content:space-between;flex:1;gap:16px;flex-wrap:wrap}.schedule-status .list-pagination>div,.schedule-status-footer{display:flex;gap:10px;align-items:center}.schedule-status-response{padding:14px 16px;background:var(--surface-alt,#f6f8fc);border-radius:10px;margin-top:14px;display:flex;gap:12px;align-items:center;flex-wrap:wrap}.schedule-status-response p{flex-basis:100%;margin:0}.schedule-status-copy{white-space:pre-wrap;overflow-wrap:anywhere}.schedule-status-response-form{border-top:1px solid var(--border,#e4e9f1);margin-top:18px;padding-top:16px}.schedule-status-response-form textarea{min-height:100px;width:100%;resize:vertical}.schedule-status-footer{justify-content:flex-end;margin-top:18px}.schedule-status h4{font-weight:700;margin:20px 0 12px}@media(max-width:640px){.schedule-status-dialog{width:96vw;padding:16px}.schedule-status-filters .field{flex:1 1 130px}.schedule-status-filters .list-page-size{flex:1 1 130px;min-width:130px}.schedule-status-response{align-items:flex-start}.schedule-status .card{padding:12px}.schedule-status .table-footer{align-items:flex-start}}
.schedule-personal-entry-link{border:0;background:none;padding:0;text-align:left;color:inherit;font:inherit;cursor:pointer}.schedule-workspace-submenu .workspace-submenu-actions{justify-content:flex-start}

/* Schedule swaps reuse the shared dialog, cards and action controls. */
#dialog.schedule-swap-dialog {
  width: min(800px,calc(100vw - 24px));
  max-width: calc(100vw - 24px);
}
.schedule-swap { min-height: min(420px,52vh); min-width: 0; }
.schedule-swap h3 { margin: 0 0 14px; font-size: 18px; }
.schedule-swap-actions,.schedule-swap-pager,.schedule-swap-card-head {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
}
.schedule-swap-actions,.schedule-swap-pager { margin: 14px 0; }
.schedule-swap-pager,.schedule-swap-card-head { justify-content: space-between; }
.schedule-swap-list { display: grid; gap: 12px; padding: 0; margin: 16px 0; list-style: none; }
.schedule-swap .schedule-swap-card { padding: 14px; }
.schedule-swap-pair {
  display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px;
  margin-top: 12px;
}
.schedule-swap-pair > div {
  display: grid; gap: 3px; padding: 10px 12px; border-radius: 8px;
  background: var(--surface-alt,#f6f8fc); overflow-wrap: anywhere;
}
.schedule-swap-pair small,.schedule-swap-candidate small { color: var(--muted,#65738b); }
.schedule-swap-notes { margin: 16px 0; }
.schedule-swap-notes dt { margin: 9px 0 3px; font-weight: 600; }
.schedule-swap-notes dd { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.schedule-swap-search { display:flex; flex-wrap:wrap; align-items:end; gap: 10px; margin: 12px 0; }
.schedule-swap-search .field { flex: 1 1 200px; margin: 0; min-width: 0; }
.schedule-swap-search input { width: 100%; }
.schedule-swap-candidate-panel { min-height: 66px; margin-bottom: 14px; }
.schedule-swap-candidate-panel fieldset { margin: 0; padding: 0; min-width: 0; border: 0; }
.schedule-swap-candidate-panel legend { margin-bottom: 6px; font-weight: 600; }
.schedule-swap-candidate {
  display: flex; gap: 10px; align-items: start; padding: 9px 2px;
  border-bottom: 1px solid var(--border,#e4e9f1); overflow-wrap: anywhere; cursor: pointer;
}
.schedule-swap-candidate input { flex: none; margin: 4px 0 0; }
.schedule-swap-candidate > span { display: grid; min-width: 0; gap: 2px; }
.schedule-swap textarea { width: 100%; resize: vertical; }
.schedule-swap .field + .dialog-copy { margin-top: 10px; }
@media (max-width:560px) {
  .schedule-swap-pair { grid-template-columns: minmax(0,1fr); gap: 8px; }
  .schedule-swap-pager { justify-content: start; }
}
