/*
 * Metric Conversion Chart page. Every rule starts with `body.mcc-page`.
 *
 * ruki-child styles `.t33-page-main .entry-content a`, `h1..h6`, `ul/ol/li`,
 * `img` (border-radius 14px) and `table` at (0,2,1)-(0,3,1), which beat a bare
 * class and would render this page's text in the theme's link and heading
 * styles. Rules here reach (0,3,x) or deeper and name the element where the
 * theme styles that element. No `!important`, no url() (Autoptimize
 * aggregates this file and relative paths break), no <code>.
 *
 * Roots: the first block is `.mcc` (the shell lifts `.mcc:first-child` over the
 * hero band at (0,5,1)); every block has `.mcc-r`; blocks after the first are
 * `.mcc-b`. Only `.mcc` is ever the first child, so only it gets a panel.
 * The shell block at the end of this file is generated by _shared/sync-shell.js.
 */

body.mcc-page {
	--mcc-ink: var(--t33-ink, #1b2233);
	--mcc-soft: var(--t33-ink-soft, #5a6378);
	--mcc-line: #e3e7ef;
	--mcc-line-strong: #c9d1e2;
	--mcc-panel: #f5f8fc;
	--mcc-teal: #0a7e9c;
	--mcc-teal-soft: #e7f6fa;
	--mcc-coral: #c8415a;
	--mcc-coral-soft: #fdecee;
	--mcc-navy: #26365f;
	--mcc-good: #17803d;
	--mcc-good-soft: #e8f6ec;
	--mcc-bad: #b3261e;
	--mcc-bad-soft: #fdeeed;
	--mcc-radius: var(--t33-radius, 14px);
}

body.mcc-page .entry-content .mcc-r {
	box-sizing: border-box;
	max-width: 100%;
	margin-left: 0;
	margin-right: 0;
}

body.mcc-page .entry-content .mcc-r *,
body.mcc-page .entry-content .mcc-r *::before,
body.mcc-page .entry-content .mcc-r *::after {
	box-sizing: border-box;
}

body.mcc-page .entry-content .mcc-r.mcc-b {
	margin-bottom: 2em;
}

/* The shell lifts the first block over the hero band, so it needs a panel. */
body.mcc-page .t33-page-main .entry-content > .mcc:first-child {
	background: var(--t33-paper, #fff);
	border-radius: var(--mcc-radius);
	padding: 22px;
	margin-bottom: 2em;
}

body.mcc-page .entry-content .mcc-r p {
	margin: 0;
	padding: 0;
}

body.mcc-page .entry-content .mcc-r .mcc-sr {
	clip: rect(0 0 0 0);
	height: 1px;
	overflow: hidden;
	position: absolute;
	white-space: nowrap;
	width: 1px;
}

body.mcc-page .entry-content .mcc-r sup {
	font-size: 0.72em;
	line-height: 0;
}

body.mcc-page .entry-content .mcc-r button:focus-visible,
body.mcc-page .entry-content .mcc-r a:focus-visible,
body.mcc-page .entry-content .mcc-r .mcc-in:focus-visible,
body.mcc-page .entry-content .mcc-r .mcc-scroll:focus-visible {
	outline: 3px solid var(--t33-cyan, #2bc8e8);
	outline-offset: 2px;
}

/* ----------------------------------------------------- controls ---- */

body.mcc-page .entry-content .mcc-r .mcc-bar,
body.mcc-page .entry-content .mcc-r .mcc-prac-bar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 24px;
}

body.mcc-page .entry-content .mcc-r .mcc-bar-group {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 10px;
}

body.mcc-page .entry-content .mcc-r .mcc-bar-l {
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--mcc-soft);
}

body.mcc-page .entry-content .mcc-r .mcc-bar-note {
	margin-top: 10px;
	font-size: 0.9rem;
	line-height: 1.5;
	color: var(--mcc-soft);
}

body.mcc-page .entry-content .mcc-r .mcc-seg {
	display: inline-flex;
	flex-wrap: wrap;
	gap: 2px;
	padding: 3px;
	background: var(--mcc-panel);
	border: 1px solid var(--mcc-line);
	border-radius: 999px;
}

body.mcc-page .entry-content .mcc-r button.mcc-seg-btn {
	appearance: none;
	margin: 0;
	padding: 8px 14px;
	border: 0;
	border-radius: 999px;
	background: transparent;
	box-shadow: none;
	color: var(--mcc-soft);
	font: inherit;
	font-size: 0.92rem;
	font-weight: 700;
	line-height: 1.2;
	text-transform: none;
	letter-spacing: 0;
	cursor: pointer;
}

body.mcc-page .entry-content .mcc-r button.mcc-seg-btn:hover {
	color: var(--mcc-ink);
	background: transparent;
}

body.mcc-page .entry-content .mcc-r button.mcc-seg-btn[aria-pressed="true"] {
	background: var(--mcc-ink);
	color: #fff;
}

body.mcc-page .entry-content .mcc-r label.mcc-switch {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	cursor: pointer;
	font-size: 0.95rem;
	font-weight: 700;
	color: var(--mcc-ink);
}

body.mcc-page .entry-content .mcc-r button.mcc-sw {
	appearance: none;
	flex: none;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	box-shadow: none;
	cursor: pointer;
	line-height: 0;
}

body.mcc-page .entry-content .mcc-r .mcc-sw-track {
	display: block;
	position: relative;
	width: 42px;
	height: 24px;
	border-radius: 999px;
	background: var(--mcc-line-strong);
	transition: background 0.15s ease;
}

body.mcc-page .entry-content .mcc-r .mcc-sw-knob {
	position: absolute;
	top: 3px;
	left: 3px;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 1px 3px rgba(7, 11, 26, 0.35);
	transition: transform 0.15s ease;
}

body.mcc-page .entry-content .mcc-r button.mcc-sw[aria-checked="true"] .mcc-sw-track {
	background: var(--mcc-teal);
}

body.mcc-page .entry-content .mcc-r button.mcc-sw[aria-checked="true"] .mcc-sw-knob {
	transform: translateX(18px);
}

body.mcc-page .entry-content .mcc-r .mcc-btn,
body.mcc-page .entry-content .mcc-r .mcc-open {
	display: inline-block;
	margin: 0;
	padding: 9px 16px;
	border-radius: 8px;
	font: inherit;
	font-size: 0.92rem;
	font-weight: 800;
	line-height: 1.25;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
}

body.mcc-page .entry-content .mcc-r .mcc-btn {
	border: 1px solid var(--mcc-teal);
	background: var(--mcc-teal);
	color: #fff;
}

body.mcc-page .entry-content .mcc-r .mcc-btn:hover,
body.mcc-page .entry-content .mcc-r .mcc-btn:visited {
	background: #086680;
	border-color: #086680;
	color: #fff;
}

body.mcc-page .entry-content .mcc-r .mcc-open {
	border: 1px solid var(--mcc-line-strong);
	background: #fff;
	color: var(--mcc-ink);
}

body.mcc-page .entry-content .mcc-r .mcc-open:hover,
body.mcc-page .entry-content .mcc-r .mcc-open:visited {
	background: var(--mcc-panel);
	color: var(--mcc-ink);
}

body.mcc-page .entry-content .mcc-r .mcc-in {
	width: 100%;
	height: 44px;
	margin: 0;
	padding: 8px 12px;
	border: 1px solid var(--mcc-line-strong);
	border-radius: 8px;
	background: #fff;
	color: var(--mcc-ink);
	font: inherit;
	font-size: 1rem;
	line-height: 1.3;
	box-shadow: none;
}

/* ------------------------------------------------------ downloads --- */

body.mcc-page .entry-content .mcc-r h2.mcc-group-title {
	margin: 1.5em 0 0.6em;
	padding: 0;
	font-size: 1.15rem;
	font-weight: 800;
	line-height: 1.3;
	color: var(--mcc-ink);
}

body.mcc-page .entry-content .mcc-r .mcc-grid {
	display: grid;
	gap: 14px;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr));
}

