/* Theme Main Screen */

.theme-card-list {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 0 20px;
	margin-top: 16px;
}

.theme-card {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 16px;
	background: #ffffff;
	border: 1px solid #e5e5ea;
	border-radius: 12px;
	cursor: pointer;
	transition: all 0.2s ease;
}

.theme-card:hover {
	background: #f9f9fb;
	border-color: #d1d1d6;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
	transform: translateY(-1px);
}

.theme-card:active {
	transform: translateY(0);
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.theme-card-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	min-width: 44px;
	background: #f5f5f7;
	border-radius: 10px;
	color: #1d1d1f;
}

.theme-card-icon svg {
	width: 24px;
	height: 24px;
}

.theme-card-body {
	flex: 1;
	min-width: 0;
}

.theme-card-name {
	font-size: 16px;
	font-weight: 500;
	color: #1d1d1f;
	margin-bottom: 3px;
}

.theme-card-desc {
	font-size: 13px;
	color: #86868b;
	line-height: 1.4;
}

.theme-card-arrow {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 20px;
	height: 20px;
	color: #c7c7cc;
}

.theme-card-arrow svg {
	width: 16px;
	height: 16px;
}

/* Theme Editor Screens */

.te-section-label {
	font-size: 13px;
	font-weight: 600;
	color: #86868b;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	margin: 24px 20px 12px 20px;
}

.te-section-label:first-child {
	margin-top: 16px;
}

/* Preview Area */

