/* RCSC Talent Distribution Map
 * The map itself has no background: it sits on whatever the page section provides.
 * Every colour is a custom property, so a theme can restyle it without touching the plugin:
 *   .rcsc-tm { --rcsc-tm-palette: #fde0c5,#facba6,#f59e72,#e8734a,#c64532,#8f2a1e; --rcsc-tm-empty: rgba(255,255,255,.15); }
 */

.rcsc-tm {
	--rcsc-tm-h: 560px;
	--rcsc-tm-h-m: 420px;
	--rcsc-tm-surface: #ffffff;
	--rcsc-tm-surface-2: rgba(15, 30, 50, 0.05);
	--rcsc-tm-ink: #14202e;
	--rcsc-tm-ink-2: #5a6878;
	--rcsc-tm-line: rgba(15, 30, 50, 0.14);
	--rcsc-tm-tip-bg: #14202e;
	--rcsc-tm-tip-ink: #fff;
	--rcsc-tm-male: #2766a3;
	--rcsc-tm-female: #d9577a;
	--rcsc-tm-radius: 3px;
	position: relative;
	margin: 0 0 1.5em;
}

.rcsc-tm--dark {
	--rcsc-tm-surface: #121c2a;
	--rcsc-tm-surface-2: rgba(255, 255, 255, 0.06);
	--rcsc-tm-ink: #eef3f8;
	--rcsc-tm-ink-2: #a7b4c3;
	--rcsc-tm-line: rgba(255, 255, 255, 0.16);
	--rcsc-tm-tip-bg: #f4f7fa;
	--rcsc-tm-tip-ink: #14202e;
	--rcsc-tm-male: #6fa9d6;
	--rcsc-tm-female: #f08aa6;
}

.rcsc-tm--dark {
	--rcsc-tm-highlight: #ffffff;
}

/* Font: inherited from the site unless a family is configured (shortcode font="…" or settings). */
.rcsc-tm--font,
.rcsc-tm--font * {
	font-family: var(--rcsc-tm-font);
}

.rcsc-tm__title {
	margin: 0 0 0.6em;
}

.rcsc-tm__stage {
	position: relative;
	height: var(--rcsc-tm-h);
	max-height: var(--rcsc-tm-max-h, none);
	overflow: hidden;
	isolation: isolate;
}

/* height="auto": full available width; height follows the world's proportions (width ÷ 1.55), capped by
   max_height. Done with container units, not aspect-ratio, because aspect-ratio lets the height cap
   shrink the width (the map then sat narrow and left-aligned). */
.rcsc-tm {
	width: 100%;
	box-sizing: border-box;
}

.rcsc-tm--auto {
	container-type: inline-size;
}

.rcsc-tm--auto .rcsc-tm__stage {
	width: 100%;
	height: 560px; /* Browsers without container units. */
	height: clamp(320px, calc(100cqw / 1.55), var(--rcsc-tm-max-h, 100vh));
	max-height: none;
}

@media (max-width: 640px) {
	.rcsc-tm__stage,
	.rcsc-tm--auto .rcsc-tm__stage {
		height: var(--rcsc-tm-h-m);
	}
}

.rcsc-tm__map,
.rcsc-tm .leaflet-container {
	position: absolute;
	inset: 0;
	background: transparent;
	font: inherit;
	outline-offset: -2px;
}

.rcsc-tm .leaflet-container:focus {
	outline: none;
}

.rcsc-tm--kbd .leaflet-container:focus {
	outline: 2px solid var(--rcsc-tm-ink-2);
}

/* Loading / failure */
.rcsc-tm__loading {
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
	pointer-events: none;
	transition: opacity 0.3s;
}

.rcsc-tm__loading span {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	border: 3px solid var(--rcsc-tm-line);
	border-top-color: var(--rcsc-tm-ink-2);
	animation: rcsc-tm-spin 0.9s linear infinite;
}

