/* ==========================================================================
   Chart visuals: bars, lines, timeline, matrix, flighting, cadence, funnel.
   Card colours follow the section: white card on light sections, light card on
   white sections, glass on dark, translucent on the teal band.
   ========================================================================== */

.bc-page .bc-v-chart,
.bc-page .bc-v-gantt,
.bc-page .bc-v-matrix,
.bc-page .bc-v-flight,
.bc-page .bc-v-cadence {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin: 0;
	padding: 14px;
	border-radius: 18px;
	background: var(--bc-light);
	border: 1px solid var(--bc-line);
	color: var(--bc-ink);
}

.bc-page .bc-sec--light .bc-v-flight {
	background: #fff;
}

.bc-page .bc-sec--dark .bc-v-chart,
.bc-page .bc-sec--dark .bc-v-cadence {
	background: rgba(255, 255, 255, 0.05);
	border-color: rgba(255, 255, 255, 0.14);
	color: #fff;
}

.bc-page .bc-sec--band .bc-v-chart,
.bc-page .bc-sec--band .bc-v-cadence,
.bc-page .bc-sec--gradient .bc-v-chart,
.bc-page .bc-sec--gradient .bc-v-cadence {
	background: rgba(13, 34, 36, 0.28);
	border-color: rgba(255, 255, 255, 0.25);
	color: #fff;
}

/* Header */
.bc-page .bc-v-chart__head {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 12px;
	font-size: 10px;
}

.bc-page .bc-v-chart__title {
	font-family: var(--bc-font-head);
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--bc-teal);
}

.bc-page .bc-sec--dark .bc-v-chart__title {
	color: var(--bc-mint-text);
}

.bc-page .bc-sec--band .bc-v-chart__title,
.bc-page .bc-sec--gradient .bc-v-chart__title {
	color: #fff;
}

.bc-page .bc-v-chart__tag {
	color: var(--bc-text-2);
	white-space: nowrap;
}

.bc-page .bc-sec--dark .bc-v-chart__tag {
	color: var(--bc-on-dark);
}

.bc-page .bc-sec--band .bc-v-chart__tag,
.bc-page .bc-sec--gradient .bc-v-chart__tag {
	color: var(--bc-on-teal);
}

/* Figures */
.bc-page .bc-v-chart__figs {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 6px;
	margin: 0;
}

.bc-page .bc-v-chart__figs > div {
	display: flex;
	flex-direction: column;
	padding: 8px;
	border-radius: 10px;
	background: #fff;
}

.bc-page .bc-sec--dark .bc-v-chart__figs > div {
	background: rgba(255, 255, 255, 0.08);
}

.bc-page .bc-sec--band .bc-v-chart__figs > div,
.bc-page .bc-sec--gradient .bc-v-chart__figs > div {
	background: rgba(255, 255, 255, 0.12);
}

.bc-page .bc-v-chart__figs dt {
	font-size: 10px;
	color: var(--bc-text-2);
}

.bc-page .bc-sec--dark .bc-v-chart__figs dt {
	color: var(--bc-on-dark);
}

.bc-page .bc-sec--band .bc-v-chart__figs dt,
.bc-page .bc-sec--gradient .bc-v-chart__figs dt {
	color: var(--bc-on-teal);
}

.bc-page .bc-v-chart__figs dd {
	margin: 0;
	font-family: var(--bc-font-head);
	font-size: 15px;
	font-weight: 700;
}

.bc-page .bc-v-chart__figs dd.is-accent {
	color: var(--bc-teal);
}

.bc-page .bc-sec--dark .bc-v-chart__figs dd.is-accent,
.bc-page .bc-sec--band .bc-v-chart__figs dd.is-accent,
.bc-page .bc-sec--gradient .bc-v-chart__figs dd.is-accent {
	color: var(--bc-saffron);
}

/* SVG charts */
.bc-page .bc-v-chart__svg {
	display: block;
	width: 100%;
	height: 150px;
	overflow: visible;
}

.bc-page .bc-v-chart__svg--lines {
	height: 160px;
}

.bc-page .bc-sec--dark .bc-v-chart__svg--lines {
	height: 110px;
}

.bc-page .bc-v-chart__grid {
	stroke: var(--bc-line);
}

