:root {
	--font-sans: "Plus Jakarta Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	--font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

	/* Neutral Palette */
	--bg-canvas: #f8fafc;
	--bg-surface: #ffffff;
	--bg-subtle: #f1f5f9;
	--bg-muted: #e2e8f0;
	--border-subtle: #e2e8f0;
	--border-medium: #cbd5e1;
	--border-strong: #94a3b8;

	--text-main: #0f172a;
	--text-muted: #64748b;
	--text-faint: #94a3b8;

	/* Primary Brand */
	--primary: #4f46e5;
	--primary-hover: #4338ca;
	--primary-bg: #eef2ff;
	--primary-border: #c7d2fe;

	/* Column 1: Went Well (Emerald) */
	--went-well-accent: #059669;
	--went-well-bg-light: #f0fdf4;
	--went-well-border: #bbf7d0;
	--went-well-header-bg: #dcfce7;
	--went-well-tag: #15803d;

	/* Column 2: To Improve (Amber/Coral) */
	--to-improve-accent: #d97706;
	--to-improve-bg-light: #fffbeb;
	--to-improve-border: #fde68a;
	--to-improve-header-bg: #fef3c7;
	--to-improve-tag: #b45309;

	/* Column 3: Action Items (Violet/Indigo) */
	--action-accent: #7c3aed;
	--action-bg-light: #f5f3ff;
	--action-border: #ddd6fe;
	--action-header-bg: #ede9fe;
	--action-tag: #6d28d9;

	/* Shadows */
	--shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
	--shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
	--shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
	--shadow-card: 0 2px 4px rgba(15, 23, 42, 0.04), 0 1px 2px rgba(15, 23, 42, 0.06);
	--shadow-card-hover: 0 8px 16px -2px rgba(15, 23, 42, 0.08), 0 3px 6px -2px rgba(15, 23, 42, 0.04);

	--radius-sm: 6px;
	--radius-md: 10px;
	--radius-lg: 14px;
	--radius-full: 9999px;
}

@media (prefers-color-scheme: dark) {
	:root {
		--bg-canvas: #090d16;
		--bg-surface: #131926;
		--bg-subtle: #1c2436;
		--bg-muted: #242f45;
		--border-subtle: #242f45;
		--border-medium: #334155;
		--border-strong: #475569;

		--text-main: #f8fafc;
		--text-muted: #94a3b8;
		--text-faint: #64748b;

		--primary: #6366f1;
		--primary-hover: #818cf8;
		--primary-bg: #1e1b4b;
		--primary-border: #3730a3;

		--went-well-accent: #10b981;
		--went-well-bg-light: #062e1e;
		--went-well-border: #065f46;
		--went-well-header-bg: #064e3b;
		--went-well-tag: #34d399;

		--to-improve-accent: #f59e0b;
		--to-improve-bg-light: #331f06;
		--to-improve-border: #78350f;
		--to-improve-header-bg: #5f2c08;
		--to-improve-tag: #fbbf24;

		--action-accent: #a78bfa;
		--action-bg-light: #241442;
		--action-border: #5b21b6;
		--action-header-bg: #4c1d95;
		--action-tag: #c4b5fd;

		--shadow-card: 0 2px 6px rgba(0, 0, 0, 0.35);
		--shadow-card-hover: 0 8px 20px rgba(0, 0, 0, 0.45);
	}
}

* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

body {
	font-family: var(--font-sans);
	background-color: var(--bg-canvas);
	color: var(--text-main);
	min-height: 100vh;
	-webkit-font-smoothing: antialiased;
}

/* Toast Banner */
.toast-banner {
	position: fixed;
	bottom: 24px;
	right: 24px;
	background: #0f172a;
	color: #ffffff;
	padding: 10px 18px;
	border-radius: var(--radius-md);
	font-size: 0.875rem;
	font-weight: 500;
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
	z-index: 9999;
	animation: slideUp 0.2s cubic-bezier(0.16, 1, 0.3, 1);
	border: 1px solid rgba(255, 255, 255, 0.1);
}

