.register h2{font-size:28px;margin:44px 0 18px}.register>h2:first-child{margin-top:0}
.register .caveat{border-left:3px solid var(--gold,#F4D37F);padding:4px 0 4px 16px}
.register-meta{font-size:14px;color:var(--muted)}
.state-jump ul{display:flex;flex-wrap:wrap;gap:8px;list-style:none;margin:0 0 22px;padding:0}
.state-jump a{display:inline-block;min-width:44px;min-height:44px;padding:12px 12px;border:1px solid var(--line);background:#fff;text-align:center;font-size:14px;font-weight:bold;text-decoration:none;line-height:1.4}
.state-jump a:hover{border-color:var(--blue)}
.register-filters{grid-template-columns:1.4fr repeat(5,1fr) auto;align-items:end;margin-bottom:18px}
.register-filters[hidden]{display:none}
.filter-actions{display:flex;align-items:end}
.button-secondary{display:inline-flex;align-items:center;min-height:44px;padding:10px 16px;border:1px solid var(--blue);background:#fff;color:var(--blue);font-size:14px;font-weight:bold;text-decoration:none;line-height:1.3}
.button-secondary:hover{background:var(--paper)}
.register-tools{display:flex;flex-wrap:wrap;align-items:center;gap:14px 24px;margin:6px 0 12px}
.register-count{margin:0;font-weight:bold;font-size:15px;flex:1 1 220px}
.register .disclaimer{color:var(--muted)}
.register .register-use{max-width:none}
.table-scroll{position:relative;overflow-x:auto;border:1px solid var(--line);margin:0 0 12px;-webkit-overflow-scrolling:touch}
.table-scroll:focus-visible{outline:3px solid #524E73;outline-offset:3px}
.register-table{border-collapse:collapse;width:100%;min-width:940px;font-size:14px;line-height:1.5}
.register-table caption{text-align:left;font-weight:bold;padding:12px 14px;background:var(--paper);font-size:14px}
.register-table th,.register-table td{text-align:left;vertical-align:top;padding:8px 9px;border-top:1px solid var(--line)}
.register-table thead th{background:#fff;font-size:13px;position:sticky;top:0;border-bottom:2px solid var(--ink)}
.register-table tbody th{font-weight:bold;min-width:155px}
.register-table tbody tr:nth-child(even){background:#FAFBFC}
.register-table tbody tr[hidden]{display:none}
.register-table .basis{display:block;color:var(--muted);margin-top:3px;max-width:320px}
.register-table .nowrap{white-space:nowrap}
.row-links a{display:block;font-size:13px;margin-bottom:6px;white-space:nowrap}
.sort-button{display:inline-flex;align-items:center;gap:6px;border:0;background:none;padding:4px 0;font-weight:bold;font-size:13px;color:var(--ink);text-align:left;min-height:32px}
.sort-button:hover .sort-label{text-decoration:underline}
.sort-icon::after{content:"↕";color:var(--muted);font-weight:normal}
th[aria-sort=ascending] .sort-icon::after{content:"▲";color:var(--blue)}
th[aria-sort=descending] .sort-icon::after{content:"▼";color:var(--blue)}
.empty-results{padding:16px;background:var(--paper)}
.sources{margin-top:6px}.attribution{font-size:14px}
.suggest{margin-top:48px;border-top:4px solid var(--sky,#79B6EE);background:var(--paper);padding:26px 30px;max-width:820px}
.suggest h2{margin-top:0}
.suggest-form .field{margin-bottom:16px}
.suggest-form label{display:block;font-size:13px;font-weight:bold;margin-bottom:6px}
.suggest-form input,.suggest-form select,.suggest-form textarea{display:block;width:100%;max-width:560px;background:#fff;color:var(--ink);border:1px solid #A8B6C1;padding:10px;min-height:44px;font:inherit;font-size:14px;border-radius:0}
.suggest-form textarea{resize:vertical}
.suggest-form input:focus-visible,.suggest-form select:focus-visible,.suggest-form textarea:focus-visible{outline:3px solid #524E73;outline-offset:2px}
.suggest-form .hp{position:absolute!important;left:-10000px;width:1px;height:1px;overflow:hidden}
.suggest-form .cf-turnstile{margin:6px 0 14px;min-height:0}
.form-actions .button{border:0}
.suggest-dialog{width:min(640px,calc(100% - 24px));max-height:calc(100vh - 32px);padding:0;border:0;border-top:4px solid var(--sky,#79B6EE);box-shadow:0 12px 40px rgba(41,45,50,.35);color:var(--ink)}
.suggest-dialog::backdrop{background:rgba(41,45,50,.55)}
.suggest-dialog .dialog-head{display:flex;justify-content:space-between;align-items:start;gap:16px;padding:20px 24px 0}
.suggest-dialog h2{font-size:24px;margin:0 0 12px}
.suggest-dialog .suggest-form{padding:4px 24px 22px}
.dialog-close{min-height:44px;padding:8px 14px;border:1px solid var(--line);background:#fff;font-weight:bold;font-size:14px;color:var(--ink)}
@media(max-width:1150px){.register-filters{grid-template-columns:repeat(3,1fr)}}
@media(max-width:700px){.register-filters{grid-template-columns:1fr 1fr}.register-filters>div:first-child{grid-column:1/-1}.register-tools{flex-direction:column;align-items:flex-start}.register h2{font-size:24px}.suggest{padding:20px 18px}.register-table{min-width:840px;font-size:13px}}
@media(max-width:420px){.register-filters{grid-template-columns:1fr}}
/* Colour pass: coloured header row and zebra rows */
.register-table caption{background:var(--sky-50,#E4F0FC);color:var(--ink)}
.register-table thead th{background:#3D5B77;color:#fff;border-bottom:4px solid var(--mint,#82DCC2)}
.register-table thead .sort-button{color:#fff}
.register-table thead .sort-icon::after,.register-table thead th[aria-sort] .sort-icon::after{color:#fff}
.register-table thead .sort-button:focus-visible{outline:3px solid var(--gold,#F4D37F);outline-offset:2px}
.register-table tbody tr:nth-child(even){background:#F2F3F6}
.register-table tbody tr:nth-child(odd){background:#fff}
.register-table tbody tr:hover{background:#E4F0FC}
.state-jump a{border-color:#C9E2F8;border-top:3px solid var(--sky,#79B6EE)}
.suggest{border-top-color:var(--mint,#82DCC2);background:#E6F8F3}
/* Forms Option A in the register: dialog takes the card tint; the inline form keeps the card */
.suggest{background:transparent;border-top:0;padding:0}
.suggest-dialog{background:#EAF4FD;border-radius:16px;border-top:0;box-shadow:0 6px 20px rgba(61,91,119,.15),0 12px 40px rgba(41,45,50,.3)}
.suggest-dialog .apcn-form{background:transparent;box-shadow:none;border-radius:0;padding:4px 24px 24px;max-width:none}
.suggest-dialog .dialog-close{border-radius:999px;border-color:#6F8193}
.suggest-dialog .dialog-close:focus-visible{outline:3px solid #292D32;outline-offset:2px}
.suggest-form input,.suggest-form select,.suggest-form textarea{max-width:100%}
.sources,.sources li,.attribution{overflow-wrap:anywhere;word-break:break-word}

/* Per-field suggestions: "+ Add" cell link and correction link */
.add-cell{display:inline-flex;align-items:center;min-height:28px;padding:2px 10px;border:1px dashed #6F8193;border-radius:999px;background:#fff;color:#3D5B77;font-size:13px;font-weight:700;text-decoration:none;white-space:nowrap}
.add-cell:hover{background:#E4F0FC;border-style:solid}
.add-cell:focus-visible,.suggest-row:focus-visible{outline:3px solid #292D32;outline-offset:2px}
.row-links .suggest-row{display:flex;align-items:center;min-height:28px;font-size:12px;font-weight:700;white-space:normal}
/* Field dialog layout */
.field-dialog .fd-asat{display:grid;grid-template-columns:1fr 1fr;gap:12px;border:0;padding:0;margin:0}
.field-dialog .fd-asat legend{grid-column:1/-1;margin-bottom:6px}
.field-dialog #fd-context{margin:0 0 4px;color:#3D4752}
.field-dialog .fd-note{color:#54575B}
@media(max-width:480px){.suggest-dialog .dialog-head{padding:16px 16px 0}.suggest-dialog .apcn-form{padding:4px 16px 20px}.field-dialog .fd-asat{grid-template-columns:1fr}}
/* Contributor badge with tooltip on hover and keyboard focus */
.contrib{position:relative;display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;margin-left:4px;border-radius:50%;background:#E6F8F3;border:1px solid #416E61;color:#416E61;font-size:13px;font-weight:700;vertical-align:middle;cursor:help}
.contrib:focus-visible{outline:3px solid #292D32;outline-offset:2px}
.contrib-tip{position:absolute;bottom:calc(100% + 6px);left:50%;transform:translateX(-50%);z-index:3;width:max-content;max-width:220px;padding:6px 10px;border-radius:8px;background:#292D32;color:#fff;font-size:13px;font-weight:400;line-height:1.4;white-space:normal;opacity:0;visibility:hidden;pointer-events:none}
.contrib:hover .contrib-tip,.contrib:focus .contrib-tip{opacity:1;visibility:visible}
.register-key .contrib-icon{display:inline-flex;align-items:center;justify-content:center;width:20px;height:20px;border-radius:50%;background:#E6F8F3;border:1px solid #416E61;color:#416E61;font-weight:700;margin-right:4px}

.page-banner .register-eyebrow.eyebrow::before{background:var(--gold,#F4D37F)}
.register > .sources,.register > .suggest,.register > #sources-h,.register > .register-key{margin-inline:0}


.page-banner .register-eyebrow a{text-decoration:none}
.page-banner .register-eyebrow a:hover,.page-banner .register-eyebrow a:focus-visible{text-decoration:none}
.register-table .population-date{font-size:11px}
.register-table [data-key="security"],.register-table td:nth-child(7){width:9ch;min-width:9ch}
.suggest-dialog,.suggest-dialog .dialog-close,.suggest-dialog .form-actions .button,.register-table .add-cell{border-radius:0}
.suggest-dialog .field-hint,.suggest-dialog .optional{font-size:12px}
.register-after{margin-top:20px}
.register-after .sources>ul{padding-inline-start:1.35em}
.register-after .sources h3{margin:24px 0 8px}
.register-after .sources .table-scroll{max-width:100%}
.register-table th,.register-table td{padding-inline:7px}
.register-table tbody th{min-width:138px}
@media(min-width:1400px){
  .register>.table-scroll{width:min(1440px,calc(100vw - 64px));margin-inline:calc((100% - min(1440px,calc(100vw - 64px)))/2)}
}

.register-table [data-key="pop"],.register-table td:nth-child(8){width:15ch}
.register-after summary{cursor:pointer;font-size:28px;font-weight:700;line-height:1.25;padding-block:12px}
.register-after .sources>details{border-top:1px solid var(--line)}
.register-updates time{display:block;font-weight:700;margin-bottom:4px}
@media(max-width:700px){.register-after summary{font-size:24px}}
.register-after details>ul{padding-inline-start:1.35em}
.register-after .sources-table{width:100%;border-collapse:collapse;font-size:14px}
.register-after .sources-table th,.register-after .sources-table td{padding:12px;font-family:inherit;font-size:inherit;text-align:left;vertical-align:top;border-bottom:1px solid var(--line)}
.register-after .sources-table thead th{background:#3D5B77;color:#fff;font-size:13px;border-bottom:4px solid var(--mint,#82DCC2)}
.register-after .sources-table tbody tr:nth-child(even){background:#F2F3F6}
.register-after .sources-table :is(th,td):first-child{white-space:nowrap;overflow-wrap:normal;word-break:normal}

.register-reuse h2{margin:24px 0 8px}
.register-reuse h2::before{content:"";display:block;width:56px;height:4px;margin-bottom:10px;background:var(--gold,#F4D37F)}

.register-after .sources-table{font-family:inherit}
.population-info{padding:0;border:0;background:transparent;color:var(--blue);font:inherit;font-size:12px;cursor:pointer}
#population-tooltip{position:fixed;inset:auto;margin:0;max-width:calc(100vw - 16px);padding:8px 12px;border:1px solid var(--line);background:var(--ink);color:#fff;font-size:13px}

.population-info{display:inline-grid;align-items:center;justify-items:start;min-width:24px;min-height:24px;vertical-align:middle}

.register-intro{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,320px);align-items:center;gap:24px}
.register-art{display:block;width:100%;max-width:320px;height:auto;justify-self:center}
.register-meta{display:flex;flex-direction:column;align-items:flex-start;gap:12px}
.register-intro .register-report{display:inline-flex;align-items:center;min-height:44px;padding:6px 12px;background:var(--sky);color:var(--ink);font-weight:700;text-decoration:none}
.register-intro .register-report:hover{background:var(--mint);color:var(--ink)}
#rf-jurisdiction option:not(:first-child),.register-after .sources-table tbody td:first-child{text-transform:uppercase}
.page-banner .eyebrow.register-eyebrow a,.page-banner .eyebrow.register-eyebrow a:is(:hover,:focus-visible){text-decoration:none}
@media(max-width:760px){.register-intro{grid-template-columns:minmax(0,1fr);gap:12px}}

.register-table thead th[data-key="chaplaincy"]{background:#52446A;border-bottom-color:var(--orchid,#C3A6E8)}
.register-chaplaincy{min-width:165px;max-width:240px}

.register-town{width:11ch;min-width:9ch}
.register-table thead .population-info{color:inherit}
.chaplaincy-source{font-size:12px}

