:root{--accent:#00933c;--accent-ink:#ffffff;--accent-light:#61bc86;--radius:2px}

:root {
  --bg: #ffffff; --surface: #ffffff; --tint: #f2f3f5; --ink: #111111; --muted: #5f6368;
  --border: #dcdde0; --border-strong: #8a8a8a; --rule: #111111; --danger: #c41e18; --focus: #0039a6;
  --link: var(--accent);
  --note-fill: rgba(255, 184, 0, 0.3); --note-fill-lit: rgba(255, 184, 0, 0.55); --note-edge: #c98500;
  --font: "Helvetica Neue", Helvetica, Arial, "Liberation Sans", sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121212; --surface: #1b1b1b; --tint: #202124; --ink: #ececec; --muted: #a3a3a3;
    --border: #333333; --border-strong: #5f5f5f; --rule: #6b6b6b; --danger: #ff6b60; --focus: #7aa2f7;
    --link: var(--accent-light);
    --note-fill: rgba(255, 190, 40, 0.24); --note-fill-lit: rgba(255, 190, 40, 0.45); --note-edge: #e0a82e;
  }
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font);
  font-size: 18px; line-height: 1.6; font-kerning: normal; text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased; overflow-wrap: break-word;
}
a { color: var(--link); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus { outline: 2px solid var(--focus); outline-offset: 2px; }
:focus:not(:focus-visible) { outline: none; }
.wrap { max-width: calc(68ch + 32px); margin: 0 auto; padding: 0 16px; }

/* the masthead and footer */
.masthead { background: var(--surface); border-bottom: 1px solid var(--border); }
.bar { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 18px; min-height: 60px; padding-top: 10px; padding-bottom: 10px; font-size: 0.9rem; }
.brand { font-weight: 800; font-size: 1.1rem; letter-spacing: -0.01em; color: var(--ink); text-decoration: none; margin-right: auto; }
.nav { display: flex; flex-wrap: wrap; gap: 4px 16px; }
.nav a, .who { color: var(--muted); text-decoration: none; font-weight: 700; }
.nav a:hover, .who:hover { color: var(--ink); }
.nav a[aria-current] { color: var(--ink); box-shadow: inset 0 -2px 0 var(--ink); }
.foot { border-top: 1px solid var(--border); margin-top: 72px; color: var(--muted); font-size: 0.85rem; }
.foot .wrap { display: flex; flex-wrap: wrap; gap: 6px 18px; padding-top: 22px; padding-bottom: 40px; }
.foot a { color: var(--muted); }
.foot .grow { margin-right: auto; }
.main { padding-top: 40px; }

/* labels: a word beside a figure */
.label, .post-meta, .entry-date {
  font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted);
}

/* the index */
.intro { font-size: 1.15rem; color: var(--muted); margin: 0 0 28px; max-width: 56ch; }
.page-title { font-size: clamp(1.9rem, 5vw, 2.5rem); line-height: 1.1; letter-spacing: -0.025em; font-weight: 800; margin: 0 0 28px; }
.posts { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--rule); }
.entry { padding: 22px 0 24px; border-bottom: 1px solid var(--border); }
.entry-date { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 0; }
.entry-title { font-size: 1.45rem; line-height: 1.2; letter-spacing: -0.015em; font-weight: 800; margin: 4px 0 6px; }
.entry-title a { color: var(--ink); text-decoration: none; }
.entry-title a:hover { text-decoration: underline; text-decoration-color: var(--link); }
.entry-summary { margin: 0; color: var(--muted); }
.entry .tags { margin-top: 10px; }
.pager { display: flex; justify-content: space-between; gap: 12px; margin: 28px 0 0; }
.empty { color: var(--muted); }

/* a post */
.post-head { margin: 0 0 28px; }
.post-head h1 { font-size: clamp(2rem, 6vw, 2.9rem); line-height: 1.08; letter-spacing: -0.03em; font-weight: 800; margin: 0 0 14px; }
.lede { font-size: 1.22rem; line-height: 1.45; color: var(--muted); margin: 0 0 16px; }
.post-meta { display: flex; flex-wrap: wrap; gap: 4px 16px; margin: 0; padding-top: 12px; border-top: 2px solid var(--rule); }
.cover { display: block; width: 100%; height: auto; margin: 0 0 32px; border-radius: var(--radius); background: var(--tint); }

