/* Original styles.css — bundled for fast load */
:root{--ink:#0b224b;--ink2:#223d64;--muted:#657c98;--teal:#0796aa;--cyan:#10b4c8;--blue:#2d77e5;--edge:rgba(255,255,255,.68);--shadow:0 12px 30px rgba(24,82,127,.11),inset 0 1px 1px rgba(255,255,255,.9);--party-nat:#2777db;--party-lab:#df4453;--party-grn:#21aa75;--party-act:#f3bc22;--party-nzf:#536677;--party-top:#09a8b4;--party-tpm:#a14755;--radius:21px}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--ink);background:#d8effa;font-family:'DM Sans',system-ui,-apple-system,sans-serif;-webkit-font-smoothing:antialiased}button,input,select{font:inherit}button{cursor:pointer}a{color:inherit;text-decoration:none}a:hover{text-decoration:none}.sprite{position:absolute;width:0;height:0;overflow:hidden}.icon{width:21px;height:21px;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.9;vertical-align:middle;flex-shrink:0}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.app-root{min-height:100vh;background:radial-gradient(ellipse at 14% 40%,rgba(255,255,255,.85),transparent 30%),radial-gradient(ellipse at 91% 66%,rgba(77,197,231,.30),transparent 36%),linear-gradient(172deg,#c2e9fa 0%,#e8f5fd 37%,#c7e8f8 100%)}.glass{border:1px solid rgba(255,255,255,.78);background:linear-gradient(130deg,rgba(255,255,255,.76),rgba(241,249,255,.66));box-shadow:var(--shadow);backdrop-filter:blur(24px) saturate(140%);-webkit-backdrop-filter:blur(24px) saturate(140%)}.glass-lite{border:1px solid rgba(255,255,255,.68);background:rgba(255,255,255,.48);box-shadow:0 6px 24px rgba(30,79,119,.08);backdrop-filter:blur(16px)}.topbar{position:relative;z-index:20;min-height:74px;padding:10px clamp(20px,3.2vw,56px);display:flex;gap:18px;align-items:center;justify-content:space-between;border-radius:0 0 20px 20px}.identity{display:flex;gap:12px;align-items:center;white-space:nowrap}.fern{flex:0 0 42px}.identity-title{font-family:Manrope,Arial,sans-serif;font-size:clamp(16px,1.2vw,23px);font-weight:800;letter-spacing:-1.15px}.identity-title b{font-weight:800}.identity-by{font-size:11px;border-left:1px solid #b7d4e8;padding-left:15px;margin-left:6px;color:#5c7496}.identity-by strong{font-weight:700}.topnav{display:flex;align-items:center;gap:4px}.topnav button{border:0;background:transparent;color:#102448;font-weight:700;font-size:12px;border-radius:25px;padding:11px 15px;white-space:nowrap;transition:.18s}.topnav button:hover{background:rgba(17,153,188,.1)}.topnav .nav-active{background:linear-gradient(115deg,#08b9c1,#1374c2);color:white;box-shadow:0 6px 12px rgba(5,125,178,.22),inset 0 1px 2px rgba(255,255,255,.5)}.top-actions{display:flex;gap:9px;align-items:center}.nz-clock{font-size:10px;font-weight:800;white-space:nowrap;color:#53718d}.icon-button{height:36px;width:36px;display:grid;place-items:center;border:1px solid rgba(255,255,255,.89);border-radius:12px;background:rgba(255,255,255,.55);color:#244a70;box-shadow:0 2px 9px rgba(57,102,148,.09)}.icon-button .icon{width:18px;height:18px}.hamburger{display:none}.hero{position:relative;height:178px;overflow:hidden;background:linear-gradient(110deg,#e7f5ff,#bce5f6);border-bottom:1px solid rgba(255,255,255,.38)}.hero-photo{position:absolute;inset:0;background-image:url('assets/wellington-sky.webp');background-size:cover;background-position:center center;filter:saturate(95%);opacity:.86}.hero-wash{position:absolute;inset:0;background:linear-gradient(90deg,rgba(235,247,255,.98),rgba(235,247,255,.87) 28%,rgba(235,247,255,.45) 48%,rgba(228,246,255,.05) 76%)}.hero-inner{position:relative;height:100%;max-width:1740px;margin:auto;padding:22px clamp(25px,6vw,107px);display:flex;align-items:center;justify-content:space-between;gap:16px}.hero-kicker{color:#1089a2;font-size:10px;font-weight:800;letter-spacing:1.35px;display:flex;gap:8px;align-items:center}.alive-dot,.status-dot{background:#21b68e;box-shadow:0 0 0 4px rgba(33,182,142,.13);width:7px;height:7px;border-radius:50%;display:inline-block}.hero h1{font:800 clamp(34px,3.6vw,56px)/1.08 Manrope,sans-serif;letter-spacing:-2.1px;margin:8px 0 8px;color:#0b2b56}.hero h1 span{background:linear-gradient(110deg,#0c5790,#038da4);color:transparent;background-clip:text;-webkit-background-clip:text}.hero p{font-size:clamp(13px,1.12vw,17px);color:#587493;margin:0;border-left:3px solid #068fa7;padding-left:12px}.hero-info{border-radius:17px;min-width:212px;padding:16px 18px;display:flex;flex-direction:column;gap:6px;align-items:flex-start}.hero-info-label{font-size:9px;font-weight:800;color:#1892a9;letter-spacing:1.1px}.hero-info strong{font-size:16px}.hero-info>span:last-child{font-size:11px;display:flex;gap:6px;align-items:center;color:#526f8d}.hero-info .icon{width:14px;height:14px}.content-shell{max-width:1740px;margin:auto;padding:0 clamp(15px,2.5vw,40px) 55px}.state-strip{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:14px 1px 16px}.state-left,.state-right{display:flex;gap:16px;align-items:center}.data-pill{display:flex;align-items:center;gap:9px;background:rgba(255,255,255,.76);padding:8px 12px;border:1px solid rgba(255,255,255,.85);border-radius:30px;font-weight:800;font-size:10px;color:#0d6284;box-shadow:0 2px 8px rgba(0,80,123,.05)}.strip-sub,.source-led{font-size:11px;color:#5e7691}.quiet-link,.link-inline{font-size:11px;font-weight:800;color:#1673a8;border:0;background:none;display:inline-flex;align-items:center;gap:4px;white-space:nowrap;padding:5px}.quiet-link .icon,.link-inline .icon{width:14px;height:14px}.page{display:none;animation:arrive .25s ease both}.page.page-active{display:block}@keyframes arrive{from{opacity:.25;transform:translateY(7px)}to{opacity:1;transform:translateY(0)}}.overview-top{display:grid;grid-template-columns:1.06fr 1.07fr .78fr;gap:16px;align-items:stretch}.overview-bottom{display:grid;grid-template-columns:1.12fr .87fr .63fr .65fr;gap:16px;margin-top:16px;align-items:stretch}.panel{border-radius:var(--radius);padding:18px 20px;min-width:0;overflow:hidden}.overview-top>.panel{min-height:363px}.overview-bottom>.panel{min-height:283px}.panel-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:16px}.panel-head h2{margin:0;display:flex;align-items:center;gap:10px;font:800 17px/1.24 Manrope,Arial,sans-serif;letter-spacing:-.4px}.panel-head h2 .icon{width:23px;height:23px;color:#0083a3;stroke-width:2.1}.panel-head p{margin:5px 0 0;color:#647c98;font-size:11px;line-height:1.3}.small-stamp{display:inline-flex;padding:8px 11px;font-size:9px;border:1px solid rgba(190,214,234,.65);border-radius:25px;background:rgba(237,248,255,.8);color:#315c81;white-space:nowrap;font-weight:800}.poll-selector-row{display:flex;justify-content:space-between;align-items:center;gap:6px;margin:-6px 0 10px}.small-select{color:#14466a;max-width:100%;background:rgba(248,252,255,.86);border:1px solid rgba(188,215,235,.75);padding:7px 11px;border-radius:11px;font-size:10px;font-weight:700;outline:none;min-height:31px}.small-select:focus{outline:2px solid #2ba5b6;outline-offset:1px}.text-source{display:inline-flex;align-items:center;gap:5px;color:#198aa5;font-size:10px;font-weight:700;white-space:nowrap}.text-source .icon{height:12px;width:12px}.poll-overview-bars{display:grid;gap:8px}.poll-bar-row{display:grid;grid-template-columns:108px minmax(42px,1fr) 48px;align-items:center;gap:10px;font-size:11px}.party-name-line{display:flex;gap:8px;align-items:center;min-width:0;font-weight:700;white-space:nowrap}.party-chip{width:24px;height:22px;display:grid;place-items:center;flex-shrink:0;border-radius:5px;color:#fff;font-size:10px;letter-spacing:-.3px;font-weight:800;background:var(--pc)}.party-chip.act{color:#18263c}.poll-track{position:relative;background:rgba(134,172,212,.18);height:13px;border-radius:6px;overflow:hidden}.poll-fill{height:100%;background:linear-gradient(90deg,color-mix(in srgb,var(--pc),white 27%),var(--pc));border-radius:6px;box-shadow:inset 0 1px 1px rgba(255,255,255,.36);transition:width .45s}.poll-number{text-align:right;font-weight:800;font-size:14px;letter-spacing:-.2px}.micro-disclaimer{color:#71859d;font-size:10px;line-height:1.5;display:flex;align-items:flex-start;gap:6px;margin-top:14px}.micro-disclaimer .icon{width:13px;height:13px;flex-shrink:0}.micro-disclaimer a{font-weight:700;color:#12698d}.round-chevron{border:0;border-radius:50%;background:rgba(25,149,184,.09);width:29px;height:29px;color:#0b91ac}.round-chevron .icon{width:17px;height:17px}.majority-tape{display:grid;grid-template-columns:repeat(3,1fr);background:rgba(239,250,252,.8);border-radius:13px;padding:10px 3px}.majority-tape>div{text-align:center;border-right:1px solid rgba(139,188,206,.4)}.majority-tape>div:last-child{border-right:0}.majority-tape strong{font:800 23px/1.2 Manrope,Arial,sans-serif}.majority-tape>div:first-child strong{color:#187849}.majority-tape span{display:block;font-size:9px;color:#627c91;font-weight:700;margin-top:2px}.overview-seat-arc{min-height:162px;display:flex;justify-content:center;align-items:center}.overview-seat-arc svg{height:165px;max-width:100%;overflow:visible}.arc-legend{display:flex;flex-wrap:wrap;gap:5px 11px;justify-content:center;align-items:center;margin:-2px 0 8px}.arc-legend span{display:flex;align-items:center;gap:4px;font-size:9px;color:#47617c;font-weight:700;white-space:nowrap}.dot{height:7px;width:7px;border-radius:50%;display:inline-block;background:var(--pc)}.glass-notice{background:linear-gradient(110deg,rgba(229,250,246,.96),rgba(220,243,249,.92));border-radius:12px;padding:11px 12px;color:#235b68;font-size:10px;font-weight:700;line-height:1.4}.result-overview{display:flex;flex-direction:column}.status-stamp{font-size:8px}.result-overview-centre{flex:1;display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;gap:6px;background:radial-gradient(ellipse at center,rgba(197,235,249,.65),rgba(213,238,250,.16) 72%);border-radius:18px;padding:12px 16px}.result-overview-centre h3{font:800 17px/1.22 Manrope;margin:0;letter-spacing:-.5px}.result-overview-centre p{font-size:10px;line-height:1.5;color:#607891;margin:1px auto 5px;max-width:220px}.ballot-illustration{height:78px;width:96px;position:relative;filter:drop-shadow(0 12px 10px rgba(38,103,175,.1))}.ballot-box{position:absolute;left:14px;top:35px;width:69px;height:43px;background:linear-gradient(140deg,rgba(181,219,248,.5),rgba(75,155,216,.2));border:2px solid rgba(255,255,255,.82);transform:skewY(-3deg);border-radius:6px;box-shadow:inset 0 2px 14px #ffffff70}.ballot-box span{display:block;width:42px;border-top:3px solid rgba(73,144,196,.3);position:absolute;top:6px;left:11px}.ballot-paper{position:absolute;z-index:2;top:3px;left:33px;transform:rotate(14deg);width:40px;height:44px;border:1px solid white;background:linear-gradient(140deg,white,#c8e5f5);box-shadow:0 3px 12px rgba(39,114,164,.12)}.glass-button{border-radius:13px;border:1px solid rgba(255,255,255,.75);background:rgba(253,255,255,.64);box-shadow:0 4px 12px rgba(43,107,149,.07);font-weight:800;font-size:10px;display:flex;align-items:center;justify-content:center;gap:7px;color:#22698e;padding:9px}.glass-button .icon{width:14px;height:14px}.trends-overview .panel-head,.news-overview .panel-head,.countdown-overview .panel-head,.sources-overview .panel-head{margin-bottom:12px}.chart-flex{display:grid;grid-template-columns:minmax(0,1fr) 70px;gap:7px;align-items:center;margin-top:10px}.chart-box{min-width:0}.chart-box svg{width:100%;height:184px}.chart-small-key{display:grid;gap:10px}.chart-small-key>div{display:flex;align-items:center;gap:4px;font-size:10px;font-weight:800;white-space:nowrap}.chart-small-key .party-chip{width:19px;height:18px;font-size:8px}.overview-news-list{display:grid;gap:0}.news-snippet{display:grid;grid-template-columns:46px 1fr;gap:10px;padding:7px 0;border-bottom:1px solid rgba(167,202,229,.3);min-width:0}.news-snippet:last-child{border:0}.story-thumb{display:grid;place-items:center;width:46px;height:43px;border-radius:10px;background:linear-gradient(130deg,#aed6ee,#d8effc);border:1px solid white;color:#127799}.story-thumb .icon{height:23px;width:23px}.news-snippet a{font-size:10px;line-height:1.4;font-weight:800;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.news-snippet a:hover{color:#147db0}.news-snippet span{font-size:9px;color:#72859b;display:block;margin-top:2px}.countdown-overview{background:linear-gradient(140deg,rgba(243,252,255,.86),rgba(206,237,249,.63))}.countdown-body{text-align:center;margin-top:25px;min-height:74px}.countdown-body strong{font:800 clamp(26px,2.7vw,44px)/1.06 Manrope,Arial,sans-serif;letter-spacing:-1.8px;display:block}.countdown-body span{font-size:12px;color:#54718e;display:block;margin-top:3px}.countdown-boxes{display:grid;grid-template-columns:repeat(3,1fr);gap:5px;margin:15px 0}.countdown-boxes>div{background:rgba(255,255,255,.5);border:1px solid rgba(255,255,255,.88);border-radius:10px;padding:8px 2px;text-align:center;box-shadow:0 3px 8px rgba(65,128,172,.07)}.countdown-boxes strong{font:800 19px Manrope,Arial,sans-serif;display:block}.countdown-boxes span{display:block;font-size:9px;color:#5e7590}.countdown-footer{display:flex;align-items:center;gap:5px;font-size:10px;font-weight:700;justify-content:center;margin-top:16px}.countdown-footer .icon{width:13px;height:13px}.source-grid{display:grid;grid-template-columns:1fr 1fr;gap:7px}.source-grid a{display:grid;place-items:center;text-align:center;line-height:1.1;min-height:48px;padding:6px;border-radius:11px;border:1px solid rgba(255,255,255,.9);background:rgba(252,254,255,.65);box-shadow:0 2px 9px rgba(49,110,159,.08);font-size:10px;color:#134774;transition:.18s}.source-grid a:hover{transform:translateY(-2px);background:white}.source-grid a:first-child{font-size:9px}.sources-caption{font-size:9px;line-height:1.4;color:#8190a7;margin:8px 0 0;text-align:center}.page-heading{display:flex;align-items:end;justify-content:space-between;gap:25px;margin:20px 0 24px;padding:0 5px}.eyebrow{color:#0a9fb2;font-size:10px;letter-spacing:1.9px;font-weight:800}.page-heading h2{font:800 clamp(27px,3.1vw,43px)/1.15 Manrope;margin:7px 0 8px;letter-spacing:-1.7px}.page-heading h2 span{color:#187ca2}.page-heading p{font-size:13px;color:#66809b;margin:0}.secondary-button,.primary-button{display:inline-flex;gap:9px;align-items:center;justify-content:center;padding:11px 17px;border-radius:13px;border:1px solid rgba(255,255,255,.8);background:rgba(255,255,255,.7);font-weight:800;font-size:11px;color:#166a8d;box-shadow:0 4px 11px rgba(49,108,153,.08);white-space:nowrap}.secondary-button .icon,.primary-button .icon{width:16px;height:16px}.primary-button{background:linear-gradient(120deg,#0aabb8,#1572ba);color:white}.secondary-button:hover,.primary-button:hover,.glass-button:hover{filter:brightness(.97);transform:translateY(-1px)}.detail-grid{display:grid;gap:17px}.polls-detail-grid{grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr)}.polls-detail-grid>.panel{min-height:420px;padding:26px}.big-poll-bars{display:grid;gap:15px;margin:20px 0 23px}.big-poll-bars .poll-bar-row{grid-template-columns:135px minmax(80px,1fr) 50px;font-size:12px;gap:12px}.big-poll-bars .poll-track{height:17px;border-radius:9px}.big-poll-bars .party-chip{height:26px;width:29px}.big-poll-bars .poll-number{font-size:15px}.detail-footer{display:flex;gap:14px;justify-content:space-between;border-top:1px solid rgba(159,199,221,.3);padding-top:18px;font-size:11px;color:#6c8299;align-items:center}.detail-footer a{font-weight:800;color:#0d81a5;white-space:nowrap}.detail-footer a .icon{width:13px;height:13px}.trend-checkboxes{display:flex;gap:8px;flex-wrap:wrap}.trend-checkboxes button{display:flex;gap:6px;align-items:center;border-radius:18px;border:1px solid #c2d8e8;background:rgba(255,255,255,.46);padding:6px 11px;font-size:11px;font-weight:700;color:#60738e}.trend-checkboxes button.selected{background:#fff;border-color:#92bdd8;color:#27486e}.trend-checkboxes .dot{width:8px;height:8px}.large-chart svg{width:100%;height:270px;margin-top:22px}.table-panel{margin-top:18px;padding:25px}.table-wrap{overflow:auto}.data-table{width:100%;border-collapse:collapse;text-align:left;font-size:11px;white-space:nowrap}.data-table th{font-size:10px;color:#6d879f;letter-spacing:.4px;padding:11px;border-bottom:1px solid #bcd7e8}.data-table td{padding:12px 11px;border-bottom:1px solid rgba(154,192,220,.24)}.data-table tr:hover td{background:rgba(255,255,255,.37)}.data-table a{font-weight:800;color:#077eab}.results-hero{max-width:1000px;margin:auto;padding:25px}.result-title-row{display:flex;justify-content:space-between;gap:14px;font-size:11px;color:#6683a0}.pill-info{display:inline-flex;padding:9px 13px;background:rgba(214,241,250,.8);border-radius:20px;font-weight:800;color:#146f92;font-size:10px}.results-hero-body{text-align:center;padding:32px 20px 20px}.results-large-emblem{height:95px;width:95px;border-radius:27px;display:grid;place-items:center;background:linear-gradient(150deg,#d1effb,#f6fdff);color:#1288b0;margin:0 auto 16px;box-shadow:inset 0 2px 7px white,0 7px 18px rgba(53,133,176,.1)}.results-large-emblem .icon{height:53px;width:53px}.results-hero-body h3{font:800 clamp(20px,2.7vw,32px) Manrope;margin:6px 0 10px;letter-spacing:-.8px}.results-hero-body p{color:#678098;font-size:12px;line-height:1.7;max-width:570px;margin:0 auto 24px}.result-actions{display:flex;gap:12px;justify-content:center;flex-wrap:wrap}.results-status-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;max-width:1000px;margin:16px auto}.mini-metric{padding:19px;border-radius:18px}.mini-metric span{display:block;color:#6382a0;font-weight:800;letter-spacing:.6px;font-size:10px}.mini-metric strong{display:block;font:800 24px Manrope,Arial,sans-serif;margin:7px 0}.mini-metric small{font-size:10px;color:#7890a7}.live-results-table{margin:20px auto 30px;max-width:790px;display:grid;gap:7px}.live-results-table[hidden]{display:none}.live-result-row{display:grid;grid-template-columns:140px 1fr 70px 75px;align-items:center;gap:8px;text-align:left;padding:8px 10px;border-radius:10px;background:rgba(252,255,255,.6);font-size:11px}.live-result-row .poll-track{height:11px}.explainer{max-width:1000px;margin:17px auto;padding:25px}.explainer h3{font:800 18px Manrope;margin:0 0 15px}.timeline{display:grid;gap:0}.timeline>div{display:grid;grid-template-columns:100px 1fr;gap:10px;padding:11px 0;border-bottom:1px solid rgba(148,189,217,.25);font-size:12px}.timeline>div strong{color:#0086a5}.timeline>div span{color:#526e8a}.electorate-intro{display:flex;align-items:center;gap:10px;padding:15px 21px;border-radius:13px;font-size:12px;color:#416986;margin-bottom:20px}.electorate-intro .icon{width:20px;height:20px;color:#178bb2}.electorate-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.electorate-card{border-radius:20px;padding:22px}.electorate-card .seat-class{font-size:9px;font-weight:800;color:#0a94a8;letter-spacing:1.2px}.electorate-card h3{font:800 20px Manrope;margin:9px 0}.electorate-card p{font-size:11px;color:#67849e;line-height:1.7;min-height:35px}.electorate-card .race-status{border-radius:12px;background:rgba(235,248,251,.9);font-size:10px;color:#286581;padding:10px;margin:16px 0}.electorate-card>a{font-size:11px;font-weight:800;color:#0a87aa}.coalition-detail-grid{grid-template-columns:1.05fr .95fr}.coalition-detail-grid>.panel{padding:26px}.assumption-control{font-size:10px;color:#617b92;display:flex;align-items:center;gap:8px;flex-wrap:wrap}.large-seat-arc{display:flex;justify-content:center}.large-seat-arc svg{width:min(590px,100%);height:290px}.big-legend{display:flex;flex-wrap:wrap;justify-content:center;gap:12px 18px;margin:8px 0 20px}.big-legend span{font-size:11px;display:flex;align-items:center;gap:6px;font-weight:700}.coalition-math{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:15px 0 18px}.coalition-math>div{background:rgba(236,249,254,.65);border-radius:14px;padding:16px;text-align:center}.coalition-math strong{font:800 37px Manrope,Arial,sans-serif;display:block}.coalition-math span{font-size:10px;color:#6e859d;font-weight:800}.coalition-progress{height:16px;border-radius:9px;background:rgba(146,190,214,.25);position:relative;overflow:visible}.coalition-progress>div{height:100%;border-radius:9px;background:linear-gradient(110deg,#029aaa,#31a6ba);transition:width .25s}.coalition-progress>span{height:26px;position:absolute;top:-5px;border-left:2px dashed #365f7a}.coalition-judgement{color:#18738c;margin:14px 0 18px;font-size:13px;font-weight:800}.coalition-party-list{display:grid;gap:7px}.coalition-party-list label{display:grid;grid-template-columns:16px 15px 1fr auto;gap:8px;align-items:center;border-radius:12px;padding:10px 12px;background:rgba(255,255,255,.6);font-size:12px;font-weight:700}.coalition-party-list label:has(input:checked){outline:1px solid rgba(45,169,184,.34);background:#ecfafb}.coalition-party-list input{accent-color:#078ca5}.coalition-party-list strong{font-size:13px}.toolbar{display:flex;align-items:center;gap:7px}.news-panel{padding:22px}.full-news-list{display:grid;grid-template-columns:1fr 1fr;gap:10px}.full-news-list>a{display:flex;gap:13px;align-items:center;padding:17px;border-radius:13px;background:rgba(249,253,255,.66);border:1px solid white}.full-news-list>a:hover{background:white}.news-icon{display:grid;place-items:center;background:linear-gradient(135deg,#c6edf7,#e6f9ff);border-radius:12px;min-height:50px;min-width:50px;color:#0c8ba4}.news-icon .icon{width:25px;height:25px}.news-content{display:block}.news-content strong{font-size:13px;line-height:1.4;display:block}.news-content small{color:#76889e;font-size:10px;display:block;margin-top:7px}.news-direct-links{display:flex;gap:10px;margin:16px 0}.news-direct-links>a{background:rgba(255,255,255,.53);border:1px solid rgba(255,255,255,.78);padding:9px 13px;border-radius:13px;color:#116f9a;font-size:11px;font-weight:800}.news-direct-links .icon{width:14px;height:14px}.about-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:17px}.about-grid>.panel{padding:27px;min-height:210px}.about-grid h3{font:800 20px Manrope;margin:0 0 15px}.about-grid p{font-size:12px;line-height:1.8;color:#597591}.about-grid a{font-weight:800;color:#0f86a6;font-size:11px}.about-grid a .icon{width:13px;height:13px}.footer{border-top:1px solid rgba(255,255,255,.74);background:rgba(224,243,254,.65);font-size:10px;color:#65819d}.footer>div{max-width:1740px;margin:auto;padding:18px 42px;display:flex;align-items:center;justify-content:space-between;gap:16px}.footer-brand{font-weight:800;color:#1c6885}.loading-line{font-size:11px;color:#7b8fa5;padding:20px 0}.site-warning{background:#fff3df;color:#835b23;padding:12px;border-radius:10px;font-size:11px}
@media(max-width:1450px){.identity-by{display:none}.topnav button{padding:11px 10px}.topbar{padding-inline:18px}.overview-top{grid-template-columns:1.05fr 1.1fr .85fr}.overview-bottom{grid-template-columns:1.18fr .9fr .7fr .7fr}.panel{padding:17px}.panel-head h2{font-size:15px}.poll-bar-row{grid-template-columns:95px minmax(34px,1fr) 41px;gap:7px}.party-name-line{font-size:10px}.poll-number{font-size:13px}.source-grid a{min-height:45px}.overview-bottom>.panel{min-height:277px}}
@media(max-width:1150px){.identity-title{font-size:18px}.nz-clock{display:none}.topnav button{font-size:11px;padding:11px 8px}.overview-top{grid-template-columns:1fr 1fr}.result-overview{grid-column:1/-1;min-height:245px!important}.result-overview-centre{padding:12px;min-height:135px}.result-overview-centre .ballot-illustration{display:none}.result-overview-centre h3 br{display:block}.overview-bottom{grid-template-columns:repeat(2,1fr)}.sources-overview,.countdown-overview{min-height:260px}.chart-box svg{height:180px}.source-grid{grid-template-columns:repeat(3,1fr)}.polls-detail-grid,.coalition-detail-grid{grid-template-columns:1fr}}
@media(max-width:800px){.topbar{min-height:67px}.topnav{display:none;position:absolute;top:70px;left:12px;right:12px;padding:11px;border-radius:18px;background:rgba(247,253,255,.97);box-shadow:0 12px 22px rgba(14,79,125,.18);flex-wrap:wrap;justify-content:flex-start;border:1px solid white}.topnav.open{display:flex}.topnav button{padding:12px 15px}.hamburger{display:grid}.identity-title{font-size:16px}.fern{width:35px;flex-basis:35px}.hero{height:auto;min-height:181px}.hero-inner{padding:24px}.hero-info{display:none}.hero h1{font-size:37px}.hero p{font-size:13px}.state-strip{align-items:start}.state-right{display:none}.overview-top{grid-template-columns:1fr 1fr}.overview-bottom{grid-template-columns:1fr 1fr}.overview-top>.panel{min-height:352px}.result-overview{grid-column:1/-1}.page-heading{align-items:start;flex-direction:column}.electorate-grid{grid-template-columns:1fr 1fr}.full-news-list{grid-template-columns:1fr}}
@media(max-width:580px){.topbar{padding:9px 13px}.identity{gap:6px}.identity-title{font-size:14px;letter-spacing:-.7px}.fern{width:29px;height:31px;flex-basis:30px}.top-actions{gap:4px}.icon-button{width:32px;height:32px}.hero{min-height:174px}.hero-inner{padding:27px 17px}.hero-kicker{font-size:8px;letter-spacing:1.1px}.hero h1{font-size:35px;letter-spacing:-1.75px;margin:10px 0}.hero p{max-width:320px;font-size:12px;line-height:1.55}.content-shell{padding:0 11px 35px}.state-strip{padding:12px 2px}.state-left{align-items:start;flex-direction:column;gap:7px}.strip-sub{font-size:10px}.overview-top,.overview-bottom{grid-template-columns:1fr;gap:12px;margin-top:12px}.overview-top>.panel{min-height:auto}.panel{padding:17px;border-radius:18px}.poll-overview{padding-bottom:14px}.poll-bar-row{grid-template-columns:115px 1fr 44px;gap:8px}.party-name-line{font-size:11px}.poll-overview-bars{gap:10px}.coalition-overview{min-height:344px!important}.result-overview{grid-column:auto;min-height:265px!important}.result-overview-centre{padding:13px}.result-overview-centre .ballot-illustration{display:block}.overview-bottom>.panel{min-height:auto}.trends-overview{min-height:280px!important}.news-overview{min-height:275px!important}.sources-overview{min-height:210px!important}.source-grid{grid-template-columns:repeat(3,1fr)}.countdown-overview{min-height:230px!important}.countdown-body{margin-top:10px;min-height:55px}.countdown-boxes{margin:11px 0}.countdown-footer{margin-top:6px}.page-heading{margin:16px 4px}.page-heading h2{font-size:26px;letter-spacing:-1px}.page-heading p{font-size:12px;line-height:1.5}.polls-detail-grid>.panel,.coalition-detail-grid>.panel{padding:18px}.big-poll-bars .poll-bar-row{grid-template-columns:113px minmax(50px,1fr) 46px}.big-poll-bars .party-chip{width:24px}.big-poll-bars .party-name-line{font-size:10px}.table-panel{padding:16px}.results-status-grid{grid-template-columns:1fr;gap:10px}.result-title-row{flex-direction:column;gap:10px}.results-hero-body{padding:20px 0}.live-result-row{grid-template-columns:90px 1fr 45px 35px;font-size:9px}.live-result-row .party-name-line{font-size:9px}.mini-metric{padding:15px}.electorate-grid{grid-template-columns:1fr}.assumption-control{justify-content:start}.large-seat-arc svg{height:225px}.coalition-party-list label{padding:9px}.news-direct-links{flex-wrap:wrap}.about-grid{grid-template-columns:1fr}.about-grid>.panel{min-height:0;padding:22px}.footer>div{padding:18px;flex-direction:column;align-items:start}.small-stamp{font-size:8px;padding:7px 8px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{animation-duration:.01ms!important;transition-duration:.01ms!important}}

/* Original v4.css — bundled for fast load */
/* BU1ST Technologies Sydney / Election Live V4
   Premium Glass design layer. Functional foundations remain in styles.css.
   Decorative treatments must never obscure evidence labels or change results. */
:root {
  --ink:#092047;
  --ink2:#294663;
  --muted:#68839c;
  --teal:#067e9b;
  --cyan:#00aac4;
  --blue:#2769d2;
  --radius:26px;
  --shadow:0 20px 48px rgba(38,95,148,.105),0 5px 16px rgba(34,113,154,.04), inset 0 1px rgba(255,255,255,.85);
}
html {scroll-padding-top:88px}
body {font-family:'DM Sans',system-ui,sans-serif; letter-spacing:-.008em}
.app-root {
  background:
    radial-gradient(circle at 88% 6%,rgba(176,221,247,.5),transparent 23%),
    radial-gradient(circle at 3% 43%,rgba(255,255,255,.96),transparent 27%),
    radial-gradient(circle at 93% 62%,rgba(91,189,215,.20),transparent 29%),
    radial-gradient(circle at 27% 97%,rgba(198,230,251,.48),transparent 24%),
    linear-gradient(160deg,#eff9fe 0%,#e1f0fb 32%,#f2faff 58%,#d5ecf7 100%);
  position:relative;
  isolation:isolate;
}
.app-root:before {
  content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;
  background-image:radial-gradient(rgba(76,134,187,.20) .65px,transparent .65px);
  background-size:16px 16px;opacity:.11;
  -webkit-mask-image:linear-gradient(180deg,black,transparent 80%);mask-image:linear-gradient(180deg,black,transparent 80%);
}
button:focus-visible,a:focus-visible,select:focus-visible {outline:3px solid #0b96b7;outline-offset:3px}
.glass {
  background:linear-gradient(145deg,rgba(255,255,255,.84) 0%,rgba(254,255,255,.60) 47%,rgba(237,248,255,.72) 100%);
  border:1px solid rgba(255,255,255,.95);
  box-shadow:var(--shadow);
  -webkit-backdrop-filter:blur(28px) saturate(168%);
  backdrop-filter:blur(28px) saturate(168%);
}
/* Floating master navigation */
.topbar {
  position:sticky;top:9px;
  z-index:60;
  width:calc(100% - 34px);max-width:1750px;margin:9px auto 0;
  min-height:70px;padding:12px 22px 12px 22px;
  border-radius:21px;
  background:linear-gradient(112deg,rgba(255,255,255,.90),rgba(245,251,255,.81));
  box-shadow:0 8px 36px rgba(22,84,135,.12),0 1px 2px rgba(23,101,143,.03),inset 0 1px white;
  gap:16px;
}
.topbar:after {content:"";position:absolute;inset:0;border-radius:inherit;border:1px solid rgba(255,255,255,.92);pointer-events:none}
.identity {gap:13px}
.fern {filter:drop-shadow(0 3px 5px rgba(0,116,152,.13))}
.identity-title {font-size:clamp(16px,1.15vw,20px);letter-spacing:-1.0px;color:#082b55}
.identity-by {font-size:10px;letter-spacing:.01em;border-color:#c5dbe9;color:#70879b}
.identity-by strong {color:#3d6583}
.topnav {border:1px solid rgba(216,232,242,.81);padding:4px;gap:3px;border-radius:100px;background:rgba(239,248,253,.74);box-shadow:inset 0 1px 3px rgba(20,75,127,.04)}
.topnav button {font-size:11px;font-weight:800;color:#2b4b69;padding:10px 12px;border-radius:100px;transition:background .24s,box-shadow .24s,transform .24s}
.topnav button:hover {background:rgba(255,255,255,.95);transform:translateY(-1px)}
.topnav .nav-active {background:linear-gradient(125deg,#0a9eae 0%,#006f9c 58%,#155db3);box-shadow:0 6px 15px rgba(7,115,159,.19),inset 0 1px rgba(255,255,255,.43)}
.topnav .nav-active:hover {background:linear-gradient(125deg,#0a9eae,#155db3)}
.nav-edition {font:800 9px 'Manrope',sans-serif;letter-spacing:.7px;color:#3e738a;border:1px solid #deecf3;border-radius:30px;padding:9px 10px;white-space:nowrap;background:linear-gradient(120deg,#fff,#eaf7fc)}
.nav-edition i {display:inline-block;width:4px;height:4px;background:#18b7c4;border-radius:50%;vertical-align:middle;margin:0 3px}
.nz-clock {font-size:10px;letter-spacing:.2px}
.icon-button {height:39px;width:39px;border-radius:13px;background:rgba(249,253,255,.86);box-shadow:0 3px 9px rgba(36,100,147,.06)}
/* Cinematic city hero */
.hero {height:302px;background:#c4e8f9;margin-top:-4px;border:0;overflow:hidden;isolation:isolate}
.hero-photo {inset:0;background-position:center 49%;opacity:1;filter:saturate(112%) contrast(100%);transform:scale(1.018)}
.hero-wash {background:
  linear-gradient(90deg,rgba(243,251,255,.99) 0%,rgba(237,248,255,.97) 29%,rgba(227,245,255,.59) 53%,rgba(231,247,254,.12) 78%,rgba(221,242,251,.02) 100%),
  linear-gradient(0deg,rgba(224,244,253,.95),transparent 40%)}
.hero:after {content:"";position:absolute;z-index:0;inset:auto 0 -4px;height:54px;background:linear-gradient(transparent,#e9f6fd);pointer-events:none}
.hero-inner {max-width:1760px;padding:20px clamp(20px,5.9vw,99px) 29px;align-items:center;z-index:1}
.hero-copy {padding:12px 0 10px}
.hero-kicker {font-size:10px;letter-spacing:1.6px;font-weight:800;color:#0786a1}
.hero-kicker .alive-dot {width:7px;height:7px}
.hero h1 {font-family:Manrope,sans-serif;font-size:clamp(40px,4.1vw,66px);line-height:1.045;letter-spacing:-3.6px;font-weight:800;margin:16px 0 12px;max-width:820px;text-wrap:balance}
.hero h1 span {background-image:linear-gradient(105deg,#08758e,#0b91ac 35%,#1f62b2);}
.hero p {font-size:clamp(14px,1.16vw,17px);font-weight:500;line-height:1.6;max-width:540px;border:0;padding:0;color:#58748e}
.hero-cta {display:flex;gap:11px;margin-top:19px;align-items:center}
.hero-button {height:40px;border:0;border-radius:12px;padding:0 17px;color:white;font-weight:800;font-size:11px;display:inline-flex;gap:12px;align-items:center;background:linear-gradient(112deg,#069ab0,#116aa6);box-shadow:0 8px 18px rgba(7,118,154,.20),inset 0 1px rgba(255,255,255,.3)}
.hero-button .icon {width:15px;height:15px}
.hero-button.subtle {background:rgba(255,255,255,.62);border:1px solid rgba(255,255,255,.94);color:#2d5e7c;box-shadow:0 4px 14px rgba(19,83,136,.05)}
.hero-button:hover {transform:translateY(-2px)}
.hero-info {min-width:253px;padding:19px 21px 0;border-radius:24px;gap:4px;align-self:center;background:linear-gradient(145deg,rgba(255,255,255,.65),rgba(234,249,255,.39));border:1px solid rgba(255,255,255,.86);box-shadow:0 22px 40px rgba(19,86,133,.14),inset 0 1px white;position:relative;overflow:hidden}
.hero-info:before {content:"";height:120px;width:120px;position:absolute;right:-47px;top:-48px;background:radial-gradient(circle,rgba(255,255,255,.89),transparent 69%);pointer-events:none}
.hero-info-top {width:100%;display:flex;justify-content:space-between;align-items:center}
.hero-info-label {font-size:9px;font-weight:800;color:#147c97;letter-spacing:1.2px}
.hero-info-spark {width:9px;height:9px;background:#0ab3ba;border:2px solid white;box-shadow:0 0 0 3px rgba(12,169,183,.1);border-radius:50%}
.hero-date {font:800 73px/1.12 Manrope,sans-serif;letter-spacing:-5px;margin-top:7px;color:#0c315d;white-space:nowrap}
.hero-date span {font-size:20px;color:#0e8da9;letter-spacing:-1px;margin-left:5px}
.hero-info strong {font-size:14px}
.hero-info > span:last-of-type {font-size:10px;margin-top:4px}
.hero-info-bottom {margin:12px -21px 0;background:rgba(255,255,255,.35);padding:10px 21px;display:flex;justify-content:space-between;align-items:center;color:#2f7e90;font-size:9px;font-weight:800;letter-spacing:1.1px;border-top:1px solid rgba(255,255,255,.65)}
/* Information hierarchy */
.content-shell {max-width:1710px;padding:0 clamp(15px,3.3vw,48px) 70px}
.state-strip {position:relative;z-index:3;min-height:69px;padding:15px 6px 18px}
.data-pill {background:rgba(255,255,255,.84);border:1px solid white;font-size:10px;padding:9px 13px;box-shadow:0 6px 20px rgba(13,91,145,.07)}
.strip-sub,.source-led {font-size:11px;color:#71889c}
.editorial-intro {display:flex;align-items:center;justify-content:space-between;gap:24px;padding:21px 27px 21px 28px;border-radius:25px;position:relative;overflow:hidden;margin-bottom:24px;background:linear-gradient(108deg,rgba(255,255,255,.94),rgba(243,252,255,.76) 52%,rgba(216,240,248,.71));}
.editorial-intro:before {content:"";position:absolute;width:300px;height:300px;left:-110px;top:-160px;border:1px solid rgba(23,167,182,.12);border-radius:50%;box-shadow:0 0 0 30px rgba(39,150,185,.025),0 0 0 65px rgba(39,150,185,.02);pointer-events:none}
.editorial-copy {position:relative;min-width:0}
.section-eyebrow,.section-index {font-size:9px;font-weight:800;letter-spacing:1.7px;color:#07869b}
.small-light {width:7px;height:7px;display:inline-block;border-radius:50%;margin-right:7px;background:#06bbac;box-shadow:0 0 0 4px rgba(7,168,168,.1)}
.editorial-intro h2 {font:800 clamp(19px,2vw,29px)/1.22 Manrope,sans-serif;letter-spacing:-1.1px;margin:8px 0 5px;color:#0a2a53}
.editorial-intro p {font-size:12px;line-height:1.5;color:#6e8198;margin:0;max-width:800px}
.editorial-figures {display:flex;align-items:stretch;gap:13px;flex-shrink:0}
.editorial-figure {padding:8px 16px;border-left:1px solid rgba(123,184,205,.26);min-width:145px;display:flex;flex-direction:column;justify-content:center}
.editorial-figure span {font-size:9px;font-weight:800;color:#7593a7;letter-spacing:1.1px}
.editorial-figure strong {font:800 23px/1.55 Manrope,sans-serif;color:#096d99;letter-spacing:-.7px;white-space:nowrap}
.editorial-figure small {color:#70899a;font-size:9px;white-space:nowrap}
.editorial-action {display:grid;place-items:center;height:44px;width:44px;border:1px solid white;background:linear-gradient(145deg,#fff,#e9f7fd);color:#147e9b;border-radius:14px;box-shadow:0 6px 14px rgba(34,115,154,.06)}
.editorial-action .icon {width:20px;height:20px}
.section-row {display:flex;justify-content:space-between;align-items:end;gap:14px;margin:18px 3px 16px}
.section-row h2 {font:800 clamp(20px,2vw,30px)/1.2 Manrope,sans-serif;letter-spacing:-1.2px;margin:5px 0 0;color:#0b2b50}
.section-row h2 em {font-style:normal;color:#1f91aa}
.section-help {font-size:11px;color:#7790a3;font-weight:600;white-space:nowrap}
.secondary-section {margin-top:32px}
/* Deeper, cleaner glass panels */
.overview-top {grid-template-columns:1.08fr 1.03fr .79fr;gap:18px}
.overview-bottom {grid-template-columns:1.22fr 1fr .75fr;gap:18px;margin-top:0}
.panel {padding:22px 24px;border-radius:26px;position:relative;overflow:hidden;transition:transform .24s ease,box-shadow .24s ease}
.panel:before {content:"";position:absolute;inset:0;pointer-events:none;border-radius:inherit;background:linear-gradient(148deg,rgba(255,255,255,.32),transparent 38%);opacity:.8}
.panel:after {content:"";position:absolute;left:20px;right:20px;top:0;height:1px;background:linear-gradient(90deg,transparent,white,transparent);pointer-events:none}
.panel:hover {box-shadow:0 25px 54px rgba(31,89,138,.14),inset 0 1px 1px rgba(255,255,255,.9);transform:translateY(-2px)}
.overview-top>.panel {min-height:395px}
.overview-bottom>.panel {min-height:296px}
.panel-head h2 {font-size:17px;letter-spacing:-.5px;gap:11px;color:#0b2c55}
.panel-head h2 .icon {width:27px;height:27px;color:#057f9a;stroke-width:1.9;background:linear-gradient(140deg,rgba(202,244,250,.76),rgba(234,250,255,.45));padding:4px;border-radius:9px;box-sizing:content-box}
.panel-head p {font-size:11px;line-height:1.5;color:#7a8ca1;margin-top:6px}
.panel-head {margin-bottom:17px}
.small-stamp {background:rgba(247,252,255,.89);padding:8px 12px;color:#406785;border:1px solid #d9edf7;box-shadow:0 3px 6px rgba(40,99,135,.03)}
.small-select {font-size:11px;font-weight:800;border-radius:11px;min-height:37px;padding:8px 11px;border-color:#d5e8f4;background:rgba(255,255,255,.86);box-shadow:0 2px 7px rgba(45,91,139,.04)}
.poll-overview-bars {gap:11px}
.poll-bar-row {grid-template-columns:114px minmax(35px,1fr) 50px;gap:10px;font-size:11px}
.party-chip {border-radius:7px;height:25px;width:27px;font-size:10px;box-shadow:inset 0 1px rgba(255,255,255,.3),0 2px 6px rgba(30,88,128,.075)}
.party-chip.act {font-size:9px}
.poll-track {height:12px;border-radius:100px;background:linear-gradient(180deg,#e4eff8,#daeaf5);box-shadow:inset 0 1px 3px rgba(43,100,143,.08)}
.poll-fill {border-radius:100px;box-shadow:inset 0 1px rgba(255,255,255,.32),0 2px 8px color-mix(in srgb,var(--pc),transparent 80%)}
.poll-number {font-family:Manrope,sans-serif;font-size:13px}
.micro-disclaimer {color:#7c91a2}
.majority-tape {background:linear-gradient(120deg,rgba(220,249,248,.55),rgba(235,247,255,.95));border:1px solid rgba(255,255,255,.9);padding:12px 3px;border-radius:15px;box-shadow:inset 0 1px white}
.majority-tape strong {font-size:25px}
.majority-tape span {font-size:9px}
.overview-seat-arc {background:radial-gradient(ellipse at 51% 83%,rgba(107,206,218,.095),transparent 63%);}
.overview-seat-arc svg {filter:drop-shadow(0 3px 4px rgba(54,88,125,.06));height:171px}
.glass-notice {border-radius:12px;background:linear-gradient(105deg,rgba(224,249,245,.95),rgba(224,244,255,.66));border:1px solid rgba(255,255,255,.89);color:#305f6d}
.result-overview {background:linear-gradient(150deg,rgba(247,253,255,.89),rgba(226,246,253,.74) 60%,rgba(201,230,247,.56));}
.result-overview-centre {background:radial-gradient(ellipse at 50% 37%,rgba(255,255,255,.91),rgba(204,236,249,.36) 54%,transparent 76%);}
.result-overview-centre h3 {font-size:19px;letter-spacing:-.5px;line-height:1.3}
.result-overview-centre p {color:#748ba2}
.glass-button {border-radius:13px;padding:11px;font-size:11px;color:#166d91;box-shadow:0 6px 15px rgba(45,116,164,.08)}
/* Secondary layout: data, concise editorial, countdown, then source rail */
.sources-overview {grid-column:1/-1;display:flex;align-items:center;gap:23px;min-height:auto!important;padding:17px 22px}
.sources-overview .panel-head {min-width:210px;margin:0}
.sources-overview .source-grid {display:grid;grid-template-columns:repeat(6,minmax(91px,1fr));flex:1;gap:9px}
.sources-overview .source-grid a {min-height:49px;font-size:11px;line-height:1.35;font-weight:800;border-radius:13px;background:linear-gradient(140deg,rgba(255,255,255,.86),rgba(236,247,254,.67));border:1px solid white}
.sources-overview .source-grid a:hover {transform:translateY(-2px);box-shadow:0 5px 14px rgba(54,116,158,.10)}
.sources-caption {font-size:9px;text-align:left;max-width:145px;margin:0;line-height:1.5}
.trends-overview .chart-flex {margin-top:4px}
.chart-box svg {height:185px;filter:drop-shadow(0 2px 1px rgba(57,103,153,.025))}
.news-snippet {grid-template-columns:50px 1fr;padding:11px 0;gap:13px}
.news-snippet:first-child {padding-top:2px}
.story-thumb {height:48px;width:50px;border-radius:13px;background:linear-gradient(145deg,#d3ecfa,#edf9fe);color:#087d9a;box-shadow:inset 0 1px white,0 4px 11px rgba(48,110,145,.06)}
.news-snippet a {font-size:12px;line-height:1.35;font-weight:800;color:#193958}
.news-snippet span {font-size:10px;margin-top:6px;color:#8292a4}
.countdown-overview {background:linear-gradient(145deg,rgba(243,252,255,.94),rgba(199,236,249,.66))}
.countdown-body {margin-top:30px}
.countdown-body strong {font-size:clamp(32px,2.6vw,49px);letter-spacing:-2px}
.countdown-boxes {gap:7px}
.countdown-boxes>div {border-radius:13px;padding:11px 2px;background:rgba(255,255,255,.65)}
.countdown-boxes strong {font-size:20px}
.countdown-footer {margin-top:18px}
/* Secondary pages */
.page-heading {margin:24px 4px 24px}
.page-heading h2 {font-size:clamp(31px,3.4vw,50px);letter-spacing:-2.2px;margin:10px 0 10px}
.page-heading h2 span {color:#0e91a9}
.page-heading p {font-size:14px;line-height:1.6}
.eyebrow {letter-spacing:1.7px}
.secondary-button,.primary-button {border-radius:13px;min-height:41px;padding:11px 17px;font-size:11px}
.primary-button {background:linear-gradient(120deg,#08a8b4,#1268ba)}
.results-hero {max-width:1100px;padding:28px}
.results-hero-body {padding:35px 20px 25px}
.results-large-emblem {height:114px;width:114px;border-radius:31px;background:linear-gradient(150deg,#ecfbff,#d1ecfa)}
.results-status-grid,.explainer {max-width:1100px}
.electorate-card {min-height:205px}
.electorate-card h3 {font-size:21px}
.coalition-party-list label {border-radius:11px}
.coalition-math>div {background:linear-gradient(135deg,#effaff,#dff5fa)}
.news-panel {padding:26px}
.about-grid>.panel {padding:30px}
/* Footers & fine detail */
.footer {background:linear-gradient(90deg,rgba(247,252,255,.73),rgba(225,244,254,.52));border-top:1px solid rgba(255,255,255,.95)}
.footer>div {max-width:1630px}
.footer-brand {color:#147895}
.loading-line {color:#738aa2}
/* Tablet breakpoints preserve breathing room */
@media (max-width:1440px){
  .topbar {padding:10px 15px;gap:9px}
  .topnav button {padding:9px 9px;font-size:10px}
  .identity-by {display:none}
  .nav-edition {display:none}
  .overview-top {grid-template-columns:1.02fr 1.02fr .83fr}
  .overview-bottom {grid-template-columns:1.12fr .95fr .77fr}
  .sources-overview {flex-wrap:wrap}
  .sources-overview .source-grid {min-width:60%}
  .sources-caption {max-width:none}
}
@media (max-width:1150px){
  .overview-top {grid-template-columns:repeat(2,minmax(0,1fr))}
  .result-overview {grid-column:1/-1}
  .overview-bottom {grid-template-columns:repeat(2,minmax(0,1fr))}
  .sources-overview {grid-column:1/-1}
  .sources-overview .source-grid {grid-template-columns:repeat(3,minmax(0,1fr))}
  .editorial-figure:last-of-type {display:none}
  .hero h1 {font-size:clamp(42px,4.2vw,58px)}
}
@media (max-width:800px){
  .topbar {position:sticky;top:7px;width:calc(100% - 16px);min-height:62px;margin:7px auto 0;padding:9px 12px;border-radius:18px}
  .topnav {position:absolute;top:67px;left:0;right:0;z-index:65;display:none;border-radius:17px;padding:9px}
  .topnav.open {display:flex}
  .topnav button {padding:12px 14px;font-size:12px}
  .hero {height:auto;min-height:250px;margin-top:-1px}
  .hero-inner {padding:32px 27px 34px}
  .hero-info {display:none}
  .hero h1 {font-size:clamp(36px,5.2vw,54px)}
  .hero-photo {background-position:67% center}
  .hero-wash {background:linear-gradient(90deg,rgba(241,251,255,.98),rgba(232,246,253,.9) 45%,rgba(231,248,255,.38) 100%),linear-gradient(0deg,#e8f6fc,transparent 30%)}
  .editorial-intro {flex-direction:column;align-items:stretch;padding:21px}
  .editorial-figures {width:100%;justify-content:space-between;border-top:1px solid #d6e8f1;padding-top:9px}
  .editorial-figure {min-width:0;padding:5px 12px}
  .editorial-figure:last-of-type {display:flex}
  .overview-top {grid-template-columns:repeat(2,minmax(0,1fr))}
  .overview-bottom {grid-template-columns:repeat(2,minmax(0,1fr))}
  .sources-overview .source-grid {min-width:100%}
}
@media (max-width:580px){
  .app-root {background:linear-gradient(170deg,#eef8ff,#e5f3fa 55%,#f1f9fc)}
  .topbar {min-height:56px;padding:7px 10px}
  .identity-title {font-size:14px;letter-spacing:-.6px}
  .fern {width:31px;height:31px}
  .hero {min-height:265px}
  .hero-inner {padding:31px 19px 29px}
  .hero-kicker {font-size:9px;letter-spacing:1px;line-height:1.5}
  .hero h1 {font-size:39px;line-height:1.08;letter-spacing:-2.3px;margin:14px 0 10px;max-width:345px}
  .hero p {font-size:12px;line-height:1.6}
  .hero-cta {gap:8px;margin-top:14px}
  .hero-button {font-size:10px;padding:0 11px;gap:6px;height:37px}
  .hero-button .icon {width:12px}
  .content-shell {padding:0 12px 35px}
  .state-strip {min-height:75px;padding:12px 3px}
  .data-pill {font-size:9px}
  .strip-sub {font-size:10px}
  .editorial-intro {border-radius:19px;padding:19px;margin-bottom:21px}
  .editorial-intro h2 {font-size:23px;letter-spacing:-.7px}
  .editorial-intro p {font-size:11px}
  .section-eyebrow {font-size:8px;letter-spacing:1.1px}
  .editorial-figures {gap:0}
  .editorial-figure {flex:1;padding:7px 9px 0;border-left:0}
  .editorial-figure:first-child {padding-left:0}
  .editorial-figure strong {font-size:19px}
  .editorial-figure small {font-size:9px;white-space:normal}
  .editorial-action {height:37px;width:37px;flex-shrink:0;align-self:center}
  .section-row {align-items:start;margin:18px 2px 12px}
  .section-row h2 {font-size:22px;letter-spacing:-.7px}
  .section-help {display:none}
  .secondary-section {margin-top:30px}
  .overview-top,.overview-bottom {grid-template-columns:1fr;gap:14px;margin-top:0}
  .overview-top>.panel,.overview-bottom>.panel {min-height:auto}
  .panel {padding:18px;border-radius:20px}
  .panel-head h2 {font-size:16px}
  .panel-head h2 .icon {width:23px;height:23px}
  .poll-bar-row {grid-template-columns:114px minmax(36px,1fr) 47px;gap:8px}
  .poll-number {font-size:12px}
  .overview-seat-arc svg {height:163px}
  .coalition-overview {min-height:355px!important}
  .result-overview {grid-column:auto;min-height:300px!important}
  .result-overview-centre {min-height:190px}
  .sources-overview {display:block;min-height:auto!important}
  .sources-overview .panel-head {margin-bottom:13px}
  .sources-overview .source-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}
  .sources-overview .source-grid a {min-height:55px;font-size:10px}
  .sources-caption {margin-top:10px;font-size:9px}
  .news-overview {min-height:300px!important}
  .countdown-overview {min-height:238px!important}
  .countdown-body {margin-top:13px}
  .news-snippet a {font-size:11px}
  .page-heading h2 {font-size:30px;letter-spacing:-1.15px}
  .page-heading p {font-size:12px}
  .polls-detail-grid>.panel,.coalition-detail-grid>.panel {padding:19px}
  .hero-button:hover,.panel:hover {transform:none}
  .footer>div {gap:11px}
}
@media (prefers-reduced-motion:reduce){.panel,.hero-button {transition:none!important}}

/* Original v5.css — bundled for fast load */
/* NZ Election Live V5 / BU1ST Technologies Sydney
   Focus mode: fit the decision-making overview to one desktop viewport.
   On small screens show one selected dashboard panel at a time.
   No changes to poll or election-result source logic. */
:root { --focus-gap: 12px; }
.overview-panel-switcher { display:none; }
/* Keep evidence links visible and keyboard controls accessible. */
[data-focus] { border:1px solid rgba(255,255,255,.9); cursor:pointer; }

@media (min-width:1151px) and (min-height:680px) {
  html, body { height:100%; overflow:hidden; }
  .app-root { height:100dvh; min-height:0; overflow:hidden; display:flex; flex-direction:column; }
  .topbar {
    flex:0 0 auto; min-height:55px; height:55px; margin:7px auto 0;
    padding:6px 14px; border-radius:16px; gap:10px;
  }
  .identity { gap:8px; }
  .fern { height:33px; width:35px; flex-basis:35px; }
  .identity-title { font-size:15px; }
  .identity-by { display:none; }
  .topnav { gap:1px; }
  .topnav button { padding:8px 10px; font-size:10px; }
  .nav-edition { padding:6px 8px; font-size:8px; }
  .icon-button { width:32px; height:32px; border-radius:10px; }
  .hero { flex:0 0 auto; height:clamp(86px,11.3vh,116px); min-height:0; margin-top:0; }
  .hero-inner { padding:9px clamp(26px,4.3vw,72px); }
  .hero-copy { padding:0; }
  .hero-kicker { font-size:8px; letter-spacing:1.3px; }
  .hero h1 { font-size:clamp(28px,2.6vw,41px); margin:5px 0 2px; letter-spacing:-1.8px; }
  .hero p { font-size:11px; line-height:1.3; }
  .hero p br { display:none; }
  .hero-cta { display:none; }
  .hero-info { min-width:0; padding:8px 16px; width:206px; gap:0; border-radius:16px; }
  .hero-info-label { font-size:8px; }
  .hero-info-top { display:none; }
  .hero-date { font-size:30px; line-height:1.15; margin:0; letter-spacing:-1px; }
  .hero-date span { font-size:12px; }
  .hero-info strong { font-size:11px; }
  .hero-info > span:last-of-type { font-size:9px; margin:0; }
  .hero-info-bottom { display:none; }
  body[data-page]:not([data-page="overview"]) .hero { display:none; }
  .content-shell {
    width:100%; max-width:1800px; flex:1 1 auto; min-height:0;
    display:flex; flex-direction:column;
    padding:0 clamp(12px,2vw,31px) 10px;
  }
  .state-strip { flex:0 0 auto; min-height:34px; height:34px; padding:2px 4px; }
  .data-pill { padding:4px 10px; font-size:9px; }
  .strip-sub, .source-led { font-size:10px; }
  .state-left,.state-right { gap:9px; }
  .content-shell > main { flex:1; min-height:0; overflow:hidden; }
  .page.page-active[data-page="overview"] {
    display:grid; height:100%; min-height:0;
    grid-template-rows:auto minmax(0,1.38fr) minmax(0,.9fr);
    gap:var(--focus-gap); animation:none;
  }
  .editorial-intro { padding:9px 17px; min-height:0; margin:0; border-radius:17px; gap:10px; }
  .editorial-intro h2 { font-size:clamp(16px,1.55vw,23px); margin:3px 0 3px; letter-spacing:-.7px; }
  .editorial-intro p { font-size:10px; line-height:1.35; }
  .section-eyebrow { font-size:8px; }
  .editorial-figures { gap:2px; }
  .editorial-figure { padding:3px 10px; min-width:116px; }
  .editorial-figure strong { font-size:18px; line-height:1.35; }
  .editorial-figure span,.editorial-figure small { font-size:8px; }
  .editorial-action { width:30px; height:30px; border-radius:9px; }
  .section-row { display:none; }
  .overview-top, .overview-bottom { min-height:0; height:100%; margin:0; gap:var(--focus-gap); }
  .overview-top { grid-template-columns:1.12fr 1fr .82fr; }
  .overview-bottom { grid-template-columns:1.2fr 1fr .78fr; }
  .overview-top >.panel,.overview-bottom >.panel { min-height:0!important; height:100%; padding:clamp(11px,1.15vw,18px); border-radius:20px; }
  .overview-top >.panel:hover,.overview-bottom >.panel:hover { transform:none; }
  .panel-head { margin-bottom:8px; gap:6px; }
  .panel-head h2 { font-size:clamp(12px,1vw,15px); gap:6px; }
  .panel-head h2 .icon { width:17px; height:17px; padding:2px; border-radius:6px; }
  .panel-head p { font-size:9px; margin-top:3px; line-height:1.3; }
  .small-stamp { font-size:8px; padding:5px 7px; }
  .poll-selector-row { margin:0 0 7px; }
  .small-select { min-height:27px; padding:4px 8px; font-size:10px; }
  .poll-overview-bars { gap:clamp(3px,.6vh,7px); }
  .poll-bar-row { grid-template-columns:clamp(78px,8.5vw,117px) minmax(22px,1fr) 44px; height:clamp(21px,2.7vh,26px); gap:7px; }
  .party-chip { height:21px; width:23px; font-size:9px; }
  .party-name-line { font-size:10px; gap:5px; }
  .poll-number { font-size:12px; }
  .poll-track { height:9px; }
  .poll-overview .micro-disclaimer { margin-top:7px; font-size:9px; line-height:1.2; }
  .majority-tape { padding:6px 2px; border-radius:11px; }
  .majority-tape strong { font-size:18px; }
  .majority-tape span { font-size:8px; margin-top:0; }
  .coalition-overview { display:flex; flex-direction:column; }
  .coalition-overview .panel-head { flex:0 0 auto; }
  .coalition-overview .majority-tape { flex:0 0 auto; }
  .overview-seat-arc { min-height:0; flex:1 1 auto; align-items:center; }
  .overview-seat-arc svg { height:clamp(88px,13.5vh,137px); max-height:100%; }
  .arc-legend { margin:0 0 5px; gap:2px 7px; }
  .arc-legend span { font-size:8px; }
  .glass-notice { padding:6px 8px; font-size:9px; line-height:1.25; }
  .result-overview .panel-head { margin-bottom:5px; }
  .result-overview-centre { min-height:0; padding:4px; gap:3px; }
  .ballot-illustration { transform:scale(.62); transform-origin:center; margin:-13px 0; }
  .result-overview-centre h3 { font-size:clamp(14px,1.2vw,18px); line-height:1.22; }
  .result-overview-centre p { font-size:9px; line-height:1.3; }
  .glass-button { padding:7px; font-size:10px; }
  .chart-box svg { height:clamp(117px,17vh,164px); }
  .trends-overview .chart-flex { margin-top:0; }
  .chart-small-key { font-size:8px; }
  .news-snippet { padding:5px 0; grid-template-columns:34px 1fr; gap:9px; }
  .story-thumb { width:34px; height:34px; border-radius:9px; }
  .news-snippet a { font-size:10px; line-height:1.28; }
  .news-snippet span { font-size:9px; margin-top:2px; }
  .countdown-body { margin-top:8px; }
  .countdown-body strong { font-size:clamp(28px,2.6vw,40px); }
  .countdown-boxes { gap:5px; margin-top:6px; }
  .countdown-boxes > div { padding:6px 2px; border-radius:8px; }
  .countdown-boxes strong { font-size:16px; }
  .countdown-footer { margin-top:6px; font-size:9px; }
  .sources-overview { display:none!important; }
  .footer { display:none; }
  .page.page-active:not([data-page="overview"]) { height:100%; overflow-y:auto; padding:0 5px 20px; animation:none; overscroll-behavior:contain; }
  .page-heading { margin:10px 4px 13px; }
  .page-heading h2 { font-size:clamp(25px,2.5vw,35px); margin:4px 0; }
  .page-heading p { font-size:11px; }
}
/* Medium desktop: keep the overview single-screen, but simplify secondary content. */
@media (min-width:1151px) and (min-height:680px) and (max-height:800px) {
  .hero-info { display:none; }
  .panel-head p { display:none; }
  .overview-seat-arc svg { height:clamp(84px,11.3vh,105px); }
  .poll-overview .micro-disclaimer { display:none; }
  .result-overview-centre .ballot-illustration { display:none; }
  .result-overview-centre { padding:6px; }
  .chart-box svg { height:clamp(96px,14vh,115px); }
}
/* Tablets/phones: one dashboard module at a time instead of a long card stack. */
@media (max-width:1150px) {
  .app-root { min-height:100dvh; }
  .topbar { min-height:55px; height:55px; margin:6px auto 0; padding:7px 11px; }
  .hero { min-height:112px; height:112px; margin-top:0; }
  .hero-inner { padding:10px 23px; }
  .hero h1 { font-size:clamp(25px,3.7vw,33px); letter-spacing:-1.5px; margin:7px 0 3px; }
  .hero p { font-size:11px; }
  .hero-kicker { font-size:8px; }
  .hero-cta,.hero-info { display:none; }
  body[data-page]:not([data-page="overview"]) .hero { display:none; }
  .content-shell { padding:0 13px 24px; }
  .state-strip { min-height:35px; padding:7px 2px 4px; }
  .state-left { flex-direction:row; gap:7px; align-items:center; }
  .data-pill { padding:5px 8px; font-size:8px; }
  .strip-sub { font-size:9px; }
  .editorial-intro { padding:12px 15px; margin-bottom:10px; gap:8px; }
  .editorial-intro h2 { font-size:clamp(18px,2.5vw,22px); margin:4px 0; }
  .editorial-intro p { font-size:10px; }
  .editorial-figure { padding:5px 8px; min-width:0; }
  .editorial-figure strong { font-size:17px; }
  .section-row { display:none; }
  .overview-panel-switcher { display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); gap:6px; margin:0 0 10px; }
  .overview-panel-switcher button {
    padding:9px 8px; min-height:41px; display:flex; justify-content:center; align-items:center; gap:6px;
    border-radius:12px; color:#38627c; font-size:11px; font-weight:800;
    background:linear-gradient(145deg,rgba(255,255,255,.86),rgba(229,246,255,.7));
    box-shadow:inset 0 1px rgba(255,255,255,.9),0 3px 8px rgba(32,104,150,.06);
  }
  .overview-panel-switcher .icon { width:14px; height:14px; }
  .overview-panel-switcher button.focus-active { background:linear-gradient(130deg,#0a9ba9,#1268a6); color:white; border-color:#0e8db0; box-shadow:0 6px 17px rgba(20,114,161,.20); }
  .overview-top,.overview-bottom { display:contents; }
  .page.page-active[data-page="overview"] { display:flex; flex-direction:column; }
  .overview-top>.panel,.overview-bottom>.panel { display:none!important; height:auto; min-height:0!important; }
  .overview-top>.panel.panel-focus,.overview-bottom>.panel.panel-focus { display:block!important; }
  .overview-top>.result-overview.panel-focus,.overview-top>.coalition-overview.panel-focus { display:flex!important; }
  .overview-top>.panel.panel-focus,.overview-bottom>.panel.panel-focus { padding:clamp(15px,2.7vw,23px); margin:0; border-radius:20px; }
  .poll-overview-bars { gap:10px; }
  .poll-bar-row { grid-template-columns:clamp(92px,18vw,120px) minmax(20px,1fr) 52px; gap:10px; }
  .overview-seat-arc svg { height:clamp(150px,24vw,205px); }
  .result-overview-centre { min-height:190px; }
  .chart-box svg { height:clamp(165px,27vw,230px); }
  .news-overview .news-snippet { padding:12px 0; }
  .sources-overview { display:none!important; }
  .footer { display:none; }
  .page-heading { margin:12px 4px; }
}
@media (max-width:580px) {
  .topbar { width:calc(100% - 12px); border-radius:14px; padding:7px 9px; }
  .identity-title { font-size:13px; }
  .hero { height:96px; min-height:96px; }
  .hero-inner { padding:9px 16px; }
  .hero-kicker { font-size:7px; letter-spacing:.7px; }
  .hero h1 { font-size:clamp(23px,6.2vw,29px); letter-spacing:-1px; margin:4px 0 3px; }
  .hero p { font-size:10px; line-height:1.2; }
  .hero p br { display:none; }
  .content-shell { padding:0 10px 24px; }
  .state-strip { min-height:35px; height:auto; padding:6px 0; }
  .state-left { flex-direction:row; flex-wrap:wrap; gap:4px 8px; }
  .state-left .strip-sub { font-size:9px; }
  .editorial-intro { flex-direction:row; align-items:center; gap:8px; padding:11px 12px; margin:0 0 9px; }
  .editorial-intro h2 { font-size:17px; letter-spacing:-.5px; line-height:1.23; }
  .editorial-intro p { display:none; }
  .editorial-figures { width:auto; flex-shrink:0; gap:0; padding:0; border:0; }
  .editorial-figure { min-width:73px; padding:3px 6px; }
  .editorial-figure strong { font-size:15px; line-height:1.45; }
  .editorial-figure span,.editorial-figure small { font-size:7px; }
  .editorial-figure:last-of-type, .editorial-action { display:none; }
  .section-eyebrow { font-size:7px; letter-spacing:.7px; }
  .overview-panel-switcher { grid-template-columns:repeat(3,minmax(0,1fr)); gap:6px; margin-bottom:9px; }
  .overview-panel-switcher button { min-height:34px; padding:6px 7px; font-size:10px; border-radius:9px; }
  .overview-panel-switcher .icon { width:13px; height:13px; }
  .overview-top>.panel.panel-focus,.overview-bottom>.panel.panel-focus { padding:14px; border-radius:16px; }
  .poll-overview-bars { gap:7px; }
  .poll-bar-row { grid-template-columns:105px 1fr 48px; }
  .panel-head { margin-bottom:9px; }
  .panel-head h2 { font-size:15px; }
  .poll-overview .micro-disclaimer { margin-top:10px; }
  .coalition-overview { min-height:0!important; }
  .result-overview { min-height:0!important; }
  .trends-overview { min-height:0!important; }
  .news-overview { min-height:0!important; }
  .countdown-overview { min-height:0!important; }
  .chart-box svg { height:185px; }
  .page-heading h2 { font-size:25px; }
}

/* Ensure secondary cards never cut off critical labels at standard laptop heights. */
@media (min-width:1151px) and (min-height:680px) {
  .countdown-body { min-height:0; margin-top:4px; }
  .countdown-boxes { margin:5px 0; }
  .countdown-footer { margin-top:3px; }
  .trends-overview .chart-flex { min-height:0; }
  .trends-overview .chart-box svg { height:clamp(88px,14vh,138px); }
}
@media (min-width:1151px) and (min-height:680px) and (max-height:820px) {
  .news-overview .news-snippet:nth-child(n+3) { display:none; }
  .news-overview .news-snippet { padding:4px 0; }
  .countdown-body strong { font-size:29px; }
  .countdown-overview .panel-head { margin-bottom:0; }
  .countdown-footer { margin-top:0; }
}
@media (min-width:1151px) and (min-height:680px) and (max-height:740px) {
  .poll-overview-bars { gap:2px; }
  .poll-bar-row { height:20px; }
  .poll-overview .panel-head { margin-bottom:4px; }
  .trends-overview .chart-box svg { height:86px; }
  .trends-overview .panel-head { margin-bottom:3px; }
  .news-overview .news-snippet:nth-child(n+2) { display:none; }
  .countdown-boxes > div { padding:3px 2px; }
  .countdown-body { margin-top:1px; }
  .countdown-footer { display:none; }
  .trends-overview .chart-box svg { height:82px; }
}

@media (prefers-reduced-motion:reduce) { .page{animation:none;} }

/* Broadcast link: compact, independent of the seven-page navigation. */
.broadcast-access{display:inline-flex;align-items:center;text-decoration:none;white-space:nowrap;border:1px solid rgba(37,130,157,.27);background:rgba(255,255,255,.66);border-radius:999px;padding:7px 12px;color:#14556b;font-weight:750;font-size:.77rem;box-shadow:0 3px 16px rgba(16,69,98,.06)}
.broadcast-access:hover{background:rgba(226,248,255,.96)}
@media(max-width:960px){.broadcast-access{display:none}}

/* Original command.css — bundled for fast load */
/* BU1ST Technologies Sydney — NZ Election Command Centre V7 */
:root { --command-ink:#0a2541; --command-cyan:#0789a4; --glass-edge:rgba(255,255,255,.96); }
.identity-title{letter-spacing:-.55px}
.identity-by{font-size:10px;white-space:nowrap}
.powered-hero {display:flex;align-items:center;gap:7px;margin-top:9px;font-weight:800;font-size:10px;letter-spacing:.09em;color:#477995;text-transform:uppercase;text-shadow:0 1px 0 #fff}
.powered-hero strong {font-size:10px;color:#076f8f;letter-spacing:.065em}
.nav-edition {background:linear-gradient(115deg,rgba(219,246,255,.93),rgba(249,255,255,.94));color:#176985}
.topbar .identity b{color:#096c89}
.page-heading .eyebrow,.leader-kicker{letter-spacing:.14em;font-size:10px;font-weight:800;color:#23839d}
.leaders-overview{display:flex;flex-direction:column;justify-content:flex-start;min-width:0;overflow:hidden;gap:0}
.leaders-overview .panel-head {margin-bottom:5px;flex:none}
.leaders-view-more{font-size:10px;white-space:nowrap}
.leader-strip {flex:1;min-height:0;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:7px;align-items:stretch}
.leader-mini {display:flex;flex-direction:column;align-items:center;justify-content:space-between;min-width:0;gap:2px;padding:5px 2px 4px;border-radius:12px;background:linear-gradient(150deg,rgba(255,255,255,.9),rgba(220,242,255,.59));border:1px solid rgba(255,255,255,.85);box-shadow:inset 0 1px 1px #fff,0 7px 17px rgba(44,105,139,.08);cursor:pointer;transition:transform .18s ease,box-shadow .18s ease}
.leader-mini:hover,.leader-mini:focus-visible {transform:translateY(-2px);box-shadow:0 9px 20px rgba(28,100,135,.16);outline:none}
.leader-photo-halo{width:clamp(31px,3.3vw,56px);height:clamp(35px,4.3vw,68px);display:block;flex:none}
.leader-image {position:relative;display:block;width:100%;height:100%;border:2px solid rgba(255,255,255,.96);border-radius:12px;overflow:hidden;background:linear-gradient(135deg,color-mix(in srgb,var(--leader-color),white 83%),#d3eafa);box-shadow:0 6px 15px rgba(17,74,112,.12)}
.leader-image img {width:100%;height:100%;display:block;object-fit:cover;object-position:center 22%;position:relative;z-index:1}
.leader-initials{position:absolute;inset:0;display:grid;place-items:center;font-size:13px;color:var(--leader-color);font-weight:800}
.leader-mini-name{font-size:clamp(9px,.79vw,11px);color:#29445e;font-weight:800;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.leader-mini strong {font-size:clamp(15px,1.17vw,22px);font-weight:850;letter-spacing:-.7px;font-variant-numeric:tabular-nums;line-height:1.1}
.leader-context{display:flex;align-items:center;justify-content:space-between;gap:6px;font-size:9px;color:#7491a5;padding-top:5px;flex:none}
.leader-context a{color:#0c7293;text-decoration:none;font-weight:750;white-space:nowrap}
.leader-summary{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:19px 23px;margin-bottom:14px;border-radius:20px}
.leader-summary h3{font-size:clamp(18px,2vw,27px);margin:4px 0 7px;line-height:1.15;letter-spacing:-.05em;color:#153651}
.leader-summary p{margin:0;color:#5d788d;font-size:12px}
.leader-detail-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin-bottom:13px}
.leader-detail-card{border-radius:23px;overflow:hidden;min-width:0;padding:10px 10px 14px;background:linear-gradient(152deg,rgba(255,255,255,.91),rgba(229,246,254,.79));border:1px solid white;box-shadow:0 10px 35px rgba(27,92,125,.09)}
.leader-portrait-wrap{height:clamp(155px,20vw,255px);position:relative;margin-bottom:11px;overflow:hidden;border-radius:15px;background:linear-gradient(130deg,color-mix(in srgb,var(--leader-color),white 84%),#cee9f6)}
.leader-portrait-wrap .leader-image{border-radius:15px}
.leader-portrait-wrap .leader-initials{font-size:43px;letter-spacing:-.06em}
.leader-portrait-wrap img{object-position:center 18%}
.leader-party{position:absolute;bottom:8px;left:8px;padding:6px 9px;border-radius:9px;background:rgba(255,255,255,.89);color:var(--leader-color);font-weight:800;font-size:10px;z-index:4;box-shadow:0 2px 8px rgba(0,0,0,.06)}
.leader-detail-content{padding:0 7px}
.leader-role{font-size:9px;font-weight:750;color:#688399;min-height:24px;text-transform:uppercase;letter-spacing:.08em;line-height:1.25}
.leader-detail-content h3{font-size:clamp(15px,1.2vw,20px);letter-spacing:-.055em;margin:2px 0 6px;color:#153750;line-height:1.2}
.leader-percentage{font-size:clamp(28px,2.35vw,42px);font-weight:850;color:var(--leader-color);font-variant-numeric:tabular-nums;letter-spacing:-.07em;line-height:1.1}
.leader-percentage span{font-size:10px;font-weight:700;color:#668197;letter-spacing:0;display:block;margin:4px 0 10px}
.leader-meter{height:9px;background:rgba(191,214,229,.7);border-radius:99px;overflow:hidden;margin:10px 0}
.leader-meter i{display:block;height:100%;border-radius:99px}
.leader-trend{font-size:10px;line-height:1.35;color:#6b8498;min-height:30px}
.leader-explainer{padding:15px 22px;display:grid;grid-template-columns:1fr 1fr;gap:20px;border-radius:18px}
.leader-explainer strong{font-size:12px;color:#2f617f}
.leader-explainer p{font-size:11px;line-height:1.5;margin:4px 0;color:#5a778e}
.leader-credits{grid-column:1/-1}
.leader-credits #leader-credits{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px 15px}
.leader-credits #leader-credits a{display:flex;justify-content:space-between;gap:10px;align-items:center;padding:9px 10px;border-radius:12px;background:rgba(227,245,255,.55);text-decoration:none;color:#1e5674;font-size:11px;flex-wrap:wrap}
.leader-credits #leader-credits span{color:#638499}
@media (min-width:1151px) and (min-height:680px){
  .overview-bottom{grid-template-columns:1.23fr 1fr .78fr}
  .trends-overview{display:none!important}
  .leaders-overview{display:flex!important}
  .leader-portrait-wrap{height:clamp(126px,18vw,225px)}
  .topbar .topnav button{padding:7px clamp(6px,.55vw,10px)}
  .topbar .identity-title{font-size:clamp(12px,1vw,16px)}
  .nav-edition{display:none}
  .content-shell .leader-context{font-size:8px}
  .powered-hero{margin-top:6px;font-size:8px}
  .powered-hero strong{font-size:8px}
  .hero-info{right:12px}
  .leaders-overview .panel-head p{font-size:9px}
  .leader-mini{padding:4px 2px}
  .leader-photo-halo{width:clamp(29px,2.9vw,49px);height:clamp(34px,3.5vw,56px)}
  .leader-mini strong{font-size:clamp(14px,1.14vw,19px)}
  .leaders-overview .leader-context{padding-top:3px}
  .leader-summary{padding:11px 17px;margin-bottom:10px}
}
@media (min-width:1151px) and (min-height:680px) and (max-height:800px) {
 .leader-photo-halo{width:34px;height:40px}
 .leaders-overview .panel-head p{display:none}
 .leader-mini strong{font-size:15px}
 .leader-context{display:none}
}
@media (min-width:1151px) and (max-width:1450px){
 .identity-title{font-size:12px}
 .topbar{gap:4px;padding-left:10px;padding-right:10px}
 .broadcast-access{display:none}
 .topbar .nz-clock{font-size:10px}
}
@media (max-width:1150px){
 .leader-strip{min-height:225px;gap:9px}
 .leader-photo-halo{width:clamp(51px,9.5vw,84px);height:clamp(65px,11vw,105px)}
 .leader-mini strong{font-size:clamp(19px,2.7vw,30px)}
 .leader-mini-name{font-size:clamp(10px,1.4vw,13px)}
 .leader-summary{padding:15px}
 .leader-detail-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
 .leader-portrait-wrap{height:170px}
 .powered-hero{font-size:8px;margin-top:4px}
 .powered-hero strong{font-size:8px}
}
@media(max-width:580px){
 .identity-title{font-size:11px}
 .powered-hero{font-size:7px;margin-top:2px;letter-spacing:0}
 .powered-hero strong{font-size:7px;letter-spacing:0}
 .hero h1{font-size:22px;margin:1px 0}
 .hero p{font-size:9px}
 .overview-panel-switcher{grid-template-columns:repeat(4,minmax(0,1fr));}
 .overview-panel-switcher button{font-size:9px;padding:5px 3px;gap:3px;min-height:32px}
 .overview-panel-switcher .icon{width:12px;height:12px}
 .leader-strip{min-height:220px;gap:3px}
 .leader-mini{padding:7px 1px;gap:5px}
 .leader-photo-halo{width:clamp(39px,10vw,60px);height:clamp(53px,13vw,80px)}
 .leader-mini-name{font-size:9px}
 .leader-mini strong{font-size:17px}
 .leaders-overview .panel-head p{display:none}
 .leader-context{font-size:9px}
 .leader-detail-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
 .leader-portrait-wrap{height:164px}
 .leader-detail-card{padding:8px}
 .leader-detail-content h3{font-size:16px}
 .leader-percentage{font-size:30px}
 .leader-summary{gap:7px}
 .leader-summary .secondary-button{font-size:10px;padding:8px;white-space:nowrap}
 .leader-summary h3{font-size:17px}
 .leader-summary p{font-size:10px}
 .leader-explainer{grid-template-columns:1fr;padding:12px}
 .leader-credits #leader-credits{grid-template-columns:1fr}
}

/* Original command-v8.css — bundled for fast load */
/* BU1ST TECHNOLOGIES SYDNEY — V8 Electorate Explorer + Election Briefing */
:root{--v8-ink:#0c304d;--v8-blue:#1178bd;--v8-teal:#009db2;--v8-soft:#638298}
.v8-page{color:var(--v8-ink)}
.v8-head{display:flex;justify-content:space-between;align-items:center;gap:15px;margin:9px 4px 13px}
.v8-head h2{font-size:clamp(25px,2.7vw,38px)!important;letter-spacing:-1.6px;margin:5px 0 6px!important;font-weight:850}
.v8-head h2 span{color:#0698a8}.v8-head p{font-size:12px!important;max-width:800px;line-height:1.45;color:#55778c}
.v8-number{display:flex;align-items:center;gap:10px;border:1px solid #fff;border-radius:17px;background:linear-gradient(130deg,rgba(255,255,255,.96),rgba(207,238,249,.66));padding:7px 16px;box-shadow:0 7px 18px rgba(40,118,161,.08)}
.v8-number strong{font:850 36px/1 Manrope,sans-serif;letter-spacing:-2px;color:#0989a9}.v8-number span{font-size:11px;font-weight:800;color:#52768d;text-transform:uppercase;letter-spacing:.1em}
.electorate-explorer{border:1px solid rgba(255,255,255,.94);border-radius:24px;overflow:hidden;display:grid;grid-template-columns:318px minmax(0,1fr);height:clamp(490px,calc(100dvh - 214px),850px);min-height:0;background:linear-gradient(148deg,rgba(255,255,255,.82),rgba(224,243,255,.8));box-shadow:0 18px 50px rgba(30,102,141,.12),inset 0 1px rgba(255,255,255,.98)}
.seat-sidebar{display:flex;flex-direction:column;min-width:0;min-height:0;padding:14px 11px 9px;border-right:1px solid rgba(153,194,214,.35);background:linear-gradient(160deg,rgba(255,255,255,.76),rgba(222,244,255,.56))}
.seat-searchbox{display:flex;align-items:center;gap:10px;border:1px solid #cce8f3;background:rgba(255,255,255,.91);box-shadow:inset 0 1px white,0 5px 14px rgba(54,111,140,.04);height:45px;padding:0 12px;border-radius:13px}
.seat-searchbox .icon{width:17px;height:17px;color:#138ba9}.seat-searchbox input{height:100%;font:600 12px DM Sans,sans-serif;color:#1b4762;background:transparent;border:none;outline:none;width:100%;min-width:0}.seat-searchbox:focus-within{outline:2px solid rgba(17,158,192,.25)}
.seat-filters{display:grid;grid-template-columns:repeat(3,1fr);gap:5px;margin:10px 0 13px}.seat-filter{border-radius:10px;border:1px solid rgba(173,206,224,.5);background:rgba(235,249,255,.77);font:800 10px DM Sans,sans-serif;color:#57829b;padding:10px 3px;cursor:pointer;white-space:nowrap}.seat-filter span{opacity:.65;margin-left:2px}.seat-filter.active{background:linear-gradient(115deg,#0988ad,#0b6dac);color:white;box-shadow:0 6px 15px rgba(16,133,179,.2)}
.seat-list-head{display:flex;align-items:center;justify-content:space-between;padding:0 8px 7px;font-size:10px;font-weight:850;color:#456c81}.seat-list-head span:last-child{font-size:8px;letter-spacing:.12em;color:#91aabb}
.seat-scroll-list{flex:1;min-height:0;overflow:auto;padding:0 3px 5px 0;scrollbar-width:thin;scrollbar-color:#a2c7db transparent}
.seat-select{width:100%;border:1px solid transparent;padding:11px 10px;margin:1px 0 4px;display:flex;align-items:center;gap:9px;border-radius:12px;background:transparent;text-align:left;cursor:pointer;color:#234762;transition:background .16s,box-shadow .16s}
.seat-select:hover{background:rgba(255,255,255,.76)}.seat-select.active{background:rgba(255,255,255,.96);border-color:#b8dce9;box-shadow:0 4px 12px rgba(31,106,141,.10)}
.seat-list-icon{height:30px;width:30px;display:grid;place-items:center;flex:none;border-radius:9px;background:linear-gradient(140deg,#d9f4fa,#c1e3f7);font-weight:900;color:#087e9d;font-size:12px}.seat-select.active .seat-list-icon{background:linear-gradient(140deg,#0e99b1,#08649e);color:white}
.seat-list-copy{flex:1;min-width:0;display:grid;gap:3px}.seat-list-copy strong{font-size:12px;font-weight:800;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.seat-list-copy small{font-size:9px;color:#7c9bae}.seat-list-chevron{font-size:20px;color:#aac2d1}.poll-available-dot{height:6px;width:6px;border-radius:99px;background:#19b7ab;box-shadow:0 0 0 3px #dbf5f1}.seat-list-empty{padding:25px 15px;font-size:12px;color:#688aa1;line-height:1.6}
.seat-detail{padding:18px 20px;min-height:0;min-width:0;overflow:hidden;display:flex;flex-direction:column}
.seat-detail-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;padding:5px 5px 18px;border-bottom:1px solid rgba(137,188,213,.30)}.seat-eyebrow,.race-mini-label{font:850 9px DM Sans,sans-serif;letter-spacing:.13em;color:#0597ad}.seat-detail-heading h3{font:850 clamp(26px,2.8vw,38px)/1.12 Manrope,sans-serif;letter-spacing:-1.5px;margin:6px 0;color:#133651}.seat-detail-heading p{font-size:11px;color:#648498;margin:4px 0}.seat-status-pill{font:850 9px DM Sans,sans-serif;letter-spacing:.08em;color:#087c97;white-space:nowrap;padding:9px 12px;border-radius:99px;background:rgba(219,244,253,.85);border:1px solid #d1eaf5}
.seat-detail-body{display:grid;grid-template-columns:minmax(230px,.95fr) minmax(300px,1.1fr);gap:19px;flex:1;min-height:0;padding-top:14px}
.candidate-column,.seat-research-column{min-height:0;min-width:0;display:flex;flex-direction:column}.candidate-column{background:rgba(255,255,255,.38);border:1px solid rgba(255,255,255,.8);border-radius:16px;padding:13px 12px 10px}
.subheading{display:flex;align-items:center;justify-content:space-between;font:850 10px DM Sans,sans-serif;letter-spacing:.07em;color:#627f94;margin-bottom:8px}.subheading strong{font-size:9px;color:#168bad}.candidate-scroll{overflow:auto;flex:1;min-height:0;scrollbar-width:thin;scrollbar-color:#b6d4e5 transparent}
.candidate-line{display:flex;align-items:center;gap:9px;padding:10px 6px;border-bottom:1px solid rgba(166,201,220,.26)}.candidate-avatar{height:33px;width:33px;flex:none;border-radius:11px;display:grid;place-items:center;background:color-mix(in srgb,var(--party),white 85%);font-size:11px;font-weight:850;color:var(--party);border:1px solid color-mix(in srgb,var(--party),white 75%)}.candidate-id{display:grid;gap:3px;flex:1;min-width:0}.candidate-id strong{font-size:12px;font-weight:800;color:#23425c}.candidate-id small{font-size:10px;color:#65879a}.candidate-party-dot{height:7px;width:7px;border-radius:50%;flex:none}.candidate-source{padding-top:10px;font-size:10px;font-weight:800}.candidate-source a{color:#0b88ad}
.seat-research-column{gap:12px}.race-poll,.seat-results-box{padding:16px;border-radius:17px;border:1px solid rgba(255,255,255,.98);background:linear-gradient(150deg,rgba(255,255,255,.85),rgba(227,246,255,.77));box-shadow:0 5px 20px rgba(56,122,158,.05)}.race-poll{flex:1;overflow:auto;min-height:0}.race-poll-title{display:flex;justify-content:space-between;align-items:flex-start;gap:10px}.race-poll-title a{font-size:10px;font-weight:850;white-space:nowrap;color:#0a89a6;text-decoration:none}.race-poll h4,.seat-results-box h4{font:850 17px/1.23 Manrope,sans-serif;color:#153f5b;margin:7px 0 11px;letter-spacing:-.4px}.race-bars{display:grid;gap:11px;margin:15px 0}.race-bar-row{display:grid;grid-template-columns:minmax(90px,1.15fr) minmax(45px,.9fr) 36px;gap:9px;align-items:center}.race-bar-row span{font-size:11px;color:#43647b;font-weight:750;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.race-bar-row strong{font:850 12px Manrope,sans-serif;color:#214e66;text-align:right}.race-bar-track{height:10px;border-radius:99px;background:#ddeaf3;overflow:hidden}.race-bar-track i{display:block;height:100%;border-radius:99px}.survey-context{font-size:10px;color:#6a899c;line-height:1.5;margin-top:13px}.race-caveat{font-size:10px;color:#5c7c91;background:#f3fcfe;padding:10px;border-radius:10px;line-height:1.5;margin-bottom:0}.no-local-poll{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;background:radial-gradient(ellipse at 85% 25%,#cff3f9,transparent 70%),linear-gradient(160deg,#faffff,#eaf5fc)}.no-local-poll h4{font-size:20px}.no-local-poll p,.seat-results-box p{font-size:11px;line-height:1.55;color:#6c879b}.seat-results-box{flex:none;padding:13px 15px}.seat-results-box h4{font-size:13px;margin:6px 0}.seat-results-box p{margin:5px 0}.seat-results-box a{color:#088ca9;font-size:10px;font-weight:800}
.v8-source-line{margin:9px 4px 8px;display:flex;justify-content:space-between;gap:14px;font-size:10px;color:#5e8195}.v8-source-line a{color:#0886a4;font-weight:800;white-space:nowrap}
/* Editorial newsroom */
.news-modern .news-titlebar{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:10px 9px 15px}.news-titlebar h2{font:850 clamp(28px,3vw,42px)/1.1 Manrope,sans-serif;letter-spacing:-1.7px;color:#103c56;margin:5px 0}.news-titlebar h2 em{font-style:normal;color:#0796af}.news-titlebar p{color:#628198;font-size:12px;margin:0;line-height:1.5}.news-title-actions{display:flex;align-items:center;gap:10px}.news-sync{font:850 9px DM Sans,sans-serif;letter-spacing:.06em;white-space:nowrap;color:#288ba0;padding:9px 11px;border-radius:99px;background:rgba(227,248,252,.8)}.news-refresh{display:flex;align-items:center;gap:7px;font:850 11px DM Sans,sans-serif;color:#116d94;background:rgba(255,255,255,.87);border:1px solid #d8edf5;box-shadow:0 3px 10px rgba(52,122,154,.06);border-radius:12px;padding:10px 14px;cursor:pointer}.news-refresh .icon{height:14px;width:14px}
.news-editorial-shell{border:1px solid white;border-radius:24px;min-height:0;height:clamp(520px,calc(100dvh - 203px),900px);padding:14px 17px 12px;display:flex;flex-direction:column;gap:11px;overflow:hidden;background:linear-gradient(155deg,rgba(255,255,255,.83),rgba(224,244,253,.68));box-shadow:0 17px 45px rgba(29,104,148,.12),inset 0 2px white}
.news-filterbar{display:flex;justify-content:space-between;align-items:center;gap:9px}.news-filtertabs{display:flex;align-items:center;gap:4px;padding:3px;border-radius:13px;background:rgba(213,238,249,.61)}.news-tab{border:0;cursor:pointer;background:transparent;padding:10px 13px;font:850 11px DM Sans,sans-serif;color:#568197;border-radius:10px;transition:.16s}.news-tab.selected{color:white;background:linear-gradient(125deg,#078aa5,#0f69a5);box-shadow:0 5px 12px rgba(8,130,164,.18)}.news-filter-side{display:flex;align-items:center;gap:8px;color:#6e8da0;font:800 9px DM Sans,sans-serif;letter-spacing:.1em}.news-filter-side select{font-size:11px}
.news-feature{flex:none;height:clamp(155px,23vh,245px);min-height:150px}.featured-article{position:relative;display:grid;grid-template-columns:minmax(0,1.3fr) minmax(180px,.7fr);height:100%;overflow:hidden;border-radius:19px;background:radial-gradient(circle at 65% 0,#f5feff 0,#d6f1fa 45%,#b8e0f1 100%);border:1px solid rgba(255,255,255,.94);box-shadow:0 8px 20px rgba(40,114,156,.09),inset 0 1px white;text-decoration:none;color:inherit}.featured-article:hover{box-shadow:0 11px 29px rgba(40,114,156,.19)}.featured-copy{z-index:2;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;padding:clamp(16px,2vw,30px)}.news-tag{font:850 9px DM Sans,sans-serif;letter-spacing:.15em;color:#048ba3}.featured-copy h3{font:850 clamp(17px,2vw,27px)/1.18 Manrope,sans-serif;letter-spacing:-1px;color:#113a58;margin:11px 0 12px;max-width:650px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.featured-meta{font-size:10px;color:#51738e;font-weight:750}.featured-art{position:relative;display:grid;place-items:center;overflow:hidden;isolation:isolate}.featured-art:before{content:'';position:absolute;inset:0;background:radial-gradient(circle,#0a99b4 0,transparent 65%);opacity:.13}.feature-ring{position:absolute;border-radius:50%;border:1px solid rgba(7,130,168,.28);width:220px;aspect-ratio:1;transform:rotate(-25deg) scaleY(.58)}.ring-2{width:310px;transform:rotate(30deg) scaleY(.64)}.ring-3{width:400px;transform:rotate(-38deg) scaleY(.45)}.feature-globe{z-index:1;width:105px;height:105px;border-radius:50%;border:1px solid rgba(255,255,255,.95);box-shadow:inset 0 2px 10px rgba(255,255,255,.65),0 17px 33px rgba(19,113,158,.21);background:linear-gradient(145deg,#10bbcc,#1267a5);display:flex;align-items:center;justify-content:center;color:#fff;font:900 33px Manrope,sans-serif;letter-spacing:-2px}.feature-globe span{font-size:12px;align-self:center;letter-spacing:0;margin:15px 0 0 2px}.news-empty{padding:25px;border-radius:15px;text-align:center;color:#66879a}.news-empty h3{font-size:18px;margin:5px}
.news-grid-label{display:flex;align-items:center;justify-content:space-between;color:#396a83;font-size:10px;font-weight:900;letter-spacing:.13em;padding:1px 5px}.news-grid-label span:last-child{font-weight:650;color:#88a3b2;letter-spacing:0}
.news-card-scroll{overflow-y:auto;flex:1;min-height:0;scrollbar-width:thin;scrollbar-color:#badbe8 transparent;padding-right:3px}.news-card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.editorial-story{display:flex;align-items:center;gap:12px;padding:11px;min-height:118px;min-width:0;border-radius:16px;border:1px solid rgba(255,255,255,.98);background:linear-gradient(135deg,rgba(255,255,255,.86),rgba(238,250,255,.64));box-shadow:0 6px 16px rgba(26,99,139,.07);text-decoration:none;color:#153a55;transition:transform .18s,box-shadow .18s}.editorial-story:hover{transform:translateY(-2px);box-shadow:0 10px 25px rgba(24,91,129,.15)}.story-art{height:92px;width:76px;flex:none;border-radius:12px;display:flex;flex-direction:column;align-items:center;justify-content:space-between;padding:13px 4px;position:relative;overflow:hidden;background:linear-gradient(145deg,#c4eff6,#76bfd5);color:#027b99}.story-art span{font-size:30px;line-height:1}.story-art small{font:850 10px Manrope,sans-serif;letter-spacing:.1em}.story-art-polls{background:linear-gradient(155deg,#e5f5ff,#a9d3f8);color:#2674ba}.story-art-leaders{background:linear-gradient(155deg,#d3f1ef,#8dc7ce);color:#147f93}.story-art-results{background:linear-gradient(155deg,#f1f6ff,#aec3ec);color:#506fa8}.story-copy{display:flex;flex-direction:column;justify-content:center;min-width:0;flex:1;gap:6px}.story-upper{display:flex;align-items:center;justify-content:space-between;font-size:8px;font-weight:850;letter-spacing:.09em;color:#1594aa}.story-upper span{font-size:13px}.story-copy strong{font-size:clamp(10px,1.05vw,13px);font-weight:820;line-height:1.35;max-width:100%;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.story-meta{font-size:9px;color:#7a96a8;font-weight:750}.story-meta i{display:inline-block;width:3px;height:3px;border-radius:50%;background:#8facbb;vertical-align:middle;margin:0 4px}.news-loadmore-wrap{display:flex;justify-content:center;padding:10px}.news-bottomline{border-top:1px solid rgba(141,193,216,.35);display:flex;justify-content:space-between;align-items:center;gap:12px;color:#7b96a6;font-size:9px;font-weight:700;padding:10px 4px 0}.news-bottomline div{display:flex;gap:12px}.news-bottomline a{color:#0a84a4;text-decoration:none;font-weight:850}
.footer-legal{white-space:nowrap}.footer-legal a{color:#227b9b;text-decoration:none;font-size:10px}.footer-legal a:hover{text-decoration:underline}
@media(min-width:1151px){.page.page-active[data-page="electorates"],.page.page-active[data-page="news"]{height:100%;display:flex;flex-direction:column;overflow:hidden!important}.news-editorial-shell,.electorate-explorer{flex:1;height:auto;min-height:0}.v8-source-line{flex:none}.news-titlebar{flex:none}}
@media(max-width:1150px){.electorate-explorer{grid-template-columns:275px minmax(0,1fr);height:610px}.seat-detail-body{grid-template-columns:1fr;overflow:auto}.candidate-column{max-height:280px;flex:none}.race-poll{flex:none}.news-editorial-shell{height:680px}.news-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.news-titlebar h2{font-size:28px}}
@media(max-width:720px){.v8-head{align-items:flex-start;margin-top:10px}.v8-head h2{font-size:26px!important}.v8-head p{font-size:10px!important}.v8-number{padding:6px 10px}.v8-number strong{font-size:26px}.v8-number span{font-size:9px}.electorate-explorer{grid-template-columns:1fr;height:auto;overflow:visible;display:block;border-radius:18px}.seat-sidebar{height:270px;border-right:0;border-bottom:1px solid #d7e9f1;padding:11px}.seat-detail{min-height:550px;overflow:visible;padding:12px}.seat-detail-heading h3{font-size:25px}.seat-detail-body{display:grid;grid-template-columns:1fr;overflow:visible}.candidate-column{max-height:none;min-height:unset}.candidate-scroll{max-height:280px}.race-poll{min-height:180px}.v8-source-line{flex-direction:column;font-size:9px}.news-titlebar{align-items:flex-start;flex-direction:column;gap:9px}.news-titlebar h2{font-size:27px}.news-titlebar p{font-size:10px}.news-title-actions{width:100%;justify-content:space-between}.news-editorial-shell{height:auto;min-height:0;padding:10px;border-radius:17px}.news-filterbar{align-items:stretch;flex-direction:column}.news-filtertabs{overflow-x:auto;white-space:nowrap}.news-tab{font-size:10px;flex:none;padding:8px 11px}.news-filter-side{justify-content:flex-end}.news-feature{height:205px}.featured-article{grid-template-columns:1fr}.featured-art{position:absolute;right:-70px;top:-20px;bottom:-20px;width:190px;opacity:.3}.featured-copy{padding:18px}.featured-copy h3{font-size:19px;max-width:90%}.news-card-scroll{overflow:visible}.news-card-grid{grid-template-columns:1fr}.editorial-story{min-height:100px}.story-art{height:82px;width:69px}.story-copy strong{font-size:13px}.news-bottomline{align-items:flex-start;flex-direction:column;gap:8px}.news-sync{font-size:8px}}
@media(prefers-reduced-motion:reduce){.editorial-story,.seat-select,.news-tab{transition:none}}

/* In-card expandable leader bios; biographies are not polls or endorsements */
.leader-detail-card{display:flex;flex-direction:column}.leader-detail-content{flex:1}.leader-learn{display:flex;align-items:center;justify-content:space-between;width:100%;border:1px solid #cce7f1;background:rgba(246,253,255,.95);padding:8px 10px;margin:10px 0 0;border-radius:10px;cursor:pointer;color:#087e9b;font-size:10px;font-weight:850}.leader-learn span{font-size:16px}.leader-inline-bio[hidden]{display:none}.leader-inline-bio{padding:10px 4px 1px;color:#52778d}.leader-inline-bio p{font-size:10px;line-height:1.6;margin:0 0 7px}.leader-inline-bio small{display:block;font-size:9px;font-weight:800;color:#2f698a;margin-bottom:7px}.leader-inline-bio a{font-size:9px;font-weight:850;color:#028ca5}

/* Respect the hidden attribute even when generic button styles set display. */
.news-loadmore-wrap button[hidden]{display:none!important}
.news-card-grid:empty:after{content:'No further stories in this category';font-size:13px;color:#6c91a3}

/* Original v9.css — bundled for fast load */
/* NZ Election Command Centre V9 · Powered by BU1ST Technologies Sydney */
.v9-section-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:12px 2px 10px;color:#254d69}
.v9-section-head h3{font:850 clamp(17px,1.5vw,23px)/1.15 Manrope,system-ui;margin:0;letter-spacing:-.6px}
.v9-section-head p{margin:3px 0 0;font:600 11px/1.4 'DM Sans',system-ui;color:#668ca1}
.v9-action,.v9-action-secondary{display:inline-flex;align-items:center;justify-content:center;gap:8px;cursor:pointer;text-decoration:none;border:1px solid #c6e2ee;background:linear-gradient(150deg,#faffff,#e3f5fc);border-radius:12px;padding:11px 14px;color:#0d7197;font:800 11px 'DM Sans',system-ui;white-space:nowrap;transition:box-shadow .16s,transform .16s}
.v9-action:hover,.v9-action-secondary:hover{box-shadow:0 6px 17px rgba(5,97,153,.16);transform:translateY(-1px)}
.v9-action{background:linear-gradient(125deg,#0889a7,#1468ad);color:white;border-color:#238bb8}
.v9-action[disabled]{cursor:not-allowed;opacity:.6}
.v9-map-shell{margin:12px 0;border-radius:22px;padding:12px;background:linear-gradient(140deg,rgba(255,255,255,.9),rgba(220,242,252,.78));box-shadow:0 18px 50px rgba(33,112,156,.13);border:1px solid white}
.v9-map-shell[hidden]{display:none!important}.v9-map-tools{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:2px 2px 10px;flex-wrap:wrap}
.v9-map-tools strong{font:850 12px 'DM Sans',system-ui;color:#194663}.v9-map-choice{display:flex;gap:6px}
.v9-map-choice button{padding:8px 13px;font:850 10px 'DM Sans',system-ui;border-radius:10px;border:1px solid #bbdce9;color:#287b98;background:#f5fdff;cursor:pointer}
.v9-map-choice button.active{background:#106d9f;color:white}
#v9-map{height:clamp(320px,48vh,530px);width:100%;background:#e7f1f5;border-radius:15px;overflow:hidden}
.v9-map-footer{display:flex;justify-content:space-between;align-items:center;gap:12px;font:650 10px/1.5 'DM Sans',system-ui;color:#5b8297;padding:10px 3px 1px;flex-wrap:wrap}
.v9-map-footer a{color:#087fa7;font-weight:800}.v9-map-status{display:inline-flex;gap:7px;align-items:center;font-weight:800;color:#287992}
.v9-map-status::before{content:'';width:7px;height:7px;border-radius:50%;background:#14afac}
.maplibregl-popup-content{padding:12px!important;border-radius:14px!important;box-shadow:0 8px 30px rgba(12,45,78,.2)!important}
.v9-map-placeholder{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:7px;color:#4d829b;background:linear-gradient(145deg,#e0f3fa,#faffff);z-index:1;text-align:center;padding:25px}
.v9-seat-actions{margin:10px 0 0;display:flex;gap:7px;flex-wrap:wrap}.v9-seat-actions .v9-action,.v9-seat-actions .v9-action-secondary{font-size:10px;padding:8px 10px}
.v9-subnote{display:flex;gap:10px;align-items:center;margin:10px 1px 0;font:700 10px/1.4 'DM Sans',system-ui;color:#637f94}
.v9-delta-panel{margin:12px 0 0;border:1px solid rgba(255,255,255,.95);border-radius:18px;padding:16px;background:linear-gradient(130deg,rgba(255,255,255,.86),rgba(223,246,253,.78));box-shadow:0 7px 24px rgba(25,94,142,.08)}
.v9-delta-panel h3{font:850 15px Manrope,system-ui;margin:0;color:#183d57}.v9-delta-panel p{font:650 11px/1.5 'DM Sans',system-ui;color:#68899f;margin:5px 0 0}
.v9-delta-rows{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:11px}.v9-delta-row{border-radius:12px;padding:10px 12px;border:1px solid #d6ebf3;background:rgba(255,255,255,.75)}
.v9-delta-row strong{display:block;font:850 12px Manrope;color:#1e4865}.v9-delta-row span{display:block;color:#56869a;font:700 11px/1.5 'DM Sans',system-ui}
.v9-signal{border-radius:10px;font:850 9px 'DM Sans',system-ui;letter-spacing:.02em;padding:8px 10px;background:#e1f5f5;color:#027c86;display:inline-block}
.v9-mmp-controls{margin:14px 0 0;display:flex;gap:12px;align-items:center;justify-content:space-between;padding:12px 13px;border:1px solid #d7edf5;border-radius:14px;background:rgba(244,252,255,.86)}
.v9-mmp-controls label{font:800 11px 'DM Sans',system-ui;color:#295874;display:flex;gap:9px;align-items:center;cursor:pointer}
.v9-mmp-controls input{width:18px;height:18px;accent-color:#1390a9}.v9-mmp-controls p{font:650 10px/1.4 'DM Sans',system-ui;color:#6b8a9e;margin:0;max-width:330px}
.v9-overview-quick{display:flex;align-items:center;gap:8px;justify-content:flex-end;margin:8px 3px 2px}.v9-overview-quick button{padding:8px 12px}
.v9-live-flag{position:fixed;bottom:18px;right:18px;z-index:15;display:flex;align-items:center;gap:9px;padding:10px 14px;background:rgba(255,255,255,.90);backdrop-filter:blur(20px);border:1px solid rgba(255,255,255,.9);border-radius:99px;box-shadow:0 10px 30px rgba(33,94,137,.19);color:#4b7890;font:800 10px 'DM Sans',system-ui}
.v9-live-flag b{color:#077b97}.v9-live-flag .dot{width:8px;height:8px;background:#12b79f;border-radius:50%}
@media(max-width:880px){.v9-delta-rows{grid-template-columns:1fr 1fr}.v9-mmp-controls{flex-direction:column;align-items:flex-start}.v9-overview-quick{justify-content:flex-start}}
@media(max-width:600px){.v9-section-head{align-items:flex-start;flex-direction:column}.v9-delta-rows{grid-template-columns:1fr}#v9-map{height:370px}.v9-map-footer{font-size:9px}.v9-live-flag{bottom:8px;right:8px;padding:8px 11px;font-size:9px}}
@media(prefers-reduced-motion:reduce){.v9-action,.v9-action-secondary{transition:none}}

.v9-live-flag[hidden]{display:none!important}
