/* Match (/match): topics, laws, results. Colors and type come from site.css. Party color appears on the party tag only. */
.vm-form{display:flex;flex-direction:column;gap:16px;min-width:0}
.vm-list{margin:0;padding-left:22px;max-width:760px;display:flex;flex-direction:column;gap:8px;font-size:16px;line-height:25px}
.vm-priv{max-width:680px}
.vm-topics{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:12px}
.vm-topic,.vm-law{margin:0;min-width:0;padding:12px 16px 14px;background:var(--raised);border:1px solid var(--line);border-radius:4px}
/* the legend is set inside the box (floated to full width), so a title of several lines does not cut the border */
.vm-topic legend,.vm-law legend{float:left;width:100%;padding:0;font-family:var(--display);font-weight:700;font-size:17px;line-height:24px}
.vm-topic legend+*,.vm-law legend+*{clear:both}
.vm-law legend{font-size:19px;line-height:26px;margin-bottom:2px}
.vm-law{display:block;max-width:820px}
.vm-law p{margin-top:4px;max-width:720px}
.vm-law .vm-eye{margin-top:0}
.vm-radios{display:flex;flex-wrap:wrap;gap:4px 8px;margin-top:8px}
.vm-radios label{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:0 14px 0 10px;border:1px solid var(--edge);border-radius:4px;background:var(--raised);font-size:16px;font-weight:600;cursor:pointer}
.vm-radios input{width:20px;height:20px;margin:0;accent-color:var(--brand)}
.vm-radios label:has(input:checked){background:var(--inset);border-color:var(--brand);box-shadow:inset 0 0 0 1px var(--brand)}
.vm-radios label:has(input:focus-visible){outline:2px solid var(--brand);outline-offset:2px}
.vm-group{display:flex;flex-direction:column;gap:12px;margin-top:8px}
.vm-group h3 .small{font-family:var(--text);font-weight:400;margin-left:8px}
.vm-actions{display:flex;flex-wrap:wrap;align-items:center;gap:12px}
.btn.ghost.vm-ghost,.js .btn.ghost.vm-ghost{display:inline-flex;align-self:center;height:48px;cursor:pointer;font-family:inherit}
.vm-again{flex-direction:row;flex-wrap:wrap;align-items:center;gap:8px 20px}
.vm-fig{font-family:var(--data);font-weight:500;font-variant-numeric:tabular-nums;font-size:16px;color:var(--ink)}
.vm-fig.big{font-size:24px;line-height:32px;min-width:64px}
.vm-nofig{font-size:14px;line-height:21px;color:var(--muted)}
.vm-partial{display:inline-block}
.vm-who{display:flex;flex-wrap:wrap;align-items:baseline;gap:2px 10px;font-family:var(--text);font-weight:400;font-size:15px;line-height:22px}
.vm-who+.vm-who{margin-top:6px}
.vm-where{flex-basis:100%;font-size:12px;line-height:16px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}
.vm-who a{font-weight:600}
.vm-people{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:10px 24px}
.vm-people .vm-who+.vm-who{margin-top:0}
.vm-people.own{padding:14px 16px;background:var(--raised);border:1px solid var(--line);border-radius:4px}
.vm-ranks{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px}
.vm-rank{display:flex;flex-direction:column;gap:6px;padding:12px 16px 14px;background:var(--raised);border:1px solid var(--line);border-radius:4px}
.vm-rhead{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 14px}
.vm-n{font-family:var(--data);font-size:14px;color:var(--muted);min-width:28px}
.vm-place{font-family:var(--display);font-weight:700;font-size:18px;line-height:26px}
.vm-more{display:inline}
.vm-more summary{display:inline;cursor:pointer;color:var(--brand);text-decoration:underline;text-underline-offset:3px;margin-left:4px}
.vm-more[open] summary{margin-right:4px}
.vm-search{display:flex;flex-wrap:wrap;align-items:flex-end;gap:12px}
.vm-search .field{flex:1 1 260px;max-width:420px}
.vm-search input{height:48px;padding:0 14px;border:2px solid var(--edge);border-radius:4px;background:var(--raised);font-size:16px;font-family:inherit;min-width:0;width:100%}
.vm-search input::placeholder{color:var(--hint);opacity:1}
table.vm-table{min-width:640px}
.vm-table th,.vm-table td{text-align:left;vertical-align:top;font-weight:400}
.vm-table thead th{font-weight:600}
.vm-table tbody th{font-weight:600}
.vm-table tbody td{font-family:var(--text);font-weight:400}
.vm-cap{caption-side:top;text-align:left;padding:10px 16px;font-size:14px;line-height:21px;font-weight:600;color:var(--muted)}
.vm-link{min-height:44px;padding:0;border:0;background:none;color:var(--brand);font:inherit;font-weight:600;text-decoration:underline;text-underline-offset:3px;cursor:pointer;text-align:left}
#state{display:flex;flex-direction:column;gap:8px;margin-top:8px;scroll-margin-top:12px}
@media (max-width:480px){.vm-topics{grid-template-columns:1fr}.vm-radios label{flex:1 1 auto}.vm-fig.big{font-size:22px}}
@media print{.vm-actions,.vm-again,.vm-search,.vm-link{display:none}}
