@charset "utf-8";
/*==============================================

	* Name		:	theme.css
	* Purpose	:	CMS 화면을 FORTI 관리자 모양으로 입힌다 (설계 8장).
				style.css 가 읽은 옛 CSS 위에 덮어쓰는 파일이라 header.jspf 에서 style.css 바로 다음에 읽는다.
				변수 이름과 값은 FORTI admin-web/src/styles/globals.css 와 같게 둔다 (나중에 FORTI 쪽이 바뀌어도 비교하기 쉽게).

	- Description -

	00. font		:	Pretendard Variable (CMS 서버에서 직접 준다)
	01. tokens		:	색·크기·모양 변수
	02. base		:	body·폼 요소 글꼴
	03. sidebar		:	왼쪽 남색 사이드바 (#lnb)
	04. topbar		:	위 흰 머리줄 (#dHead)
	05. content		:	내용 영역·경로·제목
	06. button		:	.btn-01 / .btn-02 (type-01 남색 · 02 흰 테두리 · 03 회색 · 04 빨강)
	07. form		:	입력·선택·글상자
	08. table		:	table.list / table.view / 개수 줄 / 필수 표시 / 빈 목록
	09. paging		:	쪽 번호
	10. badge		:	.badge-* 와 기존 .mm-badge
	11. parts		:	.card .stat-grid .filter-bar .tabs .note .empty .hint .muted (여러 화면이 같이 쓰는 부품. 기존 .mm-tabs .mm-note 도 같은 모양)
	12. moment		:	그때 화면 9곳(momentMgmt)이 화면 안 <style> 에 두던 .mm-* 규칙
	13. album		:	앨범 사진 관리(006007)의 썸네일·상세 배치·처리 카드
	14. rose		:	장미 장부(007001)의 잔액 카드·숫자 색·회원 카드
	15. datepicker	:	jQuery UI 날짜 고르기(.ui-datepicker) 스킨 (옛 이미지 스프라이트 CSS 위에 덮어쓴다)
	16. login		:	로그인 화면 (크림 바탕 가운데 카드)
	17. error		:	오류 화면 (error.jsp: 403·404·500)
	18. misc		:	옛 마크업이 화면 안에서 직접 정하던 글자 크기·색을 대신하는 작은 규칙

	틀 규칙(03~05)은 #wrap 아래로만 건다. 창 띄우기 화면(popup)과 로그인·오류 화면에는 #wrap 이 없어서
	사이드바 여백이 생기지 않는다. 부품(06~12)은 옛 선택자와 같은 특이도로 적어 뒤에 읽히는 순서로 이긴다.
	그래서 창 띄우기 화면의 버튼·표·입력도 같은 모양이 된다. 로그인(16)은 contents.css 의 .login-wrap 규칙이 더 세서 따로 덮어쓴다.

	화면 하나만 쓰는 규칙(13 album, 14 rose …)과 여러 화면이 같이 쓰는 부품(11 parts)을 섞지 않는다.
	화면 이름이 붙은 옛 이름은 없앴다 (.hint .nowrap .filter-check .filter-keyword 를 모든 화면이 같이 쓴다).

	이 파일을 고치면 header.jspf 의 theme.css?v= 값도 올린다 (브라우저 캐시).

==============================================*/


/* ===========================
	00. font
=========================== */
/* 가변 글꼴 한 파일로 400~800 을 모두 쓴다. woff2-variations 를 모르는 브라우저를 위해 같은 파일을 woff2 로 한 번 더 적는다 */
@font-face {
	font-family:'Pretendard Variable';
	font-style:normal;
	font-weight:45 920;
	font-display:swap;
	src:url(/admin/common/font/PretendardVariable.woff2) format('woff2-variations'),
		url(/admin/common/font/PretendardVariable.woff2) format('woff2');
}


/* ===========================
	01. tokens
=========================== */
:root {
	--brand:#1A214D;
	--brand-soft:#E8EAF2;
	--ground:#F7F5F0;
	--surface:#FFFFFF;
	--line:#E0DED6;
	--ink:#1A1A1A;
	--muted:#6E6E6E;
	--muted2:#9A9A9A;

	--green:#1C7355;
	--green-soft:#E0F1EA;
	--red:#A32C39;
	--red-soft:#FAE6E8;
	--amber:#8F6410;
	--amber-soft:#F9EFD9;

	--sidebar:232px;
	--header:56px;
	--radius:10px;
	--radius2:14px;
	--shadow:0 1px 3px rgba(26,33,77,.07), 0 1px 2px rgba(26,33,77,.05);

	/* FORTI 에 없는 것: 회색 보조 버튼(type-03) */
	--btn-gray:#EAE8E1;
	--btn-gray-line:#D9D6CC;
}


/* ===========================
	02. base
=========================== */
body {
	background:var(--ground);
	color:var(--ink);
	font-family:'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Malgun Gothic', 'Segoe UI', sans-serif;
	font-size:14px;
	line-height:1.55;
	letter-spacing:0;
	word-break:keep-all;
	overflow-wrap:break-word; /* 한글은 낱말 단위로 줄바꿈하되, 공백 없는 긴 글(이메일·주소)이 칸을 넘으면 그때만 아무 곳에서나 끊는다 */
	-webkit-font-smoothing:antialiased;
}

/* form.css 가 입력·버튼마다 Noto 글꼴을 따로 적어 두었다. 같은 선택자로 적어야 뒤에 읽는 이 파일이 이긴다 */
input,
select,
textarea,
button,
input[type=text],
input[type=number],
input[type=email],
input[type=tel],
input[type=url],
input[type=password],
input[type=file],
input[type=image],
input[type=reset],
input[type=button],
input[type=submit] {font-family:inherit;}


/* ===========================
	03. sidebar
=========================== */
/* 화면 왼쪽에 붙은 남색 세로 막대. 위 로고 칸은 고정, 메뉴(ul)만 안에서 스크롤한다 */
#wrap #lnb {
	position:fixed; top:0; right:auto; bottom:0; left:0;
	display:flex; flex-direction:column;
	width:var(--sidebar); height:auto; margin:0;
	background:var(--brand); color:#fff;
	z-index:30;
}

#wrap #lnb .sidebar-brand {flex:0 0 auto; padding:20px 22px 18px; border-bottom:1px solid rgba(255,255,255,.12);}
#wrap #lnb .sidebar-brand .logo {color:#fff; font-size:20px; font-weight:800; letter-spacing:-.01em; line-height:1.4;}
#wrap #lnb .sidebar-brand .sub {margin-top:2px; color:rgba(255,255,255,.55); font-size:11px; line-height:1.4;}

#wrap #lnb > ul {
	flex:1 1 auto; min-height:0;
	padding:10px 12px 40px;
	overflow-y:auto;
	scrollbar-width:thin; scrollbar-color:rgba(255,255,255,.25) transparent;
}
#wrap #lnb > ul > li {margin-top:0;}

