/**
 * Version: 2.0.3
 * Generated: 2026-08-28T11:55:00Z
 * Tool: Accessible BND presentation for the Pensioenruimte calculator.
 * Fix: Makes the pension/UPO block container-responsive and overflow-safe while retaining the viewport fallback.
 */

.bnd-pensioenruimte {
    --bnd-pr-bg: #f3f5f6;
    --bnd-pr-surface: #ffffff;
    --bnd-pr-surface-soft: #eef7fa;
    --bnd-pr-text: #333333;
    --bnd-pr-muted: #5b5b5b;
    --bnd-pr-primary: #07568a;
    --bnd-pr-primary-hover: #06456e;
    --bnd-pr-border: #767676;
    --bnd-pr-border-soft: #c9d0d4;
    --bnd-pr-error: #b42318;
    --bnd-pr-error-bg: #fff1f0;
    --bnd-pr-success: #087a63;
    --bnd-pr-success-bg: #e7f5f1;
    --bnd-pr-warning: #7a4600;
    --bnd-pr-warning-bg: #fff2d6;
    --bnd-pr-focus: #07568a;
    color: var(--bnd-pr-text);
    background: var(--bnd-pr-bg);
    font-family: "Museosans", "Museo Sans", Arial, sans-serif;
    font-size: 16px;
    font-weight: 300;
    line-height: 1.55;
    padding: clamp(20px, 4vw, 48px) 16px;
}

.bnd-pensioenruimte,
.bnd-pensioenruimte *,
.bnd-pensioenruimte *::before,
.bnd-pensioenruimte *::after {
    box-sizing: border-box;
}

.bnd-pensioenruimte button,
.bnd-pensioenruimte input,
.bnd-pensioenruimte select,
.bnd-pensioenruimte textarea {
    font: inherit;
}

.bnd-pensioenruimte .bnd-wrap {
    width: min(100%, 1120px);
    margin-inline: auto;
}

.bnd-pensioenruimte .bnd-header {
    max-width: 800px;
    margin: 0 0 28px;
}

.bnd-pensioenruimte h2,
.bnd-pensioenruimte h3,
.bnd-pensioenruimte h4,
.bnd-pensioenruimte p {
    margin-block-start: 0;
}

.bnd-pensioenruimte h2,
.bnd-pensioenruimte h3,
.bnd-pensioenruimte h4 {
    color: var(--bnd-pr-text);
    font-family: "MuseoSlab", "Museo Slab", Georgia, serif;
    font-weight: 500;
    line-height: 1.2;
}

.bnd-pensioenruimte h2 {
    margin-bottom: 12px;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
}

.bnd-pensioenruimte h3 {
    margin-bottom: 8px;
    font-size: clamp(1.35rem, 3vw, 1.75rem);
}

.bnd-pensioenruimte h4 {
    margin-bottom: 12px;
    font-size: 1.125rem;
}

.bnd-pensioenruimte .bnd-muted,
.bnd-pensioenruimte .bnd-help,
.bnd-pensioenruimte .bnd-disclaimer {
    color: var(--bnd-pr-muted);
}

.bnd-pensioenruimte .bnd-help {
    display: block;
    margin: 6px 0 0;
    font-size: 0.9375rem;
    line-height: 1.5;
}

.bnd-pensioenruimte .bnd-disclaimer {
    margin: 10px 0 0;
    font-size: 0.875rem;
}

.bnd-pensioenruimte .bnd-panel {
    margin: 0 0 24px;
    padding: clamp(20px, 4vw, 36px);
    border: 1px solid var(--bnd-pr-border-soft);
    border-radius: 4px;
    background: var(--bnd-pr-surface);
}

.bnd-pensioenruimte .bnd-panel-head {
    max-width: 840px;
    margin-bottom: 24px;
}

.bnd-pensioenruimte .bnd-form-shell {
    display: grid;
    gap: 28px;
}

.bnd-pensioenruimte .bnd-form-section {
    padding-top: 24px;
    border-top: 1px solid var(--bnd-pr-border-soft);
}

.bnd-pensioenruimte .bnd-form-section:first-child {
    padding-top: 0;
    border-top: 0;
}

.bnd-pensioenruimte .bnd-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 28px;
    align-items: start;
}

.bnd-pensioenruimte .bnd-grid-span {
    grid-column: 1 / -1;
}

