:root {
    --goo-consent-accent: #ffd000;
    --goo-consent-ink: #171717;
    --goo-consent-paper: #ffffff;
    --goo-consent-muted: #666666;
    --goo-consent-border: #d8d8d8;
    --goo-consent-overlay: rgba(23, 23, 23, 0.56);
    --goo-consent-radius: 16px;
    --goo-consent-shadow: 0 18px 50px rgba(0, 0, 0, 0.16);
    --goo-consent-focus: 3px solid #171717;
}

.goo-consent,
.goo-consent *,
.goo-consent *::before,
.goo-consent *::after {
    box-sizing: border-box;
}

.goo-consent {
    position: relative;
    z-index: 2147483000;
    font-family:
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
    color: var(--goo-consent-ink);
    line-height: 1.45;
}

.goo-consent [hidden] {
    display: none !important;
}

.goo-consent__banner {
    position: fixed;
    right: 20px;
    bottom: 20px;
    left: 20px;
    z-index: 2147483000;
}

.goo-consent__surface {
    width: min(1120px, 100%);
    margin: 0 auto;
    padding: 22px;
    display: grid;
    grid-template-columns:
        minmax(0, 1fr)
        minmax(280px, auto);
    gap: 22px;
    align-items: center;
    background: var(--goo-consent-paper);
    border: 1px solid var(--goo-consent-border);
    border-radius: var(--goo-consent-radius);
    box-shadow: var(--goo-consent-shadow);
}

.goo-consent__copy {
    min-width: 0;
}

.goo-consent__title {
    margin: 0;
    color: var(--goo-consent-ink);
    font-size: clamp(1.2rem, 2vw, 1.55rem);
    line-height: 1.2;
    font-weight: 750;
}

.goo-consent__description {
    margin: 9px 0 0;
    color: var(--goo-consent-muted);
    font-size: 0.96rem;
}

.goo-consent__policy {
    display: inline-block;
    margin-top: 10px;
    color: var(--goo-consent-ink);
    font-weight: 650;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.goo-consent__actions,
.goo-consent__modal-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.goo-consent__actions {
    justify-content: flex-end;
}

.goo-consent__button,
.goo-consent__settings,
.goo-consent__close {
    appearance: none;
    border: 0;
    font: inherit;
    cursor: pointer;
}

.goo-consent__button {
    min-height: 44px;
    padding: 10px 16px;
    border-radius: 10px;
    font-weight: 700;
    transition:
        transform 120ms ease,
        box-shadow 120ms ease,
        background-color 120ms ease;
}

.goo-consent__button--choice {
    background: var(--goo-consent-ink);
    color: var(--goo-consent-paper);
}

.goo-consent__button--secondary {
    background: var(--goo-consent-paper);
    color: var(--goo-consent-ink);
    border: 1px solid var(--goo-consent-ink);
}

.goo-consent__button:hover,
.goo-consent__settings:hover {
    transform: translateY(-1px);
}

.goo-consent__button:focus-visible,
.goo-consent__settings:focus-visible,
.goo-consent__close:focus-visible,
.goo-consent__toggle input:focus-visible
    + .goo-consent__toggle-track,
.goo-consent__policy:focus-visible {
    outline: var(--goo-consent-focus);
    outline-offset: 3px;
}

.goo-consent__backdrop {
    position: fixed;
    inset: 0;
    z-index: 2147483001;
    display: grid;
    place-items: center;
    padding: 24px;
    overflow-y: auto;
    background: var(--goo-consent-overlay);
}

.goo-consent__modal {
    width: min(720px, 100%);
    max-height: min(88vh, 840px);
    overflow-y: auto;
    background: var(--goo-consent-paper);
    border-radius: var(--goo-consent-radius);
    box-shadow: var(--goo-consent-shadow);
    outline: none;
}

.goo-consent__modal-header {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    justify-content: space-between;
    padding: 24px;
    border-bottom: 1px solid var(--goo-consent-border);
}

.goo-consent__close {
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: transparent;
    color: var(--goo-consent-ink);
    font-size: 1.8rem;
    line-height: 1;
}

.goo-consent__close:hover {
    background: #f3f3f3;
}

.goo-consent__categories {
    padding: 0 24px;
}

.goo-consent__category {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 20px;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid var(--goo-consent-border);
}

.goo-consent__category:last-child {
    border-bottom: 0;
}

.goo-consent__category-title {
    margin: 0;
    font-size: 1rem;
    font-weight: 750;
}

.goo-consent__category-description {
    margin: 5px 0 0;
    color: var(--goo-consent-muted);
    font-size: 0.9rem;
}

.goo-consent__category-control {
    display: flex;
    align-items: center;
    gap: 10px;
}

.goo-consent__required {
    font-size: 0.82rem;
    font-weight: 700;
    white-space: nowrap;
}

.goo-consent__toggle {
    position: relative;
    display: inline-flex;
    align-items: center;
    cursor: pointer;
}

.goo-consent__toggle input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.goo-consent__toggle-track {
    width: 48px;
    height: 28px;
    padding: 3px;
    display: block;
    border-radius: 999px;
    background: #b9b9b9;
    transition: background-color 140ms ease;
}

.goo-consent__toggle-thumb {
    width: 22px;
    height: 22px;
    display: block;
    border-radius: 50%;
    background: var(--goo-consent-paper);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.22);
    transition: transform 140ms ease;
}

