@charset "UTF-8";
/* ==========================================================================
   오류 신고 레이어 — munjung/node_view_report.jspf (2026-10-28)
   --------------------------------------------------------------------------
   화면 정의 : 768 미만 전체 화면, 그 이상(태블릿 포함)은 레이어. 버튼은 스크롤 영역 아래에 붙는다(sticky)
   시안 : D:\doc\호남국학종합DB\디자인\디자인 2x JPEG 추출_오류 신고 팝업 & 이미지원문국역 여백수정본\! 오류 신고 팝업\
          Desktop(1280 → 팝업 960) · Tablet(800 → 560) · Mobile(375 → 전체 화면) · Desktop_오류 안내 · *_안내 팝업
   클래스 접두 rp- . 레이어는 열 때 body 끝으로 옮긴다 → .cv-page 스코프 밖이라 #rpLayer / #rpAlert 로 묶는다
   ★ 서브 화면은 예전 공용 CSS(input · textarea · select · button)가 같이 로드된다 → 폼 요소는 아이디 스코프로 덮는다

   [1] 레이어 · 팝업 틀   [2] 자료 정보   [3] 입력 줄   [4] 근거자료   [5] 동의 · 버튼
   [6] 안내 팝업(제출 완료 / 취소 확인 / 글자 초과)   [7] 태블릿 768~1279   [8] 모바일 ~767
   ========================================================================== */

/* [1] 레이어 · 팝업 틀 ===================================================== */
html.is-rp-open,
html.is-rp-open body{
	overflow: hidden;
}
.rp-layer,
.rp-alert{
	position: fixed;
	inset: 0;
	z-index: 2000;
	display: flex;
	padding: 40px 24px;
	box-sizing: border-box;
	overflow-y: auto;
	font-family: var(--f-sans);
	color: #000;
	text-align: left;
	word-break: keep-all;	/* 한글 낱말 중간에서 줄이 갈리지 않게 (시안 줄바꿈) */
}
.rp-alert{
	z-index: 2010;
}
.rp-layer[hidden],
.rp-alert[hidden]{
	display: none;
}
.rp-dim{
	position: fixed;
	inset: 0;
	background: rgba(0,0,0,.5);
}
.rp-pop{
	position: relative;
	width: 960px;
	max-width: 100%;
	margin: auto;
	border-radius: 20px;
	background: #fff;
	box-shadow: 0 12px 32px rgba(0,0,0,.16);
}
.rp-pop__head{
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	height: 80px;
	padding: 0 40px;
	border-radius: 20px 20px 0 0;
	background: #222;
	box-sizing: border-box;
}
.rp-pop__tit{
	margin: 0;
	padding: 0;
	font-size: 28px;
	line-height: 36px;
	font-weight: 700;
	color: #fff;
}
#rpLayer .rp-pop__close{
	flex: none;
	width: 32px;
	height: 32px;
	margin: 0 -4px 0 0;
	padding: 0;
	border: 0;
	background: url(../images/ico-close-w-24.svg) no-repeat center / 24px 24px;
	cursor: pointer;
}
.rp-pop__body{
	margin: 0;
	padding: 40px;
}
.rp-blind{
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin: -1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
}

/* 안내 한 줄 (회색 ⓘ) */
.rp-notice{
	display: flex;
	gap: 6px;
	margin: 0;
	padding: 0;
	font-size: 16px;
	line-height: 24px;
	color: #656565;
}
.rp-notice:before{
	content: "";
	flex: none;
	width: 20px;
	height: 24px;
	background: url(../images/ico-rp-info.svg) no-repeat center / 20px 20px;
}

/* 소제목 */
.rp-h{
	margin: 0;
	padding: 0;
	font-size: 20px;
	line-height: 28px;
	font-weight: 700;
	color: #000;
}

/* [2] 자료 정보 (회색 상자) ================================================== */
.rp-info-h{
	margin-top: 38px;
}
.rp-info{
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin: 10px 0 0;
	padding: 24px;
	border-radius: 12px;
	background: #f5f5f5;
}
.rp-info__row{
	display: flex;
	gap: 16px;
	min-width: 0;
	font-size: 16px;
	line-height: 24px;
}
.rp-info__row dt{
	flex: none;
	width: 100px;
	margin: 0;
	font-weight: 400;
	color: #656565;
}
.rp-info__row dd{
	flex: 1;
	min-width: 0;
	margin: 0;
	color: #000;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.rp-info__row .rp-info__name{
	font-weight: 700;
}
/* 서지 | 머리줄 사이 '|' 는 굵게 안 함 (2026-10-30 시트 65) */
.rp-info__name .rp-info__sep{
	font-weight: 400;
	white-space: pre;
}

