/*
 * JM Analytics Tools
 * Visual direction: an analyst's notebook. Warm paper, hairline rules, Instrument Serif
 * headlines (as on jobairmahmud.com), Inter for text, monospace for data, one purple accent.
 * Everything is scoped under .jmt so the theme and Elementor are not affected.
 */

.jmt.jmt {
	--paper: #f5f5f7;
	--paper-deep: #e8e8ed;
	--surface: #ffffff;
	--ink: #1d1d1f;
	--text: #333336;
	--muted: #6e6e73;
	--faint: #6E6E73;
	--line: rgba(0, 0, 0, 0.06);
	--line-strong: rgba(0, 0, 0, 0.12);
	--accent: #0071e3;
	--accent-ink: #0062c4;
	--accent-soft: rgba(0, 113, 227, 0.1);
	--accent-tint: rgba(0, 113, 227, 0.04);
	--ok: #34c759;
	--ok-soft: rgba(52, 199, 89, 0.12);
	--warn: #ff9500;
	--warn-soft: rgba(255, 149, 0, 0.12);
	--err: #ff3b30;
	--err-soft: rgba(255, 59, 48, 0.12);
	--info: #0071e3;
	--info-soft: rgba(0, 113, 227, 0.1);
	--navy: #161617;

	--serif: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", sans-serif;
	--sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", system-ui, sans-serif;
	--mono: "SF Mono", "JetBrains Mono", Menlo, ui-monospace, monospace;

	--r: 20px;
	--r-sm: 12px;

	background: var(--paper);
	color: var(--text);
	font-family: var(--sans);
	font-size: 16px;
	line-height: 1.6;
	padding: calc(28px + var(--jmt-header-offset, 0px)) 0 80px;
	-webkit-font-smoothing: antialiased;
	font-feature-settings: 'cv11', 'ss01';
}
.jmt.jmt *,
.jmt.jmt *::before,
.jmt.jmt *::after {
	box-sizing: border-box;
}
.jmt.jmt [hidden] {
	display: none !important;
}
.jmt.jmt .jmt-wrap {
	max-width: 1180px;
	margin: 0 auto;
	padding: 0 24px;
}

/* ---------------------------------------------------------------- Type */
.jmt.jmt h1,
.jmt.jmt h2,
.jmt.jmt h3,
.jmt.jmt h4 {
	color: var(--ink);
	margin: 0 0 0.5em;
	letter-spacing: -0.01em;
	text-transform: none;
}
.jmt.jmt h1 {
	font-family: var(--serif);
	font-weight: 400;
	font-size: clamp(2.4rem, 5.2vw, 3.9rem);
	line-height: 1.02;
	letter-spacing: -0.02em;
}
.jmt.jmt h1 em,
.jmt.jmt h2 em {
	font-style: italic;
	color: var(--accent);
}
.jmt.jmt h2 {
	font-family: var(--serif);
	font-weight: 400;
	font-size: clamp(1.55rem, 2.6vw, 2rem);
	line-height: 1.1;
}
.jmt.jmt h3,
.jmt.jmt h2:where([data-h="3"]) {
	font-family: var(--sans);
	font-size: 1rem;
	font-weight: 650;
	line-height: 1.35;
}
.jmt.jmt h4,
.jmt.jmt h3:where([data-h="4"]) {
	font-family: var(--sans);
	font-size: 0.95rem;
	font-weight: 600;
}
.jmt.jmt p {
	margin: 0 0 1em;
}
.jmt.jmt a {
	color: var(--accent-ink);
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}
.jmt.jmt a:hover {
	color: var(--accent);
}
.jmt.jmt code,
.jmt.jmt pre,
.jmt.jmt kbd {
	font-family: var(--mono);
	font-size: 0.86em;
}
.jmt.jmt p code,
.jmt.jmt li code {
	background: var(--paper-deep);
	padding: 1px 5px;
	border-radius: 4px;
	color: var(--ink);
}
.jmt.jmt strong {
	color: var(--ink);
	font-weight: 600;
}
.jmt.jmt :focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: 2px;
}
.jmt.jmt ::selection {
	background: var(--accent-soft);
}
.jmt.jmt .jmt-sr-only {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}
.jmt.jmt .jmt-icon {
	flex: none;
	vertical-align: -3px;
}
.jmt.jmt .jmt-kicker {
	font-family: var(--mono);
	font-size: 0.78rem;
	letter-spacing: 0.02em;
	color: var(--muted);
	margin: 0 0 14px;
}
.jmt.jmt .jmt-kicker::before {
	content: '';
	display: inline-block;
	width: 18px;
	height: 1px;
	background: var(--accent);
	vertical-align: middle;
	margin-right: 10px;
}

/* ---------------------------------------------------------------- Breadcrumb + hero */
.jmt.jmt .jmt-breadcrumb ol {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 0 0 34px;
	padding: 0;
	font-size: 0.84rem;
	color: var(--muted);
}
.jmt.jmt .jmt-breadcrumb li + li::before {
	content: '→';
	margin-right: 6px;
	color: var(--faint);
}
.jmt.jmt .jmt-breadcrumb a {
	color: var(--muted);
	text-decoration: none;
}
.jmt.jmt .jmt-breadcrumb a:hover {
	color: var(--ink);
	text-decoration: underline;
}
.jmt.jmt .jmt-hero {
	margin-bottom: 40px;
}
.jmt.jmt .jmt-hero--index {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 260px;
	gap: 48px;
	align-items: end;
	padding-bottom: 36px;
	border-bottom: 1px solid var(--line-strong);
}
.jmt.jmt .jmt-hero--index h1 {
	max-width: 19ch;
}
.jmt.jmt .jmt-hero--tool {
	max-width: 860px;
}
.jmt.jmt .jmt-lead {
	font-size: 1.12rem;
	line-height: 1.6;
	color: var(--text);
	max-width: 62ch;
}
.jmt.jmt .jmt-colophon {
	margin: 0;
	border-top: 1px solid var(--ink);
	font-size: 0.9rem;
}
.jmt.jmt .jmt-colophon div {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	padding: 9px 0;
	border-bottom: 1px solid var(--line);
}
.jmt.jmt .jmt-colophon dt {
	color: var(--muted);
	font-weight: 400;
}
.jmt.jmt .jmt-colophon dd {
	margin: 0;
	color: var(--ink);
	font-weight: 600;
	text-align: right;
}
.jmt.jmt .jmt-hero__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 28px;
	align-items: baseline;
	padding-top: 16px;
	border-top: 1px solid var(--line);
	max-width: 860px;
}
.jmt.jmt .jmt-audience {
	margin: 0;
	font-size: 0.92rem;
	color: var(--text);
	flex: 1 1 380px;
}
.jmt.jmt .jmt-audience span {
	font-family: var(--mono);
	font-size: 0.75rem;
	color: var(--muted);
	margin-right: 6px;
	text-transform: uppercase;
	letter-spacing: 0.06em;
}
.jmt.jmt .jmt-privacy {
	display: inline-flex;
	gap: 7px;
	align-items: center;
	font-size: 0.86rem;
	color: var(--ok);
	margin: 0;
	white-space: nowrap;
}

