

.enf-pill { display: inline-block; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; line-height: 1.2; padding: 3px 10px; border-radius: 999px; white-space: nowrap; }
.enf-pill-notice { background: var(--status-refused-bg); color: var(--status-refused); }
.enf-pill-appeal { background: var(--status-warning-bg); color: var(--status-warning); }
.enf-pill-open { background: var(--status-pending-bg); color: var(--status-pending); }
.enf-pill-ok { background: var(--status-approved-bg); color: var(--status-approved); }

.enf-report { font-size: 15px; line-height: 1.6; color: var(--text); margin: -10px 0 24px; max-width: 720px; }
.enf-report a, .enf-table-note a { color: var(--brand-dark); font-weight: 600; text-decoration: none; }
.enf-report a:hover, .enf-table-note a:hover { text-decoration: underline; }
.enf-breach { font-size: 14px; line-height: 1.5; color: var(--text-secondary); margin: 4px 0 0; }
.enf-kind { font-weight: 600; color: var(--text-secondary); }
.enf-table-wrap { max-width: 820px; overflow-x: auto; }
.enf-table { width: 100%; border-collapse: collapse; font-size: 15px; font-variant-numeric: tabular-nums; }
.enf-table th, .enf-table td { text-align: right; padding: 11px 0 11px 18px; border-bottom: 1px solid var(--border); white-space: nowrap; }
.enf-table th:first-child, .enf-table td:first-child { text-align: left; padding-left: 0; white-space: normal; }
.enf-table thead th { font-size: 13px; font-weight: 600; color: var(--text-secondary); border-top: 3px solid var(--text); border-bottom: 1px solid var(--border-hover); }
.enf-table td { color: var(--text); }
.enf-table-note { font-size: 13px; line-height: 1.55; color: var(--text-muted); margin: 10px 0 0; max-width: 720px; }
.ap-wrap .ap-next { margin-top: 0; }

.detail-page > .crumb { padding: 26px 16px 0; margin-bottom: 22px; }
.enf-sec { padding: 0 0 30px; }
.enf-sec .ap-list { margin: 0; }
.enf-sec .ap-row { padding-left: 0; padding-right: 0; }
.enf-sec .ap-addr { font-size: 15px; }
.enf-sec-foot { font-size: 13px; line-height: 1.55; color: var(--text-muted); margin: 12px 0 0; }
.enf-sec-foot a, .enf-side-links a { color: var(--brand-dark); font-weight: 600; text-decoration: none; }
.enf-sec-foot a:hover, .enf-side-links a:hover { text-decoration: underline; }
.enf-side-links { display: flex; flex-direction: column; gap: 8px; margin: 12px 0 0; font-size: 14px; }
.detail-col-right .cov-faqs { border-top: 1px solid var(--border); }
.detail-col-right .cov-faq summary { padding: 13px 0; font-size: 14.5px; }
.enf-src { font-size: 13px; line-height: 1.55; color: var(--text-muted); margin: 26px 16px 0; max-width: 760px; }

@media (max-width: 680px) {
  .enf-report { margin-top: -8px; }
  .enf-table { font-size: 14px; }
  .enf-table th, .enf-table td { padding-left: 12px; }
}
.enf-table tbody th { font-weight: 500; }
.enf-table thead th { white-space: normal; vertical-align: bottom; }
.enf-table td.enf-nc { white-space: normal; color: var(--text-muted); font-size: 13px; }
@media (max-width: 680px) {
  .enf-table th, .enf-table td { padding-left: 10px; }
  .enf-table thead th:not(:first-child) { width: 19%; }
}
.enf-table thead th { white-space: nowrap; }
.enf-table thead th:last-child { white-space: normal; }
@media (max-width: 680px) {
  .enf-table thead th:not(:first-child) { width: auto; }
  .enf-table thead th:last-child { width: 64px; }
}
.detail-col-left .enf-sec { margin-bottom: 28px; }

