/*
 * Seven Creative Site Scanner
 *
 * Plan: a cool "tracing paper" ground, navy ink, one cobalt accent for actions. Status is carried by shape
 * and word as well as colour (square = failing, triangle = warning, ring = information, disc = passed).
 * Bricolage Grotesque for the headline and site name, Atkinson Hyperlegible for everything else.
 * The one showpiece is the verdict bar at the top of a report; the rest stays quiet.
 */

@font-face {
	font-family: "Bricolage Grotesque";
	src: url("fonts/bricolage-grotesque.woff") format("woff");
	font-weight: 500 800;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Atkinson Hyperlegible";
	src: url("fonts/atkinson-hyperlegible-regular.woff") format("woff");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Atkinson Hyperlegible";
	src: url("fonts/atkinson-hyperlegible-bold.woff") format("woff");
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}

:root {
	color-scheme: light dark;

	--paper: #edf1f5;
	--sheet: #ffffff;
	--ink: #1a2744;
	--muted: #53617a;
	--rule: #d3dbe5;
	--rule-strong: #aebccd;

	--accent: #1f4fd8;
	--accent-hover: #173fb0;
	--accent-ink: #ffffff;

	--fail: #b8281a;
	--fail-tint: #fce9e6;
	--warn: #8f5300;
	--warn-tint: #fff1d6;
	--info: #465a7c;
	--info-tint: #e6ecf4;
	--pass: #1b7243;
	--pass-tint: #e1f2e8;

	--seg-fail: #d83a2b;
	--seg-warn: #e7a234;
	--seg-info: #8797b0;
	--seg-pass: #34995e;

	--font-body: "Atkinson Hyperlegible", "Segoe UI", system-ui, -apple-system, sans-serif;
	--font-display: "Bricolage Grotesque", "Atkinson Hyperlegible", "Segoe UI", system-ui, sans-serif;

	--radius: 10px;
	--measure: 68ch;
}

@media (prefers-color-scheme: dark) {
	:root {
		--paper: #0e1522;
		--sheet: #151e30;
		--ink: #e6ecf6;
		--muted: #9aa9c2;
		--rule: #26324a;
		--rule-strong: #3a4a68;

		--accent: #8aa7ff;
		--accent-hover: #adc0ff;
		--accent-ink: #0e1522;

		--fail: #ff9387;
		--fail-tint: #3a1d1f;
		--warn: #f2b45a;
		--warn-tint: #38290f;
		--info: #a9b9d4;
		--info-tint: #1d2a42;
		--pass: #6fd49b;
		--pass-tint: #14301f;

		--seg-fail: #e5594a;
		--seg-warn: #d79a2e;
		--seg-info: #6c7e9c;
		--seg-pass: #3fa56b;
	}
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	font-size: 106.25%;
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	background: var(--paper);
	color: var(--ink);
	font: 1rem/1.55 var(--font-body);
	font-variant-numeric: lining-nums;
}

main {
	flex: 1 0 auto;
}

img,
svg {
	max-width: 100%;
}

a {
	color: var(--accent);
	text-underline-offset: 0.18em;
	text-decoration-thickness: 1px;
}
a:hover {
	color: var(--accent-hover);
	text-decoration-thickness: 2px;
}

:focus-visible {
	outline: 3px solid var(--accent);
	outline-offset: 2px;
	border-radius: 3px;
}

h1,
h2,
h3 {
	margin: 0;
	font-family: var(--font-display);
	font-weight: 650;
	letter-spacing: -0.015em;
	line-height: 1.15;
}

p {
	margin: 0 0 1em;
}

.wrap {
	width: 100%;
	max-width: 74rem;
	margin: 0 auto;
	padding: 0 clamp(1rem, 4vw, 2rem);
}

.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
}

.skip {
	position: absolute;
	left: 1rem;
	top: -4rem;
	z-index: 10;
	padding: 0.6rem 1rem;
	background: var(--ink);
	color: var(--paper);
	border-radius: var(--radius);
}
.skip:focus {
	top: 1rem;
}

