:root {
  --bd-navy: #122c3e;
  --bd-navy-2: #1b435c;
  --bd-cream: #f7f5f0;
  --bd-warm: #e9dfd0;
  --bd-sage: #e5eee9;
  --bd-gold: #b77b37;
  --bd-text: #173042;
  --bd-muted: #5e6c76;
  --bd-line: #d9e0e4;
  --bd-white: #ffffff;
  --bd-success: #1f6b46;
  --bd-error: #a52b2b;
  --bd-shadow: 0 16px 42px rgba(18, 44, 62, 0.09);
  --bd-radius: 18px;
}

.bd-portal,
.bd-portal * {
  box-sizing: border-box;
}

.bd-portal {
  color: var(--bd-text);
  background: var(--bd-white);
  font-family: "Open Sans", Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  width: 100%;
  overflow-x: hidden;
  overflow: clip;
}

.bd-portal a {
  color: inherit;
}

.bd-portal button,
.bd-portal input,
.bd-portal select,
.bd-portal textarea {
  font: inherit;
}

.bd-portal button,
.bd-portal a {
  -webkit-tap-highlight-color: transparent;
}

.bd-portal :focus-visible {
  outline: 3px solid #f2b35e;
  outline-offset: 3px;
}


.bd-embed-language {
  display: flex;
  justify-content: flex-end;
  padding-top: 18px;
  padding-bottom: 6px;
}

.bd-skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 9999;
  padding: 10px 14px;
  background: var(--bd-navy);
  color: var(--bd-white) !important;
  border-radius: 8px;
}

.bd-skip-link:focus {
  top: 12px;
}

.bd-container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.bd-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid rgba(18,44,62,.09);
  backdrop-filter: blur(12px);
}

.bd-header__inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.bd-brand {
  display: inline-flex;
  border: 0;
  background: transparent;
  padding: 0;
  margin: 0;
  cursor: pointer;
  font: inherit;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: .01em;
  color: var(--bd-navy) !important;
}

.bd-brand__mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--bd-navy);
  color: var(--bd-white);
  font-size: 12px;
  line-height: 1;
}

.bd-header__actions,
.bd-language-switcher {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.bd-language-switcher button {
  min-width: 42px;
  min-height: 40px;
  border: 1px solid var(--bd-line);
  background: var(--bd-white);
  color: var(--bd-navy);
  border-radius: 999px;
  cursor: pointer;
  font-weight: 700;
}

.bd-language-switcher button[aria-pressed="true"] {
  background: var(--bd-navy);
  color: var(--bd-white);
  border-color: var(--bd-navy);
}

.bd-hero {
  padding: clamp(56px, 8vw, 110px) 0 64px;
  background:
    radial-gradient(circle at 88% 20%, rgba(183,123,55,.11), transparent 28%),
    linear-gradient(180deg, #fbfaf7 0%, #fff 100%);
}

.bd-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr);
  align-items: center;
  gap: clamp(32px, 6vw, 78px);
}

.bd-kicker {
  margin: 0 0 14px;
  color: var(--bd-gold);
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
  font-size: .82rem;
}

.bd-hero h1,
.bd-section h2,
.bd-compass h1,
.bd-report h1 {
  color: var(--bd-navy);
  letter-spacing: -.025em;
  line-height: 1.16;
  margin: 0;
}

.bd-hero h1 {
  max-width: 850px;
  font-size: clamp(2.2rem, 4.2vw, 3.55rem);
  overflow-wrap: normal;
  word-break: normal;
}

.bd-hero__lead {
  max-width: 820px;
  margin: 24px 0 0;
  font-size: clamp(1.05rem, 1.7vw, 1.25rem);
  color: #334d5e;
}

.bd-usp-line {
  margin: 22px 0 0;
  padding: 16px 18px;
  border-left: 4px solid var(--bd-gold);
  background: rgba(255,255,255,.85);
  border-radius: 0 12px 12px 0;
  box-shadow: 0 8px 24px rgba(18,44,62,.05);
  font-weight: 700;
}

.bd-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.bd-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  font-weight: 800;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.bd-button:hover {
  transform: translateY(-1px);
}

