/* Electoral Workspace, version 6 additions. Loaded after styles.css. */
.v6-skip{position:absolute;left:12px;top:-60px;z-index:200;background:var(--navy);color:#fff;padding:10px 14px;border-radius:6px;font-size:14px;font-weight:600}
.v6-skip:focus{top:12px}
h1:focus,h2:focus{outline:none}
h1:focus-visible,h2:focus-visible{outline:3px solid #65b3e9;outline-offset:4px;border-radius:3px}

/* Navigation groups */
.v6-nav-label{font-size:10px;letter-spacing:1.5px;text-transform:uppercase;color:#7f9dba;margin:16px 15px 3px}
.v6-nav-label:first-child{margin-top:0}
nav a>span{flex:1}
.v6-tag{font-style:normal;font-size:9px;letter-spacing:.6px;text-transform:uppercase;border:1px solid #45607a;border-radius:3px;padding:1px 4px;color:#a9c6dc}
nav a.active .v6-tag{border-color:#6f9fc2;color:#24557c}
.workspace-label{margin-bottom:22px}

/* Context banner: public reference, synthetic demo or hypothetical */
body[data-kind=synthetic] .demo-banner,body[data-kind=hypothetical] .demo-banner{background:#fff4e0;color:#7d5a1f}
body[data-kind=synthetic] .demo-banner button,body[data-kind=hypothetical] .demo-banner button{color:#7d5a1f}

/* Back links */
.v6-back{margin:-8px 0 14px;display:block}
.v6-back .text-btn,.v6-streets-back{gap:5px;min-height:36px}
.v6-back .icon,.v6-streets-back .icon,.v6-step .icon,.v6-venue-go .icon,.v6-row>.icon{width:16px;height:16px}

/* Directory filters and venue cards */
.v6-filter-top{display:flex;gap:10px}
.v6-filter-top .search{flex:1}
.v6-filter-toggle{display:none}
.v6-count{background:var(--navy);color:#fff;border-radius:10px;font-size:11px;min-width:20px;height:20px;display:inline-grid;place-items:center;padding:0 6px}
.ni-filter-grid.v6-four{grid-template-columns:repeat(4,minmax(0,1fr)) auto}
.v6-venue{display:flex;flex-direction:column;gap:6px;padding:20px;color:var(--ink);transition:border-color .15s,box-shadow .15s}
.v6-venue:hover{border-color:#9cc6e4;box-shadow:0 8px 26px #102e5014}
.v6-venue-top{display:flex;justify-content:space-between;align-items:flex-start;gap:10px}
.v6-venue-name{font:750 16px/1.35 Manrope,'DM Sans',sans-serif;overflow-wrap:anywhere}
.v6-venue-addr{font-size:13px;color:var(--muted)}
.v6-venue-meta{display:grid;grid-template-columns:1fr 1fr;gap:10px 12px;margin:10px 0 6px;flex:1;align-content:start}
.v6-venue-meta span{font-size:14px;font-weight:600;min-width:0;overflow-wrap:anywhere}
.v6-venue-meta i{display:block;font-style:normal;font-weight:400;font-size:12px;color:var(--muted);margin-bottom:2px}
.v6-venue-go{display:flex;align-items:center;justify-content:space-between;border-top:1px solid var(--line);padding-top:12px;margin-top:6px;font-size:14px;font-weight:600;color:var(--accent)}
.badge.outline{color:#536b80}

/* Venue page */
.v6-facts{margin-bottom:22px}
.v6-fact-grid{grid-template-columns:repeat(4,minmax(0,1fr));margin:4px 0 20px}
.v6-fact-grid dd{font-size:16px;overflow-wrap:anywhere}
.v6-fact-grid .sub{font-weight:400}
.v6-actions{display:flex;gap:8px 18px;flex-wrap:wrap;align-items:center;border-top:1px solid #edf1f5;padding-top:16px}
.v6-actions .secondary{white-space:normal;text-align:left}
.v6-props{margin-bottom:22px;scroll-margin-top:14px}
.v6-section-head{display:flex;justify-content:space-between;align-items:flex-end;gap:12px;margin:30px 0 14px}
.v6-section-head h2{font-size:22px;margin-top:5px}
.v6-letter{font-size:11px;font-weight:700;letter-spacing:1px;color:#6b8197;padding:8px 4px 0;grid-column:1/-1}
.v6-letter:first-child{padding-top:0}
.street-choice{color:var(--ink)}
.street-choice:hover{border-color:#9cc6e4}
.v6-streets-back{display:none;margin-bottom:8px}
.v6-regroup{font-size:12px;padding:0 23px 14px;line-height:1.6}
.v6-addr-table tbody th{background:none;border:0;border-bottom:1px solid #e8eef3;text-transform:none;letter-spacing:0;font-size:14px;font-weight:700;color:var(--ink);white-space:normal;padding:15px 19px;width:170px;overflow-wrap:anywhere;vertical-align:middle}
.v6-addr-table tbody tr:last-child th{border-bottom:0}
.v6-addr-table .v6-addr{font-size:13px;overflow-wrap:anywhere}
.v6-addr-table .v6-box{width:110px}
.v6-step{gap:12px}
.v6-step .text-btn{font-size:13px;min-width:0;white-space:normal;text-align:left}
.v6-step .text-btn:last-child{text-align:right;margin-left:auto}
.v6-source{margin-top:22px;overflow:visible}
.v6-source summary{cursor:pointer;padding:18px 23px;font:700 16px Manrope,'DM Sans',sans-serif;border-radius:8px}
.v6-source[open] summary{padding-bottom:10px}
.v6-source p{font-size:14px;color:var(--ink);margin-bottom:10px}
.v6-source .ni-source-note{color:var(--muted)}
.v6-source a{text-decoration:underline;text-underline-offset:3px}

/* Overview rows and data-kind legend */
.v6-rows{border-top:1px solid var(--line)}
.v6-row{display:flex;align-items:center;gap:12px;padding:15px 23px;border-bottom:1px solid #e8eef3;color:var(--ink)}
.v6-row:last-child{border-bottom:0}
.v6-row:hover{background:#f6fafe}
.v6-row>span:first-child{flex:1;min-width:0}
.v6-row strong{font-size:15px;overflow-wrap:anywhere}
.v6-row>.icon{color:#86a4bc}
.v6-kinds{margin-bottom:8px}
.v6-kinds .check-row>span{flex-wrap:wrap;gap:6px 10px;color:var(--muted);font-size:13px}
.v6-kinds .check-row b{font-size:12px;color:var(--muted);font-weight:600;white-space:nowrap;margin-left:12px}
.stat-value{overflow-wrap:anywhere}
.entry-form .form-field select{height:49px;background:#f9fbfd}
.ni-pagination .secondary{min-width:104px}
.empty .icon{color:#86a4bc;width:26px;height:26px}

@media(max-width:1250px){.ni-filter-grid.v6-four{grid-template-columns:1fr 1fr}
.v6-fact-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}

@media(max-width:760px){
.v6-nav-label{display:none}
.v6-tag{display:none}
nav a>span{flex:none}
.v6-back{margin:-6px 0 8px}
.v6-filter-toggle{display:inline-flex;min-height:44px}
.ni-filter-grid,.ni-filter-grid.v6-four{display:none;grid-template-columns:1fr}
.ni-filter-grid.open{display:grid}
.ni-filter-grid select{min-height:44px}
.page-title p{max-width:none}
.v6-venue{padding:15px 16px;gap:4px}
.v6-venue-meta{display:flex;flex-wrap:wrap;gap:2px 0;margin:6px 0 0;font-size:12px}
.v6-venue-meta span{font-size:12px;font-weight:500;color:var(--muted)}
.v6-venue-meta span+span::before{content:"·";margin:0 6px}
.v6-venue-meta i{display:inline;margin:0 4px 0 0;font-size:12px}
.v6-venue-meta span:nth-child(1) i,.v6-venue-meta span:nth-child(2) i{display:none}
.v6-venue-go{display:none}
.v6-venue-top .badge{font-size:11px;padding:3px 6px}
.station-grid{gap:10px}
.v6-fact-grid{grid-template-columns:1fr 1fr;gap:14px}
.v6-fact-grid dd{font-size:14px}
.v6-actions{flex-direction:column;align-items:stretch}
.v6-actions .secondary{text-align:center}
.v6-section-head{margin-top:24px}
.v6-section-head h2{font-size:19px}
/* Street list and address list become two steps */
.v6-layout[data-pane=detail] .public-directory{display:none}
.v6-layout[data-pane=list] .public-addresses{display:none}
.v6-layout .public-directory .street-list{max-height:none;overflow:visible;grid-template-columns:1fr}
.v6-layout .street-choice{display:flex;justify-content:space-between;align-items:center;gap:10px;min-height:48px;padding:10px 13px}
.v6-layout .street-choice strong{font-size:14px;overflow-wrap:anywhere}
.v6-layout .street-choice span{white-space:nowrap}
.v6-streets-back{display:flex}
.public-addresses .panel-head .eyebrow{display:block}
.role-control>span:first-child{white-space:nowrap}
.v6-regroup{padding-inline:18px}
.v6-addr-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
.v6-addr-table tbody tr{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:3px 10px;padding:12px 16px;border-bottom:1px solid #e8eef3}
.v6-addr-table tbody tr:last-child{border-bottom:0}
.v6-addr-table tbody th,.v6-addr-table tbody td{padding:0;border:0;width:auto}
.v6-addr-table tbody th{font-size:15px}
.v6-addr-table .v6-box{grid-column:2;grid-row:1;width:auto}
.v6-addr-table .v6-addr{grid-column:1/-1;font-size:12px}
.v6-step{flex-wrap:nowrap}
.v6-source summary{padding:16px 18px;font-size:15px}
.v6-row{padding:13px 16px;gap:8px}
.v6-row .badge{font-size:11px;padding:3px 6px}
.v6-row>.icon{display:none}
.ni-geo-table{min-width:0}
.ni-geo-table th,.ni-geo-table td{padding:10px 8px}
.ni-geo-table th:first-child,.ni-geo-table td:first-child{padding-left:16px}
.ni-geo-table td{font-size:13px;overflow-wrap:anywhere}
.ni-geo-table .text-btn{white-space:normal;text-align:right;font-size:13px}
.v6-kinds .check-row{align-items:flex-start}
.topbar .role-control{min-width:0}
}

/* Version 7: council and source tables */
.v6-council-table tbody th{background:none;border:0;border-bottom:1px solid #e8eef3;text-transform:none;letter-spacing:0;font-size:14px;font-weight:600;color:var(--ink);white-space:normal;padding:13px 19px}
.v6-council-table tbody tr:last-child th{border-bottom:0}
.v6-council-table code{font-size:12px;color:var(--muted)}
@media(max-width:760px){
.v6-council-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
.v6-council-table tbody tr{display:flex;flex-wrap:wrap;gap:2px 14px;padding:12px 16px;border-bottom:1px solid #e8eef3;align-items:baseline}
.v6-council-table tbody th{flex-basis:100%;padding:0;border:0;font-size:14px}
.v6-council-table tbody td{padding:0;border:0;font-size:12px;color:var(--muted)}
.v6-council-table td:nth-child(2)::before{content:"DEAs "}
.v6-council-table td:nth-child(3)::before{content:"Places "}
.v6-council-table td:nth-child(4)::before{content:"Boxes "}
.v6-council-table td:nth-child(5)::before{content:"Properties "}
.v6-council-table td:last-child{margin-left:auto}
.ni-geo-table th:nth-child(4),.ni-geo-table td:nth-child(4){display:none}
}

/* Version 8: walking list and canvass returns */
.v6-chip{display:inline-flex;align-items:center;gap:6px;font-size:12px;font-weight:600;color:var(--ink);white-space:nowrap}
.v6-chip i{width:11px;height:11px;border-radius:50%;background:#c3ced8;flex-shrink:0}
.v6-green i{background:#1f9d57}.v6-orange i{background:#f08a1c}.v6-red i{background:#d6352b}
.v6-int{min-width:150px}
.v6-int .text-btn{font-size:13px;min-height:28px;margin-left:10px}
.v6-int .v6-chip+.text-btn,.v6-int .sub+.text-btn{margin-left:10px}
.v6-int>.text-btn:first-child{margin-left:0}
.v6-int .sub{max-width:240px;overflow-wrap:anywhere}
.v6-walk-start{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:14px}
.v6-walk-exit{display:flex;gap:5px;min-height:36px;margin-bottom:8px}
.v6-walk-exit .icon{width:16px;height:16px}
.v6-door{font-size:34px;letter-spacing:-1px;overflow-wrap:anywhere}
.v6-walk-progress{margin:0 23px 20px;border-radius:8px}
.v6-walk{max-width:560px}
.v6-intent{border-left:10px solid #c3ced8!important;min-height:50px;font-weight:600}
.v6-intent[data-value=green]{border-left-color:#1f9d57!important}
.v6-intent[data-value=orange]{border-left-color:#f08a1c!important}
.v6-intent[data-value=red]{border-left-color:#d6352b!important}
.v6-walk-actions{display:flex;gap:10px;margin-top:18px}
.v6-walk-actions .primary{flex:1;min-height:50px;font-size:15px}
.v6-walk-actions .secondary{min-height:50px}
.v6-tally{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-bottom:8px}
.v6-tally>div{border:1px solid var(--line);border-radius:8px;padding:12px}
.v6-tally b{display:block;font:800 26px Manrope,'DM Sans',sans-serif}
.check-row .v6-chip{font-size:14px}
@media(max-width:760px){
.v6-addr-table .v6-int{grid-column:1/-1;min-width:0;display:flex;align-items:center;flex-wrap:wrap;gap:4px 10px;margin-top:4px}
.v6-int .text-btn{margin-left:0;min-height:36px}
.v6-walk-progress{margin-inline:18px}
.v6-door{font-size:30px}
.v6-tally{grid-template-columns:1fr 1fr}
.v6-walk-actions .secondary{flex:0 0 auto}
}
.public-addresses .panel-head h2.v6-door{font-size:32px}

/* Version 9: server mode (sign-in, users and access, shared returns) */
body:not(.ew-ready) #entry{visibility:hidden}
body.server-mode #role{display:none}
body.server-mode .role-control>span:first-child{color:var(--ink);font-weight:600;font-size:13px}
.ew-error{color:#b3261e;font-size:13px;min-height:20px;margin:0 0 4px}
.ew-form-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0 16px}
.ew-areas{border:1px solid var(--line);border-radius:8px;padding:16px;margin:0 0 18px}
.ew-areas legend{font-size:14px;font-weight:600;padding:0 6px}
.ew-chips{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:16px}
.ew-chip{display:inline-flex;align-items:center;gap:6px;background:#e9f3fd;color:#22557c;border-radius:16px;padding:5px 6px 5px 12px;font-size:13px;font-weight:600}
.ew-chip button{border:0;background:#cfe3f4;border-radius:50%;width:22px;height:22px;line-height:1;font-size:15px;color:#22557c}
.ew-check{display:flex;align-items:center;gap:8px;font-size:14px;margin-bottom:14px}
.ew-check input{width:18px;height:18px}
.ew-editor .dialog-actions{flex-wrap:wrap}
.ew-off th,.ew-off td{opacity:.55}
.ew-issued code{font-size:16px;font-weight:700;background:#fff;border:1px solid #efe0bf;border-radius:4px;padding:2px 8px;user-select:all}
.ew-user-table td{vertical-align:top;font-size:13px}
.v6-by{font-size:11px}
.v6-tally-panel .v6-tally{margin:0}
a.primary{text-decoration:none}
@media(max-width:760px){
.ew-form-grid{grid-template-columns:1fr}
.ew-user-table td:nth-child(n)::before,.ew-area-table td:nth-child(n)::before{content:none}
.ew-user-table tbody td{flex-basis:100%}
.ew-area-table td:nth-child(3)::before{content:"Green "}.ew-area-table td:nth-child(4)::before{content:"Orange "}.ew-area-table td:nth-child(5)::before{content:"Red "}.ew-area-table td:nth-child(6)::before{content:"Comment only "}
.ew-area-table td:last-child,.ew-user-table td:last-child{margin-left:0}
}

/* Version 10: colour dots, voter type, polling-station returns */
.v6-chip i{width:14px;height:14px}
.v6-dot{display:inline-block;width:24px;height:24px;border-radius:50%;background:#c3ced8;margin-right:12px;vertical-align:-2px;box-shadow:inset 0 0 0 2px #ffffff80}
.v6-dot.v6-green{background:#1f9d57}.v6-dot.v6-orange{background:#f08a1c}.v6-dot.v6-red{background:#d6352b}
.v6-cat{font-weight:600;color:var(--ink)}
.ew-bar{display:flex;height:12px;border-radius:6px;overflow:hidden;background:#e9eff4;min-width:120px}
.ew-bar i{display:block;height:100%}
.ew-bar .v6-green{background:#1f9d57}.ew-bar .v6-orange{background:#f08a1c}.ew-bar .v6-red{background:#d6352b}
.ew-bar-cell{min-width:160px}
.ew-place-table td{font-weight:600}
.ew-place-table td .sub{font-weight:400}
.ew-place-table tr.ew-on th,.ew-place-table tr.ew-on td{background:#eef6fd}
.ew-selected{margin-bottom:22px;border-color:#9cc6e4;scroll-margin-top:14px}
.ew-selected .ew-bar{height:16px;margin:16px 0 4px}
.ew-selected-actions{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end}
.ew-sub{margin:20px 0 10px}
.ew-cats{display:grid;grid-template-columns:1fr 1fr;gap:0 28px;margin-bottom:14px}
.ew-cats>div{display:flex;align-items:center;gap:10px;border-top:1px solid #edf1f5;padding:10px 0}
.ew-cats .v6-chip{flex:1;white-space:normal;font-size:13px}
.ew-cats b{font:800 18px Manrope,'DM Sans',sans-serif;min-width:34px;text-align:right}
.ew-cats .small-label{min-width:38px;text-align:right}
.ni-filter-grid .ew-check{margin:0;align-self:center;grid-column:1/-1}
.ew-selected .v6-tally{margin-bottom:0}
@media(max-width:760px){
.ew-cats{grid-template-columns:1fr}
.ew-place-table td:nth-child(n)::before{content:none}
.ew-place-table td:nth-child(2)::before{content:"Recorded "}.ew-place-table td:nth-child(3)::before{content:"Green "}.ew-place-table td:nth-child(4)::before{content:"Amber "}.ew-place-table td:nth-child(5)::before{content:"Red "}
.ew-place-table td .sub{display:inline;margin-left:4px}
.ew-place-table .ew-bar-cell{flex-basis:100%;min-width:0}
.ew-selected .panel-head{flex-direction:column;align-items:stretch}
.v6-dot{width:22px;height:22px;margin-right:9px}
}
.ni-filter-grid label.ew-check{display:flex;font-size:14px}

/* Version 12: blue = leaflet posted */
.v6-blue i,.v6-dot.v6-blue{background:#2f7fd1}
.v6-intent[data-value=blue]{border-left-color:#2f7fd1!important}
.v6-tally{grid-template-columns:repeat(auto-fit,minmax(130px,1fr))}
.v6-chip{white-space:normal}
@media(max-width:760px){.ew-place-table td:nth-child(6)::before{content:"Leaflet only "}.v6-tally{grid-template-columns:1fr 1fr}}

/* Version 13: CanvassOwl name and owl logo */
.owl{width:44px;height:44px;image-rendering:pixelated;flex-shrink:0}
.brand-name{font-size:21px;font-weight:800;letter-spacing:-.6px;color:#fff}
.brand .brand-name strong{font-weight:800;color:#a8d9f6;margin-left:0}
.entry-brand .owl{width:60px;height:60px}
.entry-brand .brand-name{font-size:27px}
@media(max-width:1100px){.owl{width:38px;height:38px}.brand-name{font-size:18px}}
@media(max-width:760px){.owl{width:32px;height:32px}.brand-name{font-size:18px}.entry-brand .owl{width:44px;height:44px}.entry-brand .brand-name{font-size:22px}}
/* Owl with flag is taller than wide (16 x 23 pixels) */
.owl{width:39px;height:56px}
.entry-brand .owl{width:50px;height:72px}
@media(max-width:1100px){.owl{width:33px;height:48px}}
@media(max-width:760px){.owl{width:25px;height:36px}.entry-brand .owl{width:36px;height:52px}}

/* Version 14: walking-list set-up */
.v6-choice{border:0;padding:0;margin:0 0 18px;display:grid;gap:8px}
.v6-choice legend{font-size:14px;margin-bottom:7px;padding:0}
.v6-choice label{display:flex;align-items:center;gap:12px;border:1px solid #ccd9e4;border-radius:6px;padding:12px 14px;cursor:pointer;background:#fff}
.v6-choice label:has(input:checked){border-color:#5aa6d8;background:#eef6fd}
.v6-choice input{width:20px;height:20px;accent-color:#102e50;flex-shrink:0}
.v6-choice strong{display:block;font-size:15px}
.v6-choice small{font-size:12px;color:var(--muted)}
@media(max-width:760px){.v6-walk-actions .secondary{padding-inline:12px}}

/* ============================================================================
   Version 15: tightened styling. Flat surfaces, generous space, confident type,
   pill buttons. Colours and typefaces unchanged (navy, light blue, Manrope/DM Sans).
   ============================================================================ */
:root{--line:#e4e9ef;--bg:#ffffff;--soft:#f4f7fa;--radius:14px;--shadow:none}
body{background:#fff;font-size:15px;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
h1{font-size:40px;letter-spacing:-1.6px;line-height:1.08;font-weight:800}
h2{font-size:21px;letter-spacing:-.6px;font-weight:800}
h3{font-weight:800;letter-spacing:-.2px}
.eyebrow{font-size:11px;letter-spacing:1.6px;color:#6f8396}
main{padding:44px 44px 36px;max-width:1380px}
.page-title{margin-bottom:32px;align-items:flex-end}
.page-title h1{margin:10px 0 12px}
.page-title p{font-size:15px;max-width:62ch}

/* Buttons: pills */
.primary,.secondary{border-radius:999px;min-height:46px;padding:11px 22px;font-weight:700;font-size:14px;letter-spacing:-.1px;transition:background .15s,border-color .15s,color .15s}
.primary{background:var(--navy);border-color:var(--navy)}
.primary:hover{background:#0a2038;border-color:#0a2038}
.secondary{border:1.5px solid #cdd7e1;background:#fff}
.secondary:hover{border-color:var(--navy);background:#fff}
.text-btn{font-weight:700;text-underline-offset:4px}
.text-btn:hover{text-decoration:underline}
button:disabled{opacity:.4}

/* Surfaces: flat, hairline or tinted, no shadows */
.panel{border:1px solid var(--line);border-radius:var(--radius);box-shadow:none}
.panel-head{padding:26px 28px 18px}
.panel-body{padding:0 28px 28px}
.stat{border:0;background:var(--soft);border-radius:var(--radius);box-shadow:none;padding:24px 24px 22px}
.stat-label{font-size:12px;font-weight:600;letter-spacing:.2px}
.stat-value{font-size:40px;letter-spacing:-1.6px;margin:10px 0 6px;line-height:1}
.stats{gap:14px;margin-bottom:28px}
.notice{border:0;background:#eef6fc;border-radius:12px;padding:16px 20px;margin-bottom:28px;color:#274d6b}
.notice.amber{background:#fff5e2;color:#7a5417}
.badge{border-radius:999px;padding:5px 11px;font-size:11px;font-weight:700;letter-spacing:.2px}
.badge.outline{border-color:#d5dde6}
.grid-two{gap:20px;margin-bottom:20px}
.empty{padding:64px 24px}
.empty h3{font-size:18px}

/* Forms */
.search{border:1.5px solid #cdd7e1;border-radius:999px;padding:0 18px;min-height:48px}
.search:focus-within{outline:0;border-color:var(--navy);box-shadow:0 0 0 3px #a8d9f680}
select.filter,.form-field select,.form-field input,.form-field textarea{border:1.5px solid #cdd7e1;border-radius:10px;min-height:46px;font-size:15px}
.form-field textarea{min-height:96px;padding:12px}
select.filter:focus,.form-field select:focus,.form-field input:focus,.form-field textarea:focus{outline:0;border-color:var(--navy);box-shadow:0 0 0 3px #a8d9f680}
.form-field{font-weight:600;font-size:13px;gap:8px;margin-bottom:20px}
.ni-filter-grid label{font-size:13px;font-weight:600}
.ni-filters{padding:22px 24px;margin-bottom:24px}
.toolbar{padding:20px 22px;border-bottom:0;gap:10px}
.public-filter{margin-bottom:24px}

/* Tables */
th{background:transparent;border-top:0;border-bottom:1px solid var(--line);font-size:10.5px;letter-spacing:1px;padding:14px 22px;color:#7b8ea0}
td{padding:17px 22px;border-bottom:1px solid #eef2f5}
tbody tr:hover{background:#f8fafc}
.v6-addr-table tbody th,.v6-council-table tbody th{padding:17px 22px;border-bottom:1px solid #eef2f5}
.table-foot{padding:14px 22px;border-top:1px solid var(--line)}
.check-row{border-top:1px solid #eef2f5;padding:14px 0}

/* Shell */
.sidebar{padding:30px 16px}
nav a{border-radius:999px;padding:12px 18px;font-weight:600}
nav a:hover{background:#17385a}
nav a.active{background:#a8d9f6;color:#0b2440}
.v6-nav-label{margin:20px 18px 4px;color:#6f8fad}
.topbar{height:68px;border-bottom:1px solid var(--line);padding:0 44px}
.demo-banner{background:#fff;border-bottom:1px solid var(--line);padding:10px 44px;color:#5c7286}
body[data-kind=synthetic] .demo-banner,body[data-kind=hypothetical] .demo-banner{background:#fff8ea}
.avatar{background:var(--navy);color:#fff}
footer{padding:20px 44px 30px;border-top:1px solid var(--line);margin-top:20px}
.sidebar-foot p{font-size:16px;font-weight:700;letter-spacing:-.3px}

/* Directory, venue page, streets */
.station-grid{gap:16px}
.v6-venue{border-radius:var(--radius);padding:24px;gap:8px}
.v6-venue:hover{border-color:var(--navy);box-shadow:none}
.v6-venue-name{font-size:17px;font-weight:800;letter-spacing:-.3px}
.v6-venue-go{border-top:0;padding-top:4px;color:var(--navy);font-weight:700}
.v6-row{padding:18px 28px}
.v6-fact-grid dd{font-size:17px;font-weight:700;letter-spacing:-.2px}
.detail-grid dt{font-size:11px;letter-spacing:.4px;text-transform:uppercase;color:#7b8ea0;margin-bottom:6px}
.v6-section-head h2{font-size:26px;letter-spacing:-.9px}
.street-choice{border:1px solid var(--line);border-radius:12px;padding:15px 16px}
.street-choice:hover{border-color:var(--navy)}
.street-choice.selected{background:#fff;border:2px solid var(--navy);padding:14px 15px}
.street-list{padding:0 16px 18px}
.v6-letter{color:#7b8ea0}
.v6-source{border-radius:var(--radius)}
.v6-back .text-btn,.v6-streets-back,.v6-walk-exit{color:var(--navy)}

/* Walking list */
.v6-door{font-size:52px;letter-spacing:-2px;line-height:1.05}
.public-addresses .panel-head h2.v6-door{font-size:48px}
.v6-dot{width:26px;height:26px;margin-right:14px;vertical-align:4px}
.v6-walk{max-width:600px}
.v6-walk-actions{gap:10px;margin-top:22px}
.v6-walk-actions .primary,.v6-walk-actions .secondary{min-height:54px;font-size:15px}
.v6-intent{border-left-width:12px!important;min-height:54px;font-weight:700;font-size:16px!important}
.v6-walk-progress{height:4px;margin:0 28px 24px}
.progress span{background:var(--navy)}
.v6-choice label{border:1.5px solid #cdd7e1;border-radius:12px;padding:14px 16px}
.v6-choice label:has(input:checked){border:2px solid var(--navy);background:#fff;padding:13.5px 15.5px}
.v6-tally>div,.ew-cats>div{border-color:#eef2f5}
.v6-tally>div{border:0;background:var(--soft);border-radius:12px;padding:16px}
.v6-tally b{font-size:30px;letter-spacing:-1px;line-height:1.1;margin-bottom:4px}
.ew-selected{border:2px solid var(--navy)}
.ew-bar{height:10px;border-radius:999px}
.ew-chip{background:var(--soft);color:var(--navy)}
.ew-areas{border-radius:12px;border-color:var(--line)}

/* Entry */
.entry-intro>h1{font-size:60px;letter-spacing:-2.6px;line-height:1.02}
.entry-copy h2{font-size:34px;letter-spacing:-1.3px}
.entry-form input,.entry-form .form-field select{height:52px;background:#fff}
.entry-primary{min-height:54px;font-size:15px}
.entry-area{border:0;background:#143657;border-radius:var(--radius)}
dialog{border:0;border-radius:18px;padding:34px}
#toast{border-radius:999px;padding:14px 26px;font-weight:600}

@media(max-width:1100px){main{padding:34px 28px}.topbar,.demo-banner{padding-inline:28px}h1{font-size:34px}footer{padding-inline:28px}}
@media(max-width:760px){
body{font-size:15px}
h1,.page-title h1{font-size:30px;letter-spacing:-1.1px}
main{padding:26px 18px 22px}
.page-title{margin-bottom:24px}
.page-title p{font-size:14px}
.panel-head{padding:20px 20px 14px}.panel-body{padding:0 20px 22px}
.stat{padding:18px}.stat-value{font-size:32px}
.stats{gap:10px;margin-bottom:20px}
.sidebar{padding:16px 18px 0}
nav{margin:14px -18px 0;padding:0 10px;gap:2px}
nav a{border-radius:0;background:transparent!important;color:#b9cde0;padding:12px 12px 13px;border-bottom:3px solid transparent;font-weight:600}
nav a.active{color:#fff;border-bottom-color:#a8d9f6}
.topbar{height:auto;padding:8px 18px}
.demo-banner{padding:9px 18px}
footer{padding:16px 18px 26px}
.notice{padding:14px 16px;margin-bottom:20px}
th,td{padding:12px 16px}
.v6-venue{padding:16px 18px}
.v6-row{padding:15px 20px}
.ni-filters{padding:16px}
.toolbar{padding:16px}
.v6-section-head h2{font-size:22px}
.v6-door,.public-addresses .panel-head h2.v6-door{font-size:44px}
.v6-walk-progress{margin-inline:20px}
.v6-walk-actions .primary,.v6-walk-actions .secondary{min-height:56px}
.v6-walk-actions .secondary{padding-inline:16px}
.entry-copy h2{font-size:28px}
.entry-intro>h1{font-size:36px}
.v6-addr-table tbody tr{padding:14px 20px}
.v6-addr-table tbody th,.v6-addr-table tbody td,.v6-council-table tbody th,.v6-council-table tbody td{padding:0;border:0}
.v6-council-table tbody tr{padding:14px 20px}
.primary,.secondary{min-height:46px}
.page-title>.secondary,.page-title>.primary{font-size:13px;padding:9px 16px;min-height:42px;margin-top:0}
}
.avatar{flex-shrink:0}
@media(max-width:760px){.role-control select{max-width:170px}}

/* Version 16: in progress */
.v6-prog{padding:0 28px 26px;display:grid;gap:26px}
.v6-prog-head{display:flex;justify-content:space-between;align-items:flex-end;gap:14px;color:var(--ink);margin-bottom:10px}
.v6-prog-head strong{font:800 18px/1.25 Manrope,'DM Sans',sans-serif;letter-spacing:-.4px;overflow-wrap:anywhere}
.v6-prog-head b{font:800 26px/1 Manrope,'DM Sans',sans-serif;letter-spacing:-1px}
.v6-prog-head:hover strong{text-decoration:underline;text-underline-offset:4px}
.v6-prog-place .progress{height:6px;border-radius:999px}
.v6-prog-streets{list-style:none;margin:12px 0 0;padding:0}
.v6-prog-streets a{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(70px,1fr) auto;align-items:center;gap:14px;padding:12px 0;border-bottom:1px solid #eef2f5;color:var(--ink);font-size:14px}
.v6-prog-streets li:last-child a{border-bottom:0}
.v6-prog-streets a:hover .v6-prog-name{text-decoration:underline;text-underline-offset:4px}
.v6-prog-name{font-weight:700;overflow-wrap:anywhere}
.v6-prog-bar{height:6px;border-radius:999px;background:#e9eff4;overflow:hidden}
.v6-prog-bar i{display:block;height:100%;background:#71b6e6;border-radius:999px}
.v6-prog-count{font-size:13px;color:var(--muted);white-space:nowrap;min-width:64px;text-align:right}
.v6-prog-note{margin-top:10px}
@media(max-width:760px){.v6-prog{padding:0 20px 22px;gap:22px}.v6-prog-streets a{grid-template-columns:minmax(0,1fr) 60px auto;gap:10px;padding:13px 0}.v6-prog-head b{font-size:22px}}

/* Version 17: simpler layouts */
.v6-note{font-size:13px;color:var(--muted);margin:0 0 24px;line-height:1.6}
.v6-note a{text-decoration:underline;text-underline-offset:3px}
.no-banner .demo-banner{display:none}
body.server-mode .demo-banner{background:#fff5e2;color:#7a5417}
body.server-mode .demo-banner #about{display:none}
.crumb b{font-weight:700;font-size:14px}
.v6-source .v6-fact-grid{margin:6px 0 18px}
.v6-source .v6-actions{margin-bottom:18px;padding-bottom:4px}
.v6-props{margin-top:0}
.page-title p{font-size:15px}
.v6-tally-panel .panel-head{align-items:flex-start}
@media(max-width:760px){.banner-always{display:inline}.v6-note{margin-bottom:18px}}

/* Version 18: two-step door record (colour, then detail) */
.v6-ask{font:800 18px/1.3 Manrope,'DM Sans',sans-serif;letter-spacing:-.3px;color:var(--ink);margin:4px 0 16px;display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.v6-traffic{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.v6-big{border:0;border-radius:18px;min-height:96px;color:#fff;font:800 22px Manrope,'DM Sans',sans-serif;letter-spacing:-.4px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;transition:transform .08s,filter .15s}
.v6-big:hover{filter:brightness(1.06)}
.v6-big:active{transform:scale(.98)}
.v6-big.v6-green{background:#1f9d57}.v6-big.v6-orange{background:#d4740a}.v6-big.v6-red{background:#d6352b}
.v6-big.is-current{box-shadow:0 0 0 4px #fff,0 0 0 7px var(--navy)}
.v6-big small{font:600 12px 'DM Sans',sans-serif;letter-spacing:.3px;opacity:.9}
.v6-leaflet{margin-top:14px;width:100%;border:1.5px solid #cdd7e1;background:#fff;border-radius:999px;min-height:50px;font-weight:700;font-size:14px;color:var(--ink);display:flex;align-items:center;justify-content:center;gap:10px}
.v6-leaflet i{width:14px;height:14px;border-radius:50%;background:#2f7fd1}
.v6-leaflet.is-current{border:2px solid var(--navy)}
.v6-leaflet:hover{border-color:var(--navy)}
.v6-walk>.small-label{margin-top:14px}
.v6-change{min-height:32px;font-size:14px}
.v6-ask .v6-chip{font-size:18px;gap:10px}
.v6-ask .v6-chip i{width:20px;height:20px}
@media(max-width:760px){.v6-traffic{grid-template-columns:1fr;gap:10px}.v6-big{min-height:76px;font-size:22px;flex-direction:row;gap:12px}.v6-big small{font-size:12px}}

/* Version 19: Headquarters reset */
.v6-reset-line{padding:4px 22px 14px}
.v6-reset-place{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin:28px 0 0;padding:18px 0 0;border-top:1px solid var(--line)}
.v6-danger{color:#b3261e}
.secondary.v6-danger{border-color:#e7b9b5}
.secondary.v6-danger:hover{border-color:#b3261e;background:#fff}
.ew-reset h2{font-size:26px;margin-top:4px}
.ew-phrase{font-family:ui-monospace,Menlo,monospace;background:#fbeceb;color:#8c1d16;padding:2px 6px;border-radius:4px;letter-spacing:.3px;word-break:break-word}
.ew-reset input{font-family:ui-monospace,Menlo,monospace;letter-spacing:.3px}
.primary.ew-danger-btn{background:#b3261e;border-color:#b3261e}
.primary.ew-danger-btn:hover{background:#8c1d16;border-color:#8c1d16}

/* Version 20: contact history */
.v6-contacts .text-btn{min-height:28px;font-size:13px;margin-left:4px}
.v6-hist-link{min-height:0;padding:0;font-size:12px}
.v6-hist-tally{margin:14px 0 6px}
.v6-history{list-style:none;margin:10px 0 0;padding:0;max-height:52vh;overflow:auto;border-top:1px solid var(--line)}
.v6-history li{display:grid;grid-template-columns:150px 1fr auto;gap:12px;align-items:start;padding:12px 2px;border-bottom:1px solid var(--line);font-size:14px}
.v6-h-when{color:var(--muted,#5b6b7b);font-size:13px}
.v6-h-what{display:flex;flex-wrap:wrap;gap:6px 10px;align-items:center}
.v6-h-what .sub{flex-basis:100%;margin:0}
.v6-h-by{font-size:13px;color:var(--muted,#5b6b7b);text-align:right}
.v6-h-update,.v6-h-note,.v6-h-cleared{opacity:.72}
.v6-h-reset{background:#fbeceb}
@media(max-width:760px){.v6-history li{grid-template-columns:1fr;gap:4px}.v6-h-by{text-align:left}}
.v6-tally.v6-hist-tally{grid-template-columns:repeat(3,1fr);gap:8px}
.ew-title-actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center}
@media(max-width:760px){.ew-title-actions{width:100%}.ew-title-actions a{flex:1 1 auto;text-align:center}}

/* Version 21: campaigns, last answers, do not canvass, data requests */
.ew-campaign{display:none;align-items:center;gap:10px;margin-right:auto;margin-left:18px;padding:6px 14px 6px 10px;border:1px solid var(--line);border-radius:999px;background:#fff;font-size:13px;line-height:1.2;max-width:min(46vw,420px)}
.server-mode .ew-campaign{display:inline-flex}
.ew-campaign>i{width:10px;height:10px;border-radius:50%;background:#1f9d57;flex:none}
.ew-campaign.ew-outreach>i{background:#2f7fd1}
.ew-campaign b{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--ink)}
.ew-campaign .sub{display:block;color:var(--muted,#5b6b7b);font-size:12px}
.v6-dot.v6-was{background:transparent!important;box-shadow:inset 0 0 0 4px #c3ced8}
.v6-dot.v6-was.v6-green{box-shadow:inset 0 0 0 4px #1f9d57}.v6-dot.v6-was.v6-orange{box-shadow:inset 0 0 0 4px #f08a1c}.v6-dot.v6-was.v6-red{box-shadow:inset 0 0 0 4px #d6352b}
.v6-chip.v6-was i{background:transparent!important;box-shadow:inset 0 0 0 2.5px #c3ced8}
.v6-chip.v6-was.v6-green i{box-shadow:inset 0 0 0 2.5px #1f9d57}.v6-chip.v6-was.v6-orange i{box-shadow:inset 0 0 0 2.5px #f08a1c}.v6-chip.v6-was.v6-red i{box-shadow:inset 0 0 0 2.5px #d6352b}
.v6-was-line{color:var(--muted,#5b6b7b)}
.v6-last{display:flex;gap:14px;align-items:flex-start;margin:14px 22px 0;padding:14px 16px;border-radius:14px;background:#f3f6f9;border-left:5px solid #c3ced8}
.v6-last-green{border-left-color:#1f9d57;background:#eef8f2}.v6-last-orange{border-left-color:#f08a1c;background:#fdf4ea}.v6-last-red{border-left-color:#d6352b;background:#fcefee}
.v6-last .v6-dot{margin:2px 0 0;flex:none;width:22px;height:22px}
.v6-last strong{display:block;font:800 16px/1.3 Manrope,'DM Sans',sans-serif;color:var(--ink)}
.v6-last span{display:block;font-size:13px;color:var(--muted,#5b6b7b);margin-top:2px}
.v6-last em{display:block;font-style:normal;font-size:12px;font-weight:700;letter-spacing:.3px;margin-top:6px;color:var(--navy)}
#detail .v6-last{margin:12px 0 0}
.v6-dnc{margin:0 0 12px;padding:14px 16px;border-radius:14px;background:#fcefee;color:#8c1d16;border-left:5px solid #b3261e;font-size:15px}
.v6-chip.v6-dnc-chip{color:#8c1d16}.v6-chip.v6-dnc-chip i{background:#b3261e;border-radius:3px}
.v6-dnc-link{display:block;margin:14px auto 0;font-size:13px;color:var(--muted,#5b6b7b);min-height:36px}
.v6-hist-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:16px}
.ew-explain{margin:0 0 18px;padding-left:20px;line-height:1.55}
.ew-explain li{margin-bottom:6px}
.ew-form-grid.ew-three{grid-template-columns:repeat(3,1fr)}
.ew-form-grid.ew-three .small-label{display:block;margin-top:6px;font-weight:400}
.ew-next{border:2px solid #e7b9b5;margin-top:22px}
#main>.panel+.panel,#main>.panel+.grid-two{margin-top:22px}
.ew-data-grid{margin-top:22px}
@media(max-width:900px){.ew-form-grid.ew-three{grid-template-columns:1fr}}
@media(max-width:760px){.ew-campaign{margin-left:8px;max-width:52vw;padding:5px 10px 5px 8px}.ew-campaign .sub{display:none}.v6-last{margin:12px 16px 0}}
@media(max-width:760px){.topbar{flex-wrap:wrap}.server-mode .ew-campaign{order:10;flex:1 1 100%;max-width:none;margin:4px 0 6px;border-radius:10px}.ew-campaign .sub{display:block}.v6-last{margin:14px 18px 4px}}

/* Version 21b: layout tidy */
.table-wrap{position:relative}
.v6-addr-table tbody th,.v6-addr-table td{vertical-align:top}
.v6-addr-table tbody th{width:96px}
.v6-addr-table .v6-int{min-width:250px;width:34%}
.v6-int .sub{max-width:none}
.v6-int-actions{display:flex;gap:18px;align-items:center;margin-top:4px}
.v6-int .v6-int-actions .text-btn{margin-left:0}
.v6-int .v6-chip{margin-bottom:2px}
.server-mode .topbar .role-control{min-width:0}
.server-mode .role-control>span:first-child{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ew-selected-actions{display:flex;flex-wrap:wrap;gap:10px}
@media(max-width:760px){.panel-head{flex-wrap:wrap}.ew-selected-actions{width:100%}.ew-selected-actions>*{flex:1 1 auto;white-space:normal;text-align:center}.v6-addr-table .v6-int{width:auto;min-width:0}.v6-int-actions{flex-basis:100%;gap:22px}}
.v6-walk{max-width:none}
.v6-dnc-link{display:inline-flex;margin:16px 0 0;padding:0}
#ewPlaceTable>.ni-count{padding:0 28px;margin:-4px 0 14px;font-size:13px;color:var(--muted)}
.stats:has(>.stat:nth-child(5)){grid-template-columns:repeat(5,1fr)}
.ew-place-table th,.ew-place-table td{padding-left:12px;padding-right:12px}
.ew-place-table th:first-child,.ew-place-table td:first-child,.ew-place-table tbody th{padding-left:28px;min-width:190px}
.ew-place-table .ew-bar-cell{min-width:110px}
@media(max-width:1100px){.stats:has(>.stat:nth-child(5)){grid-template-columns:repeat(3,1fr)}}
@media(max-width:760px){
#ewPlaceTable>.ni-count{padding:0 18px}
.stats:has(>.stat:nth-child(5)){grid-template-columns:1fr 1fr}.stats>.stat:nth-child(5):last-child{grid-column:1/-1}
.ew-place-table td:nth-child(7)::before{content:"Contacts "}.ew-place-table td:nth-child(8)::before{content:"To reconfirm "}.ew-place-table td.ew-bar-cell::before{content:none!important}
.ew-place-table th:first-child,.ew-place-table tbody th{padding-left:0;min-width:0}}
@media(max-width:760px){.v6-tally>div:last-child:nth-child(odd){grid-column:1/-1}}
.v6-tally.v6-hist-tally{grid-template-columns:repeat(3,1fr)!important}
.v6-tally.v6-hist-tally>div{grid-column:auto!important}
@media(max-width:760px){.v6-hist-actions>*{flex:1 1 100%;justify-content:center}}
@media(max-width:760px){nav.v6-back{display:block;margin:-6px 0 8px;padding:0;overflow:visible}
.page-title{flex-direction:column;align-items:stretch}.page-title p{max-width:none}.page-title>.primary,.page-title>.secondary{margin-top:6px;align-self:flex-start}.ew-title-actions{margin-top:4px}}
@media(max-width:760px){
.ew-card-table td:nth-child(n)::before{content:attr(data-label) " ";color:var(--muted);font-size:12px}
.ew-card-table td:not([data-label])::before{content:none}
.ew-card-table tbody td{flex-basis:100%}
.ew-user-table td:nth-child(4)::before{content:"Last sign-in ";color:var(--muted);font-size:12px}}
@media(max-width:760px){.ew-place-table td:nth-child(6)::before{content:"Contacts "}.ew-place-table td:nth-child(7)::before{content:"To reconfirm "}.ew-place-table td:nth-child(8)::before{content:none}}
/* Tablets: the address list uses the stacked card layout so the voting column is never cut off */
@media(min-width:761px) and (max-width:1100px){
nav a{font-size:13px;padding:11px 12px;gap:10px;white-space:nowrap}
.v6-addr-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
.v6-addr-table tbody tr{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:3px 10px;padding:14px 20px;border-bottom:1px solid #e8eef3}
.v6-addr-table tbody tr:last-child{border-bottom:0}
.v6-addr-table tbody th,.v6-addr-table tbody td{padding:0;border:0;width:auto}
.v6-addr-table tbody th{font-size:15px}
.v6-addr-table .v6-box{grid-column:2;grid-row:1;width:auto}
.v6-addr-table .v6-addr{grid-column:1/-1;font-size:12px}
.v6-addr-table .v6-int{grid-column:1/-1;min-width:0;width:auto;margin-top:6px}}

/* Version 22: purple (spoke, position unknown) and the saved confirmation */
.v6-purple i,.v6-dot.v6-purple{background:#7b3fc4}
.v6-leaflet.v6-unclear i{background:#7b3fc4}
.v6-leaflet.v6-unclear{margin-top:14px}
.v6-leaflet.v6-unclear+.v6-leaflet{margin-top:10px}
.v6-unclear-note{margin:2px 0 16px;line-height:1.5}
.v6-tally-panel .v6-tally{grid-template-columns:repeat(auto-fit,minmax(130px,1fr))}
.ew-selected .v6-tally{grid-template-columns:repeat(auto-fit,minmax(150px,1fr))}

.v6-saved{display:flex;flex-direction:column;align-items:center;text-align:center;padding-top:22px;padding-bottom:28px}
.v6-tick{width:84px;height:84px;margin:6px 0 14px;--tick:#1f9d57}
.v6-tick-orange{--tick:#d4740a}.v6-tick-red{--tick:#d6352b}.v6-tick-blue{--tick:#2f7fd1}.v6-tick-purple{--tick:#7b3fc4}
.v6-tick circle,.v6-tick path{fill:none;stroke:var(--tick);stroke-width:3.5;stroke-linecap:round;stroke-linejoin:round}
.v6-tick-ring{stroke-dasharray:183;stroke-dashoffset:183;transform:rotate(-90deg);transform-origin:50% 50%;animation:v6-draw .55s cubic-bezier(.65,0,.35,1) forwards}
.v6-tick-mark{stroke-dasharray:40;stroke-dashoffset:40;animation:v6-draw .35s .45s cubic-bezier(.65,0,.35,1) forwards}
@keyframes v6-draw{to{stroke-dashoffset:0}}
.v6-saved h2{font:800 30px/1.1 Manrope,'DM Sans',sans-serif;letter-spacing:-.8px;color:var(--ink);margin:0;outline:none;animation:v6-rise .4s .3s both}
.v6-saved-what{margin:8px 0 0;font-size:15px;color:var(--ink);font-weight:600;animation:v6-rise .4s .38s both}
.v6-saved-chip{display:flex;flex-wrap:wrap;gap:8px 12px;justify-content:center;align-items:center;margin:10px 0 0;animation:v6-rise .4s .44s both}
.v6-saved-cat{font-size:13px;font-weight:600;color:var(--muted)}
.v6-saved-where{margin:10px 0 0;animation:v6-rise .4s .5s both}
@keyframes v6-rise{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
.v6-countdown{width:100%;max-width:420px;margin:26px 0 4px;display:flex;flex-direction:column;align-items:center;gap:10px}
.v6-count-bar{width:100%;height:6px;border-radius:6px;background:#e6edf3;overflow:hidden}
.v6-count-bar span{display:block;height:100%;background:var(--navy);border-radius:6px;transform-origin:left center;animation:v6-shrink linear forwards}
@keyframes v6-shrink{from{transform:scaleX(1)}to{transform:scaleX(0)}}
.v6-count-text{font-size:13px;color:var(--muted)}
.v6-count-text strong{color:var(--ink)}
.v6-count-text b{display:inline-grid;place-items:center;min-width:26px;height:26px;margin-left:4px;border-radius:50%;background:var(--navy);color:#fff;font:800 13px Manrope,'DM Sans',sans-serif;font-variant-numeric:tabular-nums}
.v6-saved .v6-walk-actions{width:100%;max-width:420px;margin-top:18px}
.v6-saved .v6-walk-actions>*{flex:1}
@media(prefers-reduced-motion:reduce){.v6-tick-ring,.v6-tick-mark{animation:none;stroke-dashoffset:0}.v6-saved h2,.v6-saved-what,.v6-saved-chip,.v6-saved-where{animation:none}.v6-count-bar span{animation:none;transform:scaleX(.5)}}

/* Version 22b: voter type is required */
.v6-req{display:inline-block;margin-left:8px;padding:2px 7px;border-radius:999px;background:#eef3f8;color:var(--muted);font:700 10px/1.4 'DM Sans',sans-serif;letter-spacing:.6px;text-transform:uppercase;vertical-align:2px}
.v6-type-error{margin:0;color:#b3261e;font-size:13px;font-weight:600}
.v6-type-error:empty{display:none}
.v6-type.is-missing label{border-color:#e7b9b5}
.v6-type.is-missing .v6-req{background:#fbeceb;color:#b3261e}

/* Version 23: campaign timeline */
.ew-tl{list-style:none;margin:0;padding:0;position:relative}
.ew-tl::before{content:"";position:absolute;left:9px;top:12px;bottom:12px;width:2px;background:var(--line)}
.ew-tl-item{position:relative;display:flex;gap:18px;padding:0 0 22px}
.ew-tl-item:last-child{padding-bottom:0}
.ew-tl-dot{position:relative;z-index:1;flex:none;width:20px;height:20px;margin-top:4px;border-radius:50%;background:#fff;border:3px solid #c3ced8}
.ew-tl-dot.ew-election{border-color:#1f9d57}.ew-tl-dot.ew-outreach{border-color:#2f7fd1}
.ew-tl-now .ew-tl-dot{background:currentColor}
.ew-tl-now .ew-tl-dot.ew-election{background:#1f9d57}.ew-tl-now .ew-tl-dot.ew-outreach{background:#2f7fd1}
.ew-tl-now .ew-tl-dot::after{content:"";position:absolute;inset:-7px;border-radius:50%;border:2px solid currentColor;opacity:.25}
.ew-tl-now .ew-tl-dot.ew-election::after{border-color:#1f9d57}.ew-tl-now .ew-tl-dot.ew-outreach::after{border-color:#2f7fd1}
.ew-tl-body{flex:1;min-width:0;border:1px solid var(--line);border-radius:14px;padding:16px 18px;background:#fff}
.ew-tl-now .ew-tl-body{border:2px solid var(--navy);box-shadow:0 6px 22px #102e5012}
.ew-tl-done .ew-tl-body{background:#f8fafc}
.ew-tl-done h3{color:var(--muted)}
.ew-tl-top{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}
.ew-tl-top h3{font:800 18px/1.25 Manrope,'DM Sans',sans-serif;letter-spacing:-.3px;margin-top:4px}
.ew-tl-dates{font-size:14px;margin:8px 0 0;color:var(--muted)}
.ew-tl-dates strong{color:var(--ink)}
.ew-tl-actions{display:flex;flex-wrap:wrap;gap:4px 20px;margin-top:8px}
.ew-tl-actions .text-btn{min-height:34px;font-size:14px}
.ew-tl-form{margin-top:14px;padding-top:14px;border-top:1px solid var(--line)}
.ew-tl-form .ew-kind{margin-bottom:12px}
.ew-tl-checks{display:grid;gap:10px;align-content:start;padding-top:26px}
.ew-tl-checks .ew-check{margin:0}
.ew-tl-new{border:2px dashed #c9d6e2;border-radius:14px;padding:4px 18px 16px;margin-bottom:22px}
.ew-tl-new .ew-tl-form{border-top:0}
@media(max-width:760px){.ew-tl-item{gap:12px}.ew-tl-top{flex-direction:column;gap:6px}.ew-tl-body{padding:14px}.ew-tl-checks{padding-top:0}}
.v6-hist-label{margin:14px 0 0;font:700 11px/1.4 'DM Sans',sans-serif;letter-spacing:1.4px;text-transform:uppercase;color:var(--muted)}
.v6-hist-label+.v6-hist-tally{margin-top:8px}
.v6-hist-earlier{margin:4px 0 10px}
.v6-history li.v6-h-group{display:block;padding:14px 2px 6px;border-bottom:0;font:700 11px/1.4 'DM Sans',sans-serif;letter-spacing:1.2px;text-transform:uppercase;color:var(--navy)}
.v6-last+.v6-walk{padding-top:18px}

/* Version 24: heat map */
.hm-controls{display:flex;flex-wrap:wrap;align-items:flex-end;gap:16px 22px;padding:18px 20px;margin-bottom:18px}
.hm-field{display:grid;gap:6px;font-size:12px;font-weight:700;color:var(--muted);letter-spacing:.3px;min-width:min(320px,100%)}
.hm-field select{min-height:44px;font-size:15px;font-weight:600;color:var(--ink);border-radius:10px}
.hm-chips{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.hm-chip{display:inline-flex;align-items:center;gap:8px;min-height:40px;padding:6px 14px 6px 10px;border-radius:999px;border:1px solid var(--line);background:#fff;font-size:13px;font-weight:700;color:var(--muted);transition:background .15s,border-color .15s}
.hm-chip i{width:14px;height:14px;border-radius:50%;background:var(--c);opacity:.35;box-shadow:0 0 0 3px #fff inset}
.hm-chip b{font-weight:800;color:var(--muted)}
.hm-chip.on{border-color:#c9d6e2;color:var(--ink);background:#f6f9fc}
.hm-chip.on i{opacity:1;box-shadow:0 0 10px var(--c)}
.hm-chip.on b{color:var(--ink)}
.hm-prev{display:inline-flex;align-items:center;gap:8px;margin-left:6px;font-size:13px;font-weight:600;color:var(--muted)}
.hm-panel{padding:0;overflow:hidden;margin-bottom:22px}
.hm-map{position:relative;height:min(72vh,780px);min-height:420px;background:#bfe0f2;touch-action:none;cursor:grab;outline:none;overflow:hidden}
.hm-map:active{cursor:grabbing}
.hm-map:focus-visible{box-shadow:inset 0 0 0 3px #65b3e9}
#hmSvg,#hmCanvas{position:absolute;left:0;top:0;display:block;transform-origin:0 0;will-change:transform}
.hm-map canvas{pointer-events:none}
.hm-map path{stroke-linejoin:round;stroke-linecap:round}
#hmSvg>path,#hmHeat,#hmShapes{pointer-events:none}
.hm-land{fill:#f6f3ee;stroke:#9cc6dc;stroke-width:1}
/* map layers (OpenStreetMap), redrawn in screen pixels at every zoom */
.hm-water{fill:#a8d5ee;stroke:none}
.hm-river{fill:none;stroke:#a8d5ee;stroke-width:2.2}
.hm-stream{fill:none;stroke:#b6dcf1;stroke-width:1}
.hm-green{fill:#d4ecc4;stroke:none}
.hm-bld{fill:#e2dcd2;stroke:#cfc6b8;stroke-width:.6}
.hm-rail{fill:none;stroke:#9aa3ad;stroke-width:1.3;stroke-dasharray:5 3}
.hm-case{fill:none;stroke:#cfc8bd}
.hm-road{fill:none;stroke:#fff}
.hm-case.hm-r1{stroke:#d98a2b}.hm-road.hm-r1{stroke:#ffb35c}
.hm-case.hm-r2{stroke:#d9a24a}.hm-road.hm-r2{stroke:#ffcf7a}
.hm-case.hm-r3{stroke:#d8b862}.hm-road.hm-r3{stroke:#ffe39a}
.hm-case.hm-r4{stroke:#d2c27d}.hm-road.hm-r4{stroke:#fff3bf}
.hm-road.hm-r7{stroke:#f4f1fa}
.hm-case.hm-r1{stroke-width:var(--k1)}.hm-road.hm-r1{stroke-width:var(--w1)}
.hm-case.hm-r2{stroke-width:var(--k2)}.hm-road.hm-r2{stroke-width:var(--w2)}
.hm-case.hm-r3{stroke-width:var(--k3)}.hm-road.hm-r3{stroke-width:var(--w3)}
.hm-case.hm-r4{stroke-width:var(--k4)}.hm-road.hm-r4{stroke-width:var(--w4)}
.hm-case.hm-r5{stroke-width:var(--k5)}.hm-road.hm-r5{stroke-width:var(--w5)}
.hm-case.hm-r6{stroke-width:var(--k6)}.hm-road.hm-r6{stroke-width:var(--w6)}
.hm-case.hm-r7{stroke-width:var(--k7)}.hm-road.hm-r7{stroke-width:var(--w7)}
.hm-case.hm-r8{stroke-width:var(--k8)}.hm-road.hm-r8{stroke-width:var(--w8)}
.hm-note{position:absolute;left:12px;bottom:28px;max-width:min(420px,70%);z-index:2;background:#fff;border-radius:10px;padding:8px 12px;font-size:12px;color:var(--ink);box-shadow:0 4px 16px #102e5022;display:none}
.hm-note.show{display:block}
/* boundaries */
.hm-dea{fill:transparent;stroke:#8fa3b6;stroke-width:.9}
.hm-dea.hm-pick{cursor:pointer}
.hm-z0 .hm-dea.hm-pick:hover,.hm-z1 .hm-dea.hm-pick:hover,.hm-z2 .hm-dea.hm-pick:hover{fill:rgba(16,46,80,.06);stroke:#4f6c87;stroke-width:1.6}
.hm-off{fill:rgba(226,232,238,.82);stroke:none}
.hm-dim{fill:rgba(226,232,238,.72);stroke:none;pointer-events:none}
.hm-dea.hm-inner{stroke:#6f879d;stroke-width:1.2;stroke-dasharray:5 4}
.hm-asm{fill:none;stroke:#52687d;stroke-width:1.6;pointer-events:none}
.hm-focus-line{fill:none;stroke:var(--navy);stroke-width:2.6;pointer-events:none}
.hm-z3 .hm-dea,.hm-z4 .hm-dea{stroke-width:1.6}
/* names */
#hmLabels{pointer-events:none}
#hmLabels text{font-family:'DM Sans',system-ui,sans-serif;paint-order:stroke;stroke:#fff;stroke-linejoin:round;stroke-width:3px;fill:#3b4754}
.hm-lbl{font-size:11px;font-weight:600}
.hm-lc1,.hm-lc2,.hm-lc3{font-size:12.5px;font-weight:700}
.hm-lc4,.hm-lc5{font-size:12px}
.hm-lc7{font-size:10.5px;font-style:italic}
.hm-lbl-place{text-anchor:middle;font-weight:700;fill:#24303c!important}
.hm-pr0{font-size:15px;font-weight:800}.hm-pr1{font-size:13.5px}.hm-pr2,.hm-pr4{font-size:10.5px;letter-spacing:1.2px;fill:#5d6b78!important;font-weight:700}.hm-pr3{font-size:12px;font-weight:600}.hm-pr5{font-size:10.5px;font-weight:600}
.hm-lbl-dea{text-anchor:middle;font-size:11px;font-weight:800;letter-spacing:1px;fill:var(--navy)!important;stroke-width:3.5px!important}
.hm-scope{fill:none;stroke:#2f7fd1;stroke-width:1.6;stroke-dasharray:6 4;pointer-events:none}
.hm-zoom{position:absolute;top:14px;right:14px;display:grid;border-radius:12px;overflow:hidden;box-shadow:0 4px 16px #102e5022;z-index:2}
.hm-zoom button{width:42px;height:42px;border:0;border-bottom:1px solid var(--line);background:#fff;font:700 20px/1 'DM Sans',sans-serif;color:var(--navy);display:grid;place-items:center}
.hm-zoom button:last-child{border-bottom:0}
.hm-zoom button:hover{background:#f2f6fa}
.hm-zoom .icon{width:18px;height:18px}
.hm-tip{position:absolute;z-index:3;pointer-events:none;background:#fff;border-radius:10px;box-shadow:0 8px 24px #102e5026;padding:10px 12px;font-size:12px;display:none;max-width:220px}
.hm-tip.show{display:grid;gap:3px}
.hm-tip strong{font:800 14px Manrope,'DM Sans',sans-serif;color:var(--ink)}
.hm-tip span{color:var(--muted)}
.hm-tip em{font-style:normal;font-weight:700;color:var(--accent)}
.hm-status{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);z-index:2;background:#fff;border-radius:12px;padding:12px 18px;font-size:14px;font-weight:600;color:var(--ink);box-shadow:0 6px 22px #102e501f;display:none;text-align:center;max-width:80%}
.hm-status.show{display:block}
.hm-attrib{position:absolute;left:12px;right:70px;bottom:8px;margin:0;font-size:10.5px;color:#6b7f92;z-index:2;pointer-events:none;text-shadow:0 0 4px #fff,0 0 4px #fff}
.hm-stats{grid-template-columns:repeat(4,1fr)}
@media(max-width:760px){.hm-controls{padding:14px}.hm-map{height:62vh;min-height:360px}.hm-prev{margin-left:0}.hm-attrib{font-size:9.5px;right:12px;bottom:6px}.hm-zoom{top:10px;right:10px}.hm-stats{grid-template-columns:1fr 1fr}}
.v6-saved-msg{display:contents}
