/* =========================
   Base / tokens
========================= */
* {
  box-sizing: border-box;
}

:root {
  --ink: #18324b;
  --muted: #687681;
  --teal: #b8e1fb;
  --teal-dark: #09aaaf;
  --yellow: #ffd75e;
  --purple: #7650a7;
  --line: #dfe7e6;
  --paper: #fbfcfa;
  --coral: #e27560;
}

body {
  margin: 0;
  background: #edf5f1;
  color: var(--ink);
  font-family: "DM Sans", sans-serif;
}

button,
input,
select {
  font: inherit;
}

/* =========================
   Layout geral
========================= */
.page-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  max-width: 1500px;
  margin: auto;
  box-shadow: 0 0 50px #173f3214;
}

/* =========================
   Painel de boas-vindas
========================= */
.welcome-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overflow: hidden;
  padding: 44px clamp(34px, 7vw, 110px);
  background: var(--teal);
  color: rgb(10 118 131);
}

.welcome-panel::after {
  content: "";
  position: absolute;
  width: 600px;
  height: 600px;
  border: 1px solid #ffffff20;
  border-radius: 50%;
  right: -290px;
  bottom: -200px;
  box-shadow: 0 0 0 54px #ffffff08, 0 0 0 108px #ffffff06;
}

.brand-lockup img {
  width: min(310px, 72vw);
  height: auto;
  mix-blend-mode: multiply;
}

.welcome-copy {
  position: relative;
  z-index: 1;
  max-width: 600px;
  margin: auto 0 60px;
}

.eyebrow,
.section-kicker {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
}

.eyebrow {
  color: #0a7683;
}

.welcome-copy h1 {
  margin: 20px 0;
  font-family: Manrope, sans-serif;
  font-size: clamp(2.5rem, 4.3vw, 4.5rem);
  line-height: 1.08;
  letter-spacing: -1px;
}

.welcome-copy h1 em {
  display: block;
  color: #dd90d7;
  font-style: normal;
}

.welcome-copy p {
  max-width: 500px;
  margin: 0;
  color: #0a7683;
  font-size: 17px;
  line-height: 1.7;
}

.pillars {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  position: relative;
  z-index: 1;
}

.pillar {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #ffffff14;
  border: 1px solid #ffffff1f;
  padding: 13px 15px;
  border-radius: 8px;
}

.pillar-icon {
  display: grid;
  place-items: center;
  width: 29px;
  height: 29px;
  border-radius: 50%;
  font-size: 13px;
}

.pillar-icon.teal {
  background: #5247b0;
  color: var(--teal);
}

.pillar-icon.yellow {
  background: #f7ce6d;
  color: #795314;
}

.pillar-icon.purple {
  background: #dd90d7;
  color: #543878;
}

.pillar strong,
.pillar small {
  display: block;
}

.pillar strong {
  font-size: 13px;
}

.pillar small {
  margin-top: 2px;
  color: #c5e7df;
  font-size: 11px;
}

.welcome-footer {
  position: relative;
  z-index: 1;
  margin-top: 34px;
  font-size: 12px;
  color: #bce2d9;
}

.footer-mark {
  display: inline-block;
  width: 7px;
  height: 7px;
  background: #e9bb45;
  border-radius: 50%;
  margin-right: 7px;
}

/* =========================
   Painel de acesso
========================= */
.access-panel {
  display: grid;
  place-items: center;
  background: var(--paper);
  padding: 40px 24px;
}

.access-card {
  width: min(100%, 420px);
}

.mobile-logo {
  display: none;
}

.card-heading {
  margin-bottom: 29px;
}

.card-heading h2,
.register-modal h2 {
  margin: 10px 0 8px;
  font-family: Manrope, sans-serif;
  font-size: 32px;
  letter-spacing: -0.7px;
  color: var(--ink);
}

.card-heading p,
.modal-intro {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.section-kicker {
  color: var(--teal-dark);
}

/* =========================
   Formulários
========================= */
.login-form label,
.register-form label {
  display: block;
  margin: 17px 0 7px;
  font-size: 12px;
  font-weight: 700;
}

.input-wrap {
  display: flex;
  align-items: center;
  height: 48px;
  border: 1px solid var(--line);
  background: white;
  border-radius: 5px;
  padding: 0 13px;
  color: #8a9a9c;
}

.input-wrap:focus-within {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px #078c9014;
}

.input-wrap input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  padding: 0 10px;
  color: var(--ink);
}

.input-wrap input::placeholder,
input::placeholder {
  color: #aeb9ba;
}

.password-toggle {
  border: 0;
  background: transparent;
  color: #9aabab;
  cursor: pointer;
}

.form-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 15px 0 23px;
  font-size: 12px;
}

.form-options a {
  color: var(--teal-dark);
  text-decoration: none;
  font-weight: 700;
}

.remember {
  display: flex !important;
  align-items: center;
  gap: 8px;
  margin: 0 !important;
  color: var(--muted);
  font-weight: 400 !important;
}

.remember input {
  display: none;
}

.remember span {
  width: 15px;
  height: 15px;
  border: 1px solid var(--line);
  border-radius: 3px;
}

.remember input:checked + span {
  background: var(--teal);
  box-shadow: inset 0 0 0 3px white;
}

