/* Optional analytics controls; logical properties preserve Hebrew RTL. */
#mb-analytics [hidden], .mb-consent-settings[hidden] { display: none !important; }
.mb-consent {
    position: fixed; inset-inline: 0; bottom: 0; z-index: 1000;
    max-width: none; margin: 0; padding: 12px clamp(16px, 2.5vw, 32px);
    border: 0; border-top: 1px solid #b8c2cc; border-radius: 0; background: #fff;
    color: #17283b; box-shadow: 0 -2px 16px #1022381a;
    max-height: 70dvh; overflow-y: auto;
    font-family: Arial, sans-serif; font-size: 14px; line-height: 1.5;
}
.mb-consent-inner { display: flex; align-items: center; gap: 20px; max-width: 1280px; margin-inline: auto; }
.mb-consent p { flex: 1; margin: 0; max-width: none; font-size: inherit; }
.mb-consent a { color: #174b77; text-decoration: underline; }
.mb-consent-actions { display: flex; flex-wrap: wrap; gap: 8px; flex-shrink: 0; }
.mb-consent-actions button {
    min-height: 44px; padding: 10px 14px; border: 1px solid #64788d;
    border-radius: 6px; background: #fff; color: #17283b;
    font: 600 14px/1.4 Arial, sans-serif; cursor: pointer;
}
.mb-consent-actions button:hover { background: #edf2f6; }
.mb-consent-actions [data-consent="granted"] { background: #e9f4ee; color: #1f5135; border-color: #648671; }
.mb-consent-actions [data-consent="denied"] { background: #faeeee; color: #713737; border-color: #a87878; }
.mb-consent-actions [data-consent="granted"]:hover { background: #dcece3; }
.mb-consent-actions [data-consent="denied"]:hover { background: #f3dfdf; }
.mb-consent-actions button:focus-visible, .mb-consent-settings:focus-visible { outline: 3px solid #2269a2; outline-offset: 3px; }
.site-footer .mb-consent-settings { position: static; min-height: 44px; padding: 8px 0; border: 0; border-radius: 0; background: transparent; color: #e4eaf0; font: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.site-footer .mb-consent-settings:hover { color: #fff; }
.site-footer .mb-consent-settings:focus-visible { outline-color: #f5ddae; }
@media (max-width: 820px) {
    .mb-consent-inner { flex-direction: column; align-items: stretch; gap: 10px; }
    .mb-consent-actions button { flex: 1; }
}
