:root {
  --bg: #f6efe6;
  --surface: #fffaf4;
  --surface-strong: #efe2d2;
  --text: #18201f;
  --muted: #566462;
  --primary: #3a655d;
  --primary-soft: #6b8d85;
  --accent: #b86a3c;
  --accent-soft: #e6c0ae;
  --gold: #d3b07a;
  --line: rgba(58, 101, 93, 0.12);
  --shadow: 0 24px 60px rgba(58, 101, 93, 0.09);
  --radius: 24px;
  --shell-max: 1180px;
  --heading-font: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", "URW Palladio L", serif;
  --body-font: "Avenir Next", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--body-font);
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(184, 106, 60, 0.18), transparent 26%),
    radial-gradient(circle at right 15%, rgba(58, 101, 93, 0.08), transparent 22%),
    linear-gradient(180deg, #fcf8f2 0%, var(--bg) 100%);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.shell {
  width: min(var(--shell-max), calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(14px);
  background: rgba(252, 248, 242, 0.84);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 10px 30px rgba(58, 101, 93, 0.05);
}

.header-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  min-height: 82px;
  padding-top: 0.7rem;
  padding-bottom: 0.45rem;
}

.header-utility-group {
  margin-left: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
  min-width: 0;
}

.header-locale-row {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.35rem 0.45rem 0.35rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(58, 101, 93, 0.1);
  box-shadow: 0 12px 28px rgba(58, 101, 93, 0.08);
}

.header-locale-label {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.header-app-links {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.header-app-links-row {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  min-width: 0;
  flex: 0 0 auto;
  transition: transform 180ms ease, opacity 180ms ease;
}

.store-badge:hover,
.store-badge:focus-visible {
  transform: translateY(-1px);
  opacity: 0.97;
}

.store-badge-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.store-badge-image-google {
  transform: scaleX(1.16);
  transform-origin: center;
}

.store-badge-image-apple {
  transform-origin: center;
}

.store-badge-compact {
  width: 138px;
  height: 44px;
}

.store-badge-large {
  width: 178px;
  height: 56px;
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  min-height: 68px;
  padding-top: 0.2rem;
  padding-bottom: 0.9rem;
  border-top: 1px solid rgba(58, 101, 93, 0.08);
}

.brand {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto minmax(220px, 1fr);
  align-items: center;
  column-gap: 1.15rem;
}

.brand-logo {
  width: 84px;
  height: auto;
  display: block;
  flex: 0 0 auto;
  object-fit: contain;
  filter: drop-shadow(0 8px 18px rgba(58, 101, 93, 0.12));
}

.brand-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.22rem;
  min-width: 0;
  min-height: 74px;
  align-items: flex-end;
  text-align: right;
  padding-right: 1rem;
  border-right: 1px solid rgba(58, 101, 93, 0.12);
}

.brand-copy strong {
  font-family: var(--heading-font);
  font-size: 1.22rem;
  letter-spacing: 0.015em;
  line-height: 1.12;
}

.brand-copy span {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.22;
}

.brand-side {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.22rem;
  min-width: 0;
  min-height: 74px;
  padding-left: 1rem;
  border-left: 1px solid rgba(58, 101, 93, 0.12);
  text-align: left;
}

.brand-secondary {
  color: var(--text);
  font-family: var(--heading-font);
  font-size: 1.22rem;
  font-weight: 700;
  letter-spacing: 0.015em;
  line-height: 1.12;
  max-width: 240px;
}

.brand-founded {
  color: rgba(58, 101, 93, 0.82);
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: none;
}

.site-nav {
  margin-left: 0;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex: 1 1 auto;
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem;
  border-radius: 999px;
  border: 1px solid rgba(58, 101, 93, 0.12);
  background: rgba(255, 255, 255, 0.68);
}

.language-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.38rem;
  min-height: 36px;
  padding: 0 0.78rem;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.language-flag {
  font-size: 0.95rem;
  line-height: 1;
}

.language-pill.is-active {
  background: rgba(58, 101, 93, 0.12);
  color: var(--primary);
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.15rem 1.08rem;
  border-radius: 999px;
  color: var(--primary);
  font-size: 0.94rem;
  font-weight: 700;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 239, 230, 0.92));
  border: 1px solid rgba(58, 101, 93, 0.12);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 10px 22px rgba(58, 101, 93, 0.06);
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.site-nav a:hover,
.mini-link:hover,
.footer-links a:hover {
  color: var(--primary);
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: linear-gradient(180deg, rgba(255, 255, 255, 1), rgba(239, 226, 210, 0.96));
  border-color: rgba(58, 101, 93, 0.24);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 14px 30px rgba(58, 101, 93, 0.1);
  transform: translateY(-1px);
}

.site-nav a.is-active {
  background: linear-gradient(135deg, rgba(107, 141, 133, 0.18), rgba(58, 101, 93, 0.14));
  border-color: rgba(58, 101, 93, 0.26);
  color: var(--primary);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.75),
    0 12px 26px rgba(58, 101, 93, 0.11);
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 1.2rem;
  border-radius: 999px;
  font-size: 0.96rem;
  font-weight: 700;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
  border: 0;
  cursor: pointer;
}

.header-cta,
.button-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-soft) 100%);
  color: white;
  box-shadow: 0 12px 28px rgba(58, 101, 93, 0.18);
}

.button-secondary {
  background: white;
  color: var(--primary);
  border: 1px solid rgba(58, 101, 93, 0.18);
}

.button:hover,
.header-cta:hover {
  transform: translateY(-1px);
}

.app-download-hero {
  padding-bottom: 3rem;
}

.app-download-hero-grid {
  align-items: stretch;
  grid-template-columns: minmax(220px, 270px) minmax(0, 1fr);
  gap: 2rem;
}

.app-download-hero-stack {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  align-self: center;
  width: 100%;
  max-width: 270px;
}

.app-download-hero-badge {
  width: 100%;
  height: 68px;
}

.app-download-hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 720px;
  justify-self: end;
}

.app-download-intro-card,
.app-download-note,
.app-download-card {
  background: linear-gradient(180deg, rgba(255, 250, 244, 0.95), rgba(255, 255, 255, 0.94));
  border: 1px solid rgba(58, 101, 93, 0.12);
  box-shadow: var(--shadow);
}

.app-download-intro-card {
  padding: 1.5rem;
  border-radius: 28px;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.app-download-intro-card p:last-child {
  margin-bottom: 0;
}

.app-download-intro-title {
  margin: 0;
  font-family: var(--heading-font);
  font-size: clamp(1.5rem, 1.9vw, 2rem);
  line-height: 1.12;
}

.app-download-intro-lead {
  margin: 0;
  color: var(--muted);
  line-height: 1.72;
}

.app-download-intro-copy p + p {
  margin-top: 0.85rem;
}

.app-download-intro-copy p {
  color: var(--text);
  line-height: 1.72;
}

.app-download-section {
  padding-top: 0;
}

.app-download-note {
  max-width: 780px;
  margin: 0 auto 1.6rem;
  padding: 1.2rem 1.35rem;
  border-radius: 24px;
  text-align: center;
}

.app-download-note p:last-child {
  margin-bottom: 0;
}

.app-download-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.app-download-card {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding: 1.45rem;
  border-radius: 30px;
}

.app-download-card h2 {
  margin: 0 0 0.35rem;
  font-family: var(--heading-font);
  font-size: 1.7rem;
  line-height: 1.08;
}

.app-download-card p {
  margin: 0;
  color: var(--muted);
}

.app-download-card-head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: center;
}

.app-download-platform-mark {
  width: 72px;
  height: 72px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 24px;
  color: white;
  box-shadow: 0 16px 34px rgba(58, 101, 93, 0.16);
}

.app-download-platform-mark .store-icon {
  width: 2rem;
  height: 2rem;
}

.app-download-platform-mark-android {
  background: linear-gradient(135deg, #4f8655 0%, #76b96c 100%);
}

.app-download-platform-mark-ios {
  background: linear-gradient(135deg, #26333d 0%, #5f788a 100%);
}

.app-download-card-body {
  display: grid;
  grid-template-columns: minmax(180px, 220px) 1fr;
  gap: 1.3rem;
  align-items: center;
}

.app-download-qr-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(58, 101, 93, 0.1);
}

.app-download-qr-label {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.app-download-qr {
  width: min(100%, 180px);
  aspect-ratio: 1;
  padding: 0.55rem;
  border-radius: 20px;
  background: white;
  border: 1px solid rgba(58, 101, 93, 0.1);
}

.app-download-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.8rem;
}

.app-download-actions .store-badge {
  align-self: flex-start;
}

.app-download-direct-link {
  color: var(--primary);
  font-size: 0.92rem;
  font-weight: 700;
}

.app-download-intro-points {
  display: grid;
  gap: 0.7rem;
  margin: 0.15rem 0 0;
  padding: 0;
  list-style: none;
}

.app-download-intro-points li {
  position: relative;
  padding: 0.85rem 0.95rem 0.85rem 2.1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(58, 101, 93, 0.08);
  color: var(--text);
  line-height: 1.55;
}

.app-download-intro-points li::before {
  content: "";
  position: absolute;
  left: 0.9rem;
  top: 1.08rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 999px;
  background: var(--accent);
}

.app-download-details-section {
  padding-top: 0;
  padding-bottom: 0;
}

.app-download-details-section .shell {
  padding-top: 0;
}

.app-download-details-card {
  max-width: 980px;
  margin: 0 auto;
  padding: 1.6rem 1.7rem;
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(255, 250, 244, 0.96), rgba(255, 255, 255, 0.94));
  border: 1px solid rgba(58, 101, 93, 0.12);
  box-shadow: var(--shadow);
}

.app-download-details-head {
  max-width: 760px;
  margin-bottom: 1.1rem;
}

.app-download-details-head h2 {
  margin: 0.15rem 0 0.7rem;
  font-family: var(--heading-font);
  font-size: clamp(1.65rem, 2.3vw, 2.45rem);
  line-height: 1.08;
}

.app-download-details-head p {
  margin: 0;
  color: var(--muted);
  line-height: 1.72;
}

.app-download-details-copy {
  max-width: 760px;
}

.app-download-details-copy p + p {
  margin-top: 0.9rem;
}

.app-download-details-copy p {
  margin: 0;
  color: var(--text);
  line-height: 1.78;
  font-size: 1.01rem;
}

.blog-hero {
  padding: 1.55rem 0 0.35rem;
}

.blog-hero-shell,
.blog-article-hero-shell {
  display: grid;
  gap: 0.8rem;
}

.blog-hero-copy,
.blog-article-hero-copy {
  max-width: 760px;
}

.blog-hero-copy {
  max-width: 700px;
}

.blog-shell,
.blog-article-shell {
  display: grid;
  gap: 1.5rem;
}

.blog-index-section {
  padding-top: 0.35rem;
}

.blog-filters {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(180px, 0.7fr)) auto;
  gap: 1rem;
  padding: 1rem;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 250, 244, 0.96), rgba(255, 255, 255, 0.94));
  border: 1px solid rgba(58, 101, 93, 0.12);
  box-shadow: var(--shadow);
}

.blog-filters label {
  display: grid;
  gap: 0.45rem;
  color: var(--primary);
  font-size: 0.9rem;
  font-weight: 700;
}

.blog-filters input,
.blog-filters select {
  width: 100%;
  min-height: 48px;
  padding: 0.8rem 1rem;
  border-radius: 16px;
  border: 1px solid rgba(58, 101, 93, 0.14);
  background: white;
  font: inherit;
  color: var(--text);
}

.blog-filter-actions {
  display: flex;
  align-items: end;
  gap: 0.7rem;
}

.blog-feature-card,
.blog-card,
.blog-empty-state,
.blog-sidebar-card,
.blog-article-cta {
  background: linear-gradient(180deg, rgba(255, 250, 244, 0.96), rgba(255, 255, 255, 0.94));
  border: 1px solid rgba(58, 101, 93, 0.12);
  box-shadow: var(--shadow);
}

.blog-feature-card {
  display: grid;
  grid-template-columns: minmax(260px, 0.95fr) minmax(0, 1.1fr);
  gap: 1.2rem;
  padding: 1.2rem;
  border-radius: 32px;
}

.blog-feature-media,
.blog-card-media {
  display: block;
  overflow: hidden;
  border-radius: 24px;
}

.blog-feature-media img,
.blog-card-media img,
.blog-article-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-feature-copy {
  display: grid;
  align-content: start;
  gap: 0.8rem;
}

.blog-feature-badge,
.blog-chip,
.blog-tag,
.blog-language-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(58, 101, 93, 0.14);
  background: rgba(255, 255, 255, 0.78);
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 700;
}

.blog-feature-copy h2,
.blog-card h3,
.blog-related-section h2,
.blog-article-cta h2 {
  margin: 0;
  font-family: var(--heading-font);
  line-height: 1.08;
}

.blog-feature-copy h2 {
  font-size: clamp(1.8rem, 2.4vw, 2.5rem);
}

.blog-feature-copy p,
.blog-card p,
.blog-empty-state p,
.blog-sidebar-card p,
.blog-article-cta p {
  margin: 0;
  color: var(--muted);
  line-height: 1.72;
}

.blog-meta-row,
.blog-card-meta,
.blog-language-list,
.blog-tag-list,
.blog-share-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

.blog-card {
  display: grid;
  gap: 0.95rem;
  padding: 1rem;
  border-radius: 28px;
}

.blog-card-media {
  aspect-ratio: 1.45 / 1;
}

.blog-card-copy {
  display: grid;
  gap: 0.75rem;
}

.blog-card h3 {
  font-size: 1.35rem;
}

.blog-tag {
  text-decoration: none;
}

.blog-card .mini-link {
  width: 100%;
  justify-content: space-between;
  padding: 1rem 1.15rem;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-soft) 100%);
  border: 0;
  color: white;
  font-weight: 700;
  box-shadow: 0 14px 26px rgba(58, 101, 93, 0.18);
  transition: transform 180ms ease, box-shadow 180ms ease, opacity 180ms ease;
}

.blog-card .mini-link::after {
  content: "→";
  font-size: 1rem;
  line-height: 1;
  opacity: 0.9;
}

.blog-card .mini-link:hover,
.blog-card .mini-link:focus-visible {
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 18px 34px rgba(58, 101, 93, 0.22);
}

.blog-empty-state {
  padding: 1.3rem 1.4rem;
  border-radius: 28px;
  text-align: center;
}

.blog-article-hero-shell {
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  align-items: center;
}

.blog-article-hero-media {
  overflow: hidden;
  border-radius: 30px;
  min-height: 320px;
  box-shadow: var(--shadow);
}

.blog-article-shell {
  grid-template-columns: minmax(0, 1fr) minmax(260px, 320px);
  align-items: start;
}

.blog-intro-panel,
.blog-article-body {
  border-radius: 28px;
}

.blog-article-main {
  display: grid;
  gap: 1.2rem;
}

.blog-sidebar-card {
  padding: 1.1rem;
  border-radius: 24px;
  display: grid;
  gap: 0.8rem;
}

.blog-sidebar-card h3 {
  margin: 0;
  font-family: var(--heading-font);
  font-size: 1.25rem;
}

.blog-language-link.is-active {
  background: rgba(58, 101, 93, 0.12);
}

.blog-share-links a {
  font-weight: 700;
  color: var(--primary);
}

.blog-article-cta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.2rem 1.3rem;
  border-radius: 30px;
}

.blog-related-section {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
}

.section-heading {
  display: grid;
  gap: 0.25rem;
}

.section-heading h2 {
  margin: 0;
  font-family: var(--heading-font);
  font-size: clamp(1.6rem, 2vw, 2.2rem);
  line-height: 1.08;
}

.nav-toggle {
  display: none;
}

.hero,
.page-hero {
  padding: 5.75rem 0 4rem;
  position: relative;
  overflow: clip;
}

.hero-grid,
.page-hero-grid,
.two-column {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2.75rem;
  align-items: center;
}

.hero-copy h1,
.page-hero h1,
.section-heading h2 {
  margin: 0;
  font-family: var(--heading-font);
  line-height: 1.04;
  font-size: clamp(2.35rem, 5.4vw, 4.35rem);
  letter-spacing: -0.03em;
}

.locale-ro .hero-copy h1,
.locale-en .hero-copy h1 {
  font-size: clamp(2.1rem, 4.9vw, 4rem);
  max-width: 11ch;
}

.page-hero h1,
.section-heading h2 {
  font-size: clamp(2rem, 5vw, 3.4rem);
}

.eyebrow {
  margin: 0 0 1rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
}

.hero-lead,
.page-summary,
.section-heading p,
.lead-panel > div p,
.info-card p,
.link-card p,
.stacked-panel p,
.site-footer p {
  color: var(--muted);
  line-height: 1.7;
  font-size: 1.02rem;
}

.hero-trustline {
  margin: 1.1rem 0 0;
  color: var(--primary);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-actions,
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.35rem;
}

.hero-helper {
  margin: 1rem 0 0;
  font-size: 0.95rem;
  color: var(--muted);
}

.hero-helper a {
  color: var(--primary);
  font-weight: 700;
}

.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.65rem 0.95rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(58, 101, 93, 0.1);
  color: var(--primary);
  font-size: 0.92rem;
}

.hero-meta span {
  background: rgba(58, 101, 93, 0.08);
  font-weight: 700;
}

.hero-side,
.page-hero::before,
.home-page .hero::before,
.home-page .hero::after {
  position: relative;
}

.page-hero::before,
.home-page .hero::before,
.home-page .hero::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.home-page .hero::before {
  width: 340px;
  height: 340px;
  left: -110px;
  top: 55px;
  background: radial-gradient(circle, rgba(184, 106, 60, 0.18), transparent 72%);
}

.home-page .hero::after {
  width: 520px;
  height: 520px;
  right: -220px;
  top: -80px;
  background: radial-gradient(circle, rgba(58, 101, 93, 0.1), transparent 68%);
}

.hero-visual-card,
.page-hero-visual {
  position: relative;
  overflow: hidden;
  padding: 0.9rem;
  background: linear-gradient(180deg, rgba(255, 250, 244, 0.96), rgba(239, 226, 210, 0.88));
}

.hero-visual-card > img:last-child,
.page-hero-visual > img:last-child {
  border-radius: calc(var(--radius) + 8px);
  box-shadow: var(--shadow);
  width: 100%;
  height: auto;
}

.hero-portrait-card {
  max-width: 560px;
  margin-left: auto;
}

.hero-mark {
  position: absolute;
  top: 1.1rem;
  right: 1.2rem;
  width: 84px;
  opacity: 0.08;
  mix-blend-mode: multiply;
}

.hero-facts-card {
  max-width: 430px;
  margin: 1rem 0 0 auto;
  padding: 1.2rem;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(58, 101, 93, 0.08);
  box-shadow: var(--shadow);
}

.hero-facts-card .eyebrow {
  margin-bottom: 0.85rem;
}

.hero-panel-copy {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
  font-size: 1rem;
}

.section {
  padding: 4.5rem 0;
}

.section.muted {
  background: rgba(255, 255, 255, 0.45);
}

.section.accent {
  background: linear-gradient(180deg, rgba(58, 101, 93, 0.03), rgba(58, 101, 93, 0.08));
}

.section-heading {
  max-width: 760px;
  margin-bottom: 2rem;
}

.card-grid,
.link-grid,
.mini-grid,
.audience-grid,
.curriculum-grid,
.proof-grid {
  display: grid;
  gap: 1rem;
}

.card-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.link-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mini-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.audience-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

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

.proof-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.benefits-panel {
  max-width: 760px;
  padding: 1.5rem 1.7rem;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(58, 101, 93, 0.09);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.benefit-list {
  margin: 0;
  padding-left: 1.3rem;
}

.benefit-list li {
  color: var(--text);
  font-size: 1.02rem;
  line-height: 1.75;
}

.facts-grid .fact-card p {
  color: var(--primary);
  font-family: var(--heading-font);
  font-size: 1.35rem;
  line-height: 1.3;
}

.course-schedule-years {
  display: grid;
  gap: 1.5rem;
}

.course-schedule-year {
  display: grid;
  gap: 1rem;
}

.course-schedule-year-head {
  display: none;
}

.course-schedule-year-head span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 5.75rem;
  min-height: 2.3rem;
  padding: 0.2rem 0.95rem;
  border-radius: 999px;
  background: rgba(58, 101, 93, 0.12);
  color: var(--primary);
  font-weight: 800;
  letter-spacing: 0.03em;
}

.course-schedule-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.course-schedule-month {
  display: grid;
  gap: 0.95rem;
  padding: 1.25rem 1.25rem 1.1rem;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(58, 101, 93, 0.09);
  box-shadow: 0 18px 40px rgba(24, 32, 31, 0.07);
}

.course-schedule-month h3 {
  margin: 0;
  font-size: 1.22rem;
  color: var(--primary);
}

.course-schedule-items {
  display: grid;
}