.primary-button,
.secondary-button {
  width: 100%;
  height: 50px;
  border: 0;
  border-radius: 5px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.primary-button {
  background: var(--teal);
  color: #0a7683;
}

.primary-button:hover {
  background: var(--yellow);
  box-shadow: 0 8px 18px #078c9030;
  transform: translateY(-1px);
}

.primary-button span,
.secondary-button span {
  float: right;
  font-size: 20px;
  line-height: 15px;
}

.login-feedback {
  margin: 12px 0 0;
  color: var(--coral);
  font-size: 12px;
  line-height: 1.5;
}

.divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 25px 0;
  color: #9caaaa;
  font-size: 12px;
}

.divider::before,
.divider::after {
  content: "";
  height: 1px;
  background: var(--line);
  flex: 1;
}

.secondary-button {
  border: 1px solid #b8cfcc;
  background: transparent;
  color: var(--teal-dark);
}

.secondary-button:hover {
  background: #eef8f5;
}

.privacy-note {
  margin: 25px 0 0;
  text-align: center;
  color: #9aa8a8;
  font-size: 11px;
}

.privacy-note span {
  margin-right: 5px;
}

.notice {
  margin: -8px 0 17px;
  padding: 11px 13px;
  border-radius: 5px;
  font-size: 13px;
  line-height: 1.45;
}

.notice.success {
  background: #e5f5ed;
  color: #207052;
}

.notice.error {
  background: #fff0ed;
  color: #a44336;
}

/* =========================
   Modal de cadastro
========================= */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 5;
  display: grid;
  place-items: center;
  padding: 20px;
  background: #14342d99;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
}

.modal-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.register-modal {
  position: relative;
  width: min(100%, 560px);
  max-height: calc(100vh - 40px);
  overflow: auto;
  background: var(--paper);
  padding: 38px;
  border-radius: 8px;
  box-shadow: 0 25px 70px #122b2440;
  transform: translateY(12px);
  transition: transform 0.25s;
}

.is-open .register-modal {
  transform: none;
}

.close-button {
  position: absolute;
  right: 18px;
  top: 14px;
  border: 0;
  background: transparent;
  color: #79908f;
  font-size: 26px;
  cursor: pointer;
}

.modal-intro {
  max-width: 430px;
  margin-bottom: 18px;
}

.register-form input,
.register-form select,
.register-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: white;
  outline: 0;
  color: var(--ink);
}

.register-form input,
.register-form select {
  height: 46px;
  padding: 0 12px;
}

.register-form textarea {
  min-height: 110px;
  padding: 12px;
  resize: vertical;
}

.register-form input:focus,
.register-form select:focus,
.register-form textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px #078c9014;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.register-form .primary-button {
  margin-top: 25px;
}

