.page-truthbook:not(.fabricair-wallpaper) {
  background: #f7f7f3;
}

/* FabricAir colors and glow buttons for the fabricair-family page now live
   in the shared /assets/css/fabricair-brand.css (linked on that page before
   this stylesheet) via the .fabricair-theme body class. This file (shared
   across other truthbook/* pages too) keeps only layout rules. */

.tb-hero {
  min-height: 700px;
  padding: 150px 0 90px;
  display: flex;
  align-items: center;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(13, 24, 29, 0.94), rgba(13, 24, 29, 0.72) 52%, rgba(13, 24, 29, 0.28)),
    url("/assets/img/bg-light/Woman with Arms up and complete ketamine C.png") center/cover no-repeat;
}

.tb-groups-hero {
  min-height: 360px;
  padding: 118px 0 46px;
  display: flex;
  align-items: flex-end;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(13, 24, 29, 0.94), rgba(13, 24, 29, 0.68) 58%, rgba(13, 24, 29, 0.3)),
    url("/assets/img/holding hands.jpg") center/cover no-repeat;
}

.tb-family-hero {
  min-height: 680px;
  padding: 150px 0 90px;
  display: flex;
  align-items: center;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(13, 24, 29, 0.95), rgba(13, 24, 29, 0.76) 54%, rgba(13, 24, 29, 0.34)),
    url("/assets/img/healthefamilywithketamine-min.png") center/cover no-repeat;
}

.tb-kicker {
  margin: 0 0 12px;
  color: #c09201;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

.tb-hero h1,
.tb-groups-hero h1,
.tb-family-hero h1 {
  max-width: 760px;
  margin: 0 0 22px;
  color: #fff;
  font-size: 58px;
  line-height: 1.03;
  font-weight: 800;
  letter-spacing: 0;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
}

.page-truthbook-groups .tb-groups-hero h1 {
  max-width: 780px;
  margin-bottom: 16px;
  font-size: 44px;
  line-height: 1.1;
}

.page-truthbook-groups .tb-groups-hero .tb-actions {
  margin-top: 18px;
}

.tb-family-panel {
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  color: #fff;
  background: rgba(15, 23, 32, 0.78);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
}

.tb-family-panel span {
  display: block;
  margin-bottom: 10px;
  color: #f4d36b;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.tb-family-panel h2 {
  margin: 0 0 14px;
  color: #fff;
  font-size: 36px;
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: 0;
}

.tb-family-panel p {
  margin: 0;
  color: #eaf0ec;
  line-height: 1.7;
}

.tb-lead {
  max-width: 700px;
  color: #eef3ef;
  font-size: 20px;
  line-height: 1.65;
}

.tb-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  margin-top: 28px;
}

.tb-secondary-link {
  color: #fff;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.page-truthbook-profile .tb-secondary-link {
  color: #10231f;
}

.tb-dark-cta {
  color: #fff;
  background: #10231f;
}

.tb-dark-cta:hover {
  color: #10231f;
  background: #f3d36d;
}

.tb-intimacy-card {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background: rgba(15, 23, 32, 0.76);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.36);
}

.tb-intimacy-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.tb-intimacy-card div {
  padding: 20px;
}

.tb-intimacy-card span {
  display: block;
  color: #f4d36b;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.tb-intimacy-card p {
  margin: 6px 0 0;
  color: #fff;
  font-size: 18px;
  line-height: 1.45;
}

.tb-intro,
.tb-resources,
.tb-human-tools,
.tb-group-options,
.tb-groups-phone {
  padding: 78px 0;
  background: #fff;
}

.tb-family-fit,
.tb-family-flow,
.tb-family-choice {
  padding: 78px 0;
  /* background owned by .fabricair-band-a/-b */
}

.tb-groups-intro {
  padding: 34px 0;
  background: #f7f7f3;
  border-bottom: 1px solid #e3dfd2;
}

.tb-groups-intro-grid {
  display: grid;
  grid-template-columns: minmax(220px, 0.75fr) minmax(0, 1.25fr);
  gap: 34px;
  align-items: center;
}

.tb-groups-intro span {
  display: block;
  margin-bottom: 8px;
  color: #8a6b08;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.tb-groups-intro h2 {
  margin: 0;
  color: #10231f;
  font-size: 26px;
  line-height: 1.22;
  font-weight: 800;
}

.tb-groups-intro p {
  margin: 0;
  color: #4f5b55;
  font-size: 17px;
  line-height: 1.65;
}

.tb-group-options {
  background: #f7f7f3;
}

.tb-intro .section-header h2 {
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
}

.tb-intro .section-header p {
  max-width: 850px;
  margin: 0 auto;
}

.tb-relationship-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 38px;
}

.tb-relationship-grid div,
.tb-question-tool,
.tb-form {
  border: 1px solid #e3dfd2;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(18, 25, 31, 0.07);
}

.tb-relationship-grid div {
  padding: 28px;
}

.tb-relationship-grid i {
  display: inline-flex;
  width: 52px;
  height: 52px;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  border-radius: 50%;
  color: #10231f;
  background: #f3d36d;
  font-size: 24px;
}

.tb-relationship-grid h3 {
  margin-bottom: 12px;
  color: #10231f;
  font-size: 21px;
  font-weight: 800;
}

.tb-relationship-grid p,
.tb-phone-bridge p,
.tb-resources p,
.tb-signup p {
  color: #4f5b55;
  line-height: 1.75;
}

.tb-phone-bridge {
  padding: 78px 0;
  background: #f7f7f3;
}

.tb-phone-bridge h2,
.tb-groups-phone h2,
.tb-family-flow h2,
.tb-human-tools h2,
.tb-resources h2,
.tb-signup h2 {
  color: #10231f;
  font-size: 38px;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: 0;
}

.tb-family-fit .section-header p {
  max-width: 820px;
  margin: 0 auto;
}

.tb-family-fit-grid,
.tb-family-choice-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 38px;
}

