/* Rank Predictor input screen only. Result cards and application logic are unchanged. */
@font-face{font-family:RP Devanagari;src:url(noto-devanagari-400.woff) format("woff");font-style:normal;font-weight:400 599;font-display:swap}
@font-face{font-family:RP Devanagari;src:url(noto-devanagari-700.woff) format("woff");font-style:normal;font-weight:600 900;font-display:swap}

header.rp-home-header{
  height:84px;background:linear-gradient(110deg,#fff,#eff8ff 50%,#fff)!important;
  color:#0b1647!important;padding:10px max(14px,calc((100% - 940px)/2))!important;
  gap:12px;border-bottom:1px solid #dcefff;box-shadow:0 2px 12px #173d6a08;
  font-family:Arial,"RP Devanagari",sans-serif;
}
.rp-home-header .rp-site-brand{gap:10px}
.rp-home-header .rp-site-brand strong{color:#0a1244;font-size:clamp(20px,3.6vw,30px);letter-spacing:-.8px}
.rp-home-header .rp-site-brand small{color:#465d7b;font-size:clamp(9px,1.3vw,12px);max-width:280px}
.rp-home-header .rp-site-brand img{width:56px;height:56px;flex:none}
.rp-home-header .rp-header-icon{background:transparent;color:#101949;font-size:28px;width:44px;height:44px;padding:0;cursor:pointer;flex:none}
.rp-home-help{display:grid;place-items:center;width:44px;height:44px;flex:none;border-radius:50%;background:linear-gradient(#08a4ff,#0060ed);color:white;font-size:24px;text-decoration:none;box-shadow:0 4px 10px #0784ec28}
.rp-home-header :is(button,a):focus-visible{outline:3px solid #123f9b;outline-offset:3px}

#rp-home{--rp-ink:#101644;--rp-muted:#4c6589;--rp-blue:#0069ff;
  color:var(--rp-ink);font-family:Arial,"RP Devanagari",sans-serif;
  margin:-12px -10px 22px;padding:0 22px 24px;
  background:radial-gradient(ellipse at 0 45%,#e6f5ff 0,transparent 48%),linear-gradient(#f1f9ff,#fafdff);
  border-bottom:1px dashed #b4d5f7;
}
#rp-home [hidden]{display:none!important}
#rp-home .rp-home-hero{margin:0 -22px;padding:30px 36px 58px;min-height:294px;
  background:linear-gradient(90deg,#001c3f4d,transparent 85%),url(hero.webp) center/cover no-repeat;color:white;
}
#rp-home .rp-home-eyebrow{display:flex;align-items:center;gap:16px;font-size:14px;letter-spacing:2.8px;margin-bottom:14px}
#rp-home .rp-home-eyebrow span{width:62px;height:1px;background:#d2eaff}
#rp-home .rp-home-hero h1{font-size:clamp(30px,5.4vw,52px);line-height:1.25;font-weight:800;letter-spacing:-.8px;margin:0 0 8px;text-shadow:0 2px 9px #00162a55}
#rp-home .rp-home-hero h1 span{color:#ffd05b}
#rp-home .rp-home-hero p{font-size:clamp(15px,2.3vw,22px);line-height:1.55;max-width:590px}
#rp-home .rp-home-modes{position:relative;display:grid;grid-template-columns:1.16fr 1fr;gap:8px;padding:7px;max-width:790px;margin:-35px auto 20px;background:#f3faff;border:1px solid #fff;border-radius:27px;box-shadow:0 8px 18px #126cc42b,inset 0 0 0 4px #ffffffa8}
#rp-home .rp-mode-choice{display:block;position:relative;min-width:0;cursor:pointer}
#rp-home .rp-mode-choice:nth-child(3){grid-column:1/-1}
#rp-home .rp-mode-choice:nth-child(3) .rp-mode-surface{min-height:54px}
#rp-home :is(.rp-mode-choice,.rp-gender-choice)>input{position:absolute;width:1px;height:1px;opacity:0;inset:50% auto auto 8px;padding:0;border:0}
#rp-home .rp-mode-surface{display:flex;align-items:center;justify-content:center;gap:18px;min-height:74px;padding:12px 14px;border-radius:21px;color:var(--rp-ink);background:linear-gradient(120deg,#fff,#f4faff);border:1px solid transparent;transition:background .15s,box-shadow .15s}
#rp-home .rp-mode-surface>i:first-child{font-size:34px;color:var(--rp-blue)}
#rp-home .rp-mode-surface strong{display:block;font-size:22px;line-height:1.2;white-space:nowrap}
#rp-home .rp-mode-surface small{display:block;font-size:14px;margin-top:3px;white-space:nowrap}
#rp-home .rp-mode-check{font-size:24px;display:none}
#rp-home .rp-mode-choice input:checked+.rp-mode-surface{background:linear-gradient(150deg,#009eff,#006bff 65%,#0056eb);color:#fff;box-shadow:0 4px 11px #087dff38,inset 0 1px 1px #ffffff60}
#rp-home .rp-mode-choice input:checked+.rp-mode-surface>i{color:#fff}
#rp-home .rp-mode-choice input:checked+.rp-mode-surface .rp-mode-check{display:block}
#rp-home .rp-mode-choice input:focus-visible+.rp-mode-surface{outline:3px solid #123f9b;outline-offset:3px}
#rp-home .rp-home-form{padding:24px 22px 20px;margin:0;border:1px solid #e0efff;border-radius:22px;background:linear-gradient(140deg,#fff,#fff 65%,#f9fcff);box-shadow:0 8px 30px #287ccc08}
#rp-home h2{font-size:clamp(20px,3.1vw,30px);font-weight:800;letter-spacing:-.6px;line-height:1.5;margin:0 0 20px}
#rp-home .rp-upload-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
#rp-home .rp-home-upload{display:flex;flex-direction:column;min-width:0;padding:17px 16px 10px;border-radius:17px;border:1px solid #c4efe5;background:linear-gradient(130deg,#f0fdf8,#eafaf5)}
#rp-home .rp-home-key{background:linear-gradient(130deg,#eff8ff,#eaf5ff);border-color:#c9e4ff}
#rp-home .rp-upload-heading{display:flex;align-items:center;gap:12px;min-height:60px}
#rp-home .rp-upload-heading>div{display:flex;align-items:center;gap:7px;flex-wrap:wrap;min-width:0}
#rp-home .rp-upload-heading label{font-size:clamp(15px,2.25vw,22px);font-weight:800;line-height:1.2;letter-spacing:-.7px;cursor:pointer}
#rp-home .rp-upload-icon{display:grid;place-items:center;flex:none;width:56px;height:58px;border-radius:13px;background:linear-gradient(140deg,#10d18f,#00a85b);color:#fff;font-size:30px;box-shadow:0 4px 9px #008d4920,inset 0 1px 1px #ffffff66}
#rp-home .rp-home-key .rp-upload-icon{background:linear-gradient(140deg,#ff9a86,#ff4b64);box-shadow:0 4px 9px #ff5b7626,inset 0 1px 1px #ffffff66}
#rp-home .rp-required{background:#ffede7;color:#c32a1e;font-size:12px;line-height:1.5;padding:3px 9px;border-radius:20px;white-space:nowrap;font-weight:400}
#rp-home .rp-upload-description{font-size:clamp(13px,2vw,19px);color:var(--rp-muted);line-height:1.5;min-height:3em;margin:10px 0 13px}
#rp-home .rp-upload-button{display:flex;align-items:center;justify-content:center;gap:16px;position:relative;min-height:66px;border:1px solid #008eff;border-radius:14px;padding:12px 8px;background:linear-gradient(#05acff,#0076ff 48%,#004de6);box-shadow:0 6px 13px #0070d72b,inset 0 2px 2px #ffffff66;color:#fff;font-size:clamp(19px,3vw,30px);line-height:1.3;cursor:pointer}
#rp-home .rp-upload-button i{font-size:1.12em}
#rp-home .rp-upload-button input{position:absolute;inset:0;opacity:0;width:100%;height:100%;padding:0;cursor:pointer}
#rp-home .rp-upload-button:focus-within{outline:3px solid #123f9b;outline-offset:3px}
#rp-home .rp-upload-formats{color:var(--rp-muted);font-size:clamp(11px,1.6vw,15px);line-height:1.5;text-align:center;margin:10px 0 0}
#rp-home .rp-upload-formats span{white-space:nowrap}
#rp-home .rp-file-status{display:block;color:#385779;font-size:11px;line-height:1.4;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:center;min-height:16px;margin:3px 0 10px}
#rp-home .rp-file-status:empty{min-height:0;margin:0 0 12px}
#rp-home .rp-example{display:flex;flex-direction:column;align-items:center;gap:5px;margin-top:auto;text-decoration:none;color:var(--rp-blue);border-radius:10px}
#rp-home .rp-example img{display:block;width:90%;height:auto;aspect-ratio:1.55;object-fit:contain;background:#fff;border:1px solid #d7d8da;border-radius:9px}
#rp-home .rp-example>span{display:flex;align-items:center;justify-content:center;gap:9px;min-height:44px;font-size:clamp(14px,2.2vw,20px);text-decoration:underline;text-underline-offset:4px}
#rp-home .rp-example i{font-size:1.2em}
#rp-home .rp-example:focus-visible{outline:3px solid #123f9b;outline-offset:3px}
#rp-home .rp-autoread-note{display:flex;align-items:center;gap:15px;background:#eaf8ff;color:#172e58;border-radius:15px;padding:17px 20px;margin:22px 0 26px;font-size:clamp(14px,2.2vw,21px);line-height:1.5}
#rp-home .rp-autoread-note i{color:#008eff;font-size:31px;flex:none;filter:drop-shadow(0 3px 4px #0074d925)}
#rp-home #sharedProfileFields{grid-template-columns:1fr 1.1fr;gap:22px;margin:18px 0 20px}
#rp-home #sharedProfileFields>.field{min-width:0}
#rp-home #sharedProfileFields>.field+.field{border-left:1px solid #d9e6f5;padding-left:20px}
#rp-home .field>label{font-size:clamp(15px,2.25vw,21px);margin-bottom:10px;color:#142849}
#rp-home .rp-required-star{color:#e53b45;margin-left:4px}
#rp-home :is(select,input[type=url]){height:58px;border:1px solid #cddff6;border-radius:12px;color:#243e62;background:#fff;font-size:17px;padding:0 14px}
#rp-home :is(select,input[type=url]):focus{border-color:#008eff;box-shadow:0 0 0 3px #008eff1a}
#rp-home .rp-gender-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}
#rp-home .rp-gender-choice{display:block;position:relative;cursor:pointer;margin:0;font-weight:400}
#rp-home .rp-gender-choice>span{display:flex;align-items:center;justify-content:center;gap:6px;min-height:58px;padding:6px 4px;border:1px solid #d6d9f1;border-radius:11px;background:#fff;color:#121c3c;font-size:15px;white-space:nowrap}
#rp-home .rp-gender-choice i{font-size:26px;color:#007aff}
#rp-home .rp-gender-choice:nth-child(2) i{color:#fa527a}
#rp-home .rp-gender-choice:nth-child(3) i{color:#9d2dff}
#rp-home .rp-gender-choice input:checked+span{background:#e4f4ff;border-color:#008aff;color:#0064df;box-shadow:0 2px 7px #008eff1a,inset 0 0 0 1px #ffffff}
#rp-home .rp-gender-choice input:focus-visible+span{outline:3px solid #123f9b;outline-offset:3px}
#rp-home #checkButton{display:flex;align-items:center;justify-content:center;gap:22px;height:auto;min-height:70px;margin-top:18px;padding:17px 14px;font-family:inherit;font-size:clamp(16px,2.4vw,24px)!important;font-weight:700!important;line-height:1.35;border-radius:20px!important;background:linear-gradient(165deg,#02adff,#006bff 55%,#0045ca)!important;border:1px solid #fff;outline:1px solid #008fff;box-shadow:0 8px 19px #0075d72c,inset 0 1px 2px #ffffff7a}
#rp-home #checkButton i{font-size:1.25em}
#rp-home #checkButton:focus-visible{outline:3px solid #123f9b;outline-offset:4px}
#rp-home #checkButton:disabled{opacity:.65;cursor:default}
#rp-home .rp-home-disclaimer{text-align:center;color:var(--rp-muted);font-size:clamp(12px,1.85vw,18px);line-height:1.6;margin:18px 0 0;scroll-margin-top:100px}
#rp-home .rp-home-disclaimer i{color:#0086ff;margin-right:5px}
#rp-home #cbtInputFields{grid-template-columns:minmax(0,1fr);margin-bottom:24px}
#rp-home #cbtInputFields input{width:100%;font-size:16px}
#rp-home :is(#loading,#errorBox,#successBox){font-size:14px;overflow-wrap:anywhere}
#rp-home #rp-example-dialog{margin:auto;border:1px solid #d8e8f7;border-radius:20px;width:min(92vw,760px);max-height:90vh;padding:22px;overflow:auto;color:var(--rp-ink);box-shadow:0 20px 80px #001b5755}
#rp-home #rp-example-dialog::backdrop{background:#081b3fb3;backdrop-filter:blur(3px)}
#rp-home .rp-example-dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}
#rp-home .rp-example-dialog-heading h2{font-size:20px;margin:0}
#rp-home .rp-example-dialog-heading button{width:44px;height:44px;flex:none;border:0;border-radius:12px;background:#eef6ff;color:#123566;font-size:24px;cursor:pointer}
#rp-home #rp-example-image{display:block;width:100%;height:auto;border:1px solid #e0e5ed;border-radius:8px}
#rp-home #rp-example-dialog p{color:var(--rp-muted);font-size:14px;line-height:1.6;margin-top:16px}

@media(hover:hover){
  #rp-home :is(.rp-upload-button,#checkButton):not(:disabled):hover{filter:brightness(1.06)}
  #rp-home .rp-example:hover{color:#0048bd}
}
@media(max-width:700px){#rp-home{margin-top:-9px;margin-left:-7px;margin-right:-7px}}
@media(min-width:601px){
  header.rp-home-header{height:96px}
  .rp-home-header .rp-site-brand strong{font-size:34px}
  .rp-home-header .rp-site-brand img{width:64px;height:64px}
  #rp-home .rp-home-hero{min-height:338px;padding-top:32px;padding-bottom:60px}
  #rp-home .rp-home-eyebrow{font-size:17px}
  #rp-home .rp-home-hero h1{font-size:clamp(44px,6.2vw,58px)}
  #rp-home .rp-home-hero p{font-size:24px}
  #rp-home .rp-mode-surface{min-height:84px}
  #rp-home .rp-mode-surface strong{font-size:26px}
  #rp-home .rp-mode-surface small{font-size:16px}
  #rp-home h2{font-size:clamp(28px,3.8vw,34px)}
  #rp-home .rp-upload-icon{width:64px;height:66px;font-size:34px}
  #rp-home .rp-upload-heading label{font-size:clamp(21px,2.7vw,25px)}
  #rp-home .rp-required{font-size:14px}
  #rp-home .rp-upload-description{font-size:22px}
  #rp-home .rp-upload-button{min-height:76px;font-size:32px}
  #rp-home .rp-upload-formats{font-size:17px}
  #rp-home .rp-example>span{font-size:22px;min-height:48px}
  #rp-home .rp-autoread-note{font-size:22px}
  #rp-home .field>label{font-size:24px}
  #rp-home :is(select,input[type=url]){height:66px;font-size:20px}
  #rp-home .rp-gender-choice>span{min-height:66px;font-size:17px}
  #rp-home .rp-gender-choice i{font-size:30px}
  #rp-home #checkButton{min-height:80px;font-size:26px!important}
  #rp-home .rp-home-disclaimer{font-size:20px}
}
@media(max-width:600px){
  header.rp-home-header{height:72px;padding:9px 12px!important;gap:7px}
  .rp-home-header .rp-site-brand{gap:7px}
  .rp-home-header .rp-site-brand img{width:43px;height:43px}
  .rp-home-header .rp-site-brand small{max-width:190px;font-size:9px;line-height:1.3}
  .rp-home-header .rp-header-icon{font-size:24px}
  .rp-home-help{width:38px;height:38px;font-size:22px}
  #rp-home{padding:0 10px 20px}
  #rp-home .rp-home-hero{margin:0 -10px;padding:24px 20px 50px;min-height:240px;background-position:60% center}
  #rp-home .rp-home-eyebrow{font-size:11px;letter-spacing:2px;margin-bottom:12px}
  #rp-home .rp-home-hero h1{font-size:clamp(28px,7.9vw,44px);letter-spacing:-.8px;line-height:1.3}
  #rp-home .rp-home-hero p{font-size:15px}
  #rp-home .rp-home-modes{margin:-29px 6px 16px;padding:5px;gap:4px;border-radius:21px;grid-template-columns:1.13fr 1fr}
  #rp-home .rp-mode-surface{min-height:64px;border-radius:16px;padding:10px 7px;gap:9px}
  #rp-home .rp-mode-surface>i:first-child{font-size:24px}
  #rp-home .rp-mode-surface strong{font-size:16px}
  #rp-home .rp-mode-surface small{font-size:10px}
  #rp-home .rp-mode-check{font-size:17px}
  #rp-home .rp-home-form{padding:18px 12px;border-radius:18px}
  #rp-home h2{font-size:21px;letter-spacing:-.5px;margin-bottom:15px}
  #rp-home .rp-upload-grid{gap:9px}
  #rp-home .rp-home-upload{padding:12px 9px 6px;border-radius:13px}
  #rp-home .rp-upload-heading{align-items:flex-start;gap:7px;min-height:74px}
  #rp-home .rp-upload-heading>div{gap:6px}
  #rp-home .rp-upload-heading label{font-size:15px;letter-spacing:-.4px;line-height:1.25}
  #rp-home .rp-upload-icon{width:31px;height:36px;border-radius:8px;font-size:19px}
  #rp-home .rp-required{font-size:10px;padding:2px 7px}
  #rp-home .rp-upload-description{font-size:13px;line-height:1.5;min-height:4.5em;margin:6px 0 12px}
  #rp-home .rp-upload-button{min-height:49px;border-radius:10px;font-size:19px;gap:8px;padding:10px 5px}
  #rp-home .rp-upload-formats{font-size:10px;min-height:30px;margin-top:8px}
  #rp-home .rp-file-status{font-size:10px;margin:2px 0 8px}
  #rp-home .rp-example img{width:100%;border-radius:6px}
  #rp-home .rp-example>span{font-size:13px;gap:6px;min-height:44px}
  #rp-home .rp-autoread-note{padding:13px 12px;gap:10px;margin:17px 0 20px;font-size:14px;border-radius:12px}
  #rp-home .rp-autoread-note i{font-size:24px}
  #rp-home #sharedProfileFields{grid-template-columns:1fr;gap:17px;margin:18px 0 22px}
  #rp-home #sharedProfileFields>.field+.field{border-left:0;padding-left:0}
  #rp-home .field>label{font-size:16px;margin-bottom:7px}
  #rp-home :is(select,input[type=url]){height:50px;font-size:16px;border-radius:10px}
  #rp-home .rp-gender-choice>span{min-height:49px;font-size:15px}
  #rp-home #checkButton{min-height:58px;padding:13px 8px;border-radius:15px!important;gap:12px;font-size:16px!important}
  #rp-home .rp-home-disclaimer{font-size:12px;margin-top:15px}
}
@media(max-width:360px){
  .rp-home-header .rp-site-brand strong{font-size:18px}
  .rp-home-header .rp-site-brand img{width:36px;height:36px}
  .rp-home-header .rp-site-brand small{font-size:8px}
  #rp-home .rp-home-hero{padding-left:16px;padding-right:16px}
  #rp-home .rp-home-form{padding:16px 9px}
  #rp-home .rp-upload-heading{display:block;min-height:107px}
  #rp-home .rp-upload-heading>div{margin-top:7px}
  #rp-home .rp-upload-button{font-size:17px}
  #rp-home .rp-mode-check{display:none!important}
  #rp-home #checkButton{font-size:15px!important;gap:8px}
}
@media(prefers-reduced-motion:reduce){#rp-home *{transition:none!important;scroll-behavior:auto!important}}
