/**
 * Cozy Blocks → Dashboard tab.
 *
 * Every selector starts with #dashboard so it wins over the shared rules in
 * admin-styles.css (e.g. `.sidebar p { margin: 0 }`) and never leaks into other tabs.
 */

#dashboard {
	--cbd-primary: var(--cozy-addons--primary, #5253f9);
	--cbd-primary-2: #7c5cf7;
	--cbd-primary-ink: #3a3bd6;
	--cbd-heading: #141822;
	--cbd-text: #4a5468;
	--cbd-muted: #62748e;
	--cbd-border: #e6e8f2;
	--cbd-line: #dcdff5;
	--cbd-tint: #eef0ff;
	--cbd-amber: #fbbf24;
	--cbd-amber-ink: #1f1600;
	--cbd-green: #16a34a;
	--cbd-green-soft: #4ade80;
	--cbd-dark-text: #b9bedf;
	--cbd-dark-strong: #e2e5f5;
	--cbd-dark-line: rgba(255, 255, 255, 0.12);
	--cbd-dark-panel: rgba(255, 255, 255, 0.045);

	gap: 20px;
	align-items: flex-start;
	font-weight: 400;
}

#dashboard .cbd {
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 20px;
}

#dashboard .cbd-icon {
	flex: none;
	display: block;
}

/* Cards and shared type
--------------------------------------------- */
#dashboard .cbd-card {
	padding: 30px;
	background: #fff;
	border: 1px solid var(--cbd-border);
	border-radius: 20px;
	box-shadow: 0 1px 2px rgba(16, 24, 40, 0.03);
}

#dashboard .cbd-card__title {
	margin: 0 0 12px;
	font-size: 24px;
	font-weight: 700;
	line-height: 1.25;
	letter-spacing: -0.6px;
	color: var(--cbd-heading);
}

#dashboard .cbd-card__lead {
	margin: 0;
	font-size: 15px;
	line-height: 1.5;
	color: var(--cbd-text);
}

#dashboard .cbd-eyebrow {
	margin: 0 0 14px;
	font-size: 14px;
	font-weight: 500;
	color: var(--cbd-primary);
}

#dashboard .cbd-link {
	font-size: 14px;
	font-weight: 500;
	color: var(--cbd-primary);
	text-decoration: none;
}

#dashboard .cbd-link:hover,
#dashboard .cbd-link:focus-visible {
	text-decoration: underline;
}

#dashboard .cbd-link--amber {
	font-weight: 600;
	color: var(--cbd-amber);
}

#dashboard .cbd-badge {
	display: inline-block;
	padding: 1px 7px;
	border-radius: 999px;
	background: var(--cbd-amber);
	color: var(--cbd-amber-ink);
	font-size: 10px;
	font-weight: 700;
	line-height: 1.6;
	letter-spacing: 0.3px;
	text-transform: uppercase;
	vertical-align: middle;
	white-space: nowrap;
}

#dashboard .cbd-pill {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	width: fit-content;
	margin: 0;
	padding: 3px 10px;
	border-radius: 999px;
	font-size: 10px;
	font-weight: 700;
	line-height: 1.5;
	letter-spacing: 0.4px;
	text-transform: uppercase;
}

#dashboard .cbd-pill--amber {
	background: var(--cbd-amber);
	color: var(--cbd-amber-ink);
}

#dashboard .cbd-pill--green {
	padding: 1px 8px;
	background: #dcfce7;
	color: #15803d;
}

#dashboard .cbd-tile-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	flex: none;
	border-radius: 9px;
	background: var(--cbd-tint);
	color: var(--cbd-primary);
}

#dashboard .cbd-tile-icon--lg {
	width: 48px;
	height: 48px;
	border-radius: 12px;
}

#dashboard .cbd-tile-icon--solid {
	width: 40px;
	height: 40px;
	border-radius: 10px;
	background: linear-gradient(135deg, var(--cbd-primary), var(--cbd-primary-2));
	color: #fff;
}

#dashboard .cbd-tile-icon--solid .cbd-icon path {
	stroke: var(--cbd-primary);
}

/* Buttons
--------------------------------------------- */
#dashboard .cbd-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 12px 20px;
	border: 1px solid transparent;
	border-radius: 10px;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.2;
	text-decoration: none;
	white-space: nowrap;
	cursor: pointer;
	transition:
		transform 0.15s ease,
		box-shadow 0.15s ease,
		background-color 0.15s ease,
		border-color 0.15s ease;
}

#dashboard .cbd-btn:hover {
	transform: translateY(-1px);
}

#dashboard .cbd-btn:focus-visible,
#dashboard .cbd-persona:focus-visible,
#dashboard .cbd-chip:focus-visible,
#dashboard .cbd-task__status:focus-visible,
#dashboard .cbd-faq__item summary:focus-visible,
#dashboard .cbd-theme:focus-visible {
	outline: 2px solid var(--cbd-primary);
	outline-offset: 2px;
	box-shadow: none;
}

#dashboard .cbd-btn--primary {
	background: linear-gradient(90deg, var(--cbd-primary), var(--cbd-primary-2));
	color: #fff;
	box-shadow: 0 8px 20px rgba(82, 83, 249, 0.28);
}

