/* Local redesign for the healthcare journey section. */
.m2c-chatbox-section {
  position: relative;
  z-index: 2;
  padding: 7rem 1rem 2.25rem;
  background:
    linear-gradient(180deg, rgba(232, 246, 246, 0.92), rgba(255, 255, 255, 0.98)),
    radial-gradient(circle at 18% 20%, rgba(244, 208, 63, 0.16), transparent 34%);
}

.m2c-chatbox {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 1.2rem;
  align-items: stretch;
  max-width: 1040px;
  margin: 0 auto;
  padding: 1.1rem;
  border: 1px solid rgba(126, 200, 200, 0.34);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 48px rgba(44, 62, 80, 0.1);
}

.m2c-chatbox__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.65rem 0.6rem 0.65rem 0.75rem;
}

.m2c-chatbox__copy span {
  width: fit-content;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: #e8f6f6;
  color: #4a9d9d;
  font-family: Montserrat, sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
}

.m2c-chatbox__copy h2 {
  margin: 0;
  color: #2c3e50;
  font-family: Montserrat, sans-serif;
  font-size: clamp(1.35rem, 2.2vw, 2rem);
  font-weight: 800;
  line-height: 1.12;
}

.m2c-chatbox__copy p {
  margin: 0;
  max-width: 24rem;
  color: #6f8587;
  font-size: 0.95rem;
  line-height: 1.5;
}

.m2c-chatbox__form {
  display: grid;
  grid-template-rows: 1fr auto;
  min-height: 9.5rem;
  border: 1px solid rgba(126, 200, 200, 0.32);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(232, 246, 246, 0.46));
  overflow: hidden;
}

.m2c-chatbox__form textarea {
  width: 100%;
  min-height: 6.5rem;
  padding: 1rem 1.05rem 0.45rem;
  border: 0;
  outline: none;
  resize: none;
  background: transparent;
  color: #2c3e50;
  font-size: 1rem;
  line-height: 1.5;
}

.m2c-chatbox__form textarea:disabled {
  opacity: 0.72;
}

.m2c-chatbox__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem;
  padding: 0.65rem;
}

