/* 세움필텍 · 기업 홈페이지 리뉴얼 시안과 관리자 화면 */
:root {
  --bg: #FBF9F5;
  --surface: #FFFFFF;
  --sand: #EFE7DA;
  --line: #E2DBCF;
  --text: #1A2422;
  --muted: #5B6764;
  --primary: #0F4C4A;
  --primary-2: #1D6B67;
  --copper: #B8642E;
  --copper-text: #93491C;
  --ok: #1F7A4D;
  --warn: #A86A00;
  --danger: #B42318;
  --art-a: #0F4C4A;
  --art-b: #0A2F2E;
  --art-line: rgba(255, 255, 255, .16);
  --art-dot: rgba(255, 214, 170, .35);
  --font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --display: "Gothic A1", "Pretendard Variable", Pretendard, sans-serif;
  --r: 2px;
  /* 관리자 */
  --a-bg: #F2F4F3;
  --a-line: #DADFDD;
  --a-soft: #E9EFEE;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body.cp { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); font-size: 16px; line-height: 1.6; word-break: keep-all; overflow-wrap: anywhere; padding-bottom: 28px; }
.cp :where(h1, h2, h3, p, ul, ol, dl, dd, figure, fieldset) { margin: 0; }
.cp :where(ul, ol) { padding: 0; list-style: none; }
.cp :where(a) { color: inherit; }
.cp :where(button, input, select, textarea) { font: inherit; color: inherit; }
.cp :where(button) { cursor: pointer; }
.cp :focus-visible { outline: 2px solid var(--copper); outline-offset: 2px; }
.cp [hidden] { display: none !important; }
.cp-sr, .ca-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.cp-wrap { width: min(1200px, 100% - 48px); margin: 0 auto; }

/* ── 공통 요소 ─────────────────────────── */
.cp-h1 { font-family: var(--display); font-size: 40px; font-weight: 800; letter-spacing: -.03em; line-height: 1.25; }
.cp-h2 { font-family: var(--display); font-size: 30px; font-weight: 800; letter-spacing: -.03em; line-height: 1.3; }
.cp-h3 { font-family: var(--display); font-size: 22px; font-weight: 700; letter-spacing: -.02em; line-height: 1.35; }
.cp-eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .08em; color: var(--copper-text); margin-bottom: 10px; }
.cp-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px; border-radius: var(--r); border: 1px solid transparent; font-weight: 700; text-decoration: none; background: none; white-space: nowrap; transition: background .15s, color .15s, border-color .15s; }
.cp-btn--solid { background: var(--copper); color: #fff; }
.cp-btn--solid:hover { background: var(--copper-text); }
.cp-btn--ghost { border-color: rgba(255,255,255,.55); color: #fff; }
.cp-btn--ghost:hover { background: rgba(255,255,255,.12); }
.cp-btn--line { border-color: var(--primary); color: var(--primary); }
.cp-btn--line:hover { background: var(--primary); color: #fff; }
.cp-btn--lg { min-height: 56px; padding: 0 40px; font-size: 17px; }
.cp-sec { padding: 96px 0; }
.cp-sec__head { margin-bottom: 36px; }
.cp-sec__head--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.cp-more { font-size: 14px; font-weight: 700; color: var(--primary); text-decoration: none; }
.cp-more::after { content: " →"; }
.cp-pin { display: inline-grid; place-items: center; height: 22px; padding: 0 7px; border-radius: var(--r); background: var(--primary); color: #fff; font-size: 12px; font-weight: 700; margin-right: 8px; flex: none; }
.cp-new { display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: var(--copper); color: #fff; font-size: 10px; font-weight: 800; margin-left: 6px; flex: none; }
.cp-empty { padding: 40px; text-align: center; color: var(--muted); }

/* 주름 필터 배경(시그니처) */
.cp-art { display: block; width: 100%; height: 100%; }
[data-art="copper"] { --art-a: #8A4A22; --art-b: #3D2414; --art-line: rgba(255, 231, 206, .2); --art-dot: rgba(255, 235, 210, .35); }
[data-art="night"] { --art-a: #1E2F4D; --art-b: #0D1626; --art-line: rgba(196, 214, 255, .18); --art-dot: rgba(170, 220, 255, .35); }
.cp-art__pleat { animation: cp-drift 18s linear infinite alternate; }
@keyframes cp-drift { from { transform: translateX(0); } to { transform: translateX(-40px); } }

/* ── 헤더 ─────────────────────────── */
.cp-head { position: sticky; top: 0; z-index: 40; background: rgba(251, 249, 245, .96); backdrop-filter: blur(6px); border-bottom: 1px solid var(--line); }
.cp-head__in { display: flex; align-items: center; height: 76px; gap: 24px; }
.cp-logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-weight: 800; font-size: 21px; letter-spacing: -.02em; }
.cp-logo__mark { width: 32px; height: 32px; flex: none; }
.cp-logo__mark rect { fill: var(--primary); }
.cp-logo__mark path { stroke: #F0C9A6; }
.cp-nav { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.cp-nav__item { position: relative; }
.cp-nav__item > a { display: flex; align-items: center; height: 76px; padding: 0 22px; text-decoration: none; font-weight: 700; font-size: 17px; }
.cp-nav__item > a.is-active { color: var(--primary); box-shadow: inset 0 -3px 0 var(--copper); }
.cp-nav__sub { position: absolute; top: 100%; left: 50%; transform: translateX(-50%); min-width: 170px; padding: 8px; background: var(--surface); border: 1px solid var(--line); box-shadow: 0 12px 30px rgba(16, 48, 46, .12); opacity: 0; visibility: hidden; transition: opacity .15s; }
.cp-nav__item:hover .cp-nav__sub, .cp-nav__item:focus-within .cp-nav__sub { opacity: 1; visibility: visible; }
.cp-nav__sub a { display: block; padding: 9px 12px; text-decoration: none; font-size: 15px; color: var(--muted); }
.cp-nav__sub a:hover { color: var(--primary); background: var(--bg); }
.cp-nav__cta { min-height: 42px; padding: 0 18px; margin-left: 12px; }
.cp-burger { display: none; width: 48px; height: 48px; margin-left: auto; border: 0; background: none; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.cp-burger span { width: 22px; height: 2px; background: var(--text); transition: transform .2s, opacity .2s; }

/* ── 메인 ─────────────────────────── */
.cp-hero { position: relative; min-height: 560px; display: flex; align-items: center; color: #fff; overflow: hidden; background: var(--art-b); }
.cp-hero__art { position: absolute; inset: 0; }
.cp-hero__art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5, 22, 21, .72) 0%, rgba(5, 22, 21, .35) 60%, rgba(5, 22, 21, 0) 100%); }
.cp-hero__in { position: relative; padding: 80px 0; }
.cp-hero .cp-eyebrow { color: #F0C9A6; }
.cp-hero__title { font-family: var(--display); font-size: 52px; font-weight: 800; letter-spacing: -.035em; line-height: 1.22; max-width: 18em; }
.cp-hero__sub { margin-top: 20px; max-width: 34em; font-size: 19px; color: rgba(255,255,255,.86); }
.cp-hero__btns { display: flex; gap: 12px; margin-top: 36px; flex-wrap: wrap; }

.cp-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.cp-card { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 36px 32px 32px; background: var(--surface); border: 1px solid var(--line); text-decoration: none; transition: border-color .15s, transform .15s; }
.cp-card:hover { border-color: var(--primary); transform: translateY(-3px); }
.cp-card strong { font-family: var(--display); font-size: 23px; font-weight: 800; letter-spacing: -.02em; }
.cp-card__en { font-size: 12px; font-weight: 700; letter-spacing: .12em; color: var(--copper-text); }
.cp-card__desc { color: var(--muted); }
.cp-card__more { margin-top: 18px; font-size: 14px; font-weight: 700; color: var(--primary); }
.cp-card__more::after { content: " →"; }
.cp-card__icon { width: 56px; height: 56px; margin-bottom: 14px; border-radius: 50%; background: var(--sand); position: relative; }
.cp-card__icon::before { content: ""; position: absolute; inset: 14px; border: 2px solid var(--primary); }
.cp-icon-air .cp-card__icon::before, .cp-card__icon.cp-icon-air::before { border-radius: 2px; background: repeating-linear-gradient(90deg, transparent 0 4px, var(--primary) 4px 6px); }
.cp-card__icon.cp-icon-dust::before { border-radius: 50%; background: radial-gradient(circle, var(--copper) 0 2px, transparent 3px) 0 0 / 8px 8px; }
.cp-card__icon.cp-icon-water::before { border-radius: 50% 50% 50% 0; transform: rotate(-45deg); inset: 16px; }

.cp-stats { background: var(--primary); color: #fff; }
.cp-stats__in { display: grid; grid-template-columns: repeat(4, 1fr); }
.cp-stats__in div { padding: 48px 24px; border-left: 1px solid rgba(255,255,255,.15); display: flex; flex-direction: column; gap: 4px; }
.cp-stats__in div:first-child { border-left: 0; }
.cp-stats b { font-family: var(--display); font-size: 40px; font-weight: 800; letter-spacing: -.02em; }
.cp-stats span { color: rgba(255,255,255,.72); }

.cp-news { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 24px; align-items: stretch; }
.cp-latest li a { display: flex; align-items: center; gap: 4px; padding: 16px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.cp-latest li:first-child a { border-top: 2px solid var(--text); }
.cp-latest li a:hover .cp-latest__t { color: var(--primary); text-decoration: underline; }
.cp-latest__t { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 500; }
.cp-latest time { font-size: 14px; color: var(--muted); margin-left: 12px; font-variant-numeric: tabular-nums; flex: none; }
.cp-tile { display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; padding: 32px; min-height: 260px; background: var(--sand); text-decoration: none; position: relative; overflow: hidden; }
.cp-tile::before { content: ""; position: absolute; right: -30px; top: -30px; width: 160px; height: 160px; background: repeating-linear-gradient(60deg, transparent 0 14px, rgba(15,76,74,.1) 14px 16px); border-radius: 50%; }
.cp-tile strong { font-family: var(--display); font-size: 22px; font-weight: 800; letter-spacing: -.02em; }
.cp-tile > span:last-child { color: var(--muted); font-size: 15px; }
.cp-tile--dark { background: var(--primary); color: #fff; }
.cp-tile--dark .cp-eyebrow { color: #F0C9A6; }
.cp-tile--dark > span:last-child { color: rgba(255,255,255,.75); }
.cp-tile:hover strong { text-decoration: underline; }

/* ── 서브 페이지 ─────────────────────────── */
.cp-sub { position: relative; height: 240px; display: flex; align-items: flex-end; color: #fff; overflow: hidden; background: var(--art-b); }
.cp-sub__art { position: absolute; inset: 0; }
.cp-sub__art::after { content: ""; position: absolute; inset: 0; background: rgba(5, 22, 21, .45); }
.cp-sub__in { position: relative; padding-bottom: 44px; }
.cp-crumb { font-size: 14px; color: rgba(255,255,255,.75); margin-bottom: 8px; }
.cp-subnav { background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 76px; z-index: 30; }
.cp-subnav__in { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.cp-subnav__in::-webkit-scrollbar { display: none; }
.cp-subnav a { flex: none; display: flex; align-items: center; height: 60px; padding: 0 20px; text-decoration: none; font-weight: 600; color: var(--muted); }
.cp-subnav a.is-on, .cp-subnav a:hover { color: var(--primary); box-shadow: inset 0 -3px 0 var(--primary); }

.cp-greet { display: grid; grid-template-columns: 1fr 1.4fr; gap: 64px; }
.cp-greet__body { font-size: 19px; line-height: 1.9; white-space: pre-line; }
.cp-greet__sign { margin-top: 28px; text-align: right; color: var(--muted); }
.cp-greet__sign b { font-family: var(--display); font-size: 20px; color: var(--text); margin-left: 8px; }
.cp-band { background: var(--sand); }
.cp-history { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.cp-history::before { content: ""; position: absolute; left: 0; right: 0; top: 9px; height: 2px; background: var(--primary); opacity: .3; }
.cp-history li { position: relative; padding-top: 34px; display: flex; flex-direction: column; gap: 6px; }
.cp-history li::before { content: ""; position: absolute; top: 2px; left: 0; width: 16px; height: 16px; border-radius: 50%; background: var(--bg); border: 3px solid var(--primary); }
.cp-history b { font-family: var(--display); font-size: 28px; font-weight: 800; color: var(--primary); }
.cp-certs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cp-certs li { display: flex; flex-direction: column; gap: 4px; padding: 28px 24px; border: 1px solid var(--line); background: var(--surface); }
.cp-certs__seal { width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--copper); margin-bottom: 12px; box-shadow: inset 0 0 0 4px var(--surface), inset 0 0 0 6px var(--copper); }
.cp-certs b { font-family: var(--display); font-size: 18px; }
.cp-certs span { color: var(--muted); font-size: 15px; }
.cp-map { display: grid; grid-template-columns: 1.6fr 1fr; border: 1px solid var(--line); background: var(--surface); }
.cp-map svg { width: 100%; height: 100%; min-height: 260px; display: block; }
.cp-map dl { padding: 32px; display: flex; flex-direction: column; gap: 18px; }
.cp-map dt { font-size: 13px; font-weight: 700; color: var(--copper-text); }

.cp-biz { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: center; border-bottom: 1px solid var(--line); }
.cp-biz--rev > :first-child { order: 2; }
.cp-biz__art { aspect-ratio: 4 / 3; overflow: hidden; position: relative; }
.cp-biz__art.cp-icon-dust { --art-a: #8A4A22; --art-b: #3D2414; --art-line: rgba(255, 231, 206, .2); }
.cp-biz__art.cp-icon-water { --art-a: #1E4A6B; --art-b: #0D2234; --art-line: rgba(196, 230, 255, .2); }
.cp-biz__desc { margin: 14px 0 24px; color: var(--muted); font-size: 17px; }
.cp-spec { width: 100%; border-collapse: collapse; margin-bottom: 28px; font-size: 15px; }
.cp-spec th, .cp-spec td { padding: 12px 10px; border-bottom: 1px solid var(--line); text-align: left; }
.cp-spec thead th { border-top: 2px solid var(--text); font-size: 14px; color: var(--muted); }

/* ── 게시판 ─────────────────────────── */
.cp-tabs { display: flex; flex-wrap: wrap; border-bottom: 2px solid var(--text); margin-bottom: 24px; }
.cp-tabs button, .cp-tabs a { min-height: 52px; padding: 0 24px; border: 0; background: none; font-weight: 700; font-size: 16px; color: var(--muted); text-decoration: none; display: inline-flex; align-items: center; }
.cp-tabs button.is-on { background: var(--text); color: #fff; }
.cp-tabs a { margin-left: auto; color: var(--primary); }
.cp-boardbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.cp-boardbar__count b { color: var(--primary); }
.cp-search input { height: 44px; width: 260px; padding: 0 14px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
.cp-board { width: 100%; border-collapse: collapse; border-top: 1px solid var(--text); }
.cp-board th, .cp-board td { padding: 16px 12px; border-bottom: 1px solid var(--line); text-align: left; }
.cp-board thead th { font-size: 14px; color: var(--muted); font-weight: 600; text-align: center; }
.cp-board__no, .cp-board__date, .cp-board__views { width: 1%; white-space: nowrap; text-align: center !important; color: var(--muted); font-variant-numeric: tabular-nums; }
.cp-board tr.is-pin { background: #F6F1E8; }
.cp-board__t { border: 0; background: none; padding: 0; text-align: left; font-weight: 500; font-size: 16px; }
.cp-board__t:hover { color: var(--primary); text-decoration: underline; }
.cp-clip { font-size: 12px; padding: 1px 6px; border: 1px solid var(--line); color: var(--muted); }
.cp-read { margin-top: 32px; padding: 32px; border: 1px solid var(--line); background: var(--surface); display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.cp-read header { width: 100%; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.cp-read header p { color: var(--muted); font-size: 14px; margin-top: 6px; }
.cp-read__body { line-height: 1.85; }
.cp-read__body h3 { font-size: 18px; margin: 12px 0 4px; }
.cp-read__body ul { list-style: disc; padding-left: 20px; }
.cp-read__body figure, .ca-rte__img { display: grid; place-items: center; height: 140px; margin: 12px 0; background: repeating-linear-gradient(45deg, var(--sand) 0 10px, #E8DECD 10px 20px); color: var(--muted); font-size: 13px; }
.cp-read__file { font-size: 14px; color: var(--primary); font-weight: 600; }

/* ── 문의 ─────────────────────────── */
.cp-contact { display: grid; grid-template-columns: 300px 1fr; gap: 56px; align-items: start; }
.cp-contact__side { padding: 28px; background: var(--sand); display: flex; flex-direction: column; gap: 14px; position: sticky; top: 100px; }
.cp-contact__side p { color: var(--muted); font-size: 15px; }
.cp-contact__side dl { display: flex; flex-direction: column; gap: 10px; }
.cp-contact__side dt { font-size: 13px; font-weight: 700; color: var(--copper-text); }
.cp-contact__side dd { font-family: var(--display); font-weight: 700; font-size: 18px; }
.cp-form { display: flex; flex-direction: column; gap: 24px; }
.cp-kinds { border: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.cp-kinds legend { font-weight: 700; margin-bottom: 10px; padding: 0; }
.cp-kinds label { position: relative; }
.cp-kinds input { position: absolute; opacity: 0; }
.cp-kinds span { display: inline-flex; align-items: center; min-height: 46px; padding: 0 20px; border: 1px solid var(--line); background: var(--surface); font-weight: 600; cursor: pointer; }
.cp-kinds input:checked + span { border-color: var(--primary); background: var(--primary); color: #fff; }
.cp-kinds input:focus-visible + span { outline: 2px solid var(--copper); outline-offset: 2px; }
.cp-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.cp-field { display: flex; flex-direction: column; gap: 8px; font-weight: 600; font-size: 15px; }
.cp-field em { font-style: normal; font-size: 12px; color: var(--copper-text); margin-left: 4px; }
.cp-field--wide { grid-column: 1 / -1; }
.cp-field input, .cp-field textarea { width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); font-weight: 400; font-size: 16px; }
.cp-field textarea { resize: vertical; }
.cp-file { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 50px; padding: 0 14px; border: 1px dashed #C9BFAE; background: var(--surface); font-weight: 600; text-align: left; }
.cp-file small { color: var(--muted); font-weight: 400; }
.cp-file.is-on { border-style: solid; border-color: var(--primary); color: var(--primary); }
.cp-agree { padding: 20px; background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; font-size: 14px; color: var(--muted); }
.cp-agree__title { font-weight: 700; color: var(--text); }
.cp-check { display: flex; align-items: center; gap: 10px; min-height: 44px; color: var(--text); font-weight: 600; font-size: 15px; cursor: pointer; }
.cp-check input { width: 20px; height: 20px; accent-color: var(--primary); }
.cp-check em { font-style: normal; font-size: 12px; color: var(--copper-text); }
.cp-hp { position: absolute; left: -9999px; }
.cp-form__err { padding: 12px 16px; background: #FCEDEB; color: var(--danger); font-weight: 600; font-size: 15px; }
.cp-form > .cp-btn { align-self: center; }
.cp-done { grid-column: 2; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 40px; background: var(--surface); border: 1px solid var(--line); }
.cp-done__mark { width: 56px; height: 56px; border-radius: 50%; background: var(--primary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='%23fff' stroke-width='2.4'/%3E%3C/svg%3E") center / 28px no-repeat; }
.cp-done p { color: var(--muted); }
.cp-done__btns { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 8px; }

/* ── 푸터 ─────────────────────────── */
.cp-foot { background: #13201F; color: rgba(255,255,255,.65); font-size: 14px; padding: 48px 0 56px; }
.cp-foot__in { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cp-foot__in > div { display: flex; flex-direction: column; gap: 4px; }
.cp-logo--foot { color: #fff; margin-bottom: 10px; font-size: 18px; }
.cp-foot__links { display: flex; gap: 18px; flex-wrap: wrap; }
.cp-foot__links a { text-decoration: none; color: rgba(255,255,255,.85); }
.cp-foot__links li:first-child a { color: #F0C9A6; font-weight: 700; }

/* ── 시연 전환·알림 ─────────────────────────── */
.cp-switch { position: fixed; right: 20px; bottom: 44px; z-index: 60; display: inline-flex; align-items: center; min-height: 46px; padding: 0 18px; border-radius: 999px; background: var(--text); color: #fff; font-weight: 700; font-size: 14px; text-decoration: none; box-shadow: 0 8px 24px rgba(0,0,0,.2); }
.cp-switch::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #F0C9A6; margin-right: 8px; }
.cp-toast { position: fixed; left: 50%; bottom: 48px; transform: translateX(-50%); z-index: 80; max-width: min(560px, calc(100% - 32px)); padding: 12px 18px; background: var(--text); color: #fff; font-size: 14px; font-weight: 600; box-shadow: 0 10px 30px rgba(0,0,0,.25); }
.demo-notice { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; height: 28px; display: flex; align-items: center; justify-content: center; padding: 0 12px; background: #E9E2D5; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; text-align: center; }

/* ── 관리자 ─────────────────────────── */
body.cp--admin { background: var(--a-bg); font-size: 15px; }
.ca-top { position: sticky; top: 0; z-index: 40; display: flex; align-items: center; gap: 16px; height: 60px; padding: 0 20px; background: var(--surface); border-bottom: 1px solid var(--a-line); }
.ca-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-size: 16px; }
.ca-brand b { color: var(--primary); }
.ca-brand .cp-logo__mark { width: 28px; height: 28px; }
.ca-top__right { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.ca-user { display: flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; }
.ca-user small { font-size: 12px; padding: 1px 7px; border-radius: 999px; background: #E3F2EA; color: var(--ok); font-weight: 700; }
.ca-user__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); }
.ca-shell { display: grid; grid-template-columns: 220px minmax(0, 1fr); min-height: calc(100vh - 88px); }
.ca-side { background: var(--surface); border-right: 1px solid var(--a-line); padding: 20px 12px; display: flex; flex-direction: column; gap: 4px; }
.ca-side a, .ca-side span { display: flex; align-items: center; min-height: 48px; padding: 0 16px; border-radius: 8px; text-decoration: none; font-weight: 700; font-size: 16px; }
.ca-side a:hover { background: var(--a-bg); }
.ca-side a.is-active { background: var(--primary); color: #fff; }
.ca-side .is-off { color: #9AA5A2; font-weight: 500; font-size: 14px; min-height: 40px; }
.ca-main { padding: 28px 32px 100px; max-width: 1180px; width: 100%; }
.ca-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }
.ca-head__btns { display: flex; gap: 8px; flex-wrap: wrap; }
.ca-h1 { font-size: 26px; font-weight: 800; letter-spacing: -.02em; }
.ca-h2 { font-size: 17px; font-weight: 700; }
.ca-meta { font-size: 13px; color: var(--muted); }
.ca-note { font-size: 13px; color: var(--muted); margin-top: 12px; }
.ca-note a { color: var(--primary); font-weight: 700; }
.ca-link { font-size: 14px; font-weight: 700; color: var(--primary); text-decoration: none; }
.ca-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: 8px; border: 1px solid transparent; font-weight: 700; font-size: 16px; text-decoration: none; background: none; white-space: nowrap; }
.ca-btn--primary { background: var(--primary); color: #fff; }
.ca-btn--primary:hover { background: #0A3836; }
.ca-btn--line { background: var(--surface); border-color: var(--a-line); }
.ca-btn--line:hover { border-color: var(--primary); color: var(--primary); }
.ca-btn--ghost { border-color: var(--a-line); }
.ca-btn--sm { min-height: 38px; padding: 0 14px; font-size: 14px; }
.ca-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 16px; }
.ca-card { display: flex; flex-direction: column; gap: 2px; padding: 20px; background: var(--surface); border: 1px solid var(--a-line); border-radius: 12px; text-decoration: none; }
.ca-card:hover { border-color: var(--primary); }
.ca-card span { font-weight: 600; color: var(--muted); font-size: 14px; }
.ca-card b { font-size: 34px; font-weight: 800; letter-spacing: -.02em; }
.ca-card small { font-size: 13px; color: var(--muted); }
.ca-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ca-panel { background: var(--surface); border: 1px solid var(--a-line); border-radius: 12px; padding: 20px 22px; }
.ca-panel + .ca-panel { margin-top: 16px; }
.ca-grid > .ca-panel + .ca-panel { margin-top: 0; }
.ca-panel--wide { grid-column: 1 / -1; }
.ca-panel__head { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.ca-inqs li a { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--a-soft); text-decoration: none; }
.ca-inqs li:last-child a { border-bottom: 0; }
.ca-inqs__t { flex: 1; min-width: 0; }
.ca-inqs__t b { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ca-inqs__t small { display: block; font-size: 13px; color: var(--muted); }
.ca-inqs time { font-size: 13px; color: var(--muted); white-space: nowrap; }
.ca-badge { display: inline-flex; align-items: center; height: 24px; padding: 0 8px; border-radius: 6px; font-size: 12px; font-weight: 700; background: var(--a-soft); color: var(--muted); white-space: nowrap; flex: none; }
.ca-badge.is-new { background: #FDECDD; color: var(--copper-text); }
.ca-badge.is-fresh { background: var(--primary); color: #fff; }
.ca-sec li { display: grid; grid-template-columns: 10px 110px 1fr auto; gap: 10px; align-items: center; padding: 11px 0; border-bottom: 1px solid var(--a-soft); font-size: 14px; }
.ca-sec li:last-child { border-bottom: 0; }
.ca-sec__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--ok); }
.ca-sec li.is-warn .ca-sec__dot { background: #E0A100; }
.ca-sec span:not(.ca-sec__dot) { color: var(--muted); }
.ca-sec em { font-style: normal; font-size: 12px; font-weight: 700; color: var(--ok); }
.ca-sec li.is-warn em { color: var(--warn); }
.ca-log li { display: grid; grid-template-columns: 96px 130px 1fr; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--a-soft); font-size: 14px; }
.ca-log li:last-child { border-bottom: 0; }
.ca-log time { color: var(--muted); font-variant-numeric: tabular-nums; }

.ca-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; }
.ca-tabs button { min-height: 44px; padding: 0 16px; border-radius: 8px; border: 1px solid var(--a-line); background: var(--surface); font-weight: 700; font-size: 15px; display: inline-flex; align-items: center; gap: 6px; }
.ca-tabs button.is-on { background: var(--text); border-color: var(--text); color: #fff; }
.ca-tabs button span { font-size: 13px; font-weight: 600; opacity: .7; }
.ca-tabs button span.is-new { opacity: 1; display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--copper); color: #fff; }
.ca-table { width: 100%; border-collapse: collapse; }
.ca-table th, .ca-table td { padding: 12px 10px; border-bottom: 1px solid var(--a-soft); text-align: left; vertical-align: middle; }
.ca-table thead th { font-size: 13px; color: var(--muted); font-weight: 600; border-bottom-color: var(--a-line); white-space: nowrap; }
.ca-table tbody tr:last-child > * { border-bottom: 0; }
.ca-table tr.is-off .ca-rowtitle { color: #98A29F; }
.ca-table tr.is-new { background: #FFF8F1; }
.ca-num { font-variant-numeric: tabular-nums; white-space: nowrap; color: var(--muted); }
.ca-rowlink { border: 0; background: none; padding: 0; font-weight: 600; text-align: left; font-size: 15px; }
.ca-rowlink:hover { color: var(--primary); text-decoration: underline; }
.ca-empty { text-align: center; color: var(--muted); padding: 32px !important; }
.ca-switch { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; font-weight: 600; font-size: 15px; min-height: 44px; }
.ca-switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.ca-switch__ui { position: relative; width: 44px; height: 26px; border-radius: 999px; background: #C3CBC8; transition: background .15s; flex: none; }
.ca-switch__ui::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform .15s; box-shadow: 0 1px 2px rgba(0,0,0,.2); }
.ca-switch input:checked + .ca-switch__ui { background: var(--primary); }
.ca-switch input:checked + .ca-switch__ui::after { transform: translateX(18px); }
.ca-switch input:focus-visible + .ca-switch__ui { outline: 2px solid var(--copper); outline-offset: 2px; }
.ca-switch--sm { font-size: 13px; color: var(--muted); }
.ca-editor { margin-bottom: 16px; display: flex; flex-direction: column; gap: 16px; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(15, 76, 74, .08); }
.ca-field { display: flex; flex-direction: column; gap: 8px; font-weight: 700; font-size: 15px; }
.ca-field > span { display: flex; justify-content: space-between; gap: 8px; }
.ca-field small { font-weight: 500; color: var(--muted); font-size: 13px; }
.ca-field input, .ca-field textarea { width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid var(--a-line); border-radius: 8px; font-size: 16px; font-weight: 500; background: var(--surface); }
.ca-field textarea { resize: vertical; line-height: 1.7; }
.ca-rte { border: 1px solid var(--a-line); border-radius: 8px; overflow: hidden; }
.ca-rte__bar { display: flex; gap: 4px; padding: 6px; background: var(--a-bg); border-bottom: 1px solid var(--a-line); flex-wrap: wrap; }
.ca-rte__bar button { min-height: 38px; padding: 0 12px; border: 1px solid transparent; border-radius: 6px; background: none; font-size: 14px; font-weight: 600; }
.ca-rte__bar button:hover { background: var(--surface); border-color: var(--a-line); }
.ca-rte__body { min-height: 160px; padding: 14px; font-weight: 400; line-height: 1.75; outline: none; }
.ca-rte__body:focus { box-shadow: inset 0 0 0 2px rgba(15, 76, 74, .25); }
.ca-rte__body p { margin: 0 0 8px; }
.ca-rte__body ul { list-style: disc; padding-left: 22px; }
.ca-file { display: flex; justify-content: space-between; align-items: center; gap: 8px; min-height: 50px; padding: 0 14px; border: 1px dashed #B9C3C0; border-radius: 8px; background: var(--surface); font-weight: 700; text-align: left; }
.ca-file small { font-weight: 500; color: var(--muted); }
.ca-file.is-on { border-style: solid; border-color: var(--primary); color: var(--primary); }
.ca-editor__opts { display: flex; gap: 24px; flex-wrap: wrap; }
.ca-editor__btns { display: flex; gap: 8px; justify-content: flex-end; flex-wrap: wrap; }
.ca-inqread { display: flex; flex-direction: column; gap: 14px; margin-top: 16px; }
.ca-dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 20px; }
.ca-dl dt { font-size: 13px; color: var(--muted); font-weight: 600; }
.ca-dl dd { font-weight: 600; }
.ca-inqread__body { padding: 16px; background: var(--a-bg); border-radius: 8px; line-height: 1.75; }

.ca-edit { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 16px; align-items: start; }
.ca-edit > .ca-panel + .ca-panel { margin-top: 0; }
.ca-edit > .ca-panel { display: flex; flex-direction: column; gap: 18px; }
.ca-arts { border: 0; padding: 0; display: flex; gap: 10px; flex-wrap: wrap; }
.ca-arts legend { font-weight: 700; padding: 0; margin-bottom: 8px; }
.ca-art { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; cursor: pointer; border: 0; background: none; padding: 0; }
.ca-art input { position: absolute; opacity: 0; }
.ca-art__sw { display: grid; place-items: center; width: 84px; height: 56px; border-radius: 8px; border: 2px solid transparent; background: repeating-linear-gradient(60deg, var(--art-a) 0 8px, var(--art-b) 8px 12px); font-size: 22px; color: var(--muted); }
.ca-art--teal { --art-a: #0F4C4A; --art-b: #0A2F2E; }
.ca-art--copper { --art-a: #8A4A22; --art-b: #3D2414; }
.ca-art--night { --art-a: #1E2F4D; --art-b: #0D1626; }
.ca-art--up .ca-art__sw { background: var(--surface); border: 2px dashed #B9C3C0; }
.ca-art input:checked + .ca-art__sw { border-color: var(--copper); box-shadow: 0 0 0 3px rgba(184, 100, 46, .25); }
.ca-art input:focus-visible + .ca-art__sw { outline: 2px solid var(--copper); outline-offset: 2px; }
.ca-preview { position: sticky; top: 76px; display: flex; flex-direction: column; gap: 12px; }
.ca-preview__label { display: flex; align-items: center; justify-content: space-between; font-weight: 700; }
.ca-seg { display: inline-flex; border: 1px solid var(--a-line); border-radius: 8px; overflow: hidden; background: var(--surface); }
.ca-seg button { min-height: 36px; padding: 0 14px; border: 0; background: none; font-weight: 600; font-size: 13px; }
.ca-seg button.is-on { background: var(--text); color: #fff; }
.ca-preview__frame { border: 1px solid var(--a-line); border-radius: 12px; overflow: hidden; background: var(--bg); margin: 0 auto; width: 100%; transition: width .2s; }
.ca-preview__frame.is-mo { width: 300px; }
.cp-hero--mini { min-height: 300px; }
.cp-hero--mini .cp-hero__in { padding: 36px 28px; }
.cp-hero--mini .cp-hero__title { font-size: 30px; }
.cp-hero--mini .cp-hero__sub { font-size: 15px; margin-top: 12px; }
.is-mo .cp-hero--mini .cp-hero__title { font-size: 23px; }
.is-mo .cp-hero--mini .cp-hero__in { padding: 28px 20px; }
.ca-pvgreet { padding: 28px; display: flex; flex-direction: column; gap: 12px; line-height: 1.85; }
.ca-pvgreet__h { font-family: var(--display); font-size: 22px; font-weight: 800; color: var(--text); }
.ca-edit__btns { display: flex; gap: 8px; justify-content: flex-end; }

/* ── 반응형 ─────────────────────────── */
@media (max-width: 1024px) {
  .cp-nav__item > a { padding: 0 14px; }
  .cp-news { grid-template-columns: 1fr 1fr; }
  .cp-news__list { grid-column: 1 / -1; }
  .cp-certs { grid-template-columns: repeat(2, 1fr); }
  .ca-edit { grid-template-columns: 1fr; }
  .ca-preview { position: static; }
}

@media (max-width: 820px) {
  body.cp { font-size: 15px; }
  .cp-wrap { width: calc(100% - 32px); }
  .cp-head__in { height: 64px; }
  .cp-logo { font-size: 19px; }
  .cp-burger { display: flex; }
  .cp-nav { display: none; position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 16px 20px; background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: 0 16px 30px rgba(0,0,0,.12); max-height: calc(100vh - 64px); overflow-y: auto; }
  .is-menu .cp-nav { display: flex; }
  .is-menu .cp-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .is-menu .cp-burger span:nth-child(2) { opacity: 0; }
  .is-menu .cp-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .cp-nav__item > a { height: 52px; padding: 0 4px; border-bottom: 1px solid var(--line); }
  .cp-nav__item > a.is-active { box-shadow: none; }
  .cp-nav__sub { position: static; transform: none; opacity: 1; visibility: visible; box-shadow: none; border: 0; padding: 4px 0 8px; display: flex; flex-wrap: wrap; gap: 0 4px; min-width: 0; }
  .cp-nav__sub a { padding: 8px 8px; font-size: 14px; }
  .cp-nav__cta { margin: 16px 0 0; min-height: 48px; }
  .cp-subnav { top: 64px; }
  .cp-subnav a { height: 52px; padding: 0 14px; }
  .cp-h1 { font-size: 30px; }
  .cp-h2 { font-size: 24px; }
  .cp-sec { padding: 56px 0; }
  .cp-sec__head { margin-bottom: 24px; }
  .cp-hero { min-height: 520px; align-items: flex-end; }
  .cp-hero__art::after { background: linear-gradient(0deg, rgba(5, 22, 21, .85) 0%, rgba(5, 22, 21, .35) 70%); }
  .cp-hero__in { padding: 56px 0 48px; }
  .cp-hero__title { font-size: 32px; }
  .cp-hero__sub { font-size: 16px; }
  .cp-hero__btns .cp-btn { flex: 1; }
  .cp-cards { grid-template-columns: 1fr; gap: 14px; }
  .cp-card { padding: 24px; }
  .cp-stats__in { grid-template-columns: 1fr 1fr; }
  .cp-stats__in div { padding: 24px 12px; border-left: 0; border-top: 1px solid rgba(255,255,255,.15); }
  .cp-stats__in div:nth-child(-n+2) { border-top: 0; }
  .cp-stats b { font-size: 28px; }
  .cp-news { grid-template-columns: 1fr; }
  .cp-tile { min-height: 180px; padding: 24px; }
  .cp-sub { height: 180px; }
  .cp-sub__in { padding-bottom: 28px; }
  .cp-greet { grid-template-columns: 1fr; gap: 20px; }
  .cp-greet__body { font-size: 17px; }
  .cp-history { grid-template-columns: 1fr; gap: 0; padding-left: 8px; }
  .cp-history::before { top: 0; bottom: 0; left: 15px; right: auto; width: 2px; height: auto; }
  .cp-history li { padding: 0 0 22px 36px; flex-direction: row; align-items: baseline; gap: 14px; }
  .cp-history li::before { top: 6px; left: 0; }
  .cp-history b { font-size: 22px; }
  .cp-certs { grid-template-columns: 1fr 1fr; gap: 10px; }
  .cp-certs li { padding: 18px 16px; }
  .cp-certs b { font-size: 16px; }
  .cp-map { grid-template-columns: 1fr; }
  .cp-map svg { min-height: 180px; }
  .cp-map dl { padding: 20px; }
  .cp-biz { grid-template-columns: 1fr; gap: 24px; }
  .cp-biz--rev > :first-child { order: 0; }
  .cp-tabs button, .cp-tabs a { min-height: 46px; padding: 0 14px; font-size: 15px; }
  .cp-tabs a { margin-left: 0; }
  .cp-boardbar { flex-direction: column; align-items: stretch; }
  .cp-search input { width: 100%; }
  .cp-board thead { display: none; }
  .cp-board, .cp-board tbody { display: block; }
  .cp-board tr { display: grid; grid-template-columns: auto 1fr auto; gap: 2px 10px; padding: 14px 4px; border-bottom: 1px solid var(--line); }
  .cp-board td { padding: 0; border: 0; }
  .cp-board td:nth-child(2) { grid-column: 1 / -1; order: -1; }
  .cp-board__no { text-align: left !important; font-size: 13px; }
  .cp-board__date { font-size: 13px; }
  .cp-board__views { font-size: 13px; }
  .cp-board__views::before { content: "조회 "; }
  .cp-read { padding: 20px; }
  .cp-contact { grid-template-columns: 1fr; gap: 24px; }
  .cp-contact__side { position: static; padding: 20px; }
  .cp-form__grid { grid-template-columns: 1fr; }
  .cp-form > .cp-btn { align-self: stretch; }
  .cp-done { grid-column: 1; padding: 24px; }
  .cp-switch { right: 12px; bottom: 40px; min-height: 42px; padding: 0 14px; font-size: 13px; }

  .ca-top { height: 56px; padding: 0 12px; }
  .ca-user small, .ca-user__dot { display: none; }
  .ca-user { font-size: 13px; }
  .ca-top .ca-btn { display: none; }
  .ca-shell { display: block; }
  .ca-side { flex-direction: row; overflow-x: auto; padding: 8px 12px; border-right: 0; border-bottom: 1px solid var(--a-line); position: sticky; top: 56px; z-index: 30; scrollbar-width: none; }
  .ca-side a { flex: none; min-height: 42px; font-size: 14px; padding: 0 14px; }
  .ca-side .is-off { display: none; }
  .ca-main { padding: 18px 16px 100px; }
  .ca-h1 { font-size: 22px; }
  .ca-head__btns { width: 100%; }
  .ca-head__btns .ca-btn { flex: 1; }
  .ca-cards { grid-template-columns: 1fr 1fr; }
  .ca-cards .ca-card:first-child { grid-column: 1 / -1; }
  .ca-grid { grid-template-columns: 1fr; }
  .ca-panel { padding: 16px; }
  .ca-sec li { grid-template-columns: 10px 1fr auto; }
  .ca-sec li span:not(.ca-sec__dot) { grid-column: 2 / -1; font-size: 13px; }
  .ca-log li { grid-template-columns: 1fr; gap: 0; }
  .ca-tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .ca-tabs button { flex: none; }
  .ca-table thead { display: none; }
  .ca-table, .ca-table tbody { display: block; }
  .ca-table tr { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; padding: 12px 0; border-bottom: 1px solid var(--a-soft); }
  .ca-table td { padding: 0; border: 0; }
  .ca-table td:first-child { width: 100%; }
  .ca-dl { grid-template-columns: 1fr 1fr; }
  .ca-head > .ca-btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .cp-art__pleat { animation: none; }
  .cp-card, .ca-switch__ui, .ca-switch__ui::after, .ca-preview__frame { transition: none; }
  html { scroll-behavior: auto; }
}
