/* FH Zápis o utkání – křížová tabulka (WYSIWYG A4 landscape + tisk) */

.fh-ms-crosstable {
	--fh-ct-font-stack: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	background: #fff;
	border: 1px solid var(--fh-border, #d1d5db);
	border-radius: 8px;
	display: flex;
	flex-direction: column;
	font-family: var(--fh-ct-font-stack);
	gap: 10px;
	margin-top: 8px;
	max-width: 100%;
	min-width: 0;
	overflow-x: hidden;
	padding: 12px;
}

.fh-ms-crosstable__toolbar {
	background: #fff;
	display: flex;
	flex-direction: column;
	gap: 8px;
	position: sticky;
	top: 0;
	z-index: 5;
}

.fh-ms-crosstable__toolbar-main {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	justify-content: space-between;
	width: 100%;
}

.fh-ms-crosstable__toolbar-title {
	flex: 1 1 180px;
	font-size: 1.05rem;
	font-weight: 700;
	line-height: 1.25;
	margin: 0;
	min-width: 0;
}

.fh-ms-crosstable__toolbar-actions {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.fh-ms-crosstable__workspace {
	display: flex;
	flex-direction: column;
	gap: 12px;
	min-width: 0;
	width: 100%;
}

.fh-ms-crosstable__workspace > .fh-ms-crosstable__config {
	order: 1;
}

.fh-ms-crosstable__workspace > .fh-ms-crosstable__preview {
	order: 2;
}

/* Stack: config below preview (mobile + desktop above/below modes). */
.fh-ms-crosstable[data-config-placement="below"] .fh-ms-crosstable__workspace > .fh-ms-crosstable__config {
	order: 2;
}

.fh-ms-crosstable[data-config-placement="below"] .fh-ms-crosstable__workspace > .fh-ms-crosstable__preview {
	order: 1;
}

.fh-ms-crosstable__placement {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 6px 10px;
	min-width: 0;
}

.fh-ms-crosstable__placement-label {
	color: #4b5563;
	font-size: 13px;
	font-weight: 600;
	margin: 0;
	white-space: nowrap;
}

.fh-ms-crosstable__placement-control {
	display: block;
	min-width: 10rem;
	width: auto;
}

.fh-ms-crosstable__placement-control select {
	grid-column: auto;
	width: 100%;
}

.fh-ms-crosstable.is-config-hidden .fh-ms-crosstable__placement {
	display: none;
}

.fh-ms-crosstable__config {
	background: #f8fafc;
	border: 1px solid var(--fh-border, #d1d5db);
	border-radius: 8px;
	container-name: fh-ct-config;
	container-type: inline-size;
	display: flex;
	flex-direction: column;
	gap: 8px;
	/* Mobile: capped panel with inner scroll. Desktop clears this (like match-sheet editor). */
	max-height: min(70vh, 820px);
	min-width: 0;
	overflow: auto;
	overflow-x: hidden;
	padding: 10px 12px;
}

.fh-ms-crosstable.is-config-hidden .fh-ms-crosstable__config {
	display: none;
}

.fh-ms-crosstable__section {
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 6px;
	padding: 0;
}

.fh-ms-crosstable__section-title {
	cursor: pointer;
	font-size: 16px;
	font-weight: 700;
	list-style: none;
	padding: 8px 10px;
	user-select: none;
}

.fh-ms-crosstable__section-title::-webkit-details-marker {
	display: none;
}

.fh-ms-crosstable__section-title::before {
	color: #64748b;
	content: "▸";
	display: inline-block;
	margin-right: 6px;
	transition: transform 0.12s ease;
}

.fh-ms-crosstable__section[open] > .fh-ms-crosstable__section-title::before {
	transform: rotate(90deg);
}

.fh-ms-crosstable__section-body {
	display: grid;
	gap: 12px;
	padding: 0 10px 12px;
}

.fh-ms-crosstable__pools {
	background: #f1f5f9;
	border: 1px solid #e2e8f0;
	border-radius: 6px;
	display: grid;
	gap: 8px;
	padding: 10px;
}

.fh-ms-crosstable__pools[hidden] {
	display: none;
}

.fh-ms-crosstable__apply-look {
	justify-self: start;
}

.fh-ms-crosstable__hint {
	color: #64748b;
	font-size: 12px;
	line-height: 1.35;
	margin: 0;
}

.fh-ms-crosstable__advanced {
	border-top: 1px dashed #e2e8f0;
	margin-top: 4px;
	padding-top: 6px;
}

.fh-ms-crosstable__advanced > summary {
	cursor: pointer;
	font-size: 13px;
	font-weight: 700;
	color: #475569;
	padding: 4px 0;
}

.fh-ms-crosstable__subgroup-title {
	color: #334155;
	font-size: 13px;
	font-weight: 700;
	margin: 8px 0 4px;
	width: 100%;
}

.fh-ms-setting-grid {
	align-items: start;
	display: grid;
	gap: 12px;
	grid-template-columns: minmax(0, 1fr);
	min-width: 0;
	width: 100%;
}

.fh-ms-setting-control {
	align-items: end;
	display: grid;
	gap: 2px 8px;
	grid-template-columns: minmax(0, 1fr) auto;
	min-width: 0;
}

.fh-ms-setting-label {
	align-items: flex-end;
	color: #4b5563;
	display: flex;
	font-size: 13px;
	font-weight: 600;
	grid-column: 1;
	line-height: 1.2;
	overflow-wrap: anywhere;
}

.fh-ms-setting-value {
	align-items: center;
	color: #0f172a;
	display: flex;
	font-size: 13px;
	font-variant-numeric: tabular-nums;
	font-weight: 700;
	grid-column: 2;
	justify-content: flex-end;
	min-height: 1.2em;
	white-space: nowrap;
}

.fh-ms-setting-value--empty {
	visibility: hidden;
}

.fh-ms-setting-slider,
.fh-ms-setting-control select,
.fh-ms-setting-control input[type="number"],
.fh-ms-setting-control input[type="text"],
.fh-ms-setting-text,
.fh-ms-setting-color {
	border: 1px solid var(--fh-border, #d1d5db);
	border-radius: 5px;
	font: inherit;
	font-size: 13px;
	grid-column: 1 / -1;
	min-width: 0;
	width: 100%;
}

.fh-ms-setting-control input[type="text"],
.fh-ms-setting-text {
	height: 30px;
	padding: 3px 6px;
}

.fh-ms-setting-slider {
	height: 22px;
	padding: 0;
}

.fh-ms-setting-control select,
.fh-ms-setting-control input[type="number"] {
	height: 30px;
	padding: 3px 6px;
}

.fh-ms-setting-color {
	cursor: pointer;
	height: 30px;
	padding: 2px;
	width: 100%;
}

.fh-ms-setting-slider:disabled {
	opacity: 0.45;
}

.fh-ms-setting-check-row {
	grid-column: 1 / -1;
	min-width: 0;
}

.fh-ms-setting-check {
	align-items: center;
	display: flex;
	font-size: 13px;
	font-weight: 600;
	gap: 8px;
	line-height: 1.3;
	min-height: 32px;
}

.fh-ms-setting-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.fh-ms-setting-actions .fh-ms-btn {
	flex: 1 1 auto;
}

.fh-ms-crosstable__theme-colors[hidden],
.fh-ms-crosstable__gradient-fields[hidden] {
	display: none !important;
}

.fh-ms-crosstable__logo-field {
	text-align: left;
}

.fh-ms-crosstable__gradient-areas {
	display: flex;
	flex-direction: column;
	gap: 4px;
	grid-column: 1 / -1;
	margin-top: 4px;
	min-width: 0;
	text-align: left;
}

.fh-ms-crosstable__gradient-areas .fh-ms-setting-check-row {
	grid-column: auto;
}

.fh-ms-crosstable__logo-label {
	display: block;
	font-size: 13px;
	font-weight: 600;
	margin-bottom: 2px;
}

@container fh-ct-config (min-width: 360px) {
	.fh-ms-setting-grid--2,
	.fh-ms-setting-grid--3,
	.fh-ms-setting-grid--4 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@container fh-ct-config (min-width: 480px) {
	.fh-ms-setting-grid--3 {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.fh-ms-setting-grid--4 {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

.fh-ms-crosstable__tip {
	color: #64748b;
	font-size: 12px;
	line-height: 1.35;
	margin: 4px 2px 2px;
}

.fh-ms-crosstable__preview {
	display: flex;
	flex-direction: column;
	gap: 8px;
	min-width: 0;
}

.fh-ms-crosstable__preview-bar {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 8px 12px;
	justify-content: space-between;
}

.fh-ms-crosstable__preview-label {
	color: #4b5563;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.04em;
	margin: 0;
	text-transform: uppercase;
}

.fh-ms-crosstable__mount {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	min-width: 0;
}

.fh-ms-crosstable__warn {
	background: var(--fh-warn-bg, #fef3c7);
	border: 1px solid #f59e0b;
	border-radius: 6px;
	color: var(--fh-warn, #92400e);
	font-size: 0.9rem;
	padding: 8px 10px;
}

.fh-ms-crosstable__viewport {
	background: #cbd5e1;
	border: 1px solid var(--fh-border, #d1d5db);
	border-radius: 8px;
	box-sizing: border-box;
	flex: 1 1 auto;
	max-height: min(78vh, 920px);
	max-width: 100%;
	min-height: 240px;
	min-width: 0;
	overflow-x: auto;
	overflow-y: visible;
	padding: 16px;
	position: relative;
	width: 100%;
}

@media screen and (min-width: 1100px) {
	/* overflow-x:hidden on the shell breaks position:sticky vs the viewport. */
	.fh-ms-crosstable {
		overflow-x: visible;
	}

	/* Default / side: config | preview. */
	.fh-ms-crosstable[data-config-placement="side"] .fh-ms-crosstable__workspace,
	.fh-ms-crosstable:not([data-config-placement]) .fh-ms-crosstable__workspace {
		align-items: start;
		display: grid;
		gap: 14px;
		grid-template-columns: minmax(320px, 440px) minmax(0, 1fr);
	}

	.fh-ms-crosstable[data-config-placement="side"].is-config-hidden .fh-ms-crosstable__workspace,
	.fh-ms-crosstable:not([data-config-placement]).is-config-hidden .fh-ms-crosstable__workspace {
		grid-template-columns: minmax(0, 1fr);
	}

	/* above / below: single column (order rules above). */
	.fh-ms-crosstable[data-config-placement="above"] .fh-ms-crosstable__workspace,
	.fh-ms-crosstable[data-config-placement="below"] .fh-ms-crosstable__workspace {
		align-items: stretch;
		display: flex;
		flex-direction: column;
		gap: 14px;
	}

	/* Match-sheet style: full-height config, page scrolls (no inner sticky panel). */
	.fh-ms-crosstable__config {
		max-height: none;
		overflow: visible;
		overflow-x: hidden;
		position: static;
		top: auto;
	}

	/* Keep preview visible while scrolling long config (+ zoom bar). */
	.fh-ms-crosstable__preview {
		align-self: start;
		display: flex;
		flex-direction: column;
		max-height: calc(100vh - var(--fh-ct-toolbar, 72px) - 16px);
		overflow: hidden;
		position: sticky;
		top: var(--fh-ct-toolbar, 72px);
		width: 100%;
	}

	.fh-ms-crosstable__preview.is-preview-tall {
		max-height: none;
		overflow: visible;
	}

	/* Below: sticky would cover the config — scroll the page instead. */
	.fh-ms-crosstable[data-config-placement="below"] .fh-ms-crosstable__preview {
		max-height: none;
		overflow: visible;
		position: static;
	}

	.fh-ms-crosstable[data-config-placement="below"] .fh-ms-crosstable__mount {
		overflow: visible;
	}

	.fh-ms-crosstable[data-config-placement="below"] .fh-ms-crosstable__preview .fh-ms-crosstable__viewport {
		flex: 0 1 auto;
		max-height: none;
		overflow-x: auto;
		overflow-y: visible;
	}

	.fh-ms-crosstable__preview-bar {
		flex: 0 0 auto;
	}

	.fh-ms-crosstable__mount {
		display: flex;
		flex: 1 1 auto;
		flex-direction: column;
		min-height: 0;
		overflow: hidden;
	}

	.fh-ms-crosstable__preview.is-preview-tall .fh-ms-crosstable__mount {
		overflow: visible;
	}

	.fh-ms-crosstable__preview .fh-ms-crosstable__viewport {
		flex: 1 1 auto;
		max-height: none;
		min-height: 0;
		overflow-x: auto;
		overflow-y: visible;
	}

	.fh-ms-crosstable__preview > .fh-ms-editor-toggle--foot {
		flex: 0 0 auto;
	}
}

/* Holds scaled size so scrollbars follow preview zoom (same pattern as match sheet). */
.fh-ms-crosstable__paper-sizer {
	margin: 0 auto;
	overflow: hidden;
	position: relative;
}

.fh-ms-crosstable__paper-zoom {
	margin: 0 auto;
	overflow: hidden;
	position: relative;
}

.fh-ms-crosstable__paper {
	background: #fff;
	box-shadow: 0 8px 24px rgba(15, 23, 42, 0.18);
	box-sizing: border-box;
	height: 210mm;
	/* In-flow so sizer has height even before JS zoom apply; absolute collapsed to 0×0. */
	overflow: hidden;
	padding: 0;
	position: relative;
	transform: scale(var(--fh-ct-preview-zoom, 1));
	transform-origin: 0 0;
	width: 297mm;
}

.fh-ms-crosstable-svg {
	display: block;
	/* Beat theme rules like `.entry-content svg { height: auto; max-width: 100% }`. */
	height: 210mm !important;
	max-height: none !important;
	max-width: none !important;
	transform: none;
	width: 297mm !important;
}

.fh-ms-crosstable__paper::before {
	border: 1px dashed #94a3b8;
	bottom: 6mm;
	content: "";
	left: 6mm;
	pointer-events: none;
	position: absolute;
	right: 6mm;
	top: 6mm;
	z-index: 2;
}

.fh-ms-crosstable__empty {
	color: #6b7280;
	margin: 12px 0;
}

.fh-ms-crosstable__sheet {
	--fh-ct-corner-bg: #0f274d;
	--fh-ct-corner-text: #facc15;
	--fh-ct-header-bg: #dbe4f0;
	--fh-ct-row-bg: #e8eef6;
	--fh-ct-sum-bg: #f1f5f9;
	--fh-ct-rank-bg: #e2e8f0;
	--fh-ct-border: #1f2937;
	--fh-ct-text: #123a7a;
	--fh-ct-cell-bg: #ffffff;
	--fh-ct-zebra: #f8fafc;
	--fh-ct-diag-bg: #ffffff;
	--fh-ct-corner-fill: var(--fh-ct-corner-bg);
	--fh-ct-header-fill: var(--fh-ct-header-bg);
	--fh-ct-font: 10pt;
	--fh-ct-title-font: 12pt;
	--fh-ct-header-font: 9.2pt;
	--fh-ct-team-font: 9.5pt;
	--fh-ct-team-col: 18%;
	--fh-ct-sum-col: 6.5%;
	--fh-ct-rank-col: 7.5%;
	--fh-ct-row-h: 12mm;
	--fh-ct-pad: 0.6mm;
	--fh-ct-logo-max: 72%;
	--fh-ct-align-h: center;
	--fh-ct-align-v: middle;
	background: #fff;
	box-sizing: border-box;
	color: var(--fh-ct-text);
	display: flex;
	flex-direction: column;
	font-family: var(--fh-ct-font-stack);
	height: 100%;
	min-height: 0;
	overflow: hidden;
	position: relative;
	width: 100%;
	z-index: 1;
}

.fh-ms-crosstable__heading {
	color: var(--fh-ct-text);
	flex: 0 0 auto;
	font-family: var(--fh-ct-font-stack);
	font-size: var(--fh-ct-title-font);
	font-weight: 700;
	letter-spacing: 0.02em;
	line-height: 1.15;
	margin: 0 0 1.5mm;
	overflow: hidden;
	text-align: center;
	text-transform: none;
}

.fh-ms-crosstable__paper .fh-ms-svg-edit-overlay {
	z-index: 6;
}

.fh-ms-crosstable-svg [data-fh-edit] {
	cursor: text;
}

.fh-ms-crosstable__pool-label {
	color: var(--fh-ct-text);
	flex: 0 0 auto;
	font-size: calc(var(--fh-ct-title-font) * 0.8);
	font-weight: 600;
	margin: 0 0 1mm;
	overflow: hidden;
	text-align: center;
}

.fh-ms-crosstable__scroll {
	flex: 1 1 auto;
	min-height: 0;
	overflow: hidden;
	width: 100%;
}

.fh-ms-crosstable__table {
	border-collapse: collapse;
	color: var(--fh-ct-text);
	font-family: var(--fh-ct-font-stack);
	font-size: var(--fh-ct-font);
	height: 100%;
	line-height: 1.15;
	max-width: 100%;
	table-layout: fixed;
	width: 100%;
}

.fh-ms-crosstable__table th,
.fh-ms-crosstable__table td {
	border: 1px solid var(--fh-ct-border);
	box-sizing: border-box;
	height: var(--fh-ct-row-h);
	max-height: var(--fh-ct-row-h);
	overflow: hidden;
	padding: var(--fh-ct-pad);
	text-align: var(--fh-ct-align-h);
	vertical-align: var(--fh-ct-align-v);
}

.fh-ms-crosstable__corner {
	background: var(--fh-ct-corner-fill);
	color: var(--fh-ct-corner-text);
	font-size: calc(var(--fh-ct-font) * 1.02);
	font-weight: 800;
	letter-spacing: 0.01em;
	overflow-wrap: anywhere;
	position: relative;
	width: var(--fh-ct-team-col);
}

.fh-ms-crosstable__col-team,
.fh-ms-crosstable__col-sum {
	background: var(--fh-ct-header-fill);
	color: var(--fh-ct-text);
	font-weight: 700;
}

.fh-ms-crosstable__col-team-text {
	display: block;
	font-size: var(--fh-ct-header-font);
	line-height: 1.15;
	max-height: 100%;
	overflow: hidden;
	overflow-wrap: anywhere;
	word-break: break-word;
}

.fh-ms-crosstable__col-sum {
	background: var(--fh-ct-sum-bg);
	font-size: var(--fh-ct-header-font);
	width: var(--fh-ct-sum-col);
}

.fh-ms-crosstable__col-rank {
	background: var(--fh-ct-rank-bg);
	border-left-width: 2px;
	font-size: var(--fh-ct-header-font);
	width: var(--fh-ct-rank-col);
}

.fh-ms-crosstable__row-team {
	background: var(--fh-ct-row-bg);
	border-right-width: 2px;
	color: var(--fh-ct-text);
	font-size: var(--fh-ct-team-font);
	font-weight: 700;
	overflow: hidden;
	overflow-wrap: anywhere;
	position: relative;
	text-align: var(--fh-ct-align-h);
	vertical-align: var(--fh-ct-align-v);
	white-space: normal;
	width: var(--fh-ct-team-col);
	word-break: break-word;
}

.fh-ms-crosstable__team-input {
	background: transparent;
	border: 1px dashed transparent;
	border-radius: 3px;
	box-sizing: border-box;
	color: inherit;
	font: inherit;
	font-size: inherit;
	font-weight: 700;
	max-width: 100%;
	overflow-wrap: anywhere;
	padding: 1px 2px;
	text-align: inherit;
	white-space: normal;
	width: 100%;
	word-break: break-word;
}

.fh-ms-crosstable__team-input:hover,
.fh-ms-crosstable__team-input:focus {
	background: #fff;
	border-color: #94a3b8;
	outline: none;
}

.fh-ms-crosstable__cell {
	background: #ffffff;
	color: var(--fh-ct-text);
	font-weight: 700;
	white-space: nowrap;
}

.fh-ms-crosstable__diag {
	background: var(--fh-ct-diag-bg);
	box-sizing: border-box;
	color: #9ca3af;
	overflow: hidden;
	padding: 0 !important;
	position: relative;
}

.fh-ms-crosstable__diag-logo {
	bottom: 0;
	display: block;
	height: auto;
	left: 0;
	margin: auto;
	max-height: var(--fh-ct-logo-max);
	max-width: var(--fh-ct-logo-max);
	object-fit: contain;
	pointer-events: none;
	position: absolute;
	right: 0;
	top: 0;
	width: auto;
}

.fh-ms-crosstable__diag-empty {
	align-items: center;
	color: #cbd5e1;
	display: flex;
	font-weight: 500;
	height: 100%;
	justify-content: center;
	left: 0;
	pointer-events: none;
	position: absolute;
	right: 0;
	top: 0;
	width: 100%;
}

.fh-ms-crosstable__sum {
	background: var(--fh-ct-sum-bg);
	font-weight: 700;
	white-space: nowrap;
}

.fh-ms-crosstable__sum-rank {
	background: var(--fh-ct-rank-bg);
	border-left-width: 2px;
}

.fh-ms-crosstable__resize {
	background: transparent;
	cursor: col-resize;
	height: 100%;
	position: absolute;
	right: -2px;
	top: 0;
	width: 5px;
	z-index: 2;
}

.fh-ms-crosstable__resize:hover {
	background: rgba(30, 90, 168, 0.35);
}

.fh-ms-crosstable-svg [data-fh-resize] {
	pointer-events: all;
}

body.fh-ms-ct-resizing,
body.fh-ms-ct-resizing * {
	cursor: col-resize !important;
	user-select: none !important;
}

body.fh-ms-ct-resizing[data-fh-resize-axis='row'],
body.fh-ms-ct-resizing[data-fh-resize-axis='row'] * {
	cursor: row-resize !important;
}

.fh-ms--crosstable-open .fh-ms-start,
.fh-ms--crosstable-open .fh-ms-workspace,
.fh-ms--crosstable-open .fh-ms-picker,
.fh-ms--crosstable-open .fh-ms-loading,
.fh-ms--crosstable-open .fh-ms-summary,
.fh-ms--crosstable-open .fh-ms-toolbar {
	display: none !important;
}

.fh-ms-crosstable-print-host {
	display: none;
}

@media print {
	html,
	body.fh-ms-printing-crosstable {
		background: #fff !important;
		height: auto !important;
		margin: 0 !important;
		overflow: visible !important;
		padding: 0 !important;
		width: auto !important;
	}

	body.fh-ms-printing-crosstable > *:not(.fh-ms-crosstable-print-host) {
		display: none !important;
	}

	body.fh-ms-printing-crosstable > .fh-ms-crosstable-print-host {
		display: block !important;
		height: auto !important;
		margin: 0 !important;
		max-width: 297mm !important;
		overflow: visible !important;
		padding: 0 !important;
		width: 297mm !important;
	}

	.fh-ms-crosstable-print-host .fh-ms-crosstable-svg {
		break-inside: avoid !important;
		display: block !important;
		height: 210mm !important;
		max-height: 210mm !important;
		max-width: 297mm !important;
		page-break-inside: avoid !important;
		transform: none !important;
		width: 297mm !important;
		print-color-adjust: exact;
		-webkit-print-color-adjust: exact;
	}

	.fh-ms-crosstable-print-host .fh-ms-crosstable-svg:not(:last-child) {
		break-after: page !important;
		page-break-after: always !important;
	}

	.fh-ms-crosstable-print-host .fh-ms-crosstable__team-input {
		border: none;
		padding: 0;
	}
}

@media screen and (max-width: 720px) {
	.fh-ms-crosstable__toolbar-actions,
	.fh-ms-setting-actions,
	.fh-ms-crosstable__preview-bar .fh-ms-zoom {
		width: 100%;
	}

	.fh-ms-crosstable__toolbar-actions .fh-ms-btn,
	.fh-ms-setting-actions .fh-ms-btn {
		flex: 1 1 auto;
	}

	.fh-ms-crosstable__preview-bar {
		align-items: stretch;
		flex-direction: column;
	}

	.fh-ms-crosstable__preview-bar .fh-ms-zoom {
		justify-content: flex-start;
	}

	.fh-ms-crosstable__preview-bar .fh-ms-zoom .fh-ms-btn {
		flex: 1 1 auto;
		min-width: 0;
	}

	.fh-ms-crosstable__config {
		max-height: none;
		width: 100%;
	}
}