.js-only {
	display: none !important;
}
.js .js-only {
	display: inline-flex !important;
}

/* ------------------------------------------------------------------ header and footer */

.site-header {
	padding: 1.1rem 0;
}
.site-header .wrap {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
}
.brand {
	display: inline-flex;
	align-items: center;
	gap: 0.65rem;
	font: 650 1.1rem/1 var(--font-display);
	letter-spacing: -0.01em;
	color: var(--ink);
	text-decoration: none;
}
.brand:hover {
	color: var(--ink);
}
.brand img {
	width: 1.7rem;
	height: 1.7rem;
	border-radius: 6px;
}
.header-nav form {
	margin: 0;
}

.site-footer {
	padding: 2.5rem 0 2rem;
	color: var(--muted);
	font-size: 0.9rem;
}
.site-footer p {
	margin: 0 0 0.35rem;
	max-width: var(--measure);
}

/* ------------------------------------------------------------------ buttons */

.btn,
.linklike {
	font: 700 1rem/1.2 var(--font-body);
}
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding: 0.7rem 1.2rem;
	border: 2px solid var(--accent);
	border-radius: var(--radius);
	background: var(--accent);
	color: var(--accent-ink);
	text-decoration: none;
	cursor: pointer;
}
.btn:hover {
	background: var(--accent-hover);
	border-color: var(--accent-hover);
	color: var(--accent-ink);
}
.btn-quiet {
	background: transparent;
	color: var(--ink);
	border-color: var(--rule-strong);
}
.btn-quiet:hover {
	background: var(--sheet);
	border-color: var(--ink);
	color: var(--ink);
}
.linklike {
	padding: 0.3rem 0;
	border: 0;
	background: none;
	color: var(--accent);
	text-decoration: underline;
	text-underline-offset: 0.18em;
	cursor: pointer;
}

/* ------------------------------------------------------------------ home: the address field */

.hero {
	padding: clamp(1.5rem, 6vw, 4.5rem) 0 2rem;
}
.hero h1,
.display {
	font-weight: 700;
	letter-spacing: -0.03em;
	line-height: 1.02;
}
.hero h1 {
	max-width: 14ch;
	font-size: clamp(2.5rem, 8vw, 5.2rem);
}
.lede {
	max-width: 46ch;
	margin: 1.25rem 0 2rem;
	font-size: 1.2rem;
	color: var(--muted);
}

.address {
	display: flex;
	gap: 0.5rem;
	padding: 0.4rem;
	background: var(--sheet);
	border: 2px solid var(--ink);
	border-radius: 14px;
}
.address:focus-within {
	outline: 3px solid var(--accent);
	outline-offset: 3px;
}
.address input {
	flex: 1;
	min-width: 0;
	padding: 0.7rem 0.9rem;
	border: 0;
	background: transparent;
	color: var(--ink);
	font: 400 clamp(1.1rem, 3.4vw, 1.6rem)/1.3 var(--font-body);
}
.address input:focus {
	outline: none;
}
.address input::placeholder {
	color: var(--muted);
	opacity: 0.8;
}
.address .btn {
	flex: none;
	padding: 0 1.6rem;
	border-radius: 10px;
	font-size: 1.1rem;
}

.options {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1rem 2rem;
	margin: 1.25rem 0 0;
}
.options fieldset {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.6rem 0.9rem;
	margin: 0;
	padding: 0;
	border: 0;
}
.options legend {
	float: left;
	padding: 0;
	margin-right: 0.9rem;
	color: var(--muted);
}
.seg {
	display: inline-flex;
	border: 2px solid var(--rule-strong);
	border-radius: var(--radius);
	overflow: hidden;
	background: var(--sheet);
}
.seg label {
	position: relative;
	display: block;
	padding: 0.4rem 0.9rem;
	cursor: pointer;
}
.seg label + label {
	border-left: 2px solid var(--rule-strong);
}
.seg input {
	position: absolute;
	opacity: 0;
	inset: 0;
	cursor: pointer;
}
.seg label:has(input:checked) {
	background: var(--ink);
	color: var(--paper);
	font-weight: 700;
}
.seg label:has(input:focus-visible) {
	outline: 3px solid var(--accent);
	outline-offset: -3px;
}
.check-opt {
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
	cursor: pointer;
}
.check-opt input {
	width: 1.15rem;
	height: 1.15rem;
	accent-color: var(--accent);
}
.hint {
	color: var(--muted);
	font-size: 0.92rem;
}

