/* The shared public calculator composition provides the cards and controls. */
.nwp-page.pc-page { height: auto; padding-top: 92px; overflow-x: visible; }
.nwp-page .nwp-eyebrow { color: var(--pc-link); font-size: 12px; font-weight: 750; margin-bottom: 8px; letter-spacing: .06em; text-transform: uppercase; }
.nwp-page .nwp-equivalent { margin: 6px 0 0; color: var(--pc-text-2); font-size: 12.5px; line-height: 1.5; }
.nwp-page .nwp-calculate { width: 100%; margin-top: 18px; white-space: normal; height: auto; min-height: 44px; padding: 10px 14px; }
.nwp-page .pc-big, .nwp-page .pc-stat-value { overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.nwp-page .pc-big { font-size: clamp(1.8rem, 4.3vw, 2.75rem); line-height: 1.18; }
.nwp-page .pc-stat-value { font-size: clamp(1.15rem, 2.2vw, 1.6rem); line-height: 1.3; }
.nwp-page .nwp-status { color: var(--pc-text-2); font-size: 12.5px; margin: 0 0 12px; min-height: 19px; }
.nwp-page .is-stale #nwpFinal, .nwp-page .is-stale .pc-stat-value { opacity: .55; }
.nwp-page .nwp-with { background: #2E86C1; }
.nwp-page .nwp-without { background: #8095a7; }
.nwp-page .nwp-target { background: #f59e0b; }
.nwp-page .nwp-year-table { margin-top: 20px; font-size: 13px; }
.nwp-page summary { cursor: pointer; color: var(--pc-link); font-weight: 650; padding: 8px 0; }
.nwp-page summary:focus-visible { outline: 3px solid var(--pc-focus); outline-offset: 2px; }
.nwp-page table { width: 100%; table-layout: fixed; margin-top: 10px; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.nwp-page th, .nwp-page td { padding: 10px 6px; vertical-align: top; border-bottom: 1px solid var(--pc-line); text-align: right; overflow-wrap: anywhere; color: var(--pc-text); }
.nwp-page th { font-size: 11.5px; color: var(--pc-text-2); }
.nwp-page th:first-child, .nwp-page td:first-child { text-align: left; width: 15%; }
.nwp-page .pc-note p { margin: 0 0 8px; }
.nwp-page .nwp-save-plan { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 22px; padding: 22px 24px; border: 1px solid var(--pc-line); border-radius: 16px; background: var(--pc-card); }
.nwp-page .nwp-save-plan > div { flex: 1; min-width: 0; }
.nwp-page .nwp-save-plan h2 { font-size: 17px; color: var(--pc-text); margin: 0 0 6px; }
.nwp-page .nwp-save-plan p { color: var(--pc-text-2); font-size: 14px; margin: 0; max-width: 640px; line-height: 1.6; }
.nwp-page .nwp-save-plan .pc-btn { width: auto; flex-shrink: 0; white-space: normal; height: auto; min-height: 44px; padding: 10px 16px; }
body.nwp-body { margin-bottom: 0; }
html.dark body.nwp-body,
body.dark-theme.nwp-body,
body.premium-dark-theme.nwp-body {
    background-color: var(--premium-bg-primary, #0d1117);
}
html.dark body.nwp-body #portfolio_footer .text-dark,
html.dark body.nwp-body #portfolio_footer .webpage-name {
    color: var(--premium-text-primary, #e6edf3) !important;
}
html.dark body.nwp-body #portfolio_footer .text-muted {
    color: var(--premium-text-secondary, #a8b2bd) !important;
}
body.nwp-body #portfolio_footer { position: static !important; height: auto !important; transform: none !important; }
@media (max-width: 600px) {
    .nwp-page.pc-page { padding: 84px 12px 36px; }
    .nwp-page .pc-stats { grid-template-columns: minmax(0, 1fr); }
    .nwp-page .nwp-save-plan { display: block; padding: 20px 16px; }
    .nwp-page .nwp-save-plan .pc-btn { margin-top: 14px; width: 100%; }
    .nwp-page .nwp-year-table { overflow-x: auto; }
    .nwp-page table { table-layout: auto; min-width: 30rem; }
    .nwp-page td { font-size: 11.5px; padding: 8px 3px; white-space: nowrap; overflow-wrap: normal; }
    .nwp-page th { font-size: 10.5px; padding: 8px 3px; overflow-wrap: normal; }
}