@keyframes slideUp {
	from {
		transform: translateY(20px);
		opacity: 0;
	}
	to {
		transform: translateY(0);
		opacity: 1;
	}
}

/* App Wrapper */
.retro-app {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}

/* Header */
.retro-header {
	background: var(--bg-surface);
	border-bottom: 1px solid var(--border-subtle);
	padding: 1rem 1.75rem 0.85rem;
	position: sticky;
	top: 0;
	z-index: 100;
	box-shadow: var(--shadow-sm);
}

.header-top-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	flex-wrap: wrap;
	margin-bottom: 0.75rem;
}

.brand-section {
	display: flex;
	align-items: center;
	gap: 0.85rem;
	flex-wrap: wrap;
}

.brand-badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 3px 8px;
	border-radius: var(--radius-full);
	background: var(--primary-bg);
	border: 1px solid var(--primary-border);
	color: var(--primary);
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

.brand-dot {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: #10b981;
	box-shadow: 0 0 8px #10b981;
	animation: pulseGlow 2s infinite;
}

@keyframes pulseGlow {
	0%, 100% { transform: scale(1); opacity: 1; }
	50% { transform: scale(1.3); opacity: 0.7; }
}

.title-edit-wrapper {
	display: flex;
	align-items: center;
}

.sprint-title {
	font-size: 1.35rem;
	font-weight: 700;
	letter-spacing: -0.02em;
	color: var(--text-main);
	cursor: pointer;
	display: flex;
	align-items: center;
	gap: 0.5rem;
	transition: opacity 0.15s;
}

.sprint-title:hover {
	opacity: 0.8;
}

.edit-icon {
	font-size: 0.85rem;
	color: var(--text-muted);
	opacity: 0.6;
}

.title-input-group {
	display: flex;
	align-items: center;
	gap: 0.4rem;
}

.sprint-title-input {
	font-size: 1.15rem;
	font-weight: 600;
	padding: 4px 10px;
	border-radius: var(--radius-sm);
	border: 1.5px solid var(--primary);
	background: var(--bg-subtle);
	color: var(--text-main);
	outline: none;
	font-family: inherit;
	min-width: 260px;
}

/* Header Controls */
.header-controls {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	flex-wrap: wrap;
}

.user-pill {
	display: flex;
	align-items: center;
	gap: 6px;
	background: var(--bg-subtle);
	border: 1px solid var(--border-subtle);
	border-radius: var(--radius-full);
	padding: 4px 12px;
}

.user-icon {
	font-size: 0.85rem;
}

.author-pill-input {
	border: none;
	background: transparent;
	font-size: 0.85rem;
	font-family: inherit;
	color: var(--text-main);
	width: 110px;
	outline: none;
	font-weight: 500;
}

.author-pill-input::placeholder {
	color: var(--text-faint);
}

/* Timer Widget */
.timer-widget {
	display: flex;
	align-items: center;
}

.timer-presets {
	display: flex;
	align-items: center;
	gap: 4px;
	background: var(--bg-subtle);
	padding: 3px 6px;
	border-radius: var(--radius-full);
	border: 1px solid var(--border-subtle);
}

.timer-label {
	font-size: 0.75rem;
	font-weight: 600;
	color: var(--text-muted);
	padding: 0 4px;
}

.btn-timer-preset {
	border: none;
	background: transparent;
	color: var(--text-muted);
	font-size: 0.75rem;
	font-weight: 600;
	padding: 2px 6px;
	border-radius: 4px;
	cursor: pointer;
	transition: all 0.15s;
}

.btn-timer-preset:hover {
	background: var(--bg-surface);
	color: var(--text-main);
}

.timer-active-pill {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 4px 10px;
	border-radius: var(--radius-full);
	font-family: var(--font-mono);
	font-size: 0.85rem;
	font-weight: 700;
	border: 1px solid transparent;
}

.timer-active-pill.running {
	background: #fef2f2;
	color: #dc2626;
	border-color: #fecaca;
	animation: pulseTimer 1s infinite alternate;
}

@media (prefers-color-scheme: dark) {
	.timer-active-pill.running {
		background: #450a0a;
		color: #f87171;
		border-color: #991b1b;
	}
}

