@charset "UTF-8";
/* ============================================================
 * theme.css — 고객 FMS 모던 클린 테마 (화이트 기반)
 * 기존 Bootstrap / client_common.css 위에 마지막으로 로드되어
 * 색상·간격·컴포넌트 스타일만 덮어쓴다. (기능/마크업 동작 무영향)
 * ============================================================ */

@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.min.css');

/* ---------- 1. 디자인 토큰 ---------- */
:root {
	--fms-bg:            #f4f5f7;
	--fms-surface:       #ffffff;
	--fms-border:        #e6e8eb;
	--fms-border-strong: #d4d7dc;
	--fms-text:          #1f2430;
	--fms-text-sub:      #5b6270;
	--fms-text-muted:    #8a909c;
	--fms-accent:        #18a058;
	--fms-accent-hover:  #138a4a;
	--fms-accent-soft:   #eaf7f0;
	--fms-danger:        #e0483d;
	--fms-radius:        10px;
	--fms-radius-sm:     6px;
	--fms-shadow-sm:     0 1px 2px rgba(20,26,38,.06), 0 1px 3px rgba(20,26,38,.05);
	--fms-shadow-md:     0 10px 30px rgba(20,26,38,.12);
	--fms-font:          'Pretendard','Noto Sans KR',-apple-system,BlinkMacSystemFont,'Malgun Gothic',sans-serif;

	/* --- 프로토타입(Claude Design) 디자인 토큰 — 기존 --fms-* 와 공존 --- */
	--bg-warm:       #fafaf7;
	--surface:       #ffffff;
	--surface-2:     #f4f3ee;
	--surface-3:     #ebeae3;
	--border:        #e7e5dd;
	--border-strong: #d6d3c8;
	--ink-900:       #1a1916;
	--ink-700:       #3d3b35;
	--ink-500:       #6b6860;
	--ink-400:       #8e8a80;
	--ink-300:       #b7b3a8;
	--accent:        #d97757;
	--accent-ink:    #b35a3d;
	--accent-soft:   #fbeee7;
	--accent-soft-2: #f6dccd;
	--ok:            #2f7d5b;
	--ok-soft:       #e6f0ea;
	--warn:          #c08a1e;
	--warn-soft:     #fbf2dc;
	--danger:        #c14a3a;
	--danger-soft:   #f7e3df;
	--kakao:         #fee500;
	--r-sm:          8px;
	--r-md:          12px;
	--r-lg:          16px;
	--r-xl:          24px;
	--shadow-1:      0 1px 2px rgba(26,25,22,.04), 0 1px 1px rgba(26,25,22,.03);
	--shadow-2:      0 8px 24px -10px rgba(26,25,22,.12), 0 2px 6px rgba(26,25,22,.04);
	--shadow-3:      0 24px 56px -20px rgba(26,25,22,.18), 0 6px 16px rgba(26,25,22,.06);
}

