/* Knytto design system — ported from claude_design/. Covers landing + dashboard.
   Self-contained: does not depend on Tailwind. Load AFTER output.css. */

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
	font-family: 'Inter', system-ui, sans-serif;
	color: var(--text);
	background: var(--bg);
	-webkit-font-smoothing: antialiased;
	font-size: 14px;
	line-height: 1.55;
}

:root {
	--display: 'Inter Tight', 'Inter', system-ui, sans-serif;
	--accent: oklch(0.55 0.22 295);
	--accent-soft: oklch(0.96 0.03 295);
	--accent-border: oklch(0.88 0.06 295);
	--accent-text: oklch(0.45 0.22 295);
	--accent-deep: oklch(0.40 0.22 295);
	--bg: oklch(0.99 0.003 280);
	--surface: #ffffff;
	--border: oklch(0.93 0.005 280);
	--border-strong: oklch(0.88 0.005 280);
	--text: oklch(0.18 0.01 280);
	--text-muted: oklch(0.50 0.01 280);
	--text-subtle: oklch(0.62 0.01 280);
	--success: oklch(0.58 0.14 155);
	--success-soft: oklch(0.96 0.04 155);
	--warning: oklch(0.72 0.15 75);
	--warning-soft: oklch(0.96 0.05 75);
	--danger: oklch(0.58 0.20 25);
	--danger-soft: oklch(0.96 0.04 25);
}

a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; }
button { font-family: inherit; cursor: pointer; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 28px; }
.wrap-wide { max-width: 1240px; margin: 0 auto; padding: 0 32px; }
.display { font-family: var(--display); letter-spacing: -0.03em; font-weight: 600; }

/* ─── Top nav ─────────────────────────── */
nav.k-top {
	height: 56px;
	display: flex;
	align-items: center;
	gap: 32px;
	border-bottom: 1px solid var(--border);
	background: rgba(255, 255, 255, 0.85);
	backdrop-filter: blur(8px);
	position: sticky;
	top: 0;
	z-index: 40;
	padding: 0 32px;
}
nav.k-top .logo {
	font-family: var(--display);
	font-size: 19px;
	font-weight: 700;
	color: var(--accent);
	letter-spacing: -0.02em;
}
nav.k-top ul {
	display: flex;
	gap: 4px;
	list-style: none;
	margin: 0;
	padding: 0;
}
nav.k-top ul a {
	padding: 6px 12px;
	border-radius: 6px;
	font-size: 13px;
	color: var(--text-muted);
}
nav.k-top ul a.active {
	color: var(--text);
	background: oklch(0.96 0.005 280);
	font-weight: 500;
}
nav.k-top ul a:hover {
	color: var(--text);
	background: oklch(0.96 0.005 280);
	text-decoration: none;
}
nav.k-top .right {
	margin-left: auto;
	display: flex;
	align-items: center;
	gap: 12px;
}
nav.k-top .avatar {
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: var(--accent-soft);
	color: var(--accent-deep);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-weight: 600;
	font-size: 11px;
}

/* ─── Buttons ─────────────────────────── */
.btn {
	padding: 10px 18px;
	border-radius: 8px;
	font-size: 13px;
	font-weight: 500;
	border: 1px solid transparent;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	transition: all .15s;
	background: transparent;
	color: var(--text);
}
.btn:hover { text-decoration: none; }
.btn.ghost { background: transparent; color: var(--text); }
.btn.ghost:hover { background: oklch(0.96 0.005 280); }
.btn.outline { background: white; color: var(--text); border-color: var(--border); }
.btn.outline:hover { border-color: var(--text-subtle); }
.btn.primary { background: var(--accent); color: white; }
.btn.primary:hover { background: var(--accent-deep); color: white; }
.btn.danger-outline { background: white; color: var(--danger); border-color: var(--danger); }
.btn.sm { padding: 6px 12px; font-size: 12px; }
.btn.md { padding: 8px 14px; font-size: 13px; }
.btn.lg { padding: 13px 22px; font-size: 14px; }
.btn:disabled,
.btn.is-disabled {
	opacity: 0.55;
	cursor: not-allowed;
	pointer-events: none;
}

