/* Mongopedia: looks like Wikipedia's classic skin (sidebar, tabs, serif headings, infobox). */
:root {
    --bg: #f6f6f6;
    --page: #ffffff;
    --fg: #202122;
    --muted: #54595d;
    --line: #a2a9b1;
    --line-soft: #eaecf0;
    --frame: #a7d7f9;
    --link: #0645ad;
    --link-visited: #0b0080;
    --box: #f8f9fa;
    --green-head: #cef2e0; --green-body: #f5fffa; --green-line: #a3bfb1;
    --blue-head: #cedff2;  --blue-body: #f5faff;  --blue-line: #a3b0bf;
    --purple-head: #ddcef2; --purple-body: #faf5ff; --purple-line: #afa3bf;
    --amber: #fc3; --amber-body: #fef6e7;
    --bad: #d33; --bad-body: #fee7e6;
    --ok: #14866d;
    --serif: "Linux Libertine", "Georgia", "Times", serif;
    --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Lato", "Helvetica", "Arial", sans-serif;
    color-scheme: light;
}

@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
        --bg: #101418;
        --page: #161a1e;
        --fg: #eaecf0;
        --muted: #a2a9b1;
        --line: #54595d;
        --line-soft: #27292d;
        --frame: #2a4b66;
        --link: #88a3e8;
        --link-visited: #a799cd;
        --box: #1f2328;
        --green-head: #1e3b30; --green-body: #141f1a; --green-line: #355a48;
        --blue-head: #1e2e44; --blue-body: #131a24; --blue-line: #36506f;
        --purple-head: #2f2544; --purple-body: #1a1524; --purple-line: #514270;
        --amber-body: #2e2611;
        --bad-body: #3a1715;
        --ok: #3dc6a0;
        color-scheme: dark;
    }
}

/* The same, when chosen on the page (the theme switch) rather than by the device. */
:root[data-theme="dark"] {
    --bg: #101418;
    --page: #161a1e;
    --fg: #eaecf0;
    --muted: #a2a9b1;
    --line: #54595d;
    --line-soft: #27292d;
    --frame: #2a4b66;
    --link: #88a3e8;
    --link-visited: #a799cd;
    --box: #1f2328;
    --green-head: #1e3b30; --green-body: #141f1a; --green-line: #355a48;
    --blue-head: #1e2e44; --blue-body: #131a24; --blue-line: #36506f;
    --purple-head: #2f2544; --purple-body: #1a1524; --purple-line: #514270;
    --amber-body: #2e2611;
    --bad-body: #3a1715;
    --ok: #3dc6a0;
    color-scheme: dark;
}


*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    background: var(--bg);
    color: var(--fg);
    font: 14px/1.6 var(--sans);
}

a { color: var(--link); text-decoration: none; }
a:visited { color: var(--link-visited); }
a:hover { text-decoration: underline; }

h1, h2 { font-family: var(--serif); font-weight: normal; line-height: 1.3; }
h1 { font-size: 1.8em; margin: 0 0 .25em; }
h2 { font-size: 1.5em; margin: 1em 0 .25em; padding-bottom: .1em; border-bottom: 1px solid var(--line); }
h3 { font-size: 1.15em; margin: .9em 0 .2em; }
h1:focus { outline: none; } /* Blazor focuses the heading after navigation, for screen readers */

input[type=search], input[type=text], input[type=password], select {
    font: inherit;
    color: var(--fg);
    background: var(--page);
    border: 1px solid var(--line);
    border-radius: 2px;
    padding: .35rem .5rem;
}

button {
    font: inherit;
    font-weight: bold;
    color: var(--fg);
    background: var(--box);
    border: 1px solid var(--line);
    border-radius: 2px;
    padding: .35rem .8rem;
    cursor: pointer;
}
button:hover { background: var(--line-soft); }

.muted { color: var(--muted); }
.small { font-size: .9em; }
.lead { color: var(--muted); margin-top: 0; }
.empty { color: var(--muted); font-style: italic; }

/* ── Frame ─────────────────────────────────────────────── */

.wiki-top {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 8px 16px;
    flex-wrap: wrap;
}

.wiki-logo { display: flex; align-items: center; gap: 10px; color: var(--fg); width: 176px; flex: 0 0 auto; }
.wiki-logo:visited { color: var(--fg); }
.wiki-logo:hover { text-decoration: none; }

