:root {
    --ink: #16201b;
    --muted: #5f6d66;
    --line: #dbe3de;
    --paper: #fbfcf9;
    --surface: #ffffff;
    --accent: #0f7a5a;
    --accent-dark: #095c44;
    --gold: #c98724;
    --deep: #0d2b23;
    --danger: #b42318;
    --warning: #8a5a00;
    --focus: #8bc5b0;
}

* {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    margin: 0;
    overflow-x: hidden;
    color: var(--ink);
    background:
        linear-gradient(120deg, rgba(15, 122, 90, .05) 0 1px, transparent 1px 38px),
        linear-gradient(180deg, #fbfcf9 0%, #eef4f1 58%, #f8f3e9 100%);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.5;
}

img,
svg {
    max-width: 100%;
}

a {
    color: var(--accent-dark);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 10px clamp(16px, 3vw, 46px);
    border-bottom: 1px solid var(--line);
    background: rgba(255, 255, 252, .92);
    backdrop-filter: blur(10px);
    animation: header-reveal .7s cubic-bezier(.2, .7, .2, 1) both;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--ink);
}

.brand:hover {
    text-decoration: none;
}

.office-logo {
    display: block;
    flex: 0 0 auto;
    object-fit: contain;
}

.brand-logo {
    width: 50px;
    height: 50px;
    border: 1px solid #d6e0da;
    border-radius: 8px;
    padding: 3px;
    background: #fff;
    animation: brand-seal-reveal .8s cubic-bezier(.2, .8, .2, 1) .12s both;
}

.brand-logo.logo-fallback {
    display: grid;
    place-items: center;
    border-color: var(--accent);
    padding: 0;
    color: #fff;
    background: var(--accent);
    font-size: 18px;
    font-weight: 900;
}

.brand-mark {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 8px;
    color: #fff;
    background: var(--accent);
    font-weight: 700;
}

.brand small {
    display: block;
    color: var(--muted);
    font-size: 12px;
}

.brand strong {
    font-size: 18px;
    line-height: 1.1;
}

.topnav {
    display: flex;
    align-items: center;
    gap: 16px;
}

.link-button {
    border: 0;
    padding: 0;
    color: var(--accent-dark);
    background: transparent;
    font: inherit;
    cursor: pointer;
}

main {
    min-height: calc(100svh - 72px);
}

.lookup-shell,
.auth-shell,
.admin-shell,
.result-shell,
.result-statement-shell {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
}

.lookup-shell {
    position: relative;
    display: grid;
    align-items: center;
    padding: clamp(14px, 2.4vh, 26px) 0 clamp(18px, 2.8vh, 30px);
}

.official-lookup {
    width: min(1180px, calc(100% - 32px));
    min-height: calc(100svh - 72px);
    grid-template-columns: 1fr;
    justify-items: center;
    gap: clamp(12px, 2.2vh, 20px);
    isolation: isolate;
    overflow: hidden;
}

.official-lookup::before {
    position: absolute;
    inset: 1% auto auto 50%;
    z-index: -2;
    width: min(500px, 80vw);
    height: min(500px, 80vw);
    border-radius: 50%;
    background: url("/images/zone-logo.jpeg") center / contain no-repeat;
    content: "";
    opacity: .045;
    transform: translateX(-50%);
}

.official-lookup::after {
    position: absolute;
    inset: 24px 0 auto;
    z-index: -1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(12, 94, 68, .36), rgba(201, 135, 36, .28), transparent);
    content: "";
}

.lookup-copy {
    width: min(920px, 100%);
    text-align: center;
    animation: portal-rise .85s cubic-bezier(.2, .75, .2, 1) .08s both;
}

.lookup-copy h1,
.auth-shell h1,
.admin-heading h1,
.result-heading h1 {
    margin: 0;
    max-width: 900px;
    font-size: 62px;
    line-height: 1.02;
    letter-spacing: 0;
}

.lookup-copy h1 {
    margin: 0 auto;
    color: var(--deep);
    font-size: 58px;
    font-weight: 900;
    line-height: .98;
    text-wrap: balance;
}

.hero-logo-wrap {
    position: relative;
    display: grid;
    width: clamp(86px, 10.5vw, 118px);
    height: clamp(86px, 10.5vw, 118px);
    place-items: center;
    margin: 0 auto clamp(10px, 1.8vh, 16px);
    border: 1px solid rgba(184, 198, 191, .82);
    border-radius: 16px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .96), rgba(255, 252, 246, .9));
    box-shadow:
        0 18px 48px rgba(13, 43, 35, .12),
        inset 0 0 0 4px rgba(255, 255, 255, .72);
    animation:
        seal-in .95s cubic-bezier(.18, .85, .2, 1) both,
        seal-breathe 5.5s ease-in-out 1.1s infinite;
}

.hero-logo-wrap::after {
    position: absolute;
    inset: -7px;
    z-index: -1;
    border: 1px solid rgba(15, 122, 90, .18);
    border-radius: 20px;
    content: "";
}

.hero-logo {
    width: 100%;
    height: 100%;
    padding: 8px;
}

.hero-logo.logo-fallback {
    display: grid;
    place-items: center;
    border-radius: 14px;
    color: #fff;
    background: var(--accent);
    font-size: 36px;
    font-weight: 900;
}

.exam-title {
    margin: 8px 0 0;
    color: #375047;
    font-size: 28px;
    font-weight: 800;
    letter-spacing: 0;
}

.auth-shell h1,
.admin-heading h1,
.result-heading h1 {
    font-size: 46px;
}

.eyebrow {
    margin: 0 0 12px;
    color: var(--accent-dark);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: uppercase;
}

.lede {
    max-width: 560px;
    margin: 8px auto 0;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.35;
}

.lookup-form,
.auth-form,
.admin-search {
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    box-shadow: 0 20px 60px rgba(22, 32, 27, .08);
}

