/* AGQ analytics consent. Isolated styles; original agq.css is unchanged. */
.agq-consent-footer {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.agq-consent-settings {
    appearance: none;
    display: inline-block;
    border: 0;
    padding: 0;
    background: transparent;
    color: #5a3e2b;
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 0.75rem;
    line-height: 1.5;
    text-decoration: underline;
    cursor: pointer;
}

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

.agq-consent-banner {
    position: fixed;
    z-index: 1000;
    bottom: 1rem;
    left: 1rem;
    right: 1rem;
    max-width: 780px;
    max-height: calc(100vh - 2rem);
    margin: 0 auto;
    padding: 1.1rem 1.25rem;
    overflow-y: auto;
    background: #f9f7f4;
    color: #2c2c2c;
    border: 1px solid #c8b89a;
    box-shadow: 0 6px 24px rgba(40, 32, 24, 0.18);
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 0.85rem;
    line-height: 1.5;
}

.agq-consent-copy p {
    margin: 0 0 0.55rem;
}

.agq-consent-copy .agq-consent-title {
    font-size: 1rem;
    font-weight: 600;
    color: #1a1a1a;
}

.agq-consent-copy .agq-consent-privacy {
    margin-bottom: 0.85rem;
    font-size: 0.76rem;
}

.agq-consent-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.agq-consent-actions button {
    appearance: none;
    border: 1px solid #5a3e2b;
    border-radius: 3px;
    padding: 0.55rem 1.1rem;
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    min-height: 40px;
}

.agq-consent-decline {
    background: #f9f7f4;
    color: #5a3e2b;
}

.agq-consent-accept {
    background: #5a3e2b;
    color: #fff;
}

.agq-consent-actions button:hover {
    filter: brightness(0.94);
}

.agq-consent-actions button:focus-visible,
.agq-consent-settings:focus-visible {
    outline: 3px solid #226bd1;
    outline-offset: 3px;
}

@media (max-width: 640px) {
    .agq-consent-banner {
        bottom: 0.5rem;
        left: 0.5rem;
        right: 0.5rem;
        max-height: calc(100vh - 1rem);
        padding: 0.9rem;
    }

    .agq-consent-actions button {
        flex: 1 1 140px;
    }
}