.bd-button--primary {
  background: var(--bd-navy);
  color: var(--bd-white) !important;
  box-shadow: 0 10px 24px rgba(18,44,62,.2);
}

.bd-button--secondary {
  background: var(--bd-white);
  border-color: var(--bd-navy);
  color: var(--bd-navy) !important;
}

.bd-button--soft {
  background: var(--bd-sage);
  color: var(--bd-navy) !important;
}

.bd-button--text {
  padding-inline: 0;
  min-height: auto;
  color: var(--bd-navy) !important;
  background: transparent;
}

.bd-hero__visual {
  min-height: 420px;
  position: relative;
  border-radius: 32px;
  background: var(--bd-navy);
  overflow: hidden;
  box-shadow: var(--bd-shadow);
  display: grid;
  place-items: center;
  padding: 30px;
}

.bd-hero__visual::before,
.bd-hero__visual::after {
  content: "";
  position: absolute;
  border-radius: 50%;
}

.bd-hero__visual::before {
  width: 300px;
  height: 300px;
  top: -100px;
  right: -70px;
  background: rgba(255,255,255,.09);
}

.bd-hero__visual::after {
  width: 220px;
  height: 220px;
  bottom: -80px;
  left: -70px;
  background: rgba(183,123,55,.28);
}

.bd-visual-card {
  position: relative;
  z-index: 2;
  width: min(100%, 330px);
  padding: 28px;
  background: rgba(255,255,255,.96);
  border-radius: 22px;
}

.bd-visual-card strong {
  display: block;
  color: var(--bd-navy);
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.bd-visual-card ul {
  margin: 0;
  padding-left: 20px;
}

.bd-section {
  padding: clamp(58px, 8vw, 96px) 0;
}

.bd-section--soft {
  background: var(--bd-cream);
}

.bd-section--navy {
  background: var(--bd-navy);
  color: var(--bd-white);
}

.bd-section--navy h2,
.bd-section--navy h3 {
  color: var(--bd-white);
}

.bd-section__head {
  max-width: 790px;
  margin-bottom: 34px;
}

.bd-section h2 {
  font-size: clamp(1.8rem, 3.5vw, 3rem);
}

.bd-section__head p {
  margin: 14px 0 0;
  color: var(--bd-muted);
  font-size: 1.08rem;
}

.bd-section--navy .bd-section__head p {
  color: rgba(255,255,255,.78);
}

.bd-grid-4,
.bd-grid-3,
.bd-grid-2 {
  display: grid;
  gap: 20px;
}

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

.bd-path-card,
.bd-benefit-card,
.bd-info-card {
  background: var(--bd-white);
  border: 1px solid rgba(18,44,62,.1);
  border-radius: var(--bd-radius);
  padding: 26px;
  box-shadow: 0 9px 28px rgba(18,44,62,.06);
}

.bd-path-card {
  display: flex;
  flex-direction: column;
  min-height: 285px;
}

.bd-path-card__number {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bd-sage);
  color: var(--bd-navy);
  font-weight: 800;
}

.bd-path-card h3,
.bd-benefit-card h3,
.bd-info-card h3 {
  color: var(--bd-navy);
  line-height: 1.3;
  margin: 20px 0 10px;
  font-size: 1.22rem;
}

.bd-path-card p,
.bd-benefit-card p,
.bd-info-card p {
  color: var(--bd-muted);
  margin: 0;
}

.bd-path-card .bd-button {
  margin-top: auto;
  align-self: flex-start;
  padding-top: 22px;
}

.bd-process {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  counter-reset: process;
}

.bd-process__step {
  min-height: 150px;
  border-radius: 16px;
  padding: 20px 16px;
  background: var(--bd-white);
  border: 1px solid var(--bd-line);
  position: relative;
}

.bd-process__step::before {
  counter-increment: process;
  content: counter(process);
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--bd-navy);
  color: var(--bd-white);
  font-weight: 800;
  margin-bottom: 14px;
}

.bd-process__step strong {
  color: var(--bd-navy);
}

.bd-trust-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.bd-trust-item {
  text-align: center;
  padding: 20px 14px;
  border-left: 1px solid rgba(255,255,255,.18);
}