.bnd-pensioenruimte .bnd-field,
.bnd-pensioenruimte .bnd-radio-group {
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

.bnd-pensioenruimte .bnd-field > span:first-child,
.bnd-pensioenruimte .bnd-radio-group > legend {
    display: block;
    width: 100%;
    margin: 0 0 8px;
    padding: 0;
    color: var(--bnd-pr-text);
    font-weight: 500;
    line-height: 1.35;
}

.bnd-pensioenruimte .bnd-field input:not([type="radio"]):not([type="checkbox"]),
.bnd-pensioenruimte .bnd-field select,
.bnd-pensioenruimte .bnd-lead-form input:not([type="radio"]):not([type="checkbox"]) {
    width: 100%;
    min-height: 48px;
    padding: 10px 12px;
    border: 1px solid var(--bnd-pr-border);
    border-radius: 2px;
    color: var(--bnd-pr-text);
    background: var(--bnd-pr-surface);
}

.bnd-pensioenruimte input::placeholder {
    color: #666666;
    opacity: 1;
}

.bnd-pensioenruimte input:hover,
.bnd-pensioenruimte select:hover {
    border-color: var(--bnd-pr-primary);
}

.bnd-pensioenruimte :where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
    outline: 3px solid var(--bnd-pr-focus);
    outline-offset: 3px;
}

.bnd-pensioenruimte .bnd-money {
    position: relative;
    display: block;
}

.bnd-pensioenruimte .bnd-money-prefix {
    position: absolute;
    z-index: 1;
    top: 50%;
    left: 13px;
    color: var(--bnd-pr-muted);
    font-weight: 500;
    transform: translateY(-50%);
    pointer-events: none;
}

.bnd-pensioenruimte .bnd-money input {
    padding-left: 34px !important;
}

.bnd-pensioenruimte .bnd-inline-options {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 24px;
}

.bnd-pensioenruimte .bnd-inline-options--stacked {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    width: 100%;
    min-width: 0;
}

.bnd-pensioenruimte .bnd-inline-options label,
.bnd-pensioenruimte .bnd-checkbox-line,
.bnd-pensioenruimte .bnd-year-list label {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    gap: 9px;
    cursor: pointer;
}

.bnd-pensioenruimte input[type="radio"],
.bnd-pensioenruimte input[type="checkbox"] {
    flex: 0 0 auto;
    width: 24px;
    height: 24px;
    margin: 0;
    accent-color: var(--bnd-pr-primary);
}

.bnd-pensioenruimte .bnd-inline-options .bnd-upo-choice {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 10px 12px;
    align-items: center;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    min-height: 100%;
    padding: 14px;
    overflow: hidden;
    border: 1px solid var(--bnd-pr-border-soft);
    border-radius: 3px;
    background: var(--bnd-pr-surface);
}

.bnd-pensioenruimte .bnd-upo-choice-text {
    min-width: 0;
    overflow-wrap: break-word;
}

.bnd-pensioenruimte .bnd-inline-options .bnd-upo-choice:has(input:checked) {
    border-color: var(--bnd-pr-primary);
    background: var(--bnd-pr-surface-soft);
}

.bnd-pensioenruimte .bnd-upo-choice-image {
    grid-column: 1 / -1;
    display: block;
    width: 100%;
    max-width: 150px;
    min-width: 0;
    height: auto;
    max-height: 150px;
    margin-inline: auto;
    justify-self: center;
    object-fit: contain;
    border: 0;
    background: transparent;
}

/*
 * The pension/UPO area can sit in a narrow Elementor/content column even when
 * the browser viewport itself is wide. Make this section respond to its own
 * available width. The existing viewport media queries remain as a fallback.
 */
@supports (container-type: inline-size) {
    .bnd-pensioenruimte .bnd-form-section--pension {
        container-name: bnd-pension-section;
        container-type: inline-size;
    }

    @container bnd-pension-section (max-width: 820px) {
        .bnd-grid {
            grid-template-columns: 1fr;
        }
    }

    @container bnd-pension-section (max-width: 520px) {
        .bnd-inline-options--stacked {
            grid-template-columns: 1fr;
        }
    }
}

.bnd-pensioenruimte .bnd-date-control {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 48px;
}

.bnd-pensioenruimte .bnd-date-control .bnd-date-input {
    border-radius: 2px 0 0 2px !important;
}

