body.bdc-modal-open {
    overflow: hidden;
}

.bdc {
    container-type: inline-size;
}

.bdc__step-title > b {
    flex: 0 0 34px !important;
    min-width: 34px !important;
    width: 34px !important;
}

.bdc__step-title > div {
    min-width: 0;
}

.bdc__step-title h3,
.bdc__result-head h3,
.bdc__modal-card h3 {
    color: #172033 !important;
}

.bdc__step-title p {
    color: #687287 !important;
}

.bdc__grid--2 .bdc__field {
    display: grid;
    grid-template-rows: 1fr auto;
    align-content: stretch;
}

.bdc input[type="number"] {
    appearance: textfield;
    -moz-appearance: textfield;
}

.bdc input[type="number"]::-webkit-inner-spin-button,
.bdc input[type="number"]::-webkit-outer-spin-button {
    margin: 0;
    -webkit-appearance: none;
}

.bdc__hero h2 {
    color: #172033 !important;
}

.bdc__demo-note--live span {
    background: #119d66;
    box-shadow: 0 0 0 4px rgba(17, 157, 102, 0.13);
}

.bdc__region-field {
    grid-template-rows: auto auto auto !important;
}

.bdc__region-field [data-region-search] {
    height: 40px;
    margin-top: 7px;
    font-size: 13px;
}

.bdc__region-field select {
    margin-top: 7px;
}

.bdc__vat-summary {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 7px;
    margin: -2px 0 19px;
}

.bdc__vat-summary span {
    padding: 9px 10px;
    border-radius: 9px;
    background: #f5f7fa;
    color: #697286;
    font-size: 9px;
}

.bdc__vat-summary b {
    display: block;
    margin-top: 2px;
    color: #263047;
    font-size: 11px;
}

.bdc__keyword-mode {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 9px;
    min-width: 0;
    margin: 15px 0;
    padding: 0;
    border: 0;
}