/* ---------- 2. 기본 ---------- */
body {
	font-family: var(--fms-font) !important;
	background: var(--fms-bg);
	color: var(--fms-text);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	letter-spacing: -0.01em;
}
a { color: var(--fms-accent); }
a:hover { color: var(--fms-accent-hover); }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb { background: #d3d6db; border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: #bcc0c7; }

.fms-shadow { box-shadow: var(--fms-shadow-sm); }

/* ============================================================
 * 3. 앱 셸 — 헤더 + 사이드바 레이아웃 (프로토타입 디자인)
 * ============================================================ */
.app-shell {
	min-height: 100vh;
	display: grid;
	grid-template-columns: 264px 1fr;
	grid-template-rows: 64px 1fr;
	grid-template-areas:
		"header header"
		"sidebar main";
	background: var(--bg-warm);
}

/* ---------- 헤더 ---------- */
.app-header {
	grid-area: header;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 0 22px;
	background: var(--surface);
	border-bottom: 1px solid var(--border);
	position: sticky;
	top: 0;
	z-index: 40;
}
.app-header__left { display: flex; align-items: center; gap: 12px; min-width: 0; }
.app-header__brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.app-header__logo { height: 18px; display: block; }
.app-header__sub {
	font-size: 12px;
	font-weight: 600;
	color: var(--ink-400);
	padding-left: 12px;
	border-left: 1px solid var(--border);
}
.app-header__right { display: flex; align-items: center; gap: 6px; }

.app-header .icon-btn {
	width: 38px; height: 38px;
	border-radius: 10px;
	border: 0;
	background: transparent;
	color: var(--ink-500);
	display: grid; place-items: center;
	font-size: 17px;
	cursor: pointer;
	transition: background .15s, color .15s;
}
.app-header .icon-btn:hover { background: var(--surface-2); color: var(--ink-900); }
.mobile-menu-toggle { display: none; }

/* 사용자 칩 + 드롭다운 */
.app-header .dropdown-host { position: relative; }
.app-header .user-chip {
	display: flex; align-items: center; gap: 10px;
	padding: 4px 12px 4px 4px;
	border-radius: 999px;
	background: var(--surface-2);
	border: 1px solid transparent;
	cursor: pointer;
	transition: background .15s, border-color .15s;
}
.app-header .user-chip:hover { background: var(--surface); border-color: var(--border); }
.app-header .avatar {
	width: 32px; height: 32px;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--accent) 0%, var(--accent-ink) 100%);
	color: #fff;
	display: grid; place-items: center;
	font-size: 14px;
	flex-shrink: 0;
}
.user-chip__meta { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.25; min-width: 0; }
.user-chip__name {
	font-size: 13px; font-weight: 700; color: var(--ink-900);
	max-width: 170px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.user-chip__role { font-size: 11px; color: var(--ink-500); }
.user-chip__chev { color: var(--ink-400); font-size: 12px; }

.app-header .user-menu {
	display: none;
	position: absolute;
	top: calc(100% + 8px);
	right: 0;
	min-width: 224px;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--r-md);
	padding: 8px;
	box-shadow: var(--shadow-3);
	z-index: 100;
}
.app-header .dropdown-host.is-open .user-menu { display: block; }
.user-menu__head { padding: 10px 12px; border-bottom: 1px solid var(--border); margin-bottom: 6px; }
.user-menu__name { font-size: 14px; font-weight: 700; color: var(--ink-900); }
.user-menu__sub { font-size: 12px; color: var(--ink-500); margin-top: 2px; }
.user-menu__item {
	display: flex; align-items: center; gap: 10px;
	padding: 10px 12px;
	border-radius: 8px;
	font-size: 14px;
	color: var(--ink-700) !important;
	text-decoration: none !important;
}
.user-menu__item:hover { background: var(--surface-2); color: var(--ink-900) !important; }
.user-menu__item--danger { color: var(--danger) !important; }
.user-menu__item--danger:hover { background: var(--danger-soft); color: var(--danger) !important; }
.user-menu__divider { height: 1px; background: var(--border); margin: 6px 0; }

