#panel-availability[data-schedule-state] .chef-avail-split-wrap,
#panel-availability[data-schedule-state] #chef-avail-stats {
  display: none;
}

.chef-step__status {
  white-space: normal;
  overflow-wrap: anywhere;
  color: #654f46;
}

@media (max-width: 640px) {
  #panel-availability .chef-avail__calendar-head,
  #chef-home-calendar-panel .chef-avail__calendar-head {
    flex-wrap: wrap;
  }
  #panel-availability .chef-avail__calendar-actions,
  #chef-home-calendar-panel .chef-avail__calendar-actions {
    justify-content: space-between;
    width: 100%;
    min-width: 0;
  }
  #panel-availability .chef-avail__calendar-actions button,
  #chef-home-calendar-panel .chef-avail__calendar-actions button {
    min-width: 2.75rem;
    min-height: 2.75rem;
  }
  .chef-item-modal__grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

#view-chef-in-review {
  overflow-y: auto;
}

.inq-card--chef-compact .inq-card__lead-call-prompt--chef {
  width: auto;
  min-width: 0;
  margin: .25rem 0 0;
  flex-wrap: wrap;
}

/* My Events uses the available workspace width, including when the sidebar is open. */
#inq-list-view.chef-home-view { container: chef-events / inline-size; }

