:root {
	--blue: #0176d3;
	--blue-dark: #032d60;
	--blue-hover: #014486;
	--blue-light: #eef6ff;
	--granite-blue: #0040ff;
	--bg: #f3f5f8;
	--white: #ffffff;
	--border: #d8dde6;
	--border-strong: #c9cfd8;
	--text: #181818;
	--muted: #606770;
	--success: #2e844a;
	--success-bg: #e3fcef;
	--error: #ba0517;
	--error-bg: #feded8;
	--warning-bg: #fff1d6;
	--warning-text: #8a4b00;
	--radius: 4px;
	--shadow: 0 1px 3px rgba(24, 24, 24, .12);
	--ai-panel-width: 380px;
}

* {
	box-sizing: border-box;
}

html,
body {
	margin: 0;
	min-height: 100vh;
	background: var(--bg);
	color: var(--text);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	font-size: 14px;
	line-height: 1.35;

}

a {
	color: var(--blue);
	text-decoration: none;
	font-weight: 700;
}

a:hover {
	text-decoration: underline;
}

.global-header {
	height: 48px;
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
	align-items: center;
	gap: 14px;
	padding: 0 16px;
	background: #ffffff;
	border-bottom: 1px solid var(--border);
	position: sticky;
	top: 0;
	z-index: 20;
}

.global-left,
.global-actions {
	display: flex;
	align-items: center;
	gap: 10px;
	min-width: 0;
}

.global-left {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	grid-column: 1 / 3;
}

.app-launcher-wrap {
	grid-column: 1;
	justify-self: start;
}

.global-left .brand {
	grid-column: 2;
	justify-self: center;
}

.global-actions {
	grid-column: 3;
	justify-content: flex-end;
}

.app-launcher {
	width: 32px;
	height: 32px;
	display: grid;
	grid-template-columns: repeat(3, 4px);
	grid-template-rows: repeat(3, 4px);
	justify-content: center;
	align-content: center;
	gap: 4px;
	border: 1px solid var(--border-strong);
	border-radius: var(--radius);
	background: #ffffff;
	cursor: pointer;
}

.app-launcher span {
	width: 4px;
	height: 4px;
	border-radius: 50%;
	background: var(--blue);
	display: block;
}

.brand {
	display: flex;
	align-items: center;
	gap: 8px;
	color: var(--text);
	min-width: max-content;
}

.brand:hover {
	text-decoration: none;
}

.brand-logo {
	width: 120px;
	height: auto;
	object-fit: contain;
	background: transparent;
	border: 0;
	outline: 0;
	box-shadow: none;
	padding: 0;
	border-radius: 0;
}

.wordmark {
	display: inline-flex;
	align-items: baseline;
	font-size: 21px;
	font-weight: 900;
	letter-spacing: -.04em;
	font-style: italic;
	line-height: 1;
}

.wordmark-black {
	color: #111111;
}

.wordmark-a {
	color: var(--granite-blue);
	font-size: 23px;
}

.global-search input {
	width: 100%;
	height: 34px;
	border: 1px solid var(--border-strong);
	border-radius: 999px;
	background: #ffffff;
	padding: 0 14px;
	font-size: 14px;
	color: var(--text);
	outline: none;
}

.global-search input:focus {
	border-color: var(--blue);
	box-shadow: 0 0 0 2px rgba(1, 118, 211, .12);
}

.ai-header-button {
	height: 34px;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	border: 1px solid var(--border-strong);
	border-radius: var(--radius);
	background: #ffffff;
	color: var(--blue-dark);
	padding: 0 12px;
	font-weight: 800;
	cursor: pointer;
	white-space: nowrap;
	font-size: 14px;
}

.ai-header-button:hover,
.ai-header-button[aria-expanded="true"] {
	background: var(--blue);
	border-color: var(--blue);
	color: #ffffff;
}

.ai-dot {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: currentColor;
}

.icon-button {
	width: 30px;
	height: 30px;
	border-radius: 50%;
	border: 1px solid var(--border-strong);
	background: #ffffff;
	color: var(--blue-dark);
	cursor: pointer;
	font-weight: 800;
}
.app-nav {
	height: 40px;
	display: flex;
	align-items: stretch;
	gap: 0;
	padding: 0 16px;
	background: #ffffff;
	border-bottom: 1px solid var(--border);
	position: sticky;
	top: 48px;
	z-index: 19;
}

.app-nav a {
	display: inline-flex;
	align-items: center;
	padding: 0 14px;
	color: var(--blue-dark);
	border-bottom: 3px solid transparent;
	font-size: 15px;
	font-weight: 800;
}

.app-nav a:hover {
	background: #f7fbff;
	color: var(--blue);
	text-decoration: none;
}

.app-nav a.active {
	border-bottom-color: var(--blue);
}

.page-shell {
	margin: 0;
	padding: 16px;
	transition: margin-right .18s ease;
}

body.ai-panel-open .page-shell {
	margin-right: var(--ai-panel-width);
}

body.ai-panel-open .global-header,
body.ai-panel-open .app-nav {
	padding-right: calc(var(--ai-panel-width) + 16px);
}

.object-hero {
	min-height: 96px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	background: #ffffff;
	border: 1px solid var(--border);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	padding: 16px 18px;
	margin-bottom: 14px;
}

.eyebrow {
	font-size: 12px;
	font-weight: 900;
	color: var(--muted);
	letter-spacing: .08em;
	text-transform: uppercase;
	margin-bottom: 2px;
}

h1,
h2,
p {
	margin: 0;
}

h1 {
	color: var(--blue-dark);
	font-size: 25px;
	font-weight: 900;
	line-height: 1.1;
}

h2 {
	color: var(--blue-dark);
	font-size: 18px;
	font-weight: 900;
	line-height: 1.15;
}

.object-hero p,
.card-header p,
.metric-card p {
	color: var(--muted);
	font-size: 14px;
	margin-top: 3px;
}

.hero-actions {
	display: flex;
	align-items: center;
	gap: 8px;
}

.button {
	min-height: 34px;
	border: 1px solid var(--blue);
	border-radius: var(--radius);
	background: var(--blue);
	color: #ffffff;
	padding: 0 13px;
	font-weight: 800;
	font-size: 14px;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	white-space: nowrap;
}

.button:hover {
	background: var(--blue-hover);
	border-color: var(--blue-hover);
	text-decoration: none;
}

.button.secondary {
	background: #ffffff;
	color: var(--blue-dark);
	border-color: var(--border-strong);
}

.button.secondary:hover {
	background: #f7fbff;
	color: var(--blue);
}

.button.destructive {
	background: var(--error);
	border-color: var(--error);
}

.button.success {
	background: var(--success);
	border-color: var(--success);
}

.button.success:hover {
	background: #256f3e;
	border-color: #256f3e;
}

.button.small {
	min-height: 28px;
	padding: 0 10px;
	font-size: 13px;
}

.button.disabled {
	cursor: default;
	opacity: .55;
	pointer-events: none;
}

.metric-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
	margin-bottom: 14px;
}

.metric-card {
	background: #ffffff;
	border: 1px solid var(--border);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	padding: 14px 16px;
	min-height: 94px;
	min-width: 0;
}

.metric-card span {
	display: block;
	color: var(--muted);
	font-size: 12px;
	font-weight: 900;
	text-transform: uppercase;
	letter-spacing: .02em;
	margin-bottom: 8px;
}

.metric-card strong {
	display: block;
	color: var(--blue-dark);
	font-size: 34px;
	font-weight: 900;
	line-height: 1;
}

.metric-card p {
	font-size: 13px;
	margin-top: 7px;
}

.dashboard-layout {
	display: grid;
	grid-template-columns: minmax(0, 2fr) minmax(330px, .9fr);
	gap: 14px;
	align-items: start;
}

.main-column,
.side-column {
	display: grid;
	gap: 14px;
}

.slds-card {
	background: #ffffff;
	border: 1px solid var(--border);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	overflow: hidden;
}
.slds-card2 {
	background: #ffffff;
	border: 1px solid var(--border);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	overflow: hidden;
	margin-bottom: 15px;
}

.card-header {
	min-height: 54px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 12px 16px;
	border-bottom: 1px solid var(--border);
	background: #ffffff;
}

.attention-list,
.brief-list {
	display: grid;
}

.attention-item {
	min-height: 58px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	padding: 12px 16px;
	border-bottom: 1px solid var(--border);
}

.attention-item:last-child {
	border-bottom: 0;
}

.attention-item strong,
.brief-list strong {
	display: block;
	color: var(--blue-dark);
	font-size: 15px;
	font-weight: 900;
}

.attention-item p,
.brief-list p {
	color: var(--muted);
	font-size: 13px;
	margin-top: 2px;
}

.analytics-grid {
	display: grid;
	gap: 12px;
	padding: 14px 16px;
}

.analytics-row {
	display: grid;
	grid-template-columns: 92px 1fr 44px;
	align-items: center;
	gap: 12px;
	font-size: 13px;
	font-weight: 800;
	color: var(--blue-dark);
}

.bar-track {
	height: 9px;
	background: #eef1f5;
	border-radius: 999px;
	overflow: hidden;
	border: 1px solid #e1e5ec;
}

.bar-fill {
	height: 100%;
	border-radius: 999px;
}

.bar-fill.queued {
	background: #fe9339;
}

.bar-fill.processing {
	background: #5867e8;
}

.bar-fill.delivered {
	background: #2e844a;
}

.bar-fill.failed {
	background: #ba0517;
}

.bar-fill.callbacks {
	background: #0176d3;
}

.brief-list {
	padding: 0 16px;
}

.brief-list > div {
	padding: 12px 0;
	border-bottom: 1px solid var(--border);
}

.brief-list > div:last-child {
	border-bottom: 0;
}

.quick-actions {
	display: grid;
	gap: 8px;
	padding: 12px 16px 16px;
}

.quick-actions a,
.quick-actions button {
	min-height: 36px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	border: 1px solid var(--border);
	border-radius: var(--radius);
	background: #ffffff;
	color: var(--blue-dark);
	font: inherit;
	font-weight: 800;
	font-size: 14px;
	padding: 0 12px;
	cursor: pointer;
	text-align: left;
}

.quick-actions a:hover,
.quick-actions button:hover {
	background: #f7fbff;
	border-color: #b6d9f2;
	color: var(--blue);
	text-decoration: none;
}

.readiness-list {
	display: grid;
	gap: 9px;
	padding: 14px 16px 16px;
	color: var(--text);
	font-size: 13px;
	font-weight: 700;
}

.status-dot {
	width: 9px;
	height: 9px;
	display: inline-block;
	border-radius: 50%;
	margin-right: 8px;
}

.status-dot.good {
	background: var(--success);
}

.status-dot.warn {
	background: #fe9339;
}

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

.data-table {
	width: 100%;
	border-collapse: collapse;
	background: #ffffff;
}

.data-table th,
.data-table td {
	border-bottom: 1px solid var(--border);
	padding: 9px 12px;
	text-align: left;
	vertical-align: middle;
	white-space: nowrap;
	font-size: 14px;
}

.data-table th {
	background: #f3f3f3;
	color: #444;
	font-size: 11px;
	font-weight: 900;
	text-transform: uppercase;
	letter-spacing: .04em;
}

.data-table tbody tr:hover {
	background: #f7fbff;
}

.data-table tbody tr:last-child td {
	border-bottom: 0;
}

.badge {
	display: inline-flex;
	align-items: center;
	min-height: 22px;
	border-radius: 999px;
	padding: 2px 9px;
	font-size: 12px;
	font-weight: 900;
	text-transform: capitalize;
	border: 1px solid transparent;
}

.badge.success,
.badge.sent {
	background: var(--success-bg);
	color: #194e31;
	border-color: #82d9a0;
}

.badge.error,
.badge.failed,
.badge.skipped {
	background: var(--error-bg);
	color: var(--error);
	border-color: #f5b5ad;
}

.badge.pending,
.badge.draft {
	background: var(--warning-bg);
	color: var(--warning-text);
	border-color: #f8d38b;
}

.badge.processing,
.badge.running {
	background: var(--blue-light);
	color: var(--blue-hover);
	border-color: #9ccbed;
}

.badge.neutral {
	background: #f3f3f3;
	color: #3e3e3c;
	border-color: var(--border);
}

.label-picker-options {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
	margin-top: 8px;
}

.label-picker-options .muted {
	font-size: 12px;
	font-weight: 800;
}

.label-picker-options .badge {
	cursor: pointer;
	transition: background .15s ease, border-color .15s ease, color .15s ease, box-shadow .15s ease, transform .15s ease;
}

.label-picker-options .badge:hover,
.label-picker-options .badge:focus-visible {
	background: var(--blue-light);
	color: var(--blue-hover);
	border-color: #9ccbed;
	box-shadow: 0 2px 8px rgba(1, 118, 211, .14);
	transform: translateY(-1px);
	outline: none;
}

.label-picker-options .badge:active {
	box-shadow: none;
	transform: translateY(0);
}

.campaign-audience-picker {
	display: grid;
	gap: 12px;
}

.campaign-audience-manual {
	display: grid;
	gap: 10px;
	padding-top: 12px;
	border-top: 1px solid var(--border);
}

.campaign-audience-toolbar,
.campaign-audience-mode,
.campaign-audience-summary,
.campaign-audience-labels {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
}

.campaign-audience-toolbar {
	justify-content: space-between;
}

.campaign-audience-toolbar p {
	margin: 4px 0 0;
}

.campaign-audience-labels .badge {
	cursor: pointer;
	transition: background .15s ease, border-color .15s ease, color .15s ease, box-shadow .15s ease, transform .15s ease;
}

.campaign-audience-labels .badge:hover,
.campaign-audience-labels .badge:focus-visible,
.campaign-audience-labels .badge.active,
.campaign-audience-mode .button.active {
	background: var(--blue-light);
	color: var(--blue-hover);
	border-color: #9ccbed;
	box-shadow: 0 2px 8px rgba(1, 118, 211, .14);
	outline: none;
}

.campaign-audience-labels .badge:hover,
.campaign-audience-labels .badge:focus-visible {
	transform: translateY(-1px);
}

.campaign-audience-preview {
	max-height: 320px;
	overflow: auto;
}

.campaign-audience-cohort-filter {
	display: grid;
	gap: 4px;
}

.campaign-audience-cohort-filter p {
	margin: 0;
}

.campaign-audience-pagination {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
}

.campaign-audience-search-results {
	max-height: 260px;
	overflow: auto;
}

.campaign-audience-ineligible {
	opacity: .72;
}

.campaign-audience-removed {
	background: #fff7f7;
}

.empty {
	color: var(--muted);
	text-align: center;
	padding: 20px !important;
}

.muted {
	color: var(--muted);
}

.message-preview {
	max-width: 480px;
	color: var(--muted);
	white-space: normal !important;
}

.error-cell {
	max-width: 340px;
	color: var(--error);
	white-space: normal !important;
}

.provider-cell {
	max-width: 320px;
	word-break: break-all;
	color: var(--muted);
	white-space: normal !important;
}

.toast-success {
	margin-bottom: 14px;
	border-radius: var(--radius);
	border: 1px solid #91db8b;
	background: #ebf7e6;
	color: #194e31;
	padding: 10px 12px;
	font-weight: 800;
}

code {
	background: #f3f3f3;
	border: 1px solid var(--border);
	border-radius: 3px;
	padding: 2px 4px;
	font-size: 12px;
	color: var(--blue-dark);
}

.split-layout {
	display: grid;
	grid-template-columns: minmax(0, 1.25fr) minmax(300px, .75fr);
	gap: 14px;
	align-items: start;
}

.record-form {
	display: grid;
	gap: 11px;
	padding: 14px 16px;
}

.form-grid {
	display: grid;
	gap: 11px;
}

.form-grid.two {
	grid-template-columns: 1fr 1fr;
}

label {
	display: grid;
	gap: 4px;
	color: #444;
	font-size: 12px;
	font-weight: 800;
}

input,
textarea,
select {
	width: 100%;
	min-height: 34px;
	border: 1px solid var(--border-strong);
	border-radius: var(--radius);
	background: #ffffff;
	color: var(--text);
	padding: 7px 9px;
	font: inherit;
	outline: none;
}

textarea {
	min-height: 88px;
	resize: vertical;
}

input:focus,
textarea:focus,
select:focus {
	border-color: var(--blue);
	box-shadow: 0 0 0 2px rgba(1, 118, 211, .12);
}

.check-row {
	display: flex;
	align-items: center;
	gap: 8px;
	font-weight: 700;
	color: var(--text);
}

.check-row input {
	width: 16px;
	height: 16px;
	min-height: 16px;
}

.form-actions {
	display: flex;
	justify-content: flex-end;
	padding-top: 2px;
}

.form-actions > *:not(:last-child) {
  margin-right: 1em;
}