/* ─── Landing-specific ─────────────────────────── */
.hero-split {
	padding: 56px 0 80px;
	position: relative;
	overflow: hidden;
}
.hero-split::before {
	content: '';
	position: absolute;
	top: -250px;
	right: -200px;
	width: 800px;
	height: 800px;
	border-radius: 50%;
	background: radial-gradient(circle, var(--accent-soft) 0%, transparent 60%);
	z-index: 0;
}
.hero-split .wrap { position: relative; z-index: 1; }
.hero-grid {
	display: grid;
	grid-template-columns: 1.2fr 1fr;
	gap: 56px;
	align-items: center;
}
.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 5px 12px 5px 6px;
	border-radius: 999px;
	background: white;
	border: 1px solid var(--border);
	font-size: 12px;
	color: var(--text-muted);
	margin-bottom: 20px;
}
.eyebrow .dot {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	background: var(--success-soft);
	color: var(--success);
	padding: 2px 8px;
	border-radius: 999px;
	font-weight: 500;
	font-size: 11px;
}
.eyebrow .dot::before {
	content: '';
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--success);
	box-shadow: 0 0 0 3px oklch(0.92 0.06 155);
}
h1.ht {
	font-family: var(--display);
	font-size: 56px;
	font-weight: 600;
	letter-spacing: -0.035em;
	line-height: 1.02;
	margin: 0 0 20px;
}
h1.ht em { font-style: normal; color: var(--accent); font-weight: 600; }
.hsub { font-size: 17px; color: var(--text-muted); line-height: 1.55; margin: 0 0 28px; max-width: 480px; }
.hcta { display: flex; gap: 10px; flex-wrap: wrap; }
.hmeta { display: flex; gap: 18px; margin-top: 24px; font-size: 12px; color: var(--text-muted); flex-wrap: wrap; }
.hmeta span { display: inline-flex; align-items: center; gap: 6px; }
.hmeta svg { color: var(--success); }

.price-card {
	background: white;
	border: 1px solid var(--border);
	border-radius: 18px;
	padding: 4px;
	position: relative;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03), 0 16px 48px -20px oklch(0.45 0.15 295 / 0.25);
}
.price-card-inner {
	padding: 28px;
	border-radius: 15px;
	background: linear-gradient(180deg, white 0%, oklch(0.985 0.005 295) 100%);
	border: 1px solid oklch(0.95 0.005 280);
}
.pc-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 20px;
	padding-bottom: 20px;
	border-bottom: 1px dashed var(--border);
}
.pc-head h3 {
	font-family: var(--display);
	font-size: 14px;
	margin: 0;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: var(--text-muted);
}
.pc-badge {
	background: var(--accent);
	color: white;
	font-size: 10px;
	font-weight: 600;
	padding: 4px 9px;
	border-radius: 999px;
	letter-spacing: 0.04em;
}
.pc-toggle {
	display: flex;
	background: oklch(0.97 0.003 280);
	border-radius: 10px;
	padding: 4px;
	margin-bottom: 20px;
	gap: 2px;
}
.pc-toggle button {
	flex: 1;
	padding: 8px 12px;
	border-radius: 7px;
	border: none;
	background: transparent;
	font-size: 12px;
	font-weight: 500;
	color: var(--text-muted);
}
.pc-toggle button.active {
	background: white;
	color: var(--text);
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}
.pc-price {
	display: flex;
	align-items: baseline;
	gap: 8px;
	margin-bottom: 4px;
	flex-wrap: nowrap;
	white-space: nowrap;
}
.pc-price .big {
	font-family: var(--display);
	font-size: 48px;
	font-weight: 700;
	letter-spacing: -0.04em;
	line-height: 1;
	color: var(--text);
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}
.pc-price .cur { font-size: 18px; color: var(--text-muted); font-weight: 500; }
.pc-price .per { font-size: 14px; color: var(--text-muted); margin-left: 4px; }
.pc-effective {
	font-size: 12px;
	color: var(--accent-text);
	font-weight: 500;
	margin-bottom: 20px;
	min-height: 14px;
}
.pc-list { list-style: none; padding: 0; margin: 0 0 22px; }
.pc-list li { padding: 6px 0; font-size: 13px; display: flex; align-items: center; gap: 8px; color: var(--text); }
.pc-list svg { color: var(--success); flex-shrink: 0; }
.pc-cta { width: 100%; justify-content: center; padding: 12px; font-size: 14px; }
.pc-foot {
	margin-top: 14px;
	font-size: 11px;
	color: var(--text-subtle);
	text-align: center;
}

