/* Breach House v3 blog guides. Loaded by templates/guide_post.html after static/v3/pagedoc.css
   (the reading styles it shares with the use-case pages, classes pd-*) and static/v3/charts.css
   (the chart kit the header loads, classes cx-*). Only what a guide adds: every rule is scoped
   under main.gu, so nothing here reaches another page. */

.gu-kick{font:400 13.6px/1.5 var(--mono);letter-spacing:.147em;text-transform:uppercase;color:var(--cyan)}
.gu-kick::before{content:"// ";content:"// " / ""}
.gu .pd-prose>.gu-kick+h1{margin-top:12px}

/* "On this page": a short list of the sections, two columns when there is room */
.gu .gu-toc{max-width:50rem;margin-top:var(--s-4);padding:16px 0 18px;border-top:1px solid var(--line-2);border-bottom:1px solid var(--line)}
.gu .gu-toc ol{margin:10px 0 0;padding:0;list-style:none;columns:2;column-gap:var(--s-4);counter-reset:gu}
.gu .gu-toc li{margin:0;padding:4px 0 4px 2.2em;break-inside:avoid;counter-increment:gu;position:relative;font-size:15px;line-height:1.45}
.gu .gu-toc li::before{content:counter(gu,decimal-leading-zero);position:absolute;left:0;top:6px;font:400 12px var(--mono);color:var(--dim)}
.gu .gu-toc li+li{margin-top:0}
.gu .gu-toc a{color:var(--text);text-decoration:none;transition:color var(--fast)}
.gu .gu-toc a:hover{color:var(--cyan)}

/* a ranking: the chart kit's rank table, one to the reading column (the Breakdown puts four in a row) */
.gu .pd-prose .gu-bd{display:block;max-width:44rem;margin-top:1.6em}
.gu .gu-bd .cx-rank th a{text-decoration:none}
.gu .gu-bd .cx-rank-all p a{text-decoration:none}

/* columns per month */
.gu .pd-prose .gu-tm{max-width:50rem;margin-top:1.6em}
.gu .gu-tm figure{margin:0}

/* a counted table reads as data: figures in mono, right-aligned after the first column */
.gu .pd-prose .gu-live td{font-family:var(--mono);font-size:13px;font-variant-numeric:tabular-nums;white-space:nowrap}
.gu .pd-prose .gu-live th a{text-decoration:none}

/* the sources of outside statements */
.gu .gu-src{margin:0;padding:0;list-style:none;border-top:1px solid var(--line)}
.gu .gu-src li{margin:0;padding:10px 0;border-bottom:1px solid var(--line);font-size:15px;line-height:1.5}
.gu .gu-src li+li{margin-top:0}
.gu .gu-src span{color:var(--dim)}
.gu .gu-src time{display:block;margin-top:2px;font:400 12px var(--mono);color:var(--dim)}

@media (max-width:640px){
  .gu .gu-toc ol{columns:1}
}
