.lookup-directory{position:relative;min-height:70vh;padding:80px 0;background:#eef5fc center/cover fixed}.lookup-directory.has-background{background-image:var(--lookup-directory-bg)}.lookup-directory-overlay{position:absolute;inset:0;background:rgba(238,245,252,.84);backdrop-filter:blur(3px)}.lookup-directory-content{position:relative;z-index:1}.lookup-directory-head{display:flex;align-items:end;justify-content:space-between;gap:30px;margin-bottom:38px}.lookup-directory-head h1{margin:8px 0 12px;font-size:clamp(2.7rem,6vw,5rem);letter-spacing:-.055em}.lookup-directory-head p{max-width:700px;color:#64748b}.lookup-directory-head form{min-width:220px}.lookup-exam-legend{display:flex;justify-content:flex-end;gap:18px;margin:-18px 0 20px;font-size:12px;font-weight:800}.lookup-exam-legend span{display:flex;align-items:center;gap:7px}.lookup-exam-legend span:before{width:12px;height:12px;border:2px solid;border-radius:4px;content:""}.legend-nearest:before{border-color:#e5242a}.legend-upcoming:before{border-color:#f2bd35}.lookup-exam-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.lookup-exam-card{position:relative;display:flex;min-height:300px;flex-direction:column;padding:28px;border:2px solid #dce8f5;border-radius:24px;background:rgba(255,255,255,.94);color:#0f172a;text-decoration:none;box-shadow:0 14px 36px #0751a50c;transition:.25s}.lookup-exam-card.exam-upcoming{border-color:#f2bd35;box-shadow:0 16px 40px rgba(242,189,53,.2)}.lookup-exam-card.exam-nearest{border-color:#e5242a;box-shadow:0 18px 46px rgba(229,36,42,.25)}.lookup-exam-card:hover{transform:translateY(-5px);box-shadow:0 22px 50px #0751a52d}.lookup-exam-card>em{align-self:flex-start;margin:-13px 0 12px;padding:6px 11px;border-radius:999px;background:#f2bd35;color:#342300;font-size:11px;font-style:normal;font-weight:900}.lookup-exam-card.exam-nearest>em{background:#e5242a;color:#fff}.lookup-exam-card>span{color:#e5242a;font-size:12px;font-weight:900}.lookup-exam-card h2{margin:17px 0;font-size:25px;line-height:1.25}.lookup-exam-card dl{display:grid;gap:10px;margin:auto 0 24px}.lookup-exam-card dl div{display:flex;justify-content:space-between;gap:15px;padding-top:10px;border-top:1px solid #edf2f7}.lookup-exam-card dt{color:#64748b}.lookup-exam-card dd{margin:0;text-align:right;font-weight:800}.lookup-exam-card>b{color:#0751a5}.lookup-exam-card>b i{margin-left:7px}@media(max-width:900px){.lookup-exam-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:650px){.lookup-directory{padding:55px 0;background-attachment:scroll}.lookup-directory-head{align-items:stretch;flex-direction:column}.lookup-directory-head form{min-width:0}.lookup-exam-legend{justify-content:flex-start;margin-top:-10px}.lookup-exam-grid{grid-template-columns:1fr}}
.lookup-directory-head h1{margin-top:0;color:#e5242a}.lookup-exam-card.exam-nearest{animation:nearestExamGlow 3.2s ease-in-out infinite}@keyframes nearestExamGlow{0%,100%{box-shadow:0 18px 46px rgba(229,36,42,.2)}50%{box-shadow:0 20px 54px rgba(229,36,42,.36)}}@media(prefers-reduced-motion:reduce){.lookup-exam-card.exam-nearest{animation:none}}
.legend-live:before{border-color:#0a9b62}.legend-completed:before{border-color:#b6bec9}.lookup-exam-card.exam-live{border-color:#0a9b62;box-shadow:0 18px 44px rgba(10,155,98,.2)}.lookup-exam-card.exam-live>em{background:#0a9b62;color:#fff}.lookup-exam-card.exam-completed{border-color:#d6dbe2;box-shadow:0 12px 30px rgba(71,85,105,.1)}.lookup-exam-card.exam-completed>em{background:#b6bec9;color:#fff}.lookup-exam-card.exam-completed>span{color:#87919e}
.lookup-exam-card .exam-card-name{margin:0;color:#64748b;font-size:14px;font-weight:700;line-height:1.55}.lookup-exam-card h2{margin-bottom:8px!important}.lookup-exam-card dl{margin-top:auto!important}
.exam-quick-actions{display:grid;grid-template-columns:auto repeat(3,1fr);gap:8px;align-items:center;padding-top:16px;border-top:1px solid #e6edf5}.exam-quick-actions>strong{color:#64748b;font-size:12px}.exam-quick-actions a,.exam-quick-actions button{display:flex;min-width:0;flex-direction:column;align-items:center;gap:5px;padding:8px 5px;border:0;border-radius:10px;background:#edf5ff;color:#0751a5;text-decoration:none;cursor:pointer}.exam-quick-actions i{font-size:21px}.exam-quick-actions span{overflow:hidden;width:100%;font-size:10px;font-weight:800;text-align:center;text-overflow:ellipsis;white-space:nowrap}.exam-quick-actions button{background:#fff0f0;color:#d91f2a}.exam-quick-actions button:disabled{background:#f1f3f6;color:#a0a8b3;cursor:not-allowed}.exam-quick-actions a:last-child{background:#eaf9f2;color:#078052}.exam-pdf-modal{position:fixed;z-index:10000;inset:0;padding:3vh 3vw;background:#071526d9;backdrop-filter:blur(8px)}.exam-pdf-modal[hidden]{display:none}.exam-pdf-dialog{display:flex;height:94vh;flex-direction:column;overflow:hidden;border-radius:20px;background:#fff;box-shadow:0 30px 90px #0008}.exam-pdf-dialog>header{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 24px;border-bottom:1px solid #e2e8f0}.exam-pdf-dialog header small{color:#e5242a;font-weight:900}.exam-pdf-dialog header h2{margin:4px 0 0;font-size:22px}.exam-pdf-dialog header button{display:grid;width:42px;height:42px;place-items:center;border:0;border-radius:50%;background:#eef2f7;font-size:20px;cursor:pointer}.exam-pdf-dialog form{display:flex;gap:10px;padding:12px 24px;background:#f7f9fc}.exam-pdf-dialog form label{display:flex;min-width:0;flex:1;align-items:center;gap:9px;padding:0 13px;border:1px solid #d4deea;border-radius:10px;background:#fff}.exam-pdf-dialog form input{width:100%;border:0;outline:0}.exam-pdf-dialog form button{border:0;border-radius:10px;background:#0751a5;color:#fff;padding:10px 18px;font-weight:800}.exam-pdf-viewer{min-height:0;flex:1;background:#d8dee8}.exam-pdf-viewer iframe{width:100%;height:100%;border:0}@media(max-width:650px){.exam-quick-actions{grid-template-columns:1fr 1fr 1fr}.exam-quick-actions>strong{grid-column:1/-1}.exam-pdf-modal{padding:0}.exam-pdf-dialog{height:100vh;border-radius:0}.exam-pdf-dialog form{flex-wrap:wrap;padding:10px}.exam-pdf-dialog form label{flex-basis:70%}.exam-pdf-dialog form .btn{flex:1}.exam-pdf-dialog>header{padding:14px}.exam-pdf-dialog header h2{font-size:17px}}
.lookup-year-filter{display:flex;align-items:end;gap:8px}.lookup-year-filter label{flex:1}.lookup-year-filter button{height:44px;padding:0 16px;border:0;border-radius:10px;background:#0751a5;color:#fff;font-weight:800;cursor:pointer}.lookup-year-filter button i{margin-right:5px}
.exam-pdf-modal{display:grid;place-items:center}.exam-pdf-dialog{width:min(1000px,90vw);height:min(90vh,900px)}.exam-pdf-dialog form{position:sticky;top:0;z-index:3;justify-content:flex-end;box-shadow:0 6px 14px #0f172a0d}.exam-pdf-dialog form label{flex:0 1 200px;max-width:200px}.exam-pdf-dialog form button{display:grid;place-items:center;padding:10px 12px}.exam-pdf-dialog form button i{font-size:16px}@media(max-width:650px){.exam-pdf-modal{padding:5vh 0}.exam-pdf-dialog{width:90vw;height:90vh;border-radius:16px}.exam-pdf-dialog form label{flex:1 1 200px;max-width:none}.exam-pdf-dialog form button span{display:none}}
.exam-pdf-dialog{position:relative}.exam-pdf-dialog>header{min-height:64px;padding:12px 18px}.exam-pdf-dialog header small{font-size:11px}.exam-pdf-dialog header h2{max-width:760px;margin:3px 0 0;font-size:16px;line-height:1.25}.exam-pdf-dialog form{position:absolute;z-index:5;top:50%;right:-66px;display:flex;flex-direction:column;align-items:flex-end;gap:9px;padding:0;background:transparent;box-shadow:none;transform:translateY(-50%)}.exam-pdf-dialog form label{width:0;max-width:none;height:44px;padding:0;overflow:hidden;opacity:0;transition:width .2s ease,opacity .2s ease}.exam-pdf-dialog form.search-open label{width:200px;padding:0 13px;opacity:1}.exam-pdf-dialog form button,.exam-pdf-dialog form .btn{display:grid;width:52px;height:52px;place-items:center;padding:0;border-radius:50%;box-shadow:0 8px 22px #07152633}.exam-pdf-dialog form button span,.exam-pdf-dialog form .btn{font-size:0}.exam-pdf-dialog form button i,.exam-pdf-dialog form .btn i{font-size:19px}.exam-pdf-dialog form .btn{background:#e5242a}.exam-pdf-dialog form .btn i{font-size:20px}.exam-pdf-viewer{border-radius:0 0 20px 20px}@media(max-width:1150px){.exam-pdf-dialog form{right:12px;top:calc(100% - 85px);transform:none;flex-direction:row}.exam-pdf-dialog form.search-open label{width:200px}}@media(max-width:650px){.exam-pdf-dialog>header{padding:10px 14px}.exam-pdf-dialog header h2{font-size:13px;max-width:calc(100% - 56px)}.exam-pdf-dialog form{right:10px;bottom:12px;top:auto}.exam-pdf-dialog form.search-open label{width:min(200px,55vw)}}

/* Exam status filters and manually controlled exam slider. */
.lookup-status-filter{display:flex;align-items:center;justify-content:flex-end;gap:10px;margin:-18px 0 22px}.lookup-status-filter>strong{margin-right:3px;color:#475569;font-size:12px}.lookup-status-filter label{position:relative;display:flex;align-items:center;gap:7px;padding:8px 12px;border:1px solid #dce5ef;border-radius:999px;background:#fff;color:#334155;font-size:12px;font-weight:800;cursor:pointer;transition:.2s}.lookup-status-filter input{width:16px;height:16px;margin:0;accent-color:#0751a5;cursor:pointer}.lookup-status-filter label:has(input:checked){border-color:#0751a5;background:#eaf3ff;color:#0751a5;box-shadow:0 5px 15px #0751a51a}.lookup-status-filter button{height:36px;padding:0 15px;border:0;border-radius:999px;background:#0751a5;color:#fff;font-size:12px;font-weight:900;cursor:pointer}.lookup-exam-slider{max-width:1000px;margin:0 auto}.lookup-exam-stage{position:relative}.lookup-exam-stage .lookup-exam-card{width:100%;min-height:330px}.lookup-exam-stage .lookup-exam-card[hidden]{display:none}.lookup-exam-stage .lookup-exam-card.is-active{animation:lookupCardIn .3s ease both}@keyframes lookupCardIn{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}.lookup-exam-thumbnails-wrap{display:grid;grid-template-columns:42px minmax(0,1fr) 42px;align-items:stretch;gap:10px;margin-top:16px}.lookup-exam-thumbnails{display:flex;gap:10px;overflow-x:auto;scrollbar-width:thin;scroll-snap-type:x proximity;padding:2px 1px 8px}.lookup-exam-thumb{flex:0 0 180px;min-height:78px;padding:12px;border:2px solid transparent;border-radius:15px;background:#fff;color:#172033;text-align:left;box-shadow:0 7px 20px #0f172a12;cursor:pointer;scroll-snap-align:center;transition:.2s}.lookup-exam-thumb strong,.lookup-exam-thumb small{display:block}.lookup-exam-thumb strong{overflow:hidden;font-size:17px;line-height:1.2;text-overflow:ellipsis;white-space:nowrap}.lookup-exam-thumb small{margin-top:7px;color:#64748b;font-size:11px;font-weight:800}.lookup-exam-thumb.is-active{border-color:#0751a5;background:#edf6ff;box-shadow:0 9px 24px #0751a526}.lookup-slider-arrow{display:grid;width:42px;border:0;border-radius:14px;background:#0751a5;color:#fff;place-items:center;font-size:18px;cursor:pointer}.lookup-directory-content>.pagination{margin-top:28px}@media(max-width:650px){.lookup-status-filter{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin:0 0 18px}.lookup-status-filter>strong{grid-column:1/-1}.lookup-status-filter label{justify-content:center;padding:8px 5px;font-size:10px}.lookup-status-filter input{width:15px;height:15px}.lookup-status-filter button{grid-column:1/-1}.lookup-exam-stage .lookup-exam-card{min-height:360px;padding:22px}.lookup-exam-thumbnails-wrap{grid-template-columns:34px minmax(0,1fr) 34px;gap:6px}.lookup-slider-arrow{width:34px}.lookup-exam-thumb{flex-basis:135px;min-height:70px;padding:10px}.lookup-exam-thumb strong{font-size:15px}.lookup-exam-thumb small{font-size:10px}}

.visually-hidden{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}.lookup-filter-bar{justify-content:flex-end;margin:-18px 0 22px}.lookup-filter-bar .lookup-year-control{flex:0 1 210px;padding:0;border:0;border-radius:0;background:transparent}.lookup-filter-bar .lookup-year-control select{width:100%;height:38px;padding:0 34px 0 12px;border:1px solid #dce5ef;border-radius:999px;background-color:#fff;font-size:12px;font-weight:800}.lookup-filter-bar .lookup-year-control:hover{transform:none;box-shadow:none}@media(max-width:650px){.lookup-directory-head{margin-bottom:18px}.lookup-filter-bar{display:grid;grid-template-columns:minmax(92px,1.45fr) repeat(3,minmax(0,1fr));align-items:stretch;gap:5px;margin:0 0 18px}.lookup-filter-bar .lookup-year-control{min-width:0;padding:0}.lookup-filter-bar .lookup-year-control select{height:36px;padding:0 20px 0 7px;font-size:9px}.lookup-filter-bar label:not(.lookup-year-control){min-width:0;padding:5px 3px;gap:3px;border-radius:10px;font-size:8px;line-height:1.1;text-align:center}.lookup-filter-bar input{width:12px;height:12px;flex:0 0 12px}.lookup-exam-thumbnails-wrap{grid-template-columns:30px minmax(0,1fr) 30px;align-items:center}.lookup-slider-arrow{width:30px;height:30px;align-self:center;border-radius:50%;font-size:13px}.lookup-exam-thumbnails{gap:6px}.lookup-exam-thumb{flex:0 0 calc((100% - 18px)/4);min-width:0;min-height:60px;padding:7px 4px;border-radius:10px;text-align:center}.lookup-exam-thumb strong{font-size:10px;white-space:normal}.lookup-exam-thumb small{margin-top:4px;font-size:8px}}
@media(max-width:650px){.lookup-exam-thumbnails .lookup-exam-thumb{flex-basis:calc((100% - 12px)/3)}}
@media(max-width:650px){.lookup-exam-thumbnails{scrollbar-width:none;-ms-overflow-style:none}.lookup-exam-thumbnails::-webkit-scrollbar{display:none;width:0;height:0}}
@media(min-width:651px){.lookup-filter-bar{justify-content:flex-end;gap:16px}.lookup-filter-bar .lookup-year-control{flex:0 0 230px;background:transparent}.lookup-filter-bar .lookup-year-control select{height:44px;border-color:#0d2d5b;background-color:transparent;color:#0d2d5b;font-size:15.6px}.lookup-filter-bar label:not(.lookup-year-control){flex:0 0 auto;padding:8px 4px;border:0;background:transparent;color:#0d2d5b;font-size:15.6px}.lookup-filter-bar label:has(input:checked){border:0;background:transparent;color:#0751a5;box-shadow:none}.lookup-filter-bar input{width:19px;height:19px}.lookup-exam-slider{max-width:none}.lookup-exam-stage{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.lookup-exam-stage .lookup-exam-card,.lookup-exam-stage .lookup-exam-card[hidden]{display:flex!important;width:auto;min-height:300px}.lookup-exam-stage .lookup-exam-card.is-active{animation:none}.lookup-exam-thumbnails-wrap{display:none!important}}