.form-error {
	margin: 1rem 0 0;
	padding: 0.8rem 1rem;
	border-left: 4px solid var(--fail);
	background: var(--fail-tint);
	color: var(--ink);
	border-radius: 0 var(--radius) var(--radius) 0;
	max-width: 52rem;
}

.about {
	margin: 3.5rem 0 0;
	padding-top: 2rem;
	border-top: 1px solid var(--rule-strong);
}
.about h2,
.recent h2 {
	font-size: 1.35rem;
	margin-bottom: 1.25rem;
}
.about dl {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
	gap: 1.5rem 2.5rem;
	margin: 0;
}
.about dt {
	font-weight: 700;
}
.about dd {
	margin: 0.15rem 0 0;
	color: var(--muted);
}

.recent {
	margin: 3rem 0 0;
}
.recent ul {
	margin: 0;
	padding: 0;
	list-style: none;
	max-width: 52rem;
}
.recent li {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0.25rem 1.25rem;
	padding: 0.7rem 0;
	border-top: 1px solid var(--rule);
}
.recent li:last-child {
	border-bottom: 1px solid var(--rule);
}
.recent a {
	font-weight: 700;
}
.recent .when,
.recent .tally {
	color: var(--muted);
	font-size: 0.92rem;
}

/* ------------------------------------------------------------------ scanning view */

.scanning {
	padding: clamp(1.5rem, 5vw, 3.5rem) 0 2rem;
	max-width: 46rem;
}
.scanning h1 {
	font-size: clamp(2rem, 6vw, 3.4rem);
	overflow-wrap: anywhere;
}
.scanning .lede {
	margin-bottom: 1.75rem;
	font-size: 1.1rem;
}
.meter {
	display: flex;
	align-items: center;
	gap: 1rem;
}
.meter strong {
	min-width: 3.2ch;
	font: 700 1.4rem/1 var(--font-display);
	font-variant-numeric: tabular-nums;
	text-align: right;
}
progress {
	flex: 1;
	appearance: none;
	-webkit-appearance: none;
	height: 0.8rem;
	border: 0;
	border-radius: 99px;
	background: var(--rule);
	overflow: hidden;
}
progress::-webkit-progress-bar {
	background: var(--rule);
}
progress::-webkit-progress-value {
	background: var(--accent);
	border-radius: 99px;
	transition: width 0.5s ease-out;
}
progress::-moz-progress-bar {
	background: var(--accent);
	border-radius: 99px;
}

