﻿/* ══════════════════════════════════════════════
   TomatoAICUT Common Styles
   ══════════════════════════════════════════════ */

/* ── 색상 토큰 ── */
:root {
	--bg: #f5f5f5;
	--surface: #fff;
	--surface-2: #fafafa;
	--surface-3: #f5f5f5;
	--surface-4: #f0f0f0;
	--border: #f0f0f0;
	--border-md: #e5e5e5;
	--text: #111;
	--text-2: #333;
	--text-3: #555;
	--text-4: #666;
	--text-5: #888;
	--text-6: #aaa;
	--text-7: #bbb;
	--red: #E8281A;
	--red-hover: #cc2015;
	--red-light: #FFF5F4;
	--red-border: #FFD5D0;
	--green: #22C55E;
	--green-light: #F0FDF4;
	--nav-bg: rgba(255,255,255,.88);
	--shadow-sm: rgba(0,0,0,.06);
	--cta-text: #fff;
	--cta-text-sub: rgba(255,255,255,.8);
	--cta-text-note: rgba(255,255,255,.6);
}

@media (prefers-color-scheme: dark) {
	:root {
		--bg: #0f0f0f;
		--surface: #1a1a1a;
		--surface-2: #1e1e1e;
		--surface-3: #222;
		--surface-4: #2a2a2a;
		--border: #2a2a2a;
		--border-md: #333;
		--text: #ebebeb;
		--text-2: #cfcfcf;
		--text-3: #ababab;
		--text-4: #8a8a8a;
		--text-5: #8a8a8a;
		--text-6: #848484;
		--text-7: #7a7a7a;
		--red-light: #2a1212;
		--red-border: #5a2222;
		--green-light: #0d2318;
		--nav-bg: rgba(15,15,15,.88);
		--shadow-sm: rgba(255,255,255,.06);
	}
}

/* ── 리셋 ── */
*, *::before, *::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

html {
	scroll-behavior: smooth;
	overflow-x: hidden;
}