.m2c-chatbox__bar span {
  min-width: 0;
  color: #7c9193;
  font-size: 0.82rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.m2c-chatbox__bar button {
  flex: 0 0 auto;
  min-width: 4.5rem;
  min-height: 2.55rem;
  padding: 0 1rem;
  border: 0;
  border-radius: 999px;
  background: #4a9d9d;
  color: #fff;
  font-family: Montserrat, sans-serif;
  font-size: 0.92rem;
  font-weight: 800;
  transition: transform 0.2s ease, background 0.2s ease, opacity 0.2s ease;
}

.m2c-chatbox__bar button:hover:not(:disabled) {
  transform: translateY(-1px);
  background: #3d8989;
}

.m2c-chatbox__bar button:disabled {
  cursor: default;
  opacity: 0.55;
}

.m2c-chatbox__answer {
  grid-column: 2;
  padding: 1rem 1.05rem;
  border: 1px solid rgba(126, 200, 200, 0.26);
  border-radius: 16px;
  background: #f7fbfb;
  color: #2c3e50;
  font-size: 0.94rem;
  line-height: 1.6;
  white-space: pre-wrap;
}

.m2c-chatbox__answer--error {
  border-color: rgba(212, 172, 13, 0.38);
  background: #fffaf0;
  color: #805b00;
}

.m2c-chatbox__prompts {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  padding: 0 0.15rem 0.05rem;
}

.m2c-chatbox__prompts button {
  min-height: 2.35rem;
  padding: 0.45rem 0.85rem;
  border: 1px solid rgba(126, 200, 200, 0.28);
  border-radius: 999px;
  background: #fff;
  color: #4a6670;
  font-size: 0.84rem;
  line-height: 1.25;
  text-align: left;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.m2c-chatbox__prompts button:hover {
  border-color: rgba(74, 157, 157, 0.48);
  background: #e8f6f6;
  color: #2c3e50;
}

.m2c-chat-route-active body {
  background: #ffffff;
}

.m2c-chat-route-active #root {
  display: none !important;
}

.m2c-chat-page {
  min-height: 100vh;
  padding: 0 2.8rem 14.8rem;
  background: linear-gradient(180deg, #ffffff 0%, #ffffff 84%, rgba(232, 246, 246, 0.5) 100%);
  color: #2c3e50;
}

.m2c-chat-page__header {
  position: sticky;
  top: 0;
  z-index: 20;
  margin: 0 -2.8rem 1.65rem;
  padding: 0.7rem 2.8rem;
  border-bottom: 1px solid rgba(126, 200, 200, 0.2);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 12px 34px rgba(44, 62, 80, 0.06);
  backdrop-filter: blur(18px);
}

.m2c-chat-nav {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  max-width: 1280px;
  margin: 0 auto;
}

.m2c-chat-nav a {
  color: #2c3e50;
  text-decoration: none;
}

.m2c-chat-nav__brand {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-width: 0;
  padding: 0.34rem 0.3rem;
  border-radius: 999px;
  font-family: Montserrat, sans-serif;
  font-size: 0.95rem;
  font-weight: 800;
}

.m2c-chat-nav__brand img {
  width: 1.75rem;
  height: 1.75rem;
  object-fit: contain;
}

.m2c-chat-nav__brand span {
  white-space: nowrap;
}

.m2c-chat-nav__links {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.62rem;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.m2c-chat-nav__links::-webkit-scrollbar {
  display: none;
}

.m2c-chat-nav__links a {
  flex: 0 0 auto;
  padding: 0.4rem 0;
  color: #4f6268;
  font-size: 0.8rem;
  font-weight: 700;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.m2c-chat-nav__links a:hover {
  color: #4a9d9d;
}

.m2c-chat-nav__actions {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.m2c-chat-nav__actions button,
.m2c-chat-nav__actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.35rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 800;
  white-space: nowrap;
}

.m2c-chat-nav__actions button {
  padding: 0 0.75rem;
  border: 1px solid rgba(126, 200, 200, 0.34);
  background: #ffffff;
  color: #4f6268;
}

.m2c-chat-nav__actions a {
  padding: 0 0.85rem;
  background: #4a9d9d;
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(74, 157, 157, 0.22);
}

.m2c-chat-thread {
  display: grid;
  gap: 1.55rem;
  max-width: 1180px;
  margin: 0 auto;
}

.m2c-chat-message {
  display: flex;
}

.m2c-chat-message--user {
  justify-content: flex-end;
}

.m2c-chat-message__bubble {
  position: relative;
  max-width: min(58rem, 72%);
  padding: 1.05rem 1.35rem;
  border-radius: 1.7rem;
  background: #f7f7f8;
  color: #2c3e50;
  font-size: 1.05rem;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.m2c-chat-message--assistant {
  justify-content: flex-start;
}

.m2c-chat-message__assist {
  width: min(100%, 72rem);
}

.m2c-chat-message__meta {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 3.5rem;
  margin-bottom: 1.25rem;
  padding: 0 1.15rem;
  border-radius: 999px;
  background: #f8f8f9;
  color: #7d8087;
  font-size: 1.05rem;
  font-weight: 700;
}

.m2c-chat-message__spinner {
  width: 1.05rem;
  height: 1.05rem;
  border: 2px solid #d8dade;
  border-top-color: #4a9d9d;
  border-radius: 999px;
  animation: m2c-chat-spin 0.9s linear infinite;
}

.m2c-chat-message--complete .m2c-chat-message__spinner,
.m2c-chat-message--error .m2c-chat-message__spinner {
  animation: none;
  border-color: #4a9d9d;
  background: #4a9d9d;
}

.m2c-chat-message--error .m2c-chat-message__spinner {
  border-color: #d4ac0d;
  background: #d4ac0d;
}

.m2c-chat-message--assistant .m2c-chat-message__bubble {
  max-width: min(58rem, 86%);
}

.m2c-chat-message__bubble--assistant {
  padding-bottom: 3.15rem;
}

.m2c-chat-message__text {
  color: #3c4248;
  font-size: 1.05rem;
  line-height: 1.58;
}

.m2c-chat-message__text > * {
  margin: 0;
}

.m2c-chat-message__text > * + * {
  margin-top: 0.7rem;
}

.m2c-chat-message__text h3,
.m2c-chat-message__text h4 {
  color: #2c3e50;
  font-family: Montserrat, sans-serif;
  font-size: 1.02rem;
  font-weight: 800;
  line-height: 1.35;
}

.m2c-chat-message__text ol,
.m2c-chat-message__text ul {
  padding-left: 1.25rem;
}

.m2c-chat-message__text li + li {
  margin-top: 0.35rem;
}

.m2c-chat-message__text strong {
  font-weight: 800;
}

.m2c-chat-message__text code {
  padding: 0.1rem 0.28rem;
  border-radius: 0.35rem;
  background: rgba(44, 62, 80, 0.08);
  font-size: 0.92em;
}

.m2c-chat-message__text a {
  color: #347f7f;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.m2c-chat-copy {
  position: absolute;
  right: 0.85rem;
  bottom: 0.75rem;
  min-width: 4rem;
  min-height: 2rem;
  padding: 0 0.7rem;
  border: 1px solid rgba(126, 200, 200, 0.34);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: #4f6268;
  font-size: 0.78rem;
  font-weight: 800;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.m2c-chat-copy:hover {
  border-color: rgba(74, 157, 157, 0.48);
  background: #ffffff;
  color: #2c3e50;
}

.m2c-chat-copy--copied {
  border-color: rgba(74, 157, 157, 0.46);
  background: #e8f6f6;
  color: #347f7f;
}

.m2c-chat-message--error .m2c-chat-message__bubble--assistant {
  max-width: 62rem;
  border: 1px solid rgba(212, 172, 13, 0.34);
  background: #fffaf0;
  color: #805b00;
}

.m2c-chat-message--error .m2c-chat-message__text {
  color: #805b00;
  font-size: 1rem;
  line-height: 1.6;
}

.m2c-chat-composer {
  position: fixed;
  right: 2.8rem;
  bottom: 1.35rem;
  left: 2.8rem;
  z-index: 10;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 0.6rem;
  min-height: 10.9rem;
  padding: 0.9rem 1.15rem;
  border: 1px solid rgba(126, 200, 200, 0.18);
  border-radius: 1.75rem;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 18px 46px rgba(126, 200, 200, 0.16);
}

.m2c-chat-composer__prompts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
}

.m2c-chat-composer__prompts button {
  min-height: 2.45rem;
  padding: 0.42rem 0.65rem;
  border: 1px solid rgba(126, 200, 200, 0.28);
  border-radius: 999px;
  background: #f7fbfb;
  color: #4a6670;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}

.m2c-chat-composer__prompts button:hover:not(:disabled) {
  border-color: rgba(74, 157, 157, 0.5);
  background: #e8f6f6;
  color: #2c3e50;
}

.m2c-chat-composer__prompts button:disabled {
  cursor: default;
  opacity: 0.58;
}

.m2c-chat-composer textarea {
  min-height: 3.7rem;
  padding: 0.15rem 0.25rem;
  border: 0;
  outline: 0;
  resize: none;
  color: #2c3e50;
  font-size: 1.12rem;
  line-height: 1.5;
}

.m2c-chat-composer textarea::placeholder {
  color: #b8bdc2;
}

.m2c-chat-composer__bar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.m2c-chat-composer__send {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
}

.m2c-chat-composer__send {
  width: 3.05rem;
  height: 3.05rem;
  border-radius: 999px;
  background: #303139;
  color: #ffffff;
}

.m2c-chat-composer__send:disabled {
  cursor: default;
  opacity: 0.58;
}

.m2c-chat-composer__send svg {
  width: 1.35rem;
  height: 1.35rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@keyframes m2c-chat-spin {
  to {
    transform: rotate(360deg);
  }
}

.m2c-journey {
  position: relative;
  isolation: isolate;
  margin: 0 auto 3rem;
  max-width: 1040px;
}

.m2c-journey__support {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  margin: 0 auto 2.5rem;
  padding: 1.1rem 1.35rem;
  border: 1px solid rgba(126, 200, 200, 0.28);
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(74, 157, 157, 0.98), rgba(126, 200, 200, 0.96)),
    radial-gradient(circle at 12% 0%, rgba(244, 208, 63, 0.28), transparent 45%);
  color: white;
  box-shadow: 0 22px 54px rgba(74, 157, 157, 0.26);
}

.m2c-journey__support-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.8rem;
  height: 3.8rem;
  border-radius: 1.2rem;
  background: rgba(255, 255, 255, 0.18);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28);
}

.m2c-journey__support-icon svg {
  width: 2rem;
  height: 2rem;
}

.m2c-journey__support h3 {
  margin: 0 0 0.15rem;
  font-family: Montserrat, sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
}

.m2c-journey__support p {
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.95rem;
  line-height: 1.45;
}

.m2c-journey__support > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 4.1rem;
  height: 2.4rem;
  border-radius: 999px;
  background: #fcf3cf;
  color: #2c3e50;
  font-family: Montserrat, sans-serif;
  font-weight: 800;
}

.m2c-journey__roles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  margin: 0 0 2.2rem;
}

.m2c-journey__team-title {
  display: grid;
  gap: 0.35rem;
  justify-items: center;
  margin: -0.5rem 0 1rem;
  text-align: center;
}

.m2c-journey__team-title span,
.m2c-journey__path-head span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2rem;
  padding: 0 1rem;
  border-radius: 999px;
  background: #e8f6f6;
  color: #4a9d9d;
  font-family: Montserrat, sans-serif;
  font-size: 0.86rem;
  font-weight: 800;
}

.m2c-journey__team-title p {
  margin: 0;
  color: #7c9193;
  font-size: 0.95rem;
}

.m2c-journey__role {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 0.8rem;
  padding: 1rem;
  border: 1px solid rgba(126, 200, 200, 0.24);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 14px 34px rgba(44, 62, 80, 0.07);
}

.m2c-journey__role-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 0.95rem;
  background: #e8f6f6;
  color: #4a9d9d;
}