.course-schedule-item {
  display: grid;
  grid-template-columns: minmax(0, 140px) minmax(0, 1fr) minmax(72px, auto) minmax(120px, auto);
  gap: 0.9rem;
  align-items: center;
  padding: 0.78rem 0;
  border-top: 1px solid rgba(58, 101, 93, 0.08);
}

.course-schedule-items .course-schedule-item:first-child {
  border-top: 0;
  padding-top: 0;
}

.course-schedule-row-meta {
  display: grid;
  gap: 0.14rem;
}

.course-schedule-date {
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 700;
}

.course-schedule-day {
  color: var(--muted);
  font-size: 0.81rem;
}

.course-schedule-item strong {
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.45;
}

.course-schedule-event {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  min-width: 0;
}

.course-schedule-event strong {
  min-width: 0;
}

.course-schedule-apply-button {
  justify-self: end;
  min-height: 38px;
  padding: 0 1rem;
  background: linear-gradient(135deg, var(--accent) 0%, #d8804c 100%);
  border: 1px solid rgba(184, 106, 60, 0.26);
  color: #fff;
  font-size: 0.86rem;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 12px 26px rgba(184, 106, 60, 0.22);
  white-space: nowrap;
}

.course-schedule-apply-button:hover,
.course-schedule-apply-button:focus-visible {
  background: linear-gradient(135deg, #c87543 0%, var(--accent) 100%);
  color: #fff;
  box-shadow: 0 15px 30px rgba(184, 106, 60, 0.28);
}

.course-schedule-item strong.is-empty,
.course-schedule-fee.is-empty {
  color: rgba(24, 32, 31, 0.42);
}

.course-schedule-fee {
  justify-self: end;
  color: var(--primary);
  font-size: 0.87rem;
  font-weight: 700;
  text-align: right;
  white-space: nowrap;
}

.course-schedule-note-panel {
  margin-top: 1.2rem;
}

.forum-panel {
  display: grid;
  gap: 1rem;
}

.therapist-account-forum-alert {
  min-width: 46px;
}

.forum-unavailable {
  padding: 0.95rem 1rem;
  border: 1px solid rgba(58, 101, 93, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.76);
}

.forum-unavailable h3 {
  margin: 0 0 0.5rem;
}

.forum-classic {
  display: grid;
  gap: 0.85rem;
}

.forum-notifications,
.forum-strip,
.forum-board {
  padding: 0.95rem 1rem;
  border: 1px solid rgba(58, 101, 93, 0.28);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    0 12px 26px rgba(24, 32, 31, 0.05);
}

.forum-notifications-head,
.forum-strip-head,
.forum-board-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.8rem;
}

.forum-notifications-head h3,
.forum-strip-head h3,
.forum-board-head h3 {
  margin: 0;
  font-size: 1.1rem;
}

.forum-board-head .eyebrow {
  margin-bottom: 0.35rem;
}

.forum-board-copy {
  display: grid;
  gap: 0.28rem;
}

.forum-board-tools {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.forum-board-description {
  margin: 0.28rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.forum-notification-list,
.forum-category-strip,
.forum-thread-list,
.forum-post-list {
  display: grid;
  gap: 0.55rem;
}

.forum-category-strip {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.forum-notification-item,
.forum-category-tab,
.forum-thread,
.forum-post {
  border-radius: 12px;
  border: 1px solid rgba(58, 101, 93, 0.22);
  background: rgba(255, 255, 255, 0.9);
}

.forum-notification-item {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 0.9rem;
  padding: 0.7rem 0.8rem;
  text-decoration: none;
  color: inherit;
}

.forum-notification-item.is-unread {
  border-color: rgba(184, 106, 60, 0.32);
  background: rgba(255, 251, 247, 0.96);
}

.forum-notification-copy {
  display: grid;
  gap: 0.12rem;
}

.forum-notification-copy strong,
.forum-thread-title,
.forum-post strong {
  margin: 0;
  color: var(--primary);
}

.forum-notification-copy span,
.forum-notification-copy em,
.forum-category-tab span,
.forum-notification-meta time,
.forum-thread-meta,
.forum-post-counter,
.forum-post-count,
.forum-pager span {
  color: var(--muted);
  font-size: 0.84rem;
}

.forum-notification-meta {
  display: grid;
  justify-items: end;
  gap: 0.24rem;
  white-space: nowrap;
}

.forum-notification-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 22px;
  padding: 0 0.55rem;
  border-radius: 999px;
  background: rgba(184, 106, 60, 0.14);
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 700;
}

.forum-category-tab {
  display: grid;
  gap: 0.18rem;
  padding: 0.7rem 0.8rem;
  text-decoration: none;
  color: inherit;
  transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.forum-category-tab:hover,
.forum-category-tab:focus-visible {
  border-color: rgba(58, 101, 93, 0.28);
  box-shadow: 0 10px 18px rgba(24, 32, 31, 0.04);
}

.forum-category-tab.is-active {
  border-color: rgba(58, 101, 93, 0.42);
  background: rgba(239, 246, 244, 0.96);
  box-shadow: inset 0 0 0 1px rgba(58, 101, 93, 0.08);
}

.forum-compose-toggle summary::-webkit-details-marker,
.forum-reply-toggle summary::-webkit-details-marker {
  display: none;
}

.forum-compose-toggle summary,
.forum-reply-toggle summary {
  list-style: none;
}

.forum-thread {
  overflow: hidden;
}

.forum-thread.is-open {
  border-color: rgba(58, 101, 93, 0.34);
  box-shadow: 0 10px 24px rgba(24, 32, 31, 0.05);
}

.forum-thread-summary {
  display: grid;
  gap: 0.28rem;
  padding: 0.8rem 0.95rem;
  border-bottom: 1px solid rgba(58, 101, 93, 0.14);
}

.forum-thread:not(.is-open) .forum-thread-summary {
  border-bottom: 0;
}

.forum-thread-title-row {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 0.55rem;
}

.forum-thread-title-link {
  text-decoration: none;
  color: inherit;
}

.forum-thread-title-link:hover .forum-thread-title,
.forum-thread-title-link:focus-visible .forum-thread-title {
  color: var(--accent);
}

.forum-thread-title {
  font-size: 1rem;
  line-height: 1.3;
}

.forum-topic-badge,
.forum-topic-state {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 22px;
  padding: 0 0.5rem;
  border-radius: 999px;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  background: rgba(184, 106, 60, 0.12);
  color: var(--accent);
}

.forum-thread-content {
  display: grid;
  gap: 0.75rem;
  padding: 0.85rem 0.95rem 0.95rem;
}

.forum-post-toolbar,
.forum-pager,
.forum-post-header,
.forum-post-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.forum-post-toolbar,
.forum-pager,
.forum-post-actions {
  flex-wrap: wrap;
}

.forum-sort-toggle {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.forum-sort-toggle a,
.forum-pager a,
.forum-inline-link,
.forum-reaction-button {
  border: 1px solid rgba(58, 101, 93, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--primary);
  text-decoration: none;
  transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease, color 160ms ease;
}

.forum-sort-toggle a,
.forum-pager a,
.forum-inline-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 0.78rem;
  font-size: 0.82rem;
  font-weight: 700;
}

.forum-sort-toggle a.is-active {
  border-color: rgba(58, 101, 93, 0.44);
  background: rgba(239, 246, 244, 0.96);
  box-shadow: inset 0 0 0 1px rgba(58, 101, 93, 0.08);
}

.forum-post.is-own {
  border-color: rgba(184, 106, 60, 0.34);
}

.forum-post {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  align-items: start;
  gap: 0.75rem;
  padding: 0.7rem 0.8rem;
}

.forum-post-avatar {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid rgba(58, 101, 93, 0.22);
  background: rgba(239, 246, 244, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-weight: 800;
}

.forum-post-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.forum-post-main {
  display: grid;
  gap: 0.5rem;
  min-width: 0;
}

.forum-post-header {
  align-items: start;
}

.forum-post-meta-right {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.forum-post-sequence {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  padding: 0 0.5rem;
  border-radius: 999px;
  border: 1px solid rgba(58, 101, 93, 0.18);
  background: rgba(239, 246, 244, 0.94);
  color: var(--primary);
  font-size: 0.76rem;
  font-weight: 800;
}

.forum-post-header time {
  color: var(--muted);
  font-size: 0.84rem;
  white-space: nowrap;
}

.forum-post-author-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.forum-post-counter {
  font-weight: 600;
}

.forum-post-body {
  color: var(--text);
  font-size: 0.93rem;
  line-height: 1.55;
  white-space: normal;
}

.forum-post-quote,
.forum-quote-preview {
  display: grid;
  gap: 0.3rem;
  padding: 0.7rem 0.8rem;
  border-radius: 12px;
  border: 1px solid rgba(184, 106, 60, 0.22);
  background: rgba(255, 248, 242, 0.92);
}

.forum-post-quote-label {
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.forum-post-quote p,
.forum-quote-preview p {
  margin: 0;
  color: var(--muted);
  font-size: 0.87rem;
  line-height: 1.5;
}

.forum-inline-link:hover,
.forum-inline-link:focus-visible,
.forum-sort-toggle a:hover,
.forum-sort-toggle a:focus-visible,
.forum-pager a:hover,
.forum-pager a:focus-visible,
.forum-reaction-button:hover,
.forum-reaction-button:focus-visible {
  border-color: rgba(58, 101, 93, 0.34);
  box-shadow: 0 8px 16px rgba(24, 32, 31, 0.04);
}

.forum-reaction-form {
  margin: 0;
}

.forum-reaction-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.42rem;
  align-items: center;
}

.forum-reaction-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  min-height: 38px;
  padding: 0 0.78rem 0 0.58rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.005em;
  cursor: pointer;
  transition: transform 0.16s ease, border-color 0.16s ease, background 0.16s ease, box-shadow 0.16s ease;
}

.forum-reaction-button:hover,
.forum-reaction-button:focus-visible {
  transform: translateY(-1px);
}

.forum-reaction-button.is-icon,
.forum-reaction-button.is-text {
  min-width: 0;
  padding: 0 0.78rem 0 0.58rem;
  justify-content: center;
}

.forum-reaction-button.is-icon .forum-reaction-label {
  position: static;
  width: auto;
  height: auto;
  padding: 0;
  margin: 0;
  overflow: visible;
  clip: auto;
  white-space: nowrap;
  border: 0;
}

.forum-reaction-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255,255,255,0.92), rgba(246,239,230,0.9));
  box-shadow: inset 0 0 0 1px rgba(128, 91, 57, 0.08), 0 4px 9px rgba(24, 32, 31, 0.07);
  color: currentColor;
  flex: 0 0 auto;
}

.forum-reaction-icon svg {
  width: 21px;
  height: 21px;
  display: block;
}

.forum-reaction-button strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.42rem;
  height: 1.42rem;
  padding: 0 0.34rem;
  border-radius: 999px;
  background: rgba(184, 106, 60, 0.1);
  color: var(--accent);
  font-size: 0.74rem;
}

.forum-reaction-button.is-active {
  border-color: rgba(184, 106, 60, 0.44);
  background: linear-gradient(180deg, rgba(255, 250, 246, 0.98), rgba(248, 235, 224, 0.96));
  box-shadow: 0 10px 20px rgba(112, 77, 50, 0.1);
}

.forum-reaction-button.is-active .forum-reaction-icon {
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(184, 106, 60, 0.18), 0 5px 12px rgba(184, 106, 60, 0.14);
}

.forum-form {
  gap: 0.75rem;
}

.lead-form.forum-compose-form,
.lead-form.forum-reply-form {
  grid-template-columns: minmax(0, 1fr);
}

.lead-form.forum-compose-form label,
.lead-form.forum-reply-form label {
  grid-column: 1 / -1;
}

.forum-form textarea,
.forum-form input[type="text"] {
  width: 100%;
}

.forum-compose-form input[type="text"],
.forum-compose-form textarea,
.forum-reply-form textarea {
  border-color: rgba(58, 101, 93, 0.24);
  border-radius: 14px;
}

.forum-compose-form textarea {
  min-height: 136px;
}

.forum-reply-form textarea {
  min-height: 148px;
}

.forum-compose-toggle,
.forum-reply-toggle {
  display: grid;
  gap: 0.65rem;
  justify-items: stretch;
}

.forum-compose-toggle > summary,
.forum-reply-toggle > summary {
  cursor: pointer;
}

.forum-compose-toggle > summary.button,
.forum-reply-toggle > summary.button,
.forum-compose-form .button,
.forum-reply-form .button {
  width: fit-content;
  min-height: 38px;
  padding: 0 0.95rem;
  font-size: 0.88rem;
  box-shadow: 0 8px 18px rgba(58, 101, 93, 0.12);
}

.forum-compose-form,
.forum-reply-form {
  width: 100%;
  padding-top: 0.15rem;
}

.forum-compose-toggle[open],
.forum-reply-toggle[open] {
  width: 100%;
}

.forum-compose-form,
.forum-reply-form {
  max-width: none;
}

.forum-compose-form .button-primary,
.forum-reply-form .button-primary {
  align-self: start;
}

.forum-compose-form label,
.forum-reply-form label {
  width: 100%;
}

.forum-compose-toggle {
  margin-bottom: 0.9rem;
}

.forum-compose-toggle[open] > summary,
.forum-reply-toggle[open] > summary {
  margin-bottom: 0.2rem;
}


.forum-notifications-compact {
  padding: 0.72rem 0.85rem;
}

.forum-notifications-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  list-style: none;
  cursor: pointer;
  color: var(--primary);
}

.forum-notifications-summary::-webkit-details-marker {
  display: none;
}

.forum-notifications-summary span {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.forum-notifications-summary strong {
  font-size: 1rem;
}

.forum-notifications-summary em,
.forum-new-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  padding: 0 0.62rem;
  border-radius: 999px;
  border: 1px solid rgba(184, 106, 60, 0.22);
  background: rgba(184, 106, 60, 0.12);
  color: #8f342f;
  font-style: normal;
  font-size: 0.72rem;
  font-weight: 900;
  white-space: nowrap;
}

.forum-notifications-summary small {
  color: var(--muted);
  font-weight: 800;
}

.forum-notifications-compact[open] .forum-notification-list {
  margin-top: 0.65rem;
}

.forum-category-table {
  display: grid;
  gap: 0.42rem;
}

.forum-category-row {
  display: grid;
  grid-template-columns: minmax(220px, 1.7fr) minmax(86px, 0.56fr) minmax(118px, 0.7fr) minmax(86px, 0.55fr) minmax(132px, 0.82fr);
  align-items: center;
  gap: 0.65rem;
  min-height: 58px;
  padding: 0.72rem 0.82rem;
  border: 1px solid rgba(58, 101, 93, 0.18);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.92);
  color: inherit;
  text-decoration: none;
  transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.forum-category-row:nth-child(odd):not(.forum-category-row-head) {
  background: rgba(246, 239, 230, 0.62);
}

.forum-category-row:hover,
.forum-category-row:focus-visible {
  border-color: rgba(58, 101, 93, 0.36);
  background: rgba(239, 246, 244, 0.96);
  box-shadow: 0 12px 24px rgba(24, 32, 31, 0.06);
  transform: translateY(-1px);
}

.forum-category-row.has-unread {
  border-color: rgba(184, 106, 60, 0.34);
  box-shadow: inset 0 0 0 1px rgba(184, 106, 60, 0.06);
}

.forum-category-row-head {
  min-height: 0;
  padding: 0.36rem 0.82rem;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.forum-category-row-head:hover,
.forum-category-row-head:focus-visible {
  background: transparent;
  box-shadow: none;
  transform: none;
}

.forum-category-name {
  display: grid;
  gap: 0.2rem;
  min-width: 0;
}

.forum-category-name strong {
  color: var(--primary);
  font-size: 1rem;
  line-height: 1.25;
}

.forum-category-name small,
.forum-category-stat small,
.forum-category-last,
.forum-muted-chip {
  color: var(--muted);
  font-size: 0.82rem;
}

.forum-category-stat,
.forum-category-new,
.forum-category-last {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.32rem;
  min-width: 0;
}

.forum-category-stat strong {
  color: var(--primary);
  font-size: 1rem;
}

.forum-muted-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  padding: 0 0.58rem;
  border-radius: 999px;
  border: 1px solid rgba(58, 101, 93, 0.12);
  background: rgba(255, 255, 255, 0.7);
  font-weight: 800;
  white-space: nowrap;
}

.forum-thread-summary {
  grid-template-columns: auto minmax(0, 1fr) minmax(76px, auto) minmax(128px, auto);
  align-items: center;
}

.forum-thread.has-unread {
  border-color: rgba(184, 106, 60, 0.36);
  box-shadow: inset 0 0 0 1px rgba(184, 106, 60, 0.06);
}

.forum-thread.has-unread:not(.is-open) .forum-thread-summary {
  background: rgba(255, 248, 242, 0.8);
}

@media (max-width: 760px) {
  .forum-notifications,
  .forum-strip,
  .forum-board {
    padding: 0.85rem 0.85rem;
  }

  .forum-notification-item,
  .forum-strip-head,
  .forum-board-head,
  .forum-post-header,
  .forum-post-actions,
  .forum-pager {
    flex-direction: column;
    align-items: stretch;
  }

  .forum-category-strip {
    grid-template-columns: 1fr;
  }


  .forum-notifications-summary {
    align-items: flex-start;
    flex-direction: column;
  }

  .forum-category-row,
  .forum-category-row-head,
  .forum-thread-summary {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .forum-category-row-head {
    display: none;
  }

  .forum-category-stat,
  .forum-category-new,
  .forum-category-last {
    justify-content: flex-start;
  }

  .forum-post {
    grid-template-columns: 1fr;
  }

  .forum-post-avatar {
    width: 40px;
    height: 40px;
  }

  .forum-post-meta-right {
    justify-content: flex-start;
  }

  .forum-thread-summary,
  .forum-thread-content {
    padding-left: 0.8rem;
    padding-right: 0.8rem;
  }
}

.info-card,
.link-card,
.stacked-panel article,
.audience-card,
.curriculum-card,
.proof-card,
.lead-panel,
.rich-content > div[style*="background"],
.embedded-playlist,
.video-frame,
.admin-sidebar,
.admin-main {
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(58, 101, 93, 0.09);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
}

.info-card,
.link-card,
.stacked-panel article,
.audience-card,
.curriculum-card,
.proof-card {
  padding: 1.35rem;
}

.info-card,
.audience-card,
.curriculum-card,
.proof-card,
.link-card {
  position: relative;
  overflow: hidden;
}

.info-card::before,
.audience-card::before,
.curriculum-card::before,
.proof-card::before,
.link-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), rgba(184, 106, 60, 0));
}

.info-card strong,
.link-card h3,
.stacked-panel strong,
.audience-card h3,
.curriculum-card strong,
.proof-card strong {
  display: block;
  margin-bottom: 0.6rem;
  font-size: 1.15rem;
}

.audience-card h3 {
  margin-top: 0;
}

.link-card a {
  color: var(--primary);
  font-weight: 700;
}

.proof-card a {
  margin-top: 0.8rem;
  color: var(--primary);
  font-weight: 700;
}

.proof-meta {
  display: inline-block;
  margin-bottom: 0.85rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.section-link-row {
  margin: 1.25rem 0 0;
}

.stacked-panel {
  display: grid;
  gap: 1rem;
}

.lead-panel {
  padding: 2rem;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 1.5rem;
  position: relative;
  overflow: hidden;
}

.lead-panel::before {
  content: "";
  position: absolute;
  inset: auto -80px -90px auto;
  width: 220px;
  height: 220px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(184, 106, 60, 0.16), transparent 68%);
  pointer-events: none;
}

.lead-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.lead-form-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.lead-form label {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  color: var(--primary);
  font-size: 0.9rem;
}

.therapist-field-label {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  flex-wrap: wrap;
}

.therapist-required-marker,
.therapist-required-note {
  color: #b4232f;
}

.therapist-required-marker {
  font-weight: 800;
}

.therapist-required-note {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.35;
}

.lead-form label.full {
  grid-column: 1 / -1;
}

.lead-form .full {
  grid-column: 1 / -1;
}

.lead-form-consent {
  grid-column: 1 / -1;
}

.lead-form input,
.lead-form select,
.lead-form textarea,
.admin-main input,
.admin-main textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  border-radius: 16px;
  border: 1px solid rgba(58, 101, 93, 0.18);
  background: white;
  font: inherit;
  color: var(--text);
}

.lead-form textarea,
.admin-main textarea {
  resize: vertical;
}

.rich-editor {
  display: grid;
  gap: 0.55rem;
}

.rich-editor-source {
  display: none !important;
}

.rich-editor-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  padding: 0.45rem;
  border-radius: 16px;
  border: 1px solid rgba(58, 101, 93, 0.14);
  background: rgba(58, 101, 93, 0.05);
}

.rich-editor-button {
  min-width: 36px;
  height: 36px;
  padding: 0 0.65rem;
  border-radius: 12px;
  border: 1px solid rgba(58, 101, 93, 0.16);
  background: white;
  color: var(--primary);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
}

