/* Gráfico de cotizaciones */
.tdcer-chart {
	--tdcer-text: #1d2327;
	--tdcer-muted: #646970;
	--tdcer-line: #e2e4e7;
	--tdcer-acc: #085a31;
	margin: 0 0 20px;
	color: var(--tdcer-text);
	font-size: 14px;
}
.tdcer-chart[hidden],
.tdcer-legend[hidden],
.tdcer-sum[hidden],
.tdcer-table[hidden] {
	display: none;
}
.tdcer-tmore {
	margin: 8px 0 4px;
}
.tdcer-title {
	margin: 0 0 8px;
	font-weight: 700;
	font-size: var(--tdcer-fs-title, 16px);
}
.tdcer-bar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 14px;
	margin: 0 0 10px;
}
.tdcer-ranges {
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
}
.tdcer-chip,
.tdcer-key {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 30px;
	padding: 3px 11px;
	border: 1px solid var(--tdcer-line);
	border-radius: 20px;
	background: #fff;
	color: var(--tdcer-text);
	font: inherit;
	font-size: 13px;
	line-height: 1.2;
	cursor: pointer;
}
.tdcer-chip:hover,
.tdcer-key:hover {
	border-color: var(--tdcer-acc);
}
.tdcer-chip[aria-pressed="true"] {
	background: var(--tdcer-acc);
	border-color: var(--tdcer-acc);
	color: #fff;
}
.tdcer-chip:focus-visible,
.tdcer-key:focus-visible,
.tdcer-svg:focus-visible {
	outline: 2px solid var(--tdcer-acc);
	outline-offset: 2px;
}
.tdcer-dates {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}
.tdcer-dates[hidden] {
	display: none;
}
.tdcer-dates label {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--tdcer-muted);
	font-size: 13px;
}
.tdcer-dates input {
	padding: 3px 6px;
	border: 1px solid var(--tdcer-line);
	border-radius: 6px;
	font: inherit;
	font-size: 13px;
}
.tdcer-plot {
	position: relative;
	width: 100%;
	min-height: 180px;
}
.tdcer-svg {
	display: block;
	overflow: visible;
	touch-action: pan-y;
}
.tdcer-grid line {
	stroke: var(--tdcer-line);
	stroke-width: 1;
}
.tdcer-ax {
	fill: var(--tdcer-muted);
	font-size: var(--tdcer-fs-ax, 11px);
	font-variant-numeric: tabular-nums;
}
.tdcer-line {
	fill: none;
	stroke-width: var(--tdcer-lw, 2);
	stroke-linejoin: round;
	stroke-linecap: round;
}
.tdcer-end line {
	stroke-width: 2;
	stroke-linecap: round;
}
.tdcer-end text {
	fill: var(--tdcer-text);
	font-size: 12px;
	font-weight: 600;
}
.tdcer-cross {
	stroke: #8c8f94;
	stroke-width: 1;
	stroke-dasharray: 3 3;
}
.tdcer-tip {
	position: absolute;
	z-index: 2;
	min-width: 150px;
	padding: 8px 10px;
	border: 1px solid var(--tdcer-line);
	border-radius: 8px;
	background: #fff;
	box-shadow: 0 4px 14px rgba(0, 0, 0, .12);
	font-size: 12px;
	pointer-events: none;
}
.tdcer-tip[hidden] {
	display: none;
}
.tdcer-tip-d {
	margin: 0 0 4px;
	color: var(--tdcer-muted);
}
.tdcer-tip-r {
	display: flex;
	align-items: center;
	gap: 6px;
	line-height: 1.6;
	white-space: nowrap;
}
.tdcer-tip-r i {
	display: inline-block;
	width: 12px;
	height: 3px;
	border-radius: 2px;
}
.tdcer-tip-r b {
	font-variant-numeric: tabular-nums;
}
.tdcer-tip-r span {
	color: var(--tdcer-muted);
}
.tdcer-legend {
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
	margin: 10px 0 0;
}
.tdcer-key[aria-pressed="false"] {
	color: var(--tdcer-muted);
	background: #f6f7f7;
}
.tdcer-key[aria-pressed="false"] .tdcer-sw {
	opacity: .3;
}
.tdcer-sw {
	display: inline-block;
	width: 14px;
	height: 3px;
	border-radius: 2px;
}
.tdcer-sum {
	margin: 8px 0 0;
	color: var(--tdcer-muted);
	font-size: 13px;
}
.tdcer-table {
	margin: 6px 0 0;
	font-size: 13px;
}
.tdcer-table summary {
	cursor: pointer;
	color: var(--tdcer-acc);
	font-weight: 600;
}
.tdcer-table-in {
	max-height: 360px;
	overflow: auto;
	margin-top: 6px;
}
.tdcer-table table {
	width: 100%;
	border-collapse: collapse;
	font-variant-numeric: tabular-nums;
}
.tdcer-table th,
.tdcer-table td {
	padding: 4px 8px;
	border-bottom: 1px solid var(--tdcer-line);
	text-align: right;
	white-space: nowrap;
}
.tdcer-table th[scope="row"],
.tdcer-table thead th:first-child {
	text-align: left;
}
.tdcer-table thead th {
	position: sticky;
	top: 0;
	background: #fff;
}
.tdcer-empty,
.tdcer-empty-all {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100%;
	min-height: 120px;
	margin: 0;
	color: var(--tdcer-muted);
	border: 1px dashed var(--tdcer-line);
	border-radius: 8px;
}