section.k-section { padding: 88px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.section-head .et {
	font-size: 12px;
	color: var(--accent-text);
	font-weight: 500;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	margin-bottom: 12px;
}
.section-head h2 {
	font-family: var(--display);
	font-size: 38px;
	font-weight: 600;
	letter-spacing: -0.03em;
	margin: 0 0 12px;
	line-height: 1.1;
}
.section-head p { font-size: 16px; color: var(--text-muted); line-height: 1.55; margin: 0; }

.steps-bg {
	background: oklch(0.98 0.003 280);
	border-top: 1px solid var(--border);
	border-bottom: 1px solid var(--border);
}
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step { background: white; border: 1px solid var(--border); border-radius: 14px; padding: 26px; }
.step-num {
	width: 30px;
	height: 30px;
	border-radius: 8px;
	background: var(--accent);
	color: white;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-family: var(--display);
	font-weight: 600;
	font-size: 13px;
	margin-bottom: 16px;
}
.step h3 { font-family: var(--display); font-size: 18px; font-weight: 600; letter-spacing: -0.02em; margin: 0 0 6px; }
.step p { font-size: 13px; color: var(--text-muted); line-height: 1.55; margin: 0; }

.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.feature { background: white; border: 1px solid var(--border); border-radius: 14px; padding: 22px; transition: border-color .15s; }
.feature:hover { border-color: var(--accent-border); }
.feature-icon {
	width: 38px;
	height: 38px;
	border-radius: 10px;
	background: var(--accent-soft);
	color: var(--accent-deep);
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 14px;
}
.feature h3 { font-family: var(--display); font-size: 15px; margin: 0 0 6px; font-weight: 600; }
.feature p { font-size: 13px; color: var(--text-muted); margin: 0; line-height: 1.5; }

.faq { max-width: 720px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--border); padding: 18px 0; }
.faq summary {
	list-style: none;
	cursor: pointer;
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-family: var(--display);
	font-size: 16px;
	font-weight: 500;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 22px; color: var(--text-muted); font-weight: 300; }
.faq details[open] summary::after { content: '−'; }
.faq details p { font-size: 14px; color: var(--text-muted); line-height: 1.6; margin: 12px 0 0; }

