* { box-sizing: border-box; }
:root { font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: #1d1d1f; background: #f5f5f7; color-scheme: light; --text: #1d1d1f; --muted: #60656d; --accent: #426a95; --border: #e1e3e7; --soft: #f1f2f4; }
body { margin: 0; font-size: 16px; line-height: 1.5; }
a { color: var(--accent); text-decoration: none; text-underline-offset: 3px; }
a:focus-visible { outline: 3px solid #7599bd; outline-offset: 3px; border-radius: 5px; }
.index { width: min(100% - 48px, 860px); margin: 36px auto 64px; }
h1 { margin: 0 0 20px; font-size: 26px; font-weight: 600; line-height: 1.3; letter-spacing: -.6px; }
.card { overflow: hidden; background: #fff; border: 1px solid var(--border); border-radius: 10px; }
.course { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 94px; padding: 20px 24px; color: var(--text); }
.course + .course { border-top: 1px solid var(--border); }
.course:hover { background: #fafbfc; }
.course:focus-visible { outline-offset: -4px; }
.course-body { min-width: 0; }
.course-title { display: block; font-size: 17px; font-weight: 600; }
.course-description { display: block; margin-top: 4px; color: var(--muted); font-size: 14px; }
.status { flex-shrink: 0; color: var(--muted); background: var(--soft); padding: 4px 8px; border-radius: 5px; font-size: 14px; }
.back { display: inline-flex; align-items: center; min-height: 44px; margin-bottom: 16px; font-size: 14px; text-decoration: underline; }
.empty { padding: 24px; }
.empty p { margin: 0; color: var(--muted); }
@media (max-width: 500px) { .index { width: calc(100% - 32px); margin-top: 24px; } h1 { font-size: 24px; } .course { padding: 18px; gap: 16px; flex-wrap: wrap; } .course-body { flex: 1 1 175px; } }
