:root {
  --gain: #6DBFA0;
  --gain-bg: rgba(109, 191, 160, 0.08);
  --neutral: var(--gold-lt);
  --neutral-bg: rgba(207, 168, 74, 0.05);
  --loss: #E07060;
  --rule: rgba(184, 150, 46, 0.25);
}

.text-gain { color: var(--gain) !important; }
.text-loss { color: var(--loss) !important; }

/* ── HEADER & LAYOUT ── */
.ill-header {
  padding: 120px 64px 60px;
  max-width: 1080px;
  margin: 0 auto;
}

.header-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-bottom: 20px;
}

.btn-print {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--navy-2);
  border: 1px solid var(--rule);
  color: var(--gold);
  padding: 10px 18px;
  border-radius: 6px;
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.btn-print:hover {
  background: var(--rule);
  color: var(--white);
}

.btn-print svg { opacity: 0.8; }

@media (max-width: 768px) {
  .ill-header {
    padding: 100px 28px 40px;
  }
  .header-flex {
    flex-direction: column;
    align-items: flex-start;
  }
}

.ill-kicker {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.ill-kicker::after {
  content: '';
  flex: 1;
  max-width: 48px;
  height: 1px;
  background: var(--gold);
  opacity: 0.5;
}

.ill-header h1 {
  font-family: var(--serif);
  font-size: clamp(32px, 4.5vw, 52px);
  font-weight: 300;
  line-height: 1.1;
  margin-bottom: 20px;
}

.ill-header h1 em {
  font-style: italic;
  color: var(--gold-lt);
}

.ill-deck {
  font-size: 18px;
  color: var(--smoke);
  max-width: 680px;
}

.main {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 64px 100px;
}

@media (max-width: 768px) {
  .main {
    padding: 0 20px 60px;
  }
}

/* ── INPUTS ── */
.inputs-panel {
  background: var(--navy-2);
  border: 1px solid var(--rule);
  border-top: 3px solid var(--gold);
  padding: 32px 40px;
  margin-bottom: 40px;
}

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

.prep-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.prep-field label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--smoke);
}

.prep-field input[type="text"] {
  width: 100%;
  border: 1px solid rgba(184, 150, 46, 0.18);
  background: rgba(7, 12, 21, 0.62);
  color: var(--white);
  padding: 12px 14px;
  border-radius: 8px;
  font: 500 14px/1.4 'DM Sans', sans-serif;
  transition: border-color 120ms ease, box-shadow 120ms ease, background 120ms ease;
}

.prep-field input[type="text"]::placeholder {
  color: rgba(138, 149, 168, 0.78);
}

.prep-field input[type="text"]:focus {
  outline: none;
  border-color: rgba(184, 150, 46, 0.45);
  box-shadow: 0 0 0 3px rgba(184, 150, 46, 0.12);
  background: rgba(9, 15, 26, 0.78);
}

@media (max-width: 768px) {
  .prep-field {
    gap: 6px;
  }

  .prep-field label {
    font-size: 9px;
    letter-spacing: 0.08em;
  }

  .prep-field input[type="text"] {
    font-size: 16px;
    padding: 11px 12px;
  }

  .prep-field input[type="text"]::placeholder {
    font-size: 12px;
    letter-spacing: 0.01em;
  }
}

.panel-title {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 0;
}

.panel-head {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) max-content;
  align-items: end;
  column-gap: 20px;
  min-height: 30px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 32px;
}

.panel-head .panel-title {
  grid-column: 1;
}

.panel-note {
  display: none;
}

.underwriting-box {
  position: relative;
  grid-column: 2;
  align-self: end;
  justify-self: stretch;
  width: 100%;
  min-height: 22px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  color: #9FD3B8;
  visibility: hidden;
  opacity: 0;
  transition: opacity 160ms ease;
}

.underwriting-box.visible {
  visibility: visible;
  opacity: 1;
}

.underwriting-box.is-green {
  color: #9FD3B8;
}

.underwriting-box.is-yellow {
  color: #D9BE6B;
}

