/*
Theme Name: MMM Theme
Author: Pappenheimers
Description: Gutenberg Block Theme voor MMM PT.
Version: 0.17.52
Requires at least: 6.5
Requires PHP: 8.0
Text Domain: mmm-theme
*/

/* MMM Theme 0.5.0 — clean Gutenberg baseline */
html { scroll-behavior: smooth; }
body { margin: 0; }

.mmm-header { margin: 0; padding: 0; }
.mmm-header-top {
	background: rgba(0,0,0,.83);
	color: #fff;
	margin: 0;
}
.mmm-header-main { background: #fff; margin: 0; }

.mmm-header-top,
.mmm-header-top .wp-block-site-title,
.mmm-header-top .wp-block-site-title a,
.mmm-header-top .mmm-header-credit {
	color: #fff;
	font-size: 10px;
	line-height: 1.2;
	font-weight: 600;
}
.mmm-header-top .wp-block-site-title,
.mmm-header-top .wp-block-site-title a {
	text-transform: uppercase;
	text-decoration: none;
}
.mmm-header-top .mmm-header-credit {
	text-transform: none;
	font-weight: 400;
}

.mmm-header-main__inner { align-items: center; }
.mmm-header-main .wp-block-site-logo img {
	height: auto;
	object-fit: contain;
}

/* No decorative rules between MMM content sections. */
.mmm-section { border-top: 0; }

.mmm-footer {
	background: rgba(0,0,0,.60);
	color: #fff;
}
.mmm-footer,
.mmm-footer p,
.mmm-footer a,
.mmm-footer .wp-block-shortcode {
	color: #fff;
	font-size: 11px;
	line-height: 1.25;
}

@media (max-width:700px) {
	.mmm-header-main__inner { align-items: flex-start; }
}


/* Home v1 */
.mmm-home-hero {
	padding-block: var(--wp--preset--spacing--50);
}

.mmm-home-grid {
	margin-top: var(--wp--preset--spacing--30);
}

.mmm-home-card {
	box-sizing: border-box;
	height: 100%;
	background: var(--wp--preset--color--surface-alt, #fff);
	border-radius: 10px;
	padding: 25px;
}

.mmm-home-card > :first-child {
	margin-top: 0;
}

.mmm-home-card > :last-child {
	margin-bottom: 0;
}

.mmm-home-card a {
	text-decoration: none;
}

.mmm-home-card--primary {
	border-top: 4px solid var(--wp--preset--color--brand-primary);
}

.mmm-home-section {
	margin-top: var(--wp--preset--spacing--50);
}


/* MMM Theme 0.5.2 — site-width content + compact archive cards */
.mmm-main > .alignwide,
.mmm-main .mmm-site-width {
	box-sizing: border-box;
	width: 100%;
	max-width: var(--wp--style--global--wide-size, 1160px);
	margin-left: auto;
	margin-right: auto;
}

.mmm-home-hero {
	padding-block: var(--wp--preset--spacing--40);
}

.mmm-home-card {
	background: var(--wp--preset--color--surface-alt, #fff);
	border-radius: 10px;
	padding: 25px;
	box-sizing: border-box;
	height: 100%;
}


/* MMM 0.6 — shared composition language, lightly inspired by Ableton's utility UI */
.mmm-page-shell {
	box-sizing: border-box;
	width: 100%;
	max-width: var(--wp--style--global--wide-size);
	margin-inline: auto;
	padding-block: var(--wp--preset--spacing--40);
}

.mmm-page-titlebar {
	display: flex;
	align-items: baseline;
	gap: .6rem;
	margin-bottom: var(--wp--preset--spacing--30);
}
.mmm-page-titlebar .mmm-eyebrow,
.mmm-page-titlebar h1 { margin: 0; }
.mmm-page-titlebar .mmm-eyebrow {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .04em;
	text-transform: uppercase;
}


/* MMM Theme 0.6.1 — align header content with site content width */
.mmm-header-top__inner,
.mmm-header-main__inner {
	box-sizing: border-box;
	width: 100%;
	max-width: var(--wp--style--global--wide-size, 1160px);
	margin-left: auto !important;
	margin-right: auto !important;
	padding-left: 0;
	padding-right: 0;
}

/* Keep full-width bar backgrounds, only constrain their inner content. */
.mmm-header-top,
.mmm-header-main {
	width: 100%;
}

/* Same horizontal alignment as .mmm-page-shell */
.mmm-page-shell {
	box-sizing: border-box;
	width: 100%;
	max-width: var(--wp--style--global--wide-size, 1160px);
	margin-left: auto;
	margin-right: auto;
}


/* Feedback placement */
.mmm-feedback-wrap {
	box-sizing: border-box;
	width: 100%;
	max-width: var(--wp--style--global--wide-size,1160px);
	margin-inline: auto;
	padding-block: var(--wp--preset--spacing--40);
	padding-inline: var(--mmm-space-flow, 16px);
}


/* MMM Theme 0.6.8 — Marcomactiviteit, model-based layout */
.mmm-activity-shell {
	display: grid;
	gap: 18px;
}

/* MMM Theme 0.7.0 — public home/login + logged-in dashboard */
.mmm-home-intro {
	max-width: 760px;
	margin-bottom: var(--wp--preset--spacing--40);
}

.mmm-brand-summary {
	max-width: 760px;
	margin: 0 0 var(--wp--preset--spacing--50);
	font-size: var(--wp--preset--font-size--medium, 1.125rem);
	line-height: 1.6;
}

.mmm-login-area {
	max-width: 620px;
	margin-block: var(--wp--preset--spacing--40) var(--wp--preset--spacing--60);
}


.mmm-login-box {
	box-sizing: border-box;
	background: var(--wp--preset--color--surface-alt, #fff);
	color: var(--mmm-text-panel, var(--wp--preset--color--text, #1e1e1e));
	border: 1px solid color-mix(in srgb, currentColor 14%, transparent);
	border-radius: 10px;
	padding: 26px;
}

.mmm-login-box__eyebrow,
.mmm-home-dashboard__eyebrow {
	margin: 0 0 6px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--wp--preset--color--brand-primary, currentColor);
}

.mmm-login-box h2 {
	margin-top: 0;
}

.mmm-login-box label {
	display: block;
	font-size: var(--wp--preset--font-size--small, .875rem);
	font-weight: 600;
}

.mmm-login-box input[type="text"],
.mmm-login-box input[type="password"] {
	box-sizing: border-box;
	width: 100%;
	max-width: 460px;
	padding: 10px 12px;
	border: 1px solid color-mix(in srgb, currentColor 24%, transparent);
	border-radius: 5px;
	background: var(--mmm-surface-control, #fff);
	color: var(--mmm-text-control, #1e1e1e);
	color-scheme: var(--mmm-color-scheme-control, light);
}

.mmm-login-box .login-submit input {
	border: 0;
	border-radius: 5px;
	padding: 10px 16px;
	background: var(--mmm-button-background, var(--wp--preset--color--brand-primary, #244236));
	color: var(--mmm-button-text, #fff);
	font: inherit;
	font-weight: 700;
	cursor: pointer;
}

.mmm-home-dashboard__heading {
	margin-bottom: 14px;
}

.mmm-home-dashboard__heading h2 {
	margin: 0;
}

.mmm-home-dashboard__columns,
.mmm-home-dashboard__overview {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
}

.mmm-home-dashboard__column {
	box-sizing: border-box;
	min-height: 250px;
	padding: 22px;
	background: var(--wp--preset--color--surface-alt, #fff);
	border: 1px solid color-mix(in srgb, currentColor 12%, transparent);
	border-radius: 8px;
}

.mmm-home-dashboard__column-head {
	display: flex;
	align-items: baseline;
	gap: 10px;
	border-bottom: 1px solid color-mix(in srgb, currentColor 12%, transparent);
	padding-bottom: 12px;
	margin-bottom: 12px;
}

.mmm-home-dashboard__column-head span {
	font-size: 11px;
	font-weight: 700;
	color: var(--wp--preset--color--brand-primary, currentColor);
}

.mmm-home-dashboard__column-head h3 {
	margin: 0;
	font-size: var(--wp--preset--font-size--medium, 1.125rem);
}

.mmm-home-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.mmm-home-list li {
	padding: 8px 0;
	border-bottom: 1px solid color-mix(in srgb, currentColor 8%, transparent);
}

.mmm-home-list a,
.mmm-home-dashboard__more a,
.mmm-home-overview-card a {
	color: inherit;
	text-decoration: none;
}

.mmm-home-dashboard__more {
	margin: 14px 0 0;
	font-size: var(--mmm-type-small);
	font-weight: var(--mmm-type-label-weight);
	line-height: 1.4;
}

.mmm-home-dashboard__overview {
	margin-top: 12px;
}

.mmm-home-overview-card {
	box-sizing: border-box;
	padding: 18px 22px;
	border-top: 3px solid var(--wp--preset--color--brand-primary, currentColor);
	background: color-mix(in srgb, var(--wp--preset--color--surface-alt, #fff) 94%, var(--wp--preset--color--brand-primary, #244236));
	border-radius: 6px;
}

.mmm-home-overview-card__head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
}

.mmm-home-overview-card__head h3 {
	margin: 0;
}

.mmm-home-overview-card__head span {
	font-weight: 700;
	font-size: var(--wp--preset--font-size--small, .875rem);
}

.mmm-home-overview-card ul {
	margin: 12px 0;
	padding-left: 18px;
}

.mmm-home-overview-card__link {
	margin-bottom: 0;
	font-size: var(--wp--preset--font-size--small, .875rem);
	font-weight: 700;
}

@media (max-width: 900px) {
	.mmm-home-dashboard__columns,
	.mmm-home-dashboard__overview {
		grid-template-columns: 1fr;
	}

	.mmm-home-dashboard__column {
		min-height: 0;
	}
}


/* MMM Theme 0.7.1 — frontend user bar */
.mmm-topbar-inner {
	position: relative;
}
.mmm-topbar .wp-block-shortcode {
	margin: 0;
}
.mmm-userbar-actions {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 14px;
	font-size: 11px !important;
	line-height: 1.2 !important;
	white-space: nowrap;
}
.mmm-userbar-link,
.mmm-userbar-byline,
.mmm-userbar-switcher summary {
	color: #fff !important;
	font-size: 11px !important;
	font-weight: 600 !important;
	line-height: 1.2 !important;
	text-decoration: none !important;
}
.mmm-userbar-link {
	opacity: .82;
	transition: opacity .15s ease;
}
.mmm-userbar-link:hover {
	opacity: 1;
}
.mmm-userbar-switcher {
	position: relative;
}
.mmm-userbar-switcher summary {
	cursor: pointer;
	list-style: none;
	opacity: .95;
}
.mmm-userbar-switcher summary::-webkit-details-marker {
	display: none;
}
.mmm-userbar-switcher summary::after {
	content: " ↓";
	opacity: .6;
}
.mmm-userbar-menu {
	position: absolute;
	z-index: 1000;
	top: calc(100% + 10px);
	right: 0;
	min-width: 190px;
	padding: 6px;
	background: #252525;
	border-radius: 6px;
	box-shadow: 0 8px 24px rgba(0,0,0,.2);
}
.mmm-userbar-menu a {
	display: block;
	padding: 8px 10px;
	border-radius: 4px;
	color: #fff !important;
	font-size: 12px !important;
	text-decoration: none !important;
	opacity: .8;
}
.mmm-userbar-menu a:hover,
.mmm-userbar-menu a.is-current {
	background: rgba(255,255,255,.09);
	opacity: 1;
}
@media (max-width: 700px) {
	.mmm-userbar-actions {
		gap: 9px;
		flex-wrap: wrap;
	}
	.mmm-userbar-edit,
	.mmm-userbar-actions > .mmm-userbar-link:first-of-type {
		display: none;
	}
}


/* MMM Theme 0.7.2 — userbar render fix */
.mmm-userbar-slot {
	display:flex;
	align-items:center;
	justify-content:flex-end;
	min-width:0;
	margin-left:auto;
}
.mmm-userbar-current-site {
	color:#fff !important;
	font-size:11px !important;
	font-weight:700 !important;
	line-height:1.2 !important;
	opacity:.95;
}


/* MMM Theme 0.8.0 — canonical shared header */
.mmm-header {
	margin: 0;
	padding: 0;
}

.mmm-header-top {
	box-sizing: border-box;
	width: 100%;
	min-height: 36px;
	margin: 0 !important;
	padding: 0 !important;
	background: rgba(0,0,0,.83) !important;
	color: #fff !important;
}

.mmm-header-top__inner {
	box-sizing: border-box;
	width: 100%;
	max-width: var(--wp--style--global--wide-size, 1160px);
	min-height: 36px;
	margin: 0 auto !important;
	padding: 0 !important;
	display: flex !important;
	align-items: center !important;
	justify-content: space-between !important;
	flex-wrap: nowrap !important;
	gap: 18px;
}

.mmm-header-top .wp-block-site-title,
.mmm-header-top .wp-block-site-title a {
	margin: 0 !important;
	padding: 0 !important;
	color: #fff !important;
	font-size: 11px !important;
	font-weight: 700 !important;
	line-height: 1 !important;
	text-transform: uppercase;
	text-decoration: none !important;
	white-space: nowrap;
}

.mmm-header-top .mmm-userbar-slot {
	margin: 0 0 0 auto !important;
	padding: 0 !important;
}

.mmm-header-top .mmm-userbar-actions {
	display: flex !important;
	align-items: center !important;
	justify-content: flex-end !important;
	flex-wrap: nowrap !important;
	gap: 14px !important;
	margin: 0 !important;
	padding: 0 !important;
}

.mmm-header-top .mmm-userbar-actions > * {
	margin: 0 !important;
	padding: 0 !important;
}

.mmm-header-top .mmm-userbar-link,
.mmm-header-top .mmm-userbar-current-site,
.mmm-header-top .mmm-userbar-switcher > summary,
.mmm-header-top .mmm-userbar-byline {
	display: inline-flex !important;
	align-items: center !important;
	margin: 0 !important;
	padding: 0 !important;
	color: #fff !important;
	font-size: 11px !important;
	font-weight: 600 !important;
	line-height: 1 !important;
	text-decoration: none !important;
	white-space: nowrap;
}

.mmm-header-top .mmm-userbar-link {
	opacity: .82;
	transition: opacity .15s ease;
}
.mmm-header-top .mmm-userbar-link:hover {
	opacity: 1;
}

.mmm-header-top .mmm-userbar-switcher {
	position: relative;
	margin: 0 !important;
	padding: 0 !important;
}

.mmm-header-top .mmm-userbar-switcher > summary {
	cursor: pointer;
	list-style: none;
}
.mmm-header-top .mmm-userbar-switcher > summary::-webkit-details-marker {
	display: none;
}
.mmm-header-top .mmm-userbar-switcher > summary::after {
	content: " ↓";
	margin-left: 3px;
	opacity: .6;
}

.mmm-header-top .mmm-userbar-menu {
	position: absolute;
	z-index: 1000;
	top: calc(100% + 10px);
	right: 0;
	min-width: 190px;
	margin: 0 !important;
	padding: 6px;
	background: #252525;
	border-radius: 6px;
	box-shadow: 0 8px 24px rgba(0,0,0,.2);
}

.mmm-header-top .mmm-userbar-menu a {
	display: block;
	margin: 0 !important;
	padding: 8px 10px !important;
	border-radius: 4px;
	color: #fff !important;
	font-size: 12px !important;
	line-height: 1.2 !important;
	text-decoration: none !important;
	opacity: .8;
}
.mmm-header-top .mmm-userbar-menu a:hover,
.mmm-header-top .mmm-userbar-menu a.is-current {
	background: rgba(255,255,255,.09);
	opacity: 1;
}

@media (max-width: 782px) {
	.mmm-header-top__inner {
		min-height: 36px;
		padding: 7px 0 !important;
		flex-wrap: wrap !important;
	}
	.mmm-header-top .mmm-userbar-actions {
		flex-wrap: wrap !important;
		gap: 8px 10px !important;
	}
}


/* MMM Theme 0.8.1 — canonical font preset values
   Exact values, no fluid interpolation. !important prevents stale per-site
   Global Styles variables from producing different font sizes on the frontend. */
:root {
	--wp--preset--font-size--small: var(--mmm-type-small, 13px) !important;
	--wp--preset--font-size--medium: var(--mmm-type-body, 16px) !important;
	--wp--preset--font-size--large: var(--mmm-type-preset-large, 28px) !important;
	--wp--preset--font-size--x-large: var(--mmm-type-preset-x-large, 36px) !important;
}


/* MMM Theme 0.9.0 — basic frontend Strategy workspace */
.mmm-workspace {
	display: grid;
	gap: var(--mmm-workspace-gap, 24px);
}

.mmm-workspace__head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 24px;
}

.mmm-workspace__head h1 {
	margin: 0;
}

.mmm-workspace__eyebrow,
.mmm-workspace__breadcrumb {
	margin: 0 0 6px;
	font-size: var(--wp--preset--font-size--small);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .05em;
	color: var(--mmm-text-body-muted, currentColor);
	opacity: 1;
}
.mmm-card-shell .mmm-workspace__eyebrow,
.mmm-card-shell .mmm-workspace__breadcrumb {
	color: var(--mmm-text-card-muted, var(--mmm-text-card, currentColor));
}



.mmm-workspace__button--secondary {
	border: 1px solid color-mix(in srgb, currentColor 20%, transparent);
	background: transparent;
	color: var(--mmm-button-background, var(--wp--preset--color--brand-primary, #222)) !important;
}

.mmm-panel,
.mmm-state--empty {
	box-sizing: border-box;
	padding: var(--mmm-card-padding, 18px);
	border: 1px solid color-mix(in srgb, currentColor 14%, transparent);
	border-radius: var(--mmm-card-radius, 8px);
	background: var(--mmm-surface-panel, var(--wp--preset--color--surface, #f5f6f7));
	color: var(--mmm-text-panel, var(--wp--preset--color--text, #1e1e1e));
}

.mmm-panel--elevated {
	background: var(--mmm-surface-elevated, var(--wp--preset--color--surface-alt, #fff));
	color: var(--mmm-text-elevated, var(--wp--preset--color--text, #1e1e1e));
	box-shadow: 0 24px 70px rgba(0,0,0,.22);
}

.mmm-data-view {
	min-width: 0;
}

.mmm-workspace__empty {
	max-width: 680px;
}

.mmm-workspace__picker-head {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 20px;
}

.mmm-workspace__picker-group {
	margin-top: 24px;
}

.mmm-workspace__picker-section {
	margin-top: 14px;
}

.mmm-workspace__picker-section h4 {
	margin-bottom: 8px;
}

.mmm-workspace__choices {
	display: grid;
	grid-template-columns: repeat(auto-fit,minmax(210px,1fr));
	gap: 8px;
}

.mmm-workspace__choice {
	display: flex;
	flex-direction: column;
	gap: 3px;
	padding: 12px 14px;
	border: 1px solid color-mix(in srgb, currentColor 15%, transparent);
	border-radius: 7px;
	color: inherit;
	text-decoration: none;
}

.mmm-workspace__choice:hover {
	border-color: var(--wp--preset--color--brand-primary, currentColor);
}

.mmm-workspace__choice span {
	font-size: var(--wp--preset--font-size--small);
	opacity: .62;
}

.mmm-workspace__choice.is-filled {
	background: var(--wp--preset--color--brand-soft, #f1f4f3);
}

.mmm-workspace__group {
	margin-top: 10px;
}

.mmm-workspace__section {
	margin-top: 16px;
}

.mmm-workspace__section > h3 {
	margin-bottom: 8px;
	font-size: var(--wp--preset--font-size--medium);
}

.mmm-workspace__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit,minmax(230px,1fr));
	gap: var(--mmm-card-gap, 10px);
}

.mmm-workspace__card {
	padding: var(--mmm-card-padding, 18px);
	border-radius: var(--mmm-card-radius, 8px);
	background: var(--mmm-surface-card, var(--wp--preset--color--surface-alt, #fff));
	color: var(--mmm-text-card, var(--wp--preset--color--text, #1e1e1e));
	border: 1px solid color-mix(in srgb, currentColor 12%, transparent);
}

.mmm-workspace__card h4,
.mmm-workspace__card p {
	margin-top: 0;
}

.mmm-workspace__card a {
	color: inherit;
}
.mmm-workspace__back {
	color: inherit;
	font-size: var(--mmm-type-small);
	font-weight: var(--mmm-type-label-weight);
}

.mmm-workspace__success {
	padding: 10px 14px;
	border-radius: 6px;
	background: var(--wp--preset--color--brand-soft, #eef3f1);
}

.mmm-workspace-form .acf-form-submit {
	margin-top: 18px;
}

.mmm-workspace-form .acf-button,
.mmm-workspace-form input[type="submit"] {
	border: 0;
	border-radius: var(--mmm-button-radius, 6px);
	padding: var(--mmm-button-padding-y, 10px) var(--mmm-button-padding-x, 14px);
	background: var(--mmm-button-background, var(--wp--preset--color--brand-primary, #222));
	color: var(--mmm-button-text, #fff);
	font-weight: 700;
	cursor: pointer;
}

@media (max-width: 700px) {
	.mmm-workspace__head {
		display: grid;
	}
}


/* MMM Theme 0.9.1 — Strategy subpage workspace additions */
.mmm-workspace__subnav {
	display: grid;
	grid-template-columns: repeat(auto-fit,minmax(200px,1fr));
	gap: var(--mmm-card-gap, 10px);
}

.mmm-workspace__subnav-card {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: var(--mmm-card-padding, 18px);
	border-radius: var(--mmm-card-radius, 8px);
	border: 1px solid color-mix(in srgb, currentColor 12%, transparent);
	background: var(--wp--preset--color--surface-alt, #fff);
	color: inherit;
	text-decoration: none;
}

.mmm-workspace__subnav-card:hover {
	border-color: var(--wp--preset--color--brand-primary, currentColor);
}

.mmm-workspace__subnav-card span {
	font-size: var(--wp--preset--font-size--small);
	opacity: .65;
}

.mmm-workspace__eyebrow a {
	color: inherit;
	text-decoration: none;
}

.mmm-workspace__notice {
	padding: 18px;
	border-radius: 8px;
	border: 1px solid color-mix(in srgb, currentColor 12%, transparent);
	background: var(--wp--preset--color--surface-alt, #fff);
}


/* MMM Theme 0.9.2 — collection/object workspace */
.mmm-workspace__grid--objects {
	grid-template-columns: repeat(auto-fit,minmax(260px,1fr));
}

.mmm-workspace__object-card h2 {
	margin-top: 0;
	font-size: var(--wp--preset--font-size--medium);
}

.mmm-workspace__object-card h2 a {
	color: inherit;
	text-decoration: none;
}

.mmm-workspace__progress {
	font-size: var(--wp--preset--font-size--small);
	opacity: .65;
}

.mmm-workspace__label {
	display: grid;
	gap: 6px;
	font-weight: 700;
}

.mmm-workspace__label input {
	box-sizing: border-box;
	width: 100%;
	max-width: 560px;
}

.mmm-workspace__form-actions {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-top: 16px;
}

.mmm-workspace--object .mmm-workspace__section > h2 {
	font-size: var(--wp--preset--font-size--medium);
	margin-bottom: 10px;
}


/* MMM Theme 0.9.3 — Aanbod gegroepeerd per productgroep */
.mmm-workspace__offering-groups {
	display: grid;
	gap: 24px;
}

.mmm-workspace__offering-group {
	padding: 18px;
	border: 1px solid color-mix(in srgb,currentColor 12%,transparent);
	border-radius: 10px;
}

.mmm-workspace__offering-group-head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 14px;
}

.mmm-workspace__offering-group-head h2,
.mmm-workspace__offering-group-head p {
	margin-top: 0;
}

.mmm-workspace__offering-group-head > span,
.mmm-workspace__muted {
	font-size: var(--wp--preset--font-size--small);
	color: var(--mmm-text-body-muted, currentColor);
	opacity: 1;
}
.mmm-card-shell .mmm-workspace__muted {
	color: var(--mmm-text-card-muted, var(--mmm-text-card, currentColor));
}

.mmm-workspace__offering-group-description {
	margin-bottom: 16px;
}

.mmm-workspace__offering-group--ungrouped {
	border-style: dashed;
}


/* MMM Theme 0.9.4 — frontend action bar */
.mmm-workspace__actionbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 9px 10px;
	border: 1px solid color-mix(in srgb,currentColor 12%,transparent);
	border-radius: 8px;
	background: color-mix(
		in srgb,
		var(--wp--preset--color--surface-alt, #fff) 96%,
		var(--wp--preset--color--brand-primary, #222)
	);
}

.mmm-workspace__actionbar-main,
.mmm-workspace__actionbar-danger {
	display: flex;
	align-items: center;
	gap: 8px;
}

.mmm-workspace__actionbar form {
	margin: 0;
}

.mmm-workspace__action {
	display: inline-flex;
	align-items: center;
	min-height: 34px;
	padding: 7px 10px;
	border: 0;
	border-radius: 5px;
	background: transparent;
	color: inherit;
	font: inherit;
	font-size: var(--wp--preset--font-size--small);
	font-weight: 700;
	line-height: 1;
	text-decoration: none;
	cursor: pointer;
	transition: background-color .15s ease, opacity .15s ease;
}

.mmm-workspace__action:hover {
	background: color-mix(in srgb,currentColor 7%,transparent);
}

.mmm-workspace__action--primary {
	background: var(--mmm-button-background, var(--wp--preset--color--brand-primary, #222));
	color: var(--mmm-button-text, #fff) !important;
}

.mmm-workspace__action--primary:hover {
	opacity: .88;
}

.mmm-workspace__action--danger {
	opacity: .6;
}

.mmm-workspace__action--danger:hover {
	background: rgba(160,0,0,.08);
	color: #8b0000;
	opacity: 1;
}

.mmm-workspace__card-action {
	display: inline-flex;
	align-items: center;
	margin-top: 6px;
	padding: 6px 9px;
	border-radius: 5px;
	background: color-mix(in srgb,currentColor 6%,transparent);
	color: inherit;
	font-size: var(--wp--preset--font-size--small);
	font-weight: 700;
	text-decoration: none;
}

.mmm-workspace__card-action:hover {
	background: color-mix(in srgb,currentColor 10%,transparent);
}

@media (max-width: 700px) {
	.mmm-workspace__actionbar {
		align-items: stretch;
		flex-direction: column;
	}
	.mmm-workspace__actionbar-main,
	.mmm-workspace__actionbar-danger,
	.mmm-workspace__actionbar form,
	.mmm-workspace__action {
		width: 100%;
	}
	.mmm-workspace__action {
		justify-content: center;
	}
}


/* MMM Theme 0.9.5 — action band per module */
.mmm-workspace__card {
	overflow: hidden;
}

.mmm-workspace__modulebar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--mmm-utility-gap, 8px);
	margin: 14px calc(var(--mmm-card-padding, 18px) * -1) calc(var(--mmm-card-padding, 18px) * -1);
	padding: 8px 10px;
	border-radius: 0 0 var(--mmm-utility-radius, 0px) var(--mmm-utility-radius, 0px);
	border-top: 1px solid color-mix(in srgb,currentColor 10%,transparent);
	background: color-mix(in srgb,currentColor 4%,transparent);
}

.mmm-workspace__modulebar form {
	margin: 0;
}

.mmm-workspace__modulebar-edit,
.mmm-workspace__modulebar-delete {
	display: inline-flex;
	align-items: center;
	min-height: 28px;
	margin: 0;
	padding: 5px 7px;
	border: 0;
	border-radius: 4px;
	background: transparent;
	color: inherit;
	font: inherit;
	font-size: var(--wp--preset--font-size--small);
	font-weight: 700;
	line-height: 1;
	text-decoration: none;
	cursor: pointer;
	transition: background-color .15s ease, opacity .15s ease;
}

.mmm-workspace__modulebar-edit:hover {
	background: color-mix(in srgb,currentColor 7%,transparent);
}

.mmm-workspace__modulebar-delete {
	opacity: .5;
}

.mmm-workspace__modulebar-delete:hover {
	background: rgba(160,0,0,.08);
	color: #8b0000;
	opacity: 1;
}


/* MMM Theme 0.9.6 — consistent interaction language
   Primary page actions are buttons; module controls live in subdued utility bars. */
.mmm-workspace__page-actions {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.mmm-workspace__page-delete {
	margin: 0;
}

.mmm-workspace__page-delete button {
	appearance: none;
	border: 0;
	background: transparent;
	padding: 7px 4px;
	color: inherit;
	font: inherit;
	font-size: var(--wp--preset--font-size--small);
	font-weight: 600;
	opacity: .45;
	cursor: pointer;
	transition: opacity .15s ease, color .15s ease;
}

.mmm-workspace__page-delete button:hover {
	color: #8b0000;
	opacity: .9;
}

/* Module utility bar: same quiet system feel as the top userbar,
   but slightly roomier for content-level interaction. */
.mmm-workspace__modulebar {
	margin: 14px -18px -18px;
	padding: 8px 11px;
	border-top: 0;
	background: rgba(0,0,0,.055);
}

.mmm-workspace__modulebar-edit,
.mmm-workspace__modulebar-delete {
	min-height: 30px;
	padding: 6px 8px;
	font-size: var(--wp--preset--font-size--small);
	font-weight: 600;
	opacity: .68;
}

.mmm-workspace__modulebar-edit:hover,
.mmm-workspace__modulebar-delete:hover {
	opacity: 1;
}

.mmm-workspace__modulebar-edit:hover {
	background: rgba(0,0,0,.05);
}

.mmm-workspace__modulebar-delete:hover {
	background: rgba(160,0,0,.07);
	color: #8b0000;
}

/* Old object-level actionbar is no longer part of the UI language. */
.mmm-workspace__actionbar {
	display: none !important;
}

@media (max-width: 700px) {
	.mmm-workspace__page-actions {
		align-items: flex-start;
		flex-direction: column;
	}
}


/* MMM Theme 0.9.7 — same utility bar language on CPT collection cards */
.mmm-workspace__object-card {
	overflow: hidden;
}

.mmm-workspace__object-card .mmm-workspace__modulebar--object {
	margin-top: 16px;
}

/* Collection cards can have slightly more breathing room than field modules,
   while keeping the same subdued utility language. */
.mmm-workspace__modulebar--object {
	padding-top: 9px;
	padding-bottom: 9px;
	background: color-mix(in srgb,currentColor 5%,transparent);
}

.mmm-workspace__modulebar--object .mmm-workspace__modulebar-edit {
	opacity: .72;
}

.mmm-workspace__modulebar--object .mmm-workspace__modulebar-edit:hover {
	opacity: 1;
}


/* MMM Theme 0.9.8 — CPT collection cards: a little more presence */
.mmm-workspace__object-card {
	display: flex;
	flex-direction: column;
	min-height: 190px;
	padding-top: 20px;
	background: var(--mmm-surface-card, var(--wp--preset--color--surface-alt, #fff));
	color: var(--mmm-text-card, var(--wp--preset--color--text, #1e1e1e));
	border-color: color-mix(in srgb,currentColor 14%,transparent);
	box-shadow: 0 1px 0 rgba(0,0,0,.025);
	transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}

.mmm-workspace__object-card:hover {
	border-color: color-mix(in srgb,currentColor 22%,transparent);
	box-shadow: 0 4px 14px rgba(0,0,0,.045);
	transform: translateY(-1px);
}

.mmm-workspace__object-card h3 {
	margin: 0 0 8px;
	font-size: clamp(19px, 1.5vw, 22px);
	line-height: 1.2;
}

.mmm-workspace__object-card h3 a {
	color: inherit;
	text-decoration: none;
}

.mmm-workspace__object-card .mmm-workspace__progress {
	display: inline-flex;
	align-self: flex-start;
	margin: 0 0 16px;
	padding: 4px 7px;
	border-radius: 999px;
	background: color-mix(in srgb,currentColor 5%,transparent);
	font-size: var(--wp--preset--font-size--small);
	line-height: 1.2;
	opacity: .72;
}

.mmm-workspace__object-card .mmm-workspace__modulebar--object {
	margin-top: auto;
}


/* MMM Theme 0.9.9 — compact CPT cards, stronger title
   Override 0.9.8: less space, more hierarchy. */
.mmm-workspace__object-card {
	min-height: 0;
	padding-top: 14px;
}

.mmm-workspace__object-card h2,
.mmm-workspace__object-card h3 {
	margin: 0 0 5px;
	font-size: 24px;
	line-height: 1.12;
	font-weight: 700;
}

.mmm-workspace__object-card .mmm-workspace__progress {
	margin: 0 0 8px;
	padding: 3px 6px;
}

.mmm-workspace__object-card .mmm-workspace__modulebar--object {
	margin-top: 8px;
}


/* MMM Theme 0.10.0 — central UI System token bridge */
.wp-element-button,
.wp-block-button__link {
	border-radius: var(--mmm-button-radius, 6px);
	padding: var(--mmm-button-padding-y, 10px) var(--mmm-button-padding-x, 14px);
}


/* MMM Theme 0.10.1 — frontend Brand Settings */
.mmm-brand-frontend__form {
	display: grid;
	gap: var(--mmm-workspace-gap, 24px);
}

/* Brand Settings participates in the shared Presentation Grid / Card Shell.
 * Only page-specific form internals remain local to this workspace. */
.mmm-brand-frontend__section {
	min-width: 0;
}

.mmm-brand-frontend__section .mmm-card-shell__title {
	margin-top: 0;
}

.mmm-brand-frontend__field {
	display: grid;
	gap: 6px;
	max-width: 680px;
	margin: 0 0 18px;
	font-weight: 700;
}

.mmm-brand-frontend__field:last-child {
	margin-bottom: 0;
}

.mmm-brand-frontend__field input[type="text"],
.mmm-brand-frontend__field input[type="file"],
.mmm-brand-frontend__field textarea,
.mmm-brand-frontend__color input[type="text"] {
	box-sizing: border-box;
	width: 100%;
	padding: 10px 12px;
	border: 1px solid color-mix(in srgb,currentColor 20%,transparent);
	border-radius: var(--mmm-button-radius, 6px);
	background: #fff;
	color: inherit;
	font: inherit;
}

.mmm-brand-frontend__field small {
	font-weight: 400;
	opacity: .62;
}

.mmm-brand-frontend__media-grid,
.mmm-brand-frontend__colors {
	display: grid;
	grid-template-columns: repeat(auto-fit,minmax(240px,1fr));
	gap: var(--mmm-card-gap, 10px);
}

.mmm-brand-frontend__media {
	padding: 16px;
	border: 1px solid color-mix(in srgb,currentColor 10%,transparent);
	border-radius: var(--mmm-card-radius, 8px);
}

.mmm-brand-frontend__media h3 {
	margin-top: 0;
}

.mmm-brand-frontend__media-preview {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 120px;
	margin-bottom: 16px;
	padding: 14px;
	border: 1px dashed color-mix(in srgb,currentColor 20%,transparent);
	border-radius: var(--mmm-button-radius, 6px);
	background: color-mix(in srgb,currentColor 3%,transparent);
	text-align: center;
}

.mmm-brand-frontend__image {
	max-width: 100%;
	max-height: 100px;
	width: auto;
	height: auto;
}

.mmm-brand-frontend__media-preview--favicon {
	min-height: 88px;
}

.mmm-brand-frontend__favicon {
	width: 64px;
	height: 64px;
	object-fit: contain;
}

.mmm-brand-frontend__check {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: var(--wp--preset--font-size--small);
}

.mmm-brand-frontend__color {
	display: grid;
	gap: 7px;
	font-weight: 700;
}

.mmm-brand-frontend__color-control {
	display: grid;
	grid-template-columns: 52px 1fr;
	gap: 8px;
	align-items: center;
}

.mmm-brand-frontend__color input[type="color"] {
	box-sizing: border-box;
	width: 52px;
	height: 42px;
	padding: 2px;
	border: 1px solid color-mix(in srgb,currentColor 18%,transparent);
	border-radius: var(--mmm-button-radius, 6px);
	background: #fff;
}

.mmm-brand-frontend__actions {
	display: flex;
	justify-content: flex-start;
	grid-column: 1 / -1;
}

.mmm-brand-frontend button.mmm-workspace__button {
	appearance: none;
	border: 0;
	cursor: pointer;
	
	
}

@media (max-width: 700px) {
	.mmm-brand-frontend__media-grid,
	.mmm-brand-frontend__colors {
		grid-template-columns: 1fr;
	}
}


/* MMM Theme 0.10.2 — derived brand palette */
.mmm-workspace__modulebar--object {
	background: var(--wp--preset--color--brand-soft, #f3f5f4);
}

.mmm-workspace__success {
	background: var(--wp--preset--color--brand-soft, #eef3f1);
}

.mmm-workspace__choice.is-filled {
	background: var(--wp--preset--color--brand-soft, #f1f4f3);
}


/* MMM Theme 0.10.3 — derived palette preview in Brand Settings */
.mmm-brand-frontend__derived {
	margin-top: 22px;
	padding-top: 20px;
	border-top: 1px solid color-mix(in srgb,currentColor 10%,transparent);
}

.mmm-brand-frontend__derived-head h3 {
	margin: 0 0 5px;
}

.mmm-brand-frontend__derived-head p {
	margin: 0 0 12px;
	font-size: var(--wp--preset--font-size--small);
	opacity: .68;
}

.mmm-brand-frontend__derived-grid {
	display: grid;
	grid-template-columns: repeat(4,minmax(0,1fr));
	gap: var(--mmm-card-gap, 10px);
}

.mmm-brand-frontend__derived-swatch {
	box-sizing: border-box;
	min-height: 92px;
	padding: 12px;
	border: 1px solid color-mix(in srgb,currentColor 10%,transparent);
	border-radius: var(--mmm-card-radius, 8px);
	background: var(--mmm-derived-swatch);
	color: var(--mmm-derived-text, #1e1e1e);
}

.mmm-brand-frontend__derived-swatch span,
.mmm-brand-frontend__derived-swatch code {
	display: block;
	color: inherit;
}

.mmm-brand-frontend__derived-swatch span {
	font-weight: 700;
}

.mmm-brand-frontend__derived-swatch code {
	margin-top: 5px;
	font-size: 12px;
}

@media (max-width: 700px) {
	.mmm-brand-frontend__derived-grid {
		grid-template-columns: repeat(2,minmax(0,1fr));
	}
}


/* MMM Theme 0.10.4 — per-brand derived palette source */
.mmm-brand-frontend__source-choice {
	display: flex;
	flex-wrap: wrap;
	gap: var(--mmm-card-gap, 10px);
	margin: 12px 0 16px;
}

.mmm-brand-frontend__source-choice label {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 9px 12px;
	border: 1px solid color-mix(in srgb,currentColor 14%,transparent);
	border-radius: var(--mmm-button-radius, 6px);
	background: #fff;
	font-weight: 700;
	cursor: pointer;
}

.mmm-brand-frontend__source-choice input {
	margin: 0;
}


/* MMM Theme 0.10.5 — clickable module cards, help popovers, AI action, modal editing */
.mmm-workspace__card--clickable {
	cursor: pointer;
	transition: border-color .15s ease, transform .15s ease;
}

.mmm-workspace__card--clickable:focus-visible {
	outline: 2px solid var(--wp--preset--color--brand-primary, currentColor);
	outline-offset: 3px;
}

@media (hover:hover) and (pointer:fine) {
	.mmm-workspace__card--clickable:hover {
		border-color: color-mix(in srgb,var(--wp--preset--color--brand-primary, currentColor) 55%, transparent);
		transform: translateY(-1px);
	}
}

.mmm-workspace__modulebar {
	justify-content: flex-start;
	position: relative;
}

.mmm-workspace__modulebar form {
	margin-left: auto;
}

.mmm-workspace__modulehelp {
	position: relative;
	margin: 0;
}

.mmm-workspace__modulehelp summary {
	list-style: none;
}

.mmm-workspace__modulehelp summary::-webkit-details-marker {
	display: none;
}

.mmm-workspace__modulebar-icon,
.mmm-workspace__modulebar-ai,
.mmm-workspace__modulebar-edit,
.mmm-workspace__modulebar-delete {
	box-sizing: border-box;
	min-height: 32px;
}

.mmm-workspace__modulebar-icon,
.mmm-workspace__modulebar-ai {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin: 0;
	padding: 5px 8px;
	border: 0;
	border-radius: var(--mmm-button-radius, 6px);
	background: transparent;
	color: inherit;
	font: inherit;
	font-size: var(--wp--preset--font-size--small);
	font-weight: 700;
	line-height: 1;
	text-decoration: none;
	cursor: pointer;
}

.mmm-workspace__modulebar-icon {
	width: 32px;
	padding-inline: 0;
	border: 1px solid color-mix(in srgb,currentColor 16%,transparent);
	border-radius: 50%;
}

.mmm-workspace__modulebar-ai {
	background: var(--wp--preset--color--brand-soft, rgba(0,0,0,.04));
	color: var(--wp--preset--color--brand-primary, currentColor);
}

.mmm-workspace__modulebar-ai:hover,
.mmm-workspace__modulebar-icon:hover {
	background: color-mix(in srgb,var(--wp--preset--color--brand-primary, currentColor) 10%, transparent);
}

.mmm-workspace__modulehelp-popover {
	position: absolute;
	z-index: 30;
	left: 0;
	bottom: calc(100% + 9px);
	box-sizing: border-box;
	width: min(320px, calc(100vw - 48px));
	padding: var(--mmm-space-xs, 12px) var(--mmm-space-sm, 16px);
	border: 1px solid color-mix(in srgb,currentColor 14%,transparent);
	border-radius: var(--mmm-card-radius, 8px);
	background: var(--mmm-surface-elevated, var(--wp--preset--color--surface-alt, #fff));
	box-shadow: 0 10px 28px rgba(0,0,0,.14);
	color: var(--mmm-text-elevated, var(--wp--preset--color--text, #1e1e1e));
	font-size: var(--wp--preset--font-size--small);
	line-height: 1.45;
}

.mmm-workspace__modulehelp-popover strong {
	display: block;
	margin-bottom: 5px;
}

.mmm-workspace__modulehelp-popover p {
	margin: 0;
}

.mmm-module-dialog {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: grid;
	place-items: center;
	box-sizing: border-box;
	padding: var(--mmm-space-md, 24px);
	color: inherit;
}

.mmm-module-dialog__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(20,24,22,.52);
	backdrop-filter: blur(2px);
}

.mmm-module-dialog__panel {
	position: relative;
	z-index: 1;
	box-sizing: border-box;
	width: min(760px, calc(100vw - (2 * var(--mmm-space-md, 24px))));
	max-height: calc(100vh - (2 * var(--mmm-space-md, 24px)));
	overflow: auto;
	margin: 0;
}

.mmm-module-dialog__panel--wide {
	width: min(920px, calc(100vw - (2 * var(--mmm-space-md, 24px))));
}

html.mmm-has-module-dialog,
html.mmm-has-module-dialog body {
	overflow: hidden;
}

.select2-container--open,
.ui-datepicker,
.acf-tooltip,
.media-modal,
.media-modal-backdrop {
	z-index: 100100 !important;
}

.mmm-module-dialog__close {
	position: absolute;
	z-index: 2;
	top: var(--mmm-space-xs, 12px);
	right: var(--mmm-space-xs, 12px);
	font-size: 24px;
	font-weight: 400;
	line-height: 1;
	opacity: .68;
}

.mmm-module-dialog__close:hover {
	opacity: 1;
}

@media (max-width:700px) {
	.mmm-workspace__modulebar {
		flex-wrap: wrap;
	}

	.mmm-module-dialog {
		padding: 10px;
	}

	.mmm-module-dialog__panel {
		width: calc(100vw - 20px);
		max-height: calc(100vh - 20px);
	}
}


/* MMM Theme 0.10.6 — semantic utility icons */
.mmm-ui-icon {
	display: block;
	width: 17px;
	height: 17px;
	flex: 0 0 17px;
}

.mmm-workspace__utility-action {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
}

.mmm-ui-action-label--visually-hidden {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0,0,0,0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

.mmm-workspace__modulebar-icon .mmm-ui-icon {
	width: 16px;
	height: 16px;
}

.mmm-workspace__modulebar-delete .mmm-ui-icon {
	stroke-width: 2;
}

.mmm-workspace__modulebar-ai .mmm-ui-icon {
	width: 16px;
	height: 16px;
}

.mmm-workspace__modulebar .mmm-workspace__utility-action {
	min-width: 32px;
}

.mmm-workspace__modulebar .mmm-workspace__utility-action:focus-visible,
.mmm-workspace__modulebar-icon:focus-visible {
	outline: 2px solid var(--wp--preset--color--brand-primary, currentColor);
	outline-offset: 2px;
}


/* MMM Theme 0.10.7 — compact square icon utility bars */
.mmm-workspace__modulebar {
	justify-content: flex-end;
	gap: var(--mmm-utility-gap, 8px);
}

.mmm-workspace__modulebar form {
	margin: 0;
}

.mmm-workspace__modulehelp {
	margin: 0;
}

.mmm-workspace__modulebar-icon,
.mmm-workspace__modulebar .mmm-workspace__utility-action,
.mmm-workspace__modulebar-edit,
.mmm-workspace__modulebar-ai,
.mmm-workspace__modulebar-delete {
	box-sizing: border-box;
	width: 34px;
	min-width: 34px;
	height: 34px;
	min-height: 34px;
	padding: 0;
	border: 1px solid color-mix(in srgb,currentColor 14%,transparent);
	border-radius: 5px;
	background: color-mix(in srgb,currentColor 6%,transparent);
	color: inherit;
}

.mmm-workspace__modulebar-icon {
	border-radius: 5px;
}

.mmm-workspace__modulebar-ai {
	background: color-mix(in srgb,currentColor 8%,transparent);
	color: inherit;
}

.mmm-workspace__modulebar-edit,
.mmm-workspace__modulebar-delete {
	justify-content: center;
}

.mmm-workspace__modulebar-delete {
	opacity: .72;
}

.mmm-workspace__modulebar-icon:hover,
.mmm-workspace__modulebar-edit:hover,
.mmm-workspace__modulebar-ai:hover {
	background: color-mix(in srgb,currentColor 11%,transparent);
}

.mmm-workspace__modulebar-delete:hover {
	background: rgba(160,0,0,.07);
	color: #8b0000;
	opacity: 1;
}

.mmm-workspace__modulehelp-popover {
	left: auto;
	right: 0;
}

.mmm-workspace__modulebar .mmm-ui-icon {
	width: 17px;
	height: 17px;
}

@media (max-width:700px) {
	.mmm-workspace__modulebar {
		justify-content: flex-end;
		flex-wrap: wrap;
	}
}


/* MMM Theme 0.10.8 — help popovers may escape module/card bounds.
   Earlier card overflow:hidden was needed to clip the utility band to the
   card radius, but it also clipped the short-description popover. */
.mmm-workspace__card,
.mmm-workspace__object-card {
	overflow: visible;
}

.mmm-workspace__card {
	position: relative;
}

/* Keep the visual bottom corners on the utility band itself now that the
   parent no longer clips its descendants. */
.mmm-workspace__modulebar {
	border-radius: 0 0 var(--mmm-card-radius, 8px) var(--mmm-card-radius, 8px);
}

/* Popovers sit above neighbouring grid cards. */
.mmm-workspace__card:has(.mmm-workspace__modulehelp[open]) {
	z-index: 40;
}

.mmm-workspace__modulehelp[open] {
	z-index: 50;
}


/* MMM Theme 0.10.11 — PMC frontend create flow */
.mmm-pmc-creator__relations {
	display: grid;
	grid-template-columns: repeat(2,minmax(0,1fr));
	gap: var(--mmm-card-gap, 10px);
	margin: 18px 0;
}

.mmm-pmc-creator__relation {
	min-width: 0;
	margin: 0;
	padding: var(--mmm-card-padding, 18px);
	border: 1px solid color-mix(in srgb,currentColor 12%,transparent);
	border-radius: var(--mmm-card-radius, 8px);
	background: color-mix(in srgb, currentColor 2.5%, transparent);
	color: inherit;
}

.mmm-pmc-creator__relation legend {
	padding: 0 6px;
	font-weight: 700;
}

.mmm-pmc-creator__relation select,
.mmm-pmc-creator__relation input[type="text"] {
	box-sizing: border-box;
	width: 100%;
}

.mmm-pmc-creator__or {
	margin: 8px 0;
	font-size: var(--wp--preset--font-size--small);
	opacity: .6;
	text-align: center;
}

@media (max-width:700px) {
	.mmm-pmc-creator__relations {
		grid-template-columns: 1fr;
	}
}


/* MMM Theme 0.10.12 — Persona relation panel inside Doelgroep */
.mmm-workspace__relation-head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 18px;
}
.mmm-workspace__relation-head h2,
.mmm-workspace__relation-head p { margin-top: 0; }
.mmm-audience-personas { margin-bottom: var(--wp--preset--spacing--50, 2.5rem); }
@media (max-width: 700px) {
	.mmm-workspace__relation-head { display: block; }
	.mmm-workspace__relation-head .mmm-workspace__button { display: inline-block; margin-top: 10px; }
}


/* MMM Theme 0.11.0 — PMC + tactische doelstellingen */
.mmm-pmc-hub__columns {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(24px, 4vw, 48px);
	align-items: start;
}
.mmm-pmc-hub__column {
	min-width: 0;
}
.mmm-pmc-hub__section-head {
	margin-bottom: 16px;
}
.mmm-pmc-hub__section-head h2 {
	margin-bottom: 4px;
}
.mmm-pmc-hub__section-head p {
	margin-top: 0;
}
.mmm-pmc-hub__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}
@media (max-width: 860px) {
	.mmm-pmc-hub__columns {
		grid-template-columns: 1fr;
	}
}


/* MMM Theme 0.11.1 — related object links */
.mmm-workspace__relation-links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 8px;
}
.mmm-workspace__relation-link {
	display: inline;
	max-width: 100%;
	padding: 0;
	border: 0;
	border-radius: 0;
	text-decoration: none;
	line-height: 1.45;
}
.mmm-workspace__relation-link:hover,
.mmm-workspace__relation-link:focus-visible {
	text-decoration: underline;
}
.mmm-workspace__repeater-names {
	margin: 8px 0 0;
	padding-left: 1.15em;
}
.mmm-workspace__repeater-names li + li {
	margin-top: 3px;
}


/* MMM Theme 0.11.6 — Uitvoering activity filters */
.mmm-activity-filters {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: var(--mmm-layout-control-gap, 12px);
	align-items: end;
	margin: 0;
}
.mmm-activity-filters label {
	display: grid;
	gap: 6px;
	min-width: 0;
}
.mmm-activity-filters label > span {
	color: inherit;
	font-size: .82rem;
	font-weight: 600;
}
.mmm-activity-filters select,
.mmm-activity-filters input[type="date"] {
	box-sizing: border-box;
	width: 100%;
	min-height: 42px;
}
.mmm-activity-filters__actions {
	display: flex;
	gap: 12px;
	align-items: center;
	grid-column: 1 / -1;
}
@media (max-width: 900px) {
	.mmm-activity-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
	.mmm-activity-filters { grid-template-columns: 1fr; }
}


/* MMM Theme 0.11.8 — Home cockpit */
.mmm-home-dashboard__summaries,
.mmm-home-dashboard__work { display:grid; gap:12px; }
.mmm-home-dashboard__summaries { grid-template-columns:repeat(3,minmax(0,1fr)); margin-bottom:12px; }
.mmm-home-dashboard__work { grid-template-columns:repeat(2,minmax(0,1fr)); margin-top:12px; }
.mmm-home-summary-card__text { line-height:inherit; }
.mmm-home-summary-card__text > :last-child { margin-bottom:0; }
.mmm-home-goals,
.mmm-home-activities,
.mmm-home-attention-list { list-style:none; padding:0; margin:0; }
.mmm-home-goals li,
.mmm-home-activities li,
.mmm-home-attention-list li { border-bottom:1px solid color-mix(in srgb,currentColor 8%,transparent); }
.mmm-home-goals a,
.mmm-home-activities a,
.mmm-home-attention-list a { display:flex; justify-content:space-between; gap:14px; padding:10px 0; color:inherit; text-decoration:none; }
.mmm-home-goals small { font-weight:400; white-space:nowrap; }
.mmm-home-activities a > span { display:flex; align-items:center; gap:8px; }
.mmm-home-activities em { font-style:normal; font-size:11px; font-weight:700; padding:3px 6px; border-radius:999px; background:color-mix(in srgb,var(--wp--preset--color--brand-primary,#244236) 10%,transparent); }
.mmm-home-activities small { white-space:nowrap; }
.mmm-home-attention-ok { margin-bottom:0; }
@media (max-width:900px) {
 .mmm-home-dashboard__summaries,.mmm-home-dashboard__work { grid-template-columns:1fr; }
 .mmm-home-goals a,.mmm-home-activities a { align-items:flex-start; }
}


/* MMM Theme 0.11.10 — Strategy landing visual hierarchy */
.mmm-workspace__strategy-links {
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
	align-items: stretch;
}

.mmm-workspace__strategy-link-card {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	justify-content: flex-start;
	gap: 14px;
	min-width: 0;
	padding: 20px;
}

.mmm-workspace__strategy-link-card h3 {
	margin: 0;
	font-size: var(--mmm-card-title-size, var(--mmm-type-h3));
	line-height: var(--mmm-type-h3-line-height);
	font-weight: var(--mmm-card-title-weight, var(--mmm-type-heading-weight));
}

.mmm-workspace__strategy-link-card h3 a {
	color: inherit;
	font: inherit;
	text-decoration: none;
}

.mmm-workspace__strategy-link-items {
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.mmm-workspace__strategy-link-items li {
	margin: 0;
	padding: 0;
	list-style: none;
}

.mmm-workspace__strategy-link-items li::marker {
	content: "";
}

.mmm-workspace__strategy-link-items a {
	display: inline-flex;
	align-items: center;
	min-height: 30px;
	padding: 5px 9px;
	border: 1px solid color-mix(in srgb, currentColor 12%, transparent);
	border-radius: var(--mmm-button-radius, 6px);
	background: color-mix(in srgb, currentColor 7%, transparent);
	color: inherit;
	font-size: var(--mmm-type-small);
	font-weight: var(--mmm-type-label-weight);
	line-height: 1.4;
	text-decoration: none;
}

.mmm-workspace__strategy-link-items a:hover,
.mmm-workspace__strategy-link-items a:focus-visible {
	border-color: color-mix(in srgb, var(--wp--preset--color--brand-primary, currentColor) 35%, transparent);
	background: color-mix(in srgb, currentColor 12%, transparent);
}

.mmm-workspace__strategy-link-more {
	margin-top: auto;
	padding-top: 4px;
	font-size: var(--mmm-type-small);
	font-weight: var(--mmm-type-label-weight);
	line-height: 1.4;
	text-decoration: none;
	opacity: .72;
}

.mmm-workspace__strategy-link-more:hover,
.mmm-workspace__strategy-link-more:focus-visible {
	opacity: 1;
}

@media (max-width: 900px) {
	.mmm-workspace__strategy-links {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 600px) {
	.mmm-workspace__strategy-links {
		grid-template-columns: 1fr;
	}
}

/* MMM Theme 0.11.12 — Home uses the shared workspace tile language */
.mmm-home-dashboard__summaries {
	gap: 16px;
}
.mmm-home-summary-card .mmm-home-dashboard__more,
.mmm-home-dashboard__panel .mmm-home-dashboard__more,
.mmm-home-overview-card__link {
	margin-top: auto;
	padding-top: 4px;
}
.mmm-home-dashboard__panel .mmm-home-goals,
.mmm-home-dashboard__panel .mmm-home-activities,
.mmm-home-dashboard__panel .mmm-home-attention-list,
.mmm-home-overview-card ul {
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.mmm-home-dashboard__panel .mmm-home-goals li,
.mmm-home-dashboard__panel .mmm-home-activities li,
.mmm-home-dashboard__panel .mmm-home-attention-list li,
.mmm-home-overview-card li {
	margin: 0;
	padding: 0;
	border: 0;
	list-style: none;
}
.mmm-home-dashboard__panel .mmm-home-goals a,
.mmm-home-dashboard__panel .mmm-home-activities a,
.mmm-home-dashboard__panel .mmm-home-attention-list a,
.mmm-home-overview-card li a {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	min-height: 30px;
	padding: 5px 9px;
	border: 1px solid color-mix(in srgb, currentColor 12%, transparent);
	border-radius: var(--mmm-button-radius, 6px);
	background: color-mix(in srgb,currentColor 7%,transparent);
	color: inherit;
	/* Typography is owned by .mmm-workspace__strategy-link-items for navigation-card items. */
	text-decoration: none;
}
.mmm-home-dashboard__panel .mmm-home-goals a:hover,
.mmm-home-dashboard__panel .mmm-home-activities a:hover,
.mmm-home-dashboard__panel .mmm-home-attention-list a:hover,
.mmm-home-overview-card li a:hover {
	background: color-mix(in srgb,currentColor 12%,transparent);
}
.mmm-home-activities a > span {
	display: inline-flex;
	gap: 6px;
	align-items: center;
}


/* MMM Theme 0.11.13 — editable display title for generic summary cards */
.mmm-workspace__strategy-summary .mmm-workspace__summary-title-edit {
	display: inline-flex;
	margin: 8px 0 0;
	font-size: calc(1rem - 2px);
	font-weight: 600;
	text-decoration: none;
	opacity: .7;
}
.mmm-workspace__strategy-summary .mmm-workspace__summary-title-edit:hover,
.mmm-workspace__strategy-summary .mmm-workspace__summary-title-edit:focus-visible {
	opacity: 1;
}


/* MMM Theme 0.11.14 — card token controls content padding, utility band stays edge-to-edge.
   A legacy -18px modulebar margin overrode the configurable card-padding token. */
.mmm-workspace__card > .mmm-workspace__modulebar {
	margin-right: calc(var(--mmm-card-padding, 18px) * -1);
	margin-bottom: calc(var(--mmm-card-padding, 18px) * -1);
	margin-left: calc(var(--mmm-card-padding, 18px) * -1);
}

/* MMM Theme 0.11.15 — Strategy layout controls phase 1 */
.mmm-landing.mmm-workspace__strategy-links {
	grid-template-columns: repeat(6, minmax(0, 1fr));
}

.mmm-landing > [data-mmm-width="auto"],
.mmm-landing > [data-mmm-width="third"] {
	grid-column: span 2;
}
.mmm-landing > [data-mmm-width="half"] {
	grid-column: span 3;
}
.mmm-landing > [data-mmm-width="two-thirds"] {
	grid-column: span 4;
}
.mmm-landing > [data-mmm-width="full"] {
	grid-column: span 6;
}

.mmm-landing__layout-controls {
	display: flex;
	align-items: center;
	gap: 5px;
	margin-top: -4px;
}

.mmm-landing__layout-controls form {
	margin: 0;
}

.mmm-landing__layout-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	width: 28px;
	height: 28px;
	padding: 0;
	border: 1px solid color-mix(in srgb, currentColor 12%, transparent);
	border-radius: var(--mmm-button-radius, 6px);
	background: color-mix(in srgb, currentColor 3%, transparent);
	color: inherit;
	font: inherit;
	font-size: 15px;
	line-height: 1;
	cursor: pointer;
	opacity: .62;
}

.mmm-landing__layout-button:hover,
.mmm-landing__layout-button:focus-visible {
	background: color-mix(in srgb, var(--wp--preset--color--brand-primary, currentColor) 8%, transparent);
	opacity: 1;
}

@media (max-width: 900px) {
	.mmm-landing > [data-mmm-width] {
		grid-column: span 3;
	}
}

@media (max-width: 600px) {
	.mmm-landing > [data-mmm-width] {
		grid-column: 1 / -1;
	}
}


/* MMM Theme 0.11.16 — compact Strategy tile controls beside title */
.mmm-landing__tile-head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 10px;
}
.mmm-landing__tile-head h3 {
	flex: 1 1 auto;
	min-width: 0;
}
.mmm-landing__tile-head .mmm-landing__layout-controls {
	flex: 0 0 auto;
	margin: -2px 0 0;
	gap: 3px;
}
.mmm-landing__tile-head .mmm-landing__layout-button {
	width: 23px;
	height: 23px;
	border-radius: 5px;
	font-size: 12px;
}

/* MMM Theme 0.11.19 — Human Datamodel module order + width controls */
.mmm-workspace__grid--presentation {
	grid-template-columns: repeat(6, minmax(0, 1fr));
}

.mmm-workspace__grid--presentation > [data-mmm-width="auto"],
.mmm-workspace__grid--presentation > [data-mmm-width="third"] {
	grid-column: span 2;
}
.mmm-workspace__grid--presentation > [data-mmm-width="half"] {
	grid-column: span 3;
}
.mmm-workspace__grid--presentation > [data-mmm-width="two-thirds"] {
	grid-column: span 4;
}
.mmm-workspace__grid--presentation > [data-mmm-width="full"] {
	grid-column: span 6;
}

.mmm-workspace__card-head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 10px;
}

.mmm-workspace__card-head h3,
.mmm-workspace__card-head h4 {
	flex: 1 1 auto;
	min-width: 0;
	margin-top: 0;
}

.mmm-workspace__card-head .mmm-workspace__layout-controls {
	flex: 0 0 auto;
	margin: -2px 0 0;
	gap: 3px;
}

.mmm-workspace__card-head .mmm-landing__layout-button {
	width: 23px;
	height: 23px;
	border-radius: 5px;
	font-size: 12px;
}

@media (max-width: 900px) {
	.mmm-workspace__grid--presentation > [data-mmm-width] {
		grid-column: span 3;
	}
}

@media (max-width: 600px) {
	.mmm-workspace__grid--presentation > [data-mmm-width] {
		grid-column: 1 / -1;
	}
}

/* MMM Theme 0.11.20 — companion release for verified module layout mutations; presentation CSS unchanged. */

/* MMM Theme 0.11.23 — Presentation phase 2
 * Home, landing tiles, summaries and Human Datamodel cards now share the
 * same authoritative 12-column contract. Legacy component CSS may style
 * internals, but may no longer determine presentation width/order.
 */
.mmm-presentation-grid {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	gap: var(--mmm-presentation-gap, var(--mmm-layout-section-gap, var(--mmm-workspace-gap, 24px)));
	align-items: stretch;
}

.mmm-presentation-grid > [data-mmm-presentation-item] {
	grid-column: span var(--mmm-grid-span, 4);
	order: var(--mmm-grid-order, 100);
	min-width: 0;
	box-sizing: border-box;
}

/* Semantic fallbacks are intentionally equally central for every renderer. */
.mmm-presentation-grid > [data-mmm-presentation-item][data-mmm-width="quarter"] { grid-column: span 3; }
.mmm-presentation-grid > [data-mmm-presentation-item][data-mmm-width="third"],
.mmm-presentation-grid > [data-mmm-presentation-item][data-mmm-width="auto"] { grid-column: span 4; }
.mmm-presentation-grid > [data-mmm-presentation-item][data-mmm-width="half"] { grid-column: span 6; }
.mmm-presentation-grid > [data-mmm-presentation-item][data-mmm-width="two-thirds"] { grid-column: span 8; }
.mmm-presentation-grid > [data-mmm-presentation-item][data-mmm-width="full"] { grid-column: span 12; }

/* Landing used to be its own grid family. As a presentation grid it now only
 * contributes landing-specific card styling, not layout geometry. */
.mmm-landing.mmm-presentation-grid {
	grid-template-columns: repeat(12, minmax(0, 1fr));
}

/* Existing component internals fill their central presentation wrapper. */
.mmm-home-dashboard__presentation > [data-mmm-presentation-item],
.mmm-landing.mmm-presentation-grid > [data-mmm-presentation-item],
.mmm-workspace__grid.mmm-presentation-grid > [data-mmm-presentation-item] {
	height: 100%;
}

@media (max-width: 900px) {
	.mmm-presentation-grid > [data-mmm-presentation-item] {
		grid-column: span 6;
	}
	.mmm-presentation-grid > [data-mmm-presentation-item][data-mmm-width="full"] {
		grid-column: span 12;
	}
}

@media (max-width: 600px) {
	.mmm-presentation-grid > [data-mmm-presentation-item] {
		grid-column: 1 / -1;
	}
}


/* MMM Theme 0.11.24 — Presentation phase 3
 * Collection/object cards now use the same central grid geometry.
 */
/* Legacy quiet-success suppression retired in 0.15.75.
 * Explicit frontend form submissions now use the semantic Feedback contract. */


/* MMM Theme 0.11.25 — Presentation phase 4
 * Specialist/nested grids use the same card contract but do not subdivide an
 * already narrow parent column. PMC and tactical-goal cards therefore fill
 * their local column.
 */
.mmm-presentation-grid.mmm-presentation-grid--nested > [data-mmm-presentation-item] {
	grid-column: 1 / -1;
}


/* MMM Theme 0.11.27 — Presentation spacing contract
 * MMM UI System remains the base token layer. Presentation size only supplies
 * a multiplier; every card internal consumes one derived effective spacing.
 */
.mmm-presentation-grid > [data-mmm-presentation-item] {
	--mmm-card-size-factor: 1;
	--mmm-card-effective-padding: calc(var(--mmm-card-padding, 18px) * var(--mmm-card-size-factor));
	--mmm-card-effective-gap: calc(var(--mmm-card-gap, 10px) * var(--mmm-card-size-factor));
	padding: var(--mmm-card-effective-padding);
}

.mmm-presentation-grid > [data-mmm-presentation-item][data-mmm-size="small"] {
	--mmm-card-size-factor: .75;
}
.mmm-presentation-grid > [data-mmm-presentation-item][data-mmm-size="medium"] {
	--mmm-card-size-factor: 1;
}
.mmm-presentation-grid > [data-mmm-presentation-item][data-mmm-size="large"] {
	--mmm-card-size-factor: 1.4;
}

/* Card internals use the same effective spacing as the card body. */
.mmm-presentation-grid > [data-mmm-presentation-item] .mmm-workspace__card-actions,
.mmm-presentation-grid > [data-mmm-presentation-item] .mmm-workspace__card-footer,
.mmm-presentation-grid > [data-mmm-presentation-item] .mmm-workspace__actionbar {
	--mmm-card-padding: var(--mmm-card-effective-padding);
	--mmm-card-gap: var(--mmm-card-effective-gap);
}

.mmm-presentation-media {
	margin:
		calc(-1 * var(--mmm-card-effective-padding, var(--mmm-card-padding, 18px)))
		calc(-1 * var(--mmm-card-effective-padding, var(--mmm-card-padding, 18px)))
		var(--mmm-card-effective-gap, var(--mmm-card-gap, 10px));
	overflow: hidden;
	border-radius: inherit;
	border-bottom-left-radius: 0;
	border-bottom-right-radius: 0;
}
.mmm-presentation-media__image {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 9;
	object-fit: cover;
}
.mmm-presentation-media--poster .mmm-presentation-media__image {
	aspect-ratio: 3 / 2;
}

/* MMM Theme 0.11.31 — native MMM poster upload */
.mmm-presentation-upload-button {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	overflow: hidden;
	box-sizing: border-box;
}
.mmm-presentation-upload-input {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	opacity: 0 !important;
	pointer-events: none;
}
.mmm-presentation-upload-button:focus-within {
	outline: 2px solid currentColor;
	outline-offset: 2px;
}


/* MMM Theme 0.11.32 — poster position: Top or Links */
.mmm-presentation-grid > .mmm-workspace__card[data-mmm-image-mode="poster"][data-mmm-image-position="left"] {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	grid-auto-flow: row;
	column-gap: var(--mmm-card-effective-padding, var(--mmm-card-padding, 18px));
	align-content: stretch;
}
.mmm-presentation-grid > .mmm-workspace__card[data-mmm-image-mode="poster"][data-mmm-image-position="left"] > .mmm-presentation-media--left {
	grid-column: 1;
	grid-row: 1 / span 20;
	align-self: stretch;
	min-height: calc(100% + (2 * var(--mmm-card-effective-padding, var(--mmm-card-padding, 18px))));
	height: auto;
	margin:
		calc(-1 * var(--mmm-card-effective-padding, var(--mmm-card-padding, 18px)))
		0
		calc(-1 * var(--mmm-card-effective-padding, var(--mmm-card-padding, 18px)))
		calc(-1 * var(--mmm-card-effective-padding, var(--mmm-card-padding, 18px)));
	border-radius: inherit;
	border-top-right-radius: 0;
	border-bottom-right-radius: 0;
}
.mmm-presentation-grid > .mmm-workspace__card[data-mmm-image-mode="poster"][data-mmm-image-position="left"] > .mmm-presentation-media--left .mmm-presentation-media__image {
	width: 100%;
	height: 100%;
	min-height: 100%;
	aspect-ratio: auto;
	object-fit: cover;
}
.mmm-presentation-grid > .mmm-workspace__card[data-mmm-image-mode="poster"][data-mmm-image-position="left"] > :not(.mmm-presentation-media) {
	grid-column: 2;
	min-width: 0;
}

/* On narrow screens a left poster becomes the already proven Top layout. */
@media (max-width: 700px) {
	.mmm-presentation-grid > .mmm-workspace__card[data-mmm-image-mode="poster"][data-mmm-image-position="left"] {
		display: block;
	}
	.mmm-presentation-grid > .mmm-workspace__card[data-mmm-image-mode="poster"][data-mmm-image-position="left"] > .mmm-presentation-media--left {
		min-height: 0;
		height: auto;
		margin:
			calc(-1 * var(--mmm-card-effective-padding, var(--mmm-card-padding, 18px)))
			calc(-1 * var(--mmm-card-effective-padding, var(--mmm-card-padding, 18px)))
			var(--mmm-card-effective-gap, var(--mmm-card-gap, 10px));
		border-radius: inherit;
		border-bottom-left-radius: 0;
		border-bottom-right-radius: 0;
	}
	.mmm-presentation-grid > .mmm-workspace__card[data-mmm-image-mode="poster"][data-mmm-image-position="left"] > .mmm-presentation-media--left .mmm-presentation-media__image {
		height: auto;
		aspect-ratio: 16 / 7;
	}
}


/* MMM Theme 0.11.33 — unified card toolbar */
.mmm-workspace__card-head {
	position: relative;
	padding-right: 42px;
}
.mmm-workspace__modulehelp--head {
	position: absolute;
	top: 0;
	right: 0;
	z-index: 4;
}
.mmm-workspace__modulehelp--head > summary {
	list-style: none;
}
.mmm-workspace__modulehelp--head > summary::-webkit-details-marker { display:none; }

/* All mutable card utilities now share the existing bottom bar. */
.mmm-workspace__modulebar--manager {
	display:flex;
	align-items:center;
	justify-content:flex-end;
	gap:8px;
	flex-wrap:wrap;
}
.mmm-workspace__modulebar--manager .mmm-workspace__layout-controls,
.mmm-workspace__modulebar--manager .mmm-landing__layout-controls {
	position:static !important;
	inset:auto !important;
	margin:0 auto 0 0 !important;
	padding:0 !important;
	background:transparent !important;
	display:inline-flex;
	align-items:center;
	gap:4px;
	z-index:auto;
}
.mmm-workspace__modulebar--manager form { margin:0; }


/* MMM Theme 0.11.34 — compact manager toolbar
 * Only the bottom mutable manager toolbar is reduced. The title help control
 * remains at its existing size and placement for all roles.
 */
.mmm-workspace__modulebar--manager {
	gap: 6px;
}
.mmm-workspace__modulebar--manager .mmm-workspace__layout-controls,
.mmm-workspace__modulebar--manager .mmm-landing__layout-controls {
	gap: 3px;
}
.mmm-workspace__modulebar--manager .mmm-workspace__utility-action,
.mmm-workspace__modulebar--manager .mmm-landing__layout-button,
.mmm-workspace__modulebar--manager button,
.mmm-workspace__modulebar--manager a {
	min-width: 28px;
	min-height: 28px;
	width: 28px;
	height: 28px;
	padding: 4px;
	font-size: 12px;
	line-height: 1;
	border-radius: var(--mmm-utility-radius, 6px);
	box-sizing: border-box;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}
.mmm-workspace__modulebar--manager svg {
	width: 14px;
	height: 14px;
}


/* MMM Theme 0.11.35 — manager toolbar: one continuous row
 * All manager controls sit next to each other. On very narrow cards the bar
 * remains one line and can scroll horizontally rather than breaking into a
 * second row.
 */
.mmm-workspace__modulebar--manager {
	flex-wrap: nowrap;
	justify-content: flex-end;
	gap: 4px;
	overflow-x: auto;
	overflow-y: hidden;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: thin;
}
.mmm-workspace__modulebar--manager .mmm-workspace__layout-controls,
.mmm-workspace__modulebar--manager .mmm-landing__layout-controls {
	flex: 0 0 auto;
	margin: 0 !important;
	gap: 3px;
}
.mmm-workspace__modulebar--manager > form,
.mmm-workspace__modulebar--manager > a,
.mmm-workspace__modulebar--manager > button,
.mmm-workspace__modulebar--manager .mmm-workspace__layout-controls > form,
.mmm-workspace__modulebar--manager .mmm-landing__layout-controls > form {
	flex: 0 0 auto;
}

/* MMM Theme 0.11.37 — S/M/L parked globally
 * Stored size values are intentionally preserved in presentation USER DATA,
 * but all presentation items render as neutral Medium until the feature is
 * reintroduced with a content-density definition.
 */
.mmm-presentation-grid > [data-mmm-presentation-item][data-mmm-size] {
	--mmm-card-size-factor: 1;
	--mmm-card-effective-padding: var(--mmm-card-padding, 18px);
	--mmm-card-effective-gap: var(--mmm-card-gap, 10px);
	--mmm-card-body-size: var(--mmm-card-content-size, 14px);
	--mmm-card-title-size: var(--mmm-type-h3, 19px);
	--mmm-card-meta-size: var(--mmm-type-small, 13px);
	font-size: var(--mmm-type-body, 16px);
	line-height: 1.5;
}



/* MMM Theme 0.11.55 — Card System Consolidation v2
 *
 * Single canonical Card Shell contract for module, Home, landing, summary and
 * object cards. Specialist content stays in body adapters; geometry does not.
 *
 * DOM:
 *   .mmm-card-shell
 *     .mmm-presentation-media?          (Top or Left)
 *     .mmm-card-shell__main             (header/body/footer)
 *     .mmm-card-shell__manager-toolbar? (Manager only)
 *
 * Viewer and Manager share exactly the same media/content geometry. Manager
 * only adds the final toolbar row.
 */

/* Outer shell never owns inner content padding. This eliminates all historical
 * poster/toolbar padding compensation and makes each row explicit. */
.mmm-presentation-grid > .mmm-card-shell,
.mmm-card-shell {
	box-sizing:border-box;
	display:flex;
	flex-direction:column;
	min-width:0;
	height:100%;
	padding:0 !important;
	gap:0 !important;
	overflow:visible;
	background:var(--mmm-surface-card,var(--wp--preset--color--surface-alt,#fff));
	color:var(--mmm-text-card,var(--wp--preset--color--text,#1e1e1e));
}

/* Main is the sole owner of card content padding. */
.mmm-card-shell > .mmm-card-shell__main,
.mmm-card-shell > .mmm-workspace__card-main {
	display:flex;
	flex:1 1 auto;
	flex-direction:column;
	min-width:0;
	margin:0 !important;
	padding:var(--mmm-card-effective-padding,var(--mmm-card-padding,18px)) !important;
	gap:var(--mmm-card-effective-gap,var(--mmm-card-gap,10px));
	box-sizing:border-box;
}

.mmm-card-shell__header {
	flex:0 0 auto;
	min-width:0;
}

.mmm-card-shell__body {
	min-width:0;
}

.mmm-card-shell__footer {
	margin-top:auto;
	padding-top:var(--mmm-card-effective-gap,var(--mmm-card-gap,10px));
}

/* Canonical manager row. It is a normal final row inside the card:
 * no negative vertical margins, no padding compensation, no overlap. */
.mmm-card-shell > .mmm-card-shell__manager-toolbar,
.mmm-card-shell > .mmm-workspace__modulebar--manager {
	display:flex;
	flex:0 0 auto;
	align-items:center;
	justify-content:flex-end;
	flex-wrap:nowrap;
	gap:4px;
	width:100%;
	min-height:0;
	margin:0 !important;
	padding:6px 10px;
	box-sizing:border-box;
	border-top:1px solid color-mix(in srgb,currentColor 10%,transparent);
	background:color-mix(in srgb,currentColor 4%,transparent);
	border-radius:0 0 var(--mmm-card-radius,8px) var(--mmm-card-radius,8px);
}

/* MMM Theme 0.15.3 — the canonical Card Shell must not clip model-help
 * popovers. Visual corner clipping belongs to the actual edge rows instead
 * of the shell, so explanatory tooltips can escape the card and stack above
 * neighbouring cards without introducing a second card geometry. */

.mmm-card-shell > .mmm-workspace__modulebar--manager > .mmm-workspace__layout-controls,
.mmm-card-shell > .mmm-workspace__modulebar--manager > .mmm-workspace__modulebar--object {
	display:flex;
	align-items:center;
	flex-wrap:nowrap;
	gap:4px;
	margin:0;
	padding:0;
	border:0;
	background:transparent;
}

.mmm-card-shell > .mmm-workspace__modulebar--manager > .mmm-workspace__modulebar--object {
	margin-left:auto;
}

/* TOP poster is a normal first row. No negative margins. */
.mmm-card-shell[data-mmm-image-mode="poster"][data-mmm-image-position="top"] > .mmm-presentation-media--top,
.mmm-card-shell[data-mmm-image-mode="poster"]:not([data-mmm-image-position]) > .mmm-presentation-media--top {
	flex:0 0 auto;
	width:100%;
	margin:0 !important;
	padding:0;
	border-radius:var(--mmm-card-radius,8px) var(--mmm-card-radius,8px) 0 0;
	overflow:hidden;
}

.mmm-card-shell > .mmm-presentation-media--top .mmm-presentation-media__image {
	display:block;
	width:100%;
	height:auto;
	aspect-ratio:16 / 7;
	object-fit:cover;
	margin:0;
}

/* LEFT poster: row 1 is media + main; optional toolbar is row 2.
 * Viewer simply has no row 2. No geometry changes by role. */
.mmm-presentation-grid > .mmm-card-shell[data-mmm-image-mode="poster"][data-mmm-image-position="left"] {
	display:grid !important;
	grid-template-columns:minmax(0,1fr) minmax(0,1fr) !important;
	grid-template-rows:minmax(0,1fr) auto !important;
	column-gap:0 !important;
	row-gap:0 !important;
	align-content:start;
	height:100%;
	padding:0 !important;
}

.mmm-presentation-grid > .mmm-card-shell[data-mmm-image-mode="poster"][data-mmm-image-position="left"] > .mmm-presentation-media--left {
	grid-column:1;
	grid-row:1;
	align-self:stretch;
	position:relative;
	width:100%;
	height:100%;
	min-height:0;
	margin:0 !important;
	padding:0 !important;
	border-radius:var(--mmm-card-radius,8px) 0 0 0;
	overflow:hidden;
}

/* Without a manager toolbar the left poster also owns the bottom-left corner. */
.mmm-presentation-grid > .mmm-card-shell[data-mmm-image-mode="poster"][data-mmm-image-position="left"]:not(:has(> .mmm-card-shell__manager-toolbar)):not(:has(> .mmm-workspace__modulebar--manager)) > .mmm-presentation-media--left {
	border-bottom-left-radius:var(--mmm-card-radius,8px);
}

.mmm-presentation-grid > .mmm-card-shell[data-mmm-image-mode="poster"][data-mmm-image-position="left"] > .mmm-presentation-media--left .mmm-presentation-media__image {
	display:block;
	position:absolute;
	inset:0;
	width:100%;
	height:100%;
	min-height:0;
	margin:0;
	aspect-ratio:auto;
	object-fit:cover;
}

.mmm-presentation-grid > .mmm-card-shell[data-mmm-image-mode="poster"][data-mmm-image-position="left"] > .mmm-card-shell__main,
.mmm-presentation-grid > .mmm-card-shell[data-mmm-image-mode="poster"][data-mmm-image-position="left"] > .mmm-workspace__card-main {
	grid-column:2;
	grid-row:1;
	align-self:stretch;
	min-width:0;
}

.mmm-presentation-grid > .mmm-card-shell[data-mmm-image-mode="poster"][data-mmm-image-position="left"] > .mmm-card-shell__manager-toolbar,
.mmm-presentation-grid > .mmm-card-shell[data-mmm-image-mode="poster"][data-mmm-image-position="left"] > .mmm-workspace__modulebar--manager {
	grid-column:1 / -1;
	grid-row:2;
	width:100%;
	margin:0 !important;
}

/* Viewer/read-only cards have no toolbar. There is deliberately no alternate
 * media/main rule for them: identical row 1 is the role-parity contract. */

/* Mobile LEFT becomes TOP, still using main + optional final toolbar. */
@media (max-width:760px) {
	.mmm-presentation-grid > .mmm-card-shell[data-mmm-image-mode="poster"][data-mmm-image-position="left"] {
		display:flex !important;
		flex-direction:column;
		height:auto;
	}
	.mmm-presentation-grid > .mmm-card-shell[data-mmm-image-mode="poster"][data-mmm-image-position="left"] > .mmm-presentation-media--left {
		width:100%;
		height:auto;
	}
	.mmm-presentation-grid > .mmm-card-shell[data-mmm-image-mode="poster"][data-mmm-image-position="left"] > .mmm-presentation-media--left .mmm-presentation-media__image {
		position:static;
		inset:auto;
		height:auto;
		min-height:0;
		aspect-ratio:16 / 7;
	}
	.mmm-presentation-grid > .mmm-card-shell[data-mmm-image-mode="poster"][data-mmm-image-position="left"] > .mmm-card-shell__main,
	.mmm-presentation-grid > .mmm-card-shell[data-mmm-image-mode="poster"][data-mmm-image-position="left"] > .mmm-workspace__card-main {
		width:100%;
	}
}


/* MMM Theme 0.11.56 — Card System Consolidation v3
 *
 * Terminology:
 * - .mmm-presentation-grid = placement / width / order
 * - [data-mmm-presentation-item] = effective presentation state
 * - .mmm-card-shell = visual card anatomy
 * - .mmm-card-shell__main/header/body/footer = content anatomy
 * - .mmm-card-shell__manager-toolbar = optional manager-only mutation row
 *
 * Context-specific cards may disable presentation mutations, but they do not
 * get a second grid or card system.
 */

/* Card titles have one visual contract regardless of semantic heading level. */
.mmm-card-shell__title {
	flex:1 1 auto;
	min-width:0;
	margin:0;
	font-size:var(--mmm-card-title-size,var(--mmm-type-h3,19px)) !important;
	line-height:var(--mmm-type-h3-line-height,1.22);
	font-weight:var(--mmm-card-title-weight,600);
}

/* Body/meta typography consumes the central presentation tokens. */
.mmm-card-shell__body {
	font-size:var(--mmm-card-body-size,var(--mmm-card-content-size,14px));
	line-height:var(--mmm-type-body-line-height,1.55);
}
.mmm-card-shell .mmm-workspace__progress,
.mmm-card-shell .mmm-workspace__muted,
.mmm-card-shell .mmm-workspace__eyebrow,
.mmm-card-shell__meta {
	font-size:var(--mmm-card-meta-size,var(--mmm-type-small,13px));
}

/* Headers describe anatomy, not typography hierarchy. */
.mmm-card-shell__header {
	display:flex;
	align-items:flex-start;
	justify-content:space-between;
	gap:var(--mmm-utility-gap,8px);
	min-width:0;
}

/* Specialist nested grids (PMC/tactical) are still central presentation grids;
 * the context policy simply fixes each local card to the full nested column. */
.mmm-presentation-grid--nested > [data-mmm-presentation-item] {
	grid-column:1 / -1 !important;
}

/* MMM Theme 0.11.57 — Card consistency + reusable MMM Media Picker v1 */
.mmm-card-shell { --mmm-card-title-size:var(--mmm-type-h3,19px); --mmm-card-title-weight:600; }
.mmm-card-shell .mmm-card-shell__title,
.mmm-card-shell h2.mmm-card-shell__title,
.mmm-card-shell h3.mmm-card-shell__title,
.mmm-card-shell h4.mmm-card-shell__title {
	margin:0 !important; font-size:var(--mmm-card-title-size) !important; line-height:var(--mmm-type-h3-line-height,1.22) !important; font-weight:var(--mmm-card-title-weight) !important;
}
[data-mmm-media-picker-form][hidden], .mmm-media-picker[hidden] { display:none !important; }
/* Media Picker is a consumer of the canonical Dialog + Elevated Panel contract.
 * Only its content layout remains local here. */
.mmm-media-picker__head,
.mmm-media-picker__tools,
.mmm-media-picker__pager {
	display:flex;
	align-items:center;
	justify-content:space-between;
	gap:var(--mmm-space-xs,12px);
}
.mmm-media-picker__head h2 { margin:0 0 var(--mmm-space-3xs,4px); }
.mmm-media-picker__head p { margin:0; opacity:.68; }
.mmm-media-picker__tools { margin:var(--mmm-space-sm,16px) 0 var(--mmm-space-xs,12px); }
.mmm-media-picker__tools form { display:flex; flex:1; gap:var(--mmm-space-2xs,8px); }
.mmm-media-picker__tools input[type=search] { flex:1; min-width:0; }
.mmm-media-picker__status { min-height:22px; font-size:var(--mmm-type-small,13px); opacity:.7; }
.mmm-media-picker__grid { display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); gap:var(--mmm-space-xs,12px); }
.mmm-media-picker__item {
	display:flex;
	flex-direction:column;
	gap:var(--mmm-space-2xs,8px);
	min-width:0;
	padding:0 0 var(--mmm-space-2xs,8px);
	overflow:hidden;
	border:1px solid color-mix(in srgb,currentColor 14%,transparent);
	border-radius:var(--mmm-card-radius,8px);
	background:var(--mmm-surface-card,var(--mmm-surface-panel,#fff));
	color:var(--mmm-text-card,var(--mmm-text-panel,currentColor));
	text-align:left;
	cursor:pointer;
}
.mmm-media-picker__item img {
	display:block;
	width:100%;
	aspect-ratio:1;
	object-fit:cover;
	background:var(--mmm-surface-subtle,#eef1f4);
}
.mmm-media-picker__item span {
	overflow:hidden;
	padding:0 var(--mmm-space-2xs,8px);
	font-size:var(--mmm-type-small,12px);
	white-space:nowrap;
	text-overflow:ellipsis;
}
.mmm-media-picker__item:hover,
.mmm-media-picker__item:focus-visible { outline:2px solid currentColor; outline-offset:2px; }
.mmm-media-picker__pager { margin-top:var(--mmm-space-sm,16px); }
@media (max-width:760px) {
	.mmm-media-picker__tools { align-items:stretch; flex-direction:column; }
	.mmm-media-picker__grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
}



/* MMM Theme 0.11.60 — Home Card Shell parity
 *
 * Home is no longer a separate card/control family. Home renderers only supply
 * body content; outer geometry is owned by the same .mmm-card-shell,
 * .mmm-card-shell__main/header/body/footer and
 * .mmm-card-shell__manager-toolbar rules used everywhere else.
 *
 * No Home-specific toolbar alignment or title sizing is permitted here.
 */
.mmm-home-dashboard__presentation > .mmm-card-shell {
	min-width:0;
}


/* MMM Theme 0.11.61 — remove the original 0.11.8 Home card family.
 * Home classes below are content adapters only. Outer surface, border,
 * radius, padding, title geometry and manager toolbar belong exclusively
 * to the canonical Card Shell. */
.mmm-card-shell.mmm-home-summary-card,
.mmm-card-shell.mmm-home-dashboard__panel,
.mmm-card-shell.mmm-home-overview-card {
	box-sizing: border-box;
}


/* MMM Theme 0.11.63 — Doelgroep Persona projection uses the canonical Card Shell/Grid.
   The retired persona-specific mini-card geometry has been removed. */
.mmm-audience-personas .mmm-presentation-grid {
	width: 100%;
	min-width: 0;
}


/* MMM Theme 0.11.64 — Manager Viewer-modus userbar control.
 * Presentation/Card Shell geometry is unchanged; Core simply omits manager UI.
 */
.mmm-userbar-viewer-mode {
	margin: 0;
	display: inline-flex;
	align-items: center;
}
.mmm-userbar-viewer-mode__button {
	appearance: none;
	border: 0;
	background: transparent;
	padding: 0;
	font: inherit;
	cursor: pointer;
}
.mmm-userbar-viewer-mode__button.is-active {
	opacity: 1;
	text-decoration: underline !important;
	text-underline-offset: 2px;
}


/* MMM Theme 0.11.65 — MMM Data Viewer/Editor v1 */
.mmm-data-dialog {
	padding: clamp(20px, 3vw, 32px);
}

.mmm-data-dialog__head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 24px;
	padding-right: 42px;
	margin-bottom: 22px;
}

.mmm-data-dialog__head h2,
.mmm-data-dialog__head .mmm-workspace__breadcrumb {
	margin-top: 0;
}

.mmm-data-mode-switch {
	display: inline-flex;
	flex: 0 0 auto;
	gap: 4px;
	padding: 3px;
	border: 1px solid color-mix(in srgb,currentColor 12%,transparent);
	border-radius: 7px;
	background: color-mix(in srgb,currentColor 4%,transparent);
}

.mmm-data-mode-switch__item {
	display: inline-flex;
	align-items: center;
	min-height: 32px;
	padding: 5px 10px;
	border-radius: 5px;
	color: inherit;
	font-size: var(--wp--preset--font-size--small, .875rem);
	font-weight: 650;
	text-decoration: none;
}

.mmm-data-mode-switch__item.is-active {
	background: color-mix(in srgb,currentColor 6%,transparent);
	box-shadow: 0 1px 2px rgba(0,0,0,.08);
}

.mmm-data-reader {
	min-height: 120px;
	padding: 18px 0 8px;
	border-top: 1px solid color-mix(in srgb,currentColor 10%,transparent);
}

.mmm-data-reader__richtext {
	font-size: 1rem;
	line-height: 1.65;
}

.mmm-data-reader__richtext > :first-child,
.mmm-data-reader__value > :first-child {
	margin-top: 0;
}

.mmm-data-reader__richtext > :last-child,
.mmm-data-reader__value > :last-child {
	margin-bottom: 0;
}

.mmm-data-reader__empty {
	opacity: .62;
}

.mmm-data-editor-tools {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
	margin: 2px 0 14px;
	padding: 10px 12px;
	border: 1px solid color-mix(in srgb,currentColor 10%,transparent);
	border-radius: 7px;
	background: color-mix(in srgb,currentColor 3%,transparent);
}


.mmm-data-editor-tools__hint {
	font-size: var(--wp--preset--font-size--small, .875rem);
	opacity: .64;
}

.mmm-data-editor-form .acf-fields > .acf-field {
	padding-left: 0;
	padding-right: 0;
	border-top: 0;
}

.mmm-data-editor-form .acf-label label {
	font-size: var(--wp--preset--font-size--small, .875rem);
	font-weight: 700;
}

.mmm-data-editor-form .acf-input input[type="text"],
.mmm-data-editor-form .acf-input input[type="url"],
.mmm-data-editor-form .acf-input input[type="email"],
.mmm-data-editor-form .acf-input input[type="number"],
.mmm-data-editor-form .acf-input textarea,
.mmm-data-editor-form .acf-input select {
	box-sizing: border-box;
	width: 100%;
	min-height: 42px;
	border: 1px solid color-mix(in srgb,currentColor 18%,transparent);
	border-radius: 6px;
	background: color-mix(in srgb,currentColor 5%,transparent);
	color: inherit;
	font: inherit;
}

.mmm-data-editor-form .acf-editor-wrap {
	border: 1px solid color-mix(in srgb,currentColor 16%,transparent);
	border-radius: 7px;
	overflow: hidden;
	background: color-mix(in srgb,currentColor 4%,transparent);
}

.mmm-data-editor-form .wp-editor-container,
.mmm-data-editor-form .mce-panel,
.mmm-data-editor-form .quicktags-toolbar {
	border-color: color-mix(in srgb,currentColor 10%,transparent) !important;
	box-shadow: none !important;
}

.mmm-data-dialog__back {
	margin: 22px 0 0;
	padding-top: 16px;
	border-top: 1px solid color-mix(in srgb,currentColor 10%,transparent);
}

.mmm-inline-details {
	margin: 1em 0;
	border: 1px solid color-mix(in srgb,currentColor 14%,transparent);
	border-radius: 7px;
	background: color-mix(in srgb,currentColor 2.5%,transparent);
}

.mmm-inline-details > summary {
	cursor: pointer;
	padding: 11px 13px;
	font-weight: 700;
}

.mmm-inline-details__content {
	padding: 0 13px 13px;
}

.mmm-inline-details__content > :first-child {
	margin-top: 0;
}

.mmm-inline-details__content > :last-child {
	margin-bottom: 0;
}

@media (max-width:700px) {
	.mmm-data-dialog__head {
		display: grid;
		gap: 12px;
	}
	.mmm-data-mode-switch {
		width: fit-content;
	}
}


/* MMM Theme 0.12.0 — MMM Data Editor visual polish.
 * WordPress/ACF remains the functional editor engine; this is presentation only.
 */
.mmm-data-editor-form .wp-editor-tabs {
	display: none !important;
}

.mmm-data-editor-form .wp-media-buttons {
	margin: 0 0 10px;
}

.mmm-data-editor-form .wp-media-buttons .button,
.mmm-data-editor-form .wp-media-buttons .button-secondary {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 38px;
	margin: 0;
	padding: 7px 12px;
	border: 1px solid color-mix(in srgb,currentColor 18%,transparent);
	border-radius: 6px;
	background: color-mix(in srgb,currentColor 6%,transparent);
	color: inherit;
	font: inherit;
	font-size: var(--wp--preset--font-size--small, .875rem);
	font-weight: 650;
	line-height: 1.2;
	box-shadow: none;
	text-decoration: none;
}

.mmm-data-editor-form .wp-media-buttons .button:hover,
.mmm-data-editor-form .wp-media-buttons .button-secondary:hover {
	border-color: var(--wp--preset--color--brand-primary, currentColor);
	background: color-mix(in srgb,currentColor 3%,transparent);
	color: inherit;
}

.mmm-data-editor-form .wp-media-buttons .button:focus-visible,
.mmm-data-editor-form .acf-form-submit .acf-button:focus-visible {
	outline: 2px solid var(--wp--preset--color--brand-primary, currentColor);
	outline-offset: 2px;
	box-shadow: none;
}

.mmm-data-editor-form .acf-form-submit {
	margin: 18px 0 0;
	padding: 0;
}

.mmm-data-editor-form .acf-form-submit .acf-button,
.mmm-data-editor-form .acf-form-submit input[type="submit"] {
	appearance: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 40px;
	margin: 0;
	padding: 8px 14px;
	border: 1px solid var(--mmm-button-background, var(--wp--preset--color--brand-primary, currentColor));
	border-radius: 6px;
	background: var(--mmm-button-background, var(--wp--preset--color--brand-primary, currentColor));
	color: var(--mmm-button-text, var(--wp--preset--color--base, #fff));
	font: inherit;
	font-size: var(--wp--preset--font-size--small, .875rem);
	font-weight: 700;
	line-height: 1.2;
	box-shadow: none;
	cursor: pointer;
	text-decoration: none;
}

.mmm-data-editor-form .acf-form-submit .acf-button:hover,
.mmm-data-editor-form .acf-form-submit input[type="submit"]:hover {
	filter: brightness(.96);
	box-shadow: none;
}


/* MMM Theme 0.12.1 — Data Editor controls use the site's navigation-active brand color. */
.mmm-data-editor-form .wp-media-buttons {
	display: none !important;
}

.mmm-data-editor-media {
	display: flex;
	align-items: center;
	margin: 0 0 10px;
}

.mmm-data-editor-media__button {
	appearance: none;
	display: inline-flex;
	align-items: center;
	gap: 7px;
	min-height: 40px;
	margin: 0;
	padding: 8px 13px;
	border: 1px solid var(--mmm-nav-active-color, var(--wp--preset--color--brand-primary, #244236));
	border-radius: 7px;
	background: #fff;
	color: var(--mmm-nav-active-color, var(--wp--preset--color--brand-primary, #244236));
	font: inherit;
	font-weight: 650;
	line-height: 1.2;
	box-shadow: none;
	cursor: pointer;
	text-decoration: none;
}

.mmm-data-editor-media__button:hover,
.mmm-data-editor-media__button:focus-visible {
	background: color-mix(in srgb, var(--mmm-nav-active-color, var(--wp--preset--color--brand-primary, #244236)) 8%, #fff);
	color: var(--mmm-nav-active-color, var(--wp--preset--color--brand-primary, #244236));
}

.mmm-data-editor-media__button:focus-visible {
	outline: 2px solid var(--mmm-nav-active-color, var(--wp--preset--color--brand-primary, #244236));
	outline-offset: 2px;
}

.mmm-data-editor-form .acf-form-submit {
	margin: 18px 0 0 !important;
	padding: 0 !important;
	border: 0 !important;
	background: transparent !important;
}

.mmm-data-editor-form .acf-form-submit input[type="submit"],
.mmm-data-editor-form .acf-form-submit .acf-button,
.mmm-review-scope__actions .acf-button {
	appearance: none !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	min-height: 40px !important;
	margin: 0 !important;
	padding: 8px 15px !important;
	border: 1px solid var(--mmm-nav-active-color, var(--wp--preset--color--brand-primary, #244236)) !important;
	border-radius: 7px !important;
	background: var(--mmm-nav-active-color, var(--wp--preset--color--brand-primary, #244236)) !important;
	color: #fff !important;
	font: inherit !important;
	font-size: 14px !important;
	font-weight: 700 !important;
	line-height: 1.2 !important;
	box-shadow: none !important;
	text-shadow: none !important;
	cursor: pointer !important;
}

.mmm-data-editor-form .acf-form-submit input[type="submit"]:hover,
.mmm-data-editor-form .acf-form-submit .acf-button:hover,
.mmm-review-scope__actions .acf-button:hover {
	filter: brightness(.94);
}

.mmm-data-editor-form .acf-form-submit input[type="submit"]:focus-visible,
.mmm-data-editor-form .acf-form-submit .acf-button:focus-visible,
.mmm-review-scope__actions .acf-button:focus-visible {
	outline: 2px solid var(--mmm-nav-active-color, var(--wp--preset--color--brand-primary, #244236)) !important;
	outline-offset: 2px !important;
	box-shadow: none !important;
}


.mmm-media-picker__item:hover,
.mmm-media-picker__item:focus-visible {
	outline-color: var(--mmm-nav-active-color, var(--wp--preset--color--brand-primary, #244236));
}


/* MMM Theme 0.13.0 — Brand Assets v1 */
.mmm-brand-assets {
	--mmm-brand-assets-accent: var(--mmm-nav-active-color, var(--wp--preset--color--brand-primary, #244236));
}

.mmm-brand-assets .mmm-workspace__head,
.mmm-brand-assets__section-head,
.mmm-brand-assets__editor-head {
	display:flex;
	align-items:flex-start;
	justify-content:space-between;
	gap:18px;
	flex-wrap:wrap;
}

.mmm-brand-assets__section {
	margin-top:clamp(26px,4vw,44px);
}

.mmm-brand-assets__section-head {
	align-items:center;
	margin-bottom:14px;
}

.mmm-brand-assets__section h2,
.mmm-brand-assets__editor h2 {
	margin:0;
}


.mmm-brand-assets__colors {
	display:grid;
	grid-template-columns:repeat(auto-fit,minmax(180px,1fr));
	gap:10px;
}

.mmm-brand-assets__color {
	display:grid;
	grid-template-columns:44px minmax(0,1fr);
	align-items:center;
	gap:10px 12px;
	padding:12px;
	border:1px solid color-mix(in srgb,currentColor 12%,transparent);
	border-radius:8px;
	background:var(--wp--preset--color--surface-alt,#fff);
}

.mmm-brand-assets__swatch {
	display:block;
	width:44px;
	height:44px;
	border-radius:8px;
	border:1px solid color-mix(in srgb,currentColor 12%,transparent);
	background:var(--mmm-asset-swatch);
}

.mmm-brand-assets__color code {
	display:block;
	margin-top:2px;
	font-size:13px;
}

.mmm-brand-assets__color .mmm-brand-assets__copy {
	grid-column:1/-1;
	width:100%;
}

.mmm-brand-assets__canonical-logo {
	display:flex;
	align-items:center;
	gap:24px;
	padding:18px;
	border:1px solid color-mix(in srgb,currentColor 12%,transparent);
	border-radius:8px;
	background:var(--wp--preset--color--surface-alt,#fff);
}

.mmm-brand-assets__brand-logo {
	display:block;
	max-width:min(220px,42vw);
	max-height:120px;
	width:auto;
	height:auto;
	object-fit:contain;
}

.mmm-brand-assets__grid {
	display:grid;
	grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
	gap:var(--mmm-card-gap,10px);
}

.mmm-brand-assets__card {
	border:1px solid color-mix(in srgb,currentColor 12%,transparent);
	border-radius:var(--mmm-card-radius,8px);
	background:var(--wp--preset--color--surface-alt,#fff);
}

.mmm-brand-assets__media {
	display:flex;
	align-items:center;
	justify-content:center;
	min-height:150px;
	padding:18px;
	background:color-mix(in srgb,currentColor 3%,transparent);
	border-bottom:1px solid color-mix(in srgb,currentColor 10%,transparent);
}

.mmm-brand-assets__preview {
	display:block;
	max-width:100%;
	max-height:180px;
	width:auto;
	height:auto;
	object-fit:contain;
}

.mmm-brand-assets__meta {
	display:flex;
	gap:6px;
	flex-wrap:wrap;
	margin-bottom:6px;
}

.mmm-brand-assets__meta span {
	padding:3px 7px;
	border-radius:999px;
	background:color-mix(in srgb,var(--mmm-brand-assets-accent) 8%,transparent);
	font-size:12px;
	font-weight:700;
}

.mmm-brand-assets__card h3 {
	margin:0;
}

.mmm-brand-assets__guideline {
	line-height:1.6;
}

.mmm-brand-assets__guideline > :first-child { margin-top:0; }
.mmm-brand-assets__guideline > :last-child { margin-bottom:0; }

.mmm-brand-assets__filemeta {
	font-size:13px;
	opacity:.68;
}

.mmm-brand-assets__font-name {
	margin-bottom:10px;
}

.mmm-brand-assets__actions {
	display:flex;
	align-items:center;
	gap:8px;
	flex-wrap:wrap;
}

.mmm-brand-assets__card .mmm-card-shell__manager-toolbar a {
	color:inherit;
	font-size:13px;
	font-weight:700;
	text-decoration:none;
}

.mmm-brand-assets__empty {
	padding:18px;
	border:1px dashed color-mix(in srgb,currentColor 20%,transparent);
	border-radius:8px;
}

.mmm-brand-assets__editor {
	max-width:900px;
}

.mmm-brand-assets__form {
	display:grid;
	gap:16px;
	margin-top:18px;
}

.mmm-brand-assets__form label {
	display:grid;
	gap:6px;
	font-size:14px;
	font-weight:700;
}

.mmm-brand-assets__form input[type="text"],
.mmm-brand-assets__form input[type="url"],
.mmm-brand-assets__form input[type="file"],
.mmm-brand-assets__form select,
.mmm-brand-assets__form textarea {
	box-sizing:border-box;
	width:100%;
	min-height:42px;
	padding:9px 11px;
	border:1px solid color-mix(in srgb,currentColor 18%,transparent);
	border-radius:7px;
	background:var(--wp--preset--color--surface-alt,#fff);
	color:var(--wp--preset--color--contrast,#111);
	font:inherit;
	font-size:16px;
}

.mmm-brand-assets__form textarea {
	resize:vertical;
	min-height:150px;
	line-height:1.55;
}

.mmm-brand-assets__form input[type="file"] {
	padding:8px;
	font-size:14px;
	font-weight:500;
}

.mmm-brand-assets__form small {
	font-weight:400;
	opacity:.7;
}

.mmm-brand-assets__form-grid {
	display:grid;
	grid-template-columns:repeat(2,minmax(0,1fr));
	gap:14px;
}

.mmm-brand-assets__form-preview {
	display:block;
	max-width:180px;
	max-height:100px;
	margin-top:8px;
	object-fit:contain;
}

.mmm-brand-assets__form-actions {
	display:flex;
	align-items:center;
	gap:8px;
	flex-wrap:wrap;
}

@media (max-width:700px) {
	.mmm-brand-assets__form-grid { grid-template-columns:1fr; }
	.mmm-brand-assets__canonical-logo { align-items:flex-start; flex-direction:column; }
}


/* MMM Theme 0.13.1 — Brand Assets uses the shared Workspace / Presentation Grid / Card Shell contract. */
.mmm-brand-assets__section {
	margin-top: var(--wp--preset--spacing--50, 2.5rem);
}

.mmm-brand-assets__section .mmm-workspace__relation-head {
	margin-bottom: 18px;
}

.mmm-brand-assets__section .mmm-workspace__relation-head h2 {
	margin: 0;
}

.mmm-brand-assets__section .mmm-workspace__relation-head .mmm-workspace__eyebrow {
	margin-bottom: 6px;
}

.mmm-brand-assets__grid,
.mmm-brand-assets__colors {
	display: contents;
}

.mmm-brand-assets__canonical-logo {
	display: contents;
}

.mmm-brand-assets__card,
.mmm-brand-assets__color-card,
.mmm-brand-assets__canonical-logo-card {
	border: 1px solid color-mix(in srgb, currentColor 12%, transparent);
	border-radius: var(--mmm-card-radius, 8px);
	background: var(--mmm-surface-card, var(--wp--preset--color--surface-alt, #fff));
	color: var(--mmm-text-card, inherit);
}

.mmm-brand-assets__media {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 150px;
	margin: 0 !important;
	padding: 18px;
	border-bottom: 1px solid color-mix(in srgb, currentColor 10%, transparent);
	border-radius: 0;
	background: color-mix(in srgb, currentColor 3%, transparent);
}

.mmm-brand-assets__media img {
	display: block;
	max-width: 100%;
	max-height: 180px;
	width: auto;
	height: auto;
	object-fit: contain;
}

.mmm-brand-assets__color-head {
	display: grid;
	grid-template-columns: 46px minmax(0, 1fr);
	align-items: center;
	gap: 12px;
}

.mmm-brand-assets__color-head h3 {
	margin: 0;
}

.mmm-brand-assets__color-head code {
	display: block;
	margin-top: 3px;
	font-size: 13px;
}

.mmm-brand-assets__swatch {
	width: 46px;
	height: 46px;
}

.mmm-brand-assets__color-card .mmm-brand-assets__copy {
	width: 100%;
}

.mmm-brand-assets__card .mmm-card-shell__manager-toolbar {
	margin-top: 0;
}

@media (max-width: 600px) {
	.mmm-brand-assets__canonical-logo-card,
	.mmm-brand-assets__color-card,
	.mmm-brand-assets__card {
		grid-column: 1 / -1;
	}
}




/* MMM Theme 0.14.0 — optional extra brand colors in frontend Brand Settings. */
.mmm-brand-frontend__extra-colors {
	margin-top: 24px;
	padding-top: 22px;
	border-top: 1px solid color-mix(in srgb, currentColor 12%, transparent);
}

.mmm-brand-frontend__subhead {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 18px;
	margin-bottom: 14px;
}

.mmm-brand-frontend__subhead h3,
.mmm-brand-frontend__subhead p {
	margin-top: 0;
}

.mmm-brand-frontend__extra-list {
	display: grid;
	gap: 12px;
}

.mmm-brand-frontend__extra-row {
	display: grid;
	grid-template-columns: minmax(180px, 1fr) minmax(220px, 1fr) auto;
	gap: 12px;
	align-items: end;
	padding: 14px;
	border: 1px solid color-mix(in srgb, currentColor 12%, transparent);
	border-radius: 8px;
	background: color-mix(in srgb, currentColor 2%, transparent);
}

.mmm-brand-frontend__extra-row .mmm-brand-frontend__field {
	margin: 0;
}

.mmm-brand-frontend__remove-extra {
	min-height: 40px;
	padding: 8px 12px;
	border: 1px solid color-mix(in srgb, currentColor 18%, transparent);
	border-radius: 7px;
	background: transparent;
	color: inherit;
	font: inherit;
	font-weight: 650;
	cursor: pointer;
}

.mmm-brand-frontend__remove-extra:hover,
.mmm-brand-frontend__remove-extra:focus-visible {
	border-color: currentColor;
	background: color-mix(in srgb, currentColor 5%, transparent);
}

@media (max-width: 760px) {
	.mmm-brand-frontend__subhead {
		display: grid;
	}
	.mmm-brand-frontend__extra-row {
		grid-template-columns: 1fr;
		align-items: stretch;
	}
}


/* MMM Theme 0.14.1 — Brand Asset trash action stays inside the shared manager toolbar. */
.mmm-brand-assets__trash-form {
	display: inline-flex;
	margin: 0;
	padding: 0;
}

.mmm-brand-assets__trash-action {
	appearance: none;
	margin: 0;
	padding: 2px 4px;
	border: 0;
	background: transparent;
	color: inherit;
	font: inherit;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.2;
	cursor: pointer;
	text-decoration: none;
}

.mmm-brand-assets__trash-action:hover,
.mmm-brand-assets__trash-action:focus-visible {
	text-decoration: underline;
}

.mmm-brand-assets__trash-action:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 2px;
	border-radius: 3px;
}


/* MMM Theme 0.15.11 — Topic hierarchy UX */
.mmm-topic-library {
	display: grid;
	gap: 14px;
}

.mmm-topic-library__group {
	border: 1px solid color-mix(in srgb,currentColor 12%,transparent);
	border-radius: var(--mmm-card-radius, 8px);
	background: var(--mmm-surface-panel, var(--wp--preset--color--surface, #f5f6f7));
	color: var(--mmm-text-panel, var(--wp--preset--color--text, #1e1e1e));
	overflow: hidden;
}

.mmm-topic-library__group-head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 20px;
	padding: 16px 18px;
}

.mmm-topic-library__group-head h4 {
	margin: 2px 0 4px;
	font-size: var(--mmm-card-title-size, var(--mmm-type-h3, 19px));
	line-height: var(--mmm-type-h3-line-height, 1.22);
	font-weight: var(--mmm-card-title-weight, var(--mmm-type-heading-weight, 600));
}

.mmm-topic-library__group-head p,
.mmm-topic-library__child p {
	margin: 4px 0 0;
}
.mmm-topic-library__group,
.mmm-topic-library__child {
	font-size: var(--mmm-card-body-size, var(--mmm-card-content-size, 14px));
	line-height: var(--mmm-type-body-line-height, 1.55);
}
.mmm-topic-library__type {
	font-size: var(--mmm-card-meta-size, var(--mmm-type-small, 13px));
}


.mmm-topic-library__type {
	display: block;
	font-weight: 700;
	letter-spacing: .055em;
	text-transform: uppercase;
	opacity: .58;
}

.mmm-topic-library__actions {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
	justify-content: flex-end;
}

.mmm-topic-library__children {
	border-top: 1px solid color-mix(in srgb,currentColor 10%,transparent);
	background: color-mix(in srgb,currentColor 2.5%,transparent);
}

.mmm-topic-library__child {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 20px;
	padding: 12px 18px 12px 34px;
	border-top: 1px solid color-mix(in srgb,currentColor 7%,transparent);
}

.mmm-topic-library__child:first-child {
	border-top: 0;
}

.mmm-topic-library__child strong {
	display: block;
	margin-top: 2px;
}

.mmm-topic-library__empty {
	margin: 0;
	padding: 11px 18px 13px 34px;
	border-top: 1px solid color-mix(in srgb,currentColor 8%,transparent);
	opacity: .62;
	font-size: var(--wp--preset--font-size--small);
}

.mmm-topic-compact-dialog__panel {
	width: min(680px, calc(100vw - 32px));
}

.mmm-topic-compact-form__type {
	padding: 9px 11px;
	border-radius: 6px;
	background: color-mix(in srgb,currentColor 5%,transparent);
}

@media (max-width:700px) {
	.mmm-topic-library__group-head,
	.mmm-topic-library__child {
		flex-direction: column;
	}

	.mmm-topic-library__actions {
		justify-content: flex-start;
	}

	.mmm-topic-library__child,
	.mmm-topic-library__empty {
		padding-left: 22px;
	}
}


/* MMM Theme 0.15.12 — Topic knowledge-base editor */
.mmm-topic-compact-dialog__panel {
	width: min(900px, calc(100vw - 32px));
	max-height: min(90vh, 920px);
	overflow: auto;
}

.mmm-topic-compact-dialog__badge {
	display: inline-block;
	margin: 0 0 5px;
	padding: 4px 8px;
	border-radius: 999px;
	background: color-mix(in srgb,currentColor 7%,transparent);
	font-size: .7rem;
	font-weight: 700;
	letter-spacing: .055em;
	text-transform: uppercase;
	opacity: .72;
}

.mmm-topic-compact-form__content {
	margin-top: 6px;
}

.mmm-topic-compact-form__content > span {
	display: block;
	margin-bottom: 6px;
	font-weight: 700;
}

.mmm-topic-compact-form__content .wp-editor-wrap {
	margin-top: 0;
}

.mmm-topic-compact-form__content .wp-editor-container textarea.wp-editor-area {
	min-height: 360px;
}

.mmm-topic-compact-form__guard {
	padding: 10px 12px;
	border: 1px solid color-mix(in srgb,currentColor 14%,transparent);
	border-radius: 6px;
	background: color-mix(in srgb,currentColor 4%,transparent);
}

.mmm-topic-compact-form__footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	margin-top: 16px;
}

@media (max-width:700px) {
	.mmm-topic-compact-dialog__panel {
		width: min(100% - 16px, 900px);
		max-height: 94vh;
	}

	.mmm-topic-compact-form__footer {
		align-items: flex-start;
		flex-direction: column;
	}
}

/* MMM Theme 0.15.13 — full-width PMC Process matrix */
.mmm-pmc-process-panel{margin-top:clamp(34px,6vw,72px);padding-top:clamp(24px,4vw,42px);border-top:2px solid color-mix(in srgb,currentColor 16%,transparent)}
.mmm-pmc-process-panel__head{display:flex;align-items:flex-start;justify-content:space-between;gap:28px;margin-bottom:24px}
.mmm-pmc-process-panel__head h2{margin:.15em 0 .35em}.mmm-pmc-process-panel__head p:last-child{max-width:78ch;margin-bottom:0}
.mmm-process-matrix-wrap{overflow-x:auto;border:1px solid color-mix(in srgb,currentColor 14%,transparent);border-radius:10px;background:var(--mmm-surface-panel,var(--wp--preset--color--surface,#f5f6f7));color:var(--mmm-text-panel,var(--wp--preset--color--text,#1e1e1e))}
.mmm-process-matrix{display:grid;grid-template-columns:minmax(210px,1.35fr) repeat(5,minmax(135px,1fr));min-width:900px}
.mmm-process-matrix>*{min-width:0;border-right:1px solid color-mix(in srgb,currentColor 11%,transparent);border-bottom:1px solid color-mix(in srgb,currentColor 9%,transparent)}
.mmm-process-matrix>:nth-child(6n){border-right:0}.mmm-process-matrix__corner,.mmm-process-matrix__phase{padding:15px 12px;background:color-mix(in srgb,currentColor 4%,transparent)}
.mmm-process-matrix__phase{text-align:center}.mmm-process-matrix__section-label,.mmm-process-matrix__section-fill{padding:10px 14px;background:color-mix(in srgb,currentColor 8%,transparent);font-size:.73rem;font-weight:750;letter-spacing:.055em;text-transform:uppercase}
.mmm-process-matrix__topic,.mmm-process-matrix__touchpoint{padding:11px 14px}.mmm-process-matrix__topic--root{background:color-mix(in srgb,currentColor 3.5%,transparent)}
.mmm-process-matrix__topic--root span{display:block;margin-top:2px;font-size:.78rem;opacity:.58}.mmm-process-matrix__topic--child{padding-left:32px}.mmm-process-matrix__topic--child:before{content:"↳";margin-right:7px;opacity:.4}
.mmm-process-matrix__cell{display:flex;align-items:center;justify-content:center;min-height:44px;font-size:1.1rem}.mmm-process-matrix__cell.is-active{background:color-mix(in srgb,currentColor 7%,transparent)}
.mmm-process-matrix__cell--touchpoint.is-active{background:color-mix(in srgb,currentColor 11%,transparent)}.mmm-pmc-process-panel__legend{display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap;margin:12px 2px 0;font-size:.82rem;opacity:.68}
@media(max-width:700px){.mmm-pmc-process-panel__head{flex-direction:column}.mmm-process-matrix{grid-template-columns:minmax(180px,1.2fr) repeat(5,minmax(120px,1fr))}}

/* MMM Theme 0.15.17 — stable Strategy hover bands
 *
 * WordPress Core Navigation remains the renderer/interaction owner.
 * Strategy reserves three exact 24px rows. Submenu containers and link targets
 * now fill those rows exactly, preventing level-3 clipping or baseline drift.
 */
.mmm-header-main {
	/* Use Core's canonical derived brand palette. Brand Settings/UI System own
	   the derivation; the Theme only consumes semantic presentation tokens. */
	--mmm-nav-tile-bg: var(--mmm-surface-nav-1, var(--mmm-brand-muted, var(--wp--preset--color--brand-muted, #cbd8d3)));
	--mmm-nav-band-2-bg: var(--mmm-surface-nav-2, var(--mmm-brand-soft, var(--wp--preset--color--brand-soft, #eef3f1)));
	--mmm-nav-band-3-bg: var(--mmm-surface-nav-3, var(--mmm-surface-brand, var(--wp--preset--color--surface, #f5f6f7)));
	--mmm-nav-color: var(--mmm-text-nav-1, var(--mmm-text-nav, var(--wp--preset--color--text, #1e1e1e)));
	box-sizing: border-box;
	width: 100%;
	margin: 0 !important;
	padding: 15px 0 !important;
	background: var(--mmm-surface-header, var(--mmm-portal-background, #fff)) !important;
	color: var(--mmm-text-header, var(--wp--preset--color--text, #1e1e1e));
	border-bottom: 0;
}

.mmm-header-main__inner {
	box-sizing: border-box;
	display: grid !important;
	grid-template-columns: 64px minmax(0, 1fr);
	align-items: stretch !important;
	gap: 8px !important;
	width: 100%;
	max-width: var(--wp--style--global--wide-size, 1143px);
	margin: 0 auto !important;
	padding: 0 !important;
}

.mmm-header-logo-tile {
	box-sizing: border-box;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 72px;
	margin: 0 !important;
	padding: 8px;
	border-radius: var(--mmm-card-radius, 8px);
	background: var(--mmm-nav-tile-bg);
}

.mmm-header-logo-tile .wp-block-site-logo { margin: 0 !important; }
.mmm-header-logo-tile .wp-block-site-logo img {
	display: block;
	width: auto;
	height: auto;
	max-width: 44px;
	max-height: 44px;
}

.mmm-header-main__inner .wp-block-template-part,
.mmm-header-main__inner .wp-block-mmm-navigation,
.mmm-navigation-adapter {
	min-width: 0;
	width: 100%;
	height: 100%;
	margin: 0 !important;
}

.mmm-navigation-adapter .wp-block-navigation {
	width: 100%;
	height: 100%;
	margin: 0;
	font-size: 14px;
	line-height: 1.15;
}

.mmm-navigation-adapter .wp-block-navigation__container {
	display: grid !important;
	grid-template-columns: 1.15fr 4fr 1.15fr .85fr;
	align-items: stretch;
	gap: 8px !important;
	width: 100%;
	height: 72px;
}

.mmm-navigation-adapter .mmm-nav-level-0 {
	position: relative;
	box-sizing: border-box;
	min-width: 0;
	height: 72px;
	margin: 0 !important;
	border-radius: var(--mmm-card-radius, 8px);
	background: var(--mmm-nav-tile-bg);
	color: var(--mmm-nav-color, var(--wp--preset--color--text, #1e1e1e));
}

.mmm-navigation-adapter .mmm-nav-level-0 > .wp-block-navigation-item__content {
	box-sizing: border-box;
	display: flex;
	align-items: center;
	width: 100%;
	height: 72px;
	padding: 10px 14px;
	border-radius: inherit;
	color: inherit;
	font-size: 14px;
	font-weight: 720;
	line-height: 1.15;
	text-decoration: none;
	transition: color .12s ease;
}

/* Strategy owns a fixed 3 × 24px geometry at all times. In the inactive state
   row 3 visually continues the level-2 band; when a level-2 branch is active,
   hovered or focused, its native submenu is layered over that reserved row. */
.mmm-navigation-adapter .mmm-nav-key-strategie {
	display: grid;
	grid-template-rows: 24px 24px 24px;
	align-content: stretch;
	overflow: visible;
}

.mmm-navigation-adapter .mmm-nav-key-strategie::after {
	content: "";
	position: absolute;
	z-index: 0;
	left: 0;
	right: 0;
	bottom: 0;
	height: 24px;
	border-radius: 0 0 var(--mmm-card-radius, 8px) var(--mmm-card-radius, 8px);
	background: var(--mmm-nav-band-2-bg);
	pointer-events: none;
}

.mmm-navigation-adapter .mmm-nav-key-strategie > .wp-block-navigation-item__content {
	position: relative;
	z-index: 1;
	align-items: center;
	height: 24px;
	min-height: 0;
	padding: 0 10px;
	font-size: 14px;
	font-weight: 760;
}

.mmm-navigation-adapter .mmm-nav-key-strategie > .wp-block-navigation__submenu-icon {
	display: none;
}

.mmm-navigation-adapter .mmm-nav-key-strategie > .wp-block-navigation__submenu-container {
	position: static !important;
	z-index: 1;
	inset: auto !important;
	display: flex !important;
	flex-direction: row !important;
	align-items: stretch;
	gap: 0 !important;
	visibility: visible !important;
	opacity: 1 !important;
	width: 100% !important;
	height: 24px !important;
	min-width: 0 !important;
	margin: 0 !important;
	padding: 0 2px !important;
	overflow: visible !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: var(--mmm-nav-band-2-bg) !important;
	color: var(--mmm-text-nav-2, var(--mmm-nav-color));
	box-shadow: none !important;
	transform: none !important;
}

.mmm-navigation-adapter .mmm-nav-key-strategie > .wp-block-navigation__submenu-container > .mmm-nav-level-1 {
	position: static;
	display: flex;
	align-items: stretch;
	flex: 0 1 auto;
	width: auto;
	min-width: 0;
	background: transparent;
	border-radius: 0;
}

.mmm-navigation-adapter .mmm-nav-key-strategie > .wp-block-navigation__submenu-container > .mmm-nav-level-1 > .wp-block-navigation-item__content {
	display: flex;
	align-items: center;
	width: auto;
	height: 24px;
	min-height: 0;
	padding: 0 8px;
	border-radius: 0;
	color: inherit;
	font-size: 12px;
	font-weight: 620;
	line-height: 1.1;
	white-space: nowrap;
	transition: color .12s ease;
}

.mmm-navigation-adapter .mmm-nav-key-strategie > .wp-block-navigation__submenu-container > .mmm-nav-level-1 > .wp-block-navigation__submenu-icon {
	display: none;
}

.mmm-navigation-adapter .mmm-nav-key-strategie .mmm-nav-level-1 > .wp-block-navigation__submenu-container {
	box-sizing: border-box;
	position: absolute !important;
	z-index: 3;
	top: 48px !important;
	left: 0 !important;
	display: none !important;
	flex-direction: row !important;
	align-items: stretch;
	gap: 0 !important;
	visibility: visible !important;
	opacity: 1 !important;
	width: 100% !important;
	height: 24px !important;
	min-width: 0 !important;
	margin: 0 !important;
	padding: 0 2px !important;
	border: 0 !important;
	border-radius: 0 0 var(--mmm-card-radius, 8px) var(--mmm-card-radius, 8px) !important;
	background: var(--mmm-nav-band-3-bg) !important;
	color: var(--mmm-text-nav-3, var(--mmm-nav-color));
	box-shadow: none !important;
	transform: none !important;
}

/* Reveal level 3 without any reflow. */
.mmm-navigation-adapter .mmm-nav-key-strategie .mmm-nav-level-1.mmm-nav-current-branch > .wp-block-navigation__submenu-container,
.mmm-navigation-adapter .mmm-nav-key-strategie .mmm-nav-level-1:hover > .wp-block-navigation__submenu-container,
.mmm-navigation-adapter .mmm-nav-key-strategie .mmm-nav-level-1:focus-within > .wp-block-navigation__submenu-container {
	display: flex !important;
}

.mmm-navigation-adapter .mmm-nav-key-strategie .mmm-nav-level-2 {
	position: static;
	display: flex;
	align-items: center;
	width: auto;
	height: 24px;
	background: transparent;
}

.mmm-navigation-adapter .mmm-nav-key-strategie .mmm-nav-level-2 > .wp-block-navigation-item__content {
	box-sizing: border-box;
	display: flex;
	align-items: center;
	width: auto;
	height: 24px;
	min-height: 24px;
	padding: 0 9px;
	border-radius: 0;
	color: inherit;
	font-size: 11px;
	font-weight: 500;
	line-height: 1.15 !important;
	white-space: nowrap;
	transition: color .12s ease;
}

/* One vertical owner: the 24px item row. The native label keeps normal
   typographic metrics instead of getting a second forced 24px line box. */
.mmm-navigation-adapter .mmm-nav-key-strategie .mmm-nav-level-2 > .wp-block-navigation-item__content > .wp-block-navigation-item__label {
	display: block;
	line-height: 1.15 !important;
}

/* Portal-wide navigation state roles.
 *
 * The three navigation levels keep their native WordPress route/current state.
 * UI System only maps semantic hover/current surfaces and foregrounds onto those
 * states; it does not create a second navigation-state model.
 */
.mmm-navigation-adapter .mmm-nav-level-0 > .wp-block-navigation-item__content:hover {
	background: var(--mmm-surface-nav-1-hover, var(--mmm-surface-nav-1)) !important;
	color: var(--mmm-text-nav-1-hover, var(--mmm-text-nav-1)) !important;
}
.mmm-navigation-adapter .mmm-nav-level-1 > .wp-block-navigation-item__content:hover {
	background: var(--mmm-surface-nav-2-hover, var(--mmm-surface-nav-2)) !important;
	color: var(--mmm-text-nav-2-hover, var(--mmm-text-nav-2)) !important;
}
.mmm-navigation-adapter .mmm-nav-level-2 > .wp-block-navigation-item__content:hover {
	background: var(--mmm-surface-nav-3-hover, var(--mmm-surface-nav-3)) !important;
	color: var(--mmm-text-nav-3-hover, var(--mmm-text-nav-3)) !important;
}

/* Current route/branch wins over hover so the user's location remains stable. */
.mmm-navigation-adapter .mmm-nav-level-0.mmm-nav-current-branch > .wp-block-navigation-item__content,
.mmm-navigation-adapter .mmm-nav-level-0 > .wp-block-navigation-item__content[aria-current="page"],
.mmm-navigation-adapter.mmm-navigation-current--pmcs .mmm-nav-key-pmcs > .wp-block-navigation-item__content,
.mmm-navigation-adapter.mmm-navigation-current--uitvoering .mmm-nav-key-uitvoering > .wp-block-navigation-item__content,
.mmm-navigation-adapter.mmm-navigation-current--strategie .mmm-nav-key-strategie > .wp-block-navigation-item__content {
	background: var(--mmm-surface-nav-1-active, var(--mmm-surface-nav-1)) !important;
	color: var(--mmm-text-nav-1-active, var(--mmm-text-nav-1)) !important;
}

.mmm-navigation-adapter .mmm-nav-level-1.mmm-nav-current-branch > .wp-block-navigation-item__content,
.mmm-navigation-adapter .mmm-nav-level-1 > .wp-block-navigation-item__content[aria-current="page"] {
	background: var(--mmm-surface-nav-2-active, var(--mmm-surface-nav-2)) !important;
	color: var(--mmm-text-nav-2-active, var(--mmm-text-nav-2)) !important;
}

.mmm-navigation-adapter .mmm-nav-level-2.mmm-nav-current-branch > .wp-block-navigation-item__content,
.mmm-navigation-adapter .mmm-nav-level-2 > .wp-block-navigation-item__content[aria-current="page"] {
	background: var(--mmm-surface-nav-3-active, var(--mmm-surface-nav-3)) !important;
	color: var(--mmm-text-nav-3-active, var(--mmm-text-nav-3)) !important;
}

/* Focus is system/accessibility feedback, not another brand state. */
.mmm-navigation-adapter .wp-block-navigation-item__content:focus-visible {
	outline: 2px solid currentColor !important;
	outline-offset: -2px;
}

/* Tactiek and future Uitvoering children use normal Core Navigation dropdowns.
 * The dropdown is still part of the shared navigation hierarchy: direct children
 * project Navigation level 2; a nested submenu projects Navigation level 3.
 */
.mmm-navigation-adapter .mmm-nav-key-pmcs > .wp-block-navigation__submenu-container,
.mmm-navigation-adapter .mmm-nav-key-uitvoering > .wp-block-navigation__submenu-container {
	min-width: 230px !important;
	padding: 7px !important;
	border: 1px solid color-mix(in srgb, var(--mmm-text-nav-2, var(--mmm-nav-color, #1e1e1e)) 12%, transparent) !important;
	border-radius: var(--mmm-card-radius, 8px) !important;
	background: var(--mmm-surface-nav-2, var(--mmm-nav-band-2-bg, var(--mmm-portal-background, #fff))) !important;
	color: var(--mmm-text-nav-2, var(--mmm-nav-color, #1e1e1e)) !important;
	box-shadow: 0 16px 40px rgba(0,0,0,.12);
}

.mmm-navigation-adapter .mmm-nav-key-pmcs > .wp-block-navigation__submenu-container > .wp-block-navigation-item,
.mmm-navigation-adapter .mmm-nav-key-uitvoering > .wp-block-navigation__submenu-container > .wp-block-navigation-item,
.mmm-navigation-adapter .mmm-nav-key-pmcs > .wp-block-navigation__submenu-container > .wp-block-navigation-item > .wp-block-navigation-item__content,
.mmm-navigation-adapter .mmm-nav-key-uitvoering > .wp-block-navigation__submenu-container > .wp-block-navigation-item > .wp-block-navigation-item__content {
	color: var(--mmm-text-nav-2, var(--mmm-nav-color, #1e1e1e)) !important;
}

.mmm-navigation-adapter .mmm-nav-key-pmcs > .wp-block-navigation__submenu-container .wp-block-navigation-item__content,
.mmm-navigation-adapter .mmm-nav-key-uitvoering > .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
	width: 100%;
	padding: 9px 10px;
	border-radius: 5px;
	font-size: 12px;
	font-weight: 560;
	white-space: normal;
}

.mmm-navigation-adapter .mmm-nav-key-pmcs > .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container,
.mmm-navigation-adapter .mmm-nav-key-uitvoering > .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container {
	border-color: color-mix(in srgb, var(--mmm-text-nav-3, var(--mmm-nav-color, #1e1e1e)) 12%, transparent) !important;
	background: var(--mmm-surface-nav-3, var(--mmm-nav-band-3-bg, var(--mmm-portal-background, #fff))) !important;
	color: var(--mmm-text-nav-3, var(--mmm-nav-color, #1e1e1e)) !important;
}

.mmm-navigation-adapter .mmm-nav-key-pmcs > .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container .wp-block-navigation-item,
.mmm-navigation-adapter .mmm-nav-key-uitvoering > .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container .wp-block-navigation-item,
.mmm-navigation-adapter .mmm-nav-key-pmcs > .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container .wp-block-navigation-item__content,
.mmm-navigation-adapter .mmm-nav-key-uitvoering > .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
	color: var(--mmm-text-nav-3, var(--mmm-nav-color, #1e1e1e)) !important;
}


/* Normal Core Navigation dropdowns use the same level-state roles. */
.mmm-navigation-adapter .mmm-nav-key-pmcs > .wp-block-navigation__submenu-container > .wp-block-navigation-item > .wp-block-navigation-item__content:hover,
.mmm-navigation-adapter .mmm-nav-key-uitvoering > .wp-block-navigation__submenu-container > .wp-block-navigation-item > .wp-block-navigation-item__content:hover {
	background: var(--mmm-surface-nav-2-hover, var(--mmm-surface-nav-2)) !important;
	color: var(--mmm-text-nav-2-hover, var(--mmm-text-nav-2)) !important;
}
.mmm-navigation-adapter .mmm-nav-key-pmcs > .wp-block-navigation__submenu-container > .wp-block-navigation-item.current-menu-item > .wp-block-navigation-item__content,
.mmm-navigation-adapter .mmm-nav-key-uitvoering > .wp-block-navigation__submenu-container > .wp-block-navigation-item.current-menu-item > .wp-block-navigation-item__content,
.mmm-navigation-adapter .mmm-nav-key-pmcs > .wp-block-navigation__submenu-container > .wp-block-navigation-item > .wp-block-navigation-item__content[aria-current="page"],
.mmm-navigation-adapter .mmm-nav-key-uitvoering > .wp-block-navigation__submenu-container > .wp-block-navigation-item > .wp-block-navigation-item__content[aria-current="page"] {
	background: var(--mmm-surface-nav-2-active, var(--mmm-surface-nav-2)) !important;
	color: var(--mmm-text-nav-2-active, var(--mmm-text-nav-2)) !important;
}
.mmm-navigation-adapter .mmm-nav-key-pmcs > .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover,
.mmm-navigation-adapter .mmm-nav-key-uitvoering > .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover {
	background: var(--mmm-surface-nav-3-hover, var(--mmm-surface-nav-3)) !important;
	color: var(--mmm-text-nav-3-hover, var(--mmm-text-nav-3)) !important;
}
.mmm-navigation-adapter .mmm-nav-key-pmcs > .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container .current-menu-item > .wp-block-navigation-item__content,
.mmm-navigation-adapter .mmm-nav-key-uitvoering > .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container .current-menu-item > .wp-block-navigation-item__content,
.mmm-navigation-adapter .mmm-nav-key-pmcs > .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container .wp-block-navigation-item__content[aria-current="page"],
.mmm-navigation-adapter .mmm-nav-key-uitvoering > .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container .wp-block-navigation-item__content[aria-current="page"] {
	background: var(--mmm-surface-nav-3-active, var(--mmm-surface-nav-3)) !important;
	color: var(--mmm-text-nav-3-active, var(--mmm-text-nav-3)) !important;
}

@media (min-width: 783px) and (max-width: 1050px) {
	.mmm-header-main__inner {
		grid-template-columns: 58px minmax(0,1fr);
		gap: 6px !important;
	}
	.mmm-navigation-adapter .wp-block-navigation__container {
		gap: 6px !important;
	}
	.mmm-navigation-adapter .mmm-nav-level-0 > .wp-block-navigation-item__content {
		padding-inline: 10px;
	}
	.mmm-navigation-adapter .mmm-nav-key-strategie > .wp-block-navigation__submenu-container > .mmm-nav-level-1 > .wp-block-navigation-item__content {
		padding-inline: 5px;
		font-size: 9px;
	}
}

/* Mobile remains Core Navigation's responsive overlay. */
@media (max-width: 782px) {
	.mmm-header-main { padding: 10px 0 !important; }
	.mmm-header-main__inner {
		grid-template-columns: 52px minmax(0,1fr);
		align-items: center !important;
		gap: 10px !important;
	}
	.mmm-header-logo-tile {
		min-height: 52px;
		height: 52px;
		padding: 6px;
	}
	.mmm-header-logo-tile .wp-block-site-logo img {
		max-width: 40px;
		max-height: 40px;
	}
	.mmm-navigation-adapter .wp-block-navigation { justify-content: flex-end; }
	.mmm-navigation-adapter .wp-block-navigation__container {
		display: flex !important;
		width: auto;
		height: auto;
	}

	.mmm-navigation-adapter .mmm-nav-level-0,
	.mmm-navigation-adapter .mmm-nav-key-strategie {
		display: block;
		height: auto;
		min-height: 0;
		border-radius: 0;
		background: transparent;
	}
	.mmm-navigation-adapter .mmm-nav-key-strategie::after { display: none; }

	.mmm-navigation-adapter .mmm-nav-level-0 > .wp-block-navigation-item__content,
	.mmm-navigation-adapter .mmm-nav-key-strategie > .wp-block-navigation-item__content {
		height: auto;
		min-height: 0;
		padding: 10px 12px;
		font-size: 16px;
	}

	.mmm-navigation-adapter .mmm-nav-key-strategie > .wp-block-navigation__submenu-icon,
	.mmm-navigation-adapter .mmm-nav-key-strategie > .wp-block-navigation__submenu-container > .mmm-nav-level-1 > .wp-block-navigation__submenu-icon {
		display: block;
	}

	.mmm-navigation-adapter .mmm-nav-key-strategie > .wp-block-navigation__submenu-container,
	.mmm-navigation-adapter .mmm-nav-key-strategie .mmm-nav-level-1 > .wp-block-navigation__submenu-container {
		position: static !important;
		width: auto !important;
		height: auto !important;
		margin: 4px 0 6px 12px !important;
		padding: 2px 0 2px 10px !important;
		border: 0 !important;
		border-left: 1px solid color-mix(in srgb, var(--mmm-nav-color, #1e1e1e) 15%, transparent) !important;
		border-radius: 0 !important;
		background: transparent !important;
		box-shadow: none !important;
	}

	.mmm-navigation-adapter .wp-block-navigation-submenu__toggle[aria-expanded="false"] ~ .wp-block-navigation__submenu-container {
		display: none !important;
	}
	.mmm-navigation-adapter .wp-block-navigation-submenu__toggle[aria-expanded="true"] ~ .wp-block-navigation__submenu-container {
		display: block !important;
	}

	.mmm-navigation-adapter .mmm-nav-key-strategie > .wp-block-navigation__submenu-container > .mmm-nav-level-1,
	.mmm-navigation-adapter .mmm-nav-key-strategie .mmm-nav-level-2 {
		display: block;
		width: 100%;
	}
	.mmm-navigation-adapter .mmm-nav-key-strategie > .wp-block-navigation__submenu-container > .mmm-nav-level-1 > .wp-block-navigation-item__content,
	.mmm-navigation-adapter .mmm-nav-key-strategie .mmm-nav-level-2 > .wp-block-navigation-item__content {
		height: auto;
		min-height: 0;
		padding: 8px 10px;
		font-size: 14px;
	}

	.mmm-navigation-adapter .wp-block-navigation__responsive-container.is-menu-open {
		box-sizing: border-box;
		padding: 24px;
		background: var(--mmm-portal-background, #fff);
		color: var(--mmm-nav-color, var(--wp--preset--color--text, #1e1e1e));
	}
}

@media (prefers-reduced-motion: reduce) {
	.mmm-navigation-adapter .wp-block-navigation-item__content { transition: none; }
}

/* MMM Theme 0.15.34 — Brand Settings Card/Grid + arbitrary brand palette source */
.mmm-brand-frontend__source-swatch {
	width: 18px;
	height: 18px;
	flex: 0 0 18px;
	border-radius: 50%;
	background: var(--mmm-source-swatch);
	box-shadow: inset 0 0 0 1px color-mix(in srgb,currentColor 18%,transparent);
}


/* MMM Theme 0.15.35 — Brand Settings progressive portal-style controls */
.mmm-brand-frontend__portal-style {
	margin-top: 24px;
	padding-top: 22px;
	border-top: 1px solid color-mix(in srgb,currentColor 12%,transparent);
}
.mmm-brand-frontend__portal-style > h3 { margin: 0 0 5px; }
.mmm-brand-frontend__style-intro { margin: 0 0 20px; max-width: 760px; opacity: .7; }
.mmm-brand-frontend__style-group { margin: 0 0 20px; }
.mmm-brand-frontend__style-group > strong { display:block; margin-bottom: 9px; }
.mmm-brand-frontend__presets { display:flex; flex-wrap:wrap; gap:8px; }
.mmm-brand-frontend__presets button {
	appearance:none; border:1px solid color-mix(in srgb,currentColor 16%,transparent);
	border-radius:var(--mmm-button-radius,6px); padding:var(--mmm-button-padding-y,5px) var(--mmm-button-padding-x,14px);
	background:color-mix(in srgb,currentColor 4%,transparent); color:inherit; font:inherit; font-weight:700; cursor:pointer;
}
.mmm-brand-frontend__presets button:hover { background:color-mix(in srgb,currentColor 9%,transparent); }
.mmm-brand-frontend__presets button.is-active {
	background:color-mix(in srgb,currentColor 12%,transparent);
	border-color:currentColor;
	box-shadow:inset 0 0 0 1px currentColor;
}
.mmm-brand-frontend__human-controls { display:grid; gap:16px; max-width:720px; margin:22px 0; }
.mmm-brand-frontend__human-controls label { display:grid; gap:6px; }
.mmm-brand-frontend__human-controls label > span { display:flex; justify-content:space-between; font-size:var(--wp--preset--font-size--small); }
.mmm-brand-frontend__human-controls input[type="range"],
.mmm-brand-frontend__advanced input[type="range"] { width:100%; }

.mmm-brand-frontend__surface-controls { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; max-width:720px; margin:22px 0; }
.mmm-brand-frontend__surface-controls label { display:grid; gap:7px; }
.mmm-brand-frontend__surface-controls select { width:100%; min-height:40px; }
.mmm-brand-frontend__surface-controls p { grid-column:1/-1; margin:0; font-size:var(--wp--preset--font-size--small); color:var(--mmm-text-muted,currentColor); }
.mmm-brand-frontend__portal-preview {
	overflow:hidden; margin:22px 0; border:1px solid color-mix(in srgb,currentColor 14%,transparent);
	border-radius:var(--mmm-card-radius,10px); background:var(--mmm-preview-portal,#f5f5f5); color:var(--mmm-preview-portal-text,#1e1e1e);
}
.mmm-brand-frontend__preview-header { padding:12px 14px; background:var(--mmm-preview-header,#fff); color:var(--mmm-preview-header-text,#1e1e1e); font-weight:700; }
.mmm-brand-frontend__preview-nav { display:grid; grid-template-columns:repeat(3,1fr); }
.mmm-brand-frontend__preview-nav span { padding:10px 12px; font-size:var(--wp--preset--font-size--small); font-weight:700; }
.mmm-brand-frontend__preview-nav span:nth-child(1){background:var(--mmm-preview-nav1);color:var(--mmm-preview-nav1-text,#1e1e1e);}
.mmm-brand-frontend__preview-nav span:nth-child(2){background:var(--mmm-preview-nav2);color:var(--mmm-preview-nav2-text,#1e1e1e);}
.mmm-brand-frontend__preview-nav span:nth-child(3){background:var(--mmm-preview-nav3);color:var(--mmm-preview-nav3-text,#1e1e1e);}
.mmm-brand-frontend__preview-body { display:grid; grid-template-columns:auto 1fr 1fr; gap:12px; align-items:start; padding:16px; }
.mmm-brand-frontend__preview-card,.mmm-brand-frontend__preview-panel { padding:18px; border-radius:var(--mmm-card-radius,10px); background:#fff; font-weight:700; }
.mmm-brand-frontend__advanced { margin-top:18px; padding-top:16px; border-top:1px solid color-mix(in srgb,currentColor 10%,transparent); }
.mmm-brand-frontend__advanced summary { cursor:pointer; font-weight:700; }
.mmm-brand-frontend__advanced-grid { display:grid; gap:14px; max-width:720px; margin-top:14px; }
.mmm-brand-frontend__advanced-grid label { display:grid; grid-template-columns:130px 1fr 55px; gap:10px; align-items:center; }
@media(max-width:700px){
	.mmm-brand-frontend__surface-controls { grid-template-columns:1fr; }
	.mmm-brand-frontend__preview-body { grid-template-columns:1fr; }
	.mmm-brand-frontend__advanced-grid label { grid-template-columns:1fr; }
}


/* MMM Theme 0.15.39 — centralized frontend Button / Utility foundations.
   Semantic ownership lives here; legacy consumer classes remain compatibility aliases. */
.mmm-button,
.mmm-workspace__button {
	appearance: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .45em;
	min-height: 36px;
	margin: 0;
	padding: var(--mmm-button-padding-y, 5px) var(--mmm-button-padding-x, 14px);
	border: 1px solid transparent;
	border-radius: var(--mmm-button-radius, 6px);
	box-sizing: border-box;
	font-family: inherit;
	font-size: var(--mmm-button-font-size, 14px);
	font-weight: 700;
	line-height: 1.25;
	text-decoration: none;
	white-space: nowrap;
	cursor: pointer;
	transition: background-color .15s ease, color .15s ease, border-color .15s ease, opacity .15s ease;
}
.mmm-button--primary,
.mmm-workspace__button:not(.mmm-workspace__button--secondary) {
	background: var(--mmm-button-background, var(--wp--preset--color--brand-primary, #222));
	color: var(--mmm-button-text, #fff) !important;
}
.mmm-button--primary:hover,
.mmm-button--primary:active,
.mmm-workspace__button:not(.mmm-workspace__button--secondary):hover,
.mmm-workspace__button:not(.mmm-workspace__button--secondary):active {
	filter: brightness(.94);
}
.mmm-button--secondary,
.mmm-workspace__button--secondary {
	border-color: color-mix(in srgb, currentColor 24%, transparent);
	background: color-mix(in srgb, currentColor 4%, transparent);
	color: inherit !important;
}
.mmm-button--secondary:hover,
.mmm-workspace__button--secondary:hover {
	background: color-mix(in srgb, currentColor 9%, transparent);
}
.mmm-button--subtle {
	border-color: transparent;
	background: transparent;
	color: inherit !important;
}
.mmm-button--subtle:hover { background: color-mix(in srgb, currentColor 7%, transparent); }
.mmm-button:focus-visible,
.mmm-workspace__button:focus-visible,
.mmm-utility-control:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 2px;
}
.mmm-button:disabled,
.mmm-button[aria-disabled="true"],
.mmm-workspace__button:disabled,
.mmm-workspace__button[aria-disabled="true"] {
	opacity: .45;
	cursor: not-allowed;
	pointer-events: none;
}

.mmm-utility-control,
.mmm-workspace__modulebar-edit,
.mmm-workspace__modulebar-delete {
	appearance: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 30px;
	margin: 0;
	padding: 6px 8px;
	border: 0;
	border-radius: var(--mmm-utility-radius, 0px);
	box-sizing: border-box;
	background: transparent;
	color: inherit;
	font: inherit;
	font-size: var(--wp--preset--font-size--small);
	font-weight: 600;
	line-height: 1;
	text-decoration: none;
	cursor: pointer;
	opacity: .68;
	transition: background-color .15s ease, color .15s ease, opacity .15s ease;
}
.mmm-utility-control:hover,
.mmm-workspace__modulebar-edit:hover {
	background: color-mix(in srgb, currentColor 7%, transparent);
	opacity: 1;
}
.mmm-utility-control--danger,
.mmm-workspace__modulebar-delete {
	opacity: .5;
}
.mmm-utility-control--danger:hover,
.mmm-workspace__modulebar-delete:hover {
	background: color-mix(in srgb, #b42318 10%, transparent);
	color: #b42318;
	opacity: 1;
}

/* System Notice is system identity projected through the same central semantic
   colour + typography contracts. Legacy Guidance item/family colours only
   replace these custom properties; they do not create a parallel renderer. */
.mmm-system-notice {
	position: relative;
	--mmm-card-title-size: var(--mmm-type-h3, 19px);
	--mmm-card-body-size: var(--mmm-card-content-size, 14px);
	--mmm-card-meta-size: var(--mmm-type-small, 13px);
	background: var(--mmm-surface-system-notice, var(--mmm-surface-card, #fff));
	color: var(--mmm-text-system-notice, var(--mmm-text-card, #1e1e1e));
}
.mmm-system-notice .mmm-card-shell__header {
	align-items: flex-start;
}
.mmm-system-notice .mmm-card-shell__meta,
.mmm-system-notice .mmm-guidance__type {
	color: var(--mmm-text-system-notice-muted, var(--mmm-text-system-notice, currentColor));
}
.mmm-system-notice .mmm-card-shell__body {
	font-size: var(--mmm-card-body-size);
}

/* MMM Theme 0.15.40 — System Notice consumes central semantic surface/foreground and explicit type tokens; Button owns small-label typography instead of inheriting arbitrary consumer context. */

/* MMM Theme 0.15.41 — System Notice role-resolution + typography ownership.
 * Notice typography is an explicit projection of the central MMM type scale;
 * consumer/context heading rules may not resize the System Notice. */
.mmm-system-notice .mmm-card-shell__title {
	font-size: var(--mmm-type-h3, 19px) !important;
	line-height: 1.2 !important;
}
.mmm-system-notice .mmm-card-shell__body,
.mmm-system-notice .mmm-card-shell__body p,
.mmm-system-notice .mmm-card-shell__body li {
	font-size: var(--mmm-type-body, 16px) !important;
	line-height: 1.5;
}
.mmm-system-notice .mmm-card-shell__meta,
.mmm-system-notice .mmm-system-notice__identity,
.mmm-system-notice .mmm-guidance__type {
	font-size: var(--mmm-type-small, 13px) !important;
}
.mmm-system-notice .mmm-button,
.mmm-system-notice .mmm-workspace__button {
	font-size: var(--mmm-type-small, 13px) !important;
}

/* MMM Theme 0.15.42 — System Notice semantic surface + body-link ownership.
 * The canonical Card Shell selector has higher specificity than a single
 * .mmm-system-notice class. Specialize the same Card Shell contract here so
 * the resolved UI System System Notice role actually owns its surface/text.
 * Inline links inside Notice body content are content, not card actions:
 * they inherit body typography instead of the historical card-link small label. */
.mmm-presentation-grid > .mmm-card-shell.mmm-system-notice,
.mmm-card-shell.mmm-system-notice {
	background: var(--mmm-surface-system-notice, var(--mmm-surface-card, #fff));
	color: var(--mmm-text-system-notice, var(--mmm-text-card, #1e1e1e));
}

.mmm-system-notice .mmm-card-shell__body a {
	font-size: inherit !important;
	font-weight: inherit;
	line-height: inherit;
	color: inherit;
	text-decoration: underline;
	text-underline-offset: .12em;
}

.mmm-system-notice .mmm-card-shell__body a:hover,
.mmm-system-notice .mmm-card-shell__body a:focus-visible {
	text-decoration-thickness: .12em;
}


/* MMM Theme 0.15.43 — Button consumer consolidation.
 * Data Editor, Media Picker and Brand Assets now consume the central
 * .mmm-button / .mmm-utility-control contracts. Consumer selectors retain
 * layout/content responsibilities only; button geometry and interaction
 * styling remain centrally owned by the shared primitives. */


/* MMM Theme 0.15.44 — Form Control foundations.
 * One frontend control language for inputs/selects/textareas, including
 * Select2/ACF-style enhanced selects. Consumers keep layout only. */
.mmm-workspace :where(input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="submit"]):not([type="button"]):not([type="reset"]), select, textarea),
.mmm-data-editor :where(input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="submit"]):not([type="button"]):not([type="reset"]), select, textarea),
.mmm-module-dialog :where(input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="submit"]):not([type="button"]):not([type="reset"]), select, textarea) {
	box-sizing: border-box;
	min-height: 40px;
	padding: 8px 11px;
	border: 1px solid color-mix(in srgb, currentColor 22%, transparent);
	border-radius: var(--mmm-button-radius, 6px);
	background: var(--mmm-surface-control, #fff);
	color: var(--mmm-text-control, #1e1e1e);
	font: inherit;
	line-height: 1.35;
	color-scheme: var(--mmm-color-scheme-control, light);
}

.mmm-workspace :where(textarea),
.mmm-data-editor :where(textarea),
.mmm-module-dialog :where(textarea) {
	min-height: 96px;
	resize: vertical;
}

.mmm-workspace :where(input, textarea)::placeholder,
.mmm-data-editor :where(input, textarea)::placeholder,
.mmm-module-dialog :where(input, textarea)::placeholder {
	color: color-mix(in srgb, var(--mmm-text-control, #1e1e1e) 68%, var(--mmm-surface-control, #fff));
	opacity: 1;
}

.mmm-workspace :where(input, select, textarea):focus,
.mmm-data-editor :where(input, select, textarea):focus,
.mmm-module-dialog :where(input, select, textarea):focus {
	outline: 2px solid currentColor;
	outline-offset: 2px;
}

.mmm-workspace :where(input, select, textarea):disabled,
.mmm-data-editor :where(input, select, textarea):disabled,
.mmm-module-dialog :where(input, select, textarea):disabled {
	opacity: .58;
	cursor: not-allowed;
}

/* Enhanced select widgets are a projection of the same Form Control primitive. */
.mmm-module-dialog .select2-container .select2-selection,
.mmm-workspace .select2-container .select2-selection,
.mmm-data-editor .select2-container .select2-selection {
	box-sizing: border-box;
	min-height: 40px;
	border: 1px solid color-mix(in srgb, var(--mmm-text-control, #1e1e1e) 22%, transparent);
	border-radius: var(--mmm-button-radius, 6px);
	background: var(--mmm-surface-control, #fff);
	color: var(--mmm-text-control, #1e1e1e);
}

.mmm-module-dialog .select2-container .select2-selection__rendered,
.mmm-workspace .select2-container .select2-selection__rendered,
.mmm-data-editor .select2-container .select2-selection__rendered {
	color: var(--mmm-text-control, #1e1e1e);
	line-height: 38px;
}

.select2-dropdown {
	background: var(--mmm-surface-control, #fff);
	color: var(--mmm-text-control, #1e1e1e);
	border-color: color-mix(in srgb, var(--mmm-text-control, #1e1e1e) 22%, transparent);
	color-scheme: var(--mmm-color-scheme-control, light);
}

.select2-search__field {
	background: var(--mmm-surface-control, #fff) !important;
	color: var(--mmm-text-control, #1e1e1e) !important;
	border-color: color-mix(in srgb, var(--mmm-text-control, #1e1e1e) 22%, transparent) !important;
}

.select2-results__option {
	color: var(--mmm-text-control, #1e1e1e);
	background: var(--mmm-surface-control, #fff);
}

.select2-results__option--highlighted[aria-selected],
.select2-results__option--highlighted[data-selected] {
	background: color-mix(in srgb, var(--mmm-text-control, #1e1e1e) 10%, var(--mmm-surface-control, #fff));
	color: var(--mmm-text-control, #1e1e1e);
}

/* Panel/Data-editor copy inherits its semantic panel foreground.
 * Historical creator/picker/editor containers inherited Portal text even when
 * their own surface was light. The Panel role owns both sides now. */
.mmm-workspace__editor:not(.mmm-module-dialog__panel),
.mmm-workspace__picker,
.mmm-workspace__empty,
.mmm-data-editor,
.mmm-workspace__editor:not(.mmm-module-dialog__panel) :where(h1,h2,h3,h4,label,p,small,legend),
.mmm-workspace__picker :where(h1,h2,h3,h4,label,p,small,legend),
.mmm-data-editor :where(h1,h2,h3,h4,label,p,small,legend) {
	color: var(--mmm-text-panel, inherit);
}

.mmm-workspace__editor:not(.mmm-module-dialog__panel) .mmm-workspace__muted,
.mmm-workspace__picker .mmm-workspace__muted,
.mmm-data-editor .mmm-workspace__muted {
	color: var(--mmm-text-panel-muted, var(--mmm-text-panel, currentColor));
}

/* Native select popups are browser/OS rendered, but supporting engines can
 * still consume the same semantic Form Control surface/text. */
.mmm-workspace select option,
.mmm-data-editor select option,
.mmm-module-dialog select option {
	background: var(--mmm-surface-control, #fff);
	color: var(--mmm-text-control, #1e1e1e);
}

/* MMM Theme 0.15.45 — Form surface ownership.
 * Creator/picker/editor panels consume Panel; actual controls consume their
 * dedicated Form Control role. This removes Portal-text leakage into light
 * panels and keeps controls visibly one semantic layer above/beside panels. */


/* MMM Theme 0.15.46 — Typography consumer consolidation.
 * Central UI System type tokens own normal workspace hierarchy.
 * Navigation/system chrome and intrinsically icon-sized controls remain specialist contexts. */
.mmm-workspace :where(p, li, input, select, textarea) {
	font-size: var(--mmm-type-body);
}
.mmm-workspace :where(.mmm-workspace__muted, .mmm-workspace__eyebrow, .mmm-workspace__progress,
	.mmm-workspace__breadcrumb, .mmm-workspace__choice span, .mmm-workspace__back,
	.mmm-workspace__subnav-card span, .mmm-workspace__action, .mmm-workspace__card-action,
	.mmm-data-editor-tools__hint, .mmm-data-editor-form .acf-label label,
	.mmm-pmc-creator__or, .mmm-activity-filters label > span,
	.mmm-brand-assets__meta span, .mmm-brand-assets__filemeta) {
	font-size: var(--mmm-type-small);
	line-height: 1.4;
}
.mmm-workspace :where(label, .mmm-data-editor-form .acf-label label) {
	font-weight: var(--mmm-type-label-weight);
}
.mmm-workspace :where(.mmm-workspace__muted, .mmm-workspace__eyebrow, .mmm-workspace__progress,
	.mmm-workspace__breadcrumb, .mmm-data-editor-tools__hint, .mmm-brand-assets__meta span,
	.mmm-brand-assets__filemeta) {
	font-weight: var(--mmm-type-meta-weight);
}
.mmm-workspace :where(h1,h2,h3,h4) {
	margin-block-start: 0;
}
.mmm-workspace :where(a:not(.mmm-button):not(.mmm-utility-control)) {
	font-size: inherit;
}
.mmm-data-reader__richtext {
	font-size: var(--mmm-type-body);
	line-height: var(--mmm-type-body-line-height);
}
.mmm-media-picker__head h2 {
	font-size: var(--mmm-type-h2);
	line-height: var(--mmm-type-h2-line-height);
	font-weight: var(--mmm-type-heading-weight);
}
.mmm-system-notice .mmm-card-shell__title {
	font-size: var(--mmm-type-h3) !important;
	line-height: var(--mmm-type-h3-line-height) !important;
	font-weight: var(--mmm-type-heading-weight) !important;
}
.mmm-system-notice .mmm-card-shell__body {
	font-size: var(--mmm-type-body) !important;
	line-height: var(--mmm-type-body-line-height) !important;
}


/* MMM Theme 0.15.47 — Typography semantic consumer ownership.
 * A link does not change the semantic role of the text containing it.
 * Card title/body/footer/meta now retain their canonical typography whether
 * the content is plain text or linked. */
.mmm-card-shell__title > a {
	font: inherit !important;
	line-height: inherit !important;
	font-weight: inherit !important;
	color: inherit;
	text-decoration: none;
}
.mmm-card-shell__body {
	font-size: var(--mmm-card-body-size, var(--mmm-card-content-size, 14px));
	line-height: var(--mmm-type-body-line-height);
}
.mmm-card-shell__body :where(p, li) {
	font-size: inherit;
	line-height: inherit;
}
.mmm-card-shell__body :where(a:not(.mmm-button):not(.mmm-utility-control):not(.mmm-workspace__strategy-link-items a)) {
	font-size: inherit;
	font-weight: inherit;
	line-height: inherit;
}
.mmm-card-shell__footer,
.mmm-card-shell__footer :where(a:not(.mmm-button):not(.mmm-utility-control)) {
	font-size: var(--mmm-type-small);
	font-weight: var(--mmm-type-label-weight);
	line-height: 1.4;
}
.mmm-card-shell__meta,
.mmm-card-shell__meta :where(span, small) {
	font-size: var(--mmm-type-small);
	font-weight: var(--mmm-type-meta-weight);
	line-height: 1.4;
}
.mmm-workspace__section > h3 {
	font-size: var(--mmm-type-h3);
	line-height: var(--mmm-type-h3-line-height);
	font-weight: var(--mmm-type-heading-weight);
}
.mmm-home-goals a > strong,
.mmm-home-activities a > strong,
.mmm-home-attention-list a > strong {
	font-size: var(--mmm-type-body);
	line-height: var(--mmm-type-body-line-height);
	font-weight: var(--mmm-type-label-weight);
}
.mmm-home-goals small,
.mmm-home-activities small,
.mmm-home-attention-list small {
	font-size: var(--mmm-type-small);
	line-height: 1.4;
	font-weight: var(--mmm-type-meta-weight);
}


/* MMM Theme 0.15.48 — Spacing & Layout semantic consolidation.
 * UI System owns a small shared rhythm. Consumers choose a semantic role;
 * Card internals, controls and system chrome retain their dedicated primitives. */

/* Page/workspace rhythm. */
.mmm-workspace {
	gap: var(--mmm-layout-section-gap, var(--mmm-workspace-gap, 24px));
}
.mmm-workspace__head {
	gap: var(--mmm-layout-section-gap, var(--mmm-workspace-gap, 24px));
}
.mmm-workspace__section {
	margin-top: var(--mmm-layout-section-gap, var(--mmm-workspace-gap, 24px));
}
.mmm-workspace__section > :where(h2,h3,h4):first-child {
	margin-bottom: var(--mmm-layout-compact-gap, 8px);
}
/* Shared collection/grid rhythm. */
.mmm-workspace__grid,
.mmm-workspace__subnav,
.mmm-workspace__strategy-links,
.mmm-home-dashboard__summaries,
.mmm-home-dashboard__work,
.mmm-home-dashboard__columns,
.mmm-home-dashboard__overview {
	gap: var(--mmm-layout-flow-gap, 16px);
}
.mmm-presentation-grid {
	gap: var(--mmm-presentation-gap, var(--mmm-layout-section-gap, var(--mmm-workspace-gap, 24px)));
}

/* Normal vertical flow inside editor/picker/relation containers.
 * Card Shell body spacing remains owned by the Presentation/Card contract. */
.mmm-workspace__picker-group,
.mmm-workspace__relation-head,
.mmm-workspace__form-actions {
	margin-top: var(--mmm-layout-section-gap, var(--mmm-workspace-gap, 24px));
}
.mmm-workspace__picker-section,
.mmm-home-dashboard__more {
	margin-top: var(--mmm-layout-flow-gap, 16px);
}
.mmm-workspace__choices,
.mmm-workspace__relation-links {
	gap: var(--mmm-layout-compact-gap, 8px);
}
.mmm-workspace__form-actions {
	gap: var(--mmm-layout-control-gap, 12px);
}

/* Semantic stack helper for new MMM application UI; not a second renderer. */
.mmm-stack {
	display: flex;
	flex-direction: column;
	gap: var(--mmm-layout-flow-gap, 16px);
}
.mmm-stack--compact {
	gap: var(--mmm-layout-compact-gap, 8px);
}
.mmm-stack--section {
	gap: var(--mmm-layout-section-gap, var(--mmm-workspace-gap, 24px));
}


/* MMM Theme 0.15.49 — Foundation closeout: flow + semantic section titles.
 * Home summary no longer carries a legacy vertical rhythm after its Card Shell migration.
 * Group headings outside Cards are Section Titles, not Card Titles or meta labels. */
.mmm-home-intro-summary .mmm-card-shell__body,
.mmm-home-intro-summary .mmm-workspace__summary-content {
	display: flow-root;
}
.mmm-workspace .mmm-section-title,
.mmm-workspace .mmm-workspace__section-title {
	margin-block: 0 var(--mmm-space-control);
	font-size: var(--mmm-type-h3);
	line-height: var(--mmm-type-h3-line-height);
	font-weight: var(--mmm-type-heading-weight);
}






/* MMM Theme 0.15.52 — Home Summary canonical Card Shell projection.
 * Parent layout owns outer rhythm; Card Shell owns card geometry and internals. */
.mmm-home-intro-summary {
	display: block;
	margin: 0;
	padding: 0;
}


/* MMM Theme 0.15.54 — semantic Panel / State / Data View ownership. */
.mmm-panel :where(h1,h2,h3,h4,label,p,small,legend),
.mmm-state--empty :where(h1,h2,h3,h4,label,p,small,legend) {
	color: inherit;
}

.mmm-panel .mmm-workspace__muted,
.mmm-state--empty .mmm-workspace__muted {
	color: var(--mmm-text-panel-muted, currentColor);
}

.mmm-panel--elevated .mmm-workspace__muted {
	color: currentColor;
	opacity: .68;
}


/* MMM Theme 0.17.42 — Home parent composition.
 * The Home intro is now a wrapper projection containing Guidance + Summary.
 * The page composition owns exactly one canonical Presentation/Card gap between
 * that complete intro projection (including its manager toolbar) and Dashboard.
 * This supersedes the pre-wrapper 0.15.57 sibling selector. */
.mmm-page-shell > .mmm-home-intro-flow + .mmm-home-dashboard {
	margin-block-start: var(--mmm-presentation-gap, var(--mmm-card-gap, 24px));
}


/* MMM Theme 0.15.58 — Card content projection + illustrative Cards. */
.mmm-card-shell__summary {
	margin: 0;
}

.mmm-card-shell__meta-list {
	display: grid;
	gap: var(--mmm-layout-compact-gap, 8px);
	margin: 0;
}

.mmm-card-shell__meta-item {
	display: flex;
	flex-wrap: wrap;
	gap: var(--mmm-space-2xs, 8px);
	align-items: baseline;
}

.mmm-card-shell__meta-item dt {
	font-weight: var(--mmm-type-label-weight, 600);
}

.mmm-card-shell__meta-item dd {
	margin: 0;
}

.mmm-card-shell--illustrative .mmm-card-shell__main {
	justify-content: center;
}

.mmm-illustrative-card__quote {
	margin: 0;
	padding: 0;
	border: 0;
}

.mmm-illustrative-card__quote-text {
	font-size: var(--wp--preset--font-size--large, 1.35rem);
	line-height: var(--mmm-type-heading-line-height, 1.3);
}

.mmm-illustrative-card__quote-text > :first-child,
.mmm-illustrative-card__message > :first-child {
	margin-top: 0;
}

.mmm-illustrative-card__quote-text > :last-child,
.mmm-illustrative-card__message > :last-child {
	margin-bottom: 0;
}

.mmm-illustrative-card__quote cite {
	display: block;
	margin-top: var(--mmm-layout-control-gap, 12px);
	font-size: var(--wp--preset--font-size--small, .875rem);
	font-style: normal;
	font-weight: var(--mmm-type-label-weight, 600);
}

.mmm-home-dashboard__actions {
	display: flex;
	justify-content: flex-end;
	margin-block-end: var(--mmm-layout-flow-gap, 16px);
}


/* MMM Theme 0.15.59 — legacy login foreground alignment. */
.mmm-login-box :where(h1,h2,h3,p,label,.login-remember) {
	color: inherit;
}


/* MMM Theme 0.15.60 — frontend Illustrative Card editor. */
.mmm-highlight-dialog__kinds {
	display: flex;
	flex-wrap: wrap;
	gap: var(--mmm-layout-control-gap, 12px);
	margin: 0;
	padding: 0;
	border: 0;
}

.mmm-highlight-dialog__kinds legend {
	width: 100%;
	margin-bottom: var(--mmm-space-2xs, 8px);
	font-weight: var(--mmm-type-label-weight, 600);
}

.mmm-highlight-dialog__kinds label {
	display: inline-flex;
	gap: var(--mmm-space-2xs, 8px);
	align-items: center;
}

.mmm-highlight-dialog textarea,
.mmm-highlight-dialog input[type="text"] {
	width: 100%;
}


/* MMM Theme 0.15.61 — full-card Image expression + unified Highlight chrome. */
.mmm-card-shell--illustrative-image[data-mmm-image-mode="poster"] {
	display:flex !important;
	flex-direction:column;
}

.mmm-card-shell--illustrative-image[data-mmm-image-mode="poster"] > .mmm-presentation-media {
	position:relative;
	flex:1 1 auto;
	width:100%;
	margin:0 !important;
	padding:0 !important;
	aspect-ratio:auto;
	border-radius:var(--mmm-card-radius,8px) var(--mmm-card-radius,8px) 0 0;
	overflow:hidden;
}

/* MMM Theme 0.15.74 — an illustrative Image card keeps 3:2 as its natural
 * minimum media geometry, but the media row may grow when the shared
 * Presentation Grid stretches the Card Shell to match a taller neighbour.
 * The pseudo-element supplies intrinsic 3:2 height without capping flex growth. */
/* MMM Theme 0.16.80 — keep Image Custom Cards on the canonical TOP-poster
 * media geometry. Image-only cards are still the same Card Shell; their lack
 * of body content must not switch the shared media row from 16:7 to 3:2. */
.mmm-card-shell--illustrative-image[data-mmm-image-mode="poster"] > .mmm-presentation-media::before {
	content:"";
	display:block;
	width:100%;
	padding-top:43.75%;
}

.mmm-card-shell--illustrative-image[data-mmm-image-mode="poster"]:not(:has(> .mmm-card-shell__manager-toolbar)) > .mmm-presentation-media {
	border-radius:var(--mmm-card-radius,8px);
}

.mmm-card-shell--illustrative-image[data-mmm-image-mode="poster"] > .mmm-presentation-media .mmm-presentation-media__image {
	position:absolute;
	inset:0;
	width:100%;
	height:100%;
	margin:0;
	aspect-ratio:auto;
	object-fit:cover;
}

.mmm-card-shell--illustrative-image[data-mmm-image-mode="poster"] > .mmm-card-shell__main {
	display:none;
}

.mmm-card-shell--illustrative-image.is-missing-image > .mmm-card-shell__main {
	display:flex;
}

.mmm-card-shell__manager-toolbar > .mmm-workspace__layout-controls {
	display:flex;
	flex:1 1 auto;
	align-items:center;
	justify-content:flex-end;
	gap:var(--mmm-utility-gap,8px);
	flex-wrap:wrap;
	min-width:0;
}

.mmm-card-shell__manager-toolbar > .mmm-workspace__layout-controls > form {
	margin:0;
}


/* MMM Theme 0.15.62 — one utility geometry inside the canonical Card manager toolbar.
 * Presentation controls and consumer actions (edit/delete/etc.) share the same
 * box model here; consumer semantics may differ, geometry may not. */
.mmm-card-shell__manager-toolbar > .mmm-workspace__layout-controls {
	gap: 4px;
}

.mmm-card-shell__manager-toolbar > .mmm-workspace__layout-controls
	:where(.mmm-landing__layout-button, .mmm-workspace__utility-action) {
	box-sizing: border-box;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	min-width: 28px;
	height: 28px;
	min-height: 28px;
	padding: 0;
	margin: 0;
	border: 1px solid color-mix(in srgb, currentColor 12%, transparent);
	border-radius: var(--mmm-button-radius, 6px);
	background: color-mix(in srgb, currentColor 3%, transparent);
	color: inherit;
	line-height: 1;
	opacity: .62;
}

.mmm-card-shell__manager-toolbar > .mmm-workspace__layout-controls
	:where(.mmm-landing__layout-button, .mmm-workspace__utility-action):hover,
.mmm-card-shell__manager-toolbar > .mmm-workspace__layout-controls
	:where(.mmm-landing__layout-button, .mmm-workspace__utility-action):focus-visible {
	background: color-mix(in srgb, var(--wp--preset--color--brand-primary, currentColor) 8%, transparent);
	opacity: 1;
}

.mmm-card-shell__manager-toolbar > .mmm-workspace__layout-controls .mmm-ui-icon {
	width: 16px;
	height: 16px;
	flex-basis: 16px;
}


/* MMM Theme 0.15.63 — public/application projection foundation.
 * Public marketing content remains normal Gutenberg page content. */
.mmm-public-header {
	background: var(--mmm-surface-header, var(--wp--preset--color--surface-alt, #fff));
	color: var(--mmm-text-header, var(--wp--preset--color--text, #1e1e1e));
	border-bottom: 1px solid color-mix(in srgb, currentColor 10%, transparent);
}

.mmm-public-header__inner,
.mmm-public-footer__inner {
	box-sizing: border-box;
	min-height: 64px;
	padding: var(--mmm-space-sm, 16px) var(--mmm-space-md, 24px);
}

.mmm-public-header__brand {
	gap: var(--mmm-space-sm, 16px);
}

.mmm-public-header__brand .wp-block-site-title,
.mmm-public-footer .wp-block-site-title {
	margin: 0;
}

.mmm-public-main {
	min-height: 55vh;
}

.mmm-public-page-shell {
	box-sizing: border-box;
	padding-block: var(--mmm-space-xl, 40px);
}

.mmm-public-footer {
	margin-top: var(--mmm-space-2xl, 64px);
	border-top: 1px solid color-mix(in srgb, currentColor 10%, transparent);
	background: var(--mmm-surface-subtle, var(--wp--preset--color--surface, #f5f6f7));
	color: var(--mmm-text-subtle, #1e1e1e);
}

.mmm-public-footer p,
.mmm-public-footer a,
.mmm-public-footer .wp-block-site-title,
.mmm-public-footer .wp-block-site-title a {
	color: inherit;
}


/* MMM Theme 0.15.65 — editable Gutenberg marketing starter. */
.mmm-public-header__actions {
	gap: var(--mmm-space-md, 24px);
}

.mmm-public-nav {
	font-size: inherit;
}

.mmm-marketing-hero,
.mmm-marketing-section,
.mmm-marketing-cta {
	box-sizing: border-box;
	width: 100%;
	max-width: var(--wp--style--global--wide-size, 1160px);
	margin-inline: auto;
}

.mmm-marketing-hero {
	padding-block: var(--mmm-space-2xl, 64px) var(--mmm-space-xl, 40px);
}

.mmm-marketing-section {
	margin-top: var(--mmm-space-xl, 40px);
}

.mmm-marketing-cta {
	margin-top: var(--mmm-space-2xl, 64px);
	padding: var(--mmm-space-lg, 32px);
	background: var(--mmm-surface-subtle, var(--wp--preset--color--surface-alt, #f5f6f7));
	color: var(--mmm-text-subtle, #1e1e1e);
	border-radius: var(--mmm-card-radius, 10px);
}

.mmm-marketing-cta :where(h2,p,a) {
	color: inherit;
}

.mmm-faq .wp-block-details {
	border-top: 1px solid color-mix(in srgb, currentColor 14%, transparent);
	padding-block: var(--mmm-space-sm, 16px);
}

.mmm-faq .wp-block-details:last-of-type {
	border-bottom: 1px solid color-mix(in srgb, currentColor 14%, transparent);
}

.mmm-faq summary {
	cursor: pointer;
	font-weight: 600;
}

.mmm-contact-form {
	max-width: 760px;
	padding: var(--mmm-space-md, 24px);
}

.mmm-contact-form label {
	display: block;
	margin-bottom: var(--mmm-space-2xs, 8px);
	font-weight: 600;
}

.mmm-contact-form input:not([type="hidden"]),
.mmm-contact-form textarea {
	box-sizing: border-box;
	width: 100%;
}

.mmm-contact-form__trap {
	position: absolute !important;
	left: -10000px !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
}

.mmm-contact-form__meta {
	font-size: .875em;
	opacity: .75;
}

@media (max-width: 800px) {
	.mmm-public-header__inner {
		align-items: center;
	}
	.mmm-public-header__actions {
		gap: var(--mmm-space-sm, 16px);
	}
}


/* MMM Theme 0.15.66 — semantic Gutenberg Group Block Styles.
 * Presentation shortcuts only; semantic truth stays in Brand/UI tokens. */
.wp-block-group.is-style-mmm-panel,
.wp-block-group.is-style-mmm-subtle-panel,
.wp-block-group.is-style-mmm-strong-panel,
.wp-block-group.is-style-mmm-highlight {
	box-sizing: border-box;
	padding: var(--mmm-space-md, 24px);
	border-radius: var(--mmm-card-radius, 10px);
}

.wp-block-group.is-style-mmm-panel {
	background: var(--mmm-surface-panel, var(--wp--preset--color--surface-alt, #fff));
	color: var(--mmm-text-panel, var(--wp--preset--color--text, #1e1e1e));
}

.wp-block-group.is-style-mmm-subtle-panel {
	background: var(--mmm-surface-subtle, var(--wp--preset--color--surface, #f5f6f7));
	color: var(--mmm-text-subtle, var(--wp--preset--color--text, #1e1e1e));
}

.wp-block-group.is-style-mmm-strong-panel {
	background: var(--mmm-surface-strong, #222);
	color: var(--mmm-text-strong, #fff);
}

.wp-block-group.is-style-mmm-highlight {
	background: var(--wp--preset--color--brand-primary, var(--mmm-surface-brand, #222));
	color: var(--mmm-text-brand, #fff);
}

.wp-block-group.is-style-mmm-panel :where(h1,h2,h3,h4,h5,h6,p,a),
.wp-block-group.is-style-mmm-subtle-panel :where(h1,h2,h3,h4,h5,h6,p,a),
.wp-block-group.is-style-mmm-strong-panel :where(h1,h2,h3,h4,h5,h6,p,a),
.wp-block-group.is-style-mmm-highlight :where(h1,h2,h3,h4,h5,h6,p,a) {
	color: inherit;
}

.wp-block-group.is-style-mmm-no-surface {
	background: transparent;
	color: inherit;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	padding: 0;
}

/* Native Gutenberg Button geometry stays Gutenberg-owned. MMM Core supplies
 * automatic foreground contrast for the actual button surface. */


/* MMM Theme 0.15.67 — canonical stock Gutenberg Button projection.
 * theme.json owns the stock surface/foreground. Explicit Gutenberg colour
 * choices continue to override via native block classes/styles. */
.wp-block-button:not(.is-style-outline) > .wp-block-button__link:not(.has-background) {
	background: var(--mmm-button-background, var(--wp--preset--color--brand-primary));
	color: var(--mmm-button-text, #fff);
}

.wp-block-button.is-style-outline > .wp-block-button__link:not(.has-background) {
	background: transparent;
	color: inherit;
	border-color: currentColor;
}


/* MMM Theme 0.15.74 — public/content controls.
 * Native Gutenberg/content Buttons are intentionally roomier than compact
 * application chrome. All sizing consumes the existing MMM spacing scale. */
.wp-element-button,
.wp-block-button__link {
	min-height: 40px;
	padding: var(--mmm-space-2xs, 8px) var(--mmm-space-sm, 16px);
	font-size: var(--wp--preset--font-size--medium);
	line-height: 1.25;
}

/* Contact/Demo is a public Panel consumer of the canonical Form Control role. */
.mmm-contact-form > p:not(.mmm-contact-form__trap) {
	margin-block: 0 var(--mmm-space-sm, 16px);
}

.mmm-contact-form > p:last-child {
	margin-bottom: 0;
}

.mmm-contact-form input[type="text"],
.mmm-contact-form input[type="email"],
.mmm-contact-form input[type="tel"],
.mmm-contact-form input[type="password"],
.mmm-contact-form select,
.mmm-contact-form textarea {
	appearance: none;
	box-sizing: border-box;
	width: 100%;
	min-height: 42px;
	padding: var(--mmm-space-2xs, 8px) var(--mmm-space-xs, 12px);
	border: 1px solid color-mix(in srgb, var(--mmm-text-control, #1e1e1e) 22%, transparent);
	border-radius: var(--mmm-button-radius, 6px);
	background: var(--mmm-surface-control, #fff);
	color: var(--mmm-text-control, #1e1e1e);
	color-scheme: var(--mmm-color-scheme-control, light);
	font: inherit;
	line-height: 1.4;
}

.mmm-contact-form textarea {
	min-height: 132px;
	resize: vertical;
}

.mmm-contact-form input[type="text"]:focus,
.mmm-contact-form input[type="email"]:focus,
.mmm-contact-form input[type="tel"]:focus,
.mmm-contact-form input[type="password"]:focus,
.mmm-contact-form select:focus,
.mmm-contact-form textarea:focus {
	outline: 2px solid currentColor;
	outline-offset: 2px;
	border-color: currentColor;
}

.mmm-contact-form .mmm-public-form__submit {
	border: 1px solid transparent;
	border-radius: var(--mmm-button-radius, 6px);
	background: var(--mmm-button-background, var(--wp--preset--color--brand-primary, #222));
	color: var(--mmm-button-text, #fff);
	font-weight: 700;
	cursor: pointer;
}

.mmm-contact-form .mmm-public-form__submit:hover,
.mmm-contact-form .mmm-public-form__submit:active {
	filter: brightness(.94);
}

.mmm-contact-form .mmm-public-form__submit:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 2px;
}


/* MMM Theme 0.15.74 — causal KSF/KPI projection layout.
 * Consumer layout only: Button, Card Shell, Panel and Dialog geometry remain
 * owned by the central MMM UI primitives. */
.mmm-causal-projection__head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: var(--mmm-space-sm, 16px);
	margin-bottom: var(--mmm-space-sm, 16px);
}
.mmm-causal-projection__heading {
	min-width: 0;
}
.mmm-causal-projection__heading h2 {
	margin-top: 0;
	margin-bottom: var(--mmm-space-2xs, 8px);
}
.mmm-causal-projection__heading .mmm-workspace__section-context {
	margin: 0;
}
.mmm-causal-projection__actions {
	display: flex;
	flex: 0 0 auto;
	align-items: center;
}
.mmm-causal-object-dialog__reader {
	display: grid;
	gap: var(--mmm-space-md, 24px);
}
.mmm-causal-object-dialog__field > h3 {
	margin: 0 0 var(--mmm-space-2xs, 8px);
}
@media (max-width: 700px) {
	.mmm-causal-projection__head {
		align-items: flex-start;
		flex-direction: column;
	}
}



/* MMM Theme 0.15.74 — KSF → KPI dialog projection layout.
 * Consumer spacing only; shared Card/Dialog/Button primitives remain owners. */
.mmm-causal-projection--dialog {
	margin-top: var(--mmm-space-md, 24px);
	padding-top: var(--mmm-space-md, 24px);
	border-top: 1px solid color-mix(in srgb, currentColor 12%, transparent);
}
.mmm-causal-projection--dialog .mmm-presentation-grid {
	margin-top: var(--mmm-space-sm, 16px);
}
.mmm-causal-inline-creator {
	margin: var(--mmm-space-sm, 16px) 0;
}


/* MMM Theme 0.15.74 — Navigation & System Chrome consolidation 6A.
 *
 * Ownership consolidation only; current IA, edit UX, card controls and icon
 * choices remain unchanged. Historical selectors stay as compatibility
 * adapters until the final legacy/specificity cleanup.
 */
.mmm-system-chrome {
	box-sizing: border-box;
}

.mmm-system-chrome--userbar {
	display: flex !important;
	align-items: center !important;
	justify-content: flex-end !important;
	flex-wrap: nowrap !important;
	gap: 14px !important;
	margin: 0 !important;
	padding: 0 !important;
	font-size: 11px !important;
	line-height: 1 !important;
	white-space: nowrap;
}
.mmm-system-chrome--userbar > * {
	margin: 0 !important;
	padding: 0 !important;
}

.mmm-chrome-control,
.mmm-system-chrome--userbar .mmm-chrome-control {
	appearance: none;
	display: inline-flex !important;
	align-items: center !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0;
	background: transparent;
	color: #fff !important;
	font: inherit;
	font-size: 11px !important;
	font-weight: 600 !important;
	line-height: 1 !important;
	text-decoration: none !important;
	white-space: nowrap;
	cursor: pointer;
	opacity: .82;
	transition: opacity .15s ease;
}
.mmm-chrome-control:hover,
.mmm-chrome-control:focus-visible,
.mmm-chrome-control--active {
	opacity: 1;
}
.mmm-chrome-control:focus-visible,
.mmm-chrome-menu__item:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 2px;
}

.mmm-chrome-form {
	display: inline-flex;
	align-items: center;
	margin: 0;
	padding: 0;
}

.mmm-chrome-menu {
	position: relative;
	margin: 0;
	padding: 0;
}
.mmm-chrome-menu__trigger {
	list-style: none;
	opacity: .95;
}
.mmm-chrome-menu__trigger::-webkit-details-marker {
	display: none;
}
.mmm-chrome-menu__trigger::after {
	content: " ↓";
	margin-left: 3px;
	opacity: .6;
}

.mmm-chrome-menu__panel {
	position: absolute;
	z-index: 1000;
	top: calc(100% + 10px);
	right: 0;
	box-sizing: border-box;
	min-width: 190px;
	margin: 0 !important;
	padding: 6px !important;
	border-radius: 6px;
	background: #252525;
	color: #fff;
	box-shadow: 0 8px 24px rgba(0,0,0,.2);
}

.mmm-chrome-menu__item,
.mmm-chrome-menu__panel .mmm-chrome-menu__item {
	appearance: none;
	display: block;
	box-sizing: border-box;
	width: 100%;
	margin: 0 !important;
	padding: 8px 10px !important;
	border: 0;
	border-radius: 4px;
	background: transparent;
	color: #fff !important;
	font: inherit;
	font-size: 12px !important;
	line-height: 1.2 !important;
	text-align: left;
	text-decoration: none !important;
	white-space: nowrap;
	cursor: pointer;
	opacity: .8;
}
.mmm-chrome-menu__item:hover,
.mmm-chrome-menu__item:focus-visible,
.mmm-chrome-menu__item.is-current,
.mmm-chrome-menu__item[aria-pressed="true"] {
	background: rgba(255,255,255,.09);
	opacity: 1;
}

.mmm-system-chrome--toolbar {
	gap: var(--mmm-utility-gap, 8px);
}
.mmm-system-chrome--toolbar > form {
	margin: 0;
}

/* Native WordPress Navigation remains the interaction/renderer owner. */
.mmm-system-navigation {
	box-sizing: border-box;
}

@media (max-width: 700px) {
	.mmm-system-chrome--userbar {
		flex-wrap: wrap !important;
		gap: 8px 10px !important;
	}
}


/* MMM Theme 0.15.74 — Illustrative Image Card: media owns stretched free space.
 *
 * The canonical Top-poster rule is intentionally flex:0 0 auto for normal
 * content cards. A full-image illustrative card is the exception: its hidden
 * main row means the media itself must absorb any extra height created by the
 * shared Presentation Grid. Match the Top-poster selector specificity here so
 * this semantic expression, not source order or a local hack, owns that flex.
 */
.mmm-card-shell.mmm-card-shell--illustrative-image[data-mmm-image-mode="poster"][data-mmm-image-position="top"] > .mmm-presentation-media--top {
	flex:1 1 auto;
	min-height:0;
}


/* MMM Theme 0.15.75 — Feedback & States 7A.
 * Semantic presentation only. Consumer layout may remain local. */
.mmm-feedback {
	box-sizing: border-box;
	padding: var(--mmm-space-control, 12px) var(--mmm-space-flow, 16px);
	border: 1px solid color-mix(in srgb, currentColor 18%, transparent);
	border-radius: var(--mmm-button-radius, 6px);
	background: var(--mmm-surface-panel, var(--wp--preset--color--surface, #f5f6f7));
	color: var(--mmm-text-panel, var(--wp--preset--color--text, #1e1e1e));
}
.mmm-feedback :where(p,ul,ol) { margin-block: 0; }
.mmm-feedback :where(p,ul,ol) + :where(p,ul,ol) { margin-block-start: var(--mmm-space-compact, 8px); }
.mmm-feedback--info { border-inline-start: 4px solid currentColor; }
.mmm-feedback--success {
	background: var(--wp--preset--color--brand-soft, var(--mmm-surface-subtle, #eef3f1));
	color: var(--mmm-text-subtle, var(--mmm-text-panel, #1e1e1e));
	border-inline-start: 4px solid var(--wp--preset--color--brand-primary, currentColor);
}
.mmm-feedback--warning {
	background: var(--mmm-surface-subtle, var(--mmm-surface-panel, #f5f6f7));
	color: var(--mmm-text-subtle, var(--mmm-text-panel, #1e1e1e));
	border-inline-start: 4px solid currentColor;
}
.mmm-feedback--error {
	background: var(--mmm-surface-panel, #fff);
	color: var(--mmm-text-panel, #1e1e1e);
	border-inline-start: 4px solid currentColor;
}
.mmm-state--readonly {
	box-sizing: border-box;
	padding: var(--mmm-space-compact, 8px) var(--mmm-space-control, 12px);
	border: 1px solid color-mix(in srgb, currentColor 14%, transparent);
	border-radius: var(--mmm-button-radius, 6px);
	background: var(--mmm-surface-subtle, var(--mmm-surface-panel, #f5f6f7));
	color: var(--mmm-text-subtle, var(--mmm-text-panel, #1e1e1e));
}
.mmm-state--incomplete {
	border-inline-start: 4px solid currentColor;
}
.mmm-state--value-empty {
	color: var(--mmm-text-panel-muted, currentColor);
	opacity: .68;
}
.mmm-button[aria-busy="true"],
.mmm-utility-control[aria-busy="true"],
.mmm-workspace__button[aria-busy="true"] {
	cursor: progress;
	opacity: .72;
}

/* MMM Theme 0.15.77 — System Prompt on canonical Module Dialog. */
.mmm-system-prompt__panel{width:min(520px,calc(100vw - 32px))}.mmm-system-prompt__head{display:flex;align-items:flex-start;justify-content:space-between;gap:var(--mmm-space-flow,16px)}.mmm-system-prompt__head h2,.mmm-system-prompt__body p{margin:0}.mmm-system-prompt__body{display:grid;gap:var(--mmm-space-flow,16px);margin-top:var(--mmm-space-control,12px)}.mmm-system-prompt__actions{display:flex;justify-content:flex-end;gap:var(--mmm-space-compact,8px);flex-wrap:wrap}.mmm-system-prompt__field{display:grid;gap:var(--mmm-space-compact,8px)}.mmm-system-prompt__field input{width:100%}.mmm-system-prompt__check{display:flex;align-items:center;gap:var(--mmm-space-compact,8px)}

/* MMM Theme 0.15.79 — public account chrome joins the public header without
 * inheriting Gutenberg's root sibling block-gap. The gap is applied to the
 * outer template-part wrapper, while .mmm-public-header lives inside it. */
.mmm-public-account-bar + header.wp-block-template-part {
	margin-block-start: 0 !important;
}

/* MMM Theme 0.15.82 — frontend recovery projection.
 * Trash is a Panel/Data View, not a second Card system. Spacing consumes the
 * existing MMM card-gap/padding foundations. */
.mmm-workspace__trash .mmm-workspace__section-head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: var(--mmm-card-gap, 10px);
	margin-bottom: var(--mmm-card-gap, 10px);
}

.mmm-workspace__trash .mmm-workspace__section-head h2,
.mmm-workspace__trash .mmm-workspace__section-head p,
.mmm-workspace__trash-item h3,
.mmm-workspace__trash-item p {
	margin-top: 0;
}

.mmm-workspace__trash-list {
	display: grid;
	gap: var(--mmm-card-gap, 10px);
}

.mmm-workspace__trash-item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--mmm-card-gap, 10px);
}

.mmm-workspace__trash-item form,
.mmm-workspace__trash-item p {
	margin-bottom: 0;
}

@media (max-width: 700px) {
	.mmm-workspace__trash .mmm-workspace__section-head,
	.mmm-workspace__trash-item {
		align-items: stretch;
		flex-direction: column;
	}
}



/* MMM Theme 0.15.82 — Brand Settings semantic button-color role.
 * The selected value is a reference to the existing brand palette; Core owns
 * resolution + auto contrast. This UI only projects the choice. */
.mmm-brand-frontend__button-color {
	margin-block: var(--mmm-space-lg, 24px);
	padding-top: var(--mmm-space-md, 20px);
	border-top: 1px solid color-mix(in srgb, currentColor 10%, transparent);
}
.mmm-brand-frontend__button-color > h3 { margin: 0 0 var(--mmm-space-2xs, 8px); }
.mmm-brand-frontend__button-color > p { margin: 0 0 var(--mmm-space-sm, 16px); }
.mmm-brand-frontend__button-palette {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(116px, 1fr));
	gap: var(--mmm-space-xs, 12px);
}
.mmm-brand-frontend__button-swatch {
	display: grid;
	gap: 5px;
	cursor: pointer;
}
.mmm-brand-frontend__button-swatch input {
	position: absolute;
	inline-size: 1px;
	block-size: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}
.mmm-brand-frontend__button-swatch-color {
	display: flex;
	align-items: end;
	min-height: 66px;
	padding: var(--mmm-space-2xs, 8px);
	border: 2px solid transparent;
	border-radius: var(--mmm-card-radius, 8px);
	background: var(--mmm-brand-button-swatch);
	color: var(--mmm-brand-button-swatch-text);
	font-weight: 700;
	box-sizing: border-box;
}
.mmm-brand-frontend__button-swatch small { opacity: .7; }
.mmm-brand-frontend__button-swatch input:checked + .mmm-brand-frontend__button-swatch-color {
	border-color: currentColor;
	box-shadow: 0 0 0 2px var(--mmm-surface-panel, #fff), 0 0 0 4px currentColor;
}
.mmm-brand-frontend__button-swatch input:focus-visible + .mmm-brand-frontend__button-swatch-color {
	outline: 2px solid currentColor;
	outline-offset: 3px;
}


/* MMM Theme 0.15.83 — shared collapsible Workspace Section primitive.
 * A section groups existing workspace content; it is not a Card Shell variant
 * and does not own content or presentation state. Native details/summary keeps
 * open/closed state transient and accessible without a second JS/state model. */
.mmm-workspace-section {
	min-width: 0;
}
.mmm-workspace-section__summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 0 0 8px;
	border-bottom: 1px solid color-mix(in srgb,currentColor 35%,transparent);
	cursor: pointer;
	list-style: none;
}
.mmm-workspace-section__summary::-webkit-details-marker {
	display: none;
}
.mmm-workspace-section__title {
	font-size: var(--wp--preset--font-size--medium);
	font-weight: 700;
}
.mmm-workspace-section__tools {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}
.mmm-workspace-section__help,
.mmm-workspace-section__chevron {
	box-sizing: border-box;
	display: inline-grid;
	place-items: center;
	width: 22px;
	height: 22px;
	border: 1px solid currentColor;
	border-radius: 50%;
	font-size: 12px;
	line-height: 1;
}
.mmm-workspace-section__chevron::before {
	content: "";
	width: 6px;
	height: 6px;
	border-top: 1.5px solid currentColor;
	border-left: 1.5px solid currentColor;
	transform: translateY(2px) rotate(45deg);
}
.mmm-workspace-section:not([open]) .mmm-workspace-section__chevron::before {
	transform: translateY(-2px) rotate(225deg);
}
.mmm-workspace-section__content {
	padding-top: var(--mmm-card-gap, 10px);
}

/* Merkinstellingen consumes the shared section primitive while retaining its
 * existing canonical form controls and Card Shells. */
.mmm-brand-frontend__form {
	display: grid;
	gap: calc(var(--mmm-workspace-gap, 24px) * 1.35);
}
.mmm-brand-frontend__workspace-section .mmm-brand-frontend__grid {
	margin: 0;
}
.mmm-brand-frontend__workspace-section .mmm-brand-frontend__section--full {
	width: 100%;
}
.mmm-brand-frontend__actions {
	display: flex;
	justify-content: flex-end;
	gap: 8px;
	margin-top: 10px;
}
.mmm-brand-frontend__actions .mmm-workspace__button {
	min-width: 112px;
	text-align: center;
}
@media (max-width: 700px) {
	.mmm-brand-frontend__actions {
		justify-content: stretch;
	}
	.mmm-brand-frontend__actions .mmm-workspace__button {
		flex: 1 1 0;
	}
}


/* MMM Theme 0.15.84 — Merkinstellingen card layout refinement.
 * Presentation-only: existing canonical controls are rearranged visually.
 * No extra brand fields or geometry/rounded-corner setting is introduced. */
.mmm-brand-card__intro {
	margin: 4px 0 0;
	font-size: var(--wp--preset--font-size--small);
	font-weight: 400;
	opacity: .72;
}
.mmm-brand-frontend__workspace-section .mmm-brand-frontend__section--full .mmm-card-shell__body {
	display: grid;
	gap: 0;
}
.mmm-brand-setting-row {
	display: grid;
	grid-template-columns: minmax(160px, .7fr) minmax(260px, 1.3fr);
	align-items: center;
	gap: 20px;
	min-width: 0;
	padding: 16px 0;
	border-top: 1px solid color-mix(in srgb,currentColor 14%,transparent);
}
.mmm-brand-setting-row:first-child {
	border-top: 0;
	padding-top: 4px;
}
.mmm-brand-setting-row:last-child {
	padding-bottom: 4px;
}
.mmm-brand-setting-row > label,
.mmm-brand-setting-row > .mmm-brand-frontend__field-label,
.mmm-brand-setting-row > strong {
	margin: 0;
	font-weight: 600;
}
.mmm-brand-setting-row input[type="text"],
.mmm-brand-setting-row input[type="url"],
.mmm-brand-setting-row input[type="color"],
.mmm-brand-setting-row select {
	max-width: 100%;
}
.mmm-brand-setting-row--color {
	grid-template-columns: minmax(150px, .65fr) minmax(280px, 1.35fr);
}
.mmm-brand-setting-row--color input[type="color"] {
	width: 52px;
	min-width: 52px;
	height: 38px;
	padding: 2px;
	vertical-align: middle;
}
.mmm-brand-setting-row--interface {
	grid-template-columns: minmax(180px, .8fr) minmax(260px, 1.2fr);
}
.mmm-brand-frontend__workspace-section .mmm-card-shell {
	box-shadow: none;
}
.mmm-brand-frontend__workspace-section .mmm-card-shell__header {
	padding-bottom: 14px;
}
.mmm-brand-frontend__workspace-section .mmm-card-shell__body {
	padding-top: 0;
}
@media (max-width: 700px) {
	.mmm-brand-setting-row,
	.mmm-brand-setting-row--color,
	.mmm-brand-setting-row--interface {
		grid-template-columns: 1fr;
		gap: 8px;
	}
}


/* MMM Theme 0.15.86 — compact Merkinstellingen rebuild.
 * Same canonical controls; lower permanent information density. */
.mmm-brand-frontend__workspace-section .mmm-card-shell {
	padding: 12px 14px;
}
.mmm-brand-frontend__workspace-section .mmm-card-shell__header {
	padding-bottom: 8px;
}
.mmm-brand-frontend__workspace-section .mmm-card-shell__title {
	font-size: 15px;
}
.mmm-brand-card__intro { display:none; }

/* Base palette: three compact choices in one row. */
.mmm-brand-frontend__base-colors {
	display:grid;
	grid-template-columns:repeat(3,minmax(0,1fr));
	gap:10px;
}
.mmm-brand-compact__base-color {
	min-width:0;
}
.mmm-brand-compact__base-color label {
	font-size:12px;
	margin-bottom:4px;
}
.mmm-brand-compact__base-color input[type="color"] {
	width:30px;
	min-width:30px;
	height:30px;
	padding:2px;
}
.mmm-brand-compact__base-color input[type="text"] {
	min-height:32px;
	padding:5px 8px;
	font-size:12px;
}

/* Extra palette: preserve name/value/remove, but make each color one compact row. */
.mmm-brand-compact__extra-color {
	display:grid;
	grid-template-columns:minmax(120px,.8fr) minmax(150px,1fr) auto;
	align-items:end;
	gap:8px;
	padding:8px 0;
}
.mmm-brand-compact__extra-color input {
	min-height:32px;
}
.mmm-brand-frontend__extra-colors {
	gap:0;
}

/* Interface choices: compact horizontal decision rows. */
.mmm-brand-compact__interface-control {
	grid-template-columns:minmax(150px,.5fr) minmax(220px,1fr);
	gap:12px;
	padding:9px 0;
}
.mmm-brand-compact__interface-control input,
.mmm-brand-compact__interface-control select {
	min-height:32px;
}

/* Derived tones are reference information, not a permanent primary task. */
.mmm-brand-compact__derived {
	margin-top:10px;
	border-top:1px solid color-mix(in srgb,currentColor 14%,transparent);
}
.mmm-brand-compact__derived > summary {
	display:flex;
	align-items:center;
	justify-content:space-between;
	gap:10px;
	padding:10px 2px;
	cursor:pointer;
	list-style:none;
	font-weight:600;
	font-size:13px;
}
.mmm-brand-compact__derived > summary::-webkit-details-marker { display:none; }
.mmm-brand-compact__summary-hint {
	font-size:11px;
	font-weight:400;
	opacity:.6;
}
.mmm-brand-compact__derived[open] > summary {
	border-bottom:1px solid color-mix(in srgb,currentColor 10%,transparent);
}
.mmm-brand-compact__derived > div {
	padding-top:10px;
}

/* General: reduce logo/favicon dominance without changing upload behavior. */
.mmm-brand-frontend__logo-preview,
.mmm-brand-frontend__favicon-preview {
	max-height:110px;
}
.mmm-brand-frontend__logo-preview img {
	max-height:72px;
	width:auto;
}
.mmm-brand-frontend__favicon-preview img {
	max-height:42px;
	width:auto;
}

@media (max-width:700px) {
	.mmm-brand-frontend__base-colors { grid-template-columns:1fr; }
	.mmm-brand-compact__extra-color,
	.mmm-brand-compact__interface-control { grid-template-columns:1fr; }
}


/* MMM Theme 0.15.87 — compact Brand Settings control panel.
 * The canonical controls remain in Core; this layer reduces permanent density. */
.mmm-brand-frontend__form{gap:22px}
.mmm-brand-frontend__workspace-section .mmm-card-shell{padding:12px 14px}
.mmm-brand-frontend__workspace-section .mmm-card-shell__header{padding:0 0 8px}
.mmm-brand-frontend__workspace-section .mmm-card-shell__body{padding:0}
.mmm-brand-frontend__workspace-section .mmm-card-shell__title{font-size:14px}
.mmm-brand-frontend__workspace-section .mmm-brand-frontend__grid{gap:12px}

/* General: turn the two tall cards into a shallow control strip. */
.mmm-brand-frontend__workspace-section:first-of-type .mmm-brand-frontend__grid{
	grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);
}
.mmm-brand-panel__identity,
.mmm-brand-panel__media{min-height:0!important}
.mmm-brand-panel__identity textarea{min-height:64px!important;height:64px}
.mmm-brand-panel__media img{max-height:48px!important;width:auto}
.mmm-brand-panel__media [class*="preview"]{min-height:62px!important;height:62px!important;padding:6px!important}
.mmm-brand-panel__media input[type=file]{font-size:11px}
.mmm-brand-panel__media label{font-size:11px}

/* Palette: one compact swatch strip. */
.mmm-brand-panel__palette{
	display:flex!important;align-items:flex-start;gap:18px!important;flex-wrap:wrap
}
.mmm-brand-panel__palette .mmm-brand-compact__base-color{
	display:grid;grid-template-columns:32px auto;grid-template-rows:auto auto;column-gap:7px;align-items:center
}
.mmm-brand-panel__palette .mmm-brand-compact__base-color label{grid-column:2;font-size:11px;margin:0}
.mmm-brand-panel__palette .mmm-brand-compact__base-color input[type=color]{
	grid-row:1/3;width:32px!important;min-width:32px!important;height:32px!important;border:0;padding:0
}
.mmm-brand-panel__palette .mmm-brand-compact__base-color input[type=text]{
	grid-column:2;min-height:0!important;height:auto!important;border:0!important;padding:0!important;font-size:10px;background:transparent!important;box-shadow:none!important
}
.mmm-brand-panel__extra-palette{display:flex!important;gap:18px!important;flex-wrap:wrap}
.mmm-brand-panel__extra-palette .mmm-brand-compact__extra-color{
	display:grid!important;grid-template-columns:32px auto!important;grid-template-rows:auto auto!important;gap:2px 7px!important;padding:0!important;border:0!important
}
.mmm-brand-panel__extra-palette .mmm-brand-compact__extra-color input[type=color]{grid-row:1/3;width:32px;height:32px}
.mmm-brand-panel__extra-palette .mmm-brand-compact__extra-color input[type=text]{min-height:0;height:18px;padding:0 3px;font-size:10px}
.mmm-brand-panel__extra-palette .mmm-brand-compact__extra-color button{font-size:9px;padding:2px 5px}

/* Interface becomes a compact dashboard rather than a long settings form. */
.mmm-brand-panel__button-color,
.mmm-brand-panel__portal-style{padding:8px 0!important}
.mmm-brand-panel__button-color{display:grid!important;grid-template-columns:130px 1fr!important;align-items:start}
.mmm-brand-panel__button-color [class*="swatch"]{transform:scale(.82);transform-origin:left top}

/* Keep only meaningful controls in primary view: hide presets/startpoint UI.
 * Underlying values remain submitted unchanged by the existing form. */
.mmm-brand-panel__portal-style [class*="preset"],
.mmm-brand-panel__portal-style [class*="start"],
.mmm-brand-panel__portal-style [class*="starting"]{display:none!important}

/* Sliders: three short rows. */
.mmm-brand-panel__portal-style input[type=range]{width:118px!important}
.mmm-brand-panel__portal-style label{font-size:10px}
.mmm-brand-panel__portal-style select{min-height:28px!important;height:28px;padding:2px 24px 2px 6px;font-size:10px}

/* Derived palette: always compact when opened; no large cards. */
.mmm-brand-compact__derived{margin-top:8px}
.mmm-brand-compact__derived>summary{padding:7px 2px;font-size:11px}
.mmm-brand-compact__derived [class*="tone"],
.mmm-brand-compact__derived [class*="swatch"]{min-height:34px!important;padding:5px!important;font-size:9px!important}

/* Preview should remain a small feedback surface. */
.mmm-brand-panel__portal-style [class*="preview"]{max-width:320px!important;font-size:10px}
.mmm-brand-frontend__actions{margin-top:4px!important}

@media(max-width:700px){
 .mmm-brand-frontend__workspace-section:first-of-type .mmm-brand-frontend__grid{grid-template-columns:1fr}
 .mmm-brand-panel__button-color{grid-template-columns:1fr!important}
}


/* MMM Theme 0.15.88 — horizontal Brand Settings dashboard.
 * Override earlier pilot stacking; keep canonical controls. */
.mmm-brand-interface-panel{
	display:grid!important;
	grid-template-columns:minmax(260px,.9fr) minmax(420px,1.7fr)!important;
	column-gap:24px!important;
	row-gap:8px!important;
	align-items:start!important;
}
.mmm-brand-interface-panel .mmm-brand-panel__button-color{
	grid-column:1!important;
	display:block!important;
	padding:0!important;
}
.mmm-brand-interface-panel .mmm-brand-panel__portal-style{
	grid-column:2!important;
	grid-row:1 / span 2!important;
	display:grid!important;
	grid-template-columns:repeat(3,minmax(0,1fr))!important;
	gap:10px 14px!important;
	padding:0!important;
	align-items:end!important;
}
.mmm-brand-interface-panel .mmm-brand-panel__button-color [class*="swatch"]{
	display:flex!important;
	flex-wrap:wrap!important;
	gap:6px!important;
	transform:none!important;
}
.mmm-brand-interface-panel .mmm-brand-panel__button-color label,
.mmm-brand-interface-panel .mmm-brand-panel__portal-style label{
	font-size:10px!important;
}

/* Native selects become compact swatch-dropdown controls. The selected option
 * remains canonical; a small color chip is supplied by the existing UI script/CSS
 * where supported, with normal select fallback. */
.mmm-brand-swatch-select{
	width:auto!important;
	min-width:108px!important;
	max-width:150px!important;
	height:30px!important;
	min-height:30px!important;
	padding:3px 24px 3px 8px!important;
	font-size:10px!important;
	border-radius:4px!important;
}
.mmm-brand-interface-panel input[type=range]{
	width:105px!important;
	margin:0!important;
}
.mmm-brand-interface-panel [class*="range"],
.mmm-brand-interface-panel [class*="slider"]{
	min-width:0!important;
}

/* Keep preset/startpoint mechanics out of the primary UI. */
.mmm-brand-interface-panel [class*="preset"],
.mmm-brand-interface-panel [class*="startpoint"],
.mmm-brand-interface-panel [class*="start-point"],
.mmm-brand-interface-panel [class*="start"]{
	display:none!important;
}

/* Compact preview: sit in the same horizontal panel rather than below it. */
.mmm-brand-interface-panel [class*="preview"]{
	max-width:250px!important;
	min-height:0!important;
	font-size:9px!important;
}

/* Derived palette is a single horizontal strip when disclosed. */
.mmm-brand-compact__derived{
	grid-column:1 / -1!important;
}
.mmm-brand-compact__derived>div{
	display:grid!important;
	grid-template-columns:repeat(10,minmax(0,1fr))!important;
	gap:5px!important;
}
.mmm-brand-compact__derived [class*="tone"],
.mmm-brand-compact__derived [class*="swatch"]{
	min-width:0!important;
	min-height:28px!important;
	padding:4px!important;
	font-size:8px!important;
}

/* General and palette: favour width over height. */
.mmm-brand-frontend__workspace-section:first-of-type .mmm-brand-frontend__grid{
	grid-template-columns:minmax(0,1.25fr) minmax(0,1fr)!important;
	align-items:start!important;
}
.mmm-brand-panel__palette,
.mmm-brand-panel__extra-palette{
	flex-wrap:nowrap!important;
	align-items:center!important;
}
.mmm-brand-panel__extra-palette .mmm-brand-compact__extra-color{
	min-width:150px!important;
}

@media(max-width:900px){
 .mmm-brand-interface-panel{grid-template-columns:1fr!important}
 .mmm-brand-interface-panel .mmm-brand-panel__button-color,
 .mmm-brand-interface-panel .mmm-brand-panel__portal-style{grid-column:1!important;grid-row:auto!important}
 .mmm-brand-interface-panel .mmm-brand-panel__portal-style{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 .mmm-brand-compact__derived>div{grid-template-columns:repeat(5,minmax(0,1fr))!important}
}
@media(max-width:600px){
 .mmm-brand-interface-panel .mmm-brand-panel__portal-style{grid-template-columns:1fr!important}
 .mmm-brand-compact__derived>div{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 .mmm-brand-panel__palette,.mmm-brand-panel__extra-palette{flex-wrap:wrap!important}
}


/* MMM Theme 0.15.89 — structural Brand Settings control panel.
 * New Core DOM, no more forcing unrelated legacy blocks into a grid. */
.mmm-brand-control-panel__body{
	display:grid!important;
	grid-template-columns:minmax(220px,.75fr) minmax(480px,1.65fr)!important;
	gap:18px!important;
	align-items:start!important;
}
.mmm-brand-control-panel__colors,
.mmm-brand-control-panel__tuning{
	min-width:0;
}
.mmm-brand-control-panel__colors h3,
.mmm-brand-control-panel__tuning h3{
	margin:0 0 8px!important;
	font-size:11px!important;
}

/* Color role chooser: horizontal compact swatches, never a vertical list. */
.mmm-brand-control-panel__colors .mmm-brand-frontend__button-color{
	display:block!important;
	padding:0!important;
}
.mmm-brand-control-panel__colors .mmm-brand-frontend__button-color [class*="swatch"]{
	display:flex!important;
	flex-direction:row!important;
	flex-wrap:wrap!important;
	gap:6px!important;
	transform:none!important;
}
.mmm-brand-control-panel__colors .mmm-brand-frontend__button-color label{
	margin:0!important;
	font-size:9px!important;
}

/* Tuning: flatten the existing portal-style controls into one dense horizontal grid. */
.mmm-brand-control-panel__tuning .mmm-brand-frontend__portal-style{
	display:grid!important;
	grid-template-columns:repeat(5,minmax(82px,1fr))!important;
	gap:8px 10px!important;
	align-items:end!important;
	padding:0!important;
}
.mmm-brand-control-panel__tuning .mmm-brand-frontend__portal-style>*{
	min-width:0!important;
	margin:0!important;
}
.mmm-brand-control-panel__tuning label{font-size:9px!important}
.mmm-brand-control-panel__tuning input[type=range]{width:92px!important}
.mmm-brand-control-panel__tuning select{
	width:100%!important;min-width:0!important;max-width:none!important;
	height:28px!important;min-height:28px!important;font-size:9px!important;padding:2px 18px 2px 5px!important
}

/* Preset/startpoint controls are not part of the primary brand task. */
.mmm-brand-control-panel [class*="preset"],
.mmm-brand-control-panel [class*="startpoint"],
.mmm-brand-control-panel [class*="start-point"],
.mmm-brand-control-panel [class*="start"]{display:none!important}

/* Preview is a compact feedback tile within tuning. */
.mmm-brand-control-panel__tuning [class*="preview"]{
	max-width:220px!important;min-height:0!important;font-size:8px!important
}

/* Derived palette: compact horizontal reference, not a card wall. */
.mmm-brand-compact__derived>div{
	display:grid!important;grid-template-columns:repeat(10,minmax(0,1fr))!important;gap:4px!important
}
.mmm-brand-compact__derived [class*="tone"],
.mmm-brand-compact__derived [class*="swatch"]{
	min-height:26px!important;padding:3px!important;font-size:7px!important
}

/* General: restore intended side-by-side compactness. */
.mmm-brand-frontend__workspace-section:first-of-type .mmm-brand-frontend__grid{
	display:grid!important;grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr)!important;gap:12px!important;align-items:stretch!important
}
.mmm-brand-control-panel__general-identity,
.mmm-brand-control-panel__general-media{min-height:0!important}
.mmm-brand-control-panel__general-identity textarea{height:62px!important;min-height:62px!important}

@media(max-width:900px){
 .mmm-brand-control-panel__body{grid-template-columns:1fr!important}
 .mmm-brand-control-panel__tuning .mmm-brand-frontend__portal-style{grid-template-columns:repeat(3,minmax(80px,1fr))!important}
 .mmm-brand-compact__derived>div{grid-template-columns:repeat(5,minmax(0,1fr))!important}
}
@media(max-width:600px){
 .mmm-brand-control-panel__tuning .mmm-brand-frontend__portal-style{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 .mmm-brand-frontend__workspace-section:first-of-type .mmm-brand-frontend__grid{grid-template-columns:1fr!important}
}


/* MMM Theme 0.15.90 — explicit compact Interface renderer. */
.mmm-brand-interface-v2__grid{
	display:grid!important;
	grid-template-columns:190px 220px minmax(300px,1fr)!important;
	grid-template-areas:
	 "roles sliders selectors"
	 "tones tones preview"
	 "advanced advanced advanced";
	gap:16px 22px!important;
	align-items:start;
}
.mmm-brand-interface-v2__grid h3{margin:0 0 8px;font-size:11px}
.mmm-brand-interface-v2__roles{grid-area:roles}
.mmm-brand-interface-v2__sliders{grid-area:sliders}
.mmm-brand-interface-v2__selectors{grid-area:selectors}
.mmm-brand-interface-v2__tones{grid-area:tones}
.mmm-brand-interface-v2__preview{grid-area:preview}
.mmm-brand-interface-v2__advanced{grid-area:advanced}

.mmm-brand-interface-v2__role-list{display:flex;gap:14px}
.mmm-brand-interface-v2__role{display:grid;justify-items:center;gap:4px;font-size:9px}
.mmm-brand-interface-v2__role-swatch{
	width:30px;height:30px;border-radius:50%;background:var(--mmm-swatch);border:1px solid color-mix(in srgb,currentColor 15%,transparent)
}
.mmm-brand-interface-v2__sliders{display:grid;gap:7px}
.mmm-brand-interface-v2__sliders label{
	display:grid;grid-template-columns:72px 1fr;align-items:center;gap:8px;font-size:9px;font-weight:600
}
.mmm-brand-interface-v2__sliders input[type=range]{
	width:100%;margin:0;accent-color:#777;
	-webkit-appearance:none;appearance:none;background:transparent
}
.mmm-brand-interface-v2__sliders input[type=range]::-webkit-slider-runnable-track{
	height:5px;border:1px solid #b7b7b7;border-radius:999px;background:#e5e5e5
}
.mmm-brand-interface-v2__sliders input[type=range]::-webkit-slider-thumb{
	-webkit-appearance:none;appearance:none;width:16px;height:16px;margin-top:-6px;border:0;border-radius:50%;background:#777
}
.mmm-brand-interface-v2__sliders input[type=range]::-moz-range-track{
	height:5px;border:1px solid #b7b7b7;border-radius:999px;background:#e5e5e5
}
.mmm-brand-interface-v2__sliders input[type=range]::-moz-range-progress{
	height:5px;border-radius:999px;background:#e5e5e5
}
.mmm-brand-interface-v2__sliders input[type=range]::-moz-range-thumb{
	width:16px;height:16px;border:0;border-radius:50%;background:#777
}

.mmm-brand-interface-v2__selectors{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.mmm-swatch-select{position:relative;min-width:0}
.mmm-swatch-select>summary{
	display:grid;gap:4px;cursor:pointer;list-style:none;font-size:8px;font-weight:600
}
.mmm-swatch-select>summary::-webkit-details-marker{display:none}
.mmm-swatch-select__value{
	display:flex;align-items:center;gap:6px;height:30px;padding:4px 7px;border:1px solid color-mix(in srgb,currentColor 18%,transparent);background:#fff;font-size:9px;font-weight:400
}
.mmm-swatch-select i{display:inline-block;width:20px;height:20px;background:var(--mmm-swatch);border:1px solid color-mix(in srgb,currentColor 12%,transparent)}
.mmm-swatch-select__menu{
	position:absolute;z-index:20;top:100%;left:0;right:0;max-height:220px;overflow:auto;background:#fff;border:1px solid color-mix(in srgb,currentColor 20%,transparent);box-shadow:0 6px 18px rgba(0,0,0,.12);padding:4px
}
.mmm-swatch-select__menu label{display:flex;align-items:center;gap:6px;padding:4px;font-size:9px;cursor:pointer}
.mmm-swatch-select__menu input{margin:0}

.mmm-brand-interface-v2__tone-strip{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:5px}
.mmm-brand-interface-v2__tone{
	min-height:34px;padding:5px;background:var(--mmm-swatch);color:#111;border:1px solid color-mix(in srgb,currentColor 10%,transparent);font-size:8px
}
.mmm-brand-interface-v2__tone strong,.mmm-brand-interface-v2__tone small{display:block;font-size:inherit}

.mmm-brand-interface-v2__preview{
	border:1px solid color-mix(in srgb,currentColor 20%,transparent);font-size:9px;min-height:118px
}
.mmm-brand-interface-v2__preview-head{padding:7px;font-weight:700}
.mmm-brand-interface-v2__preview-nav{display:grid;grid-template-columns:repeat(3,1fr);background:#dce8df}
.mmm-brand-interface-v2__preview-nav span{padding:6px}
.mmm-brand-interface-v2__preview-body{display:grid;gap:7px;padding:10px;background:#4b6255}
.mmm-brand-interface-v2__preview-body span{height:24px;background:#fff;border-radius:4px}

.mmm-brand-interface-v2__advanced{border-top:1px solid color-mix(in srgb,currentColor 12%,transparent);padding-top:7px;font-size:9px}
.mmm-brand-interface-v2__advanced summary{cursor:pointer;font-weight:600}
.mmm-brand-interface-v2__advanced p{margin:6px 0 0;opacity:.7}

/* Keep this card shallow. */
.mmm-brand-interface-v2 .mmm-card-shell__body{padding-top:4px!important}

@media(max-width:900px){
 .mmm-brand-interface-v2__grid{
  grid-template-columns:1fr 1fr!important;
  grid-template-areas:"roles sliders" "selectors selectors" "tones tones" "preview preview" "advanced advanced"!important
 }
}
@media(max-width:600px){
 .mmm-brand-interface-v2__grid{grid-template-columns:1fr!important;grid-template-areas:"roles" "sliders" "selectors" "tones" "preview" "advanced"!important}
 .mmm-brand-interface-v2__selectors{grid-template-columns:1fr!important}
}


/* MMM Theme 0.15.91 — canonical binding fixes for compact Interface. */
.mmm-brand-interface-v2__role{position:relative;cursor:pointer}
.mmm-brand-interface-v2__role>input{position:absolute;opacity:0;pointer-events:none}
.mmm-brand-interface-v2__role-swatch{background:var(--mmm-swatch)!important}
.mmm-brand-interface-v2__role.is-selected .mmm-brand-interface-v2__role-swatch,
.mmm-brand-interface-v2__role:has(input:checked) .mmm-brand-interface-v2__role-swatch{
	outline:2px solid currentColor;outline-offset:3px
}
.mmm-brand-interface-v2__technical-input{
	position:absolute!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none!important
}
.mmm-brand-interface-v2__tone{
	background:var(--mmm-derived-swatch,var(--mmm-swatch))!important;
	color:var(--mmm-derived-text,#1e1e1e)!important
}
.mmm-brand-interface-v2__tone code{
	display:block;margin-top:2px;color:inherit;font-size:7px;background:transparent;padding:0
}
.mmm-brand-interface-v2__selectors{grid-template-columns:repeat(3,minmax(0,1fr))!important}
.mmm-swatch-select__menu{min-width:150px}
.mmm-brand-interface-v2__preview-body{background:var(--mmm-preview-portal,#4b6255)!important;color:var(--mmm-preview-portal-text,#fff)!important}
.mmm-brand-interface-v2__preview-head{background:var(--mmm-preview-header,#fff)!important;color:var(--mmm-preview-header-text,#111)!important}
.mmm-brand-interface-v2__preview-nav span:nth-child(1){background:var(--mmm-preview-nav1,#dce8df);color:var(--mmm-preview-nav1-text,#111)}
.mmm-brand-interface-v2__preview-nav span:nth-child(2){background:var(--mmm-preview-nav2,#dce8df);color:var(--mmm-preview-nav2-text,#111)}
.mmm-brand-interface-v2__preview-nav span:nth-child(3){background:var(--mmm-preview-nav3,#dce8df);color:var(--mmm-preview-nav3-text,#111)}


/* MMM Theme 0.15.92 — compact existing Kleur panel + wrapping Interface source swatches.
 * Presentation-only: canonical controls and storage stay untouched. */

/* Interface: source colors stay the same control, but may wrap naturally. */
.mmm-brand-interface-v2__role-list{
	display:flex!important;
	flex-wrap:wrap!important;
	align-items:flex-start!important;
	gap:8px 12px!important;
}
.mmm-brand-interface-v2__role{
	flex:0 0 auto!important;
}

/* Kleur: preserve the current fixed-role / extra-colors structure, reduce its footprint. */
.mmm-brand-panel__palette{
	display:grid!important;
	grid-template-columns:repeat(3,minmax(0,1fr))!important;
	gap:10px 14px!important;
	align-items:end!important;
}
.mmm-brand-panel__palette label,
.mmm-brand-panel__palette [class*="field"]{
	min-width:0!important;
	margin:0!important;
}
.mmm-brand-panel__palette input[type="text"],
.mmm-brand-panel__palette input[type="color"]{
	min-height:30px!important;
	height:30px!important;
	font-size:10px!important;
}
.mmm-brand-panel__palette input[type="color"]{
	width:34px!important;
	padding:2px!important;
}

/* Extra colors: same name + swatch + hex + remove controls, but dense and horizontal. */
.mmm-brand-panel__extra-palette{
	display:flex!important;
	flex-wrap:wrap!important;
	gap:8px!important;
	align-items:stretch!important;
}
.mmm-brand-panel__extra-palette .mmm-brand-compact__extra-color{
	flex:1 1 250px!important;
	min-width:220px!important;
	max-width:340px!important;
	display:grid!important;
	grid-template-columns:minmax(90px,1fr) 34px minmax(82px,.8fr) auto!important;
	gap:6px!important;
	align-items:end!important;
	padding:8px!important;
	margin:0!important;
}
.mmm-brand-panel__extra-palette .mmm-brand-compact__extra-color label{
	min-width:0!important;
	margin:0!important;
	font-size:9px!important;
}
.mmm-brand-panel__extra-palette .mmm-brand-compact__extra-color input[type="text"]{
	width:100%!important;
	min-width:0!important;
	height:30px!important;
	min-height:30px!important;
	padding:4px 7px!important;
	font-size:10px!important;
}
.mmm-brand-panel__extra-palette .mmm-brand-compact__extra-color input[type="color"]{
	width:34px!important;
	height:30px!important;
	min-height:30px!important;
	padding:2px!important;
}
.mmm-brand-panel__extra-palette .mmm-brand-compact__extra-color button{
	min-height:30px!important;
	height:30px!important;
	padding:4px 8px!important;
	font-size:9px!important;
	white-space:nowrap!important;
}

/* Reduce empty vertical space around the two existing color groups. */
.mmm-brand-frontend__section--palette .mmm-card-shell__body,
.mmm-brand-frontend__section--colors .mmm-card-shell__body{
	padding-top:10px!important;
	padding-bottom:10px!important;
}
.mmm-brand-panel__extra-palette{
	margin-top:8px!important;
}

@media(max-width:760px){
	.mmm-brand-panel__palette{
		grid-template-columns:1fr!important;
	}
	.mmm-brand-panel__extra-palette .mmm-brand-compact__extra-color{
		flex-basis:100%!important;
		max-width:none!important;
	}
}


/* MMM Theme 0.15.93 — Merkkleuren closer to Figma.
 * Scope deliberately excludes .mmm-brand-interface-v2. */
.mmm-brand-color-cards__fixed,
.mmm-brand-color-cards__extras{
	display:grid!important;
	grid-template-columns:repeat(auto-fit,minmax(145px,1fr))!important;
	gap:10px!important;
	align-items:stretch!important;
}

/* Fixed role colors: swatch becomes the visual card header; controls stay compact below. */
.mmm-brand-color-cards__fixed > *{
	min-width:0!important;
	display:grid!important;
	grid-template-columns:1fr!important;
	gap:5px!important;
	align-content:start!important;
	margin:0!important;
	padding:0!important;
	border:0!important;
	background:transparent!important;
}
.mmm-brand-color-cards__fixed input[type="color"]{
	width:100%!important;
	height:54px!important;
	min-height:54px!important;
	padding:0!important;
	border:0!important;
	background:transparent!important;
	cursor:pointer!important;
}
.mmm-brand-color-cards__fixed input[type="text"]{
	width:100%!important;
	height:28px!important;
	min-height:28px!important;
	padding:3px 6px!important;
	font-size:9px!important;
}

/* Extra brand colors: compact Figma-like tile.
 * Description fields, if present in legacy markup, are intentionally not promoted. */
.mmm-brand-color-cards__extras .mmm-brand-compact__extra-color{
	display:grid!important;
	grid-template-columns:minmax(0,1fr) auto!important;
	grid-template-areas:
		"swatch swatch"
		"hex remove"
		"name name"!important;
	gap:5px!important;
	min-width:0!important;
	max-width:none!important;
	padding:0!important;
	border:0!important;
	background:transparent!important;
}
.mmm-brand-color-cards__extras .mmm-brand-compact__extra-color input[type="color"]{
	grid-area:swatch!important;
	width:100%!important;
	height:54px!important;
	min-height:54px!important;
	padding:0!important;
	border:0!important;
	background:transparent!important;
	cursor:pointer!important;
}
.mmm-brand-color-cards__extras .mmm-brand-compact__extra-color input[type="text"]{
	height:28px!important;
	min-height:28px!important;
	padding:3px 6px!important;
	font-size:9px!important;
}
.mmm-brand-color-cards__extras .mmm-brand-compact__extra-color input[type="text"]:first-of-type{
	grid-area:name!important;
}
.mmm-brand-color-cards__extras .mmm-brand-compact__extra-color input[type="text"]:last-of-type{
	grid-area:hex!important;
}
.mmm-brand-color-cards__extras .mmm-brand-compact__extra-color button{
	grid-area:remove!important;
	height:28px!important;
	min-height:28px!important;
	padding:3px 7px!important;
	font-size:9px!important;
	white-space:nowrap!important;
}

/* Suppress labels as layout blocks inside the tile, while keeping accessible form controls. */
.mmm-brand-color-cards__extras .mmm-brand-compact__extra-color > label{
	display:contents!important;
}

/* Add-color action participates visually as the next compact tile when its existing wrapper allows it. */
.mmm-brand-frontend__section--palette [data-mmm-add-color],
.mmm-brand-frontend__section--colors [data-mmm-add-color],
.mmm-brand-panel__extra-palette + button{
	min-height:54px!important;
	padding:8px 12px!important;
	font-size:9px!important;
}

/* Reduce explanatory/form spacing in this panel only. */
.mmm-brand-color-cards__fixed + *,
.mmm-brand-color-cards__extras{
	margin-top:8px!important;
}

@media(max-width:620px){
	.mmm-brand-color-cards__fixed,
	.mmm-brand-color-cards__extras{
		grid-template-columns:repeat(2,minmax(0,1fr))!important;
	}
}
@media(max-width:420px){
	.mmm-brand-color-cards__fixed,
	.mmm-brand-color-cards__extras{
		grid-template-columns:1fr!important;
	}
}


/* MMM Theme 0.15.94 — actual Merkkleuren tile renderer. */
.mmm-brand-color-grid{
	display:grid;
	grid-template-columns:repeat(4,minmax(0,1fr));
	gap:12px;
	align-items:stretch;
}
.mmm-brand-color-tile{
	min-width:0;
	display:grid;
	grid-template-columns:1fr;
	grid-template-rows:auto 58px 28px 28px;
	gap:5px;
	padding:0;
	border:0;
	background:transparent;
	text-align:left;
}
.mmm-brand-color-tile__title{
	font-size:10px;
	line-height:1.2;
}
.mmm-brand-color-tile__swatch{
	grid-row:2;
	width:100%!important;
	height:58px!important;
	min-height:58px!important;
	padding:0!important;
	border:0!important;
	background:transparent!important;
	cursor:pointer;
}
.mmm-brand-color-tile__hex,
.mmm-brand-color-tile__name{
	width:100%!important;
	height:28px!important;
	min-height:28px!important;
	padding:3px 6px!important;
	font-size:9px!important;
	box-sizing:border-box;
}
.mmm-brand-color-tile--fixed .mmm-brand-color-tile__hex{grid-row:3}
.mmm-brand-color-tile--extra{
	grid-template-rows:58px 28px 28px;
}
.mmm-brand-color-tile--extra .mmm-brand-color-tile__swatch{grid-row:1}
.mmm-brand-color-tile__value-row{
	grid-row:2;
	display:grid;
	grid-template-columns:minmax(0,1fr) auto;
	gap:5px;
}
.mmm-brand-color-tile__value-row .mmm-brand-color-tile__hex{min-width:0}
.mmm-brand-color-tile__remove{
	height:28px!important;
	min-height:28px!important;
	padding:3px 7px!important;
	font-size:9px!important;
	white-space:nowrap;
}
.mmm-brand-color-tile__name{grid-row:3}
.mmm-brand-color-tile--add{
	display:flex;
	align-items:center;
	justify-content:center;
	min-height:119px;
	background:color-mix(in srgb,currentColor 5%,transparent);
	border:1px solid color-mix(in srgb,currentColor 8%,transparent);
	cursor:pointer;
	font-size:10px;
	text-align:center;
}
.mmm-brand-color-tile--add:hover{
	background:color-mix(in srgb,currentColor 8%,transparent);
}
.mmm-brand-color-grid__dynamic[hidden]{display:none!important}

@media(max-width:900px){
	.mmm-brand-color-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:650px){
	.mmm-brand-color-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:420px){
	.mmm-brand-color-grid{grid-template-columns:1fr}
}


/* MMM Theme 0.15.95 — final Merkkleuren alignment + compact Algemene two-column layout. */

/* Fixed brand roles now use the same visual name slot as custom colors. */
.mmm-brand-color-tile--fixed{
	grid-template-rows:58px 28px 28px!important;
}
.mmm-brand-color-tile--fixed .mmm-brand-color-tile__swatch{grid-row:1!important}
.mmm-brand-color-tile--fixed .mmm-brand-color-tile__hex{grid-row:2!important}
.mmm-brand-color-tile__name--fixed{
	grid-row:3!important;
	display:flex!important;
	align-items:center!important;
	width:100%!important;
	height:28px!important;
	min-height:28px!important;
	padding:3px 6px!important;
	border:1px solid #d5d5d5!important;
	border-radius:4px!important;
	box-sizing:border-box!important;
	font-size:9px!important;
	font-weight:400!important;
	background:#fff!important;
}

/* Algemeen: the existing Merkidentiteit and Logo & favicon cards share one row.
 * No renderer/data change; this is only their workspace projection. */
.mmm-brand-frontend__general-grid{
	display:grid!important;
	grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
	gap:14px!important;
	align-items:stretch!important;
}
.mmm-brand-frontend__general-grid > *{
	min-width:0!important;
	margin:0!important;
}

/* Fallback for the current Algemene wrapper where the two cards are direct siblings. */
.mmm-brand-frontend__section--general .mmm-card-shell__body{
	display:grid!important;
	grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
	gap:14px!important;
	align-items:stretch!important;
}
.mmm-brand-frontend__section--general .mmm-card-shell__body > *{
	min-width:0!important;
	margin-top:0!important;
	margin-bottom:0!important;
}

@media(max-width:760px){
	.mmm-brand-frontend__general-grid,
	.mmm-brand-frontend__section--general .mmm-card-shell__body{
		grid-template-columns:1fr!important;
	}
}


/* MMM Theme 0.15.96 — exact Algemeen grid hook.
 * More specific than the shared Presentation Grid rules; only Brand Settings Algemeen. */
.mmm-brand-frontend__form .mmm-brand-frontend__general-grid{
	display:grid!important;
	grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
	gap:14px!important;
	align-items:stretch!important;
}
.mmm-brand-frontend__form .mmm-brand-frontend__general-grid > [data-mmm-presentation-item]{
	grid-column:auto!important;
	width:auto!important;
	max-width:none!important;
	min-width:0!important;
	margin:0!important;
}
.mmm-brand-frontend__form .mmm-brand-frontend__general-grid > [data-mmm-presentation-item] > .mmm-card-shell__main{
	height:100%!important;
}
@media(max-width:760px){
	.mmm-brand-frontend__form .mmm-brand-frontend__general-grid{
		grid-template-columns:1fr!important;
	}
}

/* 0.15.98 — compact Guidance: specialization of the shared Card Shell. */
.mmm-guidance__grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;align-items:stretch}
.mmm-guidance__grid>.mmm-guidance__card--compact{width:auto!important;min-width:0;min-height:0!important;padding:0!important;border-radius:0;overflow:visible;position:relative}
.mmm-guidance__card--compact .mmm-card-shell__main,.mmm-guidance__card--compact .mmm-card-shell__body{display:block;padding:0!important;margin:0!important;min-height:0}
.mmm-guidance-compact__open{appearance:none;width:100%;min-height:64px;display:grid;grid-template-columns:42px minmax(0,1fr);gap:16px;align-items:center;padding:10px 36px 10px 16px;border:0;background:transparent;color:inherit;font:inherit;text-align:left;cursor:pointertext-decoration:none;}
.mmm-guidance-compact__glyph{width:40px;height:40px;display:grid;place-items:center;border:1px solid currentColor;font-size:22px;font-weight:700;line-height:1;opacity:.55}
.mmm-guidance-compact__title{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;font-size:var(--mmm-type-small,13px);line-height:1.25;font-weight:700}
.mmm-guidance-compact__dismiss{position:absolute;top:5px;right:5px;margin:0!important;z-index:2}
.mmm-guidance-compact__dismiss-button{appearance:none;width:18px;height:18px;padding:0;display:grid;place-items:center;border:1px solid currentColor;background:transparent;color:inherit;font-size:13px;line-height:1;cursor:pointer;opacity:.55}
.mmm-guidance-compact__open:hover,.mmm-guidance-compact__open:focus-visible,.mmm-guidance-compact__dismiss-button:hover,.mmm-guidance-compact__dismiss-button:focus-visible{opacity:.78}
.mmm-guidance-reader{color:inherit}
.mmm-guidance-reader__panel{width:min(720px,calc(100vw - 32px));max-height:min(80vh,760px);padding:28px;border:0;border-radius:var(--mmm-card-radius,12px);background:var(--mmm-surface-elevated,var(--wp--preset--color--surface-alt,#fff));color:var(--mmm-text-elevated,var(--wp--preset--color--text,#1e1e1e));box-shadow:0 18px 60px rgba(0,0,0,.24)}.mmm-guidance-reader__header{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;margin-bottom:20px}.mmm-guidance-reader__header h2{margin:4px 0 0}.mmm-guidance-reader__type{font-size:var(--mmm-type-small,13px);opacity:.65}
.mmm-guidance-reader__close{appearance:none;width:32px;height:32px;display:grid;place-items:center;flex:0 0 auto;border:1px solid currentColor;background:transparent;color:inherit;font-size:20px;line-height:1;cursor:pointer}
.mmm-guidance-reader__body{max-height:50vh;overflow:auto}.mmm-guidance-reader__footer{margin-top:24px;padding-top:16px;border-top:1px solid rgba(0,0,0,.12)}
@media(max-width:900px){.mmm-guidance__grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}}@media(max-width:600px){.mmm-guidance__grid{grid-template-columns:1fr}}

/* 0.15.99 — Guidance projection: compact cards use a contextual 3/2/1 grid.
   This specializes only the Guidance Presentation Grid; the shared Card Shell
   and its canonical presentation attributes remain untouched. */
.mmm-presentation-grid.mmm-guidance__grid{
	display:grid;
	grid-template-columns:repeat(3,minmax(0,1fr));
	gap:24px;
}
.mmm-presentation-grid.mmm-guidance__grid > [data-mmm-presentation-item]{
	grid-column:auto !important;
	min-width:0;
}
@media (max-width:900px){
	.mmm-presentation-grid.mmm-guidance__grid{
		grid-template-columns:repeat(2,minmax(0,1fr));
		gap:16px;
	}
}
@media (max-width:600px){
	.mmm-presentation-grid.mmm-guidance__grid{
		grid-template-columns:minmax(0,1fr);
	}
}

/* 0.16.00 — Guidance returns to the canonical 12-column Presentation Grid.
 * Guidance cards specialize content only; geometry remains the shared contract.
 */
.mmm-presentation-grid.mmm-guidance__grid{
	display:grid;
	grid-template-columns:repeat(12,minmax(0,1fr));
	gap:var(--mmm-presentation-gap,var(--mmm-layout-section-gap,var(--mmm-workspace-gap,24px)));
	align-items:stretch;
}
.mmm-presentation-grid.mmm-guidance__grid > [data-mmm-presentation-item]{
	grid-column:span var(--mmm-grid-span,4) !important;
	order:var(--mmm-grid-order,100);
	min-width:0;
}
@media (max-width:900px){
	.mmm-presentation-grid.mmm-guidance__grid > [data-mmm-presentation-item]{
		grid-column:span 6 !important;
	}
}
@media (max-width:600px){
	.mmm-presentation-grid.mmm-guidance__grid > [data-mmm-presentation-item]{
		grid-column:1 / -1 !important;
	}
}

/* 0.16.01 — Guidance compact Card Shell vertical balance.
 * Geometry stays on the shared Card Shell / 12-column Presentation Grid.
 * The compact Guidance content state has a fixed shallow shell so the 40px
 * glyph receives equal breathing room above and below.
 */
.mmm-guidance__card--compact{
	height:64px !important;
	min-height:64px !important;
	box-sizing:border-box;
}
.mmm-guidance__card--compact > .mmm-card-shell__main,
.mmm-guidance__card--compact .mmm-card-shell__body,
.mmm-guidance__card--compact .mmm-guidance-compact__open{
	height:100%;
	min-height:0 !important;
	box-sizing:border-box;
}


/* 0.16.03 — Guidance remains a compact projection of the shared Card Shell.
 * Restore the canonical Card Shell radius; keep the dismiss affordance inset
 * from the shell edge and reserve its space in the compact open target.
 */
.mmm-guidance__card--compact{
	border-radius:var(--mmm-card-radius, 10px) !important;
	overflow:hidden;
}
.mmm-guidance__card--compact .mmm-guidance-compact__open{
	padding-right:48px;
}
.mmm-guidance__card--compact .mmm-guidance-compact__dismiss{
	top:10px;
	right:10px;
}








/* 0.16.08 — canonical Workspace Section tools, valid native-details DOM.
 * Help is an independent sibling of details; visual geometry matches the chevron. */
.mmm-workspace-section-host{
	position:relative;
}
.mmm-workspace-section-host > .mmm-workspace-section__help-popover{
	position:absolute;
	top:0;
	right:30px;
	z-index:5;
	margin:0;
}
.mmm-workspace-section-host > .mmm-workspace-section__help-popover > summary.mmm-workspace-section__help{
	box-sizing:border-box;
	display:inline-grid;
	place-items:center;
	width:22px;
	min-width:22px;
	height:22px;
	min-height:22px;
	margin:0;
	padding:0;
	border:1px solid currentColor;
	border-radius:50%;
	background:transparent;
	color:inherit;
	font-size:12px;
	line-height:1;
}
.mmm-workspace-section-host > .mmm-workspace-section__help-popover > summary.mmm-workspace-section__help svg{
	width:12px;
	height:12px;
}
.mmm-workspace-section-host > .mmm-workspace-section__help-popover .mmm-workspace__modulehelp-popover{
	top:calc(100% + 9px);
	right:0;
	bottom:auto;
	left:auto;
}

/* 0.16.09 — object header help projection.
 * Layout only: the canonical object description remains Core/Human Datamodel content. */

/* 0.16.10 — object header help positioning.
 * Section help may be absolutely positioned by its section host; in an
 * object-title row it participates in the header flex layout instead. */

/* 0.16.11 — align object-header help with canonical section tools. */


/* 0.16.16 — canonical Object Header component for Activity.
 * Three concerns are structurally independent:
 * breadcrumb row; heading/tools row; actions remain the existing workspace action row. */
.mmm-workspace__object-header{
	display:block;
	width:100%;
	min-width:0;
	margin:0;
	padding:0;
}
.mmm-workspace__object-breadcrumb{
	display:block;
	width:100%;
	min-width:0;
	margin:0 0 6px;
}
.mmm-workspace__object-breadcrumb .mmm-workspace__eyebrow{
	margin:0;
}
.mmm-workspace__object-heading{
	display:grid;
	grid-template-columns:minmax(0,1fr) auto;
	align-items:center;
	gap:16px;
	width:100%;
	min-width:0;
}
.mmm-workspace__object-heading > h1{
	min-width:0;
	margin:0;
}
.mmm-workspace__object-heading > .mmm-workspace-section__help-popover{
	position:relative;
	inset:auto;
	z-index:50;
	justify-self:end;
	flex:0 0 auto;
	margin:0;
}
.mmm-workspace__object-heading > .mmm-workspace-section__help-popover > summary.mmm-workspace-section__help{
	box-sizing:border-box;
	display:inline-grid;
	place-items:center;
	width:22px;
	min-width:22px;
	height:22px;
	min-height:22px;
	margin:0;
	padding:0;
	border:1px solid currentColor;
	border-radius:50%;
	background:transparent;
	color:inherit;
	font-size:12px;
	line-height:1;
}
.mmm-workspace__object-heading > .mmm-workspace-section__help-popover > summary.mmm-workspace-section__help svg{
	width:12px;
	height:12px;
}
.mmm-workspace__object-heading > .mmm-workspace-section__help-popover .mmm-workspace__modulehelp-popover{
	top:calc(100% + 9px);
	right:0;
	bottom:auto;
	left:auto;
}


/* 0.16.17 — shared workspace button typography. */
.mmm-workspace__button .mmm-workspace__button-note {
	font-weight: 400;
}


/* 0.16.22 — Activity start block: presentation of canonical Basis data. */
.mmm-activity-startblock {
	--mmm-card-body-size: var(--mmm-card-content-size, 14px);
	display: grid;
	grid-template-columns: minmax(0, 3fr) minmax(220px, 1fr);
	margin-block: var(--mmm-space-md, 24px);
	background: var(--mmm-surface-card, var(--wp--preset--color--surface-alt, #fff));
	color: var(--mmm-text-card, var(--wp--preset--color--text, #1e1e1e));
	border-radius: var(--mmm-card-radius, 6px);
	overflow: hidden;
}
.mmm-activity-startblock__description {
	padding: var(--mmm-space-md, 24px);
}
.mmm-activity-startblock__description h2 {
	margin: 0 0 var(--mmm-space-sm, 16px);
	font-size: var(--mmm-type-h3, 1.125rem);
}
.mmm-activity-startblock__description-text {
	font-size: var(--mmm-card-body-size, var(--mmm-card-content-size, 14px));
	line-height: var(--mmm-type-body-line-height, 1.55);
}
.mmm-activity-startblock__description-text :where(p, li, a:not(.mmm-button):not(.mmm-utility-control)) {
	font-size: inherit;
	line-height: inherit;
}
.mmm-activity-startblock__description-text > :first-child { margin-top: 0; }
.mmm-activity-startblock__description-text > :last-child { margin-bottom: 0; }
.mmm-activity-startblock__meta {
	padding: var(--mmm-space-md, 24px);
	background: color-mix(in srgb, currentColor 5%, transparent);
}
.mmm-activity-startblock__status-form select,
.mmm-activity-startblock__status {
	width: 100%;
	margin: 0 0 var(--mmm-space-sm, 16px);
	min-height: 36px;
	font: inherit;
	font-size: var(--mmm-type-body);
}
.mmm-activity-startblock__dates {
	margin: 0;
	font-size: var(--mmm-type-small);
}
.mmm-activity-startblock__dates > div {
	display: flex;
	justify-content: space-between;
	gap: var(--mmm-space-xs, 12px);
}
.mmm-activity-startblock__dates dt,
.mmm-activity-startblock__dates dd { margin: 0; }
.mmm-activity-startblock__dates dt { font-weight: var(--mmm-type-label-weight, 600); }
@media (max-width: 700px) {
	.mmm-activity-startblock { grid-template-columns: 1fr; }
}


/* 0.16.24 — Activity Basis projection edit affordance. */
.mmm-activity-startblock { position: relative; }
/* 0.16.26 — Activity Basis edit action: normal flow, shared edit-button visuals. */

/* 0.16.27 — Secondary Basis projection: Globale planning below description. */
.mmm-activity-startblock__planning {
	margin-top: var(--mmm-space-sm, 16px);
	padding-top: var(--mmm-space-sm, 16px);
	border-top: 1px solid color-mix(in srgb, currentColor 12%, transparent);
	font-size: var(--mmm-card-body-size, var(--mmm-card-content-size, 14px));
}
.mmm-activity-startblock__planning h3 {
	margin: 0 0 var(--mmm-space-xs, 8px);
	font: inherit;
	font-weight: var(--mmm-type-label-weight, 600);
}
.mmm-activity-startblock__planning-text {
	font-size: var(--mmm-card-body-size, var(--mmm-card-content-size, 14px));
	line-height: var(--mmm-type-body-line-height, 1.55);
}
.mmm-activity-startblock__planning-text :where(p, li, a:not(.mmm-button):not(.mmm-utility-control)) {
	font-size: inherit;
	line-height: inherit;
}
.mmm-activity-startblock__planning-text > :first-child { margin-top: 0; }
.mmm-activity-startblock__planning-text > :last-child { margin-bottom: 0; }

/* 0.16.30 — Activity section add-module action.
 * This is an action inside the existing Presentation Grid, not a parallel card model. */
.mmm-workspace__section-add-module{
	box-sizing:border-box;
	display:grid;
	place-items:center;
	align-content:center;
	gap:8px;
	min-width:0;
	min-height:180px;
	padding:var(--mmm-card-padding,18px);
	border:1px dashed color-mix(in srgb,currentColor 28%,transparent);
	border-radius:var(--mmm-card-radius,8px);
	background:color-mix(in srgb,currentColor 2.5%,transparent);
	color:inherit;
	text-align:center;
	text-decoration:none;
}
.mmm-workspace__section-add-module:hover,
.mmm-workspace__section-add-module:focus-visible{
	background:color-mix(in srgb,currentColor 6%,transparent);
	border-color:color-mix(in srgb,currentColor 45%,transparent);
}
.mmm-workspace__section-add-module-plus{
	display:grid;
	place-items:center;
	width:30px;
	height:30px;
	border-radius:50%;
	background:color-mix(in srgb,currentColor 14%,transparent);
	font-size:22px;
	font-weight:400;
	line-height:1;
}

/* 0.16.31 — Section add action follows the canonical Presentation Grid geometry.
 * It is still an action (no presentation state/data), but occupies the next
 * third-width grid slot after all ordered presentation items. */
.mmm-workspace__grid.mmm-presentation-grid > .mmm-workspace__section-add-module{
	grid-column:span 4;
	order:2147483647;
	min-width:0;
	box-sizing:border-box;
	align-self:stretch;
	min-height:100%;
}
@media (max-width:900px){
	.mmm-workspace__grid.mmm-presentation-grid > .mmm-workspace__section-add-module{
		grid-column:span 6;
	}
}
@media (max-width:600px){
	.mmm-workspace__grid.mmm-presentation-grid > .mmm-workspace__section-add-module{
		grid-column:1 / -1;
	}
}

/* 0.16.32 — Samenhang relation management projects the existing module editor. */
.mmm-coherence-tabs__actions{
	display:flex;
	justify-content:flex-end;
	margin-top:var(--mmm-space-xs,8px);
}

/* 0.16.35 — Guidance compact opener is an action surface, not an inline text link. */
.mmm-system-notice .mmm-card-shell__body a.mmm-guidance-compact__open,
.mmm-system-notice .mmm-card-shell__body a.mmm-guidance-compact__open:hover,
.mmm-system-notice .mmm-card-shell__body a.mmm-guidance-compact__open:focus,
.mmm-system-notice .mmm-card-shell__body a.mmm-guidance-compact__open:active,
.mmm-system-notice .mmm-card-shell__body a.mmm-guidance-compact__open *,
.mmm-system-notice .mmm-card-shell__body a.mmm-guidance-compact__open:hover *,
.mmm-system-notice .mmm-card-shell__body a.mmm-guidance-compact__open:focus *{
	text-decoration:none !important;
}

/* 0.16.38 — Samenhang state shape follows the shared UI/Card radius contract.
   Closed nav has no baseline; inactive tabs use four corners; active tabs only
   top corners; the open canonical tabpanel uses four corners. */
.mmm-coherence-tabs__tab {
	border-radius: var(--mmm-card-radius, 8px);
}
.mmm-coherence-tabs__tab[aria-selected="true"] {
	border-bottom-left-radius: 0;
	border-bottom-right-radius: 0;
}
.mmm-coherence-tabs__panel {
	border-radius: var(--mmm-card-radius, 8px);
}
.mmm-coherence-tabs__nav {
	border-bottom: 0;
}


/* 0.16.40 — Shared manager toolbar primitive.
 * Card Shell and composite workspace projections share action hierarchy/chrome;
 * each consumer keeps ownership of its own geometry and available actions. */
.mmm-manager-toolbar {
	display:flex;
	flex:0 0 auto;
	align-items:center;
	justify-content:flex-end;
	flex-wrap:nowrap;
	gap:4px;
	width:100%;
	min-height:0;
	margin:0;
	padding:6px 10px;
	box-sizing:border-box;
	border-top:1px solid color-mix(in srgb,currentColor 10%,transparent);
	background:color-mix(in srgb,currentColor 4%,transparent);
}
.mmm-activity-startblock > .mmm-activity-startblock__toolbar {
	grid-column:1 / -1;
	align-self:end;
	border-radius:0 0 var(--mmm-card-radius,8px) var(--mmm-card-radius,8px);
}


/* MMM Theme 0.16.41 — trash item actions are one shared horizontal action row. */
.mmm-workspace__trash-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-end;
	gap: var(--mmm-space-2xs, 8px);
}
.mmm-workspace__trash-actions form {
	margin: 0;
}


/* MMM Theme 0.16.42 — generic module detail is a workspace, not a narrow reader.
 * View and edit share this geometry; capability/state changes content, not shell. */
.mmm-module-dialog__panel--workspace {
	width: min(1180px, calc(100vw - (2 * var(--mmm-space-md, 24px))));
}
@media (max-width:700px) {
	.mmm-module-dialog__panel--workspace {
		width: calc(100vw - 20px);
	}
}


/* MMM Theme 0.16.43 — shared Module Dialog workspace foundation.
 * Presentation only: one shell for viewer/manager + view/edit states.
 */
.mmm-module-dialog--workspace .mmm-module-dialog__workspace {
	width: min(1180px, calc(100vw - (2 * var(--mmm-space-md, 24px))));
	display: flex;
	flex-direction: column;
}

.mmm-module-dialog--workspace .mmm-module-dialog__header {
	flex: 0 0 auto;
	align-items: flex-start;
	margin-bottom: 0;
	padding-bottom: var(--mmm-space-md, 24px);
}

.mmm-module-dialog--workspace .mmm-module-dialog__identity {
	min-width: 0;
}

.mmm-module-dialog--workspace .mmm-module-dialog__eyebrow {
	margin-bottom: 4px;
}

.mmm-module-dialog--workspace .mmm-module-dialog__title {
	margin-bottom: 0;
}

.mmm-module-dialog--workspace .mmm-module-dialog__modes:empty {
	display: none;
}

/* The dialog panel itself owns vertical scrolling. The body must size to its
 * full content height; making it a shrinking flex child lets long reader
 * content overflow through the following footer/back-link. */
.mmm-module-dialog--workspace .mmm-module-dialog__body {
	flex: 0 0 auto;
	min-height: 0;
}

.mmm-module-dialog--workspace .mmm-module-dialog__body--view .mmm-data-reader {
	min-height: 160px;
}

.mmm-module-dialog--workspace .mmm-module-dialog__body--edit .mmm-data-editor-form {
	min-width: 0;
}

.mmm-module-dialog--workspace .mmm-module-dialog__footer {
	flex: 0 0 auto;
	margin: var(--mmm-space-lg, 32px) 0 0;
	padding-top: var(--mmm-space-md, 24px);
	border-top: 1px solid color-mix(in srgb,currentColor 10%,transparent);
}

.mmm-module-dialog--viewer .mmm-module-dialog__header {
	padding-right: 42px;
}

@media (max-width:700px) {
	.mmm-module-dialog--workspace .mmm-module-dialog__workspace {
		width: calc(100vw - 20px);
	}
	.mmm-module-dialog--workspace .mmm-module-dialog__header {
		gap: var(--mmm-space-sm, 16px);
	}
}


/* MMM Theme 0.16.47 — explicit composite editor regions.
 * Mirrors the frontend composite principle: main + aside, with an internal meta row.
 */
.mmm-composite-editor__layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: var(--mmm-space-md, 24px);
	align-items: start;
}

.mmm-composite-editor__main,
.mmm-composite-editor__aside,
.mmm-composite-editor__region-fields {
	min-width: 0;
}

.mmm-composite-editor__aside {
	display: flex;
	flex-direction: column;
	gap: var(--mmm-space-md, 24px);
}

.mmm-composite-editor__meta {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--mmm-space-sm, 16px);
	align-items: start;
}

.mmm-composite-editor__region-fields .acf-fields {
	border: 0;
	background: transparent;
}

.mmm-composite-editor__region-fields .acf-fields > .acf-field {
	padding-left: 0;
	padding-right: 0;
}

.mmm-composite-editor__planning .acf-editor-wrap iframe,
.mmm-composite-editor__planning textarea.wp-editor-area {
	min-height: 180px !important;
	height: 180px !important;
}

.mmm-composite-editor > .acf-form-submit {
	margin-top: var(--mmm-space-md, 24px);
}

@media (max-width:800px) {
	.mmm-composite-editor__layout,
	.mmm-composite-editor__meta {
		grid-template-columns: minmax(0, 1fr);
	}
}


/* MMM Theme 0.16.52 — central Module View: content + unit module navigation. */
.mmm-module-view-layout {
	display: grid;
	grid-template-columns: minmax(0, 3fr) minmax(180px, 1fr);
	gap: var(--mmm-space-lg, 32px);
	align-items: start;
}
.mmm-module-view-layout__content {
	min-width: 0;
}
.mmm-module-view-layout__nav {
	min-width: 0;
	padding-left: var(--mmm-space-md, 24px);
	border-left: 1px solid color-mix(in srgb, currentColor 12%, transparent);
}
.mmm-unit-module-nav {
	display: grid;
	gap: var(--mmm-space-sm, 16px);
}
.mmm-unit-module-nav__section {
	margin: 0;
}
.mmm-unit-module-nav__section-title {
	margin: 0 0 6px;
	font-size: var(--mmm-type-small, 13px) !important;
	line-height: 1.3;
	font-weight: var(--mmm-type-label-weight, 600);
	opacity: .68;
}
.mmm-unit-module-nav__links {
	display: grid;
	gap: 2px;
}
.mmm-unit-module-nav__link {
	display: block;
	padding: 5px 7px;
	border-radius: var(--mmm-button-radius, 6px);
	color: inherit;
	text-decoration: none;
	font-size: var(--mmm-card-content-size, 14px);
	line-height: 1.35;
}
.mmm-unit-module-nav__link:hover,
.mmm-unit-module-nav__link:focus-visible {
	background: color-mix(in srgb, currentColor 6%, transparent);
}
.mmm-unit-module-nav__link.is-active {
	background: color-mix(in srgb, currentColor 9%, transparent);
	font-weight: var(--mmm-type-label-weight, 600);
}
@media (max-width: 760px) {
	.mmm-module-view-layout {
		grid-template-columns: minmax(0, 1fr);
	}
	.mmm-module-view-layout__nav {
		padding: var(--mmm-space-sm, 16px) 0 0;
		border-left: 0;
		border-top: 1px solid color-mix(in srgb, currentColor 12%, transparent);
	}
}


/* MMM Theme 0.16.53 — section-local Module View navigation.
 * Restore the lightweight mini-card/button language from the first prototype.
 */
.mmm-unit-module-nav__links {
	display: flex;
	flex-wrap: wrap;
	gap: var(--mmm-space-2xs, 8px);
}
.mmm-unit-module-nav__link {
	display: inline-flex;
	align-items: center;
	width: auto;
	padding: 6px 9px;
	border: 1px solid color-mix(in srgb, currentColor 14%, transparent);
	border-radius: var(--mmm-button-radius, 6px);
	background: color-mix(in srgb, currentColor 3%, transparent);
	font-size: var(--mmm-card-content-size, 14px);
	line-height: 1.35;
}
.mmm-unit-module-nav__link:hover,
.mmm-unit-module-nav__link:focus-visible {
	background: color-mix(in srgb, currentColor 7%, transparent);
}
.mmm-unit-module-nav__link.is-active {
	background: color-mix(in srgb, currentColor 9%, transparent);
	border-color: color-mix(in srgb, currentColor 22%, transparent);
	font-weight: var(--mmm-type-label-weight, 600);
}


/* MMM Theme 0.16.54 — central Module Dialog read typography + compact mode switch.
 * Read content consumes the same central card-content token; the mode switch is
 * deliberately utility-scale rather than a primary action.
 */
.mmm-module-dialog--workspace .mmm-module-dialog__body--view .mmm-data-reader,
.mmm-module-dialog--workspace .mmm-module-dialog__body--view .mmm-data-reader__richtext,
.mmm-module-dialog--workspace .mmm-module-dialog__body--view .mmm-data-reader__value {
	font-size: var(--mmm-card-content-size, 14px);
	line-height: var(--mmm-type-body-line-height, 1.55);
}
.mmm-module-dialog--workspace .mmm-module-dialog__body--view .mmm-data-reader__richtext :where(p, li, a:not(.mmm-button):not(.mmm-utility-control)),
.mmm-module-dialog--workspace .mmm-module-dialog__body--view .mmm-data-reader__value :where(p, li, a:not(.mmm-button):not(.mmm-utility-control)) {
	font-size: inherit;
	line-height: inherit;
}
.mmm-module-dialog--workspace .mmm-data-mode-switch {
	gap: 2px;
	padding: 2px;
	border-radius: 6px;
}
.mmm-module-dialog--workspace .mmm-data-mode-switch__item {
	min-height: 24px;
	padding: 2px 7px;
	border-radius: 4px;
	font-size: var(--mmm-type-small, 13px);
	line-height: 1.2;
	font-weight: var(--mmm-type-label-weight, 600);
}


/* MMM Theme 0.16.55 — Module Dialog freshness/status metadata. */
.mmm-module-dialog--workspace .mmm-freshness,
.mmm-module-dialog--workspace .mmm-freshness :where(a, button, span, time) {
	font-size: 12px;
	line-height: 1.35;
}


/* MMM Theme 0.16.57 — semantic typography consumers from central UI System. */
.mmm-module-dialog--workspace .mmm-module-dialog__body--view .mmm-data-reader,
.mmm-module-dialog--workspace .mmm-module-dialog__body--view .mmm-data-reader__richtext,
.mmm-module-dialog--workspace .mmm-module-dialog__body--view .mmm-data-reader__value {
	font-size: var(--mmm-type-reader, 14px);
}
.mmm-module-dialog--workspace .mmm-freshness,
.mmm-module-dialog--workspace .mmm-freshness :where(a, button, span, time),
.mmm-module-dialog--workspace :where(.mmm-workspace__breadcrumb, .mmm-unit-module-nav__section-title) {
	font-size: var(--mmm-type-meta, 12px);
}
.mmm-module-dialog--workspace .mmm-data-mode-switch__item,
.mmm-module-dialog--workspace .mmm-utility-control {
	font-size: var(--mmm-type-utility, 13px);
}


/* 0.16.57 — collection header action contract.
 * Heading/help and primary collection action are separate rows.
 * Compact is a shared button geometry modifier, not an Audience-specific style. */
.mmm-workspace__collection-header .mmm-workspace__collection-actions{
	display:flex;
	align-items:center;
	justify-content:flex-start;
	gap:var(--mmm-space-2, 8px);
	width:100%;
	margin-top:8px;
}
.mmm-button--compact{
	min-height:30px;
	padding:4px 10px;
	font-size:var(--mmm-type-small, 13px);
	line-height:1.2;
}

/* 0.16.59 — compact section heading/help alignment.
 * Unlike the full-width Object Header grid, section help sits directly beside h2. */
.mmm-workspace__section-heading{
	display:flex;
	align-items:center;
	gap:var(--mmm-layout-control-gap, 12px);
	width:max-content;
	max-width:100%;
}
.mmm-workspace__section-heading > h2{
	margin:0;
}
.mmm-workspace__section-heading > .mmm-workspace-section__help-popover{
	position:relative;
	inset:auto;
	z-index:50;
	flex:0 0 auto;
	margin:0;
}

/* 0.16.60 — one canonical help control for Object Header, sections and cards.
 * Context changes popover positioning only; control geometry never changes. */
.mmm-workspace-section__help,
.mmm-workspace__modulehelp > summary.mmm-workspace-section__help{
	box-sizing:border-box;
	display:inline-grid;
	place-items:center;
	width:18px;
	min-width:18px;
	height:18px;
	min-height:18px;
	margin:0;
	padding:0;
	border:1px solid currentColor;
	border-radius:50%;
	background:transparent;
	color:inherit;
	font-size:11px;
	line-height:1;
}
.mmm-workspace-section__help svg,
.mmm-workspace__modulehelp > summary.mmm-workspace-section__help svg{
	width:10px;
	height:10px;
}
.mmm-workspace__section-heading{
	gap:var(--mmm-layout-compact-gap, 8px);
}

/* 0.16.61 — canonical help geometry + Persona section rhythm.
 * 22px is the established Object Header / collapsible-section help size.
 * Cards and specialized headings use the same control, never a smaller variant. */
.mmm-workspace-section__help,
.mmm-workspace__modulehelp > summary.mmm-workspace-section__help{
	width:22px;
	min-width:22px;
	height:22px;
	min-height:22px;
	font-size:12px;
}
.mmm-workspace-section__help svg,
.mmm-workspace__modulehelp > summary.mmm-workspace-section__help svg{
	width:12px;
	height:12px;
}
.mmm-audience-personas .mmm-workspace__section-heading{
	gap:var(--mmm-layout-control-gap, 12px);
	margin-bottom:var(--mmm-layout-compact-gap, 8px);
}
.mmm-audience-personas .mmm-workspace__relation-head .mmm-button--compact{
	margin-top:var(--mmm-layout-compact-gap, 8px);
}

/* 0.16.62 — Card Shell help uses the canonical circular ? control.
 * Geometry is inherited from the shared 22px help primitive; only card-context
 * positioning belongs here. This replaces the historical modulebar-icon look. */
.mmm-card-shell .mmm-workspace__modulehelp--head > summary.mmm-workspace-section__help{
	width:22px;
	min-width:22px;
	height:22px;
	min-height:22px;
	padding:0;
	border:1px solid currentColor;
	border-radius:50%;
	background:transparent;
	color:inherit;
}
.mmm-card-shell .mmm-workspace__modulehelp--head > summary.mmm-workspace-section__help svg{
	width:12px;
	height:12px;
}

/* 0.16.63 — canonical object intro projection.
 * Content comes from Human Datamodel intro_source; this is presentation only. */
.mmm-workspace__object-header .mmm-workspace__object-intro{
	grid-column:1 / -1;
	max-width:72ch;
	margin:var(--mmm-layout-compact-gap, 8px) 0 0;
	font-size:var(--mmm-type-body, 16px);
	line-height:1.55;
}

/* 0.16.64 — object intro read-more stays part of the canonical header projection. */
.mmm-workspace__object-header .mmm-workspace__object-intro{
	grid-column:1 / -1;
	max-width:72ch;
	margin:var(--mmm-layout-compact-gap, 8px) 0 0;
}
.mmm-workspace__object-header .mmm-workspace__object-intro p{
	margin:0;
	font-size:var(--mmm-type-body, 16px);
	line-height:1.55;
}
.mmm-workspace__object-intro-more{
	display:inline-block;
	margin-top:var(--mmm-layout-compact-gap, 8px);
	font-size:var(--mmm-utility-text-size, 13px);
	font-weight:600;
}

/* 0.16.65 — semantic portal links.
 * Color follows the central Body/Portal auto-contrast role, not Brand Primary. */
.mmm-workspace__object-intro-more{
	color:var(--mmm-text-link, currentColor);
}
.mmm-workspace__object-intro-more:hover,
.mmm-workspace__object-intro-more:focus-visible{
	color:var(--mmm-text-body, currentColor);
}

/* 0.16.66 — rich object intro: use full header width; source word budget keeps it compact. */
.mmm-workspace__object-header .mmm-workspace__object-intro{
	max-width:none;
	width:100%;
}
.mmm-workspace__object-header .mmm-workspace__object-intro p{
	margin:0 0 var(--mmm-layout-compact-gap, 8px);
}
.mmm-workspace__object-header .mmm-workspace__object-intro p:last-of-type{
	margin-bottom:0;
}
.mmm-workspace__object-header .mmm-workspace__object-intro ul,
.mmm-workspace__object-header .mmm-workspace__object-intro ol{
	margin:var(--mmm-layout-compact-gap, 8px) 0;
	padding-left:1.4em;
}
.mmm-workspace__object-header .mmm-workspace__object-intro li + li{
	margin-top:.25em;
}
.mmm-workspace__object-intro-more{
	font-size:var(--mmm-type-small, 14px);
	line-height:1.4;
	font-weight:600;
}

/* 0.16.67 — intro CTA reuses the shared light/secondary button contract. */
.mmm-workspace__object-intro-more.mmm-button{
	margin-top:var(--mmm-layout-compact-gap, 8px);
	font-size:var(--mmm-type-small, 14px);
	line-height:1.4;
	font-weight:600;
	text-decoration:none;
}

/* 0.16.68 — canonical Object Header → action-row rhythm.
 * The shared UI System section-gap token owns this separation; fixed strategy
 * pages and object singles use the same header/action contract. */
.mmm-workspace__object-header > .mmm-object-actions,
.mmm-workspace__object-header > .mmm-workspace__page-actions{
	margin-top:var(--mmm-layout-section-gap, var(--mmm-workspace-gap, 24px));
}

/* 0.16.69 — Object Header owns the vertical rhythm between heading/intro and actions.
 * The action row is part of the header DOM, so the header itself is the canonical
 * spacing owner. This avoids relying on a child margin inside workspace layout. */
.mmm-workspace__object-header{
	display:flex;
	flex-direction:column;
	gap:var(--mmm-layout-section-gap, var(--mmm-workspace-gap, 24px));
}
.mmm-workspace__object-header > .mmm-workspace__object-breadcrumb{
	margin-bottom:calc(-1 * (var(--mmm-layout-section-gap, var(--mmm-workspace-gap, 24px)) - 6px));
}
.mmm-workspace__object-header > .mmm-object-actions,
.mmm-workspace__object-header > .mmm-workspace__page-actions{
	margin-top:0;
}


/* 0.16.75 — Home create action keeps the shared header flow and owns
   a full section gap before the following Guidance/content projection. */
.mmm-page-shell > .mmm-home-header__actions {
	margin: 0 0 var(--mmm-layout-section-gap, var(--mmm-workspace-gap, 24px));
}


/* MMM Theme 0.16.78 — Brand Assets is one shared Presentation Grid. */
.mmm-brand-assets__all-assets {
	margin-top: var(--wp--preset--spacing--50, 2.5rem);
}
.mmm-brand-assets__colors-card .mmm-card-shell__body {
	padding-top: 0;
}
.mmm-brand-assets__color-list {
	display: grid;
	gap: 8px;
}
.mmm-brand-assets__color-row {
	display: grid;
	grid-template-columns: 32px minmax(80px,1fr) auto auto;
	align-items: center;
	gap: 8px;
}
.mmm-brand-assets__color-row .mmm-brand-assets__swatch {
	width: 32px;
	height: 32px;
	border-radius: 6px;
}
.mmm-brand-assets__color-row code {
	font-size: 12px;
	white-space: nowrap;
}
.mmm-brand-assets__color-row .mmm-brand-assets__copy {
	width: auto;
	min-height: 32px;
	padding: 5px 8px;
	font-size: 12px;
}
.mmm-brand-assets__canonical-logo-card .mmm-brand-assets__media {
	min-height: 120px;
}
.mmm-brand-assets__canonical-logo-card .mmm-brand-assets__brand-logo {
	max-height: 110px;
}
.mmm-brand-assets__canonical-logo-card .mmm-card-shell__header {
	padding-top: 14px;
	padding-bottom: 14px;
}
.mmm-brand-assets__colors-card .mmm-card-shell__manager-toolbar,
.mmm-brand-assets__canonical-logo-card .mmm-card-shell__manager-toolbar {
	margin-top: 0;
}
@media (max-width: 700px) {
	.mmm-brand-assets__color-row {
		grid-template-columns: 32px minmax(0,1fr) auto;
	}
	.mmm-brand-assets__color-row .mmm-brand-assets__copy {
		grid-column: 2 / -1;
		justify-self: start;
	}
}


/* MMM Theme 0.16.79 — canonical Brand Assets logo is an image-only Card Shell projection. */
.mmm-brand-assets__canonical-logo-card .mmm-brand-assets__canonical-logo-main {
	display: flex;
	min-height: 0;
}
.mmm-brand-assets__canonical-logo-card .mmm-brand-assets__canonical-logo-media {
	flex: 1 1 auto;
	width: 100%;
	min-height: 280px;
	padding: 24px;
	border-bottom: 0;
}
.mmm-brand-assets__canonical-logo-card .mmm-brand-assets__brand-logo {
	width: 100%;
	height: 100%;
	max-width: 100%;
	max-height: 360px;
	object-fit: contain;
}


/* MMM Theme 0.16.81 — Brand Asset editor uses the shared module-dialog contract.
 * Form values use normal reading typography; labels retain label emphasis. */
.mmm-brand-assets__dialog-panel {
	width:min(760px,calc(100vw - 32px));
	max-height:min(86vh,900px);
	overflow:auto;
}

.mmm-brand-assets__dialog .mmm-brand-assets__editor {
	max-width:none;
}

.mmm-brand-assets__dialog .mmm-brand-assets__editor-head {
	padding-right:40px;
}

.mmm-brand-assets__form input[type="text"],
.mmm-brand-assets__form input[type="url"],
.mmm-brand-assets__form input[type="file"],
.mmm-brand-assets__form select,
.mmm-brand-assets__form textarea {
	font-family:inherit;
	font-size:var(--wp--preset--font-size--small,1rem);
	font-weight:400;
}

.mmm-brand-assets__form input[type="file"] {
	font-weight:400;
}

.mmm-brand-assets__form [data-mmm-asset-field][hidden] {
	display:none !important;
}


/* MMM Theme 0.16.83 — shared Card Shell media-fill contract.
 * Image Custom Cards render no content body: media owns the complete card
 * surface above the canonical manager toolbar. */
.mmm-card-shell--media-fill {
	display:flex !important;
	flex-direction:column;
	min-height:min(360px,42vw);
}

.mmm-card-shell--media-fill > .mmm-presentation-media {
	position:relative;
	flex:1 1 auto;
	min-height:0;
	width:100%;
	margin:0 !important;
	padding:0 !important;
	overflow:hidden;
}

.mmm-card-shell--media-fill > .mmm-presentation-media::before {
	content:none !important;
	display:none !important;
}

.mmm-card-shell--media-fill > .mmm-presentation-media > .mmm-presentation-media__image {
	position:absolute;
	inset:0;
	display:block;
	width:100%;
	height:100%;
	max-width:none;
	max-height:none;
	margin:0;
	object-fit:cover;
}


/* 0.16.93 — Module picker projection of the canonical help control.
 * The shell owns picker geometry; the shared help primitive remains unchanged. */
.mmm-workspace__choice-shell{
	position:relative;
	min-width:0;
}
.mmm-workspace__choice-shell > .mmm-workspace__choice{
	box-sizing:border-box;
	width:100%;
	height:100%;
	padding-right:42px;
}
.mmm-workspace__choice-shell > .mmm-workspace__modulehelp--picker{
	position:absolute;
	top:12px;
	right:12px;
	z-index:6;
	margin:0;
}
.mmm-workspace__choice-shell > .mmm-workspace__modulehelp--picker .mmm-workspace__modulehelp-popover{
	top:calc(100% + 9px);
	right:0;
	bottom:auto;
	left:auto;
}
.mmm-workspace__choice-shell:has(.mmm-workspace__modulehelp--picker[open]){
	z-index:60;
}


/* 0.16.93 — Keep module-picker help popovers inside the dialog.
 * Picker geometry only; the canonical help component remains unchanged. */
.mmm-workspace__choice-shell > .mmm-workspace__modulehelp--picker{
	position:static;
}
.mmm-workspace__choice-shell > .mmm-workspace__modulehelp--picker > summary{
	position:absolute;
	top:12px;
	right:12px;
	z-index:6;
}
.mmm-workspace__choice-shell > .mmm-workspace__modulehelp--picker .mmm-workspace__modulehelp-popover{
	top:42px;
	right:auto;
	bottom:auto;
	left:0;
	width:min(320px, calc(100vw - 64px));
	max-width:none;
}
.mmm-workspace__choice-shell:has(.mmm-workspace__modulehelp--picker[open]){
	z-index:60;
}


/* 0.16.93 — MMM Discussions v1: modal projection only.
 * Workflow/content remain Core-owned native WP comments. */
.mmm-discussion{margin-top:var(--mmm-space-lg,32px);padding-top:var(--mmm-space-md,24px);border-top:1px solid color-mix(in srgb,currentColor 12%,transparent)}
.mmm-discussion__head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}
.mmm-discussion__head h3,.mmm-discussion__new h4{margin-top:0}
.mmm-discussion__count,.mmm-discussion__status{display:inline-flex;align-items:center;justify-content:center;min-width:22px;min-height:22px;padding:0 7px;border:1px solid currentColor;border-radius:999px;font-size:.75rem}
.mmm-discussion__thread{margin:14px 0;padding:14px;border:1px solid color-mix(in srgb,currentColor 12%,transparent);border-radius:var(--mmm-card-radius,8px)}
.mmm-discussion__thread.is-actionable{border-width:2px}
.mmm-discussion__comment--reply{margin:12px 0 0 24px;padding-left:14px;border-left:2px solid color-mix(in srgb,currentColor 14%,transparent)}
.mmm-discussion__meta{display:flex;flex-wrap:wrap;align-items:center;gap:8px;font-size:.8rem}
.mmm-discussion__meta span:not(.mmm-discussion__status){opacity:.65}
.mmm-discussion__text p{margin:.5rem 0}
.mmm-discussion__actions{display:flex;flex-wrap:wrap;gap:10px;align-items:flex-start;margin-top:10px}
.mmm-discussion__actions form{margin:0}
.mmm-discussion__actions button,.mmm-discussion__actions summary{font:inherit;cursor:pointer}
.mmm-discussion__form{display:grid;gap:8px;margin-top:10px}
.mmm-discussion__form textarea{box-sizing:border-box;width:100%;resize:vertical}
.mmm-discussion__new{margin-top:20px}


/* 0.16.93 — Discussion polish: keep the shared modal projection, improve hierarchy. */
.mmm-discussion__thread{position:relative;padding:16px 18px}
.mmm-discussion__thread>.mmm-discussion__comment:first-child{padding-right:150px}
.mmm-discussion__actions{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:start}
.mmm-discussion__actions>details{min-width:0;width:100%}
.mmm-discussion__actions>details>summary{display:inline-flex;align-items:center;min-height:32px}
.mmm-discussion__actions>details[open]{grid-column:1/-1}
.mmm-discussion__actions>details[open] .mmm-discussion__form{max-width:none;width:100%;grid-template-columns:minmax(0,1fr) auto;align-items:end}
.mmm-discussion__actions>details[open] .mmm-discussion__form textarea{min-height:76px}
.mmm-discussion__actions>details[open] .mmm-discussion__form button{min-width:112px}
.mmm-discussion__actions>form{position:absolute;top:12px;right:14px}
.mmm-discussion__actions>form button{white-space:nowrap}
.mmm-discussion__new .mmm-discussion__form{grid-template-columns:minmax(0,1fr) auto;align-items:end}
.mmm-discussion__new .mmm-discussion__form textarea{min-height:84px}
.mmm-discussion__new .mmm-discussion__form button{min-width:112px}
@media (max-width:700px){
	.mmm-discussion__thread>.mmm-discussion__comment:first-child{padding-right:0}
	.mmm-discussion__actions>form{position:static}
	.mmm-discussion__actions,.mmm-discussion__new .mmm-discussion__form,.mmm-discussion__actions>details[open] .mmm-discussion__form{grid-template-columns:1fr}
}


/* 0.16.93 — Discussion action hierarchy.
 * Buttons are owned by the central MMM button system; only placement/scale is contextual. */
.mmm-discussion__actions>details>summary.mmm-button{
	min-height:28px;
	padding:3px 8px;
	font-size:var(--mmm-type-small,13px);
	font-weight:600;
}
.mmm-discussion__actions>details>summary.mmm-button::marker{font-size:.72em}
.mmm-discussion__actions>details[open]>summary.mmm-button{margin-bottom:6px}


/* 0.16.93 — compact Discussion workflow actions.
 * Still uses the canonical MMM secondary/compact button primitive. */
.mmm-discussion__actions>form>.mmm-button{
	min-height:28px;
	padding:3px 8px;
	font-size:var(--mmm-type-small,13px);
	line-height:1.15;
}

/* 0.16.93 — semantic resolve treatment via existing MMM button/success tokens. */
.mmm-discussion__actions>form>.mmm-discussion__resolve{
	background:var(--wp--preset--color--brand-soft,#eef3f1);
	color:inherit !important;
	border-color:color-mix(in srgb,currentColor 16%,transparent);
}
.mmm-discussion__actions>form>.mmm-discussion__resolve:hover{
	filter:brightness(.97);
}
.mmm-discussion__resolve .mmm-ui-icon{width:15px;height:15px;flex:0 0 15px}

/* 0.17.33 — Discussion author actions use the shared MMM action hierarchy.
 * Author actions are distinct from thread workflow actions so modal positioning
 * can never pull Edit/Delete into the absolute Aandacht action slot. */
.mmm-discussion__owner-actions{
	display:flex;
	flex-wrap:wrap;
	align-items:center;
	gap:8px;
	margin-top:8px;
}
.mmm-discussion__owner-actions>details,
.mmm-discussion__owner-actions>form{
	margin:0;
}
.mmm-discussion__owner-actions>details[open]{
	flex-basis:100%;
}
.mmm-discussion__owner-actions>details[open]>summary{
	margin-bottom:6px;
}
.mmm-context-rail__owner-actions{
	gap:6px;
	margin-top:7px;
}

/* 0.16.93 — Aandacht two-column projection; Card Shell remains canonical. */
.mmm-attention-workspace__columns{
	display:grid;
	grid-template-columns:minmax(0,1fr) minmax(0,1fr);
	gap:var(--mmm-card-gap,20px);
	align-items:start;
}
.mmm-attention-workspace__column{
	display:grid;
	grid-template-columns:minmax(0,1fr);
	gap:var(--mmm-card-gap,20px);
	min-width:0;
}
.mmm-attention-workspace__column>.mmm-card-shell{
	width:100%;
	min-width:0;
}
@media (max-width:800px){
	.mmm-attention-workspace__columns{grid-template-columns:1fr}
}


/* 0.16.94 — central picker/modal parity.
 * Gutenberg flow spacing must never offset a fixed application dialog.
 * Button-backed picker choices share the same geometry as link-backed choices.
 */
.mmm-module-dialog {
	margin: 0 !important;
	margin-block-start: 0 !important;
}
button.mmm-workspace__choice {
	appearance: none;
	box-sizing: border-box;
	width: 100%;
	min-height: 100%;
	margin: 0;
	background: transparent;
	font: inherit;
	text-align: left;
	cursor: pointer;
}
.mmm-workspace__choice-shell > form,
form.mmm-workspace__choice-shell {
	margin: 0;
	min-width: 0;
}


/* 0.16.95 — causal-object reader containment.
 * Module reader output can contain legacy floated content; each canonical
 * field owns its height so Discussion starts only after the complete KPI/KSF.
 */
.mmm-causal-object-dialog__reader {
	grid-auto-rows: max-content;
	align-items: start;
}
.mmm-causal-object-dialog__field {
	display: flow-root;
	min-width: 0;
}

/* 0.16.95 — Discussion @mention suggestions. */
.mmm-discussion__composer {
	position: relative;
	min-width: 0;
}
.mmm-discussion__mention-menu {
	position: absolute;
	z-index: 20;
	left: 0;
	right: 0;
	top: calc(100% + 4px);
	max-height: 220px;
	overflow: auto;
	padding: 4px;
	border: 1px solid color-mix(in srgb,currentColor 16%,transparent);
	border-radius: var(--mmm-card-radius,8px);
	background: var(--wp--preset--color--base,#fff);
	box-shadow: 0 10px 28px color-mix(in srgb,#000 16%,transparent);
}
.mmm-discussion__mention-option {
	appearance: none;
	display: flex;
	align-items: baseline;
	gap: 8px;
	width: 100%;
	padding: 7px 9px;
	border: 0;
	border-radius: 5px;
	background: transparent;
	color: inherit;
	font: inherit;
	text-align: left;
	cursor: pointer;
}
.mmm-discussion__mention-option span {
	opacity: .62;
	font-size: var(--mmm-type-small,13px);
}
.mmm-discussion__mention-option:hover,
.mmm-discussion__mention-option.is-active {
	background: color-mix(in srgb,currentColor 7%,transparent);
}


/* 0.16.96 — causal object owns one explicit vertical content flow.
 * Reader, optional KSF→KPI projection and Discussion are ordered grid items.
 * This fixes Discussion overlapping later KPI fields at the structural owner.
 */
.mmm-causal-object-dialog__content {
	display: grid;
	grid-template-columns: minmax(0,1fr);
	grid-auto-flow: row;
	grid-auto-rows: max-content;
	align-items: start;
	gap: 0;
	min-width: 0;
}
.mmm-causal-object-dialog__content > .mmm-causal-object-dialog__reader,
.mmm-causal-object-dialog__content > .mmm-causal-projection--dialog,
.mmm-causal-object-dialog__content > .mmm-discussion {
	position: static;
	float: none;
	clear: both;
	width: 100%;
	min-width: 0;
}

/* 0.16.97 — MMM Signals in canonical userbar chrome. */
.mmm-userbar-signals{position:relative}
.mmm-userbar-signals__trigger{position:relative;display:inline-flex;align-items:center;justify-content:center;min-width:32px}
.mmm-userbar-signals__trigger .mmm-ui-icon{width:16px;height:16px}
.mmm-userbar-signals__badge{position:absolute;top:-4px;right:-5px;display:inline-flex;align-items:center;justify-content:center;min-width:16px;height:16px;padding:0 4px;border-radius:999px;background:var(--wp--preset--color--accent,#f59e0b);color:#111;font-size:10px;font-weight:700;line-height:1}
.mmm-userbar-signals__panel{width:min(360px,calc(100vw - 24px));padding:0}
.mmm-userbar-signals__head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;border-bottom:1px solid color-mix(in srgb,currentColor 12%,transparent)}
.mmm-userbar-signals__head form{margin:0}
.mmm-userbar-signals__read-all{appearance:none;border:0;padding:0;background:transparent;color:inherit;font:inherit;font-size:var(--mmm-type-small,13px);text-decoration:underline;cursor:pointer}
.mmm-userbar-signals__item{display:grid;gap:4px;padding:10px 12px;color:inherit;text-decoration:none;border-bottom:1px solid color-mix(in srgb,currentColor 8%,transparent)}
.mmm-userbar-signals__item.is-unread{background:color-mix(in srgb,var(--wp--preset--color--accent,#f59e0b) 10%,transparent)}
.mmm-userbar-signals__item>span:first-child{display:flex;justify-content:space-between;gap:10px}
.mmm-userbar-signals__item small,.mmm-userbar-signals__excerpt{font-size:var(--mmm-type-small,13px);opacity:.68}
.mmm-userbar-signals__empty{margin:0;padding:14px 12px;opacity:.68}

/* MMM Theme 0.16.98 — shared object edit-menu geometry.
 * All object-level manager actions use the compact button geometry of
 * + Module toevoegen. Semantic primary/secondary/destructive styling remains intact. */
.mmm-object-actions > .mmm-button,
.mmm-object-actions > .mmm-workspace__button,
.mmm-object-actions > form > .mmm-button,
.mmm-object-actions > .mmm-workspace__page-delete > button {
	min-height: 30px;
	padding: 4px 10px;
	font-size: var(--mmm-type-small, 13px);
	line-height: 1.2;
	box-sizing: border-box;
}


/* MMM Theme 0.17.32 — Home intro projection rhythm.
 * Guidance and Summary remain marginless projections. Their shared parent now
 * consumes the canonical Presentation/Card gap, matching the spacing ownership
 * established for application workspaces in 0.17.12. */
.mmm-home-intro-flow {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: var(--mmm-presentation-gap, var(--mmm-card-gap, 24px));
	min-width: 0;
}
.mmm-home-intro-flow > .mmm-guidance,
.mmm-home-intro-flow > .mmm-home-intro-summary {
	min-width: 0;
	margin: 0;
}


/* MMM 0.17.01 — Application Shell v1.
   The rails are projections around the existing workspace; they do not own content,
   permissions or route truth. The canonical mmm/navigation block owns the left rail. */
.mmm-context-application-only .mmm-app-shell-header { margin: 0; }
.mmm-app-shell__left,
.mmm-app-shell__right {
	box-sizing: border-box;
	position: fixed;
	top: 34px;
	bottom: 0;
	z-index: 40;
	overflow-y: auto;
	background: var(--mmm-surface-page, #fff);
}
.mmm-app-shell__left {
	left: 0;
	width: 224px;
	padding: 18px 14px 24px;
	border-right: 1px solid rgba(0,0,0,.10);
}
.mmm-app-shell__right {
	right: 0;
	width: 288px;
	padding: 22px 18px;
	border-left: 1px solid rgba(0,0,0,.10);
}
.mmm-app-shell__brand {
	align-items: center;
	gap: 10px;
	margin-bottom: 18px;
}
.mmm-app-shell__brand .wp-block-site-title,
.mmm-app-shell__brand .wp-block-site-title a {
	margin: 0;
	color: inherit;
	font-size: 14px;
	font-weight: 700;
	text-decoration: none;
}
.mmm-app-shell__left .mmm-navigation-adapter--rail,
.mmm-app-shell__left .wp-block-navigation,
.mmm-app-shell__left .wp-block-navigation__container {
	width: 100%;
	margin: 0;
}
.mmm-app-shell__left .wp-block-navigation__container {
	display: flex !important;
	flex-direction: column;
	align-items: stretch !important;
	gap: 4px !important;
	height: auto;
}
.mmm-app-shell__left .wp-block-navigation-item {
	width: 100%;
}
.mmm-app-shell__left .wp-block-navigation-item__content {
	box-sizing: border-box;
	width: 100%;
	padding: 8px 9px;
	text-decoration: none;
	border-radius: 6px;
}
.mmm-app-shell__left .mmm-nav-current-branch > .wp-block-navigation-item__content,
.mmm-app-shell__left .current-menu-item > .wp-block-navigation-item__content {
	background: var(--mmm-brand-soft, rgba(0,0,0,.06));
	font-weight: 700;
}
.mmm-app-shell__left .wp-block-navigation__submenu-container {
	position: static !important;
	visibility: visible !important;
	opacity: 1 !important;
	width: auto !important;
	min-width: 0 !important;
	height: auto !important;
	padding: 2px 0 2px 12px !important;
	border: 0 !important;
	background: transparent !important;
}
.mmm-app-shell__left .wp-block-navigation__submenu-icon { display: none; }
.mmm-app-shell__right h3 { margin-top: 0; }

body:has(.mmm-app-shell-header) .mmm-main,
body:has(.mmm-app-shell-header) .mmm-feedback-wrap,
body:has(.mmm-app-shell-header) .mmm-footer {
	box-sizing: border-box;
	margin-left: 224px !important;
	margin-right: 288px !important;
	width: auto !important;
	max-width: none !important;
}
body:has(.mmm-app-shell-header) .mmm-main > *,
body:has(.mmm-app-shell-header) .mmm-feedback-wrap > *,
body:has(.mmm-app-shell-header) .mmm-footer > * {
	max-width: var(--wp--style--global--wide-size, 1160px);
	margin-inline: auto;
}

@media (max-width: 1100px) {
	.mmm-app-shell__right { display: none; }
	body:has(.mmm-app-shell-header) .mmm-main,
	body:has(.mmm-app-shell-header) .mmm-feedback-wrap,
	body:has(.mmm-app-shell-header) .mmm-footer {
		margin-right: 0 !important;
	}
}
@media (max-width: 760px) {
	.mmm-app-shell__left { display: none; }
	body:has(.mmm-app-shell-header) .mmm-main,
	body:has(.mmm-app-shell-header) .mmm-feedback-wrap,
	body:has(.mmm-app-shell-header) .mmm-footer {
		margin-left: 0 !important;
	}
}


/* MMM Theme 0.17.02 — Application Shell v2.
   Geometry and rail navigation only. Route truth remains owned by mmm/navigation. */
.mmm-context-application-only .mmm-app-shell-header + .mmm-main,
body:has(.mmm-app-shell-header) .mmm-main {
	margin-block-start: 0 !important;
}

.mmm-app-shell__left {
	width: 260px;
	padding: 18px 16px 24px;
}

/* The native Navigation block remains the renderer; in the rail projection every
   submenu is laid out as an explicit vertical branch instead of inheriting the
   horizontal/header submenu geometry. */
.mmm-app-shell__left .wp-block-navigation-item,
.mmm-app-shell__left .wp-block-navigation-submenu {
	box-sizing: border-box;
	display: block !important;
	min-width: 0 !important;
	max-width: 100% !important;
}
.mmm-app-shell__left .wp-block-navigation__submenu-container {
	display: flex !important;
	flex-direction: column !important;
	align-items: stretch !important;
	justify-content: flex-start !important;
	flex-wrap: nowrap !important;
	gap: 2px !important;
	position: static !important;
	inset: auto !important;
	visibility: visible !important;
	opacity: 1 !important;
	width: 100% !important;
	min-width: 0 !important;
	max-width: 100% !important;
	height: auto !important;
	margin: 0 !important;
	padding: 2px 0 2px 12px !important;
	border: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
}
.mmm-app-shell__left .wp-block-navigation-item__content {
	display: block !important;
	min-width: 0 !important;
	max-width: 100% !important;
	white-space: normal !important;
	overflow-wrap: normal;
	word-break: normal;
	line-height: 1.3;
}

body:has(.mmm-app-shell-header) .mmm-main,
body:has(.mmm-app-shell-header) .mmm-feedback-wrap,
body:has(.mmm-app-shell-header) .mmm-footer {
	margin-left: 260px !important;
}

@media (max-width: 760px) {
	body:has(.mmm-app-shell-header) .mmm-main,
	body:has(.mmm-app-shell-header) .mmm-feedback-wrap,
	body:has(.mmm-app-shell-header) .mmm-footer {
		margin-left: 0 !important;
	}
}


/* MMM Theme 0.17.03 — Application Shell v3.
   Rails and workspace form one layout rhythm. The gap is owned by the UI System
   through --mmm-layout-gap; no independent sidebar/workspace spacing truth. */
.mmm-app-shell__left {
	width: 288px;
	padding: var(--mmm-space-xs, 12px) 18px 24px;
}
.mmm-app-shell__right {
	width: 320px;
	padding: var(--mmm-layout-gap, 24px) 18px 24px;
}

/* Dedicated rail projection: intentionally independent from horizontal
   wp-block-navigation geometry while consuming the same canonical route tree. */
.mmm-app-shell__left .mmm-navigation-adapter--rail,
.mmm-app-shell__left .mmm-rail-nav {
	width: 100%;
	margin: 0;
}
.mmm-app-shell__left .mmm-rail-nav__list {
	list-style: none;
	margin: 0;
	padding: 0;
}
.mmm-app-shell__left .mmm-rail-nav__list .mmm-rail-nav__list {
	margin-top: 2px;
	padding-left: 14px;
}
.mmm-app-shell__left .mmm-rail-nav__item {
	display: block;
	min-width: 0;
	margin: 0;
	padding: 0;
}
.mmm-app-shell__left .mmm-rail-nav__link {
	box-sizing: border-box;
	display: block;
	width: 100%;
	min-width: 0;
	padding: 7px 9px;
	border-radius: 6px;
	color: inherit;
	line-height: 1.3;
	text-decoration: none;
	white-space: normal;
	word-break: normal;
	overflow-wrap: break-word;
}
.mmm-app-shell__left .mmm-rail-nav__item--level-0 > .mmm-rail-nav__link {
	font-weight: 700;
	margin-top: 6px;
}
.mmm-app-shell__left .mmm-rail-nav__item.is-current > .mmm-rail-nav__link {
	background: var(--mmm-brand-soft, rgba(0,0,0,.06));
	font-weight: 700;
}
.mmm-app-shell__left .mmm-rail-nav__item.is-current-branch:not(.is-current) > .mmm-rail-nav__link {
	font-weight: 700;
}

/* The workspace edge uses exactly the same effective gap as the Presentation
   Grid. This is intentionally a padding/gutter contract rather than ad-hoc
   margins on individual workspaces. */
body:has(.mmm-app-shell-header) .mmm-main,
body:has(.mmm-app-shell-header) .mmm-feedback-wrap,
body:has(.mmm-app-shell-header) .mmm-footer {
	margin-left: 288px !important;
	margin-right: 320px !important;
	padding-left: var(--mmm-layout-gap, 24px) !important;
	padding-right: var(--mmm-layout-gap, 24px) !important;
}

@media (max-width: 1100px) {
	body:has(.mmm-app-shell-header) .mmm-main,
	body:has(.mmm-app-shell-header) .mmm-feedback-wrap,
	body:has(.mmm-app-shell-header) .mmm-footer {
		margin-right: 0 !important;
		padding-right: 0 !important;
	}
}
@media (max-width: 760px) {
	body:has(.mmm-app-shell-header) .mmm-main,
	body:has(.mmm-app-shell-header) .mmm-feedback-wrap,
	body:has(.mmm-app-shell-header) .mmm-footer {
		margin-left: 0 !important;
		padding-left: 0 !important;
	}
}


/* MMM Theme 0.17.04 — Application Shell semantic color roles.
   The shell does not calculate contrast. It projects the central UI System
   surface/foreground/state roles onto the vertical navigation and context rail. */
.mmm-app-shell__left {
	background: var(--mmm-surface-nav-1, var(--mmm-surface-page, #fff));
	color: var(--mmm-text-nav-1, var(--mmm-text-body, #1e1e1e));
}
.mmm-app-shell__right {
	background: var(--mmm-surface-panel, var(--mmm-surface-page, #fff));
	color: var(--mmm-text-panel, var(--mmm-text-body, #1e1e1e));
}
.mmm-app-shell__right a {
	color: inherit;
}

/* Level 0 / primary navigation. */
.mmm-app-shell__left .mmm-rail-nav__item--level-0 > .mmm-rail-nav__link {
	background: var(--mmm-surface-nav-1, transparent);
	color: var(--mmm-text-nav-1, inherit);
}
.mmm-app-shell__left .mmm-rail-nav__item--level-0 > .mmm-rail-nav__link:hover,
.mmm-app-shell__left .mmm-rail-nav__item--level-0 > .mmm-rail-nav__link:focus-visible {
	background: var(--mmm-surface-nav-1-hover, transparent);
	color: var(--mmm-text-nav-1-hover, var(--mmm-text-nav-1, inherit));
}
.mmm-app-shell__left .mmm-rail-nav__item--level-0.is-current > .mmm-rail-nav__link {
	background: var(--mmm-surface-nav-1-active, var(--mmm-brand-soft, rgba(0,0,0,.06)));
	color: var(--mmm-text-nav-1-active, var(--mmm-text-nav-1, inherit));
}

/* Level 1 / workspace navigation. */
.mmm-app-shell__left .mmm-rail-nav__item--level-1 > .mmm-rail-nav__link {
	background: var(--mmm-surface-nav-2, transparent);
	color: var(--mmm-text-nav-2, var(--mmm-text-nav-1, inherit));
}
.mmm-app-shell__left .mmm-rail-nav__item--level-1 > .mmm-rail-nav__link:hover,
.mmm-app-shell__left .mmm-rail-nav__item--level-1 > .mmm-rail-nav__link:focus-visible {
	background: var(--mmm-surface-nav-2-hover, transparent);
	color: var(--mmm-text-nav-2-hover, var(--mmm-text-nav-2, inherit));
}
.mmm-app-shell__left .mmm-rail-nav__item--level-1.is-current > .mmm-rail-nav__link {
	background: var(--mmm-surface-nav-2-active, var(--mmm-brand-soft, rgba(0,0,0,.06)));
	color: var(--mmm-text-nav-2-active, var(--mmm-text-nav-2, inherit));
}

/* Level 2+ / nested module navigation. */
.mmm-app-shell__left .mmm-rail-nav__item--level-2 > .mmm-rail-nav__link,
.mmm-app-shell__left .mmm-rail-nav__item--level-3 > .mmm-rail-nav__link {
	background: var(--mmm-surface-nav-3, transparent);
	color: var(--mmm-text-nav-3, var(--mmm-text-nav-2, inherit));
}
.mmm-app-shell__left .mmm-rail-nav__item--level-2 > .mmm-rail-nav__link:hover,
.mmm-app-shell__left .mmm-rail-nav__item--level-2 > .mmm-rail-nav__link:focus-visible,
.mmm-app-shell__left .mmm-rail-nav__item--level-3 > .mmm-rail-nav__link:hover,
.mmm-app-shell__left .mmm-rail-nav__item--level-3 > .mmm-rail-nav__link:focus-visible {
	background: var(--mmm-surface-nav-3-hover, transparent);
	color: var(--mmm-text-nav-3-hover, var(--mmm-text-nav-3, inherit));
}
.mmm-app-shell__left .mmm-rail-nav__item--level-2.is-current > .mmm-rail-nav__link,
.mmm-app-shell__left .mmm-rail-nav__item--level-3.is-current > .mmm-rail-nav__link {
	background: var(--mmm-surface-nav-3-active, var(--mmm-brand-soft, rgba(0,0,0,.06)));
	color: var(--mmm-text-nav-3-active, var(--mmm-text-nav-3, inherit));
}

/* Current branches communicate hierarchy without pretending to be the active route. */
.mmm-app-shell__left .mmm-rail-nav__item.is-current-branch:not(.is-current) > .mmm-rail-nav__link {
	text-decoration: none;
	font-weight: 700;
}


/* MMM Theme 0.17.06 — Application Shell geometry correction.
 * Rail width and shell gap are separate contracts:
 * - rails own their explicit width;
 * - UI System --mmm-layout-gap owns only rail↔workspace spacing;
 * - workspace children retain the canonical wide-size constraint.
 * This deliberately supersedes the rejected 0.17.05 approach that expanded
 * workspace children instead of widening the rails. */


/* MMM Theme 0.17.07 — canonical Presentation Grid single-gap ownership.
 * The Presentation Grid owns spacing between its direct items through `gap`.
 * Gutenberg/root flow margins on those same direct items would stack with that
 * gap and create a second spacing truth. Normalize only the direct grid-item
 * boundary; card internals and Application Shell rail gutters remain untouched. */
.mmm-presentation-grid > [data-mmm-presentation-item] {
	margin-block-start: 0 !important;
	margin-block-end: 0 !important;
}


/* MMM Theme 0.17.08 — Application Shell rail geometry.
 * Rail width is a shell concern, independent from shell spacing and Presentation Grid spacing.
 * One variable owns each rail width; the same value drives the fixed rail and the workspace offset. */
body:has(.mmm-app-shell-header) {
	--mmm-shell-left-width: 320px;
	--mmm-shell-right-width: 320px;
}
.mmm-app-shell__left {
	width: var(--mmm-shell-left-width, 320px);
}
.mmm-app-shell__right {
	width: var(--mmm-shell-right-width, 320px);
}
body:has(.mmm-app-shell-header) .mmm-main,
body:has(.mmm-app-shell-header) .mmm-feedback-wrap,
body:has(.mmm-app-shell-header) .mmm-footer {
	margin-left: var(--mmm-shell-left-width, 320px) !important;
	margin-right: var(--mmm-shell-right-width, 320px) !important;
}
@media (max-width: 1100px) {
	body:has(.mmm-app-shell-header) .mmm-main,
	body:has(.mmm-app-shell-header) .mmm-feedback-wrap,
	body:has(.mmm-app-shell-header) .mmm-footer {
		margin-right: 0 !important;
	}
}
@media (max-width: 760px) {
	body:has(.mmm-app-shell-header) .mmm-main,
	body:has(.mmm-app-shell-header) .mmm-feedback-wrap,
	body:has(.mmm-app-shell-header) .mmm-footer {
		margin-left: 0 !important;
	}
}

/* MMM Theme 0.17.44 — spacing ownership cleanup.
 * Presentation spacing is owned once:
 * - Application Shell boundary: --mmm-layout-gap
 * - direct Presentation Grid items: --mmm-presentation-gap / --mmm-card-gap
 * - sibling semantic workspace sections: --mmm-layout-section-gap
 * Legacy workspace group/section margins must not stack around module projections.
 * Section boundaries remain semantic layout rhythm, not Card/Grid composition. */
.mmm-workspace__modules {
	margin-block: 0;
}
.mmm-workspace__modules > .mmm-workspace__group {
	margin-block-start: 0;
}
.mmm-workspace__modules > .mmm-workspace__group + .mmm-workspace__group {
	margin-block-start: var(--mmm-presentation-gap, var(--mmm-card-gap, 24px));
}
.mmm-workspace__modules > .mmm-workspace__group > .mmm-workspace__section {
	margin-block-start: 0;
}
.mmm-workspace__modules > .mmm-workspace__group > .mmm-workspace__section + .mmm-workspace__section {
	margin-block-start: var(--mmm-layout-section-gap, var(--mmm-workspace-gap, 24px));
}

/* The shell owns exactly one horizontal gap between each fixed rail and the
 * canonical workspace. Historical shell rules remain as compatibility layers,
 * but these final declarations make the ownership explicit and deterministic. */
body:has(.mmm-app-shell-header) .mmm-main,
body:has(.mmm-app-shell-header) .mmm-feedback-wrap,
body:has(.mmm-app-shell-header) .mmm-footer {
	padding-left: var(--mmm-layout-gap, 24px) !important;
	padding-right: var(--mmm-layout-gap, 24px) !important;
}
@media (max-width: 1100px) {
	body:has(.mmm-app-shell-header) .mmm-main,
	body:has(.mmm-app-shell-header) .mmm-feedback-wrap,
	body:has(.mmm-app-shell-header) .mmm-footer {
		padding-right: 0 !important;
	}
}
@media (max-width: 760px) {
	body:has(.mmm-app-shell-header) .mmm-main,
	body:has(.mmm-app-shell-header) .mmm-feedback-wrap,
	body:has(.mmm-app-shell-header) .mmm-footer {
		padding-left: 0 !important;
	}
}

/* MMM Theme 0.17.10 — canonical Application Shell gap ownership.
 * Rail width, shell gap and internal rail padding are separate contracts:
 * - fixed rails own only their width and internal padding;
 * - --mmm-layout-gap is consumed exactly once as the rail↔workspace offset;
 * - the canonical workspace itself does not add a second horizontal shell gap.
 * Gutenberg root-flow margins are neutralized on the fixed shell rails. */
body:has(.mmm-app-shell-header) .mmm-app-shell__left,
body:has(.mmm-app-shell-header) .mmm-app-shell__right {
	margin: 0 !important;
}

body:has(.mmm-app-shell-header) .mmm-main,
body:has(.mmm-app-shell-header) .mmm-feedback-wrap,
body:has(.mmm-app-shell-header) .mmm-footer {
	margin-left: calc(var(--mmm-shell-left-width, 320px) + var(--mmm-layout-gap, 24px)) !important;
	margin-right: calc(var(--mmm-shell-right-width, 320px) + var(--mmm-layout-gap, 24px)) !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
}

@media (max-width: 1100px) {
	body:has(.mmm-app-shell-header) .mmm-main,
	body:has(.mmm-app-shell-header) .mmm-feedback-wrap,
	body:has(.mmm-app-shell-header) .mmm-footer {
		margin-right: 0 !important;
		padding-right: 0 !important;
	}
}

@media (max-width: 760px) {
	body:has(.mmm-app-shell-header) .mmm-main,
	body:has(.mmm-app-shell-header) .mmm-feedback-wrap,
	body:has(.mmm-app-shell-header) .mmm-footer {
		margin-left: 0 !important;
		padding-left: 0 !important;
	}
}

/* MMM Theme 0.17.11 — finish Application Shell geometry.
 * Once .mmm-main is bounded by the two rails + canonical shell gaps, its direct
 * workspace projections must fill that available column. The historical global
 * wide-size cap would otherwise re-center a narrower child and visually add a
 * second left/right inset on wide viewports. */
body:has(.mmm-app-shell-header) .mmm-main > *,
body:has(.mmm-app-shell-header) .mmm-main > .alignwide,
body:has(.mmm-app-shell-header) .mmm-main .mmm-site-width {
	max-width: none !important;
	width: 100%;
	margin-left: 0 !important;
	margin-right: 0 !important;
}

/* The existing global black bar is the Application Shell topbar.
 * Keep the same header/projection; only its scroll behaviour becomes sticky. */
.mmm-app-shell-header {
	position: sticky;
	top: 0;
	z-index: 1000;
}

/* MMM Theme 0.17.12 — workspace / Presentation Grid spacing ownership.
 *
 * Audit outcome:
 * - --mmm-layout-gap belongs to the Application Shell rail↔workspace boundary.
 * - --mmm-presentation-gap / --mmm-card-gap belongs to card/grid composition.
 * - .mmm-workspace previously also consumed --mmm-layout-section-gap, which is
 *   derived from the shell/workspace gap. That made the shell spacing appear a
 *   second time between workspace projections.
 *
 * Keep the existing renderer and Card/Grid contract. This patch only removes
 * the duplicate spacing owner and makes landing Presentation Grids consume the
 * canonical presentation gap instead of the historical flow-gap override.
 */
body:has(.mmm-app-shell-header) .mmm-main .mmm-workspace {
	gap: var(--mmm-presentation-gap, var(--mmm-card-gap, 24px));
}

/* Landing cards are a Presentation Grid; the grid itself owns card spacing. */
body:has(.mmm-app-shell-header) .mmm-main
	.mmm-workspace__strategy-links.mmm-presentation-grid,
body:has(.mmm-app-shell-header) .mmm-main
	.mmm-landing.mmm-presentation-grid {
	gap: var(--mmm-presentation-gap, var(--mmm-card-gap, 24px));
}

/* A landing summary and the following landing grid are sibling projections.
 * Their parent workspace already owns the one canonical projection gap. */
body:has(.mmm-app-shell-header) .mmm-main
	.mmm-workspace__strategy-summary,
body:has(.mmm-app-shell-header) .mmm-main
	.mmm-workspace__strategy-links {
	margin-block-start: 0 !important;
	margin-block-end: 0 !important;
}

/* MMM Theme 0.17.13 — Application Shell / Navigation pass.
 *
 * Ownership:
 * - userbar = system chrome, fixed to the viewport;
 * - left/right rails = Application Shell;
 * - footer = shell-level element below the workspace/rails;
 * - feedback = workspace sibling and consumes one presentation gap;
 * - navigation states/hierarchy = one rail-navigation contract.
 */

/* The actual black topbar is the sticky/fixed owner. The outer header remains
 * the structural shell wrapper and reserves exactly the bar height. */
body:has(.mmm-app-shell-header) .mmm-app-shell-header {
	position: relative;
	top: auto;
	z-index: auto;
	min-height: 36px;
	height: 36px;
}
body:has(.mmm-app-shell-header) .mmm-header-top {
	position: fixed;
	inset: 0 0 auto 0;
	z-index: 1000;
}
body:has(.mmm-app-shell-header) .mmm-app-shell__left,
body:has(.mmm-app-shell-header) .mmm-app-shell__right {
	top: 36px;
}

/* Keep rail scrolling available for short viewports without presenting a
 * permanent secondary scrollbar as interface chrome. */
body:has(.mmm-app-shell-header) .mmm-app-shell__left {
	scrollbar-width: none;
	-ms-overflow-style: none;
}
body:has(.mmm-app-shell-header) .mmm-app-shell__left::-webkit-scrollbar {
	width: 0;
	height: 0;
}

/* Feedback is not a Card Shell, but it is the next workspace projection and
 * therefore participates in the same single presentation rhythm. */
body:has(.mmm-app-shell-header) .mmm-feedback-wrap {
	margin-top: var(--mmm-presentation-gap, var(--mmm-card-gap, 24px)) !important;
	margin-bottom: var(--mmm-presentation-gap, var(--mmm-card-gap, 24px)) !important;
}

/* Footer belongs one level lower than the three-column application shell.
 * It spans the viewport and sits above the fixed rails when reached. */
body:has(.mmm-app-shell-header) .mmm-footer {
	position: relative;
	z-index: 60;
	box-sizing: border-box;
	width: 100%;
	max-width: none !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
}

/* Rail navigation hierarchy. Existing route tree/classes remain canonical. */
.mmm-app-shell__left .mmm-rail-nav__link {
	box-sizing: border-box;
	border-radius: var(--mmm-button-radius, 6px);
	text-decoration: none;
	transition: background-color .14s ease, color .14s ease, box-shadow .14s ease;
}
.mmm-app-shell__left .mmm-rail-nav__item--level-0 > .mmm-rail-nav__link {
	padding-block: 9px;
	font-size: 14px;
	font-weight: 750;
}
.mmm-app-shell__left .mmm-rail-nav__item--level-1 > .mmm-rail-nav__link {
	padding-block: 7px;
	font-size: 14px;
	font-weight: 600;
}
.mmm-app-shell__left .mmm-rail-nav__item--level-2 > .mmm-rail-nav__link,
.mmm-app-shell__left .mmm-rail-nav__item--level-3 > .mmm-rail-nav__link {
	padding-block: 6px;
	font-size: 13px;
	font-weight: 450;
}
.mmm-app-shell__left .mmm-rail-nav__link:hover {
	background: var(--mmm-surface-nav-2-hover, var(--mmm-brand-soft, rgba(0,0,0,.045)));
}
.mmm-app-shell__left .mmm-rail-nav__link:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 2px;
}
.mmm-app-shell__left .mmm-rail-nav__item.is-current > .mmm-rail-nav__link {
	background: var(--mmm-surface-nav-2-active, var(--mmm-brand-soft, rgba(0,0,0,.07)));
	box-shadow: inset 3px 0 0 currentColor;
	font-weight: 700;
}
.mmm-app-shell__left .mmm-rail-nav__item.is-current-branch:not(.is-current) > .mmm-rail-nav__link {
	background: transparent;
	font-weight: 700;
}

@media (prefers-reduced-motion: reduce) {
	.mmm-app-shell__left .mmm-rail-nav__link { transition: none; }
}


/* MMM Theme 0.17.15 / consolidated in 0.17.40 — Application Shell rail surface.
 *
 * The complete left rail projects the canonical Header surface and its
 * auto-contrast foreground. Navigation items may project the canonical
 * Nav 1/2/3 surfaces on top of that shell surface; the rail itself remains
 * Header from top to bottom.
 */
body:has(.mmm-app-shell-header) .mmm-app-shell__left {
	background: var(--mmm-surface-header, var(--mmm-portal-background, #fff));
	color: var(--mmm-text-header, var(--wp--preset--color--text, #1e1e1e));
}



/* MMM Theme 0.17.16 — Application Shell flow contract.
 *
 * Architecture:
 * - the document owns vertical scrolling;
 * - the left rail is a fixed shell projection, not a second scroll viewport;
 * - feedback owns the same horizontal workspace geometry as main content;
 * - on short pages the footer is pushed to the viewport bottom without changing
 *   the natural document flow on long pages.
 */

/* Remove the historical independent rail scroll contract. */
body:has(.mmm-app-shell-header) .mmm-app-shell__left {
	overflow-y: visible;
}

/* Feedback is a workspace sibling. Its child must fill the already bounded
 * centre column instead of retaining the historical global content width. */
body:has(.mmm-app-shell-header) .mmm-feedback-wrap > *,
body:has(.mmm-app-shell-header) .mmm-feedback-wrap > .alignwide,
body:has(.mmm-app-shell-header) .mmm-feedback-wrap .mmm-site-width {
	box-sizing: border-box;
	width: 100%;
	max-width: none !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
}

/* Short-page shell: main consumes the unused viewport height. Feedback and
 * footer remain ordinary siblings, so long pages continue to grow naturally. */
body:has(.mmm-app-shell-header) {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}
body:has(.mmm-app-shell-header) .mmm-app-shell-header {
	flex: 0 0 36px;
}
body:has(.mmm-app-shell-header) .mmm-main {
	flex: 1 0 auto;
}
body:has(.mmm-app-shell-header) .mmm-feedback-wrap,
body:has(.mmm-app-shell-header) .mmm-footer {
	flex: 0 0 auto;
}

/* Footer is one level below the three-column shell and therefore spans the
 * viewport. This deliberately supersedes the older rail offsets. */
body:has(.mmm-app-shell-header) .mmm-footer {
	width: 100%;
	max-width: none !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
}


/* MMM Theme 0.17.17 — canonical short-page shell ownership.
 *
 * 0.17.16 targeted body, but block themes place the rendered template flow
 * inside .wp-site-blocks. The Gutenberg root therefore owns viewport height.
 * The footer template-part wrapper owns remaining short-page height; its inner
 * .mmm-footer is pushed to the bottom. This preserves natural long-page flow.
 */
body:has(.mmm-app-shell-header) {
	display: block;
	min-height: 0;
}

body:has(.mmm-app-shell-header) .wp-site-blocks {
	box-sizing: border-box;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}

/* Main content keeps its natural height. Remaining height belongs to the
 * footer template-part wrapper, not to the content renderer. */
body:has(.mmm-app-shell-header) .mmm-main {
	flex: 0 0 auto;
}

/* WordPress renders the shared footer as a template-part wrapper. That wrapper
 * may also contain Core's auto-injected feedback projection. It is the correct
 * owner of the remaining short-page height. */
body:has(.mmm-app-shell-header) footer.wp-block-template-part:has(.mmm-footer) {
	box-sizing: border-box;
	flex: 1 0 auto;
	min-height: 0;
	display: flex;
	flex-direction: column;
	margin-block-start: 0;
}

/* Feedback stays directly after page content; only the actual footer consumes
 * unused short-page space. */
body:has(.mmm-app-shell-header) footer.wp-block-template-part:has(.mmm-footer) > .mmm-footer {
	margin-top: auto !important;
}

/* Auto-injected and template-declared feedback now share this one workspace
 * geometry. Width is bounded by the two shell rails + the canonical shell gap;
 * the feedback component itself simply fills that projection. */
body:has(.mmm-app-shell-header) .mmm-feedback-wrap {
	box-sizing: border-box;
	width: auto !important;
	max-width: none !important;
	margin-left: calc(var(--mmm-shell-left-width, 320px) + var(--mmm-layout-gap, 24px)) !important;
	margin-right: calc(var(--mmm-shell-right-width, 320px) + var(--mmm-layout-gap, 24px)) !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
}

body:has(.mmm-app-shell-header) .mmm-feedback-wrap > .mmm-feedback,
body:has(.mmm-app-shell-header) .mmm-feedback-wrap .mmm-feedback {
	box-sizing: border-box;
	width: 100%;
	max-width: none !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
}

/* Rail is fixed shell chrome. The document owns page scrolling; no independent
 * rail scrollbar/scroll position is created on desktop. */
body:has(.mmm-app-shell-header) .mmm-app-shell__left {
	overflow-y: visible;
}


/* MMM Theme 0.17.19 — shell chrome ownership fix.
 *
 * The visible top bar is .mmm-header-top, not the outer shell wrapper.
 * The footer surface and vertical rhythm are owned by the Gutenberg block
 * markup in parts/app-footer.html; CSS only supplies the canonical fallback.
 */
body:has(.mmm-app-shell-header) .mmm-header-top {
	background: var(--mmm-shell-topbar-bg, #1e1e1e) !important;
	opacity: 1;
}

body:has(.mmm-app-shell-header) .mmm-footer {
	background: var(--mmm-shell-footer-bg, #1e1e1e);
	opacity: 1;
}


/* MMM Theme 0.17.20 — viewport-wide application topbar.
 *
 * The black surface was already viewport-wide; its inner Gutenberg group still
 * inherited the historical global wide-size cap. The application header is
 * system chrome, so its own inner layout now spans the viewport. Brand and
 * userbar remain one flex row: brand at the left shell edge, actions at right.
 * This changes no workspace, rail, Card/Grid or content geometry.
 */
body:has(.mmm-app-shell-header) .mmm-header-top__inner {
	max-width: none !important;
	width: 100% !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
	padding-left: 16px !important;
	padding-right: 16px !important;
}

body:has(.mmm-app-shell-header) .mmm-header-top .mmm-userbar-slot {
	margin-left: auto !important;
}

@media (max-width: 782px) {
	body:has(.mmm-app-shell-header) .mmm-header-top__inner {
		padding-left: 16px !important;
		padding-right: 16px !important;
	}
}

/* MMM Theme 0.17.21 — topbar edge inset refinement.
 * Presentation-only: 16px safe inset at both viewport edges.
 */


/* MMM Theme 0.17.22 — left rail brand structure.
 * The rail template keeps the brand and canonical navigation projection in one
 * Application Shell. No parallel navigation source is introduced.
 */
body:has(.mmm-app-shell-header) .mmm-app-shell__brand {
	box-sizing: border-box;
	justify-content: flex-start;
	width: 100%;
	margin-bottom: var(--mmm-space-xs, 12px);
	padding-inline: 9px;
}
body:has(.mmm-app-shell-header) .mmm-app-shell__brand .wp-block-site-logo {
	margin-inline: 0;
}
body:has(.mmm-app-shell-header) .mmm-app-shell__brand .custom-logo {
	/* 0.17.52: shared contain box for wordmarks, square and portrait logos. */
	display: block;
	width: 220px;
	max-width: 100%;
	height: 64px;
	object-fit: contain;
	object-position: left center;
}
/* MMM Theme 0.17.24 — canonical rail vertical-flow contract.
 *
 * The rail owns the available viewport height. Its brand is a fixed-height
 * sibling; the canonical navigation projection consumes the remaining space.
 */
body:has(.mmm-app-shell-header) .mmm-app-shell__left {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	min-height: 0;
	overflow: hidden;
}
body:has(.mmm-app-shell-header) .mmm-app-shell__left > .mmm-app-shell__brand {
	flex: 0 0 auto;
}
body:has(.mmm-app-shell-header) .mmm-app-shell__left > .mmm-navigation-adapter--rail {
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
	width: 100%;
	height: auto !important;
	min-height: 0 !important;
	overflow-y: auto;
	overscroll-behavior: contain;
	scrollbar-width: none;
	-ms-overflow-style: none;
}
body:has(.mmm-app-shell-header) .mmm-app-shell__left > .mmm-navigation-adapter--rail::-webkit-scrollbar {
	width: 0;
	height: 0;
}
body:has(.mmm-app-shell-header) .mmm-app-shell__left > .mmm-navigation-adapter--rail > .wp-block-navigation {
	height: auto !important;
	min-height: 0 !important;
}


/* MMM Theme 0.17.25 — collapsible hierarchy inside the canonical left navigation.
 *
 * Only level-0 branches are disclosure groups. The existing route tree remains
 * canonical; JS adds a presentation-only disclosure control beside branch links.
 * Current branches start open. Closed branches open only by click; hover/focus
 * no longer changes disclosure state.
 */
body:has(.mmm-app-shell-header) .mmm-rail-nav__item--level-0.mmm-rail-nav__has-children {
	position: relative;
}
body:has(.mmm-app-shell-header) .mmm-rail-nav__item--level-0.mmm-rail-nav__has-children > .mmm-rail-nav__link {
	padding-right: 34px;
}
body:has(.mmm-app-shell-header) .mmm-rail-nav__branch-toggle {
	position: absolute;
	top: 6px;
	right: 4px;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 26px;
	height: 26px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: var(--mmm-button-radius, 6px);
	background: transparent;
	color: inherit;
	font: inherit;
	line-height: 1;
	cursor: pointer;
	opacity: .68;
}
body:has(.mmm-app-shell-header) .mmm-rail-nav__branch-toggle:hover,
body:has(.mmm-app-shell-header) .mmm-rail-nav__branch-toggle:focus-visible {
	opacity: 1;
	background: var(--mmm-surface-nav-2-hover, var(--mmm-brand-soft, rgba(0,0,0,.045)));
}
body:has(.mmm-app-shell-header) .mmm-rail-nav__branch-toggle:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 1px;
}
body:has(.mmm-app-shell-header) .mmm-rail-nav__branch-toggle::before {
	content: "›";
	display: block;
	font-size: 18px;
	transform: rotate(0deg);
	transition: transform .14s ease;
}

body:has(.mmm-app-shell-header) .mmm-rail-nav__item--level-0.mmm-rail-nav__has-children:not(.mmm-rail-nav__branch-open) > .mmm-rail-nav__list {
	display: none;
}

@media (prefers-reduced-motion: reduce) {
	body:has(.mmm-app-shell-header) .mmm-rail-nav__branch-toggle::before {
		transition: none;
	}
}


/* MMM Theme 0.17.26 — recursive disclosure for canonical rail navigation.
 * Every rail item that directly owns a child list uses the same interaction
 * contract. This includes level 0 and nested branches such as Branding and
 * Markt en Concurrentie. The route tree itself remains untouched.
 */
body:has(.mmm-app-shell-header) .mmm-rail-nav__item.mmm-rail-nav__has-children {
	position: relative;
}
body:has(.mmm-app-shell-header) .mmm-rail-nav__item.mmm-rail-nav__has-children > .mmm-rail-nav__link {
	padding-right: 34px;
}

body:has(.mmm-app-shell-header) .mmm-rail-nav__item.mmm-rail-nav__has-children:not(.mmm-rail-nav__branch-open) > .mmm-rail-nav__list {
	display: none;
}



/* MMM Theme 0.17.27 — click-only rail disclosure.
 * Closed branches no longer preview on hover/focus. The existing click state
 * and active-route default remain the only disclosure states.
 */
body:has(.mmm-app-shell-header) .mmm-rail-nav__item.mmm-rail-nav__branch-open > .mmm-rail-nav__branch-toggle::before {
	transform: rotate(90deg);
}


/* MMM Theme 0.17.28 — enforce click-only disclosure in the rail.
 * Kept explicit as the final rail contract so older presentation rules cannot
 * reopen a closed canonical branch on pointer/focus interaction.
 */
body:has(.mmm-app-shell-header) .mmm-rail-nav__item.mmm-rail-nav__has-children:not(.mmm-rail-nav__branch-open) > .mmm-rail-nav__list {
	display: none;
}


/* MMM Theme 0.17.29 — Application Shell Context Rail.
 * Core owns context resolution/data projection; Theme owns shell geometry,
 * tabs and compact rail presentation.
 */
body:has(.mmm-app-shell-header) .mmm-app-shell__right {
	padding: 0;
	overflow: hidden;
}
.mmm-context-rail {
	display: flex;
	flex-direction: column;
	height: 100%;
	min-height: 0;
	background: var(--mmm-surface-panel, var(--mmm-surface-page, #fff));
	color: var(--mmm-text-panel, var(--mmm-text-body, #1e1e1e));
}
.mmm-context-rail__tabs {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 6px;
	flex: 0 0 auto;
	padding: 8px;
	border-bottom: 1px solid color-mix(in srgb, currentColor 10%, transparent);
	background: inherit;
}
.mmm-context-rail__tab {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 5px;
	min-width: 0;
	min-height: 36px;
	padding: 7px 6px;
	border: 1px solid color-mix(in srgb, currentColor 12%, transparent);
	border-radius: var(--mmm-button-radius, 6px);
	background: color-mix(in srgb, currentColor 2.5%, transparent);
	color: inherit;
	font: inherit;
	font-size: 12px;
	font-weight: 650;
	cursor: pointer;
	transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.mmm-context-rail__tab:hover {
	background: color-mix(in srgb, currentColor 5%, transparent);
	border-color: color-mix(in srgb, currentColor 18%, transparent);
}
.mmm-context-rail__tab.is-active {
	border-color: var(--mmm-button-background, var(--wp--preset--color--brand-primary, currentColor));
	background: color-mix(in srgb, var(--mmm-button-background, var(--wp--preset--color--brand-primary, currentColor)) 8%, transparent);
	color: var(--mmm-button-background, var(--wp--preset--color--brand-primary, currentColor));
}
.mmm-context-rail__tab:focus-visible {
	outline: 2px solid var(--mmm-button-background, var(--wp--preset--color--brand-primary, currentColor));
	outline-offset: 2px;
}
.mmm-context-rail__badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 18px;
	height: 18px;
	padding: 0 5px;
	border-radius: 999px;
	background: color-mix(in srgb, currentColor 10%, transparent);
	font-size: 10px;
	line-height: 1;
}
.mmm-context-rail__panel {
	flex: 1 1 auto;
	min-height: 0;
	overflow-y: auto;
	padding: 14px 14px 28px;
	scrollbar-width: thin;
}
.mmm-context-rail__panel[hidden] { display: none !important; }
.mmm-context-rail__discussion-section + .mmm-context-rail__discussion-section {
	margin-top: 20px;
	padding-top: 16px;
	border-top: 1px solid color-mix(in srgb, currentColor 10%, transparent);
}
.mmm-context-rail__section-head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 8px;
	margin-bottom: 10px;
}
.mmm-context-rail__section-head h3,
.mmm-context-rail__help h3 {
	margin: 0;
	font-size: 14px;
	line-height: 1.3;
}
.mmm-context-rail__section-head > span {
	font-size: 11px;
	opacity: .62;
}
.mmm-context-rail__empty {
	margin: 8px 0 14px;
	font-size: 12px;
	line-height: 1.45;
	opacity: .68;
}
.mmm-context-rail__thread {
	padding: 10px 0;
	border-top: 1px solid color-mix(in srgb, currentColor 8%, transparent);
}
.mmm-context-rail__thread:first-of-type { border-top: 0; }
.mmm-context-rail__thread-meta {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 8px;
	font-size: 11px;
}
.mmm-context-rail__thread-meta time { opacity: .58; white-space: nowrap; }
.mmm-context-rail__thread-text {
	margin-top: 5px;
	font-size: 12px;
	line-height: 1.45;
}
.mmm-context-rail__thread-text p { margin: 0 0 6px; }
.mmm-context-rail__reply {
	margin: 8px 0 0 10px;
	padding: 8px 0 0 9px;
	border-left: 2px solid color-mix(in srgb, currentColor 12%, transparent);
}
.mmm-context-rail__status {
	display: inline-block;
	margin-top: 5px;
	padding: 2px 6px;
	border-radius: 999px;
	background: color-mix(in srgb, currentColor 8%, transparent);
	font-size: 10px;
	font-weight: 650;
}
.mmm-context-rail__thread-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: 6px;
	margin-top: 7px;
}
.mmm-context-rail__thread-actions summary:not(.mmm-button),
.mmm-context-rail__thread-actions button:not(.mmm-button):not(.mmm-workspace__button) {
	padding: 4px 7px;
	border: 1px solid color-mix(in srgb, currentColor 16%, transparent);
	border-radius: var(--mmm-button-radius, 6px);
	background: transparent;
	color: inherit;
	font: inherit;
	font-size: 11px;
	cursor: pointer;
}
.mmm-context-rail__thread-actions details { width: 100%; }
.mmm-context-rail__thread-actions details[open] summary { margin-bottom: 7px; }
.mmm-context-rail__composer {
	margin-top: 12px;
	padding-top: 12px;
	border-top: 1px solid color-mix(in srgb, currentColor 10%, transparent);
}
.mmm-context-rail__composer h4 {
	margin: 0 0 7px;
	font-size: 12px;
}
.mmm-context-rail .mmm-discussion__form { margin: 0; }
.mmm-context-rail .mmm-discussion__textarea {
	box-sizing: border-box;
	width: 100%;
	min-height: 70px;
	padding: 8px;
	font: inherit;
	font-size: 12px;
}
.mmm-context-rail .mmm-discussion__form > .mmm-button {
	margin-top: 6px;
}
.mmm-context-rail__thread-list,
.mmm-context-rail__items {
	display: grid;
	gap: 7px;
}
.mmm-context-rail__thread-link,
.mmm-context-rail__item {
	display: grid;
	gap: 3px;
	padding: 9px 10px;
	border: 1px solid color-mix(in srgb, currentColor 10%, transparent);
	border-radius: var(--mmm-card-radius, 8px);
	background: color-mix(in srgb, currentColor 2.5%, transparent);
	color: inherit;
	text-decoration: none;
}
.mmm-context-rail__thread-link:hover,
.mmm-context-rail__item:hover {
	background: color-mix(in srgb, currentColor 5%, transparent);
}
.mmm-context-rail__thread-link strong,
.mmm-context-rail__item strong {
	font-size: 12px;
	line-height: 1.35;
}
.mmm-context-rail__thread-context,
.mmm-context-rail__item-kind {
	font-size: 10px;
	font-weight: 650;
	opacity: .62;
}
.mmm-context-rail__thread-foot {
	font-size: 10px;
	opacity: .58;
}
.mmm-context-rail__help p {
	margin: 8px 0 0;
	font-size: 12px;
	line-height: 1.5;
}


/* MMM Theme 0.17.30 — Context Rail width refinement.
 * Keep the canonical two-rail shell budget at 640px, but move 32px from the
 * navigation rail to the context rail. All workspace/feedback offsets already
 * consume these variables, so there is one geometry truth.
 */
body:has(.mmm-app-shell-header) {
	--mmm-shell-left-width: 288px;
	--mmm-shell-right-width: 352px;
}


/* MMM Theme 0.17.31 — canonical UI System radius consumers.
 *
 * This is a contract cleanup, not a new radius model:
 * - surfaces/cards -> --mmm-card-radius
 * - interactive controls -> --mmm-button-radius
 * - pills/circles and structural 0/inherit radii remain intentional
 */

/* Surfaces / card-like containers. */
.mmm-home-card,
.mmm-home-dashboard__column,
.mmm-home-overview-card,
.mmm-login-box,
.mmm-workspace__choice,
.mmm-workspace__success,
.mmm-workspace__notice,
.mmm-workspace__offering-group,
.mmm-workspace__actionbar,
.mmm-data-editor-tools,
.mmm-data-editor-form .acf-editor-wrap,
.mmm-inline-details,
.mmm-brand-assets__color,
.mmm-brand-assets__canonical-logo,
.mmm-brand-assets__empty,
.mmm-brand-frontend__extra-row,
.mmm-topic-compact-form__guard,
.mmm-guidance__card--compact,
.mmm-guidance-reader__panel {
	border-radius: var(--mmm-card-radius, 8px);
}

/* Buttons, fields and other interactive controls. */
.mmm-login-box input[type="password"],
.mmm-login-box .login-submit input,
.mmm-userbar-menu a,
.mmm-header-top .mmm-userbar-menu a,
.mmm-workspace__action,
.mmm-workspace__card-action,
.mmm-workspace__modulebar-delete,
.mmm-workspace__modulebar-icon,
.mmm-landing__layout-button,
.mmm-data-mode-switch,
.mmm-data-mode-switch__item,
.mmm-data-editor-form .acf-input select,
.mmm-data-editor-form .wp-media-buttons .button-secondary,
.mmm-brand-frontend__remove-extra,
.mmm-topic-compact-form__type,
.mmm-navigation-adapter .mmm-nav-key-uitvoering > .wp-block-navigation__submenu-container .wp-block-navigation-item__content,
.mmm-chrome-menu__panel .mmm-chrome-menu__item,
.mmm-discussion__mention-option,
.mmm-app-shell__left .wp-block-navigation-item__content,
.mmm-app-shell__left .mmm-rail-nav__link,
.mmm-guidance-compact__dismiss-button,
.mmm-guidance-reader__close {
	border-radius: var(--mmm-button-radius, 6px);
}

/* 0.17.34 — Compact controls only inside Discussion/thread actions.
 * The canonical MMM button primitives and modal view/edit menu stay unchanged.
 * Composer submit controls (Plaatsen/Opslaan) also keep their normal geometry. */
.mmm-discussion__owner-actions > details > summary.mmm-button,
.mmm-discussion__actions > details > summary.mmm-button,
.mmm-discussion__actions > form > .mmm-button,
.mmm-context-rail__thread-actions > form > .mmm-button {
	min-height:26px;
	padding:2px 7px;
	font-size:12px;
	line-height:1.15;
}
.mmm-discussion__owner-actions > form.mmm-discussion__delete-form > button {
	font-size:12px;
	line-height:1.15;
}

/* 0.17.37 — Onderwerpen en kanalen consumes the canonical Page Shell.
 * The Process Library is page body content, not a nested Offering panel.
 * Topic hierarchy and Touchpoint Card Shell geometry remain independently owned. */
.mmm-pmc-process-library {
	margin-block-start: var(--mmm-layout-section-gap, var(--mmm-workspace-gap, 24px));
}
.mmm-pmc-process-library__section {
	margin-block-start: 0;
	padding: 0;
	border: 0;
	background: transparent;
}
.mmm-pmc-process-library__section + .mmm-pmc-process-library__section {
	padding-block-start: var(--mmm-layout-section-gap, var(--mmm-workspace-gap, 24px));
	border-top: 1px solid color-mix(in srgb, currentColor 12%, transparent);
}
.mmm-pmc-process-library__section-head {
	display: flex;
	align-items: flex-start;
	flex-direction: column;
	justify-content: flex-start;
	gap: var(--mmm-layout-control-gap, 12px);
	margin-block-end: var(--mmm-layout-control-gap, 12px);
}
.mmm-pmc-process-library__section-head h2,
.mmm-pmc-process-library__section-head p {
	margin-block-start: 0;
}
.mmm-pmc-process-library__section-head h2 {
	margin-block-end: var(--mmm-layout-compact-gap, 8px);
}
.mmm-pmc-process-library__section-head p {
	margin-block-end: 0;
}
.mmm-pmc-process-library__section-head > .mmm-workspace__button {
	align-self: flex-start;
	flex: 0 0 auto;
}

/* MMM Theme 0.17.40 — compact section-block rail navigation.
 *
 * The left rail remains one full-height Header surface. The canonical rail
 * projection groups each level-0 MMM phase as a compact section block and
 * projects the existing Brand Settings-derived Nav 1/2/3 surfaces inside it.
 * Brand assets is the final utility entry and uses the lightest nav role.
 * Route truth, disclosure behaviour and navigation data remain owned by Core.
 */
body:has(.mmm-app-shell-header) .mmm-rail-nav__list--level-0 {
	display: grid;
	gap: var(--mmm-layout-compact-gap, 8px);
}

body:has(.mmm-app-shell-header) .mmm-rail-nav__item--level-0 {
	border: 1px solid color-mix(in srgb, currentColor 12%, transparent);
	border-radius: var(--mmm-card-radius, 8px);
	background: var(--mmm-surface-nav-1, transparent);
}

body:has(.mmm-app-shell-header) .mmm-rail-nav__item--level-0 > .mmm-rail-nav__link {
	margin-top: 0;
	border-radius: 0;
	background: var(--mmm-surface-nav-1, transparent);
	color: var(--mmm-text-nav-1, inherit);
}

body:has(.mmm-app-shell-header) .mmm-rail-nav__item--level-0 > .mmm-rail-nav__list {
	margin-top: 0;
	padding: 4px 6px 7px 18px;
	background: var(--mmm-surface-nav-2, transparent);
}

body:has(.mmm-app-shell-header) .mmm-rail-nav__item--level-1 > .mmm-rail-nav__link {
	background: transparent;
	color: var(--mmm-text-nav-2, inherit);
}

body:has(.mmm-app-shell-header) .mmm-rail-nav__item--level-1 > .mmm-rail-nav__list {
	margin-top: 0;
	padding: 2px 4px 4px 14px;
	background: var(--mmm-surface-nav-3, transparent);
	border-radius: var(--mmm-button-radius, 6px);
}

body:has(.mmm-app-shell-header) .mmm-rail-nav__item--level-2 > .mmm-rail-nav__link,
body:has(.mmm-app-shell-header) .mmm-rail-nav__item--level-3 > .mmm-rail-nav__link {
	background: transparent;
	color: var(--mmm-text-nav-3, inherit);
}

/* Preserve the semantic state surface + matching auto-contrast foreground at
 * each level instead of falling back to the Header foreground. */
body:has(.mmm-app-shell-header) .mmm-rail-nav__item--level-0 > .mmm-rail-nav__link:hover,
body:has(.mmm-app-shell-header) .mmm-rail-nav__item--level-0 > .mmm-rail-nav__link:focus-visible {
	background: var(--mmm-surface-nav-1-hover, var(--mmm-surface-nav-1, transparent));
	color: var(--mmm-text-nav-1-hover, var(--mmm-text-nav-1, inherit));
}
body:has(.mmm-app-shell-header) .mmm-rail-nav__item--level-1 > .mmm-rail-nav__link:hover,
body:has(.mmm-app-shell-header) .mmm-rail-nav__item--level-1 > .mmm-rail-nav__link:focus-visible {
	background: var(--mmm-surface-nav-2-hover, var(--mmm-surface-nav-2, transparent));
	color: var(--mmm-text-nav-2-hover, var(--mmm-text-nav-2, inherit));
}
body:has(.mmm-app-shell-header) .mmm-rail-nav__item--level-2 > .mmm-rail-nav__link:hover,
body:has(.mmm-app-shell-header) .mmm-rail-nav__item--level-2 > .mmm-rail-nav__link:focus-visible,
body:has(.mmm-app-shell-header) .mmm-rail-nav__item--level-3 > .mmm-rail-nav__link:hover,
body:has(.mmm-app-shell-header) .mmm-rail-nav__item--level-3 > .mmm-rail-nav__link:focus-visible {
	background: var(--mmm-surface-nav-3-hover, var(--mmm-surface-nav-3, transparent));
	color: var(--mmm-text-nav-3-hover, var(--mmm-text-nav-3, inherit));
}

body:has(.mmm-app-shell-header) .mmm-rail-nav__item--level-0.is-current > .mmm-rail-nav__link {
	background: var(--mmm-surface-nav-1-active, var(--mmm-surface-nav-1, transparent));
	color: var(--mmm-text-nav-1-active, var(--mmm-text-nav-1, inherit));
}
body:has(.mmm-app-shell-header) .mmm-rail-nav__item--level-1.is-current > .mmm-rail-nav__link {
	background: var(--mmm-surface-nav-2-active, var(--mmm-surface-nav-2, transparent));
	color: var(--mmm-text-nav-2-active, var(--mmm-text-nav-2, inherit));
}
body:has(.mmm-app-shell-header) .mmm-rail-nav__item--level-2.is-current > .mmm-rail-nav__link,
body:has(.mmm-app-shell-header) .mmm-rail-nav__item--level-3.is-current > .mmm-rail-nav__link {
	background: var(--mmm-surface-nav-3-active, var(--mmm-surface-nav-3, transparent));
	color: var(--mmm-text-nav-3-active, var(--mmm-text-nav-3, inherit));
}

/* Disclosure controls sit on the surface of their own navigation level. */
body:has(.mmm-app-shell-header) .mmm-rail-nav__item--level-0 > .mmm-rail-nav__branch-toggle {
	color: var(--mmm-text-nav-1, inherit);
}
body:has(.mmm-app-shell-header) .mmm-rail-nav__item--level-1 > .mmm-rail-nav__branch-toggle {
	color: var(--mmm-text-nav-2, inherit);
}
body:has(.mmm-app-shell-header) .mmm-rail-nav__item--level-2 > .mmm-rail-nav__branch-toggle,
body:has(.mmm-app-shell-header) .mmm-rail-nav__item--level-3 > .mmm-rail-nav__branch-toggle {
	color: var(--mmm-text-nav-3, inherit);
}

body:has(.mmm-app-shell-header) .mmm-rail-nav__item--level-0 > .mmm-rail-nav__branch-toggle:hover,
body:has(.mmm-app-shell-header) .mmm-rail-nav__item--level-0 > .mmm-rail-nav__branch-toggle:focus-visible {
	background: var(--mmm-surface-nav-1-hover, transparent);
	color: var(--mmm-text-nav-1-hover, var(--mmm-text-nav-1, inherit));
}
body:has(.mmm-app-shell-header) .mmm-rail-nav__item--level-1 > .mmm-rail-nav__branch-toggle:hover,
body:has(.mmm-app-shell-header) .mmm-rail-nav__item--level-1 > .mmm-rail-nav__branch-toggle:focus-visible {
	background: var(--mmm-surface-nav-2-hover, transparent);
	color: var(--mmm-text-nav-2-hover, var(--mmm-text-nav-2, inherit));
}
body:has(.mmm-app-shell-header) .mmm-rail-nav__item--level-2 > .mmm-rail-nav__branch-toggle:hover,
body:has(.mmm-app-shell-header) .mmm-rail-nav__item--level-2 > .mmm-rail-nav__branch-toggle:focus-visible,
body:has(.mmm-app-shell-header) .mmm-rail-nav__item--level-3 > .mmm-rail-nav__branch-toggle:hover,
body:has(.mmm-app-shell-header) .mmm-rail-nav__item--level-3 > .mmm-rail-nav__branch-toggle:focus-visible {
	background: var(--mmm-surface-nav-3-hover, transparent);
	color: var(--mmm-text-nav-3-hover, var(--mmm-text-nav-3, inherit));
}

/* Brand assets is a utility destination rather than a fourth MMM phase. */
body:has(.mmm-app-shell-header) .mmm-rail-nav__item--brand_assets {
	margin-top: var(--mmm-layout-compact-gap, 8px);
	background: var(--mmm-surface-nav-3, transparent);
}
body:has(.mmm-app-shell-header) .mmm-rail-nav__item--brand_assets > .mmm-rail-nav__link {
	background: var(--mmm-surface-nav-3, transparent);
	color: var(--mmm-text-nav-3, inherit);
	font-weight: 600;
}
body:has(.mmm-app-shell-header) .mmm-rail-nav__item--brand_assets > .mmm-rail-nav__link:hover,
body:has(.mmm-app-shell-header) .mmm-rail-nav__item--brand_assets > .mmm-rail-nav__link:focus-visible {
	background: var(--mmm-surface-nav-3-hover, var(--mmm-surface-nav-3, transparent));
	color: var(--mmm-text-nav-3-hover, var(--mmm-text-nav-3, inherit));
}
body:has(.mmm-app-shell-header) .mmm-rail-nav__item--brand_assets.is-current > .mmm-rail-nav__link {
	background: var(--mmm-surface-nav-3-active, var(--mmm-surface-nav-3, transparent));
	color: var(--mmm-text-nav-3-active, var(--mmm-text-nav-3, inherit));
}

/* MMM Theme 0.17.43 — Context Rail help hierarchy.
 * Uitleg remains a projection of canonical Human Datamodel short descriptions.
 * Page/object context stays visible; module and composite-variable help is
 * progressively disclosed below it without introducing a second content model.
 */
.mmm-context-rail__help-context + .mmm-context-rail__help-modules {
	margin-top: 20px;
	padding-top: 16px;
	border-top: 1px solid color-mix(in srgb, currentColor 10%, transparent);
}
.mmm-context-rail__help-modules > h3 {
	margin: 0 0 10px;
	font-size: 14px;
	line-height: 1.3;
}
.mmm-context-rail__help-module-list {
	display: grid;
	gap: 7px;
}
.mmm-context-rail__help-module {
	border: 1px solid color-mix(in srgb, currentColor 10%, transparent);
	border-radius: var(--mmm-card-radius, 8px);
	background: color-mix(in srgb, currentColor 2.5%, transparent);
	overflow: clip;
}
.mmm-context-rail__help-module > summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	padding: 9px 10px;
	font-size: 12px;
	font-weight: 650;
	line-height: 1.35;
	cursor: pointer;
	list-style: none;
}
.mmm-context-rail__help-module > summary::-webkit-details-marker {
	display: none;
}
.mmm-context-rail__help-module > summary::after {
	content: "›";
	flex: 0 0 auto;
	font-size: 16px;
	font-weight: 400;
	line-height: 1;
	opacity: .58;
	transform: rotate(90deg);
	transition: transform .15s ease;
}
.mmm-context-rail__help-module[open] > summary::after {
	transform: rotate(-90deg);
}
.mmm-context-rail__help-module > summary:hover,
.mmm-context-rail__help-module > summary:focus-visible {
	background: color-mix(in srgb, currentColor 5%, transparent);
}
.mmm-context-rail__help-module > summary:focus-visible {
	outline: 2px solid var(--mmm-button-background, var(--wp--preset--color--brand-primary, currentColor));
	outline-offset: -2px;
}
.mmm-context-rail__help-module-body {
	padding: 0 10px 10px;
	border-top: 1px solid color-mix(in srgb, currentColor 8%, transparent);
}
.mmm-context-rail__help-module-body > p,
.mmm-context-rail__help-variable p {
	margin: 8px 0 0;
	font-size: 12px;
	line-height: 1.5;
}
.mmm-context-rail__help-missing {
	opacity: .62;
	font-style: italic;
}
.mmm-context-rail__help-variables {
	margin-top: 12px;
	padding-top: 10px;
	border-top: 1px solid color-mix(in srgb, currentColor 8%, transparent);
}
.mmm-context-rail__help-variables h4 {
	margin: 0 0 8px;
	font-size: 11px;
	line-height: 1.3;
	text-transform: uppercase;
	letter-spacing: .03em;
	opacity: .68;
}
.mmm-context-rail__help-variable-list {
	display: grid;
	gap: 10px;
}
.mmm-context-rail__help-variable {
	padding-left: 9px;
	border-left: 2px solid color-mix(in srgb, currentColor 12%, transparent);
}
.mmm-context-rail__help-variable > strong {
	display: block;
	font-size: 12px;
	line-height: 1.35;
}

/* MMM Theme 0.17.45 — Context Rail direct-child explanation.
 * Parent/context levels expose the canonical short descriptions of their direct
 * navigation children. Leaf module/variable help keeps the existing disclosure UI.
 */
.mmm-context-rail__help-context + .mmm-context-rail__help-children {
	margin-top: 20px;
	padding-top: 16px;
	border-top: 1px solid color-mix(in srgb, currentColor 10%, transparent);
}
.mmm-context-rail__help-children > h3 {
	margin: 0 0 10px;
	font-size: 14px;
	line-height: 1.3;
}
.mmm-context-rail__help-child-list {
	display: grid;
	gap: 12px;
}
.mmm-context-rail__help-child {
	padding-left: 9px;
	border-left: 2px solid color-mix(in srgb, currentColor 12%, transparent);
}
.mmm-context-rail__help-child > strong {
	display: block;
	font-size: 12px;
	line-height: 1.35;
}
.mmm-context-rail__help-child > p {
	margin: 5px 0 0;
	font-size: 12px;
	line-height: 1.5;
}



/* MMM Theme 0.17.46 — site-local public subsite account entry.
 *
 * Brand subsites no longer project the network marketing navigation while in
 * public context. The site brand and the existing local account/login action
 * remain visible. The network main site keeps the complete public navigation.
 */
.mmm-context-public.mmm-brand-subsite .mmm-public-nav {
	display: none;
}


/* MMM Theme 0.17.48 — Application Shell chrome redistribution.
 *
 * Core remains the owner of routes, capabilities and action availability.
 * The Theme only projects those canonical actions into three shell zones:
 * current site in the topbar, personal/status actions at top right, and
 * secondary utilities at the bottom of the canonical left rail.
 */
body:has(.mmm-app-shell-header) .mmm-app-shell-header .mmm-header-top .wp-block-site-title {
	display: none !important;
}

/* Flatten only the Application Shell userbar wrappers so the canonical site
 * switcher can occupy the left side of the same topbar row. */
body:has(.mmm-app-shell-header) .mmm-app-shell-header .mmm-header-top .mmm-userbar-slot,
body:has(.mmm-app-shell-header) .mmm-app-shell-header .mmm-header-top .mmm-userbar-actions {
	display: contents !important;
}
body:has(.mmm-app-shell-header) .mmm-app-shell-header .mmm-userbar-site-switcher {
	margin-right: auto !important;
}
body:has(.mmm-app-shell-header) .mmm-app-shell-header .mmm-userbar-account__logout {
	margin-top: 4px;
	padding-top: 8px !important;
	border-top: 1px solid rgba(255,255,255,.12);
}

/* The canonical rail navigation adapter owns both model navigation and its
 * secondary Application/System projection. Utilities use remaining vertical
 * space when available and naturally follow the model nav on short viewports. */
body:has(.mmm-app-shell-header) .mmm-navigation-adapter--rail > .mmm-rail-nav {
	flex: 0 0 auto;
}
body:has(.mmm-app-shell-header) .mmm-rail-utilities {
	box-sizing: border-box;
	flex: 0 0 auto;
	width: 100%;
	margin-top: auto;
	padding: 18px 9px 4px;
	border-top: 1px solid color-mix(in srgb, currentColor 16%, transparent);
	font-size: 12px;
	line-height: 1.35;
}
body:has(.mmm-app-shell-header) .mmm-rail-utilities__group + .mmm-rail-utilities__group {
	margin-top: 12px;
}
body:has(.mmm-app-shell-header) .mmm-rail-utilities__label {
	margin: 0 0 4px;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: .055em;
	text-transform: uppercase;
	opacity: .74;
}
body:has(.mmm-app-shell-header) .mmm-rail-utilities__link,
body:has(.mmm-app-shell-header) .mmm-rail-utility-menu__trigger,
body:has(.mmm-app-shell-header) .mmm-rail-utility-menu__item {
	box-sizing: border-box;
	color: inherit;
	font: inherit;
	text-decoration: none;
}
body:has(.mmm-app-shell-header) .mmm-rail-utilities__link,
body:has(.mmm-app-shell-header) .mmm-rail-utility-menu__trigger {
	display: flex;
	align-items: center;
	width: 100%;
	min-height: 29px;
	padding: 5px 6px;
	border-radius: var(--mmm-button-radius, 6px);
	opacity: .90;
}
body:has(.mmm-app-shell-header) .mmm-rail-utilities__link:hover,
body:has(.mmm-app-shell-header) .mmm-rail-utility-menu__trigger:hover,
body:has(.mmm-app-shell-header) .mmm-rail-utilities__link:focus-visible,
body:has(.mmm-app-shell-header) .mmm-rail-utility-menu__trigger:focus-visible {
	background: color-mix(in srgb, currentColor 9%, transparent);
	opacity: 1;
}
body:has(.mmm-app-shell-header) .mmm-rail-utilities__link:focus-visible,
body:has(.mmm-app-shell-header) .mmm-rail-utility-menu__trigger:focus-visible,
body:has(.mmm-app-shell-header) .mmm-rail-utility-menu__item:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 1px;
}
body:has(.mmm-app-shell-header) .mmm-rail-utility-menu {
	margin: 0;
}
body:has(.mmm-app-shell-header) .mmm-rail-utility-menu__trigger {
	cursor: pointer;
	list-style: none;
}
body:has(.mmm-app-shell-header) .mmm-rail-utility-menu__trigger::-webkit-details-marker {
	display: none;
}
body:has(.mmm-app-shell-header) .mmm-rail-utility-menu__trigger::after {
	content: "›";
	margin-left: auto;
	font-size: 14px;
	opacity: .72;
	transform: rotate(0deg);
	transition: transform .14s ease;
}
body:has(.mmm-app-shell-header) .mmm-rail-utility-menu[open] > .mmm-rail-utility-menu__trigger::after {
	transform: rotate(90deg);
}
body:has(.mmm-app-shell-header) .mmm-rail-utility-menu__panel {
	display: grid;
	gap: 1px;
	padding: 2px 0 4px 10px;
}
body:has(.mmm-app-shell-header) .mmm-rail-utility-menu__item {
	display: block;
	padding: 5px 7px;
	border-radius: var(--mmm-button-radius, 6px);
	font-size: 11px;
	opacity: .82;
}
body:has(.mmm-app-shell-header) .mmm-rail-utility-menu__item:hover {
	background: color-mix(in srgb, currentColor 8%, transparent);
	opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
	body:has(.mmm-app-shell-header) .mmm-rail-utility-menu__trigger::after {
		transition: none;
	}
}

body:has(.mmm-app-shell-header) .mmm-app-shell-header .mmm-userbar-site-switcher .mmm-userbar-menu {
	left: 0;
	right: auto;
}


/* MMM Theme 0.17.49 — secondary rail utilities: stronger readable hierarchy.
 * Same canonical utility projection as 0.17.47/0.17.48; only presentation
 * weight changes. Primary model navigation remains visually dominant. */
body:has(.mmm-app-shell-header) .mmm-rail-utilities {
	border-top-color: color-mix(in srgb, currentColor 24%, transparent);
	font-size: 12.5px;
}
body:has(.mmm-app-shell-header) .mmm-rail-utilities__group + .mmm-rail-utilities__group {
	margin-top: 14px;
}
body:has(.mmm-app-shell-header) .mmm-rail-utilities__label {
	margin-bottom: 5px;
	font-size: 10px;
	font-weight: 700;
	opacity: .88;
}
body:has(.mmm-app-shell-header) .mmm-rail-utilities__link,
body:has(.mmm-app-shell-header) .mmm-rail-utility-menu__trigger {
	min-height: 31px;
	padding: 6px 6px;
	font-weight: 600;
	opacity: 1;
}
body:has(.mmm-app-shell-header) .mmm-rail-utilities__link:hover,
body:has(.mmm-app-shell-header) .mmm-rail-utility-menu__trigger:hover,
body:has(.mmm-app-shell-header) .mmm-rail-utilities__link:focus-visible,
body:has(.mmm-app-shell-header) .mmm-rail-utility-menu__trigger:focus-visible {
	background: color-mix(in srgb, currentColor 12%, transparent);
}
body:has(.mmm-app-shell-header) .mmm-rail-utility-menu__trigger::after {
	opacity: .86;
}
body:has(.mmm-app-shell-header) .mmm-rail-utility-menu__item {
	font-size: 12px;
	font-weight: 600;
	opacity: .94;
}


/* MMM Theme 0.17.51 — keep rail utilities above the application footer.
 * Reserve the actual footer height even when it wraps, plus a 12px gap.
 * The existing navigation adapter remains the sole rail scroll container. */
body:has(.mmm-app-shell-header) .mmm-app-shell__left {
	padding-bottom: calc(var(--mmm-shell-footer-height, 48px) + 12px);
}
body:has(.mmm-app-shell-header) .mmm-footer > .wp-block-group {
	padding-top: 8px !important;
	padding-bottom: 8px !important;
}