.lookup-form {
    width: min(640px, 100%);
    padding: 16px;
    animation: portal-rise .85s cubic-bezier(.2, .75, .2, 1) .28s both;
}

.official-lookup .lookup-form {
    border-color: rgba(15, 122, 90, .22);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(252, 253, 250, .96));
    box-shadow:
        0 24px 70px rgba(13, 43, 35, .13),
        0 0 0 1px rgba(255, 255, 255, .7) inset;
}

label {
    display: block;
    margin: 0 0 6px;
    font-weight: 700;
}

input {
    width: 100%;
    min-height: 42px;
    border: 1px solid #c5d0ca;
    border-radius: 6px;
    padding: 9px 12px;
    color: var(--ink);
    background: #fff;
    font: inherit;
    transition: border-color .15s ease, box-shadow .15s ease;
}

input:focus {
    outline: 0;
    border-color: var(--accent);
    box-shadow: 0 0 0 4px var(--focus);
}

.lookup-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
}

button,
.button-secondary {
    min-height: 42px;
    border: 1px solid var(--accent);
    border-radius: 6px;
    padding: 0 18px;
    color: #fff;
    background: var(--accent);
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    transition: transform .15s ease, background-color .15s ease;
}

button:hover,
.button-secondary:hover {
    background: var(--accent-dark);
    text-decoration: none;
    transform: translateY(-1px);
}

.lookup-form button {
    box-shadow: 0 10px 20px rgba(15, 122, 90, .18);
}

.button-secondary {
    display: inline-flex;
    align-items: center;
    color: var(--accent-dark);
    background: transparent;
}

.button-secondary:hover {
    color: #fff;
}

.verification {
    display: grid;
    grid-template-columns: minmax(180px, 1fr) minmax(130px, 190px);
    gap: 10px;
    align-items: center;
    margin-top: 12px;
}

.verification .cf-turnstile {
    grid-column: 1 / -1;
    max-width: 100%;
    overflow: hidden;
}

.verification label {
    margin: 0;
}

.verification input {
    min-height: 42px;
}

.hp-field {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
}

.form-error {
    margin: 10px 0 0;
    color: var(--danger);
    font-weight: 700;
}

.auth-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
    gap: clamp(28px, 6vw, 64px);
    align-items: start;
    padding: 56px 0;
    animation: portal-rise .75s cubic-bezier(.2, .75, .2, 1) .08s both;
}

.auth-form {
    display: grid;
    gap: 12px;
}

.check-row {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 400;
}

.check-row input {
    width: auto;
    min-height: auto;
}

.admin-shell,
.result-shell {
    padding: 38px 0 70px;
}

.admin-shell {
    animation: portal-rise .75s cubic-bezier(.2, .75, .2, 1) .08s both;
}

.result-statement-shell {
    width: min(1120px, calc(100% - 32px));
    padding: 30px 0 72px;
}

.statement-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    margin-bottom: 16px;
    animation: controls-reveal .6s ease-out .18s both;
}

.statement-actions a,
.print-button {
    min-height: 40px;
    border: 1px solid #aebeb6;
    border-radius: 4px;
    padding: 8px 16px;
    color: #083c2e;
    background: rgba(255, 255, 255, .94);
    font-size: 14px;
    font-weight: 700;
    box-shadow: 0 5px 16px rgba(13, 43, 35, .06);
}

.print-button:hover,
.statement-actions a:hover {
    color: #fff;
    background: #0b5f46;
    text-decoration: none;
    transform: none;
}

.certificate-shell {
    width: min(1180px, calc(100% - 32px));
}

.certificate-statement {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 22px;
    border: 2px solid #a98f4b;
    background:
        radial-gradient(circle at 50% 18%, rgba(255, 255, 255, .84), rgba(255, 255, 255, 0) 38%),
        radial-gradient(circle at 88% 84%, rgba(169, 143, 75, .16), rgba(169, 143, 75, 0) 22%),
        linear-gradient(135deg, rgba(134, 112, 55, .08) 0 1px, transparent 1px 20px),
        #fbf6df;
    color: #101b2d;
    box-shadow: 0 30px 86px rgba(13, 43, 35, .16);
    animation: statement-enter .8s cubic-bezier(.2, .75, .2, 1) both;
}

.certificate-statement::before {
    position: absolute;
    inset: 9px;
    z-index: 2;
    border: 2px solid rgba(137, 111, 47, .74);
    content: "";
    pointer-events: none;
}

.certificate-statement::after {
    position: absolute;
    inset: 12% 24% 6%;
    z-index: 0;
    background: url("/images/zone-logo.jpeg") center / contain no-repeat;
    content: "";
    opacity: .055;
    pointer-events: none;
}

.certificate-inner {
    position: relative;
    z-index: 1;
    min-height: 660px;
    padding: 30px 68px 28px;
    border: 1px solid rgba(169, 143, 75, .42);
}

.certificate-header {
    text-align: center;
    animation: portal-rise .75s cubic-bezier(.2, .75, .2, 1) .08s both;
}

.certificate-logo {
    width: 138px;
    height: 138px;
    margin: 0 auto 10px;
    object-fit: contain;
    filter: drop-shadow(0 10px 16px rgba(16, 27, 45, .1));
    animation:
        seal-in .8s cubic-bezier(.18, .85, .2, 1) both,
        seal-breathe 6s ease-in-out 1s infinite;
}

.certificate-logo.logo-fallback {
    display: grid;
    width: 98px;
    height: 98px;
    place-items: center;
    border: 2px solid #0b5f46;
    border-radius: 50%;
    color: #0b5f46;
    background: #fffaf0;
    font-size: 26px;
    font-weight: 900;
}

.certificate-office,
.certificate-term,
.certificate-header h1 {
    margin: 0;
    letter-spacing: 0;
    text-transform: uppercase;
}