.underwriting-box.is-red {
  color: #D88F87;
}

.uw-inline {
  display: inline-block;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.04em;
  line-height: 1;
  white-space: nowrap;
}

.uw-signal-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: currentColor;
  color: inherit;
  text-decoration: none;
  appearance: none;
  cursor: pointer;
  transition: transform 120ms ease, box-shadow 120ms ease, opacity 120ms ease;
  box-shadow: 0 0 0 4px transparent;
}

.uw-signal-trigger:visited {
  color: inherit;
}

.underwriting-box.is-green .uw-signal-trigger {
  box-shadow: 0 0 0 4px rgba(159, 211, 184, 0.16);
}

.underwriting-box.is-yellow .uw-signal-trigger {
  box-shadow: 0 0 0 4px rgba(217, 190, 107, 0.16);
}

.underwriting-box.is-red .uw-signal-trigger {
  box-shadow: 0 0 0 4px rgba(216, 143, 135, 0.16);
}

.uw-signal-trigger:hover,
.uw-signal-trigger:focus-visible {
  transform: scale(1.05);
  outline: none;
  opacity: 0.95;
}

.uw-popover {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 240px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-top: 2px solid transparent;
  background: rgba(11, 18, 30, 0.97);
  color: #d6deea;
  font-size: 10px;
  line-height: 1.5;
  text-align: left;
  box-shadow: 0 16px 32px rgba(3, 8, 14, 0.32);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity 140ms ease, transform 140ms ease, visibility 140ms ease;
  pointer-events: none;
  z-index: 10;
}

.uw-popover-link {
  display: block;
  color: #d6deea;
  text-decoration: none;
  cursor: pointer;
}

.uw-popover-link:hover,
.uw-popover-link:focus-visible {
  color: #ffffff;
  outline: none;
}

.underwriting-box.is-green .uw-popover {
  border-top-color: #9FD3B8;
}

.underwriting-box.is-yellow .uw-popover {
  border-top-color: #D9BE6B;
}

.underwriting-box.is-red .uw-popover {
  border-top-color: #D88F87;
}

.uw-signal-trigger:focus-visible + .uw-popover,
.underwriting-box.is-open .uw-popover {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

@media (hover: hover) and (pointer: fine) {
  .underwriting-box:hover .uw-popover {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }
}

@media (max-width: 900px) {
  .prep-grid {
    grid-template-columns: 1fr;
  }

  .panel-head {
    grid-template-columns: 1fr;
    row-gap: 10px;
  }

  .underwriting-box {
    grid-column: 1;
    justify-self: start;
    justify-content: flex-start;
    min-height: 24px;
    align-items: center;
  }

  .uw-inline {
    font-size: 9px;
    letter-spacing: 0.03em;
    line-height: 1.2;
    max-width: none;
    text-align: left;
  }

  .uw-signal-trigger {
    width: 16px;
    height: 16px;
    margin-top: 2px;
  }

  .uw-popover {
    width: 220px;
  }
}

.inputs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem 2rem;
}

@media (max-width: 900px) {
  .inputs-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .inputs-grid {
    grid-template-columns: 1fr;
  }
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.field label {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--smoke);
  text-transform: uppercase;
}

.field input[type="range"] {
  appearance: none;
  width: 100%;
  height: 4px;
  background: rgba(184, 150, 46, 0.15);
  border-radius: 2px;
  outline: none;
}

.field input[type="range"]::-webkit-slider-thumb {
  appearance: none;
  width: 16px;
  height: 16px;
  background: var(--gold);
  border: 2px solid var(--navy);
  border-radius: 50%;
  cursor: pointer;
  transition: transform 0.1s, background 0.1s;
}

.field input[type="range"]::-webkit-slider-thumb:hover {
  background: var(--gold-lt);
  transform: scale(1.1);
}

.field .value-display {
  font-family: var(--mono);
  font-size: 1rem;
  font-weight: 500;
  color: var(--white);
}