#dashboard .cbd-btn--primary:hover,
#dashboard .cbd-btn--primary:focus {
	color: #fff;
}

#dashboard .cbd-btn--primary .cbd-icon path {
	stroke: var(--cbd-primary);
}

#dashboard .cbd-btn--outline {
	background: #fff;
	border-color: var(--cbd-line);
	color: var(--cbd-primary);
}

#dashboard .cbd-btn--outline:hover {
	border-color: var(--cbd-primary);
	color: var(--cbd-primary);
}

#dashboard .cbd-btn--small {
	padding: 7px 16px;
	background: #fff;
	border-color: var(--cbd-line);
	color: var(--cbd-primary-ink);
	font-size: 13px;
}

#dashboard .cbd-btn--small:hover {
	border-color: var(--cbd-primary);
	color: var(--cbd-primary-ink);
}

#dashboard .cbd-btn--amber {
	background: var(--cbd-amber);
	color: var(--cbd-amber-ink);
	box-shadow: 0 8px 20px rgba(251, 191, 36, 0.28);
}

#dashboard .cbd-btn--amber:hover,
#dashboard .cbd-btn--amber:focus {
	color: var(--cbd-amber-ink);
}

#dashboard .cbd-btn--ghost {
	background: transparent;
	border-color: rgba(255, 255, 255, 0.55);
	color: #fff;
}

#dashboard .cbd-btn--ghost:hover,
#dashboard .cbd-btn--ghost:focus {
	border-color: #fff;
	color: #fff;
}

/* Hero
--------------------------------------------- */
#dashboard .cbd-hero {
	padding: 0;
}

#dashboard .cbd-hero__intro {
	padding: 40px 30px 36px;
}

#dashboard .cbd-hero__title {
	max-width: 440px;
	margin: 0 0 18px;
	font-size: 34px;
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: -1.2px;
	color: var(--cbd-heading);
}

#dashboard .cbd-hero__lead {
	max-width: 440px;
	margin: 0 0 24px;
	font-size: 16px;
	line-height: 1.55;
	color: var(--cbd-text);
}

#dashboard .cbd-hero__actions {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 14px;
	margin-bottom: 24px;
}

#dashboard .cbd-hero__demo {
	font-size: 14px;
	color: var(--cbd-muted);
	text-decoration: none;
}

#dashboard .cbd-hero__demo:hover {
	color: var(--cbd-primary);
}

#dashboard .cbd-hero__features {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 20px;
	margin: 0;
	padding: 30px;
	border-top: 1px solid var(--cbd-border);
}

#dashboard .cbd-hero__feature h3 {
	margin: 16px 0 6px;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.45;
	color: var(--cbd-heading);
}

#dashboard .cbd-hero__feature p {
	margin: 0;
	font-size: 13px;
	line-height: 1.45;
	color: var(--cbd-muted);
}

/* Personas, tip and checklist
--------------------------------------------- */
#dashboard .cbd-personas {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 20px;
	margin-top: 24px;
}

#dashboard .cbd-persona {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 4px;
	padding: 18px 20px;
	background: #fff;
	border: 1px solid var(--cbd-line);
	border-radius: 12px;
	text-align: left;
	font: inherit;
	cursor: pointer;
	transition:
		border-color 0.15s ease,
		box-shadow 0.15s ease;
}

#dashboard .cbd-persona:hover {
	border-color: #b9bdf6;
}

#dashboard .cbd-persona strong {
	margin-top: 12px;
	font-size: 14px;
	font-weight: 600;
	color: var(--cbd-heading);
}

#dashboard .cbd-persona > span:last-child {
	font-size: 13px;
	color: var(--cbd-muted);
}

#dashboard .cbd-persona.is-selected {
	border-color: var(--cbd-primary);
	background: #fafaff;
	box-shadow: 0 0 0 3px rgba(82, 83, 249, 0.12);
}

#dashboard .cbd-tip {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 20px 0;
	padding: 14px 18px;
	border: 1px dashed #c9cdf2;
	border-radius: 10px;
	background: #f7f8fd;
}

#dashboard .cbd-tip__icon {
	color: #f59e0b;
}

#dashboard .cbd-tip p {
	margin: 0;
	font-size: 13px;
	line-height: 1.55;
	color: var(--cbd-text);
}

#dashboard .cbd-checklist {
	padding-top: 20px;
	border-top: 1px solid var(--cbd-line);
}

#dashboard .cbd-checklist__head {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-bottom: 24px;
}

#dashboard .cbd-checklist__head h3 {
	margin: 0 0 6px;
	font-size: 15px;
	font-weight: 600;
	color: var(--cbd-heading);
}

#dashboard .cbd-checklist__head p {
	margin: 0;
	font-size: 13px;
	color: var(--cbd-muted);
}

#dashboard .cbd-ring {
	position: relative;
	display: inline-flex;
	flex: none;
	width: 48px;
	height: 48px;
	align-items: center;
	justify-content: center;
}

#dashboard .cbd-ring svg {
	position: absolute;
	inset: 0;
	width: 48px;
	height: 48px;
	transform: rotate(-90deg);
}

#dashboard .cbd-ring circle {
	fill: none;
	stroke-width: 4;
}

#dashboard .cbd-ring__track {
	stroke: #e5e7f5;
}

