/* Folclore LP Data Room — institutional terminal aesthetic */

.dr-app {
  min-height: 100vh;
  background: var(--sapphire-900);
  color: var(--alabaster);
  display: flex;
  flex-direction: column;
}

.dr-app::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(197, 160, 89, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(197, 160, 89, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  z-index: 0;
}

.dr-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 16px;
  padding: 14px clamp(20px, 4vw, 40px);
  background: rgba(7, 13, 24, 0.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(197, 160, 89, 0.2);
}

.dr-header-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  flex: 1 1 auto;
}

.dr-header-brand img {
  height: 34px;
  width: auto;
  flex-shrink: 0;
}

.dr-header-brand-copy {
  min-width: 0;
}

.dr-header-brand-copy > * {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dr-header-tools {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-left: auto;
  flex: 0 0 auto;
}

.dr-header-account {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 0 0 auto;
}

.dr-level-pill {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  padding: 7px 14px;
  border: 1px solid var(--gold-500);
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  line-height: 1;
  text-transform: uppercase;
  color: var(--gold-400);
  white-space: nowrap;
}

.dr-level-pill-short { display: none; }

@media (max-width: 1800px) {
  .dr-level-pill-full { display: none; }
  .dr-level-pill-short { display: inline; }
}

@media (max-width: 1720px) {
  .dr-clock-extra { display: none; }
}

@media (max-width: 1560px) {
  .dr-header-user-email { display: none; }
  .dr-header-search { max-width: 200px; }
}

@media (max-width: 1180px) {
  .dr-header-tools { gap: 16px; }
}

@media (max-width: 1120px) {
  .dr-clocks { display: none; }
}

.dr-header-account-rule {
  width: 1px;
  align-self: stretch;
  min-height: 22px;
  background: rgba(197, 160, 89, 0.35);
  flex-shrink: 0;
}

.dr-header-user {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.dr-header-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: var(--sapphire-700);
  color: var(--gold-400);
  font-family: var(--font-sans);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1;
}

.dr-header-user-email {
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  color: var(--alabaster);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 220px;
}

.dr-header-link {
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sapphire-200);
  white-space: nowrap;
}

.dr-header-link:hover {
  color: var(--gold-400);
}

.dr-account-menu {
  position: relative;
  flex-shrink: 0;
}

.dr-account-menu-btn {
  display: inline-flex;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: none;
  cursor: pointer;
}

.dr-account-menu-btn:hover .dr-header-avatar,
.dr-account-menu-btn[aria-expanded="true"] .dr-header-avatar {
  box-shadow: 0 0 0 1px var(--gold-400);
}

.dr-account-menu-btn:focus-visible {
  outline: 1px solid var(--gold-400);
  outline-offset: 3px;
}

.dr-account-menu-panel {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 220px;
  padding: 6px 0;
  text-align: left;
  background: rgba(7, 13, 24, 0.98);
  border: 1px solid rgba(197, 160, 89, 0.45);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
  z-index: 80;
}

.dr-account-menu-email {
  margin: 0;
  padding: 8px 16px 10px;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  line-height: 1.4;
  color: var(--sapphire-200);
  border-bottom: 1px solid rgba(197, 160, 89, 0.28);
  word-break: break-word;
}

.dr-account-menu-item {
  display: block;
  width: 100%;
  padding: 12px 16px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sapphire-200);
}

.dr-account-menu-item:hover {
  color: var(--gold-400);
  background: rgba(197, 160, 89, 0.08);
}

.dr-upgrade {
  position: relative;
  flex-shrink: 0;
}

.dr-exec-btn,
.dr-upgrade-btn {
  padding: 7px 14px;
  border: 1px solid var(--gold-400);
  border-radius: 999px;
  background: var(--gold-400);
  color: var(--sapphire-900);
  font-family: var(--font-sans);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
}

.dr-exec-btn {
  margin-top: 18px;
}

a.dr-exec-btn,
a.dr-upgrade-btn {
  display: inline-block;
  text-decoration: none;
}

.dr-exec-btn:hover,
.dr-upgrade-btn:hover,
.dr-upgrade-btn[aria-expanded="true"] {
  background: var(--gold-200);
  border-color: var(--gold-200);
}

.dr-upgrade-btn:disabled {
  opacity: 0.72;
  cursor: not-allowed;
}

.dr-upgrade-panel {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 300px;
  max-width: min(300px, calc(100vw - 32px));
  padding: 16px;
  text-align: left;
  background: rgba(7, 13, 24, 0.98);
  border: 1px solid rgba(197, 160, 89, 0.45);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
  z-index: 80;
}

.dr-upgrade-kicker {
  margin: 0 0 8px;
  font-family: var(--font-sans);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.4;
  color: var(--gold-400);
}

.dr-upgrade-audience,
.dr-upgrade-note {
  margin: 0 0 12px;
  font-family: var(--font-serif);
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--sapphire-200);
}

.dr-upgrade-note {
  margin: 10px 0 0;
  font-size: 0.8125rem;
}

.dr-nda-copy-link {
  display: inline-block;
  max-width: 100%;
  margin-top: 10px;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.4;
  color: var(--gold-400);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(197, 160, 89, 0.45);
  overflow-wrap: anywhere;
}

.dr-nda-copy-link:hover {
  color: var(--gold-200);
}

.dr-scenario-tab:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.dr-nda-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 32px 16px;
  overflow: auto;
  background: rgba(7, 13, 24, 0.78);
  backdrop-filter: blur(6px);
}

.dr-nda-modal {
  width: min(640px, 100%);
  margin: auto;
  padding: 24px 24px 28px;
  background: var(--sapphire-900);
  border: 1px solid rgba(197, 160, 89, 0.45);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5);
  outline: none;
}

.dr-nda-modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.dr-mobile-notice-overlay {
  position: fixed;
  inset: 0;
  z-index: 220;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 16px;
  overflow: auto;
  background: rgba(7, 13, 24, 0.78);
  backdrop-filter: blur(6px);
}

.dr-mobile-notice {
  width: min(440px, 100%);
  margin: auto;
  padding: 26px 22px 24px;
  background: #4A1219;
  border: 1px solid rgba(197, 160, 89, 0.5);
  box-shadow: 0 24px 64px rgba(40, 6, 10, 0.55);
  outline: none;
}

.dr-mobile-notice-mark {
  display: flex;
  justify-content: center;
  margin: 0 0 14px;
  color: var(--gold-400);
}

.dr-mobile-notice-mark svg {
  width: 52px;
  height: 52px;
}

.dr-mobile-notice .dr-nda-kicker {
  margin-bottom: 8px;
}

.dr-mobile-notice-body {
  margin: 14px 0 0;
  font-family: var(--font-serif);
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--alabaster);
  text-wrap: pretty;
}

.dr-mobile-notice-mail {
  display: inline-block;
  margin-top: 16px;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  line-height: 1.4;
  color: var(--gold-400);
  text-decoration: none;
  border-bottom: 1px solid rgba(197, 160, 89, 0.45);
  overflow-wrap: anywhere;
}

.dr-mobile-notice-mail:hover {
  color: var(--gold-200);
}

.dr-mobile-notice .dr-confidentiality-enter {
  width: 100%;
  margin-top: 22px;
}

.dr-nda-kicker {
  margin: 0 0 6px;
  font-family: var(--font-sans);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-400);
}

.dr-nda-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.35rem;
  color: var(--alabaster);
}

.dr-nda-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.dr-nda-fieldset {
  margin: 0;
  padding: 16px;
  border: 1px solid rgba(197, 160, 89, 0.28);
  min-width: 0;
}

.dr-nda-fieldset legend {
  padding: 0 8px;
  font-family: var(--font-sans);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-400);
}

.dr-nda-type-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.dr-nda-type {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid rgba(76, 91, 122, 0.5);
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sapphire-200);
  cursor: pointer;
}

.dr-nda-type.active {
  border-color: var(--gold-400);
  color: var(--gold-400);
  background: rgba(197, 160, 89, 0.08);
}

.dr-nda-type input {
  accent-color: var(--gold-500);
}

.dr-nda-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.dr-nda-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.dr-nda-field-wide {
  grid-column: 1 / -1;
}

.dr-nda-field > span:first-child {
  font-family: var(--font-sans);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sapphire-200);
}

.dr-nda-field input,
.dr-nda-field textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid rgba(76, 91, 122, 0.55);
  background: rgba(7, 13, 24, 0.65);
  color: var(--alabaster);
  font-family: var(--font-serif);
  font-size: 0.9375rem;
  line-height: 1.4;
}

.dr-nda-field input:focus,
.dr-nda-field textarea:focus {
  outline: none;
  border-color: var(--gold-400);
}

.dr-nda-field input[readonly] {
  color: var(--gold-200);
  cursor: default;
}

.dr-nda-hint {
  display: block;
  font-family: var(--font-serif);
  font-size: 0.8125rem;
  line-height: 1.45;
  color: var(--sapphire-200);
}

.dr-nda-schedule-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr auto;
  gap: 10px;
  align-items: end;
  margin-bottom: 12px;
}

.dr-nda-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 4px;
}

.dr-nda-error {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  line-height: 1.45;
  color: #e8a0a0;
}

.dr-nda-receipt {
  padding: 8px 0 4px;
}

.dr-nda-receipt-label {
  margin: 0 0 6px;
  font-family: var(--font-sans);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-400);
}

.dr-nda-receipt-time {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--alabaster);
}

@media (max-width: 700px) {
  .dr-nda-grid,
  .dr-nda-schedule-row {
    grid-template-columns: 1fr;
  }
  .dr-nda-schedule-row .dr-scenario-tab {
    justify-self: start;
  }
}

.dr-access-mark {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-left: 8px;
  padding: 2px 7px;
  border: 1px solid rgba(197, 160, 89, 0.35);
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 0.5625rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-400);
  white-space: nowrap;
  vertical-align: middle;
}

.dr-access-mark i,
.dr-access-mark svg {
  width: 11px;
  height: 11px;
  flex-shrink: 0;
}

.dr-nav-btn.locked {
  color: var(--sapphire-200);
  opacity: 0.85;
}

.dr-nav-btn .dr-access-mark {
  margin-left: auto;
  flex-shrink: 0;
}

.dr-nav-btn-label {
  display: flex;
  align-items: baseline;
  gap: 8px;
  min-width: 0;
}

.dr-nav-btn-label > span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dr-article-item.locked .dr-article-item-title {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.dr-access-panel {
  padding: 22px 24px;
  background: rgba(13, 22, 39, 0.55);
  border: 1px solid rgba(197, 160, 89, 0.28);
}

.dr-access-panel.collapsible {
  padding: 0;
}

.dr-access-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  margin: 0;
  padding: 18px 24px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  color: var(--gold-500);
}

.dr-access-toggle:hover {
  color: var(--gold-400);
}

.dr-access-toggle:focus-visible {
  outline: 1px solid var(--gold-400);
  outline-offset: -1px;
}

.dr-access-toggle-copy {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.dr-access-toggle .dr-panel-title {
  margin: 0;
  color: inherit;
}

.dr-access-toggle-summary {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  line-height: 1.35;
  color: var(--alabaster);
}

.dr-access-panel.collapsible.open .dr-access-toggle {
  padding-bottom: 10px;
}

.dr-access-panel.collapsible.open .dr-access-toggle .dr-nav-chevron {
  transform: rotate(45deg);
}

.dr-access-panel.collapsible.open .dr-access-levels {
  padding: 4px 24px 22px;
}

.dr-access-levels {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}

.dr-access-card {
  padding: 16px 18px;
  background: rgba(7, 13, 24, 0.55);
  border: 1px solid rgba(197, 160, 89, 0.2);
}

.dr-access-card.current {
  border-color: rgba(197, 160, 89, 0.55);
  box-shadow: inset 0 0 0 1px rgba(197, 160, 89, 0.25);
}

.dr-access-card.next {
  border-color: rgba(197, 160, 89, 0.75);
  background: rgba(197, 160, 89, 0.07);
}

.dr-access-card-head {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
}

.dr-access-card-level {
  font-family: var(--font-sans);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-400);
}

.dr-access-card-badge {
  font-family: var(--font-sans);
  font-size: 0.5625rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--emerald-900);
  background: var(--gold-400);
  padding: 3px 8px;
}

.dr-access-card-next {
  font-family: var(--font-sans);
  font-size: 0.5625rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sapphire-900);
  background: var(--gold-400);
  padding: 3px 8px;
}

.dr-access-card-name {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.15rem;
  color: var(--alabaster);
  margin: 0;
}

.dr-access-card-audience {
  font-family: var(--font-serif);
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--sapphire-200);
  margin: 8px 0 0;
}

.dr-access-card-action {
  margin-top: 14px;
}

.dr-access-card .dr-upgrade-btn {
  white-space: normal;
  text-align: left;
  line-height: 1.35;
}

.dr-access-card-later {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1.4;
  text-transform: uppercase;
  color: var(--sapphire-400);
}

.dr-access-invite {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.dr-access-lock {
  max-width: 560px;
  padding: 8px 0 24px;
}

.dr-access-lock-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  border: 1px solid rgba(197, 160, 89, 0.4);
  color: var(--gold-400);
}

.dr-access-lock-icon i,
.dr-access-lock-icon svg {
  width: 20px;
  height: 20px;
}

.dr-access-lock-action {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.dr-clocks {
  display: flex;
  align-items: center;
}

.dr-clocks .dr-live-dot {
  margin-right: 14px;
}

.dr-clock {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 0 14px;
}

.dr-clock:first-of-type {
  padding-left: 0;
}

.dr-clock + .dr-clock {
  border-left: 1px solid rgba(197, 160, 89, 0.28);
}

.dr-clock-city {
  font-family: var(--font-sans);
  font-size: 0.5625rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-400);
  line-height: 1;
}

.dr-clock-time {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--alabaster);
  letter-spacing: 0.04em;
  line-height: 1;
}

.dr-layout {
  display: flex;
  flex: 1;
  min-height: 0;
  align-items: flex-start;
  position: relative;
  z-index: 1;
}

.dr-nav {
  width: 280px;
  flex-shrink: 0;
  padding: 28px 0 16px;
  border-right: 1px solid rgba(76, 91, 122, 0.35);
  display: flex;
  flex-direction: column;
  gap: 22px;
  background: rgba(7, 13, 24, 0.5);
  position: sticky;
  top: 0;
  max-height: 100vh;
  overflow: hidden;
}

.dr-nav-contact {
  margin-top: auto;
  flex-shrink: 0;
  margin-left: 14px;
  margin-right: 14px;
  padding: 12px 12px 11px;
  border: 1px solid rgba(76, 91, 122, 0.45);
  background: rgba(13, 22, 39, 0.72);
}

.dr-nav-contact-label {
  margin: 10px 0 2px;
  font-family: var(--font-sans);
  font-size: 0.5625rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-500);
}

.dr-nav-contact-label:first-child { margin-top: 0; }

.dr-nav-contact-name {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  line-height: 1.35;
  color: var(--alabaster);
}

.dr-nav-contact-mail {
  display: inline-block;
  margin-top: 1px;
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  line-height: 1.35;
  color: var(--sapphire-200);
  text-decoration: none;
  overflow-wrap: anywhere;
}

.dr-nav-contact-mail:hover { color: var(--gold-400); }

.dr-nav-btn {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  width: 100%;
  box-sizing: border-box;
  text-align: left;
  padding: 7px 16px 7px 22px;
  cursor: pointer;
  background: transparent;
  border: none;
  border-radius: 2px;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: var(--sapphire-200);
  transition: background 0.2s ease, color 0.2s ease;
}

.dr-nav-btn:hover {
  color: var(--alabaster);
}

.dr-nav-btn.active {
  background: var(--sapphire-700);
  color: var(--alabaster);
  font-weight: 600;
  margin: 0 12px;
  width: calc(100% - 24px);
  padding: 7px 4px 7px 10px;
}

.dr-main {
  flex: 1;
  min-width: 0;
  overflow: auto;
  padding: clamp(24px, 4vw, 40px) clamp(24px, 5vw, 48px);
}

.dr-mono {
  font-family: ui-monospace, "SF Mono", "Cascadia Code", "Segoe UI Mono", monospace;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}

.dr-kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
}

.dr-kpi {
  background: rgba(13, 22, 39, 0.8);
  border: 1px solid rgba(76, 91, 122, 0.4);
  padding: 18px 20px;
}

.dr-kpi-label {
  font-family: var(--font-sans);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sapphire-200);
  margin-bottom: 8px;
}

.dr-kpi-value {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.75vw, 1.85rem);
  color: var(--alabaster);
  line-height: 1;
}

.dr-panel {
  background: rgba(13, 22, 39, 0.75);
  border: 1px solid rgba(76, 91, 122, 0.35);
  padding: 22px 24px;
}

.dr-panel-title {
  font-family: var(--font-sans);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-500);
  margin: 0 0 14px;
}

.dr-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.8125rem;
}

.dr-table th {
  font-family: var(--font-sans);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sapphire-200);
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid rgba(76, 91, 122, 0.4);
}

.dr-table td {
  font-family: var(--font-serif);
  padding: 11px 12px;
  border-bottom: 1px solid rgba(76, 91, 122, 0.2);
  color: var(--alabaster);
}

.dr-table td.num {
  font-family: ui-monospace, "SF Mono", monospace;
  font-variant-numeric: tabular-nums;
  text-align: right;
  color: var(--gold-200);
}

.dr-slider-row {
  display: grid;
  grid-template-columns: 140px 1fr 72px;
  gap: 14px;
  align-items: center;
  margin-bottom: 14px;
}

.dr-slider-row label {
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--sapphire-200);
}

.dr-slider-row input[type="range"] {
  width: 100%;
  accent-color: var(--gold-500);
}

.dr-slider-val {
  font-family: ui-monospace, "SF Mono", monospace;
  font-size: 0.8125rem;
  color: var(--gold-400);
  text-align: right;
}

.dr-scenario-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
}

.dr-scenario-tab {
  padding: 10px 18px;
  border: 1px solid rgba(76, 91, 122, 0.5);
  background: transparent;
  color: var(--sapphire-200);
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s ease;
}

.dr-scenario-tab.active {
  background: var(--gold-500);
  border-color: var(--gold-500);
  color: var(--sapphire-900);
}

.dr-chart-svg {
  width: 100%;
  height: auto;
  display: block;
}

.dr-sparkline {
  width: 100%;
  height: 48px;
}

.dr-two-col {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 20px;
}

.dr-tag {
  font-family: var(--font-sans);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 10px;
  background: rgba(197, 160, 89, 0.12);
  border: 1px solid rgba(197, 160, 89, 0.25);
  color: var(--gold-200);
}

.dr-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.75rem, 3.52vw, 2.4rem);
  color: var(--alabaster);
  margin: 12px 0 14px;
  line-height: 1.05;
}

.dr-body {
  font-family: var(--font-serif);
  font-size: clamp(1rem, 1.485vw, 1.12rem);
  line-height: 1.6;
  color: var(--sapphire-200);
  margin: 0;
  max-width: 62ch;
}

.dr-live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 8px rgba(74, 222, 128, 0.5);
  flex-shrink: 0;
}

/* Article library */
.dr-article-layout {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 20px;
  margin-top: 24px;
  min-height: 70vh;
}

.dr-article-sidebar {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: 75vh;
  overflow: hidden;
}

.dr-article-search {
  width: 100%;
  padding: 11px 14px;
  background: rgba(7, 13, 24, 0.6);
  border: 1px solid rgba(76, 91, 122, 0.5);
  color: var(--alabaster);
  font-family: var(--font-sans);
  font-size: 0.875rem;
  outline: none;
}

.dr-article-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.dr-article-count {
  font-size: 0.6875rem;
  color: var(--sapphire-200);
}

.dr-article-list {
  list-style: none;
  margin: 0;
  padding: 0;
  overflow-y: auto;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.dr-article-item {
  width: 100%;
  text-align: left;
  padding: 12px 14px;
  background: rgba(13, 22, 39, 0.6);
  border: 1px solid rgba(76, 91, 122, 0.3);
  cursor: pointer;
  color: var(--alabaster);
  transition: background 0.2s ease, border-color 0.2s ease;
}

.dr-article-item:hover { background: rgba(197, 160, 89, 0.08); }
.dr-article-item.active { border-color: var(--gold-500); background: rgba(197, 160, 89, 0.12); }
.dr-article-item.pending { opacity: 0.55; }

.dr-article-item-title {
  display: block;
  font-family: var(--font-serif);
  font-size: 0.875rem;
  line-height: 1.35;
  margin-bottom: 4px;
}

.dr-article-item-meta {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.625rem;
  letter-spacing: 0.06em;
  color: var(--sapphire-200);
  text-transform: uppercase;
}

.dr-article-main {
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.dr-article-header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.dr-article-heading {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--alabaster);
  margin: 0 0 6px;
  line-height: 1.2;
}

.dr-article-meta {
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sapphire-200);
  margin: 0 0 10px;
}

.dr-article-excerpt {
  font-family: var(--font-serif);
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--sapphire-200);
  margin: 0 0 12px;
  max-width: 58ch;
}