.certificate-office {
    color: #31453c;
    font-size: 13px;
    font-weight: 800;
}

.certificate-term {
    margin-top: 6px;
    color: #121d31;
    font-size: 31px;
    font-weight: 900;
    line-height: 1.08;
}

.certificate-header h1 {
    margin-top: 5px;
    color: #101829;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 42px;
    font-weight: 900;
    line-height: 1.03;
}

.certificate-meta {
    width: min(860px, 100%);
    margin: 16px auto 18px;
    animation: portal-rise .75s cubic-bezier(.2, .75, .2, 1) .18s both;
}

.certificate-meta dl {
    display: grid;
    gap: 3px;
    margin: 0;
}

.certificate-meta div {
    display: grid;
    grid-template-columns: 190px minmax(0, 1fr);
    gap: 18px;
    align-items: baseline;
}

.certificate-meta dt {
    position: relative;
    color: #101b2d;
    font-size: 23px;
    font-weight: 500;
    line-height: 1.15;
    text-transform: none;
}

.certificate-meta dt::after {
    position: absolute;
    right: -12px;
    content: ":";
}

.certificate-meta dd {
    margin: 0;
    color: #101b2d;
    font-size: 22px;
    font-weight: 900;
    line-height: 1.2;
    text-transform: uppercase;
    overflow-wrap: anywhere;
}

.certificate-pass {
    display: inline-block;
    width: fit-content;
    min-width: 72px;
    border-radius: 3px;
    padding: 1px 9px;
}

.certificate-pass.pass-yes {
    color: #064e3b;
    background: rgba(223, 247, 235, .92);
}

.certificate-pass.pass-no {
    color: #8f1d16;
    background: rgba(255, 225, 223, .94);
}

.certificate-table-wrap {
    width: min(960px, 100%);
    margin: 0 auto;
    border: 2px solid rgba(169, 143, 75, .7);
    background: rgba(255, 253, 243, .7);
    animation: portal-rise .75s cubic-bezier(.2, .75, .2, 1) .28s both;
}

.certificate-results-table {
    width: 100%;
    min-width: 0;
    table-layout: fixed;
    border-collapse: collapse;
}

.certificate-results-table th,
.certificate-results-table td {
    border-right: 2px solid rgba(169, 143, 75, .58);
    border-bottom: 2px solid rgba(169, 143, 75, .58);
    padding: 9px 18px;
    color: #101b2d;
    background: rgba(255, 253, 244, .52);
}

.certificate-results-table th:last-child,
.certificate-results-table td:last-child {
    border-right: 0;
}

.certificate-results-table tr:last-child td {
    border-bottom: 0;
}

.certificate-results-table th {
    background: rgba(246, 238, 211, .72);
    font-size: 28px;
    font-weight: 500;
    line-height: 1.1;
    text-align: center;
    text-transform: none;
}

.certificate-results-table th:nth-child(1) {
    width: 43%;
}

.certificate-results-table th:nth-child(2) {
    width: 18%;
}

.certificate-results-table th:nth-child(3) {
    width: 39%;
}

.certificate-results-table td {
    font-size: 24px;
    line-height: 1.12;
}

.certificate-results-table tbody tr {
    animation: row-reveal .48s ease-out both;
}

.certificate-results-table tbody tr:nth-child(1) { animation-delay: .42s; }
.certificate-results-table tbody tr:nth-child(2) { animation-delay: .49s; }
.certificate-results-table tbody tr:nth-child(3) { animation-delay: .56s; }
.certificate-results-table tbody tr:nth-child(4) { animation-delay: .63s; }
.certificate-results-table tbody tr:nth-child(5) { animation-delay: .7s; }
.certificate-results-table tbody tr:nth-child(n+6) { animation-delay: .77s; }

.certificate-subject,
.certificate-grade,
.certificate-word {
    font-weight: 900;
    text-transform: uppercase;
}

.certificate-grade {
    text-align: center;
}

.certificate-word {
    letter-spacing: 0;
}

.certificate-footer {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 20px;
    width: min(960px, 100%);
    margin: 18px auto 0;
    align-items: end;
}

.certificate-footer p {
    margin: 0;
    color: #101b2d;
    font-family: "Brush Script MT", "Segoe Script", cursive;
    font-size: 33px;
    font-weight: 700;
    line-height: 1.2;
}

.certificate-stamp {
    display: grid;
    width: 108px;
    height: 108px;
    place-items: center;
    border: 2px double rgba(137, 111, 47, .42);
    border-radius: 50%;
    color: rgba(137, 111, 47, .3);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 25px;
    font-weight: 900;
    transform: rotate(-12deg);
}

.certificate-footnote {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: rgba(16, 27, 45, .72);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}

.official-statement {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    border: 1px solid #91a79c;
    border-radius: 2px;
    background: rgba(255, 255, 253, .98);
    box-shadow: 0 28px 80px rgba(13, 43, 35, .14);
    animation: statement-enter .8s cubic-bezier(.2, .75, .2, 1) both;
}

