/* Website SEO Checker: form, progress, report and the print (PDF) layout. Brand tokens from the theme.
   Pass, warning and fail always show an icon and a word, never color alone. */
.asc-sec-wrap { padding: 48px 0 8px; }
.asc { background: #fff; border: 1px solid var(--aa-line, #E5E7EB); border-radius: 18px; box-shadow: var(--aa-shadow, 0 10px 30px rgba(6, 56, 49, .08)); padding: 24px; max-width: 980px; margin: 0 auto; color: var(--aa-navy, #1F2937); font-family: var(--aa-font, inherit); }
.asc .asc-h { font-size: 1.25rem; font-weight: 700; color: var(--aa-deep, #063831); line-height: 1.3; margin: 0 0 .4em; }
.asc-grid { display: grid; grid-template-columns: 1fr; gap: 16px 20px; }
.asc-field { margin: 0 0 4px; min-width: 0; }
.asc-field label, .asc-mode legend { display: block; font-weight: 600; font-size: .95rem; color: var(--aa-navy, #1F2937); margin-bottom: 6px; }
.asc-field input[type="text"], .asc-field input[type="email"], .asc-field textarea, .asc-field select { width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid #D1D5DB; border-radius: 10px; font: 500 16px var(--aa-font, inherit); color: var(--aa-ink, #060C13); background: #fff; box-sizing: border-box; }
.asc-field textarea { min-height: 110px; resize: vertical; }
.asc-field [aria-invalid="true"] { border-color: #B42318; }
.asc-check { display: flex; align-items: flex-end; }
.asc-check label, .asc-mode label, .asc-consent { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; line-height: 1.45; margin: 0 0 8px; cursor: pointer; font-weight: 500; }
.asc-check input, .asc-mode input, .asc-consent input { width: 20px; height: 20px; margin: 1px 0 0; flex: 0 0 auto; accent-color: #063831; }
.asc-mode { border: 0; padding: 0; margin: 18px 0 8px; }
.asc-pages { margin-top: 12px; }
.asc-consent { margin-top: 14px; }
.asc-err { margin: 6px 0 0; font-size: .85rem; color: #B42318; font-weight: 500; }
.asc-form-err { margin-top: 12px; }
.asc-go { margin-top: 18px; min-height: 50px; padding-left: 28px; padding-right: 28px; }
.asc-go[disabled] { opacity: .6; cursor: progress; }
.asc-note { margin: 12px 0 0; font-size: .85rem; color: var(--aa-grey, #6B7280); line-height: 1.5; }
.asc a { color: var(--aa-link, #0A4A41); }
.asc .aa-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.asc .aa-turnstile { margin-top: 14px; min-height: 65px; }
.asc a:focus-visible, .asc button:focus-visible, .asc input:focus-visible, .asc textarea:focus-visible, .asc select:focus-visible, .asc summary:focus-visible { outline: 3px solid #15B5B0; outline-offset: 3px; }
.asc [tabindex="-1"]:focus { outline: none; }
.asc [hidden] { display: none !important; }
@media (min-width: 720px) {
	.asc { padding: 32px; }
	.asc-grid { grid-template-columns: 1fr 1fr; }
	.asc-wide { grid-column: 1 / -1; }
}

/* Progress: a step list with live ticks. */
.asc-steps { list-style: none; margin: 16px 0 8px; padding: 0; display: grid; gap: 8px; }
.asc-steps li { display: flex; gap: 12px; align-items: center; color: var(--aa-grey, #6B7280); font-weight: 500; min-height: 28px; }
.asc-tick { width: 24px; height: 24px; border-radius: 50%; border: 2px solid #D1D5DB; flex: 0 0 auto; box-sizing: border-box; display: grid; place-items: center; font-size: 13px; line-height: 1; }
.asc-steps li.is-now { color: var(--aa-deep, #063831); font-weight: 600; }
.asc-steps li.is-now .asc-tick { border-color: #15B5B0; border-top-color: transparent; animation: asc-spin 1s linear infinite; }
.asc-steps li.is-done { color: var(--aa-navy, #1F2937); }
.asc-steps li.is-done .asc-tick { background: #15B5B0; border-color: #15B5B0; color: #063831; }
.asc-steps li.is-done .asc-tick::after { content: "\2713"; font-weight: 700; }
.asc-step { font-weight: 600; color: var(--aa-deep, #063831); margin: 8px 0 0; min-height: 1.5em; }
@keyframes asc-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .asc-steps li.is-now .asc-tick { animation: none; border-top-color: #15B5B0; } }

/* Report. */
.asc-report-in h2 { font-size: 1.3rem; margin: 0; color: var(--aa-deep, #063831); }
.asc-report-in h3 { font-size: 1.05rem; margin: 1.3em 0 .5em; color: var(--aa-navy, #1F2937); }
.asc-print-head { display: none; }
.asc-sum { padding: 0 0 18px; border-bottom: 1px solid var(--aa-line, #E5E7EB); }
.asc-sum-g { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.asc-gauge { position: relative; width: 132px; height: 132px; flex: 0 0 auto; }
.asc-gauge svg { display: block; }
.asc-gnum { position: absolute; inset: 0; display: flex; align-items: baseline; justify-content: center; padding-top: 44px; box-sizing: border-box; font: 700 2.2rem/1 var(--aa-font-head, Poppins, sans-serif); color: var(--aa-deep, #063831); }
.asc-gnum small { font-size: .85rem; color: var(--aa-grey, #6B7280); font-weight: 500; margin-left: 2px; }
.asc-sub { margin: 0; color: var(--aa-grey, #6B7280); font-size: .95rem; }
.asc-band { margin: 2px 0 4px; font: 700 1.5rem/1.2 var(--aa-font-head, Poppins, sans-serif); color: var(--aa-deep, #063831); }
.asc-secs { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 10px; }
.asc-secs li { border: 1px solid var(--aa-line, #E5E7EB); border-radius: 12px; padding: 12px 14px; display: grid; gap: 2px; background: var(--aa-mist, #F5FAFA); }
.asc-sl { font-weight: 600; color: var(--aa-navy, #1F2937); }
.asc-sv { font: 700 1.4rem/1.2 var(--aa-font-head, Poppins, sans-serif); color: var(--aa-deep, #063831); }
.asc-sv small { font-size: .8rem; color: var(--aa-grey, #6B7280); font-weight: 500; }
@media (min-width: 640px) { .asc-secs { grid-template-columns: repeat(3, 1fr); } }
.asc-notes { margin: 14px 0 0; padding-left: 1.2em; color: var(--aa-navy, #1F2937); font-size: .92rem; }
.asc-actions { margin: 16px 0 0; display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; }
.asc-small { font-size: .85rem; color: var(--aa-grey, #6B7280); }
.asc-sec { padding: 20px 0; border-bottom: 1px solid var(--aa-line, #E5E7EB); }
.asc-sec:last-of-type { border-bottom: 0; }
.asc-det > summary { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; cursor: pointer; list-style: none; }
.asc-det > summary::-webkit-details-marker { display: none; }
.asc-det > summary h2::after { content: " \25BE"; font-size: .8em; color: var(--aa-grey, #6B7280); }
.asc-det:not([open]) > summary h2::after { content: " \25B8"; }
.asc-list { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 10px; }
.asc-list > li { line-height: 1.5; overflow-wrap: anywhere; }
.asc-mark { display: inline-flex; align-items: center; gap: 4px; font-size: .8rem; font-weight: 700; border-radius: 999px; padding: 2px 9px; margin-right: 4px; white-space: nowrap; }
.asc-ok { background: #DFF4F3; color: #063831; }
.asc-warn { background: #FFF4D6; color: #6B4E00; }
.asc-fail { background: #FDECEC; color: #8A1C1C; }
.asc-skip { background: #F3F4F6; color: #4B5563; }
.asc-fixes { margin: 12px 0 0; padding-left: 1.3em; display: grid; gap: 16px; }
.asc-fixes li p { margin: 0 0 4px; }
.asc-fh { font-size: 1.02rem; }
.asc-pp { margin-top: 6px; }
.asc-pp summary { cursor: pointer; font-size: .85rem; color: var(--aa-link, #0A4A41); }
.asc-pp ul { margin: 6px 0 0; padding-left: 1.1em; font-size: .88rem; display: grid; gap: 4px; }
.asc-scroll { overflow-x: auto; }
.asc-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.asc-table th, .asc-table td { border-bottom: 1px solid var(--aa-line, #E5E7EB); padding: 8px 10px 8px 0; text-align: left; vertical-align: top; }
.asc-table th { font-weight: 600; color: var(--aa-navy, #1F2937); white-space: nowrap; }
.asc-table td a { overflow-wrap: anywhere; }
.asc-kpis { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 12px 0 0; }
.asc-kpis strong { font: 700 1.3rem var(--aa-font-head, Poppins, sans-serif); color: var(--aa-deep, #063831); margin-right: 4px; }
.asc-sample { background: #FFF4D6; color: #6B4E00; border-radius: 10px; padding: 8px 12px; }
.asc-fn { margin-top: 14px; }
.asc-review { margin-top: 20px; padding: 16px; border: 1px dashed #D1D5DB; border-radius: 14px; }
.asc-review h3 { margin-top: 0; }
.asc-rv label { display: block; font-weight: 600; margin-bottom: 6px; }
.asc-rv input, .asc-rlink { width: 100%; max-width: 520px; min-height: 44px; padding: 8px 12px; border: 1px solid #D1D5DB; border-radius: 10px; font: 500 15px var(--aa-font, inherit); box-sizing: border-box; }
.asc-qr canvas { display: block; width: 180px; height: 180px; image-rendering: pixelated; margin: 10px 0; }
.asc-cta .btn { margin: 4px 0; }
.asc-out .asc-again { margin: 18px 0 0; }
.asc-fail { padding: 4px 0; }

/* PDF: the browser's print, A4, brand header, all rows and sections open. The script copies the report into
   #asc-print just before printing, and only that copy is printed. */
#asc-print { display: none; }
@media print {
	@page { size: A4; margin: 14mm; }
	body > *:not(#asc-print) { display: none !important; }
	#asc-print { display: block !important; font-size: 11pt; color: #1F2937; font-family: Inter, Arial, sans-serif; }
	#asc-print .asc-report-in h2 { font-size: 14pt; }
	.asc-print-head { display: flex !important; justify-content: space-between; gap: 12px; border-bottom: 2px solid #15B5B0; padding-bottom: 6px; margin-bottom: 12px; color: #063831; font-size: 10pt; }
	.asc-actions, .asc-show, .asc-again, .asc-review, [data-asc-pdf] { display: none !important; }
	.asc-more { display: table-row !important; }
	.asc-det > summary h2::after { content: ""; }
	.asc-sec, .asc-fixes li, .asc-list > li, tr { break-inside: avoid; }
	.asc-table td a, .asc a { color: #063831; text-decoration: none; }
	.asc-mark { border: 1px solid #6B7280; }
}

/* Buttons (21 Nov 2026): scoped to the checker, so the theme and other pages are untouched.
   Dark: white #FFFFFF on #063831 (12.98:1) in every state; hover keeps the background and adds an underline and a
   1 px lift. Light: #063831 on white (12.98:1), hover #063831 on #DFF4F3 (11.4:1). The theme's btn-ghost is white
   text for dark sections, which would be invisible on this white card. */
.asc a.asc-cta-dark, .asc a.asc-cta-dark:link, .asc a.asc-cta-dark:visited, .asc a.asc-cta-dark:hover, .asc a.asc-cta-dark:focus, .asc a.asc-cta-dark:active,
.asc button.asc-cta-dark, .asc button.asc-cta-dark:hover, .asc button.asc-cta-dark:focus, .asc button.asc-cta-dark:active,
#asc-print a.asc-cta-dark, #asc-print a.asc-cta-dark:visited { background: #063831; color: #FFFFFF; border-color: #063831; text-decoration: none; }
.asc a.asc-cta-dark:hover, .asc a.asc-cta-dark:focus-visible, .asc button.asc-cta-dark:hover:not([disabled]), .asc button.asc-cta-dark:focus-visible { text-decoration: underline; text-underline-offset: 3px; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(6, 56, 49, .25); }
.asc a.asc-cta-light, .asc a.asc-cta-light:link, .asc a.asc-cta-light:visited, .asc a.asc-cta-light:active,
.asc button.asc-cta-light, .asc button.asc-cta-light:active,
#asc-print a.asc-cta-light, #asc-print a.asc-cta-light:visited { background: #FFFFFF; color: #063831; border: 2px solid #063831; text-decoration: none; }
.asc a.asc-cta-light:hover, .asc a.asc-cta-light:focus-visible, .asc button.asc-cta-light:hover, .asc button.asc-cta-light:focus-visible { background: #DFF4F3; color: #063831; border-color: #063831; text-decoration: underline; text-underline-offset: 3px; }
.asc .asc-cta-dark:focus-visible, .asc .asc-cta-light:focus-visible { outline: 3px solid #0B7C78; outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .asc a.asc-cta-dark:hover, .asc button.asc-cta-dark:hover { transform: none; } }
@media print {
	#asc-print .asc-cta .btn { display: inline-block; padding: 6px 12px; border-radius: 8px; border: 2px solid #063831; font-weight: 600; margin: 4px 0; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}
