:root {
  --ink: #201724;
  --muted: #716a76;
  --muted-light: #958d99;
  --plum: #64135d;
  --plum-deep: #351039;
  --magenta: #a32382;
  --plum-soft: #f5ebf5;
  --violet-soft: #f1effb;
  --orange: #f1781d;
  --orange-deep: #d95b0d;
  --orange-soft: #fff4e9;
  --teal: #397a76;
  --success: #30775f;
  --border: #e7e1e8;
  --surface: #ffffff;
  --canvas: #f7f5f8;
  --shadow: 0 16px 44px rgba(52, 27, 55, .08);
}

* { box-sizing: border-box; }
html { min-width: 320px; background: var(--canvas); color: var(--ink); }
body { margin: 0; font-family: Inter, Aptos, "Segoe UI", Arial, sans-serif; background: var(--canvas); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
button { font: inherit; color: inherit; }

.site-header { background: #fff; border-bottom: 1px solid #e9e5ea; }
.report-nav {
  min-height: 45px; max-width: 1200px; margin: 0 auto; display: flex; align-items: stretch; gap: 1px;
  overflow-x: auto; scrollbar-width: none;
}
.report-nav::-webkit-scrollbar { display: none; }
.report-nav span {
  position: relative; flex: 0 0 auto; padding: 14px 15px 12px; color: #68626b; font-size: 13.5px; white-space: nowrap;
}
.report-nav__active { color: #171119 !important; font-weight: 750; }
.report-nav__active::after { content: ""; position: absolute; inset: auto 8px -1px; height: 2px; background: var(--plum); }

.page-shell { width: min(1200px, calc(100% - 32px)); margin: 16px auto 56px; }
.hero { height: 292px; position: relative; overflow: hidden; border-radius: 3px 3px 0 0; background: #2a1930; color: #fff; }
.hero__image {
  position: absolute; inset: 0; background-position: center 48%; background-size: cover;
  filter: saturate(.76) contrast(.96); transform: scale(1.01); transition: opacity .25s ease;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(27, 11, 31, .96) 0%, rgba(39, 15, 44, .88) 31%, rgba(45, 22, 51, .38) 58%, rgba(35, 18, 40, .08) 100%);
}
.hero__content {
  position: relative; z-index: 1; height: 100%; width: 100%; padding: 43px 46px;
  display: flex; flex-direction: column; align-items: flex-start; justify-content: center;
}
.hero__eyebrow, .eyebrow, .section-kicker {
  font-size: 11px; font-weight: 780; letter-spacing: .13em; text-transform: uppercase;
}
.hero__eyebrow { margin-bottom: 13px; color: rgba(255, 255, 255, .74); }
.hero__title-lockup { display: flex; align-items: center; gap: 12px; }
.hero__brand-mark {
  width: 92px; height: 58px; margin-left: -8px; margin-right: -18px; flex: 0 0 auto;
  border-radius: 0; box-shadow: none;
  filter: saturate(1.08) contrast(1.04);
}
.hero h1 { margin: 0; font-size: clamp(38px, 4.2vw, 56px); line-height: 1; letter-spacing: -.045em; }
.hero p { max-width: 720px; margin: 15px 0 19px; color: rgba(255, 255, 255, .88); font-size: 17px; line-height: 1.5; }
.hero__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.hero-stat {
  padding: 7px 11px; border: 1px solid rgba(255, 255, 255, .22); border-radius: 999px;
  background: rgba(255, 255, 255, .09); backdrop-filter: blur(8px); font-size: 11.5px;
}
.country-filter { display: flex; align-items: center; gap: 4px; padding: 3px; border: 1px solid rgba(255, 255, 255, .22); border-radius: 999px; background: rgba(255, 255, 255, .08); backdrop-filter: blur(8px); }
.country-filter__label { padding: 0 5px 0 7px; color: rgba(255, 255, 255, .7); font-size: 9.5px; font-weight: 780; letter-spacing: .04em; text-transform: uppercase; }
.country-filter button { padding: 5px 8px; border: 0; border-radius: 999px; background: transparent; color: rgba(255, 255, 255, .78); font-size: 10.5px; cursor: pointer; }
.country-filter button:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.country-filter button.country-filter__active { background: #fff; color: var(--plum-deep); font-weight: 800; }

.report-workspace { padding: 25px 24px 0; background: var(--canvas); }
.workspace-toolbar { display: flex; align-items: flex-start; justify-content: space-between; gap: 22px; margin-bottom: 13px; }
.workspace-toolbar h2 { margin: 4px 0 0; font-size: 23px; letter-spacing: -.025em; }
.workspace-toolbar__actions { display: flex; align-items: center; justify-content: flex-end; gap: 9px; }
.eyebrow, .section-kicker { color: var(--magenta); }
.about-button, .outline-button {
  padding: 9px 12px; border: 1px solid #ddd5df; border-radius: 9px; background: #fff; font-size: 12px; font-weight: 700; cursor: pointer;
}
.about-button:hover, .outline-button:hover { border-color: #caaac6; background: #fdfafd; }
.view-tabs { padding: 3px; display: inline-flex; align-items: center; gap: 2px; border: 1px solid #ddd5df; border-radius: 10px; background: #eeeaef; }
.view-tabs button { padding: 7px 11px; border: 0; border-radius: 7px; background: transparent; color: #6b626e; font-size: 11px; font-weight: 750; cursor: pointer; white-space: nowrap; }
.view-tabs button:hover { color: var(--plum); }
.view-tabs button[aria-selected="true"] { background: #fff; color: var(--plum); box-shadow: 0 2px 8px rgba(55, 28, 58, .1); }
.view-tabs button:focus-visible { outline: 2px solid var(--magenta); outline-offset: 2px; }

.executive-card {
  margin-bottom: 14px; padding: 18px 21px; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 15px;
  border: 1px solid #f0dfcf; border-radius: 15px; background: linear-gradient(105deg, #fff8f1, #fff 58%); box-shadow: 0 8px 30px rgba(73, 39, 19, .045);
}
.executive-card__mark {
  width: 43px; height: 43px; display: grid; place-items: center; border-radius: 13px;
  background: linear-gradient(145deg, var(--orange), #ff9a25); color: #fff; font-size: 20px; font-weight: 900;
}
.executive-card h2 { margin: 0 0 5px; font-size: 17px; line-height: 1.35; }
.executive-card p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.55; }

.primary-grid, .secondary-grid { display: grid; gap: 14px; align-items: stretch; }
.primary-grid { grid-template-columns: minmax(0, 1.78fr) minmax(310px, .82fr); }
.secondary-grid { margin-top: 14px; grid-template-columns: minmax(0, 1.45fr) minmax(320px, .75fr); }
.panel { min-width: 0; border: 1px solid var(--border); border-radius: 17px; background: var(--surface); box-shadow: var(--shadow); }
.panel__header { padding: 17px 19px 12px; display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }
.panel__header h2 { margin: 0; font-size: 17px; letter-spacing: -.02em; }
.panel__header p { max-width: 500px; margin: 4px 0 0; color: var(--muted); font-size: 12px; line-height: 1.48; }
.panel__header-meta { flex: 0 0 auto; color: var(--muted); font-size: 11px; }

.hierarchy-columns, .hierarchy-row {
  display: grid; grid-template-columns: 28px minmax(165px, .9fr) minmax(180px, 1.25fr) 64px 90px; align-items: center; gap: 9px;
}
.hierarchy-columns { padding: 0 18px 7px; color: var(--muted); font-size: 10.5px; font-weight: 700; }
.hierarchy-list { padding: 0 10px 13px; }
.hierarchy-row {
  width: 100%; min-height: 39px; padding: 6px 8px; border: 0; border-top: 1px solid #f0edf1; background: transparent; text-align: left; cursor: pointer;
}
.hierarchy-row:hover { background: #fcfafc; }
.hierarchy-row--active { border-radius: 8px; background: #fff8f1; box-shadow: inset 0 0 0 1px #f3d6bd; }
.hierarchy-row--relationship { background: #faf5fb; box-shadow: inset 0 0 0 1px #dec9dc; }
.rank { width: 23px; height: 23px; display: grid; place-items: center; border: 1px solid #ddd7df; border-radius: 50%; color: #635d66; font-size: 10px; font-weight: 800; }
.factor-name { overflow: hidden; font-size: 12px; font-weight: 720; line-height: 1.3; text-overflow: ellipsis; }
.bar-track { height: 7px; overflow: hidden; border-radius: 999px; background: #eeecef; }
.bar-fill { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--orange), #ff941f); }
.hierarchy-row--active .bar-fill { background: linear-gradient(90deg, var(--plum), var(--magenta)); }
.score { font-size: 12px; font-weight: 800; font-variant-numeric: tabular-nums; }
.selected-count { color: var(--muted); font-size: 11px; font-variant-numeric: tabular-nums; }

.logic-panel { padding-bottom: 13px; }
.logic-summary { margin: 0 18px 12px; color: var(--muted); font-size: 11.5px; line-height: 1.55; }
.component-list { padding: 0 11px; display: grid; gap: 8px; }
.component-card { padding: 11px 12px; border: 1px solid #e9e3ea; border-radius: 12px; background: linear-gradient(145deg, #fff, #fbf8fc); }
.component-card__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.component-card h3 { margin: 0; font-size: 13px; line-height: 1.32; }
.component-card p { margin: 6px 0 9px; color: var(--muted); font-size: 11.2px; line-height: 1.5; }
.factor-chips, .treatment-chips { display: flex; flex-wrap: wrap; gap: 5px; }
.factor-chips span, .treatment-chips span { padding: 4px 7px; border-radius: 999px; background: var(--plum-soft); color: var(--plum); font-size: 9.7px; font-weight: 700; }
.evidence-badge { padding: 4px 7px; border-radius: 999px; background: #edf6f1; color: var(--success); font-size: 8.8px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.evidence-badge--medium { background: #fff3e6; color: #a95112; }

.comparison-body { padding: 0 16px 16px; }
.comparison-summary { margin: 0 2px 12px; color: var(--muted); font-size: 11.5px; line-height: 1.55; }
.comparison-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }
.insight-column { padding: 13px; border: 1px solid #ebe5ec; border-radius: 13px; background: #fffaf5; }
.insight-column--decision { background: #faf9ff; }
.insight-column h3 { margin: 0 0 10px; color: var(--orange-deep); font-size: 13px; }
.insight-column--decision h3 { color: #5442ac; }
.insight-column ul { margin: 0; padding: 0; display: grid; gap: 8px; list-style: none; }
.insight-column li { position: relative; padding-left: 18px; color: #4d4651; font-size: 11.2px; line-height: 1.5; }
.insight-column li::before { content: "✓"; position: absolute; left: 0; color: var(--orange); font-weight: 900; }
.insight-column--decision li::before { color: #6251bd; }
.relationship-strip { margin-top: 11px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.relationship-strip__label { margin-right: 2px; color: var(--muted); font-size: 9.8px; font-weight: 700; }
.relationship-pill { padding: 5px 8px; border: 1px solid transparent; border-radius: 999px; background: #f4f1f5; color: #5f5663; font-size: 9.8px; font-weight: 700; cursor: pointer; transition: background .15s ease, border-color .15s ease, color .15s ease, box-shadow .15s ease; }
.relationship-pill:hover { border-color: #d9c5d7; background: #faf5fa; color: var(--plum); }
.relationship-pill[aria-pressed="true"] { border-color: var(--plum); background: var(--plum); color: #fff; box-shadow: 0 4px 12px rgba(100, 19, 93, .18); }
.relationship-pill:focus-visible { outline: 2px solid var(--magenta); outline-offset: 2px; }

.spotlight-panel { overflow: hidden; }
.spotlight-panel .panel__header { align-items: center; }
.spotlight-body { padding: 0 17px 17px; }
.spotlight-stats { margin-bottom: 12px; display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.spotlight-stat { padding: 10px 6px; text-align: center; background: #fff; }
.spotlight-stat + .spotlight-stat { border-left: 1px solid var(--border); }
.spotlight-stat strong { display: block; font-size: 18px; font-variant-numeric: tabular-nums; }
.spotlight-stat span { display: block; margin-top: 2px; color: var(--muted); font-size: 9.5px; }
.spotlight-copy h3 { margin: 0 0 4px; font-size: 12.5px; }
.spotlight-copy p { margin: 0; color: var(--muted); font-size: 11.5px; line-height: 1.55; }
.spotlight-copy p + h3 { margin-top: 10px; }
.verbatim-button { padding: 7px 8px; display: inline-flex; align-items: center; gap: 6px; border: 1px solid #ddcddb; border-radius: 9px; background: #fff; color: var(--plum); font-size: 10.5px; font-weight: 760; white-space: nowrap; cursor: pointer; }
.verbatim-button:hover { border-color: #bd91b8; background: var(--plum-soft); }
.bubble-icon { width: 13px; height: 10px; position: relative; display: inline-block; border: 1.5px solid currentColor; border-radius: 5px; }
.bubble-icon::after { content: ""; position: absolute; left: 2px; bottom: -4px; width: 4px; height: 4px; border-left: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: skew(-24deg); background: inherit; }
.verbatim-count { min-width: 18px; height: 18px; display: grid; place-items: center; border-radius: 999px; background: var(--plum); color: #fff; font-size: 9px; }

.branches-panel { margin-top: 14px; }
.branch-list { padding: 0 16px 17px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.branch-card { padding: 14px; border: 1px solid #e9e3ea; border-radius: 13px; background: linear-gradient(145deg, #fff, #fbfafc); }
.branch-label { display: flex; align-items: center; gap: 7px; color: var(--magenta); font-size: 9.3px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.branch-card h3 { margin: 7px 0 6px; font-size: 13px; }
.branch-arrow { color: var(--orange); font-weight: 900; }
.branch-card p { margin: 0 0 9px; color: var(--muted); font-size: 11.2px; line-height: 1.52; }
.report-footer { margin-top: 14px; padding: 12px 16px; display: flex; align-items: flex-start; gap: 9px; border-top: 1px solid #e8e3ea; color: var(--muted); font-size: 10.5px; line-height: 1.5; }
.report-footer__icon { width: 17px; height: 17px; flex: 0 0 auto; display: grid; place-items: center; border: 1px solid #cfc8d2; border-radius: 50%; font-family: Georgia, serif; }

.executive-view { padding-bottom: 24px; }
.executive-report-actions { min-height: 43px; margin-bottom: 10px; display: flex; align-items: center; justify-content: flex-end; gap: 8px; }
.executive-report-actions > span:first-child { margin-right: auto; color: var(--muted); font-size: 10.5px; font-weight: 650; }
.executive-report-actions > div { display: flex; gap: 7px; }
.copy-status { min-width: 76px; color: var(--success); font-size: 10.5px; font-weight: 750; }
.report-primary-button { padding: 9px 13px; border: 1px solid var(--plum); border-radius: 9px; background: var(--plum); color: #fff; font-size: 12px; font-weight: 750; cursor: pointer; }
.report-primary-button:hover { background: #4f0d49; }
.report-primary-button:focus-visible, .outline-button:focus-visible, .about-button:focus-visible { outline: 2px solid var(--magenta); outline-offset: 2px; }

.executive-report { width: min(100%, 1040px); margin: 0 auto; padding: 50px 57px 42px; border: 1px solid #ddd9df; background: #fff; box-shadow: 0 18px 50px rgba(43, 25, 46, .07); color: #211827; }
.executive-report__eyebrow { display: block; margin-bottom: 15px; color: var(--magenta); font-size: 10px; font-weight: 850; letter-spacing: .15em; text-transform: uppercase; }
.executive-report__header h2 { max-width: 900px; margin: 0; font-size: clamp(28px, 3.2vw, 39px); line-height: 1.12; letter-spacing: -.035em; }
.executive-report__header > p { max-width: 850px; margin: 14px 0 0; color: #615869; font-size: 14px; line-height: 1.55; }
.executive-report__rule { height: 2px; margin: 24px 0 16px; background: #29202d; }
.executive-report__meta { display: grid; grid-template-columns: 1.5fr .75fr 1fr 1fr; gap: 18px; }
.executive-report__meta div { min-width: 0; }
.executive-report__meta span { display: block; margin-bottom: 4px; color: #817886; font-size: 8.5px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.executive-report__meta strong { display: block; overflow-wrap: anywhere; font-size: 11px; line-height: 1.4; }

.executive-section { margin-top: 36px; }
.executive-section > h3 { margin: 0 0 20px; padding-bottom: 10px; border-bottom: 1px solid #ddd8df; font-size: 22px; line-height: 1.25; letter-spacing: -.02em; }
.executive-section > h3 span { color: var(--plum); }
.executive-section > p { margin: 0 0 13px; font-size: 13.5px; line-height: 1.66; }
.executive-section__intro { color: #5d5561; }
.executive-callout { margin-bottom: 20px; padding: 20px 23px; border-left: 4px solid var(--plum); background: #f1edf2; font-size: 15px; font-weight: 780; line-height: 1.55; }

.executive-ranking { border-bottom: 1px solid #ded8e0; }
.executive-ranking__head, .executive-ranking__row { display: grid; grid-template-columns: 38px minmax(210px, 1fr) 105px 82px 170px; align-items: center; gap: 12px; }
.executive-ranking__head { min-height: 34px; padding: 0 8px; border-bottom: 1px solid #ded8e0; color: #6d6371; font-size: 8.5px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.executive-ranking__row { min-height: 58px; padding: 9px 8px; border-bottom: 1px solid #eee9ef; font-size: 11px; line-height: 1.35; }
.executive-ranking__row:last-child { border-bottom: 0; }
.executive-ranking__row > span:first-child { font-weight: 800; }
.executive-ranking__row > div { display: grid; gap: 7px; }
.executive-ranking__row > div > strong { font-size: 12px; }
.executive-mini-bar { height: 4px; overflow: hidden; border-radius: 999px; background: #eee9ef; }
.executive-mini-bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--orange), #ff9b2a); }
.executive-relationship { justify-self: start; padding: 4px 7px; border-radius: 999px; background: #f2eff3; color: #5d5561; font-size: 8.7px; font-weight: 760; line-height: 1.25; }
.executive-relationship--aligned { background: #eef6f2; color: #2f745d; }
.executive-relationship--more { background: var(--violet-soft); color: #5846a6; }
.executive-relationship--less { background: var(--orange-soft); color: #a74f11; }

.executive-framework { display: grid; gap: 11px; }
.executive-framework article { padding: 14px 15px; display: grid; grid-template-columns: 30px 1fr; gap: 12px; border: 1px solid #e6e0e7; background: #fcfbfc; }
.executive-framework__number { width: 27px; height: 27px; display: grid; place-items: center; border-radius: 50%; background: var(--plum); color: #fff; font-size: 10px; font-weight: 850; }
.executive-framework h4 { margin: 0 0 5px; font-size: 13px; }
.executive-framework p { margin: 0 0 7px; color: #5e5662; font-size: 11.5px; line-height: 1.55; }
.executive-framework__factors { color: var(--magenta); font-size: 9px; font-weight: 760; }

.executive-relationship-summary { margin-bottom: 14px; display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid #e0dae2; }
.executive-relationship-summary div { padding: 13px 10px; text-align: center; }
.executive-relationship-summary div + div { border-left: 1px solid #e0dae2; }
.executive-relationship-summary strong { display: block; color: var(--plum); font-size: 22px; }
.executive-relationship-summary span { display: block; margin-top: 3px; color: #6b626e; font-size: 9px; line-height: 1.35; }
.executive-evidence-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.executive-evidence-columns article { padding: 16px; border: 1px solid #e5dfe7; background: #fffbf7; }
.executive-evidence-columns article + article { background: #fbfaff; }
.executive-evidence-columns h4 { margin: 0 0 10px; color: var(--orange-deep); font-size: 13px; }
.executive-evidence-columns article + article h4 { color: #5442ac; }
.executive-evidence-columns ul { margin: 0; padding-left: 18px; }
.executive-evidence-columns li { margin: 0 0 7px; color: #554d58; font-size: 11px; line-height: 1.5; }
.executive-evidence-columns li:last-child { margin-bottom: 0; }

.executive-patterns { display: grid; gap: 10px; }
.executive-patterns article { padding: 14px 15px; display: grid; grid-template-columns: minmax(160px, .75fr) minmax(240px, 1.4fr); gap: 8px 18px; border: 1px solid #e5dfe7; }
.executive-patterns article > div > span { color: var(--magenta); font-size: 8px; font-weight: 850; letter-spacing: .09em; text-transform: uppercase; }
.executive-patterns h4 { margin: 5px 0 0; font-size: 13px; }
.executive-patterns p { margin: 0; color: #554d58; font-size: 11.5px; line-height: 1.5; }
.executive-patterns article > strong { grid-column: 2; color: var(--plum); font-size: 9.5px; }

.executive-factor-findings { display: grid; gap: 18px; }
.executive-factor-findings article { break-inside: avoid; }
.executive-factor-findings h4 { margin: 0 0 9px; font-size: 14px; }
.executive-factor-findings p { margin: 8px 0 0; color: #504852; font-size: 12px; line-height: 1.6; }
.executive-finding-meta { display: flex; flex-wrap: wrap; gap: 8px; }
.executive-finding-meta span { padding: 5px 8px; border-radius: 4px; background: #f2eff3; color: #675f6b; font-size: 9px; }
.executive-finding-meta strong { color: var(--ink); }
.executive-verbatims { margin-top: 13px; display: grid; gap: 8px; }
.executive-verbatims h5 { margin: 0 0 1px; color: var(--magenta); font-size: 9px; font-weight: 850; letter-spacing: .09em; text-transform: uppercase; }
.executive-verbatims blockquote { margin: 0; padding: 12px 14px; border: 1px solid #e6e0e7; border-left: 3px solid var(--orange); background: #fcfafc; }
.executive-verbatims blockquote > p { margin: 0; color: #453d48; font-size: 11.5px; font-style: italic; line-height: 1.58; }
.executive-verbatims footer { margin-top: 8px; display: grid; gap: 2px; }
.executive-verbatims footer strong { font-size: 9.5px; }
.executive-verbatims footer span { color: #766d79; font-size: 8.7px; line-height: 1.4; }
.executive-section--method { padding: 19px 20px; border: 1px solid #ded8e0; background: #faf9fa; }
.executive-section--method > h3 { margin-bottom: 15px; }
.executive-section--method > p { color: #5c545f; font-size: 11.5px; line-height: 1.6; }

.about-dialog { width: min(620px, calc(100% - 32px)); padding: 0; border: 1px solid var(--border); border-radius: 18px; box-shadow: 0 28px 80px rgba(40, 18, 42, .22); }
.about-dialog::backdrop { background: rgba(28, 15, 31, .5); backdrop-filter: blur(3px); }
.about-dialog__header { padding: 21px 23px 17px; display: flex; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--border); }
.about-dialog__header h2 { margin: 5px 0 0; font-size: 21px; }
.about-dialog__body { padding: 20px 23px 24px; color: #4f4853; font-size: 12px; line-height: 1.6; }
.about-dialog__body p { margin-top: 0; }
.about-dialog__body ul { padding-left: 20px; }
.scope-note { margin-top: 14px; padding: 11px 12px; border-radius: 10px; background: #f6f1f6; color: var(--muted); }
.verbatim-dialog { width: min(760px, calc(100% - 32px)); }
.verbatim-dialog__body { max-height: min(620px, 70vh); overflow-y: auto; padding: 18px 21px 22px; }
.verbatim-intro { margin: 0 0 14px; color: var(--muted); font-size: 12px; line-height: 1.6; }
.verbatim-list { display: grid; gap: 10px; }
.verbatim-card { padding: 13px 14px; border: 1px solid var(--border); border-radius: 12px; background: linear-gradient(145deg, #fff, #fcfafc); }
.verbatim-card__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.verbatim-card__top > div:first-child { min-width: 0; display: grid; gap: 2px; }
.verbatim-patient { color: var(--ink); font-size: 12.5px; font-weight: 800; }
.verbatim-treatment { overflow: hidden; color: var(--muted); font-size: 10.5px; text-overflow: ellipsis; white-space: nowrap; }
.verbatim-badges { flex: 0 0 auto; display: flex; gap: 5px; }
.verbatim-badges span, .verbatim-association { padding: 4px 6px; border-radius: 999px; background: var(--plum-soft); color: var(--plum); font-size: 9px; font-weight: 760; }
.verbatim-card blockquote { margin: 10px 0 9px; padding-left: 12px; border-left: 3px solid var(--orange); color: #49414c; font-size: 13px; line-height: 1.58; }
.verbatim-association { display: inline-block; background: #f3f1f4; color: var(--muted); }
.verbatim-empty { padding: 28px; display: grid; gap: 5px; border: 1px dashed #d9cfdc; border-radius: 12px; background: #fbf9fb; text-align: center; }
.verbatim-empty strong { font-size: 13px; }
.verbatim-empty span { color: var(--muted); font-size: 11.5px; line-height: 1.55; }
.icon-button { width: 34px; height: 34px; border: 0; border-radius: 50%; background: #f3eff4; color: var(--plum); font-size: 20px; cursor: pointer; }
.fatal-state { margin: 40px auto; text-align: center; }
.report-state { min-height: 118px; padding: 25px 27px; display: flex; align-items: center; gap: 15px; }
.report-state h2 { margin: 0 0 5px; font-size: 18px; }
.report-state p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.55; }
.report-state__icon { width: 35px; height: 35px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 50%; background: var(--orange-soft); color: var(--orange-deep); font-size: 17px; font-weight: 850; }
.report-loader { width: 35px; height: 35px; flex: 0 0 auto; border: 3px solid #e8dfe8; border-top-color: var(--plum); border-radius: 50%; animation: report-spin .8s linear infinite; }
@keyframes report-spin { to { transform: rotate(360deg); } }

@media (max-width: 980px) {
  .primary-grid, .secondary-grid { grid-template-columns: 1fr; }
  .logic-panel { padding-bottom: 17px; }
  .component-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .workspace-toolbar { align-items: center; }
  .workspace-toolbar__actions { align-items: flex-end; flex-direction: column-reverse; }
  .executive-report { padding: 42px 40px 36px; }
  .executive-ranking__head, .executive-ranking__row { grid-template-columns: 34px minmax(190px, 1fr) 86px 72px 145px; gap: 9px; }
}

@media (max-width: 760px) {
  .page-shell { width: 100%; margin-top: 0; }
  .hero { height: 335px; border-radius: 0; }
  .hero__image { background-position: 62% center; }
  .hero::after { background: linear-gradient(90deg, rgba(28, 11, 32, .94), rgba(38, 15, 43, .58)); }
  .hero__content { padding: 38px 24px; justify-content: flex-end; }
  .hero p { font-size: 15px; }
  .report-workspace { padding: 21px 14px 0; }
  .workspace-toolbar { align-items: flex-start; flex-direction: column; }
  .workspace-toolbar__actions { width: 100%; align-items: stretch; flex-direction: row; justify-content: space-between; }
  .view-tabs { overflow-x: auto; }
  .executive-report { padding: 35px 24px 30px; }
  .executive-report__meta { grid-template-columns: 1fr 1fr; }
  .executive-ranking__head { display: none; }
  .executive-ranking__row { grid-template-columns: 30px minmax(150px, 1fr) 60px; }
  .executive-ranking__row > :nth-child(4), .executive-ranking__row > :nth-child(5) { display: none; }
  .executive-evidence-columns { grid-template-columns: 1fr; }
  .executive-patterns article { grid-template-columns: 1fr; }
  .executive-patterns article > strong { grid-column: 1; }
  .hierarchy-columns, .hierarchy-row { grid-template-columns: 27px minmax(120px, 1fr) minmax(110px, 1fr) 56px; }
  .hierarchy-columns span:last-child, .hierarchy-row .selected-count { display: none; }
  .component-list { grid-template-columns: 1fr; }
  .branch-list { grid-template-columns: 1fr; }
}

@media (max-width: 540px) {
  .report-nav span { padding-inline: 11px; }
  .hero__brand-mark { width: 74px; height: 47px; margin-left: -5px; margin-right: -14px; }
  .hero h1 { font-size: 37px; }
  .country-filter { width: 100%; overflow-x: auto; }
  .country-filter button { flex: 0 0 auto; }
  .workspace-toolbar h2 { font-size: 20px; }
  .workspace-toolbar__actions { display: grid; grid-template-columns: 1fr; }
  .view-tabs { width: 100%; }
  .view-tabs button { flex: 1 0 auto; }
  .about-button { justify-self: start; }
  .executive-report-actions { align-items: flex-start; flex-wrap: wrap; }
  .executive-report-actions > span:first-child { width: 100%; }
  .copy-status { min-width: 0; }
  .executive-report { padding: 30px 18px 26px; }
  .executive-report__header h2 { font-size: 28px; }
  .executive-section > h3 { font-size: 19px; }
  .executive-relationship-summary { grid-template-columns: 1fr 1fr; }
  .executive-relationship-summary div:nth-child(3) { border-left: 0; border-top: 1px solid #e0dae2; }
  .executive-relationship-summary div:nth-child(4) { border-top: 1px solid #e0dae2; }
  .executive-card { padding: 15px; }
  .executive-card__mark { width: 38px; height: 38px; }
  .hierarchy-columns, .hierarchy-row { grid-template-columns: 25px minmax(108px, 1fr) minmax(82px, .85fr) 46px; gap: 6px; }
  .comparison-columns { grid-template-columns: 1fr; }
  .spotlight-stats { grid-template-columns: 1fr 1fr 1fr; }
  .spotlight-panel .panel__header { align-items: flex-start; }
  .verbatim-button > span:nth-child(2) { display: none; }
  .verbatim-card__top { display: grid; }
  .verbatim-badges { justify-content: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}

@page { size: A4; margin: 13mm 14mm; }

@media print {
  html, body { min-width: 0; background: #fff !important; }
  body { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .site-header, .hero, .workspace-toolbar, .executive-report-actions, .about-dialog, .verbatim-dialog { display: none !important; }
  .page-shell { width: 100%; margin: 0; }
  .report-workspace, .executive-view { padding: 0; background: #fff; }
  .executive-report { width: 100%; margin: 0; padding: 0; border: 0; box-shadow: none; }
  .executive-report__header, .executive-framework article, .executive-patterns article, .executive-factor-findings article, .executive-verbatims blockquote, .executive-section--method { break-inside: avoid-page; }
  .executive-report__header h2 { font-size: 27px; }
  .executive-section { margin-top: 25px; }
  .executive-section > h3 { font-size: 17px; }
  .executive-callout { padding: 14px 16px; font-size: 12px; }
  .executive-section > p { font-size: 10.5px; }
  .executive-ranking__head, .executive-ranking__row { grid-template-columns: 30px minmax(180px, 1fr) 80px 65px 135px; }
}
