@charset "UTF-8";
/**
 * Project Name : nCommon2026
 * Description  : Phoenix Theme 기반 공통 css
 */

/* Set Font */
@font-face {
  font-family: 'notokr';
  font-style: normal;
  font-weight: 400;
  src: local('NotoSansKR Regular'), local('NotoSansKR-Regular'), local('NotoSansKR Regular');
  src: url(/static/app/fonts/notokr-regular.woff2) format('woff2');
}
@font-face {
  font-family: 'notokr';
  font-style: normal;
  font-weight: 500;
  src: local('NotoSansKR Medium'), local('NotoSansKR-Medium'), local('NotoSansKR Medium');
  src: url(/static/app/fonts/notokr-medium.woff2) format('woff2');
}
@font-face {
  font-family: 'notokr';
  font-style: normal;
  font-weight: 700;
  src: local('NotoSansKR Bold'), local('NotoSansKR-Bold'), local('NotoSansKR Bold');
  src: url(/static/app/fonts/notokr-bold.woff2) format('woff2');
}
@font-face {
  font-family: 'IcoMoon';  
  font-style: normal;  
  font-weight: normal;
  src: url(/static/app/fonts/IcoMoon.woff) format('woff');  
}
/* ==========================================================================
  Layout & Global
   ========================================================================== */
body, html {
	font-family: 'notokr', 'Noto Sans KR', sans-serif;
	height: 100%;
	margin: 0;
	overflow: hidden;
}

.main {
	height: 100vh;
	display: flex;
	flex-direction: column;
}

.content {
	flex: 1;
	overflow-y: auto;
	padding: 6rem 1rem 0;
	height: calc(100vh - 80px);
	scrollbar-width: thin;
}

@media (min-width: 1200px) {
	.content {
		padding-left: 8.5rem !important;
		padding-right: 8.5rem !important;
	}
}

.hide { display: none !important; }

/* [#194] 게시글 상세 본문(읽기전용) — textarea 대신 div 렌더. 읽기전용 박스 룩 + 리치HTML 안전 표시 */
.cmu-content-view {
	border: 1px solid #d1d5db;
	border-radius: .375rem;
	background: #f9fafb;
	color: #374151;
	padding: .625rem .75rem;
	min-height: 12rem;
	max-height: 32rem;
	overflow-y: auto;
	word-break: break-word;
	line-height: 1.6;
}
.cmu-content-view img { max-width: 100%; height: auto; }
.cmu-content-view a { color: #2563eb; text-decoration: underline; }
.cmu-content-view p { margin: 0 0 .5rem; }

/* 관리자 게시글 상세 — 첨부 투표 집계(읽기전용). 쓰기(투표·수정·삭제) 버튼 없음 */
.cmu-poll-empty { padding: .5rem 0; }
.cmu-poll-card {
	border: 1px solid #d1d5db;
	border-radius: .375rem;
	background: #fff;
	padding: .75rem 1rem;
	margin-bottom: .75rem;
}
.cmu-poll-title { font-weight: 600; }
.cmu-poll-sttus { font-weight: 400; color: #6b7280; }
.cmu-poll-period, .cmu-poll-voters { color: #6b7280; font-size: .875rem; margin-top: .125rem; }
.cmu-poll-badge { margin-top: .375rem; margin-right: .375rem; display: inline-block; }
.cmu-poll-items { margin-top: .625rem; }
.cmu-poll-item { margin-bottom: .5rem; }
.cmu-poll-item-label { font-size: .875rem; margin-bottom: .1875rem; }
.cmu-poll-item-cnt { color: #6b7280; }
.cmu-poll-bar-bg { background: #e5e7eb; border-radius: .25rem; height: .5rem; overflow: hidden; }
.cmu-poll-bar { background: #2563eb; height: 100%; }