#dashboard .cbd-ring__value {
	stroke: var(--cbd-primary);
	stroke-linecap: round;
	transition: stroke-dashoffset 0.4s ease;
}

#dashboard .cbd-ring__label {
	position: relative;
	font-size: 12px;
	font-weight: 600;
	color: var(--cbd-heading);
}

#dashboard .cbd-checklist__items {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

#dashboard .cbd-task {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	align-items: center;
	gap: 16px;
	padding: 14px 20px;
	border: 1px solid var(--cbd-line);
	border-radius: 12px;
}

#dashboard .cbd-task__status {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	padding: 0;
	border: 2px solid #cfd3ee;
	border-radius: 50%;
	background: #fff;
	color: transparent;
	cursor: pointer;
	transition:
		background-color 0.15s ease,
		border-color 0.15s ease;
}

#dashboard .cbd-task__status:not([disabled]):hover {
	border-color: var(--cbd-primary);
	color: #c7caf7;
}

#dashboard .cbd-task__status[disabled] {
	cursor: default;
}

#dashboard .cbd-task.is-done .cbd-task__status {
	border-color: var(--cbd-green);
	background: var(--cbd-green);
	color: #fff;
}

#dashboard .cbd-task__body h4 {
	margin: 0 0 4px;
	font-size: 15px;
	font-weight: 600;
	color: var(--cbd-heading);
}

#dashboard .cbd-task__body p {
	margin: 0;
	font-size: 13px;
	color: var(--cbd-muted);
}

#dashboard .cbd-task.is-done h4 {
	color: var(--cbd-muted);
	text-decoration: line-through;
}

/* Start cards
--------------------------------------------- */
#dashboard .cbd-start {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
}

#dashboard .cbd-start__card {
	display: flex;
	flex-direction: column;
	padding: 24px;
}

#dashboard .cbd-start__card h3 {
	margin: 22px 0 12px;
	font-size: 18px;
	font-weight: 600;
	letter-spacing: -0.3px;
	color: var(--cbd-heading);
}

#dashboard .cbd-start__card p {
	margin: 0 0 24px;
	font-size: 13px;
	line-height: 1.5;
	color: var(--cbd-muted);
}

#dashboard .cbd-start__card .cbd-link {
	margin-top: auto;
}

/* Pro showcase (dark)
--------------------------------------------- */
#dashboard .cbd-pro {
	display: flex;
	flex-direction: column;
	padding: 36px 30px 30px;
	border-radius: 20px;
	background:
		radial-gradient(120% 80% at 100% 0%, rgba(49, 46, 150, 0.85) 0%, rgba(49, 46, 150, 0) 60%),
		linear-gradient(160deg, #0f1428 0%, #121734 55%, #1d1e5c 100%);
	color: var(--cbd-dark-text);
}

#dashboard .cbd-pro__title {
	max-width: 680px;
	margin: 14px 0 14px;
	font-size: 34px;
	font-weight: 700;
	line-height: 1.18;
	letter-spacing: -1px;
	color: #fff;
}

#dashboard .cbd-pro__lead {
	max-width: 640px;
	margin: 0 0 30px;
	font-size: 15px;
	line-height: 1.6;
	color: var(--cbd-dark-text);
}

#dashboard .cbd-pro__features {
	display: flex;
	flex-direction: column;
	gap: 30px;
}

#dashboard .cbd-feature {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	align-items: center;
	gap: 36px;
	padding: 28px 24px;
	border: 1px solid rgba(251, 191, 36, 0.45);
	border-radius: 14px;
	background: var(--cbd-dark-panel);
}

#dashboard .cbd-feature--leads {
	grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

#dashboard .cbd-feature__kicker {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 12px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.4px;
	text-transform: uppercase;
	color: var(--cbd-amber);
}

#dashboard .cbd-feature h3 {
	margin: 0 0 16px;
	font-size: 24px;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: -0.6px;
	color: #fff;
}

#dashboard .cbd-feature__text {
	margin: 0 0 14px;
	font-size: 13px;
	line-height: 1.55;
	color: var(--cbd-dark-text);
}

#dashboard .cbd-ticks li {
	display: flex;
	gap: 14px;
	margin: 0 0 10px;
	font-size: 14px;
	line-height: 1.5;
	color: #d5d9f0;
}

#dashboard .cbd-ticks .cbd-icon {
	margin-top: 4px;
	color: var(--cbd-green-soft);
}

#dashboard .cbd-feature__foot {
	margin: 18px 0 0;
	font-size: 15px;
	color: var(--cbd-dark-text);
}

#dashboard .cbd-feature__foot .cbd-link {
	margin-left: 8px;
}

#dashboard .cbd-included {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 14px;
	padding: 8px 12px;
	border: 1px solid rgba(34, 197, 94, 0.35);
	border-radius: 8px;
	background: rgba(34, 197, 94, 0.12);
	font-size: 13px;
	color: var(--cbd-dark-strong);
}

#dashboard .cbd-included .cbd-icon {
	box-sizing: content-box;
	padding: 3px;
	border-radius: 50%;
	background: #22c55e;
	color: #fff;
}

#dashboard .cbd-feature__label {
	margin: 0 0 8px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.4px;
	text-transform: uppercase;
	color: var(--cbd-amber);
}