/* =========================
   Responsividade
========================= */
@media (max-width: 800px) {
  .page-shell {
    display: block;
  }

  .welcome-panel {
    min-height: auto;
    padding: 28px 25px 34px;
  }

  .brand-lockup img {
    width: 230px;
  }

  .welcome-copy {
    margin: 64px 0 34px;
  }

  .welcome-copy h1 {
    font-size: clamp(2.3rem, 10vw, 3.5rem);
  }

  .welcome-copy p {
    font-size: 15px;
  }

  .pillars {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .pillar:last-child {
    grid-column: span 2;
  }

  .welcome-footer {
    margin-top: 25px;
  }

  .access-panel {
    padding: 52px 25px;
  }

  .mobile-logo {
    display: none;
  }
}

@media (max-width: 480px) {
  .pillars {
    display: flex;
    flex-direction: column;
  }

  .pillar:last-child {
    width: auto;
  }

  .form-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .register-modal {
    padding: 32px 23px;
  }

  .card-heading h2 {
    font-size: 28px;
  }
}

/* =========================
   Feed
========================= */
.feed-page {
  min-height: 100vh;
  background:
    radial-gradient(ellipse at 50% 0, #d9effc 0, #eef7f5 440px, transparent 760px),
    #f4f7f6;
}

.feed-topbar {
  position: sticky;
  top: 0;
  z-index: 3;
  height: 76px;
  border-bottom: 1px solid #e5edeb;
  background: #fbfcfaf2;
  backdrop-filter: blur(14px);
}

.feed-topbar-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  width: min(100% - 48px, 1140px);
  height: 100%;
  margin: auto;
}

.feed-section-tabs {
  background: transparent;
}

.feed-section-tabs-inner {
  display: flex;
  align-items: center;
  width: min(100% - 32px, 720px);
  gap: 0;
  margin: auto;
  padding: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.feed-section-tabs-inner::-webkit-scrollbar {
  display: none;
}

.feed-section-tabs a {
  flex: 1 1 0;
  min-width: 0;
  padding: 8px 14px;
  border: 1px solid #b7def4;
  border-radius: 10px;
  background: #fff;
  color: #246f7a;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  transition: color 0.2s, border-color 0.2s, background-color 0.2s;
}

.feed-section-tabs a:hover,
.feed-section-tabs a.is-active {
  border-color: #8bc8eb;
  background: #e8f5fc;
  color: #087d80;
}

.feed-brand {
  flex: 0 0 190px;
}

.feed-brand img {
  display: block;
  width: 174px;
  height: auto;
  mix-blend-mode: multiply;
}

.feed-search {
  display: flex;
  align-items: center;
  gap: 10px;
  width: min(100%, 410px);
  height: 42px;
  padding: 0 14px;
  border: 1px solid #e2eae8;
  border-radius: 8px;
  background: #f5f9f8;
  color: #83918f;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.feed-search:focus-within {
  border-color: var(--teal-dark);
  box-shadow: 0 0 0 3px #09aaaf17;
}

.feed-search > span {
  font-size: 22px;
  transform: rotate(-40deg);
}

.feed-search input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-size: 13px;
}

.feed-profile {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 0;
  border: 0;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  list-style: none;
  cursor: pointer;
}

.feed-profile::-webkit-details-marker {
  display: none;
}

.feed-profile:focus-visible {
  outline: 2px solid #078c90;
  outline-offset: 4px;
}

.feed-account-menu {
  position: relative;
  flex: 0 0 auto;
  margin-left: auto;
}

.profile-chevron {
  color: #80918e;
  font-size: 11px;
  transition: transform 0.2s;
}

.feed-account-menu[open] .profile-chevron {
  transform: rotate(180deg);
}

.feed-account-dropdown {
  position: absolute;
  z-index: 20;
  top: calc(100% + 12px);
  right: 0;
  display: grid;
  width: 220px;
  gap: 4px;
  padding: 8px;
  border: 1px solid #e3ebe8;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 12px 30px #18324b1c;
}

.feed-account-link {
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 40px;
  padding: 0 11px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: #667879;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}

.feed-account-link > span:first-child {
  width: 18px;
  color: #829391;
  font-size: 15px;
  text-align: center;
}

.feed-account-link:hover,
.feed-account-link.is-active {
  background: #f0f7f5;
  color: #087d80;
}

.feed-account-link.is-active > span:first-child {
  color: #078c90;
}

.feed-account-logout-form {
  margin: 4px 0 0;
  padding-top: 4px;
  border-top: 1px solid #edf1ef;
}

.feed-account-logout {
  width: 100%;
  color: #a44336;
}

.feed-account-logout:hover,
.feed-account-logout:hover > span:first-child {
  background: #fff0ed;
  color: #a44336;
}

.feed-main {
  width: min(100% - 32px, 720px);
  margin: 0 auto 60px;
}

.feed-home-page .feed-main {
  width: min(100% - 32px, 1400px);
}

.feed-layout {
  max-width: 840px;
  margin: 0 auto;
}

.feed-main-column {
  min-width: 0;
}

.feed-illustrations {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: -10px 0 29px;
}

.feed-illustrations img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  border: 1px solid #e5edeb;
  border-radius: 14px;
  object-fit: contain;
  background: #fff;
  box-shadow: 0 12px 32px #18324b0a;
}

.feed-welcome {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 190px;
  overflow: hidden;
  margin-bottom: 29px;
  padding: 30px 34px;
  border: 1px solid #b7def4;
  border-radius: 14px;
  background: linear-gradient(112deg, #b8e1fb 0%, #c8e9f8 56%, #f1d9f1 140%);
  box-shadow: 0 14px 35px #3689a514;
}

.feed-welcome::before,
.feed-welcome::after {
  position: absolute;
  content: "";
  border: 1px solid #ffffff70;
  border-radius: 50%;
  pointer-events: none;
}

.feed-welcome::before {
  width: 300px;
  height: 300px;
  right: -130px;
  top: -195px;
  box-shadow: 0 0 0 24px #ffffff17, 0 0 0 49px #ffffff12;
}

.feed-welcome::after {
  width: 170px;
  height: 170px;
  right: 86px;
  bottom: -140px;
}

.welcome-text {
  position: relative;
  z-index: 1;
  max-width: 460px;
}

.welcome-text .section-kicker {
  color: #087d88;
}

.welcome-text h1 {
  max-width: 430px;
  margin: 11px 0 8px;
  color: #087d80;
  font-family: Manrope, sans-serif;
  font-size: clamp(24px, 4vw, 34px);
  line-height: 1.22;
  letter-spacing: -1px;
}

.welcome-text h1 span {
  display: block;
  color: #7650a7;
}

.welcome-text p {
  max-width: 405px;
  margin: 0;
  color: #246f7a;
  font-size: 13px;
  line-height: 1.65;
}

.welcome-art {
  position: absolute;
  top: 0;
  right: 0;
  width: 230px;
  height: 100%;
  color: #7650a7;
}

.welcome-stats {
  position: absolute;
  right: 22px;
  bottom: 18px;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 9px 13px;
  border: 1px solid #ffffffa1;
  border-radius: 9px;
  background: #ffffff8c;
  box-shadow: 0 6px 18px #3689a510;
  backdrop-filter: blur(8px);
}

.welcome-stats > div {
  display: grid;
  gap: 2px;
}

.welcome-stats strong {
  color: #087d80;
  font-family: Manrope, sans-serif;
  font-size: 12px;
}

.welcome-stats > div > span {
  color: #567879;
  font-size: 9px;
  white-space: nowrap;
}

.stats-divider {
  width: 1px;
  height: 26px;
  background: #7cbac2a1;
}

.welcome-heart {
  position: absolute;
  top: 51px;
  right: 82px;
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  border: 1px solid #ffffffad;
  border-radius: 22px;
  background: #ffffff64;
  box-shadow: 0 12px 30px #7650a729;
  color: #7650a7;
  font-size: 35px;
  transform: rotate(-8deg);
}

.welcome-sparkle {
  position: absolute;
  color: #dd90d7;
}

.sparkle-one {
  top: 36px;
  right: 47px;
  font-size: 25px;
}

.sparkle-two {
  right: 168px;
  bottom: 36px;
  color: #e9bb45;
  font-size: 18px;
}

.welcome-orbit {
  position: absolute;
  right: 35px;
  bottom: -76px;
  width: 205px;
  height: 145px;
  border: 1px solid #ffffff8c;
  border-radius: 50%;
  transform: rotate(-25deg);
}

.timeline-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 14px;
}

.timeline-heading .section-kicker {
  color: #078c90;
}

.timeline-heading h2 {
  margin: 5px 0 0;
}

.profile-page {
  width: min(100%, 720px);
  margin: 0 auto;
}

.professionals-page {
  width: min(100%, 900px);
  margin: 0 auto;
}

.agenda-page {
  width: min(100%, 820px);
  margin: 0 auto;
}

.library-page {
  width: min(100%, 1040px);
  margin: 0 auto;
}

.library-content {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: start;
  gap: 16px;
}

.library-chat-card,
.library-news {
  min-width: 0;
  padding: 20px;
  border: 1px solid #e5edeb;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 12px 32px #18324b0a;
}

.library-section-heading {
  display: flex;
  align-items: center;
  gap: 12px;
}

.library-heading-icon {
  display: grid;
  flex: 0 0 42px;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #e1f4f1;
  color: #087d80;
  font-size: 19px;
}

.library-news-heading-icon {
  background: #f0e9f8;
  color: #7650a7;
}

.library-section-heading .section-kicker {
  color: #078c90;
  font-size: 9px;
}

.library-section-heading h2 {
  margin: 3px 0 0;
  color: var(--ink);
  font-family: Manrope, sans-serif;
  font-size: 17px;
}

.library-chat-note {
  margin: 15px 0 12px;
  padding: 9px 11px;
  border-radius: 8px;
  background: #f3f8f6;
  color: #687879;
  font-size: 10px;
  line-height: 1.5;
}

.library-chat-messages {
  display: grid;
  max-height: 360px;
  gap: 15px;
  overflow-y: auto;
  padding: 3px 1px 12px;
}

.library-chat-message {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.library-chat-message .feed-avatar {
  flex-basis: 34px;
  width: 34px;
  height: 34px;
  font-size: 10px;
}

.library-chat-message > div {
  min-width: 0;
  flex: 1;
}

.library-chat-author {
  display: flex;
  align-items: baseline;
  gap: 8px;
  color: var(--ink);
  font-size: 11px;
  font-weight: 700;
}

.library-chat-author time {
  color: #899695;
  font-size: 9px;
  font-weight: 500;
}

.library-chat-message p {
  margin: 5px 0 0;
  padding: 9px 11px;
  border-radius: 0 10px 10px 10px;
  background: #f3f7f5;
  color: #566a6c;
  font-size: 11px;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.library-chat-message-own {
  flex-direction: row-reverse;
}

.library-chat-message-own .library-chat-author {
  justify-content: flex-end;
}

.library-chat-message-own p {
  border-radius: 10px 0 10px 10px;
  background: #e4f3f2;
}

.library-chat-message .library-chat-sources {
  padding: 0;
  background: transparent;
  color: #687879;
  font-size: 10px;
}

.library-chat-form button:disabled {
  cursor: wait;
  opacity: 0.65;
}

.library-chat-form {
  display: flex;
  gap: 8px;
  padding-top: 13px;
  border-top: 1px solid #edf1f0;
}

.library-chat-form input {
  min-width: 0;
  flex: 1;
  padding: 10px 12px;
  border: 1px solid #e3ebe8;
  border-radius: 8px;
  color: var(--ink);
  font-size: 11px;
  outline: none;
}

.library-chat-form input:focus {
  border-color: #09aaaf;
  box-shadow: 0 0 0 3px #09aaaf18;
}

.library-chat-form .composer-button {
  flex: 0 0 auto;
  padding: 9px 12px;
}

.library-news-list {
  display: grid;
  gap: 12px;
  margin-top: 17px;
}

.library-news-card {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  padding: 13px;
  border: 1px solid #edf1f0;
  border-radius: 11px;
  background: #fff;
}

.library-news-art {
  display: grid;
  flex: 0 0 58px;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 10px;
  font-size: 23px;
}

.library-news-teal {
  background: #e1f4f1;
  color: #087d80;
}

.library-news-purple {
  background: #f0e9f8;
  color: #7650a7;
}

.library-news-peach {
  background: #fff0e7;
  color: #ad6550;
}

.library-news-copy {
  min-width: 0;
}

.library-news-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  color: #687879;
  font-size: 9px;
}

.library-news-meta > span {
  color: #078c90;
  font-weight: 700;
}

.library-news-copy h3 {
  margin: 6px 0 4px;
  color: var(--ink);
  font-family: Manrope, sans-serif;
  font-size: 12px;
  line-height: 1.45;
}

.library-news-copy p {
  margin: 0;
  color: #687879;
  font-size: 10px;
  line-height: 1.55;
}

.library-news-refresh {
  box-sizing: border-box;
  width: auto;
  min-width: 0;
  max-width: 100%;
  height: auto;
  flex: 0 1 auto;
  margin-left: auto;
  min-height: 36px;
  padding: 0 11px;
  font-size: 11px;
  white-space: normal;
}

.library-news-refresh:disabled {
  cursor: wait;
  opacity: 0.65;
}

.library-news-link {
  display: inline-block;
  margin-top: 9px;
  color: #087d80;
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
}

.library-news-link:hover {
  text-decoration: underline;
}

.visually-hidden {
  position: absolute;
  overflow: hidden;
  width: 1px;
  height: 1px;
  padding: 0;
  border: 0;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  clip-path: inset(50%);
}

.agenda-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin: 25px 0 14px;
}

.agenda-heading .section-kicker {
  color: #078c90;
}

.agenda-heading h2 {
  margin: 5px 0 0;
  color: var(--ink);
  font-family: Manrope, sans-serif;
  font-size: 20px;
}

.agenda-events {
  display: grid;
  gap: 12px;
}

.agenda-event {
  display: flex;
  align-items: flex-start;
  gap: 17px;
  padding: 19px;
  border: 1px solid #e5edeb;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 12px 32px #18324b0a;
}

.agenda-date {
  display: flex;
  flex: 0 0 62px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 62px;
  min-height: 68px;
  border-radius: 12px;
}

.agenda-date strong {
  color: var(--ink);
  font-family: Manrope, sans-serif;
  font-size: 24px;
  line-height: 1;
}

.agenda-date span {
  margin-top: 5px;
  color: #687879;
  font-size: 10px;
  font-weight: 700;
}

.agenda-event-teal {
  background: #e1f4f1;
}

.agenda-event-purple {
  background: #f0e9f8;
}

.agenda-event-peach {
  background: #fff0e7;
}

.agenda-event-content {
  min-width: 0;
  flex: 1;
}

.agenda-event-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: #687879;
  font-size: 11px;
}