.prose > :first-child { margin-top: 0; }
.prose p, .prose ul, .prose ol, .prose dl, .prose table, .prose pre, .prose blockquote, .prose figure, .prose details { margin: 0 0 1.15em; }
.prose h2, .prose h3, .prose h4, .prose h5, .prose h6 { line-height: 1.2; font-weight: 800; letter-spacing: -0.015em; margin: 1.9em 0 0.6em; scroll-margin-top: 16px; }
.prose h2 { font-size: 1.5rem; padding-top: 0.5em; border-top: 2px solid var(--rule); }
.prose h3 { font-size: 1.22rem; }
.prose h4 { font-size: 1.05rem; }
.prose h5, .prose h6 { font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.06em; }
.prose h1 { font-size: 1.8rem; line-height: 1.15; margin: 1.6em 0 0.6em; }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose li { margin: 0.3em 0; }
.prose li > ul, .prose li > ol { margin: 0.3em 0; }
.prose li::marker { color: var(--muted); }
.prose blockquote { padding: 2px 0 2px 1.1em; border-left: 3px solid var(--accent); color: var(--ink); font-size: 1.04em; }
.prose blockquote > :last-child { margin-bottom: 0; }
.prose hr { border: 0; border-top: 1px solid var(--border); margin: 2.4em 0; }
.prose img, .prose video { display: block; max-width: 100%; height: auto; border-radius: var(--radius); }
.prose audio { width: 100%; }
.prose figure img { margin: 0 auto; }
.prose figcaption { font-size: 0.85rem; color: var(--muted); margin-top: 8px; }
.prose code, .prose kbd, .prose samp { font-family: var(--mono); font-size: 0.86em; }
.prose :not(pre) > code { background: var(--tint); padding: 0.12em 0.36em; border-radius: var(--radius); }
.prose kbd { border: 1px solid var(--border-strong); border-bottom-width: 2px; padding: 0 0.35em; border-radius: var(--radius); }
.prose pre {
  background: var(--tint); border: 1px solid var(--border); border-radius: var(--radius); padding: 14px 16px;
  overflow-x: auto; font-size: 0.86rem; line-height: 1.55; tab-size: 4;
}
.prose pre code { font-size: inherit; background: none; padding: 0; }
.prose table { display: block; overflow-x: auto; border-collapse: collapse; font-size: 0.92rem; max-width: 100%; }
.prose th { text-align: left; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); padding: 8px 12px 8px 0; border-bottom: 2px solid var(--rule); }
.prose td { padding: 8px 12px 8px 0; border-bottom: 1px solid var(--border); vertical-align: top; }
.prose mark { background: var(--note-fill); color: inherit; }
.prose summary { cursor: pointer; font-weight: 700; }
.prose dt { font-weight: 700; }
.prose dd { margin: 0 0 0.6em 1.2em; }

.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 32px 0 0; padding: 0; }
.tags a {
  display: inline-block; padding: 3px 10px; font-size: 0.8rem; font-weight: 700; color: var(--ink); text-decoration: none;
  border: 1px solid var(--border-strong); border-radius: var(--radius);
}
.tags a:hover { background: var(--tint); }

