#mf-cookie-panel, #mf-cookie-settings { box-sizing: border-box; font-family: system-ui, sans-serif; font-size: 14px; line-height: 1.5; color: #18352d; }
#mf-cookie-panel { position: fixed; z-index: 10000; right: 16px; bottom: 64px; width: min(540px, calc(100vw - 32px)); max-height: 40vh; max-height: 40dvh; overflow-y: auto; padding: 20px; background: #fffdf8; border: 1px solid #a3b4a8; border-radius: 12px; box-shadow: 0 6px 28px #142f2733; text-align: left; }
#mf-cookie-panel[hidden] { display: none !important; }
#mf-cookie-panel [hidden] { display: none !important; }
#mf-cookie-panel[data-granular] { top: 50%; left: 50%; right: auto; bottom: auto; transform: translate(-50%, -50%); width: min(560px, calc(100vw - 32px)); max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); padding: 28px; border-radius: 16px; box-shadow: 0 16px 64px #142f2740; }
#mf-cookie-panel h2 { margin: 0 0 8px; font: 700 19px/1.3 system-ui, sans-serif; color: #18352d; }
#mf-cookie-panel p { margin: 0 0 12px; font: 400 14px/1.5 system-ui, sans-serif; color: #18352d; }
#mf-cookie-details { margin: 0 0 14px; padding: 0; background: transparent; border: 0; }
#mf-cookie-details summary { cursor: pointer; padding: 0 0 8px; font-weight: 600; color: #18352d; }
#mf-cookie-details a { color: #165c48; text-decoration: underline; }
#mf-cookie-actions { display: flex; flex-wrap: wrap; gap: 10px; }
#mf-cookie-categories { display: grid; gap: 8px; margin: 0 0 12px; }
#mf-cookie-categories > div { display: flex; gap: 10px; align-items: center; min-height: 44px; }
#mf-cookie-categories input { appearance: auto; position: static; flex: 0 0 20px; width: 20px; height: 20px; margin: 0; padding: 0; opacity: 1; accent-color: #244c3e; }
#mf-cookie-categories label { display: block; margin: 0; font: 600 14px/1.5 system-ui, sans-serif; color: #18352d; cursor: pointer; }
#mf-cookie-customize, #mf-cookie-allow-all, #mf-cookie-accept, #mf-cookie-decline, #mf-cookie-settings { min-height: 44px; padding: 10px 16px; border: 1px solid #244c3e; border-radius: 6px; font: 600 14px/1.4 system-ui, sans-serif; cursor: pointer; letter-spacing: normal; text-transform: none; }
#mf-cookie-allow-all, #mf-cookie-accept, #mf-cookie-decline { flex: 1 1 150px; margin: 0; color: #fff; background: #244c3e; }
#mf-cookie-accept:hover, #mf-cookie-decline:hover { color: #fff; background: #163b2e; }
#mf-cookie-panel[data-granular] #mf-cookie-allow-all { order: 0; background: #165c48; border-color: #165c48; }
#mf-cookie-panel[data-granular] #mf-cookie-allow-all:hover { background: #104735; border-color: #104735; }
#mf-cookie-panel[data-granular] #mf-cookie-accept, #mf-cookie-panel[data-granular] #mf-cookie-customize { order: 2; flex-basis: 100%; margin: 0; background: transparent; color: #527064; border-color: #c8d2c8; }
#mf-cookie-panel[data-granular] #mf-cookie-accept:hover, #mf-cookie-panel[data-granular] #mf-cookie-customize:hover { background: #edf3ee; }
#mf-cookie-panel[data-granular] #mf-cookie-decline { order: 1; }
#mf-cookie-panel[data-granular] #mf-cookie-decline { color: #36594a; background: #f6f8f3; border-color: #93a598; }
#mf-cookie-panel[data-granular] #mf-cookie-decline:hover { color: #18352d; background: #edf3ee; }
#mf-cookie-settings { position: fixed; z-index: 9999; right: 16px; bottom: 12px; margin: 0; color: #18352d; background: #fffdf8; box-shadow: 0 2px 8px #142f271a; }
#mf-cookie-panel :focus-visible, #mf-cookie-settings:focus-visible { outline: 3px solid #b65a11; outline-offset: 3px; }
@media (max-width: 480px) { #mf-cookie-panel { right: 10px; width: calc(100vw - 20px); padding: 16px; } #mf-cookie-settings { right: 10px; } }
@media (max-width: 480px) { #mf-cookie-panel[data-granular] { right: auto; width: calc(100vw - 24px); padding: 20px; max-height: calc(100vh - 24px); max-height: calc(100dvh - 24px); } }