.goo-consent__toggle input:checked
    + .goo-consent__toggle-track {
    background: var(--goo-consent-ink);
}

.goo-consent__toggle input:checked
    + .goo-consent__toggle-track
    .goo-consent__toggle-thumb {
    transform: translateX(20px);
}

.goo-consent__modal-policy {
    margin: 0 24px;
}

.goo-consent__modal-actions {
    padding: 24px;
    border-top: 1px solid var(--goo-consent-border);
}

.goo-consent__modal-actions
    .goo-consent__button {
    flex: 1 1 160px;
}

.goo-consent__settings {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 2147482999;
    min-height: 42px;
    padding: 9px 14px;
    border: 1px solid var(--goo-consent-ink);
    border-radius: 999px;
    background: var(--goo-consent-paper);
    color: var(--goo-consent-ink);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.14);
    font-weight: 700;
    transition:
        transform 120ms ease,
        box-shadow 120ms ease;
}

.goo-consent__sr-only {
    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;
}

.goo-consent-modal-open {
    overflow: hidden;
}

@media (max-width: 760px) {
    .goo-consent__banner {
        right: 12px;
        bottom: 12px;
        left: 12px;
    }

    .goo-consent__surface {
        grid-template-columns: 1fr;
        padding: 18px;
    }

    .goo-consent__actions {
        justify-content: stretch;
    }

    .goo-consent__actions
        .goo-consent__button {
        flex: 1 1 100%;
    }

    .goo-consent__backdrop {
        padding: 12px;
        align-items: end;
    }

    .goo-consent__modal {
        width: 100%;
        max-height: 92vh;
        border-radius: 16px 16px 0 0;
    }

    .goo-consent__modal-header,
    .goo-consent__categories,
    .goo-consent__modal-actions {
        padding-left: 18px;
        padding-right: 18px;
    }

    .goo-consent__category {
        gap: 14px;
    }

    .goo-consent__settings {
        right: 12px;
        bottom: 12px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .goo-consent *,
    .goo-consent *::before,
    .goo-consent *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.001ms !important;
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
    }
}

/* Service and cookie disclosure */

.goo-consent__services {
    grid-column: 1 / -1;
    margin-top: 0.85rem;
    padding-top: 0.85rem;
    border-top: 1px solid var(--goo-consent-border);
}

.goo-consent__services-title {
    margin: 0 0 0.6rem;
    font-size: 0.9rem;
    font-weight: 700;
}