/* attached pages */
.embed { margin: 1.6em 0; }
.embed iframe { display: block; width: 100%; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.embed figcaption { font-size: 0.8rem; margin-top: 6px; }
.embed-full { width: min(1100px, calc(100vw - 32px)); position: relative; left: 50%; transform: translateX(-50%); }
.embed-box {
  display: grid; place-content: center; text-align: center; min-height: 160px; margin: 1.6em 0; padding: 16px;
  border: 1px dashed var(--border-strong); border-radius: var(--radius); color: var(--muted); font-size: 0.9rem;
}
.embed-box p { margin: 0; }

/* buttons and forms */
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 20px;
  font: inherit; font-size: 1rem; font-weight: 800; color: var(--ink); text-decoration: none; cursor: pointer;
  background: var(--surface); border: 2px solid var(--border-strong); border-radius: var(--radius);
}
.btn:hover { background: var(--tint); }
.btn:active { transform: translate(1px, 1px); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn.primary:hover { filter: brightness(1.07); }
.btn.danger { color: var(--danger); border-color: var(--danger); background: transparent; }
.btn.small { min-height: 36px; padding: 0 14px; font-size: 0.9rem; }
.linkish {
  font: inherit; font-size: 0.85rem; font-weight: 700; color: var(--muted); background: none; border: 0; padding: 0; cursor: pointer;
  text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px;
}
.linkish:hover { color: var(--ink); }
.linkish.danger { color: var(--danger); }
.field { display: grid; gap: 6px; margin: 0 0 16px; font-size: 0.88rem; font-weight: 700; }
.field small { font-weight: 400; color: var(--muted); }
input[type=text], input[type=email], input[type=search], textarea {
  width: 100%; font: inherit; font-size: 1rem; font-weight: 400; color: var(--ink); background: var(--bg);
  border: 1px solid var(--border-strong); border-radius: var(--radius); padding: 11px 12px;
}
textarea { min-height: 130px; resize: vertical; line-height: 1.5; }
input.code { font-family: var(--mono); font-size: 1.6rem; letter-spacing: 0.3em; text-align: center; max-width: 260px; }
.check { display: flex; gap: 10px; align-items: center; font-size: 0.95rem; font-weight: 400; margin: 0 0 16px; }
.check input { width: 18px; height: 18px; margin: 0; accent-color: var(--accent); }
.row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.panel { max-width: 460px; }
.panel h1 { font-size: 2rem; line-height: 1.1; letter-spacing: -0.025em; font-weight: 800; margin: 0 0 12px; }
.panel p { margin: 0 0 16px; }
.note { font-size: 0.88rem; color: var(--muted); }
.error { color: var(--danger); font-weight: 700; }
.notice { border: 1px solid var(--border-strong); border-radius: var(--radius); padding: 12px 14px; margin: 0 0 20px; background: var(--surface); }
.notice.bad { border-color: var(--danger); color: var(--danger); font-weight: 700; }
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.cf-turnstile { margin: 0 0 16px; min-height: 65px; }
.section { margin: 36px 0 0; padding-top: 12px; border-top: 2px solid var(--rule); }
.section h2 { font-size: 1.15rem; font-weight: 800; margin: 0 0 12px; }

/* comments: a thread folds at its header, or at its line with script */
.comments { margin-top: 56px; padding-top: 14px; border-top: 2px solid var(--rule); }
.comments-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 16px; margin: 0 0 8px; }
.comments-head h2 { font-size: 1.3rem; font-weight: 800; letter-spacing: -0.01em; margin: 0; }
.c-sort { display: inline-flex; border: 1px solid var(--border-strong); border-radius: var(--radius); font-size: 0.8rem; font-weight: 700; overflow: hidden; }
.c-sort a { padding: 4px 10px; text-decoration: none; color: var(--muted); }
.c-sort [aria-current] { background: var(--ink); color: var(--bg); }
.c-list, .c-replies { list-style: none; margin: 0; padding: 0; }
.c { scroll-margin-top: 24px; }
.c:target > .c-fold > .c-head, .c:target > .c-fold > .c-main, .c.is-shared > .c-fold > .c-head, .c.is-shared > .c-fold > .c-main {
  background: var(--note-fill); box-shadow: -6px 0 0 var(--note-fill), 6px 0 0 var(--note-fill);
}
.c.is-faded > .c-fold > .c-head, .c.is-faded > .c-fold > .c-main { background: transparent; box-shadow: none; transition: background-color 1.2s, box-shadow 1.2s; }
.c-list { margin-top: 20px; }
.c { position: relative; padding-left: 16px; margin: 0 0 6px; }
.c-list > .c { padding-top: 14px; border-top: 1px solid var(--border); }
.c-list > .c:first-child { border-top: 0; }
.c-line { position: absolute; left: 0; top: 30px; bottom: 4px; width: 12px; cursor: default; }
.c-line::before { content: ''; position: absolute; left: 4px; top: 0; bottom: 0; width: 2px; background: var(--border); }
.js-switch .c-line, .js-notes .c-line, .c-line.is-live { cursor: pointer; }
.c-line:hover::before { background: var(--border-strong); }
.c-list > .c > .c-line { top: 44px; }
.c-fold:not([open]) ~ .c-line { display: none; }
.c-fold > summary { list-style: none; cursor: pointer; }
.c-fold > summary::-webkit-details-marker { display: none; }
.c-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; padding: 2px 0 4px; }
.c-name { font-weight: 800; }
.c-badge { font-size: 0.68rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; padding: 1px 6px; border-radius: var(--radius); background: var(--ink); color: var(--bg); }
.c-time { font-size: 0.82rem; color: var(--muted); text-decoration: none; }
.c-time:hover { text-decoration: underline; }
.c-edited { font-size: 0.78rem; color: var(--muted); font-style: italic; }
.c-gone { color: var(--muted); font-style: italic; font-size: 0.92rem; }
.c-folded { display: none; font-size: 0.8rem; font-weight: 700; color: var(--link); }
.c-fold:not([open]) > summary .c-folded { display: inline; }
.flag { font-size: 0.7rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; padding: 2px 7px; border: 1px solid var(--border-strong); border-radius: var(--radius); color: var(--muted); }
.c-stale { margin: 0 0 4px; font-size: 0.8rem; color: var(--muted); }
.c-body p { margin: 0 0 0.6em; }
.c-body p:last-child { margin-bottom: 0; }
.c-actions { display: flex; flex-wrap: wrap; gap: 4px 16px; align-items: center; margin: 6px 0 10px; font-size: 0.85rem; font-weight: 700; }
.c-actions a, .c-actions summary { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; cursor: pointer; }
.c-actions a:hover, .c-actions summary:hover { color: var(--ink); }
.c-actions .c-done { color: var(--muted); font-weight: 400; }
.c-actions details { display: inline-block; }
.c-actions details[open] { display: block; width: 100%; }
.c-actions details summary { list-style: none; display: inline; }
.c-actions details summary::-webkit-details-marker { display: none; }
.c-actions details form { margin-top: 8px; }
.c-replyform, .c-editform, .c-reportform { margin: 4px 0 14px; }
.c-reportform fieldset { border: 1px solid var(--border); border-radius: var(--radius); padding: 10px 14px; margin: 0 0 10px; }
.c-reportform legend { font-weight: 800; font-size: 0.9rem; padding: 0 4px; }
.c-reportform .check { margin: 0 0 6px; }
.c-reportform .check + .field { margin-top: 14px; }
.c-reportform textarea { min-height: 90px; }
.c-reportform input[type=file] { font: inherit; font-size: 0.9rem; font-weight: 400; max-width: 100%; }
.c-files { list-style: none; margin: 0; padding: 0; font-size: 0.88rem; }
.c-files li { display: flex; flex-wrap: wrap; gap: 2px 10px; align-items: baseline; padding: 6px 0; border-top: 1px solid var(--border); }
.c-files li:last-child { margin-bottom: 6px; }
.c-file-name { font-weight: 700; overflow-wrap: anywhere; }
.c-file-size { color: var(--muted); }
.c-file-bad { flex-basis: 100%; color: var(--danger); font-weight: 700; }
.c-reportform button:disabled { opacity: 0.5; cursor: not-allowed; }
.c-replies { margin: 2px 0 0; }
.c-continue { display: inline-block; margin: 4px 0 10px; font-size: 0.85rem; font-weight: 700; }
.c-continue-phone { display: none; }
.comment-form { margin: 16px 0 8px; }
.comment-form textarea { min-height: 120px; }
.closed { color: var(--muted); margin: 8px 0 0; }
.c-loved { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; color: var(--muted); font-size: 0.8rem; }
.c-loved .heart-icon { width: 14px; height: 14px; fill: var(--danger); stroke: none; }

