/* F8: the free site audit block on the free audit page and its box on the form. Uses the public tokens (tokens.css). */
.fa-site-opt { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; font-size: var(--t-small); color: var(--ink-2); cursor: pointer; }
.fa-site-opt input { width: 18px; height: 18px; accent-color: var(--brand); }
.fsa { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px 22px 18px; margin: 28px 0; }
.fsa h2 { font-family: var(--display); font-size: var(--t-h3); margin: 4px 0 8px; color: var(--ink); }
.fsa-kicker { display: flex; align-items: center; gap: 8px; margin: 0; font-size: var(--t-small); color: var(--brand-ink); font-weight: 700; }
.fsa-beta { background: var(--amber-soft); color: var(--amber); border-radius: var(--r-pill); padding: 2px 10px; font-weight: 700; }
.fsa-meter { height: 10px; border-radius: var(--r-pill); background: var(--bg-2); overflow: hidden; margin: 10px 0 6px; }
.fsa-meter em { display: block; height: 100%; background: var(--brand); border-radius: var(--r-pill); transition: width .4s ease; }
.fsa-now, .fsa-sum { color: var(--ink-2); margin: 6px 0 12px; }
.fsa-bad { color: var(--coral); }
.fsa-ok { display: flex; align-items: center; gap: 8px; color: var(--brand-ink); }
.fsa-issues { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 8px; }
.fsa-issues > li { border: 1px solid var(--line); border-left-width: 4px; border-radius: var(--r); padding: 10px 12px; }
.fsa-issues > li.fsa-high { border-left-color: var(--coral); }
.fsa-issues > li.fsa-medium { border-left-color: var(--amber); }
.fsa-issues > li.fsa-low { border-left-color: var(--line); }
.fsa-issues summary { cursor: pointer; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px; color: var(--ink); }
.fsa-issues summary small { color: var(--ink-3); flex-basis: 100%; }
.fsa-issues ul { margin: 8px 0 0; padding-left: 18px; overflow-wrap: anywhere; }
.fsa-more { margin: 6px 0 0; font-size: var(--t-small); color: var(--ink-2); }
.fsa .cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.fsa .cta-row small { color: var(--ink-3); }
@media (prefers-reduced-motion: reduce) { .fsa-meter em { transition: none; } }
@media (max-width: 640px) { .fsa { padding: 16px; } }

/* 2.25.1 (owner, 23 October 2026): live progress, the long-scan panel with the come-back link, Mise's splash when the
   report is put together, the pictures without alt text as previews, and the choice when a website was checked today.
   Nothing changes size when the script fills it in: the figures, the lines and the checks keep their place. */
