:root {
	color-scheme: light;
	--notely-ink: #07152e;
	--notely-muted: #566174;
	--notely-muted-strong: #3f4b5f;
	--notely-heading: #07152e;
	--notely-value: #030914;
	--notely-border: #dce2ea;
	--notely-border-soft: rgba(7, 21, 46, 0.11);
	--notely-surface: #f5f7fb;
	--notely-surface-alt: #edf2f7;
	--notely-card: #fffffd;
	--notely-card-warm: #fffefa;
	--notely-plate: #f9fbfd;
	--notely-primary: #07152e;
	--notely-primary-dark: #030914;
	--notely-primary-soft: #eef3f8;
	--notely-action: #07152e;
	--notely-action-hover: #030914;
	--notely-on-action: #fff;
	--notely-accent: #b98d45;
	--notely-accent-soft: #f8f0e1;
	--notely-glass: rgba(255, 255, 253, 0.78);
	--notely-rhythm-line: rgba(7, 21, 46, 0.045);
	--notely-measure-line: rgba(185, 141, 69, 0.2);
	--notely-brand-sheen: rgba(7, 21, 46, 0.07);
	--notely-brand-gold-sheen: rgba(185, 141, 69, 0.18);
	--notely-body-start: #fff;
	--notely-body-grid-line: rgba(7, 21, 46, 0.012);
	--notely-body-rhythm-line: rgba(7, 21, 46, 0.009);
	--notely-panel-bg: linear-gradient(180deg, rgba(255, 255, 253, 0.98), rgba(249, 251, 253, 0.94));
	--notely-panel-border: rgba(7, 21, 46, 0.1);
	--notely-control-bg: #fff;
	--notely-control-border: rgba(7, 21, 46, 0.13);
	--notely-control-track: #e7edf3;
	--notely-control-track-strong: #e9eef4;
	--notely-hover-bg: rgba(185, 141, 69, 0.12);
	--notely-active-bg: rgba(185, 141, 69, 0.14);
	--notely-active-border: rgba(185, 141, 69, 0.4);
	--notely-active-shadow: rgba(185, 141, 69, 0.28);
	--notely-focus-ring: rgba(185, 141, 69, 0.18);
	--notely-focus-ring-strong: rgba(185, 141, 69, 0.22);
	--notely-disabled-ink: rgba(7, 21, 46, 0.48);
	--notely-disabled-bg: #edf2f7;
	--notely-disabled-border: rgba(7, 21, 46, 0.1);
	--notely-inset-highlight: rgba(255, 255, 255, 0.18);
	--notely-overlay: rgba(7, 21, 46, 0.22);
	--notely-success: #2b6f4e;
	--notely-on-success: #fff;
	--notely-success-soft: #f4fbf7;
	--notely-success-border: #d8ecdf;
	--notely-danger: #b42318;
	--notely-danger-action: #b42318;
	--notely-on-danger: #fff;
	--notely-danger-soft: #fff2f0;
	--notely-danger-border: #ffd3cc;
	--notely-warning: #875300;
	--notely-warning-soft: #f8f0e1;
	--notely-warning-border: rgba(185, 141, 69, 0.32);
	--notely-muted-soft: #f7f8f9;
	--notely-skeleton-line: linear-gradient(90deg, rgba(220, 226, 234, 0.72), rgba(255, 255, 253, 0.92), rgba(220, 226, 234, 0.72));
	--notely-dropzone-bg: repeating-linear-gradient(0deg, transparent 0 21px, rgba(7, 21, 46, 0.035) 21px 22px), linear-gradient(180deg, rgba(255, 255, 253, 0.96), rgba(249, 251, 253, 0.92));
	--notely-dialog-bg: linear-gradient(180deg, rgba(255, 255, 253, 0.98), rgba(249, 251, 253, 0.94));
	--notely-hero-base: linear-gradient(135deg, rgba(255, 255, 253, 0.98) 0%, rgba(255, 255, 253, 0.96) 50%, rgba(248, 251, 253, 0.94) 100%);
	--notely-radius: 8px;
	--notely-radius-sm: 6px;
	--notely-shadow: 0 18px 42px rgba(7, 21, 46, 0.075);
	--notely-shadow-soft: 0 12px 30px rgba(7, 21, 46, 0.045);
	--notely-motion-fast: 140ms;
	--notely-motion: 220ms;
	--notely-motion-enter: 360ms;
	--notely-ease: cubic-bezier(0.2, 0.8, 0.2, 1);
	--notely-ease-soft: cubic-bezier(0.16, 1, 0.3, 1);
}

html[data-notely-theme="light"] {
	color-scheme: light;
}

html[data-notely-theme="dark"] {
	color-scheme: dark;
	--notely-ink: #f4f7fb;
	--notely-muted: #bcc7d6;
	--notely-muted-strong: #d3dce8;
	--notely-heading: #f8fbff;
	--notely-value: #eef5ff;
	--notely-border: #2f3b4f;
	--notely-border-soft: rgba(214, 224, 238, 0.16);
	--notely-surface: #080d18;
	--notely-surface-alt: #101827;
	--notely-card: #111a29;
	--notely-card-warm: #171b29;
	--notely-plate: #0d1523;
	--notely-primary: #38577e;
	--notely-primary-dark: #f4f7fb;
	--notely-primary-soft: rgba(129, 162, 207, 0.16);
	--notely-action: #2b476b;
	--notely-action-hover: #3a5f8d;
	--notely-on-action: #f8fbff;
	--notely-accent: #d2a760;
	--notely-accent-soft: rgba(210, 167, 96, 0.14);
	--notely-glass: rgba(13, 21, 35, 0.78);
	--notely-rhythm-line: rgba(214, 224, 238, 0.055);
	--notely-measure-line: rgba(210, 167, 96, 0.24);
	--notely-brand-sheen: rgba(214, 224, 238, 0.08);
	--notely-brand-gold-sheen: rgba(210, 167, 96, 0.2);
	--notely-body-start: #050913;
	--notely-body-grid-line: rgba(214, 224, 238, 0.032);
	--notely-body-rhythm-line: rgba(214, 224, 238, 0.026);
	--notely-panel-bg: linear-gradient(180deg, rgba(17, 26, 41, 0.96), rgba(12, 20, 34, 0.94));
	--notely-panel-border: rgba(214, 224, 238, 0.14);
	--notely-control-bg: #0b1423;
	--notely-control-border: rgba(214, 224, 238, 0.18);
	--notely-control-track: #1a2638;
	--notely-control-track-strong: #172236;
	--notely-hover-bg: rgba(210, 167, 96, 0.12);
	--notely-active-bg: rgba(210, 167, 96, 0.16);
	--notely-active-border: rgba(210, 167, 96, 0.44);
	--notely-active-shadow: rgba(210, 167, 96, 0.24);
	--notely-focus-ring: rgba(210, 167, 96, 0.22);
	--notely-focus-ring-strong: rgba(210, 167, 96, 0.28);
	--notely-disabled-ink: rgba(214, 224, 238, 0.42);
	--notely-disabled-bg: #111827;
	--notely-disabled-border: rgba(214, 224, 238, 0.12);
	--notely-inset-highlight: rgba(255, 255, 255, 0.08);
	--notely-overlay: rgba(2, 5, 12, 0.58);
	--notely-success: #74d19c;
	--notely-on-success: #061a10;
	--notely-success-soft: rgba(45, 120, 84, 0.16);
	--notely-success-border: rgba(116, 209, 156, 0.28);
	--notely-danger: #ff8a7d;
	--notely-danger-action: #9f332d;
	--notely-on-danger: #fff;
	--notely-danger-soft: rgba(180, 35, 24, 0.16);
	--notely-danger-border: rgba(255, 138, 125, 0.3);
	--notely-warning: #f0bd6a;
	--notely-warning-soft: rgba(210, 167, 96, 0.14);
	--notely-warning-border: rgba(210, 167, 96, 0.3);
	--notely-muted-soft: rgba(214, 224, 238, 0.07);
	--notely-skeleton-line: linear-gradient(90deg, rgba(37, 50, 70, 0.72), rgba(76, 93, 120, 0.48), rgba(37, 50, 70, 0.72));
	--notely-dropzone-bg: repeating-linear-gradient(0deg, transparent 0 21px, rgba(214, 224, 238, 0.04) 21px 22px), linear-gradient(180deg, rgba(17, 26, 41, 0.94), rgba(12, 20, 34, 0.92));
	--notely-dialog-bg: linear-gradient(180deg, rgba(17, 26, 41, 0.98), rgba(12, 20, 34, 0.94));
	--notely-hero-base: linear-gradient(135deg, rgba(17, 26, 41, 0.98) 0%, rgba(12, 20, 34, 0.96) 54%, rgba(10, 17, 30, 0.94) 100%);
	--notely-shadow: 0 18px 46px rgba(0, 0, 0, 0.42);
	--notely-shadow-soft: 0 12px 30px rgba(0, 0, 0, 0.28);
}

@media (prefers-color-scheme: dark) {
	html:not([data-notely-theme="light"]) {
		color-scheme: dark;
		--notely-ink: #f4f7fb;
		--notely-muted: #bcc7d6;
		--notely-muted-strong: #d3dce8;
		--notely-heading: #f8fbff;
		--notely-value: #eef5ff;
		--notely-border: #2f3b4f;
		--notely-border-soft: rgba(214, 224, 238, 0.16);
		--notely-surface: #080d18;
		--notely-surface-alt: #101827;
		--notely-card: #111a29;
		--notely-card-warm: #171b29;
		--notely-plate: #0d1523;
		--notely-primary: #38577e;
		--notely-primary-dark: #f4f7fb;
		--notely-primary-soft: rgba(129, 162, 207, 0.16);
		--notely-action: #2b476b;
		--notely-action-hover: #3a5f8d;
		--notely-on-action: #f8fbff;
		--notely-accent: #d2a760;
		--notely-accent-soft: rgba(210, 167, 96, 0.14);
		--notely-glass: rgba(13, 21, 35, 0.78);
		--notely-rhythm-line: rgba(214, 224, 238, 0.055);
		--notely-measure-line: rgba(210, 167, 96, 0.24);
		--notely-brand-sheen: rgba(214, 224, 238, 0.08);
		--notely-brand-gold-sheen: rgba(210, 167, 96, 0.2);
		--notely-body-start: #050913;
		--notely-body-grid-line: rgba(214, 224, 238, 0.032);
		--notely-body-rhythm-line: rgba(214, 224, 238, 0.026);
		--notely-panel-bg: linear-gradient(180deg, rgba(17, 26, 41, 0.96), rgba(12, 20, 34, 0.94));
		--notely-panel-border: rgba(214, 224, 238, 0.14);
		--notely-control-bg: #0b1423;
		--notely-control-border: rgba(214, 224, 238, 0.18);
		--notely-control-track: #1a2638;
		--notely-control-track-strong: #172236;
		--notely-hover-bg: rgba(210, 167, 96, 0.12);
		--notely-active-bg: rgba(210, 167, 96, 0.16);
		--notely-active-border: rgba(210, 167, 96, 0.44);
		--notely-active-shadow: rgba(210, 167, 96, 0.24);
		--notely-focus-ring: rgba(210, 167, 96, 0.22);
		--notely-focus-ring-strong: rgba(210, 167, 96, 0.28);
		--notely-disabled-ink: rgba(214, 224, 238, 0.42);
		--notely-disabled-bg: #111827;
		--notely-disabled-border: rgba(214, 224, 238, 0.12);
		--notely-inset-highlight: rgba(255, 255, 255, 0.08);
		--notely-overlay: rgba(2, 5, 12, 0.58);
		--notely-success: #74d19c;
		--notely-on-success: #061a10;
		--notely-success-soft: rgba(45, 120, 84, 0.16);
		--notely-success-border: rgba(116, 209, 156, 0.28);
		--notely-danger: #ff8a7d;
		--notely-danger-action: #9f332d;
		--notely-on-danger: #fff;
		--notely-danger-soft: rgba(180, 35, 24, 0.16);
		--notely-danger-border: rgba(255, 138, 125, 0.3);
		--notely-warning: #f0bd6a;
		--notely-warning-soft: rgba(210, 167, 96, 0.14);
		--notely-warning-border: rgba(210, 167, 96, 0.3);
		--notely-muted-soft: rgba(214, 224, 238, 0.07);
		--notely-skeleton-line: linear-gradient(90deg, rgba(37, 50, 70, 0.72), rgba(76, 93, 120, 0.48), rgba(37, 50, 70, 0.72));
		--notely-dropzone-bg: repeating-linear-gradient(0deg, transparent 0 21px, rgba(214, 224, 238, 0.04) 21px 22px), linear-gradient(180deg, rgba(17, 26, 41, 0.94), rgba(12, 20, 34, 0.92));
		--notely-dialog-bg: linear-gradient(180deg, rgba(17, 26, 41, 0.98), rgba(12, 20, 34, 0.94));
		--notely-hero-base: linear-gradient(135deg, rgba(17, 26, 41, 0.98) 0%, rgba(12, 20, 34, 0.96) 54%, rgba(10, 17, 30, 0.94) 100%);
		--notely-shadow: 0 18px 46px rgba(0, 0, 0, 0.42);
		--notely-shadow-soft: 0 12px 30px rgba(0, 0, 0, 0.28);
	}
}

* {
	box-sizing: border-box;
}

html {
	color: var(--notely-ink);
	font-family: "Avenir Next", Inter, "SF Pro Text", "Segoe UI", Roboto, Arial, sans-serif;
	line-height: 1.5;
	max-width: 100%;
	overflow-x: hidden;
}

html.notely-layer-open {
	overflow: hidden;
}

body {
	margin: 0;
	background-color: var(--notely-surface);
	background-image:
		linear-gradient(90deg, transparent 0 255px, var(--notely-body-grid-line) 255px 256px),
		repeating-linear-gradient(0deg, transparent 0 10px, var(--notely-body-rhythm-line) 10px 11px, transparent 11px 24px),
		linear-gradient(180deg, var(--notely-body-start) 0%, var(--notely-surface) 54%, var(--notely-surface-alt) 100%);
	background-size: 256px 100%, auto, auto;
	font-size: 16px;
	max-width: 100%;
	overflow-x: hidden;
}

@keyframes notely-content-enter {
	from {
		opacity: 0;
		transform: translateY(6px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes notely-surface-enter {
	from {
		opacity: 0;
		transform: translateY(4px) scale(0.996);
	}

	to {
		opacity: 1;
		transform: translateY(0) scale(1);
	}
}

@keyframes notely-skeleton-flow {
	from {
		background-position: 120% 0;
	}

	to {
		background-position: -120% 0;
	}
}

@keyframes notely-spin {
	to {
		transform: rotate(360deg);
	}
}

.notely-shell {
	min-height: 100vh;
	display: grid;
	grid-template-rows: auto 1fr auto;
	min-width: 0;
}

/* Mantiene il banner fuori dalla riga flessibile, lasciando espandere il contenuto sulle pagine corte. */
.notely-shell--impersonating {
	grid-template-rows: auto auto 1fr auto;
}

.notely-header,
.notely-footer {
	max-width: 100%;
	margin: 0 auto;
	padding: 18px 22px;
}

.notely-header {
	position: sticky;
	top: 0;
	z-index: 20;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	width: 100%;
	padding-inline: max(42px, calc((100vw - 1180px) / 2 + 22px));
	background: rgba(255, 255, 253, 0.9);
	border-bottom: 1px solid var(--notely-panel-border);
	backdrop-filter: blur(20px) saturate(1.18);
}

html[data-notely-theme="dark"] .notely-header {
	background: var(--notely-glass);
}

.notely-footer {
	width: min(1180px, 100%);
}

.notely-brand {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: var(--notely-ink);
	text-decoration: none;
	font-size: 1.45rem;
	font-weight: 500;
	line-height: 1;
}

.notely-brand-logo {
	width: 48px;
	height: auto;
	filter: drop-shadow(0 7px 12px rgba(7, 21, 46, 0.1));
}

.notely-brand-logo--dark {
	display: none;
}

html[data-notely-theme="dark"] .notely-brand-logo--light {
	display: none;
}

html[data-notely-theme="dark"] .notely-brand-logo--dark {
	display: block;
}

@media (prefers-color-scheme: dark) {
	html:not([data-notely-theme="light"]) .notely-brand-logo--light {
		display: none;
	}

	html:not([data-notely-theme="light"]) .notely-brand-logo--dark {
		display: block;
	}
}

.notely-header-tools {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 10px;
	min-width: 0;
}

.notely-nav {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-end;
	gap: 6px;
	min-width: 0;
	max-width: 100%;
	font-size: 0.91rem;
	font-weight: 500;
}

.notely-nav a {
	padding: 8px 10px;
	color: var(--notely-muted);
	border-radius: 0;
	text-decoration: none;
	white-space: nowrap;
	transition: background-color var(--notely-motion-fast) var(--notely-ease), color var(--notely-motion-fast) var(--notely-ease);
}

.notely-nav a:hover,
.notely-nav a:focus-visible {
	color: var(--notely-primary-dark);
	background: var(--notely-hover-bg);
	outline: none;
}

.notely-nav a.is-active,
.notely-nav a[aria-current="page"] {
	color: var(--notely-primary-dark);
	background: transparent;
	box-shadow: inset 0 -2px 0 var(--notely-accent);
}

.notely-theme-toggle {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: 42px;
	height: 42px;
	color: var(--notely-primary-dark);
	background: var(--notely-control-bg);
	border: 1px solid transparent;
	border-radius: 50%;
	box-shadow: 0 1px 0 var(--notely-inset-highlight) inset, 0 10px 20px rgba(7, 21, 46, 0.08);
	cursor: pointer;
}

.notely-theme-toggle:hover,
.notely-theme-toggle:focus-visible {
	background: var(--notely-hover-bg);
	border-color: var(--notely-active-border);
	outline: none;
	transform: translateY(-1px);
}

.notely-theme-toggle i {
	font-size: 1rem;
	line-height: 1;
}

.notely-command-trigger {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	flex: 0 0 auto;
	min-height: 42px;
	padding: 0 12px;
	color: var(--notely-primary-dark);
	background: var(--notely-control-bg);
	border: 1px solid transparent;
	border-radius: var(--notely-radius-sm);
	box-shadow: 0 1px 0 var(--notely-inset-highlight) inset, 0 10px 20px rgba(7, 21, 46, 0.08);
	font: inherit;
	font-size: 0.9rem;
	font-weight: 500;
	cursor: pointer;
	white-space: nowrap;
}

.notely-command-trigger:hover,
.notely-command-trigger:focus-visible {
	color: var(--notely-primary-dark);
	background: var(--notely-hover-bg);
	border-color: var(--notely-active-border);
	outline: none;
	transform: translateY(-1px);
}

.notely-command-trigger i {
	color: var(--notely-accent);
	font-size: 0.9rem;
}

.notely-command-trigger__label {
	line-height: 1;
}

.notely-notification-center,
.notely-account-menu {
	position: relative;
	flex: 0 0 auto;
}

.notely-header-shortcuts {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	flex: 0 0 auto;
}

.notely-notification-trigger,
.notely-account-trigger,
.notely-header-icon-link {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	color: var(--notely-primary-dark);
	background: var(--notely-control-bg);
	border: 1px solid transparent;
	border-radius: 50%;
	box-shadow: 0 1px 0 var(--notely-inset-highlight) inset, 0 10px 20px rgba(7, 21, 46, 0.08);
	font: inherit;
	cursor: pointer;
	text-decoration: none;
}

.notely-notification-trigger:hover,
.notely-notification-trigger:focus-visible,
.notely-account-trigger:hover,
.notely-account-trigger:focus-visible,
.notely-header-icon-link:hover,
.notely-header-icon-link:focus-visible {
	color: var(--notely-primary-dark);
	background: var(--notely-hover-bg);
	border-color: var(--notely-active-border);
	outline: none;
	transform: translateY(-1px);
}

.notely-notification-center.is-open .notely-notification-trigger,
.notely-notification-center.is-active .notely-notification-trigger,
.notely-account-menu.is-open .notely-account-trigger,
.notely-account-menu.is-active .notely-account-trigger,
.notely-header-icon-link.is-active {
	color: var(--notely-primary-dark);
	background: var(--notely-hover-bg);
	border-color: transparent;
}

.notely-notification-center.is-open .notely-notification-trigger:hover,
.notely-notification-center.is-active .notely-notification-trigger:hover,
.notely-account-menu.is-open .notely-account-trigger:hover,
.notely-account-menu.is-active .notely-account-trigger:hover,
.notely-header-icon-link.is-active:hover,
.notely-header-icon-link.is-active:focus-visible {
	border-color: var(--notely-active-border);
}

.notely-notification-center.has-unread .notely-notification-trigger i {
	color: var(--notely-accent);
}

.notely-header-icon-link.is-active i {
	color: var(--notely-accent);
}

.notely-notification-badge,
.notely-mobile-nav__badge {
	position: absolute;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 18px;
	height: 18px;
	padding: 0 5px;
	color: var(--notely-primary-dark);
	background: var(--notely-accent);
	border: 2px solid var(--notely-control-bg);
	border-radius: 999px;
	font-size: 0.68rem;
	font-weight: 700;
	line-height: 1;
	box-shadow: 0 8px 16px rgba(7, 21, 46, 0.16);
}

.notely-notification-badge {
	top: -3px;
	right: -3px;
}

.notely-account-popover {
	position: absolute;
	top: calc(100% + 12px);
	right: 0;
	z-index: 70;
	display: grid;
	gap: 6px;
	width: min(280px, calc(100vw - 32px));
	padding: 8px;
	background: var(--notely-card);
	border: 1px solid var(--notely-panel-border);
	border-radius: var(--notely-radius);
	box-shadow: var(--notely-shadow);
}

.notely-account-popover[hidden] {
	display: none;
}

.notely-account-popover__head {
	display: grid;
	gap: 2px;
	padding: 12px 12px 10px;
	border-bottom: 1px solid var(--notely-border-soft);
}

.notely-account-popover__head p,
.notely-account-popover__head strong,
.notely-account-popover__head small {
	margin: 0;
	min-width: 0;
	overflow-wrap: anywhere;
}

.notely-account-popover__head strong {
	color: var(--notely-value);
	font-size: 0.95rem;
	font-weight: 600;
	line-height: 1.25;
}

.notely-account-popover__head small {
	color: var(--notely-muted-strong);
	font-size: 0.78rem;
	line-height: 1.3;
}

.notely-account-item {
	display: grid;
	grid-template-columns: 26px minmax(0, 1fr);
	align-items: center;
	gap: 8px;
	min-height: 40px;
	padding: 0 10px;
	color: var(--notely-primary-dark);
	border: 1px solid transparent;
	border-radius: var(--notely-radius-sm);
	text-decoration: none;
	font-size: 0.88rem;
	font-weight: 600;
}

.notely-account-item i {
	color: var(--notely-accent);
	font-size: 0.95rem;
	text-align: center;
}

.notely-account-item:hover,
.notely-account-item:focus-visible,
.notely-account-item[aria-current="page"] {
	background: var(--notely-primary-soft);
	border-color: var(--notely-active-border);
	outline: none;
}

.notely-account-item.is-danger {
	color: var(--notely-danger);
}

.notely-account-item.is-danger i {
	color: var(--notely-danger);
}

.notely-notification-popover {
	position: absolute;
	top: calc(100% + 12px);
	right: 0;
	z-index: 70;
	display: grid;
	gap: 0;
	width: min(420px, calc(100vw - 32px));
	max-height: min(620px, calc(100vh - 118px));
	padding: 0;
	overflow: auto;
	background:
		linear-gradient(90deg, var(--notely-primary) 0 34px, transparent 34px 48px, var(--notely-accent) 48px 62px, transparent 62px 100%) 0 0 / 100% 3px no-repeat,
		var(--notely-card);
	border: 1px solid var(--notely-panel-border);
	border-radius: var(--notely-radius);
	box-shadow: var(--notely-shadow);
}

.notely-notification-popover[hidden] {
	display: none;
}

.notely-notification-popover__head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 14px;
	padding: 20px 20px 14px;
	border-bottom: 1px solid var(--notely-border-soft);
}

.notely-notification-popover__head h2,
.notely-notification-popover__head p {
	margin: 0;
}

.notely-notification-popover__head h2 {
	color: var(--notely-heading);
	font-size: 1.08rem;
	line-height: 1.2;
	font-weight: 500;
}

.notely-notification-popover__head p:not(.notely-eyebrow) {
	color: var(--notely-muted-strong);
	font-size: 0.88rem;
}

.notely-notification-popover__head form {
	flex: 0 0 auto;
	margin: 0;
}

.notely-notification-list {
	display: grid;
	gap: 0;
	margin: 0;
	padding: 6px;
	list-style: none;
}

.notely-notification-item {
	display: grid;
	gap: 8px;
	padding: 12px;
	border: 1px solid transparent;
	border-bottom-color: var(--notely-border-soft);
	border-radius: var(--notely-radius-sm);
}

.notely-notification-item:last-child {
	border-bottom-color: transparent;
}

.notely-notification-item.is-unread {
	background: var(--notely-accent-soft);
	border-color: var(--notely-warning-border);
}

.notely-notification-item__main {
	display: grid;
	grid-template-columns: 34px minmax(0, 1fr) auto;
	gap: 10px;
	align-items: start;
	color: var(--notely-ink);
	text-decoration: none;
}

.notely-notification-item__main:hover,
.notely-notification-item__main:focus-visible {
	color: var(--notely-primary-dark);
	outline: none;
}

.notely-notification-item__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	color: var(--notely-accent);
	background: var(--notely-control-bg);
	border: 1px solid var(--notely-border-soft);
	border-radius: 50%;
}

.notely-notification-item__copy {
	display: grid;
	gap: 3px;
	min-width: 0;
}

.notely-notification-item__status {
	color: var(--notely-accent);
	font-size: 0.68rem;
	font-weight: 700;
	text-transform: uppercase;
}

.notely-notification-item__copy strong,
.notely-notification-item__copy small {
	display: block;
	overflow-wrap: anywhere;
}

.notely-notification-item__copy strong {
	color: var(--notely-value);
	font-size: 0.94rem;
	line-height: 1.25;
	font-weight: 600;
}

.notely-notification-item__copy small,
.notely-notification-item time {
	color: var(--notely-muted-strong);
	font-size: 0.78rem;
	line-height: 1.3;
}

.notely-notification-item time {
	white-space: nowrap;
}

.notely-notification-item__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
	padding-left: 44px;
}

.notely-notification-item__actions form {
	margin: 0;
}

.notely-notification-item__actions a,
.notely-notification-item__actions button,
.notely-notification-all {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 30px;
	padding: 0 9px;
	color: var(--notely-primary-dark);
	background: var(--notely-control-bg);
	border: 1px solid var(--notely-border-soft);
	border-radius: var(--notely-radius-sm);
	font: inherit;
	font-size: 0.8rem;
	font-weight: 600;
	text-decoration: none;
	cursor: pointer;
}

