.sancharam-study-lead {
    box-sizing: border-box;
    width: min(480px, calc(100% - 32px));
    max-height: calc(100dvh - 32px);
    margin: auto;
    padding: 0;
    border: 0;
    border-top: 5px solid #ffc400;
    border-radius: 6px;
    background: #fff;
    color: #252525;
    box-shadow: 0 18px 70px rgba(0, 0, 0, .24);
    font-family: inherit;
    overflow-y: auto;
    overscroll-behavior: contain;
}
.sancharam-study-lead::backdrop { background: rgba(0, 0, 0, .5); }
.sancharam-study-lead:not([open]), .sancharam-study-lead [hidden] { display: none !important; }
.sancharam-study-lead-body { padding: 30px; }
/* Hide the legacy close control if older page markup is cached. */
.sancharam-study-lead .sancharam-study-lead-close { display: none !important; }
.sancharam-study-lead-field { margin-bottom: 17px; }
.sancharam-study-lead label { display: block; margin-bottom: 7px; font-size: 14px; font-weight: 400; line-height: 1.5; }
.sancharam-study-lead label span { color: #a73328; }
.sancharam-study-lead-input { position: relative; }
.sancharam-study-lead-input > i { position: absolute; top: 50%; left: 14px; transform: translateY(-50%); color: #888; pointer-events: none; }
.sancharam-study-lead .sancharam-study-lead-input input {
    box-sizing: border-box; display: block; width: 100%; height: 48px; min-width: 0;
    padding: 10px 12px 10px 40px; margin: 0;
    border: 1px solid #d7d7d7; border-radius: 3px; outline: none;
    background: #fff; color: #252525; font-family: inherit; font-size: 16px; line-height: 1.4;
}
.sancharam-study-lead .sancharam-study-lead-input input:focus { border-color: #b38b00; box-shadow: 0 0 0 2px rgba(255, 196, 0, .18); }
.sancharam-study-lead .sancharam-study-lead-input input[aria-invalid="true"] { border-color: #ba332c; box-shadow: 0 0 0 1px #ba332c; }
.sancharam-study-lead input::placeholder { color: #999; font-size: 13px; opacity: 1; }
.sancharam-study-lead-error { display: block; margin-top: 5px; color: #ad2923; font-size: 12px; line-height: 1.5; }
.sancharam-study-lead-error:empty, .sancharam-study-lead-status:empty { display: none; }
.sancharam-study-lead .sancharam-study-lead-status { margin: 0 0 12px; font-size: 13px; color: #ad2923; line-height: 1.5; }
.sancharam-study-lead .sancharam-study-lead-submit {
    display: flex; align-items: center; justify-content: center; gap: 12px;
    box-sizing: border-box; width: 100%; min-height: 48px; margin: 0; padding: 12px 16px;
    border: 1px solid #ffc400; border-radius: 3px; background: #ffc400; color: #151515;
    font-family: inherit; font-size: 15px; line-height: 1.5; font-weight: 500; letter-spacing: 0; cursor: pointer;
}
.sancharam-study-lead .sancharam-study-lead-submit:hover { background: #f2b900; border-color: #f2b900; }
.sancharam-study-lead .sancharam-study-lead-submit:disabled { opacity: .6; cursor: wait; }
.sancharam-study-lead button:focus-visible { outline: 2px solid #272727; outline-offset: 3px; }
.sancharam-study-lead-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
html.sancharam-study-lead-pending, html.sancharam-study-lead-open { overflow: hidden; }
html.sancharam-study-lead-pending::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 2147483646;
    background: rgba(0, 0, 0, .5);
    cursor: wait;
}
@media (max-width: 480px) {
    .sancharam-study-lead-body { padding: 26px 22px 22px; }
}