.tb-family-fit-grid > div,
.tb-family-choice-grid a {
  position: relative;
  overflow: hidden;
  height: 100%;
  min-height: 250px;
  padding: 28px;
  border: 1px solid #e3dfd2;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(18, 25, 31, 0.07);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.tb-family-fit-grid > div:hover,
.tb-family-fit-grid > div:focus,
.tb-family-fit-grid > div:focus-within {
  border-color: #c09201;
  box-shadow: 0 18px 44px rgba(18, 25, 31, 0.14);
  transform: translateY(-3px);
  outline: none;
}

.tb-family-fit-grid i {
  display: inline-flex;
  width: 52px;
  height: 52px;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  border-radius: 50%;
  color: #10231f;
  background: #f3d36d;
  font-size: 24px;
}

.tb-family-fit-grid h3,
.tb-family-choice-grid h3 {
  margin: 0 0 12px;
  color: #10231f;
  font-size: 22px;
  line-height: 1.25;
  font-weight: 800;
}

.tb-family-fit-grid p,
.tb-family-flow p,
.tb-family-choice-grid p {
  color: #4f5b55;
  line-height: 1.75;
}

.tb-family-card-reveal {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  max-height: 0;
  margin-top: 0;
  opacity: 0;
  transform: translateY(10px);
  transition: max-height 220ms ease, margin-top 220ms ease, opacity 180ms ease, transform 180ms ease;
}

.tb-family-reveal-card:hover .tb-family-card-reveal,
.tb-family-reveal-card:focus .tb-family-card-reveal,
.tb-family-reveal-card:focus-within .tb-family-card-reveal,
.tb-family-reveal-card.is-expanded .tb-family-card-reveal {
  max-height: 120px;
  margin-top: 20px;
  opacity: 1;
  transform: translateY(0);
}

.tb-family-reveal-card.is-expanded {
  border-color: #c09201;
  box-shadow: 0 18px 44px rgba(18, 25, 31, 0.14);
  transform: translateY(-3px);
}

.tb-family-card-reveal span {
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 8px;
  border: 1px solid #d6c174;
  border-radius: 6px;
  color: #10231f;
  background: #fff8d7;
  font-size: 13px;
  font-weight: 800;
  text-align: center;
}

.tb-family-card-reveal-flow {
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
}

.tb-family-card-reveal-flow i {
  width: auto;
  height: auto;
  margin: 0;
  border-radius: 0;
  color: #8a6b08;
  background: transparent;
  font-size: 18px;
}

.tb-family-choice-grid a {
  display: block;
  color: inherit;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.tb-family-choice-grid a:hover {
  transform: translateY(-3px);
  color: inherit;
  box-shadow: 0 18px 42px rgba(18, 25, 31, 0.12);
}

.tb-family-choice-grid span {
  display: block;
  margin-bottom: 12px;
  color: #8a6b08;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.tb-group-options-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 38px;
}

.tb-group-options-grid a {
  position: relative;
  display: flex;
  min-height: 310px;
  overflow: hidden;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0;
  border: 1px solid #e3dfd2;
  border-radius: 8px;
  color: #fff;
  background: #10231f;
  text-decoration: none;
  box-shadow: 0 12px 34px rgba(18, 25, 31, 0.07);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.tb-group-options-grid a::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(13, 24, 29, 0.02) 0%, rgba(13, 24, 29, 0.38) 42%, rgba(13, 24, 29, 0.92) 100%);
  transition: background 180ms ease;
}

.tb-group-options-grid a:hover,
.tb-group-options-grid a:focus-visible {
  transform: translateY(-3px);
  color: #fff;
  box-shadow: 0 18px 42px rgba(18, 25, 31, 0.12);
  outline: none;
}

.tb-group-options-grid a:hover::after,
.tb-group-options-grid a:focus-visible::after {
  background: linear-gradient(180deg, rgba(13, 24, 29, 0.08) 0%, rgba(13, 24, 29, 0.44) 34%, rgba(13, 24, 29, 0.96) 100%);
}

.tb-group-options-grid img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 220ms ease;
}

.tb-group-options-grid a:hover img,
.tb-group-options-grid a:focus-visible img {
  transform: scale(1.04);
}

.tb-group-options-grid span {
  position: relative;
  z-index: 1;
  display: inline-flex;
  width: fit-content;
  margin: 0 22px 10px;
  padding: 7px 10px;
  border-radius: 999px;
  color: #10231f;
  background: #f3d36d;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.tb-group-options-grid h3 {
  position: relative;
  z-index: 1;
  min-height: 58px;
  margin: 0;
  padding: 0 22px 22px;
  color: #fff;
  font-size: 22px;
  line-height: 1.25;
  font-weight: 800;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.38);
}

.tb-group-options-grid p {
  position: relative;
  z-index: 1;
  max-height: 0;
  margin: 0;
  padding: 0 22px;
  overflow: hidden;
  color: #e8efe9;
  line-height: 1.55;
  opacity: 0;
  transform: translateY(8px);
  transition: max-height 220ms ease, padding 220ms ease, opacity 180ms ease, transform 180ms ease;
}

.tb-group-options-grid a:hover p,
.tb-group-options-grid a:focus-visible p {
  max-height: 140px;
  padding-bottom: 22px;
  opacity: 1;
  transform: translateY(0);
}

.tb-groups-phone p {
  color: #4f5b55;
  line-height: 1.75;
}

.tb-pathway {
  display: grid;
  gap: 12px;
}

.tb-pathway div {
  position: relative;
  overflow: hidden;
  padding: 18px 20px;
  border-left: 5px solid #c09201;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 26px rgba(18, 25, 31, 0.06);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.tb-pathway div:hover,
.tb-pathway div:focus,
.tb-pathway div:focus-within {
  border-color: #10231f;
  box-shadow: 0 16px 38px rgba(18, 25, 31, 0.12);
  transform: translateY(-2px);
  outline: none;
}

.tb-pathway span {
  display: block;
  color: #8a6b08;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.tb-pathway strong {
  display: block;
  margin-top: 4px;
  color: #10231f;
}

.tb-pathway p {
  max-height: 0;
  margin: 0;
  overflow: hidden;
  color: #4f5b55;
  line-height: 1.55;
  opacity: 0;
  transform: translateY(8px);
  transition: max-height 220ms ease, margin 220ms ease, opacity 180ms ease, transform 180ms ease;
}

.tb-pathway div:hover p,
.tb-pathway div:focus p,
.tb-pathway div:focus-within p {
  max-height: 120px;
  margin-top: 10px;
  opacity: 1;
  transform: translateY(0);
}

.tb-human-tools {
  background: #10231f;
  color: #eaf0ec;
}

.tb-human-tools .section-header h2 {
  color: #fff;
}

.tb-human-tools .section-header p {
  max-width: 900px;
  margin: 0 auto;
  color: #d9e1dc;
}

.tb-human-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 38px;
}

.tb-human-grid div {
  min-height: 260px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.16);
}

.tb-human-grid span {
  display: block;
  margin-bottom: 12px;
  color: #f4d36b;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.tb-human-grid h3 {
  margin: 0 0 12px;
  color: #fff;
  font-size: 22px;
  line-height: 1.25;
  font-weight: 800;
}

.tb-human-grid p {
  margin: 0;
  color: #d9e1dc;
  line-height: 1.7;
}

.tb-question-tool {
  padding: 28px;
}

.tb-question-tool label,
.tb-form label,
.tb-fieldset legend {
  display: block;
  margin: 16px 0 7px;
  color: #26322d;
  font-weight: 800;
}

.tb-question-tool label:first-child,
.tb-form label:first-child {
  margin-top: 0;
}

.tb-question-tool select,
.tb-form input,
.tb-form select,
.tb-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 11px 12px;
  border: 1px solid #cfd7d0;
  border-radius: 6px;
  color: #17201b;
  background: #fff;
}

.tb-question-tool select:focus,
.tb-form input:focus,
.tb-form select:focus,
.tb-form textarea:focus {
  outline: 3px solid rgba(192, 146, 1, 0.62);
  border-color: #c09201;
}

