/* Tryze Garden v3.2: participant timeline and chart day details */
.tg-chart-point {
	cursor: pointer;
	stroke: #fff;
	stroke-width: 2;
	transform-box: fill-box;
	transform-origin: center;
	transition: transform .16s ease, stroke-width .16s ease;
}

.tg-chart-point:hover,
.tg-chart-point:focus,
.tg-chart-point.is-active {
	outline: none;
	stroke: #173f2a;
	stroke-width: 3;
	transform: scale(1.45);
}

.tg-chart-detail {
	margin-top: 20px;
	padding: 18px;
	border: 1px solid #cfe0d1;
	border-radius: 16px;
	background: #f7fbf5;
}

.tg-chart-detail > p:first-child {
	margin: 0;
	color: var(--tgmuted);
}

.tg-chart-detail header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	margin-bottom: 12px;
}

.tg-chart-detail header small,
.tg-chart-detail header h3 {
	display: block;
	margin: 0;
}

.tg-chart-detail header span {
	padding: 5px 9px;
	border-radius: 999px;
	background: #e4efe1;
	color: #315d42;
	font-size: 11px;
	font-weight: 800;
}

.tg-chart-detail section {
	margin-top: 10px;
	padding: 13px 14px;
	border-radius: 12px;
	background: #fff;
}

.tg-chart-detail section h4,
.tg-chart-detail section p {
	margin: 0 0 7px;
}

.tg-chart-detail__note {
	margin: 14px 0 0 !important;
	padding-top: 12px;
	border-top: 1px dashed #c9d8ca;
	color: #637269;
	font-size: 12px;
}

.tg-inline-chart-detail {
	grid-column: 1 / -1;
	width: 100%;
}

.tg-timeline {
	display: grid;
	gap: 16px;
	margin-top: 18px;
}

.tg-timeline-day {
	position: relative;
	padding: 0 0 0 24px;
}

.tg-timeline-day::before {
	content: "";
	position: absolute;
	top: 8px;
	bottom: -24px;
	left: 7px;
	width: 2px;
	background: #d8e5d8;
}

.tg-timeline-day:last-child::before {
	bottom: 10px;
}

.tg-timeline-day > header {
	position: relative;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	margin-bottom: 9px;
}

.tg-timeline-day > header::before {
	content: "";
	position: absolute;
	left: -22px;
	width: 12px;
	height: 12px;
	border: 3px solid #fff;
	border-radius: 50%;
	background: var(--tgg);
	box-shadow: 0 0 0 1px #aac5af;
}

.tg-timeline-day > header time {
	font-size: 16px;
	font-weight: 900;
	color: var(--tgd);
}

.tg-timeline-day > header span {
	color: var(--tgmuted);
	font-size: 11px;
}

.tg-timeline-block {
	margin-bottom: 9px;
	padding: 14px 16px;
	border: 1px solid #dce6dc;
	border-left: 4px solid #6b9f75;
	border-radius: 13px;
	background: #fff;
}

.tg-timeline-block.is-work { border-left-color: #4c7fb3; }
.tg-timeline-block.is-review { border-left-color: #d29b40; }
.tg-timeline-block.is-shared { border-left-color: #9367ac; background: #fcf9fd; }

.tg-timeline-block h4,
.tg-timeline-block p {
	margin: 0 0 7px;
}

.tg-timeline-block p:last-child { margin-bottom: 0; }

.tg-timeline-scores {
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
	margin: 8px 0;
}

.tg-timeline-scores span {
	padding: 5px 9px;
	border-radius: 999px;
	background: #edf4ea;
	font-size: 12px;
}

.tg-timeline-scores b { color: var(--tgg); }

.tg-shared-support-list {
	display: grid;
	gap: 9px;
}

.tg-shared-support-list article {
	padding: 11px 12px;
	border-radius: 10px;
	background: #f5eff8;
}

.tg-shared-support-list article > strong {
	display: block;
	margin-bottom: 5px;
	color: #674278;
}

.tg-shared-support-list article p { margin: 0; }

.tg-shared-support-list article > div {
	display: flex;
	flex-wrap: wrap;
	gap: 5px;
	margin-top: 8px;
}

.tg-shared-support-list article > div span {
	padding: 3px 7px;
	border-radius: 999px;
	background: #fff;
	color: #66576d;
	font-size: 10px;
}

.tg-timeline-empty {
	padding: 22px;
	border: 1px dashed #ccd9ce;
	border-radius: 13px;
	text-align: center;
	color: var(--tgmuted);
}

@media(max-width:700px) {
	.tg-chart-detail header,
	.tg-timeline-day > header {
		align-items: flex-start;
		flex-direction: column;
	}

	.tg-history-card .tg-range-switch {
		width: 100%;
		display: grid;
		grid-template-columns: repeat(2, 1fr);
	}
}
