/* v4 page "permit_hub" (/permit-rules): page-only rules. The map is drawn by the server (app/permit_rules.hub_map_svg); its classes are styled here. */
.ph-head{background:var(--pale);border-bottom:1px solid var(--line);padding:48px 0 36px}
.ph-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);gap:40px;align-items:center}
.ph-head h1{font-size:clamp(32px,4.2vw,48px);font-weight:620;max-width:none;margin-bottom:16px}
.ph-head .sub{font-size:19px;line-height:1.5;color:var(--ink);margin-bottom:14px}
.ph-sub2{font-size:17px;line-height:1.55;color:var(--muted)}
.ph-note{margin-top:12px;font-size:16px;color:var(--muted)}
.ph-map{margin:0}
.ph-map svg{display:block;width:100%;height:auto}
.ph-map .st{fill:#EEF1F5;stroke:#fff;stroke-width:1}
.ph-map .st.cov{fill:#D3DFEE}
.ph-map .pr-maplab{font-size:17px;font-weight:700;fill:var(--ink);paint-order:stroke;stroke:#fff;stroke-width:4px;stroke-linejoin:round;font-family:var(--body)}
.ph-map .pr-dot{stroke:#fff;stroke-width:1.6}
.ph-map .pr-dot.req{fill:var(--navy)}
.ph-map .pr-dot.dep{fill:#fff;stroke:var(--navy);stroke-width:3}
.ph-map .pr-dot.oth{fill:var(--muted)}
.ph-map .pr-dotlink:hover .pr-dot,.ph-map .pr-dotlink:focus-visible .pr-dot{stroke:var(--ink)}
.ph-legend{list-style:none;margin:12px 0 0;padding:0;display:flex;flex-wrap:wrap;gap:6px 22px;font-size:16px;color:var(--ink)}
.ph-legend li{display:flex;align-items:center;gap:8px}
.ph-dot{display:inline-block;width:14px;height:14px;border-radius:50%;box-sizing:border-box}
.ph-dot.req{background:var(--navy)}
.ph-dot.dep{background:#fff;border:3px solid var(--navy)}
.ph-dot.oth{background:var(--muted)}
.ph-section{padding-top:56px;padding-bottom:56px}
.ph-section .section-head{margin-bottom:24px}
.ph-table th,.ph-table td{text-align:left}
.ph-table th[scope=row]{font-weight:650}
.ph-table td,.ph-table th{padding:10px 14px;vertical-align:top}
.ph-table caption{text-align:left;padding:0 0 10px;font:600 18px/1.3 var(--head);color:var(--navy)}
.ph-table a{display:inline-flex;align-items:center;min-height:44px}
.ph-tag{display:inline-block;padding:1px 8px;border:1px solid var(--navy);border-radius:999px;font-size:14px;color:var(--navy)}
.ph-foot{margin-top:18px;font-size:16px;color:var(--muted)}
.ph-foot a{display:inline-flex;align-items:center;min-height:44px}
.ph-end{background:var(--pale);border-top:1px solid var(--line);padding:48px 0}
.ph-end-row{display:flex;align-items:center;gap:24px}
.ph-end-row h2{font-size:clamp(26px,2.6vw,34px)}
.ph-end-row p{margin-top:8px;max-width:58ch;color:var(--ink)}
.ph-end-actions{margin-left:auto;display:flex;flex-direction:column;align-items:flex-start;gap:6px}
.ph-end-actions .text-link{display:inline-flex;align-items:center;min-height:44px}
@media (max-width:900px){.ph-grid{grid-template-columns:1fr;gap:24px}}
@media (max-width:700px){
 .ph-head{padding:32px 0 24px}
 .ph-head .sub{font-size:18px}
 .ph-section{padding-top:40px;padding-bottom:40px}
 .ph-end-row{flex-direction:column;align-items:flex-start}
 .ph-end-actions{margin-left:0;width:100%}
 .ph-end-actions .button{width:100%}
}
