.consent-banner,.consent-dialog,.consent-status{box-sizing:border-box;color:#203c2e;background:#faf9f3;font-family:Lato,Arial,sans-serif;line-height:1.55;text-align:left}
.consent-banner{position:fixed;z-index:1000;bottom:20px;bottom:max(20px,env(safe-area-inset-bottom));right:20px;right:max(20px,env(safe-area-inset-right));left:auto;width:420px;max-width:calc(100% - 40px);margin:0;padding:20px;background:#080b09;border:1px solid #354339;border-radius:6px;box-shadow:0 4px 24px #0003;max-height:calc(100vh - 40px);max-height:calc(100dvh - 40px);overflow:auto;overscroll-behavior:contain}
.consent-banner h2,.consent-dialog h2{font:400 26px/1.2 Georgia,serif;margin:0 0 12px;color:#203c2e}
.consent-banner p,.consent-dialog p{font-size:15px;line-height:1.6;margin:0 0 18px;color:#425648}
.consent-banner a,.consent-dialog a{color:inherit;text-decoration:underline;text-underline-offset:3px}
.consent-banner h2{font-size:22px;margin-bottom:10px;color:#fff}
.consent-banner p{font-size:13px;line-height:1.55;margin-bottom:16px;color:#d5ddd2}
.consent-banner .consent-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.consent-banner .consent-actions button{min-height:44px;padding:10px 8px;font-size:13px;background:#e2ebce;border-color:#e2ebce;color:#183e2e}
.consent-banner .consent-actions button:hover{background:#f0f5e7}
.consent-banner .consent-actions [data-consent-open]{grid-column:1/-1;background:transparent;border-color:transparent;color:#e2ebce;font-weight:400;text-decoration:underline;text-underline-offset:3px}
.consent-banner .consent-actions [data-consent-open]:hover{background:#253027}
.consent-actions{display:flex;flex-wrap:wrap;gap:12px}
.consent-actions button{flex:1 1 160px;min-height:46px;padding:12px 16px;background:#183e2e;color:#fff;border:1px solid #183e2e;border-radius:4px;font:700 15px/1.35 Lato,Arial,sans-serif;cursor:pointer}
.consent-actions button:hover{background:#28523d}
.consent-actions button:focus-visible,.consent-dialog button:focus-visible,.consent-dialog input:focus-visible,.consent-settings:focus-visible{outline:3px solid #65804e;outline-offset:4px}
.consent-dialog{color:#fff;background:#080b09;color-scheme:dark;border:1px solid #354339;border-radius:8px;width:calc(100% - 32px);max-width:650px;max-height:85dvh;padding:28px;overflow:auto;overscroll-behavior:contain}
.consent-dialog::backdrop{background:#0009}
.consent-dialog-header{display:flex;justify-content:space-between;gap:20px;align-items:flex-start;margin-bottom:8px}
.consent-dialog-header button{flex:none;min-width:44px;min-height:44px;background:transparent;border:1px solid #aebda5;border-radius:4px;font:26px/1 Lato,Arial,sans-serif;color:#e2ebce;cursor:pointer}
.consent-category{border-top:1px solid #354339;padding:20px 0 4px}
.consent-category-title{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:0 0 10px;font-size:17px}
.consent-category-title span{font-size:13px;color:#d5ddd2}
.consent-category-title[for]{cursor:pointer;min-height:44px}
.consent-category-title .consent-switch{display:flex;align-items:center;gap:10px;flex:none;min-height:44px}
.consent-switch input{appearance:none;-webkit-appearance:none;box-sizing:border-box;position:relative;width:52px;height:30px;margin:7px 0;border:2px solid #a7b5a7;border-radius:20px;background:#344038;cursor:pointer;flex:none}
.consent-switch input::before{content:'';position:absolute;top:3px;left:3px;width:20px;height:20px;border-radius:50%;background:#fff}
.consent-switch input:checked{background:#e2ebce;border-color:#e2ebce}
.consent-switch input:checked::before{left:25px;background:#183e2e}
.consent-switch input~span{min-width:48px}
.consent-switch input~.consent-switch-on{display:none}
.consent-switch input:checked~.consent-switch-off{display:none}
.consent-switch input:checked~.consent-switch-on{display:inline;color:#e2ebce}
.consent-dialog h2{color:#fff}
.consent-dialog p{color:#d5ddd2}
.consent-dialog a{color:#e2ebce}
.consent-dialog .consent-actions button{background:#e2ebce;border-color:#e2ebce;color:#183e2e}
.consent-dialog .consent-actions button:hover{background:#f0f5e7}
.consent-dialog .consent-actions [data-consent-save]{background:transparent;color:#e2ebce}
.consent-dialog .consent-actions [data-consent-save]:hover{background:#253027}
.consent-dialog button:focus-visible,.consent-dialog input:focus-visible{outline-color:#e2ebce}
@media(forced-colors:active){.consent-switch input{appearance:auto;-webkit-appearance:auto}.consent-switch input::before{display:none}}
.consent-dialog .consent-note{font-size:13px}
.consent-dialog .consent-policy{margin:18px 0 0;font-size:13px}
.consent-status{color:#d5ddd2;background:#080b09;position:fixed;z-index:1002;bottom:16px;left:16px;right:16px;max-width:600px;margin:auto;padding:14px 20px;border:1px solid #aebda5;border-radius:5px;box-shadow:0 2px 16px #10291f26;font-size:14px}
.consent-settings{font:inherit;text-decoration:underline;text-underline-offset:3px}
[data-consent-banner][hidden],[data-consent-status][hidden]{display:none!important}
@media(max-width:520px){.consent-banner{width:auto;max-width:none;left:12px;left:max(12px,env(safe-area-inset-left));right:12px;right:max(12px,env(safe-area-inset-right));bottom:12px;bottom:max(12px,env(safe-area-inset-bottom));padding:16px;max-height:calc(100vh - 24px);max-height:calc(100dvh - 24px)}.consent-banner h2{font-size:21px}.consent-banner p{font-size:13px;margin-bottom:12px}.consent-dialog h2{font-size:23px}.consent-actions{gap:8px}.consent-actions button{flex-basis:120px;font-size:14px;padding:10px}.consent-dialog{padding:20px;width:calc(100% - 20px)}.consent-dialog .consent-actions{flex-direction:column}.consent-dialog .consent-actions button{flex-basis:auto}}

/* Mobile notice: primary choices first; full explanation remains one tap away. */
.consent-mobile-copy{display:none}
.consent-more summary{cursor:pointer;min-height:44px;display:flex;align-items:center;gap:12px;font:700 13px/1.4 Lato,Arial,sans-serif;color:#fff;list-style:none}
.consent-more summary::-webkit-details-marker{display:none}
.consent-more-label{display:flex;align-items:center;gap:6px;flex:none;text-decoration:underline;text-underline-offset:3px}
.consent-more-label::after{content:'+';font-size:18px;text-decoration:none}
.consent-short{margin-left:auto;font-size:12px;line-height:1.45;font-weight:400;color:#d5ddd2}
.consent-short>span{display:block}
.consent-more[open] .consent-more-label::after{content:'−'}
.consent-more summary:focus-visible,.consent-more button:focus-visible{outline:3px solid #65804e;outline-offset:2px}
.consent-more button{min-height:44px;width:100%;padding:10px;border:1px solid #aebda5;border-radius:4px;background:transparent;color:#e2ebce;font:700 13px/1.4 Lato,Arial,sans-serif;cursor:pointer}
@media(max-width:520px){
 .consent-banner{padding:12px 14px}
 .consent-desktop-copy,.consent-banner .consent-actions .consent-desktop-settings{display:none}
 .consent-mobile-copy{display:block}
 .consent-banner .consent-actions{margin-bottom:4px}
 .consent-banner .consent-actions button{min-height:48px;font-size:14px}
 .consent-more>p{margin:0 0 12px;padding-top:4px}
 .consent-more summary{min-height:44px}
}

/* Desktop: a shallow bottom strip keeps the calendar in view. */
@media(min-width:768px){
 .consent-banner{left:max(20px,env(safe-area-inset-left));right:max(20px,env(safe-area-inset-right));bottom:max(16px,env(safe-area-inset-bottom));width:auto;max-width:none;padding:16px 22px;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:28px}
 .consent-banner h2{font-size:20px;margin-bottom:6px}
 .consent-banner p{margin:0;font-size:13px;line-height:1.5}
 .consent-banner .consent-actions{grid-template-columns:repeat(2,minmax(125px,1fr)) auto;align-items:center;gap:10px}
 .consent-banner .consent-actions button{padding:10px 14px;white-space:nowrap}
 .consent-banner .consent-actions [data-consent-open]{grid-column:auto}
}
@media(min-width:768px) and (max-width:1099px){
 .consent-banner{grid-template-columns:1fr;gap:12px;padding:14px 18px}
 .consent-banner .consent-actions{justify-self:end}
}
