/*
 * Boiling Point Calculator.
 *
 * Every rule is prefixed `body.bpc-page` so it outranks ruki-child's
 * `.t33-page-main .entry-content a / h1..h6 / input` rules at (0,3,1).
 * No !important. The shared tool-page shell is spliced in at the end of this
 * file by ../_shared/sync-shell.js; do not edit inside its markers.
 * `font: ... inherit` is invalid shorthand: font-family is always its own line.
 */

body.bpc-page .bpc {
	--bpc-ink: #1b2233;
	--bpc-soft: #5a6378;
	--bpc-faint: #8b93a7;
	--bpc-cyan: #2bc8e8;
	--bpc-cyan-d: #0f8fab;
	--bpc-coral: #f67280;
	--bpc-coral-d: #d9485b;
	--bpc-navy: #0d1430;
	--bpc-line: #e3e7ef;
	--bpc-wash: #f5f8fc;
	--bpc-err: #c23b4a;
	position: relative;
	background: #fff;
	color: var(--bpc-ink);
	border-radius: 18px;
	padding: 22px 24px 22px;
	margin: 0 auto 2.2em;
	max-width: 980px;
	font-size: 16px;
	line-height: 1.5;
	box-sizing: border-box;
}

body.bpc-page .bpc *,
body.bpc-page .bpc *::before,
body.bpc-page .bpc *::after {
	box-sizing: border-box;
}

body.bpc-page .bpc [hidden] {
	display: none;
}

body.bpc-page .bpc button {
	font-family: inherit;
	cursor: pointer;
}

/* ----------------------------------------------------------------- tabs */

body.bpc-page .bpc .bpc-tabs {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 6px;
	margin: 0 0 20px;
	padding: 5px;
	border-radius: 14px;
	background: var(--bpc-wash);
}

body.bpc-page .bpc .bpc-tab {
	min-height: 48px;
	margin: 0;
	padding: 8px 8px;
	border: 0;
	border-radius: 10px;
	background: transparent;
	color: var(--bpc-soft);
	font-size: 0.95rem;
	font-weight: 700;
	line-height: 1.2;
	transition: background-color 0.2s, color 0.2s, box-shadow 0.2s;
}

body.bpc-page .bpc .bpc-tab:hover {
	color: var(--bpc-ink);
}

body.bpc-page .bpc .bpc-tab.is-on {
	background: #fff;
	color: var(--bpc-navy);
	box-shadow: 0 2px 10px rgba(13, 20, 48, 0.14), 0 0 0 2px rgba(43, 200, 232, 0.5);
}

body.bpc-page .bpc .bpc-tab:focus-visible,
body.bpc-page .bpc .bpc-chip:focus-visible,
body.bpc-page .bpc .bpc-btn:focus-visible,
body.bpc-page .bpc .bpc-segb:focus-visible,
body.bpc-page .bpc summary:focus-visible {
	outline: 3px solid rgba(43, 200, 232, 0.55);
	outline-offset: 2px;
}

/* ----------------------------------------------------------------- main */

body.bpc-page .bpc .bpc-main {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
	grid-template-areas:
		"form visual"
		"form results";
	gap: 20px 24px;
	align-items: start;
}

body.bpc-page .bpc .bpc-left { grid-area: form; min-width: 0; }
body.bpc-page .bpc .bpc-visual { grid-area: visual; }
body.bpc-page .bpc .bpc-results { grid-area: results; min-width: 0; }

body.bpc-page .bpc .bpc-form > * + * {
	margin-top: 14px;
}

body.bpc-page .bpc .bpc-field {
	display: block;
	margin: 0;
	min-width: 0;
}