.wiki-globe {
    width: 46px; height: 46px; flex: 0 0 auto;
    display: grid; place-items: center;
    border-radius: 50%;
    font: bold 26px/1 var(--serif);
    color: var(--fg);
    background:
        radial-gradient(circle at 35% 30%, rgba(255,255,255,.9), transparent 45%),
        repeating-conic-gradient(from 10deg, var(--line-soft) 0 18deg, var(--box) 18deg 36deg);
    border: 1px solid var(--line);
}

.wiki-wordmark { font: 1.35em/1.05 var(--serif); letter-spacing: .02em; }
.wiki-wordmark small { display: block; font: .58em/1.3 var(--sans); letter-spacing: 0; color: var(--muted); }

.wiki-search { display: flex; flex: 1 1 260px; max-width: 520px; margin-left: auto; }
.wiki-search input { flex: 1; min-width: 0; border-right: 0; }
.wiki-personal { font-size: .9em; }

.wiki-body { display: flex; align-items: flex-start; }

.wiki-side { width: 176px; flex: 0 0 176px; padding: 4px 8px 0 16px; font-size: .9em; }
.wiki-side .portlet { margin-bottom: 14px; }
.wiki-side h2 {
    font: .85em/1.4 var(--sans);
    color: var(--muted);
    border-bottom: 1px solid var(--line-soft);
    margin: 0 0 4px;
    padding: 0 0 2px;
}
.wiki-side ul { list-style: none; margin: 0; padding: 0; }
.wiki-side li { padding: .15em 0; }
.wiki-side a.active { color: var(--fg); font-weight: bold; }

.wiki-page { flex: 1; min-width: 0; margin-right: 16px; }

.wiki-tabs { display: flex; align-items: flex-end; height: 2.4em; font-size: .9em; }
.wiki-tabs .tab {
    padding: .35em .9em;
    background: var(--page);
    border: 1px solid var(--frame);
    border-bottom: 0;
    margin-right: 2px;
}
.wiki-tabs .tab-gap { flex: 1; }

.wiki-content {
    background: var(--page);
    border: 1px solid var(--frame);
    padding: 1.25em 1.5em 1.5em;
    min-height: 60vh;
    overflow-wrap: anywhere;
}
.wiki-content::after { content: ""; display: table; clear: both; }

.firstHeading { margin-bottom: 0; padding-bottom: .1em; border-bottom: 1px solid var(--line); }
.siteSub { font-size: .9em; color: var(--muted); margin: .3em 0 1em; }

.wiki-footer {
    margin: 0 16px 0 192px;
    padding: 1em 0 2em;
    font-size: .8em;
    color: var(--muted);
    border-top: 1px solid var(--line-soft);
}

@media (max-width: 760px) {
    .wiki-logo { width: auto; }
    .wiki-search { order: 3; flex-basis: 100%; max-width: none; }
    .wiki-body { display: block; }
    .wiki-side { width: auto; padding: 0 16px 8px; display: flex; flex-wrap: wrap; gap: 0 24px; }
    .wiki-side .portlet { margin-bottom: 6px; }
    .wiki-side h2, .wiki-side .portlet + .portlet { display: none; } /* the language link is up top; /admin still works */
    .wiki-side ul { display: flex; flex-wrap: wrap; gap: 0 12px; }
    .wiki-page { margin: 0; }
    .wiki-tabs { padding-left: 8px; }
    .wiki-content { border-left: 0; border-right: 0; padding: 1em 16px; }
    .wiki-footer { margin: 0 16px; }
}

/* ── Article parts ─────────────────────────────────────── */

.infobox {
    float: right;
    clear: right;
    width: 22em;
    max-width: 100%;
    margin: .5em 0 1em 1.4em;
    border: 1px solid var(--line);
    background: var(--box);
    border-collapse: collapse;
    font-size: .9em;
    line-height: 1.5;
}
.infobox caption { font-weight: bold; font-size: 1.2em; padding: .3em; background: var(--blue-head); border: 1px solid var(--line); border-bottom: 0; }
.infobox th, .infobox td { padding: .25em .5em; vertical-align: top; text-align: left; border: 0; }
.infobox th { width: 40%; }
@media (max-width: 760px) { .infobox { float: none; width: 100%; margin: .5em 0 1em; } }