.m2c-journey__role-icon svg {
  width: 1.45rem;
  height: 1.45rem;
}

.m2c-journey__role h4 {
  margin: 0 0 0.2rem;
  color: #2c3e50;
  font-family: Montserrat, sans-serif;
  font-size: 0.98rem;
  font-weight: 800;
}

.m2c-journey__role p {
  margin: 0;
  color: #6f8587;
  font-size: 0.82rem;
  line-height: 1.45;
}

.m2c-journey__role strong {
  color: #4a9d9d;
  font-weight: 800;
}

.m2c-journey__path-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 0 0 1.35rem;
  padding: 1rem 1.2rem;
  border: 1px solid rgba(126, 200, 200, 0.28);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(232, 246, 246, 0.66));
  box-shadow: 0 14px 34px rgba(44, 62, 80, 0.06);
}

.m2c-journey__path-head strong {
  color: #2c3e50;
  font-size: 0.98rem;
  font-weight: 800;
  text-align: right;
}

.m2c-journey__timeline {
  position: relative;
  display: grid;
  gap: 1.1rem;
  padding: 0.25rem 0 0.75rem;
}

.m2c-journey__timeline::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 50%;
  width: 4px;
  border-radius: 999px;
  transform: translateX(-50%);
  background: linear-gradient(180deg, #7ec8c8, #f4d03f 48%, #7ec8c8);
  box-shadow: 0 0 0 8px rgba(126, 200, 200, 0.11);
}