.agenda-event-type {
  padding: 5px 9px;
  border-radius: 20px;
  background: #f1f7f5;
  color: #087d80;
  font-size: 10px;
  font-weight: 700;
}

.agenda-event h3 {
  margin: 10px 0 5px;
  color: var(--ink);
  font-family: Manrope, sans-serif;
  font-size: 16px;
}

.agenda-event-content > p {
  margin: 0;
  color: #667879;
  font-size: 12px;
  line-height: 1.55;
}

.agenda-event-location {
  display: block;
  margin-top: 10px;
  color: #687879;
  font-size: 11px;
}

.professionals-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin: 25px 0 14px;
}

.professionals-heading .section-kicker {
  color: #078c90;
}

.professionals-heading h2 {
  margin: 5px 0 0;
  color: var(--ink);
  font-family: Manrope, sans-serif;
  font-size: 20px;
}

.professionals-count {
  padding: 7px 11px;
  border-radius: 20px;
  background: #eaf5f3;
  color: #087d80;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}

.professionals-filters {
  display: grid;
  gap: 12px;
  margin-bottom: 18px;
}

.professionals-search {
  display: grid;
  gap: 7px;
  color: #536768;
  font-size: 12px;
  font-weight: 700;
}

.professionals-search input {
  width: 100%;
  min-height: 44px;
  padding: 10px 13px;
  border: 1px solid #d5e4e0;
  border-radius: 9px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

.professionals-search input:focus-visible {
  outline: 3px solid #078c9040;
  outline-offset: 1px;
}

.professionals-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.professional-category-filter {
  padding: 8px 12px;
  border: 1px solid #b7def4;
  border-radius: 20px;
  background: #fff;
  color: #246f7a;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.professional-category-filter:hover,
.professional-category-filter.is-active {
  border-color: #8bc8eb;
  background: #e8f5fc;
  color: #087d80;
}

.professional-card[hidden] {
  display: none;
}

.professionals-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.professional-card {
  padding: 19px;
  border: 1px solid #e5edeb;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 12px 32px #18324b0a;
}

.professional-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 15px;
}

.professional-avatar {
  width: 52px;
  height: 52px;
  font-size: 16px;
}

.professional-category {
  padding: 6px 9px;
  border-radius: 20px;
  background: #f1f7f5;
  color: #087d80;
  font-size: 10px;
  font-weight: 700;
}

.professional-card h3 {
  margin: 0;
  color: var(--ink);
  font-family: Manrope, sans-serif;
  font-size: 16px;
}

.professional-specialty {
  margin: 5px 0 12px;
  color: #078c90;
  font-size: 12px;
  font-weight: 700;
}

.professional-description {
  min-height: 54px;
  margin: 0;
  color: #667879;
  font-size: 12px;
  line-height: 1.55;
}

.professional-location {
  margin: 15px 0 0;
  padding-top: 12px;
  border-top: 1px solid #edf1f0;
  color: #687879;
  font-size: 11px;
}

.professionals-note {
  margin: 17px 0 0;
  color: #687879;
  font-size: 11px;
  text-align: center;
}

.profile-hero {
  position: relative;
  overflow: hidden;
  margin-bottom: 18px;
  padding: 27px 32px;
  border: 1px solid #b7def4;
  border-radius: 14px;
  background: linear-gradient(112deg, #b8e1fb 0%, #c8e9f8 56%, #f1d9f1 140%);
  box-shadow: 0 14px 35px #3689a514;
}

.profile-hero::after {
  position: absolute;
  top: -75px;
  right: -32px;
  width: 190px;
  height: 190px;
  border: 1px solid #ffffff8c;
  border-radius: 50%;
  box-shadow: 0 0 0 22px #ffffff17, 0 0 0 46px #ffffff12;
  content: "";
}

.profile-hero .section-kicker {
  color: #087d88;
}

.profile-hero h1 {
  position: relative;
  z-index: 1;
  margin: 7px 0 3px;
  color: #087d80;
  font-family: Manrope, sans-serif;
  font-size: clamp(25px, 4vw, 34px);
  letter-spacing: -1px;
}

.profile-hero p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: #246f7a;
  font-size: 13px;
}

.profile-hero-icon {
  position: absolute;
  top: 20px;
  right: 49px;
  color: #7650a7;
  font-size: 34px;
}

.profile-card {
  overflow: hidden;
  border: 1px solid #e5edeb;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 12px 32px #18324b0a;
}

.professional-profile-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 16px;
  padding: 22px 26px;
  border: 1px solid #e5edeb;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 12px 32px #18324b0a;
}

.professional-profile-card h2 {
  margin: 5px 0;
  font-family: Manrope, sans-serif;
  font-size: 19px;
}

.professional-profile-card p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.professional-profile-card .secondary-button {
  width: auto;
  flex: 0 0 auto;
  padding: 11px 15px;
}

.profile-card-header {
  display: flex;
  align-items: center;
  gap: 17px;
  padding: 25px 30px;
  border-bottom: 1px solid #edf1f0;
  background: #ffffffc7;
}

.profile-avatar {
  flex: 0 0 62px;
  width: 62px;
  height: 62px;
  font-size: 20px;
}

.profile-card-header .section-kicker {
  color: #078c90;
  font-size: 9px;
}

.profile-card-header h2 {
  overflow-wrap: anywhere;
  margin: 4px 0 0;
  color: var(--ink);
  font-family: Manrope, sans-serif;
  font-size: 21px;
}

.profile-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 0;
  padding: 8px 30px;
}

