.country-simulator-page{margin:0;background:#fff;color:#375F7A;font-family:"Segoe UI",Arial,sans-serif;line-height:1.5}
.country-simulator-page *{box-sizing:border-box}
.ife-countries{width:100%;margin:0 auto;padding:clamp(36px,6vw,68px) 16px;background:#fff;color:#375f7a}
.ife-countries h2{margin:0;text-align:center;font-size:clamp(2rem,6vw,3.3rem);line-height:1.15;font-weight:800}
.country-simulator-page [hidden],.ec-simulator [hidden]{display:none!important}
.country-page{width:min(920px,100%);margin:auto;padding:16px 14px 36px}
.country-page-head{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:20px}
.country-page-head img{display:block;width:clamp(100px,29vw,154px);height:auto}
.country-back{display:inline-flex;align-items:center;justify-content:center;min-height:44px;border:1px solid #cfe7e4;border-radius:10px;background:#fff;padding:8px 12px;color:#375F7A;text-decoration:none;font-weight:700;line-height:1.3;text-align:center}
.country-back:focus-visible{outline:3px solid #375F7A;outline-offset:3px}
.country-page-title{display:flex;align-items:center;gap:10px;margin:0 0 20px;font-size:clamp(1.6rem,5vw,2.1rem);line-height:1.2}
.country-page-title img{flex-shrink:0;object-fit:contain}
.country-simulator-page .btn{border:0;border-radius:12px;font:inherit;font-weight:800;text-decoration:none}
.country-simulator-page .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.country-options{display:flex;flex-wrap:wrap;justify-content:center;gap:14px;max-width:660px;margin:30px auto 0}
.country-option{display:flex;flex:1 1 200px;align-items:center;justify-content:center;gap:14px;min-height:100px;padding:18px 20px;border:2px solid #cfe7e4;border-radius:16px;background:#fff;color:#375f7a;font:inherit;font-size:1.25rem;font-weight:800;text-decoration:none;cursor:pointer}
.country-option img{display:block;flex:0 0 48px;object-fit:contain}
.country-flag{font-size:2rem}
.country-option:hover,.country-option:active{border-color:#26baa5;background:#26baa5;color:#163e50}
.country-option:active{filter:brightness(.97)}
.country-option:focus-visible,.ec-simulator :is(input,select,a,button):focus-visible{outline:3px solid #375f7a;outline-offset:4px}
.country-panel{min-width:0;border:1px solid #cfe7e4;border-radius:20px;background:#fff;padding:clamp(14px,3.5vw,28px);scroll-margin-top:16px}
.ec-simulator{max-width:760px;margin:0 auto;color:#375f7a;font:inherit}
.ec-intro{margin:0 0 25px;font-size:1rem;line-height:1.55}
.ec-step{min-width:0;margin:0 0 24px;padding:0;border:0}
.ec-step legend{margin-bottom:12px;padding:0;font-size:1.12rem;font-weight:850}
.ec-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.ec-option{position:relative;display:flex;align-items:center;gap:10px;min-width:0;min-height:58px;border:2px solid #d6e8e5;border-radius:13px;background:#fff;padding:12px;color:#375f7a;font-size:1rem;line-height:1.35;font-weight:700;cursor:pointer}
.ec-option:has(input:checked){border-color:#26baa5;background:#26baa5;color:#163e50}
.ec-option:focus-within{outline:3px solid #375f7a;outline-offset:3px}
.ec-option input{flex:0 0 18px;width:18px;height:18px;min-height:0;margin:0;accent-color:#375f7a}
.ec-option span{min-width:0;overflow-wrap:anywhere}
.ec-grade-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.ec-field{min-width:0;margin-bottom:16px}
.ec-field>label{display:block;margin:0 0 8px;color:#375f7a;font-size:1rem;font-weight:800}
.ec-field>label span{font-weight:600}
.ec-field input,.ec-field select{box-sizing:border-box;width:100%;min-width:0;min-height:52px;border:2px solid #cfe7e4;border-radius:11px;background:#fff;color:#163e50;padding:12px;font:inherit;font-size:1rem}
.ec-field input[aria-invalid=true],.ec-field select[aria-invalid=true]{border-color:#b42318}
.ec-other-subject{margin-top:12px}
.ec-input-unit{display:flex;align-items:center;gap:10px}
.ec-input-unit input{flex:1;font-size:1.65rem;font-weight:800}
.ec-input-unit>span{flex-shrink:0;font-size:.88rem;font-weight:650}
.ec-error{min-height:0;margin:5px 0 0;color:#b42318;font-size:.86rem;line-height:1.4}
.ec-error:empty{display:none}
.ec-simulation{margin:4px 0 24px;border-radius:15px;background:#f4faf9;padding:18px}
.ec-simulation .ec-field{max-width:380px}
.ec-range{display:block;box-sizing:border-box;width:100%;height:44px;margin:12px 0 0;padding:0;appearance:none;cursor:pointer;background:transparent}
.ec-range::-webkit-slider-runnable-track{height:12px;border-radius:999px;background:linear-gradient(to right,#26baa5 0%,#26baa5 var(--ec-progress,70%),#dce9e7 var(--ec-progress,70%),#dce9e7 100%)}
.ec-range::-webkit-slider-thumb{width:32px;height:32px;margin-top:-10px;border:3px solid #375f7a;border-radius:50%;background:#26baa5;appearance:none}
.ec-range::-moz-range-track{height:12px;border-radius:999px;background:#dce9e7}
.ec-range::-moz-range-progress{height:12px;border-radius:999px;background:#26baa5}
.ec-range::-moz-range-thumb{width:26px;height:26px;border:3px solid #375f7a;border-radius:50%;background:#26baa5}
.ec-range-labels{display:flex;justify-content:space-between;font-size:.85rem;font-weight:700}
.ec-note{margin:14px 0 0;font-size:.9rem;line-height:1.5}
.ec-subject{margin-top:4px}
.ec-simulator .ec-calculate,.ec-simulator .ec-whatsapp{box-sizing:border-box;display:flex;align-items:center;justify-content:center;gap:10px;width:100%;min-height:54px;background:#375f7a;color:#fff;padding:13px 16px;font-size:1rem;line-height:1.35;text-align:center;white-space:normal;cursor:pointer}
.ec-simulator .ec-calculate:hover,.ec-simulator .ec-whatsapp:hover{background:#28495f;transform:none}
.ec-result{margin-top:24px;border:2px solid #26baa5;border-radius:16px;background:#fff;padding:clamp(18px,4vw,28px)}
.ec-result p{margin:0 0 12px;line-height:1.5;overflow-wrap:anywhere}
.ec-result-subject{font-size:.95rem;font-weight:800}
.ec-result-label{font-size:1.05rem;font-weight:700}
.ec-result .ec-status{display:table;max-width:100%;margin:0 0 12px;border-radius:999px;background:var(--ec-state,#26BAA5);padding:7px 14px;color:var(--ec-state-ink,#163e50);font-size:1rem;font-weight:850;line-height:1.3}
.ec-result .ec-status-message{font-size:1rem;font-weight:600}
.ec-result .ec-result-number{display:flex;flex-wrap:wrap;align-items:baseline;gap:10px;margin:12px 0 18px}
.ec-result-number strong{color:#375f7a;font-size:clamp(2.9rem,12vw,4rem);line-height:1;font-weight:900}
.ec-result-number span{font-size:.95rem;font-weight:700}
.ec-result .ec-result-explanation{margin-bottom:0;font-size:1rem}
.ec-simulator .ec-whatsapp{margin-top:16px;text-decoration:none}
.ec-whatsapp svg{width:24px;height:24px;flex-shrink:0;fill:currentColor}
@media(max-width:620px){.country-options{gap:9px}.country-option{flex-basis:130px;max-width:none;gap:9px;min-height:72px;padding:10px;font-size:1rem}.country-option img{width:42px;height:42px;flex-basis:42px}.country-panel{padding:14px 12px;border-radius:16px}.ec-options,.ec-grade-grid{grid-template-columns:1fr}.ec-grade-grid{gap:0}.ec-step{margin-bottom:22px}.ec-input-unit input{font-size:1.5rem}.ec-simulation{padding:14px}.ec-simulator .ec-whatsapp{font-size:.96rem}}