/* ---------------------------------------------------------------- Directory */
.jmt.jmt .jmt-filters {
	margin-top: 30px;
}
.jmt.jmt .jmt-filters__row {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	align-items: center;
}
.jmt.jmt .jmt-filters__search {
	flex: 1 1 320px;
}
.jmt.jmt .jmt-filters__row select {
	width: auto;
	flex: 0 0 auto;
	min-width: 150px;
}
.jmt.jmt .jmt-toggle {
	display: inline-flex;
	gap: 8px;
	align-items: center;
	font-size: 0.9rem;
	padding: 0 4px;
	cursor: pointer;
	color: var(--text);
}
.jmt.jmt .jmt-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-top: 14px;
}
.jmt.jmt .jmt-chip,
.jmt.jmt button.jmt-chip {
	font: inherit;
	font-size: 0.83rem;
	line-height: 1.2;
	padding: 6px 12px;
	border-radius: 999px;
	border: 1px solid var(--line-strong);
	background: transparent;
	color: var(--text);
	cursor: pointer;
	text-transform: none;
	letter-spacing: 0;
	min-height: 0;
	transition: background 0.12s, border-color 0.12s, color 0.12s;
}
.jmt.jmt .jmt-chip:hover {
	border-color: var(--ink);
	background: transparent;
	color: var(--ink);
}
.jmt.jmt .jmt-chip[aria-pressed='true'] {
	background: var(--ink);
	border-color: var(--ink);
	color: #fff;
}
.jmt.jmt .jmt-result-count {
	font-size: 0.86rem;
	color: var(--muted);
	margin: 12px 0 0;
	min-height: 1.4em;
}
.jmt.jmt .jmt-shelf {
	margin-top: 48px;
}
.jmt.jmt .jmt-shelf__title {
	display: flex;
	align-items: baseline;
	gap: 14px;
}
.jmt.jmt .jmt-shelf__title::after {
	content: '';
	flex: 1;
	height: 1px;
	background: var(--line-strong);
	transform: translateY(-6px);
}
.jmt.jmt .jmt-shelf__note {
	color: var(--muted);
	font-size: 0.92rem;
	margin-top: -4px;
}
.jmt.jmt .jmt-grid {
	list-style: none;
	margin: 18px 0 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: 14px;
}
.jmt.jmt .jmt-card {
	position: relative;
	display: flex;
	flex-direction: column;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--r);
	padding: 22px 22px 18px;
	transition: border-color 0.15s, transform 0.15s;
}
.jmt.jmt .jmt-card:hover,
.jmt.jmt .jmt-card:focus-within {
	border-color: var(--ink);
}
.jmt.jmt .jmt-card:hover {
	transform: translateY(-2px);
}
.jmt.jmt .jmt-card__num {
	font-family: var(--mono);
	font-size: 0.75rem;
	color: var(--faint);
	margin-bottom: 18px;
}
.jmt.jmt .jmt-card__title {
	font-family: var(--serif) !important;
	font-weight: 400 !important;
	font-size: 1.65rem !important;
	line-height: 1.1 !important;
	letter-spacing: -0.01em;
	margin-bottom: 10px;
}
.jmt.jmt .jmt-card__title a {
	color: var(--ink);
	text-decoration: none;
}
.jmt.jmt .jmt-card__title a::after {
	content: '';
	position: absolute;
	inset: 0;
	border-radius: var(--r);
}
.jmt.jmt .jmt-card__summary {
	color: var(--muted);
	font-size: 0.93rem;
	margin-bottom: 18px;
	flex: 1;
}
.jmt.jmt .jmt-card__foot {
	display: flex;
	gap: 8px;
	align-items: center;
	font-size: 0.78rem;
	color: var(--muted);
	margin: 0;
	padding-top: 12px;
	border-top: 1px dashed var(--line);
}
.jmt.jmt .jmt-card__foot span:first-child {
	font-family: var(--mono);
	color: var(--accent-ink);
}
.jmt.jmt .jmt-card__foot span + span::before {
	content: '·';
	margin-right: 8px;
	color: var(--faint);
}
.jmt.jmt .jmt-card__foot .jmt-icon {
	margin-left: auto;
	color: var(--ink);
	transition: transform 0.15s;
}
.jmt.jmt .jmt-card:hover .jmt-card__foot .jmt-icon {
	transform: translateX(3px);
}
.jmt.jmt .jmt-also {
	margin: 20px 0 0;
	font-size: 0.92rem;
	color: var(--muted);
	display: flex;
	flex-wrap: wrap;
	gap: 4px 8px;
	align-items: baseline;
}
.jmt.jmt .jmt-also > span:first-child {
	font-family: var(--mono);
	font-size: 0.72rem;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--accent-ink);
	margin-right: 4px;
}
.jmt.jmt .jmt-also a {
	font-weight: 600;
	color: var(--ink);
}
.jmt.jmt .jmt-workshop {
	columns: 3 260px;
	column-gap: 40px;
	margin-top: 22px;
}
.jmt.jmt .jmt-workshop__group {
	break-inside: avoid;
	margin-bottom: 26px;
}
.jmt.jmt .jmt-workshop__group h3 {
	font-family: var(--mono);
	font-size: 0.74rem;
	font-weight: 500;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--muted);
	padding-bottom: 8px;
	border-bottom: 1px solid var(--line-strong);
	margin-bottom: 4px;
}
.jmt.jmt .jmt-workshop ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
.jmt.jmt .jmt-workshop li {
	padding: 9px 0;
	border-bottom: 1px solid var(--line);
}
.jmt.jmt .jmt-workshop__name {
	display: block;
	font-weight: 600;
	color: var(--ink);
	font-size: 0.93rem;
}
.jmt.jmt .jmt-workshop__desc {
	display: block;
	color: var(--muted);
	font-size: 0.83rem;
	line-height: 1.45;
}
.jmt.jmt .jmt-empty {
	text-align: center;
	padding: 48px 0;
	color: var(--muted);
	font-family: var(--serif);
	font-size: 1.4rem;
}
.jmt.jmt .jmt-empty .jmt-link-btn {
	font-family: var(--sans);
	font-size: 1rem;
}
.jmt.jmt .jmt-notes {
	margin-top: 56px;
	padding-top: 32px;
	border-top: 1px solid var(--line-strong);
	display: grid;
	grid-template-columns: 280px minmax(0, 1fr);
	gap: 40px;
}
.jmt.jmt .jmt-notes ol {
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: n;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px 36px;
}
.jmt.jmt .jmt-notes li {
	counter-increment: n;
	font-size: 0.93rem;
	color: var(--muted);
	padding-left: 34px;
	position: relative;
}
.jmt.jmt .jmt-notes li::before {
	content: counter(n, decimal-leading-zero);
	position: absolute;
	left: 0;
	top: 1px;
	font-family: var(--mono);
	font-size: 0.75rem;
	color: var(--accent);
}
.jmt.jmt .jmt-notes li strong {
	display: block;
	font-weight: 600;
	margin-bottom: 2px;
}

