
.chart {
	position: relative;
	min-width: 0;
	min-height: 300px;
	margin: 0;
	border-radius: var(--radius_8);
	color: var(--color-text-sub-600);
	-webkit-tap-highlight-color: transparent;
}

.chart_svg {
	display: block;
	overflow: visible;
}

.chart text {
	fill: currentColor;
	font-size: var(--text-paragraph-xs);
	letter-spacing: var(--text-paragraph-xs--letter-spacing);
	font-weight: var(--text-paragraph-xs--font-weight);
	font-variant-numeric: tabular-nums;
}

.chart_grid_line {
	stroke: var(--data_grid);
	stroke-width: 1px;
	stroke-dasharray: 4 4;
	shape-rendering: crispEdges;
}

.chart_fill stop {
	stop-color: var(--data_main);
}

.chart_fill stop:first-child {
	stop-opacity: 0.2;
}

.chart_fill stop:last-child {
	stop-opacity: 0;
}

.chart_fill.series_on stop {
	stop-color: var(--tone_on);
}

.chart_fill.series_other stop {
	stop-color: var(--data_other);
}

.chart_area {
	stroke: none;
}

.chart_line {
	fill: none;
	stroke: var(--data_main);
	stroke-width: 2px;
	stroke-linejoin: round;
	stroke-linecap: round;
}

.chart_line.series_on {
	stroke: var(--tone_on);
}

.chart_line.series_other {
	stroke: var(--data_other);
}

.chart_dash {
	fill: none;
	stroke: var(--data_line);
	stroke-width: 1.5px;
	stroke-dasharray: 6 4;
	stroke-linejoin: round;
}

.chart_hatch line {
	stroke: var(--gap_hatch);
	stroke-width: 1px;
}

.chart_gap {
	stroke: none;
}

.chart .chart_gap_label {
	paint-order: stroke;
	stroke: var(--color-bg-white-0);
	stroke-width: 4px;
	stroke-linejoin: round;
}

.chart .chart_label {
	fill: var(--color-text-sub-600);
}

.chart_peak {
	fill: var(--data_main);
	stroke: var(--color-bg-white-0);
	stroke-width: 2px;
}

.chart .chart_empty {
	fill: var(--color-text-sub-600);
	font-size: var(--text-paragraph-sm);
	letter-spacing: var(--text-paragraph-sm--letter-spacing);
	font-weight: var(--text-paragraph-sm--font-weight);
}

.chart_cursor {
	stroke: var(--data_cursor);
	stroke-width: 1px;
	stroke-dasharray: 4 4;
	pointer-events: none;
}

.chart_dot {
	fill: var(--data_main);
	stroke: var(--color-bg-white-0);
	stroke-width: 2px;
	pointer-events: none;
}

.chart_dot.series_on {
	fill: var(--tone_on);
}

.chart_dot.series_other {
	fill: var(--data_other);
}

.chart_dot.series_line {
	fill: var(--data_line);
}

.chart_tip {
	position: absolute;
	top: var(--space_8);
	left: var(--x, 0px);
	z-index: var(--z_raised);
	display: flex;
	flex-direction: column;
	gap: var(--space_2);
	width: max-content;
	max-width: 240px;
	padding: var(--space_8) var(--space_12);
	border-radius: var(--radius_8);
	background: var(--color-bg-white-0);
	box-shadow: var(--surface_md);
	pointer-events: none;
}

.chart_tip p {
	margin: 0;
}

.chart_tip_time {
	color: var(--color-text-sub-600);
	font-size: var(--text-paragraph-xs);
	line-height: var(--text-paragraph-xs--line-height);
	letter-spacing: var(--text-paragraph-xs--letter-spacing);
	font-weight: var(--text-paragraph-xs--font-weight);
	font-variant-numeric: tabular-nums;
}