body {
	background: var(--bg);
	color: var(--text);
	font-family: 'Noto Sans KR', sans-serif;
	font-size: 15px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

a {
	text-decoration: none;
	color: inherit;
}

/* ── 네비게이션 ── */
.nav {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 100;
	background: var(--nav-bg);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border-bottom: 1px solid var(--border);
	transition: background .2s;
}

.nav-inner {
	max-width: 1100px;
	margin: 0 auto;
	padding: 0 24px;
	height: 60px;
	display: flex;
	align-items: center;
	gap: 32px;
}

.nav-logo {
	font-size: 18px;
	font-weight: 900;
	color: var(--text);
	letter-spacing: -.3px;
	flex-shrink: 0;
}

	.nav-logo span {
		color: var(--red);
	}

.nav-links {
	display: flex;
	align-items: center;
	gap: 4px;
	margin-left: 8px;
}

.nav-link {
	font-size: 14px;
	font-weight: 500;
	color: var(--text-4);
	padding: 6px 12px;
	border-radius: 8px;
	transition: all .15s;
	cursor: pointer;
}

	.nav-link:hover {
		color: var(--text);
		background: var(--surface-4);
	}

	.nav-link.active {
		color: var(--text);
		font-weight: 700;
	}

.nav-right {
	margin-left: auto;
	display: flex;
	align-items: center;
	gap: 8px;
}

/* ── 공통 버튼 ── */
.btn-ghost {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 13px;
	font-weight: 600;
	color: var(--text-3);
	padding: 8px 16px;
	border-radius: 8px;
	border: 1.5px solid var(--border-md);
	background: transparent;
	cursor: pointer;
	transition: all .15s;
	font-family: 'Noto Sans KR', sans-serif;
}

	.btn-ghost:hover {
		border-color: var(--text-4);
		color: var(--text);
	}

.btn-red-sm {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 13px;
	font-weight: 700;
	color: #fff;
	padding: 8px 18px;
	border-radius: 8px;
	border: none;
	background: var(--red);
	cursor: pointer;
	transition: all .2s;
	font-family: 'Noto Sans KR', sans-serif;
}

	.btn-red-sm:hover {
		background: var(--red-hover);
		transform: translateY(-1px);
		box-shadow: 0 4px 12px rgba(232,40,26,.25);
	}

.btn-red {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	font-size: 15px;
	font-weight: 700;
	color: #fff;
	background: var(--red);
	padding: 14px 28px;
	border-radius: 10px;
	border: none;
	cursor: pointer;
	transition: all .2s;
	font-family: 'Noto Sans KR', sans-serif;
}

	.btn-red:hover {
		background: var(--red-hover);
		transform: translateY(-2px);
		box-shadow: 0 8px 24px rgba(232,40,26,.3);
	}

/* ── 모바일 햄버거 ── */
.nav-hamburger {
	display: none;
	background: none;
	border: none;
	cursor: pointer;
	padding: 6px;
	color: var(--text);
	margin-left: auto;
}

@media (max-width: 680px) {
	.nav-links, .nav-right .btn-ghost, .nav-right .btn-red-sm {
		display: none;
	}

	.nav-hamburger {
		display: flex;
	}
}

/* ── 모바일 메뉴 ── */
.mobile-menu {
	position: fixed;
	top: 60px;
	left: 0;
	right: 0;
	background: var(--surface);
	border-bottom: 1px solid var(--border);
	padding: 16px 24px;
	display: flex;
	flex-direction: column;
	gap: 4px;
	z-index: 99;
	opacity: 0;
	transform: translateY(-8px);
	pointer-events: none;
	transition: opacity .2s ease, transform .2s ease;
}

	.mobile-menu.open {
		opacity: 1;
		transform: translateY(0);
		pointer-events: auto;
	}

.mobile-nav-link {
	font-size: 15px;
	font-weight: 500;
	color: var(--text-3);
	padding: 10px 12px;
	border-radius: 8px;
}

	.mobile-nav-link:hover {
		background: var(--surface-4);
		color: var(--text);
	}

.mobile-menu-btns {
	display: flex;
	gap: 8px;
	margin-top: 8px;
	padding-top: 12px;
	border-top: 1px solid var(--border);
}

	.mobile-menu-btns a {
		flex: 1;
		text-align: center;
		padding: 10px;
		border-radius: 8px;
		font-size: 14px;
		font-weight: 600;
	}

/* ── 푸터 ── */
.footer {
	background: var(--surface-2);
	border-top: 1px solid var(--border);
	padding: 40px 24px;
}

.footer-inner {
	max-width: 1100px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.footer-top {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 24px;
	flex-wrap: wrap;
}

.footer-logo {
	font-size: 16px;
	font-weight: 900;
	color: var(--text);
}

	.footer-logo span {
		color: var(--red);
	}

	.footer-logo small {
		display: block;
		font-size: 12px;
		font-weight: 400;
		color: var(--text-6);
		margin-top: 4px;
	}

.footer-links {
	display: flex;
	gap: 20px;
	flex-wrap: wrap;
}

.footer-link {
	font-size: 13px;
	color: var(--text-5);
	transition: color .15s;
}

	.footer-link:hover {
		color: var(--text);
	}

	.footer-link.bold {
		font-weight: 700;
		color: var(--text-4);
	}

.footer-copy {
	font-size: 12px;
	color: var(--text-7);
	padding-top: 4px;
}

/* ── 섹션 공통 ── */
section {
	padding: 80px 24px;
	overflow: hidden;
}

.section-inner {
	max-width: 1100px;
	margin: 0 auto;
}

.section-label {
	font-size: 11px;
	font-weight: 700;
	color: var(--red);
	letter-spacing: .1em;
	text-transform: uppercase;
	margin-bottom: 12px;
}

.section-title {
	font-size: clamp(26px,4vw,40px);
	font-weight: 900;
	letter-spacing: -.03em;
	color: var(--text);
	margin-bottom: 14px;
	line-height: 1.25;
}

.section-desc {
	font-size: 16px;
	color: var(--text-5);
	line-height: 1.75;
	max-width: 560px;
}

/* ── 콘텐츠 영역 (nav 아래 여백) ── */
.content-area {
	padding-top: 80px;
	min-height: calc(100vh - 140px);
}

/* ── 페이지 타이틀 ── */
.page-title-area {
	max-width: 1100px;
	margin: 0 auto;
	padding: 0 24px 32px;
}

.page-title {
	font-size: clamp(24px,4vw,36px);
	font-weight: 900;
	letter-spacing: -.03em;
	color: var(--text);
	line-height: 1.25;
}

.page-subtitle {
	font-size: 15px;
	color: var(--text-5);
	margin-top: 8px;
}

/* ── 카드 공통 ── */
.card {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: 16px;
	padding: 28px;
}

/* ── 스피너 ── */
.spinner {
	width: 40px;
	height: 40px;
	border: 3px solid var(--border-md);
	border-top: 3px solid var(--red);
	border-radius: 50%;
	animation: spin 1s linear infinite;
	margin: 0 auto;
}

@keyframes spin {
	0% {
		transform: rotate(0deg);
	}

	100% {
		transform: rotate(360deg);
	}
}

/* ── 폼 요소 ── */
.form-group {
	margin-bottom: 16px;
}

.form-label {
	display: block;
	font-size: 14px;
	font-weight: 600;
	color: var(--text-3);
	margin-bottom: 6px;
}

	.form-label .required {
		color: var(--red);
		margin-left: 2px;
	}

	.form-label .optional {
		color: var(--text-6);
		font-weight: 400;
		font-size: 12px;
		margin-left: 4px;
	}

.form-input {
	width: 100%;
	padding: 10px 14px;
	border: 1.5px solid var(--border-md);
	border-radius: 8px;
	font-size: 15px;
	color: var(--text);
	background: var(--surface);
	box-sizing: border-box;
	font-family: 'Noto Sans KR', sans-serif;
	transition: border-color .15s;
}

	.form-input:focus {
		border-color: var(--red);
		outline: none;
		box-shadow: 0 0 0 3px rgba(232,40,26,.1);
	}

	.form-input::placeholder {
		color: var(--text-6);
	}

textarea.form-input {
	resize: vertical;
	min-height: 80px;
}

.form-hint {
	font-size: 12px;
	color: var(--text-6);
	margin-top: 4px;
}

/* ── 로딩 오버레이 ── */
.loading-overlay {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0,0,0,.6);
	z-index: 9999;
}

.loading-box {
	position: absolute;
	top: 40%;
	left: 50%;
	transform: translate(-50%,-50%);
	background: var(--surface);
	padding: 40px 60px;
	border-radius: 16px;
	text-align: center;
	box-shadow: 0 4px 20px rgba(0,0,0,.3);
}

.loading-title {
	font-size: 20px;
	font-weight: 700;
	color: var(--text);
	margin-bottom: 12px;
}

.loading-sub {
	font-size: 14px;
	color: var(--text-5);
	margin-bottom: 20px;
}

/* ── 모션 감소 설정 존중 ── */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		animation: none !important;
		transition: none !important;
	}
}