.dr-article-tags { display: flex; flex-wrap: wrap; gap: 6px; }

.dr-pdf-viewer {
  flex: 1;
  min-height: 520px;
  border: 1px solid rgba(76, 91, 122, 0.4);
  background: #0a0f18;
}

.dr-pdf-viewer iframe {
  width: 100%;
  height: 100%;
  min-height: 520px;
  border: none;
}

.dr-embed-stack {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.dr-embed-card-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.dr-embed-card-head .dr-article-heading {
  margin: 0;
  font-size: 1.125rem;
}

.dr-embed-card-head a.dr-scenario-tab {
  text-decoration: none;
}

.dr-pdf-viewer-embed {
  min-height: 640px;
}

.dr-pdf-viewer-embed iframe {
  min-height: 640px;
}

.dr-article-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
  color: var(--sapphire-200);
  font-family: var(--font-serif);
}

/* Sensitivity heatmap */
.dr-heatmap-wrap { overflow-x: auto; }

.dr-heatmap {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.75rem;
}

.dr-heatmap th,
.dr-heatmap td {
  padding: 8px 10px;
  text-align: center;
  border: 1px solid rgba(76, 91, 122, 0.3);
  font-family: ui-monospace, "SF Mono", monospace;
}

.dr-heatmap th {
  font-family: var(--font-sans);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--sapphire-200);
  background: rgba(7, 13, 24, 0.5);
}

.dr-heatmap-cell {
  cursor: pointer;
  color: var(--alabaster);
  transition: outline 0.15s ease;
}

.dr-heatmap-cell:hover { outline: 1px solid var(--gold-400); }
.dr-heatmap-cell.active { outline: 2px solid var(--gold-500); }

.dr-portal {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(48px, 8vh, 96px) clamp(24px, 6vw, 64px);
  background: var(--sapphire-900);
  position: relative;
  z-index: 1;
}

.dr-portal-inner {
  width: 100%;
  max-width: 920px;
}

.dr-portal-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.2rem, 5.5vw, 3.4rem);
  line-height: 1.05;
  color: var(--alabaster);
  margin: 16px 0 12px;
}

.dr-portal-intro {
  font-family: var(--font-serif);
  font-size: clamp(1.05rem, 1.65vw, 1.2rem);
  line-height: 1.55;
  color: var(--sapphire-200);
  margin: 0 0 36px;
  max-width: 42ch;
}

.dr-welcome {
  margin: 8px 0 32px;
  padding: 22px 26px 20px;
  max-width: 68ch;
  background: rgba(13, 22, 39, 0.55);
  border-left: 2px solid var(--gold-500);
}

.dr-welcome-label {
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-400);
}

.dr-welcome-body {
  margin: 14px 0 0;
  font-family: var(--font-serif);
  font-size: clamp(1.05rem, 1.65vw, 1.2rem);
  line-height: 1.6;
  color: var(--alabaster);
}

.dr-welcome-sign {
  margin: 16px 0 0;
  font-family: var(--font-italic);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--gold-200);
}

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

.dr-portal-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: 10px;
  min-height: 240px;
  padding: 28px 26px 24px;
  background: rgba(13, 22, 39, 0.75);
  border: 1px solid rgba(197, 160, 89, 0.28);
  color: var(--alabaster);
  cursor: pointer;
  transition:
    border-color var(--dur-slow) var(--ease-silk),
    transform var(--dur-slow) var(--ease-silk),
    background var(--dur-slow) var(--ease-silk),
    box-shadow var(--dur-slow) var(--ease-silk);
}

.dr-portal-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold-700), var(--gold-200));
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 520ms var(--ease-silk);
  z-index: 1;
}

.dr-portal-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    115deg,
    transparent 32%,
    rgba(232, 214, 172, 0.16) 48%,
    transparent 64%
  );
  transform: translateX(-130%);
  pointer-events: none;
}

.dr-portal-card > * {
  position: relative;
  z-index: 1;
}

.dr-portal-card:hover,
.dr-portal-card:focus-visible {
  border-color: var(--gold-400);
  background: rgba(197, 160, 89, 0.08);
  transform: translateY(-4px);
  box-shadow: 0 18px 36px rgba(6, 13, 24, 0.32);
  outline: none;
}

.dr-portal-card:hover::before,
.dr-portal-card:focus-visible::before {
  transform: scaleX(1);
}

.dr-portal-card:hover::after,
.dr-portal-card:focus-visible::after {
  animation: dr-portal-sheen 900ms var(--ease-silk) forwards;
}

@keyframes dr-portal-sheen {
  from { transform: translateX(-130%); }
  to { transform: translateX(130%); }
}

.dr-portal-card-eyebrow,
.dr-portal-card-cta {
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-400);
}

.dr-portal-card-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.45rem, 2.42vw, 1.85rem);
  line-height: 1.15;
  color: var(--alabaster);
  transition: color var(--dur-base) var(--ease-silk);
}

.dr-portal-card:hover .dr-portal-card-title,
.dr-portal-card:focus-visible .dr-portal-card-title {
  color: var(--gold-200);
}

.dr-portal-card-sub {
  font-family: var(--font-italic);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--gold-200);
}

.dr-portal-card-body {
  font-family: var(--font-serif);
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--sapphire-200);
}

.dr-portal-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  padding-top: 18px;
  transition: color var(--dur-base) var(--ease-silk);
}

.dr-portal-card-arrow {
  display: inline-block;
  transition: transform var(--dur-base) var(--ease-silk);
}

.dr-portal-card:hover .dr-portal-card-cta,
.dr-portal-card:focus-visible .dr-portal-card-cta {
  color: var(--gold-200);
}

.dr-portal-card:hover .dr-portal-card-arrow,
.dr-portal-card:focus-visible .dr-portal-card-arrow {
  transform: translateX(6px);
}

.dr-portal-signout {
  margin-top: 28px;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--sapphire-200);
}

.dr-portal-signout:hover { color: var(--gold-400); }

.dr-confidentiality {
  max-width: 640px;
}

.dr-confidentiality-body {
  margin: 8px 0 0;
}

.dr-confidentiality-body p {
  margin: 0 0 14px;
  font-family: var(--font-serif);
  font-size: clamp(1.02rem, 1.54vw, 1.15rem);
  line-height: 1.6;
  color: var(--sapphire-200);
  text-wrap: pretty;
}

.dr-confidentiality-body p:last-child {
  margin-bottom: 0;
}

.dr-confidentiality-terms {
  margin: 22px 0 0;
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  line-height: 1.55;
  color: var(--sapphire-200);
}

.dr-confidentiality-terms a {
  color: var(--gold-400);
  text-decoration: none;
  border-bottom: 1px solid rgba(197, 160, 89, 0.45);
}

.dr-confidentiality-terms a:hover {
  color: var(--gold-200);
}

.dr-confidentiality-check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 28px;
  padding: 16px 18px;
  background: rgba(13, 22, 39, 0.55);
  border: 1px solid rgba(197, 160, 89, 0.28);
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--alabaster);
}

.dr-confidentiality-check input {
  margin-top: 3px;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  accent-color: var(--gold-500);
  cursor: pointer;
}

.dr-confidentiality-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 28px;
  margin-top: 28px;
}

.dr-confidentiality-enter {
  padding: 14px 22px;
  background: var(--gold-500);
  border: none;
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--emerald-900);
  transition:
    background var(--dur-base) var(--ease-silk),
    transform var(--dur-fast) var(--ease-silk),
    opacity var(--dur-base) var(--ease-silk);
}

.dr-confidentiality-enter:hover:not(:disabled) {
  background: var(--gold-400);
  transform: translateY(-1px);
}

.dr-confidentiality-enter:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.dr-confidentiality-decline {
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--sapphire-200);
}

.dr-confidentiality-decline:hover {
  color: var(--gold-400);
}

.dr-room { max-width: 920px; }

@media (max-width: 720px) {
  .dr-portal-grid { grid-template-columns: 1fr; }
  .dr-room li { grid-template-columns: 1fr !important; gap: 6px !important; }
}

@media (prefers-reduced-motion: reduce) {
  .dr-portal-card,
  .dr-portal-card::before,
  .dr-portal-card-title,
  .dr-portal-card-cta,
  .dr-portal-card-arrow {
    transition: none;
  }

  .dr-portal-card:hover,
  .dr-portal-card:focus-visible,
  .dr-portal-card:hover .dr-portal-card-arrow,
  .dr-portal-card:focus-visible .dr-portal-card-arrow {
    transform: none;
  }

  .dr-portal-card::after,
  .dr-portal-card:hover::after,
  .dr-portal-card:focus-visible::after {
    animation: none;
    transform: none;
    opacity: 0;
  }

  .dr-portal-card:hover::before,
  .dr-portal-card:focus-visible::before {
    transform: scaleX(1);
  }
}

/* Pre-launch room additions */
.dr-lead {
  font-family: var(--font-serif);
  font-size: clamp(1.15rem, 1.98vw, 1.35rem);
  line-height: 1.55;
  color: var(--alabaster);
  margin: 0;
  max-width: 48ch;
}

.dr-muted {
  font-family: var(--font-serif);
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--sapphire-200);
  margin: 0;
}

.dr-hypo-note {
  font-family: var(--font-sans);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-400);
  margin: 10px 0 0;
}

.dr-kpi-sub {
  font-family: var(--font-sans);
  font-size: 0.625rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sapphire-200);
  margin-top: 6px;
}

.dr-kpi-link {
  cursor: pointer;
  text-align: left;
  color: inherit;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.dr-kpi-link:hover {
  border-color: rgba(197, 160, 89, 0.55);
  background: rgba(197, 160, 89, 0.08);
}

.dr-nesting {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.dr-nesting-step {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 14px;
  align-items: start;
}

.dr-nesting-num {
  font-size: 0.8125rem;
  color: var(--gold-400);
  padding-top: 2px;
}

.dr-nesting-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--alabaster);
}

.dr-cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
}

.dr-door-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
}

.dr-door-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  text-align: left;
  padding: 20px 18px;
  background: rgba(13, 22, 39, 0.75);
  border: 1px solid rgba(197, 160, 89, 0.28);
  color: var(--alabaster);
  cursor: pointer;
  transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.dr-door-card:hover {
  border-color: var(--gold-400);
  background: rgba(197, 160, 89, 0.08);
  transform: translateY(-2px);
}

.dr-door-eyebrow {
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-400);
}

.dr-door-body {
  font-family: var(--font-serif);
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--sapphire-200);
}

.dr-check-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.dr-check-list li {
  font-family: var(--font-serif);
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--sapphire-200);
  padding-left: 14px;
  border-left: 2px solid rgba(197, 160, 89, 0.45);
}

.dr-check-list-out li {
  border-left-color: rgba(76, 91, 122, 0.6);
}

.dr-scenario-strip {
  border-color: rgba(197, 160, 89, 0.35);
}

.dr-team-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.dr-team-list li {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) auto;
  gap: 16px;
  align-items: start;
  padding: 16px 0;
  border-top: 1px solid rgba(76, 91, 122, 0.35);
}

.dr-team-name {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.2vw, 1.6rem);
  color: var(--alabaster);
}

.dr-team-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
}

.dr-team-links a {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--gold-400);
  text-decoration: none;
  border-bottom: 1px solid rgba(197, 160, 89, 0.45);
}

.dr-team-links a:hover {
  color: var(--gold-200);
  border-bottom-color: var(--gold-200);
}

.dr-team-role {
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sapphire-200);
}

.dr-team-place {
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-400);
}

.dr-email-link {
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 2.2vw, 1.5rem);
  color: var(--gold-400);
  text-decoration: none;
  border-bottom: 1px solid rgba(197, 160, 89, 0.45);
}

.dr-disclaimer {
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  color: var(--sapphire-200);
  opacity: 0.65;
  margin-top: 48px;
  padding-top: 20px;
  border-top: 1px solid rgba(76, 91, 122, 0.3);
}

.dr-chart-tooltip {
  position: absolute;
  top: 12px;
  right: 12px;
  min-width: 140px;
  padding: 10px 12px;
  background: rgba(7, 13, 24, 0.92);
  border: 1px solid rgba(197, 160, 89, 0.35);
  pointer-events: none;
}

.dr-legend-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  color: var(--sapphire-200);
}

.dr-company-btn {
  text-align: left;
  cursor: pointer;
  padding: 14px 16px;
  background: rgba(13, 22, 39, 0.6);
  border: 1px solid rgba(76, 91, 122, 0.35);
  color: inherit;
}

.dr-company-btn.active {
  background: rgba(197, 160, 89, 0.12);
  border-color: rgba(197, 160, 89, 0.4);
}

.dr-pending-panel {
  border-color: rgba(197, 160, 89, 0.35);
}

.dr-search-wrap {
  position: relative;
  min-width: 180px;
}

.dr-search-loupe {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  padding: 0;
  background: rgba(7, 13, 24, 0.6);
  border: 1px solid rgba(76, 91, 122, 0.5);
  color: var(--gold-400);
  cursor: pointer;
}

.dr-search-loupe svg {
  width: 16px;
  height: 16px;
}

.dr-search-loupe:hover,
.dr-search-loupe[aria-expanded="true"] {
  border-color: var(--gold-400);
  color: var(--gold-200);
}

.dr-search-loupe:focus-visible {
  outline: 1px solid var(--gold-400);
  outline-offset: 2px;
}

.dr-search-wrap.is-compact {
  display: flex;
  align-items: center;
  width: auto;
  min-width: 0;
}

.dr-search-wrap.is-compact .dr-header-search {
  flex: 0 0 0px;
  width: 0;
  min-width: 0;
  max-width: 0;
  margin-left: 0;
  padding-left: 0;
  padding-right: 0;
  border-width: 0;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
  transition: flex-basis 0.18s ease, width 0.18s ease, max-width 0.18s ease, margin-left 0.18s ease, padding 0.18s ease, opacity 0.15s ease, border-width 0.18s ease;
}

.dr-search-wrap.is-compact.is-open .dr-header-search {
  flex: 0 0 240px;
  width: 240px;
  max-width: 240px;
  margin-left: 8px;
  padding: 8px 12px;
  border-width: 1px;
  opacity: 1;
  pointer-events: auto;
}

.dr-header-search {
  width: 100%;
  min-width: 180px;
  max-width: 260px;
  padding: 8px 12px;
  background: rgba(7, 13, 24, 0.6);
  border: 1px solid rgba(76, 91, 122, 0.5);
  color: var(--alabaster);
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  outline: none;
}

.dr-search-results {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  width: min(360px, 80vw);
  max-height: 320px;
  overflow: auto;
  list-style: none;
  margin: 0;
  padding: 4px 0;
  background: rgba(7, 13, 24, 0.98);
  border: 1px solid rgba(197, 160, 89, 0.35);
  z-index: 60;
}

.dr-search-results button {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: left;
  padding: 10px 14px;
  background: transparent;
  border: none;
  color: var(--alabaster);
  cursor: pointer;
  font-family: var(--font-serif);
  font-size: 0.875rem;
}

.dr-search-results button:hover {
  background: rgba(197, 160, 89, 0.1);
}

.dr-search-type {
  font-family: var(--font-sans);
  font-size: 0.5625rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-400);
}

.dr-nav-group {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.dr-nav-group-directory {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(76, 91, 122, 0.35);
}

.dr-nav-group-final {
  margin-top: 10px;
}

.dr-crumb {
  margin-top: 4px;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  color: var(--sapphire-200);
}

.dr-crumb-current { color: var(--alabaster); }

.dr-back-link {
  display: inline-block;
  margin: 0 0 18px;
  padding: 0 0 6px;
  background: none;
  border: none;
  border-bottom: 1px solid var(--gold-500);
  color: var(--gold-400);
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.dr-questions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 28px;
}

.dr-question {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--alabaster);
}

.dr-main-page {
  padding: 0;
  background: #FBF9F6;
  color: #141618;
}

.dr-nav-group-label {
  font-family: var(--font-sans);
  font-size: 0.5625rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-500);
  padding: 8px 22px 6px;
  opacity: 0.85;
}

.dr-nav-mobile { display: none; }
.dr-nav-desktop {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  overflow: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--sapphire-200) var(--sapphire-900);
}

.dr-nav-select {
  width: 100%;
  padding: 10px 12px;
  background: rgba(7, 13, 24, 0.8);
  border: 1px solid rgba(76, 91, 122, 0.5);
  color: var(--alabaster);
  font-family: var(--font-sans);
  font-size: 0.8125rem;
}

.dr-nav-mobile-label {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.625rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sapphire-200);
  margin-bottom: 6px;
}

.dr-folder-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
  max-height: 220px;
  overflow: auto;
}

.dr-folder-btn {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  text-align: left;
  padding: 10px 12px;
  background: transparent;
  border: 1px solid transparent;
  color: var(--sapphire-200);
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dr-folder-btn.active,
.dr-folder-btn:hover {
  color: var(--gold-400);
  background: rgba(197, 160, 89, 0.08);
  border-color: rgba(197, 160, 89, 0.25);
}

@media (min-width: 901px) {
  .dr-app {
    height: 100vh;
    overflow: hidden;
  }
  .dr-layout {
    flex: 1;
    min-height: 0;
    align-items: stretch;
    overflow: hidden;
  }
  .dr-nav {
    height: auto;
    max-height: none;
    align-self: stretch;
    position: static;
  }
  .dr-main {
    height: 100%;
  }
}

@media (max-width: 900px) {
  .dr-header { flex-wrap: wrap; }
  .dr-header-tools { width: 100%; justify-content: flex-start; flex: 1 1 auto; flex-wrap: wrap; row-gap: 10px; }
  .dr-header-account { flex-wrap: wrap; row-gap: 10px; }
  .dr-header-user-email { display: inline; max-width: none; }
  .dr-upgrade-panel { left: 0; right: auto; }
  .dr-header-tools .dr-scenario-tab { flex-shrink: 0; }
  .dr-clock { padding: 0 10px; }
  .dr-clock-time { font-size: 0.75rem; }
  .dr-search-wrap.is-compact.is-open { flex: 1 1 160px; min-width: 0; }
  .dr-search-wrap.is-compact.is-open .dr-header-search {
    flex: 1 1 auto;
    width: auto;
    max-width: none;
  }
  .dr-article-layout { grid-template-columns: 1fr; }
  .dr-article-sidebar { max-height: 280px; }
  .dr-layout { flex-direction: column; }
  .dr-nav {
    width: 100%;
    position: static;
    max-height: none;
    overflow: visible;
    border-right: none;
    border-bottom: 1px solid rgba(76, 91, 122, 0.35);
    padding: 12px 16px;
  }
  .dr-nav-desktop { display: none; }
  .dr-nav-mobile { display: block; width: 100%; }
  .dr-two-col, .dr-portfolio-grid { grid-template-columns: 1fr !important; }
  .dr-door-row { grid-template-columns: 1fr; }
  .dr-slider-row { grid-template-columns: 1fr; gap: 6px; }
  .dr-slider-val { text-align: left; }
  .dr-team-list li { grid-template-columns: 1fr; gap: 6px; }
  .dr-search-wrap:not(.is-compact) { width: 100%; max-width: none; }
  .dr-search-wrap:not(.is-compact) .dr-header-search { max-width: none; }
}

/* Vertical page — midnight sapphire, matching the room */
.vp {
  color: var(--alabaster);
  font-family: var(--font-sans);
}

.vp-wrap {
  max-width: 1120px;
  width: 100%;
  margin: 0 auto;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: clamp(56px, 7vw, 96px);
  box-sizing: border-box;
}

.vp-hero, .vp-section {
  display: flex;
  flex-direction: column;
  gap: 20px;
  scroll-margin-top: 24px;
}

.vp-hero-copy {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
}

.vp-hero.vp-hero-art {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-start;
  column-gap: clamp(24px, 4vw, 56px);
}

.vp-hero.vp-hero-art .vp-hero-copy {
  flex: 1 1 320px;
}

.vp-hero.vp-hero-art .vp-art {
  flex: 0 0 min(280px, 100%);
  width: min(280px, 100%);
  margin: 8px 0 0;
}

.vp-hero.vp-hero-art .vp-meta,
.vp-hero.vp-hero-art .vp-toc {
  flex: 1 1 100%;
}

.vp-art img,
.vp-index-art img {
  display: block;
  width: 100%;
  height: auto;
}

.vp-index-art {
  display: block;
  width: min(100%, 200px);
  margin-bottom: 6px;
}

.vp-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-500);
}

.vp-kicker::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--gold-500);
  flex-shrink: 0;
}

.vp-title {
  margin: 0;
  max-width: min(18ch, 100%);
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.125rem, 8.8vw, 4.25rem);
  line-height: 1.03;
  letter-spacing: -0.01em;
  color: var(--alabaster);
  overflow-wrap: break-word;
}

.vp-h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.75rem, 3.3vw, 2.5rem);
  line-height: 1.1;
  color: var(--alabaster);
}

.vp-h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.375rem;
  line-height: 1.2;
  color: var(--alabaster);
}

