/* ==========================================================================
   isinsight CMS - small parts the CMS puts inside a theme page
   (px units only: the root font size belongs to the theme; accent = --brand)
   ========================================================================== */

/* ===== Page is being prepared ===== */
.cms-preparing {
	padding: 120px 20px;
	text-align: center;
}

.cms-preparing h3 {
	font-size: 28px;
	font-weight: 600;
	line-height: 1.4;
	color: #1F2937;
}

.cms-preparing p {
	margin-top: 8px;
	font-size: 15px;
	color: #9CA3AF;
}

@media (max-width: 767px) {
	.cms-preparing {
		padding: 80px 10px;
	}

	.cms-preparing h3 {
		font-size: 22px;
	}
}

/* ===== Wrapper of a page that has its own CSS (keeps the layout of the theme) ===== */
.cms-page {
	display: contents;
}

/* ==========================================================================
   Board skins on a real site (added to css/skins.css; markup from the site program)
   ========================================================================== */

/* ===== Real pictures in the thumbnail boxes ===== */
.sk-root .th img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .35s ease;
}

.sk-root .tg a:hover .th img,
.sk-root .wz-list a:hover .th img {
	transform: scale(1.04);
}

.sk-root .gv-img img {
	object-fit: contain;
	background: #F3F4F6;
}

.sk-root .th.ct-paper.is-img img {
	object-fit: contain;
	padding: 4%;
}

/* The skin sits inside the theme: no own background */
.sk-root .site {
	background: transparent;
}

/* ===== Video: picture first, the player after a press ===== */
.sk-root button.vo-player {
	position: relative;
	width: 100%;
	border: 0;
	overflow: hidden;
	cursor: pointer;
}

.sk-root .vo-player img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: .82;
}

.sk-root .vo-player .vo-big {
	position: relative;
}

.sk-root .vo-frame {
	margin-top: 28px;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	border-radius: 12px;
	background: #151A23;
}

.sk-root .vo-frame iframe {
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
}

/* ===== Links that stand where the mockup had buttons ===== */
.sk-root a.cal-day,
.sk-root a.wk-h {
	text-decoration: none;
}

.sk-root .wk-strip button {
	cursor: pointer;
}

/* ===== Write form: problems, hidden field for robots ===== */
.sk-root .wr-err {
	margin-bottom: 16px;
	padding: 14px 18px;
	border: 1px solid #F1B5AE;
	border-radius: 8px;
	background: #FEF3F2;
	font-size: 15px;
	color: #B42318;
}

.sk-root .wr-err ul {
	margin: 0;
	padding-left: 18px;
}

.sk-root .msg strong {
	font-weight: normal;
	color: #B42318;
}

.cms-hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

/* ===== Certificate zoom: over the whole window (the page behind is not locked) ===== */
.sk-root .cz {
	position: fixed;
	z-index: 9000;
	overflow-y: auto;
	overscroll-behavior: contain;
}

.sk-root .cz[hidden] {
	display: none;
}

.sk-root .cz-in {
	position: static;
}

@media (prefers-reduced-motion: reduce) {
	.sk-root .th img {
		transition: none;
	}

	.sk-root .tg a:hover .th img,
	.sk-root .wz-list a:hover .th img {
		transform: none;
	}
}

/* ==========================================================================
   Screens drawn with css/member.css (inquiry, members ...) inside a theme page
   ========================================================================== */
div.cm-root > .site {
	display: block;
	min-height: 0;
	background: transparent;
}

.cm-root .fm-files-picked {
	margin-top: 8px;
	font-size: 14px;
	color: var(--fm-sub);
}

.cm-root .fm-drop input[type="file"] {
	position: absolute;
	width: 1px;
	height: 1px;
	opacity: 0;
}

.cm-root .iq-v-a + .iq-v-a {
	margin-top: 16px;
}

.cm-root button.fm-btn {
	font: inherit;
	cursor: pointer;
}

.cm-root button.fm-btn:disabled {
	opacity: .5;
	cursor: default;
}

