:root {
  --bg: #ffffff;
  --bg-soft: #f5f7fa;
  --bg-muted: #eef2f6;
  --text: #252a31;
  --text-muted: #5b6470;
  --line: #d9e0e8;
  --accent: #0f3f6d;
  --accent-deep: #0a2e50;
  --accent-warm: #3f4f5f;
  --accent-green: #5d7569;
  --accent-beige: #c7b69a;
  --level-strong: #0a2e50;
  --level-work: #50739a;
  --level-development: #8a97a3;
  --level-development-deep: #3f4f5f;
  --chart-grid: #dce4eb;
  --card: #ffffff;
  --shadow: 0 18px 50px rgba(20, 38, 57, 0.08);
  --radius: 8px;
  --container: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

a {
  color: inherit;
}

button {
  font: inherit;
}

.container {
  width: min(100% - 48px, var(--container));
  margin: 0 auto;
}

.narrow {
  max-width: 960px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
}

.brand {
  color: var(--accent-deep);
  font-size: 14px;
  font-weight: 750;
  letter-spacing: 0;
  text-decoration: none;
  text-transform: uppercase;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
}

.button-primary {
  background: var(--accent);
  color: #ffffff;
}

.button-secondary {
  background: #ffffff;
  color: var(--accent-deep);
  border-color: var(--line);
}

.button:focus-visible,
a:focus-visible,
.table-wrap:focus-visible {
  outline: 3px solid rgba(15, 63, 109, 0.24);
  outline-offset: 3px;
}

.hero {
  position: relative;
  min-height: calc(100vh - 76px);
  display: flex;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(15, 63, 109, 0.08) 1px, transparent 1px),
    linear-gradient(180deg, rgba(15, 63, 109, 0.08) 1px, transparent 1px),
    #f8fafc;
  background-size: 44px 44px;
  border-bottom: 1px solid var(--line);
}

.hero-author-logo {
  position: absolute;
  top: 28px;
  right: max(24px, calc((100vw - var(--container)) / 2));
  width: 74px;
  max-width: 18vw;
  height: auto;
  z-index: 1;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 64px;
  align-items: end;
  padding: 88px 0 72px;
}

.eyebrow,
.section-number,
.format-label {
  margin: 0 0 12px;
  color: var(--accent-warm);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
}

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

h1 {
  max-width: 880px;
  margin-bottom: 24px;
  color: var(--accent-deep);
  font-size: clamp(38px, 5vw, 64px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: 0;
}

.title-prefix,
.title-main {
  display: inline;
}

h2 {
  color: var(--accent-deep);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: 0;
}

h3 {
  color: var(--text);
  font-size: 20px;
  line-height: 1.3;
}

h4 {
  margin-bottom: 8px;
  color: var(--accent-deep);
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-subtitle {
  max-width: 780px;
  margin-bottom: 24px;
  color: #334155;
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 650;
  line-height: 1.28;
}

.hero-note {
  max-width: 650px;
  margin-bottom: 0;
  color: var(--text-muted);
  font-size: 18px;
}

.document-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 820px;
  margin-top: 30px;
}

.document-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 12px;
  color: var(--accent-deep);
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}