.bc-page .bc-sec--dark .bc-v-chart__grid {
	stroke: rgba(255, 255, 255, 0.1);
}

.bc-page .bc-sec--band .bc-v-chart__grid,
.bc-page .bc-sec--gradient .bc-v-chart__grid {
	stroke: rgba(255, 255, 255, 0.18);
}

.bc-page .bc-v-chart__svg--bars rect {
	fill: var(--bc-teal);
}

.bc-page .bc-sec--band .bc-v-chart__svg--bars rect,
.bc-page .bc-sec--gradient .bc-v-chart__svg--bars rect {
	fill: #fff;
}

.bc-page .bc-v-chart__svg--bars rect.is-hi {
	fill: var(--bc-saffron);
}

.bc-page .bc-v-chart__line {
	stroke-width: 3px;
}

.bc-page .bc-v-chart__line.is-dashed {
	stroke-width: 2.5px;
	stroke-dasharray: 5 5;
}

.bc-page .bc-v-chart__marker {
	fill: var(--bc-saffron);
}

/* Legend */
.bc-page .bc-v-chart__legend {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin: 0;
	font-size: 11px;
	color: var(--bc-text-2);
}

.bc-page .bc-sec--dark .bc-v-chart__legend {
	color: var(--bc-on-dark);
}