.bnd-pensioenruimte .bnd-date-prefix {
    display: inline-grid;
    min-width: 48px;
    min-height: 48px;
    place-items: center;
    padding: 0;
    border: 1px solid var(--bnd-pr-primary);
    border-left: 0;
    border-radius: 0 2px 2px 0;
    color: #ffffff;
    background: var(--bnd-pr-primary);
    cursor: pointer;
}

.bnd-pensioenruimte .bnd-date-prefix:hover {
    background: var(--bnd-pr-primary-hover);
}

.bnd-pensioenruimte .bnd-date-icon {
    width: 22px;
    height: 22px;
}

.bnd-pensioenruimte .bnd-date-picker {
    position: absolute;
    width: 1px !important;
    height: 1px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}

.bnd-pensioenruimte .bnd-year-picker {
    margin: 0 0 20px;
    padding: 18px;
    border: 1px solid var(--bnd-pr-border-soft);
    border-radius: 3px;
    background: var(--bnd-pr-bg);
}

.bnd-pensioenruimte .bnd-year-picker > legend {
    padding: 0 4px;
    font-weight: 500;
}

.bnd-pensioenruimte .bnd-year-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 20px;
    margin-top: 12px;
}

.bnd-pensioenruimte .bnd-accordion-list {
    display: grid;
    gap: 12px;
}

.bnd-pensioenruimte .bnd-accordion-item {
    border: 1px solid var(--bnd-pr-border-soft);
    border-radius: 3px;
    background: var(--bnd-pr-surface);
}

.bnd-pensioenruimte .bnd-accordion-trigger {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    width: 100%;
    min-height: 64px;
    align-items: center;
    gap: 18px;
    padding: 14px 16px;
    border: 0;
    border-radius: 3px;
    color: var(--bnd-pr-text);
    background: var(--bnd-pr-surface);
    text-align: left;
    cursor: pointer;
}

.bnd-pensioenruimte .bnd-accordion-trigger:hover {
    background: var(--bnd-pr-surface-soft);
}

.bnd-pensioenruimte .bnd-accordion-title {
    display: grid;
    gap: 3px;
}

.bnd-pensioenruimte .bnd-accordion-title .bnd-muted {
    font-size: 0.875rem;
}

.bnd-pensioenruimte .bnd-accordion-symbol {
    display: grid;
    width: 32px;
    height: 32px;
    place-items: center;
    border: 1px solid var(--bnd-pr-primary);
    border-radius: 50%;
    color: var(--bnd-pr-primary);
    font-size: 1.35rem;
    line-height: 1;
}

.bnd-pensioenruimte .bnd-year-amount {
    font-weight: 700;
    white-space: nowrap;
}

.bnd-pensioenruimte .bnd-accordion-body {
    padding: 20px 16px;
    border-top: 1px solid var(--bnd-pr-border-soft);
}

.bnd-pensioenruimte .bnd-status {
    display: inline-block;
    margin-left: 6px;
    padding: 2px 8px;
    border-radius: 999px;
    color: var(--bnd-pr-warning);
    background: var(--bnd-pr-warning-bg);
    font-family: "Museosans", "Museo Sans", Arial, sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    vertical-align: 2px;
}

.bnd-pensioenruimte .bnd-status--ready,
.bnd-pensioenruimte .bnd-status--done {
    color: var(--bnd-pr-success);
    background: var(--bnd-pr-success-bg);
}

.bnd-pensioenruimte .bnd-status--not-applicable {
    color: var(--bnd-pr-muted);
    background: #eceff1;
}

.bnd-pensioenruimte .bnd-age-notice {
    padding: 14px;
    border-left: 4px solid var(--bnd-pr-primary);
    background: var(--bnd-pr-surface-soft);
}

.bnd-pensioenruimte .bnd-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.bnd-pensioenruimte .bnd-btn {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    border: 2px solid transparent;
    border-radius: 2px;
    font-weight: 700;
    line-height: 1.25;
    text-decoration: none;
    cursor: pointer;
}

.bnd-pensioenruimte .bnd-btn--primary {
    border-color: var(--bnd-pr-primary);
    color: #ffffff;
    background: var(--bnd-pr-primary);
}

.bnd-pensioenruimte .bnd-btn--primary:hover {
    border-color: var(--bnd-pr-primary-hover);
    color: #ffffff;
    background: var(--bnd-pr-primary-hover);
}

.bnd-pensioenruimte .bnd-btn--secondary {
    border-color: var(--bnd-pr-primary);
    color: var(--bnd-pr-primary);
    background: #ffffff;
}