body.mcc-page .entry-content .mcc-r .mcc-card {
	display: grid;
	grid-template-columns: 104px minmax(0, 1fr);
	column-gap: 14px;
	min-width: 0;
	padding: 14px;
	background: #fff;
	border: 1px solid var(--mcc-line);
	border-radius: 12px;
	box-shadow: 0 1px 2px rgba(7, 11, 26, 0.06);
}

body.mcc-page .entry-content .mcc-r .mcc-thumb {
	align-self: start;
	aspect-ratio: 480 / 679;
	overflow: hidden;
	background: #eef1f7;
	border-radius: 4px;
	box-shadow: 0 1px 2px rgba(7, 11, 26, 0.18), 0 5px 12px rgba(7, 11, 26, 0.12);
}

body.mcc-page .entry-content .mcc-r .mcc-thumb img {
	display: block;
	width: 100%;
	height: 100%;
	margin: 0;
	border-radius: 0;
	object-fit: contain;
	object-position: top center;
}

body.mcc-page .entry-content .mcc-r .mcc-card-body {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

body.mcc-page .entry-content .mcc-r h3.mcc-card-title {
	margin: 0 0 4px;
	padding: 0;
	font-size: 1.02rem;
	font-weight: 800;
	line-height: 1.25;
	color: var(--mcc-ink);
}

body.mcc-page .entry-content .mcc-r .mcc-facts {
	margin-bottom: 6px;
	font-size: 0.82rem;
	color: var(--mcc-soft);
}

body.mcc-page .entry-content .mcc-r .mcc-blurb {
	margin-bottom: 10px;
	font-size: 0.9rem;
	line-height: 1.5;
	color: var(--mcc-soft);
}

body.mcc-page .entry-content .mcc-r .mcc-card .mcc-switch {
	margin-bottom: 10px;
	font-size: 0.86rem;
}

body.mcc-page .entry-content .mcc-r .mcc-card-foot {
	grid-column: 1 / -1;
	margin-top: 12px;
}

body.mcc-page .entry-content .mcc-r .mcc-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

body.mcc-page .mcc-dl .mcc-keyrow {
	display: none;
}

body.mcc-page .mcc-dl.mcc-keys-on .mcc-keyrow {
	display: flex;
}

body.mcc-page .entry-content .mcc-r .mcc-keyrow {
	flex-wrap: wrap;
	align-items: center;
	gap: 4px 12px;
	margin-top: 10px;
	padding-top: 10px;
	border-top: 1px dashed var(--mcc-line-strong);
	font-size: 0.86rem;
}

body.mcc-page .entry-content .mcc-r .mcc-keyrow-l {
	font-weight: 800;
	color: var(--mcc-coral);
}

body.mcc-page .entry-content .mcc-r a.mcc-keylink {
	font-weight: 700;
	color: var(--mcc-teal);
}

body.mcc-page .entry-content .mcc-r .mcc-keyrow-m {
	color: var(--mcc-soft);
}

body.mcc-page .entry-content .mcc-r .mcc-license {
	margin-top: 18px;
	font-size: 0.88rem;
	color: var(--mcc-soft);
}

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

body.mcc-page .entry-content .mcc-r .mcc-figure {
	max-width: 640px;
	margin: 0 auto;
}

body.mcc-page .entry-content .mcc-r .mcc-figure img {
	display: block;
	width: 100%;
	height: auto;
	margin: 0;
	border-radius: 6px;
	box-shadow: 0 0 0 1px rgba(7, 11, 26, 0.12), 0 14px 34px rgba(7, 11, 26, 0.16);
}

body.mcc-page .entry-content .mcc-r .mcc-figure figcaption {
	margin-top: 10px;
	text-align: center;
	font-size: 0.86rem;
	color: var(--mcc-soft);
}

body.mcc-page .entry-content .mcc-r .mcc-scroll {
	max-width: 100%;
	overflow-x: auto;
	border: 1px solid var(--mcc-line);
	border-radius: 12px;
	background: #fff;
}

body.mcc-page .entry-content .mcc-r table.mcc-table {
	width: 100%;
	min-width: 640px;
	margin: 0;
	border: 0;
	border-collapse: collapse;
	font-size: 0.92rem;
	line-height: 1.4;
}

body.mcc-page .entry-content .mcc-r table.mcc-table-s {
	min-width: 280px;
	font-size: 0.88rem;
}

body.mcc-page .entry-content .mcc-r table.mcc-table-s th,
body.mcc-page .entry-content .mcc-r table.mcc-table-s td {
	padding: 7px 8px;
}

body.mcc-page .entry-content .mcc-r table.mcc-temp {
	min-width: 480px;
}

body.mcc-page .entry-content .mcc-r table.mcc-table caption {
	padding: 10px 12px;
	text-align: left;
	font-size: 0.86rem;
	color: var(--mcc-soft);
	caption-side: top;
}

/*
 * ruki turns every `.entry-content td` into display:block at max-width 390px
 * (a stacked-table layout). These tables scroll sideways inside .mcc-scroll
 * instead, so the cell keeps its table-cell display.
 */
body.mcc-page .entry-content .mcc-r table.mcc-table td {
	display: table-cell;
}

body.mcc-page .entry-content .mcc-r table.mcc-table th,
body.mcc-page .entry-content .mcc-r table.mcc-table td {
	padding: 8px 12px;
	border: 0;
	border-bottom: 1px solid var(--mcc-line);
	text-align: left;
	vertical-align: top;
	color: var(--mcc-ink);
}

body.mcc-page .entry-content .mcc-r table.mcc-table thead th {
	background: var(--mcc-navy);
	border-bottom: 0;
	color: #fff;
	font-size: 0.74rem;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	white-space: nowrap;
}

body.mcc-page .entry-content .mcc-r table.mcc-table tbody th {
	font-weight: 800;
	white-space: nowrap;
}

body.mcc-page .entry-content .mcc-r.mcc-prefixes table.mcc-table td:not(:last-child) {
	white-space: nowrap;
}

body.mcc-page .entry-content .mcc-r table.mcc-table .mcc-c {
	text-align: center;
	font-weight: 800;
}

body.mcc-page .entry-content .mcc-r table.mcc-table tr.mcc-hl th,
body.mcc-page .entry-content .mcc-r table.mcc-table tr.mcc-hl td {
	background: var(--mcc-teal-soft);
}

body.mcc-page .entry-content .mcc-r table.mcc-table tr.mcc-base th,
body.mcc-page .entry-content .mcc-r table.mcc-table tr.mcc-base td {
	background: var(--mcc-coral-soft);
	font-weight: 800;
}

body.mcc-page .entry-content .mcc-r .mcc-new {
	display: inline-block;
	margin-left: 6px;
	padding: 1px 7px;
	border: 1px solid var(--mcc-coral);
	border-radius: 999px;
	color: var(--mcc-coral);
	font-size: 0.66rem;
	font-weight: 800;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	white-space: nowrap;
	vertical-align: 2px;
}

/* ------------------------------------------------------- staircase --- */

body.mcc-page .entry-content .mcc-r ol.mcc-stairs {
	display: grid;
	grid-template-columns: repeat(7, minmax(0, 1fr));
	gap: 6px;
	align-items: end;
	margin: 0;
	padding: 0;
	list-style: none;
}

body.mcc-page .entry-content .mcc-r li.mcc-step {
	display: flex;
	flex-direction: column;
	margin: 0;
	padding: 0;
	list-style: none;
}

body.mcc-page .entry-content .mcc-r .mcc-step-word {
	margin-bottom: 4px;
	text-align: center;
	font-size: 0.95rem;
	font-weight: 700;
	color: var(--mcc-ink);
}

body.mcc-page .entry-content .mcc-r .mcc-step-word b {
	font-size: 1.2em;
	font-weight: 800;
	color: var(--mcc-coral);
}

body.mcc-page .entry-content .mcc-r .mcc-step-block {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 10px 4px;
	border-radius: 8px 8px 0 0;
	background: var(--mcc-teal);
	color: #fff;
	text-align: center;
	line-height: 1.2;
}

body.mcc-page .entry-content .mcc-r .mcc-step-base .mcc-step-block {
	background: var(--mcc-coral);
}

body.mcc-page .entry-content .mcc-r .mcc-step-5 .mcc-step-block,
body.mcc-page .entry-content .mcc-r .mcc-step-6 .mcc-step-block,
body.mcc-page .entry-content .mcc-r .mcc-step-7 .mcc-step-block {
	background: var(--mcc-navy);
}

body.mcc-page .entry-content .mcc-r .mcc-step-1 .mcc-step-block { min-height: 150px; }
body.mcc-page .entry-content .mcc-r .mcc-step-2 .mcc-step-block { min-height: 136px; }
body.mcc-page .entry-content .mcc-r .mcc-step-3 .mcc-step-block { min-height: 122px; }
body.mcc-page .entry-content .mcc-r .mcc-step-4 .mcc-step-block { min-height: 108px; }
body.mcc-page .entry-content .mcc-r .mcc-step-5 .mcc-step-block { min-height: 94px; }
body.mcc-page .entry-content .mcc-r .mcc-step-6 .mcc-step-block { min-height: 80px; }
body.mcc-page .entry-content .mcc-r .mcc-step-7 .mcc-step-block { min-height: 66px; }

body.mcc-page .entry-content .mcc-r .mcc-step-name {
	font-size: 0.82rem;
	font-weight: 700;
}

body.mcc-page .entry-content .mcc-r .mcc-step-sym {
	font-size: 1.6rem;
	font-weight: 800;
}

body.mcc-page .entry-content .mcc-r .mcc-step-pow {
	font-size: 0.86rem;
	opacity: 0.92;
}

body.mcc-page .entry-content .mcc-r .mcc-arrows {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 24px;
	margin-top: 14px;
}

body.mcc-page .entry-content .mcc-r .mcc-arrow {
	flex: 1 1 240px;
	padding-top: 8px;
	font-size: 0.9rem;
	line-height: 1.45;
	color: var(--mcc-soft);
}

body.mcc-page .entry-content .mcc-r .mcc-arrow-down {
	border-top: 3px solid var(--mcc-teal);
}

body.mcc-page .entry-content .mcc-r .mcc-arrow-up {
	border-top: 3px solid var(--mcc-coral);
}

body.mcc-page .entry-content .mcc-r .mcc-arrow strong {
	color: var(--mcc-ink);
}

/* ---------------------------------------------------------- tables --- */

body.mcc-page .entry-content .mcc-r .mcc-tables-bar {
	margin-bottom: 14px;
}

body.mcc-page .entry-content .mcc-r .mcc-tgrid {
	display: grid;
	gap: 14px;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
}

body.mcc-page .entry-content .mcc-r .mcc-tcard {
	min-width: 0;
	padding: 14px;
	background: #fff;
	border: 1px solid var(--mcc-line);
	border-radius: 12px;
}

body.mcc-page .entry-content .mcc-r .mcc-tcard-wide {
	grid-column: 1 / -1;
}

body.mcc-page .entry-content .mcc-r h3.mcc-tcard-title {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 2px 10px;
	margin: 0 0 10px;
	padding: 0;
	font-size: 1.05rem;
	font-weight: 800;
	line-height: 1.3;
	color: var(--mcc-ink);
}

body.mcc-page .entry-content .mcc-r .mcc-tcard-note {
	font-size: 0.8rem;
	font-weight: 500;
	color: var(--mcc-soft);
}

body.mcc-page .entry-content .mcc-r .mcc-tcard .mcc-scroll {
	border-radius: 8px;
}

body.mcc-page .entry-content .mcc-r p.mcc-formula {
	margin: 0 0 8px;
	padding: 8px 12px;
	background: #fff4ea;
	border-left: 4px solid #e08a1e;
	border-radius: 0 8px 8px 0;
	font-weight: 800;
}

/* ------------------------------------------------------- converter --- */

body.mcc-page .entry-content .mcc-r.mcc-conv,
body.mcc-page .entry-content .mcc-r.mcc-prac {
	padding: 18px;
	background: #fff;
	border: 1px solid var(--mcc-line);
	border-radius: var(--mcc-radius);
	box-shadow: var(--t33-shadow, 0 10px 30px rgba(7, 11, 26, 0.10));
}

body.mcc-page .entry-content .mcc-r .mcc-conv-form {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	gap: 12px;
}

body.mcc-page .entry-content .mcc-r label.mcc-f {
	display: flex;
	flex-direction: column;
	gap: 4px;
	flex: 1 1 140px;
	min-width: 0;
	margin: 0;
}

body.mcc-page .entry-content .mcc-r label.mcc-f-num {
	flex: 1 1 120px;
}

body.mcc-page .entry-content .mcc-r label.mcc-f-unit {
	flex: 2 1 200px;
}

body.mcc-page .entry-content .mcc-r label.mcc-f-prec {
	flex: 0 1 240px;
}

body.mcc-page .entry-content .mcc-r .mcc-f-l {
	font-size: 0.74rem;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--mcc-soft);
}