.chef-events-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0 0 1rem;
  padding: .8rem 0;
  border: 1px solid #e3d7c9;
  border-radius: 8px;
  background: #fffcf8;
}
.chef-events-summary > div {
  min-width: 0;
  padding-inline: clamp(.65rem, 2cqi, 1.25rem);
}
.chef-events-summary > div + div { border-inline-start: 1px solid #e7ddd2; }
.chef-events-summary dt { color: #705c50; font-size: .78rem; line-height: 1.25; font-weight: 600; }
.chef-events-summary dd {
  margin: .3rem 0 0;
  color: #3c251f;
  font: 600 clamp(1.12rem, 3.3cqi, 1.45rem)/1.2 Georgia, serif;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}
@container chef-events (max-width: 24rem) {
  .chef-events-summary { padding-block: .65rem; }
  .chef-events-summary > div { display: grid; grid-template-rows: subgrid; grid-row: span 2; padding-inline: .5rem; }
  .chef-events-summary dt { font-size: .74rem; }
}

#inq-list-view.chef-home-view #inq-list.inq-list--chef-events { display: block; }
#inq-list-view.chef-home-view .chef-event-list {
  min-width: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border: 1px solid #e0d5c9;
  border-radius: 9px;
  background: #fffdf9;
}
.chef-event-list > li { min-width: 0; margin: 0; padding: 0; }
.chef-event-list > li + li { border-top: 1px solid #e8dfd5; }
.chef-event-list > li:first-child .chef-event-row { border-start-start-radius: 8px; border-start-end-radius: 8px; }
.chef-event-list > li:last-child .chef-event-row { border-end-start-radius: 8px; border-end-end-radius: 8px; }
#chef-event-roster .inq-list__state { padding: 1rem; border: 0; border-radius: inherit; }
#chef-event-roster .inq-list__state--quiet { color: #65574d; background: none; font-style: normal; }

.chef-event-row, .chef-event-list__head {
  grid-template-columns: 3.2rem minmax(0, 1fr) minmax(8.3rem, .54fr) minmax(10rem, .62fr);
  column-gap: clamp(.65rem, 1.3vw, 1.35rem);
  padding-inline: clamp(.8rem, 1.5vw, 1.45rem);
}
.chef-event-list__head { display: none; }
@container chef-events (width > 47rem) {
  #inq-list-view.chef-home-view:has(#chef-event-roster > [data-chef-event-key]) .chef-event-list__head {
    display: grid;
    padding-block: .15rem .5rem;
    color: #67554a;
    font-size: .75rem;
    font-weight: 600;
  }
  .chef-event-list__head > :first-child { text-align: center; }
}
.chef-event-row {
  display: grid;
  align-items: center;
  min-width: 0;
  padding-block: .85rem;
  color: #38251f;
}
.chef-event-row[data-status="invited"] { background: #fcf6ed; }
.chef-event-row:has(.admin-inq-open-btn) { cursor: pointer; }
@media (hover: hover) {
  .chef-event-row:has(.admin-inq-open-btn):hover { background: #f6ede2; }
}
.chef-event-row__date {
  grid-column: 1;
  grid-row: 1;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: .06rem;
  line-height: 1;
  color: #5d4439;
  font-variant-numeric: tabular-nums;
}
.chef-event-row__month, .chef-event-row__date--pending {
  font-size: .67rem;
  font-weight: 650;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.chef-event-row__date strong { color: #3b2820; font: 600 1.4rem/1.1 "Playfair Display", Georgia, serif; }
.chef-event-row__year { color: #716057; font-size: .67rem; }
.chef-event-row__main { grid-column: 2; grid-row: 1; min-width: 0; overflow-wrap: anywhere; }
.chef-event-row__title { margin: 0; color: #35241e; font: 650 1.04rem/1.35 "Playfair Display", Georgia, serif; }
.chef-event-row__title .admin-inq-open-btn {
  display: inline;
  max-width: 100%;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 2px;
  background: transparent;
  color: #593026;
  box-shadow: none;
  font: inherit;
  letter-spacing: inherit;
  text-align: start;
  text-transform: none;
  overflow-wrap: anywhere;
}
.chef-event-row__title .admin-inq-open-btn:hover { color: #793a2a; }
.chef-event-row__meta, .chef-event-row__unavailable {
  color: #67564c;
  font-size: .81rem;
  line-height: 1.4;
}
.chef-event-row__meta { margin: .23rem 0 0; }
.chef-event-row__participation {
  grid-column: 3;
  grid-row: 1;
  display: grid;
  justify-items: start;
  gap: .15rem;
  min-width: 0;
}
.chef-event-row__status {
  display: inline-flex;
  align-items: baseline;
  gap: .4rem;
  max-width: 100%;
  color: #365942;
  font-size: .78rem;
  font-weight: 650;
  line-height: 1.4;
  overflow-wrap: anywhere;
}
.chef-event-row__status::before {
  content: "";
  width: .35rem;
  height: .35rem;
  flex: none;
  translate: 0 -.08rem;
  border-radius: 50%;
  background: currentColor;
}
.chef-event-row[data-status="invited"] .chef-event-row__status { color: #895218; }
.chef-event-row[data-status="applied"] .chef-event-row__status { color: #5d4d77; }
.chef-event-row:is([data-status="closed"], [data-status="assigned_elsewhere"]) .chef-event-row__status { color: #665b52; }

.chef-event-row__actions {
  grid-column: 4;
  grid-row: 1;
  display: flex;
  align-items: center;
  gap: .35rem;
  min-width: 0;
}
.chef-event-row__actions > .admin-inq-actions-dd { flex: none; margin-inline-start: auto; }
.chef-event-row__actions:has(.chef-event-row__unavailable) { display: grid; grid-template-columns: minmax(0, 1fr) auto; }
.chef-event-row__actions > .chef-event-row__unavailable, .chef-event-row__actions > .chef-event-row__next { grid-column: 1; }
.chef-event-row__actions:has(.chef-event-row__unavailable) > .admin-inq-actions-dd { grid-column: 2; grid-row: 1; }
.chef-ping-view-application.admin-inq-open-btn {
  max-width: 100%;
  min-height: 2.45rem;
  padding: .42rem .7rem;
  border-radius: 5px;
  border: 1px solid transparent;
  background: #532b24;
  color: #fff;
  box-shadow: none;
  font-family: inherit;
  font-size: .82rem;
  font-weight: 650;
  letter-spacing: normal;
  text-transform: none;
}
.chef-ping-view-application.admin-inq-open-btn:hover { background: #3e1c17; color: #fff; }
.chef-ping-view-application:focus-visible { outline: 2px solid #785138; outline-offset: 2px; }

.chef-event-row__actions:has(.chef-event-row__message-preview) {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  row-gap: .12rem;
}
.chef-event-row__message-preview {
  grid-column: 1 / -1;
  min-width: 0;
  margin-block: .15rem;
  padding-inline-start: .55rem;
  border-inline-start: 2px solid #d6c1a9;
  color: #514238;
  overflow-wrap: anywhere;
}
.chef-event-row__message-sender {
  display: block;
  color: #695548;
  font-size: .75rem;
  font-weight: 650;
  line-height: 1.4;
}
.chef-event-row__message-excerpt {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  font-size: .83rem;
  line-height: 1.4;
}
.chef-event-row__actions:has(.chef-event-row__message-preview) > .admin-inq-actions-dd {
  grid-column: 2;
  grid-row: 2;
}
#chef-event-roster .chef-event-row__actions .admin-inq-dd-trigger {
  display: grid;
  place-items: center;
  flex: none;
  width: 2.35rem;
  min-width: 0;
  min-height: 2.45rem;
  padding: 0 !important;
  border-color: transparent !important;
  background: transparent !important;
  color: #644e42 !important;
  box-shadow: none;
}
#chef-event-roster .admin-inq-dd-trigger:is(:hover, [aria-expanded="true"]) { background: #f1e9df !important; }
#chef-event-roster .admin-inq-dd-trigger .nc-animated-menu-caret { display: none; }
.chef-event-row__ellipsis { width: 1.1rem; height: 1.1rem; }
#chef-event-roster .admin-inq-dd-menu {
  width: min(17rem, calc(100vw - 2.25rem));
  min-width: 0;
  max-height: min(22rem, 50dvh);
  overflow-y: auto;
  overscroll-behavior: contain;
}
#chef-event-roster .chef-event-row__menu-divider { border-top: 1px solid #d3c5b8; }
.chef-event-row__next {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  max-width: 100%;
  min-width: 0;
  min-height: 2.45rem;
  padding: .25rem .15rem;
  border: 0;
  background: transparent;
  color: #743b2b;
  font-family: inherit;
  font-size: .81rem;
  font-weight: 650;
  line-height: 1.35;
  text-align: start;
  overflow-wrap: anywhere;
  cursor: pointer;
}
.chef-event-row__next:hover { color: #49271e; }
.chef-event-row__next svg { width: .95rem; height: .95rem; flex: none; }
.chef-event-row :is(a, button):focus-visible { outline: 2px solid #785138; outline-offset: 2px; }

/* Give touch browsers a native button target all the way to the card edges. */
@media (any-pointer: coarse) {
  .chef-event-row { position: relative; }
  .chef-event-row__title .admin-inq-open-btn { position: static; }
  .chef-event-row__title .admin-inq-open-btn::after { content: ""; position: absolute; inset: 0; }
  .chef-event-row__date, .chef-event-row__meta, .chef-event-row__status,
  .chef-event-row__actions > :is(button, a, .admin-inq-actions-dd, .chef-event-row__unavailable, .chef-event-row__message-preview) {
    position: relative;
    z-index: 1;
  }
  .chef-event-row__actions > .admin-inq-actions-dd:has([aria-expanded="true"]) { z-index: 2; }
}

@container chef-events (max-width: 47rem) {
  .chef-event-row { grid-template-columns: 2.8rem minmax(0, 1fr) minmax(8.8rem, 29%); gap: .25rem .8rem; }
  .chef-event-row__date { grid-row: 1 / 3; }
  .chef-event-row__participation { grid-column: 2; grid-row: 2; display: flex; flex-wrap: wrap; align-items: baseline; gap: .15rem .5rem; }
  .chef-event-row__actions { grid-column: 3; grid-row: 1 / 3; }
}
@container chef-events (max-width: 35rem) {
  .chef-event-row { grid-template-columns: 2.25rem minmax(0, 1fr); gap: .3rem .7rem; padding: .85rem .75rem; }
  .chef-event-row__date { align-self: start; margin-top: .12rem; }
  .chef-event-row__actions { grid-column: 2; grid-row: 3; }
  .chef-event-row:has(.chef-event-row__actions > .admin-inq-actions-dd:only-child) { grid-template-columns: 2.25rem minmax(0, 1fr) auto; }
  .chef-event-row__actions:has(> .admin-inq-actions-dd:only-child) { grid-column: 3; grid-row: 1 / 3; }
  .chef-ping-view-application.admin-inq-open-btn, .chef-event-row .chef-event-row__next,
  #chef-event-roster .chef-event-row__actions .admin-inq-dd-trigger { min-height: 44px; }
  #chef-event-roster .chef-event-row__actions .admin-inq-dd-trigger { width: 44px; }
  .chef-event-row__title .admin-inq-open-btn { padding-block: .25rem; }
}

.chef-invitation {
  box-sizing: border-box;
  width: min(100%, 50rem);
  padding: clamp(1rem, 3%, 1.5rem);
  border: 1px solid #dfd4c8;
  border-radius: 10px;
  background: #fffcf8;
  color: #39251d;
  overflow-wrap: anywhere;
  font: 400 .91rem/1.5 "DM Sans", sans-serif;
}
.chef-invitation__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .45rem .75rem;
  margin-bottom: .95rem;
}
.chef-invitation h3 {
  margin: 0;
  font: 650 1.25rem/1.3 "Playfair Display", Georgia, serif;
}
.chef-invitation__status {
  padding: .23rem .55rem;
  border-radius: 5px;
  background: #efeae4;
  color: #5b4d42;
  font-size: .78rem;
  font-weight: 650;
}
.chef-invitation__status[data-state="pending"] { background: #f5e8d5; color: #75460e; }
.chef-invitation__status[data-state="applied"] { background: #eeebf6; color: #5c4376; }
.chef-invitation h4 {
  margin: 0;
  color: #503829;
  font: 650 .86rem/1.35 "DM Sans", sans-serif;
}
.chef-invitation__note {
  margin-bottom: 1rem;
  padding: .85rem 1rem;
  border-inline-start: 3px solid #b28d61;
  border-radius: 5px;
  background: #f6efe5;
}
.chef-invitation__note p { margin: .35rem 0 0; white-space: pre-wrap; }
.chef-invitation__facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 8rem), 1fr));
  gap: .85rem 1.25rem;
  margin: 0;
}
.chef-invitation__facts > div { min-width: 0; }
.chef-invitation__facts dt { color: #705d51; font-size: .78rem; }
.chef-invitation__facts dd { margin: .08rem 0 0; font-weight: 600; white-space: pre-line; }
.chef-invitation__menu, .chef-invitation__actions {
  margin-top: 1rem;
  padding-top: .9rem;
  border-top: 1px solid #e4d9cc;
}
.chef-invitation__menu h4 { margin-bottom: .6rem; }
.chef-invitation__actions { display: flex; gap: .5rem; }
.chef-invitation__actions .chef-event-ping-banner__btn {
  flex: 0 1 7rem;
  min-height: 44px;
  margin: 0;
  padding: .5rem .85rem;
  border-radius: 6px;
  box-shadow: none;
  font: 650 .89rem/1.3 "DM Sans", sans-serif;
  letter-spacing: normal;
  text-transform: none;
}
.chef-invitation__actions .chef-event-ping-banner__btn--accept { color: #fff; background: #512622; }
.chef-invitation__actions .chef-event-ping-banner__btn--ghost { color: #512622; background: #fffcf8; border-color: #cbbbab; }
.chef-invitation__actions button:focus-visible { outline: 2px solid #795640; outline-offset: 2px; }
@media (max-width: 640px) {
  .chef-invitation__actions .chef-event-ping-banner__btn { flex: 1 1 0; }
}

/* Chef event handoff and workflow, inside the event profile. */
.chef-overview-brief,
.chef-overview-checklist {
  min-width: 0;
  color: #382720;
}
.chef-overview-brief h3,
.chef-overview-checklist h3 {
  margin: 0;
  color: #38251f;
  font: 650 1.08rem/1.35 "Playfair Display", Georgia, serif;
}
.chef-overview-brief {
  padding: .95rem 1rem;
  background: #f7f2ea;
  border-radius: 8px;
  overflow-wrap: anywhere;
}
.chef-overview-brief h4 {
  margin: .65rem 0 .16rem;
  font-family: inherit;
  font-size: .9rem;
  font-weight: 650;
  line-height: 1.4;
}
.chef-overview-brief__body {
  font-size: .86rem;
  line-height: 1.55;
}
.chef-overview-brief__body p { margin: .32rem 0 0; }
.chef-overview-brief__byline {
  margin: .55rem 0 0;
  color: #6a5549;
  font-size: .75rem;
  line-height: 1.4;
}
.chef-overview-checklist { container: chef-checklist / inline-size; }
.chef-overview-checklist > header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: .3rem 1rem;
  padding-bottom: .35rem;
}
.chef-overview-checklist > header > span {
  color: #6a5549;
  font-size: .78rem;
}
.chef-overview-checklist > ol { list-style: none; padding: 0; margin: 0; }
.chef-overview-step {
  display: grid;
  grid-template-columns: 1.55rem minmax(0, 1fr) auto;
  align-items: start;
  gap: .4rem .65rem;
  padding: .75rem 0;
  border-top: 1px solid #e9dfd4;
}
.chef-overview-step__marker {
  display: grid;
  place-items: center;
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 50%;
  background: #ede7df;
  color: #604c41;
  font-size: .72rem;
  font-weight: 700;
}
.chef-overview-step__marker svg { width: .85rem; height: .85rem; }
.chef-overview-step[data-state="done"] .chef-overview-step__marker { background: #e4eee5; color: #36583e; }
.chef-overview-step[data-state="current"] .chef-overview-step__marker { background: #5b3028; color: #fffaf5; }
.chef-overview-step__copy { min-width: 0; overflow-wrap: anywhere; }
.chef-overview-step__copy > strong { font-size: .88rem; line-height: 1.45; }
.chef-overview-step__copy > p {
  margin: .16rem 0 0;
  color: #665145;
  font-size: .8rem;
  line-height: 1.45;
}
.chef-overview-step .chef-step__contact {
  margin: .32rem 0 0;
  font-size: .76rem;
  line-height: 1.45;
}
.chef-overview-step__action {
  align-self: center;
  min-height: 2.35rem;
  max-width: 100%;
  padding: .42rem .72rem;
  border: 1px solid #d7c8ba;
  border-radius: 6px;
  background: #fffcf8;
  color: #572c24;
  font-family: inherit;
  font-size: .8rem;
  font-weight: 650;
  line-height: 1.25;
  cursor: pointer;
}
.chef-overview-step[data-state="current"] .chef-overview-step__action { border-color: #572c24; background: #572c24; color: #fffaf4; }
.chef-overview-step__action:hover { filter: brightness(.95); }
.chef-overview-step :is(a,button):focus-visible { outline: 2px solid #795638; outline-offset: 2px; }

@container chef-checklist (max-width: 27rem) {
  .chef-overview-step { grid-template-columns: 1.55rem minmax(0, 1fr); }
  .chef-overview-step__action { grid-column: 2; justify-self: start; min-height: 2.75rem; }
}