.bnd-pensioenruimte .bnd-btn--secondary:hover {
    color: #ffffff;
    background: var(--bnd-pr-primary);
}

.bnd-pensioenruimte .bnd-btn:disabled,
.bnd-pensioenruimte [aria-busy="true"] .bnd-btn {
    cursor: wait;
    opacity: 0.65;
}

.bnd-pensioenruimte .bnd-error,
.bnd-pensioenruimte .bnd-field-error,
.bnd-pensioenruimte .bnd-lead-message.is-error {
    color: var(--bnd-pr-error);
    font-weight: 500;
}

.bnd-pensioenruimte .bnd-error {
    display: none;
    margin-top: 16px;
    padding: 12px 14px;
    border-left: 4px solid var(--bnd-pr-error);
    background: var(--bnd-pr-error-bg);
}

.bnd-pensioenruimte .bnd-error.is-visible {
    display: block;
}

.bnd-pensioenruimte .bnd-field-error {
    margin: 7px 0 0;
    font-size: 0.875rem;
}

.bnd-pensioenruimte .has-error input,
.bnd-pensioenruimte .has-error select,
.bnd-pensioenruimte .is-invalid {
    border-color: var(--bnd-pr-error) !important;
}

.bnd-pensioenruimte .bnd-year-list input[aria-invalid="true"] {
    box-shadow: 0 0 0 2px var(--bnd-pr-error);
}

.bnd-pensioenruimte .bnd-result {
    margin-top: 28px;
    padding: clamp(20px, 4vw, 32px);
    border: 2px solid var(--bnd-pr-primary);
    border-top-width: 8px;
    border-radius: 3px;
    background: var(--bnd-pr-surface-soft);
}

.bnd-pensioenruimte .bnd-amount {
    margin: 6px 0 12px;
    color: var(--bnd-pr-primary);
    font-family: "MuseoSlab", "Museo Slab", Georgia, serif;
    font-size: clamp(2rem, 6vw, 3.5rem);
    font-weight: 500;
    line-height: 1.05;
}

.bnd-pensioenruimte .bnd-conclusion {
    max-width: 800px;
}

.bnd-pensioenruimte .bnd-summary-box,
.bnd-pensioenruimte .bnd-tax-box,
.bnd-pensioenruimte .bnd-cta-block {
    margin-top: 20px;
    padding: 18px;
    border: 1px solid var(--bnd-pr-border-soft);
    border-radius: 3px;
    background: var(--bnd-pr-surface);
}

.bnd-pensioenruimte .bnd-calc-lines {
    display: grid;
    gap: 9px;
}

.bnd-pensioenruimte .bnd-calc-lines > div {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 16px;
    padding-bottom: 9px;
    border-bottom: 1px solid var(--bnd-pr-border-soft);
}

.bnd-pensioenruimte .bnd-calc-lines > div:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.bnd-pensioenruimte .bnd-calculation-details > summary {
    display: flex;
    min-height: 44px;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    cursor: pointer;
}

.bnd-pensioenruimte .bnd-calculation-details > summary h4 {
    display: inline;
    margin: 0;
}

.bnd-pensioenruimte .bnd-calculation-details .bnd-calc-lines {
    margin-top: 16px;
}

.bnd-pensioenruimte .bnd-table-wrap {
    max-width: 100%;
    margin-top: 20px;
    overflow-x: auto;
    background: var(--bnd-pr-surface);
}

.bnd-pensioenruimte table {
    width: 100%;
    min-width: 880px;
    border-collapse: collapse;
    font-size: 0.875rem;
}

.bnd-pensioenruimte th,
.bnd-pensioenruimte td {
    padding: 11px 12px;
    border: 1px solid var(--bnd-pr-border-soft);
    text-align: left;
    vertical-align: top;
}

.bnd-pensioenruimte th {
    color: #ffffff;
    background: var(--bnd-pr-primary);
    font-weight: 700;
}

.bnd-pensioenruimte tbody tr:nth-child(even) {
    background: #f6f7f8;
}

.bnd-pensioenruimte .bnd-lead-form {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid var(--bnd-pr-border-soft);
}

.bnd-pensioenruimte .bnd-checkbox-line {
    grid-column: 1 / -1;
    align-items: flex-start;
}

.bnd-pensioenruimte .bnd-checkbox-line input {
    margin-top: 2px;
}

