.gp-cookie-settings {
    position: fixed;
    z-index: 1090;
    right: 1rem;
    bottom: 1rem;
    border: 1px solid rgba(255, 255, 255, .45);
    border-radius: 999px;
    padding: .65rem 1rem;
    background: var(--gp-teal-dark, #00566f);
    color: #fff;
    font: inherit;
    font-size: .78rem;
    box-shadow: 0 8px 24px rgba(20, 35, 32, .2);
    cursor: pointer;
}

.gp-consent[hidden],
.gp-consent__preferences[hidden],
.gp-consent__button[hidden] {
    display: none !important;
}

.gp-consent {
    position: fixed;
    z-index: 1100;
    inset: auto 0 0;
    padding: 1rem;
    background: rgba(20, 35, 32, .34);
}

.gp-consent__panel {
    width: min(100%, 1060px);
    max-height: min(88vh, 760px);
    overflow: auto;
    margin: 0 auto;
    padding: clamp(1.2rem, 3vw, 2rem);
    border: 1px solid var(--gp-line, rgba(32, 49, 47, .12));
    border-top: 4px solid var(--gp-teal, #007493);
    border-radius: 14px;
    background: var(--gp-paper, #fffefa);
    color: var(--gp-ink, #20312f);
    box-shadow: 0 18px 54px rgba(23, 44, 40, .2);
}

.gp-consent__eyebrow {
    margin: 0 0 .35rem;
    color: var(--gp-teal, #007493);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .15em;
    text-transform: uppercase;
}

.gp-consent__copy h2 {
    margin: 0 0 .5rem;
    color: var(--gp-ink, #20312f);
    font-family: Georgia, serif;
    font-size: clamp(1.35rem, 2.8vw, 1.8rem);
}

.gp-consent__copy > p:last-child {
    max-width: 78ch;
    margin: 0;
    color: var(--gp-muted, #66716c);
    line-height: 1.6;
}

.gp-consent__preferences {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .75rem;
    margin-top: 1.25rem;
}

.gp-consent__option {
    display: grid;
    grid-template-columns: auto 1fr;
    align-content: start;
    gap: .2rem .65rem;
    padding: .9rem;
    border: 1px solid var(--gp-line, rgba(32, 49, 47, .12));
    border-radius: 10px;
    background: var(--gp-cream, #f7f5ef);
    cursor: pointer;
}

.gp-consent__option input {
    grid-row: span 2;
    width: 1.05rem;
    height: 1.05rem;
    margin: .15rem 0 0;
    accent-color: var(--gp-teal, #007493);
}

.gp-consent__option span { font-weight: 700; }
.gp-consent__option small { color: var(--gp-muted, #66716c); line-height: 1.45; }

.gp-consent__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: .6rem;
    margin-top: 1.25rem;
}

.gp-consent__button {
    min-height: 44px;
    padding: .65rem 1rem;
    border: 1px solid transparent;
    border-radius: 7px;
    font: inherit;
    font-size: .86rem;
    font-weight: 700;
    cursor: pointer;
}

.gp-consent__button--quiet { color: var(--gp-ink, #20312f); background: transparent; }
.gp-consent__button--outline { border-color: var(--gp-teal, #007493); color: var(--gp-teal-dark, #00566f); background: transparent; }
.gp-consent__button--primary { color: #fff; background: var(--gp-teal, #007493); }
.gp-consent__button:focus-visible,
.gp-cookie-settings:focus-visible,
.gp-consent__option input:focus-visible { outline: 3px solid var(--gp-coral, #c77959); outline-offset: 3px; }

@media (max-width: 700px) {
    .gp-consent__preferences { grid-template-columns: 1fr; }
    .gp-consent { padding: .5rem; }
    .gp-consent__panel { max-height: 90vh; padding: 1rem; }
    .gp-consent__actions { display: grid; grid-template-columns: 1fr 1fr; }
    .gp-consent__button { padding-inline: .55rem; }
    .gp-cookie-settings { right: .5rem; bottom: .5rem; }
}
