.daily-briefing {
  --briefing-accent: #eb6255;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(260px, 0.68fr);
  gap: 0;
  margin: 22px 0;
  overflow: hidden;
  color: #061857;
  background: #fff;
  border: 1px solid #e7eaf2;
  border-radius: 26px;
  box-shadow: 0 18px 50px rgba(6, 24, 87, 0.09);
}

.daily-briefing::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 6px;
  height: 100%;
  content: "";
  background: var(--briefing-accent);
}

.daily-briefing-before {
  --briefing-accent: #5b74c9;
}

.daily-briefing-after {
  --briefing-accent: #8b91a4;
}

.daily-briefing-main {
  min-width: 0;
  padding: 30px 32px 29px 36px;
}

.daily-briefing-head {
  display: flex;
  gap: 17px;
  align-items: flex-start;
}

.daily-briefing-symbol {
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--briefing-accent);
  border-radius: 16px;
  box-shadow: 0 9px 22px color-mix(in srgb, var(--briefing-accent) 30%, transparent);
  font-size: 22px;
}

.daily-briefing-head h2 {
  margin: 4px 0 8px;
  color: #061857;
  font-size: clamp(25px, 3.2vw, 36px);
  letter-spacing: -0.045em;
  line-height: 1.05;
}

.daily-briefing-head p {
  max-width: 720px;
  margin: 0;
  color: #73798b;
  font-size: 14px;
  line-height: 1.65;
}

.daily-schedule-head {
  margin: 26px 0 10px 65px;
  display: flex;
  justify-content: space-between;
  gap: 15px;
  align-items: center;
}

.daily-schedule-head strong {
  color: #061857;
  font-size: 13px;
}

.daily-schedule-head span {
  color: #9a9faf;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.daily-schedule-list {
  margin-left: 65px;
  overflow: hidden;
  border: 1px solid #eceef4;
  border-radius: 17px;
}

.daily-event {
  display: grid;
  grid-template-columns: 62px 35px minmax(0, 1fr) 16px;
  gap: 12px;
  align-items: center;
  min-height: 65px;
  padding: 10px 14px;
  color: inherit;
  text-decoration: none;
  background: #fff;
  border-bottom: 1px solid #eff1f6;
  transition: background 160ms ease, transform 160ms ease;
}

.daily-event:last-child {
  border-bottom: 0;
}

.daily-event:hover {
  background: #fafbfe;
}

.daily-event-time {
  color: #061857;
  font-size: 12px;
  font-weight: 800;
}

.daily-event-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: #eb6255;
  background: #fff1ef;
  border-radius: 11px;
  font-weight: 800;
}

.daily-event-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.daily-event-copy small {
  color: #eb6255;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.daily-event-copy strong {
  overflow: hidden;
  color: #061857;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.daily-event-copy span {
  overflow: hidden;
  color: #8a90a1;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.daily-event-arrow {
  color: #b7bac6;
  font-size: 24px;
}

.daily-more-link {
  margin: 11px 0 0 65px;
  display: inline-block;
  color: #eb6255;
  font-size: 11px;
  font-weight: 750;
  text-decoration: none;
}

.daily-schedule-empty {
  margin: 12px 0 0 65px;
  padding: 19px;
  display: grid;
  grid-template-columns: 35px minmax(0, 1fr) auto;
  gap: 13px;
  align-items: center;
  color: #7e8495;
  background: #f8f9fc;
  border: 1px dashed #d9ddea;
  border-radius: 17px;
}

.daily-schedule-empty > span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: #eb6255;
  background: #fff;
  border-radius: 10px;
  font-size: 18px;
}

.daily-schedule-empty p {
  margin: 0;
  font-size: 12px;
  line-height: 1.5;
}

.daily-schedule-empty a {
  color: #061857;
  font-size: 11px;
  font-weight: 800;
  text-decoration: none;
}

.daily-briefing-aside {
  min-width: 0;
  display: flex;
  padding: 26px;
  color: #fff;
  background:
    radial-gradient(circle at 100% 0, rgba(235, 98, 85, 0.28), transparent 13rem),
    linear-gradient(145deg, #061857, #142c70);
}

.daily-alert,
.tomorrow-preview,
.daily-countdown {
  width: 100%;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.daily-alert-icon,
.tomorrow-icon {
  width: 42px;
  height: 42px;
  margin-bottom: 17px;
  display: grid;
  place-items: center;
  color: #061857;
  background: #ffb5ae;
  border-radius: 14px;
  font-size: 20px;
}

.daily-alert small,
.tomorrow-preview > small {
  color: #ff9f96;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.daily-alert h3 {
  margin: 6px 0 10px;
  color: #fff;
  font-size: 22px;
  line-height: 1.12;
}

.daily-alert p,
.tomorrow-preview > p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  line-height: 1.65;
}

.tomorrow-event {
  padding: 11px 0;
  display: grid;
  grid-template-columns: 45px minmax(0, 1fr);
  gap: 8px;
  align-items: start;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.tomorrow-event:first-of-type {
  margin-top: 9px;
}

.tomorrow-event time {
  color: #ff9f96;
  font-size: 11px;
  font-weight: 800;
}

.tomorrow-event span {
  color: #fff;
  font-size: 12px;
  line-height: 1.35;
}

.daily-countdown {
  align-items: center;
  text-align: center;
}

.daily-countdown strong {
  color: #ff9187;
  font-size: clamp(64px, 8vw, 96px);
  letter-spacing: -0.08em;
  line-height: 0.85;
}

.daily-countdown span {
  margin-top: 13px;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.daily-countdown p {
  margin: 7px 0 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
}

.daily-finished-actions {
  margin: 26px 0 0 65px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

@media (max-width: 920px) {
  .daily-briefing {
    grid-template-columns: 1fr;
  }

  .daily-briefing-aside {
    min-height: 205px;
  }

  .daily-alert,
  .tomorrow-preview {
    max-width: 620px;
  }
}

@media (max-width: 620px) {
  .daily-briefing {
    margin: 16px 0 20px;
    border-radius: 22px;
  }

  .daily-briefing-main {
    padding: 24px 18px 23px 23px;
  }

  .daily-briefing-head {
    gap: 12px;
  }

  .daily-briefing-symbol {
    flex-basis: 42px;
    width: 42px;
    height: 42px;
    border-radius: 13px;
  }

  .daily-briefing-head h2 {
    font-size: 26px;
  }

  .daily-schedule-head,
  .daily-schedule-list,
  .daily-more-link,
  .daily-schedule-empty,
  .daily-finished-actions {
    margin-left: 0;
  }

  .daily-schedule-head {
    margin-top: 24px;
  }

  .daily-event {
    grid-template-columns: 46px 32px minmax(0, 1fr);
    gap: 8px;
    padding: 10px;
  }

  .daily-event-arrow {
    display: none;
  }

  .daily-event-copy strong {
    white-space: normal;
  }

  .daily-schedule-empty {
    grid-template-columns: 35px minmax(0, 1fr);
  }

  .daily-schedule-empty a {
    grid-column: 2;
  }

  .daily-briefing-aside {
    min-height: 185px;
    padding: 25px 23px;
  }

  .daily-countdown strong {
    font-size: 70px;
  }
}
