/* Part 6: integrated voting centre */
.agcm-voting-centre { background: var(--agcm-soft); }
.agcm-voting-status { align-items: stretch; background: linear-gradient(135deg,var(--agcm-blue-deep),var(--agcm-blue)); border-radius: 27px; box-shadow: var(--agcm-shadow); color: #fff; display: grid; gap: 35px; grid-template-columns: 80px minmax(0,1fr) minmax(260px,.42fr); overflow: hidden; padding: 45px; position: relative; }
.agcm-voting-status::after { border: 1px solid rgba(255,255,255,.12); border-radius: 50%; content: ""; height: 420px; position: absolute; right: -220px; top: -240px; width: 420px; }
.agcm-voting-status--upcoming { background: linear-gradient(135deg,#19345f,#3169aa); }
.agcm-voting-status--closed,.agcm-voting-status--hidden { background: linear-gradient(135deg,#243047,#4b5c77); }
.agcm-voting-status--results { background: linear-gradient(135deg,#064c67,#0987a8); }
.agcm-voting-status__icon { align-items: center; align-self: start; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.16); border-radius: 20px; color: var(--agcm-yellow); display: flex; height: 76px; justify-content: center; position: relative; width: 76px; z-index: 1; }
.agcm-voting-status__icon svg { height: 36px; width: 36px; }
.agcm-voting-status__copy { position: relative; z-index: 1; }
.agcm-status-pill { align-items: center; color: var(--agcm-yellow); display: inline-flex; font-size: 10px; font-weight: 900; gap: 8px; letter-spacing: .13em; text-transform: uppercase; }
.agcm-status-pill i { background: currentColor; border-radius: 50%; box-shadow: 0 0 0 5px rgba(246,201,21,.13); height: 8px; width: 8px; }
.agcm-voting-status--open .agcm-status-pill i { animation: agcm-vote-pulse 1.7s infinite; }
.agcm-voting-status h2 { color: #fff; font-size: clamp(32px,4vw,49px); margin: 14px 0 13px; }
.agcm-voting-status__copy > p { color: rgba(255,255,255,.76); line-height: 1.75; margin: 0 0 25px; max-width: 680px; }
.agcm-voting-status__copy > .agcm-voting-summary { color: #fff; font-size: 15px; font-weight: 650; margin-bottom: 8px; }
.agcm-voting-status .agcm-button-row { justify-content: flex-start; }
.agcm-voting-schedule { align-self: center; background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.15); border-radius: 18px; padding: 25px; position: relative; z-index: 1; }
.agcm-voting-schedule h3 { color: #fff; font-size: 17px; margin: 0 0 10px; }
.agcm-voting-schedule > span { align-items: flex-start; border-top: 1px solid rgba(255,255,255,.13); display: flex; gap: 11px; padding: 15px 0; }
.agcm-voting-schedule svg { color: var(--agcm-yellow); flex: 0 0 auto; height: 19px; width: 19px; }
.agcm-voting-schedule p { display: flex; flex-direction: column; margin: 0; }
.agcm-voting-schedule small { color: rgba(255,255,255,.57); font-size: 9px; letter-spacing: .08em; text-transform: uppercase; }
.agcm-voting-schedule strong { color: #fff; font-size: 12px; line-height: 1.45; margin-top: 3px; }
.agcm-voting-schedule em { color: rgba(255,255,255,.52); font-size: 9px; font-style: normal; }
.agcm-vote-countdown { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 25px; }
.agcm-vote-countdown span { background: rgba(255,255,255,.11); border: 1px solid rgba(255,255,255,.14); border-radius: 10px; display: flex; flex-direction: column; min-width: 66px; padding: 10px 12px; text-align: center; }
.agcm-vote-countdown strong { color: #fff; font-size: 20px; }
.agcm-vote-countdown small { color: rgba(255,255,255,.57); font-size: 8px; letter-spacing: .08em; text-transform: uppercase; }

.agcm-voting-guide { background: #fff; }
.agcm-voting-guide__grid { align-items: start; display: grid; gap: 45px; grid-template-columns: minmax(0,1.15fr) minmax(300px,.65fr); }
.agcm-voting-instructions h2 { font-size: clamp(35px,4vw,50px); margin: 18px 0 24px; }
.agcm-eligibility { align-items: flex-start; background: #edf5ff; border-left: 4px solid var(--agcm-blue); border-radius: 12px; display: flex; gap: 14px; margin-bottom: 28px; padding: 19px; }
.agcm-eligibility > svg { color: var(--agcm-blue); flex: 0 0 auto; height: 25px; width: 25px; }
.agcm-eligibility p { display: flex; flex-direction: column; margin: 0; }
.agcm-eligibility strong { color: var(--agcm-blue-dark); font-size: 13px; }
.agcm-eligibility span { color: var(--agcm-muted); font-size: 12px; line-height: 1.65; margin-top: 3px; }
.agcm-voting-instructions ol { display: grid; gap: 11px; list-style: none; margin: 0; padding: 0; }
.agcm-voting-instructions li { align-items: center; border: 1px solid var(--agcm-line); border-radius: 13px; display: flex; gap: 15px; padding: 15px 18px; }
.agcm-voting-instructions li i { align-items: center; background: var(--agcm-yellow); border-radius: 50%; color: var(--agcm-blue-dark); display: flex; flex: 0 0 auto; font-size: 11px; font-style: normal; font-weight: 900; height: 30px; justify-content: center; width: 30px; }
.agcm-voting-instructions li span { color: #53617a; font-size: 13px; line-height: 1.6; }
.agcm-voting-security { background: linear-gradient(145deg,var(--agcm-blue-deep),var(--agcm-blue)); border-radius: 22px; color: #fff; padding: 35px; position: sticky; top: 25px; }
.agcm-voting-security > span { align-items: center; background: rgba(255,255,255,.12); border-radius: 13px; color: var(--agcm-yellow); display: flex; height: 52px; justify-content: center; width: 52px; }
.agcm-voting-security > span svg { height: 25px; width: 25px; }
.agcm-voting-security h2 { color: #fff; font-size: 27px; margin: 25px 0 13px; }
.agcm-voting-security p { color: rgba(255,255,255,.72); font-size: 12px; line-height: 1.75; }
.agcm-voting-security p strong { color: #fff; }
.agcm-voting-security ul { border-block: 1px solid rgba(255,255,255,.14); color: rgba(255,255,255,.73); display: grid; font-size: 11px; gap: 10px; list-style: none; margin: 24px 0; padding: 20px 0; }
.agcm-voting-security li::before { color: var(--agcm-yellow); content: "✓"; font-weight: 900; margin-right: 8px; }
.agcm-voting-security > a { align-items: center; color: var(--agcm-yellow); display: inline-flex; font-size: 12px; font-weight: 850; gap: 7px; }
.agcm-voting-security > a svg { height: 15px; width: 15px; }

.agcm-voting-updates { background: var(--agcm-soft); }
.agcm-voting-updates__grid { display: grid; gap: 20px; grid-template-columns: repeat(3,1fr); }
.agcm-voting-update { background: #fff; border: 1px solid var(--agcm-line); border-radius: 17px; padding: 28px; }
.agcm-voting-update > span { background: var(--agcm-yellow-soft); border-radius: 20px; color: #725800; display: inline-block; font-size: 9px; font-weight: 900; letter-spacing: .08em; padding: 6px 10px; text-transform: uppercase; }
.agcm-voting-update > small { color: #95a0b1; float: right; font-size: 9px; margin-top: 6px; }
.agcm-voting-update h3 { clear: both; font-size: 21px; margin: 19px 0 10px; }
.agcm-voting-update p { color: var(--agcm-muted); font-size: 12px; line-height: 1.7; }
.agcm-voting-update > a { align-items: center; color: var(--agcm-blue); display: inline-flex; font-size: 11px; font-weight: 850; gap: 6px; }
.agcm-voting-update > a svg { height: 14px; width: 14px; }
.agcm-voting-help { background: var(--agcm-blue-dark); padding-block: 55px; }
.agcm-voting-help__inner { align-items: center; display: flex; gap: 30px; justify-content: space-between; }
.agcm-voting-help__inner > div { align-items: center; display: flex; gap: 15px; }
.agcm-voting-help__inner > div > span { align-items: center; background: rgba(255,255,255,.12); border-radius: 13px; color: var(--agcm-yellow); display: flex; height: 54px; justify-content: center; width: 54px; }
.agcm-voting-help__inner svg { height: 26px; width: 26px; }
.agcm-voting-help__inner p { display: flex; flex-direction: column; margin: 0; }
.agcm-voting-help__inner strong { color: #fff; font-size: 20px; }
.agcm-voting-help__inner small { color: rgba(255,255,255,.63); margin-top: 4px; max-width: 650px; }

@keyframes agcm-vote-pulse { 0%,100% { box-shadow: 0 0 0 5px rgba(246,201,21,.13); } 50% { box-shadow: 0 0 0 10px rgba(246,201,21,.02); } }

/* Signed election results */
.agcm-results-hero .agcm-inner-hero__content { max-width: 900px; }
.agcm-results-main,.agcm-election-results { background: #f4f7fb; }
.agcm-election-results { min-height: 55vh; }
.agcm-results-toolbar { align-items: center; background: #fff; border: 1px solid var(--agcm-line); border-radius: 18px; display: flex; gap: 30px; justify-content: space-between; margin-bottom: 24px; padding: 20px 24px; }
.agcm-results-toolbar > div > p { color: var(--agcm-muted); font-size: 12px; line-height: 1.65; margin: 8px 0 0; }
.agcm-results-state { align-items: center; color: #08704b; display: inline-flex; font-size: 10px; font-weight: 900; gap: 9px; letter-spacing: .1em; text-transform: uppercase; }
.agcm-results-state i { background: currentColor; border-radius: 50%; box-shadow: 0 0 0 5px rgba(8,112,75,.11); height: 8px; width: 8px; }
.agcm-results-state--live { color: #b36b00; }
.agcm-results-state--live i { animation: agcm-vote-pulse 1.7s infinite; }
.agcm-results-refresh { align-items: center; background: var(--agcm-blue); border-radius: 10px; color: #fff; display: inline-flex; flex: 0 0 auto; font-size: 11px; font-weight: 850; gap: 8px; padding: 11px 15px; }
.agcm-results-refresh:hover { background: var(--agcm-blue-dark); color: #fff; transform: translateY(-1px); }
.agcm-results-refresh svg { height: 16px; width: 16px; }
.agcm-results-summary { display: grid; gap: 16px; grid-template-columns: repeat(4,1fr); margin-bottom: 55px; }
.agcm-result-summary-card { align-items: center; background: #fff; border: 1px solid var(--agcm-line); border-radius: 17px; display: flex; gap: 15px; min-width: 0; padding: 22px; }
.agcm-result-summary-card > span { align-items: center; background: #eaf3ff; border-radius: 13px; color: var(--agcm-blue); display: flex; flex: 0 0 auto; height: 48px; justify-content: center; width: 48px; }
.agcm-result-summary-card svg { height: 23px; width: 23px; }
.agcm-result-summary-card p { display: flex; flex-direction: column; margin: 0; min-width: 0; }
.agcm-result-summary-card small { color: var(--agcm-muted); font-size: 10px; font-weight: 750; letter-spacing: .04em; text-transform: uppercase; }
.agcm-result-summary-card strong { color: var(--agcm-blue-dark); font-size: clamp(25px,3vw,35px); line-height: 1.15; margin-top: 4px; }
.agcm-results-heading { align-items: end; display: flex; gap: 30px; justify-content: space-between; margin-bottom: 22px; }
.agcm-results-heading h2 { font-size: clamp(33px,4vw,48px); margin: 13px 0 0; }
.agcm-results-heading > p { color: var(--agcm-muted); font-size: 11px; font-weight: 800; margin: 0 0 8px; text-transform: uppercase; }
.agcm-position-results { display: grid; gap: 25px; }
.agcm-position-result { background: #fff; border: 1px solid var(--agcm-line); border-radius: 23px; box-shadow: 0 12px 35px rgba(8,40,85,.06); overflow: hidden; }
.agcm-position-result > header { align-items: center; background: linear-gradient(120deg,var(--agcm-blue-deep),var(--agcm-blue)); display: flex; gap: 30px; justify-content: space-between; padding: 23px 28px; }
.agcm-position-result > header span { color: var(--agcm-yellow); display: block; font-size: 9px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.agcm-position-result > header h3 { color: #fff; font-size: clamp(22px,3vw,31px); margin: 5px 0 0; }
.agcm-position-result > header > strong { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.13); border-radius: 99px; color: #fff; font-size: 10px; padding: 8px 12px; white-space: nowrap; }
.agcm-candidate-results { display: grid; gap: 0; padding: 7px 28px 15px; }
.agcm-candidate-result { align-items: center; border-bottom: 1px solid var(--agcm-line); display: grid; gap: 17px; grid-template-columns: 62px minmax(0,1fr); padding: 19px 0; }
.agcm-candidate-result:last-child { border-bottom: 0; }
.agcm-candidate-photo { align-items: center; background: #e9f2ff; border: 3px solid #fff; border-radius: 15px; box-shadow: 0 0 0 1px var(--agcm-line); color: var(--agcm-blue); display: flex; font-size: 15px; font-weight: 900; height: 59px; justify-content: center; overflow: hidden; width: 59px; }
.agcm-candidate-photo img { height: 100%; object-fit: cover; width: 100%; }
.agcm-candidate-result--leader .agcm-candidate-photo { box-shadow: 0 0 0 2px var(--agcm-yellow); }
.agcm-candidate-result__body { min-width: 0; }
.agcm-candidate-result__top { align-items: center; display: grid; gap: 14px; grid-template-columns: minmax(0,1fr) auto auto; }
.agcm-candidate-result__top > div { min-width: 0; }
.agcm-candidate-result__top small { color: #99a4b6; font-size: 9px; font-weight: 900; }
.agcm-candidate-result__top h4 { color: var(--agcm-blue-dark); font-size: 17px; margin: 2px 0 0; overflow-wrap: anywhere; }
.agcm-candidate-result__top > strong { color: var(--agcm-blue-dark); font-size: 18px; min-width: 58px; text-align: right; }
.agcm-winner-badge { align-items: center; background: var(--agcm-yellow-soft); border-radius: 99px; color: #715600; display: inline-flex; font-size: 9px; font-weight: 900; gap: 5px; letter-spacing: .05em; padding: 6px 9px; text-transform: uppercase; }
.agcm-winner-badge svg { height: 13px; width: 13px; }
.agcm-result-progress { background: #e9eef5; border-radius: 99px; height: 8px; margin-top: 10px; overflow: hidden; }
.agcm-result-progress i { background: linear-gradient(90deg,var(--agcm-blue),#2f85de); border-radius: inherit; display: block; height: 100%; min-width: 0; }
.agcm-candidate-result--leader .agcm-result-progress i { background: linear-gradient(90deg,#dca900,var(--agcm-yellow)); }
.agcm-candidate-result__body > p { color: var(--agcm-muted); font-size: 10px; font-weight: 750; margin: 6px 0 0; }
.agcm-results-verification { align-items: flex-start; background: #eaf3ff; border-left: 4px solid var(--agcm-blue); border-radius: 14px; display: flex; gap: 14px; margin-top: 30px; padding: 19px 21px; }
.agcm-results-verification > svg { color: var(--agcm-blue); flex: 0 0 auto; height: 25px; width: 25px; }
.agcm-results-verification strong { color: var(--agcm-blue-dark); display: block; font-size: 13px; }
.agcm-results-verification p { color: var(--agcm-muted); font-size: 11px; line-height: 1.65; margin: 4px 0 0; }
.agcm-results-empty { background: #fff; border: 1px solid var(--agcm-line); border-radius: 24px; margin-inline: auto; max-width: 790px; padding: 55px; text-align: center; }
.agcm-results-empty__icon { align-items: center; background: #eaf3ff; border-radius: 17px; color: var(--agcm-blue); display: flex; height: 68px; justify-content: center; margin: 0 auto 24px; width: 68px; }
.agcm-results-empty__icon svg { height: 32px; width: 32px; }
.agcm-results-empty .agcm-section-label { justify-content: center; }
.agcm-results-empty h2 { font-size: clamp(30px,4vw,44px); margin: 18px 0 13px; }
.agcm-results-empty > p { color: var(--agcm-muted); line-height: 1.75; margin: 0 auto; max-width: 610px; }
.agcm-results-empty .agcm-button-row { justify-content: center; margin-top: 27px; }
.agcm-results-empty--compact { margin-top: 30px; max-width: none; padding: 38px; }
@media (max-width: 1050px) {
	.agcm-voting-status { grid-template-columns: 70px 1fr; }
	.agcm-voting-schedule { grid-column: 1/-1; }
	.agcm-results-summary { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 820px) {
	.agcm-voting-guide__grid,.agcm-voting-updates__grid { grid-template-columns: 1fr; }
	.agcm-voting-security { position: static; }
	.agcm-voting-help__inner { align-items: flex-start; flex-direction: column; }
	.agcm-results-toolbar,.agcm-results-heading { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 600px) {
	.agcm-voting-status { gap: 20px; grid-template-columns: 1fr; padding: 29px 22px; }
	.agcm-voting-status__icon { height: 60px; width: 60px; }
	.agcm-voting-status__icon svg { height: 29px; width: 29px; }
	.agcm-voting-status .agcm-button-row { align-items: stretch; flex-direction: column; }
	.agcm-vote-countdown span { min-width: 57px; padding-inline: 8px; }
	.agcm-voting-help__inner > div:last-child { align-items: stretch; flex-direction: column; width: 100%; }
	.agcm-results-summary { grid-template-columns: 1fr; margin-bottom: 42px; }
	.agcm-results-toolbar,.agcm-results-empty { padding: 25px 20px; }
	.agcm-results-refresh { justify-content: center; width: 100%; }
	.agcm-position-result > header { align-items: flex-start; flex-direction: column; gap: 13px; padding: 21px; }
	.agcm-candidate-results { padding-inline: 19px; }
	.agcm-candidate-result { grid-template-columns: 50px minmax(0,1fr); }
	.agcm-candidate-photo { border-radius: 12px; height: 48px; width: 48px; }
	.agcm-candidate-result__top { align-items: start; grid-template-columns: minmax(0,1fr) auto; }
	.agcm-winner-badge { grid-column: 1/-1; grid-row: 2; justify-self: start; }
	.agcm-candidate-result__top > strong { grid-column: 2; grid-row: 1; }
}
