/* The pages of the helpers: the same for a viewer (content alone) and a browser (top bar and footer too) */
:root { --bg: #f7f7f5; --fg: #1c1c1a; --muted: #66665f; --accent: #3a5ea8; --card: #fff; --line: #deded8; }
@media (prefers-color-scheme: dark) {
    :root { --bg: #151514; --fg: #ececea; --muted: #9a9a92; --accent: #8fb0f0; --card: #1f1f1d; --line: #34342f; }
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 16px/1.5 system-ui, sans-serif; }
a { color: var(--accent); }
/* Left to right, 3-6-3, over the whole width: what the grid is, the main content, what is new. On a narrow window the main
   content comes first. */
.layout { display: grid; gap: 1.25rem; padding: 1.25rem 1rem; }
.layout.with-sidebars { grid-template-columns: minmax(0, 3fr) minmax(0, 6fr) minmax(0, 3fr); }
main { min-width: 0; }
body.viewer .layout { padding: .75rem; }
@media (max-width: 52rem) {
    .layout.with-sidebars { grid-template-columns: minmax(0, 1fr); }
    .layout.with-sidebars main { order: -1; }
}
.skip { position: absolute; left: -999px; }
.skip:focus { left: .5rem; top: .5rem; background: var(--card); padding: .25rem .5rem; }
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .5rem 1rem; background: var(--card); border-bottom: 1px solid var(--line); }
.topbar .brand { display: flex; align-items: center; gap: .6rem; font-weight: 600; text-decoration: none; color: var(--fg); }
.topbar .logo { max-height: 2.5rem; max-width: 8rem; }
.topbar nav a { margin-left: 1rem; text-decoration: none; }
.topbar nav a[aria-current] { font-weight: bold; }
footer { margin-top: 2rem; padding: 1rem; text-align: center; color: var(--muted); font-size: .875rem; border-top: 1px solid var(--line); }
h1.grid-name { font-size: 2rem; margin: .5rem 0 1rem; }
.block { background: var(--card); border: 1px solid var(--line); border-radius: .5rem; padding: 1rem 1.25rem; margin: 1rem 0; }
.block-title { margin: 0 0 .5rem; }
.block:first-child { margin-top: 0; }
.block-table { width: 100%; border-collapse: collapse; }
.block-table th { text-align: left; font-weight: 500; color: var(--muted); padding: .2rem 1rem .2rem 0; }
.block-table td { padding: .2rem 0; }
.health-scroll { overflow-x: auto; }
.health-table { width: 100%; border-collapse: collapse; }
.health-table th[scope=row] { text-align: left; font-weight: 500; font-size: .875rem; padding: .125rem .75rem .125rem 0; white-space: nowrap; }
.health-table td { padding: .125rem 0 .125rem .5rem; vertical-align: baseline; }
.health-file th { text-align: left; font-size: 1.0625rem; padding-top: 1.5rem; border-bottom: 1px solid var(--line); }
.health-section th { text-align: left; font-size: .9375rem; padding-top: .75rem; }
.health-url { width: 100%; }
.health-url code { font-size: .75rem; overflow-wrap: anywhere; }
.health-tag { padding: 0 .375rem; border: 1px solid var(--line); border-radius: .25rem; color: var(--muted); }
.health-cert, .health-ms, .health-status { white-space: nowrap; text-align: right; }
.health-cert abbr { cursor: help; text-decoration: underline dotted; color: var(--muted); font-size: .8125rem; }
.health-ms { color: var(--muted); font-size: .8125rem; }
.status { display: inline-block; min-width: 4.5rem; padding: 0 .5rem; border-radius: .25rem; text-align: center; font-size: .8125rem; font-weight: 700; }
.status-ok { background: #16a34a; color: #fff; }
.status-error { background: #dc2626; color: #fff; }
.status-none { background: var(--line); color: var(--muted); }

/* The profile of an avatar, the search of the web */
.profile-meta { color: var(--muted); margin-top: 0; }
.profile-details dt { font-weight: 600; margin-top: .5rem; }
.profile-details dd { margin: 0 0 0 1rem; }
.profile-picks, .profile-classifieds, .search-results { padding-left: 1.25rem; }
.profile-picks li, .profile-classifieds li, .search-results li { margin: .5rem 0; }
.search-form { display: flex; gap: .5rem; margin: 0 0 .75rem; }
.search-form input[type=search] { flex: 1; padding: .375rem .5rem; font: inherit; }
.search-form button { padding: .375rem .875rem; font: inherit; }
.search-topics { display: flex; flex-wrap: wrap; gap: .25rem 1rem; margin-bottom: 1rem; }
.search-topics a[aria-current=page] { font-weight: 700; text-decoration: none; color: var(--fg); }
.search-group { font-size: 1.0625rem; margin: 1.25rem 0 .25rem; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