.tb-question-tool button {
  margin-top: 18px;
  border: 0;
}

.tb-recommendation {
  margin-top: 20px;
  padding: 18px;
  border-radius: 8px;
  background: #10231f;
  color: #fff;
}

.tb-recommendation strong {
  color: #f4d36b;
}

.tb-recommendation p {
  margin: 7px 0 0;
  color: #eaf0ec;
}

.tb-signup {
  padding: 86px 0;
  background: #f7f7f3;
}

.tb-note {
  padding: 16px 18px;
  border-left: 5px solid #c09201;
  background: #fff;
  color: #4f5b55;
  line-height: 1.6;
}

.tb-form {
  padding: 28px;
}

.tb-form textarea {
  resize: vertical;
}

.tb-fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}

.tb-radio-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.tb-radio-grid label {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  min-height: 58px;
  margin: 0;
  padding: 12px;
  border: 1px solid #d8ded8;
  border-radius: 6px;
  background: #fafbf8;
  font-weight: 700;
}

.tb-radio-grid input,
.tb-check input {
  width: 18px;
  min-width: 18px;
  height: 18px;
  min-height: 18px;
  margin-top: 2px;
}

.tb-check {
  display: flex !important;
  gap: 10px;
  align-items: flex-start;
  font-weight: 600 !important;
}

.tb-submit {
  border: 0;
}

.tb-form.is-sending .tb-submit {
  opacity: 0.72;
  pointer-events: none;
}

.tb-status {
  min-height: 24px;
  margin: 14px 0 0;
  color: #10231f;
  font-weight: 800;
}

.tb-honey {
  position: absolute;
  left: -10000px;
  width: 1px !important;
  height: 1px !important;
  min-height: 1px !important;
  opacity: 0;
}

.tb-render-marker {
  padding: 10px 18px;
  color: #7a837d;
  background: #f7f7f3;
  font-size: 12px;
  text-align: center;
}

.tb-profile-hero {
  min-height: 610px;
  padding: 150px 0 86px;
  display: flex;
  align-items: center;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(13, 24, 29, 0.95), rgba(13, 24, 29, 0.74) 56%, rgba(13, 24, 29, 0.34)),
    url("/assets/img/bg-light/Woman with Arms up and complete ketamine C.png") center/cover no-repeat;
}

.tb-profile-hero h1 {
  max-width: 820px;
  margin: 0 0 22px;
  color: #fff;
  font-size: 56px;
  line-height: 1.04;
  font-weight: 800;
  letter-spacing: 0;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
}

.page-truthbook-mentors .tb-profile-hero {
  min-height: 360px;
  padding: 112px 0 44px;
  align-items: flex-end;
  background:
    linear-gradient(90deg, rgba(13, 24, 29, 0.92), rgba(13, 24, 29, 0.7) 62%, rgba(13, 24, 29, 0.42)),
    url("/assets/img/bg-light/Woman with Arms up and complete ketamine C.png") center 42%/cover no-repeat;
}

.page-truthbook-mentors .tb-profile-hero h1 {
  max-width: 760px;
  margin-bottom: 14px;
  font-size: 42px;
  line-height: 1.12;
}

.page-truthbook-mentors .tb-profile-hero .tb-lead {
  max-width: 760px;
  margin-bottom: 0;
  font-size: 18px;
  line-height: 1.55;
}

.page-truthbook-mentors .tb-profile-hero .tb-actions {
  margin-top: 20px;
}

.page-truthbook-mentors .tb-profile-directory {
  padding-top: 58px;
}

.tb-profile-directory,
.tb-profile-detail,
.tb-profile-clips {
  padding: 78px 0;
  background: #fff;
}

.tb-mentor-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 38px;
}

.tb-mentor-preview-card,
.tb-profile-columns article,
.tb-signal-grid div,
.tb-clip-grid article,
.tb-member-copy,
.tb-member-media {
  border: 1px solid #e3dfd2;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(18, 25, 31, 0.07);
}

.tb-mentor-preview-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 24px;
}

.tb-profile-card-head {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 18px;
}

.tb-profile-avatar {
  display: inline-flex;
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #10231f;
  background: #f3d36d;
  font-weight: 900;
}

.tb-profile-card-head span,
.tb-credit-note span {
  display: block;
  color: #8a6b08;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.tb-profile-card-head h3 {
  margin: 4px 0 0;
  color: #10231f;
  font-size: 24px;
  font-weight: 800;
}

.tb-mentor-preview-card video,
.tb-member-media video,
.tb-clip-grid video,
.tbm-profile-choice video {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  border-radius: 8px;
  object-fit: cover;
  background: #10231f;
}

.tb-mentor-preview-card h4 {
  margin: 18px 0 10px;
  color: #10231f;
  font-size: 22px;
  line-height: 1.25;
  font-weight: 800;
}

.tb-mentor-preview-card p,
.tb-profile-pitch,
.tb-small-note,
.tb-credit-note p,
.tb-signal-grid p,
.tb-clip-grid p {
  color: #4f5b55;
  line-height: 1.7;
}

.tb-tagrow {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.tb-tag {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 10px;
  border-radius: 999px;
  color: #26322d;
  background: #f0ead7;
  font-size: 13px;
  font-weight: 800;
}

.tb-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
  padding-top: 22px;
}

.tb-profile-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 9px 14px;
  border: 1px solid #c09201;
  border-radius: 6px;
  color: #10231f;
  font-weight: 800;
  text-decoration: none;
}

.tb-profile-button.primary {
  color: #fff;
  background: #10231f;
  border-color: #10231f;
}

.tb-member-profile {
  padding: 148px 0 78px;
  background: #f7f7f3;
}

.tb-member-profile-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
  gap: 24px;
  align-items: start;
}

.tb-member-copy,
.tb-member-media {
  padding: 28px;
}

.tb-member-copy h1 {
  margin: 4px 0 0;
  color: #10231f;
  font-size: 42px;
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: 0;
}

.tb-profile-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 24px 0;
}

.tb-profile-stats div {
  padding: 16px;
  border-radius: 8px;
  background: #f7f7f3;
}

.tb-profile-stats span {
  display: block;
  color: #8a6b08;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.tb-profile-stats strong {
  display: block;
  margin-top: 6px;
  color: #10231f;
  line-height: 1.35;
}

.tb-story-voice {
  margin: 22px 0;
  padding: 20px;
  border-left: 5px solid #c09201;
  border-radius: 8px;
  color: #26322d;
  background: #fff9e8;
  font-size: 18px;
  line-height: 1.75;
}

.tb-member-media strong {
  display: block;
  margin-top: 14px;
  color: #10231f;
  font-size: 20px;
}

.tb-credit-note {
  margin-top: 20px;
  padding: 18px;
  border-radius: 8px;
  background: #f7f7f3;
}

.tb-profile-friend-path {
  padding: 54px 0;
  background: #10231f;
}

.tb-profile-friend-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .8fr);
  gap: 24px;
  align-items: stretch;
}