/* ---------------------------------------------------------------- Forms */
.jmt.jmt .jmt-field {
	display: flex;
	flex-direction: column;
	gap: 6px;
	min-width: 0;
}
.jmt.jmt .jmt-field > label,
.jmt.jmt .jmt-label {
	font-weight: 550;
	font-size: 0.88rem;
	color: var(--ink);
}
.jmt.jmt .jmt-hint {
	font-size: 0.8rem;
	color: var(--muted);
	margin: 0;
	line-height: 1.45;
}
.jmt.jmt .jmt-field--check {
	flex-direction: row;
	align-items: center;
	gap: 9px;
}
.jmt.jmt .jmt-field--check label {
	font-weight: 450;
	font-size: 0.92rem;
	color: var(--text);
	cursor: pointer;
}
.jmt.jmt input[type='text'],
.jmt.jmt input[type='url'],
.jmt.jmt input[type='search'],
.jmt.jmt input[type='number'],
.jmt.jmt input:not([type]),
.jmt.jmt select,
.jmt.jmt textarea {
	width: 100%;
	font: inherit;
	font-size: 0.95rem;
	color: var(--ink);
	background: #fff;
	border: 1px solid var(--line-strong);
	border-radius: var(--r-sm);
	padding: 9px 12px;
	min-height: 42px;
	line-height: 1.4;
	box-shadow: none;
	transition: border-color 0.12s, box-shadow 0.12s;
}
.jmt.jmt select {
	appearance: none;
	-webkit-appearance: none;
	padding-right: 34px;
	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 1.5l5 5 5-5' fill='none' stroke='%236c6879' stroke-width='1.6'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 12px center;
	cursor: pointer;
}
.jmt.jmt textarea {
	font-family: var(--mono);
	font-size: 0.84rem;
	min-height: 140px;
	resize: vertical;
	background: #fdfdfb;
}
.jmt.jmt input::placeholder,
.jmt.jmt textarea::placeholder {
	color: var(--faint);
}
.jmt.jmt input:hover,
.jmt.jmt select:hover,
.jmt.jmt textarea:hover {
	border-color: var(--faint);
}
.jmt.jmt input:focus,
.jmt.jmt select:focus,
.jmt.jmt textarea:focus {
	border-color: var(--accent);
	box-shadow: 0 0 0 3px var(--accent-soft);
	outline: none;
}
.jmt.jmt input[aria-invalid='true'],
.jmt.jmt textarea[aria-invalid='true'] {
	border-color: var(--err);
	box-shadow: 0 0 0 3px var(--err-soft);
}
.jmt.jmt input[type='checkbox'],
.jmt.jmt input[type='radio'] {
	width: 17px;
	height: 17px;
	accent-color: var(--accent);
	margin: 0;
	flex: none;
	cursor: pointer;
}
.jmt.jmt .jmt-field-error {
	color: var(--err);
	font-size: 0.8rem;
	margin: 0;
}
.jmt.jmt .jmt-input-icon {
	position: relative;
}
.jmt.jmt .jmt-input-icon .jmt-icon {
	position: absolute;
	left: 13px;
	top: 50%;
	transform: translateY(-50%);
	color: var(--muted);
	pointer-events: none;
}
.jmt.jmt .jmt-input-icon input {
	padding-left: 38px;
	min-height: 46px;
	font-size: 1rem;
}
.jmt.jmt .jmt-prefix {
	display: flex;
}
.jmt.jmt .jmt-prefix > span {
	display: flex;
	align-items: center;
	padding: 0 11px;
	background: var(--paper);
	border: 1px solid var(--line-strong);
	font-size: 0.85rem;
	color: var(--muted);
	white-space: nowrap;
	font-family: var(--mono);
}
.jmt.jmt .jmt-prefix > span:first-child {
	border-right: 0;
	border-radius: var(--r-sm) 0 0 var(--r-sm);
}
.jmt.jmt .jmt-prefix > span.jmt-suffix {
	border-left: 0;
	border-radius: 0 var(--r-sm) var(--r-sm) 0;
}
.jmt.jmt .jmt-prefix > span:first-child + input {
	border-top-left-radius: 0;
	border-bottom-left-radius: 0;
}
.jmt.jmt .jmt-prefix > input:has(+ .jmt-suffix) {
	border-top-right-radius: 0;
	border-bottom-right-radius: 0;
}
.jmt.jmt .jmt-form-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 16px;
}
.jmt.jmt .jmt-fieldset {
	border: 0;
	padding: 20px 0 0;
	margin: 0 0 20px;
	min-width: 0;
	border-top: 1px solid var(--line);
}
.jmt.jmt .jmt-fieldset > legend {
	float: left;
	width: 100%;
	font-weight: 650;
	font-size: 0.98rem;
	color: var(--ink);
	padding: 0;
	margin-bottom: 4px;
}
.jmt.jmt .jmt-fieldset > legend + * {
	clear: both;
}
.jmt.jmt .jmt-fieldset > .jmt-hint {
	margin-bottom: 12px;
}
.jmt.jmt .jmt-radio-row {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 22px;
}
.jmt.jmt .jmt-radio-row label {
	display: inline-flex;
	gap: 8px;
	align-items: center;
	font-weight: 450;
	font-size: 0.92rem;
	cursor: pointer;
}
.jmt.jmt .jmt-lines {
	list-style: none;
	margin: 0 0 10px;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.jmt.jmt .jmt-line {
	display: grid;
	grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) auto;
	gap: 8px;
	align-items: start;
}
.jmt.jmt .jmt-line--rev {
	grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) auto auto;
}
.jmt.jmt .jmt-line--kv {
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) auto;
}
.jmt.jmt .jmt-line .jmt-check-inline {
	display: inline-flex;
	gap: 6px;
	align-items: center;
	font-size: 0.82rem;
	white-space: nowrap;
	min-height: 42px;
	color: var(--muted);
	cursor: pointer;
}