body.mcc-page .entry-content .mcc-r button.mcc-swap {
	appearance: none;
	flex: none;
	width: 44px;
	height: 44px;
	margin: 0;
	padding: 0;
	border: 1px solid var(--mcc-line-strong);
	border-radius: 50%;
	background: #fff;
	box-shadow: none;
	color: var(--mcc-teal);
	font: inherit;
	font-size: 1.3rem;
	line-height: 1;
	cursor: pointer;
}

body.mcc-page .entry-content .mcc-r button.mcc-swap:hover {
	background: var(--mcc-teal-soft);
	color: var(--mcc-teal);
}

body.mcc-page .entry-content .mcc-r .mcc-conv-out {
	min-height: 230px;
	margin-top: 16px;
	padding: 16px 18px;
	background: var(--mcc-panel);
	border-radius: 12px;
}

body.mcc-page .entry-content .mcc-r .mcc-result {
	margin-bottom: 10px;
	font-size: 1.6rem;
	line-height: 1.3;
	color: var(--mcc-ink);
	overflow-wrap: anywhere;
}

body.mcc-page .entry-content .mcc-r .mcc-work {
	margin: 0 0 8px;
	font-size: 1rem;
	line-height: 2;
	overflow-wrap: anywhere;
}

body.mcc-page .entry-content .mcc-r .fr {
	display: inline-flex;
	flex-direction: column;
	margin: 0 0.2em;
	vertical-align: middle;
	text-align: center;
	line-height: 1.35;
}

