body.certificates-page * { box-sizing: border-box; }

body.certificates-page { background: #f1f4f9; color: #34445c; font-family: 'Plus Jakarta Sans', Arial, sans-serif; }
.cert-page { width: 100%; min-height: 460px; padding: 30px 20px 42px; }
.cert-layout { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(300px, .85fr); align-items: start; gap: 24px; width: min(100%, 1220px); margin: 0 auto; }
.cert-panel { width: 100%; margin: 0; padding: 36px 38px 30px; border: 1px solid rgba(22, 63, 135, .06); border-radius: 20px; background: #fff; box-shadow: 0 12px 36px rgba(25, 54, 99, .07); }
.cert-page .eyebrow { margin: 0 0 9px; color: #f4772e; font-family: 'Manrope', Arial, sans-serif; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-align: center; text-transform: uppercase; }
.cert-panel > .eyebrow { display: table; margin-right: auto; margin-left: auto; }
.cert-panel h1 { margin: 0; color: #163f87; font-family: 'Manrope', Arial, sans-serif; font-size: clamp(30px, 4vw, 39px); font-weight: 800; line-height: 1.14; text-align: center; }
.cert-page .intro { max-width: 620px; margin: 13px auto 24px; color: #69788e; font-size: 14px; line-height: 1.65; text-align: center; }
.search-form { display: flex; align-items: stretch; gap: 10px; max-width: 680px; margin: 0 auto; }
.search-form input { min-width: 0; flex: 1; min-height: 54px; padding: 0 19px; border: 1px solid #d8e0ec; border-radius: 999px; outline: none; background: #fff; box-shadow: 0 4px 12px rgba(22, 63, 135, .05); color: #243853; font: inherit; font-size: 14px; }
.search-form input:focus { border-color: #8093be; box-shadow: 0 0 0 4px rgba(128, 147, 190, .17); }
.search-form input::placeholder { color: #8290a4; }
.search-form button { min-height: 54px; padding: 0 24px; border: 0; border-radius: 999px; background: #ff8734; color: #fff; font: inherit; font-size: 13px; font-weight: 800; white-space: nowrap; cursor: pointer; transition: background .18s ease, transform .18s ease; }
.search-form button:hover { transform: translateY(-1px); background: #ec7021; }
.search-form button span { margin-right: 6px; font-size: 18px; vertical-align: -1px; }
.cert-page .notice { margin: 22px 0 0; padding: 14px 17px; border: 1px solid #f4d0bd; border-radius: 12px; background: #fff8f4; color: #8a4a25; font-size: 13px; line-height: 1.5; text-align: center; }
.results { margin-top: 28px; padding-top: 24px; border-top: 1px solid #e8edf4; }
.results-heading { display: flex; align-items: center; justify-content: center; }
.results-heading .eyebrow { margin-bottom: 5px; }
.results-heading h2 { margin: 0; color: #163f87; font-family: 'Manrope', Arial, sans-serif; font-size: 20px; font-weight: 800; text-align: center; }
.results-hint { margin: 8px 0 15px; color: #78859a; font-size: 13px; text-align: center; }
.people-list, .certificate-list { margin: 0; padding: 0; list-style: none; }
.people-list li { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 15px 16px; border: 1px solid #e7ecf3; border-radius: 12px; background: #fff; }
.people-list li + li { margin-top: 9px; }
.person-info { display: flex; min-width: 0; flex-direction: column; gap: 4px; }
.person-info strong { color: #253b5b; font-size: 14px; font-weight: 700; }
.person-info span { color: #7b8798; font-size: 12px; }
.person-link, .download-link { display: inline-flex; min-height: 40px; align-items: center; justify-content: center; gap: 8px; padding: 0 15px; border-radius: 999px; background: #163f87; color: #fff !important; font-size: 12px; font-weight: 800; text-decoration: none; white-space: nowrap; transition: background .18s ease; }
.person-link:hover, .download-link:hover { background: #0f2d62; color: #fff !important; }
.person-link span { font-size: 17px; line-height: 1; }
.cert-page .help-box { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 5px 8px; margin-top: 25px; padding: 14px 16px; border-radius: 11px; background: #f5f7fb; color: #69768a; font-size: 12px; line-height: 1.5; text-align: center; }
.cert-page .help-box strong { color: #34445c; font-weight: 800; }
.cert-page .help-box a, .cert-page .back-link { color: #163f87; font-weight: 800; text-decoration: none; }
.cert-page .help-box a:hover, .cert-page .back-link:hover { text-decoration: underline; }

.other-certificates { padding: 25px 22px 22px; border: 1px solid rgba(22, 63, 135, .06); border-radius: 20px; background: #fff; box-shadow: 0 12px 36px rgba(25, 54, 99, .07); }
.other-certificates > .eyebrow { margin-bottom: 6px; text-align: left; }
.other-certificates h2 { display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 8px 13px; border: 1px solid #dfe7f4; border-radius: 999px; background: #f4f7fc; color: #163f87; font-family: 'Manrope', Arial, sans-serif; font-size: 14px; font-weight: 800; line-height: 1.2; }
.other-certificates h2::before { width: 7px; height: 7px; border-radius: 50%; background: #ff8734; content: ''; }
.shortcut-list { display: grid; gap: 9px; margin-top: 18px; }
.shortcut-card { display: grid; grid-template-columns: 42px minmax(0, 1fr) 22px; align-items: center; gap: 12px; min-height: 78px; padding: 11px 12px; border: 1px solid #e7ecf3; border-radius: 12px; background: #fff; color: #34445c !important; text-decoration: none; transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease; }
.shortcut-card:hover { transform: translateY(-2px); border-color: #bfd0ee; box-shadow: 0 8px 18px rgba(22, 63, 135, .08); }
.shortcut-icon { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 12px; background: #edf2fc; color: #163f87; font-size: 20px; font-weight: 800; }
.shortcut-icon svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.shortcut-card:nth-child(2) .shortcut-icon, .shortcut-card:nth-child(3) .shortcut-icon { background: #fff1e8; color: #f4772e; }
.shortcut-copy { display: flex; min-width: 0; flex-direction: column; gap: 3px; }
.shortcut-copy small { color: #f4772e; font-family: 'Manrope', Arial, sans-serif; font-size: 10px; font-weight: 800; letter-spacing: .1em; }
.shortcut-copy strong { overflow: hidden; color: #203b62; font-size: 15px; font-weight: 800; text-overflow: ellipsis; }
.shortcut-copy > span { color: #687891; font-size: 11px; line-height: 1.35; }
.shortcut-arrow { display: grid; place-items: center; color: #163f87; }
.shortcut-arrow svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2.8; transition: transform .18s ease; }
.shortcut-card:hover .shortcut-arrow svg { transform: translate(2px, -2px); }

.cert-page-detail { width: min(100%, 1040px); margin: 0 auto; padding-top: 34px; }
.cert-panel-detail { max-width: none; }
.cert-panel-detail h1 { font-size: clamp(28px, 4vw, 36px); }
.cert-panel-detail .intro { margin-bottom: 20px; }
.certificate-list li { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 17px 0; border-bottom: 1px solid #e8edf4; }
.certificate-list li:first-child { border-top: 1px solid #e8edf4; }
.certificate-list li > div { display: flex; min-width: 0; align-items: center; gap: 12px; }
.certificate-list li strong { color: #34445c; font-size: 14px; font-weight: 700; line-height: 1.45; }
.certificate-icon { display: grid; width: 34px; height: 34px; flex: 0 0 34px; place-items: center; border-radius: 50%; background: #e8f5ef; color: #218456; font-weight: 800; }
.download-link { background: #ff8734; }
.download-link:hover { background: #ec7021; }
.download-link span { font-size: 17px; line-height: 1; }
.cert-page .back-link { display: inline-block; margin-top: 22px; font-size: 13px; }
.cert-page .visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

@media (max-width: 980px) {
    .cert-layout { grid-template-columns: minmax(0, 1fr); max-width: 720px; }
}
@media (max-width: 640px) {
    .cert-page { padding: 18px 12px 28px; }
    .cert-page-detail { padding-top: 20px; }
    .cert-panel { padding: 28px 19px 23px; border-radius: 16px; }
    .other-certificates { padding: 22px 17px 18px; border-radius: 16px; }
    .cert-page .intro { margin: 12px auto 20px; font-size: 13px; }
    .search-form { flex-direction: column; gap: 9px; }
    .search-form input, .search-form button { width: 100%; min-height: 50px; }
    .people-list li, .certificate-list li { align-items: flex-start; flex-direction: column; }
    .person-link, .download-link { width: 100%; }
    .certificate-list li { gap: 12px; }
}
