/*
 * TSV Heiligenrode – phone, tablet & app mode styles (since theme 1.8.0).
 *
 * Everything in here only applies on touch devices (pointer:coarse), at phone
 * width (<= 560 px) or in installed app mode (PWA). Desktop with a mouse is unchanged.
 * Since 1.8.0 the hover effects in theme.css/editorial.css are wrapped in
 * @media (hover:hover), so they do not stick on touch screens.
 *
 * Enqueued as "tsvt-mobile" in tsvt_assets() (functions.php) on every front-end
 * page, after theme.css and – in the editorial area / sponsor portal – after
 * editorial.css, so its rules can override both. Also controls the visibility
 * of the bottom tab bar (template-parts/tabbar.php).
 */

html {
	-webkit-tap-highlight-color: transparent;
}
.tabbar,
.mnav__theme,
.rd-savebar--mobile {
	display: none;
}
.appback {
	display: none;
}

/* ---------- Safe areas (iPhone notch, home indicator) – on desktop env() = 0 ---------- */
.site-header,
.rd-bar {
	padding-top: env(safe-area-inset-top, 0px);
}
.toolbar,
.jnav {
	top: calc(83px + env(safe-area-inset-top, 0px));
}
@media (max-width: 560px) {
	.jnav {
		top: calc(71px + env(safe-area-inset-top, 0px));
	}
}

/* =====================================================================
   Touch devices (phone & tablet)
   ===================================================================== */
