html {
    background: #edf2f7;
}

h1, h2, h3, h4 {
    font-family: "Lilita One", serif;
    font-weight: 400;
    font-style: normal;
}

.petal-color-0 { background-color: none; }
.petal-color-1 { background-color: #F24822; }
.petal-color-2 { background-color: #FFA629; }
.petal-color-3 { background-color: #FFCD29; }
.petal-color-4 { background-color: #BC0; }
.petal-color-5 { background-color: #14AE5C; }


.rotate {   
    animation-name: spin;
    animation-duration: 5s;
    animation-iteration-count: infinite;
    animation-timing-function: linear; 
}

@keyframes spin {
    from {
        transform:rotate(0deg);
    }
    to {
        transform:rotate(360deg);
    }
}

	/* Success message - Green gradient */
	.message-gradient-success {
		background: linear-gradient(135deg, #0097b2 0%, #7ed957 100%);
		color: #064e3b;
		border: none;
	}

	/* Error message - Red gradient */
	.message-gradient-error {
		background: linear-gradient(135deg, #fecaca 0%, #f87171 100%);
		color: #7f1d1d;
		border: none;
	}

	/* Warning message - Yellow gradient */
	.message-gradient-warning {
		background: linear-gradient(135deg, #fde68a 0%, #fbbf24 100%);
		color: #78350f;
		border: none;
	}

	/* Info message - Blue gradient */
	.message-gradient-info {
		background: linear-gradient(135deg, #bfdbfe 0%, #60a5fa 100%);
		color: #1e3a8a;
		border: none;
	}

	/* Common styles for all message alerts */
	[class*='message-gradient-'] {
		margin-bottom: 1rem;
	}

	/* Style for close button */
	[class*='message-gradient-'] .uk-alert-close {
		color: currentColor;
		opacity: 0.7;
	}

	[class*='message-gradient-'] .uk-alert-close:hover {
		opacity: 1;
	}

/* Increase tooltip padding by 10px over UIKit default (3px 6px) */
.uk-tooltip {
    padding: 13px 16px;
}

/* ── Upgrade card – Plus upsell (billing_plan == 0) ── */
.plus-upgrade-eyebrow {
	font-size: 10px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: #ec4899;
	margin-bottom: 6px;
}
.plus-upgrade-title {
	font-size: 26px;
	line-height: 1.1;
	color: #111;
	margin-top: 0;
	margin-bottom: 20px;
}
.plus-upgrade-title span { color: #ec4899; }
.plus-feature-box {
	background: #fdf2f8;
	border-radius: 14px;
	padding: 16px;
	margin-bottom: 20px;
}
.plus-feature-label {
	font-size: 9px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #ec4899;
	text-align: center;
	margin-bottom: 14px;
}
.plus-feature-row {
	display: grid;
	grid-template-columns: 1fr 28px 1fr;
	align-items: center;
	padding: 10px 0;
	border-bottom: 1px solid #fce7f3;
	gap: 8px;
}
.plus-feature-row:last-child { border-bottom: none; }
.plus-feature-free {
	font-size: 12px;
	color: #9ca3af;
	text-align: right;
	text-decoration: line-through;
}
.plus-feature-arrow {
	width: 28px;
	height: 28px;
	background: #ec4899;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 11px;
	color: #fff;
	font-weight: 700;
}
.plus-feature-plus {
	font-size: 13px;
	font-weight: 700;
	color: #111;
}
.plus-billing-label {
	font-size: 11px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: #6b7280;
	margin-bottom: 10px;
}
.plus-options {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin-bottom: 16px;
}
.plus-option {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 10px 14px;
	border-radius: 10px;
	border: 2px solid #e5e7eb;
	cursor: pointer;
	transition: border-color 0.15s, background 0.15s;
}
.plus-option:has(input[type="radio"]:checked) {
	border-color: #ec4899;
	background: #fdf2f8;
}
.plus-option input[type="radio"] {
	position: absolute;
	opacity: 0;
	width: 0;
	height: 0;
}
.plus-option-inner {
	display: flex;
	align-items: center;
	gap: 10px;
}
.plus-option-radio {
	width: 16px;
	height: 16px;
	border-radius: 50%;
	border: 2px solid #d1d5db;
	flex-shrink: 0;
	box-sizing: border-box;
	background: #fff;
	transition: border-color 0.15s, background 0.15s;
}
.plus-option:has(input[type="radio"]:checked) .plus-option-radio {
	border-color: #ec4899;
	background: radial-gradient(circle, #ec4899 4px, #fff 5px);
}
.plus-option-name { font-size: 13px; font-weight: 600; color: #111; }
.plus-option-price { font-size: 12px; color: #6b7280; }
.plus-save-badge {
	font-size: 9px;
	background: #10b981;
	color: #fff;
	padding: 2px 6px;
	border-radius: 20px;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	white-space: nowrap;
}
.plus-trial-notice {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 12px;
	color: #10b981;
	margin-bottom: 14px;
	font-weight: 500;
}
.plus-cta {
	display: block;
	width: 100%;
	background: #ec4899;
	color: #fff;
	border: none;
	border-radius: 12px;
	padding: 15px;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	cursor: pointer;
	transition: background 0.15s;
}
.plus-cta:hover { background: #db2777; color: #fff; }
.plus-cta.is-inline { display: inline-block; width: auto; padding: 13px 26px; text-decoration: none; box-sizing: border-box; }

/* ============================================================
   Scheduled Snapshots page (raw hex; tokens translated from
   tokens/colors.css per decision D7 — no CSS variables)
   ============================================================ */

/* ---- Section heading ------------------------------------- */
.section-eyebrow { font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: #ec4899; text-align: center; margin-bottom: 4px; }

/* ---- Who the snapshots go to + name-token help ----------- */
.sched-recipients { font-size: 13px; color: #6b7280; margin: 10px 0 0; }
.sched-recipients [uk-icon] { color: #9ca3af; margin-right: 4px; }
.sched-token-help { font-size: 12px; margin-top: 6px; }
.token-chip { display: inline-flex; align-items: center; font-family: Consolas, monaco, monospace; font-size: 11px; background: #f3f4f6; border: 1px solid #e5e5e5; padding: 2px 8px; border-radius: 999px; color: #374151; cursor: pointer; line-height: 1.5; }
.token-chip:hover { background: #e5e7eb; }

/* ---- Live summary panel (chrome via UIKit uk-card; content styles only) ---- */
.summary-block .sb-line { display: flex; align-items: center; gap: 10px; font-size: 14px; color: #111111; padding: 3px 0; }
.summary-block .sb-line strong { font-weight: 700; }
.summary-block .sb-ico { color: #ec4899; flex-shrink: 0; }
.summary-block .sb-note { display: flex; align-items: center; gap: 8px; margin-top: 10px; padding-top: 10px; border-top: 1px solid #fce7f3; font-size: 12px; color: #6b7280; }

/* ---- Scheduled-snapshots promo banner (components/schedule_promo_banner.html) ---- */
.schedule-promo { gap: 12px; }
.schedule-promo .sp-text { font-size: 14px; }
.schedule-promo .sp-icon { color: #ec4899; }

/* ---- Schedules list header ------------------------------- */
.list-head h2 { font-size: 24px; color: #333333; }
.list-head .count { font-size: 13px; }

/* ---- Schedule cards -------------------------------------- */
.schedule-list { display: flex; flex-direction: column; gap: 16px; }
.schedule-card { background: #ffffff; box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08); padding: 22px 24px; }
.schedule-card.is-paused { opacity: 0.92; background: #fbfcfd; }
.sc-head { display: flex; align-items: flex-start; gap: 12px; }
.sc-title { flex: 1; min-width: 0; }
.sc-title h3 { font-size: 20px; color: #333333; margin: 0 0 3px; }
.sc-template { display: block; font-family: Consolas, monaco, monospace; font-size: 11px; color: #9ca3af; margin: 0 0 4px; word-break: break-word; }
.sc-cadence { font-size: 13px; color: #999999; display: inline-flex; align-items: center; gap: 6px; }
.sc-meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px 18px; margin-top: 16px; }
.sc-meta .m-label { font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: #999999; margin-bottom: 3px; }
.sc-meta .m-value { font-size: 14px; color: #111111; }
.sc-meta .m-value.mono { font-family: Consolas, monaco, monospace; font-size: 13px; }
.sc-actions { display: flex; gap: 8px; margin-top: 18px; padding-top: 16px; border-top: 1px solid #e5e5e5; }
.sc-action-form { margin: 0; }

/* ---- Status pill ----------------------------------------- */
.status-pill { display: inline-flex; align-items: center; gap: 5px; height: 22px; padding: 0 10px; border-radius: 500px; font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; white-space: nowrap; }
.status-pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.status-pill.is-active { background: rgba(16, 185, 129, 0.14); color: #0a7a55; }
.status-pill.is-paused { background: rgba(102, 102, 102, 0.12); color: #666666; }

/* ---- Warning callout (warm amber, not error red) --------- */
.sched-warning { display: flex; gap: 12px; align-items: flex-start; margin-top: 16px; padding: 13px 16px; background: #fff6e9; border: 1px solid #ffd9a3; border-radius: 8px; color: #78350f; font-size: 13.5px; line-height: 1.45; }
.sched-warning .sw-ico { color: #ffa629; flex-shrink: 0; margin-top: 1px; }
.sched-warning strong { font-weight: 700; }

/* ---- Empty state ----------------------------------------- */
.sched-empty { border: 1px dashed #e5e5e5; border-radius: 8px; padding: 34px 24px; text-align: center; color: #999999; }
.sched-empty .se-ico { color: #9ca3af; margin-bottom: 8px; }
.sched-empty p { margin: 0; font-size: 15px; }

/* ---- Entry-point link / nudge (team_detail) -------------- */
.manage-entry { display: flex; justify-content: center; margin: 22px 0 6px; }
.manage-link { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border: 1px solid #e5e5e5; background: #fff; color: #333333; font-size: 13px; text-transform: uppercase; letter-spacing: 0.04em; text-decoration: none; transition: border-color 0.12s, color 0.12s; }
.manage-link:hover { border-color: #b2b2b2; color: #111111; }
.manage-nudge { max-width: 460px; margin: 18px auto 0; display: flex; align-items: center; gap: 10px; justify-content: center; padding: 12px 16px; background: #fdf2f8; border: 1px solid #fce7f3; border-radius: 10px; font-size: 13px; color: #6b7280; }
.manage-nudge a { color: #ec4899; font-weight: 700; text-decoration: none; }
.manage-nudge a:hover { color: #db2777; }

@media (max-width: 640px) {
	.sc-meta { grid-template-columns: 1fr 1fr; }
	.summary-block .sb-line { font-size: 13px; }
}