/* ---------------------------------------------------------------- Buttons (beat theme button styles) */
.jmt.jmt .jmt-btn,
.jmt.jmt button.jmt-btn,
.jmt.jmt label.jmt-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	font: inherit;
	font-weight: 550;
	font-size: 0.9rem;
	line-height: 1.2;
	padding: 10px 16px;
	min-height: 40px;
	border-radius: 999px;
	border: 1px solid var(--line-strong);
	background: var(--surface);
	color: var(--ink);
	text-decoration: none;
	cursor: pointer;
	transition: background 0.12s, border-color 0.12s, color 0.12s;
	white-space: nowrap;
	text-transform: none;
	letter-spacing: 0;
	box-shadow: none;
}
.jmt.jmt .jmt-btn:hover,
.jmt.jmt button.jmt-btn:hover {
	border-color: var(--ink);
	background: var(--surface);
	color: var(--ink);
}
.jmt.jmt .jmt-btn--primary,
.jmt.jmt button.jmt-btn--primary {
	background: var(--ink);
	border-color: var(--ink);
	color: #fff;
}
.jmt.jmt .jmt-btn--primary:hover,
.jmt.jmt button.jmt-btn--primary:hover {
	background: var(--accent);
	border-color: var(--accent);
	color: #fff;
}
.jmt.jmt .jmt-btn--ghost,
.jmt.jmt button.jmt-btn--ghost {
	border-color: transparent;
	background: transparent;
	color: var(--accent-ink);
	padding-left: 10px;
	padding-right: 10px;
}
.jmt.jmt .jmt-btn--ghost:hover,
.jmt.jmt button.jmt-btn--ghost:hover {
	background: var(--accent-tint);
	border-color: transparent;
	color: var(--accent);
}
.jmt.jmt .jmt-btn--danger:hover,
.jmt.jmt button.jmt-btn--danger:hover {
	color: var(--err);
	border-color: var(--err);
	background: var(--surface);
}
.jmt.jmt .jmt-btn--icon,
.jmt.jmt button.jmt-btn--icon {
	width: 42px;
	min-height: 42px;
	padding: 0;
	font-size: 1.15rem;
	border-radius: var(--r-sm);
	color: var(--muted);
}
.jmt.jmt .jmt-btn--lg {
	padding: 14px 24px;
	font-size: 0.98rem;
}
.jmt.jmt .jmt-btn:disabled {
	opacity: 0.4;
	cursor: not-allowed;
}
.jmt.jmt .jmt-btn:disabled:hover {
	border-color: var(--line-strong);
}
.jmt.jmt .jmt-btn--primary:disabled:hover {
	background: var(--ink);
	border-color: var(--ink);
}
.jmt.jmt .jmt-link-btn,
.jmt.jmt button.jmt-link-btn {
	background: none;
	border: 0;
	padding: 0;
	color: var(--accent-ink);
	font: inherit;
	text-decoration: underline;
	text-underline-offset: 3px;
	cursor: pointer;
	min-height: 0;
}
.jmt.jmt .jmt-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
}
/* "+ Add line" buttons read as quiet text actions. */
.jmt.jmt [data-add],
.jmt.jmt #utm-add-custom,
.jmt.jmt #ga-add-custom {
	border-style: dashed !important;
	color: var(--muted) !important;
	border-radius: var(--r-sm) !important;
	font-weight: 500 !important;
}
.jmt.jmt [data-add]:hover,
.jmt.jmt #utm-add-custom:hover,
.jmt.jmt #ga-add-custom:hover {
	color: var(--ink) !important;
}