@media (hover: none) and (pointer: coarse) {
	/* Side padding next to the notch in landscape */
	.wrap {
		padding-left: max(32px, env(safe-area-inset-left, 0px));
		padding-right: max(32px, env(safe-area-inset-right, 0px));
	}

	/* No auto-zoom when tapping form fields (iOS zooms below 16 px) */
	input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="file"]):not([type="color"]),
	select,
	textarea {
		font-size: 16px !important;
	}

	/* Press feedback instead of hover */
	a.card,
	.card--hover,
	.tcard,
	.ncard,
	.rd-row--link,
	.evrow,
	.cbtn,
	.ibtn,
	.rd-tab,
	.spnew__tile,
	.msheet__i,
	.tabbar__i,
	.tsw,
	.burger,
	.rd-tile,
	a.sp {
		transition:
			transform 0.14s ease,
			background-color 0.2s ease,
			box-shadow 0.2s ease;
	}
	a.card:active,
	.card--hover:active,
	.tcard:active,
	.ncard:active,
	.spnew__tile:active,
	a.sp:active {
		transform: scale(0.98);
	}
	.rd-row--link:active,
	.evrow:active {
		background: var(--hl-tint);
	}
	.cbtn:active,
	.ibtn:active,
	.rd-tab:active,
	.msheet__i:active,
	.tsw:active,
	.burger:active {
		transform: scale(0.94);
	}
	.btn:active {
		transform: scale(0.97);
	}

	/* Larger tap targets */
	.tswitch .tsw {
		width: 40px;
		height: 40px;
	}
	.tsw .tip {
		display: none;
	}
	.ibtn {
		min-width: 40px;
		min-height: 40px;
	}
	.movebtns .ibtn {
		width: 40px;
		height: 34px;
	}
	input[type="checkbox"],
	input[type="radio"] {
		min-width: 22px;
		min-height: 22px;
	}
	.rd-back,
	.tlink {
		min-height: 44px;
	}
	.foot-col {
		gap: 4px;
	}
	.foot-col a,
	.foot-links a {
		display: inline-flex;
		align-items: center;
		min-height: 40px;
	}
	.pill {
		min-height: 30px;
	}

	/* Minimum font size */
	.brand__sub,
	.rd-brand small {
		font-size: 12px;
	}
	.tag {
		font-size: 12px;
	}
	.pill .tag {
		font-size: 10.5px;
	}

	/* Icon buttons get a short text label (no mouse tooltip on phones) */
	.rd-row__act .ibtn:not(.movebtns .ibtn) {
		width: auto;
		min-width: 58px;
		height: auto;
		min-height: 56px;
		padding: 7px 8px 6px;
		flex-direction: column;
		gap: 3px;
	}
	.rd-row__act .ibtn[aria-label]:not(.movebtns .ibtn)::after {
		content: attr(aria-label);
		display: block;
		max-width: 86px;
		font-size: 12px;
		font-weight: 600;
		line-height: 1.15;
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
	}
	.rd-row__act .ibtn[data-label]:not(.movebtns .ibtn)::after {
		content: attr(data-label);
	}
	.rd-row__act {
		flex-wrap: wrap;
	}

	/* Blur (backdrop-filter) hurts scrolling performance on phones – use opaque backgrounds */
	.site-header,
	.toolbar,
	.jnav {
		-webkit-backdrop-filter: none;
		backdrop-filter: none;
		background: var(--bg);
	}
	.ddcard,
	.rd-savebar {
		-webkit-backdrop-filter: none;
		backdrop-filter: none;
	}
	.rd-savebar {
		background: var(--card);
	}

	/* Swipeable strips: scroll snapping and a soft fade edge when there is more content */
	.rd-tabs,
	.rd-nav__in,
	.jnav__in,
	.toolbar .chips {
		scroll-snap-type: x proximity;
		-webkit-overflow-scrolling: touch;
	}
	.rd-tabs > *,
	.rd-nav__in > *,
	.jnav__in > *,
	.toolbar .chips > * {
		scroll-snap-align: start;
	}
	.is-scrollable:not(.at-end) {
		-webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 44px), transparent);
		mask-image: linear-gradient(90deg, #000 calc(100% - 44px), transparent);
	}
	.is-scrollable:not(.at-start):not(.at-end) {
		-webkit-mask-image: linear-gradient(90deg, transparent, #000 36px, #000 calc(100% - 44px), transparent);
		mask-image: linear-gradient(90deg, transparent, #000 36px, #000 calc(100% - 44px), transparent);
	}
	.is-scrollable.at-end:not(.at-start) {
		-webkit-mask-image: linear-gradient(90deg, transparent, #000 36px);
		mask-image: linear-gradient(90deg, transparent, #000 36px);
	}
}

@media (hover: none) and (pointer: coarse) and (max-width: 900px) {
	.wrap {
		padding-left: max(22px, env(safe-area-inset-left, 0px));
		padding-right: max(22px, env(safe-area-inset-right, 0px));
	}
}

/* =====================================================================
   Tablet & phone (touch, up to 1024 px)
   ===================================================================== */
@media (max-width: 1024px) and (pointer: coarse) {
	/* Events ("Termine"): team filter as one swipeable row instead of three rows */
	.toolbar .chips {
		flex-wrap: nowrap;
		overflow-x: auto;
		scrollbar-width: none;
	}
	.toolbar .chips::-webkit-scrollbar {
		display: none;
	}
	.toolbar .cbtn {
		flex-shrink: 0;
	}
	.toolbar .seg {
		flex-shrink: 0;
	}

	/* KPI tiles: do not wrap amounts */
	.actstats {
		grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr));
	}
	.actstat b {
		white-space: nowrap;
	}

	/* Mobile menu fills the area below the header, page behind it is scroll-locked */
	.mnav {
		top: var(--mnav-top, calc(83px + env(safe-area-inset-top, 0px)));
	}
	html:has(#mnav:not([hidden])) {
		overflow: hidden;
	}

	/* ---- Bottom tab bar: editorial area & sponsor portal ---- */
	.tabbar--redaktion,
	.tabbar--portal {
		display: flex;
	}
	body:has(.tabbar--redaktion),
	body:has(.tabbar--portal) {
		padding-bottom: calc(66px + env(safe-area-inset-bottom, 0px));
	}
	body:has(.tabbar--redaktion) .rd-bar .rd-nav,
	body:has(.tabbar--portal) .rd-bar .rd-nav {
		display: none;
	}
	body:has(.tabbar--redaktion) .rd-bar__tools .tswitch,
	body:has(.tabbar--portal) .rd-bar__tools .tswitch,
	body:has(.tabbar--redaktion) .rd-bar__tools .rd-link,
	body:has(.tabbar--portal) .rd-bar__tools .rd-link,
	body:has(.tabbar--redaktion) .rd-bar__tools .rd-sep,
	body:has(.tabbar--portal) .rd-bar__tools .rd-sep {
		display: none;
	}
	.rd-bar {
		transition: transform 0.28s var(--ease);
	}
	.rd-bar.is-away {
		transform: translateY(-100%);
	}

	/* Save bars sit above the tab bar */
	body:has(.tabbar) .rd-savebar {
		bottom: calc(76px + env(safe-area-inset-bottom, 0px));
	}
	.rd-savebar--mobile {
		display: flex;
		justify-content: flex-end;
		gap: 10px;
		transition:
			opacity 0.2s ease,
			transform 0.2s ease;
	}
	.rd-savebar--mobile.is-hidden {
		opacity: 0;
		transform: translateY(12px);
		pointer-events: none;
	}
	.rd-savebar--mobile .btn {
		flex: 1 1 auto;
	}
	form.rd-form > .row:last-child:has(> button[type="submit"]):not(.rd-savebar) {
		position: sticky;
		bottom: calc(76px + env(safe-area-inset-bottom, 0px));
		z-index: 5;
		padding: 12px 14px;
		border-radius: 16px;
		background: var(--card);
		border: 1px solid var(--line);
		box-shadow: 0 14px 34px -18px rgba(0, 0, 0, 0.35);
	}
	body:not(:has(.tabbar)) form.rd-form > .row:last-child:has(> button[type="submit"]):not(.rd-savebar) {
		bottom: 12px;
	}

	/* ---- App mode (installed PWA): tab bar on the public website too, back button ---- */
	html.is-app .tabbar--public {
		display: flex;
	}
	html.is-app body:has(.tabbar--public) {
		padding-bottom: calc(66px + env(safe-area-inset-bottom, 0px));
	}
	html.is-app .mnav {
		bottom: calc(66px + env(safe-area-inset-bottom, 0px));
	}
	html.is-app .appback:not([hidden]) {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: 44px;
		height: 44px;
		margin-right: -6px;
		border: 0;
		border-radius: 12px;
		background: transparent;
		color: var(--ink);
	}
	html.is-app .site-header__in {
		gap: 12px;
	}
}
@media (min-width: 561px) and (max-width: 1024px) and (pointer: coarse) {
	.toolbar__in {
		flex-wrap: nowrap;
	}
	.toolbar .chips {
		flex: 1 1 auto;
		min-width: 0;
	}
}
@media (max-width: 560px) and (pointer: coarse) {
	.mnav {
		top: var(--mnav-top, calc(71px + env(safe-area-inset-top, 0px)));
	}
	/* KPIs in two columns */
	.actstats {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.actstat b {
		font-size: 22px;
	}
	/* Action buttons in one row share the width */
	.rd-row__act {
		display: grid;
		grid-auto-flow: column;
		grid-auto-columns: minmax(0, 1fr);
		gap: 4px;
		width: 100%;
	}
	.rd-row__act .ibtn:not(.movebtns .ibtn) {
		padding: 7px 1px 6px;
	}
	.rd-row__act .ibtn[aria-label]:not(.movebtns .ibtn)::after {
		letter-spacing: -0.015em;
	}
	.rd-row__act:has(> :nth-child(4)) .ibtn:not(.movebtns .ibtn)::after {
		font-size: 11px;
	}
	.rd-row__act > * {
		min-width: 0;
	}
	.rd-row__act form,
	.rd-row__act details {
		display: block;
		width: 100%;
	}
	.rd-row__act .ibtn:not(.movebtns .ibtn) {
		width: 100%;
		min-width: 0;
	}
	.rd-row__act .ibtn[aria-label]:not(.movebtns .ibtn)::after {
		max-width: 100%;
	}
	/* Save/cancel side by side */
	form.rd-form > .row:last-child:has(> button[type="submit"]) {
		flex-wrap: nowrap;
	}
	form.rd-form > .row:last-child:has(> button[type="submit"]) > .btn {
		flex: 1 1 0;
		min-width: 0;
		padding: 0 14px;
	}
}
@keyframes mnavIn {
	from {
		opacity: 0;
		transform: translateY(-8px);
	}
	to {
		opacity: 1;
		transform: none;
	}
}

/* ---------- Tab bar ---------- */
.tabbar {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 60;
	align-items: stretch;
	justify-content: space-around;
	padding: 6px max(8px, env(safe-area-inset-left, 0px)) calc(6px + env(safe-area-inset-bottom, 0px))
		max(8px, env(safe-area-inset-right, 0px));
	background: var(--card);
	border-top: 1px solid var(--line);
	box-shadow: 0 -10px 30px -22px rgba(0, 0, 0, 0.4);
}
.tabbar--redaktion,
.tabbar--portal {
	background: var(--dark);
	border-top-color: rgba(255, 255, 255, 0.08);
}
.tabbar__i {
	flex: 1 1 0;
	min-width: 0;
	max-width: 120px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 3px;
	min-height: 52px;
	padding: 2px 4px;
	border: 0;
	border-radius: 12px;
	background: transparent;
	color: var(--muted);
	font: inherit;
	font-size: 11px;
	font-weight: 600;
	line-height: 1.1;
	letter-spacing: -0.01em;
	text-decoration: none;
	cursor: pointer;
}
.tabbar--redaktion .tabbar__i,
.tabbar--portal .tabbar__i {
	color: #a5a5ad;
}
.tabbar__ico {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 30px;
	border-radius: 999px;
	transition:
		background-color 0.25s ease,
		color 0.25s ease;
}
.tabbar__l {
	max-width: 100%;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.tabbar__i[aria-current="page"],
.tabbar__i[aria-expanded="true"] {
	color: var(--link);
}
.tabbar__i[aria-current="page"] .tabbar__ico,
.tabbar__i[aria-expanded="true"] .tabbar__ico {
	background: var(--active);
}
.tabbar--redaktion .tabbar__i[aria-current="page"],
.tabbar--portal .tabbar__i[aria-current="page"] {
	color: #ffffff;
}
.tabbar--redaktion .tabbar__i[aria-current="page"] .tabbar__ico,
.tabbar--portal .tabbar__i[aria-current="page"] .tabbar__ico {
	background: var(--accent);
	color: var(--on-accent);
}
.tabbar__i--accent .tabbar__ico {
	width: 46px;
	height: 46px;
	margin-top: -18px;
	border-radius: 50%;
	background: var(--accent);
	color: var(--on-accent);
	box-shadow:
		0 8px 20px -8px rgba(27, 125, 27, 0.7),
		0 0 0 4px var(--dark);
}
.tabbar__i--accent[aria-current="page"] .tabbar__ico {
	background: var(--accent);
}

/* ---------- Bottom sheet ---------- */
.sheet {
	position: fixed;
	inset: 0;
	z-index: 100;
}
.sheet[hidden] {
	display: none;
}
.sheet__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(10, 10, 12, 0.5);
	opacity: 0;
	transition: opacity 0.3s ease;
}
.sheet.is-open .sheet__backdrop {
	opacity: 1;
}
.sheet__panel {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	margin: 0 auto;
	max-width: 640px;
	max-height: 88vh;
	max-height: 88dvh;
	display: flex;
	flex-direction: column;
	background: var(--card);
	color: var(--text);
	border-radius: 22px 22px 0 0;
	box-shadow: 0 -20px 50px -20px rgba(0, 0, 0, 0.45);
	transform: translateY(100%);
	transition: transform 0.34s var(--ease);
	outline: none;
}
.sheet.is-open .sheet__panel {
	transform: none;
}
.sheet__grip {
	display: flex;
	justify-content: center;
	padding: 12px 0 30px;
	flex-shrink: 0;
}
.sheet__grip span {
	width: 42px;
	height: 5px;
	border-radius: 999px;
	background: var(--line2);
}
.sheet__x {
	position: absolute;
	top: 2px;
	right: 8px;
	z-index: 2;
	width: 44px;
	height: 44px;
	border: 0;
	border-radius: 12px;
	background: transparent;
	color: var(--muted);
	display: flex;
	align-items: center;
	justify-content: center;
}
.sheet__body {
	overflow: auto;
	overscroll-behavior: contain;
	padding: 4px 18px calc(22px + env(safe-area-inset-bottom, 0px));
}
html.has-sheet {
	overflow: hidden;
}
.sheet .evcard {
	border: 0;
	box-shadow: none;
	border-radius: 16px;
}
@media (prefers-reduced-motion: reduce) {
	.sheet__panel,
	.sheet__backdrop {
		transition: none;
	}
}

/* "Mehr" (more) sheet content */
.msheet {
	display: flex;
	flex-direction: column;
	gap: 18px;
}
.msheet__h {
	font-size: 22px;
	font-weight: 800;
	font-style: italic;
	color: var(--ink);
	padding-right: 44px;
}
.msheet__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 8px;
}
.msheet__i {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 6px;
	min-height: 84px;
	padding: 10px 6px;
	border-radius: 14px;
	border: 1px solid var(--line);
	background: var(--soft);
	color: var(--ink);
	font-size: 13px;
	font-weight: 600;
	text-align: center;
	line-height: 1.15;
}
.msheet__ico {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border-radius: 11px;
	background: var(--dark);
	color: var(--accent);
}
.msheet__i[aria-current="page"] {
	border-color: var(--greenline);
	background: var(--greenwash);
	color: var(--link);
}
.msheet__row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 12px 14px;
	border-radius: 14px;
	background: var(--soft);
	border: 1px solid var(--line);
}
.msheet__lbl {
	font-weight: 600;
	color: var(--ink);
}
.msheet__links {
	display: flex;
	flex-direction: column;
}
.msheet__link {
	display: flex;
	align-items: center;
	gap: 12px;
	min-height: 50px;
	padding: 0 6px;
	border-bottom: 1px solid var(--line);
	color: var(--ink);
	font-weight: 600;
}
.msheet__link:last-child {
	border-bottom: 0;
}
.msheet__link .ico {
	color: var(--muted);
}
.mnav__theme {
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-top: 14px;
	padding: 12px 14px;
	border-radius: 14px;
	background: var(--soft);
	border: 1px solid var(--line);
	font-weight: 600;
	color: var(--ink);
}