.hero-panel {
  display: grid;
  gap: 28px;
  padding: 32px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-top: 5px solid var(--accent);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.report-mark {
  display: grid;
  gap: 16px;
}

.report-mark span {
  width: 62px;
  height: 62px;
  display: inline-grid;
  place-items: center;
  background: var(--accent-deep);
  color: #ffffff;
  border-radius: 50%;
  font-weight: 800;
}

.report-mark strong {
  color: var(--accent-deep);
  font-size: 24px;
  line-height: 1.2;
}

.author {
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.author p {
  margin-bottom: 0;
  color: var(--text-muted);
}

.author-name {
  margin-bottom: 8px;
  color: var(--text);
  font-size: 18px;
  font-weight: 800;
}

.contact-name {
  color: var(--accent-deep);
  font-weight: 850;
}

.project-contact {
  margin-top: 24px;
  padding: 24px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.project-contact h3 {
  margin-bottom: 10px;
  color: var(--accent-deep);
}

.project-contact p {
  margin-bottom: 4px;
  color: var(--text-muted);
}

.project-contact a {
  color: var(--accent-deep);
  font-weight: 750;
  text-decoration: none;
}

.section {
  padding: 92px 0;
}

.intro-section {
  padding: 64px 0;
}

.section-muted {
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-methodology {
  background:
    linear-gradient(90deg, rgba(47, 119, 117, 0.08), transparent 36%),
    var(--bg-soft);
}

.section-methodology .section-heading {
  padding-left: 22px;
  border-left: 5px solid var(--accent-green);
}

.section-methodology .method-list article {
  border-left-color: var(--accent-green);
}

.section-group {
  background:
    linear-gradient(180deg, rgba(8, 47, 85, 0.035), transparent 360px),
    #ffffff;
}

.section-group .chart-card,
.section-group .insight-card {
  border-top: 4px solid var(--accent-deep);
}

.section-profile {
  background:
    linear-gradient(90deg, rgba(47, 119, 117, 0.08), transparent 42%),
    var(--bg-soft);
}

.section-profile .profile-card,
.section-profile .chart-card {
  border-top-color: var(--accent-green);
}

#use-data {
  background:
    linear-gradient(90deg, rgba(63, 79, 95, 0.06), transparent 42%),
    #ffffff;
}

#use-data .section-heading {
  padding-left: 22px;
  border-left: 5px solid var(--accent-warm);
}

.lead {
  margin-bottom: 0;
  color: var(--accent-deep);
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 700;
  line-height: 1.32;
}

.lead-support {
  max-width: 900px;
  margin: 22px 0 0;
  color: var(--text-muted);
  font-size: 18px;
  line-height: 1.65;
}

.basis-block {
  margin-top: 30px;
  padding: 26px 28px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-left: 5px solid var(--accent-deep);
  border-radius: var(--radius);
  box-shadow: 0 12px 32px rgba(20, 38, 57, 0.06);
}

.basis-block h2 {
  margin-bottom: 14px;
  color: var(--accent-deep);
  font-size: 24px;
  line-height: 1.2;
}

.basis-block p {
  margin-bottom: 10px;
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.55;
}

.basis-block p:last-child {
  margin-bottom: 0;
}

.decision-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 34px;
}

.decision-strip div {
  padding: 22px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-top: 4px solid var(--accent-deep);
  border-radius: var(--radius);
  box-shadow: 0 12px 32px rgba(20, 38, 57, 0.06);
}

.decision-strip span {
  display: block;
  margin-bottom: 10px;
  color: var(--accent-warm);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.decision-strip strong {
  display: block;
  color: var(--text);
  font-size: 16px;
  line-height: 1.45;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 38px;
}

.section-heading h2 {
  margin-bottom: 0;
}

.section-hero {
  margin-bottom: 34px;
  padding: 38px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-left: 6px solid var(--accent-deep);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.section-hero h2 {
  max-width: 900px;
  margin-bottom: 14px;
}

.section-hero p:last-child {
  max-width: 880px;
  margin-bottom: 0;
  color: var(--text-muted);
}

.section-hero-group {
  border-left-color: var(--accent-deep);
}

.section-hero-profile {
  border-left-color: var(--accent-green);
}

.project-map {
  padding: 74px 0;
  background: #ffffff;
}

.project-map-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.project-map-card {
  min-height: 260px;
  padding: 32px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-top: 5px solid var(--accent-deep);
  border-radius: var(--radius);
}

.project-map-card span {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--accent-warm);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-map-card h3 {
  margin-bottom: 14px;
  color: var(--accent-deep);
  font-size: 24px;
}

.project-map-card p {
  margin-bottom: 0;
  color: var(--text-muted);
}

.table-of-contents {
  padding: 0 0 72px;
}

.toc-panel {
  display: grid;
  grid-template-columns: minmax(260px, 0.7fr) minmax(0, 1fr);
  gap: 40px;
  padding: 34px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.toc-panel h2 {
  font-size: clamp(26px, 3vw, 34px);
}

.toc-panel ol {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 24px;
  padding-left: 22px;
  margin: 0;
}

.toc-panel li {
  color: var(--text-muted);
  font-weight: 750;
}

.toc-panel a {
  color: var(--accent-deep);
  text-decoration: none;
}

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

.info-card,
.step {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.info-card {
  min-height: 260px;
  padding: 28px;
}

.info-card h3,
.step h3 {
  margin-bottom: 14px;
}

.info-card p,
.step p,
.method-list p,
.important-note p,
.boundary-block p,
.summary-section p {
  color: var(--text-muted);
}

.card-index {
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  margin-bottom: 22px;
  background: var(--bg-muted);
  color: var(--accent-deep);
  border-radius: 50%;
  font-size: 14px;
  font-weight: 800;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1.4fr);
  gap: 64px;
}

.method-list {
  display: grid;
  gap: 18px;
}

.method-list article {
  padding: 28px;
  background: #ffffff;
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
}

.method-list h3 {
  margin-bottom: 8px;
}

.method-list p {
  margin-bottom: 0;
}

.important-note,
.boundary-block,
.report-fragment {
  padding: 36px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.important-note {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 28px;
  margin-top: 42px;
}

.important-note strong {
  color: var(--accent-deep);
  font-size: 18px;
}

.important-note p {
  margin-bottom: 0;
}

.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: var(--shadow);
}

table {
  width: 100%;
  min-width: 820px;
  border-collapse: collapse;
}

th,
td {
  padding: 22px 24px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}

th {
  background: var(--accent-deep);
  color: #ffffff;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.3;
}

td {
  color: var(--text-muted);
}

td:first-child {
  width: 24%;
  color: var(--text);
  font-weight: 800;
}

tbody tr:last-child td {
  border-bottom: 0;
}

.report-fragment {
  position: relative;
  border-top: 5px solid var(--accent-warm);
}

.report-fragment h2 {
  margin-bottom: 24px;
}

.report-fragment h3 {
  margin-top: 28px;
  margin-bottom: 12px;
}

.check-list {
  padding-left: 0;
  margin: 0 0 26px;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 10px;
  color: var(--text-muted);
}

.check-list li::before {
  content: "";
  position: absolute;
  top: 11px;
  left: 0;
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
}

.fragment-conclusion {
  margin-top: 28px;
  padding: 24px;
  background: var(--bg-soft);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
}

.fragment-conclusion strong {
  display: block;
  margin-bottom: 8px;
  color: var(--accent-deep);
}

.fragment-conclusion p {
  margin-bottom: 0;
}

.steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(190px, 1fr));
  gap: 14px;
}

.step {
  min-height: 280px;
  padding: 24px;
}

.step span {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  margin-bottom: 20px;
  background: var(--accent-deep);
  color: #ffffff;
  border-radius: 50%;
  font-weight: 800;
}

.boundary-block {
  border-left: 5px solid var(--accent-warm);
}

.summary-section {
  background: var(--accent-deep);
  color: #ffffff;
}

.summary-section .section-number {
  color: #d9e0e8;
}

.summary-section h2,
.summary-section p,
.summary-section li {
  color: #ffffff;
}

.summary-section .check-list li::before {
  background: #d9e0e8;
}

.summary-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
  gap: 72px;
  align-items: start;
}

.final-statement {
  margin: 28px 0 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.45;
}

.diagnostic-section .section-heading p,
.profile-layout p,
.use-card p {
  color: var(--text-muted);
}

.section-subtitle {
  margin-bottom: 16px;
  color: var(--accent-deep);
  font-size: 20px;
  font-weight: 800;
  line-height: 1.35;
}

.group-overview {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 26px;
}

.group-overview div {
  min-height: 126px;
  padding: 24px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.group-overview span {
  display: block;
  margin-bottom: 8px;
  color: var(--accent-warm);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.group-overview strong {
  display: block;
  color: var(--text);
  font-size: 17px;
  line-height: 1.45;
}

.scale-block {
  padding: 30px;
  margin-bottom: 26px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-left: 5px solid var(--accent);
  border-radius: var(--radius);
}

.scale-block h3 {
  margin-bottom: 18px;
}

.scale-block ol {
  display: grid;
  gap: 10px;
  padding-left: 22px;
  margin: 0;
  color: var(--text-muted);
}

.scale-block strong {
  color: var(--accent-deep);
}

.diagnostic-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 24px;
}

.diagnostic-card,
.use-card {
  padding: 28px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.diagnostic-card {
  border-top: 4px solid var(--accent);
}

.diagnostic-card h3,
.use-card h3 {
  margin-bottom: 12px;
}

.diagnostic-card p,
.use-card p {
  margin-bottom: 0;
}

.score-panel {
  display: grid;
  gap: 0;
  margin: 24px 0;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.score-row {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(220px, 0.8fr) 56px;
  gap: 24px;
  align-items: center;
  padding: 22px 24px;
  border-bottom: 1px solid var(--line);
}

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

.score-row strong {
  display: block;
  margin-bottom: 4px;
  color: var(--text);
  font-size: 17px;
}

.score-row span {
  display: block;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.45;
}

.score-row b {
  color: var(--accent-deep);
  font-size: 18px;
  text-align: right;
}

.score-bar {
  height: 10px;
  overflow: hidden;
  background: var(--bg-muted);
  border-radius: 999px;
}

.score-bar span {
  height: 100%;
  background: linear-gradient(90deg, var(--accent-deep), var(--accent));
  border-radius: inherit;
}

.diagnostic-table {
  margin-top: 24px;
}

.diagnostic-table table {
  min-width: 980px;
}

.score-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 54px;
  min-height: 34px;
  padding: 6px 12px;
  background: var(--bg-muted);
  color: var(--accent-deep);
  border-radius: 999px;
  font-weight: 800;
}

.insight-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 28px 0 4px;
}

.insight-card {
  padding: 28px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-top: 4px solid var(--accent);
  border-radius: var(--radius);
}

.insight-card h3 {
  margin-bottom: 14px;
}

.insight-card p {
  margin-bottom: 0;
  color: var(--text-muted);
}

.insight-card .check-list {
  margin-bottom: 0;
}

.group-recommendation {
  margin-top: 28px;
  padding: 30px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-left: 5px solid var(--accent-warm);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.group-recommendation strong {
  display: block;
  margin-bottom: 10px;
  color: var(--accent-deep);
  font-size: 18px;
}

.group-recommendation p {
  margin-bottom: 0;
  color: var(--text-muted);
}

.analytics-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin: 28px 0;
  min-width: 0;
}

.analytics-grid-wide {
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr);
}

.analytics-grid > *,
.analytics-grid-wide > * {
  min-width: 0;
}

.chart-card {
  padding: 30px;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.chart-card > * {
  min-width: 0;
}

.chart-card-large {
  min-height: 100%;
}

.chart-heading {
  margin-bottom: 24px;
}

.chart-heading h3 {
  margin-bottom: 10px;
}

.chart-heading p:not(.format-label) {
  margin-bottom: 0;
  color: var(--text-muted);
}

.chart-js-frame {
  position: relative;
  display: block;
  width: 100%;
  height: 440px;
}

.chart-fallback {
  display: none;
}

.bar-chart.chart-fallback,
.compare-chart.chart-fallback {
  display: none;
}

.chart-fallback > * + * {
  margin-top: 12px;
}

.data-caption {
  margin: -8px 0 28px;
  padding: 14px 18px;
  color: var(--text-muted);
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent-beige);
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 700;
}

.no-charts .chart-js-frame {
  display: none;
}

.no-charts .chart-fallback {
  display: block;
}

.compare-js-frame {
  height: 600px;
}

.individual-js-frame {
  height: 460px;
}

.profile-chart-person {
  margin-bottom: 10px;
  color: var(--accent-deep);
  font-weight: 800;
}

.bar-chart,
.mini-bars {
  display: grid;
  gap: 12px;
  min-width: 0;
  max-width: 100%;
}

.bar-row {
  display: grid;
  grid-template-columns: minmax(180px, 1.4fr) minmax(160px, 2fr) 48px;
  align-items: center;
  gap: 16px;
  min-width: 0;
  padding: 12px 14px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.mini-bar {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 8px 12px;
  min-width: 0;
  padding: 10px 12px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.bar-row > *,
.mini-bar > * {
  min-width: 0;
}

.bar-row span,
.mini-bar span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  max-width: 100%;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
  color: var(--text);
  font-size: 14px;
  font-weight: 750;
  line-height: 1.25;
}

.mini-bar span {
  display: flex;
  align-items: center;
  gap: 10px;
  grid-column: 1;
  grid-row: 1;
  min-width: 0;
  line-height: 1.25;
}

.mini-bar .bar-track {
  grid-column: 1 / -1;
  grid-row: 2;
  width: 100%;
  min-width: 0;
}

.mini-bar em {
  min-width: 26px;
  min-height: 26px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  color: #ffffff;
  background: var(--accent-deep);
  border-radius: 50%;
  font-size: 12px;
  font-style: normal;
  font-weight: 850;
}

.bar-row b,
.mini-bar b {
  min-width: 0;
  color: var(--accent-deep);
  font-size: 15px;
  text-align: right;
  white-space: nowrap;
}

.mini-bar b {
  grid-column: -2 / -1;
  grid-row: 1;
  justify-self: end;
}

.bar-track {
  width: 100%;
  min-width: 120px;
  max-width: 100%;
  height: 18px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: inset 0 1px 2px rgba(20, 38, 57, 0.06);
}

.bar-track i {
  display: block;
  width: var(--value);
  height: 100%;
  background: linear-gradient(90deg, var(--level-work), #7890a6);
  border-radius: inherit;
}

.bar-development {
  background: linear-gradient(90deg, var(--level-development-deep), var(--level-development)) !important;
}

.bar-mid {
  background: linear-gradient(90deg, var(--level-work), #7890a6) !important;
}

.bar-strong {
  background: linear-gradient(90deg, var(--level-strong), #1c557f) !important;
}

.bar-scale {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  margin-left: calc(210px + 14px);
  padding-top: 2px;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 750;
}

.bar-scale span {
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 750;
  text-align: left;
}

.matrix-card {
  grid-column: 1 / -1;
}

.priority-matrix {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 14px;
}

.matrix-axis-y,
.matrix-axis-x {
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.matrix-axis-y {
  writing-mode: vertical-rl;
  rotate: 180deg;
  align-self: center;
  justify-self: center;
}

.matrix-axis-x {
  grid-column: 2;
  justify-self: center;
  text-align: center;
}

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

.matrix-quadrant {
  min-height: 260px;
  padding: 24px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.matrix-quadrant span {
  display: block;
  margin-bottom: 12px;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.matrix-quadrant h4 {
  margin-bottom: 14px;
  color: var(--accent-deep);
  font-size: 18px;
  line-height: 1.25;
  text-transform: none;
}

.matrix-quadrant ul {
  display: grid;
  gap: 8px;
  padding-left: 18px;
  margin: 0 0 18px;
  color: var(--text);
  font-weight: 750;
}

.matrix-quadrant p {
  margin-bottom: 0;
  color: var(--text-muted);
}

.matrix-support {
  border-top: 4px solid var(--accent-green);
}

.matrix-priority {
  border-top: 4px solid var(--accent-deep);
}

.matrix-maintain {
  border-top: 4px solid #7890a6;
}

.matrix-target {
  border-top: 4px solid var(--accent-beige);
}

.metric-card {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1fr);
  gap: 28px;
  align-items: stretch;
  padding: 0;
  background: #ffffff;
  border: 1px solid var(--line);
  border-left: 6px solid var(--accent-deep);
  border-radius: var(--radius);
  box-shadow: 0 20px 52px rgba(20, 38, 57, 0.08);
  overflow: hidden;
}

.readiness-card,
.potential-index-card {
  grid-column: 1 / -1;
}

.metric-main,
.metric-note {
  padding: 30px;
}

.metric-main {
  background: linear-gradient(180deg, #ffffff, #f7f9fb);
}

.metric-note {
  display: grid;
  align-content: center;
  background: #ffffff;
  border-left: 1px solid var(--line);
}

.metric-kicker {
  margin-bottom: 18px;
  color: var(--accent-warm);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.08em;
  line-height: 1.25;
  text-transform: uppercase;
}

.metric-value {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 14px 0 18px;
  color: var(--accent-deep);
}

.metric-value span {
  font-size: clamp(62px, 8vw, 92px);
  font-weight: 850;
  line-height: 1;
  letter-spacing: 0;
}

.metric-value small {
  color: var(--text-muted);
  font-size: 15px;
  font-weight: 850;
  text-transform: uppercase;
}

.metric-scale {
  height: 20px;
  overflow: hidden;
  background: var(--bg-muted);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.metric-scale i {
  display: block;
  width: var(--value);
  height: 100%;
  background: linear-gradient(90deg, var(--accent-deep), #245c8f);
  border-radius: inherit;
}

.metric-note strong {
  display: block;
  margin-bottom: 10px;
  color: var(--accent-deep);
  font-size: 18px;
}

.metric-note p,
.metric-note span {
  color: var(--text-muted);
}

.metric-note p {
  margin-bottom: 14px;
}

.metric-note span {
  display: block;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  font-weight: 750;
}

.metric-status {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  margin: 18px 0 12px;
  padding: 7px 12px;
  color: var(--accent-deep);
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 850;
  line-height: 1.2;
  white-space: normal;
}

.metric-focus {
  margin: 0;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.45;
}

.metric-focus strong {
  color: var(--accent-deep);
}

.segmentation-card {
  grid-column: 1 / -1;
}

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

.segment-cards article {
  padding: 22px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-top: 3px solid #b9c5ce;
  border-radius: var(--radius);
}

.segment-cards article:nth-child(1) {
  border-top-color: var(--level-strong);
}

.segment-cards article:nth-child(2) {
  border-top-color: var(--level-work);
}

.segment-cards article:nth-child(3) {
  border-top-color: var(--level-development);
}

.segment-cards strong,
.segment-cards span {
  display: block;
}

.segment-cards strong {
  color: var(--accent-deep);
  font-size: 30px;
  line-height: 1;
}

.segment-cards span {
  margin: 8px 0;
  color: var(--text);
  font-weight: 850;
  line-height: 1.3;
}

.segment-cards p {
  margin-bottom: 0;
  color: var(--text-muted);
  font-size: 14px;
}

.segment-meter {
  height: 12px;
  margin: 14px 0;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 999px;
}

.segment-meter i {
  display: block;
  width: var(--value);
  height: 100%;
  border-radius: inherit;
}

.segment-strong {
  background: linear-gradient(90deg, var(--level-strong), #1c557f);
}

.segment-work {
  background: linear-gradient(90deg, var(--level-work), #8ca2b4);
}

.segment-development {
  background: linear-gradient(90deg, var(--level-development-deep), var(--level-development));
}

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

.profile-card,
.profile-summary,
.profile-columns article,
.profile-recommendation {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.profile-card {
  padding: 30px;
  border-top: 5px solid var(--accent-deep);
  box-shadow: var(--shadow);
}

.profile-card dl {
  display: grid;
  gap: 18px;
  margin: 24px 0 0;
}

.profile-card dt {
  margin-bottom: 4px;
  color: var(--accent-deep);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.profile-card dd {
  margin: 0;
  color: var(--text-muted);
}

.profile-content {
  display: grid;
  gap: 20px;
}

.profile-analytics {
  margin: 0;
  min-width: 0;
}

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

.compare-card {
  box-shadow: none;
}

.compare-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
  margin: -6px 0 24px;
}

.compare-legend span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 750;
}

.compare-legend i {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.compare-group {
  background: #7890a6;
}

.compare-person {
  background: var(--accent-deep);
}

.compare-chart {
  display: grid;
  gap: 12px;
}

.compare-row {
  display: grid;
  grid-template-columns: minmax(180px, 1.4fr) minmax(160px, 2fr) minmax(92px, auto) 48px;
  gap: 16px;
  align-items: center;
  min-width: 0;
  padding: 14px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.compare-row:last-child {
  padding-bottom: 14px;
}

.compare-row > * {
  min-width: 0;
}

.compare-row > strong {
  min-width: 0;
  max-width: 100%;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
  color: var(--text);
  font-size: 15px;
  line-height: 1.25;
}

.compare-scale {
  display: grid;
  gap: 7px;
  width: 100%;
  min-width: 120px;
  max-width: 100%;
  padding: 8px 10px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.compare-scale i {
  display: block;
  width: var(--value);
  height: 14px;
  border-radius: 999px;
}

.compare-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  align-items: center;
  min-width: 0;
}

.compare-values span,
.compare-values b {
  display: inline-flex;
  justify-content: center;
  min-width: 0;
  min-height: 28px;
  padding: 5px 8px;
  border-radius: 999px;
  font-size: 13px;
  line-height: 1.2;
  text-align: right;
  white-space: nowrap;
}

.compare-values span {
  color: var(--text-muted);
  background: var(--bg-muted);
  font-weight: 800;
}

.compare-values b {
  color: #ffffff;
  background: var(--accent-deep);
  font-weight: 850;
}

.compare-group-bar {
  background: linear-gradient(90deg, #7890a6, #9aabba);
}

.compare-person-bar {
  background: linear-gradient(90deg, var(--accent-deep), #245c8f);
}

.compare-delta {
  display: inline-flex;
  justify-content: center;
  min-width: 0;
  min-height: 28px;
  padding: 6px 8px;
  color: var(--accent-deep);
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  font-style: normal;
  font-weight: 850;
  line-height: 1.2;
  text-align: right;
  white-space: nowrap;
}

.profile-summary,
.profile-columns article,
.profile-recommendation {
  padding: 28px;
}

.profile-summary p,
.profile-recommendation p {
  margin-bottom: 0;
}

.profile-summary p + p {
  margin-top: 14px;
}

.profile-table {
  box-shadow: none;
}

.profile-table table {
  min-width: 760px;
}

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

.profile-columns .check-list {
  margin-bottom: 0;
}

.profile-recommendation {
  border-left: 4px solid var(--accent-warm);
}

.potential-block {
  padding: 30px;
  background: var(--accent-deep);
  color: #ffffff;
  border-radius: var(--radius);
}

.potential-block span {
  display: block;
  margin-bottom: 10px;
  color: #d9e0e8;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.potential-block strong {
  display: block;
  margin-bottom: 14px;
  color: #ffffff;
  font-size: 24px;
  line-height: 1.25;
}

.potential-block p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.86);
}

.profile-recommendation strong {
  display: block;
  margin-bottom: 8px;
  color: var(--accent-deep);
}

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

.use-card {
  min-height: 230px;
  background: var(--bg-soft);
}

@media (max-width: 1050px) {
  .hero-grid,
  .two-column,
  .summary-grid,
  .profile-layout {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 40px;
    align-items: start;
  }

  .hero-panel {
    max-width: 620px;
  }

  .cards-grid,
  .group-overview,
  .decision-strip,
  .project-map-grid,
  .insight-grid,
  .use-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .analytics-grid,
  .analytics-grid-wide,
  .profile-analytics {
    grid-template-columns: 1fr;
  }

  .toc-panel {
    grid-template-columns: 1fr;
  }

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

  .score-row {
    grid-template-columns: minmax(220px, 1fr) minmax(180px, 0.8fr) 52px;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(100% - 32px, var(--container));
  }

  .site-header {
    position: static;
  }

  .header-inner,
  .header-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .header-inner {
    padding: 16px 0;
    gap: 14px;
  }

  .brand {
    text-align: center;
  }

  .button {
    width: 100%;
  }

  .hero {
    min-height: auto;
  }

  .hero-grid {
    padding: 58px 0 48px;
  }

  .hero-panel,
  .important-note,
  .boundary-block,
  .report-fragment,
  .chart-card {
    padding: 24px;
  }

  .section {
    padding: 64px 0;
  }

  .intro-section {
    padding: 44px 0;
  }

  .cards-grid,
  .steps,
  .diagnostic-grid,
  .group-overview,
  .decision-strip,
  .project-map-grid,
  .insight-grid,
  .analytics-grid,
  .analytics-grid-wide,
  .profile-analytics,
  .profile-columns,
  .use-grid {
    grid-template-columns: 1fr;
  }

  .project-map {
    padding: 56px 0;
  }

  .table-of-contents {
    padding-bottom: 52px;
  }

  .toc-panel {
    padding: 24px;
  }

  .toc-panel ol {
    grid-template-columns: 1fr;
  }

  .info-card,
  .step {
    min-height: auto;
  }

  .important-note {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .table-wrap {
    margin-right: -16px;
    border-right: 0;
    border-radius: var(--radius) 0 0 var(--radius);
  }

  .score-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .score-row b {
    text-align: left;
  }

  .bar-row {
    grid-template-columns: minmax(0, 1fr) 48px;
    gap: 10px 12px;
  }

  .bar-row span {
    grid-column: 1 / -1;
  }

  .bar-row .bar-track {
    grid-column: 1;
  }

  .bar-row b {
    grid-column: 2;
    text-align: right;
  }

  .mini-bar {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .mini-bar span {
    grid-column: 1;
    grid-row: 1;
  }

  .mini-bar .bar-track {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .mini-bar b {
    grid-column: -2 / -1;
    grid-row: 1;
  }

  .bar-scale {
    margin-left: 0;
    padding-right: 48px;
  }

  .priority-matrix {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .matrix-axis-y {
    writing-mode: horizontal-tb;
    rotate: 0deg;
    justify-self: start;
  }

  .matrix-axis-x {
    grid-column: 1;
    justify-self: start;
    text-align: left;
  }

  .matrix-grid {
    grid-template-columns: 1fr;
  }

  .matrix-quadrant {
    min-height: auto;
  }

  .readiness-card {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .metric-card {
    grid-template-columns: 1fr;
  }

  .chart-js-frame {
    height: 360px;
  }

  .individual-js-frame {
    height: 480px;
  }

  .compare-js-frame {
    height: 620px;
  }

  .segment-cards {
    grid-template-columns: 1fr;
  }

  .compare-row {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px 12px;
  }

  .compare-row > strong,
  .compare-scale {
    grid-column: 1 / -1;
  }

  .compare-values {
    max-width: none;
    justify-self: start;
  }

  .compare-delta {
    justify-self: end;
  }

  .potential-index-card {
    grid-template-columns: 1fr;
  }

  table {
    min-width: 760px;
  }

  th,
  td {
    padding: 18px;
  }

}

@media print {
  @page {
    size: A4;
    margin: 14mm;
  }

  html {
    scroll-behavior: auto;
  }

  * {
    box-shadow: none !important;
  }

  body {
    background: #ffffff;
    color: #1f2933;
    font-size: 10.5pt;
    line-height: 1.45;
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
  }

  .site-header {
    display: none !important;
  }

  .header-inner {
    min-height: 32px;
  }

  .button,
  .header-actions {
    display: none !important;
  }

  .container {
    width: 100%;
  }

  .hero {
    min-height: auto;
    break-after: auto;
  }

  .hero-author-logo {
    top: 14mm !important;
    right: 14mm !important;
    width: 66px !important;
    max-width: 66px !important;
  }

  .section,
  .hero-grid {
    padding: 22px 0;
  }

  .section {
    break-inside: auto;
  }

  .section,
  .section-group,
  .section-profile,
  #use-data {
    background: #ffffff !important;
  }

  .hero-grid {
    padding-top: 22px;
  }

  .hero-grid,
  .two-column,
  .summary-grid,
  .profile-layout,
  .project-map-grid,
  .toc-panel {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  h1 {
    font-size: 34pt;
    word-break: normal;
    overflow-wrap: normal;
    hyphens: none;
  }

  h1 .title-prefix,
  h1 .title-main {
    display: block;
  }

  h1 .title-main {
    white-space: nowrap;
  }

  h2 {
    font-size: 22pt;
  }

  h3 {
    font-size: 14pt;
  }

  h1,
  h2,
  h3,
  h4,
  .section-heading,
  .section-hero,
  .chart-heading {
    break-after: avoid;
  }

  .section-heading,
  .section-hero,
  .chart-heading {
    break-inside: avoid;
    page-break-inside: avoid;
  }

  .lead {
    font-size: 17pt;
  }

  .hero-panel,
  .basis-block,
  .group-overview,
  .project-map-card,
  .info-card,
  .step,
  .important-note,
  .boundary-block,
  .report-fragment,
  .chart-card,
  .metric-card,
  .profile-card,
  .profile-summary,
  .profile-columns article,
  .profile-recommendation,
  .group-recommendation,
  .potential-block,
  .insight-card,
  .use-card,
  .toc-panel {
    box-shadow: none !important;
    break-inside: avoid;
    page-break-inside: avoid;
  }

  .group-overview,
  .profile-card,
  .section-hero,
  .chart-card,
  .metric-card,
  .insight-card,
  .use-card {
    box-shadow: none !important;
  }

  .group-overview::before,
  .group-overview::after,
  .profile-card::before,
  .profile-card::after,
  .section-hero::before,
  .section-hero::after,
  .chart-card::before,
  .chart-card::after {
    display: none !important;
    content: none !important;
  }

  .section-hero,
  .chart-card,
  .metric-card,
  .profile-card,
  .insight-card,
  .use-card,
  .group-overview > *,
  .project-map-card,
  .info-card,
  .step,
  .important-note,
  .boundary-block,
  .report-fragment {
    border-top-color: #d9e0e8 !important;
  }

  .project-map-card,
  .info-card,
  .step,
  .use-card,
  .insight-card {
    min-height: auto !important;
    padding: 14px 16px !important;
  }

  .project-map-card span,
  .step span,
  .card-index {
    margin-bottom: 10px !important;
  }

  .step span,
  .card-index {
    width: 28px !important;
    height: 28px !important;
    font-size: 9pt !important;
  }

  .project-map-card h3,
  .info-card h3,
  .step h3,
  .use-card h3,
  .insight-card h3 {
    margin-bottom: 6px !important;
  }

  .project-map-card p,
  .info-card p,
  .step p,
  .use-card p,
  .insight-card p {
    margin-bottom: 0 !important;
  }

  .section-group .chart-card,
  .section-group .insight-card,
  .section-profile .profile-card,
  .section-profile .chart-card,
  .use-card,
  .insight-card,
  .profile-card {
    border-top-width: 1px !important;
  }

  .summary-section,
  .potential-block {
    background: #ffffff !important;
    color: #1f2933 !important;
    border: 1px solid #d9e0e8 !important;
  }

  .summary-section .section-number,
  .summary-section h2,
  .summary-section p,
  .summary-section li,
  .potential-block,
  .potential-block span,
  .potential-block strong,
  .potential-block p {
    color: #1f2933 !important;
  }

  .summary-section .check-list li::before,
  .check-list li::before,
  .metric-scale i,
  .segment-meter i,
  .compare-person-bar,
  .compare-group-bar,
  .bar-track i {
    background-color: #6f7f8d !important;
    background-image: none !important;
  }

  .bar-strong,
  .bar-mid,
  .bar-development,
  .potential-index-card .metric-scale i {
    background: #6f7f8d !important;
  }

  .section-heading,
  .basis-block,
  #use-data .section-heading,
  .section-methodology .section-heading {
    border-left-color: #d9e0e8 !important;
  }

  .basis-block {
    margin-top: 16px !important;
    padding: 14px 16px !important;
    background: #ffffff !important;
    border: 1px solid #d9e0e8 !important;
    border-left: 1px solid #d9e0e8 !important;
    box-shadow: none !important;
    break-inside: avoid !important;
    page-break-inside: avoid !important;
  }

  .basis-block h2 {
    margin-bottom: 8px !important;
    font-size: 13pt !important;
    line-height: 1.2 !important;
  }

  .basis-block p {
    margin-bottom: 6px !important;
    font-size: 9pt !important;
    line-height: 1.35 !important;
  }

  .cards-grid,
  .steps,
  .group-overview,
  .decision-strip,
  .insight-grid,
  .analytics-grid,
  .analytics-grid-wide,
  .profile-analytics,
  .profile-columns,
  .use-grid,
  .matrix-grid,
  .toc-panel ol {
    grid-template-columns: 1fr;
  }

  .table-wrap {
    overflow: visible;
    box-shadow: none;
    break-inside: auto;
    page-break-inside: auto;
  }

  .section-hero,
  .summary-section,
  .diagnostic-section,
  .section-profile {
    break-before: auto;
  }

  #group-slice,
  #individual-profile,
  #use-data {
    break-before: page;
  }

  .project-map,
  .table-of-contents,
  .intro-section {
    break-before: auto;
  }

  #diagnostic-conclusions {
    break-before: auto !important;
    break-after: page !important;
    page-break-after: always !important;
  }

  #diagnostic-conclusions .report-fragment {
    break-inside: avoid !important;
    page-break-inside: avoid !important;
  }

  #architecture {
    break-before: page !important;
    page-break-before: always !important;
  }

  #boundaries {
    break-before: auto !important;
    break-after: auto !important;
  }

  #boundaries .boundary-block {
    break-inside: avoid !important;
    page-break-inside: avoid !important;
  }

  #management-summary {
    break-before: auto !important;
    page-break-before: auto !important;
  }

  table,
  .diagnostic-table table,
  .profile-table table {
    width: 100%;
    min-width: 0;
    table-layout: fixed;
    font-size: 10.5px;
    line-height: 1.35;
  }

  thead {
    display: table-header-group;
  }

  th,
  td {
    padding: 8px 10px;
    vertical-align: top;
    word-break: normal;
    overflow-wrap: break-word;
    hyphens: none;
  }

  tr,
  .info-card,
  .step,
  .matrix-quadrant,
  .segment-cards article,
  .insight-card,
  .use-card {
    break-inside: avoid;
    page-break-inside: avoid;
  }

  .chart-js-frame,
  body.charts-ready .chart-js-frame,
  .no-charts .chart-js-frame {
    display: none !important;
  }

  .chart-fallback,
  body.charts-ready .chart-fallback,
  .no-charts .chart-fallback {
    display: block !important;
  }

  .chart-fallback > * + * {
    margin-top: 6px;
  }

  .chart-fallback {
    max-width: 100%;
    overflow: hidden;
  }

  .chart-card,
  .metric-card,
  .matrix-card,
  .segmentation-card,
  .compare-card {
    margin-bottom: 12px;
    padding: 14px;
  }

  .chart-heading {
    margin-bottom: 10px;
  }

  .chart-heading h3,
  .metric-main h3 {
    margin-bottom: 6px;
  }

  .bar-chart,
  .mini-bars,
  .compare-chart {
    gap: 6px;
  }

  .bar-row,
  .mini-bar,
  .compare-row {
    padding: 6px 8px;
    gap: 8px;
  }

  .bar-row span,
  .mini-bar span,
  .compare-row > strong {
    font-size: 8.5pt;
    line-height: 1.2;
  }

  .bar-track {
    height: 12px;
  }

  .bar-scale {
    margin-left: calc(170px + 8px);
    font-size: 8pt;
  }

  .metric-main,
  .metric-note {
    padding: 14px;
  }

  .metric-value {
    margin: 6px 0 8px;
  }

  .metric-value span {
    font-size: 34pt;
  }

  .metric-scale {
    height: 12px;
  }

  .metric-status {
    margin: 8px 0 6px;
    padding: 4px 8px;
    font-size: 8.5pt;
  }

  .metric-kicker,
  .format-label,
  .section-number {
    font-size: 8pt;
  }

  .metric-focus,
  .metric-note p,
  .metric-note span,
  .segment-cards p,
  .matrix-quadrant p {
    font-size: 8.5pt;
    line-height: 1.3;
  }

  .metric-note span {
    padding-top: 8px;
  }

  .priority-matrix {
    grid-template-columns: 18px minmax(0, 1fr);
    gap: 8px;
  }

  .matrix-grid {
    gap: 8px;
  }

  .matrix-quadrant,
  .segment-cards article {
    min-height: 0;
    padding: 10px;
  }

  .matrix-quadrant span {
    margin-bottom: 6px;
    font-size: 7.5pt;
  }

  .matrix-quadrant h4 {
    margin-bottom: 6px;
    font-size: 10pt;
  }

  .matrix-quadrant ul {
    gap: 3px;
    margin-bottom: 8px;
  }

  .segment-cards {
    gap: 8px;
  }

  .segment-cards strong {
    font-size: 18pt;
  }

  .segment-meter {
    height: 8px;
    margin: 8px 0;
  }

  .compare-scale {
    gap: 4px;
    padding: 5px 6px;
  }

  .compare-scale i {
    height: 9px;
  }

  .compare-values span,
  .compare-values b,
  .compare-delta {
    min-height: 20px;
    padding: 3px 5px;
    font-size: 8pt;
  }

  .data-caption {
    margin: 0 0 12px;
    padding: 8px 10px;
    font-size: 8.5pt;
  }

  .metric-card,
  .segment-cards {
    grid-template-columns: 1fr;
  }

  .bar-row {
    display: grid;
    grid-template-columns: minmax(170px, 1.2fr) minmax(150px, 1.5fr) 48px;
    gap: 10px;
    align-items: center;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
    break-inside: avoid;
    page-break-inside: avoid;
  }

  .compare-row {
    display: grid;
    grid-template-columns: minmax(170px, 1fr) 44px 44px 48px;
    gap: 10px;
    align-items: center;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
    break-inside: avoid;
    page-break-inside: avoid;
  }

  .mini-bar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 48px;
    gap: 8px 10px;
    align-items: center;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
    break-inside: avoid;
    page-break-inside: avoid;
  }

  .bar-track,
  .compare-scale {
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }

  .compare-scale {
    display: none;
  }

  .bar-row > *,
  .mini-bar > *,
  .compare-row > * {
    min-width: 0;
  }

  .bar-row span,
  .mini-bar span,
  .compare-row strong {
    min-width: 0;
    line-height: 1.25;
    word-break: normal;
    overflow-wrap: break-word;
  }

  .mini-bar span {
    grid-column: 1;
    grid-row: 1;
  }

  .mini-bar .bar-track {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .bar-row b,
  .mini-bar b,
  .compare-values,
  .compare-delta {
    white-space: nowrap;
    text-align: right;
  }

  .mini-bar b {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
  }

  .compare-values {
    display: contents;
  }

  .compare-values span,
  .compare-values b,
  .compare-delta {
    min-width: 0;
    padding: 2px 3px;
    justify-self: stretch;
    text-align: center;
  }

  .compare-values span {
    grid-column: 2;
  }

  .compare-values b {
    grid-column: 3;
  }

  .compare-delta {
    grid-column: 4;
  }

  .bar-scale {
    margin-left: calc(170px + 10px);
    padding-right: 48px;
    max-width: 100%;
  }

  .chart-card,
  .metric-card,
  .profile-card,
  .insight-card,
  .group-recommendation,
  .profile-summary,
  .profile-columns article,
  .potential-block,
  .profile-recommendation {
    break-inside: avoid;
    page-break-inside: avoid;
  }

  .hero-panel,
  .scale-block,
  .metric-card,
  .profile-recommendation,
  .boundary-block,
  .important-note,
  .group-recommendation,
  .potential-block {
    border-top: 1px solid #d9e0e8 !important;
    border-left: 1px solid #d9e0e8 !important;
  }

  .group-overview div,
  .chart-card,
  .metric-card,
  .profile-card,
  .insight-card,
  .use-card,
  .project-map-card,
  .info-card,
  .step,
  .matrix-quadrant,
  .segment-cards article {
    background: #ffffff !important;
    border-color: #d9e0e8 !important;
  }

  .matrix-axis-y,
  .matrix-axis-x {
    display: none !important;
    visibility: hidden !important;
    width: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
  }

  .priority-matrix {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    overflow: hidden !important;
  }

  .matrix-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .matrix-quadrant {
    min-height: 0 !important;
    padding: 9px 10px !important;
    border-top-width: 1px !important;
    break-inside: avoid !important;
    page-break-inside: avoid !important;
  }

  .matrix-quadrant span {
    margin-bottom: 4px !important;
    color: #5b6470 !important;
    font-size: 7pt !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
  }

  .matrix-quadrant h4 {
    margin-bottom: 5px !important;
    font-size: 9.5pt !important;
  }

  .matrix-quadrant ul {
    gap: 2px !important;
    margin-bottom: 5px !important;
    padding-left: 14px !important;
    font-size: 8.2pt !important;
    line-height: 1.25 !important;
  }

  .matrix-quadrant p {
    font-size: 8pt !important;
    line-height: 1.25 !important;
  }

  table,
  .diagnostic-table table,
  .profile-table table {
    border-color: #e3e8ee !important;
    width: 100% !important;
    min-width: 0 !important;
    table-layout: fixed !important;
    font-size: 10.5px !important;
    line-height: 1.35 !important;
  }

  th,
  td {
    padding: 8px 10px !important;
    border-color: #e3e8ee !important;
    vertical-align: top !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
    hyphens: none !important;
  }

  th {
    background: #f7f9fb !important;
    color: #1f2933 !important;
    font-weight: 800 !important;
  }

  td:first-child {
    width: 22% !important;
  }

  .diagnostic-table th:first-child,
  .diagnostic-table td:first-child {
    width: 23% !important;
  }

  .diagnostic-table th:nth-child(2),
  .diagnostic-table td:nth-child(2),
  .profile-table table:has(th:nth-child(3)) th:nth-child(2),
  .profile-table table:has(th:nth-child(3)) td:nth-child(2) {
    width: 14% !important;
  }

  .profile-table table:has(th:nth-child(3)) th:first-child,
  .profile-table table:has(th:nth-child(3)) td:first-child {
    width: 24% !important;
  }

  .score-badge {
    padding: 3px 6px !important;
    background: #f7f9fb !important;
    border: 1px solid #d9e0e8 !important;
    color: #1f2933 !important;
  }

  .section-profile .profile-layout {
    grid-template-columns: 190px minmax(0, 1fr) !important;
    gap: 12px !important;
    align-items: start !important;
  }

  .section-profile .chart-card-large {
    display: none !important;
  }

  .profile-card,
  .profile-summary,
  .profile-columns article,
  .profile-recommendation,
  .potential-block {
    padding: 12px !important;
  }

  .profile-card dl {
    gap: 8px !important;
    margin-top: 12px !important;
  }

  .profile-card dt {
    margin-bottom: 2px !important;
    font-size: 7.5pt !important;
  }

  .profile-card dd {
    font-size: 8.5pt !important;
    line-height: 1.3 !important;
  }

  .profile-layout,
  .profile-content {
    display: block !important;
    gap: 0 !important;
  }

  .profile-columns {
    display: block !important;
    gap: 0 !important;
  }

  .profile-columns article {
    margin-bottom: 16px !important;
    break-inside: avoid !important;
    page-break-inside: avoid !important;
  }

  #individual-profile {
    break-before: page !important;
    page-break-before: always !important;
  }

  #individual-profile .profile-layout,
  #individual-profile .profile-content,
  #individual-profile .profile-columns {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  #individual-profile .profile-content {
    display: flex !important;
    flex-direction: column !important;
  }

  #individual-profile .profile-development-columns {
    order: 50 !important;
  }

  #individual-profile .profile-preliminary-block {
    order: 60 !important;
  }

  #individual-profile .profile-recommendations-table {
    order: 70 !important;
  }

  #individual-profile .profile-final-block {
    order: 80 !important;
    break-after: page !important;
    page-break-after: always !important;
  }

  #individual-profile .profile-card,
  #individual-profile .metric-card {
    break-inside: avoid !important;
    page-break-inside: avoid !important;
  }

  #individual-profile .profile-columns article {
    margin-bottom: 16px !important;
    break-inside: avoid !important;
    page-break-inside: avoid !important;
  }

  #individual-profile .table-wrap {
    clear: both !important;
    display: block !important;
    break-inside: auto !important;
    page-break-inside: auto !important;
    margin-top: 10px !important;
    margin-bottom: 14px !important;
  }

  #individual-profile table {
    break-inside: auto !important;
    page-break-inside: auto !important;
  }

  #individual-profile thead {
    display: table-header-group !important;
  }

  .profile-summary p,
  .profile-recommendation p,
  .potential-block p,
  .profile-columns li {
    font-size: 8.5pt !important;
    line-height: 1.35 !important;
  }

  .potential-block strong {
    margin-bottom: 8px !important;
    font-size: 12pt !important;
  }

  .compare-card {
    break-inside: auto !important;
    page-break-inside: auto !important;
  }

  #use-data {
    break-before: page !important;
    page-break-before: always !important;
    padding-top: 18px !important;
    border-top: 1px solid #d9e0e8 !important;
  }

  #use-data .section-heading {
    margin-bottom: 14px !important;
    padding-left: 0 !important;
    border-left: 0 !important;
  }

  #use-data .use-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 16px !important;
    margin-top: 18px !important;
  }

  #use-data .use-card {
    min-height: auto !important;
    padding: 18px 20px !important;
    background: #ffffff !important;
    background-image: none !important;
    border: 1px solid #d8dee8 !important;
    border-radius: 8px !important;
    box-shadow: none !important;
    break-inside: avoid !important;
    page-break-inside: avoid !important;
  }

  #use-data .use-card h3 {
    margin-bottom: 10px !important;
    color: #1f2933 !important;
    font-size: 10pt !important;
    line-height: 1.25 !important;
  }

  #use-data .use-card li {
    margin-bottom: 6px !important;
    color: #4b5563 !important;
    font-size: 8.5pt !important;
    line-height: 1.35 !important;
  }

  #use-data .use-card .check-list {
    margin-bottom: 0 !important;
  }

  #use-data .project-contact {
    margin-top: 18px !important;
    padding: 16px 18px !important;
    background: #ffffff !important;
    border: 1px solid #d8dee8 !important;
    border-radius: 8px !important;
    box-shadow: none !important;
    break-inside: avoid !important;
    page-break-inside: avoid !important;
  }

  #use-data .project-contact h3 {
    margin-bottom: 8px !important;
    color: #0a2e50 !important;
    font-size: 10pt !important;
  }

  #use-data .project-contact p {
    margin-bottom: 2px !important;
    color: #4b5563 !important;
    font-size: 8.5pt !important;
    line-height: 1.32 !important;
  }

  .group-overview > div,
  .profile-card,
  .section-hero,
  .chart-card,
  .metric-card,
  .insight-card,
  .use-card {
    background: #ffffff !important;
    background-image: none !important;
    border: 1px solid #d8dee8 !important;
    box-shadow: none !important;
  }

  .group-overview::before,
  .group-overview::after,
  .group-overview > div::before,
  .group-overview > div::after,
  .profile-card::before,
  .profile-card::after,
  .section-hero::before,
  .section-hero::after,
  .chart-card::before,
  .chart-card::after,
  .metric-card::before,
  .metric-card::after {
    display: none !important;
    content: none !important;
    background: transparent !important;
    background-image: none !important;
    border: 0 !important;
    box-shadow: none !important;
  }

  .section-group .chart-card,
  .section-group .insight-card,
  .section-profile .profile-card,
  .section-profile .chart-card,
  .metric-card,
  .profile-card,
  .chart-card,
  .section-hero {
    border-top: 1px solid #d8dee8 !important;
    border-bottom: 1px solid #d8dee8 !important;
    border-left: 1px solid #d8dee8 !important;
    border-right: 1px solid #d8dee8 !important;
  }
}
