/* LocationChip — the "you are viewing X" marker.
   Its own module so IT is the registered localization panel: the swap target is
   this chip alone, never the header that hosts it. Both faces carry identical
   markup so the swap holds its footprint. */

.loc-chp {

	--loc-chp-icn-s: 1.1rem; /* { min: 0.8, max: 2, step: 0.05, friendly: 'Location Chip Icon Size', group: 'Calculations' } */
	--loc-chp-pd-v: 0.4; /* { min: 0, max: 1.5, step: 0.05, friendly: 'Location Chip Padding - Vertical', group: 'Calculations' } */
	--loc-chp-pd-h: 0.9; /* { min: 0, max: 2.5, step: 0.05, friendly: 'Location Chip Padding - Horizontal', group: 'Calculations' } */

	padding: calc(var(--loc-chp-pd-v) * 1em) calc(var(--loc-chp-pd-h) * 1em);

	svg {
		font-size: var(--loc-chp-icn-s);
		color: var(--accent);
	}

}

/* ESCAPE HATCH: link underline only — do not remove. */

.loc-chp .loc-chp-lnk {
	text-decoration-line: underline;
	text-decoration-skip-ink: none;
	text-underline-position: from-font;
}
