:root { color-scheme: light dark; --fg: #1d1d1f; --muted: #6e6e73; --line: #e3e3e8; --accent: #0b57d0; --bg: #fff; --soft: #f5f5f7; }
@media (prefers-color-scheme: dark) { :root { --fg: #f2f2f5; --muted: #a1a1a6; --line: #3a3a3e; --accent: #7cacf8; --bg: #1c1c1e; --soft: #2c2c2e; } }
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 16px/1.6 system-ui, "PingFang SC", "Noto Sans SC", sans-serif; }
.top { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .75rem 1.25rem; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.top nav { display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; }
.brand { font-weight: 600; color: var(--fg); }
main { max-width: 60rem; margin: 2rem auto; padding: 0 1.25rem; }
h1 { font-size: 1.7rem; margin: 0 0 1rem; } h2 { font-size: 1.2rem; margin: 2rem 0 .5rem; } h3 { font-size: 1.05rem; margin: 1.25rem 0 .25rem; }
a { color: var(--accent); text-decoration: none; } a:hover { text-decoration: underline; }
.muted, .en, .who, .crumbs { color: var(--muted); }
.muted.small { font-size: .85rem; }
table { width: 100%; border-collapse: collapse; margin: .5rem 0; }
th, td { text-align: left; padding: .5rem .4rem; border-bottom: 1px solid var(--line); vertical-align: middle; }
th { font-weight: 500; color: var(--muted); font-size: .9rem; }
.actions { display: flex; gap: .5rem; flex-wrap: wrap; }
.button, button { display: inline-block; padding: .35rem .8rem; border-radius: .4rem; border: 1px solid var(--accent); background: var(--accent); color: var(--bg); font: inherit; cursor: pointer; }
.button:hover, button:hover { text-decoration: none; opacity: .9; }
.button.secondary { background: transparent; color: var(--accent); }
.button.small { padding: .05rem .5rem; font-size: .85rem; }
.button.big { padding: .6rem 1.2rem; font-size: 1.1rem; }
button.link { background: none; border: none; color: var(--accent); padding: 0; }
form.inline { display: inline; }
.card { display: grid; gap: .6rem; max-width: 28rem; padding: 1rem; border: 1px solid var(--line); border-radius: .6rem; background: var(--soft); }
.card label { display: grid; gap: .2rem; }
.card label.check { display: flex; gap: .5rem; align-items: center; }
input, select { font: inherit; padding: .35rem .5rem; border: 1px solid var(--line); border-radius: .35rem; background: var(--bg); color: var(--fg); }
.note, .banner { padding: .75rem 1rem; border-radius: .6rem; background: var(--soft); }
.banner { border: 1px solid var(--accent); }
ul.lessons { padding-left: 1.2rem; } ul.lessons li { margin: .3rem 0; }
@media (max-width: 40rem) { th:nth-child(2), td:nth-child(2) { display: none; } }
.foot { display: flex; gap: 1.25rem; flex-wrap: wrap; max-width: 60rem; margin: 3rem auto 2rem; padding: 1rem 1.25rem 0; border-top: 1px solid var(--line); font-size: .85rem; }
.legal { max-width: 46rem; } .legal h2 { margin-top: 1.75rem; } .legal li { margin: .25rem 0; }
.legal .summary { padding: .75rem 1rem; border-radius: .6rem; background: var(--soft); }
.legal hr { border: none; border-top: 1px solid var(--line); margin: 3rem 0; }
