/* ==========================================================================
   DC Calculators — Rental ROI
   Mobile-first, BEM, CSS variables, no framework dependency.
   ========================================================================== */

.dc-roi {
    --dc-ink: #101828;
    --dc-ink-soft: #475467;
    --dc-line: #E4E7EC;
    --dc-surface: #FFFFFF;
    --dc-bg: #F8FAF9;
    --dc-green: #0F7A5C;
    --dc-green-dark: #0B5E46;
    --dc-green-tint: #E7F5F0;
    --dc-amber: #C9862B;
    --dc-amber-tint: #FBF0E0;
    --dc-red: #C2483A;
    --dc-red-tint: #FBEAE7;
    --dc-radius: 10px;
    --dc-shadow: 0 1px 2px rgba(16,24,40,.06), 0 2px 8px rgba(16,24,40,.05);
    --dc-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --dc-font-num: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;

    box-sizing: border-box;
    font-family: var(--dc-font);
    color: var(--dc-ink);
    background: var(--dc-bg);
    border: 1px solid var(--dc-line);
    border-radius: 16px;
    padding: 20px;
    max-width: 720px;
    margin: 0 auto;
}
.dc-roi *, .dc-roi *::before, .dc-roi *::after { box-sizing: border-box; }

/* ---- Head ---- */
.dc-roi__head { margin-bottom: 18px; }
.dc-roi__title { font-size: 1.375rem; font-weight: 700; margin: 0 0 4px; letter-spacing: -.01em; }
.dc-roi__subtitle { margin: 0; color: var(--dc-ink-soft); font-size: .9375rem; }

