#ialoe-consent[hidden],#ialoe-consent-settings[hidden]{display:none!important}
#ialoe-consent,#ialoe-consent *{box-sizing:border-box}
#ialoe-consent{position:fixed;inset:auto 0 0;z-index:10000;margin:0;padding:12px 20px calc(12px + env(safe-area-inset-bottom,0px));max-height:calc(100vh - 16px);max-height:calc(100dvh - 16px);overflow:auto;background:#f3f8f2;color:#223d2b;border-top:1px solid #bbd3bb;box-shadow:0 -3px 16px #17382115;font:400 14px/1.45 system-ui,sans-serif;text-align:left}
#ialoe-consent .ialoe-consent-inner{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px 24px;max-width:1200px;margin:0 auto}
#ialoe-consent-title{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
#ialoe-consent .ialoe-consent-copy p{font:inherit;margin:0}
#ialoe-consent a{color:#235f2a;text-decoration:underline;text-underline-offset:2px}
#ialoe-consent .ialoe-consent-actions{display:flex;justify-content:flex-end;gap:8px;margin:0}
#ialoe-consent button,.ialoe-consent-edit{font:600 14px/1.3 system-ui,sans-serif;min-height:44px;margin:0;padding:9px 15px;border:1px solid #387a3c;border-radius:8px;background:#fff;color:#245d2b;cursor:pointer;text-align:center}
#ialoe-consent button:hover,.ialoe-consent-edit:hover{background:#e2eedf}
#ialoe-consent button:focus-visible,#ialoe-consent a:focus-visible,.ialoe-consent-edit:focus-visible,.ialoe-consent-open:focus-visible,.ialoe-cookie-settings:focus-visible{outline:3px solid #244fce;outline-offset:3px}
footer .ialoe-consent-open{color:inherit;text-decoration:underline}
.ialoe-cookie-settings{font:inherit;cursor:pointer;margin:12px;padding:8px 12px;border:1px solid #387a3c;border-radius:8px;background:#fff;color:#245d2b}
#ialoe-consent-settings{grid-column:1/-1;border-top:1px solid #bbd3bb;padding-top:12px;min-width:0}
#ialoe-consent-settings p{font:400 14px/1.5 system-ui,sans-serif;margin:0 0 10px}
#ialoe-consent-status:empty{display:none}
#ialoe-consent-status{font-weight:600!important}
#ialoe-consent-settings label{display:flex;align-items:flex-start;gap:9px;margin:12px 0;font:400 14px/1.5 system-ui,sans-serif}
#ialoe-consent-settings input{flex:0 0 20px;width:20px;height:20px;margin:1px 0 0;accent-color:#287c2d}
#ialoe-consent .ialoe-consent-detail-actions{display:flex;flex-wrap:wrap;gap:8px}
#cookies{scroll-margin-top:160px}
@media(max-width:700px){#ialoe-consent{padding:10px 12px calc(10px + env(safe-area-inset-bottom,0px));font-size:13px}#ialoe-consent .ialoe-consent-inner{grid-template-columns:minmax(0,1fr);gap:9px}#ialoe-consent .ialoe-consent-actions{justify-content:flex-end}#ialoe-consent button{padding:9px 10px}#ialoe-consent .ialoe-consent-detail-actions button{flex:1}}

/* Smaller visible controls, with a transparent 44px touch area. */
#ialoe-consent .ialoe-consent-actions button{position:relative;flex:0 0 auto;width:100px;min-width:100px;min-height:36px;padding:7px 12px;border-radius:6px;font-size:13px;line-height:1.3}
#ialoe-consent .ialoe-consent-actions button::after{content:"";position:absolute;inset:-4px 0}

/* Preferences are large only after an explicit settings action. */
#ialoe-consent:has(#ialoe-consent-settings:not([hidden])) .ialoe-consent-copy,#ialoe-consent:has(#ialoe-consent-settings:not([hidden])) .ialoe-consent-actions{display:none}
#ialoe-consent .ialoe-consent-actions button{width:116px;min-width:116px;white-space:nowrap}
#ialoe-consent:has(#ialoe-consent-settings:not([hidden])){padding-top:16px;padding-bottom:calc(16px + env(safe-area-inset-bottom,0px))}
#ialoe-consent-settings{border-top:0;padding-top:0}
#ialoe-consent .ialoe-consent-settings-header{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:8px}
#ialoe-consent .ialoe-consent-settings-header h3{font:700 19px/1.3 system-ui,sans-serif;margin:0;color:inherit}
#ialoe-consent .ialoe-consent-settings-header button{flex:0 0 44px;width:44px;min-width:44px;padding:0;font-size:24px;line-height:1}
#ialoe-consent .ialoe-consent-purpose{display:flex;align-items:flex-start;gap:10px;padding:12px;border:1px solid #c9dcc7;border-radius:8px;background:#fff;margin:10px 0}
#ialoe-consent .ialoe-consent-purpose small{display:block;font:400 13px/1.45 system-ui,sans-serif;margin-top:3px}
#ialoe-consent .ialoe-consent-purpose input:disabled{opacity:1}
#ialoe-consent .ialoe-consent-detail-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:14px 0}
#ialoe-consent .ialoe-consent-detail-actions button{white-space:normal}
#ialoe-consent .ialoe-consent-more{margin-top:12px;border-top:1px solid #bbd3bb;padding-top:12px}
#ialoe-consent .ialoe-consent-more summary{cursor:pointer;text-decoration:underline;text-underline-offset:2px;font-weight:600;min-height:32px}
@media(max-width:700px){#ialoe-consent .ialoe-consent-detail-actions{grid-template-columns:repeat(2,minmax(0,1fr))}#ialoe-consent .ialoe-consent-detail-actions [data-consent-choice="save"],#ialoe-consent .ialoe-consent-detail-actions [data-ialoe-consent-choice="save"]{grid-column:1/-1;grid-row:2}}

/* All three choices are immediately visible in one compact row. */
#ialoe-consent .ialoe-consent-actions{display:grid;grid-template-columns:repeat(3,116px);gap:6px}
#ialoe-consent .ialoe-consent-actions button{min-width:0}
@media(max-width:700px){#ialoe-consent .ialoe-consent-actions{grid-template-columns:repeat(3,minmax(0,1fr));width:100%}#ialoe-consent .ialoe-consent-actions button{width:100%;min-width:0;padding:7px 4px;font-size:12px;white-space:nowrap}}
