
	.code-editor.svelte-9xb14c {
		height: var(--code-editor-height);
		border: 1px solid #ccc;
		border-radius: 4px;
		overflow: hidden;
	}

	.code-editor.svelte-9xb14c .cm-editor {
		height: 100%;
	}

	.code-editor.svelte-9xb14c .cm-editor.cm-focused {
		outline: none;
	}

	.code-editor.svelte-9xb14c .cm-scroller {
		font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
		font-size: 14px;
		line-height: 1.5;
	}

	/* Override the global .field__label block layout so margin-left:auto on
	   our buttons can push them to the right edge of the label row. */
	.field--type-code.svelte-14peoir .field__label {
		display: flex;
		align-items: center;
	}

	.field__maximize.svelte-14peoir {
		background: transparent;
		border: 1px solid #ccc;
		cursor: pointer;
		padding: 2px 4px;
		margin-left: auto;
		border-radius: 3px;
		display: inline-flex;
		align-items: center;
		justify-content: center;
		color: #2f405c;
		line-height: 0;
	}

	.field__maximize.svelte-14peoir:hover { background: #f0f0f0; }

	.field__maximize.svelte-14peoir svg { display: block; }

	.code-field-modal.svelte-14peoir {
		position: fixed;
		z-index: 1000000000;
		top: 0; right: 0; bottom: 0; left: 0;
		background: rgba(47,64,92,0.4);
		display: flex;
		align-items: center;
		justify-content: center;
		padding: 20px;
		font-size: 14px;
		color: #2f405c;
		font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	}

	.code-field-modal__box.svelte-14peoir {
		background: #fff;
		width: 95vw;
		height: 95vh;
		max-width: 1400px;
		border-radius: 6px;
		display: flex;
		flex-direction: column;
		box-shadow: 0 10px 40px rgba(0,0,0,0.25);
		overflow: hidden;
	}

	.code-field-modal__header.svelte-14peoir {
		padding: 12px 20px;
		border-bottom: 1px solid #e5e5e5;
		display: flex;
		align-items: center;
		gap: 15px;
		background: #f7f7f7;
		font-weight: 600;
	}

	.code-field-modal__title.svelte-14peoir { flex: 1; }

	.code-field-modal__close.svelte-14peoir {
		background: #fff;
		border: 1px solid #ccc;
		cursor: pointer;
		padding: 4px;
		border-radius: 4px;
		display: inline-flex;
		align-items: center;
		justify-content: center;
		color: #2f405c;
	}

	.code-field-modal__close.svelte-14peoir:hover { background: #f0f0f0; }

	.code-field-modal__close.svelte-14peoir svg { display: block; }

	.code-field-modal__body.svelte-14peoir {
		flex: 1;
		min-height: 0;
		display: flex;
		flex-direction: column;
	}

	.code-field-modal__body.svelte-14peoir .code-editor {
		flex: 1;
		min-height: 0;
		border: none;
		border-radius: 0;
	}