.profile-detail {
  min-width: 0;
  padding: 17px 12px 17px 0;
  border-bottom: 1px solid #edf1f0;
}

.profile-detail dt {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #687879;
  font-size: 12px;
  font-weight: 600;
}

.profile-detail dt span {
  display: grid;
  place-items: center;
  width: 23px;
  height: 23px;
  border-radius: 7px;
  background: #eaf6f5;
  color: #078c90;
  font-size: 13px;
}

.profile-detail dd {
  overflow-wrap: anywhere;
  margin: 7px 0 0 31px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
}

.profile-card-footer {
  padding: 18px 30px;
}

.profile-back-link {
  color: #087d80;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.profile-back-link:hover {
  color: #7650a7;
}

.profile-back-link span {
  margin-right: 5px;
  color: var(--ink);
  font-family: Manrope, sans-serif;
  font-size: 24px;
  letter-spacing: -0.7px;
}

.timeline-filter {
  padding: 9px 12px;
  border: 1px solid #e1e9e6;
  border-radius: 7px;
  background: #fff;
  color: #647477;
  font-size: 11px;
  font-weight: 700;
}

.timeline-filter span {
  margin-left: 8px;
}

.post-composer,
.feed-post {
  border: 1px solid #e3ebe8;
  border-radius: 11px;
  background: #fff;
  box-shadow: 0 7px 24px #18324b0a;
}