.field-note {
  font-size: 0.74rem;
  line-height: 1.5;
  color: rgba(138, 149, 168, 0.85);
}

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

.toggle-btn {
  appearance: none;
  border: 1px solid var(--rule);
  background: transparent;
  color: var(--smoke);
  padding: 10px 12px;
  border-radius: 6px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s ease;
}

.toggle-btn:hover {
  border-color: rgba(207, 168, 74, 0.5);
  color: var(--white);
}

.toggle-btn.active {
  background: rgba(184, 150, 46, 0.12);
  border-color: rgba(184, 150, 46, 0.35);
  color: var(--gold);
}

/* ── STRIKE STRIP ── */
/* ── STRIKE STRIP ── */
.strike-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 3rem;
  padding: 0 0 2rem;
  border-bottom: 1px solid var(--rule);
  row-gap: 1.5rem;
}

.strike-cell {
  background: none;
  padding: 0 10px;
  text-align: center;
  box-sizing: border-box;
}

/* Force 5-wide then 3/2 stack */
.strike-strip[data-len="5"] .strike-cell { flex: 0 0 20%; }
@media (max-width: 900px) { 
  .strike-strip[data-len="5"] .strike-cell { flex: 0 0 33.333%; } 
}

/* Force 6-wide then 3/3 stack */
.strike-strip[data-len="6"] .strike-cell { flex: 0 0 16.666%; }
@media (max-width: 980px) {
  .strike-strip[data-len="6"] .strike-cell { flex: 0 0 33.333%; }
}

/* Force 4-wide then 2/2 stack */
.strike-strip[data-len="4"] .strike-cell { flex: 0 0 25%; }
@media (max-width: 800px) { 
  .strike-strip[data-len="4"] .strike-cell { flex: 0 0 50%; } 
}

/* Force 3-wide (no wrap unless absolute mobile) */
.strike-strip[data-len="3"] .strike-cell { flex: 0 0 33.333%; }

/* Always horizontal for 2 / 1 */
.strike-strip[data-len="2"] .strike-cell { flex: 0 0 50%; }
.strike-strip[data-len="1"] .strike-cell { flex: 0 0 100%; }

@media (max-width: 500px) {
  .sc-value { font-size: 1.1rem; }
  .sc-label { font-size: 9px; }
  .sc-sub { font-size: 0.65rem; }
}

.sc-label {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--smoke);
  text-transform: uppercase;
  margin-bottom: 8px;
  white-space: nowrap;
}

.sc-row {
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 8px;
  margin-top: 4px;
}

.sc-tag {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--smoke);
  text-transform: lowercase;
  white-space: nowrap;
}

.sc-num {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--gold-lt);
  white-space: nowrap;
}

.sc-sub {
  font-size: 0.75rem;
  color: rgba(138, 149, 168, 0.6);
  font-style: italic;
  margin-top: 8px;
}

/* ── YEAR TABS ── */
.year-tabs {
  display: flex;
  border-bottom: 2px solid var(--rule);
}

.year-tab {
  padding: 12px 32px;
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  cursor: pointer;
  background: transparent;
  border: 1px solid transparent;
  border-bottom: none;
  color: var(--smoke);
  margin-bottom: -2px;
  transition: all 0.2s;
}

.year-tab.active {
  background: var(--navy-3);
  color: var(--gold);
  border-color: var(--rule);
  border-bottom-color: var(--navy-3);
}

@media (max-width: 600px) {
  .year-tab {
    padding: 12px 16px;
    font-size: 10px;
    flex: 1;
  }
}

/* ── PANELS ── */
.scenario-panel {
  border: 1px solid var(--rule);
  border-top: none;
  background: var(--navy-3);
  padding: 32px 40px;
  margin-bottom: 40px;
}

@media (max-width: 768px) {
  .scenario-panel {
    padding: 24px 20px;
  }
}

.sp-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--rule);
  flex-wrap: wrap;
}

.sp-title {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-style: italic;
}