.vp-lead, .vp-prose {
  margin: 0;
  max-width: min(68ch, 100%);
  font-family: var(--font-serif);
  font-size: clamp(1.0625rem, 1.76vw, 1.3125rem);
  line-height: 1.55;
  color: var(--sapphire-200);
  overflow-wrap: break-word;
}

.vp-prose { font-size: 1.0625rem; color: var(--alabaster); }

.vp-draft {
  align-self: flex-start;
  margin: 0;
  max-width: 72ch;
  font-size: 0.75rem;
  line-height: 1.5;
  color: var(--gold-200);
  background: rgba(197, 160, 89, 0.08);
  border: 1px dashed rgba(197, 160, 89, 0.45);
  padding: 6px 10px;
}

.vp-meta {
  margin: 8px 0 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  border-top: 1px solid rgba(169, 178, 196, 0.25);
  border-bottom: 1px solid rgba(169, 178, 196, 0.25);
}

.vp-meta > div { padding: 14px 16px 14px 0; }

.vp-meta dt {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sapphire-200);
}

.vp-meta dd {
  margin: 4px 0 0;
  font-size: 0.9375rem;
  color: var(--alabaster);
}

.vp-meta-note, .vp-caption {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--sapphire-200);
}

.vp-toc {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
}

.vp-toc a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.vp-toc a, .vp a.vp-text-btn, .vp button.vp-text-btn {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--gold-400);
  background: none;
  border: none;
  border-bottom: 1px solid var(--gold-500);
  padding: 8px 0;
  cursor: pointer;
  align-self: flex-start;
}

.vp-toc a:hover, .vp a.vp-text-btn:hover, .vp button.vp-text-btn:hover {
  color: var(--gold-200);
}

.vp-stats,
.vp-gap,
.vp-episode-mark {
  background: var(--sapphire-800);
  color: var(--alabaster);
  border: 1px solid rgba(197, 160, 89, 0.25);
}

.vp-stats {
  padding: clamp(24px, 3vw, 40px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(210px, 100%), 1fr));
  gap: 28px 32px;
}

.vp-stats > div, .vp-series > div, .vp-gap > div {
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-top: 1px solid var(--gold-500);
  padding-top: 16px;
}

.vp-stat-value {
  font-family: var(--font-display);
  font-size: clamp(2.125rem, 3.74vw, 2.75rem);
  line-height: 1;
  font-variant-numeric: tabular-nums;
  color: var(--alabaster);
}

.vp-stat-label {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-500);
}

.vp-stat-note, .vp-gap-note {
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--sapphire-200);
}

.vp-stats a, .vp-cite {
  color: var(--gold-400);
  text-decoration: none;
}

.vp-section a.vp-cite { color: var(--gold-400); }

.vp-facts, .vp-hypos, .vp-index-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
  gap: 32px;
}

.vp-facts article h3, .vp-hypos h3, .vp-episode h3, .vp-risks h3 {
  margin: 8px 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.375rem;
  line-height: 1.2;
  color: var(--alabaster);
}

.vp-facts article p, .vp-hypos p, .vp-episode p, .vp-risks p, .vp-empty-card p {
  margin: 0 0 10px;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--sapphire-200);
}

.vp-num {
  font-variant-numeric: tabular-nums;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  color: var(--gold-500);
}

.vp-field {
  display: inline;
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sapphire-200);
  margin-right: 6px;
}

.vp-status {
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-400);
}

.vp-hypos article, .vp-empty-card, .vp-episode, .vp-study {
  border-top: 1px solid rgba(169, 178, 196, 0.25);
  padding-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.vp-hypos header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
}

.vp-empty, .vp-empty-card {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--sapphire-200);
}

.vp-empty-card strong {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.25rem;
  color: var(--alabaster);
}

.vp-split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
}

.vp-bullets {
  margin: 8px 0 0;
  padding-left: 18px;
  color: var(--sapphire-200);
  font-size: 0.9375rem;
  line-height: 1.55;
}

.vp-table-wrap { overflow-x: auto; max-width: 100%; }

.vp-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
  line-height: 1.45;
  color: var(--sapphire-200);
}

.vp-table th, .vp-table td {
  text-align: left;
  vertical-align: top;
  padding: 12px 14px 12px 0;
  border-bottom: 1px solid rgba(169, 178, 196, 0.25);
}

.vp-table thead th {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sapphire-200);
}

.vp-house {
  display: block;
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 400;
  color: var(--alabaster);
}

.vp-house-meta { display: block; margin-top: 4px; color: var(--sapphire-200); font-size: 0.8125rem; }

.vp-table caption {
  caption-side: top;
  text-align: left;
  padding: 0 0 10px;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sapphire-200);
}

.vp-series {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px;
  color: var(--alabaster);
}

.vp-series .vp-stat-label { color: var(--gold-500); }

.vp-gap {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr));
  gap: 20px;
  padding: clamp(20px, 3vw, 32px);
}

.vp-episode {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 24px;
  align-items: start;
}

.vp-episode-mark {
  min-height: 160px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.vp-episode-mark .vp-num {
  font-family: var(--font-display);
  font-size: 2.625rem;
  letter-spacing: 0;
  color: var(--gold-500);
}

.vp-link-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(169, 178, 196, 0.25);
}

.vp-link-list button {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  border-bottom: 1px solid rgba(169, 178, 196, 0.25);
  padding: 14px 0;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: var(--alabaster);
  font-family: var(--font-serif);
  font-size: 1.0625rem;
}

.vp-link-list button:hover { color: var(--gold-400); }

.vp-risks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.vp-sources ol {
  margin: 0;
  padding-left: 1.2em;
  color: var(--sapphire-200);
  font-size: 0.8125rem;
  line-height: 1.55;
}

.vp-sources li { margin: 0 0 8px; scroll-margin-top: 24px; }

.vp-footer {
  margin-top: clamp(56px, 7vw, 96px);
  padding: 28px 0 8px;
  border-top: 1px solid rgba(169, 178, 196, 0.25);
  color: var(--sapphire-200);
  background: transparent;
}

.vp-footer p {
  margin: 0;
  max-width: 1120px;
  font-size: 0.75rem;
  line-height: 1.6;
}

.vp-index-card {
  text-align: left;
  background: transparent;
  border: none;
  border-top: 1px solid rgba(169, 178, 196, 0.25);
  padding: 16px 0 0;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: inherit;
}

.vp-index-name {
  font-family: var(--font-display);
  font-size: 1.75rem;
  color: var(--alabaster);
}

.vp-index-blurb {
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--sapphire-200);
}

.vp-index-group { display: flex; flex-direction: column; gap: 18px; }

.vp-pipeline {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.vp-level-gate {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 18px 0;
  border-top: 1px solid rgba(169, 178, 196, 0.25);
}

@media (max-width: 720px) {
  .vp-episode { grid-template-columns: 1fr; }
  .vp-hypos header { flex-direction: column; }
  .vp-toc a { padding: 6px 0; }
}

/* Core vertical thesis chrome */
.vp-dek {
  margin: 0;
  max-width: min(36ch, 100%);
  font-family: var(--font-italic), var(--font-serif);
  font-style: italic;
  font-size: clamp(1.25rem, 2.4vw, 1.625rem);
  line-height: 1.3;
  color: var(--gold-200);
}

.vp-layout {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: clamp(32px, 4vw, 56px);
  align-items: start;
  max-width: 1320px;
  width: 100%;
  margin: 0 auto;
}

.vp-layout .vp-wrap {
  max-width: none;
  margin: 0;
}

.vp-rail {
  position: sticky;
  top: 96px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
  padding: 0 0 40px;
}

.vp-rail-label {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-500);
  padding: 0 12px 10px;
}

.vp-rail-item {
  display: flex;
  align-items: baseline;
  gap: 12px;
  width: 100%;
  padding: 8px 12px;
  border: 0;
  border-radius: 2px;
  background: transparent;
  text-align: left;
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 0.84375rem;
  line-height: 1.3;
  color: var(--sapphire-200);
  transition: background 140ms ease;
}

.vp-rail-item:hover { background: var(--sapphire-700); color: var(--alabaster); }

.vp-rail-item.is-active {
  background: var(--sapphire-700);
  color: var(--alabaster);
  box-shadow: inset 2px 0 0 var(--gold-500);
}

.vp-rail-code {
  flex: none;
  font-size: 0.6875rem;
  color: var(--gold-500);
  font-variant-numeric: tabular-nums;
}

.vp-section .vp-claim { margin-bottom: 0; }

.vp-claim {
  margin: 0 0 40px;
  max-width: 48rem;
  padding: 0;
  border: 0;
  font-family: var(--font-serif);
  font-size: clamp(1.375rem, 2.4vw, 1.8125rem);
  line-height: 1.35;
  letter-spacing: -0.005em;
  color: var(--alabaster);
}

.vp-pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
  gap: 32px 40px;
}

.vp-pillars article {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid rgba(169, 178, 196, 0.2);
}

.vp-pillars article p {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--sapphire-200);
}

.vp-roman {
  font-family: var(--font-serif);
  font-size: 0.9375rem;
  color: var(--gold-500);
}

.vp-pillar-title {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1rem;
  line-height: 1.35;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--alabaster);
}

.vp-radar {
  display: flex;
  flex-direction: column;
  gap: 36px;
  margin: 8px 0 28px;
}

.vp-radar-block {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.vp-radar-label {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-500);
}

.vp-radar-signals {
  margin-top: 8px;
}

.vp-places {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
  gap: 36px 40px;
}

.vp-places article {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 16px;
  border-top: 1px solid rgba(169, 178, 196, 0.2);
}

.vp-place-city {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1.625rem;
  line-height: 1.15;
  font-weight: 400;
  color: var(--alabaster);
}

.vp-places article p {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 0.96875rem;
  line-height: 1.6;
  color: var(--sapphire-200);
}

.vp-season {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.vp-season-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px 24px;
}

.vp-season-label {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--alabaster);
}

.vp-season-legend {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  color: var(--sapphire-200);
}

.vp-season-swatches {
  display: flex;
  gap: 2px;
}

.vp-season-swatches span {
  width: 14px;
  height: 10px;
  display: block;
}

.vp-season-grid {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.vp-season-row {
  display: flex;
  gap: 16px;
  align-items: center;
}

.vp-season-row-em {
  padding-top: 10px;
  border-top: 1px solid rgba(169, 178, 196, 0.2);
}

.vp-season-side {
  flex: 0 0 min(190px, 34%);
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.vp-season-name {
  font-family: var(--font-serif);
  font-size: 0.9375rem;
  line-height: 1.25;
  color: var(--sapphire-200);
}

.vp-season-row-em .vp-season-name { color: var(--alabaster); }

.vp-season-cells {
  flex: 1;
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 3px;
}

.vp-season-cells span {
  height: 34px;
  display: block;
}

.vp-season-months .vp-season-cells span {
  height: auto;
  font-size: 0.65625rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sapphire-200);
  text-align: center;
}

.vp-season-caption {
  margin: 0;
  font-family: var(--font-italic), var(--font-serif);
  font-style: italic;
  font-size: 1.0625rem;
  line-height: 1.5;
  color: var(--gold-200);
}

.vp-value {
  display: flex;
  flex-direction: column;
}

.vp-value-head,
.vp-value-row {
  display: grid;
  grid-template-columns: 36px minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 24px;
  align-items: center;
}

.vp-value-head {
  padding: 0 0 10px;
  border-bottom: 1px solid rgba(169, 178, 196, 0.2);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sapphire-200);
}

.vp-value-years {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  font-variant-numeric: tabular-nums;
}

.vp-value-row {
  padding: 22px 0;
  border-bottom: 1px solid rgba(169, 178, 196, 0.1);
  align-items: center;
}

.vp-value-copy {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.vp-value-copy p {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 0.96875rem;
  line-height: 1.55;
  color: var(--sapphire-200);
}

.vp-value-track-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.vp-value-track {
  position: relative;
  height: 2px;
  background: var(--sapphire-600);
}

.vp-value-bar {
  position: absolute;
  top: -2px;
  height: 6px;
  background: var(--gold-500);
}

.vp-value-foot {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px 40px;
  margin: 32px 0 0;
  padding: 22px 24px;
  background: var(--sapphire-900);
  border: 1px solid rgba(169, 178, 196, 0.16);
  border-top: 1px solid var(--gold-500);
}

.vp-value-foot > div {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.vp-value-foot-text {
  font-family: var(--font-serif);
  font-size: 1.0625rem;
  line-height: 1.5;
  color: var(--alabaster);
}

.vp-threshold {
  color: var(--gold-200);
  font-variant-numeric: tabular-nums;
}

.vp-why-italic {
  font-family: var(--font-italic), var(--font-serif);
  font-style: italic;
  color: var(--sapphire-200);
}

.vp-pipeline-link {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
  margin: 0 0 28px;
}

.vp-pager {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
  margin-top: clamp(24px, 4vw, 40px);
}

.vp-pager-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px 22px;
  border: 1px solid rgba(169, 178, 196, 0.18);
  border-radius: 2px;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color 260ms ease;
}

.vp-pager-card:hover { border-color: var(--gold-500); }

.vp-pager-next { align-items: flex-end; text-align: right; }

.vp-pager-name {
  font-family: var(--font-serif);
  font-size: 1.375rem;
  color: var(--alabaster);
}

.vp-at-a-glance {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.vp-glance {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px 32px;
  margin: 0;
}

.vp-glance > div {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 12px;
  border-top: 1px solid rgba(169, 178, 196, 0.28);
}

.vp-glance dt {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-500);
}

.vp-glance dd {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 0.96875rem;
  line-height: 1.5;
  color: var(--sapphire-200);
}

.vp-ext {
  color: var(--gold-400);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.vp-prose strong,
.vp-ol strong,
.vp-points strong,
.vp-table strong,
.vp-glance strong,
.vp-risks strong,
.vp-facts strong,
.vp-note strong {
  color: var(--alabaster);
  font-weight: 600;
}

.vp-points,
.vp-ol {
  margin: 0;
  padding-left: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.vp-points li,
.vp-ol li {
  font-family: var(--font-serif);
  font-size: 1.02rem;
  line-height: 1.55;
  color: var(--sapphire-200);
}

.vp-note {
  margin: 0;
  font-family: var(--font-italic), var(--font-serif);
  font-style: italic;
  font-size: 0.98rem;
  line-height: 1.55;
  color: var(--sapphire-200);
}

.vp-rowhead {
  font-weight: 500;
  color: var(--alabaster);
}

.vp-table-wide { min-width: 760px; }

.vp-table tr.is-em th,
.vp-table tr.is-em td {
  background: rgba(197, 160, 89, 0.07);
}

.vp-link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
}

.vp-checks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.vp-checks li {
  display: grid;
  grid-template-columns: 14px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  font-family: var(--font-serif);
  font-size: 1.02rem;
  line-height: 1.5;
  color: var(--sapphire-200);
}

.vp-checks li::before {
  content: "";
  width: 11px;
  height: 11px;
  margin-top: 6px;
  border: 1px solid var(--gold-500);
}

.vp-scale,
.vp-matrix-fig {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.vp-scale-group {
  margin-top: 8px;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-500);
}

.vp-scale-row {
  display: grid;
  grid-template-columns: minmax(128px, 190px) minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
}

.vp-scale-name {
  font-family: var(--font-serif);
  font-size: 0.9375rem;
  line-height: 1.3;
  color: var(--sapphire-200);
}

.vp-scale-row.is-mark .vp-scale-name { color: var(--alabaster); }

.vp-scale-track {
  height: 8px;
  background: var(--sapphire-700);
}

.vp-scale-track > span {
  display: block;
  height: 100%;
  background: var(--sapphire-400);
}

.vp-scale-row.is-mark .vp-scale-track > span { background: var(--gold-500); }

.vp-scale-val {
  font-variant-numeric: tabular-nums;
  font-size: 0.8125rem;
  color: var(--alabaster);
  white-space: nowrap;
}

.vp-matrix {
  display: grid;
  gap: 6px;
  min-width: 720px;
}

.vp-matrix-col,
.vp-matrix-heat {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-500);
}

.vp-matrix-side {
  display: flex;
  flex-direction: column;
  gap: 4px;
  justify-content: flex-start;
  padding: 14px 10px 0 0;
}

.vp-matrix-cell {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 92px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(169, 178, 196, 0.16);
}

.vp-matrix-cell.is-shade {
  background: rgba(197, 160, 89, 0.16);
  border-color: var(--gold-500);
}

.vp-matrix-house {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-family: var(--font-serif);
  font-size: 0.9375rem;
  line-height: 1.25;
  color: var(--alabaster);
}

.vp-matrix-note {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  line-height: 1.35;
  color: var(--sapphire-200);
}

@media (max-width: 720px) {
  .vp-scale-row {
    grid-template-columns: minmax(0, 1fr) auto;
  }
  .vp-scale-track { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .vp-value-head,
  .vp-value-row {
    grid-template-columns: 28px minmax(0, 1fr);
  }
  .vp-value-years,
  .vp-value-track-col { display: none; }
  .vp-season-side { flex-basis: 120px; }
}

/* Team & track record */
.dr-main-team {
  padding-top: clamp(28px, 4vw, 44px);
}

/* Room for the fixed .rm-rail: codes only from 901px, names from 1280px */
@media (min-width: 901px) {
  .dr-main-rail { padding-right: 88px; }
}

@media (min-width: 1280px) {
  .dr-main-rail { padding-right: 232px; }
}

.dr-main-team .dr-disclaimer {
  max-width: 1120px;
}

.tp {
  container-name: tp;
  container-type: inline-size;
  max-width: 1120px;
  color: var(--alabaster);
}

.tp-hero {
  display: flex;
  flex-direction: column;
  gap: 22px;
  max-width: 680px;
  margin: 0 0 clamp(64px, 8vw, 96px);
}

.tp h1 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.5rem, 5.2vw, 4.25rem);
  line-height: 1;
  letter-spacing: -0.015em;
  color: var(--alabaster);
  text-wrap: balance;
}

.tp h2 {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(1.75rem, 3vw, 2.375rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--alabaster);
  text-wrap: pretty;
}

.tp h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2rem, 3.4vw, 3rem);
  line-height: 1.02;
  letter-spacing: -0.01em;
  color: var(--alabaster);
}

.tp-kicker {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin: 0;
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-500);
}

.tp-kicker-quiet { color: var(--sapphire-200); padding-bottom: 8px; }

.tp-num-rule {
  width: 28px;
  height: 1px;
  background: var(--gold-500);
  align-self: center;
  flex: none;
}

.tp-idx {
  font-family: var(--font-serif);
  font-size: 0.9375rem;
  letter-spacing: 0;
  font-weight: 400;
}

.tp-italic {
  margin: 14px 0 0;
  font-family: var(--font-italic);
  font-style: italic;
  font-size: clamp(1.25rem, 2vw, 1.625rem);
  line-height: 1.3;
  color: var(--gold-200);
  text-wrap: pretty;
}

.tp-italic-sm {
  margin: 12px 0 0;
  font-size: clamp(1.15rem, 1.8vw, 1.375rem);
}

.tp-lead,
.tp-prose {
  margin: 0;
  max-width: 68ch;
  font-family: var(--font-serif);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--sapphire-200);
  text-wrap: pretty;
}

.tp-prose-light { color: var(--alabaster); }

.tp-section-lead { margin-bottom: 36px; }

.tp-facts,
.tp-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 24px;
  margin: 0;
  padding: 18px 0;
  border-top: 1px solid rgba(169, 178, 196, 0.16);
  border-bottom: 1px solid rgba(169, 178, 196, 0.16);
}

.tp-facts { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.tp-facts dt,
.tp-meta dt,
.tp-foot-meta span,
.tp-caption,
.tp-city-role,
.tp-doc-sub,
.tp-legend,
.tp-status,
.tp-jump span,
.tp-prov-status span:first-child,
.tp-group-head,
.tp-prov-head {
  font-family: var(--font-sans);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.tp-facts dt,
.tp-meta dt {
  font-size: 0.6875rem;
  color: var(--sapphire-200);
}

.tp-facts dd,
.tp-meta dd {
  margin: 4px 0 0;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  line-height: 1.45;
  color: var(--alabaster);
  overflow-wrap: anywhere;
}

.tp a {
  color: var(--gold-400);
  text-decoration: none;
}

.tp a:hover { color: var(--gold-200); }

.tp-section { margin: 0 0 clamp(72px, 9vw, 104px); }

.tp-section-head {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0 0 22px;
  margin: 0 0 36px;
  border-bottom: 1px solid rgba(169, 178, 196, 0.2);
}

.tp-partners {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px 24px;
  margin-bottom: 48px;
}

.tp-partner {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
  padding: 0;
  margin: 0;
  border: 0;
}

.tp-partner-hit {
  cursor: pointer;
  border-radius: 2px;
  outline: none;
  transition: opacity 140ms var(--ease-silk);
}

.tp-partner-hit:hover .tp-bio-link,
.tp-partner-hit:focus-visible .tp-bio-link {
  color: var(--gold-200);
}

.tp-partner-hit:focus-visible {
  box-shadow: 0 0 0 1px var(--gold-500);
}

.tp-partner-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.tp-partner-copy > .tp-kicker {
  min-height: calc(0.6875rem * 1.45 * 2);
  line-height: 1.45;
  align-items: flex-start;
}

.tp-partner-copy h3 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 1.6vw, 1.5rem);
  font-weight: 400;
  line-height: 1.2;
  color: var(--alabaster);
}

