/* Privacy controls share the Guadagni palette and remain independent of page styles. */
.measure-choice,.measure-dialog{--privacy-ink:#3d3024;--privacy-muted:#736554;--privacy-edge:#d5c6b0;box-sizing:border-box;color:var(--privacy-ink);font:14px/1.55 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;text-align:left;letter-spacing:normal;background:#fcfaf6;border:1px solid var(--privacy-edge);box-shadow:0 18px 65px #30200f26}
.measure-choice *,.measure-dialog *{box-sizing:border-box}
.measure-choice{position:fixed;z-index:1000;bottom:max(20px,env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);width:min(860px,calc(100% - 40px));max-height:calc(100svh - 32px);overflow:auto;padding:18px 22px 10px;border-radius:20px;background:linear-gradient(125deg,#fffdf9,#f5efe5);isolation:isolate}
.measure-choice[hidden],.measure-dialog [hidden]{display:none!important}
.measure-choice h2,.measure-dialog h2,.measure-dialog h3{margin:0;color:var(--privacy-ink);font-family:inherit;font-weight:600;letter-spacing:-.5px;line-height:1.2}
.measure-choice h2{font-size:20px;padding-right:35px}
.measure-choice p,.measure-dialog p{margin:0}
.measure-choice .measure-eyebrow,.measure-dialog .measure-eyebrow{font-size:10px;line-height:1.4;letter-spacing:1.8px;font-weight:650;color:#89663b;margin:0 0 8px}
.measure-choice .measure-intro{max-width:710px;margin:8px 0 16px;padding-right:20px}
.measure-choice button,.measure-dialog button{appearance:none;font:600 13px/1.3 system-ui;letter-spacing:normal;min-height:46px;padding:11px 16px;margin:0;border:1px solid #b8a487;border-radius:13px;color:var(--privacy-ink);background:#fffdf9;box-shadow:inset 0 1px 0 #fff;cursor:pointer;text-align:center;text-transform:none;width:auto}
.measure-choice button:hover,.measure-dialog button:hover{background:#f1e7d6;border-color:#8e6c3d}
.measure-choice button:focus-visible,.measure-dialog button:focus-visible,.measure-choice a:focus-visible,.measure-dialog a:focus-visible,.measure-dialog summary:focus-visible,.measure-preferences:focus-visible{outline:3px solid #7a501c;outline-offset:3px}
.measure-choice .measure-close,.measure-dialog .measure-close{display:grid;place-items:center;width:44px;height:44px;min-height:44px;padding:0;border:0;border-radius:50%;background:transparent;box-shadow:none;font-size:27px;font-weight:400;line-height:1;flex-shrink:0}
.measure-choice .measure-close{position:absolute;top:12px;right:12px}
.measure-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.measure-banner-foot{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:6px 20px;margin-top:7px;font-size:12px;color:var(--privacy-muted)}
.measure-choice a,.measure-dialog a{text-decoration:underline;text-underline-offset:3px;color:#654719}
.measure-banner-foot a{display:inline-flex;align-items:center;min-height:32px}
.measure-dialog{width:min(640px,calc(100% - 32px));max-width:none;max-height:calc(100svh - 40px);margin:auto;padding:0;border-radius:26px;overflow:auto;overscroll-behavior:contain}
.measure-dialog:not([open]){display:none}
.measure-dialog::backdrop{background:#231a126b;backdrop-filter:blur(5px)}
.measure-dialog-open{overflow:hidden}
.measure-dialog-head{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:25px 28px 16px;border-bottom:1px solid #e7decf}
.measure-dialog h2{font-size:30px}
.measure-dialog-body{padding:20px 28px}
.measure-dialog .measure-intro{color:var(--privacy-muted);margin-bottom:22px}
.measure-category{margin:0 0 12px;padding:18px;border:1px solid #ded3c2;border-radius:17px;background:#fffdf9}
.measure-category-head{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:10px}
.measure-dialog h3{font-size:18px;letter-spacing:-.2px}
.measure-dialog h3 label{font:inherit;color:inherit;margin:0;display:block;cursor:pointer}
.measure-badge{font-size:11px;font-weight:600;white-space:nowrap;padding:5px 9px;border:1px solid #d7ceb9;border-radius:20px;color:#656045;background:#f2f0e7}
.measure-category>p,.measure-category details p{font-size:13px;line-height:1.6;color:var(--privacy-muted)}
.measure-category details{margin-top:10px}
.measure-category summary{display:list-item;cursor:pointer;min-height:38px;padding:8px 0;font-size:12px;font-weight:600;color:#765023}
.measure-category details p+p{margin-top:10px}
.measure-switch{position:relative;display:inline-flex;width:48px;height:30px;min-height:44px;align-items:center;flex:0 0 48px;cursor:pointer;margin:-7px 0}
.measure-switch input{position:absolute;inset:0;width:100%;height:100%;opacity:0;margin:0;cursor:pointer}
.measure-switch span{display:block;width:48px;height:28px;border-radius:20px;border:1px solid #978b7d;background:#ebe5dc;pointer-events:none}
.measure-switch span:after{content:"";display:block;width:20px;height:20px;margin:3px;border-radius:50%;background:#fff;border:1px solid #b1a697;box-shadow:0 1px 3px #40311a22;transition:transform .16s ease}
.measure-switch input:checked+span{background:#7c5728;border-color:#7c5728}
.measure-switch input:checked+span:after{transform:translateX(20px);border-color:#fff}
.measure-switch input:focus-visible+span{outline:3px solid #7a501c;outline-offset:4px}
.measure-switch input:disabled+span{opacity:.5}
.measure-dialog button:disabled{opacity:.55;cursor:not-allowed}
.measure-dialog .measure-separate,.measure-dialog .measure-saved{font-size:12px;line-height:1.55;color:var(--privacy-muted);margin-top:15px}
.measure-dialog .measure-browser-note{font-size:13px;padding:12px;border-radius:10px;background:#f2e8d4;margin:14px 0;color:#64481f}
.measure-policy{display:inline-flex;align-items:center;min-height:44px;font-size:12px;margin-top:4px}
.measure-dialog-actions{position:sticky;bottom:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;padding:16px 22px;background:#fcfaf6;border-top:1px solid #e7decf;box-shadow:0 -6px 18px #30200f06}
.measure-dialog-actions button{font-size:12px;padding:11px 9px}
body .measure-preferences{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;font:12px/1.4 system-ui;background:transparent;color:inherit;border:0;border-radius:6px;box-shadow:none;text-decoration:underline;text-underline-offset:3px;cursor:pointer;padding:12px;min-height:44px;margin:0}
.measure-footer{padding:18px 5%;color:#736554;font:12px system-ui}
.measure-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.measure-policy-details{display:block;margin-top:20px;border:1px solid #d8cbb9;border-radius:16px;padding:16px}
.measure-policy-details summary{cursor:pointer;font-weight:600;min-height:44px;padding:10px 0}
.measure-policy-details dl{display:grid;grid-template-columns:minmax(0,1fr) 2fr;gap:12px 24px;font-size:14px;line-height:1.6}
.measure-policy-details dt{font-weight:600;overflow-wrap:anywhere}.measure-policy-details dd{margin:0;overflow-wrap:anywhere}
@media(max-width:600px){.measure-choice{width:calc(100% - 24px);bottom:max(12px,env(safe-area-inset-bottom));padding:18px 16px 8px;border-radius:18px}.measure-choice h2{font-size:19px;line-height:1.2;max-width:290px}.measure-choice .measure-intro{font-size:13px;line-height:1.55;padding:0;margin:10px 0 14px}.measure-actions{grid-template-columns:1fr 1fr;gap:8px}.measure-actions [data-consent="customize"]{grid-column:1/-1;grid-row:2}.measure-choice button{font-size:12px;padding:10px 8px}.measure-banner-foot{display:block;font-size:11px}.measure-banner-foot span{display:block;margin:2px 0}.measure-choice .measure-close{top:8px;right:8px}.measure-dialog{width:calc(100% - 20px);max-height:calc(100svh - 24px);border-radius:22px}.measure-dialog-head{padding:18px 18px 14px}.measure-dialog h2{font-size:27px}.measure-dialog-body{padding:18px}.measure-category{padding:15px}.measure-category-head{gap:8px}.measure-badge{font-size:10px;padding:5px 7px}.measure-dialog-actions{grid-template-columns:1fr 1fr;padding:12px;gap:8px}.measure-dialog-actions [data-consent="save"]{grid-row:1;grid-column:1/-1}.measure-dialog-actions [data-consent="reject"]{grid-row:2}.measure-dialog-actions [data-consent="accept"]{grid-row:2}.measure-policy-details dl{grid-template-columns:1fr;gap:4px}.measure-policy-details dd{margin-bottom:12px}}
@media(prefers-reduced-motion:reduce){.measure-switch span:after{transition:none}}