/* ── 푸터: AI 고지 + 사업자 정보 ── */
.footer-ai {
	display: flex;
	gap: 8px;
	align-items: flex-start;
	font-size: 12px;
	color: var(--text-5);
	line-height: 1.7;
	padding-top: 16px;
	border-top: 1px solid var(--border);
}

	.footer-ai svg {
		flex: none;
		width: 14px;
		height: 14px;
		margin-top: 3px;
		color: var(--red);
	}

	.footer-ai b {
		color: var(--text-4);
		font-weight: 600;
	}

.footer-biz {
	padding-top: 16px;
	border-top: 1px solid var(--border);
	display: flex;
	flex-direction: column;
	gap: 5px;
}

.footer-biz-row {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 18px;
	font-size: 12px;
	color: var(--text-6);
	line-height: 1.75;
}

	.footer-biz-row span {
		white-space: nowrap;
	}

	.footer-biz-row b {
		font-weight: 600;
		color: var(--text-5);
	}

.footer-biz a {
	color: inherit;
	text-decoration: none;
}

	.footer-biz a:hover {
		color: var(--text-4);
	}

/* 개인정보 국외 이전 안내 (개인정보보호법 제28조의8 제1항)
   계약 이행을 위한 처리위탁이라 별도 동의 대신 '안내'로 제공한다.
   거부할 수 없는 사항을 동의 형식으로 받으면 형식적 동의가 된다. */