/* 묶음 이름 (FORTI .sidebar-group) + 펼침 화살표. 화살표는 이미지 대신 테두리 두 줄로 그린다 */
#wrap #lnb > ul > li > a {
	position:relative; display:flex; align-items:center; justify-content:space-between;
	width:auto; height:auto; padding:14px 10px 6px;
	color:rgba(255,255,255,.8);
	transition:color .15s;
}
#wrap #lnb > ul > li > a:hover {color:#fff;}
#wrap #lnb > ul > li.actived > a,
#wrap #lnb > ul > li.open > a {color:#fff;}
/* 묶음 이름은 누르는 손잡이라 FORTI 의 10.5px 대문자 간격 글자보다 키운다 (한글 묶음 이름이라 대문자·글자 간격 없음).
   하위 메뉴(13px, 흐린 흰색, 들여씀)보다 크고 밝게 해서 두 단계가 한눈에 갈리게 한다 (사용자 요청 11-02) */
#wrap #lnb > ul > li > a > span {
	display:block; flex:1 1 auto; padding-right:0;
	color:inherit; font-size:14px; font-weight:700; letter-spacing:0; line-height:1.55; text-transform:none;
}
#wrap #lnb > ul > li > a:after {
	content:''; position:static; display:block; flex:0 0 auto;
	width:6px; height:6px; margin:-3px 3px 0 8px;
	border:0 solid currentColor; border-right-width:1.5px; border-bottom-width:1.5px; border-radius:0;
	background:none; opacity:1;
	transform:rotate(45deg); transition:transform .15s;
}
#wrap #lnb > ul > li.open > a:after {margin-top:3px; transform:rotate(-135deg);}
#wrap #lnb > ul > li.none > a:after {display:none;}

/* 하위 메뉴 (FORTI .sidebar-link). 펼치고 접는 display 는 common.css 의 .snb / .open 규칙을 그대로 쓴다.
   묶음 이름 아래로 들여 쓰고 왼쪽 세로 안내선을 둬서 어느 묶음의 메뉴인지 보이게 한다 */
#wrap #lnb .snb {margin:4px 0 8px 14px; padding:0 0 0 8px; border-left:1px solid rgba(255,255,255,.16);}
#wrap #lnb .snb > li {margin-top:2px; padding:0;}
#wrap #lnb .snb > li:first-child {margin-top:0;}
#wrap #lnb .snb > li:before,
#wrap #lnb .snb > li:after {display:none; content:none;}
#wrap #lnb .snb > li > a {
	display:block; padding:8px 12px; border-radius:8px;
	color:rgba(255,255,255,.68); font-size:13px; line-height:1.55;
}
#wrap #lnb .snb > li > a:hover {background:rgba(255,255,255,.08); color:#fff;}
#wrap #lnb .snb > li.actived > a {background:rgba(255,255,255,.16); color:#fff; font-weight:600;}


/* ===========================
	04. topbar
=========================== */
/* 사이드바 오른쪽부터 이어지는 흰 56px 줄. 스크롤해도 위에 남는다 */
#wrap #dHead {
	position:fixed; top:0; right:0; left:var(--sidebar);
	width:auto; height:var(--header);
	background:var(--surface); border-bottom:1px solid var(--line);
	box-sizing:border-box; /* 아래 선 1px 을 56px 안에 넣는다 (FORTI 는 전체가 border-box) */
	z-index:20;
}
#wrap #dHead .header-wrap {height:100%;}
#wrap #dHead .header-wrap .inner {
	display:flex; align-items:center; justify-content:flex-end;
	min-width:0; height:100%; margin:0; padding:0 22px;
	background:transparent;
}

#wrap .global-menu {position:static; display:flex; align-items:center; gap:14px; margin:0;}
#wrap .global-menu > li,
#wrap .global-menu > li.user-name {float:none; margin:0; padding:0; color:var(--ink); line-height:1.3;}
#wrap .global-menu > li:after {display:none;}
#wrap .global-menu .user-name p {display:block; padding:0; background:none; font-size:13.5px; font-weight:600;}
/* 로그아웃: FORTI 의 작은 보조(ghost) 버튼 */
#wrap .global-menu .btn-logout > a {
	display:inline-flex; align-items:center; height:30px; padding:0 11px;
	border:1px solid var(--line); border-radius:var(--radius);
	background:var(--surface); color:var(--ink); font-size:12.5px; font-weight:600; line-height:1;
}
#wrap .global-menu .btn-logout > a:hover {background:#FAFAF8;}


/* ===========================
	05. content
=========================== */
#wrap #dBody {min-width:0; padding:var(--header) 0 0;}
#wrap #contents {
	width:auto; min-width:0; margin-left:var(--sidebar);
	padding:24px 26px 60px;
}
/* 아래 줄(dFoot)은 숨긴다. footer.jspf 가 비어 있고 FORTI 에도 없다. 마크업은 43개 화면에 그대로 둔다 */
#wrap #dFoot {display:none;}

/* 경로: 오른쪽 위 떠 있던 것을 제목 위 작은 흐린 글자로 */
#wrap .location {position:static; margin:0 0 12px; padding:0; color:var(--muted); font-size:12px; line-height:1.4;}
#wrap .location:before {color:var(--muted);}
#wrap .location span {margin-left:4px; color:var(--muted); font-weight:400;}
#wrap .location span:before {margin-right:4px;}
/* 경로가 정적이 되어 바로 다음 .default-cell 의 위 여백 40px 이 따로 떠 보인다. 제목 없는 화면(경로 바로 아래가 칸)은 경로에 붙인다 */
#wrap .location + .default-cell {margin-top:0;}

/* 제목: 22px/800 + 옆에 13.5px 흐린 설명 */
.con-title {margin:0 0 20px; color:var(--ink); font-size:22px; font-weight:800; letter-spacing:-.01em; line-height:1.4;}
#wrap .con-title {margin:0 0 20px; color:var(--ink); font-size:22px; font-weight:800; letter-spacing:-.01em; line-height:1.4;}
#wrap .con-title > span {margin-left:10px; color:var(--muted); font-size:13.5px; font-weight:400; letter-spacing:0;}
/* 제목에 이미 아래 여백(20px)이 있어서 제목 다음 첫 .default-cell 의 옛 위 여백 40px(.mt50 을 단 칸은 50px)이 겹치면 간격이 60~70px 로 떠 보인다.
   첫 칸만 붙인다: 사이에 <form>(숨은 입력) 이나 숨은 <h3> 이 끼어도 되고, 앞에 카드·탭이 있는 칸(div 가 먼저 나오는 경우)은 그대로 둔다 */
#wrap .con-title ~ .default-cell:first-of-type,
#wrap .con-title ~ form > .default-cell:first-of-type {margin-top:0;}
#wrap .con-title ~ .table-list-data.mt50 {margin-top:0 !important;}
/* "* 는 필수입력/선택 항목입니다" 안내: 옛 .fc01 이 주황을 !important 로 박아 두었다. 설명 글이므로 흐린 글자로 */
#wrap .con-title > span.fc01 {color:var(--muted) !important;}