/* ---------------------------------------------------------------- Tool layout */
.jmt.jmt .jmt-panel {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--r);
	padding: 26px;
	min-width: 0;
}
.jmt.jmt .jmt-panel + .jmt-panel {
	margin-top: 18px;
}
.jmt.jmt .jmt-panel__head {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: baseline;
	gap: 10px;
	margin-bottom: 18px;
}
.jmt.jmt .jmt-panel__head h2,
.jmt.jmt .jmt-panel__head h3 {
	margin: 0;
}
.jmt.jmt .jmt-panel > h2,
.jmt.jmt .jmt-panel__head h2 {
	font-size: 1.6rem;
}
.jmt.jmt .jmt-panel h3 {
	margin-top: 22px;
	font-size: 0.78rem;
	font-family: var(--mono);
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--muted);
}
.jmt.jmt .jmt-split {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
	gap: 18px;
	align-items: start;
}
.jmt.jmt .jmt-split--wide {
	grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
}
.jmt.jmt .jmt-split > .jmt-sticky {
	position: sticky;
	top: 16px;
}
.jmt.jmt .jmt-section {
	margin-top: 56px;
}
.jmt.jmt .jmt-prose {
	max-width: 760px;
}
.jmt.jmt .jmt-prose h2 {
	margin-bottom: 0.6em;
}
.jmt.jmt .jmt-prose h3 {
	margin-top: 1.6em;
}
.jmt.jmt .jmt-prose ul,
.jmt.jmt .jmt-prose ol {
	padding-left: 1.2em;
	margin: 0 0 1em;
}
.jmt.jmt .jmt-prose li {
	margin-bottom: 0.5em;
}
.jmt.jmt .jmt-prose li::marker {
	color: var(--faint);
}
.jmt.jmt .jmt-formula {
	background: var(--surface);
	border: 1px solid var(--line);
	border-left: 3px solid var(--accent);
	border-radius: 0 var(--r-sm) var(--r-sm) 0;
	padding: 16px 20px;
	font-family: var(--mono);
	font-size: 0.84rem;
	line-height: 1.95;
	color: var(--ink);
	overflow-x: auto;
	margin-bottom: 1.4em;
}
.jmt.jmt .jmt-limits {
	max-width: 760px;
	padding: 24px 0 0;
	border-top: 1px solid var(--line-strong);
}
.jmt.jmt .jmt-limits h2 {
	font-size: 1.5rem;
}
.jmt.jmt .jmt-limits ul {
	margin: 0;
	padding: 0;
	list-style: none;
}
.jmt.jmt .jmt-limits li {
	position: relative;
	padding: 0 0 10px 22px;
	font-size: 0.92rem;
	color: var(--muted);
}
.jmt.jmt .jmt-limits li::before {
	content: '—';
	position: absolute;
	left: 0;
	color: var(--warn);
}
.jmt.jmt .jmt-app > .jmt-msg {
	margin-bottom: 18px;
}

/* ---------------------------------------------------------------- Results: a statement, not a dashboard */
.jmt.jmt .jmt-kpis {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0;
	margin-bottom: 18px;
	border-top: 1px solid var(--ink);
}
.jmt.jmt .jmt-kpi {
	padding: 12px 14px 12px 0;
	border-bottom: 1px solid var(--line);
	min-width: 0;
}
.jmt.jmt .jmt-kpi:nth-child(even) {
	padding-left: 16px;
	padding-right: 0;
	border-left: 1px solid var(--line);
}
.jmt.jmt .jmt-kpi__label {
	display: block;
	font-size: 0.8rem;
	color: var(--muted);
}
.jmt.jmt .jmt-kpi__value {
	display: block;
	font-family: var(--mono);
	font-size: 1.12rem;
	font-weight: 500;
	color: var(--ink);
	font-variant-numeric: tabular-nums;
	line-height: 1.35;
	overflow-wrap: anywhere;
	letter-spacing: -0.01em;
}
.jmt.jmt .jmt-kpi__sub {
	display: block;
	font-size: 0.74rem;
	color: var(--faint);
}
.jmt.jmt .jmt-kpi--hero {
	padding-top: 16px;
	padding-bottom: 16px;
}
.jmt.jmt .jmt-kpi--hero .jmt-kpi__value {
	font-family: var(--serif);
	font-weight: 400;
	font-size: clamp(2.1rem, 3.6vw, 2.9rem);
	line-height: 1;
	margin: 4px 0 6px;
	letter-spacing: -0.02em;
}
.jmt.jmt .jmt-kpi--hero .jmt-kpi__label {
	color: var(--ink);
	font-weight: 600;
}
.jmt.jmt .jmt-kpi__value.is-neg {
	color: var(--err);
}
.jmt.jmt .jmt-table-wrap {
	overflow-x: auto;
	border: 1px solid var(--line);
	border-radius: var(--r-sm);
	-webkit-overflow-scrolling: touch;
	background: var(--surface);
}
.jmt.jmt table.jmt-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.87rem;
	margin: 0;
	background: transparent;
	border: 0;
}
.jmt.jmt .jmt-table th,
.jmt.jmt .jmt-table td {
	text-align: left;
	padding: 10px 14px;
	border: 0;
	border-bottom: 1px solid var(--line);
	vertical-align: top;
	background: transparent;
}
.jmt.jmt .jmt-table thead th {
	font-family: var(--mono);
	font-size: 0.72rem;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--muted);
	white-space: nowrap;
	background: var(--paper);
}
.jmt.jmt .jmt-table tbody th {
	font-weight: 500;
	color: var(--ink);
}
.jmt.jmt .jmt-table tbody tr:hover td {
	background: #fcfbf8;
}
.jmt.jmt .jmt-table tr:last-child td,
.jmt.jmt .jmt-table tr:last-child th {
	border-bottom: 0;
}
.jmt.jmt .jmt-table td.num,
.jmt.jmt .jmt-table th.num {
	text-align: right;
	font-family: var(--mono);
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}
.jmt.jmt .jmt-table code {
	word-break: break-all;
	background: none;
	padding: 0;
	color: var(--ink);
}
.jmt.jmt .jmt-table .is-total td {
	font-weight: 600;
	color: var(--ink);
	border-top: 1px solid var(--line-strong);
}
.jmt.jmt .jmt-output {
	display: block;
	width: 100%;
	background: var(--navy);
	color: #e6e3f5;
	border-radius: var(--r-sm);
	padding: 16px 18px;
	font-family: var(--mono);
	font-size: 0.84rem;
	line-height: 1.65;
	overflow-x: auto;
	white-space: pre-wrap;
	word-break: break-all;
	margin: 0 0 14px;
	min-height: 54px;
}
.jmt.jmt .jmt-output--code {
	white-space: pre;
	word-break: normal;
	max-height: 520px;
}
.jmt.jmt .jmt-output.is-empty {
	background: var(--paper);
	color: var(--muted);
	border: 1px dashed var(--line-strong);
	font-family: var(--sans);
	font-size: 0.9rem;
}