.rich-editor-button.is-active,
.rich-editor-button:hover {
  background: rgba(58, 101, 93, 0.12);
}

.rich-editor-surface {
  min-height: 160px;
  padding: 1rem;
  border-radius: 18px;
  border: 1px solid rgba(58, 101, 93, 0.18);
  background: white;
  color: var(--text);
  line-height: 1.7;
  outline: none;
}

.rich-editor-surface:focus {
  border-color: rgba(58, 101, 93, 0.32);
  box-shadow: 0 0 0 4px rgba(58, 101, 93, 0.08);
}

.rich-editor-surface h2,
.rich-editor-surface h3,
.rich-editor-surface p,
.rich-editor-surface ul,
.rich-editor-surface ol {
  margin: 0 0 0.9rem;
}

.rich-editor-surface ul,
.rich-editor-surface ol {
  padding-left: 1.2rem;
}

.rich-editor-surface p:last-child,
.rich-editor-surface h2:last-child,
.rich-editor-surface h3:last-child,
.rich-editor-surface ul:last-child,
.rich-editor-surface ol:last-child {
  margin-bottom: 0;
}

.checkbox-row {
  display: flex !important;
  flex-direction: row !important;
  align-items: flex-start;
  gap: 0.75rem !important;
  font-size: 0.92rem !important;
  line-height: 1.55;
  color: var(--muted) !important;
}

.checkbox-row input[type="checkbox"] {
  width: 1rem;
  min-width: 1rem;
  height: 1rem;
  margin-top: 0.2rem;
  padding: 0;
}

.trap-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-feedback {
  grid-column: 1 / -1;
  min-height: 1.2rem;
  color: var(--primary);
}

.contact-methods {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.25rem;
}

.mini-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 1rem 1.1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(58, 101, 93, 0.1);
  color: var(--muted);
}

.social-icon {
  width: 1rem;
  height: 1rem;
  flex: 0 0 1rem;
}

.page-shell {
  max-width: 980px;
}

.page-shell.page-shell-aligned {
  max-width: 1120px;
  display: grid;
  gap: 1.35rem;
}

.page-intro-card {
  background:
    radial-gradient(circle at top left, rgba(184, 106, 60, 0.14), transparent 48%),
    linear-gradient(135deg, rgba(255, 250, 244, 0.95), rgba(247, 239, 230, 0.86));
  border: 1px solid rgba(58, 101, 93, 0.08);
  box-shadow: 0 22px 54px rgba(24, 32, 31, 0.08);
}

.page-intro-card h1 {
  margin: 0;
  max-width: 16ch;
}

.page-intro-card p:last-child {
  max-width: 68ch;
  margin-bottom: 0;
}

.content-page-main-card {
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 22px 56px rgba(24, 32, 31, 0.08);
}

.content-rich-legacy {
  display: grid;
  gap: 1.1rem;
}

.content-rich-legacy > div {
  display: grid;
  gap: 1.1rem;
}

.content-rich-legacy h1,
.content-rich-legacy h2,
.content-rich-legacy h3,
.content-rich-legacy h4,
.content-rich-legacy h5,
.content-rich-legacy h6 {
  color: var(--text);
}

.content-rich-legacy h1 {
  font-size: clamp(2.05rem, 4vw, 3.15rem);
  line-height: 1.04;
  margin: 0 0 0.35rem;
}

.content-rich-legacy h2 {
  font-size: clamp(1.65rem, 2.8vw, 2.3rem);
  line-height: 1.1;
  margin: 1.4rem 0 0.4rem;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid rgba(58, 101, 93, 0.08);
}

.content-rich-legacy h3 {
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  line-height: 1.22;
  margin: 1rem 0 0.15rem;
  color: var(--primary);
}

.content-rich-legacy p,
.content-rich-legacy li {
  color: var(--muted);
  line-height: 1.8;
}

.content-rich-legacy ul,
.content-rich-legacy ol {
  margin: 0;
  padding: 1.15rem 1.2rem 1.15rem 2.25rem;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(58, 101, 93, 0.08);
}

.content-rich-legacy ul li + li,
.content-rich-legacy ol li + li {
  margin-top: 0.45rem;
}

.content-rich-legacy a {
  color: var(--primary);
  font-weight: 600;
}

.content-rich-legacy a.button-primary,
.content-rich-legacy a.button-primary:visited,
.content-rich-legacy a.legacy-map-direction-button,
.content-rich-legacy a.legacy-map-direction-button:visited,
.legacy-map-actions a.button-primary,
.legacy-map-actions a.button-primary:visited {
  color: #fff;
}

.page-masajul-seishin .content-page-main-card,
.page-orvosi-ajanlas .content-page-main-card,
.page-gyakran-ismetelt-kerdesek .content-page-main-card,
.page-kapcsolat .content-page-main-card {
  padding: 2.45rem;
}

.page-kapcsolat .content-rich-legacy h2,
.page-orvosi-ajanlas .content-rich-legacy h2 {
  margin-top: 1.1rem;
}

.page-gyakran-ismetelt-kerdesek .faq-legacy-item {
  display: grid;
  gap: 0.7rem;
  padding: 1.25rem 1.35rem;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(58, 101, 93, 0.1);
  box-shadow: var(--shadow);
}

.page-gyakran-ismetelt-kerdesek .faq-legacy-question {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  background: rgba(58, 101, 93, 0.09);
  color: var(--primary);
  font-weight: 700;
  line-height: 1.35;
}

.page-gyakran-ismetelt-kerdesek .faq-legacy-answer {
  color: var(--muted);
  line-height: 1.8;
}

.legacy-map-embed {
  display: grid;
  gap: 0.95rem;
}

.legacy-map-actions {
  display: flex;
  justify-content: flex-start;
}

.legacy-map-direction-button {
  min-width: 0;
  box-shadow: 0 14px 26px rgba(58, 101, 93, 0.16);
}

.rich-content {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(58, 101, 93, 0.08);
  border-radius: 32px;
  padding: 1.8rem;
  overflow: hidden;
}

.content-page .rich-content {
  padding: 2.25rem;
}

.rich-content .content-rich {
  display: grid;
  gap: 1.2rem;
}

.rich-content h1,
.rich-content h2,
.rich-content h3,
.rich-content h4,
.rich-content h5,
.rich-content h6 {
  color: var(--primary);
}

.rich-content h2 {
  margin-top: 2.2rem;
}

.rich-content .content-rich > h2:first-child {
  margin-top: 0;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid rgba(58, 101, 93, 0.1);
}

.rich-content h3 {
  margin: 1.1rem 0 0.15rem;
  font-size: 1.35rem;
}

.rich-content p,
.rich-content li {
  line-height: 1.75;
  color: var(--muted);
}

.rich-content .content-rich > p,
.rich-content .content-rich > ul,
.rich-content .content-rich > ol,
.rich-content .content-rich > blockquote,
.rich-content .content-rich > .table-wrap,
.rich-content .content-rich > .video-frame,
.rich-content .content-rich > .embedded-playlist,
.rich-content .content-rich > .testimonial-entry,
.rich-content .content-rich > .faq-item {
  margin: 0;
}

.rich-content .content-rich > ul,
.rich-content .content-rich > ol {
  padding: 1.25rem 1.4rem 1.25rem 2.4rem;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(58, 101, 93, 0.08);
}

.rich-content .content-rich > ul li + li,
.rich-content .content-rich > ol li + li {
  margin-top: 0.55rem;
}

.rich-content blockquote {
  margin: 0;
  padding: 1.25rem 1.4rem;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(255, 250, 244, 0.95), rgba(239, 226, 210, 0.72));
  border: 1px solid rgba(58, 101, 93, 0.08);
  border-left: 4px solid var(--accent);
  box-shadow: var(--shadow);
}

.rich-content blockquote p {
  margin: 0;
  color: var(--text);
  font-style: italic;
}

.testimonial-entry,
.faq-item {
  padding: 1.45rem 1.5rem;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(58, 101, 93, 0.1);
  box-shadow: var(--shadow);
}

.testimonial-entry h3,
.faq-item h3 {
  margin-top: 0;
}

.testimonial-entry p:last-child,
.faq-item p:last-child {
  margin-bottom: 0;
}

.table-wrap {
  overflow-x: auto;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(58, 101, 93, 0.09);
  box-shadow: var(--shadow);
}

.content-list {
  margin: 1rem 0 1.5rem 1.2rem;
  padding: 0 0 0 1rem;
}

.content-list li + li {
  margin-top: 0.55rem;
}

.rich-content table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  margin: 0;
  min-width: 780px;
}

.rich-content th,
.rich-content td {
  border: 1px solid rgba(58, 101, 93, 0.12);
  padding: 0.8rem;
  text-align: left;
}

.rich-content th {
  background: rgba(58, 101, 93, 0.08);
  color: var(--primary);
}

.rich-content tr:nth-child(even) td {
  background: rgba(255, 255, 255, 0.55);
}

.page-tanuloink-mondjak .rich-content,
.page-paciensek-a-seishin-terapiarol .rich-content,
.page-videok .rich-content {
  padding: 2.35rem;
}

.page-tanuloink-mondjak .rich-content > h2:first-child,
.page-paciensek-a-seishin-terapiarol .rich-content > p:first-child + p,
.page-videok .embedded-playlist h2 {
  font-family: var(--heading-font);
}

.page-tanuloink-mondjak .rich-content > h2:first-child {
  margin-top: 0;
  margin-bottom: 2rem;
  text-align: center;
  color: #1976d2;
  font-size: clamp(1.65rem, 3vw, 2.1rem);
}

.page-tanuloink-mondjak .rich-content h3 {
  margin-top: 2rem;
  color: var(--primary);
  font-size: 1.22rem;
}

.page-tanuloink-mondjak .rich-content pre {
  margin: 0.55rem 0 0;
  padding: 1.45rem 1.55rem;
  white-space: pre-wrap;
  font-family: inherit;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(58, 101, 93, 0.09);
  border-left: 4px solid var(--accent);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.page-paciensek-a-seishin-terapiarol .rich-content {
  display: grid;
  gap: 1.2rem;
}

.page-paciensek-a-seishin-terapiarol .rich-content > p {
  margin: 0;
}

.page-paciensek-a-seishin-terapiarol .rich-content > p:empty,
.page-paciensek-a-seishin-terapiarol .rich-content > div:empty {
  display: none;
}

.page-paciensek-a-seishin-terapiarol .rich-content > p:nth-of-type(2),
.page-paciensek-a-seishin-terapiarol .rich-content > p:nth-of-type(9) {
  margin-top: 0.2rem;
  color: var(--primary);
  font-family: var(--heading-font);
  font-size: clamp(1.5rem, 2.8vw, 1.95rem);
  line-height: 1.18;
}

.page-paciensek-a-seishin-terapiarol .rich-content .video-frame,
.page-paciensek-a-seishin-terapiarol .rich-content iframe {
  border-radius: 26px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.page-videok .embedded-playlist {
  max-width: 820px;
  margin: 0 auto;
  padding: 2rem 1.8rem;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(58, 101, 93, 0.1);
  box-shadow: var(--shadow);
}

.page-videok .embedded-playlist h2 {
  margin-top: 0.35rem;
  text-align: center;
  color: var(--primary);
}

.page-videok .embedded-playlist .eyebrow,
.page-videok .embedded-playlist p {
  text-align: center;
}

.embedded-playlist {
  padding: 1.5rem;
}

.legacy-course-wrap {
  max-width: 760px;
  margin: 0 auto;
  display: grid;
  gap: 1.8rem;
}

.legacy-course-countdown,
.legacy-course-card,
.legacy-course-testimonials,
.legacy-course-footer {
  border-radius: 22px;
  box-shadow: 0 16px 38px rgba(255, 214, 210, 0.7);
}

.legacy-course-countdown {
  padding: 1.4rem 1.6rem;
  text-align: center;
  border: 3px solid #ff8f7d;
  background: #ffe2dc;
  color: #d94b27;
}

.legacy-course-countdown strong {
  display: block;
  margin-bottom: 0.55rem;
  font-family: var(--heading-font);
  font-size: 1.15rem;
  color: inherit;
}

.legacy-course-countdown span {
  display: block;
  font-family: var(--heading-font);
  font-size: clamp(1.4rem, 3vw, 2rem);
  line-height: 1.2;
}

.legacy-course-card,
.legacy-course-testimonials,
.legacy-course-footer {
  padding: 2rem 1.7rem;
  background: linear-gradient(180deg, #fff8f6, #fff1ee);
  border: 1px solid rgba(255, 143, 125, 0.24);
}

.legacy-course-card h2,
.legacy-course-testimonials h3,
.legacy-course-footer h3 {
  margin-top: 0;
  text-align: center;
  color: #d94b27;
}

.legacy-course-card > p,
.legacy-course-footer > p {
  text-align: center;
}

.legacy-course-card > p strong,
.legacy-course-footer > p strong {
  color: var(--text);
}

.legacy-course-highlight {
  margin: 1.25rem 0;
  padding: 1rem 1.1rem;
  border-radius: 16px;
  background: #ffe2dc;
  color: #8f4026;
}

.legacy-course-card ul,
.legacy-course-footer ul {
  margin: 1.2rem 0 0;
  padding-left: 1.35rem;
}

.legacy-course-card li,
.legacy-course-footer li {
  color: var(--text);
}

.legacy-course-card li + li,
.legacy-course-footer li + li {
  margin-top: 0.7rem;
}

.legacy-course-cta {
  margin-top: 1.5rem;
  text-align: center;
}

.legacy-course-cta .button {
  min-height: 56px;
  padding: 0 1.8rem;
  font-size: 1.05rem;
}

.legacy-course-testimonials blockquote {
  margin: 0;
  padding: 1rem 1.1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(255, 143, 125, 0.18);
  box-shadow: none;
}

.legacy-course-testimonials .quote-grid {
  display: grid;
  gap: 0.85rem;
}

.legacy-course-more {
  margin-top: 1rem;
  text-align: center;
}

.legacy-course-more a {
  color: #d94b27;
  font-weight: 700;
}

.video-frame {
  overflow: hidden;
  padding: 0;
}

.video-frame iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  display: block;
}

.site-footer {
  padding: 3.5rem 0 2rem;
  border-top: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(58, 101, 93, 0.02), rgba(58, 101, 93, 0.08)),
    rgba(255, 250, 244, 0.7);
}

.footer-grid,
.footer-bottom {
  display: grid;
  gap: 1.5rem;
}

.footer-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.footer-bottom {
  grid-template-columns: 1fr auto;
  align-items: center;
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.footer-social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.therapist-directory-shell,
.therapist-application-shell,
.therapist-account-shell {
  display: grid;
  gap: 1.3rem;
}

.therapist-account-shell.page-shell {
  --shell-max: 1440px;
  --therapist-account-sticky-top: 9.75rem;
  width: min(var(--shell-max), calc(100% - 1rem));
  max-width: none;
}

.therapist-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.therapist-directory-filters {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
}

.therapist-directory-filter {
  display: grid;
  gap: 0.42rem;
}

.therapist-directory-filter span {
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.therapist-directory-filter input,
.therapist-directory-filter select {
  min-height: 50px;
  padding: 0 1rem;
  border-radius: 20px;
  border: 1px solid rgba(58, 101, 93, 0.12);
  background: rgba(255, 255, 255, 0.9);
  color: var(--text);
  font: inherit;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

.therapist-card {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 0.95rem;
  padding: 0.95rem;
  border-radius: 24px;
  border: 1px solid rgba(58, 101, 93, 0.12);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(252, 248, 243, 0.92));
  box-shadow: 0 20px 44px rgba(20, 51, 47, 0.08);
}

.therapist-card[hidden] {
  display: none !important;
}

.therapist-card-media {
  display: flex;
  align-items: stretch;
  justify-content: center;
}

.therapist-card-image {
  width: 100%;
  height: 100%;
  min-height: 0;
  aspect-ratio: 4 / 5;
  border-radius: 20px;
  object-fit: cover;
  object-position: center top;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(244, 248, 246, 0.92));
  box-shadow: inset 0 0 0 1px rgba(58, 101, 93, 0.08);
}

.therapist-card-image-placeholder {
  background:
    linear-gradient(135deg, rgba(58, 101, 93, 0.12), rgba(184, 95, 60, 0.1)),
    rgba(58, 101, 93, 0.06);
}

.therapist-card-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  align-content: start;
  align-items: start;
  column-gap: 0.95rem;
  row-gap: 0.65rem;
}

.therapist-card-body h2 {
  margin: 0;
  font-size: 1.18rem;
  line-height: 1.08;
}

.therapist-card-head {
  display: grid;
  gap: 0.18rem;
  grid-column: 1;
  padding-bottom: 0.15rem;
  border-bottom: 1px solid rgba(58, 101, 93, 0.08);
}

.therapist-card-title {
  margin: 0;
  color: var(--accent);
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
}

.therapist-card-locality {
  margin: 0.08rem 0 0;
  color: rgba(31, 42, 41, 0.72);
  font-size: 0.88rem;
  line-height: 1.35;
}

.therapist-card-meta {
  display: grid;
  gap: 0.6rem;
  padding: 0.72rem 0.8rem;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(246, 249, 248, 0.9));
  border: 1px solid rgba(58, 101, 93, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
  grid-column: 2;
  grid-row: 1 / span 2;
}

.therapist-card-meta-services {
  display: flex;
  flex-wrap: wrap;
  gap: 0.38rem;
}

.therapist-card-meta-services span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 0.72rem;
  border-radius: 999px;
  border: 1px solid rgba(58, 101, 93, 0.12);
  background: rgba(255, 255, 255, 0.92);
  color: var(--primary);
  font-size: 0.84rem;
  font-weight: 600;
}

.therapist-card-certification {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  flex-wrap: nowrap;
  min-width: 0;
  padding: 0.5rem 0.62rem;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(58, 101, 93, 0.09), rgba(184, 106, 60, 0.08));
  border: 1px solid rgba(58, 101, 93, 0.12);
  box-shadow: 0 8px 18px rgba(24, 32, 31, 0.04);
}

.therapist-card-certification-label {
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  white-space: nowrap;
}

.therapist-quality-badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 0.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(58, 101, 93, 0.14);
  color: var(--primary);
  font-size: 0.8rem;
  white-space: nowrap;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
  font-weight: 700;
}

.therapist-card-excerpt {
  margin: 0;
  color: rgba(31, 42, 41, 0.92);
  line-height: 1.42;
  font-size: 0.95rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  grid-column: 1;
}

.therapist-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: auto;
  grid-column: 1 / -1;
  align-items: center;
}

.therapist-card-phone-button {
  flex: 0 0 auto;
  min-width: 0;
  min-height: 44px;
  padding-inline: 1rem;
}

.therapist-card-profile-button {
  flex: 0 0 auto;
  min-width: 0;
  min-height: 44px;
  padding-inline: 1.35rem;
  box-shadow: 0 14px 30px rgba(58, 101, 93, 0.2);
}

.therapist-filter-empty[hidden] {
  display: none !important;
}

.therapist-cta-panel,
.therapist-empty-state,
.therapist-login-note,
.therapist-account-intro,
.therapist-directory-intro,
.therapist-status-panel {
  border-radius: 28px;
}

.therapist-profile-shell {
  display: grid;
  gap: 1.1rem;
}

.therapist-profile-hero,
.therapist-profile-panel {
  border-radius: 34px;
  border: 1px solid rgba(58, 101, 93, 0.1);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(252, 248, 243, 0.94));
  box-shadow: var(--shadow);
}

.therapist-profile-hero {
  display: grid;
  grid-template-columns: minmax(250px, 0.72fr) minmax(0, 1.28fr);
  gap: 1.35rem;
  padding: 1.35rem;
}

.therapist-profile-media {
  display: flex;
  align-items: stretch;
}

.therapist-profile-image {
  width: 100%;
  min-height: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
  border-radius: 28px;
  background: rgba(58, 101, 93, 0.08);
  box-shadow: inset 0 0 0 1px rgba(58, 101, 93, 0.08);
}

.therapist-profile-image-placeholder {
  background:
    linear-gradient(135deg, rgba(58, 101, 93, 0.12), rgba(184, 95, 60, 0.1)),
    rgba(58, 101, 93, 0.06);
}

.therapist-profile-copy {
  display: grid;
  align-content: start;
  gap: 0.9rem;
  padding: 0.45rem 0.2rem;
}

.therapist-profile-copy h1 {
  margin: 0;
  font-size: clamp(2rem, 3.8vw, 3.1rem);
  line-height: 0.98;
}

.therapist-profile-title {
  margin: 0;
  color: var(--accent);
  font-weight: 700;
  font-size: 1.1rem;
}

.therapist-profile-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.therapist-profile-fact {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  align-items: center;
  min-height: 42px;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  background: rgba(58, 101, 93, 0.06);
  border: 1px solid rgba(58, 101, 93, 0.1);
  color: var(--text);
}

