/* Themeship SEO pages (/mudblazor-theme-generator/, /vs-default-mudblazor-theme/): loaded after legal.css, which
   provides the header, footer, tokens and type. Plain HTML, no inline scripts (CSP). Contrast (WCAG AA):
   button #fff on #115E59 7.6:1 (dark: #0A0B0E on #5EEAD4 13.3:1); code #E6EDF3 on #0D1117 16.0:1;
   table text uses --text / --muted on --panel (17.7:1 / 7.6:1; dark 15.1:1 / 8.3:1). */
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.seo h1 { margin-bottom: 10px; }
.seo h3 { margin: 20px 0 4px; font-size: 16px; line-height: 1.4; }
.seo ol { margin: 0 0 12px; padding-left: 24px; }
.seo .lead { color: var(--text); }
.cta-row { margin: 18px 0 8px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: 10px;
  background: var(--brand); color: #fff; font-weight: 600; font-size: 16px; text-decoration: none; }
.btn:hover { filter: brightness(1.08); }
.cta:focus-visible, .btn:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
@media (prefers-color-scheme: dark) { .btn { color: #0A0B0E; } }
.closing { margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--border); }
/* Comparison table: scrolls sideways inside its own box on narrow screens (focusable, so keyboard users can scroll). */
.table-wrap { overflow-x: auto; margin: 4px 0 12px; border: 1px solid var(--border); border-radius: 10px; }
.table-wrap:focus-visible, .code:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.seo table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 15px; line-height: 1.5; }
.seo th, .seo td { padding: 10px 12px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--border); }
.seo tbody tr:last-child th, .seo tbody tr:last-child td { border-bottom: 0; }
.seo thead th { font-size: 14px; background: var(--bg); }
.seo thead td { background: var(--bg); }
.seo tbody th { width: 24%; font-weight: 600; }
.seo td code, .seo th code { font-size: 13px; }
/* Code samples: dark box like the editor's code tab; long lines scroll sideways, the export scrolls down too. */
.code-fig { margin: 16px 0 18px; }
.code-fig figcaption { margin: 0 0 6px; font-size: 14px; font-weight: 600; color: var(--muted); }
.code { margin: 0; padding: 14px 16px; overflow: auto; background: #0D1117; color: #E6EDF3; border: 1px solid #30363D; border-radius: 10px;
  font: 13px/1.55 "JetBrains Mono", ui-monospace, Consolas, monospace; tab-size: 4; }
.code code { font: inherit; background: none; border: 0; padding: 0; color: inherit; white-space: pre; }
.code-tall { max-height: 520px; }
@media (max-width: 800px) { .code { font-size: 12px; padding: 12px; } .seo table { font-size: 14px; } }
/* Phones: each table row becomes a small card (row heading, then both answers with their column name), so neither
   column hides off to the side. */
@media (max-width: 600px) {
  .table-wrap { border: 0; overflow: visible; }
  .seo table { min-width: 0; }
  .seo thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
  .seo tbody, .seo tbody tr, .seo tbody th, .seo tbody td { display: block; width: auto; }
  .seo tbody tr { margin: 0 0 10px; border: 1px solid var(--border); border-radius: 10px; overflow: hidden; }
  .seo tbody th { background: var(--bg); border-bottom: 1px solid var(--border); }
  .seo tbody td { border-bottom: 0; padding-top: 6px; }
  .seo tbody td::before { content: attr(data-label); display: block; font-size: 13px; font-weight: 600; color: var(--muted); }
  .seo tbody tr:last-child th { border-bottom: 1px solid var(--border); }
}