/* ===========================
	06. button
=========================== */
/* 높이 38px(작은 것 30px), 둥글기 10px, 13.5px/600. type-01 남색(기본) · 02 흰 바탕 테두리(보조) · 03 회색(보조) · 04 빨강(위험).
   옛 common.css 의 'a.btn-01.type-01, button.btn-01.type-01, input[type=submit].btn-01.type-01' 와 같은 선택자·특이도로 적어 뒤에 읽히는 순서로 이긴다 */
.btn-01,
.btn-02 {
	display:inline-flex; align-items:center; justify-content:center; gap:6px;
	box-sizing:border-box; min-width:0; height:38px; padding:0 16px;
	border-radius:var(--radius);
	font-size:13.5px; font-weight:600; line-height:1.2; letter-spacing:0; text-align:center; white-space:nowrap;
	transition:background-color .15s, border-color .15s, opacity .15s;
}
.btn-02 {height:30px; padding:0 11px; font-size:12.5px;}
/* form.css 의 input[type=submit]{border-radius:0} (0,1,1) 이 위 .btn-01 (0,1,0) 을 이기므로 submit 은 따로 둥글게 */
input[type=submit].btn-01,
input[type=submit].btn-02,
.btn-01.round,
.btn-02.round {border-radius:var(--radius);}