.therapist-profile-fact strong {
  color: var(--primary);
}

.therapist-profile-fact a {
  color: var(--primary);
  font-weight: 700;
  text-decoration: none;
}

.therapist-profile-fact a:hover {
  text-decoration: underline;
}

.therapist-profile-intro {
  margin: 0;
  max-width: 62ch;
  color: rgba(31, 42, 41, 0.9);
  font-size: 1.04rem;
  line-height: 1.72;
}

.compact-rich-content > * + * {
  margin-top: 0.7rem;
}

.compact-rich-content p,
.compact-rich-content li {
  margin-bottom: 0;
}

.compact-rich-content h2,
.compact-rich-content h3 {
  margin-bottom: 0.4rem;
}

.compact-rich-content ul,
.compact-rich-content ol {
  padding-left: 1.15rem;
}

.therapist-profile-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.therapist-profile-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(290px, 0.72fr);
  gap: 1.1rem;
  align-items: start;
}

.therapist-profile-main,
.therapist-profile-sidebar {
  display: grid;
  gap: 1rem;
}

.therapist-profile-panel {
  padding: 1.45rem 1.5rem;
}

.therapist-profile-panel h2 {
  margin-top: 0;
  margin-bottom: 1rem;
}

.therapist-profile-text {
  display: grid;
  gap: 1rem;
}

.therapist-profile-text p {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.8;
  color: rgba(31, 42, 41, 0.92);
}

.therapist-profile-services {
  margin-top: 0.35rem;
}

.therapist-profile-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.9rem;
}

.therapist-profile-contact-panel {
  position: static;
}

.therapist-profile-map-panel {
  overflow: hidden;
}

.therapist-profile-map-frame {
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(58, 101, 93, 0.1);
  background: rgba(58, 101, 93, 0.04);
}

.therapist-profile-map-frame iframe {
  width: 100%;
  height: 320px;
  border: 0;
  display: block;
}

.therapist-profile-contact-list {
  display: grid;
  gap: 0.9rem;
}

.therapist-profile-contact-list p {
  display: grid;
  gap: 0.2rem;
  margin: 0;
}

.therapist-profile-contact-list span {
  color: var(--text);
}

.therapist-profile-contact-list strong {
  color: var(--primary);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.therapist-profile-contact-list a {
  color: var(--text);
  text-decoration: none;
  font-size: 1.04rem;
}

.therapist-profile-contact-list a:hover {
  color: var(--primary);
}

.therapist-profile-sidebar-actions {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.2rem;
}

.therapist-responsibility-note {
  margin-top: 1.1rem;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(58, 101, 93, 0.12);
  border-radius: 20px;
  background: rgba(244, 248, 246, 0.88);
}

.therapist-responsibility-note strong {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--primary);
  font-size: 0.84rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.therapist-responsibility-note p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.therapist-context-contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1rem;
}

.therapist-context-contact-section {
  margin-bottom: 1rem;
}

.therapist-context-card-head {
  display: grid;
  grid-template-columns: 116px minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
  margin-bottom: 1rem;
}

.therapist-context-card-head img {
  width: 116px;
  height: 116px;
  object-fit: cover;
  border-radius: 24px;
  border: 1px solid rgba(58, 101, 93, 0.12);
  background: rgba(244, 248, 246, 0.88);
}

.therapist-context-card-head h2 {
  margin: 0 0 0.35rem;
}

.therapist-context-institution-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 1rem 0 1.1rem;
}

.therapist-context-institution-tags span {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: rgba(58, 101, 93, 0.08);
  color: var(--primary);
  font-weight: 600;
}

.therapist-application-grid,
.therapist-account-grid {
  display: grid;
  grid-template-columns: minmax(220px, 0.52fr) minmax(0, 1.48fr);
  gap: 1rem;
  align-items: start;
}

.therapist-account-grid {
  grid-template-columns: minmax(280px, 0.74fr) minmax(420px, 1.18fr);
  max-width: 980px;
  margin: 0 auto;
}

.therapist-account-dashboard {
  display: grid;
  grid-template-columns: minmax(236px, 280px) minmax(0, 1fr);
  gap: 1.1rem;
  align-items: start;
}

.therapist-account-sidebar,
.therapist-account-content {
  display: grid;
  gap: 1rem;
  min-height: 0;
}

.therapist-account-sidebar {
  position: sticky;
  top: var(--therapist-account-sticky-top);
  align-self: start;
  align-content: start;
  max-height: calc(100vh - var(--therapist-account-sticky-top) - 0.85rem);
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-gutter: stable;
  padding-right: 0.65rem;
  border-right: 1px solid rgba(58, 101, 93, 0.08);
}

.therapist-account-content {
  min-width: 0;
  padding-left: 0.15rem;
}

.therapist-account-menu-panel {
  display: grid;
  gap: 0.85rem;
  padding: 0.15rem 0.4rem 0.15rem 0;
  border-radius: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  overflow: visible;
}

.therapist-account-sidebar-profile {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1.05rem;
  padding: 0.35rem 0.15rem 0.95rem;
  border-bottom: 1px solid rgba(58, 101, 93, 0.08);
}

.therapist-account-sidebar-greeting {
  min-width: 0;
  flex: 1 1 auto;
  padding-left: 0.12rem;
}

.therapist-account-sidebar-greeting-text {
  display: grid;
  gap: 0.12rem;
  margin: 0;
  line-height: 1.15;
}

.therapist-account-sidebar-greeting-lead {
  display: block;
  color: rgba(41, 76, 70, 0.64);
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.therapist-account-sidebar-greeting-name {
  display: block;
  overflow: hidden;
  max-width: 100%;
  color: #294c46;
  font-size: 1.04rem;
  font-weight: 850;
  line-height: 1.18;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.therapist-account-sidebar-avatar {
  width: 62px;
  height: 62px;
  flex: 0 0 62px;
  object-fit: cover;
  border-radius: 20px;
  border: 1px solid rgba(58, 101, 93, 0.14);
  background: rgba(58, 101, 93, 0.08);
  box-shadow: 0 14px 30px rgba(58, 101, 93, 0.1);
}

.therapist-account-sidebar-avatar-placeholder {
  background:
    radial-gradient(circle at top left, rgba(184, 106, 60, 0.28), transparent 48%),
    linear-gradient(135deg, rgba(58, 101, 93, 0.18), rgba(58, 101, 93, 0.05));
}

.therapist-account-menu-groups {
  display: grid;
  gap: 0.72rem;
}

.therapist-account-menu-group {
  display: grid;
  gap: 0.45rem;
  padding: 0 0 0.72rem;
  border-radius: 0;
  border: 0;
  border-bottom: 1px solid rgba(58, 101, 93, 0.12);
  background: transparent;
}

.therapist-account-menu-group:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.therapist-account-menu-group-title {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  margin: 0;
  padding: 0.24rem 0.58rem 0.22rem;
  border-radius: 999px;
  border: 1px solid rgba(58, 101, 93, 0.10);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 22px rgba(64, 45, 32, 0.045);
  color: rgba(41, 76, 70, 0.72);
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.16em;
  line-height: 1.1;
  text-transform: uppercase;
}

.therapist-account-menu {
  display: grid;
  gap: 0.45rem;
}

.therapist-account-menu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-height: 38px;
  padding: 0.48rem 0.65rem;
  border-radius: 10px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--primary);
  font-weight: 700;
  font-size: 0.93rem;
  line-height: 1.2;
  text-decoration: none;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.therapist-account-menu-form {
  margin: 0;
}

.therapist-account-menu-button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-height: 38px;
  padding: 0.48rem 0.65rem;
  border-radius: 10px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--primary);
  font: inherit;
  font-size: 0.93rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: left;
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.therapist-account-menu a:hover,
.therapist-account-menu a:focus-visible,
.therapist-account-menu-button:hover,
.therapist-account-menu-button:focus-visible {
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(58, 101, 93, 0.12);
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(58, 101, 93, 0.06);
}

.therapist-account-mailbox-alert {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.24rem 0.52rem;
  border-radius: 999px;
  background: #b42318;
  color: #fff;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.28);
  animation: therapistMailboxPulse 1.15s ease-in-out infinite;
}

.therapist-account-mailbox-alert strong {
  font-size: 0.76rem;
  line-height: 1;
}

.therapist-account-menu a.is-active .therapist-account-mailbox-alert {
  background: #fff;
  color: #b42318;
}

@keyframes therapistMailboxPulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(1.06);
  }
}

.therapist-account-menu a.is-active {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 14px 24px rgba(58, 101, 93, 0.16);
}

.therapist-account-summary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.therapist-account-stats-panel h2,
.therapist-account-stats-panel h3 {
  margin-top: 0;
}

.therapist-account-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.therapist-account-stat-card {
  display: grid;
  gap: 0.45rem;
  padding: 1.1rem 1rem;
  border-radius: 22px;
  border: 1px solid rgba(58, 101, 93, 0.12);
  background: rgba(58, 101, 93, 0.05);
}

