.dashboard-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(245px, 1fr);
  align-items: center;
  gap: 32px;
  padding: 38px 40px;
  border-radius: 20px;
  background: var(--pine);
  color: #fff;
  overflow: hidden;
}

.dashboard-hero-welcome,
.dashboard-hero-quote {
  min-width: 0;
}

.dashboard-hero time {
  color: #d6e7f2;
  font-size: 15px;
}

.dashboard-hero h1 {
  margin: 8px 0 2px;
  color: #fff;
  font-size: clamp(36px, 5vw, 58px);
  line-height: 1.12;
  overflow-wrap: anywhere;
}

.dashboard-hero .dashboard-shift-summary {
  margin: 10px 0 18px;
  color: #e4eff7;
  font-size: 18px;
}

.dashboard-hero-welcome button {
  color: #fff;
  background: transparent;
  border-color: #b3ccdd;
}

.dashboard-hero-welcome button:hover {
  background: var(--green);
}

.dashboard-hero-quote {
  padding: 22px 26px;
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
}

.dashboard-hero-quote h2 {
  margin: 0 0 10px;
  color: var(--green);
  font-size: 13px;
  font-weight: 700;
}

.dashboard-hero-quote blockquote {
  margin: 0;
  padding: 0;
  border: 0;
  font: 25px/1.3 Georgia, serif;
}

.dashboard-check-in-form {
  display: grid;
  grid-template-columns: minmax(150px, 180px) minmax(0, 1fr);
  gap: 12px 16px;
  align-items: start;
}

.dashboard-check-in-form > label {
  min-width: 0;
}

.dashboard-check-in-form textarea {
  min-height: 72px;
  height: 72px;
}

.dashboard-check-in-actions {
  grid-column: 1 / -1;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.dashboard-check-in-actions > button {
  min-height: 44px;
  margin: 0;
}

.dashboard-message-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.dashboard-message-header > h2 {
  margin: 0;
}

.dashboard-message-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.dashboard-message-toolbar > button {
  min-height: 44px;
  margin: 0;
}

@media (max-width: 800px) {
  .dashboard-hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
    padding: 24px;
  }

  .dashboard-hero-quote {
    padding: 16px 18px;
  }

  .dashboard-hero-quote blockquote {
    font-size: 21px;
  }
}

@media (max-width: 560px) {
  .dashboard-check-in-form {
    grid-template-columns: minmax(0, 1fr);
  }
}