.tp-blurb {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tp-blurb .tp-prose {
  font-size: 0.9375rem;
  line-height: 1.55;
}

.tp-bio-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  color: var(--gold-400);
  font-family: var(--font-sans);
  font-size: 0.8125rem;
}

.tp-partner .tp-meta {
  grid-template-columns: 1fr;
  gap: 10px 0;
}

.tp-partner .tp-actions {
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.tp-mono {
  width: 100%;
  max-width: none;
  aspect-ratio: 4 / 5;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px 24px 28px;
  border: 1px solid rgba(169, 178, 196, 0.16);
  background: var(--sapphire-900);
  container-type: inline-size;
}

.tp-mono img {
  height: 32px;
  width: auto;
  align-self: flex-start;
}

.tp-mono-photo {
  display: block;
  padding: 0;
  overflow: hidden;
  position: relative;
}

.tp-mono-photo img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
}

.tp-bio {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.tp-mono-name {
  display: flex;
  flex-direction: column;
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 13cqi, 2.35rem);
  line-height: 0.95;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--alabaster);
  overflow-wrap: anywhere;
}

.tp-mono-line {
  width: 40px;
  height: 1px;
  margin-bottom: 16px;
  background: var(--gold-500);
}

.tp-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
}

.tp-btn,
.tp a.tp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid rgba(251, 249, 246, 0.35);
  border-radius: 2px;
  background: transparent;
  color: var(--alabaster);
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: none;
  cursor: pointer;
  transition: border-color var(--dur-base) var(--ease-silk), color var(--dur-base) var(--ease-silk);
}

.tp-btn:hover,
.tp a.tp-btn:hover {
  border-color: var(--gold-500);
  color: var(--gold-200);
}

span.tp-btn,
span.tp-btn:hover {
  cursor: default;
  border-color: rgba(251, 249, 246, 0.35);
  color: var(--alabaster);
}

.tp-actions a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 0.8125rem;
}

.tp-group-head,
.tp-prov-head {
  display: grid;
  align-items: baseline;
  gap: 16px 24px;
  padding: 0 0 12px;
  border-bottom: 1px solid rgba(169, 178, 196, 0.2);
  font-size: 0.6875rem;
  color: var(--sapphire-200);
}

.tp-prov-head {
  padding: 0 12px 12px;
  margin: 0 -12px;
}

.tp-group-head {
  grid-template-columns: 1fr auto;
  margin-bottom: 0;
  color: var(--alabaster);
}

.tp-group-head span:last-child { color: var(--sapphire-200); }

.tp-group + .tp-group { margin-top: 40px; }

.tp-city {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1.4fr);
  gap: 12px 24px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid rgba(169, 178, 196, 0.1);
}

.tp-city > div { display: flex; flex-direction: column; gap: 4px; min-width: 0; }

.tp-city-name {
  font-family: var(--font-serif);
  font-size: 1.1875rem;
  line-height: 1.25;
  color: var(--alabaster);
}

.tp-city-role {
  font-size: 0.6875rem;
  line-height: 1.5;
  color: var(--gold-400);
}

.tp-city-focus {
  font-family: var(--font-serif);
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--sapphire-200);
}

.tp-prov-intro {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 48px;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 28px;
}

.tp-legend {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
  margin: 0;
  font-size: 0.6875rem;
  color: var(--sapphire-200);
}

.tp-legend .tp-dot { margin-right: 2px; }

.tp-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: 1px solid var(--sapphire-200);
  flex: none;
}

.tp-dot-on {
  border: 0;
  background: var(--gold-500);
  width: 7px;
  height: 7px;
}

.tp-dot-muted {
  opacity: 0.45;
}

.tp-shortlist ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.tp-shortlist li {
  padding: 10px 0;
  border-bottom: 1px solid rgba(169, 178, 196, 0.12);
  font-family: var(--font-serif);
  font-size: 1rem;
  line-height: 1.35;
  color: var(--alabaster);
}

.tp-shortlist-note {
  margin: 12px 0 0;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  line-height: 1.5;
  color: var(--sapphire-200);
}

.tp-prov-head,
.tp-prov {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr) minmax(11.5rem, 14rem) 16px;
  gap: 12px 28px;
  align-items: center;
}

.tp-prov-head span:nth-child(3) { text-align: right; }

.tp button,
.tp-drawer button {
  appearance: none;
}

.tp-prov {
  width: calc(100% + 24px);
  margin: 0 -12px;
  padding: 18px 12px;
  border: 0;
  border-bottom: 1px solid rgba(169, 178, 196, 0.1);
  border-radius: 2px;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: background 140ms var(--ease-silk);
}

.tp-prov:hover,
.tp-doc:hover,
.tp-prov.is-on {
  background: var(--sapphire-700);
}

.tp-prov.is-on { box-shadow: inset 0 0 0 1px rgba(197, 160, 89, 0.55); }

.tp-prov-id { min-width: 0; display: flex; flex-direction: column; gap: 4px; }

.tp-prov-role {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  line-height: 1.3;
  letter-spacing: 0;
  text-transform: none;
  font-weight: 400;
  color: var(--alabaster);
}

.tp-prov-firm {
  font-family: var(--font-serif);
  font-size: 0.9375rem;
  line-height: 1.45;
  color: var(--sapphire-200);
  text-wrap: pretty;
}

.tp-prov-firm.is-named { color: var(--alabaster); }

.tp-prov-status {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  text-align: right;
}

.tp-prov-status span:first-child {
  font-size: 0.6875rem;
  color: var(--sapphire-200);
}

.tp-prov-status span:last-child {
  font-family: var(--font-sans);
  font-size: 0.78125rem;
  letter-spacing: 0;
  text-transform: none;
  font-weight: 400;
  color: var(--sapphire-200);
}

.tp-docs { display: flex; flex-direction: column; }

.tp-doc {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  width: calc(100% + 24px);
  margin: 0 -12px;
  padding: 16px 12px;
  border: 0;
  border-bottom: 1px solid rgba(169, 178, 196, 0.1);
  border-radius: 2px;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: background 140ms var(--ease-silk);
}

.tp-doc-tight {
  width: 100%;
  margin: 0;
  padding: 12px 0;
  border-radius: 0;
}

.tp-doc-copy { min-width: 0; display: flex; flex-direction: column; gap: 3px; }

.tp-doc-name {
  font-family: var(--font-serif);
  font-size: 1.0625rem;
  line-height: 1.3;
  color: var(--alabaster);
}

.tp-doc-name.is-dim { color: var(--sapphire-200); }

.tp-doc-sub {
  font-size: 0.78125rem;
  letter-spacing: 0;
  text-transform: none;
  font-weight: 400;
  color: var(--sapphire-200);
}

.tp-status {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 7px;
  font-size: 0.6875rem;
  color: var(--sapphire-200);
  white-space: nowrap;
}

.tp-status.is-on { color: var(--gold-400); }

.tp-caption {
  display: block;
  margin: 16px 0 0;
  font-size: 0.75rem;
  letter-spacing: 0;
  text-transform: none;
  font-weight: 400;
  line-height: 1.5;
  color: var(--sapphire-200);
}

.tp-foot {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--gold-500);
}

.tp-foot-meta {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px 32px;
}

.tp-foot-meta div { display: flex; flex-direction: column; gap: 6px; min-width: 0; }

.tp-foot-meta span { font-size: 0.6875rem; color: var(--sapphire-200); }

.tp-foot-meta strong,
.tp-foot-meta a {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.45;
  color: var(--alabaster);
  overflow-wrap: anywhere;
}

.tp-foot-meta a { color: var(--gold-400); }

.tp-jumps {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.tp-jump {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px 22px;
  border: 1px solid rgba(169, 178, 196, 0.18);
  border-radius: 2px;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color var(--dur-base) var(--ease-silk);
}

.tp-jump-next { align-items: flex-end; text-align: right; }

.tp-jump:hover { border-color: var(--gold-500); }

.tp-jump span { font-size: 0.6875rem; color: var(--sapphire-200); }

.tp-jump strong {
  font-family: var(--font-serif);
  font-size: 1.375rem;
  font-weight: 400;
  color: var(--alabaster);
}

.tp-ico {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

.tp-drawer-root { position: fixed; inset: 0; z-index: 80; }

.tp-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(7, 13, 24, 0.45);
  cursor: pointer;
}

.tp-drawer {
  position: absolute;
  top: 0;
  right: 0;
  width: min(440px, 100%);
  height: 100%;
  overflow: auto;
  background: var(--sapphire-900);
  color: var(--alabaster);
  border-left: 1px solid rgba(169, 178, 196, 0.16);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5);
  padding: 20px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.tp-drawer a { color: var(--gold-400); text-decoration: none; }
.tp-drawer a:hover { color: var(--gold-200); }
.tp-drawer h2 { font-weight: 400; color: var(--alabaster); }

.tp-drawer-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.tp-drawer h2 {
  margin: 10px 0 0;
  font-family: var(--font-serif);
  font-size: 1.875rem;
  line-height: 1.12;
}

.tp-drawer-logo {
  margin: 12px 0 0;
  width: 100%;
  max-width: 220px;
  border: 1px solid rgba(169, 178, 196, 0.16);
  background: #0a1631;
  overflow: hidden;
}

.tp-drawer-logo img {
  display: block;
  width: 100%;
  height: auto;
}

.tp-drawer-sub {
  margin: 8px 0 0;
  font-family: var(--font-sans);
  font-size: 0.78125rem;
  line-height: 1.5;
  color: var(--sapphire-200);
}

.tp-icon-btn {
  flex: none;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(169, 178, 196, 0.28);
  border-radius: 2px;
  background: transparent;
  color: var(--sapphire-200);
  cursor: pointer;
}

.tp-icon-btn:hover { border-color: var(--gold-500); color: var(--gold-400); }

.tp-drawer-body { display: flex; flex-direction: column; gap: 20px; }

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

.tp-drawer .tp-meta-contact {
  grid-template-columns: 1fr;
  gap: 10px 0;
}

.tp-drawer .tp-bio { gap: 8px; }

.tp-drawer .tp-prose-light {
  font-size: 0.9375rem;
  line-height: 1.5;
}

.tp-bio-clamp {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: 4.5em;
  overflow: hidden;
  mask-image: linear-gradient(to bottom, #000 40%, transparent 100%);
}

.tp-bio-clamp.is-open {
  max-height: none;
  mask-image: none;
}

.tp-bio-toggle {
  align-self: flex-start;
  margin-top: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--gold-400);
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  cursor: pointer;
}

.tp-bio-toggle:hover { color: var(--gold-200); }

.tp-career ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.tp-career li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2px 16px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(169, 178, 196, 0.12);
}

.tp-career-role {
  grid-column: 1;
  font-family: var(--font-serif);
  font-size: 0.9375rem;
  line-height: 1.35;
  color: var(--alabaster);
}

.tp-career-org {
  grid-column: 1;
  font-family: var(--font-sans);
  font-size: 0.78125rem;
  line-height: 1.4;
  color: var(--sapphire-200);
}

.tp-career-when {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--sapphire-200);
  text-align: right;
  white-space: nowrap;
}

.tp-note {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px;
  border: 1px solid rgba(169, 178, 196, 0.18);
}

.tp-drawer-docs { display: flex; flex-direction: column; }

.tp-drawer-hint {
  margin: 0;
  padding-top: 16px;
  border-top: 1px solid rgba(169, 178, 196, 0.12);
  font-family: var(--font-sans);
  font-size: 0.72rem;
  color: var(--sapphire-200);
}

.tp button:focus-visible,
.tp a:focus-visible,
.tp-backdrop:focus-visible,
.tp-drawer button:focus-visible,
.tp-drawer a:focus-visible {
  outline: 1px solid var(--gold-500);
  outline-offset: 3px;
}

@container tp (max-width: 820px) {
  .tp-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tp-partners { grid-template-columns: 1fr; }
  .tp-mono { max-width: 320px; }
  .tp-foot-meta { grid-template-columns: 1fr; }
  .tp-prov-head { display: none; }
  .tp-prov { grid-template-columns: 20px minmax(0, 1fr) 16px; }
  .tp-prov-status { grid-column: 2; grid-row: 2; text-align: left; }
  .tp-prov .tp-ico { grid-column: 3; grid-row: 1 / span 2; align-self: center; }
}

@container tp (max-width: 560px) {
  .tp-city,
  .tp-jumps { grid-template-columns: 1fr; }
  .tp-jump-next { align-items: flex-start; text-align: left; }
  .tp-doc { grid-template-columns: 20px minmax(0, 1fr); }
  .tp-doc .tp-status { grid-column: 2; justify-content: flex-start; }
}

/* ---------- Return model (#fund-i/return-model) ---------- */
.rm {
  position: relative;
  max-width: 1120px;
  padding-bottom: 48px;
  color: var(--alabaster);
}

.rm-eyebrow {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-500);
  margin-bottom: 18px;
}

.rm-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4.25rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.015em;
  color: var(--alabaster);
  text-wrap: balance;
}

.rm-italic {
  margin: 14px 0 0;
  font-family: var(--font-italic);
  font-style: italic;
  font-size: clamp(1.25rem, 2.4vw, 1.625rem);
  line-height: 1.3;
  color: var(--gold-200);
}

.rm-lede {
  margin: 22px 0 0;
  max-width: 760px;
  font-family: var(--font-serif);
  font-size: 1.1875rem;
  line-height: 1.6;
  color: var(--sapphire-200);
  text-wrap: pretty;
}

.rm-terms {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 16px 24px;
  margin: 32px 0 0;
  padding: 18px 0;
  border-top: 1px solid rgba(169, 178, 196, 0.16);
  border-bottom: 1px solid rgba(169, 178, 196, 0.16);
}

.rm-term {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.rm-term-k {
  font-family: var(--font-sans);
  font-size: 0.65625rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sapphire-200);
}

.rm-term-v {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  color: var(--alabaster);
  font-variant-numeric: tabular-nums;
}

.rm-term-sub {
  font-size: 0.75rem;
  line-height: 1.4;
  color: var(--sapphire-200);
}

.rm-term-toggle {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.rm-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 36px;
  padding: 0 14px;
  border-radius: 2px;
  border: 1px solid rgba(169, 178, 196, 0.28);
  background: transparent;
  color: var(--sapphire-200);
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.rm-chip:hover {
  border-color: var(--gold-500);
}

.rm-chip.active {
  background: rgba(197, 160, 89, 0.14);
  border-color: var(--gold-500);
  color: var(--gold-200);
}

.rm-chip.ghost:hover {
  color: var(--gold-400);
}

.rm-chip-sub {
  letter-spacing: 0;
  font-variant-numeric: tabular-nums;
  color: inherit;
  opacity: 0.85;
}

.rm-disclaimer-top {
  margin: 16px 0 0;
  max-width: 760px;
  font-size: 0.78125rem;
  line-height: 1.6;
  color: var(--sapphire-200);
}

.rm-strip {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 14px 24px;
  margin: 0 -12px 64px;
  padding: 16px 12px;
  background: var(--sapphire-800);
  border-top: 1px solid rgba(169, 178, 196, 0.16);
  border-bottom: 1px solid rgba(169, 178, 196, 0.16);
}

.rm-strip-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.rm-strip-k {
  font-family: var(--font-sans);
  font-size: 0.65625rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  line-height: 1.35;
  color: var(--sapphire-200);
}

.rm-strip-k.gold { color: var(--gold-500); }

.rm-strip-v {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  line-height: 1.1;
  color: var(--alabaster);
  font-variant-numeric: tabular-nums;
}

.rm-strip-sub {
  font-size: 0.75rem;
  color: var(--sapphire-200);
  font-variant-numeric: tabular-nums;
}

.rm-section {
  margin: 0 0 104px;
}

.rm-section-head {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0 0 22px;
  margin: 0 0 28px;
  border-bottom: 1px solid rgba(169, 178, 196, 0.2);
}

.rm-section-kicker {
  display: flex;
  gap: 14px;
  align-items: baseline;
  font-family: var(--font-sans);
  font-size: 0.65625rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-500);
}

.rm-section-num {
  font-family: var(--font-serif);
  font-size: 0.9375rem;
  letter-spacing: 0;
}

.rm-section-title {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3.5vw, 2.375rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
  font-weight: 400;
  color: var(--alabaster);
  text-wrap: pretty;
}

.rm-section-lede {
  margin: 0 0 36px;
  max-width: 680px;
  font-family: var(--font-serif);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--sapphire-200);
  text-wrap: pretty;
}

.rm-bar-label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  margin: 0 0 12px;
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sapphire-200);
}

.rm-bar-label span:last-child {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  letter-spacing: 0;
  text-transform: none;
  color: var(--alabaster);
  font-variant-numeric: tabular-nums;
}

.rm-stack {
  display: flex;
  gap: 2px;
  height: 48px;
}

.rm-stack-seg {
  flex: 1 1 0;
  min-width: 0;
  height: 100%;
  display: flex;
  align-items: center;
  overflow: hidden;
  white-space: nowrap;
  transition: flex-grow 360ms ease;
}

.rm-stack-seg span {
  padding-left: 10px;
  font-family: var(--font-sans);
  font-size: 0.65625rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-variant-numeric: tabular-nums;
}

.rm-alloc-rows {
  display: flex;
  flex-direction: column;
  margin: 24px 0 0;
}

.rm-alloc-row {
  display: grid;
  grid-template-columns: 14px minmax(0, 1fr) 96px 64px;
  gap: 16px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid rgba(169, 178, 196, 0.1);
}

.rm-swatch {
  width: 12px;
  height: 12px;
  display: block;
}

.rm-alloc-meta {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.rm-alloc-name {
  font-family: var(--font-serif);
  font-size: 1.0625rem;
  line-height: 1.3;
  color: var(--alabaster);
}

.rm-alloc-rule {
  font-size: 0.78125rem;
  line-height: 1.4;
  color: var(--sapphire-200);
}

.rm-alloc-v {
  text-align: right;
  font-size: 0.9375rem;
  font-variant-numeric: tabular-nums;
}

.rm-alloc-pct {
  text-align: right;
  font-size: 0.78125rem;
  color: var(--sapphire-200);
  font-variant-numeric: tabular-nums;
}

.rm-warn {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin: 20px 0 0;
  padding: 16px 18px;
  border: 1px solid rgba(197, 160, 89, 0.5);
  color: var(--gold-200);
  font-size: 0.84375rem;
  line-height: 1.5;
}

.rm-warn svg {
  flex: none;
  margin-top: 2px;
  color: var(--gold-400);
}

.rm-scenario-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  margin: 0 0 12px;
}

.rm-scenario-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.rm-scenario-label {
  font-family: var(--font-sans);
  font-size: 0.65625rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sapphire-200);
  margin-right: 8px;
}

.rm-preset-note {
  margin: 0 0 32px;
  font-size: 0.78125rem;
  line-height: 1.5;
  color: var(--sapphire-200);
}

.rm-cap {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0 0 18px;
  margin: 0 0 8px;
  border-bottom: 1px solid rgba(169, 178, 196, 0.2);
}

.rm-cap-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px 24px;
  font-size: 0.8125rem;
  color: var(--sapphire-200);
}

.rm-cap-strong {
  color: var(--alabaster);
  font-variant-numeric: tabular-nums;
}

.rm-cap-note {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sapphire-200);
  font-variant-numeric: tabular-nums;
}

.rm-cap-note.over { color: var(--gold-200); }

.rm-cap-track {
  display: flex;
  height: 2px;
  background: var(--sapphire-600);
}

.rm-cap-fill {
  height: 100%;
  background: var(--gold-500);
  transition: width 360ms ease;
}

.rm-cap-fill.over { background: var(--gold-200); }

.rm-houses {
  display: flex;
  flex-direction: column;
}

.rm-house {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 20px 36px;
  padding: 24px 0;
  border-bottom: 1px solid rgba(169, 178, 196, 0.12);
}

.rm-house-id {
  flex: 1 1 240px;
  min-width: 0;
  display: flex;
  align-items: baseline;
  gap: 14px;
}

.rm-house-code {
  flex: none;
  font-family: var(--font-serif);
  font-size: 1.0625rem;
  color: var(--gold-500);
  font-variant-numeric: tabular-nums;
}

.rm-house-name-wrap {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.rm-house-name {
  width: 100%;
  padding: 2px 0 7px;
  border: 0;
  border-bottom: 1px solid rgba(169, 178, 196, 0.22);
  border-radius: 0;
  background: transparent;
  outline: none;
  font-family: var(--font-serif);
  font-size: 1.1875rem;
  line-height: 1.3;
  color: var(--alabaster);
}

.rm-house-name:focus {
  border-bottom-color: var(--gold-500);
}

.rm-house-outcome {
  font-size: 0.78125rem;
  color: var(--sapphire-200);
  font-variant-numeric: tabular-nums;
}

.rm-house-outcome.up { color: var(--gold-400); }

.rm-house-ctrl {
  flex: 1 1 200px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.rm-slider-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  font-family: var(--font-sans);
  font-size: 0.65625rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sapphire-200);
}

