.glwc-banner,
.glwc-dialog {
    box-sizing: border-box;
    color: #252725;
    background: #f7f5f0;
    border: 1px solid #b7bdad;
    border-radius: 16px;
    font: inherit;
    box-shadow: 0 6px 32px #25272524;
}

.glwc-banner[hidden] { display: none; }

.glwc-banner {
    position: fixed;
    z-index: 99998;
    right: 20px;
    bottom: max(20px, env(safe-area-inset-bottom));
    left: 20px;
    max-width: 960px;
    margin-inline: auto;
    padding: 18px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.glwc-banner-copy { flex: 1; }

.glwc-banner h2,
.glwc-dialog h2 {
    margin: 0;
    font-size: clamp(1.18rem, 2.6vw, 1.5rem);
    line-height: 1.2;
}

.glwc-banner p,
.glwc-dialog p { margin: 7px 0 0; font-size: .9rem; line-height: 1.48; }
.glwc-banner a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }

.glwc-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }

.glwc-actions button,
.glwc-close {
    color: #2c3527;
    background: #dce2d7;
    border: 1px solid #9da995;
    border-radius: 8px;
    min-height: 44px;
    padding: 8px 12px;
    font: inherit;
    font-size: .9rem;
    font-weight: 600;
    line-height: 1.25;
    text-align: center;
    cursor: pointer;
}

.glwc-actions button:hover,
.glwc-close:hover { background: #cdd8c5; }
.glwc-actions button:focus-visible, .glwc-close:focus-visible,
.glwc-dialog input:focus-visible, .glwc-banner a:focus-visible { outline: 2px solid #424b3c; outline-offset: 3px; }

.glwc-actions .glwc-quiet {
    grid-column: 1 / -1;
    border-color: transparent;
    background: transparent;
    justify-self: center;
    text-decoration: underline;
    text-underline-offset: 3px;
    font-weight: 500;
}

.glwc-dialog { width: min(560px, calc(100% - 32px)); max-height: calc(100% - 32px); padding: 22px; }
.glwc-dialog::backdrop { background: #14181172; }
.glwc-dialog-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.glwc-close { padding: 6px; min-width: 44px; font-size: 1.35rem; background: transparent; }
.glwc-option {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 11px 0;
    border-bottom: 1px solid #d9ded5;
    font-size: .96rem;
}
.glwc-option input { flex: none; margin: 4px 0 0; width: 18px; height: 18px; accent-color: #424b3c; }
.glwc-option small { display: block; margin-top: 2px; font-size: .86rem; line-height: 1.4; }
.glwc-dialog .glwc-actions { margin-top: 15px; }

@media (max-width: 650px) {
    .glwc-banner {
        right: 12px;
        bottom: max(12px, env(safe-area-inset-bottom));
        left: 12px;
        display: block;
        padding: 14px;
    }
    .glwc-banner .glwc-actions { margin-top: 10px; }
}