.phases {
	margin: 2rem 0 0;
	padding: 0;
	list-style: none;
}
.phases li {
	display: grid;
	grid-template-columns: 1.6rem 1fr;
	gap: 0.6rem;
	padding: 0.55rem 0;
	color: var(--muted);
}
.phases .dot {
	width: 1.05rem;
	height: 1.05rem;
	margin-top: 0.2rem;
	border: 2px solid var(--rule-strong);
	border-radius: 50%;
}
.phases li.is-done {
	color: var(--ink);
}
.phases li.is-done .dot {
	border-color: var(--pass);
	background: var(--pass);
	box-shadow: inset 0 0 0 2px var(--paper);
}
.phases li.is-now {
	color: var(--ink);
	font-weight: 700;
}
.phases li.is-now .dot {
	border-color: var(--accent);
	background: var(--accent);
	box-shadow: inset 0 0 0 2px var(--paper);
}
.phases .what {
	display: block;
	font-weight: 400;
	color: var(--muted);
	font-variant-numeric: tabular-nums;
}
.now-url {
	margin: 1.75rem 0 0;
	padding: 0.7rem 0.9rem;
	background: var(--sheet);
	border: 1px solid var(--rule);
	border-radius: var(--radius);
	color: var(--muted);
	font-size: 0.95rem;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.scan-actions {
	margin-top: 1.5rem;
	display: flex;
	gap: 1rem;
	align-items: center;
	flex-wrap: wrap;
}
.scan-note {
	color: var(--muted);
	font-size: 0.92rem;
	max-width: 46ch;
}

/* ------------------------------------------------------------------ status marks */

.st-fail {
	--st: var(--fail);
	--st-tint: var(--fail-tint);
}
.st-warn {
	--st: var(--warn);
	--st-tint: var(--warn-tint);
}
.st-info {
	--st: var(--info);
	--st-tint: var(--info-tint);
}
.st-pass {
	--st: var(--pass);
	--st-tint: var(--pass-tint);
}
.g {
	flex: none;
	width: 1.05rem;
	height: 1.05rem;
	color: var(--st, var(--muted));
	vertical-align: -0.15em;
}
.g .mark {
	fill: none;
	stroke: var(--sheet);
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}
.g .ring {
	fill: none;
	stroke: currentColor;
	stroke-width: 1.7;
}
.g .tick {
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
}
.st-word {
	color: var(--st);
	font-weight: 700;
}

/* ------------------------------------------------------------------ report: head and verdict */

.report-head {
	padding: clamp(1rem, 4vw, 2.5rem) 0 1.5rem;
}
.report-head .host {
	max-width: 100%;
	font-size: clamp(2.1rem, 6.4vw, 4.6rem);
	overflow-wrap: anywhere;
}
.facts {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 2.5rem;
	margin: 1.1rem 0 0;
}
.facts div {
	min-width: 0;
}
.facts dt {
	color: var(--muted);
	font-size: 0.9rem;
}
.facts dd {
	margin: 0;
	font-weight: 700;
	overflow-wrap: anywhere;
}
.actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem;
	margin: 1.5rem 0 0;
}
.menu {
	position: relative;
}
.menu summary {
	list-style: none;
	cursor: pointer;
}
.menu summary::-webkit-details-marker {
	display: none;
}
.menu-list {
	position: absolute;
	z-index: 5;
	left: 0;
	top: calc(100% + 0.35rem);
	min-width: 14rem;
	margin: 0;
	padding: 0.35rem;
	list-style: none;
	background: var(--sheet);
	border: 1px solid var(--rule-strong);
	border-radius: var(--radius);
	box-shadow: 0 10px 30px rgba(10, 20, 40, 0.18);
}
.menu-list a {
	display: block;
	padding: 0.55rem 0.7rem;
	border-radius: 6px;
	color: var(--ink);
	text-decoration: none;
}
.menu-list a:hover {
	background: var(--paper);
}
.menu-list small {
	display: block;
	color: var(--muted);
}

.verdict {
	margin: 2rem 0 0;
}
.bar {
	display: block;
	width: 100%;
	height: 1.6rem;
	border-radius: 8px;
	overflow: hidden;
	background: var(--rule);
}
.bar rect {
	stroke: var(--paper);
	stroke-width: 3;
	vector-effect: non-scaling-stroke;
	transform-box: fill-box;
	transform-origin: left center;
}
.bar .seg-fail {
	fill: var(--seg-fail);
}
.bar .seg-warn {
	fill: var(--seg-warn);
}
.bar .seg-info {
	fill: var(--seg-info);
}
.bar .seg-pass {
	fill: var(--seg-pass);
}
@media (prefers-reduced-motion: no-preference) {
	.bar rect {
		animation: grow 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) both;
	}
	.bar rect:nth-child(2) {
		animation-delay: 0.12s;
	}
	.bar rect:nth-child(3) {
		animation-delay: 0.24s;
	}
	.bar rect:nth-child(4) {
		animation-delay: 0.36s;
	}
}
@keyframes grow {
	from {
		transform: scaleX(0);
	}
	to {
		transform: scaleX(1);
	}
}
.tally {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem 2rem;
	margin: 0.9rem 0 0;
	padding: 0;
	list-style: none;
}
.tally li {
	display: inline-flex;
	align-items: baseline;
	gap: 0.5rem;
}
.tally b {
	font: 700 1.9rem/1 var(--font-display);
	font-variant-numeric: tabular-nums;
	color: var(--ink);
}
.tally .g {
	align-self: center;
}

