/* XAE v1.9 / UI-044: single Experience Shell for landing and legal experiences. */
body[data-xae-legal] .xp-footer{background:linear-gradient(145deg,#0b2040,#08172f)}
body[data-xae-legal] .xp-footer-choices{
 display:grid;grid-template-columns:repeat(2,minmax(0,1fr));
 align-items:stretch;gap:12px;
}
body[data-xae-legal] .xp-footer-choices>.xp-summary,
body[data-xae-legal] .xp-footer-choices>.xp-foot-person{
 min-width:0;width:100%;height:100%;min-height:68px;
 margin:0;display:flex;align-items:center;justify-content:center;
 border-radius:12px;text-align:center;
}
body[data-xae-legal] .xp-footer-choices>.xp-summary{justify-content:flex-start;gap:8px}
body[data-xae-legal] .xp-footer-choices .xp-summary-text{min-width:0}
body[data-xae-legal] .xp-footer-choices .xp-summary-text strong{font-size:clamp(11px,2.9vw,14px)}
body[data-xae-legal] .xp-footer-choices .xp-summary-text small{display:none}
body[data-xae-legal] .xp-footer-choices .xp-chevron{display:none}
body[data-xae-legal] .xp-footer-choices .xp-foot-person{gap:8px;font-size:clamp(11px,2.65vw,13px);white-space:normal}
body[data-xae-legal] .xp-footer-choices .xp-foot-person .xp-icon{flex:none}
body[data-xae-legal] .xp-back{
 width:42px;height:42px;border-radius:50%;
 display:flex;justify-content:center;align-items:center;flex:none;
 padding:8px;min-width:42px
}
body[data-xae-legal] #xp-back-label{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
body[data-xae-legal] .xp-modal{
 position:fixed;inset:0;z-index:150;
 display:none;justify-content:center;align-items:center!important;
 padding:16px!important;
 background:rgba(2,10,27,.78);
 backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)
}
body[data-xae-legal] .xp-modal.visible{display:flex!important}
body[data-xae-legal] .xp-modal-card{
 width:min(440px,calc(100vw - 32px))!important;
 max-height:min(86dvh,660px)!important;
 border-radius:19px!important;
 padding:21px!important;
 margin:auto!important;
 overflow-y:auto!important;
}
body[data-xae-legal] .xp-modal .xp-pref-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}
body[data-xae-legal] #xp-pref-autosave-note{font-size:13px;color:#466383;line-height:1.4;margin:16px 0 0;text-align:center}
body[data-xae-legal] .xp-person-fields input{font-size:16px}
body[data-xae-legal] .xp-modal .xp-pref select{min-width:0;width:100%;font-size:clamp(12px,3.1vw,14px)}
body[data-xae-legal] .legal-pt{display:none}
html[lang=pt] body[data-xae-legal] .legal-es,
html[lang=pt] body[data-xae-legal] .legal-en{display:none!important}
html[lang=pt] body[data-xae-legal] .legal-pt{display:block!important}
@media(max-width:400px){
 body[data-xae-legal] .xp-footer-choices{gap:9px}
 body[data-xae-legal] .xp-footer-choices>.xp-summary,
 body[data-xae-legal] .xp-footer-choices>.xp-foot-person{padding:9px 8px;min-height:62px}
 body[data-xae-legal] .xp-footer-choices .xp-summary-icon{width:30px;height:30px}
 body[data-xae-legal] .xp-footer-choices .xp-foot-person{font-size:11px}
 body[data-xae-legal] .xp-modal-card{padding:17px!important}
}
html[data-xae-appearance=light] body[data-xae-legal] .legal-header{background:#e5efffe8}
html[data-xae-appearance=light] body[data-xae-legal] .legal-header strong{color:#143462}
html[data-xae-appearance=light] body[data-xae-legal] .legal-header .xp-header-button{color:#234c83;border-color:#9abbe8}
html[data-xae-appearance=light] body[data-xae-legal] .legal-main .draft{color:#1a4479;background:#e0eefe}
