/* County and municipality pages, November 30, 2026: Side Card design in the map page style */
html.p2-pre main .wrap{visibility:hidden}
@media screen{
html.p2c .cw-hd,html.p2c .cz-map,html.p2c .cz-sum,html.p2m header.chead,html.p2m .tc #statewide{position:absolute!important;left:-99999px!important;top:0!important;width:1100px!important;visibility:hidden!important;pointer-events:none!important}
html.p2m .ov-top .score{display:none!important}html.p2m .ov-top{display:block!important}
html.p2c main .wrap,html.p2m main .wrap{padding-top:0!important;overflow:visible!important}
html.p2m .tc{margin-top:26px!important}
}
.p2-hero,.p2-band{width:calc(100vw - var(--p2sb,0px));margin-left:calc(50% - 50vw + var(--p2sb,0px)/2);box-sizing:border-box}
.p2-hero{position:relative;padding:22px max(20px,calc((100vw - var(--p2sb,0px) - 1140px)/2));background:#1D4FA8 url(/media/photos/farmroad.jpg) center 55%/cover;background-blend-mode:luminosity;color:#fff}
.p2-hero::before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(8,18,46,.92) 0,rgba(10,36,92,.8) 50%,rgba(11,46,111,.66) 80%,rgba(120,90,20,.5))}
.p2-hero>*{position:relative}
.p2-row{display:flex;flex-wrap:wrap;gap:14px 28px;align-items:center;justify-content:space-between}
.p2-hero nav{font-size:14.5px;margin:0 0 8px;color:#E6ECFA}.p2-hero nav *{color:#E6ECFA!important}.p2-hero nav a{color:#fff!important;text-decoration:underline}
.p2-hero h1{font:800 36px/1.1 var(--display,Montserrat,sans-serif)!important;margin:0!important;color:#fff!important;text-align:left}
.p2-btns,.p2-cb{display:flex;flex-wrap:wrap;gap:10px}
.p2-btn,.p2-btns>*{display:inline-flex!important;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:0 20px!important;border-radius:999px!important;font-weight:800!important;font-size:15.5px!important;line-height:1.2!important;font-family:inherit!important;text-decoration:none!important;border:2px solid #fff!important;color:#fff!important;background:transparent!important;box-sizing:border-box;cursor:pointer;box-shadow:none!important}
.p2-btns>.gold,.p2-btn.gold{background:#FFB81C!important;border-color:#FFB81C!important;color:#0D1E45!important}
.p2-btn.navy{background:#0B2E6F!important;border-color:#0B2E6F!important;color:#fff!important}
.p2-btns svg,.p2-btn svg{width:18px!important;height:18px!important;flex:none}.p2-btn{text-align:center}
.p2-hero a:focus-visible,.p2-hero button:focus-visible{outline:3px solid #FFB81C;outline-offset:2px}
.p2-band{position:relative;padding:26px max(20px,calc((100vw - var(--p2sb,0px) - 1140px)/2)) 30px;background:#F4EFE3 url(/media/textures/handmade-ivory.jpg) 0 0/700px;--m2-fg:#0D1E45;--m2-muted:#4A5672;color:#0D1E45}
.p2-band+*{margin-top:26px!important}
.p2-skip{position:absolute;left:-9999px}.p2-skip:focus{left:20px;top:6px;z-index:9;background:#fff;color:#0B3FA8;padding:8px 14px;border-radius:8px;font-weight:700}
.p2-2{display:grid;grid-template-columns:minmax(0,min(60%,calc(620px*var(--p2a,1.2)))) minmax(0,1fr);gap:28px;align-items:stretch}
.p2-2.p2-fill{grid-template-columns:minmax(0,1.3fr) minmax(0,1fr)}
.p2-map{position:relative;align-self:center;min-width:0}.p2-fill .p2-map{align-self:stretch;min-height:320px}
.p2-map>svg{display:block;width:100%;height:auto;touch-action:manipulation}
.p2-fill .p2-map>svg{position:absolute;inset:0;height:100%;border-radius:14px;border:2px solid #06122E;box-sizing:border-box;background:#E9E3D3}
.p2-pl{stroke:#06122E;stroke-linejoin:round;vector-effect:non-scaling-stroke;cursor:pointer;outline:none}
.p2-pl.me{cursor:default}
.p2-pl.on,.p2-pl:focus-visible{fill:color-mix(in srgb,var(--hl) 88%,transparent)!important;stroke-width:2.6px!important}
.p2-ol{fill:none;stroke:#06122E;stroke-linejoin:round;vector-effect:non-scaling-stroke;pointer-events:none}
.p2-tip{font-size:16px}.p2-tip.pin{pointer-events:auto}
.p2-key{display:flex;flex-wrap:wrap;gap:8px 22px;margin:14px 0 0;padding:0;list-style:none;font-size:15px;font-weight:700;color:var(--m2-fg)}
.p2-key i{display:inline-block;width:16px;height:16px;border-radius:4px;margin-right:8px;vertical-align:-2px;border:1.5px solid #06122E}
.p2-card.m2-box{position:static;width:auto;pointer-events:auto;display:flex;font-size:16px}.p2-card.m2-box::after{display:none}
.p2-card .m2-bd,.p2-card .m2-fr{flex:1;display:flex}
.p2-card .m2-fr2{flex:1;display:flex;flex-direction:column;justify-content:space-between;gap:12px;padding:18px 22px 20px}
.p2-card h2{font-size:30px!important;line-height:1.15!important}.p2-card .m2-cty{font-size:16px!important}
.p2-card .m2-rule,.p2-card .m2-cnt,.p2-card .m2-stl,.p2-card .m2-more{margin:0!important}
.p2-card .m2-cnt b{font-size:64px}.p2-card .m2-cnt span{font-size:18px}
.p2-cc h2{font-size:44px!important;line-height:1.08!important}.p2-cc .m2-cty{font-size:17.5px!important;margin-top:8px!important}.p2-card .m2-fr2{container-type:inline-size}.p2-cc .m2-cnt{gap:12px;flex-wrap:nowrap;white-space:nowrap}.p2-cc .m2-cnt b{font-size:clamp(48px,19cqw,76px)}.p2-cc .m2-cnt span{font:800 clamp(16px,5.9cqw,27px)/1.15 var(--display,Montserrat,sans-serif)}
.p2-card .m2-stl{font-size:20px}.p2-card .m2-stl svg{width:32px;height:32px}
.p2-rows{margin:0;padding:0;list-style:none;display:grid;gap:11px;font-size:17px}.p2-rows li{display:flex;justify-content:space-between;gap:12px}.p2-rows li b{font-weight:800;text-align:right}.p2-rows a{color:inherit;text-decoration:underline}
.p2-note{margin:0;font-size:17px;font-weight:700}
.p2-card .m2-more ul{font-size:14.5px;gap:8px 16px}.p2-card .m2-more li{white-space:nowrap}
@container (max-width:372px){.p2-card .m2-more ul{grid-template-columns:1fr}}.p2-card .m2-more p{font-size:14.5px}
.p2-card .p2-btn{flex:1;min-height:52px;font-size:16.5px!important;text-shadow:none;border-color:currentColor!important;color:inherit!important}
.p2-card .p2-btn.gold{color:#0D1E45!important;border-color:#FFB81C!important}.p2-card .p2-btn.white{background:#fff!important;color:#0D1E45!important;border-color:#fff!important}.p2-card .p2-btn svg{width:22px!important;height:22px!important}.p2-card .p2-btn svg,.p2-card .p2-btn svg *{stroke-width:3!important}.p2-card .p2-btn.navy{color:#fff!important;border-color:#0B2E6F!important}
.p2-card a:focus-visible,.p2-card button:focus-visible{outline:3px solid currentColor;outline-offset:2px}
@media (max-width:900px){.p2-hero{padding:20px}.p2-hero::before{background:rgba(8,18,46,.84)}.p2-hero h1{font-size:30px!important}.p2-band{padding:20px 20px 24px}.p2-2,.p2-2.p2-fill{grid-template-columns:1fr;gap:18px}.p2-fill .p2-map{aspect-ratio:1.2;min-height:0}.p2-card h2{font-size:24px!important}.p2-card .m2-cnt b{font-size:46px}.p2-cc h2{font-size:32px!important}.p2-btns{width:100%}}
.p2-2>*,.p2-card .m2-bd,.p2-card .m2-fr,.p2-card .m2-fr2{min-width:0}
@media (max-width:560px){.p2-card .m2-more ul{grid-template-columns:1fr}}
@media (prefers-reduced-motion:reduce){.p2-pl{transition:none}}
@media (prefers-color-scheme:dark){
:root:not([data-theme="light"]) .p2-band{background-color:#0E1B3F;background-blend-mode:multiply;--m2-fg:#F2F5FB;--m2-muted:#B5C0DA;color:#F2F5FB}
:root:not([data-theme="light"]) .p2-key i{border-color:#F2F5FB}
:root:not([data-theme="light"]) .p2-fill .p2-map>svg{background:#16264F;border-color:#F2F5FB}
}
:root[data-theme="dark"] .p2-band{background-color:#0E1B3F;background-blend-mode:multiply;--m2-fg:#F2F5FB;--m2-muted:#B5C0DA;color:#F2F5FB}
:root[data-theme="dark"] .p2-key i{border-color:#F2F5FB}
:root[data-theme="dark"] .p2-fill .p2-map>svg{background:#16264F;border-color:#F2F5FB}
@media print{.p2-band,.p2-btns,.p2-hero::before{display:none!important}.p2-hero{width:auto;margin:0;padding:0 0 8px;background:none!important}.p2-hero h1,.p2-hero nav,.p2-hero nav *{color:#000!important}html.p2c .cw-hd,html.p2m header.chead{display:none!important}}
/* Ten Core Protections dialog: each strongest example reads as a full-width block */
#mdetail .cpdlg .sxt thead{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);display:block}
#mdetail .cpdlg .sxt tr{display:grid;grid-template-columns:1fr auto;gap:8px 12px;align-items:center;padding:16px 0;border-bottom:1px solid var(--rule-2)}
#mdetail .cpdlg .sxt th,#mdetail .cpdlg .sxt td{border:0;padding:0;min-width:0}
#mdetail .cpdlg .sxt tbody th{font-size:17px}
#mdetail .cpdlg .sxt td:nth-child(3){grid-column:1/-1;font-size:16px;line-height:1.55}
#mdetail .cpdlg .sxt td:nth-child(3) a{font-weight:700}
#mdetail .cpdlg .swhy{font-size:16px;line-height:1.55;color:var(--fg);margin-top:6px}
#mdetail .cpdlg sup.cite{font-weight:700}
/* County table status squares match the map colors */
html.p2c .cw-pill i{background:#5A6478!important;border:1.5px solid #06122E!important}
html.p2c .cw-pill.cw-adopted i{background:#0B2E6F!important}
html.p2c .cw-pill.cw-pending i{background:#FFB81C!important}
/* in dark mode the adopted square is a brighter blue so it stands out from the dark background */
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]).p2c .cw-pill i{border-color:#F2F5FB!important}:root:not([data-theme="light"]).p2c .cw-pill.cw-adopted i,:root:not([data-theme="light"]) .p2-key li:first-child i{background:#2F6FD6!important}}
:root[data-theme="dark"].p2c .cw-pill i{border-color:#F2F5FB!important}:root[data-theme="dark"].p2c .cw-pill.cw-adopted i,:root[data-theme="dark"] .p2-key li:first-child i{background:#2F6FD6!important}
/* Summary box: the county rules note shows in full, at the full width of the box */
#mdetail .ov-body .covmore{display:none!important}
#mdetail .ov-body .covnote{display:block!important;max-width:none!important;width:auto!important;box-sizing:border-box;padding-bottom:10px!important}

.m2-box .m2-h{font:800 19px/1.2 var(--display,Montserrat,sans-serif);margin:0;color:inherit}