.cta-band {
	background: var(--text);
	color: white;
	border-radius: 20px;
	padding: 52px 40px;
	text-align: center;
	position: relative;
	overflow: hidden;
}
.cta-band::after {
	content: '';
	position: absolute;
	inset: 0;
	background: radial-gradient(circle at 80% 0%, var(--accent) 0%, transparent 50%);
	opacity: 0.3;
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 {
	font-family: var(--display);
	font-size: 32px;
	font-weight: 600;
	letter-spacing: -0.03em;
	margin: 0 0 10px;
}
.cta-band p { font-size: 15px; color: rgba(255, 255, 255, 0.7); margin: 0 0 24px; }
.cta-band .btn.primary { background: white; color: var(--text); }
.cta-band .btn.primary:hover { background: oklch(0.95 0.005 280); color: var(--text); }

footer.k-footer {
	border-top: 1px solid var(--border);
	padding: 36px 0;
	margin-top: 40px;
	color: var(--text-muted);
	font-size: 12px;
}
footer.k-footer .wrap { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
footer.k-footer a:hover { color: var(--text); }

/* ─── Dashboard — Variant 1 ─────────────────────────── */
.k-dash { background: var(--bg); min-height: 100vh; }
.k-dash-body { max-width: 1240px; margin: 0 auto; padding: 32px 32px 48px; }

.dash-greet-row {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	margin-bottom: 28px;
	gap: 24px;
	flex-wrap: wrap;
}
.dash-greet h1 {
	font-family: var(--display);
	font-size: 26px;
	font-weight: 600;
	letter-spacing: -0.02em;
	margin: 0 0 4px;
}
.dash-greet .sub { font-size: 14px; color: var(--text-muted); }
.dash-greet .countdown { font-variant-numeric: tabular-nums; font-weight: 500; color: var(--accent-text); }

.stat-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 12px;
	margin-bottom: 16px;
}
.stat {
	background: white;
	border: 1px solid var(--border);
	border-radius: 12px;
	padding: 16px 18px;
}
.stat .label { font-size: 12px; color: var(--text-muted); margin-bottom: 6px; }
.stat .value {
	font-family: var(--display);
	font-size: 24px;
	font-weight: 600;
	letter-spacing: -0.02em;
	color: var(--text);
	font-variant-numeric: tabular-nums;
	display: flex;
	align-items: baseline;
	gap: 8px;
}
.stat .value.muted { color: var(--text-muted); }
.stat .value .delta {
	font-family: 'Inter', system-ui, sans-serif;
	font-size: 11px;
	font-weight: 500;
	color: var(--text-subtle);
	padding: 0;
	border-radius: 4px;
}
.stat .value .delta.positive {
	color: var(--success);
	background: var(--success-soft);
	padding: 2px 6px;
}
.stat .sub { font-size: 11px; color: var(--text-subtle); margin-top: 4px; }

.card {
	background: white;
	border: 1px solid var(--border);
	border-radius: 12px;
	padding: 20px;
}
.card + .card { margin-top: 16px; }
.card h2, .card .card-title {
	font-family: 'Inter', system-ui, sans-serif;
	font-size: 14px;
	font-weight: 600;
	color: var(--text);
	margin: 0 0 12px;
}
.card .card-subtitle { font-size: 12px; color: var(--text-muted); margin-top: -6px; margin-bottom: 16px; }

.chart-card { padding: 24px; }
.chart-head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	margin-bottom: 20px;
	gap: 16px;
	flex-wrap: wrap;
}
.chart-head .title { font-size: 14px; font-weight: 600; color: var(--text); margin-bottom: 2px; }
.chart-head .subtitle { font-size: 12px; color: var(--text-muted); }
.chart-legend { display: flex; gap: 16px; align-items: center; }
.legend-item { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; color: var(--text-muted); }
.legend-swatch { width: 8px; height: 8px; border-radius: 2px; display: inline-block; }