.official-statement::before {
    position: absolute;
    inset: 0 0 auto;
    z-index: 3;
    height: 7px;
    background: linear-gradient(90deg, #0b5f46 0 72%, #c98724 72% 100%);
    content: "";
}

.official-statement::after {
    position: absolute;
    inset: 27% 24% 10%;
    z-index: -1;
    background: url("/images/zone-logo.jpeg") center / contain no-repeat;
    content: "";
    opacity: .025;
    pointer-events: none;
}

.official-statement > * {
    position: relative;
    z-index: 1;
}

.statement-header {
    position: relative;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 24px;
    align-items: center;
    padding: 34px 38px 28px;
    border-bottom: 1px solid #b9c9c1;
    background: rgba(252, 253, 250, .94);
}

.statement-header::after {
    position: absolute;
    right: 38px;
    bottom: -1px;
    left: 38px;
    height: 1px;
    background: linear-gradient(90deg, #0b5f46, rgba(11, 95, 70, .16), #c98724);
    content: "";
}

.statement-logo {
    width: 94px;
    height: 94px;
    border: 1px solid #a9bbb2;
    border-radius: 4px;
    padding: 5px;
    background: #fff;
    box-shadow: 0 6px 18px rgba(13, 43, 35, .08);
}

.statement-logo.logo-fallback {
    display: grid;
    place-items: center;
    border: 2px solid #0b5f46;
    border-radius: 50%;
    padding: 0;
    color: #0b5f46;
    font-size: 22px;
    font-weight: 900;
}

.statement-title p,
.statement-title span {
    display: block;
    margin: 0;
    color: #57645e;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: uppercase;
}

.statement-title .statement-office {
    color: #0d2b23;
    font-size: 38px;
    line-height: 1.05;
    font-weight: 900;
    text-transform: none;
}

.statement-title .statement-exam {
    margin-top: 7px;
    color: #174f3d;
    font-size: 24px;
    line-height: 1.15;
    font-weight: 800;
    text-transform: none;
}

.statement-title h1 {
    margin: 6px 0 0;
    color: #526159;
    font-size: 18px;
    line-height: 1.15;
    font-weight: 700;
    letter-spacing: 0;
}

.statement-status {
    min-width: 138px;
    border: 2px solid currentColor;
    border-radius: 3px;
    padding: 13px 16px;
    text-align: center;
    box-shadow: inset 0 0 0 3px rgba(255, 255, 255, .72);
    animation: status-settle .65s cubic-bezier(.2, .8, .2, 1) .48s both;
}

.statement-status span {
    display: block;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
}

.statement-status strong {
    display: block;
    margin-top: 3px;
    font-size: 25px;
    line-height: 1.1;
}

.statement-reference {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 38px;
    border-bottom: 1px solid #092f25;
    color: #dcebe4;
    background: #0d3d31;
}

.statement-reference span {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}

.statement-reference strong {
    color: #fff;
    font-size: 19px;
}

.candidate-details,
.result-transcript {
    padding: 28px 38px;
}

.candidate-details {
    border-bottom: 1px solid #cfdad4;
    background: rgba(255, 255, 253, .82);
}

.candidate-details h2,
.transcript-title h2 {
    margin: 0;
    color: #111a15;
    font-size: 15px;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

.candidate-details dl {
    display: grid;
    grid-template-columns: 1.45fr 1.75fr .8fr;
    gap: 0;
    margin: 14px 0 0;
    border-top: 1px solid #9fb2a8;
    border-bottom: 1px solid #9fb2a8;
    border-radius: 0;
    overflow: hidden;
}

.candidate-details dl div {
    min-width: 0;
    padding: 15px 16px;
    border-right: 1px solid #c9d6d0;
    background: rgba(255, 255, 255, .62);
}

.candidate-details dl div:last-child {
    border-right: 0;
}

.candidate-details .candidate-name {
    grid-column: span 1;
}

.candidate-details dt,
.official-summary dt {
    color: #47564f;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}

.candidate-details dd {
    margin: 4px 0 0;
    color: #07120e;
    font-size: 17px;
    font-weight: 800;
    overflow-wrap: anywhere;
}

.candidate-details .candidate-name dd {
    font-size: 21px;
}

.official-summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 0;
    border-top: 1px solid #fff;
    border-bottom: 1px solid #b9c9c1;
}

.official-summary div {
    padding: 18px 38px;
    border-right: 1px solid #c9d6d0;
    background: rgba(239, 245, 241, .9);
}

.official-summary div:last-child {
    border-right: 0;
}

.official-summary dd {
    margin: 4px 0 0;
    color: #07120e;
    font-size: 24px;
    font-weight: 900;
}

.transcript-title {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.transcript-title span {
    color: #53615a;
    font-size: 12px;
    font-weight: 700;
}

.official-table-wrap {
    overflow-x: auto;
    border: 1px solid #9fb2a8;
    border-radius: 0;
    background: rgba(255, 255, 255, .82);
}

.official-table {
    min-width: 0;
}

.official-table th {
    padding: 11px 16px;
    color: #fff;
    background: #174f3d;
    font-size: 11px;
    letter-spacing: 0;
}

.official-table td {
    padding: 12px 16px;
    color: #07120e;
    background: rgba(255, 255, 255, .76);
    font-size: 15px;
}

.official-table tbody tr:nth-child(even) td {
    background: rgba(239, 245, 241, .72);
}

.official-table tbody tr {
    animation: row-reveal .48s ease-out both;
}

.official-table tbody tr:nth-child(1) { animation-delay: .42s; }
.official-table tbody tr:nth-child(2) { animation-delay: .49s; }
.official-table tbody tr:nth-child(3) { animation-delay: .56s; }
.official-table tbody tr:nth-child(4) { animation-delay: .63s; }
.official-table tbody tr:nth-child(5) { animation-delay: .7s; }
.official-table tbody tr:nth-child(n+6) { animation-delay: .77s; }

.official-table th:last-child,
.official-table td:last-child {
    width: 190px;
    text-align: center;
}

.official-table td strong {
    display: inline-flex;
    min-width: 48px;
    min-height: 28px;
    align-items: center;
    justify-content: center;
    border: 1px solid #c9d5cf;
    border-radius: 2px;
    color: #0d3d31;
    background: #fff;
    font-size: 16px;
}

.statement-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 38px;
    border-top: 1px solid #9fb2a8;
    color: #34483f;
    background: rgba(244, 248, 245, .94);
    font-size: 11px;
    font-weight: 700;
}

.admin-heading,
.result-heading,
.section-title {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 18px;
}

.result-heading p {
    margin: 8px 0 0;
    color: var(--muted);
}

.pass-badge {
    min-width: 132px;
    border-radius: 8px;
    padding: 12px 16px;
    text-align: center;
    font-weight: 800;
}

.pass-yes {
    color: #064e3b;
    background: #dff7eb;
}

.pass-no {
    color: #7f1d1d;
    background: #ffe1df;
}

.statement-status.pass-yes {
    border-color: #0f7a5a;
    background: #dff7eb;
}

.statement-status.pass-no {
    border-color: #b42318;
    background: #ffe1df;
}

.official-summary .summary-status.pass-yes {
    background: #e4f6ec;
}

.official-summary .summary-status.pass-no {
    background: #ffe8e5;
}

.official-summary .summary-status.pass-yes dd {
    color: #064e3b;
}

.official-summary .summary-status.pass-no dd {
    color: #8f1d16;
}

.pass-pending {
    color: var(--warning);
    background: #fff3d7;
}

.result-meta,
.metrics {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1px;
    margin: 28px 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--line);
}

.result-meta div,
.metrics div {
    padding: 18px;
    background: var(--surface);
}

dt {
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

dd {
    margin: 6px 0 0;
    font-size: 22px;
    font-weight: 800;
}

.table-section {
    margin-top: 28px;
}

.section-title {
    margin-bottom: 12px;
}

.section-title h2 {
    margin: 0;
    font-size: 22px;
}

.table-wrap {
    overflow-x: auto;
    max-width: 100%;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-inline: contain;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
}

table {
    width: 100%;
    min-width: 560px;
    border-collapse: collapse;
}

th,
td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--line);
    text-align: left;
}

th {
    color: var(--muted);
    background: #f5f8f3;
    font-size: 12px;
    text-transform: uppercase;
}

tr:last-child td {
    border-bottom: 0;
}

.metrics dd {
    font-size: 30px;
}

.metrics > div {
    animation: metric-reveal .55s ease-out both;
}

.metrics > div:nth-child(1) { animation-delay: .18s; }
.metrics > div:nth-child(2) { animation-delay: .25s; }
.metrics > div:nth-child(3) { animation-delay: .32s; }
.metrics > div:nth-child(4) { animation-delay: .39s; }

.table-section {
    animation: portal-rise .65s ease-out .28s both;
}

.admin-search {
    margin: 28px 0;
    box-shadow: none;
}

.admin-result {
    width: 100%;
    padding: 22px 0 0;
}

.empty-state {
    padding: 18px;
    border: 1px dashed var(--line);
    border-radius: 8px;
    color: var(--muted);
    background: var(--surface);
}

@keyframes portal-rise {
    from {
        opacity: 0;
        transform: translateY(26px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes seal-in {
    from {
        opacity: 0;
        transform: translateY(18px) scale(.9);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes header-reveal {
    from {
        opacity: 0;
        transform: translateY(-18px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes brand-seal-reveal {
    from {
        opacity: 0;
        transform: scale(.82) rotate(-4deg);
    }

    to {
        opacity: 1;
        transform: scale(1) rotate(0);
    }
}

@keyframes seal-breathe {
    0%,
    100% {
        box-shadow:
            0 18px 48px rgba(13, 43, 35, .12),
            inset 0 0 0 4px rgba(255, 255, 255, .72);
        transform: translateY(0);
    }

    50% {
        box-shadow:
            0 24px 58px rgba(13, 43, 35, .18),
            inset 0 0 0 4px rgba(255, 255, 255, .82);
        transform: translateY(-4px);
    }
}

@keyframes status-settle {
    from {
        opacity: 0;
        transform: translateX(14px) scale(.94);
    }

    to {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

@keyframes row-reveal {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes controls-reveal {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes metric-reveal {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes statement-enter {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 900px) {
    .certificate-statement {
        padding: 14px;
    }

    .certificate-inner {
        min-height: 0;
        padding: 26px 34px 24px;
    }

    .certificate-logo {
        width: 112px;
        height: 112px;
    }

    .certificate-term {
        font-size: 27px;
    }

    .certificate-header h1 {
        font-size: 36px;
    }

    .certificate-meta div {
        grid-template-columns: 168px minmax(0, 1fr);
        gap: 16px;
    }

    .certificate-meta dt,
    .certificate-meta dd {
        font-size: 19px;
    }

    .certificate-results-table th {
        font-size: 22px;
    }

    .certificate-results-table td {
        font-size: 19px;
    }

    .certificate-footer p {
        font-size: 28px;
    }
}

@media (max-width: 760px) {
    .certificate-shell {
        width: calc(100% - 16px);
    }

    .certificate-statement {
        padding: 10px;
        border-width: 1px;
    }

    .certificate-statement::before {
        inset: 5px;
        border-width: 1px;
    }

    .certificate-statement::after {
        inset: 18% 8% 10%;
    }

    .certificate-inner {
        padding: 22px 18px 18px;
    }

    .certificate-logo {
        width: 88px;
        height: 88px;
        margin-bottom: 8px;
        animation: seal-in .8s cubic-bezier(.18, .85, .2, 1) both;
    }

    .certificate-office {
        font-size: 11px;
    }

    .certificate-term {
        font-size: 22px;
    }

    .certificate-header h1 {
        font-size: 29px;
    }

    .certificate-meta {
        margin: 16px auto;
    }

    .certificate-meta div {
        grid-template-columns: 126px minmax(0, 1fr);
        gap: 13px;
    }

    .certificate-meta dt,
    .certificate-meta dd {
        font-size: 15px;
        line-height: 1.25;
    }

    .certificate-meta dt::after {
        right: -9px;
    }

    .certificate-results-table th,
    .certificate-results-table td {
        padding: 8px 7px;
    }

    .certificate-results-table th {
        font-size: 15px;
    }

    .certificate-results-table td {
        font-size: 14px;
        overflow-wrap: anywhere;
    }

    .certificate-results-table th:nth-child(1) {
        width: 42%;
    }

    .certificate-results-table th:nth-child(2) {
        width: 18%;
    }

    .certificate-results-table th:nth-child(3) {
        width: 40%;
    }

    .certificate-footer {
        grid-template-columns: minmax(0, 1fr) 70px;
        gap: 10px;
        margin-top: 14px;
    }

    .certificate-footer p {
        font-size: 22px;
    }

    .certificate-stamp {
        width: 70px;
        height: 70px;
        font-size: 17px;
    }

    .certificate-footnote {
        align-items: flex-start;
        flex-direction: column;
        gap: 3px;
        font-size: 9px;
    }
}

@media (max-width: 460px) {
    .certificate-inner {
        padding: 20px 14px 16px;
    }

    .certificate-logo {
        width: 78px;
        height: 78px;
    }

    .certificate-term {
        font-size: 19px;
    }

    .certificate-header h1 {
        font-size: 25px;
    }

    .certificate-meta dl {
        gap: 7px;
    }

    .certificate-meta div {
        display: block;
    }

    .certificate-meta dt {
        color: #4f4220;
        font-size: 11px;
        font-weight: 900;
        text-transform: uppercase;
    }

    .certificate-meta dt::after {
        content: "";
    }

    .certificate-meta dd {
        margin-top: 1px;
        font-size: 14px;
    }

    .certificate-results-table th,
    .certificate-results-table td {
        padding: 7px 5px;
    }

    .certificate-results-table th {
        font-size: 12px;
    }

    .certificate-results-table td {
        font-size: 12px;
    }

    .certificate-footer {
        grid-template-columns: 1fr;
    }

    .certificate-stamp {
        justify-self: end;
        width: 60px;
        height: 60px;
        font-size: 14px;
    }

    .certificate-footer p {
        font-size: 20px;
    }
}

@media (max-width: 760px) {
    .admin-heading,
    .result-heading,
    .section-title {
        align-items: flex-start;
        flex-direction: column;
    }

    .topbar {
        min-height: 62px;
        padding: 8px 12px;
    }

    .brand {
        width: 100%;
        min-width: 0;
        gap: 10px;
    }

    .brand > span {
        min-width: 0;
    }

    .brand-logo {
        width: 44px;
        height: 44px;
    }

    .brand strong {
        display: block;
        font-size: 16px;
        overflow-wrap: anywhere;
    }

    .brand small {
        font-size: 11px;
    }

    main {
        min-height: calc(100svh - 62px);
    }

    .lookup-shell,
    .auth-shell,
    .admin-shell,
    .result-shell {
        width: calc(100% - 24px);
    }

    .lookup-shell,
    .auth-shell {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 18px 0;
    }

    .official-lookup {
        width: 100%;
        min-height: calc(100svh - 62px);
        gap: 12px;
        padding-top: 16px;
    }

    .lookup-copy h1 {
        font-size: 40px;
        line-height: 1.02;
    }

    .exam-title {
        font-size: 24px;
    }

    .hero-logo-wrap {
        width: 92px;
        height: 92px;
        animation: seal-in .85s cubic-bezier(.18, .85, .2, 1) both;
    }

    .lede {
        font-size: 15px;
    }

    .lookup-form,
    .auth-form,
    .admin-search {
        width: 100%;
        padding: 18px;
    }

    input,
    button,
    .button-secondary {
        min-height: 46px;
        font-size: 16px;
    }

    .lookup-row {
        grid-template-columns: 1fr;
    }

    .lookup-row button {
        width: 100%;
    }

    .verification {
        grid-template-columns: 1fr;
    }

    .cf-turnstile,
    .cf-turnstile iframe {
        width: 100% !important;
        max-width: 100% !important;
    }

    .auth-shell h1,
    .admin-heading h1,
    .result-heading h1 {
        font-size: 32px;
        line-height: 1.08;
    }

    .admin-shell,
    .result-shell {
        padding: 24px 0 48px;
    }

    .admin-heading,
    .result-heading,
    .section-title {
        width: 100%;
        gap: 12px;
    }

    .button-secondary {
        width: 100%;
        justify-content: center;
    }

    .result-meta,
    .metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .result-meta div,
    .metrics div {
        min-width: 0;
        padding: 15px;
    }

    .metrics dd,
    dd {
        overflow-wrap: anywhere;
    }

    .result-statement-shell {
        width: calc(100% - 16px);
        padding: 16px 0 44px;
    }

    .statement-actions {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        width: 100%;
        gap: 8px;
    }

    .statement-actions a,
    .print-button {
        min-height: 44px;
        text-align: center;
    }

    .statement-header {
        grid-template-columns: 68px minmax(0, 1fr);
        gap: 14px;
        padding: 22px 16px 20px;
    }

    .statement-header::after {
        right: 16px;
        left: 16px;
    }

    .statement-logo {
        width: 68px;
        height: 68px;
    }

    .statement-title .statement-office {
        font-size: 28px;
        overflow-wrap: anywhere;
    }

    .statement-title .statement-exam {
        font-size: 19px;
    }

    .statement-title h1 {
        font-size: 14px;
    }

    .statement-status {
        display: flex;
        grid-column: 1 / -1;
        width: 100%;
        align-items: center;
        justify-content: space-between;
        padding: 11px 14px;
        text-align: left;
    }

    .statement-status strong {
        margin-top: 0;
    }

    .statement-footer,
    .transcript-title {
        align-items: flex-start;
        flex-direction: column;
    }

    .statement-reference {
        flex-direction: row;
        align-items: center;
        padding: 11px 16px;
    }

    .candidate-details,
    .result-transcript,
    .statement-footer {
        padding-left: 16px;
        padding-right: 16px;
    }

    .candidate-details,
    .result-transcript {
        padding-top: 22px;
        padding-bottom: 22px;
    }

    .candidate-details dl {
        grid-template-columns: 1fr;
    }

    .candidate-details dl div {
        border-right: 0;
        border-bottom: 1px solid #d6e0da;
    }

    .candidate-details dl div:last-child {
        border-bottom: 0;
    }

    .official-summary {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .official-summary div {
        min-width: 0;
        padding: 14px 8px;
        border-right: 1px solid #c9d6d0;
        border-bottom: 0;
        text-align: center;
    }

    .official-summary div:last-child {
        border-right: 0;
    }

    .official-summary dt {
        font-size: 9px;
        white-space: nowrap;
    }

    .official-summary dd {
        margin-top: 5px;
        font-size: 20px;
        line-height: 1.1;
        overflow-wrap: normal;
    }

    .official-table th:last-child,
    .official-table td:last-child {
        width: 108px;
    }

    .official-table th,
    .official-table td {
        padding: 10px;
        font-size: 14px;
        overflow-wrap: anywhere;
    }

    .official-table td strong {
        min-width: 42px;
    }

    .statement-footer {
        gap: 4px;
    }

    .table-wrap {
        width: 100%;
    }
}

@media (max-width: 460px) {
    .result-meta,
    .metrics {
        grid-template-columns: 1fr;
    }

    .lookup-form,
    .auth-form,
    .admin-search {
        padding: 16px;
    }

    .brand strong {
        font-size: 15px;
    }

    .brand-logo {
        width: 42px;
        height: 42px;
    }

    .hero-logo-wrap {
        width: 82px;
        height: 82px;
        margin-bottom: 8px;
    }

    .lookup-copy h1 {
        font-size: 34px;
    }

    .exam-title {
        font-size: 21px;
    }

    .lede {
        font-size: 14px;
    }

    .statement-title .statement-office {
        font-size: 23px;
    }

    .statement-title .statement-exam {
        font-size: 16px;
    }

    .statement-title h1 {
        font-size: 13px;
    }

    .statement-reference span {
        max-width: 65%;
    }

    .official-summary div {
        padding: 12px 4px;
    }

    .official-summary dt {
        font-size: 8px;
    }

    .official-summary dd {
        font-size: 18px;
    }

    .candidate-details dd,
    .candidate-details .candidate-name dd {
        font-size: 17px;
    }

    .official-table th:last-child,
    .official-table td:last-child {
        width: 88px;
    }

    .official-table th,
    .official-table td {
        padding: 9px 8px;
        font-size: 13px;
    }

    .section-title span,
    .transcript-title span {
        overflow-wrap: anywhere;
    }
}

@media (max-width: 360px) {
    .topbar {
        padding-right: 8px;
        padding-left: 8px;
    }

    .brand {
        gap: 8px;
    }

    .brand-logo {
        width: 38px;
        height: 38px;
    }

    .brand strong {
        font-size: 14px;
    }

    .brand small {
        font-size: 10px;
    }

    .statement-header {
        grid-template-columns: 56px minmax(0, 1fr);
        gap: 10px;
        padding-right: 12px;
        padding-left: 12px;
    }

    .statement-header::after {
        right: 12px;
        left: 12px;
    }

    .statement-logo {
        width: 56px;
        height: 56px;
    }

    .statement-title .statement-office {
        font-size: 20px;
    }

    .statement-title .statement-exam {
        font-size: 15px;
    }

    .statement-reference,
    .candidate-details,
    .result-transcript,
    .statement-footer {
        padding-right: 12px;
        padding-left: 12px;
    }
}

@media (max-height: 760px) and (min-width: 761px) {
    .topbar {
        padding-top: 8px;
        padding-bottom: 8px;
    }

    .brand-logo {
        width: 44px;
        height: 44px;
    }

    .brand strong {
        font-size: 17px;
    }

    .brand small {
        font-size: 11px;
    }

    main,
    .official-lookup {
        min-height: calc(100svh - 62px);
    }

    .lookup-shell {
        padding-top: 10px;
        padding-bottom: 14px;
    }

    .official-lookup {
        gap: 10px;
    }

    .hero-logo-wrap {
        width: 82px;
        height: 82px;
        margin-bottom: 8px;
    }

    .lookup-copy h1 {
        font-size: 50px;
    }

    .exam-title {
        margin-top: 5px;
        font-size: 24px;
    }

    .lede {
        margin-top: 6px;
        font-size: 15px;
    }

    .lookup-form {
        padding: 14px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }
}

@page {
    size: A4 landscape;
    margin: 5mm;
}

@media print {
    html,
    body {
        width: 190mm;
        min-height: auto;
        background: #fff;
        color: #000;
        print-color-adjust: exact;
        -webkit-print-color-adjust: exact;
    }

    main {
        min-height: auto;
    }

    .topbar,
    .section-title a,
    .statement-actions {
        display: none;
    }

    .result-shell,
    .result-statement-shell {
        width: 100%;
        max-width: none;
        margin: 0;
        padding: 0;
    }

    .official-statement {
        border: 1px solid #555;
        border-top: 1px solid #555;
        border-radius: 0;
        box-shadow: none;
        animation: none;
        break-inside: avoid;
        page-break-inside: avoid;
    }

    .official-statement::before {
        height: 3px;
    }

    .official-statement::after {
        inset: 25% 25% 10%;
        opacity: .018;
    }

    .statement-header {
        display: grid;
        grid-template-columns: 21mm minmax(0, 1fr) 33mm;
        gap: 4mm;
        padding: 6mm 7mm 5mm;
    }

    .statement-logo {
        width: 20mm;
        height: 20mm;
        padding: .8mm;
        font-size: 12pt;
    }

    .statement-logo.logo-fallback {
        padding: 0;
    }

    .statement-title p,
    .statement-title span {
        font-size: 7.5pt;
    }

    .statement-title .statement-office {
        font-size: 14pt;
        line-height: 1.05;
    }

    .statement-title .statement-exam {
        margin-top: 1mm;
        font-size: 10.5pt;
        line-height: 1.05;
    }

    .statement-title h1 {
        margin: 1mm 0;
        font-size: 9pt;
        line-height: 1.05;
    }

    .statement-status {
        grid-column: auto;
        width: auto;
        min-width: 0;
        padding: 3mm;
    }

    .statement-status span {
        font-size: 7pt;
    }

    .statement-status strong {
        font-size: 13pt;
    }

    .statement-reference {
        display: flex;
        flex-direction: row;
        align-items: center;
        padding: 3.5mm 7mm;
    }

    .statement-reference span,
    .candidate-details dt,
    .official-summary dt,
    .official-table th {
        font-size: 7.5pt;
    }

    .statement-reference strong {
        font-size: 12pt;
    }

    .candidate-details,
    .result-transcript {
        padding: 5mm 7mm;
    }

    .candidate-details h2,
    .transcript-title h2 {
        font-size: 12pt;
    }

    .candidate-details dl {
        display: grid;
        grid-template-columns: 1.35fr 1.75fr .65fr;
        margin-top: 3mm;
    }

    .candidate-details dl div {
        padding: 3mm;
        border-right: 1px solid #999;
        border-bottom: 0;
    }

    .candidate-details dl div:last-child {
        border-right: 0;
    }

    .candidate-details dd,
    .candidate-details .candidate-name dd {
        margin-top: 1mm;
        font-size: 10.5pt;
        line-height: 1.2;
    }

    .official-summary {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .official-summary div {
        padding: 4mm 7mm;
        border-right: 1px solid #999;
        border-bottom: 0;
    }

    .official-summary div:last-child {
        border-right: 0;
    }

    .official-summary dd {
        font-size: 14pt;
        line-height: 1.15;
    }

    .transcript-title {
        display: flex;
        flex-direction: row;
        align-items: end;
        margin-bottom: 3mm;
    }

    .transcript-title span {
        font-size: 8pt;
    }

    table,
    .official-table {
        min-width: 0;
        page-break-inside: auto;
    }

    .official-table th,
    .official-table td {
        padding: 2.3mm 3mm;
        font-size: 9.5pt;
        line-height: 1.15;
    }

    .official-table th:last-child,
    .official-table td:last-child {
        width: 34mm;
    }

    .official-table td strong {
        min-width: 9mm;
        min-height: 7mm;
        border-radius: 0;
        font-size: 10pt;
    }

    .statement-footer {
        display: flex;
        flex-direction: row;
        padding: 3mm 7mm;
        font-size: 7.5pt;
    }

    .table-wrap,
    .result-meta,
    .official-table-wrap {
        border-color: #999;
    }
}

@media print {
    html,
    body {
        width: 287mm;
        height: 200mm;
        margin: 0;
        overflow: hidden;
        background: #fff;
    }

    .certificate-shell {
        width: 100%;
        max-width: none;
        height: 200mm;
        padding: 0;
    }

    .certificate-statement {
        width: 100%;
        height: 199mm;
        min-height: 0;
        padding: 4mm;
        border: 1.2pt solid #8f783e;
        background:
            radial-gradient(circle at 50% 14%, rgba(255, 255, 255, .88), rgba(255, 255, 255, 0) 42%),
            #fbf6df;
        box-shadow: none;
        animation: none;
        break-inside: avoid;
        page-break-inside: avoid;
        overflow: hidden;
    }

    .certificate-statement::before {
        inset: 2mm;
        border: 1pt solid #8f783e;
    }

    .certificate-statement::after {
        inset: 12% 30% 7%;
        opacity: .045;
    }

    .certificate-inner {
        display: flex;
        height: 191mm;
        min-height: 0;
        flex-direction: column;
        padding: 3.5mm 14mm 3mm;
        border-color: rgba(143, 120, 62, .42);
    }

    .certificate-logo {
        width: 24mm;
        height: 24mm;
        margin-bottom: 1mm;
        filter: none;
    }

    .certificate-office {
        font-size: 6.5pt;
    }

    .certificate-term {
        margin-top: .6mm;
        font-size: 16pt;
        line-height: 1;
    }

    .certificate-header h1 {
        margin-top: .6mm;
        font-size: 21pt;
        line-height: 1;
    }

    .certificate-meta {
        width: 216mm;
        margin: 2.5mm auto 3mm;
    }

    .certificate-meta dl {
        gap: .25mm;
    }

    .certificate-meta div {
        grid-template-columns: 36mm minmax(0, 1fr);
        gap: 4mm;
    }

    .certificate-meta dt,
    .certificate-meta dd {
        font-size: 10.5pt;
        line-height: 1.08;
    }

    .certificate-meta dt::after {
        right: -2.8mm;
    }

    .certificate-pass {
        padding: 0 1.6mm;
    }

    .certificate-table-wrap {
        width: 232mm;
        border-width: 1pt;
    }

    .certificate-results-table {
        page-break-inside: avoid;
        break-inside: avoid;
    }

    .certificate-results-table th,
    .certificate-results-table td {
        border-width: 1pt;
        padding: 1.25mm 3mm;
    }

    .certificate-results-table th {
        font-size: 11pt;
    }

    .certificate-results-table td {
        font-size: 11.2pt;
        line-height: 1.04;
    }

    .certificate-footer {
        width: 232mm;
        margin-top: 3mm;
        break-inside: avoid;
        page-break-inside: avoid;
    }

    .certificate-footer p {
        font-size: 15.5pt;
    }

    .certificate-stamp {
        width: 18mm;
        height: 18mm;
        font-size: 10pt;
    }

    .certificate-footnote {
        font-size: 5.5pt;
    }
}
