@charset "UTF-8";

/*설문 설명 빨간색 세로 bar*/
.blockquote-red { padding: 10px 20px;   margin: 50px 0 20px;font-size: 14px; border-left: 5px solid #DC143C; }
.blockquote-green { padding: 10px 20px;   margin: 0px 0 10px;font-size: 14px; border-left: 5px solid #1b809e; }

.example-pd { padding: 5px 15px;}

/*설문 설명 pre태그*/
.blockquote-red pre { background-color: white !important;  border: none !important; }

/*필수답변 span*/
.mustYn { color:red; }

/*필수답변 border — [2026-07-08] 비표시 처리(사용자 요청). 단답형은 $watch 초기 실행으로 로드 직후부터
  빨간 테두리가 떠서 오답처럼 보였음. 필수답변 안내는 alert + focusInvalid() 스크롤 이동이 담당.
  JS(addClassMustBorder 등)는 클래스만 토글하고 시각 효과 없음 — 다시 켜려면 아래 주석 해제 */
/* .mustYn-border-red { border: 1px solid red !important; } */

/*entryForm의 설문참여버튼, 목록버튼*/
.btn_checkEntry, .btn_list_entryForm { vertical-align:bottom !important; }

/*이메일 lable*/
.label_email { position: absolute; text-indent: -99999px; }

/*alert div(설문참여했는지안했는지) */
.alertEntry { margin-top:20px; }

/* [2026-07-08] bootstrap.min.css 제거 보완 — 설명 pre 를 입력창(코드박스)이 아닌 본문 텍스트로 */
.survey-desc .con-box02 pre { margin:0; padding:0; background:transparent; border:0; font-family:inherit; font-size:18px; line-height:150%; letter-spacing:-0.02em; color:#747474; white-space:pre-wrap; word-break:break-word; }
/* bootstrap .text-center 대체 (내 응답 확인 영역) */
.bn-survey-confirm { text-align:center; }

/* [2026-07-08] 에디터(surveyIntro) HTML 모바일 오버플로 방지 — 고정폭 이미지·표가 화면 폭을 넘지 않게 */
.survey-app-wrap .survey-intro { overflow-x:hidden; word-break:break-word; }
.survey-app-wrap .survey-intro img { max-width:100%; height:auto; }
.survey-app-wrap .survey-intro table { max-width:100%; }

/* [2026-07-08] 퍼블 톤 정돈 — bootstrap page-header/alert 잔존 대체 (consent-box .cont 회색 박스 톤 차용) */
/* .survey-app-wrap 스코프: survey.css 는 stats(관리자 통계) 모드에도 로드되므로 응답 템플릿에만 한정 */
.survey-app-wrap .survey-title h1 { margin:0; padding:0 0 24px 0; font-weight:700; font-size:40px; line-height:120%; letter-spacing:-0.05em; color:#111; border:0; }
.alertEntry { padding:32px; background:#F5F5F5; border-radius:12px; text-align:center; }
.alertEntry strong { font-size:20px; line-height:152%; letter-spacing:-0.02em; color:#111; }
@media (max-width: 768px) {
	.survey-app-wrap .survey-title h1 { padding:0 0 16px 0; font-size:20px; }
	.alertEntry { padding:20px; }
	.alertEntry strong { font-size:16px; }
}

/*surveyForm의 목록버튼*/
.btn_list { float:right; }

/*보기 기타 input text*/
.example_etc{border:1px solid #ddd;}

/* 통계 영역 */
.areaL { width:70%;float:left; }
.areaR { width:30%; height:200px;float:left; }
/* 통계 리스트 */
.survey-list dd.number { font-size: 1.2em; font-weight: bold; color: #111; }
.survey-list dd.statistics { margin-left:50px; }
.survey-list dd.statistics a { background-color: #656d78; display: inline-block; padding:10px 20px; color: #fff; }

/* 통계 뷰 */
.examples .example:last-child { margin-bottom: 0px; }

table.surveyTable { width: 100%; }

/*척도 테이블*/
table.scaleTable { font-size :12px; margin-top: 10px; width:  100%; table-layout: fixed;}
table.scaleTable  td { text-align: center;}
/*
table.scaleTable  td:last-child  { text-align: right;}
table.scaleTable  td:first-child  { text-align: left;}
*/
	




/* [2026-07-09] solo(링크배포) 완료화면 '내 응답 PDF 저장' — 인쇄 전용 응답 요약(.survey-print-host).
   화면에서는 항상 숨기고, savePdf(controllers.js)가 블록을 body 직속으로 옮기고 body 에 survey-printing 을
   부여한 동안 인쇄 media 에서만 노출한다. 무스코프로 두면 이 CSS가 로드되는 타 모드의 일반 인쇄(Ctrl+P)가 깨진다. */
.survey-print-host { display:none; }

@page { size: A4; }

@media print {
	/* 요약 블록만 남기고 페이지 크롬(헤더/GNB/푸터 등 body 직계) 전부 숨김 */
	body.survey-printing > *:not(.survey-print-host):not(script):not(style) { display:none !important; }
	body.survey-printing .survey-print-host { display:block !important; padding:24px 8px; font-size:14px; line-height:1.6; color:#111; }

	.survey-print-host .print-title { margin:0 0 24px; padding:0 0 12px; font-size:22px; font-weight:700; color:#111; border-bottom:2px solid #111; }
	.survey-print-host .print-qa { list-style:none; margin:0; padding:0; }
	.survey-print-host .print-qa > li { margin:0 0 16px; page-break-inside:avoid; }
	.survey-print-host .print-q { margin:0 0 4px; font-weight:700; }
	.survey-print-host .print-a { margin:0; padding:2px 0 2px 12px; border-left:3px solid #ccc; white-space:pre-wrap; }
}
