:root {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  color: #242130; background: #f5f2f7;
}
* { box-sizing: border-box; }
body { margin: 0; }
header { border-bottom: 1px solid #e6dfeb; background: #fdfcfe; }
.bar, main { max-width: 1000px; margin: 0 auto; padding: 0 24px; }
.bar, .brand, nav, .candidates li, .candidates li > div { display: flex; align-items: center; gap: 12px; }
.bar { justify-content: space-between; min-height: 62px; flex-wrap: wrap; padding-block: 12px; }
.brand { font-size: 16px; font-weight: 650; text-decoration: none; color: inherit; }
a { color: #573e96; text-underline-offset: 3px; }
nav { flex-wrap: wrap; font-size: 13px; }
nav a { padding: 6px; text-decoration: none; }
nav a[aria-current] { border-bottom: 2px solid #7556b7; }
main { padding-block: clamp(20px, 5vw, 52px); }
h1 { font-size: clamp(23px, 3vw, 30px); margin: 0 0 16px; }
h2 { font-size: 18px; margin: 0; }
p { color: #635e6e; line-height: 1.65; }
.lead { margin-bottom: 26px; }
.cards { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.download, section { border: 1px solid #e4dfeb; border-radius: 15px; padding: 22px; background: white; }
section + section { margin-top: 20px; }
.download h2 { font-size: 21px; }
.button, button { display: inline-block; border: 0; border-radius: 8px; background: #6148a3; color: white; font: inherit; font-size: 14px; font-weight: 600; padding: 9px 15px; cursor: pointer; text-decoration: none; }
.button:hover, button:hover { background: #4e378b; }
.meta, .empty, details { color: #676171; font-size: 14px; }
.empty { margin: 18px 0 2px; }
details { margin-top: 16px; }
summary { cursor: pointer; }
code { display: block; overflow-wrap: anywhere; margin-top: 8px; }
.candidates { list-style: none; padding: 0; margin: 10px 0 0; }
.candidates li { justify-content: space-between; flex-wrap: wrap; border-top: 1px solid #ede9f0; padding: 13px 0; }
.candidates li:last-child { padding-bottom: 0; }
.table { overflow-x: auto; margin-top: 14px; }
table { border-collapse: collapse; width: 100%; font-size: 14px; }
td, th { text-align: left; padding: 12px 8px; white-space: nowrap; border-bottom: 1px solid #ede9f0; }
th { font-weight: 500; color: #686271; }
.tag { color: #5c468f; background: #eee9f7; padding: 2px 5px; border-radius: 4px; font-size: 12px; }
.conflict { color: #91481e; font-size: 14px; }