.chart_tip_row {
	display: flex;
	align-items: center;
	gap: var(--space_6);
	color: var(--color-text-sub-600);
	font-size: var(--text-paragraph-xs);
	line-height: var(--text-label-sm--line-height);
	letter-spacing: var(--text-paragraph-xs--letter-spacing);
	font-weight: var(--text-paragraph-xs--font-weight);
}

.chart_tip_row b {
	color: var(--color-text-strong-950);
	font-size: var(--text-label-sm);
	line-height: var(--text-label-sm--line-height);
	letter-spacing: var(--text-label-sm--letter-spacing);
	font-weight: var(--text-label-sm--font-weight);
	font-variant-numeric: tabular-nums;
}

.chart_key {
	flex-shrink: 0;
	width: 8px;
	height: 8px;
	border-radius: var(--radius_full);
	background: var(--data_main);
}

.chart_key.series_on {
	background: var(--tone_on);
}

.chart_key.series_other {
	background: var(--data_other);
}

.chart_key.series_line {
	border: 1.5px dashed var(--data_line);
	border-radius: 2px;
	background: transparent;
}

.chart_tip_gap {
	display: flex;
	align-items: center;
	gap: var(--space_6);
	margin-top: var(--space_2);
	color: var(--color-text-sub-600);
	font-size: var(--text-paragraph-xs);
	line-height: var(--text-paragraph-xs--line-height);
	letter-spacing: var(--text-paragraph-xs--letter-spacing);
	font-weight: var(--text-paragraph-xs--font-weight);
}

.chart_tip_icon {
	flex-shrink: 0;
	width: 16px;
	height: 16px;
	fill: var(--tone_doubt);
}

.chart_legend {
	margin-top: var(--space_12);
}

.mark.series_on {
	--mark_color: var(--tone_on);
}

.mark.series_other {
	--mark_color: var(--data_other);
}

.mark.series_main {
	--mark_color: var(--data_main);
}

.mark.series_line .mark_dot {
	border: 1.5px dashed var(--data_line);
	border-radius: 2px;
	background: transparent;
}

.chart_placeholder {
	height: 300px;
	border-radius: var(--radius_12);
	background: var(--color-bg-weak-50);
	animation: values_pulse var(--duration_pulse) var(--ease_pulse) infinite;
}

.chart_placeholder.small {
	height: 40px;
}

.chart_table {
	height: 300px;
	max-height: none;
}

.chart_table .data_table {
	table-layout: auto;
}

.chart_table .data_table th {
	white-space: nowrap;
}

.chart_table .data_table th.col_number {
	min-width: 96px;
	white-space: normal;
}

.chart_table .chart_table_time {
	white-space: nowrap;
}

.chart_table_gap {
	color: var(--color-text-soft-400);
}

.chart_table_empty, .chart_none {
	margin: 0;
	color: var(--color-text-sub-600);
	font-size: var(--text-paragraph-sm);
	line-height: var(--text-paragraph-sm--line-height);
	letter-spacing: var(--text-paragraph-sm--letter-spacing);
	font-weight: var(--text-paragraph-sm--font-weight);
}

.chart_table_empty {
	display: grid;
	place-items: center;
	height: 100%;
}

.gap_band {
	position: absolute;
	top: 0;
	bottom: 0;
	left: calc(var(--x) * 100%);
	width: max(1px, calc(var(--w) * 100%));
	background: repeating-linear-gradient(45deg, var(--gap_hatch) 0 1px, transparent 1px 6px);
	pointer-events: none;
}

.sparkline {
	position: relative;
	display: block;
	width: 88px;
	height: 24px;
}

.sparkline svg {
	display: block;
	overflow: visible;
}

.sparkline path {
	fill: none;
	stroke: var(--data_other);
	stroke-width: 1.5px;
	stroke-linejoin: round;
	stroke-linecap: round;
}

.sparkline.series_on path {
	stroke: var(--tone_on);
}

.small_chart {
	position: relative;
	height: 40px;
	min-width: 0;
}