.bd-trust-item:first-child { border-left: 0; }
.bd-trust-item strong { display: block; font-size: 1.55rem; }
.bd-trust-item span { color: rgba(255,255,255,.76); }

.bd-footer {
  padding: 34px 0;
  border-top: 1px solid var(--bd-line);
  background: #fbfbfa;
}

.bd-footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.bd-footer p { margin: 0; color: var(--bd-muted); font-size: .93rem; }

/* Compass */
.bd-compass-shell {
  min-height: 100vh;
  background: var(--bd-cream);
  padding: 32px 0 70px;
}

.bd-compass {
  width: min(920px, calc(100% - 32px));
  margin: 0 auto;
  background: var(--bd-white);
  border: 1px solid var(--bd-line);
  border-radius: 24px;
  box-shadow: var(--bd-shadow);
  overflow: hidden;
}

.bd-compass__top {
  padding: 22px clamp(20px, 4vw, 40px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--bd-line);
}

.bd-compass__body {
  padding: clamp(24px, 5vw, 52px);
}

.bd-progress-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--bd-muted);
  font-size: .92rem;
  margin-bottom: 12px;
}

.bd-progress {
  height: 9px;
  background: #e9edef;
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 34px;
}

.bd-progress__bar {
  height: 100%;
  background: var(--bd-gold);
  border-radius: inherit;
  transition: width .22s ease;
}

.bd-compass h1 {
  font-size: clamp(1.75rem, 4vw, 2.8rem);
}

.bd-compass__intro {
  color: var(--bd-muted);
  margin: 14px 0 28px;
}

.bd-privacy-note,
.bd-warning-note,
.bd-success-note {
  padding: 15px 17px;
  border-radius: 12px;
  margin: 18px 0;
}

.bd-privacy-note { background: var(--bd-sage); }
.bd-warning-note { background: #fff5e8; border-left: 4px solid var(--bd-gold); }
.bd-success-note { background: #e9f6ef; border-left: 4px solid var(--bd-success); }

.bd-field {
  margin: 22px 0;
}

.bd-field label,
.bd-field legend {
  display: block;
  color: var(--bd-navy);
  font-weight: 800;
  margin-bottom: 8px;
}

.bd-field small {
  display: block;
  color: var(--bd-muted);
  margin-top: 7px;
}

.bd-field input[type="text"],
.bd-field input[type="number"],
.bd-field select,
.bd-field textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid #b8c4ca;
  border-radius: 10px;
  padding: 11px 13px;
  color: var(--bd-text);
  background: var(--bd-white);
}

.bd-field textarea { min-height: 120px; resize: vertical; }

.bd-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.bd-choice {
  position: relative;
}

.bd-choice input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.bd-choice label {
  display: flex;
  align-items: center;
  min-height: 66px;
  padding: 14px 16px;
  border: 1px solid #bcc8ce;
  border-radius: 12px;
  cursor: pointer;
  font-weight: 700;
  background: var(--bd-white);
}

.bd-choice input:checked + label {
  border-color: var(--bd-navy);
  background: var(--bd-sage);
  box-shadow: inset 0 0 0 2px var(--bd-navy);
}

.bd-choice input:focus-visible + label {
  outline: 3px solid #f2b35e;
  outline-offset: 3px;
}

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

.bd-checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 11px;
}

.bd-checkbox-row input { margin-top: 6px; width: 20px; height: 20px; }

.bd-error-message {
  color: var(--bd-error);
  font-weight: 700;
  padding: 12px 14px;
  border-radius: 10px;
  background: #fff0f0;
  margin: 18px 0;
}

.bd-compass__nav {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 32px;
}

/* Report */
.bd-report-shell {
  background: var(--bd-cream);
  padding: 34px 0 70px;
}

.bd-report {
  width: min(1020px, calc(100% - 32px));
  margin: 0 auto;
  background: var(--bd-white);
  border-radius: 24px;
  box-shadow: var(--bd-shadow);
  overflow: hidden;
}

.bd-report__header {
  background: var(--bd-navy);
  color: var(--bd-white);
  padding: clamp(30px, 6vw, 58px);
}

.bd-report__header h1 { color: var(--bd-white); font-size: clamp(2rem, 4vw, 3.4rem); }
.bd-report__header p { max-width: 760px; color: rgba(255,255,255,.82); }