/* hearts and sharing */
form.heart { display: inline; margin: 0; }
.heart-btn {
  display: inline-flex; align-items: center; gap: 5px; min-height: 30px; padding: 0 8px 0 4px; font: inherit; font-size: 0.85rem; font-weight: 700;
  color: var(--muted); background: none; border: 1px solid transparent; border-radius: var(--radius); cursor: pointer; text-decoration: none;
}
.heart-btn:hover { color: var(--ink); border-color: var(--border); }
.heart-icon { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }
.heart-btn[aria-pressed="true"] { color: var(--danger); }
.heart-btn[aria-pressed="true"] .heart-icon { fill: currentColor; }
.heart-btn.is-pop .heart-icon { animation: heart-pop 320ms cubic-bezier(0.34, 1.56, 0.64, 1); }
@keyframes heart-pop { 0% { transform: scale(1); } 45% { transform: scale(1.3); } 100% { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .heart-btn.is-pop .heart-icon { animation: none; } }
.post-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin: 28px 0 0; padding-top: 12px; border-top: 1px solid var(--border); }
.post-actions .heart-btn { min-height: 40px; font-size: 0.95rem; padding: 0 12px 0 8px; border-color: var(--border-strong); }
.post-actions .heart-icon { width: 22px; height: 22px; }
.share-btn { display: none; }
.js-share .share-btn { display: inline-flex; }
.toast {
  position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 10; padding: 10px 16px; font-size: 0.9rem; font-weight: 700;
  background: var(--ink); color: var(--bg); border-radius: var(--radius); box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.16);
}
.back { margin: 0 0 8px; font-size: 0.9rem; font-weight: 700; }

