/* Daniel Park Realty calculators. Colors and fonts follow the site's Elementor globals (with fallbacks for the static copy). */
.dpc {
  --dpc-ink: var(--e-global-color-primary, var(--ink, #111111));
  --dpc-paper: var(--e-global-color-secondary, var(--paper, #F7F4EE));
  --dpc-stone: var(--e-global-color-text, var(--stone, #5F5A52));
  --dpc-yellow: var(--e-global-color-accent, var(--yellow, #FFE101));
  --dpc-greige: var(--e-global-color-dpgreige, var(--greige, #E8E2D6));
  --dpc-border: var(--e-global-color-dpborder, #8C867C);
  --dpc-mist: var(--e-global-color-dpmist, #D9D4CA);
  --dpc-display: var(--e-global-typography-primary-font-family, 'Cormorant Garamond'), Georgia, serif;
  --dpc-body: var(--e-global-typography-text-font-family, 'Jost'), system-ui, sans-serif;
  display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: 32px 40px; align-items: start;
  font-family: var(--dpc-body); color: var(--dpc-stone); text-align: left;
}
.dpc * { box-sizing: border-box; }
.dpc-form { background: #fff; border: 1px solid var(--dpc-greige); border-radius: 4px; padding: 32px; display: grid; gap: 28px; }
.dpc-group { border: 0; margin: 0; padding: 0; min-width: 0; }
.dpc-group legend { font-family: var(--dpc-body); font-weight: 600; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--dpc-ink); padding: 0; margin: 0 0 14px; }
.dpc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; }
.dpc-field { min-width: 0; }
.dpc-wide { grid-column: 1 / -1; }
.dpc-field label { display: block; font-size: 15px; font-weight: 500; color: var(--dpc-ink); margin: 0 0 6px; line-height: 1.3; }
.dpc .dpc-field label { font-size: 15px; font-weight: 500; line-height: 1.3; color: var(--dpc-ink); }  /* beats the Elementor kit label size on the live site */
.dpc-input { position: relative; display: flex; align-items: center; }
.dpc-input input, .dpc-input select {
  width: 100%; height: 48px; border: 1px solid var(--dpc-border); border-radius: 2px; background: #fff; color: var(--dpc-ink);
  font: 500 16px/1.2 var(--dpc-body); padding: 0 14px; margin: 0; box-shadow: none; -webkit-appearance: none; appearance: none;
}
.dpc-input select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23111' stroke-width='1.6' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px; }
.dpc .dpc-input input, .dpc .dpc-input select { padding-left: 14px !important; padding-right: 14px !important; }
.dpc .dpc-input select { padding-right: 38px !important; }
.dpc .dpc-input.has-pre input { padding-left: 30px !important; }
.dpc .dpc-input.has-suf input { padding-right: 58px !important; }
.dpc-pre, .dpc-suf { position: absolute; top: 50%; transform: translateY(-50%); color: var(--dpc-stone); font-size: 15px; pointer-events: none; }
.dpc-pre { left: 13px; }
.dpc-suf { right: 13px; }
.dpc-input input:focus, .dpc-input select:focus { border-color: var(--dpc-ink); outline: 3px solid var(--dpc-yellow); outline-offset: 0; }
.dpc-help { font-size: 13px; line-height: 1.45; margin: 6px 0 0; color: var(--dpc-stone); }
.dpc-actions { display: flex; justify-content: flex-start; }
.dpc-reset { background: none !important; border: 0 !important; padding: 0 !important; color: var(--dpc-ink) !important; font: 500 15px var(--dpc-body) !important; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.dpc-reset:hover { text-decoration-thickness: 2px; }

.dpc-results { position: sticky; top: 120px; }
.dpc-results-in { background: var(--dpc-ink); color: #fff; border-radius: 4px; padding: 32px; }
.dpc-kicker { font-weight: 600; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--dpc-yellow); margin: 0 0 6px; }
.dpc-big { font-family: var(--dpc-display); font-weight: 600; font-size: clamp(44px, 5vw, 60px); line-height: 1; color: #fff; margin: 0 0 10px; }
.dpc-sub { font-size: 15px; line-height: 1.5; margin: 0 0 22px; color: #fff; }
.dpc-bar { display: flex; height: 14px; border-radius: 2px; overflow: hidden; background: #333; margin: 0 0 10px; }
.dpc-seg { display: block; height: 100%; }
.dpc-key { list-style: none; margin: 0 0 18px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13px; }
.dpc-key li { display: inline-flex; align-items: center; gap: 6px; margin: 0; }
.dpc-key i { display: inline-block; width: 10px; height: 10px; border-radius: 2px; }
.dpc-c0 { background: var(--dpc-yellow); } .dpc-c1 { background: #2EC4B6; } .dpc-c2 { background: #FF6B6B; } .dpc-c3 { background: #4EA8DE; } .dpc-c4 { background: #B983FF; }
.dpc-rows { margin: 0; padding: 0; border-top: 1px solid #333; }
.dpc-row { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid #333; font-size: 15px; line-height: 1.35; }
.dpc-row dt { margin: 0; color: #fff; font-weight: 400; }
.dpc-row dd { margin: 0; color: #fff; font-weight: 500; text-align: right; white-space: nowrap; }
.dpc-row.dpc-strong dt, .dpc-row.dpc-strong dd { color: #fff; font-weight: 600; }
.dpc-row.dpc-total { border-bottom: 0; padding-top: 14px; }
.dpc-row.dpc-total dt { color: #fff; font-weight: 600; }
.dpc-row.dpc-total dd { color: var(--dpc-yellow); font-weight: 600; font-size: 18px; }
.dpc-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 0 0 20px; }
.dpc-kpis div { background: #1C1C1C; border: 1px solid #333; border-radius: 3px; padding: 10px 8px; text-align: center; }
.dpc-kpis span { display: block; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: #fff; margin-bottom: 4px; }
.dpc-kpis strong { display: block; font-family: var(--dpc-display); font-size: 24px; font-weight: 600; color: #fff; line-height: 1.1; }
.dpc-chart { display: block; width: 100%; height: 120px; margin: 0 0 6px; }
.dpc-chart .dpc-axis { stroke: #555; stroke-width: .3; }
.dpc-chart .dpc-pos { fill: var(--dpc-yellow); opacity: .55; } .dpc-chart .dpc-neg { fill: #2EC4B6; opacity: .7; } .dpc-chart .dpc-sel { opacity: 1; }
.dpc-chart-cap { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13px; margin: 0 0 18px; }
.dpc-chart-cap i { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 6px; vertical-align: -1px; }
.dpc-chart-cap i.dpc-pos { background: var(--dpc-yellow); } .dpc-chart-cap i.dpc-neg { background: #2EC4B6; }
.dpc-details { margin-top: 18px; }
.dpc-details summary { cursor: pointer; color: #fff; font-weight: 500; font-size: 15px; text-decoration: underline; text-underline-offset: 3px; }
.dpc-tablewrap { max-height: 320px; overflow: auto; margin-top: 12px; }
.dpc-table { width: 100%; border-collapse: collapse; font-size: 14px; margin: 0; }
.dpc-table th, .dpc-table td { padding: 7px 6px; border-bottom: 1px solid #333; text-align: right; color: #fff; background: transparent; border-left: 0; border-right: 0; border-top: 0; }
.dpc-table th { color: #fff; font-weight: 600; position: sticky; top: 0; background: var(--dpc-ink); }
.dpc-table th:first-child, .dpc-table td:first-child { text-align: left; }
.dpc-after { grid-column: 1 / -1; font-size: 14px; line-height: 1.55; color: var(--dpc-stone); margin: 0; max-width: 860px; }

.dpc-peek { display: none; }
/* two-column layout: the note under the calculator stays in the left column so the sticky results box never covers it */
@media (min-width: 1025px) {
  .dpc { grid-template-rows: auto 1fr; }  /* extra height from a tall results box goes below the note, not between form and note */
  .dpc-form { grid-column: 1; grid-row: 1; }
  .dpc-results { grid-column: 2; grid-row: 1 / span 2; }
  .dpc-after { grid-column: 1; grid-row: 2; }
}
@media (max-width: 1024px) {
  .dpc { grid-template-columns: 1fr; }
  .dpc-results { position: static; scroll-margin-top: 90px; }
  .dpc-peek { display: flex; align-items: center; gap: 10px; position: sticky; bottom: 12px; z-index: 5; margin-top: -16px;
    background: var(--dpc-ink); color: #fff !important; text-decoration: none !important; border-radius: 4px; padding: 12px 16px; box-shadow: 0 6px 20px rgba(0,0,0,.25); }
  .dpc-peek-k { font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--dpc-yellow); flex: 1 1 auto; line-height: 1.25; }
  .dpc-peek-v { font-family: var(--dpc-display); font-weight: 600; font-size: 26px; line-height: 1; color: #fff; white-space: nowrap; }
  .dpc-peek-go { font-size: 12px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; color: #fff; }
}
@media (max-width: 600px) {
  .dpc-peek { margin-right: 66px; padding: 10px 14px; }
  .dpc-peek-go { display: none; }
  .dpc-peek-v { font-size: 24px; }
}
@media (max-width: 600px) {
  .dpc-form, .dpc-results-in { padding: 22px 18px; }
  .dpc-grid { grid-template-columns: 1fr; }
  .dpc-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dpc-row { font-size: 14px; }
}
@media print {
  .dpc { display: block; }
  .dpc-results-in { background: #fff; color: #111; border: 1px solid #ccc; }
  .dpc-big, .dpc-row dd, .dpc-row dt { color: #111 !important; }
}

/* Oct 27, 2026: quizzes, planners and checklists */
.dpc-kpis.dpc-kpis-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.dpc-kpis.dpc-kpis-3 strong { font-size: 22px; }
.dpc-input input[type="date"] { padding-right: 10px !important; }
.dpc-note { font-size: 14px; line-height: 1.5; color: #fff; margin: 18px 0 0; }
.dpc-small { font-size: 13px; line-height: 1.45; color: #fff; margin: 6px 0 0; }
.dpc .dpc-go { display: inline-flex; align-items: center; justify-content: center; margin: 18px 0 0; padding: 14px 22px; background: var(--dpc-yellow); color: var(--dpc-ink) !important; font: 600 15px/1.2 var(--dpc-body); letter-spacing: .02em; text-decoration: none !important; border-radius: 2px; border: 0; cursor: pointer; background-image: none !important; }
.dpc .dpc-go:hover { background: #fff; outline: none; }
.dpc .dpc-go:focus-visible { background: #fff; outline: 3px solid var(--dpc-yellow); outline-offset: 2px; }
.dpc-btns { display: flex; flex-wrap: wrap; gap: 0 12px; }
.dpc-btns .dpc-go + .dpc-go { background: transparent; color: #fff !important; box-shadow: inset 0 0 0 1px #fff; }
.dpc-cards { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 12px; }
.dpc-cards li { margin: 0; background: #1C1C1C; border: 1px solid #333; border-left: 4px solid #5F5A52; border-radius: 3px; padding: 14px 16px; }
.dpc-cards li.dpc-fit2 { border-left-color: var(--dpc-yellow); }
.dpc-cards li.dpc-fit1 { border-left-color: #B9B2A6; }
.dpc-cards li.dpc-fit0 { opacity: .75; }
.dpc-cards strong { display: block; color: #fff; font-size: 16px; font-weight: 600; line-height: 1.3; }
.dpc-cards p { margin: 6px 0 0; font-size: 14px; line-height: 1.5; color: #fff; }
.dpc-tag { display: inline-block; font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--dpc-yellow); margin-bottom: 4px; }
.dpc-fit1 .dpc-tag { color: #fff; } .dpc-fit0 .dpc-tag { color: #fff; }
.dpc-cost { display: block; font-family: var(--dpc-display); font-size: 22px; font-weight: 600; color: #fff; margin-top: 2px; }
.dpc-rank { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 14px; counter-reset: r; }
.dpc-rank li { margin: 0; padding: 0 0 14px; border-bottom: 1px solid #333; }
.dpc-rank-h { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.dpc-rank-h strong { color: #fff; font-size: 16px; font-weight: 600; }
.dpc-rank-h span { color: #fff; font-size: 14px; white-space: nowrap; }
.dpc-top .dpc-rank-h span { color: var(--dpc-yellow); font-weight: 600; }
.dpc-meter { display: block; height: 6px; background: #333; border-radius: 3px; margin: 8px 0 0; overflow: hidden; }
.dpc-meter i { display: block; height: 100%; background: #2EC4B6; }
.dpc-top .dpc-meter i { background: var(--dpc-yellow); }
.dpc-rank p { margin: 8px 0 0; font-size: 14px; line-height: 1.5; color: #fff; }
.dpc-timeline { display: grid; gap: 4px; margin: 6px 0 0; }
.dpc-step { border-top: 1px solid #333; padding: 14px 0 6px; }
.dpc-step h3 { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 4px 12px; margin: 0 0 8px; font: 600 13px/1.3 var(--dpc-body); letter-spacing: .1em; text-transform: uppercase; color: var(--dpc-yellow); }
.dpc-step h3 time { color: #fff; letter-spacing: .04em; font-weight: 500; }
/* the site-wide h3 style (32px dark serif) was overriding the timeline labels on the live site */
.dpc .dpc-results .dpc-step h3 { font: 600 13px/1.3 var(--dpc-body) !important; letter-spacing: .1em !important; text-transform: uppercase !important; color: var(--dpc-yellow) !important; margin: 0 0 8px !important; }
.dpc .dpc-results .dpc-step h3 span { font: inherit !important; color: inherit !important; letter-spacing: inherit !important; }
.dpc .dpc-results .dpc-step h3 time { font: 500 13px/1.3 var(--dpc-body) !important; color: #fff !important; letter-spacing: .04em !important; }
.dpc-past h3 span::after { content: ' (date passed)'; color: #fff; text-transform: none; letter-spacing: 0; font-weight: 400; }
.dpc-check { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 10px; font-size: 15px; line-height: 1.45; color: #fff; cursor: pointer; }
.dpc .dpc-check { color: #fff; font-family: var(--dpc-body); font-size: 15px; font-weight: 400; line-height: 1.45; letter-spacing: normal; text-transform: none; }  /* beats the Elementor kit label style (dark 14px), which hid the text on the dark panel */
.dpc-check input { flex: 0 0 auto; width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--dpc-yellow); }
.dpc-check input:checked + span { text-decoration: line-through; color: #fff; }
.dpc-results-in h3 { color: inherit; }
@media (max-width: 600px) { .dpc-kpis.dpc-kpis-3 { grid-template-columns: 1fr; } .dpc-kpis.dpc-kpis-3 div { display: flex; justify-content: space-between; align-items: baseline; text-align: left; } }
@media print {
  body.dpc-printing * { visibility: hidden !important; }
  body.dpc-printing .dpc-print-me .dpc-results, body.dpc-printing .dpc-print-me .dpc-results * { visibility: visible !important; }
  body.dpc-printing .dpc-print-me .dpc-results { position: absolute !important; left: 0; top: 0; width: 100%; }
  .dpc-results-in { padding: 0 !important; border: 0 !important; }
  .dpc-step h3, .dpc-step h3 time, .dpc-kicker, .dpc-check, .dpc-sub, .dpc-note { color: #111 !important; }
  .dpc .dpc-results .dpc-step h3, .dpc .dpc-results .dpc-step h3 time { color: #111 !important; }
  .dpc-step { border-color: #ccc; break-inside: avoid; }
  .dpc-go, .dpc-btns, .dpc-peek { display: none !important; }
  .dpc-tablewrap { max-height: none; overflow: visible; }
}

.dpc-key .dpc-pct { color: #fff; font-variant-numeric: tabular-nums; }
@media print { .dpc-results-in, .dpc-results-in * { color: #111 !important; } }
.dpc-row dd .dpc-sw { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin: 0 8px 0 0; vertical-align: 0; }
@media print { .dpc-row dd .dpc-sw { -webkit-print-color-adjust: exact; print-color-adjust: exact; } }
.dpc .dpc-group legend { font-size: 17px; font-weight: 700; letter-spacing: .12em; color: var(--dpc-ink); padding: 0 0 10px; margin: 0 0 18px; border-bottom: 2px solid var(--dpc-yellow); width: 100%; line-height: 1.3; }
.dpc .dpc-group + .dpc-group legend { margin-top: 8px; }
@media (max-width: 600px) { .dpc .dpc-group legend { font-size: 15px; } }
.dpc .dpc-field label.dpc-manual { display: inline-flex; align-items: center; gap: 7px; margin: 8px 0 0; font-size: 13px; font-weight: 400; line-height: 1.3; color: var(--dpc-stone); cursor: pointer; }
.dpc .dpc-field label.dpc-manual input { width: 15px; height: 15px; margin: 0; accent-color: var(--dpc-ink); cursor: pointer; }

/* Rent vs. buy chart with axes and cost lines (Nov 3, 2026) */
.dpc-chart.dpc-chart2 { height: auto; margin: 10px 0 8px; overflow: visible; }
.dpc-chart2 .dpc-grid { stroke: rgba(255,255,255,.09); stroke-width: 1; }
.dpc-chart2 .dpc-zero { stroke: rgba(255,255,255,.38); stroke-width: 1; }
.dpc-chart2 .dpc-tk { fill: rgba(255,255,255,.62); font: 500 11px/1 var(--dpc-body, Jost, system-ui, sans-serif); }
.dpc-chart2 .dpc-ttl { fill: rgba(255,255,255,.5); font: 600 10px/1 var(--dpc-body, Jost, system-ui, sans-serif); letter-spacing: .14em; text-transform: uppercase; }
.dpc-chart2 .dpc-lb { fill: none; stroke: #FFE101; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.dpc-chart2 .dpc-lr { fill: none; stroke: #2EC4B6; stroke-width: 2; stroke-dasharray: 6 4; stroke-linejoin: round; }
.dpc-chart2 .dpc-db { fill: #111; stroke: #FFE101; stroke-width: 1.6; }
.dpc-chart2 .dpc-dr { fill: #111; stroke: #2EC4B6; stroke-width: 1.6; }
.dpc-chart-cap i.dpc-ln { width: 18px; height: 0; border-radius: 0; background: none; vertical-align: 3px; border-top: 2px solid #FFE101; }
.dpc-chart-cap i.dpc-ln-rent { border-top: 2px dashed #2EC4B6; }
@media print { .dpc-chart2 .dpc-tk, .dpc-chart2 .dpc-ttl { fill: #333; } .dpc-chart2 .dpc-lb, .dpc-chart2 .dpc-db { stroke: #111; } .dpc-chart-cap i.dpc-ln-buy { border-top-color: #111; } }
.dpc-chart2 .dpc-be-line { stroke: rgba(255,255,255,.55); stroke-width: 1; stroke-dasharray: 2 3; }
.dpc-chart2 .dpc-be-dot { fill: #111; stroke: #fff; stroke-width: 2; }
.dpc-chart2 .dpc-be-txt { fill: #fff; font: 600 11px/1 var(--dpc-body, Jost, system-ui, sans-serif); letter-spacing: .02em; paint-order: stroke; stroke: #111; stroke-width: 4px; stroke-linejoin: round; }

/* Rent vs. buy chart: 3D glowing bars and hover values (Nov 3, 2026) */
.dpc-chart2 .dpc-yr .dpc-rbar { opacity: .55; transition: opacity .2s ease, filter .2s ease; }
.dpc-chart2 .dpc-yr.dpc-sel .dpc-rbar, .dpc-chart2 .dpc-yr.is-hov .dpc-rbar { opacity: 1; }
.dpc-chart2 .dpc-cap { fill: rgba(255,255,255,.55); pointer-events: none; }
.dpc-chart2 .is-neg .dpc-cap { fill: rgba(255,255,255,.35); }
.dpc-chart2 .dpc-band { fill: #fff; opacity: 0; transition: opacity .2s ease; }

.dpc-chart2 .dpc-yr.is-hov .dpc-rbar.dpc-pos { filter: drop-shadow(0 0 2px rgba(255,225,1,.95)) drop-shadow(0 0 7px rgba(255,225,1,.6)); }
.dpc-chart2 .dpc-yr.is-hov .dpc-rbar.dpc-neg { filter: drop-shadow(0 0 2px rgba(46,196,182,.95)) drop-shadow(0 0 7px rgba(46,196,182,.6)); }
.dpc-chart2 .dpc-hit { fill: transparent; cursor: pointer; outline: none; }
.dpc-chart2 .dpc-hit:focus-visible { stroke: #FFE101; stroke-width: 1.5; }
.dpc-tip { position: fixed; z-index: 2147483000; left: 0; top: 0; pointer-events: none; transform: translate(-50%, calc(-100% - 12px)); min-width: 168px; padding: 10px 13px 11px; border-radius: 10px; border: 1px solid rgba(255,255,255,.16); background: linear-gradient(180deg, #2c2c2c 0, #161616 60%, #0d0d0d 100%); box-shadow: inset 0 1px 0 rgba(255,255,255,.14), 0 2px 4px rgba(0,0,0,.4), 0 14px 28px -8px rgba(0,0,0,.7); color: #fff; font: 500 13px/1.4 Jost, system-ui, sans-serif; opacity: 0; transition: opacity .15s ease; }
.dpc-tip.on { opacity: 1; }
.dpc-tip::after { content: ""; position: absolute; left: 50%; bottom: -6px; width: 10px; height: 10px; margin-left: -5px; background: #0d0d0d; border-right: 1px solid rgba(255,255,255,.16); border-bottom: 1px solid rgba(255,255,255,.16); transform: rotate(45deg); }
.dpc-tip b { display: block; font-size: 10.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.6); margin-bottom: 3px; }
.dpc-tip span { display: block; font-weight: 600; font-size: 14px; margin-bottom: 4px; }
.dpc-tip .tb { color: #FFE101; } .dpc-tip .tr { color: #2EC4B6; }
.dpc-tip small { display: block; font-size: 12px; color: rgba(255,255,255,.72); }
@media (prefers-reduced-motion: reduce) { .dpc-tip, .dpc-chart2 .dpc-yr .dpc-rbar, .dpc-chart2 .dpc-band { transition: none; } }
@media print { .dpc-tip { display: none; } }
/* Mortgage payment line chart (Nov 3, 2026) */
.dpc-chart-title { margin: 26px 0 0; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.62); }
.dpc-s-tot { --sc: #F7F4EE; } .dpc-s-pr { --sc: #FFE101; } .dpc-s-in { --sc: #FFF29A; } .dpc-s-tx { --sc: #2EC4B6; } .dpc-s-is { --sc: #FF6B6B; } .dpc-s-ho { --sc: #4EA8DE; } .dpc-s-pm { --sc: #B983FF; }
.dpc-lines .dpc-sl { fill: none; stroke: var(--sc); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.dpc-lines .dpc-sl.dpc-s-tot { stroke-width: 2.5; }
.dpc-lines .dpc-sl.dpc-s-in { stroke-dasharray: 6 4; }
.dpc-lines .dpc-sl.dpc-s-pm { stroke-dasharray: 2 3; }
.dpc-lines .dpc-pt { fill: #111; stroke: var(--sc); stroke-width: 2; opacity: 0; transition: opacity .15s ease; pointer-events: none; }
.dpc-lines .dpc-guide { stroke: rgba(255,255,255,.4); stroke-width: 1; stroke-dasharray: 2 3; opacity: 0; transition: opacity .15s ease; pointer-events: none; }
.dpc-lines .dpc-yr.is-hov .dpc-pt, .dpc-lines .dpc-yr.is-hov .dpc-guide { opacity: 1; }
.dpc-lines .dpc-yr.is-hov .dpc-pt { filter: drop-shadow(0 0 4px var(--sc)); }
.dpc-lines + .dpc-chart-cap i.dpc-ln { border-top: 2px solid var(--sc); }
.dpc-lines + .dpc-chart-cap i.dpc-ln.dpc-s-in { border-top-style: dashed; }
.dpc-lines + .dpc-chart-cap i.dpc-ln.dpc-s-pm { border-top-style: dotted; }
.dpc-tip [class*="dpc-s-"] { color: var(--sc); }
.dpc-tip .dpc-tip-mute { color: rgba(255,255,255,.55); margin-top: 3px; }
@media print { .dpc-chart-title { color: #333; } .dpc-s-tot { --sc: #111; } }
/* Mortgage loan chart v2 (Nov 3, 2026): principal, interest, remaining balance, paid off */
.dpc-s-bal { --sc: #F7F4EE; } .dpc-s-paid { --sc: #2EC4B6; } .dpc-s-in { --sc: #FF6B6B; }
.dpc-lines .dpc-sl.dpc-s-pr { stroke-width: 2.5; }
.dpc-lines .dpc-sl.dpc-s-in { stroke-width: 2.5; stroke-dasharray: 7 4; }
.dpc-lines .dpc-sl.dpc-s-bal { stroke-width: 2; stroke-dasharray: none; opacity: .9; }
.dpc-lines .dpc-sl.dpc-s-paid { stroke-width: 2; }
.dpc-lines .dpc-sa { stroke: none; fill: var(--sc); }
.dpc-lines .dpc-sa.dpc-s-bal { opacity: .06; }
.dpc-lines .dpc-sa.dpc-s-paid { opacity: .14; }
.dpc-lines .dpc-tk-r { fill: rgba(255,255,255,.5); }
.dpc-lines + .dpc-chart-cap i.dpc-ln.dpc-s-bal, .dpc-lines + .dpc-chart-cap i.dpc-ln.dpc-s-paid { height: 8px; vertical-align: -1px; border-top-width: 2px; background: color-mix(in srgb, var(--sc) 22%, transparent); }
.dpc-lines + .dpc-chart-cap i.dpc-ln.dpc-s-in { border-top-style: dashed; }
/* Affordability zones chart (Nov 3, 2026) */
.dpc-aff .dpc-az { transition: opacity .2s ease; }
.dpc-aff .dpc-az0 { fill: rgba(46,196,182,.34); }
.dpc-aff .dpc-az1 { fill: rgba(255,225,1,.30); }
.dpc-aff .dpc-az2 { fill: rgba(255,159,28,.36); }
.dpc-aff .dpc-az3 { fill: rgba(255,107,107,.34); }
.dpc-aff .dpc-az4 { fill: rgba(154,148,138,.18); }
.dpc-aff .dpc-azl { stroke-width: 3; stroke-linecap: round; fill: none; }
.dpc-aff .dpc-azb { stroke-width: 1; stroke-dasharray: 3 3; opacity: .75; }
.dpc-aff .dpc-azt { fill: #fff; font: 600 12.5px/1 var(--dpc-body, Jost, system-ui, sans-serif); paint-order: stroke; stroke: rgba(0,0,0,.35); stroke-width: 3px; stroke-linejoin: round; pointer-events: none; }
.dpc-aff .dpc-azv { fill: rgba(255,255,255,.88); font: 500 11.5px/1 var(--dpc-body, Jost, system-ui, sans-serif); paint-order: stroke; stroke: rgba(0,0,0,.35); stroke-width: 3px; stroke-linejoin: round; pointer-events: none; }
.dpc-aff .dpc-acash { stroke: rgba(255,255,255,.75); stroke-width: 1.5; stroke-dasharray: 5 4; pointer-events: none; }
.dpc-aff .dpc-acasht { fill: #fff; font: 600 11px/1 var(--dpc-body, Jost, system-ui, sans-serif); letter-spacing: .04em; pointer-events: none; }
.dpc-aff .dpc-amk { fill: #fff; stroke: #111; stroke-width: 2.5; filter: drop-shadow(0 0 5px rgba(255,255,255,.75)); pointer-events: none; }
.dpc-chart-cap i.dpc-amk-key { width: 11px; height: 11px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 2px #111, 0 0 6px rgba(255,255,255,.7); }
@media print { .dpc-aff .dpc-azt, .dpc-aff .dpc-azv, .dpc-aff .dpc-acasht { fill: #111; stroke: none; } }
.dpc-aff .dpc-azt-v { font-size: 12px; }
.dpc-aff .dpc-azt-v .dpc-azv { font-size: 11px; }

.dpc-c5 { background: #FF9F1C; }
.dpc-agent-amt { display: block; margin-top: 4px; }
