.explorer-hero{background:#1455ff;color:#fff;padding:5rem 0 3rem}.explorer-hero h1{color:#fff;max-width:850px;font-size:clamp(2.6rem,5.5vw,5rem);line-height:1.05}.explorer-hero p{max-width:760px;font-size:1.13rem;color:#fff}.explorer-hero .eyebrow{color:#fff}.year-note{display:flex;align-items:flex-start;gap:1rem;background:#fff;color:#172b55;border-radius:14px;padding:1rem 1.25rem;max-width:850px;margin-top:2rem}.year-note strong{min-width:140px}.explorer-toolbar,.advanced-head,.results-head,.profile-head,.pagination{display:flex;justify-content:space-between;align-items:center;gap:1rem;flex-wrap:wrap}.search-panel{background:#eef3ff;border:1px solid #d9e3ff;border-radius:20px;padding:1.5rem;margin:1.5rem 0}.search-panel>label{display:block;font-weight:700;margin-bottom:.5rem}.search-panel input,.search-panel select,.sort-controls select,.filter-row select,.filter-row input{width:100%;background:#fff;color:#172b55;border:1px solid #b8c8e5;border-radius:9px;padding:.85rem;font:inherit}.basic-filters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;margin-top:1rem}.basic-filters label,.sort-controls label{font-size:.85rem;font-weight:700}.basic-filters select,.basic-filters input,.sort-controls select{margin-top:.4rem}.advanced-head{margin-top:2rem}.advanced-head h3{margin:0}.advanced-head p,.results-head p{margin:.3rem 0;color:#52617b}.filter-stack{display:grid;gap:.6rem;margin-top:1rem}.filter-row{display:grid;grid-template-columns:minmax(200px,2fr) minmax(130px,1fr) minmax(130px,1fr) 44px;gap:.6rem}.filter-remove{border:1px solid #b8c8e5;background:#fff;color:#172b55;border-radius:8px;font-size:1.5rem;cursor:pointer}.presets{display:flex;align-items:center;gap:.5rem;flex-wrap:wrap;margin-top:1.5rem}.presets span{font-weight:700}.presets button{border:1px solid #c5d3ec;background:#fff;color:#1455ff;border-radius:999px;padding:.55rem .85rem;cursor:pointer;font:inherit;font-size:.85rem}.presets button:hover{background:#1455ff;color:#fff}.sort-controls{display:flex;gap:.7rem;flex-wrap:wrap}.results-head{margin:2rem 0 1rem}.table-scroll{overflow-x:auto;border:1px solid #d9e3ee;border-radius:14px}.explorer-table{border-collapse:collapse;width:100%;min-width:710px}.explorer-table th{background:#f3f5f8;color:#172b55;text-align:left;font-size:.8rem;padding:1rem}.explorer-table td{padding:1rem;border-top:1px solid #e6eaf2;vertical-align:middle}.explorer-table td.numeric{text-align:right;font-weight:700;white-space:nowrap}.explorer-table th:last-child{text-align:right}.charity-open{border:0;background:transparent;color:#1455ff;text-align:left;cursor:pointer;font:inherit;padding:0}.charity-open small{display:block;color:#52617b;margin-top:.25rem}.pagination{margin-top:1rem}.profile{scroll-margin-top:2rem;border:1px solid #c7d6ef;border-radius:20px;padding:1.5rem;margin-top:2rem;background:#fff}.profile h2{margin:.3rem 0}.profile h3{margin:1.5rem 0 .6rem}.profile-kpis{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:.6rem;margin:1.3rem 0}.profile-kpis>div{background:#eef3ff;padding:1rem;border-radius:10px;min-width:0}.profile-kpis small{display:block;color:#52617b}.profile-kpis strong{display:block;overflow-wrap:anywhere;font-size:1.15rem}.profile-columns{display:grid;grid-template-columns:1fr 1fr;gap:2rem}.profile-columns li{margin-bottom:.75rem;overflow-wrap:anywhere}.disclosure{padding:1rem;background:#fff0f2;border-left:4px solid #ef233c;color:#172b55}.source-links{margin-top:1.5rem}@media(max-width:750px){.basic-filters,.profile-columns{grid-template-columns:1fr}.filter-row{grid-template-columns:1fr 1fr}.filter-row select:first-child{grid-column:1/-1}.filter-remove{min-height:44px}.profile-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.year-note{flex-direction:column}.explorer-hero{padding:3rem 0 2rem}}

/* v5: research-dashboard visual hierarchy, source-linked explanations, and accessible help. */
.help-button{display:inline-grid;place-items:center;width:22px;height:22px;flex:0 0 auto;margin:0 0 0 .25rem;padding:0;border:1px solid #a7bbd9;background:#fff;border-radius:50%;color:#1455ff;font:800 12px/1 system-ui,-apple-system,sans-serif;vertical-align:middle;cursor:help;transition:background-color .15s,border-color .15s,color .15s}
.help-button:hover,.help-button:focus-visible,.help-button[aria-expanded="true"]{background:#1455ff;border-color:#1455ff;color:#fff}
.help-button:focus-visible{outline:3px solid #ef233c;outline-offset:2px}
.help-on-blue{border-color:#b2c9f2}
.explorer-help-popover[hidden]{display:none!important}
.explorer-help-popover{position:fixed;z-index:1100;max-height:min(540px,calc(100vh - 24px));overflow-y:auto;padding:1.15rem 1.2rem;background:#fff;border:1px solid #c5d5ee;border-top:4px solid #1455ff;border-radius:12px;box-shadow:0 15px 55px rgba(16,41,92,.21);color:#172b55;font-size:.88rem;line-height:1.55;text-align:left}
.explorer-help-popover p{margin:.6rem 0;color:#26364f}
.explorer-help-popover .help-popover-heading{display:flex;align-items:center;justify-content:space-between;gap:.8rem;color:#12264d;font-weight:800;font-size:1rem;line-height:1.35}
.explorer-help-popover .help-popover-source{color:#1455ff;font-weight:700;font-size:.78rem;margin:.3rem 0 .7rem}
.explorer-help-popover .help-popover-context{background:#eef3ff;padding:.6rem .7rem;border-radius:8px;font-size:.83rem}
.explorer-help-popover a{display:inline-block;color:#1455ff;font-weight:700;margin-top:.55rem;text-decoration:underline;text-underline-offset:3px}
.explorer-help-popover .help-dismiss{border:0;background:#eef3ff;width:30px;height:30px;border-radius:50%;color:#172b55;font-size:1.4rem;cursor:pointer}
.explorer-table th .help-button{background:#fff}
.explorer-table th:last-child{min-width:240px}
.filter-metric{display:flex;align-items:center;gap:.45rem;min-width:0}
.filter-metric select{min-width:0;flex:1}
.filter-definition{display:flex;align-items:center;justify-content:center;min-width:26px}
.filter-row{grid-template-columns:minmax(240px,2fr) minmax(130px,1fr) minmax(130px,1fr) 44px}
.profile{padding:clamp(1rem,2.5vw,2rem);box-shadow:0 10px 42px rgba(23,43,85,.07)}
.profile-meta{display:flex;flex-wrap:wrap;align-items:center;gap:.55rem .95rem;color:#506080;font-size:.87rem;margin-top:.6rem}
.profile-meta>span{display:inline-flex;align-items:center;gap:.15rem}
.profile-snapshot{display:flex;align-items:center;justify-content:space-between;gap:.8rem;flex-wrap:wrap;margin-top:1.2rem;padding:.8rem 1rem;background:#eef3ff;border-left:4px solid #1455ff;font-size:.8rem;font-weight:650}
.research-section-title{margin:2rem 0 .3rem!important}
.research-section-lead,.research-muted{margin:.3rem 0 1rem;color:#53617b;font-size:.9rem;line-height:1.6}
.research-section-lead{max-width:760px}
.profile-kpis{grid-template-columns:repeat(4,minmax(0,1fr));gap:.85rem;margin:1rem 0 2rem}
.profile-kpis .research-kpi{background:#fff;border:1px solid #dae5f3;border-radius:13px;padding:1rem;min-width:0;display:flex;flex-direction:column;gap:.8rem;box-shadow:0 2px 7px rgba(21,52,101,.03)}
.profile-kpis .research-kpi:nth-child(-n+3){border-top:3px solid #1455ff}
.research-kpi-label{display:flex;align-items:flex-start;justify-content:space-between;gap:.35rem;color:#52617b;font-size:.82rem;font-weight:650;line-height:1.35}
.research-kpi-number{font-size:clamp(1.05rem,1.5vw,1.42rem);font-variant-numeric:tabular-nums;overflow-wrap:anywhere;line-height:1.25}
.research-kpi-availability{color:#748099;font-size:.73rem;line-height:1.3}
.research-two-column{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;margin-top:1rem}
.research-card{border:1px solid #dbe5f3;border-radius:15px;padding:1.15rem 1.35rem;min-width:0}
.research-card h3{margin:0 0 .7rem;font-size:1.18rem}
.research-card h4{margin:1.3rem 0 .45rem;font-size:1rem}
.research-card p{line-height:1.6}
.research-card ul{padding-left:1.2rem;margin:.75rem 0}
.research-list li{margin-bottom:.85rem}
.research-list li p{margin:.3rem 0 0;color:#52617b}
.research-footnote{font-size:.78rem;color:#65718b;line-height:1.55}
.expense-row{margin:1.1rem 0}
.expense-row-heading{display:flex;justify-content:space-between;align-items:center;gap:.7rem;font-size:.86rem}
.expense-row-heading>span{display:inline-flex;align-items:center;gap:.1rem}
.expense-row-heading strong{font-variant-numeric:tabular-nums;white-space:nowrap}
.expense-track{background:#e8eef8;height:10px;border-radius:999px;overflow:hidden;margin:.55rem 0 .25rem}
.expense-bar{display:block;background:linear-gradient(90deg,#1455ff,#3986ff);height:100%;border-radius:999px}
.expense-row small{color:#65718b;font-size:.74rem}
.bands-list{list-style:none;padding:0!important}
.bands-list li{display:flex;justify-content:space-between;border-bottom:1px solid #ecf0f7;gap:1rem;padding:.55rem 0;margin:0!important;font-size:.85rem}
.bands-list li strong{white-space:nowrap}
.profile-source{background:#f5f8ff;padding:1.3rem;border-radius:13px;margin-top:1.5rem}
.profile-source h3{margin:0 0 .4rem}
.profile-source p{margin:.5rem 0;line-height:1.65}
.explorer-hero h1{letter-spacing:-.045em}
@media(max-width:1020px){.profile-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:750px){.profile-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.research-two-column{grid-template-columns:1fr}.filter-row{grid-template-columns:1fr 1fr}.filter-metric{grid-column:1/-1}.profile-meta{gap:.5rem .7rem}.explorer-help-popover{font-size:.85rem}}
@media(max-width:420px){.profile-kpis{grid-template-columns:1fr 1fr;gap:.5rem}.profile-kpis .research-kpi{padding:.8rem}.research-kpi-number{font-size:1.07rem}.research-card{padding:1rem}}
@media(prefers-reduced-motion:reduce){.help-button{transition:none}}
.filter-field,.sort-field{min-width:0}
.filter-field label,.sort-field label{font-size:.85rem;font-weight:700}
.filter-field-heading{display:flex;align-items:center;justify-content:flex-start;gap:.35rem;min-height:23px}
.filter-field select,.filter-field input,.sort-field select{margin-top:.4rem}

/* v7: focused discovery, opt-in advanced controls, research dashboard. */
.search-primary{display:flex;gap:.65rem;align-items:stretch}.search-primary input{flex:1;min-width:0}.search-primary .btn{white-space:nowrap}.search-panel #advanced-toggle{margin-top:.85rem}.search-panel #advanced-panel[hidden],#results-area[hidden]{display:none!important}.logic-options{display:flex;flex-wrap:wrap;gap:1.3rem;margin:1rem 0}.logic-options label{display:flex;align-items:center;gap:.4rem;font-weight:650}.logic-options input{width:auto;accent-color:#1455ff}.search-panel .presets{margin-top:1.3rem}.results-head{margin-top:2rem}.explorer-table{min-width:0}.explorer-table th:last-child{min-width:0}.explorer-table th:nth-child(2){width:27%}.explorer-table th:nth-child(3){width:23%}.research-kpi{min-width:0}.research-kpi-label .help-button{flex-shrink:0}.profile .research-two-column{align-items:start}.profile .research-card{height:100%}.profile .research-kpi-number{font-size:clamp(1.1rem,1.5vw,1.4rem)}@media(max-width:600px){.search-primary{flex-direction:column}.search-primary .btn{width:100%}.explorer-table td,.explorer-table th{padding:.7rem .45rem}.explorer-table th:nth-child(2){width:34%}.explorer-table .charity-open{font-size:.9rem}.profile .research-two-column{grid-template-columns:1fr}.profile .profile-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* v8.7: use the same ship's wheel logo as the homepage banner. */
.explorer-hero-title{display:flex;align-items:center;gap:24px;margin:12px 0 20px}
.explorer-hero-title h1{margin:0}.explorer-brand-wheel{width:76px;height:76px;flex-shrink:0;color:currentColor}
.explorer-hero .explorer-brand-wheel{color:#fff}
.cra-mini-link{display:inline-block;margin-top:7px;color:#1455ff!important;font-size:12px;font-weight:750;text-decoration:underline;text-underline-offset:3px}
.cra-t3010-link{display:inline-flex;align-items:center;gap:5px;padding:9px 13px;background:#eef3ff;border:1px solid #b5caff;border-radius:8px;font-weight:750;color:#1455ff!important;text-decoration:none}
.cra-t3010-link:hover,.cra-mini-link:hover{text-decoration:underline}
@media(max-width:700px){.explorer-hero-title{gap:15px}.explorer-hero-title .explorer-brand-wheel{width:55px;height:55px}}

/* v9.3: Leaflet charity map, synchronized with search filters and results. */
.explorer-map-section{margin:28px 0 20px}
.explorer-map-heading{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:15px;margin-bottom:13px}
.explorer-map-heading h3{color:#172b55;font-size:clamp(1.3rem,2.1vw,1.65rem);margin:0 0 5px}
.explorer-map-heading p{color:#596b85;margin:0;font-size:.91rem}
.charity-map{height:clamp(350px,48vw,520px);width:100%;border:1px solid #dbe5f3;border-radius:16px;background:#ecf3fb;overflow:hidden}
.map-footnote{display:flex;gap:8px 25px;flex-wrap:wrap;color:#64748b;font-size:12px;line-height:1.5;margin-top:10px}
#map-status{font-weight:700;color:#254d8c}
.charity-pin{display:flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:50%;border:3px solid white;background:#1455ff;color:#fff;font:bold 13px/1 system-ui,sans-serif;box-shadow:0 2px 9px #172b5540}
.charity-pin.approx{background:#ef233c}
.charity-pin-wrap{background:transparent;border:0}
.charity-popup{min-width:240px;max-width:300px}
.charity-popup h4{margin:0 0 3px;color:#172b55;font-size:1rem}
.charity-popup>p{margin:0 0 8px;color:#64748b;font-size:12px}
.charity-popup-list{max-height:245px;overflow-y:auto;overscroll-behavior:contain}
.charity-popup-entry{padding:8px 0;border-top:1px solid #e4eaf4}
.charity-popup-entry:first-child{border-top:0}
.charity-popup-entry a{color:#1455ff!important;font-weight:750;text-decoration:none;font-size:13px;line-height:1.3;display:block}
.charity-popup-entry a:hover{text-decoration:underline}
.charity-popup-entry small{display:block;color:#52617b;margin-top:3px;font-size:11px}
.leaflet-popup-content{margin:12px 14px}
.leaflet-container{font-family:inherit}
.map-unavailable{padding:28px;font-size:14px;color:#52617b;text-align:center}
@media(max-width:750px){.charity-map{height:390px}.explorer-map-heading .btn{padding:9px 13px}.basic-filters{grid-template-columns:1fr}}

/* v9.3 map dashboard destination */
.charity-popup-entry .map-dashboard-link{display:inline-block;margin-top:5px;color:#1455ff;font-size:12px;font-weight:800;text-decoration:underline;text-underline-offset:2px}

/* v9.4: Approved Canada-first palette. Red Canada, white selected province,
   navy water/background, blue location pins and white disclosure cards. */
.charity-map{background:#082b52;border:1px solid #102f51;box-shadow:0 12px 35px #09284c1a}
.charity-map .leaflet-container{background:#082b52}
.charity-map .leaflet-control-zoom a{background:#fff;color:#0c3665;border-color:#cbd8e8}
.charity-map .leaflet-control-zoom a:hover{background:#e8effb;color:#0c3665}
.charity-map .leaflet-control-attribution{background:#ffffffdd;color:#28476b}
.charity-map .leaflet-tooltip{background:#fff;border:1px solid #d5deec;color:#142b52;font-weight:700;box-shadow:0 4px 12px #061f4229}
.charity-pin{background:#1767df;border:3px solid #fff;box-shadow:0 3px 12px #03193255}
.charity-pin.approx{background:#d40020;border-style:dashed}
.charity-popup{min-width:235px;max-width:350px}
.charity-popup h4{font-size:15px;color:#102c51}
.charity-popup>p{font-size:12px}
.charity-popup-entry{padding:10px 0}
.charity-popup-entry .charity-popup-name{color:#0b3671!important;font-size:13px}
.charity-popup-location,.charity-popup-finances{font-size:12px;display:block;color:#344b67;margin-top:5px}
.charity-popup-finances{font-weight:700}
.charity-popup-address,.charity-popup-program{font-size:12px;line-height:1.45;color:#3b506a;margin:8px 0 0}
.charity-popup-program{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.charity-popup-entry .map-dashboard-link{display:inline-block;background:#0d4fa9;color:#fff!important;border-radius:8px;padding:9px 12px;text-align:center;font-weight:800;text-decoration:none;margin-top:9px}
.charity-popup-entry .map-dashboard-link:hover{background:#073c83;text-decoration:none}
.charity-popup-more{font-size:11px;color:#536785;margin:6px 0 0}
.charity-map.map-fallback .leaflet-tile-pane{filter:grayscale(1) brightness(.8) contrast(1.1)}
.map-colour-key{display:flex;flex-wrap:wrap;align-items:center;gap:12px;font-size:12px;color:#3d5371;margin-top:10px}
.map-colour-key>span{display:flex;align-items:center;gap:6px}
.map-colour-key i{width:13px;height:13px;display:inline-block;border:1px solid #cdd6e5;border-radius:3px}
.map-colour-key .normal{background:#d40020}.map-colour-key .selected{background:#fff;border-color:#d40020}.map-colour-key .marker{background:#1767df;border-radius:50%;border:2px solid #fff;box-shadow:0 0 0 1px #1767df}

/* v9.5: approved mockup layout. Search and the map use real CRA records. */
.explorer-map-heading{margin-bottom:17px}
.explorer-map-heading h3{font-size:clamp(1.4rem,2.2vw,1.9rem)}
.map-and-results{display:grid;grid-template-columns:minmax(0,1.9fr) minmax(250px,.9fr);gap:17px;align-items:stretch}
.map-main,.map-result-panel{min-width:0}
.map-surface{position:relative}
.charity-map{height:540px;border-radius:16px;background:linear-gradient(135deg,#092c51,#061b34)!important}
.charity-map .leaflet-container{background:linear-gradient(135deg,#092c51,#061b34)!important}
.map-viewport-label{position:absolute;top:12px;right:12px;z-index:500;pointer-events:none;background:#ffffffea;color:#102e55;font-size:10px;font-weight:800;letter-spacing:.1em;padding:7px 10px;border-radius:6px}
.map-result-panel{height:540px;border-radius:16px;border:1px solid #d6e0ee;background:#fff;display:flex;flex-direction:column;box-shadow:0 8px 20px #09284c0c}
.map-result-header{padding:18px 16px 14px;border-bottom:1px solid #e0e8f4;display:flex;gap:8px;justify-content:space-between;align-items:center}
.map-result-header strong{font-size:18px;color:#142e52}.map-result-header span{font-size:12px;color:#4d6a90;font-weight:650}
.map-result-list{flex:1;overflow:auto;padding:10px;overscroll-behavior:contain}
.map-result-list>p{padding:14px;color:#536785;font-size:13px;line-height:1.5}
.map-list-card{display:flex;flex-direction:column;gap:7px;background:#fff;border:1px solid #dbe4f1;border-radius:11px;padding:13px 13px 11px;margin:0 0 9px;text-decoration:none;color:#172b55!important;transition:background .15s,border-color .15s}
.map-list-card:hover,.map-list-card:focus-visible{background:#eef5ff;border-color:#4382df}
.map-list-card strong{font-size:14px;line-height:1.35}.map-list-card small{color:#516887;font-size:12px}.map-list-card span{color:#30435e;font-size:12px;line-height:1.4}.map-list-card em{font-size:12px;font-weight:750;color:#0759c0;font-style:normal}
.charity-popup-entry .map-dashboard-link{background:#0c3970!important;border-radius:9px}.charity-popup-entry .map-dashboard-link:hover{background:#0b58ad!important}
.charity-pin{background:#1265d9!important;box-shadow:0 0 0 3px #ffffff95,0 4px 13px #04152a80}.charity-pin.approx{border-style:dashed;background:#1455ff!important}
.province-map-tooltip{font-weight:800!important}
@media(max-width:900px){.map-and-results{grid-template-columns:1fr}.map-result-panel{height:280px}.charity-map{height:430px}}
@media(max-width:600px){.charity-map{height:355px}.map-viewport-label{font-size:8px}.map-result-panel{height:280px}}

/* v9.6: map follows the full search-results table; approved red/white/navy styling. */
.explorer-map-section{margin-top:32px}
.charity-map,.charity-map .leaflet-container{background:#08264b!important}
.charity-map.map-fallback .leaflet-tile-pane{filter:none!important}
.map-and-results{grid-template-columns:minmax(0,1.85fr) minmax(220px,.85fr)}
@media(max-width:850px){.map-and-results{grid-template-columns:1fr}}


/* v9.9: Accessible, collapsed-by-default map disclosure placed before results. */
.explorer-map-disclosure{margin:22px 0 24px}
.map-visibility-toggle{width:100%;display:flex;align-items:center;text-align:left;
  gap:14px;padding:16px 19px;border:1px solid #c7d9ef;border-radius:15px;
  background:linear-gradient(110deg,#f0f6ff,#fff 75%);color:#15365f;
  font:inherit;cursor:pointer;box-shadow:0 5px 18px #0b2f5510;
  transition:border-color .16s ease,background .16s ease,box-shadow .16s ease}
.map-visibility-toggle:hover{background:#eaf3ff;border-color:#81ace8;box-shadow:0 8px 25px #0b2f5516}
.map-visibility-toggle:focus-visible{outline:3px solid #1455ff;outline-offset:3px}
.map-toggle-icon{display:inline-flex;flex-shrink:0;align-items:center;justify-content:center;
  width:43px;height:43px;border-radius:11px;color:#fff;background:#0c3970}
.map-toggle-text{display:flex;flex-direction:column;gap:4px;min-width:0;flex:1}
.map-toggle-text strong{font-size:15px;line-height:1.3;color:#102e55}
.map-toggle-text small{color:#586e8d;font-size:12px;line-height:1.35}
.map-toggle-chevron{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;
  color:#21559b;transition:transform .2s ease}
.map-visibility-toggle[aria-expanded="true"] .map-toggle-chevron{transform:rotate(180deg)}
#map-disclosure-content[hidden]{display:none!important}
#map-disclosure-content .explorer-map-section{margin:16px 0 0}
@media(max-width:600px){.map-visibility-toggle{padding:13px 14px;gap:10px}
  .map-toggle-icon{width:39px;height:39px}.map-toggle-text strong{font-size:14px}
  .map-toggle-text small{font-size:11px}}
@media(prefers-reduced-motion:reduce){.map-toggle-chevron,.map-visibility-toggle{transition:none}}


/* v9.10: Optional Top 50 rankings, collapsed whenever new results load. */
.preset-disclosure{margin-top:1.1rem}
.preset-visibility-toggle{display:flex;align-items:center;justify-content:space-between;
  gap:12px;width:100%;padding:12px 15px;border:1px solid #c5d3ec;border-radius:12px;
  color:#174478;background:#fff;font:inherit;text-align:left;cursor:pointer;
  transition:background .16s ease,border-color .16s ease}
.preset-visibility-toggle:hover{background:#f0f5ff;border-color:#8aaee8}
.preset-visibility-toggle:focus-visible{outline:3px solid #1455ff;outline-offset:3px}
.preset-toggle-text{display:flex;flex-direction:column;gap:3px;min-width:0}
.preset-toggle-text strong{font-size:.94rem;color:#143a70}
.preset-toggle-text small{font-size:.76rem;line-height:1.35;color:#586e8d}
.preset-toggle-chevron{display:inline-flex;align-items:center;justify-content:center;
  flex-shrink:0;transition:transform .2s ease}
.preset-visibility-toggle[aria-expanded="true"] .preset-toggle-chevron{transform:rotate(180deg)}
#preset-disclosure-content[hidden]{display:none!important}
#preset-disclosure-content .presets{margin-top:12px}
@media(prefers-reduced-motion:reduce){.preset-toggle-chevron,.preset-visibility-toggle{transition:none}}

/* v9.11: complete-directory geographic aggregation, national and provincial views. */
.charity-cluster-anchor{background:transparent;border:0;box-shadow:none}
.charity-cluster{min-width:39px;height:39px;box-sizing:border-box;display:flex;align-items:center;justify-content:center;
 border-radius:50%;border:3px solid #fff;background:#1767df;color:#fff;
 font:800 12px/1.1 system-ui,-apple-system,sans-serif;white-space:nowrap;
 box-shadow:0 3px 13px #03193299,0 0 0 1px #e7f1ff;cursor:pointer;padding:0 3px}
.charity-cluster.capital{background:#1767df}
.charity-cluster.other{background:#102c56;border-color:#f5dce0}
.charity-cluster.city{background:#1767df}
.charity-cluster.unlocated{background:#6d7382;border-style:dashed;font-size:11px}
.charity-cluster:hover{filter:brightness(1.15);transform:scale(1.1)}
.map-city-row{appearance:none;display:flex;flex-direction:column;gap:5px;width:100%;text-align:left;cursor:pointer;
 background:#fff;color:#102e55;border:1px solid #dce4f0;padding:10px 12px;border-radius:9px;margin-bottom:8px}
.map-city-row strong{font-size:13px}.map-city-row span{font-size:12px;color:#4f6382}
.map-city-row:hover,.map-city-row:focus-visible{background:#eef5ff;border-color:#1767df}
.map-sample-list{max-height:190px;overflow-y:auto;display:flex;flex-direction:column;gap:7px}
.map-sample-link{font-size:12px;color:#0a4daa;line-height:1.35;text-decoration:underline}
.map-colour-key .marker{background:#1767df}
.map-colour-key .capital{background:#1767df;border-radius:50%}
.map-colour-key .other{background:#102c56;border-radius:50%}