.tb-profile-friend-grid article,
.tb-profile-friend-grid aside div {
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 8px;
  background: rgba(255, 255, 255, .08);
}

.tb-profile-friend-grid article {
  padding: 28px;
}

.tb-profile-friend-grid article span {
  display: block;
  color: #f3d36d;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.tb-profile-friend-grid h2 {
  max-width: 760px;
  margin: 8px 0 12px;
  color: #fff;
  font-size: 34px;
  line-height: 1.15;
  font-weight: 900;
  letter-spacing: 0;
}

.tb-profile-friend-grid p {
  margin: 0;
  color: #dfe8e2;
  line-height: 1.65;
}

.tb-profile-friend-grid aside {
  display: grid;
  gap: 12px;
}

.tb-profile-friend-grid aside div {
  padding: 18px;
}

.tb-profile-friend-grid strong {
  display: block;
  margin-bottom: 6px;
  color: #f3d36d;
}

.tb-profile-columns,
.tb-signal-grid,
.tb-clip-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.tb-profile-columns article,
.tb-signal-grid div,
.tb-clip-grid article {
  padding: 24px;
}

.tb-profile-columns h2,
.tb-profile-signals h2,
.tb-profile-clips h2 {
  color: #10231f;
  font-size: 34px;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: 0;
}

.tb-check-row {
  margin-top: 12px;
  padding: 14px 16px;
  border-left: 4px solid #c09201;
  border-radius: 6px;
  color: #26322d;
  background: #f7f7f3;
  line-height: 1.55;
}

.tb-profile-signals {
  padding: 78px 0;
  background: #10231f;
}

.tb-profile-signals .section-header h2 {
  color: #fff;
}

.tb-profile-signals .section-header p {
  color: #d9e1dc;
}

.tb-signal-grid div {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.14);
}

.tb-signal-grid strong {
  color: #f4d36b;
}

.tb-signal-grid p {
  margin: 8px 0 0;
  color: #d9e1dc;
}

.tb-login-hero {
  min-height: 520px;
  padding: 138px 0 78px;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(13, 24, 29, 0.96), rgba(13, 24, 29, 0.78) 58%, rgba(13, 24, 29, 0.46)),
    url("/assets/img/holding hands.jpg") center/cover no-repeat;
}

.tb-login-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 34px;
  align-items: center;
}

.tb-login-shell h1 {
  max-width: 760px;
  margin: 0 0 18px;
  color: #fff;
  font-size: 52px;
  line-height: 1.04;
  font-weight: 900;
  letter-spacing: 0;
}

.tb-login-shell p {
  max-width: 690px;
  color: #eef4ef;
  font-size: 19px;
  line-height: 1.65;
}

.tb-login-card {
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(16, 35, 31, 0.88);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.22);
}

.tb-login-card span {
  display: block;
  color: #f3d36d;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.tb-login-card h2 {
  margin: 8px 0 10px;
  color: #fff;
  font-size: 26px;
  line-height: 1.15;
  font-weight: 900;
}

.tb-login-card p {
  margin: 0 0 18px;
  color: #dfe8e2;
  font-size: 15px;
}

.tb-login-form {
  display: grid;
  gap: 10px;
}

.tb-login-form label {
  color: #fff;
  font-size: 13px;
  font-weight: 900;
}

.tb-login-form input {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 8px;
  padding: 12px 13px;
  color: #10231f;
  background: rgba(255, 255, 255, 0.94);
  font: inherit;
}

.tb-login-form button {
  width: 100%;
  margin-top: 8px;
  border: 0;
}

.tb-login-error,
.tb-login-success {
  margin-bottom: 14px;
  border-radius: 8px;
  padding: 10px 12px;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
}

.tb-login-error {
  border: 1px solid rgba(243, 211, 109, 0.65);
  background: rgba(138, 44, 28, 0.5);
}

.tb-login-success {
  border: 1px solid rgba(148, 196, 168, 0.7);
  background: rgba(35, 105, 71, 0.5);
}

.tb-login-card .tb-login-route-note {
  margin: 14px 0 0;
  color: #b8c9c0;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.tb-secondary-dark {
  display: inline-flex;
  justify-content: center;
  width: 100%;
  margin-top: 12px;
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 999px;
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}

.tb-secondary-dark:hover {
  color: #10231f;
  background: #f3d36d;
}

.tb-login-options {
  padding: 78px 0;
  /* background owned by .fabricair-band-a/-b */
}

.tb-login-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 36px;
}

.tb-login-grid article {
  display: grid;
  gap: 12px;
  align-content: start;
  padding: 26px;
  border: 1px solid #ded8c8;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(18, 25, 31, 0.06);
}

.tb-login-grid i {
  display: inline-flex;
  width: 52px;
  height: 52px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #10231f;
  background: #f3d36d;
  font-size: 24px;
}

.tb-login-grid h3 {
  margin: 0;
  color: #10231f;
  font-size: 21px;
  line-height: 1.2;
  font-weight: 900;
}

.tb-login-grid p {
  margin: 0;
  color: #54605a;
  line-height: 1.65;
}

.tb-login-grid a {
  color: #8a6b08;
  font-weight: 900;
  text-decoration: none;
}

.tbm-page {
  background: #f7f7f3;
}

.tbm-hero,
.tbm-compact-hero {
  color: #fff;
  background:
    linear-gradient(90deg, rgba(13, 24, 29, 0.97), rgba(13, 24, 29, 0.78)),
    url("/assets/img/holding hands.jpg") center/cover no-repeat;
}

.tbm-hero {
  padding: 138px 0 64px;
}

.tbm-compact-hero {
  padding: 128px 0 48px;
}

.tbm-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 28px;
  align-items: end;
}

.tbm-hero h1,
.tbm-compact-hero h1 {
  max-width: 850px;
  margin: 0 0 16px;
  color: #fff;
  font-size: 48px;
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: 0;
}

.tbm-hero p,
.tbm-compact-hero p {
  max-width: 820px;
  margin: 0;
  color: #edf4f0;
  font-size: 18px;
  line-height: 1.65;
}

.tbm-session-card,
.tbm-primary-panel,
.tbm-status-panel,
.tbm-tool-card,
.tbm-work-panel,
.tbm-side-stack > div,
.tbm-line-card,
.tbm-spine-wait {
  border: 1px solid #ded8c8;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(18, 25, 31, 0.06);
}

.tbm-session-card {
  padding: 22px;
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(16, 35, 31, 0.88);
}

.tbm-session-card span,
.tbm-primary-panel span,
.tbm-tool-card span,
.tbm-work-panel span,
.tbm-line-card span {
  display: block;
  color: #8a6b08;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.tbm-session-card span {
  color: #f3d36d;
}

.tbm-session-card strong {
  display: block;
  margin-top: 8px;
  color: #fff;
  font-size: 22px;
  line-height: 1.2;
}

.tbm-session-card strong[data-state="pending"] {
  color: #f3d36d;
}