#dashboard .cbd-pro-rows li {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0 0 10px;
	padding: 10px 12px;
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.04);
	font-size: 13px;
	color: var(--cbd-dark-text);
}

#dashboard .cbd-pro-rows strong {
	display: block;
	margin-bottom: 2px;
	font-size: 14px;
	font-weight: 600;
	color: #fff;
}

#dashboard .cbd-pro-rows__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: none;
	width: 36px;
	height: 36px;
	border-radius: 8px;
	background: rgba(251, 191, 36, 0.2);
	color: var(--cbd-amber);
}

#dashboard .cbd-pro-rows__icon .cbd-icon path[stroke="#1d1f3f"] {
	stroke: #3b3320;
}

#dashboard .cbd-feature__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 18px;
	margin-top: 18px;
}

#dashboard .cbd-feature__actions .cbd-link {
	font-size: 13px;
}

/* Chips */
#dashboard .cbd-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
}

#dashboard .cbd-chip {
	display: inline-flex;
	align-items: center;
	padding: 5px 12px;
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.05);
	font: inherit;
	font-size: 12px;
	line-height: 1.4;
	color: #d5d9f0;
}

#dashboard button.cbd-chip {
	cursor: pointer;
}

#dashboard button.cbd-chip:hover {
	border-color: rgba(255, 255, 255, 0.4);
}

#dashboard .cbd-chip.is-active {
	border-color: var(--cbd-amber);
	background: var(--cbd-amber);
	color: var(--cbd-amber-ink);
	font-weight: 500;
}

#dashboard .cbd-chips--toggle {
	margin-top: 16px;
}

/* Skeleton lines used by the illustrations */
#dashboard .cbd-sk {
	display: block;
	width: 100%;
	height: 5px;
	border-radius: 3px;
	background: #d7dbe8;
}

#dashboard .cbd-sk--dark {
	width: 80%;
	background: #1b1f3b;
}

#dashboard .cbd-sk--short {
	width: 70%;
}

#dashboard .cbd-sk--accent {
	width: 45%;
	background: var(--cbd-primary);
}

/* Popup Builder illustration */
#dashboard .cbd-popup-demo {
	position: relative;
	height: 148px;
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, 0.6);
	border-radius: 6px;
	background: #858a9e;
}

#dashboard .cbd-popup-demo__line {
	position: absolute;
	top: 30px;
	left: 12px;
	width: 40%;
	height: 8px;
	border-radius: 4px;
	background: rgba(255, 255, 255, 0.22);
}

#dashboard .cbd-popup-demo__line--wide {
	top: 56px;
	width: 85%;
	height: 5px;
}

#dashboard .cbd-popup-demo__block {
	position: absolute;
	top: 78px;
	right: 12px;
	left: 12px;
	height: 38px;
	border-radius: 4px;
	background: rgba(255, 255, 255, 0.18);
}

#dashboard .cbd-popup-demo__box {
	position: absolute;
	top: 50%;
	left: 50%;
	display: flex;
	flex-direction: column;
	gap: 7px;
	width: 142px;
	padding: 12px;
	box-sizing: border-box;
	border-radius: 8px;
	background: #fff;
	box-shadow: 0 10px 30px rgba(15, 20, 40, 0.35);
	transform: translate(-50%, -50%);
}

#dashboard .cbd-popup-demo__tag {
	width: fit-content;
	padding: 2px 6px;
	border-radius: 4px;
	background: var(--cbd-amber);
	font-size: 9px;
	font-weight: 700;
	color: var(--cbd-amber-ink);
}

#dashboard .cbd-popup-demo__input {
	display: block;
	height: 11px;
	border: 1px solid #d7dbe8;
	border-radius: 6px;
}

#dashboard .cbd-popup-demo__btn {
	display: block;
	height: 11px;
	border-radius: 6px;
	background: var(--cbd-primary);
}

#dashboard .cbd-popup-demo[data-variant="slidein"] .cbd-popup-demo__box {
	top: auto;
	right: 10px;
	bottom: 10px;
	left: auto;
	width: 118px;
	transform: none;
}

#dashboard .cbd-popup-demo[data-variant="bar"] .cbd-popup-demo__box {
	top: 0;
	left: 0;
	flex-direction: row;
	align-items: center;
	width: 100%;
	padding: 9px 12px;
	border-radius: 0;
	transform: none;
}

#dashboard .cbd-popup-demo[data-variant="bar"] .cbd-sk--dark {
	flex: 1;
}

#dashboard .cbd-popup-demo[data-variant="bar"] .cbd-sk--short,
#dashboard .cbd-popup-demo[data-variant="bar"] .cbd-popup-demo__input {
	display: none;
}

#dashboard .cbd-popup-demo[data-variant="bar"] .cbd-popup-demo__btn {
	width: 44px;
	flex: none;
}

#dashboard .cbd-popup-demo[data-variant="newsletter"] .cbd-popup-demo__box {
	width: 170px;
}

#dashboard .cbd-popup-demo[data-variant="newsletter"] .cbd-popup-demo__tag {
	display: none;
}

#dashboard .cbd-popup-demo[data-variant="newsletter"] .cbd-popup-demo__input {
	height: 14px;
	border-color: var(--cbd-primary);
}

