/*
 * Plinth — admin stylesheet.
 *
 * Rules:
 *  - Every colour is a --pl-* token emitted by includes/class-plinth-tokens.php.
 *    A hex literal in this file is a bug.
 *  - We style the markup WordPress renders; we never replace it.
 *  - Selectors are prefixed with body.plinth so they outrank core without !important.
 */

/* ==========================================================================
   0. Scale
   ========================================================================== */
body.plinth {
	--pl-font: "Plinth Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--pl-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	--pl-bar-h: 48px;
	--pl-side-w: 232px;
	--pl-side-folded: 56px;
	--pl-row: 32px;
	--pl-r-sm: 6px;
	--pl-r: 8px;
	--pl-r-lg: 12px;
	--pl-shadow: 0 1px 2px var(--pl-shadow-color), 0 8px 28px var(--pl-shadow-color);
	--pl-ring: 0 0 0 3px color-mix(in srgb, var(--pl-accent) 35%, transparent);
	--pl-accent-hover: color-mix(in srgb, var(--pl-accent) 86%, var(--pl-text));
	--pl-accent-soft: color-mix(in srgb, var(--pl-accent) 14%, transparent);
	--pl-cell-y: 12px;
}
body.plinth.plinth-compact {
	--pl-row: 28px;
	--pl-cell-y: 8px;
}

/* Smooth the mode switch only while it happens, never on page load. */
body.plinth.plinth-switching,
body.plinth.plinth-switching * {
	transition: background-color .2s ease, border-color .2s ease, color .2s ease !important;
}

/* ==========================================================================
   1. Base
   ========================================================================== */
body.plinth,
body.plinth #wpwrap,
body.plinth #wpcontent,
body.plinth #wpbody,
body.plinth #wpbody-content {
	background: var(--pl-bg);
}
body.plinth {
	color: var(--pl-text);
	font-family: var(--pl-font);
	font-size: 13px;
	letter-spacing: -0.006em;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	font-feature-settings: "cv11", "ss01";
}
body.plinth :is(h1, h2, h3, h4, h5, h6, input, select, textarea, button, .button, p, td, th, label, li):not(.dashicons) {
	font-family: var(--pl-font);
}
/* Not React/MUI headings (Elementor Home's welcome dialog was white on
   white): those keep their own ink; the :where() rule below still covers
   plugin headings that rely on core's default. */
body.plinth :is(h1, h2, h3, h4, h5, h6):not([class*="Mui"], [class*="eui-"], [class*="e-"]) {
	color: var(--pl-text);
}
body.plinth :is(h1, h2, h3, h4, h5, h6) {
	letter-spacing: -0.015em;
}
body.plinth :is(p, li, dd, dt, td, th, label, legend, .description) {
	color: inherit;
}
/* Links. Plugins' own link-buttons (Elementor's .elementor-button, "…btn"
   classes) keep their colours: our link blue on their fill was unreadable
   (Elementor's "Connect & Activate", 1.47:1). :where() keeps specificity. */
body.plinth a:where(:not(.elementor-button, [class*="btn"]:not([class*="pl-"]), [class*="sh-"][class*="utton"])) {
	color: var(--pl-link);
	text-decoration: none;
}
body.plinth a:where(:not(.elementor-button, [class*="btn"]:not([class*="pl-"]), [class*="sh-"][class*="utton"])):is(:hover, :active) {
	color: var(--pl-accent-hover);
}
body.plinth a:focus,
body.plinth :is(button, input, select, textarea, .button):focus {
	box-shadow: none;
	outline: none;
}
body.plinth a:focus-visible,
body.plinth :is(button, .button, [role="button"]):focus-visible {
	outline: 2px solid var(--pl-accent);
	outline-offset: 2px;
	box-shadow: none;
}
body.plinth :is(.description, p.description, .howto, .form-table td .description) {
	color: var(--pl-text-3);
	font-size: 12.5px;
}
body.plinth :is(code, kbd) {
	background: var(--pl-surface-2);
	color: var(--pl-text);
	border: 1px solid var(--pl-border);
	border-radius: var(--pl-r-sm);
	padding: 1px 6px;
	font-family: var(--pl-mono);
	font-size: 12px;
}
body.plinth hr {
	border: 0;
	border-top: 1px solid var(--pl-border);
}
body.plinth ::selection {
	background: var(--pl-accent-soft);
}
body.plinth .pl-ico {
	display: inline-block;
	width: 16px;
	height: 16px;
	flex: none;
	background-color: currentColor;
	-webkit-mask: var(--ico) center / contain no-repeat;
	mask: var(--ico) center / contain no-repeat;
	vertical-align: -3px;
}

/* ==========================================================================
   2. Top bar (#wpadminbar) — 0.2 mockup:
   [badge][site ⇅] | [search 380] ………… View site · [+ New ▾] | ☀ 🔔 (PD ▾)
   ========================================================================== */
@media screen and (min-width: 783px) {
	/* Core hard-codes 32px of room for the toolbar on <html>. */
	html.wp-toolbar:has(body.plinth) {
		padding-top: 48px;
	}
	body.plinth #wpadminbar {
		height: var(--pl-bar-h);
	}
	body.plinth #wpadminbar .quicklinks {
		display: flex;
		align-items: center;
		height: var(--pl-bar-h);
		padding: 0;
	}
	body.plinth #wpadminbar .quicklinks > ul {
		display: flex;
		align-items: center;
		height: 100%;
	}
	body.plinth #wpadminbar .quicklinks > ul > li {
		float: none;
		height: 100%;
		display: flex;
		align-items: center;
	}
	body.plinth #wpadminbar .quicklinks > ul > li > .ab-item,
	body.plinth #wpadminbar .quicklinks > ul > li > .ab-empty-item {
		display: flex;
		align-items: center;
		gap: 6px;
		height: 30px;
		line-height: 30px;
		padding: 0 10px;
		border-radius: 7px;
	}
	body.plinth #wpadminbar #wp-admin-bar-root-default {
		flex: 1;
	}
	/* Flex (reversed, to keep float:right order) for the right cluster. */
	body.plinth #wpadminbar #wp-admin-bar-top-secondary {
		display: flex;
		flex-direction: row-reverse;
		float: none;
		gap: 6px;
		padding: 0 14px 0 0;
	}
	body.plinth #wpadminbar #wp-admin-bar-my-account { order: 0; }
	body.plinth #wpadminbar #wp-admin-bar-plinth-notify { order: 1; }
	body.plinth #wpadminbar #wp-admin-bar-plinth-mode { order: 2; }
	body.plinth #wpadminbar #wp-admin-bar-new-content { order: 4; }
	body.plinth #wpadminbar #wp-admin-bar-plinth-view-site { order: 5; }
	body.plinth #wpadminbar #wp-admin-bar-plinth-more { order: 6; }
	body.plinth #wpadminbar #wp-admin-bar-top-secondary > li:not([id^="wp-admin-bar-plinth"]):not(#wp-admin-bar-my-account):not(#wp-admin-bar-new-content) { order: 6; }
	/* The divider between "New" and the icon buttons. */
	body.plinth #wpadminbar #wp-admin-bar-new-content::after {
		content: "";
		width: 1px;
		height: 20px;
		margin: 0 6px 0 12px;
		background: var(--pl-border);
	}
	body.plinth #wpadminbar .menupop .ab-sub-wrapper {
		top: calc(var(--pl-bar-h) - 6px);
	}
	body.plinth #wpadminbar .ab-top-secondary .menupop .ab-sub-wrapper {
		right: 0;
		left: auto;
	}
	body.plinth.sticky-menu #adminmenuwrap {
		top: var(--pl-bar-h);
	}
}
/* Browsers without :has() keep core's 32px spacing, so drop the bar to match. */
@supports not selector(:has(*)) {
	body.plinth { --pl-bar-h: 32px; }
}

body.plinth #wpadminbar {
	background: var(--pl-chrome);
	border-bottom: 1px solid var(--pl-border);
	box-sizing: border-box;
	color: var(--pl-text);
	font-family: var(--pl-font);
}
body.plinth #wpadminbar :is(a, span, li, input, kbd):not(.dashicons):not(.ab-icon) {
	font-family: var(--pl-font);
}
body.plinth #wpadminbar .ab-item,
body.plinth #wpadminbar a.ab-item,
body.plinth #wpadminbar > #wp-toolbar span.ab-label {
	color: var(--pl-text-2);
	font-size: 13px;
	font-weight: 500;
}
body.plinth #wpadminbar .ab-top-menu > li:hover > .ab-item,
body.plinth #wpadminbar .ab-top-menu > li.hover > .ab-item,
body.plinth #wpadminbar .ab-top-menu > li > .ab-item:focus,
body.plinth #wpadminbar:not(.mobile) .ab-top-menu > li:hover > .ab-item,
body.plinth #wpadminbar:not(.mobile) .ab-top-menu > li > .ab-item:focus {
	background: var(--pl-surface-3);
	color: var(--pl-text);
}
body.plinth #wpadminbar .pl-ico {
	display: inline-block;
	flex: none;
	width: 14px;
	height: 14px;
}
body.plinth #wpadminbar .pl-ab-chev {
	--ico: var(--pl-i-chevron);
	width: 13px;
	height: 13px;
	color: var(--pl-text-3);
}

/* Brand cell: exactly the sidebar's width, with its own divider. */
body.plinth #wpadminbar #wp-admin-bar-plinth-brand {
	padding-left: 14px;
}
body.plinth #wpadminbar #wp-admin-bar-plinth-brand > .ab-item {
	padding: 0;
	background: transparent;
}
body.plinth #wpadminbar .pl-brand__mark,
body.plinth #wpadminbar .pl-brand__logo {
	display: grid;
	place-items: center;
	width: 24px;
	height: 24px;
	border-radius: 6px;
	background: var(--pl-accent);
	color: var(--pl-on-accent);
	font-size: 12.5px;
	font-weight: 700;
	line-height: 1;
	object-fit: cover;
}
body.plinth #wpadminbar #wp-admin-bar-site-name {
	box-sizing: border-box;
	width: calc(var(--pl-side-w) - 38px);
	padding: 0 12px 0 6px;
	border-right: 1px solid var(--pl-border);
}
body.plinth #wpadminbar #wp-admin-bar-site-name > .ab-item {
	min-width: 0;
	max-width: 100%;
	padding: 0 8px;
	border-radius: 6px;
	color: var(--pl-text);
	font-weight: 600;
}
body.plinth #wpadminbar #wp-admin-bar-site-name > .ab-item::before {
	display: none;
}
body.plinth #wpadminbar .pl-site-label {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	color: var(--pl-text);
}
body.plinth #wpadminbar .pl-ab-chevrons {
	--ico: var(--pl-i-chevrons);
	color: var(--pl-text-3);
}
body.plinth.folded #wpadminbar #wp-admin-bar-site-name {
	width: auto;
}

/* Command palette as the 380px search field. */
body.plinth #wpadminbar #wp-admin-bar-command-palette {
	padding-left: 16px;
}
body.plinth #wpadminbar #wp-admin-bar-command-palette > .ab-item {
	gap: 8px;
	width: 380px;
	max-width: 30vw;
	padding: 0 5px 0 10px;
	box-sizing: border-box;
	background: var(--pl-surface-2);
	border: 1px solid var(--pl-border);
	border-radius: 7px;
	color: var(--pl-text-3);
}
body.plinth #wpadminbar #wp-admin-bar-command-palette > .ab-item:hover {
	background: var(--pl-surface-2);
	border-color: var(--pl-border-strong);
	color: var(--pl-text-3);
}
body.plinth #wpadminbar #wp-admin-bar-command-palette .ab-icon {
	display: inline-flex;
	float: none;
	width: 14px;
	height: 14px;
	margin: 0;
	padding: 0;
}
body.plinth #wpadminbar #wp-admin-bar-command-palette .ab-icon::before {
	content: "";
	display: block;
	width: 14px;
	height: 14px;
	top: 0;
	background-color: var(--pl-text-3);
	-webkit-mask: var(--pl-i-search) center / contain no-repeat;
	mask: var(--pl-i-search) center / contain no-repeat;
}
body.plinth #wpadminbar #wp-admin-bar-command-palette .ab-label {
	display: flex !important;
	flex: 1;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	color: var(--pl-text-3);
	font-size: 13px;
	font-weight: 400;
}
body.plinth #wpadminbar #wp-admin-bar-command-palette kbd {
	order: 2;
	padding: 4px 6px;
	border: 1px solid var(--pl-border-strong);
	border-radius: 5px;
	background: var(--pl-surface-3);
	color: var(--pl-text-2);
	font-family: var(--pl-font);
	font-size: 11px;
	font-weight: 600;
	line-height: 1;
}

/* View site. */
body.plinth #wpadminbar #wp-admin-bar-plinth-view-site > .ab-item {
	color: var(--pl-text-2);
}

/* New ▾ — bordered button. */
body.plinth #wpadminbar #wp-admin-bar-new-content > .ab-item {
	border: 1px solid var(--pl-border-strong);
	background: var(--pl-surface-2);
	color: var(--pl-text);
	box-sizing: border-box;
}
body.plinth #wpadminbar #wp-admin-bar-new-content > .ab-item:hover,
body.plinth #wpadminbar #wp-admin-bar-new-content.hover > .ab-item {
	background: var(--pl-surface-3);
}

/* Icon buttons: mode + bell. */
body.plinth #wpadminbar #wp-admin-bar-plinth-mode > .ab-item,
body.plinth #wpadminbar #wp-admin-bar-plinth-notify > .ab-item {
	position: relative;
	justify-content: center;
	width: 32px;
	height: 32px;
	padding: 0;
	color: var(--pl-text-2);
}
body.plinth #wpadminbar #wp-admin-bar-plinth-mode .pl-ico,
body.plinth #wpadminbar #wp-admin-bar-plinth-notify .pl-ico {
	width: 16px;
	height: 16px;
}
/* The icon names the mode you'd switch to. */
body.plinth .pl-mode-icon { --ico: var(--pl-i-sun); }
body.plinth.plinth-light .pl-mode-icon { --ico: var(--pl-i-moon); }
@media (prefers-color-scheme: light) {
	body.plinth.plinth-auto .pl-mode-icon { --ico: var(--pl-i-moon); }
}
body.plinth #wpadminbar .pl-bell-dot {
	position: absolute;
	top: 7px;
	right: 8px;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--pl-accent);
	box-shadow: 0 0 0 2px var(--pl-chrome);
}

/* "…" — plugin items folded out of the bar (Plugin::fold_extras). */
body.plinth #wpadminbar #wp-admin-bar-plinth-more > .ab-item {
	position: relative;
	justify-content: center;
	width: 32px;
	height: 32px;
	padding: 0;
	color: var(--pl-text-2);
}
body.plinth #wpadminbar #wp-admin-bar-plinth-more > .ab-item .pl-ico {
	width: 16px;
	height: 16px;
}
body.plinth #wpadminbar .pl-more-dot {
	display: none;
	position: absolute;
	top: 7px;
	right: 6px;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--pl-crit);
	box-shadow: 0 0 0 2px var(--pl-chrome);
}
body.plinth #wpadminbar #wp-admin-bar-plinth-more:has(:is(.yoast-issue-counter, .wp-ui-notification, .awaiting-mod, .update-plugins, .wpforms-menu-notification-counter, .ab-label.count)) .pl-more-dot {
	display: block;
}
body.plinth #wpadminbar #wp-admin-bar-plinth-more .ab-sub-wrapper {
	min-width: 220px;
}
/* Each plugin's own markup, flattened to a menu row. */
body.plinth #wpadminbar #wp-admin-bar-plinth-more .ab-sub-wrapper .ab-item {
	display: flex;
	align-items: center;
	gap: 8px;
	min-height: 32px;
	box-sizing: border-box;
	font-size: 13px;
}
body.plinth #wpadminbar #wp-admin-bar-plinth-more .ab-sub-wrapper :is(.ab-icon, .yoast-logo, .svg) {
	float: none;
	flex: none;
	width: 16px;
	min-width: 0;
	height: 16px;
	margin: 0;
	padding: 0;
	background-size: 16px 16px;
	background-position: center;
}
body.plinth #wpadminbar #wp-admin-bar-plinth-more .ab-sub-wrapper .ab-icon::before {
	top: 0;
	font-size: 16px;
	line-height: 16px;
}
body.plinth #wpadminbar #wp-admin-bar-plinth-more .ab-sub-wrapper :is(.yoast-issue-counter, .wp-ui-notification, .wpforms-menu-notification-counter) {
	display: inline-grid;
	place-items: center;
	min-width: 18px;
	height: 18px;
	margin: 0 0 0 auto;
	padding: 0 5px;
	box-sizing: border-box;
	border-radius: 9px;
	background: var(--pl-crit);
	color: var(--pl-on-accent);
	font-size: 11px;
	font-weight: 600;
	line-height: 18px;
}
body.plinth #wpadminbar #wp-admin-bar-plinth-more .ab-sub-wrapper :is(.yoast-issue-counter, .wp-ui-notification, .wpforms-menu-notification-counter) > :not(.screen-reader-text) {
	display: block;
	margin: 0;
	padding: 0;
	font: inherit;
	line-height: 18px;
	vertical-align: top;
}
body.plinth #wpadminbar #wp-admin-bar-plinth-more .ab-sub-wrapper .ab-item {
	background-color: transparent;
	color: var(--pl-text-2);
}
body.plinth #wpadminbar #wp-admin-bar-plinth-more .ab-sub-wrapper li:hover > .ab-item,
body.plinth #wpadminbar #wp-admin-bar-plinth-more .ab-sub-wrapper a.ab-item:focus {
	background-color: var(--pl-surface-2);
	color: var(--pl-text);
}
body.plinth #wpadminbar #wp-admin-bar-plinth-more .ab-sub-wrapper .ab-item .ab-item {
	min-height: 0;
	padding: 0;
	background-color: transparent;
}
body.plinth #wpadminbar #wp-admin-bar-plinth-more .wp-admin-bar-arrow,
body.plinth #wpadminbar #wp-admin-bar-plinth-more .menupop > .ab-item::before {
	display: none;
}
body.plinth #wpadminbar #wp-admin-bar-plinth-more .pl-more-label {
	order: 1;
}
body.plinth #wpadminbar #wp-admin-bar-plinth-more .ab-sub-wrapper :is(.yoast-issue-counter, .wp-ui-notification, .wpforms-menu-notification-counter) {
	order: 2;
}
/* WooCommerce's store-visibility badge, as a row with a status dot. */
body.plinth #wpadminbar #wp-admin-bar-plinth-more [class*="woocommerce-site-status-badge"] > .ab-item::before {
	content: "";
	display: block;
	flex: none;
	float: none;
	width: 8px;
	height: 8px;
	margin: 0 4px;
	padding: 0;
	border-radius: 50%;
	background: var(--pl-warn);
}
body.plinth #wpadminbar #wp-admin-bar-plinth-more .woocommerce-site-status-badge-live > .ab-item::before {
	background: var(--pl-success);
}
/* Second-level menus open to the left of the "…" menu. */
body.plinth #wpadminbar #wp-admin-bar-plinth-more .ab-sub-wrapper .ab-sub-wrapper {
	top: -7px;
	right: calc(100% + 4px);
	left: auto;
	margin: 0;
}
body.plinth #wpadminbar #wp-admin-bar-plinth-more .menupop > .ab-item::after {
	content: "";
	flex: none;
	order: 3;
	width: 12px;
	height: 12px;
	margin-left: auto;
	background-color: var(--pl-text-3);
	-webkit-mask: var(--pl-i-chevron-left) center / contain no-repeat;
	mask: var(--pl-i-chevron-left) center / contain no-repeat;
}
body.plinth #wpadminbar #wp-admin-bar-plinth-more .menupop > .ab-item:has(.yoast-issue-counter, .wp-ui-notification, .wpforms-menu-notification-counter)::after {
	margin-left: 0;
}

/* Account chip. */
body.plinth #wpadminbar #wp-admin-bar-my-account > .ab-item::before,
body.plinth #wpadminbar #wp-admin-bar-my-account > .ab-item img {
	display: none;
}
body.plinth #wpadminbar #wp-admin-bar-my-account {
	margin-left: 2px;
}
body.plinth #wpadminbar #wp-admin-bar-my-account > .ab-item {
	height: 32px;
	padding: 0 6px 0 3px;
	border-radius: 16px;
}
body.plinth #wpadminbar .pl-me {
	display: grid;
	place-items: center;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background: var(--pl-me-bg);
	color: var(--pl-me-fg);
	font-size: 10.5px;
	font-weight: 700;
	line-height: 1;
}

/* Dropdowns. */
body.plinth #wpadminbar .menupop .ab-sub-wrapper,
body.plinth #wpadminbar .shortlink-input {
	min-width: 200px;
	padding: 6px;
	background: var(--pl-surface);
	border: 1px solid var(--pl-border);
	border-radius: var(--pl-r-lg);
	box-shadow: var(--pl-shadow);
}
body.plinth #wpadminbar .ab-submenu {
	padding: 0;
}
body.plinth #wpadminbar .ab-sub-secondary {
	margin-top: 6px;
	padding-top: 6px;
	border-top: 1px solid var(--pl-border);
	background: transparent;
}
body.plinth #wpadminbar .menupop .ab-sub-wrapper .ab-item,
body.plinth #wpadminbar .menupop .ab-sub-wrapper a.ab-item {
	height: auto;
	padding: 7px 10px;
	border-radius: var(--pl-r-sm);
	color: var(--pl-text-2);
	font-weight: 450;
	line-height: 1.4;
	white-space: nowrap;
}
body.plinth #wpadminbar .menupop .ab-sub-wrapper li:hover > .ab-item,
body.plinth #wpadminbar .menupop .ab-sub-wrapper a.ab-item:focus {
	background: var(--pl-surface-2);
	color: var(--pl-text);
}
body.plinth #wpadminbar #wp-admin-bar-user-info .avatar {
	top: 8px;
	left: 8px;
	border-radius: 50%;
}
body.plinth #wpadminbar #wp-admin-bar-user-info .display-name {
	color: var(--pl-text);
	font-weight: 600;
}
body.plinth #wpadminbar #wp-admin-bar-user-info .username,
body.plinth #wpadminbar #wp-admin-bar-user-info .edit-profile {
	color: var(--pl-text-3);
	font-weight: 400;
}
body.plinth #wpadminbar #wp-admin-bar-user-actions > li {
	margin-left: 0;
}
body.plinth #wpadminbar #wp-admin-bar-user-info a.ab-item {
	min-height: 64px;
	padding-left: 88px;
}
body.plinth #wpadminbar .pl-quiet .ab-sub-wrapper .ab-item {
	color: var(--pl-text-3);
}

/* Mobile: core's own layout, recoloured; hide the desktop-only extras. */
@media screen and (max-width: 782px) {
	body.plinth #wpadminbar #wp-admin-bar-plinth-view-site,
	body.plinth #wpadminbar .pl-search-text,
	body.plinth #wpadminbar #wp-admin-bar-new-content::after {
		display: none;
	}
	body.plinth #wpadminbar #wp-admin-bar-command-palette > .ab-item {
		width: auto;
	}
}

/* ==========================================================================
   3. Sidebar (#adminmenu)
   ========================================================================== */
body.plinth #adminmenuback,
body.plinth #adminmenuwrap,
body.plinth #adminmenu {
	background: var(--pl-chrome);
}
body.plinth #adminmenuback {
	border-right: 1px solid var(--pl-border);
	box-sizing: border-box;
	/* Core sizes this to the menu's height; pin it to the viewport so the
	   sidebar colour never stops partway down a long page. */
	position: fixed;
	top: 0;
	bottom: 0;
}
@media screen and (min-width: 783px) {
	body.plinth #adminmenuback,
	body.plinth #adminmenuwrap,
	body.plinth #adminmenu {
		width: var(--pl-side-w);
	}
	body.plinth #wpcontent,
	body.plinth #wpfooter {
		margin-left: var(--pl-side-w);
	}
	body.plinth.folded #adminmenuback,
	body.plinth.folded #adminmenuwrap,
	body.plinth.folded #adminmenu,
	body.plinth.folded #adminmenu li.menu-top {
		width: var(--pl-side-folded);
	}
	body.plinth.folded #wpcontent,
	body.plinth.folded #wpfooter {
		margin-left: var(--pl-side-folded);
	}
}
@media only screen and (min-width: 783px) and (max-width: 960px) {
	body.plinth.auto-fold #adminmenuback,
	body.plinth.auto-fold #adminmenuwrap,
	body.plinth.auto-fold #adminmenu,
	body.plinth.auto-fold #adminmenu li.menu-top {
		width: var(--pl-side-folded);
	}
	body.plinth.auto-fold #wpcontent,
	body.plinth.auto-fold #wpfooter {
		margin-left: var(--pl-side-folded);
	}
}

body.plinth #adminmenuwrap {
	z-index: 9990;
}
body.plinth #adminmenu {
	margin: 12px 0;
	padding: 0;
}
body.plinth #adminmenu li.menu-top {
	border: 0;
	min-height: 0;
	margin: 1px 0;
	padding: 0 10px;
	box-sizing: border-box;
	background: transparent;
}
body.plinth #adminmenu a.menu-top,
body.plinth #adminmenu .wp-submenu-head {
	display: flex;
	align-items: center;
	gap: 10px;
	min-height: calc(var(--pl-row) + 2px);
	padding: 0 10px;
	border-radius: var(--pl-r-sm);
	box-sizing: border-box;
	color: var(--pl-text-2);
	font-size: 13px;
	font-weight: 500;
	line-height: 1.3;
	background: transparent;
	transition: background-color .12s ease, color .12s ease;
}
body.plinth #adminmenu div.wp-menu-image {
	float: none;
	position: static;
	width: 16px;
	height: 16px;
	flex: none;
	display: grid;
	place-items: center;
	opacity: 1;
}
body.plinth #adminmenu div.wp-menu-image::before {
	padding: 0;
	width: 16px;
	height: 16px;
	font-size: 16px;
	line-height: 16px;
	color: currentColor;
	opacity: .9;
	transition: none;
}
body.plinth #adminmenu :is(.menu-icon-dashboard, .menu-icon-post, .menu-icon-media, .menu-icon-page, .menu-icon-comments, .menu-icon-appearance, .menu-icon-plugins, .menu-icon-users, .menu-icon-tools, .menu-icon-settings, .menu-icon-links) div.wp-menu-image::before {
	content: "";
	display: block;
	background-color: currentColor;
	-webkit-mask-position: center;
	mask-position: center;
	-webkit-mask-size: contain;
	mask-size: contain;
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
}
/* Third-party image / SVG icons. */
body.plinth #adminmenu div.wp-menu-image img {
	padding: 0;
	width: 16px;
	height: 16px;
	opacity: .75;
}
body.plinth #adminmenu div.wp-menu-image.svg {
	background-size: 16px auto;
}
body.plinth #adminmenu div.wp-menu-name {
	padding: 7px 0;
	flex: 1;
	min-width: 0;
	color: inherit;
	hyphens: none;
}

/* Hover. */
body.plinth #adminmenu li.menu-top:hover > a.menu-top,
body.plinth #adminmenu li.opensub > a.menu-top,
body.plinth #adminmenu li > a.menu-top:focus {
	background: var(--pl-surface-2);
	color: var(--pl-text);
}
body.plinth #adminmenu li:hover div.wp-menu-image::before,
body.plinth #adminmenu li.opensub div.wp-menu-image::before,
body.plinth #adminmenu li a:focus div.wp-menu-image::before {
	color: var(--pl-text);
}

/* Current. */
body.plinth #adminmenu li.wp-has-current-submenu a.wp-has-current-submenu,
body.plinth #adminmenu li.current a.menu-top,
body.plinth #adminmenu .wp-menu-arrow,
body.plinth #adminmenu .wp-has-current-submenu .wp-submenu .wp-submenu-head,
body.plinth #adminmenu .wp-menu-arrow div,
body.plinth.folded #adminmenu li.current.menu-top,
body.plinth.folded #adminmenu li.wp-has-current-submenu {
	background: var(--pl-surface-2);
	color: var(--pl-text);
}
body.plinth #adminmenu li.wp-has-current-submenu div.wp-menu-image::before,
body.plinth #adminmenu li.current div.wp-menu-image::before,
body.plinth #adminmenu a.current:hover div.wp-menu-image::before,
body.plinth #adminmenu li.wp-has-current-submenu a:focus div.wp-menu-image::before,
body.plinth #adminmenu li.wp-has-current-submenu.opensub div.wp-menu-image::before,
body.plinth #adminmenu li.wp-has-current-submenu:hover div.wp-menu-image::before {
	color: var(--pl-accent);
	opacity: 1;
}
/* Core's pointer triangles. */
body.plinth ul#adminmenu a.wp-has-current-submenu::after,
body.plinth ul#adminmenu > li.current > a.current::after,
body.plinth #adminmenu li.wp-has-submenu.wp-not-current-submenu:hover::after,
body.plinth #adminmenu li.wp-has-submenu.wp-not-current-submenu:focus-within::after,
body.plinth #adminmenu li.wp-has-submenu.wp-not-current-submenu.opensub::after,
body.plinth #adminmenu li.wp-has-current-submenu::after,
body.plinth #adminmenu li.current::after {
	display: none;
}
body.plinth.folded #adminmenu li.wp-has-current-submenu,
body.plinth.folded #adminmenu li.current.menu-top {
	background: transparent;
}

/* Plugins that paint their own open-menu colour with !important
   (All-in-One WP Migration: #111) — keep Plinth's. */
body.plinth #adminmenu li.menu-top.wp-menu-open {
	background-color: transparent !important;
}
body.plinth #adminmenu li.menu-top.wp-menu-open > a.menu-top {
	background-color: var(--pl-surface-2) !important;
}

/* Inline submenu of the current section. */
/* Only when the menu is expanded: core hides folded flyouts with top:-1000em,
   and resetting top here would pin them open. */
body.plinth:not(.folded) #adminmenu .wp-has-current-submenu .wp-submenu,
body.plinth:not(.folded) #adminmenu .wp-has-current-submenu.opensub .wp-submenu,
body.plinth:not(.folded) #adminmenu a.wp-has-current-submenu:focus + .wp-submenu,
body.plinth.no-js:not(.folded) li.wp-has-current-submenu:hover .wp-submenu {
	background: transparent;
	padding: 4px 0 6px;
	margin: 0 0 2px 18px;
	border-left: 1px solid var(--pl-border-strong);
	box-shadow: none;
	position: relative;
	top: auto;
	left: auto;
}
body.plinth #adminmenu .wp-submenu a {
	display: block;
	margin: 1px 0 1px 8px;
	padding: 6px 10px;
	border-radius: var(--pl-r-sm);
	color: var(--pl-text-2);
	font-size: 13px;
	line-height: 1.35;
	font-weight: 450;
}
body.plinth #adminmenu .wp-submenu a:hover,
body.plinth #adminmenu .wp-submenu a:focus {
	background: var(--pl-surface-2);
	color: var(--pl-text);
	box-shadow: none;
}
body.plinth #adminmenu .wp-submenu li.current a,
body.plinth #adminmenu .wp-submenu li.current a:hover,
body.plinth #adminmenu .wp-submenu li.current a:focus {
	color: var(--pl-text);
	font-weight: 500;
	background: color-mix(in srgb, var(--pl-text) 6%, transparent);
}
body.plinth #adminmenu .wp-has-current-submenu .wp-submenu .wp-submenu-head {
	display: none;
}

/* Flyout submenu: desktop only (0.3.7). On phones it was more specific than
   core's inline rule, so the open list jumped right on the first tap. */
@media screen and (min-width: 783px) {
	body.plinth #adminmenu .wp-not-current-submenu .wp-submenu,
	body.plinth.folded #adminmenu .wp-has-current-submenu .wp-submenu {
		background: var(--pl-surface);
		border: 1px solid var(--pl-border);
		border-radius: var(--pl-r-lg);
		box-shadow: var(--pl-shadow);
		padding: 6px;
		min-width: 190px;
		margin: 0;
		left: calc(100% + 6px);
	}
	body.plinth #adminmenu .wp-not-current-submenu .wp-submenu::before,
	body.plinth.folded #adminmenu .wp-has-current-submenu .wp-submenu::before {
		/* Bridge the gap so the pointer never leaves the hover target. */
		content: "";
		position: absolute;
		top: 0;
		bottom: 0;
		left: -14px;
		width: 14px;
	}
	body.plinth #adminmenu .wp-not-current-submenu .wp-submenu a,
	body.plinth.folded #adminmenu .wp-has-current-submenu .wp-submenu a {
		margin-left: 0;
	}
}
body.plinth #adminmenu .wp-submenu .wp-submenu-head {
	color: var(--pl-text-3);
	font-size: 11px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: .04em;
	padding: 6px 10px 4px;
	min-height: 0;
	margin: 0;
	background: transparent;
}
body.plinth #adminmenu .opensub .wp-submenu li.current a,
body.plinth #adminmenu .wp-submenu li.current a {
	color: var(--pl-text);
}

/* Separators & group labels (tagged in class-plinth-menu.php). */
body.plinth #adminmenu li.wp-menu-separator {
	height: 1px;
	margin: 10px 20px;
	padding: 0;
	background: var(--pl-border);
}
body.plinth #adminmenu div.separator {
	border: 0;
	height: 0;
}
body.plinth #adminmenu li.wp-menu-separator.pl-sep-quiet {
	height: 6px;
	margin: 0;
	background: transparent;
}
body.plinth #adminmenu::before,
body.plinth #adminmenu li.wp-menu-separator:is(.pl-sep-site, .pl-sep-plugins)::before {
	display: block;
	padding: 12px 20px 6px;
	color: var(--pl-text-3);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: .06em;
	line-height: 1.3;
	text-transform: uppercase;
}
body.plinth #adminmenu::before {
	content: var(--pl-label-content);
	padding-top: 2px;
}
body.plinth #adminmenu li.wp-menu-separator:is(.pl-sep-site, .pl-sep-plugins) {
	height: auto;
	margin: 8px 0 0;
	background: transparent;
}
body.plinth #adminmenu li.wp-menu-separator:is(.pl-sep-site, .pl-sep-plugins)::before {
	content: var(--pl-label-site);
}
body.plinth #adminmenu li.wp-menu-separator.pl-sep-plugins::before {
	content: var(--pl-label-plugins);
}
body.plinth.folded #adminmenu::before,
body.plinth.folded #adminmenu li.wp-menu-separator:is(.pl-sep-site, .pl-sep-plugins)::before {
	content: "";
	padding: 0;
	margin: 10px 14px;
	height: 1px;
	background: var(--pl-border);
}
body.plinth.folded #adminmenu::before {
	display: none;
}
@media only screen and (min-width: 783px) and (max-width: 960px) {
	body.plinth.auto-fold #adminmenu::before {
		display: none;
	}
	body.plinth.auto-fold #adminmenu li.wp-menu-separator:is(.pl-sep-site, .pl-sep-plugins)::before {
		content: "";
		padding: 0;
		margin: 10px 14px;
		height: 1px;
		background: var(--pl-border);
	}
}
body.plinth #adminmenu li.pl-menu-foot {
	margin: 4px 10px 16px;
	padding: 10px 10px 0;
	border-top: 1px solid var(--pl-border);
	color: var(--pl-text-3);
	font-size: 11.5px;
	line-height: 1.4;
}
body.plinth.folded #adminmenu li.pl-menu-foot {
	display: none;
}

/* Counters: neutral for things to read, accent for things to act on. */
body.plinth #adminmenu .awaiting-mod,
body.plinth #adminmenu .update-plugins,
body.plinth #adminmenu .menu-counter {
	float: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 20px;
	height: 18px;
	padding: 0 6px;
	margin: 0 0 0 auto;
	border-radius: 9px;
	box-sizing: border-box;
	background: var(--pl-surface-3);
	color: var(--pl-text-2);
	font-size: 11px;
	font-weight: 600;
	line-height: 1;
	font-variant-numeric: tabular-nums;
	vertical-align: 1px;
}
body.plinth #adminmenu .update-plugins,
body.plinth #adminmenu li a.wp-has-current-submenu .update-plugins,
body.plinth #adminmenu li.current a .update-plugins {
	background: color-mix(in srgb, var(--pl-accent) 18%, transparent);
	color: color-mix(in srgb, var(--pl-accent) 55%, var(--pl-text));
}
body.plinth #adminmenu li.current a .awaiting-mod {
	background: var(--pl-surface-3);
	color: var(--pl-text-2);
}
body.plinth #adminmenu .count-0 {
	display: none;
}
/* Names carry their counter; let it sit at the right edge. */
body.plinth #adminmenu div.wp-menu-name,
body.plinth #adminmenu .wp-submenu a {
	display: flex;
	align-items: center;
	gap: 6px;
}

/* Collapse button. */
body.plinth #collapse-menu {
	margin: 8px 10px 16px;
}
body.plinth #collapse-button {
	display: flex;
	align-items: center;
	gap: 10px;
	width: 100%;
	height: var(--pl-row);
	padding: 0 10px;
	border-radius: var(--pl-r-sm);
	color: var(--pl-text-3);
	font-size: 13px;
}
body.plinth #collapse-button {
	justify-content: flex-start;
	text-align: left;
}
body.plinth #collapse-button:hover,
body.plinth #collapse-button:focus {
	background: var(--pl-surface-2);
	color: var(--pl-text);
}
body.plinth #collapse-button .collapse-button-icon {
	width: 16px;
	height: 16px;
	flex: none;
	position: static;
}
body.plinth #collapse-button .collapse-button-icon::after {
	content: "";
	display: block;
	width: 16px;
	height: 16px;
	background-color: currentColor;
	-webkit-mask: var(--pl-i-collapse) center / contain no-repeat;
	mask: var(--pl-i-collapse) center / contain no-repeat;
	transform: none;
	top: 0;
	left: 0;
	position: static;
}
body.plinth.folded #collapse-button .collapse-button-icon::after {
	-webkit-mask-image: var(--pl-i-expand);
	mask-image: var(--pl-i-expand);
}
body.plinth #collapse-button .collapse-button-label {
	padding: 0;
	top: 0;
	line-height: 1;
	position: static;
}

/* Folded / auto-folded: icon-only rail. */
body.plinth.folded #adminmenu li.menu-top {
	padding: 0 10px;
}
body.plinth.folded #adminmenu a.menu-top {
	justify-content: center;
	padding: 0;
	height: 36px;
}
body.plinth.folded #adminmenu div.wp-menu-name,
body.plinth.folded #collapse-button .collapse-button-label {
	display: none;
}
body.plinth.folded #collapse-button {
	justify-content: center;
	padding: 0;
}
body.plinth.folded #adminmenu li.wp-menu-separator {
	margin: 10px 14px;
}
@media only screen and (min-width: 783px) and (max-width: 960px) {
	body.plinth.auto-fold #adminmenu a.menu-top {
		justify-content: center;
		padding: 0;
		height: 36px;
	}
	body.plinth.auto-fold #adminmenu div.wp-menu-name,
	body.plinth.auto-fold #collapse-button .collapse-button-label {
		display: none;
	}
	body.plinth.auto-fold #adminmenu .wp-has-current-submenu .wp-submenu {
		top: -1000em;
		background: var(--pl-surface);
		border: 1px solid var(--pl-border);
		border-radius: var(--pl-r-lg);
		box-shadow: var(--pl-shadow);
		padding: 6px;
		margin: 0;
		left: calc(100% + 6px);
		position: absolute;
	}
	body.plinth.auto-fold #adminmenu .wp-has-current-submenu.opensub .wp-submenu,
	body.plinth.auto-fold #adminmenu .wp-has-current-submenu a.menu-top:focus + .wp-submenu {
		top: -1px;
	}
}

/* Mobile: core slides the menu in; we only recolour. */
@media screen and (max-width: 782px) {
	body.plinth #adminmenu li.menu-top {
		padding: 0 8px;
	}
	body.plinth #adminmenu a.menu-top {
		min-height: 44px;
	}
	body.plinth.wp-responsive-open #wpbody {
		right: -190px;
	}
	/* Every open submenu sits inline, like the current section; core still
	   decides which one shows (display). One tap on a sub-item opens it. */
	body.plinth #adminmenu li.wp-has-submenu .wp-submenu,
	body.plinth #adminmenu li.wp-has-submenu a.menu-top:focus + .wp-submenu {
		position: relative;
		top: 0;
		left: 0;
		min-width: 0;
		margin: 2px 0 6px 18px;
		padding: 4px 0 6px;
		background: transparent;
		border: 0;
		border-left: 1px solid var(--pl-border-strong);
		border-radius: 0;
		box-shadow: none;
	}
	body.plinth #adminmenu li.wp-has-submenu .wp-submenu::before,
	body.plinth #adminmenu li.wp-has-submenu .wp-submenu::after {
		display: none;
	}
	body.plinth #adminmenu .wp-submenu a {
		display: flex;
		align-items: center;
		min-height: 44px;
		margin-left: 8px;
		box-sizing: border-box;
	}
	/* Long plugin names wrap to a second line instead of running past the
	   drawer edge (socialbox L4); counts stay on one line beside them. */
	body.plinth #adminmenu .wp-menu-name {
		min-width: 0;
		white-space: normal;
		overflow-wrap: anywhere;
		line-height: 1.3;
	}
	body.plinth #adminmenu .wp-menu-name :is(.update-plugins, .awaiting-mod, [class*="count"]) {
		flex: none;
		white-space: nowrap;
	}
	body.plinth #adminmenu .wp-submenu .wp-submenu-head {
		display: none;
	}
	body.plinth #wpadminbar #wp-admin-bar-command-palette > .ab-item {
		min-width: 0;
	}
	body.plinth #wpadminbar .pl-search-text {
		display: none;
	}
}

/* ==========================================================================
   4. Page frame
   ========================================================================== */
body.plinth #wpcontent {
	padding-left: 32px;
}
body.plinth #wpbody-content {
	padding-bottom: 80px;
}
body.plinth .wrap {
	margin: 20px 32px 0 0;
}
body.plinth .wrap > h1,
body.plinth .wrap h1.wp-heading-inline,
body.plinth .wrap > h2:first-child {
	font-size: 24px;
	font-weight: 650;
	line-height: 1.25;
	letter-spacing: -0.025em;
	color: var(--pl-text);
	padding: 8px 0 4px;
	margin: 0 12px 12px 0;
}
/* WPForms paints its page title as a padded bar under its logo header. Inside Plinth's
   page header the bar goes, and the header takes its 20px inset so the title lines up
   with the WPForms logo above it. */
body.plinth .wpforms-admin-wrap > .pl-head {
	padding-left: 20px;
}
body.plinth .wpforms-admin-wrap .pl-head h1.page-title {
	background: none;
	padding: 8px 0 4px;
	margin: 0;
}
body.plinth .wrap h2,
body.plinth .wrap h3 {
	font-size: 15px;
	font-weight: 600;
}
body.plinth .wrap .wp-header-end {
	visibility: hidden;
	margin: 0 0 10px;
}

/* "Add new" style page actions → primary buttons. */
body.plinth .wrap .page-title-action,
body.plinth .wrap .add-new-h2 {
	display: inline-flex;
	align-items: center;
	height: 32px;
	margin: 0 6px 0 0;
	padding: 0 14px;
	top: -3px;
	border-radius: var(--pl-r-sm);
	border: 1px solid var(--pl-accent);
	background: var(--pl-accent);
	color: var(--pl-on-accent);
	font-size: 13px;
	font-weight: 550;
	text-shadow: none;
	box-shadow: none;
}
body.plinth .wrap .page-title-action:hover,
body.plinth .wrap .add-new-h2:hover {
	background: var(--pl-accent-hover);
	border-color: var(--pl-accent-hover);
	color: var(--pl-on-accent);
}

/* Screen Options / Help. */
body.plinth #screen-meta-links {
	margin: 0 32px 0 0;
}
body.plinth #screen-meta-links .show-settings,
body.plinth #screen-meta-links .screen-meta-toggle {
	border: 0;
	background: transparent;
	box-shadow: none;
}
body.plinth #screen-meta-links .show-settings {
	margin-top: 10px;
	height: 28px;
	padding: 0 10px 0 12px;
	border: 1px solid var(--pl-border);
	border-radius: var(--pl-r-sm);
	background: var(--pl-surface);
	color: var(--pl-text-2);
	font-size: 12px;
	font-weight: 500;
}
body.plinth #screen-meta-links .show-settings:hover,
body.plinth #screen-meta-links .show-settings:focus {
	color: var(--pl-text);
	border-color: var(--pl-border-strong);
}
body.plinth #screen-meta-links .show-settings::after {
	color: var(--pl-text-3);
}
body.plinth #screen-meta {
	background: var(--pl-surface);
	border: 1px solid var(--pl-border);
	border-radius: var(--pl-r-lg);
	box-shadow: var(--pl-shadow);
	margin: 12px 32px 0 0;
	color: var(--pl-text);
}
body.plinth #screen-options-wrap,
body.plinth #contextual-help-wrap {
	padding: 16px 20px;
}
body.plinth #screen-options-wrap legend,
body.plinth #screen-options-wrap h5 {
	color: var(--pl-text);
	font-weight: 600;
}
body.plinth #contextual-help-back {
	background: var(--pl-surface-2);
	border-color: var(--pl-border);
}
body.plinth #contextual-help-columns {
	position: relative;
}
body.plinth .contextual-help-tabs .active {
	background: var(--pl-surface-2);
	border-left: 2px solid var(--pl-accent);
	border-color: var(--pl-accent);
}
body.plinth .contextual-help-tabs .active a {
	color: var(--pl-text);
}
body.plinth .contextual-help-tabs a {
	color: var(--pl-text-2);
}
body.plinth .contextual-help-sidebar,
body.plinth .contextual-help-tabs-wrap {
	color: var(--pl-text-2);
}

/* Footer. */
body.plinth #wpfooter {
	color: var(--pl-text-3);
	font-size: 12px;
	padding: 16px 32px;
	border-top: 1px solid var(--pl-border);
	background: var(--pl-bg);
}
body.plinth #wpfooter p {
	font-size: 12px;
}
body.plinth .pl-footer-brand {
	color: var(--pl-text-2);
	font-weight: 500;
}
body.plinth #wpfooter a {
	color: var(--pl-text-2);
}

/* ==========================================================================
   5. Buttons
   ========================================================================== */
body.plinth.wp-core-ui .button,
body.plinth .wp-core-ui .button,
body.plinth.wp-core-ui .button-secondary,
body.plinth .wp-core-ui .button-secondary {
	/* No display override: core hides many buttons (e.g. .media-frame-menu-toggle)
	   with display:none, and a display value here would resurrect them. */
	min-height: 32px;
	line-height: 30px;
	padding: 0 12px;
	border: 1px solid var(--pl-border-strong);
	border-radius: var(--pl-r-sm);
	background: var(--pl-surface-2);
	color: var(--pl-text);
	font-size: 13px;
	font-weight: 500;
	text-shadow: none;
	box-shadow: none;
	vertical-align: middle;
	transition: background-color .12s ease, border-color .12s ease, color .12s ease;
}
body.plinth.wp-core-ui .button:hover,
body.plinth .wp-core-ui .button:hover,
body.plinth.wp-core-ui .button-secondary:hover,
body.plinth.wp-core-ui .button:focus,
body.plinth .wp-core-ui .button:focus,
body.plinth.wp-core-ui .button-secondary:focus {
	background: var(--pl-surface-3);
	border-color: var(--pl-border-strong);
	color: var(--pl-text);
}
body.plinth.wp-core-ui .button:focus-visible,
body.plinth .wp-core-ui .button:focus-visible {
	box-shadow: var(--pl-ring);
	outline: none;
}
body.plinth.wp-core-ui .button-primary,
body.plinth .wp-core-ui .button-primary {
	background: var(--pl-accent);
	border-color: var(--pl-accent);
	color: var(--pl-on-accent);
}
body.plinth.wp-core-ui .button-primary:hover,
body.plinth.wp-core-ui .button-primary:focus,
body.plinth .wp-core-ui .button-primary:hover,
body.plinth .wp-core-ui .button-primary:focus {
	background: var(--pl-accent-hover);
	border-color: var(--pl-accent-hover);
	color: var(--pl-on-accent);
}
body.plinth.wp-core-ui .button-small,
body.plinth .wp-core-ui .button-small,
body.plinth.wp-core-ui .button.button-small {
	min-height: 26px;
	line-height: 24px;
	padding: 0 8px;
	font-size: 12px;
}
body.plinth.wp-core-ui .button-large,
body.plinth.wp-core-ui .button.button-hero,
body.plinth.wp-core-ui .button-hero {
	min-height: 40px;
	line-height: 38px;
	padding: 0 18px;
	font-size: 14px;
}
body.plinth.wp-core-ui .button[disabled],
body.plinth.wp-core-ui .button:disabled,
body.plinth.wp-core-ui .button.disabled,
body.plinth.wp-core-ui .button-primary[disabled],
body.plinth.wp-core-ui .button-primary:disabled,
body.plinth.wp-core-ui .button-primary.disabled {
	background: var(--pl-surface-2) !important;
	border-color: var(--pl-border) !important;
	color: var(--pl-text-3) !important;
	opacity: .7;
}
body.plinth.wp-core-ui .button-link,
body.plinth .wp-core-ui .button-link {
	color: var(--pl-link);
	background: none;
	border: 0;
	min-height: 0;
	padding: 0;
}
body.plinth.wp-core-ui .button-link-delete,
body.plinth .submitbox .submitdelete,
body.plinth a.submitdelete,
body.plinth .row-actions .delete a,
body.plinth .row-actions .trash a,
body.plinth .row-actions .spam a,
body.plinth #delete-action a {
	color: var(--pl-crit);
}
body.plinth.wp-core-ui .button-link-delete:hover,
body.plinth .submitbox .submitdelete:hover,
body.plinth a.submitdelete:hover {
	color: var(--pl-crit);
	background: transparent;
	text-decoration: underline;
}
body.plinth .button .pl-ico {
	vertical-align: -3px;
}
body.plinth .pl-overview .button {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}
body.plinth.wp-core-ui .button .dashicons,
body.plinth .wp-core-ui .button .dashicons {
	line-height: 1;
}

/* ==========================================================================
   6. Form controls
   ========================================================================== */
body.plinth :is(
	input[type="text"], input[type="password"], input[type="email"], input[type="url"],
	input[type="search"], input[type="number"], input[type="tel"], input[type="date"],
	input[type="datetime-local"], input[type="month"], input[type="time"], input[type="week"],
	input[type="color"], select, textarea
) {
	background-color: var(--pl-input);
	border: 1px solid var(--pl-border-strong);
	border-radius: var(--pl-r-sm);
	color: var(--pl-text);
	box-shadow: none;
	font-size: 13px;
	transition: border-color .12s ease, box-shadow .12s ease;
}
body.plinth :is(
	input[type="text"], input[type="password"], input[type="email"], input[type="url"],
	input[type="search"], input[type="number"], input[type="tel"], input[type="date"],
	input[type="datetime-local"], input[type="month"], input[type="time"], input[type="week"]
) {
	min-height: 32px;
	padding: 0 10px;
}
body.plinth textarea {
	padding: 8px 10px;
	line-height: 1.5;
}
body.plinth.wp-core-ui select,
body.plinth .wp-core-ui select,
body.plinth select {
	min-height: 32px;
	padding: 0 30px 0 10px;
	line-height: 30px;
	background-color: var(--pl-input);
	background-image: var(--pl-select-arrow);
	background-size: 14px 14px;
	background-position: right 9px center;
	background-repeat: no-repeat;
	color: var(--pl-text);
}
body.plinth select[multiple] {
	background-image: none;
	padding: 4px;
}
body.plinth.wp-core-ui select:hover,
body.plinth :is(input, textarea):hover:not(:focus):not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]) {
	border-color: color-mix(in srgb, var(--pl-border-strong) 60%, var(--pl-text-3));
	color: var(--pl-text);
}
body.plinth :is(
	input[type="text"], input[type="password"], input[type="email"], input[type="url"],
	input[type="search"], input[type="number"], input[type="tel"], input[type="date"],
	input[type="datetime-local"], input[type="month"], input[type="time"], input[type="week"],
	input[type="color"], select, textarea
):focus {
	border-color: var(--pl-accent);
	box-shadow: var(--pl-ring);
	outline: none;
	color: var(--pl-text);
}
body.plinth ::placeholder {
	color: var(--pl-text-3);
	opacity: 1;
}
body.plinth :is(input, select, textarea):disabled,
body.plinth :is(input, textarea)[readonly] {
	background-color: var(--pl-surface-2);
	border-color: var(--pl-border);
	color: var(--pl-text-3);
	box-shadow: none;
}

/* Checkboxes & radios: restyle the unchecked state only — core draws the
   checked tick/dot assuming an accent-coloured fill, which we already map. */
body.plinth input[type="checkbox"],
body.plinth input[type="radio"] {
	width: 16px;
	height: 16px;
	min-width: 16px;
	border: 1px solid var(--pl-border-strong);
	background: var(--pl-input);
	box-shadow: none;
	margin-top: -2px;
}
body.plinth input[type="checkbox"] {
	border-radius: 4px;
}
body.plinth input[type="checkbox"]:checked,
body.plinth input[type="radio"]:checked {
	border-color: var(--pl-accent);
}
/* Filled with the accent in both modes (light mode used to draw core's white
   tick on a white box). Switches have their own rules further down. */
body.plinth input[type="checkbox"]:not(.pl-switch):checked,
body.plinth input[type="radio"]:checked {
	background: var(--pl-accent);
}
body.plinth input[type="radio"]:checked::before {
	background-color: var(--pl-on-accent);
}
/* Core enlarges both on phones; Plinth keeps them at 16px, so the tick and
   dot follow. */
@media screen and (max-width: 782px) {
	body.plinth input[type="checkbox"]:not(.pl-switch):checked::before {
		width: 18px;
		height: 18px;
		margin: -2px 0 0 -2px;
	}
	body.plinth input[type="radio"]:checked::before {
		width: 6px;
		height: 6px;
		margin: 4px;
	}
}
body.plinth input[type="checkbox"]:focus,
body.plinth input[type="radio"]:focus {
	border-color: var(--pl-accent);
	box-shadow: var(--pl-ring);
}

/* ==========================================================================
   7. Cards: postboxes, .card, welcome panel
   ========================================================================== */
body.plinth .postbox,
body.plinth .card,
body.plinth .stuffbox,
body.plinth .welcome-panel,
body.plinth #dashboard-widgets .postbox {
	background: var(--pl-surface);
	border: 1px solid var(--pl-border);
	border-radius: var(--pl-r-lg);
	box-shadow: none;
	color: var(--pl-text);
}
body.plinth .card {
	max-width: 680px;
	padding: 20px 24px;
}
body.plinth .card .title,
body.plinth .card h2 {
	margin-top: 0;
}
body.plinth .postbox .postbox-header,
body.plinth .stuffbox .postbox-header {
	border-bottom: 1px solid var(--pl-border);
	min-height: 44px;
}
body.plinth .postbox .hndle,
body.plinth .stuffbox .hndle,
body.plinth .postbox > h2,
body.plinth .postbox-header h2 {
	font-size: 13px;
	font-weight: 600;
	color: var(--pl-text);
	padding: 12px 16px;
	letter-spacing: -0.01em;
}
body.plinth .postbox .inside,
body.plinth .stuffbox .inside {
	padding: 4px 16px 16px;
	margin: 12px 0 0;
}
body.plinth .postbox .handle-order-higher,
body.plinth .postbox .handle-order-lower,
body.plinth .postbox .handlediv {
	color: var(--pl-text-3);
	width: 30px;
	height: 30px;
	border-radius: var(--pl-r-sm);
}
body.plinth .postbox .handle-order-higher:hover,
body.plinth .postbox .handle-order-lower:hover,
body.plinth .postbox .handlediv:hover {
	background: var(--pl-surface-2);
	color: var(--pl-text);
}
body.plinth .postbox .handle-order-higher:focus,
body.plinth .postbox .handle-order-lower:focus,
body.plinth .postbox .handlediv:focus {
	box-shadow: var(--pl-ring);
}
body.plinth .js .postbox .toggle-indicator::before,
body.plinth .postbox .order-higher-indicator::before,
body.plinth .postbox .order-lower-indicator::before {
	color: inherit;
}
body.plinth .postbox.closed .postbox-header {
	border-bottom: 0;
}
body.plinth .postbox .inside > p,
body.plinth .postbox .inside li {
	color: var(--pl-text-2);
}
body.plinth .sortable-placeholder,
body.plinth.is-dragging-metaboxes .metabox-holder .postbox-container .meta-box-sortables {
	border: 1px dashed var(--pl-border-strong);
	border-radius: var(--pl-r-lg);
	background: transparent;
	outline: none;
}
body.plinth #dashboard-widgets .meta-box-sortables {
	margin: 0 8px 20px;
}
body.plinth #dashboard-widgets .postbox-container .empty-container {
	outline: 1px dashed var(--pl-border-strong);
	outline-offset: -1px;
	border-radius: var(--pl-r-lg);
	border: 0;
	height: 200px;
}
body.plinth #dashboard-widgets .postbox-container .empty-container::after {
	color: var(--pl-text-3);
	font-size: 13px;
	font-weight: 500;
}
body.plinth .postbox .inside hr,
body.plinth #dashboard-widgets .inside hr {
	border-top-color: var(--pl-border);
}

/* Welcome panel. */
body.plinth .welcome-panel {
	overflow: hidden;
}
body.plinth .welcome-panel-header,
body.plinth .welcome-panel-content {
	color: var(--pl-text);
}
body.plinth .welcome-panel .welcome-panel-header {
	background: var(--pl-surface-2);
}
body.plinth .welcome-panel-header h2,
body.plinth .welcome-panel-header p,
body.plinth .welcome-panel-column h3 {
	color: var(--pl-text);
}
body.plinth .welcome-panel-column p {
	color: var(--pl-text-2);
}
body.plinth .welcome-panel-column-container {
	background: var(--pl-surface);
	border-top: 1px solid var(--pl-border);
}
body.plinth .welcome-panel-header-image {
	opacity: .35;
}
body.plinth .welcome-panel-close,
body.plinth .welcome-panel .welcome-panel-close {
	color: var(--pl-text-2);
}
body.plinth .welcome-panel .welcome-panel-close::before {
	color: var(--pl-text-3);
}
body.plinth .welcome-panel-icon-pages,
body.plinth .welcome-panel-icon-layout,
body.plinth .welcome-panel-icon-styles {
	background-color: var(--pl-accent);
	border-radius: var(--pl-r);
}

/* ==========================================================================
   8. Dashboard
   ========================================================================== */
body.plinth.index-php #wpbody-content:has(.pl-overview) .wrap > h1 {
	display: none;
}
body.plinth.index-php .wrap {
	margin-top: 0;
}
body.plinth #dashboard-widgets-wrap {
	margin: 0 -8px;
}

.pl-overview {
	margin: 28px 32px 24px 0;
	display: flex;
	flex-direction: column;
	gap: 20px;
}
.pl-overview > .notice {
	margin: 0;
}
.pl-overview__head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 16px 24px;
	flex-wrap: wrap;
}
body.plinth .pl-overview__title {
	margin: 0;
	padding: 0;
	font-size: 22px;
	font-weight: 650;
	letter-spacing: -0.015em;
	line-height: 1.2;
}
body.plinth .pl-overview__sub {
	margin: 6px 0 0;
	color: var(--pl-text-2);
	font-size: 13.5px;
}
.pl-overview__actions {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
}

/* Stat tiles. */
.pl-stats {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 12px;
}
body.plinth a.pl-stat {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 14px 16px;
	background: var(--pl-surface);
	border: 1px solid var(--pl-border);
	border-radius: var(--pl-r-lg);
	color: var(--pl-text);
	transition: border-color .15s ease;
}
body.plinth a.pl-stat:hover,
body.plinth a.pl-stat:focus-visible {
	border-color: var(--pl-border-strong);
	color: var(--pl-text);
}
.pl-stat__top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	color: var(--pl-text-2);
}
.pl-stat__top .pl-ico {
	width: 15px;
	height: 15px;
	color: var(--pl-text-3);
}
.pl-stat__label {
	font-size: 12.5px;
	font-weight: 500;
}
.pl-stat__value {
	font-size: 26px;
	font-weight: 650;
	letter-spacing: -0.02em;
	line-height: 1.15;
	font-variant-numeric: tabular-nums;
}
.pl-stat__meta {
	display: flex;
	align-items: center;
	gap: 5px;
	color: var(--pl-text-3);
	font-size: 12px;
}
.pl-stat__meta .pl-ico {
	width: 13px;
	height: 13px;
}
.pl-stat--warn .pl-stat__meta { color: var(--pl-text-2); }
.pl-stat--good .pl-stat__meta { color: var(--pl-success); }
.pl-stat--accent .pl-stat__top .pl-ico { color: var(--pl-accent); }

/* Tone helpers. */
.pl-tone-good { color: var(--pl-success); }
.pl-tone-warn { color: var(--pl-warn); }
.pl-tone-crit { color: var(--pl-crit); }
.pl-tone-accent { color: color-mix(in srgb, var(--pl-accent) 60%, var(--pl-text)); }

/* Cards. */
.pl-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
	align-items: stretch;
}
.pl-span-2 {
	grid-column: span 2;
}
.pl-card2 {
	display: flex;
	flex-direction: column;
	gap: 12px;
	min-width: 0;
	padding: 18px 20px;
	background: var(--pl-surface);
	border: 1px solid var(--pl-border);
	border-radius: var(--pl-r-lg);
}
.pl-card2__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}
.pl-card2__head--top {
	align-items: flex-start;
}
body.plinth .pl-card2__head h2 {
	margin: 0;
	font-size: 13.5px;
	font-weight: 600;
	letter-spacing: -0.01em;
}
body.plinth a.pl-more {
	display: inline-flex;
	align-items: center;
	gap: 3px;
	color: color-mix(in srgb, var(--pl-accent) 60%, var(--pl-text));
	font-size: 12.5px;
	font-weight: 500;
	white-space: nowrap;
}
body.plinth a.pl-more:hover {
	text-decoration: underline;
}
.pl-more .pl-ico {
	width: 14px;
	height: 14px;
}
.pl-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 20px;
	height: 18px;
	padding: 0 6px;
	border-radius: 9px;
	background: var(--pl-surface-3);
	color: var(--pl-text-2);
	font-size: 11px;
	font-weight: 600;
	font-variant-numeric: tabular-nums;
}
.pl-badge--accent {
	background: color-mix(in srgb, var(--pl-accent) 18%, transparent);
	color: color-mix(in srgb, var(--pl-accent) 55%, var(--pl-text));
}
.pl-card2__foot {
	margin-top: auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	padding-top: 4px;
	color: var(--pl-text-3);
	font-size: 12px;
}
.pl-card2__foot > span {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}
.pl-card2__foot .pl-ico {
	width: 14px;
	height: 14px;
}
body.plinth .pl-empty {
	margin: 0;
	color: var(--pl-text-3);
	font-size: 12.5px;
}

/* Lists inside cards. */
body.plinth .pl-list {
	margin: 0;
	padding: 0;
	list-style: none;
}
body.plinth .pl-list > li {
	margin: 0;
}
.pl-list--issues > li,
.pl-list--feed > li,
.pl-list--updates > li {
	display: flex;
	gap: 10px;
	padding: 9px 0;
	border-top: 1px solid var(--pl-border);
	color: var(--pl-text-2);
	font-size: 12.5px;
}
.pl-list--issues > li {
	align-items: flex-start;
	gap: 8px;
}
.pl-list--issues .pl-ico {
	width: 14px;
	height: 14px;
	margin-top: 2px;
}
.pl-list--updates > li {
	align-items: center;
	gap: 12px;
	padding: 10px 0;
}
body.plinth a.pl-row2 {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0 -8px;
	padding: 9px 8px;
	border-radius: var(--pl-r);
	color: var(--pl-text);
}
body.plinth a.pl-row2:hover,
body.plinth a.pl-row2:focus-visible {
	background: var(--pl-surface-2);
	color: var(--pl-text);
}
.pl-row2__icon {
	display: grid;
	place-items: center;
	width: 32px;
	height: 32px;
	flex: none;
	border-radius: var(--pl-r);
	background: var(--pl-surface-2);
	color: var(--pl-text-2);
}
.pl-row2__icon .pl-ico {
	width: 15px;
	height: 15px;
}
.pl-row2__text {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
	flex: 1;
}
.pl-row2__text strong {
	overflow: hidden;
	color: var(--pl-text);
	font-size: 13px;
	font-weight: 600;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.pl-row2__text small {
	color: var(--pl-text-3);
	font-size: 12px;
}
.pl-row2__chev {
	width: 15px;
	height: 15px;
	color: var(--pl-text-3);
}
.pl-ver {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-variant-numeric: tabular-nums;
}
.pl-ver .pl-ico {
	width: 12px;
	height: 12px;
}
.pl-avatar,
.pl-chip-ini {
	display: grid;
	place-items: center;
	flex: none;
	background: hsl(var(--h) 30% 22%);
	color: hsl(var(--h) 70% 82%);
	font-size: 10px;
	font-weight: 700;
}
body.plinth-light .pl-avatar,
body.plinth-light .pl-chip-ini {
	background: hsl(var(--h) 60% 92%);
	color: hsl(var(--h) 45% 32%);
}
@media (prefers-color-scheme: light) {
	body.plinth-auto .pl-avatar,
	body.plinth-auto .pl-chip-ini {
		background: hsl(var(--h) 60% 92%);
		color: hsl(var(--h) 45% 32%);
	}
}
.pl-avatar {
	width: 26px;
	height: 26px;
	border-radius: 50%;
}
.pl-chip-ini {
	width: 32px;
	height: 32px;
	border-radius: var(--pl-r);
	font-size: 11.5px;
}
.pl-feed__text {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
	line-height: 1.45;
}
.pl-feed__text strong,
.pl-feed__text a {
	color: var(--pl-text);
	font-weight: 600;
}
.pl-feed__text a {
	font-weight: 400;
}
.pl-feed__text small {
	color: var(--pl-text-3);
	font-size: 11.5px;
}

/* Quick draft. */
.pl-quick {
	margin-top: auto;
	display: flex;
	align-items: center;
	gap: 8px;
	height: 36px;
	padding: 0 5px 0 12px;
	background: var(--pl-input);
	border: 1px solid var(--pl-border-strong);
	border-radius: var(--pl-r);
}
.pl-quick:focus-within {
	border-color: var(--pl-accent);
	box-shadow: var(--pl-ring);
}
body.plinth .pl-quick input[type="text"] {
	flex: 1;
	min-width: 0;
	min-height: 0;
	height: 100%;
	padding: 0;
	border: 0;
	background: transparent;
	box-shadow: none;
}
body.plinth .pl-quick input[type="text"]:focus {
	box-shadow: none;
}

/* Site-health ring. */
.pl-health {
	display: flex;
	align-items: center;
	gap: 18px;
}
.pl-ring {
	position: relative;
	width: 104px;
	height: 104px;
	flex: none;
}
.pl-ring svg {
	display: block;
}
.pl-ring__track {
	fill: none;
	stroke: var(--pl-surface-3);
	stroke-width: 9;
}
.pl-ring__bar {
	fill: none;
	stroke: currentColor;
	stroke-width: 9;
	stroke-linecap: round;
}
.pl-ring__value {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	color: var(--pl-text);
}
.pl-ring__value strong {
	font-size: 26px;
	font-weight: 650;
	letter-spacing: -0.02em;
	line-height: 1;
	font-variant-numeric: tabular-nums;
}
.pl-ring__value small {
	margin-top: 3px;
	color: var(--pl-text-3);
	font-size: 11px;
}
.pl-health__text {
	display: flex;
	flex-direction: column;
	gap: 6px;
}
.pl-health__status {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 14px;
	font-weight: 600;
}
.pl-health__summary {
	color: var(--pl-text-2);
	font-size: 12.5px;
	line-height: 1.5;
}

/* Chart. */
.pl-chart__summary {
	display: flex;
	align-items: baseline;
	flex-wrap: wrap;
	gap: 4px 10px;
	margin-top: 4px;
}
.pl-chart__total {
	font-size: 28px;
	font-weight: 650;
	letter-spacing: -0.02em;
	font-variant-numeric: tabular-nums;
}
.pl-chart__delta {
	font-size: 12.5px;
	font-weight: 600;
	font-variant-numeric: tabular-nums;
}
.pl-chart__note {
	color: var(--pl-text-3);
	font-size: 12.5px;
}
.pl-seg {
	display: inline-flex;
	gap: 2px;
	padding: 3px;
	background: var(--pl-surface-2);
	border: 1px solid var(--pl-border);
	border-radius: var(--pl-r);
	flex: none;
}
body.plinth .pl-seg button {
	height: 26px;
	padding: 0 10px;
	border: 0;
	border-radius: var(--pl-r-sm);
	background: transparent;
	color: var(--pl-text-2);
	font-size: 12.5px;
	font-weight: 500;
	cursor: pointer;
}
body.plinth .pl-seg button:hover {
	color: var(--pl-text);
}
body.plinth .pl-seg button[aria-pressed="true"] {
	background: var(--pl-surface-3);
	color: var(--pl-text);
}
.pl-chart__plot {
	position: relative;
	height: 190px;
}
.pl-chart__plot > .pl-chart__tick {
	position: absolute;
	left: 0;
	width: 32px;
	color: var(--pl-text-3);
	font-size: 11px;
	line-height: 14px;
	text-align: right;
	font-variant-numeric: tabular-nums;
}
.pl-chart__xlabels {
	position: absolute;
	left: 40px;
	right: 8px;
	top: 172px;
	display: flex;
	justify-content: space-between;
	color: var(--pl-text-3);
	font-size: 11px;
	font-variant-numeric: tabular-nums;
}
.pl-chart__delta {
	display: inline-flex;
	align-items: center;
	gap: 2px;
}
.pl-chart__delta .pl-ico {
	width: 14px;
	height: 14px;
}
.pl-chart__delta .pl-ico.is-down {
	transform: rotate(90deg);
}
.pl-chart__svg {
	position: absolute;
	left: 0;
	top: 0;
}
.pl-chart__svg {
	display: block;
	overflow: visible;
}
.pl-chart__grid { stroke: var(--pl-border); }
.pl-chart__axis { stroke: var(--pl-border-strong); }
.pl-chart__tick {
	fill: var(--pl-text-3);
	font-size: 11px;
	font-variant-numeric: tabular-nums;
}
.pl-chart__bar { fill: color-mix(in srgb, var(--pl-text-3) 40%, transparent); }
.pl-chart__area { fill: color-mix(in srgb, var(--pl-accent) 14%, transparent); }
.pl-chart__line {
	fill: none;
	stroke: var(--pl-accent);
	stroke-width: 2;
	stroke-linejoin: round;
	stroke-linecap: round;
}
.pl-chart__guide {
	stroke: var(--pl-text-3);
	stroke-dasharray: 3 3;
}
.pl-chart__dot {
	fill: var(--pl-accent);
	stroke: var(--pl-surface);
	stroke-width: 2;
}
.pl-chart__tip {
	position: absolute;
	width: 140px;
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding: 8px 10px;
	background: var(--pl-surface-2);
	border: 1px solid var(--pl-border-strong);
	border-radius: var(--pl-r);
	box-shadow: var(--pl-shadow);
	pointer-events: none;
	transition: opacity .1s ease;
}
.pl-chart__tip span,
.pl-chart__tip small {
	color: var(--pl-text-3);
	font-size: 11.5px;
}
.pl-chart__tip strong {
	color: var(--pl-text);
	font-size: 13px;
	font-weight: 600;
}
.pl-chart__legend {
	display: flex;
	gap: 16px;
	color: var(--pl-text-3);
	font-size: 12px;
}
.pl-chart__legend span {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}
.pl-dot {
	width: 8px;
	height: 8px;
	border-radius: 2px;
}
.pl-dot--a { background: var(--pl-accent); }
.pl-dot--b { background: color-mix(in srgb, var(--pl-text-3) 60%, transparent); }

@media screen and (max-width: 1280px) {
	.pl-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media screen and (max-width: 1100px) {
	.pl-grid { grid-template-columns: minmax(0, 1fr); }
	.pl-span-2 { grid-column: auto; }
}
@media screen and (max-width: 600px) {
	.pl-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.pl-health { flex-direction: column; align-items: flex-start; }
}

/* Remaining third-party widgets sit below the overview; with none, nothing shows. */
body.plinth.index-php #dashboard-widgets-wrap {
	margin-top: 4px;
}
body.plinth.index-php #dashboard-widgets-wrap:not(:has(.postbox)) {
	display: none;
}

/* "From your plugins": every remaining widget in one auto grid instead of
   core's four float columns (which left one tall column and empty drop zones). */
body.plinth.index-php:has(.pl-overview) #dashboard-widgets-wrap {
	margin: 8px 32px 32px 0;
}
body.plinth.index-php:has(.pl-overview) #dashboard-widgets-wrap::before {
	content: var(--pl-label-plugin-widgets);
	display: block;
	margin: 0 0 12px;
	color: var(--pl-text-3);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: .06em;
	line-height: 1.3;
	text-transform: uppercase;
}
body.plinth.index-php:has(.pl-overview) #dashboard-widgets {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr));
	align-items: start;
	gap: 16px;
	padding: 0;
}
body.plinth.index-php:has(.pl-overview) #dashboard-widgets :is(.postbox-container, .meta-box-sortables) {
	display: contents;
}
body.plinth.index-php:has(.pl-overview) #dashboard-widgets :is(.empty-container, .sortable-placeholder),
body.plinth.index-php:has(.pl-overview) #dashboard-widgets .postbox :is(.handle-order-higher, .handle-order-lower),
body.plinth.index-php:has(.pl-overview) #screen-options-wrap .columns-prefs {
	display: none;
}
body.plinth.index-php:has(.pl-overview) #dashboard-widgets .postbox {
	min-width: 0;
	margin: 0;
}
body.plinth.index-php:has(.pl-overview) #dashboard-widgets .postbox .hndle {
	cursor: default;
}

/* At a Glance. */
body.plinth #dashboard_right_now li a::before,
body.plinth #dashboard_right_now li span::before,
body.plinth #dashboard_right_now .search-engines-info::before {
	color: var(--pl-text-3);
}
body.plinth #dashboard_right_now .main p {
	color: var(--pl-text-2);
}
body.plinth #dashboard_right_now .sub,
body.plinth #dashboard_activity .subsubsub {
	background: var(--pl-surface-2);
	border-top: 1px solid var(--pl-border);
	color: var(--pl-text-2);
}
body.plinth #dashboard_right_now .sub {
	border-radius: 0 0 var(--pl-r-lg) var(--pl-r-lg);
}

/* Activity. */
body.plinth #activity-widget #the-comment-list .comment-item,
body.plinth #dashboard_activity .no-activity,
body.plinth .activity-block {
	border-color: var(--pl-border);
}
body.plinth #activity-widget #the-comment-list .unapproved {
	background: color-mix(in srgb, var(--pl-warn) 8%, var(--pl-surface));
}
body.plinth #activity-widget #the-comment-list .comment-meta,
body.plinth #dashboard_activity .no-activity p,
body.plinth #activity-widget #published-posts li span,
body.plinth #activity-widget #future-posts li span {
	color: var(--pl-text-3);
}
body.plinth #dashboard_activity .no-activity p {
	font-size: 13px;
}
body.plinth #dashboard_activity .no-activity .smiley::before {
	color: var(--pl-text-3);
}

/* Quick Draft. */
body.plinth #dashboard_quick_press .drafts {
	border-top: 1px solid var(--pl-border);
}
body.plinth #dashboard_quick_press .drafts li time,
body.plinth #dashboard_quick_press .draft-title time {
	color: var(--pl-text-3);
}
body.plinth #dashboard_quick_press .drafts h2,
body.plinth #dashboard_quick_press .drafts .view-all {
	color: var(--pl-text-2);
	font-size: 12.5px;
	font-weight: 600;
}
body.plinth #dashboard_quick_press .drafts p {
	color: var(--pl-text-2);
}
body.plinth #description-wrap label,
body.plinth #title-wrap label {
	color: var(--pl-text-2);
}

/* Events & News. */
body.plinth .community-events-errors,
body.plinth .community-events .activity-block,
body.plinth #dashboard_primary .rss-widget,
body.plinth #dashboard_primary .community-events-footer,
body.plinth .community-events-form {
	border-color: var(--pl-border);
}
body.plinth #dashboard_primary .community-events-footer {
	background: var(--pl-surface-2);
	border-radius: 0 0 var(--pl-r-lg) var(--pl-r-lg);
}
body.plinth .community-events .ce-separator::before,
body.plinth .community-events .event-icon,
body.plinth #dashboard_primary .community-events-footer .dashicons,
body.plinth .event-date-time,
body.plinth .event-city {
	color: var(--pl-text-3);
}
body.plinth .community-events-form label {
	color: var(--pl-text-2);
}
body.plinth .rss-widget a.rsswidget {
	font-weight: 500;
}

/* Site Health widget. */
body.plinth .health-check-widget-title-section,
body.plinth .site-health-details p {
	color: var(--pl-text-2);
}
body.plinth .site-health-progress svg circle {
	stroke: var(--pl-surface-3);
}
body.plinth .site-health-progress-wrapper.green .site-health-progress svg #bar {
	stroke: var(--pl-success);
}
body.plinth .site-health-progress-wrapper.orange .site-health-progress svg #bar {
	stroke: var(--pl-warn);
}
body.plinth .site-health-progress-wrapper.red .site-health-progress svg #bar {
	stroke: var(--pl-crit);
}
body.plinth .site-health-progress-wrapper.loading .site-health-progress svg #bar {
	stroke: var(--pl-accent);
}
body.plinth .site-health-progress-label,
body.plinth .site-health-progress-count {
	color: var(--pl-text);
}

/* ==========================================================================
   9. Notices
   ========================================================================== */
body.plinth .notice,
body.plinth div.updated,
body.plinth div.error,
body.plinth .update-nag,
body.plinth .notice-alt {
	--tone: var(--pl-accent);
	/* Notices board: 14% tint, no outer border, inset 3px bar, 10px radius. */
	background: color-mix(in srgb, var(--tone) 14%, transparent);
	border: 0;
	border-radius: 10px;
	box-shadow: inset 3px 0 0 var(--tone);
	color: var(--pl-text);
	padding: 4px 14px;
	margin: 12px 0 16px;
}
body.plinth .notice p,
body.plinth div.updated p,
body.plinth div.error p {
	color: var(--pl-text);
	margin: 8px 0;
}
body.plinth .notice-success,
body.plinth div.updated {
	--tone: var(--pl-success);
}
body.plinth .notice-error,
body.plinth div.error {
	--tone: var(--pl-crit);
}
body.plinth .notice-warning,
body.plinth .update-nag {
	--tone: var(--pl-warn);
}
body.plinth .notice-info {
	--tone: var(--pl-accent);
}
/* Info notices: bar + icon in the accent text tone (the board's accentText). */
body.plinth .notice-info.pl-note,
body.plinth .pl-note:not(.notice-success, .notice-error, .notice-warning, div.updated, div.error) {
	--tone: color-mix(in srgb, var(--pl-accent) 60%, var(--pl-text));
	background: color-mix(in srgb, var(--pl-accent) 16%, transparent);
}

/* Page notice anatomy (admin.js marks page-level notices .pl-note): 18px type
   icon, bold title + secondary description, actions, dismiss X. */
body.plinth div.pl-note {
	position: relative;
	padding: 12px 44px 12px 46px;
}
body.plinth div.pl-note:not(.is-dismissible) {
	padding-right: 14px;
}
body.plinth div.pl-note > .pl-note__icon {
	position: absolute;
	top: 13px;
	left: 14px;
	width: 18px;
	height: 18px;
	color: var(--tone);
}
body.plinth div.pl-note > p {
	margin: 0;
}
body.plinth div.pl-note > p + p,
body.plinth div.pl-note > p + :is(div, ul, form),
body.plinth div.pl-note > :is(div, ul, form) + p {
	margin-top: 6px;
}
body.plinth .pl-note__title {
	display: block;
	color: var(--pl-text);
	font-size: 13.5px;
	font-weight: 600;
	line-height: 1.45;
}
body.plinth div.pl-note > p.pl-note__desc {
	margin: 3px 0 0;
	color: var(--pl-text-2);
	font-size: 12.5px;
	line-height: 1.55;
}
body.plinth div.pl-note .button {
	margin-top: 6px;
}
body.plinth .pl-note .notice-dismiss {
	top: 12px;
	right: 8px;
	display: grid;
	place-items: center;
	width: 28px;
	height: 28px;
	padding: 0;
	border-radius: 7px;
}
body.plinth .pl-note .notice-dismiss:hover {
	background: var(--pl-surface-3);
}
body.plinth .pl-note .notice-dismiss::before {
	content: "";
	width: 15px;
	height: 15px;
	background-color: currentColor;
	-webkit-mask: var(--pl-i-x) center / contain no-repeat;
	mask: var(--pl-i-x) center / contain no-repeat;
}
body.plinth .update-nag {
	display: inline-block;
	padding: 10px 14px;
}
body.plinth .notice-dismiss::before {
	color: var(--pl-text-3);
}
body.plinth .notice-dismiss:hover::before,
body.plinth .notice-dismiss:focus::before {
	color: var(--pl-text);
}
body.plinth .notice.inline,
body.plinth .notice-alt {
	margin: 8px 0;
}
body.plinth .update-message p::before,
body.plinth .updating-message p::before {
	color: var(--tone, var(--pl-warn));
}
body.plinth .form-invalid input,
body.plinth .form-invalid select,
body.plinth .form-invalid textarea {
	border-color: var(--pl-crit) !important;
}

/* ==========================================================================
   10. List tables
   ========================================================================== */
body.plinth .widefat {
	background: var(--pl-surface);
	border: 1px solid var(--pl-border);
	border-radius: var(--pl-r-lg);
	border-collapse: separate;
	border-spacing: 0;
	box-shadow: none;
	color: var(--pl-text);
	overflow: hidden;
}
body.plinth .widefat thead th,
body.plinth .widefat thead td,
body.plinth .widefat tfoot th,
body.plinth .widefat tfoot td {
	background: var(--pl-surface);
	color: var(--pl-text-3);
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0;
	padding-top: 10px;
	padding-bottom: 10px;
	border-bottom: 1px solid var(--pl-border);
	border-top: 0;
}
body.plinth .widefat tfoot th,
body.plinth .widefat tfoot td {
	border-top: 1px solid var(--pl-border);
	border-bottom: 0;
}
body.plinth .widefat th,
body.plinth .widefat td {
	color: var(--pl-text-2);
}
body.plinth .widefat td,
body.plinth .widefat th.check-column,
body.plinth .widefat tbody th {
	padding-top: var(--pl-cell-y);
	padding-bottom: var(--pl-cell-y);
}
body.plinth .widefat tbody tr + tr > * {
	border-top: 1px solid var(--pl-border);
}
body.plinth .widefat :is(thead, tfoot) th a,
body.plinth .widefat th.sortable a,
body.plinth .widefat th.sorted a {
	color: var(--pl-text-3);
}
body.plinth .widefat :is(thead, tfoot) th a:hover {
	color: var(--pl-text);
}
body.plinth .widefat .sorting-indicator::before {
	color: var(--pl-text-3);
}
body.plinth .striped > tbody > :nth-child(odd),
body.plinth ul.striped > :nth-child(odd),
body.plinth .alternate {
	background: transparent;
}
body.plinth .wp-list-table tbody tr {
	background: transparent;
	transition: background-color .1s ease;
}
body.plinth .wp-list-table tbody tr:hover {
	background: var(--pl-surface-2);
}
body.plinth .wp-list-table .row-title,
body.plinth .wp-list-table .column-primary > strong > a,
body.plinth .wp-list-table .column-name strong,
body.plinth .wp-list-table .plugin-title strong,
body.plinth .wp-list-table .column-username strong a {
	color: var(--pl-text);
	font-weight: 600;
}
body.plinth .wp-list-table a.row-title:hover {
	color: var(--pl-accent);
}
body.plinth .wp-list-table .post-state,
body.plinth .post-state {
	color: var(--pl-text-3);
	font-weight: 500;
}
body.plinth .row-actions {
	color: var(--pl-text-3);
	font-size: 12px;
}
body.plinth .row-actions a {
	color: var(--pl-text-2);
}
body.plinth .row-actions a:hover {
	color: var(--pl-accent);
}
body.plinth .wp-list-table .column-comments .post-com-count-approved .comment-count-approved,
body.plinth .wp-list-table .column-response .post-com-count-approved .comment-count-approved {
	background: var(--pl-surface-3);
	color: var(--pl-text);
}
body.plinth .column-comments .post-com-count-approved::after,
body.plinth .column-response .post-com-count-approved::after {
	border-top-color: var(--pl-surface-3);
}
body.plinth .wp-list-table .column-comments .post-com-count-no-comments .comment-count-no-comments {
	background: transparent;
	color: var(--pl-text-3);
	border: 1px solid var(--pl-border-strong);
}
body.plinth .column-comments .post-com-count-no-comments::after {
	border-top-color: var(--pl-border-strong);
}
body.plinth .wp-list-table .column-comments .post-com-count-pending,
body.plinth .wp-list-table .column-response .post-com-count-pending {
	background: var(--pl-crit);
	color: var(--pl-on-accent);
}
body.plinth .widefat .column-date,
body.plinth .widefat td.date,
body.plinth .widefat .column-author,
body.plinth .widefat .column-categories,
body.plinth .widefat .column-tags {
	color: var(--pl-text-2);
}
body.plinth .widefat td a {
	color: var(--pl-link);
}
body.plinth .widefat .check-column input {
	margin-left: 2px;
}
body.plinth .wp-list-table .no-items td {
	color: var(--pl-text-3);
	padding: 32px 16px;
	text-align: center;
}
body.plinth .wp-list-table .toggle-row {
	color: var(--pl-text-3);
}
body.plinth .widefat .column-author img.avatar,
body.plinth .widefat .column-username img,
body.plinth .widefat .column-comment img.avatar {
	border-radius: 50%;
}

/* Status filters (.subsubsub) as a segmented control. */
body.plinth .subsubsub {
	display: inline-flex;
	flex-wrap: wrap;
	gap: 2px;
	padding: 3px;
	margin: 6px 0 10px;
	background: var(--pl-surface);
	border: 1px solid var(--pl-border);
	border-radius: var(--pl-r);
	color: transparent;
	font-size: 0;
}
body.plinth .subsubsub li {
	font-size: 0;
	color: transparent;
}
body.plinth .subsubsub a {
	display: inline-block;
	padding: 4px 10px;
	border-radius: var(--pl-r-sm);
	color: var(--pl-text-2);
	font-size: 12.5px;
	font-weight: 500;
	line-height: 1.5;
}
body.plinth .subsubsub a:hover {
	color: var(--pl-text);
}
body.plinth .subsubsub a.current {
	background: var(--pl-surface-3);
	color: var(--pl-text);
	font-weight: 600;
}
body.plinth .subsubsub a .count,
body.plinth .subsubsub a.current .count {
	color: var(--pl-text-3);
	font-weight: 500;
}
body.plinth #dashboard_activity .subsubsub {
	display: flex;
	margin: 0;
	border: 0;
	border-top: 1px solid var(--pl-border);
	border-radius: 0 0 var(--pl-r-lg) var(--pl-r-lg);
	padding: 6px 10px;
}

/* Table nav, search, pagination. */
body.plinth .tablenav {
	height: auto;
	min-height: 34px;
	margin: 8px 0 12px;
	padding: 0;
	color: var(--pl-text-3);
}
body.plinth .tablenav.bottom {
	margin-top: 12px;
}
body.plinth .tablenav .tablenav-pages {
	color: var(--pl-text-3);
}
body.plinth .tablenav .displaying-num {
	color: var(--pl-text-3);
	font-size: 12.5px;
}
body.plinth .tablenav .tablenav-pages .button,
body.plinth .tablenav .tablenav-pages .tablenav-pages-navspan {
	min-width: 30px;
	min-height: 30px;
	padding: 0 6px;
	border-radius: var(--pl-r-sm);
	background: var(--pl-surface);
	border: 1px solid var(--pl-border);
	color: var(--pl-text-2);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 14px;
	line-height: 1;
	box-sizing: border-box;
	vertical-align: middle;
}
body.plinth .tablenav .tablenav-pages .tablenav-pages-navspan {
	color: var(--pl-text-3);
	opacity: .6;
}
body.plinth .tablenav .tablenav-paging-text,
body.plinth .tablenav .total-pages {
	color: var(--pl-text-3);
}
body.plinth .tablenav .actions select {
	margin-right: 6px;
}
body.plinth p.search-box {
	margin: 6px 0 10px;
	display: flex;
	gap: 6px;
	align-items: center;
}
body.plinth p.search-box input[type="search"] {
	min-width: 220px;
}
body.plinth .view-switch a::before {
	color: var(--pl-text-3);
}
body.plinth .view-switch a.current::before,
body.plinth .view-switch a:hover::before {
	color: var(--pl-accent);
}

/* Plugins table. */
body.plinth .plugins tr.active,
body.plinth .plugins tr.active td,
body.plinth .plugins tr.active th,
body.plinth .plugins tr.inactive td,
body.plinth .plugins tr.inactive th,
body.plinth .plugins .plugin-update-tr .plugin-update,
body.plinth .plugins tr.active + tr.inactive th,
body.plinth .plugins tr.active + tr.inactive td {
	background: transparent;
	box-shadow: none;
}
body.plinth .plugins .active th.check-column {
	border-left: 3px solid var(--pl-accent);
}
body.plinth .plugins .inactive th.check-column {
	border-left: 3px solid transparent;
}
body.plinth .plugins .inactive .plugin-title strong {
	color: var(--pl-text-2);
	font-weight: 500;
}
body.plinth .plugins .plugin-description p,
body.plinth .plugins .plugin-version-author-uri,
body.plinth .plugins .second {
	color: var(--pl-text-3);
}
body.plinth .plugins .update-message,
body.plinth .plugins .plugin-update-tr .notice {
	margin: 4px 0 10px;
}
body.plinth .plugins .auto-update-status,
body.plinth .plugins .column-auto-updates {
	color: var(--pl-text-3);
}

/* Comments table. */
body.plinth .comments tr.unapproved,
body.plinth #the-comment-list tr.unapproved {
	background: color-mix(in srgb, var(--pl-warn) 7%, transparent);
}
body.plinth #the-comment-list tr.unapproved th.check-column {
	border-left: 3px solid var(--pl-warn);
}
body.plinth .comment-author strong,
body.plinth .column-author strong {
	color: var(--pl-text);
}

/* Terms (Categories / Tags) two-column screens. */
body.plinth #col-left .form-wrap,
body.plinth .form-wrap {
	color: var(--pl-text-2);
}
body.plinth .form-wrap label,
body.plinth .form-field label {
	color: var(--pl-text);
	font-weight: 500;
}
body.plinth .form-wrap p,
body.plinth .form-field p {
	color: var(--pl-text-3);
}
body.plinth #col-left .col-wrap {
	background: var(--pl-surface);
	border: 1px solid var(--pl-border);
	border-radius: var(--pl-r-lg);
	padding: 4px 20px 20px;
	margin-right: 16px;
}

/* ==========================================================================
   11. Tabs
   ========================================================================== */
body.plinth .nav-tab-wrapper,
body.plinth .wrap h2.nav-tab-wrapper,
body.plinth h1.nav-tab-wrapper {
	border-bottom: 1px solid var(--pl-border);
	padding-top: 0;
	margin-bottom: 20px;
}
body.plinth .nav-tab {
	background: transparent;
	border: 0;
	border-bottom: 2px solid transparent;
	margin: 0 20px -1px 0;
	padding: 10px 2px;
	color: var(--pl-text-2);
	font-size: 13px;
	font-weight: 500;
	line-height: 1.4;
}
body.plinth .nav-tab:hover,
body.plinth .nav-tab:focus {
	background: transparent;
	color: var(--pl-text);
}
body.plinth .nav-tab-active,
body.plinth .nav-tab-active:hover,
body.plinth .nav-tab-active:focus,
body.plinth .nav-tab-active:focus:active {
	background: transparent;
	border-bottom-color: var(--pl-accent);
	color: var(--pl-text);
}

/* ==========================================================================
   12. Settings forms
   ========================================================================== */
body.plinth .wrap .form-table {
	background: var(--pl-surface);
	border: 1px solid var(--pl-border);
	border-radius: var(--pl-r-lg);
	border-collapse: separate;
	border-spacing: 0;
	margin: 16px 0 24px;
	max-width: 960px;
}
body.plinth .form-table th,
body.plinth .form-table td {
	padding: 18px 20px;
	vertical-align: top;
}
body.plinth .form-table th {
	width: 220px;
	color: var(--pl-text);
	font-weight: 500;
	padding-right: 12px;
}
body.plinth .form-table td {
	color: var(--pl-text-2);
}
body.plinth .form-table tr + tr > th,
body.plinth .form-table tr + tr > td {
	border-top: 1px solid var(--pl-border);
}
body.plinth .form-table td fieldset label,
body.plinth .form-table td label {
	color: var(--pl-text-2);
}
body.plinth .form-table td p {
	margin-top: 6px;
}
body.plinth .form-table .form-table {
	border: 0;
	background: transparent;
	margin: 0;
}
body.plinth .wrap > form > h2,
body.plinth .wrap form > h2,
body.plinth .wrap h2.title {
	margin: 32px 0 4px;
	font-size: 15px;
	font-weight: 600;
}
body.plinth .wrap > form > p,
body.plinth .wrap form > h2 + p {
	color: var(--pl-text-2);
}
body.plinth p.submit,
body.plinth .submit {
	padding: 8px 0 0;
}
body.plinth .permalink-structure code,
body.plinth .form-table td code {
	background: var(--pl-surface-2);
}
body.plinth .available-structure-tags li .button.active {
	border-color: var(--pl-accent);
	color: var(--pl-accent);
	background: var(--pl-accent-soft);
}
body.plinth .wp-picker-container .wp-color-result.button {
	min-height: 30px;
	padding: 0 0 0 30px;
	gap: 0;
}
body.plinth .wp-color-result-text {
	background: var(--pl-surface-2);
	border-left-color: var(--pl-border-strong);
	color: var(--pl-text);
	line-height: 28px;
	border-radius: 0 var(--pl-r-sm) var(--pl-r-sm) 0;
}

/* Profile / user screens. */
body.plinth .user-edit-php .form-table,
body.plinth .profile-php .form-table {
	max-width: 960px;
}
body.plinth #your-profile .user-profile-picture img,
body.plinth .user-profile-picture img {
	border-radius: 50%;
}
body.plinth .wp-pwd .button.wp-hide-pw {
	min-height: 32px;
}
body.plinth #pass-strength-result {
	background: var(--pl-surface-2);
	border-color: var(--pl-border);
	color: var(--pl-text);
	border-radius: var(--pl-r-sm);
}
body.plinth #pass-strength-result.short,
body.plinth #pass-strength-result.bad {
	background: color-mix(in srgb, var(--pl-crit) 15%, var(--pl-surface));
	border-color: var(--pl-crit);
}
body.plinth #pass-strength-result.good {
	background: color-mix(in srgb, var(--pl-warn) 15%, var(--pl-surface));
	border-color: var(--pl-warn);
}
body.plinth #pass-strength-result.strong {
	background: color-mix(in srgb, var(--pl-success) 15%, var(--pl-surface));
	border-color: var(--pl-success);
}
body.plinth .application-passwords .create-application-password,
body.plinth .new-application-password-notice {
	color: var(--pl-text);
}

/* ==========================================================================
   13. Media
   ========================================================================== */
body.plinth .wp-filter {
	background: var(--pl-surface);
	border: 1px solid var(--pl-border);
	border-radius: var(--pl-r-lg);
	box-shadow: none;
	color: var(--pl-text-2);
	margin: 12px 0 20px;
	padding: 0 12px;
}
body.plinth .wp-filter .filter-links li > a {
	color: var(--pl-text-2);
	border-bottom: 2px solid transparent;
}
body.plinth .wp-filter .filter-links .current,
body.plinth .wp-filter .filter-links li > a:hover {
	color: var(--pl-text);
	border-bottom-color: var(--pl-accent);
}
body.plinth .media-toolbar.wp-filter .media-toolbar-secondary,
body.plinth .media-toolbar.wp-filter .media-toolbar-primary {
	color: var(--pl-text-2);
}
body.plinth .wp-filter .search-form input[type="search"] {
	min-width: 200px;
}
body.plinth .media-frame,
body.plinth .media-frame input,
body.plinth .media-frame select,
body.plinth .media-frame textarea {
	font-family: var(--pl-font);
}
body.plinth .attachments-browser .attachments,
body.plinth .attachments-browser .uploader-inline {
	background: transparent;
}
body.plinth .wp-core-ui .attachment-preview,
body.plinth.wp-core-ui .attachment-preview {
	background: var(--pl-surface-2);
	border-radius: var(--pl-r);
	box-shadow: inset 0 0 0 1px var(--pl-border);
	overflow: hidden;
}
/* Keep .attachment-preview::before — it is core's aspect-ratio spacer. */
body.plinth.wp-core-ui .attachment .thumbnail::after,
body.plinth .wp-core-ui .attachment .thumbnail::after {
	box-shadow: none;
}
body.plinth.wp-core-ui .attachment:focus,
body.plinth.wp-core-ui .selected.attachment:focus,
body.plinth.wp-core-ui .attachment.details:focus {
	box-shadow: inset 0 0 0 2px var(--pl-surface), inset 0 0 0 4px var(--pl-accent);
	border-radius: var(--pl-r);
}
body.plinth.wp-core-ui .attachment.details .attachment-preview,
body.plinth.wp-core-ui .attachment.selected .attachment-preview {
	box-shadow: inset 0 0 0 2px var(--pl-surface), inset 0 0 0 4px var(--pl-accent);
}
body.plinth.wp-core-ui .attachment .check,
body.plinth.wp-core-ui .attachment.details .check {
	background: var(--pl-accent);
	box-shadow: 0 0 0 1px var(--pl-surface), 0 0 0 2px var(--pl-accent);
	border-radius: 4px;
}
/* WordPress 7.1 caption: fed from aria-label, needs this exact shape to win. */
body.plinth.wp-core-ui .attachment:not(:has(.filename))::after {
	background: color-mix(in srgb, var(--pl-surface) 88%, transparent);
	color: var(--pl-text);
	border-radius: 0 0 var(--pl-r) var(--pl-r);
}
body.plinth.wp-core-ui .attachment .filename {
	background: color-mix(in srgb, var(--pl-surface) 88%, transparent);
	color: var(--pl-text);
	box-shadow: inset 0 0 0 1px var(--pl-border);
}
body.plinth.wp-core-ui .attachment .portrait img,
body.plinth.wp-core-ui .attachment .icon {
	max-width: 100%;
}
body.plinth .media-frame .attachment .icon,
body.plinth .attachment-preview .thumbnail .centered img.icon {
	filter: grayscale(.2);
}
body.plinth .load-more-wrapper .load-more-count {
	color: var(--pl-text-3);
}
body.plinth #drag-drop-area,
body.plinth .drag-drop #drag-drop-area,
body.plinth .uploader-inline .uploader-inline-content,
body.plinth .media-frame.mode-grid .uploader-inline {
	background: var(--pl-surface);
	border: 1px dashed var(--pl-border-strong);
	border-radius: var(--pl-r-lg);
	color: var(--pl-text-2);
}
body.plinth .drag-drop-inside p,
body.plinth .upload-instructions,
body.plinth .uploader-inline h2,
body.plinth .max-upload-size,
body.plinth .upload-flash-bypass {
	color: var(--pl-text-2);
}
body.plinth .media-item,
body.plinth #media-items {
	background: var(--pl-surface);
	border-color: var(--pl-border);
	color: var(--pl-text);
}
body.plinth .media-item .progress {
	background: var(--pl-surface-3);
	border-radius: 4px;
	box-shadow: none;
}
body.plinth .media-item .bar {
	background: var(--pl-accent);
	border-radius: 4px;
}

/* Media modal & grid detail overlay. */
body.plinth .media-modal-backdrop {
	background: var(--pl-overlay);
	opacity: 1;
}
body.plinth .media-modal {
	border-radius: var(--pl-r-lg);
	overflow: hidden;
	box-shadow: var(--pl-shadow);
}
body.plinth .media-modal-content,
body.plinth .media-frame-content,
body.plinth .media-frame-title,
body.plinth .media-frame-router,
body.plinth .media-frame-toolbar .media-toolbar,
body.plinth .media-frame-menu,
body.plinth .media-menu,
body.plinth .edit-attachment-frame .edit-media-header,
body.plinth .edit-attachment-frame .attachment-media-view,
body.plinth .edit-attachment-frame .attachment-info {
	background: var(--pl-surface);
	color: var(--pl-text);
	border-color: var(--pl-border);
}
body.plinth .media-frame-title h1,
body.plinth .media-frame-title h2,
body.plinth .media-modal .setting .name,
body.plinth .attachment-details h2,
body.plinth .media-sidebar h2 {
	color: var(--pl-text);
}
body.plinth .media-frame-router,
body.plinth .media-frame-title {
	border-bottom: 1px solid var(--pl-border);
}
body.plinth .media-frame-toolbar .media-toolbar {
	border-top: 1px solid var(--pl-border);
}
body.plinth .media-menu {
	border-right: 1px solid var(--pl-border);
}
body.plinth .media-menu > a {
	color: var(--pl-text-2);
	border-radius: var(--pl-r-sm);
}
body.plinth .media-menu > a:hover,
body.plinth .media-menu .active,
body.plinth .media-menu .active:hover {
	color: var(--pl-text);
	background: var(--pl-surface-2);
}
body.plinth .media-menu .separator {
	border-top-color: var(--pl-border);
}
body.plinth .media-router .media-menu-item {
	color: var(--pl-text-2);
	background: transparent;
}
body.plinth .media-router .media-menu-item:hover,
body.plinth .media-router .media-menu-item:focus,
body.plinth .media-router .media-menu-item.active,
body.plinth .media-router .media-menu-item.active:last-child,
body.plinth .media-router .active,
body.plinth .media-router .active:hover {
	color: var(--pl-text);
	background: transparent;
	box-shadow: none;
}
body.plinth .media-router .active::after,
body.plinth .media-router .active:last-child::after {
	background: var(--pl-accent);
}
body.plinth .media-sidebar,
body.plinth .attachments-browser .media-toolbar,
body.plinth .media-frame .attachments-browser .media-toolbar {
	background: var(--pl-surface-2);
	border-color: var(--pl-border);
	color: var(--pl-text-2);
}
body.plinth .attachments-browser .media-toolbar {
	background: var(--pl-surface);
}
body.plinth.upload-php .attachments-browser .media-toolbar,
body.plinth.upload-php .media-frame.mode-grid .media-toolbar {
	background: var(--pl-surface);
}
body.plinth .media-sidebar .setting span,
body.plinth .attachment-details .setting span,
body.plinth .attachment-details .setting .name,
body.plinth .attachment-info .details,
body.plinth .attachment-info .filename,
body.plinth .attachment-details .details,
body.plinth .compat-item label span,
body.plinth .media-types-required-info {
	color: var(--pl-text-2);
}
body.plinth .attachment-info {
	border-bottom-color: var(--pl-border);
}
body.plinth .attachment-info .thumbnail img,
body.plinth .attachment-media-view .thumbnail img {
	border-radius: var(--pl-r);
}
body.plinth .media-modal-close,
body.plinth .edit-attachment-frame .edit-media-header .left,
body.plinth .edit-attachment-frame .edit-media-header .right {
	color: var(--pl-text-3);
	border-color: var(--pl-border);
}
body.plinth .media-modal-close:hover,
body.plinth .media-modal-close:active,
body.plinth .edit-attachment-frame .edit-media-header .left:hover,
body.plinth .edit-attachment-frame .edit-media-header .right:hover {
	color: var(--pl-text);
	background: var(--pl-surface-2);
	border-color: var(--pl-border);
}
body.plinth .media-modal-close .media-modal-icon::before,
body.plinth .edit-attachment-frame .edit-media-header .left::before,
body.plinth .edit-attachment-frame .edit-media-header .right::before {
	color: inherit;
}
body.plinth .image-details .column-settings,
body.plinth .image-editor {
	background: var(--pl-surface);
	color: var(--pl-text);
}
body.plinth .imgedit-menu button,
body.plinth .imgedit-group {
	border-color: var(--pl-border);
	background: var(--pl-surface-2);
	color: var(--pl-text);
}
body.plinth .media-selection .attachment.selection.details .attachment-preview {
	box-shadow: inset 0 0 0 2px var(--pl-accent);
}

/* ==========================================================================
   14. Themes & plugin installer cards
   ========================================================================== */
body.plinth .theme-browser .theme {
	background: var(--pl-surface);
	border: 1px solid var(--pl-border);
	border-radius: var(--pl-r-lg);
	box-shadow: none;
	overflow: hidden;
}
body.plinth .theme-browser .theme:hover,
body.plinth .theme-browser .theme:focus {
	border-color: var(--pl-border-strong);
}
body.plinth .theme-browser .theme .theme-screenshot {
	background: var(--pl-surface-2);
}
body.plinth .theme-browser .theme .theme-name,
body.plinth .theme-browser .theme.active .theme-name {
	background: var(--pl-surface);
	color: var(--pl-text);
	box-shadow: none;
	border-top: 1px solid var(--pl-border);
	font-weight: 600;
	font-size: 14px;
}
body.plinth .theme-browser .theme.active .theme-name span {
	color: var(--pl-text-3);
	font-weight: 500;
}
body.plinth .theme-browser .theme.active .theme-actions,
body.plinth .theme-browser .theme .theme-actions {
	background: color-mix(in srgb, var(--pl-surface) 92%, transparent);
	border-left: 1px solid var(--pl-border);
	box-shadow: none;
}
body.plinth .theme-browser .theme .more-details {
	background: color-mix(in srgb, var(--pl-bg) 80%, transparent);
	color: var(--pl-text);
	border-radius: var(--pl-r-sm);
	text-shadow: none;
	font-weight: 500;
	font-size: 13px;
}
body.plinth .theme-browser .theme .theme-author,
body.plinth .theme-browser .theme .notice {
	color: var(--pl-text-3);
}
body.plinth .theme-browser .add-new-theme a,
body.plinth .theme-browser .add-new-theme {
	border-radius: var(--pl-r-lg);
}
body.plinth .theme-browser .add-new-theme a::after {
	background: var(--pl-surface-2);
	color: var(--pl-text-2);
}
body.plinth .theme-browser .add-new-theme .theme-screenshot {
	background: transparent;
	border: 1px dashed var(--pl-border-strong);
	border-radius: var(--pl-r-lg);
}
body.plinth .theme-browser .add-new-theme span::after {
	background: var(--pl-surface-3);
	color: var(--pl-text-2);
}
body.plinth .theme-browser .add-new-theme a:hover span::after,
body.plinth .theme-browser .add-new-theme a:focus span::after {
	background: var(--pl-accent);
	color: var(--pl-on-accent);
}
body.plinth .theme-browser .add-new-theme .theme-name {
	color: var(--pl-text-2);
	background: transparent;
}
body.plinth .theme-overlay .theme-backdrop {
	background: var(--pl-overlay);
}
body.plinth .theme-overlay .theme-wrap {
	background: var(--pl-surface);
	border-radius: var(--pl-r-lg);
	color: var(--pl-text);
	box-shadow: var(--pl-shadow);
}
body.plinth .theme-overlay .theme-header,
body.plinth .theme-overlay .theme-actions {
	background: var(--pl-surface-2);
	border-color: var(--pl-border);
}
body.plinth .theme-overlay .theme-header .close,
body.plinth .theme-overlay .theme-header .left,
body.plinth .theme-overlay .theme-header .right {
	color: var(--pl-text-2);
	border-color: var(--pl-border);
}
body.plinth .theme-overlay .theme-header .close:hover,
body.plinth .theme-overlay .theme-header .left:hover,
body.plinth .theme-overlay .theme-header .right:hover {
	background: var(--pl-surface-3);
	color: var(--pl-text);
}
body.plinth .theme-overlay .theme-name,
body.plinth .theme-overlay .theme-version,
body.plinth .theme-overlay .theme-author,
body.plinth .theme-overlay .theme-description,
body.plinth .theme-overlay .theme-tags {
	color: var(--pl-text-2);
}
body.plinth .theme-overlay .theme-name {
	color: var(--pl-text);
}
body.plinth .theme-overlay .theme-screenshot {
	border-radius: var(--pl-r);
	overflow: hidden;
}

body.plinth .plugin-card {
	background: var(--pl-surface);
	border: 1px solid var(--pl-border);
	border-radius: var(--pl-r-lg);
	box-shadow: none;
	overflow: hidden;
}
body.plinth .plugin-card-top,
body.plinth .plugin-card .name,
body.plinth .plugin-card .desc {
	color: var(--pl-text-2);
}
body.plinth .plugin-card h3 a {
	color: var(--pl-text);
}
body.plinth .plugin-card .plugin-icon {
	border-radius: var(--pl-r);
}
body.plinth .plugin-card-bottom {
	background: var(--pl-surface-2);
	border-top: 1px solid var(--pl-border);
	color: var(--pl-text-3);
}
body.plinth .plugin-card .column-rating,
body.plinth .plugin-card .column-downloaded,
body.plinth .plugin-card .column-updated,
body.plinth .plugin-card .column-compatibility {
	color: var(--pl-text-3);
}
body.plinth .star-rating .star {
	color: var(--pl-warn);
}
body.plinth .upload-plugin-wrap .upload-plugin,
body.plinth .upload-theme-wrap .upload-theme,
body.plinth .upload-plugin .wp-upload-form,
body.plinth .upload-theme .wp-upload-form {
	background: var(--pl-surface);
	border: 1px dashed var(--pl-border-strong);
	border-radius: var(--pl-r-lg);
	color: var(--pl-text-2);
}
body.plinth .plugin-install-php .wp-filter .filter-links .current {
	border-bottom-color: var(--pl-accent);
}
body.plinth #plugin-information-tabs,
body.plinth #plugin-information-footer,
body.plinth #plugin-information-title {
	background: var(--pl-surface-2);
	border-color: var(--pl-border);
}

/* ==========================================================================
   15. Site Health, Tools, Updates, Privacy
   ========================================================================== */
body.plinth .health-check-header,
body.plinth .privacy-settings-header {
	background: var(--pl-surface);
	border-bottom: 1px solid var(--pl-border);
	color: var(--pl-text);
}
body.plinth .health-check-title-section h1,
body.plinth .privacy-settings-title-section h1 {
	color: var(--pl-text);
	font-size: 22px;
	font-weight: 650;
	letter-spacing: -0.02em;
}
body.plinth .health-check-tab,
body.plinth .privacy-settings-tab {
	color: var(--pl-text-2);
	font-weight: 500;
}
body.plinth .health-check-tab.active,
body.plinth .privacy-settings-tab.active {
	color: var(--pl-text);
	box-shadow: inset 0 -2px var(--pl-accent);
}
body.plinth .health-check-tab:hover,
body.plinth .privacy-settings-tab:hover {
	color: var(--pl-text);
}
body.plinth .health-check-body h2,
body.plinth .health-check-body h3,
body.plinth .privacy-settings-body h2 {
	color: var(--pl-text);
}
body.plinth .health-check-body p,
body.plinth .privacy-settings-body p,
body.plinth .site-status-all-clear .encouragement {
	color: var(--pl-text-2);
}
body.plinth .health-check-accordion,
body.plinth .privacy-settings-accordion {
	border: 1px solid var(--pl-border);
	border-radius: var(--pl-r-lg);
	overflow: hidden;
	background: var(--pl-surface);
}
body.plinth .health-check-accordion-heading + .health-check-accordion-panel,
body.plinth .health-check-accordion-heading,
body.plinth .privacy-settings-accordion-heading,
body.plinth .health-check-accordion-trigger,
body.plinth .privacy-settings-accordion-trigger {
	border-color: var(--pl-border);
}
body.plinth .health-check-accordion-trigger,
body.plinth .privacy-settings-accordion-trigger {
	background: var(--pl-surface);
	color: var(--pl-text);
	border-top: 1px solid var(--pl-border);
}
body.plinth .health-check-accordion-heading:first-child .health-check-accordion-trigger {
	border-top: 0;
}
body.plinth .health-check-accordion-trigger:hover,
body.plinth .health-check-accordion-trigger:active,
body.plinth .privacy-settings-accordion-trigger:hover,
body.plinth .privacy-settings-accordion-trigger:active {
	background: var(--pl-surface-2);
	outline: none;
}
body.plinth .health-check-accordion-trigger .title,
body.plinth .privacy-settings-accordion-trigger .title {
	color: var(--pl-text);
	font-weight: 500;
}
body.plinth .health-check-accordion-trigger .icon,
body.plinth .privacy-settings-accordion-trigger .icon {
	border-color: var(--pl-text-3);
}
body.plinth .health-check-accordion-panel,
body.plinth .privacy-settings-accordion-panel {
	background: var(--pl-surface-2);
	color: var(--pl-text-2);
	border-top: 1px solid var(--pl-border);
}
body.plinth .health-check-accordion-trigger .badge,
body.plinth .privacy-settings-accordion-trigger .badge {
	border-radius: 20px;
	padding: 2px 10px;
	font-size: 11.5px;
	font-weight: 500;
	background: transparent;
	color: var(--pl-text-2);
	border: 1px solid var(--pl-border-strong);
}
body.plinth .health-check-accordion-trigger .badge.blue,
body.plinth .privacy-settings-accordion-trigger .badge.blue {
	color: var(--pl-accent);
	border-color: color-mix(in srgb, var(--pl-accent) 50%, transparent);
}
body.plinth .health-check-accordion-trigger .badge.orange,
body.plinth .privacy-settings-accordion-trigger .badge.orange {
	color: var(--pl-warn);
	border-color: color-mix(in srgb, var(--pl-warn) 50%, transparent);
}
body.plinth .health-check-accordion-trigger .badge.red {
	color: var(--pl-crit);
	border-color: color-mix(in srgb, var(--pl-crit) 50%, transparent);
}
body.plinth .health-check-accordion-trigger .badge.green {
	color: var(--pl-success);
	border-color: color-mix(in srgb, var(--pl-success) 50%, transparent);
}
body.plinth .health-check-accordion-trigger .badge.gray,
body.plinth .health-check-accordion-trigger .badge.pink,
body.plinth .health-check-accordion-trigger .badge.purple {
	color: var(--pl-text-2);
}
body.plinth .site-health-issues-wrapper .issues {
	box-shadow: none;
}
body.plinth .health-check-body .health-check-table,
body.plinth .health-check-table {
	background: var(--pl-surface);
	border: 1px solid var(--pl-border);
	border-radius: var(--pl-r);
}
body.plinth .health-check-table td,
body.plinth .health-check-table th {
	color: var(--pl-text-2);
	border-color: var(--pl-border);
}
body.plinth .site-health-view-passed,
body.plinth .site-health-copy-buttons .copy-button-wrapper {
	color: var(--pl-text);
}
body.plinth .site-status-has-issues.hide-if-no-js,
body.plinth .site-health-progress-wrapper {
	color: var(--pl-text);
}

body.plinth .importers,
body.plinth table.importers {
	background: var(--pl-surface);
}
body.plinth .importers td,
body.plinth .importers th {
	color: var(--pl-text-2);
}
body.plinth .importer-title {
	color: var(--pl-text);
}
body.plinth #export-filters,
body.plinth .export-filters li {
	color: var(--pl-text-2);
}

body.plinth .update-php .wrap .card,
body.plinth.update-core-php .wrap h2,
body.plinth.update-core-php .wrap h3 {
	color: var(--pl-text);
}
body.plinth.update-core-php .wrap p,
body.plinth.update-core-php .wrap .update-last-checked {
	color: var(--pl-text-2);
}
body.plinth .auto-update-status,
body.plinth .core-updates .notice {
	color: var(--pl-text-2);
}
body.plinth .update-php .update-messages,
body.plinth .update-messages {
	background: var(--pl-surface);
	border: 1px solid var(--pl-border);
	border-radius: var(--pl-r);
	padding: 10px 14px;
	color: var(--pl-text-2);
}

/* Code editors. */
body.plinth #template textarea,
body.plinth #template .CodeMirror,
body.plinth .CodeMirror {
	background: var(--pl-input);
	color: var(--pl-text);
	border-color: var(--pl-border);
	border-radius: var(--pl-r);
	font-family: var(--pl-mono);
}
body.plinth .CodeMirror-gutters {
	background: var(--pl-surface-2);
	border-right: 1px solid var(--pl-border);
}
body.plinth .CodeMirror-linenumber {
	color: var(--pl-text-3);
}
body.plinth .CodeMirror-cursor {
	border-left-color: var(--pl-text);
}
body.plinth .CodeMirror-selected,
body.plinth .CodeMirror-focused .CodeMirror-selected {
	background: var(--pl-accent-soft);
}
body.plinth .CodeMirror-activeline-background {
	background: var(--pl-surface-2);
}
body.plinth #templateside,
body.plinth .fileedit-sub {
	color: var(--pl-text-2);
}
body.plinth #templateside li a,
body.plinth .tree-folder li a {
	color: var(--pl-text-2);
	border-radius: var(--pl-r-sm);
}
body.plinth #templateside li .notice,
body.plinth #templateside .current-file,
body.plinth .tree-folder .current-file {
	background: var(--pl-surface-2);
	color: var(--pl-text);
}
body.plinth #templateside > ul {
	background: var(--pl-surface);
	border: 1px solid var(--pl-border);
	border-radius: var(--pl-r);
}
/* Code colours (CodeMirror: file editors, Additional CSS, Custom HTML widget)
   on the Plinth palette, every token, both modes. Hues are mixed with the
   text colour so each one stays above 4.5:1 on the editor background. */
:is(body.plinth, .wp-customizer) .CodeMirror .cm-keyword,
:is(body.plinth, .wp-customizer) .CodeMirror .cm-def { color: color-mix(in srgb, var(--pl-accent) 60%, var(--pl-text)); }
:is(body.plinth, .wp-customizer) .CodeMirror .cm-builtin,
:is(body.plinth, .wp-customizer) .CodeMirror .cm-qualifier,
:is(body.plinth, .wp-customizer) .CodeMirror .cm-tag,
:is(body.plinth, .wp-customizer) .CodeMirror .cm-header { color: color-mix(in srgb, var(--pl-accent) 45%, var(--pl-text)); }
:is(body.plinth, .wp-customizer) .CodeMirror .cm-string,
:is(body.plinth, .wp-customizer) .CodeMirror .cm-string-2 { color: color-mix(in srgb, var(--pl-success) 70%, var(--pl-text)); }
:is(body.plinth, .wp-customizer) .CodeMirror .cm-number,
:is(body.plinth, .wp-customizer) .CodeMirror .cm-atom { color: color-mix(in srgb, var(--pl-crit) 65%, var(--pl-text)); }
:is(body.plinth, .wp-customizer) .CodeMirror .cm-variable-2,
:is(body.plinth, .wp-customizer) .CodeMirror .cm-variable-3,
:is(body.plinth, .wp-customizer) .CodeMirror .cm-type { color: color-mix(in srgb, var(--pl-warn) 70%, var(--pl-text)); }
:is(body.plinth, .wp-customizer) .CodeMirror .cm-comment { color: var(--pl-text-3); }
:is(body.plinth, .wp-customizer) .CodeMirror .cm-attribute,
:is(body.plinth, .wp-customizer) .CodeMirror .cm-meta,
:is(body.plinth, .wp-customizer) .CodeMirror .cm-hr { color: var(--pl-text-2); }
:is(body.plinth, .wp-customizer) .CodeMirror :is(.cm-variable, .cm-property, .cm-operator, .cm-bracket, .cm-punctuation) { color: var(--pl-text); }
:is(body.plinth, .wp-customizer) .CodeMirror .cm-link { color: var(--pl-link, var(--pl-accent-text)); text-decoration: underline; }
:is(body.plinth, .wp-customizer) .CodeMirror .cm-error,
:is(body.plinth, .wp-customizer) .CodeMirror .cm-invalidchar { color: color-mix(in srgb, var(--pl-crit) 75%, var(--pl-text)); }

/* ==========================================================================
   16. Classic edit screen (post.php) + editor
   ========================================================================== */
body.plinth #titlediv #title {
	min-height: 46px;
	padding: 6px 14px;
	font-size: 20px;
	font-weight: 600;
	letter-spacing: -0.015em;
	border-radius: var(--pl-r);
	background: var(--pl-input);
}
body.plinth #titlediv #title-prompt-text,
body.plinth #edit-slug-box,
body.plinth #edit-slug-box strong {
	color: var(--pl-text-3);
}
body.plinth #edit-slug-box a {
	color: var(--pl-link);
}
body.plinth #poststuff h2,
body.plinth #poststuff h3.hndle {
	font-size: 13px;
	padding: 12px 16px;
}
body.plinth #post-body-content {
	margin-bottom: 20px;
}
body.plinth .wp-editor-container,
body.plinth #post-status-info {
	border: 1px solid var(--pl-border);
	border-radius: 0 0 var(--pl-r) var(--pl-r);
	background: var(--pl-surface);
}
body.plinth #post-status-info {
	border-top: 0;
	color: var(--pl-text-3);
}
body.plinth #post-status-info td {
	color: var(--pl-text-3);
}
body.plinth .wp-editor-tools,
body.plinth #wp-content-editor-tools {
	background: var(--pl-bg);
}
body.plinth .category-tabs .tabs a,
body.plinth .wp-tab-bar .wp-tab-active a {
	color: var(--pl-text);
}
body.plinth .wp-editor-tabs .wp-switch-editor,
body.plinth .wp-switch-editor {
	background: var(--pl-surface-2);
	border: 1px solid var(--pl-border);
	color: var(--pl-text-2);
	border-radius: var(--pl-r-sm) var(--pl-r-sm) 0 0;
	font-size: 12.5px;
}
body.plinth .html-active .switch-html,
body.plinth .tmce-active .switch-tmce {
	background: var(--pl-surface);
	border-bottom-color: var(--pl-surface);
	color: var(--pl-text);
}
body.plinth .wp-media-buttons .button {
	gap: 4px;
}
body.plinth .wp-media-buttons .add_media span.wp-media-buttons-icon::before {
	color: inherit;
}
body.plinth div.mce-toolbar-grp,
body.plinth .quicktags-toolbar,
body.plinth div.mce-panel,
body.plinth .mce-toolbar .mce-btn-group .mce-btn,
body.plinth .qt-dfw {
	background: var(--pl-surface-2);
	border-color: var(--pl-border);
}
body.plinth div.mce-toolbar-grp {
	border-bottom: 1px solid var(--pl-border);
}
body.plinth .mce-toolbar .mce-btn-group .mce-btn {
	background: transparent;
	border-color: transparent;
	border-radius: var(--pl-r-sm);
}
body.plinth .mce-toolbar .mce-btn-group .mce-btn:hover,
body.plinth .mce-toolbar .mce-btn-group .mce-btn:focus,
body.plinth .mce-toolbar .mce-btn-group .mce-btn.mce-active,
body.plinth .qt-dfw.active {
	background: var(--pl-surface-3);
	border-color: var(--pl-border-strong);
	box-shadow: none;
	color: var(--pl-text);
}
body.plinth .mce-toolbar .mce-ico,
body.plinth .mce-toolbar .mce-btn i,
body.plinth .mce-toolbar .mce-btn .mce-txt,
body.plinth .mce-toolbar .mce-listbox button,
body.plinth .mce-caret {
	color: var(--pl-text-2);
}
body.plinth .mce-toolbar .mce-caret {
	border-top-color: var(--pl-text-2);
}
body.plinth .mce-toolbar .mce-btn-group .mce-btn.mce-listbox {
	background: var(--pl-input);
	border-color: var(--pl-border-strong);
}
body.plinth div.mce-statusbar {
	border-top-color: var(--pl-border);
}
body.plinth .mce-path-item,
body.plinth .mce-path .mce-divider {
	color: var(--pl-text-3);
}
body.plinth .mce-menu,
body.plinth .mce-floatpanel,
body.plinth .mce-window {
	background: var(--pl-surface) !important;
	border-color: var(--pl-border) !important;
	border-radius: var(--pl-r);
	box-shadow: var(--pl-shadow) !important;
}
body.plinth .mce-menu .mce-menu-item .mce-text,
body.plinth .mce-menu .mce-menu-item .mce-ico {
	color: var(--pl-text-2);
}
body.plinth .mce-menu .mce-menu-item:hover,
body.plinth .mce-menu .mce-menu-item.mce-selected,
body.plinth .mce-menu .mce-menu-item:focus {
	background: var(--pl-surface-2);
}
body.plinth .mce-menu .mce-menu-item:hover .mce-text,
body.plinth .mce-menu .mce-menu-item.mce-selected .mce-text {
	color: var(--pl-text);
}
body.plinth .quicktags-toolbar input.button.button-small {
	min-height: 26px;
}
body.plinth .wp-editor-area,
body.plinth .wp-editor-container textarea.wp-editor-area {
	background: var(--pl-input);
	color: var(--pl-text);
	border: 0;
	border-radius: 0;
}
body.plinth #submitdiv .inside {
	padding: 0;
	margin: 0;
}
body.plinth #minor-publishing-actions,
body.plinth #misc-publishing-actions {
	padding: 12px 16px 6px;
}
body.plinth .misc-pub-section {
	padding: 6px 0;
	color: var(--pl-text-2);
}
body.plinth .misc-pub-section b,
body.plinth .misc-pub-section strong {
	color: var(--pl-text);
}
body.plinth #post-body .misc-pub-post-status::before,
body.plinth #post-body #visibility::before,
body.plinth .curtime #timestamp::before,
body.plinth #post-body .misc-pub-revisions::before,
body.plinth #post-body .misc-pub-response-to::before,
body.plinth #post-body .misc-pub-comment-status::before {
	color: var(--pl-text-3);
}
body.plinth #major-publishing-actions {
	background: var(--pl-surface-2);
	border-top: 1px solid var(--pl-border);
	padding: 12px 16px;
	border-radius: 0 0 var(--pl-r-lg) var(--pl-r-lg);
}
body.plinth .categorydiv div.tabs-panel,
body.plinth .customlinkdiv div.tabs-panel,
body.plinth .posttypediv div.tabs-panel,
body.plinth .taxonomydiv div.tabs-panel,
body.plinth .wp-tab-panel {
	background: var(--pl-input);
	border-color: var(--pl-border);
	border-radius: var(--pl-r-sm);
	color: var(--pl-text-2);
}
body.plinth .category-tabs li.tabs,
body.plinth .wp-tab-active,
body.plinth ul.add-menu-item-tabs li.tabs {
	background: var(--pl-input);
	border-color: var(--pl-border);
}
body.plinth .category-tabs a,
body.plinth .wp-tab-bar a {
	color: var(--pl-text-2);
}
body.plinth .tagchecklist .ntdelbutton .remove-tag-icon::before {
	color: var(--pl-text-3);
}
body.plinth .tagchecklist li {
	color: var(--pl-text-2);
}
body.plinth #poststuff .inside .howto {
	color: var(--pl-text-3);
}
body.plinth .postbox .inside .wp-tab-panel {
	margin-top: 0;
}
body.plinth .wp-autocomplete,
body.plinth .ui-autocomplete {
	background: var(--pl-surface);
	border-color: var(--pl-border);
	color: var(--pl-text);
}

/* Classic widgets & menus (when enabled). */
body.plinth .widget-top,
body.plinth .menu-item-handle,
body.plinth .widget-inside,
body.plinth .menu-item-settings,
body.plinth .widgets-holder-wrap,
body.plinth .widget-liquid-right .widgets-holder-wrap,
body.plinth #menu-management .menu-edit,
body.plinth #menu-settings-column .accordion-container,
body.plinth .manage-menus,
body.plinth .nav-menus-php .menu-settings {
	background: var(--pl-surface);
	border-color: var(--pl-border);
	color: var(--pl-text);
	box-shadow: none;
}
body.plinth .widget-top,
body.plinth .menu-item-handle {
	background: var(--pl-surface-2);
	border-radius: var(--pl-r-sm);
}
body.plinth .widget-title h3,
body.plinth .menu-item-handle .item-title,
body.plinth .sidebar-name h2 {
	color: var(--pl-text);
}
body.plinth #nav-menu-header,
body.plinth #nav-menu-footer,
body.plinth .accordion-section-title,
body.plinth .accordion-section-content {
	background: var(--pl-surface);
	border-color: var(--pl-border);
	color: var(--pl-text);
}
body.plinth .accordion-section-title:hover,
body.plinth .accordion-section-title:focus {
	background: var(--pl-surface-2);
}

/* ==========================================================================
   17. Misc core bits that paint white
   ========================================================================== */
body.plinth .ui-sortable-helper,
body.plinth #wp-auth-check,
body.plinth .wp-pointer-content,
body.plinth .wp-pointer .wp-pointer-content,
body.plinth #TB_window,
body.plinth .ui-dialog,
body.plinth .find-box,
body.plinth #find-posts,
body.plinth .inline-edit-row fieldset,
body.plinth .inline-edit-wrapper,
body.plinth tr.inline-editor td,
body.plinth .inline-edit-row {
	background: var(--pl-surface);
	color: var(--pl-text);
	border-color: var(--pl-border);
}
body.plinth .inline-edit-row fieldset .title,
body.plinth .inline-edit-row .inline-edit-legend,
body.plinth .inline-edit-row fieldset label span.title {
	color: var(--pl-text);
}
body.plinth .inline-edit-row .submit {
	background: transparent;
}
body.plinth .notification-dialog,
body.plinth #file-editor-warning .file-editor-warning-content {
	background: var(--pl-surface);
	color: var(--pl-text-2);
	border: 1px solid var(--pl-border);
	border-radius: var(--pl-r-lg);
	box-shadow: var(--pl-shadow);
}
body.plinth .notification-dialog h1,
body.plinth .notification-dialog h2,
body.plinth #file-editor-warning h1 {
	color: var(--pl-text);
}
body.plinth .notification-dialog p,
body.plinth #file-editor-warning p {
	color: var(--pl-text-2);
}
body.plinth .notification-dialog-background {
	background: var(--pl-overlay);
	opacity: 1;
}
body.plinth #TB_title {
	background: var(--pl-surface-2);
	border-color: var(--pl-border);
	color: var(--pl-text);
}
body.plinth #TB_overlay {
	background: var(--pl-overlay);
	opacity: 1;
}
body.plinth .wp-pointer-content h3 {
	background: var(--pl-accent);
	border-color: var(--pl-accent);
}
body.plinth .wp-pointer-arrow-inner {
	border-color: var(--pl-surface) transparent;
}
body.plinth .spinner {
	filter: none;
}
body.plinth.plinth-dark .spinner,
body.plinth.plinth-dark .loading-content .spinner {
	filter: invert(1);
}
body.plinth .ui-datepicker {
	background: var(--pl-surface);
	border: 1px solid var(--pl-border);
	color: var(--pl-text);
}
body.plinth .wp-privacy-request-form,
body.plinth .privacy-text-box,
body.plinth .privacy-text-section {
	color: var(--pl-text-2);
}
body.plinth .privacy-text-box .privacy-text-actions {
	background: var(--pl-surface-2);
	border-color: var(--pl-border);
}
body.plinth .export-personal-data .wrap .wp-privacy-request-form,
body.plinth .wp-privacy-request-form {
	background: var(--pl-surface);
	border: 1px solid var(--pl-border);
	border-radius: var(--pl-r-lg);
	padding: 16px 20px;
}
body.plinth .request-status,
body.plinth .export-personal-data-idle,
body.plinth .remove-personal-data-idle {
	color: var(--pl-text-2);
}

/* React-driven admin pages in 7.x (Fonts, Connectors). Most surfaces follow the
   --wpds-* tokens mapped in class-plinth-tokens.php; these few are hard-coded. */
body.plinth:not(.plinth-block-editor) #wpbody .components-item {
	background: var(--pl-surface);
	color: var(--pl-text);
	border-color: var(--pl-border);
}
body.plinth:not(.plinth-block-editor) #wpbody .components-item-group,
body.plinth:not(.plinth-block-editor) #wpbody .components-card {
	background: var(--pl-surface);
	border-color: var(--pl-border);
	box-shadow: 0 0 0 1px var(--pl-border);
	border-radius: var(--pl-r-lg);
	color: var(--pl-text);
}
body.plinth:not(.plinth-block-editor) #wpbody .components-item + .components-item {
	border-top: 1px solid var(--pl-border);
}
body.plinth:not(.plinth-block-editor) #wpbody .components-button.is-secondary {
	background: transparent;
	color: var(--pl-text);
	box-shadow: inset 0 0 0 1px var(--pl-border-strong);
	border-radius: var(--pl-r-sm);
}
body.plinth:not(.plinth-block-editor) #wpbody .components-button.is-secondary:hover:not(:disabled) {
	background: var(--pl-surface-2);
	color: var(--pl-text);
}
body.plinth:not(.plinth-block-editor) #wpbody .components-button.is-primary {
	border-radius: var(--pl-r-sm);
}
body.plinth #wpbody .font-library__footer {
	background: var(--pl-surface);
	border-top: 1px solid var(--pl-border);
}
/* The AI callout paints a light gradient; keep its copy dark whatever the mode. */
body.plinth #wpbody .ai-plugin-callout {
	--pl-text: var(--pl-callout-text);
	color: var(--pl-callout-text);
}
body.plinth #wpbody .ai-plugin-callout :is(p, h2, h3, span) {
	color: var(--pl-callout-text);
}

/* ==========================================================================
   18b. 0.2 — Posts pills & chips, plugin switches, settings preview
   ========================================================================== */

/* Post states ("— Draft", "— Scheduled") as pills. Core prints the dash as
   text before the first .post-state span; hide it with font-size. */
body.plinth .wp-list-table .column-title strong,
body.plinth .wp-list-table .column-primary strong {
	display: inline-flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 6px;
}
body.plinth .wp-list-table strong > .post-state {
	display: inline-flex;
	align-items: center;
	height: 20px;
	padding: 0 8px;
	border-radius: 10px;
	background: var(--pl-surface-3);
	color: var(--pl-text-2);
	font-size: 11.5px;
	font-weight: 500;
}
body.plinth .wp-list-table tr.status-draft strong > .post-state:first-of-type {
	background: color-mix(in srgb, var(--pl-warn) 16%, transparent);
	color: var(--pl-warn);
}
body.plinth .wp-list-table tr.status-future strong > .post-state:first-of-type {
	background: color-mix(in srgb, var(--pl-accent) 16%, transparent);
	color: color-mix(in srgb, var(--pl-accent) 55%, var(--pl-text));
}
body.plinth .wp-list-table tr.status-private strong > .post-state:first-of-type,
body.plinth .wp-list-table tr.status-pending strong > .post-state:first-of-type {
	background: color-mix(in srgb, var(--pl-text-3) 22%, transparent);
}

/* Categories and tags as chips. The commas between links are text nodes. */
body.plinth .wp-list-table td.column-categories,
body.plinth .wp-list-table td.column-tags {
	font-size: 0;
	color: transparent;
}
body.plinth .wp-list-table td.column-categories a,
body.plinth .wp-list-table td.column-tags a {
	display: inline-flex;
	align-items: center;
	height: 22px;
	margin: 0 4px 4px 0;
	padding: 0 8px;
	border: 1px solid var(--pl-border-strong);
	border-radius: var(--pl-r-sm);
	color: var(--pl-text-2);
	font-size: 12px;
}
body.plinth .wp-list-table td.column-categories a:hover,
body.plinth .wp-list-table td.column-tags a:hover {
	border-color: var(--pl-text-3);
	color: var(--pl-text);
}
body.plinth .wp-list-table td.column-categories .screen-reader-text + span,
body.plinth .wp-list-table td.column-tags > span[aria-hidden="true"] {
	color: var(--pl-text-3);
	font-size: 13px;
}
/* ==========================================================================
   20. 0.2 mockup — shared page chrome
   ========================================================================== */

/* Sidebar: the collapse control and version sit at the bottom, like the mockup. */
@media screen and (min-width: 783px) {
	body.plinth #adminmenu {
		display: flex;
		flex-direction: column;
		min-height: calc(100vh - var(--pl-bar-h) - 22px);
		margin: 10px 0 12px;
	}
	body.plinth #collapse-menu {
		margin-top: auto;
		padding-top: 10px;
		border-top: 1px solid var(--pl-border);
	}
	body.plinth #adminmenu li.pl-menu-foot {
		margin-top: 8px;
		border-top: 0;
		padding-top: 0;
	}
}
body.plinth #adminmenu li.menu-top {
	margin: 0 0 2px;
}
body.plinth #adminmenu div.wp-menu-image::before {
	color: var(--pl-text-3);
}
body.plinth #adminmenu li.menu-top:hover div.wp-menu-image::before {
	color: var(--pl-text);
}
body.plinth:not(.folded) #adminmenu .wp-has-current-submenu .wp-submenu {
	margin: 2px 0 8px 28px;
	padding: 0 0 0 10px;
	border-left-color: var(--pl-border-strong);
}
body.plinth #adminmenu .wp-submenu a {
	min-height: 30px;
	margin: 0 0 1px;
	padding: 0 10px;
	box-sizing: border-box;
	font-weight: 400;
}
body.plinth #adminmenu .wp-submenu li.current a,
body.plinth #adminmenu .wp-submenu li.current a:hover {
	background: color-mix(in srgb, var(--pl-text) 5.5%, transparent);
	font-weight: 500;
}
body.plinth #collapse-menu {
	margin-left: 10px;
	margin-right: 10px;
}
body.plinth #collapse-button {
	height: 32px;
	color: var(--pl-text-2);
	font-weight: 500;
}
body.plinth #collapse-button .collapse-button-icon::after {
	color: var(--pl-text-3);
}

/* Page frame. */
body.plinth.pl-designed .wrap {
	margin-top: 28px;
}
/* Core zeroes the gutter on site-health.php for its full-width header. */
body.plinth.pl-designed #wpcontent {
	padding-left: 32px;
}
body.plinth.pl-designed #screen-meta-links,
body.plinth.pl-designed #screen-meta {
	display: none;
}
.pl-head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 16px 24px;
	flex-wrap: wrap;
	margin: 0 0 20px;
}
.pl-head__text {
	display: flex;
	flex-direction: column;
	gap: 6px;
}
body.plinth .pl-head h1,
body.plinth .wrap .pl-head h1.wp-heading-inline {
	margin: 0;
	padding: 0;
	font-size: 22px;
	font-weight: 650;
	letter-spacing: -0.015em;
	line-height: 1.2;
}
body.plinth .pl-head__sub {
	margin: 0;
	color: var(--pl-text-2);
	font-size: 13.5px;
}
.pl-head__actions {
	display: flex;
	align-items: center;
	gap: 8px;
}
body.plinth .pl-head__actions .button,
body.plinth .pl-overview__actions .button {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	height: 32px;
	min-height: 32px;
	border-radius: 7px;
}
body.plinth .pl-head__actions .pl-ico,
body.plinth .pl-overview__actions .pl-ico {
	width: 15px;
	height: 15px;
}
body.plinth.wp-core-ui .button.pl-btn-ghost {
	border-color: transparent;
	background: transparent;
	color: var(--pl-text-2);
}
body.plinth.wp-core-ui .button.pl-btn-ghost:hover {
	background: var(--pl-surface-3);
	color: var(--pl-text);
}
body.plinth.wp-core-ui .button-primary {
	font-weight: 600;
}
body.plinth.wp-core-ui .button,
body.plinth .wp-core-ui .button {
	border-radius: 7px;
}
body.plinth .wrap > hr.wp-header-end {
	display: none;
}

/* Toolbar: segmented filter left; selection, selects and search right. */
.pl-toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	flex-wrap: wrap;
	margin: 0 0 20px;
}
.pl-toolbar__left,
.pl-toolbar__right {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
}
.pl-seg--tabs {
	display: inline-flex;
}
body.plinth a.pl-seg__btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	height: 26px;
	padding: 0 10px;
	border-radius: 6px;
	color: var(--pl-text-2);
	font-size: 12.5px;
	font-weight: 500;
}
body.plinth a.pl-seg__btn:hover {
	color: var(--pl-text);
}
body.plinth a.pl-seg__btn[aria-current="page"],
body.plinth .pl-seg button[aria-pressed="true"] {
	background: color-mix(in srgb, var(--pl-surface-3) 88%, var(--pl-text));
	box-shadow: inset 0 1px 0 color-mix(in srgb, var(--pl-text) 5%, transparent);
	color: var(--pl-text);
}
.pl-seg__count {
	color: var(--pl-text-3);
	font-size: 11.5px;
	font-variant-numeric: tabular-nums;
}
body.plinth .pl-toolbar select.pl-select,
body.plinth .pl-toolbar select {
	height: 30px;
	min-height: 30px;
	padding: 0 30px 0 10px;
	border-radius: 7px;
	background-color: var(--pl-surface-2);
	border-color: var(--pl-border-strong);
	font-size: 12.5px;
	line-height: 28px;
	float: none;
	margin: 0;
	max-width: none;
}
body.plinth .pl-toolbar .button {
	height: 32px;
	min-height: 32px;
	margin: 0;
}
.pl-search-form {
	margin: 0;
}
body.plinth label.pl-search {
	display: flex;
	align-items: center;
	gap: 8px;
	width: 220px;
	height: 30px;
	padding: 0 10px;
	box-sizing: border-box;
	background: var(--pl-surface-2);
	border: 1px solid var(--pl-border-strong);
	border-radius: 7px;
	color: var(--pl-text-3);
}
body.plinth.plugins-php label.pl-search {
	width: 240px;
}
body.plinth label.pl-search:focus-within {
	border-color: var(--pl-accent);
	box-shadow: var(--pl-ring);
}
body.plinth label.pl-search input[type="search"] {
	flex: 1;
	min-width: 0;
	height: 100%;
	min-height: 0;
	padding: 0;
	border: 0;
	background: transparent;
	box-shadow: none;
	font-size: 12.5px;
}
body.plinth label.pl-search input[type="search"]:focus {
	box-shadow: none;
}
.pl-selbar {
	display: flex;
	align-items: center;
	gap: 6px;
	height: 30px;
	padding: 0 4px 0 10px;
	border-radius: 7px;
	background: var(--pl-accent-soft);
}
.pl-selbar[hidden] {
	display: none;
}
.pl-selbar__count {
	color: color-mix(in srgb, var(--pl-accent) 55%, var(--pl-text));
	font-size: 12.5px;
	font-weight: 600;
	font-variant-numeric: tabular-nums;
}
body.plinth .pl-selbar__btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	height: 24px;
	padding: 0 10px;
	border: 0;
	border-radius: 7px;
	background: transparent;
	color: var(--pl-text-2);
	font-size: 12.5px;
	font-weight: 500;
	cursor: pointer;
}
body.plinth .pl-selbar__btn:hover {
	background: var(--pl-surface-3);
	color: var(--pl-text);
}
body.plinth .pl-selbar__btn.is-danger {
	color: var(--pl-crit);
}
body.plinth .pl-selbar__btn.is-danger:hover {
	background: color-mix(in srgb, var(--pl-crit) 10%, transparent);
	color: var(--pl-crit);
}
.pl-selbar__btn .pl-ico {
	width: 14px;
	height: 14px;
}

/* ==========================================================================
   21. Posts & Pages list (edit.php)
   ========================================================================== */
body.plinth.edit-php.pl-list-ready .tablenav,
body.plinth.edit-php.pl-list-ready p.search-box,
body.plinth.edit-php.pl-list-ready .wrap > ul.subsubsub {
	display: none;
}
body.plinth:is(.edit-php, .users-php) .wp-list-table {
	margin: 0;
	border-radius: var(--pl-r-lg);
	overflow: hidden;
}
body.plinth:is(.edit-php, .users-php) .wp-list-table tfoot {
	display: none;
}
body.plinth:is(.edit-php, .users-php) .wp-list-table thead th,
body.plinth:is(.edit-php, .users-php) .wp-list-table thead td {
	height: 40px;
	padding: 0 12px;
	background: var(--pl-chrome);
	border-bottom: 0;
	color: var(--pl-text-3);
	font-size: 11.5px;
	font-weight: 600;
	letter-spacing: .04em;
	text-transform: uppercase;
	vertical-align: middle;
}
body.plinth:is(.edit-php, .users-php) .wp-list-table thead th a,
body.plinth:is(.edit-php, .users-php) .wp-list-table thead th a span {
	color: var(--pl-text-3);
	padding: 0;
}
body.plinth:is(.edit-php, .users-php) .wp-list-table thead .sorting-indicators {
	display: none;
}
body.plinth:is(.edit-php, .users-php) .wp-list-table .check-column {
	width: 44px;
	padding: 0;
	text-align: center;
	vertical-align: middle;
}
body.plinth:is(.edit-php, .users-php) .wp-list-table .check-column input {
	margin: 0;
}
body.plinth:is(.edit-php, .users-php) .wp-list-table thead .check-column {
	padding: 0;
}
body.plinth:is(.edit-php, .users-php) .wp-list-table .column-author { width: 150px; }
body.plinth:is(.edit-php, .users-php) .wp-list-table .column-categories { width: 190px; }
body.plinth:is(.edit-php, .users-php) .wp-list-table .column-comments { width: 76px; }
body.plinth:is(.edit-php, .users-php) .wp-list-table .column-date { width: 170px; }
body.plinth:is(.edit-php, .users-php) .wp-list-table thead .column-comments .comment-grey-bubble::before {
	content: "";
	display: inline-block;
	width: 14px;
	height: 14px;
	background-color: currentColor;
	-webkit-mask: var(--pl-i-comment) center / contain no-repeat;
	mask: var(--pl-i-comment) center / contain no-repeat;
	font: 0/0 a;
	vertical-align: -3px;
	/* Core nudges its dashicon with position:relative; top:4px; left:-4px — inside the
	   sortable link (overflow:hidden) that clipped our icon down to a corner. */
	position: static;
	color: inherit;
}
body.plinth:is(.edit-php, .users-php) .wp-list-table thead .column-comments .comment-grey-bubble {
	width: auto;
	height: auto;
	color: var(--pl-text-3);
}
body.plinth:is(.edit-php, .users-php) #the-list > tr > * {
	height: 58px;
	padding-top: 0;
	padding-bottom: 0;
	vertical-align: middle;
	border-top: 1px solid var(--pl-border);
}
body.plinth:is(.edit-php, .users-php) #the-list > tr:first-child > * {
	border-top: 1px solid var(--pl-border);
}
body.plinth:is(.edit-php, .users-php) #the-list > tr:hover {
	background: color-mix(in srgb, var(--pl-text) 3%, transparent);
}
body.plinth:is(.edit-php, .users-php) #the-list > tr:has(> th.check-column input:checked) {
	background: var(--pl-accent-soft);
}
body.plinth.edit-php #the-list td.column-title {
	padding-right: 16px;
}
body.plinth.edit-php #the-list td.column-title strong {
	display: flex;
	align-items: center;
	gap: 8px;
	min-width: 0;
	margin: 0;
	font-weight: 600;
}
body.plinth.edit-php #the-list td.column-title a.row-title {
	overflow: hidden;
	color: var(--pl-text);
	font-size: 13.5px;
	font-weight: 600;
	text-overflow: ellipsis;
	white-space: nowrap;
}
body.plinth.edit-php #the-list td.column-title a.row-title:hover {
	text-decoration: underline;
	color: var(--pl-text);
}
body.plinth .wp-list-table strong > .post-state {
	flex: none;
	height: 20px;
	padding: 0 7px;
	border-radius: 5px;
	background: var(--pl-surface-3);
	color: var(--pl-text-2);
	font-size: 11px;
	font-weight: 600;
}
body.plinth .wp-list-table tr.status-draft strong > .post-state:first-of-type {
	background: var(--pl-surface-3);
	color: var(--pl-text-2);
}
body.plinth .wp-list-table tr.status-future strong > .post-state:first-of-type {
	background: var(--pl-accent-soft);
	color: color-mix(in srgb, var(--pl-accent) 55%, var(--pl-text));
}
.pl-slug {
	display: block;
	margin-top: 3px;
	overflow: hidden;
	color: var(--pl-text-3);
	font-size: 12px;
	text-overflow: ellipsis;
	white-space: nowrap;
}
body.plinth.edit-php #the-list tr:hover .pl-slug,
body.plinth.edit-php #the-list tr:focus-within .pl-slug {
	display: none;
}
body.plinth:is(.edit-php, .users-php) #the-list tr:not(:hover):not(:focus-within) .row-actions {
	display: none;
}
body.plinth:is(.edit-php, .users-php) #the-list .row-actions {
	position: static;
	display: flex;
	gap: 12px;
	margin-top: 3px;
	padding: 0;
	font-size: 0;
	color: transparent;
}
body.plinth:is(.edit-php, .users-php) #the-list .row-actions :is(a, button.button-link) {
	color: color-mix(in srgb, var(--pl-accent) 60%, var(--pl-text));
	font-size: 12px;
	font-weight: 500;
	text-decoration: none;
}
body.plinth:is(.edit-php, .users-php) #the-list .row-actions :is(a, button.button-link):hover {
	text-decoration: underline;
}
body.plinth:is(.edit-php, .users-php) #the-list .row-actions .trash a,
body.plinth:is(.edit-php, .users-php) #the-list .row-actions .delete a {
	color: var(--pl-crit);
}
body.plinth.edit-php #the-list td.column-author {
	white-space: nowrap;
}
.pl-avatar--sm {
	display: inline-grid;
	width: 22px;
	height: 22px;
	margin-right: 8px;
	font-size: 9.5px;
	vertical-align: middle;
}
body.plinth.edit-php #the-list td.column-author a {
	color: var(--pl-text-2);
	font-size: 12.5px;
	vertical-align: middle;
}
body.plinth:is(.edit-php, .users-php) .wp-list-table td.column-categories a,
body.plinth:is(.edit-php, .users-php) .wp-list-table td.column-tags a {
	height: 20px;
	margin: 2px 4px 2px 0;
	padding: 0 7px;
	border: 1px solid var(--pl-border);
	border-radius: 5px;
	background: var(--pl-surface-2);
	color: var(--pl-text-2);
	font-size: 11.5px;
}
.pl-comments {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 12.5px;
}
body.plinth .pl-comments__n {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	color: var(--pl-text-2);
	font-variant-numeric: tabular-nums;
}
.pl-comments__n .pl-ico {
	width: 14px;
	height: 14px;
	color: var(--pl-text-3);
}
.pl-dash {
	color: var(--pl-text-3);
}
.pl-badge--warn {
	background: color-mix(in srgb, var(--pl-warn) 18%, transparent);
	color: var(--pl-warn);
}
body.plinth.edit-php #the-list td.column-date {
	color: var(--pl-text-2);
	font-size: 12.5px;
	line-height: 1.5;
	font-variant-numeric: tabular-nums;
}
body.plinth.edit-php #the-list td.column-date::first-line {
	color: var(--pl-text-3);
	font-size: 11.5px;
}
body.plinth.edit-php #the-list tr.no-items td {
	height: auto;
	padding: 48px 0;
	text-align: center;
	color: var(--pl-text-3);
}
body.plinth.edit-php #the-list tr.no-items td .pl-ico {
	display: block;
	width: 22px;
	height: 22px;
	margin: 0 auto 6px;
}

/* Pager. */
.pl-pager {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-top: 20px;
}
.pl-pager__info {
	color: var(--pl-text-3);
	font-size: 12.5px;
	font-variant-numeric: tabular-nums;
}
.pl-pager__nav {
	display: flex;
	align-items: center;
	gap: 4px;
}
body.plinth .pl-page {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 30px;
	height: 30px;
	padding: 0 8px;
	box-sizing: border-box;
	border: 1px solid var(--pl-border);
	border-radius: 7px;
	color: var(--pl-text-2);
	font-size: 12.5px;
	font-weight: 500;
}
body.plinth a.pl-page:hover {
	background: var(--pl-surface-3);
	color: var(--pl-text);
}
body.plinth .pl-page.is-current {
	border-color: transparent;
	background: var(--pl-accent-soft);
	color: color-mix(in srgb, var(--pl-accent) 55%, var(--pl-text));
}
body.plinth .pl-page.is-disabled {
	color: var(--pl-text-3);
	opacity: .6;
}
body.plinth .pl-page.is-gap {
	border-color: transparent;
}
body.plinth .pl-pager__nav > .pl-page:last-child:not(.is-disabled) {
	border-color: var(--pl-border-strong);
	background: var(--pl-surface-2);
}
.pl-page .pl-ico {
	width: 14px;
	height: 14px;
}

/* ==========================================================================
   22. Plugins list
   ========================================================================== */
.pl-banner {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0 0 20px;
	padding: 10px 12px 10px 14px;
	background: var(--pl-surface);
	border: 1px solid var(--pl-border);
	border-radius: var(--pl-r-lg);
}
.pl-banner p {
	flex: 1;
	margin: 0;
	color: var(--pl-text-2);
	font-size: 13px;
}
.pl-banner strong {
	color: var(--pl-text);
	font-weight: 600;
}
.pl-banner__icon {
	display: grid;
	place-items: center;
	width: 30px;
	height: 30px;
	flex: none;
	border-radius: 8px;
	background: var(--pl-accent-soft);
	color: color-mix(in srgb, var(--pl-accent) 55%, var(--pl-text));
}
.pl-banner--good .pl-banner__icon {
	background: color-mix(in srgb, var(--pl-success) 14%, transparent);
	color: var(--pl-success);
}
.pl-banner__icon .pl-ico {
	width: 15px;
	height: 15px;
}
.pl-banner--good .pl-banner__icon .pl-ico {
	width: 16px;
	height: 16px;
}
body.plinth .pl-banner__all.is-busy {
	opacity: .7;
	pointer-events: none;
}
body.plinth.plugins-php.pl-plugins-ready .tablenav,
body.plinth.plugins-php.pl-plugins-ready form.search-form,
body.plinth.plugins-php.pl-plugins-ready .wrap > ul.subsubsub,
body.plinth.plugins-php.pl-plugins-ready table.plugins tfoot {
	display: none;
}
/* Core's update row, replaced by the "Update to x" chip. !important: the
   row grid (table.plugins tr) is more specific and would show it again. */
body.plinth.plugins-php.pl-plugins-ready table.plugins tr.pl-update-hidden {
	display: none !important;
}
body.plinth.plugins-php.pl-plugins-ready table.plugins,
body.plinth.plugins-php.pl-plugins-ready table.plugins thead,
body.plinth.plugins-php.pl-plugins-ready table.plugins tbody {
	display: block;
}
body.plinth.plugins-php.pl-plugins-ready table.plugins {
	overflow: hidden;
	border-radius: var(--pl-r-lg);
}
body.plinth.plugins-php.pl-plugins-ready table.plugins tr {
	display: grid;
	grid-template-columns: 44px 38px minmax(0, 1fr) 170px 150px 52px;
	column-gap: 14px;
	align-items: center;
	padding-right: 18px;
}
body.plinth.plugins-php.pl-plugins-ready table.plugins tr > * {
	display: block;
	width: auto;
	height: auto;
	padding: 0;
	border: 0;
	background: transparent;
	box-shadow: none;
}
body.plinth.plugins-php.pl-plugins-ready table.plugins thead tr {
	height: 38px;
	background: var(--pl-chrome);
}
body.plinth.plugins-php.pl-plugins-ready table.plugins thead tr > * {
	color: var(--pl-text-3);
	font-size: 11.5px;
	font-weight: 600;
	letter-spacing: .04em;
	text-transform: uppercase;
}
body.plinth.plugins-php.pl-plugins-ready table.plugins .check-column {
	display: flex;
	justify-content: center;
	margin: 0;
}
body.plinth.plugins-php.pl-plugins-ready table.plugins .check-column input {
	margin: 0;
}
body.plinth.plugins-php.pl-plugins-ready #the-list tr {
	min-height: 64px;
	padding-top: 10px;
	padding-bottom: 10px;
	border-top: 1px solid var(--pl-border);
}
body.plinth.plugins-php.pl-plugins-ready #the-list tr.inactive {
	background: color-mix(in srgb, var(--pl-text) 3%, transparent);
}
body.plinth.plugins-php.pl-plugins-ready #the-list tr .check-column {
	border-left: 0;
}
.pl-tile {
	display: grid;
	place-items: center;
	width: 36px;
	height: 36px;
	border-radius: 9px;
	background: hsl(var(--h) 30% 20%);
	color: hsl(var(--h) 70% 80%);
	font-size: 12px;
	font-weight: 700;
}
body.plinth-light .pl-tile {
	background: hsl(var(--h) 60% 92%);
	color: hsl(var(--h) 45% 32%);
}
.pl-tile.is-self,
body.plinth-light .pl-tile.is-self {
	background: var(--pl-accent);
	color: var(--pl-on-accent);
}
tr.inactive .pl-tile {
	opacity: .55;
}
.pl-p-head {
	display: flex;
	align-items: center;
	gap: 8px;
	min-width: 0;
}
body.plinth .pl-p-head strong {
	color: var(--pl-text);
	font-size: 13.5px;
	font-weight: 600;
	white-space: nowrap;
}
body.plinth tr.inactive .pl-p-head strong {
	color: var(--pl-text-2);
}
.pl-p-by {
	color: var(--pl-text-3);
	font-size: 12px;
	white-space: nowrap;
}
body.plinth a.pl-p-settings {
	color: color-mix(in srgb, var(--pl-accent) 60%, var(--pl-text));
	font-size: 12px;
	font-weight: 500;
}
.pl-p-desc {
	display: block;
	margin-top: 3px;
	overflow: hidden;
	color: var(--pl-text-2);
	font-size: 12.5px;
	text-overflow: ellipsis;
	white-space: nowrap;
}
body.plinth .row-actions.pl-hidden-actions {
	position: absolute !important;
	left: -9999em !important;
}
body.plinth.plugins-php.pl-plugins-ready td.column-description {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 4px;
}
.pl-ver-line {
	color: var(--pl-text-2);
	font-size: 12.5px;
	font-variant-numeric: tabular-nums;
}
body.plinth .pl-update-chip {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	height: 22px;
	padding: 0 8px;
	border: 0;
	border-radius: 5px;
	background: var(--pl-accent-soft);
	color: color-mix(in srgb, var(--pl-accent) 55%, var(--pl-text));
	font-size: 11.5px;
	font-weight: 600;
	cursor: pointer;
}
.pl-update-chip .pl-ico {
	width: 12px;
	height: 12px;
}
body.plinth.plugins-php.pl-plugins-ready td.column-auto-updates a.toggle-auto-update {
	color: color-mix(in srgb, var(--pl-accent) 60%, var(--pl-text));
	font-size: 12.5px;
	font-weight: 500;
}
body.plinth.plugins-php.pl-plugins-ready td.column-auto-updates a.toggle-auto-update[data-wp-action="disable"] {
	color: var(--pl-text-2);
}
body.plinth.plugins-php.pl-plugins-ready td.column-auto-updates .dashicons,
body.plinth.plugins-php.pl-plugins-ready td.column-auto-updates .auto-update-time {
	display: none;
}
body.plinth.plugins-php.pl-plugins-ready .pl-col-on {
	display: flex;
	justify-content: flex-end;
	text-align: right;
}
body.plinth .pl-switch-btn {
	position: relative;
	flex: none;
	width: 38px;
	height: 22px;
	padding: 0;
	border: 0;
	border-radius: 11px;
	background: var(--pl-surface-3);
	cursor: pointer;
	transition: background-color .15s ease;
}
body.plinth .pl-switch-btn::before {
	content: "";
	position: absolute;
	top: 2px;
	left: 2px;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: var(--pl-on-accent);
	box-shadow: 0 1px 2px var(--pl-shadow-color);
	transition: transform .15s ease;
}
body.plinth .pl-switch-btn[aria-checked="true"] {
	background: var(--pl-accent);
}
body.plinth .pl-switch-btn[aria-checked="true"]::before {
	transform: translateX(16px);
}
body.plinth .pl-switch-btn.is-busy {
	opacity: .6;
	cursor: progress;
}
body.plinth .pl-switch-btn:focus-visible {
	outline: 2px solid var(--pl-accent);
	outline-offset: 2px;
}

/* ==========================================================================
   23. Media library (class-plinth-media.php + media.js)
   ========================================================================== */
.pl-toolbar--media {
	justify-content: flex-start;
	gap: 8px;
}
.pl-toolbar__spacer {
	flex: 1;
}
.pl-media__count {
	color: var(--pl-text-3);
	font-size: 12.5px;
	font-variant-numeric: tabular-nums;
}
body.plinth .pl-seg [data-view] {
	display: grid;
	place-items: center;
	width: 30px;
	height: 26px;
	padding: 0;
}
.pl-seg [data-view] .pl-ico {
	width: 15px;
	height: 15px;
}
.pl-media__body {
	display: flex;
	gap: 20px;
	align-items: flex-start;
}
.pl-media__main {
	flex: 1;
	min-width: 0;
}
.pl-media.is-loading .pl-media__main {
	opacity: .6;
	transition: opacity .15s ease;
}
.pl-media__grid {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 12px;
	align-content: start;
}
.pl-media__grid[hidden],
.pl-media__list[hidden] {
	display: none;
}
body.plinth .pl-tile2 {
	position: relative;
	display: block;
	width: 100%;
	aspect-ratio: 1 / 1;
	padding: 0;
	overflow: hidden;
	border: 1px solid var(--pl-border);
	border-radius: 10px;
	background: var(--pl-surface);
	cursor: pointer;
	outline: 0 solid transparent;
	outline-offset: 2px;
}
body.plinth .pl-tile2.is-on {
	outline: 2px solid var(--pl-accent);
}
body.plinth .pl-tile2:focus-visible {
	outline: 2px solid var(--pl-accent);
}
.pl-tile2 img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.pl-tile2__file {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 12px;
	color: var(--pl-text-2);
}
.pl-tile2__file .pl-ico {
	width: 28px;
	height: 28px;
}
.pl-tile2__name {
	max-width: 100%;
	overflow: hidden;
	font-size: 11.5px;
	font-weight: 500;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.pl-tile2__dims {
	color: var(--pl-text-3);
	font-size: 11px;
	font-variant-numeric: tabular-nums;
}
.pl-tile2__check {
	position: absolute;
	top: 7px;
	right: 7px;
	display: grid;
	place-items: center;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: var(--pl-accent);
	color: var(--pl-on-accent);
	box-shadow: 0 0 0 2px var(--pl-surface);
}
.pl-tile2__check .pl-ico {
	width: 12px;
	height: 12px;
}
.pl-media__list {
	overflow: hidden;
	background: var(--pl-surface);
	border: 1px solid var(--pl-border);
	border-radius: var(--pl-r-lg);
}
.pl-media__lhead,
body.plinth .pl-lrow {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 110px 80px 110px 90px;
	gap: 12px;
	align-items: center;
	padding: 0 14px;
}
.pl-media__lhead {
	height: 38px;
	background: var(--pl-chrome);
	color: var(--pl-text-3);
	font-size: 11.5px;
	font-weight: 600;
	letter-spacing: .04em;
	text-transform: uppercase;
}
body.plinth .pl-lrow {
	width: 100%;
	height: 50px;
	border: 0;
	border-top: 1px solid var(--pl-border);
	background: transparent;
	color: var(--pl-text-2);
	font-size: 12.5px;
	text-align: left;
	cursor: pointer;
}
body.plinth .pl-lrow:hover {
	background: color-mix(in srgb, var(--pl-text) 3%, transparent);
}
body.plinth .pl-lrow.is-on {
	background: var(--pl-accent-soft);
}
.pl-lrow__file {
	display: flex;
	align-items: center;
	gap: 10px;
	min-width: 0;
}
.pl-lrow__thumb {
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	flex: none;
	overflow: hidden;
	border-radius: 6px;
	background: var(--pl-surface-2);
	color: var(--pl-text-2);
}
.pl-lrow__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.pl-lrow__thumb .pl-ico {
	width: 16px;
	height: 16px;
}
.pl-lrow__name {
	overflow: hidden;
	color: var(--pl-text);
	font-weight: 600;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.pl-num {
	font-variant-numeric: tabular-nums;
}
body.plinth .pl-media__empty {
	padding: 48px 0;
	color: var(--pl-text-3);
	text-align: center;
}
.pl-media__more[hidden],
.pl-media__empty[hidden] {
	display: none;
}
.pl-media__more {
	display: flex;
	justify-content: center;
	padding: 20px 0 0;
}
.pl-inspector {
	position: sticky;
	top: calc(var(--pl-bar-h) + 20px);
	display: flex;
	flex-direction: column;
	gap: 14px;
	width: 300px;
	flex: none;
	box-sizing: border-box;
	/* Board: the aside fills the row down to the bottom of the screen. */
	min-height: max(520px, calc(100vh - var(--pl-media-top, 220px) - 24px));
	max-height: calc(100vh - var(--pl-bar-h) - 40px);
	overflow-y: auto;
	padding: 16px;
	background: var(--pl-surface);
	border: 1px solid var(--pl-border);
	border-radius: var(--pl-r-lg);
}
.pl-inspector[hidden] {
	display: none;
}
.pl-inspector__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
}
body.plinth .pl-inspector__head h2 {
	margin: 0;
	font-size: 13.5px;
	font-weight: 600;
}
.pl-inspector__nav {
	display: flex;
	gap: 4px;
}
body.plinth .pl-iconbtn {
	display: grid;
	place-items: center;
	width: 28px;
	height: 28px;
	padding: 0;
	border: 1px solid var(--pl-border-strong);
	border-radius: 7px;
	background: var(--pl-surface-2);
	color: var(--pl-text-2);
	cursor: pointer;
}
body.plinth .pl-iconbtn:hover {
	background: var(--pl-surface-3);
	color: var(--pl-text);
}
.pl-iconbtn .pl-ico {
	width: 14px;
	height: 14px;
}
.pl-inspector__preview {
	display: grid;
	place-items: center;
	height: 170px;
	overflow: hidden;
	border: 1px solid var(--pl-border);
	border-radius: 9px;
	background: var(--pl-surface-2);
	color: var(--pl-text-2);
}
.pl-inspector__preview img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.pl-inspector__preview .pl-ico {
	width: 36px;
	height: 36px;
}
.pl-inspector__meta {
	display: flex;
	flex-direction: column;
	gap: 4px;
}
.pl-inspector__name {
	color: var(--pl-text);
	font-size: 13.5px;
	font-weight: 600;
	word-break: break-all;
}
.pl-inspector__facts,
.pl-inspector__by {
	color: var(--pl-text-3);
	font-size: 12px;
	font-variant-numeric: tabular-nums;
}
body.plinth .pl-inspector hr {
	width: 100%;
	margin: 0;
}
.pl-field {
	display: flex;
	flex-direction: column;
	gap: 6px;
}
.pl-field[hidden] {
	display: none;
}
.pl-field__label {
	color: var(--pl-text-2);
	font-size: 12px;
	font-weight: 500;
}
.pl-saved {
	margin-left: 6px;
	color: var(--pl-success);
	font-style: normal;
	font-weight: 500;
}
body.plinth .pl-field input[type="text"],
body.plinth .pl-field textarea {
	min-height: 32px;
	border-radius: 7px;
	background: var(--pl-surface-2);
	font-size: 12.5px;
}
body.plinth .pl-field textarea {
	resize: none;
}
.pl-inspector__warn {
	display: flex;
	align-items: center;
	gap: 6px;
	margin-top: -6px;
	color: var(--pl-text-2);
	font-size: 12px;
}
.pl-inspector__warn[hidden] {
	display: none;
}
.pl-inspector__warn .pl-ico {
	width: 14px;
	height: 14px;
	color: var(--pl-warn);
}
.pl-url {
	display: flex;
	align-items: center;
	gap: 6px;
	height: 32px;
	padding: 0 4px 0 10px;
	box-sizing: border-box;
	background: var(--pl-surface-2);
	border: 1px solid var(--pl-border);
	border-radius: 7px;
}
.pl-url__text {
	flex: 1;
	min-width: 0;
	overflow: hidden;
	color: var(--pl-text-2);
	font-family: var(--pl-mono);
	font-size: 11.5px;
	text-overflow: ellipsis;
	white-space: nowrap;
}
body.plinth .pl-url__copy {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	height: 24px;
	padding: 0 8px;
	border: 0;
	border-radius: 7px;
	background: transparent;
	color: var(--pl-text-2);
	font-size: 12.5px;
	font-weight: 500;
	cursor: pointer;
}
body.plinth .pl-url__copy:hover {
	background: var(--pl-surface-3);
	color: var(--pl-text);
}
.pl-url__copy .pl-ico {
	width: 13px;
	height: 13px;
}
.pl-inspector__links {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-top: auto;
	font-size: 12.5px;
	font-weight: 500;
}
body.plinth .pl-link {
	padding: 0;
	border: 0;
	background: none;
	color: color-mix(in srgb, var(--pl-accent) 60%, var(--pl-text));
	font-size: 12.5px;
	font-weight: 500;
	cursor: pointer;
}
body.plinth .pl-link:hover {
	text-decoration: underline;
}
body.plinth .pl-link--danger {
	margin-left: auto;
	color: var(--pl-crit);
}
@media screen and (max-width: 1280px) {
	.pl-media__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media screen and (max-width: 1100px) {
	.pl-media__body { flex-direction: column; }
	.pl-inspector { position: static; width: 100%; min-height: 0; max-height: none; }
	.pl-media__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ==========================================================================
   24. Settings → Plinth (0.2 mockup)
   ========================================================================== */
.pl-crumbs {
	display: flex;
	align-items: center;
	gap: 6px;
	color: var(--pl-text-3);
	font-size: 12.5px;
}
body.plinth .pl-crumbs a {
	color: var(--pl-text-3);
}
body.plinth .pl-crumbs a:hover {
	color: var(--pl-text);
	text-decoration: underline;
}
.pl-crumbs .pl-ico {
	width: 14px;
	height: 14px;
}
.pl-crumbs span {
	color: var(--pl-text-2);
}
.pl-settings2 .notice {
	margin: 0 0 16px;
}
.pl-settings2__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 320px;
	gap: 20px;
	align-items: start;
}
.pl-settings2__form {
	display: flex;
	flex-direction: column;
	gap: 16px;
	min-width: 0;
}
.pl-scard {
	overflow: hidden;
	background: var(--pl-surface);
	border: 1px solid var(--pl-border);
	border-radius: var(--pl-r-lg);
}
.pl-scard__head {
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding: 16px 20px;
	border-bottom: 1px solid var(--pl-border);
}
body.plinth .pl-scard__head h2 {
	margin: 0;
	font-size: 14px;
	font-weight: 600;
}
body.plinth .pl-scard__head p {
	margin: 0;
	color: var(--pl-text-3);
	font-size: 12.5px;
}
.pl-srow {
	display: grid;
	grid-template-columns: 230px minmax(0, 1fr);
	gap: 28px;
	align-items: start;
	padding: 18px 20px;
}
.pl-srow + .pl-srow {
	border-top: 1px solid var(--pl-border);
}
.pl-srow__text {
	display: flex;
	flex-direction: column;
	gap: 3px;
}
body.plinth .pl-srow__label {
	color: var(--pl-text);
	font-size: 13px;
	font-weight: 600;
}
body.plinth .pl-srow__help {
	color: var(--pl-text-3);
	font-size: 12.5px;
	line-height: 1.5;
}
.pl-srow__control {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 8px;
	min-width: 0;
}
.pl-seg--form label {
	position: relative;
}
body.plinth .pl-seg--form input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}
.pl-seg--form span {
	display: flex;
	align-items: center;
	gap: 6px;
	height: 28px;
	padding: 0 12px;
	border-radius: 6px;
	color: var(--pl-text-2);
	font-size: 12.5px;
	font-weight: 500;
	cursor: pointer;
}
.pl-seg--form span:hover {
	color: var(--pl-text);
}
.pl-seg--form input:checked + span {
	background: color-mix(in srgb, var(--pl-surface-3) 88%, var(--pl-text));
	box-shadow: inset 0 1px 0 color-mix(in srgb, var(--pl-text) 5%, transparent);
	color: var(--pl-text);
}
.pl-seg--form input:focus-visible + span {
	box-shadow: var(--pl-ring);
}
.pl-seg--form .pl-ico {
	width: 14px;
	height: 14px;
}
.pl-swatches2 {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
}
body.plinth .pl-sw {
	display: grid;
	place-items: center;
	width: 30px;
	height: 30px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: var(--sw);
	box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--pl-text) 10%, transparent);
	color: var(--sw-on, var(--pl-on-accent));
	cursor: pointer;
}
body.plinth .pl-sw[aria-pressed="true"] {
	box-shadow: 0 0 0 2px var(--pl-surface), 0 0 0 4px var(--sw);
}
.pl-sw .pl-ico {
	width: 14px;
	height: 14px;
	visibility: hidden;
}
.pl-sw[aria-pressed="true"] .pl-ico {
	visibility: visible;
}
.pl-swatches2__rule {
	width: 1px;
	height: 22px;
	margin: 0 2px;
	background: var(--pl-border);
}
.pl-custom {
	display: flex;
	align-items: center;
	gap: 8px;
	height: 32px;
	padding: 0 10px;
	box-sizing: border-box;
	background: var(--pl-surface-2);
	border: 1px solid var(--pl-border-strong);
	border-radius: 8px;
}
.pl-custom.is-on {
	border-color: var(--pl-accent);
}
.pl-custom__chip {
	width: 14px;
	height: 14px;
	border-radius: 4px;
	background: var(--pl-accent);
}
.pl-custom__label {
	color: var(--pl-text-3);
	font-size: 12px;
}
body.plinth input.pl-custom__hex[type="text"] {
	width: 72px;
	min-height: 0;
	height: 24px;
	padding: 0;
	border: 0;
	background: transparent;
	box-shadow: none;
	font-family: var(--pl-mono);
	font-size: 12.5px;
}
body.plinth input.pl-custom__hex[type="text"]:focus {
	box-shadow: none;
}
body.plinth input.pl-input[type="text"] {
	height: 34px;
	padding: 0 12px;
	border-radius: 8px;
	background: var(--pl-surface-2);
	font-size: 13px;
}
body.plinth input.pl-input--320 { width: 320px; max-width: 100%; }
body.plinth input.pl-input--420 { width: 420px; max-width: 100%; }
.pl-logo2 {
	display: flex;
	align-items: center;
	gap: 14px;
}
.pl-logo2__badge {
	position: relative;
	display: grid;
	place-items: center;
	width: 52px;
	height: 52px;
	flex: none;
	overflow: hidden;
	border-radius: 12px;
	background: var(--pl-accent);
	color: var(--pl-on-accent);
	font-size: 22px;
	font-weight: 700;
}
.pl-logo2__badge img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.pl-logo2__side {
	display: flex;
	flex-direction: column;
	gap: 6px;
}
.pl-logo2__btns {
	display: flex;
	gap: 8px;
}
body.plinth .pl-logo2__btns .button {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	height: 28px;
	min-height: 28px;
	padding: 0 10px;
	font-size: 12.5px;
}
.pl-logo2__btns .pl-ico {
	width: 14px;
	height: 14px;
}
body.plinth .pl-logo2 .pl-logo__clear:disabled {
	opacity: .5;
	cursor: default;
}
body.plinth input.pl-switch[type="checkbox"] {
	appearance: none;
	-webkit-appearance: none;
	position: relative;
	flex: none;
	margin: 0;
	border: 0;
	background: var(--pl-surface-3);
	box-shadow: none;
	cursor: pointer;
	transition: background-color .15s ease;
}
body.plinth input.pl-switch[type="checkbox"]::before {
	content: "";
	position: absolute;
	top: 2px;
	left: 2px;
	margin: 0;
	border-radius: 50%;
	background: var(--pl-on-accent);
	box-shadow: 0 1px 2px var(--pl-shadow-color);
	transition: transform .15s ease;
}
body.plinth input.pl-switch[type="checkbox"]:checked {
	background: var(--pl-accent);
}
body.plinth input.pl-switch[type="checkbox"]:checked::before {
	content: "";
	float: none;
	transform: translateX(16px);
}
body.plinth input.pl-switch[type="checkbox"]:focus-visible {
	box-shadow: var(--pl-ring);
}
.pl-switchline {
	display: flex;
	align-items: center;
	gap: 10px;
}
body.plinth input.pl-switch[type="checkbox"] {
	width: 38px;
	min-width: 38px;
	height: 22px;
	border-radius: 11px;
}
body.plinth input.pl-switch[type="checkbox"]::before {
	width: 18px;
	height: 18px;
}
.pl-switchline__state {
	color: var(--pl-text-2);
	font-size: 12.5px;
	font-weight: 500;
}
.pl-switchnote {
	display: flex;
	align-items: center;
	gap: 6px;
	color: var(--pl-text-2);
	font-size: 12px;
}
.pl-switchnote[hidden] {
	display: none;
}
.pl-switchnote .pl-ico {
	width: 14px;
	height: 14px;
	color: var(--pl-success);
}
.pl-settings2__foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 4px 2px 0;
	color: var(--pl-text-3);
	font-size: 12px;
}

/* Preview card. */
.pl-pvcard {
	position: sticky;
	top: calc(var(--pl-bar-h) + 20px);
	display: flex;
	flex-direction: column;
	gap: 14px;
	padding: 18px 20px;
	background: var(--pl-surface);
	border: 1px solid var(--pl-border);
	border-radius: var(--pl-r-lg);
}
.pl-pvcard__head {
	display: flex;
	flex-direction: column;
	gap: 2px;
}
body.plinth .pl-pvcard__head h2 {
	margin: 0;
	font-size: 14px;
	font-weight: 600;
}
body.plinth .pl-pvcard__head p {
	margin: 0;
	color: var(--pl-text-3);
	font-size: 12.5px;
}
.pl-preview {
	--pv-gap: 6px;
	--pv-nav: 17px;
	--pv-row: 16px;
	display: flex;
	flex-direction: column;
	height: 200px;
	overflow: hidden;
	border: 1px solid var(--pl-border);
	border-radius: 10px;
	background: var(--pl-bg);
}
.pl-preview[data-density="compact"] {
	--pv-gap: 3px;
	--pv-nav: 13px;
	--pv-row: 11px;
}
.pl-preview b,
.pl-preview i {
	display: block;
	flex: none;
	border-radius: 2px;
}
.pl-pv__bar {
	display: flex;
	align-items: center;
	gap: 5px;
	height: 22px;
	flex: none;
	padding: 0 8px;
	background: var(--pl-chrome);
	border-bottom: 1px solid var(--pl-border);
}
.pl-pv__badge {
	width: 10px;
	height: 10px;
	border-radius: 3px;
	background: var(--pl-accent);
}
.pl-pv__name {
	width: 40px;
	height: 4px;
	border-radius: 2px;
	background: var(--pl-text-2);
}
.pl-pv__search {
	width: 84px;
	height: 11px;
	margin-left: 14px;
	border-radius: 3px;
	background: var(--pl-surface-2);
}
.pl-pv__me {
	width: 12px;
	height: 12px;
	margin-left: auto;
	border-radius: 50%;
	background: var(--pl-surface-2);
}
.pl-pv__body {
	display: flex;
	flex: 1;
	min-height: 0;
}
.pl-pv__side {
	display: flex;
	flex-direction: column;
	gap: var(--pv-gap);
	width: 66px;
	flex: none;
	padding: 7px 5px;
	box-sizing: border-box;
	background: var(--pl-chrome);
	border-right: 1px solid var(--pl-border);
}
.pl-pv__nav {
	display: flex;
	align-items: center;
	gap: 5px;
	height: var(--pv-nav);
	padding: 0 5px;
	border-radius: 4px;
}
.pl-pv__nav i {
	width: 6px;
	height: 6px;
	background: var(--pl-text-3);
}
.pl-pv__nav b {
	height: 4px;
	background: var(--pl-text-3);
}
.pl-pv__nav.is-on {
	background: var(--pl-surface-2);
}
.pl-pv__nav.is-on i {
	background: color-mix(in srgb, var(--pl-accent) 55%, var(--pl-text));
}
.pl-pv__nav.is-on b {
	background: var(--pl-text);
}
.pl-pv__main {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: var(--pv-gap);
	min-width: 0;
	padding: 9px;
}
.pl-pv__top {
	display: flex;
	align-items: center;
	justify-content: space-between;
}
.pl-pv__top b {
	width: 64px;
	height: 6px;
	background: var(--pl-text);
}
.pl-pv__top i {
	width: 30px;
	height: 12px;
	border-radius: 3px;
	background: var(--pl-accent);
}
.pl-pv__tiles {
	display: flex;
	gap: 5px;
}
.pl-pv__tiles > div {
	display: flex;
	flex: 1 1 0;
	flex-direction: column;
	gap: 4px;
	height: 30px;
	padding: 6px;
	box-sizing: border-box;
	border: 1px solid var(--pl-border);
	border-radius: 5px;
	background: var(--pl-surface);
}
.pl-pv__tiles i {
	width: 20px;
	height: 3px;
	background: var(--pl-text-3);
}
.pl-pv__tiles b {
	width: 28px;
	height: 6px;
	background: var(--pl-text);
}
.pl-pv__table {
	overflow: hidden;
	border: 1px solid var(--pl-border);
	border-radius: 5px;
	background: var(--pl-surface);
}
.pl-pv__th {
	display: flex;
	align-items: center;
	height: 14px;
	padding: 0 6px;
}
.pl-pv__th b {
	width: 34px;
	height: 4px;
	background: var(--pl-text);
}
.pl-pv__tr {
	display: flex;
	align-items: center;
	gap: 6px;
	height: var(--pv-row);
	padding: 0 6px;
	border-top: 1px solid var(--pl-border);
}
.pl-pv__tr b {
	width: 70px;
	height: 4px;
	background: var(--pl-text-2);
}
.pl-pv__tr i {
	width: 22px;
	height: 4px;
	margin-left: auto;
	background: var(--pl-text-3);
}
body.plinth .pl-pvfacts {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin: 0;
}
body.plinth .pl-pvfacts li {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	margin: 0;
	color: var(--pl-text-2);
	font-size: 12.5px;
}
.pl-pvfacts strong {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--pl-text);
	font-weight: 500;
}
.pl-pvfacts__sw {
	width: 10px;
	height: 10px;
	border-radius: 3px;
	background: var(--pl-accent);
}
body.plinth .pl-pvfacts code {
	padding: 0;
	border: 0;
	background: none;
	font-size: 12px;
}
body.plinth .pl-pvcard__note {
	margin: 0;
	padding-top: 12px;
	border-top: 1px solid var(--pl-border);
	color: var(--pl-text-3);
	font-size: 12px;
	line-height: 1.5;
}
@media screen and (max-width: 1200px) {
	.pl-settings2__grid { grid-template-columns: minmax(0, 1fr); }
	.pl-pvcard { position: static; order: -1; }
	.pl-srow { grid-template-columns: minmax(0, 1fr); gap: 10px; }
}

/* ==========================================================================
   25. Site Health (class-plinth-health.php + health.js)
   ========================================================================== */
.pl-health2 > .pl-toolbar {
	margin-bottom: 16px;
}
.pl-health2__status {
	display: flex;
	flex-direction: column;
	gap: 16px;
}
.pl-health2__status[hidden],
.pl-info[hidden],
.pl-issues[hidden] {
	display: none;
}
.pl-score {
	display: flex;
	align-items: center;
	gap: 28px;
	padding: 22px 24px;
	background: var(--pl-surface);
	border: 1px solid var(--pl-border);
	border-radius: var(--pl-r-lg);
}
.pl-ring--lg {
	width: 132px;
	height: 132px;
}
.pl-ring--lg .pl-ring__track,
.pl-ring--lg .pl-ring__bar {
	stroke-width: 10;
}
.pl-ring--lg .pl-ring__value strong {
	font-size: 34px;
	letter-spacing: -0.03em;
}
.pl-ring--lg .pl-ring__value small {
	margin-top: 4px;
	font-size: 11.5px;
}
.pl-score__text {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 8px;
	min-width: 0;
}
.pl-score__status {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	font-size: 16px;
	font-weight: 600;
}
.pl-score__status .pl-ico {
	width: 18px;
	height: 18px;
}
body.plinth .pl-score__summary {
	max-width: 440px;
	margin: 0;
	color: var(--pl-text-2);
	font-size: 13.5px;
	line-height: 1.55;
}
.pl-score__when {
	color: var(--pl-text-3);
	font-size: 12px;
}
.pl-score__counts {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 10px;
	width: 420px;
	flex: none;
}
.pl-score__counts > div {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 12px 14px;
	border: 1px solid var(--pl-border);
	border-radius: 10px;
	background: var(--pl-surface-2);
}
.pl-score__counts span {
	display: flex;
	align-items: center;
	gap: 6px;
	color: var(--pl-text-2);
	font-size: 12px;
	font-weight: 500;
}
.pl-score__counts .pl-ico {
	width: 14px;
	height: 14px;
}
.pl-score__counts strong {
	color: var(--pl-text);
	font-size: 22px;
	font-weight: 650;
	letter-spacing: -0.02em;
	font-variant-numeric: tabular-nums;
}
.pl-issues,
.pl-passed,
.pl-info {
	overflow: hidden;
	background: var(--pl-surface);
	border: 1px solid var(--pl-border);
	border-radius: var(--pl-r-lg);
}
.pl-issues__head {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 16px 20px;
}
body.plinth .pl-issues__head h2,
body.plinth .pl-info__head h2 {
	margin: 0;
	font-size: 14px;
	font-weight: 600;
}
.pl-issue {
	border-top: 1px solid var(--pl-border);
}
body.plinth .pl-issue__toggle,
body.plinth .pl-passed__toggle {
	display: flex;
	align-items: center;
	gap: 12px;
	width: 100%;
	height: 54px;
	padding: 0 20px;
	border: 0;
	background: transparent;
	color: var(--pl-text);
	text-align: left;
	cursor: pointer;
}
body.plinth .pl-issue__toggle:hover,
body.plinth .pl-passed__toggle:hover {
	background: color-mix(in srgb, var(--pl-text) 3%, transparent);
}
.pl-issue__toggle .pl-ico,
.pl-passed__toggle .pl-ico {
	width: 16px;
	height: 16px;
}
.pl-issue__title,
.pl-passed__title {
	flex: 1;
	font-size: 13.5px;
	font-weight: 600;
}
.pl-passed__title {
	font-size: 14px;
}
.pl-issue__cat {
	display: inline-flex;
	align-items: center;
	height: 22px;
	padding: 0 8px;
	border: 1px solid var(--pl-border);
	border-radius: 5px;
	background: var(--pl-surface-2);
	color: var(--pl-text-2);
	font-size: 11.5px;
	font-weight: 600;
}
.pl-chev {
	color: var(--pl-text-3);
	transition: transform .15s ease;
}
[aria-expanded="true"] > .pl-chev {
	transform: rotate(180deg);
}
.pl-issue__body {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 12px;
	padding: 0 20px 18px 48px;
}
.pl-issue__body[hidden] {
	display: none;
}
.pl-issue__desc {
	max-width: 720px;
	color: var(--pl-text-2);
	font-size: 13px;
	line-height: 1.6;
}
.pl-issue__desc p {
	margin: 0 0 8px;
	color: var(--pl-text-2);
	font-size: 13px;
}
.pl-issue__desc p:last-child {
	margin-bottom: 0;
}
body.plinth .pl-issue__action {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	height: 28px;
	min-height: 28px;
	padding: 0 10px;
	font-size: 12.5px;
}
.pl-issue__action .pl-ico {
	width: 14px;
	height: 14px;
}
body.plinth .pl-passed__list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0 24px;
	margin: 0;
	padding: 4px 20px 16px 48px;
	border-top: 1px solid var(--pl-border);
}
.pl-passed__list[hidden] {
	display: none;
}
body.plinth .pl-passed__list li {
	display: flex;
	align-items: center;
	gap: 8px;
	height: 32px;
	margin: 0;
	color: var(--pl-text-2);
	font-size: 12.5px;
}
.pl-passed__list .pl-ico {
	width: 14px;
	height: 14px;
}
.pl-info__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 16px 20px;
}
body.plinth .pl-info__head p {
	margin: 2px 0 0;
	color: var(--pl-text-3);
	font-size: 12.5px;
}
body.plinth .pl-copy-info {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	height: 28px;
	min-height: 28px;
	font-size: 12.5px;
}
.pl-copy-info .pl-ico {
	width: 14px;
	height: 14px;
}
.pl-info__group {
	padding: 14px 20px 8px;
	border-top: 1px solid var(--pl-border);
}
body.plinth .pl-info__group h3 {
	margin: 0 0 4px;
	color: var(--pl-text-3);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .05em;
	text-transform: uppercase;
}
.pl-info__group dl {
	display: flex;
	flex-direction: column;
	margin: 0;
}
.pl-info__group dl > div {
	display: grid;
	grid-template-columns: 240px minmax(0, 1fr);
	gap: 16px;
	align-items: center;
	min-height: 32px;
	font-size: 12.5px;
}
.pl-info__group dt {
	color: var(--pl-text-2);
}
.pl-info__group dd {
	margin: 0;
	overflow-wrap: anywhere;
	color: var(--pl-text);
	font-weight: 500;
	font-variant-numeric: tabular-nums;
}
@media screen and (max-width: 1200px) {
	.pl-score { flex-wrap: wrap; }
	.pl-score__counts { width: 100%; }
}

/* ==========================================================================
   19. Responsive content
   ========================================================================== */
@media screen and (max-width: 782px) {
	body.plinth #wpcontent {
		padding-left: 12px;
	}
	body.plinth .wrap,
	.pl-overview {
		margin-right: 12px;
	}
	/* Already inside .wrap. */
	body.plinth.index-php:has(.pl-overview) #dashboard-widgets-wrap {
		margin-right: 0;
	}
	body.plinth .form-table th,
	body.plinth .form-table td {
		padding: 12px 16px;
	}
	body.plinth .form-table th {
		padding-bottom: 0;
	}
	body.plinth .form-table tr + tr > td {
		border-top: 0;
	}
	.pl-row {
		flex-direction: column;
		align-items: flex-start;
	}
	.pl-row--toggle {
		flex-direction: row;
		align-items: center;
	}
	body.plinth .widefat {
		border-radius: var(--pl-r);
	}
}

/* Category / tag / brand metabox tabs (core .category-tabs). */
body.plinth ul.category-tabs li.tabs,
body.plinth .wp-tab-active {
	background: var(--pl-surface-2);
	border-color: var(--pl-border);
}
body.plinth #wpbody ul.category-tabs li a,
body.plinth #wpbody .wp-tab-bar li a {
	color: var(--pl-text-2);
}
body.plinth #wpbody ul.category-tabs li.tabs a,
body.plinth #wpbody .wp-tab-active a {
	color: var(--pl-text);
}

/* Plugin markup that relies on core's default heading ink (#1d2327). Same
   specificity as core's h1–h6 rule, so any plugin rule that colours a
   heading still wins. */
:where(body.plinth) :is(h1, h2, h3, h4, h5, h6) {
	color: var(--pl-text);
}
/* React/MUI headings set no colour of their own and inherit their dialog's:
   colouring them directly painted Elementor Home's welcome title white on
   white (socialbox M3). */
:where(body.plinth) :is(h1, h2, h3, h4, h5, h6):is([class*="Mui"], [class*="eui-"]) {
	color: inherit;
}

/* Plugin upsell labels inside the menu ("Premium", "Addons", "AI Brand
   Insights") are coloured for core's dark sidebar; let them follow ours. */
body.plinth #adminmenu .wp-submenu a span:not(.awaiting-mod):not(.update-plugins):not([class*="count"]):not([class*="button"]):not(.screen-reader-text) {
	color: inherit !important;
}

/* ==========================================================================
   Mobile top bar (≤782px): one tidy row —
   [☰][badge] ………… [search][☀][🔔][PD]
   Core's phone toolbar gives every node a 52×46 cell and wraps the rest;
   we keep only what fits and lay it out with flex.
   ========================================================================== */
@media screen and (max-width: 782px) {
	body.plinth #wpadminbar .quicklinks {
		display: flex;
		align-items: center;
		height: 46px;
		padding: 0 6px;
	}
	body.plinth #wpadminbar .quicklinks > ul {
		display: flex;
		align-items: center;
		height: 100%;
		margin: 0;
	}
	body.plinth #wpadminbar #wp-admin-bar-root-default {
		flex: 1;
		min-width: 0;
		gap: 2px;
	}
	body.plinth #wpadminbar #wp-admin-bar-top-secondary {
		float: none;
		flex-direction: row-reverse;
		gap: 2px;
	}
	/* Core and plugins show their own nodes on phones with #id rules; each
	   :not(#id) below adds ID weight, so this one rule outranks them all. */
	body.plinth #wpadminbar .quicklinks > ul > li:not(#wp-admin-bar-menu-toggle):not(#wp-admin-bar-plinth-brand):not(#wp-admin-bar-command-palette):not(#wp-admin-bar-plinth-mode):not(#wp-admin-bar-plinth-notify):not(#wp-admin-bar-my-account) {
		display: none;
	}
	body.plinth #wpadminbar .quicklinks > ul > li:is(#wp-admin-bar-menu-toggle, #wp-admin-bar-plinth-brand, #wp-admin-bar-command-palette, #wp-admin-bar-plinth-mode, #wp-admin-bar-plinth-notify, #wp-admin-bar-my-account) {
		display: flex;
		float: none;
		position: static;
		align-items: center;
		height: 100%;
	}
	body.plinth #wpadminbar .quicklinks > ul > li > .ab-item {
		display: flex;
		align-items: center;
		justify-content: center;
		gap: 4px;
		box-sizing: border-box;
		width: auto;
		min-width: 38px;
		height: 38px;
		margin: 0;
		padding: 0 8px;
		border-radius: 8px;
		line-height: 1;
		text-indent: 0;
	}
	body.plinth #wpadminbar #wp-admin-bar-my-account { order: 0; }
	body.plinth #wpadminbar #wp-admin-bar-plinth-notify { order: 1; }
	body.plinth #wpadminbar #wp-admin-bar-plinth-mode { order: 2; }
	/* ☰ */
	body.plinth #wpadminbar #wp-admin-bar-menu-toggle > .ab-item {
		display: flex;
		align-items: center;
		justify-content: center;
		width: 38px;
		height: 38px;
		padding: 0;
	}
	body.plinth #wpadminbar #wp-admin-bar-menu-toggle .ab-icon {
		display: flex;
		align-items: center;
		justify-content: center;
		width: 22px;
		height: 22px;
		margin: 0;
		padding: 0;
	}
	body.plinth #wpadminbar #wp-admin-bar-menu-toggle .ab-icon::before {
		display: block;
		float: none;
		top: 0;
		width: 22px;
		height: 22px;
		font-size: 22px;
		line-height: 22px;
		color: var(--pl-text-2);
	}
	/* Brand badge */
	body.plinth #wpadminbar #wp-admin-bar-plinth-brand {
		padding: 0;
	}
	body.plinth #wpadminbar #wp-admin-bar-plinth-brand > .ab-item {
		min-width: 0;
		padding: 0 4px;
	}
	body.plinth #wpadminbar #wp-admin-bar-plinth-brand :is(.pl-brand__mark, .pl-brand__logo) {
		width: 26px;
		height: 26px;
	}
	/* Search: an icon button that opens the command palette */
	body.plinth #wpadminbar #wp-admin-bar-command-palette {
		margin-left: auto;
		padding: 0;
	}
	body.plinth #wpadminbar #wp-admin-bar-command-palette > .ab-item {
		width: 38px;
		max-width: none;
		padding: 0;
	}
	body.plinth #wpadminbar #wp-admin-bar-command-palette :is(.ab-label, kbd) {
		display: none !important;
	}
	/* Account chip */
	body.plinth #wpadminbar #wp-admin-bar-my-account > .ab-item {
		position: static;
		width: auto;
		padding: 0 4px;
		text-indent: 0;
		overflow: visible;
	}
	body.plinth #wpadminbar #wp-admin-bar-my-account .pl-me {
		position: static;
	}
	body.plinth #wpadminbar #wp-admin-bar-my-account .pl-ab-chev {
		display: none;
	}
}

/* Plugins list on phones: each plugin becomes a two-line card —
   [☐][tile] Name · by Author        [switch]
             Version x (Update to y)            */
@media screen and (max-width: 782px) {
	body.plinth.plugins-php.pl-plugins-ready table.plugins thead,
	body.plinth.plugins-php.pl-plugins-ready table.plugins tfoot {
		display: none;
	}
	body.plinth.plugins-php.pl-plugins-ready table.plugins,
	body.plinth.plugins-php.pl-plugins-ready table.plugins tbody {
		display: block;
		width: 100%;
	}
	body.plinth.plugins-php.pl-plugins-ready table.plugins #the-list > tr[data-plugin]:not(.plugin-update-tr) {
		display: grid;
		grid-template-columns: 22px 34px minmax(0, 1fr) auto;
		grid-template-areas:
			"check tile name on"
			"check tile meta on";
		align-items: center;
		column-gap: 12px;
		row-gap: 2px;
		padding: 12px 14px;
		border-top: 1px solid var(--pl-border);
		border-left: 0;
		box-shadow: none;
	}
	body.plinth.plugins-php.pl-plugins-ready table.plugins #the-list > tr[data-plugin] > :is(td, th) {
		display: block;
		width: auto;
		padding: 0;
		border: 0;
		box-shadow: none;
		background: transparent;
	}
	body.plinth.plugins-php.pl-plugins-ready table.plugins #the-list > tr[data-plugin] > .check-column {
		grid-area: check;
		display: flex;
		align-items: center;
		margin: 0;
	}
	body.plinth.plugins-php.pl-plugins-ready table.plugins #the-list > tr[data-plugin] > .pl-col-tile {
		grid-area: tile;
	}
	body.plinth.plugins-php.pl-plugins-ready table.plugins #the-list > tr[data-plugin] > .plugin-title {
		grid-area: name;
		min-width: 0;
	}
	body.plinth.plugins-php.pl-plugins-ready table.plugins #the-list > tr[data-plugin] > .column-description {
		grid-area: meta;
		min-width: 0;
	}
	body.plinth.plugins-php.pl-plugins-ready table.plugins #the-list > tr[data-plugin] > .column-auto-updates {
		display: none;
	}
	body.plinth.plugins-php.pl-plugins-ready table.plugins #the-list > tr[data-plugin] > .pl-col-on {
		grid-area: on;
		display: flex;
		align-items: center;
	}
	body.plinth.plugins-php.pl-plugins-ready table.plugins .plugin-title :is(.pl-p-desc, .toggle-row) {
		display: none;
	}
	body.plinth.plugins-php.pl-plugins-ready table.plugins .plugin-title .pl-p-head {
		flex-wrap: wrap;
		row-gap: 0;
	}
	body.plinth.plugins-php.pl-plugins-ready table.plugins .plugin-title .pl-p-head strong {
		font-size: 14px;
		line-height: 1.35;
		white-space: normal;
		overflow-wrap: anywhere;
	}
}

/* Segmented status tabs: scroll sideways on phones instead of clipping. */
@media screen and (max-width: 782px) {
	body.plinth .pl-seg--tabs {
		max-width: 100%;
		overflow-x: auto;
		scrollbar-width: none;
	}
	body.plinth .pl-seg--tabs > * {
		flex: none;
	}
}

/* Plugin dashboard widgets inherit core's #dashboard-widgets heading ink. */
body.plinth #dashboard-widgets :where(.postbox .inside) :is(h1, h2, h3, h4, h5, h6) {
	color: var(--pl-text);
}

/* ==========================================================================
   Ink guard (assets/js/ink.js) and first-paint hold for designed lists
   ========================================================================== */
body.plinth #wpbody-content .pl-ink-fix {
	color: var(--pl-text) !important;
}
body.plinth #wpbody-content a.pl-ink-fix {
	color: var(--pl-link) !important;
}
/* Posts/Pages and Plugins are rebuilt by admin.js; on slow sites core's layout
   flashed first. Hold the list until it's ready (released after 2.5s anyway). */
@keyframes pl-release {
	to { visibility: visible; }
}
body.plinth.pl-designed.edit-php:not(.pl-list-ready) #wpbody-content .wrap,
body.plinth.pl-designed.plugins-php:not(.pl-plugins-ready) #wpbody-content .wrap {
	visibility: hidden;
	animation: pl-release 0s 2.5s forwards;
}

/* ==========================================================================
   26. Updates (class-plinth-updates.php + updates.js) — Flows & states mockup
   ========================================================================== */
.pl-upd .pl-head {
	align-items: flex-end;
}
.pl-upd .pl-crumbs {
	margin-bottom: 0;
}
.pl-upd__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 320px;
	gap: 16px;
	align-items: start;
}
.pl-upd__main,
.pl-upd__side {
	display: flex;
	flex-direction: column;
	gap: 16px;
	min-width: 0;
}
body.plinth .pl-upd .button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	white-space: nowrap;
}
body.plinth .pl-upd .button .pl-ico {
	width: 14px;
	height: 14px;
}
body.plinth .pl-upd .button-small {
	min-height: 28px;
	padding: 0 10px;
	border-radius: 7px;
	font-size: 12.5px;
	font-weight: 500;
}
body.plinth .pl-upd .button-primary.button-small {
	font-weight: 600;
}
body.plinth .pl-upd .button:disabled {
	opacity: .5;
}
/* Not inside plugin notices (Hello Elementor's welcome card): they keep their own type. */
body.plinth .pl-upd h2:not(.notice h2) {
	margin: 0;
	padding: 0;
	color: var(--pl-text);
	font-size: 14px;
	font-weight: 600;
	letter-spacing: -0.01em;
}
body.plinth .pl-upd p {
	margin: 0;
}
.pl-upd form {
	margin: 0;
}

/* Core. */
.pl-upd-core {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 18px 20px;
	background: var(--pl-surface);
	border: 1px solid var(--pl-border);
	border-radius: var(--pl-r-lg);
}
.pl-upd-core__icon {
	display: grid;
	place-items: center;
	flex: none;
	width: 44px;
	height: 44px;
	border-radius: 12px;
	background: color-mix(in srgb, var(--pl-success) 14%, transparent);
	color: var(--pl-success);
}
.pl-upd-core.has-update .pl-upd-core__icon {
	background: color-mix(in srgb, var(--pl-accent) 16%, transparent);
	color: color-mix(in srgb, var(--pl-accent) 60%, var(--pl-text));
}
.pl-upd-core__icon .pl-ico {
	width: 20px;
	height: 20px;
}
.pl-upd-core__text {
	display: flex;
	flex-direction: column;
	flex: 1;
	gap: 3px;
	min-width: 0;
}
body.plinth .pl-upd-core__text p {
	color: var(--pl-text-2);
	font-size: 12.5px;
}

/* Cards with rows. */
.pl-upd-card {
	overflow: hidden;
	background: var(--pl-surface);
	border: 1px solid var(--pl-border);
	border-radius: var(--pl-r-lg);
}
.pl-upd-card__head {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 16px 18px 14px;
}
.pl-upd-card[data-kind="theme"] .pl-upd-card__head {
	padding: 14px 18px 12px;
}
.pl-upd-card__title {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}
body.plinth .pl-upd-card__sub {
	color: var(--pl-text-3);
	font-size: 12.5px;
}
.pl-upd-card__actions {
	display: flex;
	align-items: center;
	gap: 14px;
}
.pl-upd-card__actions[hidden] {
	display: none;
}
body.plinth .pl-upd-all {
	display: flex;
	align-items: center;
	gap: 8px;
	color: var(--pl-text-2);
	font-size: 12.5px;
	cursor: pointer;
}
body.plinth .pl-upd input[type="checkbox"] {
	margin: 0;
}
.pl-upd-msg {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 18px 14px;
	padding: 10px 12px;
	border-radius: 9px;
	background: color-mix(in srgb, var(--pl-accent) 16%, transparent);
	color: var(--pl-text);
	font-size: 12.5px;
}
.pl-upd-msg[hidden] {
	display: none;
}
.pl-upd-msg--done {
	background: color-mix(in srgb, var(--pl-success) 14%, transparent);
}
.pl-upd-msg--done .pl-ico {
	width: 16px;
	height: 16px;
	color: var(--pl-success);
}
@keyframes pl-spin { to { transform: rotate(360deg); } }
@keyframes pl-bar { 0% { transform: translateX(-100%); } 100% { transform: translateX(250%); } }
.pl-spin {
	flex: none;
	width: 13px;
	height: 13px;
	border: 2px solid var(--pl-border-strong);
	border-top-color: var(--pl-accent);
	border-radius: 50%;
	animation: pl-spin .8s linear infinite;
}
.pl-upd-row {
	display: grid;
	grid-template-columns: 44px 40px minmax(0, 1fr) 200px 170px;
	align-items: center;
	gap: 0 14px;
	min-height: 76px;
	padding: 12px 18px 12px 0;
	border-top: 1px solid var(--pl-border);
	transition: background-color .2s;
}
.pl-upd-row[data-state="busy"] {
	background: color-mix(in srgb, var(--pl-accent) 12%, transparent);
}
.pl-upd-row--line {
	grid-template-columns: 32px minmax(0, 1fr) 170px;
	min-height: 0;
	padding: 14px 18px;
}
.pl-upd-row__check {
	display: flex;
	justify-content: center;
}
.pl-upd-row:not([data-state="idle"]) .pl-upd-row__check input {
	visibility: hidden;
}
.pl-upd-row .pl-tile {
	width: 40px;
	height: 40px;
	border-radius: 10px;
	font-size: 13px;
}
.pl-upd-row__main {
	display: flex;
	flex-direction: column;
	gap: 3px;
	min-width: 0;
}
.pl-upd-row__name {
	display: flex;
	align-items: baseline;
	gap: 8px;
	min-width: 0;
}
.pl-upd-row__name strong {
	overflow: hidden;
	color: var(--pl-text);
	font-size: 13.5px;
	font-weight: 600;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.pl-upd-row__name span {
	flex: none;
	color: var(--pl-text-3);
	font-size: 12px;
}
.pl-upd-row__ver {
	color: var(--pl-text-2);
	font-size: 12.5px;
	font-variant-numeric: tabular-nums;
}
body.plinth .pl-upd-row__link {
	width: max-content;
	color: color-mix(in srgb, var(--pl-accent) 60%, var(--pl-text));
	font-size: 12px;
	font-weight: 500;
	text-decoration: none;
}
body.plinth .pl-upd-row__link:hover {
	text-decoration: underline;
}
.pl-upd-row__chips {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 6px;
}
.pl-upd-row__state {
	display: flex;
	justify-content: flex-end;
}
.pl-upd-st {
	display: none;
	align-items: center;
	gap: 6px;
	font-size: 12.5px;
}
.pl-upd-st .pl-ico {
	width: 14px;
	height: 14px;
}
body.plinth .pl-upd-row:not([data-state="idle"]) .pl-upd-one {
	display: none;
}
.pl-upd-row[data-state="queued"] .pl-upd-st--queued,
.pl-upd-row[data-state="done"] .pl-upd-st--done,
.pl-upd-row[data-state="error"] .pl-upd-st--error {
	display: flex;
}
.pl-upd-row[data-state="busy"] .pl-upd-st--busy {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 7px;
	width: 150px;
}
.pl-upd-st--queued {
	color: var(--pl-text-3);
}
.pl-upd-st__line {
	display: flex;
	align-items: center;
	gap: 8px;
	color: var(--pl-text);
	font-weight: 500;
}
.pl-upd-st--done {
	color: var(--pl-success);
	font-weight: 600;
}
.pl-upd-st--error {
	color: var(--pl-crit);
	font-weight: 600;
	cursor: help;
}
.pl-upd-bar {
	position: relative;
	display: block;
	height: 4px;
	overflow: hidden;
	border-radius: 2px;
	background: var(--pl-surface-3);
}
.pl-upd-bar span {
	position: absolute;
	inset: 0 auto 0 0;
	width: 40%;
	border-radius: 2px;
	background: var(--pl-accent);
	animation: pl-bar 1.1s ease-in-out infinite;
}

/* Chips. */
.pl-chip {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	height: 22px;
	padding: 0 8px;
	border: 1px solid var(--pl-border);
	border-radius: 6px;
	background: var(--pl-surface-2);
	color: var(--pl-text-2);
	font-size: 11.5px;
	font-weight: 600;
	white-space: nowrap;
}
.pl-chip .pl-ico {
	width: 12px;
	height: 12px;
}
.pl-chip--good,
.pl-chip--warn,
.pl-chip--crit,
.pl-chip--accent {
	border-color: transparent;
}
.pl-chip--good { background: color-mix(in srgb, var(--pl-success) 14%, transparent); color: var(--pl-success); }
.pl-chip--warn { background: color-mix(in srgb, var(--pl-warn) 14%, transparent); color: var(--pl-warn); }
.pl-chip--crit { background: color-mix(in srgb, var(--pl-crit) 14%, transparent); color: var(--pl-crit); }
.pl-chip--accent { background: color-mix(in srgb, var(--pl-accent) 16%, transparent); color: color-mix(in srgb, var(--pl-accent) 60%, var(--pl-text)); }

/* Themes & translations lines. */
.pl-upd-line {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 14px 18px;
	border-top: 1px solid var(--pl-border);
}
.pl-upd-line__icon {
	display: grid;
	place-items: center;
	flex: none;
	width: 32px;
	height: 32px;
	border-radius: 9px;
	background: var(--pl-surface-3);
	color: var(--pl-text-2);
}
.pl-upd-line__icon .pl-ico {
	width: 16px;
	height: 16px;
}
.pl-upd-line__text {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 1px;
	min-width: 0;
}
.pl-upd-line__text strong {
	color: var(--pl-text);
	font-size: 13.5px;
	font-weight: 600;
}
.pl-upd-line__text span {
	color: var(--pl-text-3);
	font-size: 12.5px;
}

/* Side cards. */
body.plinth .pl-upd-side__h {
	font-size: 13.5px;
}
.pl-upd-kv {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	color: var(--pl-text-2);
	font-size: 12.5px;
}
body.plinth .pl-upd-side__p {
	color: var(--pl-text-2);
	font-size: 12.5px;
	line-height: 1.6;
}
.pl-upd-log {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.pl-upd-log li {
	display: flex;
	gap: 10px;
	margin: 0;
	font-size: 12.5px;
	line-height: 1.5;
}
.pl-upd-log li > span:last-child {
	display: flex;
	flex-direction: column;
}
.pl-upd-log__dot {
	flex: none;
	width: 7px;
	height: 7px;
	margin-top: 6px;
	border-radius: 50%;
	background: var(--pl-success);
}
.pl-upd-log li.is-fail .pl-upd-log__dot {
	background: var(--pl-crit);
}
.pl-upd-log__txt {
	color: var(--pl-text);
}
.pl-upd-log__meta {
	color: var(--pl-text-3);
}

@media screen and (max-width: 1100px) {
	.pl-upd__grid {
		grid-template-columns: minmax(0, 1fr);
	}
}
@media screen and (max-width: 782px) {
	.pl-upd-row {
		grid-template-columns: 36px 40px minmax(0, 1fr);
		grid-auto-rows: auto;
		gap: 8px 12px;
		padding-right: 14px;
	}
	.pl-upd-row__chips,
	.pl-upd-row__state {
		grid-column: 3;
		justify-content: flex-start;
	}
	.pl-upd-row--line {
		grid-template-columns: 32px minmax(0, 1fr);
	}
	.pl-upd-row--line .pl-upd-row__state {
		grid-column: 2;
	}
	.pl-upd-card__head {
		flex-wrap: wrap;
	}
	.pl-upd-core {
		flex-wrap: wrap;
	}
}

/* ==========================================================================
   27. Notice tray (class-plinth-notices.php) — Flows & states → Notices
   ========================================================================== */
.pl-tray {
	margin: 0 0 20px;
	overflow: hidden;
	background: var(--pl-surface);
	border: 1px solid var(--pl-border);
	border-radius: var(--pl-r-lg);
}
.pl-tray:not(.is-placed) {
	visibility: hidden;
}
.pl-overview .pl-tray {
	margin: 0;
}
body.plinth .pl-tray__toggle {
	display: flex;
	align-items: center;
	gap: 10px;
	width: 100%;
	min-height: 48px;
	padding: 0 16px;
	border: 0;
	background: transparent;
	color: var(--pl-text);
	font: inherit;
	font-size: 13px;
	font-weight: 600;
	text-align: left;
	cursor: pointer;
}
.pl-tray__toggle:hover {
	background: var(--pl-surface-2);
}
.pl-tray__toggle > .pl-ico {
	width: 16px;
	height: 16px;
	color: var(--pl-text-2);
}
.pl-tray__label {
	flex: 1;
}
.pl-tray__chev .pl-ico {
	width: 16px;
	height: 16px;
	color: var(--pl-text-3);
	transition: transform .15s;
}
.pl-tray__toggle[aria-expanded="true"] .pl-tray__chev .pl-ico {
	transform: rotate(180deg);
}
.pl-tray__list[hidden] {
	display: none;
}
.pl-tray__row {
	display: grid;
	grid-template-columns: 32px minmax(0, 1fr) auto;
	align-items: start;
	gap: 12px;
	padding: 12px 8px 12px 14px;
	border-top: 1px solid var(--pl-border);
}
.pl-tray__row .pl-tile {
	width: 32px;
	height: 32px;
	border-radius: 9px;
	font-size: 12px;
}
.pl-tray__main {
	display: flex;
	flex-direction: column;
	gap: 3px;
	min-width: 0;
}
/* Parsed rows (class-plinth-notices.php → parse()): title, description, action. */
.pl-tray__title {
	color: var(--pl-text);
	font-size: 13px;
	font-weight: 600;
}
.pl-tray__text {
	color: var(--pl-text-2);
	font-size: 12.5px;
	line-height: 1.5;
}
.pl-tray__act {
	margin-top: 3px;
}
body.plinth a.pl-tray__link {
	display: inline-flex;
	align-items: center;
	gap: 3px;
	color: color-mix(in srgb, var(--pl-accent) 60%, var(--pl-text));
	font-size: 12.5px;
	font-weight: 500;
	text-decoration: none;
}
body.plinth a.pl-tray__link:hover {
	text-decoration: underline;
}
.pl-tray__link .pl-ico {
	width: 14px;
	height: 14px;
}
.pl-tray__body[hidden] {
	display: none;
}
.pl-tray__ctl {
	display: flex;
	align-items: flex-start;
	gap: 2px;
}
/* Row "…" menu holding "Mute announcements from X" — shown on hover/focus only. */
.pl-tray__more {
	position: relative;
}
.pl-tray__row:not(:hover):not(:focus-within) .pl-tray__more:not([open]) {
	opacity: 0;
}
.pl-tray__more > summary {
	display: grid;
	place-items: center;
	width: 28px;
	height: 28px;
	border-radius: var(--pl-r-sm);
	color: var(--pl-text-3);
	list-style: none;
	cursor: pointer;
}
.pl-tray__more > summary::-webkit-details-marker {
	display: none;
}
.pl-tray__more > summary:hover,
.pl-tray__more[open] > summary {
	background: var(--pl-surface-3);
	color: var(--pl-text);
}
.pl-tray__more > summary .pl-ico {
	width: 15px;
	height: 15px;
}
.pl-tray__menu {
	position: absolute;
	top: 32px;
	right: 0;
	z-index: 20;
	min-width: 240px;
	padding: 4px;
	background: var(--pl-surface-2);
	border: 1px solid var(--pl-border-strong);
	border-radius: 9px;
	box-shadow: var(--pl-shadow);
}
.pl-tray__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
}
.pl-tray__plugin {
	color: var(--pl-text-3);
	font-size: 12px;
	font-weight: 600;
}
.pl-tray__meta .pl-chip {
	height: 20px;
	font-size: 11px;
}
body.plinth .pl-tray__mute {
	display: flex;
	align-items: center;
	gap: 8px;
	width: 100%;
	padding: 7px 10px;
	border: 0;
	border-radius: 6px;
	background: none;
	color: var(--pl-text);
	font: inherit;
	font-size: 12.5px;
	text-align: left;
	white-space: nowrap;
	cursor: pointer;
}
.pl-tray__mute:hover,
.pl-tray__mute:focus-visible {
	background: var(--pl-surface-3);
}
.pl-tray__mute .pl-ico {
	width: 14px;
	height: 14px;
	color: var(--pl-text-3);
}
body.plinth .pl-tray__close {
	display: grid;
	place-items: center;
	width: 28px;
	height: 28px;
	padding: 0;
	border: 0;
	border-radius: var(--pl-r-sm);
	background: transparent;
	color: var(--pl-text-3);
	cursor: pointer;
}
.pl-tray__close:hover {
	background: var(--pl-surface-3);
	color: var(--pl-text);
}
.pl-tray__close .pl-ico {
	width: 15px;
	height: 15px;
}

/* The plugin's own notice, flattened into the row. */
body.plinth .pl-tray__body > :is(div, section, aside, p),
body.plinth .pl-tray__body .notice,
body.plinth .pl-tray__body div.updated,
body.plinth .pl-tray__body div.error,
body.plinth .pl-tray__body .update-nag {
	position: relative;
	max-width: none;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 0;
	background: transparent !important;
	box-shadow: none !important;
	color: var(--pl-text-2);
	font-size: 12.5px;
	line-height: 1.55;
}
body.plinth .pl-tray__body > * + * {
	margin-top: 10px !important;
	padding-top: 10px !important;
	border-top: 1px solid var(--pl-border) !important;
}
body.plinth .pl-tray__body :is(p, li, span, div) {
	font-size: 12.5px;
}
body.plinth .pl-tray__body p {
	margin: 2px 0 !important;
	color: var(--pl-text-2);
}
body.plinth .pl-tray__body :is(h1, h2, h3, h4, strong, b):first-child,
body.plinth .pl-tray__body p:first-child strong {
	color: var(--pl-text);
}
body.plinth .pl-tray__body :is(h1, h2, h3, h4) {
	margin: 0 0 2px !important;
	padding: 0 !important;
	color: var(--pl-text);
	font-size: 13.5px;
	font-weight: 600;
	line-height: 1.4;
}
body.plinth .pl-tray__body img {
	max-width: 56px;
	max-height: 56px;
	height: auto;
}
body.plinth .pl-tray__body .notice-dismiss {
	display: none;
}
body.plinth .pl-tray__body .button,
body.plinth .pl-tray__body .button-primary,
body.plinth .pl-tray__body .button-secondary {
	min-height: 26px;
	margin: 6px 6px 0 0;
	padding: 0 10px;
	line-height: 24px;
	font-size: 12px;
}
body.plinth .pl-tray__body a:not(.button) {
	color: color-mix(in srgb, var(--pl-accent) 60%, var(--pl-text));
	font-weight: 500;
}
.pl-tray__empty,
.pl-tray__muted {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 12px 16px;
	border-top: 1px solid var(--pl-border);
	color: var(--pl-text-3);
	font-size: 12.5px;
}
.pl-tray__empty[hidden] {
	display: none;
}
.pl-tray__empty .pl-ico {
	width: 15px;
	height: 15px;
	color: var(--pl-success);
}
.pl-tray__muted {
	padding: 10px 14px;
	font-size: 12px;
}
.pl-tray__muted .pl-ico {
	width: 14px;
	height: 14px;
}
.pl-tray__muted span {
	flex: 1;
}
body.plinth .pl-tray__muted a {
	color: color-mix(in srgb, var(--pl-accent) 60%, var(--pl-text));
	font-size: 12.5px;
	font-weight: 500;
	text-decoration: none;
}
body.plinth .pl-tray__muted a:hover {
	text-decoration: underline;
}
.pl-muted {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin: 0;
}
.pl-muted li {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin: 0;
	color: var(--pl-text);
	font-size: 13px;
}

/* Toasts (admin.js → window.plinthToast). */
.pl-toasts {
	position: fixed;
	right: 24px;
	bottom: 24px;
	z-index: 100000;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 8px;
	pointer-events: none;
}
.pl-toast {
	display: flex;
	align-items: center;
	gap: 10px;
	box-sizing: border-box;
	width: 340px;
	max-width: calc(100vw - 48px);
	padding: 9px 8px 9px 12px;
	border: 1px solid var(--pl-border-strong);
	border-radius: 11px;
	background: var(--pl-surface-3);
	box-shadow: var(--pl-shadow);
	color: var(--pl-text);
	font-size: 12.5px;
	line-height: 1.45;
	pointer-events: auto;
	animation: pl-toast-in .18s ease-out;
}
.pl-toast.is-leaving {
	opacity: 0;
	transform: translateY(6px);
	transition: opacity .18s, transform .18s;
}
@keyframes pl-toast-in {
	from { opacity: 0; transform: translateY(8px); }
}
.pl-toast > .pl-ico {
	width: 16px;
	height: 16px;
	color: var(--pl-success);
}
.pl-toast.is-bad > .pl-ico {
	color: var(--pl-crit);
}
.pl-toast.is-info > .pl-ico {
	color: color-mix(in srgb, var(--pl-accent) 60%, var(--pl-text));
}
.pl-toast__text {
	flex: 1;
	min-width: 0;
}
body.plinth .pl-toast__action {
	padding: 0 4px;
	border: 0;
	background: none;
	color: color-mix(in srgb, var(--pl-accent) 60%, var(--pl-text));
	font: inherit;
	font-weight: 600;
	text-decoration: none;
	white-space: nowrap;
	cursor: pointer;
}
body.plinth .pl-toast__action:hover {
	text-decoration: underline;
}
body.plinth .pl-toast__close {
	display: grid;
	flex: none;
	place-items: center;
	width: 26px;
	height: 26px;
	padding: 0;
	border: 0;
	border-radius: 7px;
	background: transparent;
	color: var(--pl-text-3);
	cursor: pointer;
}
.pl-toast__close:hover {
	background: var(--pl-surface-3);
	color: var(--pl-text);
}
.pl-toast__close .pl-ico {
	width: 15px;
	height: 15px;
}
@media screen and (max-width: 782px) {
	.pl-toasts {
		right: 12px;
		bottom: 12px;
		left: 12px;
		align-items: stretch;
	}
	.pl-toast {
		width: auto;
		max-width: none;
	}
}

/* ==========================================================================
   28. Users (class-plinth-users.php + admin.js) — Flows & states → Users
   ========================================================================== */
body.plinth.pl-designed.users-php:not(.pl-list-ready) #wpbody-content .wrap {
	visibility: hidden;
	animation: pl-release 0s 2.5s forwards;
}
.pl-invite {
	display: flex;
	align-items: center;
	gap: 16px;
	margin: 0 0 20px;
	padding: 16px 18px;
	background: var(--pl-surface);
	border: 1px solid var(--pl-border);
	border-radius: var(--pl-r-lg);
}
.pl-invite__icon {
	display: grid;
	place-items: center;
	flex: none;
	width: 40px;
	height: 40px;
	border-radius: 10px;
	background: color-mix(in srgb, var(--pl-accent) 16%, transparent);
	color: color-mix(in srgb, var(--pl-accent) 60%, var(--pl-text));
}
.pl-invite__icon .pl-ico {
	width: 18px;
	height: 18px;
}
.pl-invite__text {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}
.pl-invite__text strong {
	color: var(--pl-text);
	font-size: 13.5px;
	font-weight: 600;
}
.pl-invite__text span {
	color: var(--pl-text-3);
	font-size: 12.5px;
}
body.plinth .pl-invite input[type="email"] {
	width: 260px;
	min-width: 0;
	height: 34px;
	min-height: 34px;
}
body.plinth .pl-invite .button {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	height: 32px;
	min-height: 32px;
}
body.plinth .pl-invite .button .pl-ico {
	width: 14px;
	height: 14px;
}
body.plinth.users-php .pl-toolbar {
	margin-bottom: 16px;
}
body.plinth.users-php .pl-toolbar__right {
	display: flex;
	align-items: center;
	gap: 8px;
}
body.plinth.users-php .pl-toolbar__right .button {
	height: 30px;
	min-height: 30px;
	line-height: 28px;
}
body.plinth.users-php .tablenav.top.pl-tablenav-moved .actions {
	display: none;
}
body.plinth.users-php .tablenav.top.pl-tablenav-moved:not(:has(.tablenav-pages:not(.one-page))) {
	display: none;
}
body.plinth.users-php .wrap > ul.subsubsub[hidden],
body.plinth.users-php p.search-box[hidden] {
	display: none;
}
.pl-user {
	display: flex;
	align-items: center;
	gap: 12px;
	min-width: 0;
}
.pl-avatar--md {
	width: 34px;
	height: 34px;
	font-size: 12px;
}
.pl-user__text {
	display: flex;
	flex-direction: column;
	gap: 1px;
	min-width: 0;
}
body.plinth.users-php .pl-user__text strong,
body.plinth.users-php .pl-user__text .row-title {
	color: var(--pl-text);
	font-size: 13.5px;
	font-weight: 600;
}
.pl-user__you {
	color: var(--pl-text-3);
	font-weight: 400;
}
.pl-user__login {
	color: var(--pl-text-3);
	font-size: 12px;
}
body.plinth.users-php #the-list td.column-pl_user .row-actions {
	padding-left: 46px;
}
body.plinth.users-php #the-list td.column-email,
body.plinth.users-php #the-list td.column-posts {
	color: var(--pl-text-2);
	font-size: 12.5px;
	vertical-align: middle;
}
body.plinth.users-php #the-list td.column-email a {
	color: var(--pl-text-2);
}
body.plinth.users-php #the-list td.column-pl_joined {
	color: var(--pl-text-3);
	font-size: 12.5px;
	font-variant-numeric: tabular-nums;
	vertical-align: middle;
}
body.plinth.users-php #the-list td.column-posts a,
body.plinth.users-php #the-list td.column-posts {
	font-variant-numeric: tabular-nums;
}
body.plinth.users-php #the-list td.column-role {
	vertical-align: middle;
}
.pl-role {
	display: inline-flex;
	align-items: center;
	height: 22px;
	padding: 0 8px;
	border: 1px solid var(--pl-border);
	border-radius: 6px;
	background: var(--pl-surface-2);
	color: var(--pl-text-2);
	font-size: 11.5px;
	font-weight: 600;
	white-space: nowrap;
}
.pl-role--administrator {
	border-color: transparent;
	background: color-mix(in srgb, var(--pl-accent) 16%, transparent);
	color: color-mix(in srgb, var(--pl-accent) 60%, var(--pl-text));
}
.pl-role--editor {
	border-color: transparent;
	background: color-mix(in srgb, var(--pl-success) 14%, transparent);
	color: var(--pl-success);
}
body.plinth.users-php .column-posts {
	width: 90px;
}
body.plinth.users-php .column-pl_joined {
	width: 130px;
}
body.plinth.users-php .column-role {
	width: 150px;
}
@media screen and (max-width: 782px) {
	.pl-invite {
		flex-wrap: wrap;
	}
	body.plinth .pl-invite input[type="email"] {
		flex: 1 1 100%;
		width: auto;
	}
}

body.plinth.users-php .tablenav.bottom .actions {
	display: none;
}
body.plinth.users-php .tablenav.bottom .tablenav-pages.one-page {
	display: none;
}
/* Row actions live in a "…" menu at the end of the row (shown on hover/focus). */
body.plinth.users-php #the-list td.column-pl_user .row-actions:not(.pl-row-more__menu) {
	display: none;
}
.pl-user-last {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
}
body.plinth.users-php #the-list .pl-row-more {
	visibility: hidden;
}
body.plinth.users-php #the-list tr:is(:hover, :focus-within) .pl-row-more,
body.plinth.users-php #the-list .pl-row-more.is-open {
	visibility: visible;
}
body.plinth.users-php #the-list .pl-row-more .row-actions.pl-row-more__menu {
	position: absolute;
	top: calc(100% + 4px);
	right: 0;
	left: auto;
	z-index: 20;
	display: none;
	flex-direction: column;
	gap: 0;
	min-width: 190px;
	margin: 0;
	padding: 4px;
	background: var(--pl-surface-2);
	border: 1px solid var(--pl-border-strong);
	border-radius: 9px;
	box-shadow: var(--pl-shadow);
	font-size: 0;
	line-height: 0;
	color: transparent;
}
body.plinth.users-php #the-list .pl-row-more.is-open .row-actions.pl-row-more__menu {
	display: flex;
}
body.plinth.users-php #the-list .pl-row-more__menu > span {
	display: block;
}
body.plinth.users-php #the-list .pl-row-more__menu :is(a, button.button-link) {
	display: block;
	width: 100%;
	padding: 6px 10px;
	border-radius: 6px;
	color: var(--pl-text);
	font-size: 12.5px;
	line-height: 1.4;
	text-align: left;
	text-decoration: none;
	box-sizing: border-box;
}
body.plinth.users-php #the-list .pl-row-more__menu :is(.delete, .remove) a {
	color: var(--pl-crit);
}
body.plinth.users-php #the-list .pl-row-more__menu :is(a, button.button-link):hover {
	background: var(--pl-surface-3);
}
body.plinth.users-php .wp-list-table:has(.pl-row-more.is-open),
body.plinth.users-php form:has(.pl-row-more.is-open) .wp-list-table {
	overflow: visible;
}

/* ==========================================================================
   29. Your profile (class-plinth-profile.php + admin.js) — Flows & states
   ========================================================================== */
body.plinth:is(.profile-php, .user-edit-php):not(.pl-profile-ready) #your-profile {
	visibility: hidden;
	animation: pl-release 0s 2.5s forwards;
}
.pl-prof {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 280px;
	gap: 20px;
	align-items: start;
}
.pl-prof__main {
	display: flex;
	flex-direction: column;
	gap: 16px;
	min-width: 0;
}
body.plinth .pl-prof__body > :is(h2, h3) {
	display: none;
}
body.plinth .pl-prof__body > p:not(.submit) {
	margin: 0;
	padding: 14px 20px 0;
	color: var(--pl-text-2);
	font-size: 12.5px;
}
body.plinth .pl-prof__body table.form-table {
	margin: 0;
}
body.plinth .pl-prof__body table.form-table tr {
	display: grid;
	grid-template-columns: 220px minmax(0, 1fr);
	gap: 28px;
	align-items: start;
	padding: 18px 20px;
	border-top: 1px solid var(--pl-border);
}
body.plinth .pl-prof__body table.form-table tr:first-child {
	border-top: 0;
}
body.plinth .pl-prof__body table.form-table tr[style*="display: none"],
body.plinth .pl-prof__body table.form-table tr.hidden,
body.plinth .pl-prof__body table.form-table tr[hidden] {
	display: none !important;
}
body.plinth .pl-prof__body table.form-table th,
body.plinth .pl-prof__body table.form-table td {
	display: block;
	width: auto;
	margin: 0;
	padding: 0;
}
body.plinth .pl-prof__body table.form-table th {
	color: var(--pl-text);
	font-size: 13px;
	font-weight: 600;
}
body.plinth .pl-prof__body table.form-table th label {
	color: var(--pl-text);
}
body.plinth .pl-prof__body table.form-table th .description {
	margin: 3px 0 0;
	color: var(--pl-text-3);
	font-size: 12.5px;
	font-weight: 400;
	line-height: 1.5;
}
body.plinth .pl-prof__body table.form-table td :is(input[type="text"], input[type="email"], input[type="url"], input[type="password"], select, textarea) {
	max-width: 100%;
}
body.plinth .pl-prof__body table.form-table td input:is([type="text"], [type="email"], [type="url"]):not(.small-text) {
	width: 100%;
	max-width: 420px;
}
body.plinth .pl-prof__body table.form-table td textarea {
	width: 100%;
	max-width: 520px;
}
/* Username: read-only, shown as text. */
body.plinth .pl-prof__body tr.user-user-login-wrap input[disabled] {
	width: auto;
	min-width: 0;
	padding: 0 10px;
	border-color: var(--pl-border);
	background: var(--pl-surface-2);
	color: var(--pl-text-2);
	font-weight: 500;
}
body.plinth .pl-prof__body tr.user-user-login-wrap td .description {
	display: none;
}
/* First + last name side by side, as in the mockup. */
@media screen and (min-width: 1100px) {
	body.plinth .pl-prof__body tr.user-first-name-wrap,
	body.plinth .pl-prof__body tr.user-last-name-wrap {
		display: grid;
	}
}
body.plinth .pl-prof__body fieldset label {
	display: flex;
	align-items: center;
	gap: 10px;
	color: var(--pl-text-2);
	font-size: 12.5px;
}
body.plinth .pl-prof__body .pl-seg--form {
	display: inline-flex;
}
/* Sessions. */
.pl-sessions {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin: 0 0 10px;
	padding: 0;
	list-style: none;
}
.pl-sessions li {
	display: flex;
	align-items: center;
	gap: 10px;
	width: 520px;
	max-width: 100%;
	margin: 0;
	padding: 10px 12px;
	border: 1px solid var(--pl-border);
	border-radius: 9px;
	box-sizing: border-box;
}
.pl-sessions__icon {
	display: grid;
	place-items: center;
	flex: none;
	width: 30px;
	height: 30px;
	border-radius: 8px;
	background: var(--pl-surface-3);
	color: var(--pl-text-2);
}
.pl-sessions__icon .pl-ico {
	width: 15px;
	height: 15px;
}
.pl-sessions__text {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 1px;
	min-width: 0;
}
.pl-sessions__text strong {
	color: var(--pl-text);
	font-size: 13px;
	font-weight: 500;
}
.pl-sessions__text span {
	color: var(--pl-text-3);
	font-size: 12px;
}
/* The header's "Update profile" is the only save button. */
body.plinth .pl-prof__submit {
	display: none;
}
/* Summary. */
.pl-prof__aside {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	padding: 24px 20px;
	background: var(--pl-surface);
	border: 1px solid var(--pl-border);
	border-radius: var(--pl-r-lg);
	text-align: center;
}
.pl-prof__avatar {
	display: grid;
	place-items: center;
	width: 84px;
	height: 84px;
	border-radius: 50%;
	background: var(--pl-me-bg);
	color: var(--pl-me-fg);
	font-size: 28px;
	font-weight: 700;
}
.pl-prof__name {
	color: var(--pl-text);
	font-size: 16px;
	font-weight: 600;
}
.pl-prof__meta {
	color: var(--pl-text-3);
	font-size: 12.5px;
}
.pl-prof__stats {
	display: grid;
	grid-template-columns: 1fr 1fr;
	width: 100%;
	margin-top: 8px;
	border-top: 1px solid var(--pl-border);
}
.pl-prof__stats div {
	display: flex;
	flex-direction: column;
	padding: 12px 0;
}
.pl-prof__stats div:first-child {
	border-right: 1px solid var(--pl-border);
}
.pl-prof__stats strong {
	color: var(--pl-text);
	font-size: 20px;
	font-weight: 650;
	font-variant-numeric: tabular-nums;
}
.pl-prof__stats span {
	color: var(--pl-text-3);
	font-size: 12px;
}
body.plinth .pl-prof__note {
	margin: 0;
	color: var(--pl-text-3);
	font-size: 12px;
	line-height: 1.5;
}
body.plinth a.pl-prof__grav {
	display: inline-flex;
	align-items: center;
	gap: 3px;
	color: color-mix(in srgb, var(--pl-accent) 60%, var(--pl-text));
	font-size: 12.5px;
	font-weight: 500;
	text-decoration: none;
}
body.plinth a.pl-prof__grav:hover {
	text-decoration: underline;
}
.pl-prof__grav .pl-ico {
	width: 14px;
	height: 14px;
}
@media screen and (max-width: 1100px) {
	.pl-prof {
		grid-template-columns: minmax(0, 1fr);
	}
	.pl-prof__aside {
		order: -1;
	}
}
@media screen and (max-width: 782px) {
	body.plinth .pl-prof__body table.form-table tr {
		grid-template-columns: minmax(0, 1fr);
		gap: 10px;
	}
}

body.plinth .pl-prof__body table.form-table {
	width: 100%;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
}
body.plinth .pl-prof__body table.form-table th,
body.plinth .pl-prof__body table.form-table td {
	border: 0;
	background: transparent;
}
body.plinth .pl-prof__body table.form-table th :is(h2, h3) {
	margin: 0;
	font-size: 13px;
}
body.plinth .pl-prof__body table.form-table,
body.plinth .pl-prof__body table.form-table > tbody {
	display: block;
}
body.plinth .pl-prof__body table.form-table tr {
	width: 100%;
	box-sizing: border-box;
}
body.plinth .pl-prof__body table.form-table th .description {
	display: block;
}

/* Profile rows per the board (people stream). */
body.plinth .pl-prof__body .pl-gone,
body.plinth #your-profile .pl-gone {
	display: none !important;
}
body.plinth .pl-prof__body table.form-table td :is(#email, #url) {
	width: 320px;
	max-width: 100%;
}
body.plinth .pl-prof__body table.form-table td select#display_name {
	width: 320px;
	max-width: 100%;
}
body.plinth .pl-prof__body table.form-table td textarea#description {
	width: 520px;
	max-width: 100%;
}
.pl-prof__pair {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}
body.plinth .pl-prof__body table.form-table td .pl-prof__pair input[type="text"] {
	width: 200px;
	max-width: 100%;
}
.pl-prof__login {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	height: 34px;
	padding: 0 11px;
	border: 1px dashed var(--pl-border-strong);
	border-radius: 8px;
	color: var(--pl-text-3);
	font-size: 13px;
	box-sizing: border-box;
}
.pl-prof__login .pl-ico {
	width: 14px;
	height: 14px;
}
body.plinth .pl-prof__body .pl-switchline__state {
	font-weight: 400;
}
body.plinth .pl-prof__body .wp-generate-pw .pl-ico,
body.plinth .pl-prof__body .user-sessions-wrap .button .pl-ico,
body.plinth .pl-prof__body #do_new_application_password .pl-ico {
	width: 14px;
	height: 14px;
	margin-right: 6px;
	vertical-align: -2px;
}
body.plinth .pl-prof__body .wp-generate-pw {
	font-weight: 500;
}
body.plinth .pl-prof__body .user-sessions-wrap .button-small {
	font-size: 12.5px;
	font-weight: 500;
}
/* Application passwords — a labelled row like the others. */
body.plinth .pl-prof__body #application-passwords-section.pl-ap {
	display: grid;
	grid-template-columns: 220px minmax(0, 1fr);
	gap: 28px;
	align-items: start;
	margin: 0;
	padding: 18px 20px;
	border-top: 1px solid var(--pl-border);
}
.pl-ap__label {
	display: flex;
	flex-direction: column;
	gap: 3px;
}
.pl-prof__label,
.pl-ap__label .pl-prof__label {
	color: var(--pl-text);
	font-size: 13px;
	font-weight: 600;
}
body.plinth .pl-ap__label .description {
	margin: 0;
	color: var(--pl-text-3);
	font-size: 12.5px;
	line-height: 1.5;
}
.pl-ap__field {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 10px;
	min-width: 0;
}
body.plinth .pl-ap .application-passwords-list-table-wrapper {
	width: 520px;
	max-width: 100%;
}
body.plinth .pl-ap .application-passwords-list-table-wrapper .tablenav,
body.plinth .pl-ap .wp-list-table :is(thead, tfoot),
body.plinth .pl-ap .wp-list-table tr.no-items {
	display: none;
}
body.plinth .pl-ap .wp-list-table,
body.plinth .pl-ap .wp-list-table tbody {
	display: flex;
	flex-direction: column;
	gap: 10px;
	width: 100%;
	border: 0;
	background: transparent;
	box-shadow: none;
}
body.plinth .pl-ap .wp-list-table tbody tr.pl-ap-row {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 12px;
	border: 1px solid var(--pl-border);
	border-radius: 9px;
	background: transparent;
}
body.plinth .pl-ap .wp-list-table tr.pl-ap-row > td {
	display: none;
	padding: 0;
	border: 0;
	background: transparent;
}
body.plinth .pl-ap .wp-list-table tr.pl-ap-row > td.column-name {
	display: flex;
	flex: 1;
	align-items: center;
	gap: 10px;
	min-width: 0;
}
body.plinth .pl-ap .wp-list-table tr.pl-ap-row > td.column-revoke {
	display: block;
	flex: none;
}
body.plinth .pl-ap tr.pl-ap-row td.column-name > .pl-ico {
	flex: none;
	width: 16px;
	height: 16px;
	color: var(--pl-text-3);
}
body.plinth .pl-ap tr.pl-ap-row :is(.toggle-row, .row-actions) {
	display: none;
}
.pl-ap-row__text {
	display: flex;
	flex-direction: column;
	gap: 1px;
	min-width: 0;
}
.pl-ap-row__text strong {
	color: var(--pl-text);
	font-size: 13px;
	font-weight: 500;
}
.pl-ap-row__text span {
	color: var(--pl-text-3);
	font-size: 12px;
}
body.plinth.wp-core-ui .pl-ap tr.pl-ap-row .column-revoke .button.delete {
	height: 28px;
	min-height: 28px;
	padding: 0 10px;
	border-color: transparent;
	background: transparent;
	box-shadow: none;
	color: var(--pl-crit);
	font-size: 12.5px;
	font-weight: 500;
	line-height: 26px;
}
body.plinth.wp-core-ui .pl-ap tr.pl-ap-row .column-revoke .button.delete:hover {
	background: color-mix(in srgb, var(--pl-crit) 10%, transparent);
}
body.plinth .pl-ap .create-application-password {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin: 0;
}
body.plinth .pl-ap .create-application-password .form-field {
	margin: 0;
	padding: 0;
}
body.plinth .pl-ap #new_application_password_name {
	width: 260px;
	max-width: 100%;
	height: 34px;
	min-height: 34px;
}
@media screen and (max-width: 782px) {
	body.plinth .pl-prof__body #application-passwords-section.pl-ap {
		grid-template-columns: minmax(0, 1fr);
		gap: 10px;
	}
}

/* ==========================================================================
   30. Comments (admin.js) — Flows & states → Comments
   ========================================================================== */
body.plinth.pl-designed.edit-comments-php:not(.pl-list-ready) #wpbody-content .wrap {
	visibility: hidden;
	animation: pl-release 0s 2.5s forwards;
}
body.plinth.edit-comments-php .pl-toolbar {
	margin-bottom: 16px;
}
body.plinth.edit-comments-php .pl-toolbar__right {
	display: flex;
	align-items: center;
	gap: 8px;
}
body.plinth.edit-comments-php .pl-toolbar__right .button {
	height: 30px;
	min-height: 30px;
	line-height: 28px;
}
body.plinth.edit-comments-php .wrap > ul.subsubsub[hidden],
body.plinth.edit-comments-php p.search-box[hidden],
body.plinth.edit-comments-php .tablenav.top.pl-tablenav-moved .actions,
body.plinth.edit-comments-php .tablenav.bottom .actions {
	display: none;
}
body.plinth.edit-comments-php .tablenav.top.pl-tablenav-moved:not(:has(.tablenav-pages:not(.one-page))),
body.plinth.edit-comments-php .tablenav .tablenav-pages.one-page {
	display: none;
}
body.plinth.edit-comments-php table.comments {
	display: block;
	overflow: hidden;
	border: 1px solid var(--pl-border);
	border-radius: var(--pl-r-lg);
	background: var(--pl-surface);
}
body.plinth.edit-comments-php table.comments :is(thead, tfoot) {
	display: none;
}
body.plinth.edit-comments-php table.comments > tbody {
	display: block;
}
body.plinth.edit-comments-php #the-comment-list > tr.pl-c {
	display: grid;
	grid-template-columns: 44px minmax(0, 1fr) 220px;
	grid-template-areas: "cb main resp";
	gap: 14px;
	padding: 16px 18px;
	border-top: 1px solid var(--pl-border);
	background: transparent;
}
body.plinth.edit-comments-php #the-comment-list > tr.pl-c:first-child {
	border-top: 0;
}
body.plinth.edit-comments-php #the-comment-list > tr.pl-c.unapproved {
	background: color-mix(in srgb, var(--pl-warn) 14%, transparent);
	box-shadow: inset 3px 0 0 var(--pl-warn);
}
body.plinth.edit-comments-php #the-comment-list > tr.pl-c > * {
	display: block;
	width: auto;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	box-shadow: none;
}
body.plinth.edit-comments-php #the-comment-list > tr.pl-c > .check-column {
	grid-area: cb;
	display: flex;
	justify-content: center;
	padding-top: 2px;
}
body.plinth.edit-comments-php #the-comment-list > tr.pl-c > .column-author,
body.plinth.edit-comments-php #the-comment-list > tr.pl-c .column-comment > .comment-author,
body.plinth.edit-comments-php #the-comment-list > tr.pl-c .toggle-row {
	display: none;
}
body.plinth.edit-comments-php #the-comment-list > tr.pl-c > .column-comment {
	grid-area: main;
	display: flex;
	flex-direction: column;
	gap: 8px;
	min-width: 0;
	color: var(--pl-text);
}
body.plinth.edit-comments-php #the-comment-list > tr.pl-c > .column-response {
	grid-area: resp;
}
/* The date moves under "In response to" as a relative time. */
body.plinth.edit-comments-php #the-comment-list > tr.pl-c > .column-date,
body.plinth.edit-comments-php table.comments .column-date {
	display: none;
}
body.plinth.edit-comments-php #the-comment-list > tr.pl-c > :not(.check-column, .column-author, .column-comment, .column-response, .column-date) {
	grid-column: 2;
}
.pl-c__head {
	display: flex;
	align-items: center;
	gap: 10px;
}
.pl-c__head .pl-c__av {
	width: 30px;
	height: 30px;
	font-size: 10.5px;
	font-weight: 700;
}
.pl-c__who {
	display: flex;
	flex-direction: column;
	gap: 1px;
	min-width: 0;
}
.pl-c__who strong {
	color: var(--pl-text);
	font-size: 13.5px;
	font-weight: 600;
}
.pl-c__who span {
	color: var(--pl-text-3);
	font-size: 12px;
}
body.plinth.edit-comments-php #the-comment-list .column-comment > p {
	margin: 0;
	color: var(--pl-text);
	font-size: 13.5px;
	line-height: 1.6;
}
body.plinth.edit-comments-php #the-comment-list .column-comment .row-actions {
	position: static;
	display: flex;
	flex-wrap: wrap;
	gap: 2px;
	margin-left: -9px;
	padding: 0;
	left: auto;
	color: transparent;
	font-size: 0;
}
body.plinth.edit-comments-php #the-comment-list .row-actions > span {
	display: inline-flex;
	font-size: 0;
}
/* Core shows Approve only on pending rows and Unapprove only on approved ones. */
body.plinth.edit-comments-php #the-comment-list .row-actions > span.approve,
body.plinth.edit-comments-php #the-comment-list tr.unapproved .row-actions > span.unapprove,
body.plinth.edit-comments-php #the-comment-list .row-actions > span[style*="display: none"] {
	display: none;
}
body.plinth.edit-comments-php #the-comment-list tr.unapproved .row-actions > span.approve {
	display: inline-flex;
}
body.plinth.edit-comments-php #the-comment-list .row-actions :is(a, button.button-link) {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	height: 28px;
	padding: 0 9px;
	border: 0;
	border-radius: 7px;
	background: transparent;
	color: var(--pl-text-2);
	font-size: 12.5px;
	font-weight: 500;
	text-decoration: none;
	box-shadow: none;
}
body.plinth.edit-comments-php #the-comment-list .row-actions :is(a, button.button-link):hover {
	background: color-mix(in srgb, var(--pl-text) 5%, transparent);
	color: var(--pl-text);
}
body.plinth.edit-comments-php #the-comment-list .row-actions .approve a { color: var(--pl-success); }
body.plinth.edit-comments-php #the-comment-list .row-actions .reply button { color: color-mix(in srgb, var(--pl-accent) 60%, var(--pl-text)); }
body.plinth.edit-comments-php #the-comment-list .row-actions :is(.trash, .delete) a { color: var(--pl-crit); }
body.plinth.edit-comments-php #the-comment-list .row-actions .pl-ico {
	width: 14px;
	height: 14px;
}
body.plinth.edit-comments-php #the-comment-list .response-links {
	display: flex;
	flex-direction: column;
	gap: 4px;
	color: var(--pl-text-3);
	font-size: 12.5px;
}
.pl-c__label,
.pl-c__when {
	color: var(--pl-text-3);
	font-size: 12.5px;
}
body.plinth.edit-comments-php #the-comment-list .response-links .comments-edit-item-link {
	color: var(--pl-text);
	font-size: 12.5px;
	font-weight: 500;
	text-decoration: none;
}
body.plinth.edit-comments-php #the-comment-list .response-links .comments-edit-item-link:hover {
	text-decoration: underline;
}
body.plinth.edit-comments-php #the-comment-list .row-actions > span.pl_when,
body.plinth.edit-comments-php #the-comment-list .row-actions > span.edit {
	display: none;
}
body.plinth.edit-comments-php #the-comment-list .response-links :is(.comments-view-item-link, .post-com-count-wrapper) {
	display: none;
}
/* Inline reply / quick edit (core's #replyrow). */
body.plinth.edit-comments-php #the-comment-list #replyrow {
	display: block;
	padding: 0 18px 16px 58px;
	background: transparent;
}
body.plinth.edit-comments-php #the-comment-list #replyrow td {
	display: block;
	padding: 12px;
	border: 1px solid var(--pl-border-strong);
	border-radius: 10px;
	background: var(--pl-surface-2);
}
body.plinth.edit-comments-php #replyrow textarea {
	width: 100%;
	border-radius: 8px;
}
/* Board: no legend, no quicktags toolbar; Cancel (ghost) then the primary on the right. */
body.plinth.edit-comments-php #replyrow fieldset.comment-reply > legend,
body.plinth.edit-comments-php #replyrow .quicktags-toolbar {
	display: none;
}
body.plinth.edit-comments-php #replyrow fieldset.comment-reply {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin: 0;
	padding: 0;
	border: 0;
}
body.plinth.edit-comments-php #replyrow #replycontent {
	min-height: 0;
	padding: 8px 10px;
	border: 1px solid var(--pl-border-strong);
	background: var(--pl-surface);
	color: var(--pl-text);
	font-size: 13px;
	resize: none;
}
body.plinth.edit-comments-php #replyrow #replysubmit {
	margin: 0;
	padding: 0;
}
body.plinth.edit-comments-php #replyrow .reply-submit-buttons {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 8px;
	margin: 0;
}
body.plinth.edit-comments-php #replyrow .reply-submit-buttons .spinner {
	order: 0;
	float: none;
	margin: 0;
}
body.plinth.wp-core-ui.edit-comments-php #replyrow .reply-submit-buttons .cancel.button {
	order: 1;
	height: 28px;
	min-height: 28px;
	padding: 0 10px;
	border-color: transparent;
	background: transparent;
	box-shadow: none;
	color: var(--pl-text-2);
	font-size: 12.5px;
	font-weight: 500;
	line-height: 26px;
}
body.plinth.wp-core-ui.edit-comments-php #replyrow .reply-submit-buttons .cancel.button:hover {
	background: var(--pl-surface-3);
	color: var(--pl-text);
}
body.plinth.wp-core-ui.edit-comments-php #replyrow .reply-submit-buttons .save.button {
	order: 2;
	height: 28px;
	min-height: 28px;
	padding: 0 10px;
	font-size: 12.5px;
	font-weight: 600;
	line-height: 26px;
}
body.plinth.edit-comments-php #replyrow .reply-submit-buttons .save .pl-ico {
	width: 14px;
	height: 14px;
	margin-right: 6px;
	vertical-align: -2px;
}
body.plinth.edit-comments-php #replyrow.pl-reply-edit .reply-submit-buttons .save .pl-ico {
	display: none;
}
body.plinth.edit-comments-php #the-comment-list tr.no-items td {
	display: block;
	padding: 40px 20px;
	color: var(--pl-text-3);
	text-align: center;
}
@media screen and (max-width: 782px) {
	body.plinth.edit-comments-php #the-comment-list > tr.pl-c {
		grid-template-columns: 36px minmax(0, 1fr);
		grid-template-areas: "cb main" "cb resp";
	}
}

/* ==========================================================================
   31. Add plugins (plugin-install.php) — Flows & states → Add plugins
   ========================================================================== */
body.plinth.plugin-install-php {
	--pl-ap-link: color-mix(in srgb, var(--pl-accent) 60%, var(--pl-text));
}
body.plinth.pl-designed.plugin-install-php:not(.pl-list-ready) #wpbody-content .wrap {
	visibility: hidden;
	animation: pl-release 0s 2.5s forwards;
}
.pl-hero-search {
	margin: 0 0 18px;
}
body.plinth .pl-hero-search form {
	display: block;
	float: none;
	margin: 0;
	padding: 0;
}
.pl-hero-search__box {
	display: flex;
	align-items: center;
	gap: 12px;
	height: 48px;
	padding: 0 8px 0 16px;
	background: var(--pl-surface);
	border: 1px solid var(--pl-border-strong);
	border-radius: 12px;
	box-shadow: 0 0 0 4px color-mix(in srgb, var(--pl-accent) 16%, transparent);
}
.pl-hero-search__box > .pl-ico {
	width: 18px;
	height: 18px;
	color: var(--pl-text-3);
}
body.plinth .pl-hero-search__box input[type="search"] {
	flex: 1;
	min-width: 0;
	height: 100%;
	min-height: 0;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	box-shadow: none;
	color: var(--pl-text);
	font-size: 15px;
}
body.plinth .pl-hero-search__box input[type="search"]:focus {
	box-shadow: none;
	outline: none;
}
.pl-ap-select {
	display: inline-flex;
	align-items: center;
	flex: none;
}
body.plinth.plugin-install-php .pl-ap-select select {
	float: none;
	height: 30px;
	min-height: 30px;
	margin: 0;
	padding: 0 30px 0 10px;
	border: 1px solid var(--pl-border-strong);
	border-radius: 7px;
	background-color: var(--pl-surface-2);
	color: var(--pl-text);
	font-size: 12.5px;
	line-height: 28px;
	cursor: pointer;
}
body.plinth .pl-hero-search form input[type="submit"] {
	display: none;
}
.pl-browse {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin: 0 0 18px;
}
.pl-topics {
	display: flex;
	align-items: center;
	gap: 8px;
	overflow-x: auto;
	scrollbar-width: none;
}
body.plinth a.pl-topic {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	flex: none;
	height: 30px;
	padding: 0 12px;
	border: 1px solid var(--pl-border-strong);
	border-radius: 15px;
	background: var(--pl-surface-2);
	color: var(--pl-text-2);
	font-size: 12.5px;
	font-weight: 500;
	text-decoration: none;
}
body.plinth a.pl-topic .pl-ico {
	width: 13px;
	height: 13px;
}
body.plinth a.pl-topic:hover {
	background: var(--pl-surface-3);
	color: var(--pl-text);
}
body.plinth.plugin-install-php .wp-filter[hidden] {
	display: none;
}
.pl-results {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin: 0 0 14px;
	color: var(--pl-text-2);
	font-size: 13px;
}
.pl-results[hidden] {
	display: none;
}
.pl-results strong {
	color: var(--pl-text);
	font-weight: 600;
	font-variant-numeric: tabular-nums;
}
.pl-results__tools {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-left: auto;
}
.pl-ap-pager {
	display: flex;
	align-items: center;
	gap: 8px;
}
.pl-ap-pager[hidden] {
	display: none;
}
.pl-ap-pager--bottom {
	justify-content: flex-end;
	margin: 14px 0 0;
}
.pl-ap-pager__text {
	color: var(--pl-text-3);
	font-size: 12.5px;
	font-variant-numeric: tabular-nums;
}
body.plinth .pl-ap-pager__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 28px;
	padding: 0;
	border: 1px solid var(--pl-border-strong);
	border-radius: 7px;
	background: var(--pl-surface-2);
	color: var(--pl-text);
	text-decoration: none;
}
body.plinth a.pl-ap-pager__btn:hover {
	background: var(--pl-surface-3);
	color: var(--pl-text);
}
.pl-ap-pager__btn[aria-disabled="true"] {
	opacity: .45;
}
.pl-ap-pager__btn .pl-ico {
	width: 14px;
	height: 14px;
}
body.plinth.plugin-install-php #plugin-filter .tablenav {
	display: none;
}
body.plinth.plugin-install-php #the-list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
}
body.plinth.plugin-install-php #the-list::before,
body.plinth.plugin-install-php #the-list::after {
	display: none;
}
body.plinth.plugin-install-php .plugin-card {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	grid-template-areas: "name act" "desc act" "meta act";
	grid-template-rows: auto auto 1fr;
	gap: 6px 16px;
	float: none;
	width: auto;
	min-height: 0;
	margin: 0;
	padding: 18px 18px 16px 90px;
	overflow: hidden;
	background: var(--pl-surface);
	border: 1px solid var(--pl-border);
	border-radius: var(--pl-r-lg);
	box-shadow: none;
}
body.plinth.plugin-install-php .plugin-card:hover {
	border-color: var(--pl-border-strong);
}
body.plinth.plugin-install-php .plugin-card-top {
	display: contents;
}
body.plinth.plugin-install-php .plugin-card .name {
	grid-area: name;
	margin: 0;
}
body.plinth.plugin-install-php .plugin-card .name h3 {
	margin: 0;
	font-size: 14.5px;
	font-weight: 600;
	line-height: 1.35;
}
body.plinth.plugin-install-php .plugin-card .name h3 a {
	display: -webkit-box;
	overflow: hidden;
	color: var(--pl-text);
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	text-decoration: none;
}
body.plinth.plugin-install-php .plugin-card .name h3 a:hover {
	text-decoration: underline;
}
body.plinth.plugin-install-php .plugin-card .plugin-icon {
	position: absolute;
	top: 18px;
	left: 18px;
	width: 56px;
	height: 56px;
	margin: 0;
	border-radius: 14px;
}
body.plinth.plugin-install-php .plugin-card .action-links {
	grid-area: act;
	position: static;
	min-width: 112px;
	margin: 0;
	text-align: right;
}
body.plinth.plugin-install-php .plugin-card .plugin-action-buttons {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 8px;
	margin: 0;
	padding: 0;
}
body.plinth.plugin-install-php .plugin-card .plugin-action-buttons li {
	float: none;
	margin: 0;
	padding: 0;
}
body.plinth.plugin-install-php .plugin-card .plugin-action-buttons li.pl-card-data-li {
	display: none;
}
body.plinth.plugin-install-php .plugin-card .plugin-action-buttons a.open-plugin-details-modal {
	color: var(--pl-ap-link);
	font-size: 12.5px;
	font-weight: 500;
	text-decoration: none;
}
body.plinth.plugin-install-php .plugin-card .plugin-action-buttons a.open-plugin-details-modal:hover {
	text-decoration: underline;
}

/* Install button — the board's states (Install now → Installing… → Activate → Active). */
body.plinth .button.pl-ap-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	width: 112px;
	height: 32px;
	min-height: 32px;
	margin: 0;
	padding: 0 8px;
	border: 1px solid transparent;
	border-radius: 8px;
	background: var(--pl-surface-2);
	box-shadow: none;
	color: var(--pl-text-2);
	font-size: 12.5px;
	font-weight: 600;
	line-height: 1;
	text-decoration: none;
	white-space: nowrap;
}
body.plinth .button.pl-ap-btn::before {
	display: none !important;
	content: none !important;
}
body.plinth .button.pl-ap-btn > * {
	pointer-events: none;
}
body.plinth .button.pl-ap-btn .pl-ico {
	width: 14px;
	height: 14px;
}
.pl-ap-btn__spin {
	animation: pl-spin .9s linear infinite;
}
body.plinth .button.pl-ap-btn:is([data-pl-state="install"], [data-pl-state="update"]) {
	border-color: var(--pl-accent);
	background: transparent;
	color: var(--pl-ap-link);
}
body.plinth .button.pl-ap-btn:is([data-pl-state="install"], [data-pl-state="update"]):hover {
	background: color-mix(in srgb, var(--pl-accent) 10%, transparent);
	color: var(--pl-ap-link);
}
body.plinth .button.pl-ap-btn:is([data-pl-state="installing"], [data-pl-state="activating"], [data-pl-state="updating"]) {
	border-color: var(--pl-border-strong);
	background: var(--pl-surface-2);
	color: var(--pl-text-2);
	cursor: progress;
}
body.plinth .button.pl-ap-btn[data-pl-state="activate"] {
	border-color: transparent;
	background: var(--pl-accent);
	color: var(--pl-on-accent);
}
body.plinth .button.pl-ap-btn[data-pl-state="activate"]:hover {
	filter: brightness(1.1);
	color: var(--pl-on-accent);
}
/* !important: core's .button-disabled / :disabled colours are !important. */
body.plinth .button.pl-ap-btn:is([data-pl-state="active"], [data-pl-state="updated"]) {
	border-color: transparent !important;
	background: color-mix(in srgb, var(--pl-success) 14%, transparent) !important;
	color: var(--pl-success) !important;
	cursor: default;
	opacity: 1;
}
body.plinth .button.pl-ap-btn:is([data-pl-state="installed"], [data-pl-state="other"]) {
	border-color: var(--pl-border-strong);
	color: var(--pl-text-3);
	cursor: default;
}
body.plinth .button.pl-ap-btn:disabled:not([data-pl-state="active"]),
body.plinth .button.pl-ap-btn.button-disabled:is([data-pl-state="install"], [data-pl-state="update"], [data-pl-state="activate"]) {
	opacity: .55;
	cursor: not-allowed;
}

body.plinth.plugin-install-php .plugin-card .desc {
	grid-area: desc;
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin: 0;
}
body.plinth.plugin-install-php .plugin-card .desc > p:first-child {
	display: -webkit-box;
	margin: 0;
	overflow: hidden;
	color: var(--pl-text-2);
	font-size: 12.5px;
	line-height: 1.5;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}
body.plinth.plugin-install-php .plugin-card .authors {
	order: -1;
	margin: 0;
	color: var(--pl-text-3);
	font-size: 12.5px;
}
body.plinth.plugin-install-php .plugin-card .authors cite {
	font-style: normal;
}
body.plinth.plugin-install-php .plugin-card .authors a {
	color: var(--pl-text-3);
}
body.plinth.plugin-install-php .plugin-card-bottom[hidden] {
	display: none;
}
body.plinth.plugin-install-php .plugin-card-bottom {
	grid-column: 1 / -1;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 14px;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--pl-text-3);
	font-size: 12px;
}
body.plinth.plugin-install-php .plugin-card-bottom > div {
	float: none;
	width: auto;
	margin: 0;
	clear: none;
	text-align: left;
}
.pl-card-meta {
	grid-area: meta;
	align-self: start;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 14px;
	margin-top: 4px;
	color: var(--pl-text-3);
	font-size: 12px;
}
.pl-card-meta__item {
	display: inline-flex;
	align-items: center;
	gap: 5px;
}
.pl-card-meta__item:first-child {
	gap: 6px;
}
.pl-card-meta__item > .pl-ico {
	width: 13px;
	height: 13px;
}
.pl-card-meta__compat.is-compatible {
	color: var(--pl-success);
}
.pl-card-meta__compat.is-untested {
	color: var(--pl-warn);
}
.pl-card-meta__compat.is-incompatible {
	color: var(--pl-crit);
}
.pl-tnum {
	font-variant-numeric: tabular-nums;
}
.pl-stars {
	display: inline-flex;
	gap: 1px;
}
.pl-star {
	position: relative;
	display: inline-flex;
	width: 13px;
	height: 13px;
}
.pl-star .pl-ico {
	display: block;
	width: 13px;
	height: 13px;
	color: var(--pl-border-strong);
}
.pl-star__fill {
	position: absolute;
	inset: 0;
	overflow: hidden;
}
.pl-star__fill .pl-ico {
	color: var(--pl-warn);
}
body.plinth.plugin-install-php .plugin-card .notice {
	grid-column: 1 / -1;
	margin: 6px 0 0;
}

/* No results — Notices board, "No plugins match “…”". */
body.plinth.plugin-install-php #the-list .no-plugin-results {
	grid-column: 1 / -1;
	margin: 0;
	padding: 0;
	color: var(--pl-text-2);
	font-size: 13px;
	font-style: normal;
}
body.plinth.plugin-install-php #the-list .no-plugin-results.pl-ap-empty {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 280px;
	padding: 24px;
	background: var(--pl-surface);
	border: 1px solid var(--pl-border);
	border-radius: var(--pl-r-lg);
	text-align: center;
}
.pl-ap-empty__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	margin-bottom: 4px;
	border-radius: 50%;
	background: var(--pl-surface-3);
	color: var(--pl-text-2);
}
.pl-ap-empty__icon .pl-ico {
	width: 20px;
	height: 20px;
}
.pl-ap-empty__title {
	color: var(--pl-text);
	font-size: 14px;
	font-weight: 600;
}
.pl-ap-empty__text {
	max-width: 240px;
	color: var(--pl-text-2);
	font-size: 12.5px;
	line-height: 1.55;
}
.pl-ap-empty__actions {
	margin-top: 6px;
}
body.plinth a.pl-ap-empty__btn {
	display: inline-flex;
	align-items: center;
	height: 28px;
	padding: 0 10px;
	border: 1px solid var(--pl-border-strong);
	border-radius: 7px;
	background: var(--pl-surface-2);
	color: var(--pl-text);
	font-size: 12.5px;
	font-weight: 500;
	text-decoration: none;
	white-space: nowrap;
}
body.plinth a.pl-ap-empty__btn:hover {
	background: var(--pl-surface-3);
	color: var(--pl-text);
}
@media screen and (max-width: 1100px) {
	body.plinth.plugin-install-php #the-list {
		grid-template-columns: minmax(0, 1fr);
	}
	.pl-browse {
		flex-direction: column;
		align-items: flex-start;
	}
	.pl-topics {
		max-width: 100%;
	}
}
@media screen and (max-width: 600px) {
	.pl-results {
		flex-wrap: wrap;
	}
	body.plinth.plugin-install-php .plugin-card {
		grid-template-areas: "name" "desc" "meta" "act";
		grid-template-columns: minmax(0, 1fr);
		grid-template-rows: auto;
	}
	body.plinth.plugin-install-php .plugin-card .action-links {
		margin-top: 6px;
		text-align: left;
	}
	body.plinth.plugin-install-php .plugin-card .plugin-action-buttons {
		flex-direction: row;
		align-items: center;
	}
}

/* ==========================================================================
   32. Plugin details (thickbox + plugin-install.php?tab=plugin-information)
   ========================================================================== */
body.plinth #TB_overlay {
	background: rgba(5, 6, 8, .62);
	opacity: 1;
}
body.plinth #TB_window.plugin-details-modal {
	max-width: calc(100vw - 20px);
	overflow: hidden;
	border: 1px solid var(--pl-border-strong);
	border-radius: 16px;
	background: var(--pl-surface);
	box-shadow: 0 12px 32px rgba(0, 0, 0, .45);
}
body.plinth #TB_window.plugin-details-modal #TB_title {
	position: absolute;
	top: 14px;
	right: 14px;
	z-index: 5;
	width: auto;
	height: auto;
	border: 0;
	background: none;
}
body.plinth #TB_window.plugin-details-modal #TB_ajaxWindowTitle {
	display: none;
}
body.plinth #TB_window.plugin-details-modal #TB_closeWindowButton {
	position: static;
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: rgba(5, 6, 8, .55);
	color: #fff;
}
body.plinth #TB_window.plugin-details-modal .tb-close-icon {
	position: static;
	display: block;
	width: 16px;
	height: 16px;
	background-color: currentColor;
	color: #fff;
	-webkit-mask: var(--pl-i-x) center / contain no-repeat;
	mask: var(--pl-i-x) center / contain no-repeat;
}
body.plinth #TB_window.plugin-details-modal .tb-close-icon::before {
	display: none;
}
body.plinth #TB_window.plugin-details-modal #TB_closeWindowButton::after {
	display: none;
}
body.plinth #TB_window.plugin-details-modal #TB_closeWindowButton:focus .tb-close-icon {
	box-shadow: none;
	outline: none;
}
body.plinth #TB_window.plugin-details-modal #TB_closeWindowButton:focus-visible {
	outline: 2px solid var(--pl-accent);
	outline-offset: 2px;
}
body.plinth #TB_window.plugin-details-modal #TB_iframeContent {
	max-width: 100%;
	background: var(--pl-surface);
}

/* Inside the iframe. */
body.plinth#plugin-information {
	--pl-ap-link: color-mix(in srgb, var(--pl-accent) 60%, var(--pl-text));
	background: var(--pl-surface);
	color: var(--pl-text);
}
body.plinth#plugin-information:not(.pl-pi-ready) #plugin-information-scrollable,
body.plinth#plugin-information:not(.pl-pi-ready) #plugin-information-footer {
	visibility: hidden;
	animation: pl-release 0s 2.5s forwards;
}
body.plinth#plugin-information.pl-pi #plugin-information-scrollable {
	display: flex;
	flex-direction: column;
	height: 100%;
	overflow: hidden;
	background: var(--pl-surface);
}
body.plinth#plugin-information #plugin-information-title {
	flex: none;
	height: 96px;
	min-height: 0;
	padding: 0;
	border: 0;
	background-color: var(--pl-surface-2);
	background-image: linear-gradient(135deg, color-mix(in srgb, var(--pl-accent) 22%, var(--pl-surface-2)), var(--pl-surface-2));
}
body.plinth#plugin-information #plugin-information-title.with-banner {
	height: 190px;
	background-color: var(--pl-surface-2);
	background-size: cover;
	background-position: center;
}
body.plinth#plugin-information #plugin-information-title .vignette,
body.plinth#plugin-information.pl-pi #plugin-information-title h2 {
	display: none;
}
.pl-pi-head {
	position: relative;
	z-index: 2;
	flex: none;
	display: flex;
	align-items: flex-end;
	gap: 18px;
	margin-top: -34px;
	padding: 0 28px;
}
.pl-pi-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: none;
	width: 84px;
	height: 84px;
	overflow: hidden;
	border-radius: 20px;
	background: var(--pl-surface-3);
	box-shadow: 0 0 0 4px var(--pl-surface);
	color: var(--pl-text);
	font-size: 26px;
	font-weight: 800;
}
.pl-pi-icon.is-initials {
	background: color-mix(in srgb, var(--pl-accent) 22%, var(--pl-surface-2));
	color: var(--pl-ap-link);
}
.pl-pi-icon img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.pl-pi-titles {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding-bottom: 4px;
}
body.plinth#plugin-information h2.pl-pi-name {
	margin: 0;
	padding: 0;
	color: var(--pl-text);
	font-size: 20px;
	font-weight: 650;
	letter-spacing: -0.01em;
	line-height: 1.25;
}
.pl-pi-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 10px;
	color: var(--pl-text-3);
	font-size: 12.5px;
}
body.plinth .pl-pi-by a {
	color: var(--pl-ap-link);
	text-decoration: none;
}
body.plinth .pl-pi-by a:hover {
	text-decoration: underline;
}
.pl-pi-chip {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	height: 22px;
	padding: 0 8px;
	border-radius: 6px;
	background: color-mix(in srgb, var(--pl-success) 14%, transparent);
	color: var(--pl-success);
	font-size: 11.5px;
	font-weight: 600;
	white-space: nowrap;
}
.pl-pi-chip.is-untested {
	background: color-mix(in srgb, var(--pl-warn) 14%, transparent);
	color: var(--pl-warn);
}
.pl-pi-chip.is-incompatible {
	background: color-mix(in srgb, var(--pl-crit) 14%, transparent);
	color: var(--pl-crit);
}
.pl-pi-chip .pl-ico {
	width: 12px;
	height: 12px;
}
.pl-pi-actions {
	display: flex;
	align-items: center;
	flex: none;
	gap: 8px;
	padding-bottom: 4px;
}
body.plinth a.pl-pi-wporg {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	height: 32px;
	padding: 0 12px;
	border: 1px solid var(--pl-border-strong);
	border-radius: 7px;
	background: var(--pl-surface-2);
	color: var(--pl-text);
	font-size: 13px;
	font-weight: 500;
	text-decoration: none;
	white-space: nowrap;
}
body.plinth a.pl-pi-wporg:hover {
	background: var(--pl-surface-3);
	color: var(--pl-text);
}
.pl-pi-wporg .pl-ico {
	width: 15px;
	height: 15px;
}
body.plinth#plugin-information .pl-pi-actions #plugin-information-footer {
	position: static;
	display: flex;
	height: auto;
	padding: 0;
	border: 0;
	background: none;
}
body.plinth#plugin-information #plugin-information-footer .button.pl-ap-btn {
	float: none;
	width: auto;
	min-width: 120px;
	height: 32px;
	min-height: 32px;
	margin: 0;
	padding: 0 14px;
	border-radius: 7px;
	font-size: 13px;
	line-height: 1;
}
body.plinth#plugin-information #plugin-information-footer .button.pl-ap-btn:is([data-pl-state="install"], [data-pl-state="update"], [data-pl-state="activate"]) {
	border-color: transparent;
	background: var(--pl-accent);
	color: var(--pl-on-accent);
}
body.plinth#plugin-information #plugin-information-footer .button.pl-ap-btn:is([data-pl-state="install"], [data-pl-state="update"], [data-pl-state="activate"]):hover {
	filter: brightness(1.1);
}
body.plinth#plugin-information #plugin-information-footer .button.pl-ap-btn:is([data-pl-state="installing"], [data-pl-state="activating"], [data-pl-state="updating"]) {
	border-color: transparent;
	background: var(--pl-surface-3);
	color: var(--pl-text-2);
}
body.plinth#plugin-information #plugin-information-footer .notice {
	display: none;
}
body.plinth#plugin-information #plugin-information-tabs {
	flex: none;
	display: flex;
	gap: 4px;
	height: auto;
	min-height: 0;
	margin: 18px 0 0;
	padding: 0 28px;
	overflow-x: auto;
	border-bottom: 1px solid var(--pl-border);
	background: var(--pl-surface);
	font-size: 13px;
	scrollbar-width: none;
}
body.plinth#plugin-information #plugin-information-tabs a {
	float: none;
	flex: none;
	height: 44px;
	margin: 0;
	padding: 0 12px;
	border: 0;
	border-bottom: 2px solid transparent;
	border-radius: 0;
	background: transparent;
	color: var(--pl-text-3);
	font-size: 13px;
	font-weight: 500;
	line-height: 44px;
	text-decoration: none;
	box-sizing: border-box;
}
body.plinth#plugin-information #plugin-information-tabs a:hover {
	color: var(--pl-text);
}
body.plinth#plugin-information #plugin-information-tabs a.current {
	margin: 0;
	padding: 0 12px;
	border: 0;
	border-bottom: 2px solid var(--pl-accent);
	background: transparent;
	color: var(--pl-text);
}
body.plinth#plugin-information #plugin-information-content {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 290px;
	flex: 1;
	min-height: 0;
	overflow: hidden;
	border: 0;
	background: var(--pl-surface);
}
body.plinth#plugin-information #section-holder {
	grid-column: 1;
	grid-row: 1;
	position: static;
	min-height: 0;
	margin: 0;
	padding: 24px 28px;
	overflow: auto;
	color: var(--pl-text-2);
}
body.plinth#plugin-information #section-holder .notice {
	margin: 0 0 16px;
}
body.plinth#plugin-information #section-holder :is(p, li, dd, td) {
	color: var(--pl-text-2);
	font-size: 13.5px;
	line-height: 1.65;
	opacity: 1;
}
body.plinth#plugin-information #section-holder :is(h1, h2, h3, h4, strong, b, dt) {
	color: var(--pl-text);
}
body.plinth#plugin-information #section-holder :is(h2, h3, h4) {
	margin: 18px 0 10px;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.02em;
}
body.plinth#plugin-information #section-holder .section > :first-child {
	margin-top: 0;
}
body.plinth#plugin-information #section-holder a {
	color: var(--pl-ap-link);
}
body.plinth#plugin-information #section-holder .section {
	margin: 0;
}
body.plinth#plugin-information #section-holder .section ul {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin: 0 0 16px;
	padding: 0;
	list-style: none;
}
body.plinth#plugin-information #section-holder .section ul > li {
	position: relative;
	margin: 0;
	padding-left: 25px;
	font-size: 13px;
	line-height: 1.55;
}
body.plinth#plugin-information #section-holder .section ul > li::before {
	content: "";
	position: absolute;
	top: 2px;
	left: 0;
	width: 15px;
	height: 15px;
	background-color: var(--pl-success);
	-webkit-mask: var(--pl-i-check) center / contain no-repeat;
	mask: var(--pl-i-check) center / contain no-repeat;
}
body.plinth#plugin-information #section-holder .section ol {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin: 0 0 16px;
	padding: 0;
	list-style: none;
	counter-reset: pl-pi-step;
}
body.plinth#plugin-information #section-holder .section ol > li {
	position: relative;
	min-height: 22px;
	margin: 0;
	padding-left: 34px;
	font-size: 13px;
	line-height: 1.55;
	counter-increment: pl-pi-step;
}
body.plinth#plugin-information #section-holder .section ol > li::before {
	content: counter(pl-pi-step);
	position: absolute;
	top: 0;
	left: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: var(--pl-surface-3);
	color: var(--pl-text);
	font-size: 11.5px;
	font-weight: 600;
	font-variant-numeric: tabular-nums;
}
body.plinth#plugin-information #section-holder pre,
body.plinth#plugin-information #section-holder code {
	background: var(--pl-surface-2);
	color: var(--pl-text);
}
body.plinth#plugin-information #section-holder blockquote {
	border-left-color: var(--pl-border-strong);
	background: var(--pl-surface-2);
}
/* Changelog: version chip beside its notes. */
.pl-pi-log {
	display: flex;
	gap: 14px;
	margin: 0 0 16px;
}
.pl-pi-log__ver {
	display: inline-flex;
	align-items: center;
	flex: none;
	height: 22px;
	padding: 0 8px;
	border-radius: 6px;
	background: var(--pl-surface-3);
	color: var(--pl-text);
	font-size: 12px;
	font-weight: 600;
	font-variant-numeric: tabular-nums;
}
.pl-pi-log__body {
	flex: 1;
	min-width: 0;
	padding-top: 1px;
}
.pl-pi-log__date {
	display: block;
	margin-bottom: 4px;
	color: var(--pl-text-3);
	font-size: 12px;
}
body.plinth#plugin-information #section-changelog .pl-pi-log__body :is(p, ul) {
	margin: 0 0 6px;
}
body.plinth#plugin-information #section-changelog .pl-pi-log__body ul {
	gap: 4px;
}
body.plinth#plugin-information #section-changelog .pl-pi-log__body ul > li {
	padding-left: 14px;
}
body.plinth#plugin-information #section-changelog .pl-pi-log__body ul > li::before {
	top: .65em;
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background-color: var(--pl-text-3);
	-webkit-mask: none;
	mask: none;
}
/* FAQ empty state. */
.pl-pi-empty {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	padding: 40px 0;
	color: var(--pl-text-3);
	text-align: center;
}
.pl-pi-empty > .pl-ico {
	width: 26px;
	height: 26px;
}
.pl-pi-empty__title {
	color: var(--pl-text-2);
	font-size: 13.5px;
	font-weight: 600;
}
.pl-pi-empty__text {
	font-size: 12.5px;
}
/* Sidebar. */
body.plinth#plugin-information .fyi {
	grid-column: 2;
	grid-row: 1;
	position: static;
	display: flex;
	flex-direction: column;
	gap: 18px;
	float: none;
	width: auto;
	min-height: 0;
	margin: 0;
	padding: 20px 24px;
	overflow: auto;
	border-left: 1px solid var(--pl-border);
	background: var(--pl-chrome);
	color: var(--pl-text-2);
}
body.plinth#plugin-information .fyi h3 {
	margin: 0 0 6px;
	color: var(--pl-text-3);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .05em;
	text-transform: uppercase;
}
.pl-pi-row {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	padding: 9px 0;
	border-top: 1px solid var(--pl-border);
	font-size: 12.5px;
}
.pl-pi-row__k {
	color: var(--pl-text-3);
}
.pl-pi-row__v {
	color: var(--pl-text);
	font-weight: 500;
	font-variant-numeric: tabular-nums;
	text-align: right;
}
.pl-pi-rating {
	display: flex;
	flex-direction: column;
	gap: 6px;
}
body.plinth#plugin-information .pl-pi-rating h3 {
	margin: 0;
}
.pl-pi-rating__line {
	display: flex;
	align-items: center;
	gap: 8px;
	color: var(--pl-text-3);
	font-size: 12.5px;
}
.pl-pi-contrib {
	display: flex;
	flex-direction: column;
	gap: 8px;
}
body.plinth#plugin-information .pl-pi-contrib h3 {
	margin: 0;
}
body.plinth#plugin-information .fyi ul.contributors {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}
body.plinth#plugin-information .fyi ul.contributors li {
	display: block;
	margin: 0;
}
body.plinth#plugin-information .fyi ul.contributors a {
	display: flex;
	align-items: center;
	gap: 8px;
	color: var(--pl-text-2);
	font-size: 12.5px;
	text-decoration: none;
}
body.plinth#plugin-information .fyi ul.contributors a:hover {
	color: var(--pl-text);
}
body.plinth#plugin-information .fyi ul.contributors img {
	flex: none;
	width: 22px;
	height: 22px;
	margin: 0;
	border-radius: 50%;
}
.pl-pi-links {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin-top: auto;
}
body.plinth .pl-pi-links a {
	display: inline-flex;
	align-items: center;
	gap: 3px;
	color: var(--pl-ap-link);
	font-size: 12.5px;
	font-weight: 500;
	text-decoration: none;
}
body.plinth .pl-pi-links a:hover {
	text-decoration: underline;
}
.pl-pi-links .pl-ico {
	width: 14px;
	height: 14px;
}
body.plinth#plugin-information .notice {
	margin: 0 0 16px;
}
@media screen and (max-width: 720px) {
	body.plinth#plugin-information.pl-pi #plugin-information-scrollable {
		display: block;
		overflow: auto;
	}
	.pl-pi-head {
		flex-wrap: wrap;
		padding: 0 18px;
	}
	.pl-pi-titles {
		flex-basis: calc(100% - 102px);
	}
	.pl-pi-actions {
		width: 100%;
	}
	body.plinth#plugin-information #plugin-information-tabs {
		padding: 0 18px;
	}
	body.plinth#plugin-information #plugin-information-content {
		display: block;
		overflow: visible;
	}
	body.plinth#plugin-information #section-holder {
		padding: 20px 18px;
		overflow: visible;
	}
	body.plinth#plugin-information .fyi h3 {
		display: block;
	}
	body.plinth#plugin-information .fyi {
		padding: 20px 18px;
		overflow: visible;
		border-top: 1px solid var(--pl-border);
		border-left: 0;
	}
}

/* ==========================================================================
   33. Themes (themes.php, theme-install.php) — Flows & states → Themes,
       Theme details
   ========================================================================== */
body.plinth.pl-designed:is(.themes-php, .theme-install-php):not(.pl-list-ready) #wpbody-content .wrap {
	visibility: hidden;
	animation: pl-release 0s 2.5s forwards;
}
body.plinth.pl-designed:is(.themes-php, .theme-install-php) .wrap > h1 .title-count,
body.plinth.pl-designed.themes-php .wrap > .search-form,
body.plinth.pl-designed.themes-php .wrap > .wp-filter,
body.plinth.pl-designed.theme-install-php .wp-filter .filter-count {
	display: none;
}
.pl-theme-tabrow {
	display: flex;
	margin: 0 0 20px;
}

/* Active-theme hero. */
.pl-theme-hero {
	display: grid;
	grid-template-columns: minmax(0, 520px) minmax(0, 1fr);
	margin: 0 0 18px;
	overflow: hidden;
	background: var(--pl-surface);
	border: 1px solid var(--pl-border);
	border-radius: 12px;
}
.pl-theme-hero__shot {
	position: relative;
	min-height: 300px;
	background: var(--pl-surface-2);
	border-right: 1px solid var(--pl-border);
}
.pl-theme-hero__shot img {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: top center;
}
.pl-theme-hero__info {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 26px 28px;
	min-width: 0;
}
.pl-theme-chips {
	display: flex;
	align-items: center;
	gap: 8px;
}
.pl-theme-chips--wrap {
	flex-wrap: wrap;
	gap: 6px;
}
body.plinth a.pl-chip {
	text-decoration: none;
}
body.plinth .pl-theme-hero__name {
	margin: 0;
	padding: 0;
	color: var(--pl-text);
	font-size: 22px;
	font-weight: 650;
	letter-spacing: -0.015em;
	line-height: 1.2;
}
.pl-theme-hero__meta {
	color: var(--pl-text-3);
	font-size: 12.5px;
}
body.plinth .pl-theme-hero__desc {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 4;
	overflow: hidden;
	max-width: 520px;
	margin: 0;
	color: var(--pl-text-2);
	font-size: 13.5px;
	line-height: 1.6;
}
.pl-theme-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: auto;
	padding-top: 4px;
}
body.plinth .pl-theme-hero__actions .button {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}
/* Core-rendered buttons below never get a display value (core hides some with display:none). */
body.plinth.pl-designed:is(.themes-php, .theme-install-php) :is(.theme-actions, .wp-filter) .button .pl-ico {
	margin-right: 6px;
}
body.plinth .pl-theme-hero__actions .button .pl-ico {
	width: 15px;
	height: 15px;
}
.pl-theme-sechead {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	margin: 0 0 14px;
}
body.plinth .pl-theme-sechead h2 {
	margin: 0;
	color: var(--pl-text);
	font-size: 14px;
	font-weight: 600;
}
.pl-theme-sechead span {
	color: var(--pl-text-3);
	font-size: 12.5px;
}

/* Card grid (both screens). */
body.plinth.pl-designed:is(.themes-php, .theme-install-php) .theme-browser .themes {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
	padding: 0;
}
body.plinth.pl-designed:is(.themes-php, .theme-install-php) .theme-browser .themes::before,
body.plinth.pl-designed:is(.themes-php, .theme-install-php) .theme-browser .themes::after,
body.plinth.pl-designed:is(.themes-php, .theme-install-php) .theme-browser .themes > br {
	display: none;
}
body.plinth.pl-designed.pl-has-theme-hero.themes-php .theme-browser .theme.active {
	display: none;
}
body.plinth.pl-designed:is(.themes-php, .theme-install-php) .theme-browser .theme {
	position: relative;
	display: flex;
	flex-direction: column;
	float: none;
	width: auto;
	margin: 0;
	background: var(--pl-surface);
	border: 1px solid var(--pl-border);
	border-radius: 12px;
	box-shadow: none;
	overflow: hidden;
}
body.plinth.pl-designed:is(.themes-php, .theme-install-php) .theme-browser .theme:not(.add-new-theme):hover {
	border-color: var(--pl-border-strong);
}
body.plinth.pl-designed:is(.themes-php, .theme-install-php) .theme-browser .theme .theme-screenshot {
	height: 190px;
	background: var(--pl-surface-2);
	border-bottom: 1px solid var(--pl-border);
}
body.plinth.pl-designed.theme-install-php .theme-browser .theme .theme-screenshot {
	height: 170px;
}
body.plinth.pl-designed:is(.themes-php, .theme-install-php) .theme-browser .theme .theme-screenshot::after {
	display: none;
}
body.plinth.pl-designed:is(.themes-php, .theme-install-php) .theme-browser .theme .theme-screenshot img {
	position: static;
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: top center;
}
body.plinth.pl-designed:is(.themes-php, .theme-install-php) .theme-browser .theme .more-details {
	top: 70px;
	left: 50%;
	right: auto;
	width: auto;
	height: 30px;
	padding: 0 12px;
	transform: translateX(-50%);
	border-radius: 7px;
	line-height: 30px;
	font-size: 12.5px;
	white-space: nowrap;
}
body.plinth.pl-designed:is(.themes-php, .theme-install-php) .theme-browser .theme .theme-author {
	display: none;
}
body.plinth.pl-designed:is(.themes-php, .theme-install-php) .theme-browser .theme .theme-id-container {
	position: static;
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 12px 14px;
}
body.plinth.pl-designed:is(.themes-php, .theme-install-php) .theme-browser .theme .theme-name {
	display: block;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
	flex: 1;
	min-width: 0;
	height: auto;
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	box-shadow: none;
	color: var(--pl-text);
	font-size: 13.5px;
	font-weight: 600;
	line-height: 1.35;
}
.pl-theme-ver,
.pl-theme-by {
	display: block;
	margin-top: 2px;
	overflow: hidden;
	text-overflow: ellipsis;
	color: var(--pl-text-3);
	font-size: 12px;
	font-weight: 400;
	font-variant-numeric: tabular-nums;
}
body.plinth.pl-designed:is(.themes-php, .theme-install-php) .theme-browser .theme .theme-actions {
	position: static;
	display: flex;
	align-items: center;
	gap: 6px;
	flex: none;
	height: auto;
	padding: 0;
	opacity: 1;
	transform: none;
	background: none;
	border: 0;
	box-shadow: none;
}
body.plinth.pl-designed:is(.themes-php, .theme-install-php) .theme-browser .theme .theme-actions .button {
	float: none;
	height: 28px;
	min-height: 0;
	margin: 0;
	padding: 0 10px;
	font-size: 12.5px;
	line-height: 26px;
}
body.plinth.pl-designed:is(.themes-php, .theme-install-php) .theme-browser .theme .theme-actions .load-customize.pl-done,
body.plinth.pl-designed:is(.themes-php, .theme-install-php) .theme-browser .theme .theme-actions .install-theme-preview {
	background: transparent;
	border-color: transparent;
	color: var(--pl-text-2);
}
body.plinth.pl-designed:is(.themes-php, .theme-install-php) .theme-browser .theme .theme-actions .load-customize.pl-done:hover,
body.plinth.pl-designed:is(.themes-php, .theme-install-php) .theme-browser .theme .theme-actions .install-theme-preview:hover {
	background: var(--pl-surface-2);
	color: var(--pl-text);
}
body.plinth.pl-designed:is(.themes-php, .theme-install-php) .theme-browser .theme .theme-actions :is(.install-theme-preview, .load-customize.pl-done) {
	order: -1;
}
body.plinth.pl-designed:is(.themes-php, .theme-install-php) .theme-browser .theme .theme-actions :is(.activate, .theme-install) {
	background: var(--pl-surface-2);
	border: 1px solid var(--pl-border-strong);
	color: var(--pl-text);
}
body.plinth.pl-designed:is(.themes-php, .theme-install-php) .theme-browser .theme .theme-actions :is(.activate, .theme-install):hover {
	background: var(--pl-surface-3);
	color: var(--pl-text);
}
body.plinth.pl-designed:is(.themes-php, .theme-install-php) .theme-browser .theme .notice {
	margin: 0;
	border-width: 0 0 1px;
	border-radius: 0;
}

/* "Add a theme" card. */
body.plinth.pl-designed.themes-php .theme-browser .theme.add-new-theme {
	min-height: 240px;
	background: transparent;
	border: 1px dashed var(--pl-border-strong);
}
body.plinth.pl-designed.themes-php .theme-browser .theme.add-new-theme:hover {
	border-color: var(--pl-accent);
}
body.plinth.pl-designed.themes-php .theme-browser .add-new-theme a {
	display: flex;
	flex: 1;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 10px;
	color: var(--pl-text-2);
	text-decoration: none;
}
body.plinth.pl-designed.themes-php .theme-browser .add-new-theme a::after {
	display: none;
}
body.plinth.pl-designed.themes-php .theme-browser .add-new-theme .theme-screenshot {
	height: auto;
	background: none;
	border: 0;
}
body.plinth.pl-designed.themes-php .theme-browser .add-new-theme .theme-screenshot span {
	position: static;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--pl-surface-2);
	color: var(--pl-text-2);
	transform: none;
}
body.plinth.pl-designed.themes-php .theme-browser .add-new-theme .theme-screenshot span::after {
	display: none;
}
body.plinth.pl-designed.themes-php .theme-browser .add-new-theme .theme-screenshot span .pl-ico {
	width: 20px;
	height: 20px;
}
body.plinth.pl-designed.themes-php .theme-browser .add-new-theme a:hover .theme-screenshot span {
	background: var(--pl-accent);
	color: var(--pl-on-accent);
}
body.plinth.pl-designed.themes-php .theme-browser .add-new-theme .theme-name {
	position: static;
	display: block;
	margin: 0;
	padding: 0;
	flex: none;
	height: auto;
	color: var(--pl-text);
	font-size: 13.5px;
	text-align: center;
}
.pl-theme-add__sub {
	color: var(--pl-text-3);
	font-size: 12px;
}
body.plinth.pl-designed.themes-php .theme-browser .add-new-theme .pl-theme-add__sub::after {
	display: none;
}

/* Add theme toolbar. */
body.plinth.pl-designed.theme-install-php .wp-filter {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 16px;
	padding: 0;
	background: none;
	border: 0;
	box-shadow: none;
}
body.plinth.pl-designed.theme-install-php .wp-filter .search-form {
	flex: none;
	order: -1;
	float: none;
	margin: 0;
}
body.plinth.pl-designed.theme-install-php .wp-filter .search-box {
	margin: 0;
}
body.plinth.pl-designed.theme-install-php .wp-filter label.pl-search {
	width: min(320px, 24vw);
}
body.plinth.pl-designed.theme-install-php .wp-filter .search-form > label:not(.pl-search),
body.plinth.pl-designed.theme-install-php .wp-filter .search-box > label:not(.pl-search) {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip-path: inset(50%);
}
body.plinth.pl-designed.theme-install-php .wp-filter .filter-links {
	display: flex;
	flex: 0 1 auto;
	min-width: 0;
	overflow-x: auto;
	scrollbar-width: none;
	gap: 6px;
	float: none;
	margin: 0 auto 0 0;
}
body.plinth.pl-designed.theme-install-php .wp-filter .filter-links li {
	flex: none;
	margin: 0;
}
body.plinth.pl-designed.theme-install-php .wp-filter .filter-links li > a {
	display: inline-flex;
	align-items: center;
	height: 30px;
	margin: 0;
	padding: 0 12px;
	border: 1px solid var(--pl-border-strong);
	border-radius: 15px;
	background: var(--pl-surface-2);
	color: var(--pl-text-2);
	font-size: 12.5px;
	font-weight: 500;
	box-sizing: border-box;
}
body.plinth.pl-designed.theme-install-php .wp-filter .filter-links li > a:hover {
	color: var(--pl-text);
	background: var(--pl-surface-3);
}
body.plinth.pl-designed.theme-install-php .wp-filter .filter-links li > a.current {
	border-color: transparent;
	background: var(--pl-accent-soft);
	color: color-mix(in srgb, var(--pl-accent) 60%, var(--pl-text));
}
body.plinth.pl-designed.theme-install-php .wp-filter :is(.drawer-toggle, .pl-theme-upload) {
	flex: none;
	float: none;
	height: 32px;
	margin: 0;
	padding: 0 12px;
	line-height: 30px;
}
body.plinth.pl-designed.theme-install-php .wp-filter .drawer-toggle::before {
	display: none;
}
body.plinth.pl-designed.theme-install-php .wp-filter .filter-drawer {
	flex-basis: 100%;
}
body.plinth.pl-designed.theme-install-php .wp-filter {
	flex-wrap: nowrap;
}
body.plinth.pl-designed.theme-install-php.show-filters .wp-filter,
body.plinth.pl-designed.theme-install-php.filters-applied .wp-filter {
	flex-wrap: wrap;
}
body.plinth.pl-designed:is(.themes-php, .theme-install-php) .theme-browser .theme .theme-actions .button.disabled {
	background: transparent;
	border: 1px solid var(--pl-border);
	color: var(--pl-text-3);
}
body.plinth.pl-designed.theme-install-php .upload-theme .wp-upload-form {
	margin: 0 0 20px;
	padding: 40px;
	background: var(--pl-surface);
	border: 1px dashed var(--pl-border-strong);
	border-radius: 12px;
	color: var(--pl-text-2);
}

@media (max-width: 1100px) {
	.pl-theme-hero {
		grid-template-columns: minmax(0, 1fr);
	}
	.pl-theme-hero__shot {
		/* The image is absolutely placed, so the box needs its own height
		   (theme screenshots are 4:3); without it the details sat under it
		   (nhsdachurch H2). */
		min-height: 0;
		aspect-ratio: 4 / 3;
		border-right: 0;
		border-bottom: 1px solid var(--pl-border);
	}
	body.plinth.pl-designed:is(.themes-php, .theme-install-php) .theme-browser .themes {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}
@media (max-width: 640px) {
	body.plinth.pl-designed:is(.themes-php, .theme-install-php) .theme-browser .themes {
		grid-template-columns: minmax(0, 1fr);
	}
	body.plinth.pl-designed.theme-install-php .wp-filter label.pl-search {
		width: 100%;
	}
}
body.plinth.pl-designed.theme-install-php.show-upload-view .upload-theme .install-help {
	margin: 0 0 10px;
	color: var(--pl-text-2);
	font-size: 13.5px;
	text-align: left;
}
body.plinth.pl-designed.theme-install-php.show-upload-view .upload-theme {
	margin: 0 0 20px;
}

body.plinth .pl-switch-btn.is-locked {
	opacity: 0.45;
	cursor: not-allowed;
}
/* theme-install.php: the active theme's Customize link (white in core). */
body.plinth.pl-designed:is(.themes-php, .theme-install-php) .theme-browser .theme .theme-actions .load-customize:not(.pl-done) {
	background: var(--pl-surface-2);
	border: 1px solid var(--pl-border-strong);
	color: var(--pl-text);
}
/* Users: keep the name readable when plugins add columns. */
body.plinth.users-php .column-pl_user {
	min-width: 220px;
}
body.plinth.users-php .pl-user__text strong {
	white-space: nowrap;
}

/* ==========================================================================
   34. Brochure-site dashboard — Case study: Winora → dashboard
   ========================================================================== */
.pl-simple {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 12px 8px 12px 14px;
	border-radius: 10px;
	background: color-mix(in srgb, var(--pl-accent) 16%, transparent);
	box-shadow: inset 3px 0 0 var(--pl-accent);
}
.pl-simple > .pl-ico {
	flex: none;
	width: 16px;
	height: 16px;
	margin-top: 2px;
	color: color-mix(in srgb, var(--pl-accent) 55%, var(--pl-text));
}
.pl-simple__text {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 3px;
	min-width: 0;
}
.pl-simple__text strong {
	color: var(--pl-text);
	font-size: 13.5px;
	font-weight: 600;
}
.pl-simple__text span {
	color: var(--pl-text-2);
	font-size: 12.5px;
	line-height: 1.55;
}
body.plinth .pl-overview .button.pl-simple__link {
	height: 28px;
	min-height: 0;
	padding: 0 10px;
	color: color-mix(in srgb, var(--pl-accent) 55%, var(--pl-text));
	font-size: 12.5px;
}
body.plinth .pl-simple__close {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: none;
	width: 28px;
	height: 28px;
	padding: 0;
	border: 0;
	border-radius: 7px;
	background: transparent;
	color: var(--pl-text-3);
	cursor: pointer;
}
body.plinth .pl-simple__close:hover {
	background: var(--pl-surface-3);
	color: var(--pl-text);
}
.pl-simple__close .pl-ico {
	width: 14px;
	height: 14px;
}
.pl-grid--wide {
	grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
}
.pl-card2__titles {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}
body.plinth .pl-card2__titles p {
	margin: 0;
	color: var(--pl-text-3);
	font-size: 12.5px;
}
.pl-card2__aside {
	color: var(--pl-text-3);
	font-size: 12px;
}
.pl-overview--brochure .pl-card2.pl-enq,
.pl-overview--brochure .pl-card2.pl-editpages {
	gap: 6px;
}

/* Enquiries. */
.pl-enq__list {
	margin-top: 6px;
}
.pl-enq__row {
	display: grid;
	grid-template-columns: 34px minmax(0, 1fr) auto;
	align-items: start;
	gap: 12px;
	padding: 12px 0;
	border-top: 1px solid var(--pl-border);
}
.pl-enq__row .pl-avatar {
	width: 34px;
	height: 34px;
	font-size: 11px;
}
.pl-enq__body {
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
}
.pl-enq__meta {
	display: flex;
	align-items: center;
	gap: 8px;
	min-width: 0;
}
.pl-enq__meta strong {
	color: var(--pl-text);
	font-size: 13.5px;
	font-weight: 600;
	white-space: nowrap;
}
.pl-enq__topic {
	display: inline-flex;
	align-items: center;
	height: 20px;
	padding: 0 7px;
	overflow: hidden;
	border: 1px solid var(--pl-border);
	border-radius: 5px;
	background: var(--pl-surface-2);
	color: var(--pl-text-2);
	font-size: 11.5px;
	white-space: nowrap;
	text-overflow: ellipsis;
}
.pl-enq__when {
	color: var(--pl-text-3);
	font-size: 12px;
	white-space: nowrap;
}
body.plinth .pl-enq__body p {
	margin: 0;
	overflow: hidden;
	color: var(--pl-text-2);
	font-size: 12.5px;
	line-height: 1.5;
	white-space: nowrap;
	text-overflow: ellipsis;
}
.pl-enq__acts {
	display: flex;
	align-items: center;
	gap: 6px;
}
body.plinth .pl-enq__acts .button {
	height: 26px;
	min-height: 0;
	padding: 0 10px;
	font-size: 12.5px;
	line-height: 24px;
}
.pl-enq__row[data-state="new"] .pl-enq__on-done,
.pl-enq__row[data-state="done"] .pl-enq__on-new {
	display: none;
}

/* Security. */
.pl-sec__total {
	display: flex;
	align-items: baseline;
	gap: 8px;
}
.pl-sec__total strong {
	color: var(--pl-text);
	font-size: 28px;
	font-weight: 650;
	letter-spacing: -0.02em;
	font-variant-numeric: tabular-nums;
}
.pl-sec__total span {
	color: var(--pl-text-3);
	font-size: 12.5px;
}
.pl-sec__rows {
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.pl-sec__row {
	display: grid;
	grid-template-columns: 30px 110px minmax(0, 1fr) 28px;
	align-items: center;
	gap: 10px;
	font-size: 12.5px;
}
.pl-sec__code {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 20px;
	border-radius: 5px;
	background: var(--pl-surface-3);
	color: var(--pl-text-2);
	font-size: 10.5px;
	font-weight: 700;
}
.pl-sec__name {
	overflow: hidden;
	color: var(--pl-text-2);
	white-space: nowrap;
	text-overflow: ellipsis;
}
.pl-sec__bar {
	height: 8px;
	overflow: hidden;
	border-radius: 4px;
	background: var(--pl-surface-3);
}
.pl-sec__bar span {
	display: block;
	height: 100%;
	border-radius: 4px;
	background: var(--pl-accent);
}
.pl-sec__n {
	color: var(--pl-text);
	font-weight: 600;
	text-align: right;
	font-variant-numeric: tabular-nums;
}
.pl-sec__note {
	display: flex;
	align-items: center;
	gap: 8px;
	padding-top: 12px;
	border-top: 1px solid var(--pl-border);
	color: var(--pl-text-2);
	font-size: 12.5px;
}
.pl-sec__note .pl-ico {
	width: 14px;
	height: 14px;
	color: var(--pl-text-3);
}
.pl-sec > .pl-more {
	align-self: flex-start;
}

/* Edit your pages. */
.pl-editpages__list {
	margin-top: 8px;
}
.pl-editpages__row {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 9px 0;
	border-top: 1px solid var(--pl-border);
}
.pl-editpages__row > .pl-ico {
	flex: none;
	width: 14px;
	height: 14px;
	color: var(--pl-text-3);
}
.pl-editpages__title {
	flex: 1;
	min-width: 0;
	overflow: hidden;
	color: var(--pl-text);
	font-size: 13px;
	font-weight: 500;
	white-space: nowrap;
	text-overflow: ellipsis;
}
body.plinth .pl-editpages__row .button {
	height: 26px;
	min-height: 0;
	padding: 0 10px;
	font-size: 12.5px;
	line-height: 24px;
}

/* Visits. */
.pl-visits__state {
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.pl-visits__state[hidden] {
	display: none;
}
.pl-visits__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 10px;
	background: var(--pl-surface-3);
	color: var(--pl-text-2);
}
.pl-visits__icon .pl-ico {
	width: 18px;
	height: 18px;
}
.pl-visits__state > strong {
	color: var(--pl-text);
	font-size: 14px;
	font-weight: 600;
}
.pl-visits__help {
	color: var(--pl-text-2);
	font-size: 12.5px;
	line-height: 1.55;
}
.pl-visits__state[data-state="testing"] {
	padding: 16px 0;
}
.pl-visits__spin {
	display: flex;
	align-items: center;
	gap: 8px;
	color: var(--pl-text);
	font-size: 13px;
	font-weight: 500;
}
.pl-spinner {
	flex: none;
	width: 14px;
	height: 14px;
	box-sizing: border-box;
	border: 2px solid var(--pl-border-strong);
	border-top-color: var(--pl-accent);
	border-radius: 50%;
	animation: pl-spin 0.8s linear infinite;
}
.pl-visits__track {
	position: relative;
	display: block;
	width: 100%;
	height: 4px;
	overflow: hidden;
	border-radius: 2px;
	background: var(--pl-surface-3);
}
.pl-visits__track span {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	width: 40%;
	border-radius: 2px;
	background: var(--pl-accent);
	animation: pl-bar 1.1s ease-in-out infinite;
}
.pl-visits__alert {
	display: flex;
	gap: 10px;
	padding: 12px;
	border-radius: 10px;
	background: color-mix(in srgb, var(--pl-warn) 14%, transparent);
	box-shadow: inset 3px 0 0 var(--pl-warn);
}
.pl-visits__alert--good {
	background: color-mix(in srgb, var(--pl-success) 14%, transparent);
	box-shadow: inset 3px 0 0 var(--pl-success);
}
.pl-visits__alert > .pl-ico {
	flex: none;
	width: 16px;
	height: 16px;
	margin-top: 1px;
}
.pl-visits__alert > div {
	display: flex;
	flex-direction: column;
	gap: 3px;
}
.pl-visits__alert strong {
	color: var(--pl-text);
	font-size: 13px;
	font-weight: 600;
}
.pl-visits__alert span {
	color: var(--pl-text-2);
	font-size: 12.5px;
	line-height: 1.5;
}
.pl-visits__alert code {
	padding: 0;
	background: none;
	font-family: var(--pl-mono);
	font-size: 11.5px;
}
.pl-visits__acts {
	display: flex;
	gap: 8px;
}
body.plinth .pl-visits__steps {
	margin: 0;
	padding-left: 18px;
	color: var(--pl-text-2);
	font-size: 12.5px;
	line-height: 1.55;
	list-style: disc;
}
.pl-visits__bars {
	display: flex;
	align-items: flex-end;
	gap: 2px;
	height: 64px;
}
.pl-visits__bars span {
	flex: 1;
	min-height: 2px;
	border-radius: 2px 2px 0 0;
	background: color-mix(in srgb, var(--pl-accent) 70%, transparent);
}
@media (max-width: 1100px) {
	.pl-grid--wide {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* ==========================================================================
   35. Pages grouped by purpose — Case study: Winora → pages
   ========================================================================== */
.pl-simple--warn {
	background: color-mix(in srgb, var(--pl-warn) 14%, transparent);
	box-shadow: inset 3px 0 0 var(--pl-warn);
}
.pl-simple--warn > .pl-ico {
	color: var(--pl-warn);
}
.pl-pages-warn {
	margin: 0 0 20px;
}
.pl-simple__acts {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 6px;
}
.pl-simple__acts form {
	margin: 0;
}
body.plinth .pl-simple__acts .button {
	height: 28px;
	min-height: 0;
	padding: 0 10px;
	font-size: 12.5px;
	line-height: 26px;
}
.pl-groupby {
	display: flex;
	align-items: center;
	gap: 10px;
}
.pl-groupby__label {
	color: var(--pl-text-3);
	font-size: 12.5px;
}
body.plinth.pl-pages-grouped .pl-slug,
body.plinth.pl-pages-grouped .pl-pager {
	display: none;
}
body.plinth.pl-pages-grouped .wp-list-table .column-pl_menus { width: 190px; }
body.plinth.pl-pages-grouped .wp-list-table .column-author { width: 190px; }
body.plinth.pl-pages-grouped .wp-list-table .column-date { width: 150px; }
body.plinth.pl-pages-grouped .wp-list-table .column-pl_actions { width: 236px; }
body.plinth.pl-pages-grouped #the-list > tr[id^="post-"] > * {
	height: 52px;
}
body.plinth.pl-pages-grouped #the-list > tr[hidden] {
	display: none;
}
.pl-menus {
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
}
.pl-tag {
	display: inline-flex;
	align-items: center;
	height: 20px;
	padding: 0 7px;
	border: 1px solid var(--pl-border);
	border-radius: 5px;
	background: var(--pl-surface-2);
	color: var(--pl-text-2);
	font-size: 11.5px;
}
.pl-menus .pl-dash {
	color: var(--pl-text-3);
	font-size: 12.5px;
}
body.plinth .wp-list-table strong > .post-state.pl-state-accent {
	background: var(--pl-accent-soft);
	color: color-mix(in srgb, var(--pl-accent) 55%, var(--pl-text));
}
body.plinth .wp-list-table strong > .post-state.pl-state-warn {
	background: color-mix(in srgb, var(--pl-warn) 14%, transparent);
	color: var(--pl-warn);
}
/* Group headers. */
body.plinth.pl-pages-grouped #the-list > tr.pl-grouphead > td {
	height: 42px;
	padding: 0;
	border-top: 1px solid var(--pl-border);
	background: var(--pl-surface-2);
}
body.plinth .pl-grouphead__btn {
	display: flex;
	align-items: center;
	gap: 10px;
	width: 100%;
	height: 42px;
	padding: 0 16px 0 14px;
	border: 0;
	background: transparent;
	color: var(--pl-text);
	text-align: left;
	cursor: pointer;
}
body.plinth .pl-grouphead__btn:hover {
	background: color-mix(in srgb, var(--pl-text) 3%, transparent);
}
.pl-grouphead__btn > .pl-ico {
	width: 14px;
	height: 14px;
	color: var(--pl-text-3);
	transition: transform 0.15s ease;
}
.pl-grouphead__btn[aria-expanded="true"] > .pl-ico {
	transform: rotate(90deg);
}
.pl-grouphead__name {
	font-size: 13px;
	font-weight: 600;
}
.pl-grouphead__hint {
	color: var(--pl-text-3);
	font-size: 12px;
}
body.plinth.pl-pages-grouped #the-list > tr.pl-grouphead:hover {
	background: none;
}
/* Hover actions. */
.pl-row-acts {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 6px;
}
body.plinth.pl-pages-grouped #the-list tr:not(:hover):not(:focus-within) .pl-row-acts {
	visibility: hidden;
}
body.plinth .pl-row-acts > .button {
	height: 26px;
	min-height: 0;
	padding: 0 10px;
	font-size: 12.5px;
	line-height: 24px;
}
.pl-row-acts > .button .pl-ico {
	margin-right: 6px;
	vertical-align: -3px;
}
.pl-row-more {
	position: relative;
}
body.plinth .pl-row-more__btn {
	width: 28px;
	height: 26px;
	min-height: 0;
	padding: 0;
	line-height: 24px;
	text-align: center;
}
.pl-row-more__btn .pl-ico {
	width: 15px;
	height: 15px;
	vertical-align: -3px;
}
body.plinth.pl-pages-grouped #the-list .pl-row-more .row-actions.pl-row-more__menu {
	position: absolute;
	top: calc(100% + 4px);
	right: 0;
	left: auto;
	z-index: 20;
	display: none;
	flex-direction: column;
	gap: 0;
	min-width: 170px;
	margin: 0;
	padding: 4px;
	background: var(--pl-surface-2);
	border: 1px solid var(--pl-border-strong);
	border-radius: 9px;
	box-shadow: var(--pl-shadow);
	font-size: 0;
}
body.plinth.pl-pages-grouped #the-list .pl-row-more.is-open .row-actions.pl-row-more__menu {
	display: flex;
}
body.plinth.pl-pages-grouped #the-list .pl-row-more__menu > span {
	display: block;
}
body.plinth.pl-pages-grouped #the-list .pl-row-more__menu :is(a, button.button-link) {
	display: block;
	width: 100%;
	padding: 6px 10px;
	border-radius: 6px;
	color: var(--pl-text);
	font-size: 12.5px;
	line-height: 1.4;
	text-align: left;
	box-sizing: border-box;
}
body.plinth.pl-pages-grouped #the-list .pl-row-more__menu :is(a, button.button-link):hover {
	background: var(--pl-surface-3);
	text-decoration: none;
}

body.plinth.pl-pages-grouped .wp-list-table:has(.pl-row-more.is-open),
body.plinth.pl-pages-grouped #posts-filter:has(.pl-row-more.is-open) .wp-list-table {
	overflow: visible;
}
body.plinth.pl-pages-grouped #the-list .pl-row-more__menu > span {
	line-height: 0;
}
body.plinth.pl-pages-grouped #the-list tr:has(.pl-row-more.is-open) .pl-row-acts {
	visibility: visible;
}

/* ==========================================================================
   36. Menu organiser — Case study: Winora → menu
   ========================================================================== */
.pl-org {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 560px;
	align-items: start;
	gap: 16px;
}
.pl-org__arrange,
.pl-org__card {
	background: var(--pl-surface);
	border: 1px solid var(--pl-border);
	border-radius: 12px;
}
.pl-org__arrange {
	overflow: hidden;
}
.pl-org__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 16px 18px;
}
body.plinth .pl-org__head h2,
body.plinth .pl-org__card h2 {
	margin: 0;
	color: var(--pl-text);
	font-size: 14px;
	font-weight: 600;
}
body.plinth .pl-org__head p {
	margin: 2px 0 0;
	color: var(--pl-text-3);
	font-size: 12.5px;
}
body.plinth .pl-org__list {
	margin: 0;
	padding: 0;
	list-style: none;
}
body.plinth .pl-org__group {
	margin: 0;
	padding: 10px 18px 6px;
	border-top: 1px solid var(--pl-border);
	background: var(--pl-surface-2);
	color: var(--pl-text-3);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}
body.plinth .pl-org__item {
	display: grid;
	grid-template-columns: 20px 28px minmax(0, 1fr) 34px;
	align-items: center;
	gap: 10px;
	min-height: 44px;
	margin: 0;
	padding: 4px 10px 4px 8px;
	border-top: 1px solid var(--pl-border);
	background: var(--pl-surface);
	box-sizing: border-box;
}
.pl-org__item.is-off {
	opacity: 0.55;
}
.pl-org__grip {
	display: flex;
	justify-content: center;
	color: var(--pl-text-3);
	cursor: grab;
}
.pl-org__item.is-fixed .pl-org__grip {
	visibility: hidden;
}
.pl-org__grip .pl-ico {
	width: 14px;
	height: 14px;
}
.pl-org__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	border-radius: 7px;
	background: var(--pl-surface-3);
	color: var(--pl-text-2);
}
.pl-org__icon .pl-ico {
	width: 15px;
	height: 15px;
}
.pl-org__text {
	display: flex;
	flex-direction: column;
	gap: 1px;
	min-width: 0;
}
.pl-org__label {
	color: var(--pl-text);
	font-size: 13px;
	font-weight: 500;
}
.pl-org__note {
	overflow: hidden;
	color: var(--pl-text-3);
	font-size: 11.5px;
	white-space: nowrap;
	text-overflow: ellipsis;
}
body.plinth .pl-org__eye,
.pl-org__lock {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	padding: 0;
	border: 0;
	border-radius: 7px;
	background: transparent;
	color: color-mix(in srgb, var(--pl-accent) 55%, var(--pl-text));
	cursor: pointer;
}
.pl-org__lock {
	color: var(--pl-text-3);
	cursor: default;
}
body.plinth .pl-org__eye:hover {
	background: var(--pl-surface-3);
}
.pl-org__eye[aria-pressed="false"] {
	color: var(--pl-text-3);
}
.pl-org__eye .pl-ico,
.pl-org__lock .pl-ico {
	width: 15px;
	height: 15px;
}
.pl-org__eye[aria-pressed="true"] .pl-org__off,
.pl-org__eye[aria-pressed="false"] .pl-org__on {
	display: none;
}
.pl-org__ph {
	height: 44px;
	border-top: 1px solid var(--pl-border);
	background: var(--pl-accent-soft);
	list-style: none;
}
.pl-org__item.ui-sortable-helper {
	border: 1px solid var(--pl-border-strong);
	border-radius: 8px;
	box-shadow: var(--pl-shadow);
}
.pl-org__side {
	display: flex;
	flex-direction: column;
	gap: 16px;
}
.pl-org__card {
	display: flex;
	flex-direction: column;
	gap: 14px;
	padding: 16px 18px;
}
.pl-org__compare {
	display: grid;
	grid-template-columns: 1fr 1fr;
	align-items: start;
	gap: 14px;
}
.pl-org__compare > div {
	display: flex;
	flex-direction: column;
	gap: 8px;
	min-width: 0;
}
.pl-org__cap {
	display: flex;
	flex-direction: column;
	gap: 1px;
}
.pl-org__cap strong {
	color: var(--pl-text);
	font-size: 12.5px;
	font-weight: 600;
}
.pl-org__cap span {
	color: var(--pl-text-3);
	font-size: 11.5px;
}
.pl-org__mini {
	padding: 6px;
	border: 1px solid var(--pl-border);
	border-radius: 10px;
	background: var(--pl-chrome);
}
.pl-org__mini-group {
	padding: 10px 10px 4px;
	color: var(--pl-text-3);
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}
.pl-org__mini-item {
	display: flex;
	align-items: center;
	gap: 8px;
	height: 28px;
	padding: 0 10px;
	border-radius: 6px;
	color: var(--pl-text-2);
	font-size: 12px;
}
.pl-org__mini-item .pl-ico {
	flex: none;
	width: 14px;
	height: 14px;
	color: var(--pl-text-3);
}
.pl-org__mini-item span:first-of-type {
	flex: 1;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}
.pl-org__mini-count {
	min-width: 18px;
	height: 16px;
	padding: 0 5px;
	border-radius: 8px;
	background: var(--pl-warn);
	color: var(--pl-bg);
	font-size: 10.5px;
	font-weight: 700;
	line-height: 16px;
	text-align: center;
}
.pl-org__moves {
	gap: 4px;
}
body.plinth .pl-org__moves h2 {
	margin-bottom: 6px;
}
.pl-org__move {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 16px minmax(0, 1fr);
	align-items: center;
	gap: 10px;
	padding: 9px 0;
	border-top: 1px solid var(--pl-border);
	font-size: 12.5px;
}
.pl-org__move span {
	color: var(--pl-text-2);
}
.pl-org__move .pl-ico {
	width: 14px;
	height: 14px;
	color: var(--pl-text-3);
}
.pl-org__move .pl-org__to {
	color: var(--pl-text);
}
/* The merged Security item's counter is neutral, not an alert. */
body.plinth #adminmenu .pl-menu-security .awaiting-mod.pl-count-neutral {
	background: var(--pl-surface-3);
	color: var(--pl-text-2);
}
@media (max-width: 1200px) {
	.pl-org {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* ==========================================================================
   37. Match your site — Case study: Winora → brand
   ========================================================================== */
.pl-match__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}
.pl-match__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px;
	padding: 0 20px;
}
body.plinth .pl-match__sw {
	display: grid;
	grid-template-columns: 40px minmax(0, 1fr) auto;
	align-items: center;
	gap: 12px;
	width: 100%;
	padding: 8px 10px;
	border: 1px solid var(--pl-border);
	border-radius: 10px;
	background: transparent;
	color: var(--pl-text);
	text-align: left;
	cursor: pointer;
}
body.plinth .pl-match__sw:hover {
	background: color-mix(in srgb, var(--pl-text) 3%, transparent);
}
body.plinth .pl-match__sw[aria-pressed="true"] {
	border-color: var(--pl-accent);
	background: var(--pl-accent-soft);
}
.pl-match__chip {
	width: 40px;
	height: 40px;
	border-radius: 9px;
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}
.pl-match__text {
	display: flex;
	flex-direction: column;
	gap: 1px;
	min-width: 0;
}
.pl-match__text strong {
	font-size: 13px;
	font-weight: 600;
}
.pl-match__text code {
	padding: 0;
	background: none;
	color: var(--pl-text-3);
	font-family: var(--pl-mono);
	font-size: 11.5px;
}
.pl-match__sw:not([aria-pressed="true"]) .pl-match__on {
	display: none;
}
.pl-match__verdict {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin: 14px 20px 0;
	padding: 14px;
	border: 1px solid var(--pl-border);
	border-radius: 10px;
	background: var(--pl-surface-2);
}
.pl-match__verdict[hidden] {
	display: none;
}
.pl-match__vhead {
	display: flex;
	align-items: center;
	gap: 8px;
}
.pl-match__vhead .pl-ico {
	width: 16px;
	height: 16px;
}
.pl-match__vhead strong {
	color: var(--pl-text);
	font-size: 13px;
	font-weight: 600;
}
body.plinth .pl-match__verdict p {
	margin: 0;
	color: var(--pl-text-2);
	font-size: 12.5px;
	line-height: 1.55;
}
.pl-match__modes {
	display: flex;
	flex-direction: column;
	gap: 6px;
}
body.plinth .pl-match__mode {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 8px 10px;
	border: 1px solid var(--pl-border);
	border-radius: 8px;
	background: var(--pl-surface);
	text-align: left;
	cursor: pointer;
}
body.plinth .pl-match__mode[aria-checked="true"] {
	border-color: var(--pl-accent);
}
.pl-match__radio {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: none;
	width: 16px;
	height: 16px;
	box-sizing: border-box;
	border: 2px solid var(--pl-border-strong);
	border-radius: 50%;
}
.pl-match__radio span {
	width: 6px;
	height: 6px;
	border-radius: 50%;
}
.pl-match__mode[aria-checked="true"] .pl-match__radio {
	border-color: var(--pl-accent);
}
.pl-match__mode[aria-checked="true"] .pl-match__radio span {
	background: var(--pl-accent);
}
.pl-match__btn {
	display: inline-flex;
	align-items: center;
	height: 26px;
	padding: 0 10px;
	border-radius: 6px;
	font-size: 12px;
	font-weight: 600;
}
.pl-match__label {
	color: var(--pl-text-2);
	font-size: 12.5px;
}
.pl-match {
	padding-bottom: 18px;
}
/* Logo and type. */
.pl-logotype__logo {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 14px 20px;
	border-bottom: 1px solid var(--pl-border);
}
.pl-logotype__tile {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: none;
	width: 52px;
	height: 52px;
	overflow: hidden;
	border-radius: 12px;
	background: var(--pl-surface);
	color: var(--pl-text-3);
}
.pl-logotype__tile img {
	max-width: 44px;
	max-height: 44px;
	object-fit: contain;
}
.pl-logotype__text {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}
.pl-logotype__text strong {
	overflow: hidden;
	color: var(--pl-text);
	font-size: 13px;
	font-weight: 600;
	white-space: nowrap;
	text-overflow: ellipsis;
}
.pl-logotype__text span {
	color: var(--pl-text-3);
	font-size: 12px;
}
/* Brand preview. */
.pl-settings2__side {
	min-width: 0;
}
.pl-bpv__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}
.pl-bpv__head span {
	color: var(--pl-text-3);
	font-size: 12px;
}
.pl-bpv__admin {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border: 1px solid var(--pl-border-strong);
	border-radius: 12px;
}
.pl-bpv__bar {
	display: flex;
	align-items: center;
	gap: 8px;
	height: 40px;
	padding: 0 12px;
	border-bottom: 1px solid var(--pl-border);
	background: var(--pl-chrome);
}
.pl-bpv__badge {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	overflow: hidden;
	border-radius: 6px;
	background: var(--pl-accent);
	color: var(--pl-on-accent);
	font-size: 11px;
	font-weight: 700;
}
.pl-bpv__badge img {
	display: none;
	max-width: 18px;
	max-height: 18px;
}
.pl-bpv.has-bar-logo .pl-bpv__badge:has(img) {
	background: var(--pl-surface);
}
.pl-bpv.has-bar-logo .pl-bpv__badge img {
	display: block;
}
.pl-bpv.has-bar-logo .pl-bpv__badge:has(img) b {
	display: none;
}
.pl-bpv__name {
	color: var(--pl-text);
	font-size: 12.5px;
	font-weight: 600;
}
.pl-bpv__grow {
	flex: 1;
}
.pl-bpv__new,
.pl-bpv__primary {
	display: inline-flex;
	align-items: center;
	height: 24px;
	padding: 0 9px;
	border-radius: 6px;
	background: var(--pl-accent);
	color: var(--pl-on-accent);
	font-size: 11.5px;
	font-weight: 600;
}
.pl-bpv__body {
	display: grid;
	grid-template-columns: 130px 1fr;
	min-height: 200px;
	background: var(--pl-bg);
}
.pl-bpv__side {
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding: 8px;
	border-right: 1px solid var(--pl-border);
	background: var(--pl-chrome);
}
.pl-bpv__side span {
	display: flex;
	align-items: center;
	gap: 7px;
	height: 26px;
	padding: 0 8px;
	border-radius: 6px;
	color: var(--pl-text-2);
	font-size: 11.5px;
}
.pl-bpv__side span.is-on {
	background: var(--pl-surface-2);
	color: var(--pl-text);
}
.pl-bpv__side .pl-ico {
	width: 13px;
	height: 13px;
}
.pl-bpv__side .is-on .pl-ico {
	color: color-mix(in srgb, var(--pl-accent) 60%, var(--pl-text));
}
.pl-bpv__main {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 14px;
}
.pl-bpv__title {
	color: var(--pl-text);
	font-size: 17px;
	font-weight: 650;
	letter-spacing: -0.01em;
}
.pl-bpv.has-head-font .pl-bpv__title,
.pl-bpv.has-head-font .pl-bpv__signin {
	font-family: var(--pl-bpv-font), var(--pl-font);
	font-weight: 500;
}
.pl-bpv__chips {
	display: flex;
	gap: 6px;
}
.pl-bpv__row {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px;
	border: 1px solid var(--pl-border);
	border-radius: 9px;
	background: var(--pl-surface);
}
.pl-bpv__row span {
	flex: 1;
	color: var(--pl-text-2);
	font-size: 12px;
}
.pl-bpv__switch {
	position: relative;
	width: 38px;
	height: 22px;
	border-radius: 11px;
	background: var(--pl-accent);
}
.pl-bpv__switch::after {
	content: "";
	position: absolute;
	top: 2px;
	left: 18px;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: var(--pl-on-accent);
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}
.pl-bpv__btns {
	display: flex;
	gap: 8px;
}
.pl-bpv__primary {
	height: 28px;
	padding: 0 12px;
	border-radius: 7px;
	font-size: 12px;
}
.pl-bpv__secondary {
	display: inline-flex;
	align-items: center;
	height: 28px;
	padding: 0 12px;
	border: 1px solid var(--pl-border-strong);
	border-radius: 7px;
	background: var(--pl-surface-2);
	color: var(--pl-text);
	font-size: 12px;
}
.pl-bpv__login {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 300px;
	overflow: hidden;
	border: 1px solid var(--pl-border-strong);
	border-radius: 12px;
	background: var(--pl-bg);
}
.pl-bpv.has-login-brand .pl-bpv__login {
	background: var(--bg);
}
.pl-bpv__card {
	display: flex;
	flex-direction: column;
	gap: 12px;
	width: 250px;
	padding: 20px;
	border-radius: 12px;
	background: var(--pl-surface);
	box-shadow: 0 10px 30px rgba(16, 24, 40, 0.12);
	color: var(--pl-text);
	box-sizing: border-box;
}
.pl-bpv__brand {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 13px;
	font-weight: 600;
}
.pl-bpv__brand img {
	display: none;
	max-height: 28px;
}
.pl-bpv.has-login-brand .pl-bpv__brand img {
	display: block;
}
.pl-bpv__signin {
	font-size: 18px;
	font-weight: 650;
}
.pl-bpv__field {
	height: 30px;
	border: 1px solid var(--pl-border-strong);
	border-radius: 7px;
	background: var(--pl-input);
}
.pl-bpv__go {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 34px;
	border-radius: 8px;
	background: var(--pl-bpv-default, var(--pl-link));
	color: var(--pl-surface);
	font-size: 12.5px;
	font-weight: 600;
}
.pl-bpv.has-login-brand .pl-bpv__go {
	background: var(--pl-accent);
	color: var(--pl-on-accent);
}
.pl-bpv__login,
.pl-bpv__admin {
	margin-top: 0;
}
.pl-bpv {
	display: flex;
	flex-direction: column;
	gap: 14px;
}
.pl-scard__head.pl-match__head,
.pl-pvcard__head.pl-bpv__head {
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
}
.pl-match__head > div {
	display: flex;
	flex-direction: column;
	gap: 2px;
}
.pl-scard__head.pl-match__head {
	margin-bottom: 14px;
}
body.plinth .pl-match__text code {
	padding: 0;
	background: none;
	color: var(--pl-text-3);
	font-family: var(--pl-mono);
	font-size: 11.5px;
}
.pl-settings2__grid:has(.pl-bpv) {
	grid-template-columns: minmax(0, 1fr) 500px;
}
body.plinth .pl-match__sw .pl-match__text code {
	background: transparent;
	box-shadow: none;
}
body.plinth .pl-overview .pl-enq__row[data-state="new"] .pl-enq__on-done,
body.plinth .pl-overview .pl-enq__row[data-state="done"] .pl-enq__on-new {
	display: none;
}

/* ==========================================================================
   38. Upload plugin — replace & delete (class-plinth-upload.php + admin.js)
   Core WordPress, rethought → Upload plugin. Stepper, 820px cards.
   ========================================================================== */
body.plinth.pl-upflow.update-php #wpbody-content > .wrap {
	max-width: none;
}
body.plinth.pl-upflow .pl-up-hidden,
body.plinth.pl-upflow .pl-up-file-input {
	display: none !important;
}
.pl-up-stack {
	display: flex;
	flex-direction: column;
	gap: 20px;
	margin-top: 20px;
}
.pl-up-steps {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.pl-up-step {
	display: flex;
	align-items: center;
	gap: 8px;
	height: 32px;
	margin: 0;
	padding: 0 12px 0 6px;
	box-sizing: border-box;
	border: 1px solid var(--pl-border);
	border-radius: 16px;
	color: var(--pl-text-2);
	font-size: 12.5px;
	font-weight: 500;
}
.pl-up-step.is-current {
	border-color: var(--pl-accent);
	background: var(--pl-accent-soft);
	color: var(--pl-text);
}
.pl-up-step__n {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: var(--pl-surface-3);
	color: var(--pl-text-2);
	font-size: 11px;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
}
.pl-up-step.is-current .pl-up-step__n {
	background: var(--pl-accent);
	color: var(--pl-on-accent);
}
.pl-up-step.is-past .pl-up-step__n {
	background: var(--pl-accent-soft);
	color: color-mix(in srgb, var(--pl-accent) 60%, var(--pl-text));
}
.pl-up-step__line {
	width: 28px;
	height: 1px;
	margin: 0;
	background: var(--pl-border-strong);
}
.pl-up-card {
	display: flex;
	flex-direction: column;
	gap: 18px;
	width: 820px;
	max-width: 100%;
	box-sizing: border-box;
	padding: 24px;
	background: var(--pl-surface);
	border: 1px solid var(--pl-border);
	border-radius: 12px;
}
.pl-up-card form {
	display: flex;
	flex-direction: column;
	gap: 18px;
	margin: 0;
}
body.plinth .pl-up-card h2 {
	margin: 0;
	padding: 0;
	color: var(--pl-text);
	font-size: 17px;
	font-weight: 600;
	line-height: 1.3;
}
body.plinth .pl-up-card p {
	margin: 0;
	color: var(--pl-text-2);
	font-size: 13px;
}
.pl-up-card .pl-ico {
	width: 16px;
	height: 16px;
}

/* 1 · Choose file */
.pl-up-drop {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 10px;
	height: 230px;
	padding: 0 24px;
	border: 2px dashed var(--pl-border-strong);
	border-radius: 14px;
	color: var(--pl-text-2);
	text-align: center;
}
.pl-up-drop.is-over {
	border-color: var(--pl-accent);
	background: var(--pl-accent-soft);
}
.pl-up-drop__ico {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: var(--pl-accent-soft);
	color: color-mix(in srgb, var(--pl-accent) 60%, var(--pl-text));
}
.pl-up-card .pl-up-drop__ico .pl-ico {
	width: 26px;
	height: 26px;
}
.pl-up-drop__title {
	color: var(--pl-text);
	font-size: 16px;
	font-weight: 600;
}
.pl-up-drop__or {
	font-size: 13px;
}
.pl-up-drop__hint {
	color: var(--pl-text-3);
	font-size: 12px;
}
.pl-up-file {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 14px;
	border: 1px solid var(--pl-border);
	border-radius: 10px;
	background: var(--pl-surface-2);
}
.pl-up-file[hidden] {
	display: none;
}
.pl-up-file__ico {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: none;
	width: 36px;
	height: 36px;
	border-radius: 8px;
	background: var(--pl-surface-3);
	color: var(--pl-text-2);
}
.pl-up-file__text {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}
.pl-up-file__text strong {
	overflow: hidden;
	color: var(--pl-text);
	font-size: 13.5px;
	font-weight: 600;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.pl-up-file__text span {
	color: var(--pl-text-3);
	font-size: 12px;
}
/* Phones: the chip goes under the name so the line runs the full width
   (it wrapped onto 7 lines in a 117 px column at 390). */
@media screen and (max-width: 600px) {
	.pl-up-file {
		flex-wrap: wrap;
		align-items: flex-start;
	}
	.pl-up-file__text {
		flex: 1 1 calc(100% - 52px);
	}
	.pl-up-file__chip {
		order: 3;
		margin-left: 48px;
	}
}
.pl-up-file__text .pl-up-file__line {
	margin-top: 2px;
	color: var(--pl-text-2);
	font-size: 12.5px;
	line-height: 1.45;
}
.pl-up-foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
}
.pl-up-foot--end {
	justify-content: flex-end;
}
.pl-up-btns,
.pl-up-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}
body.plinth .pl-up-card .button {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin: 0;
}
body.plinth .pl-up-card .button .pl-ico {
	width: 15px;
	height: 15px;
}
body.plinth .pl-up-card .button.is-busy .pl-ico {
	display: none;
}
body.plinth .pl-up-card a.pl-up-backup,
body.plinth .pl-up-others__row a {
	display: inline-flex;
	align-items: center;
	gap: 3px;
	color: color-mix(in srgb, var(--pl-accent) 60%, var(--pl-text));
	font-size: 12.5px;
	font-weight: 500;
	text-decoration: none;
}
body.plinth .pl-up-card a.pl-up-backup:hover,
body.plinth .pl-up-others__row a:hover {
	text-decoration: underline;
}

/* 2 · Review */
.pl-up-who {
	display: flex;
	align-items: center;
	gap: 14px;
}
.pl-up-tile {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: none;
	width: 44px;
	height: 44px;
	border-radius: 11px;
	background: var(--pl-accent);
	color: var(--pl-on-accent);
	font-size: 14px;
	font-weight: 700;
	letter-spacing: -0.01em;
}
.pl-up-who__text {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}
.pl-up-compare {
	overflow: hidden;
	border: 1px solid var(--pl-border);
	border-radius: 10px;
}
.pl-up-compare__row {
	display: grid;
	grid-template-columns: 200px 1fr 1fr;
}
.pl-up-compare__row > span {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 11px 14px;
	border-top: 1px solid var(--pl-border);
	color: var(--pl-text);
	font-size: 13px;
	font-variant-numeric: tabular-nums;
}
.pl-up-compare__row > span:first-child {
	color: var(--pl-text-2);
}
.pl-up-compare__row.is-head > span {
	padding: 9px 14px;
	border-top: 0;
	background: var(--pl-surface-2);
	color: var(--pl-text-3);
	font-size: 11.5px;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}
.pl-up-compare__row > .pl-up-new.is-same {
	color: var(--pl-text-3);
}
.pl-up-compare__row > .pl-up-new.is-newer {
	background: color-mix(in srgb, var(--pl-success) 14%, transparent);
	font-weight: 600;
}
.pl-up-compare__row > .pl-up-new.is-older,
.pl-up-compare__row > .pl-up-new.is-changed {
	background: color-mix(in srgb, var(--pl-warn) 12%, transparent);
	font-weight: 600;
}
.pl-up-note {
	display: flex;
	gap: 12px;
	padding: 12px 14px;
	border-radius: 10px;
	background: color-mix(in srgb, var(--pl-warn) 14%, transparent);
	box-shadow: inset 3px 0 0 var(--pl-warn);
	color: var(--pl-text);
}
.pl-up-note > .pl-ico {
	margin-top: 1px;
	color: var(--pl-warn);
}
.pl-up-note > div {
	display: flex;
	flex-direction: column;
	gap: 3px;
}
.pl-up-note strong {
	font-size: 13px;
	font-weight: 600;
}
.pl-up-note span,
body.plinth .pl-up-note p,
.pl-up-note li {
	color: var(--pl-text-2);
	font-size: 12.5px;
	line-height: 1.55;
}
.pl-up-note--crit {
	background: color-mix(in srgb, var(--pl-crit) 14%, transparent);
	box-shadow: inset 3px 0 0 var(--pl-crit);
}
.pl-up-note--crit > .pl-ico {
	color: var(--pl-crit);
}
.pl-up-note ul {
	margin: 4px 0 0 18px;
}

/* 3 · Install */
.pl-up-install__head {
	display: flex;
	flex-direction: column;
	gap: 6px;
}
.pl-up-bar {
	position: relative;
	display: block;
	height: 4px;
	overflow: hidden;
	border-radius: 2px;
	background: var(--pl-surface-3);
}
.pl-up-bar span {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	width: 40%;
	border-radius: 2px;
	background: var(--pl-accent);
	animation: pl-bar 1.1s ease-in-out infinite;
}
.pl-up-bar.is-real span {
	width: 0;
	animation: none;
	transition: width 0.2s ease;
}
.pl-up-checks {
	margin: 0;
	padding: 0;
	list-style: none;
}
.pl-up-checks li {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0;
	padding: 10px 0;
	border-top: 1px solid var(--pl-border);
	color: var(--pl-text);
	font-size: 13.5px;
}
.pl-up-checks li.is-wait {
	color: var(--pl-text-3);
}
.pl-up-spin {
	flex: none;
	width: 16px;
	height: 16px;
	box-sizing: border-box;
	border: 2px solid var(--pl-border-strong);
	border-top-color: var(--pl-accent);
	border-radius: 50%;
	animation: pl-spin 0.8s linear infinite;
}

/* 4 · Done / error / delete */
.pl-up-done__head {
	display: flex;
	align-items: center;
	gap: 16px;
}
.pl-up-done__head--top {
	align-items: flex-start;
	gap: 14px;
}
.pl-up-done__ico {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: none;
	width: 52px;
	height: 52px;
	border-radius: 50%;
	background: color-mix(in srgb, var(--pl-success) 14%, transparent);
	color: var(--pl-success);
}
.pl-up-card .pl-up-done__ico .pl-ico {
	width: 24px;
	height: 24px;
}
.pl-up-done__ico.is-crit {
	background: color-mix(in srgb, var(--pl-crit) 14%, transparent);
	color: var(--pl-crit);
}
.pl-up-done__ico.is-sm {
	width: 44px;
	height: 44px;
}
.pl-up-card .pl-up-done__ico.is-sm .pl-ico {
	width: 20px;
	height: 20px;
}
.pl-up-done__text {
	display: flex;
	flex-direction: column;
	gap: 3px;
}
body.plinth .pl-up-done h2 {
	font-size: 18px;
}
body.plinth .pl-up-delete .pl-up-done__text {
	gap: 4px;
}
body.plinth .pl-up-delete .pl-up-done__text p {
	line-height: 1.55;
}
.pl-up-names {
	margin: 6px 0 0 18px;
	color: var(--pl-text-2);
	font-size: 13px;
	list-style: disc;
}
.pl-up-others {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding-top: 16px;
	border-top: 1px solid var(--pl-border);
}
.pl-up-others__label {
	color: var(--pl-text-3);
	font-size: 11.5px;
	font-weight: 600;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}
.pl-up-others__row {
	display: flex;
	align-items: center;
	gap: 10px;
	color: var(--pl-text-2);
	font-size: 13px;
}
.pl-up-others__row > span {
	flex: 1;
}
.pl-up-others__row > .pl-ico {
	color: var(--pl-text-3);
}
.pl-up-card .pl-up-others__row a .pl-ico {
	width: 13px;
	height: 13px;
}
.pl-up-log {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 12px 14px;
	border-radius: 10px;
	background: var(--pl-surface-2);
}
body.plinth .pl-up-log p {
	font-size: 12.5px;
}
.pl-up-rk {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
}
.pl-up-rk__box {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 12px 14px;
	border: 1px solid var(--pl-border);
	border-radius: 10px;
}
.pl-up-rk__label {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 12px;
	font-weight: 600;
}
.pl-up-card .pl-up-rk__label .pl-ico {
	width: 14px;
	height: 14px;
}
.is-removed .pl-up-rk__label {
	color: var(--pl-crit);
}
.is-kept .pl-up-rk__label {
	color: var(--pl-success);
}
.pl-up-rk__text {
	color: var(--pl-text-2);
	font-size: 12.5px;
	line-height: 1.55;
}
body.plinth.wp-core-ui .pl-up-card .button.pl-btn-crit {
	padding: 0 14px;
	border-color: transparent;
	background: #c9362c;
	color: #fff;
}
body.plinth.wp-core-ui .pl-up-card .button.pl-btn-crit:hover {
	filter: brightness(1.1);
}
@media (max-width: 782px) {
	.pl-up-steps {
		flex-wrap: wrap;
	}
	.pl-up-step__line {
		display: none;
	}
	.pl-up-compare__row {
		grid-template-columns: 120px 1fr 1fr;
	}
	.pl-up-rk {
		grid-template-columns: 1fr;
	}
	.pl-up-foot {
		flex-wrap: wrap;
	}
}

/* ==========================================================================
   39. Settings — General, Reading, Discussion, Media, Permalinks, Privacy
   (class-plinth-core-settings.php + admin.js). Core WordPress, rethought →
   Settings: section nav, cards of label/control rows, floating save bar.
   ========================================================================== */
body.plinth.pl-cs-screen #screen-meta-links,
body.plinth.pl-cs-screen #screen-meta,
body.plinth.pl-cs-screen .pl-cs-sec [hidden],
body.plinth.pl-cs-screen .date-time-doc,
body.plinth.pl-cs-screen .pl-cs-gone,
body.plinth.pl-cs-screen #wpbody-content > .wrap > form.pl-cs-form + p.submit {
	display: none !important;
}
.pl-cs {
	display: grid;
	grid-template-columns: 200px minmax(0, 1fr);
	gap: 24px;
	align-items: start;
	max-width: 1040px;
	margin-top: 20px;
	padding-bottom: 72px;
}
.pl-cs-nav {
	position: sticky;
	top: 68px;
	display: flex;
	flex-direction: column;
	gap: 2px;
}
body.plinth .pl-cs-nav__item {
	display: flex;
	align-items: center;
	gap: 8px;
	height: 36px;
	padding: 0 12px;
	border-radius: 8px;
	color: var(--pl-text-2);
	font-size: 13px;
	font-weight: 500;
	text-decoration: none;
}
body.plinth .pl-cs-nav__item:hover,
body.plinth .pl-cs-nav__item[aria-current="page"] {
	background: var(--pl-surface-2);
	color: var(--pl-text);
}
.pl-cs-nav__item .pl-ico {
	width: 14px;
	height: 14px;
}
.pl-cs-nav__div {
	height: 1px;
	margin: 8px 4px;
	background: var(--pl-border);
}
.pl-cs-body,
.pl-cs-form {
	display: flex;
	flex-direction: column;
	gap: 16px;
	min-width: 0;
	margin: 0;
}
.pl-cs-sec {
	display: flex;
	flex-direction: column;
	padding: 6px 20px 8px;
	background: var(--pl-surface);
	border: 1px solid var(--pl-border);
	border-radius: 12px;
}
.pl-cs-sec__head {
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding: 14px 0 6px;
}
body.plinth .pl-cs-sec__head h2 {
	margin: 0;
	padding: 0;
	color: var(--pl-text);
	font-size: 14px;
	font-weight: 600;
}
body.plinth .pl-cs-sec__head p {
	margin: 0;
	color: var(--pl-text-3);
	font-size: 12.5px;
	line-height: 1.5;
}
.pl-cs-row {
	display: grid;
	grid-template-columns: 220px minmax(0, 1fr);
	gap: 24px;
	align-items: start;
	padding: 14px 0;
	border-top: 1px solid var(--pl-border);
}
.pl-cs-sec__head + .pl-cs-row {
	border-top: 0;
}
.pl-cs-row[hidden] {
	display: none;
}
.pl-cs-row.is-wide {
	grid-template-columns: minmax(0, 1fr);
}
.pl-cs-row__text {
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding-top: 6px;
}
body.plinth .pl-cs-row__label {
	color: var(--pl-text);
	font-size: 13px;
	font-weight: 500;
}
.pl-cs-row__help,
body.plinth .pl-cs-row__help p {
	margin: 0;
	color: var(--pl-text-3);
	font-size: 12px;
	line-height: 1.5;
}
.pl-cs-row__help:empty {
	display: none;
}
.pl-cs-row__ctrl {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 8px;
	min-width: 0;
}
.pl-cs-row__ctrl > input[type="text"],
.pl-cs-row__ctrl > input[type="url"],
.pl-cs-row__ctrl > input[type="email"],
.pl-cs-row__ctrl > input:not([type]) {
	width: 100%;
}
body.plinth .pl-cs-sec input[type="text"],
body.plinth .pl-cs-sec input[type="url"],
body.plinth .pl-cs-sec input[type="email"],
body.plinth .pl-cs-sec input[type="number"],
body.plinth .pl-cs-sec textarea {
	min-height: 34px;
	margin: 0;
	padding: 0 11px;
	background: var(--pl-surface-2);
	border: 1px solid var(--pl-border-strong);
	border-radius: 8px;
	box-shadow: none;
	color: var(--pl-text);
	font-size: 13px;
}
body.plinth .pl-cs-sec textarea {
	padding: 8px 11px;
	line-height: 1.5;
}
body.plinth .pl-cs-sec input:focus,
body.plinth .pl-cs-sec textarea:focus {
	border-color: var(--pl-accent);
	box-shadow: var(--pl-ring);
	outline: 0;
}
body.plinth .pl-cs-sec input.pl-cs-mono {
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	font-size: 12.5px;
}
body.plinth .pl-cs-sec input.pl-cs-num,
body.plinth .pl-cs-sec input.small-text {
	width: 90px;
	font-variant-numeric: tabular-nums;
}
body.plinth .pl-cs-sec input[disabled] {
	opacity: 0.6;
}
.pl-cs-select {
	position: relative;
	display: inline-flex;
	max-width: 100%;
}
body.plinth .pl-cs-select select {
	min-width: 220px;
	max-width: 100%;
	height: 34px;
	min-height: 34px;
	margin: 0;
	padding: 0 32px 0 11px;
	background: var(--pl-surface-2);
	background-image: none;
	border: 1px solid var(--pl-border-strong);
	border-radius: 8px;
	box-shadow: none;
	color: var(--pl-text);
	font-size: 13px;
	-webkit-appearance: none;
	appearance: none;
	cursor: pointer;
}
.pl-cs-select > .pl-ico {
	position: absolute;
	top: 50%;
	right: 10px;
	width: 14px;
	height: 14px;
	color: var(--pl-text-3);
	transform: translateY(-50%);
	pointer-events: none;
}
.pl-cs-inline {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	width: 100%;
}
.pl-cs-inline > input[type="email"],
.pl-cs-inline > input[type="text"] {
	flex: 1;
	min-width: 220px;
}
.pl-cs-size {
	gap: 8px;
}
.pl-cs-x,
.pl-cs-unit {
	color: var(--pl-text-3);
}
.pl-cs-unit {
	font-size: 12px;
}
.pl-cs-check {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: var(--pl-text-2);
	font-size: 12.5px;
}
body.plinth .pl-cs-row__note {
	margin: 0;
	color: var(--pl-text-3);
	font-size: 12px;
	line-height: 1.5;
}
.pl-cs-note {
	display: flex;
	gap: 10px;
	margin: 2px 0 12px;
	padding: 10px 12px;
	border-radius: 9px;
	color: var(--pl-text-2);
	font-size: 12.5px;
	line-height: 1.5;
}
.pl-cs-note[hidden] {
	display: none;
}
.pl-cs-note .pl-ico {
	flex: none;
	width: 15px;
	height: 15px;
	margin-top: 2px;
}
.pl-cs-note--warn {
	background: color-mix(in srgb, var(--pl-warn) 14%, transparent);
}
.pl-cs-note--warn .pl-ico {
	color: var(--pl-warn);
}
.pl-cs-note--crit {
	margin-top: 0;
	background: color-mix(in srgb, var(--pl-crit) 14%, transparent);
}
.pl-cs-note--crit .pl-ico {
	color: var(--pl-crit);
}

/* Site icon */
.pl-cs-icon {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
}
.pl-cs-icon__tile {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: none;
	width: 44px;
	height: 44px;
	overflow: hidden;
	border-radius: 10px;
	background: #fff;
}
.pl-cs-icon__tile.is-empty {
	background: var(--pl-surface-2);
	border: 1px dashed var(--pl-border-strong);
}
.pl-cs-icon__tile img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.pl-cs-icon .site-icon-action-buttons {
	display: flex;
	gap: 8px;
	margin: 0;
}
body.plinth.wp-core-ui .pl-cs-icon .site-icon-action-buttons .button {
	height: 28px;
	min-height: 28px;
	margin: 0;
	padding: 0 10px;
	font-size: 12.5px;
	line-height: 26px;
}
body.plinth.wp-core-ui .pl-cs-icon .site-icon-action-buttons .button.hidden {
	display: none;
}

/* Chips (date / time formats) */
.pl-cs-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
	border: 0;
}
.pl-cs-chips > legend {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
}
body.plinth .pl-cs-chip {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 2px;
	margin: 0;
	padding: 8px 12px;
	border: 1px solid var(--pl-border);
	border-radius: 9px;
	cursor: pointer;
}
body.plinth .pl-cs-chip:hover {
	border-color: var(--pl-border-strong);
}
body.plinth .pl-cs-chip:has(input:checked) {
	border-color: var(--pl-accent);
	background: var(--pl-accent-soft);
}
body.plinth .pl-cs-chip:has(input:focus-visible) {
	box-shadow: var(--pl-ring);
}
body.plinth .pl-cs-chip > input,
body.plinth .pl-cs-card > input,
body.plinth .pl-cs-radio > input,
body.plinth .pl-cs-seg__opt > input {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: 0;
	opacity: 0;
	pointer-events: none;
}
.pl-cs-chip .date-time-text {
	display: block;
	min-width: 0;
	color: var(--pl-text);
	font-size: 13px;
	font-weight: 600;
	font-variant-numeric: tabular-nums;
}
body.plinth .pl-cs-chip code {
	margin: 0;
	padding: 0;
	background: none;
	color: var(--pl-text-3);
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	font-size: 11px;
}
.pl-cs-chip.is-custom {
	justify-content: center;
}
body.plinth .pl-cs-chips input.pl-cs-custom-input {
	display: none;
	width: 130px;
	align-self: center;
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	font-size: 12px;
}
body.plinth .pl-cs-chips:has(.is-custom input:checked) input.pl-cs-custom-input {
	display: block;
}
.pl-cs-chips .spinner {
	align-self: center;
	margin: 0;
}
.pl-cs-preview {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	height: 34px;
	padding: 0 12px;
	box-sizing: border-box;
	background: var(--pl-surface-2);
	border: 1px solid var(--pl-border);
	border-radius: 8px;
	color: var(--pl-text);
	font-size: 13px;
	font-variant-numeric: tabular-nums;
}
.pl-cs-preview .pl-ico {
	width: 15px;
	height: 15px;
	color: var(--pl-text-3);
}

/* Option cards (homepage) + radio rows (permalinks) */
.pl-cs-cards {
	display: flex;
	gap: 10px;
	padding: 8px 0 14px;
}
body.plinth .pl-cs-card {
	position: relative;
	display: flex;
	flex: 1;
	gap: 10px;
	margin: 0;
	padding: 12px 14px;
	border: 1px solid var(--pl-border);
	border-radius: 10px;
	cursor: pointer;
}
.pl-cs-dot {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: none;
	width: 16px;
	height: 16px;
	box-sizing: border-box;
	border: 2px solid var(--pl-border-strong);
	border-radius: 50%;
}
.pl-cs-card .pl-cs-dot {
	margin-top: 2px;
}
.pl-cs-dot::after {
	content: "";
	width: 6px;
	height: 6px;
	border-radius: 50%;
}
body.plinth :is(.pl-cs-card, .pl-cs-radio):has(input:checked) {
	border-color: var(--pl-accent);
	background: var(--pl-accent-soft);
}
body.plinth :is(.pl-cs-card, .pl-cs-radio):has(input:checked) .pl-cs-dot {
	border-color: var(--pl-accent);
}
body.plinth :is(.pl-cs-card, .pl-cs-radio):has(input:checked) .pl-cs-dot::after {
	background: var(--pl-accent);
}
body.plinth :is(.pl-cs-card, .pl-cs-radio, .pl-cs-seg__opt):has(input:focus-visible) {
	box-shadow: var(--pl-ring);
}
.pl-cs-card__text {
	display: flex;
	flex-direction: column;
	gap: 2px;
}
.pl-cs-card__title {
	color: var(--pl-text);
	font-size: 13px;
	font-weight: 600;
}
.pl-cs-card__sub {
	color: var(--pl-text-3);
	font-size: 12px;
}
.pl-cs-radios {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 8px 0 12px;
}
body.plinth .pl-cs-radio {
	position: relative;
	display: grid;
	grid-template-columns: 16px 160px minmax(0, 1fr);
	align-items: center;
	gap: 12px;
	margin: 0;
	padding: 10px 12px;
	border: 1px solid var(--pl-border);
	border-radius: 9px;
	cursor: pointer;
}
.pl-cs-radio__label {
	color: var(--pl-text);
	font-size: 13px;
	font-weight: 600;
}
.pl-cs-radio__ex {
	overflow: hidden;
	color: var(--pl-text-2);
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	font-size: 12px;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.pl-cs-customperm {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin: 0 0 12px;
	color: var(--pl-text-3);
	font-size: 12.5px;
}
.pl-cs-customperm[hidden] {
	display: none;
}
body.plinth .pl-cs-customperm code {
	background: none;
	color: var(--pl-text-3);
	font-size: 12px;
}
body.plinth .pl-cs-customperm input[type="text"] {
	flex: 1;
	min-width: 260px;
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	font-size: 12.5px;
}
.pl-cs-customperm .available-structure-tags {
	flex-basis: 100%;
}
.pl-cs-customperm .available-structure-tags ul {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 6px 0 0;
}
.pl-cs-customperm .available-structure-tags li {
	margin: 0;
}
body.plinth.wp-core-ui .pl-cs-customperm .available-structure-tags .button {
	height: 24px;
	min-height: 24px;
	padding: 0 8px;
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	font-size: 11.5px;
	line-height: 22px;
}
.pl-cs-sample {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin: 0 0 14px;
	padding: 10px 12px;
	border-radius: 9px;
	background: var(--pl-surface-2);
	color: var(--pl-text-2);
	font-size: 12.5px;
}
.pl-cs-sample .pl-ico {
	width: 14px;
	height: 14px;
	color: var(--pl-text-3);
}
.pl-cs-sample strong {
	color: var(--pl-text);
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	font-size: 12px;
	font-weight: 600;
	word-break: break-all;
}

/* Segmented (feeds show) */
.pl-cs-seg {
	display: inline-flex;
	gap: 2px;
	padding: 3px;
	background: var(--pl-surface-2);
	border: 1px solid var(--pl-border);
	border-radius: 8px;
}
body.plinth .pl-cs-seg__opt {
	position: relative;
	display: flex;
	align-items: center;
	height: 26px;
	margin: 0;
	padding: 0 10px;
	border-radius: 6px;
	color: var(--pl-text-2);
	font-size: 12.5px;
	font-weight: 500;
	cursor: pointer;
}
body.plinth .pl-cs-seg__opt:has(input:checked) {
	background: var(--pl-surface-3);
	box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05) inset;
	color: var(--pl-text);
}

/* Links, generic rows */
body.plinth .pl-cs-link {
	display: inline-flex;
	align-items: center;
	gap: 3px;
	color: color-mix(in srgb, var(--pl-accent) 60%, var(--pl-text));
	font-size: 12.5px;
	font-weight: 500;
	text-decoration: none;
}
body.plinth .pl-cs-link:hover {
	text-decoration: underline;
}
.pl-cs-link .pl-ico {
	width: 13px;
	height: 13px;
}
.pl-cs-row__ctrl form {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin: 0;
}
body.plinth.wp-core-ui .pl-cs-row__ctrl .button {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin: 0;
}
.pl-cs-row__ctrl .button .pl-ico {
	width: 14px;
	height: 14px;
}
.pl-cs-generic {
	display: flex;
	flex-direction: column;
	gap: 8px;
	width: 100%;
	color: var(--pl-text-2);
	font-size: 13px;
}
.pl-cs-generic fieldset {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin: 0;
	padding: 0;
}
.pl-cs-generic fieldset > br,
.pl-cs-generic > br {
	display: none;
}
body.plinth .pl-cs-generic label {
	display: inline-flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	color: var(--pl-text-2);
	font-size: 13px;
	line-height: 1.6;
}
body.plinth .pl-cs-generic p {
	margin: 0;
	color: var(--pl-text-2);
	font-size: 13px;
}
body.plinth .pl-cs-generic p.description {
	color: var(--pl-text-3);
	font-size: 12px;
}
body.plinth .pl-cs-generic textarea {
	width: 100%;
	min-height: 90px;
}
body.plinth .pl-cs-generic select {
	max-width: 100%;
}
body.plinth .pl-cs-generic input[type="radio"] {
	margin: 0;
}
.pl-cs-trail {
	margin: 0;
	color: var(--pl-text-3);
	font-size: 12.5px;
}

/* Floating save bar */
.pl-savebar {
	position: fixed;
	bottom: 24px;
	left: 50%;
	z-index: 9990;
	display: flex;
	align-items: center;
	gap: 12px;
	margin-left: calc(var(--pl-side-w) / 2);
	padding: 8px 8px 8px 16px;
	background: var(--pl-surface-3);
	border: 1px solid var(--pl-border-strong);
	border-radius: 12px;
	box-shadow: 0 12px 32px var(--pl-shadow-color, rgba(0, 0, 0, 0.45));
	color: var(--pl-text);
	font-size: 13px;
	transform: translateX(-50%);
}
.pl-savebar[hidden] {
	display: none;
}
.pl-savebar.is-saved {
	gap: 10px;
	padding: 10px 16px;
}
.pl-savebar.is-saved .button {
	display: none;
}
.pl-savebar > .pl-ico {
	width: 16px;
	height: 16px;
	color: var(--pl-warn);
}
.pl-savebar.is-saved > .pl-ico {
	color: var(--pl-success);
}
body.plinth.wp-core-ui .pl-savebar .button {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	height: 28px;
	min-height: 28px;
	margin: 0;
	padding: 0 10px;
	font-size: 12.5px;
	line-height: 26px;
}
.pl-savebar .button .pl-ico {
	width: 14px;
	height: 14px;
}
body.folded .pl-savebar {
	margin-left: calc(var(--pl-side-folded) / 2);
}
@media (max-width: 960px) {
	.pl-cs {
		grid-template-columns: minmax(0, 1fr);
	}
	.pl-cs-nav {
		position: static;
		flex-direction: row;
		flex-wrap: wrap;
	}
	.pl-cs-nav__div {
		display: none;
	}
}
@media (max-width: 782px) {
	.pl-cs-row {
		grid-template-columns: minmax(0, 1fr);
		gap: 8px;
	}
	.pl-cs-cards {
		flex-direction: column;
	}
	body.plinth .pl-cs-radio {
		grid-template-columns: 16px minmax(0, 1fr);
	}
	.pl-cs-radio__ex {
		grid-column: 2;
	}
	.pl-savebar {
		left: 16px;
		right: 16px;
		margin-left: 0;
		transform: none;
	}
}
/* options-privacy.php: core zeroes #wpcontent's left padding for its full-bleed header. */
body.plinth.pl-cs-privacy #wpcontent {
	padding-left: 32px;
}

/* ==========================================================================
   40. Categories — edit-tags.php?taxonomy=category (class-plinth-terms.php)
   Core WordPress, rethought → Categories.
   ========================================================================== */
body.plinth.pl-terms .pl-tm-gone,
body.plinth.pl-terms #screen-meta-links,
body.plinth.pl-terms #screen-meta,
.pl-tm [hidden] {
	display: none !important;
}
.pl-tm {
	display: flex;
	flex-direction: column;
	gap: 20px;
	margin-top: 20px;
}
.pl-tm-add {
	margin: 0;
	padding: 14px 16px;
	background: var(--pl-surface);
	border: 1px solid var(--pl-border);
	border-radius: 12px;
}
.pl-tm-add__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 200px 180px auto;
	gap: 10px;
	align-items: end;
}
.pl-tm-field {
	display: flex;
	flex-direction: column;
	gap: 6px;
	min-width: 0;
}
.pl-tm-field__label {
	color: var(--pl-text-2);
	font-size: 12.5px;
	font-weight: 500;
}
.pl-tm-field__hint {
	color: var(--pl-text-3);
	font-size: 12px;
	word-break: break-all;
}
body.plinth .pl-tm input[type="text"],
body.plinth .pl-tm textarea {
	width: 100%;
	min-height: 34px;
	margin: 0;
	padding: 0 11px;
	background: var(--pl-surface-2);
	border: 1px solid var(--pl-border-strong);
	border-radius: 8px;
	box-shadow: none;
	color: var(--pl-text);
	font-size: 13px;
}
body.plinth .pl-tm textarea {
	padding: 8px 11px;
	line-height: 1.5;
	resize: vertical;
}
body.plinth .pl-tm input[type="text"]:focus,
body.plinth .pl-tm textarea:focus {
	border-color: var(--pl-accent);
	box-shadow: var(--pl-ring);
	outline: 0;
}
body.plinth .pl-tm input.pl-cs-mono {
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	font-size: 12.5px;
}
.pl-tm-add .pl-cs-select,
.pl-tm-edit .pl-cs-select {
	width: 100%;
}
body.plinth .pl-tm .pl-cs-select select {
	width: 100%;
	min-width: 0;
	height: 30px;
	min-height: 30px;
	padding: 0 30px 0 10px;
	border-radius: 7px;
	font-size: 12.5px;
}
.pl-tm-add .pl-tm-field:nth-child(2) .pl-cs-select select {
	height: 34px;
	min-height: 34px;
}
.pl-tm-slug {
	display: flex;
	align-items: center;
	height: 34px;
	padding: 0 11px;
	overflow: hidden;
	box-sizing: border-box;
	background: var(--pl-bg);
	border: 1px solid var(--pl-border);
	border-radius: 8px;
	color: var(--pl-text-3);
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	font-size: 12px;
	white-space: nowrap;
}
.pl-tm-slug.is-set {
	color: var(--pl-text-2);
}
body.plinth.wp-core-ui .pl-tm-addbtn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	height: 34px;
	min-height: 34px;
	margin: 0;
}
.pl-tm .button .pl-ico {
	width: 15px;
	height: 15px;
}
.pl-tm-main {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 340px;
	gap: 16px;
	align-items: start;
}
.pl-tm-left {
	display: flex;
	flex-direction: column;
	gap: 12px;
	min-width: 0;
}
.pl-tm-bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}
.pl-tm-bar form {
	float: none;
	margin: 0;
}
.pl-tm-bulk {
	display: flex;
	align-items: center;
	gap: 8px;
}
body.plinth .pl-tm-bulk .pl-cs-select select {
	width: auto;
}
body.plinth.wp-core-ui .pl-tm-bulk .button {
	height: 32px;
	min-height: 32px;
	margin: 0;
}
.pl-tm-search {
	width: 240px;
}
.pl-tm-card {
	overflow: hidden;
	background: var(--pl-surface);
	border: 1px solid var(--pl-border);
	border-radius: 12px;
}
.pl-tm-card form {
	margin: 0;
}
body.plinth .pl-tm-table {
	margin: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	table-layout: fixed;
}
body.plinth .pl-tm-table thead th,
body.plinth .pl-tm-table thead td,
body.plinth .pl-tm-table tfoot {
	height: 40px;
	padding: 0 8px;
	background: var(--pl-surface-sunk, color-mix(in srgb, var(--pl-bg) 60%, var(--pl-surface)));
	border-bottom: 1px solid var(--pl-border);
	color: var(--pl-text-3);
	font-size: 11.5px;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	vertical-align: middle;
}
body.plinth .pl-tm-table tfoot {
	display: none;
}
body.plinth .pl-tm-table thead a,
body.plinth .pl-tm-table thead a span {
	color: inherit;
	padding: 0;
}
body.plinth .pl-tm-table .check-column {
	width: 44px;
	padding: 0;
	text-align: center;
	vertical-align: middle;
}
body.plinth .pl-tm-table .column-slug {
	width: 170px;
}
body.plinth .pl-tm-table .column-posts {
	width: 150px;
	padding-right: 16px;
	text-align: left;
}
body.plinth .pl-tm-table tbody tr {
	background: transparent;
	cursor: pointer;
}
body.plinth .pl-tm-table tbody tr:hover {
	background: rgba(255, 255, 255, 0.02);
}
body.plinth .pl-tm-table tbody tr.is-picked {
	background: var(--pl-accent-soft);
	box-shadow: inset 3px 0 0 var(--pl-accent);
}
body.plinth .pl-tm-table tbody td,
body.plinth .pl-tm-table tbody th {
	height: 56px;
	padding: 8px;
	border-top: 1px solid var(--pl-border);
	vertical-align: middle;
	box-shadow: none;
}
body.plinth .pl-tm-table tbody tr:first-child td,
body.plinth .pl-tm-table tbody tr:first-child th {
	border-top: 0;
}
body.plinth .pl-tm-table tbody .check-column input {
	margin: 0;
}
.pl-tm-name {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}
.pl-tm-name.is-child {
	padding-left: 22px;
}
.pl-tm-name__line {
	display: flex;
	align-items: center;
	gap: 8px;
}
.pl-tm-name__line strong {
	color: var(--pl-text);
	font-size: 13.5px;
	font-weight: 600;
}
.pl-tm-name__tree {
	color: var(--pl-text-3);
}
.pl-tm-name__desc {
	overflow: hidden;
	color: var(--pl-text-3);
	font-size: 12px;
	text-overflow: ellipsis;
	white-space: nowrap;
}
body.plinth .pl-tm-table .column-slug {
	color: var(--pl-text-2);
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	font-size: 12px;
}
.pl-tm-count {
	display: flex;
	align-items: center;
	gap: 10px;
}
.pl-tm-count__n {
	width: 18px;
	color: var(--pl-text);
	font-size: 13px;
	font-weight: 600;
	font-variant-numeric: tabular-nums;
}
.pl-tm-count__bar {
	flex: 1;
	height: 6px;
	overflow: hidden;
	border-radius: 3px;
	background: var(--pl-surface-3);
}
.pl-tm-count__bar span {
	display: block;
	height: 100%;
	border-radius: 3px;
	background: var(--pl-accent);
}
body.plinth .pl-tm-table .no-items td {
	height: 80px;
	color: var(--pl-text-3);
	text-align: center;
}
.pl-tm-foot {
	margin: 0;
	padding: 10px 16px;
	border-top: 1px solid var(--pl-border);
}
body.plinth .pl-tm-foot .bulkactions {
	display: none !important;
}
.pl-tm-foot:not(:has(.pagination-links)),
.pl-tm-foot:has(.one-page) {
	display: none;
}
.pl-tm-panel {
	position: sticky;
	top: 68px;
	padding: 18px;
	background: var(--pl-surface);
	border: 1px solid var(--pl-border);
	border-radius: 12px;
}
.pl-tm-edit {
	display: flex;
	flex-direction: column;
	gap: 14px;
	margin: 0;
}
.pl-tm-edit__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
}
body.plinth .pl-tm-edit__head h2 {
	margin: 0;
	padding: 0;
	color: var(--pl-text);
	font-size: 15px;
	font-weight: 600;
}
.pl-tm-note {
	display: flex;
	gap: 8px;
	padding: 10px;
	border-radius: 9px;
	background: var(--pl-surface-2);
	color: var(--pl-text-2);
	font-size: 12px;
	line-height: 1.5;
}
.pl-tm-note .pl-ico {
	flex: none;
	width: 14px;
	height: 14px;
	margin-top: 1px;
	color: var(--pl-text-3);
}
.pl-tm-edit__foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	padding-top: 12px;
	border-top: 1px solid var(--pl-border);
}
body.plinth.wp-core-ui .pl-tm-edit__foot .button {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin: 0;
}
.pl-tm-del {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	min-width: 0;
}
.pl-tm-del__q {
	color: var(--pl-text);
	font-size: 12.5px;
}
body.plinth .pl-tm-delbtn {
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--pl-crit);
	font: inherit;
	font-size: 12.5px;
	font-weight: 500;
	text-decoration: none;
	cursor: pointer;
}
body.plinth .pl-tm-delbtn:hover {
	text-decoration: underline;
}
body.plinth .pl-tm-delbtn.is-strong {
	font-weight: 700;
}
body.plinth .pl-tm-delbtn.is-quiet {
	color: var(--pl-text-2);
}
@media (max-width: 1100px) {
	.pl-tm-main {
		grid-template-columns: minmax(0, 1fr);
	}
	.pl-tm-panel {
		position: static;
	}
}
@media (max-width: 782px) {
	.pl-tm-add__grid {
		grid-template-columns: minmax(0, 1fr);
	}
	.pl-tm-bar {
		flex-wrap: wrap;
	}
	body.plinth .pl-tm-table .column-slug {
		display: none;
	}
}

/* ==========================================================================
   41. Revisions — revision.php (class-plinth-revisions.php + admin.js)
   Core WordPress, rethought → Revisions. Core's slider app is hidden.
   ========================================================================== */
body.plinth.pl-revs-ready .revisions,
body.plinth.pl-revs-ready #wpbody-content > .wrap > a,
body.plinth.pl-revs #screen-meta-links {
	display: none !important;
}
.pl-rv {
	display: grid;
	grid-template-columns: 300px minmax(0, 1fr);
	gap: 16px;
	align-items: start;
	margin-top: 20px;
}
.pl-rv-list,
.pl-rv-main {
	background: var(--pl-surface);
	border: 1px solid var(--pl-border);
	border-radius: 12px;
}
.pl-rv-list {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 14px;
}
.pl-rv-list__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 2px 2px 6px;
}
body.plinth .pl-rv h2 {
	margin: 0;
	padding: 0;
	color: var(--pl-text);
	font-size: 14px;
	font-weight: 600;
}
.pl-rv-list__head span {
	color: var(--pl-text-3);
	font-size: 12px;
}
body.plinth .pl-rv-item {
	display: grid;
	grid-template-columns: 30px minmax(0, 1fr);
	gap: 10px;
	width: 100%;
	margin: 0;
	padding: 12px;
	border: 1px solid var(--pl-border);
	border-radius: 10px;
	background: transparent;
	color: inherit;
	font: inherit;
	text-align: left;
	cursor: pointer;
}
body.plinth .pl-rv-item:hover {
	border-color: var(--pl-border-strong);
}
body.plinth .pl-rv-item.is-on {
	border-color: var(--pl-accent);
	background: var(--pl-accent-soft);
}
body.plinth .pl-rv-item:focus-visible {
	box-shadow: var(--pl-ring);
	outline: 0;
}
.pl-rv-item__av {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: hsl(var(--h, 220) 28% 26%);
	color: hsl(var(--h, 220) 70% 86%);
	font-size: 10.5px;
	font-weight: 700;
}
body.plinth-light .pl-rv-item__av {
	background: hsl(var(--h, 220) 60% 90%);
	color: hsl(var(--h, 220) 45% 32%);
}
.pl-rv-item__text {
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
}
.pl-rv-item__top {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
}
.pl-rv-item__who {
	color: var(--pl-text);
	font-size: 13px;
	font-weight: 600;
}
.pl-rv-item__when {
	color: var(--pl-text-3);
	font-size: 12px;
}
.pl-rv-item__nums {
	display: flex;
	gap: 8px;
	font-size: 11.5px;
	font-weight: 600;
	font-variant-numeric: tabular-nums;
}
.pl-rv-item__nums .is-plus {
	color: var(--pl-success);
}
.pl-rv-item__nums .is-minus {
	color: var(--pl-crit);
}
.pl-rv-item__nums .is-unit {
	color: var(--pl-text-3);
	font-weight: 400;
}
body.plinth.wp-core-ui .pl-rv-more {
	align-self: flex-start;
	height: 28px;
	min-height: 28px;
	padding: 0 10px;
	font-size: 12.5px;
}
.pl-rv-main {
	display: flex;
	flex-direction: column;
	gap: 16px;
	min-width: 0;
	padding: 18px 20px;
}
.pl-rv-main__head {
	display: flex;
	align-items: center;
	gap: 12px;
}
.pl-rv-main__title {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 2px;
}
body.plinth .pl-rv-main__title p {
	margin: 0;
	color: var(--pl-text-3);
	font-size: 12.5px;
	font-variant-numeric: tabular-nums;
}
body.plinth .pl-rv-seg__opt {
	display: flex;
	align-items: center;
	height: 26px;
	margin: 0;
	padding: 0 10px;
	border: 0;
	border-radius: 6px;
	background: transparent;
	color: var(--pl-text-2);
	font: inherit;
	font-size: 12.5px;
	font-weight: 500;
	cursor: pointer;
}
body.plinth .pl-rv-seg__opt.is-on {
	background: var(--pl-surface-3);
	box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05) inset;
	color: var(--pl-text);
}
.pl-rv-two {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
}
.pl-rv-col {
	display: flex;
	flex-direction: column;
	gap: 12px;
	min-width: 0;
}
.pl-rv-col__cap {
	display: flex;
	align-items: baseline;
	gap: 8px;
}
.pl-rv-col__label {
	color: var(--pl-text-3);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}
.pl-rv-col__sub {
	color: var(--pl-text-3);
	font-size: 12px;
}
.pl-rv-doc {
	padding: 18px 20px;
	overflow-wrap: anywhere;
	background: var(--pl-surface-2);
	border: 1px solid var(--pl-border);
	border-radius: 10px;
}
body.plinth .pl-rv-doc h3 {
	margin: 0 0 12px;
	color: var(--pl-text);
	font-size: 20px;
	font-weight: 650;
	line-height: 1.3;
}
body.plinth .pl-rv-doc p {
	margin: 0 0 14px;
	color: var(--pl-text);
	font-size: 14.5px;
	line-height: 1.75;
}
body.plinth .pl-rv-doc p:last-child {
	margin-bottom: 0;
}
.pl-rv-doc del {
	padding: 0 2px;
	border-radius: 3px;
	background: color-mix(in srgb, var(--pl-crit) 14%, transparent);
	color: var(--pl-text);
	text-decoration: line-through;
	text-decoration-color: var(--pl-crit);
}
.pl-rv-doc ins {
	padding: 0 2px;
	border-radius: 3px;
	background: color-mix(in srgb, var(--pl-success) 14%, transparent);
	box-shadow: inset 0 -2px 0 var(--pl-success);
	color: var(--pl-text);
	text-decoration: none;
}
body.plinth .pl-rv-none {
	margin: 0;
	color: var(--pl-text-3);
	font-size: 12.5px;
}
.pl-rv-foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding-top: 14px;
	border-top: 1px solid var(--pl-border);
	color: var(--pl-text-3);
	font-size: 12.5px;
}
body.plinth.wp-core-ui .pl-rv-foot .button {
	display: inline-flex;
	flex: none;
	align-items: center;
	gap: 6px;
	margin: 0;
}
.pl-rv-foot .button .pl-ico {
	width: 15px;
	height: 15px;
}
@media (max-width: 1100px) {
	.pl-rv,
	.pl-rv-two {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* ==========================================================================
   42. Menus — nav-menus.php (class-plinth-menus.php + admin.js)
   Core WordPress, rethought → Menus: tabs, Add items · Structure · Side.
   ========================================================================== */
body.plinth.pl-menus .pl-mn-gone,
body.plinth.pl-menus #screen-meta-links,
body.plinth.pl-menus .pl-mn-hiddenform,
body.plinth.pl-menus .drag-instructions,
body.plinth.pl-menus #menu-instructions,
body.plinth.pl-menus .bulk-actions,
body.plinth.pl-menus .pl-mn [hidden] {
	display: none !important;
}
.pl-mn-tabs {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin-top: 20px;
}
body.plinth .pl-mn-tab {
	display: flex;
	align-items: center;
	gap: 8px;
	height: 34px;
	padding: 0 12px;
	box-sizing: border-box;
	border: 1px solid var(--pl-border);
	border-radius: 9px;
	color: var(--pl-text);
	font-size: 13px;
	font-weight: 500;
	text-decoration: none;
}
body.plinth .pl-mn-tab:hover {
	border-color: var(--pl-border-strong);
	color: var(--pl-text);
}
body.plinth .pl-mn-tab[aria-selected="true"] {
	border-color: var(--pl-accent);
	background: var(--pl-accent-soft);
}
.pl-mn-tab .pl-ico {
	width: 15px;
	height: 15px;
	color: var(--pl-text-2);
}
.pl-mn-tab__loc {
	display: inline-flex;
	align-items: center;
	height: 18px;
	padding: 0 6px;
	border-radius: 9px;
	background: var(--pl-surface-3);
	color: var(--pl-text-2);
	font-size: 11px;
}
body.plinth.wp-core-ui .pl-mn-new {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	height: 28px;
	min-height: 28px;
	padding: 0 10px;
	font-size: 12.5px;
}
.pl-mn-grow {
	flex: 1;
}
body.plinth a.pl-rv-seg__opt {
	text-decoration: none;
}
/* Three columns */
body.plinth.pl-menus #nav-menus-frame.pl-mn {
	display: grid;
	grid-template-columns: 300px minmax(0, 1fr) 340px;
	gap: 16px;
	align-items: start;
	margin: 20px 0 0;
}
body.plinth.pl-menus #nav-menus-frame.pl-mn::before,
body.plinth.pl-menus #nav-menus-frame.pl-mn::after {
	display: none;
}
body.plinth.pl-menus #wpbody-content .pl-mn #menu-settings-column,
body.plinth.pl-menus #wpbody-content .pl-mn #menu-management-liquid {
	display: block;
	clear: none;
	float: none;
	width: auto;
	min-width: 0;
	margin: 0;
	padding: 0;
}
body.plinth.pl-menus .pl-mn #menu-settings-column {
	overflow: hidden;
	background: var(--pl-surface);
	border: 1px solid var(--pl-border);
	border-radius: 12px;
}
body.plinth.pl-menus #menu-settings-column h2 {
	margin: 0;
	padding: 14px 14px 0;
	color: var(--pl-text);
	font-size: 14px;
	font-weight: 600;
}
body.plinth .pl-mn-help {
	margin: 2px 0 0;
	padding: 0 14px 12px;
	color: var(--pl-text-3);
	font-size: 12px;
}
body.plinth.pl-menus #side-sortables {
	margin: 0;
	border: 0;
}
body.plinth.pl-menus #side-sortables .accordion-section {
	margin: 0;
	border: 0;
	border-top: 1px solid var(--pl-border);
	background: transparent;
}
body.plinth.pl-menus #side-sortables .accordion-section-title {
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	box-shadow: none;
}
body.plinth.pl-menus #side-sortables .accordion-section-title button,
body.plinth.pl-menus #side-sortables .accordion-trigger {
	display: flex;
	align-items: center;
	gap: 10px;
	width: 100%;
	height: 44px;
	padding: 0 14px;
	border: 0;
	background: transparent;
	color: var(--pl-text);
	font-size: 13px;
	font-weight: 600;
	text-align: left;
}
body.plinth.pl-menus #side-sortables .accordion-trigger:hover {
	background: rgba(255, 255, 255, 0.03);
}
body.plinth.pl-menus #side-sortables .accordion-title {
	display: flex;
	flex: 1;
	align-items: center;
	justify-content: space-between;
	color: inherit;
}
.pl-mn-acc__n {
	color: var(--pl-text-3);
	font-size: 11.5px;
	font-weight: 400;
	font-variant-numeric: tabular-nums;
}
body.plinth.pl-menus #side-sortables .accordion-trigger .dashicons {
	display: none;
}
.pl-mn-acc__chev {
	display: flex;
	color: var(--pl-text-3);
	transition: transform 0.15s ease;
}
.pl-mn-acc__chev .pl-ico {
	width: 14px;
	height: 14px;
}
body.plinth.pl-menus #side-sortables .open .pl-mn-acc__chev,
body.plinth.pl-menus #side-sortables [aria-expanded="true"] .pl-mn-acc__chev {
	transform: rotate(180deg);
}
body.plinth.pl-menus #side-sortables .tabs-panel {
	resize: none;
}
body.plinth.pl-menus #side-sortables .accordion-section-content {
	padding: 0 14px 14px;
	border: 0;
	background: transparent;
}
body.plinth.pl-menus #side-sortables .inside {
	margin: 0;
	padding: 0;
}
body.plinth.pl-menus .pl-mn-search {
	width: 100%;
	height: 30px;
	margin: 0 0 8px;
	box-sizing: border-box;
}
body.plinth.pl-menus #side-sortables .tabs-panel {
	max-height: 300px;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
}
body.plinth.pl-menus #side-sortables .categorychecklist {
	margin: 0;
}
body.plinth.pl-menus #side-sortables .categorychecklist li {
	margin: 0;
	padding: 0;
}
body.plinth.pl-menus #side-sortables .categorychecklist li label {
	display: flex;
	align-items: center;
	gap: 9px;
	min-height: 28px;
	padding: 0 6px;
	border-radius: 6px;
	color: var(--pl-text);
	font-size: 12.5px;
	cursor: pointer;
}
body.plinth.pl-menus #side-sortables .categorychecklist li label:hover {
	background: rgba(255, 255, 255, 0.03);
}
body.plinth.pl-menus #side-sortables .categorychecklist input[type="checkbox"] {
	margin: 0;
}
body.plinth.pl-menus #side-sortables .categorychecklist .children {
	margin-left: 18px;
}
body.plinth.pl-menus #side-sortables .button-controls {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 10px 0 0;
	padding: 0;
}
body.plinth.pl-menus #side-sortables .button-controls .list-controls {
	display: none;
}
body.plinth.pl-menus .pl-mn-picked {
	flex: 1;
	color: var(--pl-text-3);
	font-size: 12px;
	font-variant-numeric: tabular-nums;
}
body.plinth.pl-menus #side-sortables .add-to-menu {
	float: none;
	margin-left: auto;
}
body.plinth.wp-core-ui.pl-menus #side-sortables .submit-add-to-menu {
	height: 28px;
	min-height: 28px;
	margin: 0;
	padding: 0 10px;
	font-size: 12.5px;
	line-height: 26px;
}
body.plinth.pl-menus #side-sortables .spinner {
	float: none;
	margin: 0;
}
body.plinth.pl-menus #customlinkdiv p {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin: 0 0 10px;
}
body.plinth.pl-menus #customlinkdiv label {
	float: none;
	width: auto;
	color: var(--pl-text-2);
	font-size: 12.5px;
	font-weight: 500;
}
body.plinth.pl-menus #customlinkdiv input[type="text"],
body.plinth.pl-menus #customlinkdiv input[type="url"] {
	width: 100%;
	height: 34px;
	padding: 0 11px;
	background: var(--pl-surface-2);
	border: 1px solid var(--pl-border-strong);
	border-radius: 8px;
	color: var(--pl-text);
}
/* Structure */
body.plinth.pl-menus #menu-management {
	margin: 0;
}
body.plinth.pl-menus #menu-management .menu-edit {
	margin: 0;
	padding: 16px 18px;
	background: var(--pl-surface);
	border: 1px solid var(--pl-border);
	border-radius: 12px;
	box-shadow: none;
}
body.plinth.pl-menus #menu-management > form > h2,
body.plinth.pl-menus #update-nav-menu > h2 {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
}
body.plinth.pl-menus #menu-management #nav-menu-header,
body.plinth.pl-menus #menu-management #nav-menu-footer,
body.plinth.pl-menus #menu-management #post-body {
	box-shadow: none;
	padding: 0;
	border: 0;
	background: transparent;
}
body.plinth.pl-menus #nav-menu-header .major-publishing-actions {
	padding: 0;
	border: 0;
}
.pl-mn-structhead {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 14px;
}
body.plinth.pl-menus .pl-mn-structhead #menu-name {
	width: 240px;
	height: 34px;
	margin: 0;
	padding: 0 11px;
	background: var(--pl-surface-2);
	border: 1px solid var(--pl-border-strong);
	border-radius: 8px;
	color: var(--pl-text);
	font-size: 13px;
	font-weight: 600;
}
.pl-mn-count {
	color: var(--pl-text-3);
	font-size: 12.5px;
	font-variant-numeric: tabular-nums;
}
body.plinth.pl-menus #post-body-content {
	padding: 0;
}
body.plinth.pl-menus #menu-to-edit {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin: 0;
	padding: 0;
}
body.plinth.pl-menus #menu-to-edit .menu-item {
	margin-top: 0;
	margin-bottom: 0;
}
body.plinth.pl-menus #menu-to-edit .menu-item-bar {
	clear: none;
	max-width: none;
	margin: 0;
}
body.plinth.pl-menus #menu-to-edit .menu-item-handle {
	display: flex;
	align-items: center;
	gap: 8px;
	width: auto;
	max-width: none;
	height: 46px;
	padding: 0 6px 0 10px;
	box-sizing: border-box;
	background: var(--pl-surface-2);
	border: 1px solid var(--pl-border);
	border-radius: 10px;
	color: var(--pl-text);
	line-height: 1;
	cursor: grab;
}
body.plinth.pl-menus #menu-to-edit .menu-item-edit-active .menu-item-handle {
	border-color: var(--pl-accent);
	border-bottom-left-radius: 0;
	border-bottom-right-radius: 0;
	background: var(--pl-accent-soft);
}
.pl-mn-grip {
	display: flex;
	color: var(--pl-text-3);
}
.pl-mn-grip .pl-ico {
	width: 15px;
	height: 15px;
}
body.plinth.pl-menus #menu-to-edit .item-title {
	display: flex;
	flex: 1;
	align-items: center;
	gap: 8px;
	min-width: 0;
	margin: 0;
	font-size: 13.5px;
	font-weight: 600;
}
body.plinth.pl-menus #menu-to-edit .item-title .menu-item-title {
	overflow: hidden;
	font-weight: 600;
	text-overflow: ellipsis;
	white-space: nowrap;
}
body.plinth.pl-menus #menu-to-edit .is-submenu {
	display: none;
}
.pl-mn-subchip {
	display: none;
}
body.plinth.pl-menus .pl-mn-is-sub .pl-mn-subchip {
	display: inline-flex;
	border-color: transparent;
	background: var(--pl-accent-soft);
	color: color-mix(in srgb, var(--pl-accent) 60%, var(--pl-text));
}
body.plinth.pl-menus #menu-to-edit .menu-item-checkbox {
	display: none;
}
body.plinth.pl-menus #menu-to-edit .item-controls {
	position: static;
	display: flex;
	align-items: center;
	gap: 4px;
	margin: 0;
	padding: 0;
}
body.plinth.pl-menus #menu-to-edit .item-type {
	display: inline-flex;
	align-items: center;
	height: 20px;
	padding: 0 7px;
	border-radius: 5px;
	background: var(--pl-surface-3);
	color: var(--pl-text-2);
	font-size: 11px;
	font-weight: 600;
	line-height: 1;
}
body.plinth.pl-menus #menu-to-edit a.item-edit,
body.plinth.pl-menus #menu-to-edit .item-order {
	display: none;
}
.pl-mn-btns {
	display: flex;
	align-items: center;
	margin-left: 4px;
}
body.plinth .pl-mn-ib {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	padding: 0;
	border: 0;
	border-radius: 6px;
	background: transparent;
	color: var(--pl-text-3);
	cursor: pointer;
}
body.plinth .pl-mn-ib:hover:not(:disabled) {
	background: var(--pl-surface-3);
	color: var(--pl-text);
}
body.plinth .pl-mn-ib:disabled {
	opacity: 0.35;
	cursor: default;
}
.pl-mn-ib .pl-ico {
	width: 15px;
	height: 15px;
}
.pl-mn-gear .pl-ico {
	transition: transform 0.15s ease;
}
.menu-item-edit-active .pl-mn-gear .pl-ico {
	transform: rotate(180deg);
}
body.plinth.pl-menus #menu-to-edit .menu-item-settings {
	display: none;
	width: auto;
	max-width: none;
	margin: 0;
	padding: 12px 14px 14px;
	box-sizing: border-box;
	background: var(--pl-surface);
	border: 1px solid var(--pl-accent);
	border-top: 1px solid var(--pl-border);
	border-radius: 0 0 10px 10px;
}
body.plinth.pl-menus #menu-to-edit .menu-item-edit-active .menu-item-settings {
	display: flex;
	flex-direction: column;
	gap: 12px;
}
.pl-mn-pair {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
}
body.plinth.pl-menus .pl-mn-pair input {
	width: 100%;
	height: 34px;
	margin: 0;
	padding: 0 11px;
	background: var(--pl-surface-2);
	border: 1px solid var(--pl-border-strong);
	border-radius: 8px;
	color: var(--pl-text);
	font-size: 13px;
}
body.plinth.pl-menus #menu-to-edit .menu-item-settings .description {
	float: none;
	margin: 0;
	color: var(--pl-text-2);
}
body.plinth.pl-menus #menu-to-edit .field-link-target.pl-mn-show {
	display: block !important;
}
body.plinth.pl-menus #menu-to-edit .field-link-target label {
	display: flex;
	align-items: center;
	gap: 8px;
	color: var(--pl-text-2);
	font-size: 12.5px;
}
body.plinth.pl-menus #menu-to-edit .field-move,
body.plinth.pl-menus #menu-to-edit .field-move-combo {
	display: none !important;
}
body.plinth.pl-menus #menu-to-edit .field-link-target input {
	margin: 0;
}
body.plinth.pl-menus #menu-to-edit .pl-mn-actions {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin: 0;
	padding: 0;
	border: 0;
	color: var(--pl-text-3);
	font-size: 12px;
}
body.plinth.pl-menus #menu-to-edit .pl-mn-actions .link-to-original {
	float: none;
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	color: var(--pl-text-3);
	font-size: 12px;
	font-style: normal;
}
body.plinth.pl-menus #menu-to-edit .pl-mn-actions .link-to-original a {
	color: color-mix(in srgb, var(--pl-accent) 60%, var(--pl-text));
}
body.plinth.pl-menus #menu-to-edit .pl-mn-actions .meta-sep,
body.plinth.pl-menus #menu-to-edit .pl-mn-actions .item-cancel {
	display: none;
}
body.plinth.pl-menus #menu-to-edit .pl-mn-actions .item-delete {
	color: var(--pl-crit);
	font-size: 12.5px;
	font-weight: 500;
	text-decoration: none;
}
.pl-mn-empty {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 14px;
	border: 1px dashed var(--pl-border-strong);
	border-radius: 10px;
	color: var(--pl-text-3);
	font-size: 12.5px;
}
.pl-mn-empty .pl-ico {
	width: 15px;
	height: 15px;
}
.pl-mn-foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-top: 14px;
	padding-top: 14px;
	border-top: 1px solid var(--pl-border);
}
body.plinth.pl-menus .pl-mn-foot .menu-delete,
body.plinth.pl-menus #nav-menu-footer .menu-delete {
	color: var(--pl-crit);
	font-size: 12.5px;
	font-weight: 500;
	text-decoration: none;
}
.pl-mn-foot__btns {
	display: flex;
	gap: 8px;
}
body.plinth.wp-core-ui.pl-menus .pl-mn-foot__btns .button {
	float: none;
	height: 32px;
	min-height: 32px;
	margin: 0;
	padding: 0 12px;
	font-size: 13px;
	line-height: 30px;
}
/* Side */
.pl-mn-side {
	display: flex;
	flex-direction: column;
	gap: 16px;
	min-width: 0;
}
.pl-mn-card {
	display: flex;
	flex-direction: column;
	padding: 16px 18px;
	background: var(--pl-surface);
	border: 1px solid var(--pl-border);
	border-radius: 12px;
}
body.plinth .pl-mn-card h2 {
	margin: 0 0 6px;
	padding: 0;
	color: var(--pl-text);
	font-size: 14px;
	font-weight: 600;
}
.pl-mn-locpick {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 0;
	border-top: 1px solid var(--pl-border);
	cursor: pointer;
}
body.plinth .pl-mn-locpick input {
	margin: 0;
}
.pl-mn-locpick__text {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 1px;
}
.pl-mn-locpick__name {
	color: var(--pl-text);
	font-size: 13px;
	font-weight: 500;
}
.pl-mn-locpick__note {
	color: var(--pl-text-3);
	font-size: 11.5px;
}
.pl-mn-auto {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding-top: 12px;
	border-top: 1px solid var(--pl-border);
	cursor: pointer;
}
.pl-mn-preview {
	gap: 12px;
}
.pl-mn-preview__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
}
body.plinth .pl-mn-preview__head h2 {
	margin: 0;
}
.pl-mn-preview__note {
	color: var(--pl-text-3);
	font-size: 11.5px;
}
.pl-mn-stage {
	--mn-primary: var(--pl-accent);
	--mn-secondary: var(--pl-accent);
	--mn-font: inherit;
}
.pl-mn-mockhead {
	display: flex;
	align-items: center;
	gap: 14px;
	height: 64px;
	padding: 0 16px;
	overflow: hidden;
	border-radius: 10px;
	background: #fff;
	color: #1e1e1e;
	font-family: var(--mn-font), "Plinth Sans", sans-serif;
}
.pl-mn-mockhead__brand {
	display: flex;
	flex: none;
	align-items: center;
	gap: 8px;
	color: var(--mn-secondary);
	font-size: 15px;
	font-weight: 600;
}
.pl-mn-mockhead__brand img {
	max-width: 28px;
	max-height: 28px;
}
.pl-mn-mockhead__brand b {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	border-radius: 6px;
	background: var(--mn-primary);
	color: #fff;
	font-size: 12px;
}
.pl-mn-mockhead__item {
	display: inline-flex;
	flex: none;
	align-items: center;
	gap: 2px;
	color: #3c434a;
	font-size: 11.5px;
	white-space: nowrap;
}
.pl-mn-mockhead__item .pl-ico {
	width: 11px;
	height: 11px;
}
.pl-mn-mockhead__cta {
	display: inline-flex;
	flex: none;
	align-items: center;
	height: 26px;
	padding: 0 9px;
	border-radius: 5px;
	background: var(--mn-primary);
	color: white;
	font-size: 10.5px;
	font-weight: 500;
	white-space: nowrap;
}
.pl-mn-mockfoot {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 16px;
	border-radius: 10px;
	background: var(--mn-primary);
	font-family: var(--mn-font), "Plinth Sans", sans-serif;
}
.pl-mn-mockfoot__title {
	color: color-mix(in srgb, #fff 70%, var(--mn-primary));
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}
.pl-mn-mockfoot__links {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 6px 14px;
	color: #fff;
	font-size: 11.5px;
}
/* Manage locations */
.pl-mn-locs {
	gap: 0;
	margin-top: 20px;
	padding: 0;
	overflow: hidden;
}
.pl-mn-card__head {
	padding: 16px 18px;
}
body.plinth .pl-mn-card__head p {
	margin: 0;
	color: var(--pl-text-3);
	font-size: 12.5px;
}
.pl-mn-loc {
	display: grid;
	grid-template-columns: 220px minmax(0, 1fr) 260px 120px;
	align-items: center;
	gap: 16px;
	padding: 14px 18px;
	border-top: 1px solid var(--pl-border);
}
.pl-mn-loc__name {
	display: flex;
	flex-direction: column;
	gap: 1px;
}
.pl-mn-loc__name strong {
	color: var(--pl-text);
	font-size: 13.5px;
	font-weight: 600;
}
.pl-mn-loc__name span {
	color: var(--pl-text-3);
	font-size: 12px;
}
.pl-mn-loc__desc {
	color: var(--pl-text-2);
	font-size: 12.5px;
}
body.plinth .pl-mn-loc .pl-cs-select select {
	width: 100%;
	min-width: 0;
	height: 30px;
	min-height: 30px;
	font-size: 12.5px;
}
.pl-mn-card__foot {
	display: flex;
	justify-content: flex-end;
	padding: 14px 18px;
	border-top: 1px solid var(--pl-border);
}
body.plinth.wp-core-ui .pl-mn-card__foot .button {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin: 0;
}
@media (max-width: 1280px) {
	body.plinth.pl-menus #nav-menus-frame.pl-mn {
		grid-template-columns: 280px minmax(0, 1fr);
	}
	.pl-mn-side {
		grid-column: 1 / -1;
		display: grid;
		grid-template-columns: 1fr 1fr;
	}
}
@media (max-width: 900px) {
	body.plinth.pl-menus #nav-menus-frame.pl-mn,
	.pl-mn-side,
	.pl-mn-pair,
	.pl-mn-loc {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* ===== core: dashboard board pass (Main / MainLight) ===== */
/* Sidebar: the current section's icon uses the board's accentText tint. */
body.plinth #adminmenu li.wp-has-current-submenu div.wp-menu-image::before,
body.plinth #adminmenu li.current div.wp-menu-image::before,
body.plinth #adminmenu a.current:hover div.wp-menu-image::before,
body.plinth #adminmenu li.wp-has-current-submenu a:focus div.wp-menu-image::before,
body.plinth #adminmenu li.wp-has-current-submenu.opensub div.wp-menu-image::before,
body.plinth #adminmenu li.wp-has-current-submenu:hover div.wp-menu-image::before {
	color: var(--pl-accent-text, var(--pl-accent));
}
/* Dashboard › Updates count is neutral like Comments; only Plugins stays accent. */
body.plinth #adminmenu #menu-dashboard .update-plugins,
body.plinth #adminmenu #menu-dashboard li.current a .update-plugins {
	background: var(--pl-surface-3);
	color: var(--pl-text-2);
}

/* Card gaps: chart + Site health 14px, the three lower cards 10px. */
.pl-overview:not(.pl-overview--brochure) > .pl-grid:not(.pl-grid--3) > .pl-card2 {
	gap: 14px;
}
.pl-overview:not(.pl-overview--brochure) > .pl-grid:not(.pl-grid--3) > .pl-chart {
	padding: 18px 20px 14px;
}
.pl-overview:not(.pl-overview--brochure) > .pl-grid--3 > .pl-card2 {
	gap: 10px;
}

/* Card buttons: Update / Save draft 26px, Update all 28px. */
body.plinth.wp-core-ui .pl-overview .pl-list--updates .button.button-small,
body.plinth.wp-core-ui .pl-overview .pl-quick .button.button-small {
	min-height: 26px;
	height: 26px;
	line-height: 24px;
	padding: 0 10px;
	border-radius: 7px;
	font-size: 12.5px;
	font-weight: 500;
}
body.plinth.wp-core-ui .pl-overview .pl-card2__foot .button.button-primary.button-small {
	min-height: 28px;
	height: 28px;
	line-height: 26px;
	padding: 0 10px;
	border-radius: 7px;
	font-size: 12.5px;
	font-weight: 600;
}

/* Continue writing: quiet row hover. */
body.plinth .pl-overview a.pl-row2:hover,
body.plinth .pl-overview a.pl-row2:focus-visible {
	background: color-mix(in srgb, var(--pl-text) 3%, transparent);
}

/* Light board keeps the dark initials chips; only your own avatar changes. */
body.plinth-light .pl-overview :is(.pl-avatar, .pl-chip-ini) {
	background: hsl(var(--h) 30% 22%);
	color: hsl(var(--h) 70% 82%);
}
@media (prefers-color-scheme: light) {
	body.plinth-auto .pl-overview :is(.pl-avatar, .pl-chip-ini) {
		background: hsl(var(--h) 30% 22%);
		color: hsl(var(--h) 70% 82%);
	}
}
/* Your own avatar matches the top-bar account chip. */
body.plinth .pl-overview .pl-avatar.pl-avatar--me {
	background: var(--pl-me-bg);
	color: var(--pl-me-fg);
}

/* ===== core: posts board pass (Posts / Notices) ===== */
/* Category chips: the edit.php chip wins over the generic list-table chip (incl. hover). */
body.plinth.edit-php #the-list td.column-categories a,
body.plinth.edit-php #the-list td.column-categories a:hover,
body.plinth.edit-php #the-list td.column-categories a:focus {
	display: inline-flex;
	align-items: center;
	box-sizing: border-box;
	height: 20px;
	margin: 2px 4px 2px 0;
	padding: 0 7px;
	border: 1px solid var(--pl-border);
	border-radius: 5px;
	background: var(--pl-surface-2);
	color: var(--pl-text-2);
	font-size: 11.5px;
	font-weight: 400;
	line-height: 1;
	text-decoration: none;
	box-shadow: none;
}

/* Empty list, Notices board "No posts yet". */
body.plinth.edit-php #the-list tr.no-items td .pl-empty-state {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 24px;
	text-align: center;
}
body.plinth.edit-php #the-list tr.no-items td .pl-empty-state__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	margin-bottom: 4px;
	border-radius: 50%;
	background: var(--pl-surface-3);
	color: var(--pl-text-2);
}
body.plinth.edit-php #the-list tr.no-items td .pl-empty-state__icon .pl-ico {
	width: 21px;
	height: 21px;
	margin: 0;
}
.pl-empty-state__title {
	color: var(--pl-text);
	font-size: 14px;
	font-weight: 600;
}
.pl-empty-state__text {
	max-width: 240px;
	color: var(--pl-text-2);
	font-size: 12.5px;
	line-height: 1.55;
}
.pl-empty-state__actions {
	margin-top: 6px;
}
body.plinth.wp-core-ui .pl-empty-state__actions .button {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 28px;
	height: 28px;
	line-height: 26px;
	padding: 0 10px;
	border-radius: 7px;
	font-size: 12.5px;
	font-weight: 600;
}
body.plinth.edit-php #the-list tr.no-items td .pl-empty-state__actions .pl-ico {
	display: inline-block;
	width: 14px;
	height: 14px;
	margin: 0;
}
/* ===== media: confirm dialog (window.plinthConfirm, Notices board → "Confirm before it’s permanent") ===== */
.pl-confirm {
	position: fixed;
	inset: 0;
	z-index: 100001;
	display: grid;
	place-items: center;
	padding: 16px;
	background: color-mix(in srgb, var(--pl-bg) 60%, transparent);
	animation: pl-confirm-fade .14s ease-out;
}
@keyframes pl-confirm-fade {
	from { opacity: 0; }
}
.pl-confirm__box {
	display: flex;
	flex-direction: column;
	gap: 16px;
	width: min(480px, 100%);
	box-sizing: border-box;
	padding: 20px;
	border: 1px solid var(--pl-border-strong);
	border-radius: 14px;
	background: var(--pl-surface-2);
	box-shadow: 0 12px 32px var(--pl-shadow-color);
	color: var(--pl-text);
	font-size: 13px;
}
.pl-confirm__top {
	display: flex;
	gap: 12px;
}
.pl-confirm__icon {
	display: grid;
	place-items: center;
	width: 36px;
	height: 36px;
	flex: none;
	border-radius: 50%;
	background: color-mix(in srgb, var(--pl-accent) 14%, transparent);
	color: var(--pl-accent);
}
.is-danger > .pl-confirm__top .pl-confirm__icon {
	background: color-mix(in srgb, var(--pl-crit) 14%, transparent);
	color: var(--pl-crit);
}
.pl-confirm__icon .pl-ico {
	width: 16px;
	height: 16px;
}
.pl-confirm__text {
	display: flex;
	flex-direction: column;
	gap: 5px;
	min-width: 0;
}
body.plinth .pl-confirm__title {
	margin: 0;
	color: var(--pl-text);
	font-size: 14.5px;
	font-weight: 600;
	line-height: 1.35;
}
body.plinth .pl-confirm__desc p {
	margin: 0;
	color: var(--pl-text-2);
	font-size: 12.5px;
	line-height: 1.55;
	overflow-wrap: anywhere;
}
body.plinth .pl-confirm__ack {
	display: flex;
	align-items: center;
	gap: 8px;
	color: var(--pl-text);
	font-size: 12.5px;
	cursor: pointer;
}
body.plinth .pl-confirm__ack input[type="checkbox"] {
	width: 15px;
	height: 15px;
	min-width: 15px;
	margin: 0;
	accent-color: var(--pl-accent);
}
.pl-confirm__actions {
	display: flex;
	justify-content: flex-end;
	gap: 8px;
}
body.plinth .pl-confirm__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	height: 28px;
	padding: 0 10px;
	border: 1px solid var(--pl-border-strong);
	border-radius: 7px;
	background: var(--pl-surface-2);
	color: var(--pl-text);
	font-size: 12.5px;
	font-weight: 500;
	white-space: nowrap;
	cursor: pointer;
}
body.plinth .pl-confirm__btn:hover {
	background: var(--pl-surface-3);
}
body.plinth .pl-confirm__btn.is-primary {
	border-color: transparent;
	background: var(--pl-accent);
	color: var(--pl-on-accent);
	font-weight: 600;
}
body.plinth .pl-confirm__btn.is-danger {
	background: color-mix(in srgb, var(--pl-crit) 72%, var(--pl-bg));
	color: var(--pl-text);
}
body.plinth.plinth-light .pl-confirm__btn.is-danger {
	background: var(--pl-crit);
	color: var(--pl-surface);
}
body.plinth .pl-confirm__btn.is-primary:hover {
	filter: brightness(1.1);
}
body.plinth .pl-confirm__btn.is-primary:disabled {
	opacity: .5;
	filter: none;
	cursor: not-allowed;
}
.pl-confirm__btn .pl-ico {
	width: 15px;
	height: 15px;
}
/* ===== themes: ThemeSheet — Theme details as a 900px side sheet (Core
   WordPress, rethought → ThemeSheet). Replaces core's details overlay. ===== */
body.plinth.pl-designed.themes-php .theme-overlay {
	display: none !important;
}
body.plinth.pl-designed.themes-php .theme-browser .theme .more-details {
	display: none;
}
body.plinth.pl-designed.themes-php .theme-browser .theme:not(.add-new-theme) .theme-screenshot {
	cursor: pointer;
}
body.plinth.pl-designed.themes-php .theme-browser .theme .theme-screenshot:focus-visible {
	outline: 2px solid var(--pl-accent);
	outline-offset: -2px;
}
body.plinth.pl-ts-open {
	overflow: hidden;
}
body.plinth.pl-ts-open .pl-toasts {
	z-index: 100002;
}
.pl-ts {
	position: fixed;
	inset: 0;
	z-index: 100001;
	display: flex;
	justify-content: flex-end;
	background: rgba(5, 6, 8, 0.55);
}
.pl-ts__sheet {
	position: relative;
	display: flex;
	flex-direction: column;
	width: min(900px, 100vw);
	height: 100%;
	background: var(--pl-surface);
	border-left: 1px solid var(--pl-border-strong);
	box-shadow: -24px 0 48px rgba(0, 0, 0, 0.35);
	color: var(--pl-text);
	font-size: 13px;
	line-height: 1.45;
	outline: none;
}
body.plinth .pl-ts .pl-ts__sheet:focus-visible {
	outline: none;
}
body.plinth .pl-ts .pl-ico {
	vertical-align: 0;
}

/* Buttons. */
.pl-ts-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	height: 32px;
	padding: 0 12px;
	border: 1px solid transparent;
	border-radius: 7px;
	background: transparent;
	color: var(--pl-text-2);
	font: inherit;
	font-size: 13px;
	font-weight: 500;
	line-height: 1;
	white-space: nowrap;
	text-decoration: none;
	cursor: pointer;
	box-sizing: border-box;
}
body.plinth .pl-ts-btn .pl-ico {
	width: 15px;
	height: 15px;
}
body.plinth .pl-ts-btn {
	color: var(--pl-text-2);
}
body.plinth .pl-ts :focus-visible {
	outline: 2px solid var(--pl-accent);
	outline-offset: 2px;
}
body.plinth .pl-ts-btn--pri {
	background: var(--pl-accent);
	color: var(--pl-on-accent);
	font-weight: 600;
}
body.plinth .pl-ts-btn--pri:hover {
	color: var(--pl-on-accent);
	filter: brightness(1.1);
}
body.plinth .pl-ts-btn--sec {
	background: var(--pl-surface-2);
	border-color: var(--pl-border-strong);
	color: var(--pl-text);
}
body.plinth .pl-ts-btn--sec:hover,
body.plinth .pl-ts-btn--ghost:hover {
	background: var(--pl-surface-3);
	color: var(--pl-text);
}
body.plinth .pl-ts-btn--danger {
	background: var(--pl-crit);
	color: var(--pl-on-accent);
	font-weight: 600;
}
body.plinth .pl-ts-btn--danger:hover {
	color: var(--pl-on-accent);
	filter: brightness(1.1);
}
.pl-ts-btn--sm {
	height: 28px;
	padding: 0 10px;
	font-size: 12.5px;
}
body.plinth .pl-ts-btn--sm .pl-ico {
	width: 14px;
	height: 14px;
}
.pl-ts-btn[aria-disabled="true"] {
	opacity: 0.7;
	cursor: default;
}

/* Chips. */
.pl-ts-chip {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	height: 22px;
	padding: 0 8px;
	border: 1px solid var(--pl-border);
	border-radius: 6px;
	background: var(--pl-surface-2);
	color: var(--pl-text-2);
	font-size: 11.5px;
	font-weight: 600;
	white-space: nowrap;
	box-sizing: border-box;
}
body.plinth .pl-ts-chip .pl-ico {
	width: 12px;
	height: 12px;
}
.pl-ts-chip--good {
	border-color: transparent;
	background: color-mix(in srgb, var(--pl-success) 14%, transparent);
	color: var(--pl-success);
}
.pl-ts-chip--accent {
	border-color: transparent;
	background: var(--pl-accent-soft);
	color: color-mix(in srgb, var(--pl-accent) 60%, var(--pl-text));
}

/* Header: always visible. */
.pl-ts__head {
	display: flex;
	align-items: center;
	gap: 14px;
	flex: none;
	padding: 16px 20px 16px 24px;
	border-bottom: 1px solid var(--pl-border);
}
.pl-ts__id {
	display: flex;
	flex-direction: column;
	gap: 4px;
	flex-grow: 1;
	min-width: 0;
}
.pl-ts__chips {
	display: flex;
	align-items: center;
	gap: 8px;
}
.pl-ts__pos {
	color: var(--pl-text-3);
	font-size: 12px;
	font-variant-numeric: tabular-nums;
}
.pl-ts__title {
	display: flex;
	align-items: baseline;
	gap: 10px;
	min-width: 0;
}
body.plinth .pl-ts__title h2 {
	margin: 0;
	padding: 0;
	overflow: hidden;
	color: var(--pl-text);
	font-size: 22px;
	font-weight: 650;
	letter-spacing: -0.015em;
	line-height: 1.25;
	white-space: nowrap;
	text-overflow: ellipsis;
}
.pl-ts__ver {
	color: var(--pl-text-3);
	font-size: 12.5px;
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}
.pl-ts__acts {
	display: flex;
	gap: 8px;
	flex: none;
}
.pl-ts__divider {
	width: 1px;
	height: 28px;
	margin: 0 2px;
	flex: none;
	background: var(--pl-border);
}
.pl-ts__close {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: none;
	width: 36px;
	height: 36px;
	padding: 0;
	border: 0;
	border-radius: 9px;
	background: transparent;
	color: var(--pl-text-2);
	cursor: pointer;
}
.pl-ts__close:hover {
	background: var(--pl-surface-3);
	color: var(--pl-text);
}
body.plinth .pl-ts__close .pl-ico {
	width: 17px;
	height: 17px;
}

/* Activated banner. */
.pl-ts__banner {
	display: flex;
	align-items: center;
	gap: 12px;
	flex: none;
	margin: 14px 24px 0;
	padding: 12px 14px;
	border-radius: 10px;
	background: color-mix(in srgb, var(--pl-success) 14%, transparent);
}
body.plinth .pl-ts__banner > .pl-ico {
	width: 17px;
	height: 17px;
	color: var(--pl-success);
}
.pl-ts__banner-text {
	flex-grow: 1;
	font-size: 13px;
}
.pl-ts__banner-text strong {
	font-weight: 600;
}

/* Preview. */
.pl-ts__preview {
	display: flex;
	flex-direction: column;
	gap: 12px;
	flex: none;
	padding: 18px 24px 0;
}
.pl-ts__prow {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}
.pl-ts__grow {
	flex-grow: 1;
}
.pl-ts__styles {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
}
.pl-ts__label {
	color: var(--pl-text-3);
	font-size: 12px;
}
.pl-ts__label--caps {
	font-size: 11.5px;
	font-weight: 600;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}
.pl-ts__swatch {
	display: flex;
	align-items: center;
	gap: 6px;
	height: 28px;
	padding: 0 8px 0 4px;
	border: 1px solid var(--pl-border);
	border-radius: 14px;
	background: var(--pl-surface-2);
	color: var(--pl-text);
	font: inherit;
	font-size: 12px;
	cursor: pointer;
	box-sizing: border-box;
}
.pl-ts__swatch[aria-pressed="true"] {
	border-color: var(--pl-accent);
}
.pl-ts__swatch-bg {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	box-shadow: inset 0 0 0 1px rgba(127, 127, 127, 0.35);
}
.pl-ts__swatch-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
}
.pl-ts__devices {
	display: flex;
	gap: 2px;
	flex: none;
	padding: 3px;
	border: 1px solid var(--pl-border);
	border-radius: 8px;
	background: var(--pl-surface-2);
}
.pl-ts__devices button {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 26px;
	padding: 0;
	border: 0;
	border-radius: 6px;
	background: transparent;
	color: var(--pl-text-2);
	cursor: pointer;
}
.pl-ts__devices button[aria-pressed="true"] {
	background: var(--pl-surface-3);
	color: var(--pl-text);
	box-shadow: inset 0 1px 0 color-mix(in srgb, var(--pl-text) 5%, transparent);
}
body.plinth .pl-ts__devices .pl-ico {
	width: 14px;
	height: 14px;
}
.pl-ts__stage {
	display: flex;
	justify-content: center;
	height: 330px;
	padding: 16px;
	border: 1px solid var(--pl-border);
	border-radius: 12px;
	background: var(--pl-bg);
	box-sizing: border-box;
}
.pl-ts__frame {
	display: flex;
	flex-direction: column;
	width: 100%;
	height: 100%;
	overflow: hidden;
	border-radius: 8px;
	background: var(--pl-surface-2);
	box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
	transition: width 0.2s ease;
}
.pl-ts__frame.is-tab {
	width: 300px;
}
.pl-ts__frame.is-mob {
	width: 170px;
}
.pl-ts__bar {
	display: flex;
	align-items: center;
	gap: 5px;
	flex: none;
	height: 22px;
	padding: 0 9px;
	background: var(--pl-surface-3);
}
.pl-ts__dot {
	width: 7px;
	height: 7px;
	flex: none;
	border-radius: 50%;
}
.pl-ts__dot.is-r {
	background: var(--pl-crit);
}
.pl-ts__dot.is-y {
	background: var(--pl-warn);
}
.pl-ts__dot.is-g {
	background: var(--pl-success);
}
.pl-ts__host {
	margin-left: 8px;
	overflow: hidden;
	color: var(--pl-text-2); /* text-3 on surface-3 misses 4.5:1 in both modes */
	font-size: 10px;
	white-space: nowrap;
	text-overflow: ellipsis;
}
.pl-ts__screen {
	flex-grow: 1;
	min-height: 0;
}
.pl-ts__screen img,
.pl-ts__screen svg {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: top center;
}
.pl-ts__note {
	color: var(--pl-text-3);
	font-size: 11.5px;
}
body.plinth .pl-ts__note a {
	color: color-mix(in srgb, var(--pl-accent) 60%, var(--pl-text));
	text-decoration: none;
}
body.plinth .pl-ts__note a:hover {
	text-decoration: underline;
}

/* Tabs. */
.pl-ts__tabs {
	display: flex;
	gap: 4px;
	flex: none;
	margin-top: 14px;
	padding: 0 24px;
	border-bottom: 1px solid var(--pl-border);
}
.pl-ts__tabs button {
	display: flex;
	align-items: center;
	gap: 6px;
	height: 42px;
	padding: 0 10px;
	border: 0;
	border-bottom: 2px solid transparent;
	background: transparent;
	color: var(--pl-text-3);
	font: inherit;
	font-size: 13px;
	font-weight: 500;
	cursor: pointer;
}
.pl-ts__tabs button:hover {
	color: var(--pl-text);
}
.pl-ts__tabs button[aria-selected="true"] {
	border-bottom-color: var(--pl-accent);
	color: var(--pl-text);
}
.pl-ts__count {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 18px;
	height: 18px;
	padding: 0 5px;
	border-radius: 9px;
	background: color-mix(in srgb, var(--pl-warn) 14%, transparent);
	color: var(--pl-warn);
	font-size: 10.5px;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
	box-sizing: border-box;
}
.pl-ts__body {
	flex-grow: 1;
	min-height: 0;
	padding: 16px 24px;
	overflow: auto;
}

/* Overview. */
.pl-ts__overview {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 260px;
	gap: 24px;
}
.pl-ts__col {
	display: flex;
	flex-direction: column;
	gap: 14px;
	min-width: 0;
}
body.plinth .pl-ts__desc {
	display: -webkit-box;
	margin: 0;
	overflow: hidden;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	color: var(--pl-text-2);
	font-size: 13.5px;
	line-height: 1.65;
}
body.plinth .pl-ts__desc.is-open {
	display: block;
}
.pl-ts__desc + .pl-ts__link {
	margin-top: -10px;
}
.pl-ts__link {
	align-self: flex-start;
	padding: 0;
	border: 0;
	background: transparent;
	color: color-mix(in srgb, var(--pl-accent) 60%, var(--pl-text));
	font: inherit;
	font-size: 12.5px;
	font-weight: 600;
	cursor: pointer;
}
.pl-ts__link:hover {
	text-decoration: underline;
}
.pl-ts__link[hidden] {
	display: none;
}
.pl-ts__feats {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px;
}
.pl-ts__feat {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 12px;
	border: 1px solid var(--pl-border);
	border-radius: 9px;
	background: var(--pl-surface-2);
	font-size: 12.5px;
	font-weight: 500;
}
.pl-ts__feat-dot {
	width: 6px;
	height: 6px;
	flex: none;
	border-radius: 50%;
	background: var(--pl-accent);
}
.pl-ts__side {
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.pl-ts__chipwrap {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}
.pl-ts__compat {
	display: flex;
	align-items: center;
	gap: 7px;
	margin-top: 6px;
	color: var(--pl-success);
	font-size: 12.5px;
}
.pl-ts__compat.is-warn {
	color: var(--pl-warn);
}
body.plinth .pl-ts__compat .pl-ico {
	width: 14px;
	height: 14px;
}

/* What changes. */
.pl-ts__info {
	display: flex;
	gap: 10px;
	padding: 12px;
	border-radius: 10px;
	background: var(--pl-surface-2);
	color: var(--pl-text-2);
	font-size: 12.5px;
	line-height: 1.5;
}
body.plinth .pl-ts__info .pl-ico {
	width: 15px;
	height: 15px;
	margin-top: 1px;
	color: var(--pl-text-3);
}
.pl-ts__changes {
	display: flex;
	flex-direction: column;
}
body.plinth .pl-ts__intro {
	margin: 0;
	padding-bottom: 8px;
	color: var(--pl-text-3);
	font-size: 12.5px;
}
.pl-ts__row {
	display: grid;
	grid-template-columns: 28px 130px minmax(0, 1fr) auto;
	align-items: center;
	gap: 12px;
	padding: 10px 0;
	border-top: 1px solid var(--pl-border);
}
.pl-ts__state {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 26px;
	height: 26px;
	border-radius: 50%;
}
body.plinth .pl-ts__state .pl-ico {
	width: 13px;
	height: 13px;
}
.pl-ts__state.is-ok {
	background: color-mix(in srgb, var(--pl-success) 14%, transparent);
	color: var(--pl-success);
}
.pl-ts__state.is-warn {
	background: color-mix(in srgb, var(--pl-warn) 14%, transparent);
	color: var(--pl-warn);
}
.pl-ts__state.is-info {
	background: var(--pl-surface-3);
	color: var(--pl-text-2);
}
.pl-ts__row-title {
	font-size: 13px;
	font-weight: 600;
}
.pl-ts__row-text {
	color: var(--pl-text-2);
	font-size: 12.5px;
	line-height: 1.5;
}

/* Details. */
.pl-ts__details {
	display: grid;
	grid-template-columns: 300px minmax(0, 1fr);
	gap: 24px;
	align-items: start;
}
.pl-ts__details .pl-ts__col {
	gap: 8px;
}
body.plinth .pl-ts__meta {
	display: flex;
	flex-direction: column;
	margin: 0;
	overflow: hidden;
	border: 1px solid var(--pl-border);
	border-radius: 10px;
}
.pl-ts__meta > div {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	padding: 8px 12px;
	border-top: 1px solid var(--pl-border);
	font-size: 12.5px;
}
.pl-ts__meta > div:first-child {
	border-top: 0;
}
.pl-ts__meta dt {
	color: var(--pl-text-3);
}
body.plinth .pl-ts__meta dd {
	margin: 0;
	font-weight: 500;
	font-variant-numeric: tabular-nums;
	text-align: right;
}
.pl-ts-tag {
	display: inline-flex;
	align-items: center;
	height: 24px;
	padding: 0 9px;
	border: 1px solid var(--pl-border);
	border-radius: 6px;
	background: var(--pl-surface-2);
	color: var(--pl-text-2);
	font-size: 12px;
	box-sizing: border-box;
}

/* Footer. */
.pl-ts__foot {
	display: flex;
	align-items: center;
	gap: 10px;
	flex: none;
	height: 60px;
	padding: 0 20px 0 24px;
	border-top: 1px solid var(--pl-border);
	background: var(--pl-chrome);
	box-sizing: border-box;
}
.pl-ts__ask {
	display: flex;
	align-items: center;
	gap: 8px;
	color: var(--pl-text-2);
	font-size: 12.5px;
}
.pl-ts__delete {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	height: 30px;
	padding: 0 8px;
	border: 0;
	border-radius: 7px;
	background: transparent;
	color: var(--pl-crit);
	font: inherit;
	font-size: 12.5px;
	font-weight: 500;
	cursor: pointer;
}
.pl-ts__delete:hover {
	background: color-mix(in srgb, var(--pl-text) 3%, transparent);
}
body.plinth .pl-ts__delete .pl-ico {
	width: 14px;
	height: 14px;
}
.pl-ts__muted,
.pl-ts__hint {
	color: var(--pl-text-3);
	font-size: 12.5px;
}
.pl-ts__hint {
	font-size: 12px;
}
.pl-ts__nav {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: none;
	width: 34px;
	height: 34px;
	padding: 0;
	border: 1px solid var(--pl-border-strong);
	border-radius: 9px;
	background: var(--pl-surface-2);
	color: var(--pl-text-2);
	cursor: pointer;
}
.pl-ts__nav:hover {
	background: var(--pl-surface-3);
	color: var(--pl-text);
}

/* After deleting. */
.pl-ts__done {
	position: absolute;
	inset: 0;
	z-index: 5;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 12px;
	padding: 24px;
	background: var(--pl-surface);
	text-align: center;
}
.pl-ts__done-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	border-radius: 50%;
	background: color-mix(in srgb, var(--pl-success) 14%, transparent);
	color: var(--pl-success);
}
body.plinth .pl-ts__done-icon .pl-ico {
	width: 24px;
	height: 24px;
}
.pl-ts__done-title {
	font-size: 16px;
	font-weight: 600;
}
.pl-ts__done-text {
	color: var(--pl-text-2);
	font-size: 13px;
}

@media (max-width: 782px) {
	.pl-ts__head {
		flex-wrap: wrap;
		padding: 12px 16px;
	}
	.pl-ts__divider {
		display: none;
	}
	.pl-ts__id {
		order: 0;
		flex-basis: calc(100% - 50px);
	}
	.pl-ts__close {
		order: 1;
	}
	.pl-ts__acts {
		order: 2;
	}
	.pl-ts__banner {
		flex-wrap: wrap;
		margin: 12px 16px 0;
	}
	.pl-ts__preview,
	.pl-ts__body {
		padding-left: 16px;
		padding-right: 16px;
	}
	.pl-ts__tabs {
		padding: 0 16px;
	}
	.pl-ts__stage {
		height: 240px;
	}
	.pl-ts__overview,
	.pl-ts__details {
		grid-template-columns: minmax(0, 1fr);
	}
	.pl-ts__row {
		grid-template-columns: 28px minmax(0, 1fr);
	}
	.pl-ts__row > :nth-child(3),
	.pl-ts__row > :nth-child(4) {
		grid-column: 2;
	}
	.pl-ts__foot {
		padding: 0 16px;
	}
	.pl-ts__hint {
		display: none;
	}
}
/* ===== notices: Updates DB chip, loading & empty states ===== */
/* Updates: "Runs a database update" goes once the row is updated. */
.pl-upd-row[data-state="done"] .pl-upd-db {
	display: none;
}

/* Skeleton rows (Notices board → Loading). Reusable: .pl-skel-row holding a
   .pl-skel--tile and .pl-skel--line / .pl-skel--sub bars; add .pl-skel to
   any block for the surface + shimmer. class-plinth-notices.php prints a
   .pl-skel-list on designed list screens; it shows only while admin.js holds
   the list (and leaves with the 2.5s release). */
.pl-skel {
	position: relative;
	display: block;
	overflow: hidden;
	background: var(--pl-surface-3);
	border-radius: 5px;
}
.pl-skel--line::after,
.pl-skel--shimmer::after {
	content: "";
	position: absolute;
	inset: 0;
	width: 50%;
	background: linear-gradient(90deg, transparent, var(--pl-surface-2), transparent);
	animation: pl-bar 1.4s ease-in-out infinite;
}
.pl-skel--tile {
	flex: none;
	width: 32px;
	height: 32px;
	border-radius: 8px;
}
.pl-skel--line {
	height: 9px;
}
.pl-skel--sub {
	height: 8px;
	border-radius: 4px;
	background: var(--pl-surface-2);
}
.pl-skel-row {
	display: flex;
	align-items: center;
	gap: 12px;
}
.pl-skel-row__lines {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 7px;
	min-width: 0;
}
.pl-skel-list {
	display: none;
}
@keyframes pl-skel-out {
	to { visibility: hidden; height: 0; margin: 0; padding: 0; border-width: 0; }
}
body.plinth.pl-designed:is(.edit-php:not(.pl-list-ready), .users-php:not(.pl-list-ready), .edit-comments-php:not(.pl-list-ready), .plugins-php:not(.pl-plugins-ready)) .pl-skel-list {
	display: flex;
	flex-direction: column;
	gap: 14px;
	margin: 24px 20px 0 2px;
	padding: 24px;
	overflow: hidden;
	background: var(--pl-surface);
	border: 1px solid var(--pl-border);
	border-radius: var(--pl-r-lg);
	animation: pl-skel-out 0s 2.5s forwards;
}
@media (prefers-reduced-motion: reduce) {
	.pl-skel--line::after,
	.pl-skel--shimmer::after {
		animation: none;
	}
}

/* Empty state card (Notices board → Empty states; used by Comments). */
.pl-empty-state {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 280px;
	padding: 24px;
	box-sizing: border-box;
	background: var(--pl-surface);
	border: 1px solid var(--pl-border);
	border-radius: var(--pl-r-lg);
	text-align: center;
}
.pl-empty-state[hidden] {
	display: none;
}
.pl-empty-state__icon {
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	margin-bottom: 4px;
	border-radius: 50%;
	background: var(--pl-surface-3);
	color: var(--pl-text-2);
}
.pl-empty-state__icon .pl-ico {
	width: 21px;
	height: 21px;
}
.pl-empty-state__title {
	color: var(--pl-text);
	font-size: 14px;
	font-weight: 600;
}
.pl-empty-state__text {
	max-width: 240px;
	color: var(--pl-text-2);
	font-size: 12.5px;
	line-height: 1.55;
}
.pl-empty-state__act {
	margin-top: 6px;
}
body.plinth.pl-comments-empty #comments-form .wp-list-table,
body.plinth.pl-comments-empty #comments-form .tablenav.bottom {
	display: none;
}

/* Busy button (admin.js → window.plinthBusy): spinner + "Saving…", neutral. */
body.plinth .pl-btn-busy,
body.plinth .button.pl-btn-busy,
body.plinth .button-primary.pl-btn-busy {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	border-color: var(--pl-border-strong);
	background: var(--pl-surface-2);
	color: var(--pl-text-2);
	box-shadow: none;
	cursor: default;
}
body.plinth .button.pl-btn-busy:hover,
body.plinth .button-primary.pl-btn-busy:hover {
	border-color: var(--pl-border-strong);
	background: var(--pl-surface-2);
	color: var(--pl-text-2);
	filter: none;
}
/* ===== winora: Match your site (WinoraBrand) ===== */
/* Logo and type: compact switch rows — label left, switch flush right. */
.pl-logotype .pl-logotype__logo {
	margin: 0 20px;
	padding: 14px 0;
}
.pl-logotype .pl-srow--switch {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin: 0 20px;
	padding: 12px 0;
}
.pl-logotype .pl-srow--switch + .pl-srow--switch {
	border-top: 1px solid var(--pl-border);
}
body.plinth .pl-logotype .pl-srow--switch .pl-srow__label {
	font-weight: 500;
}
body.plinth .pl-logotype .pl-srow--switch .pl-srow__help {
	font-size: 12px;
}
.pl-logotype .pl-srow--switch .pl-switch {
	flex: none;
}
/* Logos sit on white (light scope surface). */
.pl-logotype__tile.pl-light-scope,
.pl-bpv.has-bar-logo .pl-bpv__badge:has(img) {
	background: var(--pl-surface);
}
/* Login preview: always light; the page ground unless branded. */
.pl-bpv__login.pl-light-scope {
	background: var(--pl-bg);
}
.pl-bpv.has-login-brand .pl-bpv__login.pl-light-scope {
	background: var(--bg, var(--pl-bg));
}
.pl-bpv__login .pl-bpv__card {
	background: var(--pl-surface);
	color: var(--pl-text);
}
.pl-bpv__login .pl-bpv__field {
	border-color: var(--pl-border-strong);
	background: var(--pl-bg);
}
/* Branded lockup: logo + site name in the brand colour and font. */
.pl-bpv.has-login-brand .pl-bpv__brand {
	gap: 8px;
}
.pl-bpv.has-login-brand .pl-bpv__brand img {
	max-height: 18px;
}
.pl-bpv.has-login-brand .pl-bpv__brand span {
	color: var(--pl-accent);
	font-family: var(--pl-bpv-font), var(--pl-font);
	font-size: 20px;
	font-weight: 400;
	line-height: 1;
	letter-spacing: 0.01em;
}
/* Preview demo switch: a real toggle. */
body.plinth .pl-bpv__switch {
	flex: none;
	padding: 0;
	border: 0;
	cursor: pointer;
	transition: background-color 0.15s ease;
}
body.plinth .pl-bpv__switch::after {
	transition: left 0.15s ease;
}
body.plinth .pl-bpv__switch[aria-checked="false"] {
	background: var(--pl-border-strong);
}
body.plinth .pl-bpv__switch[aria-checked="false"]::after {
	left: 2px;
	background: var(--pl-text-2);
}
/* ===== wpcore: Settings board pass ===== */
.pl-cs-masked {
	color: var(--pl-text);
	font-size: 13px;
	font-variant-numeric: tabular-nums;
}
body.plinth .pl-cs-inline .button-link.pl-cs-link {
	padding: 0;
	border: 0;
	background: none;
	color: var(--pl-link);
	font-size: 12.5px;
	cursor: pointer;
}

/* ===== wpcore: Upload plugin board pass ===== */
.pl-up-checks__ico {
	display: inline-flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 16px;
	height: 16px;
}
.pl-up-checks li.is-done .pl-ico {
	color: var(--pl-success);
}
.pl-up-checks li.is-wait .pl-ico {
	color: var(--pl-text-3);
}

/* ===== audit: plugin upsell banners ===== */
/* Elementor's "Elevate your site with Elementor Pro" conversion banner is drawn by its own
   script into Themes, Plugins and other core screens. The boards keep promotions in the
   notice tray's muted promo group, never on the page. */
body.plinth #e-conversion-banner {
	display: none !important;
}
/* Site Health: "Passed tests" starts collapsed, as on the board. */
body.plinth .pl-passed__list[hidden] {
	display: none !important;
}
/* Profile: one help line per row (the board's), and no second "Application Passwords" heading. */
body.plinth.profile-php .user-email-wrap td > .description,
body.plinth.user-edit-php .user-email-wrap td > .description,
body.plinth .pl-ap > h2,
body.plinth .pl-ap > h3 {
	display: none !important;
}
/* Plugin sections (Yoast SEO settings, …): their own heading repeats the card title. */
body.plinth .pl-prof__card .pl-prof__body > h2:first-child,
body.plinth .pl-prof__card .pl-prof__body > div > h2:first-child,
body.plinth .pl-prof__card .pl-prof__body > div > h3:first-child {
	display: none;
}
body.plinth .pl-prof__card .pl-prof__body :is(label, p, td, th) {
	font-size: 13px;
}
/* Core shows "Confirm use of weak password" only for a weak new password (jQuery .show()). */
body.plinth #your-profile tr.pw-weak:not([style*="display"]) {
	display: none !important;
}

/* ===== Add plugins: "Browse by tag" (replaces core's Popular tags cloud) ===== */
body.plinth .pl-tags {
	margin: 24px 0 8px;
	padding: 18px 20px;
	border: 1px solid var(--pl-border);
	border-radius: 12px;
	background: var(--pl-surface);
}
body.plinth .pl-tags__title {
	margin: 0 0 12px;
	color: var(--pl-text);
	font-size: 14px;
	font-weight: 600;
}
body.plinth .pl-tags__note {
	margin: 0;
	color: var(--pl-text-2);
	font-size: 13px;
}
.pl-tags__list {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}
body.plinth a.pl-tag-chip {
	display: inline-flex;
	align-items: center;
	height: 26px;
	padding: 0 10px;
	border-radius: 6px;
	background: var(--pl-surface-2);
	color: var(--pl-text-2);
	font-size: 12.5px !important;
	line-height: 1;
	text-decoration: none;
}
body.plinth a.pl-tag-chip[hidden] {
	display: none;
}
body.plinth a.pl-tag-chip:hover,
body.plinth a.pl-tag-chip:focus-visible {
	color: var(--pl-text);
	background: var(--pl-surface-3);
}
body.plinth .pl-tags__more {
	margin-top: 12px;
	padding: 0;
	border: 0;
	background: none;
	color: color-mix(in srgb, var(--pl-accent) 60%, var(--pl-text));
	font-size: 12.5px;
	font-weight: 500;
	cursor: pointer;
}

/* 0.3.1 — phone fixes from the 0.3.0 review. */
@media screen and (max-width: 782px) {
	/* Posts / Pages / Users rows grow with a title that wraps (on phones the
	   cells are blocks, so a fixed height made long titles spill over). */
	body.plinth:is(.edit-php, .users-php) #the-list > tr > * {
		height: auto;
		min-height: 58px;
		box-sizing: border-box;
	}
	body.plinth:is(.edit-php, .users-php) #the-list > tr > .check-column {
		display: flex;
		align-items: center;
		justify-content: center;
	}
	body.plinth:is(.edit-php, .users-php) #the-list > tr > .column-primary {
		display: flex;
		flex-direction: column;
		justify-content: center;
		padding-top: 10px;
		padding-bottom: 10px;
	}
	/* Status tabs scroll inside their own row instead of the whole page. */
	body.plinth .pl-toolbar__left {
		min-width: 0;
		max-width: 100%;
	}
	body.plinth .pl-seg--tabs {
		max-width: 100%;
		overflow-x: auto;
		scrollbar-width: none;
	}
	/* Header actions (e.g. the file editors' Theme files | Plugin files and the
	   file select) wrap under the title. */
	body.plinth .pl-head__actions {
		flex-wrap: wrap;
		max-width: 100%;
		min-width: 0;
	}
	body.plinth .pl-head__actions select {
		max-width: 100%;
	}
	/* Plugin and theme notices with fixed-width art (Hello Elementor's welcome
	   card) mustn't make the whole screen scroll sideways. */
	/* Only max-width, at zero specificity, so plugin image sizes (Code
	   Snippets' header logo) and Plinth's own tiles (.pl-tile2 img) win
	   again; height: auto only where width/height attributes would stretch
	   a scaled-down image (socialbox H1). */
	:where(body.plinth #wpbody-content) img {
		max-width: 100%;
	}
	:where(body.plinth #wpbody-content) img[width][height] {
		height: auto;
	}
	/* Themes' screenshots relied on the old rule (0.3.9 H2). */
	body.plinth.pl-designed.themes-php #wpbody-content .theme-browser .theme .theme-screenshot img {
		height: auto;
	}
	body.plinth #wpbody-content :is(.notice, .MuiPaper-root) {
		max-width: 100%;
		box-sizing: border-box;
	}
}

/* Settings screens (General, Reading, Discussion, Media, Permalinks, Privacy)
   are re-laid out by admin.js, which runs at the end of the page. Keep the
   content hidden until it's done (pl-cs-ready) so core's form never flashes
   first; reveal after 3 s regardless, in case JavaScript doesn't run. */
body.plinth.pl-cs-screen:not(.pl-cs-ready) #wpbody-content {
	opacity: 0;
	animation: pl-cs-reveal 0s linear 3s forwards;
}
body.plinth.pl-cs-screen.pl-cs-ready #wpbody-content {
	animation: pl-cs-fade .12s ease-out;
}
@keyframes pl-cs-reveal {
	to {
		opacity: 1;
	}
}
@keyframes pl-cs-fade {
	from {
		opacity: 0;
	}
}

/* Plugin notices with a fixed width (Hello Elementor's welcome card is
   1144 px) stay inside the content column at every width. */
body.plinth #wpbody-content :is(.notice, .MuiPaper-root) {
	max-width: 100%;
	box-sizing: border-box;
}

/* Screens re-laid out by admin.js (Plugin::cloaked(): Users, Profile,
   Comments, Plugins, Add plugins, Themes, Menus, Revisions, Media, the post
   and page lists, Categories): hidden until pl-dressed, then a short fade.
   Shown after 3 s by CSS alone if JavaScript doesn't run. */
body.plinth.pl-cloak:not(.pl-dressed) #wpbody-content {
	opacity: 0;
	animation: pl-cs-reveal 0s linear 3s forwards;
}
body.plinth.pl-cloak.pl-dressed #wpbody-content {
	animation: pl-cs-fade .12s ease-out;
}

/* 0.3.4 — fixes from the 0.3.3 check (Winora). */
/* Settings → Plinth with an Elementor kit: the 500 px brand preview column
   stacks under the form instead of pushing the page sideways. */
@media screen and (max-width: 1100px) {
	.pl-settings2__grid:has(.pl-bpv) {
		grid-template-columns: minmax(0, 1fr);
	}
}
.pl-settings2__grid > *,
.pl-settings2__side,
.pl-pvcard,
.pl-bpv {
	min-width: 0;
	max-width: 100%;
}
.pl-bpv__admin,
.pl-bpv__login {
	overflow: hidden;
}
/* Segmented filters: the count on the selected segment reads (was 2.99:1). */
body.plinth :is(a.pl-seg__btn[aria-current="page"], .pl-seg button[aria-pressed="true"]) .pl-seg__count {
	color: var(--pl-text); /* 4.33 → 5+:1 (0.3.6) */
}

/* ---------- Brand icon in the top bar (0.3.4, Branding & login) ----------
   Both icons are in the bar; the mode decides which shows. The icon keeps its
   own shape (no accent fill behind it); a white tile or a faint edge when the
   brand check asked for one. */
body.plinth #wpadminbar img.pl-brand__logo {
	box-sizing: border-box;
	padding: 0;
	background: transparent;
	object-fit: contain;
}
body.plinth #wpadminbar img.pl-brand__logo.is-tile {
	padding: 2px;
	background: #fff;
}
body.plinth #wpadminbar img.pl-brand__logo.has-edge {
	box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.16);
}
body.plinth.plinth-dark #wpadminbar .pl-icon--light,
body.plinth.plinth-light #wpadminbar .pl-icon--dark,
body.plinth.plinth-auto #wpadminbar .pl-icon--dark {
	display: none !important;
}
@media (prefers-color-scheme: dark) {
	body.plinth.plinth-auto #wpadminbar .pl-icon--dark {
		display: grid !important;
	}
	body.plinth.plinth-auto #wpadminbar .pl-icon--light {
		display: none !important;
	}
}

/* ---------- No admin footer (0.3.4, FooterClean) ----------
   No "Thank you for creating with WordPress", no version, no plugin "rate us"
   lines — and no empty bar where they were. */
body.plinth #wpfooter {
	display: none;
}
body.plinth #wpbody-content {
	padding-bottom: 32px;
}

/* ==========================================================================
   0.3.6: fixes from the 0.3.4 review (claude/plinth-0.3.4-review.md)
   ========================================================================== */

/* Dashboard tiles: the count comes from PHP (--pl-stats-n); narrower screens
   still get fewer columns (the old inline style beat the media queries). */
.pl-stats.pl-stats--n {
	grid-template-columns: repeat(var(--pl-stats-n, 5), minmax(0, 1fr));
}
@media screen and (max-width: 900px) {
	.pl-stats.pl-stats--n { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media screen and (max-width: 600px) {
	.pl-stats.pl-stats--n,
	.pl-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	body.plinth a.pl-stat { min-width: 0; padding: 12px 14px; }
	.pl-stat__top { gap: 8px; min-width: 0; }
	.pl-stat__label,
	.pl-stat__meta { min-width: 0; overflow-wrap: anywhere; }

	/* Enquiries: name and topic stacked, the actions on their own line. */
	.pl-enq__row { grid-template-columns: 34px minmax(0, 1fr); }
	.pl-enq__acts { grid-column: 2; flex-wrap: wrap; }
	.pl-enq__meta { flex-wrap: wrap; row-gap: 4px; }
	.pl-enq__topic { max-width: 100%; }
	body.plinth .pl-enq__body p { white-space: normal; }

	/* Edit your pages: the button wraps under the title. */
	.pl-editpages__row { flex-wrap: wrap; }
	.pl-editpages__title { flex-basis: calc(100% - 24px); }
	body.plinth .pl-editpages__row .button { margin-left: 24px; }

	/* "Simplified for a site without a blog": the link goes under the text. */
	.pl-simple { flex-wrap: wrap; }
	.pl-simple__text { flex-basis: calc(100% - 76px); }
	.pl-simple__close { order: 3; }
	body.plinth .pl-overview .button.pl-simple__link { order: 4; margin-left: 28px; }

	/* Match your site: one swatch per row; the hex line wraps by word. */
	.pl-match__grid { grid-template-columns: minmax(0, 1fr); padding: 0 16px; }
	body.plinth .pl-match__text code { white-space: normal; word-break: normal; overflow-wrap: anywhere; }

	/* Site Health counts: labels wrap inside their tiles. */
	.pl-score__counts > div { min-width: 0; padding: 10px; }
	.pl-score__counts span { flex-wrap: wrap; min-width: 0; font-size: 11.5px; overflow-wrap: anywhere; }
}
.pl-match__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media screen and (max-width: 600px) {
	.pl-match__grid { grid-template-columns: minmax(0, 1fr); }
}

/* Settings → Plinth on phones: the settings first, the preview after them. */
@media screen and (max-width: 782px) {
	.pl-settings2__grid > .pl-pvcard,
	.pl-settings2__grid > .pl-settings2__side { order: 1; }
}

/* Phone menu drawer: no core arrow wedge next to the current item. */
body.plinth #adminmenu .wp-menu-arrow,
body.plinth #adminmenu li.current a.menu-top::after,
body.plinth #adminmenu li.wp-has-current-submenu a.wp-has-current-submenu::after {
	display: none !important;
}


/* Menus on phones: the last two inputs under 16 px. */
@media screen and (max-width: 782px) {
	body.plinth.nav-menus-php :is(input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]), select, textarea) {
		font-size: 16px !important;
	}
}

/* Notice tray on phones: plugin notices with an image column (Elementor's)
   lose it; the tray's × stands in for the notice's own. */
@media screen and (max-width: 782px) {
	body.plinth .pl-tray__body :is(.e-notice__aside, .e-notice--extended .e-notice__aside) { display: none; }
}
body.plinth .pl-tray__body :is(.e-notice__dismiss, [class*="dismiss"][role="button"]) {
	display: none;
}

/* ==========================================================================
   Update card: Plugins and Themes (class-plinth-update-card.php,
   update-card.js; canvas v24 PluginsUpdates / ThemesUpdates)
   ========================================================================== */
.pl-ucard {
	position: relative;
	margin: 0 0 20px;
	overflow: hidden;
	background: var(--pl-surface);
	border: 1px solid var(--pl-border);
	border-radius: var(--pl-r-lg);
}
.pl-ucard.is-ready,
.pl-ucard.is-updating {
	box-shadow: inset 3px 0 0 var(--pl-accent);
}
.pl-ucard__bar {
	position: absolute;
	top: 0;
	right: 0;
	left: 0;
	height: 3px;
	pointer-events: none;
}
.pl-ucard__bar span {
	display: block;
	width: 0;
	height: 100%;
	background: var(--pl-accent);
	transition: width .4s ease;
}
.pl-ucard__head {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 14px 16px 14px 16px;
}
.pl-ucard__icon {
	display: grid;
	flex: none;
	place-items: center;
	width: 34px;
	height: 34px;
	border: 1px solid var(--pl-border);
	border-radius: 9px;
	background: var(--pl-surface-2);
	color: var(--pl-text-2);
}
.pl-ucard.is-good .pl-ucard__icon {
	border-color: transparent;
	background: color-mix(in srgb, var(--pl-success) 14%, transparent);
	color: var(--pl-success);
}
.pl-ucard__icon .pl-ico {
	width: 16px;
	height: 16px;
}
.pl-ucard.is-updating .pl-ucard__icon .pl-ico {
	animation: pl-ucard-spin 1.2s linear infinite;
}
.pl-ucard__titles {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}
body.plinth .pl-ucard__title {
	color: var(--pl-text);
	font-size: 14px;
	font-weight: 600;
}
.pl-ucard__sub,
.pl-ucard__keep {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
	color: var(--pl-text-3);
	font-size: 12.5px;
}
.pl-ucard__sub[hidden],
.pl-ucard__keep[hidden] {
	display: none;
}
.pl-ucard__when {
	display: inline-flex;
	align-items: center;
	gap: 5px;
}
.pl-ucard__when .pl-ico {
	width: 12px;
	height: 12px;
}
body.plinth .pl-ucard__sub a {
	color: var(--pl-text-2);
}
body.plinth .pl-ucard__sub a:hover {
	color: var(--pl-text);
}
.pl-ucard__acts {
	display: flex;
	flex: none;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
}
body.plinth .pl-ucard__acts .button,
body.plinth .pl-ucard__one,
body.plinth .pl-ucard-cardbtn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}
body.plinth .pl-ucard__acts .pl-ico,
body.plinth .pl-ucard__one .pl-ico,
body.plinth .pl-ucard-cardbtn .pl-ico {
	width: 13px;
	height: 13px;
}
body.plinth .pl-ucard [aria-disabled="true"] {
	opacity: .65;
	pointer-events: none;
}
.pl-ucard__list {
	margin: 0;
	padding: 0;
	list-style: none;
}
.pl-ucard__row {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0;
	padding: 12px 16px;
	border-top: 1px solid var(--pl-border);
}
.pl-ucard__ava {
	display: grid;
	flex: none;
	place-items: center;
	width: 34px;
	height: 34px;
	overflow: hidden;
	border-radius: 9px;
	background: color-mix(in srgb, var(--pl-accent) 16%, var(--pl-surface-2));
	color: color-mix(in srgb, var(--pl-accent) 45%, var(--pl-text));
	font-size: 12px;
	font-weight: 700;
}
.pl-ucard__ava img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.pl-ucard__main {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
}
.pl-ucard__name {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 8px;
}
body.plinth .pl-ucard__name strong {
	color: var(--pl-text);
	font-size: 13.5px;
	font-weight: 600;
}
.pl-ucard-tag {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	height: 20px;
	padding: 0 7px;
	border-radius: 5px;
	background: var(--pl-surface-2);
	color: var(--pl-text-2);
	font-size: 11.5px;
	font-weight: 600;
}
.pl-ucard-tag .pl-ico {
	width: 11px;
	height: 11px;
}
.pl-ucard-tag--warn {
	background: color-mix(in srgb, var(--pl-warning, #E5A93B) 16%, transparent);
	color: color-mix(in srgb, var(--pl-warning, #E5A93B) 80%, var(--pl-text));
}
.pl-ucard-tag--good {
	background: color-mix(in srgb, var(--pl-success) 14%, transparent);
	color: var(--pl-success);
}
.pl-ucard__ver {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px 8px;
	color: var(--pl-text-3);
	font-size: 12.5px;
}
body.plinth .pl-ucard__ver code {
	padding: 0;
	border: 0;
	background: none;
	box-shadow: none;
	color: var(--pl-text-3);
	font-family: var(--pl-mono);
	font-size: 12px;
}
body.plinth .pl-ucard__ver code.is-new {
	color: var(--pl-text);
	font-weight: 600;
}
.pl-ucard__arrow {
	width: 11px;
	height: 11px;
	margin: 0 -2px;
}
body.plinth a.pl-ucard__more {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	color: var(--pl-text-2);
}
body.plinth a.pl-ucard__more:hover {
	color: var(--pl-text);
}
.pl-ucard__more .pl-ico {
	width: 11px;
	height: 11px;
}
.pl-ucard__state {
	display: none;
	align-items: center;
	gap: 6px;
	color: var(--pl-text-3);
	font-size: 12.5px;
	white-space: nowrap;
}
.pl-ucard__row[data-state] .pl-ucard__state {
	display: inline-flex;
}
body.plinth .pl-ucard__row[data-state] .pl-ucard__one {
	display: none;
}
body.plinth .pl-ucard__row[data-state="error"] .pl-ucard__one {
	display: inline-flex;
}
.pl-ucard__row[data-state="done"] .pl-ucard__state {
	color: var(--pl-success);
}
.pl-ucard__row[data-state="error"] .pl-ucard__state {
	max-width: 220px;
	overflow: hidden;
	color: var(--pl-danger, #E5484D);
	text-overflow: ellipsis;
}
.pl-ucard__row[data-state="running"] .pl-ucard__state {
	color: var(--pl-text-2);
}
.pl-ucard__state .pl-ico {
	width: 14px;
	height: 14px;
}
.pl-ucard__spin {
	width: 12px;
	height: 12px;
	box-sizing: border-box;
	border: 2px solid color-mix(in srgb, var(--pl-text) 20%, transparent);
	border-top-color: var(--pl-text-2);
	border-radius: 50%;
	animation: pl-ucard-spin .8s linear infinite;
}
@keyframes pl-ucard-spin {
	to { transform: rotate(360deg); }
}
@media (prefers-reduced-motion: reduce) {
	.pl-ucard__spin,
	.pl-ucard.is-updating .pl-ucard__icon .pl-ico { animation-duration: 3s; }
	.pl-ucard__bar span { transition: none; }
}
body.plinth .pl-ucard__foot {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	padding: 10px 16px;
	border-top: 1px solid var(--pl-border);
	background: color-mix(in srgb, var(--pl-text) 2%, transparent);
	color: var(--pl-text-3);
	font-size: 12.5px;
}
.pl-ucard__foot .pl-ico {
	flex: none;
	width: 13px;
	height: 13px;
}
.pl-ucard.is-updating .pl-ucard__foot {
	display: none;
}

/* Themes: "Update to x" ribbon on the screenshot, Update beside Activate.
   Core's own "New version available" strip is replaced by these. */
body.plinth .theme-browser .theme.pl-has-upd .update-message {
	display: none;
}
.theme-browser .theme .theme-screenshot {
	position: relative;
}
.pl-ucard-ribbon {
	position: absolute;
	top: 10px;
	left: 10px;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	gap: 5px;
	height: 24px;
	padding: 0 8px;
	border-radius: 6px;
	background: var(--pl-accent);
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
	color: var(--pl-on-accent, #fff);
	font-size: 12px;
	font-weight: 600;
}
.pl-ucard-ribbon .pl-ico {
	width: 12px;
	height: 12px;
}
/* A card with an update: name and version on one line, the actions under it. */
body.plinth.pl-designed.themes-php .theme-browser .theme.pl-has-upd .theme-id-container {
	flex-wrap: wrap;
}
body.plinth.pl-designed.themes-php .theme-browser .theme.pl-has-upd .theme-name {
	flex-basis: 100%;
}
body.plinth.pl-designed.themes-php .theme-browser .theme.pl-has-upd .theme-actions {
	width: 100%;
}
body.plinth.pl-designed.themes-php .theme-browser .theme .theme-actions .button.pl-ucard-cardbtn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	border: 1px solid var(--pl-border-strong);
	background: var(--pl-surface-2);
	color: var(--pl-text);
}
body.plinth.pl-designed.themes-php .theme-browser .theme .theme-actions .button.pl-ucard-cardbtn:hover {
	background: var(--pl-surface-3, var(--pl-surface-2));
}
body.plinth.pl-designed.themes-php .theme-browser .theme .theme-actions .button.pl-ucard-cardbtn:disabled {
	opacity: .6;
}

@media screen and (max-width: 782px) {
	.pl-ucard__head {
		flex-wrap: wrap;
	}
	.pl-ucard__titles {
		flex-basis: calc(100% - 52px);
	}
	.pl-ucard__acts {
		width: 100%;
	}
	body.plinth .pl-ucard__acts .button {
		flex: 1;
		justify-content: center;
	}
	.pl-ucard__row {
		flex-wrap: wrap;
	}
	.pl-ucard__main {
		flex-basis: calc(100% - 52px);
	}
	body.plinth .pl-ucard__one,
	.pl-ucard__state {
		justify-content: center;
		width: 100%;
	}
	body.plinth .pl-ucard__foot {
		align-items: flex-start;
	}
}

/* Count columns line up on the right; the update card's live title keeps its width. */
body.plinth .wp-list-table :is(th, td):is(.column-posts, .column-count, .num) {
	text-align: right;
}
body.plinth .pl-ucard__title {
	min-width: 16ch;
}
/* Fixed-height chips,
   tags and counters keep their text centred. */
body.plinth :is(.pl-chip, .pl-bc-chip, .pl-ucard-tag, .pl-seg__count, .pl-enq__topic, .pl-ucard-ribbon) {
	line-height: 1.2;
}

/* Updates on phones (0.3.9, nhsdachurch P1): the section head stacks — title,
   then Select all / Update selected on their own line — and "by …" drops
   under a long plugin name instead of cutting it. */
@media screen and (max-width: 600px) {
	.pl-upd-card__title {
		flex-basis: 100%;
	}
	.pl-upd-card__actions {
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		justify-content: space-between;
		gap: 8px;
		width: 100%;
	}
	.pl-upd-row__name {
		flex-wrap: wrap;
		column-gap: 8px;
		row-gap: 1px;
	}
	.pl-upd-row__name strong {
		white-space: normal;
		overflow-wrap: anywhere;
	}
	.pl-upd-row__name span {
		white-space: nowrap;
	}
}

/* Phone drawer (nhsdachurch M4): after a tap the current parent keeps focus,
   and core's focus colour (white) won in light mode — white on white. */
body.plinth #adminmenu li.wp-has-current-submenu > a.wp-has-current-submenu:is(:focus, :hover, :active),
body.plinth #adminmenu li.current > a.menu-top:is(:focus, :hover, :active),
body.plinth #adminmenu .wp-submenu a:is(:focus, :active) {
	color: var(--pl-text) !important;
}
body.plinth .pl-tray__row[hidden] {
	display: none !important;
}

/* Green chips in light mode were 3.87:1 ("Up to date", "Compatible with …",
   "Active"): the text takes a quarter of the text colour — darker in light
   mode, lighter in dark — and clears 4.5:1 in both. */
body.plinth :is(.pl-chip--good, .pl-ucard-tag--good) {
	color: color-mix(in srgb, var(--pl-success) 72%, var(--pl-text));
}
/* Elementor's notices in the tray: its image column is empty there. */
body.plinth .pl-tray__body .e-notice__aside {
	display: none;
}

/* ==========================================================================
   0.3.11: dev.socialbox.be test (claude/plinth-socialbox-test.md)
   ========================================================================== */

/* M2: a plugin's own text colour (one.com's #3C3C3C) can't beat the note's,
   and one.com's page title follows the heading colour. */
body.plinth #wpbody-content div.pl-note :is(p, span, li, strong, em, b, small):not(.pl-note__icon):not([class*="button"]) {
	color: inherit;
}
body.plinth :is(h1, h2).one-title {
	color: var(--pl-text) !important;
}
/* L5: plugin logos inside a note sit on a light tile, like the menu icons. */
body.plinth div.pl-note img {
	max-height: 40px;
	padding: 3px;
	border-radius: 6px;
	background: #fff;
	box-sizing: border-box;
}
/* L1: destructive links (Code Snippets' "Trash") in dark mode: core's
   #b32d2e is 2.54:1 on the dark surface. */
body.plinth:not(.plinth-light) :is(a.delete, a.submitdelete, .button-link.delete, .button-link-delete, .row-actions .trash a, .row-actions .delete a) {
	color: #F97066;
}
@media (prefers-color-scheme: light) {
	body.plinth.plinth-auto :is(a.delete, a.submitdelete, .button-link.delete, .button-link-delete, .row-actions .trash a, .row-actions .delete a) {
		color: #b32d2e;
	}
}
/* H2: list-table columns a plugin adds without a width (Socialbox
   Translate's "Translations" next to Elementor's percentage columns) keep
   enough room for their content. */
@media screen and (min-width: 783px) {
	/* 0.3.12 (socialbox retest): no generic min-width any more — it reached
	   every column of every "fixed" list table and pushed Elementor's
	   templates list to 1247 px. Only the column that needs it, and
	   Polylang's flag columns are icon-sized. */
	body.plinth.post-type-elementor_library .wp-list-table.fixed {
		table-layout: auto;
	}
	body.plinth.post-type-elementor_library .wp-list-table .column-shortcode {
		width: 18%;
	}
	body.plinth.post-type-elementor_library .wp-list-table th.column-sbt {
		min-width: 150px;
	}
	body.plinth .wp-list-table :is(th, td)[class*="column-language_"] {
		width: 32px;
		min-width: 0;
		padding-left: 4px;
		padding-right: 4px;
		text-align: center;
	}
}
/* The templates list scrolls inside its own box when it doesn't fit, so
   the header and filters stay put. 0.3.14: every desktop width — at exactly
   1440 it was 35 px over and the whole page slid. When it fits, nothing
   happens. The shortcode stays on one line in smaller type (rows were 144 px
   tall at 1280–1440). */
@media screen and (min-width: 783px) {
	body.plinth.post-type-elementor_library #posts-filter {
		max-width: 100%;
		overflow-x: auto;
	}
	body.plinth.post-type-elementor_library .wp-list-table td.column-shortcode,
	body.plinth.post-type-elementor_library .wp-list-table td.column-shortcode :is(input, code) {
		font-size: 11px;
	}
	body.plinth.post-type-elementor_library .wp-list-table td.column-shortcode code {
		white-space: nowrap;
	}
	/* Elementor's shortcode is a <textarea rows=1> its JS sizes from its
	   scroll height (138 px tall in an 80 px column): one line, scrolls. */
	body.plinth.post-type-elementor_library .elementor-shortcode-textarea {
		box-sizing: border-box;
		width: 100%;
		height: auto !important;
		min-height: 0;
		overflow-x: auto;
		overflow-y: hidden;
		font: 11px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace;
		white-space: nowrap;
		resize: none;
	}
}
/* L2: plugin tables that aren't list tables scroll inside themselves on
   phones instead of pushing the page sideways (Socialbox Translate). */
@media screen and (max-width: 782px) {
	body.plinth #wpbody-content .wrap table:not(.wp-list-table):not(.form-table):not(.widefat.fixed):not([class*="pl-"]) {
		display: block;
		max-width: 100%;
		overflow-x: auto;
	}
}

/* ==========================================================================
   0.3.12: socialbox retest (claude/plinth-0.3.11-socialbox-retest.md)
   ========================================================================== */
/* L5: Simple History's black wordmark in its own page header, in dark mode. */
body.plinth:not(.plinth-light) .sh-PageHeader-titleLink img {
	filter: invert(1) hue-rotate(180deg);
}
@media (prefers-color-scheme: light) {
	body.plinth.plinth-auto .sh-PageHeader-titleLink img {
		filter: none;
	}
}
/* N1: every top-level menu name in Plinth's type, whatever a plugin sets for
   its own (one.com: 16 px Open Sans for an image wordmark). */
body.plinth #adminmenu a.menu-top > .wp-menu-name {
	font: 500 13px/1.3 var(--pl-font);
}
/* N3: row-action links in dark mode use Plinth's link colour (core's
   #2271B1 is 3.09:1 on the dark surface). */
body.plinth:not(.plinth-light) .row-actions a:not(.delete):not(.submitdelete):not([class*="trash"]) {
	color: var(--pl-link);
}
/* N4: a long author ("by Triple J Software, Inc.") wraps inside its cell. */
@media screen and (max-width: 782px) {
	body.plinth .pl-p-by {
		min-width: 0;
		white-space: normal;
		overflow-wrap: anywhere;
	}
}

/* 0.3.16: the person's picture over their initials (claude/plinth-avatars.md).
   The initials sit under it — they show while it loads and stay if it fails
   (admin.js removes a failed image). */
.pl-ava {
	position: relative;
	overflow: hidden;
}
.pl-ava > .pl-ava__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	max-width: none;
	margin: 0;
	border-radius: inherit;
	object-fit: cover;
	box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08);
}
body.plinth #wpadminbar #wp-admin-bar-my-account > .ab-item .pl-me > img.pl-ava__img {
	display: block;
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 50%;
	float: none;
}

/* 0.3.16: Review step while core is still updating translations in the same
   request (admin.js hasn't run yet): only the card shows. */
body.plinth #wpbody-content > .wrap.pl-up-early > :not(.pl-up-review):not(.pl-head):not(.pl-up-stack):not(.pl-banner):not(h1) {
	display: none;
}
/* 0.3.18: core's h1 stays in the layout (admin.js builds Plinth's header from
   it and skips a title that's display:none), just unseen. */
body.plinth #wpbody-content > .wrap.pl-up-early > h1 {
	visibility: hidden;
}
body.plinth .wrap.pl-up-early .pl-up-review {
	margin-top: 24px;
	max-width: 760px;
}

/* 0.3.18: update.php (upload / replace) is held until admin.js has dressed it
   (body.pl-up-ready), with Plinth's skeleton standing in — core's raw
   "Unpacking the package…" page never shows. Released after 6 s anyway, in
   case admin.js never runs. */
@keyframes pl-skel-out {
	to { visibility: hidden; height: 0; overflow: hidden; margin: 0; }
}
body.plinth.pl-upflow.update-php:not(.pl-up-ready) #wpbody-content > .wrap {
	visibility: hidden;
	animation: pl-release 0s 6s forwards;
}
body.plinth.pl-upflow.update-php:not(.pl-up-ready) .pl-up-skel {
	animation: pl-skel-out 0s 6s forwards;
}
.pl-up-skel {
	display: flex;
	flex-direction: column;
	gap: 20px;
	max-width: 760px;
	margin: 28px 0 0;
}
body.plinth.pl-up-ready .pl-up-skel,
body:not(.pl-upflow) .pl-up-skel {
	display: none;
}

/* 0.3.19: the account button. Core's #wpadminbar * { position: static }
   beat .pl-ava's position: relative, so the photo filled the whole item
   (54 × 48) and covered the chevron. The photo is a 26 px circle again, with
   a hairline ring so a dark photo doesn't melt into the bar, and the trigger
   gets the New button's pill on hover and while open. */
body.plinth #wpadminbar #wp-admin-bar-my-account > .ab-item .pl-me {
	position: relative;
	overflow: hidden;
	flex: none;
}
body.plinth #wpadminbar #wp-admin-bar-my-account > .ab-item .pl-me.pl-ava {
	box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.14);
}
body.plinth-light #wpadminbar #wp-admin-bar-my-account > .ab-item .pl-me.pl-ava {
	box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1);
}
@media (prefers-color-scheme: light) {
	body.plinth-auto #wpadminbar #wp-admin-bar-my-account > .ab-item .pl-me.pl-ava {
		box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1);
	}
}
body.plinth #wpadminbar #wp-admin-bar-my-account > .ab-item {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	box-sizing: border-box;
	padding: 2px 8px 2px 2px;
	border: 1px solid transparent;
	transition: background-color 0.12s ease, border-color 0.12s ease;
}
body.plinth #wpadminbar #wp-admin-bar-my-account > .ab-item:hover,
body.plinth #wpadminbar #wp-admin-bar-my-account > .ab-item:focus-visible,
body.plinth #wpadminbar #wp-admin-bar-my-account > .ab-item[aria-expanded="true"] {
	border-color: var(--pl-border-strong);
	background: var(--pl-surface-2);
}
body.plinth #wpadminbar #wp-admin-bar-my-account > .ab-item .pl-ab-chev {
	width: 12px;
	height: 12px;
	transition: transform 0.15s ease;
}
body.plinth #wpadminbar #wp-admin-bar-my-account > .ab-item[aria-expanded="true"] .pl-ab-chev {
	transform: rotate(180deg);
}
@media screen and (max-width: 782px) {
	body.plinth #wpadminbar #wp-admin-bar-my-account > .ab-item {
		padding: 0 4px;
		border: 0;
		background: none;
	}
}

/* ==========================================================================
   0.3.20 · Settings → Plinth → Sign-in (login address) — canvas v32
   ========================================================================== */
.pl-scard__head.pl-la__head {
	flex-direction: row;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
}
.pl-la__head > div {
	display: flex;
	flex-direction: column;
	gap: 2px;
}
.pl-la__chip {
	flex: none;
	white-space: nowrap;
}
.pl-la__field {
	display: flex;
	align-items: center;
	gap: 8px;
	box-sizing: border-box;
	width: 100%;
	max-width: 560px;
	min-height: 40px;
	padding: 4px 4px 4px 12px;
	border: 1px solid var(--pl-border-strong);
	border-radius: 9px;
	background: var(--pl-surface);
	transition: border-color 0.12s ease, box-shadow 0.12s ease;
}
.pl-la__field:focus-within {
	border-color: var(--pl-accent);
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--pl-accent) 22%, transparent);
}
.pl-la__field[data-check="ok"] {
	border-color: var(--pl-accent);
}
.pl-la__field[data-check="warn"] {
	border-color: var(--pl-warn);
}
.pl-la__field[data-check="error"] {
	border-color: var(--pl-crit);
}
.pl-la__prefix,
.pl-la__url,
.pl-la__mono,
body.plinth .pl-la__input {
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	font-size: 13px;
}
.pl-la__prefix {
	flex: none;
	color: var(--pl-text-3);
	white-space: nowrap;
}
body.plinth .pl-la__field input.pl-la__input,
body.plinth .pl-la__field input.pl-la__input:focus {
	border: 0 !important;
	border-radius: 0;
	background: none !important;
	box-shadow: none !important;
	outline: none;
}
body.plinth .pl-la__input {
	flex: 1;
	min-width: 60px;
	height: 30px;
	min-height: 30px;
	margin: 0 0 0 -6px;
	padding: 0;
	border: 0;
	background: none;
	box-shadow: none;
	color: var(--pl-text);
}
body.plinth .pl-la__input:focus {
	border: 0;
	box-shadow: none;
	outline: none;
}
.pl-la__url {
	flex: 1;
	min-width: 0;
	overflow: hidden;
	color: var(--pl-text);
	text-overflow: ellipsis;
	white-space: nowrap;
}
.pl-la__field .pl-la__copy {
	flex: none;
	display: inline-flex;
	align-items: center;
	gap: 5px;
}
.pl-la__copy .pl-ico {
	width: 13px;
	height: 13px;
}
.pl-la__check {
	display: flex;
	align-items: center;
	gap: 6px;
	min-height: 18px;
	margin: 8px 0 0;
	color: var(--pl-text-2);
	font-size: 12.5px;
}
.pl-la__check .pl-ico {
	width: 14px;
	height: 14px;
}
.pl-la__check.is-ok { color: var(--pl-success); }
.pl-la__check.is-warn { color: var(--pl-warn); }
.pl-la__check.is-error { color: var(--pl-crit); }
.pl-la__check.is-busy { color: var(--pl-text-3); }
.pl-la__hint {
	margin: 6px 0 0;
	color: var(--pl-text-3);
	font-size: 12px;
}
body.plinth .pl-la__suggest {
	padding: 0;
	border: 0;
	background: none;
	color: var(--pl-link);
	font: inherit;
	cursor: pointer;
}
body.plinth .pl-la__suggest:hover {
	text-decoration: underline;
}
.pl-la__acts {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 14px;
}
.pl-la__acts .button {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}
.pl-la__acts .pl-ico {
	width: 14px;
	height: 14px;
}
.pl-la__meta {
	margin: 8px 0 0;
	color: var(--pl-text-3);
	font-size: 12px;
}
.pl-la__old {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin: 0;
}
.pl-la__old > div {
	display: grid;
	grid-template-columns: 120px minmax(0, 1fr);
	align-items: start;
	gap: 10px;
}
.pl-la__old dt {
	color: var(--pl-text);
	white-space: nowrap;
}
.pl-la__old dd {
	display: flex;
	align-items: flex-start;
	gap: 6px;
	margin: 0;
	color: var(--pl-text-2);
	font-size: 13px;
}
.pl-la__old dd .pl-ico {
	width: 13px;
	height: 13px;
	color: var(--pl-text-3);
}
.pl-la__keeps {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 6px 18px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.pl-la__keeps li {
	display: flex;
	align-items: center;
	gap: 7px;
	margin: 0;
	color: var(--pl-text-2);
	font-size: 13px;
}
.pl-la__keeps .pl-ico {
	flex: none;
	width: 14px;
	height: 14px;
	color: var(--pl-success);
}
.pl-la__info,
.pl-la__banner {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin: 16px 20px 4px;
	padding: 12px 14px;
	border: 1px solid var(--pl-border);
	border-radius: 10px;
	background: var(--pl-surface-2);
	color: var(--pl-text);
	font-size: 13px;
}
.pl-la__info > .pl-ico,
.pl-la__banner > .pl-ico {
	flex: none;
	width: 16px;
	height: 16px;
	margin-top: 1px;
	color: var(--pl-text-2);
}
.pl-la__info p {
	margin: 0 0 8px;
}
.pl-la__info p:last-child {
	margin-bottom: 0;
}
.pl-la__banner > div {
	display: flex;
	flex-direction: column;
	gap: 2px;
}
.pl-la__banner span {
	color: var(--pl-text-2);
	font-size: 12.5px;
}
.pl-la__banner--good {
	border-color: color-mix(in srgb, var(--pl-success) 40%, var(--pl-border));
	background: color-mix(in srgb, var(--pl-success) 10%, var(--pl-surface));
}
.pl-la__banner--good > .pl-ico {
	color: var(--pl-success);
}
.pl-la__banner--crit > .pl-ico {
	color: var(--pl-crit);
}
.pl-la__note {
	margin: 0;
	color: var(--pl-text-2);
}
/* Confirm dialog */
.pl-la-dlg {
	position: fixed;
	inset: 0;
	z-index: 100100;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
	background: rgba(0, 0, 0, 0.55);
}
.pl-la-dlg[hidden] {
	display: none;
}
.pl-la-dlg__box {
	box-sizing: border-box;
	width: 100%;
	max-width: 520px;
	padding: 24px;
	border: 1px solid var(--pl-border);
	border-radius: 14px;
	background: var(--pl-surface);
	box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35);
	color: var(--pl-text);
}
body.plinth .pl-la-dlg__box h2 {
	margin: 0 0 6px;
	color: var(--pl-text);
	font-size: 18px;
	font-weight: 600;
}
.pl-la-dlg__box > p {
	margin: 0 0 14px;
	color: var(--pl-text-2);
	font-size: 13.5px;
	line-height: 1.5;
}
.pl-la-dlg__addr {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 10px;
	padding: 12px 12px 12px 14px;
	border: 1px solid var(--pl-border-strong);
	border-radius: 10px;
	background: var(--pl-surface-2);
}
.pl-la-dlg__addr code {
	flex: 1;
	min-width: 0;
	overflow-wrap: anywhere;
	padding: 0;
	background: none;
	color: var(--pl-text);
	font: 600 15px/1.4 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
.pl-la-dlg__tip {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 12.5px !important;
}
.pl-la-dlg__tip .pl-ico {
	width: 14px;
	height: 14px;
}
.pl-la-dlg__check {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin: 0 0 10px;
	cursor: pointer;
}
.pl-la-dlg__check input {
	margin-top: 2px;
}
.pl-la-dlg__check span {
	display: flex;
	flex-direction: column;
	gap: 2px;
	font-size: 13.5px;
}
.pl-la-dlg__check strong {
	font-weight: 500;
}
.pl-la-dlg__check small {
	color: var(--pl-text-3);
	font-size: 12px;
}
.pl-la-dlg__err {
	margin: 0 0 10px;
	color: var(--pl-crit);
	font-size: 13px;
}
.pl-la-dlg__foot {
	display: flex;
	justify-content: flex-end;
	gap: 8px;
	margin-top: 18px;
}
@media screen and (max-width: 600px) {
	.pl-la__keeps {
		grid-template-columns: 1fr;
	}
	.pl-la__head {
		flex-direction: column;
	}
	.pl-la__prefix {
		max-width: 40%;
		overflow: hidden;
		text-overflow: ellipsis;
	}
}

.pl-la__field.is-ro .pl-la__url.is-wrap {
	overflow: visible;
	white-space: normal;
	overflow-wrap: anywhere;
}

/* ==========================================================================
   0.3.21 — Settings → Plinth, rethought (canvas v37 "Settings, rethought":
   SettingsNew, SettingsNewDirty, SettingsNewSearch, SettingsNewPhone).
   A settings sidebar, one section at a time, and a save bar.
   ========================================================================== */
.pl-set3 {
	max-width: 1120px;
}
.pl-set3__grid {
	display: grid;
	grid-template-columns: 232px minmax(0, 1fr);
	gap: 28px;
	align-items: start;
}
.pl-set3__pane {
	min-width: 0;
	padding-bottom: 96px;
}
.pl-set3 .pl-settings2__form {
	gap: 28px;
}

/* ---------- Sidebar ---------- */
.pl-set3__nav {
	position: sticky;
	top: calc(var(--pl-bar-h) + 16px);
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}
body.plinth .pl-set3__items,
body.plinth .pl-set3__items li {
	margin: 0;
	padding: 0;
	list-style: none;
}
.pl-set3__items {
	display: flex;
	flex-direction: column;
	gap: 2px;
}
body.plinth .pl-set3__item {
	display: flex;
	align-items: center;
	gap: 10px;
	height: 36px;
	padding: 0 10px;
	border-radius: 8px;
	color: var(--pl-text-2);
	font-size: 13px;
	font-weight: 500;
	text-decoration: none;
	box-shadow: none;
}
body.plinth .pl-set3__item:hover {
	background: var(--pl-surface-2);
	color: var(--pl-text);
}
body.plinth .pl-set3__item:focus-visible {
	outline: 2px solid var(--pl-accent);
	outline-offset: -2px;
}
body.plinth .pl-set3__item[aria-current="page"] {
	background: var(--pl-surface-2);
	color: var(--pl-text);
}
.pl-set3__item > .pl-ico {
	width: 16px;
	height: 16px;
	flex: none;
	color: var(--pl-text-3);
}
.pl-set3__item[aria-current="page"] > .pl-ico:first-child {
	color: color-mix(in srgb, var(--pl-accent) 60%, var(--pl-text));
}
.pl-set3__item > .pl-ico:last-child {
	display: none;
}
.pl-set3__label {
	white-space: nowrap;
}
.pl-set3__hint {
	min-width: 0;
	max-width: 92px;
	margin-left: auto;
	overflow: hidden;
	color: var(--pl-text-3);
	font-size: 11.5px;
	font-weight: 400;
	white-space: nowrap;
	text-overflow: ellipsis;
}
.pl-set3__dot {
	width: 7px;
	height: 7px;
	flex: none;
	border-radius: 50%;
	background: var(--pl-accent);
}
.pl-set3__dot[hidden] {
	display: none;
}
.pl-set3__div {
	height: 1px;
	margin: 8px 10px !important;
	background: var(--pl-border);
}
.pl-set3__foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	margin-top: 12px;
	padding: 12px 10px 0;
	border-top: 1px solid var(--pl-border);
	color: var(--pl-text-3);
	font-size: 12px;
}
body.plinth .pl-set3__foot a {
	color: color-mix(in srgb, var(--pl-accent) 60%, var(--pl-text));
	font-size: 12.5px;
	font-weight: 500;
	text-decoration: none;
}
body.plinth .pl-set3__foot a:hover {
	text-decoration: underline;
}
body.plinth .pl-set3__all {
	display: none;
	margin: 0 0 8px;
	color: var(--pl-text-3);
	font-size: 11.5px;
	font-weight: 600;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}
.pl-set3__select {
	display: none;
}
.pl-set3 .pl-srow[hidden],
.pl-set3__select[hidden],
.pl-set3__search[hidden],
.pl-set3__back[hidden] {
	display: none !important;
}

/* ---------- Search ---------- */
.pl-set3__search {
	position: relative;
	margin-bottom: 10px;
}
.pl-set3__q {
	display: flex;
	align-items: center;
	gap: 8px;
	height: 32px;
	padding: 0 6px 0 10px;
	border: 1px solid var(--pl-border-strong);
	border-radius: 8px;
	background: var(--pl-surface-2);
	color: var(--pl-text-3);
}
.pl-set3__q:focus-within {
	border-color: var(--pl-accent);
}
.pl-set3__q > .pl-ico {
	width: 14px;
	height: 14px;
	flex: none;
}
body.plinth .pl-set3__q input[type="search"] {
	flex: 1;
	min-width: 0;
	height: 100%;
	min-height: 0;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	box-shadow: none;
	color: var(--pl-text);
	font-size: 12.5px;
	outline: none;
}
body.plinth .pl-set3__q input[type="search"]::-webkit-search-cancel-button {
	display: none;
}
body.plinth .pl-set3__q kbd,
body.plinth .pl-set3__bar kbd {
	padding: 3px 5px;
	border: 1px solid var(--pl-border-strong);
	border-radius: 4px;
	background: var(--pl-surface-3);
	color: var(--pl-text-2);
	font-family: inherit;
	font-size: 10.5px;
	font-weight: 600;
	line-height: 1;
}
.pl-set3__results {
	position: absolute;
	z-index: 50;
	top: 38px;
	left: 0;
	display: flex;
	flex-direction: column;
	width: 300px;
	max-width: calc(100vw - 32px);
	padding: 6px;
	border: 1px solid var(--pl-border-strong);
	border-radius: 10px;
	background: var(--pl-surface);
	box-shadow: 0 12px 32px var(--pl-shadow-color, rgba(0, 0, 0, 0.45));
}
.pl-set3__results[hidden] {
	display: none;
}
.pl-set3__rhead {
	padding: 4px 8px 6px;
	color: var(--pl-text-3);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}
body.plinth .pl-set3__r {
	display: flex;
	align-items: center;
	gap: 10px;
	width: 100%;
	padding: 8px;
	border: 0;
	border-radius: 7px;
	background: transparent;
	color: var(--pl-text);
	text-align: left;
	cursor: pointer;
}
body.plinth .pl-set3__r[aria-selected="true"],
body.plinth .pl-set3__r:hover {
	background: var(--pl-surface-2);
}
.pl-set3__r > span {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 1px;
	min-width: 0;
}
.pl-set3__r strong {
	font-size: 13px;
	font-weight: 500;
}
.pl-set3__r small {
	color: var(--pl-text-3);
	font-size: 11.5px;
}
.pl-set3__r > .pl-ico {
	width: 14px;
	height: 14px;
	color: var(--pl-text-3);
}
.pl-set3__none {
	padding: 8px;
	color: var(--pl-text-2);
	font-size: 12.5px;
}

/* ---------- Sections ---------- */
.pl-sec {
	display: flex;
	flex-direction: column;
	gap: 14px;
	min-width: 0;
	scroll-margin-top: calc(var(--pl-bar-h) + 16px);
}
.pl-set3.is-js .pl-sec:not(.is-current) {
	display: none;
}
.pl-sec__head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 16px;
	padding: 0 2px;
}
.pl-sec__title {
	display: flex;
	flex-direction: column;
	gap: 3px;
	max-width: 640px;
}
body.plinth .pl-sec__title h2 {
	margin: 0;
	color: var(--pl-text);
	font-size: 17px;
	font-weight: 650;
	letter-spacing: -0.01em;
	outline: none;
}
body.plinth .pl-sec__title p {
	margin: 0;
	color: var(--pl-text-3);
	font-size: 12.5px;
	line-height: 1.5;
}
.pl-sec__dirty[hidden] {
	display: none;
}
.pl-sec__dirty .pl-ico {
	width: 12px;
	height: 12px;
}
/* The section head names the card; the cards inside drop their own. */
.pl-sec #pl-brand > .pl-scard__head {
	display: none;
}
.pl-set3 .pl-srow {
	grid-template-columns: 220px minmax(0, 1fr);
	gap: 28px;
	padding: 16px 20px;
	transition: background-color 0.3s ease, box-shadow 0.3s ease;
}
.pl-set3 .pl-srow.is-found {
	background: color-mix(in srgb, var(--pl-accent) 14%, transparent);
	box-shadow: inset 3px 0 0 var(--pl-accent);
}
.pl-set3 .pl-scard.is-found {
	box-shadow: 0 0 0 2px var(--pl-accent);
}
.pl-sec .pl-scard + .pl-scard {
	margin-top: 0;
}
.pl-ccards {
	display: flex;
	flex-direction: column;
	gap: 14px;
}
body.plinth .pl-ccard__now {
	align-self: flex-start;
	height: auto;
	margin-top: 6px;
	padding: 3px 8px;
	border: 1px solid var(--pl-border);
	background: var(--pl-surface-2);
	color: var(--pl-text-2);
	white-space: normal;
}
.pl-ccard__now .pl-ico {
	width: 12px;
	height: 12px;
	flex: none;
}
.pl-set3__needs[data-off] .pl-srow__text,
.pl-set3__needs[data-off] .pl-switchline {
	opacity: 0.5;
}
.pl-set3__inline {
	display: flex;
	align-items: center;
	gap: 8px 16px;
	flex-wrap: wrap;
	font-size: 12.5px;
}
.pl-set3__muted {
	color: var(--pl-text-3);
	font-size: 12px;
}
.pl-set3 .pl-srow__control > .pl-link {
	display: inline-flex;
	align-items: center;
	gap: 3px;
	align-self: flex-start;
	text-decoration: none;
}
.pl-set3 .pl-link .pl-ico {
	width: 12px;
	height: 12px;
}
.pl-set3__bcp .pl-bcp {
	position: static;
	max-width: 452px;
}
.pl-set3__plainsave {
	display: flex;
	justify-content: flex-end;
}
.pl-set3.is-js .pl-set3__plainsave {
	display: none;
}

/* Preview row (Appearance). */
.pl-set3 .pl-pvrow {
	position: static;
	display: grid;
	padding: 16px 20px;
	border: 0;
	border-radius: 0;
	background: none;
}
.pl-pvrow__main {
	display: flex;
	align-items: center;
	gap: 24px;
	flex-wrap: wrap;
}
.pl-pvrow .pl-preview {
	width: 300px;
	height: 188px;
	flex: none;
}
body.plinth .pl-pvrow .pl-pvfacts {
	gap: 10px;
	min-width: 180px;
}
body.plinth .pl-pvrow .pl-pvfacts li {
	justify-content: flex-start;
	gap: 0;
}
body.plinth .pl-pvrow .pl-pvfacts li > span {
	width: 64px;
	color: var(--pl-text-3);
}
.pl-pvrow .pl-pvfacts code {
	color: var(--pl-text-3);
}
.pl-pvrow .pl-pv-label {
	margin-top: 8px;
}

/* Danger outline (Tools › Reset). */
body.plinth .button.pl-btn-danger-outline {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	align-self: flex-start;
	border-color: var(--pl-border-strong);
	background: transparent;
	color: var(--pl-crit);
}
body.plinth .button.pl-btn-danger-outline:hover,
body.plinth .button.pl-btn-danger-outline:focus {
	border-color: var(--pl-crit);
	background: color-mix(in srgb, var(--pl-crit) 10%, transparent);
	color: var(--pl-crit);
}
.pl-btn-danger-outline .pl-ico {
	width: 14px;
	height: 14px;
}

/* Import drop zone. */
.pl-drop {
	display: flex;
	align-items: center;
	gap: 12px;
	box-sizing: border-box;
	width: 100%;
	max-width: 560px;
	padding: 14px;
	border: 1px dashed var(--pl-border-strong);
	border-radius: 10px;
	cursor: pointer;
}
.pl-drop.is-over,
.pl-drop:focus-within {
	border-color: var(--pl-accent);
	background: color-mix(in srgb, var(--pl-accent) 8%, transparent);
}
.pl-drop > .pl-ico {
	width: 20px;
	height: 20px;
	flex: none;
	color: var(--pl-text-3);
}
.pl-drop__text {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}
.pl-drop__text strong {
	color: var(--pl-text);
	font-size: 13px;
	font-weight: 500;
}
.pl-drop__text span {
	color: var(--pl-text-3);
	font-size: 12px;
}
body.plinth .pl-drop__err {
	color: var(--pl-crit);
}
body.plinth .pl-imp-list {
	display: flex;
	flex-direction: column;
	max-height: 320px;
	margin: 14px 0 0;
	padding: 0;
	overflow: auto;
	border: 1px solid var(--pl-border);
	border-radius: 10px;
	list-style: none;
}
body.plinth .pl-imp-list li {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 2px 12px;
	margin: 0;
	padding: 10px 12px;
	font-size: 12.5px;
}
body.plinth .pl-imp-list li + li {
	border-top: 1px solid var(--pl-border);
}
.pl-imp-list strong {
	color: var(--pl-text);
	font-weight: 500;
}
.pl-imp-list small {
	color: var(--pl-text-3);
	font-size: 11.5px;
	text-align: right;
}
.pl-imp-list span {
	grid-column: 1 / -1;
	color: var(--pl-text-2);
}
.pl-imp-list del {
	color: var(--pl-text-3);
}
.pl-imp-dlg .pl-la-dlg__btns {
	display: flex;
	justify-content: flex-end;
	gap: 8px;
	margin-top: 18px;
}

/* ---------- Save bar ---------- */
.pl-set3__bar {
	position: fixed;
	z-index: 9990;
	bottom: 20px;
	left: var(--pl-bar-left, 50%);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	box-sizing: border-box;
	width: var(--pl-bar-width, 640px);
	height: 56px;
	padding: 0 12px 0 18px;
	border: 1px solid var(--pl-border-strong);
	border-radius: 12px;
	background: var(--pl-surface-2);
	box-shadow: 0 12px 32px var(--pl-shadow-color, rgba(0, 0, 0, 0.45));
	color: var(--pl-text);
	animation: pl-set3-up 0.18s ease-out;
}
.pl-set3__bar[hidden] {
	display: none;
}
@keyframes pl-set3-up {
	from { opacity: 0; transform: translateY(12px); }
	to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
	.pl-set3__bar { animation: none; }
}
.pl-set3__bar-text {
	display: flex;
	align-items: center;
	gap: 10px;
	min-width: 0;
}
.pl-set3__bar-dot {
	width: 8px;
	height: 8px;
	flex: none;
	border-radius: 50%;
	background: var(--pl-accent);
}
.pl-set3__bar-text strong {
	font-size: 13px;
	font-weight: 600;
	white-space: nowrap;
}
.pl-set3__bar-text [data-bar-where] {
	overflow: hidden;
	color: var(--pl-text-3);
	font-size: 12.5px;
	white-space: nowrap;
	text-overflow: ellipsis;
}
.pl-set3__bar-btns {
	display: flex;
	flex: none;
	align-items: center;
	gap: 8px;
}
body.plinth.wp-core-ui .pl-set3__bar .button {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	height: 34px;
	min-height: 34px;
	margin: 0;
	padding: 0 12px;
	font-size: 13px;
	line-height: 32px;
}
.pl-set3__bar .button .pl-ico {
	width: 14px;
	height: 14px;
}
body.plinth .pl-set3__bar .button-primary kbd {
	padding: 0;
	border: 0;
	background: none;
	color: inherit;
	font-size: 11px;
	opacity: 0.75;
}
.pl-set3__save-short {
	display: none;
}
.pl-set3__bar.is-error {
	border-color: color-mix(in srgb, var(--pl-crit) 55%, var(--pl-border-strong));
	background: color-mix(in srgb, var(--pl-crit) 12%, var(--pl-surface-2));
}
.pl-set3__bar.is-error .pl-set3__bar-dot {
	background: var(--pl-crit);
}
.pl-set3__bar.is-error [data-bar-where] {
	color: var(--pl-text-2);
	white-space: normal;
}

/* ---------- 783–1100 px: the sidebar becomes a select ---------- */
@media screen and (max-width: 1100px) {
	.pl-set3__grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 16px;
	}
	.pl-set3.is-js .pl-set3__nav {
		position: static;
		flex-direction: row;
		align-items: center;
		gap: 10px;
	}
	.pl-set3.is-js .pl-set3__items,
	.pl-set3.is-js .pl-set3__foot {
		display: none;
	}
	.pl-set3.is-js .pl-set3__search {
		flex: 0 1 260px;
		order: 2;
		margin: 0;
	}
	.pl-set3.is-js .pl-set3__select {
		display: block;
		flex: 1;
		min-width: 0;
		max-width: none;
		height: 36px;
	}
	.pl-set3 .pl-srow {
		grid-template-columns: 180px minmax(0, 1fr);
		gap: 20px;
	}
}

/* ---------- ≤ 782 px: list, then one section full-screen ---------- */
@media screen and (max-width: 782px) {
	.pl-set3.is-js .pl-set3__select {
		display: none;
	}
	.pl-set3.is-js .pl-set3__nav {
		flex-direction: column;
		align-items: stretch;
	}
	.pl-set3.is-js .pl-set3__search {
		flex: none;
		order: 0;
	}
	.pl-set3.is-js .pl-set3__all {
		display: block;
	}
	.pl-set3.is-js .pl-set3__items {
		display: flex;
		overflow: hidden;
		gap: 0;
		border: 1px solid var(--pl-border);
		border-radius: 12px;
		background: var(--pl-surface);
	}
	.pl-set3.is-js .pl-set3__items li + li {
		border-top: 1px solid var(--pl-border);
	}
	.pl-set3.is-js .pl-set3__div {
		display: none;
	}
	body.plinth .pl-set3.is-js .pl-set3__item {
		height: 50px;
		padding: 0 14px;
		border-radius: 0;
		background: transparent;
		font-size: 14px;
	}
	.pl-set3.is-js .pl-set3__item > .pl-ico:last-child {
		display: block;
		width: 16px;
		height: 16px;
		color: var(--pl-text-3);
	}
	.pl-set3__hint {
		max-width: 130px;
	}
	.pl-set3.is-js .pl-set3__foot {
		display: flex;
		border-top: 0;
	}
	/* Phone: the list, or one section with ‹ All settings. */
	.pl-set3.is-js.is-list .pl-set3__pane,
	.pl-set3.is-js:not(.is-list) .pl-set3__nav,
	.pl-set3.is-js:not(.is-list) > .pl-head {
		display: none;
	}
	.pl-set3.is-js .pl-set3__back {
		display: inline-flex !important;
		align-items: center;
		gap: 4px;
		margin: 0 0 12px;
		color: color-mix(in srgb, var(--pl-accent) 60%, var(--pl-text));
		font-size: 13.5px;
		font-weight: 500;
		text-decoration: none;
	}
	.pl-set3__back .pl-ico {
		width: 16px;
		height: 16px;
	}
	.pl-set3 .pl-srow {
		grid-template-columns: minmax(0, 1fr);
		gap: 10px;
		padding: 14px 16px;
	}
	.pl-set3 .pl-seg--form {
		display: flex;
		width: 100%;
	}
	.pl-set3 .pl-seg--form label {
		flex: 1;
	}
	.pl-set3 .pl-sw {
		width: 32px;
		height: 32px;
	}
	.pl-set3__bar {
		bottom: calc(12px + env(safe-area-inset-bottom, 0px));
		left: 12px;
		width: auto;
		right: 12px;
		height: 52px;
		padding: 0 8px 0 14px;
	}
	.pl-set3__bar-text [data-bar-where],
	.pl-set3__bar kbd,
	.pl-set3__bar .button .pl-ico,
	.pl-set3__save-label {
		display: none;
	}
	.pl-set3__save-short {
		display: inline;
	}
	.pl-pvrow .pl-preview {
		width: 100%;
		max-width: 300px;
	}
}
.pl-set3__bcp .pl-bpv__head {
	display: none;
}

/* 0.3.22: "View site" keeps only its icon where the top bar gets tight. */
@media screen and (min-width: 783px) and (max-width: 1000px) {
	body.plinth #wpadminbar #wp-admin-bar-plinth-view-site .pl-vs-label {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip: rect(0 0 0 0);
		white-space: nowrap;
	}
}

/* 0.3.22 — Settings → Plinth follow-ups (claude/plinth-0.3.21-check.md). */
/* Phone list: nothing is current while the list is showing. */
@media screen and (max-width: 782px) {
	body.plinth .pl-set3.is-list .pl-set3__item[aria-current="page"] {
		background: transparent;
		color: var(--pl-text-2);
	}
	.pl-set3.is-list .pl-set3__item[aria-current="page"] > .pl-ico:first-child {
		color: var(--pl-text-3);
	}
}
/* Clean up: the "not part of Save" chip sits in the card header. */
.pl-sec .pl-ccard__head {
	flex-direction: row;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
}
.pl-ccard__head > div {
	display: flex;
	flex-direction: column;
	gap: 2px;
}
body.plinth .pl-ccard__head h3 {
	margin: 0;
	color: var(--pl-text);
	font-size: 13px;
	font-weight: 600;
}
body.plinth .pl-ccard__head p {
	margin: 0;
	color: var(--pl-text-3);
	font-size: 12.5px;
}
body.plinth .pl-ccard__head .pl-ccard__now {
	flex: none;
	margin: 0;
	white-space: nowrap;
}
.pl-set3 .pl-srow--bare {
	grid-template-columns: minmax(0, 1fr);
}
@media screen and (max-width: 782px) {
	.pl-sec .pl-ccard__head {
		flex-direction: column;
	}
}
/* What's new dialog. */
.pl-set3__foot .pl-link,
.pl-set3__inline .pl-link {
	font-size: 12.5px;
}
.pl-news-dlg .pl-la-dlg__box {
	display: flex;
	flex-direction: column;
	max-width: 640px;
	max-height: min(80vh, 760px);
	padding: 0;
}
.pl-news-dlg__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 18px 20px 14px;
	border-bottom: 1px solid var(--pl-border);
}
body.plinth .pl-news-dlg__head h2 {
	margin: 0;
}
body.plinth .pl-news-dlg__x {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	padding: 0;
	border: 0;
	border-radius: 8px;
	background: transparent;
	color: var(--pl-text-2);
	cursor: pointer;
}
body.plinth .pl-news-dlg__x:hover {
	background: var(--pl-surface-2);
	color: var(--pl-text);
}
.pl-news-dlg__x .pl-ico {
	width: 16px;
	height: 16px;
}
.pl-news {
	overflow: auto;
	padding: 4px 20px 20px;
	color: var(--pl-text-2);
	font-size: 13px;
	line-height: 1.55;
}
body.plinth .pl-news h3 {
	margin: 18px 0 6px;
	color: var(--pl-text);
	font-size: 15px;
	font-weight: 600;
}
body.plinth .pl-news h3 small {
	margin-left: 6px;
	color: var(--pl-text-3);
	font-size: 12px;
	font-weight: 400;
}
body.plinth .pl-news h4 {
	margin: 12px 0 4px;
	color: var(--pl-text-3);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}
body.plinth .pl-news p {
	margin: 4px 0;
}
body.plinth .pl-news ul {
	margin: 4px 0 4px 18px;
	list-style: disc;
}
body.plinth .pl-news li {
	margin: 3px 0;
}
body.plinth .pl-news strong {
	color: var(--pl-text);
	font-weight: 600;
}
body.plinth .pl-news code {
	padding: 0 4px;
	border-radius: 4px;
	background: var(--pl-surface-2);
	font-size: 12px;
}
.pl-la__hint:has(> .pl-ico) {
	display: flex;
	align-items: flex-start;
	gap: 6px;
}
.pl-la__hint > .pl-ico {
	flex: none;
	width: 14px;
	height: 14px;
	margin-top: 1px;
}

/* 0.3.24 — a sidebar hint that doesn't fit beside its label sits on a second line. */
body.plinth .pl-set3__item.is-two {
	flex-wrap: wrap;
	height: auto;
	min-height: 36px;
	padding-top: 7px;
	padding-bottom: 7px;
	row-gap: 1px;
}
.pl-set3__item.is-two .pl-set3__hint {
	order: 5;
	flex-basis: calc(100% - 26px);
	max-width: none;
	margin-left: 26px;
	white-space: normal;
}
.pl-set3__item.is-two .pl-set3__dot {
	margin-left: auto;
}

/* ==========================================================================
   0.3.24 — Settings → Plinth › Licence (class-plinth-licence.php, licence.js;
   canvas page "Licence and plans"). Calm: no red except the field error,
   neutral chips for ended and copy, amber only for the site-limit box.
   ========================================================================== */
.pl-lic {
	display: flex;
	flex-direction: column;
	gap: 14px;
}
body.plinth .pl-chip--neutral {
	border: 1px solid var(--pl-border);
	background: var(--pl-surface-2);
	color: var(--pl-text-2);
}
.pl-lic-top {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	padding: 18px 20px;
	border-bottom: 1px solid var(--pl-border);
}
.pl-lic-card > .pl-lic-top:last-child {
	border-bottom: 0;
}
.pl-lic-tile {
	display: inline-flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border: 1px solid var(--pl-border);
	border-radius: 10px;
	background: var(--pl-surface-2);
	color: var(--pl-text-2);
}
.pl-lic-tile.is-accent {
	border-color: transparent;
	background: color-mix(in srgb, var(--pl-accent) 16%, transparent);
	color: color-mix(in srgb, var(--pl-accent) 60%, var(--pl-text));
}
.pl-lic-tile .pl-ico {
	width: 18px;
	height: 18px;
}
.pl-lic-top__text {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 3px;
	min-width: 0;
}
.pl-lic-top__name {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
}
body.plinth .pl-lic-top__text strong {
	color: var(--pl-text);
	font-size: 15px;
	font-weight: 600;
}
body.plinth .pl-lic-top__text p {
	margin: 0;
	color: var(--pl-text-2);
	font-size: 12.5px;
	line-height: 1.5;
}
body.plinth .pl-lic-top__text p strong {
	font-size: inherit;
}
.pl-lic-top__acct {
	flex: none;
	align-self: center;
}
body.plinth .pl-lic .pl-link {
	display: inline-flex;
	align-items: center;
	gap: 3px;
	align-self: flex-start;
	text-decoration: none;
}
body.plinth .pl-lic .pl-link:hover {
	text-decoration: underline;
}
.pl-lic .pl-link .pl-ico,
.pl-lic .button .pl-ico,
.pl-ucard__lic .button .pl-ico {
	width: 13px;
	height: 13px;
}
.pl-lic .button {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	align-self: flex-start;
}
.pl-lic-field {
	display: flex;
	gap: 8px;
	width: 100%;
	max-width: 560px;
}
body.plinth .pl-lic-key {
	flex: 1;
	min-width: 0;
	font-family: var(--pl-mono);
	font-size: 12.5px;
	letter-spacing: 0.02em;
}
body.plinth .pl-lic-key.is-crit {
	border-color: var(--pl-crit);
	box-shadow: 0 0 0 1px var(--pl-crit);
}
body.plinth .pl-lic-key.is-warn {
	border-color: var(--pl-warn);
}
.pl-lic-field .button.is-busy span::before {
	content: "";
	display: inline-block;
	width: 12px;
	height: 12px;
	margin-right: 6px;
	vertical-align: -2px;
	border: 2px solid currentColor;
	border-right-color: transparent;
	border-radius: 50%;
	animation: plspin 0.8s linear infinite;
}
@keyframes plspin { to { transform: rotate(360deg); } }
body.plinth .pl-lic-msg {
	min-height: 0;
	margin: 6px 0 0;
	color: var(--pl-text-2);
	font-size: 12.5px;
}
body.plinth .pl-lic-msg:empty {
	display: none;
}
body.plinth .pl-lic-msg.is-crit { color: var(--pl-crit); }
body.plinth .pl-lic-msg.is-warn { color: var(--pl-warn); }
.pl-lic-form {
	display: flex;
	flex-direction: column;
	gap: 6px;
	width: 100%;
}
body.plinth .pl-lic-links {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 10px;
	margin: 2px 0 0;
	color: var(--pl-text-3);
	font-size: 12.5px;
}
.pl-lic-box {
	display: flex;
	gap: 10px;
	max-width: 560px;
	padding: 12px 14px;
	border: 1px solid color-mix(in srgb, var(--pl-warn) 40%, var(--pl-border));
	border-radius: 10px;
	background: color-mix(in srgb, var(--pl-warn) 10%, transparent);
}
.pl-lic-box > .pl-ico {
	flex: none;
	width: 16px;
	height: 16px;
	margin-top: 1px;
	color: var(--pl-warn);
}
body.plinth .pl-lic-box strong {
	color: var(--pl-text);
	font-size: 13px;
}
body.plinth .pl-lic-box p {
	margin: 3px 0 10px;
	color: var(--pl-text-2);
	font-size: 12.5px;
}
.pl-lic-acts {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 14px;
}
.pl-lic-sites {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 14px;
}
.pl-lic-sites strong,
.pl-lic-inline strong,
.pl-lic-strong {
	color: var(--pl-text);
	font-size: 13px;
	font-weight: 600;
}
.pl-lic-meter {
	position: relative;
	width: 160px;
	height: 6px;
	overflow: hidden;
	border-radius: 3px;
	background: var(--pl-surface-3);
}
.pl-lic-meter i {
	position: absolute;
	inset: 0 auto 0 0;
	border-radius: 3px;
	background: var(--pl-accent);
}
.pl-lic-inline {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
}
.pl-lic-saved {
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.pl-lic-saved[hidden],
.pl-lic-change[hidden] {
	display: none;
}
body.plinth .pl-lic-mask {
	align-self: flex-start;
	padding: 6px 10px;
	border: 1px solid var(--pl-border);
	border-radius: 7px;
	background: var(--pl-surface-2);
	color: var(--pl-text);
	font-family: var(--pl-mono);
	font-size: 12.5px;
	letter-spacing: 0.04em;
}
body.plinth .pl-lic .pl-link--danger {
	margin-left: 0;
	color: var(--pl-crit);
}
.pl-lic-change .pl-srow {
	padding: 0;
	border: 0;
	grid-template-columns: minmax(0, 1fr);
}
.pl-lic-change .pl-srow__text {
	display: none;
}
.pl-lic-head {
	flex-direction: row;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
}
body.plinth .pl-lic-head h3 {
	margin: 0;
	color: var(--pl-text);
	font-size: 13px;
	font-weight: 600;
}
body.plinth .pl-lic-head p {
	margin: 2px 0 0;
	color: var(--pl-text-3);
	font-size: 12.5px;
}
.pl-lic-feat {
	padding: 14px 20px;
}
.pl-lic-feat + .pl-lic-feat {
	border-top: 1px solid var(--pl-border);
}
.pl-lic-feat__name {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
}
body.plinth .pl-lic-feat strong {
	color: var(--pl-text);
	font-size: 13px;
}
body.plinth .pl-lic-feat p {
	margin: 4px 0 0;
	color: var(--pl-text-2);
	font-size: 12.5px;
}
/* In other plans: quiet rows that expand in place. */
.pl-lic-plan + .pl-lic-plan {
	border-top: 1px solid var(--pl-border);
}
body.plinth .pl-lic-plan__row {
	display: flex;
	align-items: center;
	gap: 12px;
	width: 100%;
	padding: 13px 20px;
	border: 0;
	background: transparent;
	color: var(--pl-text-2);
	text-align: left;
	cursor: pointer;
}
body.plinth .pl-lic-plan__row:hover,
.pl-lic-plan.is-open {
	background: color-mix(in srgb, var(--pl-text) 3%, transparent);
}
.pl-lic-plan__row > .pl-ico {
	flex: none;
	width: 15px;
	height: 15px;
	color: var(--pl-text-3);
}
.pl-lic-plan__row > .pl-ico:last-child {
	transition: transform 0.15s ease;
}
.pl-lic-plan.is-open .pl-lic-plan__row > .pl-ico:last-child {
	transform: rotate(180deg);
}
.pl-lic-plan__text {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 1px;
	min-width: 0;
}
.pl-lic-plan__text strong {
	color: var(--pl-text-2);
	font-size: 13px;
	font-weight: 600;
}
.pl-lic-plan__text span {
	color: var(--pl-text-3);
	font-size: 12.5px;
}
.pl-lic-plan__open {
	padding: 0 20px 16px 47px;
}
.pl-lic-plan__open[hidden] {
	display: none;
}
body.plinth .pl-lic-plan__open p {
	margin: 0 0 6px;
	color: var(--pl-text-2);
	font-size: 12.5px;
	line-height: 1.55;
}
/* Address changed. */
.pl-lic-moved {
	box-shadow: inset 3px 0 0 var(--pl-accent);
}
.pl-lic-radios {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin: 0;
	padding: 16px 20px 4px;
	border: 0;
}
.pl-lic-moved__foot {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 14px;
	padding: 12px 20px 18px;
}
/* The test provider's panel (test sites only). */
.pl-lic-test {
	border-style: dashed;
}
.pl-lic-test .pl-srow__control {
	display: flex;
	flex-direction: column;
	gap: 8px;
}
/* Plugins: Plinth's row and the Update card. */
body.plinth .pl-lic-avail {
	height: 20px;
	border: 1px solid var(--pl-border);
	background: var(--pl-surface-2);
	color: var(--pl-text-2);
	font-size: 11.5px;
}
.pl-ucard__lic {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 6px;
	max-width: 300px;
	text-align: right;
}
.pl-ucard__lic-line {
	color: var(--pl-text-2);
	font-size: 12px;
	line-height: 1.45;
}
body.plinth .pl-ucard__lic .button {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}
@media screen and (max-width: 782px) {
	.pl-lic-top {
		flex-wrap: wrap;
	}
	.pl-lic-top__acct {
		align-self: flex-start;
		margin-left: 54px;
	}
	.pl-lic-field {
		flex-direction: column;
	}
	body.plinth .pl-lic-field .pl-lic-key,
	body.plinth .pl-lic .button {
		width: 100%;
		min-height: 42px;
		justify-content: center;
		align-self: stretch;
	}
	.pl-lic-meter {
		width: 100%;
	}
	.pl-lic-plan__open {
		padding-left: 20px;
	}
	.pl-ucard__lic {
		align-items: flex-start;
		max-width: none;
		text-align: left;
	}
}
body.plinth .pl-lic-acts .button,
body.plinth .pl-lic-acts .pl-link {
	align-self: center;
	margin: 0;
}
td.column-description .pl-lic-avail,
td.column-description .pl-lic-meta-link {
	margin-left: 8px;
	vertical-align: middle;
}
body.plinth td.column-description .pl-lic-meta-link {
	color: color-mix(in srgb, var(--pl-accent) 60%, var(--pl-text));
	font-size: 12.5px;
	font-weight: 500;
}
@media screen and (max-width: 782px) {
	.pl-sec__head {
		flex-wrap: wrap;
		align-items: flex-start;
	}
	.pl-sec__head .pl-ccard__now {
		white-space: nowrap;
	}
	.pl-lic-test select {
		max-width: 100%;
	}
}
/* 0.3.25 · Licence on phones (0.3.24 check, lows 2–3). */
@media screen and (max-width: 782px) {
	/* The account link gets its own line under the plan line. */
	.pl-lic-top__text {
		flex-basis: calc(100% - 64px);
	}
	/* In other plans: the plan chip goes under the row's text. */
	body.plinth .pl-lic-plan__row {
		display: grid;
		grid-template-columns: 15px minmax(0, 1fr) 15px;
		grid-template-areas: "ico text chev" ". chip .";
		row-gap: 8px;
		align-items: start;
	}
	.pl-lic-plan__row > .pl-ico:first-child {
		grid-area: ico;
		margin-top: 2px;
	}
	.pl-lic-plan__row > .pl-lic-plan__text {
		grid-area: text;
	}
	.pl-lic-plan__row > .pl-chip {
		grid-area: chip;
		justify-self: start;
	}
	.pl-lic-plan__row > .pl-ico:last-child {
		grid-area: chev;
		margin-top: 2px;
	}
	.pl-lic-head {
		flex-wrap: wrap;
	}
	/* Change key and Remove this site: two equal buttons on one row. */
	.pl-lic-saved .pl-lic-acts {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 8px;
	}
	body.plinth .pl-lic-saved .pl-lic-acts .button,
	body.plinth .pl-lic-saved .pl-lic-acts .pl-link--danger {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: 100%;
		min-height: 42px;
		margin: 0;
		padding: 0 10px;
		border: 1px solid var(--pl-border);
		border-radius: var(--pl-radius-sm, 8px);
		background: var(--pl-surface);
		color: var(--pl-crit);
		font-size: 13px;
		font-weight: 500;
		text-align: center;
	}
	body.plinth .pl-lic-saved .pl-lic-acts .button {
		color: var(--pl-text);
	}
}
/* Dashboard › Updates: the blocked Plinth line. */
.pl-lic-urow__act .button { white-space: nowrap; }
.pl-lic-ucore {
	margin: 0 0 24px;
}
.pl-lic-ucore td.plugin-title p {
	margin: 6px 0;
}