.tbm-session-card p {
  margin-top: 12px;
  color: #dfe8e2;
  font-size: 14px;
}

.tbm-shell {
  padding: 36px 0 82px;
}

.tbm-nav {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 26px;
  padding: 8px;
  border: 1px solid #ded8c8;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(18, 25, 31, 0.05);
}

.tbm-nav a {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px;
  border-radius: 6px;
  color: #39443f;
  font-weight: 900;
  text-decoration: none;
}

.tbm-nav a:hover,
.tbm-nav a.is-active {
  color: #10231f;
  background: #f3d36d;
}

.tbm-dashboard,
.tbm-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 22px;
  align-items: stretch;
}

.tbm-primary-panel,
.tbm-status-panel,
.tbm-work-panel {
  padding: 28px;
}

.tbm-primary-panel h2,
.tbm-status-panel h2,
.tbm-work-panel h2,
.tbm-tool-card h3,
.tbm-line-card h2 {
  margin: 8px 0 10px;
  color: #10231f;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: 0;
}

.tbm-primary-panel h2,
.tbm-work-panel h2 {
  font-size: 30px;
}

.tbm-primary-panel p,
.tbm-status-panel,
.tbm-work-panel,
.tbm-tool-card p,
.tbm-line-card p,
.tbm-muted {
  color: #54605a;
  line-height: 1.65;
}

.tbm-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 22px;
}

.tbm-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 1px solid #bcb39d;
  border-radius: 999px;
  color: #10231f;
  font-weight: 900;
  text-decoration: none;
}

.tbm-secondary:hover {
  color: #fff;
  background: #10231f;
}

.tbm-cpanel-embed {
  overflow: hidden;
  border: 1px solid #ded8c8;
  border-radius: 8px;
  background: #eef2ef;
  box-shadow: 0 10px 28px rgba(18, 25, 31, 0.06);
}

.tbm-cpanel-embed-head {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid #ded8c8;
  background: #fff;
}

.tbm-cpanel-embed-head span {
  display: block;
  color: #8a6b08;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.tbm-cpanel-embed-head h2 {
  margin: 6px 0 0;
  color: #10231f;
  font-size: 24px;
  font-weight: 900;
  line-height: 1.15;
}

.tbm-cpanel-embed iframe {
  display: block;
  width: 100%;
  height: min(2200px, 82vh);
  min-height: 780px;
  border: 0;
  background: #eef2ef;
}

.tbm-status-panel dl {
  display: grid;
  gap: 14px;
  margin: 0;
}

.tbm-status-panel div {
  padding-bottom: 12px;
  border-bottom: 1px solid #ece5d6;
}

.tbm-status-panel div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.tbm-status-panel dt {
  color: #10231f;
  font-weight: 900;
}

.tbm-status-panel dd {
  margin: 4px 0 0;
}

.tbm-card-grid,
.tbm-line-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 22px;
}

.tbm-card-grid-compact {
  margin-top: 0;
}

.tbm-tool-card,
.tbm-line-card {
  display: grid;
  gap: 10px;
  align-content: start;
  padding: 24px;
  color: inherit;
  text-decoration: none;
}

.tbm-tool-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(18, 25, 31, 0.1);
}

.tbm-tool-card i {
  display: inline-flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #10231f;
  background: #f3d36d;
  font-size: 23px;
}

.tbm-work-panel label {
  display: grid;
  gap: 8px;
  margin-top: 16px;
  color: #10231f;
  font-weight: 900;
}

.tbm-work-panel textarea,
.tbm-work-panel input,
.tbm-work-panel select,
.tbm-form-grid input,
.tbm-form-grid textarea,
.tbm-form-grid select {
  width: 100%;
  border: 1px solid #cfc7b6;
  border-radius: 8px;
  padding: 12px;
  color: #10231f;
  background: #fff;
  font: inherit;
}

.tbm-work-panel input:disabled,
.tbm-work-panel textarea:disabled,
.tbm-work-panel select:disabled,
.tbm-work-panel button:disabled {
  cursor: not-allowed;
  opacity: .72;
}

.tbm-work-panel button,
.tbm-form-grid button,
.tbm-phq-form button {
  margin-top: 18px;
  border: 0;
  border-radius: 999px;
  padding: 12px 20px;
  color: #10231f;
  background: #f3d36d;
  font-weight: 900;
}

.tbm-form-grid button:disabled,
.tbm-form-grid.is-sending button {
  cursor: wait;
  opacity: .72;
}

.tbm-spine-wait {
  margin-top: 18px;
  padding: 16px;
  border-color: #d3b241;
  background: #fff9e3;
  box-shadow: none;
}

.tbm-spine-wait strong {
  display: block;
  color: #10231f;
  font-weight: 900;
}

.tbm-spine-wait p {
  margin: 6px 0 0;
  color: #665322;
}

.tbm-side-stack {
  display: grid;
  gap: 16px;
}

.tbm-side-stack > div {
  padding: 22px;
}

.tbm-side-stack strong {
  color: #10231f;
  font-size: 18px;
}

.tbm-side-stack p {
  margin: 8px 0 0;
  color: #54605a;
  line-height: 1.65;
}

.tbm-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tbm-chip-row span {
  display: inline-flex;
  padding: 7px 9px;
  border-radius: 999px;
  color: #10231f;
  background: #f3ecd8;
  font-size: 12px;
  font-weight: 900;
  text-transform: none;
}

.tbm-next-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 22px;
}

.tbm-next-grid article {
  display: grid;
  gap: 8px;
  padding: 18px;
  border: 1px solid #ded8c8;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(18, 25, 31, 0.05);
}

.tbm-next-grid i {
  color: #8a6b08;
  font-size: 24px;
}

.tbm-next-grid strong {
  color: #10231f;
  font-size: 17px;
}

.tbm-next-grid p {
  margin: 0;
  color: #54605a;
  line-height: 1.55;
}

.tbm-profile-browser {
  padding: 24px;
  border: 1px solid #ded8c8;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(18, 25, 31, 0.06);
}

.tbm-profile-browser-head {
  display: flex;
  gap: 18px;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 18px;
}

.tbm-profile-browser-head span,
.tbm-profile-choice-head span {
  display: block;
  color: #8a6b08;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.tbm-profile-browser-head h2 {
  margin: 6px 0 8px;
  color: #10231f;
  font-size: 30px;
  line-height: 1.15;
  font-weight: 900;
  letter-spacing: 0;
}

.tbm-profile-browser-head p {
  max-width: 760px;
  margin: 0;
  color: #54605a;
  line-height: 1.6;
}

.tbm-profile-card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.tbm-profile-choice {
  display: grid;
  gap: 12px;
  align-content: start;
  min-height: 100%;
  padding: 18px;
  border: 1px solid #ece5d6;
  border-radius: 8px;
  background: #f7f7f3;
}

.tbm-profile-video-link {
  display: block;
  overflow: hidden;
  border-radius: 8px;
  background: #10231f;
}

.tbm-profile-choice-head {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
}