.small_chart svg {
	display: block;
	width: 100%;
	height: 100%;
	overflow: visible;
}

.small_area {
	fill: var(--data_main);
	fill-opacity: 0.12;
	stroke: none;
}

.small_line {
	fill: none;
	stroke: var(--data_main);
	stroke-width: 1.5px;
	stroke-linejoin: round;
}

.multiples {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space_8);
	container-type: inline-size;
}

.multiples > * {
	flex: 0 0 calc(50% - var(--space_4));
	min-width: 0;
}

@container (min-width: 768px) {
	.multiples > * {
		flex-basis: calc(25% - var(--space_6));
	}
}

.state_bar_box {
	container-type: inline-size;
	min-width: 0;
}

.state_bar {
	position: relative;
	display: flex;
	height: 12px;
	overflow: hidden;
	border-radius: var(--radius_6);
}

.state_seg {
	flex: var(--share, 1) 1 0;
	min-width: 0;
}

.state_on {
	background: var(--tone_on);
}

.state_off {
	background: var(--tone_off);
}

.state_seg:first-of-type {
	border-top-left-radius: var(--radius_6);
	border-bottom-left-radius: var(--radius_6);
}

.state_seg:last-of-type {
	border-top-right-radius: var(--radius_6);
	border-bottom-right-radius: var(--radius_6);
}

.state_unknown {
	border: 1px dashed var(--tone_unknown);
	background: transparent;
}

.state_foot {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	align-items: start;
	gap: var(--space_8) var(--space_16);
	margin-top: var(--space_8);
	color: var(--color-text-sub-600);
	font-size: var(--text-paragraph-xs);
	line-height: var(--text-paragraph-xs--line-height);
	letter-spacing: var(--text-paragraph-xs--letter-spacing);
	font-weight: var(--text-paragraph-xs--font-weight);
	font-variant-numeric: tabular-nums;
}

.state_end {
	display: grid;
	white-space: nowrap;
}

.state_end > * {
	grid-area: 1 / 1;
}

.state_sizer {
	visibility: hidden;
}

.state_end:last-child {
	text-align: right;
}

.state_legend {
	justify-content: center;
}

@container (width < 576px) {
	.state_foot {
		display: flex;
		flex-wrap: wrap;
	}

	.state_sizer {
		display: none;
	}

	.state_end:last-child {
		margin-left: auto;
	}

	.state_legend {
		order: 1;
		flex-basis: 100%;
		justify-content: flex-start;
	}
}

.life_bar {
	position: relative;
	display: block;
	width: 100%;
	height: 6px;
	border-radius: var(--radius_full);
	background: var(--color-bg-soft-200);
}

.life_bar i {
	position: absolute;
	top: 0;
	bottom: 0;
	left: calc(var(--x) * 100%);
	width: max(2px, calc(var(--w) * 100%));
	border-radius: var(--radius_full);
	background: var(--data_main);
}

.dot_strip {
	display: flex;
	flex-direction: column;
	gap: var(--space_8);
	padding-inline: var(--space_4);
}

.dot_track {
	position: relative;
	display: block;
	height: 6px;
	border-radius: var(--radius_full);
	background: var(--color-bg-soft-200);
}

.dot_point {
	position: absolute;
	top: 50%;
	left: calc(var(--x) * 100%);
	width: 8px;
	height: 8px;
	border-radius: var(--radius_full);
	background: var(--data_main);
	box-shadow: 0 0 0 2px var(--color-bg-white-0);
	translate: -50% -50%;
}

.dot_ends {
	display: flex;
	justify-content: space-between;
	gap: var(--space_16);
	margin-inline: calc(var(--space_4) * -1);
	color: var(--color-text-sub-600);
	font-size: var(--text-paragraph-xs);
	line-height: var(--text-paragraph-xs--line-height);
	letter-spacing: var(--text-paragraph-xs--letter-spacing);
	font-weight: var(--text-paragraph-xs--font-weight);
	font-variant-numeric: tabular-nums;
}

