.maestro-consent[hidden] {
    display: none !important;
}
.maestro-consent {
    position: fixed;
    z-index: 10000;
    bottom: 64px;
    left: 20px;
    max-width: 440px;
    width: calc(100vw - 40px);
    padding: 22px;
    border: 1px solid #b9cdb9;
    border-radius: 12px;
    background: #fff;
    color: #253b35;
    box-shadow: 0 12px 40px #123e3326;
    font:
        14px/1.6 system-ui,
        sans-serif;
    box-sizing: border-box;
}
.maestro-consent p {
    margin: 9px 0 16px;
}
.maestro-consent a {
    color: #174d3d;
    text-decoration: underline;
}
.maestro-consent-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 13px;
}
.maestro-consent button {
    font:
        600 13px/1.5 system-ui,
        sans-serif;
    cursor: pointer;
    padding: 9px 13px;
    border: 1px solid #174d3d;
    border-radius: 6px;
    background: #fff;
    color: #174d3d;
    width: auto;
}
.maestro-consent button[data-choice="analytics"] {
    background: #174d3d;
    color: #fff;
}
.maestro-consent-settings {
    color: inherit;
    font: inherit;
    text-decoration: underline;
    cursor: pointer;
}
.maestro-consent button:focus-visible,
.maestro-consent-settings:focus-visible {
    outline: 3px solid #6b8d49;
    outline-offset: 3px;
}

@media (max-width: 640px) {
    .maestro-consent {
        position: static;
        width: calc(100% - 24px);
        max-width: none;
        margin: 12px;
        padding: 12px;
        font-size: 12px;
        line-height: 1.45;
        box-shadow: none;
    }
    .maestro-consent p {
        margin: 6px 0 10px;
    }
    .maestro-consent-actions {
        gap: 8px;
        margin-bottom: 8px;
    }
    .maestro-consent button {
        flex: 1 1 120px;
        min-height: 44px;
        padding: 8px;
        font-size: 12px;
    }
}