.tbm-profile-mini-avatar {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #10231f;
  background: #f3d36d;
  font-weight: 900;
}

.tbm-profile-choice h3 {
  margin: 3px 0 0;
  color: #10231f;
  font-size: 19px;
  line-height: 1.15;
  font-weight: 900;
  letter-spacing: 0;
}

.tbm-profile-choice p {
  margin: 0;
  color: #54605a;
  line-height: 1.55;
}

.tbm-profile-choice-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-top: auto;
}

.tbm-profile-connect {
  border: 0;
  border-radius: 999px;
  padding: 11px 14px;
  color: #10231f;
  background: #f3d36d;
  font-weight: 900;
}

.tbm-spotlight-profile {
  display: grid;
  grid-template-columns: minmax(0, 260px) minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  max-width: 100%;
  overflow: hidden;
}

.tbm-spotlight-profile > * {
  min-width: 0;
}

.tbm-spotlight-video {
  display: block;
  overflow: hidden;
  width: 100%;
  max-width: 260px;
  border-radius: 8px;
  background: #10231f;
}

.tbm-spotlight-profile video {
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  object-fit: cover;
  background: #10231f;
}

.tbm-selected-profile {
  margin: 18px 0 20px;
  padding: 16px;
  border: 1px solid #d3b241;
  border-radius: 8px;
  background: #fff9e3;
}

.tbm-selected-profile strong {
  display: block;
  color: #10231f;
  font-size: 18px;
}

.tbm-selected-profile p {
  margin: 6px 0 0;
  color: #665322;
  line-height: 1.55;
}

.tbm-manual-toggle button {
  margin-top: 0;
  border: 1px solid #bcb39d;
  color: #10231f;
  background: #fff;
}

.tbm-margin-top {
  margin-top: 24px;
}

.tbm-margin-bottom {
  margin-bottom: 24px;
}

@media (max-width: 1180px) {
  .tbm-spotlight-profile {
    grid-template-columns: 1fr;
  }

  .tbm-spotlight-video {
    max-width: 100%;
  }
}

.tbm-node-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 22px;
  align-items: start;
}

.tbm-node-main,
.tbm-node-side {
  display: grid;
  gap: 18px;
}

.tbm-node-card {
  display: grid;
  gap: 20px;
  border: 1px solid #ded8c8;
  border-radius: 8px;
  padding: 24px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(18, 25, 31, 0.06);
}

.tbm-node-card-head {
  display: flex;
  gap: 18px;
  align-items: start;
  justify-content: space-between;
}

.tbm-node-card-head span,
.tbm-node-detail-grid span,
.tbm-node-meter-grid span {
  display: block;
  color: #8a6b08;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.tbm-node-card-head h2 {
  margin: 8px 0 6px;
  color: #10231f;
  font-size: 30px;
  line-height: 1.15;
  font-weight: 900;
  letter-spacing: 0;
}

.tbm-node-card-head p {
  margin: 0;
  color: #54605a;
}

.tbm-node-card-head > strong {
  flex: 0 0 auto;
  border-radius: 999px;
  padding: 9px 12px;
  color: #10231f;
  background: #f3ecd8;
  font-size: 13px;
}

.tbm-node-card-head > strong.is-ready {
  background: #dcebd9;
}

.tbm-node-card-head > strong.is-review {
  background: #f3d36d;
}

.tbm-node-meter-grid,
.tbm-node-flow,
.tbm-node-detail-grid {
  display: grid;
  gap: 12px;
}

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

.tbm-node-meter-grid div,
.tbm-node-flow div,
.tbm-node-detail-grid section,
.tbm-bundle-row {
  border: 1px solid #ece5d6;
  border-radius: 8px;
  padding: 16px;
  background: #fbfaf6;
}

.tbm-node-meter-grid strong {
  display: block;
  margin-top: 8px;
  color: #10231f;
  line-height: 1.35;
}

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

.tbm-node-flow i {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #10231f;
  background: #f3d36d;
  font-size: 21px;
}

.tbm-node-flow strong {
  display: block;
  margin-top: 12px;
  color: #10231f;
}

.tbm-node-flow p,
.tbm-node-detail-grid p,
.tbm-bundle-row p {
  margin: 6px 0 0;
  color: #54605a;
  line-height: 1.55;
}

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

.tbm-bundle-row + .tbm-bundle-row {
  margin-top: 10px;
}

.tbm-bundle-row strong {
  color: #10231f;
  text-transform: capitalize;
}

.tbm-bundle-row small {
  color: #746b5f;
}

.tbm-chart-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 22px;
  margin-top: 22px;
}

.tbm-chart-panel {
  border: 1px solid #ded8c8;
  border-radius: 8px;
  padding: 24px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(18, 25, 31, 0.06);
}

.tbm-panel-heading {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  margin-bottom: 16px;
}

.tbm-panel-heading span {
  color: #8a6b08;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.tbm-panel-heading strong {
  color: #10231f;
  font-size: 14px;
}

.tbm-empty-state {
  display: grid;
  justify-items: start;
  gap: 10px;
  padding: 28px;
  border: 1px dashed #cfc7b6;
  border-radius: 8px;
  background: #fbfaf5;
}

.tbm-empty-state i {
  color: #8a6b08;
  font-size: 34px;
}

.tbm-empty-state h2 {
  margin: 0;
  color: #10231f;
  font-size: 24px;
  font-weight: 900;
}

.tbm-empty-state p {
  margin: 0;
  color: #54605a;
  line-height: 1.65;
}

.tbm-treatment-list {
  display: grid;
  gap: 14px;
}

.tbm-treatment-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 18px;
  border: 1px solid #ece5d6;
  border-radius: 8px;
  background: #fbfaf5;
}

.tbm-treatment-card span {
  color: #8a6b08;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.tbm-treatment-card h2 {
  margin: 7px 0 5px;
  color: #10231f;
  font-size: 22px;
  line-height: 1.2;
  font-weight: 900;
}

.tbm-treatment-card p {
  margin: 0;
  color: #54605a;
}

.tbm-treatment-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(92px, 1fr));
  gap: 8px;
}

.tbm-treatment-stats span {
  display: inline-flex;
  justify-content: center;
  padding: 8px 9px;
  border-radius: 999px;
  color: #10231f;
  background: #f3ecd8;
  font-size: 12px;
  text-transform: none;
}

.tbm-document-row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 0;
  border-bottom: 1px solid #ece5d6;
}

.tbm-document-row:last-child {
  border-bottom: 0;
}

.tbm-document-row i {
  color: #8a6b08;
  font-size: 24px;
}

.tbm-document-row strong {
  color: #10231f;
  font-weight: 900;
}

.tbm-document-row p {
  margin: 4px 0 0;
  color: #54605a;
  line-height: 1.45;
}

.tbm-document-row.is-muted {
  color: #54605a;
}

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

.tbm-task-card {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 16px;
  border: 1px solid #ece5d6;
  border-radius: 8px;
  background: #fbfaf5;
}