.segbar {
	display: flex;
	height: 28px;
	overflow: hidden;
	border-radius: var(--radius_8);
}

.segbar_block {
	flex: 1 1 auto;
	height: 100%;
	border-radius: 0;
}

.segbar_part {
	display: flex;
	flex: var(--share, 1) 1 0;
	align-items: center;
	min-width: 2px;
	overflow: hidden;
	background: var(--type_access_fill);
	color: var(--color-text-strong-950);
}

.segbar_part.vpn {
	background: var(--type_vpn);
	color: var(--color-static-white);
}

.segbar_part.hosting {
	background: var(--type_hosting);
	color: var(--color-static-black);
}

.segbar_part.cdn {
	background: var(--type_cdn);
	color: var(--color-static-black);
}

.segbar_part:is(.unknown, .pending) {
	border: 1px dashed var(--type_unknown);
	background: transparent;
}

.segbar_part:is(.unknown, .pending):first-child {
	border-top-left-radius: inherit;
	border-bottom-left-radius: inherit;
}

.segbar_part:is(.unknown, .pending):last-child {
	border-top-right-radius: inherit;
	border-bottom-right-radius: inherit;
}

.segbar_label {
	min-width: 0;
	padding-inline: var(--space_8);
	overflow: hidden;
	font-size: var(--text-label-xs);
	line-height: var(--text-label-xs--line-height);
	letter-spacing: var(--text-label-xs--letter-spacing);
	font-weight: var(--text-label-xs--font-weight);
	font-variant-numeric: tabular-nums;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.segbar.thin {
	height: 6px;
	border-radius: var(--radius_full);
}

.segbar.thin .segbar_part:is(.unknown, .pending) {
	border-style: solid;
	border-color: var(--type_unknown);
}

.segbar + .legend {
	margin-top: var(--space_8);
}

.bar_list {
	display: flex;
	flex-direction: column;
	gap: var(--space_12);
	margin: 0;
	padding: 0;
	list-style: none;
}

.bar_row {
	display: flex;
	flex-direction: column;
	gap: var(--space_6);
	min-width: 0;
}

.bar_line {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: var(--space_12);
	min-width: 0;
	font-size: var(--text-paragraph-sm);
	line-height: var(--text-paragraph-sm--line-height);
	letter-spacing: var(--text-paragraph-sm--letter-spacing);
	font-weight: var(--text-paragraph-sm--font-weight);
}

.bar_name {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 6px;
	height: 20px;
	min-width: 0;
	overflow: clip;
	overflow-clip-margin: 4px;
	color: var(--color-text-strong-950);
	white-space: nowrap;
}

.bar_text {
	flex: 0 1 auto;
	min-width: 0;
	max-width: 100%;
	overflow: hidden;
	text-overflow: ellipsis;
}

.bar_name > .badge {
	flex: 0 0 auto;
}

.bar_name > .badge.inline {
	margin-inline-start: 0;
}

.bar_value {
	flex-shrink: 0;
	color: var(--color-text-sub-600);
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}

.bar_track {
	position: relative;
	display: block;
	height: 6px;
	overflow: hidden;
	border-radius: var(--radius_full);
	background: var(--color-bg-soft-200);
}

.bar_fill {
	display: block;
	width: calc(var(--share, 0) * 100%);
	min-width: 2px;
	height: 100%;
	border-radius: var(--radius_full);
	background: var(--bar_fill, var(--data_main));
}

.bar_row.rest .bar_fill {
	background: var(--color-text-soft-400);
}

.bar_empty {
	margin: 0;
	color: var(--color-text-sub-600);
	font-size: var(--text-paragraph-sm);
	line-height: var(--text-paragraph-sm--line-height);
	letter-spacing: var(--text-paragraph-sm--letter-spacing);
	font-weight: var(--text-paragraph-sm--font-weight);
}