.bd-report__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.bd-report__content {
  padding: clamp(24px, 5vw, 56px);
}

.bd-report-section {
  padding: 26px 0;
  border-bottom: 1px solid var(--bd-line);
}

.bd-report-section:last-child { border-bottom: 0; }
.bd-report-section h2 { color: var(--bd-navy); margin: 0 0 14px; font-size: 1.45rem; }
.bd-report-section h3 { color: var(--bd-navy); margin: 20px 0 8px; }
.bd-report-section p { margin: 8px 0; }
.bd-report-section ul { padding-left: 21px; }

.bd-profile-list {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 24px;
}

.bd-profile-list > div {
  display: grid;
  grid-template-columns: minmax(130px, .8fr) minmax(0, 1.2fr);
  gap: 14px;
  padding: 11px 0;
  border-bottom: 1px solid var(--bd-line);
}

.bd-profile-list dt {
  color: var(--bd-navy);
  font-weight: 800;
}

.bd-profile-list dd {
  margin: 0;
}

.bd-competence-table {
  width: 100%;
  border-collapse: collapse;
}
.bd-competence-table th,
.bd-competence-table td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid var(--bd-line);
}
.bd-competence-table th { color: var(--bd-navy); }

.bd-education-map {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 20px 0;
}

.bd-education-map__step {
  padding: 14px 10px;
  border-radius: 10px;
  background: #eef2f4;
  text-align: center;
  font-weight: 700;
  font-size: .9rem;
}

.bd-education-map__step.is-current {
  background: var(--bd-navy);
  color: var(--bd-white);
}

.bd-recommendation {
  border: 1px solid var(--bd-line);
  border-radius: 14px;
  padding: 18px;
  margin: 12px 0;
  background: #fcfcfb;
}

.bd-recommendation__priority {
  display: inline-block;
  padding: 4px 9px;
  border-radius: 999px;
  background: var(--bd-sage);
  color: var(--bd-navy);
  font-size: .8rem;
  font-weight: 800;
}

