/* NTC blocked websites registry: mobile-first, Wikipedia-style registry look */
.ch-ntc-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; margin: 1rem 0 0.5rem; border: 1px solid #a2a9b1; background: #f8f9fa; }
.ch-ntc-stats > div { padding: 0.7rem 0.8rem; border-right: 1px solid #c8ccd1; border-bottom: 1px solid #c8ccd1; }
.ch-ntc-stats > div:nth-child(2n) { border-right: 0; }
.ch-ntc-stats > div:last-child { grid-column: 1 / -1; border-bottom: 0; border-right: 0; }
.ch-ntc-stats b { display: block; font-size: 1.2rem; line-height: 1.2; color: #202122; font-family: var(--ch-font-head, inherit); }
.ch-ntc-stats span { font-size: 0.8rem; color: #54595d; }
.ch-ntc-hl { color: #54595d; margin: 0.4rem 0 1.25rem; line-height: 1.7; }
.ch-ntc-hl b { color: #202122; }

.ch-ntc-form { background: #f8f9fa; border: 1px solid #a2a9b1; padding: 0.9rem; margin: 0 0 0.75rem; }
.ch-ntc-label { display: block; font-weight: 700; font-size: 0.9rem; color: #202122; margin-bottom: 0.35rem; }
.ch-ntc-searchrow { display: flex; }
.ch-ntc-searchrow input[type="search"] { flex: 1 1 auto; min-width: 0; min-height: 44px; border: 1px solid #72777d; border-right: 0; border-radius: 2px 0 0 2px; padding: 0 0.7rem; font-size: 16px; background: #fff; color: #202122; }
.ch-ntc-searchrow input[type="search"]:focus { outline: none; border-color: #36c; box-shadow: inset 0 0 0 1px #36c; }
.ch-ntc-go { min-height: 44px; padding: 0 1rem; border: 1px solid #a2a9b1; border-radius: 0 2px 2px 0; background: #f8f9fa; color: #202122; font-weight: 700; cursor: pointer; }
.ch-ntc-go:hover { background: #fff; border-color: #72777d; }
.ch-ntc-go:active { background: #eaecf0; }
.ch-ntc-filters { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; margin-top: 0.75rem; align-items: end; }
.ch-ntc-filters label span { display: block; font-size: 0.78rem; font-weight: 700; color: #54595d; margin-bottom: 0.2rem; }
.ch-ntc-filters select { width: 100%; min-height: 44px; border: 1px solid #a2a9b1; border-radius: 2px; background: #fff; color: #202122; font-size: 15px; padding: 0 0.4rem; }
.ch-ntc-reset { grid-column: 1 / -1; justify-self: start; font-weight: 700; color: #36c; text-decoration: none; padding: 0.4rem 0; }
.ch-ntc-reset:hover { text-decoration: underline; }
.ch-ntc-count { font-size: 0.9rem; color: #54595d; margin: 0.25rem 0 0.5rem; scroll-margin-top: 80px; }

.ch-ntc-wrap { transition: opacity .15s; }
.ch-ntc-wrap.is-loading { opacity: .5; }
.ch-ntc-dom { font-family: var(--ch-mono, monospace); font-size: 0.9em; overflow-wrap: anywhere; word-break: break-all; color: #202122; user-select: all; }
.ch-ntc-table td small { display: block; margin-top: 2px; }
.ch-ntc-status { display: inline-block; font-size: 0.78rem; font-weight: 700; padding: 1px 8px; border: 1px solid; border-radius: 2px; white-space: nowrap; }
.ch-ntc-status.is-blocked { color: #b32424; background: #fee7e6; border-color: #e5a5a5; }
.ch-ntc-status.is-unblocked { color: #14866d; background: #d5fdf4; border-color: #8fd8c3; }
.ch-ntc-refs { font-size: 0.82rem; color: #54595d; overflow-wrap: anywhere; }
.ch-ntc-empty td { text-align: center; padding: 1.2rem !important; }

.ch-ntc-pager { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; margin: 0.9rem 0 1.5rem; }
.ch-ntc-pager .ch-btn-outline { min-height: 44px; display: inline-flex; align-items: center; text-decoration: none; }
.ch-ntc-pager .is-disabled { opacity: .45; pointer-events: none; }
.ch-ntc-pageinfo { font-size: 0.85rem; color: #54595d; text-align: center; }

@media (min-width: 700px) {
	.ch-ntc-stats { grid-template-columns: repeat(5, minmax(0, 1fr)); }
	.ch-ntc-stats > div { border-bottom: 0; }
	.ch-ntc-stats > div:nth-child(2n) { border-right: 1px solid #c8ccd1; }
	.ch-ntc-stats > div:last-child { grid-column: auto; }
	.ch-ntc-filters { grid-template-columns: repeat(4, minmax(0, 1fr)) auto; }
	.ch-ntc-reset { grid-column: auto; padding: 0 0 0.7rem; }
	.ch-ntc-pager { justify-content: center; gap: 1rem; }
}
@media (min-width: 900px) {
	.ch-ntc-table td:first-child { min-width: 220px; }
	.ch-ntc-table td:nth-child(5) { white-space: nowrap; }
}
