.lj-consent,
.lj-consent * {
    box-sizing: border-box;
}
.lj-consent-backdrop {
    position: fixed;
    z-index: 99997;
    inset: 0;
    background: rgb(18 20 24 / 70%);
    pointer-events: none;
}
.lj-consent {
    position: fixed;
    z-index: 99999;
    top: auto;
    right: auto;
    bottom: max(18px, env(safe-area-inset-bottom));
    left: 50%;
    width: min(450px, calc(100vw - 28px));
    max-height: min(84vh, 760px);
    overflow: auto;
    padding: 22px 20px 18px;
    border: 1px solid var(--lj-banner-border, #e3e6ec);
    border-radius: 13px;
    background: var(--lj-banner-background, #fff);
    color: var(--lj-banner-text, #172b4d);
    box-shadow: 0 15px 48px rgb(0 0 0 / 24%);
    font: 15px/1.5 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    transform: translateX(-50%);
}
.lj-consent.is-summary {
    display: block;
    padding: 24px 22px 22px;
    overflow: visible;
}
.lj-consent-brand {
    position: absolute;
    top: 21px;
    right: 20px;
    color: var(--lj-banner-accent, #00a66c);
    font-size: 12px;
    font-weight: 700;
}
.lj-consent-copy {
    min-width: 0;
}
.lj-consent-heading h2 {
    margin: 0;
    padding-right: 94px;
    color: var(--lj-banner-accent, #00a66c);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.35;
}
.lj-consent-description {
    max-width: 46ch;
    margin: 12px 0 8px;
    color: var(--lj-banner-secondary, #59636e);
    font-size: 13px;
}
.lj-consent-policy {
    color: var(--lj-banner-secondary, #59636e);
    font-size: 12px;
}
.lj-consent-policy a {
    color: var(--lj-banner-accent, #00a66c);
    font-weight: 650;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.lj-consent-policy .is-unavailable {
    color: var(--lj-banner-accent, #00a66c);
    font-weight: 650;
    text-decoration: underline dotted;
    text-underline-offset: 3px;
}
.lj-consent-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 16px;
}
.lj-consent-button,
.lj-consent-close,
.lj-privacy-button {
    min-height: 44px;
    border: 1px solid var(--lj-banner-accept, #00ad73);
    border-radius: 24px;
    background: var(--lj-banner-accept, #00ad73);
    color: var(--lj-banner-accept-text, #fff);
    font: inherit;
    cursor: pointer;
    transition: background-color 150ms ease, border-color 150ms ease, box-shadow 150ms ease;
}
.lj-consent-button {
    min-width: 0;
    padding: 10px 12px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.25;
    text-align: center;
    white-space: normal;
    overflow-wrap: anywhere;
}
.lj-consent-button:hover,
.lj-privacy-button:hover {
    filter: brightness(.92);
}
.lj-consent-button.is-reject {
    border-color: var(--lj-banner-reject, #e5b629);
    background: var(--lj-banner-reject, #f2c94c);
    color: var(--lj-banner-reject-text, #172b4d);
}
.lj-consent-button.is-reject:hover {
    filter: brightness(.92);
}
.lj-consent-button:focus-visible,
.lj-consent-close:focus-visible,
.lj-consent-toggle:focus-visible,
.lj-privacy-button:focus-visible,
.lj-consent-policy a:focus-visible {
    outline: 3px solid #2466ae;
    outline-offset: 3px;
}
.lj-consent-button.is-link {
    grid-column: 1 / -1;
    min-height: 32px;
    padding: 4px 8px;
    border-color: transparent;
    background: transparent;
    color: var(--lj-banner-accent, #00a66c);
    font-weight: 650;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.lj-consent-button.is-link:hover {
    border-color: transparent;
    background: color-mix(in srgb, var(--lj-banner-accent, #00a66c) 10%, white);
}
.lj-consent.is-preferences {
    top: 50%;
    left: 50%;
    right: auto;
    bottom: auto;
    width: min(900px, calc(100vw - 40px));
    max-height: min(90dvh, 820px);
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-color: color-mix(in srgb, var(--lj-banner-secondary, #53647e) 40%, transparent) transparent;
    scrollbar-width: thin;
    padding: 22px 28px 18px;
    transform: translate(-50%, -50%);
}
.lj-consent.is-preferences .lj-consent-brand {
    display: none;
}
.lj-consent.is-preferences .lj-consent-heading {
    position: relative;
    display: block;
    text-align: center;
}
.lj-consent.is-preferences .lj-consent-heading h2 {
    padding: 0 48px;
    color: var(--lj-banner-text, #172b4d);
    font-size: clamp(19px, 2vw, 22px);
    font-weight: 750;
    letter-spacing: -0.025em;
    line-height: 1.25;
    text-align: center;
}
.lj-consent.is-preferences .lj-consent-heading h2::after {
    display: block;
    width: 44px;
    height: 3px;
    margin: 8px auto 0;
    border-radius: 999px;
    background: var(--lj-banner-accent, #00ad73);
    content: '';
}
.lj-consent-close {
    display: grid;
    position: absolute;
    top: 50%;
    right: 0;
    width: 40px;
    min-height: 40px;
    place-items: center;
    padding: 0;
    border-color: var(--lj-banner-border, #c5ccd6);
    border-radius: 50%;
    background: #fff;
    color: var(--lj-banner-text, #26354b);
    transform: translateY(-50%);
}
.lj-consent-close svg {
    display: block;
    width: 20px;
    height: 20px;
}
.lj-consent-close:hover {
    border-color: #8d98a8;
    background: #f1f4f7;
}
.lj-consent.is-preferences .lj-consent-description {
    margin: 8px auto 10px;
    text-align: center;
}
.lj-consent.is-preferences .lj-consent-policy {
    margin-bottom: 12px;
    text-align: center;
}
.lj-consent-categories {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 24px;
    margin: 0 0 10px;
    border-top: 1px solid var(--lj-banner-border, #dce3ed);
}
.lj-consent-category {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 2px;
    border-bottom: 1px solid var(--lj-banner-border, #dce3ed);
}
.lj-consent-category-copy {
    min-width: 0;
}
.lj-consent.is-preferences .lj-consent-category-copy {
    flex: 1;
    text-align: left;
}
.lj-consent-category-title {
    display: inline-block;
    color: var(--lj-banner-text, #172b4d);
    font-size: 13px;
    font-weight: 650;
    cursor: pointer;
}
.lj-consent-category-description {
    max-width: 54ch;
    margin: 2px 0 0;
    color: var(--lj-banner-secondary, #53647e);
    font-size: 12.5px;
    line-height: 1.35;
}
.lj-consent-required {
    flex: 0 0 auto;
    padding: 5px 9px;
    border: 1px solid var(--lj-banner-border, #dce3ed);
    border-radius: 999px;
    color: var(--lj-banner-secondary, #53647e);
    background: color-mix(in srgb, var(--lj-banner-background, #fff) 88%, var(--lj-banner-secondary, #53647e));
    font-size: 12px;
    font-weight: 650;
    white-space: nowrap;
}
.lj-consent.is-preferences .lj-consent-category-description {
    margin-right: 0;
    margin-left: 0;
}
.lj-consent-toggle {
    flex: 0 0 auto;
    width: 22px;
    height: 22px;
    margin: 0 4px 0 0;
    accent-color: var(--lj-banner-accent, #244b83);
    cursor: pointer;
}
.lj-consent-toggle:disabled {
    cursor: not-allowed;
    opacity: .5;
}
.lj-consent.is-preferences .lj-consent-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 8px;
}
@media (min-width: 721px) and (max-height: 720px) {
    .lj-consent.is-preferences {
        max-height: calc(100dvh - 24px);
        padding: 16px 24px 14px;
    }
    .lj-consent.is-preferences .lj-consent-description {
        margin: 6px auto 8px;
    }
    .lj-consent.is-preferences .lj-consent-policy {
        margin-bottom: 8px;
    }
    .lj-consent.is-preferences .lj-consent-categories {
        column-gap: 20px;
        margin-bottom: 6px;
    }
    .lj-consent.is-preferences .lj-consent-category {
        padding: 7px 2px;
    }
}
@media (min-width: 521px) and (max-width: 720px) {
    .lj-consent.is-preferences .lj-consent-categories {
        grid-template-columns: minmax(0, 1fr);
    }
    .lj-consent.is-preferences .lj-consent-actions {
        position: sticky;
        bottom: -18px;
        z-index: 2;
        margin: 4px -28px -18px;
        padding: 10px 28px 18px;
        background: var(--lj-banner-background, #fff);
        box-shadow: 0 -6px 14px rgb(15 23 42 / 7%);
    }
}
.lj-privacy-button {
    position: fixed;
    z-index: 99998;
    left: 16px;
    bottom: 16px;
    display: grid;
    width: 46px;
    height: 46px;
    min-height: 46px;
    place-items: center;
    padding: 0;
    border-color: var(--lj-banner-accent, #00a66c);
    border-radius: 50%;
    background: var(--lj-banner-accent, #00a66c);
    color: var(--lj-banner-accept-text, #fff);
    font-size: 20px;
    box-shadow: 0 2px 10px rgb(15 23 42 / 12%);
}
.lj-privacy-button[hidden] {
    display: none !important;
}
.lj-privacy-button svg {
    display: block;
    width: 22px;
    height: 22px;
}
@media (max-width: 520px) {
    .lj-consent {
        bottom: 12px;
        width: calc(100vw - 24px);
        max-height: min(82vh, 720px);
        padding: 18px;
    }
    .lj-consent-brand {
        top: 19px;
        right: 18px;
    }
    .lj-consent-actions,
    .lj-consent.is-preferences .lj-consent-actions {
        grid-template-columns: 1fr;
    }
    .lj-consent-button.is-link,
    .lj-consent.is-preferences .lj-consent-button.is-primary {
        grid-column: 1;
    }
    .lj-consent.is-preferences {
        top: 50%;
        left: 50%;
        right: auto;
        bottom: auto;
        width: calc(100vw - 24px);
        max-height: calc(100dvh - max(12px, env(safe-area-inset-top)) - max(12px, env(safe-area-inset-bottom)));
        padding: 14px 16px 12px;
        transform: translate(-50%, -50%);
    }
    .lj-consent.is-preferences .lj-consent-heading h2 {
        padding: 0 44px;
        font-size: 19px;
    }
    .lj-consent.is-preferences .lj-consent-description {
        margin: 7px auto 8px;
        font-size: 12.5px;
        line-height: 1.35;
    }
    .lj-consent.is-preferences .lj-consent-policy {
        margin-bottom: 10px;
        font-size: 11.5px;
        line-height: 1.35;
    }
    .lj-consent.is-preferences .lj-consent-categories {
        grid-template-columns: minmax(0, 1fr);
        margin-bottom: 6px;
    }
    .lj-consent.is-preferences .lj-consent-category {
        padding: 8px 1px;
    }
    .lj-consent.is-preferences .lj-consent-category-title {
        font-size: 13px;
    }
    .lj-consent.is-preferences .lj-consent-category-description {
        font-size: 13px;
        line-height: 1.3;
    }
    .lj-consent.is-preferences .lj-consent-actions {
        position: sticky;
        bottom: -12px;
        z-index: 2;
        margin: 4px -16px -12px;
        padding: 8px 16px max(12px, env(safe-area-inset-bottom));
        background: var(--lj-banner-background, #fff);
        box-shadow: 0 -6px 14px rgb(15 23 42 / 7%);
    }
    .lj-consent.is-summary {
        padding: 18px 16px;
    }
    .lj-consent.is-preferences .lj-consent-button.is-primary,
    .lj-consent.is-summary .lj-consent-button.is-primary {
        grid-row: 1;
    }
    .lj-consent.is-preferences .lj-consent-button.is-reject,
    .lj-consent.is-summary .lj-consent-button.is-reject {
        grid-row: 2;
    }
    .lj-consent.is-summary .lj-consent-button.is-link {
        grid-row: 3;
    }
    .lj-privacy-button {
        left: 12px;
        bottom: 12px;
    }
}
@media (prefers-reduced-motion: reduce) {
    .lj-consent-button,
    .lj-consent-close,
    .lj-privacy-button {
        transition: none;
    }
}
