

	.button--pixel[disabled].svelte-1nvk9qg{opacity:.5;}

	.modal__container--draggable.svelte-1nvk9qg {
		max-width: 1200px;
		min-width: 300px;
		min-height: 200px;
		position: relative;
	}
	.modal__header--dragging.svelte-1nvk9qg {
		cursor: grabbing;
		user-select: none;
	}
	.modal__resize-handle.svelte-1nvk9qg {
		position: absolute;
		bottom: 0;
		right: 0;
		width: 16px;
		height: 16px;
		cursor: nwse-resize;
		z-index: 10;
	}
	.modal__resize-handle.svelte-1nvk9qg::after {
		content: '';
		position: absolute;
		bottom: 4px;
		right: 4px;
		width: 8px;
		height: 8px;
		border-right: 2px solid rgba(0,0,0,0.25);
		border-bottom: 2px solid rgba(0,0,0,0.25);
	}


	.field--disabled.svelte-m1hdu1{pointer-events:none;}


	.button--ai-generate--loading.svelte-1sbkp97 {
		opacity: 0.6;
		cursor: progress;
	}
	.button--ai-generate--loading.svelte-1sbkp97 svg {
		animation: svelte-1sbkp97-ai-generate-spin 0.8s linear infinite;
	}
	@keyframes svelte-1sbkp97-ai-generate-spin {
		to { transform: rotate(360deg); }
	}

	.image-editor-modal.svelte-16eio9m {
		z-index: 1300;
	}
	.image-editor.svelte-16eio9m {
		max-width: 95vw;
		width: 95vw;
		height: 95vh;
		display: flex;
		flex-direction: column;
	}
	.image-editor__toolbar.svelte-16eio9m {
		display: flex;
		gap: 20px;
		padding: 8px 20px;
		border-bottom: 1px solid var(--border);
		background: var(--background-light);
		align-items: center;
		flex-shrink: 0;
	}
	.image-editor__toolbar-group.svelte-16eio9m {
		display: flex;
		gap: 4px;
		align-items: center;
	}
	.image-editor__toolbar-spacer.svelte-16eio9m {
		flex: 1;
	}
	.image-editor__canvas-wrap.svelte-16eio9m {
		flex: 1;
		display: flex;
		align-items: center;
		justify-content: center;
		background: #1a1a2e;
		overflow: hidden;
		position: relative;
		min-height: 0;
	}
	.image-editor__canvas-wrap.svelte-16eio9m canvas:where(.svelte-16eio9m) {
		box-shadow: 0 0 20px rgba(0,0,0,0.3);
		display: block;
	}
	.image-editor__loading.svelte-16eio9m {
		color: #fff;
		font-size: 16px;
	}
	.image-editor__bottom.svelte-16eio9m {
		padding: 12px 20px;
		border-top: 1px solid var(--border);
		background: var(--background-light);
		flex-shrink: 0;
	}
	.image-editor__bottom-toggle.svelte-16eio9m {
		display: flex;
		justify-content: center;
		margin-bottom: 8px;
	}
	.image-editor__slider-row.svelte-16eio9m {
		display: flex;
		align-items: center;
		gap: 12px;
	}
	.image-editor__slider-label.svelte-16eio9m {
		width: 50px;
		text-align: right;
		font-size: 13px;
		font-weight: 600;
	}
	.image-editor__slider.svelte-16eio9m {
		flex: 1;
		height: 24px;
		position: relative;
		cursor: pointer;
		display: flex;
		align-items: center;
	}
	.image-editor__slider-track.svelte-16eio9m {
		width: 100%;
		height: 4px;
		background: var(--border);
		border-radius: 2px;
	}
	.image-editor__slider-thumb.svelte-16eio9m {
		position: absolute;
		width: 16px;
		height: 16px;
		background: var(--primary, #4a6cf7);
		border-radius: 50%;
		transform: translateX(-50%);
		top: 50%;
		margin-top: -8px;
		pointer-events: none;
	}

	/* Annotate bar */
	.image-editor__annotate-bar.svelte-16eio9m {
		padding: 8px 20px;
		border-bottom: 1px solid var(--border);
		background: var(--background-light);
		flex-shrink: 0;
		display: flex;
		flex-direction: column;
		gap: 8px;
	}
	.image-editor__annotate-settings.svelte-16eio9m {
		display: flex;
		gap: 12px;
		align-items: center;
		flex-wrap: wrap;
	}
	.image-editor__setting.svelte-16eio9m {
		display: flex;
		align-items: center;
		gap: 4px;
		font-size: 12px;
		color: var(--text);
	}
	.image-editor__setting.svelte-16eio9m input[type="color"]:where(.svelte-16eio9m) {
		width: 28px;
		height: 24px;
		padding: 0;
		border: 1px solid var(--border);
		border-radius: 3px;
		cursor: pointer;
		background: none;
	}
	.image-editor__setting.svelte-16eio9m select:where(.svelte-16eio9m),
	.image-editor__setting.svelte-16eio9m input[type="number"]:where(.svelte-16eio9m) {
		padding: 3px 6px;
		border: 1px solid var(--border);
		border-radius: 3px;
		font-size: 12px;
		background: #fff;
	}
	.image-editor__color-wrap.svelte-16eio9m {
		display: flex;
		align-items: center;
		gap: 4px;
	}
	.image-editor__opacity-slider.svelte-16eio9m {
		width: 60px;
		height: 16px;
		cursor: pointer;
		accent-color: var(--primary, #4a6cf7);
	}
	.image-editor__opacity-label.svelte-16eio9m {
		font-size: 11px;
		min-width: 30px;
		text-align: center;
		color: var(--text);
	}

	.media-detail__stats.svelte-1vr73p5 {
		padding: 0;
		background: var(--background-light);
		border: 1px solid #e5e7eb;
		border-radius: 4px;
		display: block;
		gap: 0;
		margin: 0 0 20px 0;
	}
	.media-detail__stat.svelte-1vr73p5 {
		display: grid;
		grid-template-columns: minmax(0, 110px) minmax(0, 1fr);
		gap: 16px;
		padding: 10px 14px;
		align-items: start;
		font-size: 13px;
		word-break: break-word;
	}
	.media-detail__stat.svelte-1vr73p5 + .media-detail__stat:where(.svelte-1vr73p5) {
		border-top: 1px solid #e5e7eb;
	}
	.media-detail__stat.svelte-1vr73p5 strong:where(.svelte-1vr73p5) {
		display: block;
		color: #374151;
		font-weight: 600;
	}
	.media-detail__stat.svelte-1vr73p5 .stat-value:where(.svelte-1vr73p5) {
		min-width: 0;
	}
	.url-row.svelte-1vr73p5 {
		display: flex;
		align-items: flex-start;
		gap: 4px;
	}
	.url-row.svelte-1vr73p5 .url-text:where(.svelte-1vr73p5) {
		max-width: 20ch;
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
	}
	.url-row.svelte-1vr73p5 .button--link:where(.svelte-1vr73p5) {
		flex-shrink: 0;
		padding: 0;
		margin: 0;
	}
	.alt-text-input.svelte-1vr73p5 {
		width: 100%;
		font-family: inherit;
		font-size: 13px;
		resize: vertical;
	}
	.library-image-toggle.svelte-1vr73p5 {
		display: inline-flex;
		align-items: center;
		gap: 8px;
		cursor: pointer;
	}
	.library-image-toggle.svelte-1vr73p5 input:where(.svelte-1vr73p5) {
		margin: 0;
	}
	.text-link.svelte-1vr73p5 {
		background: none;
		border: none;
		padding: 0;
		margin: 0;
		font: inherit;
		color: inherit;
		text-align: left;
		text-decoration: underline;
		cursor: pointer;
	}
	.text-link.svelte-1vr73p5:disabled {
		opacity: 0.5;
		cursor: default;
	}
	.text-link.text--danger.svelte-1vr73p5 {
		color: var(--danger);
	}
	.media-actions-list.svelte-1vr73p5 {
		list-style: disc;
		margin: 0;
		padding-left: 1.25em;
	}
	.media-actions-list.svelte-1vr73p5 li:where(.svelte-1vr73p5) {
		margin: 0.6em 0;
	}
	.transparent-toggle.svelte-1vr73p5 {
		display: flex;
		align-items: flex-start;
		gap: 8px;
		margin: 0 0 20px 0;
		cursor: pointer;
	}
	.transparent-toggle.svelte-1vr73p5 input:where(.svelte-1vr73p5) {
		margin: 3px 0 0 0;
		flex-shrink: 0;
	}

	/* Show alpha behind transparent-PNG previews so the cutout is visible. */
	.preview-checkerboard.svelte-1vr73p5 {
		background-image:
			linear-gradient(45deg, #ccc 25%, transparent 25%),
			linear-gradient(-45deg, #ccc 25%, transparent 25%),
			linear-gradient(45deg, transparent 75%, #ccc 75%),
			linear-gradient(-45deg, transparent 75%, #ccc 75%);
		background-size: 16px 16px;
		background-position: 0 0, 0 8px, 8px -8px, -8px 0;
		background-color: #fff;
	}
	.reference-images.svelte-1vr73p5 {
		margin: 0 0 20px 0;
	}
	.reference-images__header.svelte-1vr73p5 {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 16px;
	}
	.reference-images__hint.svelte-1vr73p5 {
		display: block;
		font-size: 12px;
		color: #6b7280;
		margin-top: 2px;
	}
	.reference-images__grid.svelte-1vr73p5 {
		display: flex;
		flex-wrap: wrap;
		gap: 10px;
		margin-top: 12px;
	}
	.reference-images__item.svelte-1vr73p5 {
		position: relative;
		width: 200px;
		height: 150px;
		border-radius: 4px;
		overflow: hidden;
		border: 1px solid #e5e7eb;
	}
	.reference-images__item.svelte-1vr73p5 img:where(.svelte-1vr73p5) {
		width: 100%;
		height: 100%;
		object-fit: cover;
		display: block;
	}
	.reference-images__remove.svelte-1vr73p5 {
		position: absolute;
		top: 2px;
		right: 2px;
		display: flex;
		align-items: center;
		justify-content: center;
		width: 22px;
		height: 22px;
		padding: 0;
		border: none;
		border-radius: 50%;
		background: rgba(0, 0, 0, 0.6);
		color: #fff;
		cursor: pointer;
	}
	.media-object-json.svelte-1vr73p5 {
		background: #f9fafb;
		border: 1px solid #e5e7eb;
		border-radius: 4px;
		padding: 12px;
		margin: 0;
		font-size: 12px;
		font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
		white-space: pre-wrap;
		word-break: break-all;
		overflow: auto;
		max-height: 100%;
	}

	.current.svelte-12bdg5l{z-index:2;outline:1px dotted var(--primary) !important;}
	.repeater__item-drag.svelte-12bdg5l{width:40px;text-align:center;cursor:grab;}
	.repeater__item-drag.svelte-12bdg5l:active{cursor:grabbing;}
	.repeater__item-order.svelte-12bdg5l{width:60px;}
	.repeater__item-column.svelte-12bdg5l{width:60px;text-align:center}
	.repeater__item-width.svelte-12bdg5l{flex:1}
	.repeater__item-delete.svelte-12bdg5l{width:22px;text-align:center;font-weight:bold;font-size:16px}

	/* Drag and drop visual feedback */
	/* (empty) .repeater__item.dragging {
		
	}*/

	.drop-zone.svelte-12bdg5l {
		height: 5px;
		margin: 1px 0;
		background: transparent;
		position: relative;
	}

	.repeater.svelte-12bdg5l:has(.dragging:where(.svelte-12bdg5l)) .drop-zone:where(.svelte-12bdg5l) {
		background: rgba(0, 123, 255, 0.3);
	}

	.repeater.svelte-12bdg5l:has(.dragging:where(.svelte-12bdg5l)) .drop-zone:where(.svelte-12bdg5l)::before {
		background: rgba(0, 123, 255, 0.3);
	}

	.repeater.svelte-12bdg5l:has(.dragging:where(.svelte-12bdg5l)) .drop-zone:where(.svelte-12bdg5l)::after {
		background: rgba(0, 123, 255, 0.3);
	}

	/* Make the active/hovered drop zone darker */
	.drop-zone.active.svelte-12bdg5l {
		background: #007bff !important;
	}

	.drop-zone.active.svelte-12bdg5l::before {
		background: #007bff !important;
	}

	.drop-zone.active.svelte-12bdg5l::after {
		background: #007bff !important;
	}

	.repeater__item.svelte-12bdg5l {
		position: relative;
	}

	.repeater__item-drag.svelte-12bdg5l svg:where(.svelte-12bdg5l) {
		opacity: 0.6;
	}

	.repeater__item-drag.svelte-12bdg5l:hover svg:where(.svelte-12bdg5l) {
		opacity: 1;
		color: #007bff;
	}


	.table-grid.svelte-9sili4 {
		overflow: auto;
		max-height: 60vh;
	}
	.table-grid.svelte-9sili4 table:where(.svelte-9sili4) {
		border-collapse: collapse;
	}
	.table-grid.svelte-9sili4 td:where(.svelte-9sili4),
	.table-grid.svelte-9sili4 th:where(.svelte-9sili4) {
		padding: 2px;
		vertical-align: middle;
	}
	.table-grid.svelte-9sili4 input:where(.svelte-9sili4) {
		min-width: 180px;
	}
	.table-grid.svelte-9sili4 tr.table-grid__row--header:where(.svelte-9sili4) input:where(.svelte-9sili4) {
		font-weight: 700;
	}
	.table-grid__actions-cell.svelte-9sili4 {
		white-space: nowrap;
	}
	.table-grid__column-header.svelte-9sili4 {
		display: flex;
		align-items: center;
		gap: 4px;
	}
	.table-grid__width.svelte-9sili4 {
		display: flex;
		align-items: center;
		gap: 2px;
		font-size: 12px;
		opacity: .8;
	}
	.table-grid__width.svelte-9sili4 input:where(.svelte-9sili4) {
		min-width: 0;
		width: 90px;
	}
	.table-grid__drag.svelte-9sili4 {
		cursor: grab;
		display: inline-flex;
	}
	.table-grid__drag.svelte-9sili4 svg:where(.svelte-9sili4) {
		width: 18px;
		height: 18px;
	}
	.table-grid__hint.svelte-9sili4 {
		margin-top: 12px;
		opacity: .7;
		font-size: 12px;
	}


	.field__input--textfield.svelte-1da0wwq{flex:1}

	.default.svelte-13qqgp4 svg:where(.svelte-13qqgp4){width:18px;height:18px;}

	.highlight-row.svelte-deiyey {
		display: flex;
		align-items: center;
		gap: 6px;
		margin-bottom: 6px;
	}
	.highlight-row.svelte-deiyey input:where(.svelte-deiyey) {
		flex: 1;
	}
	.highlight-remove.svelte-deiyey {
		flex-shrink: 0;
	}
	.highlight-colors.svelte-deiyey {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 6px;
		margin-bottom: 6px;
	}

	.button__label.svelte-1mhkuzr{font-size:11px;}

	.select-posts-tags.svelte-1kgd83j {
		display: flex;
		flex-wrap: wrap;
		gap: 6px;
		margin-top: 8px;
	}
	.select-posts-tag.svelte-1kgd83j {
		display: inline-flex;
		align-items: center;
		gap: 6px;
		padding: 4px 8px;
		background: #5b86e5;
		color: #fff;
		border-radius: 6px;
		font-size: 10px;
		line-height: 1;
		letter-spacing: 0.02em;
	}
	.select-posts-tag__label.svelte-1kgd83j {
		white-space: nowrap;
	}
	.select-posts-tag__remove.svelte-1kgd83j {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		background: none;
		border: none;
		color: inherit;
		cursor: pointer;
		padding: 0;
		margin: 0;
		font-size: 13px;
		line-height: 1;
		opacity: 0.85;
	}
	.select-posts-tag__remove.svelte-1kgd83j:hover {
		opacity: 1;
	}

	.field__checkbox-label.svelte-e8e4bk {
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
		display: block;
	}