.sync-bars {
	position: relative;
	padding-left: 32px;
	height: 180px;
}
.sync-bars .y-axis {
	position: absolute;
	left: 0;
	top: 0;
	bottom: 28px;
	width: 32px;
	font-size: 10px;
	color: var(--text-subtle);
	font-variant-numeric: tabular-nums;
}
.sync-bars .y-axis span { position: absolute; right: 8px; transform: translateY(-50%); }
.sync-bars .grid {
	position: relative;
	height: 148px;
	border-bottom: 1px solid var(--border);
	display: flex;
	/* stretch (not flex-end) so each `.bar` column gets the full grid height,
	   letting inner segment `height: N%` resolve against a real number. */
	align-items: stretch;
	gap: 2px;
}
.sync-bars .grid::before,
.sync-bars .grid::after {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	border-top: 1px dashed var(--border);
}
.sync-bars .grid::before { top: 33%; }
.sync-bars .grid::after { top: 66%; }
.sync-bars .bar {
	flex: 1;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	position: relative;
	cursor: pointer;
	min-height: 2px;
}
.sync-bars .bar .seg-success {
	background: var(--accent);
	opacity: 0.85;
	border-radius: 2px 2px 0 0;
	transition: opacity .12s;
}
.sync-bars .bar .seg-failed {
	background: var(--danger);
	opacity: 0.85;
	border-radius: 2px 2px 0 0;
	transition: opacity .12s;
}
.sync-bars .bar:hover .seg-success,
.sync-bars .bar:hover .seg-failed { opacity: 1; }
.sync-bars .bar .tip {
	position: absolute;
	bottom: 100%;
	left: 50%;
	transform: translateX(-50%);
	margin-bottom: 6px;
	background: var(--text);
	color: white;
	font-size: 11px;
	padding: 6px 8px;
	border-radius: 4px;
	white-space: nowrap;
	z-index: 10;
	pointer-events: none;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
	opacity: 0;
	transition: opacity .12s;
}
.sync-bars .bar:hover .tip { opacity: 1; }
.sync-bars .bar .tip .tip-date { font-weight: 600; margin-bottom: 2px; }
.sync-bars .bar .tip .tip-ok { color: rgba(255, 255, 255, 0.7); }
.sync-bars .bar .tip .tip-fail { color: oklch(0.85 0.15 25); }
.sync-bars .x-axis {
	margin-top: 8px;
	height: 14px;
	display: flex;
	justify-content: space-between;
	font-size: 10px;
	color: var(--text-subtle);
	font-variant-numeric: tabular-nums;
}

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.connection-row { display: flex; align-items: center; gap: 12px; }
.connection-icon {
	width: 36px;
	height: 36px;
	border-radius: 8px;
	background: var(--accent-soft);
	color: var(--accent-deep);
	display: flex;
	align-items: center;
	justify-content: center;
}
.connection-body { flex: 1; min-width: 0; }
.connection-body .name { font-size: 13px; font-weight: 500; color: var(--text); }
.connection-body .sub { font-size: 11px; color: var(--text-muted); }
.status-chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 11px;
	color: var(--success);
	background: var(--success-soft);
	padding: 4px 8px;
	border-radius: 999px;
	font-weight: 500;
}
.status-chip.warn { color: var(--warning); background: var(--warning-soft); }
.status-chip.danger { color: var(--danger); background: var(--danger-soft); }
.hr-soft { height: 1px; background: var(--border); margin: 12px 0; border: none; }
.chip {
	padding: 4px 10px;
	border-radius: 999px;
	background: var(--accent-soft);
	color: var(--accent-deep);
	font-size: 11px;
	font-weight: 500;
	display: inline-block;
}
.chip-row { display: flex; flex-wrap: wrap; gap: 6px; }

.activity-row {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px 0;
	border-bottom: 1px solid var(--border);
}
.activity-row:last-child { border-bottom: none; }
.activity-icon {
	width: 28px;
	height: 28px;
	border-radius: 6px;
	background: oklch(0.97 0.003 280);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--text-muted);
	flex-shrink: 0;
}
.activity-body { flex: 1; min-width: 0; }
.activity-body .detail { font-size: 13px; color: var(--text); margin-bottom: 1px; }
.activity-body .meta { font-size: 11px; color: var(--text-subtle); }
.health-dot {
	display: inline-block;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--success);
	box-shadow: 0 0 0 3px var(--success-soft);
	flex-shrink: 0;
}
.health-dot.warn { background: var(--warning); box-shadow: 0 0 0 3px var(--warning-soft); }
.health-dot.danger { background: var(--danger); box-shadow: 0 0 0 3px var(--danger-soft); }

/* Controls grouping (VAT checkbox, sync prefs, schedule) */
.control-group {
	background: white;
	border: 1px solid var(--border);
	border-radius: 12px;
	padding: 18px 20px;
}
.control-group + .control-group { margin-top: 12px; }
.control-group h3 {
	font-size: 13px;
	font-weight: 600;
	color: var(--text);
	margin: 0 0 6px;
}
.control-group p.control-help {
	font-size: 12px;
	color: var(--text-muted);
	margin: 0 0 12px;
}
.checkbox-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.k-checkbox {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 13px;
	color: var(--text);
	cursor: pointer;
}
.k-checkbox input[type="checkbox"] {
	width: 14px;
	height: 14px;
	accent-color: var(--accent);
}
.k-select {
	padding: 8px 10px;
	border: 1px solid var(--border);
	border-radius: 8px;
	background: white;
	font-size: 13px;
	color: var(--text);
	font-family: inherit;
}
.k-select:focus {
	outline: none;
	border-color: var(--accent);
	box-shadow: 0 0 0 3px var(--accent-soft);
}