.therapist-account-stat-card strong {
  color: var(--primary);
  font-size: 0.86rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.therapist-account-stat-card span {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
  color: var(--text);
}

.therapist-account-stats-lists {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.therapist-account-stat-list {
  display: grid;
  gap: 0.75rem;
}

.therapist-account-stat-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem 0.95rem;
  border-radius: 18px;
  background: rgba(58, 101, 93, 0.05);
  border: 1px solid rgba(58, 101, 93, 0.1);
}

.therapist-account-stat-row span {
  color: var(--muted);
}

.therapist-account-stat-row strong {
  color: var(--primary);
}

.therapist-account-countdown {
  display: grid;
  gap: 0.2rem;
  padding: 0.95rem 1rem;
  border-radius: 20px;
  background: rgba(58, 101, 93, 0.08);
  border: 1px solid rgba(58, 101, 93, 0.12);
}

.therapist-account-countdown strong {
  color: var(--primary);
  font-size: 1.05rem;
}

.therapist-account-countdown span {
  color: var(--muted);
}

.therapist-newswall-list {
  display: grid;
  gap: 0.62rem;
  margin-top: 0;
}

.therapist-download-list {
  display: grid;
  gap: 0.75rem;
  margin-top: 1rem;
}

.therapist-newswall-card,
.therapist-newswall-article {
  display: grid;
  gap: 1rem;
}

.therapist-newswall-card {
  position: relative;
  grid-template-columns: 150px minmax(0, 1fr);
  align-items: stretch;
  gap: 0.78rem;
  padding: 0.72rem 0.82rem 0.72rem 0.95rem;
  border-radius: 18px;
  border: 1px solid rgba(58, 101, 93, 0.12);
  background: rgba(255, 255, 255, 0.8);
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.therapist-newswall-card::before {
  content: "";
  position: absolute;
  left: 0.48rem;
  top: 0.86rem;
  bottom: 0.86rem;
  width: 3px;
  border-radius: 999px;
  background: rgba(58, 101, 93, 0.18);
}

.therapist-newswall-card.is-unread {
  border-color: rgba(58, 101, 93, 0.24);
  background: rgba(255, 255, 255, 0.94);
}

.therapist-newswall-card.is-unread::before {
  background: var(--primary);
}

.therapist-newswall-card.is-read {
  background: rgba(255, 255, 255, 0.68);
}

.therapist-newswall-card:hover {
  transform: translateY(-1px);
  border-color: rgba(58, 101, 93, 0.24);
}

.therapist-newswall-card.is-no-image {
  grid-template-columns: minmax(0, 1fr);
}

.therapist-newswall-card.is-no-image .therapist-newswall-card-copy {
  grid-column: 1;
}

.therapist-newswall-card-image,
.therapist-newswall-article-image {
  display: block;
  overflow: hidden;
  border-radius: 14px;
  background: rgba(58, 101, 93, 0.06);
}

.therapist-newswall-article-image {
  width: min(100%, 720px);
  justify-self: start;
  padding: 0;
  background: transparent;
}

.therapist-newswall-card-image {
  grid-column: 1;
  width: 150px;
  max-width: 150px;
  min-width: 0;
  aspect-ratio: 16 / 10;
  height: 94px;
  min-height: 0;
}

.therapist-newswall-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.therapist-newswall-article-image img {
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
  display: block;
  border-radius: 14px;
  border: 1px solid rgba(58, 101, 93, 0.1);
}

.therapist-newswall-card-copy {
  grid-column: 2;
  display: grid;
  gap: 0.36rem;
  align-content: start;
  min-width: 0;
}

.therapist-newswall-card-copy h3,
.therapist-newswall-article h2 {
  margin: 0;
}

.therapist-newswall-card-copy h3 {
  font-size: 1.08rem;
  line-height: 1.18;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.therapist-newswall-card-copy h3 a {
  color: var(--text);
  text-decoration: none;
}

.therapist-newswall-card-copy p {
  margin: 0;
  color: var(--muted);
}

.therapist-newswall-card-summary {
  max-width: 72ch;
  font-size: 0.9rem;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.therapist-newswall-card-meta,
.therapist-newswall-meta {
  display: flex;
  gap: 0.34rem;
  font-size: 0.78rem;
  color: var(--muted);
}

.therapist-newswall-card-meta {
  flex-wrap: wrap;
  overflow: visible;
  padding-bottom: 0;
}

.therapist-newswall-meta {
  flex-wrap: wrap;
}

.therapist-newswall-card-meta span,
.therapist-newswall-meta span,
.therapist-newswall-read-state {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  padding: 0.18rem 0.48rem;
  border-radius: 999px;
  background: rgba(58, 101, 93, 0.08);
  white-space: nowrap;
}

.therapist-newswall-read-state.is-read {
  background: rgba(58, 101, 93, 0.18);
  color: var(--primary);
  font-weight: 700;
}

.therapist-newswall-audience-note {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.18rem 0.5rem;
  border-radius: 999px;
  background: rgba(184, 95, 60, 0.1);
  color: #8a441f;
  font-size: 0.78rem;
  line-height: 1.2;
  white-space: nowrap;
}

.therapist-newswall-audience-note.is-inline {
  width: fit-content;
}

.therapist-newswall-card-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.08rem;
}

.therapist-newswall-card-actions .button {
  min-height: 34px;
  padding: 0.42rem 0.78rem;
  font-size: 0.86rem;
}

.therapist-download-card .therapist-newswall-card-meta span {
  white-space: normal;
}

.therapist-newswall-article-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.therapist-newswall-article-intro {
  padding: 1rem 1.1rem;
  border-radius: 22px;
  background: rgba(58, 101, 93, 0.06);
  border: 1px solid rgba(58, 101, 93, 0.1);
}

.therapist-newswall-article-body {
  margin-top: 0.2rem;
}

.therapist-public-message-form button {
  grid-column: 1 / -1;
  width: fit-content;
}

.therapist-message-trap {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.therapist-inline-status {
  margin-bottom: 0.95rem;
  padding: 0.9rem 1rem;
  border-radius: 18px;
  border: 1px solid rgba(58, 101, 93, 0.16);
  background: rgba(58, 101, 93, 0.08);
}

.therapist-inline-status.is-error {
  border-color: rgba(184, 95, 60, 0.18);
  background: rgba(184, 95, 60, 0.08);
}

.therapist-inline-status p {
  margin: 0;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.therapist-mailbox-panel {
  display: grid;
  gap: 0.9rem;
}

.therapist-mailbox-toolbar {
  display: grid;
  gap: 0.9rem;
}

.therapist-mailbox-compose-shell {
  display: grid;
  gap: 0.8rem;
  align-items: start;
}

.therapist-mailbox-compose-toggle {
  width: fit-content;
  border: 1px solid rgba(58, 101, 93, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.68rem 0.92rem;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.therapist-mailbox-tool-button,
.therapist-mailbox-folder {
  position: relative;
}

.therapist-mailbox-tool-button[data-tooltip]:hover::after,
.therapist-mailbox-folder[data-tooltip]:hover::after {
  content: attr(data-tooltip);
  position: absolute;
  left: 50%;
  bottom: calc(100% + 0.5rem);
  transform: translateX(-50%);
  background: rgba(20, 51, 47, 0.92);
  color: #fff;
  padding: 0.38rem 0.55rem;
  border-radius: 10px;
  font-size: 0.72rem;
  line-height: 1.2;
  white-space: nowrap;
  pointer-events: none;
  z-index: 3;
}

.therapist-mailbox-compose-toggle.is-open .therapist-mailbox-compose-icon {
  transform: rotate(45deg);
}

.therapist-mailbox-compose-icon {
  width: 1.8rem;
  height: 1.8rem;
  border-radius: 999px;
  background: rgba(58, 101, 93, 0.1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  font-size: 1.15rem;
  transition: transform 180ms ease;
}

.therapist-mailbox-folder-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.7rem;
}

.therapist-mailbox-folder {
  border: 1px solid rgba(58, 101, 93, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--primary);
  display: grid;
  justify-items: start;
  gap: 0.2rem;
  padding: 0.8rem 0.9rem;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.therapist-mailbox-folder.is-active {
  border-color: rgba(58, 101, 93, 0.24);
  background: rgba(58, 101, 93, 0.08);
  box-shadow: 0 14px 28px rgba(58, 101, 93, 0.08);
}

.therapist-mailbox-folder-icon {
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 999px;
  background: rgba(58, 101, 93, 0.1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.therapist-mailbox-folder strong {
  font-size: 1.1rem;
  line-height: 1;
}

.therapist-mailbox-folder span:last-child {
  color: var(--muted);
  font-size: 0.82rem;
}

.therapist-mailbox-compose {
  padding: 0.95rem 1rem;
  border-radius: 18px;
  border: 1px solid rgba(58, 101, 93, 0.12);
  background: rgba(58, 101, 93, 0.05);
  display: grid;
  gap: 0.85rem;
}

.therapist-mailbox-compose[hidden] {
  display: none !important;
}

.therapist-mailbox-compose strong {
  color: var(--primary);
}

.therapist-mailbox-compose p {
  margin: 0.3rem 0 0;
  color: var(--muted);
}

.therapist-mailbox-compose-context {
  margin: 0;
  padding: 0.8rem 0.95rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--primary);
  font-size: 0.9rem;
}

.therapist-mailbox-compose-context[hidden] {
  display: none !important;
}

.therapist-mailbox-filterbar {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(180px, 0.7fr);
  gap: 0.75rem;
}

.therapist-mailbox-filterbar input,
.therapist-mailbox-filterbar select {
  width: 100%;
  border-radius: 16px;
  border: 1px solid rgba(58, 101, 93, 0.12);
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  font: inherit;
  padding: 0.82rem 0.95rem;
}

.therapist-mailbox-filter-empty[hidden] {
  display: none !important;
}

.therapist-mailbox-panels {
  display: grid;
  gap: 0.9rem;
}

.therapist-mailbox-list {
  display: grid;
  gap: 0.8rem;
}

.therapist-mailbox-group {
  display: grid;
  gap: 0.7rem;
}

.therapist-mailbox-group[hidden] {
  display: none !important;
}

.therapist-mailbox-group h3 {
  margin: 0;
  color: var(--primary);
  font-size: 1.02rem;
}

.therapist-mailbox-message {
  border-radius: 18px;
  border: 1px solid rgba(58, 101, 93, 0.12);
  background: rgba(255, 255, 255, 0.82);
  overflow: hidden;
}

.therapist-mailbox-message[open] {
  box-shadow: 0 16px 34px rgba(58, 101, 93, 0.08);
}

.therapist-mailbox-summary-row {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0.95rem;
  cursor: pointer;
}

.therapist-mailbox-summary-row::-webkit-details-marker {
  display: none;
}

.therapist-mailbox-summary-row > div {
  display: grid;
  gap: 0.25rem;
  min-width: 0;
}

.therapist-mailbox-summary-row strong {
  color: var(--primary);
  font-weight: 700;
  font-size: 1rem;
}

.therapist-mailbox-message.is-read .therapist-mailbox-summary-row strong,
.therapist-mailbox-message.is-sent.is-read .therapist-mailbox-summary-row strong {
  font-weight: 500;
}

.therapist-mailbox-summary-row span {
  color: var(--muted);
}

.therapist-mailbox-card {
  padding: 0.95rem;
  border-top: 1px solid rgba(58, 101, 93, 0.1);
  background: rgba(255, 255, 255, 0.72);
  display: grid;
  gap: 0.8rem;
}

.therapist-mailbox-card-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: start;
}

.therapist-mailbox-card-head > div {
  display: grid;
  gap: 0.2rem;
}

.therapist-mailbox-card-head strong {
  color: var(--primary);
}

.therapist-mailbox-card-head span {
  color: var(--muted);
}

.therapist-mailbox-badge {
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.therapist-mailbox-badge.is-unread {
  background: rgba(184, 95, 60, 0.14);
  color: #8b4d32;
}

.therapist-mailbox-badge.is-read {
  background: rgba(58, 101, 93, 0.12);
  color: var(--primary);
}

.therapist-mailbox-badge.is-archived {
  background: rgba(20, 51, 47, 0.08);
  color: var(--muted);
}

.therapist-mailbox-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem 1rem;
}

.therapist-mailbox-body {
  padding: 0.85rem 0.95rem;
  border-radius: 16px;
  background: rgba(58, 101, 93, 0.05);
  line-height: 1.7;
}

.therapist-mailbox-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.therapist-mailbox-actions form {
  margin: 0;
}

.therapist-mailbox-actions .button {
  width: auto;
}

.therapist-account-editor-panel h2 {
  margin-top: 0;
}

.therapist-account-card-panel {
  display: grid;
  gap: 1.35rem;
}

.therapist-card-builder {
  display: grid;
  gap: 1.35rem;
}

.therapist-card-builder-copy {
  display: grid;
  gap: 0.7rem;
}

.therapist-card-builder-copy h2,
.therapist-card-config-intro strong,
.therapist-card-preview-copy strong {
  margin: 0;
}

.therapist-card-builder-copy p,
.therapist-card-config-intro p,
.therapist-card-preview-copy p {
  margin: 0;
}

.therapist-card-builder-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.15rem;
  align-items: start;
}

.therapist-card-config-form,
.therapist-card-preview-wrap {
  padding: 1.3rem;
  border-radius: 28px;
  border: 1px solid rgba(58, 101, 93, 0.12);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 38px rgba(58, 101, 93, 0.08);
}

.therapist-card-config-form {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

.therapist-card-config-intro {
  display: grid;
  gap: 0.55rem;
}

.therapist-card-option-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0.8rem;
}

.therapist-card-background-section {
  display: grid;
  gap: 0.7rem;
}

.therapist-card-background-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(152px, 1fr));
  gap: 0.85rem;
}

.therapist-card-background-option {
  display: block;
  position: relative;
  cursor: pointer;
}

.therapist-card-background-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.therapist-card-background-card {
  display: grid;
  gap: 0.7rem;
  min-height: 146px;
  padding: 0.8rem;
  border: 1px solid rgba(58, 101, 93, 0.1);
  background: rgba(58, 101, 93, 0.04);
  cursor: pointer;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.therapist-card-background-option input[type="radio"]:checked + .therapist-card-background-card {
  border-color: rgba(58, 101, 93, 0.28);
  box-shadow: 0 16px 28px rgba(37, 57, 52, 0.12);
  transform: translateY(-1px);
}

.therapist-card-background-swatch {
  display: block;
  aspect-ratio: 85 / 55;
  border: 1px solid rgba(58, 101, 93, 0.12);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28);
}

.therapist-card-background-custom {
  display: grid;
  gap: 0.8rem;
  padding: 1rem 1.05rem;
  border: 1px solid rgba(58, 101, 93, 0.12);
  background: rgba(255, 255, 255, 0.66);
}

.therapist-card-background-custom.is-active {
  border-color: rgba(58, 101, 93, 0.22);
  box-shadow: 0 14px 24px rgba(37, 57, 52, 0.08);
}

.therapist-card-background-custom-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.95rem;
}

.therapist-card-background-custom-grid label {
  display: grid;
  gap: 0.45rem;
  color: var(--text);
  font-weight: 600;
}

.therapist-card-background-custom-grid input[type="color"] {
  width: 100%;
  min-height: 56px;
  border: 1px solid rgba(58, 101, 93, 0.14);
  background: #fff;
  cursor: pointer;
}

.therapist-card-background-range span {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 500;
}

.therapist-card-background-range input[type="range"] {
  width: 100%;
}

.therapist-card-background-meta {
  display: grid;
  gap: 0.22rem;
}

.therapist-card-background-meta strong {
  color: var(--text);
}

.therapist-card-background-meta small {
  color: var(--muted);
  line-height: 1.35;
}

.therapist-card-option {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 0.8rem;
  padding: 0.95rem 1rem;
  border-radius: 20px;
  border: 1px solid rgba(58, 101, 93, 0.1);
  background: rgba(58, 101, 93, 0.04);
}

.therapist-card-option input[type="checkbox"] {
  margin-top: 0.2rem;
}

.therapist-card-option span {
  display: grid;
  gap: 0.22rem;
}

.therapist-card-option strong {
  color: var(--text);
}

.therapist-card-option small {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.4;
}

.therapist-card-option.is-disabled {
  opacity: 0.58;
}

.therapist-card-preview-wrap {
  display: grid;
  gap: 1rem;
  justify-items: stretch;
}

.therapist-card-preview-copy {
  width: min(100%, 980px);
  margin-inline: auto;
}

.therapist-card-preview {
  position: relative;
  padding: 1.95rem 1.55rem 1.42rem 1.65rem;
  aspect-ratio: 85 / 55;
  border-radius: 0;
  overflow: hidden;
  border: none;
  background: var(--therapist-card-preview-background,
    radial-gradient(circle at top left, rgba(230, 192, 174, 0.42), transparent 34%),
    radial-gradient(circle at bottom right, rgba(58, 101, 93, 0.12), transparent 34%),
    linear-gradient(145deg, #fffaf3 0%, #f6efe6 54%, #f9f3ea 100%));
  box-shadow: var(--therapist-card-preview-shadow, 0 26px 46px rgba(37, 57, 52, 0.12));
  width: min(100%, 720px);
  max-width: 720px;
  min-width: min(100%, 460px);
  margin-inline: auto;
}

.therapist-card-preview-fallback {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 0.9rem;
  height: 100%;
}

.therapist-card-preview-stage {
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 0;
  pointer-events: none;
  transition: opacity 160ms ease;
}

.therapist-card-preview.is-rendered .therapist-card-preview-stage {
  opacity: 1;
}

.therapist-card-preview.is-rendered .therapist-card-preview-fallback {
  opacity: 0;
}

.therapist-card-preview.is-rendered::after {
  opacity: 0;
}

.therapist-card-preview-canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.therapist-card-preview::after {
  display: none;
}

.therapist-card-preview-body {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(118px, 0.42fr);
  gap: 0.9rem;
  align-items: start;
}

.therapist-card-preview-main {
  display: grid;
  align-content: start;
  gap: 0.96rem;
  padding-top: 0.45rem;
}

.therapist-card-preview-main h3 {
  margin: 0;
  font-family: var(--heading-font);
  font-size: clamp(1.92rem, 2.6vw, 2.38rem);
  line-height: 1;
  letter-spacing: -0.02em;
  color: #17201f;
  max-width: 13ch;
}

.therapist-card-preview-title {
  margin: 0;
  margin-bottom: 1.28rem;
  color: rgba(147, 84, 48, 0.95);
  font-size: 1.69rem;
  font-weight: 600;
  line-height: 1.28;
}

.therapist-card-preview-lines {
  display: grid;
  gap: 0.56rem;
  margin-top: 0.52rem;
}

.therapist-card-preview-line {
  display: grid;
  gap: 0;
}

.therapist-card-preview-line span {
  color: var(--text);
  font-size: 1.6rem;
  line-height: 1.42;
  word-break: break-word;
}

.therapist-card-preview-line strong {
  font-weight: 700;
}

.therapist-card-preview-side {
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 0.36rem;
  padding-top: 0.08rem;
  margin-left: 0.3rem;
  padding-left: 0.95rem;
  border-left: 2.3px solid rgba(58, 101, 93, 0.28);
}

.therapist-card-preview-logo {
  display: grid;
  place-items: center;
  width: 100%;
}

.therapist-card-preview-logo img {
  width: 92px;
  height: 92px;
  object-fit: contain;
  filter: drop-shadow(0 8px 16px rgba(24, 32, 31, 0.1));
}

.therapist-card-preview-qr {
  display: grid;
  place-items: center;
  width: 100%;
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: none;
}

.therapist-card-preview-qr img {
  width: 85px;
  height: 85px;
  object-fit: contain;
  border-radius: 0;
  background: transparent;
}

.therapist-card-preview-qr.is-empty {
  min-height: 126px;
  background: transparent;
}

.therapist-card-preview-footer {
  position: relative;
  z-index: 1;
  display: grid;
  align-items: center;
  justify-items: center;
  gap: 0.55rem;
  min-height: 72px;
  padding-top: 1.1rem;
  border-top: 2.3px solid rgba(58, 101, 93, 0.22);
}

.therapist-card-preview-footer span {
  color: rgba(24, 32, 31, 0.72);
  font-size: 1.18rem;
  line-height: 1.42;
  letter-spacing: 0.015em;
  word-break: break-word;
  text-align: center;
}

.therapist-card-preview-footer-web {
  color: rgba(24, 32, 31, 0.8);
  font-size: 1.38rem;
}

.therapist-card-preview-footer-services {
  color: rgba(24, 32, 31, 0.68);
}

.therapist-card-download-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  width: min(100%, 720px);
  margin-inline: auto;
}

.therapist-card-download-actions .button {
  width: 100%;
  justify-content: center;
  min-height: 52px;
  text-align: center;
}

.therapist-login-note,
.therapist-status-panel {
  display: grid;
  gap: 0.85rem;
}

.therapist-login-note {
  height: fit-content;
}

.therapist-login-card {
  max-width: 360px;
}

.therapist-login-card .lead-form {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.therapist-login-card .lead-form button {
  grid-column: 1 / -1;
}

.therapist-register-card {
  min-height: 296px;
  align-content: center;
  gap: 1rem;
}

.therapist-register-card .button {
  min-width: 220px;
}

.therapist-note {
  margin: 0;
  color: var(--muted);
}

.therapist-login-note h2,
.therapist-status-panel h2 {
  margin: 0;
}

.therapist-status-panel.is-success {
  border: 1px solid rgba(58, 101, 93, 0.18);
  background: rgba(58, 101, 93, 0.08);
}

.therapist-status-panel.is-error {
  border: 1px solid rgba(184, 95, 60, 0.18);
  background: rgba(184, 95, 60, 0.08);
}

.therapist-account-form .button,
.therapist-application-form .button {
  width: fit-content;
}

.therapist-password-form {
  width: 100%;
  max-width: 100%;
  grid-template-columns: minmax(0, 1fr);
}

.therapist-password-form label,
.therapist-password-form input {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.therapist-password-form input[type="email"] {
  width: 150%;
  max-width: none;
}

.therapist-file-note {
  display: block;
  margin-top: 0.45rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.therapist-check-grid,
.therapist-public-flags {
  display: grid;
  gap: 0.7rem;
}

.therapist-check-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  padding: 0.35rem 0;
}

.therapist-checkbox-row {
  min-height: 100%;
  padding: 0.9rem 1rem;
  border-radius: 18px;
  border: 1px solid rgba(58, 101, 93, 0.12);
  background: rgba(58, 101, 93, 0.04);
}

.therapist-language-panel {
  display: grid;
  gap: 1rem;
  padding: 1.15rem;
  border-radius: 24px;
  border: 1px solid rgba(58, 101, 93, 0.12);
  background: rgba(255, 255, 255, 0.72);
}

.therapist-language-panel-head {
  display: grid;
  gap: 0.35rem;
}

.therapist-language-panel-head strong {
  color: var(--primary);
}

.therapist-language-panel-head p {
  margin: 0;
  color: var(--muted);
}

.therapist-language-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.9rem;
}

@media (max-width: 900px) {
  .therapist-account-stats-grid,
  .therapist-account-stats-lists {
    grid-template-columns: 1fr;
  }

  .therapist-mailbox-meta {
    grid-template-columns: 1fr;
  }
}

.therapist-language-fieldset {
  margin: 0;
  padding: 1rem;
  border-radius: 22px;
  border: 1px solid rgba(58, 101, 93, 0.12);
  background: rgba(255, 250, 244, 0.84);
  display: grid;
  gap: 0.8rem;
}

.therapist-language-fieldset legend {
  padding: 0 0.35rem;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
}

.therapist-char-counter {
  display: block;
  margin-top: 0.35rem;
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 700;
}

.therapist-avatar-preview {
  display: grid;
  gap: 0.65rem;
  padding: 1rem;
  border-radius: 22px;
  border: 1px solid rgba(58, 101, 93, 0.12);
  background: rgba(58, 101, 93, 0.04);
}

.therapist-avatar-preview strong {
  color: var(--primary);
}

.therapist-avatar-preview img {
  width: 100%;
  max-width: 220px;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 20px;
  background: rgba(58, 101, 93, 0.08);
}

.image-crop-inline-preview {
  display: grid;
  gap: 0.65rem;
  margin-top: 0.8rem;
  padding: 0.95rem;
  border-radius: 22px;
  border: 1px solid rgba(58, 101, 93, 0.12);
  background: rgba(58, 101, 93, 0.04);
}

.image-crop-inline-preview strong {
  color: var(--primary);
}

.image-crop-inline-preview img {
  width: 100%;
  max-width: 220px;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 20px;
  background: rgba(58, 101, 93, 0.08);
}

.image-crop-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 1.2rem;
  background: rgba(18, 33, 31, 0.62);
  backdrop-filter: blur(6px);
}

.image-crop-dialog {
  width: min(100%, 760px);
  display: grid;
  gap: 1rem;
  padding: 1.2rem;
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(252, 248, 243, 0.96));
  box-shadow: 0 28px 70px rgba(18, 33, 31, 0.22);
}

.image-crop-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: start;
}

.image-crop-head strong {
  display: block;
  color: var(--primary);
  font-size: 1.1rem;
}

.image-crop-head p {
  margin: 0.35rem 0 0;
  color: var(--muted);
  line-height: 1.5;
}

.image-crop-close {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: rgba(58, 101, 93, 0.08);
  color: var(--primary);
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
}

.image-crop-stage {
  display: grid;
  place-items: center;
}

.image-crop-viewport {
  position: relative;
  width: min(100%, 360px);
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(58, 101, 93, 0.12), rgba(184, 95, 60, 0.08)),
    rgba(58, 101, 93, 0.06);
  cursor: grab;
  touch-action: none;
}

.image-crop-viewport:active {
  cursor: grabbing;
}

.image-crop-viewport img {
  position: absolute;
  inset: 0 auto auto 0;
  max-width: none;
  user-select: none;
  pointer-events: none;
}

.image-crop-frame {
  position: absolute;
  inset: 0;
  border-radius: 28px;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.92), inset 0 0 0 999px rgba(255, 255, 255, 0.18);
  pointer-events: none;
}

.image-crop-zoom {
  display: grid;
  gap: 0.45rem;
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.image-crop-zoom input {
  width: 100%;
}

.image-crop-actions {
  display: flex;
  justify-content: end;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.therapist-gallery-preview {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.8rem;
}

.therapist-gallery-preview img,
.therapist-profile-gallery-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 18px;
  border: 1px solid rgba(58, 101, 93, 0.1);
  background: rgba(58, 101, 93, 0.06);
}

.signature-section {
  padding-top: 0.5rem;
}

.signature-panel {
  display: grid;
  grid-template-columns: 1.2fr 0.95fr;
  gap: 1.4rem;
  padding: 1.4rem;
  border-radius: 34px;
  background: linear-gradient(135deg, rgba(255, 250, 244, 0.96), rgba(239, 226, 210, 0.76));
  border: 1px solid rgba(58, 101, 93, 0.09);
  box-shadow: var(--shadow);
}

.signature-copy {
  padding: 1rem;
}

.signature-copy blockquote {
  margin: 1.25rem 0 0;
  padding: 1rem 1.2rem;
  border-left: 3px solid var(--accent);
  border-radius: 0 18px 18px 0;
  background: rgba(255, 255, 255, 0.6);
  color: var(--primary);
  font-family: var(--heading-font);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  line-height: 1.45;
}

.signature-facts {
  display: grid;
  gap: 1rem;
}

.signature-fact {
  padding: 1.2rem;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(107, 141, 133, 0.96), rgba(58, 101, 93, 0.92));
  color: white;
  box-shadow: 0 18px 40px rgba(58, 101, 93, 0.14);
}

.signature-fact strong {
  display: block;
  margin-bottom: 0.45rem;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.signature-fact span {
  display: block;
  font-family: var(--heading-font);
  font-size: 1.28rem;
  line-height: 1.3;
}

.page-hero-copy {
  position: relative;
  z-index: 1;
}

.page-hero::before {
  top: 30px;
  right: -120px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(184, 106, 60, 0.16), transparent 70%);
}

@media (max-width: 960px) {
  .header-topbar {
    min-height: auto;
    padding-top: 0.55rem;
    padding-bottom: 0.4rem;
    flex-wrap: wrap;
  }

  .header-utility-group {
    width: 100%;
    order: 3;
    align-items: stretch;
    margin-left: 0;
  }

  .header-app-links {
    flex: 1 1 auto;
  }

  .header-locale-row {
    flex: 0 1 auto;
    justify-content: flex-end;
  }

  .brand {
    display: flex;
    gap: 0.7rem;
    flex-wrap: wrap;
  }

  .brand-logo {
    width: 64px;
    order: 0;
  }

  .brand-copy {
    flex: 1 1 160px;
    padding-right: 0;
    border-right: 0;
    align-items: flex-start;
    text-align: left;
  }

  .brand-side {
    flex: 1 1 100%;
    padding-left: 0;
    border-left: 0;
    margin-left: calc(64px + 0.7rem);
    gap: 0.12rem;
  }

  .brand-secondary {
    max-width: none;
  }

  .hero-grid,
  .page-hero-grid,
  .two-column,
  .app-download-grid,
  .blog-feature-card,
  .blog-article-hero-shell,
  .blog-article-shell,
  .lead-panel,
  .signature-panel,
  .therapist-application-grid,
  .therapist-account-dashboard,
  .therapist-account-grid,
  .therapist-profile-layout,
  .therapist-context-contact-grid,
  .footer-grid,
  .footer-bottom,
  .card-grid,
  .link-grid,
  .mini-grid,
  .audience-grid,
  .curriculum-grid,
  .proof-grid,
  .course-schedule-grid,
  .therapist-grid {
    grid-template-columns: 1fr;
  }

  .app-download-hero-stack {
    order: 2;
    max-width: 320px;
  }

  .app-download-hero-copy {
    order: 1;
    max-width: none;
    justify-self: stretch;
  }

  .therapist-newswall-card {
    grid-template-columns: 118px minmax(0, 1fr);
  }

  .therapist-newswall-card-image {
    width: 118px;
    max-width: 118px;
    height: 74px;
  }

  .therapist-newswall-card-meta {
    flex-wrap: wrap;
    overflow-x: visible;
  }

  .site-nav {
    position: absolute;
    inset: calc(100% + 1px) 1rem auto 1rem;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem;
    border-radius: 20px;
    background: rgba(255, 250, 244, 0.98);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

  .site-nav a {
    width: 100%;
    justify-content: flex-start;
    min-height: 44px;
    background: rgba(255, 255, 255, 0.86);
  }

  .therapist-directory-filters {
    grid-template-columns: 1fr;
  }

  .therapist-profile-hero {
    grid-template-columns: 1fr;
  }

  .therapist-profile-media {
    max-width: 360px;
  }

  .therapist-profile-contact-panel {
    position: static;
  }

  .therapist-context-card-head {
    grid-template-columns: 1fr;
  }

  .therapist-login-card .lead-form {
    grid-template-columns: 1fr;
  }

  .therapist-card {
    grid-template-columns: 1fr;
  }

  .therapist-card-media {
    max-width: 240px;
  }

  .therapist-card-body {
    grid-template-columns: 1fr;
  }

  .therapist-card-meta {
    grid-column: 1;
    grid-row: auto;
  }

  .therapist-card-facts {
    grid-template-columns: 1fr;
  }

  .therapist-card-certification {
    justify-content: space-between;
  }

  .therapist-card-excerpt,
  .therapist-services,
  .therapist-card-actions {
    grid-column: 1;
  }

  .therapist-language-grid,
  .therapist-account-summary-grid,
  .therapist-gallery-preview,
  .therapist-profile-gallery {
    grid-template-columns: 1fr;
  }

  .site-nav.is-open {
    display: flex;
  }

  .language-switcher {
    margin-left: 0;
  }

  .header-inner {
    min-height: 58px;
  }

  .nav-toggle {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    padding: 0 1rem;
    border-radius: 999px;
    border: 1px solid rgba(58, 101, 93, 0.15);
    background: white;
  }

  .header-cta {
    display: none;
  }

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

  .hero-mark {
    width: 72px;
  }

  .app-download-card-body {
    grid-template-columns: 1fr;
  }

  .blog-filters,
  .blog-grid {
    grid-template-columns: 1fr;
  }

  .blog-filter-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .app-download-actions {
    align-items: stretch;
  }

  .hero-portrait-card,
  .hero-facts-card {
    max-width: none;
    margin-left: 0;
  }

  .content-page .rich-content {
    padding: 1.35rem;
  }

  .page-shell.page-shell-aligned {
    gap: 1rem;
  }

  .therapist-account-shell.page-shell {
    width: min(100%, calc(100% - 1rem));
  }

  .therapist-account-dashboard {
    align-items: start;
  }

  .therapist-account-sidebar,
  .therapist-account-content {
    padding: 0;
  }

  .therapist-account-sidebar {
    position: static;
    top: auto;
    max-height: none;
    overflow: visible;
    border-right: 0;
  }

  .therapist-account-content {
    overflow: visible;
  }

  .therapist-account-content {
    padding-left: 0;
  }

  .page-intro-card h1 {
    max-width: none;
  }

  .page-masajul-seishin .content-page-main-card,
  .page-orvosi-ajanlas .content-page-main-card,
  .page-gyakran-ismetelt-kerdesek .content-page-main-card,
  .page-kapcsolat .content-page-main-card {
    padding: 1.4rem;
  }

  .content-rich-legacy h1 {
    font-size: clamp(1.8rem, 7vw, 2.4rem);
  }

  .content-rich-legacy h2 {
    font-size: clamp(1.35rem, 5.2vw, 1.8rem);
  }

  .page-tanuloink-mondjak .rich-content,
  .page-paciensek-a-seishin-terapiarol .rich-content,
  .page-videok .rich-content {
    padding: 1.4rem;
  }

  .page-tanuloink-mondjak .rich-content pre {
    padding: 1.15rem 1.05rem;
  }

  .locale-ro .hero-copy h1,
  .locale-en .hero-copy h1 {
    max-width: none;
    font-size: clamp(2rem, 7vw, 3.25rem);
  }

  .legacy-course-card,
  .legacy-course-testimonials,
  .legacy-course-footer {
    padding: 1.45rem 1.15rem;
  }
}

@media (max-width: 640px) {
  .therapist-newswall-card {
    grid-template-columns: 86px minmax(0, 1fr);
    gap: 0.62rem;
    padding: 0.62rem 0.65rem 0.62rem 0.85rem;
  }

  .therapist-newswall-card-image {
    width: 86px;
    max-width: 86px;
    height: 66px;
  }

  .therapist-newswall-card-copy h3 {
    font-size: 0.98rem;
  }

  .therapist-newswall-card-summary {
    font-size: 0.84rem;
  }

  .therapist-newswall-card-actions .button {
    min-height: 32px;
    padding-inline: 0.68rem;
  }

  .header-topbar {
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem;
    min-height: 0;
    padding-top: 0.55rem;
    padding-bottom: 0.45rem;
  }

  .brand {
    grid-template-columns: 60px minmax(0, 1fr);
    column-gap: 0.75rem;
  }

  .brand-logo {
    width: 60px;
  }

  .brand-copy,
  .brand-side {
    min-height: 0;
  }

  .brand-copy {
    padding-right: 0.75rem;
  }

  .brand-copy strong,
  .brand-secondary {
    font-size: 1.02rem;
  }

  .brand-copy span,
  .brand-side span {
    font-size: 0.76rem;
  }

  .header-utility-group {
    width: 100%;
    margin-left: 0;
    gap: 0.42rem;
    align-items: stretch;
  }

  .header-app-links-row {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 0.1rem;
  }

  .store-badge {
    width: auto;
  }

  .store-badge-compact {
    width: 118px;
    height: 38px;
  }

  .store-badge-large {
    width: 160px;
    height: 52px;
  }

  .blog-feature-card,
  .blog-card,
  .blog-sidebar-card,
  .blog-article-cta {
    padding: 1rem;
    border-radius: 24px;
  }

  .blog-article-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .header-locale-row {
    width: 100%;
    justify-content: space-between;
    padding: 0.3rem 0.45rem 0.3rem 0.65rem;
  }

  .header-locale-label {
    font-size: 0.7rem;
  }

  .app-download-card {
    padding: 1.2rem;
    border-radius: 26px;
  }

  .app-download-details-card {
    padding: 1.2rem;
    border-radius: 26px;
  }

  .app-download-card-head {
    grid-template-columns: 1fr;
  }

  .app-download-platform-mark {
    width: 62px;
    height: 62px;
  }

  .therapist-profile-hero,
  .therapist-profile-panel {
    border-radius: 26px;
  }

  .therapist-profile-hero {
    padding: 1rem;
  }

  .therapist-profile-panel {
    padding: 1.15rem;
  }

  .therapist-profile-copy h1 {
    font-size: 1.95rem;
  }

  .therapist-profile-facts,
  .therapist-profile-actions {
    flex-direction: column;
    align-items: stretch;
  }

.therapist-profile-fact {
  border-radius: 20px;
  }
}

@media (max-width: 1080px) {
  .therapist-card-preview {
    max-width: 680px;
  }
}

@media (max-width: 760px) {
  .course-schedule-item {
    grid-template-columns: 1fr;
    gap: 0.32rem;
  }

  .course-schedule-event {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.55rem;
  }

  .course-schedule-apply-button {
    align-self: flex-start;
    justify-self: start;
  }

  .course-schedule-fee {
    justify-self: start;
    text-align: left;
  }

  .therapist-card-config-form,
  .therapist-card-preview-wrap {
    padding: 1rem;
    border-radius: 24px;
  }

  .therapist-card-preview {
    padding: 1rem;
    border-radius: 24px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .therapist-card-preview-body {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .therapist-card-preview-body {
    align-items: start;
  }

  .therapist-card-preview-main h3 {
    max-width: none;
    font-size: clamp(1.8rem, 7vw, 2.2rem);
  }

  .therapist-card-preview-side {
    justify-items: start;
  }

  .therapist-card-preview-logo {
    justify-items: start;
  }

  .therapist-card-preview-qr {
    width: min(100%, 240px);
  }

  .therapist-card-preview-footer {
    min-height: 0;
    padding-top: 0.75rem;
  }

  .therapist-card-preview-footer span {
    font-size: 0.78rem;
  }

  .therapist-card-download-actions {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .therapist-mailbox-folder-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .therapist-mailbox-filterbar {
    grid-template-columns: 1fr;
  }

  .therapist-mailbox-summary-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .therapist-mailbox-meta {
    grid-template-columns: 1fr;
  }
}

/* Update 2026.04.27.106: rendezettebb terapeuta Letoltesek UI */
.therapist-downloads-panel {
  display: grid;
  gap: 0.85rem;
}

.therapist-download-list {
  gap: 0.85rem;
}

.therapist-download-card-clean {
  grid-template-columns: 52px minmax(0, 1fr);
  align-items: start;
  padding: 1rem 1.05rem;
  gap: 0.9rem;
}

.therapist-download-card-clean::before {
  display: none;
}

.therapist-download-filemark {
  width: 52px;
  height: 52px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(58, 101, 93, 0.09);
  color: var(--primary);
  font-size: 1.45rem;
  font-weight: 800;
  line-height: 1;
}

.therapist-download-card-copy {
  grid-column: auto;
  gap: 0.55rem;
}

.therapist-download-card-topline {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 0.75rem;
}

.therapist-download-card-topline h3 {
  margin: 0;
  line-height: 1.22;
}

.therapist-download-summary {
  max-width: 78ch;
  -webkit-line-clamp: 3;
}

.therapist-download-inline-button {
  flex: 0 0 auto;
  min-height: 38px;
  padding: 0.48rem 0.9rem;
  font-size: 0.88rem;
}

.therapist-download-meta-clean {
  gap: 0.42rem;
}

.therapist-download-meta-clean span {
  display: inline-flex;
  align-items: center;
  gap: 0.32rem;
  padding: 0.28rem 0.58rem;
  border-radius: 999px;
  background: rgba(58, 101, 93, 0.075);
  white-space: normal;
}

.therapist-download-meta-clean strong {
  color: var(--primary);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

@media (max-width: 720px) {
  .therapist-download-card-clean {
    grid-template-columns: 42px minmax(0, 1fr);
    padding: 0.9rem;
  }

  .therapist-download-filemark {
    width: 42px;
    height: 42px;
    border-radius: 15px;
    font-size: 1.2rem;
  }

  .therapist-download-card-topline {
    display: grid;
  }

  .therapist-download-inline-button {
    width: fit-content;
  }
}

/* Seishin internal forum classic refinement - 2026.04.27.107 */
.forum-panel {
  max-width: 1180px;
  margin-inline: auto;
}

.forum-classic {
  display: grid;
  gap: 1rem;
}

.forum-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.38rem;
  padding: 0.7rem 0.85rem;
  border: 1px solid rgba(58, 101, 93, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.76);
  color: var(--muted);
  font-size: 0.86rem;
}

.forum-breadcrumb a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 750;
}

.forum-breadcrumb a:hover,
.forum-breadcrumb a:focus-visible {
  color: var(--accent);
}

.forum-notifications,
.forum-strip,
.forum-board {
  border-radius: 18px;
  border: 1px solid rgba(58, 101, 93, 0.14);
  background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(250,247,242,0.9));
  box-shadow: 0 14px 32px rgba(24, 32, 31, 0.055);
}

.forum-strip-head,
.forum-board-head {
  padding-bottom: 0.72rem;
  border-bottom: 1px solid rgba(58, 101, 93, 0.12);
}

.forum-category-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 0.62rem;
}

.forum-category-tab {
  min-height: 104px;
  border: 1px solid rgba(58, 101, 93, 0.13);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.8);
}

.forum-category-tab strong {
  color: var(--primary);
  font-size: 0.96rem;
}

.forum-category-description {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.35;
}

.forum-category-stats b {
  color: var(--primary);
}

.forum-board-head {
  align-items: start;
}

.forum-board-tools {
  display: grid;
  justify-items: end;
  gap: 0.6rem;
  min-width: min(100%, 460px);
}

.forum-search-form {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: end;
  gap: 0.45rem;
  width: 100%;
}

.forum-search-field {
  display: grid;
  gap: 0.24rem;
  min-width: min(100%, 260px);
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.forum-search-field input[type="search"] {
  min-height: 38px;
  border: 1px solid rgba(58, 101, 93, 0.22);
  border-radius: 999px;
  padding: 0 0.9rem;
  background: rgba(255, 255, 255, 0.96);
  color: var(--text);
  font-size: 0.88rem;
  outline: none;
}

.forum-search-field input[type="search"]:focus {
  border-color: rgba(184, 106, 60, 0.5);
  box-shadow: 0 0 0 3px rgba(184, 106, 60, 0.1);
}

.forum-thread-list {
  display: grid;
  gap: 0;
  border: 1px solid rgba(58, 101, 93, 0.13);
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255,255,255,0.82);
}

.forum-thread {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.forum-thread + .forum-thread {
  border-top: 1px solid rgba(58, 101, 93, 0.11);
}

.forum-thread.is-open {
  border-color: transparent;
  background: rgba(239, 246, 244, 0.48);
  box-shadow: inset 4px 0 0 rgba(58, 101, 93, 0.5);
}

.forum-thread-summary {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) minmax(82px, 0.18fr) minmax(150px, 0.28fr);
  align-items: center;
  gap: 0.85rem;
  padding: 0.82rem 0.95rem;
  border-bottom: 0;
}

.forum-thread:not(.is-open) .forum-thread-summary:hover {
  background: rgba(239, 246, 244, 0.45);
}

.forum-thread-icon {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: rgba(239, 246, 244, 0.95);
  border: 1px solid rgba(58, 101, 93, 0.14);
  font-size: 1.02rem;
}

.forum-thread-main {
  display: grid;
  gap: 0.24rem;
  min-width: 0;
}

.forum-thread-title-row {
  justify-content: flex-start;
  align-items: center;
}

.forum-thread-title-link {
  min-width: 0;
}

.forum-thread-title {
  display: block;
  overflow-wrap: anywhere;
  font-size: 0.98rem;
}

.forum-thread-meta {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.forum-thread-stats,
.forum-thread-lastpost {
  display: grid;
  gap: 0.1rem;
  justify-items: end;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.25;
}

.forum-thread-stats strong,
.forum-thread-lastpost strong {
  color: var(--primary);
  font-size: 0.92rem;
}

.forum-thread-lastpost time {
  white-space: nowrap;
}

.forum-thread-content {
  margin: 0 0.95rem 0.95rem 3.82rem;
  padding: 0.8rem;
  border: 1px solid rgba(58, 101, 93, 0.12);
  border-radius: 16px;
  background: rgba(255,255,255,0.82);
}

.forum-post-toolbar {
  padding-bottom: 0.6rem;
  border-bottom: 1px solid rgba(58, 101, 93, 0.1);
}

.forum-post-count {
  font-weight: 800;
  color: var(--primary);
}

.forum-post-list {
  display: grid;
  gap: 0.68rem;
}

.forum-post {
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(58, 101, 93, 0.13);
  border-radius: 14px;
  background: rgba(255,255,255,0.96);
}

.forum-post.is-own {
  border-color: rgba(184, 106, 60, 0.28);
  background: linear-gradient(90deg, rgba(255, 248, 242, 0.55), rgba(255,255,255,0.96));
}

.forum-post-avatar {
  width: 54px;
  height: 54px;
  margin: 0.9rem auto 0.55rem;
}

.forum-post > .forum-post-avatar {
  grid-column: 1;
  grid-row: 1;
}

.forum-post-main {
  grid-column: 2;
  grid-row: 1;
  gap: 0.72rem;
  min-height: 136px;
  padding: 0.85rem 0.95rem;
  border-left: 1px solid rgba(58, 101, 93, 0.1);
}

.forum-post-header {
  padding-bottom: 0.52rem;
  border-bottom: 1px solid rgba(58, 101, 93, 0.09);
}

.forum-post-body {
  font-size: 0.96rem;
  line-height: 1.65;
}

.forum-post-actions {
  padding-top: 0.52rem;
  border-top: 1px solid rgba(58, 101, 93, 0.09);
}

.forum-compose-toggle,
.forum-reply-toggle {
  padding: 0.72rem;
  border: 1px solid rgba(58, 101, 93, 0.11);
  border-radius: 16px;
  background: rgba(255,255,255,0.64);
}

.forum-compose-toggle > summary.button,
.forum-reply-toggle > summary.button,
.forum-compose-form .button,
.forum-reply-form .button,
.forum-search-form .button {
  min-height: 38px;
}

@media (max-width: 980px) {
  .forum-board-tools {
    justify-items: stretch;
    min-width: 100%;
  }

  .forum-search-form {
    justify-content: flex-start;
  }

  .forum-thread-summary {
    grid-template-columns: 36px minmax(0, 1fr);
  }

  .forum-thread-stats,
  .forum-thread-lastpost {
    grid-column: 2;
    justify-items: start;
    display: inline-flex;
    gap: 0.4rem;
    flex-wrap: wrap;
  }

  .forum-thread-content {
    margin-left: 0.95rem;
  }

  .forum-post {
    grid-template-columns: 1fr;
  }

  .forum-post > .forum-post-avatar {
    grid-column: 1;
    margin-left: 0.9rem;
  }

  .forum-post-main {
    grid-column: 1;
    border-left: 0;
    border-top: 1px solid rgba(58, 101, 93, 0.1);
  }
}

@media (max-width: 760px) {
  .forum-breadcrumb {
    border-radius: 14px;
  }

  .forum-search-field,
  .forum-search-form .button,
  .forum-search-form .forum-inline-link {
    width: 100%;
  }

  .forum-search-form .button,
  .forum-search-form .forum-inline-link {
    justify-content: center;
  }

  .forum-thread-summary,
  .forum-thread-content {
    padding-left: 0.72rem;
    padding-right: 0.72rem;
  }

  .forum-thread-content {
    margin: 0 0.72rem 0.72rem;
  }

  .forum-thread-meta {
    white-space: normal;
  }
}

/* Therapist logged-in return gate */
.therapist-return-fab {
  position: fixed;
  right: clamp(14px, 2.5vw, 28px);
  bottom: clamp(14px, 2.5vw, 28px);
  z-index: 1200;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  max-width: min(340px, calc(100vw - 28px));
  padding: 12px 14px;
  border: 1px solid rgba(130, 95, 55, 0.24);
  border-radius: 999px;
  color: #2f2418;
  text-decoration: none;
  background: rgba(255, 251, 244, 0.94);
  box-shadow: 0 18px 48px rgba(66, 46, 27, 0.2), 0 2px 12px rgba(66, 46, 27, 0.08);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.therapist-return-fab:hover,
.therapist-return-fab:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(130, 95, 55, 0.42);
  box-shadow: 0 22px 56px rgba(66, 46, 27, 0.24), 0 4px 16px rgba(66, 46, 27, 0.12);
}

.therapist-return-fab:focus-visible {
  outline: 3px solid rgba(140, 102, 59, 0.25);
  outline-offset: 4px;
}

.therapist-return-fab-status {
  width: 12px;
  height: 12px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: #4f9f65;
  box-shadow: 0 0 0 5px rgba(79, 159, 101, 0.14);
}

.therapist-return-fab-copy {
  display: grid;
  gap: 1px;
  min-width: 0;
}

.therapist-return-fab-copy strong,
.therapist-return-fab-copy span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.therapist-return-fab-copy strong {
  font-size: 0.92rem;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.therapist-return-fab-copy span {
  color: rgba(47, 36, 24, 0.68);
  font-size: 0.78rem;
  line-height: 1.15;
}

.therapist-return-fab-arrow {
  display: grid;
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 999px;
  background: rgba(130, 95, 55, 0.12);
  color: #5d3f25;
  font-weight: 800;
}

@media (max-width: 640px) {
  .therapist-return-fab {
    right: 12px;
    bottom: 12px;
    gap: 10px;
    padding: 10px 11px;
  }

  .therapist-return-fab-copy span {
    display: none;
  }

  .therapist-return-fab-arrow {
    width: 26px;
    height: 26px;
  }
}

/* Update 2026.04.27.110: kompakt belso terapeuta kezdopult */
.therapist-dashboard-compact {
  display: grid;
  gap: 0.9rem;
}

.therapist-dashboard-hero-card {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(220px, 0.65fr);
  gap: 0.9rem;
  align-items: stretch;
  padding: 1.1rem;
  border-radius: 28px;
  border: 1px solid rgba(58, 101, 93, 0.1);
  background:
    radial-gradient(circle at top left, rgba(184, 106, 60, 0.12), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(248, 243, 236, 0.9));
  box-shadow: 0 18px 42px rgba(58, 101, 93, 0.08);
}

.therapist-dashboard-hero-card h1 {
  margin: 0.1rem 0 0.35rem;
  color: var(--primary);
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  line-height: 1.05;
}

.therapist-dashboard-hero-card p:not(.eyebrow) {
  margin: 0;
  max-width: 62ch;
  color: var(--muted);
}

.therapist-dashboard-status-strip {
  display: grid;
  gap: 0.55rem;
  align-content: center;
  padding: 0.8rem;
  border-radius: 22px;
  border: 1px solid rgba(58, 101, 93, 0.1);
  background: rgba(255, 255, 255, 0.72);
}

.therapist-dashboard-status-strip span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.48rem 0.6rem;
  border-radius: 14px;
  background: rgba(58, 101, 93, 0.055);
  color: var(--primary);
  font-size: 0.9rem;
}

.therapist-dashboard-status-strip strong {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.74;
}

.therapist-dashboard-shirt-deadline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.2rem;
  border: 2px solid #b51d1a;
  border-radius: 18px;
  background: #ffffff;
  color: #b51d1a;
  text-decoration: none;
  box-shadow: none;
  font-family: inherit;
  font-weight: 400;
  letter-spacing: 0;
  transition: border-color 0.18s ease, color 0.18s ease;
}

.therapist-dashboard-shirt-deadline:hover,
.therapist-dashboard-shirt-deadline:focus-visible {
  color: #8e201d;
  border-color: #8e201d;
}

.therapist-dashboard-shirt-deadline span {
  font-size: 1rem;
  font-weight: 400;
}

.therapist-dashboard-shirt-deadline strong {
  font-size: 1rem;
  font-weight: 400;
  white-space: nowrap;
}

.therapist-dashboard-metrics-grid,
.therapist-dashboard-quick-grid,
.therapist-dashboard-sections-grid {
  display: grid;
  gap: 0.8rem;
}

.therapist-dashboard-metrics-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.therapist-dashboard-quick-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.therapist-dashboard-sections-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.therapist-dashboard-metric,
.therapist-dashboard-quick-card,
.therapist-dashboard-panel {
  border: 1px solid rgba(58, 101, 93, 0.1);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 14px 30px rgba(58, 101, 93, 0.06);
}

.therapist-dashboard-metric,
.therapist-dashboard-quick-card {
  display: grid;
  gap: 0.22rem;
  padding: 0.85rem;
  border-radius: 20px;
  color: var(--primary);
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.therapist-dashboard-metric:hover,
.therapist-dashboard-metric:focus-visible,
.therapist-dashboard-quick-card:hover,
.therapist-dashboard-quick-card:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(58, 101, 93, 0.22);
  box-shadow: 0 18px 34px rgba(58, 101, 93, 0.1);
}

.therapist-dashboard-metric span,
.therapist-dashboard-quick-card span {
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.25;
}

.therapist-dashboard-metric strong {
  font-size: 1.85rem;
  line-height: 1;
}

.therapist-dashboard-metric small {
  color: var(--muted);
  font-weight: 700;
}

.therapist-dashboard-quick-card strong {
  font-size: 0.98rem;
}

.therapist-dashboard-panel {
  display: grid;
  gap: 0.75rem;
  padding: 1rem;
  border-radius: 24px;
}

.therapist-dashboard-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}

