.ef-th{font-family:Arial,sans-serif!important;background:#000;color:#f5f5f5;min-height:100vh;padding:clamp(20px,5vw,64px);box-sizing:border-box;line-height:1.6;max-width:100%;overflow-wrap:anywhere}.ef-th *{box-sizing:border-box;font-family:Arial,sans-serif}.ef-th main,.ef-th header,.ef-th .ef-error{max-width:920px;margin:0 auto}.ef-th header{border-bottom:1px solid #555;padding-bottom:20px;margin-bottom:44px}.ef-th h1{font-size:clamp(28px,5vw,48px);line-height:1.15;color:#fff}.ef-th h2{font-size:26px;color:#fff}.ef-th h3{color:#fff}.ef-th button,.ef-th .ef-link{background:#fff;color:#111;border:2px solid transparent;border-radius:6px;padding:14px 20px;font-size:16px;min-height:48px;margin:6px;cursor:pointer}.ef-th button:disabled{opacity:.55;cursor:wait}.ef-th .ef-options button[aria-pressed=true]{background:#fff;color:#111;border-color:#fff;box-shadow:0 0 0 1px #fff}.ef-th :focus-visible{outline:3px solid #fff;outline-offset:4px}.ef-th a{color:#fff}.ef-th details{margin:30px 0}.ef-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:16px;margin:24px 0}.ef-card{display:block;background:#191919;padding:20px;border:1px solid #666;border-radius:8px;cursor:pointer}.ef-card span{display:block;color:#ccc;margin-top:8px}.ef-th input[type=checkbox]{width:20px;height:20px;accent-color:#fff}.ef-options{display:grid;gap:10px}.ef-options button{text-align:left;background:#222;color:white;border-color:#777}.ef-contact{max-width:600px}.ef-contact label{display:block;margin:18px 0}.ef-contact input{display:block;width:100%;background:#fff;color:#111;border:2px solid #777;border-radius:4px;padding:12px;font-size:18px;min-height:48px}.ef-th progress,.ef-th meter{display:block;width:100%;height:22px;accent-color:#fff}.ef-th .ef-score{font-size:64px;font-weight:bold;margin:10px 0}.ef-th article{border-top:1px solid #555;padding:10px 0}.ef-warning{border-left:4px solid #fff;padding:16px;background:#222}.ef-error{color:#ffb8b8;font-weight:bold;padding:16px 0}.ef-bar{margin:20px 0}.ef-bar strong{float:right}.ef-th h1:focus,.ef-th h2:focus{outline:none}@media(max-width:480px){.ef-th{padding:18px}.ef-th button{margin:6px 0;width:100%}.ef-th h2{font-size:23px}}

.ef-options button{position:relative;padding-right:52px;transition:background-color .18s ease,color .18s ease,border-color .18s ease,box-shadow .18s ease}
.ef-options button:hover{border-color:#fff;background:#303030}
.ef-options button[aria-pressed=true]::after{content:'✓';position:absolute;right:20px;top:50%;transform:translateY(-50%);font-size:22px;font-weight:bold}
.ef-question-nav{display:flex;justify-content:space-between;gap:16px;margin-top:28px}
.ef-question-nav button{margin:0;min-width:136px}
.ef-question-nav [data-action=back]{background:transparent;color:#fff;border-color:#777}
.ef-question-nav [data-action=back]:hover{border-color:#fff}
.ef-question-nav [data-action=next]{margin-left:auto}
.ef-th [hidden]{display:none!important}
.ef-th progress,.ef-th meter{appearance:none;-webkit-appearance:none;background:#333;border:0;border-radius:20px;overflow:hidden}
.ef-th progress::-webkit-progress-bar{background:#333;border-radius:20px}
.ef-th progress::-webkit-progress-value{background:#fff;border-radius:20px;transition:width .25s ease}
.ef-th progress::-moz-progress-bar{background:#fff;border-radius:20px}
.ef-th meter::-webkit-meter-bar{background:#333;border:0;border-radius:20px}
.ef-th meter::-webkit-meter-optimum-value{background:#fff;border-radius:20px}
.ef-th meter::-moz-meter-bar{background:#fff;border-radius:20px}
@media(max-width:480px){.ef-question-nav{gap:12px}.ef-question-nav button{width:auto;min-width:0;flex:1;padding:14px 12px}}
@media(prefers-reduced-motion:reduce){.ef-options button,.ef-th progress::-webkit-progress-value{transition:none}}

/* Identidad y landing EF: el encabezado permanece fuera del contenido animado. */
.ef-public-page{margin:0;background:#000}
.ef-th{padding-top:0;padding-bottom:0}
.ef-th main,.ef-th .ef-error{max-width:1160px}
.ef-th .ef-site-header{position:sticky;top:0;z-index:20;max-width:1160px;min-height:108px;padding:16px 0;margin:0 auto;display:flex;align-items:center;justify-content:space-between;gap:24px;border-bottom:1px solid #292929;background:#000}
.ef-th .ef-brand{display:block;position:relative;width:260px;height:auto;aspect-ratio:1080/400;flex-shrink:0}
.ef-th .ef-brand img{position:static;display:block;width:100%!important;max-width:100%;height:100%;object-fit:contain}
.ef-header-label{color:#b5b5b5;font-size:13px;letter-spacing:.03em;text-align:right;max-width:190px}
.ef-th .ef-eyebrow{font-size:11px;font-weight:700;letter-spacing:.18em;color:#aaa;margin:0 0 22px}
.ef-hero{max-width:930px;padding:92px 0 68px}
.ef-th .ef-hero h1{font-size:clamp(38px,5.1vw,70px);font-weight:500;line-height:1.08;letter-spacing:-.045em;margin:0 0 30px}
.ef-hero-description{font-size:clamp(17px,1.6vw,21px);line-height:1.65;color:#bdbdbd;max-width:740px;margin:0 0 32px}
.ef-hero-actions{display:flex;align-items:center;gap:30px}
.ef-th .ef-hero-actions button{margin:0;padding:17px 25px;border-radius:8px;font-weight:600}
.ef-hero-actions button span{margin-left:24px;font-size:21px}
.ef-text-link{font-size:15px;text-decoration:none;border-bottom:1px solid #777;padding:5px 0}
.ef-text-link span{margin-left:14px}
.ef-hero-facts{display:flex;flex-wrap:wrap;gap:38px;margin-top:50px;border-top:1px solid #292929;padding-top:26px;font-size:13px;color:#999}
.ef-hero-facts strong{color:#eee;font-size:15px;display:block;margin-bottom:3px}
.ef-steps{padding:76px 0 90px;text-align:center;scroll-margin-top:130px;border-top:1px solid #252525}
.ef-th .ef-steps h2,.ef-th .ef-explore h2{font-size:clamp(28px,3.2vw,43px);font-weight:400;line-height:1.2;letter-spacing:-.025em;margin:0 0 18px}
.ef-section-intro{color:#aaa;font-size:17px;margin:0 auto 42px;max-width:650px}
.ef-steps-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;text-align:left}
.ef-th .ef-step{background:#1d1d1d;border:0;border-radius:28px;padding:32px;min-height:270px}
.ef-step-number{font-size:14px;letter-spacing:.15em;color:#aaa}
.ef-th .ef-step h3{font-size:23px;line-height:1.25;font-weight:400;margin:22px 0 18px}
.ef-step p{font-size:16px;color:#c4c4c4;margin:0;line-height:1.7}
.ef-explore{padding:68px 0 80px;border-top:1px solid #252525}
.ef-section-heading{max-width:700px}
.ef-explore .ef-section-intro{margin-left:0}
.ef-area-preview{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0 28px}
.ef-th .ef-area-preview article{padding:26px 0;border-top:1px solid #333}
.ef-area-preview article>span{color:#7d7d7d;font-size:12px}
.ef-th .ef-area-preview h3{font-size:17px;font-weight:500;line-height:1.4;margin:14px 0 12px}
.ef-area-preview p{color:#999;font-size:14px;line-height:1.65;margin:0}
.ef-orientation{font-size:12px;color:#888;max-width:780px;line-height:1.7;margin:34px 0 0}
.ef-slider{text-align:center;background:#111;border-radius:30px;padding:50px 26px 58px;margin:12px 0 0}
.ef-quote-mark{font-family:Arial,sans-serif;font-size:100px;font-weight:bold;line-height:1;display:block;height:90px}
.ef-quote-row{display:grid;grid-template-columns:48px minmax(0,1fr) 48px;align-items:center;gap:18px}
.ef-quotes{display:grid;align-items:center;min-height:170px}
.ef-th .ef-quotes blockquote{border:0;background:none;padding:0;margin:0;font-size:clamp(24px,3vw,40px);line-height:1.4;font-weight:400;color:#fff;font-style:normal}
.ef-th .ef-quote-arrow{font-size:44px;line-height:1;background:transparent;color:#fff;padding:0;margin:0;border:0;min-width:48px;min-height:48px;border-radius:50%}
.ef-th .ef-quote-arrow:hover{background:#292929}
.ef-slider-dots{display:flex;justify-content:center;gap:12px;margin:14px 0 34px}
.ef-th .ef-slider-dots button{padding:0;margin:0;background:transparent;width:28px;min-width:28px;height:28px;min-height:28px;border:0;display:grid;place-items:center}
.ef-slider-dots button::before{content:'';display:block;width:6px;height:6px;border-radius:50%;background:#666;transition:background .2s ease}
.ef-slider-dots button[aria-pressed=true]::before{background:#fff}
.ef-th .ef-contact-pill{display:inline-block;border:1px solid #aaa;border-radius:40px;padding:12px 25px;text-decoration:none;font-size:19px;color:#eee}
.ef-contact-pill:hover{background:#222}
.ef-th .ef-site-footer{max-width:1160px;margin:90px auto 0;padding:45px 38px 32px;background:#111;border-radius:32px 32px 0 0}
.ef-footer-contact{display:grid;grid-template-columns:1fr 1fr 1.2fr;gap:26px;padding:40px 32px;background:#202020;border-radius:26px}
.ef-contact-item{display:flex;align-items:flex-start;gap:16px;color:#ddd;font-size:14px}
.ef-contact-item p{margin:0;line-height:1.9}
.ef-contact-icon{display:grid;place-items:center;border:1px solid #ddd;border-radius:50%;width:48px;height:48px;flex-shrink:0}
.ef-contact-icon svg{width:22px;height:22px}
.ef-th .ef-contact-item h2{font-size:17px;font-weight:400;margin:0 0 13px;letter-spacing:.02em}
.ef-contact-item a{text-decoration:none;overflow-wrap:anywhere}
.ef-social-links{display:flex;align-items:center;gap:14px}
.ef-social-links a{display:grid;place-items:center;width:32px;height:32px}
.ef-social-links strong{font-family:Arial,sans-serif;font-size:22px;letter-spacing:-1.5px}
.ef-social-links svg{width:20px;height:20px}
.ef-footer-columns{display:grid;grid-template-columns:1.25fr 1fr 1fr;gap:65px;padding:46px 28px 24px}
.ef-footer-about p{font-size:14px;line-height:1.7;color:#bdbdbd;max-width:290px;margin:20px 0}
.ef-th .ef-footer-columns h2{font-size:20px;font-weight:400;margin:19px 0 35px;letter-spacing:.02em}
.ef-footer-columns nav a{display:block;width:fit-content;color:#bbb;text-decoration:none;font-size:15px;margin-bottom:18px}
.ef-footer-columns nav a:hover{text-decoration:underline;color:#fff}
.ef-copyright{text-align:center;color:#aaa;font-size:13px;margin:32px 0 10px}
.ef-th.ef-in-diagnosis main{max-width:920px;padding-top:42px;min-height:660px}
.ef-in-diagnosis .ef-error{max-width:920px}
@media(max-width:900px){.ef-area-preview{grid-template-columns:repeat(2,minmax(0,1fr))}.ef-steps-grid{gap:16px}.ef-th .ef-step{padding:26px 22px}.ef-footer-contact{grid-template-columns:1fr 1fr}.ef-contact-item:last-child{grid-column:1/-1}.ef-footer-columns{gap:30px;padding-left:0;padding-right:0}}
@media(max-width:600px){
 .ef-th .ef-site-header{min-height:90px;padding:8px 0;gap:8px}.ef-th .ef-site-header .ef-brand{width:205px;height:auto}.ef-header-label{font-size:10px;max-width:95px;line-height:1.5}
 .ef-hero{padding:62px 0 44px}.ef-th .ef-hero h1{font-size:39px}.ef-hero-description{font-size:17px}.ef-hero-actions{flex-direction:column;align-items:stretch;gap:20px}.ef-text-link{align-self:flex-start}.ef-hero-facts{gap:20px;justify-content:space-between}.ef-hero-facts span{max-width:105px;font-size:11px}.ef-hero-facts strong{font-size:13px}
 .ef-steps{padding:52px 0}.ef-steps-grid{grid-template-columns:1fr}.ef-th .ef-step{min-height:0;border-radius:24px;padding:26px}.ef-th .ef-step h3{margin-top:15px}.ef-section-intro{font-size:15px}.ef-explore{padding:50px 0}.ef-area-preview{gap:0 20px}.ef-th .ef-area-preview h3{font-size:16px}
 .ef-slider{padding:35px 14px 40px;border-radius:24px}.ef-quote-row{grid-template-columns:30px minmax(0,1fr) 30px;gap:5px}.ef-th .ef-quote-arrow{width:30px!important;min-width:30px;font-size:36px}.ef-quotes{min-height:210px}.ef-th .ef-quotes blockquote{font-size:24px}.ef-th .ef-contact-pill{font-size:17px;padding:11px 18px}.ef-slider-dots{margin-bottom:25px}
 .ef-th .ef-site-footer{margin-top:60px;padding:22px 18px;border-radius:24px 24px 0 0}.ef-footer-contact{grid-template-columns:1fr;padding:26px 20px;gap:26px;border-radius:20px}.ef-contact-item:last-child{grid-column:auto}.ef-footer-columns{grid-template-columns:1fr 1fr;gap:20px;padding-top:25px}.ef-footer-about{grid-column:1/-1}.ef-footer-about p{max-width:none}.ef-th .ef-footer-columns h2{font-size:17px;margin-bottom:24px}.ef-footer-columns nav a{font-size:13px}.ef-copyright{font-size:11px}.ef-th.ef-in-diagnosis main{padding-top:30px}
}

/* Desplazamiento y adaptación para pantallas táctiles. */
html:has(.ef-public-page){scroll-behavior:smooth;scroll-padding-top:120px}
.ef-th{padding-inline:clamp(16px,4vw,64px)}
.ef-th main{min-width:0;scroll-margin-top:120px}
.ef-th .ef-site-header{top:env(safe-area-inset-top,0px)}
.ef-th .ef-site-header .ef-brand{--ef-brand-width:clamp(148px,48vw,260px);width:var(--ef-brand-width);height:auto}

.ef-header-label{min-width:0;flex:1;max-width:190px;text-wrap:balance}
.ef-th button,.ef-th a{touch-action:manipulation;-webkit-tap-highlight-color:transparent}
.ef-card,.ef-step,.ef-area-preview article,.ef-contact-item,.ef-footer-columns>*{min-width:0}
.ef-th .ef-contact-item h2,.ef-contact-item a{overflow-wrap:anywhere}
.ef-th .ef-contact-icon{flex:0 0 48px}
.ef-options button{line-height:1.5;min-height:58px}
.ef-question-nav{padding-bottom:env(safe-area-inset-bottom,0px)}
.ef-th .ef-contact input{min-width:0;font-size:18px}
.ef-th .ef-bar p{display:flex;justify-content:space-between;gap:16px;align-items:baseline}
.ef-bar strong{float:none;flex-shrink:0}
.ef-th .ef-social-links a{min-width:44px;min-height:44px}
.ef-th .ef-slider-dots button{width:44px;min-width:44px;height:44px;min-height:44px}
@media(min-width:601px) and (max-width:1024px){
 .ef-hero{padding:64px 0 52px}.ef-th .ef-hero h1{font-size:clamp(40px,6vw,58px)}
 .ef-steps,.ef-explore{padding:58px 0}.ef-steps-grid{gap:16px}.ef-th .ef-step{padding:24px 20px;min-height:260px}.ef-th .ef-step h3{font-size:21px}
 .ef-th .ef-site-footer{padding:32px 24px}.ef-footer-contact{padding:28px 24px;gap:24px}
 .ef-footer-columns{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.ef-footer-about{grid-column:1/-1}.ef-footer-about p{max-width:550px}
 .ef-th.ef-in-diagnosis main{padding-top:32px;min-height:620px}
}
@media(max-width:700px){
 .ef-steps-grid{grid-template-columns:1fr}.ef-th .ef-step{min-height:0;padding:26px}
 .ef-footer-contact{grid-template-columns:1fr}.ef-contact-item:last-child{grid-column:auto}
 .ef-hero-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.ef-hero-facts span{max-width:none}
}
@media(max-width:600px){
 html:has(.ef-public-page){scroll-padding-top:90px}.ef-th main{scroll-margin-top:90px}
 .ef-th .ef-site-header{min-height:80px;gap:12px}.ef-header-label{font-size:10px;max-width:140px}
 .ef-hero{padding:44px 0 38px}.ef-th .ef-hero h1{font-size:clamp(31px,8.5vw,44px);letter-spacing:-.035em}
 .ef-hero-description{font-size:16px}.ef-th .ef-eyebrow{font-size:10px;letter-spacing:.13em;line-height:1.7}
 .ef-hero-facts{margin-top:34px;padding-top:22px}.ef-hero-facts strong{font-size:13px}.ef-hero-facts span{font-size:11px}
 .ef-th .ef-steps h2,.ef-th .ef-explore h2{font-size:29px}.ef-section-intro{font-size:16px}
 .ef-th.ef-in-diagnosis main{min-height:calc(100svh - 90px);padding-top:24px}
 .ef-th.ef-in-diagnosis main h1{font-size:clamp(29px,7.4vw,38px)}
 .ef-th.ef-in-diagnosis main h2{font-size:clamp(21px,5.6vw,26px);line-height:1.35}
 .ef-options{gap:12px}.ef-options button{font-size:16px;padding:15px 42px 15px 15px;margin:0;width:100%}
 .ef-options button[aria-pressed=true]::after{right:15px;font-size:20px}
 .ef-question-nav{gap:12px;margin-top:24px}.ef-question-nav button{width:auto;flex:1;min-width:0;font-size:15px;padding:14px 10px}
 .ef-contact{max-width:none}.ef-th .ef-contact input{font-size:16px}
 .ef-th .ef-site-footer{padding:22px 16px}.ef-footer-columns{column-gap:16px}
 .ef-th .ef-footer-about .ef-brand{width:228px;height:auto;max-width:100%}
 .ef-th .ef-contact-pill{font-size:16px}.ef-th .ef-quotes blockquote{font-size:clamp(21px,5.8vw,27px)}
}
@media(max-width:360px){
 .ef-area-preview{grid-template-columns:1fr}.ef-hero-facts{gap:10px}.ef-hero-facts strong{font-size:12px}
 .ef-contact-item{gap:12px;font-size:13px}.ef-footer-contact{padding:22px 16px}
 .ef-footer-columns{grid-template-columns:1fr}.ef-footer-about{grid-column:auto}
 .ef-th .ef-site-footer{padding:20px 14px}.ef-quotes{min-height:230px}
}
@media(prefers-reduced-motion:reduce){html:has(.ef-public-page){scroll-behavior:auto}}

/* Encabezado compacto y navegación del cuestionario siempre al alcance. */
.ef-th .ef-site-header{min-height:0;padding:4px 0}
.ef-th .ef-site-header .ef-brand{--ef-brand-width:clamp(145px,23vw,190px)}
.ef-header-label{font-size:11px;line-height:1.4}
html:has(.ef-public-page){scroll-padding-top:84px}
.ef-th main{scroll-margin-top:84px}
.ef-th.ef-in-diagnosis main{padding-top:24px}
.ef-th.ef-question-active{padding-bottom:90px}
.ef-question-active main{padding-bottom:30px}
.ef-th .ef-question-nav{position:fixed;inset:auto 0 0;z-index:30;width:100%;max-width:1048px;box-sizing:border-box;margin:0 auto;padding:12px clamp(16px,4vw,64px);padding-bottom:max(12px,env(safe-area-inset-bottom,0px));background:#080808;border-top:1px solid #333;box-shadow:0 -10px 28px rgb(0 0 0 / .35);gap:16px;align-items:center}
.ef-th .ef-question-nav button{margin:0;min-height:46px;padding:12px 20px;font-size:15px}
@media(max-width:600px){
 .ef-th .ef-site-header{padding:2px 0;gap:10px}.ef-header-label{font-size:10px}
 .ef-th.ef-in-diagnosis main{padding-top:16px}
 .ef-question-active main>p:first-child{font-size:14px;margin:0 0 8px}
 .ef-question-active main>label{font-size:13px}
 .ef-question-active main progress{height:10px;margin-top:6px}
 .ef-th.ef-question-active main h2{font-size:clamp(19px,5vw,23px);margin:18px 0 12px;line-height:1.35}
 .ef-question-active main>h2+p{font-size:14px;line-height:1.45;margin:0 0 18px}
 .ef-question-active .ef-options{gap:9px}
 .ef-question-active .ef-options button{min-height:48px;font-size:15px;padding-top:11px;padding-bottom:11px}
 .ef-th .ef-question-nav{gap:12px;padding-top:10px;padding-bottom:max(10px,env(safe-area-inset-bottom,0px))}
 .ef-th .ef-question-nav button{flex:1;min-width:0;width:auto;padding:11px 12px}
}
@media(max-height:600px) and (min-width:601px){
 .ef-th .ef-site-header .ef-brand{--ef-brand-width:145px}
 .ef-th.ef-in-diagnosis main{padding-top:12px}
 .ef-question-active main h2{font-size:22px;margin:12px 0}
 .ef-question-active .ef-options{gap:8px}
 .ef-question-active .ef-options button{min-height:44px;padding-top:8px;padding-bottom:8px}
}

.ef-th.ef-in-diagnosis{overflow-anchor:none}

/* Cierre de área: finalizar siempre es la última acción. */
.ef-area-actions{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin-top:28px}
.ef-th .ef-area-actions button{margin:0}
.ef-th .ef-area-actions button:not([data-action=finish]){background:transparent;color:#fff;border-color:#777}
.ef-th .ef-area-actions [data-action=finish]{margin-left:auto}
/* Un solo control visual para el país y el número de WhatsApp. */
.ef-th .ef-whatsapp-field{margin:18px 0;padding:0;border:0;min-width:0}
.ef-whatsapp-field legend{padding:0;margin-bottom:6px;font-size:16px}
.ef-whatsapp-control{display:flex;align-items:stretch;background:#fff;border:2px solid #777;border-radius:6px;overflow:hidden;min-height:52px}
.ef-whatsapp-control:focus-within{border-color:#fff;outline:2px solid #fff;outline-offset:3px}
.ef-th .ef-whatsapp-control select{width:46%;max-width:250px;min-width:0;margin:0;padding:12px 28px 12px 12px;background:#eee;color:#111;border:0;border-right:1px solid #ccc;border-radius:0;font:inherit;font-size:16px;cursor:pointer;min-height:48px;text-overflow:ellipsis}
.ef-th .ef-whatsapp-control input[type=tel]{flex:1;min-width:0;width:0;border:0;border-radius:0;padding:12px;color:#111;background:#fff;font-size:16px;margin:0}
.ef-th .ef-whatsapp-control input:focus-visible,.ef-th .ef-whatsapp-control select:focus-visible{outline:2px solid #333;outline-offset:-3px}
@media(max-width:600px){.ef-area-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.ef-th .ef-area-actions button{width:100%;height:100%;padding:12px;font-size:14px}.ef-th .ef-area-actions [data-action=finish]{grid-column:1/-1;margin:0}.ef-th .ef-whatsapp-control select{width:47%;padding-left:9px;font-size:16px}.ef-th .ef-whatsapp-control input[type=tel]{padding:12px 9px}}

/* Footer de borde a borde, con contenido centrado y esquinas rectas. */
.ef-th .ef-site-footer{width:calc(100% + 2 * clamp(16px,4vw,64px));max-width:none;margin-inline:calc(-1 * clamp(16px,4vw,64px));border-radius:0;padding:40px clamp(16px,4vw,64px) 32px}
.ef-footer-inner{max-width:1160px;margin-inline:auto}
.ef-th .ef-footer-contact{border-radius:0}

/* Selección compacta; empezar permanece visible junto al contador. */
.ef-th.ef-selection-active{padding-bottom:88px}
.ef-th.ef-selection-active main{min-height:0;padding-top:22px}
.ef-selection-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:20px}
.ef-th.ef-selection-active .ef-selection-heading h1{font-size:30px;line-height:1.2;letter-spacing:-.02em;margin:0 0 8px}
.ef-selection-heading p{font-size:15px;color:#bbb;line-height:1.5;margin:0}
.ef-th .ef-selection-heading button{margin:0;background:transparent;color:#fff;border-color:#777;white-space:nowrap;font-size:14px;padding:10px 14px}
.ef-th .ef-selection-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:0}
.ef-th .ef-selection-grid .ef-card{display:flex;align-items:flex-start;gap:10px;padding:16px;min-height:120px;border-radius:8px}
.ef-selection-grid .ef-card input{flex-shrink:0;margin:2px 0 0}
.ef-selection-grid .ef-card div{min-width:0}
.ef-selection-grid .ef-card strong{font-size:15px;line-height:1.35;display:block;font-weight:500}
.ef-selection-grid .ef-area-description{font-size:12px;line-height:1.45;color:#aaa;margin-top:8px}
.ef-selection-grid .ef-card:has(input:checked){border-color:#ccc;background:#202020}
.ef-th .ef-selection-nav button{flex:0 1 auto;margin-left:auto;max-width:270px}
.ef-selection-count{font-size:13px;color:#bbb}
/* Continuar tiene prioridad; finalizar solo se destaca con cobertura completa. */
.ef-th .ef-area-actions button[data-action=continue]{background:#fff;color:#111;border-color:#fff}
.ef-th .ef-area-actions [data-action=finish]{background:#000;color:#fff;border-color:#777}
.ef-th .ef-area-actions.ef-all-complete [data-action=finish]{background:#fff;color:#111;border-color:#fff}
/* Confirmación nativa: foco contenido, Escape cancela y fundido sin desplazamiento. */
.ef-th .ef-finish-dialog{position:fixed;inset:0;margin:auto;width:min(540px,calc(100% - 32px));max-height:calc(100dvh - 40px);overflow:auto;padding:30px;background:#161616;color:#fff;border:1px solid #555;border-radius:14px;box-shadow:0 24px 90px #000a}
.ef-finish-dialog::backdrop{background:rgb(0 0 0 / .78);animation:ef-modal-backdrop .22s ease-out}
.ef-th .ef-finish-dialog h2{font-size:25px;line-height:1.25;margin:0 0 16px}
.ef-finish-dialog p{font-size:16px;line-height:1.65;color:#ccc;margin:0}
.ef-th .ef-pending-areas{margin:20px 0;color:#bbb;font-size:14px}
.ef-pending-areas summary{cursor:pointer;min-height:40px}
.ef-pending-areas ul{padding-left:22px;line-height:1.8}
.ef-dialog-actions{display:flex;justify-content:flex-end;gap:12px;margin-top:28px}
.ef-th .ef-dialog-actions button{margin:0;font-size:14px;padding:12px 16px}
.ef-th .ef-dialog-actions [data-modal-cancel]{background:#fff;color:#111;border-color:#fff}
.ef-th .ef-dialog-actions [data-modal-confirm]{background:#000;color:#fff;border-color:#777}
@keyframes ef-modal-backdrop{from{background:transparent}to{background:rgb(0 0 0 / .78)}}
@media(min-width:601px) and (max-width:1000px){.ef-th .ef-selection-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ef-th .ef-selection-grid .ef-card{min-height:90px;padding:12px}.ef-selection-grid .ef-area-description{font-size:12px;margin-top:5px}}
@media(max-width:600px){
 .ef-th.ef-selection-active main{padding-top:16px}.ef-selection-heading{display:block;margin-bottom:12px}.ef-th.ef-selection-active .ef-selection-heading h1{font-size:24px}.ef-selection-heading p{font-size:13px;line-height:1.4;margin-bottom:12px}.ef-th .ef-selection-heading button{min-height:40px;padding:8px 12px;font-size:13px;width:auto}
 .ef-th .ef-selection-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.ef-th .ef-selection-grid .ef-card{min-height:62px;padding:10px;gap:7px;align-items:center}.ef-selection-grid .ef-card strong{font-size:13px;line-height:1.35}.ef-selection-grid .ef-card input{width:18px;height:18px;margin:0}.ef-th .ef-selection-grid .ef-area-description{display:none}
 .ef-selection-count{font-size:11px;max-width:95px}.ef-th .ef-selection-nav button{font-size:14px;padding:12px;max-width:220px}
 .ef-th .ef-finish-dialog{padding:24px 20px}.ef-th .ef-finish-dialog h2{font-size:22px}.ef-finish-dialog p{font-size:15px}.ef-dialog-actions{flex-direction:column}.ef-th .ef-dialog-actions button{width:100%}
}
@media(max-height:600px) and (min-width:601px){.ef-th.ef-selection-active main{padding-top:12px}.ef-th .ef-selection-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.ef-th .ef-selection-grid .ef-card{min-height:64px;padding:10px}.ef-th .ef-selection-grid .ef-area-description{display:none}.ef-selection-heading{margin-bottom:12px}.ef-th.ef-selection-active .ef-selection-heading h1{font-size:24px}}
@media(prefers-reduced-motion:reduce){.ef-finish-dialog::backdrop{animation:none}}

/* Más espacio para las áreas y menos altura de texto durante el recorrido. */
.ef-th.ef-in-diagnosis .ef-site-footer{display:none}
.ef-th.ef-selection-active main{max-width:1100px}
.ef-th .ef-selection-grid{gap:16px}
.ef-th .ef-selection-grid .ef-card{min-height:142px;padding:20px;gap:12px}
.ef-selection-grid .ef-card strong{font-size:16px}
.ef-selection-grid .ef-area-description{font-size:13px;line-height:1.5;margin-top:9px}
.ef-th.ef-question-active main{padding-top:18px}
.ef-question-active main>p:first-child{font-size:14px;line-height:1.4;margin:0 0 10px}
.ef-question-active main>label{font-size:14px;line-height:1.4}
.ef-question-active main progress{height:10px;margin-top:7px}
.ef-th.ef-question-active main h2{font-size:23px;line-height:1.35;margin:18px 0 12px}
.ef-question-active main>h2+p{font-size:14px;line-height:1.45;margin:0 0 18px}
.ef-question-active .ef-options{gap:9px}
.ef-question-active .ef-options button{font-size:15px;line-height:1.4;margin:0;padding:12px 46px 12px 16px;min-height:46px}
@media(min-width:601px) and (max-width:1000px){.ef-th .ef-selection-grid .ef-card{min-height:105px;padding:14px}.ef-selection-grid .ef-card strong{font-size:15px}.ef-selection-grid .ef-area-description{font-size:12px;margin-top:6px}}
@media(max-width:600px){
 .ef-th .ef-selection-grid{gap:10px}.ef-th .ef-selection-grid .ef-card{min-height:70px;padding:12px;gap:8px}.ef-selection-grid .ef-card strong{font-size:14px}
 .ef-th.ef-question-active main{padding-top:14px}.ef-th.ef-question-active main h2{font-size:19px;margin:15px 0 10px}
 .ef-question-active main>p:first-child,.ef-question-active main>label{font-size:13px}
 .ef-question-active main>h2+p{font-size:13px;margin-bottom:14px}
 .ef-question-active .ef-options{gap:8px}.ef-question-active .ef-options button{font-size:14px;min-height:44px;padding:10px 40px 10px 13px}
}
@media(max-height:600px) and (min-width:601px){.ef-th .ef-selection-grid .ef-card{min-height:68px;padding:12px}.ef-th.ef-question-active main h2{font-size:20px}.ef-question-active .ef-options button{min-height:44px;padding-block:8px}}

.ef-th .ef-complete-confirmation [data-modal-confirm]{background:#fff;color:#111;border-color:#fff}
.ef-th .ef-complete-confirmation [data-modal-cancel]{background:transparent;color:#fff;border-color:#777}

/* Países con bandera y búsqueda local por nombre o prefijo. */
.ef-th .ef-whatsapp-control{overflow:visible;position:relative}
.ef-country-picker{position:relative;flex:0 0 auto;border-right:1px solid #ccc}
.ef-th .ef-country-picker select[hidden]{display:none!important}
.ef-th .ef-country-toggle{display:flex;align-items:center;justify-content:center;gap:8px;margin:0;height:100%;min-height:48px;border:0;border-radius:3px 0 0 3px;padding:10px 12px;background:#eee;color:#111;font-size:16px;width:auto;white-space:nowrap}
.ef-country-flag{font-family:'Apple Color Emoji','Segoe UI Emoji','Noto Color Emoji',sans-serif;font-size:22px;line-height:1.2;flex-shrink:0}
.ef-th .ef-whatsapp-control input[type=tel]{border-radius:0 3px 3px 0}
.ef-country-menu{position:absolute;z-index:45;top:calc(100% + 8px);left:-2px;width:min(360px,calc(100vw - 36px));background:#fff;color:#111;border:1px solid #aaa;border-radius:8px;box-shadow:0 12px 35px #0006;overflow:hidden}
.ef-th .ef-country-search-label{display:block;margin:0;padding:12px 12px 8px;font-size:12px;font-weight:600;color:#555}
.ef-th .ef-country-search{margin:6px 0 0;padding:10px;width:100%;min-height:44px;background:#f5f5f5;color:#111;border:1px solid #aaa;border-radius:4px;font-size:16px;font-weight:400}
.ef-country-list{max-height:min(260px,36dvh);overflow-y:auto;overscroll-behavior:contain;scroll-behavior:auto}
.ef-th .ef-country-list [role=option]{display:flex;align-items:center;gap:10px;width:100%;min-height:44px;margin:0;padding:10px 14px;text-align:left;border:0;border-radius:0;background:#fff;color:#111;font-size:14px;line-height:1.3}
.ef-country-list [role=option] small{margin-left:auto;color:#555;font-size:13px;white-space:nowrap}
.ef-th .ef-country-list [role=option]:hover,.ef-th .ef-country-list .ef-country-active{background:#ececec}
.ef-th .ef-country-list [aria-selected=true]{background:#e0e0e0;font-weight:600}
.ef-country-status{margin:0;padding:9px 12px;border-top:1px solid #ddd;color:#666;font-size:12px;line-height:1.4}
.ef-th .ef-country-toggle:focus-visible{outline:2px solid #333;outline-offset:-4px}
@media(max-width:360px){.ef-th .ef-country-toggle{gap:5px;padding-inline:8px;font-size:15px}.ef-country-flag{font-size:20px}}

/* Acciones de registro juntas, con una sola acción principal. */
.ef-form-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;align-items:stretch;margin-top:24px}
.ef-th .ef-form-actions button{width:100%;height:100%;min-width:0;min-height:48px;margin:0;padding:13px 16px;font-size:15px;line-height:1.4}
.ef-th .ef-form-actions [type=submit]{background:#fff;color:#111;border-color:#fff}
.ef-th .ef-form-actions [data-action=close-form]{background:#000;color:#fff;border-color:#fff}
@media(max-width:600px){.ef-form-actions{gap:10px}.ef-th .ef-form-actions button{font-size:14px;padding:12px 10px}}
