/* The iframe manager's placeholders paint their buttons and links from
   their own variables, which carry the library's blue. Point them at the
   banner's, so a site's colours reach "Load video" and "Always allow" too.
   Loaded after the library, so these win on :root. */
:root {
    --im-btn-bg: var(--cc-btn-primary-bg);
    --im-btn-color: var(--cc-btn-primary-color);
    --im-btn-hover-bg: var(--cc-btn-primary-hover-bg);
    --im-btn-active-box-shadow: 0 0 0 0.25em var(--cc-btn-primary-bg);
    --im-btn-s-bg: var(--cc-btn-secondary-bg);
    --im-btn-s-color: var(--cc-btn-secondary-color);
    --im-btn-s-hover-bg: var(--cc-btn-secondary-hover-bg);
    --im-btn-s-active-bg: var(--cc-btn-secondary-hover-bg);
    --im-link-color: var(--cc-link-color);
    --im-link-hover-color: var(--cc-link-hover-color, var(--cc-primary-color));
}

/* The library still builds its own consent modal when it boots, hidden
   or not; we never show it, and nothing may read it either. */
#cc-main {
    display: none !important;
}

/**
 * Pendo Consent — the banner.
 *
 * One root, fixed over the page, holding whichever screen is open: the
 * first question, or the wizard. Every colour is read from the
 * variables the dashboard has always published, so a site's own
 * palette carries over unchanged; the design's values are the
 * fallbacks. The typeface is the one the dashboard published, or the
 * system's.
 */