.m2c-journey__item {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 4.5rem minmax(0, 1fr);
  align-items: center;
}

.m2c-journey__item:nth-child(odd) .m2c-journey__step {
  grid-column: 1;
}

.m2c-journey__item:nth-child(even) .m2c-journey__step {
  grid-column: 3;
}

.m2c-journey__item:nth-child(even) .m2c-journey__marker,
.m2c-journey__item:nth-child(odd) .m2c-journey__marker {
  grid-column: 2;
  grid-row: 1;
}

.m2c-journey__marker {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
}

.m2c-journey__marker span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border: 3px solid white;
  border-radius: 999px;
  background: #fcf3cf;
  color: #2c3e50;
  font-family: Montserrat, sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  box-shadow: 0 10px 28px rgba(44, 62, 80, 0.14), inset 0 0 0 1px rgba(244, 208, 63, 0.6);
}

.m2c-journey__step {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 1rem;
  min-height: 0;
  padding: 1.2rem;
  border: 1px solid rgba(126, 200, 200, 0.34);
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(232, 246, 246, 0.54)),
    radial-gradient(circle at 50% 0%, rgba(244, 208, 63, 0.16), transparent 55%);
  box-shadow: 0 18px 42px rgba(44, 62, 80, 0.08);
  text-align: left;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  overflow: hidden;
}

.m2c-journey__step::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, #7ec8c8, #f4d03f);
}

.m2c-journey__step:hover {
  transform: translateY(-6px);
  border-color: rgba(74, 157, 157, 0.5);
  box-shadow: 0 24px 54px rgba(44, 62, 80, 0.13);
}

.m2c-journey__step::after {
  display: none;
}

.m2c-journey__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4.4rem;
  height: 4.4rem;
  margin: 0;
  border-radius: 1.25rem;
  background: linear-gradient(135deg, #7ec8c8, #4a9d9d);
  color: white;
  box-shadow: 0 14px 28px rgba(126, 200, 200, 0.38);
}