/* ===== Members ===== */
/* Join steps: as many columns as steps (3 while there is only the ID log-in) */
.cm-root .fm-steps.is-3 {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cm-root .fm-my-body > .fm-msg,
.cm-root .fm-my-body > .fm-alert {
	margin-bottom: 20px;
}

.cm-root form.fm-btns {
	margin-top: 16px;
}

.cm-root .fm-req + .fm-sec {
	margin-top: 32px;
}

/* ===== Policy texts (policy/privacy ...) ===== */
.cms-policy {
	max-width: 1280px;
	margin: 0 auto;
	font-size: 16px;
	line-height: 1.8;
	color: #3A414D;
	word-break: keep-all;
}

.cms-policy-meta {
	margin-bottom: 32px;
	padding-bottom: 16px;
	border-bottom: 1px solid #E3E6EB;
	font-size: 14px;
	color: #6B7280;
}

.cms-policy-body h4 {
	margin: 40px 0 12px;
	font-size: 18px;
	color: #1D232E;
}

.cms-policy-body h4:first-child {
	margin-top: 0;
}

.cms-policy-body p + p,
.cms-policy-body p + ul,
.cms-policy-body ul + p {
	margin-top: 12px;
}

.cms-policy-body ul {
	padding-left: 20px;
	list-style: disc;
}

.cms-policy-body li + li {
	margin-top: 6px;
}

.cms-policy-note {
	margin-top: 32px;
	font-size: 14px;
	color: #6B7280;
}

.cms-policy-past {
	margin-top: 56px;
	padding: 24px 28px;
	border: 1px solid #E3E6EB;
	border-radius: 10px;
}

.cms-policy-past h4 {
	margin-bottom: 12px;
	font-size: 16px;
	color: #1D232E;
}

.cms-policy-past li + li {
	margin-top: 6px;
}

.cms-policy-past a {
	font-size: 14px;
	color: #3A414D;
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* ===== Popups ===== */
.cm-root .fp-pop img {
	display: block;
	width: 100%;
	height: auto;
	max-height: 70vh;
	object-fit: contain;
	background: #fff;
}

.cm-root .fp-pic.is-text {
	height: auto;
	min-height: 240px;
	background: var(--brand);
	color: var(--brand-ink);
}

.cm-root .fp-pic.is-text p {
	margin-top: 12px;
	font-size: 15px;
	line-height: 1.6;
}

@media (min-width: 768px) {
	.cm-root .is-mo-only {
		display: none;
	}
}

@media (max-width: 767px) {
	.cm-root .is-pc-only {
		display: none;
	}
}

/* ===== Map ({{map}}) ===== */
div.cm-root .fmap iframe { display: block; width: 100%; height: 100%; border: 0; }
div.cm-root .fmap.is-none { height: 180px; background: var(--fm-soft); }
div.cm-root .fmap.is-none .fmap-pin { top: 62%; }
div.cm-root .fmap.is-kakao { background: var(--fm-soft); }
div.cm-root .fmap.is-kakao.is-on { background: none; }
div.cm-root .fmap-links button { cursor: pointer; }

/* ===== Page bottom (option) ===== */
div.cm-root .pb-go { height: 40px; padding: 0 18px; }
div.cm-root .pb-go[hidden] { display: none; }
div.cm-root .fx-row[hidden] { display: none; }
div.cm-root .pb-ta .cnt i { font-style: normal; }

/* ===== Search results (program) ===== */
div.cm-root .sr-note {
	margin: 16px 0 0;
	font-size: 14px;
	color: var(--fm-muted, #6B7280);
}

/* ===== 3rd menu above the page body (CMS menu.third · basic look) ===== */
.cms-tab3 {
	margin: 0 0 40px;
}

.cms-tab3 ul {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.cms-tab3 a {
	display: block;
	padding: 12px 22px;
	border: 1px solid #D9DDE3;
	border-radius: 8px;
	font-size: 16px;
	line-height: normal;
	color: #3A414D;
	text-decoration: none;
	background: #FFFFFF;
}

.cms-tab3 a:hover,
.cms-tab3 a:focus-visible {
	border-color: var(--brand, #1F2937);
	color: var(--brand, #1F2937);
}

.cms-tab3 a[aria-current="page"] {
	border-color: var(--brand, #1F2937);
	font-weight: 700;
	color: var(--brand-ink, #FFFFFF);
	background: var(--brand, #1F2937);
}

/* ===== Inquiry form of the design: what the CMS adds (errors from the server) ===== */
.cms-form-alert {
	margin: 0 0 24px;
	padding: 16px 20px;
	border: 1px solid #F1B5B5;
	border-radius: 8px;
	font-size: 15px;
	line-height: 1.6;
	color: #B42318;
	background: #FEF3F2;
}

.cms-form-alert b {
	display: block;
	margin: 0 0 4px;
}

.cms-form-alert ul {
	margin: 0;
	padding: 0 0 0 18px;
}

/* ===== Popups by place (PC): left / right top corners; one group at a time on small screens ===== */
div.cm-root .fp-pops.is-left { left: 24px; transform: none; }
div.cm-root .fp-pops.is-right { left: auto; right: 24px; transform: none; }

@media (max-width: 1024px) {
	div.cm-root .fp-pops + .fp-pops { display: none; }
}

@media (max-width: 640px) {
	div.cm-root .fp-pops.is-left,
	div.cm-root .fp-pops.is-right { left: 16px; right: 16px; }
}

/* ===== 원문 링크 under a post ===== */
.sk-root .vd-src { margin: 24px 0 0; }
.sk-root .vd-src a { display: inline-flex; align-items: center; gap: 6px; padding: 10px 16px; border: 1px solid #D5D9E0; border-radius: 8px; color: #2B313C; font-size: 15px; }
.sk-root .vd-src a:hover { border-color: var(--brand, #2B313C); color: var(--brand-ink, #111); }
.sk-root .vd-src svg { width: 14px; height: 14px; }

/* ===== File field of a visitor post ===== */
.sk-root .wr-file {
	display: block;
	width: 100%;
	padding: 12px 14px;
	border: 1px dashed #C9CED6;
	border-radius: 8px;
	background: #FAFBFC;
	font-size: 15px;
	color: #3A414D;
}

/* ===== A visitor post kept for review: notice above the list ===== */
.bd-held {
	max-width: 1280px;
	margin: 0 auto 24px;
	padding: 16px 20px;
	border: 1px solid #E3E6EB;
	border-radius: 10px;
	background: #F7F8FA;
	color: #3A414D;
	font-size: 15px;
	line-height: 1.6;
}

/* ===== Comments under a post ===== */
.sk-root .bcm {
	margin-top: 48px;
	padding-top: 32px;
	border-top: 2px solid var(--sk-text, #1F2430);
}
.sk-root .bcm h3 {
	font-size: 18px;
	font-weight: 700;
}
.sk-root .bcm h3 b {
	color: var(--brand-text, var(--brand));
}
.sk-root .bcm-none {
	padding: 24px 0;
	color: var(--sk-faint, #8A919E);
	font-size: 15px;
}
.sk-root .bcm-list {
	margin-top: 16px;
}
.sk-root .bcm-list > li {
	padding: 20px 0;
	border-bottom: 1px solid var(--sk-line, #E6E8EC);
}
.sk-root .bcm-who {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 12px;
	font-size: 15px;
}
.sk-root .bcm-who time {
	font-size: 13px;
	color: var(--sk-faint, #8A919E);
}
.sk-root .bcm-tag {
	padding: 2px 8px;
	border: 1px solid var(--sk-line-strong, #D5D9E0);
	border-radius: 6px;
	font-size: 12px;
	line-height: normal;
}
.sk-root .bcm-txt {
	margin-top: 8px;
	font-size: 15px;
	line-height: 1.7;
	overflow-wrap: anywhere;
}
.sk-root .bcm-del {
	display: flex;
	justify-content: flex-end;
	gap: 8px;
	margin-top: 12px;
}
.sk-root .bcm-del .wr-in {
	width: 180px;
	height: 38px;
}
.sk-root .btn-sk.sm {
	min-width: 0;
	height: 38px;
	padding: 0 16px;
	font-size: 14px;
}
.sk-root .bcm-form {
	display: grid;
	gap: 12px;
	margin-top: 24px;
}
.sk-root .bcm-two {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
	max-width: 560px;
}
.sk-root .bcm-form textarea.wr-in {
	height: 120px;
	padding: 12px 14px;
	line-height: 1.6;
	resize: vertical;
}
.sk-root .bcm-foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}
.sk-root .bcm-as {
	font-size: 14px;
	color: var(--sk-sub, #5B6472);
}
/* Replies (one step) · 회원만 댓글 */
.sk-root .bcm-re {
	margin-top: 10px;
}
.sk-root .bcm-re > summary {
	display: inline-flex;
	align-items: center;
	height: 32px;
	padding: 0 12px;
	border: 1px solid var(--sk-line-strong, #D5D9E0);
	border-radius: 6px;
	font-size: 13px;
	line-height: normal;
	cursor: pointer;
	list-style: none;
}
.sk-root .bcm-re > summary::-webkit-details-marker {
	display: none;
}
.sk-root .bcm-re[open] > summary {
	border-color: var(--sk-text, #1F2430);
}
.sk-root .bcm-form.is-reply {
	margin-top: 12px;
	padding: 16px;
	border-radius: 8px;
	background: var(--sk-bg-soft, #F6F7F9);
}
.sk-root .bcm-replies {
	margin-top: 16px;
	padding-left: 24px;
	border-left: 2px solid var(--sk-line, #E6E8EC);
}
.sk-root .bcm-replies > li + li {
	margin-top: 16px;
	padding-top: 16px;
	border-top: 1px solid var(--sk-line, #E6E8EC);
}
.sk-root .bcm-re-mark {
	width: 10px;
	height: 10px;
	border-left: 1.5px solid var(--sk-faint, #8A919E);
	border-bottom: 1.5px solid var(--sk-faint, #8A919E);
}
.sk-root .bcm-list > li.is-gone > .bcm-txt {
	margin-top: 0;
	color: var(--sk-faint, #8A919E);
}
.sk-root .bcm-login {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-top: 24px;
	padding: 18px 20px;
	border-radius: 8px;
	background: var(--sk-bg-soft, #F6F7F9);
	font-size: 15px;
}
@media (max-width: 640px) {
	.sk-root .bcm-replies {
		padding-left: 14px;
	}
	.sk-root .bcm-two {
		grid-template-columns: 1fr;
	}
	.sk-root .bcm-foot {
		flex-direction: column;
		align-items: stretch;
	}
	.sk-root .bcm-del .wr-in {
		flex: 1;
		width: auto;
	}
}

/* ---------------------------------------------------------------------
   AI 상담 window (Front/AiChat.php) - member.css draws it, these only add what the program needs
   (cms.css loads before member.css, so rules here are one step stronger: div.cm-root …)
--------------------------------------------------------------------- */
div.cm-root .fc[hidden],
div.cm-root .fc-tip[hidden] { display: none; }
div.cm-root .fc-wrap.is-left .fc { right: auto; left: 32px; }
div.cm-root .fc-wrap.is-left .fc-fab { right: auto; left: 32px; }
div.cm-root .fc-wrap.is-left .fc-tip { right: auto; left: 108px; border-bottom-right-radius: 14px; border-bottom-left-radius: 4px; }
div.cm-root .fc-msg.is-bot .fc-ask { margin-top: 12px; }
div.cm-root .fc-ask-err { font-size: 12px; line-height: 1.5; color: var(--fm-bad); }
div.cm-root .fc-ask-err[hidden] { display: none; }
div.cm-root .fc-fb button[aria-pressed="true"] { border-color: var(--brand-text); color: var(--brand-text); }
div.cm-root .fc-fb button:disabled { cursor: default; }
div.cm-root .fc-fb button:disabled:not([aria-pressed="true"]) { opacity: .55; }
div.cm-root .fc-qs button { cursor: pointer; }
div.cm-root .fc-fab { cursor: pointer; }

@media (max-width: 640px) {
	div.cm-root .fc-wrap.is-left .fc { right: 12px; left: 12px; }
	div.cm-root .fc-wrap.is-left .fc-fab { left: 16px; }
	div.cm-root .fc-wrap.is-left .fc-tip { right: 16px; left: 84px; }
}

/* 여러 팝업을 한 창에서 넘겨 보기 (C-65) · the 이전 / 다음 pills sit on the top right corner (publishing member.css .fp-slide-nav) */
div.cm-root .fp-pops.is-slide .fp-pop.is-off {
	display: none;
}
div.cm-root .fp-pops.is-slide .fp-pop:not(.is-off):not([hidden]) {
	display: block;
}
div.cm-root .fp-slide-nav {
	z-index: 1;
	color: #FFFFFF;
}
div.cm-root .fp-slide-nav[hidden] {
	display: none;
}
div.cm-root .fp-slide-nav button {
	cursor: pointer;
}
div.cm-root .fp-slide-nav button:focus-visible {
	outline: 2px solid #FFFFFF;
	outline-offset: 2px;
}

/* 통합 검색: post pictures · 많이 찾는 말 (C-71) */
div.cm-root .sr-th img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
div.cm-root .sr-empty .fm-btns {
	justify-content: center;
	margin-top: 28px;
}
div.cm-root .sr-pop {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 10px 14px;
	margin-top: 32px;
	font-size: 14px;
}
div.cm-root .sr-pop b {
	font-weight: normal;
	color: var(--fm-faint, #8A919E);
}
div.cm-root .sr-pop ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}
div.cm-root .sr-pop a {
	display: inline-flex;
	align-items: center;
	height: 34px;
	padding: 0 14px;
	border: 1px solid var(--fm-line, #E6E8EC);
	border-radius: 8px;
	line-height: normal;
	color: var(--fm-sub, #5B6472);
}
div.cm-root .sr-pop a:hover {
	border-color: var(--fm-ink, #1F2430);
	color: var(--fm-ink, #1F2430);
}

/* ===== 바로가기 버튼 (Quick links · 보완 C-4) ===== */
div.cm-root .qb { position: fixed; right: 32px; bottom: 32px; z-index: 45; }
div.cm-root .qb.is-left { right: auto; left: 32px; }
body:has(.fc-wrap:not(.is-left)) div.cm-root .qb.is-right { right: 36px; bottom: 108px; }
body:has(.fc-wrap.is-left) div.cm-root .qb.is-left { left: 36px; bottom: 108px; }
div.cm-root .qb-list { display: flex; flex-direction: column; gap: 8px; margin: 0; padding: 0; list-style: none; }
div.cm-root .qb-btn { position: relative; display: flex; align-items: center; justify-content: center; width: 52px; height: 52px; border: 1px solid #E2E5EA; border-radius: 50%; background: #fff; color: #2B313B; text-decoration: none; box-shadow: 0 4px 14px rgba(17, 24, 39, .1); }
div.cm-root .qb-btn svg.ic { width: 22px; height: 22px; }
div.cm-root .qb-btn span { position: absolute; top: 50%; right: calc(100% + 10px); padding: 6px 10px; border-radius: 8px; background: #2B313B; font-size: 13px; line-height: normal; color: #fff; white-space: nowrap; opacity: 0; pointer-events: none; transform: translateY(-50%); transition: opacity .15s; }
div.cm-root .qb.is-left .qb-btn span { right: auto; left: calc(100% + 10px); }
div.cm-root .qb-btn:hover span,
div.cm-root .qb-btn:focus-visible span { opacity: 1; }
div.cm-root .qb-btn:hover,
div.cm-root .qb-btn:focus-visible { border-color: var(--brand); color: var(--brand); }
div.cm-root .qb-btn.is-kakao { border-color: #FEE500; background: #FEE500; color: #191919; }
@media (max-width: 767px) {
	div.cm-root .qb { right: 16px; bottom: 16px; }
	div.cm-root .qb.is-left { left: 16px; }
	body:has(.fc-wrap:not(.is-left)) div.cm-root .qb.is-right { right: 21px; bottom: 84px; }
	body:has(.fc-wrap.is-left) div.cm-root .qb.is-left { left: 21px; bottom: 84px; }
	div.cm-root .qb-btn { width: 46px; height: 46px; }
	div.cm-root .qb-btn span { display: none; }
	/* Bar along the bottom of a phone (처음 값) */
	div.cm-root .qb.is-m-bar { right: 0 !important; bottom: 0 !important; left: 0 !important; padding-bottom: env(safe-area-inset-bottom); border-top: 1px solid #E2E5EA; background: #fff; box-shadow: 0 -4px 14px rgba(17, 24, 39, .06); }
	div.cm-root .qb.is-m-bar .qb-list { flex-direction: row; gap: 0; }
	div.cm-root .qb.is-m-bar li { flex: 1 1 0; min-width: 0; }
	div.cm-root .qb.is-m-bar .qb-btn { flex-direction: column; gap: 3px; width: 100%; height: 58px; border: 0; border-radius: 0; background: none; box-shadow: none; }
	div.cm-root .qb.is-m-bar .qb-btn.is-kakao { background: none; color: #2B313B; }
	div.cm-root .qb.is-m-bar .qb-btn span { position: static; display: block; padding: 0; background: none; font-size: 12px; color: inherit; opacity: 1; transform: none; overflow: hidden; max-width: 100%; text-overflow: ellipsis; }
	body:has(.qb.is-m-bar) { padding-bottom: 58px; }
	body:has(.qb.is-m-bar) .fc-fab { bottom: 74px !important; }
	body:has(.qb.is-m-bar) .fc { bottom: 140px !important; }
	body:has(.qb.is-m-bar) .fp-band { bottom: 58px; }
}

/* ===== 보기 설정 (Display settings · 보완 H-2): text size · high contrast, chosen by the visitor ===== */
div.cm-root .qb-btn.is-view { cursor: pointer; font: inherit; }
div.cm-root .qv { position: absolute; right: calc(100% + 14px); bottom: 0; width: 290px; padding: 18px 20px 20px; border: 1px solid #E2E5EA; border-radius: 14px; background: #fff; box-shadow: 0 8px 28px rgba(17, 24, 39, .16); color: #2B313B; }
div.cm-root .qb.is-left .qv { right: auto; left: calc(100% + 14px); }
div.cm-root .qv[hidden] { display: none; }
div.cm-root .qv-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; font-size: 16px; }
div.cm-root .qv-x { display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; margin-right: -6px; border: 0; border-radius: 8px; background: none; color: #6B7280; cursor: pointer; }
div.cm-root .qv-x svg.ic { width: 18px; height: 18px; }
div.cm-root .qv-set { margin: 0 0 14px; padding: 0; border: 0; }
div.cm-root .qv-set legend { margin-bottom: 8px; padding: 0; font-size: 14px; font-weight: 700; color: #3A414D; }
div.cm-root .qv-opts { display: flex; gap: 6px; }
div.cm-root .qv-opt { flex: 1 1 0; position: relative; }
div.cm-root .qv-opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
div.cm-root .qv-opt span { display: flex; align-items: center; justify-content: center; height: 40px; border: 1px solid #D5D9E0; border-radius: 8px; font-size: 14px; line-height: normal; cursor: pointer; }
div.cm-root .qv-opt input:checked + span { border-color: var(--brand); background: var(--brand); color: var(--brand-ink); font-weight: 700; }
div.cm-root .qv-opt input:focus-visible + span { outline: 2px solid var(--brand); outline-offset: 2px; }
div.cm-root .qv-reset { width: 100%; height: 40px; border: 1px solid #D5D9E0; border-radius: 8px; background: #fff; font-size: 14px; line-height: normal; color: #3A414D; cursor: pointer; }
@media (max-width: 767px) {
	div.cm-root .qv { position: fixed; right: 12px; bottom: 74px; left: 12px; width: auto; }
	div.cm-root .qb.is-left .qv { right: 12px; left: 12px; }
	body:has(.fc-fab) div.cm-root .qv { bottom: 142px; }
	div.cm-root .qb.is-m-float .qv { bottom: 16px; right: 74px; }
}

/* The choice on the whole page (zoom keeps the design's own sizes in step) */
html.isc-fs-1 body { zoom: 1.12; }
html.isc-fs-2 body { zoom: 1.25; }
html.isc-hc body,
html.isc-hc body *:not(img):not(svg):not(svg *):not(video):not(iframe):not(picture) { border-color: #fff !important; background-color: #000 !important; background-image: none !important; box-shadow: none !important; text-shadow: none !important; color: #fff !important; }
html.isc-hc body a,
html.isc-hc body a *:not(img):not(svg):not(svg *) { color: #FFEB3B !important; }
html.isc-hc body a { text-decoration: underline !important; }
/* Empty boxes are usually drawn lines (menu button bars, dots): drawn in white so they stay visible */
html.isc-hc body *:empty:not(img):not(svg):not(svg *):not(video):not(iframe):not(input):not(textarea):not(select):not(br):not(hr) { background-color: currentColor !important; }
html.isc-hc body :focus-visible { outline: 3px solid #FFEB3B !important; outline-offset: 2px; }
html.isc-hc div.cm-root .qv-opt input:checked + span { background: #FFEB3B !important; color: #000 !important; }

/* ===== 쿠키 · 분석 도구 안내 (Cookie notice · 보완 H-3) ===== */
div.cm-root .ckb { position: fixed; bottom: 24px; left: 24px; z-index: 60; display: flex; flex-direction: column; gap: 12px; width: min(420px, calc(100vw - 48px)); padding: 18px 20px; border: 1px solid #E2E5EA; border-radius: 14px; background: #fff; box-shadow: 0 8px 28px rgba(17, 24, 39, .14); }
body:has(.qb.is-left) div.cm-root .ckb { right: 24px; left: auto; }
div.cm-root .ckb-txt { display: flex; gap: 8px; margin: 0; font-size: 14px; line-height: 1.6; color: #3A414D; }
div.cm-root .ckb-txt svg.ic { flex: none; width: 18px; height: 18px; margin-top: 3px; color: #6B7280; }
div.cm-root .ckb-txt a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
div.cm-root .ckb-btns { display: flex; justify-content: flex-end; gap: 8px; }
div.cm-root .ckb-btn { min-width: 72px; height: 38px; padding: 0 16px; border: 1px solid var(--brand); border-radius: 8px; background: var(--brand); font-size: 14px; line-height: normal; color: var(--brand-ink); cursor: pointer; }
div.cm-root .ckb-btn.is-line { border-color: #C9CED6; background: #fff; color: #3A414D; }
@media (max-width: 767px) {
	div.cm-root .ckb { right: 12px; bottom: 12px; left: 12px; width: auto; }
	body:has(.qb.is-m-bar) div.cm-root .ckb { bottom: 70px; }
}

/* =====================================================================
   Forms of 폼 관리 (보완 C-1): "기타" written by hand · a form inside a page
   ===================================================================== */
div.cm-root .fm-other { display: block; max-width: 420px; margin-top: 10px; }
div.cm-root .fm-choice.is-err { padding: 8px 10px; border-radius: 8px; outline: 1px solid var(--fm-bad); }
div.cm-root .fm-agree-box.is-err { outline: 1px solid var(--fm-bad); }
.cms-page div.cm-root, .sub-content div.cm-root { margin-top: 32px; }
div.cm-root .fm-drop.is-err { border-color: var(--fm-bad); }

/* ----- 마이페이지 > 출자 · 배당 (협동조합 사이트) ----- */
div.cm-root .cp-sum { margin: 0 0 40px; }
div.cm-root .cp-sum + .fm-sec, div.cm-root .cp-sum ~ .fm-sec + .fm-sec { margin-top: 40px; }
div.cm-root .cp-sum dd b { font-size: 18px; color: var(--fm-ink); }
div.cm-root .cp-scroll { overflow-x: auto; margin-top: 4px; border-top: 2px solid var(--fm-ink); }
div.cm-root .cp-table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 15px; }
div.cm-root .cp-table th,
div.cm-root .cp-table td { padding: 12px 10px; border-bottom: 1px solid var(--fm-line); text-align: center; white-space: nowrap; color: var(--fm-ink); }
div.cm-root .cp-table thead th { background: #F7F8FA; font-weight: normal; color: var(--fm-sub); }
div.cm-root .cp-table tbody th { font-weight: bold; }
div.cm-root .cp-table .is-num { text-align: right; font-variant-numeric: tabular-nums; }
div.cm-root .cp-table .is-left { text-align: left; white-space: normal; }
div.cm-root .cp-table + .fm-p,
div.cm-root .cp-scroll + .fm-p { margin-top: 12px; }

/* ----- 오시는 길: an odd last line of the place info takes the whole width (no half line under it) ----- */
div.cm-root .loc-info > div:last-child:nth-child(odd) { grid-column: 1 / -1; }

/* ----- Board meta line (작성자 · 날짜 · 기관): when it wraps on a phone, no bar at the start of the new line ----- */
div.sk-root .mt { overflow: hidden; }
div.sk-root .mt span::before { content: ""; display: inline-block; width: 1px; height: 10px; margin: 0 5px 0 -6px; background: var(--sk-line-strong); vertical-align: -1px; }
div.sk-root .mt span + span::before { margin: 0 5px 0 -6px; }

/* ----- Admins write on the homepage (C-175): the write form of the skins + a small editor ----- */
div.sk-root .aw-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; padding: 14px 8px; font-size: 15px; color: var(--sk-text); }
div.sk-root .aw-head .sa-tag { padding: 4px 10px; border-radius: 6px; background: #F4F5F7; font-size: 13px; line-height: normal; color: #3A414D; }
div.sk-root .aw-head a { margin-left: auto; font-size: 14px; color: var(--sk-sub); text-decoration: underline; text-underline-offset: 3px; }
div.sk-root .wr-err.is-note { border-color: #F3D9A4; background: #FFF8E8; }
div.sk-root .wr-area { height: auto; min-height: 70px; padding: 10px 14px; line-height: 1.6; resize: vertical; }
div.sk-root .aw-opts { display: flex; flex-wrap: wrap; gap: 10px 24px; }
div.sk-root .aw-ed { border: 1px solid var(--sk-line-strong); border-radius: 8px; overflow: hidden; background: #FFFFFF; }
div.sk-root .aw-tool { display: flex; flex-wrap: wrap; gap: 4px; padding: 6px; border-bottom: 1px solid var(--sk-line); background: var(--sk-soft); }
div.sk-root .aw-tool button,
div.sk-root .aw-file { position: relative; display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 34px; padding: 0 10px; border: 1px solid transparent; border-radius: 6px; background: transparent; font: inherit; font-size: 14px; line-height: normal; color: var(--sk-text); cursor: pointer; }
div.sk-root .aw-tool button:hover,
div.sk-root .aw-file:hover,
div.sk-root .aw-tool button[aria-pressed="true"] { border-color: var(--sk-line-strong); background: #FFFFFF; }
div.sk-root .aw-file input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
div.sk-root .aw-linkrow { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 10px; border-bottom: 1px solid var(--sk-line); }
div.sk-root .aw-linkrow[hidden] { display: none; }
div.sk-root .aw-linkrow .wr-in { flex: 1 1 240px; height: 40px; }
div.sk-root .aw-body { min-height: 260px; padding: 14px 16px; font-size: 15px; line-height: 1.7; color: var(--sk-text); outline: 0; overflow-wrap: anywhere; }
div.sk-root .aw-ed.is-sm .aw-body { min-height: 140px; }
div.sk-root .aw-body[hidden] { display: none; }
div.sk-root .aw-body img { max-width: 100%; height: auto; }
div.sk-root .aw-body h3 { margin: 14px 0 6px; font-size: 18px; }
div.sk-root .aw-body blockquote { margin: 10px 0; padding: 8px 14px; border-left: 3px solid var(--sk-line-strong); color: var(--sk-sub); }
div.sk-root .aw-body ul,
div.sk-root .aw-body ol { padding-left: 22px; }
div.sk-root .aw-body ul { list-style: disc; }
div.sk-root .aw-body ol { list-style: decimal; }
div.sk-root .aw-code { display: block; width: 100%; min-height: 260px; padding: 14px; border: 0; font-family: ui-monospace, Consolas, monospace; font-size: 13px; line-height: 1.6; resize: vertical; }
div.sk-root .aw-code[hidden] { display: none; }
div.sk-root .aw-thumb { display: flex; align-items: center; gap: 14px; margin-bottom: 10px; }
div.sk-root .aw-thumb img { width: 120px; height: 90px; object-fit: cover; border-radius: 6px; border: 1px solid var(--sk-line); }
div.sk-root .aw-shots { display: grid; gap: 8px; margin-bottom: 10px; }
div.sk-root .aw-shots li { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; align-items: center; gap: 12px; }
div.sk-root .aw-shots img { width: 72px; height: 54px; object-fit: cover; border-radius: 6px; border: 1px solid var(--sk-line); }
div.sk-root .aw-shots .wr-in { height: 40px; }
div.sk-root .aw-files { display: grid; gap: 6px; margin-bottom: 10px; }
div.sk-root .aw-files li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; padding: 8px 12px; border: 1px solid var(--sk-line); border-radius: 6px; font-size: 14px; }
div.sk-root .aw-files em { color: var(--sk-faint); }
div.sk-root .btn-sk.is-del { color: #B42318; }
@media (max-width: 640px) {
	div.sk-root .aw-head a { margin-left: 0; }
	div.sk-root .aw-shots li { grid-template-columns: 56px minmax(0, 1fr); }
	div.sk-root .aw-shots li .wr-ck { grid-column: 2; }
}

/* ----- File boxes you can drop files on (every homepage form): the list of the files added ----- */
div.cm-root .fm-files-picked { display: flex; flex-wrap: wrap; gap: 6px; }
div.cm-root .fm-files-picked[hidden] { display: none; }
div.cm-root .fm-drop.is-over { border-color: var(--brand); background: #FFFFFF; }
div.cm-root .fm-drop:focus-within { outline: 2px solid var(--brand); outline-offset: 2px; }
div.cm-root .fdrop-item,
div.sk-root .fdrop-item { display: inline-flex; align-items: center; gap: 8px; max-width: 100%; min-height: 36px; padding: 4px 4px 4px 12px; border: 1px solid #DDE1E7; border-radius: 6px; background: #FFFFFF; font-size: 14px; line-height: normal; color: #1E2430; }
div.cm-root .fdrop-item .nm,
div.sk-root .fdrop-item .nm { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
div.cm-root .fdrop-item em,
div.sk-root .fdrop-item em { flex: none; font-style: normal; font-size: 13px; color: #8A929E; }
div.cm-root .fdrop-del,
div.sk-root .fdrop-del { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border: 0; border-radius: 4px; background: none; font: inherit; font-size: 18px; line-height: 1; color: #6B7380; cursor: pointer; }
div.cm-root .fdrop-del:hover,
div.sk-root .fdrop-del:hover { background: #F1F3F6; color: #1E2430; }

/* Board write forms (skins) */
div.sk-root .fdrop { padding: 18px 20px; border: 1px dashed #C9CFD8; border-radius: 10px; background: #F7F8FA; }
div.sk-root .fdrop.is-over { border-color: var(--brand); background: #FFFFFF; }
div.sk-root .fdrop:focus-within { outline: 2px solid var(--brand); outline-offset: 2px; }
div.sk-root .fdrop-txt { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; font-size: 15px; color: #4A5260; }
div.sk-root .fdrop-btn { position: relative; height: 40px; min-width: 0; padding: 0 16px; font-size: 14px; }
div.sk-root .fdrop-btn input { position: absolute; width: 1px; height: 1px; opacity: 0; }
div.sk-root .fdrop-list { display: flex; flex-direction: column; gap: 6px; margin-top: 12px; }
div.sk-root .fdrop-list[hidden] { display: none; }
div.sk-root .fdrop-list .fdrop-item { display: flex; }
div.sk-root .fdrop-list .fdrop-item .nm { flex: 1; }

/* ----- Search result of the design: the line when nothing was found (C-100) ----- */
.cms-search-empty { margin: 24px 0; padding: 32px 16px; border-top: 1px solid #E3E6EB; border-bottom: 1px solid #E3E6EB; text-align: center; font-size: 15px; color: #6B7380; }

/* ----- File fields of a site design (e.g. its inquiry form): drop place + list of picked files (C-178) ----- */
.cms-drop-on { transition: outline-color .15s; outline: 2px dashed transparent; outline-offset: 4px; border-radius: 6px; }
.cms-drop-on.is-over { outline-color: var(--brand, #1E2430); }
/* A file field of a site design made a drop place (11.29 대표: same as 관리자 모드) */
.cms-drop-on.cms-drop-zone { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; padding: 16px 20px; border: 1px dashed #C4CAD3; border-radius: 8px; background: #F7F8FA; }
.cms-drop-on.cms-drop-zone.is-over { border-color: var(--brand, #1E2430); background: #FFFFFF; outline: 0; }
.cms-drop-zone .cms-drop-hint { font-size: 15px; line-height: 1.5; color: #4A5260; }
.cms-drop-zone .cms-drop-was { display: none !important; }
.cms-drop-list { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.cms-drop-list[hidden] { display: none; }
.cms-drop-list .fdrop-item { display: inline-flex; align-items: center; gap: 8px; max-width: 100%; min-height: 36px; padding: 4px 4px 4px 12px; border: 1px solid #DDE1E7; border-radius: 6px; background: #FFFFFF; font-size: 14px; line-height: normal; color: #1E2430; }
.cms-drop-list .fdrop-item .nm { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cms-drop-list .fdrop-item em { flex: none; font-style: normal; font-size: 13px; color: #8A929E; }
.cms-drop-list .fdrop-del { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border: 0; border-radius: 4px; background: none; font: inherit; font-size: 18px; line-height: 1; color: #6B7380; cursor: pointer; }

/* A PDF is being turned into a picture (picture fields) */
[data-cms-drop].is-busy,
[data-fdrop].is-busy { opacity: .6; cursor: progress; }

/* ===== Managers on the homepage: [수정] [삭제] on each item of a design board (only managers see them) ===== */
.cms-has-admin {
	position: relative;
}

.cms-item-admin {
	position: absolute;
	top: 8px;
	right: 8px;
	z-index: 5;
	display: flex;
	gap: 4px;
	font-family: system-ui, -apple-system, "Malgun Gothic", sans-serif;
	font-size: 12px;
	line-height: normal;
	font-style: normal;
	letter-spacing: 0;
	text-transform: none;
}

td.cms-has-admin .cms-item-admin,
th.cms-has-admin .cms-item-admin {
	position: static;
	display: inline-flex;
	margin-left: 8px;
	vertical-align: middle;
}

.cms-item-admin > span {
	display: inline-flex;
	align-items: center;
	height: 26px;
	padding: 0 10px;
	border: 1px solid #D3D7DF;
	border-radius: 6px;
	background: #FFFFFF;
	color: #1E2430;
	white-space: nowrap;
	cursor: pointer;
}

.cms-item-admin > span:hover,
.cms-item-admin > span:focus-visible {
	border-color: #1E2430;
	outline: none;
}

.cms-item-admin > span[data-aw-del] {
	color: #C62828;
}


/* =====================================================================
   Post body written with the editor (CMS skins .vd-body · design skins .cms-body · homepage editor .aw-body)
   - the design's reset (ul { list-style: none } · img { display: block }) must not undo
     the bullets, numbers and the left / center alignment the writer chose
   ===================================================================== */
:is(.vd-body, .cms-body, .aw-body):is(.vd-body, .cms-body, .aw-body) ul,
:is(.vd-body, .cms-body, .aw-body):is(.vd-body, .cms-body, .aw-body) ol {
	margin: 12px 0;
	padding-left: 1.6em;
}

:is(.vd-body, .cms-body, .aw-body):is(.vd-body, .cms-body, .aw-body) ul {
	list-style: disc outside;
}

:is(.vd-body, .cms-body, .aw-body):is(.vd-body, .cms-body, .aw-body) ol {
	list-style: decimal outside;
}

:is(.vd-body, .cms-body, .aw-body):is(.vd-body, .cms-body, .aw-body) ul ul {
	list-style-type: circle;
}

:is(.vd-body, .cms-body, .aw-body):is(.vd-body, .cms-body, .aw-body) li {
	display: list-item;
	list-style: inherit;
}

:is(.vd-body, .cms-body, .aw-body):is(.vd-body, .cms-body, .aw-body) li + li {
	margin-top: 4px;
}

/* pictures follow the alignment of their line (가운데 정렬 · 왼쪽 정렬) */
:is(.vd-body, .cms-body, .aw-body):is(.vd-body, .cms-body, .aw-body) img {
	display: inline-block;
	max-width: 100%;
	height: auto;
	vertical-align: middle;
}

:is(.vd-body, .cms-body, .aw-body):is(.vd-body, .cms-body, .aw-body) :is(b, strong) {
	font-weight: 700;
}

:is(.vd-body, .cms-body, .aw-body):is(.vd-body, .cms-body, .aw-body) u {
	text-decoration: underline;
}

:is(.vd-body, .cms-body, .aw-body):is(.vd-body, .cms-body, .aw-body) s {
	text-decoration: line-through;
}

/* 인증서형 "내용 보이기" (처음 값 끔): two lines under the title */
div.sk-root .ct-body .ct-s { display: -webkit-box; margin-top: 6px; overflow: hidden; -webkit-line-clamp: 2; -webkit-box-orient: vertical; font-size: 14px; line-height: 1.6; color: var(--sk-sub); }

/* Admin / visitor button row under a design skin: inside the design's own box, no board padding or width of its own */
.sk-root.is-extra { clear: both; }
div.sk-root.is-extra .bd { max-width: none; margin: 0; padding: 0; }
div.sk-root.is-extra .bd-btns { margin-top: 32px; }

/* ----- Date picker on the homepage (cms.js turns input[type="date"] into this) -----
   Same calendar as the manager screens; the chosen day uses the site's main color. */
.isc-dp-wrap { position: relative; display: block; width: 100%; min-width: 0; }
.isc-dp-wrap > input.isc-dp-in { width: 100%; padding-right: 46px; font-variant-numeric: tabular-nums; }
.isc-dp-open { position: absolute; top: 50%; right: 5px; display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; margin: 0; padding: 0; border: 0; border-radius: 6px; background: transparent; color: #6B7280; cursor: pointer; transform: translateY(-50%); }
.isc-dp-open:hover,
.isc-dp-open[aria-expanded="true"] { background: #F1F3F6; color: #1E2430; }
.isc-dp-open svg { display: block; width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }

div.isc-dp { position: fixed; z-index: 10000; box-sizing: border-box; width: 320px; margin: 0; padding: 12px 14px; border: 1px solid #C9CFD8; border-radius: 12px; background: #FFFFFF; box-shadow: 0 8px 24px rgba(18, 25, 43, .14); font-family: inherit; font-size: 14px; line-height: normal; color: #1E2430; text-align: left; letter-spacing: normal; }
div.isc-dp[hidden] { display: none; }
div.isc-dp *, div.isc-dp *::before, div.isc-dp *::after { box-sizing: border-box; }
div.isc-dp button { margin: 0; font: inherit; line-height: normal; letter-spacing: normal; text-transform: none; }
div.isc-dp svg { display: block; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.isc-dp-head { display: flex; align-items: center; justify-content: space-between; gap: 2px; margin-bottom: 8px; }
.isc-dp-title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.isc-dp-pick { display: flex; flex: 1; justify-content: center; gap: 4px; min-width: 0; }
.isc-dp-sel { position: relative; display: inline-flex; align-items: center; }
div.isc-dp .isc-dp-sel select { height: 34px; margin: 0; padding: 0 26px 0 10px; border: 1px solid #DFE3E8; border-radius: 6px; background: #FFFFFF; font: inherit; font-size: 14px; font-weight: bold; line-height: normal; color: #1E2430; cursor: pointer; appearance: none; -webkit-appearance: none; }
div.isc-dp .isc-dp-sel select:hover { border-color: #C9CFD8; }
div.isc-dp .isc-dp-sel svg { position: absolute; right: 7px; width: 14px; height: 14px; color: #6B7280; pointer-events: none; }
div.isc-dp .isc-dp-nav { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 34px; padding: 0; border: 0; border-radius: 6px; background: transparent; color: #6B7280; cursor: pointer; }
div.isc-dp .isc-dp-nav:hover { background: #F1F3F6; color: #1E2430; }
div.isc-dp .isc-dp-nav svg { width: 18px; height: 18px; }
.isc-dp-week,
.isc-dp-row { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.isc-dp-week span { padding: 4px 0; font-size: 12px; text-align: center; color: #8A919C; }
.isc-dp-week span:first-child { color: #C0392B; }
.isc-dp-week span:last-child { color: #2563EB; }
.isc-dp-row + .isc-dp-row { margin-top: 2px; }
div.isc-dp .isc-dp-day { height: 36px; padding: 0; border: 0; border-radius: 6px; background: transparent; font-size: 14px; color: #1E2430; cursor: pointer; }
div.isc-dp .isc-dp-day:hover { background: #F1F3F6; }
div.isc-dp .isc-dp-day.is-sun { color: #C0392B; }
div.isc-dp .isc-dp-day.is-sat { color: #2563EB; }
div.isc-dp .isc-dp-day.is-out { opacity: .4; }
div.isc-dp .isc-dp-day.is-today { box-shadow: inset 0 0 0 1px #C9CFD8; font-weight: bold; }
div.isc-dp .isc-dp-day[aria-selected="true"] { background: var(--dp-on, #1E2430); color: var(--dp-on-text, #FFFFFF); font-weight: bold; }
div.isc-dp .isc-dp-day:disabled { opacity: .25; cursor: not-allowed; background: transparent; }
div.isc-dp button:focus-visible,
div.isc-dp select:focus-visible { outline: 2px solid var(--dp-on, #1E2430); outline-offset: 1px; }
.isc-dp-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; padding-top: 10px; border-top: 1px solid #DFE3E8; }
div.isc-dp .isc-dp-btn2 { height: 32px; padding: 0 16px; border: 1px solid #C9CFD8; border-radius: 6px; background: #FFFFFF; font-size: 13px; color: #1E2430; cursor: pointer; }
div.isc-dp .isc-dp-btn2:hover { background: #F1F3F6; }

/* "*" on the message box of a design inquiry form when the design had no mark of its own */
.cms-req { margin-left: 2px; color: #D92D20; }

/* A board drawn by the design (11.29): the CMS screens of it — write · edit · password — start right under
   the page title and at the same left edge as the design's own list (no extra box inside the design's box) */
div.sk-root.is-fit .bd { max-width: none; margin: 0; padding: 0; }
div.sk-root.is-fit .wr { margin-top: 0; }


/* ---------- Design skin list (11.29) ----------
   One card of the design's list: a long line (an English title · issuer) keeps the card in its column
   instead of making that column wider than the others */
.cms-item {
	min-width: 0;
}

/* ---------- A join form drawn by the design (11.30): 중복확인 message · address search layer ---------- */
.cms-check-msg {
	flex-basis: 100%;
	margin: 6px 0 0;
	font-size: 13px;
	color: #b42318;
}

.cms-check-msg.is-ok {
	color: #067647;
}

.cms-post {
	position: fixed;
	inset: 0;
	z-index: 9999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	background: rgba(17, 24, 39, .5);
}

.cms-post[hidden] {
	display: none;
}

.cms-post-box {
	position: relative;
	width: 100%;
	max-width: 520px;
	height: min(560px, 90vh);
	padding: 44px 0 0;
	border-radius: 12px;
	background: #fff;
	overflow: hidden;
}

.cms-post-body {
	height: 100%;
}

.cms-post-close {
	position: absolute;
	top: 6px;
	right: 8px;
	width: 32px;
	height: 32px;
	border: 0;
	background: none;
	font-size: 24px;
	line-height: 1;
	cursor: pointer;
}

/* 출자 · 배당 현황 of the CMS (a design without its own my page) */
.cms-coop-sum {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 12px;
	margin: 16px 0 28px;
	padding: 0;
	list-style: none;
}

.cms-coop-sum li {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 16px;
	border: 1px solid #e4e7ec;
	border-radius: 10px;
}

.cms-coop-sum .val {
	font-size: 22px;
}

.cms-coop-sum .sub,
.cms-coop-hello span {
	font-size: 13px;
	color: #667085;
}

.cms-coop-h {
	margin: 28px 0 10px;
	font-size: 17px;
}

.cms-coop-note {
	margin: 16px 0 0;
	padding-left: 18px;
	font-size: 13px;
	color: #667085;
}

@media (max-width: 767px) {
	.cms-coop-sum {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

/* CMS screens inside a design with its own markup (회원 · 문의 등 · 11.30): the design's sub frame gives the space under the title */
div.cm-root.is-fit .fm,
div.cm-root.is-fit .fm.is-full,
div.cm-root.is-fit .fm-my {
	margin-top: 0;
	padding-top: 0;
}

div.cm-root.is-fit .fm-steps {
	margin-bottom: 32px;
}

div.cm-root.is-fit .fm-steps li {
	gap: 10px;
	font-size: 16px;
}

div.cm-root.is-fit .fm-steps li i {
	width: 44px;
	height: 44px;
	font-size: 18px;
}

div.cm-root.is-fit .fm-steps li i svg {
	width: 20px;
	height: 20px;
}

/* 조합원 마이페이지: 이름 옆 회원 등급 (정회원) [C-251] */
.cms-grade {
	display: inline-block;
	margin-right: 4px;
	padding: 2px 8px;
	border-radius: 6px;
	background: var(--brand, #1f5faf);
	color: var(--brand-ink, #fff);
	font-size: 13px;
	font-weight: 700;
	line-height: 1.5;
	vertical-align: 2px;
}

/* ==========================================================
   Press release list : mark for managers only
   - 원문 연결 : the post opens the news site for visitors
   - 원문 주소 미입력 : the post opens this site's view page
   ========================================================== */
.cms-link-badge {
	display: inline-block;
	margin-left: .6em;
	padding: .15em .6em;
	border-radius: .4em;
	background: #e6f4ef;
	color: #1f6f57;
	font-style: normal;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.5;
	letter-spacing: 0;
	vertical-align: middle;
	white-space: nowrap;
}

.cms-link-badge.is-none {
	background: #fff1e6;
	color: #b5520c;
}

/* "원문 보기" on a view page drawn by the design (a press release with a 원문 링크) */
.cms-src-link {
	display: inline-flex;
	align-items: center;
	gap: .4em;
	margin-left: 1.2em;
	color: var(--brand, inherit);
	font-weight: 600;
	text-decoration: none;
	white-space: nowrap;
}

.cms-src-link svg {
	width: 1.05em;
	height: 1.05em;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.cms-src-link:hover,
.cms-src-link:focus-visible {
	text-decoration: underline;
}

/* ---------- JOIN: 휴대폰 문자 인증 (C-62) ---------- */
.cms-pv { margin-top: 8px; }
.cms-pv-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.cms-pv-code { display: inline-flex; flex: 1 1 200px; min-width: 0; gap: 8px; }
.cms-pv-code[hidden] { display: none; }
.cms-pv-code input { flex: 1; min-width: 0; height: 44px; padding: 0 14px; border: 1px solid #C9CED6; border-radius: 8px; background: #fff; font-size: 16px; color: #1F242C; }
.cms-pv-code input:focus { outline: 0; border-color: var(--brand-text, var(--brand, #2F6FED)); }
.cms-pv-btn { flex: none; height: 44px; padding: 0 18px; border: 1px solid var(--brand-text, var(--brand, #2F6FED)); border-radius: 8px; background: #fff; font: inherit; font-size: 15px; line-height: normal; color: var(--brand-text, var(--brand, #2F6FED)); cursor: pointer; }
.cms-pv-btn.is-on { background: var(--brand, #2F6FED); color: var(--brand-ink, #fff); }
.cms-pv-btn[hidden] { display: none; }
.cms-pv-btn:disabled { opacity: .5; cursor: default; }
.cms-pv-msg { margin: 6px 0 0; font-size: 14px; line-height: 1.5; color: #5B6270; }
.cms-pv-msg:empty { display: none; }
.cms-pv-msg.is-ok { color: #13795B; }
.cms-pv-msg.is-bad { color: #C8322A; }