.timer-active-pill.paused {
	background: var(--bg-subtle);
	color: var(--text-muted);
	border-color: var(--border-subtle);
}

@keyframes pulseTimer {
	from { transform: scale(1); }
	to { transform: scale(1.03); }
}

.timer-digits {
	letter-spacing: 0.05em;
}

.timer-control-btn {
	background: transparent;
	border: none;
	color: inherit;
	cursor: pointer;
	font-size: 0.85rem;
	padding: 0 2px;
	line-height: 1;
}

.header-action-buttons {
	display: flex;
	align-items: center;
	gap: 0.4rem;
}

.btn-tool {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 6px 12px;
	border-radius: var(--radius-sm);
	background: var(--bg-subtle);
	border: 1px solid var(--border-subtle);
	color: var(--text-main);
	font-size: 0.825rem;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.15s;
	font-family: inherit;
}

.btn-tool:hover {
	background: var(--bg-muted);
}

.btn-tool.active-tool {
	background: #fef3c7;
	border-color: #fde68a;
	color: #92400e;
}

@media (prefers-color-scheme: dark) {
	.btn-tool.active-tool {
		background: #78350f;
		border-color: #b45309;
		color: #fde68a;
	}
}

/* Header Filter Bar */
.header-filter-bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	flex-wrap: wrap;
	padding-top: 0.4rem;
	border-top: 1px dashed var(--border-subtle);
}

.search-box {
	position: relative;
	display: flex;
	align-items: center;
	flex: 1;
	min-width: 220px;
	max-width: 380px;
}

.search-icon {
	position: absolute;
	left: 10px;
	font-size: 0.8rem;
	pointer-events: none;
	opacity: 0.5;
}

.search-input {
	width: 100%;
	padding: 6px 28px 6px 30px;
	font-size: 0.825rem;
	border-radius: var(--radius-sm);
	border: 1px solid var(--border-subtle);
	background: var(--bg-subtle);
	color: var(--text-main);
	font-family: inherit;
	outline: none;
	transition: border-color 0.15s;
}

.search-input:focus {
	border-color: var(--primary);
	background: var(--bg-surface);
}

.clear-search-btn {
	position: absolute;
	right: 8px;
	background: transparent;
	border: none;
	color: var(--text-muted);
	cursor: pointer;
	font-size: 0.75rem;
}

.filter-controls {
	display: flex;
	align-items: center;
	gap: 0.85rem;
	flex-wrap: wrap;
}

.control-group {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 0.8rem;
	color: var(--text-muted);
}

.select-styled {
	padding: 5px 10px;
	font-size: 0.8rem;
	font-weight: 500;
	border-radius: var(--radius-sm);
	border: 1px solid var(--border-subtle);
	background: var(--bg-surface);
	color: var(--text-main);
	font-family: inherit;
	cursor: pointer;
	outline: none;
}

.select-styled:focus {
	border-color: var(--primary);
}