/* "오류 신고" 머리 + 오른쪽 *필수 입력 항목, 아래 검정 1px */
.rp-sec{
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 16px;
	margin-top: 38px;
	padding-bottom: 10px;
	border-bottom: 1px solid #000;
}
.rp-sec__req{
	font-size: 14px;
	line-height: 22px;
	color: #656565;
}

/* [3] 입력 줄 — PC : 이름 180 | 칸 700 ================================== */
.rp-row{
	display: flex;
	margin-top: 32px;
}
.rp-row__lb{
	flex: none;
	width: 180px;
	margin: 0;
	padding: 0;
	font-size: 16px;
	line-height: 24px;
	font-weight: 700;
	color: #000;
}
.rp-row--sel .rp-row__lb{
	padding-top: 12px;	/* 48 칸 가운데 */
}
.rp-row__lb em{
	font-style: normal;
	color: #e74141;
}
.rp-row__lb span{
	font-weight: 400;
}
.rp-row__fd{
	flex: 1;
	min-width: 0;
}

#rpLayer .rp-select{
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	display: block;
	width: 100%;
	height: 48px;
	margin: 0;
	padding: 0 52px 0 20px;
	border: 1px solid #000;
	border-radius: 8px;
	background: #fff url('../images/ico-select-down.svg') no-repeat right 20px center / 16px 16px;
	font-family: var(--f-sans);
	font-size: 16px;
	line-height: 24px;
	color: #000;
	box-shadow: none;
	box-sizing: border-box;
	transition: none;
	cursor: pointer;
}
#rpLayer .rp-ta{
	display: block;
	width: 100%;
	height: 160px;
	margin: 0;
	padding: 12px 20px;
	border: 1px solid #000;
	border-radius: 8px;
	background: #fff;
	font-family: var(--f-sans);
	font-size: 16px;
	line-height: 24px;
	color: #000;
	box-shadow: none;
	box-sizing: border-box;
	resize: vertical;	/* 화면 정의 : 텍스트 박스 크기 조절 */
	transition: none;	/* 예전 공용 CSS 의 transition 때문에 오류 테두리가 늦게 풀린다 */
	min-height: 104px;
	outline: none;
	float: none;
	word-break: keep-all;
}
#rpLayer .rp-ta:focus,
#rpLayer .rp-select:focus{
	box-shadow: inset 0 0 0 1px #000;
	outline: none;
}
#rpLayer .rp-ta::placeholder{
	color: #989898;
	opacity: 1;
}
/* 오류 표시 : 칸 빨강 테두리 */
#rpLayer .is-err .rp-select,
#rpLayer .is-err .rp-ta{
	border-color: #e74141;
}
#rpLayer .is-err .rp-ta:focus,
#rpLayer .is-err .rp-select:focus{
	box-shadow: inset 0 0 0 1px #e74141;
}

/* 칸 아래 줄 : [도움말 또는 오류] ··· [0/1,000자] */
.rp-meta{
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
	margin-top: 8px;
	font-size: 13px;
	line-height: 20px;
	color: #656565;
}
.rp-meta__help{
	margin: 0;
	min-width: 0;
}
.rp-meta__cnt{
	flex: none;
	margin-left: auto;
	color: #000;
}
.is-err .rp-meta__help{
	display: none;
}

/* 오류 문구 (빨강 ⓘ) */
.rp-err{
	display: flex;
	gap: 8px;
	margin: 8px 0 0;
	padding: 0;
	font-size: 13px;
	line-height: 20px;
	color: #e74141;
}
.rp-err:before{
	content: "";
	flex: none;
	width: 16px;
	height: 20px;
	background: url(../images/ico-rp-err.svg) no-repeat center / 16px 16px;
}
.rp-err[hidden]{
	display: none;
}
.rp-meta .rp-err{
	margin: 0;
}

