.ch-side-summary {
  margin: 12px 14px 4px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 18px;
  background:
    radial-gradient(circle at 90% 0, rgba(0,166,90,.20), transparent 38%),
    linear-gradient(145deg, rgba(60,141,188,.22), rgba(255,255,255,.045));
  box-shadow: inset 0 1px rgba(255,255,255,.07), 0 12px 26px rgba(0,0,0,.14);
  color: #fff;
}

.ch-side-summary__date {
  position: relative;
  min-height: 92px;
  padding: 16px 88px 15px 17px;
  border-bottom: 1px solid rgba(255,255,255,.09);
}

.ch-side-summary__day,
.ch-side-summary__full-date,
.ch-side-summary__time { display: block; }

.ch-side-summary__day {
  margin-bottom: 2px;
  color: #9ed7f1;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.ch-side-summary__full-date {
  max-width: 205px;
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.22;
}

.ch-side-summary__time {
  position: absolute;
  top: 19px;
  right: 16px;
  color: rgba(255,255,255,.92);
  font-size: 24px;
  font-weight: 300;
  letter-spacing: -.04em;
}

.ch-side-weather { padding: 15px; }
.ch-side-weather__current { display: flex; align-items: center; gap: 12px; }
.ch-side-weather__icon {
  width: 54px;
  min-width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: rgba(255,255,255,.09);
  font-size: 30px;
}