/* Progress panel (HTMX polled) */
.progress-card {
	border-radius: 14px;
	border: 1px solid var(--accent-border);
	background: linear-gradient(135deg, white 0%, var(--accent-soft) 100%);
	padding: 20px;
	margin-bottom: 16px;
}
.progress-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 12px;
	gap: 12px;
}
.progress-title {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 13px;
	font-weight: 600;
	color: var(--accent-deep);
}
.progress-pulse {
	position: relative;
	display: inline-flex;
	width: 10px;
	height: 10px;
}
.progress-pulse::before {
	content: '';
	position: absolute;
	inset: 0;
	border-radius: 50%;
	background: var(--accent);
	opacity: 0.75;
	animation: k-ping 1.5s cubic-bezier(0, 0, 0.2, 1) infinite;
}
.progress-pulse::after {
	content: '';
	position: absolute;
	inset: 1px;
	border-radius: 50%;
	background: var(--accent);
}
@keyframes k-ping {
	75%, 100% { transform: scale(2); opacity: 0; }
}
.progress-counts { font-size: 12px; color: var(--accent-text); font-variant-numeric: tabular-nums; }
.progress-bar { height: 6px; border-radius: 999px; background: white; overflow: hidden; border: 1px solid var(--border); }
.progress-bar > div {
	height: 100%;
	background: var(--accent);
	transition: width .5s ease-out;
}
.progress-bar.indeterminate > div {
	width: 50%;
	animation: k-shimmer 1.4s ease-in-out infinite;
}
@keyframes k-shimmer {
	0% { transform: translateX(-100%); }
	100% { transform: translateX(200%); }
}
.progress-step {
	margin-top: 10px;
	font-size: 12px;
	color: var(--accent-deep);
	display: flex;
	gap: 6px;
	align-items: center;
}
.progress-step .arrow { color: var(--accent); }
.progress-events {
	margin-top: 12px;
	max-height: 160px;
	overflow-y: auto;
	padding-top: 10px;
	border-top: 1px solid var(--accent-border);
	list-style: none;
	padding-left: 0;
}
.progress-events li {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 12px;
	padding: 2px 0;
}
.progress-events .ev-name { color: var(--text); flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.progress-events .ev-label {
	margin-left: auto;
	font-size: 10px;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	font-weight: 500;
}
.ev-dot { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; }
.ev-created .ev-dot { background: var(--success); }
.ev-created .ev-label { color: var(--success); }
.ev-updated .ev-dot { background: oklch(0.58 0.13 240); }
.ev-updated .ev-label { color: oklch(0.45 0.13 240); }
.ev-skipped .ev-dot { background: var(--text-subtle); }
.ev-skipped .ev-label,
.ev-skipped .ev-name { color: var(--text-muted); }
.ev-failed .ev-dot { background: var(--danger); }
.ev-failed .ev-label,
.ev-failed .ev-name { color: var(--danger); }

/* Messages (flash) */
.k-messages { margin-bottom: 20px; display: flex; flex-direction: column; gap: 8px; }
.k-msg {
	padding: 10px 14px;
	border-radius: 10px;
	font-size: 13px;
	border: 1px solid transparent;
}
.k-msg.success { background: var(--success-soft); color: var(--success); border-color: oklch(0.90 0.06 155); }
.k-msg.error { background: var(--danger-soft); color: var(--danger); border-color: oklch(0.90 0.08 25); }
.k-msg.warning { background: var(--warning-soft); color: oklch(0.40 0.10 75); border-color: oklch(0.90 0.08 75); }

/* Responsive */
@media (max-width: 900px) {
	h1.ht { font-size: 40px; }
	.hero-grid, .steps, .features, .stat-grid, .two-col { grid-template-columns: 1fr; }
	section.k-section { padding: 56px 0; }
	.k-dash-body { padding: 20px 16px 40px; }
}
