/* Citation Impact — styles scoped to .cimpact so they follow the journal theme. */
.cimpact {
	--ci-line: rgba(0, 0, 0, .12);
	--ci-grid: rgba(0, 0, 0, .07);
	--ci-ink-2: rgba(0, 0, 0, .68);
	--ci-ink-3: rgba(0, 0, 0, .56);
	--ci-card: rgba(255, 255, 255, .6);
	--ci-chip: rgba(0, 0, 0, .05);
	--ci-accent: #2a78d6;
	--ci-accent-ink: #1d5fae;
	max-width: 980px;
	font-variant-numeric: tabular-nums;
}
.cimpact * { box-sizing: border-box; }
.cimpact-title { margin: .25em 0 .3em; }
.cimpact-lead { color: var(--ci-ink-2); margin: 0 0 .25em; max-width: 62ch; }
.cimpact-meta { color: var(--ci-ink-3); font-size: .875em; margin: 0; }
.cimpact-stats {
	display: flex; flex-wrap: wrap; gap: 1px; margin: 1.75em 0;
	background: var(--ci-line); border: 1px solid var(--ci-line); border-radius: 10px; overflow: hidden;
}
.cimpact-stat { flex: 1 1 150px; padding: 1em 1.1em; background: #fff; }
.cimpact-stat .v { font-size: 1.9em; font-weight: 700; line-height: 1.1; letter-spacing: -.01em; }
.cimpact-stat .v small { font-size: .45em; font-weight: 400; color: var(--ci-ink-3); letter-spacing: 0; }
.cimpact-stat .k { font-size: .85em; color: var(--ci-ink-2); margin-top: .35em; }
.cimpact-card { border: 1px solid var(--ci-line); border-radius: 10px; padding: 1.25em; margin: 0 0 1.25em; background: #fff; }
.cimpact-card h2 { margin: 0 0 .2em; font-size: 1.2em; }
.cimpact-sub { color: var(--ci-ink-3); font-size: .85em; margin: 0 0 .9em; }
.cimpact-empty { text-align: center; color: var(--ci-ink-2); padding: 1.5em; }
.cimpact-chartbox { position: relative; }
.cimpact .ci-chart { display: block; width: 100%; height: auto; overflow: visible; }
.cimpact .ci-chart-narrow { display: none; }
.cimpact .ci-grid { stroke: var(--ci-grid); stroke-width: 1; }
.cimpact .ci-base { stroke: var(--ci-line); }
.cimpact .ci-tick { fill: var(--ci-ink-3); font-size: 11px; font-family: inherit; }
.cimpact .ci-hit { fill: transparent; }
.cimpact .ci-mark { fill: var(--ci-accent); }
.cimpact .ci-bar { outline: none; }
.cimpact .ci-bar:hover .ci-mark, .cimpact .ci-bar:focus .ci-mark { fill: var(--ci-accent-ink); }
.cimpact .ci-bar:hover .ci-hit, .cimpact .ci-bar:focus .ci-hit { fill: var(--ci-chip); }
.cimpact .ci-bar:focus-visible .ci-hit { stroke: var(--ci-accent); stroke-width: 1.5; }
.cimpact-tip {
	position: absolute; pointer-events: none; transform: translate(-50%, -100%); opacity: 0; transition: opacity .12s;
	background: #222; color: #fff; font-size: 12px; line-height: 1.3; padding: 5px 8px; border-radius: 6px; white-space: nowrap;
}
.cimpact-details { margin-top: .6em; font-size: .85em; color: var(--ci-ink-2); }
.cimpact-details summary { cursor: pointer; }
.cimpact-ytable { border-collapse: collapse; margin-top: .5em; }
.cimpact-ytable th, .cimpact-ytable td { padding: 3px 14px 3px 0; text-align: right; border-bottom: 1px solid var(--ci-grid); }
.cimpact-ytable th:first-child, .cimpact-ytable td:first-child { text-align: left; }
.cimpact-tools { display: flex; flex-wrap: wrap; gap: .6em; margin: 0 0 .75em; }
.cimpact-tools input, .cimpact-tools select {
	font: inherit; font-size: .9em; padding: .5em .65em; border: 1px solid var(--ci-line); border-radius: 6px; background: #fff; color: inherit;
}
.cimpact-tools input { flex: 1 1 240px; min-width: 0; }
.cimpact-list { width: 100%; border-collapse: collapse; margin: 0; }
.cimpact-list th {
	font-size: .78em; font-weight: 600; color: var(--ci-ink-3); text-align: right; white-space: nowrap;
	padding: .5em 0 .5em .75em; border-bottom: 1px solid var(--ci-line); background: none;
}
.cimpact-list th:first-child { text-align: left; padding-left: 0; }
.cimpact-list td {
	padding: .8em 0 .8em .75em; border-bottom: 1px solid var(--ci-grid); vertical-align: top; text-align: right; white-space: nowrap;
}
.cimpact-list td:first-child { text-align: left; padding-left: 0; white-space: normal; }
.cimpact-list tr:last-child td { border-bottom: 0; }
.cimpact-num { font-weight: 700; }
.cimpact-t { font-weight: 600; line-height: 1.4; text-decoration: none; }
.cimpact-t:hover, .cimpact-t:focus { text-decoration: underline; }
.cimpact-a { color: var(--ci-ink-2); font-size: .85em; margin-top: .15em; }
.cimpact-s { color: var(--ci-ink-3); font-size: .78em; margin-top: .15em; word-break: break-word; }
.cimpact-s a { color: inherit; }
.cimpact-muted { color: var(--ci-ink-3); font-weight: 400; }
.cimpact-more {
	display: block; margin: 1em auto 0; font: inherit; font-size: .9em; padding: .5em 1.1em; cursor: pointer;
	border: 1px solid var(--ci-line); border-radius: 6px; background: #fff; color: inherit;
}
.cimpact-more[hidden], .cimpact-nomatch[hidden] { display: none; }
.cimpact-count { text-align: center; color: var(--ci-ink-3); font-size: .78em; margin: .5em 0 0; }
.cimpact-footer { color: var(--ci-ink-3); font-size: .8em; margin-top: 1.5em; max-width: 72ch; }
.cimpact-footer p { margin: 0 0 .4em; }
@media (max-width: 560px) {
	.cimpact .ci-chart-wide { display: none; }
	.cimpact .ci-chart-narrow { display: block; }
	.cimpact-hide-sm { display: none; }
	.cimpact-stat .v { font-size: 1.6em; }
}
@media (forced-colors: active) { .cimpact .ci-mark { fill: CanvasText; } }