.bnd-pensioenruimte .bnd-lead-message {
    min-height: 24px;
    margin-top: 12px;
}

.bnd-pensioenruimte .bnd-lead-message.is-success {
    color: var(--bnd-pr-success);
    font-weight: 700;
}

.bnd-pensioenruimte .bnd-honeypot {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

.bnd-pensioenruimte .bnd-visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.bnd-pensioenruimte .is-hidden,
.bnd-pensioenruimte [hidden] {
    display: none !important;
}

.bnd-pr-fade-mask-viewport {
    position: fixed;
    z-index: 99990;
    inset: 0 auto 0 var(--bnd-pr-fade-mask-left, 0);
    display: none;
    width: var(--bnd-pr-fade-mask-width, 100vw);
    pointer-events: none;
    transition: opacity var(--bnd-pr-fade-mask-duration, 180ms) ease;
}

.bnd-pr-fade-mask-edge {
    position: absolute;
    left: 0;
    display: block;
    width: 100%;
    height: var(--bnd-pr-fade-mask-height, 96px);
    opacity: 0;
    transition: opacity var(--bnd-pr-fade-mask-duration, 180ms) ease;
}

.bnd-pr-fade-mask-edge--top {
    top: var(--bnd-pr-fade-mask-top-offset, 0);
    background: linear-gradient(to bottom, var(--bnd-pr-fade-mask-bg, #f3f5f6) 0%, transparent var(--bnd-pr-fade-mask-start, 55%));
}

.bnd-pr-fade-mask-edge--bottom {
    bottom: 0;
    background: linear-gradient(to top, var(--bnd-pr-fade-mask-bg, #f3f5f6) 0%, transparent var(--bnd-pr-fade-mask-start, 55%));
}

.bnd-pr-fade-mask-viewport.is-top-active .bnd-pr-fade-mask-edge--top,
.bnd-pr-fade-mask-viewport.is-bottom-active .bnd-pr-fade-mask-edge--bottom {
    opacity: 1;
}

.bnd-pr-fade-mask-viewport.is-focus-suppressed {
    opacity: 0;
}

@media (min-width: 1025px) {
    .bnd-pr-fade-mask-viewport.is-desktop-enabled { display: block; }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .bnd-pr-fade-mask-viewport.is-tablet-enabled { display: block; }
}

/* Switch the form to its single-column layout before tablet widths become cramped. */
@media (max-width: 1024px) {
    .bnd-pensioenruimte .bnd-grid,
    .bnd-pensioenruimte .bnd-inline-options--stacked {
        grid-template-columns: 1fr;
    }

    .bnd-pensioenruimte .bnd-field--placeholder {
        display: none;
    }
}

@media (max-width: 767px) {
    .bnd-pr-fade-mask-viewport.is-mobile-enabled { display: block; }

    .bnd-pensioenruimte {
        padding-inline: 10px;
    }

    .bnd-pensioenruimte .bnd-panel {
        padding: 20px 16px;
    }

    .bnd-pensioenruimte .bnd-grid,
    .bnd-pensioenruimte .bnd-inline-options--stacked {
        grid-template-columns: 1fr;
    }

    .bnd-pensioenruimte .bnd-field--placeholder {
        display: none;
    }

    .bnd-pensioenruimte .bnd-actions,
    .bnd-pensioenruimte .bnd-btn {
        width: 100%;
    }

    .bnd-pensioenruimte .bnd-accordion-trigger {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 10px;
    }

    .bnd-pensioenruimte .bnd-year-amount {
        grid-column: 1;
        grid-row: 2;
    }

    .bnd-pensioenruimte .bnd-accordion-symbol {
        grid-column: 2;
        grid-row: 1 / 3;
    }

    .bnd-pensioenruimte .bnd-calc-lines > div {
        grid-template-columns: 1fr;
        gap: 3px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .bnd-pensioenruimte *,
    .bnd-pensioenruimte *::before,
    .bnd-pensioenruimte *::after,
    .bnd-pr-fade-mask-viewport,
    .bnd-pr-fade-mask-edge {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}

@media (forced-colors: active) {
    .bnd-pensioenruimte .bnd-btn,
    .bnd-pensioenruimte .bnd-result,
    .bnd-pensioenruimte .bnd-status,
    .bnd-pensioenruimte .bnd-date-prefix {
        forced-color-adjust: auto;
    }
}
