:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--bg:#f6f8fb;--surface:#fff;--surface-2:#eef2f7;--surface-3:#e7edf5;--text:#171a21;--muted:#667085;--line:#d8dee8;--line-strong:#c5ceda;--blue:#2563eb;--blue-soft:#dbe8ff;--green:#16855a;--green-soft:#dff6ec;--red:#b42318;--red-soft:#ffe4df;--amber:#a16207;--amber-soft:#fff3cd;--shadow:0 18px 48px #1c23301f;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}body{background:var(--bg);color:var(--text);letter-spacing:0;margin:0;font-size:14px}button,input{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button:focus-visible,a:focus-visible{outline:2px solid var(--blue);outline-offset:2px}.appShell{min-height:100vh}.topBar{z-index:20;border-bottom:1px solid var(--line);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#f6f8fbf0;justify-content:space-between;align-items:center;gap:20px;padding:18px 24px;display:flex;position:sticky;top:0}.brandBlock{align-items:center;gap:12px;min-width:0;display:flex}.spaceAvatar{border:1px solid var(--line);background:var(--surface);width:44px;height:44px;color:var(--blue);text-transform:uppercase;border-radius:8px;flex:none;place-items:center;font-weight:800;display:grid;overflow:hidden}.spaceAvatar img{object-fit:cover;width:100%;height:100%}.eyebrow{color:var(--muted);text-transform:uppercase;font-size:12px;font-weight:700}h1,h2,h3{margin:0;line-height:1.15}h1{overflow-wrap:anywhere;max-width:760px;font-size:22px}h2{font-size:18px}h3{font-size:13px}.queryForm{justify-content:flex-end;align-items:end;gap:8px;display:flex}.queryForm label{color:var(--muted);gap:5px;font-size:12px;font-weight:700;display:grid}.queryForm input{border:1px solid var(--line-strong);background:var(--surface);width:150px;height:38px;color:var(--text);border-radius:8px;outline:none;padding:0 10px}.queryForm input:focus{border-color:var(--blue);box-shadow:0 0 0 3px var(--blue-soft)}.proposalInput input{width:380px}.primaryButton,.iconButton{border:1px solid var(--line-strong);background:var(--surface);color:var(--text);cursor:pointer;border-radius:8px;justify-content:center;align-items:center;text-decoration:none;transition:border-color .14s,background .14s,color .14s,transform .14s;display:inline-flex}.primaryButton{border-color:var(--blue);background:var(--blue);color:#fff;gap:7px;height:38px;padding:0 13px;font-weight:700}.iconButton{width:38px;height:38px}.primaryButton:hover,.iconButton:hover{transform:translateY(-1px)}.iconButton:hover{border-color:var(--blue);color:var(--blue)}.dashboard{gap:18px;width:min(1440px,100% - 32px);margin:0 auto;padding:22px 0 36px;display:grid}.statePill{text-transform:capitalize;font-weight:800}.statePill.success{background:var(--green-soft);color:var(--green);border-color:#b8e6cf}.statePill.warning{background:var(--amber-soft);color:var(--amber);border-color:#f0d28d}.statePill.neutral{background:var(--surface-2);color:var(--muted)}.statusPanel{border:1px solid var(--line);background:var(--surface);border-radius:8px;flex-wrap:wrap;align-items:center;gap:12px 18px;padding:10px 12px;display:flex}.statusPanel>div{align-items:center;gap:8px;min-width:0;display:inline-flex}.statusValue{border:1px solid var(--line);background:var(--surface-2);text-transform:capitalize;border-radius:8px;align-items:center;width:fit-content;min-height:28px;padding:4px 10px;font-size:14px;font-weight:850;display:inline-flex}.statusValue.success{background:var(--green-soft);color:var(--green);border-color:#b8e6cf}.statusValue.warning{background:var(--amber-soft);color:var(--amber);border-color:#f0d28d}.statusValue.neutral{background:var(--surface-2);color:var(--muted)}.countdownGrid{flex-wrap:wrap;gap:4px;display:inline-flex}.countdownUnit{border:1px solid var(--line);background:var(--surface-2);border-radius:8px;align-items:baseline;min-height:28px;padding:4px 7px;display:inline-flex}.countdownUnit strong{color:var(--text);font-size:14px;line-height:1}.countdownUnit span{color:var(--muted);text-transform:uppercase;margin-left:2px;font-size:10px;font-weight:800}.snapshotStatusLink{border:1px solid var(--line-strong);background:var(--surface);min-height:32px;color:var(--text);border-radius:8px;justify-content:center;align-items:center;gap:7px;margin-left:auto;padding:6px 11px;font-size:13px;font-weight:800;text-decoration:none;transition:border-color .14s,background .14s,color .14s;display:inline-flex}.snapshotStatusLink:hover{border-color:var(--blue);color:var(--blue)}.snapshotStatusLink.active{border-color:var(--blue);background:var(--blue);color:#fff}.snapshotStatusLink.active:hover{color:#fff;background:#1d4ed8}.mainPanel,.sidePanel,.notice,.loadingPanel{border:1px solid var(--line);background:var(--surface);border-radius:8px}.contentGrid{grid-template-columns:minmax(0,1fr) minmax(360px,430px);align-items:stretch;gap:18px;display:grid}.mainPanel,.sidePanel{flex-direction:column;min-height:0;display:flex;overflow:hidden}.sectionHeader{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:12px;padding:16px;display:flex}.tableScroll,.matrixScroll{flex:auto;overflow-x:auto}.resultsTable,.matrixTable{border-collapse:collapse;width:100%}.resultsTable{--choice-column-width:220px;--rank-column-width:68px;border-collapse:separate;border-spacing:0;table-layout:fixed;min-width:1000px}.resultsTable th,.resultsTable td,.matrixTable th,.matrixTable td{border-bottom:1px solid var(--line);text-align:left;vertical-align:middle;padding:12px}.resultsTable th,.matrixTable th{color:var(--muted);text-transform:uppercase;font-size:12px;font-weight:800}.headerTooltip{align-items:center;gap:4px;display:inline-flex;position:relative}.headerTooltip button{border:1px solid var(--line-strong);background:var(--surface);width:16px;height:16px;color:var(--muted);cursor:help;border-radius:999px;place-items:center;padding:0;font-size:11px;font-weight:900;line-height:1;display:inline-grid}.tooltipBubble{z-index:80;pointer-events:none;color:#f8fafc;text-align:left;text-transform:none;white-space:normal;background:#111827;border:1px solid #1f2937;border-radius:8px;width:min(260px,72vw);padding:9px 10px;font-size:12px;font-weight:650;line-height:1.35;position:fixed}.tooltipBubble.top{transform:translateY(-100%)}.tooltipBubble:after{content:"";background:#111827;width:8px;height:8px;position:absolute;left:50%}.tooltipBubble.top:after{top:100%;transform:translate(-50%,-4px)rotate(45deg)}.tooltipBubble.bottom:after{bottom:100%;transform:translate(-50%,4px)rotate(45deg)}.resultsTable tbody tr{cursor:pointer}.resultsTable tbody tr td{transition:border-color .12s,box-shadow .12s}.resultsTable tbody tr:hover td{border-bottom-color:var(--line-strong);box-shadow:inset 0 1px 0 var(--line-strong)}.resultsTable tbody tr:hover td:first-child{box-shadow:inset 0 1px 0 var(--line-strong), inset 1px 0 0 var(--line-strong)}.resultsTable tbody tr:hover td:last-child{box-shadow:inset 0 1px 0 var(--line-strong), inset -1px 0 0 var(--line-strong)}.resultsTable th:first-child,.resultsTable td:first-child{width:var(--rank-column-width);min-width:var(--rank-column-width);left:0}.resultsTable th:nth-child(2),.resultsTable td:nth-child(2){left:var(--rank-column-width);width:var(--choice-column-width);min-width:var(--choice-column-width)}.resultsTable th:first-child,.resultsTable th:nth-child(2),.resultsTable td:first-child,.resultsTable td:nth-child(2){z-index:2;background:var(--surface);position:sticky}.resultsTable th:first-child,.resultsTable th:nth-child(2){z-index:3}.resultsTable th:nth-child(2),.resultsTable td:nth-child(2){box-shadow:1px 0 0 var(--line)}.resultsTable tbody tr:hover td:nth-child(2){box-shadow:inset 0 1px 0 var(--line-strong), 1px 0 0 var(--line)}.resultsTable th:nth-child(3),.resultsTable td:nth-child(3){width:170px;min-width:170px}.resultsTable th:nth-child(4),.resultsTable td:nth-child(4){width:112px;min-width:112px}.resultsTable th:nth-child(5),.resultsTable td:nth-child(5){width:108px;min-width:108px}.resultsTable th:nth-child(6),.resultsTable td:nth-child(6){width:96px;min-width:96px}.resultsTable th:nth-child(n+4),.resultsTable td:nth-child(n+4){text-align:right}.resultsTable th:nth-child(n+4) .headerTooltip{justify-content:flex-end;width:100%}.resultsTable th:nth-child(7),.resultsTable td:nth-child(7),.resultsTable th:nth-child(8),.resultsTable td:nth-child(8){width:94px;min-width:94px}.rankBadge,.choiceNumber{background:var(--surface-2);width:30px;height:30px;color:var(--muted);border-radius:8px;place-items:center;font-weight:800;display:inline-grid}.rankBadge.winner{background:var(--green-soft);color:var(--green)}.choiceName{overflow-wrap:normal;align-items:center;gap:9px;max-width:none;font-weight:760;line-height:1.25;display:flex}.choiceName>span:nth-child(2){overflow-wrap:break-word;min-width:0}.choiceNumber{flex:none;width:26px;height:26px;font-size:12px}.choiceDetailButton{border:1px solid var(--line-strong);background:var(--surface);width:28px;height:28px;color:var(--muted);cursor:pointer;border-radius:8px;flex:none;justify-content:center;align-items:center;margin-left:auto;display:inline-flex}.choiceDetailButton:hover{border-color:var(--blue);color:var(--blue)}.scoreCell{min-width:170px}.scoreBar{background:var(--surface-3);border-radius:999px;width:126px;height:8px;overflow:hidden}.scoreBar span{border-radius:inherit;background:var(--blue);height:100%;display:block}.scoreText{align-items:baseline;gap:7px;margin-top:7px;display:flex}.scoreText small{color:var(--muted);font-size:12px}.positive{color:var(--green);font-weight:760}.negative{color:var(--red);font-weight:760}.warningText{color:var(--amber);font-weight:760}.muted{color:var(--muted)}.matrixTable{min-width:400px}.matrixTable th:first-child{width:150px}.matrixTable th button{width:100%;color:var(--text);cursor:pointer;text-align:left;background:0 0;border:0;align-items:center;gap:7px;padding:0;display:flex}.matrixTable th button span{background:var(--surface-2);width:24px;height:24px;color:var(--muted);border-radius:8px;flex:none;place-items:center;font-size:12px;display:grid}.matrixTable td{text-align:center;min-width:54px;padding:10px 8px}.matrixTable td strong{font-size:12px;display:block}.matrixTable td span{color:var(--muted);margin-top:3px;font-size:12px;display:block}.matrixTable td.win{background:var(--green-soft);color:var(--green)}.matrixTable td.loss{background:var(--red-soft);color:var(--red)}.matrixTable td.tie{background:var(--amber-soft);color:var(--amber)}.matrixTable td.selfCell{background:var(--surface-2);color:var(--muted)}.matrixModalLayer{z-index:70;padding:18px;display:grid;position:fixed;inset:0}.matrixModalBackdrop{cursor:pointer;background:#14181f8a;position:absolute;inset:0}.matrixModal{z-index:1;border:1px solid var(--line);background:var(--surface);width:min(1180px,100%);max-height:calc(100vh - 36px);box-shadow:var(--shadow);border-radius:8px;grid-template-rows:auto minmax(0,1fr);margin:auto;display:grid;position:relative;overflow:hidden}.matrixModalHeader{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:14px;padding:16px;display:flex}.matrixModal .matrixScroll{max-height:calc(100vh - 132px);overflow:auto}.matrixModal .matrixTable{min-width:760px}.notice{align-items:center;gap:9px;padding:13px 15px;font-weight:700;display:flex}.errorNotice{color:var(--red);background:#fff7f5;border-color:#ffb4a9}.warningNotice{background:var(--amber-soft);color:var(--amber);border-color:#f0d28d}.loadingPanel{min-height:260px;color:var(--muted);justify-content:center;align-items:center;gap:10px;font-weight:750;display:flex}.spinner{border:3px solid var(--surface-3);border-top-color:var(--blue);border-radius:999px;width:22px;height:22px;animation:.8s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.voteList{display:grid}.voteStats{flex-wrap:wrap;justify-content:flex-end;gap:8px;display:flex}.voteStats span{border:1px solid var(--line);background:var(--surface-2);min-height:28px;color:var(--muted);border-radius:8px;align-items:center;padding:4px 9px;font-size:12px;font-weight:800;display:inline-flex}.voteTableHeader{border-bottom:1px solid var(--line);background:var(--surface-2);color:var(--muted);text-transform:uppercase;grid-template-columns:minmax(0,1fr) 150px 140px;align-items:center;gap:16px;padding:10px 16px;font-size:12px;font-weight:850;display:grid}.voteSortButton{color:var(--muted);cursor:pointer;text-align:right;text-transform:uppercase;font:inherit;background:0 0;border:0;justify-content:flex-end;align-items:center;gap:4px;padding:0;display:inline-flex}.voteSortButton.active{color:var(--text)}.voteRow{border-bottom:1px solid var(--line);grid-template-columns:minmax(0,1fr) 150px 140px;align-items:center;gap:16px;padding:13px 16px;display:grid}.voteRow:last-child{border-bottom:0}.voteRow>div{gap:4px;min-width:0;display:grid}.voteRow span{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.voteIdentity{grid-template-columns:minmax(0,1fr)}.voteVoterLine{align-items:center;gap:6px;min-width:0;display:inline-flex}.voteVoterLine .identityLabel{min-width:0}.voteVoterLine .copyAddressButton{background:0 0;border-color:#0000;flex:none;width:22px;height:22px}.voteVoterLine .copyAddressButton:hover{background:var(--surface-2)}.voteDate,.votePower{color:var(--muted);text-align:right;white-space:nowrap}.votePower{color:var(--text);font-weight:850}.copyAddressButton{border:1px solid var(--line-strong);background:var(--surface);width:30px;height:30px;color:var(--muted);cursor:pointer;border-radius:8px;justify-content:center;align-items:center;display:inline-flex}.copyAddressButton:hover{border-color:var(--blue);color:var(--blue)}.identityLabel{gap:2px;min-width:0;display:inline-grid}.identityName{color:var(--text);text-overflow:ellipsis;white-space:nowrap;font-weight:800;overflow:hidden}.identityAddress{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:12px;font-weight:650;overflow:hidden}.drawerBackdrop{z-index:40;pointer-events:none;background:#14181f00;transition:background .18s;position:fixed;inset:0}.drawerBackdrop.open{pointer-events:auto;background:#14181f6b}.detailsDrawer{z-index:41;border-left:1px solid var(--line);background:var(--surface);width:min(560px,100vw);height:100vh;box-shadow:var(--shadow);transition:transform .19s;position:fixed;top:0;right:0;overflow-y:auto;transform:translate(104%)}.detailsDrawer.open{transform:translate(0)}.drawerHeader{z-index:2;border-bottom:1px solid var(--line);background:var(--surface);justify-content:space-between;align-items:start;gap:14px;padding:18px;display:flex;position:sticky;top:0}.drawerHeader h2{overflow-wrap:anywhere;margin-top:4px}.drawerStats{grid-template-columns:repeat(3,1fr);gap:8px;padding:14px 18px;display:grid}.drawerStats span{border:1px solid var(--line);background:var(--surface-2);border-radius:8px;place-items:center;min-height:42px;font-weight:800;display:grid}.matchList{gap:12px;padding:0 18px 22px;display:grid}.matchCard{border:1px solid var(--line);background:var(--surface);border-radius:8px;overflow:hidden}.matchSummary{width:100%;color:var(--text);cursor:pointer;text-align:left;background:0 0;border:0;gap:10px;padding:14px;display:grid}.matchSummary>svg{justify-self:center}.matchNames,.matchScores{grid-template-columns:minmax(0,1fr) 36px minmax(0,1fr);align-items:center;gap:8px;display:grid}.matchNames strong{overflow-wrap:anywhere}.matchNames span{color:var(--muted);text-align:center;font-weight:700}.matchNames strong:last-child,.matchScores span:last-child{text-align:right}.matchScores span{align-items:center;gap:5px;font-weight:850;display:flex}.matchScores span:last-child{grid-column:3;justify-content:flex-end}.splitBar{background:var(--surface-3);border-radius:999px;width:100%;height:9px;display:flex;overflow:hidden}.splitBar span{height:100%;display:block}.selectedSide{background:#8aa4c9}.opponentSide{background:#bdc6d2}.selectedWin{background:var(--green)}.opponentWin{background:var(--blue)}.voterColumns{grid-template-columns:1fr 1fr;gap:12px;padding:0 14px 14px;display:grid}.voterColumn{min-width:0}.voterColumn h3{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;margin-bottom:8px;overflow:hidden}.voterScroller{gap:4px;max-height:230px;display:grid;overflow-y:auto}.voterLine{background:var(--surface-2);min-height:30px;color:var(--text);cursor:pointer;text-align:left;border:0;border-radius:8px;justify-content:space-between;align-items:center;gap:10px;padding:6px 8px;display:flex}.voterLine span{align-items:center;gap:6px;min-width:0;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:12px;display:inline-flex}.voterLine .identityLabel{flex:auto;gap:0;display:inline-grid;overflow:hidden}.voterLine .identityName{color:var(--text);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:12px}.voterLine .identityAddress{font-size:11px}.identityLabel.compact .identityAddress{margin-top:1px}.voteRow .identityLabel{display:inline-grid}.voteRow .identityName{color:var(--text)}.voteRow .identityAddress{color:var(--muted)}.voterLine strong{flex:none}.emptyVoters{background:var(--surface-2);min-height:36px;color:var(--muted);border-radius:8px;place-items:center;font-size:12px;font-weight:750;display:grid}.footer{color:var(--muted);justify-content:center;align-items:center;gap:6px;padding:10px 0 2px;font-size:13px;font-weight:700;display:flex}.footer a{color:var(--blue);text-decoration:none}.footer a:hover{text-decoration:underline}@media (width<=1360px){.topBar{flex-direction:column;align-items:stretch}.queryForm{justify-content:start}.contentGrid{grid-template-columns:1fr}}@media (width<=860px){.queryForm{grid-template-columns:1fr 1fr auto auto;display:grid}.proposalInput{grid-column:1/-1}.queryForm input,.proposalInput input{width:100%}.voteTableHeader,.voteRow{grid-template-columns:minmax(0,1fr) 118px 104px;gap:10px}.statusPanel{grid-template-columns:1fr}}@media (width<=640px){.topBar{padding:14px;position:static}.dashboard{width:min(100% - 20px,1440px);padding-top:14px}.queryForm{grid-template-columns:1fr 1fr}.primaryButton,.iconButton{width:100%}.sectionHeader{flex-direction:column;align-items:start}.voteStats{justify-content:flex-start}.snapshotStatusLink{width:100%;margin-left:0}.resultsTable th:first-child,.resultsTable td:first-child{position:static}.resultsTable th:nth-child(2),.resultsTable td:nth-child(2){left:0}.countdownGrid{grid-template-columns:repeat(2,minmax(0,1fr))}.voteTableHeader{grid-template-columns:1fr 1fr;gap:8px;padding:10px 12px}.voteTableHeader>div{display:none}.voteSortButton{border:1px solid var(--line);background:var(--surface);text-align:center;border-radius:8px;justify-content:center;min-height:34px;padding:0 10px}.voteSortButton.active{border-color:var(--line-strong);background:var(--surface-3)}.voteRow{grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:6px 10px;padding:12px}.voteRow>.voteIdentity{display:contents}.voteVoterLine{grid-area:1/1}.voteRow>.voteDate{text-align:left;grid-area:2/1/auto/-1;font-size:12px;display:block}.voteRow>.votePower{border:1px solid var(--line);background:var(--surface-2);border-radius:8px;grid-area:1/2;justify-content:flex-end;align-items:center;min-height:28px;padding:3px 8px;font-size:12px;display:inline-flex}.voteRow .voteRanking{overflow-wrap:anywhere;white-space:normal;-webkit-line-clamp:2;-webkit-box-orient:vertical;grid-area:3/1/auto/-1;line-height:1.35;display:-webkit-box}.drawerStats,.voterColumns{grid-template-columns:1fr}}
