/*
 * NeuroClub 0.40.2 – UI/UX and dark-mode consolidation.
 * Loaded last in the WordPress administration and the full-screen terminal.
 */

/* ---------- Shared design tokens ---------- */
.nc-admin,
.nc-terminal-app {
	--nc-ui-bg: var(--nc-shell, #eef0f3);
	--nc-ui-surface: var(--nc-card, #fff);
	--nc-ui-surface-2: #f7f8fa;
	--nc-ui-surface-3: #eef1f4;
	--nc-ui-text: var(--nc-ink, #20242a);
	--nc-ui-muted: var(--nc-muted, #65707c);
	--nc-ui-line: var(--nc-line, #d6dbe1);
	--nc-ui-line-strong: #b7c0c9;
	--nc-ui-focus: rgba(143, 29, 44, .22);
	--nc-ui-shadow: 0 7px 22px rgba(22, 27, 33, .07);
	--nc-ui-shadow-raised: 0 14px 34px rgba(22, 27, 33, .12);
	--nc-ui-space-1: 6px;
	--nc-ui-space-2: 10px;
	--nc-ui-space-3: 14px;
	--nc-ui-space-4: 18px;
	--nc-ui-space-5: 24px;
	--nc-ui-control-height: 42px;
}

body.nc-theme-dark .nc-admin,
body.nc-theme-dark .nc-terminal-app,
html[data-nc-theme="dark"] .nc-admin,
html[data-nc-theme="dark"] .nc-terminal-app {
	--nc-red: #e35a6d;
	--nc-red-dark: #ff9cab;
	--nc-red-soft: #321c23;
	--nc-ink: #eef2f5;
	--nc-muted: #aab4bd;
	--nc-line: #34414d;
	--nc-shell: #0e141a;
	--nc-card: #151d25;
	--nc-ok: #66c18b;
	--nc-warn: #f0b45d;
	--nc-danger: #ff7d8e;
	--nc-ui-bg: #0e141a;
	--nc-ui-surface: #151d25;
	--nc-ui-surface-2: #19232c;
	--nc-ui-surface-3: #202c36;
	--nc-ui-text: #eef2f5;
	--nc-ui-muted: #aab4bd;
	--nc-ui-line: #34414d;
	--nc-ui-line-strong: #53616d;
	--nc-ui-focus: rgba(227, 90, 109, .28);
	--nc-ui-shadow: 0 8px 24px rgba(0, 0, 0, .22);
	--nc-ui-shadow-raised: 0 18px 42px rgba(0, 0, 0, .36);
	color-scheme: dark;
}

/* ---------- Denser, calmer workspace ---------- */
.nc-admin {
	font-size: 14px;
	line-height: 1.48;
}

.nc-admin .nc-content {
	padding: 18px clamp(16px, 2.1vw, 30px) 0;
}

.nc-admin .nc-grid {
	gap: 16px;
	margin-bottom: 16px;
}

.nc-admin .nc-page-hero {
	margin: 18px clamp(16px, 2.1vw, 30px) 0;
	padding: 18px 20px;
	gap: 20px;
	box-shadow: var(--nc-ui-shadow);
}

.nc-admin .nc-page-hero h1 {
	margin: 3px 0 6px;
	font-size: clamp(24px, 2vw, 29px);
	letter-spacing: -.025em;
}

.nc-admin .nc-page-hero p {
	max-width: 78ch;
	font-size: 14px;
	line-height: 1.5;
}

.nc-admin .nc-card {
	padding: 18px;
	box-shadow: var(--nc-ui-shadow);
}

.nc-admin .nc-card h2 {
	margin: 0 0 10px;
	font-size: 18px;
	line-height: 1.25;
}

.nc-admin .nc-card h3 {
	margin-top: 0;
	line-height: 1.3;
}

.nc-admin .nc-card p {
	margin-top: 8px;
	margin-bottom: 10px;
	line-height: 1.5;
}

.nc-admin .nc-card-heading {
	margin-bottom: 12px;
}

.nc-admin .nc-onboarding-banner,
.nc-admin .nc-simple-guide {
	padding: 16px 18px;
	gap: 18px;
	box-shadow: none;
}

.nc-admin .nc-onboarding-banner h2,
.nc-admin .nc-simple-guide strong {
	font-size: 18px;
}

.nc-admin .nc-metrics {
	gap: 12px;
	margin-bottom: 16px;
}

.nc-admin .nc-metric {
	min-height: 102px;
	padding: 15px;
	gap: 13px;
	box-shadow: var(--nc-ui-shadow);
}

.nc-admin .nc-metric strong {
	font-size: 27px;
}

.nc-admin .nc-toolbar {
	position: relative;
	margin-bottom: 13px;
	padding: 10px 12px;
	background: var(--nc-ui-surface);
	border: 1px solid var(--nc-ui-line);
	box-shadow: none;
}

.nc-admin .nc-toolbar > div,
.nc-admin .nc-toolbar form,
.nc-admin .nc-inline-actions,
.nc-admin .nc-form-actions {
	flex-wrap: wrap;
}

.nc-admin .nc-form-actions {
	position: sticky;
	bottom: 0;
	z-index: 8;
	margin: 18px -18px -18px;
	padding: 12px 18px;
	background: color-mix(in srgb, var(--nc-ui-surface) 94%, transparent);
	border-top: 1px solid var(--nc-ui-line);
	backdrop-filter: blur(8px);
}

.nc-admin .nc-table-card {
	padding: 0;
}

.nc-admin .nc-table-card > .nc-card-heading {
	padding: 16px 18px 0;
}

.nc-admin .nc-table-wrap {
	border-top: 1px solid var(--nc-ui-line);
}

.nc-admin .nc-table-wrap table {
	margin: 0;
}

.nc-admin .widefat thead th,
.nc-admin .widefat tfoot th {
	position: sticky;
	top: 0;
	z-index: 2;
	padding-top: 11px;
	padding-bottom: 11px;
	background: var(--nc-ui-surface-3);
	border-bottom: 1px solid var(--nc-ui-line-strong);
}

.nc-admin .widefat td {
	padding-top: 11px;
	padding-bottom: 11px;
}

.nc-admin .widefat tbody tr {
	transition: background .12s ease;
}

.nc-admin .widefat tbody tr:hover {
	background: color-mix(in srgb, var(--nc-red-soft) 34%, var(--nc-ui-surface));
}

.nc-admin .nc-empty {
	min-height: 96px;
	padding: 22px 18px;
	display: grid;
	place-items: center;
	gap: 7px;
}

.nc-admin .nc-empty .dashicons {
	width: 28px;
	height: 28px;
	font-size: 28px;
	color: var(--nc-red);
}

.nc-admin :is(input:not([type="checkbox"]):not([type="radio"]), select, textarea) {
	min-height: var(--nc-ui-control-height);
	border-color: var(--nc-ui-line-strong);
	background: var(--nc-ui-surface);
	color: var(--nc-ui-text);
	box-shadow: none;
}

.nc-admin textarea {
	min-height: 96px;
}

.nc-admin :is(input, select, textarea):focus {
	border-color: var(--nc-red);
	box-shadow: 0 0 0 3px var(--nc-ui-focus);
	outline: 0;
}

.nc-admin .button,
.nc-admin button.button,
.nc-admin .nc-button {
	min-height: 38px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	padding: 5px 12px;
	font-weight: 700;
	border-radius: 2px;
}

.nc-admin .button-primary,
.nc-admin .nc-button.button-primary {
	box-shadow: none;
}

.nc-admin .nc-badge,
.nc-admin .nc-status {
	border-radius: 2px;
}

.nc-admin :is(code, pre, kbd) {
	border: 1px solid var(--nc-ui-line);
	background: var(--nc-ui-surface-2);
	color: var(--nc-ui-text);
}

.nc-admin pre {
	padding: 14px;
	overflow: auto;
}

/* ---------- Compact explanatory copy ---------- */
.nc-compact-copy {
	position: relative;
}

.nc-compact-copy:not(.is-expanded) {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	overflow: hidden;
}

.nc-page-hero .nc-compact-copy:not(.is-expanded) {
	-webkit-line-clamp: 2;
}

.nc-copy-toggle {
	margin: 2px 0 8px;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--nc-red);
	font: inherit;
	font-size: 12px;
	font-weight: 800;
	cursor: pointer;
}

.nc-copy-toggle:hover,
.nc-copy-toggle:focus-visible {
	text-decoration: underline;
	outline: 2px solid var(--nc-ui-focus);
	outline-offset: 3px;
}

.nc-ui-mode-simple .nc-expert-only {
	display: none !important;
}

.nc-ui-mode-simple .nc-page-hero .nc-kicker {
	font-size: 10px;
}

.nc-ui-mode-simple .nc-card > .description,
.nc-ui-mode-simple .nc-card > p.description {
	font-size: 13px;
}

/* ---------- Consistent semantic surfaces ---------- */
.nc-admin :is(.notice, .nc-notice, .nc-terminal-notice, .nc-public-notice, .nc-warning-box, .nc-info-box, .nc-help-warning, .nc-help-save, .nc-help-example) {
	border-radius: 2px;
	box-shadow: none;
}

.nc-admin details {
	border-color: var(--nc-ui-line);
	background: var(--nc-ui-surface);
	color: var(--nc-ui-text);
}

.nc-admin details > summary {
	cursor: pointer;
	font-weight: 750;
}

.nc-admin hr {
	border-color: var(--nc-ui-line);
}

.nc-admin a:focus-visible,
.nc-admin button:focus-visible {
	outline: 3px solid var(--nc-ui-focus);
	outline-offset: 2px;
}

/* ---------- Complete WordPress-admin dark mode ---------- */
body.nc-theme-dark.toplevel_page_neuroclub,
body.nc-theme-dark[class*="neuroclub_page_neuroclub-"] {
	background: #0e141a;
}

body.nc-theme-dark #wpcontent,
body.nc-theme-dark #wpbody-content,
body.nc-theme-dark .nc-admin,
html[data-nc-theme="dark"] .nc-admin {
	background: var(--nc-ui-bg);
	color: var(--nc-ui-text);
}

body.nc-theme-dark .nc-admin :is(
	.nc-workspace-nav,
	.nc-nav-menu,
	.nc-page-hero,
	.nc-card,
	.nc-metric,
	.nc-toolbar,
	.nc-onboarding-banner,
	.nc-simple-guide,
	.nc-task-list a,
	.nc-task-done,
	.nc-check-list a,
	.nc-audit-list > div,
	.nc-health-list > div,
	.nc-quick-actions a,
	.nc-table-wrap,
	.nc-empty,
	.nc-stat-card,
	.nc-status-row,
	.nc-system-facts > div,
	.nc-check-grid label,
	.nc-theme-choice label,
	.nc-logo-picker,
	.nc-terminal-url-list > div,
	.nc-document-version-list > article,
	.nc-document-read-status-list > article,
	.nc-doc-folder-tree article,
	.nc-doc-permission-form,
	.nc-doc-rights-grid label,
	.nc-document-request-list article,
	.nc-task-filter a,
	.nc-task-checklist > a,
	.nc-community-room-card,
	.nc-community-room-hero,
	.nc-community-message,
	.nc-community-member-list > div,
	.nc-community-report-list > article,
	.nc-community-actions details > div,
	.nc-community-live-notice,
	.nc-community-refresh-banner,
	.nc-inventory-card,
	.nc-qualification-card,
	.nc-support-card,
	.nc-release-card,
	.nc-form-section,
	.nc-filter-bar,
	.nc-tabs,
	.nc-section-tabs,
	.nc-media-picker,
	.nc-design-preview,
	.nc-modal__content,
	.nc-dialog__content
) {
	background: var(--nc-ui-surface) !important;
	border-color: var(--nc-ui-line) !important;
	color: var(--nc-ui-text) !important;
	box-shadow: var(--nc-ui-shadow);
}

body.nc-theme-dark .nc-admin :is(
	h1, h2, h3, h4, h5, h6,
	strong,
	label,
	legend,
	th,
	td,
	.nc-nav-trigger,
	.nc-nav-menu a,
	.nc-card h2,
	.nc-card h3,
	.nc-page-hero h1,
	.nc-metric strong,
	.nc-status-row strong
) {
	color: var(--nc-ui-text);
}

body.nc-theme-dark .nc-admin :is(
	p,
	small,
	.description,
	.nc-muted,
	.nc-table-sub,
	.nc-card p,
	.nc-page-hero p,
	.nc-task-list small,
	.nc-task-done small,
	.nc-audit-list small,
	.nc-metric small,
	.nc-system-facts dt
) {
	color: var(--nc-ui-muted) !important;
}

body.nc-theme-dark .nc-admin :is(input:not([type="checkbox"]):not([type="radio"]), select, textarea) {
	background: #111922 !important;
	border-color: var(--nc-ui-line-strong) !important;
	color: var(--nc-ui-text) !important;
}

body.nc-theme-dark .nc-admin :is(input, textarea)::placeholder {
	color: #7f8c97 !important;
	opacity: 1;
}

body.nc-theme-dark .nc-admin :is(input:disabled, select:disabled, textarea:disabled) {
	background: #1b242d !important;
	color: #7f8b96 !important;
	border-color: #303b46 !important;
}

body.nc-theme-dark .nc-admin .button:not(.button-primary),
body.nc-theme-dark .nc-admin button.button:not(.button-primary),
body.nc-theme-dark .nc-admin .nc-button-secondary {
	background: #202b35 !important;
	border-color: #4a5865 !important;
	color: #eef2f5 !important;
}

body.nc-theme-dark .nc-admin .button:not(.button-primary):hover,
body.nc-theme-dark .nc-admin button.button:not(.button-primary):hover,
body.nc-theme-dark .nc-admin .nc-button-secondary:hover {
	background: #2a3742 !important;
	border-color: var(--nc-red) !important;
	color: #fff !important;
}

body.nc-theme-dark .nc-admin :is(.button-primary, .nc-button.button-primary) {
	background: #b72e43 !important;
	border-color: #e35a6d !important;
	color: #fff !important;
}

body.nc-theme-dark .nc-admin :is(.button-primary, .nc-button.button-primary):hover {
	background: #cf3d53 !important;
}

body.nc-theme-dark .nc-admin table.widefat,
body.nc-theme-dark .nc-admin table.widefat :is(th, td) {
	background-color: var(--nc-ui-surface);
	border-color: var(--nc-ui-line) !important;
	color: var(--nc-ui-text) !important;
}

body.nc-theme-dark .nc-admin table.widefat thead th,
body.nc-theme-dark .nc-admin table.widefat tfoot th {
	background: var(--nc-ui-surface-3) !important;
}

body.nc-theme-dark .nc-admin table.widefat.striped > tbody > :nth-child(odd),
body.nc-theme-dark .nc-admin table.widefat tbody tr:nth-child(even) {
	background: rgba(255,255,255,.018);
}

body.nc-theme-dark .nc-admin table.widefat tbody tr:hover {
	background: rgba(227,90,109,.09) !important;
}

body.nc-theme-dark .nc-admin .nc-shell-header {
	background: #090e13;
	border-bottom-color: #d7475c;
}

body.nc-theme-dark .nc-admin .nc-workspace-nav {
	box-shadow: 0 7px 24px rgba(0,0,0,.26);
}

body.nc-theme-dark .nc-admin .nc-nav-group {
	border-color: var(--nc-ui-line);
}

body.nc-theme-dark .nc-admin :is(.nc-nav-trigger:hover, .nc-nav-trigger:focus-visible, .nc-nav-group.is-open .nc-nav-trigger, .nc-nav-menu a:hover, .nc-nav-menu a:focus, .nc-nav-menu a.is-active) {
	background: #321c23 !important;
	color: #ff9cab !important;
}

body.nc-theme-dark .nc-admin .nc-onboarding-banner,
body.nc-theme-dark .nc-admin .nc-simple-guide {
	background: linear-gradient(110deg, #151d25, #24171c) !important;
}

body.nc-theme-dark .nc-admin .nc-empty {
	background: #111922 !important;
	border-color: #465563 !important;
}

body.nc-theme-dark .nc-admin :is(.nc-badge-muted, .nc-status-passive, .nc-status-paused) {
	background: #27333e !important;
	border-color: #465563 !important;
	color: #c7d0d8 !important;
}

body.nc-theme-dark .nc-admin :is(.nc-status-active, .nc-status-approved) {
	background: #173325 !important;
	color: #9bdbb6 !important;
}

body.nc-theme-dark .nc-admin .nc-status-pending {
	background: #3a2b14 !important;
	color: #ffd38a !important;
}

body.nc-theme-dark .nc-admin :is(.nc-status-rejected, .nc-status-left) {
	background: #3a1d24 !important;
	color: #ff9cab !important;
}

body.nc-theme-dark .nc-admin :is(.notice, .nc-notice, .nc-terminal-notice, .nc-public-notice) {
	background: #18222b !important;
	border-color: #465563 !important;
	color: var(--nc-ui-text) !important;
}

body.nc-theme-dark .nc-admin :is(.notice-success, .nc-terminal-notice.is-success) {
	background: #14271d !important;
	border-left-color: #59b77f !important;
}

body.nc-theme-dark .nc-admin :is(.notice-warning, .nc-terminal-notice.is-warning) {
	background: #332714 !important;
	border-left-color: #e0a64f !important;
}

body.nc-theme-dark .nc-admin :is(.notice-error, .nc-terminal-notice.is-error, .nc-community-live-notice.is-error, .nc-community-report-form) {
	background: #351b22 !important;
	border-color: #a94b5a !important;
	color: #ffd6dc !important;
}

body.nc-theme-dark .nc-admin :is(.notice-error, .nc-terminal-notice.is-error, .nc-community-live-notice.is-error, .nc-community-report-form) :is(p, strong, small, label) {
	color: #ffd6dc !important;
}

body.nc-theme-dark .nc-admin :is(.notice-warning, .nc-terminal-notice.is-warning) :is(p, strong, small, label) {
	color: #ffe0a8 !important;
}

body.nc-theme-dark .nc-admin :is(.notice-success, .nc-terminal-notice.is-success) :is(p, strong, small, label) {
	color: #b6e4c8 !important;
}

body.nc-theme-dark .nc-admin :is(code, pre, kbd) {
	background: #0d141b !important;
	border-color: #34414d !important;
	color: #dbe4eb !important;
}

body.nc-theme-dark .nc-admin :is(.select2-container--default .select2-selection--single, .select2-container--default .select2-selection--multiple) {
	background: #111922 !important;
	border-color: var(--nc-ui-line-strong) !important;
	color: var(--nc-ui-text) !important;
}

/* ---------- Terminal-specific finishing ---------- */
.nc-terminal-app .nc-content {
	min-width: 0;
}

.nc-terminal-app .nc-page-hero,
.nc-terminal-app .nc-card,
.nc-terminal-app .nc-toolbar {
	border-radius: 2px;
}

.nc-terminal-app .nc-shell-footer {
	padding-top: 14px;
	padding-bottom: 14px;
}

html[data-nc-theme="dark"] .nc-terminal-app :is(.nc-modal__content, .nc-dialog__content, dialog, [role="dialog"]) {
	background: var(--nc-ui-surface) !important;
	border-color: var(--nc-ui-line) !important;
	color: var(--nc-ui-text) !important;
}

/* ---------- Responsive cleanup ---------- */
@media (max-width: 980px) {
	.nc-admin .nc-page-hero {
		align-items: stretch;
	}
	.nc-admin .nc-toolbar {
		align-items: stretch;
		flex-direction: column;
	}
	.nc-admin .nc-toolbar form,
	.nc-admin .nc-toolbar > div {
		width: 100%;
	}
	.nc-admin .nc-toolbar input[type="search"] {
		min-width: 0;
		flex: 1 1 220px;
	}
}

@media (max-width: 700px) {
	.nc-admin .nc-content {
		padding-top: 12px;
	}
	.nc-admin .nc-page-hero {
		margin-top: 12px;
		padding: 15px;
		flex-direction: column;
	}
	.nc-admin .nc-help-toggle {
		align-self: flex-start;
	}
	.nc-admin .nc-card {
		padding: 15px;
	}
	.nc-admin .nc-form-actions {
		margin: 15px -15px -15px;
		padding: 11px 15px;
	}
	.nc-admin .button,
	.nc-admin button.button,
	.nc-admin .nc-button {
		min-height: 42px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.nc-admin *,
	.nc-terminal-app * {
		scroll-behavior: auto !important;
		transition-duration: .01ms !important;
		animation-duration: .01ms !important;
		animation-iteration-count: 1 !important;
	}
}

/* ========================================================================== */
/* 0.40.3 – Seiten- und Dokumentenabläufe                                     */
/* ========================================================================== */
.nc-page-cockpit {
	display: grid;
	gap: 16px;
}
.nc-page-cockpit-metrics {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 10px;
}
.nc-page-cockpit-metrics > span {
	display: grid;
	gap: 2px;
	min-height: 72px;
	padding: 12px 14px;
	background: var(--nc-ui-surface-soft);
	border: 1px solid var(--nc-ui-line);
	color: var(--nc-ui-muted);
}
.nc-page-cockpit-metrics strong {
	font-size: 1.45rem;
	line-height: 1;
	color: var(--nc-ui-text);
}
.nc-page-cockpit-metrics .is-warning {
	border-color: var(--nc-ui-warning-border, #b7791f);
	background: var(--nc-ui-warning-surface, rgba(183, 121, 31, .10));
}
.nc-page-cockpit-list {
	display: grid;
	gap: 8px;
}
.nc-page-cockpit-row {
	display: grid;
	grid-template-columns: 28px minmax(190px, 1fr) minmax(300px, auto);
	gap: 12px;
	align-items: center;
	padding: 12px 14px;
	background: var(--nc-ui-surface-soft);
	border: 1px solid var(--nc-ui-line);
}
.nc-page-cockpit-row > .dashicons {
	color: var(--nc-ui-accent);
}
.nc-page-cockpit-row.is-broken,
.nc-page-cockpit-row.is-missing {
	border-inline-start: 4px solid var(--nc-ui-warning, #b7791f);
}
.nc-page-cockpit-main {
	display: grid;
	gap: 3px;
	min-width: 0;
}
.nc-page-cockpit-main small {
	color: var(--nc-ui-muted);
	overflow-wrap: anywhere;
}
.nc-page-cockpit-actions,
.nc-inline-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
	align-items: center;
	justify-content: flex-end;
}
.nc-inline-form {
	display: inline-flex;
	margin: 0;
}
.nc-content-page-link {
	display: flex;
	gap: 18px;
	align-items: center;
	justify-content: space-between;
	border-inline-start: 4px solid var(--nc-ui-accent);
}
.nc-content-page-link h2,
.nc-content-page-link p {
	margin-block: 3px;
}
.nc-page-editor-roadmap {
	display: grid;
	grid-template-columns: 34px minmax(0, 1fr);
	gap: 12px;
	padding: 13px 14px;
	background: var(--nc-ui-surface-soft);
	border: 1px dashed var(--nc-ui-line-strong);
}
.nc-page-editor-roadmap .dashicons {
	font-size: 26px;
	width: 28px;
	height: 28px;
	color: var(--nc-ui-accent);
}
.nc-page-editor-roadmap p {
	margin: 4px 0 0;
	color: var(--nc-ui-muted);
}
.nc-trash-guidance {
	margin-block: 12px;
}
.nc-button-warning {
	border-color: var(--nc-ui-warning, #b7791f) !important;
	color: var(--nc-ui-warning-text, #8a4b08) !important;
}
.nc-button-danger {
	border-color: var(--nc-ui-danger, #b42318) !important;
	background: var(--nc-ui-danger, #b42318) !important;
	color: #fff !important;
}
.nc-danger-zone {
	border-inline-start: 5px solid var(--nc-ui-danger, #b42318);
}
.nc-delete-impact {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 10px;
	margin-block: 16px;
}
.nc-delete-impact article {
	display: grid;
	gap: 4px;
	padding: 13px;
	background: var(--nc-ui-surface-soft);
	border: 1px solid var(--nc-ui-line);
}
.nc-delete-impact article.is-blocker {
	border-color: var(--nc-ui-danger, #b42318);
	background: color-mix(in srgb, var(--nc-ui-danger, #b42318) 10%, var(--nc-ui-surface));
}
.nc-delete-impact strong {
	font-size: 1.35rem;
}
.nc-purge-form {
	max-width: 760px;
}
.nc-critical-check {
	padding: 12px;
	border: 1px solid var(--nc-ui-danger, #b42318);
	background: color-mix(in srgb, var(--nc-ui-danger, #b42318) 8%, var(--nc-ui-surface));
}
.nc-badge-danger {
	background: color-mix(in srgb, var(--nc-ui-danger, #b42318) 16%, var(--nc-ui-surface)) !important;
	border-color: color-mix(in srgb, var(--nc-ui-danger, #b42318) 48%, var(--nc-ui-line)) !important;
	color: var(--nc-ui-danger-text, #8f1710) !important;
}
html[data-nc-theme="dark"] .nc-button-warning,
.nc-theme-dark .nc-button-warning {
	color: #ffd98a !important;
}
html[data-nc-theme="dark"] .nc-badge-danger,
.nc-theme-dark .nc-badge-danger {
	color: #ffb4ad !important;
}

@media (max-width: 1100px) {
	.nc-page-cockpit-row {
		grid-template-columns: 28px minmax(0, 1fr);
	}
	.nc-page-cockpit-actions {
		grid-column: 1 / -1;
		justify-content: flex-start;
	}
}
@media (max-width: 760px) {
	.nc-page-cockpit-metrics,
	.nc-delete-impact {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.nc-content-page-link {
		align-items: stretch;
		flex-direction: column;
	}
	.nc-inline-actions {
		justify-content: flex-start;
	}
}
@media (max-width: 480px) {
	.nc-page-cockpit-metrics,
	.nc-delete-impact {
		grid-template-columns: 1fr;
	}
	.nc-page-cockpit-row {
		padding: 11px;
	}
}

/* NeuroClub 0.41.7 – Website Studio 2.0 launch surface */
.nc-studio2-launch-card{display:flex;align-items:center;justify-content:space-between;gap:28px;border-left:6px solid var(--nc-admin-accent,#b30f2f);background:linear-gradient(120deg,color-mix(in srgb,var(--nc-admin-accent,#b30f2f) 8%,var(--nc-admin-surface,#fff)),var(--nc-admin-surface,#fff));margin-bottom:20px}.nc-studio2-launch-card h2{margin:4px 0 7px}.nc-studio2-launch-card p{max-width:820px;margin:0;color:var(--nc-admin-muted,#626771)}.nc-studio2-launch-card .button-hero{min-height:48px;padding-inline:20px;white-space:nowrap}.nc-studio2-launch-card .dashicons{margin-right:7px}
@media(max-width:760px){.nc-studio2-launch-card{align-items:stretch;flex-direction:column}.nc-studio2-launch-card .button-hero{width:100%;justify-content:center}}
