@charset "UTF-8";
/* Animate shared color tokens so every surface stays in sync. */
@property --paper { syntax: '<color>'; inherits: true; initial-value: #eeeeee; }
@property --primary { syntax: '<color>'; inherits: true; initial-value: #444444; }
@property --secondary { syntax: '<color>'; inherits: true; initial-value: #606060; }
@property --muted { syntax: '<color>'; inherits: true; initial-value: #606060; }
@property --sub { syntax: '<color>'; inherits: true; initial-value: #b2b2b2; }
@property --border { syntax: '<color>'; inherits: true; initial-value: #dddddd; }
@property --selection { syntax: '<color>'; inherits: true; initial-value: #dddddd; }
@property --sidebar { syntax: '<color>'; inherits: true; initial-value: #e8e8e8; }
@property --tree-line { syntax: '<color>'; inherits: true; initial-value: #cfcfcf; }
:root {
  color-scheme: light;
  /* Default font stacks from Obsidian 1.14.5. */
  --font-default: ui-sans-serif, -apple-system, BlinkMacSystemFont, system-ui, "Segoe UI", "Google Sans Flex", Roboto, "Inter Variable", "Inter", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", sans-serif;
  --font-monospace: ui-monospace, SFMono-Regular, "Cascadia Mono", "Roboto Mono", "DejaVu Sans Mono", "Liberation Mono", Menlo, Monaco, "Consolas", "Source Code Pro", monospace;
  /* Monkeytype Paper's core palette; lighter chrome is kept understated. */
  --paper: #eeeeee;
  --primary: #444444;
  --secondary: #606060;
  --muted: #606060;
  --sub: #b2b2b2;
  --border: #dddddd;
  --selection: #dddddd;
  --sidebar: #e8e8e8;
  --tree-line: #cfcfcf;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    color-scheme: dark;
    --paper: #1e1e1e;
    --primary: #d4d4d4;
    --secondary: #aaaaaa;
    --muted: #aaaaaa;
    --sub: #888888;
    --border: #363636;
    --selection: #3b3b3b;
    --sidebar: #252525;
    --tree-line: #444444;
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --paper: #1e1e1e;
  --primary: #d4d4d4;
  --secondary: #aaaaaa;
  --muted: #aaaaaa;
  --sub: #888888;
  --border: #363636;
  --selection: #3b3b3b;
  --sidebar: #252525;
  --tree-line: #444444;
}
:root.theme-ready {
  transition: --paper 240ms ease, --primary 240ms ease,
    --secondary 240ms ease, --muted 240ms ease, --sub 240ms ease,
    --border 240ms ease, --selection 240ms ease,
    --sidebar 240ms ease, --tree-line 240ms ease;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 64px; }
body { margin: 0; background: var(--paper); color: var(--primary); font: 14px/1.7 var(--font-default); -webkit-font-smoothing: antialiased; }
p, h1, h2, h3 { margin: 0; }
a { color: inherit; text-underline-offset: 3px; }
a:focus-visible, summary:focus-visible, pre:focus-visible, input:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; border-radius: 3px; }
::selection { background: var(--selection); }
.skip-link { position: fixed; top: -100px; left: 16px; padding: 7px 12px; background: var(--primary); color: var(--paper); z-index: 10; }
.skip-link:focus { top: 8px; }
.icon { width: 16px; height: 16px; flex: 0 0 16px; }
.workspace { display: grid; grid-template-columns: 256px minmax(0, 1fr); min-height: 100vh; }
.sidebar { font-family: var(--font-default); font-weight: 400; letter-spacing: normal; position: sticky; top: 0; align-self: start; height: 100vh; display: flex; flex-direction: column; background: var(--sidebar); border-right: 1px solid var(--border); }
.vault-name { display: block; padding: 19px 20px 16px; border-bottom: 1px solid var(--border); text-decoration: none; font-size: 13px; font-weight: 500; line-height: 1.5; }
.vault-name span { display: block; color: var(--secondary); font-size: 11px; font-weight: 400; margin-top: 3px; }
.desktop-explorer { min-height: 0; overflow-y: auto; padding: 17px 10px; }
/* Obsidian-style navigator: quiet labels, disclosure chevrons, no file glyphs. */
.explorer-label { display: none; }
.file-tree { color: var(--secondary); font-size: 13px; font-weight: 400; }
.file-link, .folder > summary { position: relative; display: flex; align-items: center; min-height: 28px; border-radius: 4px; padding: 4px 8px 4px 24px; line-height: 1.5; text-decoration: none; }
.file-link { margin: 0 0 2px; }
.file-link > span, .folder > summary > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-tree .icon-file, .file-tree .icon-folder { display: none; }
.file-link:hover, .folder > summary:hover { background: var(--border); color: var(--primary); }
.file-link[aria-current="page"] { background: var(--selection); color: var(--primary); font-weight: 400; }
.folder { margin-top: 2px; }
.folder > summary { cursor: pointer; list-style: none; }
.folder > summary::-webkit-details-marker, .mobile-explorer > summary::-webkit-details-marker { display: none; }
.folder > summary .icon-chevron { position: absolute; left: 6px; width: 12px; height: 12px; color: var(--secondary); transition: transform 180ms cubic-bezier(.2, 0, 0, 1); }
.folder:not([data-expanded])[open] > summary .icon-chevron, .folder[data-expanded="true"] > summary .icon-chevron { transform: rotate(90deg); }
.folder[data-animating] { overflow: clip; }
.folder-files { margin: 0 0 2px 12px; padding-left: 4px; border-left: 1px solid var(--tree-line); }
.sidebar-links { margin-top: auto; padding: 15px 19px; border-top: 1px solid var(--border); display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 11px; }
.sidebar-links a { text-decoration: none; }
.sidebar-links a:hover { text-decoration: underline; }
.mobile-explorer { display: none; }
.workspace-main { min-width: 0; }
.document-bar { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; gap: 9px; min-height: 44px; padding: 9px 24px; background: var(--paper); border-bottom: 1px solid var(--border); font-size: 12px; line-height: 1.5; }
.document-bar .icon { color: var(--secondary); width: 14px; height: 14px; flex-basis: 14px; }
.document-folder { color: var(--secondary); flex-shrink: 0; }
.document-name { min-width: 0; overflow-wrap: anywhere; }
.theme-control { margin-left: auto; flex-shrink: 0; }
.theme-control[hidden] { display: none; }
/* Sun/moon morph, scoped and sized for the filename bar. */
.switch {
  --switch-ink: #1e1e1e;
  --switch-paper: #eeeeee;
  --switch-duration: 0.4s;
  --switch-timing: cubic-bezier(0.65, 0, 0.35, 1);
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  font-size: 14px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.switch__input, .switch__input::before { background: var(--switch-ink); }
.switch__input {
  position: relative;
  display: block;
  width: 3em;
  height: 1.5em;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0.75em;
  font: inherit;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  transition: background-color var(--switch-duration) var(--switch-timing);
}
.switch__input:focus-visible { border-radius: 0.75em; }
.switch__input::before {
  content: '';
  display: block;
  position: absolute;
  top: 0.125em;
  left: 0.125em;
  width: 1.25em;
  height: 1.25em;
  border-radius: 50%;
  transition: background-color var(--switch-duration) var(--switch-timing), transform var(--switch-duration) var(--switch-timing);
}
.switch__icon, .switch__icon-part { display: block; position: absolute; top: 0; left: 0; }
.switch__icon {
  top: calc(50% - 0.625em);
  left: 0.125em;
  width: 1.25em;
  height: 1.25em;
  overflow: hidden;
  border-radius: 50%;
  background: var(--switch-paper);
  pointer-events: none;
  transition: transform var(--switch-duration) var(--switch-timing);
}
.switch__icon-part { transition: box-shadow var(--switch-duration) var(--switch-timing), transform var(--switch-duration) var(--switch-timing); }
.switch__icon-part--1, .switch__icon-part--2, .switch__icon-part--3 { border-radius: 50%; }
.switch__icon-part--1 { top: calc(50% - 0.375em); left: calc(50% - 0.375em); width: 0.75em; height: 0.75em; background: var(--switch-paper); }
.switch__icon-part--2 { top: calc(50% - 0.4375em); left: calc(50% - 0.0625em); width: 0.5em; height: 0.5em; background: var(--switch-ink); transform: translate(-0.1875em, 0.1875em) scale(0.2); }
.switch__icon-part--3 { width: 1.25em; height: 1.25em; box-shadow: 0 0 0 0.625em var(--switch-ink) inset; transform: scale(0.25); }
.switch__icon-part--3 ~ .switch__icon-part { top: 50%; left: 50%; width: 0.125em; height: 0.1875em; border-radius: 0.0625em; background: var(--switch-ink); transform-origin: 50% 0; transform: translateX(-50%) rotate(var(--ray-angle)) translateY(0.25em); }
.switch__icon-part--4 { --ray-angle: 0deg; }
.switch__icon-part--5 { --ray-angle: 45deg; }
.switch__icon-part--6 { --ray-angle: 90deg; }
.switch__icon-part--7 { --ray-angle: 135deg; }
.switch__icon-part--8 { --ray-angle: 180deg; }
.switch__icon-part--9 { --ray-angle: 225deg; }
.switch__icon-part--10 { --ray-angle: 270deg; }
.switch__icon-part--11 { --ray-angle: 315deg; }
.switch__input:checked { background: var(--switch-paper); }
.switch__input:checked::before, .switch__input:checked ~ .switch__icon { transform: translateX(1.5em); }
.switch__input:checked ~ .switch__icon .switch__icon-part--2 { transform: translate(0, 0) scale(1); }
.switch__input:checked ~ .switch__icon .switch__icon-part--3 { box-shadow: 0 0 0 0.25em var(--switch-ink) inset; transform: scale(1); }
.switch__input:checked ~ .switch__icon .switch__icon-part--3 ~ .switch__icon-part { transform: translateX(-50%) rotate(var(--ray-angle)) translateY(0.625em) scale(0); }
.switch__sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.error-toolbar { display: flex; padding: 12px 20px; }
.reading-layout { display: grid; grid-template-columns: minmax(0, 680px) 176px; gap: 56px; max-width: 1016px; margin: 0 auto; padding: 58px 42px 60px; }
.page { min-width: 0; outline: none; }
h1 { font-size: 32px; font-weight: 600; line-height: 1.25; letter-spacing: -.035em; }
.subtitle { color: var(--secondary); margin-top: 10px; font-size: 13px; }
.bio { display: grid; gap: 12px; margin-top: 24px; }
.bio p { color: var(--secondary); }
.contact-links { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 18px; font-size: 12px; }
.section { margin-top: 33px; scroll-margin-top: 64px; }
.section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding-bottom: 9px; border-bottom: 1px solid var(--border); }
h2 { font-size: 19px; font-weight: 550; letter-spacing: -.02em; line-height: 1.45; }
.section-heading > a { font-size: 11px; color: var(--secondary); text-decoration: none; }
.section-heading > a:hover { text-decoration: underline; }
h3 { font-size: 14px; font-weight: 550; line-height: 1.6; }
.note-row { display: block; padding: 14px 0; border-bottom: 1px solid var(--border); text-decoration: none; }
.note-row p { font-size: 12px; line-height: 1.75; color: var(--secondary); margin-top: 4px; }
.note-row:hover h3 { text-decoration: underline; text-underline-offset: 3px; }
.sample-label { display: inline-block; font-weight: 400; color: var(--secondary); font-size: 10px; margin-left: 7px; }
.entry { margin-top: 16px; }
.entry-role { display: block; color: var(--secondary); font-size: 11px; margin-top: 2px; }
.entry p { color: var(--secondary); font-size: 12px; line-height: 1.75; margin-top: 6px; }
.awards-list { list-style: none; padding: 0; margin: 8px 0 0; }
.awards-list li { display: flex; justify-content: space-between; gap: 14px; padding: 7px 0; font-size: 12px; }
.awards-list li span:last-child { color: var(--secondary); text-align: right; }
.page-footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; border-top: 1px solid var(--border); padding-top: 16px; margin-top: 36px; color: var(--secondary); font-size: 11px; }
.page-footer a { text-decoration: none; }
.page-footer a:hover { text-decoration: underline; }
.outline { position: sticky; top: 76px; align-self: start; font-size: 11px; }
.outline > p { margin-bottom: 12px; color: var(--secondary); }
.outline nav { display: grid; border-left: 1px solid var(--border); }
.outline a { padding: 5px 0 5px 12px; color: var(--secondary); text-decoration: none; line-height: 1.6; }
.outline a:hover { color: var(--primary); text-decoration: underline; }
.note-header h1 { max-width: 620px; }
.note-status, .note-kind { display: block; font-size: 11px; color: var(--secondary); margin-bottom: 13px; }
.note-intro { margin-top: 18px; font-size: 15px; color: var(--secondary); }
.sample-notice { margin-top: 23px; padding: 10px 14px; border-left: 2px solid var(--sub); color: var(--secondary); font-size: 12px; }
.prose section { margin-top: 30px; scroll-margin-top: 64px; }
.prose h2 { margin-bottom: 12px; }
.prose p, .prose ul { margin-top: 12px; color: var(--secondary); line-height: 1.85; }
.prose ul { padding-left: 20px; }
.prose li { margin-top: 5px; }
.prose code { font-family: var(--font-monospace); font-size: .9em; }
.prose p code { padding: 2px 4px; background: var(--border); border-radius: 3px; }
.prose pre { overflow-x: auto; max-width: 100%; padding: 18px; margin: 19px 0; background: var(--sidebar); border: 1px solid var(--border); border-radius: 4px; line-height: 1.8; font-size: 12px; }
.repository-url { font-size: 11px; overflow-wrap: anywhere; }
.wikilink { text-decoration: underline; }
.not-found { max-width: 640px; margin: 10vh auto; padding: 30px; }
.not-found h1 { margin: 12px 0; }
.not-found p { color: var(--secondary); margin-bottom: 20px; }
@media (max-width: 1190px) {
  .reading-layout { grid-template-columns: minmax(0, 680px); max-width: 764px; padding: 48px 40px; }
  .outline { display: none; }
}
@media (max-width: 700px) {
  .workspace { display: block; }
  .sidebar { position: static; height: auto; border-right: 0; border-bottom: 1px solid var(--border); }
  .vault-name { padding: 12px 18px 10px; border-bottom: 0; }
  .vault-name span { display: none; }
  .desktop-explorer { display: none; }
  .mobile-explorer { display: block; padding: 0 10px 8px; }
  .mobile-explorer > summary { display: flex; align-items: center; cursor: pointer; list-style: none; gap: 8px; padding: 5px 8px; font-size: 12px; border-radius: 4px; }
  .mobile-explorer > summary .icon-chevron { width: 12px; height: 12px; flex-basis: 12px; margin-left: auto; transition: transform 180ms ease; }
  .mobile-explorer[open] > summary .icon-chevron { transform: rotate(90deg); }
  .mobile-explorer .file-tree { padding-top: 6px; }
  .sidebar-links { display: none; }
  .mobile-explorer[open] + .sidebar-links { display: flex; margin-top: 0; padding: 11px 18px; }
  .document-bar { padding: 9px 20px; min-height: 42px; font-size: 11px; gap: 7px; }
  .reading-layout { display: block; max-width: 650px; padding: 32px 22px 40px; }
  h1 { font-size: 29px; }
  h2 { font-size: 18px; }
  .bio { font-size: 13px; }
  .section { margin-top: 29px; }
  .prose { font-size: 13px; }
}
@media (max-width: 380px) {
  .reading-layout { padding-left: 20px; padding-right: 20px; }
  .document-folder { display: none; }
  .awards-list li { flex-direction: column; gap: 0; }
  .awards-list li span:last-child { text-align: left; }
  .sample-label { display: block; margin-left: 0; margin-top: 2px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  :root.theme-ready { transition: none; }
  .folder > summary .icon-chevron, .mobile-explorer > summary .icon-chevron,
  .switch__input, .switch__input::before, .switch__icon, .switch__icon-part { transition: none; }
}
@media print {
  :root.theme-ready { transition: none; }
  :root, :root[data-theme], :root:not([data-theme]) { color-scheme: light; --paper: white; --primary: black; --secondary: #444444; --muted: #444444; --sub: #777777; --border: #dddddd; --sidebar: #eeeeee; --selection: #dddddd; --tree-line: #cccccc; }
  body { background: white; color: black; }
  .theme-control, .error-toolbar { display: none; }
  .workspace, .reading-layout { display: block; }
  .sidebar, .outline, .document-bar, .skip-link, .page-footer { display: none; }
  .reading-layout { max-width: none; padding: 0; }
  .entry, .note-row { break-inside: avoid; }
}