.sp-strike-badge {
  font-family: var(--mono);
  font-size: 11px;
  background: rgba(184, 150, 46, 0.12);
  color: var(--gold);
  border: 1px solid rgba(184, 150, 46, 0.3);
  padding: 6px 14px;
}

.scenario-subhead {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 14px;
}

/* ── OUTCOME GRID ── */
.outcome-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-bottom: 2.5rem;
}

@media (max-width: 1000px) {
  .outcome-grid {
    grid-template-columns: 1fr;
  }
}

.outcome-card {
  background: var(--navy-2);
  border: 1px solid var(--rule);
  padding: 24px;
  display: flex;
  flex-direction: column;
}

.outcome-card.oc-bg-gain {
  background: var(--gain-bg);
  border-color: var(--gain);
}

.oc-scenario {
  font-family: var(--mono);
  font-size: 9px;
  text-transform: uppercase;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.oc-scenario::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--smoke);
}

.oc-scenario.gain { color: var(--gain); }
.oc-scenario.gain::before { background: var(--gain); }

.oc-scenario.loss { color: var(--loss); }
.oc-scenario.loss::before { background: var(--loss); }

.oc-scenario.neutral { color: var(--neutral); }
.oc-scenario.neutral::before { background: var(--neutral); }

.oc-action {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 500;
  line-height: 1.3;
  margin-bottom: 20px;
}

.oc-math {
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.6;
  color: var(--smoke);
  margin: 16px 0;
  border-top: 1px solid var(--rule);
  padding-top: 16px;
}

.oc-total {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 600;
}

.oc-total.gain { color: var(--gain); }
.oc-total.loss { color: var(--loss); }
.oc-total.neutral { color: var(--neutral); }

.oc-total-label {
  font-family: var(--mono);
  font-size: 9px;
  text-transform: uppercase;
  color: var(--smoke);
  margin-top: 4px;
}

.scenario-copy {
  margin: 0 0 2rem;
  padding: 22px 24px;
  border: 1px solid rgba(184, 150, 46, 0.18);
  background: rgba(7, 12, 21, 0.48);
}

.scenario-copy p {
  margin: 0;
  color: rgba(214, 222, 233, 0.92);
  font-size: 14px;
  line-height: 1.75;
}

.scenario-copy p + p {
  margin-top: 12px;
}

/* ── CHART ── */
.curve-label {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--smoke);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.chart-wrap {
  position: relative;
  width: 100%;
  height: 240px;
  border-left: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  overflow: hidden;
}

canvas#payoffChart {
  width: 100%;
  height: 100%;
}

.chart-axis-x {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0 0;
  font-family: var(--mono);
  font-size: 10px;
  color: var(--smoke);
}

.chart-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  margin-top: 12px;
  font-family: var(--mono);
  font-size: 10px;
  color: var(--smoke);
}

.chart-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.chart-swatch {
  width: 18px;
  height: 2px;
  display: inline-block;
  background: currentColor;
}

