#root [data-lifeos-path="/today"] .lifeos-today-hero {
  position: relative;
  isolation: isolate;
  display: block;
  overflow: hidden;
  min-height: 0;
  padding: clamp(1rem, 2.15vw, 2rem) clamp(1rem, 3vw, 2.85rem);
  color: #fff7e6;
  background: linear-gradient(106deg, #101e33, #142b43 58%, #263e51);
  border: 1px solid #b99761;
  border-radius: 1.15rem;
  box-shadow: inset 0 1px #f1d5a557, 0 11px 25px #14294326;
}

#root [data-lifeos-path="/today"] .lifeos-today-hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 0 0 36%;
  background-image: linear-gradient(90deg, #13263b 0%, #13263be0 13%, #13263b3b 48%, #13263b12 76%, #13263b34), url("./lifeos-hero-today.jpg");
  background-position: center, center 50%;
  background-size: cover, max(108%, 52rem) auto;
  background-repeat: no-repeat;
  mask-image: linear-gradient(90deg, transparent, #000 20%);
}

.lifeos-today-hero-content {
  display: grid;
  justify-items: start;
  gap: clamp(.7rem, 1.2vw, 1rem);
}

.lifeos-today-hero-heading {
  display: flex;
  flex-flow: row wrap;
  align-items: baseline;
  column-gap: 1.25rem;
  row-gap: .4rem;
}

#root [data-lifeos-path="/today"] .lifeos-today-hero .lifeos-today-hero-heading h1 {
  margin: 0;
  font-size: clamp(3.1rem, 5vw, 5.15rem);
  line-height: .9;
}

#root [data-lifeos-path="/today"] .lifeos-today-hero .lifeos-today-hero-heading time {
  padding-inline-start: 1.25rem;
  border-inline-start: 1px solid #b997618c;
  color: #f1d8a5;
  font-size: clamp(.98rem, 1.4vw, 1.2rem);
  font-weight: 600;
  line-height: 1.25;
}

.lifeos-today-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .65rem .9rem;
  min-width: 0;
}

#root [data-lifeos-path="/today"] .lifeos-today-hero .lifeos-today-back {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  min-height: 1.65rem;
  color: #e6cf9f;
  font-size: .89rem;
  line-height: 1.2;
}

#root [data-lifeos-path="/today"] .lifeos-today-hero .lifeos-overview-switch {
  display: inline-flex;
  gap: .15rem;
  padding: .2rem;
  background: #0d1b2ed9;
  border: 1px solid #a7875699;
  border-radius: .7rem;
}

#root [data-lifeos-path="/today"] .lifeos-today-hero .lifeos-overview-switch button {
  min-height: 2.4rem;
  padding: .3rem .75rem;
  border: 1px solid transparent;
  border-radius: .46rem;
  color: #ede2cf;
  background: transparent;
  font-size: .9rem;
}

#root [data-lifeos-path="/today"] .lifeos-today-hero .lifeos-overview-switch button[aria-pressed="true"] {
  border-color: #f1d5a357;
  color: #fff3d8;
  background: #32475f;
}

#root [data-lifeos-path="/today"] .lifeos-today-hero .lifeos-today-briefing {
  display: inline-flex;
  min-height: 2.85rem;
  align-items: center;
  gap: .6rem;
  padding: .35rem .8rem .35rem 1rem;
  border: 1px solid #f4d7a2;
  border-radius: .7rem;
  color: #172740;
  background: linear-gradient(111deg, #f5e4bf, #d7b474);
  font-size: .94rem;
  font-weight: 700;
  text-decoration: none;
}

#root [data-lifeos-path="/today"] .lifeos-today-hero .lifeos-today-briefing:hover {
  background: #f8e8c2;
}

#root [data-lifeos-path="/today"] .lifeos-today-hero :is(.independent-hero-link, .lifeos-overview-switch button):focus-visible {
  outline: 2px solid #ffe4a8;
  outline-offset: 3px;
}

@media (max-width: 560px) {
  #root [data-lifeos-path="/today"] .lifeos-today-hero::before {
    inset-inline-start: 4%;
    opacity: .48;
    background-size: cover, max(108%, 56rem) auto;
    background-position: center, 48% center;
    mask-image: linear-gradient(90deg, transparent 8%, #000 72%);
  }

  .lifeos-today-hero-heading { flex-direction: column; }

  #root [data-lifeos-path="/today"] .lifeos-today-hero .lifeos-today-hero-heading time {
    padding-inline-start: 0;
    border-inline-start: 0;
  }
}

@media (pointer: coarse) {
  #root [data-lifeos-path="/today"] .lifeos-today-hero .lifeos-overview-switch button,
  #root [data-lifeos-path="/today"] .lifeos-today-hero .lifeos-today-back {
    min-height: 2.75rem;
  }
}
