/*
 * Direction artistique du Guichet municipal de Ramecourt.
 *
 * Cette feuille est une couche d'override : les vues metier historiques
 * conservent leur structure et leurs comportements, tandis que le shell rcg2
 * apporte la navigation et la mise en page communes.
 */

:root,
html[data-rcg-accent="gold"] {
	--rcg2-accent: #f3cc5d;
	--rcg2-accent-strong: #865700;
	--rcg2-accent-soft: #fbf3d8;
	--rcg2-accent-rgb: 243, 204, 93;
	--rcg2-on-accent: #0a2d33;
	--rcg2-accent-gradient: linear-gradient(135deg, #f3cc5d, #f3cc5d);
	--rcg2-accent-soft-gradient: linear-gradient(120deg, rgba(243, 204, 93, .22), rgba(251, 243, 216, .72) 58%, rgba(255, 255, 255, .2));
}

html[data-rcg-accent="coral"] {
	--rcg2-accent: #f08a72;
	--rcg2-accent-strong: #8e382a;
	--rcg2-accent-soft: #fde9e4;
	--rcg2-accent-rgb: 240, 138, 114;
	--rcg2-on-accent: #2f1712;
	--rcg2-accent-gradient: linear-gradient(135deg, #f08a72, #f08a72);
	--rcg2-accent-soft-gradient: linear-gradient(120deg, rgba(240, 138, 114, .2), rgba(253, 233, 228, .75) 58%, rgba(255, 255, 255, .2));
}

html[data-rcg-accent="sage"] {
	--rcg2-accent: #93c47d;
	--rcg2-accent-strong: #32643a;
	--rcg2-accent-soft: #ebf5e7;
	--rcg2-accent-rgb: 147, 196, 125;
	--rcg2-on-accent: #18391f;
	--rcg2-accent-gradient: linear-gradient(135deg, #93c47d, #93c47d);
	--rcg2-accent-soft-gradient: linear-gradient(120deg, rgba(147, 196, 125, .21), rgba(235, 245, 231, .76) 58%, rgba(255, 255, 255, .2));
}

html[data-rcg-accent="sky"] {
	--rcg2-accent: #75b7d3;
	--rcg2-accent-strong: #1c6076;
	--rcg2-accent-soft: #e7f4f8;
	--rcg2-accent-rgb: 117, 183, 211;
	--rcg2-on-accent: #123943;
	--rcg2-accent-gradient: linear-gradient(135deg, #75b7d3, #75b7d3);
	--rcg2-accent-soft-gradient: linear-gradient(120deg, rgba(117, 183, 211, .21), rgba(231, 244, 248, .76) 58%, rgba(255, 255, 255, .2));
}

html[data-rcg-accent="lavender"] {
	--rcg2-accent: #b49ad6;
	--rcg2-accent-strong: #594183;
	--rcg2-accent-soft: #f1ecf8;
	--rcg2-accent-rgb: 180, 154, 214;
	--rcg2-on-accent: #2e2147;
	--rcg2-accent-gradient: linear-gradient(135deg, #b49ad6, #b49ad6);
	--rcg2-accent-soft-gradient: linear-gradient(120deg, rgba(180, 154, 214, .21), rgba(241, 236, 248, .78) 58%, rgba(255, 255, 255, .2));
}

html[data-rcg-accent="rose"] {
	--rcg2-accent: #d98ca3;
	--rcg2-accent-strong: #7e3d55;
	--rcg2-accent-soft: #f9eaf0;
	--rcg2-accent-rgb: 217, 140, 163;
	--rcg2-on-accent: #321722;
	--rcg2-accent-gradient: linear-gradient(135deg, #d98ca3, #d98ca3);
	--rcg2-accent-soft-gradient: linear-gradient(120deg, rgba(217, 140, 163, .2), rgba(249, 234, 240, .78) 58%, rgba(255, 255, 255, .2));
}

html[data-rcg-accent="terracotta"] {
	--rcg2-accent: #c9825d;
	--rcg2-accent-strong: #794126;
	--rcg2-accent-soft: #f7ece5;
	--rcg2-accent-rgb: 201, 130, 93;
	--rcg2-on-accent: #2e1a12;
	--rcg2-accent-gradient: linear-gradient(135deg, #c9825d, #c9825d);
	--rcg2-accent-soft-gradient: linear-gradient(120deg, rgba(201, 130, 93, .2), rgba(247, 236, 229, .78) 58%, rgba(255, 255, 255, .2));
}

html[data-rcg-accent="slate"] {
	--rcg2-accent: #7893b8;
	--rcg2-accent-strong: #314f78;
	--rcg2-accent-soft: #eaf0f7;
	--rcg2-accent-rgb: 120, 147, 184;
	--rcg2-on-accent: #10263f;
	--rcg2-accent-gradient: linear-gradient(135deg, #7893b8, #7893b8);
	--rcg2-accent-soft-gradient: linear-gradient(120deg, rgba(120, 147, 184, .2), rgba(234, 240, 247, .8) 58%, rgba(255, 255, 255, .2));
}

html[data-rcg-accent="plum"] {
	--rcg2-accent: #9f78a7;
	--rcg2-accent-strong: #57345f;
	--rcg2-accent-soft: #f3edf5;
	--rcg2-accent-rgb: 159, 120, 167;
	--rcg2-on-accent: #28162c;
	--rcg2-accent-gradient: linear-gradient(135deg, #9f78a7, #9f78a7);
	--rcg2-accent-soft-gradient: linear-gradient(120deg, rgba(159, 120, 167, .2), rgba(243, 237, 245, .8) 58%, rgba(255, 255, 255, .2));
}

html[data-rcg-accent="sunset"] {
	--rcg2-accent: #e8945f;
	--rcg2-accent-strong: #873f24;
	--rcg2-accent-soft: #fff0e4;
	--rcg2-accent-rgb: 232, 148, 95;
	--rcg2-on-accent: #2e1a12;
	--rcg2-accent-gradient: linear-gradient(135deg, #f08a72 0%, #f3cc5d 100%);
	--rcg2-accent-soft-gradient: linear-gradient(120deg, rgba(240, 138, 114, .2), rgba(243, 204, 93, .2) 64%, rgba(255, 255, 255, .25));
}

html[data-rcg-accent="lagoon"] {
	--rcg2-accent: #63aeb5;
	--rcg2-accent-strong: #245f6a;
	--rcg2-accent-soft: #e6f5f3;
	--rcg2-accent-rgb: 99, 174, 181;
	--rcg2-on-accent: #123943;
	--rcg2-accent-gradient: linear-gradient(135deg, #75b7d3 0%, #93c47d 100%);
	--rcg2-accent-soft-gradient: linear-gradient(120deg, rgba(117, 183, 211, .2), rgba(147, 196, 125, .21) 64%, rgba(255, 255, 255, .25));
}

html[data-rcg-accent="aurora"] {
	--rcg2-accent: #b88fbf;
	--rcg2-accent-strong: #63426e;
	--rcg2-accent-soft: #f5edf7;
	--rcg2-accent-rgb: 184, 143, 191;
	--rcg2-on-accent: #28162c;
	--rcg2-accent-gradient: linear-gradient(135deg, #b49ad6 0%, #f08a72 100%);
	--rcg2-accent-soft-gradient: linear-gradient(120deg, rgba(180, 154, 214, .22), rgba(240, 138, 114, .18) 64%, rgba(255, 255, 255, .25));
}

:where(.rcg2-app, .rcg2-login-page, body.rcg-private-page, .rcg-wrap) {
	--rcg2-font: "Avenir Next", "Segoe UI Variable", "Segoe UI", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
	--rcg2-ink: #173a42;
	--rcg2-deep: #113b42;
	--rcg2-deeper: #0a2d33;
	--rcg2-teal: #236861;
	--rcg2-teal-soft: #deeeea;
	--rcg2-canvas: #f3f5f2;
	--rcg2-surface: #fffefa;
	--rcg2-surface-strong: #ffffff;
	--rcg2-border: #dce4df;
	--rcg2-muted: #52666d;
	--rcg2-danger: #a43e3e;
	--rcg2-danger-soft: #fbedeb;
	--rcg2-warning: #96600f;
	--rcg2-warning-soft: #fff0d2;
	--rcg2-success: #25704e;
	--rcg2-success-soft: #e0f2e8;
	--rcg2-focus: var(--rcg2-accent-strong);
	--rcg2-page-header-bg: var(--rcg2-accent-soft-gradient);
	--rcg2-page-header-ink: var(--rcg2-deep);
	--rcg2-page-header-muted: var(--rcg2-muted);
	--rcg2-radius-sm: 10px;
	--rcg2-radius: 16px;
	--rcg2-radius-lg: 22px;
	--rcg2-shadow-sm: 0 4px 16px rgba(11, 50, 56, .055);
	--rcg2-shadow: 0 14px 36px rgba(11, 50, 56, .075);
	font-family: var(--rcg2-font);
	font-weight: 400;
}

:where(.rcg2-app, .rcg2-login-page, body.rcg-private-page, .rcg-wrap) *,
:where(.rcg2-app, .rcg2-login-page, body.rcg-private-page, .rcg-wrap) *::before,
:where(.rcg2-app, .rcg2-login-page, body.rcg-private-page, .rcg-wrap) *::after {
	box-sizing: border-box;
}

:where(.rcg2-app, .rcg2-login-page, body.rcg-private-page, .rcg-wrap) :where(button, input, select, textarea) {
	font-family: var(--rcg2-font) !important;
}

/* Les anciens ecrans utilisaient parfois des graisses 700 a 850. La DA
 * privilegie une lecture plus ouverte et ne depasse jamais 600. */
.rcg-wrap *,
body.rcg-private-page :where(.rcg2-app, .rcg2-login-layout, .rcg-access-shell) * {
	font-weight: 400 !important;
}

.rcg-wrap :is(h1, h2, h3, h4, h5, h6, strong, b, label, legend, summary, th, button, .button, .rcg-kicker, [class*="-title"], [class*="-heading"]),
body.rcg-private-page :is(.rcg2-app, .rcg2-login-layout, .rcg-access-shell) :is(h1, h2, h3, h4, h5, h6, strong, b, label, legend, summary, button, .button) {
	font-weight: 600 !important;
}

:where(.rcg2-app, .rcg2-login-page, body.rcg-private-page, .rcg-wrap) :where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
	outline: 3px solid var(--rcg2-focus) !important;
	outline-offset: 3px;
	box-shadow: none !important;
}

body.rcg-private-page {
	min-width: 320px;
	min-height: 100vh;
	margin: 0;
	overflow-x: hidden;
	background:
		radial-gradient(circle at 94% 2%, rgba(var(--rcg2-accent-rgb), .11), transparent 27%),
		var(--rcg2-canvas);
	color: var(--rcg2-ink);
	font: 400 15px/1.55 var(--rcg2-font);
}

.rcg2-skip-link,
.rcg-skip-link {
	position: fixed;
	z-index: 3000;
	top: 12px;
	left: 12px;
	padding: 10px 14px;
	border-radius: 9px;
	background: #fff;
	color: var(--rcg2-deep);
	font-size: 14px;
	font-weight: 600 !important;
	transform: translateY(-180%);
}

.rcg2-skip-link:focus,
.rcg-skip-link:focus {
	transform: translateY(0);
}

/* Shell prive ------------------------------------------------------------ */

.rcg2-app {
	display: grid;
	grid-template-columns: 248px minmax(0, 1fr);
	min-width: 0;
	min-height: 100vh;
	background: transparent;
	color: var(--rcg2-ink);
	font: 400 15px/1.5 var(--rcg2-font);
}

.rcg2-sidebar {
	position: sticky;
	z-index: 100;
	top: 0;
	display: flex;
	width: 248px;
	height: 100vh;
	min-height: 620px;
	flex-direction: column;
	padding: 22px 16px 18px;
	overflow-x: hidden;
	overflow-y: auto;
	background:
		radial-gradient(circle at 16% -3%, rgba(var(--rcg2-accent-rgb), .19), transparent 27%),
		linear-gradient(180deg, #133f46 0%, #0c3037 100%);
	color: #fff;
	scrollbar-width: thin;
	scrollbar-color: rgba(255, 255, 255, .28) transparent;
}

.rcg2-brand,
.rcg2-sidebar .rcg-private-brand-link {
	display: flex;
	min-width: 0;
	align-items: center;
	gap: 12px;
	padding: 0 7px 18px;
	border-bottom: 1px solid rgba(255, 255, 255, .12);
	color: #fff;
	text-decoration: none;
}

.rcg2-brand__link {
	display: flex;
	min-width: 0;
	flex: 1 1 auto;
	align-items: center;
	gap: 12px;
	color: #fff;
	text-decoration: none;
}

.rcg2-brand__logo,
.rcg2-sidebar .rcg-private-logo {
	display: grid;
	width: 58px;
	height: 58px;
	flex: 0 0 58px;
	place-items: center;
	padding: 2px;
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, .35);
	border-radius: 15px;
	background: #fff;
	box-shadow: 0 9px 24px rgba(2, 25, 29, .24);
}

.rcg2-brand__logo img,
.rcg2-sidebar .rcg-private-logo img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
	transform: none;
}

.rcg2-brand__copy,
.rcg2-sidebar .rcg-private-brand-copy {
	display: grid;
	min-width: 0;
	gap: 1px;
}

.rcg2-brand__copy strong,
.rcg2-sidebar .rcg-private-brand-copy strong {
	overflow: hidden;
	color: #fff;
	font-size: 19px;
	line-height: 1.2;
	text-overflow: ellipsis;
}

.rcg2-brand__copy small,
.rcg2-sidebar .rcg-private-brand-copy small {
	color: rgba(255, 255, 255, .68);
	font-size: 10px;
	font-weight: 500 !important;
	letter-spacing: .055em;
	text-transform: uppercase;
}

.rcg2-nav {
	display: grid;
	gap: 4px;
	margin: 20px 0;
}

.rcg2-nav__label {
	margin: 0 10px 6px;
	color: rgba(255, 255, 255, .68);
	font-size: 10px;
	font-weight: 600 !important;
	letter-spacing: .11em;
	text-transform: uppercase;
}

.rcg2-nav__label:not(:first-child) {
	margin-top: 14px;
	padding-top: 16px;
	border-top: 1px solid rgba(255, 255, 255, .1);
}

.rcg2-nav a,
.rcg2-nav button,
.rcg2-nav__item {
	position: relative;
	display: grid;
	width: 100%;
	min-width: 0;
	min-height: 44px;
	grid-template-columns: 30px minmax(0, 1fr) auto;
	align-items: center;
	gap: 7px;
	padding: 7px 10px;
	border: 1px solid transparent;
	border-radius: 11px;
	background: transparent;
	color: rgba(255, 255, 255, .78);
	font-size: 14px;
	font-weight: 500 !important;
	text-align: left;
	text-decoration: none;
	cursor: pointer;
	transition: background-color .16s ease, border-color .16s ease, color .16s ease;
}

.rcg2-nav a:hover,
.rcg2-nav button:hover,
.rcg2-nav__item:hover {
	border-color: rgba(255, 255, 255, .09);
	background: rgba(255, 255, 255, .07);
	color: #fff;
}

.rcg2-nav :is(a, button, .rcg2-nav__item).is-active,
.rcg2-nav :is(a, button, .rcg2-nav__item)[aria-current="page"] {
	border-color: rgba(var(--rcg2-accent-rgb), .2);
	background: rgba(var(--rcg2-accent-rgb), .16);
	color: #fff;
	font-weight: 600 !important;
}

.rcg2-nav :is(a, button, .rcg2-nav__item).is-active::before,
.rcg2-nav :is(a, button, .rcg2-nav__item)[aria-current="page"]::before {
	position: absolute;
	top: 9px;
	bottom: 9px;
	left: -11px;
	width: 3px;
	border-radius: 0 3px 3px 0;
	background: var(--rcg2-accent);
	content: "";
}

.rcg2-nav__icon,
.rcg2-nav .dashicons {
	display: grid;
	width: 28px;
	height: 28px;
	place-items: center;
	border-radius: 8px;
	background: rgba(255, 255, 255, .075);
	color: rgba(255, 255, 255, .9);
	font-size: 17px;
	line-height: 28px;
}

.rcg2-nav__count {
	min-width: 24px;
	padding: 2px 6px;
	border-radius: 999px;
	background: #fff;
	color: var(--rcg2-deep);
	font-size: 11px;
	font-weight: 600 !important;
	text-align: center;
}

/* Rubriques repliables : sans JavaScript, les listes restent toutes visibles. */
.rcg2-nav__section {
	display: grid;
	gap: 4px;
}

.rcg2-nav__section + .rcg2-nav__section {
	margin-top: 8px;
	padding-top: 8px;
	border-top: 1px solid rgba(255, 255, 255, .1);
}

.rcg2-nav .rcg2-nav__section-toggle {
	min-height: 44px;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 8px;
	padding: 7px 10px;
	border-color: transparent;
	border-radius: 10px;
	color: rgba(255, 255, 255, .72);
	font-size: 11px;
	font-weight: 650 !important;
	letter-spacing: .075em;
	line-height: 1.25;
	text-transform: uppercase;
}

.rcg2-nav .rcg2-nav__section-toggle:hover,
.rcg2-nav .rcg2-nav__section-toggle:focus-visible,
.rcg2-nav__section.is-current > .rcg2-nav__section-toggle {
	border-color: rgba(255, 255, 255, .11);
	background: rgba(255, 255, 255, .065);
	color: #fff;
}

.rcg2-nav .rcg2-nav__section-toggle:focus-visible {
	box-shadow: 0 0 0 3px rgba(var(--rcg2-accent-rgb), .32);
	outline: 2px solid transparent;
}

.rcg2-nav .rcg2-nav__section-chevron {
	display: grid;
	width: 24px;
	height: 24px;
	place-items: center;
	border-radius: 7px;
	background: rgba(255, 255, 255, .07);
	font-size: 15px;
	line-height: 24px;
	transition: transform .16s ease;
}

.rcg2-nav__section-toggle[aria-expanded="false"] .rcg2-nav__section-chevron {
	transform: rotate(-90deg);
}

.rcg2-nav__section-items {
	display: grid;
	gap: 4px;
}

.rcg2-nav__section-items[hidden] {
	display: none !important;
}

.rcg2-sidebar__footer {
	display: grid;
	gap: 12px;
	margin-top: auto;
	padding: 17px 6px 0;
	border-top: 1px solid rgba(255, 255, 255, .11);
	color: rgba(255, 255, 255, .66);
	font-size: 11px;
}

.rcg2-sidebar__footer a {
	color: rgba(255, 255, 255, .72);
	text-underline-offset: 3px;
}

.rcg2-security {
	display: flex;
	align-items: center;
	gap: 9px;
}

.rcg2-security__icon {
	display: grid;
	width: 31px;
	height: 31px;
	flex: 0 0 31px;
	place-items: center;
	border-radius: 50%;
	background: rgba(141, 205, 175, .14);
	color: #a9dfc0;
	font-weight: 600 !important;
}

.rcg2-security > div {
	display: grid;
}

.rcg2-security strong {
	color: #fff;
	font-size: 12px;
}

.rcg2-security div span {
	color: rgba(255, 255, 255, .53);
	font-size: 10px;
}

.rcg2-sidebar__close {
	display: none !important;
	margin-left: auto;
}

.rcg2-main {
	min-width: 0;
	max-width: 100%;
	padding: 0 clamp(22px, 3.1vw, 48px) 28px;
}

.rcg2-topbar {
	position: relative;
	z-index: 60;
	display: flex;
	min-width: 0;
	min-height: 104px;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	border-bottom: 1px solid var(--rcg2-border);
}

.rcg2-topbar__left,
.rcg2-topbar__actions {
	display: flex;
	min-width: 0;
	align-items: center;
	gap: 11px;
}

.rcg2-topbar__actions {
	flex: 0 0 auto;
}

.rcg2-topbar__copy {
	min-width: 0;
}

.rcg2-topbar__left > div {
	min-width: 0;
}

.rcg2-topbar__copy p {
	margin: 0 0 4px;
	color: var(--rcg2-warning);
	font-size: 10px;
	font-weight: 600 !important;
	letter-spacing: .1em;
	text-transform: uppercase;
}

.rcg2-topbar h1,
.rcg2-topbar__title {
	margin: 0;
	overflow: hidden;
	color: var(--rcg2-deep);
	font-size: clamp(25px, 2.6vw, 34px);
	font-weight: 600 !important;
	letter-spacing: -.01em;
	line-height: 1.18;
	text-overflow: ellipsis;
}

.rcg2-eyebrow {
	margin: 0 0 4px;
	color: var(--rcg2-warning);
	font-size: 10px;
	font-weight: 600 !important;
	letter-spacing: .105em;
	line-height: 1.4;
	text-transform: uppercase;
}

.rcg2-icon-button,
.rcg2-menu-button,
[data-rcg-sidebar-open],
[data-rcg-sidebar-close] {
	display: inline-grid;
	width: 42px;
	height: 42px;
	place-items: center;
	padding: 0;
	border: 1px solid var(--rcg2-border);
	border-radius: 12px;
	background: rgba(255, 255, 255, .78);
	color: var(--rcg2-deep);
	cursor: pointer;
}

.rcg2-menu-button,
[data-rcg-sidebar-open] {
	visibility: hidden;
}

.rcg2-app[data-rcg-sidebar-bound="1"] .rcg2-menu-button,
.rcg2-app[data-rcg-sidebar-bound="1"] [data-rcg-sidebar-open] {
	visibility: visible;
}

.rcg2-profile,
.rcg2-clock,
.rcg2-topbar .rcg-private-clock {
	display: inline-flex;
	min-height: 46px;
	align-items: center;
	gap: 8px;
	padding: 7px 11px;
	border: 1px solid var(--rcg2-border);
	border-radius: 13px;
	background: rgba(255, 255, 255, .78);
	color: var(--rcg2-deep);
	font-size: 12px;
	font-variant-numeric: tabular-nums;
	letter-spacing: .025em;
	white-space: nowrap;
}

.rcg2-profile-menu {
	position: relative;
	display: block;
	flex: 0 0 auto;
}

.rcg2-profile-menu > summary {
	list-style: none;
	cursor: pointer;
}

.rcg2-profile-menu > summary::-webkit-details-marker {
	display: none;
}

.rcg2-profile-menu > summary::marker {
	content: "";
}

.rcg2-profile-menu > summary:focus-visible,
.rcg2-profile-email-settings > summary:focus-visible,
.rcg2-profile-password > summary:focus-visible {
	outline: 3px solid #9c6500;
	outline-offset: 2px;
}

.rcg2-profile-menu[open] > .rcg2-profile {
	border-color: rgba(var(--rcg2-accent-rgb), .58);
	background: #fff;
	box-shadow: 0 8px 24px rgba(17, 50, 55, .12);
}

.rcg2-profile__avatar {
	position: relative;
	display: grid;
	width: 34px;
	height: 34px;
	flex: 0 0 34px;
	place-items: center;
	border-radius: 10px;
	background: var(--rcg2-deep);
	color: #fff;
	font-size: 11px;
	font-weight: 600 !important;
	letter-spacing: .035em;
	overflow: hidden;
}

.rcg-profile-avatar img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.rcg-profile-avatar > .dashicons {
	display: grid;
	width: auto;
	height: auto;
	place-items: center;
	font-size: 18px;
	line-height: 1;
}

.rcg2-profile__copy,
.rcg2-clock__copy {
	display: grid;
	min-width: 0;
}

.rcg2-profile__copy strong,
.rcg2-clock__copy strong {
	color: var(--rcg2-deep);
	font-size: 12px;
	line-height: 1.25;
}

.rcg2-profile__copy small,
.rcg2-clock__copy small {
	color: var(--rcg2-muted);
	font-size: 9px;
	line-height: 1.3;
}

.rcg2-profile__chevron {
	width: 15px;
	height: 15px;
	color: var(--rcg2-muted);
	font-size: 15px;
	line-height: 15px;
	transition: transform .16s ease;
}

.rcg2-profile-menu[open] .rcg2-profile__chevron {
	transform: rotate(180deg);
}

.rcg2-profile-panel {
	position: absolute;
	top: calc(100% + 10px);
	right: 0;
	display: grid;
	width: min(430px, calc(100vw - 32px));
	max-height: min(760px, calc(100vh - 126px));
	padding: 18px;
	overflow-x: hidden;
	overflow-y: auto;
	border: 1px solid rgba(32, 73, 78, .16);
	border-radius: 18px;
	background: #fff;
	box-shadow: 0 24px 60px rgba(15, 47, 53, .2);
	color: var(--rcg2-ink);
	font-size: 12px;
	white-space: normal;
}

.rcg2-profile-panel__header,
.rcg2-profile-identity,
.rcg2-profile-section__heading {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.rcg2-profile-panel__header {
	margin-bottom: 14px;
}

.rcg2-profile-panel__header :is(p, h2),
.rcg2-profile-section__heading :is(h3, p) {
	margin: 0;
}

.rcg2-profile-panel__header h2 {
	color: var(--rcg2-deep);
	font-size: 20px;
	line-height: 1.2;
}

.rcg2-profile-panel__close {
	width: 34px;
	height: 34px;
	flex: 0 0 34px;
	border-radius: 10px;
	font-size: 20px;
	line-height: 1;
}

.rcg2-profile-notice {
	margin: 0 0 13px;
	padding: 9px 11px;
	border: 1px solid transparent;
	border-radius: 10px;
	font-size: 12px;
	line-height: 1.4;
}

.rcg2-profile-notice.is-success {
	border-color: #acd9c2;
	background: #e9f7ef;
	color: #185b3a;
}

.rcg2-profile-notice.is-error {
	border-color: #e8b4b4;
	background: #fff0f0;
	color: #762a2a;
}

.rcg2-profile-identity {
	justify-content: flex-start;
	margin-bottom: 13px;
	padding: 12px;
	border-radius: 13px;
	background: linear-gradient(135deg, var(--rcg2-accent-soft), rgba(255, 255, 255, .82));
}

.rcg2-profile-identity__avatar {
	display: grid;
	width: 54px;
	height: 54px;
	flex: 0 0 54px;
	place-items: center;
	overflow: hidden;
	border: 2px solid rgba(255, 255, 255, .9);
	border-radius: 16px;
	background: var(--rcg2-deep);
	box-shadow: 0 6px 16px rgba(15, 54, 59, .14);
	color: #fff;
	font-size: 15px;
	font-weight: 700;
}

.rcg2-profile-identity__avatar > .dashicons {
	font-size: 25px;
}

.rcg2-profile-identity > div {
	display: grid;
	min-width: 0;
	gap: 2px;
}

.rcg2-profile-identity strong {
	color: var(--rcg2-deep);
	font-size: 14px;
}

.rcg2-profile-identity span {
	color: var(--rcg2-muted);
	font-size: 11px;
}

.rcg2-profile-field {
	display: grid;
	gap: 6px;
	margin-bottom: 14px;
}

.rcg2-profile-field > span:first-child,
.rcg2-profile-password label > span {
	color: var(--rcg2-deep);
	font-size: 11px;
	font-weight: 700;
}

.rcg2-profile-field__locked {
	position: relative;
	display: block;
}

.rcg2-profile-field__locked input,
.rcg2-profile-password input {
	width: 100%;
	min-height: 42px;
	padding: 9px 38px 9px 11px;
	border: 1px solid var(--rcg2-border);
	border-radius: 10px;
	background: #fff;
	color: var(--rcg2-deep);
	font: inherit;
	box-shadow: none;
}

.rcg2-profile-field__locked input[readonly] {
	background: #f4f6f5;
	color: #536268;
	cursor: text;
}

.rcg2-profile-field__locked .dashicons {
	position: absolute;
	top: 50%;
	right: 11px;
	width: 17px;
	height: 17px;
	color: var(--rcg2-muted);
	font-size: 17px;
	line-height: 17px;
	transform: translateY(-50%);
}

.rcg2-profile-field small,
.rcg2-profile-password label small {
	color: var(--rcg2-muted);
	font-size: 10px;
	line-height: 1.4;
}

.rcg2-profile-assistance {
 margin: 18px 0; padding-top: 16px; border-top: 1px solid var(--rcg-line, #e2e7e5);
}
.rcg2-profile-assistance > .rcg2-eyebrow { margin: 0 0 10px; }
.rcg2-profile-panel .rcg2-profile-tour {
 display: flex; align-items: center; gap: 12px; width: 100%; min-height: 64px;
 box-sizing: border-box; margin: 0 0 12px; padding: 12px; border: 1px solid var(--rcg-line, #e2e7e5);
 border-radius: 12px; background: #fafcfb; color: var(--rcg-ink, #173a42); text-decoration: none; box-shadow: none;
}
.rcg2-profile-tour > .dashicons:first-child { display: grid; place-items: center; flex: 0 0 34px; width: 34px; height: 34px; border-radius: 10px; background: var(--rcg-soft, #edf4f1); color: inherit; font-size: 20px; }
.rcg2-profile-tour__copy { flex: 1; min-width: 0; text-align: left; }
.rcg2-profile-tour__copy strong { display: block; font-size: 13px; line-height: 1.4; font-weight: 600; }
.rcg2-profile-tour__copy small { display: block; margin-top: 3px; font-size: 11px; line-height: 1.45; color: var(--rcg-muted, #637579); }
.rcg2-profile-tour > .dashicons:last-child { flex: 0 0 18px; font-size: 18px; opacity: .6; }
.rcg2-profile-panel .rcg2-profile-tour:hover { background: var(--rcg-soft, #edf4f1); border-color: var(--rcg-accent, #9baea6); }
.rcg2-profile-panel .rcg2-profile-tour:focus-visible { outline: 2px solid var(--rcg-accent, #8b7141); outline-offset: 3px; }

.rcg2-profile-support {
	display: flex;
	width: 100%;
	align-items: flex-end;
	gap: 8px;
	padding: 0;
	border: 0;
	background: transparent;
	color: inherit;
	font: inherit;
	text-align: left;
}

.rcg2-profile-support:not(:disabled) {
	cursor: pointer;
}

.rcg2-profile-support:disabled {
	opacity: .72;
	cursor: wait;
}

.rcg2-profile-support__avatar {
	display: grid;
	width: 31px;
	height: 31px;
	flex: 0 0 31px;
	place-items: center;
	border-radius: 50%;
	background: var(--rcg2-deep);
	color: #fff;
	font-size: 11px;
	font-weight: 700;
}

.rcg2-profile-support__bubble {
	position: relative;
	display: grid;
	flex: 1 1 auto;
	gap: 2px;
	padding: 10px 12px;
	border: 1px solid #d9e1de;
	border-radius: 14px 14px 14px 5px;
	background: #f7faf9;
	box-shadow: 0 3px 9px rgba(22, 64, 68, .07);
	transition: border-color .15s ease, background .15s ease, transform .15s ease;
}

.rcg2-profile-support:not(:disabled):hover .rcg2-profile-support__bubble,
.rcg2-profile-support:not(:disabled):focus-visible .rcg2-profile-support__bubble {
	border-color: rgba(var(--rcg2-accent-rgb), .62);
	background: var(--rcg2-accent-soft);
	transform: translateY(-1px);
}

.rcg2-profile-support__bubble strong {
	color: var(--rcg2-teal);
	font-size: 10px;
}

.rcg2-profile-support__bubble > span {
	color: var(--rcg2-deep);
	font-size: 12px;
	font-weight: 600;
	line-height: 1.35;
}

.rcg2-profile-support__bubble small {
	color: var(--rcg2-muted);
	font-size: 9px;
}

.rcg2-profile-section {
	margin-top: 0;
	padding: 14px;
	border: 1px solid var(--rcg2-border);
	border-radius: 13px;
	background: #fbfcfb;
}

.rcg2-profile-section + .rcg2-profile-section {
	margin-top: 11px;
}

.rcg2-profile-section__heading {
	align-items: flex-start;
	justify-content: flex-start;
}

.rcg2-profile-section__heading h3 {
	color: var(--rcg2-deep);
	font-size: 14px;
}

.rcg2-profile-section__heading p {
	margin-top: 2px;
	color: var(--rcg2-muted);
	font-size: 10px;
	line-height: 1.4;
}

.rcg2-profile-upload {
	display: flex;
	align-items: center;
	gap: 9px;
	margin: 12px 0;
	padding: 9px 10px;
	border: 1px dashed rgba(var(--rcg2-accent-rgb), .62);
	border-radius: 11px;
	background: #fff;
	cursor: pointer;
}

.rcg2-profile-upload:hover {
	background: var(--rcg2-accent-soft);
}

.rcg2-profile-upload:focus-within,
.rcg2-profile-avatar-choice:focus-within {
	outline: 3px solid #9c6500;
	outline-offset: 2px;
}

.rcg2-profile-upload > .dashicons {
	display: grid;
	width: 31px;
	height: 31px;
	flex: 0 0 31px;
	place-items: center;
	border-radius: 9px;
	background: var(--rcg2-accent-soft);
	color: var(--rcg2-accent-strong);
	font-size: 17px;
	line-height: 31px;
}

.rcg2-profile-upload > span:last-child {
	display: grid;
	min-width: 0;
	gap: 1px;
}

.rcg2-profile-upload strong {
	color: var(--rcg2-deep);
	font-size: 11px;
}

.rcg2-profile-upload small {
	overflow: hidden;
	color: var(--rcg2-muted);
	font-size: 9px;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.rcg2-profile-crop-result {
	display: grid;
	grid-template-columns: 44px minmax(0, 1fr) auto;
	align-items: center;
	gap: 9px;
	margin: -3px 0 12px;
	padding: 8px 9px;
	border: 1px solid rgba(35, 104, 97, .28);
	border-radius: 11px;
	background: #f2faf7;
}

.rcg2-profile-crop-result[hidden] {
	display: none;
}

.rcg2-profile-crop-result img {
	display: block;
	width: 44px;
	height: 44px;
	object-fit: cover;
	border-radius: 50%;
	background: #e5efec;
}

.rcg2-profile-crop-result > span {
	display: grid;
	min-width: 0;
	gap: 1px;
}

.rcg2-profile-crop-result strong {
	color: var(--rcg2-deep);
	font-size: 10px;
}

.rcg2-profile-crop-result small {
	color: var(--rcg2-muted);
	font-size: 9px;
	line-height: 1.35;
}

.rcg2-profile-crop-result button {
	padding: 5px 7px;
	border: 0;
	background: transparent;
	color: var(--rcg2-teal);
	font: inherit;
	font-size: 9px;
	font-weight: 700;
	text-decoration: underline;
	cursor: pointer;
}

.rcg2-profile-crop-dialog {
	width: min(430px, calc(100vw - 24px));
	max-width: 430px;
	max-height: calc(100vh - 24px);
	padding: 0;
	border: 0;
	border-radius: 18px;
	background: transparent;
	box-shadow: 0 24px 70px rgba(10, 45, 51, .28);
}

.rcg2-profile-crop-dialog::backdrop {
	background: rgba(6, 32, 37, .58);
	backdrop-filter: blur(3px);
}

.rcg2-profile-crop-dialog__inner {
	display: grid;
	gap: 14px;
	max-height: calc(100vh - 24px);
	padding: 18px;
	overflow: auto;
	border: 1px solid rgba(255, 255, 255, .72);
	border-radius: 18px;
	background: #fff;
}

.rcg2-profile-crop-dialog__header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 14px;
}

.rcg2-profile-crop-dialog__header h3 {
	margin: 2px 0 0;
	color: var(--rcg2-deep);
	font-size: 20px;
}

.rcg2-profile-crop-stage {
	position: relative;
	width: min(100%, 340px);
	aspect-ratio: 1;
	margin: 0 auto;
	overflow: hidden;
	border-radius: 18px;
	background: #dfe9e6;
	box-shadow: inset 0 0 0 1px rgba(17, 59, 66, .16);
}

.rcg2-profile-crop-stage canvas {
	display: block;
	width: 100%;
	height: 100%;
	touch-action: none;
	cursor: grab;
}

.rcg2-profile-crop-stage canvas:active {
	cursor: grabbing;
}

.rcg2-profile-crop-stage canvas:focus-visible {
	outline: 4px solid #9c6500;
	outline-offset: -4px;
}

.rcg2-profile-crop-stage > span {
	position: absolute;
	inset: 0;
	pointer-events: none;
	border: 2px solid rgba(255, 255, 255, .94);
	border-radius: 50%;
	box-shadow: 0 0 0 999px rgba(5, 30, 34, .27), 0 0 0 1px rgba(5, 30, 34, .25);
}

.rcg2-profile-crop-zoom {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	align-items: center;
	gap: 12px;
	color: var(--rcg2-deep);
	font-size: 11px;
	font-weight: 700;
}

.rcg2-profile-crop-zoom input {
	width: 100%;
	accent-color: var(--rcg2-teal);
}

.rcg2-profile-crop-help,
.rcg2-profile-crop-status {
	margin: 0;
	color: var(--rcg2-muted);
	font-size: 11px;
	line-height: 1.45;
}

.rcg2-profile-crop-status {
	padding: 8px 10px;
	border-radius: 9px;
	background: #edf8f4;
	color: #176842;
}

.rcg2-profile-crop-status.is-error {
	background: #fff0ef;
	color: #8a2424;
}

.rcg2-profile-crop-actions {
	display: flex;
	justify-content: flex-end;
	gap: 8px;
}

.rcg2-profile-avatar-options {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 8px;
	margin: 0;
	padding: 0;
	border: 0;
}

.rcg2-profile-avatar-options legend {
	grid-column: 1 / -1;
	margin-bottom: 1px;
	color: var(--rcg2-deep);
	font-size: 10px;
	font-weight: 700;
}

.rcg2-profile-avatar-choice {
	position: relative;
	display: grid;
	justify-items: center;
	gap: 4px;
	padding: 8px 5px;
	border: 1px solid var(--rcg2-border);
	border-radius: 10px;
	background: #fff;
	cursor: pointer;
}

.rcg2-profile-avatar-choice:has(input:checked) {
	border-color: var(--rcg2-accent-strong);
	background: var(--rcg2-accent-soft);
	box-shadow: 0 0 0 1px var(--rcg2-accent-strong);
}

.rcg2-profile-avatar-choice input {
	position: absolute;
	width: 1px;
	height: 1px;
	opacity: 0;
}

.rcg2-profile-avatar-choice__preview {
	display: grid;
	width: 42px;
	height: 42px;
	place-items: center;
	overflow: hidden;
	border-radius: 13px;
	background: var(--rcg2-deep);
	color: #fff;
	font-size: 11px;
	font-weight: 700;
}

.rcg2-profile-avatar-choice__preview > .dashicons {
	font-size: 21px;
}

.rcg2-profile-avatar-choice small {
	color: var(--rcg2-muted);
	font-size: 9px;
	line-height: 1.2;
	text-align: center;
}

.rcg2-profile-save {
	width: 100%;
	margin-top: 12px;
}

@keyframes rcg2-email-settings-ring {
	0%,
	100% { transform: translateY(0) rotate(0deg); }
	20% { transform: translateY(-1px) rotate(-7deg); }
	40% { transform: translateY(-1px) rotate(6deg); }
	60% { transform: translateY(0) rotate(-4deg); }
	78% { transform: translateY(0) rotate(2deg); }
}

@keyframes rcg2-email-settings-halo {
	0% { box-shadow: 0 0 0 0 rgba(var(--rcg2-accent-rgb), 0); }
	34% { box-shadow: 0 0 0 6px rgba(var(--rcg2-accent-rgb), .16); }
	100% { box-shadow: 0 0 0 10px rgba(var(--rcg2-accent-rgb), 0); }
}

.rcg2-profile-email-settings {
	margin-bottom: 14px;
	padding: 0;
}

.rcg2-profile-email-settings > summary {
	display: grid;
	grid-template-columns: 31px minmax(0, 1fr) auto;
	align-items: center;
	gap: 9px;
	padding: 12px 14px;
	list-style: none;
	cursor: pointer;
}

.rcg2-profile-email-settings > summary::-webkit-details-marker { display: none; }
.rcg2-profile-email-settings > summary::marker { content: ""; }

.rcg2-profile-email-settings > summary > .dashicons:first-child {
	display: grid;
	width: 31px;
	height: 31px;
	place-items: center;
	border-radius: 9px;
	background: var(--rcg2-teal-soft);
	color: var(--rcg2-teal);
	font-size: 17px;
	line-height: 31px;
}

.rcg2-email-settings-bell {
	pointer-events: none;
}

.rcg2-email-settings-bell.is-ringing {
	transform-origin: 50% 18%;
	animation:
		rcg2-email-settings-ring .52s cubic-bezier(.36, .07, .19, .97) .14s both,
		rcg2-email-settings-halo .7s ease-out .1s both;
}

.rcg2-profile-email-settings > summary > span:nth-child(2) {
	display: grid;
	gap: 1px;
}

.rcg2-profile-email-settings > summary strong {
	color: var(--rcg2-deep);
	font-size: 11px;
}

.rcg2-profile-email-settings > summary small {
	color: var(--rcg2-muted);
	font-size: 9px;
}

.rcg2-profile-email-settings > summary > .dashicons:last-child {
	width: 15px;
	height: 15px;
	color: var(--rcg2-muted);
	font-size: 15px;
	line-height: 15px;
	transition: transform .16s ease;
}

.rcg2-profile-email-settings[open] > summary > .dashicons:last-child {
	transform: rotate(180deg);
}

.rcg2-profile-email-settings > form {
	padding: 0 14px 14px;
}

.rcg2-email-preferences {
	display: grid;
	gap: 7px;
	margin: 0;
	padding: 0;
	border: 0;
}

.rcg2-email-preference-row {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	gap: 10px;
	padding: 9px 10px;
	border: 1px solid var(--rcg2-border);
	border-radius: 10px;
	background: #fff;
}

.rcg2-email-preference-row > span:first-child {
	display: grid;
	gap: 2px;
	min-width: 0;
}

.rcg2-email-preference-row strong {
	color: var(--rcg2-deep);
	font-size: 10px;
	line-height: 1.25;
}

.rcg2-email-preference-row small {
	color: var(--rcg2-muted);
	font-size: 8px;
	line-height: 1.35;
}

.rcg2-email-switch {
	display: inline-grid;
	grid-template-columns: 35px 22px;
	align-items: center;
	gap: 5px;
	cursor: pointer;
}

.rcg2-email-switch input {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
}

.rcg2-email-switch > span {
	position: relative;
	display: block;
	width: 35px;
	height: 20px;
	border: 1px solid #c6cfcc;
	border-radius: 999px;
	background: #e7ebea;
	transition: background .16s ease, border-color .16s ease;
}

.rcg2-email-switch i {
	position: absolute;
	top: 2px;
	left: 2px;
	width: 14px;
	height: 14px;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 1px 3px rgba(18, 54, 58, .2);
	transition: transform .16s ease;
}

.rcg2-email-switch input:checked + span {
	border-color: var(--rcg2-teal);
	background: var(--rcg2-teal);
}

.rcg2-email-switch input:checked + span i {
	transform: translateX(15px);
}

.rcg2-email-switch input:focus-visible + span {
	outline: 3px solid var(--rcg2-focus, var(--rcg2-accent-strong));
	outline-offset: 2px;
}

.rcg2-email-switch b {
	color: var(--rcg2-muted);
	font-size: 8px;
	font-weight: 750;
}

.rcg2-email-switch b::before { content: "OFF"; }
.rcg2-email-switch input:checked ~ b::before { content: "ON"; }

.rcg2-email-required {
	display: grid;
	gap: 6px;
	margin-top: 12px;
	padding-top: 10px;
	border-top: 1px solid var(--rcg2-border);
}

.rcg2-email-required > .rcg2-eyebrow { margin: 0; }

.rcg2-email-preference-row.is-locked {
	padding: 7px 9px;
	background: #f6f8f7;
}

.rcg2-email-required-badge {
	display: inline-flex;
	align-items: center;
	gap: 3px;
	color: var(--rcg2-teal);
	font-size: 8px;
	font-weight: 700;
	white-space: nowrap;
}

.rcg2-email-required-badge .dashicons {
	width: 12px;
	height: 12px;
	font-size: 12px;
	line-height: 12px;
}

.rcg2-email-preferences-note {
	margin: 10px 0 0;
	color: var(--rcg2-muted);
	font-size: 8px;
	line-height: 1.4;
}

.rcg2-profile-password {
	padding: 0;
}

.rcg2-profile-password > summary {
	display: grid;
	grid-template-columns: 31px minmax(0, 1fr) auto;
	align-items: center;
	gap: 9px;
	padding: 12px 14px;
	list-style: none;
	cursor: pointer;
}

.rcg2-profile-password > summary::-webkit-details-marker {
	display: none;
}

.rcg2-profile-password > summary::marker {
	content: "";
}

.rcg2-profile-password > summary > .dashicons:first-child {
	display: grid;
	width: 31px;
	height: 31px;
	place-items: center;
	border-radius: 9px;
	background: var(--rcg2-teal-soft);
	color: var(--rcg2-teal);
	font-size: 17px;
	line-height: 31px;
}

.rcg2-profile-password > summary > span:nth-child(2) {
	display: grid;
	gap: 1px;
}

.rcg2-profile-password > summary strong {
	color: var(--rcg2-deep);
	font-size: 11px;
}

.rcg2-profile-password > summary small {
	color: var(--rcg2-muted);
	font-size: 9px;
}

.rcg2-profile-password > summary > .dashicons:last-child {
	width: 15px;
	height: 15px;
	color: var(--rcg2-muted);
	font-size: 15px;
	line-height: 15px;
	transition: transform .16s ease;
}

.rcg2-profile-password[open] > summary > .dashicons:last-child {
	transform: rotate(180deg);
}

.rcg2-profile-password form {
	display: grid;
	gap: 10px;
	padding: 0 14px 14px;
}

.rcg2-profile-password label {
	display: grid;
	gap: 5px;
}

.rcg2-profile-password input {
	padding-right: 11px;
}

.rcg2-profile-password input:focus,
.rcg2-profile-field__locked input:focus {
	border-color: var(--rcg2-accent-strong);
	outline: 2px solid rgba(var(--rcg2-accent-rgb), .2);
	outline-offset: 1px;
}

.rcg2-clock .dashicons,
.rcg2-topbar .rcg-private-clock .dashicons {
	display: grid;
	width: 30px;
	height: 30px;
	place-items: center;
	border-radius: 9px;
	background: var(--rcg2-teal-soft);
	color: var(--rcg2-teal);
	font-size: 17px;
	line-height: 30px;
}

.rcg2-sidebar-backdrop,
[data-rcg-sidebar-backdrop] {
	display: none;
}

@media (min-width: 901px) {
	.rcg2-app {
		transition: grid-template-columns .22s ease;
	}

	.rcg2-sidebar {
		transition: width .22s ease, padding .22s ease, opacity .16s ease, transform .22s ease, visibility .22s ease;
	}

	.rcg2-app.is-sidebar-collapsed,
	html.rcg-sidebar-prefers-collapsed .rcg2-app {
		grid-template-columns: 0 minmax(0, 1fr);
	}

	.rcg2-app.is-sidebar-collapsed > .rcg2-sidebar,
	html.rcg-sidebar-prefers-collapsed .rcg2-app > .rcg2-sidebar {
		width: 0;
		min-width: 0;
		padding-right: 0;
		padding-left: 0;
		overflow: hidden;
		opacity: 0;
		visibility: hidden;
		transform: translateX(-18px);
		pointer-events: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.rcg2-app,
	.rcg2-sidebar {
		transition: none !important;
	}

	.rcg2-email-settings-bell.is-ringing {
		animation: none !important;
	}
}

@media (forced-colors: active) {
	.rcg2-email-settings-bell {
		background: Canvas;
		color: CanvasText;
		box-shadow: none;
	}
}

@media (forced-colors: active) and (prefers-reduced-motion: no-preference) {
	.rcg2-email-settings-bell.is-ringing {
		animation: rcg2-email-settings-ring .52s ease-out .14s both;
	}
}

.rcg2-content {
	min-width: 0;
	max-width: 100%;
}

.rcg2-main-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	margin-top: 25px;
	padding-top: 17px;
	border-top: 1px solid var(--rcg2-border);
	color: var(--rcg2-muted);
	font-size: 10px;
}

.rcg2-ui-notice {
	margin: 18px 0 0;
	padding: 10px 14px;
	border: 0;
	border-left: 4px solid var(--rcg2-success);
	border-radius: 9px;
	background: var(--rcg2-success-soft);
	color: var(--rcg2-deep);
	box-shadow: var(--rcg2-shadow-sm);
}

.rcg2-ui-notice p {
	margin: 0;
}

/* Preference de couleur personnelle. */
.rcg2-theme-picker {
	position: relative;
}

.rcg2-theme-picker > summary::-webkit-details-marker {
	display: none;
}

.rcg2-theme-picker > summary::marker {
	display: none;
	content: "";
}

.rcg2-theme-button {
	display: inline-flex;
	min-height: 44px;
	align-items: center;
	gap: 8px;
	padding: 7px 11px 7px 8px;
	border: 1px solid var(--rcg2-border);
	border-radius: 12px;
	background: rgba(255, 255, 255, .78);
	color: var(--rcg2-deep);
	font-size: 12px;
	font-weight: 600 !important;
	list-style: none;
	cursor: pointer;
}

.rcg2-theme-button:hover,
.rcg2-theme-button:focus-visible,
.rcg2-theme-picker[open] .rcg2-theme-button {
	background: #fff;
	box-shadow: var(--rcg2-shadow-sm);
}

.rcg2-tour-button {
	text-decoration: none;
}

.rcg2-tour-button > .dashicons {
	display: inline-grid;
	width: 27px;
	height: 27px;
	place-items: center;
	border-radius: 9px;
	background: var(--rcg2-accent-soft);
	color: var(--rcg2-accent-strong);
	font-size: 17px;
	line-height: 1;
}

.rcg2-theme-button__swatch {
	display: block;
	width: 27px;
	height: 27px;
	border: 2px solid #fff;
	border-radius: 9px;
	background: var(--rcg2-accent-gradient, var(--rcg2-accent));
	box-shadow: 0 0 0 1px var(--rcg2-border);
}

.rcg2-theme-popover {
	position: absolute;
	z-index: 800;
	top: calc(100% + 10px);
	right: 0;
	width: min(330px, calc(100vw - 28px));
	padding: 16px;
	border: 1px solid var(--rcg2-border);
	border-radius: 16px;
	background: #fff;
	box-shadow: 0 18px 48px rgba(7, 40, 45, .2);
}

.rcg2-theme-popover fieldset {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 8px;
	margin: 0 0 13px;
	padding: 0;
	border: 0;
}

.rcg2-theme-popover legend {
	grid-column: 1 / -1;
	width: 100%;
	margin-bottom: 7px;
	color: var(--rcg2-deep);
	font-size: 14px;
	font-weight: 600 !important;
}

.rcg2-theme-option {
	position: relative;
	display: grid;
	min-height: 48px;
	grid-template-columns: 27px minmax(0, 1fr);
	align-items: center;
	gap: 9px;
	padding: 8px 10px;
	border: 1px solid var(--rcg2-border);
	border-radius: 11px;
	background: #fff;
	color: var(--rcg2-ink);
	font-size: 11px;
	font-weight: 500 !important;
	cursor: pointer;
}

.rcg2-theme-option:hover,
.rcg2-theme-option:focus-within,
.rcg2-theme-option:has(input:checked) {
	border-color: var(--rcg2-accent-strong);
	background: var(--rcg2-accent-soft);
}

.rcg2-theme-option:has(input:checked) {
	box-shadow: inset 0 0 0 1px var(--rcg2-accent-strong);
}

.rcg2-theme-option input {
	position: absolute;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	width: 1px;
	height: 1px;
	white-space: nowrap;
}

.rcg2-theme-option > span {
	display: block;
	width: 27px;
	height: 27px;
	border: 2px solid #fff;
	border-radius: 9px;
	box-shadow: 0 0 0 1px var(--rcg2-border);
}

.rcg2-theme-option--gold > span { background: #f3cc5d; }
.rcg2-theme-option--coral > span { background: #f08a72; }
.rcg2-theme-option--sage > span { background: #93c47d; }
.rcg2-theme-option--sky > span { background: #75b7d3; }
.rcg2-theme-option--lavender > span { background: #b49ad6; }
.rcg2-theme-option--rose > span { background: #d98ca3; }
.rcg2-theme-option--terracotta > span { background: #c9825d; }
.rcg2-theme-option--slate > span { background: #7893b8; }
.rcg2-theme-option--plum > span { background: #9f78a7; }
.rcg2-theme-option--sunset > span { background: linear-gradient(135deg, #f08a72, #f3cc5d); }
.rcg2-theme-option--lagoon > span { background: linear-gradient(135deg, #75b7d3, #93c47d); }
.rcg2-theme-option--aurora > span { background: linear-gradient(135deg, #b49ad6, #f08a72); }

.rcg2-theme-popover .button {
	display: inline-flex;
	width: 100%;
	min-height: 42px;
	align-items: center;
	justify-content: center;
	border: 1px solid var(--rcg2-deep);
	border-radius: 10px;
	background: var(--rcg2-deep);
	color: #fff;
	font: 600 12px/1.3 var(--rcg2-font);
	cursor: pointer;
}

/* Vues metier historiques ------------------------------------------------ */

.rcg2-app .rcg-wrap {
	--rcg-ink: var(--rcg2-ink);
	--rcg-deep: var(--rcg2-deep);
	--rcg-yellow: var(--rcg2-accent);
	--rcg-cream: var(--rcg2-accent-soft);
	--rcg-surface: var(--rcg2-surface);
	--rcg-muted: var(--rcg2-muted);
	--rcg-border: var(--rcg2-border);
	--rcg-success: var(--rcg2-success);
	--rcg-warning: var(--rcg2-accent-strong);
	--rcg-danger: var(--rcg2-danger);
	--rcg-focus: var(--rcg2-focus);
	--rcg-radius: var(--rcg2-radius);
	--rcg-shadow: var(--rcg2-shadow-sm);
	width: 100%;
	max-width: 1440px;
	min-width: 0;
	margin: 24px auto 0;
	color: var(--rcg2-ink);
	font: 400 14px/1.55 var(--rcg2-font);
}

.rcg-wrap > :first-child {
	margin-top: 0;
}

.rcg-wrap :where(h1, h2, h3, h4) {
	font-family: var(--rcg2-font);
	letter-spacing: -.01em;
}

/* En-tete canonique des modules prives. Toute nouvelle rubrique utilise
 * rcg-wrap + rcg2-module-hero afin d'heriter de la palette du compte. */
.rcg-wrap :is(.rcg-heading, .rcg2-module-hero) {
	position: relative;
	isolation: isolate;
	display: flex;
	min-height: 0;
	align-items: flex-start;
	justify-content: space-between;
	gap: 22px;
	margin: 0 0 22px;
	padding: clamp(20px, 2.6vw, 30px);
	border: 1px solid rgba(var(--rcg2-accent-rgb), .42);
	border-radius: var(--rcg2-radius-lg);
	background: var(--rcg2-page-header-bg, var(--rcg2-accent-soft-gradient)), var(--rcg2-surface);
	box-shadow: inset 5px 0 0 var(--rcg2-accent), var(--rcg2-shadow-sm);
	color: var(--rcg2-page-header-ink, var(--rcg2-deep));
	overflow: hidden;
}

.rcg-wrap :is(.rcg-heading, .rcg2-module-hero)::after {
	display: none;
	content: none;
}

.rcg-wrap :is(.rcg-heading, .rcg2-module-hero) > * {
	position: relative;
	z-index: 1;
}

.rcg-wrap :is(.rcg-heading, .rcg2-module-hero) h1 {
	margin: 0 0 7px;
	color: var(--rcg2-page-header-ink, var(--rcg2-deep));
	font-size: clamp(27px, 3vw, 38px);
	line-height: 1.14;
}

.rcg-wrap :is(.rcg-heading, .rcg2-module-hero) p {
	max-width: 760px;
	margin: 0;
	color: var(--rcg2-page-header-muted, var(--rcg2-muted));
}

.rcg-wrap :is(.rcg-kicker, .rcg2-module-hero__eyebrow) {
	color: var(--rcg2-accent-strong);
	font-size: 11px;
	letter-spacing: .1em;
}

.rcg-wrap .rcg2-module-hero__action {
	display: inline-flex;
	min-height: 44px;
	align-items: center;
	justify-content: center;
	padding: 9px 16px;
	border-color: transparent;
	background: var(--rcg2-accent-gradient, var(--rcg2-accent));
	color: var(--rcg2-on-accent);
	box-shadow: 0 8px 18px rgba(var(--rcg2-accent-rgb), .22);
	text-decoration: none;
}

.rcg-wrap .rcg2-module-hero__action:is(:hover, :focus-visible) {
	border-color: var(--rcg2-accent-strong);
	background: var(--rcg2-accent-strong);
	color: #fff;
}

.rcg-wrap .rcg2-module-hero--compact {
	align-items: center;
	margin-bottom: 18px;
	padding: 18px 22px;
}

.rcg-wrap .rcg2-module-hero--compact h1 {
	font-size: clamp(23px, 2.4vw, 31px);
}

.rcg-wrap :is(.rcg-card, .rcg-panel, .rcg-activity-panel, .rcg-preview, .rcg-timeline-card, .rcg-today-panel, .rcg-documents-card, .rcg-mail-prerequisites, .rcg-consultation-admin) {
	min-width: 0;
	border: 1px solid var(--rcg2-border);
	border-radius: var(--rcg2-radius);
	background: var(--rcg2-surface);
	box-shadow: var(--rcg2-shadow-sm);
}

.rcg-wrap .rcg-preview {
	background:
		radial-gradient(circle at 94% 5%, rgba(var(--rcg2-accent-rgb), .28), transparent 28%),
		linear-gradient(135deg, var(--rcg2-surface), #f6faf8);
}

.rcg-wrap .rcg-card {
	transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}

.rcg-wrap a.rcg-card:hover {
	border-color: rgba(35, 104, 97, .34);
	box-shadow: var(--rcg2-shadow);
	transform: translateY(-2px);
}

.rcg-wrap :is(.rcg-cards, .rcg-preview-grid, .rcg-quick-start-grid, .rcg-detail-grid, .rcg-editor-grid) > * {
	min-width: 0;
}

.rcg-wrap :where(.button, button:not(.handlediv):not(.toggle-row)) {
	min-height: 42px;
	padding: 8px 14px;
	border: 1px solid var(--rcg2-deep);
	border-radius: var(--rcg2-radius-sm);
	background: #fff;
	color: var(--rcg2-deep);
	font-size: 13px;
	line-height: 1.3;
	text-decoration: none;
	box-shadow: none;
}

.rcg-wrap :where(.button, button):hover {
	border-color: var(--rcg2-teal);
	background: var(--rcg2-teal-soft);
	color: var(--rcg2-deep);
}

.rcg-wrap :where(.button-primary, .rcg-access-button, button[type="submit"]:not(.button-link)) {
	border-color: var(--rcg2-deep);
	background: var(--rcg2-deep);
	color: #fff;
	box-shadow: 0 7px 15px rgba(17, 59, 66, .14);
}

.rcg-wrap :where(.button-primary, .rcg-access-button, button[type="submit"]:not(.button-link)):hover {
	border-color: var(--rcg2-teal);
	background: var(--rcg2-teal);
	color: #fff;
}

.rcg-wrap :where(input[type="text"], input[type="email"], input[type="url"], input[type="date"], input[type="time"], input[type="number"], input[type="search"], select, textarea) {
	max-width: 100%;
	min-height: 44px;
	padding: 9px 11px;
	border: 1px solid #bdcbc6;
	border-radius: 10px;
	background: #fff;
	color: var(--rcg2-ink);
	font-size: 14px;
	line-height: 1.45;
	box-shadow: none;
}

.rcg-wrap :where(input, select, textarea):focus {
	border-color: var(--rcg2-teal);
	box-shadow: 0 0 0 4px rgba(35, 104, 97, .1);
	outline: 0;
}

.rcg-wrap input[type="checkbox"],
.rcg-wrap input[type="radio"] {
	accent-color: var(--rcg2-teal);
}

.rcg-wrap :is(.rcg-table-wrap, .rcg-stat-table-wrap, .rcg-calendar-scroll) {
	max-width: 100%;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

.rcg-wrap :is(.widefat, .rcg-table, .rcg-stat-table) {
	width: 100%;
	border: 0;
	border-spacing: 0;
	border-collapse: separate;
	background: var(--rcg2-surface-strong);
	color: var(--rcg2-ink);
}

.rcg-wrap :is(.widefat, .rcg-table, .rcg-stat-table) :is(th, td) {
	padding: 12px;
	border-bottom: 1px solid var(--rcg2-border);
	text-align: left;
	vertical-align: middle;
}

.rcg-wrap :is(.widefat, .rcg-table, .rcg-stat-table) th {
	color: var(--rcg2-deep);
	font-size: 12px;
}

.rcg-wrap .striped tbody tr:nth-child(odd) {
	background: #f7f9f7;
}

.rcg-wrap .notice {
	margin: 14px 0;
	padding: 11px 15px;
	border: 0;
	border-left: 4px solid var(--rcg2-teal);
	border-radius: 9px;
	background: #fff;
	box-shadow: var(--rcg2-shadow-sm);
}

.rcg-wrap .notice-success { border-left-color: var(--rcg2-success); }
.rcg-wrap .notice-warning { border-left-color: var(--rcg2-warning); }
.rcg-wrap .notice-error { border-left-color: var(--rcg2-danger); }

.rcg-wrap :is(.rcg-status, .rcg-approval-badge, .rcg-site-alert-badge) {
	border-radius: 999px;
	font-size: 10px;
	font-weight: 600 !important;
	letter-spacing: .02em;
}

.rcg-wrap .rcg-site-alert {
	border-color: rgba(var(--rcg2-accent-rgb), .48);
	background:
		radial-gradient(circle at 100% 0, rgba(var(--rcg2-accent-rgb), .16), transparent 38%),
		var(--rcg2-surface);
}

.rcg-wrap .rcg-site-alert-summary-preview,
.rcg-wrap .rcg-site-alert-preview {
	border-color: rgba(var(--rcg2-accent-rgb), .42);
	background: var(--rcg2-accent-soft);
}

.rcg-wrap .rcg-site-alert-toggle input:checked + .rcg-site-alert-toggle-track {
	background: var(--rcg2-teal);
}

.rcg-wrap .rcg-site-alert-ai-planned {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 14px;
	margin-top: 12px;
	padding: 11px 12px;
	border: 1px solid rgba(var(--rcg2-accent-rgb), .48);
	border-radius: 12px;
	background: var(--rcg2-accent-soft);
}

.rcg-wrap .rcg-site-alert-ai-planned .button[disabled] {
	flex: 0 0 auto;
	border-color: rgba(var(--rcg2-accent-rgb), .7);
	background: rgba(255, 255, 255, .7);
	color: var(--rcg2-accent-strong);
	opacity: 1;
	cursor: not-allowed;
}

.rcg-wrap .rcg-site-alert-ai-planned small {
	min-width: min(100%, 260px);
	flex: 1 1 260px;
	color: var(--rcg2-muted);
	font-size: 10px;
	line-height: 1.45;
}

.rcg-wrap .rcg-site-alert-ai-planned .rcg-writing-feedback {
	width: 100%;
	color: var(--rcg2-success);
	font-size: 11px;
	line-height: 1.45;
}

.rcg-wrap .rcg-site-alert-ai-planned .rcg-writing-feedback:empty {
	display: none;
}

.rcg-wrap .rcg-site-alert-ai-planned .rcg-writing-feedback.is-error {
	color: var(--rcg2-danger);
}

.rcg-wrap :is(.rcg-content-row, .rcg-request-row, .rcg-activity-item, .rcg-notification, .rcg-approval-item, .rcg-calendar-item, .rcg-timeline-item) {
	min-width: 0;
	border-color: var(--rcg2-border);
}

.rcg-wrap :where(p, td, th, a, span, small, strong, label) {
	overflow-wrap: anywhere;
}

/* Connexion -------------------------------------------------------------- */

.rcg2-login-page,
body.rcg-access-page {
	margin: 0;
	background: var(--rcg2-canvas);
	color: var(--rcg2-ink);
}

.rcg2-login-layout {
	display: grid;
	min-width: 0;
	min-height: 100vh;
	grid-template-columns: minmax(0, 1.2fr) minmax(430px, .8fr);
	background: var(--rcg2-canvas);
}

.rcg-login-slideshow,
.rcg2-login-visual {
	position: relative;
	min-width: 0;
	min-height: 650px;
	overflow: hidden;
	background: var(--rcg2-deeper);
	color: #fff;
	isolation: isolate;
}

.rcg-login-slideshow::before,
.rcg-login-slideshow::after,
.rcg2-login-visual::before,
.rcg2-login-visual::after {
	position: absolute;
	z-index: 2;
	inset: 0;
	pointer-events: none;
	content: "";
}

.rcg-login-slideshow::before,
.rcg2-login-visual::before {
	background:
		linear-gradient(90deg, rgba(6, 38, 43, .78) 0%, rgba(6, 38, 43, .2) 70%, rgba(6, 38, 43, .06) 100%),
		linear-gradient(0deg, rgba(5, 32, 36, .76) 0%, transparent 53%);
}

.rcg-login-slideshow::after,
.rcg2-login-visual::after {
	box-shadow: inset -36px 0 70px -65px rgba(0, 0, 0, .8);
}

.rcg-login-slides,
[data-rcg-login-slides],
.rcg2-login-slides,
.rcg-login-slide,
[data-rcg-login-slide],
.rcg-login-slide picture,
[data-rcg-login-slide] picture,
.rcg-login-slide img,
[data-rcg-login-slide] img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

.rcg-login-slide,
[data-rcg-login-slide] {
	margin: 0;
	opacity: 0;
	visibility: hidden;
	transition: opacity 1.25s ease, visibility 1.25s ease;
}

.rcg-login-slide.is-active,
[data-rcg-login-slide].is-active {
	opacity: 1;
	visibility: visible;
}

.rcg-login-slide img,
[data-rcg-login-slide] img {
	display: block;
	object-fit: cover;
	object-position: center;
	transform: scale(1.015);
	transition: transform 12s linear;
}

.rcg-login-slide.is-active img,
[data-rcg-login-slide].is-active img {
	transform: scale(1.07);
}

.rcg-login-slide figcaption,
[data-rcg-login-slide] figcaption {
	position: absolute;
	z-index: 5;
	right: 24px;
	bottom: 20px;
	max-width: 48%;
	color: rgba(255, 255, 255, .72);
	font-size: 10px;
	text-align: right;
	text-shadow: 0 1px 2px rgba(0, 0, 0, .55);
}

.rcg-login-brand,
.rcg-login-copy,
.rcg-login-controls,
.rcg2-login-visual__brand,
.rcg2-login-visual__content,
.rcg2-login-controls {
	position: absolute;
	z-index: 5;
}

.rcg-login-brand,
.rcg2-login-visual__brand {
	top: 36px;
	left: clamp(28px, 5vw, 70px);
	display: flex;
	align-items: center;
	gap: 13px;
}

.rcg-login-brand img,
.rcg-login-brand .rcg-private-logo,
.rcg2-login-visual__brand .rcg-private-logo {
	display: block;
	width: 76px;
	height: 76px;
	padding: 3px;
	border: 1px solid rgba(255, 255, 255, .5);
	border-radius: 18px;
	background: #fff;
	box-shadow: 0 12px 28px rgba(0, 0, 0, .22);
	object-fit: contain;
}

.rcg2-login-visual__brand .rcg-private-logo img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
	transform: none;
}

.rcg-login-brand__copy,
.rcg2-login-visual__brand-copy {
	display: grid;
}

.rcg-login-brand__copy strong,
.rcg2-login-visual__brand-copy strong {
	color: #fff;
	font-size: 21px;
}

.rcg-login-brand__copy small,
.rcg2-login-visual__brand-copy span {
	color: rgba(255, 255, 255, .72);
	font-size: 10px;
	font-weight: 600 !important;
	letter-spacing: .11em;
	text-transform: uppercase;
}

.rcg-login-copy,
.rcg2-login-visual__content {
	right: 38px;
	bottom: 92px;
	left: clamp(28px, 5vw, 70px);
	max-width: 590px;
}

.rcg-login-copy__kicker,
.rcg2-login-visual__kicker {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 13px;
	color: var(--rcg2-accent);
	font-size: 10px;
	font-weight: 600 !important;
	letter-spacing: .12em;
	text-transform: uppercase;
}

.rcg-login-copy__kicker::before,
.rcg2-login-visual__kicker::before {
	width: 26px;
	height: 2px;
	background: var(--rcg2-accent);
	content: "";
}

.rcg-login-copy h1,
.rcg2-login-visual__content h1,
.rcg2-login-visual__headline {
	margin: 0;
	color: #fff;
	font-size: clamp(36px, 4.2vw, 62px);
	font-weight: 600 !important;
	letter-spacing: -.01em;
	line-height: 1.12;
}

.rcg-login-copy > p:last-child,
.rcg2-login-visual__content > p:last-child {
	max-width: 480px;
	margin: 18px 0 0;
	color: rgba(255, 255, 255, .78);
	font-size: 13px;
}

.rcg-login-controls,
.rcg2-login-controls {
	bottom: 22px;
	left: clamp(28px, 5vw, 70px);
	display: flex;
	align-items: center;
	gap: 8px;
}

.rcg-login-control,
.rcg2-login-control,
[data-rcg-login-prev],
[data-rcg-login-next],
[data-rcg-login-pause] {
	display: grid;
	width: 38px;
	height: 38px;
	place-items: center;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, .4);
	border-radius: 50%;
	background: rgba(6, 38, 43, .42);
	color: #fff;
	cursor: pointer;
	backdrop-filter: blur(8px);
}

.rcg-login-control:hover,
.rcg2-login-control:hover,
[data-rcg-login-prev]:hover,
[data-rcg-login-next]:hover,
[data-rcg-login-pause]:hover {
	background: rgba(255, 255, 255, .16);
}

.rcg-login-dots,
.rcg2-login-dots {
	display: flex;
	align-items: center;
	gap: 5px;
	margin: 0 4px;
}

.rcg-login-dot,
.rcg2-login-dot,
[data-rcg-login-dot] {
	position: relative;
	width: 26px;
	height: 26px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	cursor: pointer;
}

.rcg-login-dot::before,
.rcg2-login-dot::before,
[data-rcg-login-dot]::before {
	position: absolute;
	inset: 9px;
	border-radius: 999px;
	background: rgba(255, 255, 255, .68);
	content: "";
	transition: background-color .2s ease, transform .2s ease;
}

.rcg-login-dot.is-active::before,
.rcg2-login-dot.is-active::before,
[data-rcg-login-dot].is-active::before {
	background: var(--rcg2-accent);
	transform: scale(1.55);
}

.rcg-login-static-note,
.rcg2-login-static-note {
	display: none;
	color: rgba(255, 255, 255, .76);
	font-size: 10px;
}

.rcg-login-slideshow.is-static :is(.rcg-login-control, .rcg-login-dots),
[data-rcg-login-slideshow].is-static :is(.rcg-login-control, .rcg2-login-control, .rcg-login-dots, .rcg2-login-dots, [data-rcg-login-prev], [data-rcg-login-next], [data-rcg-login-pause]) {
	display: none;
}

.rcg-login-slideshow.is-static .rcg-login-static-note,
[data-rcg-login-slideshow].is-static :is(.rcg-login-static-note, .rcg2-login-static-note) {
	display: inline-flex;
}

.rcg2-login-panel {
	position: relative;
	display: grid;
	min-width: 0;
	place-items: center;
	padding: clamp(34px, 5vw, 72px);
	background:
		radial-gradient(circle at 100% 0, rgba(var(--rcg2-accent-rgb), .16), transparent 31%),
		var(--rcg2-surface);
}

.rcg2-login-panel__content {
	width: min(100%, 410px);
}

.rcg2-login-panel__footer {
	position: absolute;
	right: clamp(24px, 4vw, 70px);
	bottom: 20px;
	left: clamp(24px, 4vw, 70px);
	display: flex;
	justify-content: space-between;
	gap: 14px;
	color: var(--rcg2-muted);
	font-size: 9px;
}

.rcg2-login-panel__footer a {
	color: var(--rcg2-muted);
	font-weight: 500 !important;
	text-underline-offset: 3px;
}

.rcg2-login-panel .rcg-access-shell {
	display: grid;
	width: 100%;
	min-height: 0;
	place-items: center;
	padding: 0;
}

.rcg2-login-panel .rcg-access-card,
.rcg2-login-card {
	width: min(100%, 410px);
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
}

.rcg2-login-panel .rcg-access-card h1,
.rcg2-login-card h1,
.rcg2-login-card h2 {
	margin: 0 0 12px;
	color: var(--rcg2-deep);
	font-size: clamp(32px, 4vw, 43px);
	font-weight: 600 !important;
	line-height: 1.16;
}

.rcg2-login-panel :is(.rcg-access-eyebrow, .rcg-login-secure, .rcg2-login-secure) {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	margin: 0 0 28px !important;
	padding: 7px 10px;
	border: 1px solid rgba(35, 104, 97, .18);
	border-radius: 999px;
	background: var(--rcg2-teal-soft);
	color: var(--rcg2-teal);
	font-size: 9px;
	font-weight: 600 !important;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.rcg2-login-panel .rcg-access-icon {
	display: none;
}

.rcg2-login-panel .rcg-access-form {
	display: grid;
	gap: 10px;
	margin-top: 25px;
}

.rcg2-login-panel .rcg-access-form label {
	color: var(--rcg2-deep);
	font-size: 11px;
}

.rcg2-login-panel .rcg-access-form input {
	width: 100%;
	min-height: 52px;
	margin-bottom: 8px;
	padding: 12px 14px;
	border: 1px solid #bdcbc6;
	border-radius: 11px;
	background: #fff;
	color: var(--rcg2-ink);
	font: 400 14px/1.4 var(--rcg2-font);
}

.rcg2-login-panel .rcg-access-form input:focus {
	border-color: #443899;
	box-shadow: 0 0 0 4px rgba(97, 86, 216, .12) !important;
	outline: 0;
}

.rcg2-login-panel .rcg-access-button {
	display: inline-flex;
	width: 100%;
	min-height: 53px;
	align-items: center;
	justify-content: center;
	margin-top: 6px;
	padding: 11px 18px;
	border: 0;
	border-radius: 11px;
	background: #6156d8;
	color: #fff;
	font-size: 13px;
	font-weight: 600 !important;
	text-decoration: none;
	box-shadow: 0 9px 20px rgba(97, 86, 216, .18);
}

.rcg2-login-panel .rcg-access-button:hover {
	background: #443899;
	color: #fff;
}

.rcg2-login-panel .rcg-access-secondary {
	color: var(--rcg2-muted);
	font-size: 11px;
}

.rcg2-login-panel .rcg-access-secondary a {
	color: var(--rcg2-teal);
	font-weight: 600 !important;
	text-underline-offset: 3px;
}

.rcg2-login-panel .rcg-access-alert {
	border-left: 4px solid var(--rcg2-danger);
	border-radius: 9px;
	background: var(--rcg2-danger-soft);
	color: #762a2a;
}

/* Responsive ------------------------------------------------------------- */

@media (max-width: 1080px) {
	.rcg2-app {
		grid-template-columns: 220px minmax(0, 1fr);
	}

	.rcg2-app .rcg2-topbar .rcg2-notification-button {
		display: inline-grid;
	}

	.rcg2-topbar .rcg2-profile__copy {
		display: none;
	}

	.rcg2-profile__chevron {
		display: none;
	}

	.rcg2-sidebar {
		width: 220px;
		padding-right: 13px;
		padding-left: 13px;
	}

	.rcg2-main {
		padding-right: 24px;
		padding-left: 24px;
	}

	.rcg2-login-layout {
		grid-template-columns: minmax(0, 1fr) minmax(410px, .82fr);
	}
}

@media (max-width: 900px) {
	.rcg2-app {
		display: block;
	}

	.rcg2-sidebar {
		position: fixed;
		z-index: 1200;
		top: 0;
		bottom: 0;
		left: 0;
		width: min(310px, 88vw);
		height: auto;
		min-height: 0;
		visibility: hidden;
		box-shadow: 18px 0 55px rgba(4, 34, 39, .3);
		transform: translateX(-106%);
		transition: transform .24s ease, visibility .24s ease;
	}

	.rcg2-sidebar.is-open,
	.rcg2-app.is-sidebar-open .rcg2-sidebar {
		visibility: visible;
		transform: translateX(0);
	}

	.rcg2-sidebar__close,
	.rcg2-menu-button,
	[data-rcg-sidebar-open] {
		display: inline-grid !important;
	}

	.rcg2-sidebar-backdrop:not([hidden]),
	[data-rcg-sidebar-backdrop]:not([hidden]) {
		position: fixed;
		z-index: 1150;
		inset: 0;
		display: block;
		border: 0;
		background: rgba(5, 33, 38, .5);
	}

	body.rcg-sidebar-is-open {
		overflow: hidden;
	}

	.rcg2-login-layout {
		grid-template-columns: minmax(0, .85fr) minmax(390px, 1fr);
	}
}

@media (max-width: 700px) {
	.rcg2-main {
		padding: 0 14px 26px;
	}

	.rcg2-topbar {
		min-height: 84px;
		gap: 10px;
	}

	.rcg2-topbar__actions {
		gap: 6px;
	}

	.rcg2-topbar__left {
		flex: 1 1 auto;
	}

	.rcg2-theme-button {
		width: 42px;
		justify-content: center;
		padding: 6px;
	}

	.rcg2-theme-button > span:last-child {
		display: none;
	}

	.rcg2-topbar h1,
	.rcg2-topbar__title {
		font-size: clamp(22px, 7vw, 28px);
	}

	.rcg2-profile__copy,
	.rcg2-topbar .rcg-private-user-name,
	.rcg2-topbar .rcg-private-toolbar-separator {
		display: none;
	}

	.rcg2-clock,
	.rcg2-topbar .rcg-private-clock {
		min-height: 42px;
		padding: 5px 8px;
	}

	.rcg2-clock .dashicons,
	.rcg2-topbar .rcg-private-clock .dashicons {
		display: none;
	}

	.rcg-wrap {
		margin-top: 18px;
		font-size: 14px;
	}

	.rcg-wrap :is(.rcg-heading, .rcg2-module-hero) {
		align-items: stretch;
		flex-direction: column;
		gap: 16px;
		padding: 20px 17px;
		border-radius: 17px;
	}

	.rcg-wrap .rcg-actions {
		justify-content: flex-start;
	}

	.rcg-wrap :is(.rcg-cards, .rcg-preview-grid, .rcg-quick-start-grid, .rcg-detail-grid, .rcg-editor-grid) {
		grid-template-columns: minmax(0, 1fr) !important;
	}

	.rcg-wrap :is(.rcg-panel, .rcg-activity-panel, .rcg-preview, .rcg-timeline-card, .rcg-today-panel, .rcg-documents-card) {
		padding: 17px 14px;
		border-radius: 17px;
	}

	.rcg-wrap .rcg-panel.rcg-site-alert,
	.rcg-wrap .rcg-panel.rcg-quick-start,
	.rcg-wrap .rcg-panel.rcg-opening-history {
		padding: 0;
	}

	.rcg-wrap .rcg-site-alert-ai-planned {
		align-items: stretch;
		flex-direction: column;
	}

	.rcg-wrap .rcg-site-alert-ai-planned .button[disabled] {
		width: 100%;
	}

	.rcg-wrap :is(.rcg-table-wrap, .rcg-stat-table-wrap) {
		margin-right: -4px;
		margin-left: -4px;
		padding: 0 4px 5px;
	}

	.rcg-wrap :is(.widefat, .rcg-table, .rcg-stat-table) {
		min-width: 640px;
	}

	.rcg-wrap .rcg-priority-requests .rcg-table {
		width: 100%;
		min-width: 0;
	}

	.rcg-wrap .rcg-calendar-scroll :is(.widefat, table) {
		min-width: 720px;
	}

	.rcg2-login-layout {
		min-height: 100vh;
		grid-template-columns: minmax(0, 1fr);
	}

	.rcg-login-slideshow,
	.rcg2-login-visual {
		min-height: 250px;
		max-height: 34vh;
	}

	.rcg-login-slideshow::before,
	.rcg2-login-visual::before {
		background:
			linear-gradient(0deg, rgba(6, 38, 43, .73) 0%, rgba(6, 38, 43, .1) 72%),
			linear-gradient(90deg, rgba(6, 38, 43, .32), transparent);
	}

	.rcg-login-brand,
	.rcg2-login-visual__brand {
		top: 18px;
		left: 18px;
	}

	.rcg-login-brand img,
	.rcg-login-brand .rcg-private-logo,
	.rcg2-login-visual__brand .rcg-private-logo {
		width: 58px;
		height: 58px;
		border-radius: 14px;
	}

	.rcg-login-brand__copy strong,
	.rcg2-login-visual__brand-copy strong {
		font-size: 18px;
	}

	.rcg-login-copy,
	.rcg2-login-visual__content {
		right: 18px;
		bottom: 22px;
		left: 18px;
	}

	.rcg-login-copy h1,
	.rcg2-login-visual__content h1,
	.rcg2-login-visual__headline {
		font-size: clamp(25px, 7.2vw, 31px);
	}

	.rcg-login-copy > p:last-child,
	.rcg-login-copy__kicker,
	.rcg2-login-visual__content > p:last-child,
	.rcg2-login-visual__kicker,
	.rcg-login-slide figcaption,
	[data-rcg-login-slide] figcaption {
		display: none;
	}

	.rcg-login-controls,
	.rcg2-login-controls {
		right: 17px;
		bottom: 17px;
		left: auto;
	}

	.rcg-login-controls .rcg-login-dots,
	.rcg2-login-controls .rcg2-login-dots {
		display: none;
	}

	.rcg2-login-panel {
		place-items: start center;
		padding: 34px 20px 78px;
	}

	.rcg2-login-panel__footer {
		right: 20px;
		bottom: 18px;
		left: 20px;
	}

	.rcg2-main-footer {
		align-items: flex-start;
		flex-direction: column;
	}

	.rcg2-login-panel .rcg-access-card h1,
	.rcg2-login-card h1,
	.rcg2-login-card h2 {
		font-size: clamp(29px, 9vw, 38px);
	}
}

@media (max-width: 430px) {
	.rcg2-main {
		padding-right: 12px;
		padding-left: 12px;
	}

	.rcg2-topbar {
		min-height: 78px;
	}

	.rcg2-topbar h1,
	.rcg2-topbar__title {
		font-size: 21px;
	}

	.rcg2-topbar__copy p,
	.rcg2-eyebrow {
		display: none;
	}

	.rcg2-topbar .rcg2-clock,
	.rcg2-topbar .rcg-private-clock {
		display: none;
	}

	.rcg2-profile {
		display: inline-flex;
		min-height: 42px;
		padding: 4px;
	}

	.rcg2-profile__avatar {
		width: 32px;
		height: 32px;
		flex-basis: 32px;
	}

	.rcg2-profile-panel .rcg2-eyebrow {
		display: block;
	}

	.rcg2-profile-avatar-options {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.rcg2-profile-crop-dialog__inner {
		padding: 14px;
	}

	.rcg2-profile-crop-actions {
		display: grid;
		grid-template-columns: 1fr;
	}

	.rcg2-profile-crop-actions .rcg2-button {
		width: 100%;
	}

	.rcg2-clock__copy small,
	.rcg2-topbar .rcg-private-clock small {
		display: none;
	}

	.rcg-wrap :is(.rcg-heading, .rcg2-module-hero) h1 {
		font-size: 28px;
	}

	.rcg-wrap .rcg2-module-hero__action {
		width: 100%;
	}

	.rcg-wrap .rcg-actions > *,
	.rcg-wrap .rcg-actions form,
	.rcg-wrap .rcg-actions .button {
		width: 100%;
	}

	.rcg-wrap .rcg-actions .button {
		justify-content: center;
	}

	.rcg-login-brand__copy small,
	.rcg2-login-visual__brand-copy span {
		display: none;
	}

	.rcg-login-copy,
	.rcg2-login-visual__content {
		right: 84px;
	}

	.rcg-login-copy h1,
	.rcg2-login-visual__content h1,
	.rcg2-login-visual__headline {
		font-size: 24px;
	}

	.rcg2-login-panel {
		padding-right: 17px;
		padding-left: 17px;
	}

	.rcg2-login-panel__footer {
		align-items: center;
		flex-direction: column;
		gap: 5px;
		text-align: center;
	}

	.rcg2-theme-popover {
		position: fixed;
		top: 70px;
		right: 12px;
		left: 12px;
		width: auto;
	}
}

@media (prefers-reduced-motion: reduce) {
	.rcg2-app *,
	.rcg2-app *::before,
	.rcg2-app *::after,
	.rcg2-login-layout *,
	.rcg2-login-layout *::before,
	.rcg2-login-layout *::after {
		scroll-behavior: auto !important;
		transition-duration: .001ms !important;
		animation-duration: .001ms !important;
		animation-iteration-count: 1 !important;
	}

	.rcg-login-slide img,
	[data-rcg-login-slide] img {
		transform: none !important;
	}
}

@media (forced-colors: active) {
	.rcg2-nav :is(a, button).is-active,
	.rcg2-nav :is(a, button)[aria-current="page"],
	.rcg-login-dot.is-active,
	[data-rcg-login-dot].is-active {
		outline: 2px solid currentColor;
	}
}

/* Contrat visuel du tableau de bord 0.12 ------------------------------- */

.rcg2-app .screen-reader-text {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	margin: -1px !important;
	padding: 0 !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	clip-path: inset(50%) !important;
	border: 0 !important;
	white-space: nowrap !important;
}

.rcg2-app .screen-reader-text:focus {
	z-index: 3000;
	top: 12px;
	left: 12px;
	width: auto !important;
	height: auto !important;
	margin: 0 !important;
	padding: 10px 14px !important;
	overflow: visible !important;
	clip: auto !important;
	clip-path: none !important;
	border-radius: 9px;
	background: #fff;
	color: var(--rcg2-deep);
	white-space: normal !important;
}

/* Compatibilite chromatique des composants historiques de l'accueil. */
.rcg2-app .rcg-wrap {
	--rcg-yellow: var(--rcg2-accent);
	--rcg-cream: var(--rcg2-accent-soft);
	--rcg-warning: var(--rcg2-accent-strong);
}

.rcg2-app .rcg-wrap :is(
	.rcg-card > .dashicons,
	.rcg-quick-start > summary > .dashicons,
	.rcg-documents-card > .dashicons,
	.rcg-editor-heading > .dashicons,
	.rcg-reply-heading > .dashicons
) {
	background: rgba(var(--rcg2-accent-rgb), .38);
	color: var(--rcg2-deep);
}

.rcg2-app .rcg-wrap :is(
	.rcg-activity-item.is-new,
	.rcg-notification.is-unread,
	.rcg-content-row.is-current
) {
	background: rgba(var(--rcg2-accent-rgb), .15);
}

.rcg2-app .rcg-wrap .rcg-activity-item.is-new {
	background: rgba(var(--rcg2-accent-rgb), .26);
	box-shadow: inset 4px 0 0 var(--rcg2-accent-strong);
}

.rcg2-app .rcg-activity-summary-icon {
	color: var(--rcg2-accent-strong);
}

.rcg2-app .rcg-activity-new {
	background: var(--rcg2-accent-strong);
	color: #fff;
}

.rcg2-app .rcg-activity-summary-toggle {
	border-color: var(--rcg2-border);
	color: var(--rcg2-deep);
}

.rcg2-app .rcg-wrap :is(.rcg-quick-start-note, .rcg-editor-info) {
	background: rgba(var(--rcg2-accent-rgb), .14);
}

.rcg2-app .rcg2-section-heading,
.rcg2-app .rcg2-panel__heading {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 20px;
}

.rcg2-app .rcg2-section-heading {
	margin-bottom: 14px;
}

.rcg2-app .rcg2-section-heading h2,
.rcg2-app .rcg2-panel__heading h2,
.rcg2-app .rcg2-priority h2,
.rcg2-app .rcg2-dialog h2 {
	margin: 0;
	color: var(--rcg2-deep);
	font-family: var(--rcg2-font);
	font-weight: 600;
}

.rcg2-app .rcg2-section-heading h2 {
	font-size: clamp(22px, 2.3vw, 28px);
	line-height: 1.15;
}

.rcg2-app .rcg2-section-heading__hint {
	max-width: 290px;
	margin: 0 0 2px;
	color: var(--rcg2-muted);
	font-size: 11px;
	text-align: right;
}

.rcg2-app .rcg2-panel {
	position: relative;
	min-width: 0;
	padding: 20px;
	border: 1px solid var(--rcg2-border);
	border-radius: var(--rcg2-radius-lg);
	background: var(--rcg2-surface);
	box-shadow: var(--rcg2-shadow-sm);
}

.rcg2-app .rcg2-panel__heading {
	align-items: center;
	margin-bottom: 16px;
}

.rcg2-app .rcg2-panel__heading h2 {
	font-size: 21px;
	line-height: 1.2;
}

.rcg2-app :is(.rcg2-button, .rcg2-dialog .button) {
	display: inline-flex;
	min-width: 0;
	min-height: 42px;
	align-items: center;
	justify-content: center;
	padding: 9px 15px;
	border: 1px solid transparent;
	border-radius: 10px;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.3;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
}

.rcg2-app :is(.rcg2-button--primary, .rcg2-dialog .button-primary) {
	border-color: var(--rcg2-deep);
	background: var(--rcg2-deep);
	color: #fff;
}

.rcg2-app :is(.rcg2-button--primary, .rcg2-dialog .button-primary):hover {
	border-color: var(--rcg2-teal);
	background: var(--rcg2-teal);
	color: #fff;
}

.rcg2-app :is(.rcg2-button--ghost, .rcg2-dialog .button:not(.button-primary)) {
	border-color: var(--rcg2-border);
	background: #fff;
	color: var(--rcg2-deep);
}

.rcg2-app :is(.rcg2-button--ghost, .rcg2-dialog .button:not(.button-primary)):hover {
	border-color: var(--rcg2-teal);
	background: var(--rcg2-teal-soft);
}

.rcg2-app .rcg2-button--soft {
	border-color: rgba(var(--rcg2-accent-rgb), .58);
	background: var(--rcg2-accent-soft);
	color: var(--rcg2-accent-strong);
}

.rcg2-app .rcg2-button--full {
	width: 100%;
}

.rcg2-app .rcg2-priority {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	align-items: center;
	gap: 18px;
	margin: 25px 0 29px;
	padding: 20px 21px;
	border: 1px solid rgba(var(--rcg2-accent-rgb), .55);
	border-radius: var(--rcg2-radius);
	background:
		linear-gradient(120deg, rgba(var(--rcg2-accent-rgb), .19), transparent 48%),
		var(--rcg2-surface);
	box-shadow: var(--rcg2-shadow-sm);
}

.rcg2-app .rcg2-priority__symbol {
	display: grid;
	width: 46px;
	height: 46px;
	place-items: center;
	border-radius: 13px;
	background: var(--rcg2-accent);
	color: var(--rcg2-on-accent);
	font-size: 25px;
	font-weight: 600;
}

.rcg2-app .rcg2-priority__copy {
	min-width: 0;
}

.rcg2-app .rcg2-priority__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 11px;
	margin-bottom: 3px;
	color: var(--rcg2-accent-strong);
	font-size: 10px;
	font-weight: 600;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.rcg2-app .rcg2-priority__meta span {
	display: inline-flex;
	align-items: center;
}

.rcg2-app .rcg2-priority__meta :is(time, span:last-child) {
	padding: 2px 7px;
	border-radius: 999px;
	background: rgba(var(--rcg2-accent-rgb), .2);
	letter-spacing: .02em;
}

.rcg2-app .rcg2-priority h2 {
	font-size: clamp(18px, 2vw, 22px);
	line-height: 1.2;
}

.rcg2-app .rcg2-priority p {
	margin: 4px 0 0;
	color: var(--rcg2-muted);
	font-size: 12px;
}

.rcg2-app .rcg2-priority__latest {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.rcg2-app .rcg2-priority__actions {
	display: flex;
	align-items: center;
	gap: 8px;
}

.rcg2-app .rcg2-priority.has-work {
	border-color: rgba(var(--rcg2-accent-rgb), .55);
}

.rcg2-app .rcg2-priority.is-clear {
	border-color: rgba(37, 112, 78, .34);
	background:
		linear-gradient(120deg, rgba(224, 242, 232, .78), transparent 48%),
		var(--rcg2-surface);
}

.rcg2-app .rcg2-priority.is-clear .rcg2-priority__symbol {
	background: var(--rcg2-success-soft);
	color: var(--rcg2-success);
}

.rcg2-app .rcg2-priority.is-clear .rcg2-priority__meta {
	color: var(--rcg2-success);
}

.rcg2-app .rcg2-priority.is-clear .rcg2-priority__meta :is(time, span:last-child) {
	background: var(--rcg2-success-soft);
}

.rcg2-app .rcg2-quick-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 12px;
}

.rcg2-app .rcg2-quick-grid:where(.has-many) {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.rcg2-app .rcg2-quick-card {
	--rcg2-card-tint: rgba(var(--rcg2-accent-rgb), .2);
	position: relative;
	display: grid;
	width: 100%;
	max-width: 100%;
	min-width: 0;
	min-height: 106px;
	grid-template-columns: 39px minmax(0, 1fr) auto;
	align-items: center;
	gap: 11px;
	padding: 16px;
	overflow: hidden;
	border: 1px solid var(--rcg2-border);
	border-radius: var(--rcg2-radius);
	background: var(--rcg2-surface);
	color: var(--rcg2-ink);
	box-shadow: var(--rcg2-shadow-sm);
	font: inherit;
	cursor: pointer;
	text-align: left;
	transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}

.rcg2-app .rcg2-quick-card--document { --rcg2-card-tint: rgba(var(--rcg2-accent-rgb), .18); }
.rcg2-app .rcg2-quick-card--alert { --rcg2-card-tint: rgba(var(--rcg2-accent-rgb), .27); }
.rcg2-app .rcg2-quick-card--article { --rcg2-card-tint: rgba(var(--rcg2-accent-rgb), .13); }
.rcg2-app .rcg2-quick-card--event { --rcg2-card-tint: rgba(var(--rcg2-accent-rgb), .22); }

.rcg2-app .rcg2-quick-card::after {
	position: absolute;
	right: -20px;
	bottom: -34px;
	width: 92px;
	height: 92px;
	border-radius: 50%;
	background: var(--rcg2-card-tint);
	content: "";
	opacity: .6;
}

.rcg2-app .rcg2-quick-card:hover {
	border-color: rgba(var(--rcg2-accent-rgb), .62);
	box-shadow: var(--rcg2-shadow);
	transform: translateY(-2px);
}

.rcg2-app .rcg2-quick-card__icon {
	position: relative;
	z-index: 1;
	display: grid;
	width: 39px;
	height: 39px;
	place-items: center;
	border-radius: 11px;
	background: var(--rcg2-card-tint);
	color: var(--rcg2-accent-strong);
	font-size: 20px;
	font-weight: 600;
}

.rcg2-app .rcg2-quick-card__copy {
	position: relative;
	z-index: 1;
	display: grid;
	min-width: 0;
	gap: 4px;
}

.rcg2-app .rcg2-quick-card__copy strong {
	color: var(--rcg2-deep);
	font-size: 13px;
	line-height: 1.25;
}

.rcg2-app .rcg2-quick-card__copy small {
	color: var(--rcg2-muted);
	font-size: 10px;
	line-height: 1.35;
}

.rcg2-app .rcg2-quick-card__arrow {
	position: relative;
	z-index: 1;
	color: var(--rcg2-accent-strong);
	font-size: 19px;
}

.rcg2-app .rcg2-ai-chip,
.rcg2-app .rcg2-badge {
	display: inline-flex;
	width: max-content;
	max-width: 100%;
	align-items: center;
	padding: 3px 7px;
	border-radius: 999px;
	background: var(--rcg2-accent-soft);
	color: var(--rcg2-accent-strong);
	font-size: 8px;
	font-weight: 600;
	letter-spacing: .035em;
	line-height: 1.35;
	text-transform: uppercase;
}

.rcg2-app .rcg2-ai-chip {
	margin-top: 2px;
}

.rcg2-app button.rcg2-ai-chip {
	border: 0;
	font-family: inherit;
	cursor: pointer;
}

.rcg2-app .rcg2-badge--success {
	background: var(--rcg2-success-soft);
	color: var(--rcg2-success);
}

.rcg2-app :is(.rcg2-badge--danger, .rcg2-badge--urgent) {
	background: var(--rcg2-danger-soft);
	color: var(--rcg2-danger);
}

.rcg2-app .rcg2-badge--warning {
	background: var(--rcg2-warning-soft);
	color: var(--rcg2-warning);
}

.rcg2-app .rcg2-dashboard-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.72fr) minmax(276px, .76fr);
	align-items: start;
	gap: 18px;
}

.rcg2-app .rcg2-dashboard-grid__main,
.rcg2-app .rcg2-dashboard-grid__side {
	display: grid;
	min-width: 0;
	gap: 18px;
}

.rcg2-app .rcg2-dashboard-overview {
	display: grid;
	min-width: 0;
	gap: 18px;
	margin: 18px 0 26px;
}

.rcg2-app .rcg2-dashboard-overview > .rcg-preview {
	margin: 0;
	padding: 22px;
	border-radius: var(--rcg2-radius-lg);
}

.rcg2-app .rcg2-dashboard-overview > .rcg2-cases {
	margin: 0;
}

.rcg2-app .rcg2-dashboard-overview .rcg-preview-grid {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.rcg2-app .rcg2-dashboard-secondary {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	align-items: start;
	gap: 18px;
	margin-top: 18px;
}

.rcg2-app .rcg2-dashboard-secondary > * {
	min-width: 0;
	margin: 0 !important;
}

.rcg2-app .rcg2-dashboard-secondary > :is(.rcg-panel, .rcg-preview) {
	padding: 20px;
	border-radius: var(--rcg2-radius-lg);
}

.rcg2-app .rcg2-dashboard-secondary > .rcg-quick-start {
	grid-column: 1 / -1;
	padding: 0;
}

/* Prise en main 0.13.2 : le guide reprend le langage des panneaux rcg2. */
.rcg2-app .rcg2-dashboard-secondary > .rcg2-onboarding {
	position: relative;
	padding: 0;
	overflow: hidden;
	border: 1px solid rgba(var(--rcg2-accent-rgb), .42);
	background:
		radial-gradient(circle at 100% 0, rgba(var(--rcg2-accent-rgb), .14), transparent 32%),
		var(--rcg2-surface);
	box-shadow: var(--rcg2-shadow-sm);
}

.rcg2-app .rcg2-onboarding > summary {
	display: grid;
	min-height: 92px;
	grid-template-columns: 48px minmax(0, 1fr) auto 32px;
	align-items: center;
	gap: 14px;
	padding: 17px 20px;
	color: var(--rcg2-ink);
	list-style: none;
	cursor: pointer;
	transition: background-color .16s ease;
}

.rcg2-app .rcg2-onboarding > summary::-webkit-details-marker {
	display: none;
}

.rcg2-app .rcg2-onboarding > summary::marker {
	content: "";
}

.rcg2-app .rcg2-onboarding > summary:hover {
	background: rgba(var(--rcg2-accent-rgb), .08);
}

.rcg2-app .rcg2-onboarding[open] > summary {
	border-bottom: 1px solid rgba(var(--rcg2-accent-rgb), .34);
	background: rgba(var(--rcg2-accent-rgb), .07);
}

.rcg2-app .rcg2-onboarding > summary::after {
	display: grid;
	width: 32px;
	height: 32px;
	place-items: center;
	border-radius: 10px;
	background: var(--rcg2-accent-soft);
	color: var(--rcg2-accent-strong);
	content: "+";
	font-size: 20px;
	font-weight: 500;
	line-height: 1;
	transition: background-color .16s ease;
}

.rcg2-app .rcg2-onboarding[open] > summary::after {
	content: "−";
}

.rcg2-app .rcg2-onboarding > summary > .rcg2-onboarding__icon {
	display: grid;
	width: 48px;
	height: 48px;
	place-items: center;
	border-radius: 14px;
	background: var(--rcg2-accent-soft);
	color: var(--rcg2-accent-strong);
	font-size: 23px;
	line-height: 48px;
}

.rcg2-app .rcg2-onboarding__heading {
	display: grid;
	min-width: 0;
	gap: 2px;
}

.rcg2-app .rcg2-onboarding__eyebrow {
	display: block;
	color: var(--rcg2-accent-strong);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: .095em;
	line-height: 1.3;
	text-transform: uppercase;
}

.rcg2-app .rcg2-onboarding__heading strong {
	color: var(--rcg2-deep);
	font-size: 19px;
	font-weight: 600;
	letter-spacing: -.01em;
	line-height: 1.25;
}

.rcg2-app .rcg2-onboarding__heading small {
	color: var(--rcg2-muted);
	font-size: 13px;
	line-height: 1.4;
}

.rcg2-app .rcg2-onboarding__meta {
	display: inline-flex;
	min-height: 34px;
	align-items: center;
	gap: 6px;
	padding: 6px 10px;
	border: 1px solid rgba(var(--rcg2-accent-rgb), .28);
	border-radius: 999px;
	background: rgba(var(--rcg2-accent-rgb), .11);
	color: var(--rcg2-deep);
	font-size: 13px;
	font-weight: 600;
	white-space: nowrap;
}

.rcg2-app .rcg2-onboarding__meta .dashicons {
	width: 16px;
	height: 16px;
	font-size: 16px;
	line-height: 16px;
}

.rcg2-app .rcg2-onboarding .rcg-quick-start-content {
	padding: 0 20px 22px;
	border: 0;
	background: transparent;
}

.rcg2-app .rcg2-onboarding__intro {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
	padding: 22px 0 17px;
}

.rcg2-app .rcg2-onboarding__intro h2 {
	margin: 3px 0 0;
	color: var(--rcg2-deep);
	font-size: clamp(20px, 2.2vw, 25px);
	font-weight: 600;
	letter-spacing: -.01em;
	line-height: 1.2;
}

.rcg2-app .rcg2-onboarding__intro > p {
	max-width: 390px;
	margin: 0 0 2px;
	color: var(--rcg2-muted);
	font-size: 13px;
	line-height: 1.5;
	text-align: right;
}

.rcg2-app .rcg2-onboarding__steps {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.rcg2-app .rcg2-onboarding-step {
	display: grid;
	min-width: 0;
	grid-template-columns: 38px minmax(0, 1fr);
	align-content: start;
	gap: 12px;
	padding: 17px;
	border: 1px solid var(--rcg2-border);
	border-radius: 15px;
	background: var(--rcg2-surface-strong);
	box-shadow: inset 0 3px 0 rgba(var(--rcg2-accent-rgb), .56);
}

.rcg2-app .rcg2-onboarding-step__number {
	display: grid;
	width: 38px;
	height: 38px;
	place-items: center;
	border-radius: 11px;
	background: var(--rcg2-accent-soft);
	color: var(--rcg2-accent-strong);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: .045em;
}

.rcg2-app .rcg2-onboarding-step h3,
.rcg2-app .rcg2-onboarding-step p {
	margin: 0;
}

.rcg2-app .rcg2-onboarding-step h3 {
	color: var(--rcg2-deep);
	font-size: 15px;
	font-weight: 600;
	line-height: 1.35;
}

.rcg2-app .rcg2-onboarding-step p {
	margin-top: 7px;
	color: var(--rcg2-muted);
	font-size: 14px;
	line-height: 1.55;
}

.rcg2-app .rcg2-onboarding__note {
	display: grid;
	grid-template-columns: 32px minmax(0, 1fr);
	align-items: start;
	gap: 11px;
	margin: 14px 0 0;
	padding: 14px 16px;
	border: 1px solid rgba(35, 104, 97, .17);
	border-radius: 13px;
	background: var(--rcg2-teal-soft);
	color: var(--rcg2-deep);
}

.rcg2-app .rcg2-onboarding__note > .dashicons {
	display: grid;
	width: 30px;
	height: 30px;
	place-items: center;
	margin: 0;
	border-radius: 9px;
	background: var(--rcg2-teal);
	color: #fff;
	font-size: 16px;
	line-height: 30px;
}

.rcg2-app .rcg2-onboarding__note p {
	margin: 1px 0 0;
	color: var(--rcg2-deep);
	font-size: 13px;
	line-height: 1.55;
}

.rcg2-app .rcg2-cases {
	min-width: 0;
	overflow: hidden;
}

.rcg2-app .rcg2-cases > .rcg2-panel__heading {
	margin: 0 0 16px;
	padding: 0 0 14px;
	border: 0;
	border-bottom: 1px solid var(--rcg2-border);
	background: transparent;
}

.rcg2-app .rcg2-filters {
	display: flex;
	max-width: 100%;
	gap: 7px;
	margin-bottom: 12px;
	padding-bottom: 12px;
	overflow-x: auto;
	border-bottom: 1px solid var(--rcg2-border);
	-webkit-overflow-scrolling: touch;
}

.rcg2-app .rcg2-filter {
	display: inline-flex;
	min-height: 34px;
	align-items: center;
	gap: 6px;
	padding: 6px 10px;
	border: 1px solid var(--rcg2-border);
	border-radius: 999px;
	background: transparent;
	color: var(--rcg2-muted);
	font-size: 11px;
	font-weight: 600;
	white-space: nowrap;
	cursor: pointer;
}

.rcg2-app .rcg2-filter span {
	display: grid;
	min-width: 19px;
	height: 19px;
	place-items: center;
	padding: 0 5px;
	border-radius: 999px;
	background: #edf1ef;
	color: var(--rcg2-ink);
	font-size: 9px;
}

.rcg2-app .rcg2-filter.is-active {
	border-color: var(--rcg2-deep);
	background: var(--rcg2-deep);
	color: #fff;
}

.rcg2-app .rcg2-filter.is-active span {
	background: var(--rcg2-accent);
	color: var(--rcg2-on-accent);
}

.rcg2-app .rcg2-case-list {
	display: grid;
	min-width: 0;
}

.rcg2-app .rcg2-cases__full {
	min-width: 0;
	margin-top: 14px;
	padding-top: 14px;
	border-top: 1px solid var(--rcg2-border);
}

.rcg2-app .rcg2-cases__full > summary {
	position: relative;
	display: flex;
	min-width: 0;
	min-height: 44px;
	align-items: center;
	padding: 10px 42px 10px 12px;
	border: 1px solid rgba(var(--rcg2-accent-rgb), .44);
	border-radius: 11px;
	background: rgba(var(--rcg2-accent-rgb), .1);
	color: var(--rcg2-deep);
	font-size: 12px;
	font-weight: 600;
	line-height: 1.35;
	list-style: none;
	cursor: pointer;
}

.rcg2-app .rcg2-cases__full > summary::-webkit-details-marker {
	display: none;
}

.rcg2-app .rcg2-cases__full > summary::marker {
	content: "";
}

.rcg2-app .rcg2-cases__full > summary::after {
	position: absolute;
	top: 50%;
	right: 13px;
	display: grid;
	width: 24px;
	height: 24px;
	place-items: center;
	border-radius: 50%;
	background: var(--rcg2-accent-soft);
	color: var(--rcg2-accent-strong);
	content: "+";
	font-size: 18px;
	font-weight: 600;
	line-height: 1;
	transform: translateY(-50%);
}

.rcg2-app .rcg2-cases__full[open] > summary::after {
	content: "−";
}

.rcg2-app .rcg2-cases__full > summary:hover {
	border-color: var(--rcg2-accent-strong);
	background: rgba(var(--rcg2-accent-rgb), .16);
}

.rcg2-app .rcg2-cases__full-content {
	min-width: 0;
	padding-top: 14px;
}

.rcg2-app .rcg2-cases__full-content > .rcg-filters {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	align-items: end;
	gap: 10px;
	margin: 0 0 14px;
}

.rcg2-app .rcg2-cases__full-content > .rcg-filters > * {
	min-width: 0;
}

.rcg2-app .rcg2-case-row {
	display: grid;
	width: 100%;
	max-width: 100%;
	min-width: 0;
	grid-template-columns: 42px minmax(0, 1fr) auto 17px;
	align-items: center;
	gap: 12px;
	padding: 13px 5px;
	border: 0;
	border-bottom: 1px solid var(--rcg2-border);
	background: transparent;
	color: var(--rcg2-ink);
	font: inherit;
	cursor: pointer;
	text-align: left;
}

.rcg2-app .rcg2-case-row:last-child {
	border-bottom: 0;
}

.rcg2-app .rcg2-case-row:hover {
	margin: 0 -7px;
	padding-right: 12px;
	padding-left: 12px;
	border-radius: 12px;
	background: rgba(var(--rcg2-accent-rgb), .08);
}

.rcg2-app .rcg2-case-row[hidden] {
	display: none;
}

.rcg2-app .rcg2-case-row__icon {
	display: grid;
	width: 41px;
	height: 41px;
	place-items: center;
	border-radius: 12px;
	background: var(--rcg2-accent-soft);
	color: var(--rcg2-accent-strong);
	font-size: 18px;
	font-weight: 600;
}

.rcg2-app .rcg2-case-row__icon--room {
	background: rgba(var(--rcg2-accent-rgb), .18);
}

.rcg2-app .rcg2-case-row__icon--road {
	background: rgba(var(--rcg2-accent-rgb), .25);
}

.rcg2-app .rcg2-case-row__icon--admin {
	background: rgba(var(--rcg2-accent-rgb), .13);
}

.rcg2-app .rcg2-case-row__body {
	display: grid;
	min-width: 0;
	gap: 3px;
}

.rcg2-app .rcg2-case-row__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 7px;
	color: var(--rcg2-muted);
	font-size: 9px;
	font-weight: 600;
	text-transform: uppercase;
}

.rcg2-app .rcg2-case-row__body strong {
	overflow: hidden;
	color: var(--rcg2-deep);
	font-size: 12px;
	line-height: 1.35;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.rcg2-app .rcg2-case-row__body small,
.rcg2-app .rcg2-case-row__date {
	color: var(--rcg2-muted);
	font-size: 10px;
}

.rcg2-app .rcg2-case-row__date {
	white-space: nowrap;
}

.rcg2-app .rcg2-case-row__arrow {
	color: #96a4a2;
	font-size: 24px;
}

.rcg2-app .rcg2-status {
	display: inline-flex;
	width: max-content;
	align-items: center;
	gap: 5px;
	padding: 3px 7px;
	border-radius: 999px;
	background: #edf1ef;
	color: var(--rcg2-muted);
	font-size: 8px;
	font-weight: 600;
	letter-spacing: .025em;
	line-height: 1.2;
	text-transform: uppercase;
}

.rcg2-app .rcg2-case-row__meta .rcg2-status::before {
	box-sizing: border-box;
	flex: 0 0 8px;
	width: 8px;
	height: 8px;
	border: 1px solid rgba(255, 255, 255, .9);
	border-radius: 50%;
	background: rgb(var(--rcg2-status-dot-rgb, 88, 108, 105));
	box-shadow: 0 0 0 1px rgba(var(--rcg2-status-dot-rgb, 88, 108, 105), .24);
	content: "";
}

.rcg2-app .rcg2-status--urgent {
	--rcg2-status-dot-rgb: 164, 62, 62;
	background: var(--rcg2-danger-soft);
	color: var(--rcg2-danger);
}

.rcg2-app .rcg2-status--new {
	--rcg2-status-dot-rgb: 41, 104, 101;
	background: var(--rcg2-teal-soft);
	color: var(--rcg2-teal);
}

.rcg2-app .rcg2-status--pending {
	--rcg2-status-dot-rgb: 150, 96, 15;
	background: var(--rcg2-warning-soft);
	color: var(--rcg2-warning);
}

.rcg2-app .rcg2-status--review {
	--rcg2-status-dot-rgb: 77, 98, 135;
	background: #e9edf6;
	color: #4d6287;
}

.rcg2-app .rcg2-status--done {
	--rcg2-status-dot-rgb: 37, 112, 78;
	background: var(--rcg2-success-soft);
	color: var(--rcg2-success);
}

.rcg2-app .rcg2-case-row__meta .rcg2-status--done::before {
	animation: rcg2-case-status-done-blink 1.8s ease-in-out infinite;
}

@keyframes rcg2-case-status-done-blink {
	0%, 100% {
		opacity: 1;
		box-shadow: 0 0 0 1px rgba(37, 112, 78, .24), 0 0 0 0 rgba(37, 112, 78, .34);
	}
	50% {
		opacity: .42;
		box-shadow: 0 0 0 1px rgba(37, 112, 78, .16), 0 0 0 5px rgba(37, 112, 78, 0);
	}
}

@media (prefers-reduced-motion: reduce) {
	.rcg2-app .rcg2-case-row__meta .rcg2-status--done::before {
		animation: none !important;
	}
}

@media (forced-colors: active) {
	.rcg2-app .rcg2-case-row__meta .rcg2-status::before {
		border-color: Canvas;
		background: CanvasText;
		box-shadow: 0 0 0 1px CanvasText;
	}
}

.rcg2-app .rcg2-notification-button {
	position: relative;
}

.rcg2-app .rcg2-notification-center {
	position: relative;
	display: block;
	flex: 0 0 auto;
}

.rcg2-app .rcg2-notification-center > summary {
	list-style: none;
}

.rcg2-app .rcg2-notification-center > summary::-webkit-details-marker {
	display: none;
}

.rcg2-app .rcg2-notification-center[open] > .rcg2-notification-button {
	border-color: rgba(var(--rcg2-accent-rgb), .58);
	background: rgba(var(--rcg2-accent-rgb), .14);
}

.rcg2-app .rcg2-notification-center > .rcg-notifications {
	position: absolute;
	z-index: 120;
	top: calc(100% + 12px);
	right: 0;
	display: none;
	width: min(460px, calc(100vw - 32px));
	max-height: min(680px, calc(100vh - 120px));
	margin: 0;
	padding: 18px;
	scroll-margin-top: 110px;
	overflow-x: hidden;
	overflow-y: auto;
	overscroll-behavior: contain;
	border: 1px solid var(--rcg2-border);
	border-radius: 18px;
	background: var(--rcg2-surface);
	box-shadow: 0 24px 60px rgba(5, 33, 38, .22), 0 7px 20px rgba(5, 33, 38, .1);
}

.rcg2-app .rcg2-notification-center[open] > .rcg-notifications {
	display: block;
}

.rcg2-app .rcg2-notification-center > .rcg-notifications::before {
	position: absolute;
	top: 0;
	right: 15px;
	width: 30px;
	height: 3px;
	border-radius: 0 0 999px 999px;
	background: var(--rcg2-accent);
	content: "";
}

.rcg2-app .rcg2-notification-center .rcg-notifications-bar {
	color: var(--rcg2-muted);
}

.rcg2-app .rcg2-notification-center .rcg-notifications-details {
	margin-top: 12px;
}

.rcg2-app .rcg2-notification-center .rcg-notifications-details[open] summary {
	margin-bottom: 10px;
}

.rcg2-app .rcg2-notification-button__badge {
	position: absolute;
	top: -6px;
	right: -5px;
	display: grid;
	min-width: 20px;
	height: 20px;
	place-items: center;
	padding: 0 4px;
	border: 2px solid var(--rcg2-canvas);
	border-radius: 999px;
	background: var(--rcg2-danger);
	color: #fff;
	font-size: 9px;
	font-weight: 600;
}

@media (max-width: 700px) {
	.rcg2-app .rcg2-notification-center > .rcg-notifications {
		position: fixed;
		top: 76px;
		right: 14px;
		left: 14px;
		width: auto;
		max-height: calc(100vh - 96px);
		max-height: calc(100dvh - 96px);
	}
}

@media (max-width: 430px) {
	.rcg2-app .rcg2-notification-center > .rcg-notifications {
		top: 70px;
		right: 12px;
		left: 12px;
		padding: 15px;
	}
}

/* Carte compacte et dialogue de gestion du bandeau public. */
.rcg2-app .rcg2-site-alert-card {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	gap: 14px 20px;
	margin: 20px 0 28px;
	padding: 18px 20px;
	overflow: visible;
	border: 1px solid rgba(var(--rcg2-accent-rgb), .52);
	border-radius: var(--rcg2-radius-lg);
	background:
		radial-gradient(circle at 100% 0, rgba(var(--rcg2-accent-rgb), .17), transparent 39%),
		var(--rcg2-surface);
	box-shadow: var(--rcg2-shadow-sm);
}

.rcg2-app .rcg2-site-alert-card .rcg-site-alert-overview {
	display: grid;
	min-width: 0;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	gap: 9px 16px;
	padding: 0;
}

.rcg2-app .rcg2-site-alert-card .rcg-site-alert-summary-heading {
	min-width: 0;
}

.rcg2-app .rcg2-site-alert-card .rcg-site-alert-summary-heading > .dashicons {
	width: 38px;
	height: 38px;
	flex: 0 0 38px;
	border-radius: 11px;
	background: var(--rcg2-accent-soft);
	color: var(--rcg2-accent-strong);
	font-size: 21px;
	line-height: 38px;
	text-align: center;
}

.rcg2-app .rcg2-site-alert-card .rcg-site-alert-title {
	font-size: clamp(18px, 2vw, 22px);
	font-weight: 600;
}

.rcg2-app .rcg2-site-alert-card .rcg-site-alert-summary-preview {
	display: flex;
	grid-column: 1 / -1;
	min-width: 0;
	align-items: center;
	gap: 9px;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
}

.rcg2-app .rcg2-site-alert-card .rcg-site-alert-summary-preview-label {
	flex: 0 0 auto;
	padding: 3px 7px;
	border-radius: 999px;
	background: rgba(var(--rcg2-accent-rgb), .2);
	color: var(--rcg2-accent-strong);
	font-size: 9px;
	font-weight: 600;
}

.rcg2-app .rcg2-site-alert-card .rcg-site-alert-summary-preview-text {
	overflow: hidden;
	min-width: 0;
	color: var(--rcg2-muted);
	font-size: 11px;
	font-weight: 500;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.rcg2-app .rcg2-site-alert-card__actions {
	display: flex;
	min-width: 0;
	align-items: center;
	justify-content: flex-end;
	gap: 8px;
}

.rcg2-app :is(.rcg2-dashboard-grid__side, .rcg2-dashboard-side) .rcg2-site-alert-card {
	grid-template-columns: minmax(0, 1fr);
}

.rcg2-app :is(.rcg2-dashboard-grid__side, .rcg2-dashboard-side) .rcg2-site-alert-card .rcg-site-alert-overview {
	grid-template-columns: minmax(0, 1fr);
}

.rcg2-app :is(.rcg2-dashboard-grid__side, .rcg2-dashboard-side) .rcg2-site-alert-card .rcg-site-alert-badge {
	justify-self: start;
}

.rcg2-app :is(.rcg2-dashboard-grid__side, .rcg2-dashboard-side) .rcg2-site-alert-card .rcg-site-alert-summary-preview {
	grid-column: 1;
}

.rcg2-app :is(.rcg2-dashboard-grid__side, .rcg2-dashboard-side) .rcg2-site-alert-card__actions {
	justify-content: flex-start;
}

.rcg2-app .rcg2-site-alert-card__actions .button {
	min-height: 42px;
	margin: 0;
}

.rcg2-app .rcg2-site-alert-card > .notice {
	grid-column: 1 / -1;
	margin: 0 !important;
}

.rcg2-app .rcg-site-alert-badge {
	font-size: 9px;
	font-weight: 600;
}

.rcg2-app .rcg-site-alert-badge.is-on {
	background: var(--rcg2-success-soft);
	color: var(--rcg2-success);
}

.rcg2-app .rcg-site-alert-badge.is-off {
	background: #edf1ef;
	color: var(--rcg2-muted);
}

.rcg2-app .rcg2-dialog {
	width: min(92vw, 460px);
	max-width: calc(100vw - 24px);
	max-height: calc(100vh - 24px);
	margin: auto;
	padding: 0;
	border: 0;
	border-radius: 22px;
	background: transparent;
	color: var(--rcg2-ink);
	box-shadow: 0 28px 80px rgba(5, 36, 41, .34);
}

.rcg2-app .rcg2-dialog::backdrop {
	background: rgba(5, 35, 40, .62);
	backdrop-filter: blur(4px);
}

.rcg2-app .rcg2-dialog__inner {
	max-width: 100%;
	padding: 25px;
	overflow-x: hidden;
	border: 1px solid rgba(255, 255, 255, .18);
	border-radius: 22px;
	background: var(--rcg2-surface);
}

.rcg2-app .rcg2-dialog__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 16px;
}

.rcg2-app .rcg2-dialog__icon {
	display: grid;
	width: 46px;
	height: 46px;
	place-items: center;
	border-radius: 14px;
	background: var(--rcg2-accent-soft);
	color: var(--rcg2-accent-strong);
	font-size: 22px;
	line-height: 46px;
	text-align: center;
}

.rcg2-app .rcg2-dialog h2 {
	font-size: 26px;
	line-height: 1.2;
}

.rcg2-app .rcg2-dialog > p,
.rcg2-app .rcg2-dialog__inner > p:not(.rcg2-eyebrow) {
	color: var(--rcg2-muted);
	font-size: 13px;
}

.rcg2-app .rcg2-dialog__notice {
	display: grid;
	grid-template-columns: 28px minmax(0, 1fr);
	gap: 10px;
	margin-top: 18px;
	padding: 12px;
	border-radius: 12px;
	background: var(--rcg2-teal-soft);
}

.rcg2-app .rcg2-dialog__notice > span {
	display: grid;
	width: 27px;
	height: 27px;
	place-items: center;
	border-radius: 50%;
	background: var(--rcg2-teal);
	color: #fff;
	font-weight: 600;
}

.rcg2-app .rcg2-dialog__notice p {
	margin: 0;
	color: var(--rcg2-deep);
	font-size: 11px;
}

.rcg2-app .rcg2-dialog__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 9px;
	margin-top: 20px;
}

.rcg2-app .rcg2-dialog__actions--split {
	justify-content: space-between;
}

.rcg2-app .rcg2-icon-button {
	display: inline-grid;
	width: 42px;
	height: 42px;
	min-height: 42px;
	place-items: center;
	padding: 0;
	border: 1px solid var(--rcg2-border);
	border-radius: 12px;
	background: #fff;
	color: var(--rcg2-deep);
	font-size: 20px;
	font-weight: 500;
	cursor: pointer;
}

.rcg2-app .rcg2-alert-dialog {
	width: min(94vw, 690px);
}

.rcg2-app .rcg2-alert-dialog .rcg2-dialog__inner {
	max-height: calc(100vh - 42px);
	overflow-y: auto;
}

.rcg2-app .rcg2-alert-steps {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 7px;
	margin: 18px 0;
}

.rcg2-app .rcg2-alert-steps span {
	display: flex;
	min-width: 0;
	min-height: 38px;
	align-items: center;
	gap: 7px;
	padding: 7px 9px;
	border: 1px solid var(--rcg2-border);
	border-radius: 10px;
	color: var(--rcg2-muted);
	font-size: 10px;
	font-weight: 500;
}

.rcg2-app .rcg2-alert-steps span.is-current {
	border-color: rgba(var(--rcg2-accent-rgb), .65);
	background: var(--rcg2-accent-soft);
	color: var(--rcg2-deep);
	font-weight: 600;
}

.rcg2-app .rcg2-alert-steps b {
	display: grid;
	width: 22px;
	height: 22px;
	flex: 0 0 22px;
	place-items: center;
	border-radius: 50%;
	background: #edf1ef;
	color: var(--rcg2-muted);
	font-size: 9px;
	font-weight: 600;
}

.rcg2-app .rcg2-alert-steps .is-current b {
	background: var(--rcg2-accent);
	color: var(--rcg2-on-accent);
}

.rcg2-app .rcg2-alert-dialog .rcg-site-alert-form {
	display: grid;
	min-width: 0;
	gap: 16px;
}

.rcg2-app .rcg2-alert-dialog .rcg-site-alert-controls {
	margin: 0;
	padding: 12px;
}

.rcg2-app .rcg2-alert-dialog .rcg-site-alert-field textarea {
	width: 100%;
	max-width: 100%;
	min-height: 96px;
	padding: 11px 12px;
	border: 1px solid #bdcbc6;
	border-radius: 11px;
	background: #fff;
	color: var(--rcg2-ink);
	font: 400 13px/1.5 var(--rcg2-font);
	resize: vertical;
}

.rcg2-app .rcg2-alert-dialog .rcg-site-alert-field textarea:focus {
	border-color: var(--rcg2-teal);
	outline: 0;
	box-shadow: 0 0 0 4px rgba(35, 104, 97, .1);
}

.rcg2-app .rcg2-alert-dialog .rcg-site-alert-ai-planned {
	margin-top: 12px;
	border-color: rgba(var(--rcg2-accent-rgb), .48);
	background: var(--rcg2-accent-soft);
}

.rcg2-app .rcg2-alert-dialog .rcg-site-alert-preview {
	padding: 11px 12px;
	border: 0;
	border-radius: 11px;
	background: var(--rcg2-deep);
	color: #fff;
}

.rcg2-app .rcg2-alert-dialog .rcg-site-alert-preview.is-muted {
	background: #6d7476;
}

.rcg2-app .rcg2-alert-dialog .rcg-site-alert-preview p {
	color: #fff;
	font-size: 11px;
	line-height: 1.45;
}

.rcg2-app .rcg2-theme-dialog {
	width: min(94vw, 610px);
}

.rcg2-app .rcg2-theme-options {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
	margin: 20px 0 0;
	padding: 2px 4px 2px 2px;
	border: 0;
	max-height: min(58vh, 520px);
	overflow-y: auto;
	overscroll-behavior: contain;
}

.rcg2-app .rcg2-theme-dialog .rcg2-theme-option {
	position: relative;
	display: grid;
	width: 100%;
	min-width: 0;
	min-height: 72px;
	grid-template-columns: 38px minmax(0, 1fr) 26px;
	align-items: center;
	gap: 10px;
	padding: 11px;
	border: 1px solid var(--rcg2-border);
	border-radius: 13px;
	background: #fff;
	color: var(--rcg2-ink);
	font: inherit;
	cursor: pointer;
	text-align: left;
}

.rcg2-app .rcg2-theme-dialog .rcg2-theme-option:hover {
	border-color: var(--rcg2-accent-strong);
	background: var(--rcg2-accent-soft);
}

.rcg2-app .rcg2-theme-dialog .rcg2-theme-option:is(.is-selected, [aria-checked="true"], :has(input:checked)) {
	border: 2px solid var(--rcg2-accent-strong);
	background: var(--rcg2-accent-soft);
	box-shadow: 0 0 0 3px rgba(var(--rcg2-accent-rgb), .18);
}

.rcg2-app .rcg2-theme-dialog .rcg2-theme-option > span:not(.rcg2-theme-option__color):not(.rcg2-theme-option__check) {
	display: grid;
	width: auto;
	height: auto;
	min-width: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
}

.rcg2-app .rcg2-theme-dialog .rcg2-theme-option strong {
	color: var(--rcg2-deep);
	font-size: 13px;
}

.rcg2-app .rcg2-theme-dialog .rcg2-theme-option small {
	color: var(--rcg2-muted);
	font-size: 10px;
}

.rcg2-app .rcg2-theme-dialog .rcg2-theme-option__color {
	width: 36px;
	height: 36px;
	border: 2px solid #fff;
	border-radius: 11px;
	box-shadow: 0 0 0 1px var(--rcg2-border);
}

.rcg2-app .rcg2-theme-option__color--gold { background: #f3cc5d; }
.rcg2-app .rcg2-theme-option__color--coral { background: #f08a72; }
.rcg2-app .rcg2-theme-option__color--sage { background: #93c47d; }
.rcg2-app .rcg2-theme-option__color--sky { background: #75b7d3; }
.rcg2-app .rcg2-theme-option__color--lavender { background: #b49ad6; }
.rcg2-app .rcg2-theme-option__color--rose { background: #d98ca3; }
.rcg2-app .rcg2-theme-option__color--terracotta { background: #c9825d; }
.rcg2-app .rcg2-theme-option__color--slate { background: #7893b8; }
.rcg2-app .rcg2-theme-option__color--plum { background: #9f78a7; }
.rcg2-app .rcg2-theme-option__color--sunset { background: linear-gradient(135deg, #f08a72, #f3cc5d); }
.rcg2-app .rcg2-theme-option__color--lagoon { background: linear-gradient(135deg, #75b7d3, #93c47d); }
.rcg2-app .rcg2-theme-option__color--aurora { background: linear-gradient(135deg, #b49ad6, #f08a72); }

.rcg2-app .rcg2-theme-dialog .rcg2-theme-option__check {
	display: grid;
	width: 24px;
	height: 24px;
	place-items: center;
	border: 0;
	border-radius: 50%;
	background: var(--rcg2-accent-strong);
	box-shadow: none;
	color: #fff;
	font-size: 12px;
	font-weight: 600;
	opacity: 0;
	transform: scale(.75);
	transition: opacity .15s ease, transform .15s ease;
}

.rcg2-app .rcg2-theme-dialog .rcg2-theme-option:is(.is-selected, [aria-checked="true"], :has(input:checked)) .rcg2-theme-option__check {
	opacity: 1;
	transform: scale(1);
}

.rcg2-app .rcg2-theme-feedback {
	margin: 12px 0 0;
	color: var(--rcg2-accent-strong);
	font-size: 12px;
	font-weight: 600;
}

.rcg2-app .rcg2-mobile-nav {
	display: none;
}

@media (max-width: 960px) {
	.rcg2-app .rcg2-quick-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.rcg2-app .rcg2-dashboard-grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.rcg2-app .rcg2-dashboard-grid__side {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.rcg2-app .rcg2-priority {
		grid-template-columns: auto minmax(0, 1fr);
	}

	.rcg2-app .rcg2-priority__actions {
		grid-column: 2;
		justify-content: flex-start;
	}
}

@media (max-width: 760px) {
	.rcg2-app .rcg2-main {
		padding-bottom: max(90px, calc(82px + env(safe-area-inset-bottom)));
	}

	.rcg2-app .rcg2-profile-panel {
		position: fixed;
		top: 76px;
		right: 10px;
		bottom: max(76px, calc(68px + env(safe-area-inset-bottom)));
		left: 10px;
		width: auto;
		max-height: none;
		padding: 16px;
		border-radius: 16px;
	}

	.rcg2-app .rcg2-priority {
		grid-template-columns: 39px minmax(0, 1fr);
		gap: 12px;
		margin: 18px 0 25px;
		padding: 16px;
	}

	.rcg2-app .rcg2-priority__symbol {
		width: 39px;
		height: 39px;
		border-radius: 11px;
		font-size: 21px;
	}

	.rcg2-app .rcg2-priority__actions {
		grid-column: 1 / -1;
	}

	.rcg2-app .rcg2-priority__actions .rcg2-button {
		flex: 1 1 0;
	}

	.rcg2-app .rcg2-section-heading {
		display: block;
	}

	.rcg2-app .rcg2-section-heading__hint {
		margin-top: 6px;
		text-align: left;
	}

	.rcg2-app .rcg2-quick-grid,
	.rcg2-app .rcg2-dashboard-grid__side,
	.rcg2-app .rcg2-dashboard-secondary {
		grid-template-columns: minmax(0, 1fr);
	}

	.rcg2-app .rcg2-dashboard-secondary > .rcg-quick-start {
		grid-column: auto;
	}

	.rcg2-app .rcg2-dashboard-secondary > :is(.rcg-panel, .rcg-preview) {
		padding: 17px 14px;
		border-radius: 17px;
	}

	.rcg2-app .rcg2-dashboard-overview {
		margin: 15px 0 22px;
	}

	.rcg2-app .rcg2-dashboard-overview > .rcg-preview {
		padding: 17px 14px;
		border-radius: 17px;
	}

	.rcg2-app .rcg2-dashboard-overview .rcg-preview-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.rcg2-app .rcg2-dashboard-secondary > .rcg-quick-start {
		padding: 0;
	}

	.rcg2-app .rcg2-onboarding > summary {
		min-height: 82px;
		grid-template-columns: 42px minmax(0, 1fr) 30px;
		gap: 11px;
		padding: 14px;
	}

	.rcg2-app .rcg2-onboarding > summary > .rcg2-onboarding__icon {
		width: 42px;
		height: 42px;
		border-radius: 12px;
		font-size: 21px;
		line-height: 42px;
	}

	.rcg2-app .rcg2-onboarding__heading strong {
		font-size: 17px;
	}

	.rcg2-app .rcg2-onboarding__heading small {
		font-size: 12px;
	}

	.rcg2-app .rcg2-onboarding__meta {
		display: none;
	}

	.rcg2-app .rcg2-onboarding > summary::after {
		width: 30px;
		height: 30px;
	}

	.rcg2-app .rcg2-onboarding .rcg-quick-start-content {
		padding: 0 14px 16px;
	}

	.rcg2-app .rcg2-onboarding__intro {
		display: block;
		padding: 17px 0 14px;
	}

	.rcg2-app .rcg2-onboarding__intro h2 {
		font-size: 20px;
	}

	.rcg2-app .rcg2-onboarding__intro > p {
		max-width: none;
		margin: 8px 0 0;
		text-align: left;
	}

	.rcg2-app .rcg2-onboarding__steps {
		grid-template-columns: minmax(0, 1fr);
		gap: 10px;
	}

	.rcg2-app .rcg2-onboarding-step {
		padding: 15px;
	}

	.rcg2-app .rcg2-onboarding__note {
		padding: 13px;
	}

	.rcg2-app .rcg2-quick-grid {
		gap: 9px;
	}

	.rcg2-app .rcg2-quick-card {
		min-height: 81px;
		padding: 13px;
	}

	.rcg2-app .rcg2-panel {
		padding: 17px 14px;
		border-radius: 17px;
	}

	.rcg2-app .rcg2-case-row {
		grid-template-columns: 40px minmax(0, 1fr) 15px;
		gap: 9px;
	}

	.rcg2-app .rcg2-case-row__date {
		display: none;
	}

	.rcg2-app .rcg2-cases__full-content > .rcg-filters {
		grid-template-columns: minmax(0, 1fr);
	}

	.rcg2-app .rcg2-cases__full-content > .rcg-filters :is(label, select, .button) {
		width: 100%;
	}

	.rcg2-app .rcg2-site-alert-card {
		grid-template-columns: minmax(0, 1fr);
		padding: 16px;
		border-radius: 17px;
	}

	.rcg2-app .rcg2-site-alert-card__actions {
		justify-content: flex-start;
	}

	.rcg2-app .rcg2-mobile-nav {
		position: fixed;
		z-index: 900;
		right: 8px;
		bottom: max(8px, env(safe-area-inset-bottom));
		left: 8px;
		display: grid;
		width: auto;
		max-width: calc(100vw - 16px);
		grid-template-columns: repeat(5, minmax(0, 1fr));
		padding: 6px;
		border: 1px solid rgba(255, 255, 255, .14);
		border-radius: 17px;
		background: rgba(10, 45, 51, .96);
		box-shadow: 0 18px 42px rgba(6, 35, 40, .35);
		backdrop-filter: blur(14px);
	}

	.rcg2-app .rcg2-mobile-nav :is(a, button) {
		position: relative;
		display: grid;
		min-width: 0;
		min-height: 49px;
		place-items: center;
		gap: 1px;
		padding: 3px;
		overflow: hidden;
		border: 0;
		border-radius: 11px;
		background: transparent;
		color: rgba(255, 255, 255, .66);
		font: inherit;
		text-decoration: none;
		cursor: pointer;
	}

	.rcg2-app .rcg2-mobile-nav .is-active {
		background: rgba(var(--rcg2-accent-rgb), .15);
		color: var(--rcg2-accent);
	}

	.rcg2-app .rcg2-mobile-nav :is(a, button) > span {
		font-size: 17px;
		line-height: 1;
	}

	.rcg2-app .rcg2-mobile-nav small {
		display: block;
		max-width: 100%;
		overflow: hidden;
		font-size: 9px;
		font-weight: 600;
		line-height: 1.2;
		text-overflow: ellipsis;
		white-space: nowrap;
	}

	.rcg2-app .rcg2-mobile-nav em {
		position: absolute;
		top: 3px;
		right: calc(50% - 20px);
		display: grid;
		min-width: 16px;
		height: 16px;
		place-items: center;
		padding: 0 3px;
		border-radius: 999px;
		background: var(--rcg2-danger);
		color: #fff;
		font-size: 9px;
		font-style: normal;
		font-weight: 600;
	}

	.rcg2-app .rcg2-dialog {
		width: calc(100vw - 24px);
	}

	.rcg2-app .rcg2-dialog__inner,
	.rcg2-app .rcg2-alert-dialog .rcg2-dialog__inner {
		max-height: calc(100vh - 24px);
		padding: 20px;
		overflow-y: auto;
	}

	.rcg2-app .rcg2-alert-steps span {
		padding-right: 7px;
		padding-left: 7px;
	}

	.rcg2-app .rcg2-site-alert-ai-planned {
		align-items: stretch;
		flex-direction: column;
	}

	.rcg2-app .rcg2-site-alert-ai-planned .button[disabled] {
		width: 100%;
	}
}

@media (max-width: 430px) {
	.rcg2-app .rcg2-dashboard-overview .rcg-preview-grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.rcg2-app .rcg2-priority__actions .rcg2-button--ghost {
		display: none;
	}

	.rcg2-app .rcg2-priority__actions .rcg2-button {
		width: 100%;
	}

	.rcg2-app .rcg2-theme-options {
		grid-template-columns: minmax(0, 1fr);
		max-height: 55vh;
	}

	.rcg2-app .rcg2-case-row__body strong {
		white-space: normal;
	}

	.rcg2-app .rcg2-site-alert-card .rcg-site-alert-overview {
		grid-template-columns: minmax(0, 1fr);
	}

	.rcg2-app .rcg2-site-alert-card .rcg-site-alert-badge {
		justify-self: start;
	}

	.rcg2-app .rcg2-site-alert-card .rcg-site-alert-summary-preview {
		grid-column: 1;
	}

	.rcg2-app .rcg2-site-alert-card__actions {
		align-items: stretch;
		flex-direction: column;
	}

	.rcg2-app .rcg2-site-alert-card__actions .button,
	.rcg2-app .rcg2-dialog__actions--split :is(.rcg2-button, .button) {
		width: 100%;
	}

	.rcg2-app .rcg2-alert-steps {
		grid-template-columns: minmax(0, 1fr);
	}

	.rcg2-app .rcg2-alert-steps span:not(.is-current) {
		display: none;
	}
}

@media (forced-colors: active) {
	.rcg2-app .rcg2-filter.is-active,
	.rcg2-app .rcg2-mobile-nav .is-active,
	.rcg2-app .rcg2-theme-dialog .rcg2-theme-option:is(.is-selected, [aria-checked="true"], :has(input:checked)) {
		outline: 2px solid currentColor;
	}

	.rcg-wrap :is(.rcg-heading, .rcg2-module-hero),
	.rcg-wrap .rcg2-module-hero__action {
		border: 2px solid currentColor;
		box-shadow: none;
	}
}

/* Lisibilité 0.13.2 : un cran de plus pour les textes secondaires. */
.rcg2-brand__copy small,
.rcg2-sidebar .rcg-private-brand-copy small,
.rcg2-nav__label,
.rcg2-security div span,
.rcg2-topbar__copy p,
.rcg2-eyebrow,
.rcg2-main-footer,
.rcg2-app .rcg2-priority__meta,
.rcg2-app .rcg2-quick-card__copy small,
.rcg2-app .rcg2-case-row__body small,
.rcg2-app .rcg2-case-row__date,
.rcg2-app .rcg2-alert-steps span,
.rcg2-app .rcg2-theme-dialog .rcg2-theme-option small,
.rcg-login-slide figcaption,
[data-rcg-login-slide] figcaption,
.rcg-login-brand__copy small,
.rcg2-login-visual__brand-copy span,
.rcg-login-copy__kicker,
.rcg2-login-visual__kicker,
.rcg-login-static-note,
.rcg2-login-static-note,
.rcg-wrap .rcg-site-alert-ai-planned small,
.rcg-wrap :is(.rcg-status, .rcg-approval-badge, .rcg-site-alert-badge) {
	font-size: 11px;
}

.rcg2-sidebar__footer,
.rcg2-theme-option,
.rcg2-app .rcg2-section-heading__hint,
.rcg2-app .rcg2-filter,
.rcg2-app .rcg2-site-alert-card .rcg-site-alert-summary-preview-text,
.rcg2-app .rcg2-dialog__notice p,
.rcg2-app .rcg2-alert-dialog .rcg-site-alert-preview p,
.rcg2-login-panel .rcg-access-form label,
.rcg2-login-panel .rcg-access-secondary,
.rcg-wrap .rcg-kicker {
	font-size: 12px;
}

.rcg2-profile__copy small,
.rcg2-clock__copy small,
.rcg2-app .rcg2-filter span,
.rcg2-app .rcg2-case-row__meta,
.rcg2-app .rcg2-notification-button__badge,
.rcg2-app .rcg2-site-alert-card .rcg-site-alert-summary-preview-label,
.rcg2-app .rcg-site-alert-badge,
.rcg2-app .rcg2-alert-steps b,
.rcg2-login-panel__footer,
.rcg2-login-panel :is(.rcg-access-eyebrow, .rcg-login-secure, .rcg2-login-secure) {
	font-size: 10px;
}

.rcg2-app .rcg2-ai-chip,
.rcg2-app .rcg2-badge,
.rcg2-app .rcg2-status {
	font-size: 9px;
}

.rcg2-app .rcg2-priority p,
.rcg2-app .rcg2-case-row__body strong,
.rcg-wrap :is(.widefat, .rcg-table, .rcg-stat-table) th {
	font-size: 13px;
}

/* Notes partagees 0.13.8 ------------------------------------------------ */

.rcg2-app .rcg2-dashboard-lead {
	display: grid;
	grid-template-columns: minmax(0, 1.72fr) minmax(276px, .76fr);
	grid-template-areas: "overview side";
	align-items: start;
	gap: 18px;
	margin: 18px 0 26px;
}

.rcg2-app .rcg2-dashboard-lead.is-single {
	grid-template-columns: minmax(0, 1fr);
	grid-template-areas: "overview";
}

.rcg2-app .rcg2-dashboard-lead .rcg2-dashboard-overview {
	grid-area: overview;
	margin: 0;
}

.rcg2-app .rcg2-dashboard-side {
	display: grid;
	grid-area: side;
	min-width: 0;
	align-content: start;
	gap: 18px;
}

.rcg2-app .rcg2-dashboard-side > :is(.rcg2-shared-notes, .rcg-today-panel, .rcg2-site-alert-card, .rcg-calendar-approvals) {
	grid-area: auto;
	margin: 0;
}

.rcg2-app .rcg2-dashboard-grid__side > .rcg-calendar-approvals {
	margin: 0;
}

.rcg2-app .rcg2-shared-notes {
	position: relative;
	grid-area: notes;
	min-width: 0;
	padding: 18px;
	overflow: hidden;
	border: 1px solid rgba(var(--rcg2-accent-rgb), .34);
	border-radius: var(--rcg2-radius-lg);
	background:
		radial-gradient(circle at 100% 0, rgba(var(--rcg2-accent-rgb), .12), transparent 34%),
		var(--rcg2-surface);
	box-shadow: var(--rcg2-shadow-sm);
}

.rcg2-app .rcg2-shared-notes::before {
	position: absolute;
	top: 0;
	left: 22px;
	width: 58px;
	height: 4px;
	border-radius: 0 0 6px 6px;
	background: var(--rcg2-accent);
	content: "";
}

.rcg2-app .rcg2-shared-notes__heading {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 11px;
}

.rcg2-app .rcg2-shared-notes__heading :is(h2, p) {
	margin: 0;
}

.rcg2-app .rcg2-shared-notes__heading h2 {
	color: var(--rcg2-deep);
	font-size: 19px;
	line-height: 1.18;
}

.rcg2-app .rcg2-note-create-link {
	display: inline-flex;
	min-height: 34px;
	flex: 0 0 auto;
	align-items: center;
	padding: 6px 9px;
	border: 1px solid rgba(var(--rcg2-accent-rgb), .5);
	border-radius: 9px;
	background: var(--rcg2-accent-soft);
	color: var(--rcg2-accent-strong);
	font-size: 10px;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
}

.rcg2-app .rcg2-note-create-link:hover {
	border-color: var(--rcg2-accent-strong);
	color: var(--rcg2-deep);
}

.rcg2-app .rcg2-note-stack {
	display: grid;
	margin: 17px 2px 19px;
	padding: 0;
	list-style: none;
}

.rcg2-app .rcg2-note-stack > li {
	position: relative;
	min-width: 0;
}

.rcg2-app .rcg2-note-stack > li + li {
	margin-top: -7px;
}

/* Static cards only: the enhanced stack orders sheets by active state. */
.rcg2-app .rcg2-note-stack:not(.is-enhanced) > li:nth-child(1) { z-index: 3; }
.rcg2-app .rcg2-note-stack:not(.is-enhanced) > li:nth-child(2) { z-index: 2; }
.rcg2-app .rcg2-note-stack:not(.is-enhanced) > li:nth-child(3) { z-index: 1; }

.rcg2-app .rcg2-note {
	position: relative;
	display: flex;
	min-width: 0;
	min-height: 154px;
	flex-direction: column;
	padding: 14px 15px 13px;
	overflow: hidden;
	border: 1px solid rgba(35, 72, 78, .13);
	border-radius: 3px 4px 8px 4px;
	background:
		linear-gradient(155deg, rgba(255, 255, 255, .28), transparent 42%),
		#fff0a8;
	color: #263d42;
	box-shadow: 0 10px 20px rgba(20, 49, 54, .14), 0 2px 4px rgba(20, 49, 54, .08);
	overflow-wrap: anywhere;
	transform-origin: 50% 12%;
	transition: transform .14s ease, box-shadow .14s ease, opacity .14s ease;
}

.rcg2-app .rcg2-note::after {
	position: absolute;
	right: 0;
	bottom: 0;
	width: 28px;
	height: 18px;
	background: linear-gradient(145deg, transparent 48%, rgba(25, 64, 69, .07) 50%, rgba(255, 255, 255, .35));
	content: "";
	pointer-events: none;
}

.rcg2-app .rcg2-note--blue {
	background: linear-gradient(155deg, rgba(255, 255, 255, .3), transparent 42%), #dceefa;
}

.rcg2-app .rcg2-note--sage {
	background: linear-gradient(155deg, rgba(255, 255, 255, .3), transparent 42%), #e2f1dc;
}

.rcg2-app .rcg2-note--coral {
	background: linear-gradient(155deg, rgba(255, 255, 255, .3), transparent 42%), #f7ddd5;
}

.rcg2-app .rcg2-note--lavender {
	background: linear-gradient(155deg, rgba(255, 255, 255, .3), transparent 42%), #ebe2f4;
}

.rcg2-app .rcg2-note--rotation-1 { transform: rotate(-.85deg) translateX(1px); }
.rcg2-app .rcg2-note--rotation-2 { transform: rotate(.65deg) translateX(-1px); }
.rcg2-app .rcg2-note--rotation-3 { transform: rotate(-.35deg) translateX(2px); }
.rcg2-app .rcg2-note--rotation-4 { transform: rotate(.45deg) translateX(-2px); }
.rcg2-app .rcg2-note--rotation-5 { transform: rotate(-.55deg); }

.rcg2-app .rcg2-note:hover,
.rcg2-app .rcg2-note:focus-within {
	z-index: 6;
	box-shadow: 0 14px 27px rgba(20, 49, 54, .18), 0 2px 4px rgba(20, 49, 54, .08);
	transform: rotate(0) translateY(-2px);
}

.rcg2-app .rcg2-note.is-completed {
	opacity: .78;
}

.rcg2-app .rcg2-note__header,
.rcg2-app .rcg2-note__main {
	display: flex;
	align-items: flex-start;
	gap: 10px;
}

.rcg2-app .rcg2-note__header {
	justify-content: space-between;
	color: #40585d;
	font-size: 9px;
	font-weight: 600;
	letter-spacing: .065em;
}

.rcg2-app .rcg2-note__type {
	display: inline-flex;
	padding: 2px 6px;
	border: 1px solid rgba(38, 61, 66, .43);
	border-radius: 999px;
	font-size: 8px;
	font-weight: 600;
	letter-spacing: .05em;
	line-height: 1.4;
	text-transform: uppercase;
}

.rcg2-app .rcg2-note__main {
	flex: 1 1 auto;
	margin-top: 12px;
}

.rcg2-app .rcg2-note__body {
	min-width: 0;
	flex: 1 1 auto;
}

.rcg2-app .rcg2-note__attachment {
	display: grid;
	min-width: 0;
	gap: 6px;
	margin: 10px 0 0;
	padding: 7px;
	border: 1px solid rgba(38, 61, 66, .2);
	border-radius: 8px;
	background: rgba(255, 255, 255, .3);
}

.rcg2-app .rcg2-note__attachment-preview {
	display: block;
	overflow: hidden;
	border-radius: 6px;
	background: rgba(255, 255, 255, .42);
}

.rcg2-app .rcg2-note__attachment-preview:focus-visible,
.rcg2-app .rcg2-note__attachment figcaption a:focus-visible {
	outline: 3px solid var(--rcg2-focus);
	outline-offset: 2px;
}

.rcg2-app .rcg2-note__attachment-preview img {
	display: block;
	width: 100%;
	max-height: 170px;
	object-fit: cover;
}

.rcg2-app .rcg2-note__attachment-pdf {
	display: inline-flex;
	width: fit-content;
	align-items: center;
	gap: 4px;
	padding: 6px 8px;
	border-radius: 7px;
	background: rgba(255, 255, 255, .5);
	color: #8a2d2d;
	font-size: 10px;
	font-weight: 700;
}

.rcg2-app .rcg2-note__attachment figcaption {
	display: flex;
	min-width: 0;
	align-items: baseline;
	justify-content: space-between;
	gap: 7px;
	font-size: 9px;
}

.rcg2-app .rcg2-note__attachment figcaption a {
	min-width: 0;
	overflow: hidden;
	color: #274f55;
	font-weight: 700;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.rcg2-app .rcg2-note__attachment figcaption small {
	flex: 0 0 auto;
	color: #52666d;
}

.rcg2-app .rcg2-note__attachments {
	display: grid;
	min-width: 0;
	justify-items: end;
	gap: 8px;
	margin: 10px 0 2px;
}

.rcg2-app .rcg2-note__gallery {
	width: min(136px, 46%);
	min-width: 110px;
	margin-right: 7px;
}

.rcg2-app .rcg2-note__photo-deck {
	display: grid;
	gap: 8px;
	margin: 0;
}

.rcg2-app .rcg2-note__photo-card {
	min-width: 0;
	margin: 0;
	padding: 6px 6px 5px;
	border: 1px solid rgba(62, 67, 63, .2);
	border-radius: 3px;
	background: #fffdfa;
	box-shadow: 0 5px 11px rgba(40, 48, 45, .16);
	transform: rotate(-1.25deg);
	transform-origin: 50% 12%;
}

.rcg2-app .rcg2-note__photo-card--tilt-2,
.rcg2-app .rcg2-note__photo-card--tilt-4 {
	transform: rotate(1.2deg);
}

.rcg2-app .rcg2-note__gallery.is-enhanced .rcg2-note__photo-deck {
	min-height: 118px;
}

.rcg2-app .rcg2-note__gallery.is-enhanced .rcg2-note__photo-card {
	grid-area: 1 / 1;
	transition: opacity .18s ease, transform .18s ease;
}

.rcg2-app .rcg2-note__gallery.is-enhanced .rcg2-note__photo-card.is-active {
	z-index: 3;
	opacity: 1;
}

.rcg2-app .rcg2-note__gallery.is-enhanced .rcg2-note__photo-card.is-next {
	z-index: 2;
	opacity: .92;
	pointer-events: none;
	transform: translate(7px, 5px) rotate(3deg);
}

.rcg2-app .rcg2-note__gallery.is-enhanced .rcg2-note__photo-card.is-after {
	z-index: 1;
	opacity: .76;
	pointer-events: none;
	transform: translate(-5px, 8px) rotate(-3.3deg);
}

.rcg2-app .rcg2-note__gallery.is-enhanced .rcg2-note__photo-card.is-hidden {
	visibility: hidden;
	opacity: 0;
	pointer-events: none;
}

.rcg2-app .rcg2-note__photo-card .rcg2-note__attachment-preview {
	display: block;
	border-radius: 1px;
	background: #eef0ec;
}

.rcg2-app .rcg2-note__photo-card .rcg2-note__attachment-preview img,
.rcg2-app .rcg2-note__preview-fallback {
	display: block;
	width: 100%;
	height: 82px;
	object-fit: cover;
}

.rcg2-app .rcg2-note__preview-fallback {
	display: grid;
	place-items: center;
	padding: 7px;
	color: #52666d;
	font-size: 9px;
	font-weight: 700;
	text-align: center;
}

.rcg2-app .rcg2-note__preview-fallback[hidden] {
	display: none;
}

.rcg2-app .rcg2-note__photo-card figcaption {
	display: flex;
	min-width: 0;
	align-items: center;
	justify-content: space-between;
	gap: 5px;
	margin-top: 5px;
	font-size: 8px;
}

.rcg2-app .rcg2-note__photo-card figcaption > span {
	min-width: 0;
	overflow: hidden;
	color: #40545a;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.rcg2-app .rcg2-note__photo-card figcaption a {
	flex: 0 0 auto;
	color: #24565d;
	font-weight: 700;
}

.rcg2-app .rcg2-note__gallery-controls {
	display: grid;
	grid-template-columns: 40px minmax(0, 1fr) 40px;
	align-items: center;
	gap: 2px;
	margin-top: 7px;
}

.rcg2-app .rcg2-note__gallery-controls[hidden] {
	display: none;
}

.rcg2-app .rcg2-note__gallery-controls button {
	display: inline-grid;
	width: 40px;
	height: 40px;
	place-items: center;
	padding: 0;
	border: 1px solid rgba(38, 61, 66, .24);
	border-radius: 50%;
	background: rgba(255, 255, 255, .56);
	color: #274f55;
	font: inherit;
	cursor: pointer;
}

.rcg2-app .rcg2-note__gallery-controls output {
	color: #40585e;
	font-size: 8px;
	font-weight: 700;
	text-align: center;
}

.rcg2-app .rcg2-note__pdf-list {
	display: grid;
	width: 100%;
	gap: 5px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.rcg2-app .rcg2-note__pdf-list li {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	align-items: center;
	gap: 6px;
	padding: 6px 7px;
	border: 1px solid rgba(38, 61, 66, .18);
	border-radius: 7px;
	background: rgba(255, 255, 255, .34);
	font-size: 9px;
}

.rcg2-app .rcg2-note__pdf-list a {
	min-width: 0;
	overflow: hidden;
	color: #274f55;
	font-weight: 700;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.rcg2-app .rcg2-note__pdf-list small {
	color: #52666d;
}

.rcg2-app .rcg2-note__auto-link {
	color: #185e68;
	font-weight: 700;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 2px;
	overflow-wrap: anywhere;
}

.rcg2-app .rcg2-note__category {
	margin: -1px 0 5px;
	color: #2d5056;
	font-size: 10px;
	font-weight: 600 !important;
	letter-spacing: .075em;
	line-height: 1.35;
	text-transform: uppercase;
	overflow-wrap: anywhere;
}

.rcg2-app .rcg2-note__content {
	min-width: 0;
	margin: 0;
	color: #263d42;
	font-size: 13px;
	line-height: 1.42;
}

.rcg2-app .rcg2-note.is-completed .rcg2-note__content {
	text-decoration: line-through;
	text-decoration-color: rgba(38, 61, 66, .58);
	text-decoration-thickness: 1px;
}

.rcg2-app .rcg2-note__complete-form {
	margin: 0;
}

.rcg2-app .rcg2-note__check,
.rcg2-app .rcg2-note__info {
	position: relative;
	display: grid;
	width: 23px;
	height: 23px;
	flex: 0 0 23px;
	place-items: center;
	border: 2px solid #36575c;
	border-radius: 6px;
	background: rgba(255, 255, 255, .22);
	color: #24474b;
	font-size: 15px;
	font-weight: 600;
}

.rcg2-app .rcg2-note__check input {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 44px;
	height: 44px;
	margin: 0;
	opacity: 0;
	cursor: pointer;
	transform: translate(-50%, -50%);
}

.rcg2-app .rcg2-note__check > span {
	opacity: 0;
}

.rcg2-app .rcg2-note__check:has(input:checked) > span,
.rcg2-app .rcg2-note__check.is-checked > span {
	opacity: 1;
}

.rcg2-app .rcg2-note__check:focus-within {
	outline: 3px solid var(--rcg2-focus);
	outline-offset: 3px;
}

.rcg2-app .rcg2-note__info {
	border-radius: 50%;
	font-family: Georgia, serif;
}

.rcg2-app .rcg2-note__footer {
	margin-top: 13px;
	padding-top: 8px;
	border-top: 1px solid rgba(38, 61, 66, .16);
	color: #53696d;
	font-size: 9px;
	line-height: 1.4;
}

.rcg2-app .rcg2-note__footer p {
	margin: 3px 0 0;
}

.rcg2-app .rcg2-note__completion {
	color: #1f6546;
}

.rcg2-app .rcg2-note__archive-date,
.rcg2-app .rcg2-note__visibility {
	color: #53696d;
}

.rcg2-app .rcg2-note__visibility .dashicons,
.rcg2-app .rcg2-note-history__visibility .dashicons {
	width: 13px;
	height: 13px;
	font-size: 13px;
	vertical-align: -2px;
}

.rcg2-app .rcg2-note__archive-form button {
	padding: 0;
	border: 0;
	background: transparent;
	color: #315e64;
	font-size: 9px;
	font-weight: 600;
	text-decoration: underline;
	cursor: pointer;
}

.rcg2-app .rcg2-shared-notes__empty {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 16px 0;
	padding: 13px;
	border: 1px dashed rgba(var(--rcg2-accent-rgb), .55);
	border-radius: 12px;
	background: rgba(var(--rcg2-accent-rgb), .08);
}

.rcg2-app .rcg2-shared-notes__empty > .dashicons {
	color: var(--rcg2-accent-strong);
	font-size: 22px;
}

.rcg2-app .rcg2-shared-notes__empty p,
.rcg2-app .rcg2-shared-notes__unavailable {
	margin: 0;
	font-size: 10px;
}

.rcg2-app .rcg2-shared-notes__footer {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 10px;
	padding-top: 11px;
	border-top: 1px solid var(--rcg2-border);
	font-size: 9px;
}

.rcg2-app .rcg2-shared-notes__footer p {
	margin: 0;
	color: var(--rcg2-muted);
}

.rcg2-app .rcg2-shared-notes__footer a {
	color: var(--rcg2-deep);
	font-weight: 600;
	text-decoration: none;
}

.rcg2-app .rcg2-shared-notes__footer a:hover {
	color: var(--rcg2-accent-strong);
}

.rcg2-app .rcg2-note-notice {
	margin: 12px 0 !important;
}

/* Ecran complet et historique. */
.rcg2-app .rcg2-notes-page-heading {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
}

.rcg2-app .rcg2-notes-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 22px 0;
}

.rcg2-app .rcg2-notes-tabs a {
	display: inline-flex;
	min-height: 39px;
	align-items: center;
	gap: 8px;
	padding: 7px 12px;
	border: 1px solid var(--rcg2-border);
	border-radius: 999px;
	background: var(--rcg2-surface);
	color: var(--rcg2-deep);
	font-size: 11px;
	font-weight: 600;
	text-decoration: none;
}

.rcg2-app .rcg2-notes-tabs a.is-active {
	border-color: var(--rcg2-deep);
	background: var(--rcg2-deep);
	color: #fff;
}

.rcg2-app .rcg2-notes-tabs span {
	display: inline-grid;
	min-width: 21px;
	min-height: 21px;
	place-items: center;
	padding: 1px 6px;
	border-radius: 999px;
	background: rgba(var(--rcg2-accent-rgb), .2);
}

.rcg2-app .rcg2-notes-tabs .is-active span {
	background: rgba(255, 255, 255, .16);
}

.rcg2-app .rcg2-notes-board {
	display: block;
	columns: 270px;
	column-gap: 20px;
	margin: 0;
	padding: 5px 4px 12px;
	list-style: none;
}

.rcg2-app .rcg2-notes-board .rcg2-note {
	min-height: 218px;
}

.rcg2-app .rcg2-notes-history {
	display: grid;
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.rcg2-app .rcg2-note-history {
	position: relative;
	display: grid;
	grid-template-columns: 8px minmax(0, 1fr);
	gap: 14px;
	padding: 16px 17px;
	overflow: hidden;
	border: 1px solid var(--rcg2-border);
	border-radius: var(--rcg2-radius);
	background: var(--rcg2-surface);
	box-shadow: var(--rcg2-shadow-sm);
}

.rcg2-app .rcg2-note-history__color {
	border-radius: 999px;
	background: #e6c84f;
}

.rcg2-app .rcg2-note-history--blue .rcg2-note-history__color { background: #72b2d1; }
.rcg2-app .rcg2-note-history--sage .rcg2-note-history__color { background: #83b66f; }
.rcg2-app .rcg2-note-history--coral .rcg2-note-history__color { background: #d9826d; }
.rcg2-app .rcg2-note-history--lavender .rcg2-note-history__color { background: #9b80bb; }

.rcg2-app .rcg2-note-history__body {
	min-width: 0;
}

.rcg2-app .rcg2-note-history__body p {
	margin: 5px 0 0;
}

.rcg2-app .rcg2-note-history__meta,
.rcg2-app .rcg2-note-history__archive,
.rcg2-app .rcg2-note-history__visibility {
	color: var(--rcg2-muted);
	font-size: 10px;
}

.rcg2-app .rcg2-note-history__meta {
	margin-top: 0 !important;
}

.rcg2-app .rcg2-note-history__meta > span {
	display: inline-flex;
	padding: 2px 7px;
	border-radius: 999px;
	background: var(--rcg2-accent-soft);
	color: var(--rcg2-accent-strong);
	font-size: 8px;
	font-weight: 600;
	text-transform: uppercase;
}

.rcg2-app .rcg2-note-history__content {
	color: var(--rcg2-ink);
	font-size: 14px;
	line-height: 1.48;
	overflow-wrap: anywhere;
}

.rcg2-app .rcg2-note-history__category {
	margin-top: 11px !important;
	color: var(--rcg2-accent-strong);
	font-size: 10px;
	font-weight: 600 !important;
	letter-spacing: .075em;
	text-transform: uppercase;
	overflow-wrap: anywhere;
}

.rcg2-app .rcg2-notes-page-empty {
	display: grid;
	place-items: center;
	padding: 34px;
	text-align: center;
}

.rcg2-app .rcg2-notes-page-empty > .dashicons {
	width: 42px;
	height: 42px;
	color: var(--rcg2-accent-strong);
	font-size: 42px;
}

.rcg2-app .rcg2-notes-page-empty :is(h2, p) {
	margin: 7px 0 0;
}

.rcg2-app .rcg2-notes-pagination {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	margin: 22px 0;
}

/* Dialogue de creation rapide. */
.rcg2-app .rcg2-note-dialog {
	width: min(620px, calc(100vw - 32px));
	max-width: none;
	max-height: min(780px, calc(100vh - 32px));
	padding: 0;
	overflow: hidden;
}

.rcg2-app .rcg2-note-dialog .rcg2-dialog__inner {
	display: grid;
	gap: 15px;
	max-height: inherit;
	overflow-y: auto;
}

.rcg2-app .rcg2-note-field {
	display: grid;
	gap: 7px;
}

.rcg2-app .rcg2-note-field > span,
.rcg2-app .rcg2-note-options legend,
.rcg2-app .rcg2-note-color-options legend {
	color: var(--rcg2-deep);
	font-size: 11px;
	font-weight: 600;
}

.rcg2-app .rcg2-note-field > span small {
	color: var(--rcg2-muted);
	font-size: 9px;
	font-weight: 500;
}

.rcg2-app .rcg2-note-field input[type="text"] {
	width: 100%;
	min-height: 44px;
	padding: 9px 12px;
	border: 1px solid var(--rcg2-border);
	border-radius: 11px;
	background: #fff;
	color: var(--rcg2-ink);
	font: inherit;
}

.rcg2-app .rcg2-note-field textarea {
	width: 100%;
	min-height: 112px;
	padding: 11px 12px;
	border: 1px solid var(--rcg2-border);
	border-radius: 11px;
	background: #fff;
	color: var(--rcg2-ink);
	font: inherit;
	resize: vertical;
}

.rcg2-app .rcg2-note-attachment-field {
	display: grid;
	gap: 9px;
	margin: 0;
	padding: 12px;
	border: 1px solid var(--rcg2-border);
	border-radius: 12px;
	background: rgba(var(--rcg2-accent-rgb), .06);
}

.rcg2-app .rcg2-note-attachment-field legend {
	padding: 0 5px;
	color: var(--rcg2-deep);
	font-weight: 700;
}

.rcg2-app .rcg2-note-attachment-field legend small,
.rcg2-app .rcg2-note-attachment-help,
.rcg2-app .rcg2-note-attachment-selection {
	color: var(--rcg2-muted);
	font-size: 11px;
	font-weight: 500;
}

.rcg2-app .rcg2-note-attachment-picker {
	display: grid;
	gap: 6px;
	font-weight: 600;
}

.rcg2-app .rcg2-note-attachment-picker input[type="file"] {
	min-width: 0;
	max-width: 100%;
}

.rcg2-app .rcg2-note-attachment-current {
	display: grid;
	min-width: 0;
	gap: 6px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.rcg2-app .rcg2-note-attachment-current li {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	align-items: center;
	gap: 9px;
	padding: 9px;
	border-radius: 9px;
	background: var(--rcg2-surface);
}

.rcg2-app .rcg2-note-attachment-current li > span:nth-child(2) {
	display: grid;
	min-width: 0;
	gap: 2px;
}

.rcg2-app .rcg2-note-attachment-current strong {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.rcg2-app .rcg2-note-attachment-current small {
	color: var(--rcg2-muted);
}

.rcg2-app .rcg2-note-attachment-remove {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	color: #8a2d2d;
	font-size: 11px;
}

.rcg2-app .rcg2-note-attachment-selection[hidden] {
	display: none;
}

.rcg2-app .rcg2-note-field input[type="text"]:focus,
.rcg2-app .rcg2-note-field textarea:focus {
	border-color: var(--rcg2-accent-strong);
}

.rcg2-app .rcg2-note-counter {
	margin: -12px 0 0;
	color: var(--rcg2-muted);
	font-size: 9px;
	text-align: right;
}

.rcg2-app .rcg2-note-options,
.rcg2-app .rcg2-note-color-options {
	display: grid;
	gap: 8px;
	margin: 0;
	padding: 0;
	border: 0;
}

.rcg2-app .rcg2-note-type-options {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.rcg2-app .rcg2-note-type-options legend,
.rcg2-app .rcg2-note-color-options legend {
	grid-column: 1 / -1;
	margin-bottom: 2px;
}

.rcg2-app .rcg2-note-type-options > label {
	display: grid;
	grid-template-columns: auto 24px minmax(0, 1fr);
	align-items: center;
	gap: 8px;
	padding: 10px;
	border: 1px solid var(--rcg2-border);
	border-radius: 11px;
	background: #fff;
	cursor: pointer;
}

.rcg2-app .rcg2-note-type-options > label:hover {
	border-color: rgba(var(--rcg2-accent-rgb), .8);
}

.rcg2-app .rcg2-note-type-options > label.is-selected {
	border-color: var(--rcg2-accent-strong);
	background: var(--rcg2-accent-soft);
}

.rcg2-app .rcg2-note-type-options .dashicons {
	color: var(--rcg2-accent-strong);
}

.rcg2-app .rcg2-note-type-options :is(strong, small) {
	display: block;
}

.rcg2-app .rcg2-note-type-options strong {
	font-size: 11px;
}

.rcg2-app .rcg2-note-type-options small {
	margin-top: 2px;
	color: var(--rcg2-muted);
	font-size: 9px;
}

.rcg2-app .rcg2-note-color-options {
	grid-template-columns: repeat(5, minmax(0, 1fr));
}

.rcg2-app .rcg2-note-color {
	position: relative;
	display: grid;
	place-items: center;
	gap: 5px;
	padding: 7px 3px;
	border: 1px solid transparent;
	border-radius: 9px;
	cursor: pointer;
}

.rcg2-app .rcg2-note-color:hover {
	background: rgba(var(--rcg2-accent-rgb), .08);
}

.rcg2-app .rcg2-note-color.is-selected {
	border-color: var(--rcg2-accent-strong);
	background: var(--rcg2-accent-soft);
}

.rcg2-app .rcg2-note-color:focus-within,
.rcg2-app .rcg2-note-type-options > label:focus-within {
	outline: 3px solid var(--rcg2-focus);
	outline-offset: 3px;
}

.rcg2-app .rcg2-note-color > span {
	display: block;
	width: 31px;
	height: 31px;
	border: 1px solid rgba(23, 58, 66, .17);
	border-radius: 7px;
	background: #fff0a8;
	box-shadow: 0 3px 7px rgba(20, 49, 54, .08);
}

.rcg2-app .rcg2-note-color--blue > span { background: #dceefa; }
.rcg2-app .rcg2-note-color--sage > span { background: #e2f1dc; }
.rcg2-app .rcg2-note-color--coral > span { background: #f7ddd5; }
.rcg2-app .rcg2-note-color--lavender > span { background: #ebe2f4; }

.rcg2-app .rcg2-note-color input {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
}

.rcg2-app .rcg2-note-visibility {
	padding: 11px 12px;
	border: 1px solid var(--rcg2-border);
	border-radius: 11px;
	background: #f7faf8;
}

.rcg2-app .rcg2-note-visibility summary {
	color: var(--rcg2-deep);
	font-size: 11px;
	cursor: pointer;
}

.rcg2-app .rcg2-note-visibility summary .dashicons {
	color: var(--rcg2-accent-strong);
	font-size: 16px;
	vertical-align: -3px;
}

.rcg2-app .rcg2-note-visibility summary small {
	color: var(--rcg2-muted);
	font-weight: 400;
}

.rcg2-app .rcg2-note-visibility > p,
.rcg2-app .rcg2-note-visibility-default,
.rcg2-app .rcg2-note-dialog__automatic {
	margin: 7px 0 0;
	color: var(--rcg2-muted);
	font-size: 9px;
}

.rcg2-app .rcg2-note-visibility__users {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 7px;
	margin-top: 10px;
}

.rcg2-app .rcg2-note-visibility__users label {
	display: flex;
	min-width: 0;
	align-items: center;
	gap: 7px;
	padding: 8px;
	border: 1px solid transparent;
	border-radius: 8px;
	background: #fff;
	font-size: 10px;
	cursor: pointer;
}

.rcg2-app .rcg2-note-visibility__users label:has(input:checked) {
	border-color: var(--rcg2-accent-strong);
	background: var(--rcg2-accent-soft);
}

.rcg2-app .rcg2-note-visibility__users span {
	min-width: 0;
	overflow-wrap: anywhere;
}

.rcg2-app .rcg2-note-dialog__automatic .dashicons,
.rcg2-app .rcg2-note-visibility-default .dashicons {
	width: 15px;
	height: 15px;
	color: var(--rcg2-accent-strong);
	font-size: 15px;
	vertical-align: -3px;
}

@media (max-width: 960px) {
	.rcg2-app .rcg2-dashboard-lead {
		grid-template-columns: minmax(0, 1fr);
		grid-template-areas: "side" "overview";
	}

	.rcg2-app .rcg2-dashboard-lead.is-single {
		grid-template-areas: "overview";
	}

	.rcg2-app .rcg2-note-stack {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 9px;
	}

	.rcg2-app .rcg2-note-stack > li + li {
		margin-top: 0;
	}
}

@media (max-width: 760px) {
	.rcg2-app .rcg2-dashboard-lead {
		gap: 14px;
		margin: 14px 0 22px;
	}

	.rcg2-app .rcg2-shared-notes {
		padding: 16px 14px;
		border-radius: 17px;
	}

	.rcg2-app .rcg2-note-stack {
		grid-template-columns: minmax(0, 1fr);
		gap: 9px;
		margin-inline: 0;
	}

	.rcg2-app .rcg2-note,
	.rcg2-app .rcg2-note:hover,
	.rcg2-app .rcg2-note:focus-within {
		min-height: 0;
		transform: none;
	}

	.rcg2-app .rcg2-notes-board {
		columns: 1;
		padding-inline: 0;
	}

	.rcg2-app .rcg2-notes-board .rcg2-note {
		min-height: 0;
	}

	.rcg2-app .rcg2-notes-page-heading {
		align-items: stretch;
		flex-direction: column;
	}

	.rcg2-app .rcg2-note-dialog {
		width: min(100% - 20px, 620px);
		max-height: calc(100dvh - 20px);
	}
}

@media (max-width: 540px) {
	.rcg2-app .rcg2-note__gallery {
		width: 124px;
		min-width: 0;
		margin-right: 4px;
	}

	.rcg2-app .rcg2-note__photo-card .rcg2-note__attachment-preview img,
	.rcg2-app .rcg2-note__preview-fallback {
		height: 76px;
	}

	.rcg2-app .rcg2-note-attachment-current li {
		grid-template-columns: auto minmax(0, 1fr);
	}

	.rcg2-app .rcg2-note-attachment-remove {
		grid-column: 2;
	}

	.rcg2-app .rcg2-shared-notes__heading,
	.rcg2-app .rcg2-shared-notes__footer {
		align-items: stretch;
		flex-direction: column;
	}

	.rcg2-app .rcg2-note-create-link {
		justify-content: center;
	}

	.rcg2-app .rcg2-note-type-options,
	.rcg2-app .rcg2-note-visibility__users {
		grid-template-columns: minmax(0, 1fr);
	}

	.rcg2-app .rcg2-note-color-options {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.rcg2-app .rcg2-note-dialog .rcg2-dialog__actions {
		align-items: stretch;
		flex-direction: column-reverse;
	}

	.rcg2-app .rcg2-note-dialog .rcg2-dialog__actions .rcg2-button {
		width: 100%;
	}

	.rcg2-app .rcg2-notes-pagination {
		align-items: stretch;
		flex-direction: column;
		text-align: center;
	}
}

@media (prefers-reduced-motion: reduce) {
	.rcg2-app .rcg2-note,
	.rcg2-app .rcg2-note:hover,
	.rcg2-app .rcg2-note:focus-within,
	.rcg2-app .rcg2-note__gallery.is-enhanced .rcg2-note__photo-card {
		transition: none;
	}

	.rcg2-app .rcg2-note,
	.rcg2-app .rcg2-note:hover,
	.rcg2-app .rcg2-note:focus-within {
		transform: none;
	}
}

@media (forced-colors: active) {
	.rcg2-app .rcg2-note,
	.rcg2-app .rcg2-note-history,
	.rcg2-app .rcg2-shared-notes,
	.rcg2-app .rcg2-note-dialog {
		border: 1px solid CanvasText;
		box-shadow: none;
		forced-color-adjust: auto;
	}

	.rcg2-app .rcg2-note__photo-card,
	.rcg2-app .rcg2-note__gallery-controls button,
	.rcg2-app .rcg2-note__pdf-list li {
		border: 1px solid CanvasText;
		forced-color-adjust: auto;
	}

	.rcg2-app .rcg2-note-color.is-selected,
	.rcg2-app .rcg2-note-type-options > label.is-selected,
	.rcg2-app .rcg2-note-visibility__users label:has(input:checked) {
		outline: 2px solid Highlight;
		outline-offset: 2px;
	}
}

/* Notes partagees : lignes libres et checklist, sans modifier le post-it. */
.rcg2-app .rcg2-note__lines {
	display: grid;
	min-width: 0;
	gap: 0;
	margin: 0;
}

.rcg2-app .rcg2-note__text-line {
	min-width: 0;
	margin: 0;
	padding: 2px 0;
	color: #263d42;
	font-size: 13px;
	line-height: 1.42;
	white-space: pre-wrap;
	overflow-wrap: anywhere;
}

.rcg2-app .rcg2-note__line-space {
	display: block;
	min-height: .72em;
}

.rcg2-app .rcg2-note__item {
	display: grid;
	min-width: 0;
	grid-template-columns: 25px minmax(0, 1fr);
	align-items: start;
	gap: 8px;
	padding: 6px 0;
}

.rcg2-app .rcg2-note__item-form {
	width: 24px;
	margin: 0;
}

.rcg2-app .rcg2-note__item-check {
	position: relative;
	display: grid;
	width: 23px;
	height: 23px;
	place-items: center;
	border: 2px solid #36575c;
	border-radius: 7px;
	background: rgba(255, 255, 255, .22);
	color: #fff;
	cursor: pointer;
	transition: background-color .14s ease, border-color .14s ease;
}

.rcg2-app .rcg2-note__item-check input {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 44px;
	height: 44px;
	margin: 0;
	opacity: 0;
	cursor: pointer;
	transform: translate(-50%, -50%);
}

.rcg2-app .rcg2-note__item-check > span {
	opacity: 0;
	font-size: 14px;
	font-weight: 600;
	line-height: 1;
}

.rcg2-app .rcg2-note__item.is-checked .rcg2-note__item-check,
.rcg2-app .rcg2-note__item-check:has(input:checked) {
	border-color: #2c7160;
	background: #2c7160;
}

.rcg2-app .rcg2-note__item.is-checked .rcg2-note__item-check > span,
.rcg2-app .rcg2-note__item-check:has(input:checked) > span {
	opacity: 1;
}

.rcg2-app .rcg2-note__item-check:focus-within {
	outline: 3px solid var(--rcg2-focus);
	outline-offset: 3px;
}

.rcg2-app .rcg2-note__item-body {
	display: grid;
	min-width: 0;
	gap: 2px;
}

.rcg2-app .rcg2-note__item-label {
	min-width: 0;
	color: #263d42;
	font-size: 13px;
	line-height: 1.42;
	overflow-wrap: anywhere;
}

.rcg2-app .rcg2-note__item.is-checked .rcg2-note__item-label {
	color: #5b6c6e;
	text-decoration: line-through;
	text-decoration-color: rgba(38, 61, 66, .58);
	text-decoration-thickness: 1px;
}

.rcg2-app .rcg2-note__item-meta,
.rcg2-app .rcg2-note__item-expiry {
	color: #39705f;
	font-size: 9px;
	line-height: 1.4;
}

.rcg2-app .rcg2-note__item-expiry {
	color: #5f7074;
}

.rcg2-app .rcg2-note__item-status {
	color: #2c7160;
	font-size: 10px;
	font-weight: 600;
	line-height: 1.4;
}

.rcg2-app .rcg2-note__item-status.is-error {
	color: #8a2424;
}

.rcg2-app .rcg2-note__item-meta:empty,
.rcg2-app .rcg2-note__item-expiry:empty,
.rcg2-app .rcg2-note__item-status:empty {
	display: none;
}

.rcg2-app .rcg2-note__item-form[aria-busy="true"] .rcg2-note__item-check,
.rcg2-app .rcg2-note[aria-busy="true"] .rcg2-note__item-check {
	opacity: .62;
	cursor: progress;
}

.rcg2-app .rcg2-note__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 7px 10px;
	margin-top: 9px;
}

.rcg2-app .rcg2-note__actions .rcg2-note__archive-form {
	margin: 0;
}

.rcg2-app .rcg2-note__edit-button {
	display: inline-flex;
	min-height: 29px;
	align-items: center;
	gap: 5px;
	padding: 4px 8px;
	border: 1px solid rgba(38, 61, 66, .24);
	border-radius: 8px;
	background: rgba(255, 255, 255, .28);
	color: #315e64;
	font: inherit;
	font-size: 9px;
	font-weight: 600;
	cursor: pointer;
}

.rcg2-app .rcg2-note__edit-button:hover,
.rcg2-app .rcg2-note__edit-button:focus-visible {
	border-color: #315e64;
	background: rgba(255, 255, 255, .5);
}

.rcg2-app .rcg2-notes-archived {
	margin: 0 0 20px;
	padding: 0;
	border: 1px solid var(--rcg2-border);
	border-radius: var(--rcg2-radius);
	background: rgba(255, 255, 255, .55);
}

.rcg2-app .rcg2-notes-archived > summary {
	padding: 12px 14px;
	color: var(--rcg2-deep);
	font-size: 10px;
	font-weight: 600;
	cursor: pointer;
}

.rcg2-app .rcg2-notes-archived[open] > summary {
	border-bottom: 1px solid var(--rcg2-border);
}

.rcg2-app .rcg2-notes-archived > .rcg2-notes-board {
	margin: 0;
	padding: 16px;
}

.rcg2-app [data-rcg-note-history] {
	min-width: 0;
}

.rcg2-app [data-rcg-note-edit-dialog] .rcg2-note-dialog__form {
	max-height: inherit;
}

/* Synchronisation directe et presence sur une note partagee. */
.rcg2-app .rcg2-note__presence {
	display: inline-flex;
	max-width: 100%;
	align-items: flex-start;
	gap: 6px;
	margin: 8px 0 0;
	padding: 6px 9px;
	border: 1px solid rgba(var(--rcg2-accent-rgb), .32);
	border-radius: 999px;
	background: rgba(var(--rcg2-accent-rgb), .12);
	color: #245c61;
	font-size: 10px;
	font-weight: 600;
	line-height: 1.35;
}

.rcg2-app .rcg2-note__presence[hidden] {
	display: none !important;
}

.rcg2-app .rcg2-note__presence .dashicons {
	width: 14px;
	height: 14px;
	flex: 0 0 14px;
	font-size: 14px;
	line-height: 1;
}

.rcg2-app .rcg2-note__presence--dialog {
	display: flex;
	width: fit-content;
	margin: 0 0 13px;
}

.rcg2-app .rcg2-note-live-conflict {
	margin: 0 0 14px;
	padding: 10px 12px;
	border: 1px solid rgba(167, 103, 18, .35);
	border-radius: 10px;
	background: #fff6df;
	color: #70470f;
	font-size: 11px;
	font-weight: 600;
	line-height: 1.45;
}

.rcg2-app .rcg2-notes-live-status {
	margin: 10px 0 0;
	color: var(--rcg2-muted);
	font-size: 9px;
	line-height: 1.4;
	text-align: right;
}

.rcg2-app .rcg2-notes-live-status[hidden] {
	display: none !important;
}

.rcg2-app .rcg2-notes-live-status.is-error {
	color: #79511c;
}

/*
 * La feuille DA est chargée après admin.css. Ses anciennes règles génériques
 * remettaient les cartes améliorées dans le flux, malgré la pile fixe prévue
 * par le composant : une note longue pouvait alors passer sous la confirmation.
 */
.rcg2-app .rcg2-note-stack.is-enhanced {
	display: block;
	margin: 0;
}

.rcg2-app .rcg2-note-stack.is-enhanced > li,
.rcg2-app .rcg2-note-stack.is-enhanced > li + li {
	position: absolute;
	margin: 0;
}

/* Confirmation de l'ordre : ligne autonome sous la pile, jamais sur le texte. */
.rcg2-app .rcg2-note-stack-status:not([hidden]) {
	display: flex;
	position: static;
	z-index: auto;
	width: fit-content;
	max-width: calc(100% - 24px);
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	margin: 12px auto 0;
	padding: 7px 11px;
	border: 1px solid rgba(var(--rcg2-accent-rgb), .24);
	border-radius: 999px;
	background: rgba(255, 255, 255, .92);
	box-shadow: 0 5px 16px rgba(20, 49, 54, .08);
	color: #365c62;
	font-size: 10px;
	font-weight: 700;
	line-height: 1.35;
	text-align: center;
	overflow-wrap: anywhere;
}

.rcg2-app .rcg2-note.is-live-updated {
	animation: rcg2-note-live-update 1.2s ease-out;
}

@keyframes rcg2-note-live-update {
	0% {
		box-shadow: 0 0 0 3px rgba(var(--rcg2-accent-rgb), .36), 0 10px 20px rgba(20, 49, 54, .14), 0 2px 4px rgba(20, 49, 54, .08);
	}
	100% {
		box-shadow: 0 10px 20px rgba(20, 49, 54, .14), 0 2px 4px rgba(20, 49, 54, .08);
	}
}

@media (max-width: 540px) {
	.rcg2-app .rcg2-note__item {
		grid-template-columns: 24px minmax(0, 1fr);
		gap: 8px;
	}

	.rcg2-app .rcg2-note__actions {
		align-items: stretch;
	}

	.rcg2-app .rcg2-note__presence {
		width: 100%;
		box-sizing: border-box;
		border-radius: 10px;
	}

	.rcg2-app .rcg2-notes-live-status {
		text-align: left;
	}
}

@media (prefers-reduced-motion: reduce) {
	.rcg2-app .rcg2-note__item-check,
	.rcg2-app .rcg2-note.is-live-updated {
		transition: none;
		animation: none;
	}
}

@media (forced-colors: active) {
	.rcg2-app .rcg2-note__item-check,
	.rcg2-app .rcg2-note__edit-button,
	.rcg2-app .rcg2-note__presence,
	.rcg2-app .rcg2-note-live-conflict {
		border: 2px solid CanvasText;
		forced-color-adjust: auto;
	}

	.rcg2-app .rcg2-note__item.is-checked .rcg2-note__item-check,
	.rcg2-app .rcg2-note__item-check:has(input:checked) {
		background: Highlight;
		color: HighlightText;
	}
}

/* État commun des actions longues : retour visuel et protection anti double-clic. */
:where(.rcg-wrap, .rcg2-app, .rcg-access-shell) :where(button, a.button, a.rcg2-button).rcg-is-loading {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .55em;
	cursor: progress !important;
	pointer-events: none;
}

:where(.rcg-wrap, .rcg2-app, .rcg-access-shell) :where(button, a.button, a.rcg2-button).rcg-is-loading::after {
	width: .9em;
	height: .9em;
	flex: 0 0 .9em;
	border: 2px solid currentColor;
	border-right-color: transparent;
	border-radius: 50%;
	content: "";
	animation: rcg-button-loading-spin .72s linear infinite;
}

:where(.rcg-wrap, .rcg2-app, .rcg-access-shell) input.rcg-is-loading {
	cursor: progress !important;
}

:where(.rcg-wrap, .rcg2-app, .rcg-access-shell) form[aria-busy="true"] {
	cursor: progress;
}

.rcg-loading-status {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

@keyframes rcg-button-loading-spin {
	to {
		transform: rotate(360deg);
	}
}

@media (prefers-reduced-motion: reduce) {
	:where(.rcg-wrap, .rcg2-app, .rcg-access-shell) :where(button, a.button, a.rcg2-button).rcg-is-loading::after {
		animation: none;
		border-style: dotted;
	}
}

/* Four familiar zones: decisions, dates, recent changes and shortcuts. */
.rcg2-dashboard-focus{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(300px,1fr);gap:24px;align-items:start}
.rcg2-dashboard-zone{min-width:0;margin-bottom:24px}.rcg2-dashboard-zone-title{font-size:21px!important;margin:0 0 16px!important}
.rcg2-dashboard-zone .rcg2-priority{margin-top:0;padding:20px;flex-wrap:wrap}
.rcg2-dashboard-recent{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(300px,1fr);gap:24px;align-items:start}
.rcg2-dashboard-recent.is-single{grid-template-columns:1fr}.rcg2-dashboard-recent>*{grid-area:auto;min-width:0;margin:0!important}
.rcg2-app .rcg2-dashboard-shared{display:grid;grid-area:auto;gap:24px;min-width:0}.rcg2-dashboard-shared>*{grid-area:auto;margin:0!important;min-width:0}
.rcg2-home-habits{display:flex;flex-wrap:wrap;align-items:center;gap:14px;margin-top:18px}.rcg2-home-habits>strong{font-size:13px;color:var(--rcg2-muted)}
.rcg2-home-preferences{margin-top:14px;font-size:12px;color:var(--rcg2-muted)}.rcg2-home-preferences>summary{cursor:pointer}.rcg2-home-preferences label{display:inline-flex;gap:8px;align-items:center;margin-right:12px}
[data-rcg-home-habits][hidden],[data-rcg-home-usual][hidden],[data-rcg-home-module][hidden]{display:none!important}
.rcg2-focus-row{display:flex;flex-wrap:wrap;align-items:center;gap:12px;padding:15px 18px;margin:8px 0;background:var(--rcg2-surface);border:1px solid var(--rcg2-border);border-radius:12px;text-decoration:none;color:inherit}
.rcg2-focus-row>span:last-child{font-size:12px}.rcg2-upcoming{margin-top:18px}.rcg2-upcoming h3{font-size:15px}.rcg2-upcoming time{font-size:12px}
.rcg2-dashboard-fold{background:var(--rcg2-surface);border-radius:14px;padding:18px;margin:20px 0}.rcg2-dashboard-fold>summary{cursor:pointer;font-weight:700}
.rcg2-quick-actions .rcg2-quick-card__copy small{display:none}.rcg2-quick-actions .rcg2-quick-card{padding:14px;min-height:72px}
@media(max-width:1000px){.rcg2-dashboard-focus,.rcg2-dashboard-recent{grid-template-columns:1fr}}

/* Shortcut editing is confined to one account personalization dialog. */
.rcg-favorites { padding-bottom:12px; margin-bottom:12px; border-bottom:1px solid rgba(255,255,255,.16); }
.rcg-favorites [hidden] { display:none !important; }
.rcg-shortcuts-heading { display:flex; align-items:center; justify-content:space-between; gap:8px; padding:0 10px; }
.rcg2-nav .rcg-shortcuts-heading h2 { margin:0; color:#fff; font-size:13px; font-weight:650; line-height:1.4; }
.rcg2-nav button.rcg-shortcuts-customize, .rcg2-nav button.rcg-shortcuts-empty { display:inline-flex; align-items:center; grid-template-columns:none; gap:0; flex:none; width:auto; min-height:44px; margin:0; padding:8px 0; border:0; background:transparent; color:#d4d0e2; font:inherit; font-size:12px; cursor:pointer; box-shadow:none; }
.rcg2-nav button.rcg-shortcuts-empty { padding:8px 10px; text-align:left; }
.rcg2-nav button.rcg-shortcuts-customize:hover, .rcg2-nav button.rcg-shortcuts-empty:hover { color:#fff; text-decoration:underline; }
.rcg2-nav .rcg-shortcuts-dialog { box-sizing:border-box; width:min(440px,calc(100vw - 24px)); max-width:none; max-height:calc(100dvh - 32px); margin:auto; padding:24px; border:1px solid #e4e0ea; border-radius:18px; background:#fff; color:#292334; box-shadow:0 24px 80px #16112445; font:14px/1.5 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; overflow:auto; }
.rcg-shortcuts-dialog::backdrop { background:rgba(22,17,36,.45); }
.rcg-shortcuts-dialog-heading { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.rcg2-nav .rcg-shortcuts-dialog h2 { font:650 21px/1.3 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; color:#292334; margin:0; padding:0; }
.rcg2-nav .rcg-shortcuts-dialog p { color:#686170; font-size:13px; line-height:1.55; margin:10px 0 16px; }
.rcg-shortcuts-option { display:flex; align-items:center; gap:8px; min-height:52px; border-bottom:1px solid #eeeaf2; }
.rcg-shortcuts-option label { flex:1; display:flex; align-items:center; gap:12px; min-width:0; padding:12px 0; margin:0; cursor:pointer; font-weight:500; color:#292334; }
.rcg-shortcuts-option input[type=checkbox] { appearance:auto; -webkit-appearance:checkbox; width:18px; height:18px; min-width:18px; margin:0; accent-color:#645080; }
.rcg-shortcuts-option small { display:block; font-size:11px; font-weight:400; color:#746584; }
.rcg-shortcuts-order { display:flex; gap:2px; }
.rcg2-nav .rcg-shortcuts-dialog button { display:inline-flex; align-items:center; justify-content:center; flex:none; width:auto; min-width:44px; min-height:44px; padding:8px; margin:0; border:1px solid transparent; border-radius:8px; box-shadow:none; background:transparent; color:#59476f; font-family:inherit; font-size:18px; font-weight:600; line-height:1; cursor:pointer; }
.rcg2-nav .rcg-shortcuts-dialog button:hover { background:#f2eef7; }
.rcg2-nav .rcg-shortcuts-dialog button:disabled { opacity:.3; cursor:default; }
.rcg2-nav .rcg-shortcuts-dialog :focus-visible { outline:2px solid #705890; outline-offset:2px; }
.rcg2-nav button.rcg-shortcuts-customize:focus-visible, .rcg2-nav button.rcg-shortcuts-empty:focus-visible { outline:2px solid #e2c577; outline-offset:2px; }
.rcg-shortcuts-footer { position:sticky; bottom:-24px; background:#fff; padding:16px 0 0; }
.rcg2-nav .rcg-shortcuts-footer p { margin:0 0 12px; min-height:20px; }
.rcg2-nav .rcg-shortcuts-footer button { width:100%; background:#635079; color:#fff; font-size:14px; }
.rcg2-nav .rcg-shortcuts-footer button:hover { background:#514063; }
@media(max-width:480px) { .rcg2-nav .rcg-shortcuts-dialog { padding:18px; } .rcg-shortcuts-footer { bottom:-18px; } }

/* Compact phone header: readable greeting, notifications and account. */
.rcg2-profile-theme { display: none; }
@media (max-width: 700px) {
 .rcg2-topbar { gap: 8px; min-height: 82px; padding-block: 10px; }
 .rcg2-topbar__left { flex: 1 1 0; gap: 7px; }
 .rcg2-topbar__left > div { min-width: 0; padding: 5px 7px; border-radius: 9px; background: rgba(243,246,245,.94); }
 .rcg2-topbar .rcg2-topbar__title { font-size: 21px; line-height: 1.2; color: #173e44; overflow: visible; overflow-wrap: anywhere; text-overflow: clip; }
 .rcg2-topbar__left .rcg2-eyebrow, .rcg2-topbar .rcg2-clock, .rcg2-topbar .rcg-private-clock { display: none; }
 .rcg2-topbar__actions { flex: 0 0 auto; gap: 6px; }
 .rcg2-topbar .rcg2-menu-button, .rcg2-topbar .rcg2-notification-button { width: 44px; height: 44px; min-width: 44px; flex: 0 0 44px; }
 .rcg2-topbar .rcg2-profile { min-width: 44px; min-height: 44px; padding: 4px; }
 .rcg2-topbar .rcg2-profile__avatar { width: 34px; height: 34px; flex-basis: 34px; }
 .rcg2-profile-panel .rcg2-profile-theme { display: block; margin: 16px 0; }
 .rcg2-profile-theme > .rcg2-theme-button { width: 100%; min-height: 44px; justify-content: flex-start; padding: 8px 12px; }
 .rcg2-profile-theme > .rcg2-theme-button > span:last-child { display: inline; }
 .rcg2-note-inline-editor input[type="text"], .rcg2-note-inline-editor textarea { font-size: 16px; }
 .rcg2-note-inline-editor textarea { min-height: 130px; }
}

/* Dedicated notes module: expand the selected card while composing. */
.rcg2-notes-board > li:has(> .rcg2-note.is-inline-editing[data-rcg-note-context="page"]) {
    display: block;
    column-span: all;
    margin-inline: auto;
    width: 100%;
    max-width: 940px;
    justify-self: center;
    min-width: 0;
}
.rcg2-notes-board .rcg2-note.is-inline-editing[data-rcg-note-context="page"] {
    height: auto;
    max-height: none;
    transform: none;
}
.rcg2-note[data-rcg-note-context="page"] .rcg2-note-inline-editor__field--content {
    flex: 0 0 auto;
    grid-template-rows: auto auto;
}
.rcg2-note[data-rcg-note-context="page"] .rcg2-note-inline-editor__textarea-wrap {
    height: auto;
    overflow: visible;
}
.rcg2-note[data-rcg-note-context="page"] .rcg2-note-inline-editor textarea {
    min-height: 280px;
    max-height: none;
    overflow-y: hidden;
    resize: vertical;
}

/* Attachment thumbnails keep a usable download fallback on every screen. */
.rcg2-note__pdf-list{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(100px,1fr));gap:10px!important;padding:0!important;max-width:100%}
.rcg2-note__pdf-list .rcg-note-pdf-card{display:flex!important;flex-direction:column;align-items:stretch;gap:6px;min-width:0;padding:8px!important;border:1px solid rgba(88,66,128,.16);border-radius:10px;background:rgba(255,255,255,.65)}
.rcg-note-pdf-card>a:not(.rcg-note-pdf-thumbnail){font-size:12px;overflow-wrap:anywhere;min-height:24px}
.rcg-note-pdf-thumbnail{display:flex;align-items:center;justify-content:center;height:120px;min-height:44px;background:#fff;border-radius:7px;overflow:hidden}
.rcg-note-pdf-thumbnail canvas{display:block;max-width:100%;max-height:120px;object-fit:contain}.rcg-note-pdf-thumbnail [hidden]{display:none!important}
[data-rcg-calendar-url]:not([data-rcg-calendar-url=""]){cursor:pointer}
[data-rcg-calendar-url]:focus-visible,[id^="rcg-calendar-manage-"]:focus-visible{outline:3px solid var(--ml-purple,#7152a3);outline-offset:3px}
@media(max-width:600px){.rcg-approval-actions{display:flex;flex-wrap:wrap;gap:8px;min-width:0}.rcg-approval-actions form{max-width:100%}.rcg-approval-actions button{min-height:44px;white-space:normal}.rcg-note-pdf-thumbnail{height:105px}}
