html {
  font-family: "Manrope", ui-sans-serif, system-ui, sans-serif;
  color: #342a30;
  background: #f8f5f6;
}

body {
  background:
    radial-gradient(circle at 100% 0, rgba(255, 216, 201, .28), transparent 28rem),
    #f8f5f6;
  color: #342a30;
  letter-spacing: -.01em;
}

h1, h2, h3, h4 {
  color: #3b2130;
  letter-spacing: -.035em;
}

h1 { font-weight: 750; }

a, button, input, select, textarea {
  transition: border-color 160ms ease, background-color 160ms ease, color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]), select, textarea {
  border-radius: 12px !important;
  border-color: #e4dadd !important;
  background-color: #fff !important;
  min-height: 44px;
}

input:focus, select:focus, textarea:focus {
  border-color: #b8325a !important;
  box-shadow: 0 0 0 4px rgba(184, 50, 90, .12) !important;
  outline: none !important;
}

.nub-login-button,
input.patient-login-button {
  min-height: 44px;
  border: 0 !important;
  background-color: #b8325a !important;
  color: #fff !important;
  box-shadow: 0 8px 20px rgba(184, 50, 90, .18);
}

.nub-login-button:hover,
input.patient-login-button:hover {
  background-color: #7c2d4e !important;
  transform: translateY(-1px);
}

button, input[type="submit"],
a[class*="bg-mito-tuerkis"],
a[class*="bg-mito-blau"],
a[class*="bg-mito-dark-violett"] {
  border-radius: 12px !important;
}