.tbm-task-card i {
  color: #8a6b08;
  font-size: 24px;
}

.tbm-task-card p {
  margin: 0;
  color: #39443f;
  line-height: 1.55;
  font-weight: 800;
}

.tbm-alert {
  margin-bottom: 18px;
  border: 1px solid #cfc7b6;
  border-radius: 8px;
  padding: 14px 16px;
  color: #10231f;
  background: #f8edc6;
  font-weight: 900;
}

.tbm-alert-error {
  border-color: #d8a9a4;
  background: #fff1ef;
}

.tbm-health-tabs {
  border: 1px solid #ded8c8;
  border-radius: 8px;
  padding: 12px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(18, 25, 31, 0.06);
}

.tbm-health-tabs > input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.tbm-tab-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 14px;
  border-radius: 8px;
  padding: 6px;
  background: #f7f7f3;
}

.tbm-tab-list label {
  display: inline-flex;
  min-height: 50px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 6px;
  color: #39443f;
  font-weight: 900;
}

#tbm-tab-phq:checked ~ .tbm-tab-list label[for="tbm-tab-phq"],
#tbm-tab-monroe:checked ~ .tbm-tab-list label[for="tbm-tab-monroe"] {
  color: #10231f;
  background: #f3d36d;
}

.tbm-tab-panel {
  display: none;
  border: 1px solid #ece5d6;
  border-radius: 8px;
  padding: 22px;
  background: #fff;
}

#tbm-tab-phq:checked ~ .tbm-tab-phq-panel,
#tbm-tab-monroe:checked ~ .tbm-tab-monroe-panel {
  display: block;
}

.tbm-inline-section {
  margin-top: 22px;
  border-top: 1px solid #ece5d6;
  padding-top: 22px;
}

.tbm-care-toolbar {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto auto;
  gap: 10px;
  align-items: end;
  margin-bottom: 18px;
  border: 1px solid #ded8c8;
  border-radius: 8px;
  padding: 12px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(18, 25, 31, 0.05);
}

.tbm-care-toolbar label {
  display: grid;
  gap: 6px;
  color: #10231f;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.tbm-care-toolbar select {
  min-height: 44px;
  border: 1px solid #cfc7b6;
  border-radius: 8px;
  padding: 9px 10px;
  color: #10231f;
  background: #fff;
  font: inherit;
  font-weight: 800;
  text-transform: none;
}

.tbm-care-toolbar a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  padding: 10px 14px;
  color: #10231f;
  background: #f3d36d;
  font-weight: 900;
  text-decoration: none;
}

.tbm-care-toolbar a:last-child {
  border: 1px solid #bcb39d;
  background: #fff;
}

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

.tbm-form-grid label,
.tbm-phq-row legend {
  color: #10231f;
  font-weight: 900;
}

.tbm-form-grid label {
  display: grid;
  gap: 8px;
}

.tbm-form-wide,
.tbm-form-grid button {
  grid-column: 1 / -1;
}

.tbm-score-list {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 10px;
  min-height: 190px;
  align-items: end;
  margin: 16px 0;
}

.tbm-score-list article {
  display: grid;
  min-height: 180px;
  grid-template-rows: 1fr auto auto;
  gap: 6px;
  align-items: end;
  justify-items: center;
}

.tbm-score-list article span {
  display: block;
  width: 100%;
  min-height: 10px;
  border-radius: 6px 6px 2px 2px;
  background: linear-gradient(180deg, #f3d36d, #8a6b08);
}

.tbm-score-list article strong {
  color: #10231f;
  font-size: 18px;
}

.tbm-score-list article small {
  color: #54605a;
  font-size: 11px;
  text-align: center;
}

.tbm-phq-form {
  display: grid;
  gap: 14px;
}

.tbm-details {
  display: grid;
  gap: 14px;
}

.tbm-details summary {
  cursor: pointer;
  border: 1px solid #cfc7b6;
  border-radius: 8px;
  padding: 14px 16px;
  color: #10231f;
  background: #fbfaf5;
  font-weight: 900;
}

.tbm-progress-panel {
  align-self: stretch;
}

.tbm-score-list-compact {
  min-height: 150px;
}

.tbm-score-list-compact article {
  min-height: 140px;
}

.tbm-timeline-chart {
  overflow: hidden;
  border: 1px solid #ece5d6;
  border-radius: 8px;
  background: #fbfaf5;
}

.tbm-timeline-chart svg {
  display: block;
  width: 100%;
  height: 300px;
}

.tbm-timeline-chart line {
  stroke: #9a927f;
  stroke-width: 1.5;
}

.tbm-timeline-chart text {
  fill: #54605a;
  font-size: 12px;
  font-weight: 800;
  text-anchor: middle;
}

.tbm-chart-gridline {
  stroke: #e7dfcf !important;
  stroke-width: 1 !important;
}

.tbm-phq-line {
  fill: none;
  stroke: #0f766e;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.tbm-phq-point {
  fill: #f3d36d;
  stroke: #10231f;
  stroke-width: 3;
}

.tbm-phq-point-label {
  fill: #10231f !important;
  font-size: 15px !important;
  font-weight: 900 !important;
}

.tbm-phq-date-label {
  fill: #39443f !important;
}

.tbm-treatment-marker {
  stroke: #b45309 !important;
  stroke-dasharray: 5 7;
  stroke-width: 2 !important;
}

.tbm-treatment-dot {
  fill: #b45309;
}

.tbm-chart-legend,
.tbm-event-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.tbm-chart-legend span,
.tbm-event-row span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border-radius: 999px;
  padding: 7px 10px;
  color: #10231f;
  background: #f3ecd8;
  font-size: 12px;
  font-weight: 900;
}

.tbm-legend-line,
.tbm-legend-treatment {
  display: inline-block;
  width: 22px;
  height: 4px;
  border-radius: 999px;
  background: #0f766e;
}

.tbm-legend-treatment {
  background: #b45309;
}

.tbm-legend-care {
  display: inline-block;
  width: 22px;
  height: 12px;
  border-radius: 4px;
  background: #d7e8e4;
  border-left: 4px solid #0f766e;
}

.tbm-health-calendar {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
}

.tbm-health-calendar > strong {
  color: #8a6b08;
  font-size: 12px;
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
}

.tbm-health-day {
  display: grid;
  min-height: 94px;
  align-content: start;
  gap: 5px;
  border: 1px solid #ece5d6;
  border-radius: 8px;
  padding: 8px;
  background: #fff;
}

.tbm-health-day > span {
  display: inline-flex;
  width: 28px;
  height: 28px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #10231f;
  font-weight: 900;
}

.tbm-health-day.is-outside {
  opacity: 0.42;
}

.tbm-health-day.is-today > span {
  background: #f3d36d;
}

.tbm-health-day.has-care {
  border-left: 5px solid #0f766e;
  background: #f7fcfa;
}

.tbm-health-day.has-phq {
  border-bottom: 4px solid #f3d36d;
}