.enf-hub { --hmo: #475569; }

.enf-hub .lxe-hero { min-height: 0; overflow: visible; }
.enf-hub .lxe-hero-copy { max-width: 760px; padding: 32px 0 72px; }
.enf-hub .lxe-sub, .enf-hub.lxe .lxe-search, .enf-hub .lxe-try, .enf-hub .lxe-api { max-width: 560px; }

.enf-hub .lxe-api { margin: 12px 0 0; font-size: 14px; line-height: 1.5; color: var(--lxe-muted); text-wrap: pretty; }
.enf-hub .lxe-api a { font-weight: 600; color: var(--brand-dark); text-decoration: none; }
.enf-hub .lxe-api a:hover { text-decoration: underline; }
.enf-hub .lx-bands .cml-strip-dot { background: #cbd5e1; }
.enf-hub .cml-rank a { color: #fff; text-decoration: none; }
.enf-hub .cml-rank a:hover { text-decoration: underline; }
.enf-hub .cml-rank td { font-variant-numeric: tabular-nums; }
.enf-hub .ap-list { margin: 24px 0 0; padding: 0; list-style: none; }
.enf-hub .ap-meta a { color: var(--text-secondary); }
.enf-hub .ap-meta a:hover { color: var(--brand-dark); text-decoration: underline; }
.enf-hub .enf-breach { max-width: none; }
.enf-hub .enf-fig-lede, .enf-hub .enf-links-p { margin: 16px 0 0; font-size: 17px; line-height: 1.6; color: var(--text-secondary); }
.enf-hub .enf-figures .enf-table-wrap { margin-top: 24px; }
.enf-hub .enf-types .lxe-grid { margin-top: 32px; }
.enf-hub .enf-links .lxe-ruled { padding-top: 4px; }
.enf-hub .lxe-lab { font: 600 16px/1.35 var(--font); letter-spacing: 0; text-transform: none; color: var(--text); }
.enf-hub .lxe-list li > a { min-height: 56px; }
@media (max-width: 900px) {
  .enf-hub .lxe-hero-copy { padding: 16px 0 48px; }
  .enf-hub .lxe-sub, .enf-hub.lxe .lxe-search, .enf-hub .lxe-try, .enf-hub .lxe-api { max-width: none; }
}
.enf-hub > .hx-wrap:first-of-type > .hx-councils { margin-top: clamp(56px, calc(6vw / var(--bs-zoom, 1)), 88px); }

.enf-regions { margin: 24px 0 0; border-top: 1px solid var(--border-strong, #cfd6de); }
.enf-reg { border-bottom: 1px solid #e3e7ec; }
.enf-reg[hidden] { display: none; }
.enf-reg summary { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 16px 4px; cursor: pointer; list-style: none; }
.enf-reg summary::-webkit-details-marker { display: none; }
.enf-reg summary:hover .enf-reg-name { color: var(--brand-dark, #0f5c4d); }
.enf-reg summary:focus-visible { outline: 2px solid var(--brand, #14806a); outline-offset: -2px; }
.enf-reg-name { font-size: 17px; font-weight: 700; color: var(--text, #111); }
.enf-reg-name::before { content: ""; display: inline-block; width: 7px; height: 7px; margin: 0 12px 2px 2px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-45deg); transition: transform .15s; }
.enf-reg[open] .enf-reg-name::before { transform: rotate(45deg); }
.enf-reg-n { font-size: 14px; color: var(--text-muted, #5b6672); white-space: nowrap; font-variant-numeric: tabular-nums; }
.enf-reg-list { list-style: none; margin: 0; padding: 0 4px 20px 25px; columns: 3 220px; column-gap: 32px; }
.enf-reg-list li { break-inside: avoid; padding: 4px 0; font-size: 15px; line-height: 1.35; }
.enf-reg-list li[hidden] { display: none; }
.enf-reg-list a { color: var(--text, #111); text-decoration: none; }
.enf-reg-list a:hover { color: var(--brand-dark, #0f5c4d); text-decoration: underline; }
@media (max-width: 560px) { .enf-reg-list { columns: 1; padding-left: 21px; } .enf-reg-list li { padding: 7px 0; } }

.enf-chooser { list-style: none; margin: 16px 0 0; padding: 0; }
.enf-empty { font-size: 15px; line-height: 1.6; color: var(--text-secondary); margin: 16px 0 0; max-width: 720px; }
.enf-near-head { margin: 0 0 8px; }

.ap-wrap .enf-search { max-width: 560px; margin: 20px 0 32px; }
@media (max-width: 640px) { .ap-wrap .enf-search { max-width: none; margin: 16px 0 24px; } }

.enf-maplink { display: inline-flex; align-items: center; gap: 8px; height: 48px; padding: 0 18px; box-sizing: border-box; font: 600 15px var(--font); color: var(--brand-dark, #0f5c4d);
  background: var(--card-bg, #fff); border: 1px solid var(--border-strong, #cfd6de); border-radius: 10px; text-decoration: none; white-space: nowrap; }
.enf-maplink:hover { border-color: var(--brand-dark, #0f5c4d); background: #f6faf9; }
.enf-maplink:focus-visible { outline: 2px solid var(--brand, #14806a); outline-offset: 2px; }
.enf-maplink svg { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.enf-findrow { display: flex; align-items: stretch; gap: 12px; max-width: 720px; margin: 32px 0 0; }
.enf-findrow .lx-search, .enf-hub.lxe .enf-findrow .lxe-search, .ap-wrap .enf-findrow .enf-search { flex: 1 1 auto; min-width: 0; max-width: none; margin: 0; }
.enf-findrow .enf-maplink { flex: none; height: 64px; padding: 0 22px; border-radius: 14px; }
.ap-wrap .enf-findrow { margin: 20px 0 32px; }
.ap-filters .enf-maplink { align-self: flex-end; height: 42px; border-radius: var(--radius, 8px); }
@media (max-width: 679px) {
  .enf-findrow { gap: 8px; margin-top: 24px; }
  .ap-wrap .enf-findrow { margin: 16px 0 24px; }
  .enf-findrow .enf-maplink { width: 56px; height: 56px; padding: 0; justify-content: center; }
  .enf-findrow .enf-maplink span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
@media (max-width: 640px) { .ap-filters .enf-maplink { justify-content: center; } }

.enfm-page { background: var(--bg, #fff); }
.enfm { display: flex; flex-direction: column; height: calc(calc(100dvh / var(--bs-zoom, 1)) - var(--nav-h, 56px)); min-height: 480px; }
.enfm-bar { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; padding: 14px 24px 14px; border-bottom: 1px solid var(--border, #e3e7ec); background: var(--card-bg, #fff); }
.enfm-head { min-width: 0; }
.enfm-crumb { display: flex; flex-wrap: wrap; gap: 6px; font-size: 13px; color: var(--text-muted, #5b6672); }
.enfm-crumb a { color: var(--text-muted, #5b6672); text-decoration: none; }
.enfm-crumb a:hover { color: var(--text, #111); text-decoration: underline; }
.enfm-h1 { margin: 4px 0 0; font-size: 24px; line-height: 1.25; font-weight: 700; color: var(--text, #111); text-align: left; }
.enfm .enfm-search { flex: 0 1 460px; height: 48px; margin: 0; border-radius: 10px; }
.enfm .enfm-search button { margin: 5px; padding: 0 20px; font-size: 15px; border-radius: 7px; }
.enfm-msg { margin: 0; padding: 10px 24px; font-size: 14px; line-height: 1.5; color: var(--text, #111); background: #fffbeb; border-bottom: 1px solid #f3e3b5; }
.enfm-mapwrap { position: relative; flex: 1 1 auto; min-height: 0; }
.enfm-map { position: absolute; inset: 0; background: #eef1f4; }

.enfm-key { position: absolute; left: 12px; top: 12px; z-index: 2; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; max-width: 280px; padding: 10px 12px;
  background: var(--card-bg, #fff); border: 1px solid var(--border, #e3e7ec); border-radius: 10px; box-shadow: 0 1px 4px rgba(15,23,42,.12); }
.enfm-k { display: inline-flex; align-items: center; gap: 8px; min-height: 30px; padding: 0 6px; margin: 0 -6px; font: 500 14px var(--font); color: var(--text, #111); background: none; border: 0; border-radius: 6px; cursor: pointer; }
.enfm-k:hover { background: #f1f4f7; }
.enfm-k:focus-visible { outline: 2px solid var(--brand, #14806a); outline-offset: 0; }
.enfm-k[aria-pressed="false"] { color: var(--text-muted, #5b6672); text-decoration: line-through; }
.enfm-k[aria-pressed="false"] .enfm-dot { opacity: .3; }
.enfm-open { display: inline-flex; align-items: center; gap: 9px; min-height: 32px; padding: 0 6px; margin: 0 -6px 4px; font: 600 14px var(--font); color: var(--text, #111); background: none; border: 0; border-radius: 6px; cursor: pointer; }
@media (hover: hover) {
  .enfm-open:hover { background: #f1f4f7; }
  .enfm-open:hover > .plota-sw { background: #b6c2d0; }
  .enfm-open.is-on:hover > .plota-sw { background: var(--filter-accent, #16305c); }
}
.enfm-open:focus-visible { outline: 2px solid var(--brand, #14806a); outline-offset: 0; }
.enfm-dot { display: inline-block; width: 12px; height: 12px; border-radius: 50%; border: 1.5px solid #fff; box-shadow: 0 0 0 1px rgba(15,23,42,.18); flex: none; }
.enfm-dot-a { background: #991b1b; }
.enfm-dot-o { background: #374151; }
.enfm-dot-c { background: #94a3b8; }
.enfm-k-pc { display: flex; align-items: center; gap: 8px; margin: 4px 0 0; font-size: 13px; line-height: 1.35; color: var(--text-secondary, #374151); }
.enfm-ring { display: inline-block; width: 12px; height: 12px; box-sizing: border-box; border-radius: 50%; border: 2.5px solid #374151; background: rgba(55,65,81,.18); flex: none; margin: 0 1.5px; }
.enfm-count { margin: 6px 0 0; font-size: 13px; color: var(--text-muted, #5b6672); font-variant-numeric: tabular-nums; }
.enfm-count:empty { display: none; }
.enfm-note { position: absolute; top: 12px; left: 50%; transform: translateX(-50%); z-index: 3; max-width: calc(100% - 24px); padding: 8px 14px; font-size: 14px;
  color: var(--text, #111); background: var(--card-bg, #fff); border: 1px solid var(--border, #e3e7ec); border-radius: 8px; box-shadow: 0 1px 4px rgba(15,23,42,.12); }
.enfm-note[hidden] { display: none; }

.enfm-card { position: absolute; top: 12px; right: 12px; z-index: 4; width: 340px; max-width: calc(100% - 24px); max-height: calc(100% - 24px); overflow: auto; box-sizing: border-box; padding: 16px 18px 18px;
  background: var(--card-bg, #fff); border: 1px solid var(--border, #e3e7ec); border-radius: 12px; box-shadow: 0 4px 16px rgba(15,23,42,.16); }
.enfm-card[hidden] { display: none; }
.enfm-card-handle { display: none; }
.enfm-card-x { position: absolute; top: 8px; right: 8px; display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; padding: 0; color: var(--text-muted, #5b6672); background: none; border: 0; border-radius: 8px; cursor: pointer; }
.enfm-card-x:hover { background: #f1f4f7; color: var(--text, #111); }
.enfm-card-x svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.enfm-card-top { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding-right: 36px; }
.enfm-card-kind { font-size: 13px; font-weight: 600; color: var(--text-secondary, #374151); }
.enfm-card-addr { margin: 10px 0 0; font-size: 17px; line-height: 1.35; font-weight: 700; }
.enfm-card-addr a { color: var(--text, #111); text-decoration: none; }
.enfm-card-addr a:hover { text-decoration: underline; }
.enfm-card-meta { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 6px 0 0; font-size: 13px; color: var(--text-muted, #5b6672); }
.enfm-card-ref { font-variant-numeric: tabular-nums; }
.enfm-card-date { margin: 8px 0 0; font-size: 14px; color: var(--text, #111); }
.enfm-card-what { margin: 8px 0 0; font-size: 14px; line-height: 1.5; color: var(--text-secondary, #374151); }
.enfm-card-pc { margin: 8px 0 0; font-size: 13px; line-height: 1.4; color: var(--text-muted, #5b6672); }
.enfm-card-wait { margin: 4px 0; font-size: 14px; color: var(--text-muted, #5b6672); }
.enfm-card-go { display: flex; align-items: center; justify-content: center; height: 44px; margin-top: 14px; font: 700 15px var(--font); color: #fff; background: var(--brand-dark, #0f5c4d); border-radius: 8px; text-decoration: none; }
.enfm-card-go:hover { background: var(--brand-deep, #0b4a3e); }

.enfm-about { max-width: 760px; margin: 0 auto; padding: 40px 24px 56px; }
.enfm-about h2 { margin: 0 0 12px; font-size: 20px; font-weight: 700; color: var(--text, #111); text-align: left; }
.enfm-about p { margin: 0 0 12px; font-size: 15px; line-height: 1.6; color: var(--text-secondary, #374151); }

@media (max-width: 768px) {
  .enfm-bar { flex-direction: column; align-items: stretch; gap: 10px; padding: 10px 16px 12px; }
  .enfm-h1 { font-size: 19px; }
  .enfm .enfm-search { flex: none; }
  .enfm-msg { padding: 8px 16px; font-size: 13px; }
  .enfm-key { left: 8px; right: 8px; bottom: auto; top: 8px; max-width: none; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 0 14px; padding: 6px 12px; }
  .enfm-k { font-size: 13px; min-height: 32px; }
  .enfm-open { flex-basis: 100%; margin: 0 -6px; font-size: 13px; }
  .enfm-k-pc { flex-basis: 100%; margin: 0; font-size: 12px; }
  .enfm-count { flex-basis: 100%; margin: 2px 0 2px; font-size: 12px; }
  .enfm-note { top: auto; bottom: 12px; }
  .enfm-card { position: fixed; top: auto; left: 0; right: 0; bottom: 0; z-index: 1010; width: auto; max-width: none; max-height: calc(70dvh / var(--bs-zoom, 1)); padding: 22px 18px calc(18px + env(safe-area-inset-bottom, 0px));
    border: 0; border-radius: 16px 16px 0 0; box-shadow: 0 -4px 20px rgba(15,23,42,.18); }
  .enfm-card-handle { display: block; position: absolute; top: 8px; left: 50%; width: 36px; height: 4px; margin-left: -18px; border-radius: 2px; background: #d5dbe1; }
  .enfm-about { padding: 28px 16px 40px; }
}
.enfm-card-step { display: flex; align-items: center; gap: 8px; margin: 0 40px 10px 0; font-size: 13px; color: var(--text-muted, #5b6672); }
.enfm-card-step span { flex: 1; }
.enfm-card-step button { height: 30px; padding: 0 10px; font: 600 13px var(--font); color: var(--text, #111); background: var(--card-bg, #fff); border: 1px solid var(--border-strong, #cfd6de); border-radius: 6px; cursor: pointer; }
.enfm-card-step button:disabled { color: #a0a8b2; cursor: default; }

.enf-show { flex: 1 1 100%; min-width: 0; margin: 0; padding: 0; border: 0; }
.enf-show legend { padding: 0; margin: 0 0 8px; font-size: 13px; font-weight: 600; color: var(--text-secondary); }
.enf-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ap-filters label.enf-chip { flex: 0 0 auto; flex-direction: row; align-items: center; gap: 8px; box-sizing: border-box; font-size: 14px; color: var(--text-secondary); user-select: none; }
.enf-chip input { width: 16px; height: 16px; margin: 0; flex: none; accent-color: var(--filter-accent); cursor: pointer; }
.enf-chip:has(input:checked) { color: var(--filter-accent); background: var(--filter-tint); border-color: var(--filter-accent); }
.enf-chip:has(input:focus-visible) { outline: 2px solid var(--filter-accent); outline-offset: 2px; }
.enf-chip input:focus-visible { outline: none; }
.enf-chip-n { font-weight: 500; font-variant-numeric: tabular-nums; color: var(--text-muted); }
.enf-chip:has(input:checked) .enf-chip-n { color: var(--filter-accent); }
.enf-dd-field { display: flex; flex-direction: column; gap: 6px; }
.ap-filters.enf-filters select { min-width: 160px; }
.enf-lab { font-size: 13px; font-weight: 600; color: var(--text-secondary); }
.enf-dd { position: relative; }
.enf-dd summary { display: block; list-style: none; cursor: pointer; box-sizing: border-box; min-width: 220px; padding: 11px 40px 11px 14px; font-size: 15px; line-height: 20px; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  background: var(--card-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23334155' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 14px center / 12px 8px;
  border: 1px solid var(--border-hover); border-radius: var(--radius); }
.enf-dd summary::-webkit-details-marker { display: none; }
.enf-dd summary:focus-visible, .enf-dd[open] summary { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.15); }
.enf-dd-panel { position: absolute; z-index: 30; top: calc(100% + 6px); left: 0; width: 330px; max-width: calc(calc(100vw / var(--bs-zoom, 1)) - 32px); box-sizing: border-box; padding: 6px; background: var(--card-bg); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: 0 10px 28px rgba(15, 23, 42, 0.12); }
.ap-filters label.enf-dd-opt { flex-direction: row; align-items: center; gap: 10px; padding: 8px 10px; font-size: 14px; font-weight: 500; line-height: 1.35; color: var(--text); border-radius: 6px; cursor: pointer; }
.ap-filters label.enf-dd-opt:hover { background: var(--filter-tint); }
.enf-dd-opt input { width: 16px; height: 16px; margin: 0; flex: none; accent-color: var(--filter-accent); }
.enf-dd-panel .enf-dd-apply { display: block; width: 100%; margin: 6px 0 2px; }
.ap-count .enf-clear { margin-left: 6px; color: var(--brand-dark); font-weight: 600; text-decoration: none; white-space: nowrap; }
.ap-count .enf-clear:hover { text-decoration: underline; }
.ap-wrap .enf-findrow + .enf-filters { margin-top: 0; }
@media (max-width: 680px) {
  .enf-dd-field { flex: 1 1 100%; }
  .enf-chips { gap: 6px; }
  .ap-filters label.enf-chip { padding: 0 12px; gap: 7px; font-size: 13.5px; }
  .enf-dd summary { min-width: 0; width: 100%; }
  .enf-dd-panel { width: 100%; max-width: none; }
  .enf-filters > .ap-apply { flex: 1 1 140px; }
}
