/* 別日を探す・利用者確認待ち（rebook.js） */
.modal.rebook-modal { width: min(720px, 100%); }
.rebook-list { display: grid; gap: 10px; margin: 8px 0 12px; }
.rebook-candidate { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; align-items: center; padding: 10px 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.rebook-candidate-main { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; }
.rebook-candidate-meta { grid-column: 1; display: flex; flex-wrap: wrap; gap: 4px 10px; color: var(--muted); font-size: var(--text-small, 12px); }
.rebook-candidate > button, .rebook-pick { grid-column: 2; grid-row: 1 / span 2; white-space: nowrap; }
.rebook-pick { display: inline-flex; gap: 6px; align-items: center; }
.rebook-shifted { color: var(--warn); }
.rebook-note { margin: 4px 0 8px; padding: 8px 12px; border-radius: var(--radius); background: var(--warn-soft); color: #7a4a06; }
.rebook-excluded summary { cursor: pointer; color: var(--muted); }
.rebook-excluded ul { margin: 6px 0 0; padding-left: 18px; color: var(--muted); font-size: var(--text-small, 12px); }
.rebook-excluded li span { margin-right: 8px; }
.rebook-proposal { display: grid; gap: 8px; padding: 12px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface-subtle); }
.rebook-proposal header { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; }
.rebook-proposal header span { color: var(--muted); }
.rebook-proposal footer { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; }
.rebook-confirm-area { margin: 0; flex: 1 1 240px; }
.rebook-withdraw { color: var(--danger); }
#rebook-pending-status { white-space: pre-line; }
.rebook-pending-trigger[hidden] { display: none; }
@media (max-width: 560px) {
  .rebook-candidate { grid-template-columns: 1fr; }
  .rebook-candidate > button, .rebook-pick { grid-column: 1; grid-row: auto; justify-self: start; }
}
.rebook-swap { grid-column: 1 / -1; margin: 4px 0 0; color: var(--warn); font-size: var(--text-small, 12px); }
.rebook-day { grid-column: 1 / -1; margin-top: 4px; font-size: var(--text-small, 12px); color: var(--muted); }
.rebook-day ol { margin: 4px 0 0; padding-left: 1.2em; }
.rebook-day-candidate { color: var(--text, inherit); font-weight: 600; }
.rebook-day-moved { text-decoration: line-through; }
.rebook-day em { font-style: normal; }