.m2c-journey__icon svg {
  width: 2.2rem;
  height: 2.2rem;
}

.m2c-journey__title {
  margin: 0 0 0.35rem;
  color: #2c3e50;
  font-family: Montserrat, sans-serif;
  font-size: 1.22rem;
  font-weight: 700;
  line-height: 1.2;
}

.m2c-journey__text {
  color: #6f8587;
  font-size: 0.88rem;
  line-height: 1.45;
}

.m2c-journey__summary {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 1rem;
  margin-top: 1.35rem;
  padding: 1.25rem;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(232, 246, 246, 0.86), rgba(255, 255, 255, 0.96));
  border: 1px solid rgba(126, 200, 200, 0.24);
}

.m2c-journey__summary-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #2c3e50;
  font-weight: 700;
}

.m2c-journey__dot {
  width: 0.72rem;
  height: 0.72rem;
  flex: 0 0 auto;
  border-radius: 999px;
  background: #f4d03f;
  box-shadow: 0 0 0 6px rgba(244, 208, 63, 0.18);
}

.m2c-journey-cta {
  display: flex;
  justify-content: center;
  margin-top: 2.5rem;
}

.m2c-team-flow {
  border: 1px solid rgba(126, 200, 200, 0.24);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(232, 246, 246, 0.52)),
    radial-gradient(circle at 85% 0%, rgba(244, 208, 63, 0.18), transparent 42%);
  box-shadow: 0 22px 58px rgba(44, 62, 80, 0.08);
  overflow: hidden;
}

.m2c-team-flow__rail {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.4rem;
  background: linear-gradient(135deg, rgba(74, 157, 157, 0.98), rgba(126, 200, 200, 0.92));
  color: white;
}

.m2c-team-flow__rail span {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.9rem;
  font-weight: 700;
}

.m2c-team-flow__rail span:last-child {
  text-align: right;
}

.m2c-team-flow__rail strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.35rem;
  padding: 0 1.2rem;
  border-radius: 999px;
  background: #fcf3cf;
  color: #2c3e50;
  font-family: Montserrat, sans-serif;
  font-size: 0.95rem;
  white-space: nowrap;
}

.m2c-team-flow__roles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: rgba(126, 200, 200, 0.18);
}

.m2c-team-flow__role {
  min-height: 245px;
  padding: 2rem 1.6rem;
  background: rgba(255, 255, 255, 0.9);
  text-align: center;
}

.m2c-team-flow__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4.6rem;
  height: 4.6rem;
  margin: 0 auto 1.15rem;
  border-radius: 1.35rem;
  background: linear-gradient(135deg, #e8f6f6, #ffffff);
  color: #4a9d9d;
  box-shadow: inset 0 0 0 1px rgba(126, 200, 200, 0.32), 0 12px 28px rgba(126, 200, 200, 0.18);
}

.m2c-team-flow__icon svg {
  width: 2.15rem;
  height: 2.15rem;
}

.m2c-team-flow__role h3 {
  margin: 0 0 0.25rem;
  color: #2c3e50;
  font-family: Montserrat, sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
}

.m2c-team-flow__label {
  margin: 0 0 0.85rem !important;
  color: #4a9d9d !important;
  font-weight: 800;
}

.m2c-team-flow__role p {
  margin: 0;
  color: #7c9193;
  font-size: 0.98rem;
  line-height: 1.55;
}

@media (max-width: 860px) {
  .m2c-chat-page {
    padding-right: 1.25rem;
    padding-left: 1.25rem;
  }

  .m2c-chat-page__header {
    margin-right: -1.25rem;
    margin-left: -1.25rem;
    padding-right: 1.25rem;
    padding-left: 1.25rem;
  }

  .m2c-chat-nav {
    flex-wrap: wrap;
    row-gap: 0.4rem;
  }

  .m2c-chat-nav__links {
    order: 3;
    flex-basis: 100%;
    justify-content: flex-start;
    padding-bottom: 0.1rem;
  }

  .m2c-chat-nav__actions {
    margin-left: auto;
  }

  .m2c-chat-message__bubble {
    max-width: 86%;
  }

  .m2c-chat-composer {
    right: 1.25rem;
    left: 1.25rem;
  }

  .m2c-chatbox {
    grid-template-columns: 1fr;
    gap: 0.9rem;
  }

  .m2c-chatbox__answer {
    grid-column: 1;
  }

  .m2c-journey__summary {
    grid-template-columns: 1fr;
  }

  .m2c-journey__timeline::before {
    left: 1.5rem;
  }

  .m2c-journey__item {
    grid-template-columns: 3rem minmax(0, 1fr);
    gap: 0.95rem;
  }

  .m2c-journey__item:nth-child(odd) .m2c-journey__step,
  .m2c-journey__item:nth-child(even) .m2c-journey__step {
    grid-column: 2;
  }

  .m2c-journey__item:nth-child(odd) .m2c-journey__marker,
  .m2c-journey__item:nth-child(even) .m2c-journey__marker {
    grid-column: 1;
  }

  .m2c-journey__path-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .m2c-journey__path-head strong {
    text-align: left;
  }

}