a.btn-01.type-01, button.btn-01.type-01, input[type=submit].btn-01.type-01,
a.btn-02.type-01, button.btn-02.type-01, input[type=submit].btn-02.type-01 {color:#fff; border:1px solid var(--brand); background-color:var(--brand);}
a.btn-01.type-02, button.btn-01.type-02, input[type=submit].btn-01.type-02,
a.btn-02.type-02, button.btn-02.type-02, input[type=submit].btn-02.type-02 {color:var(--ink); border:1px solid var(--line); background-color:var(--surface);}
a.btn-01.type-03, button.btn-01.type-03, input[type=submit].btn-01.type-03,
a.btn-02.type-03, button.btn-02.type-03, input[type=submit].btn-02.type-03 {color:var(--ink); border:1px solid var(--btn-gray-line); background-color:var(--btn-gray);}
a.btn-01.type-04, button.btn-01.type-04, input[type=submit].btn-01.type-04,
a.btn-02.type-04, button.btn-02.type-04, input[type=submit].btn-02.type-04 {color:#fff; border:1px solid var(--red); background-color:var(--red);}

a.btn-01.type-01:hover, button.btn-01.type-01:hover, input[type=submit].btn-01.type-01:hover,
a.btn-02.type-01:hover, button.btn-02.type-01:hover, input[type=submit].btn-02.type-01:hover,
a.btn-01.type-04:hover, button.btn-01.type-04:hover, input[type=submit].btn-01.type-04:hover,
a.btn-02.type-04:hover, button.btn-02.type-04:hover, input[type=submit].btn-02.type-04:hover {filter:brightness(1.12);}
a.btn-01.type-02:hover, button.btn-01.type-02:hover, input[type=submit].btn-01.type-02:hover,
a.btn-02.type-02:hover, button.btn-02.type-02:hover, input[type=submit].btn-02.type-02:hover {background-color:#FAFAF8;}
a.btn-01.type-03:hover, button.btn-01.type-03:hover, input[type=submit].btn-01.type-03:hover,
a.btn-02.type-03:hover, button.btn-02.type-03:hover, input[type=submit].btn-02.type-03:hover {background-color:#E1DED5;}

/* 키보드 초점: 남색 2px 선을 2px 띄워서 그린다 (연남색은 흰 면·크림 바탕에서 대비가 1.2:1 이라 안 보였다).
   띄운 틈에 바탕색이 보이므로 남색 버튼 위에서도 선이 구분된다. 입력 칸은 아래 11 처럼 테두리가 남색으로 바뀐다 */
a:focus-visible, button:focus-visible, summary:focus-visible, [tabindex]:focus-visible,
input[type=checkbox]:focus-visible, input[type=radio]:focus-visible,
input[type=submit]:focus-visible, input[type=button]:focus-visible {outline:2px solid var(--brand); outline-offset:2px;}
/* 남색 사이드바 위에서는 흰 선 */
#wrap #lnb a:focus-visible {outline-color:#fff; outline-offset:-2px;}
.btn-01:disabled, .btn-01.disabled,
.btn-02:disabled, .btn-02.disabled {opacity:.5; cursor:not-allowed;}
/* 의도한 규칙: 목록 표(table.list) 줄 안의 .btn-01 은 38px 이 아니라 30px(.btn-02 와 같은 크기)로 그린다.
   줄마다 38px 남색 버튼이 들어가면 줄이 커지고 FORTI 의 줄 안 작은 버튼(btn-sm)과 달라서, 기존 화면 마크업(.btn-01)을 고치지 않고
   줄 안 작업 버튼을 작게 만든다. 상세 표(table.view)의 입력 옆 버튼·표 밖 버튼은 38px 그대로 */
table.list > tbody > tr > td .btn-01 {height:30px; padding:0 11px; font-size:12.5px;}

/* 표 안 글 링크의 hover 밑줄(아래 08.)이 버튼 모양 링크에는 붙지 않게 */
a.btn-01:hover,
a.btn-02:hover {text-decoration:none;}


/* ===========================
	07. form
=========================== */
/* 입력·선택은 38px 로 둔다 (FORTI 는 42px 이지만 CMS 는 옆 버튼·날짜 고르기·검색 줄이 38px 기준으로 짜여 있다).
   그때 화면 검색 칸처럼 type 이 없는 <input> 도 글상자로 본다 */
input:not([type]),
input[type=text],
input[type=number],
input[type=email],
input[type=tel],
input[type=url],
input[type=password],
input[type=search] {
	box-sizing:border-box; height:38px; padding:0 13px;
	border:1px solid var(--line); border-radius:var(--radius);
	background-color:var(--surface); color:var(--ink);
	font-size:14px; line-height:1.4;
	transition:border-color .15s;
}
textarea {
	padding:10px 13px;
	border:1px solid var(--line); border-radius:var(--radius);
	background-color:var(--surface); color:var(--ink);
	font-size:14px; line-height:1.55;
	transition:border-color .15s;
}
/* 초점: 남색 테두리 + 연남색 바깥 선 (FORTI .input:focus) */
input:not([type]):focus,
input[type=text]:focus,
input[type=number]:focus,
input[type=email]:focus,
input[type=tel]:focus,
input[type=url]:focus,
input[type=password]:focus,
input[type=search]:focus,
textarea:focus,
select:focus,
input[type=text].active,
input[type=number].active,
input[type=email].active,
input[type=tel].active,
input[type=url].active,
input[type=password].active,
textarea.active {color:var(--ink); border-color:var(--brand); outline:2px solid var(--brand-soft);}
input::placeholder, textarea::placeholder {color:var(--muted2);}
input::-webkit-input-placeholder, textarea::-webkit-input-placeholder {color:var(--muted2);}
input::-moz-placeholder, textarea::-moz-placeholder {color:var(--muted2);}
/* 잠긴 칸만 회색. readonly 는 날짜 고르기 칸이 쓰므로(눌러서 고름) 그대로 둔다 */
input:not([type]):disabled, input[type=text]:disabled, input[type=number]:disabled, input[type=password]:disabled, textarea:disabled {background-color:var(--ground); color:var(--muted);}

/* 선택 상자: 화살표는 SVG(옛 36px 사각 gif 대신). 오른쪽 여백은 화살표 자리만 둔다.
   옛 form.css 는 오른쪽 여백 50px 에 폭을 퍼센트로 박아 한글이 잘렸다. 화면이 폭을 정해도(style="width:15%")
   가장 긴 선택지 글자보다 좁아지지 않게 min-width:max-content 로 받친다 */
select {
	box-sizing:border-box; width:auto; min-width:max-content; max-width:100%; height:38px; padding:0 34px 0 13px;
	border:1px solid var(--line); border-radius:var(--radius);
	background-color:var(--surface); color:var(--ink);
	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.5 4.5L6 8l3.5-3.5' fill='none' stroke='%236E6E6E' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	background-position:right 12px center; background-repeat:no-repeat; background-size:12px 12px;
	font-size:14px; line-height:1.4;
	transition:border-color .15s;
}
select:disabled {color:var(--muted2); border-color:var(--line); background-color:var(--ground);}

/* 필수 표시 */
.need {color:var(--red);}


/* ===========================
	08. table
=========================== */
/* reset.css 의 table{word-break:break-all} 은 한글을 낱말 중간에서 끊는다 (예: "유형 / 출 / 처").
   표 안도 낱말 단위로 줄바꿈하고, 공백 없는 긴 글(이메일·아이디)만 아무 곳에서나 끊는다 */
table {word-break:keep-all; overflow-wrap:anywhere;}

/* 목록 표 / 입력(상세) 표: 바깥 둥근 14px 테두리, 머리 칸 크림 바탕 12px/700 흐린 글자, 칸 왼쪽 정렬.
   기존 검색 상자는 table.view 를 쓰므로 흰 면 + 그림자(카드)로 보인다 */
table.list,
table.view {
	width:100%; table-layout:fixed;
	border:1px solid var(--line); border-radius:var(--radius2);
	border-collapse:separate; border-spacing:0;
	background:var(--surface);
}
table.view {box-shadow:var(--shadow);}

table.list > thead > tr > th,
table.list > tbody > tr > th,
table.view > tbody > tr > th {
	height:auto; padding:12px 16px;
	border-bottom:1px solid var(--line);
	background:var(--ground); color:var(--muted);
	font-size:12px; font-weight:700; line-height:1.5; text-align:left; vertical-align:middle;
}
table.list > tbody > tr > td,
table.view > tbody > tr > td {
	height:auto; padding:12px 16px;
	border-bottom:1px solid var(--line);
	background:var(--surface); color:var(--ink);
	font-size:13.5px; font-weight:400; line-height:1.55; text-align:left; vertical-align:middle;
}
table.view > tbody > tr > td {padding:10px 16px;}

/* 맨 아래 줄은 바깥 테두리가 대신한다 */
table.list > tbody:last-child > tr:last-child > th,
table.list > tbody:last-child > tr:last-child > td,
table.view > tbody:last-child > tr:last-child > th,
table.view > tbody:last-child > tr:last-child > td {border-bottom:0;}

/* 모서리 칸 바탕이 바깥 둥근 테두리 밖으로 나오지 않게 안쪽 둥글기를 맞춘다 (바깥 14px - 테두리 1px).
   표가 <caption>·<colgroup> 으로 시작하는 일이 많아 :first-child 가 아니라 :first-of-type 으로 첫 thead/tbody 를 잡는다 */
table.list > thead:first-of-type > tr:first-child > :first-child,
table.view > tbody:first-of-type > tr:first-child > :first-child {border-top-left-radius:calc(var(--radius2) - 1px);}
table.list > thead:first-of-type > tr:first-child > :last-child,
table.view > tbody:first-of-type > tr:first-child > :last-child {border-top-right-radius:calc(var(--radius2) - 1px);}
/* 머리(thead) 없이 tbody 만 있는 목록 표(수수료율 창 등)는 첫 본문 줄이 맨 위. :has 를 모르는 브라우저에서도 위 규칙이 같이 죽지 않게 따로 적는다 */
table.list:not(:has(> thead)) > tbody:first-of-type > tr:first-child > :first-child {border-top-left-radius:calc(var(--radius2) - 1px);}
table.list:not(:has(> thead)) > tbody:first-of-type > tr:first-child > :last-child {border-top-right-radius:calc(var(--radius2) - 1px);}
table.list > tbody:last-child > tr:last-child > :first-child,
table.view > tbody:last-child > tr:last-child > :first-child {border-bottom-left-radius:calc(var(--radius2) - 1px);}
table.list > tbody:last-child > tr:last-child > :last-child,
table.view > tbody:last-child > tr:last-child > :last-child {border-bottom-right-radius:calc(var(--radius2) - 1px);}

/* 줄에 마우스를 올리면 #FAFAF8. 칸 바탕이 흰색으로 박혀 있어 tr 이 아니라 td 에 건다 */
table.list > tbody > tr:hover > td {background:#FAFAF8;}

/* 표 안의 글 링크 (이름·번호). 버튼 모양 링크(class 있는 것)는 건드리지 않는다 */
table.list > tbody > tr > td a:not([class]),
table.view > tbody > tr > td a:not([class]) {color:var(--brand);}
table > tbody > tr > td > a:hover {color:var(--brand); text-decoration:underline;}

/* 숫자 칸: 오른쪽 정렬 + 자리 맞춤 숫자 (th.num 은 머리도 같이 오른쪽). 어떤 표에서든 이 클래스만으로 된다.
   아래 표 규칙(text-align:left, 특이도 0,1,4)이 이기지 못하게 table.list/table.view 안 선택자도 같이 둔다 */
td.num,
th.num,
table.list > thead > tr > th.num,
table.list > tbody > tr > td.num,
table.list > tbody > tr > th.num,
table.view > tbody > tr > td.num {text-align:right; font-variant-numeric:tabular-nums;}

/* 빈 목록: 칸 하나가 전체를 차지하는 줄(<td colspan="N">검색 결과가 없습니다.</td>)과 .empty 는 가운데 흐린 글자 */
table.list > tbody > tr > td:only-child[colspan],
table.list > tbody > tr > td.empty {padding:40px 16px; color:var(--muted); text-align:center;}
table.list > tbody > tr:hover > td:only-child[colspan],
table.list > tbody > tr:hover > td.empty {background:var(--surface);}
.empty {padding:56px 20px; color:var(--muted); text-align:center;}

/* 표 위 "전체 : N건" 줄 */
.table-sort {margin-bottom:10px; color:var(--muted); font-size:13px;}
.table-sort > span {color:var(--ink); font-weight:700;}


/* ===========================
	09. paging
=========================== */
/* 쪽 번호 HTML 은 자바가 만든다 (<a>숫자</a>, <a class="on">, 처음·이전·다음·끝은 <a><img></a>). 마크업은 그대로 두고 모양만 입힌다 */
.paging-wrap {margin-top:24px;}
.paging {display:flex; flex-wrap:wrap; align-items:center; justify-content:center; gap:6px; font-size:13px; line-height:1;}
.paging a,
.paging > a {
	display:inline-flex; align-items:center; justify-content:center;
	box-sizing:border-box; width:auto; min-width:34px; height:34px; margin:0; padding:0 6px; overflow:hidden;
	border:1px solid var(--line); border-radius:8px;
	background:var(--surface); color:var(--ink);
	font-family:inherit; font-size:13px; font-weight:600; line-height:1; letter-spacing:0;
}
.paging a:hover {background:#FAFAF8;}
.paging a.on {border-color:var(--brand); background:var(--brand); color:#fff;}
/* 처음·이전·다음·끝 그림은 38x36 이라 그대로 두면 단추가 넓어진다. 좌우 투명한 여백만큼 당겨 34px 단추에 맞춘다 */
.paging a img {display:block; max-width:none; margin:0 -9px; opacity:.75;}


/* ===========================
	10. badge
=========================== */
/* 둥근 알약 11.5px/700. 새 화면은 .badge + .badge-ok|off|neutral|warn|info, 그때 화면은 기존 .mm-badge + .green|red|gray|orange|blue 를 쓴다 (같은 모양) */
.badge,
.mm-badge {
	display:inline-flex; align-items:center; vertical-align:middle;
	padding:3px 9px; border-radius:999px;
	background:var(--ground); color:var(--muted);
	font-size:11.5px; font-weight:700; line-height:1.4; white-space:nowrap;
}
.badge-ok, .mm-badge.green {background:var(--green-soft); color:var(--green);}
.badge-off, .mm-badge.red {background:var(--red-soft); color:var(--red);}
.badge-neutral, .mm-badge.gray {background:var(--ground); color:var(--muted);}
.badge-warn, .mm-badge.orange {background:var(--amber-soft); color:var(--amber);}
.badge-info, .mm-badge.blue {background:var(--brand-soft); color:var(--brand);}


/* ===========================
	11. parts
=========================== */
/* 카드 */
.card {
	background:var(--surface);
	border:1px solid var(--line); border-radius:var(--radius2);
	box-shadow:var(--shadow);
	padding:20px 22px;
}
.card-title {margin-bottom:14px; font-size:15px; font-weight:700;}

/* 요약 숫자 카드: 12px 라벨 + 26px/800 숫자 + 12px 설명 */
.stat-grid {display:grid; grid-template-columns:repeat(auto-fit, minmax(190px, 1fr)); gap:14px;}
.stat {
	display:flex; flex-direction:column; gap:4px;
	padding:18px 20px;
	background:var(--surface); border:1px solid var(--line); border-radius:var(--radius2); box-shadow:var(--shadow);
}
.stat-label {color:var(--muted); font-size:12px; font-weight:600;}
.stat-value {font-size:26px; font-weight:800; line-height:1.3; font-variant-numeric:tabular-nums;}
.stat-sub {color:var(--muted); font-size:12px;}
/* 카드 안 바로 가기 링크는 남색 */
.stat-sub a {color:var(--brand); font-weight:600;}

/* 메인 요약: 카드 전체가 링크(a.stat). 눌러 목록으로 간다. 처리해야 할 숫자(.is-alert)는 빨강 */
a.stat-link {color:inherit; text-decoration:none;}
a.stat-link:hover {border-color:var(--brand);}
.stat.is-alert {border-color:var(--red);}
.stat.is-alert .stat-value {color:var(--red);}
.dash-title {margin:28px 0 12px; color:var(--ink); font-size:15px; font-weight:700;}
.dash-title:first-of-type {margin-top:0;}

/* 한 줄 검색: 입력·선택·버튼이 한 줄(좁으면 줄바꿈) */
.filter-bar {display:flex; flex-wrap:wrap; align-items:center; gap:10px; margin-bottom:16px;}
.filter-bar input:not([type]),
.filter-bar input[type=text],
.filter-bar input[type=search] {flex:1 1 220px; width:auto; min-width:220px;}
/* 검색 줄의 날짜 입력(.datepicker): 검색어 입력처럼 늘어나지 않고 날짜가 들어갈 만큼만. 위 입력 규칙과 특이도가 같아 그 뒤에 적는다 */
.filter-bar input.datepicker {flex:0 0 120px; width:120px; min-width:0;}
.filter-bar .tilde {color:var(--muted);}
.filter-bar select {flex:0 0 auto;}
.filter-bar .btn-01,
.filter-bar .btn-02 {flex:0 0 auto;}
/* 검색 줄의 체크 상자: 상자와 글자를 한 줄에 맞춘다 */
.filter-check {display:inline-flex; align-items:center; flex:0 0 auto; gap:6px;}
.filter-check label {color:var(--ink); font-size:13.5px; cursor:pointer;}
.filter-check input {margin:0;}

/* 탭 줄: 작은 버튼 줄 (FORTI btn-sm 모양). 현재 탭은 a.on */
.tabs,
.mm-tabs {display:flex; flex-wrap:wrap; gap:6px; margin:10px 0 16px;}
.tabs > a,
.mm-tabs > a {
	display:inline-flex; align-items:center; box-sizing:border-box; height:32px; padding:0 14px;
	border:1px solid var(--line); border-radius:var(--radius);
	background:var(--surface); color:var(--ink);
	font-size:13px; font-weight:600; line-height:1;
}
.tabs > a:hover,
.mm-tabs > a:hover {background:#FAFAF8;}
.tabs > a.on,
.mm-tabs > a.on {border-color:var(--brand); background:var(--brand); color:#fff;}

/* 안내 상자: 연한 주황(amber-soft) 바탕 */
.note,
.mm-note {
	margin:10px 0; padding:12px 16px;
	border:1px solid rgba(143,100,16,.2); border-radius:var(--radius);
	background:var(--amber-soft); color:var(--amber);
	font-size:13px; line-height:1.6;
}

/* 흐린 보조 글. .muted 는 색만 (글자 크기는 둘러싼 글을 따른다), .hint 는 12px/보통 굵기까지 (제목·표 안의 곁글).
   .hint-block 은 줄 아래 따로 놓는 설명 */
.muted {color:var(--muted);}
.hint {color:var(--muted); font-size:12px; font-weight:400;}
.hint-block {margin-top:6px;}
/* 개수 줄(.table-sort > span 은 굵은 검정)의 안내 글은 흐린 보통 굵기로 되돌린다 */
.table-sort > span.hint {color:var(--muted); font-size:12px; font-weight:400;}
/* 버튼 줄: 버튼 사이 8px, 좁으면 줄바꿈 */
.btn-wrap {display:flex; flex-wrap:wrap; gap:8px;}
/* 줄바꿈 없이 한 줄 (번호·날짜 칸) */
.nowrap {white-space:nowrap;}
/* 목록 위 요약 카드(.stat-grid)와 아래 검색 줄 사이 간격 */
.album-summary, .rose-summary {margin-bottom:16px;}

/* 사진 올리기 칸: 점선 사각 + 큰 + 글자 (회원 상세의 프로필 사진 추가) */
.photo-add {
	display:flex; align-items:center; justify-content:center; box-sizing:border-box; width:180px; height:250px;
	border:1px dashed var(--line); border-radius:var(--radius2); background:var(--surface);
	color:var(--muted2); font-size:44px; line-height:1; cursor:pointer;
	transition:border-color .15s, color .15s;
}
.photo-add:hover {border-color:var(--brand); color:var(--brand);}


/* ===========================
	12. moment (그때 화면 9곳의 .mm-* 규칙)
=========================== */
/* 화면마다 <style> 에 되풀이하던 것을 한 곳으로 옮겼다. 화면마다 조금씩 달랐던 곳:
   - .mm-badge: 색 종류가 화면마다 달랐다 (orange 는 chat/view·report/view, blue 는 report/view 에만) → 모두 정의 (위 10.)
   - .mm-msg: chat/view 만 text-align:left 가 있었다 → 모두에 두고, 글자 끊기는 break-all 대신 표와 같은 낱말 단위 + 긴 글만 끊김
   - .mm-chat: chat/view 와 report/view 의 정의가 달랐다.
       세로 정렬은 chat/view 가 가운데(표 기본), report/view 가 위 → 대화록은 위로 통일
       신고된 줄(focus)은 report/view 만 굵은 글씨 → 굵기를 빼고 바탕 + 왼쪽 막대로 통일
       img 제한은 chat/view 에만 있었으나 report/view 에는 사진이 없어 해가 없다 → 공통
       td.mm-body{text-align:left} 는 표 칸이 기본 왼쪽이 되어 뺐다 (마크업의 class="mm-body" 는 그대로 둠)
   */
.mm-actions a {margin:2px 0;}
.mm-msg {white-space:pre-wrap; word-break:keep-all; overflow-wrap:anywhere; text-align:left;}

/* 섹션 제목 (<h3>). 옛 reset 은 제목 글자를 400 굵기로 둬서 표 사이에서 구분이 안 됐다 */
#wrap #contents h3:not(.con-title) {margin-bottom:10px; font-size:15px; font-weight:700; line-height:1.4;}
/* 칸 맨 위가 아닌 제목(표·버튼 줄·글 다음)은 위로 떼어 놓는다. 화면의 class="mt10" 이 !important 라서 같이 !important */
#wrap #contents h3:not(.con-title):not(:first-child) {margin-top:28px !important;}

/* 대화 이동 줄 */
.mm-nav {display:flex; align-items:center; justify-content:space-between; gap:8px; margin:10px 0;}

/* 대화록 표 (chat/view, report/view) */
table.list.mm-chat > tbody > tr > td {vertical-align:top;}
table.list.mm-chat > tbody > tr.focus > td {background:var(--amber-soft);}
table.list.mm-chat > tbody > tr.focus > td:first-child {box-shadow:inset 3px 0 0 var(--amber);}
table.list.mm-chat > tbody > tr.system > td {color:var(--muted); font-style:italic;}
table.list.mm-chat > tbody > tr.hidden .mm-msg {color:var(--muted2); text-decoration:line-through;}
.mm-chat img {max-width:220px; max-height:140px; margin-top:4px; border:1px solid var(--line); border-radius:8px;}

/* 신고 목록의 앨범 사진 줄 (report/list) */
.mm-thumb {width:48px; height:48px; margin-right:8px; border-radius:8px; background:var(--ground); object-fit:cover; vertical-align:middle;}
.mm-photo-text {display:inline-block; max-width:calc(100% - 64px); vertical-align:middle;}

/* 신고 상세 (report/view): 자동 점검 상자·대상 회원 이력·사진 */
.mm-analysis {
	margin:16px 0; padding:16px 20px;
	border:1px solid var(--line); border-radius:var(--radius2);
	background:var(--surface); box-shadow:var(--shadow);
}
.mm-analysis h4 {display:flex; flex-wrap:wrap; align-items:center; gap:8px; margin-bottom:10px; font-size:15px; font-weight:700;}
.mm-analysis ul {margin:0; padding:0;}
.mm-analysis li {padding:4px 0; list-style:none; line-height:1.6;}
.mm-analysis li .lv {display:inline-flex; justify-content:center; min-width:78px; margin-right:8px;}
table.list.mm-stats > thead > tr > th,
table.list.mm-stats > tbody > tr > td {text-align:center;}
.mm-photo {max-width:360px; max-height:480px; border:1px solid var(--line); border-radius:var(--radius); background:var(--ground);}


/* ===========================
	13. album (앨범 사진 관리, 006007)
=========================== */
/* 요약 카드 간격(.album-summary)·검색 줄 날짜 입력(.datepicker)·물결(.tilde)은 11. parts 에 있다 */
/* 한 줄 검색의 검색어 입력: 올린 날 입력(날짜 폭만큼)과 달리 남는 폭을 쓴다. 11 의 .filter-bar 입력 규칙과 특이도가 같아 그 뒤에 적는다 */
.filter-bar input.filter-keyword {flex:1 1 140px; min-width:140px;}

/* 목록 썸네일 64px. 지운 사진은 사진 대신 회색 "지움" 칸 */
.album-thumb {display:inline-block; box-sizing:border-box; width:64px; height:64px; border-radius:8px; background:var(--ground); object-fit:cover; vertical-align:middle;}
span.album-thumb {border:1px dashed var(--line); color:var(--muted2); font-size:12px; font-weight:600; line-height:62px; text-align:center;}

/* 상세: 왼쪽 미리보기 카드, 오른쪽 정보 카드와 처리 카드 */
.album-view {display:grid; grid-template-columns:minmax(300px, 5fr) 7fr; gap:16px; align-items:start;}
.album-view-side {display:flex; flex-direction:column; gap:16px; min-width:0;}
.album-preview {display:block; max-width:100%; max-height:560px; margin:0 auto; border-radius:var(--radius); background:var(--ground);}
.album-preview-off {padding:96px 20px; border-radius:var(--radius); background:var(--ground); color:var(--muted); text-align:center; line-height:1.7;}
.album-view .hint {margin-top:10px;}
.album-info {display:grid; grid-template-columns:96px minmax(0, 1fr); gap:10px 12px; margin:0; font-size:13.5px; line-height:1.5;}
.album-info dt {color:var(--muted); font-weight:600;}
.album-info dd {margin:0; overflow-wrap:anywhere;}
/* reset.css 가 밑줄을 없애서 둘레 글자와 구분이 안 된다: 본문 안의 링크만 밑줄 */
.note a, .album-info a {text-decoration:underline; text-underline-offset:2px;}
.album-process select,
.album-process input[type=text] {width:100%; margin-bottom:8px;}
.album-process-btns {display:flex; flex-wrap:wrap; gap:8px; margin-top:4px;}
.album-process .empty {padding:24px 12px;}
.album-title-btn {margin-left:10px; vertical-align:middle;}


/* ===========================
	14. rose (장미 장부, 007001)
=========================== */
/* 요약 카드 간격(.rose-summary)·검색 줄 체크 상자(.filter-check)는 11. parts 에 있다 */
/* 상세의 잔액 카드 5개 위아래 간격. 5개가 한 줄에 (1280 폭에서 자동 열 수로는 4 + 1 로 꺾인다) */
.rose-balance {grid-template-columns:repeat(5, minmax(0, 1fr)); margin:16px 0;}
/* 장부가 어긋난 값(요약의 어긋난 회원 수, 상세의 차이)과 장미가 들어오고(+ 초록) 나가는(− 빨강) 숫자 */
.rose-bad {color:var(--red);}
.rose-in {color:var(--green); font-weight:700; font-variant-numeric:tabular-nums;}
.rose-out {color:var(--red); font-weight:700; font-variant-numeric:tabular-nums;}
/* 모르는 내역 종류: 앱 지갑처럼 들어옴도 나감도 아니라서 흐린 글자로 (부호·초록·빨강 없음) */
.rose-unknown {color:var(--muted); font-weight:700; font-variant-numeric:tabular-nums;}

/* 상세 회원 카드: 닉네임 줄과 오른쪽 링크 */
.rose-member {display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:16px; padding:16px 22px;}
.rose-member-name {display:flex; flex-wrap:wrap; align-items:center; gap:8px; font-size:17px; font-weight:700;}


/* ===========================
	15. datepicker (jQuery UI 날짜 고르기)
=========================== */
/* jQuery UI 1.12.1 스크립트에 1.11.4 이미지 스프라이트 CSS(jquery-ui.css)가 붙어 있다. 그 위에 덮어쓴다.
   .ui-datepicker 밑으로만 걸어 다른 jQuery UI 부품에는 영향이 없다 (CMS 는 날짜 고르기만 쓴다).
   입력 칸 폭 .datepicker{width:150px !important}(form.css)은 건드리지 않는다. 열린 달력은 body 에 붙는 별도 상자다 */
.ui-datepicker.ui-widget {
	box-sizing:border-box; width:292px; padding:12px;
	border:1px solid var(--line); border-radius:var(--radius2);
	background:var(--surface); color:var(--ink);
	box-shadow:0 10px 28px rgba(26,33,77,.14), var(--shadow);
	font-family:inherit; font-size:13px; line-height:1.4;
}
.ui-datepicker.ui-datepicker-multi {width:auto;}

/* 머리: 남색 줄에 흰 "2026년 11월" */
.ui-datepicker .ui-datepicker-header {
	padding:0; height:40px;
	border:0; border-radius:var(--radius);
	background:var(--brand); color:#fff;
}
.ui-datepicker .ui-datepicker-title {margin:0 44px; color:#fff; font-size:14px; font-weight:700; line-height:40px; letter-spacing:0;}
/* 이전/다음: 옛 스프라이트 아이콘 대신 CSS 로 그린 화살표 */
.ui-datepicker .ui-datepicker-prev,
.ui-datepicker .ui-datepicker-next,
.ui-datepicker .ui-datepicker-prev-hover,
.ui-datepicker .ui-datepicker-next-hover {
	top:5px; width:30px; height:30px;
	border:0; border-radius:8px; background:transparent;
	cursor:pointer; transition:background-color .15s;
}
.ui-datepicker .ui-datepicker-prev,
.ui-datepicker .ui-datepicker-prev-hover {left:6px;}
.ui-datepicker .ui-datepicker-next,
.ui-datepicker .ui-datepicker-next-hover {right:6px;}
.ui-datepicker .ui-datepicker-header .ui-datepicker-prev.ui-state-hover,
.ui-datepicker .ui-datepicker-header .ui-datepicker-next.ui-state-hover {background:rgba(255,255,255,.16);}
.ui-datepicker .ui-datepicker-prev span.ui-icon,
.ui-datepicker .ui-datepicker-next span.ui-icon {background:none;} /* 글자(이전 달/다음 달)는 text-indent 로 가려 두고 읽기 도구에는 남긴다 */
.ui-datepicker .ui-datepicker-prev:after,
.ui-datepicker .ui-datepicker-next:after {
	content:''; position:absolute; top:50%; left:50%; box-sizing:border-box; width:8px; height:8px;
	border:solid #fff; border-width:2px 0 0 2px;
}
.ui-datepicker .ui-datepicker-prev:after {transform:translate(-30%, -50%) rotate(-45deg);}
.ui-datepicker .ui-datepicker-next:after {border-width:2px 2px 0 0; transform:translate(-70%, -50%) rotate(45deg);}
.ui-datepicker .ui-datepicker-prev.ui-state-disabled,
.ui-datepicker .ui-datepicker-next.ui-state-disabled {opacity:.35;}

/* 달 · 해 고르는 선택 상자(changeMonth·changeYear 를 켠 화면용): 머리 안에서 흰 바탕 */
.ui-datepicker .ui-datepicker-title select {
	width:auto; min-width:0; height:30px; margin:5px 2px; padding:0 26px 0 8px;
	border:0; border-radius:8px; color:var(--ink); font-size:13px;
	background-color:#fff; background-position:right 8px center;
}

/* 요일 줄과 날짜 칸 */
.ui-datepicker table {width:100%; margin:8px 0 0; font-size:13px; border-collapse:separate; border-spacing:0;}
.ui-datepicker th {padding:6px 0; border:0; color:var(--muted); font-size:12px; font-weight:600; text-align:center;}
.ui-datepicker td {padding:1px; border:0; text-align:center;}
/* 옛 .ui-state-default / .ui-widget-content .ui-state-default (회색 그라데이션 이미지·테두리)보다 세게 적는다 */
.ui-datepicker td span.ui-state-default,
.ui-datepicker td a.ui-state-default {
	display:block; box-sizing:border-box; height:32px; padding:0;
	border:1px solid transparent; border-radius:8px; background:transparent none;
	color:var(--ink); font-size:13px; font-weight:500; line-height:30px; text-align:center; text-decoration:none;
}
.ui-datepicker td a.ui-state-hover,
.ui-datepicker td a.ui-state-focus {border-color:transparent; background:var(--brand-soft); color:var(--brand);}
/* 오늘 */
.ui-datepicker td a.ui-state-highlight {border-color:rgba(143,100,16,.25); background:var(--amber-soft); color:var(--amber); font-weight:700;}
/* 고른 날(오늘이어도 마우스를 올려도 이쪽이 이긴다) */
.ui-datepicker td a.ui-state-active {border-color:var(--brand); background:var(--brand); color:#fff; font-weight:700;}
/* 고를 수 없는 날(minDate·maxDate 밖) */
.ui-datepicker td.ui-state-disabled span.ui-state-default {background:transparent; color:var(--muted2); opacity:.55;}

/* 아래 줄: 오늘 · 닫기 */
.ui-datepicker .ui-datepicker-buttonpane {
	margin:10px 0 0; padding:10px 0 0; border:0; border-top:1px solid var(--line);
	background:none; overflow:hidden;
}
.ui-datepicker .ui-datepicker-buttonpane button {
	float:right; width:auto; margin:0; padding:0 12px; height:30px;
	border:1px solid var(--line); border-radius:8px; background:var(--surface); color:var(--ink);
	font-size:12.5px; font-weight:600; line-height:28px; opacity:1; cursor:pointer;
}
.ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-current {float:left;}
.ui-datepicker .ui-datepicker-buttonpane button:hover {background:#FAFAF8;}
.ui-datepicker .ui-datepicker-buttonpane button.ui-priority-primary {border-color:var(--brand); background:var(--brand); color:#fff;}
.ui-datepicker .ui-datepicker-buttonpane button.ui-priority-primary:hover {background:#262E66;}


/* ===========================
	16. login (로그인 화면)
=========================== */
/* contents.css 의 .login-wrap 규칙(565px 흰 상자·밑줄 입력·없는 배경/로고 그림)을 크림 바탕 가운데 카드로 덮어쓴다.
   마크업 순서는 front_ui.js 가 기대는 그대로다: 입력 바로 다음에 라벨(input + label), 값이 있으면 입력에 .is-value */
body.login-page {min-width:0;}
.login-wrap {background:none;} /* login_bg.jpg 는 서버에 없다 */
.login-wrap .input-data {
	box-sizing:border-box; width:380px; max-width:calc(100% - 32px); padding:36px 32px 30px;
	border:1px solid var(--line); border-radius:var(--radius2); background:var(--surface);
	box-shadow:0 10px 28px rgba(26,33,77,.08), var(--shadow);
	text-align:left;
}
.login-wrap .input-data:before {display:none; content:none; background:none;} /* login_logo.png 는 서버에 없다 */

/* 위: "그때"(남색 26px/800) + "관리자 로그인"(13px 흐린 글자) */
.login-wrap .login-brand {margin-bottom:26px; text-align:center;}
.login-wrap .login-brand .logo {color:var(--brand); font-size:26px; font-weight:800; letter-spacing:-.02em; line-height:1.3;}
.login-wrap .login-brand h1 {margin:4px 0 0; color:var(--muted); font-size:13px; font-weight:400; line-height:1.4; text-align:center;}

/* 입력: 테마 입력 모양 + 떠오르는 라벨 */
.login-wrap .input-data .input-cell {position:relative; margin-top:0; padding-top:0;}
.login-wrap .input-data .input-cell + .input-cell {margin-top:16px;}
.login-wrap .input-data .input-cell input[type="text"],
.login-wrap .input-data .input-cell input[type="password"] {
	box-sizing:border-box; width:100%; height:44px; padding:0 14px;
	border:1px solid var(--line); border-radius:var(--radius); background:var(--surface);
	color:var(--ink); font-size:14px;
}
.login-wrap .input-data .input-cell input[type="text"]:focus,
.login-wrap .input-data .input-cell input[type="password"]:focus {
	outline:2px solid var(--brand-soft); border-color:var(--brand);
}
/* 라벨은 입력 안 가운데에 있다가, 입력 칸에 들어가거나 값이 있으면 위 테두리 위로 올라가 작아진다 */
.login-wrap .input-data .input-cell > label {
	position:absolute; top:22px; left:10px; margin:0; padding:0 4px;
	background:var(--surface); color:var(--muted2); font-size:14px; line-height:1;
	pointer-events:none; transform:translateY(-50%);
	transition:top .15s, font-size .15s, color .15s;
}
.login-wrap .input-data .input-cell input[type="text"]:focus + label,
.login-wrap .input-data .input-cell input[type="password"]:focus + label,
.login-wrap .input-data .input-cell input[type="text"].is-value + label,
.login-wrap .input-data .input-cell input[type="password"].is-value + label,
.login-wrap .input-data .input-cell input:-webkit-autofill + label {top:0; color:var(--brand); font-size:11.5px; font-weight:600;}

/* 아이디 저장 */
.login-wrap .check-save {margin-top:16px;}
.login-wrap .check-type01 input[type=checkbox] + label {top:auto; left:auto; color:var(--muted); font-size:13px;}

/* 로그인 버튼: 전체 폭 44px 남색 */
.login-wrap .btn-login {margin-top:18px;}
.login-wrap .btn-login button.btn-01 {display:block; width:100%; height:44px; padding:0; font-size:14px; line-height:44px;}

/* 아래 안내 */
.login-wrap .input-data ul {margin-top:20px;}
.login-wrap .input-data ul li {margin-top:0; padding-left:12px; color:var(--muted2); font-size:12px; font-weight:400; line-height:1.6;}
.login-wrap .input-data ul li:before {top:8px; background-color:var(--muted2);}


/* ===========================
	17. error (error.jsp: 403·404·500)
=========================== */
/* 로그인과 같은 크림 바탕 가운데 카드. 사이드바 틀(#wrap)이 없는 독립 화면이라 body 전체를 쓴다 */
body.error-page {min-width:0;}
.error-wrap {display:flex; align-items:center; justify-content:center; box-sizing:border-box; min-height:100vh; padding:32px 16px;}
.error-card {
	box-sizing:border-box; width:420px; max-width:100%; padding:40px 36px 36px;
	border:1px solid var(--line); border-radius:var(--radius2); background:var(--surface);
	box-shadow:0 10px 28px rgba(26,33,77,.08), var(--shadow);
	text-align:center;
}
.error-brand {color:var(--brand); font-size:18px; font-weight:800; letter-spacing:-.01em;}
.error-brand span {margin-left:4px; color:var(--muted); font-size:12px; font-weight:400;}
.error-card h1 {margin:28px 0 8px; color:var(--ink); font-size:20px; font-weight:800; line-height:1.4; letter-spacing:-.01em;}
.error-card p {color:var(--muted); font-size:13.5px; line-height:1.6;}
.error-code {margin:18px 0 24px; color:var(--muted2); font-size:12px; font-weight:600;}
.error-card .btn-01 {min-width:120px;}


/* ===========================
	18. misc (옛 마크업의 직접 지정 대체)
=========================== */
/* 관리자 등록의 메뉴 권한 묶음 이름 (화면 안 font-size:17px 를 대신) */
.menu-auth-group {color:var(--ink); font-size:15px; font-weight:700;}
/* 관리자 등록의 비밀번호 형식 안내 오류 (옛 CSS 에 규칙이 없었다) */
.error_txt {margin-top:6px; color:var(--red); font-size:12px;}
