/* Como citar. */

.tnc-cite-box {
	border-top: 1px solid rgba(0, 0, 0, 0.1);
	margin-top: 2rem;
	padding-top: 1.25rem;
}

.tnc-cite-box__title {
	font-size: 1.1rem;
	margin: 0 0 0.75rem;
}

.tnc-cite__bar {
	display: flex;
	flex-wrap: wrap;
	gap: 0.25rem;
	margin-bottom: 0.75rem;
}

.tnc-cite__tab {
	background: transparent;
	border: 1px solid rgba(0, 0, 0, 0.15);
	border-radius: 999px;
	cursor: pointer;
	font-size: 0.85rem;
	padding: 0.25rem 0.8rem;
}

.tnc-cite__tab[aria-selected="true"] {
	background: var(--tnc-accent, #187181);
	border-color: var(--tnc-accent, #187181);
	color: #fff;
}

.tnc-cite__tab:focus-visible {
	outline: 2px solid var(--tnc-accent, #187181);
	outline-offset: 2px;
}

.tnc-cite__panel[hidden] {
	display: none;
}

.tnc-cite__text {
	background: rgba(0, 0, 0, 0.03);
	border-left: 3px solid var(--tnc-accent, #187181);
	line-height: 1.55;
	margin: 0 0 0.5rem;
	padding: 0.75rem 1rem;
}

.tnc-cite__code {
	background: rgba(0, 0, 0, 0.04);
	border-radius: 6px;
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	font-size: 0.82rem;
	margin: 0 0 0.5rem;
	overflow-x: auto;
	padding: 0.75rem 1rem;
	white-space: pre;
}

.tnc-cite__copy {
	background: transparent;
	border: 1px solid rgba(0, 0, 0, 0.2);
	border-radius: 6px;
	cursor: pointer;
	font-size: 0.8rem;
	padding: 0.3rem 0.8rem;
}

.tnc-cite__notice {
	background: #111;
	border-radius: 6px;
	bottom: 1rem;
	color: #fff;
	left: 50%;
	margin: 0;
	padding: 0.5rem 1rem;
	position: fixed;
	transform: translateX(-50%);
	z-index: 10001;
}

.tnc-cite__notice:empty {
	display: none;
}