body.mcc-page .entry-content .mcc-r .fr i {
	padding: 0 0.35em;
	font-style: normal;
	white-space: nowrap;
}

body.mcc-page .entry-content .mcc-r .fr i:first-child {
	border-bottom: 1.5px solid currentColor;
}

body.mcc-page .entry-content .mcc-r .frp {
	white-space: nowrap;
}

body.mcc-page .entry-content .mcc-r ol.mcc-steps {
	margin: 8px 0 0;
	padding-left: 1.3em;
	font-size: 0.95rem;
	line-height: 1.5;
	color: var(--mcc-soft);
}

body.mcc-page .entry-content .mcc-r ol.mcc-steps li {
	margin: 0.25em 0;
}

body.mcc-page .entry-content .mcc-r ul.mcc-ladder {
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
	margin: 0 0 10px;
	padding: 0;
	list-style: none;
}

body.mcc-page .entry-content .mcc-r ul.mcc-ladder li {
	min-width: 44px;
	margin: 0;
	padding: 5px 8px;
	border: 1px solid var(--mcc-line-strong);
	border-radius: 6px;
	background: #fff;
	text-align: center;
	font-size: 0.9rem;
	font-weight: 700;
	line-height: 1.2;
	color: var(--mcc-soft);
}

body.mcc-page .entry-content .mcc-r ul.mcc-ladder li.mcc-from {
	background: var(--mcc-ink);
	border-color: var(--mcc-ink);
	color: #fff;
}

