/* The blog's palette (blog.parfitlabs.com), so the three sites read as one. */
:root{color-scheme:light;--bg:#ffffff;--fg:#1a1a1a;--muted:#5c5c5c;--line:#d4d4d4;--line-strong:#8f8f8f;--accent:#1d4ed8;}
@media (prefers-color-scheme:dark){:root{color-scheme:dark;--bg:#121212;--fg:#ececec;--muted:#a8a8a8;--line:#333333;--line-strong:#6b6b6b;--accent:#8ab4ff;}}
body{margin:0;background:var(--bg);color:var(--fg);font:18px/1.6 system-ui,-apple-system,sans-serif}
main{max-width:40rem;margin:0 auto;padding:4rem 1rem 4rem}
header{margin-bottom:2.5rem}
h1{font-size:1.75rem;line-height:1.2;margin:0}
.cards{display:grid;gap:1rem}
.card{display:block;padding:1.25rem 1.25rem 1rem;border:1px solid var(--line);border-radius:10px;color:var(--fg);text-decoration:none}
.card:hover{border-color:var(--line-strong)}
.card:focus-visible{outline:3px solid var(--accent);outline-offset:2px}
.card h2{font-size:1.25rem;line-height:1.25;margin:0 0 .35rem}
.card p{margin:0 0 .6rem}
.host{color:var(--muted);font-size:.85rem}
/* Alignment pages */
header{display:flex;justify-content:space-between;align-items:baseline}
header .site{font-weight:600;font-size:1.2rem}
header .site a{color:var(--fg);text-decoration:none}
header .site a:hover{text-decoration:underline}
header .up{color:var(--muted);font-size:.9rem}
article h1{margin-bottom:.2rem}
time{color:var(--muted);font-size:.9rem}
audio{display:block;width:100%;margin:1.25rem 0 .5rem}
.files{font-size:.9rem;color:var(--muted);margin-bottom:2rem}
.files a{color:var(--accent)}
.summary{border-left:3px solid var(--line-strong);padding-left:1rem;margin-bottom:2.5rem}
.summary h2{font-size:1rem;text-transform:uppercase;letter-spacing:.05em;color:var(--muted)}
.entries{list-style:none;padding:0}.entries li{margin:.6rem 0}
/* Split view (desktop, an entry with a whiteboard): the article left, the whiteboard beside it. */
.wb{display:none}
@media (min-width:1100px){
  main.wide{max-width:none;padding:1.5rem 0 0 1.5rem}
  main.wide>header{max-width:40rem}
  .split{display:grid;grid-template-columns:minmax(28rem,40rem) 1fr;gap:1.75rem;align-items:start}
  .split article{padding-bottom:4rem}
  .wb{display:flex;flex-direction:column;position:sticky;top:0;height:100vh;border-left:1px solid var(--line)}
  .wb iframe{flex:1;width:100%;border:0}
  .wb-open{font-size:.85rem;color:var(--muted);padding:.4rem .75rem;text-align:right}
}