.delta {
	margin: 1.25rem 0 0;
	max-width: var(--measure);
}
.delta summary {
	cursor: pointer;
}
.delta ul {
	margin: 0.5rem 0 0;
	padding-left: 1.25rem;
	color: var(--muted);
}

.notes {
	margin: 1.5rem 0 0;
	padding: 0.9rem 1.1rem;
	max-width: 56rem;
	border-left: 4px solid var(--rule-strong);
	background: var(--sheet);
	border-radius: 0 var(--radius) var(--radius) 0;
}
.notes h2 {
	margin-bottom: 0.4rem;
	font-size: 1.05rem;
}
.notes ul {
	margin: 0;
	padding-left: 1.2rem;
}
.notes li + li {
	margin-top: 0.35rem;
}

/* ------------------------------------------------------------------ report: layout */

.report {
	display: grid;
	grid-template-columns: 14.5rem minmax(0, 1fr);
	gap: clamp(1.5rem, 4vw, 3.5rem);
	align-items: start;
	padding: 1.5rem 0 3rem;
}
.rail {
	position: sticky;
	top: 1rem;
}
.rail ul {
	margin: 0;
	padding: 0;
	list-style: none;
}
.rail a {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	padding: 0.45rem 0.7rem;
	border-radius: 8px;
	color: var(--ink);
	text-decoration: none;
}
.rail a:hover {
	background: var(--sheet);
}
.rail .n {
	min-width: 1.6rem;
	text-align: right;
	font-variant-numeric: tabular-nums;
	color: var(--muted);
}
.rail .n.has {
	color: var(--ink);
	font-weight: 700;
}
.rail-note {
	margin: 1rem 0.7rem 0;
	color: var(--muted);
	font-size: 0.88rem;
}

.section {
	padding-top: 2.75rem;
}
.section:first-child {
	padding-top: 0;
}
.section > h2 {
	font-size: clamp(1.5rem, 3.4vw, 2rem);
}
.section-sub {
	margin: 0.3rem 0 1.1rem;
	color: var(--muted);
	max-width: var(--measure);
}
.scroll-anchor {
	scroll-margin-top: 1rem;
}

.fix-first {
	margin: 0;
	padding: 0;
	list-style: none;
}
.fix-first li {
	display: grid;
	grid-template-columns: 1.4rem 1fr;
	gap: 0.7rem;
	padding: 0.8rem 0;
	border-top: 1px solid var(--rule);
}
.fix-first li:last-child {
	border-bottom: 1px solid var(--rule);
}
.fix-first a {
	font-weight: 700;
}
.fix-first p {
	margin: 0.1rem 0 0;
	color: var(--muted);
}

.filters {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.75rem 1.5rem;
	margin: 0 0 1.5rem;
	padding: 0.7rem 0;
	border-top: 1px solid var(--rule-strong);
	border-bottom: 1px solid var(--rule-strong);
}
.filters .push {
	margin-left: auto;
	display: inline-flex;
	gap: 1rem;
}
.toggle-pass {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}
.toggle-label {
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
	cursor: pointer;
	user-select: none;
}
.toggle-label::before {
	content: "";
	width: 1.15rem;
	height: 1.15rem;
	border: 2px solid var(--rule-strong);
	border-radius: 4px;
	background: var(--sheet);
}
.toggle-pass:checked + .filters .toggle-label::before {
	background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.3l3 3 6-6.4' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 90% no-repeat;
	border-color: var(--accent);
}
.toggle-pass:focus-visible + .filters .toggle-label {
	outline: 3px solid var(--accent);
	outline-offset: 3px;
	border-radius: 4px;
}
.toggle-pass:not(:checked) ~ .report-body .check.st-pass {
	display: none;
}

