@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;450;500;550;600;650;700;750;800&family=Source+Serif+4:wght@450;500;550;600&display=swap');
:root{--paper:#f5f5f0;--ink:#243832;--text:#293c37;--muted:#7a847e;--border:#e0e4dc;--green:#295548;--red:#dc414c;--blue:#3277c9;--white:#fff;--serif:'Source Serif 4',Georgia,serif}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:95px}body{margin:0;background:var(--paper);color:var(--text);font-family:Inter,Arial,sans-serif;font-size:14px;line-height:1.5;-webkit-font-smoothing:antialiased}a{color:inherit;text-decoration:none}button,input,select{font:inherit}button,a,input,select{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:default;opacity:.58}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #83af9b;outline-offset:3px}h1,h2,h3,p{margin:0}h1{font-family:var(--serif);font-size:44px;font-weight:500;line-height:1.14;letter-spacing:-1.65px}h2{font-size:19px;font-weight:600;letter-spacing:-.6px;line-height:1.35}h3{font-size:16px;font-weight:600;line-height:1.35}input,select{width:100%;border:1px solid #d7ded5;border-radius:7px;background:white;color:var(--text);padding:11px 12px;height:43px;min-width:0}input[type=checkbox]{width:18px;height:18px;accent-color:var(--green)}label{display:block;font-size:12px;font-weight:600;margin-bottom:8px}table{border-collapse:collapse;width:100%;text-align:left}small{font-size:11px}.page-width{max-width:1224px;width:calc(100% - 88px);margin:auto}.topbar{height:83px;border-bottom:1px solid var(--border);background:#ffffffd9}.topbar-inner{height:100%;display:flex;align-items:center;justify-content:space-between;gap:24px}.brand{display:flex;align-items:center;gap:11px;flex-shrink:0}.brand-symbol{display:grid;place-items:center;width:43px;height:43px;border-radius:12px;background:var(--ink);color:#fff}.brand b{display:block;font-size:15px;letter-spacing:2.2px;font-weight:700}.brand small{display:block;color:var(--muted);font-size:9px;font-weight:500;letter-spacing:1.6px;margin-top:2px}.topbar nav{display:flex;gap:28px;font-size:12px;font-weight:500}.topbar nav a{color:#6c7971}.topbar nav a:hover{color:var(--green)}.admin-link{display:flex;align-items:center;gap:8px;border:1px solid var(--border);border-radius:6px;padding:9px 12px;font-size:11px;font-weight:500;background:#fff}.admin-link:hover{border-color:#a3b6a8}.dashboard{padding-top:43px}.eyebrow{font-size:9px;letter-spacing:1.65px;font-weight:650;color:var(--muted);display:block;line-height:1.5}.intro{display:flex;justify-content:space-between;align-items:center;gap:24px;margin-bottom:37px}.intro h1{margin-top:10px}.intro p{margin-top:13px;color:var(--muted);font-size:13px}.mobile-break{display:none}.election-date{display:flex;gap:15px;border-left:1px solid #d0d9ce;padding-left:25px;align-items:center;color:var(--green);flex-shrink:0}.election-date small{font-size:9px;font-weight:600;letter-spacing:1.5px;color:var(--muted)}.election-date b{display:block;font-size:13px;font-weight:550;margin-top:4px;text-transform:capitalize}.election-date em{display:block;font-style:normal;font-size:11px;color:var(--muted);margin-top:1px}.section-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:17px;gap:12px}.section-heading h2{font-size:21px;margin-top:5px}.status-pill{display:flex;align-items:center;gap:7px;white-space:nowrap;padding:6px 10px;border-radius:30px;font-size:10px;font-weight:500}.status-pill i,.source-state-dot{display:block;width:6px;height:6px;border-radius:50%;flex-shrink:0}.status-pill.live{background:#e5eee2;color:#40713d}.status-pill.live i{background:#649256;box-shadow:0 0 0 3px #d8e7d3}.status-pill.paused{background:#f1eadc;color:#8b6f36}.status-pill.paused i{background:#9b814a}.candidate-grid{display:grid;grid-template-columns:1fr 1fr;gap:19px}.candidate-card{background:#fff;border:1px solid var(--border);border-top:3px solid var(--candidate);border-radius:10px;display:grid;grid-template-columns:135px 1fr;gap:22px;padding:23px;box-shadow:0 3px 5px #1b322305}.photo-slot{display:flex;flex-direction:column;align-items:center;justify-content:center;background:#f1f2ee;border:1px dashed #cdd5ca;color:#a8b4a6;width:135px;height:169px;border-radius:8px;overflow:hidden;flex-shrink:0;position:relative}.photo-slot span{text-align:center;font-size:9px;line-height:1.4;margin-top:13px;color:#8d998a;letter-spacing:.3px}.photo-slot img{width:100%;height:100%;object-fit:cover;object-position:center 20%}.candidate-content{min-width:0}.candidate-party{font-size:9px;font-weight:650;letter-spacing:1px;color:var(--candidate);display:flex;gap:6px;align-items:center;line-height:1.5}.candidate-party i{width:5px;height:5px;border-radius:50%;background:var(--candidate)}.candidate-content h3{font-size:20px;letter-spacing:-.6px;margin-top:7px}.candidate-office{font-size:10px;color:var(--muted);margin-top:4px}.candidate-figures{display:flex;align-items:center;gap:21px;margin-top:13px;margin-bottom:13px}.candidate-figures>strong{font-size:41px;letter-spacing:-1.8px;line-height:1;font-weight:550;color:var(--candidate);font-variant-numeric:tabular-nums}.candidate-figures>strong>span{font-size:19px;letter-spacing:0;margin-left:3px;font-weight:450}.vote-count{font-size:10px;color:var(--muted);max-width:105px;line-height:1.6}.vote-count b{color:var(--text);font-size:12px;font-weight:600;display:block}.vote-button{width:100%;display:flex;justify-content:center;align-items:center;gap:8px;background:var(--candidate);border:1px solid var(--candidate);color:#fff;border-radius:6px;font-size:11px;font-weight:600;padding:10px 7px;white-space:nowrap}.vote-button>svg:last-child{margin-left:auto}.vote-button:hover:not(:disabled){filter:brightness(.94)}.vote-button:disabled{background:#f0f3ef;color:#7b8779;border-color:#e5e9e1;opacity:1}.vote-button.recorded{color:var(--candidate);background:color-mix(in srgb,var(--candidate) 7%,white)}.poll-summary{display:flex;align-items:center;gap:24px;margin-top:17px;padding:14px 0 17px;border-bottom:1px solid var(--border);color:var(--muted);font-size:11px}.summary-number{font-size:15px;font-weight:600;color:var(--ink);margin-right:4px}.split-bar{display:flex;border-radius:4px;height:5px;overflow:hidden;flex:1}.split-bar>span{transition:width .6s}.refresh-caption{display:flex;align-items:center;gap:7px;font-size:10px;white-space:nowrap}.refresh-caption button{border:none;background:none;color:var(--muted);display:flex;padding:4px}.dashboard-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-top:26px}.card{border:1px solid var(--border);background:#fff;border-radius:10px;box-shadow:0 3px 6px #294c2c03;overflow:hidden}.card-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:15px;padding:24px 26px 19px}.card-heading h2{margin-top:6px}.card-heading p{font-size:11px;color:var(--muted);margin-top:8px}.muted-icon{color:#95a58f;margin-top:6px}.segmented{display:inline-flex;align-items:center;gap:2px;background:#f0f2ed;padding:3px;border-radius:6px;flex-shrink:0}.segmented button{border:none;background:none;padding:6px 11px;border-radius:4px;color:#7b8576;font-size:10px;font-weight:500;white-space:nowrap}.segmented button.active{background:white;color:var(--ink);box-shadow:0 1px 3px #273b3714}.segmented.small button{font-size:9px;padding:5px 9px}.map-toolbar{display:flex;justify-content:space-between;gap:10px;align-items:center;padding:0 26px 8px}.map-toolbar>span{font-size:9px;color:var(--muted)}.map-layout{display:grid;grid-template-columns:1.45fr 1fr;gap:0;align-items:center;padding:0 20px}.map-canvas{position:relative}.region-svg{width:100%;height:340px;display:block}.province{stroke:#fff;stroke-width:1.5;stroke-linejoin:round;cursor:pointer;transition:fill .3s,filter .2s;outline:none}.province:hover{filter:brightness(.92);stroke:#788c73;stroke-width:2}.province.selected,.province:focus-visible{stroke:#203f2c;stroke-width:2.5;filter:brightness(.95)}.map-label{font-family:Inter,Arial,sans-serif;font-size:9px;font-weight:500;fill:#52604c;paint-order:stroke;stroke:#ffffff9c;stroke-width:2px;stroke-linejoin:round;user-select:none}.north{position:absolute;left:8px;top:35px;display:flex;align-items:center;flex-direction:column;gap:4px;color:#869381;font-size:10px;font-weight:600}.map-scale{position:absolute;bottom:12px;left:20px;color:#9aa794;font-size:8px;letter-spacing:1.4px}.province-detail{padding:12px 10px 14px 12px}.province-detail h3{font-family:var(--serif);font-size:24px;font-weight:500;letter-spacing:-.6px;margin-top:9px}.province-detail>p{font-size:10px;color:var(--muted);line-height:1.8;margin-top:9px;max-width:175px}.province-vote{display:flex;justify-content:space-between;font-size:9px;gap:8px;margin-top:15px;align-items:center}.province-vote span{display:flex;align-items:center;gap:6px}.province-vote i{width:5px;height:5px;border-radius:50%;flex-shrink:0}.province-vote strong{font-size:12px;white-space:nowrap}.map-key{border-top:1px solid #e8ece5;margin-top:21px;padding-top:14px;display:flex;flex-direction:column;gap:9px;font-size:9px;color:#7c8875}.map-key>span{display:flex;align-items:center;gap:7px}.dot{display:inline-block;width:7px;height:7px;border-radius:50%}.dot.red{background:var(--red)}.dot.blue{background:var(--blue)}.dot.neutral{background:#d1d6cb}.text-button{border:0;background:none;padding:0;color:var(--green);font-size:11px;display:inline-flex;gap:6px;align-items:center;font-weight:500}.province-detail .text-button{font-size:9px;margin-top:14px}.map-foot{border-top:1px solid #edf0e8;padding:12px 26px;color:#99a291;font-size:8px;letter-spacing:.3px}.right-column{display:flex;flex-direction:column;gap:18px}.evolution-card .card-heading{padding-bottom:15px}.evolution-card .card-heading h2{font-size:18px}.evolution-card .card-heading .small{margin-top:3px}.chart-legend{display:flex;gap:22px;font-size:9px;padding:0 26px;margin-bottom:8px}.chart-legend>span{display:flex;align-items:center;gap:7px}.chart-legend b{font-size:11px;margin-left:1px}.line-key{width:12px;height:3px;border-radius:2px}.chart-box{position:relative;margin:0 14px;height:auto;aspect-ratio:640/245}.chart-box svg{width:100%;height:100%;display:block}.axis-text{font-family:Inter,Arial,sans-serif;fill:#9aa392;font-size:11px}.empty-chart{position:absolute;inset:8px 15px 30px 45px;display:flex;flex-direction:column;justify-content:center;align-items:center;background:#ffffffd9;text-align:center}.empty-chart strong{font-size:11px;font-weight:500;margin-top:8px}.empty-chart>span:last-child{font-size:9px;color:var(--muted);margin-top:6px}.mini-trend{font-size:21px;color:#acb9a0;line-height:1}.chart-foot{display:flex;justify-content:space-between;font-size:8px;color:#96a28d;margin:0 26px 15px}.participation-card{position:relative;padding:22px 26px;display:grid;grid-template-columns:1fr auto;gap:8px;flex:1;background:#edf2e9}.participation-card h2{font-family:var(--serif);font-size:24px;font-weight:500;letter-spacing:-.5px;margin-top:6px}.participation-card p{font-size:10px;color:#7d8b73;line-height:1.8;max-width:310px;margin-top:9px}.participation-symbol{width:83px;height:83px;display:grid;place-items:center;border:1px solid #d8e3ce;border-radius:50%;align-self:center;color:#749966;background:#ffffff3b;margin-left:16px}.participation-foot{grid-column:1/-1;display:flex;align-items:center;gap:6px;color:#86957e;font-size:9px;margin-top:11px}.official-card{margin-top:25px}.source-link{font-size:10px;display:flex;gap:6px;align-items:center;flex-shrink:0;padding:6px 0;margin-top:7px;font-weight:500}.source-status{display:flex;align-items:center;flex-wrap:wrap;gap:8px;font-size:10px;padding:10px 15px;margin:0 26px 19px;border-radius:5px}.source-status.pending-data{background:#f6f2e7;color:#9d8346}.source-status.has-data{background:#eef4e9;color:#6b8b55}.source-status.pending-data .source-state-dot{background:#b5a376}.source-status.has-data .source-state-dot{background:#8fae74}.source-error-detail{font-size:9px;flex-basis:100%;margin-left:14px;opacity:.8}.table-scroll{overflow-x:auto}.results-table{font-size:11px}.results-table th{background:#f7f8f4;font-weight:500;font-size:10px;color:#8a9481;padding:16px 26px;vertical-align:middle;border-top:1px solid var(--border);border-bottom:1px solid var(--border)}.results-table th:first-child{width:26%}.results-table th:nth-child(2),.results-table th:nth-child(3){width:24%}.table-candidate{font-size:11px;color:var(--ink);font-weight:600;position:relative;display:block;padding-left:14px;white-space:nowrap}.table-candidate i{width:6px;height:6px;border-radius:50%;position:absolute;left:0;top:5px}.table-candidate small{display:block;font-size:8px;color:var(--muted);font-weight:450;letter-spacing:.5px;margin-top:5px}.results-table td{padding:10px 26px;border-bottom:1px solid #edf0e7;vertical-align:middle;font-variant-numeric:tabular-nums}.results-table tbody td:nth-child(2),.results-table tbody td:nth-child(3){font-weight:500;padding-left:40px}.results-table tbody tr{cursor:pointer}.results-table tbody tr:hover{background:#f9faf6}.results-table .selected-row{background:#f0f4eb}.province-row-button{display:flex;align-items:center;gap:9px;border:none;background:none;color:var(--text);padding:0;font-size:11px;white-space:nowrap}.province-row-button svg{color:#a0ae97}.winning-red{color:var(--red)}.winning-blue{color:var(--blue)}.table-bar{display:flex;gap:2px;height:6px;border-radius:4px;overflow:hidden;width:100%;max-width:170px}.table-bar i:first-child{background:#dd6971}.table-bar i:last-child{background:#6195d2}.no-data-label{font-size:9px;color:#a3ac9b}.results-table tfoot td{padding:16px 26px;background:#f7f9f4;font-weight:600;font-size:12px;border-bottom:0}.results-table tfoot td:nth-child(2),.results-table tfoot td:nth-child(3){padding-left:40px}.results-table tfoot td:last-child{font-size:9px;font-weight:450;color:var(--muted)}.official-foot{border-top:1px solid var(--border);padding:14px 26px;font-size:9px;color:#939f8b}.footer{display:flex;align-items:center;gap:20px;margin-top:27px;margin-bottom:25px;color:#9ba692;font-size:8px}.footer>span{font-weight:550;font-size:8px;letter-spacing:1px;white-space:nowrap}.footer p{max-width:520px;font-size:8px;line-height:1.7}.footer>a{margin-left:auto;display:flex;gap:5px;align-items:center;white-space:nowrap;font-size:9px}.notice{margin-bottom:19px;padding:13px 16px;border:1px solid #dfe7d6;border-radius:7px;font-size:12px;background:#f4f6f0;display:flex;align-items:center;gap:10px;justify-content:space-between}.notice.error{background:#fcf1ee;border-color:#efded6;color:#a45040}.notice.success{background:#ecf5e8;border-color:#d9e5d2;color:#4b7a3e}.notice span{display:flex;align-items:center;gap:9px}.notice button{color:inherit;font-size:11px;border:0;background:none;padding:0;display:flex;align-items:center}.vote-dialog{border:1px solid var(--border);border-radius:14px;padding:33px;width:410px;max-width:calc(100vw - 30px);box-shadow:0 25px 80px #23332930;color:var(--text)}.vote-dialog::backdrop{background:#18291fe0;backdrop-filter:blur(3px)}.vote-dialog form{position:relative}.dialog-close{position:absolute;right:-14px;top:-14px;border:0;background:none;color:#85917c;padding:5px;display:flex}.dialog-icon{width:52px;height:52px;border:1px solid #e5eadd;border-radius:50%;display:grid;place-items:center;margin-bottom:18px}.vote-dialog h2{font-family:var(--serif);font-size:28px;line-height:1.2;font-weight:500;margin-top:9px}.vote-dialog p{font-size:10px;letter-spacing:.6px;color:var(--muted);margin-top:12px;margin-bottom:24px}.form-help{display:block;font-size:10px;color:var(--muted);line-height:1.7;margin-top:9px}.primary-button,.secondary-button,.danger-button{border:none;display:inline-flex;justify-content:center;gap:8px;align-items:center;border-radius:6px;padding:11px 16px;font-size:11px;font-weight:600;white-space:nowrap}.primary-button{background:var(--green);color:#fff}.primary-button:hover{filter:brightness(.95)}.secondary-button{background:#fff;border:1px solid #dce4d4;color:#687e5b}.secondary-button:hover{background:#f5f8f1}.danger-button{border:1px solid #e2cbc0;color:#9d6c56;background:#fffaf6}.vote-dialog .primary-button{width:100%;margin-top:20px}.vote-dialog .notice{margin-top:12px;font-size:11px}.spinning{animation:spin 1.5s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}
/* Administration */
.admin-mode{display:flex;align-items:center;gap:8px;font-size:9px;letter-spacing:1.3px;color:var(--muted)}.admin-page{padding-top:24px}.back-link{display:inline-flex;align-items:center;gap:7px;font-size:10px;color:#839378}.admin-intro{display:flex;justify-content:space-between;align-items:center;margin-top:28px;margin-bottom:30px}.admin-intro h1{font-size:39px;margin-top:8px}.admin-intro p{color:var(--muted);font-size:12px;margin-top:10px}.admin-intro>svg{color:#9ab28b;margin-right:9px}.admin-loading,.access-card{padding:40px;text-align:center;min-height:220px}.admin-loading{display:flex;align-items:center;justify-content:center;gap:10px;color:var(--muted)}.access-card>svg{margin:0 auto 17px;color:#97aa87}.access-card h2{margin-bottom:10px}.access-card p{font-size:12px;color:var(--muted);max-width:420px;margin:auto}.access-card .primary-button{margin-top:22px}.access-card .text-button{display:block;margin:18px auto 0}.admin-notifications{position:sticky;top:12px;z-index:10}.admin-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:30px}.admin-stats>div{position:relative;background:white;border:1px solid var(--border);border-radius:8px;padding:20px}.admin-stats span{font-size:10px;color:var(--muted)}.admin-stats b{display:block;font-size:25px;font-weight:550;line-height:1;margin-top:13px}.admin-stats b.stat-word{font-size:18px;padding-top:4px;line-height:1.2}.admin-stats svg,.admin-stats .dot{position:absolute;right:20px;top:24px;color:#a0b192}.admin-layout{display:grid;grid-template-columns:175px 1fr;gap:25px;align-items:start}.admin-sidebar{position:sticky;top:28px;padding-top:16px}.admin-sidebar>a{display:flex;gap:13px;align-items:center;padding:13px 0;font-size:10px;color:#b2bba9;border-bottom:1px solid #e6eadf}.admin-sidebar>a>span{color:#6e8162;font-size:11px}.admin-sidebar>.eyebrow{margin-bottom:15px}.admin-security{margin-top:29px;color:#9fac92;display:flex;align-items:flex-start;gap:8px}.admin-security p{font-size:9px;line-height:1.8}.admin-security svg{flex-shrink:0}.admin-content{display:flex;flex-direction:column;gap:22px;min-width:0}.admin-content .card-heading{padding:26px 28px 22px}.admin-content .card-heading h2{font-size:21px}.admin-form{padding:0 28px 26px}.admin-form>input{margin-bottom:20px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:19px;margin-top:18px}.form-actions{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-top:24px;border-top:1px solid #e9eee1;padding-top:20px}.form-actions>span{font-size:10px;color:var(--muted)}.toggle-field{display:flex;align-items:center;padding-top:19px}.checkbox-label{display:flex;align-items:center;gap:10px;font-size:11px;font-weight:500}.checkbox-label>input{flex-shrink:0}.checkbox-label small{display:block;font-weight:400;color:var(--muted);font-size:9px;margin-top:4px}.advanced{padding:16px 0 0;margin-top:18px;border-top:1px solid #edf0e8}.advanced summary{font-size:10px;color:#809370;cursor:pointer;margin-bottom:15px}.advanced label{margin-top:15px}.admin-photo-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px;padding:0 28px 29px}.admin-photo-card{display:flex;align-items:center;gap:16px;min-width:0}.admin-photo-card .photo-slot{width:90px;height:120px;border-radius:7px}.admin-photo-card .photo-slot>svg{width:35px}.admin-photo-card .photo-slot>span{font-size:8px;margin-top:8px}.admin-photo-card h3{font-size:14px;margin-top:6px;margin-bottom:12px;line-height:1.4}.admin-photo-card .candidate-party{font-size:8px;letter-spacing:.5px}.upload-button{position:relative;cursor:pointer;margin-bottom:0}.upload-button input{position:absolute;inset:0;opacity:0;cursor:pointer;padding:0;height:auto}.upload-button.disabled{opacity:.5}.admin-photo-card .secondary-button{font-size:9px;padding:8px 10px}.admin-photo-card small{display:block;font-size:8px;color:#97a48a;margin-top:8px;line-height:1.6}.admin-photo-card .text-button{display:block;font-size:9px;margin-top:8px}.official-import{border-top:1px solid #e6ecdf;padding-top:22px}.import-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:18px}.import-heading h3{font-size:14px}.import-heading p{font-size:10px;color:var(--muted);margin-top:8px;line-height:1.8;max-width:490px}.import-heading>a{font-size:10px;white-space:nowrap}.import-tools{display:flex;align-items:center;gap:10px;margin:19px 0}.import-tools .secondary-button{font-size:10px;padding:9px 13px}.import-tools .text-button{margin-left:auto;font-size:10px}.import-table{border:1px solid #e4eadc;font-size:11px;border-radius:6px;overflow:hidden}.import-table th{padding:12px 13px;font-size:10px;background:#f5f7f1;font-weight:500;white-space:nowrap}.import-table td{border-top:1px solid #edf0e8;padding:8px 13px;vertical-align:middle}.import-table td:first-child{width:40%}.import-table td>small{color:#b0bca2;display:inline-block;margin-left:9px;font-size:9px}.import-table input{height:30px;padding:5px 10px;font-size:11px;min-width:65px;max-width:200px}.export-row,.reset-row{display:flex;justify-content:space-between;align-items:center;gap:25px}.export-row h3,.reset-row h3{font-size:14px}.export-row p,.reset-row p{font-size:10px;color:var(--muted);line-height:1.8;margin-top:8px;max-width:400px}.export-row>div:last-child{display:flex;gap:9px;flex-shrink:0}.export-row .secondary-button{font-size:10px;padding:9px 13px}.reset-row{border-top:1px solid #e7edde;padding-top:22px;margin-top:23px}.reset-row .danger-button{font-size:10px;flex-shrink:0}.admin-content .source-status p{font-size:9px;margin-top:5px}
@media(min-width:1450px){.page-width{max-width:1280px}.candidate-card{padding:26px;grid-template-columns:144px 1fr}.photo-slot{width:144px;height:173px}.candidate-figures{margin-top:15px}.region-svg{height:366px}.chart-box{margin-top:10px;margin-bottom:8px}}
@media(max-width:1100px){.page-width{width:calc(100% - 50px)}.topbar nav{gap:18px;font-size:11px}.candidate-card{gap:15px;padding:20px;grid-template-columns:110px 1fr}.photo-slot{width:110px;height:165px}.candidate-content h3{font-size:18px}.candidate-figures>strong{font-size:36px}.candidate-figures{gap:15px}.card-heading{padding:21px 21px 17px}.card-heading h2{font-size:17px}.map-toolbar{padding:0 21px 8px}.map-toolbar>span{display:none}.map-layout{grid-template-columns:1.25fr 1fr;padding:0 11px}.region-svg{height:328px}.province-detail{padding-left:6px}.province-detail h3{font-size:22px}.province-vote{font-size:8px}.evolution-card .card-heading{flex-wrap:wrap;gap:10px}.evolution-card .card-heading h2{font-size:17px}.chart-foot{font-size:7px;margin:0 21px 15px}.participation-card{padding:18px 21px}.participation-card h2{font-size:22px}.participation-symbol{width:66px;height:66px;margin-left:2px}.participation-symbol svg{width:40px}.chart-legend{padding:0 21px;gap:15px;font-size:8px}.source-status{margin-left:21px;margin-right:21px}.admin-photo-grid{gap:16px}.admin-photo-card{gap:11px}.admin-photo-card .photo-slot{width:75px;height:113px}.admin-photo-card h3{font-size:13px}.admin-photo-card .secondary-button{padding:7px;font-size:8px}.admin-stats>div{padding:17px}.admin-stats svg{right:14px}.admin-stats span{font-size:9px}.admin-layout{grid-template-columns:145px 1fr;gap:20px}.export-row,.reset-row{flex-wrap:wrap}.form-grid{gap:14px}.footer{gap:12px}}
@media(max-width:860px){.topbar nav{display:none}.intro{align-items:flex-start}.intro h1{font-size:36px;letter-spacing:-1.2px}.intro p{font-size:11px}.election-date{padding-left:16px;margin-top:12px;gap:12px}.election-date b{font-size:11px}.candidate-card{grid-template-columns:84px 1fr;gap:12px;padding:17px}.photo-slot{width:84px;height:148px}.candidate-content h3{font-size:16px}.candidate-party{font-size:7px}.candidate-office{font-size:9px}.candidate-figures>strong{font-size:32px}.candidate-figures{gap:12px;margin-top:10px;margin-bottom:11px}.vote-count{font-size:8px}.vote-count b{font-size:10px}.vote-button{font-size:9px;padding:8px 5px;gap:6px}.vote-button svg{width:14px}.dashboard-grid{grid-template-columns:1fr}.map-layout{grid-template-columns:1.6fr 1fr;padding:0 40px;max-width:700px;margin:auto}.region-svg{height:390px}.province-detail{padding-left:15px}.province-detail h3{font-size:26px}.province-detail>p{font-size:12px;max-width:220px}.province-vote{font-size:11px}.map-key{font-size:10px}.province-detail .text-button{font-size:11px}.right-column{display:grid;grid-template-columns:1.5fr 1fr;gap:18px}.evolution-card{min-width:0}.participation-card{display:block;min-width:0}.participation-symbol{display:none}.participation-foot{margin-top:20px;align-items:flex-start;font-size:8px}.participation-foot svg{flex-shrink:0}.participation-card h2{font-size:21px;margin-top:10px}.participation-card p{font-size:10px;margin-top:13px}.participation-card .eyebrow{font-size:8px;letter-spacing:1px}.results-table th,.results-table td{padding:12px 21px}.results-table .comparison-column{display:none}.results-table th:first-child{width:32%}.results-table th:nth-child(2),.results-table th:nth-child(3){width:34%}.footer{flex-wrap:wrap}.footer p{max-width:100%;order:3;width:100%}.admin-layout{display:block}.admin-sidebar{position:static;display:flex;align-items:center;gap:21px;flex-wrap:wrap;padding:0;margin-bottom:20px}.admin-sidebar>a{padding:0;border:none;gap:7px}.admin-sidebar>.eyebrow,.admin-security{display:none}.admin-stats{gap:10px}.admin-stats>div{padding:16px}.admin-stats svg,.admin-stats .dot{display:none}.admin-photo-card .photo-slot{width:90px;height:120px}.admin-photo-card .secondary-button{font-size:9px;padding:8px 10px}.admin-photo-card h3{font-size:14px}}
@media(max-width:620px){html{scroll-padding-top:20px}.page-width{width:calc(100% - 32px)}.topbar{height:70px}.brand-symbol{width:35px;height:35px;border-radius:9px}.brand b{font-size:12px;letter-spacing:1.8px}.brand small{font-size:7px;letter-spacing:1.3px}.brand{gap:9px}.admin-link{font-size:9px;padding:8px 10px}.admin-link svg{width:13px}.dashboard{padding-top:28px}.intro{display:block;margin-bottom:28px}.intro h1{font-size:34px;line-height:1.16;margin-top:10px;letter-spacing:-1.2px}.mobile-break{display:block}.intro p{font-size:11px;max-width:290px;line-height:1.8;margin-top:11px}.election-date{border-left:none;border-top:1px solid var(--border);padding-left:0;padding-top:14px;margin-top:18px;gap:11px}.election-date span{display:flex;align-items:center;flex-wrap:wrap;gap:7px}.election-date b{font-size:11px;margin-top:0}.election-date small{font-size:8px;width:100%}.election-date em{font-size:10px;margin-top:0}.election-date>svg{width:18px}.eyebrow{font-size:8px;letter-spacing:1.3px}.section-heading{gap:11px;align-items:flex-start}.section-heading h2{font-size:17px;max-width:260px;letter-spacing:-.4px}.status-pill{font-size:8px;padding:6px 8px;margin-top:3px;gap:5px}.status-pill i{width:4px;height:4px;box-shadow:none!important}.candidate-grid{grid-template-columns:1fr;gap:13px}.candidate-card{grid-template-columns:104px 1fr;gap:18px;padding:19px;border-top-width:3px}.photo-slot{width:104px;height:156px}.candidate-content h3{font-size:18px;max-width:220px;margin-top:8px}.candidate-party{font-size:8px;letter-spacing:.6px}.candidate-office{font-size:9px}.candidate-figures{gap:19px;margin-top:13px;margin-bottom:14px}.candidate-figures>strong{font-size:36px}.candidate-figures>strong>span{font-size:17px}.vote-count{font-size:9px}.vote-count b{font-size:11px}.vote-button{padding:10px 7px;font-size:10px;gap:7px}.vote-button svg{width:15px}.poll-summary{gap:12px;font-size:9px;flex-wrap:wrap;padding:10px 0 13px}.summary-number{font-size:13px}.split-bar{flex-basis:80px}.refresh-caption{font-size:8px;gap:4px}.refresh-caption>svg{display:none}.dashboard-grid{margin-top:19px;gap:17px}.card-heading{padding:19px 18px 15px}.card-heading h2{font-size:17px;letter-spacing:-.5px}.card-heading p{font-size:10px;line-height:1.7;margin-top:7px}.map-toolbar{padding:0 18px 5px}.segmented button{font-size:9px;padding:6px 10px}.map-layout{padding:0 12px;grid-template-columns:1.25fr 1fr;gap:3px}.region-svg{height:305px}.map-label{font-size:10px}.north{left:0;top:23px;font-size:8px}.north svg{height:21px}.map-scale{left:7px;font-size:6px;letter-spacing:1px;bottom:4px}.province-detail{padding-left:6px;padding-right:3px}.province-detail .eyebrow{font-size:7px;letter-spacing:1px}.province-detail h3{font-size:23px}.province-detail>p{font-size:9px;line-height:1.8;max-width:140px}.province-vote{font-size:8px;gap:7px}.province-vote strong{font-size:10px}.province-vote span{gap:4px}.province-vote i{width:4px;height:4px}.province-detail .text-button{font-size:8px}.map-key{font-size:8px;gap:8px;margin-top:17px;padding-top:12px}.map-key .dot{width:5px;height:5px}.map-foot{padding:11px 18px;font-size:7px}.right-column{display:flex;flex-direction:column;gap:17px}.evolution-card .card-heading{flex-wrap:nowrap;gap:8px}.evolution-card .card-heading h2{font-size:16px}.segmented.small button{font-size:8px;padding:5px 7px}.chart-legend{padding:0 18px;font-size:8px;gap:17px}.chart-legend b{font-size:10px}.chart-box{margin:0 10px 5px}.chart-foot{font-size:7px;margin:0 18px 14px}.empty-chart strong{font-size:10px;max-width:230px}.empty-chart>span:last-child{font-size:8px;max-width:230px;line-height:1.7}.participation-card{display:grid;grid-template-columns:1fr auto;padding:19px 18px}.participation-card h2{font-size:24px;margin-top:7px}.participation-card p{font-size:10px;margin-top:8px}.participation-symbol{display:grid;width:64px;height:64px;align-self:center;margin-left:12px}.participation-foot{margin-top:7px;font-size:8px;align-items:center}.official-card{margin-top:18px}.official-card .card-heading{gap:8px;align-items:flex-start}.official-card .card-heading .eyebrow{font-size:7px;max-width:205px;line-height:1.6}.source-link{font-size:8px;gap:3px}.source-link svg{width:12px}.source-status{margin:0 18px 16px;padding:10px 11px;font-size:9px;line-height:1.7}.source-status>span:nth-child(2){flex:1}.source-error-detail{font-size:8px;line-height:1.8}.results-table th,.results-table td{padding:11px 12px}.results-table td{font-size:10px}.table-candidate{font-size:10px;padding-left:10px}.table-candidate small{font-size:6px;letter-spacing:.1px;max-width:110px;white-space:normal}.table-candidate i{width:4px;height:4px;top:6px}.results-table tbody td:nth-child(2),.results-table tbody td:nth-child(3){padding-left:23px}.province-row-button{font-size:10px;gap:0}.province-row-button svg{display:none}.results-table tfoot td{font-size:10px;padding:13px 12px;white-space:nowrap}.results-table tfoot td:nth-child(2),.results-table tfoot td:nth-child(3){padding-left:23px}.official-foot{padding:13px 18px;font-size:8px;line-height:1.9}.footer{margin-top:23px;font-size:7px;gap:9px}.footer>span{font-size:7px;letter-spacing:.6px}.footer>a{font-size:8px}.footer p{font-size:7px}.vote-dialog{padding:27px}.vote-dialog h2{font-size:27px}.admin-mode{display:none}.admin-page{padding-top:20px}.admin-intro{margin-top:22px;margin-bottom:23px}.admin-intro h1{font-size:30px;letter-spacing:-1px}.admin-intro p{font-size:10px;max-width:270px;line-height:1.8}.admin-intro>svg{width:28px;flex-shrink:0;margin-left:8px}.admin-stats{grid-template-columns:1fr 1fr;gap:10px;margin-bottom:22px}.admin-stats>div{padding:16px}.admin-stats span{font-size:9px}.admin-stats b{font-size:23px;margin-top:10px}.admin-stats b.stat-word{font-size:17px}.admin-sidebar{gap:10px 17px;margin-bottom:21px}.admin-sidebar>a{font-size:8px}.admin-sidebar>a>span{font-size:10px}.admin-content{gap:18px}.admin-content .card-heading{padding:20px 18px 17px}.admin-content .card-heading h2{font-size:19px}.admin-form{padding:0 18px 20px}.form-grid{grid-template-columns:1fr;gap:17px;margin-top:17px}.toggle-field{padding-top:0}.admin-form label{font-size:10px}.admin-form input,.admin-form select{font-size:12px}.form-actions{flex-wrap:wrap;gap:14px;margin-top:20px;padding-top:17px}.form-actions>span{font-size:9px}.primary-button,.secondary-button{font-size:10px;padding:10px 13px}.advanced summary{font-size:9px}.admin-photo-grid{grid-template-columns:1fr;padding:0 18px 20px;gap:20px}.admin-photo-card{gap:19px;padding-bottom:18px;border-bottom:1px solid #e8eedd}.admin-photo-card:last-child{padding-bottom:0;border-bottom:0}.admin-photo-card .photo-slot{width:96px;height:126px}.admin-photo-card h3{font-size:16px}.admin-photo-card .candidate-party{font-size:8px}.admin-photo-card .secondary-button{font-size:10px;padding:9px 11px}.admin-content #datos-onpe .card-heading{flex-wrap:wrap}.admin-content #datos-onpe .card-heading .secondary-button{font-size:9px}.official-import{padding-top:19px}.import-heading{flex-wrap:wrap;gap:10px}.import-heading p{font-size:9px}.import-tools{flex-wrap:wrap;gap:8px}.import-tools .secondary-button{font-size:9px;padding:8px 10px}.import-tools .text-button{font-size:9px;margin-left:0}.import-table td{padding:7px 8px}.import-table th{font-size:8px;padding:11px 8px}.import-table td>small{display:block;margin-left:0;font-size:7px;margin-top:3px}.import-table td:first-child{width:34%;font-size:10px}.import-table input{padding:4px 7px;font-size:10px;min-width:50px}.export-row,.reset-row{gap:15px}.export-row h3,.reset-row h3{font-size:13px}.export-row p,.reset-row p{font-size:9px}.access-card{padding:28px 20px}.access-card h2{font-size:19px}.access-card p{font-size:11px}.notice{font-size:10px;padding:12px;line-height:1.8}.admin-notifications{top:8px}.admin-loading{min-height:180px;padding:25px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.spinning{animation:none}*{transition:none!important}}

/* Installation and owner access */
.setup-page{padding:48px 0 65px}.setup-card{max-width:700px;margin:auto;padding:35px}.setup-card h1{font-size:35px;margin-top:9px}.setup-lead{color:var(--muted);font-size:12px;margin:13px 0 25px}.setup-card h2{font-size:18px;margin:26px 0 10px}.setup-card form>label{margin-top:18px}.setup-card form>input{margin-bottom:6px}.setup-card .form-grid{margin-bottom:18px}.setup-card form>.primary-button{margin-top:23px;width:100%}.setup-card>p:not(.setup-lead){font-size:12px;color:var(--muted);line-height:1.8}.requirements{background:#f5f7f1;border:1px solid var(--border);border-radius:7px;padding:17px;margin-bottom:24px;display:grid;gap:8px;font-size:11px}.requirements>div{display:flex;gap:10px}.requirement-ok{color:var(--green)}.requirement-error{color:#b64245}.setup-actions{display:flex;gap:12px;margin-top:24px}.login-card{max-width:425px}.login-card .text-button{display:block;margin-top:24px;text-align:center}.account-actions{display:flex;gap:9px;align-items:center}.account-actions form{margin:0}.account-actions input[type=hidden],input[type=hidden]{display:none}.password-form{border-top:1px solid var(--border);padding-top:22px;margin-top:25px}.password-form .secondary-button{margin-top:20px}.password-form .notice{margin-top:15px}button{border:0}svg{vertical-align:middle}img{max-width:100%}
@media(max-width:620px){.setup-page{padding:28px 0 40px}.setup-card{padding:24px 20px}.setup-card h1{font-size:29px}.setup-card .form-grid{gap:13px}.account-actions{gap:6px}.account-actions .admin-link{font-size:8px;padding:8px}.setup-actions{flex-wrap:wrap}}

/* Regional pages, survey periods, sharing and retained survey history. */
.region-switch{width:auto;max-width:140px;padding:7px 9px;margin-left:auto;font-size:11px;background:#fff;border-color:var(--border)}
.poll-period{display:flex;align-items:center;gap:8px;color:#69776f;font-size:11px;margin:-3px 0 20px;flex-wrap:wrap}
.candidate-grid{position:relative;gap:42px}.vs-circle{position:absolute;left:50%;top:47%;transform:translate(-50%,-50%);width:53px;height:53px;border-radius:50%;padding:3px;overflow:hidden;z-index:2;box-shadow:0 0 0 6px var(--paper),0 3px 14px #263f301a}.vs-circle:before{content:'';position:absolute;inset:-30%;background:conic-gradient(#dc414c,#f1b446,#5dae87,#3277c9,#aa53b6,#dc414c);animation:versus-turn 4s linear infinite}.vs-circle span{display:grid;place-items:center;position:relative;width:100%;height:100%;border-radius:50%;background:#fff;color:var(--ink);font-size:15px;letter-spacing:1px;font-weight:800}@keyframes versus-turn{to{transform:rotate(360deg)}}
.social-share{display:flex;align-items:center;justify-content:center;gap:10px;padding:22px 0 7px;flex-wrap:wrap}.social-share>span{font-size:11px;color:var(--muted);margin-right:6px}.share-button{border:1px solid var(--border);background:#fff;display:inline-flex;align-items:center;gap:8px;font-size:11px;font-weight:600;padding:8px 13px;border-radius:6px}.share-button b{font-size:16px;line-height:1}.share-facebook{color:#1877f2}.share-whatsapp{color:#138946}.share-telegram{color:#168dbb}.share-button:hover{background:#f0f3ed;border-color:#b9c8bb}
.history-card{margin-top:28px}.history-empty{padding:0 28px 25px;color:var(--muted);font-size:12px}.history-list{padding:0 28px 14px}.history-item{border-top:1px solid var(--border);padding:15px 0}.history-item summary{display:flex;justify-content:space-between;gap:15px;cursor:pointer;list-style:none;align-items:center}.history-item summary::-webkit-details-marker{display:none}.history-item summary>div{display:grid;gap:5px}.history-item summary>div>b{font-size:12px;font-weight:600}.history-item summary>div>span{font-size:10px;color:var(--muted)}.history-item summary>strong{white-space:nowrap;font-size:16px}.history-item small{font-size:10px;color:var(--muted);font-weight:400}.history-results{display:grid;gap:12px;padding:18px 0 0}.history-results>div:not(.history-actions){display:flex;align-items:center;gap:9px;font-size:12px}.history-results i{width:7px;height:7px;border-radius:50%;flex-shrink:0}.history-results span{flex:1}.history-results span small{display:block;margin-top:2px}.history-results b{display:grid;text-align:right}.history-actions{display:flex;flex-wrap:wrap;gap:16px;align-items:center}.history-actions .text-button{font-size:11px;display:inline-flex;gap:5px;align-items:center}.archive-notice{display:flex;justify-content:space-between;gap:15px;align-items:center}
.admin-region-select{width:190px;font-size:10px;color:var(--muted);display:grid;gap:6px}.admin-region-select select{margin:0;font-size:13px}.candidate-settings{border-top:1px solid var(--border);margin-top:24px;padding-top:20px}.candidate-settings h3{font-size:14px}.candidate-settings .form-grid{margin-top:14px}.candidate-settings label{display:block;margin-top:12px;font-size:11px}.new-poll-form{border-top:1px solid var(--border);margin-top:25px;padding-top:24px}.new-poll-form h3{font-size:15px}.new-poll-form p{font-size:11px;color:var(--muted);margin:8px 0 17px}.new-poll-form>.primary-button{margin-top:20px}.new-poll-form .form-grid{margin-top:15px}.province-detail select{font-size:10px;margin-top:18px;padding:8px;max-width:100%}.admin-content .history-card{margin-top:0}
@media(max-width:1000px){.topbar nav{gap:14px}.region-switch{max-width:115px;font-size:10px}.candidate-card{gap:16px;padding:20px}.vs-circle{width:46px;height:46px}.candidate-grid{gap:32px}}
@media(max-width:620px){.topbar-inner{flex-wrap:wrap;row-gap:8px}.region-switch{max-width:105px;margin-left:auto}.candidate-grid{gap:36px}.vs-circle{top:50%;width:44px;height:44px}.poll-period{font-size:10px;margin-bottom:15px}.social-share{gap:8px;padding:20px 0 5px}.social-share>span{flex-basis:100%;text-align:center;margin:0}.share-button{font-size:10px;padding:8px 12px}.history-list{padding:0 18px 10px}.history-empty{padding:0 18px 20px;font-size:11px}.history-item summary>div>b{font-size:11px}.history-item summary>div>span{font-size:9px}.history-item summary>strong{font-size:14px}.history-card{margin-top:20px}.admin-region-select{width:140px}.admin-intro{align-items:flex-start;gap:12px}.admin-intro h1{font-size:29px}.admin-intro p{font-size:10px}.admin-region-select select{font-size:11px}.archive-notice{align-items:flex-start;flex-direction:column;gap:8px}.history-actions{gap:10px}.history-results span small{font-size:8px}}
@media(prefers-reduced-motion:reduce){.vs-circle:before{animation:none}}

@media(max-width:620px){.candidate-grid{display:flex;flex-direction:column;gap:16px}.candidate-grid .candidate-card.edison{order:1}.candidate-grid .candidate-card.moises{order:3}.vs-circle{order:2;position:relative;left:auto;top:auto;transform:none;align-self:center;margin:-3px 0}}

@media(max-width:620px){body[data-page="dashboard"] .topbar-inner{gap:8px;flex-wrap:nowrap}body[data-page="dashboard"] .topbar-inner>.admin-link{padding:8px}body[data-page="dashboard"] .topbar-inner>.admin-link span{display:none}}

/* General ONPE results and the shared eight-hour voting policy. */
.quota-caption{display:block;margin-top:9px;font-size:10px;line-height:1.55;color:var(--muted)}
.map-survey-label{font-size:11px;font-weight:600;color:var(--green)}
.official-general-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px;padding:27px 30px 30px}
.official-general-result{border:1px solid var(--border);border-left:3px solid var(--candidate);border-radius:8px;padding:24px;background:#fff;min-width:0}
.official-general-result h3{font-size:19px;margin:8px 0 16px;letter-spacing:-.4px}
.official-general-result strong{display:block;font-size:40px;line-height:1.1;letter-spacing:-1.2px;font-weight:550;font-variant-numeric:tabular-nums;color:var(--candidate)}
.official-votes-label{display:block;font-size:11px;color:var(--muted);margin-top:6px}
.official-general-result>small{display:block;margin-top:13px;color:var(--muted);font-variant-numeric:tabular-nums}
.social-share .share-button{min-height:40px;border:0;gap:9px;font-weight:600;transition:filter .15s}
.social-share .share-button:hover{filter:brightness(.93)}
.social-share .share-facebook{background:#1877f2;color:#fff}
.social-share .share-whatsapp{background:#25d366;color:#09371b}
.social-share .share-telegram{background:#229ed9;color:#07334a}
.security-policy{display:flex;align-items:flex-start;gap:14px;background:#edf2eb;padding:18px;border-radius:8px;margin-bottom:17px}
.security-policy svg{flex-shrink:0;color:var(--green);margin-top:2px}
.security-policy p{font-size:12px;color:var(--muted);margin-top:6px}
.security-description{margin-bottom:18px!important}
.security-policy b{font-size:13px}
.provider-link{margin-top:10px}
.remove-security-key{margin-top:19px;align-items:flex-start}
.use-current-cut{margin:14px 0 22px}
textarea{width:100%;min-width:0;resize:vertical;border:1px solid #d7ded5;border-radius:7px;background:#fff;color:var(--text);padding:11px 12px;font:inherit;line-height:1.5}
textarea:focus-visible{outline:3px solid #83af9b;outline-offset:3px}
@media(max-width:700px){
 .official-general-grid{grid-template-columns:1fr;padding:20px;gap:12px}
 .official-general-result{padding:20px}
 .official-general-result h3{font-size:17px}
 .official-general-result strong{font-size:36px}
 .social-share{gap:8px}
 .social-share .share-button{min-height:44px;padding:10px 13px;font-size:11px}
 .quota-caption{font-size:10px}
 .map-toolbar{gap:12px;flex-wrap:wrap}
 .security-policy{padding:14px;gap:10px}
}
@media(max-width:380px){
 .social-share .share-button{padding:10px 9px;gap:6px}
 .vote-button{white-space:normal;min-height:44px}
}

/* LA ROTATIVA: regional candidate and results presentation. */
:root{--paper:#f5f8fa;--ink:#18364e;--text:#263d50;--muted:#6e8090;--border:#dce6ec;--green:#008e9f;--brand:#0099a9;--brand-blue:#007b9b;--mustard:#d4a426;--hero-title-size:clamp(32px,3.65vw,44px)}
.topbar{height:86px;border-top:4px solid var(--brand);background:#fff}
.brand-logo{width:56px;height:56px;object-fit:contain;border-radius:11px;flex-shrink:0}
.brand b{color:var(--brand-blue);letter-spacing:1.4px}
.brand small{letter-spacing:1px;font-size:8px}
.topbar nav a:hover,.back-link:hover{color:var(--brand)}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline-color:var(--brand)}
.eyebrow{color:var(--brand-blue)}
.intro{gap:28px;align-items:center}
.intro h1,.poll-section .section-heading h2{font-size:var(--hero-title-size);font-family:var(--serif);font-weight:500;letter-spacing:-1.3px;line-height:1.14;max-width:none}
.intro p{max-width:615px;font-size:14px;line-height:1.75}
.election-date{border:1px solid #e6cf86;border-left:6px solid var(--mustard);border-radius:14px;background:#fff2c5;padding:20px 24px;gap:16px;color:var(--brand-blue);max-width:380px;box-shadow:0 5px 20px #d4a42610}
.election-date span{display:block}
.election-date small{display:block;color:#78600c;font-size:10px;letter-spacing:1.7px;font-weight:700}
.election-date b{font-size:25px;line-height:1.2;font-weight:650;margin-top:7px;color:var(--ink)}
.election-date em{font-size:16px;font-weight:650;color:#78600c;margin-top:4px}
.election-date>svg{width:30px;height:30px;flex-shrink:0}
.poll-section .section-heading{justify-content:center;text-align:center;margin-bottom:15px}
.poll-section .section-heading h2{margin-top:9px}
.poll-period{justify-content:center;text-align:center;margin:0 0 24px;font-size:11px}
.matchup-board{padding:34px 30px 25px;border:1px solid var(--border);border-radius:19px;background:linear-gradient(145deg,#fff,#f2f7fa);box-shadow:0 8px 35px #18364e06}
.matchup-grid{display:grid;grid-template-columns:minmax(0,1fr) 136px minmax(0,1fr);align-items:center;gap:18px}
.matchup-grid .result-candidate{background:none;border:0;box-shadow:none;padding:20px 0 16px;display:block;min-width:0;order:initial}
.result-side-0{grid-column:1;grid-row:1}
.result-side-1{grid-column:3;grid-row:1}
.result-candidate-head{display:flex;align-items:center;gap:22px;min-width:0}
.result-side-1 .result-candidate-head{flex-direction:row-reverse;text-align:right}
.result-avatar-wrap{position:relative;flex-shrink:0}
.result-avatar-wrap .results-photo{width:125px;height:125px;border-radius:50%;border:4px solid var(--candidate);background:#eaf0f3;color:#94a9b5;box-shadow:0 2px 13px color-mix(in srgb,var(--candidate) 28%,transparent)}
.results-photo span{font-size:9px;margin-top:3px;letter-spacing:0;line-height:1.3;color:#69818e}
.results-photo img{object-position:center 20%}
.results-photo>svg{width:43px;height:43px}
.result-candidate-details{min-width:0;flex:1}
.result-percentage{display:block;white-space:nowrap;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:clamp(32px,3.7vw,49px);line-height:1.12;letter-spacing:-2.4px;color:var(--candidate);font-weight:800;font-variant-numeric:tabular-nums}
.result-percentage>span{font-size:.76em;letter-spacing:-1px}
.result-candidate-details h3{font-family:var(--serif);font-size:23px;font-weight:500;line-height:1.2;letter-spacing:-.5px;margin-top:7px;color:var(--ink)}
.result-party{font-size:10px;line-height:1.65;font-weight:500;letter-spacing:1.5px;margin-top:8px;color:#617a90;text-transform:uppercase;overflow-wrap:anywhere}
.winner-badge{position:absolute;left:50%;top:-31px;transform:translateX(-50%);display:inline-flex;align-items:center;gap:6px;white-space:nowrap;padding:7px 12px;border-radius:30px;background:#fff;color:var(--ink);border:1px solid var(--border);box-shadow:0 3px 12px #18364e18;font-size:11px;font-weight:750;letter-spacing:1px;text-transform:uppercase;z-index:2}
.winner-badge svg{width:23px;height:23px;border-radius:50%;background:var(--candidate);color:white;padding:4px}
.matchup-center{grid-column:2;grid-row:1;display:flex;flex-direction:column;align-items:center;text-align:center;gap:13px;min-width:0}
.matchup-center .status-pill{padding:0;background:none;font-size:10px;letter-spacing:.25px;white-space:normal;justify-content:center;margin:0;color:var(--brand-blue)}
.matchup-center .status-pill i{background:var(--brand);box-shadow:none}
.matchup-center .status-pill.paused{color:#867123}
.matchup-center .status-pill.paused i{background:var(--mustard)}
.matchup-center .vs-circle{position:relative;left:auto;top:auto;transform:none;order:initial;margin:0;width:55px;height:55px;flex-shrink:0;box-shadow:0 2px 13px #18364e12}
.matchup-center .vs-circle span{color:var(--ink);font-size:17px;background:#fff}
.result-gap{display:flex;flex-direction:column;align-items:center;gap:2px;color:#6e8599}
.result-gap>small{font-size:9px;letter-spacing:2px;font-weight:600}
.result-gap>strong{font-family:var(--serif);font-size:27px;font-weight:600;line-height:1.2;color:var(--brand-blue)}
.result-tie{font-size:10px;margin-top:4px;color:#876821}
.results-vote-bar{position:relative;height:54px;border-radius:30px;overflow:hidden;margin-top:13px}
.results-bar-track{display:flex;position:absolute;inset:0}
.results-bar-piece{height:100%;display:block;background-image:linear-gradient(180deg,#ffffff55,transparent 52%,#0000000d);min-width:0;flex-shrink:0}
.results-bar-piece+.results-bar-piece{border-left:2px solid #18364e91}
.results-bar-labels{position:absolute;inset:0;display:flex;align-items:center;justify-content:space-between;padding:0 20px;gap:12px;color:#fff;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:18px;font-weight:750;text-shadow:0 1px 3px #00000045;font-variant-numeric:tabular-nums}
.results-bar-labels>span{min-width:0;white-space:nowrap}
.results-bar-labels>span:last-child{text-align:right}
.results-bar-labels small{font:inherit;font-size:14px}
.matchup-actions{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:50px;margin-top:24px}
.candidate-action{text-align:center;min-width:0}
.candidate-action .vote-button{width:100%;max-width:345px;margin:0 auto;min-height:45px;padding:11px 16px;white-space:normal;font-size:12px;background:var(--candidate);display:flex;justify-content:center;border-radius:9px}
.candidate-action .quota-caption{max-width:360px;margin:10px auto 0;font-size:10px}
.social-share{padding-top:23px}
.poll-summary{justify-content:space-between;font-size:11px;padding:16px 1px}
.poll-summary .summary-number{color:var(--brand-blue);font-size:20px}
.official-card .matchup-board{margin:0 28px 27px;padding-top:24px;box-shadow:none;border:0;border-radius:13px}
.matchup-official .result-avatar-wrap .results-photo{width:99px;height:99px;border-width:3px}
.matchup-official .result-percentage{font-size:38px}
.matchup-official .result-candidate-details h3{font-size:21px}
.official-round{font-size:8px;font-weight:700;letter-spacing:1px;color:var(--brand-blue)}
.official-vs{display:grid;place-items:center;border:1px solid var(--border);border-radius:50%;background:#fff;width:44px;height:44px;color:#718699;font-size:14px;font-weight:750}
.matchup-official .result-gap>strong{font-size:23px}
.matchup-official .result-gap>small{font-size:8px;letter-spacing:1.5px}
.official-foot{line-height:1.75}
.footer{border-top:2px solid var(--brand);align-items:center;gap:22px}
.footer-brand{display:flex;flex-direction:column;gap:3px;min-width:155px}
.footer-brand b{font-size:12px;letter-spacing:1.3px;color:var(--brand-blue)}
.footer-brand small{font-size:8px;letter-spacing:.6px;color:var(--muted)}
.footer-election-logo{display:block;width:140px;height:auto;max-height:34px;object-fit:contain;flex-shrink:0}
.footer p{flex:1;font-size:10px;line-height:1.8}
.footer>a{font-size:10px;white-space:nowrap}
.participation-card{background:#eef8f8;border-color:#cfe6e9}
.participation-symbol{background:#dceff0;color:var(--brand-blue)}
.primary-button{background:var(--brand-blue)}
@media(max-width:1100px){
 .intro{gap:20px}.election-date{padding:17px;max-width:325px}.election-date b{font-size:22px}
 .matchup-grid{grid-template-columns:minmax(0,1fr) 110px minmax(0,1fr);gap:15px}
 .result-candidate-head{gap:16px}.result-avatar-wrap .results-photo{width:108px;height:108px}
 .result-percentage{font-size:37px}.result-candidate-details h3{font-size:21px}
 .matchup-official .result-avatar-wrap .results-photo{width:86px;height:86px}
 .matchup-official .result-percentage{font-size:32px}
}
@media(max-width:960px){
 .result-candidate-head,.result-side-1 .result-candidate-head{flex-direction:column;text-align:center;gap:13px;align-items:center}
 .result-candidate-details{width:100%}.result-candidate-details h3{max-width:290px;margin-left:auto;margin-right:auto}
 .matchup-grid{grid-template-columns:minmax(0,1fr) 110px minmax(0,1fr)}
 .matchup-official .result-candidate-head{gap:12px}
 .intro h1,.poll-section .section-heading h2{font-size:var(--hero-title-size)}
}
@media(max-width:860px){
 .intro{align-items:flex-start}.election-date{margin-top:0;max-width:295px}.election-date b{font-size:21px}
 .matchup-board{padding:35px 24px 23px}.footer p{order:4;flex-basis:100%;margin:0}
 .matchup-actions{gap:28px}.footer-election-logo{margin-left:auto}
}
@media(max-width:620px){
 .topbar{height:76px}.topbar-inner{gap:8px;flex-wrap:nowrap}
 .topbar .brand{gap:8px;min-width:0;flex-shrink:1}.brand-logo{width:44px;height:44px;border-radius:8px}
 .brand b{font-size:11px;letter-spacing:1px}.brand small{font-size:6.5px;letter-spacing:.5px;max-width:106px}
 .topbar-inner>.admin-link{padding:9px;flex-shrink:0}.topbar-inner>.admin-link span{display:none}
 .region-switch{max-width:100px;padding:7px 6px;font-size:10px;flex-shrink:0;margin-left:auto}
 .intro h1,.poll-section .section-heading h2{font-size:var(--hero-title-size);letter-spacing:-1.05px;line-height:1.16}
 .intro p{font-size:12px;max-width:none;line-height:1.8}.intro{margin-bottom:31px}
 .election-date{max-width:none;border:1px solid #e6cf86;border-left:5px solid var(--mustard);padding:17px 18px;margin-top:23px;gap:15px}
 .election-date b{font-size:24px;margin-top:6px}.election-date small{font-size:9px;letter-spacing:1.6px}.election-date em{font-size:15px;margin-top:4px}
 .election-date>svg{width:29px;height:29px}.election-date span{display:block}
 .poll-section .section-heading h2{max-width:none}.poll-section .section-heading{margin-bottom:15px}
 .poll-period{font-size:10px;line-height:1.8;margin-bottom:21px}
 .matchup-board{padding:32px 14px 19px;border-radius:14px}
 .matchup-grid{grid-template-columns:minmax(0,1fr) 58px minmax(0,1fr);gap:9px;align-items:center}
 .matchup-grid .result-candidate{padding:14px 0 9px}
 .result-avatar-wrap .results-photo{width:84px;height:84px;border-width:3px}
 .results-photo>svg{width:30px;height:30px}.results-photo span{font-size:7px;line-height:1.4}
 .result-candidate-head,.result-side-1 .result-candidate-head{gap:13px}
 .result-percentage,.matchup-official .result-percentage{font-size:clamp(20px,5.9vw,34px);letter-spacing:-1.5px}
 .result-percentage>span{font-size:.72em;letter-spacing:-.6px}
 .result-candidate-details h3,.matchup-official .result-candidate-details h3{font-size:17px;line-height:1.22;letter-spacing:-.3px;margin-top:7px;overflow-wrap:anywhere}
 .result-party{font-size:8px;line-height:1.6;letter-spacing:.7px;margin-top:7px}
 .matchup-center{gap:11px}.matchup-center .status-pill{font-size:7px;line-height:1.5;gap:3px}
 .matchup-center .status-pill i{width:4px;height:4px}
 .matchup-center .vs-circle{width:42px;height:42px;padding:2px}.matchup-center .vs-circle span{font-size:13px}
 .result-gap>small,.matchup-official .result-gap>small{font-size:7px;letter-spacing:1px}
 .result-gap>strong,.matchup-official .result-gap>strong{font-size:20px}.result-tie{font-size:8px}
 .winner-badge{font-size:8px;letter-spacing:.6px;padding:5px 7px;gap:4px;top:-26px}
 .winner-badge svg{width:18px;height:18px;padding:3px}
 .results-vote-bar{height:47px;margin-top:14px;border-radius:25px}
 .results-bar-labels{font-size:14px;padding:0 14px;gap:8px;line-height:1.15}
 .results-bar-labels small{font-size:9px;display:block;margin-top:2px;letter-spacing:.4px}
 .matchup-actions{gap:17px;margin-top:20px}.candidate-action .vote-button{font-size:10px;min-height:48px;padding:10px 8px;gap:5px}
 .candidate-action .vote-button svg{width:13px;height:13px;flex-shrink:0}
 .candidate-action .quota-caption{font-size:8px;line-height:1.7;margin-top:8px}
 .social-share{padding-top:21px}.poll-summary{font-size:10px;gap:10px;padding:13px 0}.poll-summary .summary-number{font-size:17px}
 .refresh-caption{font-size:8px}.official-card .matchup-board{margin:0 12px 20px;padding:20px 7px 16px}
 .matchup-official .result-avatar-wrap .results-photo{width:75px;height:75px}
 .matchup-official .matchup-grid{gap:6px;grid-template-columns:minmax(0,1fr) 53px minmax(0,1fr)}
 .official-round{font-size:6px;letter-spacing:.6px;line-height:1.6}.official-vs{width:34px;height:34px;font-size:11px}
 .footer{gap:15px;padding-top:22px}.footer-election-logo{width:122px;max-height:29px;margin-left:auto}
 .footer-brand{min-width:0}.footer-brand small{max-width:175px;font-size:7px}
 .footer p{font-size:9px;margin:0}.footer>a{font-size:9px}.footer-brand b{font-size:11px}
}
@media(max-width:350px){
 .brand-logo{width:38px;height:38px}.brand b{font-size:10px}.brand small{max-width:93px;font-size:6px}
 .region-switch{max-width:86px}.matchup-board{padding-left:10px;padding-right:10px}
 .matchup-grid{grid-template-columns:minmax(0,1fr) 45px minmax(0,1fr);gap:7px}
 .result-avatar-wrap .results-photo{width:76px;height:76px}
 .result-candidate-details h3,.matchup-official .result-candidate-details h3{font-size:15px}
 .matchup-center .status-pill{font-size:6.5px}.result-gap>strong{font-size:18px}
 .results-bar-labels{font-size:13px;padding:0 12px}.candidate-action .vote-button svg{display:none}
 .matchup-official .matchup-grid{grid-template-columns:minmax(0,1fr) 43px minmax(0,1fr);gap:5px}
}
@media(prefers-reduced-motion:reduce){.matchup-center .vs-circle:before{animation:none}}

/* Centered election date, discreet candidate palette, compact sharing and ad spaces. */
:root{--red:#a93246;--blue:#285b83}
.intro.election-hero{display:block;text-align:center;padding:18px 0 10px;margin-bottom:34px}
.election-hero>.eyebrow{display:flex;align-items:center;justify-content:center;gap:8px;flex-wrap:wrap;font-size:10px;letter-spacing:1.7px}
.intro.election-hero .election-headline{position:relative;display:table;margin:13px auto 25px;max-width:100%;font-size:clamp(22px,6.4vw,48px);line-height:1.15;letter-spacing:-1.4px;font-weight:600;white-space:nowrap;color:var(--ink)}
.election-headline:after{content:'';position:absolute;bottom:-12px;left:50%;transform:translateX(-50%);height:4px;width:105px;border-radius:5px;background:var(--mustard)}
.intro.election-hero>p{margin:0 auto;max-width:690px;text-align:center;font-size:12px;line-height:1.8;color:var(--muted)}
.social-share{gap:11px;padding:19px 0 8px}
.social-share .share-button{position:relative;min-height:28px;height:28px;padding:3px 14px;border-radius:999px;font-size:10.5px;line-height:1;gap:7px}
.social-share .share-button:before{content:'';position:absolute;inset:-7px 0;border-radius:999px}
.social-share .share-button svg{width:12px;height:12px}
.social-share .share-button b{font-size:14px}
.matchup-center .status-pill.rotativa-live{max-width:100%;padding:6px 8px;border-radius:999px;color:#fff;font-weight:700;font-size:9px;letter-spacing:.1px;line-height:1.45;background:linear-gradient(120deg,#007b9b,#0099a9,#92751d,#007b9b);background-size:300% 100%;animation:brand-flow 7s ease infinite,brand-breathe 3.5s ease-in-out infinite}
.matchup-center .status-pill.rotativa-live i{background:#dceff0;flex-shrink:0}
@keyframes brand-flow{0%,100%{background-position:0% 50%}50%{background-position:100% 50%}}
@keyframes brand-breathe{0%,100%{box-shadow:0 0 7px #0099a930}50%{box-shadow:0 0 15px #0099a960,0 0 24px #d4a42620}}
.matchup-center .vs-circle{width:65px;height:65px;padding:4px;overflow:visible;isolation:isolate;box-shadow:0 0 16px #0099a939}
.matchup-center .vs-circle:before{inset:0;border-radius:50%;background:conic-gradient(var(--mustard),var(--brand),var(--blue),var(--brand),var(--red),var(--mustard));animation:versus-turn 2.7s linear infinite}
.matchup-center .vs-circle:after{content:'';position:absolute;inset:-6px;border-radius:50%;border:1px solid #0099a942;box-shadow:0 0 13px #0099a936;z-index:-1;animation:versus-aura 3.5s ease-in-out infinite}
.matchup-center .vs-circle>span{background:radial-gradient(circle at 35% 25%,#14718a,#18364e 75%);color:#fff;font-size:21px;font-style:italic;font-weight:900;text-shadow:0 0 7px #ffffff50;letter-spacing:.5px;box-shadow:inset 0 0 13px #ffffff13}
.vs-orbit{position:absolute;inset:-8px;border:1px dashed #0099a940;border-radius:50%;animation:versus-turn 8s linear infinite;pointer-events:none;z-index:-1}
.vs-orbit:after{content:'';position:absolute;top:1px;left:50%;width:5px;height:5px;border-radius:50%;background:var(--mustard);box-shadow:0 0 8px #d4a42699}
@keyframes versus-aura{0%,100%{transform:scale(1);opacity:.75}50%{transform:scale(1.12);opacity:.3}}
.ad-placement{clear:both;min-width:0;padding:18px 0 22px;text-align:center;margin:27px 0;color:#8b99a4;contain:layout style}
.ad-placement>small{display:block;font-size:8px;letter-spacing:1.8px;font-weight:500;margin-bottom:10px;color:#8b99a4}
.ad-reserved{width:100%;min-height:90px;max-width:970px;margin:0 auto;background:#eef2f5;border:1px dashed #d8e1e7;border-radius:4px}
.ad-rectangle{margin:4px 0 0;padding:20px 18px 18px;border-top:1px solid var(--border)}
.ad-rectangle .ad-reserved{max-width:336px;min-height:250px}
.dashboard-grid{margin-top:0}
.right-column .ad-placement{align-self:stretch}
@media(max-width:620px){
 .intro.election-hero{padding:13px 0 3px;margin-bottom:30px}
 .election-hero>.eyebrow{font-size:8px;letter-spacing:1px;gap:6px}
 .intro.election-hero .election-headline{font-size:clamp(22px,6.4vw,35px);letter-spacing:-.7px;margin-top:12px;margin-bottom:24px}
 .election-headline:after{width:80px;height:3px}
 .intro.election-hero>p{font-size:11px;max-width:340px;line-height:1.8}
 .social-share{gap:9px;padding:18px 0 8px}
 .social-share .share-button{height:27px;min-height:27px;padding:3px 12px;font-size:10px}
 .matchup-center .status-pill.rotativa-live{font-size:7px;padding:5px 4px;border-radius:11px;line-height:1.45}
 .matchup-center .vs-circle{width:49px;height:49px;padding:3px}
 .matchup-center .vs-circle>span{font-size:16px}
 .vs-orbit{inset:-6px}.vs-orbit:after{width:4px;height:4px}
 .matchup-center .vs-circle:after{inset:-5px}
 .ad-placement{margin:23px 0;padding:17px 0 20px}.ad-reserved{min-height:100px}
 .ad-rectangle{margin:2px 0 0;padding:23px 18px 18px}.ad-rectangle .ad-reserved{min-height:250px}
 .dashboard-grid{margin-top:0}
}
@media(max-width:350px){
 .matchup-center .vs-circle{width:43px;height:43px}
 .matchup-center .status-pill.rotativa-live{font-size:6.5px;padding:5px 3px}
 .social-share .share-button{padding:3px 10px;gap:6px}
}
@media(prefers-reduced-motion:reduce){
 .matchup-center .status-pill.rotativa-live,.matchup-center .vs-circle:before,.matchup-center .vs-circle:after,.vs-orbit{animation:none}
}

/* LA ROTATIVA: live participation, shareable vote receipt and restrained date strip. */
.poll-section .section-heading h1{font-size:var(--hero-title-size,42px);letter-spacing:-1.4px;line-height:1.16;margin:9px 0 0;font-weight:600}
.election-banner{margin:32px 0 2px;padding:27px 18px 24px;border-top:1px solid var(--border);border-bottom:1px solid var(--border);text-align:center;background:linear-gradient(100deg,#f6f5ef00,#f6f5ef90,#f6f5ef00)}
.election-banner-date{display:flex;align-items:center;justify-content:center;gap:15px}
.election-banner-date>svg{color:var(--mustard);flex-shrink:0}
.election-banner .eyebrow{display:block;font-size:9px;letter-spacing:1.8px;color:var(--muted);margin:0 0 8px}
.election-banner h2{font-size:clamp(22px,3.5vw,30px);font-weight:500;letter-spacing:-.65px;line-height:1.2;white-space:nowrap;margin:0;color:var(--ink)}
.election-banner>p{font-size:11px;line-height:1.8;color:var(--muted);margin:13px auto 0;max-width:630px}
.candidate-controls{display:flex;align-items:stretch;gap:9px;width:100%}
.candidate-controls .vote-button{flex:1;width:auto;max-width:none;min-width:0;margin:0;min-height:51px;padding:9px 11px;font-size:11px;line-height:1.4}
.support-button{display:flex;align-items:center;justify-content:center;gap:8px;min-width:147px;padding:8px 10px;border:1px solid color-mix(in srgb,var(--candidate) 35%,white);background:color-mix(in srgb,var(--candidate) 5%,white);border-radius:9px;color:var(--candidate);cursor:pointer;touch-action:manipulation;user-select:none}
.support-button>span:not(.support-pace){display:grid;text-align:left;gap:3px}
.support-button b{font-size:18px;font-variant-numeric:tabular-nums;line-height:1}
.support-button small{font-size:6.8px;letter-spacing:.65px;font-weight:600;white-space:nowrap}
.support-pace{display:grid;font-size:11px;line-height:1.4;border-left:1px solid color-mix(in srgb,var(--candidate) 20%,white);padding-left:8px;min-width:29px}
.support-pace small{font-size:8px;letter-spacing:0}
.support-button:hover:not(:disabled){background:color-mix(in srgb,var(--candidate) 10%,white)}
.support-button:active:not(:disabled){transform:scale(.95)}
.support-button:disabled{opacity:.55;cursor:default}
.support-caption{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;color:var(--muted);font-size:9px;text-align:left;padding:15px 0 1px;line-height:1.7}
.support-caption>button{display:flex;align-items:center;gap:6px;min-height:35px;background:transparent;color:var(--muted);font-size:9px;padding:7px 0;cursor:pointer}
.support-error{width:100%;color:#a93246}
.vote-again{display:block;margin:8px auto 0;padding:5px 10px;background:transparent;color:var(--candidate);font-size:10px;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.vote-again:disabled{opacity:.6}
.result-avatar-wrap .photo-hyped{animation:candidate-cheer .25s ease-in-out infinite alternate}
.face-cheer{position:absolute;right:-7px;bottom:-6px;z-index:2;background:#fff;border:2px solid #fff;border-radius:50%;width:38px;height:38px;display:grid;place-items:center;font-size:24px;box-shadow:0 3px 16px #18354025;animation:face-cheer .65s ease-out both;pointer-events:none}
.live-chat{margin-bottom:26px;padding:26px}
.chat-state{font-size:8px;letter-spacing:1px;white-space:nowrap;display:flex;align-items:center;gap:6px;color:var(--muted);padding-top:4px}
.chat-state i{width:6px;height:6px;border-radius:50%;background:#adb5b2}
.chat-state.is-live{color:var(--brand-teal,#237f91)}
.chat-state.is-live i{background:#237f91;box-shadow:0 0 0 4px #237f9110}
.chat-messages{height:280px;overflow:auto;overscroll-behavior:contain;border:1px solid var(--border);border-radius:10px;background:#fafbf8;padding:16px;scroll-behavior:smooth}
.chat-empty{height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:12px;color:var(--muted);font-size:12px;line-height:1.8;padding:20px}
.chat-empty>p{margin:0}
.chat-message{display:flex;gap:11px;margin-bottom:17px;font-size:12px;text-align:left}
.chat-message:last-child{margin-bottom:0}
.chat-message>div:last-child{flex:1;min-width:0}
.chat-avatar{width:30px;height:30px;flex:0 0 30px;display:grid;place-items:center;border-radius:50%;background:#e8eff0;color:#237f91;font-size:12px;font-weight:600}
.chat-byline{display:flex;align-items:center;gap:12px;min-width:0}
.chat-byline b{font-size:11px;overflow-wrap:anywhere}
.chat-byline time{font-size:9px;color:var(--muted);white-space:nowrap}
.chat-message p{margin:4px 0 0;line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere;color:var(--ink)}
.stadium-reactions{display:flex;gap:16px;align-items:center;justify-content:space-between;padding:12px 0}
.stadium-reactions>span{color:var(--muted);font-size:10px}
.stadium-reactions>div{display:flex;gap:6px;flex-wrap:wrap}
.stadium-reactions button{background:#f3f5ef;border:1px solid var(--border);height:40px;width:42px;display:grid;place-items:center;border-radius:12px;font-size:22px;cursor:pointer;touch-action:manipulation}
.stadium-reactions button:active:not(:disabled){transform:scale(1.18)}
.stadium-reactions button:disabled{opacity:.4;cursor:default}
.chat-form{display:grid;grid-template-columns:170px 1fr;gap:9px}
.chat-form input{font-size:11px;min-height:42px;background:white;margin:0;min-width:0}
.chat-form input:disabled{background:#f6f7f3}
.chat-compose{display:flex;gap:7px;min-width:0}
.chat-compose input{flex:1}
.chat-compose>button{background:#237f91;color:#fff;width:44px;flex:0 0 44px;border-radius:10px;cursor:pointer}
.chat-compose>button:disabled{opacity:.4;cursor:default}
.chat-form>small{grid-column:1/-1;text-align:right;color:var(--muted);font-size:9px;margin-top:0}
.chat-notice{font-size:10px;color:var(--muted);margin:10px 0 0;line-height:1.6}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.stadium-flying-layer{position:fixed;inset:0;pointer-events:none;z-index:45;overflow:hidden}
.stadium-flying{position:absolute;bottom:70px;font-size:39px;animation:stadium-fly 2s cubic-bezier(.15,.45,.2,1) both;filter:drop-shadow(0 3px 7px #18354014)}
.engagement-admin{margin-top:24px;margin-bottom:24px}
.engagement-admin-summary{display:flex;justify-content:space-between;gap:12px;align-items:center;font-size:12px;padding:0 26px 15px}
.engagement-admin>.form-help{margin:0 26px 18px}
.engagement-admin>.notice{margin:0 26px 18px}
.moderation-feed{max-height:480px;overflow:auto;margin:0 26px 26px;border-top:1px solid var(--border)}
.moderation-message{padding:16px 0;border-bottom:1px solid var(--border);display:flex;align-items:center;gap:15px;justify-content:space-between}
.moderation-message>div:first-child{flex:1;min-width:0}
.moderation-message b{font-size:12px}
.moderation-message small{display:block;font-size:9px;color:var(--muted);margin-top:4px}
.moderation-message p{font-size:12px;line-height:1.7;margin:7px 0 0;overflow-wrap:anywhere}
.moderation-message.is-hidden{opacity:.6}
.moderation-actions{display:flex;gap:7px;flex-wrap:wrap;justify-content:flex-end}
.moderation-actions button{min-height:36px;padding:6px 10px;background:#f3f5ef;border:1px solid var(--border);border-radius:8px;display:flex;gap:5px;align-items:center;cursor:pointer;color:var(--ink);font-size:9px}
.story-dialog{border:0;border-radius:18px;padding:27px;width:440px;max-width:calc(100vw - 28px);max-height:94dvh;overflow:auto;text-align:center;color:var(--ink);background:#fff;box-shadow:0 18px 80px #15354035}
.story-dialog::backdrop{background:#19333fcc;backdrop-filter:blur(4px)}
.story-dialog .eyebrow{display:flex;gap:7px;align-items:center;justify-content:center;font-size:9px;margin-top:2px;color:#237f91}
.story-dialog h2{font-size:25px;letter-spacing:-.7px;margin:11px 0 5px;font-weight:600}
.story-dialog>p{font-size:11px;color:var(--muted);margin:0 0 16px}
.story-preview{display:block;margin:0 auto 17px;border:1px solid var(--border);border-radius:13px;width:auto;height:min(49dvh,420px);max-width:100%;object-fit:contain;box-shadow:0 5px 25px #18354010}
.story-building{height:250px;display:grid;place-items:center;color:var(--muted);font-size:12px;background:#f8f9f4;border-radius:12px;margin-bottom:18px;padding:20px}
.story-actions{display:grid;gap:9px}
.story-actions button{display:flex;gap:8px;align-items:center;justify-content:center;font-size:11px;min-height:42px;width:100%}
.story-dialog .story-hint{font-size:10px;margin:12px 0 0;line-height:1.8}
.story-return{display:block;margin:17px auto 0;font-size:10px}
@keyframes candidate-cheer{from{transform:rotate(-4deg) scale(1)}to{transform:rotate(4deg) scale(1.06)}}
@keyframes face-cheer{0%{transform:scale(.45) rotate(-15deg);opacity:0}22%{transform:scale(1.15) rotate(8deg);opacity:1}75%{transform:scale(1);opacity:1}100%{transform:translateY(-7px);opacity:0}}
@keyframes stadium-fly{0%{transform:translate(0,0) rotate(-9deg) scale(.6);opacity:0}15%{opacity:1}65%{opacity:.9}100%{transform:translate(30px,-65vh) rotate(18deg) scale(1.35);opacity:0}}
@media(max-width:980px){.candidate-controls{gap:7px}.support-button{min-width:119px;gap:6px;padding:8px}.support-button>svg{width:15px}.support-pace{min-width:24px;padding-left:6px}.support-button b{font-size:16px}.support-button small{font-size:6px}.candidate-controls .vote-button{font-size:10px;padding:9px 8px}}
@media(max-width:620px){.poll-section .section-heading h1{letter-spacing:-1px}.election-banner{padding:22px 0;margin-top:25px}.election-banner-date{gap:10px}.election-banner-date>svg{width:18px}.election-banner .eyebrow{font-size:8px;letter-spacing:1.2px}.election-banner>p{font-size:10px;max-width:320px;line-height:1.8}.matchup-actions{display:flex;flex-direction:column;gap:12px}.candidate-controls .vote-button{font-size:11px;min-height:48px;max-width:none}.candidate-controls .vote-button svg{display:inline;width:16px;height:16px}.support-button{min-width:141px;min-height:48px}.support-button b{font-size:19px}.support-button small{font-size:6.7px}.support-pace{font-size:11px;padding-left:8px;min-width:29px}.support-caption{font-size:8px;gap:2px;padding-top:11px}.support-caption>button{font-size:8px;min-height:34px}.face-cheer{width:30px;height:30px;font-size:20px;right:-6px}.live-chat{padding:21px 18px;margin-bottom:22px}.chat-messages{height:268px;padding:13px}.chat-form{grid-template-columns:1fr}.chat-form>input{max-width:210px}.chat-form>small{font-size:8px}.stadium-reactions{gap:8px;align-items:flex-start;flex-direction:column;padding:12px 0}.stadium-reactions button{height:40px;width:41px;font-size:22px}.stadium-reactions>div{gap:6px}.chat-message{font-size:11px}.chat-byline b{font-size:10px}.engagement-admin-summary{padding:0 20px 15px;align-items:flex-start;flex-direction:column}.moderation-feed{margin:0 20px 20px}.engagement-admin>.form-help{margin-left:20px;margin-right:20px}.moderation-message{flex-direction:column;align-items:flex-start;gap:10px}.moderation-actions{justify-content:flex-start}.story-dialog{padding:25px 20px}.story-dialog h2{font-size:22px}.story-preview{height:min(46dvh,390px)}.stadium-flying{font-size:33px}}
@media(max-width:370px){.election-banner h2{font-size:21px;letter-spacing:-.55px}.support-button{min-width:126px}.support-button>svg{width:14px}.support-button small{font-size:6px}.support-pace{padding-left:6px;font-size:10px;min-width:24px}.candidate-controls .vote-button{font-size:10px}.stadium-reactions>div{gap:5px}.stadium-reactions button{width:36px;height:38px;font-size:21px}}
@media(prefers-reduced-motion:reduce){.result-avatar-wrap .photo-hyped,.face-cheer,.stadium-flying{animation:none}.stadium-flying{opacity:.7;bottom:105px}.chat-messages{scroll-behavior:auto}.support-button:active:not(:disabled),.stadium-reactions button:active:not(:disabled){transform:none}}

/* Regional publishing and plain text editing. */
.dashboard-grid.is-single{grid-template-columns:minmax(0,1fr)}
.topbar-inner>.region-switch{margin-left:auto}
.election-banner h2{white-space:normal;overflow-wrap:anywhere;text-wrap:balance}
.page-editor{margin:24px 0;overflow:hidden;min-width:0}
.page-editor form{min-width:0}
.page-editor h3{font-size:16px;letter-spacing:-.3px;margin:23px 26px 14px}
.page-editor .notice{margin:0 26px 15px}
.page-editor-toolbar{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;padding:0 26px 5px}
.page-editor-toolbar>label{font-size:11px;display:grid;gap:8px;min-width:215px;color:var(--muted)}
.page-editor-toolbar select{font-size:11px;min-height:40px;margin:0}
.page-editor-toolbar button{display:flex;align-items:center;gap:7px;font-size:10px;min-height:40px}
.block-controls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin:0 26px}
.block-control{border:1px solid var(--border);border-radius:10px;min-height:72px;padding:12px 13px;display:flex;align-items:center;justify-content:space-between;gap:12px;cursor:pointer;background:#fafbf8}
.block-control>span{display:grid;grid-template-columns:18px 1fr;gap:5px 8px;align-items:center;min-width:0}
.block-control svg{color:#237f91}
.block-control b{font-size:10px;line-height:1.5;font-weight:500;overflow-wrap:anywhere}
.block-control small{grid-column:2;color:#237f91;font-size:8px;font-weight:400}
.block-control.is-unpublished{background:#f6f6f3;border-style:dashed}
.block-control.is-unpublished small,.block-control.is-unpublished svg{color:#909a96}
.page-editor .block-control input[type=checkbox]{appearance:none;-webkit-appearance:none;display:block;width:37px;height:23px;min-width:37px;min-height:23px;margin:0;padding:0;border:1px solid #c6cfcb;border-radius:999px;background:#dbe1de;position:relative;cursor:pointer;box-shadow:none;transition:background .15s}
.block-control input[type=checkbox]:before{content:'';position:absolute;left:3px;top:3px;width:15px;height:15px;background:#fff;border-radius:50%;box-shadow:0 1px 3px #18354025;transition:transform .15s}
.page-editor .block-control input[type=checkbox]:checked{background:#237f91;border-color:#237f91}
.block-control input[type=checkbox]:checked:before{transform:translateX(14px)}
.page-editor .block-control input[type=checkbox]:focus-visible{outline:3px solid #c39d3b88;outline-offset:3px}
.block-control input[type=checkbox]:disabled{opacity:.5;cursor:default}
.page-editor .editor-help{font-size:10px;line-height:1.8;color:var(--muted);margin:14px 26px 20px}
.editor-help code{font-size:10px;border-radius:4px;padding:2px 5px;background:#eef3f1;color:#237f91}
.editor-text-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:15px;border-top:1px solid var(--border);padding:23px 26px 0;margin-top:24px}
.page-editor .editor-text-heading h3{margin:0 0 8px}
.editor-text-heading p{font-size:10px;line-height:1.8;color:var(--muted);margin:0;max-width:410px}
.editor-search{display:flex;gap:8px;align-items:center;color:var(--muted);width:230px;min-width:190px;margin:0}
.editor-search input{font-size:10px;min-height:38px;margin:0;width:100%}
.copy-groups{margin:0 26px 24px;display:grid;gap:10px}
.copy-group{border:1px solid var(--border);border-radius:10px;background:#fff;overflow:hidden}
.copy-group>summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;padding:15px 17px;gap:12px;background:#fafbf8}
.copy-group>summary::-webkit-details-marker{display:none}
.copy-group>summary>span{display:grid;gap:5px}
.copy-group>summary b{font-size:11px;font-weight:500}
.copy-group>summary small{font-size:8px;color:var(--muted)}
.copy-group>summary>svg{color:var(--muted);transition:transform .15s;flex-shrink:0}
.copy-group[open]>summary>svg{transform:rotate(180deg)}
.copy-fields{padding:18px;display:grid;gap:22px}
.copy-field{min-width:0}
.copy-field>div{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:8px}
.copy-field label{font-size:10px;line-height:1.6;margin:0;overflow-wrap:anywhere;max-width:80%;color:var(--ink)}
.copy-restore{background:transparent;padding:2px 0;font-size:8px;line-height:1.6;color:#237f91;cursor:pointer;white-space:nowrap;flex-shrink:0}
.copy-field textarea{width:100%;min-height:56px;resize:vertical;font-size:11px;line-height:1.8;border:1px solid var(--border);border-radius:7px;padding:10px 12px;margin:0;color:var(--ink);background:#fff}
.copy-field textarea:focus{outline:2px solid #237f912f;border-color:#237f91}
.copy-preview{display:block;font-size:9px;line-height:1.8;color:var(--muted);padding:7px 2px 0;overflow-wrap:anywhere;white-space:pre-wrap}
.page-editor-save{padding:17px 26px;background:#f5f7f1;border-top:1px solid var(--border);display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:10px}
.page-editor-save>span{margin-right:auto;font-size:9px;color:var(--muted)}
.page-editor-save>button{font-size:10px;min-height:40px;display:flex;align-items:center;justify-content:center;gap:7px}
.copy-field textarea:disabled{opacity:.6;background:#f5f6f2}
@media(max-width:850px){.editor-text-heading{flex-direction:column}.editor-search{width:100%;max-width:360px}.page-editor-toolbar{flex-wrap:wrap}.page-editor-save>span{width:100%}}
@media(max-width:620px){.block-controls{grid-template-columns:1fr;margin:0 20px}.page-editor h3{margin-left:20px;margin-right:20px}.page-editor-toolbar{padding-left:20px;padding-right:20px;gap:12px}.page-editor-toolbar>label{width:100%;min-width:0}.page-editor .editor-help,.page-editor .notice{margin-left:20px;margin-right:20px}.editor-text-heading{padding:21px 20px 0}.copy-groups{margin:0 20px 20px}.copy-fields{padding:15px}.copy-field>div{flex-direction:column;gap:5px}.copy-field label{max-width:100%}.copy-restore{font-size:9px}.page-editor-save{padding:17px 20px;justify-content:stretch}.page-editor-save>button{width:100%}.block-control b{font-size:11px}.block-control small{font-size:9px}.election-banner h2{font-size:clamp(21px,6vw,28px)}}
@media(prefers-reduced-motion:reduce){.block-control input[type=checkbox],.block-control input[type=checkbox]:before,.copy-group>summary>svg{transition:none}}

/* Cuerpo público: 100 px menos en escritorio; se conserva el ancho móvil. */
@media(min-width:1101px){.dashboard.page-width{max-width:1124px;width:calc(100% - 188px)}}
.participation-notice{background:#fff7dc;border:1px solid #e1c568;color:#705b1e;margin-bottom:24px}
.security-activation p{margin-top:6px;font-size:12px;line-height:1.55}
.ad-code-field{margin:22px 0}.ad-code-field label{display:flex;justify-content:space-between;align-items:center;gap:12px}.ad-code-field label span{color:var(--muted);font-size:10px;font-weight:400}.ad-code-field textarea{font-family:ui-monospace,Consolas,monospace;font-size:12px;line-height:1.5;resize:vertical;width:100%;min-height:130px;border:1px solid var(--border);border-radius:8px;padding:12px}.ad-placement .adsbygoogle{min-height:100px}.ad-rectangle .adsbygoogle{min-height:250px}

/* Móvil: cada acción conserva la columna de su candidato; filas compartidas. */
@media(max-width:620px){
 .matchup-survey{display:flex;flex-direction:column}
 .matchup-survey>.matchup-grid{order:0}
 .matchup-survey>.matchup-actions{order:1;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:12px;row-gap:9px;margin-top:18px;align-items:stretch}
 .matchup-survey>.results-vote-bar{order:2;margin-top:20px}
 .matchup-survey .candidate-action,.matchup-survey .candidate-controls{display:contents}
 .matchup-survey .candidate-action:first-child .candidate-controls>.vote-button{grid-column:1;grid-row:1}
 .matchup-survey .candidate-action:nth-child(2) .candidate-controls>.vote-button{grid-column:2;grid-row:1}
 .matchup-survey .candidate-action:first-child .support-button{grid-column:1;grid-row:2}
 .matchup-survey .candidate-action:nth-child(2) .support-button{grid-column:2;grid-row:2}
 .matchup-survey .candidate-action:first-child>.vote-again{grid-column:1;grid-row:3}
 .matchup-survey .candidate-action:nth-child(2)>.vote-again{grid-column:2;grid-row:3}
 .matchup-survey .candidate-controls>.vote-button{width:100%;min-width:0;min-height:58px;height:100%;padding:10px 8px;font-size:11px;line-height:1.4;white-space:normal;gap:5px;justify-content:center;border-radius:10px}
 .matchup-survey .vote-label{flex:1;min-width:0;overflow-wrap:anywhere;text-align:center}
 .matchup-survey .candidate-controls>.vote-button>svg{flex-shrink:0;width:15px;height:15px}
 .matchup-survey .candidate-controls>.vote-button>svg:last-child{display:none}
 .matchup-survey .support-button{display:grid;grid-template-columns:16px minmax(0,1fr);gap:4px 6px;min-width:0;width:100%;min-height:66px;height:100%;padding:9px 8px;border-radius:10px}
 .matchup-survey .support-button>svg{width:16px;height:16px;justify-self:center}
 .matchup-survey .support-button>span:not(.support-pace){min-width:0;text-align:left;gap:3px}
 .matchup-survey .support-button b{font-size:18px;line-height:1.1;letter-spacing:-.35px;overflow-wrap:anywhere}
 .matchup-survey .support-button small{font-size:8px;letter-spacing:.2px;white-space:normal;line-height:1.35;overflow-wrap:anywhere}
 .matchup-survey .support-pace{grid-column:1 / -1;display:flex;justify-content:center;align-items:baseline;gap:4px;min-width:0;padding:5px 0 0;border-left:0;border-top:1px solid color-mix(in srgb,var(--candidate) 18%,transparent);font-size:11px;line-height:1.25;text-align:center}
 .matchup-survey .vote-again{min-height:36px;white-space:normal;overflow-wrap:anywhere;margin-top:0}
}
@media(max-width:370px){
 .matchup-survey>.matchup-actions{column-gap:9px}
 .matchup-survey .candidate-controls>.vote-button{padding:9px 6px;font-size:10.5px}
 .matchup-survey .support-button{padding:8px 6px;column-gap:4px}
 .matchup-survey .support-button b{font-size:17px}
}

/* Post-vote invitation: strong brand highlight, with a static reduced-motion mode. */
.story-dialog .story-share-callout{margin:12px 0 18px;padding:12px 16px;border-radius:12px;border:1px solid #b6d7d7;background:linear-gradient(110deg,#e6f5f6,#f8efcc,#e6f5f6);background-size:220% 100%;color:#164552;line-height:1.45;animation:story-share-highlight 5s ease-in-out infinite}
.story-share-callout strong{font-weight:750}
@keyframes story-share-highlight{0%,100%{background-position:0% 50%;box-shadow:0 0 0 0 #278fa614}50%{background-position:100% 50%;box-shadow:0 0 16px 2px #c6a34026}}
@media(prefers-reduced-motion:reduce){.story-dialog .story-share-callout{animation:none}}

/* More stadium reactions remain usable on narrow screens. */
.stadium-reactions button.reaction-letter{font-size:16px;font-weight:750;color:#176477}
.stadium-flying.stadium-letter{font-weight:800;color:#176477;background:#ffffffed;padding:3px 10px;border:1px solid #a8d2d9;border-radius:12px;font-size:30px}
@media(max-width:620px){.stadium-reactions{align-items:flex-start;flex-direction:column;gap:8px}.stadium-reactions>div{width:100%;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:7px}.stadium-reactions button{width:100%;height:40px;min-width:0}}
