.stay-card {
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
}

.stay-hero {
  background: #fff;
  border-radius: 8px;
  margin: 0 auto 32px;
  max-width: 1120px;
  padding: 20px 24px;
}

.stay-hero__title-row {
  align-items: flex-start;
  display: flex;
  gap: 24px;
  justify-content: space-between;
}

.stay-hero__heading-row {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.stay-hero__title {
  font-size: 20px;
  font-weight: 600;
  line-height: 32px;
  margin: 0;
  text-transform: uppercase;
}

.stay-hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.stay-chip,
.stay-status-pill {
  align-items: center;
  border-radius: 13px;
  display: inline-flex;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  min-height: 22px;
  padding: 4px 8px;
}

.stay-chip--blue {
  background: #dcecff;
  color: #124466;
}

.stay-chip--green,
.stay-status-pill--green {
  background: #eef7f2;
  border: 1px solid #2f7a52;
  color: #1f5a3b;
}

.stay-chip--amber,
.stay-status-pill--amber {
  background: #fff5db;
  border: 1px solid #d09a11;
  color: #8a6200;
}

.stay-hero__facts {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 20px 0 0;
}

.stay-hero__facts dt,
.stay-detail-list dt,
.stay-section-heading,
.stay-card__body-section h4,
.stay-timeline__kind,
.stay-notes-category-title {
  color: #6b6f76;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.66px;
  line-height: 16px;
  margin: 0;
  text-transform: uppercase;
}

.stay-hero__facts dd,
.stay-detail-list dd {
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  margin: 4px 0 0;
}

.stay-page-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  margin: 0 auto;
  max-width: 1120px;
}

.stay-section-heading {
  font-size: 16px;
  letter-spacing: 0.66px;
  margin-bottom: 12px;
}

.stay-card {
  margin-bottom: 16px;
  overflow: hidden;
}

.stay-card--compact {
  margin-bottom: 16px;
}

.stay-card__header {
  align-items: center;
  border-bottom: 1px solid #e4e4e4;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  min-height: 64px;
  padding: 16px;
}

.stay-card__header h3 {
  font-size: 16px;
  font-weight: 600;
  line-height: 20px;
  margin: 0;
  text-transform: uppercase;
}

.stay-detail-list {
  display: grid;
  gap: 8px;
  margin: 16px;
}

.stay-detail-list > div {
  display: grid;
  gap: 12px;
  grid-template-columns: 84px minmax(0, 1fr);
}

.stay-detail-list dd {
  font-weight: 500;
  margin-top: 0;
}

.stay-card__body-section {
  padding: 0 16px 16px;
}

.stay-card__body-section h4 {
  margin-bottom: 8px;
}

.stay-card__body-section p {
  font-size: 14px;
  line-height: 20px;
  margin: 0;
}

.stay-empty-text {
  color: #8a8f96;
}

.stay-timeline,
.stay-notes-body,
.stay-assignment-list {
  display: grid;
  gap: 10px;
  padding: 16px;
}

.stay-note-list {
  display: grid;
  gap: 10px;
  padding: 16px;
}

.stay-notes-body .stay-note-list {
  padding: 0;
}

.stay-notes-body section + section {
  margin-top: 18px;
}

.stay-timeline__row {
  display: grid;
  gap: 16px;
  grid-template-columns: 72px minmax(0, 1fr);
}

.stay-timeline__date {
  font-size: 13px;
  font-weight: 700;
  margin: 0;
}

.stay-timeline__kind {
  color: #9aa0a6;
  font-size: 12px;
  margin-top: 4px;
}

.stay-timeline__row h4 {
  font-size: 13px;
  font-weight: 700;
  margin: 0;
}

.stay-timeline__row p {
  color: #6b6f76;
  font-size: 12px;
  margin: 3px 0 0;
}

.stay-note {
  background: #f7f7f7;
  border: 1px solid #d6d6d6;
  border-radius: 4px;
  padding: 10px 12px;
}

