.cf-profile-hero {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 24px;
  background: rgba(255, 255, 255, .98);
  color: var(--cf-navy);
  box-shadow: 0 28px 70px rgba(5, 18, 47, .28);
}

.cf-profile-hero__head,
.cf-profile-person,
.cf-profile-contact,
.cf-profile-timeline-row,
.cf-profile-timeline-demo__item {
  display: flex;
  align-items: center;
}

.cf-profile-hero__head { gap: 14px; padding: 22px; border-bottom: 1px solid var(--cf-line); }
.cf-profile-hero__head > i,
.cf-profile-person > i {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: linear-gradient(145deg, var(--cf-cyan), var(--cf-cyan-dark));
  color: #fff;
  font-style: normal;
  font-weight: 800;
}
.cf-profile-hero__head p { display: grid; margin: 0; line-height: 1.25; }
.cf-profile-hero__head small, .cf-profile-hero__head span { color: var(--cf-muted); font-size: .76rem; }
.cf-profile-hero__head b { margin-left: auto; border-radius: 999px; background: #eaf8f1; color: #14734c; padding: 7px 11px; font-size: .76rem; }
.cf-profile-hero__stats { display: grid; grid-template-columns: repeat(3, 1fr); padding: 18px 22px; gap: 12px; }
.cf-profile-hero__stats > div { display: grid; gap: 2px; padding: 13px; border-radius: 14px; background: var(--cf-bg); }
.cf-profile-hero__stats small, .cf-profile-hero__stats span { color: var(--cf-muted); font-size: .72rem; }
.cf-profile-hero__stats strong { font-size: 1.15rem; }
.cf-profile-hero__activity { padding: 2px 22px 18px; }
.cf-profile-hero__activity > small { display: block; margin-bottom: 8px; color: var(--cf-muted); font-weight: 700; }
.cf-profile-hero__activity > div { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-top: 1px solid var(--cf-line); }
.cf-profile-hero__activity span { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 10px; }
.cf-profile-hero__activity span.green { background: #eaf8f1; color: #14734c; }
.cf-profile-hero__activity span.gold { background: #fff5dd; color: #986d0c; }
.cf-profile-hero__activity span.blue { background: #e9f5ff; color: #176fa5; }
.cf-profile-hero__activity p { display: grid; margin: 0; line-height: 1.2; }
.cf-profile-hero__activity p small { color: var(--cf-muted); }
.cf-profile-hero > a { display: block; padding: 14px 22px; background: var(--cf-navy); color: #fff; font-weight: 750; text-decoration: none; }

.cf-profile-overview { background: #fff; }
.cf-profile-dashboard { display: grid; grid-template-columns: 210px 1fr; overflow: hidden; border: 1px solid var(--cf-line); border-radius: 24px; background: #fff; box-shadow: var(--cf-shadow); }
.cf-profile-dashboard > aside { padding: 22px 16px; background: var(--cf-navy); color: #fff; }
.cf-profile-person { flex-direction: column; text-align: center; gap: 4px; padding-bottom: 22px; border-bottom: 1px solid rgba(255,255,255,.12); }
.cf-profile-person small, .cf-profile-dashboard > aside > span { color: rgba(255,255,255,.62); font-size: .76rem; }
.cf-profile-dashboard aside nav { display: grid; gap: 5px; margin: 20px 0 28px; }
.cf-profile-dashboard aside nav a { padding: 10px 12px; border-radius: 10px; color: rgba(255,255,255,.72); font-size: .86rem; }
.cf-profile-dashboard aside nav a.active { background: rgba(255,255,255,.12); color: #fff; font-weight: 700; }
.cf-profile-dashboard > main { min-width: 0; padding: 26px; background: #f7f9fc; }
.cf-profile-dashboard__top { display: flex; justify-content: space-between; align-items: center; gap: 18px; }
.cf-profile-dashboard__top small { color: var(--cf-cyan-dark); font-weight: 750; }
.cf-profile-dashboard__top h3 { margin: 3px 0 0; }
.cf-profile-dashboard__top > div:last-child { display: flex; align-items: center; gap: 10px; }
.cf-profile-dashboard__top span { padding: 7px 10px; border-radius: 999px; background: #eaf8f1; color: #14734c; font-size: .78rem; font-weight: 700; }
.cf-profile-dashboard__top button { border: 1px solid var(--cf-line); border-radius: 10px; background: #fff; padding: 7px 10px; }
.cf-profile-dashboard__metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 22px 0; }
.cf-profile-dashboard__metrics > div { display: grid; padding: 14px; border: 1px solid var(--cf-line); border-radius: 14px; background: #fff; }
.cf-profile-dashboard__metrics small, .cf-profile-dashboard__metrics span { color: var(--cf-muted); font-size: .72rem; }
.cf-profile-dashboard__metrics strong { margin: 3px 0; font-size: 1.2rem; }
.cf-profile-panel { height: 100%; padding: 18px; border: 1px solid var(--cf-line); border-radius: 16px; background: #fff; }
.cf-profile-panel__head { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.cf-profile-panel__head span { color: var(--cf-cyan-dark); font-size: .76rem; font-weight: 700; }
.cf-profile-timeline-row { gap: 10px; padding: 12px 0; border-top: 1px solid var(--cf-line); }
.cf-profile-timeline-row i, .cf-profile-timeline-demo__item i { display: grid; flex: 0 0 auto; place-items: center; width: 32px; height: 32px; border-radius: 10px; font-style: normal; }
.cf-profile-timeline-row i.green, .cf-profile-timeline-demo__item i.green { background: #eaf8f1; color: #14734c; }
.cf-profile-timeline-row i.gold, .cf-profile-timeline-demo__item i.gold { background: #fff5dd; color: #986d0c; }
.cf-profile-timeline-row i.blue, .cf-profile-timeline-demo__item i.blue { background: #e9f5ff; color: #176fa5; }
.cf-profile-timeline-row p, .cf-profile-contact p { display: grid; flex: 1; margin: 0; line-height: 1.3; }
.cf-profile-timeline-row small, .cf-profile-contact small { color: var(--cf-muted); }
.cf-profile-timeline-row b { color: var(--cf-muted); font-size: .72rem; }
.cf-profile-contact { gap: 10px; padding: 12px 0; border-top: 1px solid var(--cf-line); }
.cf-profile-contact > i { display: grid; flex: 0 0 auto; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: var(--cf-bg); color: var(--cf-navy); font-style: normal; font-weight: 800; }
.cf-profile-contact a { color: var(--cf-cyan-dark); font-size: .78rem; }

.cf-profile-domains { background: var(--cf-bg); }
.cf-profile-domains article { height: 100%; padding: 25px; border: 1px solid var(--cf-line); border-radius: 20px; background: #fff; box-shadow: 0 12px 30px rgba(12, 31, 65, .05); }
.cf-profile-domains article > span { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 18px; border-radius: 14px; font-size: 1.15rem; font-weight: 800; }
.cf-profile-domains span.contact { background: #e9f5ff; color: #176fa5; }
.cf-profile-domains span.attendance { background: #eaf8f1; color: #14734c; }
.cf-profile-domains span.purchase { background: #fff5dd; color: #986d0c; }
.cf-profile-domains span.finance { background: #f3eefe; color: #6941c6; }
.cf-profile-domains span.document { background: #e9f7f7; color: #147d83; }
.cf-profile-domains span.settings { background: #eef1f6; color: #4c5c74; }
.cf-profile-domains h3 { font-size: 1.08rem; }
.cf-profile-domains p { margin: 0; color: var(--cf-muted); }

.cf-profile-timeline { background: var(--cf-navy); color: #fff; }
.cf-profile-timeline p { color: rgba(255,255,255,.72); }
.cf-profile-filter-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.cf-profile-filter-list span { padding: 8px 11px; border: 1px solid rgba(255,255,255,.16); border-radius: 999px; color: rgba(255,255,255,.78); font-size: .78rem; }
.cf-profile-timeline-demo { overflow: hidden; border: 1px solid rgba(255,255,255,.16); border-radius: 22px; background: #fff; color: var(--cf-navy); box-shadow: 0 26px 65px rgba(0,0,0,.22); }
.cf-profile-timeline-demo__filters { display: flex; gap: 8px; padding: 18px; border-bottom: 1px solid var(--cf-line); }
.cf-profile-timeline-demo__filters span { padding: 7px 10px; border-radius: 999px; background: var(--cf-bg); color: var(--cf-muted); font-size: .76rem; }
.cf-profile-timeline-demo__filters span.active { background: var(--cf-navy); color: #fff; }
.cf-profile-timeline-demo__date { padding: 12px 18px 5px; color: var(--cf-muted); font-size: .74rem; font-weight: 750; }
.cf-profile-timeline-demo__item { gap: 12px; padding: 13px 18px; border-top: 1px solid var(--cf-line); }
.cf-profile-timeline-demo__item > div { display: grid; flex: 1; }
.cf-profile-timeline-demo__item small { color: var(--cf-muted); }
.cf-profile-timeline-demo__item b { color: var(--cf-cyan-dark); font-size: .8rem; }

.cf-profile-support { background: #fff; }
.cf-profile-question { padding: 24px; border-radius: 22px; background: linear-gradient(145deg, #f2f7fd, #fff); box-shadow: var(--cf-shadow); }
.cf-profile-question__message, .cf-profile-question__answer { display: flex; gap: 12px; align-items: flex-start; }
.cf-profile-question__message > span, .cf-profile-question__answer > span { display: grid; flex: 0 0 auto; place-items: center; width: 42px; height: 42px; border-radius: 14px; font-weight: 800; }
.cf-profile-question__message > span { background: #fff; color: var(--cf-navy); }
.cf-profile-question__answer > span { background: var(--cf-navy); color: #fff; }
.cf-profile-question p { margin: 0; }
.cf-profile-question__message p { padding: 13px 16px; border-radius: 0 16px 16px 16px; background: #fff; }
.cf-profile-question__answer { margin: 18px 0 0 45px; }
.cf-profile-question__answer p { display: grid; padding: 14px 16px; border-radius: 0 16px 16px 16px; background: var(--cf-navy); color: #fff; }
.cf-profile-question__answer small { color: rgba(255,255,255,.7); }

.cf-profile-privacy { background: var(--cf-bg); }
.cf-profile-access { overflow: hidden; border: 1px solid var(--cf-line); border-radius: 20px; background: #fff; box-shadow: var(--cf-shadow); }
.cf-profile-access > div { display: grid; gap: 3px; padding: 16px 20px; border-bottom: 1px solid var(--cf-line); }
.cf-profile-access > div:last-child { border-bottom: 0; }
.cf-profile-access span { color: var(--cf-cyan-dark); font-size: .76rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.cf-profile-access .muted { background: #f6f7f9; color: var(--cf-muted); }
.cf-profile-access .muted span { color: var(--cf-muted); }

@media (max-width: 991.98px) {
  .cf-profile-dashboard { grid-template-columns: 1fr; }
  .cf-profile-dashboard > aside { display: none; }
  .cf-profile-dashboard__metrics { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 575.98px) {
  .cf-profile-hero__stats { grid-template-columns: 1fr; }
  .cf-profile-dashboard > main { padding: 18px; }
  .cf-profile-dashboard__top { align-items: flex-start; flex-direction: column; }
  .cf-profile-dashboard__metrics { grid-template-columns: 1fr; }
  .cf-profile-timeline-demo__filters { overflow-x: auto; }
  .cf-profile-timeline-demo__filters span { white-space: nowrap; }
  .cf-profile-question__answer { margin-left: 0; }
}