.chart-swatch-seller { color: #cfa84a; }
.chart-swatch-buyer { color: #8fb0dc; }
.chart-swatch-cash { color: rgba(138, 149, 168, 0.9); }
.chart-swatch-anchor { color: rgba(184, 150, 46, 0.85); }

/* ── SENS TABLE ── */
.sens-summary {
  display: flex;
  align-items: center;
  gap: 12px;
  list-style: none;
  cursor: pointer;
  user-select: none;
  margin-top: 60px;
  margin-bottom: 0;
}

.sens-summary::-webkit-details-marker {
  display: none;
}

.sens-summary::marker {
  display: none;
}

.sens-section[open] .sens-summary {
  margin-bottom: 24px;
}

.sens-summary:focus-visible {
  outline: none;
}

.sens-summary:focus-visible .sens-title {
  text-decoration-color: currentColor;
}

.sens-chevron {
  width: 9px;
  height: 9px;
  flex: 0 0 auto;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  color: var(--gold);
  transform: rotate(-45deg);
  transition: transform 140ms ease;
  margin-top: -1px;
}

.sens-section[open] .sens-chevron {
  transform: rotate(45deg);
}

.sens-title {
  display: inline-block;
  font-family: var(--mono);
  font-size: 14.3px;
  font-weight: 400;
  line-height: 1.2;
  color: var(--gold);
  text-transform: uppercase;
  text-decoration-line: underline;
  text-decoration-style: dashed;
  text-decoration-color: transparent;
  text-underline-offset: 0.22em;
  transition: text-decoration-color 120ms ease;
  margin: 0;
}

.sens-summary:hover .sens-title,
.sens-title:hover {
  text-decoration-color: currentColor;
}

.sens-table-wrap {
  border: 0;
  padding: 0;
  margin-bottom: 40px;
}

.sens-body {
  min-width: 0;
}

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

.glossary-item {
  padding: 18px 18px 16px;
  border: 1px solid var(--rule);
  background: rgba(9, 15, 26, 0.48);
}

.glossary-item-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.glossary-item-title {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}

.glossary-item-value {
  flex: 0 0 auto;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--white);
  text-align: right;
}

.glossary-item p {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: rgba(214, 222, 233, 0.92);
}

.glossary-item-meta {
  margin-top: 10px !important;
  font-size: 11px !important;
  color: rgba(138, 149, 168, 0.9) !important;
}

.sens-scroll {
  overflow-x: auto;
  margin: 0 -20px 0;
  padding: 0 20px;
}

.sens-footnote {
  font-size: 11px;
  line-height: 1.5;
  color: #8A95A8;
  margin-top: 10px;
}

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

  .sens-scroll {
    margin: 0;
    padding: 0;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
  }

  .sens-table {
    width: max-content;
    min-width: 100%;
  }

  .sens-table th,
  .sens-table td {
    white-space: nowrap;
  }

  .sens-table th:first-child,
  .sens-table td:first-child {
    box-shadow: 12px 0 18px -14px rgba(4, 8, 14, 0.95);
  }
}

@media (min-width: 769px) {
  .sens-scroll {
    margin: 0;
    padding: 0;
  }
}

.sens-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 11px;
}

.sens-table th {
  font-family: var(--mono);
  font-size: 9px;
  color: var(--smoke);
  text-transform: uppercase;
  padding: 16px 12px;
  text-align: right;
  border-bottom: 1px solid var(--rule);
  white-space: nowrap;
}

.sens-table th:first-child {
  text-align: left;
  position: sticky;
  left: 0;
  background: var(--navy);
  z-index: 2;
}

.sens-table td {
  padding: 14px 12px;
  text-align: right;
  color: var(--mist);
  border-bottom: 1px solid rgba(184, 150, 46, 0.05);
}

.sens-table td:first-child {
  text-align: left;
  font-family: var(--mono);
  color: var(--gold-lt);
  position: sticky;
  left: 0;
  background: var(--navy);
  z-index: 2;
}

.td-gain { color: var(--gain) !important; font-weight: 500; }
.td-loss { color: var(--loss) !important; }
.td-active {
  background: rgba(184, 150, 46, 0.12) !important;
  color: var(--gold) !important;
  font-weight: 500;
}

/* ── OTHERS ── */
.footnote {
  border-top: 1px solid var(--rule);
  padding-top: 24px;
  margin-top: 60px;
  font-size: 0.85rem;
  color: var(--smoke);
  font-style: italic;
  line-height: 1.8;
}

.disclaimer {
  background: var(--navy-2);
  border-left: 3px solid var(--gold);
  padding: 20px 28px;
  font-size: 0.85rem;
  color: var(--smoke);
  font-style: italic;
  line-height: 1.8;
  margin-top: 40px;
}

.print-only-report { display: none; }

