body {
	background: #f7f7f8;
}

.kpi-card {
	border: 1px solid #ececec;
}

.kpi-label {
	font-size: 12px;
	color: #666;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.kpi-value {
	font-size: 28px;
	font-weight: 700;
	color: #111;
}

.queue-item {
	border: 1px solid #ececec;
	border-radius: 10px;
	padding: 12px;
	background: #fff;
	margin-bottom: 10px;
	position: relative;
	transition: opacity 0.15s ease-in-out;
}

.queue-item-pending {
	opacity: 0.78;
}

.queue-item-progress {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: 10px;
	padding: 6px 10px;
	border-radius: 999px;
	background: #fff3cd;
	border: 1px solid #ffecb5;
	color: #664d03;
	font-size: 12px;
	font-weight: 600;
}

.queue-item .btn.disabled,
.queue-item .btn:disabled {
	pointer-events: none;
}

.queue-meta {
	font-size: 12px;
	color: #666;
}

.caption-snippet {
	font-size: 13px;
	color: #222;
	white-space: pre-wrap;
	max-height: 96px;
	overflow: auto;
	margin-top: 6px;
}

.queue-preview-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 10px;
}

.queue-preview-card {
	border: 1px solid #ececec;
	border-radius: 8px;
	padding: 8px;
	background: #f9fafb;
}

.queue-preview-label {
	font-size: 11px;
	color: #555;
	margin-bottom: 6px;
}

.queue-preview-image {
	width: 100%;
	height: auto;
	border-radius: 6px;
	border: 1px solid #d9dce1;
	display: block;
}

.queue-video-card {
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	padding: 8px;
	background: #f9fafb;
}

.queue-video-player {
	width: 100%;
	border-radius: 6px;
	border: 1px solid #d9dce1;
	background: #000;
	max-height: 420px;
}

.pillar-filters {
	display: grid;
	grid-template-columns: 1fr;
	gap: 4px;
	padding: 8px;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	background: #fff;
}

.queue-status-filters {
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	background: #fff;
	padding: 8px 10px;
}

.creative-directions-panel {
	border: 1px solid #ffbe0b;
	border-radius: 10px;
	background: #fff8e6;
	padding: 10px;
	position: sticky;
	top: calc(env(safe-area-inset-top, 0px) + 86px);
	z-index: 5;
	margin-bottom: 10px;
}

.calendar-manager-panel {
	border: 1px solid #e5e7eb;
	border-radius: 10px;
	background: #fbfbfc;
	padding: 12px;
	height: 100%;
}

.calendar-search-input {
	max-width: 220px;
}

.calendar-event-list {
	display: grid;
	gap: 8px;
	max-height: 560px;
	overflow: auto;
	padding-right: 2px;
}

.calendar-event-item {
	width: 100%;
	text-align: left;
	border: 1px solid #e5e7eb;
	border-radius: 10px;
	background: #fff;
	padding: 10px;
	transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.calendar-event-item:hover {
	border-color: #b8c0cc;
	box-shadow: 0 4px 12px rgba(17, 24, 39, 0.06);
}

.calendar-event-item.is-selected {
	border-color: #212529;
	box-shadow: 0 0 0 2px rgba(33, 37, 41, 0.08);
}

.calendar-event-title {
	font-size: 14px;
	font-weight: 700;
	color: #111827;
}

.calendar-event-meta {
	font-size: 12px;
	color: #6b7280;
	margin-top: 2px;
}

.calendar-event-summary {
	font-size: 12px;
	color: #374151;
	margin-top: 6px;
}

.planner-toast-container {
	position: fixed;
	right: 18px;
	bottom: 18px;
	z-index: 1080;
	display: grid;
	gap: 10px;
	max-width: min(360px, calc(100vw - 24px));
}

.planner-toast {
	border-radius: 12px;
	padding: 12px 14px;
	box-shadow: 0 14px 34px rgba(17, 24, 39, 0.16);
	border: 1px solid #d1d5db;
	background: #fff;
	color: #111827;
	display: grid;
	gap: 4px;
	animation: planner-toast-in 0.18s ease-out;
}

.planner-toast.is-success {
	border-color: #b7ebc6;
	background: #f0fff4;
}

.planner-toast.is-error {
	border-color: #fecaca;
	background: #fff5f5;
}

.planner-toast-title {
	font-size: 13px;
	font-weight: 700;
}

.planner-toast-message {
	font-size: 12px;
	color: #4b5563;
}

@keyframes planner-toast-in {
	from {
		opacity: 0;
		transform: translateY(6px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@media (max-width: 991px) {
	.calendar-event-list {
		max-height: 320px;
	}
}
