/* Scoped to existing forms and original calculators; no Elementor/Astra global styles. */
/* Register Now: fixed comfortable desktop width; mobile always fluid. */
body.page-id-1383 .entry-content .wpforms-container,body.page-id-1383 .entry-content #wpforms-1221,body.page-id-1383 .entry-content #wpforms-form-1221{width:100%!important;max-width:620px!important;margin-left:auto!important;margin-right:auto!important;box-sizing:border-box!important}
body.page-id-1383 .entry-content .wpforms-container,body.page-id-296 .entry-content .srfm-form-container,body.page-id-296 .entry-content .srfm-form{background:#f4f8ff!important;color:#1a304b!important;border:1px solid #c8d7ea!important;border-radius:12px!important;box-shadow:0 8px 23px rgba(12,38,88,.08)!important;padding:clamp(16px,3vw,25px)!important}
/* WPForms: labels, radio, checkbox, validation, helper text inside/outside visible. */
body.page-id-1383 .entry-content .wpforms-container :is(label,legend,.wpforms-field-label,.wpforms-field-sublabel,.wpforms-field-description,.wpforms-required-label,.wpforms-field-label-inline,.wpforms-field-html,.wpforms-page-indicator,.wpforms-field-limit-text),
body.page-id-296 .entry-content :is(.srfm-form-container,.srfm-form) :is(label,legend,.srfm-block-label,.srfm-label,.srfm-heading-title,.srfm-description,.srfm-field-description,.srfm-block-content,.srfm-block-description,.srfm-checkbox-wrap,.srfm-radio-wrap,.srfm-multi-choice-label){color:#152f56!important;opacity:1!important;visibility:visible!important;text-shadow:none!important;}
body.page-id-1383 .entry-content .wpforms-container :is(label,.wpforms-field-label),body.page-id-296 .entry-content :is(.srfm-form,.srfm-form-container) label{font-weight:650!important;line-height:1.5!important}
body.page-id-1383 .entry-content .wpforms-container :is(input:not([type=checkbox]):not([type=radio]):not([type=submit]):not([type=hidden]),select,textarea),
body.page-id-296 .entry-content :is(.srfm-form-container,.srfm-form) :is(input:not([type=checkbox]):not([type=radio]):not([type=submit]):not([type=hidden]),select,textarea){background:#fff!important;background-color:#fff!important;color:#122943!important;-webkit-text-fill-color:#122943!important;opacity:1!important;border:1px solid #829abc!important;box-shadow:none!important;border-radius:7px!important;font-size:15px!important;line-height:1.5!important;min-height:42px!important;max-width:100%!important}
body.page-id-1383 .entry-content .wpforms-container :is(input,textarea)::placeholder,
body.page-id-296 .entry-content :is(.srfm-form-container,.srfm-form) :is(input,textarea)::placeholder{color:#596b82!important;-webkit-text-fill-color:#596b82!important;opacity:1!important}
body.page-id-1383 .entry-content .wpforms-container :is(option,optgroup),body.page-id-296 .entry-content :is(.srfm-form,.srfm-form-container) :is(option,optgroup){background:#fff!important;color:#172d4b!important}
body.page-id-1383 .entry-content .wpforms-container :is(input[type=checkbox],input[type=radio]),body.page-id-296 .entry-content :is(.srfm-form,.srfm-form-container) :is(input[type=checkbox],input[type=radio]){accent-color:#000080!important;opacity:1!important;visibility:visible!important;flex-shrink:0!important}
body.page-id-1383 .entry-content .wpforms-container :is(.wpforms-error,.wpforms-field-required,.wpforms-field-validation-error),body.page-id-296 .entry-content :is(.srfm-form,.srfm-form-container) :is(.srfm-error,.srfm-field-error,.srfm-required-field){color:#a01827!important;opacity:1!important}
body.page-id-1383 .entry-content .wpforms-container :is(button[type=submit],input[type=submit],.wpforms-submit),body.page-id-296 .entry-content :is(.srfm-form,.srfm-form-container) :is(button[type=submit],input[type=submit],.srfm-submit-button){background:#000080!important;color:#fff!important;-webkit-text-fill-color:#fff!important;border:1px solid #000080!important;border-radius:7px!important;opacity:1!important;font-weight:700!important;padding:11px 20px!important}
body.page-id-1383 .entry-content .wpforms-container :is(input,textarea,select):focus-visible,body.page-id-296 .entry-content :is(.srfm-form,.srfm-form-container) :is(input,textarea,select):focus-visible{outline:2px solid #2563a8!important;outline-offset:1px}
/* Existing calculators: ONLY contrast/readability; no formula or input behavior changes. */
body.page-id-1795 .cpcalc-wrap,body.page-id-1821 .calculator-wrapper{color:#172d49!important}
body.page-id-1795 .cpcalc-wrap :is(label,.help,.field-label,legend,.result-label,span,p),body.page-id-1821 .calculator-wrapper :is(label,legend,.hint,.muted,.field-label,.result-label,span,p){color:#172d49!important;opacity:1!important;visibility:visible!important;text-shadow:none!important}
body.page-id-1795 .cpcalc-wrap :is(input,select,textarea),body.page-id-1821 .calculator-wrapper :is(input,select,textarea){color:#132943!important;-webkit-text-fill-color:#132943!important;background:#fff!important;opacity:1!important;border:1px solid #94a9c4!important}
body.page-id-1795 .cpcalc-wrap :is(input,textarea)::placeholder,body.page-id-1821 .calculator-wrapper :is(input,textarea)::placeholder{color:#5d6d82!important;opacity:1!important}
body.page-id-1795 .cpcalc-wrap :is(option,optgroup),body.page-id-1821 .calculator-wrapper :is(option,optgroup){color:#132943!important;background:#fff!important}
body.page-id-1795 .cpcalc-wrap .header :is(h1,p,span),body.page-id-1821 .calculator-wrapper button{color:#fff!important;-webkit-text-fill-color:#fff!important}
body.page-id-1795 .cpcalc-wrap h2,body.page-id-1821 .calculator-wrapper h2{color:#10305c!important}

/* Exactly six native calculator cards at bottom of Homepage; no links to third party tools. */
#alsu-v180-cards{max-width:1180px;margin:35px auto 24px;padding:16px 12px;clear:both;color:#19304d}
#alsu-v180-cards *{box-sizing:border-box}
#alsu-v180-cards .alsu-v180-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}
#alsu-v180-cards .alsu-v180-card{min-height:153px;background:#fff!important;color:#142f55!important;display:flex;flex-direction:column;gap:12px;padding:18px 20px;border:1px solid #cad8e9;border-radius:12px;box-shadow:0 5px 15px #16365c13;text-decoration:none!important;opacity:1!important;visibility:visible!important}
#alsu-v180-cards .alsu-v180-card:hover,#alsu-v180-cards .alsu-v180-card:focus-visible{border-color:#264d93;box-shadow:0 8px 20px #16365c24;transform:translateY(-2px)}
#alsu-v180-cards .alsu-v180-icon{font-size:22px;font-weight:700;color:#000080}
#alsu-v180-cards .alsu-v180-name{font-size:17px;font-weight:800;color:#12325a;line-height:1.35}
#alsu-v180-cards .alsu-v180-open{margin-top:auto;font-size:13px;font-weight:700;color:#000080}
/* Homepage portrait and About the Founder link form one static, centred unit.
   Scope to the specific original Home page only: no global Spectra button changes. */
body.home .entry-content .alsu-founder-photo-wrap,
body.page-id-282 .entry-content .alsu-founder-photo-wrap{
 display:inline-flex!important;flex-direction:column!important;align-items:center!important;
 justify-content:flex-start!important;gap:8px!important;vertical-align:middle!important;
 margin:0 6px 4px!important;max-width:calc(100% - 12px)!important;position:static!important;
 opacity:1!important;visibility:visible!important;animation:none!important;transform:none!important;
}
body.home .entry-content .alsu-founder-photo-wrap > img,
body.page-id-282 .entry-content .alsu-founder-photo-wrap > img{
 width:200px!important;max-width:100%!important;height:auto!important;display:block!important;
 margin:0 auto!important;opacity:1!important;visibility:visible!important;
}
body.home .entry-content a.alsu-founder-photo-link,
body.page-id-282 .entry-content a.alsu-founder-photo-link{
 display:inline-flex!important;align-items:center!important;justify-content:center!important;
 background:#000080!important;color:#fff!important;-webkit-text-fill-color:#fff!important;
 border:1px solid #000080!important;border-radius:5px!important;
 padding:10px 15px!important;font-size:14px!important;line-height:1.25!important;
 font-weight:700!important;text-align:center!important;text-decoration:none!important;
 width:max-content!important;max-width:100%!important;white-space:normal!important;
 margin:0 auto!important;min-height:39px!important;
 opacity:1!important;visibility:visible!important;position:static!important;
 transform:none!important;animation:none!important;transition:none!important;
}
body.home .entry-content a.alsu-founder-photo-link:hover,
body.page-id-282 .entry-content a.alsu-founder-photo-link:hover{
 background:#000080!important;color:#fff!important;-webkit-text-fill-color:#fff!important;
 opacity:1!important;visibility:visible!important;transform:none!important;
}
body.home .entry-content a.alsu-founder-photo-link:focus-visible,
body.page-id-282 .entry-content a.alsu-founder-photo-link:focus-visible{
 outline:3px solid #f5b942!important;outline-offset:2px!important;
}
/* If JS has not run, at least prevent the old zoom-in-down invisibility. */
body.home .entry-content .uagb-block-f8c3376a,
body.page-id-282 .entry-content .uagb-block-f8c3376a,
body.home .entry-content .uagb-block-fdadc35c,
body.page-id-282 .entry-content .uagb-block-fdadc35c{
 opacity:1!important;visibility:visible!important;animation:none!important;transform:none!important;
}

/* Feedback / Query: dark form TITLE only; established form inputs/width stay unchanged. */
body.page-id-296 .entry-content :is(.srfm-form-container,.srfm-form) :is(.srfm-heading-title,.srfm-form-title,h1,h2,h3,h4){color:#0b2346!important;opacity:1!important;visibility:visible!important;text-shadow:none!important}
/* Six native calculators, isolated from original OROP PMR and 7th-CPC pages. */
.alsu-native{max-width:930px;margin:32px auto;color:#1a3352!important;background:#f6f9fe;border:1px solid #cdd9e8;border-radius:14px;padding:clamp(16px,3vw,30px)}
.alsu-native *{box-sizing:border-box}
.alsu-native h2{color:#0b315c!important;font-size:clamp(23px,3vw,30px)}
.alsu-native .alsu-note{font-size:13px;line-height:1.7;color:#4b627d!important}
.alsu-native .alsu-tool-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.alsu-native .alsu-tool-field{display:flex;flex-direction:column;gap:6px;color:#132f53!important;font-weight:700;font-size:14px;opacity:1!important;visibility:visible!important}
.alsu-native .alsu-tool-field span{color:#132f53!important;opacity:1!important}
.alsu-native .alsu-tool-field input,.alsu-native .alsu-tool-field select{width:100%;min-height:44px;padding:9px;border-radius:7px;background:#fff!important;color:#17314f!important;-webkit-text-fill-color:#17314f!important;border:1px solid #849cbd;font-size:15px;opacity:1!important}
.alsu-native .alsu-tool-field select option{color:#17314f!important;background:#fff!important}
.alsu-native .alsu-tool-wide{grid-column:1/-1}
.alsu-native .alsu-calc-submit{margin:20px 0 14px;display:inline-block;background:#000080!important;color:#fff!important;-webkit-text-fill-color:#fff!important;border:1px solid #000080!important;border-radius:7px;padding:12px 22px;font-size:15px;font-weight:800;cursor:pointer}
.alsu-native .alsu-calc-result{margin-top:16px;background:#fff!important;border:1px solid #c9d9ea;border-radius:8px;padding:16px;color:#163452!important}
.alsu-native .alsu-calc-result dl{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(0,1fr);gap:8px;margin:0}
.alsu-native .alsu-calc-result dt,.alsu-native .alsu-calc-result dd{margin:0;border-bottom:1px solid #e8eef6;padding:7px 0;color:#163452!important}
.alsu-native .alsu-calc-result dd{font-weight:800;text-align:right}
/* Ten-language switch remains available at the bottom right on EVERY public page. */
.alsu-v180-bar{position:fixed;bottom:11px;right:11px;z-index:99991;display:flex;align-items:center;gap:7px;max-width:calc(100vw - 22px);background:#fff;color:#152e54;padding:7px 10px;border:1px solid #bdcbe0;border-radius:8px;box-shadow:0 5px 20px #071f3933;font-size:12px}
.alsu-v180-bar select{width:auto;max-width:150px;min-height:34px;background:#fff!important;color:#152f56!important;-webkit-text-fill-color:#152f56!important;border:1px solid #9cacbd!important;border-radius:5px;padding:5px!important}
#alsu-v180-status{font-size:11px;max-width:160px;line-height:1.3;color:#743c18}
.alsu-translation-provider,.alsu-google-translate{position:absolute;left:-99999px;width:1px;height:1px;overflow:hidden;pointer-events:none}
@media(max-width:700px){#alsu-v180-cards .alsu-v180-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:480px){#alsu-v180-cards .alsu-v180-grid{grid-template-columns:1fr}.alsu-native .alsu-tool-grid{grid-template-columns:1fr}.alsu-v180-bar{bottom:6px;right:6px;padding:5px 7px}.alsu-native{margin:20px 8px}}

.alsu-v180-official-links{max-width:1120px;margin:35px auto;padding:20px;color:#143050}.alsu-v180-official-links h2{color:#123363!important}.alsu-v180-official-links>div{display:flex;flex-wrap:wrap;gap:10px}.alsu-v180-official-links a{display:block;color:#173562!important;background:#f4f8ff;border:1px solid #ccd9e8;border-radius:8px;padding:11px 14px;text-decoration:none}