.rm-slider-head span:last-child {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  letter-spacing: 0;
  text-transform: none;
  color: var(--alabaster);
  font-variant-numeric: tabular-nums;
}

.rm-slider-head .gold { color: var(--gold-500); }

.rm-house-ctrl input[type="range"],
.rm-hold-card input[type="range"] {
  width: 100%;
  margin: 0;
  accent-color: #C5A059;
  cursor: pointer;
}

.rm-slider-sub {
  font-size: 0.75rem;
  line-height: 1.5;
  color: var(--sapphire-200);
  font-variant-numeric: tabular-nums;
}

.rm-house-remove {
  flex: none;
  width: 32px;
  height: 32px;
}

.rm-icon-btn {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(169, 178, 196, 0.28);
  border-radius: 2px;
  background: transparent;
  color: var(--sapphire-200);
  cursor: pointer;
  transition: border-color 0.14s ease, color 0.14s ease;
}

.rm-icon-btn:hover {
  border-color: var(--gold-500);
  color: var(--gold-400);
}

.rm-add {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  margin: 20px 0 0;
  padding: 18px;
  border: 1px dashed rgba(169, 178, 196, 0.35);
  border-radius: 2px;
  background: transparent;
  color: var(--sapphire-200);
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.rm-add:hover {
  border-color: var(--gold-500);
  color: var(--gold-200);
}

.rm-add-note {
  font-size: 0.78125rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}

.rm-at-max {
  display: block;
  margin: 20px 0 0;
  font-size: 0.78125rem;
  color: var(--sapphire-200);
}

.rm-hold-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 12px;
  margin: 0 0 48px;
}

.rm-hold-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px 22px;
  border: 1px solid rgba(169, 178, 196, 0.18);
  border-radius: 2px;
}

.rm-hold-card.mine {
  border-top: 1px solid var(--gold-500);
}

.rm-wf-wrap {
  position: relative;
  padding: 30px 0;
}

.rm-mark-line {
  position: absolute;
  top: 22px;
  bottom: 22px;
  width: 1px;
  background: var(--gold-500);
  transition: left 360ms ease;
  pointer-events: none;
}

.rm-mark-label {
  position: absolute;
  padding: 0 8px;
  font-family: var(--font-sans);
  font-size: 0.65625rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--gold-400);
  font-variant-numeric: tabular-nums;
  transition: left 360ms ease;
  pointer-events: none;
}

.rm-mark-label.top { top: 0; }
.rm-mark-label.bottom { bottom: 0; }

.rm-tiers {
  display: flex;
  flex-direction: column;
  margin: 16px 0 0;
}

.rm-tier-head,
.rm-tier,
.rm-tier-total {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) 150px 120px;
  gap: 16px;
  align-items: start;
}

.rm-tier-head {
  padding: 0 0 10px;
  border-bottom: 1px solid rgba(169, 178, 196, 0.2);
  font-family: var(--font-sans);
  font-size: 0.65625rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sapphire-200);
}

.rm-tier-head .right { text-align: right; }

.rm-tier {
  padding: 18px 0;
  border-bottom: 1px solid rgba(169, 178, 196, 0.1);
}

.rm-tier-code {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 4px;
  font-family: var(--font-serif);
  font-size: 0.9375rem;
  color: var(--gold-500);
  font-variant-numeric: tabular-nums;
}

.rm-tier-swatches {
  display: flex;
  gap: 3px;
}

.rm-tier-swatches span {
  width: 10px;
  height: 10px;
  display: block;
}

.rm-tier-body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.rm-tier-name {
  font-family: var(--font-serif);
  font-size: 1.1875rem;
  line-height: 1.25;
  color: var(--alabaster);
}

.rm-tier-rule {
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--sapphire-200);
  text-wrap: pretty;
}

.rm-tier-st {
  font-family: var(--font-sans);
  font-size: 0.65625rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-variant-numeric: tabular-nums;
}

.rm-tier-amt {
  text-align: right;
  font-size: 0.9375rem;
  line-height: 1.6;
  font-variant-numeric: tabular-nums;
}

.rm-tier-total {
  padding: 20px 0 0;
}

.rm-tier-total-k {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--alabaster);
  margin-bottom: 5px;
}

.rm-tier-total-col {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}

.rm-tier-total-v {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  line-height: 1.1;
  color: var(--alabaster);
  font-variant-numeric: tabular-nums;
}

.rm-tier-total-sub {
  font-size: 0.75rem;
  color: var(--sapphire-200);
  font-variant-numeric: tabular-nums;
}

.rm-tier-total-sub.gold { color: var(--gold-400); }

.rm-reading {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding: 32px;
  background: var(--sapphire-900);
  border: 1px solid rgba(169, 178, 196, 0.16);
  border-top: 1px solid var(--gold-500);
}

.rm-bridge {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px 28px;
}

.rm-bridge-item {
  display: flex;
  align-items: center;
  gap: 28px;
  flex: 1 1 200px;
}

.rm-bridge-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.rm-bridge-v {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--alabaster);
  font-variant-numeric: tabular-nums;
}

.rm-bridge-v.gold { color: var(--gold-200); }

.rm-bridge-arrow {
  flex: none;
  color: var(--sapphire-400);
}

.rm-reading-lines {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 760px;
  padding-top: 32px;
  border-top: 1px solid rgba(169, 178, 196, 0.14);
}

.rm-reading-line {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 12px;
  align-items: baseline;
}

.rm-reading-n {
  font-family: var(--font-serif);
  font-size: 0.9375rem;
  color: var(--gold-500);
  font-variant-numeric: tabular-nums;
}

.rm-reading-line p {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--alabaster);
  text-wrap: pretty;
}

.rm-summary {
  margin: 0;
  font-family: var(--font-italic);
  font-style: italic;
  font-size: clamp(1.375rem, 2.5vw, 1.75rem);
  line-height: 1.3;
  color: var(--gold-200);
  text-wrap: pretty;
}

.rm-reading-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 32px;
  align-items: center;
  justify-content: space-between;
  margin: 20px 0 0;
}

.rm-reading-foot p {
  flex: 1 1 420px;
  max-width: 680px;
  margin: 0;
  font-size: 0.75rem;
  line-height: 1.6;
  color: var(--sapphire-200);
  text-wrap: pretty;
}

.rm-reading-foot a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  color: var(--gold-500);
  text-decoration: none;
}

.rm-reading-foot a:hover { color: var(--gold-200); }

.rm-footer {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--gold-500);
}

.rm-footer-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px 40px;
}

.rm-footer-meta > div {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.rm-footer-v {
  font-family: var(--font-serif);
  font-size: 1rem;
  line-height: 1.5;
  color: var(--alabaster);
}

.rm-footer-v.link {
  color: var(--gold-500);
  text-decoration: none;
}

.rm-footer-v.link:hover { color: var(--gold-200); }

.rm-footer-nav {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
}

.rm-footer-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px 22px;
  border: 1px solid rgba(169, 178, 196, 0.18);
  border-radius: 2px;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.2s ease;
}

.rm-footer-card.next {
  align-items: flex-end;
  text-align: right;
}

.rm-footer-card:hover { border-color: var(--gold-500); }

.rm-footer-card-title {
  font-family: var(--font-serif);
  font-size: 1.375rem;
  color: var(--alabaster);
}

.rm-rail {
  position: fixed;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 25;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
}

.rm-rail-btn {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  height: 30px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  font-family: var(--font-sans);
}

.rm-rail-name {
  font-size: 0.78125rem;
  line-height: 1.2;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.rm-rail-tip {
  padding: 5px 10px;
  background: var(--sapphire-900);
  border: 1px solid rgba(169, 178, 196, 0.18);
  border-radius: 2px;
  font-size: 0.65625rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--alabaster);
}

.rm-rail-code {
  width: 14px;
  text-align: right;
  font-family: var(--font-serif);
  font-size: 0.75rem;
  font-variant-numeric: tabular-nums;
  transition: color 0.2s ease;
}

.rm-rail-tick-wrap {
  flex: none;
  width: 20px;
  display: flex;
  justify-content: flex-end;
}

.rm-rail-tick {
  height: 1px;
  transition: width 0.2s ease, background 0.2s ease;
}

/* Timing controls on each house */
.rm-chip.small {
  height: 30px;
  padding: 0 12px;
  font-size: 0.625rem;
}

.rm-chip:disabled {
  opacity: 0.45;
  cursor: default;
}

.rm-timing {
  flex: 1 1 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 12px 28px;
  margin-top: -4px;
}

.rm-timing-field {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.rm-timing-field > span:first-child {
  font-family: var(--font-sans);
  font-size: 0.65625rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sapphire-200);
  margin-right: 2px;
}

.rm-timing-share {
  font-family: var(--font-serif);
  font-size: 0.875rem;
  color: var(--gold-400);
  font-variant-numeric: tabular-nums;
}

.rm-select {
  appearance: none;
  -webkit-appearance: none;
  height: 30px;
  padding: 0 26px 0 10px;
  border: 1px solid rgba(169, 178, 196, 0.28);
  border-radius: 2px;
  background: transparent
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'><path d='M1 1l4 4 4-4' fill='none' stroke='%23A9B2C4' stroke-width='1.2' stroke-linecap='round'/></svg>")
    no-repeat right 9px center;
  color: var(--alabaster);
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-variant-numeric: tabular-nums;
  cursor: pointer;
  transition: border-color 0.2s ease;
}

.rm-select:hover,
.rm-select:focus {
  border-color: var(--gold-500);
  outline: none;
}

.rm-select option {
  background: var(--sapphire-800);
  color: var(--alabaster);
}

/* Schedule */
.rm-tl {
  display: flex;
  flex-direction: column;
  margin: 28px 0 8px;
  padding: 0 0 20px;
  border-bottom: 1px solid rgba(169, 178, 196, 0.2);
}

.rm-tl-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 6px 24px;
  margin: 0 0 14px;
  font-family: var(--font-sans);
  font-size: 0.65625rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sapphire-200);
}

.rm-tl-head span:last-child {
  font-size: 0.6875rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  text-transform: none;
}

.rm-tl-key.call { color: var(--sapphire-200); border-bottom: 1px solid var(--sapphire-200); }
.rm-tl-key.exit { color: var(--gold-400); border-bottom: 1px solid var(--gold-500); }

.rm-tl-row {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 4px 0;
}

.rm-tl-name {
  display: flex;
  align-items: baseline;
  gap: 10px;
  min-width: 0;
}

.rm-tl-code {
  flex: none;
  font-family: var(--font-serif);
  font-size: 0.875rem;
  color: var(--gold-500);
  font-variant-numeric: tabular-nums;
}

.rm-tl-text {
  font-family: var(--font-serif);
  font-size: 0.9375rem;
  color: var(--alabaster);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rm-tl-track {
  display: grid;
  height: 34px;
}

.rm-tl-cell {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  min-width: 0;
  padding: 0 5px;
  border-left: 1px solid rgba(169, 178, 196, 0.1);
  transition: background 0.3s ease;
}

.rm-tl-cell:last-child {
  border-right: 1px solid rgba(169, 178, 196, 0.1);
}

.rm-tl-cell.hold {
  background: rgba(233, 227, 217, 0.12);
}

.rm-tl-cell.hold.start {
  border-left: 2px solid var(--sapphire-200);
}

.rm-tl-cell.hold.end {
  box-shadow: inset -2px 0 0 var(--gold-500);
}

.rm-tl-row.recycle .rm-tl-cell.hold {
  background: transparent;
  border-top: 1px dashed rgba(197, 160, 89, 0.5);
  border-bottom: 1px dashed rgba(197, 160, 89, 0.5);
}

.rm-tl-mark {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
  font-family: var(--font-sans);
  font-size: 0.625rem;
  letter-spacing: 0.02em;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.rm-tl-mark b {
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rm-tl-mark i {
  flex: none;
  display: block;
  width: 8px;
  height: 8px;
}

.rm-tl-mark.call { color: var(--sapphire-200); margin-right: auto; }
.rm-tl-mark.call i { background: var(--sapphire-200); border-radius: 50%; }
.rm-tl-mark.exit { color: var(--gold-400); margin-left: auto; }
.rm-tl-mark.exit i { background: var(--gold-500); }

.rm-tl-row.axis { padding-top: 6px; }
.rm-tl-row.axis .rm-tl-track { height: 16px; }

.rm-tl-year {
  padding-left: 5px;
  font-family: var(--font-sans);
  font-size: 0.625rem;
  color: var(--sapphire-200);
  font-variant-numeric: tabular-nums;
}

/* Key assumptions */
.rm-ka-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.rm-ka {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px 26px 26px;
  border: 1px solid rgba(169, 178, 196, 0.18);
  border-radius: 2px;
}

.rm-ka.target {
  border-top: 1px solid var(--gold-500);
}

.rm-ka-kicker {
  font-family: var(--font-sans);
  font-size: 0.65625rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-500);
}

.rm-ka-title {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1.375rem;
  font-weight: 400;
  line-height: 1.2;
  color: var(--alabaster);
  text-wrap: pretty;
}

.rm-ka p {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--sapphire-200);
  text-wrap: pretty;
}

.rm-ka p.rm-ka-live {
  padding: 12px 14px;
  border-left: 2px solid var(--gold-500);
  background: rgba(197, 160, 89, 0.06);
  color: var(--alabaster);
  font-size: 0.9375rem;
  font-variant-numeric: tabular-nums;
}

.rm-recycle {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 4px;
}

.rm-recycle-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 24px;
}

.rm-recycle-slider {
  flex: 1 1 200px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.rm-recycle-slider input[type="range"] {
  width: 100%;
  margin: 0;
  accent-color: #C5A059;
  cursor: pointer;
}

.rm-ka-target {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 4px;
}

.rm-ka-target-v {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
  color: var(--gold-200);
  font-variant-numeric: tabular-nums;
}

.rm-ka-target-sub {
  flex: 1 1 220px;
  font-family: var(--font-serif);
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--alabaster);
  font-variant-numeric: tabular-nums;
}

/* Cash to limited partners by year */
.rm-cf {
  display: flex;
  flex-direction: column;
  margin: 48px 0 0;
}

.rm-cf-head,
.rm-cf-row {
  display: grid;
  grid-template-columns: 110px 90px 100px 90px 70px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  font-variant-numeric: tabular-nums;
}

.rm-cf-head {
  padding: 0 0 10px;
  border-bottom: 1px solid rgba(169, 178, 196, 0.2);
  font-family: var(--font-sans);
  font-size: 0.65625rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sapphire-200);
}

.rm-cf-row {
  padding: 9px 0;
  border-bottom: 1px solid rgba(169, 178, 196, 0.08);
  font-size: 0.84375rem;
  color: var(--alabaster);
}

.rm-cf-row.back {
  background: linear-gradient(90deg, rgba(197, 160, 89, 0.08), transparent 70%);
}

.rm-cf-row.total {
  padding-top: 12px;
  border-bottom: 0;
  font-weight: 500;
}

.rm-cf .right { text-align: right; }
.rm-cf .dim { color: var(--sapphire-200); }
.rm-cf .up { color: var(--gold-400); }

.rm-cf-year {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-family: var(--font-serif);
  font-size: 0.9375rem;
}

.rm-cf-year em {
  font-family: var(--font-sans);
  font-style: normal;
  font-size: 0.5625rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-400);
  white-space: nowrap;
}

.rm-cf-bar {
  position: relative;
  display: flex;
  height: 8px;
  min-width: 0;
}

.rm-cf-half {
  flex: 1 1 0;
  display: flex;
  min-width: 0;
}

.rm-cf-half.l { justify-content: flex-end; }

.rm-cf-bar i {
  display: block;
  height: 100%;
  transition: width 0.3s ease;
}

.rm-cf-bar i.call { background: var(--sapphire-400); }
.rm-cf-bar i.dist { background: var(--gold-500); }

.rm-cf-bar::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -3px;
  bottom: -3px;
  width: 1px;
  background: rgba(169, 178, 196, 0.25);
}

.rm-cf-note {
  margin: 14px 0 0;
  max-width: 680px;
  font-size: 0.75rem;
  line-height: 1.6;
  color: var(--sapphire-200);
}

@media (max-width: 1024px) {
  .rm-tl-row { grid-template-columns: 150px minmax(0, 1fr); }
  .rm-tl-mark i { width: 7px; height: 7px; }
  .rm-cf-head,
  .rm-cf-row {
    grid-template-columns: 96px 80px 90px 80px 60px minmax(0, 1fr);
  }
}

@media (max-width: 900px) {
  .rm-rail { display: none; }
  .rm-strip { margin-bottom: 48px; }
  .rm-section { margin-bottom: 72px; }
  .rm-tier-head,
  .rm-tier,
  .rm-tier-total {
    grid-template-columns: 28px minmax(0, 1fr) 84px 76px;
  }
  .rm-alloc-row {
    grid-template-columns: 14px minmax(0, 1fr) 72px 48px;
    gap: 10px;
  }
  .rm-ka-grid { grid-template-columns: minmax(0, 1fr); }
  .rm-tl-row { grid-template-columns: 110px minmax(0, 1fr); }
  .rm-cf-head,
  .rm-cf-row {
    grid-template-columns: 64px repeat(4, minmax(0, 1fr));
  }
  .rm-cf-bar,
  .rm-cf-bar-h { display: none; }
  .rm-cf-year em { display: none; }
}

@media (max-width: 560px) {
  .rm-reading { padding: 22px; }
  .rm-bridge-arrow { display: none; }
  .rm-ka { padding: 20px 18px 22px; }
  .rm-tl-row { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .rm-tl-row.axis .rm-tl-name { display: none; }
  .rm-cf-head,
  .rm-cf-row {
    grid-template-columns: 40px repeat(4, minmax(0, 1fr));
    gap: 8px;
    font-size: 0.78125rem;
  }
  .rm-cf-head {
    font-size: 0.5625rem;
    letter-spacing: 0.08em;
  }
}

/* ---------- Case studies ---------- */

.dr-nav-sublabel {
  font-family: var(--font-sans);
  font-size: 0.5625rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sapphire-200);
  padding: 12px 16px 3px 22px;
}

.dr-nav-btn.nested {
  padding-left: 34px;
  font-size: 0.8125rem;
}

.dr-nav-btn.nested.active {
  margin-left: 12px;
  margin-right: 12px;
  padding-left: 22px;
  padding-right: 4px;
  box-shadow: inset 2px 0 0 var(--gold-500);
}

.dr-nav-group-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  margin: 0;
  padding: 8px 16px 6px 22px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 0.5625rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-500);
  opacity: 0.85;
  text-align: left;
}

.dr-nav-group-toggle:hover,
.dr-nav-group-toggle.has-active {
  opacity: 1;
  color: var(--gold-400);
}

.dr-nav-chevron {
  flex: none;
  width: 5px;
  height: 5px;
  margin-right: 2px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(-45deg);
  transition: transform 0.2s ease;
}

.dr-nav-group-collapse.open .dr-nav-chevron,
.dr-nav-region.open .dr-nav-chevron {
  transform: rotate(45deg);
}

.dr-nav-region-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  margin: 0;
  padding: 10px 16px 4px 22px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 0.5625rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sapphire-200);
  text-align: left;
}

.dr-nav-region-toggle:hover,
.dr-nav-region-toggle.has-active {
  color: var(--gold-400);
}

.dr-nav-collapse-list {
  display: flex;
  flex-direction: column;
  gap: 1px;
  margin: 2px 14px 2px 28px;
  padding: 2px 0 2px 8px;
  border-left: 1px solid rgba(197, 160, 89, 0.32);
}

.dr-nav-btn.indented {
  padding-left: 12px;
  font-size: 0.8125rem;
}

.dr-nav-btn.indented.active {
  margin: 0;
  width: 100%;
  padding: 7px 4px 7px 10px;
  box-shadow: inset 2px 0 0 var(--gold-500);
}

.dr-nav-case-n {
  flex: none;
  width: 1.45em;
  font-size: 0.6875rem;
  color: var(--gold-500);
  font-variant-numeric: tabular-nums;
}

.cs-wrap {
  max-width: 1040px;
  display: flex;
  flex-direction: column;
  gap: 0;
  color: var(--alabaster);
}

.cs-case { max-width: 920px; }

.cs-kicker,
.cs-panel-kicker,
.cs-muted-label {
  font-family: var(--font-sans);
  font-size: 0.65625rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-500);
}

.cs-muted-label { color: var(--sapphire-200); letter-spacing: 0.18em; }

.cs-h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 6vw, 4.25rem);
  line-height: 1;
  letter-spacing: -0.015em;
  font-weight: 400;
  color: var(--alabaster);
  text-wrap: balance;
}

.cs-h2 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 2.125rem;
  line-height: 1.1;
  letter-spacing: -0.01em;
  font-weight: 400;
  color: var(--alabaster);
}

.cs-italic {
  font-family: var(--font-italic);
  font-style: italic;
  font-size: 1.5rem;
  line-height: 1.3;
  color: var(--gold-200);
}