.post-composer {
  margin-bottom: 17px;
  padding: 19px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.post-composer:focus-within {
  border-color: #a9dce0;
  box-shadow: 0 8px 26px #09aaaf14;
}

.composer-top,
.post-header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.feed-avatar {
  display: grid;
  flex: 0 0 44px;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 2px solid #fff;
  border-radius: 50%;
  color: #425363;
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 0 0 1px #e3ebe8;
}

.feed-avatar img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
}

.profile-photo-form {
  display: grid;
  gap: 8px;
  margin: 0 20px 20px;
  color: #647477;
  font-size: 12px;
  font-weight: 600;
}

.profile-photo-form > div {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 10px;
}

.profile-photo-form input {
  flex: 1 1 auto;
  min-width: 0;
  max-width: 100%;
  font: inherit;
}

.profile-photo-form .secondary-button {
  width: auto;
  flex: 0 0 auto;
}

.avatar-lilac {
  background: #eadff4;
  color: #7650a7;
}

.avatar-peach {
  background: #ffe6d8;
  color: #ad6550;
}

.avatar-mint {
  background: #d9f0e6;
  color: #397b5f;
}

.avatar-blue {
  background: #dceafa;
  color: #4b6f9b;
}

.composer-input {
  display: grid;
  flex: 1;
  gap: 7px;
  color: #70817f;
  font-size: 11px;
  font-weight: 700;
}

