@font-face {
  font-family: Lato;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/brand/fonts/lato-normal-latin-400.woff2") format("woff2");
}

@font-face {
  font-family: Lato;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/brand/fonts/lato-normal-latin-700.woff2") format("woff2");
}

@font-face {
  font-family: Lato;
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url("/brand/fonts/lato-normal-latin-900.woff2") format("woff2");
}

:root {
  color-scheme: light;
  --ink: #0f5168;
  --ink-soft: #3f6574;
  --muted: #6f7d84;
  --paper: #ffffff;
  --canvas: #f8fcfe;
  --canvas-deep: #eef9fd;
  --line: #d9e5ec;
  --primary: #009ee0;
  --primary-dark: #007bb0;
  --primary-light: #eaf7fc;
  --accent: #95c11f;
  --success: #6a9f16;
  --danger: #b42318;
  --navy: #0f5168;
  --shadow: 0 24px 70px rgba(15, 81, 104, 0.11);
  font-family: Lato, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { min-height: 100vh; margin: 0; color: var(--ink); background: linear-gradient(180deg, #ffffff 0%, var(--canvas) 48%, #ffffff 100%); -webkit-font-smoothing: antialiased; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { text-wrap: balance; }

.skip-link { position: fixed; z-index: 100; top: 8px; left: 8px; padding: 10px 14px; color: white; background: var(--primary-dark); border-radius: 8px; transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
.page-width { width: min(1160px, calc(100% - 48px)); margin-inline: auto; }
.icon { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.topbar { position: relative; z-index: 20; background: rgba(255, 255, 255, 0.95); border-bottom: 1px solid rgba(0, 158, 224, 0.12); box-shadow: 0 10px 30px rgba(15, 81, 104, 0.045); backdrop-filter: blur(18px); }
.topbar-inner { display: flex; width: min(1240px, calc(100% - 48px)); min-height: 78px; margin-inline: auto; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; min-width: 0; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; white-space: nowrap; }
.brand-logo { width: auto; height: 31px; object-fit: contain; }
.brand-divider { width: 1px; height: 27px; background: rgba(0, 158, 224, 0.25); }
.brand-product { color: var(--ink); font-size: 15px; font-weight: 700; letter-spacing: 0.01em; }
.primary-nav { display: flex; align-items: center; gap: 8px; }
.primary-nav > a { padding: 10px 13px; color: var(--ink-soft); font-size: 14px; font-weight: 650; text-decoration: none; border-radius: 999px; }
.primary-nav > a:hover { color: var(--primary-dark); background: var(--primary-light); }
.primary-nav > a.button, .primary-nav > a.button:hover { color: white; }
.nav-user { display: flex; align-items: center; gap: 9px; padding: 5px 7px 5px 5px; color: var(--ink); background: white; border: 1px solid var(--line); border-radius: 999px; cursor: pointer; transition: 160ms ease; }
.nav-user:hover { border-color: rgba(0, 123, 176, 0.34); box-shadow: 0 8px 20px rgba(15, 81, 104, 0.08); }
.nav-user:focus-visible { outline: 3px solid rgba(0, 158, 224, 0.22); outline-offset: 2px; }
.avatar { display: grid; width: 32px; height: 32px; place-items: center; color: white; font-size: 13px; font-weight: 800; background: var(--primary); border-radius: 50%; }
.avatar-large { width: 48px; height: 48px; font-size: 17px; }
.nav-user-name { max-width: 150px; padding-right: 6px; overflow: hidden; font-size: 13px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.nav-logout-label { padding: 1px 7px 1px 11px; color: var(--primary-dark); font-size: 12px; font-weight: 800; border-left: 1px solid var(--line); white-space: nowrap; }

.button { display: inline-flex; min-height: 48px; padding: 0 21px; align-items: center; justify-content: center; gap: 10px; color: white; font-weight: 700; text-decoration: none; background: linear-gradient(180deg, var(--primary-dark), var(--primary)); border: 1px solid var(--primary); border-radius: 999px; box-shadow: 0 10px 22px rgba(0, 123, 176, 0.18); cursor: pointer; transition: 160ms ease; }
.button:hover { background: var(--primary-dark); border-color: var(--primary-dark); transform: translateY(-1px); }
.button:disabled { opacity: 0.55; cursor: wait; transform: none; }
.button-small { min-height: 39px; padding-inline: 16px; font-size: 13px; }
.button-full { width: 100%; }
.button-secondary { color: var(--primary-dark); background: white; border-color: var(--line); box-shadow: none; }
.button-secondary:hover { color: white; }
.text-link, .card-link, .back-link { color: var(--primary-dark); font-weight: 750; text-decoration: none; }
.text-link:hover, .card-link:hover, .back-link:hover { text-decoration: underline; }

.eyebrow { margin-bottom: 12px; color: var(--primary-dark); font-size: 12px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
.eyebrow-light { color: #bceafa; }
.category { margin-bottom: 10px; color: var(--primary); font-size: 12px; font-weight: 800; letter-spacing: 0.07em; text-transform: uppercase; }
.lede { color: var(--muted); font-size: clamp(18px, 2vw, 21px); line-height: 1.65; }
.hero { display: grid; min-height: 640px; padding: 84px 0 88px; grid-template-columns: 1.08fr 0.92fr; align-items: center; gap: 48px; }
.hero h1, .auth-copy h1 { margin-bottom: 28px; font-size: clamp(50px, 6vw, 78px); font-weight: 900; line-height: 0.98; letter-spacing: -0.05em; }
.hero h1 em, .auth-copy h1 em { color: var(--primary); font-weight: 900; font-style: normal; }
.hero-copy { max-width: 690px; }
.hero-copy .lede { max-width: 650px; }
.hero-actions { display: flex; margin-top: 34px; align-items: center; gap: 22px; }
.trust-row { display: flex; margin-top: 42px; color: var(--muted); font-size: 13px; gap: 26px; }
.trust-row span { display: flex; align-items: center; gap: 8px; }
.hero-art { position: relative; min-height: 480px; }
.hero-art::before { position: absolute; inset: 60px 20px 30px 50px; content: ""; background: linear-gradient(145deg, #d8f1fb 0%, #eef9fd 68%, #f1f7df 100%); border-radius: 48% 52% 55% 45% / 43% 40% 60% 57%; }
.hero-orbit { position: absolute; border: 1px solid rgba(0, 158, 224, 0.25); border-radius: 50%; }
.orbit-one { inset: 20px 0 0 30px; transform: rotate(18deg); }
.orbit-two { inset: 75px 55px 40px 0; transform: rotate(-18deg); }
.hero-card { position: absolute; display: flex; background: rgba(255, 255, 255, 0.95); border: 1px solid rgba(255, 255, 255, 0.75); border-radius: 20px; box-shadow: var(--shadow); }
.hero-card-main { z-index: 2; top: 110px; right: 30px; width: min(340px, 78%); padding: 30px; flex-direction: column; }
.hero-card-main strong { margin: 12px 0 30px; font-size: 30px; font-weight: 900; line-height: 1.15; }
.hero-brand-seal { position: absolute; z-index: 4; top: 26px; right: 38px; width: 76px; height: 76px; overflow: hidden; border-radius: 50%; box-shadow: 0 12px 28px rgba(15, 81, 104, 0.15); }
.hero-brand-seal img { display: block; width: 100%; height: 100%; }
.mini-label, .hero-card small { color: var(--muted); font-size: 12px; }
.mini-progress { height: 7px; margin-bottom: 10px; overflow: hidden; background: var(--canvas-deep); border-radius: 99px; }
.mini-progress span { display: block; height: 100%; background: var(--primary); border-radius: inherit; }
.hero-card-video { z-index: 3; top: 63px; left: 18px; padding: 15px 19px; align-items: center; gap: 9px; color: var(--primary-dark); font-size: 13px; font-weight: 750; }
.hero-card-certificate { z-index: 3; right: 3px; bottom: 63px; padding: 16px 19px; align-items: center; gap: 11px; color: var(--ink-soft); font-size: 13px; font-weight: 700; }
.hero-card-certificate .icon { color: var(--success); }

.catalog-section { padding: 94px 0 108px; background: white; }
.section-heading { display: flex; margin-bottom: 38px; align-items: flex-end; justify-content: space-between; gap: 40px; }
.section-heading h2 { margin-bottom: 0; font-size: clamp(34px, 4vw, 48px); font-weight: 900; letter-spacing: -0.035em; }
.section-heading > p, .section-heading > div > p:last-child { max-width: 440px; margin-bottom: 0; color: var(--muted); line-height: 1.6; }
.section-heading.compact { margin-bottom: 24px; align-items: center; }
.section-heading.compact h2 { font-family: inherit; font-size: 28px; font-weight: 750; }
.course-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 25px; }
.course-card { overflow: hidden; background: var(--paper); border: 1px solid var(--line); border-radius: 23px; box-shadow: 0 14px 38px rgba(15, 81, 104, 0.07); transition: 180ms ease; }
.course-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.course-visual { position: relative; display: flex; min-height: 225px; padding: 25px; flex-direction: column; justify-content: space-between; overflow: hidden; color: white; background: linear-gradient(145deg, var(--navy), var(--primary)); }
.course-visual::after { position: absolute; width: 270px; height: 270px; right: -55px; bottom: -130px; content: ""; border: 1px solid rgba(255, 255, 255, 0.22); border-radius: 50%; box-shadow: 0 0 0 38px rgba(255, 255, 255, 0.06), 0 0 0 76px rgba(255, 255, 255, 0.04); }
.course-visual-label { position: relative; z-index: 2; max-width: 70%; font-size: 12px; font-weight: 750; letter-spacing: 0.04em; }
.course-visual-symbol { position: relative; z-index: 2; width: 76px; height: 76px; object-fit: contain; border-radius: 50%; box-shadow: 0 10px 24px rgba(15, 81, 104, 0.18); }
.course-visual.is-compact { min-height: 100%; }
.course-card-body { padding: 28px; }
.course-card h3, .learning-card h3 { margin-bottom: 12px; font-size: 28px; font-weight: 900; line-height: 1.15; letter-spacing: -0.025em; }
.course-card-body > p:not(.category), .learning-card-content > p:not(.category) { min-height: 50px; color: var(--muted); line-height: 1.55; }
.course-meta { display: flex; margin: 24px 0; flex-wrap: wrap; color: var(--muted); font-size: 13px; gap: 16px; }
.course-meta span { display: inline-flex; align-items: center; gap: 6px; }
.course-meta .icon { width: 16px; height: 16px; }
.card-link { display: inline-flex; align-items: center; gap: 8px; }
.principles { display: grid; padding: 88px 0; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.principles article { padding-right: 32px; }
.principles article > .icon { width: 28px; height: 28px; margin-bottom: 18px; color: var(--primary); }
.principles h3 { margin-bottom: 9px; font-size: 18px; }
.principles p { color: var(--muted); line-height: 1.6; }

/* Vertrieb und Enrollment */
.sales-hero { position: relative; overflow: hidden; background: radial-gradient(circle at 74% 24%, rgba(149, 193, 31, 0.15), transparent 25%), linear-gradient(145deg, #f6fcfe 0%, #fff 58%, #edf8fb 100%); }
.sales-hero::before { position: absolute; width: 520px; height: 520px; right: -270px; bottom: -250px; content: ""; border: 1px solid rgba(0, 158, 224, 0.14); border-radius: 50%; box-shadow: 0 0 0 70px rgba(0, 158, 224, 0.035), 0 0 0 140px rgba(0, 158, 224, 0.025); }
.sales-hero-grid { position: relative; display: grid; min-height: 680px; padding-top: 84px; padding-bottom: 88px; grid-template-columns: minmax(0, 1.12fr) minmax(350px, 0.88fr); align-items: center; gap: 72px; }
.sales-hero-copy h1 { max-width: 720px; margin-bottom: 28px; font-size: clamp(52px, 6vw, 78px); font-weight: 900; line-height: 0.99; letter-spacing: -0.055em; }
.sales-hero-copy h1 em { color: var(--primary); font-style: normal; }
.sales-hero-copy .lede { max-width: 680px; }
.sales-hero-copy .trust-row { flex-wrap: wrap; }
.flagship-card { position: relative; z-index: 2; padding: 34px; color: white; background: linear-gradient(145deg, var(--navy), #0c7397 70%, var(--primary)); border-radius: 30px; box-shadow: 0 30px 80px rgba(15, 81, 104, 0.23); transform: rotate(1.2deg); }
.flagship-card > * { position: relative; z-index: 2; }
.flagship-card-top { display: flex; margin-bottom: 48px; align-items: center; justify-content: space-between; }
.flagship-card-top img { width: 64px; height: 64px; border-radius: 50%; box-shadow: 0 12px 30px rgba(4, 45, 61, 0.25); }
.flagship-label { padding: 7px 11px; color: #d8f3fc; font-size: 10px; font-weight: 900; letter-spacing: 0.1em; text-transform: uppercase; border: 1px solid rgba(255,255,255,0.23); border-radius: 999px; }
.flagship-card .category { color: #9fe5fb; }
.flagship-card h2 { margin-bottom: 18px; font-size: clamp(29px, 3vw, 39px); font-weight: 900; line-height: 1.08; letter-spacing: -0.035em; }
.flagship-card > p:not(.category) { color: #d7edf4; line-height: 1.58; }
.flagship-facts { display: grid; margin: 28px 0; padding: 20px 0; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(255,255,255,0.16); border-bottom: 1px solid rgba(255,255,255,0.16); gap: 10px; }
.flagship-facts span { display: grid; color: #cde8f0; font-size: 10px; text-transform: uppercase; gap: 3px; }
.flagship-facts strong { color: white; font-size: 24px; }
.flagship-price { display: grid; grid-template-columns: auto 1fr; align-items: end; gap: 0 8px; }
.flagship-price span { color: #cde8f0; font-size: 11px; text-transform: uppercase; }
.flagship-price strong { font-size: 34px; line-height: 1; }
.flagship-price small { grid-column: 2; margin-top: 5px; color: #cde8f0; }
.positioning-value { padding: 100px 0 112px; }
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.value-grid article { min-height: 240px; padding: 30px; background: white; border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 14px 34px rgba(15, 81, 104, 0.055); }
.value-grid article > span { display: inline-grid; width: 44px; height: 44px; margin-bottom: 42px; place-items: center; color: var(--primary-dark); font-size: 12px; font-weight: 900; background: var(--primary-light); border-radius: 50%; }
.value-grid article:nth-child(2) > span { color: #608d0d; background: #f0f7df; }
.value-grid h3 { margin-bottom: 10px; font-size: 25px; }
.value-grid p { margin-bottom: 0; color: var(--muted); line-height: 1.6; }
.clinic-cta-section { padding: 96px 0; color: white; background: linear-gradient(125deg, #0e4c61 0%, var(--navy) 48%, #0879a0 100%); }
.clinic-cta-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; align-items: center; gap: 60px 80px; }
.clinic-cta-grid h2 { margin-bottom: 22px; font-size: clamp(38px, 4vw, 53px); line-height: 1.06; letter-spacing: -0.04em; }
.clinic-cta-grid > div:first-child > p:last-child { max-width: 600px; margin-bottom: 0; color: #cde8f0; font-size: 17px; line-height: 1.65; }
.sales-steps { display: grid; margin: 0; padding: 0; list-style: none; gap: 13px; }
.sales-steps li { display: flex; padding: 18px 20px; align-items: center; gap: 15px; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12); border-radius: 16px; }
.sales-steps li > span { display: grid; width: 34px; height: 34px; flex: 0 0 auto; place-items: center; color: var(--navy); font-weight: 900; background: white; border-radius: 50%; }
.sales-steps li div { display: grid; gap: 3px; }
.sales-steps small { color: #cde8f0; }
.clinic-cta-action { display: flex; padding-top: 34px; grid-column: 1 / -1; align-items: center; justify-content: space-between; border-top: 1px solid rgba(255,255,255,0.16); gap: 20px; }
.clinic-cta-action > strong { font-size: 20px; }
.secondary-courses { padding: 96px 0; }
.secondary-course-list { display: grid; gap: 18px; }
.secondary-course-list article { display: grid; overflow: hidden; background: white; border: 1px solid var(--line); border-radius: 23px; grid-template-columns: 280px 1fr; }
.secondary-course-list .course-visual { min-height: 230px; }
.secondary-course-list article > div:last-child { padding: 34px; }
.secondary-course-list h3 { font-size: 27px; }
.secondary-course-list p:last-child { color: var(--muted); line-height: 1.55; }
.closing-cta { padding: 110px max(24px, 8vw); text-align: center; }
.closing-cta h2 { max-width: 820px; margin: 0 auto 30px; font-size: clamp(39px, 5vw, 58px); line-height: 1.06; letter-spacing: -0.04em; }
.closing-cta > div { display: flex; align-items: center; justify-content: center; gap: 24px; }

.sales-page-hero, .admin-sales-hero { padding: 70px 0 78px; color: white; background: radial-gradient(circle at 80% 20%, rgba(149, 193, 31, 0.22), transparent 24%), linear-gradient(120deg, var(--navy), var(--primary-dark)); }
.sales-page-hero .back-link, .individual-hero .back-link { display: inline-block; margin-bottom: 56px; }
.sales-page-hero h1, .admin-sales-hero h1 { max-width: 850px; margin-bottom: 18px; font-size: clamp(44px, 5.4vw, 68px); font-weight: 900; line-height: 1; letter-spacing: -0.05em; }
.sales-page-hero > div > p:last-child, .admin-sales-hero p:last-child { max-width: 760px; margin-bottom: 0; color: #d1edf6; font-size: 18px; line-height: 1.6; }
.sales-form-layout { display: grid; padding-top: 84px; padding-bottom: 110px; grid-template-columns: 0.88fr 1.12fr; align-items: start; gap: 80px; }
.sales-form-copy { position: sticky; top: 30px; }
.sales-form-copy h2 { margin-bottom: 24px; font-size: clamp(36px, 4vw, 51px); line-height: 1.05; letter-spacing: -0.04em; }
.sales-form-copy > .lede { font-size: 18px; }
.process-list { display: grid; margin-top: 40px; gap: 22px; }
.process-list article { display: flex; gap: 16px; }
.process-list article > span { display: grid; width: 36px; height: 36px; flex: 0 0 auto; place-items: center; color: var(--primary-dark); font-size: 12px; font-weight: 900; background: var(--primary-light); border-radius: 50%; }
.process-list h3 { margin-bottom: 4px; font-size: 17px; }
.process-list p { margin-bottom: 0; color: var(--muted); line-height: 1.5; }
.privacy-note { display: flex; margin-top: 38px; padding: 20px; gap: 14px; background: #f1f8e4; border-radius: 16px; }
.privacy-note > .icon { flex: 0 0 auto; color: var(--success); }
.privacy-note p { margin: 5px 0 0; color: var(--ink-soft); font-size: 13px; line-height: 1.5; }
.sales-form { padding: clamp(28px, 4vw, 44px); background: white; border: 1px solid var(--line); border-radius: 27px; box-shadow: var(--shadow); }
.sales-form h2 { margin-bottom: 28px; font-size: 31px; }
.sales-form label, .redeem-card label, .login-form label, .order-action-form label { display: grid; margin-bottom: 17px; color: var(--ink-soft); font-size: 12px; font-weight: 800; gap: 7px; }
.sales-form label > span, .redeem-card label > small { color: var(--muted); font-size: 10px; font-weight: 400; }
.sales-form input, .sales-form textarea, .sales-form select, .redeem-card input, .login-form input, .order-action-form input { width: 100%; padding: 13px 14px; color: var(--ink); background: white; border: 1px solid var(--line); border-radius: 11px; outline: none; }
.sales-form input:focus, .sales-form textarea:focus, .sales-form select:focus, .redeem-card input:focus, .login-form input:focus, .order-action-form input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(0,158,224,0.1); }
.sales-form-grid { display: grid; gap: 0 13px; }
.sales-form-grid.two-columns { grid-template-columns: repeat(2, 1fr); }
.sales-form-grid.address-grid { grid-template-columns: 1.5fr 0.45fr 0.85fr; }
.license-picker { display: grid; margin: 12px 0 14px; padding: 20px; grid-template-columns: 0.8fr 0.8fr 1fr; align-items: end; gap: 14px; background: var(--canvas); border-radius: 16px; }
.license-picker label { margin-bottom: 0; }
.price-preview { display: grid; padding: 6px 4px; text-align: right; gap: 3px; }
.price-preview span, .price-preview small { color: var(--muted); font-size: 10px; }
.price-preview strong { font-size: 25px; }
.volume-hint { margin: 0 0 24px; color: var(--primary-dark); font-size: 12px; line-height: 1.55; }
.consent-check, .education-option { display: flex !important; padding: 15px; align-items: flex-start; gap: 11px !important; background: var(--canvas); border-radius: 13px; cursor: pointer; }
.consent-check input, .education-option input { width: 17px; height: 17px; padding: 0; flex: 0 0 auto; accent-color: var(--primary); }
.consent-check > span { color: var(--ink-soft) !important; font-size: 11px !important; line-height: 1.45; }
.individual-hero { padding: 80px 0; background: linear-gradient(140deg, #f2fbfe, white); }
.individual-hero-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; align-items: center; gap: 80px; }
.individual-hero h1 { max-width: 780px; font-size: clamp(45px, 5vw, 67px); line-height: 1; letter-spacing: -0.05em; }
.individual-price-card { padding: 34px; text-align: center; background: white; border: 1px solid var(--line); border-radius: 26px; box-shadow: var(--shadow); }
.individual-price-card > span, .individual-price-card small { display: block; color: var(--muted); }
.individual-price-card > strong { display: block; margin: 10px 0 3px; font-size: 48px; }
.individual-price-card hr { margin: 28px 0; border: 0; border-top: 1px solid var(--line); }
.individual-price-card p { margin-bottom: 6px; font-weight: 800; }
.individual-price-card .education-price { color: var(--success); font-size: 31px; }
.sales-form-layout.is-individual { grid-template-columns: 1fr 0.85fr; }
.individual-benefits { display: grid; margin-top: 32px; gap: 13px; }
.individual-benefits span { display: flex; align-items: center; gap: 10px; color: var(--ink-soft); }
.individual-benefits .icon { color: var(--success); }
.education-option span { display: grid; gap: 5px; }
.education-option span small { color: var(--muted); font-weight: 400; line-height: 1.45; }
.individual-total { display: flex; margin: 20px 0; padding: 18px; align-items: center; justify-content: space-between; background: var(--primary-light); border-radius: 14px; }
.individual-total span { color: var(--primary-dark); font-size: 12px; font-weight: 800; }
.individual-total strong { font-size: 25px; }
.confirmation-page { display: grid; min-height: calc(100vh - 152px); padding-top: 90px; padding-bottom: 100px; place-items: center; align-content: center; text-align: center; }
.confirmation-mark { display: grid; width: 74px; height: 74px; margin-bottom: 26px; place-items: center; color: white; background: var(--accent); border-radius: 50%; box-shadow: 0 14px 34px rgba(149,193,31,0.25); }
.confirmation-mark .icon { width: 34px; height: 34px; }
.confirmation-page h1 { margin-bottom: 18px; font-size: clamp(42px, 5vw, 64px); letter-spacing: -0.045em; }
.confirmation-page > p:not(.eyebrow) { max-width: 690px; color: var(--muted); font-size: 18px; line-height: 1.6; }
.confirmation-summary { display: grid; min-width: min(480px, 100%); margin: 24px 0 34px; padding: 22px; background: white; border: 1px solid var(--line); border-radius: 17px; gap: 6px; }
.confirmation-summary small { color: var(--muted); }
.confirmation-page > div:last-child { display: flex; align-items: center; gap: 22px; }
.redeem-layout { display: grid; min-height: calc(100vh - 152px); padding-top: 75px; padding-bottom: 90px; grid-template-columns: 1.05fr 0.75fr; align-items: center; gap: 100px; }
.redeem-copy h1 { margin-bottom: 28px; font-size: clamp(52px, 6vw, 75px); line-height: 0.98; letter-spacing: -0.055em; }
.redeem-copy h1 em { color: var(--primary); font-style: normal; }
.redeem-steps { display: flex; margin-top: 38px; flex-wrap: wrap; gap: 15px; }
.redeem-steps span { display: flex; align-items: center; gap: 8px; color: var(--ink-soft); font-size: 13px; font-weight: 700; }
.redeem-steps i { display: grid; width: 26px; height: 26px; place-items: center; color: var(--primary-dark); font-size: 10px; font-weight: 900; font-style: normal; background: var(--primary-light); border-radius: 50%; }
.redeem-card { padding: 40px; background: white; border: 1px solid var(--line); border-radius: 27px; box-shadow: var(--shadow); }
.ticket-icon { display: grid; width: 52px; height: 52px; margin-bottom: 19px; place-items: center; color: var(--primary-dark); background: var(--primary-light); border-radius: 15px; }
.ticket-icon .icon { width: 26px; height: 26px; }
.redeem-card h2 { margin-bottom: 25px; font-size: 30px; }
.code-field { margin-top: 24px; }
.code-field input { color: var(--primary-dark); font-weight: 900; letter-spacing: 0.06em; text-transform: uppercase; }
.signed-in-redemption { display: flex; margin-bottom: 24px; padding: 15px; align-items: center; gap: 12px; background: var(--canvas); border-radius: 14px; }
.signed-in-redemption div { display: grid; gap: 3px; }
.signed-in-redemption small { color: var(--muted); }
.login-form { margin: 24px 0 18px; }
.auth-divider { display: flex; margin: 24px 0 8px !important; align-items: center; color: var(--muted); font-size: 10px; text-transform: uppercase; gap: 12px; }
.auth-divider::before, .auth-divider::after { height: 1px; flex: 1; content: ""; background: var(--line); }

.admin-hero-content, .admin-sales-hero > div { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.button-light { color: var(--primary-dark); background: white; border-color: white; }
.button-light:hover { color: white; background: transparent; border-color: white; }
.admin-sales-hero { padding: 58px 0 64px; }
.admin-sales-hero .back-link { display: inline-block; margin-bottom: 28px; }
.back-link-light { color: #d5f1fb; }
.admin-sales-hero h1 { font-size: clamp(40px, 4.7vw, 59px); }
.sales-admin { padding: 46px 0 110px; }
.sales-kpis { display: grid; margin-bottom: 54px; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.sales-kpis article { display: grid; padding: 21px; background: white; border: 1px solid var(--line); border-radius: 17px; gap: 9px; }
.sales-kpis span { color: var(--muted); font-size: 11px; font-weight: 800; text-transform: uppercase; }
.sales-kpis strong { font-size: 34px; }
.sales-admin-heading { display: flex; margin-bottom: 22px; align-items: end; justify-content: space-between; }
.sales-admin-heading h2 { margin-bottom: 0; font-size: 34px; }
.sales-admin-heading > p { color: var(--muted); }
.order-list { display: grid; gap: 17px; }
.order-card { padding: 25px; background: white; border: 1px solid var(--line); border-left: 5px solid var(--primary); border-radius: 19px; box-shadow: 0 10px 28px rgba(15,81,104,0.05); }
.order-card.is-invoiced { border-left-color: #e7a824; }
.order-card.is-paid { border-left-color: var(--accent); }
.order-card.is-fulfilled { border-left-color: var(--success); }
.order-card.is-cancelled { border-left-color: var(--muted); opacity: 0.72; }
.order-card-head { display: flex; align-items: start; justify-content: space-between; gap: 25px; }
.order-card-head > div:first-child > small { margin-left: 10px; color: var(--muted); }
.order-card-head h3 { margin: 15px 0 6px; font-size: 25px; }
.order-card-head p { margin-bottom: 0; color: var(--muted); }
.order-card-head a { color: var(--primary-dark); }
.order-total { display: grid; min-width: 180px; text-align: right; gap: 3px; }
.order-total span, .order-total small { color: var(--muted); font-size: 11px; }
.order-total strong { font-size: 28px; }
.order-details { display: flex; margin-top: 20px; padding-top: 17px; flex-wrap: wrap; color: var(--ink-soft); font-size: 12px; border-top: 1px solid var(--line); gap: 17px; }
.order-details span { display: inline-flex; align-items: center; gap: 7px; }
.order-details .icon { width: 15px; height: 15px; color: var(--primary); }
.order-card blockquote { margin: 18px 0 0; padding: 13px 16px; color: var(--ink-soft); background: var(--canvas); border-left: 3px solid var(--line); }
.order-action-form { display: flex; margin-top: 20px; padding: 18px; align-items: end; justify-content: flex-end; background: var(--canvas); border-radius: 14px; gap: 12px; }
.order-action-form label { width: min(320px, 100%); margin: 0; }
.order-action-form.is-compact { align-items: center; justify-content: space-between; }
.order-action-form.is-compact p { margin: 0; color: var(--muted); font-size: 13px; }
.order-codes { margin-top: 20px; border: 1px solid var(--line); border-radius: 14px; }
.order-codes summary { display: flex; padding: 16px 18px; align-items: center; justify-content: space-between; cursor: pointer; }
.order-codes summary span { display: flex; align-items: center; gap: 8px; font-weight: 800; }
.order-codes summary strong { color: var(--success); font-size: 12px; }
.order-code-actions { display: flex; padding: 0 18px 14px; gap: 9px; }
.code-list { max-height: 360px; overflow: auto; border-top: 1px solid var(--line); }
.code-row { display: grid; padding: 11px 18px; grid-template-columns: 34px 1fr auto; align-items: center; border-bottom: 1px solid var(--line); gap: 10px; }
.code-row:last-child { border-bottom: 0; }
.code-row > span, .code-row small { color: var(--muted); font-size: 10px; }
.code-row code { color: var(--primary-dark); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px; font-weight: 800; }
.code-row.is-redeemed { background: #f6faee; }
.code-row.is-redeemed code { color: var(--success); }
.status-badge.is-requested { color: var(--primary-dark); background: var(--primary-light); }
.status-badge.is-invoiced { color: #945f00; background: #fff5d8; }
.status-badge.is-paid, .status-badge.is-fulfilled { color: #527c0d; background: #f0f7df; }
.status-badge.is-cancelled { color: var(--muted); background: #eef1f2; }
.sidebar-access { display: flex; margin: -20px 0 28px; align-items: center; color: var(--muted); font-size: 11px; gap: 7px; }
.sidebar-access .icon, .access-expiry .icon { color: var(--success); }
.personal-invite-note { display: flex; margin-bottom: 22px; padding: 16px; align-items: center; gap: 12px; background: #f1f8e4; border: 1px solid #dceab8; border-radius: 14px; }
.personal-invite-note > span { display: grid; width: 38px; height: 38px; flex: 0 0 auto; place-items: center; color: var(--success); background: white; border-radius: 11px; }
.personal-invite-note div { display: grid; gap: 3px; }
.personal-invite-note small { color: var(--muted); }

/* Rollen- und Nutzerverwaltung */
.user-admin-hero, .clinic-manager-hero { padding: 58px 0 64px; color: white; background: radial-gradient(circle at 82% 18%, rgba(149,193,31,0.22), transparent 24%), linear-gradient(120deg, var(--navy), var(--primary-dark)); }
.user-admin-hero > div, .clinic-manager-hero > div { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.user-admin-hero .back-link { display: inline-block; margin-bottom: 28px; }
.user-admin-hero h1, .clinic-manager-hero h1 { margin-bottom: 10px; font-size: clamp(42px, 5vw, 61px); font-weight: 900; letter-spacing: -0.045em; }
.user-admin-hero p:last-child, .clinic-manager-hero p:last-child { margin-bottom: 0; color: #d3edf6; font-size: 17px; }
.user-admin { padding: 46px 0 110px; }
.user-kpis { margin-bottom: 46px; }
.user-admin-layout { display: grid; grid-template-columns: 350px 1fr; align-items: start; gap: 34px; }
.user-admin-sidebar { position: sticky; top: 24px; display: grid; gap: 18px; }
.manager-invite-form, .organization-summary { padding: 25px; background: white; border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 12px 32px rgba(15,81,104,0.055); }
.manager-invite-form h2 { margin-bottom: 10px; font-size: 25px; }
.manager-invite-form > p:not(.eyebrow):not(.form-note) { color: var(--muted); font-size: 13px; line-height: 1.5; }
.manager-invite-form label { display: grid; margin-bottom: 15px; color: var(--ink-soft); font-size: 12px; font-weight: 800; gap: 7px; }
.manager-invite-form input, .manager-invite-form select { width: 100%; padding: 12px 13px; color: var(--ink); background: white; border: 1px solid var(--line); border-radius: 10px; outline: none; }
.manager-invite-form input:focus, .manager-invite-form select:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(0,158,224,0.1); }
.organization-summary { display: grid; gap: 9px; }
.organization-summary > .eyebrow { margin-bottom: 5px; }
.organization-summary article { display: grid; padding: 12px 0; border-top: 1px solid var(--line); gap: 6px; }
.organization-summary article div { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.organization-summary small, .organization-summary article > span { color: var(--muted); font-size: 10px; }
.user-admin-main { display: grid; gap: 42px; }
.pending-manager-invites { padding: 23px; background: #fffaf0; border: 1px solid #f0dfb4; border-radius: 20px; }
.pending-manager-invites > article { display: flex; padding: 17px 0; align-items: center; justify-content: space-between; border-top: 1px solid #ebdfc4; gap: 20px; }
.pending-manager-invites h3 { margin: 10px 0 4px; font-size: 19px; }
.pending-manager-invites p { margin-bottom: 3px; color: var(--ink-soft); }
.pending-manager-invites small { color: var(--muted); }
.user-list { display: grid; gap: 11px; }
.user-card { display: grid; padding: 20px; background: white; border: 1px solid var(--line); border-radius: 17px; grid-template-columns: minmax(260px, 1.2fr) minmax(190px, 0.8fr) auto; align-items: center; gap: 24px; }
.user-card.is-disabled { opacity: 0.68; background: #f7f8f8; }
.user-identity { display: flex; align-items: center; gap: 14px; }
.user-identity h3 { margin-bottom: 3px; font-size: 18px; }
.user-identity p { margin-bottom: 9px; color: var(--muted); font-size: 12px; }
.role-tags { display: flex; flex-wrap: wrap; gap: 5px; }
.role-tag { display: inline-flex; padding: 4px 7px; color: var(--muted); font-size: 9px; font-weight: 900; text-transform: uppercase; background: #eef2f4; border-radius: 999px; }
.role-tag.is-academy_admin { color: #fff; background: var(--navy); }
.role-tag.is-organization_admin { color: #527c0d; background: #eef6db; }
.role-tag.is-learner { color: var(--primary-dark); background: var(--primary-light); }
.user-context { display: grid; color: var(--muted); font-size: 11px; gap: 4px; }
.user-context > span { display: inline-flex; align-items: baseline; gap: 4px; }
.user-context > span strong { color: var(--ink); font-size: 17px; }
.user-status { display: grid; justify-items: end; gap: 10px; }
.user-status > small { color: var(--muted); }

/* Klinik-Manager */
.manager-profile { display: flex; padding: 15px 18px; align-items: center; color: var(--navy); background: white; border-radius: 16px; gap: 12px; }
.manager-profile > .icon { width: 26px; height: 26px; color: var(--primary); }
.manager-profile span { display: grid; gap: 3px; }
.manager-profile small { color: var(--muted); }
.clinic-manager { padding: 46px 0 110px; }
.organization-switcher { display: flex; margin-bottom: 24px; padding: 5px; width: max-content; max-width: 100%; overflow-x: auto; background: #e9f3f7; border-radius: 999px; }
.organization-switcher a { padding: 9px 14px; color: var(--muted); font-size: 12px; font-weight: 800; text-decoration: none; border-radius: 999px; white-space: nowrap; }
.organization-switcher a.is-active { color: var(--primary-dark); background: white; box-shadow: 0 4px 12px rgba(15,81,104,0.09); }
.clinic-kpis { margin-bottom: 36px; }
.clinic-manager-grid { display: grid; grid-template-columns: 350px 1fr; align-items: start; gap: 32px; }
.team-invite-form { position: sticky; top: 24px; padding: 27px; background: white; border: 1px solid var(--line); border-radius: 21px; box-shadow: var(--shadow); }
.team-invite-form h2 { margin-bottom: 10px; font-size: 27px; }
.team-invite-form > p:not(.eyebrow):not(.form-note) { color: var(--muted); font-size: 13px; line-height: 1.5; }
.team-invite-form label { display: grid; margin: 22px 0 13px; color: var(--ink-soft); font-size: 12px; font-weight: 800; gap: 7px; }
.team-invite-form textarea { width: 100%; padding: 13px; color: var(--ink); line-height: 1.6; background: white; border: 1px solid var(--line); border-radius: 11px; resize: vertical; outline: none; }
.team-invite-form textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(0,158,224,0.1); }
.license-availability { display: flex; margin-bottom: 18px; align-items: center; justify-content: space-between; gap: 10px; }
.license-availability span { display: flex; align-items: center; color: var(--success); font-size: 12px; font-weight: 800; gap: 6px; }
.license-availability small { color: var(--muted); font-size: 9px; }
.clinic-manager-content { display: grid; gap: 28px; }
.manager-section, .free-code-pool { padding: 24px; background: white; border: 1px solid var(--line); border-radius: 20px; }
.manager-invitation-list, .participant-list { display: grid; gap: 9px; }
.manager-invitation-list article { display: grid; padding: 14px; background: var(--canvas); border-radius: 13px; grid-template-columns: auto 1fr auto; align-items: center; gap: 13px; }
.invite-state { display: grid; width: 38px; height: 38px; place-items: center; color: #97690d; background: #fff4d4; border-radius: 50%; }
.manager-invitation-list p { margin: 3px 0; color: var(--ink-soft); font-size: 12px; }
.manager-invitation-list small { color: var(--muted); font-size: 10px; }
.manager-invitation-list article > div:last-child { display: grid; justify-items: end; gap: 6px; }
.text-action { padding: 3px; color: var(--muted); font-size: 10px; font-weight: 800; background: transparent; border: 0; cursor: pointer; }
.text-action:hover { color: var(--danger); text-decoration: underline; }
.participant-list article { display: grid; padding: 14px 5px; grid-template-columns: auto 1fr 150px; align-items: center; border-bottom: 1px solid var(--line); gap: 13px; }
.participant-list article:last-child { border-bottom: 0; }
.participant-list p { margin: 3px 0; color: var(--muted); font-size: 12px; }
.participant-list small { color: var(--muted); font-size: 10px; }
.participant-progress { display: grid; text-align: right; gap: 6px; }
.participant-progress .progress-track { width: 150px; height: 6px; }
.empty-manager-state { padding: 32px; text-align: center; background: var(--canvas); border-radius: 14px; }
.empty-manager-state p, .empty-note { margin: 6px 0 0; color: var(--muted); font-size: 12px; }
.free-code-pool summary { display: flex; align-items: center; justify-content: space-between; cursor: pointer; }
.free-code-pool summary span { display: flex; align-items: center; font-weight: 800; gap: 8px; }
.free-code-pool > p { margin: 16px 0 8px; color: var(--muted); font-size: 12px; }

/* Aktivierung Klinik-Manager */
.account-invite-layout { display: grid; min-height: calc(100vh - 152px); padding-top: 70px; padding-bottom: 90px; grid-template-columns: 1.05fr 0.72fr; align-items: center; gap: 95px; }
.invitation-symbol { display: grid; width: 62px; height: 62px; margin-bottom: 25px; place-items: center; color: var(--primary-dark); background: var(--primary-light); border-radius: 18px; }
.invitation-symbol .icon { width: 31px; height: 31px; }
.account-invite-copy h1 { margin-bottom: 26px; font-size: clamp(48px, 5.5vw, 70px); line-height: 1; letter-spacing: -0.05em; }
.role-boundaries { display: grid; margin-top: 30px; gap: 12px; }
.role-boundaries span { display: flex; align-items: center; color: var(--ink-soft); gap: 9px; }
.role-boundaries .icon { color: var(--success); }
.invited-identity { display: grid; margin: 24px 0; padding: 17px; background: var(--canvas); border-radius: 14px; gap: 4px; }
.invited-identity span, .invited-identity small { color: var(--muted); }

.auth-layout { display: grid; min-height: calc(100vh - 150px); padding: 80px 0; grid-template-columns: 1.05fr 0.75fr; align-items: center; gap: 90px; }
.auth-copy { max-width: 670px; }
.auth-benefits { display: grid; margin-top: 34px; gap: 14px; }
.auth-benefits span { display: flex; align-items: center; gap: 10px; color: var(--ink-soft); }
.auth-benefits .icon { color: var(--success); }
.auth-card { padding: clamp(28px, 4vw, 44px); background: white; border: 1px solid var(--line); border-radius: 25px; box-shadow: var(--shadow); }
.auth-card h2 { margin: 18px 0 10px; font-size: 29px; }
.auth-card > p { color: var(--muted); line-height: 1.55; }
.local-badge, .status-badge { display: inline-flex; padding: 6px 10px; color: var(--primary-dark); font-size: 11px; font-weight: 800; letter-spacing: 0.07em; text-transform: uppercase; background: var(--primary-light); border-radius: 999px; }
.demo-profile { display: flex; margin: 28px 0; padding: 17px; align-items: center; gap: 13px; background: var(--canvas); border-radius: 16px; }
.demo-profile div { display: grid; gap: 4px; }
.demo-profile span:last-child { color: var(--muted); font-size: 12px; }
.auth-note { margin: 18px 0 0 !important; font-size: 12px; text-align: center; }

.dashboard-hero, .admin-hero { padding: 64px 0 70px; color: white; background: linear-gradient(120deg, var(--navy), var(--primary-dark) 70%, var(--primary)); }
.dashboard-hero h1, .admin-hero h1 { margin-bottom: 10px; font-size: clamp(42px, 5vw, 60px); font-weight: 900; letter-spacing: -0.04em; }
.dashboard-hero p:last-child, .admin-hero p:last-child { margin-bottom: 0; color: #d5f1fb; font-size: 17px; }
.dashboard { padding: 60px 0 100px; }
.learning-list { display: grid; gap: 24px; }
.learning-card { display: grid; min-height: 310px; overflow: hidden; background: white; border: 1px solid var(--line); border-radius: 24px; box-shadow: 0 12px 36px rgba(24, 58, 69, 0.06); grid-template-columns: 310px 1fr; }
.learning-card-content { padding: 34px 38px; }
.progress-block { max-width: 540px; margin: 28px 0; }
.progress-block > div:first-child, .sidebar-progress > div:first-child { display: flex; margin-bottom: 9px; justify-content: space-between; color: var(--muted); font-size: 13px; }
.progress-block strong, .sidebar-progress strong { color: var(--ink); }
.progress-track { height: 8px; overflow: hidden; background: #e6f1f6; border-radius: 999px; }
.progress-track span { display: block; height: 100%; background: linear-gradient(90deg, var(--primary), var(--accent)); border-radius: inherit; transition: width 300ms ease; }

.learning-shell { display: grid; min-height: calc(100vh - 78px); grid-template-columns: minmax(290px, 350px) 1fr; }
.course-sidebar { padding: 36px 28px 60px; background: white; border-right: 1px solid var(--line); }
.course-sidebar .back-link { display: inline-block; margin-bottom: 42px; color: var(--muted); font-size: 13px; }
.course-sidebar h1 { margin-bottom: 28px; font-size: 27px; font-weight: 900; line-height: 1.2; }
.sidebar-progress { margin-bottom: 34px; }
.module-list { display: grid; gap: 7px; }
.module-link { display: flex; padding: 12px; align-items: center; gap: 12px; text-decoration: none; border: 1px solid transparent; border-radius: 14px; }
.module-link:hover { background: var(--canvas); }
.module-link.is-active { background: var(--primary-light); border-color: #bde6f5; }
.module-link > span:last-child { display: grid; min-width: 0; gap: 3px; }
.module-link small { color: var(--muted); font-size: 10px; font-weight: 750; letter-spacing: 0.07em; text-transform: uppercase; }
.module-link strong { overflow: hidden; font-size: 13px; line-height: 1.3; text-overflow: ellipsis; }
.module-state { display: grid; width: 34px; height: 34px; flex: 0 0 auto; place-items: center; color: var(--muted); background: white; border: 1px solid var(--line); border-radius: 50%; }
.module-state .icon { width: 16px; height: 16px; }
.module-state.is-complete { color: white; background: var(--success); border-color: var(--success); }
.lesson-area { min-width: 0; padding: clamp(28px, 5vw, 68px); }
.video-shell { overflow: hidden; background: #0c1c21; border-radius: 22px; box-shadow: var(--shadow); }
.video-shell video { display: block; width: 100%; max-height: 68vh; aspect-ratio: 16 / 9; background: #0c1c21; }
.lesson-copy, .text-lesson { max-width: 820px; margin: 38px auto 0; }
.lesson-copy h2, .text-lesson h2 { margin-bottom: 16px; font-size: clamp(34px, 4vw, 48px); font-weight: 900; letter-spacing: -0.04em; }
.lesson-copy > p:not(.eyebrow), .lesson-lede { color: var(--muted); font-size: 18px; line-height: 1.65; }
.learning-hint { display: flex; margin-top: 28px; padding: 17px 19px; align-items: flex-start; gap: 11px; color: var(--ink-soft); font-size: 13px; line-height: 1.5; background: var(--primary-light); border-radius: 14px; }
.learning-hint .icon { flex: 0 0 auto; color: var(--primary); }
.text-lesson { margin-top: 40px; }
.lesson-body { margin: 36px 0; padding: clamp(25px, 5vw, 48px); font-size: 21px; line-height: 1.7; background: white; border: 1px solid var(--line); border-radius: 22px; }
.completed-callout { display: inline-flex; padding: 13px 17px; align-items: center; gap: 9px; color: var(--success); font-weight: 750; background: #f0f7df; border-radius: 999px; }
.lesson-actions { display: flex; margin-top: 28px; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; }
.learning-slide, .quiz-lesson { max-width: 920px; }
.slide-heading { display: grid; grid-template-columns: 1fr auto; align-items: start; gap: 32px; }
.slide-heading .lesson-lede { max-width: 720px; margin-bottom: 0; }
.slide-number { color: rgba(0, 123, 176, 0.16); font-size: clamp(58px, 8vw, 92px); font-weight: 900; line-height: 0.85; letter-spacing: -0.07em; }
.slide-points { display: grid; margin: 38px 0 26px; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.slide-point { display: flex; min-height: 150px; padding: 23px; align-items: flex-start; gap: 15px; background: white; border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 9px 28px rgba(15, 81, 104, 0.045); }
.slide-point > span { display: grid; width: 31px; height: 31px; flex: 0 0 auto; place-items: center; color: var(--primary-dark); font-size: 10px; font-weight: 900; background: var(--primary-light); border-radius: 50%; }
.slide-point h3 { margin: 3px 0 8px; font-size: 17px; line-height: 1.25; }
.slide-point p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.58; }
.interaction-label { margin: 0 0 10px; color: var(--primary-dark); font-size: 10px; font-weight: 900; letter-spacing: 0.11em; text-transform: uppercase; }
.slide-path { position: relative; display: grid; margin: 42px 0 28px; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.slide-path::before { position: absolute; top: 29px; right: 10%; left: 10%; height: 2px; content: ""; background: linear-gradient(90deg, var(--primary), var(--accent)); }
.path-stop { position: relative; z-index: 1; min-height: 220px; padding: 76px 19px 20px; background: white; border: 1px solid var(--line); border-radius: 70px 70px 18px 18px; box-shadow: 0 12px 30px rgba(15, 81, 104, 0.055); }
.path-stop:nth-child(even) { margin-top: 28px; }
.path-stop > span { position: absolute; top: 7px; left: 50%; display: grid; width: 46px; height: 46px; place-items: center; color: white; background: var(--primary); border: 5px solid var(--canvas); border-radius: 50%; transform: translateX(-50%); }
.path-stop:last-child > span { background: var(--accent); }
.path-stop > span .icon { width: 16px; height: 16px; }
.path-stop small { display: block; margin-bottom: 8px; color: var(--primary-dark); font-size: 9px; font-weight: 900; letter-spacing: 0.08em; text-transform: uppercase; }
.path-stop h3 { margin-bottom: 8px; font-size: 16px; }
.path-stop p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.5; }
.slide-flow { position: relative; display: grid; margin: 39px 0 28px; grid-template-columns: 1fr 1fr; gap: 14px 44px; }
.slide-flow::before { position: absolute; top: 32px; bottom: 32px; left: 50%; width: 1px; content: ""; background: linear-gradient(var(--primary), var(--accent)); }
.flow-step { display: flex; min-height: 142px; padding: 21px; align-items: flex-start; gap: 14px; background: white; border: 1px solid var(--line); border-radius: 18px; }
.flow-step:nth-child(even) { transform: translateY(35px); }
.flow-step > span { display: grid; width: 36px; height: 36px; flex: 0 0 auto; place-items: center; color: white; font-size: 11px; font-weight: 900; background: var(--primary); border-radius: 12px; }
.flow-step:nth-child(3) > span, .flow-step:nth-child(4) > span { background: var(--accent); }
.flow-step small { color: var(--primary-dark); font-size: 9px; font-weight: 900; letter-spacing: 0.09em; text-transform: uppercase; }
.flow-step h3 { margin: 6px 0 7px; font-size: 16px; }
.flow-step p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.5; }
.evidence-board { display: grid; margin: 39px 0 28px; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.evidence-tile { display: grid; min-height: 190px; padding: 25px; grid-template-columns: auto 1fr; align-items: start; gap: 22px; color: white; background: linear-gradient(145deg, var(--navy), var(--primary-dark)); border-radius: 21px; box-shadow: 0 14px 32px rgba(15, 81, 104, 0.14); }
.evidence-tile:nth-child(2), .evidence-tile:nth-child(3) { color: var(--ink); background: white; border: 1px solid var(--line); box-shadow: none; }
.evidence-tile > strong { font-size: clamp(36px, 5vw, 54px); font-weight: 900; line-height: 0.9; letter-spacing: -0.06em; }
.evidence-tile:nth-child(2) > strong, .evidence-tile:nth-child(3) > strong { color: var(--primary); }
.evidence-tile h3 { margin-bottom: 8px; font-size: 16px; }
.evidence-tile p { margin: 0; color: rgba(255, 255, 255, 0.75); font-size: 13px; line-height: 1.52; }
.evidence-tile:nth-child(2) p, .evidence-tile:nth-child(3) p { color: var(--muted); }
.slide-tabs { margin: 39px 0 28px; }
.slide-tab-list { display: flex; margin-bottom: 12px; padding: 5px; gap: 5px; background: #e8f3f7; border-radius: 999px; }
.slide-tab-list button { min-height: 43px; flex: 1; padding: 7px 12px; color: var(--ink-soft); font-size: 12px; font-weight: 800; background: transparent; border: 0; border-radius: 999px; cursor: pointer; }
.slide-tab-list button:hover { color: var(--primary-dark); }
.slide-tab-list button.is-active { color: white; background: var(--primary-dark); box-shadow: 0 7px 16px rgba(0, 123, 176, 0.18); }
.slide-tab-panel { display: grid; min-height: 255px; padding: clamp(28px, 5vw, 48px); grid-template-columns: auto 1fr; align-items: center; gap: 30px; color: white; background: radial-gradient(circle at 90% 15%, rgba(149, 193, 31, 0.9) 0 52px, transparent 53px), linear-gradient(135deg, var(--navy), var(--primary-dark)); border-radius: 22px; animation: panelIn 180ms ease-out; }
.slide-tab-panel[hidden] { display: none; }
.slide-tab-panel > span { color: rgba(255, 255, 255, 0.2); font-size: 84px; font-weight: 900; letter-spacing: -0.08em; }
.slide-tab-panel .eyebrow { color: #bceafa; }
.slide-tab-panel h3 { margin-bottom: 12px; font-size: 29px; }
.slide-tab-panel p:last-child { max-width: 610px; margin: 0; color: #d8edf4; font-size: 17px; line-height: 1.65; }
@keyframes panelIn { from { opacity: 0; transform: translateY(5px); } }
.slide-reveals { display: grid; margin: 39px 0 28px; gap: 9px; }
.reveal-heading { display: flex; margin-bottom: 2px; align-items: center; justify-content: space-between; }
.reveal-heading .interaction-label { margin: 0; }
.reveal-heading > span { color: var(--primary); transform: rotate(90deg); }
.reveal-card { overflow: hidden; background: white; border: 1px solid var(--line); border-radius: 15px; transition: border-color 150ms ease, box-shadow 150ms ease; }
.reveal-card[open] { border-color: #abdced; box-shadow: 0 10px 28px rgba(15, 81, 104, 0.07); }
.reveal-card summary { display: grid; min-height: 66px; padding: 14px 17px; grid-template-columns: auto 1fr auto; align-items: center; gap: 13px; cursor: pointer; list-style: none; }
.reveal-card summary::-webkit-details-marker { display: none; }
.reveal-card summary > span { display: grid; width: 34px; height: 34px; place-items: center; color: var(--primary-dark); font-size: 10px; font-weight: 900; background: var(--primary-light); border-radius: 50%; }
.reveal-card summary i { color: var(--primary); font-size: 24px; font-style: normal; transition: transform 150ms ease; }
.reveal-card[open] summary i { transform: rotate(45deg); }
.reveal-card > p { margin: 0; padding: 0 64px 20px; color: var(--muted); font-size: 14px; line-height: 1.65; }
.scenario-points .slide-points { margin-bottom: 18px; }
.scenario-points .slide-point { min-height: 125px; }
.scenario-check { margin: 20px 0 28px; padding: clamp(22px, 4vw, 32px); color: white; background: linear-gradient(135deg, var(--navy), var(--primary-dark)); border-radius: 22px; }
.scenario-check .interaction-label { color: #bceafa; }
.scenario-copy h3 { max-width: 740px; margin-bottom: 20px; font-size: 22px; line-height: 1.4; }
.scenario-options { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.scenario-options button { min-height: 62px; padding: 13px 16px; color: var(--ink-soft); font-size: 13px; font-weight: 750; line-height: 1.4; text-align: left; background: white; border: 2px solid transparent; border-radius: 13px; cursor: pointer; }
.scenario-options button:hover { border-color: #83cce8; }
.scenario-options button.is-selected { border-color: #ffc46d; }
.scenario-options button.is-correct { color: #466c0a; background: #f2f8e3; border-color: var(--accent); }
.scenario-feedback { display: none; margin: 14px 0 0; padding: 11px 13px; font-size: 13px; line-height: 1.5; border-radius: 10px; }
.scenario-feedback.is-correct, .scenario-feedback.is-retry { display: block; }
.scenario-feedback.is-correct { color: #efffd3; background: rgba(149, 193, 31, 0.24); }
.scenario-feedback.is-retry { color: #fff0d7; background: rgba(255, 171, 64, 0.19); }
.practice-checklist { display: grid; margin: 39px 0 28px; gap: 9px; }
.checklist-heading { display: grid; margin-bottom: 8px; grid-template-columns: 1fr 0.75fr; align-items: end; gap: 24px; }
.checklist-heading .interaction-label { margin-bottom: 5px; }
.checklist-heading strong { font-size: 15px; }
.checklist-meter { height: 8px; overflow: hidden; background: #e6f1f6; border-radius: 99px; }
.checklist-meter span { display: block; width: 0; height: 100%; background: linear-gradient(90deg, var(--primary), var(--accent)); border-radius: inherit; transition: width 180ms ease; }
.practice-checklist > button { display: grid; width: 100%; padding: 17px 19px; grid-template-columns: auto 1fr; align-items: start; gap: 14px; color: var(--ink); text-align: left; background: white; border: 1px solid var(--line); border-radius: 15px; cursor: pointer; transition: 150ms ease; }
.practice-checklist > button:hover { border-color: #abdced; transform: translateX(2px); }
.practice-checklist > button.is-checked { background: #f4f9e8; border-color: #cfe49a; }
.check-marker { display: grid; width: 31px; height: 31px; place-items: center; color: #a9bdc6; background: var(--canvas); border: 1px solid var(--line); border-radius: 50%; }
.check-marker .icon { width: 15px; height: 15px; }
.is-checked .check-marker { color: white; background: var(--success); border-color: var(--success); }
.practice-checklist button > span:last-child { display: grid; gap: 4px; }
.practice-checklist button small { color: var(--primary-dark); font-size: 9px; font-weight: 900; letter-spacing: 0.09em; text-transform: uppercase; }
.practice-checklist button strong { font-size: 16px; }
.practice-checklist button em { color: var(--muted); font-size: 13px; font-style: normal; font-weight: 400; line-height: 1.5; }
.practice-checklist.is-complete .checklist-heading strong { color: var(--success); }
.slide-callout { display: flex; margin: 20px 0 0; padding: 21px 23px; align-items: flex-start; gap: 14px; color: var(--ink-soft); background: var(--primary-light); border-left: 4px solid var(--primary); border-radius: 4px 16px 16px 4px; }
.slide-callout > .icon { flex: 0 0 auto; color: var(--primary-dark); }
.slide-callout strong { display: block; margin-bottom: 6px; color: var(--ink); }
.slide-callout p { margin: 0; font-size: 14px; line-height: 1.58; }
.slide-callout.is-warning { background: #fff4e8; border-left-color: #e48a25; }
.slide-callout.is-warning > .icon { color: #b86200; }
.slide-callout.is-practice { background: #f2f8e3; border-left-color: var(--accent); }
.slide-callout.is-practice > .icon { color: var(--success); }
.slide-source { margin: 15px 3px 0; color: var(--muted); font-size: 11px; line-height: 1.5; }
.quiz-intro { display: grid; grid-template-columns: 1fr auto; align-items: start; gap: 32px; }
.quiz-threshold { display: grid; min-width: 120px; padding: 20px; place-items: center; background: var(--primary-light); border-radius: 18px; }
.quiz-threshold strong { color: var(--primary-dark); font-size: 32px; font-weight: 900; }
.quiz-threshold span { color: var(--muted); font-size: 11px; }
.quiz-previous { margin: 22px 0 0; padding: 13px 16px; color: var(--ink-soft); background: #fff8e9; border-radius: 11px; }
.quiz-form { display: grid; margin-top: 38px; gap: 17px; }
.quiz-question { margin: 0; padding: 25px; background: white; border: 1px solid var(--line); border-radius: 18px; }
.quiz-question legend { width: 100%; padding: 0; color: var(--ink); font-size: 17px; font-weight: 800; line-height: 1.45; }
.quiz-question legend span { display: block; margin-bottom: 7px; color: var(--primary-dark); font-size: 10px; letter-spacing: 0.09em; text-transform: uppercase; }
.quiz-options { display: grid; margin-top: 17px; gap: 9px; }
.quiz-options label { display: flex; margin: 0; align-items: stretch; color: var(--ink-soft); font-size: 14px; font-weight: 500; cursor: pointer; }
.quiz-options input { position: absolute; opacity: 0; pointer-events: none; }
.quiz-options label span { display: flex; width: 100%; min-height: 46px; padding: 11px 14px; align-items: center; line-height: 1.45; background: var(--canvas); border: 1px solid var(--line); border-radius: 11px; transition: 140ms ease; }
.quiz-options label span::before { width: 17px; height: 17px; margin-right: 10px; flex: 0 0 auto; content: ""; background: white; border: 1.5px solid #a9bdc6; border-radius: 50%; box-shadow: inset 0 0 0 4px white; }
.quiz-options label:hover span { border-color: #8acde8; }
.quiz-options input:checked + span { color: var(--primary-dark); background: var(--primary-light); border-color: var(--primary); }
.quiz-options input:checked + span::before { background: var(--primary); border-color: var(--primary); }
.quiz-options input:focus-visible + span { box-shadow: 0 0 0 3px rgba(0, 158, 224, 0.16); }
.quiz-submit { display: flex; margin-top: 8px; padding: 20px 0; align-items: center; justify-content: space-between; gap: 24px; }
.quiz-submit p { max-width: 520px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.5; }
.quiz-result { display: grid; padding: clamp(23px, 4vw, 36px); grid-template-columns: auto 1fr; align-items: center; gap: 28px; background: #f2f8e3; border: 1px solid #d9e9b3; border-radius: 22px; }
.quiz-result.is-retry { background: #fff8e9; border-color: #f0d89f; }
.quiz-score { display: flex; min-width: 125px; color: var(--success); font-size: 64px; font-weight: 900; line-height: 0.9; letter-spacing: -0.06em; }
.quiz-result.is-retry .quiz-score { color: #a9630b; }
.quiz-score small { margin: 6px 0 0 3px; font-size: 22px; letter-spacing: 0; }
.quiz-result h2 { margin-bottom: 8px; font-size: clamp(28px, 4vw, 40px); }
.quiz-result p:last-child { margin: 0; color: var(--ink-soft); line-height: 1.55; }
.quiz-review { display: grid; margin-top: 22px; gap: 10px; }
.quiz-review-item { padding: 18px 20px; background: white; border: 1px solid var(--line); border-left: 4px solid var(--success); border-radius: 4px 14px 14px 4px; }
.quiz-review-item.is-incorrect { border-left-color: #c87316; }
.quiz-review-heading { display: flex; align-items: flex-start; gap: 10px; }
.quiz-review-heading > span { display: grid; width: 23px; height: 23px; flex: 0 0 auto; place-items: center; color: white; font-weight: 900; background: var(--success); border-radius: 50%; }
.quiz-review-item.is-incorrect .quiz-review-heading > span { background: #c87316; }
.quiz-review-heading .icon { width: 14px; height: 14px; }
.quiz-review-item p { margin: 10px 0 0 33px; color: var(--muted); font-size: 13px; line-height: 1.55; }

.admin-layout { display: grid; padding: 60px 0 100px; grid-template-columns: minmax(300px, 0.7fr) 1.3fr; align-items: start; gap: 42px; }
.admin-form { position: sticky; top: 24px; padding: 30px; background: white; border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 12px 36px rgba(24, 58, 69, 0.06); }
.admin-form h2 { margin-bottom: 26px; }
.admin-form label { display: grid; margin-bottom: 18px; color: var(--ink-soft); font-size: 13px; font-weight: 750; gap: 7px; }
.admin-form input, .admin-form textarea { width: 100%; padding: 13px 14px; color: var(--ink); background: var(--canvas); border: 1px solid var(--line); border-radius: 11px; outline: none; resize: vertical; }
.admin-form input:focus, .admin-form textarea:focus { background: white; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(0, 158, 224, 0.12); }
.form-note { margin: 16px 0 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
.admin-course-list { display: grid; gap: 13px; }
.admin-course-row { display: flex; padding: 25px; align-items: center; justify-content: space-between; gap: 24px; background: white; border: 1px solid var(--line); border-radius: 18px; }
.admin-course-row h3 { margin: 12px 0 8px; }
.admin-course-row p { max-width: 580px; margin-bottom: 10px; color: var(--muted); line-height: 1.5; }
.admin-course-row small { color: var(--muted); }
.admin-row-actions { display: flex; flex: 0 0 auto; align-items: center; gap: 9px; }
.status-badge.is-draft { color: #845c12; background: #f8edcf; }
.status-badge.is-archived { color: var(--muted); background: #e8ecea; }

.editor-hero { padding: 50px 0; color: white; background: linear-gradient(135deg, var(--navy), var(--primary-dark) 72%, var(--primary)); }
.editor-hero-inner { display: flex; align-items: flex-end; justify-content: space-between; gap: 36px; }
.editor-hero h1 { max-width: 760px; margin: 18px 0 0; font-size: clamp(38px, 5vw, 58px); font-weight: 900; line-height: 1.05; letter-spacing: -0.04em; }
.editor-publish-note { max-width: 720px; margin: 18px 0 0; color: #d5f1fb; font-size: 13px; line-height: 1.55; }
.back-link-light { color: #d5f1fb; }
.editor-title-row { display: flex; margin-top: 24px; align-items: center; gap: 12px; color: #d5f1fb; font-size: 13px; }
.editor-hero-actions { display: flex; flex: 0 0 auto; align-items: center; gap: 10px; }
.editor-hero-actions .button-secondary { color: white; background: transparent; border-color: rgba(255, 255, 255, 0.36); }
.editor-hero-actions .button-secondary:hover { color: var(--primary-dark); background: white; }
.course-editor { display: grid; padding: 48px 0 100px; grid-template-columns: minmax(290px, 0.68fr) minmax(0, 1.55fr); align-items: start; gap: 34px; }
.editor-settings { display: grid; position: sticky; top: 22px; gap: 18px; }
.editor-panel, .editor-module-card { padding: 27px; background: white; border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 10px 34px rgba(24, 58, 69, 0.05); }
.editor-panel h2, .editor-section-heading h2 { margin-bottom: 22px; font-size: 28px; font-weight: 900; letter-spacing: -0.025em; }
.editor-panel label, .editor-module-form label { display: grid; margin-bottom: 17px; color: var(--ink-soft); font-size: 13px; font-weight: 750; gap: 7px; }
.editor-panel input, .editor-panel textarea, .editor-panel select, .editor-module-form input, .editor-module-form textarea, .editor-module-form select { width: 100%; padding: 12px 13px; color: var(--ink); background: var(--canvas); border: 1px solid var(--line); border-radius: 11px; outline: none; resize: vertical; }
.editor-panel input:focus, .editor-panel textarea:focus, .editor-panel select:focus, .editor-module-form input:focus, .editor-module-form textarea:focus, .editor-module-form select:focus { background: white; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(0, 158, 224, 0.12); }
.access-panel p:not(.eyebrow) { color: var(--muted); font-size: 14px; line-height: 1.6; }
.editor-content { min-width: 0; }
.editor-section-heading { display: flex; margin: 3px 0 24px; align-items: flex-end; justify-content: space-between; gap: 24px; }
.editor-section-heading h2 { margin-bottom: 0; font-size: 35px; }
.editor-section-heading > p { max-width: 270px; margin-bottom: 3px; color: var(--muted); font-size: 13px; line-height: 1.5; text-align: right; }
.editor-module-list { display: grid; gap: 15px; }
.editor-module-heading { display: flex; margin-bottom: 22px; align-items: center; gap: 10px; color: var(--muted); font-size: 12px; font-weight: 750; }
.module-kind { padding: 6px 9px; color: var(--primary-dark); background: var(--primary-light); border-radius: 999px; text-transform: uppercase; letter-spacing: 0.07em; }
.module-kind.is-text { color: #587612; background: #f0f7df; }
.module-kind.is-quiz { color: #7a4b12; background: #fff3dd; }
.module-kind.is-slide { color: #006f9d; background: #e5f5fb; }
.editor-order-actions { display: flex; margin-left: auto; gap: 6px; }
.editor-order-actions button { display: grid; width: 32px; height: 32px; place-items: center; color: var(--ink-soft); background: var(--canvas); border: 1px solid var(--line); border-radius: 9px; cursor: pointer; }
.editor-order-actions button:hover:not(:disabled) { color: white; background: var(--primary); border-color: var(--primary); }
.editor-order-actions button:disabled { opacity: 0.35; cursor: default; }
.editor-field-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 14px; }
.editor-field-grid.three-columns { grid-template-columns: 0.58fr 1fr 1.3fr; }
.editor-card-actions { display: flex; margin-top: 20px; align-items: center; justify-content: space-between; gap: 16px; }
.danger-link { padding: 8px; color: var(--danger); font-size: 12px; font-weight: 750; background: transparent; border: 0; cursor: pointer; }
.danger-link:hover { text-decoration: underline; }
.media-editor { margin: 7px 0 20px; padding: 18px; background: var(--canvas); border: 1px solid var(--line); border-radius: 15px; }
.media-status { display: flex; margin-bottom: 15px; flex-direction: column; color: var(--danger); gap: 4px; }
.media-status.is-ready { color: var(--success); }
.media-status span { color: var(--muted); font-size: 12px; }
.editor-module-form .video-duration-field { max-width: 270px; }
.upload-field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.editor-module-form .file-picker { display: flex; min-height: 43px; margin: 0; padding: 0 15px; align-items: center; justify-content: center; color: white; background: var(--primary); border: 1px solid var(--primary); border-radius: 999px; cursor: pointer; }
.editor-module-form .file-picker:hover { background: var(--primary-dark); }
.editor-module-form .file-picker.secondary { color: var(--primary-dark); background: white; border-color: var(--line); }
.editor-module-form .file-picker.secondary:hover { color: white; background: var(--primary-dark); border-color: var(--primary-dark); }
.file-picker input { position: absolute; width: 1px; height: 1px; overflow: hidden; opacity: 0; pointer-events: none; }
.upload-progress { display: grid; margin-top: 14px; grid-template-columns: 1fr auto; align-items: center; gap: 10px; }
.upload-progress > div { height: 8px; overflow: hidden; background: #e6f1f6; border-radius: 99px; }
.upload-progress span { display: block; width: 0; height: 100%; background: var(--success); transition: width 140ms ease; }
.upload-progress strong { color: var(--muted); font-size: 11px; }
.create-module-panel { margin-top: 24px; }
.empty-editor { padding: 36px; color: var(--muted); text-align: center; background: white; border: 1px dashed var(--line); border-radius: 18px; }
.quiz-editor-summary { margin: 7px 0 20px; padding: 18px; color: var(--ink-soft); background: var(--canvas); border: 1px solid var(--line); border-radius: 15px; }
.quiz-editor-summary > div { display: flex; margin-bottom: 14px; align-items: baseline; justify-content: space-between; gap: 12px; }
.quiz-editor-summary > div span, .quiz-editor-summary > p { color: var(--muted); font-size: 12px; line-height: 1.55; }
.quiz-editor-summary ol { display: grid; margin: 0 0 14px 20px; padding: 0; gap: 7px; font-size: 13px; line-height: 1.45; }
.structured-slide-editor { margin: 7px 0 20px; padding: 21px; background: var(--canvas); border: 1px solid var(--line); border-radius: 16px; }
.slide-editor-intro { display: flex; margin-bottom: 20px; align-items: flex-start; justify-content: space-between; gap: 24px; }
.slide-editor-intro > div { display: flex; align-items: center; gap: 10px; }
.slide-editor-intro > div > strong { font-size: 15px; }
.slide-editor-intro > p { max-width: 330px; margin: 0; color: var(--muted); font-size: 12px; line-height: 1.5; text-align: right; }
.slide-editor-section-heading { display: flex; margin: 24px 0 11px; align-items: center; justify-content: space-between; }
.slide-editor-section-heading > span { color: var(--muted); font-size: 11px; }
.slide-editor-points { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.slide-editor-points fieldset, .slide-callout-editor, .slide-interaction-editor { min-width: 0; margin: 0; padding: 16px; background: white; border: 1px solid var(--line); border-radius: 13px; }
.slide-editor-points legend, .slide-callout-editor legend, .slide-interaction-editor legend { padding: 0 6px; color: var(--primary-dark); font-size: 10px; font-weight: 900; letter-spacing: 0.08em; text-transform: uppercase; }
.slide-editor-points label:last-child, .slide-callout-editor label:last-child { margin-bottom: 0; }
.slide-callout-editor, .slide-interaction-editor { margin: 20px 0; }
.slide-callout-editor .editor-field-grid.three-columns { grid-template-columns: 0.55fr 0.85fr 1.6fr; }
.slide-interaction-editor { border-left: 4px solid var(--primary); }

.loading-screen, .empty-state { display: grid; min-height: 420px; padding: 80px 24px; place-items: center; align-content: center; text-align: center; }
.loading-screen p, .empty-state p { color: var(--muted); }
.spinner { width: 32px; height: 32px; margin-bottom: 16px; border: 3px solid var(--line); border-top-color: var(--primary); border-radius: 50%; animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.toast { position: fixed; z-index: 80; right: 24px; bottom: 24px; max-width: 380px; padding: 14px 18px; color: white; font-weight: 700; background: var(--success); border-radius: 12px; box-shadow: var(--shadow); opacity: 0; pointer-events: none; transform: translateY(20px); transition: 180ms ease; }
.toast[data-tone="error"] { background: var(--danger); }
.toast.is-visible { opacity: 1; transform: translateY(0); }
.legal-page { min-height: 680px; padding: 54px 0 104px; background: radial-gradient(circle at 8% 5%, rgba(0, 158, 224, 0.12), transparent 31%), radial-gradient(circle at 92% 22%, rgba(149, 193, 31, 0.1), transparent 27%), linear-gradient(180deg, #f7fcfe 0%, #ffffff 54%); }
.legal-width { width: min(940px, calc(100% - 48px)); margin-inline: auto; }
.legal-page .back-link { display: inline-block; margin-bottom: 38px; font-size: 13px; }
.legal-heading { max-width: 720px; margin-bottom: 28px; }
.legal-heading h1 { margin-bottom: 13px; font-size: clamp(42px, 6vw, 66px); font-weight: 900; line-height: 1; letter-spacing: -0.045em; }
.legal-heading > p:last-child:not(.eyebrow) { margin-bottom: 0; color: var(--muted); font-size: 13px; }
.legal-nav { display: flex; margin-bottom: 18px; padding: 6px; align-items: center; gap: 4px; background: rgba(255, 255, 255, 0.78); border: 1px solid rgba(217, 229, 236, 0.92); border-radius: 999px; box-shadow: 0 10px 28px rgba(15, 81, 104, 0.05); width: max-content; max-width: 100%; }
.legal-nav a { padding: 10px 15px; color: var(--ink-soft); font-size: 13px; font-weight: 750; text-decoration: none; border-radius: 999px; white-space: nowrap; }
.legal-nav a:hover { color: var(--primary-dark); background: var(--primary-light); }
.legal-nav a[aria-current="page"] { color: white; background: var(--primary-dark); }
.legal-card { padding: clamp(30px, 5vw, 62px); background: rgba(255, 255, 255, 0.96); border: 1px solid rgba(217, 229, 236, 0.94); border-radius: 28px; box-shadow: var(--shadow); }
.legal-content { max-width: 760px; }
.legal-content section { padding: 0 0 30px; }
.legal-content section + section { padding-top: 30px; border-top: 1px solid var(--line); }
.legal-content section:last-child { padding-bottom: 0; }
.legal-content h2 { margin-bottom: 16px; color: var(--ink); font-size: clamp(20px, 2.5vw, 25px); font-weight: 900; letter-spacing: -0.02em; }
.legal-content h3 { margin: 24px 0 8px; color: var(--ink-soft); font-size: 16px; font-weight: 800; }
.legal-content p, .legal-content address { margin-bottom: 15px; color: var(--ink-soft); font-size: 16px; font-style: normal; line-height: 1.75; }
.legal-content p:last-child, .legal-content address:last-child { margin-bottom: 0; }
.legal-content a { color: var(--primary-dark); font-weight: 700; text-underline-offset: 3px; }
.site-footer { display: grid; min-height: 74px; padding: 20px max(24px, calc((100vw - 1160px) / 2)); grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; color: var(--muted); font-size: 12px; background: white; border-top: 1px solid var(--line); }
.site-footer a { color: var(--primary-dark); font-weight: 700; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer-brand { min-width: 0; }
.site-footer-legal { display: flex; align-items: center; justify-content: center; gap: 18px; }
.site-footer-status { justify-self: end; }
.footer-brand { display: inline-flex; align-items: center; gap: 9px; }
.footer-brand img { width: auto; height: 16px; }
.footer-brand strong { padding-left: 9px; color: var(--ink); border-left: 1px solid rgba(0, 158, 224, 0.25); }
.footer-separator { margin: 0 6px; }

@media (max-width: 980px) {
  .sales-hero-grid { grid-template-columns: 1fr 0.8fr; gap: 38px; }
  .clinic-cta-grid { gap: 45px; }
  .sales-form-layout, .redeem-layout { gap: 45px; }
  .license-picker { grid-template-columns: 1fr 1fr; }
  .price-preview { grid-column: 1 / -1; text-align: left; }
  .sales-kpis { grid-template-columns: repeat(2, 1fr); }
  .user-admin-layout, .clinic-manager-grid { grid-template-columns: 300px 1fr; gap: 22px; }
  .user-card { grid-template-columns: 1fr auto; }
  .user-context { grid-column: 1; grid-row: 2; }
  .user-status { grid-column: 2; grid-row: 1 / span 2; }
  .account-invite-layout { gap: 48px; }
  .hero { min-height: auto; padding-top: 70px; grid-template-columns: 1fr; }
  .hero-copy { max-width: 760px; }
  .hero-art { width: min(580px, 100%); min-height: 410px; margin-inline: auto; }
  .auth-layout { grid-template-columns: 1fr 0.8fr; gap: 40px; }
  .learning-shell { grid-template-columns: 290px 1fr; }
  .lesson-area { padding: 34px; }
  .admin-layout { grid-template-columns: 1fr; }
  .admin-form { position: static; }
  .course-editor { grid-template-columns: 1fr; }
  .editor-settings { position: static; grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .page-width, .topbar-inner { width: min(100% - 28px, 1160px); }
  .topbar-inner { min-height: 68px; }
  .brand-logo { height: 25px; }
  .brand-divider { height: 22px; }
  .brand-product { font-size: 13px; }
  .primary-nav > a:not(.button) { display: none; }
  .nav-user-name { display: none; }
  .hero { padding: 58px 0 64px; }
  .sales-hero-grid { min-height: auto; padding-top: 58px; padding-bottom: 68px; grid-template-columns: 1fr; }
  .sales-hero-copy h1 { font-size: clamp(44px, 13vw, 62px); }
  .flagship-card { transform: none; }
  .positioning-value { padding: 70px 0; }
  .value-grid, .clinic-cta-grid, .individual-hero-grid, .sales-form-layout, .sales-form-layout.is-individual, .redeem-layout { grid-template-columns: 1fr; }
  .clinic-cta-section { padding: 68px 0; }
  .clinic-cta-action, .closing-cta > div { align-items: stretch; flex-direction: column; }
  .clinic-cta-action .button { width: 100%; }
  .secondary-course-list article { grid-template-columns: 1fr; }
  .secondary-course-list .course-visual { min-height: 190px; }
  .closing-cta { padding: 80px 0; }
  .sales-page-hero { padding: 46px 0 55px; }
  .sales-page-hero .back-link, .individual-hero .back-link { margin-bottom: 38px; }
  .sales-form-layout { padding-top: 55px; padding-bottom: 75px; gap: 46px; }
  .sales-form-copy { position: static; }
  .sales-form-grid.two-columns, .sales-form-grid.address-grid, .license-picker { grid-template-columns: 1fr; }
  .price-preview { grid-column: auto; }
  .individual-hero { padding: 52px 0; }
  .individual-hero-grid { gap: 38px; }
  .redeem-layout { padding-top: 52px; gap: 42px; }
  .confirmation-page > div:last-child { flex-direction: column; }
  .confirmation-summary { min-width: 0; width: 100%; }
  .admin-hero-content, .admin-sales-hero > div, .order-card-head, .order-action-form, .order-action-form.is-compact { align-items: stretch; flex-direction: column; }
  .user-admin-hero > div, .clinic-manager-hero > div { align-items: stretch; flex-direction: column; }
  .user-admin-layout, .clinic-manager-grid, .account-invite-layout { grid-template-columns: 1fr; }
  .user-admin-sidebar, .team-invite-form { position: static; }
  .user-card { grid-template-columns: 1fr; }
  .user-context, .user-status { grid-column: auto; grid-row: auto; }
  .user-status { justify-items: start; }
  .pending-manager-invites > article { align-items: stretch; flex-direction: column; }
  .manager-profile { width: 100%; }
  .manager-invitation-list article { grid-template-columns: auto 1fr; }
  .manager-invitation-list article > div:last-child { grid-column: 2; justify-items: stretch; }
  .participant-list article { grid-template-columns: auto 1fr; }
  .participant-progress { grid-column: 2; text-align: left; }
  .participant-progress .progress-track { width: 100%; }
  .account-invite-layout { padding-top: 52px; gap: 42px; }
  .admin-sales-hero .button-light { width: 100%; }
  .sales-kpis { grid-template-columns: 1fr 1fr; }
  .order-total { text-align: left; }
  .order-action-form label { width: 100%; }
  .order-code-actions { flex-direction: column; }
  .code-row { grid-template-columns: 28px 1fr; }
  .code-row small { grid-column: 2; }
  .hero h1, .auth-copy h1 { font-size: clamp(44px, 14vw, 64px); }
  .hero-art { min-height: 360px; }
  .hero-card-main { top: 95px; right: 12px; width: 80%; }
  .hero-card-video { left: 0; }
  .hero-card-certificate { right: 0; bottom: 35px; }
  .trust-row, .hero-actions { align-items: flex-start; flex-direction: column; }
  .catalog-section { padding: 70px 0; }
  .section-heading { align-items: flex-start; flex-direction: column; }
  .course-grid, .principles, .auth-layout { grid-template-columns: 1fr; }
  .principles { padding: 64px 0; }
  .auth-layout { padding: 55px 0; gap: 30px; }
  .learning-card { grid-template-columns: 1fr; }
  .course-visual.is-compact { min-height: 190px; }
  .learning-card-content { padding: 26px; }
  .learning-shell { display: block; }
  .course-sidebar { padding: 26px 18px; border-right: 0; border-bottom: 1px solid var(--line); }
  .course-sidebar .back-link { margin-bottom: 26px; }
  .module-list { display: flex; padding-bottom: 6px; overflow-x: auto; scroll-snap-type: x proximity; }
  .module-link { min-width: 225px; scroll-snap-align: center; }
  .lesson-area { padding: 24px 14px 54px; }
  .video-shell { border-radius: 14px; }
  .lesson-copy, .text-lesson { margin-top: 28px; padding-inline: 8px; }
  .slide-heading, .quiz-intro, .quiz-result { grid-template-columns: 1fr; }
  .slide-number { display: none; }
  .slide-points { grid-template-columns: 1fr; }
  .slide-point { min-height: 0; }
  .slide-path { grid-template-columns: 1fr; gap: 9px; }
  .slide-path::before { top: 18px; bottom: 18px; left: 22px; width: 2px; height: auto; }
  .path-stop, .path-stop:nth-child(even) { min-height: 0; margin: 0; padding: 19px 18px 19px 70px; border-radius: 16px; }
  .path-stop > span { top: 18px; left: 22px; width: 40px; height: 40px; border-width: 4px; transform: translateX(-50%); }
  .slide-flow { grid-template-columns: 1fr; gap: 9px; }
  .slide-flow::before { display: none; }
  .flow-step:nth-child(even) { transform: none; }
  .evidence-board { grid-template-columns: 1fr; }
  .evidence-tile { min-height: 0; grid-template-columns: 1fr; }
  .slide-tab-list { padding: 0 0 7px; overflow-x: auto; background: transparent; border-radius: 0; }
  .slide-tab-list button { min-width: 130px; background: #e8f3f7; }
  .slide-tab-panel { min-height: 0; grid-template-columns: 1fr; }
  .slide-tab-panel > span { font-size: 54px; }
  .reveal-card > p { padding-right: 20px; padding-left: 64px; }
  .scenario-options, .checklist-heading { grid-template-columns: 1fr; }
  .quiz-threshold { width: max-content; min-width: 110px; }
  .quiz-submit, .lesson-actions { align-items: stretch; flex-direction: column; }
  .quiz-submit .button, .lesson-actions .button { width: 100%; }
  .admin-course-row { align-items: flex-start; flex-direction: column; }
  .admin-row-actions, .editor-hero-inner, .editor-hero-actions, .editor-section-heading, .editor-card-actions { width: 100%; align-items: stretch; flex-direction: column; }
  .admin-row-actions .button, .editor-hero-actions .button { width: 100%; }
  .editor-hero { padding: 36px 0; }
  .course-editor { padding-top: 26px; }
  .editor-settings { grid-template-columns: 1fr; }
  .editor-section-heading > p { max-width: none; text-align: left; }
  .editor-field-grid, .editor-field-grid.three-columns, .upload-field-grid { grid-template-columns: 1fr; }
  .editor-panel, .editor-module-card { padding: 21px; }
  .slide-editor-intro { flex-direction: column; }
  .slide-editor-intro > p { max-width: none; text-align: left; }
  .slide-editor-points { grid-template-columns: 1fr; }
  .legal-page { padding: 38px 0 72px; }
  .legal-width { width: min(100% - 28px, 940px); }
  .legal-page .back-link { margin-bottom: 30px; }
  .legal-nav { width: 100%; overflow-x: auto; }
  .legal-card { padding: 28px 22px; border-radius: 21px; }
  .legal-content p, .legal-content address { font-size: 15px; }
  .site-footer { grid-template-columns: 1fr; align-items: flex-start; gap: 13px; }
  .site-footer-legal { justify-content: flex-start; flex-wrap: wrap; gap: 10px 18px; }
  .site-footer-status { justify-self: start; }
  .toast { right: 14px; bottom: 14px; left: 14px; max-width: none; }
}

@media (max-width: 430px) {
  .topbar-inner { gap: 8px; }
  .brand { gap: 8px; }
  .brand-logo { height: 22px; }
  .brand-product { font-size: 12px; }
  .flagship-facts { grid-template-columns: 1fr; }
  .sales-kpis { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation-duration: 0.01ms !important; }
}
.pdf-access-note {
  color: var(--muted);
  font-size: 0.86rem;
  margin: 0 0 1rem;
}