.pendo-consent {
    --pc-surface: var(--cc-bg, #ffffff);
    --pc-text: var(--cc-primary-color, #1f2a30);
    --pc-muted: var(--cc-secondary-color, #5b6770);
    --pc-accent: var(--cc-btn-primary-bg, #2bdfc0);
    --pc-accent-hover: var(--cc-btn-primary-hover-bg, #22cdb0);
    --pc-on-accent: var(--cc-btn-primary-color, #1f2a30);
    --pc-on-accent-hover: var(--cc-btn-primary-hover-color, var(--pc-on-accent));
    --pc-soft: var(--cc-btn-secondary-bg, #f1f3f5);
    --pc-soft-text: var(--cc-btn-secondary-color, var(--pc-text));
    --pc-line: var(--cc-btn-secondary-hover-bg, #e3e7ea);
    --pc-ring: #c4ccd3;
    --pc-link: var(--cc-link-color, var(--pc-text));
    --pc-overlay: var(--cc-overlay-bg, rgba(18, 23, 25, 0.6));
    --pc-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);

    position: fixed;
    inset: 0;
    z-index: 2147483000;
    pointer-events: none;
    font-family: var(--pc-font, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif);
    font-size: 16px;
    line-height: 1.5;
    color: var(--pc-text);
    -webkit-font-smoothing: antialiased;
    text-align: left;
}

.pendo-consent:empty {
    display: none;
}

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

.pendo-consent > * {
    pointer-events: auto;
}

.pendo-consent button {
    font-family: inherit;
    -webkit-appearance: none;
    appearance: none;
}

.pendo-consent h2,
.pendo-consent h3,
.pendo-consent p {
    margin: 0;
}

@keyframes pcIn {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: none; }
}

@keyframes pcFade {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* A centred surface is placed with a translate of its own; the entry
   animation has to carry that, or the surface lands off-centre until
   the animation ends. */
@keyframes pcInCentered {
    from { opacity: 0; transform: translate(-50%, calc(-50% + 12px)); }
    to { opacity: 1; transform: translate(-50%, -50%); }
}

.pc-backdrop {
    position: fixed;
    inset: 0;
    background: var(--pc-overlay);
}

/* The dim fades in once, with the surface it belongs to; a redraw of
   the wizard keeps it as it is. */
.pc-backdrop--enter {
    animation: pcFade 0.25s ease;
}

/* A wizard that fills a phone's screen takes the page's scroll with it. */
html.pc-lock {
    overflow: hidden;
}

/* ── buttons and links ─────────────────────────────────────────── */

.pc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 56px;
    padding: 0 20px;
    border: 0;
    border-radius: 14px;
    font-weight: 600;
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
    white-space: nowrap;
}

.pc-btn--primary {
    flex: 1;
    min-width: 180px;
    background: var(--pc-accent);
    color: var(--pc-on-accent);
}

.pc-btn--primary:hover,
.pc-btn--primary:focus-visible {
    background: var(--pc-accent-hover);
    color: var(--pc-on-accent-hover);
}

.pc-btn--outline {
    flex: 1;
    min-width: 180px;
    border: 1.5px solid var(--pc-text);
    background: var(--pc-surface);
    color: var(--pc-text);
}

.pc-btn--outline:hover,
.pc-btn--outline:focus-visible {
    background: var(--pc-soft);
}

.pc-btn--ghost {
    height: 48px;
    padding: 0 4px;
    border-radius: 0;
    background: transparent;
    font-weight: 500;
    font-size: 15px;
    color: var(--pc-muted);
}

.pc-btn--ghost:hover,
.pc-btn--ghost:focus-visible {
    color: var(--pc-text);
}

.pc-btn--soft {
    height: 48px;
    padding: 0 18px;
    border-radius: 12px;
    background: var(--pc-soft);
    color: var(--pc-soft-text);
    font-size: 15px;
}

.pc-btn--soft:hover,
.pc-btn--soft:focus-visible {
    background: var(--pc-line);
}

.pc-btn--dark {
    height: 48px;
    padding: 0 22px;
    border-radius: 12px;
    background: var(--pc-text);
    color: var(--pc-surface);
    font-size: 15px;
}

.pc-btn--dark:hover,
.pc-btn--dark:focus-visible {
    filter: brightness(0.85);
}

.pc-btn--dark.is-waiting {
    opacity: 0.4;
    cursor: default;
    filter: none;
}

.pc-link {
    align-self: flex-start;
    padding: 0 0 3px;
    border: 0;
    border-bottom: 2px solid var(--pc-accent);
    background: transparent;
    font-weight: 500;
    font-size: 15px;
    line-height: 1;
    color: var(--pc-link);
    text-decoration: none;
    cursor: pointer;
}

.pc-link:hover,
.pc-link:focus-visible {
    color: var(--cc-link-hover-color, var(--pc-muted));
}

.pc-link--muted {
    border-bottom: 0;
    padding: 0;
    font-size: 14px;
    color: var(--pc-muted);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.pendo-consent :focus-visible {
    outline: 2px solid var(--pc-text);
    outline-offset: 2px;
}

/* ── the first question ────────────────────────────────────────── */

.pc-intro {
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: 420px;
    max-width: calc(100% - 48px);
    display: flex;
    flex-direction: column;
    gap: 28px;
    padding: 32px 32px 28px;
    border-radius: 20px;
    background: var(--pc-surface);
    box-shadow: var(--pc-shadow);
    animation: pcIn 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.pc-intro__copy {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
    min-width: 0;
}

.pc-intro__title {
    font-weight: 600;
    font-size: 28px;
    line-height: 1.1;
    letter-spacing: -0.02em;
    text-wrap: pretty;
}

.pc-intro__text {
    font-size: 16px;
    line-height: 1.5;
    color: var(--pc-muted);
    text-wrap: pretty;
}

.pc-intro__actions {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.pc-intro__buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

/* The seven positions the dashboard offers, each derived from the
   design's three: a card in a corner, a bar along an edge, or centred
   over a dimmed page. */
[data-pc-spot='bottom-left'] .pc-intro {
    right: auto;
    left: 24px;
}

[data-pc-spot='top-right'] .pc-intro {
    bottom: auto;
    top: 24px;
}

[data-pc-spot='top-left'] .pc-intro {
    bottom: auto;
    top: 24px;
    right: auto;
    left: 24px;
}

[data-pc-spot='center'] .pc-intro {
    right: auto;
    bottom: auto;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: min(560px, calc(100% - 32px));
    max-width: none;
    padding: 44px 44px 36px;
    border-radius: 24px;
    animation-name: pcInCentered;
}

[data-pc-spot='center'] .pc-intro__title {
    font-size: 38px;
}

[data-pc-layout='bar'] .pc-intro {
    left: 0;
    right: 0;
    bottom: 0;
    width: auto;
    max-width: none;
    flex-direction: row;
    align-items: center;
    padding: 28px 40px;
    border-radius: 0;
}

[data-pc-layout='bar'][data-pc-spot='top'] .pc-intro {
    top: 0;
    bottom: auto;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}

[data-pc-layout='bar'] .pc-intro__title {
    font-size: 24px;
}

[data-pc-layout='bar'] .pc-intro__actions {
    flex: none;
    align-items: flex-end;
}

/* ── the wizard ────────────────────────────────────────────────── */

.pc-wizard {
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: min(840px, calc(100% - 48px));
    height: min(560px, calc(100vh - 48px));
    display: grid;
    grid-template-columns: 256px minmax(0, 1fr);
    overflow: hidden;
    border-radius: 24px;
    background: var(--pc-surface);
    box-shadow: var(--pc-shadow);
}

/* Only the opening animates: a step change redraws the same modal,
   and a modal that slides in on every step reads as flashing. */
.pc-wizard--enter {
    animation: pcInCentered 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.pc-wizard--mobile.pc-wizard--enter {
    animation-name: pcIn;
}

.pc-side {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-height: 0;
    padding: 28px 16px 24px;
    border-right: 1px solid var(--pc-line);
    background: var(--pc-soft);
    overflow: hidden;
}

.pc-side__head {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 0 12px 20px;
}

.pc-side__title {
    font-weight: 600;
    font-size: 16px;
    line-height: 1.2;
}

.pc-side__step {
    font-size: 13px;
    line-height: 1.3;
    color: var(--pc-muted);
}

.pc-nav {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-height: 0;
    overflow: auto;
}

.pc-nav__row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: none;
    width: 100%;
    height: 44px;
    padding: 0 12px;
    border: 0;
    border-radius: 12px;
    background: transparent;
    font-weight: 500;
    font-size: 14px;
    line-height: 1;
    color: var(--pc-muted);
    text-align: left;
    cursor: pointer;
}

.pc-nav__row:hover {
    background: var(--pc-surface);
}

.pc-nav__row--active {
    font-weight: 600;
    color: var(--pc-text);
    background: var(--pc-surface);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.pc-nav__row--yes {
    color: var(--pc-text);
}

.pc-nav__name {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pc-nav__status {
    font-size: 12px;
    color: var(--pc-muted);
}

.pc-side__foot {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: auto;
    padding: 12px 12px 0;
}

.pc-side__note {
    font-size: 11px;
    line-height: 1.5;
    color: var(--pc-muted);
}

/* The round marks beside a category: always on, yes, no, the current
   step, one still to come, and an empty one inside an answer card. */
.pc-mark {
    display: grid;
    place-items: center;
    flex: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    font-weight: 500;
    font-size: 11px;
    line-height: 1;
    color: var(--pc-text);
}

.pc-mark--always {
    background: var(--pc-ring);
}

.pc-mark--always::after {
    content: '';
    width: 8px;
    height: 2px;
    background: var(--pc-surface);
}

.pc-mark--yes {
    background: var(--pc-accent);
}

.pc-mark--yes::after {
    content: '';
    width: 9px;
    height: 5px;
    margin-top: -2px;
    border-left: 2px solid var(--pc-on-accent);
    border-bottom: 2px solid var(--pc-on-accent);
    transform: rotate(-45deg);
}

.pc-mark--no {
    border: 1.5px solid var(--pc-text);
}

.pc-mark--no::after {
    content: '';
    width: 8px;
    height: 2px;
    background: var(--pc-text);
}

.pc-mark--active {
    border: 2px solid var(--pc-text);
    font-weight: 600;
}

.pc-mark--pending {
    border: 1.5px solid var(--pc-ring);
}

.pc-mark--empty {
    border: 1.5px solid var(--pc-ring);
    background: var(--pc-surface);
}

.pc-main {
    display: flex;
    flex-direction: column;
    gap: 22px;
    min-width: 0;
    padding: 32px 36px 28px;
    overflow: hidden;
}

.pc-main__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.pc-main__copy {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 0;
}

.pc-main__title {
    font-weight: 600;
    font-size: 32px;
    line-height: 1.1;
    letter-spacing: -0.02em;
    text-wrap: pretty;
}

.pc-main__text {
    font-size: 15px;
    line-height: 1.5;
    color: var(--pc-muted);
    text-wrap: pretty;
}

.pc-close {
    flex: none;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    background: var(--pc-soft);
    font-size: 20px;
    line-height: 1;
    color: var(--pc-text);
    cursor: pointer;
}

.pc-close:hover,
.pc-close:focus-visible {
    background: var(--pc-line);
}

.pc-always {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    border-radius: 16px;
    background: var(--pc-soft);
}

.pc-always__text {
    font-weight: 600;
    font-size: 16px;
    line-height: 1.2;
}

.pc-choice {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.pc-card {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 18px;
    border: 2px solid var(--pc-line);
    border-radius: 16px;
    background: var(--pc-surface);
    color: var(--pc-muted);
    text-align: left;
    cursor: pointer;
}

.pc-card__label {
    font-weight: 600;
    font-size: 17px;
    line-height: 1.2;
}

.pc-card--yes:hover,
.pc-card--yes:focus-visible {
    border-color: var(--pc-accent);
}

.pc-card--no:hover,
.pc-card--no:focus-visible {
    border-color: var(--pc-text);
}

.pc-card--yes.is-on {
    border-color: var(--pc-accent);
    background: color-mix(in srgb, var(--pc-accent) 8%, var(--pc-surface));
    color: var(--pc-text);
}

.pc-card--no.is-on {
    border-color: var(--pc-text);
    background: var(--pc-soft);
    color: var(--pc-text);
}

.pc-cookies {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-height: 0;
    overflow: auto;
}

.pc-eyebrow {
    font-weight: 600;
    font-size: 12px;
    line-height: 1;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--pc-muted);
}

.pc-cookierows {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    border-top: 1px solid var(--pc-line);
    font-size: 13px;
    line-height: 1.4;
}

.pc-cookierow {
    display: grid;
    grid-template-columns: minmax(120px, 180px) minmax(0, 1fr);
    gap: 4px 24px;
    padding: 12px 0;
    border-bottom: 1px solid var(--pc-line);
}

.pc-cookierow__name {
    font-weight: 600;
    color: var(--pc-text);
    overflow-wrap: anywhere;
}

.pc-cookierow__duration {
    font-weight: 500;
    color: var(--pc-text);
}

.pc-cookierow__provider,
.pc-cookierow__purpose {
    color: var(--pc-muted);
}

.pc-cookierow__purpose {
    text-wrap: pretty;
}

.pc-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
}

.pc-foot__actions {
    display: flex;
    gap: 8px;
}

/* Embeds allowed one at a time, as the wizard's last step. */
.pendo-consent-embeds__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-height: 0;
    overflow: auto;
}

.pendo-consent-embeds__list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 18px;
    border: 2px solid var(--pc-line);
    border-radius: 16px;
    font-weight: 500;
    font-size: 15px;
}

.pendo-consent-embeds__withdraw {
    flex: none;
    height: 36px;
    padding: 0 14px;
    border: 0;
    border-radius: 10px;
    background: var(--pc-soft);
    color: var(--pc-soft-text);
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
}

.pendo-consent-embeds__withdraw:hover,
.pendo-consent-embeds__withdraw:focus-visible {
    background: var(--pc-line);
}

/* The visitor's own proof of consent. */
.pendo-consent-proof {
    display: flex;
    flex-wrap: wrap;
    gap: 0 6px;
    font-size: 11px;
    line-height: 1.5;
    color: var(--pc-muted);
}

.pendo-consent-proof__id {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    color: var(--pc-text);
}

/* ── the wizard on a phone ─────────────────────────────────────── */

.pc-wizard--mobile {
    inset: 0;
    left: 0;
    top: 0;
    width: auto;
    height: auto;
    max-height: none;
    transform: none;
    display: flex;
    flex-direction: column;
    border-radius: 0;
    box-shadow: none;
}

.pc-mhead {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 20px 14px;
}

.pc-mhead__copy {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.pc-mhead .pc-side__title {
    font-size: 18px;
}

.pc-chips {
    display: flex;
    gap: 6px;
    flex: none;
    padding: 0 20px 20px;
    overflow-x: auto;
    white-space: nowrap;
}

.pc-chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    flex: none;
    height: 36px;
    padding: 0 14px 0 8px;
    border: 0;
    border-radius: 999px;
    background: var(--pc-soft);
    font-weight: 500;
    font-size: 13px;
    line-height: 1;
    color: var(--pc-muted);
    cursor: pointer;
}

.pc-chip--compact {
    width: 36px;
    padding: 0;
    justify-content: center;
}

.pc-chip--active {
    background: var(--pc-text);
    color: var(--pc-surface);
    font-weight: 600;
}

.pc-chip .pc-mark {
    width: 18px;
    height: 18px;
    font-size: 10px;
}

.pc-chip--active .pc-mark--active {
    border-color: var(--pc-surface);
    color: var(--pc-surface);
}

.pc-mbody {
    display: flex;
    flex-direction: column;
    gap: 20px;
    flex: 1;
    min-height: 0;
    padding: 0 24px 16px;
    overflow: auto;
}

.pc-wizard--mobile .pc-main__title {
    font-size: 30px;
}

.pc-wizard--mobile .pc-choice {
    grid-template-columns: 1fr;
}

.pc-wizard--mobile .pc-card {
    flex-direction: row;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
}

.pc-cookielist {
    list-style: none;
    margin: 0;
    padding: 0;
    border-top: 1px solid var(--pc-line);
    font-size: 13px;
    line-height: 1.4;
}

.pc-cookielist__item {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 10px 0;
    border-bottom: 1px solid var(--pc-line);
}

.pc-cookielist__name {
    font-weight: 500;
    overflow-wrap: anywhere;
}

.pc-cookielist__meta {
    color: var(--pc-muted);
}

.pc-wizard--mobile .pc-foot {
    flex: none;
    margin-top: 0;
    padding: 14px 20px 28px;
    border-top: 1px solid var(--pc-line);
}

.pc-wizard--mobile .pc-btn--soft {
    padding: 0 14px;
    font-size: 14px;
}

.pc-wizard--mobile .pc-btn--dark {
    padding: 0 20px;
}

/* On a phone the first question is always a sheet from the bottom,
   whatever position the dashboard chose for a wider screen. */
@media (max-width: 759px) {
    .pendo-consent .pc-intro {
        left: 0;
        right: 0;
        top: auto;
        bottom: 0;
        transform: none;
        width: auto;
        max-width: none;
        flex-direction: column;
        padding: 28px 24px 32px;
        border-radius: 24px 24px 0 0;
    }

    .pendo-consent .pc-intro__title {
        font-size: 32px;
    }

    .pendo-consent .pc-intro__actions {
        flex: 1 1 auto;
        align-items: stretch;
    }
}

/* ── the way back ──────────────────────────────────────────────── */

/**
 * A visitor has to be able to reach their choice again, otherwise
 * consent can be given but never taken back. One button on every page,
 * painted from the banner's own colours so it reads as the same
 * conversation; a site can move it with --pc-offset or turn it off in
 * the dashboard.
 */
.pendo-consent-button {
    --pc-offset: 20px;

    position: fixed;
    left: var(--pc-offset);
    bottom: var(--pc-offset);
    z-index: 2147482999;
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: var(--cc-bg, #ffffff);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    cursor: pointer;
    animation: pcIn 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
    transition: transform 0.15s ease;
}

.pendo-consent-button[data-position='bottom-right'] {
    left: auto;
    right: var(--pc-offset);
}

.pendo-consent-button:hover,
.pendo-consent-button:focus-visible {
    transform: scale(1.06);
}

/* Keep the focus ring: this is the only way back to the choice. */
.pendo-consent-button:focus-visible {
    outline: 2px solid var(--cc-primary-color, #1f2a30);
    outline-offset: 2px;
}

.pendo-consent-button__cookie {
    display: block;
    width: 24px;
    height: 24px;
    color: var(--cc-primary-color, #1f2a30);
}

.pendo-consent-button__cookie svg {
    display: block;
    width: 100%;
    height: 100%;
    fill: currentColor;
}

.pendo-consent-button__dot {
    position: absolute;
    right: 2px;
    top: 2px;
    width: 12px;
    height: 12px;
    border: 2px solid var(--cc-bg, #ffffff);
    border-radius: 50%;
    background: var(--cc-btn-primary-bg, #2bdfc0);
}

/* The banner itself sits above it; two overlapping layers would only
   compete for the same corner. */
.pendo-consent-button[hidden] {
    display: none;
}

@media (prefers-reduced-motion: reduce) {
    .pendo-consent-button,
    .pc-intro,
    .pc-wizard,
    .pc-backdrop {
        animation: none;
        transition: none;
    }
}

/* ── embeds on the page ────────────────────────────────────────── */

/* The iframe manager draws a placeholder as an inline box of at least
   300×150. A video gets its 16:9 from data-autoscale, but a reviews page
   or a schedule has no ratio, and a small dark box in the middle of a
   column looks broken. Every placeholder is a block of the full width,
   tall enough to read, with room around its notice. */
div[data-service] {
    display: block;
    width: 100%;
    min-height: 12.5rem;
}

div[data-service] .cll .c-t-cn {
    padding: 1.5em;
}

/* A script widget, once loaded, is page content: no dark box, no minimum size. */
div[data-service="script"].c-h-n {
    background: none;
    display: block;
    min-height: 0;
    min-width: 0;
    overflow: visible;
}

/* A site's own stand-in for a widget (see the glue's trigger functions),
   and the question it asks when clicked. The prompt pops up over the
   stand-in; a site that wants it elsewhere repositions it. */
[data-consent-trigger] {
    position: relative;
}

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

.pendo-consent-trigger__prompt {
    position: absolute;
    bottom: calc(100% + 0.5rem);
    right: 0;
    z-index: 2147483001;
    box-sizing: border-box;
    width: max-content;
    max-width: min(20rem, calc(100vw - 2rem));
    padding: 1rem;
    font-family: var(--pc-font, inherit);
    font-size: 0.9rem;
    line-height: 1.4;
    text-align: left;
    color: var(--cc-primary-color, #1f2a30);
    background: var(--cc-bg, #ffffff);
    border-radius: 1rem;
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.2);
}

.pendo-consent-trigger__title {
    display: block;
    margin-bottom: 0.25rem;
    font-weight: 600;
}

.pendo-consent-trigger__notice {
    margin: 0 0 0.75rem;
    color: var(--cc-secondary-color, inherit);
}

.pendo-consent-trigger__buttons {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
}

.pendo-consent-trigger__button {
    padding: 0.5em 0.9em;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
    border: none;
    border-radius: 0.75rem;
    color: var(--cc-btn-secondary-color, inherit);
    background: var(--cc-btn-secondary-bg, rgba(0, 0, 0, 0.06));
}

.pendo-consent-trigger__button:hover,
.pendo-consent-trigger__button:focus-visible {
    background: var(--cc-btn-secondary-hover-bg, rgba(0, 0, 0, 0.12));
}

.pendo-consent-trigger__button--once {
    color: var(--cc-btn-primary-color, #1f2a30);
    background: var(--cc-btn-primary-bg, #2bdfc0);
}

.pendo-consent-trigger__button--once:hover,
.pendo-consent-trigger__button--once:focus-visible {
    background: var(--cc-btn-primary-hover-bg, #22cdb0);
}

.pendo-consent-trigger__button--close {
    margin-left: auto;
    font-weight: 400;
    background: none;
}