body.bpc-page .bpc .bpc-label {
	display: block;
	margin-bottom: 5px;
	color: var(--bpc-soft);
	font-size: 0.74rem;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

body.bpc-page .bpc .bpc-two {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
	align-items: end;
}

body.bpc-page .bpc .bpc-inwrap {
	position: relative;
	display: block;
}

body.bpc-page .bpc .bpc-input,
body.bpc-page .bpc .bpc-select {
	display: block;
	width: 100%;
	height: 48px;
	margin: 0;
	padding: 0 12px;
	border: 1.5px solid #cdd4e1;
	border-radius: 10px;
	background-color: #fff;
	color: var(--bpc-ink);
	font-family: inherit;
	font-size: 1.02rem;
	font-weight: 600;
	box-shadow: none;
	-webkit-appearance: none;
	appearance: none;
	transition: border-color 0.15s, box-shadow 0.15s;
}

body.bpc-page .bpc .bpc-inwrap .bpc-input {
	padding-right: 52px;
}

body.bpc-page .bpc .bpc-select {
	padding-right: 32px;
	font-size: 0.95rem;
	font-weight: 500;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%235a6378' stroke-width='1.8'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 12px center;
	text-overflow: ellipsis;
}

body.bpc-page .bpc .bpc-input:focus,
body.bpc-page .bpc .bpc-select:focus {
	outline: none;
	border-color: var(--bpc-cyan);
	box-shadow: 0 0 0 3px rgba(43, 200, 232, 0.25);
}

body.bpc-page .bpc .bpc-input.is-bad {
	border-color: var(--bpc-err);
	box-shadow: 0 0 0 3px rgba(194, 59, 74, 0.14);
}

body.bpc-page .bpc .bpc-suffix {
	position: absolute;
	top: 50%;
	right: 12px;
	transform: translateY(-50%);
	color: var(--bpc-faint);
	font-size: 0.9rem;
	font-weight: 600;
	pointer-events: none;
}

body.bpc-page .bpc .bpc-hint {
	display: block;
	margin-top: 4px;
	color: var(--bpc-faint);
	font-size: 0.78rem;
	line-height: 1.35;
}

body.bpc-page .bpc .bpc-note {
	margin: 0;
}

body.bpc-page .bpc .bpc-flow {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 72px;
	gap: 6px;
}

/* segmented control */

body.bpc-page .bpc .bpc-seg {
	display: inline-flex;
	max-width: 100%;
	padding: 3px;
	border-radius: 999px;
	background: #e6edf5;
}

body.bpc-page .bpc .bpc-segb {
	min-height: 42px;
	margin: 0;
	padding: 6px 14px;
	border: 0;
	border-radius: 999px;
	background: transparent;
	color: var(--bpc-soft);
	font-size: 0.86rem;
	font-weight: 700;
	line-height: 1.2;
	transition: background-color 0.2s, color 0.2s;
}

body.bpc-page .bpc .bpc-segb.is-on {
	background: #fff;
	color: var(--bpc-navy);
	box-shadow: 0 1px 4px rgba(13, 20, 48, 0.14);
}

body.bpc-page .bpc .bpc-alt-row .bpc-seg {
	display: flex;
}

body.bpc-page .bpc .bpc-alt-row .bpc-segb {
	flex: 1 1 0;
}

/* slider */

body.bpc-page .bpc .bpc-range {
	display: block;
	width: 100%;
	height: 32px;
	margin: 4px 0 0;
	padding: 0;
	border: 0;
	background: transparent;
	-webkit-appearance: none;
	appearance: none;
	--p: 50%;
}

body.bpc-page .bpc .bpc-range::-webkit-slider-runnable-track {
	height: 8px;
	border-radius: 8px;
	background: linear-gradient(90deg, var(--bpc-cyan) var(--p), #d3e3ec var(--p));
}

body.bpc-page .bpc .bpc-range::-moz-range-track {
	height: 8px;
	border-radius: 8px;
	background: #d3e3ec;
}

body.bpc-page .bpc .bpc-range::-moz-range-progress {
	height: 8px;
	border-radius: 8px;
	background: var(--bpc-cyan);
}

body.bpc-page .bpc .bpc-range::-webkit-slider-thumb {
	width: 28px;
	height: 28px;
	margin-top: -10px;
	border: 3px solid #fff;
	border-radius: 50%;
	background: var(--bpc-cyan-d);
	box-shadow: 0 2px 8px rgba(13, 20, 48, 0.3);
	-webkit-appearance: none;
	appearance: none;
	transition: transform 0.15s;
}

body.bpc-page .bpc .bpc-range:active::-webkit-slider-thumb {
	transform: scale(1.15);
}

body.bpc-page .bpc .bpc-range::-moz-range-thumb {
	width: 22px;
	height: 22px;
	border: 3px solid #fff;
	border-radius: 50%;
	background: var(--bpc-cyan-d);
	box-shadow: 0 2px 8px rgba(13, 20, 48, 0.3);
}

/* chips */

body.bpc-page .bpc .bpc-presets {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
}

body.bpc-page .bpc .bpc-presets-l {
	margin-right: 2px;
	color: var(--bpc-soft);
	font-size: 0.8rem;
	font-weight: 700;
}

body.bpc-page .bpc .bpc-chip {
	min-height: 36px;
	margin: 0;
	padding: 6px 12px;
	border: 1.5px solid var(--bpc-line);
	border-radius: 999px;
	background: #fff;
	color: var(--bpc-ink);
	font-size: 0.82rem;
	font-weight: 600;
	line-height: 1.2;
	transition: border-color 0.2s, background-color 0.2s, transform 0.2s;
}

body.bpc-page .bpc .bpc-chip:hover {
	border-color: var(--bpc-cyan);
	background: #ecfaff;
	transform: translateY(-1px);
}

/* disclosure inside the form */

body.bpc-page .bpc .bpc-more {
	border: 1.5px solid var(--bpc-line);
	border-radius: 12px;
	background: #fff;
}

body.bpc-page .bpc .bpc-more summary {
	position: relative;
	padding: 12px 40px 12px 14px;
	color: var(--bpc-navy);
	font-size: 0.9rem;
	font-weight: 700;
	line-height: 1.3;
	cursor: pointer;
	list-style: none;
}

body.bpc-page .bpc .bpc-more summary::-webkit-details-marker {
	display: none;
}

body.bpc-page .bpc .bpc-more summary::after,
body.bpc-page .bpc .bpc-panel summary::after {
	content: "";
	position: absolute;
	top: 50%;
	right: 16px;
	width: 9px;
	height: 9px;
	margin-top: -6px;
	border-right: 2px solid var(--bpc-soft);
	border-bottom: 2px solid var(--bpc-soft);
	transform: rotate(45deg);
	transition: transform 0.25s;
}

body.bpc-page .bpc .bpc-more[open] summary::after,
body.bpc-page .bpc .bpc-panel[open] summary::after {
	margin-top: -2px;
	transform: rotate(225deg);
}

body.bpc-page .bpc .bpc-more-b {
	padding: 0 14px 14px;
}

body.bpc-page .bpc .bpc-more-b > * + * {
	margin-top: 10px;
}

/* ------------------------------------------------------------ the scene */

body.bpc-page .bpc .bpc-visual {
	position: relative;
	border-radius: 16px;
	background: radial-gradient(120% 90% at 50% 0%, #ffffff 0%, #eef4fb 60%, #e4ecf6 100%);
	overflow: hidden;
}

body.bpc-page .bpc .bpc-visual::after {
	content: "";
	position: absolute;
	inset: 0;
	background-image: radial-gradient(rgba(13, 20, 48, 0.07) 1px, transparent 1px);
	background-size: 18px 18px;
	pointer-events: none;
	-webkit-mask-image: linear-gradient(180deg, transparent, #000 40%, #000 70%, transparent);
	mask-image: linear-gradient(180deg, transparent, #000 40%, #000 70%, transparent);
}

body.bpc-page .bpc .bpc-svg {
	position: relative;
	z-index: 1;
	display: block;
	width: 100%;
	height: auto;
}

body.bpc-page .bpc .bpc-shadow { fill: rgba(13, 20, 48, 0.1); }
body.bpc-page .bpc .bpc-tube { fill: #fff; stroke: #0d1430; stroke-width: 1.8; }
body.bpc-page .bpc .bpc-bulb-o { fill: #fff; stroke: #0d1430; stroke-width: 1.8; }
body.bpc-page .bpc .bpc-tube-in { fill: #e9eef6; stroke: none; }
body.bpc-page .bpc .bpc-bulb { fill: var(--bpc-coral); }
body.bpc-page .bpc .bpc-merc {
	fill: var(--bpc-coral);
	transform-box: fill-box;
	transform-origin: 50% 100%;
	transform: scaleY(var(--f, 0));
	transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}
body.bpc-page .bpc .bpc-tick { stroke: #6b7690; stroke-width: 1.2; }
body.bpc-page .bpc .bpc-tick-t,
body.bpc-page .bpc .bpc-sea-t,
body.bpc-page .bpc .bpc-unit-t {
	fill: #4a5470;
	font-family: inherit;
	font-size: 11px;
	font-weight: 700;
}
body.bpc-page .bpc .bpc-sea-t { fill: #6b7690; font-size: 10px; font-weight: 600; }
body.bpc-page .bpc .bpc-unit-t { font-size: 12px; fill: var(--bpc-navy); }

body.bpc-page .bpc .bpc-handle { fill: #8c98b0; }
body.bpc-page .bpc .bpc-pot { fill: #5b6a8a; stroke: #0d1430; stroke-width: 1.8; stroke-linejoin: round; }
body.bpc-page .bpc .bpc-rim { fill: #7787a6; stroke: #0d1430; stroke-width: 1.8; }
body.bpc-page .bpc .bpc-water { fill: #6fd3ee; opacity: 0.95; }
body.bpc-page .bpc .bpc-surface { stroke: #c8f1fb; stroke-width: 3; stroke-linecap: round; }
body.bpc-page .bpc .bpc-bub { fill: rgba(255, 255, 255, 0.85); opacity: 0; animation: bpc-rise var(--d, 2s) ease-in var(--dl, 0s) infinite; }
body.bpc-page .bpc .bpc-steam path { fill: none; stroke: #9aa8c0; stroke-width: 3; stroke-linecap: round; opacity: 0.55; animation: bpc-steam 3s ease-in-out infinite; }
body.bpc-page .bpc .bpc-steam path:nth-child(2) { animation-delay: 0.9s; }
body.bpc-page .bpc .bpc-steam path:nth-child(3) { animation-delay: 1.8s; }

body.bpc-page .bpc .bpc-mtn-body { fill: #c9d6ea; stroke: #0d1430; stroke-width: 1.6; stroke-linejoin: round; }
body.bpc-page .bpc .bpc-mtn-snow { fill: #fff; stroke: none; }
body.bpc-page .bpc .bpc-sea { stroke: #5aa9c8; stroke-width: 1.4; stroke-dasharray: 4 4; }
body.bpc-page .bpc .bpc-pin {
	transform: translate(calc(var(--mx, 0) * 1px), calc(var(--my, 0) * 1px));
	transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}
body.bpc-page .bpc .bpc-pin-c { fill: var(--bpc-coral); stroke: #fff; stroke-width: 2.5; }
body.bpc-page .bpc .bpc-pin-t {
	fill: var(--bpc-navy);
	stroke: #fff;
	stroke-width: 3px;
	paint-order: stroke;
	font-family: inherit;
	font-size: 12px;
	font-weight: 800;
}

body.bpc-page .bpc .bpc-gauge-arc { fill: none; stroke: #b9c6dc; stroke-width: 8; stroke-linecap: round; }
body.bpc-page .bpc .bpc-atm { stroke: var(--bpc-coral); stroke-width: 3; stroke-linecap: round; }
body.bpc-page .bpc .bpc-needle {
	stroke: var(--bpc-navy);
	stroke-width: 3.5;
	stroke-linecap: round;
	transform: rotate(calc(var(--a, 0) * 1deg));
	transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}
body.bpc-page .bpc .bpc-hub { fill: var(--bpc-navy); }
body.bpc-page .bpc .bpc-gauge-t {
	fill: var(--bpc-navy);
	font-family: inherit;
	font-size: 13px;
	font-weight: 800;
}

body.bpc-page .bpc .bpc-glass { fill: rgba(255, 255, 255, 0.5); stroke: #0d1430; stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; }
body.bpc-page .bpc .bpc-ion { animation: bpc-float 3s ease-in-out var(--dl, 0s) infinite; }
body.bpc-page .bpc .bpc-ion-0 { fill: var(--bpc-coral); }
body.bpc-page .bpc .bpc-ion-1 { fill: #fff; stroke: var(--bpc-cyan-d); stroke-width: 1.5; }

@keyframes bpc-rise {
	0% { transform: translateY(0); opacity: 0; }
	15% { opacity: 0.9; }
	85% { opacity: 0.7; }
	100% { transform: translateY(var(--rise, -40px)); opacity: 0; }
}

@keyframes bpc-steam {
	0% { transform: translateY(6px); opacity: 0; }
	40% { opacity: 0.6; }
	100% { transform: translateY(-14px); opacity: 0; }
}

@keyframes bpc-float {
	0%, 100% { transform: translate(0, 0); }
	50% { transform: translate(2px, -3px); }
}

/* ------------------------------------------------------------- results */

body.bpc-page .bpc .bpc-hero {
	padding: 16px 18px 18px;
	border-radius: 16px;
	background: linear-gradient(135deg, #0d1430 0%, #17306a 100%);
	color: #fff;
	box-shadow: 0 10px 26px rgba(13, 20, 48, 0.22);
}

body.bpc-page .bpc .bpc-hero-top {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px;
}

body.bpc-page .bpc .bpc-kpi-l {
	color: #9fdcf0;
	font-size: 0.92rem;
	font-weight: 700;
	line-height: 1.35;
	min-width: 0;
}

body.bpc-page .bpc .bpc-hero .bpc-seg {
	flex: 0 0 auto;
	background: rgba(255, 255, 255, 0.16);
}

body.bpc-page .bpc .bpc-hero .bpc-segb {
	min-height: 40px;
	color: #d6ecf6;
}

body.bpc-page .bpc .bpc-hero .bpc-segb.is-on {
	background: #fff;
	color: var(--bpc-navy);
}

body.bpc-page .bpc .bpc-answer {
	margin-top: 6px;
	font-size: 3.1rem;
	font-weight: 800;
	line-height: 1.1;
	letter-spacing: -0.01em;
	font-variant-numeric: tabular-nums;
	overflow-wrap: anywhere;
}

body.bpc-page .bpc .bpc-answer small {
	font-size: 0.5em;
	font-weight: 700;
	opacity: 0.85;
}

body.bpc-page .bpc .bpc-others {
	margin-top: 2px;
	color: #cfe4f3;
	font-size: 1.02rem;
	font-weight: 600;
	font-variant-numeric: tabular-nums;
}

body.bpc-page .bpc .bpc-sep {
	opacity: 0.55;
}

body.bpc-page .bpc .bpc-badge {
	display: inline-block;
	margin-top: 12px;
	padding: 6px 12px;
	border-radius: 999px;
	font-size: 0.88rem;
	font-weight: 800;
	line-height: 1.2;
}

body.bpc-page .bpc .bpc-badge.is-down { background: #d9f4fc; color: #0a5d75; }
body.bpc-page .bpc .bpc-badge.is-up { background: #ffdfe3; color: #a52e3f; }
body.bpc-page .bpc .bpc-badge.is-same { background: #e6edf5; color: #3b4560; }

body.bpc-page .bpc .bpc-warn {
	margin: 12px 0 0;
	padding: 10px 14px;
	border-left: 4px solid var(--bpc-coral);
	border-radius: 0 10px 10px 0;
	background: #fff5f6;
	color: #7a2833;
	font-size: 0.88rem;
	line-height: 1.45;
}

body.bpc-page .bpc .bpc-facts-h {
	margin: 16px 0 8px;
	color: var(--bpc-soft);
	font-size: 0.74rem;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

body.bpc-page .bpc .bpc-facts {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

body.bpc-page .bpc .bpc-facts li {
	display: flex;
	flex-direction: column;
	margin: 0;
	padding: 9px 12px;
	border-radius: 12px;
	background: var(--bpc-wash);
	color: var(--bpc-soft);
	font-size: 0.78rem;
}

body.bpc-page .bpc .bpc-facts li::before {
	content: none;
}

body.bpc-page .bpc .bpc-facts strong {
	color: var(--bpc-navy);
	font-size: 1rem;
	font-variant-numeric: tabular-nums;
	overflow-wrap: anywhere;
}

body.bpc-page .bpc .bpc-out.is-err {
	padding: 16px 18px;
	border: 1.5px solid #f2c6cc;
	border-radius: 14px;
	background: #fff5f6;
	color: var(--bpc-err);
}

body.bpc-page .bpc .bpc-err-h {
	margin: 0 0 4px;
	font-weight: 800;
}

body.bpc-page .bpc .bpc-errs {
	margin: 0;
	padding-left: 18px;
}

/* --------------------------------------------------------------- chart */

body.bpc-page .bpc .bpc-chart {
	margin-top: 22px;
	padding: 14px 16px 10px;
	border: 1.5px solid var(--bpc-line);
	border-radius: 14px;
}

body.bpc-page .bpc .bpc-chart-h {
	margin: 0 0 6px;
	color: var(--bpc-navy);
	font-size: 0.98rem;
	font-weight: 800;
}

body.bpc-page .bpc .bpc-chart-svg {
	display: block;
	width: 100%;
	height: auto;
}

body.bpc-page .bpc .bpc-grid { stroke: #e3e7ef; stroke-width: 1; }
body.bpc-page .bpc .bpc-grid-v { stroke: #eef1f6; }
body.bpc-page .bpc .bpc-ax-t { fill: #5a6378; font-family: inherit; font-size: 12.5px; font-weight: 600; }
body.bpc-page .bpc .bpc-ax-title { fill: #5a6378; font-family: inherit; font-size: 12.5px; font-weight: 700; }
body.bpc-page .bpc .bpc-curve { fill: none; stroke: var(--bpc-cyan-d); stroke-width: 3; stroke-linejoin: round; stroke-linecap: round; }
body.bpc-page .bpc .bpc-ref { stroke: #9aa8bf; stroke-width: 1.3; stroke-dasharray: 5 5; }
body.bpc-page .bpc .bpc-ref-t { fill: #6b7690; font-family: inherit; font-size: 12px; font-weight: 600; }
body.bpc-page .bpc .bpc-mark-l { stroke: var(--bpc-coral); stroke-width: 1.5; stroke-dasharray: 3 4; }
body.bpc-page .bpc .bpc-mark-c { fill: var(--bpc-coral); stroke: #fff; stroke-width: 3; }
body.bpc-page .bpc .bpc-mark-t {
	fill: var(--bpc-navy);
	stroke: #fff;
	stroke-width: 4px;
	paint-order: stroke;
	font-family: inherit;
	font-size: 13px;
	font-weight: 800;
}

/* -------------------------------------------------------------- panels */

body.bpc-page .bpc .bpc-panel {
	margin: 14px 0 0;
	border: 1.5px solid var(--bpc-line);
	border-radius: 14px;
	background: #fff;
}

body.bpc-page .bpc .bpc-panel summary {
	position: relative;
	padding: 14px 44px 14px 16px;
	color: var(--bpc-navy);
	font-weight: 700;
	cursor: pointer;
	list-style: none;
}

body.bpc-page .bpc .bpc-panel summary::-webkit-details-marker {
	display: none;
}

body.bpc-page .bpc .bpc-panel-b {
	padding: 0 16px 16px;
}

body.bpc-page .bpc .bpc-steps {
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: bpcstep;
}

body.bpc-page .bpc .bpc-step {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 2px;
	margin: 0;
	padding: 10px 0 10px 40px;
	border-bottom: 1px dashed var(--bpc-line);
	counter-increment: bpcstep;
	font-variant-numeric: tabular-nums;
}

body.bpc-page .bpc .bpc-step:last-child {
	border-bottom: 0;
}

body.bpc-page .bpc .bpc-step::before {
	content: counter(bpcstep);
	position: absolute;
	top: 10px;
	left: 0;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background: #ecfaff;
	color: var(--bpc-cyan-d);
	font-size: 0.82rem;
	font-weight: 800;
	line-height: 26px;
	text-align: center;
}

body.bpc-page .bpc .bpc-step-l {
	color: var(--bpc-navy);
	font-weight: 700;
}

body.bpc-page .bpc .bpc-step-f {
	color: var(--bpc-soft);
	font-size: 0.92rem;
	overflow-wrap: anywhere;
}

body.bpc-page .bpc .bpc-step-s,
body.bpc-page .bpc .bpc-step-r {
	font-size: 0.92rem;
	overflow-wrap: anywhere;
}

body.bpc-page .bpc .bpc-muted {
	margin: 0 0 8px;
	color: var(--bpc-soft);
	font-size: 0.86rem;
}

/* ------------------------------------------------------------- actions */

body.bpc-page .bpc .bpc-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin-top: 16px;
}

body.bpc-page .bpc .bpc-btn {
	min-height: 44px;
	margin: 0;
	padding: 10px 16px;
	border: 1.5px solid #cdd4e1;
	border-radius: 10px;
	background: #fff;
	color: var(--bpc-navy);
	font-size: 0.9rem;
	font-weight: 700;
	line-height: 1.2;
	transition: border-color 0.2s, background-color 0.2s, transform 0.15s;
}

body.bpc-page .bpc .bpc-btn:hover {
	border-color: var(--bpc-cyan);
	transform: translateY(-1px);
}

body.bpc-page .bpc .bpc-btn-p {
	border-color: var(--bpc-navy);
	background: var(--bpc-navy);
	color: #fff;
}

body.bpc-page .bpc .bpc-btn-p:hover {
	background: #17306a;
	border-color: #17306a;
}

body.bpc-page .bpc .bpc-btn-s {
	min-height: 38px;
	padding: 6px 14px;
	font-size: 0.84rem;
}

body.bpc-page .bpc .bpc-toast {
	color: #1f8a5b;
	font-size: 0.88rem;
	font-weight: 700;
	opacity: 0;
	transition: opacity 0.3s;
}

body.bpc-page .bpc .bpc-toast.is-on {
	opacity: 1;
}

/* ------------------------------------------------------------- article */

body.bpc-page .entry-content .bpc-figure {
	margin: 1.8em 0;
}

body.bpc-page .entry-content .bpc-figure img {
	display: block;
	width: 100%;
	max-width: 100%;
	height: auto;
	border-radius: 14px;
}

body.bpc-page .entry-content .bpc-figure figcaption {
	margin-top: 8px;
	color: #6b7388;
	font-size: 0.86rem;
	text-align: center;
}

body.bpc-page .entry-content .bpc-table {
	width: 100%;
	margin: 1.2em 0 1.6em;
	border-collapse: collapse;
	font-size: 0.95rem;
}

body.bpc-page .entry-content .bpc-table th,
body.bpc-page .entry-content .bpc-table td {
	display: table-cell;
	padding: 9px 12px;
	border: 0;
	border-bottom: 1px solid #e3e7ef;
	text-align: left;
	color: #1b2233;
}

body.bpc-page .entry-content .bpc-table th {
	background: #0d1430;
	color: #fff;
	font-size: 0.82rem;
	font-weight: 700;
}

body.bpc-page .entry-content .bpc-table td + td,
body.bpc-page .entry-content .bpc-table th + th {
	text-align: right;
}

/* ------------------------------------------------------------- phones */

@media (max-width: 860px) {
	body.bpc-page .bpc .bpc-main {
		grid-template-columns: minmax(0, 1fr);
		grid-template-areas:
			"form"
			"results"
			"visual";
	}
	body.bpc-page .bpc .bpc-facts {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 560px) {
	body.bpc-page .bpc {
		padding: 14px 12px 16px;
		border-radius: 14px;
	}
	body.bpc-page .bpc .bpc-sol-row {
		grid-template-columns: minmax(0, 1fr);
	}
	body.bpc-page .bpc .bpc-tab {
		font-size: 0.82rem;
		padding: 6px 4px;
	}
	body.bpc-page .bpc .bpc-answer {
		font-size: 2.6rem;
	}
	body.bpc-page .bpc .bpc-facts {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	body.bpc-page .bpc .bpc-hero {
		padding: 14px 14px 16px;
	}
	body.bpc-page .bpc .bpc-hero-top {
		flex-direction: column;
		gap: 8px;
	}
	body.bpc-page .bpc .bpc-chart {
		padding: 12px 8px 8px;
	}
	body.bpc-page .bpc .bpc-ax-t,
	body.bpc-page .bpc .bpc-ax-title {
		font-size: 21px;
	}
	body.bpc-page .bpc .bpc-ref-t {
		font-size: 19px;
	}
	body.bpc-page .bpc .bpc-mark-t {
		font-size: 22px;
		stroke-width: 6px;
	}
	body.bpc-page .bpc .bpc-tick-t {
		font-size: 13px;
	}
	body.bpc-page .bpc .bpc-actions .bpc-btn {
		flex: 1 1 calc(50% - 8px);
	}
	body.bpc-page .bpc .bpc-actions .bpc-toast {
		flex: 1 1 100%;
	}
}

@media (prefers-reduced-motion: reduce) {
	body.bpc-page .bpc *,
	body.bpc-page .bpc *::before,
	body.bpc-page .bpc *::after {
		animation: none;
		transition: none;
	}
	body.bpc-page .bpc .bpc-bub {
		display: none;
	}
	body.bpc-page .bpc .bpc-steam path,
	body.bpc-page .bpc .bpc-ion,
	body.bpc-page .bpc .bpc-merc,
	body.bpc-page .bpc .bpc-pin,
	body.bpc-page .bpc .bpc-needle,
	body.bpc-page .bpc .bpc-range::-webkit-slider-thumb {
		animation: none;
		transition: none;
	}
	body.bpc-page .bpc .bpc-steam path {
		opacity: 0.4;
	}
}

/* >>> t33 tool-page shell v1 (generated - edit _shared/toolpage-shell.css) */

/*
 * Makes the lift the card's own. Without a block formatting context the card's
 * negative margin collapses out through `.entry-content`, `article` and
 * `.t33-page-main` -- none of which has top padding -- and lands on `.wrap`,
 * moving the entire column instead of the one element. Measured on the live
 * page before this line existed: `.wrap` top and card top were both 300px, so
 * the declared -72px was in effect on the wrong element and no gate could see
 * the difference.
 */
body.bpc-page .t33-page-main .entry-content {
	display: flow-root;
}

/*
 * The prose measure. Enumerated by tag rather than written as
 * `> *:not(.bpc)`, which is what the word search shipped first: a
 * :not() selector also narrows MEDIAVINE'S INJECTED CONTAINERS to 760px,
 * quietly shrinking every in-content unit on the page. Ad units, the tool and
 * the tool strip are divs and navs, so enumerating prose tags leaves them at
 * full column width.
 *
 * `:is()` takes the specificity of its heaviest argument -- a type selector,
 * (0,0,1) -- so this lands at (0,3,2) and beats ruki-child's (0,3,1).
 */
body.bpc-page .t33-page-main .entry-content > :is(p, h2, h3, h4, h5, h6, ul, ol, dl, blockquote, figure, pre) {
	max-width: 760px;
	margin-left: auto;
	margin-right: auto;
}

/*
 * Room for the card to land in. The theme ships `padding: 170px 0 90px`; the
 * extra bottom padding here is spent by the lift below, so the title keeps the
 * breathing room it has today and the tool does not move down the page.
 */
body.bpc-page .t33-page-hero {
	padding-bottom: 132px;
}

/*
 * The lift. Mirrors `.t33-article-media`, which is what the theme already does
 * with a featured image on every other page of the site.
 *
 * The hero is a sibling of `.wrap`, not an ancestor, so its `overflow: hidden`
 * cannot clip this; and it carries no `z-index`, so `z-index: 5` here paints
 * over it. Both of those are the theme's own assumptions -- `.t33-article-media`
 * relies on exactly the same two facts.
 *
 * The ring in the first shadow is load-bearing, not decoration. The word
 * search board's background is #070b1a, byte-identical to the band's bottom
 * gradient stop (--t33-navy-1), so without a hairline the lifted panel would
 * dissolve into the band instead of sitting on it.
 *
 * `border-radius` is deliberately NOT set: each tool keeps its own (18px for
 * the board, 10px for the drill card), and the word search flattens it to 0
 * when the board goes full-bleed on a phone.
 *
 * `:first-child` is a safety catch, not tidiness. If Journey ever inserts a
 * unit at the very top of `.entry-content`, the tool stops being the first
 * child and the lift drops -- which is the right failure. Without it the tool
 * would keep its -72px and ride up over the ad unit.
 */
body.bpc-page .t33-page-main .entry-content > .bpc:first-child {
	position: relative;
	z-index: 5;
	margin-top: -72px;
	box-shadow:
		0 0 0 1px rgba(232, 238, 252, 0.18),
		0 26px 60px rgba(7, 11, 26, 0.45);
}

/*
 * The first paragraph after the tool carries the page. It is still a top-level
 * child of `.entry-content` -- only its type scale changed.
 */
body.bpc-page .t33-page-main .entry-content > .bpc + p {
	font-size: 1.18rem;
	line-height: 1.7;
	color: var(--t33-ink-soft, #5a6378);
}

/*
 * Section headings get an accent marker instead of being a bare bold line.
 * `::before` is used rather than a wrapper element precisely because a wrapper
 * would swallow an ad slot.
 */
body.bpc-page .t33-page-main .entry-content > h2 {
	position: relative;
	padding-top: 22px;
	margin-top: 2.4em;
}

body.bpc-page .t33-page-main .entry-content > h2::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 54px;
	height: 4px;
	border-radius: 999px;
	background: linear-gradient(90deg, var(--t33-cyan, #2bc8e8), var(--t33-coral, #f67280));
}

/*
 * FAQ pairs, styled through an adjacent-sibling selector. A `<details>` or a
 * wrapper would read better in isolation and cost an ad slot per question.
 */
body.bpc-page .t33-page-main .entry-content > h3 {
	margin-top: 1.8em;
	font-size: 1.22rem;
}

body.bpc-page .t33-page-main .entry-content > h3 + p {
	border-left: 3px solid rgba(43, 200, 232, 0.35);
	padding-left: 16px;
	color: var(--t33-ink-soft, #5a6378);
}

/*
 * Opt-in callout, applied to a top-level <p> in the content/*.html articles.
 * content-check.js balances tags and never inspects attributes, so adding a
 * class to those files is safe.
 */
body.bpc-page .t33-page-main .entry-content > p.t33-callout {
	background: var(--t33-paper-soft, #fff7f3);
	border-left: 4px solid var(--t33-coral, #f67280);
	border-radius: 0 var(--t33-radius, 14px) var(--t33-radius, 14px) 0;
	padding: 18px 22px;
	font-size: 1.02rem;
}

body.bpc-page .t33-page-main .entry-content > ul > li::marker,
body.bpc-page .t33-page-main .entry-content > ol > li::marker {
	color: var(--t33-cyan, #2bc8e8);
}

/* -------------------------------------------------- more science tools --- */

/*
 * Appended by a `the_content` filter, so it is a top-level child of
 * `.entry-content` like any other -- it ADDS an ad boundary rather than
 * removing one, and it reaches pages that do not exist yet.
 */
body.bpc-page .t33-page-main .entry-content > .t33-toolstrip {
	margin-top: 3em;
	padding-top: 1.6em;
	border-top: 1px solid #e3e7ef;
}

body.bpc-page .entry-content .t33-toolstrip-title {
	margin: 0 0 1em;
	font-size: 0.82rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--t33-ink-soft, #5a6378);
}

body.bpc-page .entry-content .t33-toolstrip-list {
	display: grid;
	gap: 14px;
	grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
	margin: 0;
	padding: 0;
	list-style: none;
}

body.bpc-page .entry-content .t33-toolstrip-list li {
	margin: 0;
}

body.bpc-page .entry-content .t33-toolstrip-card {
	display: block;
	height: 100%;
	padding: 16px 18px;
	background: var(--t33-paper, #fff);
	border: 1px solid #e3e7ef;
	border-radius: var(--t33-radius, 14px);
	box-shadow: var(--t33-shadow, 0 10px 30px rgba(7, 11, 26, 0.10));
	color: var(--t33-ink, #1b2233);
	text-decoration: none;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

body.bpc-page .entry-content .t33-toolstrip-card:hover {
	color: var(--t33-ink, #1b2233);
	transform: translateY(-2px);
	box-shadow: var(--t33-shadow-lift, 0 18px 44px rgba(7, 11, 26, 0.16));
}

body.bpc-page .entry-content .t33-toolstrip-name {
	display: block;
	font-weight: 800;
	font-size: 1.02rem;
	margin-bottom: 4px;
}

body.bpc-page .entry-content .t33-toolstrip-what {
	display: block;
	font-size: 0.92rem;
	line-height: 1.5;
	color: var(--t33-ink-soft, #5a6378);
}

/* ------------------------------------------------------------- phone ---- */

/* 600px is the theme's own hero breakpoint, not a new one. */
@media (max-width: 600px) {

	/*
	 * The phone gutter, reclaimed. The theme gutters this column twice -- the
	 * parent theme's bare `.entry-content { padding: 0 30px }` plus
	 * `.t33-page-main`'s own 18px -- so on a 390px phone the tool had 314px to
	 * work with and lost 76px, a fifth of the screen, to empty margin. Measured,
	 * not guessed.
	 *
	 * 12px rather than 0: the prose inside this column still needs an edge, and
	 * every tool card carries its own padding on top of this. Ad containers are
	 * children of `.entry-content` too, so they get the width back as well.
	 */
	body.bpc-page .t33-page-main {
		padding-left: 8px;
		padding-right: 8px;
	}

	body.bpc-page .t33-page-main .entry-content {
		padding-left: 12px;
		padding-right: 12px;
	}

	body.bpc-page .t33-page-hero {
		padding-bottom: 88px;
	}

	body.bpc-page .t33-page-main .entry-content > .bpc:first-child {
		margin-top: -44px;
	}

	body.bpc-page .t33-page-main .entry-content > .bpc + p {
		font-size: 1.1rem;
	}
}

@media (prefers-reduced-motion: reduce) {

	body.bpc-page .entry-content .t33-toolstrip-card {
		transition: none;
	}

	body.bpc-page .entry-content .t33-toolstrip-card:hover {
		transform: none;
	}
}

/* <<< t33 tool-page shell */

/* ------------------------------------------------- article tables + gear */

/* Tables and the gear box are not in the enumerated prose measure above, so
 * they get the same 760px column here (same (0,3,2) weight). */
body.bpc-page .t33-page-main .entry-content > :is(table.bpc-table, div.bpc-gear) {
	max-width: 760px;
	margin-left: auto;
	margin-right: auto;
}

body.bpc-page .entry-content .bpc-table tbody tr:nth-child(even) td {
	background: #f6f8fb;
}

body.bpc-page .entry-content .bpc-gear {
	display: grid;
	gap: 14px;
	margin: 1.4em auto 0.6em;
}

body.bpc-page .entry-content .bpc-gear-card {
	display: grid;
	grid-template-columns: 140px minmax(0, 1fr);
	gap: 18px;
	align-items: center;
	padding: 16px 18px;
	border: 1px solid #e3e7ef;
	border-radius: 16px;
	background: #fff;
	box-shadow: 0 6px 18px rgba(13, 20, 48, 0.06);
}

body.bpc-page .entry-content .bpc-gear-card > p:empty {
	display: none;
}

body.bpc-page .entry-content .bpc-gear-img {
	grid-column: 1;
	grid-row: 1;
	margin: 0;
}

body.bpc-page .entry-content .bpc-gear-img img {
	display: block;
	width: 140px;
	height: 140px;
	object-fit: contain;
	border-radius: 10px;
	background: #fff;
}

body.bpc-page .entry-content .bpc-gear-body {
	grid-column: 2;
	grid-row: 1;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 4px;
}

body.bpc-page .entry-content .bpc-gear-kind {
	color: #0e8aa8;
	font-size: 0.74rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

body.bpc-page .entry-content .bpc-gear-name {
	color: #0d1430;
	font-size: 1.08rem;
	font-weight: 800;
	line-height: 1.3;
}

body.bpc-page .entry-content .bpc-gear-text {
	color: #3a4258;
	font-size: 0.94rem;
	line-height: 1.55;
}

body.bpc-page .t33-page-main .entry-content a.bpc-gear-btn {
	margin-top: 8px;
	padding: 9px 16px;
	border-radius: 999px;
	background: #0d1430;
	color: #fff;
	font-size: 0.88rem;
	font-weight: 700;
	text-decoration: none;
}

body.bpc-page .t33-page-main .entry-content a.bpc-gear-btn:hover {
	background: #0e8aa8;
}

body.bpc-page .entry-content .bpc-gear-note {
	color: #6b7388;
	font-size: 0.82rem;
}

@media (max-width: 640px) {
	body.bpc-page .entry-content .bpc-gear-card {
		grid-template-columns: 96px minmax(0, 1fr);
		gap: 12px;
		padding: 14px;
		align-items: start;
	}
	body.bpc-page .entry-content .bpc-gear-img img {
		width: 96px;
		height: 96px;
	}
	body.bpc-page .entry-content .bpc-table {
		font-size: 0.85rem;
	}
	body.bpc-page .entry-content .bpc-table th,
	body.bpc-page .entry-content .bpc-table td {
		padding: 8px 6px;
	}
}