.therapist-dashboard-panel-head h2 {
  margin: 0.1rem 0 0;
  color: var(--primary);
  font-size: 1.05rem;
}

.therapist-dashboard-list {
  display: grid;
  gap: 0.5rem;
}

.therapist-dashboard-list a {
  display: grid;
  gap: 0.18rem;
  padding: 0.65rem 0.7rem;
  border-radius: 16px;
  background: rgba(58, 101, 93, 0.045);
  color: var(--primary);
  text-decoration: none;
}

.therapist-dashboard-list a:hover,
.therapist-dashboard-list a:focus-visible {
  background: rgba(58, 101, 93, 0.085);
}

.therapist-dashboard-list strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.94rem;
}

.therapist-dashboard-list span {
  color: var(--muted);
  font-size: 0.82rem;
}

.therapist-dashboard-profile-list p {
  padding: 0.5rem 0;
}

@media (max-width: 980px) {
  .therapist-dashboard-hero-card,
  .therapist-dashboard-sections-grid {
    grid-template-columns: 1fr;
  }

  .therapist-dashboard-metrics-grid,
  .therapist-dashboard-quick-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .therapist-dashboard-hero-card,
  .therapist-dashboard-panel {
    border-radius: 20px;
    padding: 0.85rem;
  }

  .therapist-dashboard-metrics-grid,
  .therapist-dashboard-quick-grid {
    grid-template-columns: 1fr;
  }

  .therapist-dashboard-shirt-deadline {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.35rem;
    padding: 0.95rem 1rem;
  }

  .therapist-dashboard-shirt-deadline strong {
    white-space: normal;
  }

  .therapist-dashboard-metric {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }

  .therapist-dashboard-metric strong {
    grid-row: span 2;
    font-size: 1.55rem;
  }
}