table { border-collapse: separate; border-spacing: 0; }
thead { color: #765f6b; background: #fff8fa; }
tbody tr { background: #fff; }
tbody tr:hover { background: #fffafb; }

.nub-shell {
  min-height: 100vh;
  background: transparent;
}

.nub-content {
  width: min(1440px, calc(100% - 48px));
  margin: 0 auto;
  padding: 32px 0 64px;
}

.nub-surface {
  background: rgba(255, 255, 255, .92);
  border: 1px solid #eadfe3;
  border-radius: 24px;
  box-shadow: 0 14px 40px rgba(59, 33, 48, .06);
}

.nub-topbar {
  background: rgba(255, 255, 255, .9);
  border-bottom: 1px solid rgba(232, 217, 222, .9);
  box-shadow: 0 8px 30px rgba(59, 33, 48, .04);
  backdrop-filter: blur(18px);
}

.nub-doctor-topbar {
  height: 64px;
}

.nub-nav {
  background: #fff8fa;
  border: 1px solid #f0dce3;
  border-radius: 16px;
  padding: 5px;
}

.nub-nav a { color: #66515c; border-radius: 11px; }
.nub-nav a:hover { background: #fce8ee; color: #7c2d4e; }
.nub-nav a.nub-nav-active {
  color: #fff;
  background: #3b2130;
  box-shadow: 0 5px 14px rgba(59, 33, 48, .18);
}

.nub-menu-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px;
  border: 1px solid #eadfe3;
  border-radius: 14px;
  background: rgba(255, 255, 255, .88);
}

.nub-dropdown {
  position: relative;
}

.nub-dropdown summary {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 12px;
  border-radius: 10px;
  color: #66515c;
  cursor: pointer;
  font-size: .875rem;
  font-weight: 650;
  list-style: none;
  user-select: none;
}

.nub-dropdown summary::-webkit-details-marker { display: none; }

.nub-dropdown summary:hover,
.nub-dropdown[open] summary {
  color: #7c2d4e;
  background: #fce8ee;
}

.nub-dropdown-chevron {
  width: 14px;
  height: 14px;
  transition: transform 160ms ease;
}

.nub-dropdown[open] .nub-dropdown-chevron { transform: rotate(180deg); }

.nub-dropdown-panel {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 210px;
  padding: 7px;
  border: 1px solid #eadfe3;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(59, 33, 48, .14);
}

.nub-dropdown-panel a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 11px;
  border-radius: 9px;
  color: #594650;
  font-size: .875rem;
  font-weight: 550;
}

.nub-dropdown-panel a:hover {
  color: #7c2d4e;
  background: #fff5f7;
}

.nub-dropdown-panel svg {
  width: 17px;
  height: 17px;
  color: #b8325a;
}

.nub-icon-button {
  border: 1px solid #eadfe3;
  background: #fff;
  color: #765f6b;
}

.nub-icon-button:hover {
  border-color: #d9abb9;
  color: #b8325a;
  transform: translateY(-1px);
}

.nub-language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 3px;
  border: 1px solid #eadfe3;
  border-radius: 12px;
  background: rgba(255, 255, 255, .82);
}

.nub-language-option {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 8px;
  border-radius: 8px;
  color: #765f6b;
  font-size: .75rem;
  font-weight: 600;
  line-height: 1;
}

.nub-language-option:hover {
  color: #7c2d4e;
  background: #fff5f7;
}

.nub-language-option-active {
  color: #3b2130;
  background: #fce8ee;
  box-shadow: inset 0 0 0 1px rgba(184, 50, 90, .08);
}

.nub-language-flag {
  width: 21px;
  height: 14px;
  border-radius: 3px;
  box-shadow: 0 1px 3px rgba(59, 33, 48, .12);
}

.nub-profile-language-switcher {
  gap: 1px;
  padding: 2px;
  border-radius: 9px;
}

.nub-profile-language-switcher .nub-language-option {
  padding: 3px 5px;
}

.nub-profile-language-switcher .nub-language-option span {
  display: none;
}

.nub-profile-language-switcher .nub-language-flag {
  width: 18px;
  height: 12px;
}

.nub-profile-card { border-left: 1px solid #eadfe3; padding-left: 14px; }

.nub-sidebar-card {
  background: rgba(255, 255, 255, .9);
  border: 1px solid #eadfe3;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(59, 33, 48, .04);
}

.nub-section-label {
  color: #7c2d4e;
  font-size: .72rem;
  font-weight: 750;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.nub-dashboard-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #3b2130 0%, #7c2d4e 100%);
  color: #fff;
}

.nub-dashboard-hero::after {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  right: -70px;
  top: -120px;
  border-radius: 999px;
  background: rgba(255, 143, 163, .18);
}

.nub-dashboard-hero h1,
.nub-dashboard-hero h2,
.nub-dashboard-hero p { color: #fff; }

.nub-page-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

.nub-page-kicker {
  color: #b8325a;
  font-size: .72rem;
  font-weight: 750;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.nub-page-title {
  margin-top: 4px;
  font-size: clamp(1.65rem, 2.5vw, 2.25rem);
  font-weight: 750;
  line-height: 1.15;
}

.nub-page-description {
  max-width: 680px;
  margin-top: 8px;
  color: #765f6b;
  font-size: .925rem;
  line-height: 1.6;
}

.nub-list-card {
  background: rgba(255, 255, 255, .92);
  border: 1px solid #eadfe3;
  border-radius: 18px;
  overflow: hidden;
}

.nub-list-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 15px 17px;
  border-top: 1px solid #f1e7ea;
}

.nub-list-row:first-child { border-top: 0; }
.nub-list-row:hover { background: #fffafb; }

.nub-question-shell {
  max-width: 880px;
  margin: 0 auto;
  padding: 28px;
}

.nub-question-card {
  background: rgba(255, 255, 255, .95);
  border: 1px solid #eadfe3;
  border-radius: 24px;
  box-shadow: 0 16px 45px rgba(59, 33, 48, .06);
}

.nub-choice {
  padding: 14px 16px;
  border: 1px solid #eadfe3;
  border-radius: 14px;
  background: #fff;
}

.nub-choice:hover {
  border-color: #d9abb9;
  background: #fffafb;
  transform: translateY(-1px);
}

.nub-dropzone {
  border: 2px dashed #d9abb9;
  border-radius: 20px;
  background: #fffafb;
}

.nub-dropzone:hover {
  border-color: #b8325a;
  background: #fff5f7;
}

.nub-empty-state {
  border: 1px dashed #d9abb9;
  border-radius: 22px;
  background: rgba(255, 255, 255, .74);
  padding: 48px 28px;
  text-align: center;
}

.nub-status-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #b8325a;
  box-shadow: 0 0 0 5px #fce8ee;
}

/* Public landing page */
.landing-page {
  --landing-ink: #3b2130;
  --landing-wine: #7c2d4e;
  --landing-rose: #b8325a;
  --landing-pink: #ff8fa3;
  --landing-peach: #ffd8c9;
  --landing-paper: #fffaf8;
  overflow: hidden;
  background: var(--landing-paper);
  color: #4f3d46;
}

.landing-page *, .landing-page *::before, .landing-page *::after { box-sizing: border-box; }
.landing-container { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
.landing-page h1, .landing-page h2, .landing-page h3 { margin: 0; color: var(--landing-ink); }
.landing-page p { margin: 0; }
.landing-page em { color: var(--landing-rose); font-family: Georgia, serif; font-weight: 400; }

.landing-header {
  position: absolute;
  z-index: 20;
  top: 0;
  width: 100%;
  border-bottom: 1px solid rgba(59, 33, 48, .08);
}

.landing-nav { display: flex; min-height: 88px; align-items: center; justify-content: space-between; gap: 28px; }
.landing-logo img { display: block; width: 180px; height: auto; }
.landing-nav-links { display: flex; align-items: center; gap: 32px; }
.landing-nav-links a, .landing-text-link { color: #614b56; font-size: .84rem; font-weight: 650; }
.landing-nav-links a:hover, .landing-text-link:hover { color: var(--landing-rose); }
.landing-nav-actions { display: flex; align-items: center; gap: 20px; }
.landing-language-switcher { flex: 0 0 auto; background: rgba(255,255,255,.56); }
.landing-language-switcher .nub-language-option { padding: 5px 6px; }
.landing-language-switcher .nub-language-option span { display: none; }

.landing-button, .landing-secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 23px;
  border-radius: 999px !important;
  font-size: .88rem;
  font-weight: 750;
}

.landing-button { background: var(--landing-ink); color: #fff; box-shadow: 0 12px 30px rgba(59, 33, 48, .18); }
.landing-button:hover { background: var(--landing-wine); color: #fff; transform: translateY(-2px); }
.landing-button svg, .landing-secondary-button svg { width: 17px; height: 17px; }
.landing-button-small { min-height: 42px; padding: 0 19px; box-shadow: none; }
.landing-secondary-button { border: 1px solid #dacbd0; background: rgba(255,255,255,.55); color: var(--landing-ink); }
.landing-secondary-button:hover { border-color: #b9909e; background: #fff; transform: translateY(-2px); }

.landing-hero {
  position: relative;
  padding: 172px 0 94px;
  background:
    radial-gradient(circle at 9% 22%, rgba(255, 216, 201, .78), transparent 24rem),
    radial-gradient(circle at 88% 18%, rgba(252, 232, 238, .8), transparent 28rem),
    linear-gradient(145deg, #fffaf8 0%, #fff 52%, #f9edef 100%);
}

.landing-orb { position: absolute; border-radius: 999px; filter: blur(1px); pointer-events: none; }
.landing-orb-one { right: -120px; top: 155px; width: 320px; height: 320px; border: 1px solid rgba(184,50,90,.12); }
.landing-orb-two { left: 44%; bottom: 45px; width: 90px; height: 90px; background: rgba(255,143,163,.12); }
.landing-hero-grid { display: grid; grid-template-columns: .95fr 1.05fr; align-items: center; gap: 72px; }
.landing-hero-copy { position: relative; z-index: 2; }

.landing-eyebrow, .landing-kicker {
  color: var(--landing-wine);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.landing-eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 25px; }
.landing-eyebrow span { width: 28px; height: 2px; background: var(--landing-pink); }
.landing-hero h1 { max-width: 630px; font-size: clamp(3.25rem, 5.4vw, 5.4rem); line-height: .98; letter-spacing: -.065em; }
.landing-lead { max-width: 600px; margin-top: 29px !important; color: #6d5963; font-size: 1.04rem; line-height: 1.8; }
.landing-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 35px; }
.landing-trust-row { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 34px; color: #7b6670; font-size: .72rem; font-weight: 650; }
.landing-trust-row div { display: flex; align-items: center; gap: 7px; }
.landing-trust-row svg { width: 15px; color: var(--landing-rose); }

.landing-product-stage { position: relative; min-height: 530px; }
.landing-stage-glow { position: absolute; inset: 10% 5% 2%; border-radius: 50%; background: rgba(184,50,90,.16); filter: blur(55px); }
.landing-dashboard-card { position: absolute; top: 35px; right: 0; width: 94%; overflow: hidden; border: 1px solid rgba(255,255,255,.8); border-radius: 22px; background: #fff; box-shadow: 0 32px 80px rgba(59,33,48,.18); transform: rotate(1.5deg); }
.landing-dashboard-top { display: flex; height: 61px; align-items: center; justify-content: space-between; padding: 0 20px; border-bottom: 1px solid #f0e6e9; }
.landing-mini-logo { display: flex; align-items: center; gap: 8px; color: var(--landing-ink); font-size: .72rem; font-weight: 800; }
.landing-mini-logo span { display: grid; width: 25px; height: 25px; place-items: center; border-radius: 7px; background: var(--landing-ink); color: var(--landing-pink); }
.landing-mini-logo svg { width: 15px; }
.landing-avatar { display: grid; width: 30px; height: 30px; place-items: center; border-radius: 10px; background: #fce8ee; color: var(--landing-wine); font-size: .6rem; font-weight: 800; }
.landing-dashboard-body { display: grid; grid-template-columns: 55px 1fr; min-height: 375px; }
.landing-dashboard-body aside { display: flex; flex-direction: column; align-items: center; gap: 11px; padding-top: 20px; border-right: 1px solid #f0e6e9; background: #fffafb; }
.landing-dashboard-body aside div { display: grid; width: 31px; height: 31px; place-items: center; border-radius: 9px; color: #a38d97; }
.landing-dashboard-body aside div.active { background: var(--landing-ink); color: #fff; }
.landing-dashboard-body aside svg { width: 14px; }
.landing-dashboard-content { padding: 24px; background: #fbf8f9; }
.landing-dashboard-heading { display: flex; align-items: center; justify-content: space-between; }
.landing-dashboard-heading small { display: block; margin-bottom: 4px; color: #987e89; font-size: .54rem; }
.landing-dashboard-heading strong { color: var(--landing-ink); font-size: .9rem; }
.landing-dashboard-heading button { display: flex; align-items: center; gap: 5px; min-height: 29px; padding: 0 10px; border-radius: 8px !important; background: var(--landing-rose); color: #fff; font-size: .52rem; font-weight: 700; }
.landing-dashboard-heading button svg { width: 11px; }
.landing-stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 20px; }
.landing-stat-grid div, .landing-chart-card { border: 1px solid #efe5e8; border-radius: 12px; background: #fff; }
.landing-stat-grid div { padding: 13px; }
.landing-stat-grid span, .landing-stat-grid small { display: block; color: #9a838d; font-size: .49rem; }
.landing-stat-grid strong { display: block; margin: 4px 0 2px; color: var(--landing-ink); font-size: 1.15rem; }
.landing-chart-card { margin-top: 12px; padding: 15px; }
.landing-chart-header { display: flex; justify-content: space-between; color: var(--landing-ink); font-size: .58rem; }
.landing-chart-header span { color: #a28d96; font-size: .48rem; }
.landing-chart { position: relative; height: 115px; margin-top: 10px; overflow: hidden; background: repeating-linear-gradient(to bottom, transparent 0 27px, #f3ecef 28px); }
.chart-line { position: absolute; left: 0; width: 100%; height: 55px; border-top: 2px solid; border-radius: 50%; transform: rotate(-5deg); }
.chart-line-one { top: 38px; border-color: var(--landing-rose); }
.chart-line-two { top: 58px; border-color: #e8794e; transform: rotate(4deg); }
.chart-dot { position: absolute; width: 7px; height: 7px; border: 2px solid #fff; border-radius: 50%; background: var(--landing-rose); box-shadow: 0 0 0 1px var(--landing-rose); }
.dot-one { left: 20%; top: 52px; }.dot-two { left: 55%; top: 40px; }.dot-three { right: 13%; top: 32px; }
.landing-float-card { position: absolute; z-index: 4; display: flex; align-items: center; gap: 11px; border: 1px solid rgba(255,255,255,.9); border-radius: 14px; background: rgba(255,255,255,.94); box-shadow: 0 18px 45px rgba(59,33,48,.15); backdrop-filter: blur(15px); }
.landing-float-card small, .landing-float-card strong { display: block; }
.landing-float-card small { color: #9c858f; font-size: .57rem; }
.landing-float-card strong { margin-top: 2px; color: var(--landing-ink); font-size: .68rem; }
.landing-float-labs { left: -15px; top: 82px; padding: 12px 16px 12px 12px; }
.landing-icon-box { display: grid; width: 32px; height: 32px; place-items: center; border-radius: 9px; background: #e8f5ee; color: #34845b; }
.landing-icon-box svg { width: 15px; }
.landing-float-plan { right: -16px; bottom: 42px; padding: 11px 16px 11px 11px; }
.landing-progress-ring { display: grid; width: 39px; height: 39px; place-items: center; border: 4px solid #f5dfe6; border-top-color: var(--landing-rose); border-radius: 50%; color: var(--landing-wine); font-size: .65rem; font-weight: 800; }
.landing-progress-ring small { display: inline; font-size: .42rem; }

.landing-proof { border-top: 1px solid #eee2e6; border-bottom: 1px solid #eee2e6; background: #fff; }
.landing-proof-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); align-items: center; min-height: 118px; }
.landing-proof-grid > p { color: #8b747e; font-size: .72rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.landing-proof-grid > div { display: flex; align-items: center; gap: 11px; padding-left: 28px; border-left: 1px solid #eadfe3; }
.landing-proof-grid strong { color: var(--landing-rose); font-family: Georgia, serif; font-size: 1.65rem; font-weight: 400; }
.landing-proof-grid span { max-width: 105px; color: #68535d; font-size: .66rem; line-height: 1.45; }

.landing-section { padding: 120px 0; }
.landing-section-intro { display: grid; grid-template-columns: 1.2fr .8fr; align-items: end; gap: 80px; margin-bottom: 52px; }
.landing-section-intro h2, .landing-centered-heading h2, .landing-security-section h2, .landing-cta h2 { margin-top: 15px; font-size: clamp(2.6rem, 4.6vw, 4.4rem); line-height: 1.05; }
.landing-section-intro > p { padding-bottom: 7px; color: #79636d; line-height: 1.8; }
.landing-audience-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.landing-audience-card { position: relative; overflow: hidden; min-height: 560px; padding: 52px; border-radius: 28px; }
.landing-audience-doctor { background: var(--landing-ink); }
.landing-audience-patient { border: 1px solid #eadce1; background: #f9e9ed; }
.landing-audience-card .landing-card-number { position: absolute; top: 22px; right: 32px; color: rgba(255,255,255,.08); font-family: Georgia, serif; font-size: 7rem; line-height: 1; }
.landing-audience-patient .landing-card-number { color: rgba(124,45,78,.07); }
.landing-card-icon { display: grid; width: 56px; height: 56px; margin-bottom: 50px; place-items: center; border-radius: 17px; }
.landing-audience-doctor .landing-card-icon { background: rgba(255,143,163,.14); color: var(--landing-pink); }
.landing-audience-patient .landing-card-icon { background: #fff; color: var(--landing-rose); box-shadow: 0 9px 25px rgba(59,33,48,.08); }
.landing-card-icon svg { width: 24px; }
.landing-audience-doctor .landing-kicker { color: var(--landing-pink); }
.landing-audience-card h3 { max-width: 470px; margin-top: 13px; font-size: 2.1rem; line-height: 1.15; }
.landing-audience-doctor h3 { color: #fff; }
.landing-audience-card > p { margin-top: 18px; line-height: 1.7; }
.landing-audience-doctor > p { color: #d8c8cf; }
.landing-audience-card ul { display: grid; gap: 13px; margin: 30px 0 36px; padding: 0; list-style: none; }
.landing-audience-card li { display: flex; align-items: center; gap: 10px; font-size: .85rem; }
.landing-audience-doctor li { color: #f1e8eb; }
.landing-audience-card li svg { width: 17px; color: var(--landing-pink); }
.landing-audience-card > a { display: inline-flex; align-items: center; gap: 9px; padding-bottom: 4px; border-bottom: 1px solid; font-size: .8rem; font-weight: 750; }
.landing-audience-card > a svg { width: 15px; }
.landing-audience-doctor > a { color: var(--landing-pink); }
.landing-audience-patient > a { color: var(--landing-wine); }

.landing-process-section { background: #fff; }
.landing-centered-heading { max-width: 800px; margin: 0 auto 72px; text-align: center; }
.landing-centered-heading > p { max-width: 650px; margin: 22px auto 0; color: #79636d; line-height: 1.8; }
.landing-process-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.landing-process-grid article { position: relative; min-height: 285px; padding: 10px 30px 0; border-left: 1px solid #eadfe3; }
.landing-process-grid article:last-child { border-right: 1px solid #eadfe3; }
.landing-process-grid article > span { color: #c7b4bc; font-family: Georgia, serif; font-size: .75rem; }
.landing-process-icon { display: grid; width: 58px; height: 58px; margin: 44px 0 28px; place-items: center; border-radius: 18px; background: #fce8ee; color: var(--landing-rose); }
.landing-process-icon svg { width: 24px; }
.landing-process-grid h3 { font-size: 1.12rem; }
.landing-process-grid p { margin-top: 12px; color: #836e77; font-size: .82rem; line-height: 1.7; }

.landing-security-section { padding: 120px 0; background: linear-gradient(135deg, #3b2130, #61263f); }
.landing-security-grid { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 100px; }
.landing-security-section h2 { color: #fff; }
.landing-security-section p { margin-top: 25px; color: #d9cbd1; line-height: 1.8; }
.landing-kicker-light { color: var(--landing-pink); }
.landing-security-visual { position: relative; display: grid; min-height: 440px; place-items: center; }
.landing-security-circle { display: grid; width: 290px; height: 290px; place-items: center; border: 1px solid rgba(255,143,163,.25); border-radius: 50%; box-shadow: 0 0 0 45px rgba(255,255,255,.025), 0 0 0 90px rgba(255,255,255,.018); }
.landing-security-circle > div { display: grid; width: 125px; height: 125px; place-items: center; border-radius: 38px; background: linear-gradient(145deg, #ff9eb0, #b8325a); color: #fff; box-shadow: 0 20px 45px rgba(0,0,0,.2); transform: rotate(-5deg); }
.landing-security-circle svg { width: 52px; height: 52px; }
.security-chip { position: absolute; display: flex; align-items: center; gap: 8px; padding: 11px 15px; border: 1px solid rgba(255,255,255,.12); border-radius: 12px; background: rgba(255,255,255,.08); color: #f9eef2; font-size: .68rem; backdrop-filter: blur(12px); }
.security-chip svg { width: 14px; color: var(--landing-pink); }
.security-chip-one { top: 70px; right: 10px; }
.security-chip-two { bottom: 65px; left: -4px; }
.landing-security-list { display: grid; gap: 19px; margin-top: 34px; }
.landing-security-list > div { display: flex; gap: 14px; color: #fff; }
.landing-security-list svg { flex: 0 0 auto; width: 20px; color: var(--landing-pink); }
.landing-security-list span { display: grid; gap: 3px; color: #cdbbc3; font-size: .76rem; }
.landing-security-list strong { color: #fff; font-size: .88rem; }

.landing-cta-section { padding: 100px 0; background: #ffd8c9; }
.landing-cta { display: grid; grid-template-columns: 1.15fr .85fr; align-items: end; gap: 90px; }
.landing-cta h2 { font-size: clamp(2.4rem, 4vw, 3.7rem); }
.landing-cta > div:last-child p { margin-bottom: 28px; color: #715660; line-height: 1.75; }

.landing-footer { padding: 74px 0 25px; background: #fffaf8; }
.landing-footer-main { display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 60px; padding-bottom: 64px; }
.landing-footer-logo { width: 175px; }
.landing-footer-main p { margin-top: 18px; color: #826c76; font-size: .82rem; line-height: 1.7; }
.landing-footer-main > div:not(:first-child) { display: flex; flex-direction: column; gap: 11px; }
.landing-footer-main strong { margin-bottom: 7px; color: var(--landing-ink); font-size: .76rem; }
.landing-footer-main a { color: #806a74; font-size: .75rem; }
.landing-footer-main a:hover { color: var(--landing-rose); }
.landing-footer-bottom { display: flex; justify-content: space-between; padding-top: 24px; border-top: 1px solid #eadfe3; color: #a08a94; font-size: .66rem; }

@media (max-width: 1024px) {
  .landing-nav-links { display: none; }
  .landing-hero-grid { grid-template-columns: 1fr; }
  .landing-hero-copy { max-width: 700px; }
  .landing-product-stage { width: min(700px, 100%); margin: 0 auto; }
  .landing-proof-grid { grid-template-columns: repeat(3, 1fr); padding: 28px 0; }
  .landing-proof-grid > p { grid-column: 1 / -1; margin-bottom: 20px; text-align: center; }
  .landing-section-intro { gap: 40px; }
  .landing-audience-card { padding: 40px; }
  .landing-process-grid { grid-template-columns: repeat(2, 1fr); row-gap: 50px; }
  .landing-process-grid article:nth-child(3) { border-left: 1px solid #eadfe3; }
  .landing-security-grid { gap: 45px; }
}

@media (max-width: 720px) {
  .landing-container { width: min(100% - 32px, 1180px); }
  .landing-header { position: absolute; }
  .landing-nav { min-height: 74px; }
  .landing-logo img { width: 145px; }
  .landing-nav-actions .landing-text-link { display: none; }
  .landing-nav-actions { gap: 9px; }
  .landing-button-small { min-height: 38px; padding: 0 14px; font-size: .73rem; }
  .landing-hero { padding: 126px 0 70px; }
  .landing-hero-grid { gap: 35px; }
  .landing-hero h1 { font-size: clamp(2.75rem, 15vw, 4rem); }
  .landing-lead { font-size: .94rem; line-height: 1.7; }
  .landing-hero-actions { align-items: stretch; flex-direction: column; }
  .landing-hero-actions a { width: 100%; }
  .landing-trust-row { gap: 11px 16px; }
  .landing-product-stage { min-height: 350px; }
  .landing-dashboard-card { top: 15px; width: 100%; }
  .landing-dashboard-body { grid-template-columns: 38px 1fr; min-height: 265px; }
  .landing-dashboard-body aside { gap: 5px; padding-top: 10px; }
  .landing-dashboard-body aside div { width: 25px; height: 25px; }
  .landing-dashboard-content { padding: 14px; }
  .landing-stat-grid div { padding: 8px; }
  .landing-chart { height: 65px; }
  .landing-float-labs { left: -8px; top: -10px; }
  .landing-float-plan { right: -8px; bottom: 3px; }
  .landing-proof-grid { grid-template-columns: 1fr; gap: 17px; }
  .landing-proof-grid > div { padding: 0 0 0 22%; border-left: 0; }
  .landing-section { padding: 80px 0; }
  .landing-section-intro, .landing-audience-grid, .landing-security-grid, .landing-cta { grid-template-columns: 1fr; }
  .landing-section-intro { gap: 22px; margin-bottom: 36px; }
  .landing-section-intro h2, .landing-centered-heading h2, .landing-security-section h2 { font-size: 2.5rem; }
  .landing-audience-card { min-height: auto; padding: 34px 28px; }
  .landing-card-icon { margin-bottom: 38px; }
  .landing-audience-card h3 { font-size: 1.7rem; }
  .landing-process-grid { grid-template-columns: 1fr; row-gap: 35px; }
  .landing-process-grid article, .landing-process-grid article:last-child { min-height: 235px; border-right: 0; }
  .landing-security-section { padding: 70px 0; }
  .landing-security-grid { gap: 45px; }
  .landing-security-visual { min-height: 330px; }
  .landing-security-circle { width: 210px; height: 210px; box-shadow: 0 0 0 30px rgba(255,255,255,.025), 0 0 0 60px rgba(255,255,255,.018); }
  .landing-security-circle > div { width: 95px; height: 95px; border-radius: 28px; }
  .security-chip-one { top: 25px; right: 0; }
  .security-chip-two { bottom: 25px; left: 0; }
  .landing-cta-section { padding: 75px 0; }
  .landing-cta { gap: 30px; }
  .landing-footer-main { grid-template-columns: 1fr 1fr; gap: 40px 25px; }
  .landing-footer-main > div:first-child { grid-column: 1 / -1; }
  .landing-footer-bottom { align-items: flex-start; flex-direction: column; gap: 8px; }
}

.respect-footer {
    padding-bottom: 450px;
  }

.text-mito-copy-text-light {
    --tw-text-opacity: 1;
  color: rgba(95, 103, 112, 1);
}
.text-mito-dark-gray {
  --tw-text-opacity: 1;
  color: rgba(55, 61, 68, 1);
}
.bg-mito-dark-gray {
  --tw-text-opacity: 1;
  color: rgba(55, 61, 68, 1);
}

.bg-mito-white {
  --tw-bg-opacity: 1;
  background-color: #f8f5f6;
}
.border-mito-dark-gray {
  --tw-border-opacity: 1;
  border-color: rgba(55, 61, 68, 1);
}

#navbar-header{
  z-index: 999;
  position: sticky;
  top: 0;
  padding-top:15px;
  background-color: #fffdfa;
}


#close-button {
  cursor: pointer;
}

#close-button:hover {
  transform: scale(1.2);
}


#modal-overlay > div {
  overflow-y: auto;
  max-height: 90%;
  background: #fff; /* Hintergrundfarbe des Modals */
  padding: 20px;
  width:85%;   
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

#modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6); /* Halbtransparenter schwarzer Hintergrund */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000; /* Über dem restlichen Inhalt */
}

.small-text {
  font-size: xx-small;
}

.customer-area-nav .active-nav {
  background-color:#fce8ee;
  border-left: 3px solid #b8325a;
  color: #7c2d4e;
}

.updated-successfully {
  border-color: green;
  font-weight: bolder;
  color: green;
}

.in-range {
  background-color: green !important;
  color: white !important;
}
.close-range {
  background-color: yellow !important;
}
.out-range {
  background-color: red !important;
  color: white !important;
}

@media (max-width: 1023px) {
    .respect-footer { padding-bottom: 780px; }
    .nub-content { width: min(100% - 24px, 1440px); padding-top: 20px; }
}

/* Patient layout: let the main column shrink alongside the sidebar. */
.nub-athlete-main { flex: 1; width: 100%; min-width: 0; }
.nub-athlete-sidebar { flex-shrink: 0; }
.nub-patient-menu-toggle { min-width: 44px; min-height: 44px; align-items: center; justify-content: center; color: #7c2d4e; padding: 10px; }
.nub-athlete-topbar #mobileMenu { max-height: calc(100dvh - 100px); overflow-y: auto; overscroll-behavior: contain; padding-bottom: env(safe-area-inset-bottom); }
.nub-athlete-topbar #mobileMenu a { min-height: 44px; overflow-wrap: anywhere; }
@media (min-width: 768px) {
  .nub-athlete-main { width: 0; padding-left: 20px; }
}
@media (max-width: 767px) {
  .nub-athlete-page { padding-top: 0; }
  .nub-athlete-shell .nub-content { width: calc(100% - 24px); padding-top: 12px; padding-bottom: calc(32px + env(safe-area-inset-bottom)); }
  .nub-athlete-main .nub-page-header { flex-direction: column; align-items: stretch; gap: 14px; }
  .nub-athlete-main .nub-page-title { font-size: 1.5rem; }
  .nub-athlete-main input:not([type=checkbox]):not([type=radio]), .nub-athlete-main select, .nub-athlete-main textarea { font-size: 16px; max-width: 100%; }
  .nub-athlete-main .nub-surface { border-radius: 16px; }
  .nub-athlete-main .nub-page-header > a { justify-content: center; min-height: 44px; }
}

.doctor-health-layout { display: grid; grid-template-columns: 256px minmax(0, 1fr); min-height: 100vh; }
.doctor-health-sidebar { background: #3b2130; padding-top: 40px; }
.doctor-health-sidebar > div { width: 100%; }
.doctor-health-content { min-width: 0; padding: 28px; }
.doctor-health-header { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; }
.doctor-health-section-nav { display: flex; flex-wrap: wrap; gap: 5px; }
.doctor-health-section-nav a { padding: 10px 12px; min-height: 44px; font-size: .875rem; }
.doctor-health-section { padding: 22px; display: grid; gap: 16px; min-width: 0; scroll-margin-top: 130px; }
.doctor-health-section h2 { font-size: 1.05rem; font-weight: 700; color: #7c2d4e; }
.doctor-health-section table th, .doctor-health-section table td { padding: 10px; }
.doctor-health-section th { white-space: nowrap; }
.doctor-health-content svg, #patient-health-preview-title svg { width: 18px; height: 18px; flex-shrink: 0; }
#health-top { scroll-margin-top: 130px; }
.doctor-health-metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.doctor-health-metrics > div { padding: 12px; background: #fff5f7; border-radius: 12px; }
.doctor-health-metrics strong { display: block; font-size: 1.5rem; color: #7c2d4e; }
.doctor-health-metrics span { font-size: .8125rem; color: #765f6b; }
@media (max-width: 767px) {
  .doctor-health-layout { grid-template-columns: minmax(0, 1fr); }
  .doctor-health-sidebar { padding-top: 12px; }
  .doctor-health-content { padding: 16px 12px; }
  .doctor-health-section { padding: 14px; }
  .doctor-health-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Doctor consultation workspace, including iPad portrait and landscape. */
.nub-doctor-shell main { min-width: 0; }
.doctor-workspace > * { min-width: 0; }
.doctor-workspace-sidebar { flex: 0 0 256px; width: 256px; }
.doctor-workspace-main { flex: 1 1 0; width: auto; min-width: 0; }
.doctor-workspace-tools { flex: 0 0 240px; width: 240px; min-width: 0; }
.doctor-table-scroll { width: 100%; max-width: 100%; min-width: 0; overflow-x: auto; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; }
.doctor-table-scroll:focus-visible { outline: 2px solid #7c2d4e; outline-offset: 3px; }
.nub-doctor-menu-button { min-width: 44px; min-height: 44px; padding: 10px; }
.nub-doctor-mobile-menu { position: absolute; top: 64px; left: 12px; right: 12px; max-height: calc(100dvh - 88px); overflow-y: auto; overscroll-behavior: contain; padding: 14px; background: #fff8fa; border: 1px solid #eadfe3; border-radius: 16px; box-shadow: 0 14px 40px rgba(59,33,48,.15); }
.nub-doctor-mobile-menu h2 { margin: 12px 8px 4px; font-size: .75rem; font-weight: 700; color: #7c2d4e; }
.nub-doctor-mobile-menu a { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 10px; border-radius: 10px; }
.nub-doctor-mobile-menu a:hover { background: #fce8ee; }
.nub-doctor-mobile-menu svg { width: 19px; height: 19px; }
@media (max-width: 1399px) {
  .nub-doctor-shell .doctor-workspace { flex-direction: column; }
  .doctor-workspace > .doctor-workspace-sidebar, .doctor-workspace > .doctor-workspace-main, .doctor-workspace > .doctor-workspace-tools { flex: auto; width: 100%; height: auto; max-height: none; position: static; overflow: visible; }
  .doctor-workspace > .doctor-workspace-sidebar { padding-top: 12px; }
  .doctor-workspace-main { padding: 20px; }
  .doctor-workspace-tools { padding: 16px 20px; }
  .doctor-patient-identity { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px 16px; }
  .doctor-patient-identity > p:first-child { grid-column: 1 / -1; margin-bottom: 4px; }
  .doctor-patient-identity > * { min-width: 0; overflow-wrap: anywhere; }
  .doctor-patient-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .doctor-patient-cards > * { grid-column: auto; }
  .doctor-diagnostic-columns { flex-direction: column; gap: 18px; }
  .doctor-diagnostic-columns > * { width: 100%; margin-left: 0 !important; }
  .doctor-health-layout { grid-template-columns: minmax(0, 1fr); }
  .doctor-health-sidebar { padding-top: 12px; }
  .doctor-plan-overview { flex-wrap: wrap; gap: 16px; }
  .doctor-plan-overview > div { flex: 1 1 300px; margin-right: 0; }
}
@media (max-width: 1279px), (any-pointer: coarse) {
  .nub-doctor-shell input:not([type=checkbox]):not([type=radio]):not([type=hidden]), .nub-doctor-shell select, .nub-doctor-shell textarea { min-height: 44px; font-size: 16px; max-width: 100%; }
  .nub-doctor-shell button, .nub-doctor-shell summary, .nub-doctor-shell input[type=submit] { min-height: 44px; }
  .nub-doctor-topbar a.nub-icon-button { min-height: 44px; min-width: 44px; }
  .nub-doctor-profile { max-width: 220px; }
  .nub-doctor-profile p { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .nub-doctor-shell .nub-content { width: calc(100% - 32px); }
  .doctor-health-section-nav a, .doctor-patient-sidebar li a { min-height: 48px; }
  .doctor-health-section { scroll-margin-top: 84px; }
  .nub-doctor-shell .nub-page-header { flex-wrap: wrap; gap: 16px; }
  .nub-doctor-shell td, .nub-doctor-shell th { padding: 10px 12px; }
}
@media (max-width: 767px) {
  .doctor-patient-cards { grid-template-columns: minmax(0, 1fr); }
  .doctor-patient-identity { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .doctor-workspace-main { padding: 16px 12px; }
  .nub-doctor-topbar { padding-left: 12px; padding-right: 12px; }
  .nub-doctor-profile { display: none; }
}

.doctor-table-scroll table { width: 100%; }
@media (max-width: 1399px) {
  .doctor-workspace-tools .sticky { position: static; max-height: none; }
}
@media (max-width: 1279px), (any-pointer: coarse) {
  .nub-doctor-shell .doctor-table-scroll a { display: inline-flex; align-items: center; min-height: 44px; }
}