.te-preview {
	margin: 0 20px;
	padding: 24px;
	background: #f9f9fb;
	border: 1px solid #e5e5ea;
	border-radius: 12px;
	min-height: 200px;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

/* Bubble Preview */
.te-preview-bubble {
	max-width: 70%;
	padding: 10px 14px;
	border-radius: 18px;
	font-size: 15px;
	line-height: 1.4;
	word-wrap: break-word;
}

.te-bubble-in {
	background: #e5e5ea;
	color: #1d1d1f;
	align-self: flex-start;
	border-bottom-left-radius: 4px;
}

.te-bubble-out {
	background: #007aff;
	color: #ffffff;
	align-self: flex-end;
	border-bottom-right-radius: 4px;
}

/* ============================================================
   Chat Interface — Before/After Preview
   ============================================================ */

.chat-interface-preview {
	display: flex;
	gap: 12px;
	margin: 0 20px;
}

.chat-interface-preview.chat-interface-preview-single {
	display: block;
}

.chat-interface-preview.chat-interface-preview-single .ci-mock {
	height: 420px;
}

.ci-preview-col {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.ci-preview-heading {
	font-size: 11px;
	font-weight: 600;
	color: #86868b;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	text-align: center;
}

/* Phone-like frame that hosts the real chat markup */
.ci-mock {
	position: relative;
	height: 420px;
	background: #ffffff;
	border: 1px solid #e5e5ea;
	border-radius: 14px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Neutralise the app-level full-screen assumptions inside the mock */
.ci-mock .chat-header {
	padding: 10px 12px 8px;
}

.ci-mock .chat-messages {
	flex: 1;
	min-height: 0;
	padding: 0 12px;
}

.ci-mock .chat-input-bar {
	padding: 6px 10px 10px;
}

.ci-mock .ch-avatar,
.ci-mock .msg-avatar {
	background: #d1d1d6;
}

.ci-mock textarea {
	pointer-events: none;
}

.ci-mock .chat-header::before,
.ci-mock .chat-input-bar::before {
	display: none;
}

/* Chat Interface Preview (legacy) */
.te-preview-chat {
	padding: 0;
	background: #ffffff;
	display: flex;
	flex-direction: column;
	height: 320px;
}

.te-preview-nav {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 12px 16px;
	border-bottom: 1px solid #e5e5ea;
}

.te-prev-nav-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #d1d1d6;
}

.te-prev-nav-title {
	font-size: 15px;
	font-weight: 600;
	color: #1d1d1f;
}

.te-preview-chat-body {
	flex: 1;
	padding: 16px;
	display: flex;
	flex-direction: column;
	gap: 12px;
	overflow: hidden;
}

.te-preview-msg {
	display: flex;
	gap: 8px;
	align-items: flex-end;
}

.te-msg-left {
	justify-content: flex-start;
}

.te-msg-right {
	justify-content: flex-end;
}

.te-prev-avatar {
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: #e5e5ea;
	min-width: 28px;
}

.te-prev-bubble {
	padding: 8px 12px;
	background: #e5e5ea;
	color: #1d1d1f;
	border-radius: 16px;
	font-size: 14px;
	max-width: 60%;
}

.te-prev-bubble-out {
	background: #007aff;
	color: #ffffff;
}

.te-preview-input-bar {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 12px 16px;
	border-top: 1px solid #e5e5ea;
}

.te-prev-input-field {
	flex: 1;
	height: 32px;
	background: #f5f5f7;
	border-radius: 16px;
}

.te-prev-send-btn {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: #007aff;
}

/* Meeting Preview */
.te-preview-meeting {
	padding: 16px;
	gap: 16px;
}

.te-prev-meeting-header {
	display: flex;
	align-items: center;
	gap: 12px;
	padding-bottom: 16px;
	border-bottom: 1px solid #e5e5ea;
}

.te-prev-meeting-avatar {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: #e5e5ea;
}

.te-prev-meeting-info {
	flex: 1;
}

.te-prev-meeting-name {
	width: 100px;
	height: 14px;
	background: #d1d1d6;
	border-radius: 4px;
	margin-bottom: 6px;
}

.te-prev-meeting-status {
	width: 60px;
	height: 10px;
	background: #e5e5ea;
	border-radius: 3px;
}

.te-prev-meeting-msg {
	display: flex;
}

.te-prev-meeting-msg-r {
	justify-content: flex-end;
}

.te-prev-meeting-bubble {
	width: 70%;
	height: 40px;
	background: #e5e5ea;
	border-radius: 12px;
}

.te-prev-meeting-bubble-out {
	background: #007aff;
	width: 60%;
}

/* ============================================================
   Heart Panel — Before/After Preview
   ============================================================ */

.heart-panel-preview {
	display: flex;
	gap: 12px;
	margin: 0 20px;
}

.heart-panel-preview.heart-panel-preview-single {
	display: block;
}

.heart-panel-preview.heart-panel-preview-single .hp-mock {
	min-height: 320px;
}

.hp-preview-col {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.hp-preview-heading {
	font-size: 11px;
	font-weight: 600;
	color: #86868b;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	text-align: center;
}

.hp-mock {
	position: relative;
	min-height: 320px;
	background: #f0f0f5;
	border: 1px solid #e5e5ea;
	border-radius: 14px;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 12px 8px;
	box-sizing: border-box;
}

/* Scale the heart-voice-card to fit the narrow preview column */
.hp-mock .heart-voice-card {
	width: 100%;
	max-width: none;
	max-height: none;
	border-radius: 14px;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.10);
	transition: none;
}

.hp-mock .hv-content {
	max-height: 200px;
	overflow: hidden;
}

.hp-mock .hv-close {
	pointer-events: none;
}

/* ============================================================
   Meeting Archive — Before/After Preview
   ============================================================ */

.archive-preview-wrap {
	display: flex;
	gap: 12px;
	margin: 0 20px;
}

.archive-preview-wrap.archive-preview-single {
	display: block;
}

.archive-preview-wrap.archive-preview-single .archive-mock {
	max-height: 420px;
}

.archive-preview-col {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.archive-preview-heading {
	font-size: 11px;
	font-weight: 600;
	color: #86868b;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	text-align: center;
}

.archive-mock {
	position: relative;
	background: #f5f5f7;
	border: 1px solid #e5e5ea;
	border-radius: 14px;
	overflow-y: auto;
	max-height: 420px;
	padding: 12px 0;
	display: flex;
	flex-direction: column;
	gap: 0;
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Neutralise margin on cards inside the narrow mock */
.archive-mock .mtg-archive-card {
	margin: 0 10px 8px;
}

.archive-mock .mtg-archive-card:last-child {
	margin-bottom: 4px;
}

/* Keep action buttons non-interactive in the preview */
.archive-mock .mtg-archive-action-btn {
	pointer-events: none;
	font-size: 11px;
	padding: 9px 0;
}

/* Scale card name and info text to fit the narrow column */
.archive-mock .mtg-archive-card-name {
	font-size: 13px;
	margin-bottom: 8px;
}

.archive-mock .mtg-archive-info-row {
	font-size: 11px;
}

.archive-mock .mtg-archive-card-body {
	padding: 13px 14px 10px;
}

/* Call Interface Preview */
.te-preview-call {
	align-items: center;
	justify-content: center;
	gap: 16px;
	padding: 32px 24px;
}

.te-prev-call-avatar {
	width: 80px;
	height: 80px;
	border-radius: 50%;
	background: #e5e5ea;
}

.te-prev-call-name {
	width: 120px;
	height: 18px;
	background: #d1d1d6;
	border-radius: 4px;
}

.te-prev-call-status {
	width: 80px;
	height: 12px;
	background: #e5e5ea;
	border-radius: 3px;
}

.te-prev-call-actions {
	display: flex;
	gap: 20px;
	margin-top: 12px;
}

.te-prev-call-btn {
	width: 56px;
	height: 56px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #ffffff;
}

.te-prev-call-btn svg {
	width: 24px;
	height: 24px;
}

.te-prev-call-end {
	background: #ff3b30;
}

.te-prev-call-accept {
	background: #34c759;
}

/* CSS Editor Card */

.te-editor-card {
	margin: 0 20px;
	padding: 16px;
	background: #ffffff;
	border: 1px solid #e5e5ea;
	border-radius: 12px;
}

.te-editor-label {
	font-size: 13px;
	font-weight: 500;
	color: #86868b;
	margin-bottom: 12px;
}

.te-textarea {
	width: 100%;
	min-height: 180px;
	padding: 12px;
	font-family: 'SF Mono', 'Monaco', 'Menlo', 'Courier New', monospace;
	font-size: 13px;
	line-height: 1.5;
	color: #1d1d1f;
	background: #f9f9fb;
	border: 1px solid #e5e5ea;
	border-radius: 8px;
	resize: vertical;
	outline: none;
	transition: border-color 0.2s ease;
}

.te-textarea:focus {
	border-color: #007aff;
	background: #ffffff;
}

.te-textarea::placeholder {
	color: #c7c7cc;
}

/* Action Buttons */

.te-actions {
	display: flex;
	gap: 8px;
	padding: 0 20px;
	margin-top: 20px;
	flex-wrap: wrap;
}

.te-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	padding: 10px 16px;
	border-radius: 8px;
	font-size: 14px;
	font-weight: 500;
	border: none;
	cursor: pointer;
	transition: all 0.2s ease;
	white-space: nowrap;
}

.te-btn svg {
	width: 16px;
	height: 16px;
}

.te-btn-primary {
	background: #000000;
	color: #ffffff;
	flex: 1;
	min-width: 100px;
}

.te-btn-primary:hover {
	background: #333333;
}

.te-btn-primary:active {
	background: #1a1a1a;
	transform: scale(0.98);
}

.te-btn-primary:disabled {
	background: #999999;
	cursor: not-allowed;
}

.te-btn-secondary {
	background: #f5f5f7;
	color: #1d1d1f;
	border: 1px solid #e5e5ea;
}

.te-btn-secondary:hover {
	background: #e5e5ea;
}

.te-btn-secondary:active {
	background: #d1d1d6;
	transform: scale(0.98);
}

.te-btn-ghost {
	background: transparent;
	color: #86868b;
	border: 1px solid #d1d1d6;
}

.te-btn-ghost:hover {
	background: #f5f5f7;
	color: #1d1d1f;
}

.te-btn-ghost:active {
	background: #e5e5ea;
	transform: scale(0.98);
}

/* Responsive adjustments */

@media (max-width: 480px) {
	.te-actions {
		flex-direction: column;
	}

	.te-btn {
		width: 100%;
	}
}

/* ============================================================
   Parameter Row (shared by Font Size + Bubble Style)
   ============================================================ */

.te-param-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 10px 0;
	border-bottom: 1px solid #f2f2f7;
}

.te-param-row:last-child {
	border-bottom: none;
	padding-bottom: 0;
}

.te-param-row:first-child {
	padding-top: 0;
}

.te-param-label {
	flex: 1;
	font-size: 14px;
	font-weight: 500;
	color: #1d1d1f;
	line-height: 1.3;
	min-width: 0;
}

.te-select {
	padding: 6px 10px;
	font-size: 13px;
	color: #1d1d1f;
	background: #f5f5f7;
	border: 1px solid #e5e5ea;
	border-radius: 8px;
	outline: none;
	cursor: pointer;
	max-width: 180px;
	min-width: 120px;
	appearance: none;
	-webkit-appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2 4l4 4 4-4' stroke='%2386868b' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 8px center;
	padding-right: 28px;
}

.te-select:focus {
	border-color: #1d1d1f;
	background-color: #ffffff;
}

.te-color {
	width: 40px;
	height: 32px;
	padding: 2px 3px;
	border: 1px solid #e5e5ea;
	border-radius: 8px;
	background: #f5f5f7;
	cursor: pointer;
	outline: none;
	flex-shrink: 0;
}

.te-color:focus {
	border-color: #1d1d1f;
}

.te-slider {
	-webkit-appearance: none;
	appearance: none;
	width: 140px;
	height: 4px;
	border-radius: 2px;
	background: #d1d1d6;
	outline: none;
	cursor: pointer;
	flex-shrink: 0;
}

.te-slider::-webkit-slider-thumb {
	-webkit-appearance: none;
	appearance: none;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: #1d1d1f;
	border: 2px solid #ffffff;
	box-shadow: 0 1px 4px rgba(0,0,0,0.18);
	cursor: pointer;
}

.te-slider::-moz-range-thumb {
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: #1d1d1f;
	border: 2px solid #ffffff;
	box-shadow: 0 1px 4px rgba(0,0,0,0.18);
	cursor: pointer;
}

.te-slider-val {
	font-size: 12px;
	color: #86868b;
	font-weight: 400;
	margin-left: 4px;
}

/* ============================================================
   Bubble Before/After Preview
   ============================================================ */

.bubble-preview-wrap {
	display: flex;
	gap: 12px;
	margin: 0 20px;
}

.bubble-preview-wrap.bubble-preview-single {
	display: block;
}

.bubble-preview-wrap.bubble-preview-single .bubble-preview {
	min-height: 160px;
}

.bubble-preview-col {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.bubble-preview-heading {
	font-size: 11px;
	font-weight: 600;
	color: #86868b;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	text-align: center;
}

.bubble-preview {
	background: #f9f9fb;
	border: 1px solid #e5e5ea;
	border-radius: 12px;
	padding: 12px 10px;
	display: flex;
	flex-direction: column;
	gap: 8px;
	min-height: 140px;
}

.bp-row {
	display: flex;
	align-items: flex-end;
	gap: 6px;
}

.bp-row-sent {
	justify-content: flex-end;
}

.bp-row-received {
	justify-content: flex-start;
}

.bp-avatar {
	width: 24px;
	height: 24px;
	min-width: 24px;
	border-radius: 50%;
	background: #d1d1d6;
	flex-shrink: 0;
}

.bp-bubble {
	max-width: 75%;
	padding: 6px 10px;
	border-radius: 14px;
	font-size: 12px;
	line-height: 1.35;
	word-break: break-word;
}

.bp-bubble-received {
	background: #E9E9EA;
	color: #000000;
}

.bp-bubble-sent {
	background: #A0A0A0;
	color: #ffffff;
}
/* ============================================================
   Meeting Style — Before/After Preview
   ============================================================ */

.meeting-style-preview {
	display: flex;
	gap: 12px;
	margin: 0 20px;
}

.meeting-style-preview.meeting-style-preview-single {
	display: block;
}

.meeting-style-preview.meeting-style-preview-single .ms-mock {
	height: 380px;
}

.ms-preview-col {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.ms-preview-heading {
	font-size: 11px;
	font-weight: 600;
	color: #86868b;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	text-align: center;
}

.ms-mock {
	position: relative;
	height: 380px;
	background: #f0f0f5;
	border: 1px solid #e5e5ea;
	border-radius: 14px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.ms-mock-topbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 10px 12px 8px;
	background: #fff;
	border-bottom: 1px solid #e8e8ed;
	flex-shrink: 0;
}

.ms-mock-topbar-left {
	display: flex;
	align-items: center;
	gap: 8px;
}

.ms-mock-avatar {
	width: 28px;
	height: 28px;
	min-width: 28px;
	border-radius: 50%;
	background: #d1d1d6;
}

.ms-mock-name-col {
	display: flex;
	flex-direction: column;
	gap: 3px;
}

.ms-mock-name {
	width: 64px;
	height: 9px;
	background: #1d1d1f;
	border-radius: 3px;
	opacity: 0.18;
}

.ms-mock-sub {
	width: 40px;
	height: 7px;
	background: #aeaeb2;
	border-radius: 3px;
	opacity: 0.4;
}

.ms-mock-topbar-btns {
	display: flex;
	gap: 6px;
}

.ms-mock-icon-btn {
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: #e5e5ea;
}

.ms-mock-messages {
	flex: 1;
	min-height: 0;
	padding: 10px 10px 0;
	display: flex;
	flex-direction: column;
	gap: 7px;
	overflow: hidden;
}

.ms-mock-card {
	background: #fff;
	border: 1px solid rgba(0,0,0,.06);
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 1px 3px rgba(0,0,0,.05);
}

.ms-mock-card-header {
	display: flex;
	align-items: center;
	gap: 7px;
	padding: 8px 10px 4px;
}

.ms-mock-card-avatar {
	width: 22px;
	height: 22px;
	min-width: 22px;
	border-radius: 50%;
	background: #d1d1d6;
	flex-shrink: 0;
}

.ms-mock-card-meta {
	flex: 1;
	display: flex;
	align-items: baseline;
	justify-content: space-between;
}

.ms-mock-card-sender {
	width: 56px;
	height: 8px;
	background: #1d1d1f;
	border-radius: 3px;
	opacity: 0.2;
}

.ms-mock-card-time {
	width: 20px;
	height: 7px;
	background: #d1d1d6;
	border-radius: 2px;
}

.ms-mock-card-body {
	padding: 2px 10px 9px 39px;
	display: flex;
	flex-direction: column;
	gap: 5px;
}

.ms-mock-line {
	height: 7px;
	background: #e5e5ea;
	border-radius: 3px;
}

.ms-mock-bottombar {
	display: flex;
	align-items: center;
	gap: 7px;
	padding: 8px 10px;
	background: rgba(255,255,255,.97);
	border-top: 1px solid #e8e8ed;
	flex-shrink: 0;
}

.ms-mock-input {
	flex: 1;
	height: 26px;
	background: #f5f5f7;
	border: 1px solid #e5e5ea;
	border-radius: 13px;
}

.ms-mock-send {
	width: 26px;
	height: 26px;
	min-width: 26px;
	border-radius: 50%;
	background: #1d1d1f;
}

/* ============================================================
   General Editor — Desktop Background, Icon, Chat Background,
   Icon Names  (grey/white palette only)
   ============================================================ */

.te-general-preview-row {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px 0;
	border-bottom: 1px solid #f2f2f7;
}

.te-general-thumb {
	width: 72px;
	height: 48px;
	border-radius: 8px;
	background: #f5f5f7;
	border: 1px solid #e5e5ea;
	background-size: cover;
	background-position: center;
	flex-shrink: 0;
}

.te-general-thumb--empty {
	background-color: #f5f5f7;
	background-image: none !important;
}

.te-upload-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 6px 12px;
	background: #f5f5f7;
	border: 1px solid #e5e5ea;
	border-radius: 8px;
	font-size: 13px;
	font-weight: 500;
	color: #1d1d1f;
	cursor: pointer;
	transition: background 0.15s;
	white-space: nowrap;
}

.te-upload-btn:hover {
	background: #e5e5ea;
}

.te-upload-btn:active {
	background: #d1d1d6;
}

.te-upload-btn input[type="file"] {
	display: none;
}

.te-url-input {
	flex: 1;
	min-width: 0;
	padding: 6px 10px;
	font-size: 13px;
	color: #1d1d1f;
	background: #f5f5f7;
	border: 1px solid #e5e5ea;
	border-radius: 8px;
	outline: none;
	transition: border-color 0.2s;
}

.te-url-input:focus {
	border-color: #1d1d1f;
	background: #fff;
}

.te-url-input::placeholder {
	color: #c7c7cc;
}

.te-btn-sm {
	padding: 5px 10px;
	font-size: 12px;
}

/* ============================================================
   Home Icon Settings (per-icon name + image)
   ============================================================ */

.te-icon-setting-item {
	padding: 12px 0;
	border-bottom: 1px solid #f2f2f7;
}

.te-icon-setting-item:last-child {
	border-bottom: none;
	padding-bottom: 0;
}

.te-icon-setting-item:first-child {
	padding-top: 4px;
}

.te-icon-setting-header {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 8px;
}

.te-icon-setting-preview {
	width: 40px;
	height: 40px;
	min-width: 40px;
	border-radius: 10px;
	background: #f5f5f7;
	border: 1px solid #e5e5ea;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
	flex-shrink: 0;
}

.te-icon-setting-preview svg {
	width: 22px;
	height: 22px;
	flex-shrink: 0;
	stroke: #3a3a3c;
	fill: none;
	stroke-width: 1.5;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.te-icon-setting-preview svg circle[fill],
.te-icon-setting-preview svg [fill]:not([fill="none"]) {
	fill: #3a3a3c;
}

.te-icon-setting-info {
	flex: 1 1 0;
	min-width: 120px;
	display: flex;
	flex-direction: column;
	gap: 4px;
	overflow: hidden;
}
.te-icon-setting-default {
	font-size: 11px;
	color: #86868b;
	font-weight: 500;
}

.te-icon-setting-name {
	width: 100%;
	min-width: 120px;
	padding: 5px 9px;
	font-size: 13px;
	color: #1d1d1f;
	background: #f9f9fb;
	border: 1px solid #e5e5ea;
	border-radius: 7px;
	outline: none;
	transition: border-color 0.2s;
	box-sizing: border-box;
}

.te-icon-setting-name:focus {
	border-color: #1d1d1f;
	background: #fff;
}

.te-icon-reset-btn {
	padding: 4px 10px !important;
	font-size: 11px !important;
	white-space: nowrap;
	flex-shrink: 0;
	width: auto !important;
	min-width: fit-content;
	max-width: 70px;
	flex: 0 0 auto !important;
}

.te-icon-setting-image-row {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-left: 50px;
	flex-wrap: nowrap;
}

.te-upload-btn-icon {
	padding: 4px 10px;
	font-size: 12px;
	flex-shrink: 0;
	width: auto;
	min-width: fit-content;
}

.te-url-input-icon {
	flex: 1;
	min-width: 80px;
	padding: 4px 8px;
	font-size: 12px;
}

/* ============================================================
   General Editor — unified Apply All button
   ============================================================ */

.te-general-apply-wrap {
	margin: 0 20px;
}

.te-general-apply-btn {
	width: 100%;
	padding: 14px 20px;
	font-size: 15px;
	font-weight: 600;
	border-radius: 12px;
	justify-content: center;
	gap: 8px;
}

.te-general-apply-btn svg {
	width: 18px;
	height: 18px;
}