/* ------------------------------------------------------------------ report: checks */

.check {
	border-top: 1px solid var(--rule);
}
.check:last-child {
	border-bottom: 1px solid var(--rule);
}
.check > summary {
	display: grid;
	grid-template-columns: 1.4rem minmax(0, 1fr) auto 1rem;
	align-items: baseline;
	gap: 0.7rem;
	padding: 0.85rem 0.25rem;
	list-style: none;
	cursor: pointer;
}
.check > summary::-webkit-details-marker {
	display: none;
}
.check > summary::after {
	content: "";
	width: 0.5rem;
	height: 0.5rem;
	margin-top: 0.1rem;
	border-right: 2px solid var(--muted);
	border-bottom: 2px solid var(--muted);
	transform: rotate(45deg);
	transition: transform 0.15s;
}
.check[open] > summary::after {
	transform: rotate(-135deg);
	margin-top: 0.35rem;
}
.check > summary:hover .c-label {
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.18em;
}
.check .g {
	align-self: start;
	margin-top: 0.22rem;
}
.c-label {
	font-weight: 700;
	overflow-wrap: anywhere;
}
.c-meta {
	color: var(--muted);
	font-size: 0.92rem;
	text-align: right;
	font-variant-numeric: tabular-nums;
}
.c-body {
	padding: 0 0.25rem 1.4rem 2.1rem;
	max-width: 62rem;
}
.c-detail {
	max-width: var(--measure);
}
.c-fix {
	max-width: var(--measure);
	margin: 0 0 1rem;
	padding: 0.1rem 0 0.1rem 0.9rem;
	border-left: 3px solid var(--st, var(--rule-strong));
}
.c-fix b {
	display: block;
}
.items {
	margin: 0;
	padding: 0;
	list-style: none;
}
.items li {
	padding: 0.55rem 0;
	border-top: 1px dotted var(--rule-strong);
	overflow-wrap: anywhere;
}
.items .t,
.items .n {
	display: block;
	color: var(--muted);
	font-size: 0.93rem;
}
.more {
	margin: 0.6rem 0 0;
	color: var(--muted);
	font-size: 0.93rem;
}
a.ext::after {
	content: "";
	display: inline-block;
	width: 0.7em;
	height: 0.7em;
	margin-left: 0.25em;
	background: currentColor;
	opacity: 0.65;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M9 2h5v5M14 2L7.5 8.5M12 9.5V13a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1h3.5' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M9 2h5v5M14 2L7.5 8.5M12 9.5V13a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1h3.5' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* ------------------------------------------------------------------ report: link problems */

.link-group {
	margin-top: 1.75rem;
}
.link-group h3 {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	font-size: 1.2rem;
}
.link-group h3 .count {
	color: var(--muted);
	font-weight: 500;
	font-variant-numeric: tabular-nums;
}
.link-group .group-help {
	margin: 0.3rem 0 0.6rem;
	color: var(--muted);
	max-width: var(--measure);
}
.link-list {
	margin: 0;
	padding: 0;
	list-style: none;
}
.link-row {
	padding: 1rem 0;
	border-top: 1px solid var(--rule);
}
.link-list .link-row:last-child {
	border-bottom: 1px solid var(--rule);
}
.link-url {
	font-weight: 700;
	overflow-wrap: anywhere;
}
.link-msg {
	margin: 0.15rem 0 0;
	color: var(--muted);
	font-size: 0.95rem;
	overflow-wrap: anywhere;
}
.found-on {
	margin: 0.7rem 0 0;
	padding: 0 0 0 0.9rem;
	list-style: none;
	border-left: 3px solid var(--rule-strong);
}
.found-on-title {
	margin: 0.7rem 0 0;
	font-size: 0.93rem;
	color: var(--muted);
}
.found-on li {
	padding: 0.15rem 0;
	overflow-wrap: anywhere;
}
.found-on .via {
	color: var(--muted);
	font-size: 0.9rem;
}
.clear {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	margin-top: 1.25rem;
	padding: 0.9rem 1.1rem;
	background: var(--pass-tint);
	border-radius: var(--radius);
}

/* ------------------------------------------------------------------ report: pages table */

.table-wrap {
	overflow-x: auto;
	margin-top: 0.75rem;
}
.pages-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.95rem;
	font-variant-numeric: tabular-nums;
}
.pages-table th {
	padding: 0.5rem 0.75rem 0.5rem 0;
	border-bottom: 2px solid var(--rule-strong);
	text-align: left;
	font-weight: 700;
	white-space: nowrap;
}
.pages-table td {
	padding: 0.5rem 0.75rem 0.5rem 0;
	border-bottom: 1px solid var(--rule);
	vertical-align: top;
}
.pages-table td:first-child {
	min-width: 16rem;
	overflow-wrap: anywhere;
}
.pages-table .num {
	text-align: right;
	white-space: nowrap;
}
.pages-table .t {
	display: block;
	color: var(--muted);
}

