/* Local system fonts, no build step or third-party requests. */
:root{color-scheme:light;--paper:#fcfbf8;--ink:#242321;--muted:#69665f;--line:#dfdcd5;--accent:#8a422b;--hover:#00000008}
*{box-sizing:border-box}html{font-size:18px}body{margin:0;background:var(--paper);color:var(--ink);font-family:Georgia,"Times New Roman",serif;line-height:1.65}a{color:inherit;text-underline-offset:.2em}a:hover{color:var(--accent)}img{display:block;max-width:100%;height:auto}h1,h2,h3{line-height:1.17;letter-spacing:-.025em;font-weight:500;overflow-wrap:anywhere}h1{font-size:clamp(2rem,6vw,3rem);margin:.4em 0}h2{font-size:1.65rem;margin:.3em 0}p{margin:.7em 0 1em}.shell{max-width:760px;padding:2.4rem 1.25rem 4rem;margin:auto;min-height:45vh}.section-title{font: .8rem/1.5 system-ui,sans-serif;letter-spacing:.12em;text-transform:uppercase;color:var(--muted);margin:0 0 1.8rem}.intro{font-size:1.2rem;color:var(--muted)}.feed-item{padding:1.8rem 0;border-bottom:1px solid var(--line)}.feed-item:first-of-type{padding-top:0}.feed-item h2 a{text-decoration:none}time,.eyebrow,.permalink,.pagination,.footer,.back{font:.75rem/1.6 system-ui,sans-serif;color:var(--muted)}.summary{color:var(--muted);margin:.55rem 0 0}.article-heading{margin-bottom:2rem}.hero{margin:2rem 0}.prose{overflow-wrap:anywhere}.prose p{margin:0 0 1.3em}.prose h2,.prose h3{margin-top:1.6em}.prose blockquote{border-left:2px solid var(--line);margin:1.6rem 0;padding-left:1.2rem;color:var(--muted)}.prose a{text-decoration-thickness:1px}.prose hr{border:0;border-top:1px solid var(--line);margin:2rem 0}.note .prose{font-size:1.05rem}.note-image{margin:1rem 0}.permalink{display:inline-block;margin-top:.4rem}.note-single{padding-top:1rem}.book-row{display:flex;align-items:flex-start;gap:1.4rem}.book-row img{width:76px;flex-shrink:0}.book-row h2{font-size:1.4rem}.eyebrow{margin:0 0 .4rem}.book-heading{display:flex;gap:1.5rem;align-items:flex-start}.book-heading img{width:120px}.book-heading h1{font-size:2.2rem}.pagination{display:flex;flex-wrap:wrap;justify-content:space-between;gap:1rem;margin-top:2rem}.footer{display:flex;align-items:center;gap:1rem;max-width:820px;border-top:1px solid var(--line);margin:auto;padding:1rem 1.25rem}.footer-copyright{margin-left:auto;text-align:right}.empty{color:var(--muted)}.skip{position:absolute;top:-5rem;left:1rem;background:var(--paper);padding:.5rem;z-index:100}.skip:focus{top:.5rem}.search-form{font-family:system-ui,sans-serif;font-size:.85rem;margin-bottom:2rem}.search-form label{display:block;margin-bottom:.5rem}.search-form div{display:flex;gap:.5rem}.search-form input{min-width:0;flex:1}.search-form input,.search-form button{font:inherit;padding:.65rem;background:var(--paper);border:1px solid var(--line);color:var(--ink)}.search-form button{cursor:pointer}.back{margin-top:2rem}@media(max-width:480px){html{font-size:17px}.shell{padding-top:1.8rem}.book-heading{display:block}.book-heading img{margin-bottom:1rem;width:95px}}

:root[data-theme="dark"]{color-scheme:dark;--paper:#1d1c1a;--ink:#f1ede6;--muted:#bab3a9;--line:#504b44;--accent:#efa88b;--hover:#ffffff12}
@media (prefers-color-scheme: dark){
  :root:not([data-theme]){color-scheme:dark;--paper:#1d1c1a;--ink:#f1ede6;--muted:#bab3a9;--line:#504b44;--accent:#efa88b;--hover:#ffffff12}
}
.theme-picker{
  display:inline-flex;
  flex:none;
  gap:2px;
  min-inline-size:0;
  margin:0;
  padding:2px;
  border:1px solid var(--line);
  border-radius:999px;
  background:var(--hover);
}
.theme-picker[hidden]{display:none}
.theme-picker label{position:relative;cursor:pointer}
.theme-picker input{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:pointer}
.theme-picker span{
  display:grid;
  place-items:center;
  width:32px;
  height:32px;
  color:var(--muted);
  border:1px solid transparent;
  border-radius:999px;
}
.theme-picker label:hover span{color:var(--ink)}
.theme-picker input:checked + span{
  color:var(--paper);
  background:var(--ink);
  border-color:var(--ink);
}
.theme-picker input:focus-visible + span{background:var(--hover);color:var(--accent)}

.masthead {
  --header-rule: light-dark(#e2e2e2, #414141);
  --header-hover: light-dark(#eee, #303030);
  background: light-dark(#fdfdfd, var(--paper));
  color: light-dark(#333, var(--ink));
}

.masthead-title {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  align-items: center;
  min-height: 69px;
  padding: 0 4px;
  text-align: center;
}

.brand {
  grid-column: 2;
  justify-self: center;
  font-size: 28px;
  line-height: 1.2;
  font-weight: 700;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.masthead nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  border-block: 1px solid var(--header-rule);
  font: 14px/1.5 system-ui, sans-serif;
}

.masthead nav a {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 48px;
  padding: 0 12px;
  text-decoration: none;
}

.masthead nav a:hover,
.masthead nav a:focus-visible {
  background: var(--header-hover);
  color: inherit;
}

.masthead nav [aria-current="page"] {
  font-weight: 700;
}

.masthead nav [aria-current="page"]::after {
  position: absolute;
  inset: auto 12px -1px;
  z-index: 1;
  height: 3px;
  background: currentColor;
  content: "";
}

.prose pre {
    overflow-x: auto;
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: .4rem;
}

.prose table {
    display: block;
    max-width: 100%;
    overflow-x: auto;
    border-collapse: collapse;
}

.prose :is(th, td) {
    padding: .45em .7em;
    border: 1px solid var(--line);
}

.prose .task-list-item { list-style: none; }
.prose .footnotes { font-size: .9em; }
.prose summary { cursor: pointer; }

.prose .article-link-button a {
    display: inline-block;
    padding: .35em .75em;
    border: 1px solid currentColor;
    border-radius: .4rem;
    text-decoration: none;
}

@media (forced-colors: none) {
  :where(a, button, input):focus-visible { outline: none; }
  a:focus-visible { text-decoration: underline; }
  button:focus-visible,
  .search-form input:focus-visible { background: var(--hover); }
}