/* [4] 근거자료 =============================================================== */
.rp-files__top{
	display: flex;
	align-items: center;
	gap: 12px;
}
#rpLayer .rp-files__btn{
	flex: none;
	height: 40px;
	margin: 0;
	padding: 0 20px;
	border: 1px solid #000;
	border-radius: 8px;
	background: #fff;
	font-family: var(--f-sans);
	font-size: 14px;
	line-height: 20px;
	font-weight: 700;
	color: #000;
	cursor: pointer;
}
#rpLayer .rp-files__btn:hover{
	background: #f5f5f5;
}
.rp-files__cnt{
	font-size: 16px;
	line-height: 24px;
	color: #656565;
}
.rp-files__cnt b{
	font-weight: 700;
	color: #000;
}
.rp-files__errs{
	margin: 0;
	padding: 0;
	list-style: none;
}
.rp-files__errs .rp-err{
	margin-top: 12px;
}
.rp-files__errs li:first-child{
	margin-top: 10px;
}
.rp-files__list{
	margin: 0;
	padding: 0;
	list-style: none;
}
.rp-file{
	display: flex;
	align-items: center;
	gap: 12px;
	height: 60px;
	margin-top: 12px;
	padding: 0 8px 0 10px;
	border: 1px solid #ddd;
	border-radius: 8px;
	background: #f5f5f5;
	box-sizing: border-box;
}
.rp-file__ico{
	flex: none;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	overflow: hidden;
}
.rp-file__ico img{
	display: block;
	width: 36px;
	height: 36px;
	object-fit: cover;
}
.rp-file__ico--doc{
	background: url(../images/ico-rp-doc.svg?v=20261030) no-repeat center / 24px 24px;
}
.rp-file__name{
	min-width: 0;
	font-size: 16px;
	line-height: 24px;
	color: #000;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.rp-file__size{
	flex: none;
	padding: 0 4px;
	border: 1px solid #999;
	font-size: 12px;
	line-height: 18px;
	color: #656565;
}
#rpLayer .rp-file__del{
	flex: none;
	width: 40px;
	height: 40px;
	margin: 0 0 0 auto;
	padding: 0;
	border: 0;
	background: url(../images/ico-close-16.svg) no-repeat center / 14px 14px;
	cursor: pointer;
}
.rp-files__note{
	margin: 16px 0 0;
	padding: 0;
	list-style: none;
	font-size: 13px;
	line-height: 22px;
	color: #656565;
}
.rp-files__note li:before{
	content: "※ ";
}
/* 오류가 났을 땐 안내 대신 오류만 (시안 Desktop_오류 안내) */
.is-err .rp-files__note{
	display: none;
}

/* [5] 동의 · 버튼 =========================================================== */
.rp-agree{
	display: flex;
	gap: 16px;
	margin-top: 32px;
	padding: 24px 24px 20px;
	border-radius: 12px;
	background: #fff6ed;
}
.rp-agree.is-err{
	box-shadow: inset 0 0 0 1px #e74141;	/* 테두리를 쓰면 상자가 2px 커진다 */
}
#rpLayer .rp-agree__chk{
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	flex: none;
	width: 20px;
	height: 20px;
	margin: 2px 0 0;
	padding: 0;
	border: 1px solid #999;
	border-radius: 4px;
	background: #f5f5f5;
	box-sizing: border-box;
	cursor: pointer;
}
#rpLayer .rp-agree__chk:checked{
	border-color: #000;
	background: #000 url(../images/ico-check-w.svg) no-repeat center / 12px 10px;
}
#rpLayer .rp-agree__chk:focus-visible{
	outline: 2px solid #000;
	outline-offset: 2px;
}
.rp-agree__body{
	min-width: 0;
}
.rp-agree__tit{
	display: block;
	font-size: 16px;
	line-height: 24px;
	font-weight: 700;
	color: #000;
	cursor: pointer;
}
.rp-agree__tit em{
	font-style: normal;
	color: #e74141;
}
.rp-agree__list{
	margin: 0 0 0 -4px;
	padding: 0;
	list-style: none;
	font-size: 14px;
	line-height: 28px;
	color: #222;
}
.rp-agree__list li{
	position: relative;
	padding-left: 8px;
}
.rp-agree__list li:before{
	content: "·";
	position: absolute;
	left: 0;
	top: 0;
}
.rp-agree-err{
	margin-top: 8px;
}

.rp-foot{
	/* 스크롤 영역(.rp-layer) 아래에 붙는다. 붙었을 때 위로 16 여백 → 평소엔 동의 상자와 24+16 = 40 (시안)
	   bottom 은 레이어 아래 여백(40)만큼 내려야 화면 바닥에 닿는다 (sticky 는 스크롤 영역의 padding 안쪽 기준) */
	position: sticky;
	bottom: -40px;
	z-index: 1;
	display: flex;
	justify-content: center;
	gap: 12px;
	margin: 24px -40px -40px;
	padding: 16px 40px 40px;
	border-radius: 0 0 20px 20px;
	background: #fff;
}
#rpLayer .rp-btn,
#rpAlert .rp-btn{
	min-width: 80px;
	height: 48px;
	margin: 0;
	padding: 0 16px;
	border: 1px solid #000;
	border-radius: 6px;
	background: #fff;
	font-family: var(--f-sans);
	font-size: 16px;
	line-height: 24px;
	font-weight: 700;
	color: #000;
	cursor: pointer;
}
#rpLayer .rp-btn:hover,
#rpAlert .rp-btn:hover{
	background: #f5f5f5;
}
#rpLayer .rp-btn--go,
#rpAlert .rp-btn--go{
	background: #111;
	border-color: #111;
	color: #fff;
}
#rpLayer .rp-btn--go:hover,
#rpAlert .rp-btn--go:hover{
	background: #333;
}