.stay-note__content {
  align-items: start;
  display: grid;
  gap: 8px;
  grid-template-columns: minmax(0, 1fr) auto;
}

.stay-note p {
  font-size: 14px;
  line-height: 20px;
  margin: 0;
}

.stay-note__remove {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 4px;
  color: #687482;
  cursor: pointer;
  display: inline-flex;
  height: 24px;
  justify-content: center;
  margin: -2px -4px 0 0;
  padding: 0;
  width: 24px;
}

.stay-note__remove:hover {
  background: #eceff1;
  color: #1f2328;
}

.stay-note__remove svg {
  height: 14px;
  width: 14px;
}

.stay-note footer {
  color: #777d84;
  font-size: 12px;
  margin-top: 4px;
}

.stay-button {
  align-items: center;
  border-radius: 4px;
  cursor: pointer;
  display: inline-flex;
  font-size: 12px;
  font-weight: 500;
  gap: 6px;
  justify-content: center;
  line-height: 16px;
  min-height: 32px;
  padding: 6px 12px;
}

.stay-button__icon {
  display: block;
  height: 9px;
  position: relative;
  width: 9px;
}

.stay-button__icon::before,
.stay-button__icon::after {
  background: currentColor;
  border-radius: 1px;
  content: "";
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
}

.stay-button__icon::before {
  height: 9px;
  width: 1px;
}

.stay-button__icon::after {
  height: 1px;
  width: 9px;
}

.stay-button--primary {
  background: #2f3b45;
  border: 1px solid #2f3b45;
  color: #fff;
}

.stay-button--secondary {
  background: #fff;
  border: 1px solid #4d5a64;
  color: #2f3b45;
}

.stay-assignment-row {
  align-items: start;
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(0, 1fr) auto;
  min-height: 40px;
}

.stay-assignment-row + .stay-assignment-row {
  border-top: 1px solid #ececec;
  padding-top: 8px;
}

.stay-assignment-row dt {
  color: #5f646b;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 16px;
  margin: 0;
  text-transform: uppercase;
}

.stay-assignment-row dd {
  font-size: 14px;
  line-height: 18px;
  margin: 2px 0 0;
}

.stay-form-field {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
}

.stay-form-field label {
  font-size: 13px;
  font-weight: 700;
}

.stay-form-field select,
.stay-form-field textarea {
  border: 1px solid #bcc2c8;
  border-radius: 4px;
  font: inherit;
  padding: 9px 10px;
  width: 100%;
}

.stay-form-field textarea {
  min-height: 96px;
}

.stay-playbook-guidance {
  background: #f1f6ff;
  border: 1px solid #b8ccf2;
  border-radius: 4px;
  margin-bottom: 16px;
  padding: 12px;
}

.stay-playbook-guidance h4 {
  color: #6f91cc;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin: 0 0 6px;
  text-transform: uppercase;
}

.stay-playbook-guidance p {
  font-size: 13px;
  line-height: 1.35;
  margin: 0;
}

.stay-error {
  background: #fff2f2;
  border: 1px solid #e0b4b4;
  border-radius: 4px;
  color: #873230;
  font-size: 14px;
  font-weight: 700;
  margin: 0 0 12px;
  padding: 10px 12px;
}

.stay-booking-table-wrap {
  overflow-x: auto;
}

.stay-booking-table {
  border-collapse: collapse;
  min-width: 900px;
  text-align: left;
  width: 100%;
}

.stay-booking-table th,
.stay-booking-table td {
  border-bottom: 1px solid #e4e4e4;
  padding: 12px 10px;
  vertical-align: top;
}

.stay-booking-table th {
  color: #6b6f76;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.stay-booking-table td {
  font-size: 14px;
}

@media (max-width: 980px) {
  .stay-page-grid,
  .stay-hero__facts {
    grid-template-columns: 1fr;
  }

  .stay-hero__title-row {
    display: grid;
  }
}
