/* Shared styles for the lecture-materials site. Linked via the ROOT-ABSOLUTE path
   /assets/style.css from every page (D652: all links are root-absolute, never relative —
   relative paths accumulated broken history-navigation paths in the R7 model). */
:root { --fg: #1f2933; --muted: #6b7280; --accent: #1e40af; --line: #78818f; --bg: #f8fafc; }
/* t1467 (D666): --accent darkened 4.94:1->8.34:1 (body-level text needs 7:1); --line darkened
   1.18:1->3.76:1 (non-text needs 3:1). --fg/--muted untouched: already 14.10:1 / 4.62:1, both
   pass; --muted has only 0.12 headroom above the 4.5 floor so it is not lightened further. */
* { box-sizing: border-box; }
body {
  font-family: system-ui, -apple-system, "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  color: var(--fg); background: var(--bg); line-height: 1.7; margin: 0;
  font-feature-settings: "palt";
}
.card, main { max-width: 760px; margin: 0 auto; padding: 2rem 1.25rem; }
h1 { font-size: 1.6rem; border-bottom: 2px solid var(--line); padding-bottom: .5rem; }
h2 { font-size: 1.2rem; margin-top: 2rem; }
a { color: var(--accent); }
a:hover { text-decoration-thickness: 2px; }
.muted { color: var(--muted); font-size: 1rem; }
.crumbs { font-size: 1rem; color: var(--muted); margin-bottom: 1rem; }
ul.lessons { list-style: none; padding: 0; }
ul.lessons li { border: 1px solid var(--line); border-radius: 8px; padding: .75rem 1rem; margin-bottom: .6rem; background: #fff; }
ul.lessons .links a { margin-right: 1rem; }
.updated { color: var(--muted); font-size: 1rem; margin-top: 2rem; border-top: 1px solid var(--line); padding-top: .75rem; }
.material-list { padding-left: 1.2rem; }
