/* Telering Control Room — tampilan kartu & flow (dipakai front end dan editor) */
.tcr-board { position: relative; transform-origin: 0 0; }
.tcr-flows { position: absolute; left: 0; top: 0; overflow: visible; pointer-events: none; z-index: 1; --tcr-flow: #475569; }
[data-tcr-theme="dark"] .tcr-flows { --tcr-flow: #cbd5e1; }

.tcr-card {
	position: absolute; z-index: 2; box-sizing: border-box; overflow: hidden;
	display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start;
	padding: 16px 18px; border-radius: 22px; text-decoration: none;
	color: var(--t, #fff);
	background: var(--c, #3b82f6);
	background: linear-gradient(135deg, color-mix(in srgb, var(--c) 78%, #fff), var(--c));
	box-shadow: 0 14px 28px -14px color-mix(in srgb, var(--c) 80%, #000), inset 0 1px 0 rgba(255, 255, 255, .28);
	transition: transform .18s ease, box-shadow .18s ease, scale .18s ease;
	font-family: inherit;
}
.tcr-card::after { content: ""; position: absolute; right: -34px; top: -34px; width: 120px; height: 120px; border-radius: 50%; background: rgba(255, 255, 255, .13); pointer-events: none; }
a.tcr-card:hover, a.tcr-card:focus-visible { transform: translateY(-4px) scale(1.025); box-shadow: 0 22px 34px -16px color-mix(in srgb, var(--c) 85%, #000), inset 0 1px 0 rgba(255, 255, 255, .3); }
a.tcr-card:focus-visible { outline: 3px solid currentColor; outline-offset: 3px; }
.tcr-card-icon { position: relative; z-index: 1; width: 34px; height: 34px; flex: none; border-radius: 11px; background: var(--k, rgba(255, 255, 255, .24)); display: grid; place-items: center; font-size: 18px; line-height: 1; }
.tcr-card-icon.is-empty { opacity: .0; }
.tcr-card-icon .dashicons { width: 20px; height: 20px; font-size: 20px; color: inherit; }
.tcr-card-icon img { width: 20px; height: 20px; object-fit: contain; border-radius: 4px; }
.tcr-card-title {
	position: relative; z-index: 1; max-width: 100%;
	font-size: 24px; font-weight: 800; line-height: 1.12; letter-spacing: -.012em;
	display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere;
}

/* Flow: titik-titik bergerak */
.tcr-dots { animation-timing-function: linear; animation-iteration-count: infinite; }
.tcr-dots.fwd { animation-name: tcr-fwd; }
.tcr-dots.bwd { animation-name: tcr-bwd; }
@keyframes tcr-fwd { to { stroke-dashoffset: calc(var(--p) * -1); } }
@keyframes tcr-bwd { to { stroke-dashoffset: var(--p); } }
@media (prefers-reduced-motion: reduce) { .tcr-dots { animation: none !important; } }
.tcr-flow-sel { fill: none; stroke: #2271b1; stroke-opacity: .28; stroke-width: 14; stroke-linecap: round; }
.tcr-hit { stroke: transparent; stroke-width: 18; pointer-events: stroke; cursor: pointer; }

/* Kartu yang bisa ditarik (front end) */
.tcr-card.tcr-draggable { cursor: grab; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; will-change: translate; }
.tcr-card.is-springing { z-index: 20; }
.tcr-card.is-held { cursor: grabbing; scale: 1.06; transform: none !important; box-shadow: 0 30px 44px -18px color-mix(in srgb, var(--c) 85%, #000), inset 0 1px 0 rgba(255, 255, 255, .3); }