body.mcc-page .entry-content .mcc-r ul.mcc-ladder li.mcc-to {
	background: var(--mcc-coral);
	border-color: var(--mcc-coral);
	color: #fff;
}

body.mcc-page .entry-content .mcc-r p.mcc-note {
	font-size: 0.9rem;
	color: var(--mcc-soft);
}

body.mcc-page .entry-content .mcc-r p.mcc-err {
	font-weight: 700;
	color: var(--mcc-bad);
}

/* -------------------------------------------------------- practice --- */

body.mcc-page .entry-content .mcc-r .mcc-stats {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 18px;
	margin-left: auto;
	font-size: 0.92rem;
	color: var(--mcc-soft);
}

body.mcc-page .entry-content .mcc-r .mcc-stats strong {
	color: var(--mcc-ink);
}

body.mcc-page .entry-content .mcc-r .mcc-prac-card {
	min-height: 330px;
	margin-top: 16px;
	padding: 18px;
	background: var(--mcc-panel);
	border-radius: 12px;
}

body.mcc-page .entry-content .mcc-r .mcc-prac-q {
	min-height: 4.2em;
	margin-bottom: 12px;
	font-size: 1.2rem;
	font-weight: 700;
	line-height: 1.4;
	color: var(--mcc-ink);
	overflow-wrap: anywhere;
}