.vr-consent {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	background: var(--surface-2);
	border: 1px solid var(--border);
	border-radius: 11px;
	padding: 13px 15px;
	margin: 14px 0;
	text-align: left;
}

	.vr-consent svg {
		flex: none;
		width: 15px;
		height: 15px;
		margin-top: 2px;
		color: var(--text-5);
	}

	.vr-consent span {
		font-size: 12px;
		color: var(--text-4);
		line-height: 1.65;
	}

	.vr-consent b {
		color: var(--text-2);
		font-weight: 700;
	}

	.vr-consent a {
		color: var(--red);
		text-decoration: underline;
	}

/* 마이페이지 · 관리자 · 자막 편집 세 곳에서 같이 쓴다.
   그래서 화면별 css 가 아니라 여기 둔다. */
/* ══════════════════════════════════════════════
   영상 브랜딩 — 로고 · 영역별 색상
   ══════════════════════════════════════════════ */
.bd-field { text-align: left; margin-bottom: 18px }
.bd-label { font-size: 12px; font-weight: 700; color: var(--text-3); margin-bottom: 8px }
.bd-hint { font-size: 11px; color: var(--text-6); margin-top: 6px; line-height: 1.6 }

.bd-logo-slot {
	border: 2px dashed var(--border-md); border-radius: 12px; padding: 16px 8px;
	text-align: center; cursor: pointer; transition: border-color .15s
}
	.bd-logo-slot:hover { border-color: var(--red) }
/* 로고 박스 규격 — 1920x1080 기준 약 210x136px (비율 1.54:1)
   object-fit:contain 이라 어떤 비율을 올려도 늘어나지 않고 박스 안에 맞춰진다 */
.bd-logo-slot .bd-logo-box {
	width: 126px; height: 82px; margin: 0 auto 8px; padding: 8px; box-sizing: border-box;
	display: flex; align-items: center; justify-content: center
}
	.bd-logo-slot img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; display: block }