.notely-notification-item__actions a:hover,
.notely-notification-item__actions a:focus-visible,
.notely-notification-item__actions button:hover,
.notely-notification-item__actions button:focus-visible,
.notely-notification-all:hover,
.notely-notification-all:focus-visible {
	background: var(--notely-primary-soft);
	border-color: var(--notely-active-border);
	outline: none;
}

.notely-notification-item__actions button:disabled {
	color: var(--notely-disabled-ink);
	background: var(--notely-disabled-bg);
	border-color: var(--notely-disabled-border);
	cursor: progress;
}

.notely-notification-empty {
	margin: 0;
	padding: 22px 20px;
	color: var(--notely-muted-strong);
	font-weight: 500;
}

.notely-notification-all {
	justify-self: stretch;
	min-height: 42px;
	margin: 0 12px 12px;
	background: var(--notely-primary-soft);
}

.notely-mobile-nav {
	display: none;
}

.notely-content {
	width: min(1180px, 100%);
	max-width: 100%;
	margin: 0 auto;
	padding: 38px 44px 44px;
}

@media (prefers-reduced-motion: no-preference) {
	.notely-content {
		animation: notely-content-enter var(--notely-motion-enter) var(--notely-ease-soft) backwards;
	}
}

.notely-hero,
.notely-panel,
.notely-card {
	position: relative;
	width: 100%;
	min-width: 0;
	max-width: 720px;
	padding: 28px;
	background: var(--notely-panel-bg);
	border: 1px solid var(--notely-panel-border);
	border-radius: var(--notely-radius);
	box-shadow: var(--notely-shadow-soft);
}

.notely-hero {
	display: flex;
	flex-direction: column;
	min-height: 280px;
	justify-content: center;
	overflow: hidden;
	max-width: 840px;
	background:
		linear-gradient(90deg, var(--notely-primary) 0 48px, transparent 48px 62px, var(--notely-accent) 62px 82px, transparent 82px 100%) 0 0 / 100% 3px no-repeat,
		linear-gradient(110deg, transparent 0 58%, var(--notely-brand-gold-sheen) 58% 60%, transparent 60% 100%),
		linear-gradient(124deg, transparent 0 68%, var(--notely-brand-sheen) 68% 73%, transparent 73% 100%),
		repeating-linear-gradient(0deg, transparent 0 20px, var(--notely-rhythm-line) 20px 21px),
		var(--notely-hero-base);
	border-color: rgba(185, 141, 69, 0.24);
	box-shadow: var(--notely-shadow-soft);
	color: var(--notely-ink);
}

.notely-hero::after {
	position: absolute;
	inset: 30px 34px 30px auto;
	width: min(34%, 190px);
	background: url("../img/favicon.svg") center / contain no-repeat;
	content: "";
	opacity: 0.06;
	pointer-events: none;
}

.notely-hero > * {
	position: relative;
	z-index: 1;
}

.notely-panel {
	min-width: 0;
	max-width: none;
}

@media (prefers-reduced-motion: no-preference) {
	.notely-hero,
	.notely-panel,
	.notely-card,
	.notely-anchor-nav {
		animation: notely-surface-enter var(--notely-motion-enter) var(--notely-ease-soft) backwards;
	}

	.notely-hero,
	.notely-panel,
	.notely-card,
	.notely-switch,
	.notely-pipeline-item,
	.notely-feed li,
	.notely-steps li,
	.notely-dialog-preview,
	.notely-dropzone,
	.notely-empty-state {
		transition: transform var(--notely-motion) var(--notely-ease), border-color var(--notely-motion) var(--notely-ease), box-shadow var(--notely-motion) var(--notely-ease), background-color var(--notely-motion) var(--notely-ease);
	}

	.notely-hero:hover,
	.notely-panel:hover,
	.notely-card:hover,
	.notely-switch:hover,
	.notely-pipeline-item:hover,
	.notely-feed li:hover,
	.notely-steps li:hover,
	.notely-dialog-preview:hover,
	.notely-dropzone:hover,
	.notely-empty-state:hover {
		transform: translateY(-1px);
		box-shadow: var(--notely-shadow);
	}

	.notely-hero::after {
		transition: opacity var(--notely-motion) var(--notely-ease), transform var(--notely-motion) var(--notely-ease);
	}

	.notely-hero:hover::after {
		opacity: 0.08;
		transform: translateX(-4px);
	}
}

.notely-eyebrow {
	margin: 0 0 8px;
	color: var(--notely-value);
	font-size: 0.8rem;
	font-weight: 500;
	text-transform: uppercase;
}

.notely-hero .notely-eyebrow {
	color: var(--notely-accent);
}

.notely-hero .notely-text {
	color: var(--notely-muted);
}

.notely-title {
	margin: 0 0 12px;
	color: var(--notely-heading);
	font-size: clamp(2rem, 3.2vw, 2.75rem);
	line-height: 1.1;
	font-weight: 500;
}

.notely-section-title {
	margin: 0 0 10px;
	color: var(--notely-heading);
	font-size: clamp(1.65rem, 2.5vw, 2.3rem);
	line-height: 1.15;
	font-weight: 500;
}

.notely-card-title {
	margin: 0 0 14px;
	color: var(--notely-heading);
	font-size: 1.15rem;
	line-height: 1.25;
	font-weight: 500;
}

.notely-text {
	margin: 0 0 22px;
	color: var(--notely-muted-strong);
}

.notely-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.notely-anchor-nav {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	padding: 8px;
	background: var(--notely-glass);
	border: 1px solid var(--notely-panel-border);
	border-radius: var(--notely-radius);
	box-shadow: 0 1px 0 var(--notely-inset-highlight);
	backdrop-filter: blur(14px);
}

.notely-anchor-nav a {
	display: inline-flex;
	align-items: center;
	min-height: 34px;
	padding: 0 12px;
	color: var(--notely-primary-dark);
	background: transparent;
	border: 1px solid transparent;
	border-radius: var(--notely-radius-sm);
	font-weight: 500;
	text-decoration: none;
}

.notely-anchor-nav a:hover,
.notely-anchor-nav a:focus-visible {
	background: var(--notely-control-bg);
	border-color: var(--notely-active-border);
	outline: none;
}

.notely-anchor-nav a.is-active,
.notely-anchor-nav a[aria-current="location"] {
	color: var(--notely-primary-dark);
	background: var(--notely-control-bg);
	border-color: var(--notely-active-border);
	box-shadow: 0 1px 0 var(--notely-inset-highlight);
}

.notely-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	min-height: 42px;
	padding: 0 16px;
	color: var(--notely-on-action);
	background: var(--notely-action);
	border: 1px solid var(--notely-action);
	border-radius: var(--notely-radius-sm);
	text-decoration: none;
	font-weight: 500;
	cursor: pointer;
	box-shadow: 0 1px 0 var(--notely-inset-highlight) inset, 0 10px 18px rgba(7, 21, 46, 0.12);
	transition: background-color var(--notely-motion-fast) var(--notely-ease), border-color var(--notely-motion-fast) var(--notely-ease), box-shadow var(--notely-motion-fast) var(--notely-ease), transform var(--notely-motion-fast) var(--notely-ease);
}

.notely-button:hover,
.notely-button:focus-visible {
	background: var(--notely-action-hover);
	box-shadow: 0 10px 20px rgba(3, 9, 20, 0.16);
	outline: none;
	transform: translateY(-1px);
}

.notely-button.secondary {
	color: var(--notely-primary-dark);
	background: var(--notely-accent-soft);
	border-color: var(--notely-warning-border);
	box-shadow: none;
}

.notely-button.secondary:hover,
.notely-button.secondary:focus-visible {
	color: var(--notely-primary-dark);
	background: var(--notely-warning-soft);
	border-color: var(--notely-accent);
}

.notely-button.ghost {
	color: var(--notely-ink);
	background: var(--notely-control-bg);
	border-color: var(--notely-border);
	box-shadow: none;
}

.notely-button.ghost:hover,
.notely-button.ghost:focus-visible {
	color: var(--notely-primary-dark);
	background: var(--notely-primary-soft);
	border-color: var(--notely-primary);
}

.notely-button.danger {
	color: var(--notely-on-danger);
	background: var(--notely-danger-action);
	box-shadow: 0 8px 16px rgba(180, 35, 24, 0.13);
}

.notely-button:disabled,
.notely-button.is-loading {
	color: var(--notely-disabled-ink);
	background: var(--notely-disabled-bg);
	border-color: var(--notely-disabled-border);
	box-shadow: none;
	cursor: not-allowed;
	transform: none;
}

.notely-button.is-loading {
	gap: 8px;
	cursor: progress;
}

.notely-button.is-loading::before {
	width: 13px;
	height: 13px;
	border: 2px solid var(--notely-disabled-border);
	border-top-color: var(--notely-accent);
	border-radius: 50%;
	content: "";
}

.notely-button.compact {
	min-height: 36px;
	padding: 0 11px;
	font-size: 0.9rem;
}

.notely-button i {
	color: inherit;
	font-size: 0.95em;
	line-height: 1;
}

@media (prefers-reduced-motion: no-preference) {
	.notely-nav a,
		.notely-anchor-nav a,
		.notely-theme-toggle,
		.notely-command-trigger,
		.notely-account-trigger,
		.notely-header-icon-link,
		.notely-account-item,
		.notely-notification-trigger,
		.notely-notification-item__main,
	.notely-notification-item__actions a,
	.notely-notification-item__actions button,
	.notely-notification-all,
	.notely-mobile-nav__link,
	.notely-button,
	.notely-segmented button,
	.notely-segmented a,
	.notely-layer-close,
	.notely-command-item,
	.notely-pagination a,
	.notely-pagination button {
		transition: background-color var(--notely-motion-fast) var(--notely-ease), border-color var(--notely-motion-fast) var(--notely-ease), box-shadow var(--notely-motion-fast) var(--notely-ease), color var(--notely-motion-fast) var(--notely-ease), transform var(--notely-motion-fast) var(--notely-ease);
	}

	.notely-nav a:hover,
	.notely-nav a:focus-visible,
	.notely-anchor-nav a:hover,
	.notely-anchor-nav a:focus-visible,
	.notely-theme-toggle:hover,
		.notely-theme-toggle:focus-visible,
		.notely-command-trigger:hover,
		.notely-command-trigger:focus-visible,
		.notely-account-trigger:hover,
		.notely-account-trigger:focus-visible,
		.notely-header-icon-link:hover,
		.notely-header-icon-link:focus-visible,
		.notely-account-item:hover,
		.notely-account-item:focus-visible,
		.notely-notification-trigger:hover,
	.notely-notification-trigger:focus-visible,
	.notely-notification-item__main:hover,
	.notely-notification-item__main:focus-visible,
	.notely-notification-item__actions a:hover,
	.notely-notification-item__actions a:focus-visible,
	.notely-notification-item__actions button:hover,
	.notely-notification-item__actions button:focus-visible,
	.notely-notification-all:hover,
	.notely-notification-all:focus-visible,
	.notely-mobile-nav__link:hover,
	.notely-mobile-nav__link:focus-visible,
	.notely-segmented button:hover,
	.notely-segmented button:focus-visible,
	.notely-segmented a:hover,
	.notely-segmented a:focus-visible,
	.notely-layer-close:hover,
	.notely-layer-close:focus-visible,
	.notely-command-item:hover,
	.notely-command-item:focus-visible,
	.notely-pagination a:hover,
	.notely-pagination a:focus-visible,
	.notely-pagination button:hover,
	.notely-pagination button:focus-visible {
		transform: translateY(-1px);
	}

	.notely-button.is-loading::before {
		animation: notely-spin 780ms linear infinite;
	}

	.notely-button:disabled:hover,
	.notely-button.is-loading:hover {
		box-shadow: none;
		transform: none;
	}
}

.notely-auth {
	max-width: 560px;
	margin: 0 auto;
}

.notely-stack {
	display: grid;
	gap: 28px;
	min-width: 0;
}

.notely-dashboard-head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 18px;
	min-width: 0;
}

.notely-page-hero {
	position: relative;
	align-items: center;
	min-height: 190px;
	padding: 18px 0 20px;
	overflow: hidden;
}

/* L'eco del marchio replica il watermark del mockup senza aggiungere markup decorativo. */
.notely-page-hero::after {
	position: absolute;
	inset: 12px 190px 0 auto;
	width: min(280px, 34vw);
	background: url("../img/favicon.svg") center / contain no-repeat;
	content: "";
	opacity: 0.045;
	pointer-events: none;
}

.notely-page-hero > * {
	position: relative;
	z-index: 1;
}

.notely-page-hero .notely-eyebrow {
	color: var(--notely-accent);
}

.notely-page-hero .notely-section-title {
	margin-bottom: 18px;
	font-size: clamp(2.75rem, 5vw, 4rem);
	line-height: 1.02;
}

.notely-page-hero .notely-text {
	margin-bottom: 0;
	color: var(--notely-muted-strong);
	font-size: 1.14rem;
}

.notely-page-hero .notely-button {
	min-height: 58px;
	padding-inline: 24px;
	font-size: 1rem;
	box-shadow: 0 18px 28px rgba(7, 21, 46, 0.17);
}

.notely-page-hero--compact {
	min-height: 126px;
	padding-top: 12px;
	padding-bottom: 0;
}

.notely-page-hero--compact .notely-section-title {
	margin-bottom: 12px;
	font-size: clamp(2rem, 3.5vw, 2.55rem);
	line-height: 1.08;
}

.notely-page-hero--compact .notely-text {
	max-width: 430px;
	font-size: 1.06rem;
	line-height: 1.55;
}

.notely-grid {
	display: grid;
	align-items: stretch;
	gap: 18px;
	min-width: 0;
}

.notely-grid.two {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.notely-grid.three {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.notely-grid.four {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.notely-grid.five {
	grid-template-columns: repeat(5, minmax(0, 1fr));
}

/* La pagina di creazione organizzazione usa un form più compatto rispetto alle dashboard operative. */
.notely-group-create {
	max-width: 1040px;
	margin-inline: auto;
}

.notely-group-create .notely-dashboard-head {
	align-items: flex-end;
}

.notely-group-create .notely-section-title {
	max-width: 760px;
	margin-bottom: 0;
}

.notely-group-create__panel {
	max-width: 1040px;
	margin-inline: auto;
	padding: 30px;
}

.notely-group-create .notely-form {
	gap: 22px;
}

.notely-group-create__field {
	min-width: 0;
}

.notely-group-create__field label {
	display: block;
}

.notely-group-create .notely-form-note {
	margin: 0;
	color: var(--notely-muted);
	font-size: 0.9rem;
}

.notely-group-create .notely-form-note span,
.notely-group-create .notely-field-label em {
	color: var(--notely-accent);
	font-style: normal;
	font-weight: 700;
}

.notely-group-create__location.notely-grid.two {
	grid-template-columns: minmax(0, 1.4fr) minmax(140px, 0.6fr);
}

.notely-group-create__settings.notely-grid.two {
	grid-template-columns: minmax(140px, 0.6fr) minmax(0, 1.4fr);
}

.notely-toolkit {
	gap: 16px;
}

.notely-toolkit-head {
	align-items: center;
	min-height: 128px;
	padding-top: 10px;
}

.notely-toolkit-head .notely-section-title {
	margin-bottom: 8px;
	font-size: clamp(2.05rem, 3.5vw, 3rem);
	line-height: 1.05;
}

.notely-toolkit-head .notely-text {
	max-width: 700px;
	margin-bottom: 0;
}

.notely-toolkit-tabs {
	gap: 30px;
	padding: 0;
	background: transparent;
	border: 0;
	border-bottom: 1px solid var(--notely-border-soft);
	border-radius: 0;
	box-shadow: none;
	backdrop-filter: none;
}

.notely-toolkit-tabs a {
	min-height: 48px;
	padding: 0 2px;
	color: var(--notely-muted-strong);
	background: transparent;
	border: 0;
	border-bottom: 2px solid transparent;
	border-radius: 0;
	font-size: 0.93rem;
}

.notely-toolkit-tabs a:hover,
.notely-toolkit-tabs a:focus-visible,
.notely-toolkit-tabs a.is-active,
.notely-toolkit-tabs a[aria-current="location"] {
	color: var(--notely-primary-dark);
	background: transparent;
	border-bottom-color: var(--notely-accent);
	box-shadow: none;
}

.notely-toolkit-brand-grid {
	gap: 16px;
}

.notely-toolkit-brand-card,
.notely-toolkit-logo-card {
	min-height: 220px;
	overflow: hidden;
}

/* Replica il grande segno di brand del mockup senza aggiungere markup decorativo. */
.notely-toolkit-brand-card::after {
	position: absolute;
	inset: 8px 28px 8px auto;
	width: min(260px, 48%);
	background: url("../img/favicon.svg") center / contain no-repeat;
	content: "";
	opacity: 0.07;
	pointer-events: none;
}

.notely-toolkit-brand-card > * {
	position: relative;
	z-index: 1;
}

.notely-toolkit-brand-card .notely-title {
	font-size: clamp(2.25rem, 4vw, 3.1rem);
}

.notely-toolkit-mantra {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	margin: 8px 0 0;
	color: var(--notely-primary-dark);
	font-size: 0.85rem;
	font-weight: 700;
	letter-spacing: 0.28em;
	text-transform: uppercase;
}

.notely-toolkit-mantra span {
	width: 5px;
	height: 5px;
	background: var(--notely-accent);
	border-radius: 999px;
}

.notely-toolkit-logo-card {
	display: grid;
	align-content: center;
}

.notely-toolkit-logo-card .notely-fluid-media {
	max-height: 170px;
}

.notely-toolkit-guidelines ul {
	display: grid;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.notely-toolkit-guidelines li {
	display: grid;
	grid-template-columns: 36px minmax(0, 1fr);
	gap: 12px;
	align-items: center;
	min-height: 48px;
	padding: 8px 10px;
	background: var(--notely-control-bg);
	border: 1px solid var(--notely-border-soft);
	border-radius: var(--notely-radius);
	color: var(--notely-muted-strong);
}

.notely-toolkit-guidelines strong {
	color: var(--notely-primary-dark);
	font-weight: 700;
}

.notely-toolkit-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	color: var(--notely-on-action);
	background: var(--notely-primary);
	border-radius: 999px;
	font-size: 0.88rem;
}

.notely-toolkit-color-panel,
.notely-toolkit-type-panel,
.notely-toolkit-button-panel,
.notely-toolkit-alert-panel,
.notely-toolkit-tab-panel,
.notely-toolkit-table-panel {
	padding: 22px;
}

.notely-toolkit-swatches {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 18px;
	margin-top: 14px;
}

.notely-toolkit-swatch,
.notely-toolkit-semantic-row div {
	display: grid;
	gap: 4px;
	min-width: 0;
}

.notely-toolkit-swatch > span {
	display: block;
	height: 38px;
	background: var(--notely-swatch-color);
	border: 1px solid var(--notely-border-soft);
	border-radius: var(--notely-radius-sm);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.48);
}

.notely-toolkit-swatch strong,
.notely-toolkit-semantic-row strong {
	color: var(--notely-primary-dark);
	font-size: 0.82rem;
	font-weight: 700;
}

.notely-toolkit-swatch code,
.notely-toolkit-semantic-row code {
	color: var(--notely-muted-strong);
	background: transparent;
	font-size: 0.78rem;
	padding: 0;
}

.notely-toolkit-subtitle {
	margin: 24px 0 10px;
	color: var(--notely-primary-dark);
	font-size: 0.9rem;
	font-weight: 700;
}

.notely-toolkit-semantic-row {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 14px;
}

.notely-toolkit-semantic-row span {
	width: 22px;
	height: 22px;
	background: var(--notely-swatch-color);
	border-radius: 999px;
	box-shadow: 0 0 0 4px var(--notely-primary-soft);
}

.notely-toolkit-type-lockup {
	display: grid;
	grid-template-columns: minmax(170px, 0.75fr) minmax(0, 1.25fr);
	gap: 20px;
	align-items: center;
}

.notely-toolkit-type-lockup > div {
	display: grid;
	gap: 4px;
}

.notely-toolkit-type-lockup strong {
	color: var(--notely-primary-dark);
	font-size: clamp(4rem, 8vw, 6rem);
	line-height: 0.95;
	font-weight: 500;
}

.notely-toolkit-type-lockup span {
	color: var(--notely-primary-dark);
	font-size: 1.05rem;
	font-weight: 500;
}

.notely-toolkit-type-lockup table {
	width: 100%;
	border-collapse: collapse;
}

.notely-toolkit-type-lockup th,
.notely-toolkit-type-lockup td {
	padding: 7px 0;
	color: var(--notely-primary-dark);
	font-size: 0.92rem;
	text-align: left;
}

.notely-toolkit-type-lockup th {
	width: 34%;
	font-weight: 700;
}

.notely-toolkit-type-lockup td {
	font-weight: 500;
}

.notely-toolkit-button-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 18px;
}

.notely-toolkit-button-grid > div {
	display: grid;
	align-content: start;
	gap: 8px;
	min-width: 0;
}

.notely-toolkit-button-grid span,
.notely-toolkit-button-states {
	color: var(--notely-primary-dark);
	font-size: 0.82rem;
	font-weight: 700;
}

.notely-toolkit-button-panel hr {
	margin: 22px 0;
	border: 0;
	border-top: 1px solid var(--notely-border-soft);
}

.notely-toolkit-text-action,
.notely-toolkit-button-states a,
.notely-toolkit-mini-card a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	width: fit-content;
	color: var(--notely-primary-dark);
	text-decoration: none;
	font-weight: 700;
}

.notely-toolkit-text-action:hover,
.notely-toolkit-text-action:focus-visible,
.notely-toolkit-button-states a:hover,
.notely-toolkit-button-states a:focus-visible,
.notely-toolkit-mini-card a:hover,
.notely-toolkit-mini-card a:focus-visible {
	color: var(--notely-accent);
	outline: none;
}

.notely-toolkit-button-states {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 14px;
	align-items: center;
}

.notely-toolkit-hover-demo {
	background: var(--notely-action-hover);
	box-shadow: 0 10px 20px rgba(3, 9, 20, 0.16);
	transform: translateY(-1px);
}

.notely-toolkit-form .notely-grid.three {
	gap: 10px;
}

.notely-toolkit-input-active {
	border-color: var(--notely-primary) !important;
	box-shadow: 0 0 0 3px rgba(7, 21, 46, 0.08) !important;
}

.notely-toolkit-component-row {
	gap: 12px;
}

.notely-toolkit-mini-card {
	display: grid;
	align-content: start;
	gap: 12px;
	min-height: 160px;
	padding: 18px;
}

.notely-toolkit-mini-card .notely-eyebrow {
	margin-bottom: 0;
}

.notely-toolkit-mini-card p {
	margin: 0;
	color: var(--notely-muted-strong);
	font-size: 0.9rem;
}

.notely-toolkit-card-title {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 8px;
}

.notely-toolkit-card-title i {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	color: var(--notely-accent);
	border: 1px solid var(--notely-warning-border);
	border-radius: var(--notely-radius-sm);
}

.notely-toolkit-plain-list {
	display: grid;
	gap: 0;
	margin: 0;
	padding: 0;
	list-style: none;
}

.notely-toolkit-plain-list li {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding: 9px 0;
	border-bottom: 1px solid var(--notely-border-soft);
	color: var(--notely-primary-dark);
	font-size: 0.9rem;
	font-weight: 700;
}

.notely-toolkit-plain-list li:last-child {
	border-bottom: 0;
}

.notely-toolkit-mini-card .notely-status-row,
.notely-toolkit-mini-card .notely-chip-group,
.notely-toolkit-avatar-row {
	gap: 8px;
}

.notely-toolkit-mini-card .notely-status {
	min-height: 28px;
	padding: 4px 8px;
}

.notely-toolkit-mini-card .notely-chip {
	min-height: 30px;
	padding-inline: 9px;
	background: var(--notely-card-warm);
	border-color: var(--notely-warning-border);
	cursor: default;
}

.notely-toolkit-avatar-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
}

.notely-toolkit-avatar-row + .notely-toolkit-avatar-row {
	margin-top: 6px;
}

.notely-toolkit-avatar-row .notely-avatar {
	width: 40px;
	height: 40px;
	border: 2px solid var(--notely-control-bg);
	border-radius: 999px;
	box-shadow: 0 8px 18px rgba(7, 21, 46, 0.12);
}

.notely-toolkit-avatar-row .notely-avatar:nth-child(2) {
	background: #7c2d12;
}

.notely-toolkit-avatar-row .notely-avatar:nth-child(3) {
	background: #172554;
}

.notely-toolkit-avatar-row strong {
	color: var(--notely-primary-dark);
	font-size: 0.95rem;
}

.notely-toolkit-alert {
	display: grid;
	grid-template-columns: 22px minmax(0, 1fr) 18px;
	gap: 10px;
	align-items: center;
	min-height: 34px;
	padding: 7px 10px;
	border: 1px solid transparent;
	border-radius: var(--notely-radius-sm);
	font-size: 0.9rem;
	font-weight: 700;
}

.notely-toolkit-alert.is-success {
	color: #0f7a3a;
	background: #eef9f1;
	border-color: #ccebd5;
}

.notely-toolkit-alert.is-info {
	color: #1d5fd1;
	background: #eff6ff;
	border-color: #c9ddff;
}

.notely-toolkit-alert.is-warning {
	color: #955600;
	background: #fff7e6;
	border-color: #fde2a4;
}

.notely-toolkit-alert.is-danger {
	color: #bd1f1f;
	background: #fff1f1;
	border-color: #ffc9c9;
}

.notely-toolkit-inline-tabs {
	display: flex;
	gap: 28px;
	border-bottom: 1px solid var(--notely-border-soft);
}

.notely-toolkit-inline-tabs button {
	min-height: 44px;
	padding: 0 0 10px;
	color: var(--notely-muted-strong);
	background: transparent;
	border: 0;
	border-bottom: 2px solid transparent;
	font: inherit;
	font-size: 0.9rem;
	font-weight: 700;
	cursor: pointer;
}

.notely-toolkit-inline-tabs button:hover,
.notely-toolkit-inline-tabs button:focus-visible,
.notely-toolkit-inline-tabs button.is-active {
	color: var(--notely-primary-dark);
	border-bottom-color: var(--notely-accent);
	outline: none;
}

.notely-toolkit-tab-panel .notely-text {
	max-width: 620px;
	margin: 16px 0 0;
	font-size: 0.92rem;
}

.notely-toolkit-table-panel .notely-table {
	min-width: 760px;
}

.notely-toolkit-table-panel .notely-table th,
.notely-toolkit-table-panel .notely-table td {
	padding: 11px 10px;
}

