:root {
  color-scheme: light;
  font-family: Arial, Helvetica, sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 800px;
  height: 480px;
  margin: 0;
  overflow: hidden;
  background: #fff;
  color: #000;
}

body {
  padding: 6px;
  text-rendering: geometricPrecision;
}

.dashboard {
  display: grid;
  grid-template-rows: 72px minmax(0, 1fr) 76px;
  width: 100%;
  height: 100%;
  border: 4px solid #000;
  background: #fff;
}

.date-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px 18px;
  border-bottom: 4px solid #000;
  text-align: center;
}

.date-banner h1 {
  margin: 0;
  font-size: 34px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.5px;
  white-space: nowrap;
}

.care-team {
  display: grid;
  grid-template-columns: 55fr 45fr;
  min-height: 0;
}

.role-panel {
  min-width: 0;
  padding: 8px 14px 10px;
}

.role-panel + .role-panel {
  border-left: 4px solid #000;
}

.shift-list {
  display: grid;
  grid-auto-rows: 1fr;
  height: 100%;
  min-height: 0;
}

.shift {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 0;
}

.shift + .shift {
  border-top: 2px solid #000;
}

.shift-time,
.names {
  margin: 0;
  white-space: nowrap;
}

.shift-time {
  font-size: 17px;
  line-height: 1.15;
  font-weight: 600;
}

.shift-time strong {
  font-weight: 800;
}

.shift-separator {
  display: inline-block;
  margin: 0 3px;
  font-size: 22px;
  line-height: 0;
  font-weight: 900;
  vertical-align: -2px;
}

.names {
  margin-top: 3px;
  font-size: 27px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.3px;
}

.medication-banner {
  display: grid;
  grid-template-columns: 230px 1fr;
  align-items: center;
  border-top: 4px solid #000;
  background: #000;
  color: #fff;
}

.medication-banner h2 {
  margin: 0;
  padding: 0 14px;
  font-size: 21px;
  line-height: 1.05;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.medication-banner p {
  display: flex;
  align-items: center;
  justify-content: space-around;
  height: 100%;
  margin: 0;
  border-left: 3px solid #fff;
  padding: 0 10px;
  font-size: 29px;
  line-height: 1;
  font-weight: 800;
  white-space: nowrap;
}

.time-separator {
  font-size: 18px;
}

@media print {
  @page {
    size: 800px 480px;
    margin: 0;
  }
}