/* Lead Form illustration */
#dashboard .cbd-leads-demo {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	padding: 28px 18px;
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: 14px;
	background: #262a6e;
}

#dashboard .cbd-leads-demo__form,
#dashboard .cbd-leads-demo__inbox {
	display: flex;
	flex-direction: column;
	gap: 7px;
	width: 42%;
	padding: 12px;
	box-sizing: border-box;
	border-radius: 8px;
	background: #fff;
}

#dashboard .cbd-leads-demo__input {
	display: block;
	height: 16px;
	border: 1px solid #dfe3ee;
	border-radius: 5px;
}

#dashboard .cbd-leads-demo__btn {
	padding: 7px 4px;
	border-radius: 6px;
	background: var(--cbd-primary);
	font-size: 10px;
	font-weight: 600;
	text-align: center;
	color: #fff;
}

#dashboard .cbd-leads-demo__arrow {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: none;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background: var(--cbd-amber);
	color: var(--cbd-amber-ink);
}

#dashboard .cbd-leads-demo__inbox {
	width: 46%;
	gap: 5px;
	padding: 10px;
}

#dashboard .cbd-leads-demo__inbox p {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin: 0 0 2px;
	font-size: 11px;
	color: var(--cbd-heading);
}

#dashboard .cbd-leads-demo__inbox p span {
	padding: 2px 8px;
	border-radius: 999px;
	background: var(--cbd-primary);
	font-size: 9px;
	font-weight: 600;
	color: #fff;
}

#dashboard .cbd-leads-demo__row {
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 5px 6px;
	border: 1px solid #e5e7f0;
	border-radius: 6px;
}

#dashboard .cbd-leads-demo__row i {
	flex: none;
	width: 14px;
	height: 14px;
	border-radius: 50%;
}

#dashboard .cbd-leads-demo__row b {
	flex: 1;
	height: 5px;
	border-radius: 3px;
	background: #d7dbe8;
}

#dashboard .cbd-leads-demo__row em {
	padding: 2px 6px;
	border-radius: 999px;
	font-size: 8px;
	font-style: normal;
	font-weight: 700;
	white-space: nowrap;
}

#dashboard .cbd-leads-demo__row i.is-violet {
	background: linear-gradient(135deg, #c4b5fd, #a78bfa);
}

#dashboard .cbd-leads-demo__row i.is-orange {
	background: linear-gradient(135deg, #fdba74, #fb923c);
}

#dashboard .cbd-leads-demo__row i.is-blue {
	background: linear-gradient(135deg, #93c5fd, #5eead4);
}

#dashboard .cbd-leads-demo__row em.is-violet {
	background: #e8e6ff;
	color: #4338ca;
}

#dashboard .cbd-leads-demo__row em.is-green {
	background: #dcfce7;
	color: #15803d;
}

#dashboard .cbd-leads-demo__row em.is-amber {
	background: #fef3c7;
	color: #92400e;
}

/* Plus everything else */
#dashboard .cbd-pro__subtitle {
	margin: 36px 0 18px;
	font-size: 18px;
	font-weight: 700;
	color: #fff;
}

#dashboard .cbd-extras {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
}

#dashboard .cbd-extra {
	padding: 20px 20px 22px;
	border: 1px solid var(--cbd-dark-line);
	border-radius: 14px;
	background: var(--cbd-dark-panel);
}

#dashboard .cbd-extra h4 {
	margin: 0 0 8px;
	font-size: 18px;
	font-weight: 700;
	letter-spacing: -0.3px;
	color: #fff;
}

#dashboard .cbd-extra p {
	margin: 0 0 14px;
	font-size: 13px;
	line-height: 1.5;
	color: var(--cbd-dark-text);
}

#dashboard .cbd-extra .cbd-chip {
	padding: 5px 10px;
	font-size: 11px;
}

#dashboard .cbd-extra__visual {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 20px;
	height: 184px;
	margin-bottom: 24px;
	border-radius: 12px;
	background: #24286e;
}

/* Persona ordering: the matching card moves first. */
#dashboard .cbd[data-persona="store"] .cbd-extra[data-for="store"],
#dashboard .cbd[data-persona="business"] .cbd-extra[data-for="business"],
#dashboard .cbd[data-persona="magazine"] .cbd-extra[data-for="magazine"],
#dashboard .cbd[data-persona="clients"] .cbd-extra[data-for="clients"],
#dashboard .cbd[data-persona="business"] .cbd-feature--leads {
	order: -1;
}

#dashboard .cbd-vis-product {
	display: flex;
	flex-direction: column;
	gap: 7px;
	width: 112px;
	padding: 10px;
	box-sizing: border-box;
	border-radius: 6px;
	background: #fff;
}

#dashboard .cbd-vis-product--ghost {
	width: 80px;
	opacity: 0.55;
}

#dashboard .cbd-vis-product--ghost .cbd-vis-product__img {
	height: 48px;
}

#dashboard .cbd-vis-product__img {
	position: relative;
	display: block;
	height: 66px;
	border-radius: 4px;
	background: linear-gradient(135deg, #c7d2fe, #fbcfe8);
}

