@charset "UTF-8";
:root{--forest:#002623;--green:#054239;--teal:#428177;--gold:#988561;--wheat:#b9a779;--cream:#edebe0;--paper:#f8f7f2;--ink:#161616;--muted:#6d7771;--border:#e3e5dc;--red:#6b1f2a;font-family:"Segoe UI",Tahoma,Arial,sans-serif;color:var(--ink);background:var(--paper);font-synthesis:none}
*{box-sizing:border-box}body{margin:0}a{color:inherit;text-decoration:none}button,input{font:inherit}button,a,input{-webkit-tap-highlight-color:transparent}button{cursor:pointer}img{display:block;max-width:100%}h1,h2,h3,p{margin:0}.icon{width:22px;height:22px;flex-shrink:0}.container{max-width:1120px;width:calc(100% - 96px);margin-inline:auto}.skip-link{position:fixed;top:-80px;right:20px;padding:12px;background:white;z-index:20}.skip-link:focus{top:10px}:focus-visible{outline:3px solid var(--teal);outline-offset:5px}.site-header{height:96px;background:var(--forest);color:var(--cream);border-bottom:3px solid var(--wheat)}.header-inner{height:100%;display:flex;justify-content:space-between;align-items:center}.brand{display:flex;align-items:center;gap:18px}.brand img{width:58px;height:52px;object-fit:contain}.brand span{display:grid;gap:5px}.brand strong{font-size:21px;font-weight:650}.brand small{font-size:12px;color:#c9cebc}.header-label{font-size:13px;color:#d8ddcf;display:flex;gap:10px;align-items:center}.status-dot{display:inline-block;width:6px;height:6px;background:var(--wheat);border-radius:50%;flex-shrink:0}.hero{background:var(--cream);position:relative;overflow:hidden}.hero-grid{display:grid;grid-template-columns:1.15fr 1fr;align-items:center;min-height:425px;padding-top:42px;padding-bottom:84px;gap:65px}.eyebrow{display:inline-flex;align-items:center;gap:10px;color:var(--green);font-size:12px;font-weight:600;letter-spacing:.2px}.eyebrow>span{width:22px;height:2px;background:var(--gold)}.hero h1{font-size:58px;font-weight:700;line-height:1.3;letter-spacing:-1.8px;color:var(--forest);margin-top:17px}.hero h1 span{color:var(--gold)}.hero-description{font-size:16px;line-height:1.95;color:#566159;margin-top:22px}.hero-rule{display:flex;align-items:center;gap:12px;margin-top:27px;color:var(--muted)}.hero-rule>span{height:1px;width:36px;background:var(--wheat)}.hero-rule small{font-size:11px}.hero-emblem{position:relative;display:flex;align-items:center;justify-content:center;height:290px;max-width:375px;width:100%;justify-self:center}.hero-emblem>img{width:232px;height:auto;position:relative;z-index:1}.emblem-orbit{position:absolute;border:1px solid #98856126;border-radius:50%;width:280px;height:280px}.orbit-two{width:335px;height:335px;border-style:dashed;border-color:#9885612e}.emblem-corner{position:absolute;width:25px;height:25px;border-color:var(--wheat);opacity:.7}.top-corner{right:18px;top:4px;border-top:1px solid;border-right:1px solid}.bottom-corner{left:18px;bottom:4px;border-bottom:1px solid;border-left:1px solid}.emblem-caption{position:absolute;bottom:0;font-size:10px;letter-spacing:.5px;color:var(--gold);background:var(--cream);padding:0 12px}.search-section{position:relative;margin-top:-48px}.search-panel{padding:32px 38px 0;background:#fff;border:1px solid var(--border);border-radius:12px;box-shadow:0 14px 32px #00262305}.panel-heading{display:flex;align-items:center;gap:15px;margin-bottom:27px}.icon-tile{width:46px;height:46px;border-radius:10px;background:#f0f4ef;color:var(--green);display:grid;place-items:center}.panel-heading h2{font-size:21px;font-weight:650;color:var(--forest)}.panel-heading p{font-size:12px;color:var(--muted);margin-top:6px}.step-label{margin-right:auto;font-size:11px;color:var(--gold);border:1px solid #b9a77940;padding:7px 11px;border-radius:5px}.search-form label{display:block;font-size:13px;font-weight:600;margin-bottom:10px;color:var(--green)}.required-star{color:var(--gold);padding-inline:4px}.search-controls{display:flex;gap:14px}.input-wrap{display:flex;flex:1;align-items:center;gap:12px;border:1px solid #d9ddd3;background:#fdfdfb;border-radius:6px;padding-inline:16px;transition:border-color .15s,box-shadow .15s;min-width:0}.input-wrap>.icon{color:var(--gold);width:19px}.input-wrap:focus-within{border-color:var(--teal);box-shadow:0 0 0 3px #42817718}.input-wrap input{background:transparent;border:0;outline:none;width:100%;height:54px;font-size:15px;color:var(--forest);min-width:0}.input-wrap input:focus-visible{outline:none}.input-wrap input::placeholder{color:#969d94;font-size:13px}.button{display:inline-flex;align-items:center;justify-content:center;gap:26px;border-radius:6px;padding:14px 23px;border:1px solid transparent;font-size:14px;font-weight:600;transition:background .15s,transform .15s;white-space:nowrap}.button-primary{background:var(--green);color:#fff;min-width:190px}.button-primary:hover{background:var(--forest)}.button:active{transform:translateY(1px)}.button:disabled{opacity:.65;cursor:wait}.button>.icon{width:18px;height:18px}.button-outline{border-color:#d5dbcf;background:transparent;color:var(--green);gap:10px;font-size:12px;padding:10px 16px}.button-outline:hover{background:var(--cream)}.field-help{font-size:11px;color:var(--muted);margin-top:10px;line-height:1.8}.field-error{color:var(--red);font-size:13px;margin-top:10px}.input-invalid{border-color:var(--red)}.panel-note{margin-top:23px;border-top:1px solid #edf0e8;padding-block:16px;display:flex;align-items:center;gap:9px;color:var(--muted);font-size:11px;line-height:1.8}.panel-note>.icon{width:16px;height:16px;color:var(--gold)}.steps-section{padding-top:45px;padding-bottom:51px}.section-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:22px}.section-heading h2{font-size:17px;color:var(--forest);font-weight:650}.section-heading>span{color:var(--muted);font-size:11px}.steps-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.step-card{position:relative;padding:24px 26px;border:1px solid var(--border);border-radius:9px;background:#ffffff4d}.step-card>.icon{width:25px;height:25px;color:var(--gold);margin-bottom:16px}.step-number{position:absolute;left:23px;top:22px;color:#b9a7798c;font-size:25px;font-weight:300;direction:ltr;line-height:1}.step-card h3{font-size:15px;font-weight:600;color:var(--green)}.step-card p{font-size:12px;color:var(--muted);margin-top:8px;line-height:1.8}.site-footer{border-top:1px solid var(--border);display:flex;justify-content:space-between;gap:20px;padding-block:23px;color:#788078;font-size:10px}.footer-divider{margin-inline:10px;color:var(--wheat)}.results-hero{background:var(--cream);padding-top:24px;padding-bottom:36px}.back-link{display:inline-flex;gap:9px;align-items:center;font-size:12px;color:var(--muted)}.back-link>.icon{width:17px}.back-link:hover{color:var(--green)}.results-heading{display:flex;justify-content:space-between;align-items:center;margin-top:26px}.results-heading h1{font-size:38px;color:var(--forest);margin-block:8px}.results-heading p{font-size:14px;color:var(--muted);line-height:1.8;overflow-wrap:anywhere}.results-heading p strong{color:var(--green);font-weight:600}.results-emblem{padding-inline:18px}.results-section{padding-block:28px 48px}.results-toolbar{display:flex;justify-content:space-between;align-items:center;margin-bottom:22px}.results-toolbar>span{font-size:12px;color:var(--muted);display:flex;gap:9px;align-items:center}.results-toolbar strong{color:var(--green)}.result-card{border:1px solid var(--border);border-radius:12px;background:white;overflow:hidden;margin-bottom:22px;break-inside:avoid}.result-card-top{display:flex;align-items:center;justify-content:space-between;padding:25px 30px;border-bottom:1px solid var(--border);gap:15px}.result-person{display:flex;align-items:center;gap:15px}.person-avatar{height:46px;width:46px;border-radius:50%;background:#edf2ed;display:grid;place-items:center;color:var(--green);flex-shrink:0}.detail-label{display:block;color:var(--muted);font-size:11px;line-height:1.8}.result-person h2{font-size:21px;color:var(--forest);margin-top:3px;overflow-wrap:anywhere}.record-label{color:var(--gold);font-size:10px;white-space:nowrap}.record-label span{font-size:15px;display:inline-block;margin-right:9px}.result-body{display:flex;padding:27px 30px;gap:30px}.details-grid{flex:1;display:grid;grid-template-columns:1fr 1fr 1.2fr;gap:24px;margin:0;align-items:center}.details-grid dt{font-size:11px;color:var(--muted);display:flex;gap:7px;align-items:center}.details-grid dt>.icon{width:15px;height:15px;color:var(--gold)}.details-grid dd{font-size:17px;color:var(--green);margin:13px 0 0;font-weight:600}.score-panel{min-width:140px;text-align:center;border-right:1px solid var(--border);padding-right:30px;display:grid;justify-items:center}.score-panel>strong{font-size:46px;line-height:1.2;font-weight:650;color:var(--green);direction:ltr;margin-top:6px;overflow-wrap:anywhere}.score-panel>small{font-size:10px;color:var(--muted);margin-top:5px}.result-outcome{background:#f0f4ed;border-top:1px solid #e3e9dc;display:flex;align-items:center;gap:14px;padding:19px 30px;border-right:3px solid var(--gold)}.outcome-icon{color:var(--green);display:grid;place-items:center}.result-outcome strong{display:block;font-size:17px;font-weight:600;color:var(--green);margin-top:4px}.multiple-note{padding:13px 16px;background:#eeebdf;border:1px solid #dcd4be;color:#756445;border-radius:6px;display:flex;align-items:center;gap:10px;font-size:12px;line-height:1.8;margin-bottom:20px}.multiple-note>.icon{width:17px;height:17px}.search-again{border:1px solid var(--border);border-radius:10px;background:white;padding:24px 30px;margin-top:30px}.search-again-heading{display:flex;align-items:center;gap:9px;margin-bottom:20px;color:var(--green)}.search-again-heading h2{font-size:16px;font-weight:600}.search-again-heading>.icon{width:18px}.empty-state{background:#fff;border:1px solid var(--border);border-radius:12px;text-align:center;padding:42px 25px}.empty-icon{width:68px;height:68px;display:grid;place-items:center;background:#f0f2e9;border-radius:50%;color:var(--gold);margin:0 auto 20px}.empty-icon>.icon{width:30px;height:30px}.empty-state>.eyebrow{color:var(--gold)}.empty-state h2{font-size:27px;color:var(--forest);margin-top:12px}.empty-state p{font-size:14px;color:var(--muted);margin-top:15px;line-height:1.9}.empty-state .button{margin-top:24px}.error-state .empty-icon{color:var(--red);background:#f7eef0}
@media(min-width:1450px){.hero-grid{min-height:450px}.hero h1{font-size:64px}}
@media(max-width:900px){.container{width:calc(100% - 48px)}.hero-grid{gap:20px;grid-template-columns:1.2fr 1fr}.hero h1{font-size:48px}.hero-emblem{height:240px}.hero-emblem>img{width:180px}.orbit-one{width:220px;height:220px}.orbit-two{width:265px;height:265px}.top-corner,.bottom-corner{display:none}.search-panel{padding-inline:27px}.result-body{gap:20px}.details-grid{gap:12px}.details-grid dd{font-size:15px}.score-panel{min-width:120px;padding-right:20px}}
@media(max-width:640px){.container{width:calc(100% - 36px)}.site-header{height:82px}.brand{gap:12px}.brand img{width:44px;height:43px}.brand strong{font-size:18px}.brand small{font-size:10px}.header-label{display:none}.hero-grid{grid-template-columns:1fr;padding-top:33px;padding-bottom:72px;min-height:0;gap:0}.hero-copy{position:relative;z-index:2}.hero h1{font-size:43px;letter-spacing:-1px;margin-top:15px}.hero-description{font-size:14px;margin-top:18px}.hero-emblem{position:absolute;left:-35px;top:38px;width:180px;height:210px;opacity:.12;pointer-events:none}.hero-emblem>img{width:170px}.emblem-orbit,.emblem-caption{display:none}.hero-rule{margin-top:20px}.search-section{margin-top:-37px}.search-panel{padding:23px 20px 0;border-radius:10px}.panel-heading{gap:11px;margin-bottom:24px}.panel-heading h2{font-size:18px}.panel-heading p{font-size:11px}.icon-tile{width:39px;height:39px}.step-label{display:none}.search-controls{flex-direction:column;gap:11px}.input-wrap input{height:53px}.button-primary{width:100%;height:51px;justify-content:space-between;padding-inline:20px}.panel-note{align-items:flex-start;font-size:10px}.panel-note>.icon{margin-top:2px}.steps-section{padding-top:32px;padding-bottom:35px}.section-heading h2{font-size:16px}.section-heading>span{display:none}.steps-grid{grid-template-columns:1fr;gap:12px}.step-card{padding:19px 60px 19px 24px}.step-card>.icon{position:absolute;right:20px;top:24px;width:23px;margin:0}.step-number{font-size:22px;top:23px}.step-card h3{font-size:14px}.step-card p{font-size:11px;margin-top:5px}.site-footer{flex-direction:column;text-align:center;gap:10px;font-size:10px;padding-block:22px}.results-hero{padding-bottom:28px}.results-heading{margin-top:19px;gap:10px}.results-heading h1{font-size:31px}.results-heading p{font-size:12px}.results-emblem{padding:0;flex-shrink:0;width:66px}.results-section{padding-top:22px}.result-card-top{padding:20px 18px}.result-person{gap:11px}.result-person h2{font-size:17px}.person-avatar{width:39px;height:39px}.record-label{display:none}.result-body{padding:22px 18px;gap:20px;align-items:center}.details-grid{grid-template-columns:1fr;gap:19px}.details-grid dd{font-size:15px;margin-top:5px}.score-panel{min-width:110px;padding-right:18px}.score-panel>strong{font-size:40px}.result-outcome{padding:17px 18px}.result-outcome strong{font-size:15px}.result-outcome .detail-label{font-size:10px}.search-again{padding:21px 18px;margin-top:24px}.results-toolbar .button{font-size:11px;padding:9px 11px}.results-toolbar>span{font-size:11px}.empty-state{padding:32px 20px}.empty-state h2{font-size:23px}.empty-state p{font-size:13px}.multiple-note{font-size:11px;align-items:flex-start}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
@media print{body{background:white}.container{width:100%;max-width:none}.site-header{background:white;color:var(--forest);border-bottom:1px solid var(--gold);height:80px}.brand small{color:var(--muted)}.header-label,.back-link,.results-toolbar .button,.search-again,.site-footer,.skip-link{display:none}.results-hero{padding:15px 0;background:white}.results-heading{margin-top:0}.results-heading h1{font-size:27px}.results-section{padding:15px 0}.result-card{border:1px solid #ccc;box-shadow:none}.result-body{display:flex}.details-grid{grid-template-columns:repeat(3,1fr)}.result-outcome{background:white}.results-emblem{width:65px}.result-outcome,.score-panel{-webkit-print-color-adjust:exact;print-color-adjust:exact}@page{margin:15mm}}

/* Ministry footer */
html { scroll-behavior: smooth; }
.ministry-footer { background: var(--forest); color: var(--cream); padding: 44px 0 25px; }
.footer-main { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding-bottom: 32px; }
.footer-identity { display: flex; align-items: center; gap: 24px; min-width: 0; }
.footer-emblem { flex-shrink: 0; width: 132px; text-align: center; color: var(--wheat); }
.footer-emblem img { width: 47px; height: 36px; object-fit: contain; margin: 0 auto 5px; }
.footer-emblem span { display: block; font-size: 9px; line-height: 1.5; }
.footer-emblem small { display: block; font-family: Georgia, "Times New Roman", serif; font-size: 9px; line-height: 1.4; }
.footer-ministry { border-right: 1px solid #b9a77960; padding-right: 24px; line-height: 1.8; }
.footer-ministry strong { display: block; font-size: 18px; font-weight: 650; }
.footer-ministry > span { display: block; margin-top: 7px; color: var(--wheat); font-size: 13px; }
.footer-ministry p { margin-top: 2px; font-size: 13px; color: #d6dfd8; }
.footer-back-top { flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 15px 20px; border: 1px solid #b9a77966; border-radius: 6px; color: var(--cream); font-size: 14px; transition: background .15s; }
.footer-back-top .icon { width: 17px; height: 17px; color: var(--wheat); }
.footer-back-top:hover { background: var(--green); }
.footer-copyright { padding-top: 19px; border-top: 1px solid #b9a77930; color: #ced8cc; font-size: 12px; }

/* Apply success styling only to a successful result from Excel. */
.result-outcome { background: #f3f4ef; }
.result-outcome strong { color: #3d3a3b; }
.result-outcome .outcome-icon { color: #6d7771; }
.result-outcome-success { background: #edf9ef; border-top-color: #d4ebd8; border-right-color: #16a34a; }
.result-outcome-success strong, .result-outcome-success .outcome-icon { color: #15803d; }

@media (max-width: 900px) {
    .footer-main { gap: 24px; }
    .footer-identity { gap: 16px; }
    .footer-emblem { width: 105px; }
    .footer-ministry { padding-right: 16px; }
    .footer-ministry strong { font-size: 15px; }
    .footer-back-top { font-size: 12px; padding: 13px 15px; }
}
@media (max-width: 640px) {
    .ministry-footer { padding: 30px 0 22px; }
    .footer-main { flex-direction: column; gap: 25px; padding-bottom: 24px; }
    .footer-identity { width: 100%; justify-content: center; gap: 13px; }
    .footer-emblem { width: 85px; }
    .footer-emblem span, .footer-emblem small { font-size: 8px; }
    .footer-ministry { padding-right: 13px; }
    .footer-ministry strong { font-size: 14px; line-height: 1.8; }
    .footer-ministry > span, .footer-ministry p { font-size: 11px; }
    .footer-back-top { font-size: 12px; }
    .footer-copyright { text-align: center; font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media print { .ministry-footer { display: none; } }

/* Ministry identity in the shared page header */
.ministry-brand { display: flex; align-items: center; gap: 20px; }
.header-republic { width: 108px; flex-shrink: 0; color: var(--wheat); text-align: center; }
.header-republic img { width: 43px; height: 33px; object-fit: contain; margin: 0 auto 4px; }
.header-republic > span { display: block; font-size: 9px; line-height: 1.4; }
.header-republic > small { display: block; font-family: Georgia, "Times New Roman", serif; font-size: 8px; line-height: 1.4; }
.header-ministry { border-right: 1px solid #b9a77960; padding-right: 20px; }
.header-ministry > strong { display: block; color: var(--cream); font-size: 22px; font-weight: 650; line-height: 1.5; }
.header-ministry > span { display: block; color: var(--wheat); font-size: 13px; margin-top: 5px; line-height: 1.6; }
@media (max-width: 640px) {
    .ministry-brand { gap: 16px; }
    .header-republic { width: 92px; }
    .header-republic img { width: 36px; height: 28px; margin-bottom: 3px; }
    .header-republic > span, .header-republic > small { font-size: 8px; }
    .header-ministry { padding-right: 16px; }
    .header-ministry > strong { font-size: 19px; }
    .header-ministry > span { font-size: 11px; margin-top: 3px; }
}
@media print {
    .header-ministry > strong { color: var(--forest); }
    .header-ministry { border-right-color: var(--wheat); }
}
