@import url(https://fonts.googleapis.com/css?family=Inconsolata:400,700|Montserrat:700);
@import url(https://fonts.googleapis.com/icon?family=Material+Icons);

/*! normalize.css v2.1.3 | MIT License | git.io/normalize */

/* ==========================================================================
   HTML5 display definitions
   ========================================================================== */

/**
 * Correct `block` display not defined in IE 8/9.
 */

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
nav,
section,
summary {
    display: block;
}

/**
 * Correct `inline-block` display not defined in IE 8/9.
 */

audio,
canvas,
video {
    display: inline-block;
}

/**
 * Prevent modern browsers from displaying `audio` without controls.
 * Remove excess height in iOS 5 devices.
 */

audio:not([controls]) {
    display: none;
    height: 0;
}

/**
 * Address `[hidden]` styling not present in IE 8/9.
 * Hide the `template` element in IE, Safari, and Firefox < 22.
 */

[hidden],
template {
    display: none;
}

/* ==========================================================================
   Base
   ========================================================================== */

/**
 * 1. Set default font family to sans-serif.
 * 2. Prevent iOS text size adjust after orientation change, without disabling
 *    user zoom.
 */

html {
    font-family: sans-serif; /* 1 */
    -ms-text-size-adjust: 100%; /* 2 */
    -webkit-text-size-adjust: 100%; /* 2 */
}

/**
 * Remove default margin.
 */

body {
    margin: 0;
}

/* ==========================================================================
   Links
   ========================================================================== */

/**
 * Remove the gray background color from active links in IE 10.
 */

a {
    background: transparent;
}

/**
 * Address `outline` inconsistency between Chrome and other browsers.
 */

a:focus {
    outline: thin dotted;
}

/**
 * Improve readability when focused and also mouse hovered in all browsers.
 */

a:active,
a:hover {
    outline: 0;
}

/* ==========================================================================
   Typography
   ========================================================================== */

/**
 * Address variable `h1` font-size and margin within `section` and `article`
 * contexts in Firefox 4+, Safari 5, and Chrome.
 */

h1 {
    font-size: 2em;
    margin: 0.67em 0;
}

/**
 * Address styling not present in IE 8/9, Safari 5, and Chrome.
 */

abbr[title] {
    border-bottom: 1px dotted;
}

/**
 * Address style set to `bolder` in Firefox 4+, Safari 5, and Chrome.
 */

b,
strong {
    font-weight: bold;
}

/**
 * Address styling not present in Safari 5 and Chrome.
 */

dfn {
    font-style: italic;
}

/**
 * Address differences between Firefox and other browsers.
 */

hr {
    -moz-box-sizing: content-box;
    box-sizing: content-box;
    height: 0;
}

/**
 * Address styling not present in IE 8/9.
 */

mark {
    background: #ff0;
    color: #000;
}

/**
 * Correct font family set oddly in Safari 5 and Chrome.
 */

code,
kbd,
pre,
samp {
    font-family: monospace, serif;
    font-size: 1em;
}

/**
 * Improve readability of pre-formatted text in all browsers.
 */

pre {
    white-space: pre-wrap;
}

/**
 * Set consistent quote types.
 */

q {
    quotes: "\201C" "\201D" "\2018" "\2019";
}

/**
 * Address inconsistent and variable font size in all browsers.
 */

small {
    font-size: 80%;
}

/**
 * Prevent `sub` and `sup` affecting `line-height` in all browsers.
 */

sub,
sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

sup {
    top: -0.5em;
}

sub {
    bottom: -0.25em;
}

/* ==========================================================================
   Embedded content
   ========================================================================== */

/**
 * Remove border when inside `a` element in IE 8/9.
 */

img {
    border: 0;
}

/**
 * Correct overflow displayed oddly in IE 9.
 */

svg:not(:root) {
    overflow: hidden;
}

/* ==========================================================================
   Figures
   ========================================================================== */

/**
 * Address margin not present in IE 8/9 and Safari 5.
 */

figure {
    margin: 0;
}

/* ==========================================================================
   Forms
   ========================================================================== */

/**
 * Define consistent border, margin, and padding.
 */

fieldset {
    border: 1px solid #c0c0c0;
    margin: 0 2px;
    padding: 0.35em 0.625em 0.75em;
}

/**
 * 1. Correct `color` not being inherited in IE 8/9.
 * 2. Remove padding so people aren't caught out if they zero out fieldsets.
 */

legend {
    border: 0; /* 1 */
    padding: 0; /* 2 */
}

/**
 * 1. Correct font family not being inherited in all browsers.
 * 2. Correct font size not being inherited in all browsers.
 * 3. Address margins set differently in Firefox 4+, Safari 5, and Chrome.
 */

button,
input,
select,
textarea {
    font-family: inherit; /* 1 */
    font-size: 100%; /* 2 */
    margin: 0; /* 3 */
}

/**
 * Address Firefox 4+ setting `line-height` on `input` using `!important` in
 * the UA stylesheet.
 */

button,
input {
    line-height: normal;
}

/**
 * Address inconsistent `text-transform` inheritance for `button` and `select`.
 * All other form control elements do not inherit `text-transform` values.
 * Correct `button` style inheritance in Chrome, Safari 5+, and IE 8+.
 * Correct `select` style inheritance in Firefox 4+ and Opera.
 */

button,
select {
    text-transform: none;
}

/**
 * 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
 *    and `video` controls.
 * 2. Correct inability to style clickable `input` types in iOS.
 * 3. Improve usability and consistency of cursor style between image-type
 *    `input` and others.
 */

button,
html input[type="button"], /* 1 */
input[type="reset"],
input[type="submit"] {
    -webkit-appearance: button; /* 2 */
    cursor: pointer; /* 3 */
}

/**
 * Re-set default cursor for disabled elements.
 */

button[disabled],
html input[disabled] {
    cursor: default;
}

/**
 * 1. Address box sizing set to `content-box` in IE 8/9/10.
 * 2. Remove excess padding in IE 8/9/10.
 */

input[type="checkbox"],
input[type="radio"] {
    box-sizing: border-box; /* 1 */
    padding: 0; /* 2 */
}

/**
 * 1. Address `appearance` set to `searchfield` in Safari 5 and Chrome.
 * 2. Address `box-sizing` set to `border-box` in Safari 5 and Chrome
 *    (include `-moz` to future-proof).
 */

input[type="search"] {
    -webkit-appearance: textfield; /* 1 */
    -moz-box-sizing: content-box;
    -webkit-box-sizing: content-box; /* 2 */
    box-sizing: content-box;
}

/**
 * Remove inner padding and search cancel button in Safari 5 and Chrome
 * on OS X.
 */

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
}

/**
 * Remove inner padding and border in Firefox 4+.
 */

button::-moz-focus-inner,
input::-moz-focus-inner {
    border: 0;
    padding: 0;
}

/**
 * 1. Remove default vertical scrollbar in IE 8/9.
 * 2. Improve readability and alignment in all browsers.
 */

textarea {
    overflow: auto; /* 1 */
    vertical-align: top; /* 2 */
}

/* ==========================================================================
   Tables
   ========================================================================== */

/**
 * Remove most spacing between table cells.
 */

table {
    border-collapse: collapse;
    border-spacing: 0;
}

/* ===========================================================
   The Solo base theme — generated from src/_data/solo.js

   Other palettes live in palettes.json and are applied at
   runtime as custom properties on <html>, which override
   everything below.
   =========================================================== */

:root {
  color-scheme: light;
  --bg: #fff;
  --text: #333;
  --heading: #111;
  --link: #0074d9;
  --muted: #666;
  --rule: #ccc;
  --code-bg: #eee;
  --code-header-bg: #0074d9;
  --code-header-fg: #fff;
  --code-header-hover-bg: #111;
  --code-header-hover-fg: #fff;
  --ui-bg: #fff;
  --ui-fg: #333;
  --ui-border: #ccc;
  --ui-hover-bg: #eee;
  --syn-comment: #999;
  --syn-comment-multi: #0099ff;
  --syn-comment-preproc: #009999;
  --syn-err: #aa0000;
  --syn-err-bg: #ffaaaa;
  --syn-generic-deleted-bg: #ffcccc;
  --syn-generic-deleted-border: #cc0000;
  --syn-generic-error: #ff0000;
  --syn-generic-heading: #003300;
  --syn-generic-inserted-bg: #ccffcc;
  --syn-generic-inserted-border: #00cc00;
  --syn-generic-output: #aaa;
  --syn-generic-prompt: #000099;
  --syn-generic-traceback: #99cc66;
  --syn-hll-bg: #ffffcc;
  --syn-keyword: #006699;
  --syn-keyword-type: #007788;
  --syn-name-attr: #4f9fcf;
  --syn-name-builtin: #336666;
  --syn-name-class: #00aa88;
  --syn-name-const: #336600;
  --syn-name-decorator: #9999ff;
  --syn-name-entity: #999;
  --syn-name-exception: #cc0000;
  --syn-name-function: #cc00ff;
  --syn-name-label: #9999ff;
  --syn-name-namespace: #00ccff;
  --syn-name-tag: #2f6f9f;
  --syn-name-variable: #003333;
  --syn-number: #ff6600;
  --syn-operator: #555;
  --syn-operator-word: #000;
  --syn-string: #cc3300;
  --syn-string-interpol: #aa0000;
  --syn-string-literal: #d44950;
  --syn-string-regex: #33aaaa;
  --syn-string-symbol: #ffcc33;
  --syn-whitespace: #bbb;
}

/* No data-mode means follow the operating system. */
@media (prefers-color-scheme: dark) {
  :root:not([data-mode]) {
    color-scheme: dark;
    --bg: #111;
    --text: #d6d6d6;
    --heading: #fff;
    --link: #7fdbff;
    --muted: #9a9a9a;
    --rule: #3d3d3d;
    --code-bg: #1e1e1e;
    --code-header-bg: #7fdbff;
    --code-header-fg: #111;
    --code-header-hover-bg: #fff;
    --code-header-hover-fg: #111;
    --ui-bg: #1a1a1a;
    --ui-fg: #d6d6d6;
    --ui-border: #3d3d3d;
    --ui-hover-bg: #2a2a2a;
    --syn-comment: #8a8a8a;
    --syn-comment-multi: #5fb3e6;
    --syn-comment-preproc: #5fbfbf;
    --syn-err: #ff8080;
    --syn-err-bg: #4a1f1f;
    --syn-generic-deleted-bg: #3d1f1f;
    --syn-generic-deleted-border: #cc4444;
    --syn-generic-error: #ff6666;
    --syn-generic-heading: #9ecb6a;
    --syn-generic-inserted-bg: #1f3d22;
    --syn-generic-inserted-border: #44cc55;
    --syn-generic-output: #8a8a8a;
    --syn-generic-prompt: #8f8fdb;
    --syn-generic-traceback: #b3d98a;
    --syn-hll-bg: #3a3a1f;
    --syn-keyword: #6cb6e0;
    --syn-keyword-type: #5fc9c9;
    --syn-name-attr: #8fc6e8;
    --syn-name-builtin: #7fc4b4;
    --syn-name-class: #45d1ad;
    --syn-name-const: #9ecb6a;
    --syn-name-decorator: #b3b3ff;
    --syn-name-entity: #8a8a8a;
    --syn-name-exception: #ff8080;
    --syn-name-function: #e07ffa;
    --syn-name-label: #b3b3ff;
    --syn-name-namespace: #66d9ef;
    --syn-name-tag: #7fb5db;
    --syn-name-variable: #86cfcf;
    --syn-number: #ff9e5e;
    --syn-operator: #aaa;
    --syn-operator-word: #e6e6e6;
    --syn-string: #f08a62;
    --syn-string-interpol: #ff8080;
    --syn-string-literal: #f07f8c;
    --syn-string-regex: #5fc9c9;
    --syn-string-symbol: #ffd966;
    --syn-whitespace: #4a4a4a;
  }
}

:root[data-mode="dark"] {
  color-scheme: dark;
  --bg: #111;
  --text: #d6d6d6;
  --heading: #fff;
  --link: #7fdbff;
  --muted: #9a9a9a;
  --rule: #3d3d3d;
  --code-bg: #1e1e1e;
  --code-header-bg: #7fdbff;
  --code-header-fg: #111;
  --code-header-hover-bg: #fff;
  --code-header-hover-fg: #111;
  --ui-bg: #1a1a1a;
  --ui-fg: #d6d6d6;
  --ui-border: #3d3d3d;
  --ui-hover-bg: #2a2a2a;
  --syn-comment: #8a8a8a;
  --syn-comment-multi: #5fb3e6;
  --syn-comment-preproc: #5fbfbf;
  --syn-err: #ff8080;
  --syn-err-bg: #4a1f1f;
  --syn-generic-deleted-bg: #3d1f1f;
  --syn-generic-deleted-border: #cc4444;
  --syn-generic-error: #ff6666;
  --syn-generic-heading: #9ecb6a;
  --syn-generic-inserted-bg: #1f3d22;
  --syn-generic-inserted-border: #44cc55;
  --syn-generic-output: #8a8a8a;
  --syn-generic-prompt: #8f8fdb;
  --syn-generic-traceback: #b3d98a;
  --syn-hll-bg: #3a3a1f;
  --syn-keyword: #6cb6e0;
  --syn-keyword-type: #5fc9c9;
  --syn-name-attr: #8fc6e8;
  --syn-name-builtin: #7fc4b4;
  --syn-name-class: #45d1ad;
  --syn-name-const: #9ecb6a;
  --syn-name-decorator: #b3b3ff;
  --syn-name-entity: #8a8a8a;
  --syn-name-exception: #ff8080;
  --syn-name-function: #e07ffa;
  --syn-name-label: #b3b3ff;
  --syn-name-namespace: #66d9ef;
  --syn-name-tag: #7fb5db;
  --syn-name-variable: #86cfcf;
  --syn-number: #ff9e5e;
  --syn-operator: #aaa;
  --syn-operator-word: #e6e6e6;
  --syn-string: #f08a62;
  --syn-string-interpol: #ff8080;
  --syn-string-literal: #f07f8c;
  --syn-string-regex: #5fc9c9;
  --syn-string-symbol: #ffd966;
  --syn-whitespace: #4a4a4a;
}

/* ==========================================================================
   Solo — a line-for-line port of the original `_sass/_solo.scss`.
   Every value is unchanged; only the colors were lifted into custom
   properties so themes can swap them. See `src/_data/themes.js`.
   ========================================================================== */

html {
  font: 16px/1.5 Inconsolata, sans-serif;
  background-color: var(--bg);
}

@media (min-width: 30rem) {
  html {
    font-size: 20px;
  }
}

body {
  margin: 2rem 0 5rem;
  color: var(--text);
}

@media (min-width: 30rem) {
  body {
    margin-top: 5rem;
  }
}

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

a:hover, a:focus {
  text-decoration: underline;
}

h1, h2, h3, h4, h5, h6 {
  font-family: Montserrat, sans-serif;
  margin: 0 0 0.5rem -0.1rem /* align left edge */;
  line-height: 1;
  color: var(--heading);
  text-rendering: optimizeLegibility;
}

h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

@media (min-width: 30rem) {
  h1 {
    font-size: 3rem;
    margin-bottom: 3rem;
  }
}

h1 a {
  color: inherit;
}

h2 {
  margin-top: 2rem;
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

@media (min-width: 30rem) {
  h2 {
    margin-top: 2.5rem;
    font-size: 1.5rem;
    margin-bottom: 1rem;
  }
}

h3, h4, h5, h6 {
  margin-top: 1.5rem;
  font-size: 1rem;
  /* Solo had `text-transform: uppercase` here. Dropped, so headings read as
     they are written. */
}

p, ul, ol, dl, table, pre, blockquote {
  margin-top: 0;
  margin-bottom: 1rem;
}

ul, ol {
  padding-left: 1.5rem;
}

dd {
  margin-left: 1.5rem;
}

blockquote {
  margin-left: 0;
  margin-right: 0;
  padding: .5rem 1rem;
  border-left: .25rem solid var(--rule);
  color: var(--muted);
}

blockquote p:last-child {
  margin-bottom: 0;
}

hr {
  border: none;
  margin: 1.5rem 0;
  border-bottom: 1px solid var(--rule);
  position: relative;
  top: -1px;
}

/* Solo scoped these to `.container`. At that specificity a plain `.my-class`
   loses to them, so every image utility needed a two-class selector to win.
   Scoped to the element instead: same result on this layout, and a single
   class now overrides it the way you would expect. */
img, iframe {
  max-width: 100%;
}

img {
  margin: 0 auto;
  display: block;
}

/* Solo's grey-box table rules lived here. `_tables.css` replaces them
   wholesale, so they are gone rather than overridden. */

pre, code {
  font-family: inherit;
  background-color: var(--code-bg);
}

pre {
  padding: .5rem 1rem;
  font-size: 0.8rem;
}

code {
  padding: .1rem .25rem;
}

pre > code {
  padding: 0;
}

.container {
  max-width: 30rem;
  margin: 0 auto;
  padding: 0 1rem;
}

/* ==========================================================================
   Syntax highlighting — port of the original `_sass/_syntax.scss`.
   The Pygments/Rouge class names are kept so that pre-highlighted HTML
   pasted into a page still renders exactly as it did under Jekyll.
   ========================================================================== */

.hll { background-color: var(--syn-hll-bg) }
.c { color: var(--syn-comment); } /* Comment */
.err { color: var(--syn-err); background-color: var(--syn-err-bg) } /* Error */
.k { color: var(--syn-keyword); } /* Keyword */
.o { color: var(--syn-operator) } /* Operator */
.cm { color: var(--syn-comment-multi); font-style: italic } /* Comment.Multiline */
.cp { color: var(--syn-comment-preproc) } /* Comment.Preproc */
.c1 { color: var(--syn-comment); } /* Comment.Single */
.cs { color: var(--syn-comment); } /* Comment.Special */
.gd { background-color: var(--syn-generic-deleted-bg); border: 1px solid var(--syn-generic-deleted-border) } /* Generic.Deleted */
.ge { font-style: italic } /* Generic.Emph */
.gr { color: var(--syn-generic-error) } /* Generic.Error */
.gh { color: var(--syn-generic-heading); } /* Generic.Heading */
.gi { background-color: var(--syn-generic-inserted-bg); border: 1px solid var(--syn-generic-inserted-border) } /* Generic.Inserted */
.go { color: var(--syn-generic-output) } /* Generic.Output */
.gp { color: var(--syn-generic-prompt); } /* Generic.Prompt */
.gs { } /* Generic.Strong */
.gu { color: var(--syn-generic-heading); } /* Generic.Subheading */
.gt { color: var(--syn-generic-traceback) } /* Generic.Traceback */
.kc { color: var(--syn-keyword); } /* Keyword.Constant */
.kd { color: var(--syn-keyword); } /* Keyword.Declaration */
.kn { color: var(--syn-keyword); } /* Keyword.Namespace */
.kp { color: var(--syn-keyword) } /* Keyword.Pseudo */
.kr { color: var(--syn-keyword); } /* Keyword.Reserved */
.kt { color: var(--syn-keyword-type); } /* Keyword.Type */
.m { color: var(--syn-number) } /* Literal.Number */
.s { color: var(--syn-string-literal) } /* Literal.String */
.na { color: var(--syn-name-attr) } /* Name.Attribute */
.nb { color: var(--syn-name-builtin) } /* Name.Builtin */
.nc { color: var(--syn-name-class); } /* Name.Class */
.no { color: var(--syn-name-const) } /* Name.Constant */
.nd { color: var(--syn-name-decorator) } /* Name.Decorator */
.ni { color: var(--syn-name-entity); } /* Name.Entity */
.ne { color: var(--syn-name-exception); } /* Name.Exception */
.nf { color: var(--syn-name-function) } /* Name.Function */
.nl { color: var(--syn-name-label) } /* Name.Label */
.nn { color: var(--syn-name-namespace); } /* Name.Namespace */
.nt { color: var(--syn-name-tag); } /* Name.Tag */
.nv { color: var(--syn-name-variable) } /* Name.Variable */
.ow { color: var(--syn-operator-word); } /* Operator.Word */
.w { color: var(--syn-whitespace) } /* Text.Whitespace */
.mf { color: var(--syn-number) } /* Literal.Number.Float */
.mh { color: var(--syn-number) } /* Literal.Number.Hex */
.mi { color: var(--syn-number) } /* Literal.Number.Integer */
.mo { color: var(--syn-number) } /* Literal.Number.Oct */
.sb { color: var(--syn-string) } /* Literal.String.Backtick */
.sc { color: var(--syn-string) } /* Literal.String.Char */
.sd { color: var(--syn-string); font-style: italic } /* Literal.String.Doc */
.s2 { color: var(--syn-string) } /* Literal.String.Double */
.se { color: var(--syn-string); } /* Literal.String.Escape */
.sh { color: var(--syn-string) } /* Literal.String.Heredoc */
.si { color: var(--syn-string-interpol) } /* Literal.String.Interpol */
.sx { color: var(--syn-string) } /* Literal.String.Other */
.sr { color: var(--syn-string-regex) } /* Literal.String.Regex */
.s1 { color: var(--syn-string) } /* Literal.String.Single */
.ss { color: var(--syn-string-symbol) } /* Literal.String.Symbol */
.bp { color: var(--syn-name-builtin) } /* Name.Builtin.Pseudo */
.vc { color: var(--syn-name-variable) } /* Name.Variable.Class */
.vg { color: var(--syn-name-variable) } /* Name.Variable.Global */
.vi { color: var(--syn-name-variable) } /* Name.Variable.Instance */
.il { color: var(--syn-number) } /* Literal.Number.Integer.Long */

.css .o,
.css .o + .nt,
.css .nt + .nt { color: var(--syn-comment); }

/* --------------------------------------------------------------------------
   Prism token names mapped onto the very same palette, so fenced code
   blocks highlighted at build time match the original Rouge output.
   -------------------------------------------------------------------------- */

.token.comment,
.token.prolog,
.token.doctype,
.token.cdata { color: var(--syn-comment); }

.token.punctuation,
.token.operator,
.token.entity,
.token.url { color: var(--syn-operator); }

.token.tag,
.token.tag > .token.punctuation,
.token.selector { color: var(--syn-name-tag); }

.token.attr-name { color: var(--syn-name-attr); }
.token.property,
.token.keyword,
.token.atrule,
.token.rule { color: var(--syn-keyword); }

.token.string,
.token.char,
.token.attr-value,
.token.attr-value > .token.punctuation { color: var(--syn-string); }

.token.number,
.token.boolean { color: var(--syn-number); }

.token.constant,
.token.symbol { color: var(--syn-name-const); }

.token.builtin { color: var(--syn-name-builtin); }
.token.class-name { color: var(--syn-name-class); }
.token.function { color: var(--syn-name-function); }
.token.variable { color: var(--syn-name-variable); }
.token.regex { color: var(--syn-string-regex); }
.token.inserted { color: var(--syn-generic-inserted-border); }
.token.deleted { color: var(--syn-name-exception); }

.token.namespace { opacity: .7; }
.token.important,
.token.bold { font-weight: bold; }
.token.italic { font-style: italic; }



/* ==========================================================================
   Site header — the title with a round logo at the right edge of the column.

   The logo is sized to the h1's own font-size and h1 has `line-height: 1`,
   so the circle is exactly as tall as the title and Solo's vertical rhythm
   is unchanged.
   ========================================================================== */

.site-header {
  display: flex;
  align-items: center;
  /* The margin h1 used to carry, moved up so the flex row owns it. */
  margin-bottom: 1rem;
}

.site-header h1 {
  margin-bottom: 0;
}

.site-logo {
  flex: none;
  width: 2.5rem;  /* matches h1's font-size below 30rem */
  height: 2.5rem;
  margin: 0 0 0 auto;  /* auto left margin pushes it to the right edge */
  border-radius: 50%;
  object-fit: cover;
}

/* Once the column reaches the viewport edge the logo would collide with the
   fixed theme controls, so step it in by their footprint. */
@media (max-width: 735px) {
  .site-header {
    padding-right: 44px;
  }
}

@media (min-width: 30rem) {
  .site-header {
    margin-bottom: 3rem;
  }

  .site-logo {
    width: 3rem;  /* matches h1's font-size at and above 30rem */
    height: 3rem;
  }
}

/* ==========================================================================
   Theme switcher — the one thing Solo never had.

   Sits in the upper right in `position: fixed`, so the 30rem content column
   is laid out exactly as it is in the original theme. Two stacked Material
   Icons buttons, the same set yolo-11ty uses: `dark_mode` / `light_mode`
   toggles the mode directly and shows the mode you would switch TO, and
   `palette` opens the palette list.

   It ships hidden and is revealed by script, which means a JavaScript-free
   visit renders byte-for-byte Solo.
   ========================================================================== */

.theme-switcher {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 10;
  font-size: 0.8rem;
  line-height: 1.5;
  /* Stacked with a gap, the way yolo-11ty spaces its sticky controls. The
     menu is absolutely positioned, so it is not a flex item. */
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.5rem;
}

.theme-switcher[hidden] {
  display: none;
}

.theme-switcher-toggle {
  display: block;
  padding: 0;
  font: inherit;
  cursor: pointer;
  color: var(--ui-fg);
  background: none;
  border: 0;
  border-radius: 0;
  -webkit-appearance: none;
  appearance: none;
}

.theme-switcher-toggle:hover,
.theme-switcher-toggle:focus-visible {
  color: var(--link);
}

/* Without this the icon's line box runs taller than its font-size and the
   button grows past the 36px the glyph actually occupies. */
.theme-switcher-toggle .material-icons {
  display: block;
  line-height: 1;
}

/* Material Icons sizing convention, as used on yolo-11ty */
.material-icons.md-36 {
  font-size: 36px;
}

.theme-switcher-menu {
  position: absolute;
  top: 100%;
  right: 0;
  min-width: 12rem;
  max-height: min(60vh, 24rem);
  overflow-y: auto;
  overscroll-behavior: contain;
  margin: 0.25rem 0 0;
  padding: 0.5rem 0;
  list-style: none;
  background-color: var(--ui-bg);
  border: 1px solid var(--ui-border);
  /* Same 0.3em curve the code headers and tables use. */
  border-radius: 0.3em;
}

.theme-switcher-menu .theme-switcher-group {
  margin: 0;
  padding: 0.6rem 0.85rem 0.2rem;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.theme-switcher-menu .theme-switcher-group:first-child {
  padding-top: 0.25rem;
}

.theme-switcher-menu[hidden] {
  display: none;
}

.theme-switcher-menu li {
  margin: 0;
  padding: 0;
}

.theme-switcher-option {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 0.3rem 0.85rem;
  font: inherit;
  text-align: left;
  white-space: nowrap;
  cursor: pointer;
  color: var(--ui-fg);
  background: none;
  border: 0;
  border-radius: 0;
}

.theme-switcher-option:hover,
.theme-switcher-option:focus {
  background-color: var(--ui-hover-bg);
}

.theme-switcher-option[aria-pressed="true"] {
  font-weight: 700;
}

.theme-swatch {
  position: relative;
  flex: none;
  width: 0.9rem;
  height: 0.9rem;
  margin-right: 0.6rem;
  border: 1px solid var(--ui-border);
  border-radius: 50%;
  background: var(--sw-bg, transparent);
}

.theme-swatch::after {
  content: "";
  position: absolute;
  top: 25%;
  right: 25%;
  bottom: 25%;
  left: 25%;
  border-radius: 50%;
  background: var(--sw-link, transparent);
}

/* ==========================================================================
   Back-to-top control, after yolo-11ty: the `keyboard_double_arrow_up`
   ligature pinned to the bottom right, in the theme's accent.

   A plain anchor, so it works with JavaScript off, same as yolo-11ty's.
   ========================================================================== */

.to-top {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 10;
  display: block;
  color: var(--code-header-bg);
  text-decoration: none;
  user-select: none;
  transition: color 0.25s ease;
}

/* It is a control, not a link, so no underline. */
.to-top:hover,
.to-top:focus-visible {
  color: var(--code-header-hover-bg);
  text-decoration: none;
}

.to-top .material-icons {
  display: block;
  line-height: 1;
}

@media (prefers-reduced-motion: reduce) {
  .to-top {
    transition: none;
  }
}

/* ==========================================================================
   Code block header — the bar above a fenced block, after yolo-11ty.

   A bold label on the left, a copy icon floated right, and the whole bar is
   the button: clicking it copies the block below. Colors come from the
   theme's `--code-header-*` tokens, which track the link color, so the bar
   lands close to yolo-11ty's own blue in Solo's palette.
   ========================================================================== */

.code-header {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0.3em 0.4em 0.3em 0.5em;
  font: inherit;
  font-size: 0.8rem;
  text-align: left;
  cursor: pointer;
  color: var(--code-header-fg);
  background-color: var(--code-header-bg);
  border: 0;
  border-top-left-radius: 0.3em;
  border-top-right-radius: 0.3em;
  overflow: hidden;
}

.code-header:hover,
.code-header:focus-visible,
.code-header.copied {
  color: var(--code-header-hover-fg);
  background-color: var(--code-header-hover-bg);
}

.code-header .code-label {
  font-weight: 700;
  vertical-align: middle;
}

.code-header .copy-icon {
  float: right;
  vertical-align: middle;
}

.material-icons.md-18 {
  font-size: 18px;
}

/* The block sits flush under its header. */
.code-header + .highlighter-rouge pre {
  margin-top: 0;
}

/* ==========================================================================
   Tables, styled after yolo-11ty.

   Solo draws a grey box with grey rules. yolo-11ty fills the header row with
   its accent and draws every internal rule in that same accent. Here the
   accent is the `--code-header-*` pair, so a table's header bar matches the
   bar above a code block — the same relationship yolo-11ty has, where both
   come from its `--secondary-color`.

   Rounded corners need `border-collapse: separate`; the collapsed model
   ignores border-radius. `overflow: hidden` clips the header fill to the
   curve.
   ========================================================================== */

table {
  width: 100%;
  margin-top: 0;
  margin-bottom: 1rem;
  text-align: left;
  vertical-align: middle;
  background-color: var(--bg);
  border: 1px solid var(--code-header-bg);
  border-radius: 0.3em;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
}

th,
td {
  padding: 0.3em 0.4em;
}

th {
  font-weight: 700;
  color: var(--code-header-fg);
  background-color: var(--code-header-bg);
}

th:not(:last-child),
td:not(:last-child) {
  border-right: 1px solid var(--code-header-bg);
}

table thead > tr:not(:last-child) > th,
table thead > tr:not(:last-child) > td,
table tbody > tr:not(:last-child) > th,
table tbody > tr:not(:last-child) > td,
table tfoot > tr:not(:last-child) > th,
table tfoot > tr:not(:last-child) > td,
table > tr:not(:last-child) > th,
table > tr:not(:last-child) > td {
  border-bottom: 1px solid var(--code-header-bg);
}

/* Sortable: the script marks headers it has wired up. */
th[data-sortable] {
  cursor: pointer;
  user-select: none;
}

th[data-sortable]:hover,
th[data-sortable]:focus-visible {
  background-color: var(--code-header-hover-bg);
  color: var(--code-header-hover-fg);
}

th[aria-sort="ascending"]::after {
  content: " \2191";
}

th[aria-sort="descending"]::after {
  content: " \2193";
}

/* A cell holding a long unbroken token (a CSS custom property name, a URL)
   pushed the whole page sideways on very narrow screens. No visual effect
   until a cell actually has nowhere left to break. */
td,
th {
  overflow-wrap: anywhere;
}

/* ==========================================================================
   Styled images — the size and ratio classes from yolo-11ty.

     .thumbnail          128px square
     .is-16 … .is-512    squares
     .is-circle-16 …     circles
     .is-100-by-75 …     4:3, 3:4, 16:9 and 9:16 boxes

   `object-fit: cover` crops rather than distorts, and the border radius is
   width/1000 em, the same curve yolo-11ty uses.

   One difference: yolo-11ty pins both width and height on the square classes.
   These set width and `aspect-ratio` instead, so when Solo's 30rem column is
   narrower than the image, `.container img { max-width: 100% }` shrinks the
   box without flattening it.
   ========================================================================== */

.thumbnail {
  width: 128px;
  aspect-ratio: 1 / 1;
  border-radius: 0.128em;
  object-fit: cover;
}
/* Squares */
.is-16 {
  width: 16px;
  aspect-ratio: 1 / 1;
  border-radius: 0.016em;
  object-fit: cover;
}
.is-24 {
  width: 24px;
  aspect-ratio: 1 / 1;
  border-radius: 0.024em;
  object-fit: cover;
}
.is-32 {
  width: 32px;
  aspect-ratio: 1 / 1;
  border-radius: 0.032em;
  object-fit: cover;
}
.is-48 {
  width: 48px;
  aspect-ratio: 1 / 1;
  border-radius: 0.048em;
  object-fit: cover;
}
.is-64 {
  width: 64px;
  aspect-ratio: 1 / 1;
  border-radius: 0.064em;
  object-fit: cover;
}
.is-96 {
  width: 96px;
  aspect-ratio: 1 / 1;
  border-radius: 0.096em;
  object-fit: cover;
}
.is-128 {
  width: 128px;
  aspect-ratio: 1 / 1;
  border-radius: 0.128em;
  object-fit: cover;
}
.is-192 {
  width: 192px;
  aspect-ratio: 1 / 1;
  border-radius: 0.192em;
  object-fit: cover;
}
.is-256 {
  width: 256px;
  aspect-ratio: 1 / 1;
  border-radius: 0.256em;
  object-fit: cover;
}
.is-384 {
  width: 384px;
  aspect-ratio: 1 / 1;
  border-radius: 0.384em;
  object-fit: cover;
}
.is-448 {
  width: 448px;
  aspect-ratio: 1 / 1;
  border-radius: 0.448em;
  object-fit: cover;
}
.is-512 {
  width: 512px;
  aspect-ratio: 1 / 1;
  border-radius: 0.512em;
  object-fit: cover;
}

/* Circles */
.is-circle-16 {
  width: 16px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  object-fit: cover;
}
.is-circle-24 {
  width: 24px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  object-fit: cover;
}
.is-circle-32 {
  width: 32px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  object-fit: cover;
}
.is-circle-48 {
  width: 48px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  object-fit: cover;
}
.is-circle-64 {
  width: 64px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  object-fit: cover;
}
.is-circle-96 {
  width: 96px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  object-fit: cover;
}
.is-circle-128 {
  width: 128px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  object-fit: cover;
}
.is-circle-192 {
  width: 192px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  object-fit: cover;
}
.is-circle-256 {
  width: 256px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  object-fit: cover;
}
.is-circle-384 {
  width: 384px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  object-fit: cover;
}
.is-circle-448 {
  width: 448px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  object-fit: cover;
}
.is-circle-512 {
  width: 512px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  object-fit: cover;
}

/* 4:3 */
.is-100-by-75 {
  width: 100px;
  aspect-ratio: 4 / 3;
  border-radius: 0.100em;
  object-fit: cover;
}
.is-120-by-90 {
  width: 120px;
  aspect-ratio: 4 / 3;
  border-radius: 0.120em;
  object-fit: cover;
}
.is-128-by-96 {
  width: 128px;
  aspect-ratio: 4 / 3;
  border-radius: 0.128em;
  object-fit: cover;
}
.is-160-by-120 {
  width: 160px;
  aspect-ratio: 4 / 3;
  border-radius: 0.160em;
  object-fit: cover;
}
.is-200-by-150 {
  width: 200px;
  aspect-ratio: 4 / 3;
  border-radius: 0.200em;
  object-fit: cover;
}
.is-240-by-180 {
  width: 240px;
  aspect-ratio: 4 / 3;
  border-radius: 0.240em;
  object-fit: cover;
}
.is-256-by-192 {
  width: 256px;
  aspect-ratio: 4 / 3;
  border-radius: 0.256em;
  object-fit: cover;
}
.is-320-by-240 {
  width: 320px;
  aspect-ratio: 4 / 3;
  border-radius: 0.320em;
  object-fit: cover;
}
.is-400-by-300 {
  width: 400px;
  aspect-ratio: 4 / 3;
  border-radius: 0.400em;
  object-fit: cover;
}
.is-480-by-360 {
  width: 480px;
  aspect-ratio: 4 / 3;
  border-radius: 0.480em;
  object-fit: cover;
}
.is-512-by-384 {
  width: 512px;
  aspect-ratio: 4 / 3;
  border-radius: 0.512em;
  object-fit: cover;
}
.is-640-by-480 {
  width: 640px;
  aspect-ratio: 4 / 3;
  border-radius: 0.640em;
  object-fit: cover;
}

/* 3:4 */
.is-75-by-100 {
  width: 75px;
  aspect-ratio: 3 / 4;
  border-radius: 0.075em;
  object-fit: cover;
}
.is-90-by-120 {
  width: 90px;
  aspect-ratio: 3 / 4;
  border-radius: 0.090em;
  object-fit: cover;
}
.is-96-by-128 {
  width: 96px;
  aspect-ratio: 3 / 4;
  border-radius: 0.096em;
  object-fit: cover;
}
.is-120-by-160 {
  width: 120px;
  aspect-ratio: 3 / 4;
  border-radius: 0.120em;
  object-fit: cover;
}
.is-150-by-200 {
  width: 150px;
  aspect-ratio: 3 / 4;
  border-radius: 0.150em;
  object-fit: cover;
}
.is-180-by-240 {
  width: 180px;
  aspect-ratio: 3 / 4;
  border-radius: 0.180em;
  object-fit: cover;
}
.is-192-by-256 {
  width: 192px;
  aspect-ratio: 3 / 4;
  border-radius: 0.192em;
  object-fit: cover;
}
.is-240-by-320 {
  width: 240px;
  aspect-ratio: 3 / 4;
  border-radius: 0.240em;
  object-fit: cover;
}
.is-300-by-400 {
  width: 300px;
  aspect-ratio: 3 / 4;
  border-radius: 0.300em;
  object-fit: cover;
}
.is-360-by-480 {
  width: 360px;
  aspect-ratio: 3 / 4;
  border-radius: 0.360em;
  object-fit: cover;
}
.is-384-by-512 {
  width: 384px;
  aspect-ratio: 3 / 4;
  border-radius: 0.384em;
  object-fit: cover;
}
.is-480-by-640 {
  width: 480px;
  aspect-ratio: 3 / 4;
  border-radius: 0.480em;
  object-fit: cover;
}

/* 16:9 */
.is-112-by-63 {
  width: 112px;
  aspect-ratio: 16 / 9;
  border-radius: 0.112em;
  object-fit: cover;
}
.is-128-by-72 {
  width: 128px;
  aspect-ratio: 16 / 9;
  border-radius: 0.128em;
  object-fit: cover;
}
.is-144-by-81 {
  width: 144px;
  aspect-ratio: 16 / 9;
  border-radius: 0.144em;
  object-fit: cover;
}
.is-160-by-90 {
  width: 160px;
  aspect-ratio: 16 / 9;
  border-radius: 0.160em;
  object-fit: cover;
}
.is-192-by-108 {
  width: 192px;
  aspect-ratio: 16 / 9;
  border-radius: 0.192em;
  object-fit: cover;
}
.is-224-by-126 {
  width: 224px;
  aspect-ratio: 16 / 9;
  border-radius: 0.224em;
  object-fit: cover;
}
.is-256-by-144 {
  width: 256px;
  aspect-ratio: 16 / 9;
  border-radius: 0.256em;
  object-fit: cover;
}
.is-320-by-180 {
  width: 320px;
  aspect-ratio: 16 / 9;
  border-radius: 0.320em;
  object-fit: cover;
}
.is-400-by-225 {
  width: 400px;
  aspect-ratio: 16 / 9;
  border-radius: 0.400em;
  object-fit: cover;
}
.is-480-by-270 {
  width: 480px;
  aspect-ratio: 16 / 9;
  border-radius: 0.480em;
  object-fit: cover;
}
.is-512-by-288 {
  width: 512px;
  aspect-ratio: 16 / 9;
  border-radius: 0.512em;
  object-fit: cover;
}
.is-640-by-360 {
  width: 640px;
  aspect-ratio: 16 / 9;
  border-radius: 0.640em;
  object-fit: cover;
}

/* 9:16 */
.is-63-by-112 {
  width: 63px;
  aspect-ratio: 9 / 16;
  border-radius: 0.063em;
  object-fit: cover;
}
.is-72-by-128 {
  width: 72px;
  aspect-ratio: 9 / 16;
  border-radius: 0.072em;
  object-fit: cover;
}
.is-81-by-144 {
  width: 81px;
  aspect-ratio: 9 / 16;
  border-radius: 0.081em;
  object-fit: cover;
}
.is-90-by-160 {
  width: 90px;
  aspect-ratio: 9 / 16;
  border-radius: 0.090em;
  object-fit: cover;
}
.is-108-by-192 {
  width: 108px;
  aspect-ratio: 9 / 16;
  border-radius: 0.108em;
  object-fit: cover;
}
.is-126-by-224 {
  width: 126px;
  aspect-ratio: 9 / 16;
  border-radius: 0.126em;
  object-fit: cover;
}
.is-144-by-256 {
  width: 144px;
  aspect-ratio: 9 / 16;
  border-radius: 0.144em;
  object-fit: cover;
}
.is-180-by-320 {
  width: 180px;
  aspect-ratio: 9 / 16;
  border-radius: 0.180em;
  object-fit: cover;
}
.is-225-by-400 {
  width: 225px;
  aspect-ratio: 9 / 16;
  border-radius: 0.225em;
  object-fit: cover;
}
.is-270-by-480 {
  width: 270px;
  aspect-ratio: 9 / 16;
  border-radius: 0.270em;
  object-fit: cover;
}
.is-288-by-512 {
  width: 288px;
  aspect-ratio: 9 / 16;
  border-radius: 0.288em;
  object-fit: cover;
}
.is-360-by-640 {
  width: 360px;
  aspect-ratio: 9 / 16;
  border-radius: 0.360em;
  object-fit: cover;
}

/* --------------------------------------------------------------------------
   Hand-written, not generated: the author portrait.
   -------------------------------------------------------------------------- */

.avatar {
  width: 200px;
  height: auto;
  border-radius: 50%;
}

/* ==========================================================================
   Image grid — a port of yolo-11ty's. Thumbnails laid out in flex columns;
   click one and the grid is replaced in place by a single large image with
   a caption and prev/next arrows.

   Class names are yolo-11ty's so its `ig-*.yml` data and markup carry over.
   ========================================================================== */

.columns {
  margin: -0.5rem -0.5rem 0;
}

.columns.is-mobile {
  display: flex;
}

.columns:not(:last-child) {
  margin-bottom: 0.5rem;
}

.columns:last-child {
  margin-bottom: -0.5rem;
}

.column {
  display: block;
  flex-basis: 0;
  flex-grow: 1;
  flex-shrink: 1;
  padding: 0.5rem;
}

.square {
  width: 100%;
  margin: 1rem 0;
  aspect-ratio: 1 / 1;
  border-radius: 0.256em;
  object-fit: cover;
  cursor: pointer;
}

.square:focus-visible {
  outline: 2px solid var(--code-header-bg);
  outline-offset: 2px;
}

.no-display {
  display: none;
  overflow: auto;
}

.ig-modal-content {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin: auto;
  padding: 0;
}

.ig-slides {
  text-align: center;
}

.ig-caption {
  padding: 1rem;
  text-align: center;
  color: var(--muted);
}

.ig-caption p {
  margin-bottom: 0;
}

.ig-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  padding: 1rem;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  user-select: none;
  opacity: 0.7;
  color: var(--code-header-bg);
  text-decoration: none;
  transition: 0.3s ease;
}

.ig-nav:hover,
.ig-nav:focus-visible {
  opacity: 1;
  color: var(--code-header-hover-bg);
  text-decoration: none;
}

.ig-prev {
  left: 0;
}

.ig-next {
  right: 0;
}

@media (prefers-reduced-motion: reduce) {
  .ig-nav {
    transition: none;
  }
}

/* ==========================================================================
   Video embeds, after yolo-11ty: a portrait frame with a caption under it.

   yolo-11ty pins the iframe at 300x533. That is 9:16, so setting a width and
   an aspect-ratio reproduces the same box while letting it shrink inside
   Solo's column on a narrow screen instead of overflowing.
   ========================================================================== */

.video-embed {
  width: 100%;
  margin-bottom: 1rem;
}

.video-embed iframe {
  display: block;
  width: 300px;
  max-width: 100%;
  aspect-ratio: 9 / 16;
  margin: 0 auto;  /* centred, like Solo centres images */
  border: 0;
  border-radius: 0.5em;
}

.video-embed p {
  margin: 0.5rem 0 0;
  text-align: center;
  color: var(--muted);
}

/* ==========================================================================
   Markdown features Solo's stylesheet never met, because kramdown and
   markdown-it differ on what they emit: task lists and footnotes.

   Definition lists need nothing — Solo already styles `dl` and `dd`.
   ========================================================================== */

.contains-task-list {
  padding-left: 0;
  list-style: none;
}

.task-list-item-checkbox {
  margin: 0 0.4rem 0 0;
}

.footnotes {
  font-size: 0.9rem;
  color: var(--muted);
}

.footnotes-sep {
  margin-top: 2.5rem;
}

.footnote-backref {
  text-decoration: none;
}



/* ==========================================================================
   Your own styles.

   This file is included last, so anything here wins. It ships empty on
   purpose — the theme's own rules live in the partials above, so you are
   never editing around them.
   ========================================================================== */