.composer-input textarea {
  width: 100%;
  min-height: 56px;
  padding: 12px 14px;
  resize: vertical;
  border: 1px solid #e6ece9;
  border-radius: 7px;
  outline: 0;
  background: #fafcfb;
  color: var(--ink);
  font: inherit;
  font-size: 13px;
  transition: border-color 0.2s, background 0.2s;
}

.composer-input textarea:focus {
  border-color: #8ccfd0;
  background: #fff;
}

.composer-input textarea::placeholder {
  color: #9aa8a8;
}

.composer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 15px;
  padding-top: 13px;
  border-top: 1px solid #edf1ef;
}

.composer-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.composer-file {
  display: inline-flex;
  align-items: center;
  padding: 8px 10px;
  border: 1px solid #e3ebe8;
  border-radius: 6px;
  color: #397b7b;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}

.composer-photo {
  min-width: 0;
  width: min(230px, 42%);
  color: #6c7d7a;
  font-size: 11px;
}

.composer-tools button {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 9px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: transparent;
  color: #6c7d7a;
  font-size: 11px;
  font-weight: 600;
}

.tool-icon {
  font-size: 15px;
}

.tool-photo {
  color: #078c90;
}

.tool-feeling {
  color: #d18e2e;
}

.tool-topic {
  color: #7650a7;
}

.composer-button {
  padding: 10px 16px;
  border: 0;
  border-radius: 6px;
  background: var(--teal);
  color: #0a7683;
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 3px 8px #078c9016;
}

.composer-button span {
  margin-left: 11px;
  font-size: 16px;
}

.timeline-posts {
  display: grid;
  gap: 15px;
}

.feed-post {
  position: relative;
  overflow: hidden;
  padding: 19px 20px 0;
  transition: transform 0.2s, box-shadow 0.2s;
}

.feed-post::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #b8e1fb 0%, #09aaaf 55%, #dd90d7 100%);
  content: "";
  opacity: 0.8;
}

.feed-post:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px #18324b10;
}

.post-header {
  padding-top: 2px;
}

.post-author {
  display: grid;
  gap: 4px;
}

.post-author strong {
  color: var(--ink);
  font-size: 13px;
}

.post-author > span {
  color: #899695;
  font-size: 10px;
}

.post-menu {
  display: grid;
  place-items: center;
  width: 33px;
  height: 33px;
  margin-left: auto;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #889493;
  font-size: 20px;
  letter-spacing: 2px;
}

.post-copy {
  margin: 17px 0 13px;
  color: #44565f;
  font-size: 13px;
  line-height: 1.75;
}

.post-media {
  position: relative;
  overflow: hidden;
  margin: 0 -20px 14px;
  background: #dff0ec;
}

.post-media img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.feed-post:hover .post-media img {
  transform: scale(1.025);
}

.post-media figcaption {
  position: absolute;
  right: 14px;
  bottom: 14px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 9px 12px;
  border: 1px solid #ffffffa8;
  border-radius: 7px;
  background: #ffffffdc;
  color: #087d80;
  font-size: 11px;
  font-weight: 700;
  box-shadow: 0 5px 16px #18324b18;
  backdrop-filter: blur(8px);
}

.post-media figcaption span {
  color: #dd90d7;
}

.post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 13px;
}

.post-tags span {
  padding: 5px 9px;
  border-radius: 20px;
  background: #eaf6f4;
  color: #078c90;
  font-size: 10px;
  font-weight: 600;
}

.post-reaction-summary {
  display: flex;
  align-items: center;
  min-height: 36px;
  gap: 7px;
  border-bottom: 1px solid #edf1ef;
  color: #899695;
  font-size: 10px;
}

.reaction-bubbles {
  display: inline-flex;
  padding-left: 2px;
}

.reaction-bubbles i {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  margin-left: -3px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #09aaaf;
  color: #fff;
  font-size: 8px;
  font-style: normal;
}

.reaction-bubbles i + i {
  background: #dd90d7;
}

.reaction-comments {
  margin-left: auto;
}

.post-actions {
  display: flex;
  justify-content: space-around;
  gap: 12px;
  padding: 11px 0;
}

.post-actions button {
  padding: 4px 8px;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: #70817f;
  font-size: 11px;
  font-weight: 600;
}

.post-actions button span {
  margin-right: 6px;
  color: var(--teal-dark);
  font-size: 16px;
  vertical-align: -1px;
}

.timeline-end {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 21px 0 0;
  color: #82928f;
  font-size: 11px;
}

.timeline-end span {
  color: #dd90d7;
}

@media (max-width: 1050px) {
  .feed-home-page .feed-main {
    width: min(100% - 32px, 720px);
  }

}

