:root {
  --bg: #fdfdfc;
  --fg: #1f1f1f;
  --muted: #666;
  --link: #0b5cad;
  --line: #bbb;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #161616;
    --fg: #e6e6e6;
    --muted: #999;
    --link: #7ab7ff;
    --line: #555;
  }
}
body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--fg);
  line-height: 1.6;
  margin: 0 auto;
  padding: 0 1rem;
}
a { color: var(--link); }
header { margin: 1.5rem 0; text-align: center; }
header h1, header p { margin: 0; }
footer { margin: 1.5rem 0; }
footer { color: var(--muted); }
.meta, small { color: var(--muted); }
ul.entries { padding-left: 0; list-style: none; }
ul.entries li { margin: 0.5rem 0; }
img, pre { max-width: 100%; overflow-x: auto; }
.share { display: flex; flex-wrap: wrap; gap: 0.5rem 1rem; margin: 1rem 0; }
.share button {
  font: inherit;
  color: var(--link);
  background: none;
  border: 0;
  padding: 0;
  text-decoration: underline;
  cursor: pointer;
}
h1 { font-size: 1.8rem; margin: 1rem 0; }
.site-title { font-family: var(--mono); font-weight: 600; font-size: 1.8rem; color: inherit; text-decoration: none; }
.site-title:hover, .site-title:focus-visible { text-decoration: underline; }
.tree { font-family: var(--mono); font-size: 0.9rem; overflow-wrap: anywhere; }
.tree ul { list-style: none; margin: 0; padding: 0; }
.tree .dir { font-weight: 600; }
.tree > ul > li { margin: 1rem 0; }
.tree ul ul > li { position: relative; padding-left: 1.6em; }
.tree ul ul > li::before { content: ""; position: absolute; left: 0; top: 0.8em; width: 1.2em; border-top: 1px solid var(--line); }
.tree ul ul > li::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; border-left: 1px solid var(--line); }
.tree ul ul > li:last-child::after { bottom: auto; height: 0.8em; }
.tree .summary { font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; font-size: 0.85rem; color: var(--muted); padding-left: 1.6em; }
.tree .summary > :first-child { margin-top: 0.25rem; }
.tree .empty { color: var(--muted); font-style: italic; }
.pane summary { list-style: none; cursor: pointer; }
.pane summary::-webkit-details-marker { display: none; }
.pane summary::before { content: "\25B8\00a0"; }
.pane details[open] > summary::before { content: "\25BE\00a0"; }
.pane summary:focus-visible { outline: 2px solid var(--link); outline-offset: 2px; }
.layout { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 2rem; }
main { max-width: 40rem; min-width: 0; }
.pane { border-right: 1px solid var(--line); padding-right: 1rem; }
.pane-toggle { position: sticky; top: 0; }
.pane-toggle[open] { width: 20rem; }
.pane-toggle > summary { font-family: var(--mono); font-weight: 600; }
.tree a[aria-current="page"] { font-weight: 700; }
@media (max-width: 48rem) {
  .layout { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .pane-toggle { position: static; }
  .pane { border-right: 0; padding-right: 0; border-bottom: 1px solid var(--line); }
  .pane-toggle[open] { width: auto; }
}