.rcsc-tm__stage.is-ready .rcsc-tm__loading,
.rcsc-tm__stage.is-failed .rcsc-tm__loading {
	opacity: 0;
}

@keyframes rcsc-tm-spin {
	to {
		transform: rotate(360deg);
	}
}

.rcsc-tm--failed .rcsc-tm__stage {
	display: none;
}

/* Floating chrome */
.rcsc-tm__ctl,
.rcsc-tm__legend,
.rcsc-tm__panel,
.rcsc-tm__hint {
	position: absolute;
	z-index: 500;
	color: var(--rcsc-tm-ink);
	background: var(--rcsc-tm-surface);
	border: 1px solid var(--rcsc-tm-line);
	box-sizing: border-box;
}

.rcsc-tm__ctl {
	top: 12px;
	left: 12px;
	display: flex;
	flex-direction: column;
	border-radius: var(--rcsc-tm-radius);
	overflow: hidden;
}

.rcsc-tm__btn {
	all: unset;
	box-sizing: border-box;
	width: 34px;
	height: 34px;
	display: grid;
	place-items: center;
	font-size: 18px;
	line-height: 1;
	cursor: pointer;
	color: var(--rcsc-tm-ink);
}

.rcsc-tm__btn + .rcsc-tm__btn {
	border-top: 1px solid var(--rcsc-tm-line);
}

.rcsc-tm__btn:hover {
	background: var(--rcsc-tm-surface-2);
}

.rcsc-tm__btn:focus-visible {
	outline: 2px solid var(--rcsc-tm-ink-2);
	outline-offset: -3px;
}