@media (max-width: 700px) {
  .professional-profile-card {
    align-items: stretch;
    flex-direction: column;
    padding: 20px;
  }

  .professional-profile-card .secondary-button {
    width: 100%;
  }

  .feed-topbar {
    height: 66px;
  }

  .feed-topbar-inner {
    gap: 15px;
    width: calc(100% - 32px);
  }

  .feed-section-tabs-inner {
    width: calc(100% - 32px);
  }

  .feed-section-tabs a {
    flex: 0 0 auto;
  }

  .feed-brand {
    flex: 0 0 auto;
  }

  .feed-brand img {
    width: 135px;
  }

  .feed-search {
    flex: 1;
    min-width: 0;
    height: 38px;
  }

  .feed-profile {
    gap: 0;
  }

  .feed-profile-name {
    display: none;
  }

  .feed-main {
    width: min(100% - 28px, 620px);
    margin-top: 0;
  }

  .library-content {
    grid-template-columns: 1fr;
  }

  .library-news .library-section-heading {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
  }

  .library-news .library-section-heading > div {
    min-width: 0;
  }

  .library-news-refresh {
    grid-column: 2;
    justify-self: start;
    margin: 0;
  }

  .professionals-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feed-welcome {
    min-height: 170px;
    padding: 24px;
  }

  .welcome-art {
    right: -55px;
    opacity: 0.68;
  }

  .welcome-text {
    max-width: 78%;
  }

  .welcome-stats {
    right: 15px;
    bottom: 13px;
    gap: 8px;
    padding: 7px 9px;
  }

  .welcome-stats > div > span {
    font-size: 8px;
  }

  .welcome-text p {
    max-width: 320px;
  }

  .feed-illustrations {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: -6px;
  }
}

@media (max-width: 480px) {
  .feed-topbar-inner {
    gap: 9px;
    width: calc(100% - 22px);
  }

  .feed-section-tabs-inner {
    width: calc(100% - 22px);
    gap: 0;
  }

  .feed-section-tabs a {
    flex: 0 0 auto;
    padding-right: 10px;
    padding-left: 10px;
    font-size: 12px;
  }

  .feed-brand img {
    width: 112px;
  }

  .feed-search {
    height: 35px;
    padding: 0 8px;
  }

  .feed-search input {
    font-size: 10px;
  }

  .feed-profile .feed-avatar {
    flex-basis: 34px;
    width: 34px;
    height: 34px;
  }

  .feed-main {
    width: calc(100% - 22px);
  }

  .library-chat-card,
  .library-news {
    padding: 16px;
  }

  .library-news-card {
    gap: 10px;
    padding: 11px;
  }

  .library-news-art {
    flex-basis: 48px;
    width: 48px;
    height: 48px;
  }

  .professionals-list {
    grid-template-columns: 1fr;
  }

  .professionals-heading {
    align-items: start;
  }

  .feed-welcome {
    display: block;
    min-height: 0;
    margin-bottom: 24px;
    padding: 20px 19px;
  }

  .welcome-text {
    max-width: 100%;
  }

  .welcome-text h1 {
    max-width: 270px;
    font-size: 25px;
  }

  .welcome-text p {
    max-width: 245px;
    font-size: 12px;
  }

  .welcome-art {
    right: -121px;
    opacity: 0.36;
  }

  .welcome-stats {
    position: relative;
    right: auto;
    bottom: auto;
    width: fit-content;
    margin: 14px 0 0 auto;
    gap: 7px;
    padding: 6px 8px;
  }

  .timeline-heading h2 {
    font-size: 20px;
  }

  .timeline-filter {
    padding: 8px 9px;
    font-size: 10px;
  }

  .post-composer {
    padding: 14px;
  }

  .composer-top {
    align-items: flex-start;
    gap: 9px;
  }

  .composer-top > .feed-avatar {
    flex-basis: 36px;
    width: 36px;
    height: 36px;
  }

  .composer-bottom {
    align-items: flex-end;
  }

  .composer-tools {
    gap: 2px;
  }

  .composer-tools button {
    gap: 4px;
    padding: 6px 4px;
    font-size: 10px;
  }

  .composer-button {
    padding: 9px 10px;
    white-space: nowrap;
  }

  .feed-post {
    padding: 17px 15px 0;
  }

  .post-media {
    margin-right: -15px;
    margin-left: -15px;
  }

  .post-media figcaption {
    right: 9px;
    bottom: 9px;
    padding: 7px 9px;
    font-size: 9px;
  }

  .feed-avatar {
    flex-basis: 39px;
    width: 39px;
    height: 39px;
  }

  .post-copy {
    font-size: 12px;
  }

  .post-actions {
    gap: 3px;
  }

  .post-actions button {
    padding: 4px 3px;
    font-size: 10px;
  }

  .timeline-end {
    padding: 0 15px;
    text-align: center;
    line-height: 1.5;
  }

  .profile-hero {
    padding: 23px 20px;
  }

  .profile-hero-icon {
    top: 15px;
    right: 25px;
    font-size: 27px;
  }

  .profile-card-header {
    gap: 13px;
    padding: 21px 19px;
  }

  .profile-card-header h2 {
    font-size: 18px;
  }

  .profile-details {
    grid-template-columns: 1fr;
    padding: 5px 19px;
  }

  .profile-detail {
    padding: 14px 0;
  }

  .profile-card-footer {
    padding: 16px 19px;
  }
}