/* a margin column for side notes and wide frames */
@media (min-width: 1100px) {
  .has-margin .wrap { max-width: calc(68ch + 332px); }
  .has-margin .main > *, .has-margin .post > * { max-width: 68ch; }
  .has-margin .post { max-width: none; }
  .has-margin .prose { max-width: 68ch; }
  .has-margin .embed-wide { width: calc(100% + 300px); max-width: none; }
  html:not(.js-notes) .has-margin aside.note {
    display: block; float: right; clear: right; width: 260px; margin: 0 -300px 14px 0; padding: 5px 0 0;
    border: 0; border-top: 1px solid var(--border); background: none; color: var(--muted); font-size: 13px;
  }
  html:not(.js-notes) .has-margin details.note-fallback { display: none; }
}
html:not(.js-notes) aside.note { display: none; }
.post-meta .notes-switch { margin-left: auto; }
.notes-switch {
  display: none; align-items: center; gap: 8px; padding: 0; border: 0; background: none; cursor: pointer;
  font: inherit; font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted);
}
.js-notes .notes-switch, .js-switch .notes-switch { display: inline-flex; }
.rocker {
  position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; width: 50px; height: 24px; overflow: hidden;
  border: 2px solid var(--border-strong); border-radius: var(--radius); font-size: 0.7rem; font-weight: 800; letter-spacing: 0;
}
.rocker::before {
  content: ''; position: absolute; top: 0; bottom: 0; left: 0; width: 50%; background: var(--border-strong);
  transition: transform 250ms cubic-bezier(0.34, 1.56, 0.64, 1), background-color 250ms;
}
.rocker > span { position: relative; z-index: 1; display: grid; place-items: center; color: var(--muted); transition: color 140ms 140ms; }
.notes-switch[aria-checked="false"] .rocker > span:first-child { color: #ffffff; }
.notes-switch[aria-checked="true"] .rocker::before { transform: translateX(100%); background: var(--accent); }
.notes-switch[aria-checked="true"] .rocker > span:last-child { color: var(--accent-ink); }

@media (max-width: 560px) {
  body { font-size: 17px; }
  .main { padding-top: 28px; }
  .bar { gap: 2px 14px; }
  .brand { width: 100%; margin-right: 0; }
  .who { margin-left: auto; }
  .c { padding-left: 10px; }
  .c-line { width: 8px; }
  .c-line::before { left: 2px; }
  .c[data-depth="6"] { display: none; }
  .c[data-depth="6"].c-path { display: block; }
  .c-continue-phone { display: inline-block; }
}
@media print {
  .masthead, .foot, .comments, .embed figcaption, .notes-switch { display: none !important; }
  body { font-size: 12pt; }
}

:root {
  --n-fill: var(--blog-note-fill, var(--note-fill, rgba(255, 184, 0, 0.3)));
  --n-fill-lit: var(--blog-note-fill-lit, var(--note-fill-lit, rgba(255, 184, 0, 0.55)));
  --n-edge: var(--blog-note-edge, var(--note-edge, #c98500));
  --n-ink: var(--blog-ink, var(--ink, #111111));
  --n-muted: var(--blog-muted, var(--muted, #5f6368));
  --n-line: var(--blog-border, var(--border, #dcdde0));
  --n-surface: var(--blog-surface, var(--surface, #ffffff));
  --n-link: var(--blog-link, var(--link, #00933c));
  --n-font: var(--blog-font, var(--font, "Helvetica Neue", Helvetica, Arial, sans-serif));
}
mark[data-note] { background: var(--n-fill); color: inherit; padding: 0 0.06em; border-radius: 1px; transition: background-color 150ms; }
mark[data-note]:empty { padding: 0; }
mark[data-note].is-lit { background: var(--n-fill-lit); }
.note-ref {
  font: inherit; font-family: var(--n-font); font-size: 0.66em; font-weight: 800; line-height: 1; vertical-align: super;
  color: var(--n-link); background: none; border: 0; margin: 0 0 0 1px; padding: 1px 3px; cursor: pointer; border-radius: 2px;
}
.note-ref.is-lit, .note-ref[aria-expanded="true"] { background: var(--n-fill-lit); color: var(--n-ink); }
aside[data-note-for] {
  display: block; margin: 0 0 1em; padding: 8px 12px; border: 1px solid var(--n-line); border-left: 3px solid var(--n-edge);
  background: var(--n-surface); color: var(--n-ink); font-family: var(--n-font); font-size: 0.86em; line-height: 1.5; overflow-wrap: break-word;
}
aside[data-note-for] p { margin: 0 0 0.6em; }
aside[data-note-for] ul, aside[data-note-for] ol { margin: 0 0 0.6em; padding-left: 1.2em; }
aside[data-note-for] > :last-child, aside[data-note-for] > :last-child > :last-child { margin-bottom: 0; }
.note-n { font-weight: 800; margin-right: 6px; color: var(--n-ink); font-variant-numeric: tabular-nums; }
details.note-fallback {
  margin: -0.4em 0 1.1em; padding: 6px 12px; font-size: 0.88em; line-height: 1.5;
  border: 1px solid var(--n-line); border-left: 3px solid var(--n-edge); background: var(--n-surface);
}
details.note-fallback > summary { cursor: pointer; font-weight: 700; color: var(--n-muted); }
details.note-fallback p { margin: 0.5em 0 0; }
.js-notes aside[data-note-for] { display: none; }
.js-notes aside[data-note-for].is-open { display: block; }
.notes-wide { position: relative; }
.js-notes .notes-wide aside[data-note-for] {
  display: block; position: absolute; left: calc(100% + 32px); width: 260px; margin: 0; padding: 5px 0 0;
  border: 0; border-top: 1px solid var(--n-line); background: none; color: var(--n-muted); font-size: 13px; line-height: 1.5;
  transition: color 150ms, border-color 150ms;
}
.js-notes .notes-wide aside[data-note-for].is-lit { color: var(--n-ink); border-top-color: var(--n-edge); }
.note-print { display: none; }
.notes-hidden mark[data-note], .notes-hidden mark[data-note].is-lit { background: none; padding: 0; }
.notes-hidden .note-ref, .notes-hidden aside[data-note-for], .notes-hidden .js-notes aside[data-note-for],
.notes-hidden details.note-fallback, .js-notes.notes-hidden .notes-wide aside[data-note-for] { display: none !important; }
@media print {
  aside[data-note-for], details.note-fallback { display: none !important; }
  mark[data-note] { background: none; }
  .note-ref { color: inherit; }
  .note-print, .notes-hidden .note-print { display: block !important; }
  .notes-hidden .note-ref { display: inline !important; }
}