.bc-page .bc-v-chart__key {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.bc-page .bc-v-chart__swatch {
	display: block;
	width: 18px;
	height: 4px;
	background: var(--c);
}

.bc-page .bc-v-chart__swatch.is-dashed {
	background: repeating-linear-gradient(90deg, var(--c) 0 5px, transparent 5px 8px);
}

.bc-page .bc-v-chart__dot {
	display: block;
	width: 10px;
	height: 10px;
	border-radius: 9px;
	background: var(--bc-saffron);
}

@media (min-width: 1024px) {
	.bc-page .bc-v-chart {
		gap: 16px;
		padding: 24px;
		border-radius: 24px;
	}

	.bc-page .bc-v-chart--lines {
		gap: 14px;
		padding: 28px;
		border-radius: 28px;
	}

	.bc-page .bc-sec--dark .bc-v-chart--lines {
		gap: 16px;
		padding: 24px;
		border-radius: 26px;
	}

	.bc-page .bc-v-chart__head {
		font-size: 13px;
	}

	.bc-page .bc-v-chart__figs {
		gap: 10px;
	}

	.bc-page .bc-v-chart__figs > div {
		gap: 4px;
		padding: 14px;
		border-radius: 14px;
	}

	.bc-page .bc-v-chart__figs dt {
		font-size: 12px;
	}

	.bc-page .bc-v-chart__figs dd {
		font-size: 22px;
	}

	.bc-page .bc-v-chart__svg {
		height: 240px;
	}

	.bc-page .bc-sec--dark .bc-v-chart__svg--lines {
		height: 200px;
	}

	.bc-page .bc-v-chart__line {
		stroke-width: 4px;
	}

	.bc-page .bc-v-chart__line.is-dashed {
		stroke-width: 3px;
		stroke-dasharray: 6 6;
	}

	.bc-page .bc-v-chart__legend {
		gap: 20px;
		font-size: 13px;
	}
}

/* ---------- Timeline bars --------------------------------------------- */

.bc-page .bc-v-gantt {
	gap: 12px;
	padding: 16px;
	border-radius: 20px;
}

.bc-page .bc-sec--light .bc-v-gantt {
	background: #fff;
}

.bc-page .bc-v-gantt__cols {
	order: 2;
	display: flex;
	justify-content: space-between;
	font-family: var(--bc-font-head);
	font-size: 11px;
	color: var(--bc-text-2);
}

.bc-page .bc-v-gantt__rows {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.bc-page .bc-v-gantt__rows li {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.bc-page .bc-v-gantt__label {
	font-size: 13px;
	font-weight: 700;
}

.bc-page .bc-v-gantt__track {
	position: relative;
	height: 26px;
	border-radius: 8px;
	background: #e3ecea;
}

.bc-page .bc-v-gantt__bar {
	position: absolute;
	top: 0;
	bottom: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 8px;
	font-size: 11px;
	font-weight: 700;
	white-space: nowrap;
}

.bc-page .bc-v-gantt__bar.is-grad {
	background: var(--bc-grad);
}

.bc-page .bc-v-gantt__bar.is-deep {
	background: var(--bc-deep);
}

.bc-page .bc-v-gantt__bar.is-saffron {
	background: var(--bc-saffron);
	color: var(--bc-ink);
}

.bc-page .bc-v-gantt__note {
	order: 3;
	display: none;
	font-size: 13px;
	color: var(--bc-text-2);
}

@media (min-width: 1024px) {
	.bc-page .bc-v-gantt {
		gap: 18px;
		padding: 32px;
		border-radius: 28px;
	}

	.bc-page .bc-v-gantt__cols {
		order: 0;
		justify-content: flex-start;
		padding-left: 170px;
		font-size: 12px;
	}

	.bc-page .bc-v-gantt__cols span {
		flex: 1;
		text-align: center;
	}

	.bc-page .bc-v-gantt__rows {
		gap: 18px;
	}

	.bc-page .bc-v-gantt__rows li {
		flex-direction: row;
		align-items: center;
		gap: 0;
	}

	.bc-page .bc-v-gantt__label {
		flex-shrink: 0;
		width: 170px;
		font-size: 15px;
	}

	.bc-page .bc-v-gantt__track {
		flex: 1;
		height: 40px;
		background: none;
	}

	.bc-page .bc-v-gantt__bar {
		border-radius: 10px;
		font-family: var(--bc-font-head);
		font-size: 13px;
	}

	.bc-page .bc-v-gantt__note {
		display: block;
	}
}

/* ---------- Scoring matrix ------------------------------------------- */

.bc-page .bc-v-matrix {
	padding: 14px 16px;
	border-radius: 20px;
	background: var(--bc-light);
}

.bc-page .bc-v-matrix table {
	width: 100%;
	border-collapse: collapse;
	table-layout: fixed;
}

.bc-page .bc-v-matrix th,
.bc-page .bc-v-matrix td {
	padding: 10px 0;
	text-align: left;
	vertical-align: middle;
	border-top: 1px solid #e3ecea;
}

.bc-page .bc-v-matrix thead th {
	padding: 0 0 8px;
	border-top: 0;
	font-family: var(--bc-font-head);
	font-size: 10px;
	font-weight: 400;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--bc-teal);
}

.bc-page .bc-v-matrix thead th:first-child,
.bc-page .bc-v-matrix tbody th {
	width: 31%;
}

.bc-page .bc-v-matrix tbody th {
	font-size: 13px;
	font-weight: 600;
}

.bc-page .bc-v-matrix__dots {
	display: inline-flex;
	gap: 2px;
}

.bc-page .bc-v-matrix__dots i {
	display: block;
	width: 9px;
	height: 9px;
	border-radius: 99px;
	background: var(--bc-line);
}

.bc-page .bc-v-matrix__dots i.is-on {
	background: var(--bc-teal);
}

.bc-page .bc-v-matrix tfoot th,
.bc-page .bc-v-matrix tfoot td {
	padding-top: 12px;
	border-top-color: var(--bc-line);
	font-size: 13px;
	font-weight: 700;
}

.bc-page .bc-v-matrix__rec {
	display: inline-block;
	padding: 5px 10px;
	border-radius: 999px;
	background: var(--bc-grad);
	color: #fff;
	font-family: var(--bc-font-head);
	font-size: 11px;
	font-weight: 700;
	white-space: nowrap;
}

@media (min-width: 1024px) {
	.bc-page .bc-v-matrix {
		padding: 28px 32px;
		border-radius: 28px;
	}

	.bc-page .bc-v-matrix thead th {
		padding-bottom: 12px;
		font-size: 13px;
		letter-spacing: 0.1em;
	}

	.bc-page .bc-v-matrix th,
	.bc-page .bc-v-matrix td {
		padding: 16px 0;
	}

	.bc-page .bc-v-matrix tbody th {
		font-size: 15px;
	}

	.bc-page .bc-v-matrix__dots {
		gap: 5px;
	}

	.bc-page .bc-v-matrix__dots i {
		width: 12px;
		height: 12px;
	}

	.bc-page .bc-v-matrix tfoot th,
	.bc-page .bc-v-matrix tfoot td {
		padding: 16px 0 0;
		font-size: 16px;
	}

	.bc-page .bc-v-matrix__rec {
		padding: 6px 12px;
		font-size: 12px;
	}
}

/* ---------- Flighting plan ------------------------------------------- */

.bc-page .bc-v-flight {
	gap: 8px;
	background: #fff;
}

.bc-page .bc-v-flight .bc-v-chart__head {
	font-size: 9px;
}

.bc-page .bc-v-flight__grid {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.bc-page .bc-v-flight__row {
	display: grid;
	grid-template-columns: 110px repeat(12, minmax(0, 1fr));
	gap: 3px;
	align-items: center;
}

.bc-page .bc-v-flight__row--head span {
	font-family: var(--bc-font-head);
	font-size: 9px;
	font-weight: 600;
	color: var(--bc-text-2);
	text-align: center;
}

.bc-page .bc-v-flight__row--head .is-moment {
	color: var(--bc-deep);
	font-weight: 800;
}

.bc-page .bc-v-flight__name {
	display: flex;
	flex-direction: column;
}

.bc-page .bc-v-flight__name b {
	font-size: 11px;
	color: var(--bc-ink);
}

.bc-page .bc-v-flight__name small {
	font-size: 9px;
	color: var(--bc-text-2);
}

.bc-page .bc-v-flight__cell {
	height: 18px;
	border-radius: 4px;
	background: #e3ecea;
}

.bc-page .bc-v-flight__cell.is-on {
	background: var(--c);
}

.bc-page .bc-v-flight__cell.is-on.is-moment {
	outline: 2px solid var(--bc-ink);
	outline-offset: -2px;
}

.bc-page .bc-v-flight__row--moments {
	line-height: 1.1;
}

.bc-page .bc-v-flight__row--moments span {
	font-family: var(--bc-font-head);
	font-size: 8px;
	font-weight: 800;
	color: var(--bc-ink);
	text-align: center;
}

.bc-page .bc-v-flight__legend {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0;
	font-size: 10px;
	color: var(--bc-text-2);
}

.bc-page .bc-v-flight__legend span {
	display: flex;
	align-items: center;
	gap: 6px;
}

.bc-page .bc-v-flight__legend i {
	display: block;
	width: 12px;
	height: 12px;
	border-radius: 3px;
}

@media (min-width: 1024px) {
	.bc-page .bc-v-flight {
		gap: 12px;
		padding: 26px;
		border-radius: 26px;
	}

	.bc-page .bc-v-flight .bc-v-chart__head {
		font-size: 11px;
	}

	.bc-page .bc-v-flight__grid {
		gap: 12px;
	}

	.bc-page .bc-v-flight__row {
		grid-template-columns: 200px repeat(12, minmax(0, 1fr));
		gap: 5px;
	}

	.bc-page .bc-v-flight__row--head span {
		font-size: 11px;
	}

	.bc-page .bc-v-flight__name b {
		font-size: 13px;
	}

	.bc-page .bc-v-flight__name small {
		font-size: 11px;
	}

	.bc-page .bc-v-flight__cell {
		height: 30px;
		border-radius: 6px;
	}

	.bc-page .bc-v-flight__row--moments span {
		font-size: 10px;
	}

	.bc-page .bc-v-flight__legend {
		gap: 18px;
		font-size: 12px;
	}
}

/* ---------- Cadence / hours ------------------------------------------- */

.bc-page .bc-v-cadence {
	gap: 10px;
	padding: 14px;
	border-radius: 16px;
}

.bc-page .bc-v-cadence__title {
	font-family: var(--bc-font-head);
	font-size: 10px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.bc-page .bc-v-cadence__row {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.bc-page .bc-v-cadence__label {
	font-size: 12px;
	font-weight: 700;
}

.bc-page .bc-sec--band .bc-v-cadence__label,
.bc-page .bc-sec--gradient .bc-v-cadence__label {
	font-weight: 600;
}

.bc-page .bc-v-cadence__track {
	display: flex;
	gap: 3px;
}

.bc-page .bc-v-cadence__track i {
	flex: 1;
	height: 18px;
	border-radius: 4px;
	background: #e3ecea;
}

.bc-page .bc-sec--band .bc-v-cadence__track i,
.bc-page .bc-sec--gradient .bc-v-cadence__track i {
	background: rgba(255, 255, 255, 0.15);
}

.bc-page .bc-v-cadence__track i.is-on {
	background: var(--c);
}

.bc-page .bc-v-cadence--fine .bc-v-cadence__track {
	gap: 2px;
}

.bc-page .bc-v-cadence--fine .bc-v-cadence__track i {
	height: 16px;
	border-radius: 3px;
}

.bc-page .bc-v-cadence__axis {
	display: flex;
	justify-content: space-between;
	margin: 0;
	font-family: var(--bc-font-head);
	font-size: 11px;
	color: var(--bc-text-2);
}

.bc-page .bc-sec--band .bc-v-cadence__axis,
.bc-page .bc-sec--gradient .bc-v-cadence__axis {
	color: var(--bc-on-teal);
}

.bc-page .bc-v-cadence__note {
	margin: 0;
	font-size: 12px;
	color: var(--bc-text-2);
}

.bc-page .bc-v-cadence__video {
	display: flex;
	align-items: center;
	gap: 12px;
	width: 100%;
	padding: 12px 14px;
	border: 0;
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.14);
	color: inherit;
	font: inherit;
	font-size: 13px;
	text-align: left;
}

button.bc-v-cadence__video {
	cursor: pointer;
}

.bc-page .bc-v-media__play--sm {
	width: 40px;
	height: 40px;
}

.bc-page .bc-v-media__play--sm .bc-icon {
	width: 16px;
	height: 16px;
}

@media (max-width: 1023.98px) {
	.bc-page .bc-v-cadence--fine .bc-v-cadence__title,
	.bc-page .bc-v-cadence--fine .bc-v-cadence__axis,
	.bc-page .bc-v-cadence--fine .bc-v-cadence__video {
		display: none;
	}
}

@media (min-width: 1024px) {
	.bc-page .bc-v-cadence {
		gap: 16px;
		padding: 26px;
		border-radius: 26px;
	}

	.bc-page .bc-sec--band .bc-v-cadence,
	.bc-page .bc-sec--gradient .bc-v-cadence {
		padding: 24px;
		border-radius: 24px;
	}

	.bc-page .bc-v-cadence__title {
		font-size: 12px;
	}

	.bc-page .bc-v-cadence__row {
		gap: 8px;
	}

	.bc-page .bc-v-cadence--fine .bc-v-cadence__row {
		gap: 6px;
	}

	.bc-page .bc-v-cadence__label {
		font-size: 14px;
	}

	.bc-page .bc-v-cadence__track {
		gap: 4px;
	}

	.bc-page .bc-v-cadence--fine .bc-v-cadence__track {
		gap: 3px;
	}

	.bc-page .bc-v-cadence__track i,
	.bc-page .bc-v-cadence--fine .bc-v-cadence__track i {
		height: 26px;
		border-radius: 5px;
	}

	.bc-page .bc-v-cadence--fine .bc-v-cadence__track i {
		border-radius: 4px;
	}
}

/* ---------- Funnel stages -------------------------------------------- */

.bc-page .bc-v-funnel {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.bc-page .bc-v-funnel__stage {
	display: flex;
	flex-direction: column;
	gap: 2px;
	align-self: center;
	width: calc(100% - var(--i) * 16%);
	padding: 12px 14px;
	border-radius: 12px;
	color: #fff;
}

.bc-page .bc-v-funnel__stage--0 {
	background: var(--bc-ink);
}

.bc-page .bc-v-funnel__stage--1 {
	background: var(--bc-deep);
}

.bc-page .bc-v-funnel__stage--2 {
	background: var(--bc-grad);
}

.bc-page .bc-v-funnel__stage b {
	font-family: var(--bc-font-head);
	font-size: 15px;
}

.bc-page .bc-v-funnel__stage span {
	font-size: 12px;
	opacity: 0.9;
}

@media (min-width: 1024px) {
	.bc-page .bc-v-funnel {
		gap: 10px;
	}

	.bc-page .bc-v-funnel__stage {
		flex-direction: row;
		justify-content: space-between;
		align-items: center;
		width: calc(100% - var(--i) * 20%);
		padding: 18px 22px;
		border-radius: 16px;
	}

	.bc-page .bc-v-funnel__stage b {
		font-size: 18px;
	}

	.bc-page .bc-v-funnel__stage span {
		font-size: 13px;
	}
}