.metrics-pill-group {
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.metric-pill {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: var(--bg-subtle);
	padding: 4px 10px;
	border-radius: var(--radius-full);
	font-size: 0.75rem;
	border: 1px solid var(--border-subtle);
}

.metric-label {
	color: var(--text-muted);
	font-weight: 500;
}

.metric-val {
	font-weight: 700;
	color: var(--text-main);
	font-family: var(--font-mono);
}

/* Mobile Tabs */
.mobile-col-tabs {
	display: none;
	gap: 0.4rem;
	margin-top: 0.75rem;
	padding-top: 0.5rem;
	border-top: 1px solid var(--border-subtle);
}

.mobile-tab-btn {
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	padding: 8px 6px;
	border-radius: var(--radius-sm);
	border: 1px solid var(--border-subtle);
	background: var(--bg-subtle);
	color: var(--text-muted);
	font-size: 0.8rem;
	font-weight: 600;
	cursor: pointer;
}

.mobile-tab-btn.active {
	background: var(--bg-surface);
	color: var(--text-main);
	border-color: var(--border-strong);
	box-shadow: var(--shadow-sm);
}

.mobile-tab-btn .tab-count {
	background: var(--border-subtle);
	padding: 1px 6px;
	border-radius: var(--radius-full);
	font-size: 0.7rem;
	font-family: var(--font-mono);
}

/* Retro Columns Layout */
.retro-board-canvas {
	flex: 1;
	padding: 1.5rem 1.75rem 2.5rem;
}

.retro-columns-container {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.5rem;
	align-items: start;
}

.retro-column {
	background: var(--bg-surface);
	border-radius: var(--radius-lg);
	border: 1px solid var(--border-subtle);
	box-shadow: var(--shadow-sm);
	display: flex;
	flex-direction: column;
	min-height: 600px;
	transition: all 0.2s ease;
	position: relative;
	overflow: hidden;
}

/* Column Theme Styles */
.retro-column.col-went-well {
	border-top: 4px solid var(--went-well-accent);
}

.retro-column.col-to-improve {
	border-top: 4px solid var(--to-improve-accent);
}

.retro-column.col-action-items {
	border-top: 4px solid var(--action-accent);
}

/* Column Header */
.column-header {
	padding: 1.15rem 1.25rem 0.9rem;
	border-bottom: 1px solid var(--border-subtle);
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 0.5rem;
	background: linear-gradient(to bottom, var(--bg-surface), var(--bg-subtle));
}

.col-title-wrap {
	display: flex;
	align-items: flex-start;
	gap: 0.65rem;
}

.col-icon-badge {
	font-size: 1.25rem;
	line-height: 1;
	padding: 6px;
	background: var(--bg-subtle);
	border-radius: var(--radius-md);
	border: 1px solid var(--border-subtle);
}

.col-title-row {
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.col-title {
	font-size: 1.05rem;
	font-weight: 700;
	letter-spacing: -0.01em;
	color: var(--text-main);
}

.col-count-pill {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 22px;
	height: 22px;
	padding: 0 6px;
	border-radius: var(--radius-full);
	background: var(--bg-subtle);
	border: 1px solid var(--border-subtle);
	font-size: 0.725rem;
	font-weight: 700;
	font-family: var(--font-mono);
	color: var(--text-muted);
}

.col-subtitle {
	font-size: 0.75rem;
	color: var(--text-muted);
	margin-top: 2px;
}

.col-header-meta {
	display: flex;
	align-items: center;
	gap: 0.4rem;
}

.col-votes-sum {
	font-size: 0.75rem;
	font-weight: 700;
	color: var(--text-muted);
	background: var(--bg-subtle);
	padding: 3px 8px;
	border-radius: var(--radius-full);
	border: 1px solid var(--border-subtle);
}

.col-quick-add-btn {
	background: var(--primary);
	color: #ffffff;
	border: none;
	padding: 5px 12px;
	border-radius: var(--radius-sm);
	font-size: 0.775rem;
	font-weight: 700;
	cursor: pointer;
	transition: all 0.15s;
}

.col-quick-add-btn:hover {
	background: var(--primary-hover);
	transform: translateY(-1px);
}

/* Add Card Panel */
.add-card-panel {
	background: var(--bg-subtle);
	border-bottom: 1px solid var(--border-subtle);
	padding: 1rem 1.15rem;
	animation: fadeIn 0.15s ease-out;
}

@keyframes fadeIn {
	from { opacity: 0; transform: translateY(-4px); }
	to { opacity: 1; transform: translateY(0); }
}

.add-card-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 0.4rem;
}

.add-card-title {
	font-size: 0.8rem;
	font-weight: 700;
	color: var(--text-main);
}

.add-card-hint {
	font-size: 0.7rem;
	color: var(--text-faint);
}

.add-card-textarea {
	width: 100%;
	padding: 8px 10px;
	border-radius: var(--radius-sm);
	border: 1px solid var(--border-medium);
	background: var(--bg-surface);
	color: var(--text-main);
	font-family: inherit;
	font-size: 0.875rem;
	resize: vertical;
	outline: none;
	margin-bottom: 0.6rem;
	transition: border-color 0.15s;
}

.add-card-textarea:focus {
	border-color: var(--primary);
}

.action-assignee-row {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin-bottom: 0.6rem;
	font-size: 0.775rem;
	color: var(--text-muted);
}

.input-subtle {
	padding: 4px 8px;
	border-radius: var(--radius-sm);
	border: 1px solid var(--border-medium);
	background: var(--bg-surface);
	color: var(--text-main);
	font-size: 0.775rem;
	font-family: inherit;
	outline: none;
}

/* Suggestion Chips */
.suggestion-chips {
	display: flex;
	align-items: center;
	gap: 4px;
	flex-wrap: wrap;
	margin-bottom: 0.75rem;
}

.chips-label {
	font-size: 0.7rem;
	font-weight: 600;
	color: var(--text-muted);
	margin-right: 2px;
}

.chip-btn {
	background: var(--bg-surface);
	border: 1px solid var(--border-subtle);
	border-radius: var(--radius-full);
	padding: 3px 8px;
	font-size: 0.7rem;
	color: var(--text-muted);
	cursor: pointer;
	transition: all 0.15s;
	font-family: inherit;
	white-space: nowrap;
}

.chip-btn:hover {
	background: var(--primary-bg);
	border-color: var(--primary-border);
	color: var(--primary);
}

.add-card-actions {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem;
}

.author-reminder {
	font-size: 0.75rem;
	color: var(--text-muted);
}

.btn-group {
	display: flex;
	align-items: center;
	gap: 0.4rem;
}

/* Cards List */
.cards-list {
	padding: 1rem 1.15rem;
	display: flex;
	flex-direction: column;
	gap: 0.85rem;
	flex: 1;
}

.cards-list.blurred-content .retro-card .card-text {
	filter: blur(5px);
	user-select: none;
}

/* Retro Card */
.retro-card {
	background: var(--bg-surface);
	border: 1px solid var(--border-subtle);
	border-radius: var(--radius-md);
	padding: 0.9rem 1rem;
	box-shadow: var(--shadow-card);
	transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 0.65rem;
}

.retro-card:hover {
	transform: translateY(-2px);
	box-shadow: var(--shadow-card-hover);
	border-color: var(--border-medium);
}

.retro-card.card-voted-by-user {
	border-color: var(--primary-border);
	background: linear-gradient(to bottom right, var(--bg-surface), var(--primary-bg));
}

.retro-card.card-completed {
	opacity: 0.65;
	background: var(--bg-subtle);
}

.retro-card.card-completed .card-text {
	text-decoration: line-through;
	color: var(--text-muted);
}

/* Card Top Bar */
.card-top-bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.4rem;
}