.rcsc-tm__btn--home::before {
	content: "";
	width: 16px;
	height: 16px;
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M3 12h18M12 3c2.5 2.6 3.8 5.6 3.8 9s-1.3 6.4-3.8 9c-2.5-2.6-3.8-5.6-3.8-9S9.5 5.6 12 3z'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M3 12h18M12 3c2.5 2.6 3.8 5.6 3.8 9s-1.3 6.4-3.8 9c-2.5-2.6-3.8-5.6-3.8-9S9.5 5.6 12 3z'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Legend */
.rcsc-tm__legend {
	left: 12px;
	bottom: 12px;
	padding: 8px 10px;
	border-radius: var(--rcsc-tm-radius);
	font-size: 12px;
	line-height: 1.3;
	max-width: calc(100% - 24px);
}

.rcsc-tm__legend-title {
	margin: 0 0 6px;
	font-weight: 600;
	color: var(--rcsc-tm-ink-2);
}

.rcsc-tm__legend ul {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.rcsc-tm__legend li {
	display: flex;
	align-items: center;
	gap: 5px;
	margin: 0;
	white-space: nowrap;
	font-variant-numeric: tabular-nums;
}

.rcsc-tm__legend i {
	width: 14px;
	height: 10px;
	border-radius: 1px;
	box-shadow: inset 0 0 0 1px var(--rcsc-tm-line);
}

/* Totals card (world view, nothing selected) */
.rcsc-tm__totals {
	position: absolute;
	z-index: 500;
	left: 12px;
	bottom: 12px;
	max-width: calc(100% - 24px);
	padding: 12px 16px 14px;
	border-radius: var(--rcsc-tm-radius);
	color: var(--rcsc-tm-ink);
	background: var(--rcsc-tm-surface);
	border: 1px solid var(--rcsc-tm-line);
	box-sizing: border-box;
	transition: opacity 0.3s, transform 0.3s, visibility 0s;
}

.rcsc-tm__totals.is-out {
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	pointer-events: none;
	transition: opacity 0.25s, transform 0.25s, visibility 0s 0.25s;
}

.rcsc-tm__totals-title {
	margin: 0 0 8px;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--rcsc-tm-ink-2);
}

.rcsc-tm__tots {
	display: flex;
	gap: 22px;
}

.rcsc-tm__tot {
	min-width: 150px;
}

.rcsc-tm__tot + .rcsc-tm__tot {
	padding-left: 22px;
	border-left: 1px solid var(--rcsc-tm-line);
}

.rcsc-tm__tot-k {
	display: block;
	font-size: 13px;
	font-weight: 600;
}

.rcsc-tm__tot-v {
	display: block;
	margin: 2px 0 6px;
	font-size: 30px;
	line-height: 1.1;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
	letter-spacing: -0.01em;
}

.rcsc-tm__tot-v.is-na {
	color: var(--rcsc-tm-ink-2);
	font-weight: 400;
}

.rcsc-tm__tot .rcsc-tm__bar {
	margin-bottom: 6px;
}

.rcsc-tm__tot-s {
	display: flex;
	flex-wrap: wrap;
	gap: 2px 10px;
	font-size: 12px;
	color: var(--rcsc-tm-ink-2);
}

.rcsc-tm__tot-s em {
	font-style: normal;
	white-space: nowrap;
}

.rcsc-tm__tot-s em.m::before,
.rcsc-tm__tot-s em.f::before {
	content: "";
	display: inline-block;
	width: 7px;
	height: 7px;
	margin-right: 4px;
	border-radius: 1px;
	background: var(--rcsc-tm-male);
}

.rcsc-tm__tot-s em.f::before {
	background: var(--rcsc-tm-female);
}

/* With a totals card the legend moves to the bottom right. */
.rcsc-tm__stage.has-totals .rcsc-tm__legend {
	left: auto;
	right: 12px;
}

.rcsc-tm__stage.is-narrow .rcsc-tm__totals {
	left: 8px;
	right: 8px;
	bottom: 8px;
	padding: 10px 12px;
}

.rcsc-tm__stage.is-narrow .rcsc-tm__tots {
	gap: 12px;
}

.rcsc-tm__stage.is-narrow .rcsc-tm__tot {
	flex: 1;
	min-width: 0;
}

.rcsc-tm__stage.is-narrow .rcsc-tm__tot + .rcsc-tm__tot {
	padding-left: 12px;
}

.rcsc-tm__stage.is-narrow .rcsc-tm__totals-title,
.rcsc-tm__stage.is-narrow .rcsc-tm__tot-s em:not(.m):not(.f) {
	display: none;
}

.rcsc-tm__stage.is-narrow .rcsc-tm__tot-k {
	font-size: 12px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.rcsc-tm__stage.is-narrow .rcsc-tm__tot-v {
	margin: 0 0 4px;
	font-size: 22px;
}

.rcsc-tm__stage.is-narrow .rcsc-tm__tot .rcsc-tm__bar {
	height: 4px;
	margin-bottom: 4px;
}

.rcsc-tm__stage.is-narrow .rcsc-tm__tot-s {
	gap: 0 8px;
	font-size: 11px;
}

.rcsc-tm__stage.is-narrow.has-totals .rcsc-tm__legend {
	display: none;
}

/* Hint */
.rcsc-tm__hint {
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	padding: 6px 12px;
	border-radius: var(--rcsc-tm-radius);
	font-size: 13px;
	pointer-events: none;
	opacity: 0;
	transition: opacity 0.25s;
	white-space: nowrap;
	max-width: calc(100% - 32px);
	overflow: hidden;
	text-overflow: ellipsis;
}

.rcsc-tm__hint.is-on {
	opacity: 1;
}

/* Side panel (bottom sheet when the map is narrow) */
.rcsc-tm__panel {
	top: 12px;
	right: 12px;
	bottom: 12px;
	width: min(370px, 46%);
	box-sizing: border-box;
	padding: 18px 18px 14px;
	border-radius: var(--rcsc-tm-radius);
	overflow: auto;
	overscroll-behavior: contain;
	font-size: 14px;
	line-height: 1.45;
	transform: translateX(calc(100% + 24px));
	visibility: hidden;
	transition: transform 0.32s cubic-bezier(0.2, 0.8, 0.2, 1), visibility 0s 0.32s;
}

.rcsc-tm__stage.has-panel .rcsc-tm__panel {
	transform: none;
	visibility: visible;
	transition: transform 0.32s cubic-bezier(0.2, 0.8, 0.2, 1), visibility 0s;
}

.rcsc-tm__stage.is-narrow .rcsc-tm__panel {
	top: auto;
	left: 8px;
	right: 8px;
	bottom: 8px;
	width: auto;
	max-height: 60%;
	transform: translateY(calc(100% + 16px));
}

.rcsc-tm__stage.is-narrow.has-panel .rcsc-tm__panel {
	transform: none;
}

/* Keep the legend clear of the side panel. */
.rcsc-tm__stage.has-panel .rcsc-tm__legend {
	max-width: calc(100% - min(370px, 46%) - 36px);
}

.rcsc-tm__stage.is-narrow.has-panel .rcsc-tm__legend {
	opacity: 0;
	pointer-events: none;
}

.rcsc-tm__panel:focus {
	outline: none;
}

.rcsc-tm__ph {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 12px;
}

.rcsc-tm__ph h3 {
	margin: 0;
	font-size: 1.3em;
	line-height: 1.2;
	color: inherit;
}

.rcsc-tm__x {
	all: unset;
	flex: none;
	width: 30px;
	height: 30px;
	display: grid;
	place-items: center;
	border-radius: 2px;
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
	color: var(--rcsc-tm-ink-2);
	margin: -4px -6px 0 0;
}

.rcsc-tm__x:hover {
	background: var(--rcsc-tm-surface-2);
	color: var(--rcsc-tm-ink);
}

.rcsc-tm__x:focus-visible {
	outline: 2px solid var(--rcsc-tm-ink-2);
}

.rcsc-tm__kpi {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 8px;
	margin-bottom: 10px;
}

.rcsc-tm__kpi > div {
	padding: 8px 10px;
	border-radius: 2px;
	background: var(--rcsc-tm-surface-2);
}

.rcsc-tm__kpi b {
	display: block;
	font-size: 1.25em;
	font-variant-numeric: tabular-nums;
}

.rcsc-tm__kpi span {
	font-size: 12px;
	color: var(--rcsc-tm-ink-2);
}

.rcsc-tm__kpi .m b {
	color: var(--rcsc-tm-male);
}

.rcsc-tm__kpi .f b {
	color: var(--rcsc-tm-female);
}

.rcsc-tm__bar {
	display: flex;
	height: 6px;
	border-radius: 0;
	overflow: hidden;
	margin-bottom: 16px;
	background: var(--rcsc-tm-surface-2);
}

.rcsc-tm__bar .m {
	background: var(--rcsc-tm-male);
}

.rcsc-tm__bar .f {
	background: var(--rcsc-tm-female);
}

.rcsc-tm__sec + .rcsc-tm__sec {
	margin-top: 16px;
	padding-top: 14px;
	border-top: 1px solid var(--rcsc-tm-line);
}

.rcsc-tm__sec h4 {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	margin: 0 0 8px;
	font-size: 1em;
	color: inherit;
}

.rcsc-tm__sec h4 span {
	font-variant-numeric: tabular-nums;
	color: var(--rcsc-tm-ink-2);
}

.rcsc-tm__muted {
	margin: 0;
	color: var(--rcsc-tm-ink-2);
}

.rcsc-tm__panel table {
	width: 100%;
	margin: 0;
	border: 0;
	border-collapse: collapse;
	font-size: 13px;
	font-variant-numeric: tabular-nums;
	background: none;
}

.rcsc-tm__panel th,
.rcsc-tm__panel td {
	padding: 6px 4px;
	border: 0;
	border-bottom: 1px solid var(--rcsc-tm-line);
	background: none;
	color: inherit;
	text-align: right;
	font-weight: 400;
}

.rcsc-tm__panel th:first-child {
	text-align: left;
	padding-left: 0;
	white-space: normal;
	overflow-wrap: break-word;
}

.rcsc-tm__panel td,
.rcsc-tm__panel thead th:not(:first-child) {
	width: 1%;
	white-space: nowrap;
	padding-left: 10px;
}

.rcsc-tm__panel td:last-child {
	padding-right: 0;
	font-weight: 600;
}

.rcsc-tm__panel thead th {
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--rcsc-tm-ink-2);
	font-weight: 600;
}

.rcsc-tm__panel tfoot th,
.rcsc-tm__panel tfoot td {
	border-bottom: 0;
	font-weight: 600;
}

/* Tooltip (Leaflet) */
.rcsc-tm .rcsc-tm-tip {
	padding: 8px 11px;
	border: 0;
	border-radius: var(--rcsc-tm-radius);
	background: var(--rcsc-tm-tip-bg);
	color: var(--rcsc-tm-tip-ink);
	box-shadow: none;
	font: inherit;
	font-size: 13px;
	line-height: 1.5;
	white-space: nowrap;
	font-variant-numeric: tabular-nums;
}

.rcsc-tm .rcsc-tm-tip strong {
	font-size: 14px;
}

.rcsc-tm .rcsc-tm-tip.leaflet-tooltip-top::before {
	border-top-color: var(--rcsc-tm-tip-bg);
}

.rcsc-tm .rcsc-tm-tip.leaflet-tooltip-bottom::before {
	border-bottom-color: var(--rcsc-tm-tip-bg);
}

/* Footer and accessible table */
.rcsc-tm__updated {
	margin: 0.5em 0 0;
	font-size: 12px;
	opacity: 0.7;
	text-align: right;
}

.rcsc-tm__sr {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.rcsc-tm--failed .rcsc-tm__sr {
	position: static !important;
	width: 100%;
	height: auto;
	margin: 0;
	overflow: visible;
	clip: auto;
	white-space: normal;
}

@media (prefers-reduced-motion: reduce) {
	.rcsc-tm__panel,
	.rcsc-tm__hint,
	.rcsc-tm__loading {
		transition: none;
	}
	.rcsc-tm__loading span {
		animation: none;
	}
}

/* Full screen ------------------------------------------------------------------------------------------ */
.rcsc-tm {
	--rcsc-tm-fs-bg: #ffffff;
}

.rcsc-tm--dark {
	--rcsc-tm-fs-bg: #0e1a2b;
}

.rcsc-tm__btn--fs::before {
	content: "";
	width: 15px;
	height: 15px;
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='square'%3E%3Cpath d='M4 9V4h5M15 4h5v5M20 15v5h-5M9 20H4v-5'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='square'%3E%3Cpath d='M4 9V4h5M15 4h5v5M20 15v5h-5M9 20H4v-5'/%3E%3C/svg%3E") center / contain no-repeat;
}

.rcsc-tm__btn--fs[aria-pressed="true"]::before {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='square'%3E%3Cpath d='M9 4v5H4M20 9h-5V4M15 20v-5h5M4 15h5v5'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='square'%3E%3Cpath d='M9 4v5H4M20 9h-5V4M15 20v-5h5M4 15h5v5'/%3E%3C/svg%3E");
}

/* Full screen fills the window: the stage moves into this top-level shell (outside theme transforms and stacking
   contexts) and a placeholder keeps its place in the page. Expanding/collapsing is a clip-path animated by script. */
.rcsc-tm.rcsc-tm__shell {
	position: fixed;
	inset: 0;
	z-index: 2147483000;
	width: auto;
	max-width: none;
	margin: 0;
	padding: 0;
	container-type: normal;
	pointer-events: none;
}

.rcsc-tm__ph {
	display: block;
}

.rcsc-tm .rcsc-tm__stage.is-fs {
	position: fixed;
	inset: 0;
	width: 100%;
	height: 100vh;
	height: 100dvh;
	max-height: none;
	pointer-events: auto;
}

/* Backdrop fades in with the expand (the map sits on the page background until then). */
.rcsc-tm .rcsc-tm__stage.is-fs::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: var(--rcsc-tm-fs-bg);
	opacity: var(--rcsc-tm-fs-a, 1);
}

/* Optional browser full screen, entered once the map has expanded. */
.rcsc-tm .rcsc-tm__stage:fullscreen {
	width: 100%;
	height: 100%;
	max-height: none;
}

.rcsc-tm .rcsc-tm__stage:-webkit-full-screen {
	width: 100%;
	height: 100%;
	max-height: none;
}

/* Buttons, totals and panel fade out in place, stay hidden while the map moves, then fade back in. */
.rcsc-tm__stage.is-fading > :not(.rcsc-tm__map):not(.rcsc-tm__globe) {
	opacity: 0 !important;
	pointer-events: none !important;
	transition: opacity 0.14s ease-out !important;
}

.rcsc-tm__stage.is-moving > :not(.rcsc-tm__map):not(.rcsc-tm__globe) {
	opacity: 0 !important;
	pointer-events: none !important;
	transition: none !important;
}

.rcsc-tm__stage.is-settling > :not(.rcsc-tm__map):not(.rcsc-tm__globe) {
	animation: rcsc-tm-in 0.35s ease-out backwards;
}

@keyframes rcsc-tm-in {
	from {
		opacity: 0;
	}
}

.rcsc-tm__panel {
	overscroll-behavior: contain;
}

html.rcsc-tm-lock,
html.rcsc-tm-lock body {
	overflow: hidden;
}

/* Globe (full screen) ------------------------------------------------------------------------------------- */
.rcsc-tm {
	--rcsc-tm-ocean: #eaf0f6;
	--rcsc-tm-graticule: rgba(15, 30, 50, 0.07);
}

.rcsc-tm--dark {
	--rcsc-tm-ocean: #16263d;
	--rcsc-tm-graticule: rgba(255, 255, 255, 0.06);
}

.rcsc-tm__globe {
	position: absolute;
	inset: 0;
	z-index: 400;
	width: 100%;
	height: 100%;
	display: none;
	touch-action: none;
	cursor: grab;
	outline: none;
}

.rcsc-tm__globe.is-dragging {
	cursor: grabbing;
}

.rcsc-tm--kbd .rcsc-tm__globe:focus {
	outline: 2px solid var(--rcsc-tm-ink-2);
	outline-offset: -2px;
}

.rcsc-tm__stage.is-globe .rcsc-tm__globe {
	display: block;
}

.rcsc-tm__stage.is-globe .rcsc-tm__map,
.rcsc-tm__stage.is-globe .rcsc-tm__legend {
	visibility: hidden;
}

.rcsc-tm .rcsc-tm__gtip {
	position: absolute;
	z-index: 600;
	pointer-events: none;
}

.rcsc-tm__gtip[hidden] {
	display: none;
}

/* Globe | Flat map switch: full screen only. */
.rcsc-tm__views {
	position: absolute;
	z-index: 500;
	top: 12px;
	left: 50%;
	transform: translateX(-50%);
	display: none;
	border: 1px solid var(--rcsc-tm-line);
	border-radius: var(--rcsc-tm-radius);
	background: var(--rcsc-tm-surface);
	overflow: hidden;
}

.rcsc-tm__stage.is-fullscreen .rcsc-tm__views {
	display: flex;
}

.rcsc-tm__views button {
	all: unset;
	box-sizing: border-box;
	padding: 7px 14px;
	font-size: 13px;
	line-height: 1.2;
	color: var(--rcsc-tm-ink-2);
	cursor: pointer;
}

.rcsc-tm__views button + button {
	border-left: 1px solid var(--rcsc-tm-line);
}

.rcsc-tm__views button[aria-pressed="true"] {
	color: var(--rcsc-tm-ink);
	background: var(--rcsc-tm-surface-2);
	font-weight: 600;
}

.rcsc-tm__views button:focus-visible {
	outline: 2px solid var(--rcsc-tm-ink-2);
	outline-offset: -3px;
}
