* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #ffffff;
  color: #111827;
  min-height: 100vh;
  padding: 0 0 72px;
}

/* ── Password Gate ── */
@keyframes pw-shake-anim {
  0%,100% { transform: translateX(0); }
  20%,60% { transform: translateX(-8px); }
  40%,80% { transform: translateX(8px); }
}
.pw-shake { animation: pw-shake-anim 0.45s ease; }
.pw-gate {
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
}
.pw-gate-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  max-width: 340px;
  width: 100%;
  padding: 0 20px;
}
.pw-gate-logo { width: 48px; height: 48px; object-fit: contain; opacity: 0.85; }
.pw-gate-title {
  font-size: 22px;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.02em;
  text-align: center;
}
.pw-gate-sub { font-size: 14px; color: #6b7280; }
.pw-gate-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  margin-top: 8px;
}
.pw-gate-input {
  width: 100%;
  padding: 12px 16px;
  font-size: 15px;
  font-family: inherit;
  border-radius: 10px;
  border: 1.5px solid rgba(0,0,0,0.12);
  outline: none;
  color: #0f172a;
  background: #fafafa;
  transition: border-color 0.15s;
}
.pw-gate-input:focus { border-color: #0f172a; }
.pw-gate-input.pw-gate-error { border-color: #ef4444; }
.pw-gate-err-msg { font-size: 12px; color: #ef4444; padding-left: 4px; }
.pw-gate-btn {
  margin-top: 4px;
  padding: 12px;
  border-radius: 10px;
  border: none;
  background: #0f172a;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  letter-spacing: 0.02em;
  transition: opacity 0.15s;
}
.pw-gate-btn:hover { opacity: 0.85; }

/* ── Layout with sidebar ── */
.ivc-layout {
  display: flex;
  min-height: 100vh;
}
.ivc-main {
  flex: 1;
  min-width: 0;
  margin-left: 220px;
}

/* ── Table of Contents (fixed sidebar) ── */
.toc-sidebar {
  position: fixed;
  top: 49px;
  left: 0;
  width: 220px;
  height: calc(100vh - 49px);
  overflow-y: auto;
  border-right: 1px solid rgba(0,0,0,0.06);
  background: #fafbfc;
  z-index: 100;
  padding: 20px 0;
  scrollbar-width: thin;
}
.toc-inner {
  padding: 0 16px;
}
.toc-title {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: #9CA3AF;
  padding: 8px 12px 12px;
}
.toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.toc-link {
  display: block;
  width: 100%;
  text-align: left;
  padding: 7px 12px;
  font-size: 12.5px;
  font-weight: 500;
  color: #6b7280;
  background: none;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-family: inherit;
  line-height: 1.4;
  transition: all 0.15s;
}
.toc-link:hover {
  color: #0f172a;
  background: rgba(0,0,0,0.03);
}
.toc-link.toc-active {
  color: #0f172a;
  font-weight: 700;
  background: rgba(135,175,199,0.12);
  border-left: 2px solid #87AFC7;
  padding-left: 10px;
}
.toc-sublist {
  list-style: none;
  padding: 0;
  margin: 1px 0 6px 0;
}
.toc-sublist li {
  list-style: none;
}
.toc-sublist li::marker {
  content: none;
}
.toc-link-sub {
  padding: 4px 12px 4px 26px !important;
  font-size: 11px !important;
  font-weight: 400 !important;
  font-style: italic !important;
  color: #9ca3af !important;
}
.toc-link-sub:hover {
  color: #6b7280 !important;
  background: rgba(0,0,0,0.02) !important;
}
.toc-link-sub.toc-active {
  color: #0f172a !important;
  font-weight: 600 !important;
  font-style: italic !important;
  padding-left: 24px !important;
}

/* ── Nav ── */
.kinro-nav {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 32px;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.kinro-nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}
.kinro-nav-logo img {
  width: 26px;
  height: 26px;
  border-radius: 6px;
}
.kinro-nav-wordmark {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: #0f172a;
}
.kinro-nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 7px 18px;
  border-radius: 8px;
  background: #0f172a;
  color: #fff;
  font-size: 12.5px;
  font-weight: 600;
  font-family: inherit;
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: opacity 0.15s;
}
.kinro-nav-cta:hover { opacity: 0.85; }

/* ── Header ── */
header {
  padding: 48px 48px 32px;
  max-width: 860px;
}
header h1 {
  font-size: 42px;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.5px;
  line-height: 1.1;
}
header h1 .accent { color: #87AFC7; }
header .subtitle {
  margin-top: 14px;
  font-size: 15px;
  color: #6b7280;
  line-height: 1.6;
  max-width: 640px;
}
header .scope-note {
  margin-top: 12px;
  max-width: 660px;
  padding-left: 12px;
  border-left: 2px solid #dbe8ef;
  color: #64748b;
  font-size: 12.5px;
  line-height: 1.55;
}
header .updated {
  margin-top: 10px;
  font-size: 12px;
  color: #9CA3AF;
}

/* ── Section blocks ── */
.section-block {
  margin-top: 64px;
  padding-top: 44px;
  border-top: 1px solid rgba(0,0,0,0.08);
}
.section-block--subsection {
  margin-top: 44px;
  padding-top: 32px;
  border-top: 1px solid rgba(135,175,199,0.22);
}
.section-header {
  padding: 0 48px 28px;
}
.section-header h2 {
  font-size: 28px;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.5px;
}
.section-header h2 .accent { color: #87AFC7; }
.section-block--subsection .section-header h2 {
  font-size: 24px;
  font-style: italic;
  letter-spacing: -0.25px;
}
.section-block--subsection .section-header p {
  max-width: 760px;
}
.section-header p {
  margin-top: 6px;
  font-size: 13px;
  color: #9CA3AF;
  line-height: 1.5;
  max-width: 700px;
}

/* ── Structure diagram ── */
.structure-diagram {
  padding: 0 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}
.structure-diagram.horizontal {
  flex-direction: row;
  align-items: stretch;
  gap: 0;
}
.structure-box {
  width: 100%;
  max-width: 720px;
  border-radius: 16px;
  padding: 28px 32px;
  position: relative;
}
.structure-diagram.horizontal .structure-box {
  flex: 1;
  max-width: none;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.structure-diagram.horizontal .structure-box.intermediary {
  max-width: none;
  flex: 0.75;
}
.structure-box.manufacturing {
  background: #0f172a;
  color: #EEF4F8;
}
.structure-box.intermediary {
  background: #EEF4F8;
  color: #0f172a;
  border: 1.5px solid #d1dce4;
  max-width: 480px;
  padding: 20px 24px;
}
.structure-box.retail {
  background: linear-gradient(135deg, #f0f7fb 0%, #e8f0f6 100%);
  color: #0f172a;
  border: 1.5px solid #87AFC7;
}
.structure-box h3 {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.structure-box .box-aka {
  font-size: 11px;
  opacity: 0.6;
  font-style: italic;
  margin-bottom: 8px;
  line-height: 1.4;
}
.structure-box.manufacturing .box-aka {
  color: #cbd5e1;
}
.structure-box .box-sub {
  font-size: 12px;
  opacity: 0.7;
  margin-bottom: 14px;
}
.structure-box .box-players {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}
.box-players-split {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: auto;
}
.players-group-label {
  display: block;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #64748b;
  margin-bottom: 6px;
}
.structure-box.manufacturing .players-group-label {
  color: #94a3b8;
}
.players-group-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.structure-connector {
  width: 2px;
  height: 32px;
  background: #d1dce4;
  position: relative;
}
.structure-connector::after {
  content: '▼';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 10px;
  color: #d1dce4;
}
.structure-connector-h {
  width: 32px;
  min-width: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.structure-connector-h::before {
  content: '';
  width: 100%;
  height: 2px;
  background: #d1dce4;
}
.structure-connector-h::after {
  content: '▶';
  position: absolute;
  right: -4px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 10px;
  color: #d1dce4;
}

/* ── Structure diagram v3 (market map) ── */
.structure-redesign .section-header {
  padding-bottom: 22px;
}
.sd-map {
  position: relative;
  margin: 0 48px;
  isolation: isolate;
}
.sd-stage {
  position: relative;
  z-index: 1;
  padding: 48px 20px 50px;
  display: grid;
  grid-template-columns: minmax(320px, 420px) minmax(200px, 260px) minmax(320px, 420px);
  gap: 34px;
  align-items: stretch;
  justify-content: center;
}
.sd-domain {
  position: relative;
  border-radius: 26px;
  width: 100%;
  min-height: 258px;
  padding: 22px 24px 20px;
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 24px 58px -34px rgba(15, 23, 42, 0.52);
}
.sd-domain::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.sd-domain--mfg {
  background:
    radial-gradient(95% 80% at 0% 0%, rgba(135, 175, 199, 0.25) 0%, transparent 60%),
    radial-gradient(70% 70% at 110% 105%, rgba(255, 255, 255, 0.09) 0%, transparent 62%),
    linear-gradient(150deg, #263447 0%, #111827 48%, #0b1020 100%);
  color: #e2e8f0;
  border: 1px solid rgba(255, 255, 255, 0.10);
}
.sd-domain--mfg::before {
  background: linear-gradient(135deg, rgba(255,255,255,0.12) 0%, transparent 36%);
}
.sd-domain--retail {
  background:
    radial-gradient(92% 75% at 100% 0%, rgba(255, 102, 0, 0.13) 0%, transparent 62%),
    radial-gradient(70% 70% at 0% 100%, rgba(135, 175, 199, 0.12) 0%, transparent 65%),
    linear-gradient(150deg, #ffffff 0%, #f8fbfd 100%);
  color: #0f172a;
  border: 1px solid #dbe8ef;
}
.sd-domain--retail::before {
  background: linear-gradient(135deg, rgba(255,255,255,0.78) 0%, transparent 42%);
}
.sd-domain-eyebrow,
.sd-domain-title,
.sd-domain-aka,
.sd-domain-copy,
.sd-domain-pills,
.sd-retail-split,
.sd-kinro-pin {
  position: relative;
  z-index: 1;
}
.sd-domain-eyebrow {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #64748b;
  margin-bottom: 10px;
}
.sd-domain--mfg .sd-domain-eyebrow { color: #9cc2d9; }
.sd-domain--retail .sd-domain-eyebrow { color: #ff6600; }
.sd-domain-title {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 5px;
  line-height: 1.25;
}
.sd-domain-aka {
  font-size: 12px;
  color: #64748b;
  line-height: 1.45;
}
.sd-domain--mfg .sd-domain-aka { color: #a9b7c7; }
.sd-domain-copy {
  margin-top: 14px;
  max-width: 300px;
  font-size: 12px;
  line-height: 1.55;
  color: #64748b;
}
.sd-domain--mfg .sd-domain-copy { color: #c2ccd8; }
.sd-domain-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: auto;
  padding-top: 18px;
}
.sd-intermediaries-flow {
  align-self: center;
  display: flex;
  align-items: center;
  min-width: 0;
}
.sd-flow-label {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  padding: 8px 0;
  border-radius: 999px;
  background: transparent;
  border: 0;
  color: #355f76;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1;
  text-transform: uppercase;
}
.sd-flow-line {
  position: relative;
  flex: 1 1 0;
  min-width: 44px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, #6f9fbb 0%, #a8c7d8 50%, #6f9fbb 100%);
}
.sd-flow-line--left::before,
.sd-flow-line--right::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 0;
  height: 0;
  transform: translateY(-50%);
}
.sd-flow-line--left::before {
  left: -1px;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-right: 10px solid #6f9fbb;
}
.sd-flow-line--right::after {
  right: -1px;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 10px solid #6f9fbb;
}
.sd-kinro-pin {
  position: absolute;
  top: 18px;
  right: 18px;
  background: linear-gradient(135deg, #ff7a1a 0%, #ff6600 100%);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 5px 13px;
  border-radius: 999px;
  letter-spacing: 0.02em;
  box-shadow: 0 10px 22px -12px rgba(255, 102, 0, 0.85);
}
.sd-kinro-pin strong { font-weight: 800; }
.sd-retail-split {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-top: auto;
  padding-top: 18px;
}
.sd-retail-group-label {
  display: block;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #64748b;
  margin-bottom: 7px;
}
.sd-retail-group-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.sd-map-caption {
  position: absolute;
  left: 56px;
  right: 56px;
  bottom: 22px;
  z-index: 1;
  display: flex;
  justify-content: center;
  pointer-events: none;
}
.sd-map-caption span {
  max-width: 640px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(219, 232, 239, 0.9);
  color: #64748b;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.45;
  text-align: center;
  box-shadow: 0 12px 30px -24px rgba(15, 23, 42, 0.45);
}
.sd-insight-wrap {
  padding: 0 48px;
  margin-top: 18px;
}
@media (max-width: 1100px) {
  .sd-stage {
    grid-template-columns: minmax(280px, 1fr) minmax(190px, 220px) minmax(280px, 1fr);
    gap: 26px;
    padding-left: 40px;
    padding-right: 40px;
  }
}
@media (max-width: 1120px) {
  .sd-map {
    margin: 0 20px;
    min-height: auto;
  }
  .sd-stage {
    min-height: auto;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .sd-intermediaries-flow {
    order: 2;
    display: grid;
    grid-template-columns: auto auto;
    column-gap: 10px;
    align-items: center;
    justify-content: center;
    width: auto;
    height: auto;
    margin: 8px auto 10px;
  }
  .sd-flow-label {
    font-size: 10px;
    padding: 0;
  }
  .sd-flow-line {
    grid-row: 1;
    grid-column: 1;
    width: 3px;
    min-width: 0;
    height: 46px;
    background: linear-gradient(180deg, #6f9fbb 0%, #a8c7d8 50%, #6f9fbb 100%);
  }
  .sd-flow-line--right {
    display: none;
  }
  .sd-flow-line--left::before,
  .sd-flow-line--left::after {
    content: "";
    position: absolute;
    width: 0;
    height: 0;
  }
  .sd-flow-line--left::before {
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
    border-bottom: 10px solid #6f9fbb;
    border-top: 0;
  }
  .sd-flow-line--left::after {
    top: auto;
    right: auto;
    bottom: -1px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
    border-top: 10px solid #6f9fbb;
    border-bottom: 0;
  }
  .sd-domain {
    max-width: min(100%, 560px);
    min-height: 0;
    align-self: center;
  }
  .sd-domain--mfg { order: 1; }
  .sd-domain--retail { order: 4; }
  .sd-map-caption {
    position: static;
    margin-top: 18px;
    padding: 0;
  }
  .sd-map-caption span {
    border-radius: 18px;
  }
  .sd-insight-wrap {
    padding: 0;
    margin-top: 16px;
  }
}

/* ── Pills / tags ── */
.pill {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}
.pill.dark {
  background: rgba(255,255,255,0.1);
  color: #cbd5e1;
  border: 1px solid rgba(255,255,255,0.15);
}
.pill.light {
  background: #fff;
  color: #4a7d99;
  border: 1px solid #d1dce4;
}
.pill.accent {
  background: #87AFC7;
  color: #fff;
  border: 1px solid #87AFC7;
}
.retail-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.kinro-badge {
  background: #ff6600;
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: -10px;
  position: relative;
  z-index: 1;
  letter-spacing: 0.02em;
}
.kinro-badge strong {
  font-weight: 700;
}
.pill.kinro {
  background: #ff6600;
  color: #fff;
  border: 1px solid #ff6600;
}

/* ── Rosetta Stone table ── */
.rosetta-table {
  padding: 0 48px;
  overflow-x: auto;
}
.rosetta-table table {
  width: 100%;
  max-width: 780px;
  border-collapse: collapse;
  font-size: 13px;
}
.rosetta-table th {
  text-align: left;
  padding: 10px 16px;
  font-size: 11px;
  font-weight: 700;
  color: #9CA3AF;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  border-bottom: 2px solid #e5e9ee;
}
.rosetta-table td {
  padding: 10px 16px;
  border-bottom: 1px solid #f3f4f6;
  color: #374151;
}
.rosetta-table tr:hover td { background: #f9fafb; }
.rosetta-table td:first-child {
  font-weight: 700;
  color: #0f172a;
}

/* ── Player cards ── */
.player-grid {
  padding: 0 48px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 14px;
}
.player-card {
  background: #fff;
  border: 1.5px solid #e5e9ee;
  border-radius: 14px;
  padding: 22px 20px;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.player-card:hover {
  border-color: #87AFC7;
  box-shadow: 0 4px 18px rgba(135,175,199,0.15);
}
.player-card h4 {
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 6px;
}
.player-card .card-role {
  font-size: 12px;
  color: #6b7280;
  line-height: 1.5;
  margin-bottom: 10px;
}
.player-card .card-examples {
  font-size: 11px;
  color: #9CA3AF;
}
.player-card .card-examples strong {
  color: #6b7280;
}

/* ── Glossary tooltips ── */
.glossary-tip {
  text-decoration: underline;
  text-decoration-style: dotted;
  text-decoration-color: #9ca3af;
  text-underline-offset: 2px;
  cursor: help;
  position: relative;
}
.glossary-tip:hover {
  text-decoration-color: #0f172a;
}
.glossary-tip::after {
  content: attr(data-tip);
  position: absolute;
  bottom: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  background: #0f172a;
  color: #f8fafc;
  font-size: 12px;
  font-weight: 400;
  font-style: normal;
  line-height: 1.45;
  padding: 8px 12px;
  border-radius: 8px;
  width: max-content;
  max-width: 280px;
  white-space: normal;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.15s;
  z-index: 100;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.glossary-tip:hover::after {
  opacity: 1;
}
.glossary-tip::before {
  content: "";
  position: absolute;
  bottom: calc(100% + 2px);
  left: 50%;
  transform: translateX(-50%);
  border: 4px solid transparent;
  border-top-color: #0f172a;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.15s;
  z-index: 100;
}
.glossary-tip:hover::before {
  opacity: 1;
}

/* ── Acquisition Taxonomy ── */
.acq-taxonomy {
  padding: 0 48px;
}
.acq-group {
  border: 1.5px solid #e5e9ee;
  border-radius: 14px;
  overflow: visible;
  background: #fff;
}
.acq-group-header {
  padding: 20px 24px 14px;
  border-bottom: 1px solid #f0f1f3;
}
.acq-group-title {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.acq-group-title h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
}
.acq-tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
.acq-group-note {
  margin: 6px 0 0;
  font-size: 13px;
  color: #6b7280;
  line-height: 1.5;
}
.acq-table-wrap {
  overflow-x: auto;
}
.acq-table-wrap--single {
  border: 1.5px solid #e5e9ee;
  border-radius: 14px;
  background: #fff;
}
.acq-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.acq-table thead {
  background: #f8f9fa;
}
.acq-table th {
  padding: 10px 16px;
  text-align: left;
  font-size: 11px;
  font-weight: 700;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 1px solid #e5e9ee;
}
.acq-table td {
  padding: 12px 16px;
  vertical-align: top;
  border-bottom: 1px solid #f0f1f3;
  color: #374151;
  line-height: 1.45;
}
.acq-table tbody tr:last-child td {
  border-bottom: none;
}
.acq-table tbody tr:hover {
  background: #fafbfc;
}
.acq-ch-name {
  font-weight: 700;
  color: #0f172a;
  white-space: nowrap;
}
.acq-actor {
  min-width: 180px;
}
.acq-actor-title {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-weight: 800;
  color: #0f172a;
}
.acq-row-tag {
  display: inline-block;
  padding: 2px 7px;
  border-radius: 5px;
  font-size: 9px;
  font-weight: 800;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.35px;
}
.acq-actor-note {
  margin-top: 5px;
  font-size: 12px;
  color: #6b7280;
  line-height: 1.45;
}
.acq-ch-desc {
  font-size: 12.5px;
  color: #6b7280;
}
.acq-ch-cost {
  min-width: 140px;
}
.acq-cost-label {
  font-weight: 700;
  font-size: 13px;
  color: #0f172a;
  margin-bottom: 4px;
}
.acq-bar-track {
  position: relative;
  height: 6px;
  background: #f0f1f3;
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 4px;
}
.acq-bar-fill {
  position: absolute;
  top: 0;
  height: 100%;
  border-radius: 3px;
  min-width: 3px;
  transition: width 0.3s ease;
}
.acq-cost-source {
  font-size: 11px;
  color: #9ca3af;
  font-style: italic;
}
.acq-ch-sourcing {
  font-size: 12px;
  color: #6b7280;
  font-style: italic;
}
.acq-expense-type {
  font-size: 12.5px;
  font-weight: 700;
  color: #374151;
}
.acq-ch-examples {
  font-size: 12.5px;
  color: #6b7280;
}
.acq-price-context {
  margin: 4px 0 0;
  font-size: 12px;
  color: #9ca3af;
  font-style: italic;
}

/* ── Channel chips ── */
.channel-grid {
  padding: 0 48px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.channel-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: #fff;
  border: 1.5px solid #e5e9ee;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 600;
  color: #374151;
  transition: border-color 0.15s;
}
.channel-chip:hover { border-color: #87AFC7; }
.channel-chip .ch-icon {
  font-size: 16px;
  flex-shrink: 0;
}
.channel-chip.highlighted {
  border-color: #ff6600;
  background: #fff8f3;
  color: #c45500;
  font-weight: 700;
}

/* ── Flow diagrams ── */
.flow-section {
  padding: 0 48px;
}
.flow-block {
  max-width: 720px;
  margin-bottom: 36px;
}
.flow-block--wide {
  max-width: 100%;
}
.flow-block h4 {
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 6px;
}
.flow-block .flow-desc {
  font-size: 12px;
  color: #6b7280;
  margin-bottom: 14px;
  line-height: 1.5;
}
.cac-channels {
  margin: 10px 0 14px;
}
.distribution-channel-context {
  margin: 14px 0 22px;
  padding: 0 48px;
  box-sizing: border-box;
}
.cac-intro,
.cac-note {
  max-width: 760px;
  color: #4b5563;
  font-size: 13px;
  line-height: 1.6;
}
.cac-intro {
  margin-bottom: 10px;
}
.cac-intro strong {
  color: #0f172a;
}
.cac-note {
  margin-top: 12px;
  color: #64748b;
}
.cac-note--relationship {
  margin: 8px 0 12px;
  padding: 10px 12px;
  border-left: 3px solid #22c55e;
  border-radius: 8px;
  background: #f8fdfb;
}
.cac-note--relationship strong {
  color: #0f172a;
}
.cac-channel-list {
  max-width: 880px;
  margin: 0 0 0 18px;
  padding: 0;
  display: grid;
  gap: 10px;
}
.cac-channel-item {
  padding-left: 2px;
  color: #87AFC7;
}
.cac-channel-kicker {
  margin-bottom: 3px;
  color: #64748b;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.cac-channel-item strong,
.cac-channel-item span,
.cac-channel-item em {
  display: block;
}
.cac-channel-item strong {
  color: #0f172a;
  font-size: 14px;
  line-height: 1.25;
}
.cac-channel-item span {
  margin-top: 4px;
  color: #4b5563;
  font-size: 12.5px;
  line-height: 1.55;
}
.cac-channel-item em {
  margin-top: 5px;
  color: #64748b;
  font-size: 11.5px;
  line-height: 1.45;
}
.cac-channel-item em.cac-economics {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 8px;
  font-style: normal;
}
.cac-channel-item .cac-economics span {
  display: inline;
  margin-top: 0;
  font-size: inherit;
  line-height: inherit;
}
.cac-economics-label {
  color: #64748b;
  font-style: italic;
}
.cac-channel-item .cac-economics span:not(.cac-economics-label) {
  color: #475569;
  font-weight: 600;
  white-space: nowrap;
}
.flow-steps-horizontal {
  display: inline-flex;
  align-items: flex-start;
  gap: 0;
  max-width: 100%;
}
.flow-horizontal-item {
  display: flex;
  align-items: flex-start;
  flex: 0 1 210px;
  min-width: 0;
}
.flow-horizontal-node {
  flex: 1 1 auto;
  min-width: 0;
  padding: 0;
}
.flow-horizontal-heading {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 2px;
}
.flow-horizontal-heading .flow-dot {
  width: 8px;
  height: 8px;
}
.flow-horizontal-arrow {
  position: relative;
  flex: 0 0 18px;
  height: 15px;
  margin: 1px 3px 0 1px;
}
.flow-horizontal-arrow::before {
  content: "";
  position: absolute;
  top: 7px;
  left: 0;
  right: 3px;
  height: 1px;
  background: #d1dce4;
}
.flow-horizontal-arrow::after {
  content: "";
  position: absolute;
  top: 4px;
  right: 0;
  width: 6px;
  height: 6px;
  border-top: 1px solid #d1dce4;
  border-right: 1px solid #d1dce4;
  transform: rotate(45deg);
}
.flow-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #87AFC7;
  border: 2px solid #fff;
  box-shadow: 0 0 0 2px #87AFC7;
  flex-shrink: 0;
  z-index: 1;
}
.flow-dot.dark { background: #0f172a; box-shadow: 0 0 0 2px #0f172a; }
.flow-dot.orange { background: #ff6600; box-shadow: 0 0 0 2px #ff6600; }
.flow-dot.green { background: #22c55e; box-shadow: 0 0 0 2px #22c55e; }
.flow-dot.red { background: #ef4444; box-shadow: 0 0 0 2px #ef4444; }
.flow-actor {
  font-size: 12px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.25;
}
.flow-detail {
  font-size: 11px;
  color: #6b7280;
  margin-top: 2px;
  line-height: 1.28;
}
.flow-amount {
  font-size: 11px;
  font-weight: 700;
  color: #87AFC7;
  margin-top: 2px;
  line-height: 1.25;
}

/* ── Example cards ── */
.example-grid {
  padding: 0 48px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 18px;
}
.example-card {
  background: #fff;
  border: 1.5px solid #e5e9ee;
  border-radius: 16px;
  padding: 28px 24px;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.example-card:hover {
  border-color: #87AFC7;
  box-shadow: 0 4px 18px rgba(135,175,199,0.15);
}
.example-card .ex-num {
  font-size: 10px;
  font-weight: 800;
  color: #87AFC7;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}
.example-card h4 {
  font-size: 17px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 4px;
}
.example-card .ex-type {
  font-size: 12px;
  color: #9CA3AF;
  font-weight: 600;
  margin-bottom: 18px;
}
.example-chain {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.chain-node {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 10px;
  background: #f9fafb;
  border: 1px solid #e5e9ee;
  margin-bottom: 0;
}
.chain-node.mfg { border-left: 3px solid #0f172a; }
.chain-node.intermediary { border-left: 3px solid #87AFC7; }
.chain-node.retail { border-left: 3px solid #22c55e; }
.chain-node.customer { border-left: 3px solid #ff6600; }
.chain-node .cn-label {
  font-size: 12px;
  font-weight: 700;
  color: #0f172a;
  flex: 1;
}
.chain-node .cn-detail {
  font-size: 11px;
  color: #6b7280;
}
.chain-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 20px;
  color: #d1dce4;
  font-size: 10px;
}
.chain-arrow::before { content: '│'; }

.example-card .ex-key {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid #f3f4f6;
  font-size: 12px;
  color: #6b7280;
  line-height: 1.5;
}
.example-card .ex-key strong {
  color: #0f172a;
}

/* ── Kinro section ── */
.kinro-section {
  padding: 0 48px;
}
.kinro-box {
  max-width: 720px;
  background: linear-gradient(135deg, #fff8f3 0%, #fff5ee 100%);
  border: 1.5px solid #ff6600;
  border-radius: 16px;
  padding: 32px;
}
.kinro-box-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}
.kinro-box h3 {
  font-size: 20px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 4px;
}
.kinro-box .kinro-sub {
  font-size: 13px;
  color: #6b7280;
  margin-bottom: 0;
  line-height: 1.5;
}
.kinro-cta-btn {
  display: inline-flex;
  align-items: center;
  padding: 10px 24px;
  border-radius: 10px;
  background: #ff6600;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  font-family: inherit;
  text-decoration: none;
  white-space: nowrap;
  letter-spacing: 0.01em;
  transition: opacity 0.15s;
  flex-shrink: 0;
}
.kinro-cta-btn:hover { opacity: 0.85; }
.kinro-axis-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 22px;
}
.kinro-axis-card {
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(255, 102, 0, 0.2);
  border-radius: 12px;
  padding: 16px;
}
.kinro-axis-kicker {
  font-size: 10px;
  font-weight: 800;
  color: #ff6600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 5px;
}
.kinro-axis-card strong {
  display: block;
  color: #0f172a;
  font-size: 14px;
  margin-bottom: 6px;
}
.kinro-axis-card span {
  display: block;
  color: #6b7280;
  font-size: 12px;
  line-height: 1.5;
}
.kinro-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.kinro-col h4 {
  font-size: 12px;
  font-weight: 700;
  color: #9CA3AF;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  margin-bottom: 10px;
}
.kinro-col ul {
  list-style: none;
  padding: 0;
}
.kinro-col li {
  font-size: 13px;
  color: #374151;
  padding: 5px 0;
  line-height: 1.4;
}
.kinro-col li::before {
  content: '×';
  color: #d1dce4;
  margin-right: 8px;
  font-weight: 700;
}
.kinro-col.adds li::before {
  content: '✓';
  color: #ff6600;
}
.kinro-routes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 102, 0, 0.16);
}
.kinro-route {
  background: rgba(255, 255, 255, 0.58);
  border-radius: 10px;
  padding: 14px;
}
.kinro-route strong {
  display: block;
  color: #0f172a;
  font-size: 13px;
  margin-bottom: 5px;
}
.kinro-route span {
  display: block;
  color: #6b7280;
  font-size: 12px;
  line-height: 1.45;
}

/* ── GTM table ── */
.gtm-table {
  padding: 0 48px;
  overflow-x: auto;
}
.gtm-table table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.gtm-table th {
  text-align: left;
  padding: 10px 14px;
  font-size: 11px;
  font-weight: 700;
  color: #9CA3AF;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  border-bottom: 2px solid #e5e9ee;
}
.gtm-table td {
  padding: 12px 14px;
  border-bottom: 1px solid #f3f4f6;
  color: #374151;
  vertical-align: top;
}
.gtm-table td:first-child {
  font-weight: 700;
  color: #0f172a;
  white-space: nowrap;
}
.gtm-table tr:hover td { background: #f9fafb; }
.gtm-table .tier-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  background: #EEF4F8;
  color: #4a7d99;
}
.gtm-table .no-fit {
  color: #9CA3AF;
}

/* ── Geo grid ── */
.geo-grid {
  padding: 0 48px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 12px;
}
.geo-card {
  padding: 16px 18px;
  background: #fff;
  border: 1.5px solid #e5e9ee;
  border-radius: 12px;
  transition: border-color 0.15s;
}
.geo-card:hover { border-color: #87AFC7; }
.geo-card h4 {
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 4px;
}
.geo-card p {
  font-size: 12px;
  color: #6b7280;
  line-height: 1.5;
}

/* ── Definitions ── */
.def-grid {
  padding: 0 48px;
  columns: 2;
  column-gap: 24px;
}
.def-item {
  break-inside: avoid;
  padding: 10px 0;
  border-bottom: 1px solid #f3f4f6;
}
.def-term {
  font-size: 13px;
  font-weight: 700;
  color: #0f172a;
}
.def-desc {
  font-size: 12px;
  color: #6b7280;
  line-height: 1.5;
  margin-top: 2px;
}

/* ── Bullet list ── */
.bullet-list {
  padding: 0 48px 0 72px;
  margin: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 780px;
}
.bullet-list li {
  font-size: 13px;
  color: #374151;
  line-height: 1.6;
  position: relative;
  padding-left: 16px;
}
.bullet-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #87AFC7;
}
.bullet-list li strong {
  color: #0f172a;
}
.bullet-examples {
  color: #9CA3AF;
  font-size: 12px;
}
.bullet-detail {
  margin-top: 6px;
  font-style: italic;
  color: #6b7280;
  font-size: 13px;
  line-height: 1.5;
}

/* ── Carrier balance sheet viz ── */
.balance-sheet-viz {
  max-width: 720px;
  margin: 28px auto;
  padding: 24px 28px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
}
.bs-title {
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 8px;
}
.bs-subtitle {
  font-weight: 400;
  color: #9ca3af;
  font-size: 12px;
}
.bs-intro {
  font-size: 13px;
  color: #6b7280;
  line-height: 1.6;
  margin-bottom: 16px;
}
.bs-intro strong { color: #0f172a; }
.bs-row-block {
  margin: 16px 0 12px;
}
.bs-row-label {
  font-size: 12px;
  color: #374151;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.bs-hbar {
  display: flex;
  height: 36px;
  border-radius: 6px;
  overflow: hidden;
  gap: 1px;
}
.bs-hbar-seg {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  transition: opacity 0.15s;
}
.bs-hbar-seg:hover { opacity: 0.85; }
.bs-hbar-label {
  font-size: 10px;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
  text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}
.bs-divider-eq {
  text-align: center;
  font-size: 20px;
  font-weight: 300;
  color: #cbd5e1;
  margin: 4px 0;
}
.bs-legend {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.bs-legend-row {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  font-size: 11px;
  color: #374151;
  line-height: 1.4;
}
.bs-dot {
  width: 8px;
  height: 8px;
  border-radius: 2px;
  flex-shrink: 0;
  margin-top: 3px;
}
.bs-footer {
  font-size: 12px;
  color: #6b7280;
  line-height: 1.6;
  padding-top: 12px;
  border-top: 1px solid #e2e8f0;
  margin-top: 8px;
}
.bs-footer strong {
  color: #0f172a;
}
@media (max-width: 600px) {
  .balance-sheet-viz { padding: 16px; }
  .bs-hbar { height: 28px; }
}

/* ── Insight callout ── */
.insight-box {
  max-width: 720px;
  margin: 24px 0;
  padding: 18px 22px;
  background: #f0f7fb;
  border-left: 3px solid #87AFC7;
  border-radius: 0 10px 10px 0;
  font-size: 13px;
  color: #374151;
  line-height: 1.6;
}
.insight-box strong { color: #0f172a; }

/* ── Waterfall chart ── */
.waterfall {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 600px;
}
.wf-row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.wf-label {
  width: 220px;
  flex-shrink: 0;
  font-size: 12px;
  color: #6b7280;
  text-align: right;
}
.wf-bar-area {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
}
.wf-bar {
  height: 24px;
  border-radius: 4px;
  transition: width 0.3s ease;
}
.wf-bar.wf-result {
  border: 2px solid rgba(0,0,0,0.1);
}
.wf-val {
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

/* ── Formula box ── */
.formula-box {
  margin-top: 20px;
  padding: 16px 20px;
  background: #f9fafb;
  border: 1px solid #e5e9ee;
  border-radius: 10px;
  max-width: 600px;
}
.formula-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 6px 0;
}
.formula-row + .formula-row {
  border-top: 1px solid #f3f4f6;
}
.formula-label {
  font-size: 12px;
  font-weight: 700;
  color: #0f172a;
  width: 140px;
  flex-shrink: 0;
}
.formula-eq {
  font-size: 13px;
  color: #6b7280;
  font-family: 'Plus Jakarta Sans', monospace;
}
.formula-eq strong {
  color: #0f172a;
}

/* ── Earnings comparison ── */
.earnings-layout {
  display: flex;
  gap: 32px;
  align-items: flex-start;
}
.earnings-table {
  flex: 1;
  min-width: 0;
}
.et-header {
  display: grid;
  grid-template-columns: 1fr 80px 1fr;
  gap: 8px;
  padding: 6px 0;
  border-bottom: 2px solid #e5e9ee;
  font-size: 11px;
  font-weight: 700;
  color: #9CA3AF;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
.et-row {
  display: grid;
  grid-template-columns: 1fr 80px 1fr;
  gap: 8px;
  padding: 8px 0;
  border-bottom: 1px solid #f3f4f6;
  align-items: center;
}
.et-name {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #374151;
}
.et-dot {
  width: 8px;
  height: 8px;
  border-radius: 2px;
  flex-shrink: 0;
}
.et-amt {
  font-size: 13px;
  font-weight: 700;
}
.et-basis {
  font-size: 12px;
  color: #9CA3AF;
}

/* ── Product selector ── */
.product-selector {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.filter-btn {
  padding: 6px 16px;
  border-radius: 20px;
  border: 1.5px solid rgba(0,0,0,0.12);
  background: transparent;
  color: #9CA3AF;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s;
  font-family: inherit;
}
.filter-btn:hover { border-color: #87AFC7; color: #5a8aaa; }
.filter-btn.active { background: #0f172a; border-color: #0f172a; color: #EEF4F8; }

/* ── Lead path cards ── */
.lead-paths {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.lead-path-card {
  background: #fff;
  border: 1.5px solid #e5e9ee;
  border-radius: 14px;
  padding: 20px;
}
.lead-path-card.primary {
  border-color: #87AFC7;
  background: #f8fbfd;
}
.lead-path-card.fallback {
  border-color: #e5e9ee;
  background: #fafafa;
}
.lp-badge {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  margin-bottom: 6px;
}
.lead-path-card.primary .lp-badge { color: #87AFC7; }
.lead-path-card.fallback .lp-badge { color: #9CA3AF; }
.lp-title {
  font-size: 17px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 6px;
}
.lp-desc {
  font-size: 12px;
  color: #6b7280;
  line-height: 1.5;
  margin-bottom: 14px;
}
.lp-flow {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.lp-node {
  padding: 4px 10px;
  border-radius: 6px;
  background: #f3f4f6;
  font-size: 11px;
  font-weight: 700;
  color: #374151;
  white-space: nowrap;
}
.lp-node.accent { background: #87AFC7; color: #fff; }
.lp-node.dark { background: #0f172a; color: #EEF4F8; }
.lp-node.fallback-node { background: #e5e9ee; color: #6b7280; }
.lp-arrow {
  font-size: 11px;
  color: #9CA3AF;
  font-weight: 600;
  white-space: nowrap;
}
.lp-econ {
  font-size: 12px;
  color: #6b7280;
  line-height: 1.4;
}
.lp-econ strong { color: #0f172a; }

/* ── Lead economics (derive + compare) ── */
.lead-econ-derive {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 20px 24px;
  margin-bottom: 20px;
}
.led-label {
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 8px;
}
.led-chain {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin: 12px 0;
}
.led-step {
  text-align: center;
  padding: 8px 14px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
}
.led-step.accent-step {
  background: #0f172a;
  border-color: #0f172a;
}
.led-step.accent-step .led-step-val,
.led-step.accent-step .led-step-label { color: #fff; }
.led-step-val {
  font-size: 16px;
  font-weight: 800;
  color: #0f172a;
}
.led-input-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  font-size: 16px;
  font-weight: 800;
  color: #0f172a;
}
.led-step-input {
  width: 58px;
  border: 0;
  border-bottom: 1px solid rgba(15, 23, 42, 0.2);
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: center;
  outline: none;
}
.led-step-input--currency {
  width: 54px;
}
.led-step-input:focus {
  border-bottom-color: #87AFC7;
}
.led-input-prefix,
.led-input-suffix {
  color: inherit;
}
.led-step.accent-step .led-input-wrap {
  color: #fff;
}
.led-step.accent-step .led-step-input {
  border-bottom-color: rgba(255, 255, 255, 0.45);
}
.led-step.accent-step .led-step-input:focus {
  border-bottom-color: #fff;
}
.led-step-label {
  font-size: 10px;
  color: #6b7280;
  margin-top: 2px;
}
.led-arrow {
  font-size: 16px;
  color: #cbd5e1;
  font-weight: 600;
}
.led-explain {
  font-size: 12px;
  color: #6b7280;
  line-height: 1.6;
  margin-top: 8px;
}
.led-explain strong { color: #0f172a; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.lead-econ-compare {
  margin-top: 20px;
}

/* comparison table */
.lec-table {
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  overflow: hidden;
  font-size: 12px;
}
.lec-header {
  display: grid;
  grid-template-columns: 140px 1fr 1fr;
  background: #f1f5f9;
  border-bottom: 1px solid #e2e8f0;
}
.lec-th {
  padding: 10px 12px;
  font-weight: 700;
  color: #0f172a;
  font-size: 12px;
}
.lec-th-ex {
  font-weight: 400;
  color: #9ca3af;
  font-size: 10px;
  margin-top: 1px;
}
.lec-th.bid-col { border-left: 1px solid #e2e8f0; }
.lec-th.bulk-col { border-left: 1px solid #e2e8f0; }
.lec-row {
  display: grid;
  grid-template-columns: 140px 1fr 1fr;
  border-bottom: 1px solid #f1f5f9;
}
.lec-row:last-child { border-bottom: none; }
.lec-label {
  padding: 8px 12px;
  font-weight: 600;
  color: #374151;
  background: #fafbfc;
}
.lec-val {
  padding: 8px 12px;
  color: #374151;
}
.lec-val.bid-col { border-left: 1px solid #f1f5f9; }
.lec-val.bulk-col { border-left: 1px solid #f1f5f9; }

@media (max-width: 600px) {
  .led-chain { gap: 4px; }
  .led-step { padding: 6px 8px; }
  .led-step-val { font-size: 13px; }
  .led-input-wrap { font-size: 13px; }
  .led-step-input { width: 46px; }
  .led-step-input--currency { width: 44px; }
  .lec-header, .lec-row { grid-template-columns: 100px 1fr 1fr; }
  .lead-econ-derive { padding: 14px; }
  .cac-channel-list { gap: 8px; }
}

/* ── Wholesale Broker Viz ── */
.ws-viz {
  max-width: 860px;
  margin: 20px auto 8px;
}
.ws-viz-panels { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.ws-viz-panel {
  padding: 16px;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  background: #fff;
}
.ws-before { background: #fef2f2; border-color: #fecaca; }
.ws-after { background: #f0fdf4; border-color: #bbf7d0; }
.ws-panel-title { font-weight: 700; font-size: 0.9rem; color: #0f172a; }
.ws-panel-sub { font-size: 0.8rem; color: #64748b; margin-bottom: 10px; }
.ws-svg {
  display: block;
  width: 86%;
  height: auto;
  margin: 4px auto 0;
}

@media (max-width: 768px) {
  .ws-viz-panels { grid-template-columns: 1fr; }
}

/* ── Underwriting Illustration ── */
.uw-illustration {
  margin: 20px 0 8px;
  padding: 24px;
  background: #f8fafc;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
}
.uw-title { font-weight: 700; font-size: 1rem; color: #0f172a; }
.uw-subtitle { font-size: 0.85rem; color: #64748b; margin-top: 2px; margin-bottom: 20px; }
.uw-steps { display: flex; flex-direction: column; gap: 0; }
.uw-step { display: flex; gap: 14px; align-items: flex-start; }
.uw-step-marker { display: flex; flex-direction: column; align-items: center; min-width: 28px; }
.uw-step-num {
  width: 28px; height: 28px; border-radius: 50%;
  background: #3b82f6; color: #fff; font-weight: 700; font-size: 0.8rem;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.uw-step-line { width: 2px; flex: 1; min-height: 20px; background: #cbd5e1; }
.uw-step-content { padding-bottom: 18px; }
.uw-step:last-child .uw-step-content { padding-bottom: 0; }
.uw-step-label { font-weight: 600; font-size: 0.9rem; color: #0f172a; }
.uw-step-detail { font-size: 0.85rem; color: #475569; margin-top: 3px; line-height: 1.5; }
.uw-takeaway {
  margin-top: 20px; padding: 12px 16px;
  background: #eff6ff; border-left: 3px solid #3b82f6;
  font-size: 0.85rem; color: #1e40af; line-height: 1.5; border-radius: 4px;
}

/* ── Pricing Model Plot ── */
.pricing-plot {
  margin: 14px 0 4px;
  padding: 20px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
}
.pp-header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  align-items: flex-start;
  margin-bottom: 14px;
}
.pp-title { font-weight: 700; font-size: 0.9rem; color: #0f172a; }
.pp-legend {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  color: #64748b;
  font-size: 0.72rem;
  font-weight: 600;
}
.pp-legend span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.pp-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  display: inline-block;
}
.pp-dot--debit { background: #ef4444; }
.pp-dot--credit { background: #22c55e; }
.pp-waterfall { display: flex; flex-direction: column; gap: 6px; }
.pp-row { display: flex; align-items: center; gap: 10px; min-height: 26px; }
.pp-label { flex: 0 0 240px; font-size: 0.8rem; color: #475569; text-align: right; }
.pp-bar-wrap { flex: 1; display: flex; height: 18px; border-radius: 3px; overflow: hidden; background: #f1f5f9; }
.pp-bar { height: 100%; transition: width 0.3s; }
.pp-bar.base { background: #cbd5e1; }
.pp-bar.delta.up { background: #ef4444; }
.pp-bar.delta.down { background: #22c55e; }
.pp-bar.final-bar { background: #3b82f6; }
.pp-val { flex: 0 0 70px; font-size: 0.8rem; font-weight: 600; color: #64748b; }
.pp-val.up { color: #ef4444; }
.pp-val.down { color: #22c55e; }
.pp-val.final-val { color: #3b82f6; font-weight: 700; }
.pp-row.final { margin-top: 6px; padding-top: 8px; border-top: 2px solid #e2e8f0; }
.pp-row.final .pp-label { font-weight: 700; color: #0f172a; }
.pp-note { margin-top: 12px; font-size: 0.8rem; color: #64748b; line-height: 1.5; }

@media (max-width: 640px) {
  .pp-label { flex: 0 0 140px; font-size: 0.72rem; }
  .pp-val { flex: 0 0 55px; font-size: 0.72rem; }
}

/* ── Value Chain Diagram ── */
.vc-chain { display: flex; flex-direction: column; align-items: center; gap: 0; margin: 16px 0; }
.vc-chain-row { display: flex; flex-direction: column; align-items: center; width: 100%; }
.vc-chain-arrow { font-size: 18px; color: #94a3b8; line-height: 1; margin: 2px 0; }
.vc-chain-node {
  border-left: 4px solid #94a3b8;
  padding: 10px 16px;
  background: #f8fafc;
  border-radius: 6px;
  width: 100%;
  max-width: 480px;
}
.vc-chain-node-label { font-weight: 600; font-size: 0.95rem; color: #0f172a; }
.vc-chain-node-detail { font-size: 0.85rem; color: #64748b; margin-top: 2px; }
.vc-chain-node-type { font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; margin-top: 4px; }

/* ── Channel Flow ── */
.ch-flow {
  margin-top: 16px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}
.ch-flow-header {
  padding: 14px 20px;
  background: #0f172a;
  color: #fff;
}
.ch-flow-carrier {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}
.ch-flow-carrier-name {
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.ch-flow-carrier-meta {
  font-size: 11px;
  color: #94a3b8;
}
.ch-flow-tree {
  padding: 8px 0;
}

/* ── Tree node ── */
.ch-node {
  position: relative;
}
.ch-node-row {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 7px 20px 7px 20px;
  position: relative;
}
.ch-node.depth-1 > .ch-node-row { padding-left: 44px; }
.ch-node.depth-2 > .ch-node-row { padding-left: 68px; }
.ch-node.depth-3 > .ch-node-row { padding-left: 92px; }

/* connector lines */
.ch-node-connector {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 44px;
}
.ch-node.depth-1 > .ch-node-row > .ch-node-connector { left: 20px; width: 24px; }
.ch-node.depth-2 > .ch-node-row > .ch-node-connector { left: 44px; width: 24px; }
.ch-node.depth-3 > .ch-node-row > .ch-node-connector { left: 68px; width: 24px; }
.ch-conn-vert {
  position: absolute;
  left: 3px;
  top: 0;
  bottom: 0;
  width: 2px;
  opacity: 0.3;
}
.ch-node-last > .ch-node-row > .ch-node-connector > .ch-conn-vert {
  bottom: 50%;
}
.ch-conn-horiz {
  position: absolute;
  left: 3px;
  top: 50%;
  width: 14px;
  height: 2px;
  opacity: 0.3;
}

/* also draw vertical connector through parent for children */
.ch-node-children {
  position: relative;
}
.ch-node-children::before {
  content: "";
  position: absolute;
  top: 0;
  width: 2px;
  opacity: 0.18;
  background: var(--conn-color, #cbd5e1);
}
.ch-node.depth-0 > .ch-node-children::before { left: 23px; bottom: 0; }
.ch-node.depth-1 > .ch-node-children::before { left: 47px; bottom: 0; }
.ch-node.depth-2 > .ch-node-children::before { left: 71px; bottom: 0; }

/* dot */
.ch-node-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-right: 10px;
  position: relative;
  z-index: 1;
}
.ch-node.depth-1 .ch-node-dot { width: 8px; height: 8px; margin-right: 8px; }
.ch-node.depth-2 .ch-node-dot { width: 7px; height: 7px; margin-right: 8px; }

/* info block */
.ch-node-info {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
  gap: 1px;
}
.ch-node-name {
  font-size: 13.5px;
  font-weight: 700;
  color: #1e293b;
  line-height: 1.3;
}
.ch-node.depth-1 .ch-node-name { font-size: 12.5px; font-weight: 600; color: #334155; }
.ch-node.depth-2 .ch-node-name { font-size: 12px; font-weight: 500; color: #64748b; }
.ch-node-cost {
  font-size: 11px;
  color: #94a3b8;
  line-height: 1.2;
}

/* metrics: bar + percentage */
.ch-node-metrics {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  margin-left: 12px;
}
.ch-node-bar-wrap {
  width: 80px;
  height: 6px;
  background: #f1f5f9;
  border-radius: 3px;
  overflow: hidden;
  flex-shrink: 0;
}
.ch-node-bar {
  height: 100%;
  border-radius: 3px;
  transition: width 0.3s ease;
}
.ch-node-pct {
  font-size: 14px;
  font-weight: 800;
  color: #0f172a;
  min-width: 34px;
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.ch-node.depth-1 .ch-node-pct { font-size: 13px; font-weight: 700; }
.ch-node.depth-2 .ch-node-pct { font-size: 12px; font-weight: 600; color: #475569; }
.ch-node.depth-1 .ch-node-bar-wrap { width: 60px; height: 5px; }
.ch-node.depth-2 .ch-node-bar-wrap { width: 48px; height: 4px; }

/* ── Example Detail Card ── */
.example-detail-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 32px;
  margin-top: 8px;
}
.edc-header {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 28px;
}
.edc-header h3 {
  font-size: 24px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 4px;
}
.edc-type {
  font-size: 13px;
  color: #6b7280;
  font-weight: 500;
}
.edc-stats {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.edc-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.edc-stat-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #9ca3af;
  font-weight: 700;
}
.edc-stat-val {
  font-size: 12px;
  color: #374151;
  max-width: 280px;
  line-height: 1.4;
  font-weight: 600;
}
.edc-section {
  margin-bottom: 24px;
}
.edc-section h4 {
  font-size: 14px;
  font-weight: 700;
  color: #1e293b;
  margin: 0 0 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.edc-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 24px;
}
.edc-channel-details {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.edc-ch-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.edc-ch-dot {
  width: 8px;
  height: 8px;
  border-radius: 2px;
  flex-shrink: 0;
  margin-top: 5px;
}
.edc-ch-title {
  font-size: 13px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 2px;
}
.edc-ch-desc {
  font-size: 12px;
  color: #6b7280;
  line-height: 1.4;
}
.edc-key {
  background: #f8fafc;
  border-radius: 10px;
  padding: 16px 20px;
  font-size: 13px;
  color: #374151;
  line-height: 1.6;
  margin-top: 8px;
}
.edc-key strong { color: #0f172a; }
.edc-strategy-note {
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: 10px;
  padding: 16px 20px;
  font-size: 13px;
  color: #92400e;
  line-height: 1.6;
  margin-top: 8px;
}
.edc-strategy-note strong { color: #78350f; }
.edc-ch-badge {
  display: inline-block;
  background: #e0e7ff;
  color: #3730a3;
  font-size: 10.5px;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 4px;
  margin-left: 4px;
  vertical-align: middle;
}
.edc-ch-note {
  font-size: 11px;
  color: #92400e;
  background: #fffbeb;
  padding: 2px 6px;
  border-radius: 4px;
  margin-top: 3px;
  display: inline-block;
  line-height: 1.4;
}

.carrier-btn {
  border-style: dashed !important;
}
.carrier-btn.active {
  border-style: solid !important;
}

/* ── Revenue leakage ── */
.leakage-section {
  padding: 0 48px;
  max-width: 780px;
}
.leakage-chain-track {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.leakage-node {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  position: relative;
}
.leakage-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 18px;
  position: relative;
  z-index: 1;
}
.leakage-pipe {
  position: absolute;
  left: 6px;
  top: 32px;
  width: 2px;
  bottom: 0;
  background: #e5e9ee;
}
.leakage-card {
  flex: 1;
  background: #fff;
  border: 1.5px solid #e5e9ee;
  border-top: 3px solid;
  border-radius: 12px;
  padding: 18px 20px;
  margin-bottom: 16px;
}
.leakage-stage {
  font-size: 15px;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.02em;
}
.leakage-where {
  font-size: 11px;
  font-weight: 600;
  color: #9CA3AF;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  margin-top: 2px;
  margin-bottom: 8px;
}
.leakage-leak {
  font-size: 13px;
  color: #374151;
  line-height: 1.5;
  margin-bottom: 8px;
}
.leakage-example {
  font-size: 12px;
  color: #9CA3AF;
  line-height: 1.5;
  font-style: italic;
}
.leakage-vendors {
  margin-top: 28px;
}
.leakage-vendors h4 {
  font-size: 12px;
  font-weight: 700;
  color: #9CA3AF;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  margin-bottom: 14px;
}
.leakage-vendor-row {
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
}
.leakage-vendor-chip {
  display: flex;
  flex-direction: column;
  padding: 12px 18px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  color: #0f172a;
  background: #f0f7fb;
  border: 1.5px solid #d1dce4;
}
.leakage-vendor-chip span {
  font-size: 11px;
  font-weight: 500;
  color: #9CA3AF;
  margin-top: 2px;
}
.leakage-vendor-gap {
  padding: 0 10px;
  font-size: 10px;
  font-weight: 700;
  color: #ef4444;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.7;
}
.leakage-vendor-caption {
  font-size: 12px;
  color: #9CA3AF;
  margin-top: 12px;
  line-height: 1.5;
}

/* ── Market access note ─────────────────────────────────────── */
.market-access-note {
  margin: 14px 48px 22px;
  max-width: 760px;
  padding: 12px 14px;
  border-left: 3px solid #87AFC7;
  border-radius: 8px;
  background: #f8fafc;
}
.market-access-note strong {
  display: block;
  margin-bottom: 3px;
  font-size: inherit;
  color: #0f172a;
}
.market-access-note > div + div {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid #e2e8f0;
}
.market-access-note p {
  font-size: 13px;
  line-height: 1.6;
  color: #64748b;
  margin: 0;
}
.market-access-note p + p {
  margin-top: 8px;
}
.market-access-note .bullet-examples {
  display: block;
  margin-top: 6px;
}
/* ── Product Lines ─────────────────────────────────────── */
.pl-table {
  margin: 20px 48px 0;
}
.pl-category-cell {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  font-size: 11px;
  color: #87AFC7;
  background: #fafbfc;
}
.pl-product-cell {
  font-weight: 700;
  color: #0f172a;
  white-space: nowrap;
}
.pl-size-cell {
  font-weight: 600;
  color: #87AFC7;
  white-space: nowrap;
}

/* ── Sources ─────────────────────────────────────── */
.sources-section {
  padding-bottom: 24px;
}
.source-grid {
  padding: 0 48px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  max-width: 980px;
}
.source-card {
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 14px;
  background: #f8fafc;
  padding: 18px 20px;
}
.source-card h3 {
  font-size: 13px;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}
.source-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.source-card li {
  font-size: 12.5px;
  line-height: 1.45;
  color: #64748b;
}
.source-card a {
  color: #2563eb;
  text-decoration: none;
}
.source-card a:hover {
  text-decoration: underline;
}
/* ── Responsive ── */
@media (max-width: 1024px) {
  .toc-sidebar { display: none; }
  .ivc-main { margin-left: 0; }
}

@media (max-width: 768px) {
  .toc-sidebar { display: none; }
  .ivc-main { margin-left: 0; }
  header, .section-header, .flow-section, .kinro-section,
  .player-grid, .channel-grid, .example-grid, .geo-grid,
  .rosetta-table, .gtm-table, .def-grid, .structure-diagram,
  .acq-taxonomy, .distribution-channel-context, .source-grid {
    padding-left: 20px;
    padding-right: 20px;
  }
  .source-grid {
    grid-template-columns: 1fr;
  }
  .distribution-channel-context {
    margin-left: 0;
    margin-right: 0;
  }
  .bullet-list { padding-left: 36px; padding-right: 20px; }
  .acq-ch-name { white-space: normal; }
  .acq-table th:nth-child(2), .acq-table td:nth-child(2) { min-width: 160px; }
  .insight-box { margin-left: 20px; margin-right: 20px; }
  .kinro-nav { padding: 10px 16px; }
  header h1 { font-size: 28px; }
  .section-header h2 { font-size: 22px; }
  .section-block--subsection .section-header h2 { font-size: 20px; }
  .structure-diagram.horizontal {
    flex-direction: column;
    align-items: center;
  }
  .structure-diagram.horizontal .structure-box {
    flex: none;
    width: 100%;
  }
  .structure-diagram.horizontal .structure-box.intermediary {
    flex: none;
  }
  .structure-connector-h {
    width: 2px;
    min-width: auto;
    height: 32px;
    flex-direction: column;
  }
  .structure-connector-h::before {
    width: 2px;
    height: 100%;
  }
  .structure-connector-h::after {
    content: '▼';
    right: auto;
    bottom: -8px;
    top: auto;
    left: 50%;
    transform: translateX(-50%);
  }
  .structure-box { padding: 20px; }
  .market-access-note {
    margin-left: 20px;
    margin-right: 20px;
  }
  .pl-table {
    margin-left: 20px;
    margin-right: 20px;
  }
  .pl-product-cell {
    white-space: normal;
  }
  .player-grid { grid-template-columns: 1fr; }
  .example-grid { grid-template-columns: 1fr; }
  .kinro-axis-grid { grid-template-columns: 1fr; }
  .kinro-columns { grid-template-columns: 1fr; }
  .kinro-routes { grid-template-columns: 1fr; }
  .def-grid { columns: 1; }
  .flow-steps-horizontal {
    flex-direction: column;
    gap: 14px;
  }
  .flow-horizontal-item {
    flex-direction: column;
    align-items: stretch;
    flex: none;
    position: relative;
    padding-left: 20px;
  }
  .flow-horizontal-item:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 4px;
    top: 18px;
    bottom: -15px;
    width: 1px;
    background: #d1dce4;
  }
  .flow-horizontal-heading .flow-dot {
    margin-left: -20px;
  }
  .flow-horizontal-arrow { display: none; }
  .lead-paths { grid-template-columns: 1fr; }
  .earnings-layout { flex-direction: column; }
  .wf-label { width: 140px; font-size: 11px; }
  .et-header, .et-row { grid-template-columns: 1fr 70px; }
  .et-basis { display: none; }
  .edc-columns { grid-template-columns: 1fr; }
  .edc-stats { flex-direction: column; gap: 8px; }
  .leakage-section { padding-left: 20px; padding-right: 20px; }
  .leakage-vendor-row { flex-direction: column; align-items: flex-start; gap: 6px; }
  .leakage-vendor-gap { padding: 2px 0; }
  .example-detail-card { padding: 20px; }
  .ch-flow-header { padding: 10px 14px; }
  .ch-node-row { padding: 6px 12px 6px 12px; }
  .ch-node.depth-1 > .ch-node-row { padding-left: 32px; }
  .ch-node.depth-2 > .ch-node-row { padding-left: 52px; }
  .ch-node.depth-3 > .ch-node-row { padding-left: 68px; }
  .ch-node.depth-1 > .ch-node-row > .ch-node-connector { left: 12px; }
  .ch-node.depth-2 > .ch-node-row > .ch-node-connector { left: 32px; }
  .ch-node.depth-3 > .ch-node-row > .ch-node-connector { left: 52px; }
  .ch-node.depth-0 > .ch-node-children::before { left: 15px; }
  .ch-node.depth-1 > .ch-node-children::before { left: 35px; }
  .ch-node.depth-2 > .ch-node-children::before { left: 55px; }
  .ch-node-name { font-size: 12px; }
  .ch-node.depth-1 .ch-node-name { font-size: 11.5px; }
  .ch-node.depth-2 .ch-node-name { font-size: 11px; }
  .ch-node-bar-wrap { width: 50px; }
  .ch-node.depth-1 .ch-node-bar-wrap { width: 40px; }
  .ch-node.depth-2 .ch-node-bar-wrap { width: 32px; }
  .ch-node-pct { font-size: 12px; min-width: 28px; }
  .ch-node-cost { display: none; }
  .labeled-donut-svg { max-width: 320px; }
  .donut-label-main { font-size: 9px; }
  .donut-label-val { font-size: 8px; }
}

/* Labeled donut chart */
.labeled-donut-wrap {
  display: flex;
  justify-content: center;
  padding: 0;
  margin: -4px 0 0;
}
.labeled-donut-svg {
  width: 100%;
  max-width: 460px;
  height: auto;
}
.donut-label-main {
  font-size: 11px;
  font-weight: 600;
  fill: #1e293b;
}
.donut-label-val {
  font-size: 10px;
  font-weight: 400;
  fill: #64748b;
}
.donut-center-label {
  font-size: 16px;
  font-weight: 700;
  fill: #0f172a;
}
.donut-center-sub {
  font-size: 10px;
  font-weight: 400;
  fill: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