.card-author-info {
	display: flex;
	align-items: center;
	gap: 6px;
	flex-wrap: wrap;
}

.card-author-avatar {
	width: 20px;
	height: 20px;
	border-radius: 50%;
	color: #ffffff;
	font-size: 0.65rem;
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.card-author-name {
	font-size: 0.775rem;
	font-weight: 600;
	color: var(--text-muted);
}

.card-assignee-badge {
	background: var(--action-bg-light);
	color: var(--action-tag);
	border: 1px solid var(--action-border);
	padding: 1px 6px;
	border-radius: var(--radius-full);
	font-size: 0.7rem;
	font-weight: 600;
}

.card-actions-top {
	display: flex;
	align-items: center;
	gap: 3px;
}

.card-col-select {
	font-size: 0.7rem;
	padding: 2px 4px;
	border-radius: 4px;
	border: 1px solid var(--border-subtle);
	background: var(--bg-subtle);
	color: var(--text-muted);
	font-family: inherit;
	cursor: pointer;
	outline: none;
	opacity: 0.6;
	transition: opacity 0.15s;
}

.card-col-select:hover,
.card-col-select:focus {
	opacity: 1;
	border-color: var(--border-strong);
}

.card-icon-btn {
	background: transparent;
	border: none;
	color: var(--text-faint);
	cursor: pointer;
	font-size: 0.8rem;
	padding: 3px 5px;
	border-radius: 4px;
	transition: all 0.15s;
}

.card-icon-btn:hover {
	color: var(--text-main);
	background: var(--bg-subtle);
}

.card-icon-btn.btn-delete:hover {
	color: #ef4444;
	background: #fef2f2;
}

@media (prefers-color-scheme: dark) {
	.card-icon-btn.btn-delete:hover {
		background: #450a0a;
	}
}

/* Card Body */
.card-body {
	font-size: 0.875rem;
	line-height: 1.5;
	color: var(--text-main);
}

.card-content-wrap {
	display: flex;
	align-items: flex-start;
	gap: 0.6rem;
}

.action-checkbox {
	width: 18px;
	height: 18px;
	margin-top: 2px;
	border-radius: 4px;
	border: 1.5px solid var(--action-accent);
	background: transparent;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 0.75rem;
	font-weight: 700;
	color: #ffffff;
	flex-shrink: 0;
	transition: all 0.15s;
}

.action-checkbox.checked {
	background: var(--action-accent);
}

.card-text {
	word-break: break-word;
	white-space: pre-wrap;
	flex: 1;
}

/* Inline Card Edit */
.card-edit-box {
	display: flex;
	flex-direction: column;
	gap: 0.4rem;
}

.card-edit-textarea {
	width: 100%;
	padding: 6px 8px;
	border-radius: var(--radius-sm);
	border: 1px solid var(--primary);
	background: var(--bg-subtle);
	color: var(--text-main);
	font-family: inherit;
	font-size: 0.85rem;
	resize: vertical;
	outline: none;
}

.card-edit-actions {
	display: flex;
	justify-content: flex-end;
	gap: 0.3rem;
}

/* Card Footer */
.card-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem;
	padding-top: 0.35rem;
	border-top: 1px dashed var(--border-subtle);
}