/* Messages: quiet margin notes with a short tag */
.jmt.jmt .jmt-msgs {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 2px;
}
.jmt.jmt .jmt-msg {
	display: grid;
	grid-template-columns: 78px minmax(0, 1fr);
	gap: 10px;
	align-items: baseline;
	padding: 9px 0;
	border-bottom: 1px solid var(--line);
	font-size: 0.88rem;
	margin: 0;
	color: var(--text);
	overflow-wrap: anywhere;
	line-height: 1.5;
}
.jmt.jmt .jmt-msgs .jmt-msg:last-child {
	border-bottom: 0;
}
.jmt.jmt p.jmt-msg {
	display: block;
	padding: 12px 16px;
	border: 1px solid var(--line);
	border-left-width: 3px;
	border-radius: 0 var(--r-sm) var(--r-sm) 0;
	background: var(--surface);
}
.jmt.jmt .jmt-msg__tag {
	font-family: var(--mono);
	font-size: 0.7rem !important;
	font-weight: 500 !important;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	white-space: nowrap;
}
.jmt.jmt .jmt-msg__tag::before {
	content: '';
	display: inline-block;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: currentColor;
	margin-right: 7px;
	vertical-align: 1px;
}
.jmt.jmt .jmt-msg--error .jmt-msg__tag { color: var(--err); }
.jmt.jmt .jmt-msg--warning .jmt-msg__tag { color: var(--warn); }
.jmt.jmt .jmt-msg--info .jmt-msg__tag { color: var(--info); }
.jmt.jmt .jmt-msg--ok .jmt-msg__tag { color: var(--ok); }
.jmt.jmt p.jmt-msg--error { border-left-color: var(--err); background: var(--err-soft); }
.jmt.jmt p.jmt-msg--warning { border-left-color: #d08a1c; background: var(--warn-soft); }
.jmt.jmt p.jmt-msg--info { border-left-color: var(--info); background: var(--info-soft); }
.jmt.jmt p.jmt-msg--ok { border-left-color: var(--ok); background: var(--ok-soft); }
/* Messages created without the tag structure (e.g. batch rows) */
.jmt.jmt li.jmt-msg:not(:has(.jmt-msg__tag)) {
	display: block;
	padding: 6px 0 6px 12px;
	border-bottom: 0;
	border-left: 2px solid var(--line-strong);
	font-size: 0.83rem;
}
.jmt.jmt li.jmt-msg--error:not(:has(.jmt-msg__tag)) { border-left-color: var(--err); }
.jmt.jmt li.jmt-msg--warning:not(:has(.jmt-msg__tag)) { border-left-color: #d08a1c; }
.jmt.jmt li.jmt-msg--info:not(:has(.jmt-msg__tag)) { border-left-color: var(--info); }
.jmt.jmt li.jmt-msg--ok:not(:has(.jmt-msg__tag)) { border-left-color: var(--ok); }

.jmt.jmt .jmt-pill {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-family: var(--mono);
	font-size: 0.7rem;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	white-space: nowrap;
	padding: 0;
}
.jmt.jmt .jmt-pill::before {
	content: '';
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: currentColor;
}
.jmt.jmt .jmt-pill--error { color: var(--err); }
.jmt.jmt .jmt-pill--warning { color: var(--warn); }
.jmt.jmt .jmt-pill--info { color: var(--info); }
.jmt.jmt .jmt-pill--ok { color: var(--ok); }

.jmt.jmt .jmt-tally {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 16px;
	align-items: baseline;
	font-size: 0.95rem;
	color: var(--muted);
	margin: 0;
}
.jmt.jmt .jmt-tally strong {
	font-family: var(--serif);
	font-weight: 400;
	font-size: 2rem;
	line-height: 1;
	color: var(--ink);
	margin-right: -10px;
}
.jmt.jmt .jmt-table td code {
	word-break: normal;
	overflow-wrap: anywhere;
}

/* Bar chart */
.jmt.jmt .jmt-bars {
	display: flex;
	flex-direction: column;
	gap: 9px;
	margin: 8px 0 4px;
}
.jmt.jmt .jmt-bar {
	display: grid;
	grid-template-columns: 78px minmax(0, 1fr) auto;
	gap: 12px;
	align-items: center;
	font-size: 0.84rem;
	color: var(--muted);
}
.jmt.jmt .jmt-bar__track {
	height: 10px;
	background: var(--paper-deep);
	border-radius: 2px;
	overflow: hidden;
}
.jmt.jmt .jmt-bar__fill {
	height: 100%;
	border-radius: 2px;
	min-width: 2px;
	transition: width 0.3s ease;
}
.jmt.jmt .jmt-bar__fill--rev { background: var(--accent); }
.jmt.jmt .jmt-bar__fill--cost { background: #b9b4a8; }
.jmt.jmt .jmt-bar__fill--profit { background: #2f9e67; }
.jmt.jmt .jmt-bar__fill--loss { background: var(--err); }
.jmt.jmt .jmt-bar__val {
	font-family: var(--mono);
	font-variant-numeric: tabular-nums;
	color: var(--ink);
	white-space: nowrap;
}

/* Tabs */
.jmt.jmt .jmt-tabs {
	display: flex;
	gap: 24px;
	border-bottom: 1px solid var(--line-strong);
	margin-bottom: 18px;
	overflow-x: auto;
	overflow-y: hidden;
	scrollbar-width: none;
}
.jmt.jmt .jmt-tab,
.jmt.jmt button.jmt-tab {
	background: none;
	border: 0;
	border-bottom: 2px solid transparent;
	border-radius: 0;
	padding: 10px 0;
	font: inherit;
	font-family: var(--serif);
	font-size: 1.35rem;
	font-weight: 400;
	color: var(--faint);
	cursor: pointer;
	white-space: nowrap;
	margin-bottom: -1px;
	text-transform: none;
	letter-spacing: 0;
	min-height: 0;
}
.jmt.jmt .jmt-tab:hover {
	color: var(--ink);
	background: none;
}
.jmt.jmt .jmt-tab[aria-selected='true'] {
	color: var(--ink);
	border-bottom-color: var(--accent);
}

.jmt.jmt details.jmt-details {
	border-top: 1px solid var(--line);
	padding: 0;
	margin: 0 0 16px;
	background: transparent;
}
.jmt.jmt details.jmt-details > summary {
	cursor: pointer;
	font-weight: 600;
	padding: 14px 0 6px;
	color: var(--ink);
	list-style: none;
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 0.95rem;
}
.jmt.jmt details.jmt-details > summary::-webkit-details-marker {
	display: none;
}
.jmt.jmt details.jmt-details > summary::before {
	content: '+';
	font-family: var(--mono);
	width: 18px;
	height: 18px;
	line-height: 16px;
	text-align: center;
	border: 1px solid var(--line-strong);
	border-radius: 4px;
	color: var(--muted);
	font-weight: 400;
	flex: none;
}
.jmt.jmt details.jmt-details[open] > summary::before {
	content: '−';
}
.jmt.jmt details.jmt-details[open] > summary {
	margin-bottom: 12px;
}
.jmt.jmt details.jmt-details[open] {
	padding-bottom: 6px;
}

/* ---------------------------------------------------------------- Audit checklist */
.jmt.jmt .jmt-audit-cat {
	margin-bottom: 10px;
}
.jmt.jmt .jmt-audit-cat > h3 {
	font-family: var(--serif) !important;
	font-size: 1.4rem !important;
	font-weight: 400 !important;
	text-transform: none !important;
	letter-spacing: -0.01em !important;
	color: var(--ink) !important;
	margin: 26px 0 4px !important;
}
.jmt.jmt .jmt-audit-item {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 8px 20px;
	padding: 16px 0;
	border-top: 1px solid var(--line);
}
.jmt.jmt .jmt-audit-item h4 {
	font-size: 0.97rem;
	margin: 0 0 4px;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: baseline;
}
.jmt.jmt .jmt-audit-item p {
	font-size: 0.86rem;
	color: var(--muted);
	margin: 0 0 4px;
}
.jmt.jmt .jmt-audit-item details summary {
	font-size: 0.8rem;
	color: var(--accent-ink);
	cursor: pointer;
}
.jmt.jmt .jmt-audit-item details p {
	margin-top: 6px;
	padding-left: 12px;
	border-left: 2px solid var(--accent-soft);
}
.jmt.jmt .jmt-status {
	display: inline-flex;
	border: 1px solid var(--line-strong);
	border-radius: 999px;
	overflow: hidden;
	align-self: start;
	margin: 0;
	padding: 2px;
	gap: 2px;
	background: var(--paper);
}
.jmt.jmt .jmt-status legend {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
}
.jmt.jmt .jmt-status input {
	position: absolute;
	opacity: 0;
	width: 1px;
	height: 1px;
}
.jmt.jmt .jmt-status label {
	padding: 5px 11px;
	font-size: 0.78rem;
	font-weight: 500;
	cursor: pointer;
	color: var(--muted);
	border-radius: 999px;
	white-space: nowrap;
	user-select: none;
	transition: background 0.12s, color 0.12s;
}
.jmt.jmt .jmt-status label:hover {
	color: var(--ink);
}
.jmt.jmt .jmt-status input:focus-visible + label {
	outline: 2px solid var(--accent);
	outline-offset: -2px;
}
.jmt.jmt .jmt-status input[value='pass']:checked + label { background: var(--ok); color: #fff; }
.jmt.jmt .jmt-status input[value='fail']:checked + label { background: var(--err); color: #fff; }
.jmt.jmt .jmt-status input[value='na']:checked + label { background: var(--muted); color: #fff; }
.jmt.jmt .jmt-status input[value='unchecked']:checked + label { background: var(--surface); color: var(--ink); box-shadow: 0 0 0 1px var(--line-strong); }
.jmt.jmt .jmt-prio {
	font-family: var(--mono);
	font-size: 0.68rem;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--muted);
}
.jmt.jmt .jmt-prio::before {
	content: '';
	display: inline-block;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	margin-right: 5px;
	vertical-align: 1px;
	background: currentColor;
}
.jmt.jmt .jmt-prio--critical { color: var(--err); }
.jmt.jmt .jmt-prio--high { color: #c2570c; }
.jmt.jmt .jmt-prio--medium { color: var(--info); }
.jmt.jmt .jmt-prio--low { color: var(--faint); }
.jmt.jmt .jmt-progress {
	height: 4px;
	background: var(--paper-deep);
	border-radius: 999px;
	overflow: hidden;
	margin: 8px 0 14px;
}
.jmt.jmt .jmt-progress > span {
	display: block;
	height: 100%;
	background: var(--accent);
	transition: width 0.3s;
}
.jmt.jmt #au-recs ol .jmt-msg {
	display: block;
	padding: 12px 0;
}

/* ---------------------------------------------------------------- Related + reading */
.jmt.jmt .jmt-more {
	margin-top: 64px;
	display: grid;
	grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
	gap: 48px;
	padding-top: 32px;
	border-top: 1px solid var(--line-strong);
}
.jmt.jmt .jmt-more h2 {
	font-size: 1.5rem;
}
.jmt.jmt .jmt-linkrows,
.jmt.jmt .jmt-reading {
	list-style: none;
	margin: 0;
	padding: 0;
}
.jmt.jmt .jmt-linkrow {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 2px 16px;
	padding: 14px 0;
	border-bottom: 1px solid var(--line);
	text-decoration: none;
	color: var(--text);
}
.jmt.jmt .jmt-linkrow__name {
	font-weight: 600;
	color: var(--ink);
}
.jmt.jmt .jmt-linkrow__desc {
	grid-column: 1;
	font-size: 0.86rem;
	color: var(--muted);
}
.jmt.jmt .jmt-linkrow .jmt-icon {
	grid-column: 2;
	grid-row: 1 / span 2;
	align-self: center;
	transition: transform 0.15s;
}
.jmt.jmt .jmt-linkrow:hover .jmt-linkrow__name {
	color: var(--accent-ink);
}
.jmt.jmt .jmt-linkrow:hover .jmt-icon {
	transform: translateX(3px);
}
.jmt.jmt .jmt-reading li {
	padding: 12px 0;
	border-bottom: 1px solid var(--line);
	font-size: 0.93rem;
}

/* ---------------------------------------------------------------- Sign-off CTA */
.jmt.jmt .jmt-cta {
	margin-top: 64px;
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	gap: 24px;
	align-items: center;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--r);
	padding: 28px 32px;
}
.jmt.jmt .jmt-cta__mark {
	width: 64px;
	height: 64px;
	border-radius: 50%;
	background: var(--ink);
	color: #fff;
	display: grid;
	place-items: center;
	font-family: var(--serif);
	font-size: 1.6rem;
	letter-spacing: 0.02em;
	align-self: start;
}
.jmt.jmt .jmt-cta h2 {
	font-size: 1.7rem;
	margin-bottom: 6px;
}
.jmt.jmt .jmt-cta p {
	margin: 0;
	max-width: 62ch;
	color: var(--text);
}
.jmt.jmt .jmt-cta__sig {
	margin-top: 10px;
	font-family: var(--mono);
	font-size: 0.75rem;
	color: var(--muted);
}

/* ---------------------------------------------------------------- Theme integration */
body.jmt-page .site-main.jmt-main {
	max-width: none;
	width: 100%;
	padding-left: 0;
	padding-right: 0;
	margin-left: 0;
	margin-right: 0;
}

/* ---------------------------------------------------------------- Responsive */
@media (max-width: 960px) {
	.jmt.jmt .jmt-split,
.jmt.jmt .jmt-split--wide {
		grid-template-columns: 1fr;
	}
	.jmt.jmt .jmt-split > .jmt-sticky {
		position: static;
	}
	.jmt.jmt .jmt-hero--index {
		grid-template-columns: 1fr;
		gap: 28px;
	}
	.jmt.jmt .jmt-colophon {
		max-width: 420px;
	}
	.jmt.jmt .jmt-notes,
.jmt.jmt .jmt-more {
		grid-template-columns: 1fr;
		gap: 20px;
	}
	.jmt.jmt .jmt-cta {
		grid-template-columns: auto minmax(0, 1fr);
	}
	.jmt.jmt .jmt-cta > .jmt-btn {
		grid-column: 2;
		justify-self: start;
	}
}
@media (max-width: 600px) {
	.jmt.jmt {
		padding-top: calc(18px + var(--jmt-header-offset, 0px));
	}
	.jmt.jmt .jmt-wrap {
		padding: 0 16px;
	}
	.jmt.jmt .jmt-breadcrumb ol {
		margin-bottom: 22px;
	}
	.jmt.jmt .jmt-panel {
		padding: 18px;
	}
	.jmt.jmt .jmt-notes ol {
		grid-template-columns: 1fr;
	}
	.jmt.jmt .jmt-filters__row select,
.jmt.jmt .jmt-filters__search {
		flex: 1 1 100%;
	}
	.jmt.jmt .jmt-chips {
		flex-wrap: nowrap;
		overflow-x: auto;
		margin-right: -16px;
		padding-right: 16px;
		padding-bottom: 4px;
		scrollbar-width: none;
	}
	.jmt.jmt .jmt-chips::-webkit-scrollbar {
		display: none;
	}
	.jmt.jmt .jmt-chip {
		flex: none;
	}
	.jmt.jmt .jmt-grid {
		grid-template-columns: 1fr;
	}
	.jmt.jmt .jmt-line,
.jmt.jmt .jmt-line--rev,
.jmt.jmt .jmt-line--kv {
		grid-template-columns: minmax(0, 1fr) auto;
	}
	.jmt.jmt .jmt-line > :first-child {
		grid-column: 1 / -1;
	}
	.jmt.jmt .jmt-line--rev > .jmt-check-inline {
		grid-column: 1 / 2;
		grid-row: 3;
		min-height: 0;
	}
	.jmt.jmt .jmt-audit-item {
		grid-template-columns: 1fr;
	}
	.jmt.jmt .jmt-status {
		width: 100%;
	}
	.jmt.jmt .jmt-status label {
		flex: 1;
		text-align: center;
		padding: 7px 2px;
	}
	.jmt.jmt .jmt-cta {
		grid-template-columns: 1fr;
		padding: 22px;
	}
	.jmt.jmt .jmt-cta__mark {
		width: 48px;
		height: 48px;
		font-size: 1.2rem;
	}
	.jmt.jmt .jmt-cta > .jmt-btn {
		grid-column: 1;
		width: 100%;
	}
	.jmt.jmt .jmt-msg {
		grid-template-columns: 1fr;
		gap: 2px;
	}
	.jmt.jmt .jmt-bar {
		grid-template-columns: 62px minmax(0, 1fr) auto;
	}
	.jmt.jmt .jmt-privacy {
		white-space: normal;
	}
}

@media (prefers-reduced-motion: reduce) {
	.jmt.jmt * {
		transition: none !important;
	}
}

/* ---------------------------------------------------------------- Print: only the report */
.jmt-print-only {
	display: none;
}
@media print {
	body.jmt-printing * {
		visibility: hidden;
	}
	body.jmt-printing .jmt-print-area,
body.jmt-printing .jmt-print-area * {
		visibility: visible;
	}
	body.jmt-printing .jmt-print-area {
		position: absolute;
		left: 0;
		top: 0;
		width: 100%;
		background: #fff;
		padding: 0;
	}
	body.jmt-printing .jmt-print-only {
		display: block;
	}
	.jmt-print-area {
		color: #000;
	}
	.jmt-print-area .jmt-no-print {
		display: none !important;
	}
}