.tbm-health-day em,
.tbm-health-day b,
.tbm-health-day small {
  display: block;
  border-radius: 6px;
  padding: 4px 6px;
  color: #10231f;
  background: #f3ecd8;
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
  line-height: 1.25;
}

.tbm-health-day em,
.tbm-health-day b {
  background: #d7e8e4;
}

.tbm-clinic-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.tbm-clinic-card {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  border: 1px solid #ece5d6;
  border-radius: 8px;
  padding: 16px;
  color: inherit;
  background: #fbfaf5;
  text-decoration: none;
}

.tbm-clinic-card:hover {
  border-color: #8a6b08;
  box-shadow: 0 12px 26px rgba(18, 25, 31, 0.08);
}

.tbm-clinic-card > i {
  display: inline-flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #10231f;
  background: #f3d36d;
  font-size: 23px;
}

.tbm-clinic-card span {
  color: #8a6b08;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.tbm-clinic-card h2 {
  margin: 4px 0;
  color: #10231f;
  font-size: 22px;
  line-height: 1.2;
  font-weight: 900;
}

.tbm-clinic-card p {
  margin: 0;
  color: #54605a;
  line-height: 1.5;
}

.tbm-clinic-card > strong {
  white-space: nowrap;
  border-radius: 999px;
  padding: 7px 10px;
  color: #10231f;
  background: #f3ecd8;
  font-size: 12px;
}

.tbm-clinic-card.is-muted {
  opacity: 0.76;
}

.tbm-phq-row {
  display: grid;
  gap: 12px;
  margin: 0;
  border: 1px solid #ece5d6;
  border-radius: 8px;
  padding: 16px;
  background: #fbfaf5;
}

.tbm-phq-row div {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.tbm-phq-row label {
  cursor: pointer;
}

.tbm-phq-row input {
  position: absolute;
  opacity: 0;
}

.tbm-phq-row label span {
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid #cfc7b6;
  border-radius: 8px;
  padding: 8px;
  color: #39443f;
  background: #fff;
  font-size: 13px;
  font-weight: 900;
  text-align: center;
}

.tbm-phq-row input:checked + span,
.tbm-phq-row label:hover span {
  border-color: #8a6b08;
  color: #10231f;
  background: #f3d36d;
}

@media (max-width: 991px) {
  .tb-hero {
    min-height: 0;
    padding: 132px 0 70px;
    background:
      linear-gradient(180deg, rgba(13, 24, 29, 0.95), rgba(13, 24, 29, 0.76)),
      url("/assets/img/bg-light/Woman with Arms up and complete ketamine C.png") center/cover no-repeat;
  }

  .tb-groups-hero {
    min-height: 0;
    padding: 132px 0 70px;
    background:
      linear-gradient(180deg, rgba(13, 24, 29, 0.95), rgba(13, 24, 29, 0.76)),
      url("/assets/img/holding hands.jpg") center/cover no-repeat;
  }

  .tb-family-hero {
    min-height: 0;
    padding: 132px 0 70px;
    background:
      linear-gradient(180deg, rgba(13, 24, 29, 0.95), rgba(13, 24, 29, 0.72)),
      url("/assets/img/healthefamilywithketamine-min.png") center/cover no-repeat;
  }

  .tb-hero h1,
  .tb-groups-hero h1,
  .tb-family-hero h1,
  .tb-login-shell h1 {
    font-size: 42px;
  }

  .tb-relationship-grid,
  .tb-human-grid,
  .tb-groups-intro-grid,
  .tb-group-options-grid,
  .tb-family-fit-grid,
  .tb-family-choice-grid,
  .tb-mentor-preview-grid,
  .tb-member-profile-grid,
  .tb-profile-stats,
  .tb-profile-friend-grid,
  .tb-profile-columns,
  .tb-signal-grid,
  .tb-clip-grid,
  .tb-radio-grid,
  .tb-login-shell,
  .tb-login-grid,
  .tbm-hero-grid,
  .tbm-dashboard,
  .tbm-workspace,
  .tbm-spotlight-profile,
  .tbm-card-grid,
  .tbm-line-grid,
  .tbm-chart-grid,
  .tbm-clinic-grid,
  .tbm-treatment-card,
  .tbm-task-grid,
  .tbm-next-grid,
  .tbm-profile-card-grid,
  .tbm-profile-browser-head,
  .tbm-node-layout,
  .tbm-node-meter-grid,
  .tbm-node-flow,
  .tbm-node-detail-grid {
    grid-template-columns: 1fr;
  }

  .tbm-clinic-card {
    grid-template-columns: 48px minmax(0, 1fr);
  }

  .tbm-clinic-card > strong {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .tbm-form-grid,
  .tbm-care-toolbar,
  .tbm-phq-row div,
  .tbm-score-list,
  .tbm-health-calendar {
    grid-template-columns: 1fr;
  }

  .tbm-health-calendar > strong {
    display: none;
  }

  .tbm-score-list {
    min-height: 0;
  }

  .tbm-score-list article {
    min-height: 0;
    grid-template-columns: 1fr auto auto;
    grid-template-rows: none;
    align-items: center;
  }

  .tbm-score-list article span {
    height: 12px !important;
  }

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

  .tbm-hero h1,
  .tbm-compact-hero h1 {
    font-size: 38px;
  }

  .tb-profile-hero {
    min-height: 0;
    padding: 132px 0 70px;
    background:
      linear-gradient(180deg, rgba(13, 24, 29, 0.95), rgba(13, 24, 29, 0.76)),
      url("/assets/img/bg-light/Woman with Arms up and complete ketamine C.png") center/cover no-repeat;
  }

  .tb-profile-hero h1,
  .tb-member-copy h1 {
    font-size: 38px;
  }

  .tb-group-options-grid p {
    max-height: 150px;
    padding-bottom: 22px;
    opacity: 1;
    transform: translateY(0);
  }

  .tb-pathway p {
    max-height: 130px;
    margin-top: 10px;
    opacity: 1;
    transform: translateY(0);
  }

  .page-truthbook-groups .tb-groups-hero {
    padding: 116px 0 44px;
  }

  .page-truthbook-groups .tb-groups-hero h1 {
    font-size: 38px;
  }
}

@media (max-width: 575px) {
  .tb-hero h1,
  .tb-groups-hero h1,
  .tb-family-hero h1,
  .tb-profile-hero h1,
  .tb-member-copy h1,
  .tb-phone-bridge h2,
  .tb-groups-phone h2,
  .tb-family-flow h2,
  .tb-profile-columns h2,
  .tb-profile-signals h2,
  .tb-profile-clips h2,
  .tb-resources h2,
  .tb-signup h2 {
    font-size: 32px;
  }

  .tb-lead {
    font-size: 17px;
  }

  .tb-groups-intro {
    padding: 26px 0;
  }

  .tb-groups-intro h2 {
    font-size: 23px;
  }

  .tb-groups-intro p {
    font-size: 16px;
  }

  .tb-form,
  .tb-question-tool {
    padding: 20px;
  }
}
