/* Shared Luca notice. Keep all styles scoped; no theme or navigation overrides. */
.luca-cookie-banner[hidden] { display: none !important; }
.luca-cookie-banner {
    position: fixed; z-index: 1050; left: 24px;
    bottom: var(--luca-cookie-bottom, calc(20px + env(safe-area-inset-bottom, 0px)));
    width: min(460px, calc(100vw - 48px)); box-sizing: border-box;
    padding: 22px; border: 1px solid #d9e9e4; border-radius: 22px;
    background: #fff; color: #30413c;
    box-shadow: 0 12px 44px rgba(40, 66, 57, .16);
    font-family: inherit; max-height: calc(100dvh - var(--luca-cookie-bottom, 20px) - 16px);
    overflow-y: auto; overscroll-behavior: contain;
}
.luca-cookie-banner__heading { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.luca-cookie-banner__icon { display: grid; place-items: center; flex: 0 0 44px; height: 44px; border-radius: 14px; background: #e6f5ee; color: #41745e; }
.luca-cookie-banner__icon svg { width: 26px; height: 26px; }
.luca-cookie-banner__brand { font-size: 12px; font-weight: 600; color: #60756b; }
.luca-cookie-banner h2 { font-size: 18px; font-weight: 700; line-height: 1.3; margin: 3px 0 0; color: #30413c; text-transform: none; }
.luca-cookie-banner p { font-size: 14px; line-height: 1.6; margin: 0 0 16px; color: #53655d; }
.luca-cookie-banner__actions { display: flex; align-items: center; gap: 12px; justify-content: space-between; }
.luca-cookie-banner__actions a { display: inline-flex; align-items: center; min-height: 44px; color: #415f7e; text-decoration: underline; text-underline-offset: 3px; font-size: 14px; }
.luca-cookie-banner__actions button { min-height: 44px; padding: 11px 22px; border: 1px solid #5e7da2; border-radius: 12px; background: #5e7da2; color: #fff; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.luca-cookie-banner__actions button:hover { background: #49698e; border-color: #49698e; }
.luca-cookie-banner :is(a, button):focus-visible { outline: 3px solid #304f72; outline-offset: 3px; }
.luca-cookie-banner__note { display: block; margin-top: 12px; color: #68746e; font-size: 11px; line-height: 1.5; }
@media (max-width: 1023.98px) {
    .luca-cookie-banner { left: 16px; width: min(460px, calc(100vw - 32px)); }
}
@media (max-width: 480px) {
    .luca-cookie-banner { left: 12px; width: calc(100vw - 24px); padding: 18px; border-radius: 18px; }
    .luca-cookie-banner h2 { font-size: 17px; }
    .luca-cookie-banner__actions { flex-wrap: wrap; }
    .luca-cookie-banner__actions button { flex: 1; }
}

/* Settings opens the existing consent dialog; it never accepts Google on its own. */
.luca-cookie-banner p a { color: #415f7e; text-decoration: underline; text-underline-offset: 3px; }
.luca-cookie-banner .luca-cookie-banner__settings {
    display: inline-flex; align-items: center; justify-content: center;
    max-width: 100%; min-height: 44px; margin: 0 0 16px; padding: 10px 16px;
    border: 1px solid #c5d7d0; border-radius: 12px;
    background: #f1f7f4; color: #30413c; font: inherit;
    font-size: 14px; font-weight: 600; line-height: 1.4;
    white-space: normal; cursor: pointer;
}
.luca-cookie-banner .luca-cookie-banner__settings:hover { background: #e6f1eb; }