/* =====================================================================
   Phone (up to 560 px)
   ===================================================================== */
@media (max-width: 560px) {
	/* Light/dark toggle moves into the menu */
	.site-header__tools .tswitch {
		display: none;
	}
	.mnav__theme {
		display: flex;
	}

	/* Home page: news and sponsor news as swipeable carousels */
	#aktuelles .grid--3 {
		display: flex;
		gap: 14px;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		scrollbar-width: none;
		margin: 0 -22px;
		padding: 4px 22px 18px;
		scroll-padding: 0 22px;
	}
	#aktuelles .grid--3::-webkit-scrollbar {
		display: none;
	}
	#aktuelles .grid--3 > * {
		flex: 0 0 84%;
		scroll-snap-align: start;
		min-width: 0;
	}

	/* Teams as compact tiles in two columns */
	.grid--teams {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 12px;
	}
	.grid--teams .tcard {
		min-height: 128px;
		gap: 14px;
		padding: 16px 16px 14px;
		border-radius: 16px;
	}
	.grid--teams .tcard::before {
		width: 26px;
		height: 110px;
		bottom: -56px;
	}
	.grid--teams .tcard__league {
		font-size: 12px;
		letter-spacing: 0.06em;
	}
	.grid--teams .tcard__name {
		font-size: 20px;
	}
	.grid--teams .tcard__bottom {
		font-size: 12px;
		padding-right: 10px;
		display: -webkit-box;
		-webkit-line-clamp: 2;
		-webkit-box-orient: vertical;
		overflow: hidden;
	}
	.grid--teams .tcard--accent {
		grid-column: 1 / -1;
	}

	/* Events: dot calendar, day list below it, details as bottom sheet */
	.cal__day {
		display: grid;
		grid-template-columns: repeat(4, 7px);
		justify-content: center;
		align-content: start;
		gap: 3px;
		min-height: 54px;
		padding: 4px 2px 6px;
		cursor: pointer;
	}
	.cal__num {
		grid-column: 1 / -1;
		justify-self: center;
		align-self: auto;
		width: 28px;
		height: 28px;
	}
	.cal__day .pill {
		width: 7px;
		height: 7px;
		min-height: 0;
		padding: 0;
		border-radius: 50%;
		font-size: 0;
		line-height: 0;
		pointer-events: none;
		box-shadow: none;
	}
	.cal__day .pill::after {
		display: none;
	}
	.cal__day .pill > * {
		display: none;
	}
	.cal__day .pill:nth-of-type(n + 5) {
		display: none;
	}
	.cal__day.is-pick {
		background: var(--active);
		box-shadow: inset 0 0 0 2px var(--accent);
	}
	.calday {
		margin-top: 14px;
	}
	.calday__none {
		padding: 18px 20px;
		color: var(--muted);
		font-size: 14px;
	}
	.evdetail [data-cal-card] {
		display: none;
	}
	.evrow {
		gap: 12px;
		padding: 14px 16px;
	}
	.evrow .gscore--none {
		display: none;
	}

	/* Popovers (sponsor list, "Gebucht von", "Kalender abonnieren") as bottom sheet.
	   ".calsub__panel.is-fixed" is listed so the sheet stays above its dimmed backdrop:
	   theme.js adds "is-fixed" when the box opens, and the desktop rule for it (z-index 45)
	   is more specific than ".calsub__panel" – the sheet then lay under the backdrop (z-index 100). */
	.spbk__panel,
	.calsub__panel,
	.calsub__panel.is-fixed {
		position: fixed !important;
		left: 0 !important;
		right: 0 !important;
		top: auto !important;
		bottom: 0 !important;
		width: auto !important;
		max-height: 80vh;
		max-height: 80dvh;
		overflow: auto;
		overscroll-behavior: contain;
		z-index: 101;
		border-radius: 22px 22px 0 0;
		padding-bottom: calc(20px + env(safe-area-inset-bottom, 0px));
		animation: popSheet 0.3s var(--ease) both;
	}
	details[data-pop][open]::before,
	details[data-calsub][open]::before {
		content: "";
		position: fixed;
		inset: 0;
		z-index: 100;
		background: rgba(10, 10, 12, 0.5);
	}
	html:has(details[data-pop][open]),
	html:has(details[data-calsub][open]) {
		overflow: hidden;
	}

	/* Tables as cards */
	.ovtable-wrap {
		overflow: visible;
	}
	.ovtable thead {
		display: none;
	}
	.ovtable,
	.ovtable tbody,
	.ovtable tfoot,
	.ovtable tr,
	.ovtable th,
	.ovtable td {
		display: block;
		width: 100%;
	}
	.ovtable tr {
		padding: 14px 18px;
		border-bottom: 1px solid var(--line);
	}
	.ovtable th,
	.ovtable td {
		padding: 4px 0;
		border: 0;
		text-align: left !important;
		min-width: 0 !important;
	}
	.ovtable tbody th {
		font-size: 16px;
		padding-bottom: 8px;
	}
	.ovtable td:empty {
		display: none;
	}
	.ovtable td[data-label]::before {
		content: attr(data-label);
		display: block;
		margin-bottom: 4px;
		font-size: 12px;
		font-weight: 700;
		letter-spacing: 0.04em;
		text-transform: uppercase;
		color: var(--muted);
	}
	.ovtable td.ovtable__n {
		display: flex;
		justify-content: space-between;
		align-items: baseline;
		gap: 12px;
		flex-wrap: wrap;
	}
	.ovtable td.ovtable__n::before {
		display: inline;
		margin: 0;
	}
	.ovtable tfoot tr {
		background: var(--soft);
	}
}
@keyframes popSheet {
	from {
		transform: translateY(100%);
	}
	to {
		transform: none;
	}
}
@media (prefers-reduced-motion: reduce) {
	.spbk__panel,
	.calsub__panel,
	.mnav {
		animation: none !important;
	}
	.mnav-group summary .ico {
		transition: none;
	}
}

/* App view "Teams" (teams only) */
.section--teamsapp {
	padding-top: 28px;
}
