/* 시스템 설정 페이지 — 단순 좌측 탭 + 우측 컨텐츠 */

/* 본문 폭 — 시스템 설정 페이지들은 전체 폭 사용 (페이지 간 전환 시 폭 변화 방지) */
div.make-container {
	max-width:100%;
	margin: 0 auto;
	padding: 0.5em;
}

.page-contents { padding: 16px; }

.sys-tabs {
	width: 160px;
	border-right: 1px solid #ddd;
	padding: 8px 0;
	display: flex;
	flex-direction: column;
}
.sys-tab {
	display: block;
	padding: 8px 14px;
	color: #333;
	text-decoration: none;
	cursor: pointer;
	border-left: 3px solid transparent;
}
.sys-tab:hover { background: #f5f9ff; }
.sys-tab.selected {
	background: #eaf3ff;
	border-left-color: #1976d2;
	font-weight: 600;
}

.sys-content {
	width: calc(100% - 170px);
	padding: 0 16px;
	box-sizing: border-box;
}

.sys-toolbar {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
	margin-bottom: 8px;
}
.sys-toolbar label { color: #555; }
.sys-toolbar .ml-auto { flex: 1; }

.sys-meta {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 8px;
	padding: 8px 10px;
	background: #fafafa;
	border: 1px solid #eee;
	border-radius: 4px;
}
.sys-meta-info { color: #888; margin-left: auto; font-size: 12px; }

.sys-search {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 6px;
}
.sys-search input { flex: 1; max-width: 360px; }
.sys-search-count { color: #777; font-size: 12px; }

.sys-keytable { table-layout: fixed; }
.sys-keytable td { vertical-align: top; word-break: break-word; }
.sys-keytable td input.val,
.sys-keytable td textarea.val {
	width: 100%;
	box-sizing: border-box;
	font-size: 13px;
	padding: 4px 6px;
	border: 1px solid #ddd;
	border-radius: 3px;
	resize: vertical;
}
.sys-keytable td.kor input.val,
.sys-keytable td.kor textarea.val {
	background: #fafafa;
}
.sys-keytable td.changed input.val,
.sys-keytable td.changed textarea.val {
	background: #fff8dc;
	border-color: #f0c040;
}
.sys-keytable td .desc {
	color: #888;
	font-size: 11px;
}
.sys-keytable th { background: #f5f5f5; }

.rtl-target input.val,
.rtl-target textarea.val { direction: rtl; text-align: right; }

.empty-msg { padding: 20px; text-align: center; color: #888; }

/* ── AI 설정 탭 ───────────────── */
.ai-config-wrap { padding: 8px 4px; }
.ai-config-title { margin: 0 0 14px; font-size: 16px; color: #333; }
.ai-config-row {
	display: flex;
	align-items: flex-start;
	gap: 16px;
	padding: 12px 0;
	border-top: 1px solid #eee;
}
.ai-config-row:first-of-type { border-top: 0; }
.ai-config-label {
	flex: 0 0 160px;
	font-weight: 600;
	color: #444;
	padding-top: 4px;
}
.ai-config-value { flex: 1; }
.ai-radio {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	margin-right: 18px;
	cursor: pointer;
}
.ai-config-hint {
	margin-top: 8px;
	padding: 8px 12px;
	background: #fafafa;
	border: 1px solid #eee;
	border-radius: 4px;
	color: #666;
	font-size: 12px;
	line-height: 1.6;
}
.ai-config-actions {
	margin-top: 18px;
	padding-top: 12px;
	border-top: 1px solid #eee;
	display: flex;
	align-items: center;
	gap: 10px;
}
.ai-config-info { color: #888; font-size: 12px; }