/* ---------- 사이드바 (데스크톱 고정 / 모바일 드로어) ---------- */
.app-sidebar {
	grid-area: sidebar;
	background: var(--surface);
	border-right: 1px solid var(--border);
	padding: 16px 14px;
	display: flex;
	flex-direction: column;
	gap: 4px;
	position: sticky;
	top: 64px;
	height: calc(100vh - 64px);
	align-self: start;
	overflow-y: auto;
}
.app-sidebar__head { display: none; }
.app-sidebar .nav-section { display: flex; flex-direction: column; gap: 2px; }
.app-sidebar .nav-section + .nav-section { margin-top: 14px; }
.app-sidebar .nav-section__label {
	font-size: 11px; font-weight: 700;
	letter-spacing: .08em; text-transform: uppercase;
	color: var(--ink-400);
	padding: 0 12px 6px;
}
.app-sidebar .nav-item {
	display: flex; align-items: center; gap: 12px;
	width: 100%;
	padding: 10px 12px;
	border: 0;
	background: transparent;
	border-radius: 10px;
	font-family: inherit;
	font-size: 14px; font-weight: 500;
	color: var(--ink-700) !important;
	text-align: left;
	text-decoration: none !important;
	cursor: pointer;
	transition: background .12s, color .12s;
}
.app-sidebar .nav-item:hover { background: var(--surface-2); color: var(--ink-900) !important; }
.app-sidebar .nav-item--active { background: var(--ink-900); color: #fff !important; }
.app-sidebar .nav-item--active:hover { background: var(--ink-900); color: #fff !important; }
.app-sidebar .nav-item__icon {
	width: 20px; flex-shrink: 0;
	display: grid; place-items: center;
	font-size: 15px;
}
.app-sidebar .nav-item__text { flex: 1; min-width: 0; }
.app-sidebar .nav-item__chev {
	margin-left: auto;
	color: var(--ink-400);
	font-size: 13px;
	transition: transform .18s ease;
}
.app-sidebar .nav-item--active .nav-item__chev { color: rgba(255,255,255,.7); }
.app-sidebar .nav-group.is-open .nav-item__chev { transform: rotate(90deg); }

.app-sidebar .nav-sub { display: none; }
.app-sidebar .nav-group.is-open > .nav-sub { display: block; }
.app-sidebar .nav-sub__inner {
	margin: 2px 0 4px 17px;
	padding-left: 13px;
	border-left: 1.5px solid var(--border);
	display: flex; flex-direction: column; gap: 1px;
}
.app-sidebar .nav-sub__group {
	font-size: 11px; font-weight: 700;
	letter-spacing: .03em;
	color: var(--accent-ink);
	padding: 8px 10px 4px;
}
.app-sidebar .nav-sub__item {
	display: block;
	padding: 7px 10px;
	border-radius: 7px;
	font-size: 13px;
	color: var(--ink-500) !important;
	text-decoration: none !important;
	transition: background .12s, color .12s;
}
.app-sidebar .nav-sub__item:hover { background: var(--surface-2); color: var(--ink-900) !important; }
.app-sidebar .nav-sub__item--active {
	background: var(--accent-soft);
	color: var(--accent-ink) !important;
	font-weight: 600;
}

/* 사이드바 프로모 카드 */
.app-sidebar .sidebar-promo {
	margin-top: auto;
	background: linear-gradient(135deg, var(--accent-soft) 0%, var(--accent-soft-2) 100%);
	border-radius: var(--r-md);
	padding: 14px;
}
.sidebar-promo__title { font-size: 13px; font-weight: 700; color: var(--accent-ink); margin-bottom: 4px; }
.sidebar-promo__body { font-size: 12px; color: var(--ink-700); line-height: 1.5; margin-bottom: 10px; }
.sidebar-promo__btn {
	display: inline-flex; align-items: center; gap: 6px;
	padding: 7px 14px;
	background: var(--ink-900);
	color: #fff !important;
	border-radius: 8px;
	font-size: 12px; font-weight: 600;
	text-decoration: none !important;
}
.sidebar-promo__btn:hover { background: var(--accent-ink); color: #fff !important; }
.app-sidebar__foot { display: none; }

/* ---------- 메인 영역 ---------- */
.app-main {
	grid-area: main;
	padding: 26px 30px 48px;
	min-width: 0;
}

/* ---------- 모바일 드로어 오버레이 ---------- */
.sidebar-overlay {
	display: none;
	position: fixed;
	inset: 0;
	background: rgba(26,25,22,.44);
	z-index: 200;
}
.sidebar-overlay.is-open { display: block; }
body.sidebar-locked { overflow: hidden; }

/* ---------- 반응형: 1024px 이하 → 사이드바를 드로어로 ---------- */
@media (max-width: 1024px) {
	.app-shell {
		grid-template-columns: 1fr;
		grid-template-areas:
			"header"
			"main";
	}
	.mobile-menu-toggle { display: grid; }
	.app-sidebar {
		position: fixed;
		top: 0; left: 0; bottom: 0;
		width: min(320px, 86vw);
		height: 100%;
		z-index: 201;
		transform: translateX(-100%);
		transition: transform .25s cubic-bezier(.2,.7,.3,1);
		box-shadow: 4px 0 32px rgba(26,25,22,.18);
	}
	.app-sidebar.is-open { transform: translateX(0); }
	.app-sidebar__head {
		display: flex;
		align-items: center;
		justify-content: space-between;
		padding: 4px 4px 12px;
		margin-bottom: 6px;
		border-bottom: 1px solid var(--border);
	}
	.app-sidebar__title { font-size: 13px; font-weight: 700; color: var(--ink-900); }
	.app-sidebar__close {
		width: 34px; height: 34px;
		border: 0; background: var(--surface-2);
		border-radius: 9px;
		color: var(--ink-700);
		font-size: 16px;
		cursor: pointer;
	}
	.app-sidebar__close:hover { background: var(--surface-3); }
	.app-sidebar__foot {
		display: block;
		padding-top: 12px;
		margin-top: 10px;
		border-top: 1px solid var(--border);
	}
	.mm-logout {
		display: flex; align-items: center; justify-content: center; gap: 8px;
		width: 100%;
		padding: 11px;
		background: var(--surface-2);
		color: var(--ink-700) !important;
		border-radius: 10px;
		font-size: 14px; font-weight: 600;
		text-decoration: none !important;
	}
	.mm-logout:hover { background: var(--danger-soft); color: var(--danger) !important; }
}
@media (max-width: 640px) {
	.app-header { padding: 0 14px; }
	.app-header__sub { display: none; }
	.app-main { padding: 18px 14px 36px; }
	.user-chip__meta, .user-chip__chev { display: none; }
	.app-header .user-chip { padding: 4px; }
}

/* ---------- 7. 로그인 화면 (프로토타입 디자인 — 모두 .login-page 로 스코프) ---------- */
.login-page {
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 32px 16px;
	background:
		radial-gradient(900px 600px at 82% -12%, var(--accent-soft) 0%, transparent 56%),
		radial-gradient(760px 520px at 0% 112%, #f1efe7 0%, transparent 60%),
		var(--bg-warm);
}
.login-main { width: 100%; display: flex; flex-direction: column; align-items: center; }

.login-card {
	width: 100%;
	max-width: 440px;
	background: var(--surface);w
	border: 1px solid var(--border);
	border-radius: var(--r-xl);
	box-shadow: var(--shadow-3);
	padding: 40px 36px 32px;
}
.login-card__header { margin-bottom: 24px; }
.login-card__brand-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 14px;
}
.login-card__logo { height: 30px; display: block; }
.login-card__brand-tag {
	font-size: 12px;
	font-weight: 600;
	color: var(--accent-ink);
	background: var(--accent-soft);
	padding: 6px 12px;
	border-radius: 999px;
	white-space: nowrap;
}
.login-card__subtitle { font-size: 14px; color: var(--ink-500); margin: 0; }

/* 폼 */
.login-page .field-group { display: grid; gap: 14px; }
.login-page .field { display: grid; gap: 6px; }
.login-page .field__label { font-size: 13px; font-weight: 600; color: var(--ink-700); }

.login-page .input-wrap {
	display: flex;
	align-items: center;
	background: var(--surface);
	border: 1px solid var(--border-strong);
	border-radius: var(--r-md);
	transition: border-color .15s, box-shadow .15s;
}
.login-page .input-wrap:focus-within {
	border-color: var(--ink-900);
	box-shadow: 0 0 0 4px rgba(217,119,87,.14);
}
.login-page .input-wrap__icon {
	display: grid;
	place-items: center;
	width: 44px;
	height: 48px;
	flex-shrink: 0;
	color: var(--ink-400);
	font-size: 15px;
}
.login-page .input-wrap input {
	flex: 1;
	min-width: 0;
	border: 0;
	outline: 0;
	background: transparent;
	height: 48px;
	padding: 0 12px 0 0;
	font-size: 15px;
	color: var(--ink-900);
}
.login-page .input-wrap input::placeholder { color: var(--ink-400); }
.login-page .input-wrap__action {
	flex-shrink: 0;
	display: grid;
	place-items: center;
	height: 48px;
	padding: 0 14px;
	color: var(--ink-400);
	font-size: 16px;
	cursor: pointer;
}
.login-page .input-wrap__action:hover { color: var(--ink-700); }

.login-page .change-by-unique-no > * + * { margin-top: 12px; }

/* 버튼 — .login-page 안에서만 (전역 Bootstrap .btn 영향 차단) */
.login-page .btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	/* width: 100%; */
	height: 50px;
	padding: 0 18px;
	border: 0;
	border-radius: var(--r-md);
	font-size: 15px;
	font-weight: 700;
	letter-spacing: -.01em;
	text-decoration: none;
	cursor: pointer;
	transition: background .15s, transform .08s;
}
.login-page .btn:active { transform: translateY(1px); }
.login-page .btn--primary { background: var(--ink-900); color: #fff; }
.login-page .btn--primary:hover { background: #2a2823; color: #fff; }
.login-page .btn--accent { background: var(--accent); color: #fff; }
.login-page .btn--accent:hover { background: var(--accent-ink); color: #fff; }
.login-page .btn--kakao { background: var(--kakao); color: #181600; }
.login-page .btn--kakao:hover { background: #f5dc00; color: #181600; }
.login-page .btn--ghost {
	background: transparent;
	color: var(--ink-700);
	border: 1px solid var(--border-strong);
}
.login-page .btn--ghost:hover { background: var(--surface-2); color: var(--ink-900); }

.login-page .find-links {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
	font-size: 13px;
}
.login-page .find-links a { color: var(--ink-500); font-weight: 500; text-decoration: none; }
.login-page .find-links a:hover { color: var(--accent-ink); }
.login-page .find-links span { color: var(--ink-300); }

.login-page .divider {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 22px 0 16px;
	font-size: 12px;
	color: var(--ink-400);
}
.login-page .divider::before,
.login-page .divider::after {
	content: "";
	flex: 1;
	height: 1px;
	background: var(--border);
}

.login-page .kakao-row { display: grid; gap: 10px; }
.login-page .setup-link {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	padding: 12px 14px;
	border: 1px dashed var(--border-strong);
	border-radius: var(--r-md);
	font-size: 13px;
	color: var(--ink-700);
	text-decoration: none;
}
.login-page .setup-link:hover { background: var(--surface-2); border-color: var(--ink-400); }

/* 아이디/비밀번호 찾기 — 세그먼트 라디오 (고객 구분) */
.login-page .seg-group {
	position: relative;
	display: flex;
	gap: 2px;
	padding: 4px;
	background: var(--surface-2);
	border-radius: var(--r-md);
}
.login-page .seg-group input {
	position: absolute;
	opacity: 0;
	width: 1px;
	height: 1px;
	pointer-events: none;
}
.login-page .seg-group label {
	flex: 1;
	margin: 0;
	padding: 9px 6px;
	text-align: center;
	font-size: 13px;
	font-weight: 600;
	color: var(--ink-500);
	border-radius: 8px;
	cursor: pointer;
	transition: background .15s, color .15s;
}
.login-page .seg-group label:hover { color: var(--ink-900); }
.login-page .seg-group input:checked + label {
	background: var(--surface);
	color: var(--ink-900);
	box-shadow: var(--shadow-1);
}

/* 아이디/비밀번호 찾기 — 결과 박스 */
.login-page .result-box {
	display: grid;
	gap: 6px;
	justify-items: center;
	text-align: center;
	padding: 20px 16px;
	background: var(--accent-soft);
	border: 1px solid var(--accent-soft-2);
	border-radius: var(--r-md);
	font-size: 13px;
	color: var(--ink-700);
}
.login-page .result-box__icon {
	width: 40px;
	height: 40px;
	display: grid;
	place-items: center;
	margin-bottom: 4px;
	border-radius: 50%;
	background: var(--accent);
	color: #fff;
	font-size: 17px;
}
.login-page .result-box__main { font-size: 14px; color: var(--ink-900); }
.login-page .result-box__value { font-weight: 800; color: var(--accent-ink); font-size: 16px; }
.login-page .result-box__sub { font-size: 12px; color: var(--ink-500); }
.login-page .result-box .btn { margin-top: 10px; }

.login-note {
	margin: 0;
	padding: 10px 12px;
	font-size: 12.5px;
	line-height: 1.6;
	color: var(--ink-500);
	background: var(--surface-2);
	border-radius: var(--r-sm);
}
.login-note .highlight { color: var(--danger) !important; }

.login-apk {
	display: grid;
	gap: 10px;
	margin-top: 16px;
	padding-top: 16px;
	border-top: 1px solid var(--border);
}
.browser-info {
	max-width: 440px;
	margin: 16px auto 0;
	font-size: 12.5px;
	line-height: 1.6;
	color: var(--ink-400);
	text-align: center;
}

@media (max-width: 520px) {
	.login-page { padding: 22px 14px; align-items: flex-start; }
	.login-card { padding: 26px 18px 22px; border-radius: 18px; }
	.login-card__logo { height: 18px; }
	.login-card__brand-tag { font-size: 11px; padding: 5px 10px; }
}
.login-page .field-group,
.login-page .field,
.login-page .input-wrap {
    min-width: 0;
    width: 100%; 
    box-sizing: border-box;
}

/* 버튼에도 적용 */
.login-page .btn {
    width: 100%;
    box-sizing: border-box;
}
/* ---------- 8. 버튼 ---------- */
.btn { font-size: .9rem; border-radius: var(--fms-radius-sm); font-weight: 600; }
.btn-success,
.search-btn {
	background-color: var(--fms-accent) !important;
	border-color: var(--fms-accent) !important;
	color: #fff !important;
}
.btn-success:hover,
.search-btn:hover {
	background-color: var(--fms-accent-hover) !important;
	border-color: var(--fms-accent-hover) !important;
}
.btn-outline-success {
	color: var(--fms-accent) !important;
	border-color: var(--fms-accent) !important;
}
.btn-outline-success:hover {
	background-color: var(--fms-accent) !important;
	color: #fff !important;
}
.color-success { color: var(--fms-accent) !important; }

/* ---------- 9. 카드 · 표 (가벼운 정돈) ---------- */
.card {
	border: 1px solid var(--fms-border);
	border-radius: var(--fms-radius);
}
.card-header {
	background-color: #f2f4f6 !important;
	border-bottom: 1px solid var(--fms-border);
	color: var(--fms-text);
}
.bg-main-title   { background-color: #eef0f3 !important; }
.bg-medium-title { background-color: #f2f4f6 !important; }
.bg-sub-title    { background-color: #f8f9fa !important; }
.shadow_cus,
.shadow-cus { box-shadow: var(--fms-shadow-sm) !important; }

.table th {
	background-color: #f6f7f9;
	color: var(--fms-text);
	border-color: var(--fms-border) !important;
}
.table td { border-color: var(--fms-border) !important; }
.client-list-body tr:hover td { background-color: #fafbfc; }

/* ---------- 10. 푸터 ---------- */
#footerWrapper {
	background-color: #2b2f38;
	border-top: none;
}
#footerWrapper .footer-contents { color: #c9ccd2; }

/* ---------- 11. 색상 유틸 보정 ---------- */
.color-black,
.color-black-bold { color: var(--fms-text) !important; }
.color-dark-grey  { color: var(--fms-text-muted) !important; }
.highlight        { color: var(--fms-danger) !important; }

/* ============================================================
 * 12. 홈 대시보드 (member/main.jsp — 모두 .dash 로 스코프)
 * ============================================================ */
.dash a { text-decoration: none; }

/* 환영 배너 */
.dash .welcome2 {
	position: relative;
	display: grid;
	grid-template-columns: 1fr auto;
	align-items: center;
	gap: 24px;
	background: linear-gradient(110deg, var(--accent-soft) 0%, #fff7f1 55%, #ffffff 100%);
	border: 1px solid var(--accent-soft-2);
	border-radius: var(--r-lg);
	padding: 26px 30px;
	margin-bottom: 22px;
	overflow: hidden;
}
.dash .welcome2__eyebrow { font-size: 12px; font-weight: 600; color: var(--accent-ink); margin-bottom: 8px; }
.dash .welcome2__title {
	font-size: 24px; font-weight: 800;
	letter-spacing: -.025em;
	margin: 0 0 8px;
	color: var(--ink-900);
}
.dash .welcome2__sub { font-size: 14px; color: var(--ink-700); margin: 0; }
.dash .welcome2__sub strong { color: var(--accent-ink); font-weight: 700; }
.dash .welcome2__deco { position: relative; width: 160px; height: 140px; display: grid; place-items: center; }
.dash .welcome2__deco__ring {
	position: absolute;
	width: 116px; height: 116px;
	border-radius: 50%;
	border: 1px dashed var(--accent);
	opacity: .35;
}
.dash .welcome2__deco__ring--2 { width: 150px; height: 150px; border-style: solid; opacity: .14; }
.dash .welcome2__deco__car {
	position: relative; z-index: 1;
	width: 82px; height: 82px;
	display: grid; place-items: center;
	border-radius: 50%;
	background: var(--surface);
	color: var(--accent-ink);
	font-size: 30px;
	box-shadow: var(--shadow-2);
}

/* 섹션 헤더 */
.dash .section-header {
	display: flex; align-items: flex-end; justify-content: space-between;
	gap: 16px;
	margin: 24px 0 14px;
}
.dash .section-header__title { font-size: 18px; font-weight: 700; letter-spacing: -.015em; margin: 0; }
.dash .section-header__sub { font-size: 13px; color: var(--ink-500); margin-top: 3px; }
.dash .section-header__link { font-size: 13px; font-weight: 600; color: var(--accent-ink); white-space: nowrap; }
.dash .section-header__link:hover { color: var(--accent); }

/* 상태 카드 */
.dash .status-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.dash .status-card {
	display: block;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--r-lg);
	padding: 20px;
	color: var(--ink-900);
	transition: border-color .15s, transform .15s, box-shadow .15s;
}
.dash .status-card:hover {
	border-color: var(--border-strong);
	transform: translateY(-2px);
	box-shadow: var(--shadow-2);
}
.dash .status-card__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.dash .status-card__label {
	display: inline-flex; align-items: center; gap: 8px;
	font-size: 13px; font-weight: 600; color: var(--ink-500);
}
.dash .status-card__chip {
	font-size: 11px; font-weight: 600;
	padding: 3px 9px; border-radius: 999px;
	background: var(--surface-2); color: var(--ink-500);
}
.dash .status-card__chip--active { background: var(--accent-soft); color: var(--accent-ink); }
.dash .status-card__metric { display: flex; align-items: baseline; gap: 5px; }
.dash .status-card__count { font-size: 34px; font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.dash .status-card__unit { font-size: 14px; font-weight: 600; color: var(--ink-500); }
.dash .status-card__bar { display: flex; gap: 4px; margin-top: 14px; height: 6px; }
.dash .status-card__bar > div { flex: 1; background: var(--surface-2); border-radius: 2px; }
.dash .status-card__bar > div.is-on { background: var(--accent); }
.dash .status-card__detail { margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--border); }
.dash .status-card__row { display: flex; justify-content: space-between; font-size: 13px; }
.dash .status-card__row__k { color: var(--ink-500); }
.dash .status-card__row__v { color: var(--ink-900); font-weight: 600; }

/* 카드 공통 */
.dash .card {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--r-lg);
	padding: 22px;
}
.dash .card__header {
	display: flex; align-items: center; justify-content: space-between;
	gap: 12px;
	margin-bottom: 16px;
}
.dash .card__title {
	display: flex; align-items: center; gap: 10px;
	font-size: 15px; font-weight: 700; letter-spacing: -.01em;
	color: var(--ink-900);
}
.dash .card__title__icon {
	width: 28px; height: 28px;
	display: grid; place-items: center;
	border-radius: 8px;
	background: var(--accent-soft); color: var(--accent-ink);
	font-size: 13px;
}
.dash .card__action { font-size: 12px; font-weight: 600; color: var(--ink-500); white-space: nowrap; }
.dash .card__action:hover { color: var(--accent-ink); }
.dash .card__hint { font-size: 11px; font-weight: 600; color: var(--ink-500); }

/* 분할 그리드 */
.dash .split-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 16px; margin-top: 4px; }

/* 보험 현황 */
.dash .ins-list { display: flex; flex-direction: column; gap: 10px; }
.dash .ins-row {
	display: grid;
	grid-template-columns: 108px 1fr auto;
	align-items: center;
	gap: 12px;
	padding: 14px;
	background: var(--surface-2);
	border-radius: var(--r-md);
}
.dash .ins-row__name { font-size: 14px; font-weight: 700; color: var(--ink-900); }
.dash .ins-row__cars { display: flex; flex-wrap: wrap; gap: 6px; }
.dash .ins-chip {
	font-size: 12px; font-weight: 600;
	color: var(--ink-700);
	background: var(--surface);
	border: 1px solid var(--border);
	padding: 3px 9px; border-radius: 6px;
}
.dash .ins-row__phone {
	display: inline-flex; align-items: center; gap: 6px;
	font-size: 14px; font-weight: 700;
	color: var(--ink-900);
	white-space: nowrap;
}
.dash .ins-row__phone .fa { color: var(--accent-ink); }
.dash .ins-empty { padding: 24px; text-align: center; font-size: 13px; color: var(--ink-400); }

/* 담당자 + 긴급출동 */
.dash .service-connect { display: flex; flex-direction: column; gap: 16px; }
.dash .contact { display: flex; align-items: center; gap: 14px; }
.dash .contact__avatar {
	width: 52px; height: 52px;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--accent) 0%, var(--accent-ink) 100%);
	color: #fff;
	display: grid; place-items: center;
	font-size: 20px;
	flex-shrink: 0;
}
.dash .contact__body { min-width: 0; }
.dash .contact__name { font-size: 16px; font-weight: 700; color: var(--ink-900); }
.dash .contact__role { font-size: 12px; color: var(--ink-500); margin-top: 2px; }
.dash .contact__phone {
	display: inline-flex; align-items: center; gap: 6px;
	font-size: 14px; font-weight: 600;
	color: var(--ink-700);
	margin-top: 6px;
}
.dash .contact__phone:hover { color: var(--accent-ink); }

.dash .emergency-list { display: flex; flex-direction: column; gap: 10px; }
.dash .emergency {
	display: flex; align-items: center; justify-content: space-between;
	gap: 12px;
	padding: 12px 14px;
	background: var(--surface-2);
	border-radius: var(--r-md);
}
.dash .emergency__left { display: flex; align-items: center; gap: 12px; min-width: 0; }
.dash .emergency__icon {
	width: 38px; height: 38px;
	border-radius: 10px;
	background: var(--surface);
	border: 1px solid var(--border);
	display: grid; place-items: center;
	color: var(--accent-ink);
	flex-shrink: 0;
}
.dash .emergency__name { font-size: 14px; font-weight: 600; color: var(--ink-900); }
.dash .emergency__phone { font-size: 13px; color: var(--ink-500); margin-top: 2px; }
.dash .emergency__call {
	display: inline-flex; align-items: center; gap: 6px;
	background: var(--ink-900); color: #fff;
	border-radius: 999px;
	padding: 8px 16px;
	font-size: 12px; font-weight: 600;
	white-space: nowrap;
}
.dash .emergency__call:hover { background: var(--accent); color: #fff; }
.dash .emergency-note {
	display: flex; align-items: flex-start; gap: 8px;
	margin-top: 12px;
	padding: 10px 12px;
	background: var(--warn-soft); color: var(--warn);
	border-radius: var(--r-sm);
	font-size: 12px; line-height: 1.5;
}

/* 서식 자료 */
.dash .forms-card { margin-top: 16px; }
.dash .forms-list { list-style: none; margin: 0; padding: 0; }
.dash .forms-list__group {
	font-size: 11px; font-weight: 700;
	letter-spacing: .05em; text-transform: uppercase;
	color: var(--ink-400);
	padding: 16px 0 6px;
	border-bottom: 1px solid var(--border);
	margin-bottom: 2px;
}
.dash .forms-list__group:first-child { padding-top: 2px; }
.dash .forms-list__item {
	display: flex; align-items: center; justify-content: space-between;
	gap: 16px;
	padding: 11px 2px;
}
.dash .forms-list__item + .forms-list__item { border-top: 1px solid var(--border); }
.dash .forms-list__name { font-size: 14px; font-weight: 500; color: var(--ink-900); }
.dash .forms-list__note { font-size: 12px; color: var(--ink-500); }
.dash .forms-select {
	font-family: inherit;
	font-size: 13px;
	color: var(--ink-700);
	background: var(--surface);
	border: 1px solid var(--border-strong);
	border-radius: 8px;
	padding: 8px 12px;
	cursor: pointer;
	min-width: 150px;
}
.dash .forms-select:focus { outline: 0; border-color: var(--ink-900); }
.dash .forms-btn {
	display: inline-flex; align-items: center; gap: 6px;
	background: var(--accent); color: #fff;
	border-radius: 8px;
	padding: 8px 14px;
	font-size: 13px; font-weight: 600;
	white-space: nowrap;
}
.dash .forms-btn:hover { background: var(--accent-ink); color: #fff; }

/* 대시보드 반응형 */
@media (max-width: 1100px) {
	.dash .split-grid { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
	.dash .status-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
	.dash .welcome2 { grid-template-columns: 1fr; padding: 20px; }
	.dash .welcome2__deco { display: none; }
	.dash .welcome2__title { font-size: 19px; }
	.dash .card { padding: 18px; }
	.dash .ins-row { grid-template-columns: 1fr; gap: 8px; }
	.dash .forms-list__item { flex-direction: column; align-items: stretch; gap: 8px; }
	.dash .forms-list__item--note { flex-direction: row; align-items: center; }
	.dash .forms-select, .dash .forms-btn { width: 100%; justify-content: center; }
}

/* ---------- 13. 담당자 사진 미등록 시 대체 아바타 ---------- */
.manager-noimg {
	display: none;
	width: 150px;
	height: 150px;
	border-radius: 50%;
	background: var(--surface-3);
	color: var(--ink-300);
	font-size: 54px;
	place-items: center;
	border: 5px solid rgba(255,255,255,.6);
	box-shadow: var(--shadow-1);
}
