.csbk-cleaner-dashboard {
	max-width: 460px;
	margin: 0 auto;
	background: #0f172a;
	padding: 16px;
	border-radius: 20px;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
.csbk-cleaner-dashboard [hidden] {
	display: none !important;
}

.csbk-cleaner-appbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	background: #1e293b;
	color: #fff;
	padding: 14px 16px;
	border-radius: 12px;
	margin-bottom: 14px;
	font-size: 15px;
}
.csbk-online-dot {
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: #10b981;
	box-shadow: 0 0 0 3px rgba(16,185,129,.25);
	display: inline-block;
}
.csbk-no-jobs {
	color: #94a3b8;
	text-align: center;
	padding: 30px 10px;
}

.csbk-job-card {
	background: #1e293b;
	border: 1px solid #334155;
	border-radius: 14px;
	padding: 16px;
	margin-bottom: 16px;
	color: #fff;
}
.csbk-job-active {
	border-color: #0d9488;
	border-width: 1.5px;
}
.csbk-active-label {
	color: #0d9488;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .04em;
	margin-bottom: 6px;
	text-transform: uppercase;
}
.csbk-job-ref {
	color: #64748b;
	font-size: 11px;
	font-family: monospace;
	margin-bottom: 6px;
}

.csbk-job-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 10px;
	margin-bottom: 6px;
}
.csbk-job-title {
	font-size: 16px;
	font-weight: 700;
	color: #fff;
}
.csbk-job-meta {
	font-size: 13px;
	color: #94a3b8;
	margin-bottom: 8px;
}
.csbk-job-property, .csbk-job-customer, .csbk-job-notes {
	font-size: 13px;
	color: #cbd5e1;
	margin-bottom: 6px;
}
.csbk-job-property em {
	color: #94a3b8;
}
.csbk-job-customer a {
	color: #38bdf8;
}

/* Status badges — dark-theme palette */
.csbk-status-badge {
	display: inline-block;
	padding: 4px 10px;
	border-radius: 4px;
	font-size: 10px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .03em;
}
.csbk-status-en_route, .csbk-status-in_progress { background: #3b82f6; color: #fff; }
.csbk-status-assigned, .csbk-status-confirmed, .csbk-status-scheduled { background: #334155; color: #cbd5e1; }
.csbk-status-completed { background: #10b981; color: #fff; }
.csbk-status-cancelled, .csbk-status-refunded { background: #ef4444; color: #fff; }
.csbk-status-pending_payment { background: #f59e0b; color: #1e293b; }

/* Mandatory photo checklist */
.csbk-photo-checklist {
	margin: 16px 0 6px;
	padding-top: 14px;
	border-top: 1px solid #334155;
}
.csbk-photo-checklist h4 {
	margin: 0 0 2px;
	font-size: 13px;
	font-weight: 700;
	color: #fff;
}
.csbk-required-note {
	margin: 0 0 10px;
	font-size: 11px;
	color: #ef4444;
	font-weight: 600;
}
.csbk-photo-card {
	display: flex;
	align-items: center;
	gap: 12px;
	border-radius: 10px;
	padding: 12px;
	margin-bottom: 10px;
	background: #1e293b;
}
.csbk-photo-done {
	border: 1px solid transparent;
}
.csbk-photo-pending {
	border: 1.5px dashed #ef4444;
}
.csbk-photo-icon {
	flex: 0 0 auto;
	width: 40px;
	height: 40px;
	border-radius: 6px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	font-size: 16px;
}
.csbk-photo-done .csbk-photo-icon {
	background: rgba(16,185,129,.2);
	color: #10b981;
}
.csbk-photo-pending .csbk-photo-icon {
	background: rgba(239,68,68,.2);
	color: #ef4444;
}
.csbk-photo-info {
	flex: 1 1 auto;
	min-width: 0;
}
.csbk-photo-name {
	font-size: 13px;
	font-weight: 700;
	color: #fff;
	margin-bottom: 2px;
}
.csbk-photo-done .csbk-photo-status {
	font-size: 11px;
	color: #10b981;
}
.csbk-photo-pending .csbk-photo-status {
	font-size: 11px;
	color: #ef4444;
}
.csbk-photo-thumbs {
	display: block;
	margin-top: 4px;
}
.csbk-photo-thumbs img {
	width: 32px;
	height: 32px;
	object-fit: cover;
	border-radius: 4px;
	margin-right: 4px;
	vertical-align: middle;
}
.csbk-take-photo-btn {
	flex: 0 0 auto;
	background: #ef4444;
	color: #fff;
	font-size: 10px;
	font-weight: 700;
	padding: 8px 12px;
	border-radius: 6px;
	cursor: pointer;
	white-space: nowrap;
	text-align: center;
}
.csbk-take-photo-btn input[type="file"] {
	display: none;
}

/* Plain task checklist */
.csbk-checklist {
	margin: 16px 0 6px;
	padding-top: 14px;
	border-top: 1px solid #334155;
}
.csbk-checklist h4 {
	margin: 0 0 10px;
	font-size: 13px;
	font-weight: 700;
	color: #fff;
}
.csbk-checklist-item {
	display: flex;
	align-items: center;
	gap: 10px;
	background: #1e293b;
	border-radius: 8px;
	padding: 10px 12px;
	margin-bottom: 8px;
	cursor: pointer;
}
.csbk-checklist-item input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}
.csbk-checklist-check {
	flex: 0 0 auto;
	font-size: 15px;
	color: #64748b;
}
.csbk-item-done .csbk-checklist-check {
	color: #10b981;
}
.csbk-checklist-label {
	font-size: 12px;
	color: #fff;
}
.csbk-item-done .csbk-checklist-label {
	color: #94a3b8;
	text-decoration: line-through;
}
.csbk-required-star {
	color: #ef4444;
	margin-left: 3px;
}

/* Actions */
.csbk-job-actions {
	margin-top: 16px;
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.csbk-job-actions .csbk-btn {
	width: 100%;
	padding: 13px;
	font-size: 13px;
	font-weight: 700;
	border-radius: 10px;
	text-transform: uppercase;
	letter-spacing: .02em;
}
.csbk-btn-secondary {
	background: #334155;
	color: #fff;
}
.csbk-btn-complete {
	background: #0d9488;
	color: #fff;
}
.csbk-btn-complete:hover {
	filter: brightness(1.1);
}
.csbk-btn-locked {
	background: #334155 !important;
	color: #94a3b8 !important;
	cursor: not-allowed;
}
.csbk-locked-note {
	text-align: center;
	font-size: 10px;
	color: #ef4444;
	margin: -4px 0 0;
}

.csbk-job-error {
	margin-top: 10px;
	background: rgba(239,68,68,.12);
	border: 1px solid rgba(239,68,68,.4);
	color: #fca5a5;
	padding: 8px 12px;
	border-radius: 8px;
	font-size: 12px;
}
.csbk-job-error ul {
	margin: 4px 0 0 18px;
}

@media (min-width: 500px) {
	.csbk-job-actions {
		flex-direction: row;
	}
}