.goo-consent__services-empty {
    margin: 0;
    color: var(--goo-consent-muted);
    font-size: 0.84rem;
}

.goo-consent__service-list {
    display: grid;
    gap: 0.55rem;
}

.goo-consent__service {
    border: 1px solid var(--goo-consent-border);
    border-radius: 10px;
    background: var(--goo-consent-paper);
}

.goo-consent__service-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.7rem 0.8rem;
    cursor: pointer;
}

.goo-consent__service-summary:focus-visible {
    outline: var(--goo-consent-focus);
    outline-offset: 2px;
}

.goo-consent__service-name {
    font-weight: 700;
}

.goo-consent__service-provider {
    color: var(--goo-consent-muted);
    font-size: 0.8rem;
}

.goo-consent__service-body {
    display: grid;
    gap: 0.9rem;
    padding: 0.2rem 0.8rem 0.85rem;
}

.goo-consent__service-field {
    display: grid;
    gap: 0.25rem;
    font-size: 0.84rem;
}

.goo-consent__service-field a {
    color: var(--goo-consent-ink);
    overflow-wrap: anywhere;
}

.goo-consent__service-field a:focus-visible {
    outline: var(--goo-consent-focus);
    outline-offset: 2px;
}

.goo-consent__service-storage {
    display: grid;
    gap: 0.45rem;
}

.goo-consent__service-storage h5 {
    margin: 0;
    font-size: 0.84rem;
}

.goo-consent__service-storage p {
    margin: 0;
    color: var(--goo-consent-muted);
    font-size: 0.82rem;
}

.goo-consent__service-table-wrap {
    overflow-x: auto;
}

.goo-consent__service-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.78rem;
}

.goo-consent__service-table th,
.goo-consent__service-table td {
    padding: 0.45rem 0.5rem;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid var(--goo-consent-border);
}

.goo-consent__service-table th {
    font-weight: 700;
}

.goo-consent__service-table tbody tr:last-child td {
    border-bottom: 0;
}

.goo-consent__service-table code {
    font-size: 0.76rem;
    overflow-wrap: anywhere;
}