@media (max-width: 640px) {
  .m2c-chat-page {
    padding: 0 1rem 15rem;
  }

  .m2c-chat-page__header {
    margin-right: -1rem;
    margin-bottom: 1.15rem;
    margin-left: -1rem;
    padding: 0.55rem 1rem 0.6rem;
  }

  .m2c-chat-nav {
    gap: 0.45rem 0.65rem;
  }

  .m2c-chat-nav__brand span {
    max-width: 8.4rem;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .m2c-chat-nav__actions button {
    display: none;
  }

  .m2c-chat-nav__actions a {
    min-height: 2.25rem;
    padding: 0 0.8rem;
    font-size: 0.78rem;
  }

  .m2c-chat-nav__links {
    gap: 0.75rem;
  }

  .m2c-chat-nav__links a {
    font-size: 0.8rem;
  }

  .m2c-chat-thread {
    gap: 1.15rem;
  }

  .m2c-chat-message__bubble {
    max-width: 88%;
    padding: 0.85rem 1rem;
    font-size: 0.98rem;
  }

  .m2c-chat-message__meta {
    min-height: 2.8rem;
    margin-bottom: 0.85rem;
    padding: 0 0.95rem;
    font-size: 0.92rem;
  }

  .m2c-chat-message__text {
    font-size: 1.05rem;
    line-height: 1.65;
  }

  .m2c-chat-composer {
    right: 1rem;
    bottom: 1rem;
    left: 1rem;
    min-height: 10rem;
    padding: 0.75rem 0.8rem;
    border-radius: 1.45rem;
  }

  .m2c-chat-composer__prompts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.35rem;
  }

  .m2c-chat-composer__prompts button {
    width: 100%;
    min-width: 0;
    min-height: 2.35rem;
    padding: 0.35rem 0.3rem;
    font-size: 0.68rem;
    overflow-wrap: anywhere;
  }

  .m2c-chat-composer textarea {
    min-height: 3.5rem;
    font-size: 1rem;
  }

  .m2c-chatbox-section {
    padding: 6.25rem 1rem 1.75rem;
  }

  .m2c-chatbox {
    padding: 0.9rem;
    border-radius: 18px;
  }

  .m2c-chatbox__copy {
    padding: 0.35rem 0.25rem 0;
  }

  .m2c-chatbox__copy h2 {
    font-size: 1.45rem;
  }

  .m2c-chatbox__form {
    min-height: 8.8rem;
  }

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

  .m2c-chatbox__prompts button {
    width: 100%;
  }

  .m2c-home-chat-active .m2c-floating-consult > div:first-child {
    display: none;
  }

  .m2c-home-chat-active .m2c-floating-consult {
    right: 1rem !important;
    bottom: 1rem !important;
  }

  #root .fixed.bottom-6.right-6.z-50.flex.flex-col.items-end.gap-3 {
    right: 1rem !important;
    bottom: 1rem !important;
  }

  #root .fixed.bottom-6.right-6.z-50.flex.flex-col.items-end.gap-3 > div:first-child {
    display: none !important;
  }

  .m2c-journey__roles,
  .m2c-team-flow__roles {
    grid-template-columns: 1fr;
  }

  .m2c-team-flow__rail {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .m2c-team-flow__rail span:last-child {
    text-align: center;
  }
}

@media (max-width: 520px) {
  .m2c-journey__support {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .m2c-journey__step {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .m2c-journey__icon {
    margin: 0 auto;
  }

  .m2c-journey__support-icon,
  .m2c-journey__support > span {
    justify-self: center;
  }
}