.notely-toolkit-icon-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	color: var(--notely-primary-dark);
	background: transparent;
	border: 0;
	border-radius: var(--notely-radius-sm);
	cursor: pointer;
}

.notely-toolkit-icon-button:hover,
.notely-toolkit-icon-button:focus-visible {
	background: var(--notely-primary-soft);
	outline: none;
}

.notely-toolkit-table-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-top: 14px;
	color: var(--notely-muted-strong);
	font-size: 0.9rem;
}

.notely-form {
	display: grid;
	gap: 18px;
	min-width: 0;
}

.notely-filter-panel {
	padding: 34px 36px;
}

.notely-select-shell {
	position: relative;
}

/* L'icona del campo resta fuori dal valore nativo, così il select mantiene fallback e tastiera. */
.notely-select-shell i {
	position: absolute;
	top: 50%;
	left: 18px;
	z-index: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	color: var(--notely-accent);
	background: var(--notely-accent-soft);
	border-radius: 50%;
	transform: translateY(-50%);
	pointer-events: none;
}

.notely-form .notely-select-shell select {
	min-height: 64px;
	padding-left: 64px;
	padding-right: 40px;
}

.notely-filter-panel .notely-actions {
	margin-top: 4px;
}

.notely-filter-panel .notely-button {
	min-height: 56px;
	padding-inline: 22px;
}

.notely-panel > .notely-anchor-nav {
	margin-bottom: 18px;
}

.notely-form-toolbar {
	position: sticky;
	top: 78px;
	z-index: 12;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	padding: 10px;
	background: var(--notely-glass);
	border: 1px solid var(--notely-panel-border);
	border-radius: var(--notely-radius);
	box-shadow: 0 10px 24px rgba(7, 21, 46, 0.08);
	backdrop-filter: blur(18px) saturate(1.12);
}

.notely-summary {
	display: grid;
	gap: 10px;
	margin-bottom: 18px;
	padding: 14px;
	background: var(--notely-plate);
	border: 1px solid var(--notely-border-soft);
	border-radius: var(--notely-radius);
}

.notely-summary.compact {
	margin-bottom: 16px;
}

.notely-summary strong {
	display: block;
	color: var(--notely-value);
	font-size: 1.8rem;
	font-weight: 500;
	line-height: 1;
}

.notely-summary span {
	display: block;
	margin-top: 4px;
	color: var(--notely-muted-strong);
	font-size: 0.94rem;
}

.notely-summary-main {
	display: grid;
	gap: 4px;
}

.notely-completion-list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 8px;
	margin: 2px 0 0;
	padding: 0;
	list-style: none;
}

.notely-completion-list a {
	display: grid;
	grid-template-columns: 18px minmax(0, 1fr);
	gap: 9px;
	height: 100%;
	padding: 10px;
	color: var(--notely-value);
	background: var(--notely-control-bg);
	border: 1px solid var(--notely-border-soft);
	border-radius: var(--notely-radius-sm);
	text-decoration: none;
}

.notely-completion-list a:hover,
.notely-completion-list a:focus-visible {
	border-color: rgba(185, 141, 69, 0.4);
	box-shadow: 0 0 0 3px rgba(185, 141, 69, 0.12);
	outline: none;
}

.notely-completion-list strong,
.notely-completion-list small {
	display: block;
	margin: 0;
}

.notely-completion-list strong {
	font-size: 0.9rem;
	line-height: 1.25;
}

.notely-completion-list small {
	margin-top: 3px;
	color: var(--notely-muted-strong);
	font-size: 0.82rem;
	line-height: 1.35;
}

.notely-completion-marker {
	width: 18px;
	height: 18px;
	margin-top: 1px;
	border: 1px solid var(--notely-border);
	border-radius: 50%;
	background: var(--notely-control-bg);
}

.notely-completion-list .is-done .notely-completion-marker {
	background: var(--notely-success);
	border-color: var(--notely-success);
	box-shadow: inset 0 0 0 4px var(--notely-control-bg);
}

.notely-completion-list .is-missing a {
	background: var(--notely-card-warm);
	border-color: rgba(185, 141, 69, 0.34);
}

.notely-completion-list .is-missing .notely-completion-marker {
	border-color: var(--notely-accent);
	background: var(--notely-accent-soft);
}

.notely-section-head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 16px;
}

.notely-subpanel {
	min-width: 0;
}

.notely-press-logo {
	display: block;
	width: auto;
	max-width: 160px;
	max-height: 80px;
	margin-bottom: 18px;
	object-fit: contain;
}

.notely-press-photo {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 10;
	object-fit: cover;
	border: 1px solid var(--notely-border-soft);
	border-radius: var(--notely-radius-sm);
	box-shadow: var(--notely-shadow-soft);
}

.notely-attendance-counts {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 10px;
	margin-bottom: 18px;
}

.notely-attendance-count {
	display: grid;
	gap: 4px;
	padding: 12px;
	background: var(--notely-plate);
	border: 1px solid var(--notely-border-soft);
	border-radius: var(--notely-radius-sm);
}

.notely-attendance-count strong {
	font-size: 1.65rem;
	line-height: 1;
}

.notely-attendance-count span {
	color: var(--notely-muted);
	font-size: 0.9rem;
	font-weight: 700;
}

.notely-attendance-count.is-ready strong,
.notely-attendance-pill.is-ready {
	color: var(--notely-success);
}

.notely-attendance-count.is-danger strong,
.notely-attendance-pill.is-danger {
	color: var(--notely-danger);
}

.notely-attendance-count.is-warning strong,
.notely-attendance-pill.is-warning {
	color: var(--notely-warning);
}

.notely-attendance-count.is-muted strong,
.notely-attendance-pill.is-muted {
	color: var(--notely-muted);
}

.notely-attendance-pill {
	flex: 0 0 auto;
	padding: 5px 8px;
	background: var(--notely-control-bg);
	border: 1px solid var(--notely-border-soft);
	border-radius: var(--notely-radius-sm);
	font-size: 0.84rem;
	font-weight: 800;
}

.notely-criticality.is-danger strong {
	color: var(--notely-danger);
}

.notely-criticality.is-warning strong {
	color: var(--notely-warning);
}

.notely-criticality.is-ready strong {
	color: var(--notely-success);
}

.notely-criticality.is-muted strong {
	color: var(--notely-muted);
}

.notely-section-attendance-list {
	display: grid;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.notely-section-attendance-list li {
	display: grid;
	gap: 3px;
	padding-bottom: 10px;
	border-bottom: 1px solid var(--notely-border-soft);
}

.notely-section-attendance-list li:last-child {
	padding-bottom: 0;
	border-bottom: 0;
}

.notely-section-attendance-list span {
	color: var(--notely-muted);
	font-size: 0.92rem;
	font-weight: 600;
}

.notely-progress {
	width: 100%;
	height: 10px;
	overflow: hidden;
	background: var(--notely-control-track);
	border: 0;
	border-radius: 999px;
}

.notely-progress::-webkit-progress-bar {
	background: var(--notely-control-track);
	border-radius: 999px;
}

.notely-progress::-webkit-progress-value {
	background: var(--notely-accent);
	border-radius: 999px;
}

.notely-progress::-moz-progress-bar {
	background: var(--notely-accent);
	border-radius: 999px;
}

.notely-form label,
.notely-form fieldset {
	min-width: 0;
}

.notely-form label span,
.notely-fieldset legend {
	display: block;
	margin: 0 0 6px;
	color: var(--notely-ink);
	font-size: 0.9rem;
	font-weight: 500;
}

.notely-form input,
.notely-form textarea,
.notely-form select {
	width: 100%;
	min-height: 42px;
	padding: 9px 12px;
	color: var(--notely-ink);
	background: var(--notely-control-bg);
	border: 1px solid var(--notely-control-border);
	border-radius: var(--notely-radius-sm);
	font: inherit;
	font-weight: 400;
	transition: border-color var(--notely-motion-fast) var(--notely-ease), box-shadow var(--notely-motion-fast) var(--notely-ease);
}

.notely-form input:focus,
.notely-form textarea:focus,
.notely-form select:focus {
	border-color: var(--notely-accent);
	box-shadow: 0 0 0 3px var(--notely-focus-ring);
	outline: none;
}

.notely-form [aria-invalid="true"] {
	border-color: var(--notely-danger);
	box-shadow: 0 0 0 3px rgba(180, 35, 24, 0.12);
}

.notely-form textarea {
	resize: vertical;
}

.notely-share-qr {
	align-items: center;
	background: var(--notely-plate);
	border: 1px solid var(--notely-border);
	border-radius: 8px;
	display: grid;
	gap: 1rem;
	grid-template-columns: minmax(120px, 180px) 1fr;
	margin: 0.75rem 0 1rem;
	padding: 1rem;
}

.notely-share-qr img {
	aspect-ratio: 1;
	background: #fff;
	border: 1px solid var(--notely-border);
	border-radius: 8px;
	box-shadow: 0 10px 24px rgba(7, 21, 46, 0.08);
	display: block;
	height: auto;
	max-width: 180px;
	padding: 0.5rem;
	width: 100%;
}

.notely-share-download {
	align-items: center;
	background: var(--notely-plate);
	border: 1px solid var(--notely-border);
	border-radius: 8px;
	display: grid;
	gap: 0.9rem;
	grid-template-columns: auto 1fr auto;
	margin: 0.75rem 0 1rem;
	padding: 1rem;
}

.notely-share-download i {
	align-items: center;
	background: #fff;
	border: 1px solid var(--notely-border);
	border-radius: 8px;
	color: var(--notely-primary);
	display: inline-flex;
	font-size: 1.35rem;
	height: 46px;
	justify-content: center;
	width: 46px;
}

.notely-share-download strong,
.notely-share-download span {
	display: block;
}

.notely-share-download strong {
	color: var(--notely-heading);
	font-weight: 500;
}

.notely-share-download span {
	color: var(--notely-muted);
	font-size: 0.9rem;
	margin-top: 0.15rem;
}

.notely-form small:not(.notely-control-help) {
	display: block;
	margin-top: 6px;
	color: var(--notely-danger);
	font-weight: 500;
}

.notely-control-help {
	margin: 6px 0 0;
	color: var(--notely-muted);
	font-size: 0.9rem;
}

.notely-field-error {
	margin: 6px 0 0;
	color: var(--notely-danger);
	font-size: 0.9rem;
	font-weight: 500;
}

.notely-form .ts-wrapper {
	width: 100%;
	min-width: 0;
	max-width: 100%;
}

.notely-form .ts-control {
	min-height: 42px;
	padding: 7px 10px;
	color: var(--notely-ink);
	background: var(--notely-control-bg);
	border: 1px solid var(--notely-control-border);
	border-radius: var(--notely-radius-sm);
	box-shadow: none;
	font: inherit;
}

.notely-form .ts-wrapper.focus .ts-control {
	border-color: var(--notely-accent);
	box-shadow: 0 0 0 3px var(--notely-focus-ring);
}

.notely-form .ts-control input {
	color: var(--notely-ink);
	font: inherit;
}

.notely-form .ts-wrapper.multi .ts-control > div,
.notely-form .ts-wrapper.multi .ts-control .item {
	display: inline-flex;
	align-items: center;
	min-height: 28px;
	padding: 4px 8px;
	color: var(--notely-on-action);
	background: var(--notely-action);
	border: 1px solid var(--notely-action);
	border-radius: var(--notely-radius-sm);
	box-shadow: inset 0 0 0 1px rgba(185, 141, 69, 0.22);
	font-weight: 500;
}

.notely-form .ts-wrapper.single .ts-control .item {
	padding: 0;
	color: var(--notely-primary-dark);
	background: transparent;
	border: 0;
	box-shadow: none;
}

.notely-form .ts-wrapper.plugin-remove_button .item .remove {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	align-self: stretch;
	flex: 0 0 24px;
	width: 24px;
	margin: -4px -8px -4px 7px;
	padding: 0;
	color: transparent;
	border-left: 1px solid rgba(255, 255, 255, 0.24);
	border-radius: 0 var(--notely-radius-sm) var(--notely-radius-sm) 0;
	font-size: 0;
	line-height: 1;
	text-decoration: none;
}

/* Disegna la rimozione in modo coerente, senza dipendere dal glifo del font. */
.notely-form .ts-wrapper.plugin-remove_button .item .remove::before,
.notely-form .ts-wrapper.plugin-remove_button .item .remove::after {
	position: absolute;
	width: 10px;
	height: 1.5px;
	background: rgba(255, 255, 255, 0.82);
	border-radius: 999px;
	content: "";
}

.notely-form .ts-wrapper.plugin-remove_button .item .remove::before {
	transform: rotate(45deg);
}

.notely-form .ts-wrapper.plugin-remove_button .item .remove::after {
	transform: rotate(-45deg);
}

.notely-form .ts-wrapper.plugin-remove_button .item .remove:hover,
.notely-form .ts-wrapper.plugin-remove_button .item .remove:focus {
	background: rgba(255, 255, 255, 0.12);
}

.notely-form .ts-wrapper.plugin-remove_button .item .remove:hover::before,
.notely-form .ts-wrapper.plugin-remove_button .item .remove:hover::after,
.notely-form .ts-wrapper.plugin-remove_button .item .remove:focus::before,
.notely-form .ts-wrapper.plugin-remove_button .item .remove:focus::after {
	background: #fff;
}

.notely-form .ts-dropdown {
	color: var(--notely-ink);
	background: var(--notely-control-bg);
	border: 1px solid var(--notely-control-border);
	border-radius: var(--notely-radius-sm);
	box-shadow: var(--notely-shadow);
	overflow: hidden;
}

.notely-form .ts-dropdown .option {
	padding: 9px 12px;
}

.notely-form .ts-dropdown .active {
	color: var(--notely-primary-dark);
	background: var(--notely-primary-soft);
}

.notely-toggle-list {
	display: grid;
	gap: 12px;
}

.notely-switch {
	position: relative;
	display: grid;
	grid-template-columns: 46px 1fr;
	gap: 12px;
	align-items: center;
	padding: 14px;
	background: var(--notely-card);
	border: 1px solid var(--notely-panel-border);
	border-radius: var(--notely-radius);
	cursor: pointer;
}

.notely-switch input {
	position: absolute;
	width: 1px;
	height: 1px;
	opacity: 0;
	pointer-events: none;
}

.notely-switch-control {
	position: relative;
	width: 46px;
	height: 28px;
	background: var(--notely-control-track);
	border: 1px solid var(--notely-control-border);
	border-radius: 999px;
	transition: background-color var(--notely-motion-fast) var(--notely-ease), border-color var(--notely-motion-fast) var(--notely-ease), box-shadow var(--notely-motion-fast) var(--notely-ease);
}

.notely-switch-control::after {
	position: absolute;
	top: 4px;
	left: 4px;
	width: 18px;
	height: 18px;
	background: var(--notely-control-bg);
	border-radius: 50%;
	box-shadow: 0 3px 8px rgba(7, 21, 46, 0.16);
	content: "";
	transition: transform var(--notely-motion-fast) var(--notely-ease);
}

.notely-switch input:checked + .notely-switch-control {
	background: var(--notely-action);
	border-color: var(--notely-action);
	box-shadow: inset 0 0 0 1px rgba(185, 141, 69, 0.22);
}

.notely-switch input:checked + .notely-switch-control::after {
	transform: translateX(18px);
}

.notely-switch input:focus-visible + .notely-switch-control {
	box-shadow: 0 0 0 3px var(--notely-focus-ring-strong);
}

.notely-switch-copy {
	display: grid;
	gap: 2px;
	min-width: 0;
}

.notely-switch-copy strong,
.notely-switch-copy small {
	display: block;
}

.notely-switch-copy small {
	color: var(--notely-muted);
	font-size: 0.9rem;
}

.notely-segmented {
	display: inline-flex;
	flex-wrap: wrap;
	gap: 4px;
	width: fit-content;
	max-width: 100%;
	min-width: 0;
	padding: 4px;
	background: var(--notely-control-track-strong);
	border: 1px solid var(--notely-panel-border);
	border-radius: var(--notely-radius);
}

.notely-segmented button,
.notely-segmented a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 34px;
	padding: 0 12px;
	color: var(--notely-muted);
	background: transparent;
	border: 0;
	border-radius: var(--notely-radius-sm);
	font: inherit;
	font-weight: 500;
	text-decoration: none;
	cursor: pointer;
}

.notely-segmented .is-active {
	color: var(--notely-on-action);
	background: var(--notely-action);
	box-shadow: 0 7px 14px rgba(7, 21, 46, 0.12);
}

.notely-alert {
	margin: 0 0 16px;
	padding: 12px 14px;
	border: 1px solid var(--notely-border-soft);
	border-radius: var(--notely-radius-sm);
	font-weight: 500;
}

.notely-alert.error {
	color: var(--notely-danger);
	background: var(--notely-danger-soft);
	border-color: var(--notely-danger-border);
}

.notely-alert.warning {
	color: var(--notely-warning);
	background: var(--notely-warning-soft);
	border-color: var(--notely-warning-border);
}

.notely-alert.success {
	color: var(--notely-success);
	background: var(--notely-success-soft);
	border-color: var(--notely-success-border);
}

.notely-alert a {
	color: inherit;
	overflow-wrap: anywhere;
}

/* Evidenzia la sessione impersonificata senza competere con l'header sticky. */
.notely-impersonation-banner {
	position: relative;
	width: 100%;
	padding: 10px 22px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--notely-primary-dark);
	background:
		linear-gradient(90deg, rgba(185, 141, 69, 0.12), transparent 24%, transparent 76%, rgba(185, 141, 69, 0.1)),
		linear-gradient(180deg, #fffaf0 0%, var(--notely-accent-soft) 100%);
	border-bottom: 1px solid rgba(185, 141, 69, 0.28);
	box-shadow: 0 1px 0 rgba(255, 255, 255, 0.74) inset, 0 8px 20px rgba(7, 21, 46, 0.045);
	font-size: 0.9rem;
	font-weight: 500;
}

.notely-impersonation-banner__inner {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
	width: min(1180px, 100%);
	min-width: 0;
	margin: 0 auto;
}

.notely-impersonation-banner__mark {
	flex: 0 0 auto;
	width: 10px;
	height: 10px;
	background: var(--notely-accent);
	border: 2px solid rgba(255, 255, 255, 0.92);
	border-radius: 999px;
	box-shadow: 0 0 0 4px rgba(185, 141, 69, 0.18), 0 1px 4px rgba(7, 21, 46, 0.14);
}

.notely-impersonation-banner__copy {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 4px 14px;
	min-width: 0;
	margin: 0;
}

.notely-impersonation-banner__label {
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0;
	text-transform: uppercase;
}

.notely-impersonation-banner__details {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 4px 14px;
	min-width: 0;
	color: var(--notely-muted);
}

.notely-impersonation-banner__details span {
	min-width: 0;
	overflow-wrap: anywhere;
}

.notely-impersonation-banner__details span + span {
	position: relative;
	padding-left: 14px;
}

.notely-impersonation-banner__details span + span::before {
	position: absolute;
	top: 50%;
	left: 0;
	width: 1px;
	height: 16px;
	background: rgba(185, 141, 69, 0.32);
	content: "";
	transform: translateY(-50%);
}

.notely-impersonation-banner__details strong {
	color: var(--notely-primary-dark);
	font-weight: 700;
}

.notely-impersonation-banner__form {
	flex: 0 0 auto;
	margin: 0;
}

.notely-impersonation-banner__button {
	min-height: 34px;
	padding: 0 12px;
	color: var(--notely-primary-dark);
	background: var(--notely-control-bg);
	border: 1px solid var(--notely-warning-border);
	box-shadow: 0 1px 0 var(--notely-inset-highlight) inset, 0 6px 14px rgba(7, 21, 46, 0.08);
	white-space: nowrap;
}

.notely-impersonation-banner__button:hover,
.notely-impersonation-banner__button:focus-visible {
	color: var(--notely-primary-dark);
	background: var(--notely-card-warm);
	border-color: var(--notely-accent);
	box-shadow: 0 8px 16px rgba(7, 21, 46, 0.1);
}

.notely-fieldset {
	display: grid;
	gap: 14px;
	margin: 0;
	padding: 16px;
	border: 1px solid var(--notely-border-soft);
	border-radius: var(--notely-radius);
	scroll-margin-top: 140px;
}

.notely-fieldset-intro {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px;
}

.notely-search-control {
	display: grid;
	gap: 6px;
}

.notely-instrument-catalog-tools {
	display: grid;
	gap: 12px;
}

.notely-chip-group {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.notely-chip {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	min-height: 34px;
	padding: 0 10px;
	color: var(--notely-primary-dark);
	background: var(--notely-control-bg);
	border: 1px solid var(--notely-border-soft);
	border-radius: var(--notely-radius-sm);
	font: inherit;
	font-size: 0.88rem;
	font-weight: 500;
	cursor: pointer;
}

.notely-chip span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 22px;
	height: 22px;
	padding: 0 6px;
	color: var(--notely-muted);
	background: var(--notely-primary-soft);
	border-radius: 999px;
	font-size: 0.78rem;
}

.notely-chip:hover,
.notely-chip:focus-visible {
	border-color: rgba(185, 141, 69, 0.42);
	box-shadow: 0 0 0 3px rgba(185, 141, 69, 0.12);
	outline: none;
}

.notely-chip.is-active {
	color: var(--notely-on-action);
	background: var(--notely-action);
	border-color: var(--notely-action);
	box-shadow: 0 8px 16px rgba(7, 21, 46, 0.1);
}

.notely-chip.is-active span {
	color: var(--notely-primary-dark);
	background: var(--notely-control-bg);
}

.notely-check-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 8px 14px;
}

.notely-filter-form {
	grid-template-columns: minmax(220px, 1.4fr) minmax(150px, 0.8fr) minmax(150px, 0.8fr) auto;
	align-items: end;
}

.notely-check {
	display: flex;
	align-items: center;
	gap: 8px;
	color: var(--notely-ink);
	font-weight: 500;
}

.notely-check input {
	width: 18px;
	min-height: 18px;
	flex: 0 0 auto;
}

.notely-disclosure {
	display: grid;
	gap: 12px;
	padding: 12px;
	background: var(--notely-control-bg);
	border: 1px solid var(--notely-border-soft);
	border-radius: var(--notely-radius);
}

.notely-disclosure > summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	color: var(--notely-primary-dark);
	font-weight: 500;
	cursor: pointer;
}

.notely-disclosure > summary::after {
	content: "Apri";
	color: var(--notely-muted);
	font-size: 0.84rem;
	font-weight: 500;
}

.notely-disclosure[open] > summary::after {
	content: "Chiudi";
}

.notely-disclosure > * + * {
	margin-top: 12px;
}

.notely-disclosure > summary small {
	display: block;
	margin-top: 3px;
	color: var(--notely-muted);
	font-size: 0.86rem;
	font-weight: 400;
}

.notely-availability-disclosure > summary {
	align-items: flex-start;
}

.notely-availability-disclosure > summary .notely-status {
	margin-left: auto;
}

.notely-instrument-panel {
	display: grid;
	gap: 12px;
	padding: 12px;
	background: var(--notely-plate);
	border: 1px solid var(--notely-border-soft);
	border-radius: var(--notely-radius);
}

.notely-instrument-panel-head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
}

.notely-instrument-panel-head span {
	color: var(--notely-muted);
	font-size: 0.9rem;
}

.notely-instrument-editor {
	display: grid;
	gap: 10px;
}

.notely-instrument-editor.catalog {
	grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
	align-items: stretch;
}

.notely-instrument-row {
	display: grid;
	grid-template-columns: minmax(190px, 0.58fr) minmax(0, 1.42fr);
	gap: 12px;
	align-items: start;
	padding: 12px;
	background: var(--notely-control-bg);
	border: 1px solid var(--notely-border-soft);
	border-radius: var(--notely-radius);
}

.notely-instrument-editor.catalog .notely-instrument-row {
	grid-template-columns: 1fr;
	gap: 0;
	min-height: 0;
	padding: 0;
	background: var(--notely-control-bg);
}

.notely-instrument-editor.catalog .notely-instrument-row:hover {
	border-color: rgba(185, 141, 69, 0.34);
	box-shadow: 0 8px 18px rgba(7, 21, 46, 0.055);
}

.notely-instrument-row.is-selected {
	background: var(--notely-success-soft);
	border-color: rgba(43, 111, 78, 0.28);
}

.notely-instrument-name {
	min-height: 42px;
	min-width: 0;
}

.notely-instrument-editor.catalog .notely-instrument-name {
	display: grid;
	grid-template-columns: 18px 36px minmax(0, 1fr);
	align-items: start;
	gap: 10px;
	width: 100%;
	min-height: 86px;
	padding: 12px;
	cursor: pointer;
}

.notely-instrument-editor.catalog .notely-instrument-name input {
	margin-top: 9px;
}

.notely-instrument-icon {
	width: 36px;
	height: 36px;
	flex: 0 0 36px;
	padding: 7px;
	color: var(--notely-primary-dark);
	background: var(--notely-primary-soft);
	border: 1px solid var(--notely-border-soft);
	border-radius: var(--notely-radius-sm);
}

.notely-instrument-name-copy {
	display: grid;
	gap: 2px;
	min-width: 0;
}

.notely-instrument-name strong {
	font-weight: 500;
	overflow-wrap: anywhere;
}

.notely-instrument-name small {
	color: var(--notely-muted);
	font-size: 0.84rem;
	font-weight: 400;
}

.notely-instrument-editor.catalog .notely-instrument-name-copy small {
	display: inline-flex;
	align-items: center;
	width: fit-content;
	margin-top: 2px;
	padding: 2px 7px;
	color: var(--notely-muted);
	background: var(--notely-primary-soft);
	border: 1px solid var(--notely-border-soft);
	border-radius: var(--notely-radius-sm);
	font-weight: 500;
}

.notely-instrument-editor.catalog .notely-instrument-toggle:disabled ~ .notely-instrument-icon,
.notely-instrument-editor.catalog .notely-instrument-toggle:disabled ~ .notely-instrument-name-copy {
	opacity: 0.55;
}

.notely-instrument-details {
	min-width: 0;
}

.notely-instrument-details summary {
	display: none;
	width: fit-content;
	margin-bottom: 10px;
	color: var(--notely-primary-dark);
	font-size: 0.9rem;
	font-weight: 500;
	cursor: pointer;
}

.notely-instrument-row:not(.is-selected) .notely-instrument-details summary {
	display: block;
}

.notely-instrument-controls {
	display: grid;
	grid-template-columns: minmax(120px, 0.8fr) minmax(150px, 1fr) minmax(90px, 0.6fr) minmax(180px, 1.4fr);
	gap: 10px;
}

.notely-instrument-row:not(.is-selected) .notely-instrument-details:not([open]) .notely-instrument-controls {
	display: none;
}

.notely-instrument-editor.catalog .notely-instrument-details {
	display: none;
}

