/* Owner 2026-11-15: public certificate verification (the old /verification page) in the site's design. */
.vf .b-wrap { gap: 34px; }
.vf-search { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 34px; align-items: center; padding: clamp(22px, 3vw, 36px); }
.vf-search__main { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.vf-search__main .b-h3 { margin: 0; }
.vf-form { display: flex; gap: 12px; align-items: stretch; }
.vf-form__field { position: relative; flex: 1 1 auto; min-width: 0; }
.vf-form__field .b-icon { position: absolute; left: 16px; top: 50%; width: 21px; height: 21px; translate: 0 -50%; color: var(--blue); pointer-events: none; }
.vf-form .b-input { min-height: 56px; padding-left: 48px; font-size: 18px; font-weight: 700; letter-spacing: .04em; }
.vf-form .b-input:focus { outline: 3px solid var(--hi); outline-offset: 2px; border-color: var(--blue); }
.vf-form .b-btn { min-height: 56px; min-width: 150px; }
.vf-note { margin: 0; color: var(--ink-soft); font-size: 15px; line-height: 1.6; }
.vf-mail { display: inline-flex; align-items: center; gap: 6px; padding: 1px 11px; border-radius: 999px; background: var(--feint); color: var(--ink); font-weight: 700; text-decoration: none; white-space: nowrap; }
.vf-mail .b-icon { width: 16px; height: 16px; color: var(--red); }
.vf-mail:hover { background: var(--hi); color: var(--ink); }
.vf-points { display: grid; gap: 14px; margin: 0; padding: 22px; list-style: none; border-radius: var(--r-m); background: var(--blotter); border: 1px solid var(--rule); }
.vf-points li { display: flex; gap: 13px; align-items: flex-start; }
.vf-points strong { display: block; color: var(--ink); font-size: 15.5px; }
.vf-points li > span:last-child { color: var(--ink-soft); font-size: 14px; line-height: 1.45; }
.vf-points__i { display: grid; place-items: center; flex: 0 0 42px; width: 42px; height: 42px; border-radius: 12px; background: var(--hi); color: var(--ink); box-shadow: 3px 3px 0 var(--red); }
.vf-points__i .b-icon { width: 21px; height: 21px; }
.vf-results { display: flex; flex-direction: column; align-items: center; gap: 28px; }
.vf-results > .b-empty { width: min(860px, 100%); }
.vf-none h2 { overflow-wrap: anywhere; }
.vf-wait { display: flex; flex-direction: column; align-items: center; gap: 10px; width: min(860px, 100%); padding: 38px 20px; border: 2px dashed var(--rule); border-radius: var(--r-m); color: var(--ink-soft); text-align: center; }
.vf-wait .b-icon { width: 38px; height: 38px; color: var(--rule); }
.vf-wait p { margin: 0; font-weight: 700; }
.vf-cert { position: relative; width: min(860px, 100%); overflow: hidden; background: #fff; border: 1px solid var(--rule); border-radius: var(--r-l); box-shadow: 12px 12px 0 var(--shade); }
.vf-cert__head { position: relative; display: flex; align-items: center; gap: 22px; padding: 26px clamp(20px, 3vw, 32px); padding-right: 150px; background: var(--ink); color: #fff; }
.vf-cert__head::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: linear-gradient(90deg, var(--blue) 0 62%, var(--red) 62% 100%); }
.vf-cert__photo { position: relative; display: grid; place-items: center; flex: 0 0 96px; width: 96px; height: 96px; overflow: hidden; border-radius: 50%; background: var(--hi); color: var(--ink); font-size: 38px; font-weight: 700; box-shadow: 0 0 0 4px #fff, 6px 6px 0 4px var(--red); }
.vf-cert__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vf-cert__who { min-width: 0; }
.vf-cert__ok { display: inline-flex; align-items: center; gap: 6px; margin: 0 0 6px; padding: 3px 12px; border-radius: 999px; background: #e7f5ee; color: var(--pass); font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.vf-cert__ok .b-icon { width: 16px; height: 16px; stroke-width: 2.6; }
.vf-cert__who h2 { margin: 0; color: #fff; font-family: var(--serif); font-size: clamp(24px, 2.6vw, 32px); font-weight: 400; line-height: 1.15; overflow-wrap: anywhere; }
.vf-cert__no { margin: 8px 0 0; color: var(--on-ink); font-size: 14px; }
.vf-cert__no strong { display: inline-block; margin-left: 4px; padding: 1px 10px; border-radius: var(--r-s); background: var(--hi); color: var(--ink); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 15px; letter-spacing: .08em; transform: skewX(var(--skew)); }
.vf-cert__stamp { position: absolute; z-index: 2; top: 22px; right: 26px; display: grid; place-items: center; align-content: center; width: 104px; height: 104px; border: 3px solid var(--red); border-radius: 50%; background: #fff; color: var(--red); text-align: center; transform: rotate(-14deg); box-shadow: inset 0 0 0 4px #fff, inset 0 0 0 6px var(--red-line); }
.vf-cert__stamp span { font-size: 16px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.vf-cert__stamp small { font-family: var(--serif); font-size: 13px; color: var(--ink); }
.vf-cert__body { display: flex; flex-direction: column; gap: 20px; padding: 26px clamp(20px, 3vw, 32px) 30px; }
.vf-k { display: inline-flex; align-items: center; gap: 7px; color: var(--ink-soft); font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.vf-k .b-icon { width: 17px; height: 17px; color: var(--red); }
.vf-cert__courses, .vf-cert__row { display: flex; flex-direction: column; gap: 8px; }
.vf-cert__courses > div { display: flex; flex-wrap: wrap; gap: 8px; }
.vf-pill { padding: 6px 14px; border-radius: var(--r-s); background: var(--feint); color: var(--ink); font-weight: 700; font-size: 16px; }
.vf-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(128px, 1fr)); gap: 12px; margin: 0; }
.vf-facts > div { padding: 13px 15px; border: 1px solid var(--rule); border-left: 4px solid var(--blue); border-radius: var(--r-m); background: var(--blotter); }
.vf-facts dt { margin: 0 0 4px; color: var(--ink-soft); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.vf-facts dd { display: flex; align-items: center; gap: 7px; margin: 0; color: var(--ink); font-size: 17px; font-weight: 700; }
.vf-facts dd .b-icon { width: 17px; height: 17px; color: var(--blue); }
.vf-facts .is-grade { border-left-color: var(--pass); background: #e7f5ee; }
.vf-facts .is-grade dd { color: var(--pass); }
.vf-cert__row p { margin: 0; color: var(--ink); font-size: 16px; line-height: 1.55; }
.vf-cert__links .b-rich { color: var(--ink); font-size: 15px; }
.vf-cert__links .b-rich p, .vf-cert__links .b-rich h3 { margin: 0 0 6px; font-size: 15px; }
.vf-cert__links .b-rich a { display: inline-flex; max-width: 100%; padding: 4px 12px; border-radius: var(--r-s); background: var(--blue); color: #fff; font-weight: 700; text-decoration: none; overflow-wrap: anywhere; transform: skewX(var(--skew)); transition: box-shadow .15s ease; }
.vf-cert__links .b-rich a:hover { box-shadow: 4px 4px 0 var(--red); color: #fff; }
@media (max-width: 900px) { .vf-search { grid-template-columns: 1fr; } }
@media (max-width: 620px) {
    .vf-form { flex-direction: column; }
    .vf-form .b-btn { width: 100%; }
    .vf-cert__head { flex-direction: column; align-items: flex-start; padding-right: 20px; padding-top: 30px; }
    .vf-cert__photo { width: 78px; height: 78px; flex-basis: 78px; font-size: 30px; }
    .vf-cert__stamp { top: 18px; right: 16px; width: 84px; height: 84px; }
    .vf-cert__stamp span { font-size: 13px; }
}
/* Owner 2026-11-16: every fact on one line; wider card; long values take two places; 3 + 2 on phones. */
.vf-cert { width: min(980px, 100%); }
.vf-results > .b-empty, .vf-wait { width: min(980px, 100%); }
.vf-facts { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.vf-facts > div { min-width: 0; padding: 12px 14px; }
.vf-facts dt { letter-spacing: .05em; font-size: 11.5px; white-space: nowrap; }
.vf-facts dd { white-space: nowrap; font-size: 16.5px; }
.vf-facts dd .b-icon { flex: none; }
.vf-facts > .is-wide { grid-column: span 2; }
@media (max-width: 900px) { .vf-facts { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 420px) { .vf-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } .vf-facts dd { font-size: 15.5px; } }
