/* Analytics consent: a card over the bottom of the page that never blocks it. Both answers look the same. */
.asb-consent {
    bottom: 0;
    left: 0;
    padding: 0 var(--as-shell-gutter, 16px) 16px;
    pointer-events: none;
    position: fixed;
    right: 0;
    z-index: 90;
}

.asb-consent[hidden] {
    display: none;
}

.asb-consent__inner {
    background: var(--wp--preset--color--base, #fff);
    border: 1px solid var(--wp--preset--color--border, #d9dce5);
    border-radius: 0.75rem;
    box-shadow: 0 8px 28px rgba(28, 28, 84, 0.18);
    color: var(--wp--preset--color--text, #1c1c54);
    display: grid;
    gap: 0.75rem;
    margin: 0 auto;
    max-width: 44rem;
    padding: 1rem 1.25rem;
    pointer-events: auto;
}

.asb-consent__title {
    font-size: var(--fs-h3, 1.125rem);
    line-height: var(--lh-heading, 1.15);
    margin: 0;
}

.asb-consent__text,
.asb-consent__status {
    font-size: var(--fs-small, 0.875rem);
    line-height: var(--lh-body, 1.65);
    margin: 0;
}

.asb-consent__status[hidden] {
    display: none;
}

.asb-consent__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.asb-consent__button {
    background: var(--wp--preset--color--base, #fff);
    border: 2px solid var(--wp--preset--color--brand, #0856f9);
    border-radius: 0.5rem;
    color: var(--wp--preset--color--primary, #1c1c54);
    cursor: pointer;
    flex: 1 1 0;
    font: inherit;
    font-weight: 700;
    min-height: var(--as-control-height, 44px);
    min-width: 0;
    padding: 0.5rem 0.75rem;
}

.asb-consent__button:hover {
    background: var(--wp--preset--color--surface, #f5f7fb);
}

.asb-consent__button:focus-visible,
.asb-consent__title:focus-visible {
    outline: 3px solid var(--wp--preset--color--focus, #0856f9);
    outline-offset: 3px;
}

/* Small phones: the answers stay side by side and the card stays well under half the screen. */
@media (max-width: 26rem) {
    .asb-consent {
        padding: 0 8px 8px;
    }

    .asb-consent__inner {
        gap: 0.5rem;
        padding: 0.75rem 0.875rem;
    }

    .asb-consent__title {
        font-size: 1rem;
    }

    .asb-consent__text,
    .asb-consent__status {
        line-height: 1.45;
    }
}

@media print {
    .asb-consent {
        display: none;
    }
}
