.sae-trigger,.sae-submit{background:#30391f;color:#fff;border:1px solid #30391f;border-radius:4px;padding:14px 22px;cursor:pointer;font:600 14px/1.4 inherit;letter-spacing:.03em}.sae-trigger:hover,.sae-submit:hover{background:#555e32;color:#fff}.sae-overlay[hidden]{display:none!important}.sae-overlay{position:fixed;inset:0;background:rgba(19,25,13,.72);z-index:999999;display:flex;align-items:center;justify-content:center;padding:18px;overflow:auto}.sae-dialog{position:relative;background:#f7f4ee;color:#292820;width:min(100%,620px);max-height:calc(100vh - 36px);overflow-y:auto;border-radius:10px;padding:34px;box-shadow:0 20px 70px #0005}.sae-close{position:absolute;right:16px;top:12px;border:0;background:transparent;color:#30391f;font-size:30px;line-height:1;cursor:pointer}.sae-kicker{color:#947b48;letter-spacing:.15em;font-size:11px;font-weight:700}.sae-dialog h2{font-family:Georgia,serif;font-size:32px;font-weight:400;color:#30391f;margin:8px 0}.sae-intro{margin:0 0 22px;color:#555e32}.sae-dialog form{display:grid;gap:14px}.sae-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.sae-dialog label{display:block;color:#30391f;font-size:13px;font-weight:600}.sae-dialog label>span:not(.sae-consent span){color:#a45d45}.sae-dialog input:not([type=checkbox]),.sae-dialog select,.sae-dialog textarea{box-sizing:border-box;width:100%;margin-top:6px;padding:11px 12px;border:1px solid #d4cebf;border-radius:4px;background:#fff;color:#292820;font:inherit;font-size:14px}.sae-dialog input:focus,.sae-dialog select:focus,.sae-dialog textarea:focus{outline:2px solid #8b8355;outline-offset:1px}.sae-consent{display:flex!important;gap:10px;align-items:flex-start;font-weight:400!important;line-height:1.5}.sae-consent input{margin-top:4px;accent-color:#30391f}.sae-consent a{color:#30391f;text-decoration:underline}.sae-submit{width:100%;font-size:14px}.sae-footnote{text-align:center;font-size:12px;color:#77776d;margin:0}.sae-feedback{font-size:14px}.sae-feedback:not(:empty){padding:10px;border-radius:4px;background:#e6ebdd;color:#30391f}.sae-hp{position:absolute!important;left:-9999px!important;width:1px;height:1px;overflow:hidden}.sae-open{overflow:hidden}@media(max-width:560px){.sae-dialog{padding:28px 18px}.sae-grid{grid-template-columns:1fr}.sae-dialog h2{font-size:27px}}@media(prefers-reduced-motion:reduce){.sae-overlay *{scroll-behavior:auto!important}}

.sae-submit[hidden]{display:none!important}.sae-warning{color:#8a3329;font-weight:600}.sae-dialog strong{font-weight:600}.sae-dialog .sae-submit:disabled{opacity:.5;cursor:not-allowed}

/* Premium selectable stay cards: isolated to Sant’Anna modal */
.sae-dialog .sae-purpose{border:0;padding:0;margin:3px 0 2px;min-width:0}
.sae-dialog .sae-purpose legend{font-family:Georgia,'Times New Roman',serif;font-size:clamp(18px,2.3vw,23px);font-weight:700;color:#191914;line-height:1.25;margin:0 0 17px;padding:0}
.sae-dialog .sae-purpose legend em{font-weight:400;font-size:.86em;white-space:nowrap}
.sae-purpose-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding:3px 3px 0}
.sae-dialog .sae-purpose-card{position:relative;display:block;cursor:pointer;min-width:0;font-weight:400}
.sae-purpose-card input[type=radio]{position:absolute;opacity:0;width:1px;height:1px;top:50%;left:50%;margin:0}
.sae-purpose-visual{position:relative;min-height:145px;box-sizing:border-box;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;border:1px solid #89754b;border-radius:13px;background:#fffcf7;padding:14px 5px 10px;transition:border-color .15s,background .15s,box-shadow .15s}
.sae-purpose-card input:checked + .sae-purpose-visual{border:2.5px solid #555e32;background:#f7f4ee;box-shadow:0 0 0 1px #555e32}
.sae-purpose-card input:focus-visible + .sae-purpose-visual{outline:3px solid #b49a65;outline-offset:3px}
.sae-purpose-icon{display:block;width:47px;height:47px;fill:none;stroke:#555e32;stroke-width:2.8;stroke-linecap:round;stroke-linejoin:round;flex:none}
.sae-purpose-copy{display:flex;flex-direction:column;align-items:center;gap:0;font-family:Georgia,'Times New Roman',serif;font-weight:400;font-size:clamp(15px,2vw,21px);line-height:1.13;letter-spacing:-.025em;text-align:center;color:#191914}
.sae-purpose-copy span{display:block}
.sae-purpose-check{position:absolute;right:-13px;top:-13px;width:35px;height:35px;box-sizing:border-box;border-radius:50%;background:#555e32;border:2px solid #f7f4ee;display:none;align-items:center;justify-content:center;z-index:2;box-shadow:0 1px 3px #0002}
.sae-purpose-check svg{width:23px;height:23px;fill:none;stroke:#fff;stroke-width:3.3;stroke-linecap:round;stroke-linejoin:round}
.sae-purpose-card input:checked + .sae-purpose-visual .sae-purpose-check{display:flex}
@media(max-width:560px){.sae-purpose-options{gap:8px;padding:4px 5px 0}.sae-purpose-visual{min-height:122px;padding:10px 3px 8px;gap:5px;border-radius:10px}.sae-purpose-icon{width:34px;height:34px}.sae-purpose-copy{font-size:clamp(12px,3.1vw,16px)}.sae-purpose-check{width:31px;height:31px;right:-11px;top:-12px}.sae-purpose-check svg{width:20px;height:20px}}

/* v1.3 – balanced, accessible typography and spacing */
.sae-dialog{width:min(100%,640px);padding:32px 34px;font-size:15px;line-height:1.5}
.sae-kicker{font-size:11.5px;line-height:1.5}
.sae-dialog h2{font-size:clamp(31px,4vw,36px);line-height:1.14;margin:6px 0 8px}
.sae-intro{font-size:15px;line-height:1.5;margin:0 0 20px}
.sae-dialog form{gap:15px}
.sae-grid{gap:14px}
.sae-dialog label{font-size:14px;line-height:1.4}
.sae-dialog input:not([type=checkbox]),.sae-dialog select,.sae-dialog textarea{font-size:15px;line-height:1.45;min-height:46px;padding:11px 12px;margin-top:7px}
.sae-dialog textarea{min-height:76px;resize:vertical}
.sae-dialog .sae-purpose legend{font-size:clamp(23px,3vw,26px);line-height:1.2;margin-bottom:16px}
.sae-dialog .sae-purpose legend em{font-size:.78em}
.sae-purpose-copy{font-size:clamp(17px,2.25vw,22px)}
.sae-consent{font-size:13.5px!important;line-height:1.55!important;gap:11px}
.sae-consent input[type=checkbox]{width:16px;height:16px;min-width:16px;flex:0 0 16px;margin-top:3px}
.sae-dialog .sae-submit{font-family:inherit;font-size:15px;line-height:1.4;min-height:49px;letter-spacing:.025em;padding:13px 18px}
.sae-footnote{font-size:12.5px;line-height:1.45}
.sae-feedback{font-size:14px;line-height:1.45}
@media(max-width:560px){.sae-dialog{padding:27px 19px;font-size:15px}.sae-dialog h2{font-size:30px}.sae-dialog .sae-purpose legend{font-size:22px}.sae-purpose-copy{font-size:clamp(13px,3.6vw,17px)}.sae-purpose-visual{min-height:125px}.sae-consent{font-size:13px!important}}
@media(max-width:380px){.sae-purpose-options{gap:6px}.sae-purpose-copy{font-size:12.5px}.sae-dialog .sae-purpose legend{font-size:21px}}

/* v1.4 – compact mobile layout and keyboard usability */
.sae-feedback:focus{outline:none}.sae-feedback:not(:empty){padding:11px 13px;background:#eef1e6;border-left:3px solid #555e32;border-radius:4px}.sae-dialog input:focus-visible,.sae-dialog select:focus-visible,.sae-dialog textarea:focus-visible,.sae-submit:focus-visible,.sae-close:focus-visible{outline:2px solid #8b8355;outline-offset:2px}@media(max-width:560px){.sae-dialog form{gap:12px}.sae-dialog .sae-purpose legend{margin-bottom:11px}.sae-purpose-visual{min-height:115px}.sae-dialog textarea{min-height:65px}}
/* v1.6 accessibility and mobile refinements */
.sae-dialog :is(input,select,textarea,button,a):focus-visible,.sae-purpose-card:focus-within .sae-purpose-visual{outline:3px solid #b49a65;outline-offset:3px}
.sae-dialog{overscroll-behavior:contain;max-height:min(92dvh,900px);overflow-y:auto}
.sae-purpose-card{cursor:pointer}
@media(max-width:600px){.sae-dialog{width:calc(100vw - 18px);max-height:94dvh;padding:22px 16px}.sae-purpose-options{gap:7px}.sae-purpose-copy{font-size:clamp(13px,3.8vw,18px)}.sae-purpose-visual{padding:12px 4px}.sae-dialog input,.sae-dialog select,.sae-dialog textarea{font-size:16px}}
@media(prefers-reduced-motion:reduce){.sae-overlay *{animation:none!important;transition:none!important}}

/* v2.1 – compact premium modal: preserve readable labels and large selected check */
.sae-overlay{padding:12px;overflow:hidden;align-items:center}
.sae-dialog{box-sizing:border-box;width:min(100%,670px);max-height:calc(100dvh - 24px);padding:19px 28px 18px;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#bcb39e transparent}
.sae-kicker{font-size:11px;line-height:1.3}
.sae-dialog h2{font-size:clamp(28px,3vw,33px);margin:3px 0 4px;line-height:1.13}
.sae-intro{font-size:14px;line-height:1.35;margin:0 0 10px}
.sae-dialog form{gap:9px}
.sae-grid{gap:12px}
.sae-dialog label{font-size:13.5px;line-height:1.3}
.sae-dialog input:not([type=checkbox]),.sae-dialog select,.sae-dialog textarea{font-size:15px;min-height:38px;padding:7px 10px;margin-top:4px;line-height:1.3}
.sae-dialog textarea{min-height:46px;height:46px;resize:vertical}
.sae-dialog .sae-purpose{margin:0;padding:0}
.sae-dialog .sae-purpose legend{font-size:22px;line-height:1.18;margin-bottom:8px}
.sae-purpose-options{gap:11px;padding:4px 6px 1px}
.sae-purpose-visual{min-height:93px;padding:9px 4px 7px;gap:4px;border-radius:11px}
.sae-purpose-icon{width:29px;height:29px;stroke-width:2.8}
.sae-purpose-copy{font-size:clamp(15px,1.9vw,19px);line-height:1.12}
.sae-purpose-check{width:35px;height:35px;right:-12px;top:-12px}
.sae-purpose-check svg{width:23px;height:23px}
.sae-consent{font-size:12.5px!important;line-height:1.35!important;gap:8px}
.sae-consent input[type=checkbox]{margin-top:1px}
.sae-dialog .sae-submit{min-height:41px;padding:9px 14px;font-size:14px}
.sae-footnote{font-size:11.5px;line-height:1.25}
.sae-feedback:empty{display:none}
@media(min-width:701px) and (min-height:770px){.sae-dialog{overflow:visible;max-height:calc(100dvh - 24px)}}
@media(max-width:700px){.sae-overlay{padding:8px;overflow:hidden}.sae-dialog{width:100%;max-height:calc(100dvh - 16px);padding:20px 17px;overflow-y:auto}.sae-dialog h2{font-size:29px}.sae-purpose-visual{min-height:95px}.sae-purpose-icon{width:29px;height:29px}.sae-purpose-copy{font-size:clamp(12px,3.3vw,17px)}}
@media(max-width:460px){.sae-dialog{padding:17px 13px}.sae-dialog form{gap:9px}.sae-grid{gap:9px}.sae-dialog h2{font-size:26px}.sae-intro{font-size:13px;margin-bottom:8px}.sae-purpose-options{gap:6px;padding:4px 5px 1px}.sae-purpose-visual{min-height:86px;padding:8px 2px 6px}.sae-purpose-icon{width:25px;height:25px}.sae-purpose-copy{font-size:clamp(11.5px,3vw,15px)}.sae-dialog .sae-purpose legend{font-size:19px}.sae-purpose-check{width:31px;height:31px;right:-10px;top:-11px}.sae-purpose-check svg{width:20px;height:20px}}
@media(max-width:380px){.sae-grid{grid-template-columns:1fr}.sae-dialog{overflow-y:auto}}
@media(max-height:769px){.sae-dialog{overflow-y:auto}}

/* v2.2: viewport-aware modal, no unnecessary desktop scrollbar */
.sae-overlay{padding:clamp(6px,1.3vh,14px)}
.sae-dialog{width:min(100%,680px);max-height:calc(100dvh - 16px);padding:clamp(12px,2vh,22px) clamp(16px,2.6vw,30px);overflow-y:auto;scrollbar-gutter:stable}
.sae-dialog form{gap:clamp(5px,1vh,10px)}
.sae-purpose-visual{min-height:clamp(65px,10.5vh,89px);gap:3px;padding:6px 4px}
.sae-purpose-icon{width:clamp(21px,3.2vh,27px);height:clamp(21px,3.2vh,27px)}
.sae-dialog .sae-purpose legend{margin-bottom:5px;font-size:clamp(18px,2.4vh,22px)}
.sae-dialog input:not([type=checkbox]),.sae-dialog select,.sae-dialog textarea{min-height:36px;padding:6px 10px}
.sae-dialog textarea{height:42px;min-height:42px}
.sae-intro{margin-bottom:6px}
@media(min-width:701px) and (min-height:720px){.sae-dialog{overflow-y:visible;scrollbar-gutter:auto}}
@media(max-height:720px){.sae-dialog{overflow-y:auto}.sae-purpose-visual{min-height:64px}.sae-dialog h2{font-size:26px}}
@media(max-width:560px){.sae-dialog{overflow-y:auto}.sae-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.sae-dialog input:not([type=checkbox]),.sae-dialog select{min-width:0}.sae-purpose-copy{font-size:clamp(11px,3vw,15px)}}
@media(max-width:370px){.sae-grid{grid-template-columns:1fr}}