.toc {
    display: inline-block;
    background: var(--box);
    border: 1px solid var(--line);
    padding: .5em 1em .5em .7em;
    margin: .5em 0 .5em;
    font-size: .95em;
}
.toc-title { font-weight: bold; text-align: center; }
.toc ol { margin: .3em 0 0; padding-left: 1.6em; }

.ambox {
    border: 1px solid var(--line);
    border-left: 10px solid var(--amber);
    background: var(--amber-body);
    padding: .4em .8em;
    margin: .8em 0;
    font-size: .95em;
}

.ref { font-size: .8em; vertical-align: super; margin-left: .15em; white-space: nowrap; }

.catlinks {
    clear: both;
    border: 1px solid var(--line);
    background: var(--box);
    padding: .3em .6em;
    margin-top: 2em;
    font-size: .9em;
}

.mentions li { margin-bottom: .35em; }
.chip.ahead { border-color: var(--blue-line); background: var(--blue-body); }

.chip {
    display: inline-block;
    border: 1px solid var(--line-soft);
    background: var(--box);
    border-radius: 2px;
    padding: 0 .45em;
    font-size: .85em;
    line-height: 1.6;
    white-space: nowrap;
    color: var(--fg);
}
a.chip { color: var(--link); }
.chip[aria-current="page"] { background: var(--blue-head); border-color: var(--blue-line); color: var(--fg); font-weight: bold; }

.list { list-style: none; padding: 0; margin: 0; }
.list > li { padding: .6em 0; border-bottom: 1px solid var(--line-soft); }

.filters { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; margin: .8em 0; }
.years { display: flex; gap: 4px; flex-wrap: wrap; margin: .6em 0 1em; }

.table-scroll { overflow-x: auto; }
table { border-collapse: collapse; }
.wiki-content table:not(.infobox) { width: 100%; }
th, td { text-align: left; padding: .35em .6em; border: 1px solid var(--line); vertical-align: top; }
th { background: var(--line-soft); }
th a.sort { color: inherit; text-decoration: none; display: block; }
th a.sort:hover, th a.sort:focus-visible { text-decoration: underline; }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; }

.columns { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 2em; }
@media (max-width: 900px) { .columns { grid-template-columns: 1fr; } }

.transcript p { margin: .25em 0; }
.transcript a.time { font-variant-numeric: tabular-nums; margin-right: .5em; }

.notice { border: 1px solid var(--line); border-left: 10px solid var(--link); background: var(--box); padding: .4em .8em; margin: .8em 0; }

.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 8px; margin: 1em 0; }
.stat { border: 1px solid var(--line); background: var(--box); padding: .5em .8em; }
.stat strong { display: block; font-size: 1.4em; font-variant-numeric: tabular-nums; }
.stat span { color: var(--muted); font-size: .9em; }

.big-search { display: flex; margin: 1em 0; max-width: 640px; }
.big-search input { flex: 1; font-size: 1.1em; border-right: 0; }

/* ── Main page ─────────────────────────────────────────── */

.mp-welcome {
    text-align: center;
    border: 1px solid var(--line);
    background: var(--box);
    padding: 1em 1em 1.2em;
    margin-bottom: 1em;
}
.mp-welcome h1 { border: 0; font-size: 2em; margin: 0; }
.mp-welcome h1 span { color: var(--link); }
.mp-welcome p { margin: .2em 0; }
.mp-count { font-size: .9em; color: var(--muted); }
.mp-welcome .mp-love { max-width: 46em; margin: .7em auto .3em; padding: .5em .9em; font-size: .92em; border: 1px solid var(--line-soft); background: var(--bad-body); color: var(--fg); border-radius: 4px; }
/* The banner's title on a line of its own: a heading, but without the wiki h2's underline and top margin. */
.mp-welcome .mp-love h2 { font-weight: bold; font-size: 1.4em; margin: 0 0 .15em; padding: 0; border: 0; }
.mp-welcome .mp-love p { margin: 0; }
.wiki-footer p { margin: .3em 0; }
.wiki-footer .wiki-love { font-weight: bold; color: var(--fg); }
.mp-search { display: flex; max-width: 520px; margin: .8em auto 0; }
.mp-search input { flex: 1; font-size: 1.05em; border-right: 0; min-width: 0; }

.mp-columns { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 1em; }
@media (max-width: 900px) { .mp-columns { grid-template-columns: 1fr; } }

