/* Phase 7 — Unified Debt & Obligations. Visual source: 04-debt-target.png. */

body.editorial-ui.v2-foundation.is-v2-debt-view {
  --v2d-paper: #f4e8d3;
  --v2d-paper-light: #fbf4e6;
  --v2d-ink: #0c3554;
  --v2d-muted: #53616a;
  --v2d-plum: #744766;
  --v2d-rose: #b56d72;
  --v2d-ochre: #d59b2f;
  --v2d-teal: #2f7f7c;
  --v2d-blue: #3d6ea6;
  --v2d-coral: #d85b37;
  color: var(--v2d-ink);
  background-color: var(--v2d-paper);
}

body.editorial-ui.v2-foundation.is-v2-debt-view .app-shell {
  width: min(1440px, calc(100% - 40px));
  max-width: none;
  padding-top: 0;
  overflow: visible;
}

body.editorial-ui.v2-foundation.is-v2-debt-view :is(#module-view, #module-content) {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

body.editorial-ui.v2-foundation.is-v2-debt-view .site-footer {
  display: none;
}

body.editorial-ui.v2-foundation .site-header[data-profile="debt"] {
  position: relative;
  z-index: 30;
  display: grid;
  width: calc(100% + 20px);
  height: 66px;
  min-height: 66px;
  margin: 0 0 0 -4px;
  padding: 0;
  grid-template-columns: 1fr auto;
  align-items: center;
  border-bottom: 1px solid rgba(12, 53, 84, .78);
  background: transparent;
}

body.editorial-ui.v2-foundation .site-header[data-profile="debt"] .site-name {
  margin: 0;
  color: var(--v2d-ink);
  font-family: var(--v2-font-display);
  font-size: 16px;
  font-weight: 900;
  letter-spacing: .025em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

body.editorial-ui.v2-foundation .site-header[data-profile="debt"] .primary-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
}

body.editorial-ui.v2-foundation .site-header[data-profile="debt"] .nav-action {
  width: auto;
  min-width: 0;
  min-height: 40px;
  margin: 0;
  padding: 9px 8px;
  border: 1px solid transparent;
  border-radius: 0;
  color: var(--v2d-ink);
  background: transparent;
  font-family: var(--v2-font-interface);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

body.editorial-ui.v2-foundation .site-header[data-profile="debt"] .nav-action::after {
  display: none;
}

body.editorial-ui.v2-foundation .site-header[data-profile="debt"] .nav-action:hover,
body.editorial-ui.v2-foundation .site-header[data-profile="debt"] .nav-action:focus-visible {
  border-color: rgba(12, 53, 84, .42);
  background: rgba(251, 244, 230, .52);
}

body.editorial-ui.v2-foundation .site-header[data-profile="debt"] .nav-action[aria-current="page"] {
  border-color: var(--v2d-ink);
  background: rgba(251, 244, 230, .52);
}

.v2-debt-page {
  width: calc(100% + 44px);
  margin-left: -22px;
  color: var(--v2d-ink);
  font-family: var(--v2-font-interface);
}

.v2-debt-page button,
.v2-debt-page input,
.v2-debt-page select,
.v2-debt-page summary {
  font: inherit;
}

.v2d-hero {
  position: relative;
  height: 422px;
  min-height: 422px;
  overflow: hidden;
  border-bottom: 1px solid rgba(12, 53, 84, .68);
  isolation: isolate;
  width: calc(100% + 40px);
  margin-left: -20px;
}

.v2d-owe-word {
  position: absolute;
  z-index: 3;
  top: -4px;
  left: 40.4%;
  color: transparent;
  background-color: var(--v2d-plum);
  background-image: url("assets/texture/ink-wear.svg");
  background-size: 220px 220px;
  -webkit-background-clip: text;
  background-clip: text;
  font-family: var(--v2-font-display);
  font-size: clamp(230px, 33vw, 340px);
  font-weight: 900;
  letter-spacing: -.045em;
  line-height: .84;
  opacity: .98;
  text-transform: uppercase;
  transform: scaleX(.62);
  transform-origin: left top;
}

.v2d-hero-art {
  position: absolute;
  z-index: 2;
  inset: auto 0 -5px;
  height: 88%;
  pointer-events: none;
}

.v2d-hero-art img {
  display: block;
  width: 107%;
  height: 100%;
  object-fit: cover;
  object-position: 0 58%;
  mix-blend-mode: multiply;
}

.v2d-hero-copy {
  position: absolute;
  z-index: 4;
  top: 78px;
  left: 45px;
  width: 38%;
}

.v2d-hero-copy h1 {
  max-width: none;
  margin: 0;
  color: var(--v2d-ink);
  font-family: var(--v2-font-editorial);
  font-size: clamp(43px, 5.05vw, 63px);
  font-weight: 400;
  letter-spacing: -.035em;
  line-height: 1.01;
}

.v2d-hero-copy p {
  max-width: 25ch;
  margin: 28px 0 0;
  color: var(--v2d-ink);
  font-family: var(--v2-font-editorial);
  font-size: 20px;
  line-height: 1.42;
}

.v2d-summary {
  display: grid;
  min-height: 140px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 20px;
  border: 1px solid rgba(12, 53, 84, .65);
  border-top: 1px solid rgba(12, 53, 84, .65);
  background: rgba(251, 244, 230, .08);
}

.v2d-summary article {
  position: relative;
  display: flex;
  min-width: 0;
  padding: 24px 22px 20px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.v2d-summary article + article::before {
  position: absolute;
  top: 23px;
  bottom: 23px;
  left: 0;
  width: 1px;
  background: rgba(12, 53, 84, .5);
  content: "";
}

.v2d-summary span {
  color: var(--v2d-ink);
  font-family: var(--v2-font-editorial);
  font-size: 19px;
  line-height: 1.2;
}

.v2d-summary :is(span, strong) {
  position: relative;
  top: -6px;
}

.v2d-summary strong {
  margin-top: 7px;
  color: var(--v2d-ink);
  font-family: var(--v2-font-editorial);
  font-size: clamp(46px, 5.7vw, 64px);
  font-weight: 400;
  letter-spacing: -.035em;
  line-height: 1;
  white-space: nowrap;
}

.v2d-workspace {
  display: grid;
  min-height: 868px;
  grid-template-columns: minmax(248px, 28fr) minmax(0, 72fr);
  border: 1px solid rgba(12, 53, 84, .65);
  border-top: 0;
  background: rgba(251, 244, 230, .06);
}

#v2d-collection-host {
  min-width: 0;
  border-right: 1px solid rgba(12, 53, 84, .62);
}

.v2d-collection {
  display: flex;
  min-height: 100%;
  padding: 28px 22px 30px;
  flex-direction: column;
}

.v2d-collection h2,
.v2d-chart h2,
.v2d-mechanism h2 {
  margin: 0;
  color: var(--v2d-ink);
  font-family: var(--v2-font-editorial);
  font-weight: 400;
  letter-spacing: -.025em;
}

.v2d-collection h2 {
  margin-left: 6px;
  font-size: 27px;
  line-height: 1.1;
}

.v2d-obligation-list {
  display: grid;
  margin-top: 28px;
  gap: 48px;
}

.v2d-obligation-row {
  display: grid;
  width: 100%;
  min-height: 132px;
  padding: 0;
  grid-template-columns: 80px minmax(0, 1fr);
  align-items: start;
  gap: 15px;
  border: 0;
  color: var(--v2d-ink);
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.v2d-obligation-row:hover .v2d-obligation-icon,
.v2d-obligation-row:focus-visible .v2d-obligation-icon {
  transform: translateY(-2px);
  box-shadow: 0 0 0 3px rgba(12, 53, 84, .16);
}

.v2d-obligation-row:focus-visible {
  outline: 2px solid var(--v2d-ink);
  outline-offset: 6px;
}

.v2d-obligation-icon {
  display: grid;
  width: 80px;
  height: 80px;
  place-items: center;
  border-radius: 3px;
  color: var(--v2d-paper-light);
  background: var(--v2d-plum);
  transition: transform var(--v2-motion-fast) ease, box-shadow var(--v2-motion-fast) ease;
}

.v2d-obligation-row.is-rose .v2d-obligation-icon { background: var(--v2d-rose); }
.v2d-obligation-row.is-ochre .v2d-obligation-icon { background: var(--v2d-ochre); }
.v2d-obligation-row.is-teal .v2d-obligation-icon { background: var(--v2d-teal); }
.v2d-obligation-row.is-blue .v2d-obligation-icon { background: var(--v2d-blue); }
.v2d-obligation-row.is-coral .v2d-obligation-icon { background: var(--v2d-coral); }
.v2d-obligation-row.is-ink .v2d-obligation-icon { background: var(--v2d-ink); }

.v2d-obligation-icon svg {
  width: 61px;
  height: 61px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.v2d-obligation-copy {
  display: flex;
  min-width: 0;
  padding-top: 0;
  flex-direction: column;
  color: var(--v2d-ink);
  font-family: var(--v2-font-editorial);
  line-height: 1.18;
}

.v2d-obligation-copy strong {
  overflow: hidden;
  font-size: 19px;
  font-weight: 400;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.v2d-obligation-copy b {
  margin: 3px 0 5px;
  font-size: 29px;
  font-weight: 400;
  letter-spacing: -.025em;
}

.v2d-obligation-copy > span:not(.v2d-source-link) {
  font-size: 18px;
  line-height: 1.35;
}

.v2d-obligation-copy small { font-size: .78em; }

.v2d-source-link {
  width: fit-content;
  margin-top: 5px;
  border-bottom: 1px solid currentColor;
  font-family: var(--v2-font-interface);
  font-size: 13px;
  line-height: 1.25;
}

.v2d-empty-list {
  margin: 0;
  color: var(--v2d-muted);
  font-size: 16px;
}

.v2d-add {
  display: flex;
  min-height: 50px;
  margin-top: 92px;
  padding: 9px 17px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--v2d-ink);
  border-radius: 2px;
  color: var(--v2d-ink);
  background: rgba(251, 244, 230, .2);
  font-family: var(--v2-font-editorial);
  font-size: 17px;
  cursor: pointer;
  position: relative;
  width: 200px;
}

.v2d-add::before {
  position: absolute;
  top: -30px;
  left: 0;
  width: 223px;
  border-top: 1px dotted rgba(12, 53, 84, .62);
  content: "";
}

.v2d-add svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
}

.v2d-add:hover,
.v2d-add:focus-visible {
  color: var(--v2d-paper-light);
  background: var(--v2d-ink);
}

#v2d-results-host,
.v2d-main-results {
  min-width: 0;
}

.v2d-main-results {
  padding: 22px 19px 15px 33px;
}

.v2d-path-tabs {
  display: grid;
  width: min(305px, 100%);
  min-height: 42px;
  grid-template-columns: repeat(2, 1fr);
  border: 1px solid var(--v2d-ink);
  border-radius: 2px;
  overflow: hidden;
}

.v2d-path-tabs button {
  min-height: 42px;
  padding: 8px 14px;
  border: 0;
  color: var(--v2d-ink);
  background: rgba(251, 244, 230, .3);
  font-family: var(--v2-font-interface);
  font-size: 15px;
  cursor: pointer;
}

.v2d-path-tabs button + button { border-left: 1px solid var(--v2d-ink); }

.v2d-path-tabs button[aria-pressed="true"] {
  color: var(--v2d-paper-light);
  background: var(--v2d-ink);
}

.v2d-scenario-editor {
  display: grid;
  margin-top: 14px;
  padding: 13px 15px;
  grid-template-columns: minmax(170px, .8fr) minmax(0, 1.2fr);
  gap: 16px;
  border: 1px solid rgba(116, 71, 102, .58);
  background: rgba(116, 71, 102, .07);
}

.v2d-scenario-editor > div:first-child {
  display: flex;
  flex-direction: column;
}

.v2d-scenario-editor strong {
  font-family: var(--v2-font-editorial);
  font-size: 19px;
  font-weight: 400;
}

.v2d-scenario-editor span { font-size: 13px; line-height: 1.35; }

.v2d-scenario-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.v2d-scenario-fields label > span:first-child {
  display: block;
  margin-bottom: 3px;
  font-size: 12px;
}

.v2d-compact-input {
  display: grid;
  min-height: 42px;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  border: 1px solid rgba(12, 53, 84, .55);
  background: rgba(251, 244, 230, .65);
}

.v2d-compact-input :is(i, b) {
  padding: 0 8px;
  font-size: 13px;
  font-style: normal;
  font-weight: 400;
}

.v2d-compact-input input {
  width: 100%;
  min-width: 0;
  height: 40px;
  padding: 5px;
  border: 0;
  color: var(--v2d-ink);
  background: transparent;
  font-size: 16px;
}

.v2d-chart {
  margin: 19px 0 0;
}

.v2d-chart h2 {
  margin-bottom: 2px;
  font-size: 32px;
  line-height: 1.08;
}

.v2d-chart > svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

.v2d-y-tick line {
  stroke: rgba(12, 53, 84, .24);
  stroke-width: 1;
  stroke-dasharray: 2 3;
}

.v2d-y-tick text,
.v2d-x-tick text {
  fill: var(--v2d-ink);
  font-family: var(--v2-font-interface);
  font-size: 13px;
}

.v2d-x-tick line {
  stroke: rgba(12, 53, 84, .6);
  stroke-width: 1;
}

.v2d-area {
  fill: var(--v2d-area);
  stroke: var(--v2d-paper-light);
  stroke-width: 1.2;
  opacity: .93;
}

.v2d-grain-overlay {
  fill: url(#v2d-print-grain);
  opacity: .23;
  pointer-events: none;
}

#v2d-print-grain circle { fill: var(--v2d-paper-light); }

.v2d-payoff-marker line {
  stroke: var(--v2d-ink);
  stroke-width: 1.25;
}

.v2d-payoff-marker circle {
  fill: var(--v2d-plum);
  stroke: var(--v2d-paper-light);
  stroke-width: 1.5;
}

.v2d-payoff-marker.is-rose circle { fill: var(--v2d-rose); }
.v2d-payoff-marker.is-ochre circle { fill: var(--v2d-ochre); }
.v2d-payoff-marker.is-teal circle { fill: var(--v2d-teal); }
.v2d-payoff-marker.is-blue circle { fill: var(--v2d-blue); }
.v2d-payoff-marker.is-coral circle { fill: var(--v2d-coral); }

.v2d-payoff-marker text {
  fill: var(--v2d-ink);
  font-family: var(--v2-font-editorial);
  font-size: 14px;
}

.v2d-chart-hit {
  fill: transparent;
  stroke: transparent;
  pointer-events: all;
}

.v2d-chart-hit:focus {
  outline: 0;
  stroke: var(--v2d-ink);
  stroke-width: 1;
  stroke-dasharray: 3 3;
}

.v2d-chart figcaption {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.v2d-result-pair {
  display: grid;
  margin-top: 19px;
  margin-left: -7px;
  width: calc(100% + 7px);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 17px;
}

.v2d-result-pair article {
  display: flex;
  min-height: 142px;
  padding: 20px 23px;
  flex-direction: column;
  justify-content: center;
  border: 1px solid rgba(12, 53, 84, .52);
  background: rgba(251, 244, 230, .14);
}

.v2d-result-pair span {
  font-family: var(--v2-font-editorial);
  font-size: 18px;
  line-height: 1.2;
}

.v2d-result-pair strong {
  margin-top: 8px;
  font-family: var(--v2-font-editorial);
  font-size: clamp(43px, 5.5vw, 66px);
  font-weight: 400;
  letter-spacing: -.04em;
  line-height: 1;
  white-space: nowrap;
}

.v2d-mechanism {
  position: relative;
  min-height: 172px;
  width: calc(100% + 7px);
  margin: 17px 0 0 -7px;
  padding: 17px 19px 16px;
  border: 1px solid rgba(12, 53, 84, .52);
  background: rgba(251, 244, 230, .11);
}

.v2d-mechanism.has-warning {
  border-color: var(--v2d-coral);
  background: rgba(216, 91, 55, .06);
}

.v2d-mechanism h2 {
  font-size: 22px;
  line-height: 1.12;
}

.v2d-warning {
  margin: 8px 0 0;
  color: var(--v2d-coral);
  font-size: 13px;
  line-height: 1.35;
}

.v2d-mechanism-body {
  display: grid;
  width: 62%;
  margin-top: 13px;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 7px;
}

.v2d-mechanism-body > div > span {
  display: block;
  margin-left: 8px;
  font-family: var(--v2-font-editorial);
  font-size: 14px;
}

.v2d-mechanism-body svg {
  display: block;
  width: 100%;
  max-height: 70px;
  fill: none;
  stroke: var(--v2d-ink);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.v2d-mechanism-body svg text {
  fill: var(--v2d-ink);
  stroke: none;
  font-family: var(--v2-font-interface);
  font-size: 12px;
}

.v2d-mechanism-body > b {
  font-family: var(--v2-font-editorial);
  font-size: 31px;
  font-weight: 400;
}

.v2d-mechanism > button {
  position: absolute;
  right: 18px;
  bottom: 24px;
  display: flex;
  min-height: 44px;
  padding: 7px 0;
  align-items: center;
  gap: 7px;
  border: 0;
  border-bottom: 1px solid var(--v2d-ink);
  color: var(--v2d-ink);
  background: transparent;
  font-size: 13px;
  cursor: pointer;
}

.v2d-mechanism > button svg {
  width: 27px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}

.v2d-schedule:not([open]) {
  display: none;
}

.v2d-schedule {
  margin-top: 17px;
  border: 1px solid rgba(12, 53, 84, .55);
  background: rgba(251, 244, 230, .18);
}

.v2d-schedule > summary {
  display: flex;
  min-height: 48px;
  padding: 10px 14px;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  list-style: none;
}

.v2d-schedule > summary::-webkit-details-marker { display: none; }

.v2d-schedule > summary svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  transform: rotate(45deg);
}

.v2d-schedule-tools {
  display: flex;
  padding: 12px 14px;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-top: 1px solid rgba(12, 53, 84, .25);
}

.v2d-schedule-tools p { margin: 0; font-size: 13px; }

.v2d-schedule-tools button {
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid var(--v2d-ink);
  color: var(--v2d-ink);
  background: transparent;
  cursor: pointer;
}

.v2d-schedule-tools button[aria-pressed="true"] {
  color: var(--v2d-paper-light);
  background: var(--v2d-ink);
}

.v2d-table-scroll {
  max-height: 430px;
  overflow: auto;
  border-top: 1px solid rgba(12, 53, 84, .25);
}

.v2d-table-scroll table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.v2d-table-scroll caption {
  padding: 10px 12px;
  text-align: left;
}

.v2d-table-scroll :is(th, td) {
  padding: 7px 10px;
  border-right: 1px solid rgba(12, 53, 84, .14);
  border-bottom: 1px solid rgba(12, 53, 84, .14);
  text-align: right;
}

.v2d-table-scroll :is(th, td):nth-child(2) { text-align: left; }

.v2d-table-scroll thead th {
  position: sticky;
  z-index: 2;
  top: 0;
  color: var(--v2d-paper-light);
  background: var(--v2d-ink);
}

.v2d-table-scroll tr.is-negative { background: rgba(216, 91, 55, .12); }

.v2d-schedule-options {
  padding: 12px 14px;
}

.v2d-schedule-options label {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
}

.v2d-schedule-options input {
  width: 20px;
  height: 20px;
  accent-color: var(--v2d-ink);
}

.v2d-boundary {
  width: calc(100% + 7px);
  margin: 17px 0 0 -7px;
  color: var(--v2d-ink);
  font-family: var(--v2-font-editorial);
  font-size: 12px;
  line-height: 1.35;
}

.v2d-dialog {
  width: min(640px, calc(100vw - 32px));
  max-height: min(760px, calc(100vh - 32px));
  padding: 0;
  border: 1px solid var(--v2d-ink);
  border-radius: 2px;
  color: var(--v2d-ink);
  background: var(--v2d-paper-light) url("assets/texture/paper-grain.svg");
  box-shadow: 0 22px 70px rgba(12, 53, 84, .22);
}

.v2d-dialog::backdrop {
  background: rgba(12, 53, 84, .42);
}

.v2d-editor {
  margin: 0;
  padding: 24px;
}

.v2d-editor > header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(12, 53, 84, .42);
}

.v2d-editor > header span {
  color: var(--v2d-plum);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.v2d-editor > header h2 {
  margin: 3px 0 0;
  font-family: var(--v2-font-editorial);
  font-size: 33px;
  font-weight: 400;
  line-height: 1.1;
}

.v2d-editor > header button {
  width: 44px;
  height: 44px;
  border: 1px solid var(--v2d-ink);
  color: var(--v2d-ink);
  background: transparent;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.v2d-editor-grid {
  display: grid;
  margin-top: 20px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
}

.v2d-editor-grid label > span:first-child {
  display: block;
  margin-bottom: 5px;
  font-size: 14px;
  font-weight: 700;
}

.v2d-editor-grid :is(input, select) {
  width: 100%;
  min-height: 48px;
  padding: 9px 11px;
  border: 1px solid rgba(12, 53, 84, .55);
  border-radius: 0;
  color: var(--v2d-ink);
  background: rgba(244, 232, 211, .52);
  font-size: 17px;
}

.v2d-editor-input {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  border: 1px solid rgba(12, 53, 84, .55);
  background: rgba(244, 232, 211, .52);
}

.v2d-editor-input :is(i, b) {
  padding: 0 10px;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
}

.v2d-editor-input input {
  border: 0;
  background: transparent;
}

.v2d-editor details {
  margin-top: 18px;
  border-top: 1px solid rgba(12, 53, 84, .32);
  border-bottom: 1px solid rgba(12, 53, 84, .32);
}

.v2d-editor details summary {
  min-height: 46px;
  padding: 11px 0;
  cursor: pointer;
}

.v2d-editor details p { margin: 0 0 14px; font-size: 14px; }

.v2d-editor > p {
  max-width: 52ch;
  margin: 20px 0;
  font-family: var(--v2-font-editorial);
  font-size: 18px;
  line-height: 1.45;
}

.v2d-editor dl {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgba(12, 53, 84, .32);
  border-bottom: 1px solid rgba(12, 53, 84, .32);
}

.v2d-editor dl div { padding: 14px; }
.v2d-editor dl div + div { border-left: 1px solid rgba(12, 53, 84, .32); }
.v2d-editor :is(dt, dd) { margin: 0; }
.v2d-editor dt { font-size: 13px; }
.v2d-editor dd { margin-top: 4px; font-family: var(--v2-font-editorial); font-size: 22px; }

.v2d-editor > footer {
  display: flex;
  margin-top: 20px;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.v2d-editor > footer button {
  min-height: 46px;
  padding: 9px 17px;
  border: 1px solid var(--v2d-ink);
  color: var(--v2d-ink);
  background: transparent;
  cursor: pointer;
}

.v2d-editor > footer .v2d-save,
.v2d-editor.is-linked > footer button:first-child {
  color: var(--v2d-paper-light);
  background: var(--v2d-ink);
}

.v2d-editor > footer .v2d-delete {
  margin-right: auto;
  border-color: var(--v2d-coral);
  color: var(--v2d-coral);
}

body.editorial-ui.v2-foundation.is-v2-debt-view > .hover-tooltip {
  max-width: 360px;
  padding: 9px 12px;
  border: 1px solid var(--v2d-ink);
  border-radius: 2px;
  color: var(--v2d-paper-light);
  background: var(--v2d-ink);
  box-shadow: none;
  font-family: var(--v2-font-interface);
  font-size: 13px;
  line-height: 1.35;
}

@media (min-width: 1180px) {
  .v2d-hero { height: 448px; min-height: 448px; }
  .v2d-workspace { grid-template-columns: 310px minmax(0, 1fr); }
  .v2d-obligation-row { grid-template-columns: 88px minmax(0, 1fr); }
  .v2d-obligation-icon { width: 88px; height: 88px; }
}

@media (max-width: 900px) {
  body.editorial-ui.v2-foundation.is-v2-debt-view .app-shell {
    width: min(100% - 24px, 820px);
  }

  .v2-debt-page,
  .v2d-hero {
    width: 100%;
    margin-left: 0;
  }

  body.editorial-ui.v2-foundation .site-header[data-profile="debt"] {
    width: 100%;
    height: auto;
    min-height: 70px;
    margin-left: 0;
    padding: 9px 4px;
    grid-template-columns: 1fr;
    gap: 7px;
  }

  body.editorial-ui.v2-foundation .site-header[data-profile="debt"] .primary-nav {
    justify-content: flex-start;
    overflow-x: auto;
    scrollbar-width: thin;
  }

  body.editorial-ui.v2-foundation .site-header[data-profile="debt"] .nav-action {
    min-height: 44px;
    padding: 8px 11px;
    font-size: 13px;
  }

  .v2d-hero { height: 390px; min-height: 390px; }
  .v2d-owe-word { left: 32%; font-size: clamp(150px, 29vw, 218px); }
  .v2d-hero-copy { top: 96px; left: 20px; width: 43%; }
  .v2d-hero-copy h1 { font-size: clamp(39px, 6.2vw, 51px); }
  .v2d-hero-copy p { font-size: 18px; }
  .v2d-summary strong { font-size: clamp(36px, 5.6vw, 48px); }

  .v2d-workspace {
    grid-template-columns: 1fr;
  }

  #v2d-collection-host {
    border-right: 0;
    border-bottom: 1px solid rgba(12, 53, 84, .62);
  }

  .v2d-collection { padding: 25px 22px; }
  .v2d-obligation-list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .v2d-obligation-row { min-height: 116px; grid-template-columns: 62px minmax(0, 1fr); gap: 11px; }
  .v2d-obligation-icon { width: 62px; height: 62px; }
  .v2d-obligation-icon svg { width: 47px; height: 47px; }
  .v2d-obligation-copy b { font-size: 24px; }
  .v2d-obligation-copy > span:not(.v2d-source-link) { font-size: 16px; }
  .v2d-add { width: min(260px, 100%); margin-top: 24px; }
}

@media (max-width: 680px) {
  body.editorial-ui.v2-foundation.is-v2-debt-view .app-shell { width: min(100% - 16px, 620px); }

  body.editorial-ui.v2-foundation .site-header[data-profile="debt"] .site-name { font-size: 16px; }
  body.editorial-ui.v2-foundation .site-header[data-profile="debt"] .nav-action[data-open-module="investing"],
  body.editorial-ui.v2-foundation .site-header[data-profile="debt"] a.nav-action { display: none; }

  .v2d-hero { height: 340px; min-height: 340px; }
  .v2d-owe-word { top: 15px; left: 28%; font-size: clamp(122px, 39vw, 170px); opacity: .82; }
  .v2d-hero-art { height: 58%; }
  .v2d-hero-art img { object-position: 58% 58%; }
  .v2d-hero-copy { top: 112px; left: 15px; width: 64%; }
  .v2d-hero-copy h1 { font-size: clamp(36px, 10.8vw, 47px); }
  .v2d-hero-copy p { margin-top: 14px; font-size: 16px; line-height: 1.34; }

  .v2d-summary {
    grid-template-columns: 1fr;
  }

  .v2d-summary article {
    min-height: 102px;
    padding: 16px;
  }

  .v2d-summary article + article::before {
    top: 0;
    right: 18px;
    bottom: auto;
    left: 18px;
    width: auto;
    height: 1px;
  }

  .v2d-summary span { font-size: 17px; }
  .v2d-summary strong { margin-top: 3px; font-size: 38px; }

  .v2d-obligation-list { grid-template-columns: 1fr; gap: 18px; }
  .v2d-obligation-row { grid-template-columns: 74px minmax(0, 1fr); min-height: 112px; }
  .v2d-obligation-icon { width: 74px; height: 74px; }
  .v2d-obligation-icon svg { width: 54px; height: 54px; }
  .v2d-main-results { padding: 20px 14px 14px; }
  .v2d-path-tabs { width: 100%; }
  .v2d-scenario-editor { grid-template-columns: 1fr; }
  .v2d-scenario-fields { grid-template-columns: 1fr; }
  .v2d-chart { margin-top: 21px; overflow-x: auto; }
  .v2d-chart > svg { width: 680px; max-width: none; }
  .v2d-result-pair { grid-template-columns: 1fr; }
  .v2d-result-pair article { min-height: 120px; }
  .v2d-result-pair strong { font-size: 46px; }
  .v2d-mechanism { padding-bottom: 76px; }
  .v2d-mechanism-body { width: 100%; grid-template-columns: 1fr; }
  .v2d-mechanism-body > b { display: none; }
  .v2d-mechanism > button { right: 17px; bottom: 16px; left: 17px; justify-content: space-between; }
  .v2d-schedule-tools { align-items: stretch; flex-direction: column; }
  .v2d-editor { padding: 18px; }
  .v2d-editor-grid,
  .v2d-editor dl { grid-template-columns: 1fr; }
  .v2d-editor dl div + div { border-top: 1px solid rgba(12, 53, 84, .32); border-left: 0; }
  .v2d-editor > footer { align-items: stretch; flex-direction: column; }
  .v2d-editor > footer .v2d-delete { width: 100%; margin-right: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .v2-debt-page *,
  .v2-debt-page *::before,
  .v2-debt-page *::after {
    scroll-behavior: auto !important;
    transition-duration: .001ms !important;
  }
}

@media print {
  body.editorial-ui.v2-foundation.is-v2-debt-view .app-shell { width: 100%; }
  .v2d-dialog { display: none; }
  .v2d-schedule:not([open]) { display: block; }
  .v2d-schedule { break-before: page; }
}
