/*
 * The "Tapper Verified" badge (TC_Learn_Page::verified_badge()), and nothing
 * else: the one stylesheet for the one piece of markup, enqueued wherever the
 * badge is drawn (TC_Learn_Page::enqueue_badge()) -- the front page's heading
 * and /tapper-verified/'s own (owner, 2026-10-08).
 *
 * Sized in em so it scales with whatever heading holds it, and sits on the
 * text's middle. #1D9BF0 with white words is the owner's choice: 2.9:1, under
 * AA for text this size. Tried in Tapper green on 2026-10-09 and reverted the
 * same day (owner).
 */
.tc-verified-badge {
	display: inline-flex;
	align-items: center;
	gap: 0.3em;
	padding: 0.2em 0.6em;
	border-radius: 999px;
	background: #1D9BF0;
	color: #FFFFFF;
	font-size: 0.6em;
	font-weight: 700;
	line-height: 1.2;
	white-space: nowrap;
	vertical-align: middle;
}

/* No underline or other decoration, in any state, on any part (owner, 2026-10-08). */
.tc-verified-badge,
.tc-verified-badge:link,
.tc-verified-badge:visited,
.tc-verified-badge:hover,
.tc-verified-badge:focus,
.tc-verified-badge:active,
.tc-verified-badge *,
.tc-verified-badge:hover * {
	color: #FFFFFF;
	text-decoration: none;
	box-shadow: none;
}

/* Still findable by keyboard: a ring, not a line under the words. */
.tc-verified-badge:focus-visible {
	outline: 2px solid #1D9BF0;
	outline-offset: 2px;
}

.tc-verified-badge svg {
	flex: none;
	width: 1.1em;
	height: 1.1em;
}

/* As /tapper-verified/'s own heading: the heading's full size. */
.tc-verified-badge--title {
	font-size: 1em;
}

/*
 * As the Home hero's one act, on a line of its own and centred (owner,
 * 2026-10-09): 2rem, not a heading's fraction.
 */
.tc-home__acts .tc-verified-badge {
	font-size: 1.5rem;
}

/* ------------------------------------------------- /tapper-verified/ itself */

/*
 * The page that says what the badge means (templates/learn/verified.php,
 * rebuilt 2026-10-09 to the owner's approved mockup): a strip of numbers, the
 * promises each with an icon and the proof under it, then who is behind it and
 * where to turn. guide.css draws the column, the standfirst and the staff gap
 * boxes; this adds only what is the page's own. The promises are a set, not a
 * sequence, so the guide's "1." "2." numbering is switched off here.
 */
.tc-verified-page .tc-verified__head {
	display: grid;
	gap: 8px;
}

.tc-verified-page .tc-guide__standfirst {
	margin: 0;
}

.tc-verified__updated,
.tc-verified__asof {
	margin: 0;
	color: #6B6660;
	font-size: 13px;
}

.tc-verified__asof {
	margin-top: 8px;
	font-size: 12px;
}

.tc-verified__facts {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 12px;
	margin: 22px 0 0;
	padding: 0;
	list-style: none;
}

.tc-verified__facts li {
	min-width: 0;
	margin: 0;
	padding: 14px 16px;
	border-radius: 14px;
	background: #FFFFFF;
	box-shadow: inset 0 0 0 1px rgba(18, 17, 17, 0.13), 0 2px 8px rgba(18, 17, 17, 0.05);
}

.tc-verified__facts strong {
	display: block;
	color: #29594B;
	font-size: 28px;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
	line-height: 1.1;
}

.tc-verified__facts span {
	display: block;
	margin-top: 4px;
	color: #413E3C;
	font-size: 13px;
	line-height: 1.35;
}

.tc-verified__promises {
	margin: 24px 0 0;
	padding: 4px 22px;
	border: 1px solid rgba(18, 17, 17, 0.1);
	border-radius: 18px;
	background: #FFFFFF;
	box-shadow: 0 18px 40px rgba(18, 17, 17, 0.08);
	list-style: none;
}

.tc-verified__promise {
	display: grid;
	grid-template-columns: 40px minmax(0, 1fr);
	gap: 14px;
	margin: 0;
	padding: 18px 0;
	border-top: 1px solid rgba(18, 17, 17, 0.1);
}

.tc-verified__promise:first-child {
	border-top: 0;
}

.tc-verified__icon {
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	border-radius: 12px;
	background: #E4EEE9;
	color: #29594B;
}

.tc-verified__icon svg {
	width: 22px;
	height: 22px;
}

.tc-verified-page .tc-guide__heading {
	margin: 0 0 4px;
	font-size: 17px;
}

.tc-verified-page .tc-guide__heading::before {
	content: none;
}

.tc-verified__promise p {
	margin: 0;
	max-width: 64ch;
}

.tc-verified__promise p + p {
	margin-top: 8px;
}

.tc-verified__proof {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: #29594B;
	font-size: 14px;
	font-weight: 600;
}

.tc-verified__promise .tc-verified__proof {
	margin-top: 10px;
}

.tc-verified__proof svg {
	flex: none;
	width: 16px;
	height: 16px;
}

.tc-verified__short {
	margin: 6px 0 0;
	padding-left: 18px;
}

.tc-verified__short li {
	margin: 4px 0;
	max-width: 62ch;
}

.tc-verified__help {
	margin-top: 20px;
	padding: 18px 22px 20px;
	border-radius: 18px;
	background: #F5EFE3;
}

.tc-verified__help h2 {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 4px;
	color: #121111;
	font-size: 18px;
	font-weight: 600;
	line-height: 1.3;
}

.tc-verified__help h2 svg {
	flex: none;
	width: 22px;
	height: 22px;
	color: #29594B;
}

.tc-verified__who {
	margin: 0 0 14px;
}

.tc-verified__who b,
.tc-verified__rows b {
	color: #121111;
	font-weight: 600;
}

.tc-verified__num {
	color: #29594B;
	font-variant-numeric: tabular-nums;
	font-weight: 600;
}

.tc-verified__rows {
	display: grid;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

/* As tall as a thumb, each: two of them are things to tap. */
.tc-verified__rows li {
	display: grid;
	grid-template-columns: 22px minmax(0, 1fr);
	gap: 10px;
	align-items: start;
	min-height: 44px;
	margin: 0;
	padding: 10px 12px;
	border-radius: 12px;
	background: #FFFFFF;
}

.tc-verified__rows svg {
	width: 20px;
	height: 20px;
	margin-top: 2px;
	color: #29594B;
}

.tc-verified__policies {
	margin: 14px 0 0;
	font-size: 14px;
}

/* The help panel's links take the guide's look: green, amber underline. */
.tc-verified__help a {
	color: #29594B;
	font-weight: 600;
	text-decoration: underline;
	text-decoration-color: #F3AA22;
	text-decoration-thickness: 2px;
	text-underline-offset: 0.3em;
}

.tc-verified__help a:hover,
.tc-verified__help a:focus {
	color: #1F463B;
}

@media (max-width: 560px) {
	.tc-verified__facts {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.tc-verified__promises {
		padding: 4px 16px;
	}

	.tc-verified__help {
		padding: 16px;
	}
}