.cs-lead {
  margin: 0 0 40px;
  max-width: 680px;
  font-family: var(--font-serif);
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--sapphire-200);
  text-wrap: pretty;
}

.cs-hero { display: flex; flex-direction: column; gap: 22px; margin: 0 0 64px; max-width: 780px; }
.cs-hero-titles { display: flex; flex-direction: column; gap: 12px; }
.cs-hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }

.cs-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 16px 24px;
  padding: 18px 0;
  border-top: 1px solid rgba(169, 178, 196, 0.16);
  border-bottom: 1px solid rgba(169, 178, 196, 0.16);
}

.cs-meta > div { display: flex; flex-direction: column; gap: 4px; }
.cs-meta > div > span:first-child {
  font-size: 0.65625rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sapphire-200);
}
.cs-meta > div > span:last-child { font-size: 0.875rem; color: var(--alabaster); line-height: 1.4; }

.cs-btn-ghost,
.cs-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 34px;
  padding: 0 14px;
  border-radius: 2px;
  border: 1px solid rgba(169, 178, 196, 0.28);
  background: transparent;
  color: var(--sapphire-200);
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.cs-btn-ghost:hover,
.cs-tab:hover { border-color: var(--gold-500); color: var(--gold-200); }

.cs-tab.on {
  border-color: var(--gold-500);
  background: rgba(197, 160, 89, 0.14);
  color: var(--gold-200);
}

.cs-tab.taken { color: var(--sapphire-400); }
.cs-tab-count { font-variant-numeric: tabular-nums; color: var(--sapphire-200); }
.cs-tab-n { color: var(--gold-500); font-variant-numeric: tabular-nums; }
.cs-tabs { display: flex; flex-wrap: wrap; gap: 6px; }
.cs-tabs.wrap { flex-wrap: wrap; }

.cs-legend-panel {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px 48px;
  padding: 24px;
  margin: 0 0 72px;
  background: var(--sapphire-900);
  border: 1px solid rgba(169, 178, 196, 0.16);
  border-top: 1px solid var(--gold-500);
}

.cs-legend-panel > .cs-panel-kicker,
.cs-legend-panel > span.cs-panel-kicker { grid-column: 1 / -1; }

.cs-legend-cols { display: contents; }
.cs-legend-cols > div { display: flex; flex-direction: column; gap: 16px; }
.cs-legend-h {
  font-family: var(--font-serif);
  font-size: 0.9375rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--alabaster);
}

.cs-legend-row {
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr);
  gap: 14px;
  align-items: baseline;
  font-size: 0.84375rem;
  line-height: 1.55;
  color: var(--sapphire-200);
}

.cs-basis {
  display: inline-block;
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: 1px solid var(--gold-500);
  box-sizing: border-box;
}

.cs-basis-reported { background: var(--gold-500); border-color: var(--gold-500); }
.cs-basis-disclosed {
  background: linear-gradient(90deg, var(--gold-500) 50%, transparent 50%);
}
.cs-basis-estimate { background: transparent; }
.cs-basis-pending {
  width: 8px;
  height: 1px;
  border: none;
  border-radius: 0;
  background: var(--sapphire-200);
  align-self: center;
}

.cs-own-badge {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 7px;
  height: 22px;
  padding: 0 9px;
  border-radius: 999px;
  border: 1px solid rgba(169, 178, 196, 0.45);
  font-size: 0.59375rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--alabaster);
  white-space: nowrap;
}

.cs-own-badge.private {
  border-style: dashed;
  border-color: var(--gold-500);
  color: var(--gold-400);
}

.cs-own-dot {
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: var(--alabaster);
}

.cs-own-badge.private .cs-own-dot {
  background: transparent;
  border: 1px solid var(--gold-400);
}

.cs-basis-legend {
  display: grid;
  grid-template-columns: 16px 92px 36px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  font-size: 0.8125rem;
  color: var(--sapphire-200);
}

.cs-basis-legend > span:nth-child(4n + 2) { color: var(--alabaster); }

.cs-basis-legend.simple {
  grid-template-columns: 16px 104px minmax(0, 1fr);
  gap: 10px 12px;
}

.cs-swatch {
  display: inline-block;
  width: 28px;
  height: 12px;
  box-sizing: border-box;
}

.cs-swatch.reported { background: var(--sapphire-400); }
.cs-swatch.disclosed {
  background: repeating-linear-gradient(135deg, var(--sapphire-200) 0 1.5px, transparent 1.5px 4px);
  box-shadow: inset 0 0 0 1px var(--sapphire-200);
}
.cs-swatch.estimate { border: 1px dashed var(--sapphire-200); background: transparent; }

.cs-section { display: flex; flex-direction: column; gap: 18px; margin: 0 0 96px; }

.cs-section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px 24px;
  padding: 0 0 18px;
  border-bottom: 1px solid rgba(169, 178, 196, 0.2);
}

.cs-section-head.stack {
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.cs-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(188px, 1fr));
  gap: 12px;
}

.cs-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px 20px 16px;
  border: 1px solid rgba(169, 178, 196, 0.18);
  border-radius: 2px;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.cs-card.featured { border-top: 1px solid var(--gold-500); }
.cs-card:hover { background: var(--sapphire-700); border-color: var(--gold-500); }

.cs-card-role {
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-500);
}

.cs-card-name {
  font-family: var(--font-serif);
  font-size: 1.375rem;
  line-height: 1.15;
  color: var(--alabaster);
}

.cs-card-spacer { flex: 1; min-height: 14px; }

.cs-card-fig {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-serif);
  font-size: 2.125rem;
  line-height: 1;
  color: var(--alabaster);
  font-variant-numeric: tabular-nums;
}

.cs-card-fig-label { font-size: 0.71875rem; line-height: 1.4; color: var(--sapphire-200); }

.cs-card-cta {
  display: flex;
  justify-content: space-between;
  margin-top: 6px;
  padding-top: 12px;
  border-top: 1px solid rgba(169, 178, 196, 0.14);
  font-size: 0.65625rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-400);
}

.cs-compare-pairs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 12px;
  margin-bottom: 8px;
}

.cs-pair-btn {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  padding: 8px 12px;
  border-radius: 2px;
  border: 1px solid rgba(169, 178, 196, 0.22);
  background: transparent;
  font-family: var(--font-sans);
  text-align: left;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.cs-pair-btn:hover,
.cs-pair-btn.on {
  border-color: var(--gold-500);
  background: rgba(197, 160, 89, 0.14);
}

.cs-pair-btn > span:first-child {
  font-family: var(--font-serif);
  font-size: 0.875rem;
  color: var(--alabaster);
}

.cs-pair-btn > span:last-child {
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sapphire-200);
}

.cs-table-wrap { overflow-x: auto; }

.cs-table {
  min-width: 780px;
  display: flex;
  flex-direction: column;
}

.cs-table-head,
.cs-table-row {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 20px;
  align-items: baseline;
}

.cs-table-head {
  padding: 0 0 10px;
  border-bottom: 1px solid rgba(169, 178, 196, 0.2);
  font-size: 0.65625rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sapphire-200);
}

.cs-table-row {
  padding: 16px 0;
  border-bottom: 1px solid rgba(169, 178, 196, 0.1);
  background: transparent;
  border-left: none;
  border-right: none;
  border-top: none;
  color: inherit;
  text-align: left;
  cursor: pointer;
  font: inherit;
}

.cs-table-row:hover { background: var(--sapphire-700); }

.cs-table-house,
.cs-table-own,
.cs-table-cell {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.cs-table-house > span:first-child,
.cs-table-cell > span:first-child,
.cs-table-period {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  color: var(--alabaster);
  font-variant-numeric: tabular-nums;
}

.cs-table-cell > span:first-child {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
}

.cs-table-period {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 0.875rem;
}

.cs-table-house > span:last-child,
.cs-table-own > span:last-child,
.cs-table-cell > span:last-child {
  font-size: 0.75rem;
  color: var(--sapphire-200);
}

.cs-table-own > span:first-child { font-size: 0.84375rem; color: var(--alabaster); }
.cs-table-own > span.priv { color: var(--gold-400); }

.cs-figure {
  margin: 40px 0 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.cs-case .cs-figure { margin: 0 0 64px; }

.cs-figure-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px 24px;
}

.cs-figure-title {
  font-size: 0.65625rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--alabaster);
}

.cs-figure-unit { display: block; margin-top: 4px; font-size: 0.75rem; color: var(--sapphire-200); }

.cs-figure-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 0.75rem;
  color: var(--sapphire-200);
}

.cs-legend-item { display: flex; align-items: center; gap: 8px; }

.cs-legend-line {
  width: 16px;
  height: 2px;
  background: var(--alabaster);
}

.cs-legend-line.dashed {
  height: 0;
  border-top: 2px dashed var(--alabaster);
  background: none;
}

.cs-figure-note {
  font-family: var(--font-italic);
  font-style: italic;
  font-size: 1.0625rem;
  line-height: 1.5;
  color: var(--gold-200);
  text-wrap: pretty;
}

.cs-figure-caption {
  font-size: 0.71875rem;
  line-height: 1.5;
  color: var(--sapphire-200);
}

.cs-idx-wrap { display: flex; gap: 12px; }

.cs-idx-y {
  position: relative;
  flex: none;
  width: 30px;
  height: 260px;
  font-size: 0.6875rem;
  color: var(--sapphire-200);
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.cs-idx-y > span {
  position: absolute;
  right: 0;
  transform: translateY(-50%);
}

.cs-idx-y-base { color: var(--alabaster); }

.cs-idx-plot {
  position: relative;
  flex: 1;
  min-width: 0;
  height: 260px;
}

.cs-idx-grid {
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(169, 178, 196, 0.1);
}

.cs-idx-grid.base { background: rgba(169, 178, 196, 0.32); }

.cs-idx-cross {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1px;
  background: rgba(197, 160, 89, 0.4);
  transition: left 0.2s ease;
}

.cs-idx-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.cs-idx-dot {
  position: absolute;
  width: 8px;
  height: 8px;
  margin: -4px 0 0 -4px;
  border-radius: 999px;
  box-shadow: 0 0 0 3px var(--sapphire-800);
  transition: all 0.2s ease;
}

.cs-idx-hit {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(10, minmax(0, 1fr));
}

.cs-idx-hit > span { cursor: crosshair; }

.cs-idx-years {
  display: grid;
  grid-template-columns: repeat(10, minmax(0, 1fr));
  margin: -6px 0 0 42px;
  font-size: 0.71875rem;
  text-align: center;
  font-variant-numeric: tabular-nums;
  color: var(--sapphire-200);
}

.cs-idx-years .on { color: var(--gold-200); }

.cs-idx-read {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px 28px;
  padding: 16px 0 0;
  border-top: 1px solid rgba(169, 178, 196, 0.16);
}

.cs-idx-read-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.65625rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sapphire-200);
}

.cs-idx-read-label > span {
  width: 12px;
  height: 2px;
}

.cs-idx-read-v {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  line-height: 1.15;
  color: var(--alabaster);
  font-variant-numeric: tabular-nums;
}

.cs-idx-read-ch {
  font-size: 0.75rem;
  color: var(--sapphire-200);
  font-variant-numeric: tabular-nums;
}

.cs-idx-read-ch.up { color: var(--gold-400); }

.cs-lessons-head,
.cs-lesson {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) minmax(0, 1.2fr) minmax(0, 1.2fr);
  gap: 20px;
  align-items: baseline;
}

.cs-lessons-head {
  padding: 12px 0 10px;
  border-bottom: 1px solid rgba(169, 178, 196, 0.2);
  font-size: 0.65625rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sapphire-200);
}

.cs-lesson {
  padding: 20px 0;
  border-bottom: 1px solid rgba(169, 178, 196, 0.1);
}

.cs-lesson-n {
  font-family: var(--font-serif);
  font-size: 0.9375rem;
  color: var(--gold-500);
}

.cs-lesson-title {
  font-family: var(--font-serif);
  font-size: 0.9375rem;
  line-height: 1.4;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--alabaster);
}

.cs-lesson-ev {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.84375rem;
  line-height: 1.55;
  color: var(--sapphire-200);
}

.cs-lesson-links { display: flex; gap: 14px; flex-wrap: wrap; }

.cs-lesson-fund {
  font-family: var(--font-italic);
  font-style: italic;
  font-size: 1rem;
  line-height: 1.45;
  color: var(--gold-200);
}

.cs-text-link {
  background: none;
  border: none;
  padding: 0;
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-400);
  cursor: pointer;
}

.cs-text-link:hover { color: var(--gold-200); }

.cs-quote {
  margin: 48px 0 0;
  max-width: 800px;
  font-family: var(--font-serif);
  font-size: 1.8125rem;
  line-height: 1.35;
  letter-spacing: -0.005em;
  color: var(--alabaster);
  text-wrap: pretty;
}

.cs-sources-list { display: flex; flex-direction: column; margin: 0 0 20px; }

.cs-source-row {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 16px 12px;
  margin: 0 -12px;
  border-bottom: 1px solid rgba(169, 178, 196, 0.1);
}

.cs-source-row > span:nth-child(2) {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.cs-source-row > span:nth-child(2) > span:first-child {
  font-family: var(--font-serif);
  font-size: 1.0625rem;
  line-height: 1.3;
  color: var(--alabaster);
}

.cs-source-row > span:nth-child(2) > span:last-child {
  font-size: 0.78125rem;
  color: var(--sapphire-200);
}

.cs-sources-note {
  max-width: 780px;
  font-size: 0.75rem;
  line-height: 1.6;
  color: var(--sapphire-200);
  text-wrap: pretty;
}

.cs-footer-nav {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
  padding-top: 32px;
  border-top: 1px solid var(--gold-500);
  margin-top: 16px;
}

.cs-footer-nav.triple { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }

.cs-nav-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px 22px;
  border: 1px solid rgba(169, 178, 196, 0.18);
  border-radius: 2px;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.2s ease;
}

.cs-nav-card.end { align-items: flex-end; text-align: right; }
.cs-nav-card:hover { border-color: var(--gold-500); }

.cs-nav-card > span:first-child {
  font-size: 0.65625rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sapphire-200);
}

.cs-nav-card > span:last-child {
  font-family: var(--font-serif);
  font-size: 1.375rem;
  color: var(--alabaster);
}

.cs-disclaimer {
  margin-top: 24px;
  font-size: 0.71875rem;
  line-height: 1.6;
  color: var(--sapphire-200);
}

/* Case page */

.cs-crumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.cs-crumb button {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  color: var(--sapphire-200);
  cursor: pointer;
}

.cs-crumb button:hover { color: var(--gold-400); }
.cs-crumb > span:last-child { color: var(--gold-500); }
.cs-crumb > span:nth-child(2) { color: var(--sapphire-400); }

.cs-case-hero { display: flex; flex-direction: column; gap: 22px; margin: 0 0 32px; }

.cs-case-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 20px;
}

.cs-basis-summary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78125rem;
  color: var(--sapphire-200);
}

.cs-private-callout {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 32px;
  padding: 18px 22px;
  margin: 0 0 40px;
  border: 1px dashed rgba(197, 160, 89, 0.55);
  border-radius: 2px;
}

.cs-private-callout > div {
  flex: 1 1 420px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cs-private-callout > div > span:first-child {
  font-size: 0.65625rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-500);
}

.cs-private-callout > div > span:last-child {
  font-family: var(--font-serif);
  font-size: 1rem;
  line-height: 1.5;
  color: var(--alabaster);
  text-wrap: pretty;
}

.cs-private-callout a {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--gold-400);
  text-decoration: none;
}

.cs-private-callout a:hover { color: var(--gold-200); }

.cs-headlines {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  margin: 0 0 64px;
  border-top: 1px solid var(--gold-500);
}

.cs-headlines > div {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px 20px 4px;
  border-left: 1px solid rgba(169, 178, 196, 0.16);
}

.cs-headlines > div:first-child {
  padding-left: 0;
  border-left: none;
}

.cs-headlines > div > span:first-child {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.65625rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sapphire-200);
}

.cs-headlines > div.accent > span:first-child { color: var(--gold-500); }

.cs-headline-v {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  line-height: 1;
  color: var(--alabaster);
  font-variant-numeric: tabular-nums;
}

.cs-headlines > div.accent .cs-headline-v { color: var(--gold-200); }
.cs-headlines > div.muted .cs-headline-v { color: var(--sapphire-200); }

.cs-headlines > div > span:last-child {
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--sapphire-200);
}

.cs-bars {
  display: grid;
  grid-template-columns: repeat(10, minmax(0, 1fr));
  gap: 10px;
  align-items: end;
  height: 240px;
  border-bottom: 1px solid rgba(169, 178, 196, 0.4);
}

.cs-bar-col {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
}

.cs-bar-col > span {
  font-size: 0.6875rem;
  color: var(--sapphire-200);
  font-variant-numeric: tabular-nums;
}

.cs-bar-col > span.on { color: var(--alabaster); }

.cs-bar-col > div {
  width: 100%;
  max-width: 44px;
  background: var(--sapphire-400);
  transition: height 0.4s ease;
}

.cs-bar-col > div.last { background: var(--gold-500); }

.cs-bar-years,
.cs-bar-subs {
  display: grid;
  grid-template-columns: repeat(10, minmax(0, 1fr));
  gap: 10px;
  font-size: 0.71875rem;
  color: var(--sapphire-200);
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.cs-bar-years { margin-top: -10px; }
.cs-bar-years .on { color: var(--alabaster); }
.cs-bar-subs { margin-top: -12px; color: var(--gold-400); }

.cs-hbars { display: flex; flex-direction: column; gap: 14px; }

.cs-hbar-row {
  display: grid;
  grid-template-columns: minmax(120px, 170px) minmax(0, 1fr) 78px;
  gap: 16px;
  align-items: center;
}

.cs-hbar-label { display: flex; flex-direction: column; gap: 2px; }
.cs-hbar-label > span:first-child {
  font-family: var(--font-serif);
  font-size: 1rem;
  color: var(--alabaster);
}
.cs-hbar-label > span.hi { color: var(--gold-400); }
.cs-hbar-label > span:last-child { font-size: 0.71875rem; color: var(--sapphire-200); }

.cs-hbar-track { height: 22px; display: flex; }

.cs-hbar-fill.reported { background: var(--sapphire-400); }
.cs-hbar-fill.disclosed {
  background: repeating-linear-gradient(135deg, var(--sapphire-200) 0 1.5px, transparent 1.5px 5px);
  box-shadow: inset 0 0 0 1px var(--sapphire-200);
}
.cs-hbar-fill.hi {
  background: repeating-linear-gradient(135deg, var(--gold-500) 0 1.5px, transparent 1.5px 5px);
  box-shadow: inset 0 0 0 1px var(--gold-500);
}

.cs-hbar-val {
  text-align: right;
  font-size: 0.875rem;
  color: var(--alabaster);
  font-variant-numeric: tabular-nums;
}

.cs-hbar-val.hi { color: var(--gold-200); }

.cs-fx-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px 40px;
}

.cs-fx-panel {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid rgba(169, 178, 196, 0.2);
}

.cs-fx-panel.accent { border-top-color: var(--gold-500); }

.cs-fx-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  font-size: 0.65625rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sapphire-200);
}

.cs-fx-panel.accent .cs-fx-head { color: var(--gold-500); }

.cs-fx-mult {
  font-family: var(--font-serif);
  font-size: 1.875rem;
  line-height: 1;
  color: var(--alabaster);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0;
  text-transform: none;
  font-weight: 400;
}

.cs-fx-panel.accent .cs-fx-mult { color: var(--gold-200); }

.cs-fx-row {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) 72px;
  gap: 12px;
  align-items: center;
  font-size: 0.78125rem;
  font-variant-numeric: tabular-nums;
  color: var(--sapphire-200);
}

.cs-fx-row > span:last-child { text-align: right; color: var(--alabaster); }

.cs-fx-track { height: 16px; display: flex; }

.cs-fx-track > span {
  border: 1px dashed var(--sapphire-200);
  box-sizing: border-box;
}

.cs-fx-track > span.accent { border-color: var(--gold-500); }

.cs-timeline { display: flex; flex-direction: column; margin: 0 0 56px; }

.cs-timeline-title {
  font-size: 0.65625rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--alabaster);
  padding: 0 0 14px;
  border-bottom: 1px solid rgba(169, 178, 196, 0.2);
}

.cs-timeline-row {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 20px;
  align-items: baseline;
  padding: 14px 0;
  border-bottom: 1px solid rgba(169, 178, 196, 0.1);
}

.cs-timeline-row.titled {
  grid-template-columns: 64px minmax(0, 1fr) minmax(0, 1.6fr);
}

.cs-timeline-row > span:first-child {
  font-family: var(--font-serif);
  font-size: 0.9375rem;
  color: var(--gold-500);
  font-variant-numeric: tabular-nums;
}

.cs-timeline-name {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  color: var(--alabaster);
}

.cs-timeline-body,
.cs-timeline-row > span:last-child {
  font-family: var(--font-serif);
  font-size: 1rem;
  line-height: 1.5;
  color: var(--alabaster);
}

