/* THE FREE SCAN'S RUN CARD — one stylesheet for the two pages that run it
   (/seo-audit and /agent-readiness, on the same wire, seo-audit.js). Moved out
   of seo-audit.html's own <style> by S39 so the second page does not keep a
   second copy. Everything else is site.css / components.css. */
.field-label { display: block; max-width: 520px; margin: 0 auto 6px; font-size: 13px; color: var(--mute); text-align: left; }
.seo-run { scroll-margin-top: 84px; }

/* THE RUN LOG. The site's grammar is a CI run, and these pages are the one
   place where the run is genuinely executing, so the log is the hero. */
.runbar { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: baseline;
          border: 1px solid var(--line); border-radius: var(--r); background: var(--white);
          padding: 12px 14px; font-family: var(--mono); font-size: 12px; }
.runbar .k { color: var(--faint); }
.runbar .v { color: var(--ink); font-variant-numeric: tabular-nums; }
.runbar .state { margin-left: auto; }
.dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; margin-right: 6px; vertical-align: middle; }
.dot.live { background: var(--brand-500); animation: pulse 1.1s ease-in-out infinite; }
.dot.done { background: var(--win); }
.dot.bad  { background: var(--broken); }
@keyframes pulse { 0%,100% { opacity: 1 } 50% { opacity: .35 } }
@media (prefers-reduced-motion: reduce) { .dot.live { animation: none } }

.rows { border: 1px solid var(--line); border-top: 0; border-radius: 0 0 var(--r) var(--r);
        background: var(--white); max-height: 380px; overflow: auto; }
.row { display: grid; grid-template-columns: 54px 1fr auto; gap: 10px; align-items: baseline;
       padding: 7px 14px; border-top: 1px solid var(--line-soft); font-family: var(--mono); font-size: 12px; }
.row:first-child { border-top: 0; }
.row .st { font-variant-numeric: tabular-nums; }
.row .st.ok { color: var(--win); }
.row .st.warn { color: var(--leak); }
.row .st.bad { color: var(--broken); }
.row .u { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink); }
.row .u small { display: block; color: var(--faint); font-family: var(--sans); font-size: 11px;
                overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.row .n { color: var(--faint); font-variant-numeric: tabular-nums; }
.row .n b { color: var(--leak); font-weight: 600; }

.hidden { display: none }
.seo-explain { max-width: 62ch; margin-left: auto; margin-right: auto; }
section.block.seo-explain { padding-top: 28px; }

/* S33 — THE STAGES. A scan is a fetch and then several minutes of work on
   what was fetched; the run card says which, with the site's grammar:
   passed steps green, the running one live, the rest queued. */
.stagecard { margin-bottom: 12px; }
.stagecard .run-head .k { color: var(--faint); }
.stagecard .run-head .state { margin-left: auto; }
.stagecard .run-head .v { color: var(--ink); font-variant-numeric: tabular-nums; }
.steps li.live .glyph { color: var(--brand-500); }
.steps li .time { font-variant-numeric: tabular-nums; }
.steps .what progress { display: block; width: 100%; max-width: 280px; height: 6px; margin-top: 6px;
                        accent-color: var(--brand-400); }
.typical { padding: 10px 16px; border-top: 1px solid var(--line-soft); font-size: 12.5px; color: var(--mute); }
.typical .num { font-family: var(--mono); font-variant-numeric: tabular-nums; color: var(--ink); }
/* Solid, not dashed: a dashed card is the demo-data label (DESIGN.md). Always
   in the tree (a live region shown already holding text is not announced);
   it takes no room while it says nothing. */
.stall { border: 1px solid var(--line); background: var(--paper); border-radius: var(--r);
         padding: 10px 14px; margin-bottom: 12px; font-size: 13.5px; color: var(--ink); }
.stall:empty { border: 0; padding: 0; margin: 0; }
.leave { border: 1px solid var(--line); border-radius: var(--r); background: var(--white);
         padding: 14px 16px; margin-bottom: 12px; }
.leave .inputrow { margin-top: 8px; max-width: 100%; }
.leave .field { flex: 1 1 260px; font-family: var(--mono); font-size: 12.5px; }
.linkbtn { background: none; border: 0; padding: 0; font: inherit; color: var(--brand-500); cursor: pointer;
           text-decoration: underline; text-underline-offset: 3px; }
.linkbtn:hover { color: var(--brand-600); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