.bdc__management-mode {
    display: grid;
    gap: 10px;
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

.bdc__management-mode label {
    display: flex;
    gap: 11px;
    align-items: flex-start;
    padding: 14px;
    border: 1px solid #d8dde7;
    border-radius: 13px;
    cursor: pointer;
}

.bdc__management-mode label:has(input:checked) {
    border-color: #d7aa00;
    background: #fff8d5;
    box-shadow: 0 0 0 2px rgba(255, 204, 0, 0.14);
}

.bdc__management-mode input {
    margin-top: 4px;
    accent-color: #172033;
}

.bdc__management-mode b,
.bdc__management-mode small {
    display: block;
}

.bdc__management-mode b {
    color: #273044;
    font-size: 13px;
}

.bdc__management-mode small {
    margin-top: 3px;
    color: #737c8d;
    font-size: 10px;
    line-height: 1.4;
}

.bdc__selected-label {
    margin: 16px 4px 0;
    color: #737c8d;
    font-size: 10px;
}

.bdc__selected-label b {
    color: #2f3b52;
}

.bdc__keyword-mode legend {
    grid-column: 1 / -1;
    margin-bottom: 2px;
    color: #424b5f;
    font-size: 12px;
    font-weight: 700;
}

.bdc__keyword-mode label {
    display: flex;
    gap: 9px;
    padding: 11px;
    border: 1px solid #d8dde7;
    border-radius: 11px;
    cursor: pointer;
}

.bdc__keyword-mode label:has(input:checked) {
    border-color: #d7aa00;
    background: #fff9dc;
}

.bdc__keyword-mode input {
    margin-top: 3px;
    accent-color: #172033;
}

.bdc__keyword-mode b,
.bdc__keyword-mode small {
    display: block;
}

.bdc__keyword-mode b {
    color: #273044;
    font-size: 10px;
}

.bdc__keyword-mode small {
    margin-top: 3px;
    color: #788091;
    font-size: 9px;
}

.bdc__field textarea {
    width: 100%;
    margin-top: 7px;
    padding: 12px 13px;
    border: 1px solid #d8dde7;
    border-radius: 12px;
    color: #172033;
    font: 600 13px/1.45 inherit;
    resize: vertical;
}

.bdc__keywords-preview {
    padding: 12px 14px;
    border-radius: 11px;
    background: #f6f7fa;
}

.bdc__keywords-preview > span,
.bdc__keywords-preview small {
    color: #737c8d;
    font-size: 9px;
}

.bdc__keywords-preview p {
    margin: 5px 0;
    color: #344057;
    font-size: 11px;
    line-height: 1.5;
}

.bdc__forecast-button {
    width: 100%;
    margin-top: 12px;
    padding: 13px 16px;
    border: 0;
    border-radius: 12px;
    background: #ffcc00;
    color: #172033;
    font: 800 13px/1.2 inherit;
    cursor: pointer;
}

.bdc__forecast-button:hover {
    background: #f2c200;
}

.bdc__forecast-button:disabled {
    cursor: not-allowed;
    opacity: 0.55;
}

.bdc__forecast-status {
    min-height: 18px;
    margin: 7px 2px 0;
    color: #6c7485;
    font-size: 10px;
}

.bdc__forecast-status--loading {
    color: #8a6500;
}

.bdc__forecast-status--success {
    color: #08784b;
    font-weight: 700;
}

.bdc__forecast-status--error {
    color: #a42b2b;
    font-weight: 700;
}

.bdc__info-disclaimer {
    position: relative;
    z-index: 1;
    max-width: 820px;
    margin-top: 13px;
    padding: 12px 14px;
    border-left: 4px solid #d39a00;
    border-radius: 9px;
    background: rgba(255, 255, 255, 0.82);
    color: #5a523c;
    font-size: 11px;
}

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

.bdc__field input:invalid:not(:placeholder-shown) {
    border-color: #c74343;
}

.bdc__consent a {
    color: #3c526f;
    text-decoration: underline;
}

.bdc__role-group {
    min-width: 0;
    margin: 18px 0 6px;
    padding: 0;
    border: 0;
}

.bdc__role-group legend {
    margin-bottom: 8px;
    color: #424b5f;
    font-size: 12px;
    font-weight: 700;
}

.bdc__role-group > div {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 9px;
}

.bdc__role-group label {
    display: flex;
    gap: 9px;
    align-items: flex-start;
    min-width: 0;
    padding: 12px;
    border: 1px solid #d8dde7;
    border-radius: 12px;
    cursor: pointer;
}

.bdc__role-group label:has(input:checked) {
    border-color: #d7aa00;
    background: #fff9dc;
    box-shadow: 0 0 0 2px rgba(255, 204, 0, 0.14);
}

.bdc__role-group input {
    flex: 0 0 auto;
    margin-top: 3px;
    accent-color: #172033;
}

.bdc__role-group span,
.bdc__role-group b,
.bdc__role-group small {
    display: block;
}

.bdc__role-group b {
    color: #273044;
    font-size: 11px;
    line-height: 1.3;
}

.bdc__role-group small {
    margin-top: 3px;
    color: #788091;
    font-size: 9px;
}

.bdc__consent--contact {
    padding: 10px;
    border-radius: 10px;
    background: #f6f7fa;
}

.bdc__compare dt {
    max-width: 58%;
}

.bdc__compare dd {
    white-space: nowrap;
}

.bdc__modal-card {
    max-height: calc(100vh - 40px);
    overflow-y: auto;
}

.bdc button:focus-visible,
.bdc input:focus-visible,
.bdc select:focus-visible,
.bdc a:focus-visible {
    outline: 3px solid rgba(255, 204, 0, 0.75);
    outline-offset: 2px;
}

.bdc__payback--warning {
    border-color: #efcf75;
    background: #fff8df;
}

.bdc__payback--warning > strong {
    color: #8b6200;
}

.bdc__payback .bdc__client-cost {
    margin: -4px 0 13px;
    padding: 9px 11px;
    border-radius: 9px;
    background: rgba(255, 255, 255, 0.72);
    color: #394358;
    font-weight: 700;
}

@media (max-width: 560px) {
    .bdc__vat-summary,
    .bdc__keyword-mode {
        grid-template-columns: 1fr;
    }

    .bdc__keyword-mode legend {
        grid-column: auto;
    }
    .bdc__role-group > div {
        grid-template-columns: 1fr;
    }

    .bdc__hero h2 {
        overflow-wrap: anywhere;
    }

    .bdc__compare dl div {
        gap: 12px;
    }

    .bdc__compare dd {
        text-align: right;
    }
}

@media (min-width: 921px) and (max-height: 850px) {
    .bdc__results {
        position: static;
    }
}

@container (max-width: 760px) {
    .bdc__layout,
    .bdc__grid--2,
    .bdc__compare,
    .bdc__forecast,
    .bdc__vat-summary,
    .bdc__keyword-mode,
    .bdc__role-group > div {
        grid-template-columns: 1fr;
    }

    .bdc__results {
        position: static;
    }

    .bdc__forecast div {
        border-right: 0;
        border-bottom: 1px solid #dde1e9;
    }

    .bdc__forecast div:last-child {
        border-bottom: 0;
    }

    .bdc__keyword-mode legend {
        grid-column: auto;
    }
}

@media print {
    body.bdc-is-printing .bdc-report-portal {
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }

    .bdc-report a {
        color: inherit !important;
        text-decoration: none !important;
    }

    .bdc-report h1,
    .bdc-report h2,
    .bdc-report p,
    .bdc-report th,
    .bdc-report td {
        color: #172033 !important;
    }

    .bdc-report footer,
    .bdc-report footer h2,
    .bdc-report footer p {
        color: #fff !important;
    }

    .bdc-report__warning {
        margin: 14px 0 0;
        padding: 10px 12px;
        border-left: 4px solid #d39a00;
        background: #fff8df !important;
        break-inside: avoid;
    }

    .bdc-report__warning p {
        margin: 3px 0 0;
        color: #5f563e;
        font-size: 8pt;
    }

    .bdc-report__metrics {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        align-items: stretch;
    }

    .bdc-report__metrics--4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .bdc-report__metrics > div {
        min-width: 0;
    }

    .bdc-report__metrics b,
    .bdc-report th:not(:first-child),
    .bdc-report td:not(:first-child) {
        font-variant-numeric: tabular-nums;
    }

    .bdc-report__metrics b {
        white-space: nowrap;
        font-size: 11.5pt;
    }

    .bdc-report table {
        table-layout: fixed;
    }

    .bdc-report th,
    .bdc-report td {
        vertical-align: middle;
    }

    .bdc-report > section:nth-of-type(4) {
        break-before: page;
        page-break-before: always;
    }

    .bdc-report th:first-child,
    .bdc-report td:first-child {
        width: 42%;
    }

    .bdc-report th:not(:first-child),
    .bdc-report td:not(:first-child) {
        white-space: nowrap;
        font-size: 8.5pt;
    }

    .bdc-report__keywords {
        font-size: 8pt;
        line-height: 1.45;
    }
}