body.mcc-page .entry-content .mcc-r .mcc-prac-form {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 10px;
	margin: 0;
}

body.mcc-page .entry-content .mcc-r .mcc-prac-form .mcc-prac-in {
	flex: 1 1 160px;
	width: auto;
	max-width: 280px;
}

body.mcc-page .entry-content .mcc-r .mcc-prac-unit {
	font-size: 1.05rem;
	font-weight: 700;
	color: var(--mcc-ink);
}

body.mcc-page .entry-content .mcc-r .mcc-prac-hint {
	margin-top: 8px;
	font-size: 0.84rem;
	color: var(--mcc-soft);
}

body.mcc-page .entry-content .mcc-r .mcc-prac-fb {
	min-height: 130px;
	margin-top: 14px;
	font-size: 0.98rem;
	line-height: 1.55;
}

body.mcc-page .entry-content .mcc-r .mcc-fb {
	padding: 12px 14px;
	border-left: 4px solid var(--mcc-line-strong);
	border-radius: 0 8px 8px 0;
	background: #fff;
}

body.mcc-page .entry-content .mcc-r .mcc-fb-good {
	border-left-color: var(--mcc-good);
	background: var(--mcc-good-soft);
}

body.mcc-page .entry-content .mcc-r .mcc-fb-bad {
	border-left-color: var(--mcc-bad);
	background: var(--mcc-bad-soft);
}