/* [6] 안내 팝업 — 440 · 모서리 20 · 아이콘 40 → 제목 20 → 설명 14/20 → 버튼 120x48 ====== */
.rp-alert__box{
	position: relative;
	width: 440px;
	max-width: 100%;
	margin: auto;
	padding: 32px 24px;
	border-radius: 20px;
	background: #fff;
	box-sizing: border-box;
	text-align: center;
	box-shadow: 0 12px 32px rgba(0,0,0,.16);
}
.rp-alert__ico{
	display: block;
	width: 40px;
	height: 40px;
	margin: 0 auto;
	background: url(../images/ico-rp-done.svg) no-repeat center / 40px 40px;
}
.rp-alert__ico--warn{
	background-image: url(../images/ico-rp-warn.svg);
}
.rp-alert__tit{
	margin: 8px 0 0;
	padding: 0;
	font-size: 20px;
	line-height: 28px;
	font-weight: 700;
	color: #212121;
	word-break: keep-all;
}
.rp-alert__desc{
	margin: 6px 0 0;
	padding: 0;
	font-size: 14px;
	line-height: 20px;
	color: #212121;
	word-break: keep-all;
}
.rp-alert__btns{
	display: flex;
	justify-content: center;
	gap: 12px;
	margin-top: 24px;
}
#rpAlert .rp-alert__btns .rp-btn{
	width: 120px;
}

/* [7] 태블릿 768~1279 — 팝업 560, 이름은 칸 위로 ========================== */
@media screen and (max-width: 1279px){
	.rp-pop{
		width: 560px;
	}
	.rp-pop__head{
		height: 76px;
	}
	.rp-pop__tit{
		font-size: 24px;
		line-height: 32px;
	}
	.rp-info-h,
	.rp-sec{
		margin-top: 28px;
	}
	.rp-row{
		display: block;
		margin-top: 28px;
	}
	.rp-row__lb,
	.rp-row--sel .rp-row__lb{
		display: block;
		width: auto;
		padding: 0;
		margin-bottom: 12px;
	}
	/* 파일 선택 단추가 줄을 채우고 개수는 오른쪽 */
	#rpLayer .rp-files__btn{
		flex: 1;
		height: 48px;
	}
	.rp-files__top{
		gap: 16px;
	}
	.rp-agree{
		margin-top: 32px;
	}
}

/* [8] 모바일 ~767 — 전체 화면 (화면 정의 : 768 미만) ======================== */
@media screen and (max-width: 767px){
	/* flex 를 풀어야 팝업이 화면 높이로 늘어나 내용이 넘칠 때 바탕이 끊기지 않는다 */
	.rp-layer{
		display: block;
		padding: 0;
	}
	.rp-layer[hidden]{
		display: none;
	}
	.rp-pop{
		width: 100%;
		min-height: 100%;
		margin: 0;
		border-radius: 0;
		box-shadow: none;
	}
	.rp-pop__head{
		height: 62px;
		padding: 0 24px;
		border-radius: 0;
	}
	.rp-pop__tit{
		font-size: 20px;
		line-height: 28px;
	}
	.rp-pop__body{
		padding: 40px 24px;
	}
	.rp-foot{
		bottom: 0;	/* 전체 화면 : 레이어 여백 0 */
		margin: 24px -24px -40px;
		padding: 16px 24px 40px;
		border-radius: 0;
	}
	.rp-info{
		gap: 8px;
		padding: 12px 14px;
	}
	.rp-info__row{
		gap: 12px;
	}
	.rp-info__row dt{
		width: 62px;
	}
	.rp-info__row dd{
		white-space: normal;
		word-break: break-all;
	}
	/* 자료 URL 은 모바일도 한 줄 말줄임 — 긴 URL 로 팝업 스크롤이 길어지지 않게 (2026-10-29 시트 56) */
	.rp-info__row .rp-info__url{
		white-space: nowrap;
	}
	.rp-agree{
		padding: 24px 20px 20px 24px;
	}
	.rp-alert{
		padding: 24px;
	}
	.rp-alert__box{
		padding: 28px 20px;
	}
}