.mp-box { border: 1px solid; margin-bottom: 1em; }
.mp-box h2 { font: bold 1.1em/1.4 var(--sans); margin: 0; padding: .25em .6em; border: 0; border-bottom: 1px solid; }
.mp-box-body { padding: .3em .8em .6em; }
.mp-green { border-color: var(--green-line); background: var(--green-body); }
.mp-green h2 { background: var(--green-head); border-color: var(--green-line); }
.mp-blue { border-color: var(--blue-line); background: var(--blue-body); }
.mp-blue h2 { background: var(--blue-head); border-color: var(--blue-line); }
.mp-purple { border-color: var(--purple-line); background: var(--purple-body); }
.mp-purple h2 { background: var(--purple-head); border-color: var(--purple-line); }
.mp-box .list > li { border-color: rgba(127,127,127,.2); }
.mp-top { margin: .4em 0; padding-left: 1.5em; }
.mp-more { text-align: right; margin: .4em 0 0; font-weight: bold; font-size: .9em; }

/* ── Written articles ─────────────────────────────────── */
.hatnote { font-style: italic; color: var(--muted); font-size: .9em; padding-left: 1.6em; margin: .2em 0 .8em; }
sup.cite { font-size: .75em; line-height: 0; white-space: nowrap; }
sup.cite a { text-decoration: none; }
.references { font-size: .9em; padding-left: 2em; }
.references li { margin: .2em 0; }
.references li:target { background: var(--blue-body); }
.references.grouped { list-style: disc; padding-left: 1.6em; }
.references.grouped li { margin: .45em 0; }
.references.alias-notes { list-style: none; padding-left: 0; }
.references.alias-notes li { padding-left: 1.8em; text-indent: -1.8em; }
.references.alias-notes .note-letter { display: inline-block; width: 1.8em; text-indent: 0; color: var(--muted); }
.references.alias-notes li:target { background: var(--blue-body); }
.ref-times { display: block; }
.ref-times a { display: inline-block; margin-right: .8em; white-space: nowrap; text-decoration: none; }
.ref-times a b { font-weight: normal; color: var(--muted); }
.ref-times a:target { background: var(--blue-body); outline: 1px solid var(--blue-line); }

/* Long lists: the first items, then the rest behind "show all". */
details.more { margin: .3em 0 .8em; }
details.more > summary { cursor: pointer; color: var(--link); font-size: .95em; }
details.more[open] > summary { margin-bottom: .3em; }

/* ── Theme switch: only the link that switches away from the theme in use (wiki and admin) ── */
:root[data-theme="light"] .theme-to-light,
:root[data-theme="dark"] .theme-to-dark { display: none !important; }
@media not all and (prefers-color-scheme: dark) { :root:not([data-theme]) .theme-to-light { display: none !important; } }
@media (prefers-color-scheme: dark) { :root:not([data-theme]) .theme-to-dark { display: none !important; } }
.wiki-personal a + a { margin-left: .8em; }

/* ── Feedback form ─────────────────────────────────────── */
.feedback-form { max-width: 42em; }
.feedback-form fieldset { border: 1px solid var(--line-soft); padding: .5em 1em .75em; margin: 1em 0; }
.feedback-form legend { font-weight: bold; padding: 0 .3em; }
.feedback-kind { display: flex; gap: .5em; align-items: baseline; padding: .2em 0; cursor: pointer; }
.feedback-form > label, .feedback-row label { display: block; font-weight: bold; margin: .8em 0 .25em; }
.feedback-form textarea {
    width: 100%; font: inherit; color: var(--fg); background: var(--page);
    border: 1px solid var(--line); border-radius: 2px; padding: .4rem .5rem; resize: vertical;
}
.feedback-form input[type=email] {
    font: inherit; color: var(--fg); background: var(--page); border: 1px solid var(--line); border-radius: 2px; padding: .35rem .5rem;
}
.feedback-row { display: flex; flex-wrap: wrap; gap: 0 1.5em; }
.feedback-row > div { flex: 1 1 16em; min-width: 0; }
.feedback-row input { width: 100%; }
.feedback-form button[type=submit] { margin-top: 1em; }
/* The bots' field: off screen rather than display:none, which some bots skip. */
.feedback-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.feedback-error { color: var(--bad); font-weight: bold; }
.feedback-done { border: 1px solid var(--green-line); background: var(--green-body); padding: .5em 1em; max-width: 42em; }

