.closure {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.closure .closure-summary {
  margin: 0;
  color: var(--text-muted);
}
.closure .closure-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
}
.closure .closure-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.closure .closure-filter:not(:has(> :not(.hidden))) {
  display: none;
}
.closure .closure-chip {
  border-radius: 999px;
}
.closure .closure-chip .icon {
  width: 14px;
  height: 14px;
}
.closure .closure-empty {
  margin: 0;
  color: var(--text-muted);
}
.closure .closure-list {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: 8px;
  max-height: 50vh;
  overflow-y: auto;
}
.closure .closure-list:empty {
  display: none;
}
.closure .closure-row {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) minmax(0, 1fr) 110px 260px;
  align-items: center;
  gap: 8px 12px;
  padding: 8px 12px;
  border-bottom: 1px solid var(--border);
}
.closure .closure-row:last-child {
  border-bottom: none;
}
.closure .closure-row .closure-when {
  font-weight: 650;
  font-variant-numeric: tabular-nums;
}
.closure .closure-row .closure-contact {
  display: flex;
  flex-direction: column;
  font-size: 13px;
  overflow-wrap: anywhere;
}
.closure .closure-row .closure-contact .closure-notified {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--text-muted);
}
.closure .closure-row .closure-contact .closure-notified .icon {
  width: 12px;
  height: 12px;
}
.closure .closure-row .closure-contact .closure-notified.closure-notified-off {
  opacity: .7;
}
.closure .closure-row .closure-status {
  font-size: 13px;
  white-space: nowrap;
}
.closure .closure-row .closure-status.closure-status-pending {
  color: var(--warning);
  font-weight: 650;
}
.closure .closure-row .closure-actions {
  display: flex;
  gap: 6px;
  justify-content: flex-end;
}
.closure .closure-row.closure-handled {
  background: var(--success-bg);
}
.closure .closure-row.closure-handled .closure-when,
.closure .closure-row.closure-handled .closure-customer {
  color: var(--text-muted);
}
.closure .closure-cancel {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.closure .closure-cancel textarea {
  width: 100%;
  resize: vertical;
}
.closure .closure-cancel .closure-cancel-actions {
  display: flex;
  justify-content: flex-end;
}
@media (max-width: 639.98px) {
  .closure .closure-row {
    grid-template-columns: 1fr;
  }
  .closure .closure-row .closure-actions {
    justify-content: flex-start;
  }
}
@keyframes reservation-move-loading {
  to {
    opacity: .35;
  }
}
.reservation-move {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.reservation-move .reservation-move-current {
  margin: 0;
  font-weight: 650;
}
.reservation-move .reservation-move-body {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: flex-start;
}
.reservation-move .reservation-move-pick {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.reservation-move .reservation-move-pick .input-group {
  margin: 0;
}
.reservation-move .reservation-move-pick .reservation-move-office {
  width: 100%;
}
.reservation-move .reservation-move-pick .flatpickr-calendar.inline {
  box-shadow: none;
  border: 1px solid var(--border);
}
.reservation-move .reservation-move-pick .flatpickr-calendar.inline::before,
.reservation-move .reservation-move-pick .flatpickr-calendar.inline::after {
  display: none;
}
.reservation-move .reservation-move-pick .flatpickr-calendar .flatpickr-day:not(.selected).reservation-move-free {
  font-weight: 650;
}
.reservation-move .reservation-move-pick .flatpickr-calendar .flatpickr-day:not(.selected).reservation-move-free:hover,
.reservation-move .reservation-move-pick .flatpickr-calendar .flatpickr-day:not(.selected).reservation-move-free:focus {
  border-color: var(--border-strong);
}
.reservation-move .reservation-move-pick .flatpickr-calendar .flatpickr-day:not(.selected).reservation-move-level-1 {
  background: var(--success-bg);
  border-color: var(--success-border);
}
.reservation-move .reservation-move-pick .flatpickr-calendar .flatpickr-day:not(.selected).reservation-move-level-2 {
  background: color-mix(in srgb, var(--success-bg) 50%, var(--warning-bg));
  border-color: color-mix(in srgb, var(--success-border) 50%, var(--warning-border));
}
.reservation-move .reservation-move-pick .flatpickr-calendar .flatpickr-day:not(.selected).reservation-move-level-3 {
  background: var(--warning-bg);
  border-color: var(--warning-border);
}
.reservation-move .reservation-move-pick .flatpickr-calendar .flatpickr-day:not(.selected).reservation-move-level-4 {
  background: color-mix(in srgb, var(--warning-border) 45%, var(--danger-bg));
  border-color: color-mix(in srgb, var(--warning-border) 50%, var(--danger-border));
}
.reservation-move .reservation-move-pick .flatpickr-calendar .flatpickr-day:not(.selected).reservation-move-none {
  color: var(--text-muted);
}
.reservation-move .reservation-move-pick .flatpickr-calendar .flatpickr-day:not(.selected).reservation-move-full {
  border: 1px dashed var(--border);
  color: var(--text-disabled);
  text-decoration: line-through;
}
.reservation-move .reservation-move-pick .flatpickr-calendar .flatpickr-day:not(.selected).reservation-move-closed {
  background: var(--danger-bg);
  border-color: var(--danger-border);
  color: var(--text-muted);
  text-decoration: line-through;
}
.reservation-move .reservation-move-pick .reservation-move-loading .flatpickr-days {
  opacity: .6;
  animation: reservation-move-loading 1s ease-in-out infinite alternate;
}
.reservation-move .reservation-move-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  margin: 0;
  font-size: 13px;
  color: var(--text-muted);
}
.reservation-move .reservation-move-legend > span {
  display: inline-flex;
  align-items: center;
}
.reservation-move .reservation-move-legend .reservation-move-legend-full::before,
.reservation-move .reservation-move-legend .reservation-move-legend-closed::before,
.reservation-move .reservation-move-legend .reservation-move-legend-scale > i {
  content: "";
  display: inline-block;
  width: 12px;
  height: 12px;
  margin-right: 6px;
  border-radius: 50%;
  vertical-align: -1px;
}
.reservation-move .reservation-move-legend .reservation-move-legend-scale {
  display: inline-flex;
  margin-right: 6px;
}
.reservation-move .reservation-move-legend .reservation-move-legend-scale > i {
  margin-right: 2px;
}
.reservation-move .reservation-move-legend .reservation-move-legend-scale > i:nth-child(1) {
  background: var(--success-bg);
  border: 1px solid var(--success-border);
}
.reservation-move .reservation-move-legend .reservation-move-legend-scale > i:nth-child(2) {
  background: color-mix(in srgb, var(--success-bg) 50%, var(--warning-bg));
  border: 1px solid color-mix(in srgb, var(--success-border) 50%, var(--warning-border));
}
.reservation-move .reservation-move-legend .reservation-move-legend-scale > i:nth-child(3) {
  background: var(--warning-bg);
  border: 1px solid var(--warning-border);
}
.reservation-move .reservation-move-legend .reservation-move-legend-scale > i:nth-child(4) {
  background: color-mix(in srgb, var(--warning-border) 45%, var(--danger-bg));
  border: 1px solid color-mix(in srgb, var(--warning-border) 50%, var(--danger-border));
}
.reservation-move .reservation-move-legend .reservation-move-legend-full::before {
  border: 1px dashed var(--border-strong);
}
.reservation-move .reservation-move-legend .reservation-move-legend-closed::before {
  background: var(--danger-bg);
  border: 1px solid var(--danger-border);
}
.reservation-move .reservation-move-day {
  flex: 1 1 240px;
  min-width: 0;
}
.reservation-move .reservation-move-day .reservation-move-date {
  margin: 0 0 10px;
  font-size: 15px;
}
.reservation-move .reservation-move-slots {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(70px, 1fr));
  gap: 6px;
  max-height: 50vh;
  overflow-y: auto;
}
.reservation-move .reservation-move-slot {
  font-variant-numeric: tabular-nums;
}
.reservation-move .reservation-move-slot:hover,
.reservation-move .reservation-move-slot:focus-visible {
  border-color: var(--primary);
  background: var(--primary-50);
  color: var(--primary-active);
}
.reservation-move .reservation-move-empty {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--text-muted);
}