/* ── PAGED PRINT REPORT ── */
@media print {
  @page { margin: 0; size: letter portrait; }

  html, body {
    overflow: visible !important;
    height: auto !important;
    margin: 0 !important;
    background: #fff !important;
    color: #172033 !important;
    font-family: 'DM Sans', sans-serif !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  .print-hidden { display: none !important; }
  #printReport { display: block !important; }

  #printReport,
  #printReport * {
    box-sizing: border-box;
  }

  .report-page {
    page-break-after: auto;
  }

  .report-page + .report-page {
    page-break-before: always;
  }

  .report-shell {
    padding: 0.5in;
  }

  .report-page-summary .report-shell {
    padding: 0.42in 0.45in 0.36in;
  }

  .report-page-summary .print-header {
    gap: 18px;
    padding-bottom: 12px;
    margin-bottom: 20px;
  }

  .report-page-summary .print-logo {
    margin-bottom: 10px;
  }

  .report-page-summary .print-title {
    font-size: 25px;
    margin-bottom: 6px;
  }

  .report-page-summary .print-subtitle {
    font-size: 10px;
    line-height: 1.45;
  }

  .report-page-summary .report-meta {
    min-width: 2.15in;
    padding-left: 14px;
  }

  .report-page-summary .report-meta-row {
    padding: 5px 0;
    font-size: 8px;
  }

  .report-page-summary .report-meta-row strong {
    font-size: 10px;
  }

  .report-page-summary .report-card-grid {
    gap: 10px;
    margin-bottom: 20px;
  }

  .report-page-summary .report-card {
    padding: 12px 14px 13px;
  }

  .report-page-summary .report-card-label {
    margin-bottom: 8px;
  }

  .report-page-summary .report-card-value {
    font-size: 21px;
  }

  .report-page-summary .report-card-note {
    margin-top: 6px;
    font-size: 9px;
    line-height: 1.4;
  }

  .report-page-summary .print-section {
    margin-bottom: 18px;
  }

  .report-page-summary .print-section-title {
    padding-bottom: 7px;
    margin-bottom: 10px;
  }

  .report-page-summary .print-grid-3 {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 8px;
  }

  .report-page-summary .p-field {
    padding: 8px 10px;
  }

  .report-page-summary .p-field-label {
    font-size: 7px;
    letter-spacing: 0.1em;
    margin-bottom: 5px;
  }

  .report-page-summary .p-field-value {
    font-size: 12px;
    line-height: 1.3;
  }

  .report-page-summary .report-callout {
    padding: 14px 16px;
  }

  .report-page-summary .report-callout p {
    font-size: 10px;
    line-height: 1.5;
  }

  .report-page-summary .report-callout-grid {
    gap: 8px;
    margin-top: 10px;
  }

  .report-page-summary .report-callout-stat {
    padding-top: 8px;
  }

  .report-page-summary .report-callout-stat strong {
    font-size: 12px;
  }

  .report-page-summary .report-page-footer {
    margin-top: 14px;
    padding-top: 8px;
    font-size: 8px;
  }

  .print-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px;
    border-bottom: 2px solid #1f2a44;
    padding-bottom: 16px;
    margin-bottom: 28px;
  }

  .print-brand {
    max-width: 65%;
  }

  .print-logo {
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 0.18em;
    color: #816622;
    text-transform: uppercase;
    margin-bottom: 12px;
  }

  .print-title {
    font-family: var(--serif);
    font-size: 28px;
    font-weight: 500;
    line-height: 1.05;
    margin: 0 0 8px;
    color: #172033;
  }

  .print-subtitle {
    font-size: 11px;
    line-height: 1.6;
    color: #58647a;
    max-width: 36em;
  }

  .report-meta {
    min-width: 2.3in;
    border-left: 1px solid #d9dfe8;
    padding-left: 18px;
  }

  .report-meta-row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 7px 0;
    border-bottom: 1px solid #eef1f5;
    font-family: var(--mono);
    font-size: 9px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #718096;
  }

  .report-meta-row strong {
    font-size: 11px;
    letter-spacing: 0;
    color: #172033;
  }

  .report-card-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 28px;
  }

  .report-card {
    padding: 14px 16px 16px;
    border: 1px solid #dde3ec;
    border-top: 3px solid #1f2a44;
    background: #fff;
  }

  .report-card-label {
    font-family: var(--mono);
    font-size: 8px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #718096;
    margin-bottom: 10px;
  }

  .report-card-value {
    font-family: var(--serif);
    font-size: 23px;
    font-weight: 600;
    line-height: 1.05;
    color: #172033;
  }

  .report-card-note {
    margin-top: 8px;
    font-size: 10px;
    line-height: 1.5;
    color: #58647a;
  }

  .print-section {
    margin-bottom: 24px;
  }

  .print-section-title {
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #816622;
    border-bottom: 1px solid #d9dfe8;
    padding-bottom: 8px;
    margin-bottom: 12px;
  }

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

  .p-field {
    padding: 10px 12px;
    border: 1px solid #e5e9f0;
    background: #fafbfc;
  }

  .p-field-label {
    font-family: var(--mono);
    font-size: 8px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #718096;
    margin-bottom: 6px;
  }

  .p-field-value {
    font-size: 14px;
    font-weight: 600;
    color: #172033;
  }

  .report-callout {
    padding: 16px 18px;
    border: 1px solid #d7dee8;
    background: linear-gradient(180deg, #fafbfd 0%, #f3f6fa 100%);
  }

  .report-callout p {
    margin: 0;
    font-size: 11px;
    line-height: 1.6;
    color: #25324a;
  }

  .report-callout-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin-top: 12px;
  }

  .report-callout-stat {
    padding-top: 10px;
    border-top: 1px solid #dbe2eb;
  }

  .report-callout-stat span {
    display: block;
    font-family: var(--mono);
    font-size: 8px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #718096;
    margin-bottom: 5px;
  }

  .report-callout-stat strong {
    font-size: 13px;
    color: #172033;
  }

  .print-grid-schedule {
    display: grid;
    grid-template-columns: repeat(var(--print-schedule-columns, 5), minmax(0, 1fr));
    gap: 10px;
  }

  .p-strike-cell {
    padding: 12px;
    border: 1px solid #dce2eb;
    background: #fff;
  }

  .p-strike-yr {
    font-family: var(--mono);
    font-size: 8px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #718096;
    margin-bottom: 8px;
  }

  .p-strike-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    font-size: 10px;
    padding: 4px 0;
    border-top: 1px solid #eff3f7;
  }

  .p-strike-row:first-of-type {
    padding-top: 0;
    border-top: none;
  }

  .p-strike-row span {
    color: #718096;
    white-space: nowrap;
  }

  .p-strike-row strong {
    color: #172033;
    white-space: nowrap;
  }

  .print-grid-schedule[data-columns="5"] {
    gap: 8px;
  }

  .print-grid-schedule[data-columns="5"] .p-strike-cell {
    padding: 10px 8px;
  }

  .print-grid-schedule[data-columns="5"] .p-strike-yr {
    font-size: 7px;
    letter-spacing: 0.1em;
    margin-bottom: 6px;
  }

  .print-grid-schedule[data-columns="5"] .p-strike-row {
    gap: 6px;
    font-size: 9px;
    padding: 3px 0;
  }

  .print-outcome-wrap {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
  }

  .p-outcome-card {
    padding: 16px 16px 18px;
    border: 1px solid #dce2eb;
    background: #fff;
  }

  .p-outcome-card[data-tone="exercise"] { border-top: 3px solid #1f2a44; }
  .p-outcome-card[data-tone="hold"] { border-top: 3px solid #816622; }
  .p-outcome-card[data-tone="share"] { border-top: 3px solid #4e6b5d; }

  .p-oc-label {
    font-family: var(--mono);
    font-size: 8px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #718096;
    margin-bottom: 8px;
  }

  .p-oc-title {
    font-family: var(--serif);
    font-size: 18px;
    line-height: 1.1;
    color: #172033;
    margin-bottom: 10px;
  }

  .p-oc-amount {
    font-family: var(--serif);
    font-size: 26px;
    font-weight: 600;
    line-height: 1;
    color: #172033;
    margin-bottom: 8px;
  }

  .p-oc-copy {
    font-size: 10px;
    line-height: 1.5;
    color: #58647a;
  }

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

  .report-note {
    padding: 12px 14px;
    border: 1px solid #e5e9f0;
    background: #fafbfc;
    font-size: 10px;
    line-height: 1.5;
    color: #58647a;
  }

  .report-note strong {
    display: block;
    margin-bottom: 6px;
    font-family: var(--mono);
    font-size: 8px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #718096;
  }

  .print-sens-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
  }

  .print-sens-table thead {
    display: table-header-group;
  }

  .print-sens-table tbody {
    display: table-row-group;
  }

  .print-sens-table tr {
    break-inside: avoid;
    page-break-inside: avoid;
  }

  .print-sens-table th,
  .print-sens-table td {
    padding: 7px 6px;
    border: 1px solid #dfe5ed;
    font-size: 8.5px;
    text-align: right;
    vertical-align: middle;
  }

  .print-sens-table th {
    background: #f3f5f8 !important;
    color: #5c697d;
    font-family: var(--mono);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: normal;
    line-height: 1.35;
    text-align: center;
  }

  .print-sens-table .th-subline {
    display: block;
    margin-top: 2px;
    font-size: 0.9em;
    letter-spacing: 0.04em;
  }

  .print-sens-table td:first-child {
    text-align: left;
    font-family: var(--mono);
    color: #172033;
    background: #fbfcfd !important;
  }

  .print-sens-table .td-gain {
    color: #1e5f43 !important;
    font-weight: 600;
  }

  .print-sens-table .td-loss {
    color: #8b3a30 !important;
  }

  .print-sens-table .td-neutral {
    color: #58647a !important;
    font-weight: 600;
  }

  .report-footnote {
    font-size: 9px;
    line-height: 1.5;
    color: #6b778b;
    margin-top: 12px;
  }

  .report-page-tables .print-section {
    margin-bottom: 18px;
  }

  .report-page-tables .print-section-title {
    margin-bottom: 10px;
  }

  .report-page-tables .print-sens-table th,
  .report-page-tables .print-sens-table td {
    padding: 5px 4px;
    font-size: 7.75px;
  }

  .report-page-tables .print-sens-table th {
    padding-top: 6px;
    padding-bottom: 6px;
    font-size: 7.2px;
    letter-spacing: 0.05em;
  }

  .report-page-tables .report-footnote {
    margin-top: 8px;
    font-size: 8px;
  }

  .report-page-glossary .print-section {
    margin-bottom: 0;
  }

  .print-glossary-intro {
    margin: 0 0 14px;
    font-size: 10px;
    line-height: 1.55;
    color: #58647a;
    max-width: 6.6in;
  }

  .print-glossary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .print-glossary-item {
    padding: 12px 12px 11px;
    border-color: #dde3ec;
    background: #fff;
  }

  .print-glossary-item .glossary-item-head {
    margin-bottom: 7px;
    gap: 10px;
  }

  .print-glossary-item .glossary-item-title {
    font-size: 8px;
    letter-spacing: 0.13em;
    color: #816622;
  }

  .print-glossary-item .glossary-item-value {
    font-size: 10px;
    color: #172033;
  }

  .print-glossary-item p {
    font-size: 9px;
    line-height: 1.45;
    color: #3f4d63;
  }

  .print-glossary-item .glossary-item-meta {
    margin-top: 7px !important;
    font-size: 7.75px !important;
    line-height: 1.45 !important;
    color: #6b778b !important;
  }

  .report-page-glossary .report-footnote {
    margin-top: 10px;
    font-size: 8px;
  }

  .report-page-footer {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 18px;
    padding-top: 10px;
    border-top: 1px solid #d9dfe8;
    font-size: 9px;
    color: #8894a7;
  }

  .print-grid-3 > *,
  .report-card,
  .report-callout,
  .p-strike-cell,
  .p-outcome-card,
  .report-note {
    break-inside: avoid;
    page-break-inside: avoid;
  }
}