.notely-instrument-row[hidden] {
	display: none;
}

.notely-availability-calendar {
	display: grid;
	gap: 12px;
	padding: 12px;
	background: var(--notely-plate);
	border: 1px solid var(--notely-border-soft);
	border-radius: var(--notely-radius);
}

.notely-availability-range-action {
	display: flex;
	align-items: end;
}

.notely-availability-badges {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 8px;
}

.notely-availability-actions {
	gap: 8px;
}

.notely-availability-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(116px, 1fr));
	gap: 8px;
}

.notely-availability-day {
	display: grid;
	gap: 8px;
	padding: 8px;
	background: var(--notely-control-bg);
	border: 1px solid var(--notely-border-soft);
	border-radius: var(--notely-radius-sm);
}

.notely-availability-day.is-selected {
	background: var(--notely-success-soft);
	border-color: rgba(43, 111, 78, 0.32);
	box-shadow: 0 0 0 1px rgba(43, 111, 78, 0.08);
}

.notely-availability-date-toggle {
	display: grid;
	gap: 2px;
	width: 100%;
	min-height: 46px;
	padding: 0;
	color: var(--notely-ink);
	background: transparent;
	border: 0;
	text-align: left;
	font: inherit;
	cursor: pointer;
}

.notely-availability-date-toggle strong {
	font-size: 0.94rem;
	font-weight: 500;
	line-height: 1.2;
}

.notely-availability-weekday {
	color: var(--notely-muted);
	font-size: 0.78rem;
	font-weight: 500;
	text-transform: uppercase;
}

.notely-availability-slots {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 6px;
}

.notely-availability-slot {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 30px;
	padding: 0 8px;
	color: var(--notely-muted);
	background: var(--notely-surface);
	border: 1px solid var(--notely-border-soft);
	border-radius: var(--notely-radius-sm);
	font: inherit;
	font-size: 0.82rem;
	font-weight: 600;
	cursor: pointer;
}

.notely-availability-slot.is-active {
	color: var(--notely-on-success);
	background: var(--notely-success);
	border-color: var(--notely-success);
}

.notely-availability-date-toggle:focus-visible,
.notely-availability-slot:focus-visible {
	outline: 2px solid rgba(185, 141, 69, 0.52);
	outline-offset: 2px;
}

.notely-availability-window-list {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.notely-availability-window-list li {
	padding: 6px 9px;
	color: var(--notely-primary-dark);
	background: var(--notely-control-bg);
	border: 1px solid var(--notely-border-soft);
	border-radius: var(--notely-radius-sm);
	font-size: 0.88rem;
}

.notely-detail-list {
	display: grid;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.notely-detail-list li {
	display: grid;
	gap: 4px;
	padding: 12px 0;
	border-bottom: 1px solid var(--notely-border-soft);
}

.notely-detail-list li:last-child {
	border-bottom: 0;
}

.notely-detail-list span,
.notely-detail-list small {
	color: var(--notely-muted-strong);
}

.notely-detail-list small {
	font-size: 0.9rem;
}

.notely-detail-list strong {
	color: var(--notely-value);
}

.notely-facts {
	display: grid;
	gap: 12px;
	margin: 0;
}

.notely-facts div {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	padding: 10px 0;
	border-bottom: 1px solid var(--notely-border-soft);
}

.notely-facts dt {
	color: var(--notely-muted-strong);
	font-weight: 500;
}

.notely-facts dd {
	margin: 0;
	color: var(--notely-value);
	font-weight: 500;
}

.notely-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.notely-tags li {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 7px 10px;
	color: var(--notely-value);
	background: var(--notely-accent-soft);
	border: 1px solid rgba(185, 141, 69, 0.32);
	border-radius: var(--notely-radius-sm);
	font-weight: 500;
}

.notely-tags li::before {
	width: 6px;
	height: 6px;
	background: var(--notely-accent);
	border-radius: 50%;
	content: "";
}

.notely-list {
	display: grid;
	gap: 22px;
}

.notely-list-row {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
}

.notely-list-meta {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 8px;
	color: var(--notely-value);
	font-size: 0.9rem;
	font-weight: 500;
}

.notely-list-meta span {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 6px 9px;
	background: var(--notely-accent-soft);
	border: 1px solid rgba(185, 141, 69, 0.32);
	border-radius: var(--notely-radius-sm);
}

.notely-list-meta span::before {
	width: 6px;
	height: 6px;
	background: var(--notely-accent);
	border-radius: 50%;
	content: "";
}

/* Card operative con visuale strumento, azione primaria e metadati leggibili. */
.notely-opportunity-list {
	gap: 20px;
}

.notely-opportunity-card {
	display: grid;
	grid-template-columns: 144px minmax(0, 1fr);
	align-items: stretch;
	gap: 26px;
	min-height: 268px;
	padding: 32px;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 253, 0.96));
	border-color: rgba(7, 21, 46, 0.1);
	box-shadow: 0 14px 34px rgba(7, 21, 46, 0.055);
}

.notely-opportunity-card__media {
	display: grid;
	align-content: space-between;
	gap: 22px;
	min-width: 0;
}

.notely-opportunity-card__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 112px;
	height: 112px;
	color: var(--notely-primary);
	background: linear-gradient(145deg, #fffaf0, #f9f5ec);
	border: 1px solid rgba(185, 141, 69, 0.08);
	border-radius: var(--notely-radius);
	box-shadow: 0 10px 22px rgba(7, 21, 46, 0.035);
}

.notely-opportunity-card__icon svg {
	width: 74px;
	height: 74px;
}

.notely-opportunity-card__icon i {
	color: var(--notely-accent);
	font-size: 2.25rem;
}

.notely-opportunity-card__cta {
	width: min(100%, 184px);
	min-width: 144px;
	min-height: 48px;
	justify-content: space-between;
	padding-inline: 18px 16px;
	line-height: 1.18;
	text-align: left;
	white-space: normal;
}

.notely-opportunity-card__cta i {
	color: var(--notely-accent);
}

.notely-opportunity-card__content {
	display: grid;
	grid-template-columns: minmax(250px, 0.88fr) minmax(280px, 1fr);
	align-items: start;
	gap: 30px;
}

.notely-opportunity-card__copy {
	min-width: 0;
}

.notely-opportunity-card__copy .notely-eyebrow {
	margin-bottom: 10px;
	color: var(--notely-accent);
	font-size: 0.76rem;
	font-weight: 700;
	letter-spacing: 0;
}

.notely-opportunity-card__copy .notely-card-title {
	max-width: 430px;
	margin-bottom: 12px;
	font-size: clamp(1.18rem, 1.85vw, 1.46rem);
	line-height: 1.25;
	font-weight: 600;
}

.notely-opportunity-card__copy .notely-text {
	max-width: 430px;
	margin-bottom: 18px;
	color: var(--notely-muted-strong);
	font-size: 0.96rem;
	line-height: 1.42;
}

.notely-opportunity-card__copy .notely-context-note {
	margin: 0;
	color: var(--notely-muted-strong);
	font-size: 0.96rem;
	line-height: 1.45;
}

.notely-opportunity-card__meta {
	display: flex;
	flex-wrap: wrap;
	justify-content: end;
	align-items: flex-start;
	gap: 16px 12px;
	width: 100%;
	max-width: 470px;
	margin-left: auto;
}

.notely-opportunity-card__meta span {
	min-height: 44px;
	padding: 9px 14px;
	color: var(--notely-muted-strong);
	background: #fffaf2;
	border-color: rgba(185, 141, 69, 0.22);
	box-shadow: 0 1px 0 rgba(255, 255, 255, 0.78) inset;
	white-space: nowrap;
}

.notely-opportunity-card__meta span::before {
	display: none;
}

.notely-opportunity-card__meta i {
	width: 15px;
	color: var(--notely-accent);
	font-size: 0.9rem;
	text-align: center;
}

.notely-opportunity-card__meta .fa-circle {
	width: 7px;
	font-size: 0.42rem;
}

html[data-notely-theme="dark"] .notely-opportunity-card {
	background: var(--notely-panel-bg);
	border-color: var(--notely-panel-border);
}

html[data-notely-theme="dark"] .notely-opportunity-card__icon,
html[data-notely-theme="dark"] .notely-opportunity-card__meta span {
	background: var(--notely-warning-soft);
	border-color: var(--notely-warning-border);
	box-shadow: none;
}

@media (prefers-color-scheme: dark) {
	html:not([data-notely-theme="light"]) .notely-opportunity-card {
		background: var(--notely-panel-bg);
		border-color: var(--notely-panel-border);
	}

	html:not([data-notely-theme="light"]) .notely-opportunity-card__icon,
	html:not([data-notely-theme="light"]) .notely-opportunity-card__meta span {
		background: var(--notely-warning-soft);
		border-color: var(--notely-warning-border);
		box-shadow: none;
	}
}

.notely-event-card {
	display: grid;
	grid-template-columns: 96px minmax(0, 1fr) minmax(250px, 0.72fr) 28px;
	align-items: center;
	gap: 20px;
	min-height: 164px;
	padding: 30px;
}

.notely-event-avatar {
	display: inline-flex;
	grid-column: 1;
	align-items: center;
	justify-content: center;
	width: 88px;
	height: 88px;
	color: var(--notely-accent);
	background: radial-gradient(circle at 34% 24%, rgba(255, 255, 255, 0.75), transparent 38%), var(--notely-accent-soft);
	border-radius: 50%;
	box-shadow: inset 0 0 0 1px rgba(185, 141, 69, 0.08);
	font-size: 1.8rem;
}

.notely-event-avatar.is-strong {
	color: #f0cc8a;
	background: radial-gradient(circle at 34% 24%, rgba(255, 255, 255, 0.14), transparent 38%), var(--notely-primary);
	box-shadow: inset 0 0 0 1px rgba(185, 141, 69, 0.24), 0 16px 26px rgba(7, 21, 46, 0.12);
}

.notely-event-card__main {
	display: grid;
	grid-column: 2;
	gap: 16px;
	min-width: 0;
}

.notely-event-card .notely-card-title {
	margin-bottom: 14px;
	font-size: 1.34rem;
}

.notely-event-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 12px;
	margin: 0;
	color: var(--notely-muted-strong);
	font-size: 0.9rem;
}

.notely-event-meta span {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-width: 0;
}

.notely-event-meta i {
	color: var(--notely-muted);
	font-size: 0.96em;
}

.notely-event-card .notely-list-meta {
	grid-column: 3;
	align-content: center;
	justify-content: flex-start;
}

.notely-event-card__arrow {
	display: inline-flex;
	grid-column: 4;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 44px;
	color: var(--notely-primary-dark);
	text-decoration: none;
}

.notely-event-card__arrow:hover,
.notely-event-card__arrow:focus-visible {
	color: var(--notely-accent);
	outline: none;
}

.notely-empty {
	margin: 0 0 18px;
	color: var(--notely-muted-strong);
	font-weight: 500;
}

.notely-empty strong {
	color: var(--notely-value);
}

.notely-template-preview {
	display: grid;
	gap: 10px;
	align-content: start;
	margin: 0;
	padding: 12px;
	color: var(--notely-muted);
	background: var(--notely-card-warm);
	border: 1px solid rgba(185, 141, 69, 0.24);
	border-radius: var(--notely-radius-sm);
	font-weight: 500;
}

.notely-template-preview strong {
	color: var(--notely-primary-dark);
}

.notely-template-preview p {
	margin: 0;
}

.notely-template-preview .notely-button {
	width: fit-content;
}

.notely-member-list {
	display: grid;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.notely-member-list li {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 10px 0;
	border-bottom: 1px solid var(--notely-border-soft);
}

.notely-member-list.compact li {
	padding: 8px 0;
}

.notely-member-list span {
	color: var(--notely-muted-strong);
	font-weight: 500;
}

.notely-member-summary {
	display: flex;
	align-items: center;
	gap: 12px;
	min-width: 0;
}

.notely-member-summary .notely-profile-avatar.compact {
	width: 42px;
	height: 42px;
	box-shadow: none;
	font-size: 0.95rem;
}

.notely-admin-tools {
	display: grid;
	gap: 12px;
}

.notely-tool {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	padding: 13px 0;
	border-bottom: 1px solid var(--notely-border-soft);
}

.notely-tool:last-child {
	border-bottom: 0;
}

.notely-tool p {
	margin: 4px 0 0;
	color: var(--notely-muted-strong);
	font-size: 0.93rem;
}

.notely-command {
	display: inline-flex;
	max-width: 100%;
	padding: 7px 9px;
	color: var(--notely-primary-dark);
	background: var(--notely-primary-soft);
	border: 1px solid var(--notely-border-soft);
	border-radius: var(--notely-radius-sm);
	font-size: 0.86rem;
	overflow-wrap: anywhere;
}

.notely-metric {
	display: grid;
	gap: 9px;
}

.notely-metric strong {
	font-size: 2rem;
	line-height: 1;
}

.notely-table-wrap {
	width: 100%;
	overflow-x: auto;
}

.notely-table {
	width: 100%;
	min-width: 880px;
	border-collapse: collapse;
}

.notely-table th,
.notely-table td {
	padding: 13px 12px;
	border-bottom: 1px solid var(--notely-border-soft);
	text-align: left;
	vertical-align: top;
}

.notely-table th {
	color: var(--notely-muted-strong);
	font-size: 0.82rem;
	font-weight: 500;
	text-transform: uppercase;
}

.notely-table td small {
	display: block;
	margin-top: 3px;
	color: var(--notely-muted-strong);
	font-size: 0.88rem;
}

.notely-member-main {
	display: grid;
	gap: 2px;
	min-width: 0;
}

.notely-member-main strong,
.notely-member-main span {
	overflow-wrap: anywhere;
}

.notely-application-list {
	display: grid;
	gap: 16px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.notely-application-list > li {
	display: grid;
	gap: 12px;
	padding: 16px 0;
	border-bottom: 1px solid var(--notely-border-soft);
}

.notely-application-list > li:last-child {
	border-bottom: 0;
}

.notely-application-header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px;
}

.notely-application-status {
	flex: 0 0 auto;
	padding: 5px 8px;
	color: var(--notely-primary-dark);
	background: var(--notely-primary-soft);
	border: 1px solid var(--notely-border-soft);
	border-radius: var(--notely-radius-sm);
	font-size: 0.84rem;
	font-weight: 700;
}

.notely-application-profile {
	display: grid;
	gap: 8px;
}

.notely-match-box {
	display: grid;
	gap: 6px;
	padding: 12px;
	background: rgba(185, 141, 69, 0.08);
	border: 1px solid rgba(185, 141, 69, 0.18);
	border-radius: var(--notely-radius-sm);
}

.notely-match-box > span {
	color: var(--notely-muted);
	font-weight: 500;
}

.notely-application-form {
	display: grid;
	grid-template-columns: minmax(150px, 200px) minmax(220px, 1fr) auto;
	gap: 10px;
	align-items: end;
}

.notely-application-form label {
	display: grid;
	gap: 6px;
	min-width: 0;
}

.notely-application-form label span,
.notely-application-history summary {
	color: var(--notely-ink);
	font-size: 0.9rem;
	font-weight: 700;
}

.notely-application-form select,
.notely-application-form textarea {
	width: 100%;
	min-height: 38px;
	padding: 8px 10px;
	color: var(--notely-ink);
	background: var(--notely-control-bg);
	border: 1px solid var(--notely-border);
	border-radius: var(--notely-radius-sm);
	font: inherit;
}

.notely-application-form textarea {
	resize: vertical;
}

.notely-application-form small {
	color: var(--notely-danger);
	font-weight: 600;
}

.notely-application-history {
	display: grid;
	gap: 8px;
}

.notely-application-history summary {
	cursor: pointer;
}

.notely-inline-controls,
.notely-inline-form {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-end;
	gap: 8px;
}

.notely-inline-form select {
	width: auto;
	min-width: 150px;
	min-height: 36px;
	padding: 7px 9px;
	color: var(--notely-ink);
	background: var(--notely-control-bg);
	border: 1px solid var(--notely-border);
	border-radius: var(--notely-radius-sm);
	font: inherit;
}

.notely-start-page {
	gap: 24px;
}

.notely-start-hero {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 24px;
	padding: clamp(24px, 4vw, 42px);
}

.notely-start-hero__copy {
	display: grid;
	gap: 14px;
	max-width: 760px;
}

.notely-start-hero__copy .notely-text {
	max-width: 720px;
}

.notely-start-section {
	display: grid;
	gap: 16px;
}

.notely-start-section--split {
	grid-template-columns: minmax(0, 1fr) minmax(280px, 0.45fr);
	align-items: start;
	gap: 18px;
}

.notely-start-card-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 14px;
}

.notely-start-card {
	display: grid;
	align-content: start;
	gap: 10px;
	min-height: 100%;
	padding: 18px;
	color: var(--notely-ink);
	background: var(--notely-card);
	border: 1px solid var(--notely-border-soft);
	border-radius: var(--notely-radius);
	box-shadow: var(--notely-shadow-soft);
}

.notely-start-card__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	color: var(--notely-primary-dark);
	background: var(--notely-primary-soft);
	border: 1px solid var(--notely-border-soft);
	border-radius: var(--notely-radius-sm);
}

.notely-start-card h3,
.notely-start-example h3 {
	margin: 0;
	color: var(--notely-heading);
	font-size: 1rem;
	line-height: 1.3;
}

.notely-start-card p,
.notely-start-example p {
	margin: 0;
	color: var(--notely-muted-strong);
	font-size: 0.94rem;
	line-height: 1.48;
}

.notely-start-card a {
	width: fit-content;
	margin-top: 4px;
	color: var(--notely-primary-dark);
	font-size: 0.9rem;
	font-weight: 600;
	text-decoration: none;
}

.notely-start-card a:hover {
	text-decoration: underline;
}

.notely-start-example-list {
	display: grid;
	gap: 12px;
	margin-top: 14px;
}

.notely-start-example {
	display: grid;
	gap: 5px;
	padding: 14px 16px;
	background: var(--notely-card);
	border: 1px solid var(--notely-border-soft);
	border-left: 4px solid var(--notely-accent);
	border-radius: var(--notely-radius);
}

.notely-start-note {
	padding: 18px;
	background: var(--notely-panel-bg);
	border: 1px solid var(--notely-panel-border);
	border-radius: var(--notely-radius);
	box-shadow: var(--notely-shadow-soft);
}

.notely-start-note .notely-profile-brief-list,
.notely-start-note .notely-steps {
	margin: 0;
}

.notely-steps {
	display: grid;
	gap: 12px;
	margin: 0 0 20px;
	padding: 0;
	list-style: none;
}

.notely-steps li {
	display: grid;
	grid-template-columns: 34px 1fr;
	gap: 12px;
	align-items: flex-start;
	padding: 14px;
	color: var(--notely-ink);
	background: var(--notely-card);
	border: 1px solid var(--notely-border-soft);
	border-radius: var(--notely-radius);
}

.notely-steps li.done {
	color: var(--notely-value);
	background: var(--notely-card-warm);
	border-color: rgba(185, 141, 69, 0.34);
	box-shadow: 0 1px 0 rgba(7, 21, 46, 0.025);
}

.notely-step-mark {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	color: var(--notely-on-action);
	background: var(--notely-action);
	border-radius: 50%;
	font-weight: 500;
}

.notely-fluid-media {
	display: block;
	width: auto;
	max-width: 100%;
	max-height: 320px;
	height: auto;
	margin-inline: auto;
	border-radius: var(--notely-radius-sm);
	object-fit: contain;
}

.notely-steps li.done .notely-step-mark {
	background: var(--notely-primary);
	box-shadow: 0 0 0 4px rgba(185, 141, 69, 0.1);
}

.notely-steps strong,
.notely-steps small {
	display: block;
}

.notely-steps strong,
.notely-member-main strong,
.notely-list strong,
.notely-panel strong {
	font-weight: 500;
}

.notely-steps small {
	margin-top: 3px;
	color: var(--notely-muted-strong);
	font-size: 0.93rem;
	font-weight: 400;
	line-height: 1.45;
}

.notely-status-row {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.notely-status {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	min-height: 30px;
	padding: 5px 10px;
	border: 1px solid transparent;
	border-radius: var(--notely-radius-sm);
	font-size: 0.86rem;
	font-weight: 500;
}

.notely-status::before {
	width: 6px;
	height: 6px;
	background: currentColor;
	border-radius: 50%;
	content: "";
	opacity: 0.78;
}

.notely-status.is-ready {
	color: var(--notely-success);
	background: var(--notely-success-soft);
	border-color: var(--notely-success-border);
}

.notely-status.is-pending {
	color: var(--notely-warning);
	background: var(--notely-warning-soft);
	border-color: var(--notely-warning-border);
}

.notely-status.is-muted {
	color: var(--notely-muted);
	background: var(--notely-muted-soft);
	border-color: var(--notely-border);
}

.notely-status.is-danger {
	color: var(--notely-danger);
	background: var(--notely-danger-soft);
	border-color: var(--notely-danger-border);
}

.notely-packages-page {
	position: relative;
}

.notely-package-current {
	display: grid;
	grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
	gap: 18px;
	align-items: stretch;
}

.notely-package-current__title,
.notely-package-plan-card__head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px;
}

.notely-package-current__meta {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 10px;
}

.notely-package-current__meta div,
.notely-package-summary-list div,
.notely-package-summary__note,
.notely-package-price,
.notely-package-feature-list li {
	padding: 12px;
	background: var(--notely-plate);
	border: 1px solid var(--notely-border-soft);
	border-radius: var(--notely-radius-sm);
}

.notely-package-current__meta strong,
.notely-package-price strong {
	display: block;
	color: var(--notely-value);
	font-size: 1.2rem;
	font-weight: 500;
	line-height: 1.15;
}

.notely-package-current__meta span,
.notely-package-price span {
	display: block;
	margin-top: 4px;
	color: var(--notely-muted-strong);
	font-size: 0.88rem;
}

.notely-packages-shell {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
	gap: 18px;
	align-items: start;
}

.notely-packages-main,
.notely-package-summary {
	display: grid;
	gap: 18px;
	min-width: 0;
}

.notely-package-summary {
	position: sticky;
	top: 96px;
}

.notely-glass-table-wrap {
	padding: 8px;
	background: var(--notely-glass);
	border: 1px solid var(--notely-panel-border);
	border-radius: var(--notely-radius);
	box-shadow: 0 1px 0 var(--notely-inset-highlight) inset, var(--notely-shadow-soft);
	backdrop-filter: blur(18px) saturate(1.08);
}

.notely-package-table {
	min-width: 820px;
	background: var(--notely-card);
	border: 1px solid var(--notely-border-soft);
	border-radius: var(--notely-radius-sm);
	border-collapse: separate;
	border-spacing: 0;
	overflow: hidden;
}

.notely-package-table th,
.notely-package-table td {
	background: transparent;
	border-bottom-color: var(--notely-border-soft);
}

.notely-package-table thead th,
.notely-package-table tfoot th,
.notely-package-table tfoot td {
	background: var(--notely-plate);
}

.notely-package-table tbody tr:nth-child(even) th,
.notely-package-table tbody tr:nth-child(even) td {
	background: rgba(7, 21, 46, 0.018);
}

.notely-package-table__plan {
	display: block;
	margin-bottom: 8px;
	color: var(--notely-value);
	font-size: 1rem;
	font-weight: 500;
	text-transform: none;
}

.notely-package-plan-grid {
	align-items: stretch;
}

.notely-package-plan-card {
	display: grid;
	gap: 14px;
}

.notely-package-price {
	display: grid;
	gap: 2px;
}