/* Release 2026.04.27.111 - therapist dashboard separation pass */
.therapist-dashboard-compact {
  gap: 1.25rem;
}

.therapist-dashboard-hero-card {
  border-color: rgba(58, 101, 93, 0.18);
  box-shadow: 0 18px 44px rgba(58, 101, 93, 0.11);
}

.therapist-dashboard-status-strip {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(58, 101, 93, 0.16);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.62);
}

.therapist-dashboard-metrics-grid,
.therapist-dashboard-quick-grid,
.therapist-dashboard-sections-grid {
  position: relative;
  padding: 0.85rem;
  border: 1px solid rgba(58, 101, 93, 0.12);
  border-radius: 28px;
  background: rgba(248, 243, 236, 0.56);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.therapist-dashboard-metrics-grid::before,
.therapist-dashboard-quick-grid::before,
.therapist-dashboard-sections-grid::before {
  display: block;
  grid-column: 1 / -1;
  margin: 0 0 0.1rem;
  color: var(--primary);
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  line-height: 1;
  text-transform: uppercase;
}

.therapist-dashboard-metrics-grid::before {
  content: "Áttekintés";
}

.therapist-dashboard-quick-grid::before {
  content: "Gyors elérés";
}

.therapist-dashboard-sections-grid::before {
  content: "Friss tartalmak";
}

.therapist-dashboard-metric,
.therapist-dashboard-quick-card,
.therapist-dashboard-panel {
  border-color: rgba(58, 101, 93, 0.16);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 14px 34px rgba(58, 101, 93, 0.075);
}

.therapist-dashboard-metric {
  min-height: 108px;
  align-content: space-between;
  border-left: 4px solid rgba(184, 106, 60, 0.34);
}

.therapist-dashboard-metric span,
.therapist-dashboard-quick-card span {
  display: block;
}

.therapist-dashboard-metric strong {
  margin-top: 0.1rem;
  padding-top: 0.28rem;
  border-top: 1px solid rgba(58, 101, 93, 0.08);
}

.therapist-dashboard-quick-card {
  min-height: 76px;
  align-content: center;
  border-left: 4px solid rgba(58, 101, 93, 0.24);
}

.therapist-dashboard-panel {
  gap: 0.85rem;
  padding: 0.95rem;
  overflow: hidden;
}

.therapist-dashboard-panel-head {
  margin: -0.95rem -0.95rem 0;
  padding: 0.82rem 0.95rem;
  border-bottom: 1px solid rgba(58, 101, 93, 0.1);
  background: linear-gradient(135deg, rgba(58, 101, 93, 0.075), rgba(184, 106, 60, 0.055));
}

.therapist-dashboard-panel-head .eyebrow {
  margin-bottom: 0.12rem;
}

.therapist-dashboard-panel-head h2 {
  font-size: 1.02rem;
}

.therapist-dashboard-list {
  gap: 0.62rem;
}

.therapist-dashboard-list a {
  padding: 0.72rem 0.78rem;
  border: 1px solid rgba(58, 101, 93, 0.09);
  background: rgba(248, 243, 236, 0.54);
}

.therapist-dashboard-list a + a {
  margin-top: 0.02rem;
}

.therapist-dashboard-list strong {
  color: var(--primary);
}

.therapist-dashboard-list span {
  padding-top: 0.12rem;
}

.therapist-dashboard-profile-list {
  padding: 0.15rem 0.1rem 0;
}

.therapist-dashboard-profile-list p {
  margin: 0;
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(58, 101, 93, 0.08);
}

.therapist-dashboard-profile-list p:last-child {
  border-bottom: 0;
}

@media (max-width: 620px) {
  .therapist-dashboard-metrics-grid,
  .therapist-dashboard-quick-grid,
  .therapist-dashboard-sections-grid {
    padding: 0.7rem;
    border-radius: 22px;
  }

  .therapist-dashboard-metric,
  .therapist-dashboard-quick-card {
    min-height: auto;
  }

  .therapist-dashboard-panel-head {
    margin: -0.85rem -0.85rem 0;
    padding: 0.75rem 0.85rem;
  }
}


/* Therapist mailbox chat update 2026.04.27.112 */
.therapist-mailbox-chat-panel {
  display: grid;
  gap: 18px;
}

.therapist-mailbox-chat-toolbar {
  align-items: flex-start;
  background: linear-gradient(135deg, rgba(255, 250, 243, 0.92), rgba(246, 239, 230, 0.78));
  border: 1px solid rgba(58, 101, 93, 0.14);
  border-radius: 26px;
  padding: 18px;
}

.therapist-mailbox-chat-folders {
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(58, 101, 93, 0.12);
  border-radius: 24px;
  padding: 10px;
}

.therapist-mailbox-chat-filterbar {
  border: 1px solid rgba(58, 101, 93, 0.12);
  border-radius: 22px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.72);
}

.therapist-mailbox-chat-compose {
  min-width: min(520px, 88vw);
}

.therapist-mailbox-emoji-field {
  gap: 8px;
}

.therapist-mailbox-emoji-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 8px;
  border: 1px solid rgba(58, 101, 93, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
}

.therapist-mailbox-emoji-row button {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(58, 101, 93, 0.12);
  border-radius: 999px;
  background: #fffaf3;
  cursor: pointer;
  font-size: 1.05rem;
  line-height: 1;
  transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}

.therapist-mailbox-emoji-row button:hover {
  border-color: rgba(58, 101, 93, 0.32);
  box-shadow: 0 8px 18px rgba(58, 101, 93, 0.12);
  transform: translateY(-1px);
}

.therapist-mailbox-chat-group {
  border: 1px solid rgba(58, 101, 93, 0.14);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.74);
  padding: 14px;
}

.therapist-mailbox-group-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  padding: 4px 4px 12px;
  border-bottom: 1px solid rgba(58, 101, 93, 0.1);
}

.therapist-mailbox-group-header h3 {
  margin: 0;
}

.therapist-mailbox-group-header span {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
}

.therapist-mailbox-thread-list {
  display: grid;
  gap: 12px;
}

.therapist-mailbox-thread {
  border: 1px solid rgba(58, 101, 93, 0.12);
  border-radius: 22px;
  background: #fffaf3;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(58, 101, 93, 0.08);
}

.therapist-mailbox-thread[open] {
  background: #ffffff;
  border-color: rgba(58, 101, 93, 0.2);
}

.therapist-mailbox-thread.is-unread {
  border-color: rgba(158, 111, 63, 0.34);
  box-shadow: 0 14px 34px rgba(158, 111, 63, 0.12);
}

.therapist-mailbox-thread-summary {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 14px;
  cursor: pointer;
  list-style: none;
}

.therapist-mailbox-thread-summary::-webkit-details-marker {
  display: none;
}

.therapist-mailbox-thread-avatar {
  width: 44px;
  height: 44px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(58, 101, 93, 0.16), rgba(210, 172, 126, 0.18));
  color: var(--brand-green, #315d54);
  font-weight: 800;
}

.therapist-mailbox-thread-main {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.therapist-mailbox-thread-main strong,
.therapist-mailbox-thread-main small,
.therapist-mailbox-thread-main em {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.therapist-mailbox-thread-main small {
  color: var(--muted);
  font-size: 0.82rem;
  font-style: normal;
}

.therapist-mailbox-thread-main em {
  color: rgba(57, 52, 45, 0.76);
  font-size: 0.92rem;
  font-style: normal;
}

.therapist-mailbox-chat-shell {
  border-top: 1px solid rgba(58, 101, 93, 0.1);
  padding: 16px;
  background: linear-gradient(180deg, rgba(246, 239, 230, 0.42), rgba(255, 255, 255, 0.74));
}

.therapist-mailbox-chat-timeline {
  display: grid;
  gap: 12px;
  max-height: 560px;
  overflow: auto;
  padding: 2px 4px 12px;
}

.therapist-mailbox-chat-bubble {
  width: min(78%, 640px);
  border: 1px solid rgba(58, 101, 93, 0.12);
  border-radius: 22px;
  padding: 12px 14px;
  background: #fffaf3;
  box-shadow: 0 10px 24px rgba(58, 101, 93, 0.07);
}

.therapist-mailbox-chat-bubble.is-own {
  justify-self: end;
  background: linear-gradient(135deg, rgba(58, 101, 93, 0.12), rgba(58, 101, 93, 0.05));
  border-color: rgba(58, 101, 93, 0.22);
}

.therapist-mailbox-chat-bubble.is-other {
  justify-self: start;
}

.therapist-mailbox-chat-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 0.8rem;
}

.therapist-mailbox-chat-meta strong {
  color: var(--brand-green, #315d54);
  font-size: 0.86rem;
}

.therapist-mailbox-chat-body {
  white-space: normal;
  line-height: 1.55;
  color: var(--text, #312d28);
}

.therapist-mailbox-thread-actions {
  border-top: 1px solid rgba(58, 101, 93, 0.1);
  padding-top: 12px;
  margin-top: 4px;
}

@media (max-width: 720px) {
  .therapist-mailbox-thread-summary {
    grid-template-columns: 38px 1fr;
  }

  .therapist-mailbox-thread-summary .therapist-mailbox-badge {
    grid-column: 2;
    justify-self: start;
  }

  .therapist-mailbox-chat-bubble {
    width: 94%;
  }

  .therapist-mailbox-chat-meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 2px;
  }
}

/* Mailbox recipient clarity + shared emoji rows 2026.04.27.113 */
.therapist-mailbox-compose-intro {
  margin: 0;
  color: #5f6f6a;
  font-size: 0.94rem;
}

.therapist-mailbox-recipient-card {
  border: 1px solid rgba(58, 101, 93, 0.14);
  border-radius: 18px;
  padding: 12px;
  background: rgba(255, 250, 243, 0.82);
}

.therapist-mailbox-recipient-card label {
  margin: 0;
}

.therapist-mailbox-recipient-hint {
  margin: 8px 0 0;
  color: #52645f;
  font-size: 0.9rem;
}

.forum-form .therapist-mailbox-emoji-row {
  margin: 8px 0 10px;
}

/* 2026.04.27.114 - belso terapeuta csaladtagok lista */
.therapist-family-panel {
  display: grid;
  gap: 1.15rem;
}

.therapist-family-header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(64, 45, 35, 0.12);
}

.therapist-family-header h2 {
  margin-bottom: 0.35rem;
}

.therapist-family-header p:not(.eyebrow) {
  max-width: 58rem;
  margin-bottom: 0;
}

.therapist-family-count {
  min-width: 2.8rem;
  height: 2.8rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: #2f4f46;
  background: rgba(90, 129, 116, 0.14);
  border: 1px solid rgba(90, 129, 116, 0.22);
}

.therapist-family-list {
  display: grid;
  gap: 0.7rem;
}

.therapist-family-row {
  display: grid;
  grid-template-columns: 3.2rem minmax(9rem, 1fr) minmax(16rem, 1.7fr) auto;
  gap: 0.85rem;
  align-items: center;
  padding: 0.85rem 0.95rem;
  border: 1px solid rgba(64, 45, 35, 0.12);
  border-radius: 1.2rem;
  background: rgba(255, 252, 247, 0.82);
  box-shadow: 0 10px 24px rgba(54, 37, 27, 0.05);
}

.therapist-family-row.is-grand-master {
  border-color: rgba(182, 132, 44, 0.34);
  background: linear-gradient(135deg, rgba(255, 248, 226, 0.96), rgba(255, 252, 247, 0.9));
}

.therapist-family-avatar {
  width: 3.2rem;
  height: 3.2rem;
  border-radius: 999px;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(90, 129, 116, 0.18), rgba(225, 198, 171, 0.25));
  color: #2f4f46;
  font-weight: 800;
  border: 1px solid rgba(64, 45, 35, 0.1);
}

.therapist-family-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.therapist-family-main {
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
  align-items: center;
}

.therapist-family-main strong {
  color: #2f251f;
  line-height: 1.25;
}

.therapist-family-badge {
  display: inline-flex;
  align-items: center;
  min-height: 1.55rem;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 800;
  color: #7a520e;
  background: rgba(245, 198, 88, 0.25);
  border: 1px solid rgba(182, 132, 44, 0.24);
}

.therapist-family-meta {
  display: grid;
  grid-template-columns: minmax(6rem, 0.9fr) minmax(7rem, 0.9fr) minmax(9rem, 1.15fr);
  gap: 0.6rem;
  color: rgba(47, 37, 31, 0.72);
  font-size: 0.93rem;
}

.therapist-family-meta span,
.therapist-family-meta a {
  min-width: 0;
  color: inherit;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.therapist-family-meta a:hover,
.therapist-family-meta a:focus-visible {
  color: #2f4f46;
  text-decoration: underline;
}

.therapist-family-actions {
  display: flex;
  justify-content: flex-end;
}

.therapist-family-actions .button {
  min-height: 2.35rem;
  padding: 0.58rem 0.9rem;
  white-space: nowrap;
}

@media (max-width: 900px) {
  .therapist-family-row {
    grid-template-columns: 3rem minmax(0, 1fr);
  }

  .therapist-family-meta,
  .therapist-family-actions {
    grid-column: 2;
  }

  .therapist-family-meta {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }

  .therapist-family-actions {
    justify-content: flex-start;
    margin-top: 0.15rem;
  }
}

@media (max-width: 620px) {
  .therapist-family-header {
    flex-direction: column;
  }

  .therapist-family-row {
    padding: 0.78rem;
    border-radius: 1rem;
  }
}

/* 2026.04.27.115 - csaladtagok teljes lista es aktiv elofizetes jelzes */
.therapist-family-avatar {
  position: relative;
  overflow: visible;
}

.therapist-family-avatar img {
  border-radius: inherit;
}

.therapist-family-subscription-smile {
  position: absolute;
  right: -0.28rem;
  bottom: -0.24rem;
  width: 1.28rem;
  height: 1.28rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #fffaf3;
  border: 1px solid rgba(90, 129, 116, 0.28);
  box-shadow: 0 4px 12px rgba(54, 37, 27, 0.14);
  font-size: 0.82rem;
  line-height: 1;
}

/* 2026.04.27.118 - csaladtag kompakt belso adatlap */
.therapist-family-name-link {
  color: #2f251f;
  font-weight: 800;
  line-height: 1.25;
  text-decoration: none;
  border-bottom: 1px solid rgba(90, 129, 116, 0.28);
}

.therapist-family-name-link:hover,
.therapist-family-name-link:focus-visible {
  color: #2f4f46;
  border-bottom-color: currentColor;
}

.therapist-family-detail-card {
  display: grid;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid rgba(64, 45, 35, 0.14);
  border-radius: 1.35rem;
  background: rgba(255, 252, 247, 0.92);
  box-shadow: 0 14px 32px rgba(54, 37, 27, 0.07);
}

.therapist-family-detail-card.is-grand-master {
  border-color: rgba(182, 132, 44, 0.34);
  background: linear-gradient(135deg, rgba(255, 248, 226, 0.96), rgba(255, 252, 247, 0.94));
}

.therapist-family-detail-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid rgba(64, 45, 35, 0.12);
}

.therapist-family-detail-identity {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  min-width: 0;
}

.therapist-family-detail-avatar {
  width: 4rem;
  height: 4rem;
  flex: 0 0 auto;
}

.therapist-family-detail-identity h3 {
  margin: 0.15rem 0 0.35rem;
  color: #2f251f;
  font-size: clamp(1.25rem, 2vw, 1.65rem);
}

.therapist-family-detail-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.5rem;
}

.therapist-family-detail-actions .button {
  min-height: 2.35rem;
  padding: 0.58rem 0.95rem;
}

.therapist-family-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}

.therapist-family-detail-grid > div {
  min-width: 0;
  padding: 0.72rem 0.82rem;
  border: 1px solid rgba(64, 45, 35, 0.1);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.56);
}

.therapist-family-detail-grid span {
  display: block;
  margin-bottom: 0.2rem;
  color: rgba(47, 37, 31, 0.58);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.therapist-family-detail-grid strong,
.therapist-family-detail-grid a {
  color: #2f251f;
  font-size: 0.98rem;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.therapist-family-detail-grid a:hover,
.therapist-family-detail-grid a:focus-visible {
  color: #2f4f46;
  text-decoration: underline;
}

@media (max-width: 760px) {
  .therapist-family-detail-top {
    flex-direction: column;
  }

  .therapist-family-detail-actions {
    justify-content: flex-start;
    width: 100%;
  }

  .therapist-family-detail-grid {
    grid-template-columns: 1fr;
  }
}

/* 2026.04.27.119 - csaladtag adatlap bemutatkozas blokk */
.therapist-family-detail-intro {
  display: grid;
  gap: 0.45rem;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(64, 45, 35, 0.1);
  border-radius: 1.05rem;
  background: rgba(255, 255, 255, 0.58);
}

.therapist-family-detail-intro > span {
  display: block;
  color: rgba(47, 37, 31, 0.58);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.therapist-family-detail-intro .rich-content {
  color: #2f251f;
  font-size: 0.98rem;
  line-height: 1.62;
}

.therapist-family-detail-intro .rich-content > :first-child {
  margin-top: 0;
}

.therapist-family-detail-intro .rich-content > :last-child {
  margin-bottom: 0;
}

/* 2026.04.27.120 - csaladtagok kereso es szuro sav */
.therapist-family-filterbar {
  display: grid;
  grid-template-columns: minmax(14rem, 1.4fr) repeat(3, minmax(9rem, 0.8fr)) auto;
  gap: 0.75rem;
  align-items: end;
  padding: 0.9rem;
  border: 1px solid rgba(64, 45, 35, 0.12);
  border-radius: 1.2rem;
  background: rgba(255, 252, 247, 0.88);
  box-shadow: 0 10px 24px rgba(54, 37, 27, 0.05);
}

.therapist-family-filterbar label {
  display: grid;
  gap: 0.35rem;
  margin: 0;
  min-width: 0;
}

.therapist-family-filterbar label > span {
  color: rgba(47, 37, 31, 0.62);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.therapist-family-filterbar input,
.therapist-family-filterbar select {
  width: 100%;
  min-height: 2.5rem;
  border: 1px solid rgba(64, 45, 35, 0.14);
  border-radius: 0.85rem;
  background: rgba(255, 255, 255, 0.84);
  color: #2f251f;
  font: inherit;
  padding: 0.58rem 0.75rem;
}

.therapist-family-filterbar input:focus,
.therapist-family-filterbar select:focus {
  outline: 2px solid rgba(90, 129, 116, 0.22);
  border-color: rgba(90, 129, 116, 0.42);
}

.therapist-family-filter-actions {
  display: flex;
  gap: 0.45rem;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.therapist-family-filter-actions .button {
  min-height: 2.5rem;
  padding: 0.58rem 0.86rem;
  white-space: nowrap;
}

.therapist-family-filter-summary {
  grid-column: 1 / -1;
  margin: -0.2rem 0 0;
  color: rgba(47, 37, 31, 0.62);
  font-size: 0.9rem;
  font-weight: 700;
}

@media (max-width: 1080px) {
  .therapist-family-filterbar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .therapist-family-search-field,
  .therapist-family-filter-actions,
  .therapist-family-filter-summary {
    grid-column: 1 / -1;
  }

  .therapist-family-filter-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 620px) {
  .therapist-family-filterbar {
    grid-template-columns: 1fr;
    padding: 0.78rem;
    border-radius: 1rem;
  }

  .therapist-family-search-field,
  .therapist-family-filter-actions,
  .therapist-family-filter-summary {
    grid-column: auto;
  }
}

/* Business card subscription gate */
.therapist-card-subscription-modal[hidden] {
  display: none !important;
}

.therapist-card-subscription-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 22px;
}

.therapist-card-subscription-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 28, 26, 0.46);
  backdrop-filter: blur(8px);
}

.therapist-card-subscription-dialog {
  position: relative;
  width: min(440px, 100%);
  border: 1px solid rgba(42, 74, 64, 0.14);
  border-radius: 26px;
  background: linear-gradient(145deg, rgba(255,255,255,0.98), rgba(248,244,236,0.96));
  box-shadow: 0 24px 70px rgba(21, 38, 34, 0.24);
  padding: 28px;
  text-align: center;
}

.therapist-card-subscription-icon {
  width: 54px;
  height: 54px;
  margin: 0 auto 14px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: rgba(54, 102, 87, 0.10);
  font-size: 1.55rem;
}

.therapist-card-subscription-dialog h3 {
  margin: 0 0 10px;
  color: #1f332d;
  font-size: 1.25rem;
}

.therapist-card-subscription-dialog p {
  margin: 0;
  color: rgba(31, 51, 45, 0.74);
  line-height: 1.58;
}

.therapist-card-subscription-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 22px;
}

@media (max-width: 640px) {
  .therapist-card-subscription-dialog {
    padding: 22px;
    border-radius: 22px;
  }

  .therapist-card-subscription-actions .button {
    width: 100%;
    justify-content: center;
  }
}
/* Therapist mailbox clarity update 2026.04.27.129 */
.therapist-mailbox-thread-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
  margin-top: .45rem;
}