@media (max-width: 640px) {
    .goo-consent__service-summary {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* P12 accessibility and viewport hardening */

.goo-consent {
    max-width: 100%;
}

.goo-consent__banner,
.goo-consent__backdrop,
.goo-consent__modal,
.goo-consent__surface,
.goo-consent__categories,
.goo-consent__category,
.goo-consent__services,
.goo-consent__service,
.goo-consent__service-body {
    min-width: 0;
}

.goo-consent__backdrop {
    overscroll-behavior: contain;
}

.goo-consent__modal {
    max-width: 100%;
    max-height: min(88vh, 840px);
    max-height: min(88dvh, 840px);
    overscroll-behavior: contain;
}

.goo-consent__surface,
.goo-consent__category-copy,
.goo-consent__service-body,
.goo-consent__service-field {
    overflow-wrap: anywhere;
}

.goo-consent__service-table-wrap {
    max-width: 100%;
    overscroll-behavior-inline: contain;
}

.goo-consent__service-table {
    min-width: 100%;
}

@media (max-width: 760px) {
    .goo-consent__backdrop {
        max-width: 100vw;
        max-width: 100dvw;
    }

    .goo-consent__modal {
        max-height: 92vh;
        max-height: 92dvh;
    }
}

/* P15 — Goosialize visual polish */

.goo-consent__surface {
    position: relative;
    overflow: hidden;
    border-color: rgba(23, 23, 23, 0.16);
}

.goo-consent__surface::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 4px;
    background: var(--goo-consent-accent);
}

.goo-consent__banner .goo-consent__title {
    font-size: clamp(1.25rem, 2vw, 1.5rem);
    letter-spacing: -0.025em;
}

.goo-consent__banner .goo-consent__description {
    max-width: 690px;
}

.goo-consent__button {
    min-height: 46px;
    padding-inline: 18px;
}

.goo-consent__button--choice {
    border: 1px solid var(--goo-consent-ink);
}

.goo-consent__actions
    [data-goosialize-consent-action="accept-all"],
.goo-consent__modal-actions
    [data-goosialize-consent-action="accept-all"] {
    background: var(--goo-consent-accent);
    color: var(--goo-consent-ink);
    border-color: var(--goo-consent-accent);
}

.goo-consent__actions
    [data-goosialize-consent-action="reject-all"],
.goo-consent__modal-actions
    [data-goosialize-consent-action="reject-all"] {
    background: var(--goo-consent-ink);
    color: var(--goo-consent-paper);
}

.goo-consent__modal {
    width: min(860px, 100%);
    max-height: min(86vh, 900px);
    max-height: min(86dvh, 900px);
    border: 1px solid rgba(23, 23, 23, 0.14);
}

.goo-consent__modal-header {
    position: sticky;
    top: 0;
    z-index: 3;
    padding: 26px 28px 22px;
    background: var(--goo-consent-paper);
}

.goo-consent__modal-header::after {
    content: "";
    position: absolute;
    right: 28px;
    bottom: -1px;
    left: 28px;
    height: 3px;
    background:
        linear-gradient(
            90deg,
            var(--goo-consent-accent) 0 72px,
            transparent 72px
        );
}

.goo-consent__modal
    > .goo-consent__modal-header
    .goo-consent__title {
    font-size: 1.45rem;
    letter-spacing: -0.025em;
}

.goo-consent__modal
    > .goo-consent__modal-header
    .goo-consent__description {
    max-width: 620px;
    font-size: 0.92rem;
}

.goo-consent__categories {
    padding: 4px 28px 10px;
}

.goo-consent__category {
    grid-template-columns:
        minmax(0, 1fr)
        auto;
    align-items: start;
    column-gap: 24px;
    row-gap: 14px;
    padding: 24px 0;
}

.goo-consent__category-copy {
    align-self: center;
}

.goo-consent__category-title {
    font-size: 1.05rem;
    letter-spacing: -0.012em;
}

.goo-consent__category-description {
    max-width: 610px;
    font-size: 0.88rem;
    line-height: 1.5;
}

.goo-consent__category-control,
.goo-consent__toggle {
    align-self: center;
    justify-self: end;
}

.goo-consent__required {
    padding: 6px 10px;
    border-radius: 999px;
    background: #f2f2f2;
    color: var(--goo-consent-ink);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.045em;
}

.goo-consent__category-control
    input[disabled] {
    width: 16px;
    height: 16px;
    accent-color: var(--goo-consent-ink);
}

.goo-consent__toggle-track {
    width: 50px;
    height: 30px;
}

.goo-consent__toggle-thumb {
    width: 24px;
    height: 24px;
}

.goo-consent__toggle input:checked
    + .goo-consent__toggle-track
    .goo-consent__toggle-thumb {
    transform: translateX(20px);
}

.goo-consent__services {
    margin-top: 2px;
    padding-top: 14px;
}

.goo-consent__services-title {
    margin-bottom: 9px;
    color: var(--goo-consent-muted);
    font-size: 0.72rem;
    font-weight: 750;
    text-transform: uppercase;
    letter-spacing: 0.065em;
}

.goo-consent__services-empty {
    padding: 10px 12px;
    border-radius: 9px;
    background: #f7f7f7;
    font-size: 0.8rem;
}

.goo-consent__service-list {
    gap: 8px;
}

.goo-consent__service {
    overflow: hidden;
    border-color: rgba(23, 23, 23, 0.14);
    border-radius: 11px;
    transition:
        border-color 120ms ease,
        box-shadow 120ms ease;
}

.goo-consent__service[open] {
    border-color: rgba(23, 23, 23, 0.28);
    box-shadow:
        0 8px 22px
        rgba(0, 0, 0, 0.055);
}

.goo-consent__service-summary {
    min-height: 48px;
    padding: 11px 14px;
    background: #fff;
}

.goo-consent__service-summary::after {
    content: "›";
    flex: 0 0 auto;
    margin-left: 8px;
    font-size: 1.25rem;
    line-height: 1;
    transition: transform 120ms ease;
}

.goo-consent__service[open]
    > .goo-consent__service-summary::after {
    transform: rotate(90deg);
}

.goo-consent__service-name {
    flex: 1 1 auto;
    font-size: 0.86rem;
}

.goo-consent__service-provider {
    flex: 0 0 auto;
    padding: 4px 8px;
    border-radius: 999px;
    background: #f3f3f3;
    font-size: 0.7rem;
}

.goo-consent__service-body {
    padding: 14px;
    border-top: 1px solid var(--goo-consent-border);
    background: #fbfbfb;
}

.goo-consent__service-field {
    font-size: 0.82rem;
    line-height: 1.5;
}

.goo-consent__service-storage h5 {
    font-size: 0.76rem;
    text-transform: uppercase;
    letter-spacing: 0.045em;
}

.goo-consent__service-table {
    background: var(--goo-consent-paper);
    font-size: 0.76rem;
}

.goo-consent__service-table th {
    color: var(--goo-consent-muted);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.035em;
}

.goo-consent__modal-policy {
    margin: 4px 28px 18px;
}

.goo-consent__modal-actions {
    position: sticky;
    bottom: 0;
    z-index: 4;
    gap: 12px;
    padding: 18px 28px;
    border-top:
        1px solid
        rgba(23, 23, 23, 0.14);
    background:
        rgba(255, 255, 255, 0.98);
    box-shadow:
        0 -10px 25px
        rgba(0, 0, 0, 0.045);
}

.goo-consent__modal-actions
    .goo-consent__button {
    min-height: 48px;
}

@media (max-width: 760px) {
    .goo-consent__surface {
        padding: 20px 18px;
    }

    .goo-consent__modal {
        max-height: 94vh;
        max-height: 94dvh;
    }

    .goo-consent__modal-header {
        padding:
            22px
            18px
            18px;
    }

    .goo-consent__modal-header::after {
        right: 18px;
        left: 18px;
    }

    .goo-consent__categories {
        padding:
            0
            18px
            8px;
    }

    .goo-consent__category {
        grid-template-columns:
            minmax(0, 1fr)
            auto;
        column-gap: 14px;
        row-gap: 12px;
        padding: 20px 0;
    }

    .goo-consent__services {
        grid-column: 1 / -1;
    }

    .goo-consent__modal-policy {
        margin:
            4px
            18px
            16px;
    }

    .goo-consent__modal-actions {
        padding:
            14px
            18px
            calc(
                14px
                + env(
                    safe-area-inset-bottom
                )
            );
    }

    .goo-consent__modal-actions
        .goo-consent__button {
        flex: 1 1 100%;
    }

    .goo-consent__service-summary {
        align-items: center;
        flex-direction: row;
    }

    .goo-consent__service-provider {
        max-width: 42%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
}

@media (prefers-reduced-motion: reduce) {
    .goo-consent__service,
    .goo-consent__service-summary::after {
        transition: none !important;
    }
}

/* P15-R2 — equal visual prominence for consent choices */

.goo-consent__actions
    [data-goosialize-consent-action="accept-all"],
.goo-consent__actions
    [data-goosialize-consent-action="reject-all"],
.goo-consent__modal-actions
    [data-goosialize-consent-action="accept-all"],
.goo-consent__modal-actions
    [data-goosialize-consent-action="reject-all"] {
    background: var(--goo-consent-ink);
    color: var(--goo-consent-paper);
    border-color: var(--goo-consent-ink);
}

.goo-consent__modal-actions
    [data-goosialize-consent-action="save"] {
    background: var(--goo-consent-paper);
    color: var(--goo-consent-ink);
    border: 1px solid var(--goo-consent-ink);
}

/* P22 — bounded presentation-provider frontend rendering */

.goo-consent[data-goosialize-presentation="appearance"] {
    --goo-p-effective-edge: var(--goo-p-banner-edge);
}

.goo-consent[data-goosialize-presentation="appearance"]
    .goo-consent__banner {
    right: auto;
    bottom: var(--goo-p-effective-edge);
    left: var(--goo-p-effective-edge);
}

.goo-consent[data-goosialize-presentation="appearance"]
    .goo-consent__surface {
    width: min(
        var(--goo-p-banner-max-width),
        100%
    );
    padding:
        var(--goo-p-banner-padding-y)
        var(--goo-p-banner-padding-x);
    background: var(--goo-p-banner-background);
    color: var(--goo-p-banner-text);
    border:
        var(--goo-p-banner-border-width)
        var(--goo-p-banner-border-style)
        var(--goo-p-banner-border);
    border-radius: var(--goo-p-banner-radius);
    box-shadow: var(--goo-p-banner-shadow);
}

.goo-consent[data-goosialize-presentation="appearance"]
    .goo-consent__surface::before {
    background: var(--goo-p-banner-accent);
}

.goo-consent[data-goosialize-presentation="appearance"]
    .goo-consent__banner
    .goo-consent__title {
    color: var(--goo-p-banner-text);
    font-size: var(--goo-p-banner-title-size);
    font-weight: var(--goo-p-banner-title-weight);
    line-height: var(--goo-p-banner-line-height);
}

.goo-consent[data-goosialize-presentation="appearance"]
    .goo-consent__banner
    .goo-consent__description {
    color: var(--goo-p-banner-muted);
    font-size: var(--goo-p-banner-message-size);
    font-weight: var(--goo-p-banner-message-weight);
    line-height: var(--goo-p-banner-line-height);
}

.goo-consent[data-goosialize-presentation="appearance"]
    .goo-consent__actions {
    gap: var(--goo-p-button-gap);
}

.goo-consent[data-goosialize-presentation="appearance"]
    .goo-consent__button {
    min-height: var(--goo-p-button-height);
}

.goo-consent[data-goosialize-presentation="appearance"]
    .goo-consent__actions
    [data-goosialize-consent-action="accept-all"] {
    background: var(--goo-p-accept-background);
    color: var(--goo-p-accept-text);
    border:
        var(--goo-p-accept-border-width)
        solid
        var(--goo-p-accept-border);
    border-radius: var(--goo-p-accept-radius);
}

.goo-consent[data-goosialize-presentation="appearance"]
    .goo-consent__actions
    [data-goosialize-consent-action="reject-all"] {
    background: var(--goo-p-reject-background);
    color: var(--goo-p-reject-text);
    border:
        var(--goo-p-reject-border-width)
        solid
        var(--goo-p-reject-border);
    border-radius: var(--goo-p-reject-radius);
}

.goo-consent[data-goosialize-presentation="appearance"]
    .goo-consent__actions
    [data-goosialize-consent-action="manage"] {
    background: var(--goo-p-customize-background);
    color: var(--goo-p-customize-text);
    border:
        var(--goo-p-customize-border-width)
        solid
        var(--goo-p-customize-border);
    border-radius: var(--goo-p-customize-radius);
}

.goo-consent[data-goosialize-presentation="appearance"]
    .goo-consent__modal {
    width: min(
        var(--goo-p-preferences-max-width),
        100%
    );
    max-height: var(--goo-p-preferences-max-height);
    background: var(--goo-p-preferences-background);
    color: var(--goo-p-preferences-text);
    border:
        var(--goo-p-preferences-border-width)
        solid
        var(--goo-p-preferences-border);
    border-radius: var(--goo-p-preferences-radius);
    box-shadow: var(--goo-p-preferences-shadow);
}

.goo-consent[data-goosialize-presentation="appearance"]
    .goo-consent__modal-header,
.goo-consent[data-goosialize-presentation="appearance"]
    .goo-consent__modal-actions {
    background: var(--goo-p-preferences-background);
}

.goo-consent[data-goosialize-presentation="appearance"]
    .goo-consent__modal-header {
    padding: var(--goo-p-preferences-padding);
}

.goo-consent[data-goosialize-presentation="appearance"]
    .goo-consent__categories {
    padding-right: var(--goo-p-preferences-padding);
    padding-left: var(--goo-p-preferences-padding);
}

.goo-consent[data-goosialize-presentation="appearance"]
    .goo-consent__category {
    row-gap: var(--goo-p-category-gap);
    border-color: var(--goo-p-category-separator);
}

.goo-consent[data-goosialize-presentation="appearance"]
    .goo-consent__modal
    .goo-consent__description,
.goo-consent[data-goosialize-presentation="appearance"]
    .goo-consent__services-title,
.goo-consent[data-goosialize-presentation="appearance"]
    .goo-consent__services-empty {
    color: var(--goo-p-preferences-muted);
}

.goo-consent[data-goosialize-presentation="appearance"]
    .goo-consent__toggle-track {
    background: var(--goo-p-toggle-inactive);
}

.goo-consent[data-goosialize-presentation="appearance"]
    .goo-consent__toggle
    input:checked
    + .goo-consent__toggle-track {
    background: var(--goo-p-toggle-active);
}

.goo-consent[data-goosialize-presentation="appearance"]
    .goo-consent__modal-actions {
    gap: var(--goo-p-preferences-button-gap);
}

.goo-consent[data-goosialize-presentation="appearance"]
    .goo-consent__modal-actions
    .goo-consent__button {
    min-height: var(--goo-p-preferences-button-height);
    border-radius: var(--goo-p-preferences-button-radius);
}

.goo-consent[data-goosialize-presentation="appearance"]
    .goo-consent__backdrop {
    background: var(--goo-p-preferences-backdrop);
}

.goo-consent[data-goosialize-presentation="appearance"]
    .goo-consent__settings {
    right: auto;
    bottom: var(--goo-p-settings-edge);
    left: var(--goo-p-settings-edge);
    min-height: var(--goo-p-settings-size);
    background: var(--goo-p-settings-background);
    color: var(--goo-p-settings-text);
    border:
        var(--goo-p-settings-border-width)
        solid
        var(--goo-p-settings-border);
    border-radius: var(--goo-p-settings-radius);
    box-shadow: var(--goo-p-settings-shadow);
}

.goo-consent[
    data-goosialize-presentation="appearance"
][
    data-goosialize-effective-content-alignment="center"
]
    .goo-consent__copy {
    text-align: center;
}

.goo-consent[
    data-goosialize-presentation="appearance"
][
    data-goosialize-effective-content-alignment="right"
]
    .goo-consent__copy {
    text-align: right;
}

.goo-consent[data-goosialize-presentation="appearance"]
    .goo-consent__actions {
    justify-content: flex-start;
}

.goo-consent[
    data-goosialize-presentation="appearance"
][
    data-goosialize-button-alignment="center"
]
    .goo-consent__actions {
    justify-content: center;
}

.goo-consent[
    data-goosialize-presentation="appearance"
][
    data-goosialize-button-alignment="right"
]
    .goo-consent__actions {
    justify-content: flex-end;
}

.goo-consent[
    data-goosialize-presentation="appearance"
][
    data-goosialize-button-layout="column"
]
    .goo-consent__actions {
    flex-direction: column;
}

.goo-consent[
    data-goosialize-presentation="appearance"
][
    data-goosialize-effective-stack-buttons="true"
]
    .goo-consent__actions {
    flex-direction: column;
}

.goo-consent[
    data-goosialize-presentation="appearance"
][
    data-goosialize-effective-stack-buttons="true"
]
    .goo-consent__actions
    .goo-consent__button {
    width: 100%;
}

.goo-consent[
    data-goosialize-presentation="appearance"
][
    data-goosialize-banner-position="bottom-right"
][
    data-goosialize-effective-banner-mode="corner-banner"
]
    .goo-consent__banner,
.goo-consent[
    data-goosialize-presentation="appearance"
][
    data-goosialize-banner-position="bottom-right"
][
    data-goosialize-effective-banner-mode="compact-floating"
]
    .goo-consent__banner {
    right: var(--goo-p-effective-edge);
    left: auto;
}

.goo-consent[
    data-goosialize-presentation="appearance"
][
    data-goosialize-effective-banner-mode="full-width-bottom"
]
    .goo-consent__banner {
    right: 0;
    bottom: 0;
    left: 0;
}

.goo-consent[
    data-goosialize-presentation="appearance"
][
    data-goosialize-effective-banner-mode="full-width-bottom"
]
    .goo-consent__surface {
    width: 100%;
    max-width: none;
}

.goo-consent[
    data-goosialize-presentation="appearance"
][
    data-goosialize-effective-banner-mode="full-width-top"
]
    .goo-consent__banner {
    top: 0;
    right: 0;
    bottom: auto;
    left: 0;
}

.goo-consent[
    data-goosialize-presentation="appearance"
][
    data-goosialize-effective-banner-mode="full-width-top"
]
    .goo-consent__surface {
    width: 100%;
    max-width: none;
}

.goo-consent[
    data-goosialize-presentation="appearance"
][
    data-goosialize-effective-banner-mode="popup"
]
    .goo-consent__banner {
    inset: 0;
    display: grid;
    place-items: center;
    padding: var(--goo-p-effective-edge);
    pointer-events: none;
}

.goo-consent[
    data-goosialize-presentation="appearance"
][
    data-goosialize-effective-banner-mode="popup"
]
    .goo-consent__surface {
    pointer-events: auto;
}

.goo-consent[
    data-goosialize-presentation="appearance"
][
    data-goosialize-effective-banner-mode="bottom-card"
]
    .goo-consent__banner {
    right: var(--goo-p-effective-edge);
    bottom: var(--goo-p-effective-edge);
    left: var(--goo-p-effective-edge);
}

.goo-consent[
    data-goosialize-presentation="appearance"
][
    data-goosialize-effective-banner-mode="bottom-card"
]
    .goo-consent__surface {
    width: 100%;
}

.goo-consent[
    data-goosialize-presentation="appearance"
][
    data-goosialize-effective-banner-mode="bottom-sheet"
]
    .goo-consent__banner {
    right: 0;
    bottom: 0;
    left: 0;
}

.goo-consent[
    data-goosialize-presentation="appearance"
][
    data-goosialize-effective-banner-mode="bottom-sheet"
]
    .goo-consent__surface {
    width: 100%;
    max-width: none;
    border-radius:
        var(--goo-p-banner-radius)
        var(--goo-p-banner-radius)
        0
        0;
}

.goo-consent[
    data-goosialize-presentation="appearance"
][
    data-goosialize-effective-full-width="true"
]
    .goo-consent__surface {
    width: 100%;
}

.goo-consent[
    data-goosialize-presentation="appearance"
][
    data-goosialize-settings-position="bottom-right"
]
    .goo-consent__settings {
    right: var(--goo-p-settings-edge);
    left: auto;
}

.goo-consent[
    data-goosialize-presentation="appearance"
][
    data-goosialize-preferences-backdrop="false"
]
    .goo-consent__backdrop {
    background: transparent;
}

.goo-consent[
    data-goosialize-presentation="appearance"
][
    data-goosialize-toggle-style="square"
]
    .goo-consent__toggle-track,
.goo-consent[
    data-goosialize-presentation="appearance"
][
    data-goosialize-toggle-style="square"
]
    .goo-consent__toggle-thumb {
    border-radius: 4px;
}