.notely-package-feature-list {
	display: grid;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.notely-package-feature-list li {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.notely-package-feature-list span {
	color: var(--notely-muted-strong);
	font-size: 0.9rem;
}

.notely-package-feature-list strong {
	color: var(--notely-value);
	font-size: 0.95rem;
	font-weight: 500;
	text-align: right;
}

.notely-package-summary-list {
	display: grid;
	gap: 10px;
	margin: 0;
}

.notely-package-summary-list dt {
	margin: 0 0 4px;
	color: var(--notely-muted-strong);
	font-size: 0.82rem;
	font-weight: 500;
	text-transform: uppercase;
}

.notely-package-summary-list dd {
	margin: 0;
	color: var(--notely-value);
	font-size: 1rem;
	font-weight: 500;
}

.notely-package-summary__note {
	display: grid;
	gap: 4px;
}

.notely-package-summary__note span,
.notely-package-summary__note small,
.notely-package-summary > small {
	color: var(--notely-muted-strong);
	line-height: 1.45;
}

.notely-package-summary .notely-button {
	width: 100%;
}

.notely-package-drawer {
	display: none;
}

.notely-settings-shell {
	display: grid;
	grid-template-columns: minmax(240px, 300px) minmax(0, 1fr);
	gap: 18px;
	align-items: start;
}

.notely-settings-sidebar {
	position: sticky;
	top: 96px;
	display: grid;
	gap: 16px;
}

.notely-settings-sidebar .notely-detail-list {
	margin: 0;
}

.notely-settings-nav.notely-anchor-nav {
	display: grid;
	grid-template-columns: 1fr;
}

.notely-settings-form {
	min-width: 0;
}

.notely-settings-section {
	scroll-margin-top: 118px;
}

.notely-settings-section legend {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.notely-settings-profile-row {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
}

.notely-settings-option-list {
	display: grid;
	gap: 10px;
}

.notely-settings-option {
	align-items: flex-start;
	gap: 12px;
	padding: 13px;
	background: var(--notely-plate);
	border: 1px solid var(--notely-border-soft);
	border-radius: var(--notely-radius-sm);
}

.notely-settings-option input {
	flex: 0 0 auto;
	margin-top: 3px;
}

.notely-settings-option span {
	display: grid;
	gap: 3px;
	min-width: 0;
}

.notely-settings-option strong {
	color: var(--notely-value);
	font-weight: 500;
	line-height: 1.3;
}

.notely-settings-option small {
	color: var(--notely-muted-strong);
	line-height: 1.45;
}

.notely-settings-toolbar {
	margin-top: 4px;
}

.notely-timeline {
	display: grid;
	gap: 0;
	margin: 0;
	padding: 0;
	list-style: none;
}

.notely-timeline li {
	position: relative;
	display: grid;
	grid-template-columns: 94px 1fr;
	gap: 14px;
	padding: 0 0 18px 20px;
	border-left: 1px solid var(--notely-border);
}

.notely-timeline li:last-child {
	padding-bottom: 0;
}

.notely-timeline li::before {
	position: absolute;
	box-sizing: border-box;
	top: 4px;
	left: 0;
	width: 13px;
	height: 13px;
	background: var(--notely-primary);
	border: 2px solid var(--notely-card-warm);
	border-radius: 50%;
	content: "";
	transform: translateX(-50%);
}

.notely-timeline time {
	color: var(--notely-accent);
	font-size: 0.86rem;
	font-weight: 500;
}

.notely-timeline strong,
.notely-timeline small {
	display: block;
}

.notely-timeline small {
	margin-top: 4px;
	color: var(--notely-muted);
	font-size: 0.94rem;
	line-height: 1.45;
}

.notely-pipeline-list,
.notely-feed {
	display: grid;
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.notely-pipeline-item {
	display: grid;
	grid-template-columns: 44px minmax(0, 1fr) auto;
	gap: 12px;
	align-items: center;
	padding: 14px;
	background: var(--notely-card);
	border: 1px solid var(--notely-border-soft);
	border-radius: var(--notely-radius);
}

.notely-avatar {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	color: #fff;
	background: var(--notely-primary);
	border-radius: var(--notely-radius);
	font-size: 0.82rem;
	font-weight: 500;
}

.notely-pipeline-item strong,
.notely-pipeline-item small,
.notely-feed strong,
.notely-feed small {
	display: block;
}

.notely-pipeline-item small,
.notely-feed small {
	margin-top: 4px;
	color: var(--notely-muted);
	font-size: 0.94rem;
	line-height: 1.45;
}

.notely-feed li {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 12px;
	padding: 14px;
	background: var(--notely-card);
	border: 1px solid var(--notely-border-soft);
	border-radius: var(--notely-radius);
}

.notely-feed li.is-unread {
	background: var(--notely-card-warm);
	border-color: rgba(185, 141, 69, 0.34);
}

.notely-feed time {
	color: var(--notely-muted);
	font-size: 0.86rem;
	font-weight: 500;
	white-space: nowrap;
}

.notely-dropzone,
.notely-empty-state {
	display: grid;
	gap: 10px;
	align-content: start;
	min-height: 172px;
	padding: 18px;
	background:
		var(--notely-dropzone-bg);
	border: 1px dashed rgba(185, 141, 69, 0.42);
	border-radius: var(--notely-radius);
}

.notely-empty-state {
	border-style: solid;
}

.notely-dropzone .notely-text,
.notely-empty-state .notely-text {
	margin-bottom: 0;
}

.notely-dialog-preview {
	display: grid;
	gap: 16px;
	max-width: 560px;
	padding: 20px;
	background:
		linear-gradient(90deg, var(--notely-primary) 0 34px, transparent 34px 48px, var(--notely-accent) 48px 62px, transparent 62px 100%) 0 0 / 100% 3px no-repeat,
		var(--notely-dialog-bg);
	border: 1px solid var(--notely-panel-border);
	border-radius: var(--notely-radius);
	box-shadow: var(--notely-shadow-soft);
}

.notely-dialog-head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
}

.notely-dialog-head strong {
	font-size: 1.05rem;
}

.notely-dialog-preview .notely-text {
	margin-bottom: 0;
}

.notely-dialog-impact {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
}

.notely-dialog-impact span {
	display: grid;
	gap: 3px;
	padding: 12px;
	background: var(--notely-plate);
	border: 1px solid var(--notely-border-soft);
	border-radius: var(--notely-radius-sm);
}

.notely-dialog-impact small {
	color: var(--notely-muted);
	font-size: 0.9rem;
	line-height: 1.4;
}

.notely-pagination {
	display: flex;
	flex-wrap: wrap;
	align-content: flex-start;
	align-items: center;
	gap: 8px;
}

.notely-pagination a,
.notely-pagination button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 38px;
	height: 38px;
	padding: 0 10px;
	color: var(--notely-primary-dark);
	background: var(--notely-control-bg);
	border: 1px solid var(--notely-control-border);
	border-radius: var(--notely-radius-sm);
	font: inherit;
	font-weight: 500;
	text-decoration: none;
	cursor: pointer;
}

.notely-pagination .is-active {
	color: var(--notely-on-action);
	background: var(--notely-action);
	border-color: var(--notely-action);
}

.notely-insight-list {
	display: grid;
	gap: 12px;
}

.notely-insight {
	display: grid;
	gap: 10px;
	padding: 14px;
	background: var(--notely-card);
	border: 1px solid var(--notely-border-soft);
	border-radius: var(--notely-radius);
}

.notely-insight-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.notely-insight-head strong {
	color: var(--notely-value);
	font-weight: 500;
}

.notely-signal {
	display: inline-flex;
	align-items: center;
	min-height: 28px;
	padding: 5px 9px;
	color: var(--notely-primary-dark);
	background: var(--notely-primary-soft);
	border: 1px solid var(--notely-border-soft);
	border-radius: var(--notely-radius-sm);
	font-size: 0.82rem;
	font-weight: 500;
	white-space: nowrap;
}

.notely-context-note {
	margin: 0;
	color: var(--notely-muted-strong);
	font-size: 0.94rem;
}

/* Dashboard personale costruita sul mockup dell'area profilo senza alterare l'editor. */
.notely-personal-page {
	gap: 22px;
}

.notely-personal-shell {
	display: grid;
	grid-template-columns: minmax(220px, 250px) minmax(0, 1fr);
	align-items: start;
	gap: 30px;
	min-width: 0;
}

.notely-personal-sidebar {
	position: sticky;
	top: 92px;
	display: grid;
	gap: 16px;
	max-height: calc(100vh - 112px);
	overflow: auto;
	padding: 18px 0;
	background: var(--notely-panel-bg);
}

.notely-personal-identity {
	display: grid;
	justify-items: center;
	gap: 10px;
	padding: 2px 18px 0;
	text-align: center;
}

.notely-personal-identity h2,
.notely-personal-identity p {
	margin: 0;
}

.notely-personal-identity h2 {
	color: var(--notely-heading);
	font-size: 1.08rem;
	line-height: 1.25;
	font-weight: 600;
}

.notely-personal-identity p {
	color: var(--notely-muted);
	font-size: 0.92rem;
	line-height: 1.35;
}

.notely-profile-avatar.compact {
	width: 58px;
	height: 58px;
	font-size: 1.25rem;
}

.notely-profile-avatar.compact::after {
	right: -1px;
	bottom: 3px;
	width: 16px;
	height: 16px;
	border-width: 2px;
}

.notely-personal-side-facts {
	display: grid;
	gap: 8px;
	margin: 0;
	padding: 14px 18px;
	background: var(--notely-plate);
	border-width: 1px 0;
	border-style: solid;
	border-color: var(--notely-border-soft);
}

.notely-personal-side-facts div {
	display: grid;
	gap: 2px;
}

.notely-personal-side-facts dt {
	color: var(--notely-muted);
	font-size: 0.77rem;
	font-weight: 600;
	text-transform: uppercase;
}

.notely-personal-side-facts dd {
	margin: 0;
	color: var(--notely-value);
	font-size: 0.92rem;
	font-weight: 600;
	line-height: 1.35;
}

.notely-personal-side-nav.notely-anchor-nav {
	display: grid;
	gap: 3px;
	padding: 0 12px;
	background: transparent;
	border: 0;
	box-shadow: none;
	backdrop-filter: none;
}

.notely-personal-side-nav a {
	display: grid;
	grid-template-columns: 20px minmax(0, 1fr);
	align-items: center;
	gap: 10px;
	min-height: 42px;
	padding: 0 10px;
	font-size: 0.92rem;
}

.notely-personal-side-nav i {
	color: var(--notely-primary-dark);
	font-size: 0.9rem;
	text-align: center;
}

.notely-personal-preview-link {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin: 2px 18px 0;
	padding-top: 16px;
	color: var(--notely-primary-dark);
	border-top: 1px solid var(--notely-border-soft);
	font-size: 0.92rem;
	font-weight: 600;
	text-decoration: none;
}

.notely-personal-preview-link:hover,
.notely-personal-preview-link:focus-visible {
	color: var(--notely-accent);
	outline: none;
}

.notely-personal-main {
	display: grid;
	gap: 24px;
	min-width: 0;
}

.notely-personal-hero {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
	align-items: center;
	gap: 30px;
	min-height: 210px;
	padding: 28px 44px;
	overflow: hidden;
	background:
		linear-gradient(90deg, var(--notely-primary) 0 42px, transparent 42px 58px, var(--notely-accent) 58px 74px, transparent 74px 100%) 0 0 / 100% 3px no-repeat,
		var(--notely-panel-bg);
}

.notely-personal-hero-copy .notely-section-title {
	margin-bottom: 16px;
	font-size: clamp(2rem, 2.35vw, 2.35rem);
	letter-spacing: 0;
}

.notely-personal-hero-copy .notely-text {
	max-width: 560px;
	margin-bottom: 0;
	color: var(--notely-muted-strong);
}

.notely-personal-completion-card {
	display: grid;
	gap: 12px;
	padding: 18px;
	background: var(--notely-plate);
	border: 1px solid var(--notely-border-soft);
	border-radius: var(--notely-radius);
	box-shadow: 0 14px 28px rgba(7, 21, 46, 0.055);
}

.notely-personal-completion-head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 14px;
}

.notely-personal-completion-head span,
.notely-personal-completion-card small {
	color: var(--notely-muted-strong);
	font-size: 0.9rem;
	font-weight: 600;
}

.notely-personal-completion-head strong {
	color: var(--notely-value);
	font-size: 2rem;
	line-height: 1;
	font-weight: 600;
}

.notely-personal-tabs {
	position: sticky;
	top: 78px;
	z-index: 13;
	gap: 12px;
	width: fit-content;
	max-width: 100%;
	padding: 0;
	background: transparent;
	border: 0;
	box-shadow: none;
	backdrop-filter: none;
}

.notely-personal-tabs a {
	min-height: 52px;
	padding: 0 26px;
	background: transparent;
	border-color: transparent;
	border-bottom: 2px solid transparent;
	border-radius: var(--notely-radius-sm);
}

.notely-personal-tabs a.is-active,
.notely-personal-tabs a[aria-current="location"] {
	background: var(--notely-control-bg);
	border-color: var(--notely-border-soft);
	border-bottom-color: var(--notely-primary);
	box-shadow: 0 12px 26px rgba(7, 21, 46, 0.05);
}

.notely-personal-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.86fr);
	gap: 24px;
}

.notely-personal-card {
	padding: 26px;
	box-shadow: var(--notely-shadow-soft);
}

.notely-personal-card .notely-card-title {
	margin-bottom: 8px;
}

.notely-personal-score {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 68px;
	min-height: 36px;
	padding: 0 12px;
	border: 1px solid var(--notely-border-soft);
	border-radius: 999px;
	font-size: 0.9rem;
	font-weight: 700;
}

.notely-personal-score.is-ready {
	color: var(--notely-success);
	background: var(--notely-success-soft);
	border-color: var(--notely-success-border);
}

.notely-personal-score.is-pending {
	color: var(--notely-warning);
	background: var(--notely-warning-soft);
	border-color: var(--notely-warning-border);
}

.notely-personal-score.is-danger {
	color: var(--notely-danger);
	background: var(--notely-danger-soft);
	border-color: var(--notely-danger-border);
}

.notely-personal-step-list,
.notely-personal-activity-list,
.notely-personal-next-list {
	display: grid;
	margin: 0;
	padding: 0;
	list-style: none;
}

.notely-personal-step-list li + li,
.notely-personal-activity-list li + li {
	border-top: 1px solid var(--notely-border-soft);
}

.notely-personal-step-list a {
	display: grid;
	grid-template-columns: 24px minmax(0, 1fr);
	gap: 12px;
	align-items: start;
	padding: 12px 0;
	color: var(--notely-value);
	text-decoration: none;
}

.notely-personal-step-list li:first-child a {
	padding-top: 4px;
}

.notely-personal-step-list li:last-child a {
	padding-bottom: 0;
}

.notely-personal-step-icon,
.notely-personal-mini-icon,
.notely-personal-eye {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	color: var(--notely-primary-dark);
	background: var(--notely-control-bg);
	border: 1px solid var(--notely-border-soft);
	border-radius: 50%;
}

.notely-personal-step-icon {
	width: 20px;
	height: 20px;
	margin-top: 2px;
	font-size: 0.68rem;
}

.notely-personal-mini-icon,
.notely-personal-eye {
	width: 34px;
	height: 34px;
	font-size: 0.82rem;
}

.notely-personal-step-list strong,
.notely-personal-step-list small {
	display: block;
}

.notely-personal-step-list strong {
	font-size: 0.95rem;
	line-height: 1.25;
}

.notely-personal-step-list small {
	margin-top: 3px;
	color: var(--notely-muted-strong);
	font-size: 0.83rem;
	line-height: 1.35;
}

.notely-personal-step-list .is-ready .notely-personal-step-icon,
.notely-personal-mini-icon.is-ready {
	color: var(--notely-success);
	background: var(--notely-success-soft);
	border-color: var(--notely-success-border);
}

.notely-personal-step-list .is-pending .notely-personal-step-icon,
.notely-personal-mini-icon.is-pending {
	color: var(--notely-warning);
	background: var(--notely-warning-soft);
	border-color: var(--notely-warning-border);
}

.notely-personal-step-list .is-danger .notely-personal-step-icon,
.notely-personal-mini-icon.is-danger {
	color: var(--notely-danger);
	background: var(--notely-danger-soft);
	border-color: var(--notely-danger-border);
}

.notely-personal-brief {
	min-height: 100%;
}

.notely-personal-brief .notely-section-head {
	align-items: center;
	margin-bottom: 28px;
}

.notely-personal-brief .notely-profile-brief-list {
	gap: 24px;
}

.notely-personal-activity-list a {
	display: grid;
	grid-template-columns: 34px minmax(0, 1fr) max-content;
	gap: 12px;
	align-items: center;
	padding: 14px 0;
	color: var(--notely-value);
	text-decoration: none;
}

.notely-personal-activity-list li:first-child a {
	padding-top: 6px;
}

.notely-personal-activity-list li:last-child a {
	padding-bottom: 0;
}

.notely-personal-activity-list strong,
.notely-personal-activity-list small,
.notely-personal-next-list strong,
.notely-personal-next-list small {
	display: block;
}

.notely-personal-activity-list strong,
.notely-personal-next-list strong {
	color: var(--notely-value);
	font-size: 0.93rem;
	line-height: 1.25;
}

.notely-personal-activity-list small,
.notely-personal-next-list small {
	margin-top: 3px;
	color: var(--notely-muted-strong);
	font-size: 0.82rem;
	line-height: 1.35;
}

.notely-personal-activity-list em {
	color: var(--notely-muted);
	font-size: 0.8rem;
	font-style: normal;
	white-space: nowrap;
}

.notely-personal-next-list {
	gap: 14px;
}

.notely-personal-next-list a {
	display: grid;
	grid-template-columns: 34px minmax(0, 1fr) 18px;
	gap: 12px;
	align-items: center;
	min-height: 72px;
	padding: 12px 14px;
	color: var(--notely-value);
	background: var(--notely-control-bg);
	border: 1px solid var(--notely-border-soft);
	border-radius: var(--notely-radius);
	text-decoration: none;
}

.notely-personal-next-list a:hover,
.notely-personal-next-list a:focus-visible,
.notely-personal-activity-list a:hover,
.notely-personal-activity-list a:focus-visible,
.notely-personal-step-list a:hover,
.notely-personal-step-list a:focus-visible {
	color: var(--notely-primary-dark);
	outline: none;
}

.notely-personal-next-list a:hover,
.notely-personal-next-list a:focus-visible {
	border-color: var(--notely-active-border);
	box-shadow: 0 0 0 3px var(--notely-focus-ring);
}

.notely-personal-preview {
	display: grid;
	gap: 16px;
}

.notely-personal-preview-row {
	display: grid;
	grid-template-columns: minmax(220px, 1.2fr) minmax(0, 2fr) max-content;
	align-items: center;
	gap: 18px;
	padding: 12px;
	background: var(--notely-control-bg);
	border: 1px solid var(--notely-border-soft);
	border-radius: var(--notely-radius);
}

.notely-personal-preview-id {
	display: grid;
	grid-template-columns: 58px minmax(0, 1fr);
	gap: 14px;
	align-items: center;
	min-width: 0;
}

.notely-personal-preview-id strong,
.notely-personal-preview-id small {
	display: block;
}

.notely-personal-preview-id strong {
	color: var(--notely-value);
	font-size: 1.05rem;
	line-height: 1.25;
}

.notely-personal-preview-id small {
	margin-top: 3px;
	color: var(--notely-muted-strong);
	font-size: 0.88rem;
}

.notely-personal-preview-facts {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
	margin: 0;
}

.notely-personal-preview-facts div {
	min-width: 0;
}

.notely-personal-preview-facts dt,
.notely-personal-preview-facts dd {
	margin: 0;
}

.notely-personal-preview-facts dt {
	color: var(--notely-muted);
	font-size: 0.78rem;
	font-weight: 600;
}

.notely-personal-preview-facts dd {
	margin-top: 3px;
	color: var(--notely-value);
	font-size: 0.94rem;
	font-weight: 700;
	overflow-wrap: anywhere;
}

.notely-personal-cta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding: 28px;
}

.notely-personal-cta .notely-card-title,
.notely-personal-cta .notely-context-note {
	margin-bottom: 0;
}

.notely-profile-page {
	gap: 20px;
}

.notely-profile-shell {
	display: grid;
	grid-template-columns: minmax(230px, 280px) minmax(0, 1fr);
	align-items: start;
	gap: 22px;
	min-width: 0;
}

.notely-profile-sidebar {
	position: sticky;
	top: 92px;
	display: grid;
	gap: 18px;
	max-height: calc(100vh - 112px);
	overflow: auto;
	padding: 18px;
}

.notely-profile-identity {
	display: grid;
	justify-items: center;
	gap: 10px;
	text-align: center;
}

.notely-profile-identity h2,
.notely-profile-identity p {
	margin: 0;
}

.notely-profile-identity h2 {
	color: var(--notely-heading);
	font-size: 1.1rem;
	line-height: 1.25;
	font-weight: 500;
}

.notely-profile-identity p {
	color: var(--notely-muted);
	font-size: 0.92rem;
}

.notely-profile-avatar {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 82px;
	height: 82px;
	color: var(--notely-primary-dark);
	background:
		linear-gradient(135deg, var(--notely-primary-soft), var(--notely-accent-soft));
	border: 1px solid var(--notely-active-border);
	border-radius: 50%;
	box-shadow: 0 12px 22px rgba(7, 21, 46, 0.1);
	font-size: 1.8rem;
}

.notely-profile-avatar.has-image {
	background: var(--notely-card);
}

.notely-profile-avatar img {
	display: block;
	width: 100%;
	height: 100%;
	border-radius: inherit;
	object-fit: cover;
}

.notely-profile-avatar::after {
	position: absolute;
	right: 2px;
	bottom: 6px;
	width: 20px;
	height: 20px;
	background: var(--notely-accent);
	border: 3px solid var(--notely-card);
	border-radius: 50%;
	content: "";
}

.notely-avatar-upload {
	display: grid;
	gap: 12px;
}

.notely-avatar-form {
	display: grid;
	gap: 12px;
}

.notely-avatar-form input[type="file"] {
	width: 100%;
	padding: 12px;
	background: var(--notely-control-bg);
	border: 1px solid var(--notely-border-soft);
	border-radius: var(--notely-radius);
	color: var(--notely-value);
}

.notely-profile-side-facts {
	display: grid;
	gap: 10px;
	margin: 0;
	padding: 12px;
	background: var(--notely-plate);
	border: 1px solid var(--notely-border-soft);
	border-radius: var(--notely-radius);
}

.notely-profile-side-facts div {
	display: grid;
	gap: 2px;
}

.notely-profile-side-facts dt {
	color: var(--notely-muted);
	font-size: 0.78rem;
	font-weight: 500;
	text-transform: uppercase;
}

.notely-profile-side-facts dd {
	margin: 0;
	color: var(--notely-value);
	font-size: 0.92rem;
	font-weight: 500;
}

.notely-profile-side-nav.notely-anchor-nav {
	display: grid;
	gap: 4px;
	padding: 4px;
	background: transparent;
	border: 0;
	box-shadow: none;
	backdrop-filter: none;
}

.notely-profile-side-nav a {
	display: grid;
	grid-template-columns: 18px minmax(0, 1fr);
	justify-content: start;
	gap: 9px;
	min-height: 38px;
	padding: 0 10px;
}

.notely-profile-side-nav i {
	align-self: center;
	color: var(--notely-accent);
	font-size: 0.92rem;
	text-align: center;
}

.notely-profile-help {
	display: grid;
	grid-template-columns: 34px minmax(0, 1fr);
	gap: 10px;
	padding: 12px;
	background: var(--notely-card-warm);
	border: 1px solid var(--notely-warning-border);
	border-radius: var(--notely-radius);
}

.notely-profile-help i {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	color: var(--notely-primary-dark);
	background: var(--notely-control-bg);
	border: 1px solid var(--notely-border-soft);
	border-radius: var(--notely-radius-sm);
}

.notely-profile-help strong,
.notely-profile-help p {
	display: block;
	margin: 0;
}

.notely-profile-help strong {
	color: var(--notely-value);
	font-size: 0.92rem;
}

.notely-profile-help p {
	margin-top: 4px;
	color: var(--notely-muted-strong);
	font-size: 0.84rem;
	line-height: 1.45;
}

.notely-profile-main {
	display: grid;
	gap: 18px;
	min-width: 0;
}

.notely-profile-hero {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(240px, 320px);
	align-items: center;
	gap: 20px;
	overflow: hidden;
	background:
		linear-gradient(90deg, var(--notely-primary) 0 52px, transparent 52px 66px, var(--notely-accent) 66px 86px, transparent 86px 100%) 0 0 / 100% 3px no-repeat,
		repeating-linear-gradient(0deg, transparent 0 18px, var(--notely-rhythm-line) 18px 19px),
		var(--notely-panel-bg);
}

.notely-profile-hero::after {
	position: absolute;
	right: 26px;
	bottom: 22px;
	width: 160px;
	height: 92px;
	background:
		repeating-linear-gradient(0deg, transparent 0 13px, var(--notely-measure-line) 13px 14px),
		linear-gradient(135deg, transparent, var(--notely-brand-gold-sheen));
	border-radius: 50%;
	content: "";
	opacity: 0.5;
	pointer-events: none;
	transform: rotate(-8deg);
}

.notely-profile-hero-copy,
.notely-profile-completion {
	position: relative;
	z-index: 1;
}

.notely-profile-hero-copy .notely-text {
	max-width: 560px;
	margin-bottom: 0;
}

/* Uniforma le hero interne: stesso telaio visivo, con layout interni ancora liberi. */
.notely-dashboard-head,
.notely-page-hero,
.notely-profile-hero,
.notely-personal-hero,
.notely-start-hero {
	position: relative;
	min-height: 148px;
	padding: clamp(22px, 3vw, 34px);
	overflow: hidden;
	background:
		linear-gradient(115deg, transparent 0 58%, var(--notely-brand-gold-sheen) 58% 60%, transparent 60% 100%),
		linear-gradient(130deg, transparent 0 70%, var(--notely-brand-sheen) 70% 76%, transparent 76% 100%),
		repeating-linear-gradient(0deg, transparent 0 20px, var(--notely-rhythm-line) 20px 21px),
		var(--notely-hero-base);
	border: 1px solid var(--notely-panel-border);
	border-radius: var(--notely-radius);
	box-shadow: var(--notely-shadow-soft);
}

.notely-dashboard-head::before,
.notely-page-hero::before,
.notely-profile-hero::before,
.notely-personal-hero::before,
.notely-start-hero::before {
	position: absolute;
	top: 0;
	right: 0;
	left: 0;
	height: 3px;
	background: linear-gradient(90deg, var(--notely-primary) 0 44px, transparent 44px 60px, var(--notely-accent) 60px 82px, transparent 82px 100%);
	content: "";
	pointer-events: none;
}

.notely-dashboard-head::after,
.notely-page-hero::after,
.notely-profile-hero::after,
.notely-personal-hero::after,
.notely-start-hero::after {
	position: absolute;
	right: 26px;
	bottom: 18px;
	width: clamp(120px, 20vw, 210px);
	height: clamp(80px, 12vw, 136px);
	background: url("../img/favicon.svg") center / contain no-repeat;
	content: "";
	opacity: 0.045;
	pointer-events: none;
	transform: rotate(-3deg);
}

.notely-dashboard-head > *,
.notely-page-hero > *,
.notely-profile-hero > *,
.notely-personal-hero > *,
.notely-start-hero > * {
	position: relative;
	z-index: 1;
}

.notely-dashboard-head {
	align-items: center;
}

.notely-page-hero {
	padding: clamp(22px, 3vw, 34px);
}

.notely-page-hero .notely-section-title,
.notely-profile-hero-copy .notely-section-title,
.notely-personal-hero-copy .notely-section-title,
.notely-start-hero .notely-section-title {
	margin-bottom: 14px;
	font-size: clamp(2rem, 3.4vw, 3rem);
	line-height: 1.06;
}

.notely-page-hero--compact {
	min-height: 132px;
}

.notely-page-hero--compact .notely-section-title {
	font-size: clamp(1.75rem, 2.8vw, 2.35rem);
}

.notely-page-hero .notely-text,
.notely-profile-hero-copy .notely-text,
.notely-personal-hero-copy .notely-text,
.notely-start-hero .notely-text {
	max-width: 620px;
	margin-bottom: 0;
	color: var(--notely-muted-strong);
	font-size: 1.04rem;
	line-height: 1.58;
}

.notely-profile-hero,
.notely-personal-hero {
	grid-template-columns: minmax(0, 1fr) minmax(260px, 340px);
	gap: clamp(18px, 3vw, 30px);
}

.notely-profile-completion,
.notely-personal-completion-card {
	background: var(--notely-card);
	border-color: var(--notely-border-soft);
	box-shadow: 0 14px 28px rgba(7, 21, 46, 0.055);
}

.notely-profile-completion {
	display: grid;
	gap: 10px;
	padding: 14px;
	background: var(--notely-card);
	border: 1px solid var(--notely-border-soft);
	border-radius: var(--notely-radius);
	box-shadow: 0 14px 28px rgba(7, 21, 46, 0.055);
}

.notely-profile-completion-head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 14px;
}

.notely-profile-completion-head span,
.notely-profile-completion small {
	color: var(--notely-muted-strong);
	font-size: 0.9rem;
	font-weight: 500;
}

.notely-profile-completion-head strong {
	color: var(--notely-value);
	font-size: 1.9rem;
	line-height: 1;
	font-weight: 500;
}

.notely-profile-tabs {
	position: sticky;
	top: 78px;
	z-index: 13;
}

.notely-profile-form {
	gap: 18px;
}

.notely-profile-toolbar {
	top: 136px;
}

.notely-profile-toolbar .notely-context-note {
	max-width: 560px;
}

.notely-profile-toolbar .notely-actions {
	flex: 0 0 auto;
}

.notely-profile-overview-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(260px, 0.88fr);
	gap: 18px;
}

