/* Compact, readable cookie choices across desktop and mobile. */
html body .cookie-consent-banner.cookie-consent-compact {
    width: calc(100% - 40px);
    max-width: 1360px;
    bottom: 16px;
    padding: 20px 24px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 500px;
    grid-template-rows: auto auto;
    gap: 16px 24px;
    align-items: center;
    border-radius: 20px;
    border: 2px solid var(--color-potato-gold, #d99c52);
    max-height: calc(100dvh - 32px);
    overflow-y: auto;
}
html body .cookie-consent-compact .cookie-consent-copy { display: contents; }
html body .cookie-consent-compact .cookie-consent-icon { top: 19px; left: 24px; }
html body .cookie-consent-compact .cookie-consent-copy h2 {
    grid-area: 1 / 1;
    padding: 0 0 0 42px;
    margin: 0;
    font-size: 2.2rem;
    line-height: 1.4;
}
html body .cookie-consent-compact .cookie-choice-links {
    position: static;
    grid-area: 1 / 2;
    justify-self: end;
    padding: 0;
    font-size: 1.5rem;
    line-height: 1.5;
}
html body .cookie-consent-compact .cookie-consent-types {
    grid-area: 2 / 1;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}
html body .cookie-consent-compact .cookie-consent-type-row {
    display: grid;
    grid-template-columns: 1fr;
    align-content: start;
    gap: 4px;
    padding: 0;
    border: 0;
}
html body .cookie-consent-compact .cookie-consent-type-row strong { font-size: 1.6rem; line-height: 1.5; color: #244d3b; }
html body .cookie-consent-compact .cookie-consent-type-row small { font-size: 1.5rem; line-height: 1.5; color: #526b5f; }
html body .cookie-consent-compact .cookie-consent-actions {
    grid-area: 2 / 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-self: center;
    gap: 12px;
    height: auto;
    max-width: none;
    width: 100%;
    padding: 0;
}
html body .cookie-consent-compact .cookie-consent-actions [data-cookie-choice] {
    top: auto;
    min-height: 52px;
    width: 100%;
    padding: 10px 14px;
    font-size: 1.6rem;
    line-height: 1.4;
    white-space: nowrap;
    border-radius: 12px;
}
html body .cookie-consent-compact a:focus-visible,
html body .cookie-consent-compact button:focus-visible { outline: 3px solid #b97827; outline-offset: 3px; }
@media (max-width: 1100px) {
    html body .cookie-consent-banner.cookie-consent-compact { grid-template-columns: 1fr auto; }
    html body .cookie-consent-compact .cookie-consent-types { grid-area: 2 / 1 / 3 / 3; }
    html body .cookie-consent-compact .cookie-consent-actions { grid-area: 3 / 1 / 4 / 3; }
}
@media (max-width: 600px) {
    html body .cookie-consent-banner.cookie-consent-compact { width: calc(100% - 24px); bottom: 12px; padding: 18px; gap: 14px; border-radius: 16px; }
    html body .cookie-consent-compact .cookie-consent-icon { display: none; }
    html body .cookie-consent-compact .cookie-consent-copy h2 { padding: 0; font-size: 2rem; }
    html body .cookie-consent-compact .cookie-choice-links { font-size: 1.4rem; }
    html body .cookie-consent-compact .cookie-consent-types { grid-template-columns: 1fr; gap: 12px; }
    html body .cookie-consent-compact .cookie-consent-type-row + .cookie-consent-type-row { border-top: 1px solid #d5e5da; padding-top: 12px; }
    html body .cookie-consent-compact .cookie-consent-actions { grid-template-columns: 1fr; gap: 10px; }
}
html[data-theme='dark'] body .cookie-consent-compact .cookie-consent-type-row strong { color: #eaf4ed; }
html[data-theme='dark'] body .cookie-consent-compact .cookie-consent-type-row small { color: #bfcec4; }
html[data-theme='dark'] body .cookie-consent-banner.cookie-consent-compact {
    border-color: var(--color-potato-gold, #d99c52) !important;
}
