.rsmspark-cw-export-json-panel {
	position: fixed;
	right: 24px;
	bottom: 24px;
	z-index: 160010;
	width: min(560px, calc(100vw - 48px));
	max-height: min(62vh, 520px);
	box-sizing: border-box;
}

.rsmspark-cw-export-json-panel[hidden] {
	display: none !important;
}

.rsmspark-cw-export-json-panel__inner {
	display: flex;
	flex-direction: column;
	max-height: min(62vh, 520px);
	padding: 14px 16px;
	background: #fff;
	border: 1px solid #c3c4c7;
	border-radius: 6px;
	box-shadow: 0 8px 28px rgba(0, 0, 0, 0.18);
}

.rsmspark-cw-export-json-panel__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 6px;
}

.rsmspark-cw-export-json-panel__title {
	margin: 0;
	font-size: 13px;
	line-height: 1.4;
	color: #1d2327;
}

.rsmspark-cw-export-json-panel__close {
	margin: 0;
	padding: 0 4px;
	border: 0;
	background: transparent;
	color: #646970;
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
}

.rsmspark-cw-export-json-panel__close:hover,
.rsmspark-cw-export-json-panel__close:focus {
	color: #1d2327;
}

.rsmspark-cw-export-json-panel__help {
	margin: 0 0 8px;
	color: #646970;
}

.rsmspark-cw-export-json-panel__note {
	margin: 0 0 8px;
	padding: 8px 10px;
	background: #fff6f1;
	border: 1px solid #f0d4c4;
	border-radius: 4px;
	color: #8a4b2a;
}

.rsmspark-cw-export-json-panel__pre {
	flex: 1 1 auto;
	min-height: 120px;
	max-height: min(48vh, 380px);
	margin: 0;
	padding: 10px 12px;
	overflow: auto;
	background: #f6f7f7;
	border: 1px solid #dcdcde;
	border-radius: 4px;
	color: #1d2327;
	font-family: Menlo, Consolas, Monaco, monospace;
	font-size: 12px;
	line-height: 1.45;
	white-space: pre-wrap;
	word-break: break-word;
}