/* ── Quotes ────────────────────────────────────────────── */
.quotes .quote { display: grid; gap: .15em; }
.quote q { font-family: var(--serif); font-size: 1.08em; quotes: "“" "”"; }
.quote-who { color: var(--muted); }
.quote-note { font-style: italic; color: var(--muted); }
.quote-src a { color: var(--link); }
.quote-star { border-left: 4px solid var(--amber); padding-left: .7em !important; background: var(--amber-body); }
.quote-star q::before { content: "★ "; color: #b8860b; font-family: var(--sans); }
.quote-highlights { border: 1px solid var(--line-soft); background: var(--box); padding: 0 1em .6em; margin: 1em 0; }
.quote-highlights h2 { border: 0; margin-top: .6em; }
.quote-highlights .quote-star { background: none; }
.mp-quote { border-color: var(--line); background: var(--amber-body); }
.mp-quote h2 { background: var(--amber); color: #202122; border-color: var(--line); }
.mp-quote .quote-star { border: 0; padding-left: 0 !important; background: none; }
.mp-quote .list > li { border: 0; }
.mp-quote q { font-size: 1.25em; }
.pager { display: flex; justify-content: space-between; margin: 1em 0; font-weight: bold; }

/* Timeline days: each tag's events as one line, numbered like an article's references (TimelineDayBlock). */
.days { display: grid; }
.day { padding: .8em 0 .9em; border-bottom: 1px solid var(--line-soft); display: grid; gap: .45em; }
.mp-box .day { border-color: rgba(127,127,127,.2); }
.days > .day:last-child { border-bottom: 0; }
.day h3 { margin: 0; font-size: 1.05em; display: flex; flex-wrap: wrap; gap: .1em .6em; align-items: baseline; }
.day-videos { font-weight: normal; font-size: .84em; color: var(--muted); }
.day-topics { display: grid; gap: .4em; }
.day-topic { display: grid; grid-template-columns: 6.5em minmax(0, 1fr); gap: .6em; align-items: start; }
.day-topic .chip { justify-self: start; margin-top: .1em; }
.day-topic p { margin: 0; }
.day-when { color: var(--muted); font-size: .88em; margin-left: .25em; white-space: nowrap; }
.day sup.ref { font-size: .7em; line-height: 0; }
.day-sources > summary { cursor: pointer; color: var(--link); font-size: .9em; width: fit-content; }
.day-sources ol.references { margin: .4em 0 0; font-size: .9em; }
.day-sources li { padding: .15em .3em; border-radius: 3px; }
.day-sources li.hit { background: var(--blue-body); }
.day-sources q { font-family: var(--serif); font-style: italic; color: var(--muted); }
.day-src-meta { display: inline-flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-left: .4em; }
@media (max-width: 560px) {
    .day-topic { grid-template-columns: minmax(0, 1fr); gap: .15em; }
}
/* Arriving from the heat map (site.js marks the block; :target is the same without script): show which block it is. */
.day:target, .day.hit { background: var(--blue-body); box-shadow: 0 0 0 .5em var(--blue-body); border-radius: 2px; }

/* Timeline heat map: a GitHub-style year of days, weeks as columns, Monday first (TimelineHeatmap). */
.heat { --heat-cell: 11px; --heat-gap: 3px; margin: 1em 0 1.4em; }
.heat-total { margin: 0 0 .4em; font-weight: bold; }
.heat-body { display: flex; gap: .5em; }
.heat-weekdays {
    display: grid; grid-template-rows: repeat(7, var(--heat-cell)); gap: var(--heat-gap);
    margin-top: 1.5em; font-size: .7em; line-height: var(--heat-cell); color: var(--muted);
}
/* A year is wider than a phone: the map scrolls sideways instead of squeezing its days too small to tap. */
.heat-scroll { flex: 1; min-width: 0; overflow-x: auto; padding-bottom: .4em; }
.heat-months {
    display: grid; grid-template-columns: repeat(var(--weeks), var(--heat-cell)); column-gap: var(--heat-gap);
    width: max-content; height: 1.5em; font-size: .7em; color: var(--muted);
}
.heat-months span { white-space: nowrap; }
.heat-cells {
    display: grid; grid-template-rows: repeat(7, var(--heat-cell)); grid-auto-flow: column;
    grid-auto-columns: var(--heat-cell); gap: var(--heat-gap); width: max-content;
}
.heat-cell { display: block; width: var(--heat-cell); height: var(--heat-cell); border-radius: 2px; background: var(--line-soft); }
a.heat-cell:hover, a.heat-cell:focus-visible { outline: 1px solid var(--fg); outline-offset: 1px; }
/* The levels step from the empty cell's grey to the site's green (--ok), so they follow the light and dark themes. The
   plain declarations first are for browsers without color-mix(). */
.heat-cell[data-level="1"] { background: var(--green-head); }
.heat-cell[data-level="2"] { background: var(--green-line); }
.heat-cell[data-level="3"] { background: var(--ok); opacity: .75; }
.heat-cell[data-level="4"] { background: var(--ok); }
@supports (background: color-mix(in srgb, red, blue)) {
    .heat-cell[data-level="1"] { background: color-mix(in srgb, var(--ok) 28%, var(--line-soft)); }
    .heat-cell[data-level="2"] { background: color-mix(in srgb, var(--ok) 50%, var(--line-soft)); }
    .heat-cell[data-level="3"] { background: color-mix(in srgb, var(--ok) 75%, var(--line-soft)); opacity: 1; }
}
.heat-legend { display: flex; gap: var(--heat-gap); align-items: center; justify-content: flex-end; margin-top: .3em; font-size: .75em; color: var(--muted); }
.heat-legend span:first-child { margin-right: .3em; }
.heat-legend span:last-child { margin-left: .3em; }
.heat-note { margin: .3em 0 0; }

/* Quote corrections: the small "ret" link on each quote, and the quote on the correction form. */
.quote-fix { color: var(--muted); }
.quote-fix:hover { color: var(--link); }
.fix-quote { margin: 1em 0; padding: .6em 1em; border-left: 3px solid var(--line); background: var(--box); max-width: 42em; }
.fix-quote blockquote { margin: 0 0 .3em; font-family: var(--serif); font-size: 1.1em; }

/* Timeline months, folded: the month's 1–3 highlights and busiest tags; its days open on click. */
.show-what { display: flex; gap: 6px; margin: .2em 0 .8em; }
.tl-month { border: 1px solid var(--line-soft); margin: 0 0 10px; }
.tl-month > summary { list-style: none; cursor: pointer; padding: .55em .8em .65em; display: grid; gap: .3em; }
.tl-month > summary::-webkit-details-marker { display: none; }
.tl-month > summary:hover { background: var(--box); }
.tl-month > summary:focus-visible { outline: 2px solid var(--link); outline-offset: 2px; }
.tl-month-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .2em 1em; }
.tl-month-head h2 { margin: 0; border: 0; padding: 0; }
.tl-month-head h2::before { content: "▸ "; color: var(--muted); font-family: var(--sans); font-size: .7em; }
.tl-month[open] .tl-month-head h2::before { content: "▾ "; }
.tl-month-count { color: var(--muted); font-size: .88em; font-variant-numeric: tabular-nums; }
.tl-highlights { margin: 0; padding-left: 1.2em; }
.tl-highlights li { margin: .1em 0; }
.tl-hl-date { color: var(--muted); font-size: .85em; white-space: nowrap; }
.tl-tags { display: flex; flex-wrap: wrap; gap: 4px; }
.tl-month > .days { border-top: 1px solid var(--line-soft); padding: 0 .8em; }
.tl-more { margin: 0; padding: .4em .8em .7em; font-size: .9em; }
.tl-month-head h3 { margin: 0; font-family: var(--serif); font-weight: normal; font-size: 1.25em; }
.tl-month-head h3::before { content: "▸ "; color: var(--muted); font-family: var(--sans); font-size: .7em; }
.tl-month[open] .tl-month-head h3::before { content: "▾ "; }

/* Series (Series.razor, SeriesPage.razor, the video page's "Del N af serien"). */
.series-parts { list-style: none; padding-left: 0; }
.series-parts li { padding: .45em 0; border-bottom: 1px solid var(--line-soft); }
.series-number { display: inline-block; min-width: 5.5em; color: var(--muted); font-variant-numeric: tabular-nums; }
.series-nav { font-size: .95em; }

/* Categories (CategoryIndex.razor, CategoryPage.razor). */
.category-index, .category-members { columns: 2 18em; column-gap: 2em; padding-left: 1.2em; }
.category-index li, .category-members li { break-inside: avoid; margin: .2em 0 .5em; }
