header nav {
  display: flex;
  gap: 24px;
  font-size: 14px;
}
.schedule-main {
  max-width: 1800px;
  padding: 38px 32px;
}
.schedule-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.schedule-heading h1 {
  font-size: 42px;
  margin: 12px 0;
}
.schedule-heading p {
  margin: 8px 0;
}
.primary-link {
  display: inline-block;
  background: var(--green);
  color: white;
  padding: 14px 20px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 650;
}
.schedule-toolbar {
  display: flex;
  align-items: end;
  flex-wrap: wrap;
  gap: 12px;
  border-top: 1px solid var(--border);
  padding-top: 12px;
  margin-top: 24px;
}
.schedule-toolbar label {
  margin: 0;
  flex: 1;
  min-width: 145px;
}
.schedule-toolbar input,
.schedule-toolbar select {
  display: block;
  margin-top: 8px;
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 9px;
  padding: 11px;
  background: white;
  font: inherit;
  color: inherit;
}
.date-navigation {
  display: flex;
  gap: 5px;
  padding-bottom: 1px;
}
.cancelled-toggle {
  display: flex;
  gap: 10px;
  align-items: center;
  font-weight: 400;
}
.cancelled-toggle input {
  width: 16px;
  height: 16px;
}
.schedule-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 26px;
}
.schedule-summary h2 {
  margin: 0;
}
.schedule-board {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding: 2px 2px 22px;
  align-items: stretch;
  min-height: 320px;
}
.schedule-column {
  flex: 1 0 245px;
  min-width: 0;
  background: #edf2ed;
  border: 1px solid var(--border);
  border-radius: 15px;
  padding: 16px;
}
.schedule-column h3 {
  font-size: 15px;
  margin: 3px 0 4px;
  overflow-wrap: anywhere;
}
.column-count {
  font-size: 11px;
  color: var(--muted);
  margin: 0 0 18px;
}
.appointment-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: left;
  width: 100%;
  background: white;
  color: #173e35;
  border: 1px solid #d2dfd7;
  border-left: 4px solid #36785e;
  border-radius: 11px;
  padding: 16px;
  margin-bottom: 12px;
  box-shadow: 0 3px 7px #173e3505;
  overflow-wrap: anywhere;
  font-weight: 400;
}
.appointment-card:hover {
  border-color: #739e87;
  box-shadow: 0 4px 12px #173e3510;
}
.appointment-card strong {
  font-size: 16px;
}
.card-creator {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: #65786c;
  border-bottom: 1px solid #edf2ed;
  padding-bottom: 8px;
}
.card-time {
  font-size: 12px;
  font-weight: 650;
}
.card-resource,
.card-continuation {
  font-size: 11px;
  color: var(--muted);
}
.card-status {
  font-size: 11px;
  border-radius: 6px;
  background: #e8f3eb;
  color: #285b3e;
  padding: 5px 8px;
  align-self: flex-start;
}
.is-cancelled {
  opacity: 0.7;
  border-left-color: #a4aaa5;
}
.is-cancelled .card-status {
  background: #eee;
  color: #636963;
}
.empty-column {
  font-size: 13px;
  color: #849288;
  padding: 24px 0;
}
.schedule-agenda {
  display: grid;
  gap: 16px;
}
.schedule-agenda .schedule-column {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 12px;
}
.schedule-agenda h3,
.schedule-agenda .column-count {
  grid-column: 1/-1;
}
.schedule-agenda .appointment-card {
  margin: 0;
}
.schedule-warning {
  background: #fff1d7;
  color: #705623;
  border-radius: 9px;
  padding: 14px;
  font-size: 13px;
}
.booking-details {
  position: fixed;
  inset: 100px 24px 24px auto;
  width: 430px;
  max-width: calc(100vw - 32px);
  overflow-y: auto;
  box-shadow: 0 12px 80px #102e3540;
  z-index: 5;
}
.detail-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}
.detail-heading h2 {
  font-size: 20px;
  margin: 0;
}
.detail-link {
  font-size: 13px;
  text-decoration: underline;
  text-underline-offset: 3px;
  display: inline-block;
  padding: 7px 0;
}
.booking-details h3 {
  font-size: 25px;
  overflow-wrap: anywhere;
  margin: 12px 0;
}
.booking-details dl {
  border-top: 1px solid var(--border);
  padding-top: 4px;
}
.booking-details .actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
select:focus-visible {
  outline: 3px solid #8dbba8;
  outline-offset: 3px;
}
@media (max-width: 650px) {
  header {
    padding: 0 18px;
  }
  header nav {
    gap: 14px;
    font-size: 12px;
  }
  .schedule-main {
    padding: 26px 16px;
  }
  .schedule-heading {
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .schedule-heading h1 {
    font-size: 35px;
  }
  .schedule-toolbar label {
    min-width: 130px;
  }
  .schedule-column {
    flex-basis: 260px;
  }
  .schedule-summary h2 {
    font-size: 19px;
  }
  .booking-details {
    inset: 82px 16px 16px;
    width: auto;
  }
  .schedule-agenda .schedule-column {
    grid-template-columns: 1fr;
  }
  .date-navigation {
    width: 100%;
  }
}

.schedule-column.drop-target {
  outline: 3px solid #659b7c;
  outline-offset: -3px;
  background: #e0eee3;
}
.appointment-card[draggable="true"] {
  cursor: grab;
}
.appointment-card[draggable="true"]:active {
  cursor: grabbing;
}

.job-correction {
  overflow-wrap: anywhere;
  margin-top: 24px;
  border-top: 1px solid var(--border);
  padding-top: 12px;
}
.job-correction article {
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
  overflow-wrap: anywhere;
}
.job-correction label {
  display: block;
  margin-top: 12px;
}
.job-correction select,
.job-correction input {
  display: block;
  width: 100%;
  padding: 12px;
  margin-top: 8px;
  font: inherit;
  border: 1px solid var(--border);
  border-radius: 8px;
}
.job-correction button {
  margin: 10px 8px 0 0;
}