#dashboard .cbd-vis-product__img i {
	position: absolute;
	top: 5px;
	right: 5px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: #fff;
	color: #ef4444;
}

#dashboard .cbd-vis-product__img b {
	position: absolute;
	bottom: 8px;
	left: 50%;
	padding: 4px 10px;
	border-radius: 999px;
	background: #111827;
	font-size: 9px;
	font-weight: 600;
	white-space: nowrap;
	color: #fff;
	transform: translateX(-50%);
}

#dashboard .cbd-vis-offer {
	display: flex;
	flex-direction: column;
	gap: 8px;
	width: 168px;
	padding: 14px;
	box-sizing: border-box;
	border-radius: 8px;
	background: #fff;
}

#dashboard .cbd-vis-offer__timer {
	display: flex;
	gap: 6px;
	margin: 4px 0;
}

#dashboard .cbd-vis-offer__timer b {
	padding: 4px 6px;
	border-radius: 4px;
	background: var(--cbd-tint);
	font-size: 9px;
	color: var(--cbd-primary-ink);
}

#dashboard .cbd-vis-offer__input {
	height: 12px;
	border: 1px solid #e5e7f0;
	border-radius: 4px;
}

#dashboard .cbd-vis-offer__btn {
	height: 14px;
	border-radius: 4px;
	background: var(--cbd-primary);
}

#dashboard .cbd-vis-mag {
	display: flex;
	flex-direction: column;
	gap: 10px;
	width: 86%;
}

#dashboard .cbd-vis-mag__ticker {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 4px 6px;
	border-radius: 4px;
	background: rgba(255, 255, 255, 0.12);
}

#dashboard .cbd-vis-mag__ticker b {
	padding: 2px 6px;
	border-radius: 3px;
	background: var(--cbd-amber);
	font-size: 9px;
	color: var(--cbd-amber-ink);
}

#dashboard .cbd-vis-mag__ticker i {
	flex: 1;
	height: 3px;
	border-radius: 2px;
	background: rgba(255, 255, 255, 0.4);
}

#dashboard .cbd-vis-mag__grid {
	display: grid;
	grid-template-columns: 1.6fr 1fr;
	grid-template-rows: repeat(3, 1fr);
	gap: 6px;
	height: 80px;
}

#dashboard .cbd-vis-mag__grid span {
	border-radius: 4px;
}

#dashboard .cbd-vis-mag__grid .is-main {
	grid-row: span 3;
	background: linear-gradient(90deg, #818cf8, #c084fc);
}

#dashboard .cbd-vis-mag__grid .is-a {
	background: linear-gradient(90deg, #a5b4fc, #f0abfc);
}

#dashboard .cbd-vis-mag__grid .is-b {
	background: linear-gradient(90deg, #fde68a, #fda4af);
}

#dashboard .cbd-vis-mag__grid .is-c {
	background: linear-gradient(90deg, #99f6e4, #a5b4fc);
}

#dashboard .cbd-vis-premium {
	display: flex;
	align-items: center;
	gap: 14px;
}

#dashboard .cbd-vis-premium__compare {
	position: relative;
	width: 150px;
	height: 110px;
	border-radius: 6px;
	background:
		linear-gradient(90deg, #7f8ba3 0 50%, transparent 50%),
		linear-gradient(135deg, #fbbf24, #f472b6);
}

#dashboard .cbd-vis-premium__compare::after {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	left: calc(50% - 1.5px);
	width: 3px;
	background: #fff;
}

#dashboard .cbd-vis-premium__compare i {
	position: absolute;
	top: 50%;
	left: 50%;
	z-index: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: #fff;
	color: var(--cbd-primary);
	transform: translate(-50%, -50%);
}

#dashboard .cbd-vis-premium__bars {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

#dashboard .cbd-vis-premium__bars b {
	width: 80px;
	height: 18px;
	border-radius: 4px;
	background: rgba(255, 255, 255, 0.2);
}

#dashboard .cbd-vis-premium__bars b:nth-child(2) {
	margin-left: 18px;
}

#dashboard .cbd-vis-premium__bars b:nth-child(3) {
	margin-left: 36px;
}

#dashboard .cbd-vis-premium__bars b.is-amber {
	background: #b8901f;
}

/* One toolkit */
#dashboard .cbd-toolkit {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	align-items: center;
	gap: 30px;
	margin-top: 30px;
	padding: 24px;
	border: 1px solid var(--cbd-dark-line);
	border-radius: 14px;
	background: var(--cbd-dark-panel);
}

#dashboard .cbd-toolkit h3 {
	margin: 0 0 14px;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.5;
	color: #fff;
}

#dashboard .cbd-toolkit p {
	max-width: 380px;
	margin: 0;
	font-size: 14px;
	line-height: 1.55;
	color: var(--cbd-dark-text);
}

#dashboard .cbd-chips--struck {
	gap: 6px;
}

#dashboard .cbd-chips--struck .cbd-chip {
	padding: 3px 8px;
	font-size: 10px;
	color: #8d93b8;
}

/* Free vs Pro table */
#dashboard .cbd-compare {
	margin-top: 24px;
	overflow: hidden;
	border: 1px solid var(--cbd-dark-line);
	border-radius: 14px;
}

#dashboard .cbd-compare__row {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 90px 72px 22px;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
}

