/* Shared county 2-2/2-3 presentation uses the accepted 2-4 controls and panels. */
body:is([data-area-county-districts-review],[data-area-county-explorer-standard]) #districts{display:flex;flex-direction:column}
body:is([data-area-county-districts-review],[data-area-county-explorer-standard]) #districts>.section-heading{order:0;padding-left:8px;padding-right:8px}
body:is([data-area-county-districts-review],[data-area-county-explorer-standard]) .subareas-meeting-summary{order:1}
body:is([data-area-county-districts-review],[data-area-county-explorer-standard]) #districts>.county-explorer{order:2}
body:is([data-area-county-districts-review],[data-area-county-explorer-standard]) #districts>[data-countywide-offices]{order:3}
body:is([data-area-county-districts-review],[data-area-county-explorer-standard]) #districts>[data-subareas-grid]{display:none!important}
body:is([data-area-county-districts-review],[data-area-county-explorer-standard]) [hidden]{display:none!important}
body:is([data-area-county-districts-review],[data-area-county-explorer-standard]) .county-explorer-layout{grid-template-columns:minmax(0,1.7fr) minmax(320px,.8fr);gap:24px}
body:is([data-area-county-districts-review],[data-area-county-explorer-standard]) :is(.county-map-column,.county-selection){height:760px!important;min-height:0!important;box-sizing:border-box}
body:is([data-area-county-districts-review],[data-area-county-explorer-standard]) .county-selection{display:flex;overflow:hidden}
body:is([data-area-county-districts-review],[data-area-county-explorer-standard]) .county-selection::before{display:none}
body:is([data-area-county-districts-review],[data-area-county-explorer-standard]) .county-selection-map{height:150px;flex:0 0 150px;box-sizing:border-box;padding:16px;background:#edf2f2}
body:is([data-area-county-districts-review],[data-area-county-explorer-standard]) .county-selection-copy{padding:18px 20px 8px}
body:is([data-area-county-districts-review],[data-area-county-explorer-standard]) .county-selection-copy h3{font-size:32px;line-height:1.1;margin-bottom:8px}
body:is([data-area-county-districts-review],[data-area-county-explorer-standard]) .county-selection-person{padding:10px 20px;flex-shrink:0}
body:is([data-area-county-districts-review],[data-area-county-explorer-standard]) .county-selection-facts{margin:auto 0 0;flex-shrink:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
body:is([data-area-county-districts-review],[data-area-county-explorer-standard]) .county-selection-facts>div{min-height:80px;padding:12px}
body:is([data-area-county-districts-review],[data-area-county-explorer-standard]) .county-selection-facts dt{color:#876019;font:800 11px/1.3 system-ui;letter-spacing:.05em}
body:is([data-area-county-districts-review],[data-area-county-explorer-standard]) .county-selection-facts dd{font:800 15px/1.25 system-ui;margin-top:6px}
body:is([data-area-county-districts-review],[data-area-county-explorer-standard]) .county-district-page-footer{height:72px;min-height:72px;flex:0 0 72px;box-sizing:border-box;padding:10px 12px;background:#f4f6f5;border-top:1px solid #d3dfe1;display:flex;align-items:center}
body:is([data-area-county-districts-review],[data-area-county-explorer-standard]) .county-selection-link{margin:0;height:48px;min-height:48px;flex:none;width:100%;padding:8px 12px}
body:is([data-area-county-districts-review],[data-area-county-explorer-standard]) :is(.county-selection-link,.county-picker-open){display:grid;grid-template-columns:20px auto 20px;align-items:center;justify-content:center;gap:8px;border:1px solid #0e5a54;background:#16766f;color:white;box-shadow:0 3px 0 #0a4945;border-radius:4px;font:800 16px/1.25 system-ui;text-decoration:none;box-sizing:border-box;white-space:nowrap}
body:is([data-area-county-districts-review],[data-area-county-explorer-standard]) :is(.county-selection-link,.county-picker-open) .ptp-inline-page-mark{width:18px;height:20px;font-size:10px;line-height:1;--ptp-inline-page-mark-color:currentColor}
body:is([data-area-county-districts-review],[data-area-county-explorer-standard])[data-area-toolbar-review] main .county-review-toolbar .county-map-picker{display:grid;grid-template-columns:max-content minmax(0,1fr) 224px;gap:12px;flex:1 1 0;width:auto;min-width:0}
body:is([data-area-county-districts-review],[data-area-county-explorer-standard]) .county-map-picker .county-picker-open{height:44px;min-height:44px;margin-bottom:3px;align-self:end;padding:8px 12px;font-size:14px}
body:is([data-area-county-districts-review],[data-area-county-explorer-standard]) .county-map-picker select{appearance:none;-webkit-appearance:none;height:47px;min-height:47px;box-sizing:border-box;padding-right:44px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='8' viewBox='0 0 14 8'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%23082f49' stroke-width='1.8'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 14px center;background-size:14px 8px}
body:is([data-area-county-districts-review],[data-area-county-explorer-standard]) .county-review-toolbar .offices-view-tabs{gap:6px}
body:is([data-area-county-districts-review],[data-area-county-explorer-standard]) :is(.offices-view-tabs button,.county-layer-controls button,.county-explorer-controls button){border-radius:4px!important;box-shadow:0 3px 0 #8b9fa3}
body:is([data-area-county-districts-review],[data-area-county-explorer-standard]) .county-map-column .county-explorer-controls{display:flex;justify-content:space-between;align-items:center;flex-wrap:nowrap;padding:10px 12px;background:#f4f6f5}
body:is([data-area-county-districts-review],[data-area-county-explorer-standard]) .county-basemap-tools{display:flex;gap:8px;flex-wrap:nowrap}
body:is([data-area-county-districts-review],[data-area-county-explorer-standard]) .county-map-key .key-selected{background:#876019}
body:is([data-area-county-districts-review],[data-area-county-explorer-standard]) .county-map-key .key-preview{background:#cbbbe0}
body:is([data-area-county-districts-review],[data-area-county-explorer-standard]) .county-selection-vintage{display:none}
body:is([data-area-county-districts-review],[data-area-county-explorer-standard]) :is(.county-selection-link,.county-picker-open,.offices-view-tabs button,.county-layer-controls button,.county-explorer-controls button,.leaflet-control-zoom a){transition:background .15s,box-shadow .15s,transform .15s}
body:is([data-area-county-districts-review],[data-area-county-explorer-standard]) :is(.county-selection-link,.county-picker-open,.offices-view-tabs button,.county-layer-controls button,.county-explorer-controls button,.leaflet-control-zoom a):hover:not(:disabled):not([aria-disabled=true]):not(.leaflet-disabled){background:#105f59;color:white;border-color:#0e5a54;box-shadow:0 4px 0 #0a4945;transform:translateY(-1px)}
body:is([data-area-county-districts-review],[data-area-county-explorer-standard]) :is(.county-selection-link,.county-picker-open,.offices-view-tabs button,.county-layer-controls button,.county-explorer-controls button,.leaflet-control-zoom a):hover:not(:focus-visible){outline:none}
body:is([data-area-county-districts-review],[data-area-county-explorer-standard]) :is(.county-selection-link,.county-picker-open,.offices-view-tabs button,.county-layer-controls button,.county-explorer-controls button,.leaflet-control-zoom a):focus-visible{outline:3px solid #c69c43;outline-offset:3px}
body:is([data-area-county-districts-review],[data-area-county-explorer-standard]) :is(.county-selection-link,.county-picker-open,.offices-view-tabs button,.county-layer-controls button,.county-explorer-controls button,.leaflet-control-zoom a):active:not(:disabled):not([aria-disabled=true]){transform:translateY(1px);box-shadow:0 2px 0 #0a4945}
body:is([data-area-county-districts-review],[data-area-county-explorer-standard]) .county-explorer-controls button:disabled{transform:none;box-shadow:none;background:#e6eaea;color:#768589}
body:is([data-area-county-districts-review],[data-area-county-explorer-standard]) .explorer-atlas-callout{display:flex;align-items:center;justify-content:space-between;gap:28px;background:var(--area-navy,#082f49);border:0;border-top:1px solid var(--area-line,#d3dfe1);padding:24px;margin-top:30px;box-sizing:border-box}
body:is([data-area-county-districts-review],[data-area-county-explorer-standard]) .explorer-atlas-callout h3{font:500 1.3rem/1.2 Georgia,"Times New Roman",serif;margin:0}
body:is([data-area-county-districts-review],[data-area-county-explorer-standard]) .explorer-atlas-callout p:not(.section-kicker){margin:5px 0 0;font-size:.7rem;line-height:1.5}
body:is([data-area-county-districts-review],[data-area-county-explorer-standard]) .countywide-office-photo{border-radius:0}
@media(max-width:1000px){body:is([data-area-county-districts-review],[data-area-county-explorer-standard])[data-area-toolbar-review] main .county-review-toolbar .county-map-picker{grid-template-columns:max-content minmax(0,1fr) 224px;flex-basis:100%}}
@media(max-width:850px){body:is([data-area-county-districts-review],[data-area-county-explorer-standard]) .county-selection{height:auto!important;min-height:650px!important}body:is([data-area-county-districts-review],[data-area-county-explorer-standard]) .county-map-column{height:620px!important}body:is([data-area-county-districts-review],[data-area-county-explorer-standard]) .explorer-atlas-callout{flex-wrap:wrap}}
@media(max-width:600px){body:is([data-area-county-districts-review],[data-area-county-explorer-standard])[data-area-toolbar-review] main .county-review-toolbar .county-map-picker{grid-template-columns:minmax(0,1fr)}body:is([data-area-county-districts-review],[data-area-county-explorer-standard]) .county-map-picker .county-picker-open{width:100%}body:is([data-area-county-districts-review],[data-area-county-explorer-standard]) .county-map-column .county-explorer-controls{flex-wrap:wrap;height:auto;min-height:72px;flex-basis:auto}body:is([data-area-county-districts-review],[data-area-county-explorer-standard]) .county-map-heading{gap:8px}body:is([data-area-county-districts-review],[data-area-county-explorer-standard]) .county-map-key{flex-wrap:wrap;font-size:10px}}
@media(prefers-reduced-motion:reduce){body:is([data-area-county-districts-review],[data-area-county-explorer-standard]) :is(.county-selection-link,.county-picker-open,.offices-view-tabs button,.county-layer-controls button,.county-explorer-controls button,.leaflet-control-zoom a){transition:none!important;transform:none!important}}
body:is([data-area-county-districts-review],[data-area-county-explorer-standard]) .county-map-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}
body:is([data-area-county-districts-review],[data-area-county-explorer-standard]) .county-map-key{color:white;justify-content:flex-end;font:700 11px/1.2 system-ui}
body:is([data-area-county-districts-review],[data-area-county-explorer-standard]) .section-heading .section-kicker{color:#876019}
body:is([data-area-county-districts-review],[data-area-county-explorer-standard]) .leaflet-control-zoom{border:0;background:transparent;box-shadow:none}
body:is([data-area-county-districts-review],[data-area-county-explorer-standard]) .leaflet-control-zoom a{border:1px solid #aabcbf;border-radius:4px!important;box-shadow:0 3px 0 #8b9fa3;margin-bottom:5px}
body:is([data-area-county-districts-review],[data-area-county-explorer-standard]) #districts{display:flex!important}
body:is([data-area-county-districts-review],[data-area-county-explorer-standard]) .county-selection-facts>div:last-child:nth-child(odd){grid-column:1/-1}
body:is([data-area-county-districts-review],[data-area-county-explorer-standard]) .explorer-atlas-callout h3{color:#fff}
body:is([data-area-county-districts-review],[data-area-county-explorer-standard]) .explorer-atlas-callout p:not(.section-kicker){color:#bdd0d7}
body:is([data-area-county-districts-review],[data-area-county-explorer-standard]) .explorer-atlas-callout .section-kicker{color:var(--area-gold,#c69c43);font-size:.56rem;line-height:1.3;letter-spacing:.1em;font-weight:850;text-transform:uppercase;margin:0 0 7px}

body[data-area-county-explorer-standard] #offices>.section-heading{padding-left:8px;padding-right:8px}
body[data-area-county-explorer-standard] .county-review-toolbar .county-layer-controls{gap:6px}
body[data-area-county-explorer-standard] .county-layer-controls>span{display:none}
body[data-area-county-explorer-standard] .county-selection-person[hidden]{display:none!important}
body[data-area-county-explorer-standard] .county-map-key{flex-wrap:wrap;gap:6px 10px}
body[data-area-county-explorer-standard] .county-layer-controls button{white-space:nowrap}
@media(max-width:600px){body[data-area-county-explorer-standard] .county-map-title>strong{font-size:17px}body[data-area-county-explorer-standard] .county-map-key{font-size:10px;max-width:170px}}
body:is([data-area-county-districts-review],[data-area-county-explorer-standard]) .county-review-toolbar .offices-view-tabs{padding:0;border:0;background:transparent}
body:is([data-area-county-districts-review],[data-area-county-explorer-standard]) :is(.county-picker-open,.county-selection-link)[aria-disabled=true]{background:#e6eaea;color:#768589!important;border-color:#c6cecf;box-shadow:none;transform:none;pointer-events:none}

/* Cities/CDPs show their own boundaries without the supervisorial overlay. */
body[data-area-county-explorer-standard] [data-county-explorer][data-county-layer=places] .county-map-key span:has(.key-district){display:none}

/* Pointer selection highlights the geometry, without an SVG bounding-box focus ring. */
body:is([data-area-county-districts-review],[data-area-county-explorer-standard]) .leaflet-interactive:focus:not(:focus-visible){outline:none}
/* Compact countywide leadership cards; the bottom action owns navigation. */
body:is([data-area-county-districts-review],[data-area-county-explorer-standard]) .countywide-offices>.countywide-office-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:15px;align-items:stretch}
body:is([data-area-county-districts-review],[data-area-county-explorer-standard]) [data-compact-office-card]{min-height:0;height:auto;padding:16px 12px 12px;box-sizing:border-box}
body:is([data-area-county-districts-review],[data-area-county-explorer-standard]) [data-compact-office-card] .countywide-office-photo{width:64px;height:72px;flex:0 0 72px;margin-bottom:12px;border-radius:0}
body:is([data-area-county-districts-review],[data-area-county-explorer-standard]) [data-compact-office-card] small{font-size:10px;line-height:1.3}
body:is([data-area-county-districts-review],[data-area-county-explorer-standard]) [data-compact-office-card] h4{font-size:20px;line-height:1.15;margin-top:6px}
body:is([data-area-county-districts-review],[data-area-county-explorer-standard]) [data-compact-office-card] p{font-size:12px;line-height:1.4;margin-top:8px}
body:is([data-area-county-districts-review],[data-area-county-explorer-standard]) .county-office-action-footer{width:100%;padding-top:16px;margin-top:auto;box-sizing:border-box}
body:is([data-area-county-districts-review],[data-area-county-explorer-standard]) .county-office-page-button{display:grid;grid-template-columns:18px minmax(0,1fr) 18px;align-items:center;justify-content:center;gap:6px;box-sizing:border-box;width:100%;min-height:44px;padding:8px;border:1px solid #0e5a54;border-radius:4px;background:#16766f;color:white;font:800 14px/1.25 system-ui;text-align:center;text-decoration:none;box-shadow:0 3px 0 #0a4945;transition:background .15s,box-shadow .15s,transform .15s}
body:is([data-area-county-districts-review],[data-area-county-explorer-standard]) .county-office-page-button .ptp-inline-page-mark{width:18px;height:20px;font-size:10px;line-height:1;--ptp-inline-page-mark-color:currentColor}
body:is([data-area-county-districts-review],[data-area-county-explorer-standard]) .county-court-link.county-office-page-button{min-height:48px;margin-top:auto;font-size:16px;grid-template-columns:20px minmax(0,1fr) 20px;padding:10px 12px}
body:is([data-area-county-districts-review],[data-area-county-explorer-standard]) .county-office-page-button:hover:not([aria-disabled=true]){background:#105f59;color:white;border-color:#0e5a54;transform:translateY(-1px);box-shadow:0 4px 0 #0a4945;outline:none}
body:is([data-area-county-districts-review],[data-area-county-explorer-standard]) .county-office-page-button:active:not([aria-disabled=true]){transform:translateY(1px);box-shadow:0 2px 0 #0a4945}
body:is([data-area-county-districts-review],[data-area-county-explorer-standard]) .county-office-page-button:focus-visible{outline:3px solid #c69c43;outline-offset:3px}
body:is([data-area-county-districts-review],[data-area-county-explorer-standard]) .county-office-page-button[aria-disabled=true]{background:#e6eaea;color:#768589;border-color:#c6cecf;box-shadow:none;transform:none;cursor:default}
@media(max-width:1100px){body:is([data-area-county-districts-review],[data-area-county-explorer-standard]) .countywide-offices>.countywide-office-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:700px){body:is([data-area-county-districts-review],[data-area-county-explorer-standard]) .countywide-offices>.countywide-office-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:460px){body:is([data-area-county-districts-review],[data-area-county-explorer-standard]) .countywide-offices>.countywide-office-grid{grid-template-columns:minmax(0,1fr)}}
@media(prefers-reduced-motion:reduce){body:is([data-area-county-districts-review],[data-area-county-explorer-standard]) .county-office-page-button{transition:none!important;transform:none!important}}
/* Courthouse summary stays a compact two-by-two grid above its page action. */
body:is([data-area-county-districts-review],[data-area-county-explorer-standard]) .county-court-stats{grid-template-columns:repeat(2,minmax(0,1fr))!important}

/* Administrative offices use a full-width portrait/details/action row. */
body:is([data-area-county-districts-review],[data-area-county-explorer-standard]) .county-administrative-offices .countywide-office-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:15px;width:100%}
body:is([data-area-county-districts-review],[data-area-county-explorer-standard]) [data-administrative-office]{display:grid;grid-template-columns:80px minmax(0,1fr) 224px;gap:20px;align-items:center;width:100%;min-height:0;padding:20px;text-align:left}
body:is([data-area-county-districts-review],[data-area-county-explorer-standard]) [data-administrative-office] .countywide-office-photo{width:72px;height:88px;flex:none;margin:0}
body:is([data-area-county-districts-review],[data-area-county-explorer-standard]) .county-admin-copy{min-width:0}
body:is([data-area-county-districts-review],[data-area-county-explorer-standard]) .county-admin-copy small{display:block;min-height:0}
body:is([data-area-county-districts-review],[data-area-county-explorer-standard]) .county-admin-copy h4{margin-top:6px}
body:is([data-area-county-districts-review],[data-area-county-explorer-standard]) [data-administrative-office] .county-office-action-footer{padding:0;margin:0}
body:is([data-area-county-districts-review],[data-area-county-explorer-standard]) [data-administrative-office] .county-office-page-button{font-size:16px}
@media(max-width:700px){body:is([data-area-county-districts-review],[data-area-county-explorer-standard]) [data-administrative-office]{grid-template-columns:72px minmax(0,1fr);gap:16px;padding:16px}body:is([data-area-county-districts-review],[data-area-county-explorer-standard]) [data-administrative-office] .county-office-action-footer{grid-column:1/-1}}
/* Compact card actions keep the full page label on one line at five-column widths. */
body:is([data-area-county-districts-review],[data-area-county-explorer-standard]) [data-compact-office-card]:not([data-administrative-office]) .county-office-page-button{grid-template-columns:14px minmax(0,1fr) 14px;gap:4px;padding:8px 7px;font-size:12px;white-space:nowrap}
body:is([data-area-county-districts-review],[data-area-county-explorer-standard]) [data-compact-office-card]:not([data-administrative-office]) .county-office-page-button .ptp-inline-page-mark{width:14px;height:16px;font-size:8px}
/* Meeting information belongs to the future meeting section, outside 2-2 Area. */
body[data-area-county-districts-review] #districts>.subareas-meeting-summary{display:none!important}