.therapist-mailbox-thread-tags span,
.therapist-mailbox-chat-route span,
.therapist-mailbox-target-preview {
  border: 1px solid rgba(15, 23, 42, .08);
  background: rgba(255, 255, 255, .72);
  color: rgba(15, 23, 42, .72);
  border-radius: 999px;
  padding: .24rem .55rem;
  font-size: .76rem;
  line-height: 1.35;
}

.therapist-mailbox-chat-route {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
  margin: -.15rem 0 .55rem;
}

.therapist-mailbox-chat-bubble.is-own .therapist-mailbox-chat-route span {
  background: rgba(255, 255, 255, .82);
  border-color: rgba(39, 86, 73, .16);
  color: rgba(15, 23, 42, .78);
}

.therapist-mailbox-thread-tags span.is-route,
.therapist-mailbox-chat-route span.is-route {
  font-weight: 800;
  color: rgba(39, 86, 73, .98);
  background: rgba(225, 248, 239, .88);
  border-color: rgba(39, 86, 73, .18);
}

.therapist-mailbox-chat-bubble.is-own .therapist-mailbox-chat-route span.is-route {
  color: rgba(39, 86, 73, .98);
  background: rgba(225, 248, 239, .92);
}

.therapist-mailbox-target-preview {
  display: inline-flex;
  width: fit-content;
  margin-top: .35rem;
  font-weight: 700;
  color: rgba(39, 86, 73, .96);
  background: rgba(225, 248, 239, .86);
  border-color: rgba(39, 86, 73, .18);
}

.therapist-mailbox-recipient-card select,
.therapist-mailbox-chat-compose select {
  font-weight: 650;
}

/* 230 - Családtag kártyák finomított admin/user elrendezése */
.therapist-family-list {
  gap: .72rem;
}
.therapist-family-list > .therapist-family-row:nth-child(odd) {
  background: rgba(255,252,247,.92);
}
.therapist-family-list > .therapist-family-row:nth-child(even) {
  background: rgba(248,250,247,.92);
}
.therapist-family-list > .therapist-family-row.is-grand-master {
  background: linear-gradient(135deg, rgba(255,248,226,.96), rgba(255,252,247,.9));
}
.therapist-family-row {
  grid-template-columns: 3.2rem minmax(11rem, 1.15fr) minmax(16rem, 1.65fr) auto;
  align-items: center;
}
.therapist-family-main {
  flex-direction: column;
  align-items: flex-start;
  gap: .16rem;
}
.therapist-family-name-link {
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 600;
  font-size: 1.04rem;
  letter-spacing: .005em;
  color: #2c211b;
  border-bottom-color: rgba(90,129,116,.20);
}
.therapist-family-main .therapist-family-badge {
  margin-top: .16rem;
  font-weight: 500;
}
.therapist-family-actions:empty {
  display: none;
}
.therapist-family-meta {
  align-items: center;
}
.therapist-family-meta span,
.therapist-family-meta a {
  overflow-wrap: normal;
  word-break: normal;
}
.therapist-family-detail-card {
  background: rgba(255,252,247,.94);
}
.therapist-family-detail-card .therapist-family-detail-identity h3 {
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 600;
  letter-spacing: .005em;
}
.therapist-family-detail-role-control {
  display: none;
}
@media (max-width: 900px) {
  .therapist-family-row {
    grid-template-columns: 3rem minmax(0, 1fr);
  }
  .practice-log-role-popover {
    left: 0;
    right: auto;
  }
  .practice-log-role-popover::before {
    left: 1.2rem;
    right: auto;
  }
}

/* 231 - system avatars and profile image prompt */
.therapist-family-avatar img,
.therapist-account-sidebar-avatar,
.therapist-card-image,
.therapist-profile-image {
  background: #f6f1e8;
}

.seishin-avatar-prompt-backdrop {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  background: rgba(19, 28, 33, 0.42);
  backdrop-filter: blur(10px);
}

.seishin-avatar-prompt {
  position: relative;
  width: min(560px, 100%);
  border-radius: 28px;
  border: 1px solid rgba(58, 101, 93, 0.16);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(250, 246, 240, 0.98));
  box-shadow: 0 28px 80px rgba(17, 24, 39, 0.28);
  padding: 1.35rem;
  color: #14213d;
}

.seishin-avatar-prompt-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 999px;
  border: 1px solid rgba(58, 101, 93, 0.18);
  background: rgba(255, 255, 255, 0.86);
  color: #2f4f46;
  cursor: pointer;
  font-size: 1.25rem;
  line-height: 1;
}

.seishin-avatar-prompt-preview {
  width: 5rem;
  height: 5rem;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(58, 101, 93, 0.16);
  background: #f6f1e8;
  margin-bottom: 0.85rem;
}

.seishin-avatar-prompt-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.seishin-avatar-prompt h2 {
  margin: 0 2.4rem 0.4rem 0;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  line-height: 1.15;
  color: #14213d;
}

.seishin-avatar-prompt p {
  margin: 0 0 0.9rem;
  color: rgba(20, 33, 61, 0.76);
}

.seishin-avatar-prompt-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 1rem 0 1.15rem;
}

.seishin-avatar-prompt-choices {
  border-top: 1px solid rgba(58, 101, 93, 0.12);
  padding-top: 1rem;
}

.seishin-avatar-choice-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
}

.seishin-avatar-choice {
  width: 100%;
  min-height: 8.5rem;
  border: 1px solid rgba(58, 101, 93, 0.14);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.82);
  cursor: pointer;
  padding: 0.7rem;
  display: grid;
  justify-items: center;
  gap: 0.45rem;
  color: #2f4f46;
}

.seishin-avatar-choice:hover,
.seishin-avatar-choice:focus-visible,
.seishin-avatar-choice.is-selected {
  border-color: rgba(58, 101, 93, 0.42);
  box-shadow: 0 10px 26px rgba(58, 101, 93, 0.12);
}

.seishin-avatar-choice img {
  width: 4.6rem;
  height: 4.6rem;
  border-radius: 18px;
  object-fit: cover;
}

.seishin-avatar-choice span {
  font-size: 0.88rem;
  line-height: 1.2;
}

@media (max-width: 560px) {
  .seishin-avatar-choice-grid {
    grid-template-columns: 1fr;
  }
  .seishin-avatar-choice {
    min-height: 0;
    grid-template-columns: 3.5rem 1fr;
    justify-items: start;
    text-align: left;
  }
  .seishin-avatar-choice img {
    width: 3.5rem;
    height: 3.5rem;
  }
}

.form-feedback.form-feedback-detailed {
  white-space: pre-line;
  line-height: 1.55;
  color: #8a3b12;
  background: #fff7ed;
  border: 1px solid rgba(154, 52, 18, 0.22);
  border-radius: 14px;
  padding: 12px 14px;
}

.therapist-application-form .form-feedback-detailed {
  margin-top: 8px;
}


.therapist-validation-modal[hidden] {
  display: none !important;
}

.therapist-validation-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: grid;
  place-items: center;
  padding: 24px;
  font-family: Arial, Helvetica, sans-serif;
}

.therapist-validation-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 24, 39, 0.58);
  backdrop-filter: blur(3px);
}

.therapist-validation-modal__card {
  position: relative;
  width: min(620px, calc(100vw - 32px));
  max-height: min(76vh, 720px);
  overflow: auto;
  background: #fffaf5;
  border: 1px solid rgba(154, 52, 18, 0.24);
  border-radius: 20px;
  box-shadow: 0 24px 70px rgba(17, 24, 39, 0.28);
  color: #332016;
  outline: none;
}

.therapist-validation-modal__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px 12px;
  border-bottom: 1px solid rgba(154, 52, 18, 0.14);
}

.therapist-validation-modal__head h2 {
  margin: 0;
  font-size: clamp(20px, 2.6vw, 26px);
  line-height: 1.2;
  font-weight: 650;
  letter-spacing: -0.01em;
  color: #7c2d12;
}

.therapist-validation-modal__head p {
  margin: 6px 0 0;
  font-size: 15px;
  line-height: 1.45;
  color: #6b3a22;
}

.therapist-validation-modal__x {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(154, 52, 18, 0.2);
  border-radius: 999px;
  background: #ffffff;
  color: #7c2d12;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.therapist-validation-modal__list {
  margin: 0;
  padding: 16px 26px 4px 46px;
  font-size: 15px;
  line-height: 1.52;
}

.therapist-validation-modal__list li {
  margin: 0 0 10px;
  padding-left: 2px;
}

.therapist-validation-modal__foot {
  display: flex;
  justify-content: flex-end;
  padding: 14px 22px 20px;
}

.therapist-validation-modal__button {
  border: 0;
  border-radius: 999px;
  background: #7c2d12;
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
  padding: 10px 18px;
  cursor: pointer;
}

.therapist-validation-modal__button:hover,
.therapist-validation-modal__x:hover {
  filter: brightness(0.96);
}

body.therapist-validation-modal-open {
  overflow: hidden;
}

@media (max-width: 640px) {
  .therapist-validation-modal {
    padding: 14px;
    align-items: start;
    padding-top: 8vh;
  }
  .therapist-validation-modal__head {
    padding: 18px 18px 10px;
  }
  .therapist-validation-modal__list {
    padding: 14px 20px 0 38px;
  }
  .therapist-validation-modal__foot {
    padding: 12px 18px 18px;
  }
}

/* 249 - Therapist business-card persistent settings */
.therapist-card-persistent-form {
  display: grid;
  gap: 1rem;
  margin-bottom: 1rem;
  padding: 1rem;
  border: 1px solid rgba(119, 96, 73, 0.14);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.58);
}

.therapist-card-persistent-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.therapist-card-persistent-grid label {
  display: grid;
  gap: 0.4rem;
  margin: 0;
}

.therapist-card-persistent-grid small {
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.4;
}

.therapist-card-background-swatch.is-uploaded {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

@media (max-width: 760px) {
  .therapist-card-persistent-grid {
    grid-template-columns: 1fr;
  }
}

/* 352 - Therapist account CSS recovery: scoped, non-destructive fallback */
.therapist-account-dashboard {
  display: grid;
  grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
  gap: 1.4rem;
  align-items: start;
}

.therapist-account-sidebar {
  position: sticky;
  top: 1rem;
  align-self: start;
  max-height: calc(100vh - 2rem);
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  padding-right: 0.65rem;
  border-right: 1px solid rgba(58, 101, 93, 0.08);
}

.therapist-account-content {
  min-width: 0;
}

.therapist-account-menu-panel {
  display: grid;
  gap: 0.85rem;
  padding: 0.15rem 0.4rem 0.15rem 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.therapist-account-sidebar-profile {
  display: flex;
  align-items: center;
  gap: 1.05rem;
  padding: 0.35rem 0.15rem 0.95rem;
  border-bottom: 1px solid rgba(58, 101, 93, 0.08);
  overflow: hidden;
}

.therapist-account-sidebar-avatar {
  display: block !important;
  width: 62px !important;
  height: 62px !important;
  min-width: 62px !important;
  max-width: 62px !important;
  min-height: 62px !important;
  max-height: 62px !important;
  flex: 0 0 62px !important;
  object-fit: cover !important;
  border-radius: 20px;
}

.therapist-account-sidebar-greeting-text {
  display: grid;
  gap: 0.12rem;
  margin: 0;
  line-height: 1.15;
}

.therapist-account-sidebar-greeting-lead {
  display: block;
  color: rgba(41, 76, 70, 0.64);
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.therapist-account-sidebar-greeting-name {
  display: block;
  overflow: hidden;
  max-width: 100%;
  color: #294c46;
  font-size: 1.04rem;
  font-weight: 850;
  line-height: 1.18;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.therapist-account-menu-groups {
  display: grid;
  gap: 0.72rem;
}

.therapist-account-menu-group {
  display: grid;
  gap: 0.45rem;
  padding: 0 0 0.72rem;
  border-bottom: 1px solid rgba(58, 101, 93, 0.12);
}

.therapist-account-menu-group-title {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  margin: 0;
  padding: 0.24rem 0.58rem 0.22rem;
  border-radius: 999px;
  border: 1px solid rgba(58, 101, 93, 0.10);
  background: rgba(255, 255, 255, 0.94);
  color: rgba(41, 76, 70, 0.72);
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.16em;
  line-height: 1.1;
  text-transform: uppercase;
}

.therapist-account-menu {
  display: grid;
  gap: 0.45rem;
}

.therapist-account-menu a,
.therapist-account-menu-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-height: 38px;
  padding: 0.48rem 0.65rem;
  border-radius: 10px;
  border: 1px solid transparent;
  background: transparent;
  color: #3a655d;
  font-weight: 700;
  font-size: 0.93rem;
  line-height: 1.2;
  text-decoration: none;
}

.therapist-account-menu a.is-active {
  background: #3a655d;
  color: #ffffff;
  box-shadow: 0 14px 24px rgba(58, 101, 93, 0.16);
}

.therapist-account-menu-form {
  margin: 0;
}

.therapist-account-menu-button {
  width: 100%;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

@media (max-width: 920px) {
  .therapist-account-dashboard {
    grid-template-columns: 1fr;
  }
  .therapist-account-sidebar {
    position: relative;
    top: auto;
    max-height: none;
    border-right: 0;
    padding-right: 0;
  }
}

/* 353 - Online tests inner tabs CSS recovery
   Keeps Online tests sub-navigation pills inside the account content column.
   This is intentionally scoped to the Online tests module only. */
.online-tests-page,
.online-tests-card {
  max-width: 100%;
  box-sizing: border-box;
  overflow-wrap: anywhere;
}

.online-tests-tabs,
.online-tests-portal-tabs {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 0.55rem !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  overflow-x: visible !important;
  overflow-y: visible !important;
  padding: 0.15rem 0 0.25rem !important;
  margin: 0.15rem 0 0.85rem !important;
  box-sizing: border-box !important;
  transform: none !important;
}

.online-tests-tabs a,
.online-tests-portal-tabs a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 1 auto !important;
  max-width: 100% !important;
  min-width: 0 !important;
  min-height: 40px !important;
  white-space: normal !important;
  text-align: center !important;
  line-height: 1.15 !important;
  word-break: normal !important;
  overflow-wrap: break-word !important;
  margin: 0 !important;
  box-sizing: border-box !important;
}

.online-tests-tabs a.is-active,
.online-tests-portal-tabs a.is-active {
  color: #ffffff !important;
}

@media (max-width: 680px) {
  .online-tests-tabs,
  .online-tests-portal-tabs {
    gap: 0.45rem !important;
  }

  .online-tests-tabs a,
  .online-tests-portal-tabs a {
    flex: 1 1 calc(50% - 0.45rem) !important;
    padding: 0.55rem 0.7rem !important;
  }
}

@media (max-width: 420px) {
  .online-tests-tabs a,
  .online-tests-portal-tabs a {
    flex: 1 1 100% !important;
  }
}

/* 355 therapist account dashboard force layout recovery */
.therapist-account-dashboard,.therapist-account-dashboard *{box-sizing:border-box}.therapist-account-dashboard{display:grid!important;grid-template-columns:minmax(220px,280px) minmax(0,1fr)!important;gap:1.4rem!important;align-items:start!important;width:100%!important;margin:0!important}.therapist-account-sidebar{position:sticky!important;top:1rem!important;align-self:start!important;max-height:calc(100vh - 2rem)!important;overflow-y:auto!important;overflow-x:hidden!important;padding-right:.65rem!important;border-right:1px solid rgba(58,101,93,.08)!important}.therapist-account-content{min-width:0!important;width:100%!important}.therapist-account-menu-panel{display:grid!important;gap:.85rem!important;margin:0!important;padding:.15rem .4rem .15rem 0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}.therapist-account-sidebar-profile{display:flex!important;align-items:center!important;gap:1.05rem!important;margin:0!important;padding:.35rem .15rem .95rem!important;border-bottom:1px solid rgba(58,101,93,.08)!important;overflow:hidden!important}.therapist-account-sidebar-avatar{display:block!important;width:62px!important;height:62px!important;min-width:62px!important;max-width:62px!important;min-height:62px!important;max-height:62px!important;flex:0 0 62px!important;object-fit:cover!important;border-radius:20px!important}.therapist-account-sidebar-greeting-text{display:grid!important;gap:.12rem!important;margin:0!important;line-height:1.15!important}.therapist-account-sidebar-greeting-lead{display:block!important;color:rgba(41,76,70,.64)!important;font-size:.72rem!important;font-weight:750!important;letter-spacing:.055em!important;text-transform:uppercase!important}.therapist-account-sidebar-greeting-name{display:block!important;overflow:hidden!important;max-width:100%!important;color:#294c46!important;font-size:1.04rem!important;font-weight:850!important;line-height:1.18!important;text-overflow:ellipsis!important;white-space:nowrap!important}.therapist-account-menu-groups{display:grid!important;gap:.72rem!important}.therapist-account-menu-group{display:grid!important;gap:.45rem!important;margin:0!important;padding:0 0 .72rem!important;border-bottom:1px solid rgba(58,101,93,.12)!important}.therapist-account-menu-group-title{display:inline-flex!important;align-items:center!important;width:fit-content!important;max-width:100%!important;margin:0!important;padding:.24rem .58rem .22rem!important;border-radius:999px!important;border:1px solid rgba(58,101,93,.10)!important;background:rgba(255,255,255,.94)!important;color:rgba(41,76,70,.72)!important;font-size:.68rem!important;font-weight:850!important;letter-spacing:.16em!important;line-height:1.1!important;text-transform:uppercase!important}.therapist-account-menu{display:grid!important;gap:.45rem!important}.therapist-account-menu a,.therapist-account-menu-button{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:.75rem!important;min-height:38px!important;margin:0!important;padding:.48rem .65rem!important;border-radius:10px!important;border:1px solid transparent!important;background:transparent!important;color:#3a655d!important;font:inherit!important;font-weight:700!important;font-size:.93rem!important;line-height:1.2!important;text-align:left!important;text-decoration:none!important;box-shadow:none!important;cursor:pointer!important}.therapist-account-menu a:hover,.therapist-account-menu-button:hover{background:rgba(58,101,93,.07)!important;color:#294c46!important}.therapist-account-menu a.is-active{background:#3a655d!important;color:#fff!important;box-shadow:0 14px 24px rgba(58,101,93,.16)!important}.therapist-account-menu-form{display:block!important;margin:0!important}.therapist-account-mailbox-alert{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:.18rem!important;min-width:1.35rem!important;height:1.35rem!important;padding:0 .38rem!important;border-radius:999px!important;background:#ffe9e5!important;color:#9e3d31!important;font-size:.76rem!important;font-weight:850!important;line-height:1!important}@media(max-width:920px){.therapist-account-dashboard{grid-template-columns:1fr!important}.therapist-account-sidebar{position:relative!important;top:auto!important;max-height:none!important;border-right:0!important;padding-right:0!important}}