body.mcc-page .entry-content .mcc-r .mcc-fb p {
	margin: 0 0 6px;
}

body.mcc-page .entry-content .mcc-r .mcc-fb p:last-child {
	margin-bottom: 0;
}

body.mcc-page .entry-content .mcc-r .mcc-prac-next {
	margin-top: 12px;
}

/* ----------------------------------------------------------- hidden --- */

/* Must outrank every `display:` rule above that names the same element. */
body.mcc-page .entry-content div.mcc-r [hidden] {
	display: none;
}

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

@media (max-width: 600px) {

	body.mcc-page .t33-page-main .entry-content > .mcc:first-child {
		padding: 14px;
	}

	body.mcc-page .entry-content .mcc-r .mcc-card {
		grid-template-columns: 88px minmax(0, 1fr);
		column-gap: 12px;
		padding: 12px;
	}

	body.mcc-page .entry-content .mcc-r.mcc-conv,
	body.mcc-page .entry-content .mcc-r.mcc-prac {
		padding: 12px;
	}

	body.mcc-page .entry-content .mcc-r ol.mcc-stairs {
		gap: 3px;
	}

	body.mcc-page .entry-content .mcc-r .mcc-step-word {
		font-size: 0.72rem;
	}

	body.mcc-page .entry-content .mcc-r .mcc-step-block {
		padding: 8px 1px;
	}

	body.mcc-page .entry-content .mcc-r .mcc-step-name {
		font-size: 0.6rem;
	}

	body.mcc-page .entry-content .mcc-r .mcc-step-sym {
		font-size: 1.15rem;
	}

	body.mcc-page .entry-content .mcc-r .mcc-step-pow {
		font-size: 0.68rem;
	}

	body.mcc-page .entry-content .mcc-r .mcc-step-1 .mcc-step-block { min-height: 126px; }
	body.mcc-page .entry-content .mcc-r .mcc-step-2 .mcc-step-block { min-height: 114px; }
	body.mcc-page .entry-content .mcc-r .mcc-step-3 .mcc-step-block { min-height: 102px; }
	body.mcc-page .entry-content .mcc-r .mcc-step-4 .mcc-step-block { min-height: 90px; }
	body.mcc-page .entry-content .mcc-r .mcc-step-5 .mcc-step-block { min-height: 78px; }
	body.mcc-page .entry-content .mcc-r .mcc-step-6 .mcc-step-block { min-height: 66px; }
	body.mcc-page .entry-content .mcc-r .mcc-step-7 .mcc-step-block { min-height: 54px; }

	body.mcc-page .entry-content .mcc-r .mcc-stats {
		margin-left: 0;
	}

	body.mcc-page .entry-content .mcc-r .mcc-prac-bar .mcc-seg {
		display: flex;
		width: 100%;
		flex-wrap: nowrap;
	}

	body.mcc-page .entry-content .mcc-r .mcc-prac-bar button.mcc-seg-btn {
		flex: 1 1 auto;
		padding: 8px 6px;
		font-size: 0.84rem;
	}

	body.mcc-page .entry-content .mcc-r .mcc-result {
		font-size: 1.3rem;
	}

	body.mcc-page .entry-content .mcc-r .mcc-conv-out {
		min-height: 300px;
	}

	body.mcc-page .entry-content .mcc-r .mcc-prac-card {
		padding: 14px;
		min-height: 360px;
	}
}

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

	body.mcc-page .entry-content .mcc-r .mcc-sw-track,
	body.mcc-page .entry-content .mcc-r .mcc-sw-knob {
		transition: none;
	}
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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