#dashboard .cbd-compare__row:first-child {
	border-top: 0;
}

#dashboard .cbd-compare__row > span {
	display: flex;
	align-items: center;
	padding: 16px 20px;
	font-size: 14px;
	line-height: 1.5;
	color: var(--cbd-dark-strong);
}

#dashboard .cbd-compare__row > span + span {
	justify-content: center;
	padding: 16px 8px;
}

#dashboard .cbd-compare__row--head {
	background: rgba(255, 255, 255, 0.06);
}

#dashboard .cbd-compare__row--head > span {
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.5px;
	text-transform: uppercase;
	color: #aab0d6;
}

#dashboard .cbd-compare__row > .is-pro {
	background: rgba(251, 191, 36, 0.16);
}

#dashboard .cbd-compare__row--head > .is-pro {
	color: var(--cbd-amber);
}

#dashboard .cbd-compare .is-yes {
	color: var(--cbd-green-soft);
}

#dashboard .cbd-compare .is-no {
	color: #6b7299;
}

/* Reviews */
#dashboard .cbd-proof {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 20px;
	margin-top: 24px;
}

#dashboard .cbd-proof__rating,
#dashboard .cbd-proof__quote {
	margin: 0;
	padding: 18px 20px;
	border: 1px solid var(--cbd-dark-line);
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.06);
}

#dashboard .cbd-proof__rating {
	display: flex;
	align-items: center;
	gap: 12px;
}

#dashboard .cbd-proof__rating strong {
	font-size: 36px;
	font-weight: 700;
	line-height: 1;
	color: #fff;
}

#dashboard .cbd-proof__rating > span {
	display: flex;
	flex-direction: column;
	gap: 6px;
	font-size: 10px;
	white-space: nowrap;
	color: #aab0d6;
}

#dashboard .cbd-stars {
	display: flex;
	gap: 1px;
	color: var(--cbd-amber);
}

#dashboard .cbd-proof__quote {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 18px;
	min-height: 110px;
	box-sizing: border-box;
}

#dashboard .cbd-proof__quote blockquote {
	margin: 0;
	font-size: 13px;
	line-height: 1.5;
	color: #fff;
}

#dashboard .cbd-proof__quote figcaption {
	font-size: 10px;
	color: #8d93b8;
}

/* Money-back */
#dashboard .cbd-guarantee {
	display: flex;
	align-items: center;
	gap: 20px;
	margin-top: 24px;
	padding: 22px 24px;
	border: 1px solid rgba(251, 191, 36, 0.45);
	border-radius: 14px;
	background: rgba(251, 191, 36, 0.07);
}

#dashboard .cbd-guarantee__icon {
	color: var(--cbd-amber);
}

#dashboard .cbd-guarantee__icon .cbd-icon path[stroke="#1d1f3f"] {
	stroke: #2a2410;
}

#dashboard .cbd-guarantee h3 {
	margin: 0 0 8px;
	font-size: 16px;
	font-weight: 700;
	color: #fff;
}

#dashboard .cbd-guarantee p {
	margin: 0;
	font-size: 12px;
	color: var(--cbd-dark-text);
}

#dashboard .cbd-guarantee .cbd-btn {
	margin-left: auto;
}

/* Themes
--------------------------------------------- */
#dashboard .cbd-themes__list {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 20px;
	margin-top: 22px;
}

#dashboard .cbd-theme {
	display: block;
	height: 100%;
	padding: 10px 10px 20px;
	box-sizing: border-box;
	border: 1px solid var(--cbd-line);
	border-radius: 12px;
	text-decoration: none;
	transition:
		border-color 0.15s ease,
		box-shadow 0.15s ease;
}

#dashboard .cbd-theme:hover {
	box-shadow: 0 6px 18px rgba(82, 83, 249, 0.12);
}

#dashboard .cbd-theme__image {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 600 / 425;
	margin-bottom: 14px;
	border: 1px solid var(--cbd-border);
	border-radius: 8px;
	background: var(--cbd-tint);
	object-fit: cover;
	object-position: top center;
}

#dashboard .cbd-theme strong,
#dashboard .cbd-theme > span {
	padding: 0 8px;
}

#dashboard .cbd-theme:hover,
#dashboard .cbd-theme.is-active {
	border-color: var(--cbd-primary);
}

#dashboard .cbd-theme strong {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
	font-size: 14px;
	font-weight: 600;
	color: var(--cbd-heading);
}

#dashboard .cbd-theme > span {
	display: block;
	margin-top: 8px;
	font-size: 13px;
	color: var(--cbd-muted);
}

/* FAQ
--------------------------------------------- */
#dashboard .cbd-faq .cbd-card__title {
	margin-bottom: 0;
}

#dashboard .cbd-faq__list {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin-top: 26px;
}

#dashboard .cbd-faq__item {
	border: 1px solid var(--cbd-border);
	border-radius: 10px;
	background: #fff;
	transition:
		border-color 0.15s ease,
		box-shadow 0.15s ease;
}

#dashboard .cbd-faq__item summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 16px 20px;
	border-radius: 10px;
	list-style: none;
	font-size: 14px;
	font-weight: 500;
	color: var(--cbd-heading);
	cursor: pointer;
}