.bd-slot-cap { font-size: 11px; color: #fff; opacity: .75 }

/* 영역별 색상 — 제목 / 로고 배경 / 자막 바 / 바이라인 */
.bd-carea { border: 1px solid var(--border); border-radius: 12px; padding: 12px 14px; margin-bottom: 9px }
.bd-carea-name { font-size: 12px; font-weight: 700; color: var(--text-3); margin-bottom: 9px }
.bd-cgrid { display: flex; gap: 10px }
.bd-ccell { flex: 1; min-width: 0 }
.bd-ccap { font-size: 10.5px; color: var(--text-6); margin-bottom: 5px }
.bd-crow { display: flex; gap: 6px; align-items: center }
	.bd-crow input[type=color] {
		width: 34px; height: 33px; padding: 0; flex: none; cursor: pointer;
		border: 1px solid var(--border-md); border-radius: 7px; background: none
	}
	.bd-crow input[type=text] {
		flex: 1; min-width: 0; box-sizing: border-box; padding: 8px;
		border: 1px solid var(--border-md); border-radius: 7px;
		background: var(--surface-2); color: var(--text-2);
		font-family: ui-monospace, Menlo, monospace; font-size: 11.5px; text-transform: uppercase
	}
	.bd-crow input:disabled { opacity: .5; cursor: not-allowed }
.bd-cwarn { margin-top: 9px; font-size: 10.5px; line-height: 1.5; color: var(--red) }
.bd-cok { font-size: 10.5px; color: var(--text-6); margin-top: 9px }

/* ══════════════════════════════════════════════
   썸네일 초안 편집기 (Js/thumb.js) — 마이페이지 · 관리자 공용
   ══════════════════════════════════════════════ */
#tbEditor { text-align: left }     /* 마이페이지 오버레이(.mp-box)가 가운데 정렬이라 되돌린다 */
.tb-row { display: flex; align-items: center; gap: 8px; margin-top: 7px }
.tb-lbl { font-size: 12px; color: var(--text-6); min-width: 80px; flex: none }
.tb-val { font-size: 12px; min-width: 44px; text-align: right; flex: none; font-variant-numeric: tabular-nums }
.tb-row input[type=range] { flex: 1; min-width: 0; margin: 0 }
.tb-row select {
	padding: 8px 10px; border: 1px solid var(--border-md); border-radius: 7px;
	background: var(--surface-2); color: var(--text-2); font-family: inherit; font-size: 12.5px
}
.tb-tip {
	flex: none; width: 15px; height: 15px; border-radius: 50%; border: 1px solid var(--border-md);
	font-size: 10px; line-height: 13px; text-align: center; color: var(--text-6); cursor: help
}
.tb-use { float: right; font-weight: 400; font-size: 12px; display: inline-flex; align-items: center; gap: 5px; cursor: pointer }
	.tb-use input { margin: 0 }
.tb-cols { display: flex; gap: 8px }
	.tb-cols .tb-row { flex: 1; min-width: 0; margin-top: 0 }
	.tb-cols .tb-lbl { min-width: 0 }

/* 진하기 프리셋 */
.tb-chips { display: flex; gap: 5px; flex: 1 }
.tb-chip {
	flex: 1; padding: 6px 4px; border: 1px solid var(--border-md); border-radius: 7px;
	background: var(--surface-2); color: var(--text-4); font-family: inherit; font-size: 12px; cursor: pointer
}
	.tb-chip.on { border-color: var(--red); color: var(--red); font-weight: 700; background: var(--red-light) }
	.tb-chip:disabled { opacity: .5; cursor: not-allowed }

/* 배치 미리보기 — 서버를 부르지 않고 그라데이션 · 문구 · 로고 자리만 바로 보여준다 */
.tb-layout {
	position: relative; aspect-ratio: 16/9; border-radius: 10px; overflow: hidden; margin-bottom: 10px;
	background: repeating-linear-gradient(135deg, #9aa0a8 0 14px, #8b9199 14px 24px)
}
.tb-lay-grad { position: absolute; inset: 0 }
.tb-lay-logo {
	position: absolute; display: none; align-items: center; justify-content: center;
	border: 1px dashed rgba(255,255,255,.7); border-radius: 3px; box-sizing: border-box;
	color: rgba(255,255,255,.85); font-size: 9px
}
	.tb-lay-logo img { display: none; width: 100%; height: 100%; object-fit: contain }
	.tb-lay-logo.real { border: none }
	.tb-lay-logo.real img { display: block }
	.tb-lay-logo.real span { display: none }
.tb-lay-lines i { position: absolute; display: block; border-radius: 2px; opacity: .92 }
.tb-lay-cap { position: absolute; left: 8px; top: 6px; font-size: 10px; color: rgba(255,255,255,.8) }
.tb-link {
	position: absolute; right: 8px; top: 5px; padding: 2px 7px; border: none; border-radius: 5px;
	background: rgba(0,0,0,.35); color: #fff; font-family: inherit; font-size: 10.5px; cursor: pointer
}
	.tb-link:hover { background: rgba(0,0,0,.55) }
	.tb-link:disabled { display: none }

/* ══════════════════════════════════════════════
   앞·뒤 안내 영상 편집기 (Js/bumper.js) — 마이페이지 · 관리자 공용
   ══════════════════════════════════════════════ */
#bpEditor { text-align: left }
.bp-slot { border: 1px solid var(--border); border-radius: 12px; padding: 10px 12px 8px; margin-bottom: 9px }
	.bp-slot.off { opacity: .6 }
.bp-head { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--text-3); margin-bottom: 8px }
	.bp-head .tb-use { margin-left: auto; float: none }
.bp-status { font-size: 11px; color: var(--text-6) }
.bp-box {
	aspect-ratio: 16/9; border-radius: 8px; overflow: hidden; background: #222;
	display: flex; align-items: center; justify-content: center
}
	.bp-box.clickable { cursor: pointer }
	.bp-box.empty { aspect-ratio: auto; padding: 22px 0 }   /* 빈 칸까지 16:9 로 크게 비워 둘 이유가 없다 */
	.bp-box video, .bp-box img { width: 100%; height: 100%; object-fit: contain; display: block; background: #000 }
.bp-empty { font-size: 12px; color: #bbb; border: 1px dashed #666; border-radius: 8px; padding: 10px 16px }
.bp-row { display: flex; align-items: center; gap: 6px; margin-top: 8px }
	.bp-row .tb-chip { flex: none; padding: 5px 12px }
.bp-sec { margin-left: auto; font-size: 12px; color: var(--text-4); display: inline-flex; align-items: center; gap: 4px }
	.bp-sec input {
		width: 52px; padding: 5px 6px; border: 1px solid var(--border-md); border-radius: 6px;
		background: var(--surface-2); color: var(--text-2); font-size: 12px; text-align: center
	}

/* 로고 해상도 안내 */
.bd-logo-spec { display: none; margin-top: 8px; padding: 8px 11px; border-radius: 8px; font-size: 10.5px; line-height: 1.55 }
	.bd-logo-spec.ok { background: var(--green-light); color: var(--green) }
	.bd-logo-spec.warn { background: var(--red-light); color: var(--red) }

/* 미리보기 — 실제 합성 화면(1920x1080) 배치를 비율로 옮긴 것 */
.bd-preview {
	position: relative; border-radius: 12px; overflow: hidden; aspect-ratio: 16/9; margin-bottom: 6px;
	background: linear-gradient(160deg,#5b93c4,#2f4a63 55%,#1d2a36)
}
.bd-pv-title {
	position: absolute; left: 3.4%; top: 3.4%; height: 8.5%; box-sizing: border-box;
	display: flex; align-items: center; padding: 0 2.4%;
	font-size: 9.5px; font-weight: 600; white-space: nowrap; max-width: 62%; overflow: hidden
}
/* 로고 박스는 좌하단 고정 — 자막이든 바이라인이든 항상 같은 자리 */
.bd-pv-logobox {
	position: absolute; left: 4%; bottom: 4.5%; width: 11%; height: 14.5%;
	display: flex; align-items: center; justify-content: center; padding: 0 .8%; overflow: hidden
}
	.bd-pv-logobox img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; display: block }
.bd-pv-logotxt { font-size: 8px; font-weight: 800; line-height: 1.15; text-align: center; letter-spacing: -.3px }
/* 자막 바 — 로고 오른쪽부터 우측 여백까지 */
.bd-pv-sub {
	position: absolute; left: 16%; right: 4%; bottom: 4.5%; height: 14.5%; box-sizing: border-box;
	display: flex; align-items: center; padding: 0 2%;
	font-size: 15px; font-weight: 800; letter-spacing: -.6px;
	white-space: nowrap; overflow: hidden; text-overflow: ellipsis
}
/* 바이라인 — 우하단, 자막 자리를 대체 */
.bd-pv-byline {
	position: absolute; right: 0; bottom: 4.5%; width: 52%; box-sizing: border-box;
	display: flex; flex-direction: column; justify-content: center; gap: 3px; padding: 1.4% 2.5%
}
.bd-pv-by-row { display: flex; gap: 14px; font-size: 9.5px; font-weight: 700; letter-spacing: -.2px; line-height: 1.2 }
.bd-pv-by-label { flex: none; width: 50px; text-align: right; opacity: .88 }
.bd-pv-by-val { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap }

/* 미리보기 전환 탭 */
.bd-tabs { display: flex; gap: 6px; margin-bottom: 8px }
	.bd-tabs button {
		flex: 1; padding: 7px; cursor: pointer; font-family: inherit;
		border: 1.5px solid var(--border-md); border-radius: 9px;
		background: var(--surface-2); color: var(--text-5);
		font-size: 11.5px; font-weight: 700; transition: all .15s
	}
	.bd-tabs button.on { border-color: var(--red); color: var(--red); background: var(--red-light) }

/* 기업 소속원 읽기 전용 안내 */
.bd-ro {
	background: var(--surface-3); border-radius: 10px; padding: 12px 14px; margin-bottom: 18px;
	font-size: 11.5px; color: var(--text-5); line-height: 1.6; text-align: left
}
	.bd-ro b { color: var(--text-3) }

.bd-actions { display: flex; gap: 8px; margin-top: 4px }
	.bd-actions button { flex: 1 }