.verified-number-actions {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 6px;
	flex-wrap: wrap;
}

.verified-number-actions .verification-code-input {
	width: 92px;
	min-width: 92px;
}

.ai-panel {
	position: fixed;
	right: 0;
	top: 0;
	bottom: 0;
	width: var(--ai-panel-width);
	background: #ffffff;
	border-left: 1px solid var(--border);
	box-shadow: -4px 0 14px rgba(0, 0, 0, .12);
	z-index: 50;
	display: grid;
	grid-template-rows: auto 1fr auto;
	transform: translateX(100%);
	transition: transform .18s ease;
}

body.ai-panel-open .ai-panel {
	transform: translateX(0);
}

.ai-panel-header {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	padding: 14px;
	border-bottom: 1px solid var(--border);
	background: #ffffff;
}

.ai-panel-header h2 {
	font-size: 18px;
}

.ai-panel-header p {
	margin-top: 3px;
	color: var(--muted);
	font-size: 13px;
}

.ai-close {
	width: 28px;
	height: 28px;
	border-radius: 50%;
	border: 1px solid var(--border-strong);
	background: #ffffff;
	color: var(--text);
	font-size: 20px;
	line-height: 1;
	cursor: pointer;
}

.ai-messages {
	padding: 12px;
	overflow-y: auto;
	background: #f8fafc;
}

.ai-message {
	border: 1px solid var(--border);
	border-radius: 6px;
	background: #ffffff;
	padding: 9px 10px;
	margin-bottom: 9px;
	box-shadow: 0 1px 1px rgba(0, 0, 0, .04);
}

.ai-message strong {
	display: block;
	font-size: 12px;
	margin-bottom: 4px;
	color: var(--blue-hover);
}

.ai-message p {
	margin: 0;
	color: var(--muted);
	font-size: 13px;
}

.ai-message.user {
	background: var(--blue-light);
	border-color: #b6d9f2;
}

.ai-suggestion-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px;
	margin-top: 10px;
}

.ai-suggestion-grid button {
	border: 1px solid var(--border-strong);
	border-radius: var(--radius);
	background: #ffffff;
	color: var(--blue-dark);
	font-weight: 800;
	padding: 8px;
	cursor: pointer;
	text-align: left;
	font-size: 12px;
}

.ai-suggestion-grid button:hover {
	background: var(--blue-light);
	border-color: #9ccbed;
}

.ai-input-row {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 8px;
	padding: 10px;
	border-top: 1px solid var(--border);
	background: #ffffff;
}

.ai-input-row textarea {
	min-height: 42px;
	max-height: 110px;
	resize: vertical;
}

@media (max-width: 1120px) {
	.metric-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.dashboard-layout {
		grid-template-columns: 1fr;
	}

	body.ai-panel-open .page-shell {
		margin-right: 0;
	}
}

@media (max-width: 920px) {
	.global-header {
		grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
		height: 48px;
		gap: 10px;
		position: static;
	}

	body.ai-panel-open .global-header,
	body.ai-panel-open .app-nav {
		padding-right: 10px;
	}

	.global-actions {
		justify-content: flex-end;
	}

	.app-nav {
		top: 0;
		overflow-x: auto;
	}

	.page-shell {
		padding: 10px;
	}

	.metric-grid,
	.split-layout,
	.form-grid.two {
		grid-template-columns: 1fr;
	}

	.object-hero {
		align-items: flex-start;
		flex-direction: column;
	}

	.hero-actions {
		width: 100%;
	}

	.hero-actions .button {
		flex: 1;
	}

	.ai-panel {
		width: min(100vw, 390px);
	}

	.ai-suggestion-grid {
		grid-template-columns: 1fr;
	}
}

.toast-warning {
	margin-bottom: 14px;
	border-radius: var(--radius);
	border: 1px solid #f8d38b;
	background: var(--warning-bg);
	color: var(--warning-text);
	padding: 10px 12px;
	font-weight: 800;
}

.import-help {
	background: #f7fbff;
	border: 1px solid #d8e6f7;
	border-radius: var(--radius);
	color: var(--muted);
	font-size: 13px;
	line-height: 1.45;
	padding: 10px;
}

.csv-example {
	display: grid;
	gap: 5px;
	color: var(--muted);
	font-size: 12px;
}

.csv-example code {
	display: block;
	white-space: normal;
	word-break: break-word;
}

.list-actions {
	display: flex;
	align-items: center;
	gap: 8px;
}

.list-search {
	width: 280px;
	min-height: 34px;
}


.list-card {
	margin-top: 16px;
}

.bulk-toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 10px 12px;
	border-bottom: 1px solid var(--border);
	background: #fbfcfe;
}

.bulk-left {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
}

.bulk-left strong {
	color: var(--blue-dark);
	font-size: 13px;
	min-width: 78px;
}

.bulk-left select,
.bulk-left input {
	min-height: 32px;
}

.bulk-left input {
	width: 250px;
}

.select-col {
	width: 42px;
	text-align: center !important;
}

.select-col input {
	width: 16px;
	height: 16px;
	min-height: 16px;
	cursor: pointer;
}

.selectable-table tbody tr:has(.contact-select:checked) {
	background: #eef6ff;
}

.public-body {
	background: linear-gradient(135deg, #f8fbff 0%, #eef4fb 100%);
}

.public-shell {
	padding: 32px 18px;
}

.landing-hero {
	max-width: 1180px;
	margin: 28px auto 18px;
	display: grid;
	grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr);
	gap: 24px;
	align-items: center;
}

.landing-copy {
	background: #ffffff;
	border: 1px solid var(--border);
	border-radius: 8px;
	box-shadow: var(--shadow);
	padding: 34px;
}

.landing-copy h1 {
	font-size: 42px;
	max-width: 780px;
}

.landing-copy p {
	color: var(--muted);
	font-size: 17px;
	margin-top: 12px;
	max-width: 780px;
}

.landing-actions {
	display: flex;
	gap: 10px;
	margin-top: 22px;
}

.landing-primary {
	min-height: 40px;
}

.landing-panel {
	background: #ffffff;
	border: 1px solid var(--border);
	border-radius: 8px;
	box-shadow: 0 14px 28px rgba(3, 45, 96, .13);
	overflow: hidden;
}

.mini-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 14px 16px;
	border-bottom: 1px solid var(--border);
	color: var(--blue-dark);
}

.mini-header span {
	color: var(--muted);
	font-size: 12px;
	font-weight: 800;
}

.mini-stat-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1px;
	background: var(--border);
}

.mini-stat-grid div {
	background: #ffffff;
	padding: 18px;
}

.mini-stat-grid strong {
	display: block;
	color: var(--blue-dark);
	font-size: 28px;
	line-height: 1;
}

.mini-stat-grid span {
	display: block;
	color: var(--muted);
	font-size: 12px;
	font-weight: 800;
	margin-top: 7px;
	text-transform: uppercase;
}

.mini-list {
	display: grid;
	gap: 10px;
	padding: 16px;
	color: var(--text);
	font-weight: 700;
}

.landing-feature-grid {
	max-width: 1180px;
	margin: 18px auto 0;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 14px;
}

.landing-feature-grid article {
	background: #ffffff;
	border: 1px solid var(--border);
	border-radius: 8px;
	box-shadow: var(--shadow);
	padding: 18px;
}

.landing-feature-grid h2 {
	font-size: 18px;
}

.landing-feature-grid p {
	color: var(--muted);
	margin-top: 6px;
}

.auth-card {
	max-width: 440px;
	margin: 48px auto;
	background: #ffffff;
	border: 1px solid var(--border);
	border-radius: 8px;
	box-shadow: var(--shadow);
	padding: 24px;
}

.auth-card h1 {
	font-size: 28px;
}

.auth-card p {
	color: var(--muted);
	margin-top: 5px;
}

.auth-form {
	padding: 18px 0 0;
}

.auth-link {
	margin-top: 14px;
}

.audio-recorder {
	border: 1px solid var(--border);
	background: #fbfcfe;
	border-radius: var(--radius);
	padding: 12px;
	display: grid;
	gap: 10px;
}

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

.audio-recorder-header strong {
	display: block;
	color: var(--blue-dark);
	font-weight: 900;
}

.audio-recorder-header p {
	color: var(--muted);
	font-size: 13px;
	margin-top: 3px;
}

.recorder-actions {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
}

.audio-recorder audio {
	width: 100%;
}

@media (max-width: 920px) {
	.landing-hero,
	.landing-feature-grid {
		grid-template-columns: 1fr;
	}

	.landing-copy {
		padding: 22px;
	}

	.landing-copy h1 {
		font-size: 32px;
	}
}

.bar-fill.skipped {
	background: #747474;
}

.campaign-action-form {
	display: inline-flex;
	align-items: center;
	justify-content: flex-end;
	gap: 6px;
}

.campaign-action-form select {
	min-height: 30px;
	border: 1px solid var(--border);
	border-radius: 4px;
	background: #ffffff;
	color: var(--text);
	font-weight: 700;
	font-size: 12px;
	padding: 0 8px;
}

.campaign-action-form .button.small {
	min-height: 30px;
	padding: 0 10px;
}

.campaign-schedule-box {
	border: 1px solid var(--border);
	background: #fbfcfe;
	border-radius: var(--radius);
	padding: 12px;
	display: grid;
	gap: 10px;
}

.badge.scheduled,
.badge.birthday {
	background: #eef6ff;
	color: var(--blue-dark);
	border: 1px solid #cfe3ff;
}

.badge.draft {
	background: #f4f6f9;
	color: var(--muted);
	border: 1px solid var(--border);
}

.muted {
	color: var(--muted);
}

#bulkCampaignSelect {
	min-width: 240px;
}

.bulk-left select {
	max-width: 280px;
}

/* restore Contacts side-panel layout */
.split-grid {
	display: grid !important;
	grid-template-columns: minmax(0, 1.55fr) minmax(320px, .85fr) !important;
	gap: 14px !important;
	align-items: start !important;
}

.split-grid > .slds-card:first-child {
	grid-row: span 2;
}

.split-grid > .slds-card {
	min-width: 0;
}
.split-grid > .slds-card2:first-child {
	grid-row: span 2;
}

.split-grid > .slds-card2 {
	min-width: 0;
}
@media (max-width: 980px) {
	.split-grid {
		grid-template-columns: 1fr !important;
	}

	.split-grid > .slds-card:first-child {
		grid-row: auto;
	}
	.split-grid > .slds-card2:first-child {
		grid-row: auto;
	}
}

.record-link {
	color: var(--blue-dark);
	text-decoration: none;
}

.record-link:hover {
	text-decoration: underline;
}

.contact-detail-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 360px;
	gap: 14px;
	align-items: start;
	margin-top: 14px;
}

.contact-main-column,
.contact-side-column {
	min-width: 0;
}

.contact-main-column {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.contact-side-column {
	position: static;
	width: auto;
	max-width: none;
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.contact-main-column .slds-card,
.contact-side-column .slds-card {
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
}
.contact-main-column .slds-card2,
.contact-side-column .slds-card2 {
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
}
.contact-detail-layout .table-wrap {
	width: 100%;
	max-width: 100%;
	overflow-x: auto;
}

.contact-detail-layout input,
.contact-detail-layout select,
.contact-detail-layout textarea {
	max-width: 100%;
	box-sizing: border-box;
}

.compact-note-form {
	padding-bottom: 12px;
	border-bottom: 1px solid var(--border);
}
@media (max-width: 1050px) {
	.contact-detail-layout {
		grid-template-columns: 1fr;
	}

	.contact-side-column {
		width: 100%;
	}
}
.notes-list {
	display: grid;
	gap: 10px;
	padding: 12px;
}

.note-card {
	border: 1px solid var(--border);
	background: #fbfcfe;
	border-radius: var(--radius);
	padding: 11px;
}

.note-card p {
	white-space: pre-wrap;
	color: var(--text);
	font-size: 13px;
	line-height: 1.45;
}

.note-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin-top: 9px;
	color: var(--muted);
	font-size: 12px;
}

.note-footer button {
	border: 0;
	background: transparent;
	color: #ba0517;
	font-weight: 800;
	cursor: pointer;
	padding: 0;
}

.side-empty {
	margin: 12px;
}

@media (max-width: 1040px) {
	.contact-detail-layout {
		grid-template-columns: 1fr;
	}
}

#bulkCampaignSelect {
	min-width: 260px;
	max-width: 340px;
	min-height: 92px;
}

#bulkCampaignSelect option {
	padding: 4px 6px;
}

.bulk-left select[multiple] {
	height: auto;
}

/* app launcher dropdown */
.app-launcher-wrap {
	position: relative;
	display: flex;
	align-items: center;
}

.app-launcher-menu {
	position: absolute;
	top: calc(100% + 10px);
	left: 0;
	width: 310px;
	background: #ffffff;
	border: 1px solid var(--border);
	border-radius: 8px;
	box-shadow: 0 16px 34px rgba(3, 45, 96, .18);
	padding: 8px;
	z-index: 5000;
	display: none;
}

.app-launcher-wrap.open .app-launcher-menu {
	display: grid;
	gap: 4px;
}

.app-launcher-menu::before {
	content: "";
	position: absolute;
	top: -7px;
	left: 14px;
	width: 12px;
	height: 12px;
	background: #ffffff;
	border-left: 1px solid var(--border);
	border-top: 1px solid var(--border);
	transform: rotate(45deg);
}

.app-launcher-menu-header {
	padding: 10px 11px;
	border-bottom: 1px solid var(--border);
	margin-bottom: 4px;
}

.app-launcher-menu-header strong {
	display: block;
	color: var(--blue-dark);
	font-size: 14px;
	font-weight: 900;
}

.app-launcher-menu-header span {
	display: block;
	color: var(--muted);
	font-size: 12px;
	font-weight: 700;
	margin-top: 2px;
}

.app-launcher-menu a {
	display: grid;
	gap: 2px;
	text-decoration: none;
	padding: 10px 11px;
	border-radius: 6px;
	color: var(--text);
}

.app-launcher-menu a:hover {
	background: #eef6ff;
}

.app-launcher-menu a strong {
	color: var(--blue-dark);
	font-size: 13px;
	font-weight: 900;
}

.app-launcher-menu a span {
	color: var(--muted);
	font-size: 12px;
	line-height: 1.25;
}

/* small screen nav behavior */
@media (max-width: 820px) {
	.app-nav {
		display: none !important;
	}

	.global-header {
		grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
		gap: 8px;
	}

	.global-search {
		display: none !important;
	}

	.global-actions {
		gap: 6px;
	}

	.ai-header-button {
		min-width: 34px;
		padding: 0 10px;
	}

	.ai-header-button .ai-dot {
		margin-right: 0;
	}

	.ai-header-button {
		font-size: 0;
	}

	.ai-header-button .ai-dot {
		font-size: 13px;
	}

	.page-shell {
		padding-top: 12px;
	}

	.app-launcher-menu {
		position: fixed;
		top: 54px;
		left: 10px;
		right: 10px;
		width: auto;
		max-width: none;
	}

	.app-launcher-menu::before {
		left: 18px;
	}
}

@media (max-width: 520px) {
	.wordmark {
		font-size: 18px;
	}

	.brand-logo {
		width: 94px;
		height: auto;
	}

	.global-actions form .button {
		min-height: 30px;
		padding: 0 9px;
		font-size: 12px;
	}

	.page-shell {
		padding-left: 10px;
		padding-right: 10px;
	}
}

.account-layout {
	display: grid;
	grid-template-columns: minmax(0, 1.55fr) minmax(330px, .85fr);
	gap: 14px;
	align-items: start;
}

.account-main-column,
.account-side-column {
	display: grid;
	gap: 14px;
	min-width: 0;
}

.settings-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
	padding: 12px;
}

.setting-tile {
	border: 1px solid var(--border);
	border-radius: var(--radius);
	background: #fbfcfe;
	padding: 12px;
}

.setting-tile strong {
	display: block;
	color: var(--blue-dark);
	font-size: 13px;
	font-weight: 900;
	margin-bottom: 5px;
}

.setting-tile p {
	color: var(--muted);
	font-size: 13px;
	line-height: 1.4;
}

.plan-card {
	padding: 12px;
}

.plan-card h3 {
	margin-top: 8px;
	color: var(--blue-dark);
	font-size: 18px;
}

.plan-card p {
	color: var(--muted);
	font-size: 13px;
	line-height: 1.45;
	margin-top: 5px;
}

.danger-card .button.secondary {
	color: #ba0517;
	border-color: #f0b8bf;
	background: #fff8f8;
}

@media (max-width: 1040px) {
	.account-layout {
		grid-template-columns: 1fr;
	}

	.settings-grid {
		grid-template-columns: 1fr;
	}
}