/* ---- Progress ---- */
.dc-roi__progress { margin-bottom: 22px; }
.dc-roi__progress-bar {
    height: 4px;
    background: var(--dc-line);
    border-radius: 4px;
    position: relative;
    overflow: hidden;
    margin-bottom: 14px;
}
.dc-roi__progress-bar::after {
    content: "";
    position: absolute;
    inset: 0 80% 0 0;
    background: var(--dc-green);
    border-radius: 4px;
    transition: right .25s ease;
}
.dc-roi__steps {
    display: flex;
    justify-content: space-between;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 4px;
}
.dc-roi__step-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: .75rem;
    color: var(--dc-ink-soft);
    font-weight: 600;
    flex: 1;
    min-width: 0;
}
.dc-roi__step-num {
    width: 20px;
    height: 20px;
    flex: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--dc-surface);
    border: 1.5px solid var(--dc-line);
    font-size: .6875rem;
}
.dc-roi__step-label.is-active { color: var(--dc-ink); }
.dc-roi__step-label.is-active .dc-roi__step-num { border-color: var(--dc-green); color: var(--dc-green); }
.dc-roi__step-label.is-complete .dc-roi__step-num { background: var(--dc-green); border-color: var(--dc-green); color: #fff; }
.dc-roi__step-name { display: none; }

@media (min-width: 560px) {
    .dc-roi__step-name { display: inline; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
}

.dc-roi__form { transition: height .25s ease; overflow: hidden; contain: paint; }
.dc-roi__form.is-measuring { transition: none; }

/* ---- Panels ---- */
.dc-roi__panel { border: 0; margin: 0; padding: 0; display: none; animation: dc-fade .2s ease; }
.dc-roi__panel.is-active { display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 560px) {
    .dc-roi__panel.is-active { grid-template-columns: 1fr 1fr; column-gap: 14px; }
}
.dc-roi__panel-title { font-size: 1.0625rem; font-weight: 700; margin-bottom: 4px; grid-column: 1 / -1; padding: 0; }
.dc-roi__panel-hint { grid-column: 1 / -1; margin: -6px 0 4px; color: var(--dc-ink-soft); font-size: .8125rem; }

@keyframes dc-fade { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: translateY(0); } }

/* ---- Fields ---- */
.dc-roi__field { display: flex; flex-direction: column; gap: 6px; }
.dc-roi__field--full { grid-column: 1 / -1; }
/* The class rule above has equal specificity to (and comes after) the UA
   stylesheet's [hidden]{display:none} rule, so it silently wins and a
   hidden .dc-roi__field would still render (this was the Task 1 bug: the
   Leap Year field never actually hid). This restores `hidden` as an
   authoritative "don't render, reserve no space" signal for any field. */
.dc-roi__field[hidden] { display: none; }
.dc-roi__field label { font-size: .8125rem; font-weight: 600; color: var(--dc-ink-soft); }
.dc-roi__unit { font-weight: 400; color: #98A2B3; }

.dc-roi__field input,
.dc-roi__field select {
    font-family: var(--dc-font);
    font-size: .9375rem;
    padding: 10px 12px;
    border: 1.5px solid var(--dc-line);
    border-radius: var(--dc-radius);
    background: var(--dc-surface);
    color: var(--dc-ink);
    width: 100%;
    transition: border-color .15s ease, box-shadow .15s ease;
}
.dc-roi__field input:focus,
.dc-roi__field select:focus {
    outline: none;
    border-color: var(--dc-green);
    box-shadow: 0 0 0 3px var(--dc-green-tint);
}
.dc-roi__field input.is-invalid { border-color: var(--dc-red); box-shadow: 0 0 0 3px var(--dc-red-tint); }
.dc-roi__field input[data-dc-estimate-applied] { background: var(--dc-green-tint); }

/* Native <select> arrows sit flush against the padding-box edge, which
   with only the shared 12px input padding looks cramped against the
   border. Draw our own chevron with real clearance instead. */
.dc-roi__field select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding-right: 38px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23475467' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
}

.dc-roi__prefix {
    display: flex;
    align-items: center;
    border: 1.5px solid var(--dc-line);
    border-radius: var(--dc-radius);
    background: var(--dc-surface);
    overflow: hidden;
}
.dc-roi__prefix:focus-within { border-color: var(--dc-green); box-shadow: 0 0 0 3px var(--dc-green-tint); }
.dc-roi__prefix.is-invalid,
.dc-roi__prefix.is-invalid:focus-within { border-color: var(--dc-red); box-shadow: 0 0 0 3px var(--dc-red-tint); }
.dc-roi__prefix span { padding: 0 10px; color: #98A2B3; font-size: .875rem; flex: none; }
.dc-roi__prefix input { border: 0; box-shadow: none !important; }
.dc-roi__prefix span + input { padding-left: 0; }
.dc-roi__prefix input:focus { box-shadow: none; }

.dc-roi__hint { font-size: .75rem; color: #98A2B3; margin: 0; }
.dc-roi__required { color: var(--dc-red); font-weight: 700; }
.dc-roi__error { display: none; font-size: .75rem; color: var(--dc-red); margin: 0; }
.dc-roi__error.is-visible { display: block; }

.dc-roi__autocomplete-wrap { position: relative; }
.dc-roi__suggestions {
    position: absolute;
    z-index: 20;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    margin: 0;
    padding: 6px;
    list-style: none;
    background: var(--dc-surface);
    border: 1.5px solid var(--dc-line);
    border-radius: var(--dc-radius);
    box-shadow: var(--dc-shadow);
    max-height: 220px;
    overflow-y: auto;
}
.dc-roi__suggestions[hidden] { display: none; }
.dc-roi__suggestions li {
    padding: 8px 10px;
    border-radius: 6px;
    font-size: .875rem;
    cursor: pointer;
}
.dc-roi__suggestions li:hover,
.dc-roi__suggestions li.is-active {
    background: var(--dc-green-tint);
    color: var(--dc-green-dark);
}

/* ---- Toggle ---- */
.dc-roi__toggle { display: flex; gap: 8px; }
.dc-roi__toggle-btn {
    flex: 1;
    padding: 10px 12px;
    border: 1.5px solid var(--dc-line);
    background: var(--dc-surface);
    border-radius: var(--dc-radius);
    font-family: var(--dc-font);
    font-size: .875rem;
    font-weight: 600;
    color: var(--dc-ink-soft);
    cursor: pointer;
    transition: all .15s ease;
}
.dc-roi__toggle-btn.is-active { border-color: var(--dc-green); color: var(--dc-green-dark); background: var(--dc-green-tint); }
.dc-roi__financing-fields { display: contents; }
.dc-roi__financing-fields[hidden] { display: none; }

/* ---- Nav ---- */
.dc-roi__nav { display: flex; justify-content: space-between; gap: 10px; margin-top: 22px; }
.dc-roi__btn {
    font-family: var(--dc-font);
    font-size: .9375rem;
    font-weight: 700;
    padding: 11px 22px;
    border-radius: var(--dc-radius);
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: transform .1s ease, opacity .15s ease;
}
.dc-roi__btn:active { transform: scale(.97); }
.dc-roi__btn--primary { background: var(--dc-green); color: #fff; margin-left: auto; }
.dc-roi__btn--primary:hover { background: var(--dc-green-dark); }
.dc-roi__btn--ghost { background: transparent; border-color: var(--dc-line); color: var(--dc-ink-soft); }
.dc-roi__btn:disabled { opacity: .4; cursor: not-allowed; }

/* ---- PDF export ---- */
.dc-roi__pdf-export {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-top: 4px;
}
.dc-roi__btn--pdf {
    background: var(--dc-amber-tint);
    border-color: var(--dc-amber);
    color: #8A5A1E;
    width: 100%;
    max-width: 360px;
    transition: background .15s ease, color .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.dc-roi__btn--pdf:hover:not(:disabled) {
    background: var(--dc-amber);
    border-color: var(--dc-amber);
    color: #fff;
    box-shadow: 0 4px 14px rgba(201, 134, 43, .38);
}
.dc-roi__btn--pdf:disabled { opacity: .6; cursor: wait; }
.dc-roi__pdf-export .dc-roi__error { text-align: center; }

/* ---- Results ----
   Mirrors the 2-column pattern the other steps use: on desktop the score
   card sits beside the metrics instead of stacking above them, so the
   Results step isn't dramatically longer than Property/Financing/etc. */
.dc-roi__results {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    width: 100%;
    min-width: 0;
}
@media (min-width: 560px) {
    .dc-roi__results { grid-template-columns: minmax(0, 200px) minmax(0, 1fr); align-items: start; gap: 20px; }
    .dc-roi__chart-wrap,
    .dc-roi__disclaimer { grid-column: 1 / -1; }
}

.dc-roi__score {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: var(--dc-surface);
    border: 1px solid var(--dc-line);
    border-radius: var(--dc-radius);
    box-shadow: var(--dc-shadow);
    padding: 16px 12px;
    min-width: 0;
}
.dc-roi__score-ring-wrap { position: relative; width: 110px; height: 110px; }
.dc-roi__score-ring { width: 110px; height: 110px; transform: rotate(-90deg); display: block; }
.dc-roi__score-ring-bg { fill: none; stroke: var(--dc-line); stroke-width: 10; }
.dc-roi__score-ring-fg {
    fill: none;
    stroke: var(--dc-green);
    stroke-width: 10;
    stroke-linecap: round;
    stroke-dasharray: 327; /* 2*pi*52 */
    stroke-dashoffset: 327;
    transition: stroke-dashoffset .5s ease, stroke .3s ease;
}
.dc-roi__score-text {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}
.dc-roi__score-value { font-family: var(--dc-font-num); font-size: 1.75rem; font-weight: 700; line-height: 1; }
.dc-roi__score-label { display: block; font-size: .6875rem; color: var(--dc-ink-soft); font-weight: 600; text-transform: uppercase; letter-spacing: .03em; margin-top: 10px; }
.dc-roi__score-verdict { margin: 10px 0 0; font-weight: 700; font-size: .9375rem; }
.dc-roi__score-verdict[data-tone="great"] { color: var(--dc-green-dark); }
.dc-roi__score-verdict[data-tone="ok"] { color: var(--dc-amber); }
.dc-roi__score-verdict[data-tone="poor"] { color: var(--dc-red); }

.dc-roi__metrics {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    min-width: 0;
}
@media (min-width: 720px) {
    .dc-roi__metrics { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.dc-roi__metric {
    background: var(--dc-surface);
    border: 1px solid var(--dc-line);
    border-radius: var(--dc-radius);
    padding: 12px;
    box-shadow: var(--dc-shadow);
    min-width: 0;
    overflow: hidden;
}
.dc-roi__metric-label { display: block; font-size: .6875rem; color: var(--dc-ink-soft); font-weight: 600; margin-bottom: 4px; }
.dc-roi__metric-value {
    display: block;
    font-family: var(--dc-font-num);
    font-size: 1.125rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
@media (max-width: 359px) {
    /* Very narrow embeds (small phones, narrow theme columns): start from a
       smaller base size. The auto-fit script (below) still shrinks further
       per-box if a specific value is still too wide at this size. */
    .dc-roi__metric-value { font-size: 1rem; }
}
.dc-roi__metric-value.is-negative { color: var(--dc-red); }
.dc-roi__metric-value.is-positive { color: var(--dc-green-dark); }

.dc-roi__chart-wrap {
    background: var(--dc-surface);
    border: 1px solid var(--dc-line);
    border-radius: var(--dc-radius);
    padding: 14px;
}
.dc-roi__chart-title { font-size: .8125rem; font-weight: 700; margin: 0 0 10px; }
.dc-roi__chart {
    width: 100%;
    max-width: 460px;
    height: auto;
    display: block;
    margin: 0 auto;
}
.dc-roi__legend { display: flex; flex-wrap: wrap; gap: 12px; list-style: none; margin: 10px 0 0; padding: 0; font-size: .75rem; color: var(--dc-ink-soft); }
.dc-roi__legend li { display: flex; align-items: center; gap: 5px; }
.dc-roi__legend-dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.dc-roi__legend-dot--income { background: var(--dc-green); }
.dc-roi__legend-dot--expense { background: var(--dc-amber); }
.dc-roi__legend-dot--debt { background: #98A2B3; }
.dc-roi__legend-dot--cashflow { background: var(--dc-green-dark); }

.dc-roi__disclaimer { font-size: .75rem; color: #98A2B3; text-align: center; margin: 0; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .dc-roi__panel, .dc-roi__score-ring-fg, .dc-roi__progress-bar::after { transition: none; animation: none; }
}

/* ==========================================================================
   DC Calculators — Airbnb Income Calculator (calculator-specific tweaks)
   Reuses every .dc-roi__* class above as shared wizard/card chrome so both
   calculators are pixel-identical. Everything below only adjusts things
   that are genuinely different about this calculator (no score column, a
   read-only Occupancy Rate field, highlighted profit cards).
   ========================================================================== */

/* No Investment Score column on this calculator — metrics take full width
   at every breakpoint (overrides the 560px two-column rule above). */
.dc-airbnb .dc-roi__results {
    grid-template-columns: minmax(0, 1fr);
}

/* Read-only Occupancy Rate field: same input chrome, but visually
   "disabled" so it reads clearly as a computed value, not editable data.
   Total Initial Investment (Investment Analysis, Step 4) reuses the exact
   same treatment for the same reason. */
.dc-airbnb [data-dc-occupancy],
.dc-airbnb [data-dc-investment-total] {
    background: var(--dc-bg);
    color: var(--dc-ink-soft);
    cursor: default;
    font-weight: 700;
}

/* Monthly / Annual Profit are the headline numbers — a subtle tinted card
   makes them scannable at a glance, same visual language as the
   estimate-applied green tint used elsewhere in the plugin. */
.dc-airbnb__metric--highlight {
    background: var(--dc-green-tint);
    border-color: var(--dc-green);
}

/* ---- Investment Summary panel (Task 5) ----
   Same card chrome (surface, border, radius, shadow) as .dc-roi__chart-wrap
   so it reads as part of the same product, but laid out as a compact
   label/value list rather than a chart. */
.dc-airbnb__summary {
    grid-column: 1 / -1;
    background: var(--dc-surface);
    border: 1px solid var(--dc-line);
    border-radius: var(--dc-radius);
    box-shadow: var(--dc-shadow);
    padding: 14px 16px;
}
.dc-airbnb__summary-title { font-size: .8125rem; font-weight: 700; margin: 0 0 10px; }
.dc-airbnb__summary-list { list-style: none; margin: 0; padding: 0; }
.dc-airbnb__summary-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    padding: 9px 0;
    border-top: 1px solid var(--dc-line);
    font-size: .875rem;
}
.dc-airbnb__summary-row:first-child { border-top: 0; }
.dc-airbnb__summary-label { color: var(--dc-ink-soft); font-weight: 600; }
.dc-airbnb__summary-value {
    font-family: var(--dc-font-num);
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    text-align: right;
}
.dc-airbnb__summary-row--highlight .dc-airbnb__summary-value { color: var(--dc-green-dark); }

/* ==========================================================================
   DC Calculators — Mortgage Calculator (calculator-specific additions)
   Reuses every .dc-roi__* / .dc-airbnb__* class above as shared wizard/card
   chrome (same design tokens, spacing, buttons, typography) so this
   calculator is visually part of the same suite. Only genuinely new pieces
   — the amortization table, scenario comparison and inline "Use Average
   Rate" button — get their own dc-mortgage__ classes below.
   ========================================================================== */

/* Read-only Loan Amount field — same "computed value" treatment as
   .dc-airbnb [data-dc-occupancy] / [data-dc-investment-total]. */
.dc-mortgage [data-dc-loan-amount] {
    background: var(--dc-bg);
    color: var(--dc-ink-soft);
    cursor: default;
    font-weight: 700;
}

/* Highlighted headline metrics — same tinted-card treatment as
   .dc-airbnb__metric--highlight, reused under its own name so mortgage.js
   doesn't need to depend on the Airbnb-specific class name. */
.dc-mortgage__metric--highlight {
    background: var(--dc-green-tint);
    border-color: var(--dc-green);
}

/* Small inline text-button next to the Interest Rate hint ("Use Average Rate") */
.dc-mortgage__inline-btn {
    display: inline-block;
    padding: 2px 10px;
    font-size: .75rem;
    margin-left: 4px;
    vertical-align: baseline;
}

.dc-mortgage__pmi-helper { color: var(--dc-amber); font-weight: 600; }

.dc-mortgage__recommendations-card { grid-column: 1 / -1; }
.dc-mortgage__recommendations {
    list-style: none;
    margin: 0;
    padding: 0;
}
.dc-mortgage__recommendations li {
    position: relative;
    padding: 8px 0 8px 20px;
    border-top: 1px solid var(--dc-line);
    font-size: .875rem;
    line-height: 1.5;
}
.dc-mortgage__recommendations li:first-child { border-top: 0; }
.dc-mortgage__recommendations li::before {
    content: '';
    position: absolute;
    left: 2px;
    top: 15px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--dc-green);
}

/* ---- Amortization Schedule ---- */
.dc-mortgage__amort {
    grid-column: 1 / -1;
    background: var(--dc-surface);
    border: 1px solid var(--dc-line);
    border-radius: var(--dc-radius);
    box-shadow: var(--dc-shadow);
    padding: 14px 16px;
}
.dc-mortgage__amort-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
}
.dc-mortgage__amort-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.dc-mortgage__amort-search {
    font-family: var(--dc-font);
    font-size: .8125rem;
    padding: 8px 10px;
    border: 1.5px solid var(--dc-line);
    border-radius: var(--dc-radius);
    background: var(--dc-surface);
    color: var(--dc-ink);
    min-width: 180px;
}
.dc-mortgage__amort-search:focus { outline: none; border-color: var(--dc-green); box-shadow: 0 0 0 3px var(--dc-green-tint); }
/* Without a capped height here, a 25-year monthly schedule renders ~300
   rows straight into page flow — the whole page becomes enormous and you
   have to scroll the entire browser window just to get past the table.
   This turns it into its own internally-scrolling panel instead (the
   thead's position:sticky above only takes effect once this container
   establishes its own scrolling box). */
.dc-mortgage__amort-scroll {
    overflow-x: auto;
    overflow-y: auto;
    max-height: 420px;
    -webkit-overflow-scrolling: touch;
    border: 1px solid var(--dc-line);
    border-radius: var(--dc-radius);
}
.dc-mortgage__amort-table {
    width: 100%;
    min-width: 640px;
    border-collapse: collapse;
    font-size: .8125rem;
    font-variant-numeric: tabular-nums;
}
.dc-mortgage__amort-table th,
.dc-mortgage__amort-table td {
    padding: 8px 10px;
    text-align: right;
    white-space: nowrap;
    border-bottom: 1px solid var(--dc-line);
}
.dc-mortgage__amort-table th:first-child,
.dc-mortgage__amort-table td:first-child,
.dc-mortgage__amort-table th:nth-child(2),
.dc-mortgage__amort-table td:nth-child(2) { text-align: left; }
.dc-mortgage__amort-table thead th {
    color: var(--dc-ink-soft);
    font-weight: 700;
    font-size: .75rem;
    text-transform: uppercase;
    letter-spacing: .02em;
    background: var(--dc-bg);
    position: sticky;
    top: 0;
}
.dc-mortgage__amort-table tbody tr:hover { background: var(--dc-green-tint); }

/* ---- Compare Scenarios ---- */
.dc-mortgage__compare { grid-column: 1 / -1; }
.dc-mortgage__compare-panel {
    margin-top: 12px;
    background: var(--dc-surface);
    border: 1px solid var(--dc-line);
    border-radius: var(--dc-radius);
    box-shadow: var(--dc-shadow);
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.dc-mortgage__compare-fields {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 12px;
}
.dc-mortgage__compare-results { overflow-x: auto; }
.dc-mortgage__compare-table {
    width: 100%;
    min-width: 420px;
    border-collapse: collapse;
    font-size: .8125rem;
}
.dc-mortgage__compare-table th,
.dc-mortgage__compare-table td {
    padding: 8px 10px;
    text-align: right;
    border-bottom: 1px solid var(--dc-line);
}
.dc-mortgage__compare-table th:first-child,
.dc-mortgage__compare-table td:first-child { text-align: left; color: var(--dc-ink-soft); font-weight: 600; }
.dc-mortgage__compare-table thead th { color: var(--dc-ink-soft); font-size: .75rem; text-transform: uppercase; }

/* ---- Print Report ----
   Keeps the wizard chrome (progress bar, nav buttons, PDF/print buttons)
   out of the printed page and lets the Results panel print in full
   regardless of which step is currently "active" on screen. */
@media print {
    .dc-roi__progress,
    .dc-roi__nav,
    .dc-roi__pdf-export,
    .dc-mortgage__compare-toggle,
    .dc-roi__panel:not([data-dc-panel="4"]) { display: none !important; }
    .dc-mortgage [data-dc-panel="4"] { display: block !important; }
    .dc-mortgage__amort-search,
    .dc-mortgage__amort-controls { display: none !important; }
}