.notely-profile-progress-card,
.notely-profile-brief,
.notely-profile-card,
.notely-profile-cta {
	box-shadow: var(--notely-shadow-soft);
}

.notely-profile-progress-card .notely-section-head,
.notely-profile-brief .notely-section-head {
	margin-bottom: 10px;
}

.notely-profile-completion-list {
	grid-template-columns: 1fr;
	margin-top: 14px;
}

.notely-profile-completion-list a {
	grid-template-columns: 22px minmax(0, 1fr);
	align-items: center;
	padding: 10px 0;
	background: transparent;
	border-width: 0 0 1px;
	border-radius: 0;
}

.notely-profile-completion-list li:last-child a {
	border-bottom: 0;
}

.notely-profile-brief > .notely-section-head > i {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	color: var(--notely-primary-dark);
	background: var(--notely-primary-soft);
	border: 1px solid var(--notely-border-soft);
	border-radius: var(--notely-radius-sm);
}

.notely-profile-brief-list {
	display: grid;
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.notely-profile-brief-list li {
	display: grid;
	grid-template-columns: 34px minmax(0, 1fr);
	gap: 10px;
	align-items: start;
}

.notely-profile-brief-list i {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	color: var(--notely-primary-dark);
	background: var(--notely-control-bg);
	border: 1px solid var(--notely-border-soft);
	border-radius: var(--notely-radius-sm);
}

.notely-profile-brief-list small,
.notely-profile-brief-list strong {
	display: block;
}

.notely-profile-brief-list small {
	color: var(--notely-muted);
	font-size: 0.8rem;
	font-weight: 500;
}

.notely-profile-brief-list strong {
	margin-top: 1px;
	color: var(--notely-value);
	font-size: 0.93rem;
	line-height: 1.35;
	font-weight: 500;
	overflow-wrap: anywhere;
}

.notely-profile-card {
	position: relative;
	padding: 22px;
	background: var(--notely-panel-bg);
	border-color: var(--notely-panel-border);
	box-shadow: var(--notely-shadow-soft);
}

.notely-profile-card legend {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	width: fit-content;
	margin-bottom: 4px;
	padding: 0 8px 0 0;
	color: var(--notely-heading);
	font-size: 1.25rem;
	line-height: 1.25;
}

.notely-profile-card legend i {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	color: var(--notely-primary-dark);
	background: var(--notely-primary-soft);
	border: 1px solid var(--notely-border-soft);
	border-radius: var(--notely-radius-sm);
	font-size: 0.94rem;
}

.notely-profile-facts {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0 18px;
}

.notely-profile-inline-note {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px 12px;
	background: var(--notely-plate);
	border: 1px solid var(--notely-border-soft);
	border-radius: var(--notely-radius);
}

.notely-profile-video-manager {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
	align-items: stretch;
	gap: 16px;
	margin-top: 16px;
}

.notely-profile-instagram-manager {
	display: grid;
	grid-template-columns: minmax(220px, 0.8fr) minmax(0, 1fr) minmax(260px, 0.85fr);
	align-items: stretch;
	gap: 16px;
	margin-top: 16px;
}

.notely-profile-video-editor {
	min-width: 0;
}

.notely-profile-video-editor textarea {
	min-height: 180px;
	resize: vertical;
}

.notely-profile-video-preview {
	display: grid;
	align-content: start;
	gap: 14px;
	min-width: 0;
	padding: 16px;
	background: var(--notely-plate);
	border: 1px solid var(--notely-border-soft);
	border-radius: var(--notely-radius);
}

.notely-profile-video-preview .notely-section-head {
	margin-bottom: 0;
}

.notely-profile-video-list {
	display: grid;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.notely-profile-video-list li {
	display: grid;
	grid-template-columns: 36px minmax(0, 1fr);
	align-items: center;
	gap: 10px;
	padding: 10px;
	background: var(--notely-card);
	border: 1px solid var(--notely-border-soft);
	border-radius: var(--notely-radius-sm);
}

.notely-profile-video-list i {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	color: var(--notely-danger);
	background: var(--notely-danger-soft);
	border: 1px solid var(--notely-danger-border);
	border-radius: var(--notely-radius-sm);
}

.notely-profile-video-list strong,
.notely-profile-video-list small {
	display: block;
}

.notely-profile-video-list strong {
	color: var(--notely-value);
	font-size: 0.92rem;
	line-height: 1.3;
	font-weight: 600;
}

.notely-profile-video-list small {
	margin-top: 2px;
	color: var(--notely-muted-strong);
	font-size: 0.8rem;
	line-height: 1.3;
	overflow-wrap: anywhere;
}

.notely-profile-youtube {
	display: grid;
	gap: 18px;
}

.notely-profile-youtube > .notely-section-head {
	margin-bottom: 0;
}

.notely-profile-youtube > .notely-section-head > i {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	color: var(--notely-danger);
	background: var(--notely-danger-soft);
	border: 1px solid var(--notely-danger-border);
	border-radius: var(--notely-radius-sm);
}

.notely-profile-youtube__layout {
	display: grid;
	grid-template-columns: minmax(0, 1.3fr) minmax(260px, 0.7fr);
	gap: 18px;
	align-items: stretch;
}

.notely-profile-youtube__feature,
.notely-profile-youtube__playlist {
	min-width: 0;
	background: var(--notely-card);
	border: 1px solid var(--notely-border-soft);
	border-radius: var(--notely-radius);
	box-shadow: var(--notely-shadow-soft);
}

.notely-profile-youtube__feature {
	display: grid;
	overflow: hidden;
}

.notely-profile-youtube__embed {
	position: relative;
	aspect-ratio: 16 / 9;
	background: #101419;
}

.notely-profile-youtube__embed iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

.notely-profile-youtube__feature-copy {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	padding: 14px 16px;
}

.notely-profile-youtube__feature-copy a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--notely-primary-dark);
	font-size: 0.9rem;
	font-weight: 600;
	text-decoration: none;
}

.notely-profile-youtube__feature-copy a:hover,
.notely-profile-youtube__feature-copy a:focus-visible {
	color: var(--notely-accent);
	outline: none;
}

.notely-profile-youtube__playlist {
	display: grid;
	align-content: start;
	gap: 12px;
	padding: 16px;
}

.notely-profile-youtube__playlist .notely-card-title {
	margin: 0;
}

.notely-profile-youtube__list {
	display: grid;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.notely-profile-youtube__list a {
	display: grid;
	grid-template-columns: 36px minmax(0, 1fr);
	align-items: center;
	gap: 10px;
	min-height: 58px;
	padding: 10px;
	color: var(--notely-value);
	background: var(--notely-control-bg);
	border: 1px solid var(--notely-border-soft);
	border-radius: var(--notely-radius-sm);
	text-decoration: none;
}

.notely-profile-youtube__list a:hover,
.notely-profile-youtube__list a:focus-visible {
	color: var(--notely-primary-dark);
	border-color: var(--notely-active-border);
	outline: none;
	box-shadow: 0 0 0 3px var(--notely-focus-ring);
}

.notely-profile-youtube__list i {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	color: var(--notely-danger);
	background: var(--notely-danger-soft);
	border: 1px solid var(--notely-danger-border);
	border-radius: var(--notely-radius-sm);
}

.notely-profile-youtube__list strong,
.notely-profile-youtube__list small {
	display: block;
}

.notely-profile-youtube__list strong {
	font-size: 0.93rem;
	line-height: 1.25;
}

.notely-profile-youtube__list small {
	margin-top: 3px;
	color: var(--notely-muted-strong);
	font-size: 0.82rem;
	line-height: 1.3;
}

.notely-profile-instagram {
	display: grid;
	gap: 18px;
}

.notely-profile-instagram > .notely-section-head {
	margin-bottom: 0;
}

.notely-profile-instagram > .notely-section-head > i {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	color: var(--notely-accent);
	background: var(--notely-accent-soft);
	border: 1px solid var(--notely-border-soft);
	border-radius: var(--notely-radius-sm);
}

.notely-profile-instagram__layout {
	display: grid;
	grid-template-columns: minmax(220px, 0.55fr) minmax(0, 1fr);
	align-items: start;
	gap: 18px;
}

.notely-profile-instagram__profile {
	display: grid;
	grid-template-columns: 42px minmax(0, 1fr) 18px;
	align-items: center;
	gap: 12px;
	min-width: 0;
	padding: 16px;
	color: var(--notely-value);
	background: var(--notely-card);
	border: 1px solid var(--notely-border-soft);
	border-radius: var(--notely-radius);
	box-shadow: var(--notely-shadow-soft);
	text-decoration: none;
}

.notely-profile-instagram__profile:hover,
.notely-profile-instagram__profile:focus-visible {
	color: var(--notely-primary-dark);
	border-color: var(--notely-active-border);
	outline: none;
	box-shadow: 0 0 0 3px var(--notely-focus-ring);
}

.notely-profile-instagram__profile > i:first-child {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	color: var(--notely-accent);
	background: var(--notely-accent-soft);
	border: 1px solid var(--notely-border-soft);
	border-radius: var(--notely-radius-sm);
}

.notely-profile-instagram__profile small,
.notely-profile-instagram__profile strong {
	display: block;
}

.notely-profile-instagram__profile small {
	color: var(--notely-muted);
	font-size: 0.8rem;
	font-weight: 600;
}

.notely-profile-instagram__profile strong {
	margin-top: 2px;
	color: var(--notely-value);
	font-size: 1rem;
	line-height: 1.25;
	overflow-wrap: anywhere;
}

.notely-profile-instagram__reels {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
	gap: 14px;
	min-width: 0;
}

.notely-profile-instagram__reel {
	display: grid;
	overflow: hidden;
	min-width: 0;
	background: var(--notely-card);
	border: 1px solid var(--notely-border-soft);
	border-radius: var(--notely-radius);
	box-shadow: var(--notely-shadow-soft);
}

.notely-profile-instagram__reel.is-featured {
	border-color: var(--notely-active-border);
}

.notely-profile-instagram__embed {
	position: relative;
	aspect-ratio: 9 / 16;
	min-height: 360px;
	background: #101419;
}

.notely-profile-instagram__embed iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

.notely-profile-instagram__reel a {
	display: inline-flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding: 12px 14px;
	color: var(--notely-primary-dark);
	font-size: 0.9rem;
	font-weight: 600;
	text-decoration: none;
}

.notely-profile-instagram__reel a:hover,
.notely-profile-instagram__reel a:focus-visible {
	color: var(--notely-accent);
	outline: none;
}

.notely-profile-cta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	padding: 22px;
	background:
		linear-gradient(90deg, var(--notely-primary) 0 42px, transparent 42px 56px, var(--notely-accent) 56px 78px, transparent 78px 100%) 0 0 / 100% 3px no-repeat,
		var(--notely-panel-bg);
}

.notely-profile-cta .notely-card-title,
.notely-profile-cta .notely-context-note {
	margin-bottom: 0;
}

.notely-confidence {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
	color: var(--notely-muted-strong);
	font-size: 0.88rem;
}

.notely-confidence span {
	color: var(--notely-value);
}

.notely-skeleton {
	display: grid;
	gap: 11px;
	padding: 16px;
	background: var(--notely-plate);
	border: 1px solid var(--notely-border-soft);
	border-radius: var(--notely-radius);
}

.notely-skeleton-line {
	display: block;
	width: 100%;
	height: 11px;
	overflow: hidden;
	background:
		var(--notely-skeleton-line);
	background-size: 220% 100%;
	border-radius: 999px;
}

.notely-skeleton-line.short {
	width: 46%;
}

.notely-skeleton-line.medium {
	width: 68%;
}

.notely-toast-stack {
	display: grid;
	gap: 10px;
}

.notely-toast {
	display: grid;
	grid-template-columns: 10px minmax(0, 1fr);
	gap: 11px;
	align-items: start;
	padding: 13px;
	background: var(--notely-card);
	border: 1px solid var(--notely-border-soft);
	border-radius: var(--notely-radius);
	box-shadow: 0 10px 24px rgba(7, 21, 46, 0.055);
}

.notely-toast::before {
	width: 10px;
	height: 10px;
	margin-top: 5px;
	background: var(--notely-primary);
	border-radius: 50%;
	content: "";
}

.notely-toast.is-success::before {
	background: var(--notely-success);
}

.notely-toast.is-warning::before {
	background: var(--notely-accent);
}

.notely-toast.is-danger::before {
	background: var(--notely-danger);
}

.notely-toast strong,
.notely-toast small {
	display: block;
}

.notely-toast small {
	margin-top: 2px;
	color: var(--notely-muted);
	font-size: 0.93rem;
	line-height: 1.45;
}

.notely-layer {
	position: fixed;
	inset: 0;
	z-index: 80;
	display: grid;
	place-items: center;
	padding: 24px;
	background: var(--notely-overlay);
	backdrop-filter: blur(12px) saturate(1.08);
}

.notely-layer[hidden] {
	display: none;
}

.notely-layer.is-drawer {
	place-items: stretch end;
	padding: 0;
}

.notely-layer-panel {
	display: grid;
	gap: 16px;
	width: min(520px, 100%);
	max-height: min(760px, calc(100vh - 48px));
	overflow: auto;
	padding: 22px;
	background:
		linear-gradient(90deg, var(--notely-primary) 0 34px, transparent 34px 48px, var(--notely-accent) 48px 62px, transparent 62px 100%) 0 0 / 100% 3px no-repeat,
		var(--notely-card);
	border: 1px solid var(--notely-panel-border);
	border-radius: var(--notely-radius);
	box-shadow: var(--notely-shadow);
}

.notely-layer.is-drawer .notely-layer-panel {
	width: min(440px, 100%);
	min-height: 100vh;
	max-height: none;
	border-radius: var(--notely-radius) 0 0 var(--notely-radius);
}

.notely-layer-head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 14px;
}

.notely-layer-head h3 {
	margin: 0;
	font-size: 1.15rem;
	line-height: 1.25;
	font-weight: 500;
}

.notely-layer-close {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	color: var(--notely-primary-dark);
	background: var(--notely-primary-soft);
	border: 1px solid var(--notely-border-soft);
	border-radius: var(--notely-radius-sm);
	font: inherit;
	cursor: pointer;
}

.notely-command-layer {
	align-items: start;
	padding-top: max(64px, env(safe-area-inset-top));
}

.notely-command-panel {
	grid-template-rows: auto auto minmax(0, 1fr) auto;
	gap: 14px;
	width: min(660px, 100%);
	max-height: min(720px, calc(100vh - 96px));
	padding: 0;
	overflow: hidden;
}

.notely-command-head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
	padding: 22px 22px 0;
}

.notely-command-head h2 {
	margin: 0;
	color: var(--notely-heading);
	font-size: 1.28rem;
	line-height: 1.2;
	font-weight: 500;
}

.notely-command-search {
	display: grid;
	grid-template-columns: 22px minmax(0, 1fr);
	align-items: center;
	gap: 10px;
	min-height: 50px;
	margin: 0 22px;
	padding: 0 14px;
	color: var(--notely-muted);
	background: var(--notely-control-bg);
	border: 1px solid var(--notely-control-border);
	border-radius: var(--notely-radius-sm);
	box-shadow: 0 1px 0 var(--notely-inset-highlight) inset;
}

.notely-command-search:focus-within {
	border-color: var(--notely-accent);
	box-shadow: 0 0 0 4px var(--notely-focus-ring);
}

.notely-command-search input {
	width: 100%;
	min-width: 0;
	min-height: 48px;
	color: var(--notely-ink);
	background: transparent;
	border: 0;
	outline: 0;
	font: inherit;
}

.notely-command-search input::placeholder {
	color: var(--notely-muted);
	opacity: 1;
}

.notely-command-list {
	display: grid;
	gap: 6px;
	min-height: 0;
	max-height: min(440px, calc(100vh - 286px));
	margin: 0;
	padding: 0 14px 16px;
	overflow: auto;
	list-style: none;
}

.notely-command-item {
	display: grid;
	grid-template-columns: 40px minmax(0, 1fr) 18px;
	align-items: center;
	gap: 12px;
	min-height: 70px;
	padding: 11px 12px;
	color: var(--notely-ink);
	background: transparent;
	border: 1px solid transparent;
	border-radius: var(--notely-radius-sm);
	text-decoration: none;
}

.notely-command-item:hover,
.notely-command-item:focus-visible,
.notely-command-item.is-active {
	color: var(--notely-primary-dark);
	background: var(--notely-primary-soft);
	border-color: var(--notely-active-border);
	outline: none;
}

.notely-command-item__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	color: var(--notely-primary-dark);
	background: var(--notely-control-bg);
	border: 1px solid var(--notely-border-soft);
	border-radius: var(--notely-radius-sm);
}

.notely-command-item__copy {
	display: grid;
	gap: 3px;
	min-width: 0;
}

.notely-command-item__copy strong,
.notely-command-item__copy small {
	display: block;
	overflow-wrap: anywhere;
}

.notely-command-item__copy strong {
	color: var(--notely-value);
	font-size: 0.98rem;
	font-weight: 500;
	line-height: 1.25;
}

.notely-command-item__copy small {
	color: var(--notely-muted-strong);
	font-size: 0.88rem;
	line-height: 1.35;
}

.notely-command-item__arrow {
	color: var(--notely-muted);
	font-size: 0.78rem;
}

.notely-command-empty {
	margin: -4px 22px 20px;
	padding: 14px;
	color: var(--notely-muted-strong);
	background: var(--notely-plate);
	border: 1px solid var(--notely-border-soft);
	border-radius: var(--notely-radius-sm);
}

@media (prefers-reduced-motion: no-preference) {
	.notely-skeleton-line {
		animation: notely-skeleton-flow 1.4s var(--notely-ease-soft) infinite;
	}

	.notely-layer {
		animation: notely-content-enter var(--notely-motion) var(--notely-ease-soft) backwards;
	}

	.notely-layer-panel {
		animation: notely-surface-enter var(--notely-motion-enter) var(--notely-ease-soft) backwards;
	}
}

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

	.notely-button:hover,
	.notely-button:focus-visible {
		transform: none;
	}
}

.notely-footer {
	display: grid;
	justify-items: center;
	gap: 4px;
	padding-top: 22px;
	padding-bottom: 28px;
	color: var(--notely-muted);
	font-size: 0.9rem;
	text-align: center;
}

.notely-footer p {
	margin: 0;
}

.notely-footer-logo {
	width: 44px;
	height: auto;
	margin-bottom: 2px;
	filter: drop-shadow(0 7px 12px rgba(7, 21, 46, 0.08));
}

.notely-footer-logo--dark {
	display: none;
}

html[data-notely-theme="dark"] .notely-footer-logo--light {
	display: none;
}

html[data-notely-theme="dark"] .notely-footer-logo--dark {
	display: block;
}

@media (prefers-color-scheme: dark) {
	html:not([data-notely-theme="light"]) .notely-header {
		background: var(--notely-glass);
	}

	html:not([data-notely-theme="light"]) .notely-footer-logo--light {
		display: none;
	}

	html:not([data-notely-theme="light"]) .notely-footer-logo--dark {
		display: block;
	}
}

.notely-footer-kicker {
	color: var(--notely-primary-dark);
	font-size: 0.68rem;
	font-weight: 700;
	text-transform: uppercase;
}

.notely-footer-note {
	color: var(--notely-accent);
	font-size: 0.7rem;
	font-weight: 500;
	text-transform: uppercase;
}

.notely-footer-copy {
	margin-top: 8px;
}

.notely-error {
	max-width: 720px;
	margin: 10vh auto;
	padding: 24px;
}

@media (max-width: 980px) {
	.notely-start-hero,
	.notely-start-section--split {
		grid-template-columns: 1fr;
	}

	.notely-start-hero {
		display: grid;
	}

	.notely-opportunity-card {
		grid-template-columns: 112px minmax(0, 1fr);
		gap: 22px;
		min-height: 240px;
		padding: 24px;
	}

	.notely-opportunity-card__icon {
		width: 92px;
		height: 92px;
	}

	.notely-opportunity-card__icon svg {
		width: 62px;
		height: 62px;
	}

	.notely-opportunity-card__content {
		grid-template-columns: minmax(205px, 0.72fr) minmax(320px, 1fr);
		gap: 20px;
	}

	.notely-opportunity-card__cta {
		width: 144px;
		min-width: 0;
		padding-inline: 14px;
		font-size: 0.9rem;
	}

	.notely-opportunity-card__copy .notely-card-title {
		font-size: 1.22rem;
	}

	.notely-opportunity-card__meta {
		gap: 10px;
	}

	.notely-opportunity-card__meta span {
		min-height: 40px;
		padding: 8px 12px;
		font-size: 0.86rem;
	}
}

@media (max-width: 900px) {
	.notely-event-card {
		grid-template-columns: 88px minmax(0, 1fr) 28px;
	}

	.notely-event-card .notely-list-meta {
		grid-column: 2 / -1;
		grid-row: 2;
	}

	.notely-event-card__arrow {
		grid-column: 3;
		grid-row: 1;
	}
}

@media (min-width: 761px) and (max-width: 980px) {
	.notely-brand {
		font-size: 1.2rem;
	}

	.notely-brand-logo {
		width: 42px;
	}

	.notely-header-tools {
		flex: 1 1 auto;
	}

	.notely-nav {
		flex-wrap: nowrap;
		justify-content: flex-start;
		gap: 2px;
		overflow-x: auto;
		font-size: 0.68rem;
		scrollbar-width: none;
	}

	.notely-nav::-webkit-scrollbar {
		display: none;
	}

	.notely-nav a {
		flex: 0 0 auto;
		padding: 6px 4px;
	}

	.notely-theme-toggle {
		width: 40px;
		height: 40px;
	}
}

@media (min-width: 981px) {
	.notely-header {
		gap: 14px;
	}

	.notely-nav {
		flex-wrap: nowrap;
		gap: 3px;
		font-size: 0.84rem;
	}

	.notely-nav a {
		padding-inline: 7px;
	}
}

