/* Only the certificate and FAQ pages; same SC palette, native accessible controls. */
body.scc-template-edition .scc-certificate-check__grid { grid-template-columns: minmax(0,.85fr) minmax(0,1.35fr); align-items: start; gap: clamp(1.2rem,3vw,3rem); }
body.scc-template-edition .scc-certificate-check__intro h2 { font-size: clamp(1.65rem,2.5vw,2.3rem); line-height: 1.15; }
body.scc-template-edition .scc-certificate-check__preview { max-width: 270px; margin: 1.3rem 0 0; }
body.scc-template-edition .scc-certificate-check__form { padding: clamp(1.1rem,2.6vw,2rem); border: 1px solid #c4dce2; border-top: 3px solid #39beb5; border-radius: 20px; background: #fff; box-shadow: 0 12px 36px #2448580b; min-width: 0; }
body.scc-template-edition [data-scc-certificate-form] label { display: block; font-weight: 700; color: #294e60; font-size: 1.05rem; margin: 0 0 .35rem; }
body.scc-template-edition #scc-certificate-code-help { font-size: .88rem; line-height: 1.6; margin: 0 0 1rem; color: #526e7b; }
body.scc-template-edition .scc-certificate-input-row { display: flex; flex-wrap: wrap; gap: .75rem; }
body.scc-template-edition #scc-certificate-code { flex: 1 1 230px; min-width: 0; width: 100%; min-height: 50px; margin: 0; padding: .8rem 1rem; font: 400 16px/1.5 var(--scc-font-body, sans-serif); background: #f7fbfc; border: 1px solid #bcd4dc; border-radius: 12px; letter-spacing: .03em; }
body.scc-template-edition .scc-certificate-input-row button { flex: 0 1 auto; padding: .85rem 1.15rem; min-height: 50px; margin: 0; gap: .5rem; }
body.scc-template-edition [data-scc-certificate-form][aria-busy="true"] { opacity: .7; }
body.scc-template-edition .scc-certificate-result:empty { display: none; }
body.scc-template-edition .scc-certificate-result { margin-top: 1.2rem; }
body.scc-template-edition .scc-certificate-result__card { padding: 1.15rem; background: #f4f8fb; border: 1px solid #ccdce6; border-radius: 14px; }
body.scc-template-edition .scc-certificate-result__card:is(.is-registered,.is-valid) { background: #edf9f3; border-color: #a7d7c4; }
body.scc-template-edition .scc-certificate-result__card:is(.is-not_found,.is-unavailable) { background: #fff8ec; border-color: #ecd5a9; }
body.scc-template-edition .scc-certificate-result__card h3 { font-size: 1.4rem; margin: 0 0 .5rem; line-height: 1.25; color: #294e60; }
body.scc-template-edition .scc-certificate-result__card p { margin: 0; font-size: .9rem; line-height: 1.65; }
body.scc-template-edition .scc-certificate-result__meta { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .9rem 1.2rem; margin-top: 1rem; }
body.scc-template-edition .scc-certificate-result__meta > div { min-width: 0; border-top: 1px solid #cbded8; padding-top: .7rem; }
body.scc-template-edition .scc-certificate-result__meta small { display: block; font-size: .75rem; color: #526e7b; margin-bottom: .2rem; }
body.scc-template-edition .scc-certificate-result__meta strong { display: block; font-size: .9rem; font-weight: 600; color: #294e60; overflow-wrap: anywhere; }
body.scc-template-edition .scc-certificate-privacy { margin: 1rem 0; color: #627583; font-size: .78rem; line-height: 1.6; }
body.scc-template-edition .scc-certificate-help-links { display: flex; flex-wrap: wrap; gap: .7rem 1.4rem; }
body.scc-template-edition .scc-certificate-help-links a { display: inline-flex; gap: .4rem; align-items: center; font-size: .83rem; color: #306982; text-decoration: underline; text-underline-offset: .2em; }
body.scc-template-edition .scc-qr-help { margin-top: 1.25rem; border-top: 1px solid #d9e6eb; padding-top: 1rem; color: #4e6876; font-size: .82rem; }
body.scc-template-edition .scc-qr-help summary { cursor: pointer; font-weight: 600; padding-block: .25rem; }
body.scc-template-edition .scc-qr-help ol { display: block; margin: .8rem 0 0; padding-left: 1.4rem; }
body.scc-template-edition .scc-qr-help li { margin: .4rem 0; line-height: 1.65; }
body.scc-template-edition .scc-faq-page__grid { grid-template-columns: minmax(230px,.7fr) minmax(0,1.7fr); gap: clamp(1.25rem,3vw,2.75rem); align-items: start; }
body.scc-template-edition .scc-faq-page .scc-sticky-card { padding: 1.35rem; }
body.scc-template-edition.scc-v8-compact .scc-faq-page .scc-faq-page__aside { position: sticky; top: 11.5rem; }
body.scc-template-edition .scc-faq-page__aside h2 { font-size: 1.65rem; margin: 0 0 1rem; }
body.scc-template-edition .scc-faq-page__aside p { font-size: .85rem; line-height: 1.65; margin: 1rem 0; }
body.scc-template-edition .scc-faq-topics { display: grid; gap: .25rem; }
body.scc-template-edition .scc-faq-topics a { display: flex; align-items: center; gap: .6rem; text-align: left; padding: .65rem .55rem; font-size: .87rem; line-height: 1.35; color: #335768; border-radius: 9px; transition: color .18s ease, background .18s ease; }
body.scc-template-edition .scc-faq-topics svg { flex: 0 0 1.1rem; width: 1.1rem; color: #337d80; }
body.scc-template-edition .scc-faq-topics a:is(:hover,:focus-visible) { color: #135951; background: #eaf6f2; }
body.scc-template-edition .scc-faq-group { scroll-margin-top: 10rem; margin: 0 0 2rem; }
body.scc-template-edition .scc-faq-group .scc-accordion { display: block; }
body.scc-template-edition .scc-faq-group h2 { display: flex; align-items: center; gap: .6rem; font-size: 1.65rem; margin: 0 0 .8rem; line-height: 1.25; }
body.scc-template-edition .scc-faq-group h2 svg { color: #377f8f; flex: 0 0 1.4rem; width: 1.4rem; }
body.scc-template-edition .scc-faq-group details { background: #fff; border: 1px solid #cfdee5; border-radius: 12px; margin: 0 0 .55rem; box-shadow: none; overflow: hidden; }
body.scc-template-edition .scc-faq-group details[open] { border-color: #a7d2cd; background: #fcfefe; }
body.scc-template-edition .scc-faq-group summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.2rem; font-size: .96rem; line-height: 1.45; color: #294e60; }
body.scc-template-edition .scc-faq-group summary::after { flex-shrink: 0; }
body.scc-template-edition .scc-faq-group .scc-disclosure__body { padding: 0 1.2rem 1.15rem; }
body.scc-template-edition .scc-faq-group .scc-disclosure__body p { margin: 0; max-width: 78ch; color: #516b79; line-height: 1.75; font-size: .93rem; text-align: left; text-wrap: pretty; }
@media(max-width: 800px) {
    body.scc-template-edition .scc-certificate-check__grid, body.scc-template-edition .scc-faq-page__grid { grid-template-columns: minmax(0,1fr); }
    body.scc-template-edition .scc-certificate-check__preview { display: none; }
    body.scc-template-edition .scc-faq-topics { grid-template-columns: repeat(2,minmax(0,1fr)); }
    body.scc-template-edition .scc-faq-page .scc-sticky-card { position: static; }
    body.scc-template-edition.scc-v8-compact .scc-faq-page .scc-faq-page__aside { position: static; top: auto; }
}
@media(max-width: 480px) {
    body.scc-template-edition .scc-certificate-input-row button { width: 100%; }
    body.scc-template-edition .scc-certificate-result__meta { grid-template-columns: minmax(0,1fr); }
    body.scc-template-edition .scc-faq-topics { grid-template-columns: minmax(0,1fr); }
    body.scc-template-edition .scc-faq-group summary { padding: .9rem 1rem; }
    body.scc-template-edition .scc-faq-group .scc-disclosure__body { padding: 0 1rem 1rem; }
}
@media(prefers-reduced-motion: reduce) { body.scc-template-edition .scc-faq-topics a { transition: none; } }