.cs-timeline-row.titled > span:last-child { color: var(--sapphire-200); font-size: 0.9375rem; }

.cs-lens {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px 36px;
  margin: 0 0 24px;
  padding: 24px;
  background: var(--sapphire-900);
  border: 1px solid rgba(169, 178, 196, 0.16);
  border-top: 1px solid var(--gold-500);
}

.cs-lens > .cs-panel-kicker { grid-column: 1 / -1; }

.cs-lens > div { display: flex; flex-direction: column; gap: 8px; }

.cs-lens > div > span {
  font-family: var(--font-serif);
  font-size: 0.9375rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--alabaster);
}

.cs-lens > div > p {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 0.96875rem;
  line-height: 1.55;
  color: var(--sapphire-200);
  text-wrap: pretty;
}

.cs-alongside {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 20px 22px;
  border: 1px solid rgba(169, 178, 196, 0.18);
  border-radius: 2px;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.2s ease;
}

.cs-alongside:hover { border-color: var(--gold-500); }

.cs-alongside > span:first-child {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cs-alongside > span:first-child > span:first-child {
  font-size: 0.65625rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sapphire-200);
}

.cs-alongside > span:first-child > span:last-child {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  line-height: 1.3;
  color: var(--alabaster);
}

.cs-alongside > span:last-child { font-size: 1.125rem; color: var(--gold-400); }

.cs-basis-section {
  scroll-margin-top: 96px;
  margin: 96px 0 0;
}

.cs-basis-table { display: flex; flex-direction: column; }

.cs-basis-head,
.cs-basis-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr) 104px minmax(0, 1.5fr);
  gap: 20px;
  align-items: baseline;
}

.cs-basis-head {
  padding: 12px 0 10px;
  border-bottom: 1px solid rgba(169, 178, 196, 0.2);
  font-size: 0.65625rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sapphire-200);
}

.cs-basis-row {
  padding: 14px 0;
  border-bottom: 1px solid rgba(169, 178, 196, 0.1);
  font-size: 0.875rem;
  color: var(--alabaster);
}

.cs-basis-row > span:last-child {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: var(--sapphire-200);
}

.cs-basis-cell {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78125rem;
}

.cs-confidence {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.65625rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sapphire-200);
}

.cs-confidence-bars { display: flex; gap: 2px; }
.cs-confidence-bars > span {
  width: 14px;
  height: 3px;
  background: var(--sapphire-600);
}
.cs-confidence-bars > span.on { background: var(--gold-500); }

/* Compare page */

.cs-choose {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px 40px;
  padding: 22px 24px;
  margin: 0 0 8px;
  background: var(--sapphire-900);
  border: 1px solid rgba(169, 178, 196, 0.16);
  border-top: 1px solid var(--gold-500);
}

.cs-choose > div { display: flex; flex-direction: column; gap: 12px; }

.cs-choose-foot {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(169, 178, 196, 0.14);
}

.cs-choose-spacer { flex: 1; }

.cs-compare-sticky {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr) minmax(0, 1fr);
  column-gap: 32px;
  padding: 18px 0 14px;
  background: var(--sapphire-800);
  border-bottom: 1px solid var(--gold-500);
}

.cs-compare-sticky-label {
  align-self: end;
  font-size: 0.65625rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sapphire-200);
}

.cs-compare-sticky-house {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-start;
  background: none;
  border: none;
  padding: 0;
  color: inherit;
  cursor: pointer;
  text-align: left;
}

.cs-compare-sticky-house > span:first-child {
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-500);
}

.cs-compare-sticky-house > span:nth-child(2) {
  font-family: var(--font-serif);
  font-size: 1.625rem;
  line-height: 1.1;
  color: var(--alabaster);
}

.cs-compare-pending {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 36px 0;
  border-bottom: 1px solid rgba(169, 178, 196, 0.16);
}

.cs-compare-pending > p {
  margin: 0;
  max-width: 640px;
  font-family: var(--font-serif);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--sapphire-200);
}

.cs-compare-pending-actions { display: flex; flex-wrap: wrap; gap: 10px; }

.cs-q-block {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr) minmax(0, 1fr);
  column-gap: 32px;
  padding: 28px 0 22px;
  border-bottom: 1px solid rgba(169, 178, 196, 0.16);
}

.cs-q-prompt {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0 0 14px;
}

@media (min-width: 900px) {
  .cs-q-prompt { grid-column: auto; }
}

.cs-q-prompt > span:first-child {
  font-family: var(--font-serif);
  font-size: 0.9375rem;
  color: var(--gold-500);
}

.cs-q-prompt > span:nth-child(2) {
  font-family: var(--font-serif);
  font-size: 0.9375rem;
  line-height: 1.45;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--alabaster);
  text-wrap: pretty;
}

.cs-q-prompt > span:nth-child(3) {
  font-size: 0.75rem;
  line-height: 1.5;
  color: var(--sapphire-200);
}

.cs-q-ans {
  margin: 0 0 16px;
  font-family: var(--font-serif);
  font-size: 1.03125rem;
  line-height: 1.6;
  color: var(--alabaster);
  text-wrap: pretty;
}

.cs-q-row-label {
  grid-column: 1 / -1;
  padding: 10px 0 4px;
  border-top: 1px solid rgba(169, 178, 196, 0.1);
  font-size: 0.65625rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sapphire-200);
}

@media (min-width: 900px) {
  .cs-q-row-label { grid-column: auto; }
}

.cs-q-cell {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 10px 0;
}

.cs-q-cell > span:first-child {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.875rem;
  line-height: 1.45;
  color: var(--alabaster);
  font-variant-numeric: tabular-nums;
}

.cs-q-note {
  font-size: 0.75rem;
  line-height: 1.5;
  color: var(--sapphire-200);
  text-wrap: pretty;
}

.cs-steps-legend {
  display: grid;
  grid-template-columns: 28px 132px minmax(0, 1fr);
  gap: 10px 12px;
  align-items: center;
  font-size: 0.8125rem;
  color: var(--sapphire-200);
}

.cs-steps-legend > span:nth-child(3n + 2) { color: var(--alabaster); }

.cs-step-bars { display: flex; gap: 2px; }
.cs-step-bars > span {
  width: 12px;
  height: 3px;
  background: var(--sapphire-600);
}
.cs-step-bars > span.on { background: var(--gold-500); }
.cs-step-bars > span:not(.on):first-child { background: var(--sapphire-200); }

@media (max-width: 899px) {
  .cs-compare-sticky {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  .cs-compare-sticky-label { display: none; }
  .cs-q-block {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
}

@media (max-width: 720px) {
  .cs-lessons-head,
  .cs-lesson {
    grid-template-columns: 28px minmax(0, 1fr);
  }
  .cs-lessons-head > span:nth-child(3),
  .cs-lessons-head > span:nth-child(4),
  .cs-lesson-ev,
  .cs-lesson-fund {
    grid-column: 2;
  }
  .cs-basis-head,
  .cs-basis-row {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  .cs-basis-head > span:nth-child(3),
  .cs-basis-head > span:nth-child(4) { display: none; }
  .cs-basis-row > span:nth-child(3),
  .cs-basis-row > span:nth-child(4) {
    grid-column: 1 / -1;
  }
}


/* ---------- Fund pacing model ---------- */
.fp { max-width: 1100px; }
.fp-eyebrow {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-400);
  margin-bottom: 10px;
}
.fp-hero {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.fp-hero-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }

.fp-scenario {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  margin-bottom: 16px;
  background: rgba(13, 22, 39, 0.55);
  border: 1px solid rgba(76, 91, 122, 0.4);
}
.fp-scenario-presets,
.fp-scenario-focus {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.fp-scenario-label {
  font-family: var(--font-sans);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sapphire-200);
  margin-right: 4px;
}
.fp-chip {
  appearance: none;
  border: 1px solid rgba(76, 91, 122, 0.55);
  background: transparent;
  color: var(--sapphire-100);
  font-family: var(--font-sans);
  font-size: 0.75rem;
  padding: 6px 10px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 160ms var(--ease-silk), border-color 160ms var(--ease-silk), color 160ms var(--ease-silk);
}
.fp-chip:hover { border-color: var(--gold-500); color: var(--alabaster); }
.fp-chip.active {
  background: var(--gold-500);
  border-color: var(--gold-500);
  color: var(--sapphire-900);
  font-weight: 600;
}
.fp-chip.ghost {
  cursor: default;
  border-style: dashed;
  color: var(--gold-400);
}
.fp-focus-control {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  color: var(--sapphire-200);
}
.fp-focus-control input[type="range"] { width: 96px; accent-color: var(--gold-500); }
.fp-focus-control select {
  background: var(--sapphire-800);
  color: var(--alabaster);
  border: 1px solid rgba(76, 91, 122, 0.55);
  border-radius: 6px;
  padding: 4px 8px;
  font-family: ui-monospace, "SF Mono", monospace;
  font-size: 0.75rem;
}

.fp-kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 10px;
  margin-bottom: 18px;
}
.fp-kpi {
  background: rgba(13, 22, 39, 0.8);
  border: 1px solid rgba(76, 91, 122, 0.4);
  padding: 14px 16px;
}
.fp-kpi-label {
  font-family: var(--font-sans);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sapphire-200);
  margin-bottom: 6px;
}
.fp-kpi-value {
  font-size: 1.375rem;
  color: var(--alabaster);
  line-height: 1.1;
}
.fp-kpi-sub {
  margin-top: 6px;
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  color: var(--sapphire-200);
}

.fp-view-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  border-bottom: 1px solid rgba(76, 91, 122, 0.35);
  margin-bottom: 18px;
}
.fp-view-tab {
  appearance: none;
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  color: var(--sapphire-200);
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  padding: 10px 12px;
  cursor: pointer;
  margin-bottom: -1px;
}
.fp-view-tab:hover { color: var(--alabaster); }
.fp-view-tab.active {
  color: var(--alabaster);
  border-bottom-color: var(--gold-500);
  font-weight: 600;
}
.fp-view { display: flex; flex-direction: column; gap: 0; }

.fp-panel { margin-bottom: 0; }
.fp-panel-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.fp-panel-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.fp-warn {
  margin: 0 0 12px;
  padding: 10px 12px;
  border: 1px solid var(--gold-500);
  color: var(--gold-200);
  font-family: var(--font-sans);
  font-size: 0.8125rem;
}

.fp-table-wrap { overflow-x: auto; max-width: 100%; }
.fp-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.8125rem;
  min-width: 720px;
}
.fp-table th,
.fp-table td {
  padding: 8px 10px;
  border-bottom: 1px solid rgba(76, 91, 122, 0.28);
  vertical-align: middle;
  color: var(--sapphire-100);
}
.fp-table th {
  font-family: var(--font-sans);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sapphire-200);
  text-align: left;
  white-space: nowrap;
}
.fp-table th.num,
.fp-table td.num { text-align: right; font-variant-numeric: tabular-nums; }
.fp-table td.num.bold,
.fp-table .bold-row td { font-weight: 600; color: var(--alabaster); }
.fp-table .muted-row td,
.fp-table td.muted { color: var(--sapphire-200); }
.fp-table tr.focus { background: rgba(197, 160, 89, 0.08); }
.fp-table tr.salvage td.num:last-of-type { color: #e8a0a8; }
.fp-total-row td {
  font-weight: 600;
  color: var(--alabaster);
  border-top: 1px solid rgba(197, 160, 89, 0.35);
}
.fp-neg { color: #e8a0a8 !important; }
.fp-pos { color: var(--gold-300); }
.fp-yr-sub {
  display: block;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: var(--sapphire-300);
  font-size: 0.625rem;
}
.fp-schedule { min-width: 980px; }

.fp-input {
  width: 100%;
  max-width: 140px;
  background: var(--sapphire-800);
  border: 1px solid rgba(76, 91, 122, 0.55);
  color: var(--alabaster);
  border-radius: 4px;
  padding: 4px 6px;
  font-size: 0.8125rem;
  font-family: inherit;
}
.fp-input.num {
  width: 64px;
  text-align: right;
  font-family: ui-monospace, "SF Mono", monospace;
}
.fp-deal-name {
  appearance: none;
  background: transparent;
  border: none;
  color: inherit;
  padding: 0;
  cursor: pointer;
  text-align: left;
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font: inherit;
}
.fp-deal-name:hover span:first-child { color: var(--gold-400); }
.fp-tag {
  font-family: var(--font-sans);
  font-size: 0.5625rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 2px 6px;
  border-radius: 999px;
  background: rgba(197, 160, 89, 0.18);
  color: var(--gold-400);
}
.fp-tag.salvage {
  background: rgba(232, 160, 168, 0.15);
  color: #e8a0a8;
}
.fp-row-actions {
  white-space: nowrap;
  text-align: right;
}
.fp-icon-btn {
  appearance: none;
  background: transparent;
  border: 1px solid rgba(76, 91, 122, 0.45);
  color: var(--sapphire-100);
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  padding: 4px 8px;
  border-radius: 4px;
  cursor: pointer;
  margin-left: 4px;
}
.fp-icon-btn:hover { border-color: var(--gold-500); color: var(--alabaster); }
.fp-icon-btn.danger:hover { border-color: #e8a0a8; color: #e8a0a8; }

.fp-chart-tabs { display: flex; flex-wrap: wrap; gap: 6px; }
.fp-chart-note {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  color: var(--sapphire-200);
  margin: 0 0 10px;
}
.fp-chart-frame {
  width: 100%;
  overflow-x: auto;
  background: rgba(8, 14, 26, 0.45);
  border: 1px solid rgba(76, 91, 122, 0.3);
  padding: 8px;
}
.fp-svg { width: 100%; height: auto; max-height: 340px; display: block; }
.fp-grid { stroke: rgba(76, 91, 122, 0.35); stroke-width: 0.7; stroke-dasharray: 3 3; }
.fp-axis { stroke: rgba(169, 178, 196, 0.55); stroke-width: 1.4; }
.fp-axis-label {
  fill: var(--sapphire-200);
  font-size: 10px;
  font-family: ui-monospace, "SF Mono", monospace;
}
.fp-j-line {
  fill: none;
  stroke: var(--gold-500);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.fp-dpi-line {
  fill: none;
  stroke: var(--sapphire-200);
  stroke-width: 2;
  stroke-dasharray: 4 3;
}
.fp-j-area { fill: url(#fpJGrad); opacity: 0.45; }
.fp-dot-pos { fill: var(--gold-500); stroke: var(--sapphire-900); stroke-width: 1.5; }
.fp-dot-neg { fill: #e8a0a8; stroke: var(--sapphire-900); stroke-width: 1.5; }
.fp-callout {
  font-size: 10px;
  font-family: ui-monospace, "SF Mono", monospace;
  font-weight: 700;
}
.fp-callout.pos { fill: var(--gold-400); }
.fp-callout.neg { fill: #e8a0a8; }
.fp-bar-call { fill: #e8a0a8; opacity: 0.85; }
.fp-bar-exit { fill: var(--gold-500); opacity: 0.9; }
.fp-bar-dist { fill: var(--sapphire-200); opacity: 0.85; }
.fp-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 10px;
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  color: var(--sapphire-200);
}
.fp-swatch {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 6px;
  vertical-align: middle;
  border-radius: 2px;
}
.fp-swatch.call { background: #e8a0a8; }
.fp-swatch.exit { background: var(--gold-500); }
.fp-swatch.dist { background: var(--sapphire-200); }

.fp-sens-cell {
  appearance: none;
  width: 100%;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 4px;
  padding: 6px 4px;
  cursor: pointer;
  color: inherit;
}
.fp-sens-cell:hover { border-color: rgba(197, 160, 89, 0.45); background: rgba(197, 160, 89, 0.06); }
.fp-sens-cell.on {
  border-color: var(--gold-500);
  background: rgba(197, 160, 89, 0.14);
}
.fp-sens-sub {
  display: block;
  font-size: 0.625rem;
  color: var(--sapphire-200);
  margin-top: 2px;
}

.fp-reading-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
}
.fp-reading-card {
  padding: 14px 16px;
  border: 1px solid rgba(76, 91, 122, 0.35);
  background: rgba(13, 22, 39, 0.45);
}
.fp-reading-n {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: rgba(197, 160, 89, 0.15);
  color: var(--gold-400);
  font-family: ui-monospace, "SF Mono", monospace;
  font-size: 0.6875rem;
  margin-bottom: 8px;
}
.fp-reading-card h4 {
  margin: 0 0 8px;
  font-family: var(--font-serif);
  font-size: 1rem;
  color: var(--alabaster);
  font-weight: 500;
}
.fp-reading-card p {
  margin: 0 0 8px;
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--sapphire-100);
}
.fp-reading-note {
  margin: 0 !important;
  padding: 8px 10px;
  background: rgba(8, 14, 26, 0.5);
  border: 1px solid rgba(76, 91, 122, 0.3);
  color: var(--sapphire-200) !important;
  font-size: 0.75rem !important;
}

.fp-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(6, 10, 18, 0.72);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 80;
  padding: 24px;
}
.fp-modal {
  width: min(560px, 100%);
  max-height: min(86vh, 720px);
  overflow: auto;
  background: var(--sapphire-900);
  border: 1px solid rgba(76, 91, 122, 0.5);
  padding: 20px 22px;
  box-shadow: var(--shadow-md);
}
.fp-terms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
}
.fp-term-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  color: var(--sapphire-200);
}
.fp-term-field input {
  background: var(--sapphire-800);
  border: 1px solid rgba(76, 91, 122, 0.55);
  color: var(--alabaster);
  border-radius: 4px;
  padding: 8px 10px;
  font-family: ui-monospace, "SF Mono", monospace;
  font-size: 0.875rem;
}
.fp-term-field em {
  font-style: normal;
  font-size: 0.625rem;
  color: var(--sapphire-300);
}

/* J-curve gradient (referenced by chart path) */
.fp-chart-frame svg { --fp-gold: var(--gold-500); }
.fp .fp-chart-frame { position: relative; }
.fp .fp-j-area { fill: rgba(197, 160, 89, 0.22); }

@media (max-width: 720px) {
  .fp-kpi-value { font-size: 1.125rem; }
  .fp-hero { flex-direction: column; }
}

/* ---------- Deal pipeline ---------- */
.pl {
  color: var(--alabaster);
  font-family: var(--font-sans);
}

.pl h1 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.04;
  letter-spacing: -0.01em;
  font-weight: 400;
  color: var(--alabaster);
}

.pl h2 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 2.4vw, 2.125rem);
  line-height: 1.08;
  letter-spacing: -0.01em;
  font-weight: 400;
  color: var(--alabaster);
}

.pl-eyebrow {
  display: block;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-500);
}

.pl-eyebrow.muted { color: var(--sapphire-200); }
.pl-eyebrow.gold { color: var(--gold-400); }

.pl-hero {
  display: flex;
  flex-wrap: wrap;
  gap: 28px 56px;
  align-items: flex-end;
  justify-content: space-between;
  margin: 0 0 36px;
}

.pl-hero-copy {
  max-width: 620px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.pl-lead,
.pl-lead-sm {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--sapphire-200);
  text-wrap: pretty;
}

.pl-lead-sm { font-size: 1rem; }

.pl-note {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--sapphire-300);
}

.pl-kpis {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 40px;
}

.pl-kpi {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pl-kpi-k {
  font-size: 0.65625rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sapphire-200);
}

.pl-kpi-v {
  font-family: var(--font-serif);
  font-size: 2.125rem;
  line-height: 1;
  color: var(--alabaster);
  font-variant-numeric: tabular-nums;
}

.pl-kpi-v.sm { font-size: 1.875rem; }
.pl-kpi-v.is-gold { color: var(--gold-200); }

.pl-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding: 0 0 16px;
}

.pl-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pl-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 34px;
  padding: 0 13px;
  border-radius: 2px;
  border: 1px solid rgba(169, 178, 196, 0.28);
  background: transparent;
  color: var(--sapphire-200);
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 260ms ease;
}

.pl-chip.is-on {
  border-color: var(--gold-500);
  background: rgba(197, 160, 89, 0.14);
  color: var(--gold-200);
}

.pl-chip-n {
  font-variant-numeric: tabular-nums;
  letter-spacing: 0;
  color: var(--sapphire-200);
}

.pl-chip.is-on .pl-chip-n { color: var(--gold-400); }

.pl-size {
  display: flex;
  align-items: center;
  gap: 12px;
}

.pl-seg {
  display: flex;
  border: 1px solid rgba(169, 178, 196, 0.28);
  border-radius: 2px;
  padding: 2px;
  gap: 2px;
}

.pl-seg-btn {
  height: 28px;
  padding: 0 12px;
  border: 0;
  border-radius: 1px;
  background: transparent;
  color: var(--sapphire-200);
  font-family: var(--font-sans);
  font-size: 0.75rem;
  cursor: pointer;
  transition: all 260ms ease;
}

.pl-seg-btn.is-on {
  background: var(--sapphire-600);
  color: var(--alabaster);
}

.pl-scrub {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 18px 0 14px;
  margin: 0 0 32px;
  border-top: 1px solid rgba(169, 178, 196, 0.16);
  border-bottom: 1px solid rgba(169, 178, 196, 0.16);
}

