/* BU1ST Technologies Sydney · Verified 2026 electorate results */
.page[data-page="electorates"] .er-directory-controls{display:flex;flex-wrap:wrap;align-items:center;gap:5px 8px;padding:9px 11px;background:rgba(230,246,253,.85);border-radius:11px;margin:8px 0 5px;border:1px solid #d0e6f0}
.er-directory-controls label{font-weight:800;letter-spacing:.07em;font-size:9px;color:#5c8199}
.er-directory-controls select{max-width:150px;min-width:120px;border:1px solid #c9e1ef;border-radius:7px;padding:6px 8px;background:#fff;color:#174c70;font:700 11px 'DM Sans',sans-serif}
#er-summary-status{font-size:10px;color:#5b829d;line-height:1.3}
#electorate-list .er-seat-short{display:block;font-size:9px;color:#4f7893;margin-top:4px;line-height:1.35;font-weight:650;white-space:normal}
#electorate-list .er-tight-seat{border-left:3px solid #efb548}
#electorate-list .er-tight-seat .er-seat-short{color:#9b6c16}
#electorate-list .seat-select .seat-list-icon{background:#e5f1f9}
#electorate-list .seat-select[title] .seat-list-icon{background:var(--er-party,#e1f0f7);color:#fff}
#seat-detail{min-width:0}
#seat-detail .seat-detail-heading{display:flex;align-items:flex-start;gap:12px;flex-wrap:wrap}
#seat-detail .seat-detail-heading>div:first-child{flex:1 1 200px}
#seat-detail .er-result-headline{width:100%;display:grid;grid-template-columns:minmax(0,1.5fr) minmax(100px,.65fr) minmax(100px,.7fr);gap:9px;margin:8px 0 4px}
.er-result-headline>div{min-width:0;display:flex;flex-direction:column;gap:3px;padding:13px 14px;background:#e9f7fc;border:1px solid #d2eaf3;border-radius:12px}
.er-result-headline small{font-size:9px;font-weight:850;letter-spacing:.07em;color:#608aa0;line-height:1.3}
.er-result-headline .er-leading b{font:800 17px Manrope,'DM Sans',sans-serif;letter-spacing:-.035em;color:#123e62}
.er-result-headline .er-leading span,.er-result-headline .er-counted span,.er-result-headline .er-margin span{font-size:10px;color:#5b8099;line-height:1.35}
.er-result-headline .er-margin strong{font:900 27px Manrope,'DM Sans',sans-serif;letter-spacing:-.055em;color:#146a91}
.er-result-headline .er-counted strong{font:850 18px Manrope,'DM Sans',sans-serif;letter-spacing:-.04em;color:#17617f}
#seat-detail .seat-status-pill.er-official-source{color:#087e89;background:#d9f4ef;border:1px solid #b3e6db}
#seat-detail .seat-detail-body.er-body-active{display:block!important;width:100%;flex:1;overflow:visible!important;padding:0!important;background:transparent}
.er-results-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start;gap:12px;min-height:350px}
.er-results-panel{min-width:0;border-radius:15px;background:rgba(255,255,255,.62);border:1px solid #dcebf4;padding:14px}
.er-panel-title{display:flex;justify-content:space-between;gap:8px;align-items:center;margin-bottom:12px}
.er-panel-title small{font-size:9px;font-weight:850;letter-spacing:.09em;color:#178ba9}
.er-panel-title h4{font:850 18px Manrope,'DM Sans',sans-serif;margin:4px 0;color:#153d62}
.er-panel-title p{font-size:10px;color:#7390a7;margin:0}
.er-panel-count{flex:none;white-space:nowrap;color:#4c8a9f;font-size:10px;font-weight:800;background:#e2f3fa;border-radius:30px;padding:6px 9px}
.er-result-rows{display:grid;gap:10px}
.er-vote-row{border-bottom:1px solid #e1edf4;padding-bottom:9px}
.er-vote-row:last-child{border-bottom:0}
.er-row-top,.er-row-sub{display:flex;justify-content:space-between;align-items:center;gap:8px;min-width:0}
.er-row-top .er-person{display:flex;align-items:center;gap:7px;min-width:0}
.er-person i{width:9px;height:9px;border-radius:3px;flex:none}
.er-person b{font-size:11px;line-height:1.35;font-weight:800;color:#214969;overflow-wrap:anywhere}
.er-person em{font-size:8px;font-style:normal;font-weight:900;color:#0a8973;background:#d5f3e9;padding:3px 5px;border-radius:5px}
.er-row-top>strong{white-space:nowrap;color:#153e60;font-size:12px;font-weight:850}
.er-row-sub{margin:3px 0 7px;padding-left:15px}
.er-row-sub span{font-size:9px;color:#718fa3}
.er-vote-bar{height:7px;border-radius:12px;background:#e2edf5;overflow:hidden}
.er-vote-bar span{height:100%;border-radius:12px;display:block}
.er-fineprint{font-size:10px;color:#7792a7;line-height:1.55;margin:12px 0 0}
.er-more-parties{margin:12px 0}
.er-more-parties summary{cursor:pointer;color:#117f9b;font-size:11px;font-weight:850;margin-bottom:10px}
.er-verified-footer{padding:13px 6px 5px;margin:12px 0 0;display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;border-top:1px solid #d7e9f4}
.er-verified-footer>div:first-child{display:flex;flex-direction:column;gap:3px}
.er-verified-footer b{color:#167c97;font-size:11px}
.er-verified-footer span{font-size:10px;color:#6d8c9e}
.er-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.er-actions button,.er-actions a{border:1px solid #c7e1ee;background:#f0faff;border-radius:9px;padding:8px 11px;color:#067c9b;font-size:11px;font-weight:850;text-decoration:none}
.er-actions button:hover,.er-actions a:hover{background:#dff3fb}
@media(max-width:1080px){.er-results-layout{grid-template-columns:1fr}.er-result-headline{grid-template-columns:1fr 1fr!important}.er-result-headline .er-leading{grid-column:1/-1}}
@media(max-width:600px){
  #seat-detail .er-result-headline{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px}
  .er-result-headline>div{padding:11px}
  .er-results-panel{padding:11px}
  .er-panel-title h4{font-size:16px}
  .er-row-top .er-person b{font-size:11px}
  .er-verified-footer{align-items:flex-start}
  .er-actions a,.er-actions button{font-size:10px}
}

/* The original directory was a fixed-height candidate roster. Real results need
   ordinary page scrolling so no vote rows or official source links are clipped. */
@media(min-width:901px){
 .page[data-page="electorates"] .electorate-explorer{
   height:auto!important;min-height:675px!important;overflow:visible!important;align-items:stretch
 }
 .page[data-page="electorates"] .seat-sidebar{
   align-self:start;height:min(770px,calc(100dvh - 110px))!important;position:sticky;top:12px;
   min-height:480px;overflow:hidden;border-radius:16px 0 0 16px
 }
 .page[data-page="electorates"] #seat-detail{
   height:auto!important;overflow:visible!important;min-height:675px!important
 }
}
@media(max-width:900px){
 .page[data-page="electorates"] .seat-detail,
 .page[data-page="electorates"] .v10-seat-detail-mobile{
   height:auto!important;max-height:none!important;overflow:visible!important
 }
 .page[data-page="electorates"] .er-results-layout{grid-template-columns:1fr}
}

/* Remove the obsolete fixed footer overlay: the new results panel has its own official-source footer. */
.page[data-page="electorates"] .v8-source-line{display:none!important}