#dashboard .cbd-faq__item summary::-webkit-details-marker {
	display: none;
}

#dashboard .cbd-faq__item summary .cbd-icon {
	color: var(--cbd-muted);
	transition: transform 0.2s ease;
}

#dashboard .cbd-faq__item[open] {
	border-color: #c7cbf5;
	box-shadow: 0 4px 16px rgba(82, 83, 249, 0.1);
}

#dashboard .cbd-faq__item[open] summary .cbd-icon {
	color: var(--cbd-primary);
	transform: rotate(180deg);
}

#dashboard .cbd-faq__item p {
	max-width: 660px;
	margin: -4px 0 0;
	padding: 0 20px 18px;
	font-size: 13px;
	line-height: 1.6;
	color: var(--cbd-muted);
}

#dashboard .cbd-faq__more {
	margin: 24px 0 0;
	font-size: 15px;
	color: var(--cbd-muted);
}

#dashboard .cbd-faq__more .cbd-link {
	font-size: 15px;
}

/* Closing CTA
--------------------------------------------- */
#dashboard .cbd-footer-cta {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 16px;
	padding: 10px 0 30px;
}

/* Sidebar
--------------------------------------------- */
#dashboard .cbd-sidebar {
	display: flex;
	flex-direction: column;
	gap: 20px;
	min-width: 0;
}

#dashboard .cbd-side {
	padding: 24px;
}

#dashboard .cbd-side__title {
	margin: 0 0 14px;
	font-size: 18px;
	font-weight: 600;
	letter-spacing: -0.4px;
	color: var(--cbd-heading);
}

#dashboard .cbd-side__links li + li {
	border-top: 1px solid var(--cbd-border);
}

#dashboard .cbd-side__links a {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 12px 0;
	font-size: 14px;
	color: var(--cbd-text);
	text-decoration: none;
}

#dashboard .cbd-side__links li:first-child a {
	padding-top: 2px;
}

#dashboard .cbd-side__links li:last-child a {
	padding-bottom: 0;
}

#dashboard .cbd-side__links a:hover {
	color: var(--cbd-primary);
}

#dashboard .cbd-side__links .cbd-icon {
	color: var(--cbd-primary);
}

#dashboard .cbd-side__news li + li {
	margin-top: 16px;
}

#dashboard .cbd-side__news strong {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	font-size: 14px;
	font-weight: 600;
	color: var(--cbd-heading);
}

#dashboard .cbd-side__news p {
	margin: 6px 0 0;
	font-size: 12.5px;
	line-height: 1.5;
	color: var(--cbd-muted);
}

#dashboard .cbd-side--promo {
	border-radius: 20px;
	background: linear-gradient(160deg, #151a3b 0%, #1c1d55 100%);
	color: #c3c8e6;
}

#dashboard .cbd-side--promo h3 {
	margin: 14px 0 10px;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.45;
	color: #fff;
}

#dashboard .cbd-side--promo p:not(.cbd-pill) {
	margin: 0 0 18px;
	font-size: 13px;
	color: #aab0d6;
}

/* Responsive
--------------------------------------------- */
@media (max-width: 1280px) {
	#dashboard .cbd-hero__features {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	#dashboard .cbd-personas,
	#dashboard .cbd-proof,
	#dashboard .cbd-themes__list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	#dashboard .cbd-feature,
	#dashboard .cbd-feature--leads,
	#dashboard .cbd-toolkit {
		grid-template-columns: minmax(0, 1fr);
		gap: 24px;
	}
}

@media (max-width: 1100px) {
	#dashboard {
		flex-direction: column;
		align-items: stretch;
	}

	#dashboard .cbd-sidebar {
		position: static;
	}
}

@media (max-width: 782px) {
	#dashboard .cbd-card,
	#dashboard .cbd-pro {
		padding: 22px 18px;
	}

	#dashboard .cbd-hero {
		padding: 0;
	}

	#dashboard .cbd-hero__intro {
		padding: 28px 18px;
	}

	#dashboard .cbd-hero__features {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		padding: 22px 18px;
	}

	#dashboard .cbd-hero__title,
	#dashboard .cbd-pro__title {
		font-size: 28px;
	}

	#dashboard .cbd-start,
	#dashboard .cbd-extras {
		grid-template-columns: minmax(0, 1fr);
	}

	#dashboard .cbd-task {
		grid-template-columns: auto minmax(0, 1fr);
		padding: 14px 16px;
	}

	#dashboard .cbd-task .cbd-btn {
		grid-column: 2;
		justify-self: start;
	}

	#dashboard .cbd-compare__row {
		grid-template-columns: minmax(0, 1fr) 56px 56px;
	}

	#dashboard .cbd-compare__row > span {
		padding: 14px 12px;
		font-size: 13px;
	}

	#dashboard .cbd-guarantee {
		flex-wrap: wrap;
	}

	#dashboard .cbd-guarantee .cbd-btn {
		margin-left: 0;
	}
}

@media (max-width: 520px) {
	#dashboard .cbd-hero__features,
	#dashboard .cbd-personas,
	#dashboard .cbd-proof,
	#dashboard .cbd-themes__list {
		grid-template-columns: minmax(0, 1fr);
	}

	#dashboard .cbd-btn {
		white-space: normal;
	}
}
