.vote-party { min-width:0; }
.vote-party h3 { font-size:1.2rem;line-height:1.4;margin:1.2rem 0 .6rem; }
.vote-party-controls { display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,13rem),1fr));gap:.8rem;align-items:end;margin:1rem 0; }
.vote-party-controls label { display:flex;flex-direction:column;gap:.3rem;font-weight:700;min-width:0; }
.vote-party-controls input,.vote-party-controls select,.vote-party-controls button,.vote-party-actions button,[data-vote-example] { min-width:0;max-width:100%;min-height:2.8rem;padding:.6rem;border:1px solid #8798ad;border-radius:.25rem;color:#14243a;background:#fff;font:inherit; }
.vote-party-controls button,.vote-party-actions button,[data-vote-example] { cursor:pointer;font-weight:700; }
.vote-party-controls button[type=submit] { background:#173e6e;color:white; }
.vote-party-controls button:disabled { background:#e3e7ed;color:#596777;cursor:default; }
.vote-party-controls label:has(select[name=roll]) { grid-column:1/-1; }
.vote-party-actions { display:flex;flex-wrap:wrap;gap:.7rem 1rem;align-items:center;margin:1rem 0; }
.vote-party-table { margin:1rem 0;overflow:auto;border:1px solid #c6d1df;background:#fff; }
.vote-party-table table { border-collapse:collapse;width:100%;min-width:0;max-width:100%;table-layout:fixed;white-space:normal;font-size:.92rem;line-height:1.5;font-variant-numeric:tabular-nums; }
.vote-party-table caption { padding:.75rem;text-align:left;font-weight:700; }
.vote-party-table th,.vote-party-table td { box-sizing:border-box;padding:.55rem .4rem;border-top:1px solid #d3dce7;text-align:right;overflow-wrap:anywhere;white-space:normal; }
.vote-party-table th:first-child { width:30%;text-align:left; }
.vote-party-table thead th { background:#e9eff7;vertical-align:bottom; }
.vote-party-table tfoot th,.vote-party-table tfoot td { background:#edf3f9;font-weight:800; }
.vote-party-table th span { font-weight:400; }
.vote-party-limit,.vote-party-action { font-size:.92rem; }
.vote-party code { overflow-wrap:anywhere;white-space:normal;font-size:.85em; }
.vote-party details p { overflow-wrap:anywhere; }
.vote-party-result { border-left:3px solid #39729c;padding:0 0 0 1rem; }
.vote-party-result:empty { border:0;padding:0; }
.vote-party-controls :focus-visible,.vote-party-actions :focus-visible,.vote-party-table:focus-visible { outline:3px solid #b54428;outline-offset:3px; }
[data-vote-party-roll] [hidden],[data-vote-party-finder] [hidden] { display:none!important; }
[data-vote-find-status],[data-vote-member-status],[data-party-export-status] { font-weight:700;line-height:1.6; }
.terms-compare { width:100%;border-collapse:collapse;background:white;font-size:.92rem;line-height:1.6;table-layout:fixed; }
.terms-compare caption { font-weight:700;text-align:left;padding:.7rem 0; }
.terms-compare th,.terms-compare td { text-align:left;vertical-align:top;padding:.8rem .55rem;border-top:1px solid #c6d1df;overflow-wrap:anywhere; }
.terms-compare th:first-child { width:24%; }
.terms-compare thead th { background:#e9eff7; }
@media(max-width:600px){.vote-party-actions>*{width:100%}.vote-party-table table{font-size:.83rem}.vote-party-table th,.vote-party-table td{padding:.5rem .125rem}.vote-party-table th:first-child{width:28%}.vote-party-result{padding-left:.65rem}.terms-compare{font-size:.86rem}.terms-compare th,.terms-compare td{padding:.65rem .35rem}.terms-compare th:first-child{width:30%}}
@media(max-width:600px){.vote-party-table thead th{font-size:.75rem;overflow-wrap:normal;word-break:normal}}
@media print{.vote-party-controls,.vote-party-actions,[data-vote-example]{display:none}.vote-party-table{overflow:visible}.vote-party-result{border:0;padding:0}}
