/*
 * Melting Point Calculator. GENERATED from dev/mpc.src.css by dev/build-css.js: edit the source.
 * Every rule is prefixed `body.mpc-page .mpc` 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 by ../_shared/sync-shell.js.
 */

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

body.mpc-page .mpc *,
body.mpc-page .mpc *::before,
body.mpc-page .mpc *::after { box-sizing: border-box; }
body.mpc-page .mpc [hidden] { display: none; }
body.mpc-page .mpc button { font-family: inherit; cursor: pointer; }
body.mpc-page .mpc button:disabled { cursor: default; }

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

body.mpc-page .mpc .mpc-muted {
	margin: 10px 0 0;
	color: var(--mpc-soft);
	font-size: 0.9rem;
	line-height: 1.5;
}

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

/* ---------------------------------------------------------------- search */

body.mpc-page .mpc .mpc-search { margin: 0 0 12px; }

body.mpc-page .mpc .mpc-combo { position: relative; }

body.mpc-page .mpc .mpc-input,
body.mpc-page .mpc .mpc-select {
	display: block;
	width: 100%;
	height: 46px;
	margin: 0;
	padding: 0 12px;
	border: 1.5px solid #cdd4e1;
	border-radius: 10px;
	background-color: #fff;
	color: var(--mpc-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.mpc-page .mpc .mpc-q {
	height: 54px;
	padding-left: 46px;
	border-radius: 14px;
	font-size: 1.12rem;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5' fill='none' stroke='%238b93a7' stroke-width='2.2'/%3E%3Cpath d='M15.5 15.5L21 21' stroke='%238b93a7' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: 15px center;
}

body.mpc-page .mpc .mpc-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.mpc-page .mpc .mpc-input:focus,
body.mpc-page .mpc .mpc-select:focus {
	outline: none;
	border-color: var(--mpc-cyan);
	box-shadow: 0 0 0 3px rgba(43, 200, 232, 0.25);
}

body.mpc-page .mpc .mpc-input:disabled,
body.mpc-page .mpc .mpc-select:disabled {
	background-color: var(--mpc-wash);
	color: var(--mpc-faint);
}

body.mpc-page .mpc .mpc-list {
	position: absolute;
	z-index: 30;
	top: calc(100% + 6px);
	left: 0;
	right: 0;
	margin: 0;
	padding: 6px;
	list-style: none;
	border: 1.5px solid var(--mpc-line);
	border-radius: 14px;
	background: #fff;
	box-shadow: 0 18px 44px rgba(7, 11, 26, 0.18);
	max-height: 340px;
	overflow-y: auto;
}

body.mpc-page .mpc .mpc-opt {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto auto;
	align-items: center;
	gap: 12px;
	margin: 0;
	padding: 9px 12px;
	border-radius: 10px;
	cursor: pointer;
}

body.mpc-page .mpc .mpc-opt.is-active,
body.mpc-page .mpc .mpc-opt:hover { background: #ecfaff; }

body.mpc-page .mpc .mpc-opt-n {
	overflow: hidden;
	font-weight: 700;
	text-overflow: ellipsis;
	white-space: nowrap;
}

body.mpc-page .mpc .mpc-opt-m {
	color: var(--mpc-soft);
	font-size: 0.85rem;
	font-variant-numeric: tabular-nums;
}

body.mpc-page .mpc .mpc-opt-c {
	min-width: 68px;
	padding: 2px 8px;
	border-radius: 999px;
	background: var(--mpc-wash);
	color: var(--mpc-faint);
	font-size: 0.72rem;
	font-weight: 700;
	text-align: center;
}

body.mpc-page .mpc .mpc-none {
	margin: 0;
	padding: 12px;
	color: var(--mpc-soft);
	font-size: 0.92rem;
}

/* ----------------------------------------------------------------- chips */

body.mpc-page .mpc .mpc-chips,
body.mpc-page .mpc .mpc-quick,
body.mpc-page .mpc .mpc-compare {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
}

body.mpc-page .mpc .mpc-chips { margin: 0 0 20px; }
body.mpc-page .mpc .mpc-quick { margin: 12px 0 0; }

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

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

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

body.mpc-page .mpc .mpc-chip.is-on {
	border-color: var(--mpc-navy);
	background: var(--mpc-navy);
	color: #fff;
}

body.mpc-page .mpc .mpc-chip:focus-visible,
body.mpc-page .mpc .mpc-btn:focus-visible,
body.mpc-page .mpc .mpc-segb:focus-visible,
body.mpc-page .mpc .mpc-tab:focus-visible,
body.mpc-page .mpc .mpc-var-b:focus-visible,
body.mpc-page .mpc .mpc-var-p:focus-visible,
body.mpc-page .mpc .mpc-cx:focus-visible,
body.mpc-page .mpc .mpc-cname:focus-visible,
body.mpc-page .mpc .mpc-details summary:focus-visible {
	outline: 3px solid rgba(43, 200, 232, 0.55);
	outline-offset: 2px;
}

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

body.mpc-page .mpc .mpc-main {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 24px;
	align-items: start;
}

body.mpc-page .mpc .mpc-left,
body.mpc-page .mpc .mpc-right { min-width: 0; }

/* ------------------------------------------------------------------ card */

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

body.mpc-page .mpc .mpc-card .mpc-muted { color: #c9d3ee; }

body.mpc-page .mpc .mpc-card-top {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
}

body.mpc-page .mpc .mpc-cat,
body.mpc-page .mpc .mpc-pill {
	padding: 3px 10px;
	border-radius: 999px;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.03em;
	line-height: 1.4;
}

body.mpc-page .mpc .mpc-cat {
	background: rgba(43, 200, 232, 0.2);
	color: #9fdcf0;
	text-transform: uppercase;
}

body.mpc-page .mpc .mpc-pill {
	background: rgba(246, 114, 128, 0.22);
	color: #ffc2c9;
}

body.mpc-page .mpc .mpc-seg {
	display: inline-flex;
	margin-left: auto;
	padding: 3px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.12);
}

body.mpc-page .mpc .mpc-segb {
	margin: 0;
	padding: 5px 12px;
	border: 0;
	border-radius: 999px;
	background: transparent;
	color: #c9d3ee;
	font-size: 0.82rem;
	font-weight: 700;
	transition: background-color 0.2s, color 0.2s;
}

body.mpc-page .mpc .mpc-segb:hover { color: #fff; }

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

body.mpc-page .mpc .mpc-name {
	margin: 14px 0 2px;
	font-size: 1.3rem;
	font-weight: 800;
	line-height: 1.2;
}

body.mpc-page .mpc .mpc-name small {
	margin-left: 4px;
	color: #9fdcf0;
	font-size: 0.9rem;
	font-weight: 700;
}

body.mpc-page .mpc .mpc-big {
	display: flex;
	flex-direction: column;
	gap: 2px;
	margin: 6px 0 4px;
}

body.mpc-page .mpc .mpc-kpi-l {
	color: var(--mpc-soft);
	font-size: 0.74rem;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

body.mpc-page .mpc .mpc-card .mpc-kpi-l { color: #9fdcf0; }

body.mpc-page .mpc .mpc-answer {
	font-size: 2.3rem;
	font-weight: 800;
	line-height: 1.12;
	letter-spacing: -0.01em;
	font-variant-numeric: tabular-nums;
	overflow-wrap: anywhere;
}

body.mpc-page .mpc .mpc-alts {
	color: #c9d3ee;
	font-size: 0.95rem;
	font-variant-numeric: tabular-nums;
	overflow-wrap: anywhere;
}

body.mpc-page .mpc .mpc-sep { padding: 0 3px; color: #7e8db3; }

body.mpc-page .mpc .mpc-notes {
	margin: 12px 0 0;
	padding: 0 0 0 18px;
	color: #d4dcf2;
	font-size: 0.88rem;
	line-height: 1.5;
}

body.mpc-page .mpc .mpc-notes li { margin: 0 0 4px; padding: 0; }
body.mpc-page .mpc .mpc-notes li::marker { color: var(--mpc-cyan); }

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

body.mpc-page .mpc .mpc-facts li {
	display: flex;
	flex-direction: column;
	margin: 0;
	padding: 7px 0;
	border-top: 1px solid rgba(255, 255, 255, 0.14);
	font-size: 0.82rem;
}

body.mpc-page .mpc .mpc-facts span { color: #9fb0d6; font-weight: 600; }
body.mpc-page .mpc .mpc-facts strong { font-size: 0.98rem; font-variant-numeric: tabular-nums; }

body.mpc-page .mpc .mpc-src {
	margin: 10px 0 0;
	color: #9fb0d6;
	font-size: 0.78rem;
	line-height: 1.4;
}

body.mpc-page .mpc .mpc-src a {
	color: #9fdcf0;
	text-decoration: underline;
	text-decoration-color: rgba(159, 220, 240, 0.4);
	text-underline-offset: 2px;
	overflow-wrap: anywhere;
}

body.mpc-page .mpc .mpc-src a:hover { color: #fff; }

body.mpc-page .mpc .mpc-card-actions { margin: 12px 0 0; }

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

body.mpc-page .mpc .mpc-btn {
	margin: 0;
	padding: 10px 16px;
	border: 1.5px solid #cdd4e1;
	border-radius: 10px;
	background: #fff;
	color: var(--mpc-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.mpc-page .mpc .mpc-btn:hover:not(:disabled) {
	border-color: var(--mpc-cyan);
	transform: translateY(-1px);
}

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

body.mpc-page .mpc .mpc-btn-p:hover:not(:disabled) {
	border-color: #17306a;
	background: #17306a;
}

body.mpc-page .mpc .mpc-btn-s {
	padding: 7px 13px;
	border-color: rgba(255, 255, 255, 0.35);
	background: rgba(255, 255, 255, 0.08);
	color: #fff;
	font-size: 0.82rem;
}

body.mpc-page .mpc .mpc-btn-s:hover:not(:disabled) {
	border-color: var(--mpc-cyan);
	background: rgba(43, 200, 232, 0.18);
}

body.mpc-page .mpc .mpc-btn:disabled { opacity: 0.6; }

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

body.mpc-page .mpc .mpc-tabs {
	display: flex;
	gap: 4px;
	margin: 18px 0 0;
	border-bottom: 2px solid var(--mpc-line);
}

body.mpc-page .mpc .mpc-tab {
	flex: 1 1 0;
	margin: 0 0 -2px;
	padding: 10px 6px;
	border: 0;
	border-bottom: 3px solid transparent;
	background: transparent;
	color: var(--mpc-soft);
	font-size: 0.9rem;
	font-weight: 700;
	line-height: 1.25;
	transition: color 0.2s, border-color 0.2s;
}

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

body.mpc-page .mpc .mpc-tab.is-on {
	border-bottom-color: var(--mpc-cyan);
	color: var(--mpc-navy);
}

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

body.mpc-page .mpc .mpc-pane { animation: mpc-in 0.3s ease both; }

@keyframes mpc-in {
	from { opacity: 0; transform: translateY(6px); }
	to { opacity: 1; transform: none; }
}

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

body.mpc-page .mpc .mpc-inwrap { position: relative; display: block; }
body.mpc-page .mpc .mpc-inwrap .mpc-input { padding-right: 48px; }

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

body.mpc-page .mpc .mpc-row3 {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.1fr);
	gap: 10px;
}

/* ---------------------------------------------------------------- answer */

body.mpc-page .mpc .mpc-ans { margin-top: 14px; }

body.mpc-page .mpc .mpc-ans-t {
	margin: 0;
	padding: 12px 14px;
	border-left: 4px solid #b9c6dc;
	border-radius: 0 12px 12px 0;
	background: var(--mpc-wash);
	font-size: 1rem;
	line-height: 1.55;
}

body.mpc-page .mpc .mpc-ans-t.is-solid { border-left-color: #3b5b92; background: #eef3fb; }
body.mpc-page .mpc .mpc-ans-t.is-melting { border-left-color: #d9822b; background: #fff6e8; }
body.mpc-page .mpc .mpc-ans-t.is-liquid { border-left-color: var(--mpc-err); background: #fdeff0; }
body.mpc-page .mpc .mpc-ans-t.is-gas { border-left-color: #7b5ea7; background: #f3eefb; }
body.mpc-page .mpc .mpc-ans-t.is-sublimes { border-left-color: var(--mpc-cyan-d); background: #e8f8fc; }
body.mpc-page .mpc .mpc-ans-t.is-err { border-left-color: var(--mpc-err); background: #fdeff0; color: var(--mpc-err); }
body.mpc-page .mpc .mpc-ans-t.is-off { border-left-color: var(--mpc-faint); color: var(--mpc-soft); }

body.mpc-page .mpc .mpc-badge {
	display: inline-block;
	margin-right: 4px;
	padding: 1px 10px;
	border-radius: 999px;
	background: #fff;
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	vertical-align: 1px;
}

body.mpc-page .mpc .mpc-badge.is-solid { color: #3b5b92; }
body.mpc-page .mpc .mpc-badge.is-melting { color: #b86e00; }
body.mpc-page .mpc .mpc-badge.is-liquid { color: var(--mpc-err); }
body.mpc-page .mpc .mpc-badge.is-gas { color: #7b5ea7; }
body.mpc-page .mpc .mpc-badge.is-sublimes { color: var(--mpc-cyan-d); }

body.mpc-page .mpc .mpc-kpis {
	display: grid;
	grid-template-columns: 1.3fr 1fr 1fr 1fr;
	gap: 10px;
	margin: 14px 0 0;
}

body.mpc-page .mpc .mpc-kpi {
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding: 11px 12px;
	border: 1.5px solid var(--mpc-line);
	border-radius: 12px;
	background: #fff;
	min-width: 0;
}

body.mpc-page .mpc .mpc-kpi-main {
	border: 0;
	background: linear-gradient(135deg, #0d1430 0%, #17306a 100%);
	color: #fff;
}

body.mpc-page .mpc .mpc-kpi-main .mpc-kpi-l { color: #9fdcf0; }

body.mpc-page .mpc .mpc-kpi-v {
	font-size: 1.25rem;
	font-weight: 800;
	line-height: 1.15;
	font-variant-numeric: tabular-nums;
	overflow-wrap: anywhere;
}

body.mpc-page .mpc .mpc-kpi-v small { font-size: 0.72rem; font-weight: 700; opacity: 0.7; }

body.mpc-page .mpc .mpc-steps {
	margin: 14px 0 0;
	padding: 0;
	list-style: none;
	counter-reset: mpcstep;
}

body.mpc-page .mpc .mpc-step {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 2px;
	margin: 0 0 8px;
	padding: 10px 12px 10px 46px;
	border-radius: 12px;
	background: var(--mpc-wash);
	font-size: 0.9rem;
	counter-increment: mpcstep;
}

body.mpc-page .mpc .mpc-step::before {
	content: counter(mpcstep);
	position: absolute;
	top: 10px;
	left: 12px;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: var(--mpc-navy);
	color: #fff;
	font-size: 0.8rem;
	font-weight: 800;
	line-height: 24px;
	text-align: center;
}

body.mpc-page .mpc .mpc-step-l { font-weight: 800; color: var(--mpc-navy); }
body.mpc-page .mpc .mpc-step-f,
body.mpc-page .mpc .mpc-step-s { color: var(--mpc-soft); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
body.mpc-page .mpc .mpc-step-r { font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }

/* --------------------------------------------------------------- variants */

body.mpc-page .mpc .mpc-vars {
	display: grid;
	gap: 6px;
	margin: 12px 0 0;
	padding: 0;
	list-style: none;
}

body.mpc-page .mpc .mpc-var {
	display: flex;
	gap: 6px;
	margin: 0;
	padding: 0;
}

body.mpc-page .mpc .mpc-var-b {
	display: flex;
	flex: 1 1 auto;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	min-width: 0;
	margin: 0;
	padding: 10px 14px;
	border: 1.5px solid var(--mpc-line);
	border-radius: 12px;
	background: #fff;
	color: var(--mpc-ink);
	font-size: 0.92rem;
	text-align: left;
	transition: border-color 0.2s, background-color 0.2s;
}

body.mpc-page .mpc .mpc-var-b:hover { border-color: var(--mpc-cyan); background: #f4fcff; }

body.mpc-page .mpc .mpc-var.is-on .mpc-var-b {
	border-color: var(--mpc-cyan);
	background: #ecfaff;
	box-shadow: 0 0 0 3px rgba(43, 200, 232, 0.16);
}

body.mpc-page .mpc .mpc-var-n { font-weight: 700; }

body.mpc-page .mpc .mpc-var-v {
	color: var(--mpc-soft);
	font-variant-numeric: tabular-nums;
	text-align: right;
	white-space: nowrap;
}

body.mpc-page .mpc .mpc-var-p {
	flex: 0 0 auto;
	min-width: 44px;
	margin: 0;
	padding: 0 8px;
	border: 1.5px solid var(--mpc-line);
	border-radius: 12px;
	background: #fff;
	color: var(--mpc-cyan-d);
	font-size: 1.1rem;
	font-weight: 800;
}

body.mpc-page .mpc .mpc-var-p:hover:not(:disabled) { border-color: var(--mpc-cyan); background: #ecfaff; }
body.mpc-page .mpc .mpc-var-p:disabled { color: var(--mpc-faint); font-size: 0.72rem; }

/* ------------------------------------------------------------ thermometer */

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

body.mpc-page .mpc .mpc-thermo { padding: 8px 6px 0; }

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

body.mpc-page .mpc .mpc-svg text { font-family: inherit; }

body.mpc-page .mpc .mpc-svg .mpc-tube { fill: #dce5f0; stroke: #c3cfe0; stroke-width: 1; }
body.mpc-page .mpc .mpc-svg .mpc-liquid { fill: var(--mpc-coral); stroke: none; }

body.mpc-page .mpc .mpc-svg .mpc-scale line { stroke: #9aa5ba; stroke-width: 1; }
body.mpc-page .mpc .mpc-svg .mpc-scale text { fill: var(--mpc-faint); font-variant-numeric: tabular-nums; }
body.mpc-page .mpc .mpc-svg .mpc-scale-u { fill: var(--mpc-soft); font-weight: 700; }

body.mpc-page .mpc .mpc-svg .mpc-src-t { fill: var(--mpc-soft); font-weight: 600; }
body.mpc-page .mpc .mpc-svg .mpc-lead { fill: none; stroke-width: 1; opacity: 0.55; }
body.mpc-page .mpc .mpc-svg .mpc-lead.is-yes { stroke: var(--mpc-ok); }
body.mpc-page .mpc .mpc-svg .mpc-lead.is-no { stroke: var(--mpc-err); }
body.mpc-page .mpc .mpc-svg .mpc-lead.is-flame { stroke: #d9822b; }
body.mpc-page .mpc .mpc-svg .mpc-dot.is-yes { fill: var(--mpc-ok); }
body.mpc-page .mpc .mpc-svg .mpc-dot.is-no { fill: var(--mpc-err); }
body.mpc-page .mpc .mpc-svg .mpc-dot.is-flame { fill: #d9822b; }

body.mpc-page .mpc .mpc-svg .mpc-mk { stroke-linecap: round; }
body.mpc-page .mpc .mpc-svg .mpc-mk.mpc-mk-main { stroke: var(--mpc-navy); stroke-width: 3.5; }
body.mpc-page .mpc .mpc-svg .mpc-band.mpc-mk-main { fill: rgba(13, 20, 48, 0.32); }
body.mpc-page .mpc .mpc-svg .mpc-lead-m { fill: none; stroke-width: 1.5; }
body.mpc-page .mpc .mpc-svg .mpc-lead-m.mpc-mk-main { stroke: var(--mpc-navy); }
body.mpc-page .mpc .mpc-svg .mpc-mk-n { font-weight: 800; }
body.mpc-page .mpc .mpc-svg .mpc-mk-n.mpc-mk-main { fill: var(--mpc-navy); }
body.mpc-page .mpc .mpc-svg .mpc-mk-v { fill: var(--mpc-soft); font-variant-numeric: tabular-nums; }

body.mpc-page .mpc .mpc-svg .mpc-mk.mpc-c0 { stroke: #0f8fab; stroke-width: 2.5; }
body.mpc-page .mpc .mpc-svg .mpc-mk.mpc-c1 { stroke: #7b5ea7; stroke-width: 2.5; }
body.mpc-page .mpc .mpc-svg .mpc-mk.mpc-c2 { stroke: #d9822b; stroke-width: 2.5; }
body.mpc-page .mpc .mpc-svg .mpc-band.mpc-c0 { fill: rgba(15, 143, 171, 0.3); }
body.mpc-page .mpc .mpc-svg .mpc-band.mpc-c1 { fill: rgba(123, 94, 167, 0.3); }
body.mpc-page .mpc .mpc-svg .mpc-band.mpc-c2 { fill: rgba(217, 130, 43, 0.3); }
body.mpc-page .mpc .mpc-svg .mpc-lead-m.mpc-c0 { stroke: #0f8fab; }
body.mpc-page .mpc .mpc-svg .mpc-lead-m.mpc-c1 { stroke: #7b5ea7; }
body.mpc-page .mpc .mpc-svg .mpc-lead-m.mpc-c2 { stroke: #d9822b; }
body.mpc-page .mpc .mpc-svg .mpc-mk-n.mpc-c0 { fill: #0f8fab; }
body.mpc-page .mpc .mpc-svg .mpc-mk-n.mpc-c1 { fill: #7b5ea7; }
body.mpc-page .mpc .mpc-svg .mpc-mk-n.mpc-c2 { fill: #d9822b; }

body.mpc-page .mpc .mpc-compare { padding: 6px 14px 14px; }
body.mpc-page .mpc .mpc-compare .mpc-muted { margin: 0; font-size: 0.84rem; }

body.mpc-page .mpc .mpc-cchip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 3px 4px 3px 10px;
	border: 1.5px solid var(--mpc-line);
	border-radius: 999px;
	background: #fff;
	font-size: 0.82rem;
	font-weight: 700;
}

body.mpc-page .mpc .mpc-cdot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: #0f8fab;
}

body.mpc-page .mpc .mpc-cchip.mpc-c1 .mpc-cdot { background: #7b5ea7; }
body.mpc-page .mpc .mpc-cchip.mpc-c2 .mpc-cdot { background: #d9822b; }

body.mpc-page .mpc .mpc-cname {
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--mpc-ink);
	font-size: inherit;
	font-weight: 700;
}

body.mpc-page .mpc .mpc-cx {
	width: 22px;
	height: 22px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: var(--mpc-wash);
	color: var(--mpc-soft);
	font-size: 1rem;
	line-height: 22px;
}

body.mpc-page .mpc .mpc-cx:hover { background: #fdeff0; color: var(--mpc-err); }

/* ----------------------------------------------------------- reach list */

body.mpc-page .mpc .mpc-below { margin: 22px 0 0; }

body.mpc-page .mpc .mpc-reach { margin: 0; }

body.mpc-page .mpc .mpc-reach-cols {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(290px, 100%), 1fr));
	gap: 18px;
	align-items: start;
}

body.mpc-page .mpc .mpc-reach-sub {
	margin: 0 0 8px;
	font-size: 0.74rem;
	font-weight: 800;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

body.mpc-page .mpc .mpc-reach-sub.is-yes { color: var(--mpc-ok); }
body.mpc-page .mpc .mpc-reach-sub.is-no { color: var(--mpc-err); }
body.mpc-page .mpc .mpc-reach-sub.is-flame { color: #b86e00; }

body.mpc-page .mpc .mpc-reach-h span {
	display: block;
	color: var(--mpc-soft);
	font-size: 0.85rem;
	font-weight: 600;
}

body.mpc-page .mpc .mpc-reach-h {
	margin: 0 0 8px;
	color: var(--mpc-navy);
	font-size: 0.95rem;
	font-weight: 800;
	line-height: 1.35;
}

body.mpc-page .mpc .mpc-reach-l {
	display: grid;
	gap: 5px;
	margin: 0;
	padding: 0;
	list-style: none;
}

body.mpc-page .mpc .mpc-reach-l li {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 0 10px;
	margin: 0;
	padding: 7px 10px 7px 32px;
	border-radius: 10px;
	font-size: 0.84rem;
	line-height: 1.35;
}

body.mpc-page .mpc .mpc-reach-l li::before {
	position: absolute;
	top: 7px;
	left: 10px;
	width: 16px;
	height: 16px;
	border-radius: 50%;
	color: #fff;
	font-size: 0.7rem;
	font-weight: 800;
	line-height: 16px;
	text-align: center;
}

body.mpc-page .mpc .mpc-reach-l li.is-yes { background: #eaf7f0; }
body.mpc-page .mpc .mpc-reach-l li.is-yes::before { content: "\2713"; background: var(--mpc-ok); }
body.mpc-page .mpc .mpc-reach-l li.is-flame { background: #fff6e8; }
body.mpc-page .mpc .mpc-reach-l li.is-flame::before { content: "~"; background: #d9822b; }
body.mpc-page .mpc .mpc-reach-l li.is-no { background: #fdf0f1; }
body.mpc-page .mpc .mpc-reach-l li.is-no::before { content: "\2717"; background: var(--mpc-err); }

body.mpc-page .mpc .mpc-r-n { font-weight: 800; color: var(--mpc-navy); }
body.mpc-page .mpc .mpc-r-t { color: var(--mpc-soft); font-variant-numeric: tabular-nums; text-align: right; font-weight: 700; }
body.mpc-page .mpc .mpc-r-s { grid-column: 1 / -1; color: var(--mpc-soft); font-size: 0.8rem; }

body.mpc-page .mpc .mpc-caveat {
	margin: 10px 0 0;
	padding: 8px 12px;
	border-left: 3px solid var(--mpc-coral);
	border-radius: 0 10px 10px 0;
	background: var(--mpc-wash);
	color: var(--mpc-soft);
	font-size: 0.82rem;
	line-height: 1.5;
}

body.mpc-page .mpc .mpc-details {
	margin: 12px 0 0;
	border: 1.5px solid var(--mpc-line);
	border-radius: 12px;
}

body.mpc-page .mpc .mpc-details summary {
	position: relative;
	padding: 11px 40px 11px 14px;
	color: var(--mpc-navy);
	font-size: 0.88rem;
	font-weight: 700;
	list-style: none;
	cursor: pointer;
}

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

body.mpc-page .mpc .mpc-details summary::after {
	content: "";
	position: absolute;
	top: 50%;
	right: 16px;
	width: 8px;
	height: 8px;
	margin-top: -6px;
	border-right: 2px solid var(--mpc-soft);
	border-bottom: 2px solid var(--mpc-soft);
	transform: rotate(45deg);
	transition: transform 0.2s;
}

body.mpc-page .mpc .mpc-details[open] summary::after { margin-top: -2px; transform: rotate(225deg); }

body.mpc-page .mpc .mpc-details-b { padding: 0 14px 12px; }

body.mpc-page .mpc .mpc-srclist {
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 0.8rem;
	line-height: 1.45;
	color: var(--mpc-soft);
}

body.mpc-page .mpc .mpc-srclist li { margin: 0 0 8px; padding: 0; }
body.mpc-page .mpc .mpc-srclist strong { color: var(--mpc-navy); }
body.mpc-page .mpc .mpc-srclist a { color: var(--mpc-cyan-d); overflow-wrap: anywhere; }

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

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

body.mpc-page .mpc .mpc-toast {
	color: var(--mpc-ok);
	font-size: 0.88rem;
	font-weight: 700;
	opacity: 0;
	transition: opacity 0.3s;
}

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

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

@media (max-width: 860px) {
	body.mpc-page .mpc .mpc-main { grid-template-columns: minmax(0, 1fr); }
	body.mpc-page .mpc .mpc-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	body.mpc-page .mpc .mpc-kpi-main { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
	body.mpc-page .mpc { padding: 16px 14px; border-radius: 14px; }
	body.mpc-page .mpc .mpc-answer { font-size: 1.95rem; }
	body.mpc-page .mpc .mpc-card { padding: 16px 16px 14px; }
	body.mpc-page .mpc .mpc-seg { margin-left: 0; }
	body.mpc-page .mpc .mpc-row3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	body.mpc-page .mpc .mpc-row3 .mpc-field:last-child { grid-column: 1 / -1; }
	body.mpc-page .mpc .mpc-tab { font-size: 0.82rem; padding: 10px 2px; }
	body.mpc-page .mpc .mpc-q { font-size: 1rem; }
	body.mpc-page .mpc .mpc-opt { grid-template-columns: minmax(0, 1fr) auto; }
	body.mpc-page .mpc .mpc-opt-c { display: none; }
	body.mpc-page .mpc .mpc-var-b { flex-wrap: wrap; gap: 2px 10px; }
	body.mpc-page .mpc .mpc-facts { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 12px; }
}

@media (prefers-reduced-motion: reduce) {
	body.mpc-page .mpc .mpc-pane { animation: none; }
	body.mpc-page .mpc .mpc-chip,
body.mpc-page .mpc .mpc-btn,
body.mpc-page .mpc .mpc-segb,
body.mpc-page .mpc .mpc-tab,
body.mpc-page .mpc .mpc-var-b,
body.mpc-page .mpc .mpc-input,
body.mpc-page .mpc .mpc-select,
body.mpc-page .mpc .mpc-toast,
body.mpc-page .mpc .mpc-details summary::after { transition: none; }
	body.mpc-page .mpc .mpc-chip:hover,
body.mpc-page .mpc .mpc-btn:hover:not(:disabled) { transform: none; }
}

/* ------------------------------------------------- article tables (outside .mpc) */

body.mpc-page .entry-content .mpc-table-wrap {
	max-width: 920px;
	margin: 1.6em auto;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	border: 1px solid #e3e7ef;
	border-radius: 14px;
}

body.mpc-page .entry-content .mpc-table {
	width: 100%;
	min-width: 520px;
	margin: 0;
	border-collapse: collapse;
	color: #1b2233;
	font-size: 0.95rem;
	line-height: 1.45;
	font-variant-numeric: tabular-nums;
}

body.mpc-page .entry-content .mpc-table caption {
	padding: 12px 14px;
	color: #0d1430;
	font-size: 0.95rem;
	font-weight: 800;
	text-align: left;
	caption-side: top;
}

body.mpc-page .entry-content .mpc-table th,
body.mpc-page .entry-content .mpc-table td {
	padding: 9px 14px;
	border: 0;
	border-top: 1px solid #e3e7ef;
	text-align: left;
	vertical-align: top;
}

body.mpc-page .entry-content .mpc-table thead th {
	background: #0d1430;
	border-top: 0;
	color: #fff;
	font-size: 0.8rem;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

body.mpc-page .entry-content .mpc-table tbody tr:nth-child(even) { background: #f5f8fc; }
body.mpc-page .entry-content .mpc-table tbody th { font-weight: 700; }
body.mpc-page .entry-content .mpc-table a { color: #0f8fab; text-decoration: none; }
body.mpc-page .entry-content .mpc-table a:hover { text-decoration: underline; }
body.mpc-page .entry-content .mpc-table-heat td:nth-child(2),
body.mpc-page .entry-content .mpc-table-heat td:nth-child(3) { white-space: nowrap; }
body.mpc-page .entry-content .mpc-table-heat { min-width: 760px; }

body.mpc-page .entry-content .mpc-table-note {
	max-width: 760px;
	margin: -0.6em auto 1.6em;
	color: #5a6378;
	font-size: 0.9rem;
}

body.mpc-page .entry-content .mpc-figure {
	margin: 1.8em auto;
}

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

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

/* >>> 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.mpc-page .t33-page-main .entry-content {
	display: flow-root;
}

/*
 * The prose measure. Enumerated by tag rather than written as
 * `> *:not(.mpc)`, 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.mpc-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.mpc-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.mpc-page .t33-page-main .entry-content > .mpc: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.mpc-page .t33-page-main .entry-content > .mpc + 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.mpc-page .t33-page-main .entry-content > h2 {
	position: relative;
	padding-top: 22px;
	margin-top: 2.4em;
}

body.mpc-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.mpc-page .t33-page-main .entry-content > h3 {
	margin-top: 1.8em;
	font-size: 1.22rem;
}

body.mpc-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.mpc-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.mpc-page .t33-page-main .entry-content > ul > li::marker,
body.mpc-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.mpc-page .t33-page-main .entry-content > .t33-toolstrip {
	margin-top: 3em;
	padding-top: 1.6em;
	border-top: 1px solid #e3e7ef;
}

body.mpc-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.mpc-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.mpc-page .entry-content .t33-toolstrip-list li {
	margin: 0;
}

body.mpc-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.mpc-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.mpc-page .entry-content .t33-toolstrip-name {
	display: block;
	font-weight: 800;
	font-size: 1.02rem;
	margin-bottom: 4px;
}

body.mpc-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.mpc-page .t33-page-main {
		padding-left: 8px;
		padding-right: 8px;
	}

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

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

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

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

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

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

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

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