/* ------------------------------------------------------------------ plain pages (sign in, expired report) */

.plain {
	max-width: 30rem;
	padding: clamp(1.5rem, 6vw, 4rem) 0;
}
.plain h1 {
	font-size: clamp(2rem, 6vw, 3rem);
	margin-bottom: 1rem;
}
.field {
	margin: 0 0 1rem;
}
.field label {
	display: block;
	margin-bottom: 0.3rem;
	font-weight: 700;
}
.field input {
	width: 100%;
	padding: 0.7rem 0.85rem;
	border: 2px solid var(--ink);
	border-radius: var(--radius);
	background: var(--sheet);
	color: var(--ink);
	font: 1.1rem var(--font-body);
}

/* ------------------------------------------------------------------ small screens */

@media (max-width: 62rem) {
	.report {
		grid-template-columns: minmax(0, 1fr);
		gap: 1rem;
	}
	.rail {
		position: static;
		margin: 0 calc(-1 * clamp(1rem, 4vw, 2rem));
		padding: 0 clamp(1rem, 4vw, 2rem);
		overflow-x: auto;
	}
	.rail ul {
		display: flex;
		gap: 0.25rem;
		width: max-content;
	}
	.rail a {
		gap: 0.5rem;
		border: 1px solid var(--rule-strong);
	}
	.rail-note {
		display: none;
	}
}
@media (max-width: 36rem) {
	.address {
		flex-direction: column;
	}
	.address .btn {
		padding: 0.9rem;
	}
	.check > summary {
		grid-template-columns: 1.4rem minmax(0, 1fr) 1rem;
	}
	.c-meta {
		grid-column: 2;
		grid-row: 2;
		text-align: left;
	}
	.check > summary::after {
		grid-column: 3;
		grid-row: 1;
	}
	.c-body {
		padding-left: 0.25rem;
	}
	.tally b {
		font-size: 1.5rem;
	}
	.filters .push {
		margin-left: 0;
	}
}

/* ------------------------------------------------------------------ print */

@media print {
	:root {
		--paper: #fff;
		--sheet: #fff;
		--ink: #000;
		--muted: #333;
	}
	body {
		display: block;
		font-size: 10.5pt;
	}
	.site-header .header-nav,
	.skip,
	.rail,
	.actions,
	.filters,
	.site-footer,
	.toggle-pass,
	.scroll-top {
		display: none !important;
	}
	.report {
		display: block;
	}
	.bar rect {
		animation: none;
	}
	.check,
	.link-row {
		break-inside: avoid;
	}
	h2,
	h3,
	.section-sub,
	.group-help {
		break-after: avoid;
	}
	.toggle-pass:not(:checked) ~ .report-body .check.st-pass {
		display: none;
	}
	a {
		color: #000;
	}
}

[hidden] {
	display: none !important;
}
