/* HFRC Daily Agenda v0.1.2 */

.hfrc-da {
  --da-ink: #0b0f1a;
  --da-muted: rgba(11, 15, 26, 0.7);
  --da-hair: rgba(11, 15, 26, 0.13);
  --da-panel: rgba(255, 255, 255, 0.98);
  --da-shadow: 0 0.9rem 2.2rem rgba(11, 15, 26, 0.08);
  --da-purple: #662e91;
  --da-purple-soft: rgba(102, 46, 145, 0.08);
  --da-green: #2f7a4b;
  --da-summer: #2a6f96;
  --da-summer-soft: #e5f7ff;

  color: var(--da-ink);
  font-family: Figtree, sans-serif;
}

.hfrc-da,
.hfrc-da * {
  box-sizing: border-box;
  min-width: 0;
}

.hfrc-da__shell {
  width: 100%;
  padding: 1rem 1.15rem 1.2rem;
  border: 0.0625rem solid rgba(102, 46, 145, 0.28);
  border-radius: 0.95rem;
  background: var(--da-panel);
  box-shadow: var(--da-shadow);
}

.hfrc-da__header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 1rem 1.6rem;
  padding: 0.35rem 0 1.15rem;
  border-bottom: 0.0625rem solid var(--da-hair);
}

.hfrc-da__headerMain,
.hfrc-da__headerSide {
  display: grid;
  gap: 0.28rem;
}

.hfrc-da__headerSide {
  justify-items: end;
  text-align: right;
}

.hfrc-da__eyebrow,
.hfrc-da__sectionLabel {
  margin: 0;
  font-size: 0.74rem;
  line-height: 1.1;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 800;
  color: rgba(11, 15, 26, 0.52);
}

.hfrc-da__date {
  margin: 0;
  font-size: clamp(2.05rem, 5vw, 2.8rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
  font-weight: 800;
  color: rgba(11, 15, 26, 0.96);
}

.hfrc-da__stamp {
  margin: 0;
  font-size: 1rem;
  line-height: 1.25;
  font-weight: 700;
  color: rgba(11, 15, 26, 0.92);
}

.hfrc-da__hours,
.hfrc-da__agenda {
  padding-top: 1.1rem;
}

.hfrc-da__hoursChips {
  display: grid;
  gap: 0.7rem;
  margin-top: 0.85rem;
}

.hfrc-da__hoursItem {
  display: grid;
  grid-template-columns: 0.22rem minmax(0, 1fr);
  align-items: stretch;
  column-gap: 0.85rem;
}

.hfrc-da__hoursBar {
  display: block;
  border-radius: 999px;
  background: rgba(102, 46, 145, 0.28);
}

.hfrc-da__hoursBody {
  display: grid;
  gap: 0.2rem;
}

.hfrc-da__hoursTime {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.18;
  letter-spacing: -0.015em;
  font-weight: 800;
  color: rgba(11, 15, 26, 0.94);
}

.hfrc-da__hoursLoc,
.hfrc-da__hoursNote {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.35;
  font-weight: 500;
  color: var(--da-muted);
}

.hfrc-da__list {
  display: grid;
  gap: 0;
  margin-top: 0.7rem;
}

.hfrc-da__row {
  display: grid;
  grid-template-columns: 8.4rem minmax(0, 1fr);
  gap: 1rem 1.1rem;
  padding: 1rem 0;
}

.hfrc-da__row + .hfrc-da__row {
  border-top: 0.0625rem solid var(--da-hair);
}

.hfrc-da__row--summer {
  margin-top: 0.55rem;
  padding: 0.95rem 1rem;
  border: 0.0625rem solid rgba(42, 111, 150, 0.22);
  border-radius: 0.95rem;
  background: var(--da-summer-soft);
}

.hfrc-da__row + .hfrc-da__row.hfrc-da__row--summer {
  border-top-color: rgba(42, 111, 150, 0.22);
}

.hfrc-da__row--summer + .hfrc-da__row {
  border-top: 0.0625rem solid var(--da-hair);
}

.hfrc-da__rowTime {
  white-space: pre-line;
  font-size: 0.96rem;
  line-height: 1.15;
  letter-spacing: -0.015em;
  font-weight: 800;
  color: rgba(11, 15, 26, 0.94);
}

.hfrc-da__rowBody {
  display: grid;
  gap: 0.32rem;
}

.hfrc-da__itemLabel {
  position: relative;
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 1.45rem;
  margin: 0;
  padding: 0.12rem 0.54rem 0.12rem 0.72rem;
  background: var(--da-purple-soft);
  font-size: 0.72rem;
  line-height: 1.1;
  font-weight: 600;
  color: rgba(11, 15, 26, 0.88);
}

.hfrc-da__itemLabel::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0.2rem;
  background: var(--da-purple);
}

.hfrc-da__itemLabel--summer {
  background: rgba(255, 255, 255, 0.48);
}

.hfrc-da__itemLabel--summer::before {
  background: var(--da-summer);
}

.hfrc-da__itemHeadline {
  margin: 0;
  font-size: clamp(1.02rem, 2vw, 1.14rem);
  line-height: 1.22;
  letter-spacing: -0.015em;
  font-weight: 600;
  color: rgba(11, 15, 26, 0.97);
}

.hfrc-da__itemTitleLine {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.3;
  font-weight: 600;
  color: rgba(11, 15, 26, 0.58);
}

.hfrc-da__itemBody {
  display: grid;
  gap: 0.22rem;
}

.hfrc-da__itemBody p,
.hfrc-da__itemMeta {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.4;
  font-weight: 500;
  color: rgba(11, 15, 26, 0.84);
}

.hfrc-da__itemMeta {
  font-weight: 600;
  color: rgba(11, 15, 26, 0.78);
}

.hfrc-da__itemFacts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.38rem;
}

.hfrc-da__itemFact {
  display: inline-flex;
  align-items: center;
  min-height: 1.4rem;
  padding: 0.14rem 0.46rem;
  background: rgba(255, 255, 255, 0.5);
  font-size: 0.76rem;
  line-height: 1.1;
  font-weight: 700;
  color: rgba(11, 15, 26, 0.7);
}

.hfrc-da__empty,
.hfrc-da__error {
  margin: 0.7rem 0 0;
  font-size: 0.96rem;
  line-height: 1.38;
}

.hfrc-da__empty {
  color: rgba(11, 15, 26, 0.62);
  font-weight: 500;
}

.hfrc-da__error {
  color: #8f1f26;
  font-weight: 600;
}

@media (max-width: 700px) {
  .hfrc-da__shell {
    padding: 0.9rem 0.95rem 1rem;
  }

  .hfrc-da__header {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .hfrc-da__headerSide {
    justify-items: start;
    text-align: left;
  }

  .hfrc-da__row,
  .hfrc-da__row--summer {
    grid-template-columns: 1fr;
    gap: 0.55rem;
  }

  .hfrc-da__rowTime {
    font-size: 0.94rem;
  }

  .hfrc-da__itemHeadline {
    font-size: 1rem;
  }

  .hfrc-da__itemBody p,
  .hfrc-da__itemMeta,
  .hfrc-da__hoursLoc,
  .hfrc-da__hoursNote {
    font-size: 0.93rem;
  }
}