.vote-btn {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 4px 10px;
	border-radius: var(--radius-full);
	border: 1px solid var(--border-medium);
	background: var(--bg-subtle);
	color: var(--text-main);
	font-size: 0.775rem;
	font-weight: 700;
	cursor: pointer;
	transition: all 0.15s ease;
	font-family: inherit;
}

.vote-btn:hover {
	border-color: var(--primary);
	background: var(--primary-bg);
	color: var(--primary);
	transform: scale(1.04);
}

.vote-btn.voted {
	background: var(--primary);
	color: #ffffff;
	border-color: var(--primary);
	box-shadow: 0 2px 6px rgba(79, 70, 229, 0.3);
}

.vote-arrow {
	font-size: 0.7rem;
	line-height: 1;
}

.vote-count {
	font-family: var(--font-mono);
}

.vote-label {
	font-size: 0.7rem;
	opacity: 0.85;
}

.card-timestamp {
	font-size: 0.7rem;
	color: var(--text-faint);
}

/* Empty State */
.empty-column-state {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 3rem 1.5rem;
	text-align: center;
	color: var(--text-muted);
	border: 2px dashed var(--border-subtle);
	border-radius: var(--radius-md);
	margin: 1rem 0;
}

.empty-icon {
	font-size: 2rem;
	margin-bottom: 0.5rem;
	opacity: 0.7;
}

.empty-title {
	font-size: 0.9rem;
	font-weight: 700;
	color: var(--text-main);
	margin-bottom: 0.2rem;
}

.empty-desc {
	font-size: 0.775rem;
	margin-bottom: 1rem;
	max-width: 180px;
}

.bottom-add-btn {
	width: calc(100% - 2.3rem);
	margin: 0 1.15rem 1.15rem;
	padding: 8px;
	border-radius: var(--radius-sm);
	border: 1px dashed var(--border-medium);
	background: transparent;
	color: var(--text-muted);
	font-size: 0.8rem;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.15s;
	font-family: inherit;
}

.bottom-add-btn:hover {
	background: var(--bg-subtle);
	color: var(--text-main);
	border-color: var(--border-strong);
}

/* Buttons */
.btn-primary {
	background: var(--primary);
	color: #ffffff;
	border: 1px solid transparent;
	padding: 8px 16px;
	border-radius: var(--radius-sm);
	font-size: 0.85rem;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.15s;
	font-family: inherit;
}

.btn-primary:hover {
	background: var(--primary-hover);
}

