.lifeos-brief {
  --brief-ink: #142943;
  --brief-navy: #102742;
  --brief-gold: #d9be87;
  --brief-line: #dbc99e;
  --brief-paper: #fcfaf4;
  color: var(--brief-ink);
}

.lifeos-brief-page { display: grid; gap: clamp(.85rem, 2.1vw, 1.45rem); min-width: 0; padding-bottom: 2rem; }

#root .lifeos-brief-page > :first-child {
  position: relative;
  margin-inline: 0;
  overflow: hidden;
  padding: clamp(1.25rem, 4vw, 3.25rem);
  border: 1px solid var(--brief-gold);
  border-radius: clamp(1.3rem, 2.5vw, 2.1rem);
  background: linear-gradient(111deg, #0a2039 5%, #13314ef5 57%, #163956ba 100%), url("/assets/lifeos-hero-today.jpg") center 50% / cover;
  box-shadow: 0 18px 44px #1027422b, inset 0 0 0 1px #f2daaa1c;
  color: #fffaf1;
}

#root .lifeos-brief-page h1 { margin-bottom: .35rem; font-size: clamp(2.8rem, 7vw, 5.6rem); line-height: .92; color: #fffaf1; }
#root .lifeos-brief-page > :first-child img { display: none; }
#root .lifeos-brief-page > :first-child [class*="tracking-widest"] { color: #ebd3a1; letter-spacing: .14em; }
#root .lifeos-brief-page > :first-child p { color: #f9eedb; }
#root .lifeos-brief-page > :first-child button {
  white-space: nowrap;
  border: 1px solid #f4dfae;
  background: linear-gradient(115deg, #faedcb, #d7b479);
  color: #132540;
  box-shadow: 0 6px 18px #06172a4d;
}
#root .lifeos-brief-page > :first-child button:focus-visible { outline: 2px solid #fff1cc; outline-offset: 4px; }

.lifeos-brief-source { margin: 0; color: #445a71; font-size: .95rem; padding-inline: .15rem; }
.lifeos-brief .lifeos-brief-schedule, .lifeos-brief-page > .space-y-6 > section {
  padding: clamp(.9rem, 2.4vw, 1.5rem);
  border: 1px solid var(--brief-line);
  border-radius: 1.2rem;
  background: linear-gradient(145deg, #fffdf7, #f5ebd82e), var(--brief-paper);
  box-shadow: 0 7px 22px #10274210;
  color: var(--brief-ink);
}
#root .lifeos-brief-page :is(h2, h3) { color: var(--brief-ink); }
#root .lifeos-brief-schedule h2 { font-size: clamp(1.65rem, 3vw, 2.35rem); line-height: 1; }
#root .lifeos-brief-schedule h3 { font-family: var(--lifeos-serif, Georgia, serif); font-size: 1.6rem; font-weight: 400; line-height: 1.1; }
.lifeos-brief-schedule > div:first-child { margin-bottom: .65rem; }
.lifeos-brief-schedule a { color: #324e71; text-decoration-color: #907038; }
.lifeos-brief-days { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; }
.lifeos-brief-tomorrow { padding-top: .8rem; border-top: 1px solid var(--brief-line); }
.lifeos-brief-agenda { display: grid; list-style: none; margin: 0; padding: 0; }
.lifeos-brief-event {
  display: grid;
  grid-template-columns: 6rem minmax(0, 1fr);
  align-items: baseline;
  column-gap: .75rem;
  padding: .58rem .1rem;
  border-top: 1px solid #ded5c0;
}
.lifeos-brief-time { font-size: .89rem; color: #4d6077; font-variant-numeric: tabular-nums; }
.lifeos-brief-event span:last-child { overflow-wrap: anywhere; }
.lifeos-brief-page > .space-y-6 > section > h2 { font-size: 1.65rem; line-height: 1.1; text-transform: none; }
@media (min-width: 900px) {
  .lifeos-brief-days { grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); }
  .lifeos-brief-tomorrow { padding: 0 0 0 1.15rem; border-top: 0; border-left: 1px solid var(--brief-line); }
}
@media (max-width: 380px) {
  .lifeos-brief-event { grid-template-columns: 4.85rem minmax(0, 1fr); column-gap: .45rem; }
}