.pl-play {
  flex: none;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(197, 160, 89, 0.6);
  border-radius: 2px;
  background: transparent;
  color: var(--gold-400);
  cursor: pointer;
  transition: all 260ms ease;
}

.pl-play:hover,
.pl-play.is-on { background: rgba(197, 160, 89, 0.14); }

.pl-asof {
  flex: none;
  width: 180px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.pl-asof-v {
  font-family: var(--font-serif);
  font-size: 1.1875rem;
  line-height: 1;
  color: var(--alabaster);
  font-variant-numeric: tabular-nums;
}

.pl-asof-hint {
  font-size: 0.75rem;
  color: var(--sapphire-200);
}

.pl-text-btn {
  align-self: flex-start;
  padding: 0;
  border: 0;
  background: none;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  color: var(--gold-400);
  cursor: pointer;
}

.pl-text-btn:hover { color: var(--gold-200); }

.pl-track {
  flex: 1;
  min-width: 0;
  position: relative;
  height: 44px;
  cursor: pointer;
  touch-action: none;
}

.pl-track-line {
  position: absolute;
  left: 0;
  right: 0;
  top: 18px;
  height: 1px;
  background: rgba(169, 178, 196, 0.3);
}

.pl-track-fill {
  position: absolute;
  left: 0;
  top: 18px;
  height: 1px;
  background: var(--gold-500);
}

.pl-track-ev {
  position: absolute;
  top: 7px;
  width: 1px;
  height: 8px;
  background: var(--sapphire-400);
}

.pl-track-ev.is-gold { background: var(--gold-500); }
.pl-track-ev.is-soft { background: var(--gold-200); }

.pl-track-mo {
  position: absolute;
  top: 18px;
  height: 22px;
  padding: 8px 0 0 5px;
  border-left: 1px solid rgba(169, 178, 196, 0.2);
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sapphire-200);
  pointer-events: none;
}

.pl-track-knob {
  position: absolute;
  top: 18px;
  width: 11px;
  height: 11px;
  transform: translate(-50%, -50%) rotate(45deg);
  background: var(--gold-500);
  box-shadow: 0 0 0 3px var(--sapphire-800);
}

.pl-funnel-scroll {
  overflow-x: auto;
  margin: 0 0 18px;
}

.pl-funnel { min-width: 1000px; }

.pl-phases {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  margin: 0 0 18px;
}

.pl-phase {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 0 14px 10px;
  border-bottom: 1px solid rgba(169, 178, 196, 0.3);
}

.pl-phase-uni {
  grid-column: span 1;
  border-bottom-style: dashed;
}

.pl-phase-pre { grid-column: span 2; }

.pl-phase-post {
  grid-column: span 4;
  border-bottom-color: var(--gold-500);
}

.pl-phase-name {
  font-family: var(--font-italic);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--alabaster);
}

.pl-phase-name.is-muted { color: var(--sapphire-200); }
.pl-phase-name.is-gold { color: var(--gold-200); }

.pl-phase-n {
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sapphire-200);
  font-variant-numeric: tabular-nums;
}

.pl-phase-n.is-gold { color: var(--gold-400); }

.pl-heads {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
}

.pl-head {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 0 14px;
  border-left: 1px solid rgba(169, 178, 196, 0.12);
}

.pl-head-top {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 2px 8px;
  min-width: 0;
}

.pl-head-code {
  font-size: 0.6875rem;
  color: var(--sapphire-200);
  font-variant-numeric: tabular-nums;
}

.pl-head-code.is-gold { color: var(--gold-500); }

.pl-head-name {
  min-width: 0;
  overflow-wrap: break-word;
  font-family: var(--font-serif);
  font-size: 1.125rem;
  line-height: 1.15;
  color: var(--alabaster);
}

.pl-head-desc {
  font-size: 0.75rem;
  line-height: 1.45;
  color: var(--sapphire-200);
  text-wrap: pretty;
}

.pl-head-meta {
  font-size: 0.71875rem;
  color: var(--sapphire-200);
  font-variant-numeric: tabular-nums;
}

.pl-canvas {
  position: relative;
  transition: height 260ms ease;
}

.pl-band {
  position: absolute;
  background-color: var(--sapphire-700);
  background-image: repeating-linear-gradient(
    to bottom,
    transparent 0,
    transparent 11px,
    rgba(169, 178, 196, 0.07) 11px,
    rgba(169, 178, 196, 0.07) 12px
  );
  border-top: 1px solid rgba(169, 178, 196, 0.22);
  border-bottom: 1px solid rgba(169, 178, 196, 0.22);
  transition: top 480ms ease, height 480ms ease;
  z-index: 1;
}

.pl-gate {
  position: absolute;
  top: 12px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 0 6px;
  background: var(--sapphire-800);
  z-index: 2;
  pointer-events: none;
}

.pl-gate span {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--sapphire-200);
  font-variant-numeric: tabular-nums;
}

.pl-gate span.is-gold { color: var(--gold-400); }

.pl-uni-mark {
  position: absolute;
  left: 7.1429%;
  top: 252px;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  z-index: 2;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  color: inherit;
  font: inherit;
}

.pl-uni-n {
  font-family: var(--font-serif);
  font-size: 2.875rem;
  line-height: 1;
  color: var(--alabaster);
  font-variant-numeric: tabular-nums;
}

.pl-uni-link {
  font-size: 0.75rem;
  color: var(--gold-400);
  transition: color 140ms ease;
}

.pl-uni-mark:hover .pl-uni-link { color: var(--gold-200); }

.pl-passed {
  position: absolute;
  left: 14.2857%;
  right: 0;
  height: 92px;
  border-top: 1px dashed rgba(169, 178, 196, 0.28);
  z-index: 1;
}

.pl-passed-lbl {
  position: absolute;
  left: 0;
  top: -9px;
  padding: 0 10px 0 0;
  background: var(--sapphire-800);
  font-size: 0.65625rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sapphire-200);
}

.pl-thread {
  position: absolute;
  height: 1px;
  z-index: 2;
  pointer-events: none;
}

.pl-tick {
  position: absolute;
  width: 7px;
  height: 7px;
  transform: translate(-50%, -50%) rotate(45deg);
  background: var(--sapphire-800);
  border: 1px solid var(--gold-500);
  z-index: 2;
  pointer-events: none;
}

.pl-tick-lbl {
  position: absolute;
  padding: 0 4px;
  font-size: 0.65625rem;
  letter-spacing: 0.04em;
  color: var(--gold-200);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  z-index: 2;
  pointer-events: none;
}

.pl-dot {
  position: absolute;
  transform: translate(-50%, -50%);
  border-radius: 999px;
  cursor: pointer;
  transition: left 480ms ease, top 480ms ease, width 260ms ease, height 260ms ease,
    background 260ms ease, opacity 260ms ease, box-shadow 260ms ease;
}

.pl-dot-lbl {
  position: absolute;
  white-space: nowrap;
  font-weight: 500;
  letter-spacing: 0.04em;
  pointer-events: none;
  transition: color 260ms ease;
}

.pl-tip {
  position: absolute;
  transform: translate(-50%, -100%);
  z-index: 6;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 10px 12px;
  background: var(--sapphire-900);
  border: 1px solid rgba(169, 178, 196, 0.22);
  border-top: 1px solid var(--gold-500);
  white-space: nowrap;
}

.pl-tip-title {
  font-family: var(--font-serif);
  font-size: 0.9375rem;
  color: var(--alabaster);
}

.pl-tip-sub {
  font-size: 0.71875rem;
  color: var(--sapphire-200);
}

.pl-tip-line {
  font-size: 0.71875rem;
  color: var(--gold-200);
  font-variant-numeric: tabular-nums;
}

.pl-legend {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 28px;
  margin: 0 0 72px;
  font-size: 0.75rem;
  color: var(--sapphire-200);
}

.pl-legend.tight {
  margin: 0;
  padding: 18px 0 0;
}

.pl-legend span {
  display: flex;
  align-items: center;
  gap: 8px;
}

.pl-legend em {
  font-family: var(--font-italic);
  font-style: italic;
  font-size: 0.9375rem;
  color: var(--sapphire-200);
}

.pl-legend strong {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--sapphire-200);
}

.pl-swatch {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--sapphire-200);
  display: inline-block;
}

.pl-swatch.is-gold { background: var(--gold-500); }

.pl-swatch.is-over {
  box-shadow: 0 0 0 2px var(--sapphire-800), 0 0 0 3px var(--gold-400);
}

.pl-swatch.is-pass {
  background: transparent;
  border: 1px solid var(--sapphire-200);
}

.pl-uni {
  display: flex;
  flex-direction: column;
  margin: 0 0 88px;
}

.pl-uni-head {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 56px;
  align-items: flex-end;
  justify-content: space-between;
  padding: 0 0 22px;
  border-bottom: 1px solid rgba(169, 178, 196, 0.2);
}

.pl-uni-head > div:first-child {
  max-width: 600px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pl-matrix-head,
.pl-src-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 24px;
  padding: 26px 0 14px;
}

.pl-src-head {
  padding: 52px 0 14px;
  border-bottom: 1px solid rgba(169, 178, 196, 0.2);
}

.pl-italic {
  font-family: var(--font-italic);
  font-style: italic;
  font-size: 1.1875rem;
  color: var(--alabaster);
}

.pl-readout {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 12px;
  font-variant-numeric: tabular-nums;
  font-size: 0.8125rem;
  color: var(--alabaster);
}

.pl-matrix-scroll,
.pl-src-scroll { overflow-x: auto; }

.pl-matrix {
  min-width: 1000px;
  display: flex;
  flex-direction: column;
  padding: 0 0 10px;
}

.pl-matrix-row {
  display: grid;
  grid-template-columns: minmax(130px, 1.3fr) repeat(9, minmax(0, 1fr)) 64px;
  border-bottom: 1px solid rgba(169, 178, 196, 0.1);
  transition: opacity 260ms ease;
}

.pl-matrix-row.is-head {
  border-bottom: 1px solid rgba(169, 178, 196, 0.3);
}

.pl-matrix-row.is-head > span {
  padding: 0 6px 10px 8px;
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sapphire-200);
  white-space: nowrap;
  transition: color 140ms ease;
}

.pl-matrix-row.is-head > span.is-hot { color: var(--gold-200); }

.pl-matrix-total-h {
  padding: 0 0 10px !important;
  text-align: right;
  letter-spacing: 0.1em !important;
}

.pl-matrix-label {
  display: flex;
  align-items: center;
  padding: 0 12px 0 0;
  font-family: var(--font-serif);
  font-size: 0.9375rem;
  line-height: 1.25;
  color: var(--alabaster);
  transition: color 140ms ease;
}

.pl-matrix-label.is-hot { color: var(--gold-200); }

.pl-matrix-cell {
  min-height: 70px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 10px 8px;
  border-left: 1px solid rgba(169, 178, 196, 0.1);
  transition: background 140ms ease;
}

.pl-matrix-cell > span {
  font-size: 0.8125rem;
  line-height: 1;
  color: var(--alabaster);
  font-variant-numeric: tabular-nums;
}

.pl-matrix-cell > span.is-empty { color: var(--sapphire-400); }

.pl-ticks {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 3px;
}

.pl-ticks span {
  width: 2px;
  height: 12px;
  background: var(--sapphire-200);
}

.pl-ticks span.is-gold { background: var(--gold-500); }

.pl-matrix-total {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  font-size: 0.8125rem;
  color: var(--alabaster);
  font-variant-numeric: tabular-nums;
}

.pl-matrix-row.is-foot {
  border-bottom: 0;
  padding: 12px 0 0;
  align-items: center;
}

.pl-matrix-foot-n {
  padding: 0 8px;
  font-size: 0.8125rem;
  color: var(--alabaster);
  font-variant-numeric: tabular-nums;
}

.pl-matrix-grand {
  text-align: right;
  font-family: var(--font-serif);
  font-size: 1.0625rem;
  line-height: 1;
  color: var(--gold-200);
  font-variant-numeric: tabular-nums;
}

.pl-tick-swatch {
  width: 2px;
  height: 12px;
  background: var(--sapphire-200);
  display: inline-block;
}

.pl-tick-swatch.is-gold { background: var(--gold-500); }

.pl-src-note {
  font-size: 0.78125rem;
  color: var(--sapphire-200);
}

.pl-src { min-width: 640px; }

.pl-src-row {
  display: grid;
  grid-template-columns: minmax(170px, 1.1fr) minmax(140px, 2fr) 84px 96px 60px;
  gap: 16px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid rgba(169, 178, 196, 0.1);
}

.pl-src-row.is-head {
  padding: 12px 0 10px;
  font-size: 0.65625rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sapphire-200);
}

.pl-src-row .num {
  text-align: right;
  font-size: 0.875rem;
  color: var(--alabaster);
  font-variant-numeric: tabular-nums;
}

.pl-src-row.is-head .num {
  font-size: inherit;
  color: inherit;
}

.pl-src-row .num.is-gold { color: var(--gold-200); }

.pl-src-k {
  font-family: var(--font-serif);
  font-size: 1rem;
  line-height: 1.3;
  color: var(--alabaster);
}

.pl-src-bar {
  position: relative;
  height: 6px;
}

.pl-src-bar > span {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  background: rgba(169, 178, 196, 0.32);
  transition: width 480ms ease;
}

.pl-src-bar > span.is-gold { background: var(--gold-500); }

.pl-ledger-head {
  display: flex;
  align-items: flex-end;
  gap: 16px;
  padding: 0 0 14px;
  border-bottom: 1px solid rgba(169, 178, 196, 0.2);
}

.pl-ledger-head > div {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.pl-ledger-head h2 { font-size: 1.5rem; line-height: 1.2; }

.pl-ledger-sub {
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--sapphire-200);
}

.pl-l1-gate {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 20px;
  padding: 20px 22px;
  border: 1px solid rgba(169, 178, 196, 0.18);
  border-top: 1px solid var(--gold-500);
}

.pl-l1-gate .pl-prose { margin: 8px 0 0; }

.pl-caption {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--sapphire-200);
}

.pl-ledger-cols,
.pl-ledger-row {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) 120px 84px 64px;
  gap: 16px;
  align-items: center;
}

.pl-ledger-cols.is-wide,
.pl-ledger-row.is-wide {
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) 128px 84px 64px 72px minmax(0, 1.3fr);
}

.pl-ledger-cols {
  padding: 12px 0 10px;
  border-bottom: 1px solid rgba(169, 178, 196, 0.1);
  font-size: 0.65625rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sapphire-200);
}

.pl-ledger-cols .num { text-align: right; }

.pl-ledger-row {
  width: calc(100% + 24px);
  margin: 0 -12px;
  padding: 14px 12px;
  border: 0;
  border-bottom: 1px solid rgba(169, 178, 196, 0.1);
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
  font: inherit;
  transition: background 140ms ease;
}

.pl-ledger-row.is-on,
.pl-ledger-row:hover { background: var(--sapphire-700); }

.pl-ledger-proj,
.pl-ledger-next {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.pl-ledger-cn {
  font-family: var(--font-serif);
  font-size: 1.0625rem;
  line-height: 1.3;
  color: var(--alabaster);
}

.pl-ledger-sub {
  font-size: 0.78125rem;
  color: var(--sapphire-200);
}

.pl-name-italic {
  font-family: var(--font-italic);
  font-style: italic;
  font-size: 1.5rem;
  line-height: 1.2;
  color: var(--gold-200);
}

.pl-name-italic.sm { font-size: 1rem; }

.pl-locked-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.65625rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sapphire-200);
}

.pl-ledger-stage {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.pl-ledger-stage span:first-child {
  font-size: 0.6875rem;
  color: var(--sapphire-200);
  font-variant-numeric: tabular-nums;
}

.pl-ledger-stage span:first-child.is-gold { color: var(--gold-500); }

.pl-ledger-stage span:last-child {
  font-size: 0.84375rem;
  color: var(--alabaster);
}

.pl-ledger-days {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  font-variant-numeric: tabular-nums;
}

.pl-ledger-days span:first-child {
  font-size: 0.875rem;
  color: var(--alabaster);
}

.pl-ledger-days span:first-child.is-over { color: var(--gold-400); }

.pl-ledger-days span:last-child {
  font-size: 0.6875rem;
  color: var(--sapphire-200);
}

.pl-ledger-ev,
.pl-ledger-eq {
  text-align: right;
  font-size: 0.875rem;
  color: var(--alabaster);
  font-variant-numeric: tabular-nums;
}

.pl-ledger-next span:first-child {
  font-size: 0.8125rem;
  line-height: 1.4;
  color: var(--alabaster);
  text-wrap: pretty;
}

.pl-ledger-next span:last-child {
  font-size: 0.71875rem;
  color: var(--sapphire-200);
  font-variant-numeric: tabular-nums;
}

.pl-drawer-root {
  position: fixed;
  inset: 0;
  z-index: 80;
}

.pl-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(7, 13, 24, 0.45);
  cursor: pointer;
}

.pl-drawer {
  position: absolute;
  top: 0;
  right: 0;
  width: min(420px, 100vw);
  height: 100%;
  overflow-y: auto;
  background: var(--sapphire-900);
  border-left: 1px solid rgba(169, 178, 196, 0.16);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5);
  padding: 24px 32px 40px;
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.pl-drawer-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.pl-drawer-head {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}

.pl-drawer h2 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1.875rem;
  line-height: 1.12;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--alabaster);
}

.pl-drawer-sub {
  font-size: 0.78125rem;
  line-height: 1.5;
  color: var(--sapphire-200);
}

.pl-icon-btn {
  flex: none;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(169, 178, 196, 0.28);
  border-radius: 2px;
  background: transparent;
  color: var(--sapphire-200);
  cursor: pointer;
  transition: all 140ms ease;
}

.pl-icon-btn:hover {
  border-color: var(--gold-500);
  color: var(--gold-400);
}

.pl-name-open {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px 16px;
  border: 1px solid rgba(197, 160, 89, 0.4);
}

.pl-name-locked {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 16px;
  border: 1px solid rgba(169, 178, 196, 0.18);
  border-top: 1px solid var(--gold-500);
}

.pl-name-locked-row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.pl-name-locked-row > div {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.pl-prose {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--alabaster);
  text-wrap: pretty;
}

.pl-prose-tight {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--alabaster);
}

.pl-pass-box {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px;
  border: 1px dashed rgba(169, 178, 196, 0.35);
}

.pl-figs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 24px;
  padding: 20px 0;
  border-top: 1px solid rgba(169, 178, 196, 0.16);
  border-bottom: 1px solid rgba(169, 178, 196, 0.16);
}

.pl-fig-k {
  display: block;
  font-size: 0.65625rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sapphire-200);
}

.pl-fig-v {
  display: block;
  margin-top: 4px;
  font-size: 0.9375rem;
  color: var(--alabaster);
  font-variant-numeric: tabular-nums;
}

.pl-path,
.pl-ws {
  display: flex;
  flex-direction: column;
}

.pl-path > .pl-eyebrow,
.pl-ws > .pl-eyebrow { padding-bottom: 6px; }

.pl-path-row {
  display: grid;
  grid-template-columns: 12px 26px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 10px 8px;
  margin: 0 -8px;
  border-bottom: 1px solid rgba(169, 178, 196, 0.1);
  font-size: 0.8125rem;
}

.pl-path-row.is-cur { background: var(--sapphire-700); }

.pl-path-mark {
  width: 8px;
  height: 8px;
  border-radius: 999px;
}

.pl-path-code {
  font-size: 0.6875rem;
  color: var(--gold-500);
  font-variant-numeric: tabular-nums;
}

.pl-path-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.pl-muted-num {
  font-size: 0.71875rem;
  color: var(--sapphire-200);
  font-variant-numeric: tabular-nums;
}

.pl-path-dur {
  font-size: 0.75rem;
  font-variant-numeric: tabular-nums;
}

.pl-ws-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid rgba(169, 178, 196, 0.1);
  font-size: 0.8125rem;
}

.pl-ws-mark {
  width: 9px;
  height: 9px;
  transform: rotate(45deg);
  flex: none;
}

.pl-ws-name {
  flex: 1;
  color: var(--alabaster);
}

.pl-ws-lbl {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.pl-next-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 24px;
}

.pl-next-v {
  display: block;
  margin-top: 4px;
  font-family: var(--font-serif);
  font-size: 1rem;
  line-height: 1.4;
  color: var(--alabaster);
}

.pl-gold-num {
  display: block;
  margin-top: 2px;
  font-size: 0.75rem;
  color: var(--gold-400);
  font-variant-numeric: tabular-nums;
}

.pl-drawer-hint {
  margin: 0;
  padding-top: 16px;
  border-top: 1px solid rgba(169, 178, 196, 0.12);
  font-size: 0.71875rem;
  color: var(--sapphire-200);
}

@media (max-width: 900px) {
  .pl-scrub { flex-wrap: wrap; }
  .pl-track { width: 100%; flex: none; }
  .pl-asof { width: auto; }
}

@media (max-width: 720px) {
  .pl-kpi-v { font-size: 1.5rem; }
  .pl-legend { margin-bottom: 40px; }
}
