/* sky-read.css: Sky's shared reading defaults (CRUMBS 13 Nov 2026).
   One file for both hosts: mira.ide links it in every preview, be.imported links it on every page it
   serves (published sites and dashboard preview), so a page reads the same in both. Values are mira's
   preview look (DEVOPS dress.css at mira's 11px root, written out in px).
   Every selector sits inside :where(), so it counts for nothing: a site's own style.viz (linked after
   this) always wins, even with a plain `p { ... }` or `body { ... }`. Fonts go on body, never on the page
   box, so a site that sets its font on body keeps it. Lives in <mypi root>\libs\sky; be.imported keeps a
   byte-identical copy in app\static (sky_sync_test.py checks). */

:where(body) { font: 17px/1.45 "Times New Roman", Times, serif; }

/* paragraphs keep the line breaks you typed; blank lines are Sky's md-gap spacers */
:where(.go-shell p) { white-space: pre-wrap; margin: 0 0 9.35px; }
:where(.go-shell p.md-gap, .go-shell .md-gap) {
  display: block; height: 0.9em; margin: 0; padding: 0; border: 0; line-height: 0; overflow: hidden;
}

/* headings */
:where(.go-shell h1, .go-shell h2, .go-shell h3, .go-shell h4, .go-shell h5, .go-shell h6) { font-weight: bold; letter-spacing: 0; }
:where(.go-shell h1) { font-size: 1.85em; margin: 12.1px 0 4.95px; }
:where(.go-shell h2) { font-size: 1.5em; margin: 11px 0 4.4px; }
:where(.go-shell h3) { font-size: 1.28em; margin: 9.9px 0 3.85px; }
:where(.go-shell h4) { font-size: 1.12em; margin: 8.8px 0 3.3px; }
:where(.go-shell h5) { font-size: 1.02em; margin: 7.7px 0 2.75px; }
:where(.go-shell h6) { font-size: 0.95em; margin: 7.15px 0 2.75px; }
:where(#browserWindow > :first-child) { margin-top: 0; }

/* links */
:where(.go-shell a:link) { color: var(--accent, blue); }
:where(.go-shell a:visited, .go-shell a.been) { color: var(--visited, purple); }
:where(.go-shell .wiki) { text-decoration: underline; }
:where(.go-shell .outlink) { text-decoration: underline; text-decoration-style: dotted; }
:where(.go-shell .outlink)::after { content: " \2197"; font-size: 0.85em; opacity: 0.65; }

/* tables (markdown pipes) */
:where(.go-shell .md-table-wrap) { margin: 0.7em 0 1em; overflow-x: auto; max-width: 100%; }
:where(.go-shell table.md-table) { border-collapse: collapse; width: 100%; font-size: 0.92em; line-height: 1.35; }
:where(.go-shell table.md-table th, .go-shell table.md-table td) {
  border: 1px solid var(--line, #808080); padding: 0.28em 0.55em; vertical-align: top; white-space: normal; text-align: left;
}
:where(.go-shell table.md-table th) { font-weight: bold; background: var(--paper, #c0c0c0); }
:where(.go-shell table.md-table .is-right) { text-align: right; font-variant-numeric: tabular-nums; }
:where(.go-shell table.md-table .is-center) { text-align: center; }

/* code */
:where(.go-shell code) { font-family: "Courier New", Courier, monospace; font-size: 0.9em; }
:where(.go-shell pre.code) {
  font-family: "Courier New", Courier, monospace; font-size: 0.9em; font-style: normal; white-space: pre; margin: 0.8em 0; overflow-x: auto;
}

/* pictures */
:where(.go-shell img.pic) { max-width: 100%; height: auto; vertical-align: middle; }

/* <insert: crumbs> and <insert: crumbs: back> */
:where(.go-shell .sky-crumbs) { color: var(--mute, #404040); font-size: 14px; }
:where(.go-shell .sky-crumb-sep) { white-space: pre; opacity: 0.7; }
:where(.go-shell .sky-crumbs-back) { font-size: 14px; }
