.cafe-shifts-hero .page1_header-body p {
  max-width: 820px;
}

.cafe-page-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: minmax(0, 1.45fr) minmax(260px, 360px);
}

.cafe-page-grid--single {
  grid-template-columns: 1fr;
}

.cafe-action-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cafe-action-card {
  background: #f5fafc;
  border: 1px solid #d8e4ef;
  border-radius: 16px;
  padding: 18px;
}

.cafe-action-card h4 {
  margin-bottom: 8px;
  margin-top: 0;
}

.cafe-action-card .cafe-button {
  box-sizing: border-box;
  min-height: 42px;
  padding-bottom: 11px;
  padding-top: 11px;
}

.cafe-action-button-row {
  margin-bottom: 0;
}

.cafe-form {
  display: grid;
  gap: 16px;
}

.cafe-form-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cafe-form-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.cafe-form-field label {
  color: #20364c;
  font-weight: 700;
}

.cafe-form-field input,
.cafe-form-field select,
.cafe-form-field textarea {
  background: #fff;
  border: 1px solid #b9ccda;
  border-radius: 8px;
  box-sizing: border-box;
  color: #20364c;
  font: inherit;
  line-height: 1.4;
  min-height: 42px;
  padding: 9px 11px;
  width: 100%;
}

.cafe-form-field textarea {
  min-height: 96px;
  resize: vertical;
}

.cafe-form-field--wide {
  grid-column: 1 / -1;
}

.cafe-checkbox-list {
  display: grid;
  gap: 10px;
  margin-top: 4px;
}

.cafe-checkbox-row {
  align-items: flex-start;
  background: #f7fbfd;
  border: 1px solid #d8e4ef;
  border-radius: 8px;
  display: grid;
  gap: 10px;
  grid-template-columns: auto 1fr;
  padding: 12px;
}

.cafe-checkbox-row input {
  margin-top: 4px;
}

.cafe-button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.cafe-button {
  background: #1f7ea7;
  border: 0;
  border-radius: 8px;
  color: #fff;
  cursor: pointer;
  display: inline-block;
  font-weight: 700;
  line-height: 1.2;
  min-height: 42px;
  padding: 12px 18px;
  text-align: center;
  text-decoration: none;
}

.cafe-button:hover,
.cafe-button:focus {
  background: #155e81;
  color: #fff;
  text-decoration: none;
}

.cafe-button--secondary {
  background: #537084;
}

.cafe-button--secondary:hover,
.cafe-button--secondary:focus {
  background: #3d5668;
}

.cafe-status-list {
  display: grid;
  gap: 12px;
}

.cafe-status-item {
  background: #eff6fb;
  border-radius: 8px;
  padding: 12px;
}

.cafe-status-item strong {
  color: #20364c;
}

.cafe-shift-table {
  border-collapse: collapse;
  width: 100%;
}

.cafe-shift-table th,
.cafe-shift-table td {
  border-bottom: 1px solid #d8e4ef;
  padding: 10px;
  text-align: left;
  vertical-align: top;
}

.cafe-shift-table th {
  color: #20364c;
  font-weight: 700;
}

.cafe-clock-panel {
  align-items: center;
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 280px);
}

.cafe-clock-time {
  background: #eff6fb;
  border-radius: 16px;
  color: #20364c;
  font-size: 28px;
  font-weight: 700;
  padding: 22px;
  text-align: center;
}

@media only screen and (max-width: 767px) {
  .cafe-page-grid,
  .cafe-action-grid,
  .cafe-form-grid,
  .cafe-clock-panel {
    grid-template-columns: 1fr;
  }

  .cafe-button-row {
    flex-direction: column;
  }

  .cafe-button {
    width: 100%;
  }

  .cafe-shift-table,
  .cafe-shift-table tbody,
  .cafe-shift-table tr,
  .cafe-shift-table th,
  .cafe-shift-table td {
    display: block;
  }

  .cafe-shift-table thead {
    display: none;
  }

  .cafe-shift-table tr {
    border: 1px solid #d8e4ef;
    border-radius: 8px;
    margin-bottom: 12px;
    padding: 8px;
  }

  .cafe-shift-table td {
    border-bottom: 0;
    padding: 6px;
  }
}
