/* Predictor page-wide layout and Study Academy brand alignment. */
body.portal-page:has(.predictor-hero){overflow-x:hidden;background:#f7f0eb;color:#39231f}
body.portal-page:has(.predictor-hero) main{min-width:0}
.predictor-hero{position:relative;overflow:hidden;padding:clamp(44px,6vw,76px) 0 clamp(38px,5vw,62px);background:linear-gradient(115deg,#f1e2da 0%,#fbf7f3 54%,#fff 100%);border-bottom:1px solid #eadbd2}
.predictor-hero .wrap{width:min(1160px,calc(100% - 48px));max-width:1160px;margin-inline:auto}
.predictor-eyebrow{display:inline-flex;align-items:center;color:#a9322a;font-size:11px;line-height:1.4;font-weight:800;letter-spacing:.13em}
.predictor-hero h1{max-width:760px;margin:12px 0 13px;color:#39231f;font-family:Arial,sans-serif;font-size:clamp(34px,5vw,54px);font-weight:750;line-height:1.08;letter-spacing:-.04em}
.predictor-hero p{max-width:660px;margin:0;color:#79635c;font-size:clamp(15px,1.7vw,17px);line-height:1.7}
.predictor-main.wrap{width:min(1160px,calc(100% - 48px));max-width:1160px;margin-inline:auto;padding:32px 0 64px;display:grid;grid-template-columns:minmax(320px,.82fr) minmax(0,1.18fr);gap:24px;align-items:start}
.predictor-form,.predictor-results{min-width:0;border:1px solid #eadbd2;border-radius:14px;background:#fff;box-shadow:0 12px 32px #5b30290d}
.predictor-form{padding:clamp(18px,2.3vw,28px)}
.field-label{color:#39231f;font-size:13px;line-height:1.4}
.exam-choice{gap:9px;margin:0 0 18px}
.exam-option{min-width:0;min-height:44px;border:1px solid #e5d7d0;border-radius:9px;background:#fff;color:#604b45;font-size:13px;line-height:1.35;transition:background .18s,border-color .18s,color .18s,box-shadow .18s}
.exam-option:hover,.exam-option.selected{border-color:#a9322a;background:#fff5f1;color:#922e26}
.exam-option:focus-visible,.predict-button:focus-visible,.predictor-form input:focus-visible,.predictor-form select:focus-visible,.jee-lead-gate input:focus-visible,.jee-gate-button:focus-visible{outline:3px solid #a9322a33;outline-offset:2px}
.predictor-fields{gap:12px}
.predictor-form input,.predictor-form select{min-width:0;height:46px;margin:0 0 16px;border-color:#e3d8d2;border-radius:8px;color:#39231f;font-size:14px}
.predictor-form input::placeholder{color:#a18d85}
.predictor-form input:focus,.predictor-form select:focus{border-color:#a9322a;box-shadow:0 0 0 3px #a9322a18}
.predictor-form select{appearance:auto}
.predict-button{min-height:48px;border-radius:8px;background:#a9322a;font-size:14px;transition:background .18s,transform .18s}
.predict-button:hover{background:#76251f;transform:translateY(-1px)}
.data-note{color:#796c66;font-size:11px;line-height:1.65}
.predictor-results{padding:clamp(18px,2.3vw,28px);min-height:360px}
.results-heading{align-items:flex-start;padding-bottom:16px;border-color:#eee4df}
.results-heading h2{color:#39231f;font-size:clamp(19px,2.2vw,23px);line-height:1.3}
.result-count{padding:6px 9px;border:1px solid #eadbd2;border-radius:999px;background:#fffaf7;color:#715b53}
.results-list{padding-top:17px}
.college-match{align-items:flex-start;border-color:#eadfd9;border-radius:10px;padding:15px;margin-bottom:10px;transition:border-color .18s,box-shadow .18s}
.college-match:hover{border-color:#d5b3a8;box-shadow:0 6px 18px #5b30290a}
.match-info{min-width:0;flex:1}
.match-info h3{color:#39231f;font-size:15px;line-height:1.4}
.match-info p{color:#79635c;line-height:1.5}
.match-meta span,.match-meta a{max-width:100%;overflow-wrap:anywhere;background:#fbf5f1;color:#70574f}
.match-meta a{color:#96342b}
.chance-badge{flex:0 0 auto;background:#eef6f0;color:#287448}
.chance-badge.reach{background:#fff4e7;color:#98560b}
.chance-badge.target{background:#fff0eb;color:#96342b}
.empty-state{border:1px dashed #e5d7d0;background:#fffaf7;color:#79635c}
.empty-icon{background:#f5e7e0;color:#a9322a}
.official-sources{gap:9px;margin-top:18px;padding-top:17px;border-color:#eee4df}
.official-sources strong{color:#79635c;font-size:10px;line-height:1.5}
.official-sources a{display:inline-flex;max-width:100%;padding:7px 9px;border:1px solid #eadbd2;border-radius:7px;background:#fffaf7;color:#8f3027;font-size:11px;line-height:1.4;overflow-wrap:anywhere}
.official-sources a:hover{border-color:#c89a8e;background:#fff4ef;text-decoration:none}
.api-error{border:1px solid #f0c9c4;border-radius:9px;background:#fff6f5;color:#922e26;line-height:1.5}
.jee-lead-gate{border-color:#eadbd2;background:#fffaf7}
.gate-heading h3{color:#39231f}
.gate-heading p{color:#79635c;line-height:1.6}
.jee-lead-gate input{border-color:#e3d8d2;color:#39231f}
.jee-lead-gate input:focus{border-color:#a9322a;box-shadow:0 0 0 3px #a9322a18}
.jee-gate-button{background:#a9322a}
.jee-gate-button:hover{background:#76251f}
.jee-otp-panel{border-color:#eadbd2}
.jee-gate-status{color:#79635c;line-height:1.5}
@media(max-width:900px){.predictor-main.wrap{grid-template-columns:minmax(0,1fr);gap:18px;padding-top:24px}.predictor-form{max-width:none}.predictor-results{min-height:280px}}
@media(max-width:560px){.predictor-hero{padding:38px 0 34px}.predictor-hero .wrap,.predictor-main.wrap{width:calc(100% - 28px)}.predictor-main.wrap{gap:14px;padding:16px 0 42px}.predictor-form,.predictor-results{padding:17px;border-radius:12px}.exam-choice{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.exam-option{padding:10px 7px;font-size:12px}.predictor-fields{grid-template-columns:minmax(0,1fr);gap:0}.predictor-form input,.predictor-form select{height:44px;margin-bottom:13px}.predict-button{gap:10px;text-align:left}.results-heading{gap:8px}.results-heading h2{font-size:19px}.college-match{gap:10px}.chance-badge{white-space:normal;text-align:center}.official-sources{align-items:stretch;flex-direction:column}.official-sources strong{width:auto}.official-sources a{width:100%}.jee-lead-gate{padding:15px}.lead-fields,.lead-phone-row{grid-template-columns:minmax(0,1fr);gap:0}.lead-phone-row .dial-field{max-width:none}}
@media(prefers-reduced-motion:reduce){.exam-option,.predict-button,.college-match{transition:none}}