.fsa [hidden], .fsa-choice [hidden] { display: none !important; }
.fsa-stage { position: relative; }
.fsa-figures { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 12px 0 8px; }
.fsa-figure { display: grid; gap: 2px; margin: 0; min-height: 52px; }
.fsa-figure > span { font-size: 12px; font-weight: 500; color: var(--ink-3); }
.fsa-figure b { font-size: 22px; line-height: 1.2; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.fsa-figure b small { font-size: 13px; font-weight: 400; color: var(--ink-3); }
.fsa-now { min-height: 20px; margin: 4px 0; font-size: 14px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fsa-slow, .fsa-wait { margin: 2px 0; font-size: 13px; color: var(--amber); max-width: 72ch; }
.fsa-checks { list-style: none; margin: 10px 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 8px 16px; }
.fsa-checks li { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--ink-3); }
.fsa-checks li .ms { font-size: 16px; }
.fsa-checks li.is-done { color: var(--ink-2); }
.fsa-checks li.is-done .ms { color: var(--brand); }
.fsa-long { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px 24px; align-items: start; border-top: 1px solid var(--line); margin-top: 12px; padding-top: 16px; }
.fsa-back { display: grid; gap: 8px; }
.fsa-back label { font-size: 12px; font-weight: 500; color: var(--ink-3); }
.fsa-back-row { display: flex; gap: 8px; align-items: center; }
.fsa-back-row input { flex: 1; min-width: 0; height: 36px; padding: 0 10px; border: 1px solid var(--line); border-radius: var(--r); font: inherit; font-size: 14px; background: var(--card); color: var(--ink); }
.fsa-mail { display: grid; gap: 8px; margin-top: 8px; }
.fsa-consent { display: flex; gap: 8px; align-items: flex-start; font-size: 13px !important; font-weight: 400 !important; color: var(--ink-2) !important; max-width: 72ch; }
.fsa-error { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; margin: 12px 0; padding: 12px; border: 1px solid var(--line); border-radius: var(--r); }
.fsa-error p { margin: 0; }
.fsa-shared { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 0 0 12px; font-size: 14px; color: var(--ink-2); }
.fsa-inline-form { display: inline; margin: 0; }
.fsa-limited { display: flex; gap: 8px; align-items: flex-start; margin: 0 0 12px; padding: 10px 12px; border-radius: var(--r); background: var(--bg-2); color: var(--ink-2); font-size: 14px; max-width: 72ch; }
/* DESIGN-RULES §14: balanced grids: the row stretches (auto-fit) so no tile sits beside empty columns. */
.fsa-pics { list-style: none; margin: 10px 0 0 !important; padding: 0 !important; display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; }
.fsa-pics li { display: grid; gap: 6px; min-width: 0; }
.fsa-pics img, .fsa-pic-none { width: 100%; max-height: 240px; aspect-ratio: 4 / 3; object-fit: contain; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r); }
.fsa-pic-none { display: grid; place-items: center; align-content: center; gap: 4px; padding: 8px; text-align: center; color: var(--ink-3); box-sizing: border-box; }
.fsa-pic-none small { font-size: 12px; line-height: 16px; }
.fsa-pic-meta { display: grid; gap: 2px; min-width: 0; font-size: 13px; }
.fsa-pic-meta b { font-weight: 600; font-size: 13px; }
.fsa-pic-meta small { color: var(--ink-3); font-size: 12px; }
.fsa .one-line { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
/* Mise (the same look as the sign-in splash). */
.sm-splash-card { display: grid; justify-items: center; gap: 10px; padding: 8px; text-align: center; max-width: min(420px, 100%); }
.sm-splash-stage { position: relative; display: grid; place-items: end center; }
.sm-splash-glow { position: absolute; left: 50%; bottom: 4px; width: 110px; height: 110px; margin-left: -55px; border-radius: 50%; background: radial-gradient(circle, var(--mint-2) 0%, transparent 70%); }
.sm-splash-card .mise-character { position: relative; display: inline-block; line-height: 0; overflow: hidden; animation: fsa-float 2.4s ease-in-out infinite; }
.sm-splash-card .mise-character [data-prop-item] { display: none; }
.sm-splash-title { margin: 0; font-size: 17px; font-weight: 600; line-height: 1.35; color: var(--ink); }
.sm-splash-sub { margin: 0; font-size: 14px; line-height: 1.45; color: var(--ink-2); }
.fsa-long .sm-splash-card { justify-items: start; text-align: left; padding: 0; max-width: 260px; }
.fsa-splash { position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; background: var(--card); border-radius: var(--r-lg); opacity: 0; transition: opacity .3s ease; }
.fsa-splash.is-on { opacity: 1; }
.fsa-stage.is-entering { opacity: 0; transform: translateY(6px); }
.fsa-stage.is-entered { opacity: 1; transform: none; transition: opacity .35s ease, transform .35s ease; }
.fsa-choice { display: grid; justify-items: center; gap: 16px; padding: 24px 0; }
.fsa-choice-form { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
@keyframes fsa-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@media (prefers-reduced-motion: reduce) {
  .sm-splash-card .mise-character { animation: none; }
  .fsa-stage.is-entering { transform: none; }
  .fsa-stage.is-entered { transform: none; transition: opacity .2s linear; }
}
@media (max-width: 640px) {
  .fsa-figures { grid-template-columns: 1fr 1fr; }
  .fsa-figure:last-child { grid-column: 1 / -1; } /* DESIGN-RULES §14: no lone tile beside an empty column */
  .fsa-long { grid-template-columns: 1fr; }
}