.ch-side-weather__info { min-width: 0; }
.ch-side-weather__info > strong {
  display: block;
  color: #fff;
  font-size: 25px;
  font-weight: 700;
  line-height: 1;
}
.ch-side-weather__info > span {
  display: block;
  margin-top: 4px;
  overflow: hidden;
  color: rgba(239,247,251,.82);
  font-size: 12px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ch-side-weather__info > small {
  display: block;
  margin-top: 3px;
  color: rgba(213,230,238,.55);
  font-size: 10px;
}
.ch-side-weather__info > small .fa { margin-right: 3px; }

.ch-side-weather__forecast {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
}

.ch-side-weather__day {
  min-width: 0;
  padding: 8px 3px 7px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 11px;
  background: rgba(0,0,0,.13);
  text-align: center;
}
.ch-side-weather__day.is-today {
  border-color: rgba(110,193,232,.24);
  background: rgba(60,141,188,.16);
}
.ch-side-weather__day > span {
  color: rgba(230,240,245,.66);
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
}
.ch-side-weather__day > b { font-size: 17px; font-weight: 400; }
.ch-side-weather__day > small { color: rgba(226,238,244,.60); font-size: 10px; white-space: nowrap; }
.ch-side-weather__day > small strong { color: #fff; font-weight: 800; }

.ch-side-weather__retry {
  width: 100%;
  min-height: 34px;
  margin-top: 10px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 10px;
  background: rgba(255,255,255,.07);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
}
.ch-side-weather__retry:hover { background: rgba(255,255,255,.13); }

@media (max-width: 420px) {
  .ch-side-summary { margin-right: 10px; margin-left: 10px; }
  .ch-side-summary__date { padding-left: 14px; }
  .ch-side-weather { padding: 13px; }
}
.ch-control-sidebar #control-sidebar-today-tab .ch-side-summary {
  margin: 0;
}

/* Noticias compactas inspiradas en Magic. */
.ch-side-news {
  margin-top: 12px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 17px;
  background: rgba(255,255,255,.035);
  color: #fff;
}
.ch-side-news__header {
  min-height: 54px;
  padding: 11px 12px 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.ch-side-news__header span,
.ch-side-news__header strong { display: block; }
.ch-side-news__header span { color: #8fc9e6; font-size: 9px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.ch-side-news__header strong { margin-top: 1px; font-size: 15px; font-weight: 800; }
.ch-side-news__header button,
.ch-side-news__controls button {
  width: 31px;
  min-width: 31px;
  height: 31px;
  padding: 0;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 9px;
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.78);
}
.ch-side-news__header button:hover,
.ch-side-news__controls button:hover { background: rgba(60,141,188,.22); color: #fff; }
.ch-side-news__header button.is-loading .fa { animation: ch-news-spin .75s linear infinite; }
@keyframes ch-news-spin { to { transform: rotate(360deg); } }

.ch-side-news__stage { position: relative; min-height: 108px; }
.ch-side-news__item {
  position: absolute;
  inset: 0;
  padding: 12px;
  display: flex;
  align-items: center;
  gap: 11px;
  visibility: hidden;
  opacity: 0;
  cursor: pointer;
  transition: opacity .18s ease;
}
.ch-side-news__item.is-active { visibility: visible; opacity: 1; }
.ch-side-news__item > img,
.ch-side-news__placeholder {
  width: 78px;
  min-width: 78px;
  height: 72px;
  border-radius: 12px;
  object-fit: cover;
  background: linear-gradient(135deg, rgba(60,141,188,.25), rgba(0,166,90,.14));
}
.ch-side-news__placeholder { display: grid; place-items: center; color: #a7d8ee; font-size: 22px; }
.ch-side-news__item > div:last-child { min-width: 0; }
.ch-side-news__item small { display: block; margin-bottom: 4px; color: #8fc9e6; font-size: 9px; font-weight: 800; text-transform: uppercase; }
.ch-side-news__item strong {
  display: -webkit-box;
  overflow: hidden;
  color: rgba(255,255,255,.92);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}
.ch-side-news__controls {
  min-height: 43px;
  padding: 6px 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-top: 1px solid rgba(255,255,255,.07);
}
.ch-side-news__controls button { width: 28px; min-width: 28px; height: 28px; }
.ch-side-news__dots { max-width: 145px; display: flex; justify-content: center; gap: 4px; overflow: hidden; }
.ch-side-news__dots button {
  width: 5px;
  min-width: 5px;
  height: 5px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.23);
}
.ch-side-news__dots button.is-active { width: 15px; border-radius: 999px; background: #62b4dc; }
.ch-side-news__empty { min-height: 108px; padding: 20px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; color: rgba(230,240,245,.60); text-align: center; font-size: 11px; }
.ch-side-news__empty .fa { font-size: 20px; }

/* Cumpleaños: cabecera, contador y estados claros. */
.ch-birthdays { color: #fff; }
.ch-birthdays__header {
  padding: 14px;
  display: flex;
  align-items: center;
  gap: 11px;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(60,141,188,.20), rgba(255,255,255,.04));
}
.ch-birthdays__icon,
.ch-birthdays__avatar {
  width: 42px;
  min-width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: rgba(60,141,188,.20);
  color: #a7d8ee;
  font-size: 16px;
}
.ch-birthdays__header > div { min-width: 0; flex: 1; }
.ch-birthdays__header small,
.ch-birthdays__header strong { display: block; }
.ch-birthdays__header small { color: rgba(222,235,242,.58); font-size: 10px; font-weight: 700; }
.ch-birthdays__header strong { margin-top: 2px; font-size: 15px; font-weight: 800; }
.ch-birthdays__header > b {
  min-width: 30px;
  height: 30px;
  padding: 0 8px;
  border-radius: 10px;
  background: rgba(0,166,90,.18);
  color: #bcebd3;
  font-size: 12px;
  line-height: 30px;
  text-align: center;
}
.ch-birthdays__empty {
  min-height: 210px;
  padding: 28px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.ch-birthdays__empty > span {
  width: 58px;
  height: 58px;
  margin-bottom: 12px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: rgba(255,255,255,.055);
  color: #83c7e7;
  font-size: 22px;
}
.ch-birthdays__empty strong { font-size: 14px; }
.ch-birthdays__empty small { max-width: 210px; margin-top: 5px; color: rgba(220,233,240,.52); font-size: 11px; }
.ch-birthdays__list { margin: 10px 0 0; padding: 0; list-style: none; }
.ch-birthdays__list li {
  margin-bottom: 7px;
  padding: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 14px;
  background: rgba(255,255,255,.035);
}
.ch-birthdays__avatar { width: 38px; min-width: 38px; height: 38px; border-radius: 12px; background: rgba(0,166,90,.13); color: #9fe2be; font-size: 13px; }
.ch-birthdays__list li > div { min-width: 0; }
.ch-birthdays__list strong { display: block; overflow: hidden; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.ch-birthdays__list small { display: block; margin-top: 3px; color: rgba(221,234,241,.55); font-size: 10px; }

/* Noticias en formato editorial: imagen protagonista arriba, fuente y título debajo. */
.ch-side-news__stage {
  min-height: 252px;
}

.ch-side-news__item {
  padding: 11px;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  gap: 10px;
}

.ch-side-news__item > img,
.ch-side-news__item > .ch-side-news__placeholder {
  width: 100%;
  min-width: 100%;
  height: 164px;
  flex: 0 0 164px;
  border-radius: 13px;
  object-fit: cover;
  object-position: center;
  box-shadow: 0 8px 20px rgba(0,0,0,.18);
}

.ch-side-news__item > .ch-side-news__placeholder {
  font-size: 30px;
}

.ch-side-news__item > div:last-child {
  width: 100%;
  padding: 0 3px 2px;
}

.ch-side-news__item small {
  margin-bottom: 5px;
  color: #8fc9e6;
  font-size: 9px;
  letter-spacing: .08em;
}

.ch-side-news__item strong {
  font-size: 13px;
  line-height: 1.32;
  -webkit-line-clamp: 3;
}

@media (max-width: 380px) {
  .ch-side-news__stage { min-height: 232px; }
  .ch-side-news__item > img,
  .ch-side-news__item > .ch-side-news__placeholder {
    height: 145px;
    flex-basis: 145px;
  }
}
