/**
 * Kurato Admin-Styles (Etappe K2).
 *
 * Kontaktliste: Filterzeile, Stufen-Badge. Das Kanban-Board bekommt in K3 sein
 * eigenes Styling.
 */

.hs-kurato-filters {
	margin: 12px 0;
	display: flex;
	gap: 8px;
	align-items: center;
	flex-wrap: wrap;
}

.hs-stage-badge {
	display: inline-block;
	padding: 2px 10px;
	border-radius: 10px;
	font-size: 12px;
	line-height: 1.7;
	background: #e7f0fa;
	color: #135e96;
	border: 1px solid #9ec3e6;
	white-space: nowrap;
}

.hs-muted {
	color: #8c8f94;
	font-size: 12px;
}

.hs-kurato-empty img {
	object-fit: contain;
}

/* --- Pipeline-Board (K3) ------------------------------------------------ */

.hs-board-loading,
.hs-board-error {
	padding: 24px 0;
	color: #646970;
}
.hs-board-error {
	color: #b32d2e;
}

.hs-board {
	display: flex;
	gap: 12px;
	overflow-x: auto;
	padding: 12px 0 20px;
	align-items: flex-start;
}
.hs-column {
	flex: 0 0 260px;
	background: #f0f0f1;
	border-radius: 6px;
	padding: 8px;
}
.hs-column.is-won {
	background: #edf7ed;
}
.hs-column.is-lost {
	background: #fbeaea;
}
.hs-column-head {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 4px 6px 8px;
	font-weight: 600;
}
.hs-column-count {
	background: #fff;
	border-radius: 10px;
	padding: 0 8px;
	font-size: 12px;
	color: #50575e;
}
.hs-column-cards {
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 6px;
	min-height: 20px;
}
.hs-column-empty {
	color: #8c8f94;
	font-size: 12px;
	padding: 6px;
	margin: 0;
}
.hs-card {
	background: #fff;
	border: 1px solid #dcdcde;
	border-radius: 4px;
	padding: 8px 10px;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 4px;
}
.hs-card-name {
	font-weight: 500;
	text-decoration: none;
}
.hs-card-email {
	font-size: 12px;
	color: #646970;
}
.hs-card-move {
	margin-top: 4px;
	max-width: 100%;
	font-size: 12px;
}

/* --- Kontaktprofil + Timeline (K3) ------------------------------------- */

.hs-contact-loading,
.hs-contact-error {
	padding: 24px 0;
	color: #646970;
}
.hs-contact-error {
	color: #b32d2e;
}
.hs-contact-cols {
	display: grid;
	grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
	gap: 24px;
	align-items: start;
}
@media screen and ( max-width: 782px ) {
	.hs-contact-cols {
		grid-template-columns: 1fr;
	}
}
.hs-contact-main,
.hs-contact-side {
	background: #fff;
	border: 1px solid #c3c4c7;
	border-radius: 6px;
	padding: 16px 20px;
}
.hs-contact-field {
	display: flex;
	flex-direction: column;
	gap: 4px;
	margin: 0 0 12px;
}
.hs-contact-field label {
	font-weight: 500;
	font-size: 13px;
}
.hs-contact-field input {
	width: 100%;
}
.hs-timeline {
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.hs-timeline-item {
	display: flex;
	flex-direction: column;
	border-left: 3px solid #2271b1;
	padding: 2px 0 2px 10px;
	margin: 0;
}
.hs-timeline-text {
	font-size: 13px;
}
.hs-timeline-date {
	font-size: 11px;
	color: #646970;
}

/* --- Tags und Wiedervorlagen (K3b) ------------------------------------- */

.hs-contact-block {
	margin-bottom: 20px;
}
.hs-contact-block h2 {
	font-size: 14px;
	margin: 0 0 8px;
}

.hs-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-bottom: 8px;
}
.hs-tag {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	background: #e7f0fa;
	color: #135e96;
	border: 1px solid #9ec3e6;
	border-radius: 10px;
	padding: 1px 4px 1px 10px;
	font-size: 12px;
}
.hs-tag-remove {
	border: 0;
	background: none;
	cursor: pointer;
	color: #135e96;
	font-size: 14px;
	line-height: 1;
	padding: 0 4px;
}
.hs-tag-add,
.hs-task-add {
	display: flex;
	gap: 6px;
	flex-wrap: wrap;
}
.hs-tag-add input {
	flex: 1 1 auto;
}

.hs-task-list {
	margin: 0 0 8px;
	display: flex;
	flex-direction: column;
	gap: 4px;
}
.hs-task {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0;
}
.hs-task.is-done .hs-task-title {
	text-decoration: line-through;
	color: #8c8f94;
}
.hs-task-title {
	flex: 1 1 auto;
}
.hs-task-due {
	font-size: 12px;
	color: #b32d2e;
}
.hs-task.is-done .hs-task-due {
	color: #8c8f94;
}
.hs-task-add input[ type='text' ] {
	flex: 1 1 auto;
}

/* --- Newsletter-Abos im Kontaktprofil (K4a) ---------------------------- */

.hs-sub-list {
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 6px;
}
.hs-sub {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 8px;
	margin: 0;
}
.hs-sub-status {
	font-size: 11px;
	padding: 1px 8px;
	border-radius: 10px;
	white-space: nowrap;
}
.hs-sub-status--confirmed {
	background: #edf7ed;
	color: #1e6b1e;
	border: 1px solid #a3d3a3;
}
.hs-sub-status--pending {
	background: #fcf6e6;
	color: #8a6d1a;
	border: 1px solid #e6cf8a;
}
.hs-sub-status--unsubscribed {
	background: #f0f0f1;
	color: #50575e;
	border: 1px solid #c3c4c7;
}

/* Listen-Verwaltung. */
.hs-kurato-list-form {
	max-width: 520px;
	margin-top: 12px;
}

/* --- Termine-Buchungsmodul (K5b) --------------------------------------- */

.hs-kurato-host-form {
	max-width: 640px;
	margin-top: 8px;
}
.hs-kurato-type-form label,
.hs-kurato-avail-form label {
	margin-right: 12px;
	display: inline-block;
}
.hs-kurato-type-form p,
.hs-kurato-avail-form p {
	margin: 8px 0;
}
.hs-type-edit td {
	background: #f6f7f7;
}
.hs-type-edit summary {
	cursor: pointer;
	color: #2271b1;
}
.hs-type-edit details[open] summary {
	margin-bottom: 8px;
}

/* --- Pro-Flaechen und Kauf-Momente (K-P1) ------------------------------ */

.hs-pro-area__badge {
	margin: 12px 0 8px;
	color: #50575e;
}
.hs-pro-area__glass {
	position: relative;
}
/* Beispieldaten hinter Milchglas: nie echte Zahlen, darum unbedenklich. */
.hs-pro-area__sample {
	filter: blur(3px);
	opacity: 0.55;
	pointer-events: none;
	user-select: none;
}
.hs-pro-area__overlay {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
}
.hs-pro-area__overlay .hs-pro-card {
	max-width: 480px;
	margin: 0;
	background: #fff;
	box-shadow: 0 6px 24px rgba(11, 61, 92, 0.18);
}
.hs-pro-card__price {
	margin: 0 0 8px;
	font-weight: 600;
}
.hs-pro-card__dismiss {
	margin-top: 4px;
}
/* Auf schmalen Schirmen steht die Karte unter der Vorschau statt darauf. */
@media screen and (max-width: 782px) {
	.hs-pro-area__overlay {
		position: static;
		padding: 0;
	}
}