/* QA */
.bd-qa {
  width: min(980px, calc(100% - 32px));
  margin: 40px auto;
}
.bd-qa__summary { padding: 18px; border-radius: 14px; margin-bottom: 20px; }
.bd-qa__summary.is-pass { background: #e8f5ed; color: var(--bd-success); }
.bd-qa__summary.is-fail { background: #fff0f0; color: var(--bd-error); }
.bd-qa table { width: 100%; border-collapse: collapse; background: var(--bd-white); }
.bd-qa th, .bd-qa td { text-align: left; padding: 12px; border-bottom: 1px solid var(--bd-line); vertical-align: top; }
.bd-status-pass { color: var(--bd-success); font-weight: 800; }
.bd-status-fail { color: var(--bd-error); font-weight: 800; }
.bd-code { padding: 16px; background: #edf1f3; border-radius: 12px; overflow: auto; white-space: pre-wrap; }

.bd-portal--embed .bd-header,
.bd-portal--embed .bd-footer { display: none; }
.bd-portal--embed .bd-hero { padding-top: 42px; }


.bd-toast {
  position: fixed;
  z-index: 10000;
  right: 20px;
  bottom: 20px;
  max-width: min(420px, calc(100vw - 40px));
  padding: 14px 18px;
  border-radius: 12px;
  background: var(--bd-navy);
  color: var(--bd-white);
  box-shadow: var(--bd-shadow);
  font-weight: 700;
}

@media (max-width: 980px) {
  .bd-hero__grid { grid-template-columns: 1fr; }
  .bd-hero__visual { min-height: 300px; }
  .bd-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bd-process { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 680px) {
  .bd-container { width: min(100% - 22px, 1180px); }
  .bd-header__inner { min-height: 64px; align-items: flex-start; padding-block: 10px; }
  .bd-brand__text { display: none; }
  .bd-language-switcher { gap: 5px; }
  .bd-language-switcher button { min-width: 38px; min-height: 38px; }
  .bd-grid-4,
  .bd-grid-3,
  .bd-grid-2,
  .bd-choice-grid,
  .bd-language-levels,
  .bd-trust-strip,
  .bd-education-map { grid-template-columns: 1fr; }
  .bd-process { grid-template-columns: 1fr 1fr; }
  .bd-trust-item { border-left: 0; border-top: 1px solid rgba(255,255,255,.18); }
  .bd-trust-item:first-child { border-top: 0; }
  .bd-compass__top { align-items: flex-start; }
  .bd-compass__nav { flex-direction: column-reverse; }
  .bd-compass__nav .bd-button { width: 100%; }
  .bd-report__actions .bd-button { width: 100%; }
  .bd-profile-list { grid-template-columns: 1fr; }
  .bd-profile-list > div { grid-template-columns: 1fr; gap: 3px; }
}

@media (prefers-reduced-motion: reduce) {
  .bd-portal *,
  .bd-portal *::before,
  .bd-portal *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}

.bd-print-host,
.bd-print-host * {
  box-sizing: border-box;
}

.bd-print-host {
  display: none;
  color: var(--bd-text);
  font-family: "Open Sans", Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

@media print {
  body.bd-print-mode {
    margin: 0 !important;
    background: #fff !important;
  }

  body.bd-print-mode > *:not(.bd-print-host) {
    display: none !important;
  }

  body.bd-print-mode > .bd-print-host {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .bd-print-host .bd-report {
    display: block !important;
    position: static !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    overflow: visible !important;
  }

  .bd-print-host .bd-report__actions,
  .bd-print-host .bd-language-switcher,
  .bd-print-host .bd-hide-print,
  .bd-print-host button {
    display: none !important;
  }

  .bd-print-host .bd-report__header {
    background: var(--bd-navy) !important;
    color: #fff !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  .bd-print-host .bd-report-section {
    break-inside: auto;
    page-break-inside: auto;
  }

  .bd-print-host .bd-report-section h2,
  .bd-print-host .bd-report-section h3 {
    break-after: avoid;
    page-break-after: avoid;
  }

  .bd-print-host .bd-report-section[data-report-section="9"],
  .bd-print-host .bd-report-section[data-report-section="10"],
  .bd-print-host .bd-report-section[data-report-section="11"] {
    break-inside: avoid;
    page-break-inside: avoid;
  }

  .bd-print-host .bd-recommendation,
  .bd-print-host .bd-warning-note,
  .bd-print-host .bd-education-map,
  .bd-print-host .bd-profile-list > div {
    break-inside: avoid;
    page-break-inside: avoid;
  }

  .bd-print-host a {
    text-decoration: none !important;
  }
}

/* Version 1.2.0: Swiss education map, market orientation and AION */
.bd-system-map {
  border: 1px solid var(--bd-line);
  border-radius: 22px;
  padding: clamp(20px, 4vw, 34px);
  background: var(--bd-white);
  box-shadow: 0 10px 30px rgba(18,44,62,.06);
}

.bd-system-map__levels {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.bd-system-level {
  position: relative;
  min-height: 190px;
  padding: 22px;
  border: 1px solid var(--bd-line);
  border-radius: 16px;
  background: #f8fafb;
}

.bd-system-level > span {
  display: block;
  margin-bottom: 9px;
  color: var(--bd-gold);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.bd-system-level h3 {
  margin: 0 0 10px;
  color: var(--bd-navy);
  line-height: 1.3;
}

.bd-system-level p {
  margin: 0;
  color: var(--bd-muted);
}

.bd-system-level i {
  position: absolute;
  top: 50%;
  right: -25px;
  z-index: 2;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: var(--bd-navy);
  color: var(--bd-white);
  font-style: normal;
  transform: translateY(-50%);
}

.bd-system-level.is-current {
  border: 2px solid var(--bd-navy);
  background: var(--bd-sage);
  box-shadow: 0 0 0 4px rgba(18,44,62,.08);
}

.bd-system-branches {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px;
  margin-top: 16px;
}

.bd-system-branches span {
  padding: 10px 12px;
  border-radius: 10px;
  background: #eef2f4;
  color: var(--bd-navy);
  font-size: .84rem;
  font-weight: 700;
  text-align: center;
}

.bd-continuing-lane {
  margin-top: 18px;
  padding: 18px 20px;
  border-left: 5px solid var(--bd-gold);
  border-radius: 0 14px 14px 0;
  background: #fff8ee;
}

.bd-continuing-lane strong {
  color: var(--bd-navy);
}

.bd-continuing-lane p {
  margin: 6px 0 0;
}

.bd-system-current {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.bd-system-current p {
  margin: 0;
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--bd-sage);
}

.bd-source-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 18px;
  color: var(--bd-muted);
  font-size: .88rem;
}

.bd-system-map--compact .bd-system-level {
  min-height: 150px;
  padding: 16px;
}

.bd-competency-map {
  margin: 20px 0 26px;
  padding: 20px;
  border: 1px solid var(--bd-line);
  border-radius: 16px;
  background: #fbfcfc;
}

.bd-competency-row {
  display: grid;
  grid-template-columns: minmax(115px, .7fr) minmax(160px, 2fr) 44px;
  align-items: center;
  gap: 14px;
  margin: 12px 0;
}

.bd-competency-row > span {
  color: var(--bd-navy);
  font-weight: 700;
}

.bd-competency-track {
  height: 12px;
  overflow: hidden;
  border-radius: 999px;
  background: #e4eaed;
}

.bd-competency-fill {
  height: 100%;
  border-radius: inherit;
  background: var(--bd-navy);
}

.bd-small-note {
  margin: 14px 0 0 !important;
  color: var(--bd-muted);
  font-size: .86rem;
}

.bd-market-meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
  color: var(--bd-muted);
  font-size: .88rem;
}

.bd-market-table {
  overflow: hidden;
  border: 1px solid var(--bd-line);
  border-radius: 18px;
  background: var(--bd-white);
  box-shadow: 0 10px 30px rgba(18,44,62,.05);
}

.bd-market-row {
  display: grid;
  grid-template-columns: 1.05fr 1.35fr 1.4fr 1.45fr 1.25fr;
}

.bd-market-row > div {
  min-width: 0;
  padding: 15px 14px;
  border-right: 1px solid var(--bd-line);
  border-bottom: 1px solid var(--bd-line);
  overflow-wrap: anywhere;
  font-size: .88rem;
}

.bd-market-row > div:last-child {
  border-right: 0;
}

.bd-market-row:last-child > div {
  border-bottom: 0;
}

.bd-market-row--head {
  background: var(--bd-navy);
  color: var(--bd-white);
  font-weight: 800;
}

.bd-market-row--head > div {
  border-color: rgba(255,255,255,.18);
}

.bd-market-source {
  display: block;
  margin-top: 7px;
  color: var(--bd-navy) !important;
  font-size: .8rem;
  font-weight: 700;
}

.bd-market-conclusion {
  margin-top: 18px;
  padding: 20px 22px;
  border-radius: 14px;
  background: var(--bd-sage);
}

.bd-market-conclusion h3 {
  margin: 0 0 8px;
  color: var(--bd-navy);
}

.bd-market-conclusion p {
  margin: 0;
}

.bd-aion-principles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.bd-aion-principles li {
  position: relative;
  padding: 14px 14px 14px 40px;
  border: 1px solid var(--bd-line);
  border-radius: 12px;
  background: var(--bd-white);
}

.bd-aion-principles li::before {
  content: "✓";
  position: absolute;
  left: 14px;
  color: var(--bd-success);
  font-weight: 900;
}

.bd-analytics-consent {
  margin-top: 28px;
  padding: 18px;
  border: 1px solid #b8cec1;
  border-radius: 14px;
  background: var(--bd-sage);
}

.bd-analytics-consent .bd-checkbox-row {
  margin: 0;
}

.bd-analytics-consent small {
  font-weight: 400;
  line-height: 1.5;
}

@media (max-width: 980px) {
  .bd-system-level i { display: none; }
  .bd-market-row { grid-template-columns: 1fr 1fr; }
  .bd-market-row--head { display: none; }
  .bd-market-row > div {
    border-right: 0;
  }
  .bd-market-row > div:first-child {
    grid-column: 1 / -1;
    background: #eef2f4;
  }
  .bd-market-row > div:not(:first-child)::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 5px;
    color: var(--bd-navy);
    font-size: .76rem;
    font-weight: 800;
    text-transform: uppercase;
  }
}

@media (max-width: 680px) {
  .bd-system-map__levels,
  .bd-system-branches,
  .bd-system-current,
  .bd-market-row,
  .bd-aion-principles {
    grid-template-columns: 1fr;
  }
  .bd-system-level {
    min-height: auto;
  }
  .bd-market-row > div:first-child {
    grid-column: auto;
  }
  .bd-market-meta {
    flex-direction: column;
  }
  .bd-competency-row {
    grid-template-columns: 1fr 48px;
  }
  .bd-competency-track {
    grid-column: 1 / -1;
    grid-row: 2;
  }
}

@media print {
  .bd-system-map {
    box-shadow: none !important;
    break-inside: avoid;
  }
  .bd-system-level {
    min-height: 0;
  }
  .bd-system-level i {
    display: none;
  }
  .bd-competency-map {
    break-inside: avoid;
  }
  .bd-source-row a::after {
    content: " (" attr(href) ")";
    font-size: 8pt;
    font-weight: 400;
  }
}

/* Personalised neutral provider orientation inside the compass report. */
.bd-provider-fit {
  margin-top: 30px;
  padding-top: 26px;
  border-top: 1px solid var(--bd-line);
}

.bd-provider-fit > h3 {
  margin: 0 0 8px;
  color: var(--bd-navy);
  font-size: clamp(1.15rem, 2vw, 1.4rem);
}

.bd-provider-fit > p {
  margin: 0 0 16px;
}

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

.bd-provider-fit__grid article {
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--bd-line);
  border-radius: 14px;
  background: #fbfcfc;
}

.bd-provider-fit__grid article > span {
  display: block;
  margin-bottom: 6px;
  color: var(--bd-gold);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.bd-provider-fit__grid h4 {
  margin: 0 0 8px;
  color: var(--bd-navy);
  font-size: 1rem;
}

.bd-provider-fit__grid p {
  margin: 0 0 10px;
  font-size: 0.9rem;
}

@media (max-width: 820px) {
  .bd-provider-fit__grid {
    grid-template-columns: 1fr;
  }
}

@media print {
  .bd-provider-fit__grid {
    grid-template-columns: 1fr;
  }

  .bd-provider-fit__grid article {
    break-inside: avoid;
    page-break-inside: avoid;
  }
}

/* DASTI BildungsCheck result summary and resilient runtime states. */
.bd-runtime-fallback,
.bd-runtime-error {
  width: min(980px, calc(100% - 32px));
  margin: 28px auto;
  padding: 22px;
  border: 1px solid var(--bd-line);
  border-left: 5px solid var(--bd-gold);
  border-radius: 14px;
  background: #fffaf3;
  color: var(--bd-text);
}

.bd-runtime-error .bd-container {
  width: 100%;
}

.bd-error-detail {
  margin-top: 22px;
  color: var(--bd-muted);
  font-size: .82rem;
}

.bd-results-summary {
  margin: 0 0 34px;
  padding: clamp(22px, 4vw, 36px);
  border: 1px solid #cfdbe1;
  border-radius: 20px;
  background: linear-gradient(180deg, #f7fafb 0%, #ffffff 100%);
}

.bd-results-summary > h2 {
  margin: 0 0 10px;
  color: var(--bd-navy);
  font-size: clamp(1.55rem, 3vw, 2.2rem);
}

.bd-results-summary > p:not(.bd-kicker) {
  max-width: 780px;
  margin: 0 0 22px;
}

.bd-check-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.bd-check-card {
  min-width: 0;
  padding: 19px;
  border: 1px solid var(--bd-line);
  border-top: 4px solid var(--bd-navy-2);
  border-radius: 15px;
  background: var(--bd-white);
}

.bd-check-card--funding { border-top-color: var(--bd-gold); }
.bd-check-card--plan { border-top-color: var(--bd-success); }

.bd-check-card h3 {
  margin: 0 0 8px;
  color: var(--bd-navy);
  font-size: 1.08rem;
}

.bd-check-card > p {
  margin: 0 0 14px;
  color: var(--bd-muted);
  font-size: .92rem;
}

.bd-check-card ol,
.bd-check-card ul {
  margin: 0;
  padding-left: 19px;
}

.bd-check-card li {
  margin: 0 0 13px;
}

.bd-check-card li strong,
.bd-check-card li span,
.bd-check-card li small {
  display: block;
}

.bd-check-card li span {
  margin: 2px 0;
  color: var(--bd-success);
  font-size: .78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .03em;
}

.bd-check-card li small {
  color: var(--bd-muted);
  font-size: .82rem;
  line-height: 1.45;
}

.bd-check-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 15px;
}

.bd-check-meta > div {
  padding: 10px;
  border-radius: 10px;
  background: var(--bd-cream);
}

.bd-check-meta dt {
  color: var(--bd-muted);
  font-size: .75rem;
  font-weight: 700;
}

.bd-check-meta dd {
  margin: 2px 0 0;
  color: var(--bd-navy);
  font-weight: 800;
}

.bd-funding-routes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0;
}

.bd-funding-routes article {
  padding: 15px;
  border: 1px solid var(--bd-line);
  border-radius: 12px;
  background: #fbfcfc;
}

.bd-funding-routes h3 {
  margin: 0 0 6px;
  font-size: 1rem;
}

.bd-combination-plan {
  counter-reset: bd-plan;
  list-style: none;
  padding: 0 !important;
}

.bd-combination-plan li {
  position: relative;
  margin: 0 0 10px;
  padding: 12px 14px 12px 48px;
  border-radius: 10px;
  background: var(--bd-cream);
}

.bd-combination-plan li::before {
  counter-increment: bd-plan;
  content: counter(bd-plan);
  position: absolute;
  left: 12px;
  top: 10px;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--bd-navy);
  color: #fff;
  font-size: .78rem;
  font-weight: 800;
}

@media (max-width: 900px) {
  .bd-check-grid,
  .bd-funding-routes {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .bd-results-summary {
    padding: 19px;
    border-radius: 15px;
  }
  .bd-check-meta {
    grid-template-columns: 1fr;
  }
}

@media print {
  .bd-results-summary,
  .bd-check-card,
  .bd-funding-routes article,
  .bd-provider-fit__grid article {
    break-inside: avoid;
    page-break-inside: avoid;
  }
  .bd-check-grid,
  .bd-funding-routes,
  .bd-provider-fit__grid {
    grid-template-columns: 1fr;
  }
  .bd-runtime-fallback,
  .bd-runtime-error {
    display: none !important;
  }
}

/* Version 1.3.0: clearly visible result, funding and provider-comparison output */
.bd-report-market-comparison {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(18, 44, 62, 0.16);
}
.bd-report-market-comparison > h3 {
  margin-bottom: 14px;
}
.bd-runtime-fallback {
  max-width: 760px;
  margin: 32px auto;
  padding: 18px 20px;
  border: 1px solid rgba(18, 44, 62, 0.18);
  border-radius: 12px;
  background: #fff8ea;
  color: #122c3e;
}
.bd-portal[data-bd-mounted="1"] > .bd-runtime-fallback,
.bd-portal[data-bd-mounted="error"] > .bd-runtime-fallback {
  display: none;
}
@media print {
  .bd-report-market-comparison .bd-market-meta,
  .bd-report-market-comparison .bd-market-source,
  .bd-report-market-comparison .bd-market-notice,
  .bd-report-market-comparison .bd-market-conclusion {
    display: none !important;
  }
  .bd-report-market-comparison .bd-market-row,
  .bd-report-market-comparison .bd-market-own {
    break-inside: avoid;
    page-break-inside: avoid;
  }
}

/* WordPress standalone relaunch template */
body.bd-relaunch-page { margin: 0; background: #fff; }
body.bd-relaunch-page .bd-portal { min-height: 100vh; }
body.bd-relaunch-page #wpadminbar { position: fixed; }
@media (max-width: 782px) { body.admin-bar.bd-relaunch-page { padding-top: 46px; } }

/* Version 1.4.1 print polish: start the detailed report on a clean page. */
@media print {
  .bd-print-host .bd-report-section[data-report-section="1"] {
    break-before: page;
    page-break-before: always;
  }
}