.btn-primary:disabled {
	opacity: 0.5;
	cursor: not-allowed;
}

.btn-secondary {
	background: var(--bg-subtle);
	color: var(--text-main);
	border: 1px solid var(--border-subtle);
	padding: 8px 16px;
	border-radius: var(--radius-sm);
	font-size: 0.85rem;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.15s;
	font-family: inherit;
}

.btn-secondary:hover {
	background: var(--bg-muted);
}

.btn-danger {
	background: #ef4444;
	color: #ffffff;
	border: 1px solid transparent;
	padding: 8px 16px;
	border-radius: var(--radius-sm);
	font-size: 0.85rem;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.15s;
	font-family: inherit;
}

.btn-danger:hover {
	background: #dc2626;
}

.btn-sm {
	padding: 5px 10px;
	font-size: 0.775rem;
	border-radius: var(--radius-sm);
	font-weight: 600;
	cursor: pointer;
	font-family: inherit;
	border: 1px solid transparent;
}

.btn-subtle {
	background: transparent;
	color: var(--text-muted);
	border-color: transparent;
}

.btn-subtle:hover {
	background: var(--bg-muted);
	color: var(--text-main);
}

.btn-outline {
	background: transparent;
	border: 1px solid var(--border-medium);
	color: var(--text-main);
}

.btn-outline:hover {
	background: var(--bg-subtle);
}

/* Modals */
.modal-backdrop {
	position: fixed;
	inset: 0;
	background: rgba(15, 23, 42, 0.6);
	backdrop-filter: blur(4px);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 1000;
	padding: 1rem;
	animation: fadeIn 0.15s ease-out;
}

.modal-card {
	background: var(--bg-surface);
	border: 1px solid var(--border-subtle);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-lg);
	width: 100%;
	max-width: 540px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
}

.modal-header {
	padding: 1.25rem 1.5rem;
	border-bottom: 1px solid var(--border-subtle);
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.modal-header h3 {
	font-size: 1.1rem;
	font-weight: 700;
	color: var(--text-main);
}

.modal-close {
	background: transparent;
	border: none;
	font-size: 1.1rem;
	color: var(--text-muted);
	cursor: pointer;
}

.modal-body {
	padding: 1.25rem 1.5rem;
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.modal-desc {
	font-size: 0.85rem;
	color: var(--text-muted);
	line-height: 1.5;
}

.export-textarea {
	width: 100%;
	font-family: var(--font-mono);
	font-size: 0.8rem;
	padding: 10px;
	border-radius: var(--radius-sm);
	border: 1px solid var(--border-medium);
	background: var(--bg-subtle);
	color: var(--text-main);
	line-height: 1.45;
	resize: none;
	outline: none;
}

.modal-section {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.modal-section h4 {
	font-size: 0.95rem;
	font-weight: 700;
	color: var(--text-main);
}

.modal-actions-row {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	flex-wrap: wrap;
	margin-top: 0.4rem;
}

.tips-list {
	padding-left: 1.2rem;
	display: flex;
	flex-direction: column;
	gap: 0.4rem;
	font-size: 0.825rem;
	color: var(--text-muted);
}

.tips-list strong {
	color: var(--text-main);
}

.modal-footer {
	padding: 1rem 1.5rem;
	border-top: 1px solid var(--border-subtle);
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 0.6rem;
	background: var(--bg-subtle);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
	.retro-columns-container {
		grid-template-columns: repeat(3, 1fr);
		gap: 1rem;
	}
	.retro-board-canvas {
		padding: 1rem;
	}
}

@media (max-width: 860px) {
	.mobile-col-tabs {
		display: flex;
	}
	.retro-columns-container {
		grid-template-columns: 1fr;
	}
	.retro-column.mobile-hidden {
		display: none;
	}
	.retro-column.mobile-visible {
		display: flex;
		min-height: auto;
	}
	.retro-header {
		padding: 1rem 1rem 0.5rem;
	}
	.header-top-row {
		flex-direction: column;
		align-items: flex-start;
	}
	.header-controls {
		width: 100%;
		justify-content: space-between;
	}
}