@media (max-width: 1040px) {
	.notely-profile-shell,
	.notely-profile-hero,
	.notely-profile-overview-grid,
	.notely-profile-video-manager,
	.notely-profile-instagram-manager,
	.notely-profile-youtube__layout,
	.notely-profile-instagram__layout,
	.notely-package-current,
	.notely-packages-shell,
	.notely-settings-shell {
		grid-template-columns: 1fr;
	}

	.notely-profile-sidebar {
		position: static;
	}

	.notely-package-summary,
	.notely-settings-sidebar {
		position: static;
	}

	.notely-settings-nav.notely-anchor-nav {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.notely-profile-side-nav.notely-anchor-nav {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.notely-profile-toolbar {
		top: 136px;
	}

	.notely-grid.five,
	.notely-toolkit-button-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.notely-toolkit-type-lockup {
		grid-template-columns: 1fr;
	}

	.notely-toolkit-swatches {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 760px) {
	.notely-header,
	.notely-dashboard-head {
		align-items: flex-start;
		flex-direction: column;
	}

	.notely-group-create .notely-dashboard-head {
		align-items: stretch;
	}

	.notely-group-create__panel {
		padding: 22px;
	}

	.notely-group-create__location.notely-grid.two,
	.notely-group-create__settings.notely-grid.two {
		grid-template-columns: 1fr;
	}

	.notely-group-create .notely-actions,
	.notely-group-create .notely-button {
		width: 100%;
	}

	.notely-start-hero {
		padding: 22px;
	}

	.notely-start-hero .notely-actions,
	.notely-start-hero .notely-button {
		width: 100%;
	}

	.notely-start-card-grid {
		grid-template-columns: 1fr;
	}

	.notely-header {
		padding: 16px;
	}

	.notely-content {
		padding: 28px 16px 34px;
	}

	.notely-shell--authenticated .notely-content {
		padding-bottom: calc(112px + env(safe-area-inset-bottom));
	}

	.notely-shell--authenticated:has(.notely-landing) .notely-content {
		padding-bottom: 34px;
	}

	.notely-shell--authenticated .notely-footer {
		padding-bottom: calc(106px + env(safe-area-inset-bottom));
	}

	.notely-shell:has(.notely-landing) .notely-header {
		align-items: center;
		flex-direction: row;
		gap: 8px;
		padding: 12px;
	}

	.notely-shell:has(.notely-landing) .notely-brand {
		font-size: 1.16rem;
	}

	.notely-shell:has(.notely-landing) .notely-brand-logo {
		width: 36px;
	}

	.notely-shell:has(.notely-landing) .notely-header-tools {
		width: auto;
		flex: 1 1 auto;
		align-items: center;
		justify-content: flex-end;
		gap: 6px;
	}

	.notely-shell:has(.notely-landing) .notely-nav {
		display: none;
	}

	.notely-shell:has(.notely-landing) .notely-theme-toggle,
	.notely-shell:has(.notely-landing) .notely-command-trigger,
	.notely-shell:has(.notely-landing) .notely-notification-trigger,
	.notely-shell:has(.notely-landing) .notely-account-trigger,
	.notely-shell:has(.notely-landing) .notely-header-icon-link {
		width: 38px;
		height: 38px;
		min-height: 38px;
	}

	.notely-shell:has(.notely-landing) .notely-command-trigger {
		padding: 0;
	}

	.notely-shell:has(.notely-landing) .notely-command-trigger__label {
		position: absolute;
		width: 1px;
		height: 1px;
		margin: -1px;
		overflow: hidden;
		clip: rect(0, 0, 0, 0);
		white-space: nowrap;
	}

	.notely-shell:has(.notely-landing) .notely-mobile-nav {
		display: none;
	}

	/* L'header autenticato su mobile lascia spazio alla hero: la navigazione primaria vive nella bottom bar. */
	.notely-shell--authenticated .notely-header {
		align-items: center;
		flex-direction: row;
		gap: 8px;
		padding: 12px;
	}

	.notely-shell--authenticated .notely-brand {
		font-size: 1.16rem;
	}

	.notely-shell--authenticated .notely-brand-logo {
		width: 36px;
	}

	.notely-shell--authenticated .notely-header-tools {
		width: auto;
		flex: 1 1 auto;
		align-items: center;
		justify-content: flex-end;
		gap: 6px;
	}

	.notely-shell--authenticated .notely-nav {
		display: none;
	}

	.notely-shell--authenticated .notely-theme-toggle,
	.notely-shell--authenticated .notely-command-trigger,
	.notely-shell--authenticated .notely-notification-trigger,
	.notely-shell--authenticated .notely-account-trigger,
	.notely-shell--authenticated .notely-header-icon-link {
		width: 38px;
		height: 38px;
		min-height: 38px;
	}

	.notely-shell--authenticated .notely-command-trigger {
		padding: 0;
	}

	.notely-shell--authenticated .notely-command-trigger__label {
		position: absolute;
		width: 1px;
		height: 1px;
		margin: -1px;
		overflow: hidden;
		clip: rect(0, 0, 0, 0);
		white-space: nowrap;
	}

	.notely-mobile-nav {
		position: fixed;
		right: 12px;
		bottom: max(10px, env(safe-area-inset-bottom));
		left: 12px;
		z-index: 44;
		display: grid;
		grid-template-columns: repeat(auto-fit, minmax(46px, 1fr));
		gap: 4px;
		padding: 8px;
		background: var(--notely-glass);
		border: 1px solid var(--notely-panel-border);
		border-radius: var(--notely-radius);
		box-shadow: 0 18px 42px rgba(7, 21, 46, 0.18);
		backdrop-filter: blur(20px) saturate(1.12);
	}

	.notely-mobile-nav__link {
		position: relative;
		display: grid;
		grid-template-rows: 19px auto;
		align-items: center;
		justify-items: center;
		gap: 4px;
		min-width: 0;
		min-height: 56px;
		padding: 6px 3px;
		color: var(--notely-muted-strong);
		background: transparent;
		border: 1px solid transparent;
		border-radius: var(--notely-radius-sm);
		font-size: 0.64rem;
		font-weight: 500;
		line-height: 1.05;
		text-align: center;
		text-decoration: none;
	}

	.notely-mobile-nav__link:hover,
	.notely-mobile-nav__link:focus-visible {
		color: var(--notely-primary-dark);
		background: var(--notely-hover-bg);
		border-color: var(--notely-active-border);
		outline: none;
	}

	.notely-mobile-nav__link.is-active,
	.notely-mobile-nav__link[aria-current="page"] {
		color: var(--notely-primary-dark);
		background: var(--notely-primary-soft);
		border-color: var(--notely-active-border);
		box-shadow: 0 1px 0 var(--notely-inset-highlight) inset;
	}

	.notely-mobile-nav__link i {
		color: inherit;
		font-size: 1rem;
		line-height: 1;
	}

	.notely-mobile-nav__badge {
		top: 4px;
		right: 8px;
		transform: scale(0.92);
		transform-origin: top right;
	}

	.notely-mobile-nav__link span {
		display: block;
		width: 100%;
		min-width: 0;
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
	}

	.notely-brand {
		font-size: 1.3rem;
	}

	.notely-brand-logo {
		width: 42px;
	}

	.notely-nav {
		justify-content: flex-start;
	}

	.notely-header-tools {
		width: 100%;
		align-items: flex-start;
		justify-content: space-between;
	}

	.notely-notification-popover {
		position: fixed;
		top: 112px;
		right: 16px;
		left: 16px;
		width: auto;
		max-height: calc(100dvh - 214px);
	}

	.notely-account-popover {
		position: fixed;
		top: 112px;
		right: 16px;
		left: 16px;
		width: auto;
	}

	.notely-list-row {
		flex-direction: column;
	}

	.notely-page-hero {
		min-height: 0;
		padding: 20px;
	}

	.notely-page-hero::after {
		right: 12px;
		bottom: 12px;
		width: 130px;
		height: 84px;
		opacity: 0.035;
	}

	.notely-page-hero .notely-section-title {
		font-size: clamp(1.9rem, 10vw, 2.65rem);
	}

	.notely-page-hero--compact .notely-section-title {
		font-size: clamp(1.75rem, 9vw, 2.35rem);
	}

	.notely-page-hero .notely-actions,
	.notely-page-hero .notely-button,
	.notely-filter-panel .notely-button {
		width: 100%;
	}

	.notely-opportunity-card {
		grid-template-columns: 1fr;
		min-height: 0;
		padding: 22px;
	}

	.notely-opportunity-card__media {
		grid-template-columns: 86px minmax(0, 1fr);
		align-content: start;
		align-items: center;
		gap: 14px;
	}

	.notely-opportunity-card__icon {
		width: 78px;
		height: 78px;
	}

	.notely-opportunity-card__icon svg {
		width: 54px;
		height: 54px;
	}

	.notely-opportunity-card__cta {
		width: 100%;
		min-width: 0;
		justify-content: center;
	}

	.notely-opportunity-card__content {
		grid-template-columns: 1fr;
		gap: 18px;
	}

	.notely-opportunity-card__copy .notely-card-title,
	.notely-opportunity-card__copy .notely-text {
		max-width: none;
	}

	.notely-opportunity-card__meta {
		justify-content: flex-start;
		max-width: none;
		margin-left: 0;
	}

	.notely-opportunity-card__meta span {
		white-space: normal;
	}

	.notely-filter-panel {
		padding: 22px;
	}

	.notely-event-card {
		grid-template-columns: 72px minmax(0, 1fr) 24px;
		gap: 14px;
		padding: 20px;
	}

	.notely-event-avatar {
		width: 66px;
		height: 66px;
		font-size: 1.4rem;
	}

	.notely-event-card__main {
		gap: 14px;
	}

	.notely-event-card .notely-list-meta {
		grid-column: 2 / -1;
		grid-row: 2;
	}

	.notely-event-card__arrow {
		grid-column: 3;
		grid-row: 1;
	}

	.notely-form-toolbar,
	.notely-fieldset-intro,
	.notely-instrument-panel-head {
		align-items: stretch;
		flex-direction: column;
	}

	.notely-availability-range-action .notely-button {
		width: 100%;
	}

	.notely-availability-badges {
		justify-content: flex-start;
	}

	.notely-list-meta {
		justify-content: flex-start;
	}

	.notely-profile-tabs,
	.notely-profile-toolbar {
		position: static;
	}

	.notely-profile-main {
		order: 1;
	}

	.notely-profile-sidebar {
		order: 2;
		max-height: none;
	}

	.notely-profile-side-nav.notely-anchor-nav,
	.notely-profile-facts {
		grid-template-columns: 1fr;
	}

	.notely-profile-hero,
	.notely-profile-card,
	.notely-profile-cta {
		padding: 18px;
	}

	.notely-profile-completion .notely-actions,
	.notely-profile-cta,
	.notely-profile-inline-note,
	.notely-profile-youtube__feature-copy,
	.notely-settings-profile-row {
		align-items: stretch;
		flex-direction: column;
	}

	.notely-profile-completion .notely-button,
	.notely-profile-cta .notely-button,
	.notely-profile-youtube__feature-copy a {
		width: 100%;
	}

	.notely-grid.two,
	.notely-grid.three,
	.notely-grid.four,
	.notely-grid.five,
	.notely-package-current__meta,
	.notely-completion-list,
	.notely-instrument-row,
	.notely-instrument-controls,
	.notely-check-grid,
	.notely-attendance-counts,
	.notely-filter-form,
	.notely-share-qr,
	.notely-share-download {
		grid-template-columns: 1fr;
	}

	.notely-toolkit-head {
		min-height: 0;
	}

	.notely-toolkit-head .notely-actions,
	.notely-toolkit-head .notely-button,
	.notely-toolkit-button-states,
	.notely-toolkit-button-grid,
	.notely-toolkit-semantic-row {
		width: 100%;
		grid-template-columns: 1fr;
	}

	.notely-toolkit-tabs,
	.notely-toolkit-inline-tabs {
		flex-wrap: nowrap;
		gap: 22px;
		overflow-x: auto;
	}

	.notely-toolkit-tabs a,
	.notely-toolkit-inline-tabs button {
		flex: 0 0 auto;
	}

	.notely-toolkit-brand-card::after {
		inset: 24px 12px auto auto;
		width: 150px;
		opacity: 0.045;
	}

	.notely-toolkit-swatches {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.notely-toolkit-type-lockup strong {
		font-size: clamp(3.4rem, 18vw, 5rem);
	}

	.notely-toolkit-table-footer {
		align-items: flex-start;
		flex-direction: column;
	}

	.notely-availability-grid {
		grid-template-columns: repeat(auto-fill, minmax(104px, 1fr));
	}

	.notely-instrument-editor.catalog {
		grid-template-columns: 1fr;
	}

	.notely-timeline li,
	.notely-pipeline-item,
	.notely-feed li {
		grid-template-columns: 1fr;
	}

	.notely-avatar {
		margin-bottom: 2px;
	}

	.notely-member-list li,
	.notely-application-header,
	.notely-application-form,
	.notely-section-head,
	.notely-inline-controls,
	.notely-inline-form,
	.notely-tool {
		align-items: stretch;
		flex-direction: column;
	}

	.notely-impersonation-banner {
		padding: 12px 16px;
	}

	.notely-impersonation-banner__inner {
		align-items: flex-start;
		justify-content: flex-start;
		flex-wrap: wrap;
		gap: 10px 12px;
	}

	.notely-impersonation-banner__copy,
	.notely-impersonation-banner__details {
		align-items: flex-start;
		justify-content: flex-start;
	}

	.notely-impersonation-banner__copy {
		flex: 1 1 calc(100% - 24px);
	}

	.notely-impersonation-banner__details {
		flex-direction: column;
		gap: 2px;
	}

	.notely-impersonation-banner__details span + span {
		padding-left: 0;
	}

	.notely-impersonation-banner__details span + span::before {
		display: none;
	}

	.notely-impersonation-banner__form {
		width: 100%;
		padding-left: 24px;
	}

	.notely-impersonation-banner__button {
		width: 100%;
	}

	.notely-application-form {
		grid-template-columns: 1fr;
	}

	.notely-application-status {
		width: fit-content;
	}

	.notely-inline-form select {
		width: 100%;
	}

	.notely-segmented {
		width: 100%;
	}

	.notely-segmented button,
	.notely-segmented a {
		flex: 1 1 auto;
	}

	.notely-insight-head,
	.notely-confidence {
		align-items: flex-start;
		flex-direction: column;
	}

	.notely-layer {
		padding: 16px;
	}

	.notely-layer-panel {
		width: 100%;
		max-height: calc(100vh - 32px);
	}

	.notely-command-layer {
		align-items: stretch;
		padding: 8px;
	}

	.notely-command-panel {
		max-height: calc(100dvh - 16px);
	}

	.notely-command-head {
		padding: 18px 18px 0;
	}

	.notely-command-search {
		margin-inline: 18px;
	}

	.notely-command-list {
		max-height: calc(100dvh - 224px);
		padding-inline: 10px;
	}

	.notely-layer.is-drawer .notely-layer-panel {
		border-radius: 0;
	}

	.notely-packages-page {
		padding-bottom: calc(212px + env(safe-area-inset-bottom));
	}

	.notely-package-current__title,
	.notely-package-plan-card__head,
	.notely-package-feature-list li {
		align-items: flex-start;
		flex-direction: column;
	}

	.notely-package-feature-list strong {
		text-align: left;
	}

	.notely-package-summary {
		display: none;
	}

	.notely-package-drawer {
		position: fixed;
		right: 12px;
		bottom: calc(92px + env(safe-area-inset-bottom));
		left: 12px;
		z-index: 45;
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 12px;
		padding: 12px;
		background: var(--notely-glass);
		border: 1px solid var(--notely-panel-border);
		border-radius: var(--notely-radius);
		box-shadow: 0 18px 42px rgba(7, 21, 46, 0.18);
		backdrop-filter: blur(20px) saturate(1.12);
	}

	.notely-package-drawer__main {
		display: grid;
		gap: 2px;
		min-width: 0;
	}

	.notely-package-drawer__main span,
	.notely-package-drawer__main small {
		color: var(--notely-muted-strong);
		font-size: 0.82rem;
		line-height: 1.25;
	}

	.notely-package-drawer__main strong {
		color: var(--notely-value);
		font-size: 1rem;
		font-weight: 500;
		overflow-wrap: anywhere;
	}

	.notely-package-drawer .notely-button {
		flex: 0 0 auto;
	}

	.notely-settings-toolbar {
		position: static;
	}
}

@media (max-width: 480px) {
	.notely-notification-trigger,
	.notely-account-trigger,
	.notely-header-icon-link {
		width: 40px;
		height: 40px;
	}

	.notely-notification-popover {
		top: 104px;
		right: 8px;
		left: 8px;
		max-height: calc(100dvh - 202px);
	}

	.notely-account-popover {
		top: 104px;
		right: 8px;
		left: 8px;
	}

	.notely-notification-popover__head {
		align-items: stretch;
		flex-direction: column;
	}

	.notely-notification-popover__head .notely-button {
		width: 100%;
	}

	.notely-notification-item__main {
		grid-template-columns: 32px minmax(0, 1fr);
	}

	.notely-notification-item time {
		grid-column: 2;
	}

	.notely-notification-item__actions {
		padding-left: 42px;
	}

	.notely-command-trigger {
		width: 42px;
		padding: 0;
	}

	.notely-command-trigger__label {
		position: absolute;
		width: 1px;
		height: 1px;
		margin: -1px;
		overflow: hidden;
		clip: rect(0, 0, 0, 0);
		white-space: nowrap;
	}

	.notely-mobile-nav {
		right: 8px;
		left: 8px;
		padding: 6px;
	}

	.notely-mobile-nav__link {
		gap: 3px;
		min-height: 54px;
		padding-inline: 2px;
		font-size: 0.58rem;
	}

	.notely-package-drawer {
		align-items: stretch;
		flex-direction: column;
	}

	.notely-package-drawer .notely-button {
		width: 100%;
	}

	.notely-settings-nav.notely-anchor-nav {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 1120px) {
	.notely-personal-shell,
	.notely-personal-hero,
	.notely-personal-grid,
	.notely-personal-preview-row {
		grid-template-columns: 1fr;
	}

	.notely-personal-sidebar {
		position: static;
		max-height: none;
	}

	.notely-personal-side-nav.notely-anchor-nav {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.notely-personal-tabs {
		position: static;
		width: 100%;
	}

	.notely-personal-preview-facts {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 760px) {
	.notely-personal-main {
		order: 1;
	}

	.notely-personal-sidebar {
		order: 2;
	}

	.notely-personal-hero,
	.notely-personal-card,
	.notely-personal-cta {
		padding: 18px;
	}

	.notely-personal-tabs {
		display: none;
	}

	.notely-personal-completion-card .notely-actions,
	.notely-personal-cta,
	.notely-personal-cta .notely-actions {
		align-items: stretch;
		flex-direction: column;
	}

	.notely-personal-completion-card .notely-button,
	.notely-personal-cta .notely-button {
		width: 100%;
	}

	.notely-personal-activity-list a {
		grid-template-columns: 34px minmax(0, 1fr);
	}

	.notely-personal-activity-list em {
		grid-column: 2;
		white-space: normal;
	}

	.notely-personal-preview-facts,
	.notely-personal-side-nav.notely-anchor-nav {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 760px) {
	/* Le hero con pannelli azione restano compatte su telefono senza perdere gerarchia. */
	.notely-profile-hero,
	.notely-personal-hero,
	.notely-start-hero {
		gap: 12px;
		min-height: 0;
		padding: 16px;
	}

	.notely-profile-hero-copy,
	.notely-personal-hero-copy,
	.notely-start-hero__copy {
		gap: 8px;
	}

	.notely-profile-hero-copy .notely-section-title,
	.notely-personal-hero-copy .notely-section-title,
	.notely-start-hero .notely-section-title {
		margin-bottom: 6px;
		font-size: clamp(1.62rem, 7.4vw, 2rem);
		line-height: 1.06;
	}

	.notely-profile-hero-copy .notely-text,
	.notely-personal-hero-copy .notely-text,
	.notely-start-hero .notely-text {
		font-size: 0.94rem;
		line-height: 1.38;
	}

	.notely-profile-completion,
	.notely-personal-completion-card {
		gap: 8px;
		padding: 10px;
	}

	.notely-profile-completion-head,
	.notely-personal-completion-head {
		align-items: center;
	}

	.notely-profile-completion-head strong,
	.notely-personal-completion-head strong {
		font-size: 1.55rem;
	}

	.notely-profile-hero .notely-profile-completion .notely-actions,
	.notely-personal-hero .notely-personal-completion-card .notely-actions,
	.notely-start-hero .notely-actions {
		align-items: center;
		flex-direction: row;
		flex-wrap: wrap;
		gap: 6px;
	}

	.notely-profile-hero .notely-profile-completion .notely-button,
	.notely-personal-hero .notely-personal-completion-card .notely-button,
	.notely-start-hero .notely-button {
		flex: 1 1 98px;
		width: auto;
		min-height: 38px;
		padding-inline: 10px;
		font-size: 0.9rem;
	}
}

@media (max-width: 360px) {
	.notely-mobile-nav {
		right: 8px;
		left: 8px;
		grid-template-columns: repeat(6, minmax(0, 1fr));
		gap: 2px;
		padding: 6px;
	}

	.notely-mobile-nav__link {
		min-height: 52px;
		padding: 5px 1px;
		font-size: 0.58rem;
	}

	.notely-mobile-nav__link i {
		font-size: 0.92rem;
	}

	.notely-profile-hero,
	.notely-personal-hero,
	.notely-start-hero {
		gap: 10px;
		padding: 14px;
	}

	.notely-profile-hero-copy .notely-section-title,
	.notely-personal-hero-copy .notely-section-title,
	.notely-start-hero .notely-section-title {
		font-size: clamp(1.52rem, 7.2vw, 1.85rem);
	}

	.notely-profile-hero-copy .notely-text,
	.notely-personal-hero-copy .notely-text,
	.notely-start-hero .notely-text {
		line-height: 1.34;
	}

	.notely-profile-completion,
	.notely-personal-completion-card {
		padding: 9px;
	}

	.notely-profile-hero .notely-profile-completion .notely-button,
	.notely-personal-hero .notely-personal-completion-card .notely-button,
	.notely-start-hero .notely-button {
		min-height: 36px;
		font-size: 0.86rem;
	}
}

.notely-nav a[href="registrati"] {
	color: var(--notely-primary-dark);
	border: 1px solid var(--notely-active-border);
	border-radius: var(--notely-radius-sm);
	box-shadow: 0 1px 0 var(--notely-inset-highlight) inset;
}

.notely-nav a[href="registrati"]:hover,
.notely-nav a[href="registrati"]:focus-visible {
	color: var(--notely-primary-dark);
	background: var(--notely-accent-soft);
}

.notely-landing {
	--notely-landing-navy: #061226;
	--notely-landing-navy-strong: #030914;
	--notely-landing-line: rgba(214, 224, 238, 0.075);
	--notely-landing-section: #fffffd;
	--notely-landing-section-alt: #f7f8f4;
	--notely-landing-panel: rgba(255, 255, 253, 0.94);
	--notely-landing-panel-border: rgba(185, 141, 69, 0.24);
	--notely-landing-ink: #07152e;
	--notely-landing-muted: #46556b;
	--notely-landing-coral-ink: #a04432;
	--notely-landing-coral-bg: #fff1ed;
	--notely-landing-coral-border: #f3d1c8;
	--notely-landing-anchor-bg: rgba(255, 255, 253, 0.9);
	--notely-landing-divider: rgba(7, 21, 46, 0.1);
	--notely-landing-soft-divider: rgba(7, 21, 46, 0.09);
	--notely-landing-hover-bg: rgba(185, 141, 69, 0.09);
	--notely-landing-active-bg: rgba(185, 141, 69, 0.12);
	--notely-landing-icon-bg: #fff8eb;
	--notely-landing-icon-border: rgba(185, 141, 69, 0.18);
	--notely-landing-dashboard-row-bg: #fff;
	--notely-landing-dashboard-row-icon: rgba(7, 21, 46, 0.32);
	--notely-landing-card-bg: linear-gradient(135deg, rgba(255, 255, 253, 0.98), rgba(249, 251, 253, 0.92));
	--notely-landing-dashboard-bg: linear-gradient(180deg, rgba(255, 255, 253, 0.96), rgba(248, 251, 253, 0.9));
	--notely-landing-flow-bg: linear-gradient(135deg, rgba(255, 255, 253, 0.82), rgba(255, 255, 253, 0.44));
	--notely-landing-dashboard-shadow: 0 28px 70px rgba(7, 21, 46, 0.09);
	--notely-landing-card-shadow: 0 16px 44px rgba(7, 21, 46, 0.055);
	--notely-landing-hover-shadow: 0 18px 46px rgba(7, 21, 46, 0.08);
	--notely-landing-audience-bg: linear-gradient(135deg, #f8fbff, #fff);
	--notely-landing-audience-bg-alt: linear-gradient(135deg, #fbfff8, #fffefa);
	--notely-landing-blue-ink: #2f6ea5;
	--notely-landing-blue-bg: #eff7ff;
	--notely-landing-blue-border: #d6e8f7;
	--notely-landing-green-ink: #2b6f4e;
	--notely-landing-green-bg: #f4fbf7;
	--notely-landing-green-border: #d8ecdf;
	--notely-landing-violet-ink: #6750a4;
	--notely-landing-violet-bg: #f6f2ff;
	--notely-landing-violet-border: #e3d9fb;
	width: 100vw;
	margin: -38px calc(50% - 50vw) -44px;
	color: var(--notely-landing-ink);
	background: var(--notely-landing-section);
}

html[data-notely-theme="dark"] .notely-landing {
	--notely-landing-section: #07101f;
	--notely-landing-section-alt: #0b1423;
	--notely-landing-panel: rgba(13, 21, 35, 0.94);
	--notely-landing-panel-border: rgba(214, 224, 238, 0.14);
	--notely-landing-ink: #f8fbff;
	--notely-landing-muted: #c2ccdc;
	--notely-landing-coral-ink: #ffb6a7;
	--notely-landing-coral-bg: rgba(226, 110, 87, 0.16);
	--notely-landing-coral-border: rgba(255, 182, 167, 0.3);
	--notely-landing-anchor-bg: rgba(10, 18, 31, 0.9);
	--notely-landing-divider: rgba(214, 224, 238, 0.14);
	--notely-landing-soft-divider: rgba(214, 224, 238, 0.12);
	--notely-landing-hover-bg: rgba(185, 141, 69, 0.16);
	--notely-landing-active-bg: rgba(185, 141, 69, 0.22);
	--notely-landing-icon-bg: rgba(185, 141, 69, 0.16);
	--notely-landing-icon-border: rgba(185, 141, 69, 0.3);
	--notely-landing-dashboard-row-bg: rgba(248, 251, 255, 0.055);
	--notely-landing-dashboard-row-icon: rgba(214, 224, 238, 0.48);
	--notely-landing-card-bg: linear-gradient(135deg, rgba(17, 26, 41, 0.96), rgba(11, 20, 35, 0.92));
	--notely-landing-dashboard-bg: linear-gradient(180deg, rgba(17, 26, 41, 0.96), rgba(10, 18, 31, 0.92));
	--notely-landing-flow-bg: linear-gradient(135deg, rgba(17, 26, 41, 0.86), rgba(11, 20, 35, 0.64));
	--notely-landing-dashboard-shadow: 0 28px 70px rgba(0, 0, 0, 0.3);
	--notely-landing-card-shadow: 0 18px 48px rgba(0, 0, 0, 0.24);
	--notely-landing-hover-shadow: 0 18px 46px rgba(0, 0, 0, 0.26);
	--notely-landing-audience-bg: linear-gradient(135deg, rgba(17, 29, 47, 0.96), rgba(9, 17, 30, 0.98));
	--notely-landing-audience-bg-alt: linear-gradient(135deg, rgba(18, 34, 41, 0.96), rgba(9, 17, 30, 0.98));
	--notely-landing-blue-ink: #9ccfff;
	--notely-landing-blue-bg: rgba(70, 136, 194, 0.16);
	--notely-landing-blue-border: rgba(126, 167, 216, 0.3);
	--notely-landing-green-ink: #a4e5bd;
	--notely-landing-green-bg: rgba(103, 182, 137, 0.16);
	--notely-landing-green-border: rgba(140, 207, 168, 0.3);
	--notely-landing-violet-ink: #cbbfff;
	--notely-landing-violet-bg: rgba(153, 129, 220, 0.18);
	--notely-landing-violet-border: rgba(183, 164, 239, 0.3);
}

@media (prefers-color-scheme: dark) {
	html:not([data-notely-theme="light"]) .notely-landing {
		--notely-landing-section: #07101f;
		--notely-landing-section-alt: #0b1423;
		--notely-landing-panel: rgba(13, 21, 35, 0.94);
		--notely-landing-panel-border: rgba(214, 224, 238, 0.14);
		--notely-landing-ink: #f8fbff;
		--notely-landing-muted: #c2ccdc;
		--notely-landing-coral-ink: #ffb6a7;
		--notely-landing-coral-bg: rgba(226, 110, 87, 0.16);
		--notely-landing-coral-border: rgba(255, 182, 167, 0.3);
		--notely-landing-anchor-bg: rgba(10, 18, 31, 0.9);
		--notely-landing-divider: rgba(214, 224, 238, 0.14);
		--notely-landing-soft-divider: rgba(214, 224, 238, 0.12);
		--notely-landing-hover-bg: rgba(185, 141, 69, 0.16);
		--notely-landing-active-bg: rgba(185, 141, 69, 0.22);
		--notely-landing-icon-bg: rgba(185, 141, 69, 0.16);
		--notely-landing-icon-border: rgba(185, 141, 69, 0.3);
		--notely-landing-dashboard-row-bg: rgba(248, 251, 255, 0.055);
		--notely-landing-dashboard-row-icon: rgba(214, 224, 238, 0.48);
		--notely-landing-card-bg: linear-gradient(135deg, rgba(17, 26, 41, 0.96), rgba(11, 20, 35, 0.92));
		--notely-landing-dashboard-bg: linear-gradient(180deg, rgba(17, 26, 41, 0.96), rgba(10, 18, 31, 0.92));
		--notely-landing-flow-bg: linear-gradient(135deg, rgba(17, 26, 41, 0.86), rgba(11, 20, 35, 0.64));
		--notely-landing-dashboard-shadow: 0 28px 70px rgba(0, 0, 0, 0.3);
		--notely-landing-card-shadow: 0 18px 48px rgba(0, 0, 0, 0.24);
		--notely-landing-hover-shadow: 0 18px 46px rgba(0, 0, 0, 0.26);
		--notely-landing-audience-bg: linear-gradient(135deg, rgba(17, 29, 47, 0.96), rgba(9, 17, 30, 0.98));
		--notely-landing-audience-bg-alt: linear-gradient(135deg, rgba(18, 34, 41, 0.96), rgba(9, 17, 30, 0.98));
		--notely-landing-blue-ink: #9ccfff;
		--notely-landing-blue-bg: rgba(70, 136, 194, 0.16);
		--notely-landing-blue-border: rgba(126, 167, 216, 0.3);
		--notely-landing-green-ink: #a4e5bd;
		--notely-landing-green-bg: rgba(103, 182, 137, 0.16);
		--notely-landing-green-border: rgba(140, 207, 168, 0.3);
		--notely-landing-violet-ink: #cbbfff;
		--notely-landing-violet-bg: rgba(153, 129, 220, 0.18);
		--notely-landing-violet-border: rgba(183, 164, 239, 0.3);
	}
}

.notely-landing-hero {
	position: relative;
	isolation: isolate;
	display: grid;
	min-height: min(610px, calc(100vh - 120px));
	padding: clamp(34px, 4.8vw, 64px) clamp(18px, 5vw, 72px) 24px;
	overflow: hidden;
	color: #f8fbff;
	background:
		linear-gradient(115deg, rgba(185, 141, 69, 0.12), transparent 32%),
		linear-gradient(250deg, rgba(47, 110, 165, 0.18), transparent 34%),
		linear-gradient(90deg, rgba(255, 255, 255, 0.034) 1px, transparent 1px) 0 0 / 96px 96px,
		linear-gradient(0deg, rgba(255, 255, 255, 0.032) 1px, transparent 1px) 0 0 / 96px 96px,
		repeating-linear-gradient(170deg, transparent 0 90px, rgba(185, 141, 69, 0.08) 91px, transparent 94px),
		linear-gradient(145deg, #07152e 0%, #061226 54%, #020813 100%);
	scroll-margin-top: 88px;
}

.notely-landing-hero::before {
	position: absolute;
	left: max(-120px, -8vw);
	bottom: 20px;
	z-index: 0;
	width: clamp(210px, 24vw, 360px);
	height: clamp(170px, 19vw, 290px);
	background: linear-gradient(135deg, rgba(185, 141, 69, 0.48), rgba(126, 167, 216, 0.16));
	content: "";
	mask: url("../img/favicon.svg") center / contain no-repeat;
	opacity: 0.18;
	pointer-events: none;
	-webkit-mask: url("../img/favicon.svg") center / contain no-repeat;
}

.notely-landing-hero::after {
	position: absolute;
	right: -8vw;
	bottom: -76px;
	z-index: 0;
	width: 72vw;
	height: 220px;
	border-top: 1px solid rgba(185, 141, 69, 0.18);
	background:
		repeating-linear-gradient(170deg, transparent 0 22px, rgba(214, 224, 238, 0.09) 23px, transparent 25px);
	content: "";
	opacity: 0.55;
	transform: rotate(-5deg);
	pointer-events: none;
}

.notely-landing-hero__score {
	position: absolute;
	inset: 90px 0 auto;
	z-index: 0;
	height: 220px;
	opacity: 0.46;
	overflow: hidden;
	pointer-events: none;
}

.notely-landing-hero__score span {
	position: absolute;
	left: 6vw;
	right: 6vw;
	height: 1px;
	background: linear-gradient(90deg, transparent, rgba(210, 167, 96, 0.28), rgba(214, 224, 238, 0.08), transparent);
	transform: rotate(-7deg);
}

.notely-landing-hero__score span:nth-child(1) {
	top: 18px;
}

.notely-landing-hero__score span:nth-child(2) {
	top: 82px;
}

.notely-landing-hero__score span:nth-child(3) {
	top: 146px;
}

.notely-landing-hero__inner {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: minmax(280px, 0.82fr) minmax(420px, 1.18fr);
	align-items: center;
	gap: clamp(32px, 6vw, 88px);
	width: min(1180px, 100%);
	margin: 0 auto;
}

.notely-landing-hero__copy {
	min-width: 0;
}

.notely-landing-hero h1 {
	margin: 0 0 20px;
	color: #fff;
	font-size: clamp(4rem, 8vw, 7.8rem);
	line-height: 0.94;
	font-weight: 500;
	letter-spacing: 0;
	text-shadow: 0 18px 60px rgba(0, 0, 0, 0.28);
}

.notely-landing-hero__copy p {
	max-width: 560px;
	margin: 0 0 30px;
	color: rgba(248, 251, 255, 0.88);
	font-size: clamp(1.28rem, 2vw, 1.78rem);
	line-height: 1.42;
}

.notely-landing-hero__actions {
	margin-bottom: 34px;
}

.notely-landing-button {
	min-height: 50px;
	padding-inline: 22px;
	font-size: 0.98rem;
}

.notely-landing .notely-button.secondary {
	color: #f8fbff;
	background: rgba(3, 9, 20, 0.24);
	border-color: rgba(185, 141, 69, 0.72);
}

.notely-landing .notely-button.secondary:hover,
.notely-landing .notely-button.secondary:focus-visible {
	color: #fff;
	background: rgba(185, 141, 69, 0.18);
}

.notely-landing-hero .notely-button:not(.secondary),
.notely-landing-cta .notely-button:not(.secondary) {
	color: #061226;
	background: linear-gradient(180deg, #d8aa60, #b98d45);
	border-color: #d8aa60;
	box-shadow: 0 14px 30px rgba(185, 141, 69, 0.24);
}

.notely-landing-facts {
	display: flex;
	flex-wrap: wrap;
	gap: 14px 18px;
	margin: 0;
	padding: 0;
	color: rgba(248, 251, 255, 0.82);
	list-style: none;
	font-size: 0.86rem;
}

.notely-landing-facts li {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-width: 0;
}

.notely-landing-facts i {
	color: #d2a760;
}

.notely-landing-product {
	position: relative;
	min-width: 0;
	overflow: hidden;
	background: linear-gradient(180deg, rgba(13, 21, 35, 0.94), rgba(8, 15, 27, 0.9));
	border: 1px solid rgba(185, 141, 69, 0.36);
	border-radius: var(--notely-radius);
	box-shadow: 0 28px 80px rgba(0, 0, 0, 0.32);
	backdrop-filter: blur(16px);
}

.notely-landing-product::before {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(125deg, transparent 0 22%, rgba(255, 255, 255, 0.07) 46%, transparent 68%),
		repeating-linear-gradient(0deg, transparent 0 34px, rgba(214, 224, 238, 0.04) 35px, transparent 36px);
	content: "";
	pointer-events: none;
}

.notely-landing-product > * {
	position: relative;
	z-index: 1;
}

.notely-landing-product__bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	min-height: 56px;
	padding: 0 22px;
	border-bottom: 1px solid rgba(214, 224, 238, 0.14);
}

.notely-landing-product__bar span,
.notely-landing-product__bar div {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-width: 0;
	color: #f8fbff;
	font-weight: 500;
}

.notely-landing-product__bar i {
	color: rgba(248, 251, 255, 0.76);
}

.notely-landing-product__body {
	display: grid;
	grid-template-columns: 164px minmax(0, 1fr);
	min-height: 342px;
}

.notely-landing-product__rail {
	display: grid;
	align-content: start;
	gap: 8px;
	padding: 20px 14px;
	border-right: 1px solid rgba(214, 224, 238, 0.12);
}

.notely-landing-product__rail span {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	min-height: 38px;
	padding: 0 11px;
	color: rgba(248, 251, 255, 0.76);
	border: 1px solid transparent;
	border-radius: var(--notely-radius-sm);
	font-size: 0.88rem;
}

.notely-landing-product__rail span.is-active {
	color: #fff;
	background: rgba(185, 141, 69, 0.24);
	border-color: rgba(185, 141, 69, 0.34);
}

.notely-landing-product__main {
	padding: 20px;
}

.notely-landing-product__welcome {
	margin: 0 0 6px;
	color: #fff;
	font-size: 1.42rem;
	line-height: 1.2;
	font-weight: 500;
}

.notely-landing-product__hint {
	margin: 0 0 18px;
	color: rgba(248, 251, 255, 0.7);
}

.notely-landing-product__rows {
	display: grid;
	gap: 10px;
}

.notely-landing-mini-row {
	position: relative;
	display: grid;
	grid-template-columns: 32px minmax(0, 1fr) auto;
	align-items: center;
	gap: 12px;
	min-height: 50px;
	padding: 10px 12px;
	overflow: hidden;
	background: rgba(255, 255, 255, 0.065);
	border: 1px solid rgba(214, 224, 238, 0.1);
	border-radius: var(--notely-radius-sm);
}

.notely-landing-mini-row::before {
	position: absolute;
	top: 10px;
	bottom: 10px;
	left: 0;
	width: 3px;
	background: #d2a760;
	border-radius: 0 999px 999px 0;
	content: "";
}

.notely-landing-mini-row span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	color: #061226;
	background: #d2a760;
	border-radius: 50%;
}

.notely-landing-mini-row strong,
.notely-landing-mini-row em {
	min-width: 0;
	color: #f8fbff;
	font-size: 0.88rem;
	font-style: normal;
	font-weight: 500;
}

.notely-landing-mini-row em {
	color: rgba(248, 251, 255, 0.68);
	white-space: nowrap;
}

.notely-landing-mini-row.is-blue span {
	background: #7ea7d8;
}

.notely-landing-mini-row.is-blue::before {
	background: #7ea7d8;
}

.notely-landing-mini-row.is-green span {
	background: #8ccfa8;
}

.notely-landing-mini-row.is-green::before {
	background: #8ccfa8;
}

.notely-landing-mini-row.is-violet span {
	background: #b7a4ef;
}

.notely-landing-mini-row.is-violet::before {
	background: #b7a4ef;
}

.notely-landing-product__focus {
	display: grid;
	gap: 4px;
	margin-top: 12px;
	padding: 12px;
	background: linear-gradient(135deg, rgba(185, 141, 69, 0.18), rgba(47, 110, 165, 0.12));
	border: 1px solid rgba(210, 167, 96, 0.28);
	border-radius: var(--notely-radius-sm);
	box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08) inset;
}

.notely-landing-product__focus span,
.notely-landing-product__focus strong,
.notely-landing-product__focus em {
	min-width: 0;
}

.notely-landing-product__focus span {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: #d2a760;
	font-size: 0.78rem;
	font-weight: 600;
}

.notely-landing-product__focus strong {
	color: #fff;
	font-size: 0.98rem;
	line-height: 1.3;
	font-weight: 600;
}

.notely-landing-product__focus em {
	color: rgba(248, 251, 255, 0.72);
	font-size: 0.84rem;
	font-style: normal;
	line-height: 1.35;
}

.notely-landing-scroll {
	position: absolute;
	left: 50%;
	bottom: 48px;
	z-index: 1;
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	justify-self: center;
	gap: 8px;
	margin-top: 0;
	color: #d2a760;
	text-decoration: none;
	font-weight: 500;
	transform: translateX(-50%);
}

.notely-landing-anchor {
	position: sticky;
	top: 0;
	z-index: 20;
	justify-content: center;
	width: min(760px, calc(100% - 32px));
	margin: -24px auto 0;
	background: var(--notely-landing-anchor-bg);
}

.notely-landing-section {
	position: relative;
	padding: clamp(60px, 8vw, 108px) clamp(18px, 5vw, 72px);
	background: var(--notely-landing-section);
	scroll-margin-top: 88px;
}

.notely-landing-section--plain {
	background:
		linear-gradient(180deg, rgba(185, 141, 69, 0.03), transparent 48%),
		var(--notely-landing-section);
}

.notely-landing-section--split,
.notely-landing-section--flow {
	background:
		linear-gradient(100deg, rgba(185, 141, 69, 0.065), transparent 38%),
		linear-gradient(260deg, rgba(47, 110, 165, 0.045), transparent 44%),
		var(--notely-landing-section-alt);
}

.notely-landing-section__head {
	width: min(900px, 100%);
	margin: 0 auto 44px;
	text-align: center;
}

.notely-landing-section__head h2,
.notely-landing-copy-block h2,
.notely-landing-cta h2 {
	margin: 0;
	color: var(--notely-landing-ink);
	font-size: clamp(2rem, 3.4vw, 3rem);
	line-height: 1.1;
	font-weight: 500;
}

.notely-landing-section__head p {
	max-width: 680px;
	margin: 14px auto 0;
	color: var(--notely-landing-muted);
	font-size: clamp(1rem, 1.4vw, 1.12rem);
	line-height: 1.62;
}

.notely-landing-section__head::after {
	display: block;
	width: 52px;
	height: 2px;
	margin: 18px auto 0;
	background: #b98d45;
	content: "";
}

.notely-landing-feature-grid,
.notely-landing-flow {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(16px, 2.2vw, 24px);
	width: min(1180px, 100%);
	margin: 0 auto;
}

.notely-landing-feature {
	display: grid;
	grid-template-columns: 62px minmax(0, 1fr);
	gap: 22px;
	min-width: 0;
	padding: clamp(22px, 3vw, 34px);
	background: var(--notely-landing-card-bg);
	border: 1px solid var(--notely-landing-divider);
	border-radius: var(--notely-radius);
	box-shadow: var(--notely-landing-card-shadow);
}

.notely-landing-feature:last-child {
	border-right: 1px solid var(--notely-landing-divider);
}

.notely-landing-icon,
.notely-landing-flow-step__icon,
.notely-landing-dashboard-row__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	color: #b98d45;
	background: var(--notely-landing-icon-bg);
	border: 1px solid var(--notely-landing-icon-border);
	border-radius: var(--notely-radius);
	font-size: 1.45rem;
}

.notely-landing-feature:nth-child(2) .notely-landing-icon {
	color: var(--notely-landing-blue-ink);
	background: var(--notely-landing-blue-bg);
	border-color: var(--notely-landing-blue-border);
}

.notely-landing-feature:nth-child(3) .notely-landing-icon {
	color: var(--notely-landing-coral-ink);
	background: var(--notely-landing-coral-bg);
	border-color: var(--notely-landing-coral-border);
}

.notely-landing-feature h3,
.notely-landing-dashboard-row h3,
.notely-landing-audience-panel h3,
.notely-landing-flow-step h3 {
	margin: 0 0 10px;
	color: var(--notely-landing-ink);
	font-size: 1.18rem;
	line-height: 1.24;
	font-weight: 500;
}

.notely-landing-feature p,
.notely-landing-dashboard-row p,
.notely-landing-audience-panel p,
.notely-landing-flow-step p,
.notely-landing-copy-block p,
.notely-landing-cta p {
	margin: 0;
	color: var(--notely-landing-muted);
	line-height: 1.65;
}

.notely-landing-section--split {
	display: grid;
	grid-template-columns: minmax(260px, 0.78fr) minmax(420px, 1.22fr);
	align-items: center;
	gap: clamp(34px, 6vw, 88px);
}

.notely-landing-copy-block,
.notely-landing-dashboard {
	min-width: 0;
}

.notely-landing-copy-block {
	justify-self: end;
	width: min(390px, 100%);
}

.notely-landing-copy-block h2 {
	margin-bottom: 22px;
}

.notely-landing-copy-block p {
	margin-bottom: 26px;
	font-size: 1.04rem;
}

.notely-landing-check-list {
	display: grid;
	gap: 11px;
	margin: 0 0 28px;
	padding: 0;
	list-style: none;
}

.notely-landing-check-list li {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	color: var(--notely-landing-ink);
	line-height: 1.45;
}

.notely-landing-check-list i {
	margin-top: 3px;
	color: #b98d45;
}

.notely-landing-dashboard {
	position: relative;
	justify-self: start;
	width: min(760px, 100%);
	padding: 18px;
	overflow: hidden;
	background:
		var(--notely-landing-dashboard-bg),
		var(--notely-landing-panel);
	border: 1px solid var(--notely-landing-soft-divider);
	border-radius: var(--notely-radius);
	box-shadow: var(--notely-landing-dashboard-shadow);
	backdrop-filter: blur(16px);
}

.notely-landing-dashboard::before {
	position: absolute;
	inset: 0;
	background:
		repeating-linear-gradient(0deg, transparent 0 30px, rgba(7, 21, 46, 0.026) 31px, transparent 32px),
		linear-gradient(120deg, rgba(185, 141, 69, 0.08), transparent 42%);
	content: "";
	pointer-events: none;
}

.notely-landing-dashboard > * {
	position: relative;
	z-index: 1;
}

.notely-landing-dashboard__tabs,
.notely-landing-audience-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-bottom: 16px;
	padding-bottom: 8px;
	border-bottom: 1px solid var(--notely-landing-soft-divider);
}

.notely-landing-dashboard__tabs button,
.notely-landing-audience-tabs button {
	min-height: 34px;
	padding: 0 12px;
	color: var(--notely-landing-muted);
	background: transparent;
	border: 1px solid transparent;
	border-radius: var(--notely-radius-sm);
	font-size: 0.86rem;
	font-weight: 500;
	cursor: pointer;
}

.notely-landing-dashboard__tabs button:hover,
.notely-landing-dashboard__tabs button:focus-visible,
.notely-landing-audience-tabs button:hover,
.notely-landing-audience-tabs button:focus-visible {
	color: var(--notely-landing-ink);
	background: var(--notely-landing-hover-bg);
	outline: none;
}

.notely-landing-dashboard__tabs button.is-active,
.notely-landing-audience-tabs button.is-active {
	color: var(--notely-landing-ink);
	background: var(--notely-landing-active-bg);
	border-color: rgba(185, 141, 69, 0.34);
}

.notely-landing-dashboard__rows {
	display: grid;
	gap: 10px;
	align-content: start;
	/* Mantiene stabile la preview quando un filtro mostra meno righe della panoramica. */
	min-height: var(--notely-landing-dashboard-rows-height, 318px);
}

.notely-landing-dashboard-row {
	position: relative;
	display: grid;
	grid-template-columns: 44px minmax(0, 1fr) auto 18px;
	align-items: center;
	gap: 14px;
	min-height: 72px;
	padding: 12px 14px;
	overflow: hidden;
	background: var(--notely-landing-dashboard-row-bg);
	border: 1px solid var(--notely-landing-soft-divider);
	border-radius: var(--notely-radius-sm);
}

.notely-landing-dashboard-row::before {
	position: absolute;
	top: 12px;
	bottom: 12px;
	left: 0;
	width: 3px;
	background: #b98d45;
	border-radius: 0 999px 999px 0;
	content: "";
}

.notely-landing-dashboard-row[hidden] {
	display: none;
}

.notely-landing-dashboard-row__icon {
	width: 40px;
	height: 40px;
	font-size: 1rem;
}

.notely-landing-dashboard-row p {
	font-size: 0.9rem;
}

.notely-landing-dashboard-row strong {
	color: var(--notely-landing-ink);
	font-weight: 500;
	white-space: nowrap;
}

.notely-landing-dashboard-row > i {
	color: var(--notely-landing-dashboard-row-icon);
	font-size: 0.8rem;
}

.notely-landing-dashboard-row.is-blue .notely-landing-dashboard-row__icon {
	color: var(--notely-landing-blue-ink);
	background: var(--notely-landing-blue-bg);
	border-color: var(--notely-landing-blue-border);
}

.notely-landing-dashboard-row.is-blue::before {
	background: var(--notely-landing-blue-ink);
}

.notely-landing-dashboard-row.is-green .notely-landing-dashboard-row__icon {
	color: var(--notely-landing-green-ink);
	background: var(--notely-landing-green-bg);
	border-color: var(--notely-landing-green-border);
}

.notely-landing-dashboard-row.is-green::before {
	background: var(--notely-landing-green-ink);
}

.notely-landing-dashboard-row.is-violet .notely-landing-dashboard-row__icon {
	color: var(--notely-landing-violet-ink);
	background: var(--notely-landing-violet-bg);
	border-color: var(--notely-landing-violet-border);
}

.notely-landing-dashboard-row.is-violet::before {
	background: var(--notely-landing-violet-ink);
}

.notely-landing-audience-tabs {
	justify-content: center;
	width: min(560px, 100%);
	margin: -16px auto 28px;
	border-bottom: 0;
}

.notely-landing-audience-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 30px;
	width: min(1180px, 100%);
	margin: 0 auto;
}

.notely-landing-audience-panel {
	position: relative;
	display: grid;
	grid-template-columns: 72px minmax(0, 1fr);
	gap: 24px;
	min-width: 0;
	padding: clamp(24px, 4vw, 42px);
	overflow: hidden;
	background: var(--notely-landing-audience-bg);
	border: 1px solid var(--notely-landing-divider);
	border-radius: var(--notely-radius);
	box-shadow: var(--notely-landing-card-shadow);
}

.notely-landing-audience-panel::after {
	position: absolute;
	right: -8%;
	bottom: -18px;
	width: 46%;
	height: 110px;
	background: repeating-linear-gradient(170deg, transparent 0 18px, rgba(185, 141, 69, 0.16) 19px, transparent 21px);
	content: "";
	opacity: 0.42;
	pointer-events: none;
}

.notely-landing-audience-panel > * {
	position: relative;
	z-index: 1;
}

.notely-landing-audience-panel:nth-child(2) {
	background: var(--notely-landing-audience-bg-alt);
}

[data-notely-landing-enhanced="true"] .notely-landing-audience-panel:not(.is-active) {
	display: none;
}

[data-notely-landing-enhanced="true"] .notely-landing-audience-grid {
	grid-template-columns: minmax(0, 760px);
	justify-content: center;
}

.notely-landing-flow {
	align-items: stretch;
	gap: 22px;
}

.notely-landing-flow-step {
	position: relative;
	display: grid;
	grid-template-columns: 72px 32px minmax(0, 1fr);
	gap: 18px;
	min-width: 0;
	padding: 18px;
	background: var(--notely-landing-flow-bg);
	border: 1px solid var(--notely-landing-divider);
	border-radius: var(--notely-radius);
}

.notely-landing-flow-step:not(:last-child)::after {
	position: absolute;
	top: 30px;
	right: -30px;
	width: 36px;
	height: 1px;
	background: var(--notely-landing-divider);
	content: "";
}

.notely-landing-flow-step__number {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	color: #fff;
	background: #b98d45;
	border-radius: 50%;
	font-weight: 500;
}

.notely-landing-cta {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 32px;
	padding: clamp(34px, 5vw, 58px) clamp(18px, 5vw, 72px);
	overflow: hidden;
	color: #f8fbff;
	background:
		linear-gradient(110deg, rgba(185, 141, 69, 0.14), transparent 38%),
		repeating-linear-gradient(170deg, transparent 0 22px, rgba(214, 224, 238, 0.06) 23px, transparent 25px),
		linear-gradient(145deg, #07152e 0%, #061226 58%, #020813 100%);
}

.notely-landing-cta::before {
	position: absolute;
	right: clamp(18px, 8vw, 120px);
	bottom: -58px;
	width: 220px;
	height: 178px;
	background: rgba(185, 141, 69, 0.2);
	content: "";
	mask: url("../img/favicon.svg") center / contain no-repeat;
	pointer-events: none;
	-webkit-mask: url("../img/favicon.svg") center / contain no-repeat;
}

.notely-landing-cta > * {
	position: relative;
	z-index: 1;
}

.notely-landing-cta > div:first-child {
	display: grid;
	grid-template-columns: 84px minmax(0, 1fr);
	align-items: center;
	gap: 24px;
	min-width: 0;
}

.notely-landing-cta img {
	width: 70px;
	height: auto;
}

.notely-landing-cta h2 {
	color: #fff;
}

.notely-landing-cta p {
	max-width: 620px;
	margin-top: 8px;
	color: rgba(248, 251, 255, 0.78);
}

@media (prefers-reduced-motion: no-preference) {
	.notely-landing-product,
	.notely-landing-feature,
	.notely-landing-dashboard,
	.notely-landing-audience-panel,
	.notely-landing-flow-step,
	.notely-landing-dashboard-row {
		transition: transform var(--notely-motion) var(--notely-ease), border-color var(--notely-motion) var(--notely-ease), box-shadow var(--notely-motion) var(--notely-ease), background-color var(--notely-motion) var(--notely-ease);
	}

	.notely-landing-feature:hover,
	.notely-landing-dashboard-row:hover,
	.notely-landing-audience-panel:hover {
		transform: translateY(-2px);
		box-shadow: var(--notely-landing-hover-shadow);
	}
}

@media (max-width: 1080px) {
	.notely-landing-hero__inner,
	.notely-landing-section--split {
		grid-template-columns: 1fr;
	}

	.notely-landing-hero {
		min-height: 0;
	}

	.notely-landing-copy-block,
	.notely-landing-dashboard {
		justify-self: center;
		width: min(760px, 100%);
	}

	.notely-landing-copy-block {
		text-align: center;
	}

	.notely-landing-copy-block .notely-check-list,
	.notely-landing-copy-block .notely-landing-check-list {
		text-align: left;
	}

	.notely-landing-feature-grid,
	.notely-landing-flow,
	.notely-landing-audience-grid {
		grid-template-columns: 1fr;
	}

	.notely-landing-feature {
		border: 1px solid var(--notely-landing-divider);
	}

	.notely-landing-feature:last-child {
		border-bottom: 1px solid var(--notely-landing-divider);
	}

	.notely-landing-flow-step:not(:last-child)::after {
		display: none;
	}
}

@media (max-width: 760px) {
	.notely-landing {
		margin-top: -28px;
		margin-bottom: -34px;
	}

	.notely-landing-hero {
		padding: 38px 16px 30px;
	}

	.notely-landing-scroll {
		position: static;
		transform: none;
		margin-top: 18px;
	}

	.notely-landing-hero h1 {
		font-size: clamp(3.6rem, 18vw, 5.6rem);
	}

	.notely-landing-hero__copy p {
		font-size: 1.16rem;
	}

	.notely-landing-hero__actions,
	.notely-landing-cta,
	.notely-landing-cta .notely-actions {
		align-items: stretch;
		flex-direction: column;
	}

	.notely-landing-button,
	.notely-landing-hero__actions .notely-button,
	.notely-landing-cta .notely-button {
		width: 100%;
	}

	.notely-landing-product__body {
		grid-template-columns: 1fr;
		min-height: 0;
	}

	.notely-landing-product__rail {
		display: flex;
		overflow-x: auto;
		border-right: 0;
		border-bottom: 1px solid rgba(214, 224, 238, 0.12);
		scrollbar-width: none;
	}

	.notely-landing-product__rail::-webkit-scrollbar {
		display: none;
	}

	.notely-landing-mini-row,
	.notely-landing-dashboard-row {
		grid-template-columns: 34px minmax(0, 1fr);
	}

	.notely-landing-mini-row em,
	.notely-landing-dashboard-row strong,
	.notely-landing-dashboard-row > i {
		grid-column: 2;
		white-space: normal;
	}

	.notely-landing-anchor {
		position: static;
		width: auto;
		margin: 0;
		border-radius: 0;
		overflow-x: auto;
		flex-wrap: nowrap;
		justify-content: flex-start;
	}

	.notely-landing-section {
		padding: 52px 16px;
	}

	.notely-landing-feature,
	.notely-landing-audience-panel,
	.notely-landing-flow-step {
		grid-template-columns: 1fr;
	}

	.notely-landing-dashboard {
		padding: 12px;
	}

	.notely-landing-dashboard__tabs,
	.notely-landing-audience-tabs {
		flex-wrap: nowrap;
		overflow-x: auto;
		justify-content: flex-start;
		scrollbar-width: none;
	}

	.notely-landing-dashboard__tabs::-webkit-scrollbar,
	.notely-landing-audience-tabs::-webkit-scrollbar {
		display: none;
	}

	.notely-landing-cta > div:first-child {
		grid-template-columns: 1fr;
	}
}