.danger-button {
	color: #ba0517 !important;
	border-color: #f0b8bf !important;
	background: #fff8f8 !important;
}

.danger-button:hover {
	background: #ffecec !important;
}

.landing-v2 {
	background: #ffffff;
	color: #1f2a37;
	overflow: hidden;
}

.landing-container {
	width: min(1180px, calc(100% - 36px));
	margin: 0 auto;
}

.landing-hero-v2 {
	position: relative;
	padding: 82px 0 72px;
	background:
		radial-gradient(circle at 20% 0%, rgba(11, 91, 166, .18), transparent 34%),
		linear-gradient(135deg, #f8fbff 0%, #ffffff 45%, #edf5ff 100%);
	border-bottom: 1px solid #dfe7f3;
}

.landing-hero-bg {
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(rgba(3, 45, 96, .055) 1px, transparent 1px),
		linear-gradient(90deg, rgba(3, 45, 96, .055) 1px, transparent 1px);
	background-size: 44px 44px;
	mask-image: linear-gradient(to bottom, #000, transparent 86%);
	pointer-events: none;
}

.hero-grid-v2 {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(420px, .92fr);
	gap: 54px;
	align-items: center;
}

.hero-kicker-v2,
.section-kicker {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: #0c4596;
	font-size: 12px;
	font-weight: 900;
	letter-spacing: .12em;
	text-transform: uppercase;
	margin-bottom: 14px;
}
.section-kicker2 {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: #ffffff;
	font-size: 12px;
	font-weight: 900;
	letter-spacing: .12em;
	text-transform: uppercase;
	margin-bottom: 14px;
}

.hero-kicker-v2 span {
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: #0b5ba6;
	box-shadow: 0 0 0 6px rgba(11, 91, 166, .12);
}

.hero-copy-v2 h1 {
	color: #032d60;
	font-size: clamp(42px, 5.2vw, 68px);
	line-height: .96;
	letter-spacing: -0.055em;
	max-width: 760px;
	margin: 0;
}

.hero-lead-v2 {
	color: #516174;
	font-size: 18px;
	line-height: 1.62;
	max-width: 650px;
	margin: 24px 0 0;
}

.hero-actions-v2 {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 30px;
}

.hero-primary {
	background: #0b5ba6 !important;
	border-color: #0b5ba6 !important;
	color: #ffffff !important;
	box-shadow: 0 12px 25px rgba(11, 91, 166, .22);
}

.hero-secondary {
	background: #ffffff !important;
	color: #032d60 !important;
	border-color: #c9d7e8 !important;
}

.light-button {
	background: transparent !important;
	color: #ffffff !important;
	border-color: rgba(255,255,255,.44) !important;
}

.hero-proof-row {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 10px;
	margin-top: 34px;
	max-width: 720px;
}

.hero-proof-row div {
	background: rgba(255,255,255,.74);
	border: 1px solid #dce7f4;
	border-radius: 12px;
	padding: 13px;
	box-shadow: 0 8px 18px rgba(3, 45, 96, .06);
}

.hero-proof-row strong,
.hero-proof-row span {
	display: block;
}

.hero-proof-row strong {
	color: #032d60;
	font-size: 13px;
	font-weight: 900;
}

.hero-proof-row span {
	color: #64748b;
	font-size: 12px;
	line-height: 1.35;
	margin-top: 4px;
}

.hero-product-card {
	position: relative;
}

.product-window {
	background: #ffffff;
	border: 1px solid #d3e0ef;
	border-radius: 18px;
	box-shadow: 0 28px 70px rgba(3, 45, 96, .17);
	overflow: hidden;
}

.product-window-top {
	height: 46px;
	display: flex;
	align-items: center;
	gap: 7px;
	padding: 0 16px;
	background: linear-gradient(180deg, #ffffff, #f5f8fc);
	border-bottom: 1px solid #e3ebf5;
}

.product-window-top span {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: #c9d7e8;
}

.product-window-top strong {
	color: #032d60;
	font-size: 13px;
	margin-left: 8px;
}

.product-dashboard {
	display: grid;
	gap: 12px;
	padding: 16px;
	background: #f7faff;
}

.dash-stat,
.dash-bar-card,
.campaign-mini-list {
	background: #ffffff;
	border: 1px solid #dde8f5;
	border-radius: 12px;
	padding: 13px;
}

.dash-stat span,
.dash-stat em,
.dash-bar-card span,
.campaign-mini-list em {
	display: block;
	color: #64748b;
	font-style: normal;
	font-size: 12px;
}

.dash-stat strong,
.dash-bar-card strong,
.campaign-mini-list strong {
	display: block;
	color: #032d60;
	font-size: 15px;
	font-weight: 900;
	margin: 3px 0;
}

.fake-progress {
	height: 8px;
	border-radius: 999px;
	background: #e8eef7;
	overflow: hidden;
	margin-top: 10px;
}

.fake-progress i {
	display: block;
	height: 100%;
	border-radius: 999px;
	background: linear-gradient(90deg, #0b5ba6, #4aa3ff);
}

.campaign-mini-list {
	display: grid;
	gap: 10px;
}

.campaign-mini-list div {
	display: grid;
	grid-template-columns: 12px 1fr;
	column-gap: 9px;
	align-items: center;
}

.campaign-mini-list em {
	grid-column: 2;
}

.mini-dot {
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: #b8c7da;
}

.mini-dot.active {
	background: #0b5ba6;
	box-shadow: 0 0 0 5px rgba(11, 91, 166, .12);
}

.floating-card-v2 {
	position: absolute;
	background: #ffffff;
	border: 1px solid #d9e5f2;
	border-radius: 14px;
	box-shadow: 0 18px 36px rgba(3, 45, 96, .18);
	padding: 12px 14px;
	min-width: 170px;
}

.floating-card-v2 strong,
.floating-card-v2 span {
	display: block;
}

.floating-card-v2 strong {
	color: #032d60;
	font-size: 13px;
	font-weight: 900;
}

.floating-card-v2 span {
	color: #64748b;
	font-size: 12px;
	margin-top: 3px;
}

.floating-card-v2.one {
	top: 74px;
	left: -36px;
}

.floating-card-v2.two {
	right: -30px;
	bottom: 66px;
}

.logo-strip-v2 {
	background: #032d60;
	color: #ffffff;
	padding: 18px 0;
}

.logo-strip-v2 .landing-container {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
}

.logo-strip-v2 p {
	font-size: 13px;
	font-weight: 900;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: rgba(255,255,255,.76);
}

.integration-pills {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 8px;
}

.integration-pills span {
	border: 1px solid rgba(255,255,255,.22);
	background: rgba(255,255,255,.08);
	color: #ffffff;
	border-radius: 999px;
	padding: 7px 10px;
	font-size: 12px;
	font-weight: 800;
}

.landing-section-v2 {
	padding: 78px 0;
}

.landing-section-v2.soft {
	background: #f6f9fd;
	border-top: 1px solid #e4edf7;
	border-bottom: 1px solid #e4edf7;
}

.landing-section-v2.dark {
	background:
		radial-gradient(circle at 12% 0%, rgba(74, 163, 255, .22), transparent 34%),
		linear-gradient(135deg, #032d60, #061b38);
	color: #ffffff;
}

.two-col-v2 {
	display: grid;
	grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
	gap: 46px;
	align-items: center;
}

.landing-section-v2 h2,
.landing-cta-v2 h2 {
	color: #032d60;
	font-size: clamp(30px, 3.3vw, 46px);
	line-height: 1.05;
	letter-spacing: -0.04em;
	margin: 0;
}

.landing-section-v2.dark h2,
.landing-cta-v2 h2,
.center-heading.light h2 {
	color: #ffffff;
}

.landing-section-v2 p {
	color: #5e6c80;
	font-size: 16px;
	line-height: 1.65;
	margin-top: 16px;
}

.landing-section-v2.dark p,
.center-heading.light p,
.landing-cta-v2 p {
	color: rgba(255,255,255,.74);
}

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

.overview-card,
.feature-card-v2,
.service-card-v2,
.use-case-grid-v2 div,
.control-list-v2 div {
	background: #ffffff;
	border: 1px solid #dfe8f4;
	border-radius: 16px;
	padding: 18px;
	box-shadow: 0 10px 24px rgba(3, 45, 96, .055);
}

.overview-card span {
	color: #0b5ba6;
	font-size: 12px;
	font-weight: 950;
	letter-spacing: .12em;
}

.overview-card strong,
.control-list-v2 strong,
.use-case-grid-v2 strong {
	display: block;
	color: #032d60;
	font-size: 17px;
	font-weight: 950;
	margin-top: 8px;
}

.overview-card p,
.control-list-v2 span,
.use-case-grid-v2 p {
	color: #66758a;
	font-size: 13px;
	line-height: 1.5;
	margin-top: 7px;
}

.center-heading {
	text-align: center;
	max-width: 760px;
	margin: 0 auto 34px;
}

.center-heading p {
	margin-left: auto;
	margin-right: auto;
	max-width: 620px;
}

.feature-grid-v2 {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 14px;
}

.feature-icon {
	width: 42px;
	height: 42px;
	border-radius: 12px;
	display: grid;
	place-items: center;
	background: #eef6ff;
	color: #0b5ba6;
	font-size: 20px;
	margin-bottom: 14px;
}

.feature-card-v2 h3,
.service-card-v2 h3,
.step-card-v2 h3 {
	color: #032d60;
	font-size: 17px;
	margin: 0;
}

.feature-card-v2 p,
.service-card-v2 p,
.step-card-v2 p {
	font-size: 13px;
	line-height: 1.55;
	margin-top: 9px;
}

.integration-layout-v2 {
	display: grid;
	grid-template-columns: minmax(0, .9fr) minmax(360px, .75fr);
	gap: 48px;
	align-items: center;
}

.integration-checklist {
	display: grid;
	gap: 11px;
	margin-top: 22px;
}

.integration-checklist div {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	color: #344154;
	font-size: 14px;
	font-weight: 750;
}

.integration-checklist span {
	display: grid;
	place-items: center;
	width: 21px;
	height: 21px;
	flex: 0 0 21px;
	border-radius: 50%;
	background: #e8f4ff;
	color: #0b5ba6;
	font-weight: 950;
}

.integration-panel-v2 {
	background: #ffffff;
	border: 1px solid #d8e5f3;
	border-radius: 18px;
	padding: 18px;
	box-shadow: 0 24px 52px rgba(3, 45, 96, .13);
}

.integration-row {
	border: 1px solid #dfe8f4;
	background: #fbfdff;
	border-radius: 14px;
	padding: 15px;
}

.integration-row.active {
	border-color: #9bc8ff;
	background: #eff7ff;
}

.integration-row strong,
.integration-row span {
	display: block;
}

.integration-row strong {
	color: #032d60;
	font-size: 15px;
	font-weight: 950;
}

.integration-row span {
	color: #66758a;
	font-size: 13px;
	margin-top: 4px;
}

.integration-arrow {
	text-align: center;
	color: #0b5ba6;
	font-weight: 950;
	padding: 7px 0;
}

.steps-grid-v2 {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 14px;
}

.step-card-v2 {
	border: 1px solid rgba(255,255,255,.16);
	background: rgba(255,255,255,.07);
	border-radius: 18px;
	padding: 20px;
}

.step-card-v2 span {
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: #ffffff;
	color: #032d60;
	font-weight: 950;
	margin-bottom: 14px;
}

.step-card-v2 h3 {
	color: #ffffff;
}

.step-card-v2 p {
	color: rgba(255,255,255,.72);
}

.use-case-grid-v2,
.service-grid-v2 {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
}

.control-list-v2 {
	display: grid;
	gap: 12px;
}

.control-list-v2 div {
	display: grid;
	gap: 4px;
}

.control-list-v2 strong {
	margin-top: 0;
}

.landing-cta-v2 {
	background:
		radial-gradient(circle at 80% 20%, rgba(74, 163, 255, .25), transparent 30%),
		linear-gradient(135deg, #0b5ba6, #032d60);
	padding: 70px 0;
	color: #ffffff;
}

.cta-inner-v2 {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 34px;
	align-items: center;
}

.cta-inner-v2 h2 {
	max-width: 770px;
}

.cta-inner-v2 p {
	font-size: 16px;
	line-height: 1.55;
	margin-top: 14px;
	max-width: 650px;
}

.cta-actions-v2 {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
	justify-content: flex-end;
}

.marketing-footer-v2 {
	background: #061b38;
	color: #ffffff;
	padding: 54px 0 0;
}

.footer-grid-v2 {
	display: grid;
	grid-template-columns: minmax(260px, 1.4fr) repeat(4, minmax(130px, .65fr));
	gap: 34px;
	padding-bottom: 38px;
}

.footer-logo-line {
	display: flex;
	align-items: center;
	gap: 10px;
}

.footer-logo-line img {
	width: 36px;
	height: 36px;
	object-fit: contain;
}

.footer-logo-line strong {
	font-size: 23px;
	font-weight: 950;
	font-style: italic;
}

.footer-brand-v2 p {
	color: rgba(255,255,255,.68);
	line-height: 1.58;
	font-size: 14px;
	margin-top: 16px;
	max-width: 370px;
}

.footer-badges-v2 {
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
	margin-top: 16px;
}

.footer-badges-v2 span {
	border: 1px solid rgba(255,255,255,.18);
	background: rgba(255,255,255,.07);
	border-radius: 999px;
	padding: 6px 9px;
	font-size: 11px;
	font-weight: 850;
	color: rgba(255,255,255,.82);
}

.footer-col-v2 h4 {
	color: #ffffff;
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: .12em;
	margin-bottom: 12px;
}

.footer-col-v2 a {
	display: block;
	color: rgba(255,255,255,.68);
	text-decoration: none;
	font-size: 13px;
	font-weight: 700;
	padding: 6px 0;
}

.footer-col-v2 a:hover {
	color: #ffffff;
}

.footer-bottom-v2 {
	border-top: 1px solid rgba(255,255,255,.12);
	padding: 18px 0;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}

.footer-bottom-v2 p {
	color: rgba(255,255,255,.56);
	font-size: 12px;
}

.footer-bottom-v2 div {
	display: flex;
	gap: 14px;
}

.footer-bottom-v2 a {
	color: rgba(255,255,255,.62);
	text-decoration: none;
	font-size: 12px;
	font-weight: 750;
}

.footer-bottom-v2 a:hover {
	color: #ffffff;
}

@media (max-width: 1080px) {
	.hero-grid-v2,
	.two-col-v2,
	.integration-layout-v2,
	.cta-inner-v2 {
		grid-template-columns: 1fr;
	}

	.hero-product-card {
		max-width: 620px;
	}

	.feature-grid-v2,
	.steps-grid-v2 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

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

	.cta-actions-v2 {
		justify-content: flex-start;
	}
}

@media (max-width: 760px) {
	.landing-container {
		width: min(100% - 24px, 1180px);
	}

	.landing-hero-v2 {
		padding: 54px 0 42px;
	}

	.hero-copy-v2 h1 {
		font-size: 40px;
	}

	.hero-lead-v2 {
		font-size: 16px;
	}

	.hero-proof-row,
	.overview-card-grid,
	.feature-grid-v2,
	.steps-grid-v2,
	.use-case-grid-v2,
	.service-grid-v2 {
		grid-template-columns: 1fr;
	}

	.logo-strip-v2 .landing-container {
		align-items: flex-start;
		flex-direction: column;
	}

	.integration-pills {
		justify-content: flex-start;
	}

	.floating-card-v2 {
		display: none;
	}

	.landing-section-v2 {
		padding: 52px 0;
	}

	.landing-section-v2 h2,
	.landing-cta-v2 h2 {
		font-size: 30px;
	}

	.footer-grid-v2 {
		grid-template-columns: 1fr;
	}

	.footer-bottom-v2 {
		align-items: flex-start;
		flex-direction: column;
	}
}

.faq-page,
.demo-page {
	background: #ffffff;
}

.faq-hero,
.demo-hero {
	background:
		radial-gradient(circle at 18% 0%, rgba(11, 91, 166, .18), transparent 32%),
		linear-gradient(135deg, #f8fbff 0%, #ffffff 50%, #edf5ff 100%);
	border-bottom: 1px solid #dfe7f3;
	padding: 68px 0;
}

.faq-hero h1,
.demo-hero h1 {
	color: #032d60;
	font-size: clamp(40px, 5vw, 64px);
	line-height: .98;
	letter-spacing: -.05em;
	max-width: 780px;
	margin: 0;
}

.faq-hero p,
.demo-hero p {
	color: #516174;
	font-size: 18px;
	line-height: 1.6;
	max-width: 720px;
	margin-top: 18px;
}

.faq-actions {
	margin-top: 26px;
}

.faq-content-section {
	padding: 54px 0 78px;
}

.faq-layout {
	display: grid;
	grid-template-columns: 240px minmax(0, 1fr);
	gap: 28px;
	align-items: start;
}

.faq-sidebar {
	position: sticky;
	top: 84px;
	background: #ffffff;
	border: 1px solid #dfe8f4;
	border-radius: 16px;
	padding: 10px;
	box-shadow: 0 10px 24px rgba(3, 45, 96, .055);
}

.faq-sidebar a {
	display: block;
	text-decoration: none;
	color: #42526a;
	font-size: 13px;
	font-weight: 850;
	padding: 10px 11px;
	border-radius: 10px;
}

.faq-sidebar a:hover {
	background: #eef6ff;
	color: #032d60;
}

.faq-main {
	display: grid;
	gap: 20px;
}

.faq-group {
	background: #ffffff;
	border: 1px solid #dfe8f4;
	border-radius: 18px;
	box-shadow: 0 12px 28px rgba(3, 45, 96, .055);
	overflow: hidden;
}

.faq-group h2 {
	color: #032d60;
	font-size: 24px;
	padding: 20px 22px;
	border-bottom: 1px solid #e7eef8;
	margin: 0;
}

.faq-group details {
	border-bottom: 1px solid #edf2f8;
	padding: 0;
}

.faq-group details:last-child {
	border-bottom: 0;
}

.faq-group summary {
	cursor: pointer;
	list-style: none;
	color: #102a43;
	font-size: 15px;
	font-weight: 950;
	padding: 17px 22px;
	position: relative;
}

.faq-group summary::-webkit-details-marker {
	display: none;
}

.faq-group summary::after {
	content: "+";
	position: absolute;
	right: 22px;
	top: 16px;
	color: #0b5ba6;
	font-size: 20px;
	font-weight: 900;
}

.faq-group details[open] summary::after {
	content: "−";
}

.faq-group details p {
	color: #5e6c80;
	font-size: 14px;
	line-height: 1.6;
	padding: 0 22px 18px;
	margin: 0;
	max-width: 900px;
}

.demo-card {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(320px, .65fr);
	gap: 28px;
	align-items: center;
	background: rgba(255,255,255,.78);
	border: 1px solid #dbe7f5;
	border-radius: 24px;
	box-shadow: 0 28px 70px rgba(3, 45, 96, .14);
	padding: 34px;
}

.demo-next-box {
	display: grid;
	gap: 4px;
	background: #eff7ff;
	border: 1px solid #cfe3ff;
	border-radius: 14px;
	padding: 14px;
	margin: 22px 0;
	max-width: 580px;
}

.demo-next-box strong {
	color: #032d60;
	font-size: 14px;
	font-weight: 950;
}

.demo-next-box span {
	color: #516174;
	font-size: 13px;
	line-height: 1.45;
}

.demo-side-panel {
	background: #032d60;
	color: #ffffff;
	border-radius: 18px;
	padding: 22px;
}

.demo-side-panel h2 {
	color: #ffffff;
	font-size: 24px;
	line-height: 1.1;
	margin-bottom: 16px;
}

.demo-side-panel ul {
	display: grid;
	gap: 10px;
	padding-left: 19px;
}

.demo-side-panel li {
	color: rgba(255,255,255,.82);
	font-size: 14px;
	line-height: 1.45;
}

@media (max-width: 900px) {
	.faq-layout,
	.demo-card {
		grid-template-columns: 1fr;
	}

	.faq-sidebar {
		position: static;
		display: flex;
		flex-wrap: wrap;
		gap: 6px;
	}

	.faq-sidebar a {
		background: #f6f9fd;
	}
}

@media (max-width: 620px) {
	.faq-hero,
	.demo-hero {
		padding: 44px 0;
	}

	.faq-hero h1,
	.demo-hero h1 {
		font-size: 38px;
	}

	.faq-group h2,
	.faq-group summary,
	.faq-group details p {
		padding-left: 16px;
		padding-right: 16px;
	}

	.demo-card {
		padding: 20px;
	}
}

/* full-bleed public marketing pages */
.page-shell.public-shell {
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

.public-shell .landing-v2,
.public-shell .faq-page,
.public-shell .demo-page {
	width: 100% !important;
	margin: 0 !important;
}

.public-shell .landing-hero-v2,
.public-shell .logo-strip-v2,
.public-shell .landing-section-v2,
.public-shell .landing-cta-v2,
.public-shell .marketing-footer-v2,
.public-shell .faq-hero,
.public-shell .faq-content-section,
.public-shell .demo-hero {
	margin-left: 0 !important;
	margin-right: 0 !important;
	width: 100% !important;
}

.public-shell .marketing-footer-v2 {
	margin-bottom: 0 !important;
}

body:has(.public-shell) {
	background: #ffffff;
}

/* force landing/marketing pages full width */
html,
body {
	margin: 0 !important;
}

body:has(.landing-v2),
body:has(.faq-page),
body:has(.demo-page) {
	background: #ffffff !important;
}

body:has(.landing-v2) .page-shell,
body:has(.faq-page) .page-shell,
body:has(.demo-page) .page-shell,
body:has(.landing-v2) main,
body:has(.faq-page) main,
body:has(.demo-page) main {
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

body:has(.landing-v2) .landing-v2,
body:has(.faq-page) .faq-page,
body:has(.demo-page) .demo-page {
	width: 100vw !important;
	max-width: 100vw !important;
	margin-left: 50% !important;
	transform: translateX(-50%) !important;
}

body:has(.landing-v2) .landing-cta-v2,
body:has(.landing-v2) .marketing-footer-v2 {
	width: 100% !important;
	margin: 0 !important;
}

/* polished AI button */
.polished-ai-button {
	gap: 8px !important;
	border: 1px solid #cfe3ff !important;
	background: linear-gradient(135deg, #ffffff, #eef6ff) !important;
	color: var(--blue-dark) !important;
	box-shadow: 0 8px 18px rgba(3, 45, 96, .08) !important;
}

.ai-star-symbol {
	display: grid;
	place-items: center;
	width: 22px;
	height: 22px;
	border-radius: 8px;
	background: linear-gradient(135deg, #0b5ba6, #6ea8fe);
	color: #ffffff;
	font-size: 15px;
	line-height: 1;
	box-shadow: 0 6px 14px rgba(11, 91, 166, .24);
}

.ai-button-text {
	font-weight: 900;
}

.app-launcher-menu-footer {
	border-top: 1px solid var(--border);
	margin-top: 4px;
	padding-top: 8px;
	display: grid;
	gap: 6px;
}

.app-launcher-menu-footer a,
.app-launcher-menu-footer button {
	width: 100%;
	border-radius: 7px;
	min-height: 34px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 13px;
	font-weight: 900;
	text-decoration: none;
}

.app-launcher-menu-footer a {
	background: #eef6ff;
	border: 1px solid #cfe3ff;
	color: var(--blue-dark);
}

.app-launcher-menu-footer button {
	border: 1px solid #f0b8bf;
	background: #fff8f8;
	color: #ba0517;
	cursor: pointer;
}

.account-tabs-card {
	overflow: hidden;
}

.account-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	padding: 10px;
	border-bottom: 1px solid var(--border);
	background: #f7faff;
}

.account-tabs button {
	border: 1px solid var(--border);
	background: #ffffff;
	color: var(--muted);
	border-radius: 999px;
	min-height: 34px;
	padding: 0 14px;
	font-size: 13px;
	font-weight: 900;
	cursor: pointer;
}

.account-tabs button.active {
	background: var(--blue-dark);
	border-color: var(--blue-dark);
	color: #ffffff;
	box-shadow: 0 8px 16px rgba(3, 45, 96, .18);
}

.account-tab-panels {
	background: #ffffff;
}

.account-tab-panel {
	display: none;
}

.account-tab-panel.active {
	display: block;
}

.card-header.flat {
	border-top: 0;
}

.billing-summary-grid,
.usage-breakdown-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 1em;
  gap: 12px;
}

.billing-summary-card,
.usage-breakdown-card,
.credits-hero-card,
.stripe-note {
	border: 1px solid var(--border);
	border-radius: var(--radius);
	background: #fbfcfe;
	padding: 14px;
}

.billing-summary-card span,
.credits-hero-card span {
	display: block;
	color: var(--muted);
	font-size: 12px;
	font-weight: 850;
	text-transform: uppercase;
	letter-spacing: .06em;
}

.billing-summary-card strong,
.credits-hero-card strong {
	display: block;
	color: var(--blue-dark);
	font-size: 26px;
	font-weight: 950;
	margin-top: 6px;
}

.billing-summary-card p,
.credits-hero-card p,
.stripe-note p {
	color: var(--muted);
	font-size: 13px;
	line-height: 1.45;
	margin-top: 6px;
}

.stripe-note {
	margin: 12px;
	background: #eff7ff;
	border-color: #cfe3ff;
}

.stripe-note strong {
	color: var(--blue-dark);
	font-size: 14px;
	font-weight: 950;
}

.account-subsection {
	padding: 12px;
	border-top: 1px solid var(--border);
}

.account-subsection h3 {
	color: var(--blue-dark);
	font-size: 16px;
	font-weight: 950;
	margin-bottom: 12px;
}

.payment-method-list {
	display: grid;
	gap: 10px;
}

.payment-method-card {
	border: 1px solid var(--border);
	background: #ffffff;
	border-radius: var(--radius);
	padding: 12px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.payment-method-card strong,
.payment-method-card span,
.payment-method-card em {
	display: block;
}

.payment-method-card strong {
	color: var(--blue-dark);
	font-size: 14px;
	font-weight: 950;
}

.payment-method-card span,
.payment-method-card em {
	color: var(--muted);
	font-size: 12px;
	margin-top: 3px;
}

.payment-method-card em {
	font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
	font-style: normal;
}

.soft-empty {
	border: 1px dashed var(--border);
	background: #fbfcfe;
	border-radius: var(--radius);
	padding: 18px;
}

.compact-payment-form {
	border: 1px solid var(--border);
	border-radius: var(--radius);
	background: #fbfcfe;
	padding: 12px;
}

.credits-hero-card {
	margin: 12px;
	background: linear-gradient(135deg, #eff7ff, #ffffff);
}

.credits-hero-card strong {
	font-size: 42px;
}

.plan-hero-card {
	background:
		radial-gradient(circle at top left, rgba(11, 91, 166, 0.16), transparent 32%),
		linear-gradient(135deg, #eef6ff, #ffffff);
}

.billing-confirm-modal {
	display: block;
	position: fixed;
	inset: 0;
	z-index: 9999;
}

.billing-confirm-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(15, 23, 42, 0.62);
}

.billing-confirm-panel {
	position: relative;
	width: min(560px, calc(100vw - 32px));
	max-height: calc(100vh - 48px);
	margin: 56px auto;
	overflow: auto;
	background: var(--card, #fff);
	color: var(--text, #0f172a);
	border-radius: 18px;
	box-shadow: 0 24px 80px rgba(15, 23, 42, 0.35);
	border: 1px solid rgba(148, 163, 184, 0.35);
}

.billing-confirm-header,
.billing-confirm-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 20px 22px;
	border-bottom: 1px solid rgba(148, 163, 184, 0.22);
}

.billing-confirm-header h2 {
	margin: 0 0 4px;
}

.billing-confirm-header p,
.billing-confirm-body p {
	margin: 0;
}

.billing-confirm-footer {
	border-top: 1px solid rgba(148, 163, 184, 0.22);
	border-bottom: 0;
	justify-content: flex-end;
}

.billing-confirm-body {
	display: grid;
	gap: 12px;
	padding: 20px 22px;
	line-height: 1.6;
}

.plan-card-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 1em;
}

.plan-option-card {
	border: 1px solid var(--border);
	background: #ffffff;
	border-radius: var(--radius);
	padding: 14px;
	display: grid;
	gap: 14px;
	align-content: space-between;
	box-shadow: 0 8px 18px rgba(3, 45, 96, .04);
}

.plan-option-card.current {
	border-color: #9bc8ff;
	background: #eff7ff;
	box-shadow: 0 12px 24px rgba(11, 91, 166, .10);
}

.plan-option-card h4 {
	color: var(--blue-dark);
	font-size: 18px;
	font-weight: 950;
	margin-top: 6px;
}

.plan-option-card strong {
	display: block;
	color: var(--text);
	font-size: 24px;
	font-weight: 950;
	margin-top: 7px;
}

.plan-option-card strong small {
	font-size: 13px;
	font-weight: 900;
	color: var(--muted);
}

.plan-option-card span {
	display: block;
	color: #0b5ba6;
	font-size: 13px;
	font-weight: 900;
	margin-top: 4px;
}

.plan-option-card p {
	color: var(--muted);
	font-size: 13px;
	line-height: 1.45;
	margin-top: 7px;
}

.usage-breakdown-card strong {
	display: block;
	color: var(--blue-dark);
	font-size: 14px;
	font-weight: 950;
}

.usage-breakdown-card span {
	display: block;
	color: var(--muted);
	font-size: 13px;
	margin-top: 4px;
}

.password-match-message {
	color: var(--muted);
	font-size: 13px;
	font-weight: 850;
	padding: 0 12px 12px;
}

.password-match-message.good {
	color: #0f7b5f;
}

.password-match-message.bad {
	color: #ba0517;
}

@media (max-width: 980px) {
	.billing-summary-grid,
	.plan-card-grid,
	.usage-breakdown-grid {
		grid-template-columns: 1fr;
    gap: 12px;
    margin: 1em;
	}

	.payment-method-card {
		align-items: flex-start;
		flex-direction: column;
	}
}

@media (max-width: 640px) {
	.account-tabs {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.account-tabs button {
		border-radius: 8px;
	}
}

/* header help + notification icons */
.header-icon-button {
	width: 36px;
	height: 36px;
	border-radius: 999px;
	border: 1px solid var(--border);
	background: #ffffff;
	color: var(--blue-dark);
	display: inline-grid;
	place-items: center;
	text-decoration: none;
	font-size: 16px;
	font-weight: 950;
	box-shadow: 0 8px 18px rgba(3, 45, 96, .08);
	cursor: pointer;
	position: relative;
}

.header-icon-button:hover {
	background: #eef6ff;
	border-color: #cfe3ff;
}

.header-account-link,
.header-logout-form button {
	min-height: 36px;
	border-radius: 999px;
	border: 1px solid var(--border);
	background: #ffffff;
	color: var(--blue-dark);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0 13px;
	text-decoration: none;
	font-size: 13px;
	font-weight: 900;
	box-shadow: 0 8px 18px rgba(3, 45, 96, .08);
	cursor: pointer;
}

.header-account-link:hover,
.header-logout-form button:hover {
	background: #eef6ff;
	border-color: #cfe3ff;
}

.header-logout-form button {
	color: #ba0517;
}

.help-icon-button {
	font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.notification-bell-button {
	font-size: 17px;
}

.bell-icon {
	display: block;
	transform: rotate(45deg);
	color: var(--blue-dark);
	font-weight: 950;
}

.notification-dot {
	position: absolute;
	top: 7px;
	right: 7px;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #ba0517;
	border: 2px solid #ffffff;
}

.help-layout {
	display: grid;
	grid-template-columns: 240px minmax(0, 1fr);
	gap: 16px;
	align-items: start;
}

.help-sidebar {
	position: sticky;
	top: 80px;
	background: #ffffff;
	border: 1px solid var(--border);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	padding: 10px;
}

.help-sidebar a {
	display: block;
	text-decoration: none;
	color: var(--muted);
	font-size: 13px;
	font-weight: 900;
	padding: 10px 11px;
	border-radius: 8px;
}

.help-sidebar a:hover {
	background: #eef6ff;
	color: var(--blue-dark);
}

.help-main {
	display: grid;
	gap: 16px;
}

.help-search-card {
	padding: 18px;
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(280px, .55fr);
	gap: 16px;
	align-items: center;
}

.help-search-card h2 {
	color: var(--blue-dark);
	font-size: 22px;
	font-weight: 950;
	margin-bottom: 4px;
}

.help-search-card p {
	color: var(--muted);
	font-size: 13px;
}

.help-search-box {
	height: 42px;
	border: 1px solid var(--border);
	border-radius: 999px;
	display: flex;
	align-items: center;
	gap: 9px;
	padding: 0 14px;
	background: #fbfcfe;
}

.help-search-box span {
	color: var(--blue-dark);
	font-weight: 950;
}

.help-search-box input {
	border: 0;
	background: transparent;
	width: 100%;
	height: 100%;
	color: var(--muted);
}

.help-step-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 12px;
	padding: 12px;
}

.help-step-grid div {
	border: 1px solid var(--border);
	background: #fbfcfe;
	border-radius: var(--radius);
	padding: 14px;
}

.help-step-grid strong {
	display: block;
	color: var(--blue-dark);
	font-size: 14px;
	font-weight: 950;
}

.help-step-grid p {
	color: var(--muted);
	font-size: 13px;
	line-height: 1.45;
	margin-top: 6px;
}

.help-article-list {
	display: grid;
}

.help-article-list details {
	border-top: 1px solid var(--border);
}

.help-article-list summary {
	cursor: pointer;
	list-style: none;
	color: var(--blue-dark);
	font-size: 14px;
	font-weight: 950;
	padding: 15px 16px;
	position: relative;
}

.help-article-list summary::-webkit-details-marker {
	display: none;
}

.help-article-list summary::after {
	content: "+";
	position: absolute;
	right: 16px;
	top: 13px;
	color: #0b5ba6;
	font-size: 20px;
	font-weight: 950;
}

.help-article-list details[open] summary::after {
	content: "−";
}

.help-article-list p {
	color: var(--muted);
	font-size: 13px;
	line-height: 1.55;
	padding: 0 16px 15px;
	max-width: 900px;
}

@media (max-width: 980px) {
	.help-layout,
	.help-search-card {
		grid-template-columns: 1fr;
	}

	.help-sidebar {
		position: static;
		display: flex;
		flex-wrap: wrap;
		gap: 6px;
	}

	.help-sidebar a {
		background: #f7faff;
	}

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

@media (max-width: 640px) {
	.header-icon-button {
		width: 34px;
		height: 34px;
	}

	.help-step-grid {
		grid-template-columns: 1fr;
	}
}

/* forced header help + notification buttons */
.header-quick-icons {
	display: inline-flex !important;
	align-items: center !important;
	gap: 8px !important;
	margin-left: 8px !important;
	margin-right: 2px !important;
	flex: 0 0 auto !important;
}

.header-icon-button {
	width: 36px !important;
	height: 36px !important;
	min-width: 36px !important;
	border-radius: 999px !important;
	border: 1px solid #c9d7e8 !important;
	background: #ffffff !important;
	color: #032d60 !important;
	display: inline-grid !important;
	place-items: center !important;
	text-decoration: none !important;
	font-size: 16px !important;
	font-weight: 950 !important;
	line-height: 1 !important;
	box-shadow: 0 8px 18px rgba(3, 45, 96, .08) !important;
	cursor: pointer !important;
	position: relative !important;
	padding: 0 !important;
}

.header-icon-button:hover {
	background: #eef6ff !important;
	border-color: #9bc8ff !important;
}

.help-icon-button {
	font-size: 18px !important;
}

.notification-bell-button {
	font-size: 15px !important;
}

.bell-glyph {
	display: block !important;
	font-size: 15px !important;
	line-height: 1 !important;
}

.notification-dot {
	position: absolute !important;
	top: 6px !important;
	right: 6px !important;
	width: 8px !important;
	height: 8px !important;
	border-radius: 50% !important;
	background: #ba0517 !important;
	border: 2px solid #ffffff !important;
}

@media (max-width: 820px) {
	.header-quick-icons {
		gap: 6px !important;
		margin-left: 4px !important;
	}

	.header-icon-button {
		width: 34px !important;
		height: 34px !important;
		min-width: 34px !important;
	}
}

/* notification bell should only show dot when there are real notifications */
.notification-dot {
	display: none !important;
}

.notification-bell-button.has-notifications .notification-dot,
.notification-bell-button[data-has-notifications="true"] .notification-dot {
	display: block !important;
}

.notification-count {
	display: none;
	position: absolute;
	top: -7px;
	right: -7px;
	min-width: 18px;
	height: 18px;
	padding: 0 5px;
	border-radius: 999px;
	background: #ba0517;
	color: #ffffff;
	border: 2px solid #ffffff;
	font-size: 10px;
	font-weight: 950;
	line-height: 14px;
	text-align: center;
}

.notification-bell-button.has-notifications .notification-count,
.notification-bell-button[data-has-notifications="true"] .notification-count {
	display: block;
}

.notification-bell-button.has-notifications .notification-dot,
.notification-bell-button[data-has-notifications="true"] .notification-dot {
	display: none !important;
}

.notifications-card {
	overflow: hidden;
}

.notification-list {
	display: grid;
}

.notification-item {
	display: grid;
	grid-template-columns: 42px minmax(0, 1fr);
	gap: 12px;
	padding: 14px 16px;
	border-top: 1px solid var(--border);
	background: #ffffff;
}

.notification-item.unread {
	background: #f4f9ff;
}

.notification-icon {
	width: 34px;
	height: 34px;
	border-radius: 999px;
	display: grid;
	place-items: center;
	font-size: 15px;
	font-weight: 950;
}

.notification-icon.failed {
	background: #fff1f2;
	color: #ba0517;
	border: 1px solid #fecdd3;
}

.notification-title-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.notification-title-row strong {
	color: var(--blue-dark);
	font-size: 14px;
	font-weight: 950;
}

.notification-title-row span {
	color: var(--muted);
	font-size: 12px;
	white-space: nowrap;
}

.notification-content p {
	color: var(--text);
	font-size: 13px;
	line-height: 1.5;
	margin-top: 5px;
}

.notification-content a {
	display: inline-block;
	color: #0b5ba6;
	font-size: 13px;
	font-weight: 900;
	text-decoration: none;
	margin-top: 7px;
}

.notification-content a:hover {
	text-decoration: underline;
}

@media (max-width: 640px) {
	.notification-title-row {
		align-items: flex-start;
		flex-direction: column;
		gap: 3px;
	}
}

/* setup wizard */
.setup-wizard-overlay {
	position: fixed;
	inset: 0;
	z-index: 9999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
	background: rgba(7, 15, 35, 0.62);
	backdrop-filter: blur(12px);
}

.setup-wizard-overlay.is-hidden {
	display: none;
}

.setup-wizard-modal {
	width: min(520px, 100%);
	border: 1px solid rgba(148, 163, 184, 0.28);
	border-radius: 28px;
	background:
		radial-gradient(circle at top left, rgba(37, 99, 235, 0.18), transparent 34%),
		linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
	box-shadow: 0 30px 90px rgba(15, 23, 42, 0.32);
	padding: 30px;
	color: #0f172a;
}

.setup-wizard-progress {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	margin-bottom: 24px;
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	color: #64748b;
}

.setup-wizard-progress strong {
	color: #2563eb;
	font-weight: 800;
}


.setup-wizard-modal h2 {
	margin: 0 0 12px;
	font-size: clamp(28px, 4vw, 40px);
	line-height: 1.02;
	letter-spacing: -0.055em;
	color: #0f172a;
}

.setup-wizard-modal p {
	margin: 0;
	color: #475569;
	font-size: 16px;
	line-height: 1.65;
}

.setup-wizard-actions {
	display: flex;
	justify-content: flex-end;
	gap: 12px;
	margin-top: 28px;
}

@media (max-width: 640px) {
	.setup-wizard-modal {
		padding: 24px;
		border-radius: 22px;
	}

	.setup-wizard-actions {
		flex-direction: column-reverse;
	}

	.setup-wizard-actions .button {
		width: 100%;
		justify-content: center;
	}
}

.setup-wizard-popover {
	position: fixed;
	z-index: 9998;
	display: none;
	width: min(420px, calc(100vw - 32px));
	border: 1px solid rgba(148, 163, 184, 0.3);
	border-radius: 22px;
	background:
		radial-gradient(circle at top left, rgba(37, 99, 235, 0.12), transparent 36%),
		#ffffff;
	box-shadow: 0 24px 70px rgba(15, 23, 42, 0.24);
	padding: 22px;
	color: #0f172a;
}

.setup-wizard-popover.is-visible {
	display: block;
}

.setup-wizard-popover-arrow {
	position: absolute;
	top: -8px;
	left: var(--setup-wizard-arrow-left, 50%);
	width: 16px;
	height: 16px;
	border-left: 1px solid rgba(148, 163, 184, 0.3);
	border-top: 1px solid rgba(148, 163, 184, 0.3);
	background: #ffffff;
	transform: translateX(-50%) rotate(45deg);
}

.setup-wizard-popover h2 {
	margin: 0 0 10px;
	font-size: 24px;
	line-height: 1.08;
	letter-spacing: -0.04em;
	color: #0f172a;
}

.setup-wizard-popover p {
	margin: 0;
	color: #475569;
	font-size: 15px;
	line-height: 1.6;
}

.setup-wizard-popover .setup-wizard-actions {
	margin-top: 20px;
}


.setup-wizard-blocker {
	position: fixed;
	inset: 0;
	z-index: 9996;
	display: none;
	background: rgba(7, 15, 35, 0.22);
	backdrop-filter: blur(2px);
}

.setup-wizard-blocker.is-visible {
	display: block;
}

body.setup-wizard-guided .app-nav {
	position: relative;
	z-index: 10000;
	pointer-events: none;
}

body.setup-wizard-guided .app-nav a {
	pointer-events: none;
}

body.setup-wizard-guided .app-nav a.setup-wizard-active-target {
	position: relative;
	z-index: 10001;
	pointer-events: auto;
	box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.2), 0 12px 30px rgba(37, 99, 235, 0.24);
}

.setup-wizard-popover {
	z-index: 10002;
}

.setup-wizard-popover.is-above-target .setup-wizard-popover-arrow {
	top: auto;
	bottom: -8px;
	border-left: 0;
	border-top: 0;
	border-right: 1px solid rgba(148, 163, 184, 0.3);
	border-bottom: 1px solid rgba(148, 163, 184, 0.3);
}

body.setup-wizard-guided .setup-wizard-active-target {
	position: relative;
	z-index: 10001;
	pointer-events: none !important;
	box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.2), 0 12px 30px rgba(37, 99, 235, 0.24);
	border-radius: 16px;
}

body.setup-wizard-guided .setup-wizard-active-target.setup-wizard-target-clickable {
	pointer-events: auto !important;
}

body.setup-wizard-guided [data-setup-wizard-add-contact].setup-wizard-active-target {
	background: #ffffff;
	padding: 14px;
	margin: -14px;
}

body.setup-wizard-guided [data-setup-wizard-import-csv].setup-wizard-active-target {
	background: #ffffff;
	padding: 14px;
	margin: -14px;
}

.setup-wizard-popover.is-right-of-target .setup-wizard-popover-arrow {
	top: var(--setup-wizard-arrow-top, 50%);
	left: -8px;
	border-left: 1px solid rgba(148, 163, 184, 0.3);
	border-top: 1px solid rgba(148, 163, 184, 0.3);
	border-right: 0;
	border-bottom: 0;
	transform: translateY(-50%) rotate(-45deg);
}

body.setup-wizard-guided [data-setup-wizard-add-contact].setup-wizard-active-target.setup-wizard-target-clickable {
	pointer-events: auto !important;
}

body.setup-wizard-guided [data-setup-wizard-add-contact].setup-wizard-active-target.setup-wizard-target-clickable * {
	pointer-events: auto !important;
}

body.setup-wizard-guided .setup-wizard-active-target.setup-wizard-selective-target {
	pointer-events: auto !important;
}

body.setup-wizard-guided .setup-wizard-active-target.setup-wizard-selective-target * {
	pointer-events: none !important;
}

body.setup-wizard-guided .setup-wizard-active-target.setup-wizard-selective-target .setup-wizard-allowed-click {
	position: relative;
	z-index: 10004;
	pointer-events: auto !important;
	box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.18);
	border-radius: 10px;
}

body.setup-wizard-guided .setup-wizard-active-target.setup-wizard-selective-target .setup-wizard-allowed-click * {
	pointer-events: auto !important;
}

body.setup-wizard-guided .setup-wizard-active-target.setup-wizard-selective-target .setup-wizard-allowed-click {
	position: relative;
	z-index: 10004;
	pointer-events: auto !important;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: #005fb2 !important;
	font-weight: 800;
	text-decoration: underline;
	text-decoration-thickness: 2px;
	text-underline-offset: 4px;
	background: transparent !important;
	box-shadow: none !important;
	border-radius: 0 !important;
	animation: setup-contact-name-pulse 1.15s ease-in-out infinite;
}

body.setup-wizard-guided .setup-wizard-active-target.setup-wizard-selective-target .setup-wizard-allowed-click::after {
	content: "Click to open";
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #005fb2;
	background: rgba(0, 95, 178, 0.08);
	border: 1px solid rgba(0, 95, 178, 0.22);
	border-radius: 999px;
	padding: 3px 8px;
	animation: setup-contact-label-pulse 1.15s ease-in-out infinite;
}

body.setup-wizard-guided .setup-wizard-active-target.setup-wizard-selective-target tr:has(.setup-wizard-allowed-click) {
	background: linear-gradient(90deg, rgba(0, 95, 178, 0.08), rgba(255, 255, 255, 0));
}

@keyframes setup-contact-name-pulse {
	0%, 100% {
		transform: translateX(0);
		text-shadow: 0 0 0 rgba(0, 95, 178, 0);
	}
	50% {
		transform: translateX(3px);
		text-shadow: 0 0 18px rgba(0, 95, 178, 0.55);
	}
}

@keyframes setup-contact-label-pulse {
	0%, 100% {
		transform: scale(1);
		box-shadow: 0 0 0 rgba(0, 95, 178, 0);
	}
	50% {
		transform: scale(1.04);
		box-shadow: 0 0 18px rgba(0, 95, 178, 0.25);
	}
}

body.setup-wizard-guided .setup-wizard-active-target.setup-wizard-selective-target .setup-wizard-allowed-click {
	animation: setup-contact-name-pulse-subtle 2.4s ease-in-out infinite !important;
	text-shadow: none;
}

body.setup-wizard-guided .setup-wizard-active-target.setup-wizard-selective-target .setup-wizard-allowed-click::after {
	content: none !important;
	display: none !important;
}

body.setup-wizard-guided .setup-wizard-active-target.setup-wizard-selective-target tr:has(.setup-wizard-allowed-click) {
	background: linear-gradient(90deg, rgba(0, 95, 178, 0.045), rgba(255, 255, 255, 0));
}

@keyframes setup-contact-name-pulse-subtle {
	0%, 100% {
		transform: translateX(0);
		text-shadow: 0 0 0 rgba(0, 95, 178, 0);
	}
	50% {
		transform: translateX(1px);
		text-shadow: 0 0 8px rgba(0, 95, 178, 0.25);
	}
}


.setup-wizard-popover.is-left-of-target .setup-wizard-popover-arrow {
	top: var(--setup-wizard-arrow-top, 50%);
	right: -8px;
	left: auto;
	border-right: 1px solid rgba(148, 163, 184, 0.3);
	border-bottom: 1px solid rgba(148, 163, 184, 0.3);
	border-left: 0;
	border-top: 0;
	transform: translateY(-50%) rotate(-45deg);
}

body.setup-wizard-guided [data-setup-wizard-contact-information].setup-wizard-active-target,
body.setup-wizard-guided [data-setup-wizard-contact-notes].setup-wizard-active-target,
body.setup-wizard-guided [data-setup-wizard-contact-campaign-history].setup-wizard-active-target {
	background: #ffffff;
	box-shadow:
		0 0 0 4px rgba(0, 95, 178, 0.28),
		0 24px 80px rgba(15, 23, 42, 0.22);
	border-radius: 16px;
}

body.setup-wizard-guided [data-setup-wizard-contact-campaign-history].setup-wizard-active-target {
	padding: 10px;
	margin: -10px;
}


body.setup-wizard-guided [data-setup-wizard-new-campaign].setup-wizard-active-target {
	background: #ffffff;
	padding: 14px;
	margin: -14px;
	box-shadow:
		0 0 0 4px rgba(0, 95, 178, 0.28),
		0 24px 80px rgba(15, 23, 42, 0.22);
	border-radius: 16px;
}


body.setup-wizard-guided [data-setup-wizard-delivery-jobs].setup-wizard-active-target {
	background: #ffffff;
	padding: 14px;
	margin: -14px;
	box-shadow:
		0 0 0 4px rgba(0, 95, 178, 0.28),
		0 24px 80px rgba(15, 23, 42, 0.22);
	border-radius: 16px;
}


body.setup-wizard-guided [data-setup-wizard-delivery-jobs].setup-wizard-active-target {
	margin-top: var(--setup-wizard-target-offset-top, 300px) !important;
	margin-right: -14px !important;
	margin-bottom: -14px !important;
	margin-left: -14px !important;
	transition: margin-top 180ms ease;
}

.campaign-channel-tabs-card {
	background: #ffffff;
	border: 1px solid var(--border);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	margin-bottom: 16px;
	padding: 10px;
}

.campaign-channel-tabs {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 8px;
}

.campaign-channel-tabs button {
	border: 1px solid var(--border);
	background: #fbfcfe;
	color: var(--blue-dark);
	border-radius: 10px;
	min-height: 68px;
	padding: 10px 12px;
	display: grid;
	align-content: center;
	gap: 3px;
	cursor: pointer;
	text-align: left;
}

.campaign-channel-tabs button span {
	font-size: 16px;
	font-weight: 950;
}

.campaign-channel-tabs button em {
	color: var(--muted);
	font-size: 12px;
	font-style: normal;
	font-weight: 800;
}

.campaign-channel-tabs button.active {
	background: linear-gradient(135deg, #032d60, #0b5ba6);
	border-color: #032d60;
	color: #ffffff;
	box-shadow: 0 12px 24px rgba(3, 45, 96, .16);
}

.campaign-channel-tabs button.active em {
	color: rgba(255,255,255,.78);
}

.campaign-channel-panel {
	display: none;
}

.campaign-channel-panel.active {
	display: block;
}

.channel-coming-soon-card {
	padding: 18px;
}

.channel-coming-soon-content {
	display: grid;
	grid-template-columns: 64px minmax(0, 1fr);
	gap: 14px;
	align-items: center;
}

.channel-coming-soon-content h2 {
	color: var(--blue-dark);
	font-size: 24px;
	font-weight: 950;
	margin: 0;
}

.channel-coming-soon-content p {
	color: var(--muted);
	font-size: 14px;
	line-height: 1.55;
	margin-top: 5px;
	max-width: 860px;
}

.channel-icon {
	width: 58px;
	height: 58px;
	border-radius: 16px;
	display: grid;
	place-items: center;
	color: #ffffff;
	font-size: 13px;
	font-weight: 950;
	box-shadow: 0 12px 24px rgba(3, 45, 96, .16);
}

.channel-icon.sms {
	background: linear-gradient(135deg, #0b5ba6, #4aa3ff);
}

.channel-icon.postcards {
	background: linear-gradient(135deg, #7c3aed, #c084fc);
}

.channel-icon.emails {
	background: linear-gradient(135deg, #0f7b5f, #55d6a7);
}

.channel-feature-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
	margin-top: 18px;
}

.channel-feature-grid div {
	border: 1px solid var(--border);
	background: #fbfcfe;
	border-radius: var(--radius);
	padding: 14px;
}

.channel-feature-grid strong {
	display: block;
	color: var(--blue-dark);
	font-size: 14px;
	font-weight: 950;
}

.channel-feature-grid span {
	display: block;
	color: var(--muted);
	font-size: 13px;
	line-height: 1.45;
	margin-top: 5px;
}

.channel-staged-actions {
	margin-top: 18px;
	display: flex;
	justify-content: flex-end;
}

@media (max-width: 860px) {
	.campaign-channel-tabs {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.channel-feature-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 560px) {
	.campaign-channel-tabs {
		grid-template-columns: 1fr;
	}

	.channel-coming-soon-content {
		grid-template-columns: 1fr;
	}
}

/* basic campaign tabs */
.campaign-basic-tabs-wrap {
	margin: 0 0 16px;
	border-bottom: 1px solid var(--border);
}

.campaign-basic-tabs {
	display: flex;
	align-items: flex-end;
	gap: 2px;
}

.campaign-basic-tabs button {
	border: 1px solid var(--border);
	border-bottom: 0;
	background: #ffffff;
	color: var(--text);
	min-height: 42px;
	padding: 0 20px;
	border-radius: 6px 6px 0 0;
	font-size: 14px;
	font-weight: 900;
	cursor: pointer;
	box-shadow: none;
}

.campaign-basic-tabs button:hover {
	background: #f7faff;
	color: var(--blue-dark);
}

.campaign-basic-tabs button.active {
	background: #ffffff;
	color: var(--blue-dark);
	border-top: 3px solid #0176d3;
	position: relative;
	top: 1px;
}

.campaign-channel-tabs-card,
.campaign-channel-tabs {
	display: none !important;
}

.campaign-channel-panel {
	display: none;
}

.campaign-channel-panel.active {
	display: block;
}

.simple-channel-panel {
	min-height: 180px;
}

.channel-coming-soon-card,
.channel-coming-soon-content,
.channel-feature-grid,
.channel-staged-actions,
.channel-icon {
	all: unset;
}

@media (max-width: 640px) {
	.campaign-basic-tabs {
		overflow-x: auto;
	}

	.campaign-basic-tabs button {
		white-space: nowrap;
	}
}

/* global search */
.global-search {
	position: relative;
	display: block;
}

.global-search input {
	width: 100%;
}

.global-search-dropdown {
	position: absolute;
	top: calc(100% + 8px);
	left: 0;
	right: 0;
	background: #ffffff;
	border: 1px solid var(--border);
	border-radius: 10px;
	box-shadow: 0 18px 40px rgba(3, 45, 96, .18);
	z-index: 8000;
	overflow: hidden;
	display: none;
}

.global-search-dropdown.open {
	display: block;
}

.global-search-result {
	display: grid;
	grid-template-columns: 88px minmax(0, 1fr);
	gap: 10px;
	padding: 11px 12px;
	border-bottom: 1px solid var(--border);
	text-decoration: none;
	color: var(--text);
}

.global-search-result:last-child {
	border-bottom: 0;
}

.global-search-result:hover,
.global-search-result.active {
	background: #eef6ff;
}

.global-search-result-type,
.search-result-type {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 999px;
	background: #eef6ff;
	color: #0b5ba6;
	font-size: 11px;
	font-weight: 950;
	min-height: 24px;
	padding: 0 8px;
	white-space: nowrap;
}

.global-search-result strong,
.search-result-row strong {
	display: block;
	color: var(--blue-dark);
	font-size: 13px;
	font-weight: 950;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.global-search-result p,
.search-result-row p {
	color: var(--muted);
	font-size: 12px;
	line-height: 1.35;
	margin-top: 2px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.global-search-result em,
.search-result-row em {
	display: block;
	color: #5f6f85;
	font-size: 12px;
	font-style: normal;
	line-height: 1.35;
	margin-top: 3px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.global-search-empty {
	padding: 13px;
	color: var(--muted);
	font-size: 13px;
	font-weight: 800;
}

.global-search-footer {
	display: block;
	padding: 10px 12px;
	background: #f7faff;
	color: var(--blue-dark);
	font-size: 13px;
	font-weight: 950;
	text-align: center;
	text-decoration: none;
	border-top: 1px solid var(--border);
}

.search-page-card {
	overflow: hidden;
}

.search-page-form {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 10px;
	padding: 12px;
	border-bottom: 1px solid var(--border);
}

.search-page-form input {
	width: 100%;
	border: 1px solid var(--border);
	border-radius: 8px;
	min-height: 40px;
	padding: 0 12px;
	font-size: 14px;
}

.search-page-results {
	display: grid;
}

.search-result-row {
	display: grid;
	grid-template-columns: 120px minmax(0, 1fr);
	gap: 12px;
	padding: 14px 16px;
	border-top: 1px solid var(--border);
	text-decoration: none;
	color: var(--text);
}

.search-result-row:hover {
	background: #eef6ff;
}

@media (max-width: 760px) {
	.global-search-result,
	.search-result-row {
		grid-template-columns: 1fr;
	}

	.global-search-result-type,
	.search-result-type {
		justify-self: start;
	}

	.search-page-form {
		grid-template-columns: 1fr;
	}
}

/* complete landing additions */
.channel-suite-grid {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 12px;
}

.channel-suite-card {
	background: #ffffff;
	border: 1px solid #dfe8f4;
	border-radius: 16px;
	padding: 18px;
	box-shadow: 0 10px 24px rgba(3, 45, 96, .055);
	min-height: 210px;
}

.channel-suite-card.primary {
	background: linear-gradient(135deg, #032d60, #0b5ba6);
	border-color: #032d60;
	color: #ffffff;
}

.channel-suite-card span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 34px;
	height: 26px;
	border-radius: 999px;
	background: #eef6ff;
	color: #0b5ba6;
	font-size: 12px;
	font-weight: 950;
}

.channel-suite-card.primary span {
	background: rgba(255,255,255,.16);
	color: #ffffff;
}

.channel-suite-card h3 {
	color: #032d60;
	font-size: 20px;
	font-weight: 950;
	line-height: 1.1;
	margin-top: 18px;
}

.channel-suite-card.primary h3 {
	color: #ffffff;
}

.channel-suite-card p {
	color: #66758a;
	font-size: 13px;
	line-height: 1.52;
	margin-top: 9px;
}

.channel-suite-card.primary p {
	color: rgba(255,255,255,.78);
}

.automation-flow-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 14px;
}

.pricing-preview-grid,
.faq-preview-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
}

.pricing-preview-card,
.faq-preview-grid div {
	background: #ffffff;
	border: 1px solid #dfe8f4;
	border-radius: 16px;
	padding: 18px;
	box-shadow: 0 10px 24px rgba(3, 45, 96, .055);
}

.pricing-preview-card.featured {
	border-color: #9bc8ff;
	background: #eff7ff;
	box-shadow: 0 16px 34px rgba(11, 91, 166, .12);
}

.pricing-preview-card span {
	display: inline-flex;
	border-radius: 999px;
	background: #eef6ff;
	color: #0b5ba6;
	padding: 6px 9px;
	font-size: 11px;
	font-weight: 950;
	text-transform: uppercase;
	letter-spacing: .06em;
}

.pricing-preview-card h3,
.faq-preview-grid strong {
	display: block;
	color: #032d60;
	font-size: 18px;
	font-weight: 950;
	line-height: 1.15;
	margin-top: 14px;
}

.pricing-preview-card p,
.faq-preview-grid p {
	color: #66758a;
	font-size: 13px;
	line-height: 1.52;
	margin-top: 8px;
}

.center-actions {
	display: flex;
	justify-content: center;
	margin-top: 22px;
}

.footer-badges-v2 {
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
	margin-top: 16px;
}

.footer-badges-v2 span {
	border: 1px solid rgba(255,255,255,.18);
	background: rgba(255,255,255,.07);
	border-radius: 999px;
	padding: 6px 9px;
	font-size: 11px;
	font-weight: 850;
	color: rgba(255,255,255,.82);
}

@media (max-width: 1120px) {
	.channel-suite-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.channel-suite-card.primary {
		grid-column: span 2;
	}

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

@media (max-width: 860px) {
	.pricing-preview-grid,
	.faq-preview-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 640px) {
	.channel-suite-grid,
	.automation-flow-grid {
		grid-template-columns: 1fr;
	}

	.channel-suite-card.primary {
		grid-column: auto;
	}
}

/* landing automation type section */
.automation-type-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 14px;
}

.automation-type-card {
	background: #ffffff;
	border: 1px solid #dfe8f4;
	border-radius: 16px;
	padding: 18px;
	box-shadow: 0 10px 24px rgba(3, 45, 96, .055);
}

.automation-type-card.full {
	grid-column: 1 / -1;
	background: linear-gradient(135deg, #f7fbff, #ffffff);
	border-color: #cfe3ff;
}

.automation-type-icon {
	width: 54px;
	height: 54px;
	border-radius: 15px;
	display: grid;
	place-items: center;
	background: linear-gradient(135deg, #032d60, #0b5ba6);
	color: #ffffff;
	font-size: 12px;
	font-weight: 950;
	letter-spacing: .04em;
	box-shadow: 0 12px 24px rgba(3, 45, 96, .16);
	margin-bottom: 15px;
}

.automation-type-card h3 {
	color: #032d60;
	font-size: 20px;
	font-weight: 950;
	line-height: 1.1;
	margin: 0;
}

.automation-type-card p {
	color: #66758a;
	font-size: 13px;
	line-height: 1.55;
	margin-top: 10px;
}

.automation-type-card ul {
	display: grid;
	gap: 7px;
	margin: 14px 0 0;
	padding-left: 18px;
}

.automation-type-card li {
	color: #42526a;
	font-size: 13px;
	line-height: 1.4;
}

@media (max-width: 1120px) {
	.automation-type-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 640px) {
	.automation-type-grid {
		grid-template-columns: 1fr;
	}

	.automation-type-card.full {
		grid-column: auto;
	}
}

/* legal pages */
.legal-page {
	background: #f4f7fb;
	min-height: 100vh;
}

.legal-hero {
	position: relative;
	
	background:
		radial-gradient(circle at top left, rgba(1, 118, 211, .22), transparent 34%),
		linear-gradient(135deg, #032d60 0%, #0b5ba6 100%);
	color: #ffffff;
	overflow: hidden;
}

.legal-hero h1 {
	font-size: clamp(42px, 6vw, 74px);
	line-height: .95;
	letter-spacing: -0.05em;
	font-weight: 950;
	max-width: 920px;
	margin-top: 12px;
}

.legal-hero p {
	color: rgba(255,255,255,.82);
	font-size: 18px;
	line-height: 1.55;
	max-width: 860px;
	margin-top: 18px;
}

.legal-content-section {
	padding: 36px 0 64px;
}

.legal-layout {
	display: grid;
	grid-template-columns: 250px minmax(0, 1fr);
	gap: 24px;
	align-items: start;
}

.legal-sidebar {
	position: sticky;
	top: 88px;
	background: #ffffff;
	border: 1px solid #dfe8f4;
	border-radius: 16px;
	box-shadow: 0 10px 24px rgba(3, 45, 96, .055);
	padding: 10px;
	display: grid;
	gap: 2px;
}

.legal-sidebar a {
	display: block;
	border-radius: 10px;
	padding: 10px 12px;
	color: #42526a;
	text-decoration: none;
	font-size: 13px;
	font-weight: 900;
}

.legal-sidebar a:hover {
	background: #eef6ff;
	color: #032d60;
}

.legal-main {
	display: grid;
	gap: 16px;
}

.legal-group {
	background: #ffffff;
	border: 1px solid #dfe8f4;
	border-radius: 16px;
	box-shadow: 0 10px 24px rgba(3, 45, 96, .055);
	padding: 24px;
	scroll-margin-top: 100px;
}

.legal-group h2 {
	color: #032d60;
	font-size: 24px;
	font-weight: 950;
	line-height: 1.15;
	letter-spacing: -0.02em;
	margin: 0 0 12px;
}

.legal-group p {
	color: #42526a;
	font-size: 14px;
	line-height: 1.72;
	margin-top: 10px;
}

.legal-group ul {
	margin: 12px 0 0;
	padding-left: 20px;
	display: grid;
	gap: 8px;
}

.legal-group li {
	color: #42526a;
	font-size: 14px;
	line-height: 1.55;
}


@media (max-width: 920px) {
	.legal-layout {
		grid-template-columns: 1fr;
	}

	.legal-sidebar {
		position: static;
		display: flex;
		flex-wrap: wrap;
	}

	.legal-sidebar a {
		background: #f7faff;
	}
}

/* make legal pages full-bleed like the landing page */
body:has(.legal-page) .public-shell,
.public-shell:has(.legal-page) {
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

body:has(.legal-page) .legal-page {
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

body:has(.legal-page) .marketing-footer-v2 {
	margin-left: 0 !important;
	margin-right: 0 !important;
	width: 100% !important;
	max-width: none !important;
}

/* mobile header improvements only */
@media (max-width: 760px) {
	.topbar,
	.public-topbar,
	.app-topbar,
	.site-header,
	.public-header {
		min-height: auto !important;
		padding: 10px 12px !important;
		gap: 10px !important;
		align-items: stretch !important;
		flex-wrap: wrap !important;
	}

	.topbar .brand,
	.public-topbar .brand,
	.app-topbar .brand,
	.site-header .brand,
	.public-header .brand,
	header .brand {
		flex: 1 1 auto !important;
		min-width: 0 !important;
	}

	header .brand img,
	.topbar .brand img,
	.public-topbar .brand img,
	.app-topbar .brand img {
		max-height: 34px !important;
		width: auto !important;
	}

	header .brand span,
	header .brand strong,
	.topbar .brand span,
	.topbar .brand strong {
		font-size: 18px !important;
		white-space: nowrap !important;
		overflow: hidden !important;
		text-overflow: ellipsis !important;
	}

	.global-search {
		order: 20 !important;
		flex: 1 0 100% !important;
		width: 100% !important;
		max-width: none !important;
		margin: 0 !important;
	}

	.global-search input {
		width: 100% !important;
		height: 40px !important;
		min-height: 40px !important;
		font-size: 14px !important;
		border-radius: 10px !important;
	}

	.global-search-dropdown {
		position: absolute !important;
		left: 0 !important;
		right: 0 !important;
		width: 100% !important;
		max-height: 70vh !important;
		overflow: auto !important;
	}

	.header-actions,
	.topbar-actions,
	.public-actions,
	.nav-actions,
	.app-actions {
		display: flex !important;
		align-items: center !important;
		justify-content: flex-end !important;
		gap: 8px !important;
		flex: 0 0 auto !important;
		margin-left: auto !important;
	}

	header nav,
	.topbar nav,
	.public-topbar nav,
	.app-topbar nav,
	.site-header nav,
	.public-header nav {
		order: 30 !important;
		flex: 1 0 100% !important;
		width: 100% !important;
		display: flex !important;
		gap: 6px !important;
		overflow-x: auto !important;
		-webkit-overflow-scrolling: touch !important;
		padding: 2px 0 0 !important;
		scrollbar-width: none !important;
	}

	header nav::-webkit-scrollbar,
	.topbar nav::-webkit-scrollbar,
	.public-topbar nav::-webkit-scrollbar,
	.app-topbar nav::-webkit-scrollbar,
	.site-header nav::-webkit-scrollbar,
	.public-header nav::-webkit-scrollbar {
		display: none !important;
	}

	header nav a,
	.topbar nav a,
	.public-topbar nav a,
	.app-topbar nav a,
	.site-header nav a,
	.public-header nav a {
		flex: 0 0 auto !important;
		white-space: nowrap !important;
		min-height: 34px !important;
		padding: 8px 10px !important;
		border-radius: 999px !important;
		font-size: 13px !important;
	}

	header .button,
	.topbar .button,
	.public-topbar .button,
	.app-topbar .button,
	.site-header .button,
	.public-header .button {
		min-height: 34px !important;
		padding: 8px 10px !important;
		font-size: 13px !important;
		white-space: nowrap !important;
	}

	.notification-popover,
	.help-popover,
	.user-menu {
		right: 0 !important;
		left: auto !important;
		max-width: calc(100vw - 24px) !important;
	}
}

@media (max-width: 480px) {
	.topbar,
	.public-topbar,
	.app-topbar,
	.site-header,
	.public-header {
		padding: 8px 10px !important;
	}

	header .brand span,
	header .brand strong,
	.topbar .brand span,
	.topbar .brand strong {
		font-size: 16px !important;
	}

	header nav,
	.topbar nav,
	.public-topbar nav,
	.app-topbar nav,
	.site-header nav,
	.public-header nav {
		gap: 5px !important;
	}

	header nav a,
	.topbar nav a,
	.public-topbar nav a,
	.app-topbar nav a,
	.site-header nav a,
	.public-header nav a {
		font-size: 12px !important;
		padding: 7px 9px !important;
	}

	.global-search input {
		height: 38px !important;
		min-height: 38px !important;
	}

	.header-actions,
	.topbar-actions,
	.public-actions,
	.nav-actions,
	.app-actions {
		gap: 6px !important;
	}
}

/* fix cramped/spread mobile app header */
@media (max-width: 760px) {
	body:not(.public-body) .topbar {
		display: grid !important;
		grid-template-columns: auto auto minmax(0, 1fr) auto auto auto auto !important;
		align-items: center !important;
		column-gap: 10px !important;
		row-gap: 10px !important;
		padding: 10px 12px !important;
		min-height: 64px !important;
		flex-wrap: nowrap !important;
	}

	body:not(.public-body) .topbar .app-launcher-btn,
	body:not(.public-body) .topbar .app-launcher,
	body:not(.public-body) .topbar [data-app-launcher],
	body:not(.public-body) .topbar .brand,
	body:not(.public-body) .topbar .ai-assistant-button,
	body:not(.public-body) .topbar .help-button,
	body:not(.public-body) .topbar .notification-button {
		margin: 0 !important;
		flex: none !important;
	}

	body:not(.public-body) .topbar .brand {
		min-width: 0 !important;
		width: auto !important;
		justify-self: start !important;
	}

	body:not(.public-body) .topbar .brand img {
		max-height: 30px !important;
		width: auto !important;
	}

	body:not(.public-body) .topbar .brand span,
	body:not(.public-body) .topbar .brand strong {
		font-size: 17px !important;
		line-height: 1 !important;
	}

	body:not(.public-body) .topbar .global-search {
		grid-column: 1 / -1 !important;
		grid-row: 2 !important;
		width: 100% !important;
		max-width: none !important;
		margin: 0 !important;
		order: unset !important;
	}

	body:not(.public-body) .topbar .global-search input {
		width: 100% !important;
		height: 38px !important;
		min-height: 38px !important;
		border-radius: 10px !important;
	}

	body:not(.public-body) .topbar .ai-assistant-button,
	body:not(.public-body) .topbar .ai-button,
	body:not(.public-body) .topbar [data-ai-toggle] {
		width: 44px !important;
		height: 44px !important;
		min-width: 44px !important;
		padding: 0 !important;
		border-radius: 9px !important;
		display: grid !important;
		place-items: center !important;
		overflow: hidden !important;
	}

	body:not(.public-body) .topbar .ai-assistant-button span:not(:first-child),
	body:not(.public-body) .topbar .ai-button span:not(:first-child),
	body:not(.public-body) .topbar [data-ai-toggle] span:not(:first-child),
	body:not(.public-body) .topbar .ai-assistant-button strong,
	body:not(.public-body) .topbar .ai-button strong,
	body:not(.public-body) .topbar [data-ai-toggle] strong {
		display: none !important;
	}

	body:not(.public-body) .topbar .help-button,
	body:not(.public-body) .topbar .notification-button,
	body:not(.public-body) .topbar .help-circle,
	body:not(.public-body) .topbar .notification-circle {
		width: 44px !important;
		height: 44px !important;
		min-width: 44px !important;
		border-radius: 50% !important;
		display: grid !important;
		place-items: center !important;
	}

	body:not(.public-body) .topbar nav {
		grid-column: 1 / -1 !important;
		width: 100% !important;
		display: flex !important;
		overflow-x: auto !important;
		gap: 6px !important;
		padding-top: 2px !important;
		scrollbar-width: none !important;
	}

	body:not(.public-body) .topbar nav::-webkit-scrollbar {
		display: none !important;
	}
}

@media (max-width: 520px) {
	body:not(.public-body) .topbar {
		grid-template-columns: auto auto minmax(0, 1fr) auto auto auto auto !important;
		column-gap: 7px !important;
		padding: 8px !important;
	}

	body:not(.public-body) .topbar .brand img {
		max-height: 27px !important;
	}

	body:not(.public-body) .topbar .brand span,
	body:not(.public-body) .topbar .brand strong {
		font-size: 15px !important;
	}

	body:not(.public-body) .topbar .ai-assistant-button,
	body:not(.public-body) .topbar .ai-button,
	body:not(.public-body) .topbar [data-ai-toggle],
	body:not(.public-body) .topbar .help-button,
	body:not(.public-body) .topbar .notification-button,
	body:not(.public-body) .topbar .help-circle,
	body:not(.public-body) .topbar .notification-circle {
		width: 40px !important;
		height: 40px !important;
		min-width: 40px !important;
	}

}

/* final mobile app header fix - actual header classes */
@media (max-width: 820px) {
	.global-header {
		height: auto !important;
		min-height: 58px !important;
		display: grid !important;
		grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) !important;
		align-items: center !important;
		gap: 8px !important;
		padding: 8px 10px !important;
		position: sticky !important;
		top: 0 !important;
	}

	.global-left {
		grid-column: 1 / 3 !important;
		display: grid !important;
		grid-template-columns: minmax(0, 1fr) auto !important;
		align-items: center !important;
		gap: 8px !important;
		min-width: 0 !important;
		width: 100% !important;
	}

	.app-launcher-wrap {
		grid-column: 1 !important;
		justify-self: start !important;
	}

	.global-left .brand {
		grid-column: 2 !important;
		justify-self: center !important;
	}

	.global-actions {
		grid-column: 3 !important;
		display: flex !important;
		align-items: center !important;
		justify-content: flex-end !important;
		gap: 8px !important;
		min-width: 0 !important;
		width: auto !important;
	}

	.global-search {
		grid-area: search !important;
		display: none !important;
		width: 100% !important;
		max-width: none !important;
		margin: 0 !important;
		order: unset !important;
	}

	.app-launcher {
		width: 36px !important;
		height: 36px !important;
		min-width: 36px !important;
		border-radius: 7px !important;
	}

	.brand {
		min-width: 0 !important;
		width: auto !important;
		max-width: 128px !important;
		overflow: hidden !important;
	}

	.brand-logo {
		width: 94px !important;
		max-width: 94px !important;
		height: auto !important;
	}

	.ai-header-button {
		width: 42px !important;
		height: 42px !important;
		min-width: 42px !important;
		padding: 0 !important;
		display: grid !important;
		place-items: center !important;
		border-radius: 8px !important;
		font-size: 0 !important;
		gap: 0 !important;
	}

	.ai-header-button .ai-dot {
		width: 22px !important;
		height: 22px !important;
		border-radius: 8px !important;
		margin: 0 !important;
		font-size: 0 !important;
	}

	.icon-button {
		width: 42px !important;
		height: 42px !important;
		min-width: 42px !important;
		display: grid !important;
		place-items: center !important;
	}

	.app-nav {
		display: none !important;
	}

	.page-shell {
		padding-top: 12px !important;
	}
}

@media (max-width: 520px) {
	.global-header {
		grid-template-columns: auto 1fr !important;
		gap: 7px !important;
		padding: 8px !important;
	}

	.global-left {
		gap: 7px !important;
	}

	.global-actions {
		gap: 6px !important;
	}

	.app-launcher {
		width: 34px !important;
		height: 34px !important;
		min-width: 34px !important;
	}

	.brand {
		max-width: 104px !important;
	}

	.brand-logo {
		width: 86px !important;
		max-width: 86px !important;
	}

	.ai-header-button,
	.icon-button {
		width: 38px !important;
		height: 38px !important;
		min-width: 38px !important;
	}
}

@media (max-width: 390px) {
	.brand-logo {
		width: 74px !important;
		max-width: 74px !important;
	}

	.global-actions {
		gap: 5px !important;
	}

	.ai-header-button,
	.icon-button {
		width: 36px !important;
		height: 36px !important;
		min-width: 36px !important;
	}
}

/* keep AI assistant button visible when panel is open */
.ai-header-button,
.ai-header-button[aria-expanded="true"],
body.ai-panel-open .ai-header-button {
	opacity: 1 !important;
	visibility: visible !important;
	pointer-events: auto !important;
}

.ai-header-button[aria-expanded="true"],
body.ai-panel-open .ai-header-button {
	background: #ffffff !important;
	border-color: #9bc8ff !important;
	color: var(--blue-dark) !important;
	box-shadow: 0 0 0 3px rgba(1, 118, 211, .14) !important;
}

.ai-header-button[aria-expanded="true"] .ai-dot,
body.ai-panel-open .ai-header-button .ai-dot {
	background: linear-gradient(135deg, #0b5ba6, #4aa3ff) !important;
	color: #ffffff !important;
	opacity: 1 !important;
	visibility: visible !important;
}

/* small screens: do not let the AI panel cover the header button */
@media (max-width: 820px) {
	body.ai-panel-open .global-header {
		position: sticky !important;
		top: 0 !important;
		z-index: 90 !important;
	}

	body.ai-panel-open .ai-panel {
		top: 58px !important;
		bottom: auto !important;
		height: calc(100dvh - 58px) !important;
		z-index: 80 !important;
	}
}

@media (max-width: 520px) {
	body.ai-panel-open .ai-panel {
		top: 54px !important;
		height: calc(100dvh - 54px) !important;
	}
}

/* hide AI Assistant button while active/open */
.ai-header-button[aria-expanded="true"],
body.ai-panel-open .ai-header-button {
	display: none !important;
	opacity: 0 !important;
	visibility: hidden !important;
	pointer-events: none !important;
}

/* remove landing page background grid */
.landing-hero-bg {
	display: none !important;
	background: none !important;
	background-image: none !important;
}

/* Password visibility toggle */
.password-input-wrap {
	position: relative;
	display: block;
	width: 100%;
	margin-top: 6px;
}

.password-input-wrap input {
	width: 100%;
	padding-right: 46px;
}

.password-toggle {
	position: absolute;
	right: 10px;
	top: 50%;
	width: 32px;
	height: 32px;
	border: 0;
	border-radius: 8px;
	background: transparent;
	color: #64748b;
	cursor: pointer;
	display: grid;
	place-items: center;
	transform: translateY(-50%);
}

.password-toggle:hover {
	background: rgba(15, 23, 42, 0.06);
	color: #0f172a;
}

.password-icon {
	width: 18px;
	height: 18px;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.password-icon-hide {
	display: none;
}

.password-toggle.is-visible .password-icon-show {
	display: none;
}

.password-toggle.is-visible .password-icon-hide {
	display: block;
}


/* Campaign table actions: fixed width so dropdown rows stay aligned */
.data-table th.actions-col,
.data-table td.actions-col {
        width: 190px;
        min-width: 190px;
        max-width: 190px;
        text-align: right;
        vertical-align: middle;
        white-space: nowrap;
}

.campaign-action-form {
        display: inline-flex;
        align-items: center;
        justify-content: flex-end;
        gap: 8px;
        width: 178px;
        min-width: 178px;
        max-width: 178px;
        margin: 0;
}

.campaign-action-form select {
        width: 118px !important;
        min-width: 118px !important;
        max-width: 118px !important;
        height: 34px;
        min-height: 34px;
        padding-top: 0;
        padding-bottom: 0;
}

.campaign-action-form .button.small {
        width: 52px;
        min-width: 52px;
        max-width: 52px;
        height: 34px;
        min-height: 34px;
        padding: 0;
        display: inline-flex;
        align-items: center;
        justify-content: center;
}



/* Campaign action spacing correction */
.data-table td.actions-col {
        padding-right: 16px;
}

.campaign-action-form {
        width: 178px !important;
        min-width: 178px !important;
        max-width: 178px !important;
        padding-right: 0 !important;
        box-sizing: border-box;
}

.campaign-action-form .button.small {
        margin-right: 8px;
}

/* Campaign create page - compact Salesforce-style layout */
.campaigns-hero {
	min-height: 72px;
	padding: 12px 18px;
	margin-bottom: 12px;
}

.campaign-create-card {
	margin-bottom: 14px;
}

.campaign-create-header {
	min-height: 48px;
	padding: 10px 14px;
	background: #ffffff;
}

.campaign-create-header h2 {
	font-size: 17px;
}

.campaign-create-header p {
	font-size: 13px;
}

.campaign-compact-form {
	padding: 0;
	gap: 0;
}

.campaign-workspace {
	display: grid;
	gap: 12px;
	align-items: start;
	padding: 12px;
}

.campaign-main-panel {
	display: grid;
	gap: 12px;
	min-width: 0;
}

.campaign-panel {
	border: 1px solid var(--border);
	background: #ffffff;
	border-radius: var(--radius);
	overflow: hidden;
	min-width: 0;
}

.campaign-panel-header {
	min-height: 36px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding: 8px 10px;
	border-bottom: 1px solid var(--border);
	background: #f3f3f3;
}

.campaign-panel-header strong {
	color: var(--blue-dark);
	font-size: 13px;
	font-weight: 900;
}

.campaign-panel-body {
	display: grid;
	gap: 10px;
	padding: 10px;
}

.campaign-detail-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 220px 260px;
	gap: 10px;
}

.campaign-delivery-grid {
	display: grid;
	grid-template-columns: 150px 130px minmax(150px, 1fr) minmax(160px, 1fr) 170px;
	gap: 10px;
	align-items: end;
}

.campaign-delivery-grid .schedule-active-row {
	min-height: 34px;
	align-items: center;
	padding: 0 2px;
}

.campaign-notes-field {
	min-height: 64px;
}

.campaign-compact-help {
	color: var(--muted);
	font-size: 12px;
	line-height: 1.35;
}

.campaign-audio-panel {
	display: block;
	min-width: 0;
}

.campaign-audio-header .badge {
	min-height: 20px;
	padding: 1px 8px;
	font-size: 11px;
}

.audio-option-stack {
	gap: 8px;
}

.audio-option-card {
	display: grid;
	gap: 8px;
	border: 1px solid var(--border);
	background: #fbfcfe;
	border-radius: var(--radius);
	padding: 9px;
}

.audio-option-title {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 10px;
}

.audio-option-title strong {
	color: var(--blue-dark);
	font-size: 13px;
	font-weight: 900;
}

.audio-option-title span {
	color: var(--muted);
	font-size: 12px;
	font-weight: 700;
	text-align: right;
}

.audio-option-card label {
	gap: 5px;
}

.audio-option-card input[type="file"] {
	padding: 5px;
	min-height: 32px;
	font-size: 12px;
}

.audio-option-card input[type="text"],
.audio-option-card input[name="audio_url"] {
	min-height: 32px;
}

.audio-option-card .recorder-actions {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 6px;
}

.audio-option-card .button.secondary {
	min-height: 30px;
	padding: 0 8px;
	font-size: 12px;
}

.campaign-audio-panel audio {
	width: 100%;
	margin-top: 2px;
}

.campaign-save-panel {
	display: flex;
	justify-content: center;
	padding: 10px 0 0;
}

.campaign-save-button {
	min-width: 180px;
	min-height: 36px;
}

@media (max-width: 1180px) {
	.audio-option-stack {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		align-items: start;
	}

	.campaign-save-button {
		width: auto;
	}
}

@media (max-width: 920px) {
	.campaigns-hero {
		min-height: auto;
	}

	.campaign-workspace,
	.campaign-panel-body {
		padding: 10px;
	}

	.campaign-detail-grid,
	.campaign-delivery-grid,
	.audio-option-stack {
		grid-template-columns: 1fr;
	}

	.audio-option-card .recorder-actions {
		grid-template-columns: 1fr;
	}

}

.voicemail-script-field {
	display: grid;
	gap: 6px;
}

.script-label-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
}

.script-label-row label {
	display: block;
	color: #444;
	font-size: 12px;
	font-weight: 800;
}

.script-ai-status {
	display: inline-flex;
	align-items: center;
	gap: 3px;
	width: max-content;
	max-width: 100%;
	border: 1px solid #cfe3ff;
	border-radius: 999px;
	background: #eef6ff;
	color: var(--blue-dark);
	padding: 4px 9px;
	font-size: 12px;
	font-weight: 900;
}

.script-ai-status.is-ready {
	border-color: #82d9a0;
	background: var(--success-bg);
	color: #194e31;
}

.script-ai-status.is-error {
	border-color: #f5b5ad;
	background: var(--error-bg);
	color: var(--error);
}

.typing-dots {
	display: inline-flex;
	width: 18px;
	justify-content: flex-start;
}

.typing-dots i {
	font-style: normal;
	animation: driplynxTypingDot 1s infinite;
	opacity: .25;
}

.typing-dots i:nth-child(2) {
	animation-delay: .15s;
}

.typing-dots i:nth-child(3) {
	animation-delay: .3s;
}

@keyframes driplynxTypingDot {
	0%, 80%, 100% {
		opacity: .25;
		transform: translateY(0);
	}

	40% {
		opacity: 1;
		transform: translateY(-2px);
	}
}

.script-ai-status[hidden] {
	display: none !important;
}

#voicemailScriptInput {
	overflow: hidden;
	resize: none;
	min-height: 64px;
}

.vm-script-copy-wrap {
	position: relative;
}

.vm-script-copy-wrap #voicemailScriptInput {
	padding-right: 84px;
}

.vm-script-copy-button {
	position: absolute;
	top: 7px;
	right: 7px;
	z-index: 2;
	min-height: 28px;
	display: inline-flex;
	align-items: center;
	gap: 5px;
	border: 1px solid var(--border-strong);
	border-radius: 6px;
	background: #ffffff;
	color: var(--blue-dark);
	padding: 0 8px;
	font: inherit;
	font-size: 12px;
	font-weight: 800;
	cursor: pointer;
	box-shadow: 0 1px 2px rgba(24, 24, 24, .08);
}

.vm-script-copy-button:hover {
	background: #f7fbff;
	border-color: #9ccbed;
	color: var(--blue);
}

.vm-script-copy-button svg {
	width: 15px;
	height: 15px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
}

.vm-script-copy-button.is-copied {
	background: var(--success-bg);
	border-color: #82d9a0;
	color: #194e31;
}

.vm-script-copy-button.is-empty {
	background: var(--warning-bg);
	border-color: #f8d38b;
	color: var(--warning-text);
}

@media (max-width: 520px) {
	.vm-script-copy-wrap #voicemailScriptInput {
		padding-right: 72px;
	}

	.vm-copy-label {
		display: none;
	}

	.vm-script-copy-button {
		width: 32px;
		justify-content: center;
		padding: 0;
	}
}

#startRecording[hidden],
#stopRecording[hidden],
.campaign-compact-form button[type="submit"][hidden],
.campaign-compact-form input[type="submit"][hidden] {
	display: none !important;
}

#stopRecording:disabled {
	display: none !important;
}

.campaign-compact-form.vm-recording-active .campaign-save-panel {
	display: none !important;
}

.script-label-row #getVoicemailScriptButton {
	display: none;
}

.vm-script-action-wrap {
	position: relative;
}

.vm-script-action-wrap #voicemailScriptInput {
	padding-right: 108px;
}

.vm-script-corner-action {
	position: absolute !important;
	top: 7px !important;
	right: 7px !important;
	z-index: 3 !important;
	min-height: 28px !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 5px !important;
	border-radius: 6px !important;
	font-size: 12px !important;
	font-weight: 800 !important;
	box-shadow: 0 1px 2px rgba(24, 24, 24, .08) !important;
	white-space: nowrap !important;
}

.vm-script-corner-action[hidden] {
	display: none !important;
}

.vm-script-corner-action.is-get-script {
	padding: 0 10px !important;
}

.vm-script-corner-action.is-copy-script {
	padding: 0 8px !important;
}

@media (max-width: 520px) {
	.vm-script-action-wrap #voicemailScriptInput {
		padding-right: 84px;
	}

	.vm-script-corner-action {
		min-width: 32px !important;
	}
}

/* Campaign actions */
.actions-col {
	text-align: right;
	white-space: nowrap;
	width: 82px;
}

.campaign-icon-form {
	display: inline-flex;
	align-items: center;
	justify-content: flex-end;
	gap: 6px;
}

.campaign-icon-button {
	margin-right: 10px;
	appearance: none;
	-webkit-appearance: none;
	width: 30px;
	height: 30px;
	padding: 0;
	border: 1px solid #d8dde6;
	border-radius: 4px;
	background: #ffffff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	box-shadow: none;
	transition: background-color 120ms ease, border-color 120ms ease, color 120ms ease;
}

.campaign-icon-button .bi {
	font-size: 15px;
	line-height: 1;
	display: block;
}

.campaign-icon-button[data-action-icon="play"] {
	color: #0176d3;
}

.campaign-icon-button[data-action-icon="pause"] {
	color: #444444;
}

.campaign-icon-button[data-action-icon="delete"] {
	color: #ba0517;
}

.campaign-icon-button:hover {
	background: #f3f2f2;
	border-color: #c9c7c5;
}

.campaign-icon-button[data-action-icon="delete"]:hover {
	background: #fff1f1;
	border-color: #ba0517;
}

.campaign-icon-button:focus-visible {
	outline: 0;
	border-color: #0176d3;
	box-shadow: 0 0 0 2px rgba(1, 118, 211, 0.18);
}

/* Voice Studio page */
.studio-layout {
	max-width: 1500px;
	margin: 0 auto;
	padding: 0 28px 32px;
	display: grid;
	grid-template-columns: minmax(0, 1fr) 320px;
	gap: 20px;
	align-items: start;
}

.studio-main,
.studio-side {
	display: grid;
	gap: 20px;
}

.studio-card {
	overflow: hidden;
}

.studio-card > .card-header {
	padding: 20px 24px 16px;
	border-bottom: 1px solid #e5e7eb;
	align-items: flex-start;
}

.studio-clone-form,
.studio-card > .voice-library-grid,
.studio-card > .studio-checklist,
.studio-card > .training-status {
	padding: 20px 24px 24px;
}

.studio-script-panel {
	border: 1px solid #d8dde6;
	border-radius: 6px;
	background: #ffffff;
	margin-bottom: 16px;
	overflow: hidden;
}

.studio-script-panel > div:first-child {
	padding: 16px 18px;
	border-bottom: 1px solid #eef1f6;
	background: #f8fafc;
}

.studio-script-panel strong {
	color: #080707;
}

.studio-script-panel p {
	margin: 4px 0 0;
	color: #706e6b;
	font-size: 13px;
}

.studio-script-box {
	padding: 18px;
	color: #181818;
	font-size: 15px;
	line-height: 1.7;
	white-space: pre-line;
	max-height: 260px;
	overflow: auto;
}

.clone-panel {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
	gap: 16px;
}

.clone-upload-box {
	border: 1px dashed #c9cfd8;
	border-radius: 6px;
	background: #f8fafc;
	padding: 28px;
	text-align: center;
	display: grid;
	justify-items: center;
	align-content: center;
	gap: 12px;
	min-height: 330px;
}

.clone-upload-icon {
	width: 48px;
	height: 48px;
	border-radius: 999px;
	background: #ffffff;
	border: 1px solid #d8dde6;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 22px;
}

.clone-upload-box strong,
.clone-requirements strong {
	color: #080707;
}

.clone-upload-box p {
	max-width: 460px;
	margin: 0;
	color: #706e6b;
	font-size: 13px;
	line-height: 1.4;
}

.clone-recorder-status {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: #706e6b;
	font-size: 13px;
}

#voiceRecordTimer {
	font-variant-numeric: tabular-nums;
	color: #16325c;
	font-weight: 700;
}

.clone-actions {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	flex-wrap: wrap;
}

#voiceRecordingPreview {
	width: 100%;
	max-width: 520px;
	margin-top: 4px;
}

.clone-requirements {
	border: 1px solid #d8dde6;
	border-radius: 6px;
	background: #ffffff;
	padding: 18px;
	display: grid;
	gap: 14px;
	align-content: start;
}

.requirement-row {
	display: grid;
	grid-template-columns: 92px minmax(0, 1fr);
	gap: 10px;
	border-top: 1px solid #eef1f6;
	padding-top: 12px;
}

.requirement-row span {
	color: #706e6b;
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.requirement-row p {
	margin: 0;
	color: #080707;
	font-size: 13px;
	line-height: 1.4;
}

.studio-consent-row {
	border-top: 1px solid #eef1f6;
	padding-top: 12px;
}

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

.voice-card {
	border: 1px solid #d8dde6;
	border-radius: 6px;
	background: #ffffff;
	padding: 16px;
	display: grid;
	gap: 14px;
	min-height: 170px;
}

.voice-card.selected {
	border-color: #0176d3;
	box-shadow: inset 3px 0 0 #0176d3;
}

.voice-card audio {
	width: 100%;
}

.voice-card-top {
	display: flex;
	align-items: center;
	gap: 12px;
}

.voice-card-top strong {
	display: block;
	color: #080707;
	font-size: 14px;
}

.voice-card-top p {
	margin: 3px 0 0;
	color: #706e6b;
	font-size: 13px;
	line-height: 1.4;
}

.voice-meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	color: #706e6b;
	font-size: 12px;
}

.studio-empty-state {
	grid-column: 1 / -1;
}

.studio-checklist {
	display: grid;
	gap: 10px;
}

.studio-check {
	display: flex;
	align-items: center;
	gap: 10px;
	color: #706e6b;
	font-size: 13px;
}

.studio-check span {
	width: 20px;
	height: 20px;
	border-radius: 999px;
	border: 1px solid #d8dde6;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: #706e6b;
	font-size: 12px;
	flex: 0 0 auto;
}

.studio-check.complete span {
	background: #eaf5ee;
	border-color: #45c65a;
	color: #2e844a;
}

.studio-check p {
	margin: 0;
}

.training-status {
	display: grid;
	gap: 8px;
}

.training-meter {
	height: 8px;
	border-radius: 999px;
	background: #eef1f6;
	overflow: hidden;
}

.training-meter div {
	height: 100%;
	border-radius: inherit;
	background: #0176d3;
}

.training-status p {
	margin: 0;
	color: #706e6b;
	font-size: 13px;
}

.training-status strong {
	color: #080707;
}

@media (max-width: 1100px) {
	.studio-layout {
		grid-template-columns: 1fr;
	}

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

@media (max-width: 860px) {
	.voice-studio-hero {
		align-items: flex-start;
		padding: 20px 16px 14px;
	}

	.studio-layout {
		padding: 0 16px 24px;
	}

	.voice-library-grid,
	.clone-panel,
	.studio-side {
		grid-template-columns: 1fr;
	}
}


/* Tighten Campaign AI script buttons */
.script-label-row {
        display: flex;
        align-items: center;
        gap: 8px;
}

.script-label-row label {
        margin-right: auto;
}

#getVoicemailScriptButton,
#updateVoicemailAudioButton {
        margin-left: 0;
}

#updateVoicemailAudioButton[hidden] {
	display: none !important;
}

/* Voice Studio simplified record layout */
.studio-record-layout {
	display: grid;
	gap: 18px;
}

.studio-record-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
	gap: 18px;
	align-items: stretch;
}

.studio-script-left,
.studio-record-right {
	height: 100%;
}

.studio-record-right {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	justify-content: flex-start;
	gap: 18px;
	padding: 28px;
	text-align: left;
}

.studio-record-right .clone-upload-icon {
	width: 56px;
	height: 56px;
	font-size: 24px;
	color: var(--blue-dark);
	background: #ffffff;
	box-shadow: 0 10px 24px rgba(8, 28, 58, 0.08);
}

.studio-record-right > strong {
	font-size: 20px;
	line-height: 1.2;
	color: var(--blue-dark);
}

.studio-record-right > p {
	max-width: 100%;
	font-size: 14px;
	line-height: 1.55;
}

.studio-record-right .clone-recorder-status {
	justify-content: space-between;
	width: 100%;
	padding: 12px 14px;
	border: 1px solid var(--border);
	border-radius: 12px;
	background: #ffffff;
}

.studio-record-right .clone-actions {
	display: flex;
	align-items: center;
	justify-content: stretch;
	gap: 10px;
	flex-wrap: wrap;
}

.studio-record-right .clone-actions .button {
	flex: 1 1 120px;
}

.studio-record-right audio {
	width: 100%;
}

.studio-save-recording-button {
	width: 100%;
	justify-content: center;
}

.studio-hidden-upload {
	display: none !important;
}

.single-voice-grid {
	grid-template-columns: minmax(0, 1fr);
}

.voice-preview-script {
	padding: 12px;
	border: 1px solid var(--border);
	border-radius: 12px;
	background: rgba(148, 163, 184, 0.08);
}

.voice-preview-script p {
	margin: 6px 0 0;
	color: var(--muted);
}

@media (max-width: 900px) {
	.studio-record-grid {
		grid-template-columns: 1fr;
	}
}

/* Force campaign script buttons visible */
.script-action-row {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

#getVoicemailScriptButton {
	display: inline-flex !important;
	visibility: visible !important;
	opacity: 1 !important;
}

/* Voice Studio recording controls */
.studio-record-right [hidden],
.studio-hidden-upload {
	display: none !important;
}

.studio-record-layout {
	display: grid;
	gap: 18px;
}

.studio-record-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
	gap: 18px;
	align-items: stretch;
}

.studio-record-right {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	justify-content: flex-start;
	gap: 18px;
	padding: 28px;
	text-align: left;
}

.studio-record-right .clone-upload-icon {
	width: 56px;
	height: 56px;
	font-size: 24px;
	color: var(--blue-dark);
	background: #ffffff;
	box-shadow: 0 10px 24px rgba(8, 28, 58, 0.08);
}

.studio-record-right > strong {
	font-size: 20px;
	line-height: 1.2;
	color: var(--blue-dark);
}

.studio-record-right > p {
	max-width: 100%;
	font-size: 14px;
	line-height: 1.55;
}

.studio-record-right .clone-recorder-status {
	justify-content: space-between;
	width: 100%;
	padding: 12px 14px;
	border: 1px solid var(--border);
	border-radius: 12px;
	background: #ffffff;
}

.studio-record-right .clone-actions {
	display: flex;
	align-items: center;
	justify-content: stretch;
	gap: 10px;
	flex-wrap: wrap;
}

.studio-record-right .clone-actions .button {
	flex: 1 1 120px;
}

.studio-record-right audio {
	width: 100%;
}

.studio-save-recording-button,
.studio-tts-preview-button {
	width: 100%;
	justify-content: center;
}

.single-voice-grid {
	grid-template-columns: minmax(0, 1fr);
}

.voice-preview-script {
	padding: 12px;
	border: 1px solid var(--border);
	border-radius: 12px;
	background: rgba(148, 163, 184, 0.08);
}

.voice-preview-script p {
	margin: 6px 0 0;
	color: var(--muted);
}

@media (max-width: 900px) {
	.studio-record-grid {
		grid-template-columns: 1fr;
	}
}



.campaign-mode-tabs {
	margin: 0 0 16px;
	border: 1px solid var(--border);
	border-radius: 16px;
}

#aiCampaignScriptPanel[hidden],
#manualAudioSourcePanel[hidden] {
	display: none !important;
}

.consent-form-container {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.consent-form-container input[type="checkbox"] {
  max-width: max-content;
}

.data-table th.team-actions-col,
.data-table td.team-actions-col {
	min-width: 260px;
}

.team-actions {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 8px;
	flex-wrap: wrap;
}

.team-role-form {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.team-role-form .button.small {
	flex: 0 0 auto;
}

.checkbox-row {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.checkbox-row input[type="checkbox"] {
	width: auto;
	min-width: 0;
}

.checkbox-row.compact {
	margin: 0;
}
