/* The record pages (tools/pages.js), on top of the atlas's own stylesheet (css/atlas.css, a copy of css/style.css). */
html, body.pg { height: auto; }
body.pg { overflow: auto; min-height: 100vh; display: flex; flex-direction: column; }
.pg a { color: inherit; }
.pg-top { position: sticky; top: 0; flex-wrap: wrap; height: auto; min-height: var(--top-h); padding-block: 6px; }
.pg-top .brand-text b { font-family: var(--f-brand); }
.pg-nav { display: flex; gap: 4px 14px; flex-wrap: wrap; flex: 1; font-family: var(--f-label); font-size: 14.5px; }
.pg-nav a, .pg-lang { text-decoration: none; padding: 4px 2px; border-bottom: 2px solid transparent; }
.pg-nav a:hover, .pg-lang:hover { border-bottom-color: var(--gold); }
.pg-lang { font-family: var(--f-label); font-size: 14px; border: 1px solid var(--line); border-radius: 999px; padding: 3px 12px; }
.pg-main { width: min(760px, 100% - 32px); margin: 18px auto 40px; flex: 1; }
.pg-crumbs { font-family: var(--f-label); font-size: 13.5px; color: var(--meta); margin-bottom: 14px; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.pg-crumbs a { text-decoration: none; }
.pg-crumbs a:hover { text-decoration: underline; }
.pg-body { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px 22px; box-shadow: var(--shadow); }
.pg-body .p-kicker { padding-inline-start: 0; }
.pg-body h1.p-title { font-size: 30px; }
.pg-body a { text-decoration: none; }
.pg-body a.prow, .pg-body a.mw-card, .pg-body a.cause-door { color: inherit; display: flex; }
.pg-body a.mw-card { display: block; }
.pg-body a.tag { text-decoration: none; }
.pg-body span[data-kind], .pg-body a:not([class]) { text-decoration: underline dotted; }
.pg-body details.fold > summary { cursor: pointer; }
.pg-open { margin: 18px 0 0; }
.pg-open .btn { display: inline-flex; text-decoration: none; padding: 9px 18px; border-radius: 999px; background: var(--action, var(--accent)); color: var(--on-action, #fff); font-family: var(--f-label); font-weight: 600; }
.pg-hub h1 { font-family: var(--f-title); font-size: 34px; margin: 4px 0 6px; }
.pg-hub h2 { font-family: var(--f-title); font-size: 22px; margin: 26px 0 8px; border-bottom: 1px solid var(--line); padding-bottom: 4px; }
.pg-hub h2 small { color: var(--meta); font-size: 15px; font-weight: 400; }
.pg-lede { font-family: var(--f-text); font-size: 18px; line-height: 1.8; color: var(--ink-2); margin: 0 0 10px; }
.pg-about p { font-family: var(--f-text); font-size: 18px; line-height: 1.85; }
.pg-about .maker p { font-size: 17px; }
.pg-list { list-style: none; margin: 0; padding: 0; font-family: var(--f-text); font-size: 17px; line-height: 1.7; }
.pg-list li { padding: 3px 0; border-bottom: 1px dashed var(--line-2); }
.pg-list li a { text-decoration: none; font-weight: 700; }
.pg-list li a:hover { color: var(--accent); }
.pg-list li small { color: var(--meta); font-family: var(--f-label); font-size: 13px; }
.pg-list.cols { columns: 3 200px; column-gap: 28px; }
.pg-list.cols li { break-inside: avoid; }
.pg-foot { border-top: 1px solid var(--line); padding: 14px 16px 22px; text-align: center; font-family: var(--f-label); font-size: 13.5px; color: var(--meta); }
.pg-foot a { margin-inline: 5px; }
@media (max-width: 700px) {
  .pg-top .brand-text small { display: none; }
  .pg-nav { order: 3; flex-basis: 100%; overflow-x: auto; flex-wrap: nowrap; }
  .pg-body { padding: 14px 14px 18px; border-radius: 10px; }
  .pg-body h1.p-title { font-size: 26px; }
}
