/* KIOSCAN — B디자인기획 공통 스타일 (모바일 우선) */
:root {
  /* 어두운 구간: 검정 대신 짙은 그래파이트 (2026-10-31 시험 적용, 원본은 archive/work/site.before-grey.css) */
  --bg-dark: #25292D;
  --bg-deep: #1E2225;
  --bg-slate: #3E454B;
  --bg-light: #F2F3EF;
  --surface: #FFFFFF;
  --ink: #15181B;
  --ink-mid: #535A61;
  --line: #D9DCD4;
  --on-dark: #F2F3EF;
  --on-dark-mid: #A9B0B6;
  --line-dark: rgba(255,255,255,.12);
  --lime: #C6F135;
  --lime-deep: #557000;
  --alert: #FF4B3A;
  --sans: "IBM Plex Sans KR", "IBM Plex Sans", -apple-system, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --mono: "IBM Plex Mono", "IBM Plex Sans KR", ui-monospace, monospace;
  --pad: 20px;
  --max: 1600px;
  --header-h: 60px;
  --r: 14px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--header-h); }
body { margin: 0; overflow-x: clip; font-family: var(--sans); font-size: 16px; line-height: 1.65; color: var(--ink); background: var(--bg-light); word-break: keep-all; overflow-wrap: break-word; }
img, video { display: block; max-width: 100%; }
[hidden] { display: none !important; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.mono { font-family: var(--mono); }

/* 타이포 */
.eyebrow { margin: 0 0 16px; font-family: var(--mono); font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--lime-deep); }
.dark .eyebrow, .deep .eyebrow { color: var(--lime); }
h1, h2, h3 { margin: 0; line-height: 1.25; letter-spacing: -.015em; font-weight: 700; }
h2 { font-size: clamp(28px, 6.6vw, 56px); }
h3 { font-size: 20px; }
.lede { margin: 18px 0 0; max-width: 720px; font-size: 17px; color: var(--ink-mid); }
.dark .lede { color: var(--on-dark-mid); }
.hl { color: var(--lime-deep); }
.dark .hl, .deep .hl { color: var(--lime); }
.note { font-size: 13px; color: var(--ink-mid); }
.dark .note { color: var(--on-dark-mid); }

/* 섹션 */
section { padding: 80px 0; }
.dark { background: var(--bg-dark); color: var(--on-dark); }
.deep { background: var(--bg-deep); color: var(--on-dark); }
.sec-head { margin-bottom: 40px; }

/* 버튼 */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 24px; border: 0; border-radius: 10px; font-size: 16px; font-weight: 600; text-decoration: none; transition: background .15s, transform .15s; }
.btn:active { transform: scale(.98); }
.btn-lime { background: var(--lime); color: var(--ink); }
.btn-lime:hover { background: #D5F862; }
.btn-line { color: inherit; box-shadow: inset 0 0 0 1.5px currentColor; background: transparent; }
.btn-line:hover { background: rgba(128,128,128,.14); }
.btn-ink { background: var(--ink); color: #fff; }
.link-arrow { position: relative; display: inline-flex; gap: 6px; margin-top: 24px; font-weight: 600; text-decoration: none; border-bottom: 1.5px solid currentColor; padding-bottom: 2px; }
/* 글자는 그대로, 누르는 영역만 44px로 */
.link-arrow::after { content: ""; position: absolute; left: -6px; right: -6px; top: 50%; height: 44px; transform: translateY(-50%); }

/* 헤더 */
.site-header { position: fixed; inset: 0 0 auto; z-index: 60; height: var(--header-h); color: var(--on-dark); transition: background .25s, box-shadow .25s; }
.site-header.solid, .site-header.scrolled { background: rgba(30,34,37,.9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--line-dark); }
.site-header .wrap { height: 100%; display: flex; align-items: center; gap: 16px; }
.logo { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; text-decoration: none; color: inherit; margin-right: auto; }
.logo img { display: block; width: auto; height: 32px; flex: none; }
.logo span { font-family: "Space Grotesk", var(--sans); font-weight: 700; font-size: 20px; letter-spacing: .03em; }
.gnb { display: none; }
.gnb a { padding: 8px 12px; border-radius: 8px; text-decoration: none; font-size: 15px; color: var(--on-dark-mid); }
.gnb a:hover, .gnb a[aria-current="page"] { color: var(--on-dark); }
.gnb a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--lime); border-radius: 0; }
.lang { display: inline-flex; align-items: center; font-family: var(--mono); font-size: 13px; font-weight: 600; border-radius: 8px; box-shadow: inset 0 0 0 1px var(--line-dark); overflow: hidden; }
.lang a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 10px; text-decoration: none; color: var(--on-dark-mid); min-width: 44px; }
.lang a[aria-current="true"] { background: var(--on-dark); color: var(--ink); }
.header-cta { display: none; }
.menu-btn { width: 44px; height: 44px; margin-right: -10px; border: 0; background: none; color: inherit; display: grid; place-items: center; }
.menu-btn i, .menu-btn i::before, .menu-btn i::after { display: block; position: relative; width: 22px; height: 2px; background: currentColor; transition: transform .2s, background .2s; }
.menu-btn i::before, .menu-btn i::after { content: ""; position: absolute; left: 0; }
.menu-btn i::before { top: -7px; } .menu-btn i::after { top: 7px; }
.menu-open .menu-btn i { background: transparent; }
.menu-open .menu-btn i::before { transform: translateY(7px) rotate(45deg); }
.menu-open .menu-btn i::after { transform: translateY(-7px) rotate(-45deg); }
.m-menu { position: fixed; inset: var(--header-h) 0 0; z-index: 59; display: flex; flex-direction: column; padding: 8px var(--pad) calc(24px + env(safe-area-inset-bottom)); background: var(--bg-deep); color: var(--on-dark); overflow-y: auto; opacity: 0; pointer-events: none; transform: translateY(-8px); transition: .2s; }
.menu-open .m-menu { opacity: 1; pointer-events: auto; transform: none; }
.m-menu > a { display: flex; justify-content: space-between; padding: 17px 2px; border-bottom: 1px solid var(--line-dark); font-size: 20px; font-weight: 600; text-decoration: none; }
.m-menu > a::after { content: "→"; color: var(--lime); }
.m-menu .m-foot { margin-top: auto; padding-top: 24px; display: grid; gap: 10px; }

/* 페이지 상단 (하위 페이지) */
.page-top { padding: calc(var(--header-h) + 56px) 0 56px; background: var(--bg-dark); color: var(--on-dark); }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 22px; padding: 0; list-style: none; font-size: 13px; color: var(--on-dark-mid); }
.crumbs li + li::before { content: "›"; margin-right: 6px; }
.crumbs a { text-decoration: none; }
.page-top h1 { font-size: clamp(32px, 7vw, 64px); }
.page-top .hl, .page-top .eyebrow { color: var(--lime); }
.page-top .lede { color: var(--on-dark-mid); }

/* 강점 ③ 키오스크 정지 화면 */
.strength .media > img.backdrop { filter: blur(8px) brightness(.5); transform: scale(1.08); }
.k-static { position: absolute; left: 50%; top: 50%; height: 84%; aspect-ratio: 640 / 680; transform: translate(-50%, -50%); border-radius: 14px; overflow: hidden; box-shadow: 0 30px 70px rgba(0,0,0,.55); }
.k-static > img { width: 100%; height: 100%; object-fit: cover; }
.k-static .k-alert { background: var(--lime); color: var(--ink); }
.k-static .k-btn { background: #2A2E32; color: var(--lime); }

/* ================= 히어로: 관제 화면 ================= */
.hero { position: relative; padding: 0; background: var(--bg-deep); color: var(--on-dark); overflow: hidden; }
.wall { position: relative; height: 58vh; min-height: 360px; display: grid; grid-template-columns: repeat(2, 1fr); grid-auto-rows: 1fr; gap: 2px; padding-top: var(--header-h); background: var(--bg-deep); }
.tile { position: relative; margin: 0; overflow: hidden; background: #000; }
.tile.d-only { display: none; }
.tile.d-only.m-on { display: block; }
.tile.m-off { display: none; }
.tile img, .tile video { width: 100%; height: 100%; object-fit: cover; filter: saturate(.85) contrast(1.05); }
.tile::after { content: ""; position: absolute; inset: 0; pointer-events: none; box-shadow: inset 0 0 0 0 transparent; transition: box-shadow .2s; background: repeating-linear-gradient(0deg, rgba(255,255,255,.025) 0 1px, transparent 1px 3px); }
.tile figcaption { position: absolute; left: 8px; bottom: 6px; font-size: 10.5px; color: #E8EAE6; text-shadow: 0 1px 2px #000; }
.tile figcaption b { font-family: var(--mono); font-weight: 600; margin-right: 4px; }
.tile .t-time { position: absolute; right: 8px; top: 6px; font-family: var(--mono); font-size: 10px; color: #D8DBD6; text-shadow: 0 1px 2px #000; }
.tile .t-rec { position: absolute; left: 8px; top: 6px; font-family: var(--mono); font-size: 10px; font-weight: 600; color: #fff; display: inline-flex; gap: 4px; align-items: center; text-shadow: 0 1px 2px #000; }
.tile .t-rec::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--alert); }
.tile .t-badge { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%) scale(.9); padding: 6px 10px; border-radius: 6px; font-size: 12px; font-weight: 700; white-space: nowrap; background: var(--alert); color: #fff; opacity: 0; transition: .2s; }
.tile.alarm::after { box-shadow: inset 0 0 0 3px var(--alert); animation: alarmBlink .7s steps(1) infinite; }
.tile.alarm .t-badge { opacity: 1; transform: translate(-50%, -50%); }
.tile.resolved::after { box-shadow: inset 0 0 0 3px var(--lime); }
.tile.resolved .t-badge { opacity: 1; background: var(--lime); color: var(--ink); transform: translate(-50%, -50%); }
@keyframes alarmBlink { 50% { box-shadow: inset 0 0 0 3px rgba(255,75,58,.25); } }

.alarm-bar { position: absolute; z-index: 6; left: 50%; top: calc(var(--header-h) + 10px); transform: translate(-50%, -20px); opacity: 0; display: flex; align-items: center; gap: 8px; max-width: calc(100% - 24px); padding: 8px 14px; border-radius: 999px; background: var(--alert); color: #fff; font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: .3s; box-shadow: 0 10px 30px rgba(0,0,0,.4); }
.alarm-bar.show { opacity: 1; transform: translate(-50%, 0); }
.alarm-bar.ok { background: var(--lime); color: var(--ink); }
.alarm-bar .mono { font-size: 12px; opacity: .9; }

.clip { position: absolute; z-index: 5; left: 8px; right: 8px; top: calc(var(--header-h) + 52px); border-radius: 12px; overflow: hidden; background: #050606; box-shadow: 0 24px 60px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.1); opacity: 0; transform: scale(.94); transform-origin: 70% 30%; pointer-events: none; transition: opacity .3s, transform .55s cubic-bezier(.65,0,.35,1); }
.clip.open { opacity: 1; transform: none; }
.clip-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 8px 12px; font-size: 12px; color: var(--on-dark-mid); }
.clip-head b { color: var(--on-dark); font-weight: 600; }
.clip-head .play { font-family: var(--mono); color: var(--lime); }
.clip-view { position: relative; aspect-ratio: 16 / 9; }
.clip-view video, .clip-view img { width: 100%; height: 100%; object-fit: cover; }
.clip-foot { display: flex; align-items: center; gap: 10px; padding: 8px 12px 10px; font-family: var(--mono); font-size: 11px; color: var(--on-dark-mid); }
.clip-foot .bar { position: relative; flex: 1; height: 4px; border-radius: 2px; background: rgba(255,255,255,.14); }
.clip-foot .bar i { position: absolute; inset: 0 auto 0 0; width: 0; border-radius: 2px; background: var(--on-dark); }
.clip-foot .bar s { position: absolute; right: 0; top: -4px; width: 3px; height: 12px; border-radius: 2px; background: var(--alert); }
.clip-stamp { position: absolute; left: 10px; bottom: 10px; padding: 4px 8px; border-radius: 4px; font-family: var(--mono); font-size: 11px; font-weight: 600; background: var(--alert); color: #fff; opacity: 0; transition: opacity .2s; }
.clip.frozen .clip-stamp { opacity: 1; }

/* 감지 박스 */
.dbox { position: absolute; --c: var(--lime); opacity: 0; transform: scale(1.2); transition: opacity .25s, transform .35s cubic-bezier(.2,.8,.2,1); }
.dbox.show { opacity: 1; transform: none; }
.dbox.alert { --c: var(--alert); }
.dbox::before, .dbox::after, .dbox b::before, .dbox b::after { content: ""; position: absolute; width: 28%; height: 28%; max-width: 22px; max-height: 22px; border: 2.5px solid var(--c); }
.dbox::before { left: 0; top: 0; border-right: 0; border-bottom: 0; }
.dbox::after { right: 0; top: 0; border-left: 0; border-bottom: 0; }
.dbox b { position: absolute; inset: 0; }
.dbox b::before { left: 0; bottom: 0; border-right: 0; border-top: 0; }
.dbox b::after { right: 0; bottom: 0; border-left: 0; border-top: 0; }
.dbox .tag { position: absolute; left: 0; bottom: calc(100% + 5px); padding: 2px 6px; border-radius: 3px; white-space: nowrap; font-family: var(--mono); font-size: 11px; font-weight: 600; background: var(--c); color: var(--ink); }
.dbox.alert .tag { color: #fff; }
.dbox.static { opacity: 1; transform: none; }

/* 키오스크 */
.kiosk { position: absolute; z-index: 7; right: 10px; bottom: calc(42vh - 30px); width: 38vw; max-width: 230px; aspect-ratio: 640 / 680; border-radius: 12px; overflow: hidden; box-shadow: 0 20px 50px rgba(0,0,0,.6); opacity: 0; transform: translateY(30px); transition: .45s cubic-bezier(.2,.8,.2,1); }
.kiosk.open { opacity: 1; transform: none; }
.kiosk > img { width: 100%; height: 100%; object-fit: cover; }
.kiosk-label { position: absolute; left: 8px; top: 8px; padding: 2px 7px; border-radius: 4px; font-size: 10px; font-weight: 600; background: rgba(0,0,0,.6); color: #fff; }
.k-screen { position: absolute; left: 25.3%; top: 10.3%; width: 51%; height: 67.3%; display: flex; flex-direction: column; padding: 8% 7%; background: #101214; color: #fff; overflow: hidden; container-type: inline-size; }
.k-top { font-family: var(--mono); font-size: 7.5cqi; color: #9AA1A7; }
.k-alert { margin-top: 6%; padding: 7% 6%; border-radius: 6px; background: var(--alert); font-size: 10cqi; font-weight: 700; line-height: 1.3; }
.k-alert small { display: block; margin-top: 3px; font-size: 7.5cqi; font-weight: 500; opacity: .9; }
.k-info { margin-top: 7%; font-size: 7.5cqi; color: #C9CED2; line-height: 1.45; }
.k-btn { position: relative; margin-top: auto; padding: 9% 4%; border-radius: 6px; text-align: center; font-size: 9cqi; font-weight: 700; background: #F2F3EF; color: var(--ink); overflow: hidden; }
.k-tap { position: absolute; left: 50%; top: 50%; width: 30px; height: 30px; margin: -15px 0 0 -15px; border-radius: 50%; background: rgba(0,0,0,.25); transform: scale(0); }
.k-tap.go { animation: tap .6s ease-out; }
@keyframes tap { from { transform: scale(0); opacity: 1; } to { transform: scale(6); opacity: 0; } }
.kiosk.done .k-alert { background: var(--lime); color: var(--ink); }
.kiosk.done .k-btn { background: #2A2E32; color: var(--lime); }

/* ---------- 히어로 v2: 현장 → 관제 → 동시 알림 → 클립 → 현장 키오스크 ---------- */
/* 관제 화면 영역과 같은 위치 (모바일 기준) */
.intro { position: absolute; z-index: 6; left: 0; right: 0; top: var(--header-h); height: calc(max(50vh, 360px) - var(--header-h)); background: #0B0C0D; transition: opacity .5s; }
.intro.gone { opacity: 0; pointer-events: none; }
.intro-shot { position: absolute; inset: 0; margin: 0; overflow: hidden; background: #000; opacity: 0; transition: opacity .6s; }
.intro-shot.on { opacity: 1; }
.intro-shot.fly { inset: auto; border-radius: 4px; box-shadow: 0 0 0 2px var(--lime); transition: left .6s cubic-bezier(.65,0,.35,1), top .6s cubic-bezier(.65,0,.35,1), width .6s cubic-bezier(.65,0,.35,1), height .6s cubic-bezier(.65,0,.35,1), opacity .4s; }
.intro-shot video { width: 100%; height: 100%; object-fit: cover; object-position: 0% 50%; }
/* CCTV 시야 범위: 렌즈 → 감시 구역 */
.fov { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.fov .cone { fill: rgba(198,241,53,.12); stroke: rgba(198,241,53,.55); stroke-width: 2; stroke-dasharray: 8 8; opacity: 0; transition: opacity .5s .15s; }
.fov .area { fill: rgba(198,241,53,.16); stroke: var(--lime); stroke-width: 4; stroke-linejoin: round; opacity: 0; transition: opacity .4s .45s; }
.fov .lens { fill: var(--lime); opacity: 0; transition: opacity .3s; }
.fov .lens-ring { fill: none; stroke: var(--lime); stroke-width: 3; opacity: 0; transform-box: fill-box; transform-origin: center; }
.intro-shot.look .fov .cone, .intro-shot.look .fov .area, .intro-shot.look .fov .lens { opacity: 1; }
.intro-shot.look .fov .area { animation: areaPulse 1.2s ease-in-out .7s infinite; }
.intro-shot.look .fov .lens-ring { animation: lensPing 1.4s ease-out infinite; }
.intro-shot.fly .fov, .intro-shot.fly figcaption { opacity: 0; transition: opacity .3s; }
@keyframes areaPulse { 50% { fill: rgba(198,241,53,.3); } }
@keyframes lensPing { from { opacity: .9; transform: scale(1); } to { opacity: 0; transform: scale(3.5); } }
.intro-shot figcaption { position: absolute; left: 12px; right: 12px; bottom: 10px; display: flex; flex-direction: column; gap: 3px; color: #fff; text-shadow: 0 1px 4px rgba(0,0,0,.9); opacity: 0; transform: translateY(8px); transition: .4s .25s; }
.intro-shot.look figcaption { opacity: 1; transform: none; }
.intro-shot figcaption span { font-family: var(--mono); font-size: 11px; color: #FF8C80; }
.intro-shot figcaption span b { color: var(--lime); font-weight: 600; margin-right: 4px; }
.intro-shot figcaption strong { font-size: 17px; font-weight: 700; }
.intro-shot figcaption em { font-style: normal; font-size: 13px; color: #E2E6E0; }

.toast { position: absolute; z-index: 8; left: 10px; right: 10px; top: calc(var(--header-h) + 8px); padding: 12px 14px; border-radius: 12px; background: rgba(20,22,24,.94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 18px 40px rgba(0,0,0,.55), inset 0 0 0 1px rgba(255,75,58,.55); color: var(--on-dark); opacity: 0; transform: translateY(-14px); transition: .35s cubic-bezier(.2,.8,.2,1); pointer-events: none; }
.toast.show { opacity: 1; transform: none; }
.toast.ok { box-shadow: 0 18px 40px rgba(0,0,0,.55), inset 0 0 0 1px rgba(198,241,53,.6); }
.toast-top { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.toast-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--alert); box-shadow: 0 0 0 4px rgba(255,75,58,.25); animation: alarmBlink .8s steps(1) infinite; }
.toast.ok .toast-dot { background: var(--lime); box-shadow: 0 0 0 4px rgba(198,241,53,.2); animation: none; }
.toast-top time { margin-left: auto; font-family: var(--mono); font-size: 11px; color: var(--on-dark-mid); }
.toast p { margin: 6px 0 10px; font-size: 13px; line-height: 1.45; color: #D3D7DA; }
.toast-btns { display: flex; gap: 6px; }
.toast.ok .toast-btns { display: none; }
.tbtn { position: relative; overflow: hidden; display: inline-flex; align-items: center; min-height: 34px; padding: 0 14px; border-radius: 8px; font-size: 13px; font-weight: 600; background: rgba(255,255,255,.1); }
.tbtn.primary { background: var(--lime); color: var(--ink); }

.pip { position: absolute; z-index: 7; left: calc(100% - 10px - 42vw); right: 10px; top: calc(max(50vh, 360px) - 30vw - 14px); height: 30vw; border-radius: 10px; overflow: hidden; background: #000; container-type: size; box-shadow: 0 18px 40px rgba(0,0,0,.6), 0 0 0 2px var(--alert); opacity: 0; transform: translateY(16px); transition: opacity .35s, transform .35s, left .6s cubic-bezier(.65,0,.35,1), right .6s cubic-bezier(.65,0,.35,1), top .6s cubic-bezier(.65,0,.35,1), width .6s cubic-bezier(.65,0,.35,1), height .6s cubic-bezier(.65,0,.35,1), border-radius .6s, box-shadow .3s; }
.pip.show { opacity: 1; transform: none; }
.pip.expanded { border-radius: 0; box-shadow: none; }
.pip.done { box-shadow: 0 18px 40px rgba(0,0,0,.6), 0 0 0 2px var(--lime); }
.kv { position: absolute; left: 50%; top: 50%; width: max(100cqw, 177.78cqh); aspect-ratio: 16 / 9; transform: translate(-50%, -50%) scale(var(--z, 1)); transform-origin: var(--ox, 50%) var(--oy, 25%); transition: transform .7s cubic-bezier(.65,0,.35,1); }
.pip.expanded .kv { --z: 1.4; }
.kv video { width: 100%; height: 100%; object-fit: cover; }
.k-screen2 { position: absolute; border-radius: 2px; background: #0F1113; color: #fff; overflow: hidden; container-type: inline-size; }
.k2-in { display: flex; flex-direction: column; height: 100%; padding: 8% 7%; }
.k-screen2.ringing { animation: ring .9s ease-in-out infinite; }
@keyframes ring { 50% { box-shadow: 0 0 0 1.5cqi rgba(255,75,58,.55), 0 0 6cqi rgba(255,75,58,.6); } }
.k2-top { font-family: var(--mono); font-size: 5.6cqi; color: #9AA1A7; line-height: 1.35; }
.k2-alert { margin-top: 6%; padding: 7% 6%; border-radius: 4px; background: var(--alert); font-size: 8.6cqi; font-weight: 700; line-height: 1.25; }
.k2-alert small { display: block; margin-top: 3%; font-size: 6.2cqi; font-weight: 500; opacity: .92; }
.k2-info { margin-top: 7%; font-size: 6.2cqi; line-height: 1.45; color: #C9CED2; }
.k2-btn { position: relative; overflow: hidden; margin-top: auto; padding: 8% 4%; border-radius: 4px; text-align: center; font-size: 6.8cqi; font-weight: 700; line-height: 1.3; background: #F2F3EF; color: var(--ink); }
.k-screen2.done .k2-alert { background: var(--lime); color: var(--ink); }
.k-screen2.done .k2-btn { background: #2A2E32; color: var(--lime); }
.pip-label { position: absolute; left: 8px; top: 8px; max-width: calc(100% - 16px); padding: 3px 8px; border-radius: 5px; font-size: 11px; font-weight: 600; background: var(--alert); color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pip.done .pip-label { background: var(--lime); color: var(--ink); }

.cursor { position: absolute; z-index: 9; left: 60%; top: 70%; opacity: 0; pointer-events: none; transition: left .7s cubic-bezier(.65,0,.35,1), top .7s cubic-bezier(.65,0,.35,1), opacity .25s; filter: drop-shadow(0 2px 4px rgba(0,0,0,.5)); }
.cursor.show { opacity: 1; }
.cursor.press svg { transform: scale(.85); }

/* 히어로 문구 */
.hero .hl, .hero .eyebrow { color: var(--lime); }
.hero .lede { color: #C3C8CC; }
.hero-copy { position: relative; z-index: 4; padding: 28px var(--pad) 36px; background: var(--bg-deep); }
@media (max-width: 639px) {
  .wall { height: 50vh; -webkit-mask-image: linear-gradient(to bottom, #000 80%, transparent); mask-image: linear-gradient(to bottom, #000 80%, transparent); }
  .kiosk { top: calc(max(50vh, 360px) - 40vw - 10px); bottom: auto; width: 38vw; }
  .hero-copy .lede { margin-top: 12px; font-size: 15px; }
  .hero-copy { padding-top: 22px; }
  .clip { left: 13vw; right: 13vw; top: calc(var(--header-h) + 4vh); border-radius: 10px; }
  .clip-head { padding: 6px 9px; font-size: 10px; }
  .clip-foot { padding: 5px 9px 7px; font-size: 9.5px; }
  .clip-stamp { left: 6px; bottom: 6px; padding: 2px 6px; font-size: 9.5px; }
  .hero-copy .eyebrow { margin-bottom: 10px; }
}
.hero-copy h1 { font-size: clamp(32px, 8.4vw, 72px); line-height: 1.18; letter-spacing: -.025em; }
.hero-copy .lede { font-size: 16px; }
.hero-ctas { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 24px; }
.hero-ctas .btn { min-height: 52px; padding-inline: 12px; font-size: 15.5px; white-space: nowrap; }
.steps { display: flex; gap: 4px; margin: 0 0 18px; padding: 0; list-style: none; overflow-x: auto; scrollbar-width: none; }
.steps::-webkit-scrollbar { display: none; }
.steps li { flex: 1 0 auto; padding: 8px 0 0; border-top: 2px solid rgba(255,255,255,.18); font-size: 12px; color: #7E868C; white-space: nowrap; transition: .3s; padding-right: 10px; }
.steps li b { font-family: var(--mono); font-weight: 600; margin-right: 5px; }
.steps li.on { border-color: var(--lime); color: var(--on-dark); }
.hero-shade { display: none; }

/* ================= 홈 섹션 ================= */
.problem { position: relative; overflow: hidden; }
.problem .bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .16; filter: grayscale(1); }
.problem .wrap { position: relative; }
.chain { display: grid; gap: 1px; margin: 0; padding: 0; list-style: none; background: var(--line-dark); border-radius: var(--r); overflow: hidden; }
.chain li { padding: 26px 22px; background: rgba(18,20,22,.88); }
.chain .n { font-family: var(--mono); font-size: 13px; color: var(--alert); }
.chain h3 { margin: 8px 0 6px; font-size: 22px; }
.chain p { margin: 0; color: var(--on-dark-mid); font-size: 15px; }
.chain li { position: relative; }
.chain li::after { content: ""; position: absolute; right: 22px; top: 28px; width: 18px; height: 2px; background: var(--alert); box-shadow: 8px 0 0 var(--alert); opacity: .8; }
.problem .foot { margin-top: 28px; font-size: 17px; color: var(--on-dark-mid); max-width: 760px; }
.problem .foot b { color: var(--on-dark); }


.strength { display: grid; gap: 0; padding: 0; }
.strength + .strength { border-top: 1px solid var(--line-dark); }
.strength .media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #000; }
.strength .media > img { width: 100%; height: 100%; object-fit: cover; }
.strength .text { padding: 40px var(--pad) 56px; }
.strength .num { font-family: var(--mono); font-size: 13px; color: var(--lime); }
.strength h3 { margin: 10px 0 0; font-size: clamp(24px, 5.4vw, 40px); line-height: 1.3; }
.strength ul { margin: 22px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.strength li { padding-left: 18px; position: relative; color: #C9CED2; font-size: 17px; }
.strength li::before { content: ""; position: absolute; left: 0; top: .7em; width: 8px; height: 2px; background: var(--lime); }
.timeline { position: absolute; left: 12px; right: 12px; bottom: 12px; padding: 10px 12px; border-radius: 8px; background: rgba(10,11,12,.82); backdrop-filter: blur(6px); font-family: var(--mono); font-size: 10.5px; color: var(--on-dark-mid); }
.timeline .row { position: relative; height: 8px; margin: 8px 0 6px; border-radius: 2px; background: repeating-linear-gradient(90deg, rgba(198,241,53,.35) 0 2px, transparent 2px 6px); }
.timeline .ev { position: absolute; top: -4px; width: 4px; height: 16px; border-radius: 2px; background: var(--alert); }
.timeline .lbl { display: flex; justify-content: space-between; }
.chan { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 22px; }
.chan span { padding: 5px 10px; border-radius: 999px; font-size: 13px; background: rgba(255,255,255,.07); color: var(--on-dark); }

.sites { display: grid; grid-auto-flow: column; grid-auto-columns: 78%; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--pad); padding: 0 var(--pad) 8px; margin: 0 calc(-1 * var(--pad)); scrollbar-width: none; }
.sites::-webkit-scrollbar { display: none; }
.site { position: relative; scroll-snap-align: start; aspect-ratio: 3 / 4; border-radius: var(--r); overflow: hidden; background: #000; color: #fff; text-decoration: none; }
.site img { width: 100%; height: 100%; object-fit: cover; opacity: .82; transition: transform .6s, opacity .3s; }
.site:hover img { transform: scale(1.04); opacity: 1; }
.site .cap { position: absolute; inset: auto 0 0 0; padding: 60px 18px 18px; background: linear-gradient(transparent, rgba(0,0,0,.85)); }
.site .cap small { display: block; font-size: 12px; color: var(--lime); font-family: var(--mono); }
.site .cap b { display: block; margin-top: 4px; font-size: 20px; font-weight: 700; }
.site .cap span { display: block; margin-top: 4px; font-size: 14px; color: #D3D7D1; }

.deploy-grid { display: grid; gap: 12px; }
.deploy { padding: 28px 22px; border-radius: var(--r); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.deploy .ico { font-size: 26px; }
.deploy h3 { margin: 12px 0 6px; font-size: 22px; }
.deploy p { margin: 0; color: var(--ink-mid); }
.deploy .one { margin-bottom: 10px; color: var(--ink); font-weight: 600; }

/* 인사이트 잡지 표지 카드 */
.covers { display: grid; gap: 16px; }
.cover-card { display: flex; flex-direction: column; text-decoration: none; border-radius: var(--r); overflow: hidden; background: var(--surface); box-shadow: 0 1px 0 var(--line), 0 10px 30px rgba(20,24,28,.06); transition: transform .25s, box-shadow .25s; }
.cover-card:hover { transform: translateY(-4px); box-shadow: 0 1px 0 var(--line), 0 18px 40px rgba(20,24,28,.12); }
.cover { position: relative; aspect-ratio: 1200 / 630; overflow: hidden; background: #1C1F22; container-type: inline-size; }
.cover img { position: absolute; right: 0; top: 0; height: 100%; width: 78%; object-fit: cover; object-position: 70% 50%; }
.cover::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, #1C1F22 0%, #1C1F22 30%, rgba(28,31,34,.6) 52%, rgba(28,31,34,0) 72%); }
.cover .c-text { position: absolute; z-index: 2; left: 6%; top: 50%; transform: translateY(-50%); width: 52%; color: #fff; }
.cover .c-chip { display: inline-block; padding: .35em .8em; border-radius: 999px; background: var(--lime); color: var(--ink); font-family: var(--mono); font-size: 2.6cqi; font-weight: 600; }
.cover .c-title { margin-top: 3.2cqi; font-size: 5.6cqi; font-weight: 700; line-height: 1.22; letter-spacing: -.02em; }
.cover .c-sub { margin-top: 2.4cqi; font-size: 2.9cqi; color: #C6CBCF; line-height: 1.4; }
.cover-card .body { padding: 18px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.cover-card .meta { font-family: var(--mono); font-size: 12px; font-weight: 600; letter-spacing: .06em; color: var(--lime-deep); }
.cover-card h3 { margin: 8px 0 8px; font-size: 18px; line-height: 1.45; }
.cover-card p { margin: 0; font-size: 14.5px; color: var(--ink-mid); }
.cover-card .read { margin-top: auto; padding-top: 14px; font-weight: 600; font-size: 14px; color: var(--lime-deep); }
.filters { display: flex; gap: 8px; margin-bottom: 28px; overflow-x: auto; scrollbar-width: none; }
.filters button { flex: none; min-height: 40px; padding: 0 16px; border: 0; border-radius: 999px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); font-size: 14px; font-weight: 600; color: var(--ink-mid); }
.filters button[aria-pressed="true"] { background: var(--ink); color: var(--lime); box-shadow: none; }
/* 맞춤 시나리오 페이지 */
.layers { display: grid; gap: 12px; }
.layer { padding: 24px 22px; border-radius: var(--r); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.layer .mono { font-size: 12px; color: var(--lime-deep); font-weight: 600; letter-spacing: .08em; }
.layer h3 { margin: 6px 0 12px; }
.quote { margin: 0; padding: 12px 14px; border-left: 3px solid var(--lime-deep); border-radius: 0 8px 8px 0; background: var(--bg-light); font-size: 15px; }
.steps5 { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.steps5 li { display: grid; grid-template-columns: 44px 1fr; gap: 12px; padding: 18px 0; border-top: 1px solid var(--line-dark); }
.steps5 .n { font-family: var(--mono); font-size: 14px; color: var(--lime); }
.steps5 p { margin: 4px 0 0; color: var(--on-dark-mid); font-size: 15px; }
.compare { display: grid; gap: 12px; }
.compare > div { padding: 24px 22px; border-radius: var(--r); }
.compare .a { background: rgba(0,0,0,.04); box-shadow: inset 0 0 0 1px var(--line); color: var(--ink-mid); }
.compare .b { background: var(--ink); color: var(--on-dark); }
.compare h3 { font-size: 16px; margin-bottom: 12px; }
.compare .b h3 { color: var(--lime); }
.compare ul { margin: 0; padding-left: 18px; display: grid; gap: 8px; }
.case-wide { display: grid; gap: 0; border-radius: var(--r); overflow: hidden; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.case-wide .media { position: relative; aspect-ratio: 16 / 9; }
.case-wide .media img { width: 100%; height: 100%; object-fit: cover; }
.case-wide .text { padding: 26px 22px; }
.case-wide ol { margin: 14px 0 0; padding-left: 20px; display: grid; gap: 6px; }

/* FAQ */
.faq { display: grid; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { position: relative; padding: 22px 48px 22px 0; font-weight: 600; font-size: 17px; line-height: 1.5; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 26px; font-weight: 300; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq summary:focus-visible { outline: 2px solid var(--lime-deep); outline-offset: 4px; }
.faq details p { margin: 0; padding: 0 48px 24px 0; color: var(--ink-mid); line-height: 1.7; }

/* 문의 */
.contact-grid { display: grid; gap: 32px; }
.ways { display: grid; margin: 32px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line-dark); }
.way { display: flex; align-items: center; gap: 16px; min-height: 64px; padding: 16px 0; border-bottom: 1px solid var(--line-dark); color: var(--on-dark); text-decoration: none; }
.way svg { flex: none; width: 24px; height: 24px; fill: none; stroke: var(--lime); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.way b { display: block; font-size: 17px; }
.way small { display: block; margin-top: 2px; font-size: 13.5px; color: var(--on-dark-mid); }
.way:hover b { color: var(--lime); }
.next-h { margin: 40px 0 0; font-size: 16px; color: var(--on-dark-mid); font-weight: 600; }
.next { display: grid; gap: 14px; margin: 16px 0 0; padding: 0; list-style: none; counter-reset: nx; }
.next li { display: grid; grid-template-columns: 28px 1fr; column-gap: 12px; counter-increment: nx; }
.next li::before { content: counter(nx); grid-row: span 2; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-family: var(--mono); font-size: 12px; color: var(--lime); box-shadow: inset 0 0 0 1.5px rgba(198,241,53,.5); }
.next b { font-size: 16px; }
.next span { font-size: 14.5px; color: var(--on-dark-mid); }
form.inquiry { display: grid; gap: 16px; padding: 24px 20px; border-radius: 16px; background: var(--surface); color: var(--ink); }
.field label { display: block; margin-bottom: 7px; font-size: 14px; font-weight: 600; }
.field label small, .topics legend small { margin-left: 4px; font-size: 12.5px; font-weight: 500; color: var(--ink-mid); }
.field-row { display: grid; gap: 16px; }
.field-hint { margin: -6px 0 0; font-size: 13px; color: var(--ink-mid); }
.field-hint.err { color: #C4321F; font-weight: 600; }
.topics { margin: 0; padding: 0; border: 0; }
.topics legend { margin-bottom: 9px; padding: 0; font-size: 14px; font-weight: 600; }
.topics div { display: flex; flex-wrap: wrap; gap: 8px; }
.topics label { position: relative; }
.topics input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.topics span { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 999px; font-size: 14px; background: #FAFAF8; box-shadow: inset 0 0 0 1.5px var(--line); cursor: pointer; transition: background .15s, box-shadow .15s; }
.topics input:checked + span { background: var(--ink); color: #fff; box-shadow: none; }
.topics input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.field .req { color: var(--alert); }
.field input, .field textarea { width: 100%; padding: 13px 14px; border: 1.5px solid var(--line); border-radius: 10px; background: #FAFAF8; font: inherit; font-size: 16px; color: var(--ink); }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ink); background: #fff; }
.consent { display: flex; gap: 10px; font-size: 14px; }
.consent input { flex: none; width: 22px; height: 22px; accent-color: var(--ink); }
.form-done { display: none; padding: 24px 6px; text-align: center; }
.form-done.show { display: block; }

/* 준비 중 페이지 */
.soon { padding: 48px 22px; border-radius: var(--r); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.soon ul { margin: 14px 0 0; padding-left: 20px; color: var(--ink-mid); }

/* 푸터 */
footer { padding: 56px 0 calc(110px + env(safe-area-inset-bottom)); background: var(--bg-deep); color: var(--on-dark-mid); font-size: 14px; }
footer .logo { color: var(--on-dark); margin-bottom: 20px; }
footer p { margin: 3px 0; }
.f-links { display: flex; flex-wrap: wrap; gap: 0 20px; margin: 14px 0; }
.f-links a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }

/* 모바일 하단 바 */
.sticky-bar { position: fixed; z-index: 50; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: 52px 1fr; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(30,34,37,.95); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 -1px 0 var(--line-dark); transform: translateY(110%); transition: transform .3s; }
.sticky-bar.show { transform: none; }
.sticky-bar .sq { display: grid; place-items: center; min-height: 52px; border-radius: 10px; background: rgba(255,255,255,.08); color: var(--on-dark); font-size: 11px; font-weight: 600; text-decoration: none; line-height: 1.15; }
.sticky-bar .sq.kakao { background: #FEE500; color: #191600; }
.sticky-bar .sq i { display: block; font-style: normal; font-size: 18px; }
.kakao-float { display: none; }

/* 리빌 */
.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s, transform .7s cubic-bezier(.2,.8,.2,1); }
.js .reveal.in { opacity: 1; transform: none; }

/* ================= 태블릿 ================= */
@media (min-width: 640px) {
  :root { --pad: 32px; }
  .hero-ctas { grid-template-columns: none; grid-auto-flow: column; justify-content: start; }
  .hero-ctas .btn { padding-inline: 22px; }
  .chain { grid-template-columns: 1fr 1fr; }
  .sites { grid-auto-columns: 42%; }
  .deploy-grid, .layers, .compare { grid-template-columns: 1fr 1fr; }
  .covers { grid-template-columns: 1fr 1fr; }
  .kiosk { max-width: 260px; width: 30vw; }
}

/* ================= PC: 풀블리드 ================= */
@media (min-width: 1024px) {
  :root { --pad: 4vw; --header-h: 72px; }
  section { padding: 128px 0; }
  .gnb { display: flex; gap: 2px; }
  .header-cta { display: inline-flex; min-height: 44px; padding: 0 18px; font-size: 15px; }
  .menu-btn, .m-menu { display: none; }

  .hero { height: 100vh; min-height: 680px; }
  .wall { position: absolute; inset: 0; height: auto; padding-top: 0; grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(3, 1fr); }
  .tile.d-only { display: block; }
  .tile figcaption { font-size: 12px; left: 12px; bottom: 10px; }
  .tile .t-time, .tile .t-rec { font-size: 11px; top: 10px; }
  .tile .t-rec { left: 12px; } .tile .t-time { right: 12px; }
  .tile .t-badge { font-size: 14px; padding: 8px 14px; }
  /* 왼쪽은 글자 전용 영역, 관제 화면은 오른쪽 */
  /* 관제 화면은 위아래 여백을 두고, 가장자리는 흐리게 */
  .wall { left: 36vw; top: calc(var(--header-h) + 7vh); bottom: 9vh;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 14%, #000 84%, transparent 100%), linear-gradient(to right, transparent 0, #000 12%);
    -webkit-mask-composite: source-in;
    mask-image: linear-gradient(to bottom, transparent 0, #000 14%, #000 84%, transparent 100%), linear-gradient(to right, transparent 0, #000 12%);
    mask-composite: intersect; }
  .tile img, .tile video { filter: saturate(.8) contrast(1.05) brightness(.82); }
  .hero-shade { display: block; position: absolute; inset: 0; z-index: 3; pointer-events: none; background: linear-gradient(180deg, rgba(30,34,37,.9) 0, rgba(30,34,37,.5) 90px, transparent 160px), linear-gradient(90deg, var(--bg-deep) 0, var(--bg-deep) 36vw, rgba(30,34,37,.7) calc(36vw + 1px), rgba(30,34,37,0) calc(36vw + 140px)); }
  .hero-copy { position: absolute; z-index: 4; left: var(--pad); top: 50%; transform: translateY(-46%); width: min(33vw, 600px); padding: 0; background: none; }
  .hero-copy h1 { font-size: clamp(30px, 2.95vw, 56px); }
  .hero-copy .lede { font-size: 18px; }
  .steps { margin-bottom: 28px; }
  .steps li { font-size: 13px; }
  .alarm-bar { top: calc(var(--header-h) + 16px); left: auto; right: var(--pad); transform: translateY(-20px); font-size: 14px; }
  .alarm-bar.show { transform: none; }
  .clip { left: 38vw; right: auto; top: calc(var(--header-h) + 15vh); width: 37vw; }
  .intro { left: 36vw; right: 0; top: calc(var(--header-h) + 7vh); height: calc(100% - var(--header-h) - 16vh); }
  .intro-shot figcaption { left: 22px; bottom: 20px; }
  .intro-shot figcaption strong { font-size: 24px; }
  .intro-shot figcaption em { font-size: 15px; }
  .toast { left: auto; right: var(--pad); top: calc(var(--header-h) + 3vh); width: 360px; padding: 14px 16px; }
  .toast p { font-size: 14px; }
  .pip { left: calc(100% - var(--pad) - max(22vw, 280px)); right: var(--pad); top: calc(100% - 11vh - max(12.4vw, 158px)); height: max(12.4vw, 158px); }
  .pip-label { font-size: 12px; }
  .kiosk { right: calc(var(--pad) - 12px); bottom: 12vh; width: 14vw; max-width: 250px; min-width: 190px; }

  .sec-head { margin-bottom: 56px; }
  .chain { grid-template-columns: repeat(4, 1fr); }
  .chain li { padding: 36px 30px 40px; min-height: 240px; }

  .strength { grid-template-columns: 1fr 1fr; align-items: stretch; }
  .strength .media { aspect-ratio: auto; min-height: 72vh; }
  .strength .text { padding: 10vh var(--pad); align-self: center; }
  .strength.flip .media { order: 2; }
  .strength .text { max-width: 760px; }

  .sites { grid-auto-flow: row; grid-template-columns: repeat(5, 1fr); overflow: visible; margin: 0; padding: 0; }
  .site { aspect-ratio: 3 / 4.4; }
  .covers { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .layers { grid-template-columns: repeat(3, 1fr); }
  .steps5 { grid-template-columns: repeat(5, 1fr); gap: 20px; }
  .steps5 li { grid-template-columns: 1fr; border-top: 2px solid var(--lime); }
  .case-wide { grid-template-columns: 1.2fr 1fr; }
  .case-wide .media { aspect-ratio: auto; min-height: 100%; }
  .case-wide .text { padding: 48px; }
  .contact-grid { grid-template-columns: 1fr 1fr; gap: 6vw; align-items: start; }
  form.inquiry { padding: 36px; }
  .field-row { grid-template-columns: 1fr 1fr; }
  .page-top { padding: calc(var(--header-h) + 96px) 0 88px; }
  .sticky-bar { display: none; }
  footer { padding-bottom: 56px; }
  .kakao-float { position: fixed; z-index: 50; right: 24px; bottom: 24px; display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: #FEE500; color: #191600; font-size: 12px; font-weight: 700; line-height: 1.15; text-align: center; text-decoration: none; box-shadow: 0 10px 30px rgba(0,0,0,.25); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* 하는 일: 3단계 카드 */
.steps3 { display: grid; gap: 28px; margin: 0; padding: 0; list-style: none; }
.steps3 .art { position: relative; aspect-ratio: 3 / 4; max-height: calc(100svh - var(--header-h) - 120px); width: 100%; overflow: hidden; border-radius: var(--r); background: #111; }
.steps3 .art > img { width: 100%; height: 100%; object-fit: cover; }
.steps3 .art > img.backdrop, .strength .media > img.backdrop { filter: blur(6px) brightness(.45); transform: scale(1.08); }
.steps3 .n { display: block; margin-top: 18px; font-family: var(--mono); font-size: 13px; font-weight: 600; color: var(--lime-deep); }
.steps3 h3 { margin: 6px 0 0; font-size: 23px; line-height: 1.35; }
.steps3 p { margin: 8px 0 0; font-size: 16.5px; color: var(--ink-mid); }
.steps3 .fov .cone { fill: rgba(198,241,53,.14); stroke: rgba(198,241,53,.6); stroke-width: 3; stroke-dasharray: 10 10; }
.steps3 .fov .area { fill: rgba(198,241,53,.2); stroke: var(--lime); stroke-width: 6; stroke-linejoin: round; }
.steps3 .fov .lens { fill: var(--lime); }
.chip.rec { position: absolute; left: 12px; top: 12px; padding: 4px 9px; border-radius: 5px; background: rgba(0,0,0,.7); color: #fff; font-family: var(--mono); font-size: 12px; font-weight: 600; }

/* 알림 카드 묶음 */
.alert-stack { position: absolute; inset: 0; margin: 0; padding: 7% 6%; list-style: none; display: flex; flex-direction: column; justify-content: center; gap: 12px; }
.alert-stack li { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 14px; background: rgba(24,27,30,.92); box-shadow: 0 12px 30px rgba(0,0,0,.45), inset 0 0 0 1px rgba(255,255,255,.08); color: #fff; }
.alert-stack li:first-child { box-shadow: 0 12px 30px rgba(0,0,0,.45), inset 0 0 0 1px rgba(255,75,58,.7); }
.alert-stack .ai { flex: none; width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; font-size: 18px; background: rgba(198,241,53,.16); }
.alert-stack li:first-child .ai { background: rgba(255,75,58,.2); }
.alert-stack div { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.alert-stack b { font-size: 16px; }
.alert-stack div span { font-size: 13.5px; color: #B9BFC4; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.alert-stack time { margin-left: auto; align-self: flex-start; font-family: var(--mono); font-size: 11.5px; color: #8E959B; }
.alert-stack li { padding-left: 16px; font-size: inherit; }
.alert-stack li::before { content: none; }
.strength .media:has(.alert-stack) { min-height: 300px; }
.strength > * { min-width: 0; }
@media (max-width: 899px) { .strength .media:has(.alert-stack) { aspect-ratio: auto; } }
@media (max-width: 639px) {
  .alert-stack { gap: 8px; padding: 5%; }
  .alert-stack li { padding: 10px 12px; gap: 10px; }
  .alert-stack .ai { width: 32px; height: 32px; font-size: 15px; }
  .alert-stack b { font-size: 14.5px; }
  .alert-stack div span { font-size: 12.5px; }
}
.alert-stack.mini { padding: 8%; gap: 10px; }
.alert-stack.mini li { padding: 11px 12px; }
.alert-stack.mini b { font-size: 14.5px; }
.alert-stack.mini div span { font-size: 12.5px; }
@media (min-width: 900px) {
  .steps3 { grid-template-columns: repeat(3, 1fr); gap: 2.4vw; }
  .alert-stack { padding: 12% 14%; gap: 16px; }
  .alert-stack li { padding: 18px 20px; }
  .alert-stack b { font-size: 18px; }
  .alert-stack div span { font-size: 14.5px; }
}

/* 히어로 알림 카드: 현장 경고등·문자 */
.clip .dbox .tag { font-family: var(--sans); font-size: 12.5px; font-weight: 700; padding: 3px 8px; }
.notify { position: absolute; z-index: 7; left: 12px; right: 12px; top: 0; display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 18px; background: rgba(250,250,247,.97); color: var(--ink); box-shadow: 0 20px 50px rgba(0,0,0,.55); opacity: 0; transform: scale(.94); transform-origin: 70% 30%; transition: opacity .3s, transform .55s cubic-bezier(.65,0,.35,1); pointer-events: none; }
.notify.show { opacity: 1; transform: none; }
.nt-ico { flex: none; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; font-size: 20px; background: #E6F7B8; }
.notify[data-kind="light"] .nt-ico { background: var(--alert); animation: beacon .7s ease-in-out infinite alternate; }
@keyframes beacon { from { box-shadow: 0 0 0 0 rgba(255,75,58,.7); } to { box-shadow: 0 0 0 12px rgba(255,75,58,0); filter: brightness(1.25); } }
.nt-text { min-width: 0; flex: 1; }
.nt-head { display: flex; gap: 8px; align-items: baseline; font-size: 13px; color: #5A6166; }
.nt-head b { color: var(--ink); font-weight: 700; }
.nt-head time { margin-left: auto; font-size: 12px; white-space: nowrap; }
.notify p { margin: 4px 0 0; font-size: 14px; line-height: 1.45; }
@media (min-width: 640px) {
  .notify { right: auto; width: min(320px, calc(25vw - 26px)); padding: 14px 16px; }
  .nt-ico { width: 46px; height: 46px; font-size: 22px; }
  .nt-head { font-size: 14px; }
  .notify p { font-size: 15.5px; }
}

/* 히어로 신호선: 감지 박스 → 알림 카드 (경고등 빨강, 문자 연두) */
.signal { position: absolute; inset: 0; z-index: 6; width: 100%; height: 100%; overflow: visible; pointer-events: none; --c: var(--lime); opacity: 0; transition: opacity .25s; }
.signal[data-kind="light"] { --c: var(--alert); }
.signal.show { opacity: 1; }
.signal path { fill: none; stroke: var(--c); stroke-width: 2.5; stroke-linecap: round; filter: drop-shadow(0 0 6px var(--c)); }
.signal circle { fill: #fff; stroke: var(--c); stroke-width: 3; filter: drop-shadow(0 0 8px var(--c)); }
.notify[data-kind="sms"] .nt-ico { background: var(--lime); }
.clip-view video, .clip-view img { transition: filter .4s; }
.clip.dim .clip-view video, .clip.dim .clip-view img { filter: brightness(.55); }
/* 화면 위쪽에 붙은 박스는 이름표를 왼쪽 옆에 */
.dbox.tag-left .tag { left: auto; right: calc(100% + 6px); bottom: auto; top: 50%; transform: translateY(-50%); }

/* ===== 홈 재구성 (2026-10-31) ===== */
/* ③ 감지 후에는: 어두운 구간 머리말 */
.deep-head { padding-top: 80px; }
.deep-head .sec-head { margin-bottom: 32px; }
/* ⑤ 도입 절차: 밝은 배경용 */
.steps5.light li { border-top-color: var(--line); }
.steps5.light .n { color: var(--lime-deep); font-weight: 600; }
.steps5.light p { color: var(--ink-mid); }
@media (min-width: 1024px) {
  .steps5.light li { border-top: 2px solid var(--lime-deep); }
}

/* ② 분야별 감지: 3D 아이콘 + 분야명 + 대표 항목 */
/* ①-2 문제와 답: 왼쪽 고민(질문, 회색), 오른쪽 답(진하게) + 아래 구역 링크. 구분선만 */
.why-sec { padding-block: 96px 88px; background: var(--surface); }
.why { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.why li { display: grid; gap: 10px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.why-q { margin: 0; font-size: 18px; line-height: 1.5; font-weight: 700; color: var(--ink); letter-spacing: -.01em; }
.why-a p { margin: 0; font-size: 16.5px; line-height: 1.65; color: #3B4147; }
.why-a a { display: inline-block; margin-top: 10px; font-size: 15px; font-weight: 600; color: var(--lime-deep); text-decoration: none; border-bottom: 1.5px solid currentColor; padding-bottom: 1px; }
.why-a a:hover { color: var(--ink); }
/* 모바일: 고민·답 한 쌍씩 옆으로 넘기는 한 줄(다음 장이 살짝 보임), 아래 점 */
.why-dots { display: none; }
@media (max-width: 899px) {
  .why { display: grid; grid-auto-flow: column; grid-auto-columns: 86%; gap: 12px; border-top: 0; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(var(--pad) * -1); padding-inline: var(--pad); scroll-padding-inline: var(--pad); scrollbar-width: none; }
  .why::-webkit-scrollbar { display: none; }
  .why li { display: flex; flex-direction: column; gap: 14px; padding: 22px 20px; border: 0; border-radius: var(--r); background: var(--bg-light); scroll-snap-align: start; }
  .why-q { font-size: 17.5px; }
  .why-a { display: flex; flex-direction: column; flex: 1; padding-top: 14px; border-top: 1px solid var(--line); }
  .why-a p { font-size: 16px; }
  .why-a a { margin-top: auto; padding-top: 14px; align-self: flex-start; }
  .why-dots { display: flex; justify-content: center; gap: 6px; margin-top: 16px; }
  .why-dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--line); transition: width .25s, background .25s; }
  .why-dots i.on { width: 18px; border-radius: 3px; background: var(--ink); }
}
@media (min-width: 900px) {
  .why li { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 48px; padding: 30px 0; align-items: start; }
  .why-q { font-size: 20px; }
  .why-a p { font-size: 17.5px; padding-top: 2px; }
}
.cats-sec { padding-block: 96px 88px; }
.cats { display: grid; margin: 8px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.cats li { display: grid; grid-template-columns: 72px 1fr; gap: 16px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); }
.cat-ico { width: 72px; height: 72px; }
.cats h3 { margin: 0; font-size: 19px; line-height: 1.4; }
.cats p { margin: 6px 0 0; font-size: 15.5px; line-height: 1.6; color: var(--ink-mid); }
/* 맞춤 감지(솔루션)로 가는 링크: 버튼이 아니라 큰 글자 링크 */
.cats-sec .link-arrow { margin-top: 36px; gap: 10px; align-items: center; padding-bottom: 6px; border-bottom: 2px solid var(--ink); color: var(--ink); font-size: 18px; font-weight: 700; }
.cats-sec .link-arrow:hover { color: var(--lime-deep); border-color: var(--lime-deep); }
@media (min-width: 900px) { .cats-sec .link-arrow { font-size: 21px; } }
@media (min-width: 900px) {
  .cats-sec { padding-block: 128px 112px; }
  #scenes .lede { max-width: none; }
  .cats { grid-template-columns: repeat(3, 1fr); column-gap: 48px; border-top: 0; }
  .cats li { grid-template-columns: 1fr; gap: 14px; align-items: start; padding: 24px 0 32px; border-bottom: 0; border-top: 1px solid var(--line); }
  .cat-ico { width: 104px; height: 104px; margin-left: -10px; }
  .cats h3 { font-size: 21px; }
}

/* ④ 감지 후에는: 알림 → 현장 확인·처리 → 기록 */
.flow { display: grid; gap: 28px; }
.flow-photo { position: relative; margin: 0; border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 5; background: #000; container-type: size; }
/* 사진(4:3)을 칸에 꽉 채우되, 화면 UI가 사진 속 키오스크 화면을 그대로 따라가도록 한 덩어리로 키움 */
.ks { position: absolute; left: 50%; top: 50%; aspect-ratio: 4 / 3; width: max(100cqw, calc(100cqh * 4 / 3)); transform: translate(-50%, -50%); }
.ks > img { position: absolute; inset: 0; width: 100%; height: 100%; }
.ks-screen { position: absolute; container-type: inline-size; border-radius: 4px; background: #0C0F12; color: #F2F3EF; overflow: hidden; }
/* 화면 안 글자·여백은 모두 화면 폭(cqw) 기준이라 어떤 크기에서도 같은 비율로 보임 */
.ks-ui { height: 100%; display: flex; flex-direction: column; gap: 2.2cqw; padding: 7cqw 7cqw 7.5cqw; }
.ks-ui > * { flex: none; }
.ks-screen p { margin: 0; }
.ks-bar { display: flex; justify-content: space-between; align-items: center; font-size: 5.4cqw; color: #A9B0B6; }
.ks-live { display: inline-flex; align-items: center; gap: 2cqw; color: #FF7A6B; font-weight: 700; }
.ks-live i { width: 2.6cqw; height: 2.6cqw; border-radius: 50%; background: var(--alert); animation: live-dot 1.4s ease-in-out infinite; }
.ks-bar time { font-family: var(--mono); }
.ks-alert { margin-top: 1.5cqw !important; font-size: 9cqw; font-weight: 700; line-height: 1.25; }
.ks-cam { font-size: 5.2cqw; color: #A9B0B6; }
.ks-clip { position: relative; aspect-ratio: 16 / 10; border-radius: 2cqw; overflow: hidden; background: #000; }
.ks-clip img { width: 100%; height: 100%; object-fit: cover; }
.ks-prog { height: 1.2cqw; border-radius: 1cqw; background: rgba(255,255,255,.15); }
.ks-prog i { display: block; width: 64%; height: 100%; border-radius: inherit; background: var(--lime); }
.ks-where { font-size: 5.2cqw; color: #A9B0B6; }
.ks-btn, .ks-btn2 { display: block; text-align: center; border-radius: 2.6cqw; font-weight: 700; }
.ks-btn { margin-top: auto; padding: 4.2cqw 0; background: var(--lime); color: #121416; font-size: 7cqw; }
.ks-btn2 { padding: 3.6cqw 0; box-shadow: inset 0 0 0 1px rgba(255,255,255,.28); color: #F2F3EF; font-size: 6cqw; font-weight: 600; }
@keyframes live-dot { 50% { opacity: .3; } }
@media (prefers-reduced-motion: reduce) { .ks-live i { animation: none; } }
.flow-steps { display: grid; margin: 0; padding: 0; list-style: none; }
.flow-steps li { display: grid; grid-template-columns: 40px 1fr; gap: 12px; padding: 22px 0; border-top: 1px solid var(--line-dark); }
.flow-steps .n { font-family: var(--mono); font-size: 14px; color: var(--on-dark-mid); padding-top: 3px; }
.flow-steps h3 { margin: 0; font-size: 20px; line-height: 1.4; }
.flow-steps p { margin: 6px 0 0; color: var(--on-dark-mid); font-size: 15.5px; line-height: 1.65; }
.flow-steps li.key .n, .flow-steps li.key h3 { color: var(--lime); }
.flow-steps li.key p { color: var(--on-dark); }
@media (min-width: 900px) {
  .flow-sec { padding-block: 128px; }
  .flow { grid-template-columns: 5fr 6fr; gap: 64px; align-items: stretch; }
  .flow-photo { aspect-ratio: auto; min-height: 420px; }
  /* PC는 칸이 가로로 넓어 키오스크가 작아지므로 조금 당겨서 크게 */
  .ks { width: auto; height: 100%; min-width: 100%; }
  .flow-steps li { padding: 40px 0; }
  .flow-steps h3 { font-size: 22px; }
  .flow-steps p { font-size: 16.5px; }
}

/* ⑤ 도입 방법: 구축 선택지 3칸(분야별 감지와 같은 모양) + 도입 절차 진행선 */
.start-sec { padding-block: 96px 88px; }
.track-h { margin: 56px 0 0; font-size: 19px; }
.track { position: relative; display: grid; gap: 0; margin: 20px 0 0; padding: 0; list-style: none; }
.track li { position: relative; display: grid; gap: 2px; padding: 0 0 22px 28px; }
.track li::before { content: ""; position: absolute; left: 0; top: 7px; width: 11px; height: 11px; border-radius: 50%; background: var(--bg-light); box-shadow: inset 0 0 0 2px var(--ink); }
.track li::after { content: ""; position: absolute; left: 5px; top: 22px; bottom: 2px; width: 1px; background: var(--line); }
.track li:last-child { padding-bottom: 0; }
.track li:last-child::after { display: none; }
.track b { font-size: 17px; }
.track span { font-size: 15px; color: var(--ink-mid); }
.start-sec .link-arrow { margin-top: 32px; }
#faq { border-top: 1px solid var(--line); }
@media (min-width: 900px) {
  .start-sec { padding-block: 128px 112px; }
  .track-h { margin-top: 72px; }
  .track { grid-template-columns: repeat(6, 1fr); gap: 20px; margin-top: 24px; }
  .track li { padding: 26px 0 0; }
  .track li::before { top: 0; }
  .track li::after { left: 16px; right: -24px; top: 5px; bottom: auto; width: auto; height: 1px; }
  .track li:last-child::after { display: none; }
}

/* ⑥ 자주 묻는 질문: PC는 왼쪽 제목(따라옴) + 오른쪽 목록 */
.faq-sec { padding-block: 96px; }
.faq-side h2 { margin: 0; }
.faq-side .link-arrow { margin-top: 20px; }
.faq-grid { display: grid; gap: 32px; }
/* 모바일: 제목 → 목록 → '질문 더 보기' 순서 */
@media (max-width: 899px) { .faq-side { display: contents; } .faq-side .link-arrow { order: 2; justify-self: start; margin-top: 0; } .faq-grid .faq { order: 1; } }
@media (min-width: 900px) {
  .faq-sec { padding-block: 128px; }
  .faq-grid { grid-template-columns: 4fr 7fr; gap: 64px; align-items: start; }
  .faq-side { position: sticky; top: calc(var(--header-h) + 32px); }
}

/* 히어로 모바일: 화면을 채운 CCTV 한 대로 사례를 자동 재생 (PC는 관제 그리드 그대로) */
.m-reel { display: none; }
@media (max-width: 639px) {
  .hero { background: var(--bg-deep); }
  .hero .wall, .hero .hero-shade, .hero .clip, .hero .notify, .hero .signal { display: none; }
  .m-reel { display: block; position: relative; margin-top: var(--header-h); aspect-ratio: 4 / 3; overflow: hidden; background: #050606; user-select: none; -webkit-user-select: none; touch-action: pan-y; }
  .mr-view { position: absolute; inset: 0; }
  /* 영상·정지 화면은 높이에 맞춰 가로로 넘치게 두고, 사건 위치가 가운데 오도록 JS가 옮김 */
  .mr-video, .mr-still { position: absolute; top: 0; left: 0; height: 100%; width: auto; max-width: none; aspect-ratio: 1280 / 716; }
  .mr-video[hidden], .mr-still[hidden] { display: none; }
  .mr-view::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0,0,0,.55), transparent 22%, transparent 58%, rgba(0,0,0,.6)); pointer-events: none; transition: background-color .4s; }
  .m-reel.dim .mr-view::after { background-color: rgba(0,0,0,.35); }
  .m-reel .dbox .tag { font-family: var(--sans); font-size: 12.5px; font-weight: 700; padding: 3px 8px; }
  .m-reel .dbox.tag-in .tag { left: 4px; right: auto; top: 4px; bottom: auto; transform: none; }
  .mr-badge[hidden] { display: none; }
  .mr-bars { position: absolute; z-index: 4; left: 12px; right: 12px; top: 10px; display: flex; gap: 4px; }
  .mr-bars i { flex: 1; height: 3px; border-radius: 2px; background: rgba(255,255,255,.28); overflow: hidden; }
  .mr-bars b { display: block; height: 100%; width: 0; background: #fff; }
  .mr-bars i.done b { width: 100%; }
  .mr-hud { position: absolute; z-index: 4; left: 12px; right: 12px; top: 22px; display: flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 11.5px; color: rgba(255,255,255,.88); }
  .mr-rec { display: inline-flex; align-items: center; gap: 5px; font-weight: 700; }
  .mr-rec::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--alert); animation: beacon .9s ease-in-out infinite alternate; }
  .mr-cam { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .mr-badge { position: absolute; z-index: 4; left: 12px; top: 48px; margin: 0; padding: 5px 10px; border-radius: 6px; font-size: 13px; font-weight: 700; background: var(--alert); color: #fff; opacity: 0; transform: translateY(-4px); transition: opacity .25s, transform .25s; }
  .mr-badge.sms { background: var(--lime); color: var(--ink); }
  .m-reel.frozen .mr-badge { opacity: 1; transform: none; }
  .mr-card { position: absolute; z-index: 5; left: 10px; right: 10px; bottom: 10px; display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border-radius: 14px; background: rgba(250,250,247,.97); color: var(--ink); box-shadow: 0 16px 40px rgba(0,0,0,.5); opacity: 0; transform: translateY(24px); transition: opacity .3s, transform .45s cubic-bezier(.3,1.4,.5,1); }
  .m-reel.alerted .mr-card { opacity: 1; transform: none; }
  .mr-card .nt-ico { flex: none; width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; font-size: 16px; background: var(--alert); }
  .mr-card[data-kind="light"] .nt-ico { animation: beacon .7s ease-in-out infinite alternate; }
  .mr-card[data-kind="sms"] .nt-ico { background: var(--lime); }
  .mr-card .nt-text { flex: 1; min-width: 0; }
  .mr-card .nt-head { display: flex; justify-content: space-between; gap: 8px; font-size: 13.5px; line-height: 1.3; }
  .mr-card .nt-head time { flex: none; font-size: 12px; color: #8A9196; font-weight: 400; }
  .mr-card p { margin: 3px 0 0; font-size: 12px; line-height: 1.35; color: #5A6166; }
  .mr-card .mr-ok { max-height: 0; margin: 0; overflow: hidden; font-weight: 600; color: #2F7A1F; opacity: 0; transition: max-height .3s, margin .3s, opacity .3s; }
  .m-reel.checked .mr-ok { max-height: 24px; margin-top: 6px; opacity: 1; }
  /* 화면 왼쪽·오른쪽을 누르면 이전·다음 사례 */
  .mr-nav { position: absolute; z-index: 3; top: 0; bottom: 0; width: 35%; border: 0; padding: 0; background: none; cursor: pointer; -webkit-tap-highlight-color: transparent; }
  .mr-prev { left: 0; } .mr-next { right: 0; }
  .mr-nav:focus-visible { outline: 2px solid var(--lime); outline-offset: -4px; }
  .m-reel.fade .mr-view { opacity: 0; }
  .mr-view { transition: opacity .25s; }
  .hero-copy { padding-top: 20px; }
  /* 모바일 안내 문구(연출 영상)는 공간상 생략 */
  .hero-copy .note { display: none; }
  .hero-copy { background: none; }
  /* 영상 아래 공간이 좁아 설명 아래 한 줄은 생략 */
  .hero-copy .lede.diff { display: none; }
}

/* 푸터 사업자 정보 (전자상거래법 표시 사항) */
footer .legal { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 0 0 10px; font-style: normal; line-height: 1.7; }
footer .legal b { font-weight: 500; color: var(--on-dark); margin-right: 2px; }
/* 회사 소개: 회사 정보 표 */
.info-h { margin: 0 0 20px; font-size: 24px; }
.info { margin: 0; border-top: 1px solid var(--line); max-width: 860px; }
.info div { display: grid; grid-template-columns: 140px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.info dt { color: var(--ink-mid); font-size: 15px; }
.info dd { margin: 0; font-size: 15.5px; }
@media (max-width: 639px) { .info div { grid-template-columns: 1fr; gap: 2px; } }
/* 개인정보처리방침 */
.policy { max-width: 820px; }
.pol-sec { padding: 28px 0; border-top: 1px solid var(--line); }
.pol-sec h2 { margin: 0 0 10px; font-size: 19px; }
.pol-sec p, .pol-sec li { color: var(--ink-mid); font-size: 15.5px; line-height: 1.75; }
.pol-sec p { margin: 6px 0 0; }
.pol-sec table { width: 100%; margin-top: 10px; border-collapse: collapse; font-size: 15px; }
.pol-sec th, .pol-sec td { padding: 10px 12px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.pol-sec th { width: 90px; background: var(--surface); font-weight: 600; }

/* 문의 폼: 필수/선택 묶음, 칸별 오류, 오류 요약 (원래 프로젝트 폼 참고) */
.fgroup { margin: 0; padding: 0; border: 0; display: grid; gap: 16px; min-width: 0; }
.fgroup + .fgroup, .fconsent { padding-top: 22px; border-top: 1px solid var(--line); }
.fgroup > legend { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; margin-bottom: 4px; padding: 0; }
.fgroup > legend b { font-size: 15px; }
.fgroup > legend span { font-size: 13px; color: var(--ink-mid); }
.field select { width: 100%; padding: 13px 14px; border: 1.5px solid var(--line); border-radius: 10px; background: #FAFAF8; font: inherit; font-size: 16px; color: var(--ink); }
.field input, .field textarea, .field select, .consent input { scroll-margin-top: calc(var(--header-h) + 24px); }
.field input::placeholder, .field textarea::placeholder { color: #6A7177; }
.field [aria-invalid="true"] { border-color: #C4321F; background: #FFF8F7; }
.ferr { margin: 6px 0 0; font-size: 13px; color: #B42318; font-weight: 600; }
.ferr:empty { display: none; }
.fconsent { display: grid; gap: 6px; }
.fconsent .ferr { margin-left: 32px; }
.privacy-link { justify-self: start; display: inline-flex; align-items: center; min-height: 44px; margin-left: 32px; font-size: 13.5px; color: var(--ink); text-underline-offset: 4px; }
.fnotice { margin: 0; font-size: 13px; color: var(--ink-mid); line-height: 1.6; }
.fsummary { padding: 14px 16px; border-radius: 10px; box-shadow: inset 0 0 0 1.5px rgba(180,35,24,.45); background: #FFF8F7; }
.fsummary b { color: #B42318; font-size: 14.5px; }
.fsummary ul { margin: 8px 0 0; padding-left: 18px; font-size: 13.5px; color: var(--ink-mid); }
.fsummary a { color: var(--ink); }
.field .req, .consent .req { color: #B42318; }

@media (prefers-reduced-motion: reduce) { .art-card { animation: none; } }
/* 히어로 멈춤 버튼 (PC 영상 연출용) */
@media (min-width: 640px) {
}

/* ⑤ 도입 방법: 폐쇄망 vs 클라우드 비교 + 장비 한 줄 (2번 분야별 감지와 다른 모양) */
.dep-vs { display: grid; gap: 12px; margin-top: 8px; }
.dep-card { padding: 24px 22px 26px; border-radius: var(--r); background: transparent; box-shadow: inset 0 0 0 1px var(--line); }
.dep-card img { width: 84px; height: 84px; margin: -6px 0 6px -8px; }
.dep-card h3 { margin: 0; font-size: 22px; }
.dep-card > p { margin: 8px 0 0; color: var(--ink-mid); font-size: 15.5px; line-height: 1.65; }
.dep-card .fit-h { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 13.5px; font-weight: 600; color: var(--ink); }
.dep-card ul { margin: 8px 0 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.dep-card li { position: relative; padding-left: 18px; font-size: 15px; }
.dep-card li::before { content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 2px; background: var(--lime-deep); }
.dep-equip { display: grid; grid-template-columns: 64px 1fr; gap: 14px; align-items: center; margin-top: 12px; padding: 16px 18px; border-radius: var(--r); box-shadow: inset 0 0 0 1px var(--line); }
.dep-equip img { width: 64px; height: 64px; }
.dep-equip h3 { margin: 0; font-size: 17px; }
.dep-equip p { margin: 4px 0 0; font-size: 15px; color: var(--ink-mid); }
@media (min-width: 900px) {
  .dep-vs { grid-template-columns: 1fr 1fr; gap: 16px; }
  .dep-card { padding: 32px 32px 34px; }
  .dep-card img { width: 96px; height: 96px; }
  .dep-card h3 { font-size: 26px; }
  .dep-equip { padding: 18px 24px; grid-template-columns: 72px 1fr; }
  .dep-equip img { width: 72px; height: 72px; }
}

/* 선 전화 아이콘 (이모지 대신) */
.i-phone { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; vertical-align: -3px; margin-right: 6px; }
.sticky-bar .sq .i-phone { display: block; width: 20px; height: 20px; margin: 0 0 2px; color: var(--lime); }

/* ===== 솔루션 페이지 ===== */
.sol-h { margin: 0 0 24px; font-size: clamp(24px, 3vw, 34px); }
/* 작동 구조: 다섯 단계 */
.sol-flow { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.sol-flow li { display: grid; grid-template-columns: 40px 1fr; column-gap: 12px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.sol-flow .n { grid-row: span 2; font-family: var(--mono); font-size: 14px; font-weight: 600; color: var(--lime-deep); padding-top: 3px; }
.sol-flow h3 { margin: 0; font-size: 19px; }
.sol-flow p { margin: 4px 0 0; color: var(--ink-mid); font-size: 15.5px; line-height: 1.6; }
@media (min-width: 1000px) {
  .sol-flow { grid-template-columns: repeat(5, 1fr); gap: 20px; border-top: 0; }
  .sol-flow li { grid-template-columns: 1fr; padding: 22px 0 0; border-bottom: 0; border-top: 2px solid var(--ink); position: relative; }
  .sol-flow li:not(:last-child)::after { content: "→"; position: absolute; right: -16px; top: -14px; font-size: 16px; color: var(--ink-mid); background: var(--bg-light); padding: 0 2px; }
  .sol-flow .n { grid-row: auto; margin-bottom: 8px; }
}
/* 구축 방식 구성도 */
.arch-grid { display: grid; gap: 16px; }
.arch { margin: 0; padding: 22px 20px 24px; border-radius: var(--r); background: rgba(255,255,255,.04); box-shadow: inset 0 0 0 1px var(--line-dark); }
.arch figcaption b { display: block; font-size: 22px; color: var(--on-dark); }
.arch figcaption span { display: block; margin-top: 6px; font-size: 15px; color: var(--on-dark-mid); }
.arch-zone { position: relative; margin-top: 22px; padding: 26px 14px 16px; border: 1.5px dashed rgba(198,241,53,.45); border-radius: 12px; }
.arch-zone .zl { position: absolute; left: 12px; top: -11px; padding: 0 8px; font-size: 12.5px; font-weight: 600; color: var(--lime); background: var(--bg-dark); }
.arch-zone.cloudz { border-color: rgba(255,255,255,.3); }
.arch-zone.cloudz .zl { color: var(--on-dark); }
.arch-row { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
.node { padding: 11px 12px; border-radius: 9px; text-align: center; font-size: 14.5px; font-weight: 600; color: var(--on-dark); background: rgba(255,255,255,.07); }
.node.core { background: var(--lime); color: var(--ink); }
.arr { align-self: center; width: 2px; height: 18px; background: rgba(255,255,255,.35); position: relative; }
.arr::after { content: ""; position: absolute; left: -4px; bottom: -2px; border: 5px solid transparent; border-top-color: rgba(255,255,255,.55); border-bottom: 0; }
.arch-split { display: flex; flex-direction: column; }
.arr.net { height: 28px; margin-top: 4px; background: repeating-linear-gradient(to bottom, rgba(198,241,53,.8) 0 4px, transparent 4px 8px); }
.arr.net::after { border-top-color: var(--lime); }
/* 비교표 */
.cmp-wrap { margin-top: 28px; overflow-x: auto; }
.cmp { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 15px; }
.cmp th, .cmp td { padding: 14px 14px; border-bottom: 1px solid var(--line-dark); text-align: left; vertical-align: top; }
.cmp thead th { font-size: 14px; color: var(--lime); font-weight: 700; }
.cmp tbody th { width: 26%; color: var(--on-dark-mid); font-weight: 500; }
.cmp td { color: var(--on-dark); }
@media (min-width: 900px) {
  .arch-grid { grid-template-columns: 1fr 1fr; }
  .arch { padding: 28px 28px 30px; }
}
/* 맞춤 감지 규칙 */
.rules { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.rules li { display: grid; gap: 12px; padding: 18px 20px; border-radius: var(--r); box-shadow: inset 0 0 0 1px var(--line); }
.rules small { display: block; font-size: 12.5px; color: var(--ink-mid); }
.rules b { display: block; margin-top: 2px; font-size: 16.5px; }
.rules li div:last-child b { color: var(--lime-deep); }
.integ { margin: 28px 0 0; max-width: 820px; color: var(--ink-mid); font-size: 15.5px; line-height: 1.7; }
@media (min-width: 900px) {
  .rules li { grid-template-columns: 1.3fr 1.3fr .7fr; align-items: center; padding: 20px 24px; }
  .rules li div:not(:first-of-type) { padding-left: 20px; border-left: 1px solid var(--line); }
}
/* 모바일 비교표: 항목마다 두 방식을 위아래로 */
@media (max-width: 639px) {
  .cmp { min-width: 0; }
  .cmp thead { display: none; }
  .cmp, .cmp tbody, .cmp tr, .cmp th, .cmp td { display: block; width: auto; }
  .cmp tr { padding: 14px 0; border-bottom: 1px solid var(--line-dark); }
  .cmp th, .cmp td { padding: 0; border: 0; }
  .cmp tbody th { width: auto; margin-bottom: 8px; color: var(--on-dark); font-weight: 700; }
  .cmp td { display: grid; grid-template-columns: 96px 1fr; gap: 10px; padding: 4px 0; font-size: 14.5px; }
  .cmp td::before { content: attr(data-label); color: var(--lime); font-weight: 600; font-size: 13.5px; }
}
/* 솔루션: KIOSCAN이 다른 점 */
.diff { display: grid; margin: 0; padding: 0; list-style: none; border-top: 2px solid var(--ink); }
.diff li { padding: 22px 0 24px; border-bottom: 1px solid var(--line); }
.diff h3 { margin: 0; font-size: 20px; line-height: 1.4; }
.diff p { margin: 8px 0 0; color: var(--ink-mid); font-size: 15.5px; line-height: 1.65; }
.diff .link-arrow { margin-top: 12px; font-size: 14.5px; }
.minor { margin-top: 28px; padding: 22px 22px 24px; border-radius: var(--r); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.minor h3 { margin: 0 0 10px; font-size: 16px; }
.minor ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.minor li { position: relative; padding-left: 18px; font-size: 15px; color: var(--ink-mid); line-height: 1.6; }
.minor li::before { content: ""; position: absolute; left: 0; top: .72em; width: 8px; height: 2px; background: var(--lime-deep); }
@media (min-width: 900px) {
  .diff { grid-template-columns: repeat(3, 1fr); column-gap: 40px; }
  .diff li { padding: 26px 0 30px; }
  .diff h3 { font-size: 21px; }
  .minor ul { grid-template-columns: 1fr 1fr; column-gap: 40px; }
}
/* 솔루션 재구성: 핵심 세 줄 · 네 단계 · 다른 점 · 도입 안내 띠 */
.keys-strip { padding: 0 0 56px; margin-top: -1px; }
.keys { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.keys li { display: flex; align-items: center; gap: 10px; font-size: 16.5px; font-weight: 600; color: var(--on-dark); }
.keys li::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 2px; background: var(--lime); }
.steps4 { display: grid; margin: 0; padding: 0; list-style: none; border-top: 2px solid var(--ink); }
.steps4 > li { display: grid; grid-template-columns: 44px 1fr; gap: 12px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.steps4 .n { font-family: var(--mono); font-size: 15px; font-weight: 600; color: var(--lime-deep); padding-top: 4px; }
.steps4 h3 { margin: 0; font-size: 21px; }
.steps4 p { margin: 6px 0 0; color: var(--ink); font-size: 16px; }
.steps4 ul { margin: 12px 0 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.steps4 ul li { position: relative; padding-left: 18px; font-size: 15px; color: var(--ink-mid); line-height: 1.6; }
.steps4 ul li::before { content: ""; position: absolute; left: 0; top: .72em; width: 8px; height: 2px; background: var(--lime-deep); }
.why4 { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line-dark); }
.why4 li { padding: 22px 0; border-bottom: 1px solid var(--line-dark); }
.why4 h3 { margin: 0; font-size: 20px; color: var(--lime); }
.why4 p { margin: 8px 0 0; color: var(--on-dark-mid); font-size: 15.5px; line-height: 1.65; }
.dark-minor { background: rgba(255,255,255,.04); box-shadow: inset 0 0 0 1px var(--line-dark); }
.dark-minor h3 { color: var(--on-dark); }
.dark-minor li { color: var(--on-dark-mid); }
.dark-minor li::before { background: var(--lime); }
.band { padding: 36px 0; background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.band .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; }
.band p { margin: 0; font-size: 17px; font-weight: 600; }
.band .link-arrow { margin-top: 0; }
@media (min-width: 900px) {
  .keys { grid-auto-flow: column; justify-content: start; gap: 36px; }
  .steps4 > li { grid-template-columns: 80px 1fr 1.2fr; gap: 24px; align-items: start; padding: 30px 0; }
  .steps4 > li > div { display: contents; }
  .steps4 h3 { grid-column: 2; }
  .steps4 p { grid-column: 2; margin-top: 8px; }
  .steps4 ul { grid-column: 3; grid-row: 1 / span 2; margin-top: 4px; }
  .why4 { grid-template-columns: repeat(4, 1fr); column-gap: 32px; border-top: 0; }
  .why4 li { border-bottom: 0; border-top: 2px solid var(--lime); padding-top: 20px; }
  .band p { font-size: 18px; }
}
/* 솔루션 2차: 문장 검색 예시, 비교표(KIOSCAN 열 강조) */
.steps4 > li > div > p { color: var(--ink-mid); }
@media (min-width: 900px) { .steps4 > li { grid-template-columns: 80px 260px 1fr; } .steps4 p { grid-column: 3; grid-row: 1; margin-top: 2px; } }
.search-demo { margin-top: 32px; max-width: 760px; padding: 18px; border-radius: var(--r); background: var(--bg-dark); color: var(--on-dark); }
.sd-bar { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 10px; background: rgba(255,255,255,.08); font-size: 15.5px; font-weight: 600; }
.sd-bar svg { flex: none; width: 18px; height: 18px; fill: none; stroke: var(--lime); stroke-width: 2; stroke-linecap: round; }
.search-demo ul { display: grid; gap: 8px; margin: 12px 0 0; padding: 0; list-style: none; }
.search-demo li { display: grid; grid-template-columns: 84px 1fr; gap: 10px; align-items: baseline; padding: 10px 12px; border-radius: 8px; box-shadow: inset 0 0 0 1px var(--line-dark); }
.search-demo small { font-size: 12.5px; color: var(--lime); font-weight: 600; }
.search-demo b { font-size: 14.5px; font-weight: 600; }
.cmp.vs thead th:last-child, .cmp.vs td:last-child { color: var(--lime); }
.cmp.vs td:last-child { font-weight: 600; }
.cmp.vs thead th:nth-child(2), .cmp.vs td:nth-child(2) { color: var(--on-dark-mid); }
.dark .minor { margin-top: 28px; }
/* 솔루션 표지: 글 + 3D 장면 */
.sol-cover .wrap { display: grid; gap: 8px; align-items: center; }
.sol-cover-art { display: block; width: 100%; height: auto; max-width: 560px; margin: 0 auto; transform: scale(1.12); }
/* 모바일: 표지 그림은 숨김 */
@media (max-width: 899px) { .sol-cover-art { display: none; } }
@media (min-width: 900px) {
  .sol-cover .wrap { grid-template-columns: 1fr 1fr; gap: 40px; }
  .sol-cover-art { max-width: none; margin: -20px 0 -40px; }
}
/* 4단계 + 3D 아이콘 */
.steps4.with-ico > li { grid-template-columns: 72px 1fr; align-items: center; gap: 16px; }
.step-ico { width: 72px; height: 72px; }
.steps4.with-ico .n { display: block; margin-bottom: 2px; padding: 0; font-size: 13px; }
.steps4.with-ico p { margin-top: 4px; }
@media (min-width: 900px) {
  .steps4.with-ico { grid-template-columns: repeat(4, 1fr); gap: 0 32px; border-top: 0; }
  .steps4.with-ico > li { grid-template-columns: 1fr; align-content: start; padding: 0 0 8px; border-bottom: 0; }
  .steps4.with-ico > li > div { display: block; padding-top: 18px; border-top: 2px solid var(--ink); }
  .steps4.with-ico p { grid-column: auto; grid-row: auto; }
  .step-ico { width: 104px; height: 104px; margin: 0 0 4px -10px; }
}
/* 문장 검색 타이핑 */
.sd-caret { width: 2px; height: 18px; background: var(--lime); animation: sd-blink 1s steps(1) infinite; }
@keyframes sd-blink { 50% { opacity: 0; } }
.search-demo.typing li { opacity: 0; transform: translateY(6px); }
.search-demo li { transition: opacity .35s, transform .35s; }
@media (prefers-reduced-motion: reduce) { .sd-caret { animation: none; } }
/* PC: 문장 검색 예시를 한 줄 전체 폭으로 크게 */
@media (min-width: 900px) {
  .search-demo { max-width: none; margin-top: 48px; padding: 28px 32px 32px; }
  .sd-bar { padding: 18px 22px; gap: 14px; font-size: 21px; }
  .sd-bar svg { width: 24px; height: 24px; }
  .sd-caret { height: 24px; }
  .search-demo ul { grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 18px; }
  .search-demo li { grid-template-columns: 1fr; gap: 6px; padding: 18px 20px; border-radius: 10px; }
  .search-demo small { font-size: 14px; }
  .search-demo b { font-size: 18px; line-height: 1.45; }
}
/* 단계가 3개인 진행선은 폭을 3칸으로 꽉 채움 */
@media (min-width: 900px) { .track.track3 { grid-template-columns: repeat(3, 1fr); gap: 40px; } .track.track3 b { font-size: 19px; } .track.track3 span { font-size: 15.5px; } }
/* 모바일 비교표: 일반 AI CCTV 쪽은 회색, KIOSCAN 쪽만 라임 */
@media (max-width: 639px) {
  .cmp.vs td:nth-child(2)::before { color: var(--on-dark-mid); font-weight: 500; }
  .cmp.vs td:nth-child(2) { color: var(--on-dark-mid); }
  .cmp.vs td:last-child::before { color: var(--lime); }
}
/* 사내 시스템 연동 안내: PC는 한 줄, 모바일은 줄바꿈 */
@media (min-width: 900px) { .integ { max-width: none; font-size: 15px; } }
@media (min-width: 1100px) { .integ { white-space: nowrap; } }
/* 차별점 표: KIOSCAN 칸은 결론(라임 굵게) + 설명(흰 글씨), 항목 이름은 흰색 굵게 */
.cmp.vs tbody th { color: var(--on-dark); font-weight: 700; }
.cmp.vs td:last-child { color: var(--on-dark); font-weight: 400; }
.cmp.vs td:last-child b { display: block; color: var(--lime); font-size: 16.5px; font-weight: 700; }
.cmp.vs td:last-child span { display: block; margin-top: 3px; color: #D6DADD; font-size: 14.5px; line-height: 1.55; }
@media (max-width: 639px) { .cmp.vs td:last-child b { font-size: 15.5px; } .cmp.vs td:last-child span { font-size: 14px; } .cmp.vs td:last-child::before { align-self: start; } }
/* 사례 카드 칸 비율: 결과(어떻게)를 넉넉하게 */
@media (min-width: 900px) { .rules li { grid-template-columns: 1.6fr .9fr 1.1fr; } }
/* 사례 뒤 문의 연결 */
.custom-cta { margin-top: 24px; font-size: 18px; }
/* 검색 예시 이름표: 4번 단계의 예시 화면임을 표시 */
.sd-label { display: flex; align-items: center; gap: 8px; margin: 32px 0 0; font-size: 14px; font-weight: 600; color: var(--ink-mid); }
.sd-label::before { content: ""; width: 18px; height: 2px; background: var(--lime-deep); }
.sd-label + .search-demo { margin-top: 12px; }
@media (min-width: 900px) { .sd-label { margin-top: 44px; font-size: 15px; } }
/* 검색 예시: 날짜·시간·카메라는 필터로 따로 선택 */
.sd-filters { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.sd-filters span { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 8px; font-size: 13px; font-weight: 600; color: var(--on-dark); background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px var(--line-dark); }
.sd-filters span::after { content: "▾"; font-size: 10px; color: var(--on-dark-mid); }
@media (min-width: 900px) { .sd-filters { margin-top: 12px; } .sd-filters span { font-size: 14.5px; padding: 8px 12px; } }
/* 모바일 비교표: 왼쪽 이름표 | 오른쪽 내용. KIOSCAN의 결론·설명은 모두 오른쪽 칸에 */
@media (max-width: 639px) {
  .cmp.vs td:last-child b, .cmp.vs td:last-child span { grid-column: 2; }
  .cmp.vs td:last-child::before { grid-row: 1 / span 2; }
  .cmp.vs td:last-child { row-gap: 2px; }
  .cmp.vs td:last-child span { margin-top: 0; }
}
.band small { display: block; margin-top: 4px; font-size: 14.5px; color: var(--ink-mid); }

/* 활용 분야: 바로가기 · 분야 필터 · 업종 카드 · 기능 묶음 카드 */
.jump { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.jump a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border: 1px solid var(--line-dark); border-radius: 999px; color: var(--on-dark); font-weight: 600; text-decoration: none; }
.jump a::after { content: "↓"; margin-left: 8px; color: var(--lime); }
.jump a:hover { border-color: var(--lime); }
.ind-sec { padding-bottom: 72px; }
.ind-filter { display: flex; gap: 8px; margin: 0 calc(var(--pad) * -1) 36px; padding: 0 var(--pad) 4px; overflow-x: auto; scrollbar-width: none; }
.ind-filter::-webkit-scrollbar { display: none; }
.ind-filter button { flex: none; min-height: 44px; padding: 0 18px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--ink); font-size: 15px; font-weight: 600; }
.ind-filter button:hover { border-color: var(--ink); }
.ind-filter button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.ind-filter button:focus-visible { outline: 2px solid var(--lime-deep); outline-offset: 2px; }
.ind-cluster + .ind-cluster { margin-top: 56px; }
.ind-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px 24px; margin-bottom: 18px; }
.ind-head > div:first-child { min-width: 0; }
.ind-head h3 { font-size: clamp(22px, 2.6vw, 28px); }
.ind-head p { margin: 8px 0 0; color: var(--ink-mid); line-height: 1.7; }
/* PC에서는 분야 설명을 한 줄로 (영문은 더 길어 1280px부터) */
@media (min-width: 1100px) { :lang(ko) .ind-head p { white-space: nowrap; } }
@media (min-width: 1280px) { .ind-head p { white-space: nowrap; } }
#kiosk .ind-head .sec-head { margin-bottom: 0; }
/* 업종 캐러셀: 가로 스크롤 + 스냅. 모바일 1장(다음 카드가 살짝 보임), 640px 2장, 1100px 3장 */
.ind-grid { display: grid; grid-auto-flow: column; grid-auto-columns: 84%; gap: 14px; margin: 0 calc(var(--pad) * -1); padding: 4px var(--pad) 20px; scroll-padding-inline: var(--pad); overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; list-style: none; }
.ind-grid::-webkit-scrollbar { display: none; }
.ind-grid > li { scroll-snap-align: start; }
.car-nav { display: flex; flex: none; align-items: center; gap: 8px; }
.car-pos { min-width: 5.5em; margin-right: 4px; text-align: right; font-family: var(--mono); font-size: 14px; color: var(--ink-mid); }
.car-btn { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: var(--surface); color: var(--ink); font-size: 18px; }
.car-btn:hover:not(:disabled) { border-color: var(--ink); }
.car-btn:disabled { opacity: .35; cursor: default; }
.car-btn:focus-visible { outline: 2px solid var(--lime-deep); outline-offset: 2px; }
.car-dots { display: flex; justify-content: center; gap: 6px; }
.car-dots i { width: 6px; height: 6px; border-radius: 3px; background: var(--line); transition: width .2s, background-color .2s; }
.car-dots i.on { width: 18px; background: var(--ink); }
@media (max-width: 899px) { .car-nav { display: none !important; } }
/* 업종 카드: 인사이트 표지처럼 어두운 장면 위에 글을 얹은 한 장짜리 카드 */
.ind-card { position: relative; display: block; aspect-ratio: 1200 / 630; overflow: hidden; border-radius: var(--r); background: #181B1E; color: #fff; text-decoration: none; container-type: inline-size; transition: transform .2s, box-shadow .2s; }
.ind-card::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, #181B1E 0%, #181B1E 40%, rgba(24,27,30,.82) 54%, rgba(24,27,30,0) 72%); }
.ind-card img { position: absolute; right: -6%; top: 0; width: 66%; height: 100%; object-fit: cover; object-position: 50% 50%; transition: transform .4s; }
.ind-card:hover { transform: translateY(-3px); box-shadow: 0 18px 36px -18px rgba(21,24,27,.55); }
.ind-card:hover img { transform: scale(1.04); }
.ind-card:focus-visible { outline: 2px solid var(--lime-deep); outline-offset: 3px; }
.ic-text { position: absolute; z-index: 2; left: 6%; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; align-items: flex-start; width: 52%; }
.ic-chip { padding: .3em .75em; border-radius: 999px; background: var(--lime); color: var(--ink); font-size: max(11px, 3cqi); font-weight: 700; line-height: 1.4; }
.ic-title { font-size: clamp(18px, 6.4cqi, 30px); font-weight: 700; line-height: 1.22; letter-spacing: -.02em; }
.ic-sub { margin-top: 2.2cqi; font-size: clamp(14px, 3.1cqi, 16px); line-height: 1.45; color: #C6CBCF; }
.ic-go { margin-top: 3.6cqi; font-size: clamp(14px, 3.3cqi, 16px); font-weight: 700; color: var(--lime); }
.ind-card:hover .ic-go { text-decoration: underline; text-underline-offset: 4px; }
.ind-apps { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.ind-apps a { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); font-size: 15px; font-weight: 500; text-decoration: none; }
.ind-apps a:hover { border-color: var(--ink); }
.ind-apps a:focus-visible { outline: 2px solid var(--lime-deep); outline-offset: 2px; }
.feat-sec { padding-top: 72px; background: var(--surface); border-top: 1px solid var(--line); }
.fg-grid { display: grid; gap: 14px; }
.fg-card { padding: 22px 22px 18px; border: 1px solid var(--line); border-radius: var(--r); background: var(--bg-light); }
.fg-card h3 { display: flex; align-items: baseline; gap: 8px; margin: 0 0 6px; padding-bottom: 12px; border-bottom: 2px solid var(--ink); font-size: 20px; }
.fg-card h3 small { font-size: 14px; font-weight: 500; color: var(--ink-mid); }
.fg-card ul { display: grid; margin: 0; padding: 0; list-style: none; }
.fg-card li { padding: 10px 8px; margin: 0 -8px; border-radius: 6px; scroll-margin-top: calc(var(--header-h) + 24px); }
.fg-card li + li { border-top: 1px solid var(--line); }
.fg-card li > span { font-size: 16px; font-weight: 600; }
.fg-card li > small { display: block; margin-top: 2px; font-size: 14px; line-height: 1.55; color: var(--ink-mid); }
.feat-tag { display: inline-block; margin-top: 6px; padding: 1px 8px; border: 1px solid var(--line); border-radius: 6px; font-size: 12.5px; font-style: normal; color: var(--ink-mid); }
.fg-card.folded:not(.open) li.extra { display: none; }
.fg-more { display: flex; align-items: center; justify-content: center; gap: 6px; width: 100%; min-height: 44px; margin-top: 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--ink); font-size: 15px; font-weight: 600; }
.fg-more::after { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .2s; }
.fg-card.open .fg-more::after { transform: translateY(2px) rotate(-135deg); }
.fg-more:hover { border-color: var(--ink); }
.fg-more:focus-visible { outline: 2px solid var(--lime-deep); outline-offset: 2px; }
.fg-card li.flash { animation: feat-flash 2.4s ease-out; }
@keyframes feat-flash { 0%, 40% { background: rgba(198, 241, 53, .4); } 100% { background: transparent; } }
@media (prefers-reduced-motion: reduce) { .ind-card, .ind-card img { transition: none; } .ind-card:hover, .ind-card:hover img { transform: none; } .fg-card li.flash { animation: none; background: rgba(198, 241, 53, .3); } }
@media (min-width: 640px) { .ind-grid { grid-auto-columns: calc((100% - 14px) / 2); } }
@media (min-width: 900px) {
  .ind-grid { margin-inline: 0; padding-inline: 0; scroll-padding-inline: 0; }
  .car-dots { display: none; }
  .fg-grid { grid-template-columns: 1fr 1fr; align-items: start; }
}
@media (min-width: 1100px) { .ind-grid { grid-auto-columns: calc((100% - 28px) / 3); } }
@media (min-width: 1200px) { .fg-grid { grid-template-columns: repeat(4, 1fr); } }

/* 관리자 화면 캡처 틀 */
.shot { margin: 0; overflow: hidden; border: 1px solid #C9CDC4; border-radius: 12px; background: var(--bg-dark); box-shadow: 0 18px 40px -24px rgba(21,24,27,.45); }
.shot-bar { display: flex; gap: 6px; padding: 10px 12px; background: var(--bg-deep); }
.shot-bar i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.18); }
.shot img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; object-position: top left; }

/* 업종 상세 */
.case-top .wrap { display: grid; gap: 28px; align-items: center; }
.case-top-art { width: 100%; height: auto; border-radius: var(--r); }
.case-field { margin: 0 0 12px; font-size: 15px; font-weight: 600; color: var(--lime); }
.case-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.case-cta .btn { padding: 0 24px; }
.case-prob { padding-bottom: 32px; }
.case-prob-list { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.case-prob-list li { display: flex; gap: 16px; padding: 22px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.case-prob-list .n { font-family: var(--mono); font-size: 14px; font-weight: 600; color: var(--lime-deep); line-height: 1.75; }
.case-prob-list p { margin: 0; font-size: 17px; line-height: 1.65; }
.case-step-n { display: block; margin-bottom: 8px; font-size: 14px; font-weight: 600; color: var(--lime-deep); }
.case-steps { display: grid; gap: 56px; margin: 0; padding: 0; list-style: none; }
.case-steps li { display: grid; gap: 20px; }
.case-steps h3 { font-size: clamp(22px, 2.4vw, 28px); }
.case-steps p { margin: 10px 0 0; max-width: 520px; font-size: 17px; line-height: 1.7; color: var(--ink-mid); }
.case-vid { display: block; width: 100%; aspect-ratio: 16 / 9; border-radius: 12px; background: var(--bg-deep); }
/* 캡처·영상이 들어올 자리 */
.slot { display: grid; place-content: center; justify-items: center; gap: 12px; aspect-ratio: 16 / 9; padding: 16px; text-align: center; font-size: 14.5px; font-weight: 500; color: var(--on-dark-mid); background: #1B1E21 repeating-linear-gradient(135deg, transparent 0 16px, rgba(255,255,255,.025) 16px 32px); }
.slot-ico { width: 44px; height: 32px; border: 2px solid rgba(198,241,53,.55); border-radius: 6px; }
.slot-ico.play { width: 56px; height: 56px; border-radius: 50%; position: relative; }
.slot-ico.play::after { content: ""; position: absolute; left: 22px; top: 17px; border-left: 16px solid rgba(198,241,53,.7); border-top: 10px solid transparent; border-bottom: 10px solid transparent; }
.case-video .slot { border-radius: 12px; border: 1px solid var(--line-dark); }
.case-more .ind-apps { margin-bottom: 40px; }
.case-others h3 { margin: 0 0 12px; font-size: 17px; }
.case-others + .case-others { margin-top: 28px; }
.case-others ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.case-others a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); font-weight: 600; text-decoration: none; }
.case-others a:hover { border-color: var(--ink); }
.case-more .link-arrow { margin-top: 40px; }
@media (min-width: 900px) {
  .case-top .wrap { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 48px; }
  .case-prob-list { grid-auto-flow: column; grid-auto-columns: 1fr; }
  .case-steps { gap: 80px; }
  .case-steps li { grid-template-columns: minmax(0, 1fr) minmax(0, 1.45fr); align-items: center; column-gap: 64px; }
  .case-steps li.flip { grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); }
  .case-steps li.flip .case-step-text { grid-column: 2; grid-row: 1; }
  .case-steps li.flip .shot { grid-column: 1; grid-row: 1; }
}
/* ===== 도입 방법 ===== */
/* 도입 절차: 세로 흐름(점과 선). PC는 오른쪽 그림이 고정되고 지금 단계 그림으로 바뀐다. 모바일은 단계마다 그림 */
.dep-steps-sec { padding-bottom: 72px; }
.dep-flow { position: relative; margin: 0; padding: 0; list-style: none; }
.dep-flow > li { position: relative; padding: 0 0 36px 40px; }
.dep-flow > li::before { content: ""; position: absolute; left: 6px; top: 8px; width: 13px; height: 13px; border-radius: 50%; background: var(--bg-light); box-shadow: inset 0 0 0 2px var(--ink); transition: background .3s, box-shadow .3s; }
.dep-flow > li::after { content: ""; position: absolute; left: 12px; top: 26px; bottom: 4px; width: 1px; background: var(--line); }
.dep-flow > li:last-child::after { display: none; }
.dep-flow > li.done::before { background: var(--ink); }
.dep-flow > li.on::before { background: var(--lime); box-shadow: inset 0 0 0 2px var(--ink), 0 0 0 5px rgba(198, 241, 53, .35); }
.dep-flow h3 { display: flex; align-items: baseline; gap: 10px; margin: 0; font-size: clamp(20px, 2vw, 24px); line-height: 1.35; }
.ds-n { font-family: var(--mono); font-size: 14px; font-weight: 600; color: var(--lime-deep); }
.dep-flow ul { margin: 10px 0 0; padding: 0; list-style: none; display: grid; gap: 4px; }
.dep-flow ul li { position: relative; padding-left: 14px; font-size: 15.5px; line-height: 1.6; color: var(--ink-mid); }
.dep-flow ul li::before { content: ""; position: absolute; left: 0; top: .72em; width: 5px; height: 5px; border-radius: 50%; background: var(--ink-mid); }
.df-img { display: block; width: 100%; max-width: 360px; height: auto; margin-top: 14px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--r); background: #15191C; }
.dep-stage { display: none; }
/* 모바일·태블릿: 그림+단계를 옆으로 넘기는 한 줄 (다음 단계가 살짝 보임), 아래 점으로 위치 */
@media (max-width: 999px) {
  .dep-flow { display: grid; grid-auto-flow: column; grid-auto-columns: 84%; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(var(--pad) * -1); padding-inline: var(--pad); scroll-padding-inline: var(--pad); scrollbar-width: none; }
  .dep-flow::-webkit-scrollbar { display: none; }
  .dep-flow > li { display: flex; flex-direction: column; padding: 0; scroll-snap-align: start; }
  .dep-flow > li::before, .dep-flow > li::after { display: none; }
  .df-img { order: -1; max-width: none; margin: 0 0 14px; }
  .df-dots { display: flex; justify-content: center; gap: 6px; margin-top: 18px; }
  .df-dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--line); transition: width .25s, background .25s; }
  .df-dots i.on { width: 18px; border-radius: 3px; background: var(--ink); }
}
@media (min-width: 640px) and (max-width: 999px) { .dep-flow { grid-auto-columns: calc((100% - 14px) / 2); } }
@media (min-width: 1000px) { .df-dots { display: none; } }
.dep-note { margin: 16px 0 0; font-size: 14px; color: var(--ink-mid); }
@media (min-width: 1000px) {
  .dep-flow-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 48px; align-items: center; }
  .df-img { display: none; }
  .dep-flow { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; }
  .dep-flow > li { padding: 18px 8px 20px 34px; border-top: 1px solid var(--line); cursor: pointer; border-radius: 4px; outline-offset: -2px; }
  .dep-flow > li::before { left: 6px; top: 26px; }
  .dep-flow > li::after { display: none; }
  .dep-flow h3 { font-size: 19px; }
  .dep-flow ul li { font-size: 15px; }
  .dep-flow > li h3, .dep-flow > li ul { transition: opacity .3s; }
  .dep-flow > li:not(.on) h3, .dep-flow > li:not(.on) ul { opacity: .5; }
  .dep-stage { display: block; position: relative; margin: 0; aspect-ratio: 16 / 9; border-radius: var(--r); overflow: hidden; background: #15191C; }
  .dep-stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .45s ease-out; }
  .dep-stage img.on { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) { .dep-stage img, .dep-flow > li::before, .dep-flow > li h3, .dep-flow > li ul { transition: none; } }

/* 구축 방식 구조도: 영역(내부망 실선 이중선 / 현장 점선 / 클라우드) 안에 장비 아이콘. 영상·데이터 꼬리표 */
.dep-build { background: var(--surface); }
.dg-tag { display: inline-flex; align-items: center; padding: 3px 8px; border-radius: 4px; font-style: normal; font-size: 12.5px; font-weight: 700; line-height: 1.3; }
.dg-tag.video { background: var(--ink); color: var(--on-dark); }
.dg-tag.data { background: var(--lime); color: var(--ink); }
.dg-grid { display: grid; gap: 20px; }
.dg { margin: 0; display: grid; gap: 18px; align-content: start; padding: 22px 18px; border-radius: var(--r); background: var(--bg-light); }
.dg figcaption b { display: block; font-size: 21px; }
.dg figcaption span { display: block; margin-top: 4px; font-size: 15.5px; color: var(--ink-mid); }
.dg-zone { position: relative; padding: 30px 12px 12px; border-radius: 12px; }
.dg-zone.dz-wall { box-shadow: inset 0 0 0 2px var(--ink), inset 0 0 0 5px var(--bg-light), inset 0 0 0 6px var(--ink); }
.dg-zone.dz-site { border: 1.5px dashed #7C848B; }
.dg-zone.dz-cloud { background: #E6EBD3; box-shadow: inset 0 0 0 1.5px #B9C77F; }
.dg-zl { position: absolute; left: 14px; top: 9px; font-size: 13px; font-weight: 700; color: var(--ink); }
.dg-nodes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; }
.dg-nodes li { position: relative; display: grid; justify-items: center; align-content: start; gap: 2px; padding: 10px 6px 12px; border-radius: 10px; background: var(--surface); text-align: center; }
.dg-nodes li.hot { box-shadow: inset 0 0 0 1.5px var(--ink); }
.dg-nodes img { width: 64px; height: 64px; object-fit: contain; mix-blend-mode: multiply; }
.dg-nodes b { font-size: 14px; line-height: 1.35; }
.dg-nodes small { font-size: 12.5px; line-height: 1.4; color: var(--ink-mid); }
.dg-nodes .dg-tag { position: absolute; right: 6px; top: 6px; padding: 2px 6px; font-size: 11.5px; }
.dg-nodes.one { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.dg-split { display: grid; gap: 0; }
.dg-link { display: grid; justify-items: center; padding: 6px 0; }
.dg-link::before, .dg-link::after { content: ""; width: 2px; height: 14px; background: var(--ink); }
.dg-points { margin: 0; padding: 0; list-style: none; display: grid; gap: 4px; }
.dg-points li { position: relative; padding-left: 16px; font-size: 15px; color: var(--ink-mid); }
.dg-points li::before { content: ""; position: absolute; left: 0; top: .6em; width: 8px; height: 5px; border-left: 2px solid var(--lime-deep); border-bottom: 2px solid var(--lime-deep); transform: rotate(-45deg); }
@media (min-width: 640px) { .dg-nodes { grid-template-columns: repeat(3, minmax(0, 1fr)); } .dg-nodes.two { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) {
  .dg-grid { grid-template-columns: 1fr 1.25fr; gap: 24px; }
  .dg { padding: 28px 24px; }
  .dg-split { grid-template-columns: 1.25fr auto 1fr; align-items: center; }
  .dg-link { grid-auto-flow: column; align-items: center; padding: 0 6px; }
  .dg-link::before, .dg-link::after { width: 12px; height: 2px; }
    .dg-nodes.one { grid-template-columns: 1fr; }
}
/* 구축 방식 모바일·태블릿: 폐쇄망/클라우드 버튼으로 하나씩, 장비는 작게 3열 */
.dg-tabs { display: flex; gap: 6px; margin: 0 0 14px; padding: 4px; border-radius: 999px; background: var(--bg-light); width: fit-content; }
.dg-tabs[hidden] { display: none; }
.dg-tabs button { min-height: 40px; padding: 0 18px; border: 0; border-radius: 999px; background: transparent; color: var(--ink-mid); font: 600 15px/1 var(--sans); cursor: pointer; }
.dg-tabs button[aria-pressed="true"] { background: var(--ink); color: var(--on-dark); }
@media (max-width: 1099px) {
  .dg-grid[data-show="0"] > .dg:nth-child(2), .dg-grid[data-show="1"] > .dg:nth-child(1) { display: none; }
}
@media (max-width: 639px) {
  .dg { padding: 18px 14px; }
  .dg-nodes, .dg-nodes.two, .dg-nodes.one { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  .dg-nodes li { padding: 8px 4px 10px; }
  .dg-nodes img { width: 44px; height: 44px; }
  .dg-nodes b { font-size: 12.5px; }
  .dg-nodes small { display: none; }
  .dg-nodes .dg-tag { position: static; margin-top: 4px; }
  .dg-zone { padding: 28px 8px 8px; }
}
@media (min-width: 1100px) { .dg-tabs, .dg-tabs:not([hidden]) { display: none; } }
/* 밝은 비교표 */
.cmp.light th, .cmp.light td { border-bottom-color: var(--line); }
.cmp.light thead th { color: var(--lime-deep); }
.cmp.light tbody th { color: var(--ink-mid); }
.cmp.light td { color: var(--ink); }
@media (max-width: 639px) { .cmp.light tr { border-bottom-color: var(--line); } }

/* 견적과 운영: 견적 기준은 번호 붙은 칸(모바일 2열, PC 3열), 운영은 라임 윗선이 있는 3단 */
.dep-cost-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.dep-cost-list li { display: grid; gap: 6px; align-content: start; padding: 16px 14px; border-radius: 10px; background: rgba(255,255,255,.05); box-shadow: inset 0 0 0 1px var(--line-dark); font-size: 16px; font-weight: 600; line-height: 1.45; }
.dep-cost .ds-n { color: var(--lime); }
.dep-ops-h { margin-top: 64px; }
.dep-ops { display: grid; gap: 24px; margin: 0; padding: 0; list-style: none; }
.dep-ops li { padding-top: 16px; border-top: 2px solid var(--lime); }
.dep-ops h3 { margin: 0; font-size: 18px; }
.dep-ops p { margin: 8px 0 0; color: var(--on-dark-mid); font-size: 15.5px; line-height: 1.65; }
@media (min-width: 900px) {
  .dep-cost-list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
  .dep-cost-list li { padding: 20px; font-size: 17px; }
  .dep-ops { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
}
@media (max-width: 639px) {
  .cmp.light tbody th { color: var(--ink); }
  .cmp.light td::before { color: var(--lime-deep); }
}
#equip .cat-ico { mix-blend-mode: multiply; }
/* 모바일 바로가기: 줄바꿈 없이 한 줄로 옆으로 넘김 */
@media (max-width: 639px) {
  .jump { flex-wrap: nowrap; gap: 8px; overflow-x: auto; margin-inline: calc(var(--pad) * -1); padding-inline: var(--pad); scrollbar-width: none; }
  .jump::-webkit-scrollbar { display: none; }
  .jump a { flex: none; min-height: 40px; padding: 0 14px; font-size: 14.5px; }
}
/* 모바일 비교표: 위 버튼에서 고른 방식의 값만 한 줄씩 (항목 | 값) */
@media (max-width: 639px) {
  #build[data-show="0"] .cmp.light td:nth-of-type(2), #build[data-show="1"] .cmp.light td:nth-of-type(1) { display: none; }
  #build[data-show] .cmp.light tr { display: grid; grid-template-columns: 40% 1fr; gap: 12px; padding: 12px 0; }
  #build[data-show] .cmp.light tbody th { margin: 0; font-weight: 600; color: var(--ink-mid); font-size: 14.5px; }
  #build[data-show] .cmp.light td { display: block; padding: 0; font-size: 14.5px; font-weight: 600; }
  #build[data-show] .cmp.light td::before { display: none; }
}
/* 홈 모바일: 세로로 길던 목록을 옆으로 넘기는 한 줄로 (.mcar), 아래 점은 site.js가 붙임 */
.mcar-dots { display: none; }
@media (max-width: 639px) {
  .mcar { display: grid; grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 84%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(var(--pad) * -1); padding-inline: var(--pad); scroll-padding-inline: var(--pad); scrollbar-width: none; border-top: 0; align-items: stretch; }
  .mcar::-webkit-scrollbar { display: none; }
  .mcar > * { scroll-snap-align: start; }
  .mcar-dots { display: flex; justify-content: center; gap: 6px; margin-top: 16px; }
  .mcar-dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--line); transition: width .25s, background .25s; }
  .mcar-dots i.on { width: 18px; border-radius: 3px; background: var(--ink); }
  .dark .mcar-dots i { background: rgba(255,255,255,.2); }
  .dark .mcar-dots i.on { background: var(--lime); }
  /* 분야별 감지 */
  .cats.mcar { grid-auto-columns: 78%; }
  .cats.mcar li { grid-template-columns: 52px 1fr; align-items: start; align-content: start; gap: 12px; padding: 16px; border: 0; border-radius: var(--r); background: var(--surface); }
  .cats.mcar .cat-ico { width: 52px; height: 52px; margin: 0; }
  .cats.mcar h3 { font-size: 17px; }
  .cats.mcar p { margin-top: 4px; font-size: 14.5px; line-height: 1.55; }
  /* 감지 후 3단계 */
  .flow-steps.mcar li { grid-template-columns: 1fr; align-content: start; gap: 6px; padding: 20px; border-top: 0; border-radius: var(--r); background: rgba(255,255,255,.06); }
  /* 구축 방식 두 장 */
  .dep-vs.mcar { margin-top: 8px; }
  /* 도입 절차 6단계: 번호 + 이름 + 설명 */
  .track.mcar { counter-reset: tk; margin-top: 16px; }
  .track.mcar { grid-auto-columns: 72%; }
  .track.mcar li, .track.mcar li:last-child { grid-template-columns: auto 1fr; column-gap: 10px; row-gap: 2px; padding: 14px 16px; border-radius: var(--r); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); align-content: start; }
  .track.mcar b { grid-column: 2; font-size: 16px; line-height: 1.4; }
  .track.mcar span { grid-column: 2; font-size: 14px; line-height: 1.5; }
  .track.mcar li::after { display: none; }
  .track.mcar li::before { content: counter(tk, decimal-leading-zero); counter-increment: tk; position: static; width: auto; height: auto; border-radius: 0; background: none; box-shadow: none; font-family: var(--mono); font-size: 13px; font-weight: 600; color: var(--lime-deep); grid-row: 1; padding-top: 2px; }
}
/* 옆으로 넘기는 줄은 세로로는 절대 스크롤되지 않게 (등장 효과·그림자 때문에 위아래로 흔들리던 것) */
.mcar, .why, .dep-flow, .ind-grid, .jump, .dg-grid { overflow-y: hidden; overscroll-behavior-x: contain; }
@media (max-width: 899px) { .mcar > .reveal, .why > .reveal, .dep-flow > .reveal, .ind-grid > .reveal { transform: none; } }
/* 맞춤 감지 예시: 기본 기능처럼 읽히지 않게 '예시' 꼬리표 + 점선 카드 */
.rules-cap { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; font-size: 15.5px; font-weight: 600; color: var(--ink); }
.ex-tag { display: inline-flex; align-items: center; padding: 3px 9px; border-radius: 999px; background: var(--ink); color: var(--on-dark); font-size: 12.5px; font-weight: 700; line-height: 1.4; }
.ex-tag.sm { justify-self: start; padding: 2px 8px; background: transparent; color: var(--ink-mid); box-shadow: inset 0 0 0 1px var(--line); font-size: 12px; font-weight: 600; }
.rules li { position: relative; box-shadow: none; border: 1.5px dashed #B9BEB4; }
@media (min-width: 900px) {
  .rules li { padding-top: 34px; }
  .rules li .ex-tag.sm { position: absolute; left: 24px; top: 10px; }
}
/* 구축 방식: 아이콘만으로 '어디에 있나'를 보여 줌. 고객사 영역(연한 면) 안의 장비 / 떨어져 있는 클라우드 */
.dgi-zone { position: relative; padding: 34px 12px 16px; border-radius: 14px; background: var(--surface); box-shadow: inset 0 0 0 1.5px var(--line); }
.dgi-zl { position: absolute; left: 14px; top: 10px; font-size: 12.5px; font-weight: 700; color: var(--ink-mid); }
.dgi { display: flex; justify-content: space-around; align-items: flex-start; gap: 6px; margin: 0; padding: 0; list-style: none; }
.dgi li { display: grid; justify-items: center; align-content: start; gap: 4px; text-align: center; min-width: 0; }
.dgi img { width: 56px; height: 56px; object-fit: contain; }
.dgi b { overflow-wrap: anywhere; }
.dgi b { font-size: 13px; line-height: 1.35; }
.dgi .dg-tag { padding: 2px 7px; font-size: 11.5px; }
.dgi-split { display: grid; gap: 10px; justify-items: stretch; }
.dgi-link { justify-self: center; width: 0; height: 22px; border-left: 2px dashed #9AA1A7; }
.dgi-cloud { gap: 14px; }
@media (min-width: 640px) {
  .dgi-split { grid-template-columns: 1fr auto auto; align-items: center; gap: 14px; }
  .dgi-link { width: 36px; height: 0; border-left: 0; border-top: 2px dashed #9AA1A7; }
}
@media (min-width: 1100px) { .dg-grid { grid-template-columns: 1fr 1fr; } }
.dg-tag.opt { background: transparent; color: var(--ink-mid); box-shadow: inset 0 0 0 1px #B9BEB4; }

/* ===== 인사이트 글 상세 =====
   규격: 본문 17px/1.85 · 블록 사이 20px · 소제목 위 72px · 본문 폭 760px
   PC(1100px~): 왼쪽 220px 따라오는 목차 + 본문 760px (가운데로 몰리지 않게 두 칸)
   띠(왼쪽 색 선) 디자인은 쓰지 않는다 */
.art { --art-gap: 20px; }
.art-wrap { width: 100%; max-width: calc(1052px + var(--pad) * 2); margin: 0 auto; padding: 0 var(--pad); }
.art-head { padding: calc(var(--header-h) + 48px) 0 0; }
.art-head-in { max-width: 820px; }
.art-head .crumbs, .art-head .crumbs a { color: var(--ink-mid); }
.art-chip { display: inline-block; margin: 20px 0 0; padding: 4px 10px; border-radius: 999px; background: var(--ink); color: var(--on-dark); font-size: 13px; font-weight: 700; }
.art h1 { margin: 14px 0 0; font-size: clamp(28px, 4.2vw, 44px); line-height: 1.3; letter-spacing: -.02em; text-wrap: balance; }
.art-lede { margin: 18px 0 0; font-size: 18px; line-height: 1.75; color: var(--ink-mid); }
.art-meta { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 16px 0 0; font-size: 14px; color: var(--ink-mid); }
.art-main { min-width: 0; max-width: 760px; }
.art-side { display: none; }
.art-cover { margin: 36px 0 0; border-radius: var(--r); overflow: hidden; background: var(--bg-dark); }
.art-cover img { display: block; width: 100%; height: auto; }
/* 한눈에 보기 · 목차 */
.art-toc { padding: 20px 24px; border-radius: var(--r); box-shadow: inset 0 0 0 1px var(--line); }
.art-toc > p { margin: 0 0 10px; font-size: 14px; font-weight: 800; color: var(--ink-mid); }
.art-toc ol { margin: 0; padding-left: 20px; display: grid; gap: 6px; font-size: 15px; line-height: 1.5; }
.art-toc a { color: var(--ink); text-decoration: none; }
.art-toc a:hover { color: var(--lime-deep); text-decoration: underline; }
.art-toc-in { margin: 32px 0 0; }
@media (min-width: 700px) { .art-toc-in ol { grid-template-columns: 1fr 1fr; column-gap: 32px; } }
/* 본문 */
.art-sec { padding: 72px 0 0; scroll-margin-top: calc(var(--header-h) + 20px); }
.art-sec h2 { display: flex; gap: 12px; align-items: baseline; margin: 0; font-size: clamp(23px, 2.6vw, 28px); line-height: 1.4; letter-spacing: -.01em; }
.art-n { font-family: var(--mono); font-size: .8em; color: var(--lime-deep); }
.art-sec h3 { margin: 36px 0 0; font-size: 20px; line-height: 1.45; }
.art-sec p { margin: var(--art-gap) 0 0; font-size: 17px; line-height: 1.85; color: #2A2F34; }
.art-sec h2 + p, .art-sec h3 + p { margin-top: 16px; }
.art-quote { margin: 28px 0 0 !important; padding: 22px 26px; border-radius: var(--r); background: var(--surface); font-size: 19px !important; line-height: 1.6 !important; font-weight: 700; color: var(--ink) !important; }
.art-list { margin: var(--art-gap) 0 0; padding-left: 22px; display: grid; gap: 8px; font-size: 17px; line-height: 1.75; color: #2A2F34; }
.art-list li::marker { color: var(--lime-deep); }
.art-qs { margin: var(--art-gap) 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.art-qs li { position: relative; padding: 14px 18px 14px 46px; border-radius: 10px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); font-size: 16.5px; line-height: 1.6; }
.art-qs li::before { content: "?"; position: absolute; left: 16px; top: 15px; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; background: var(--lime); color: var(--ink); font-size: 12.5px; font-weight: 800; }
.art-steps { margin: var(--art-gap) 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.art-steps li { display: grid; grid-template-columns: 30px 1fr; column-gap: 14px; row-gap: 2px; padding: 16px 18px; border-radius: 10px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.art-steps span { grid-row: span 2; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--on-dark); font-family: var(--mono); font-size: 13px; font-weight: 600; }
.art-steps b { font-size: 17px; line-height: 1.5; }
.art-steps small { font-size: 15.5px; line-height: 1.65; color: var(--ink-mid); }
.art-fig { margin: 32px 0 0; }
.art-fig img { display: block; width: 100%; height: auto; border-radius: var(--r); background: var(--bg-dark); }
.art-fig figcaption { margin-top: 12px; font-size: 14.5px; line-height: 1.6; color: var(--ink-mid); }
/* 안내 상자: 띠 없이 둥근 면 + 위에 작은 이름표 */
.art-note { margin: 28px 0 0; padding: 20px 24px; border-radius: var(--r); background: #EEF2E0; }
.art-note b { display: inline-block; padding: 3px 10px; border-radius: 999px; background: var(--ink); color: var(--on-dark); font-size: 12.5px; font-weight: 700; }
.art-note p { margin: 10px 0 0 !important; font-size: 16.5px !important; line-height: 1.75 !important; color: var(--ink) !important; }
.art-table { margin: 28px 0 0; overflow-x: auto; }
.art-table table { width: 100%; min-width: 540px; border-collapse: collapse; font-size: 15.5px; }
.art-table th, .art-table td { padding: 13px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; line-height: 1.6; }
.art-table thead th { font-size: 14px; color: var(--ink-mid); border-bottom: 1.5px solid var(--ink); }
.art-table tbody th { font-weight: 700; color: var(--ink); white-space: nowrap; }
/* 자주 묻는 질문 · 관련 · 다른 글 */
.art-faq details { border-bottom: 1px solid var(--line); }
.art-faq details:first-of-type { margin-top: 16px; border-top: 1px solid var(--line); }
.art-faq summary { cursor: pointer; padding: 18px 0; font-size: 17px; font-weight: 700; line-height: 1.5; list-style: none; }
.art-faq summary::-webkit-details-marker { display: none; }
.art-faq details p { margin: 0 0 18px !important; font-size: 16.5px !important; }
.art-more { padding: 64px 0 0; }
.art-more:last-child { padding-bottom: 104px; }
.art-more h2 { margin: 0 0 14px; font-size: 20px; }
.art-more ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.art-more a:not(.link-arrow) { display: grid; gap: 2px; padding: 16px 18px; border-radius: 10px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); text-decoration: none; color: var(--ink); }
.art-more a:not(.link-arrow):hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.art-more small { font-size: 13px; color: var(--lime-deep); font-weight: 700; }
.art-more b { font-size: 16.5px; line-height: 1.5; }
@media (min-width: 700px) { .art-rel ul { grid-template-columns: repeat(3, 1fr); } }
/* PC: 왼쪽 목차 + 본문 두 칸, 머리말은 본문 칸에 맞춤 */
@media (min-width: 1100px) {
  .art-grid { display: grid; grid-template-columns: 220px minmax(0, 760px); column-gap: 72px; justify-content: center; }
  .art-head .art-wrap { padding-left: calc(var(--pad) + 292px); }
  .art-side { display: block; }
  .art-toc-side { position: sticky; top: calc(var(--header-h) + 32px); margin-top: 36px; padding: 0; box-shadow: none; }
  .art-toc-side > p { padding-left: 14px; }
  .art-toc-side ol { list-style: none; padding: 0; gap: 2px; font-size: 14.5px; }
  .art-toc-side a { display: block; padding: 7px 0 7px 14px; border-radius: 6px; color: var(--ink-mid); }
  .art-toc-side a:hover { text-decoration: none; color: var(--ink); background: rgba(21,24,27,.04); }
  .art-toc-side a.on { color: var(--ink); font-weight: 700; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
  .art-toc-in { display: none; }
}
/* 관련·다른 글 카드: 한 줄에 놓인 카드들 높이를 맞춤 */
.art-more li { display: flex; }
.art-more a:not(.link-arrow) { flex: 1; align-content: start; }

/* ===== 주요 기능 상세: 글 상세 읽기 규격(.art) + 현장에서는 / KIOSCAN으로는 두 면 ===== */
@media (min-width: 1100px) { .feat-page .art-head .art-wrap { padding-left: var(--pad); } }
.feat-main { max-width: 820px; }
.feat-flow { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px !important; }
.feat-flow span { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); font-size: 14px !important; font-weight: 600; color: var(--ink); }
.feat-flow span + span::before { content: "→"; margin-right: 2px; color: var(--lime-deep); }
.feat-sit, .feat-sol { margin-top: 18px; padding: 20px 24px; border-radius: var(--r); }
.feat-sit { background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.feat-sol { background: #EEF2E0; }
.feat-sit b, .feat-sol b { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 700; }
.feat-sit b { background: var(--bg-light); color: var(--ink-mid); box-shadow: inset 0 0 0 1px var(--line); }
.feat-sol b { background: var(--ink); color: var(--on-dark); }
.feat-sit p, .feat-sol p { margin: 10px 0 0 !important; font-size: 16.5px !important; line-height: 1.8 !important; color: var(--ink) !important; }
.fg-card li > .feat-link { font-size: 16px; font-weight: 600; color: var(--ink); text-decoration: none; }
.fg-card li > .feat-link:hover { color: var(--lime-deep); text-decoration: underline; text-underline-offset: 3px; }
/* 업종 상세 '현장 장면': 현장에서는 / KIOSCAN으로는 (모바일 위아래, PC 두 칸) */
.case-scene-grid { display: grid; gap: 12px;  }
.case-scene-grid .feat-sit, .case-scene-grid .feat-sol { margin-top: 0; }
@media (min-width: 900px) { .case-scene-grid { grid-template-columns: 1fr 1fr; gap: 16px; } }
/* 업종 상세 요약: 문제 한 줄(연한 글씨) 다음 줄에 KIOSCAN 해결 한 줄(굵은 글씨). 읽는 폭은 짧게 */
.sum { max-width: 760px; }
.sum-before { margin: 0; font-size: 17.5px; line-height: 1.7; color: var(--ink-mid); }
.sum-after { margin: 10px 0 0; font-size: clamp(19px, 2vw, 22px); line-height: 1.6; font-weight: 700; color: var(--ink); letter-spacing: -.01em; }
.sum-after em { font-style: normal; color: var(--lime-deep); }
.ba-more { margin-top: 14px; }
.ba-more summary { display: inline-flex; cursor: pointer; list-style: none; font-size: 15px; font-weight: 600; color: var(--ink); border-bottom: 1.5px solid currentColor; padding-bottom: 1px; }
.ba-more summary::-webkit-details-marker { display: none; }
.ba-more summary::after { content: "＋"; margin-left: 6px; font-size: 13px; }
.ba-more[open] summary::after { content: "－"; }
.ba-more-body { margin-top: 14px; display: grid; gap: 12px; max-width: 860px; }
.ba-more-body p { margin: 0; font-size: 16px; line-height: 1.8; color: #2A2F34; }
.ba-more-body b { display: block; margin-bottom: 4px; font-size: 13.5px; color: var(--lime-deep); }
@media (min-width: 900px) {
  .ba { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1.25fr); align-items: stretch; gap: 14px; }
  .ba-arrow { align-self: center; transform: none; }
}
/* 업종 상세 '이렇게 동작합니다': 번호 + 소제목 + 설명. 모바일은 단계마다 화면, PC는 왼쪽 목록 + 오른쪽 화면 하나 */
.cf-steps { margin: 0; padding: 0; list-style: none; display: grid; gap: 28px; }
.cf-steps > li { display: grid; grid-template-columns: 34px 1fr; column-gap: 14px; }
.cf-n { font-family: var(--mono); font-size: 15px; font-weight: 600; color: var(--lime-deep); padding-top: 3px; }
.cf-text h3 { margin: 0; font-size: 20px; line-height: 1.4; }
.cf-text p { margin: 6px 0 0; font-size: 16px; line-height: 1.7; color: var(--ink-mid); }
.cf-shot { grid-column: 1 / -1; margin-top: 14px; }
.cf-stage { display: none; }
@media (min-width: 1000px) {
  .cf { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; align-items: center; }
  .cf-shot { display: none; }
  .cf-steps { gap: 0; }
  .cf-steps > li { padding: 22px 20px; border-top: 1px solid var(--line); border-radius: 10px; cursor: pointer; transition: background .25s; }
  .cf-steps > li:last-child { border-bottom: 1px solid var(--line); }
  .cf-steps > li:not(.on) .cf-text, .cf-steps > li:not(.on) .cf-n { opacity: .5; transition: opacity .25s; }
  .cf-steps > li.on { background: var(--surface); border-color: transparent; box-shadow: 0 8px 24px rgba(21,24,27,.06); }
  .cf-steps > li.on + li { border-top-color: transparent; }
  .cf-text h3 { font-size: 21px; }
  .cf-text p { font-size: 16.5px; }
  .cf-stage { display: block; position: relative; margin: 0; }
  .cf-pane { display: none; }
  .cf-pane.on { display: block; }
  .cf-pane .slot { text-align: center; line-height: 1.7; }
}
/* 업종 상세 장면(글): 상황 → KIOSCAN은 한 줄 → 해결 설명 */
.cs-text { max-width: 820px; }
.cs-sit { margin: 0; font-size: clamp(18px, 1.8vw, 20px); line-height: 1.8; color: var(--ink); }
.cs-lead { margin: 22px 0 0; font-size: clamp(20px, 2.1vw, 24px); line-height: 1.55; font-weight: 700; color: var(--ink); letter-spacing: -.01em; }
.cs-lead em { font-style: normal; color: var(--lime-deep); }
.cs-sol { margin: 12px 0 0; font-size: 17.5px; line-height: 1.85; color: var(--ink); }
.cf-cap { position: absolute; left: 14px; bottom: 14px; padding: 5px 12px; border-radius: 999px; background: rgba(242,243,239,.94); color: var(--ink); font-size: 13.5px; font-weight: 700; }
.cf-pane { position: relative; }
.cf-pane img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
/* 동작 구역 맨 위 문제 상자: 장면 제목 + 현장 문제 한 단락 */
.cf-prob { margin: 0 0 56px; }
.cf-prob .cf-prob-h { margin: 0; }
.cf-prob p { margin: 10px 0 0; font-size: 17px; line-height: 1.8; color: var(--ink-mid); max-width: 980px; }
/* 업종 상세 동작 4단계: 모바일·태블릿은 화면 + 단계 설명을 한 장씩 옆으로 넘김 */
@media (max-width: 999px) {
  .cf-steps.mcar { display: grid; grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 84%; gap: 12px; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; margin-inline: calc(var(--pad) * -1); padding-inline: var(--pad); scroll-padding-inline: var(--pad); scrollbar-width: none; }
  .cf-steps.mcar::-webkit-scrollbar { display: none; }
  .cf-steps.mcar > li { grid-template-columns: 52px 1fr; scroll-snap-align: start; align-content: start; padding: 0 0 18px; border-radius: var(--r); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
  .cf-steps.mcar .cf-shot { order: -1; grid-column: 1 / -1; margin: 0 0 16px; border: 0; border-radius: 0; box-shadow: none; }
  .cf-steps.mcar .cf-shot .shot-bar { display: none; }
  .cf-steps.mcar .cf-n { padding-left: 18px; }
  .cf-steps.mcar .cf-text { padding-right: 18px; }
}
@media (min-width: 640px) and (max-width: 999px) { .cf-steps.mcar { grid-auto-columns: calc((100% - 12px) / 2); } }
/* 화면·영상 아래 작은 안내 (관리자 웹은 실제, 사진·영상 속 장면은 예시) */
.media-note { margin: 16px 0 0; font-size: 13px; line-height: 1.6; color: var(--ink-mid); }
.dark .media-note { color: var(--on-dark-mid); }

/* ===== 홈 기록·보고서 (중대재해처벌법) ===== */
.rec-sec { padding-block: 104px; overflow: hidden; }
.rec-sec .sec-head h2 { word-break: keep-all; }
@media (min-width: 1000px) { .rec-sec .sec-head h2 { font-size: clamp(36px, 3.6vw, 52px); } }
.rec { display: grid; gap: 48px; align-items: center; }
.rec-items { margin: 0; padding: 0; list-style: none; display: grid; gap: 0; border-top: 1px solid var(--line-dark); }
.rec-items li { display: grid; grid-template-columns: 36px 1fr; gap: 12px; padding: 20px 0; border-bottom: 1px solid var(--line-dark); }
.rec-items .n { font-family: var(--mono); font-size: 14px; color: var(--lime); padding-top: 3px; }
.rec-items h3 { margin: 0; font-size: 19px; }
.rec-items p { margin: 6px 0 0; font-size: 15.5px; line-height: 1.65; color: var(--on-dark-mid); }
.rec-more { margin-top: 28px; color: var(--on-dark); }
.rec-art { margin: 0; }
.rec-art > img { width: 100%; height: auto; display: block; }
.rec-art figcaption { margin-top: 12px; font-size: 13px; color: var(--on-dark-mid); }
@media (min-width: 1000px) { .rec { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 64px; } }

/* 보고서 지면 두 장: 뒷장은 비스듬히, 앞장은 살짝 기울여 겹치고 아래로 어둡게 스며듦 */
.rs { position: relative; aspect-ratio: 1 / .92; container-type: inline-size; overflow: hidden; padding: 0; }
.rs::after { content: ""; position: absolute; inset: 55% -10% -2% -10%; background: linear-gradient(transparent, var(--bg-dark) 82%); pointer-events: none; z-index: 3; }
.rs-sheet { position: absolute; background: #FBFBF8; color: #1F2327; border-radius: 4px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.6), 0 2px 6px rgba(0,0,0,.25); font-size: 1.55cqi; line-height: 1.45; }
.rs-back { left: 2%; top: 20%; width: 58%; max-height: 74%; overflow: hidden; padding: 4cqi 3.6cqi; transform: rotate(-8deg); z-index: 1; }
.rs-front { right: 0; top: 3%; width: 78%; padding: 4cqi 4cqi 3cqi; transform: rotate(1.5deg); z-index: 2; }
.rs-h { margin: 2.2cqi 0 1cqi; font-weight: 800; font-size: 1.75cqi; }
.rs-back .rs-h { margin-top: 0; }
.rs-shots { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2cqi; }
.rs-shot { position: relative; }
.rs-shot img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 2px; display: block; }
.rs-shot span { position: absolute; left: .8cqi; bottom: .8cqi; padding: .2cqi .8cqi; background: rgba(0,0,0,.65); color: #fff; font-size: 1.2cqi; border-radius: 2px; }
.rs-lines { display: grid; gap: 1.3cqi; margin-top: 2.5cqi; }
.rs-lines i { height: .7cqi; border-radius: 1cqi; background: #E2E4DE; }
.rs-lines i:nth-child(odd) { width: 80%; }
.rs-top { display: flex; justify-content: space-between; gap: 2cqi; padding-bottom: 1.6cqi; border-bottom: .25cqi solid #1F2327; }
.rs-meta { margin: 0; font-size: 1.2cqi; color: #6B7279; }
.rs-title { margin: .6cqi 0 0; font-size: 2.6cqi; font-weight: 800; letter-spacing: -.02em; line-height: 1.25; }
.rs-sub { margin: .5cqi 0 0; font-size: 1.2cqi; color: #6B7279; }
.rs-sign { flex: none; border-collapse: collapse; font-size: 1.15cqi; }
.rs-sign th, .rs-sign td { width: 5.4cqi; border: .15cqi solid #9AA1A7; text-align: center; padding: .3cqi; font-weight: 600; }
.rs-sign td { height: 4.6cqi; }
.rs-info { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1cqi; margin: 1.6cqi 0 0; }
.rs-info div { display: flex; gap: .8cqi; font-size: 1.3cqi; }
.rs-info dt { color: #6B7279; }
.rs-info dd { margin: 0; font-weight: 700; }
.rs-kpi { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1cqi; margin-top: 1.8cqi; }
.rs-kpi div { padding: 1.4cqi 1.2cqi; border-radius: .6cqi; background: #EEF0EA; }
.rs-kpi div.hl { background: #1F2327; color: #fff; }
.rs-kpi b { display: block; font-size: 3.2cqi; line-height: 1.1; }
.rs-kpi .hl b { color: var(--lime); }
.rs-kpi span { font-size: 1.2cqi; color: #6B7279; }
.rs-kpi .hl span { color: #C9CED2; }
.rs-chart ul { margin: 0; padding: 0; list-style: none; display: grid; gap: .9cqi; }
.rs-chart li { display: grid; grid-template-columns: 11cqi minmax(0, 1fr) 3cqi; align-items: center; gap: 1cqi; font-size: 1.25cqi; }
.rs-chart li > span { white-space: nowrap; }
.rs-chart li > em { display: block; min-width: 0; }
.rs-chart li em i { display: block; height: 1.5cqi; border-radius: .3cqi; background: linear-gradient(90deg, #3E454B, #557000); }
.rs-chart li b { text-align: right; }
.rs-table { width: 100%; border-collapse: collapse; font-size: 1.15cqi; }
.rs-table th { text-align: left; padding: .7cqi .6cqi; background: #EEF0EA; border-top: .2cqi solid #1F2327; font-weight: 700; }
.rs-table td { padding: .75cqi .6cqi; border-bottom: .12cqi solid #DDE0D8; white-space: nowrap; }
.rs-table td.st { font-weight: 700; color: #557000; }
.rs-table td.open { color: #C2281A; }
.rs-foot { margin: 1.4cqi 0 0; font-size: 1.1cqi; color: #6B7279; }
@media (max-width: 999px) { .rec-art { order: -1; } }
.rs .rs-chart ul li { display: flex !important; align-items: center; gap: 1cqi; padding: 0; margin: 0; border: 0; }
.rs .rs-chart ul li > span { flex: 0 0 11cqi; }
.rs .rs-chart ul li > em { flex: 1 1 auto; }
.rs .rs-chart ul li > b { flex: 0 0 3cqi; text-align: right; }
.rs .rs-chart ul { max-width: 78%; }

/* ================= 문의하기·내 문의·질문과 답변·관리자 ================= */
.header-ask { display: none; }
@media (min-width: 1024px) {
  .header-ask { display: inline-flex; align-items: center; min-height: 44px; padding: 0 6px; white-space: nowrap; font-size: 15px; font-weight: 600; color: var(--on-dark-mid); text-decoration: none; }
  .header-ask:hover, .header-ask[aria-current="page"] { color: var(--on-dark); }
  .header-ask[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--lime); }
}
.qna-page { padding: 48px 0 96px; }
.qna-narrow { max-width: 820px; }
.qna-page h2 { margin: 0; font-size: 20px; line-height: 1.4; }
.adm-tabs [role="tab"] { min-height: 44px; padding: 0 18px; border: 0; border-radius: 9px; background: transparent; font: inherit; font-size: 15px; font-weight: 600; color: var(--ink-mid); cursor: pointer; }
.adm-tabs [role="tab"][aria-selected="true"] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.qpane { margin-bottom: 20px; }
.qhint { margin: 0 0 14px; font-size: 14.5px; color: var(--ink-mid); }
.quser { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 20px; padding: 14px 16px; border-radius: 12px; background: var(--surface); }
.quser[hidden] { display: none; }
.quser-name { display: grid; margin-right: auto; min-width: 0; }
.quser-name small { font-size: 12.5px; color: var(--ink-mid); }
.quser-name b { font-size: 15.5px; overflow-wrap: anywhere; }
.quser .btn { min-height: 44px; padding: 0 16px; font-size: 14.5px; }

.login-btns { display: grid; gap: 10px; max-width: 420px; }
.lbtn { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 50px; padding: 0 18px; border: 0; border-radius: 10px; font: inherit; font-size: 15.5px; font-weight: 600; cursor: pointer; transition: filter .15s; }
.lbtn svg { width: 20px; height: 20px; flex: none; }
.lbtn:hover { filter: brightness(.96); }
.lbtn:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.lbtn[hidden] { display: none; }
.lbtn-google { background: #fff; color: #1F1F1F; box-shadow: inset 0 0 0 1px #747775; }
.lbtn-kakao { background: #FEE500; color: rgba(0,0,0,.85); }
.lbtn-naver { background: #03C75A; color: #fff; }
.login-err { margin: 10px 0 0; font-size: 13.5px; font-weight: 600; color: #B42318; }

form.qform { display: grid; gap: 16px; padding: 24px 20px; border-radius: 16px; background: var(--surface); color: var(--ink); }
form.qform[hidden], .qguest[hidden], .mygrid[hidden], .mydetail[hidden] { display: none; }
form.qform > .btn { justify-self: start; }
.qdone { padding: 32px 24px; border-radius: 16px; background: var(--surface); }
.qdone h2:focus { outline: none; }
.qdone-no { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; margin: 16px 0 8px; }
.qdone-no span { font-size: 14px; color: var(--ink-mid); }
.qdone-no b { font-family: var(--mono); font-size: 22px; letter-spacing: .04em; overflow-wrap: anywhere; }
.qdone-msg { margin: 0 0 20px; color: var(--ink-mid); }
.qdone-actions { display: flex; flex-wrap: wrap; gap: 10px; }

.qloading { margin: 0; color: var(--ink-mid); }
.mygrid { display: grid; gap: 16px; }
.mybox { display: grid; gap: 14px; align-content: start; padding: 24px 20px; border-radius: 16px; background: var(--surface); }
.mybox[hidden] { display: none; }
.mybox .login-btns { max-width: none; }
.mybox > .btn { justify-self: start; }
.mylist { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.mylist > li > button { display: grid; gap: 8px; width: 100%; padding: 16px 18px; border: 0; border-radius: 12px; background: var(--surface); text-align: left; font: inherit; color: var(--ink); cursor: pointer; box-shadow: inset 0 0 0 1px transparent; }
.mylist > li > button:hover, .mylist > li > button[aria-current="true"] { box-shadow: inset 0 0 0 1.5px var(--ink); }
.mylist-title { font-size: 16px; font-weight: 600; line-height: 1.45; overflow-wrap: anywhere; }
.mylist-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 13px; color: var(--ink-mid); }
.mylist-meta time { font-family: var(--mono); font-size: 12.5px; }
.qchip { display: inline-flex; align-items: center; min-height: 24px; padding: 0 9px; border-radius: 999px; font-size: 12.5px; font-weight: 600; white-space: nowrap; background: #E6E8E2; color: var(--ink-mid); }
.qchip.open { background: #FFF1E0; color: #8A4B00; }
.qchip.answered { background: var(--lime); color: var(--ink); }
.qchip.pub { background: var(--ink); color: #fff; }
.qempty { margin: 0; padding: 24px 20px; border-radius: 12px; background: var(--surface); color: var(--ink-mid); }
.qempty[hidden] { display: none; }
.qempty a { color: var(--ink); font-weight: 600; }
.mydetail { display: grid; gap: 16px; }
.mydetail h2:focus { outline: none; }
.mydetail-head { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 13px; color: var(--ink-mid); }
.mydetail-head time { margin-left: 4px; font-family: var(--mono); font-size: 12.5px; }
.link-back { justify-self: start; min-height: 44px; padding: 0; border: 0; background: none; font: inherit; font-size: 14.5px; font-weight: 600; color: var(--ink); cursor: pointer; }
.qna-page .fsummary { margin: 16px 0 0; }
.qna-page .fsummary[hidden] { display: none; }
.auth-cb { display: grid; gap: 14px; justify-items: start; padding: 64px 0 96px; }
.auth-cb p { margin: 0; color: var(--ink-mid); }

/* 질문과 답변 게시판 (서버가 qna-shell 에 그리는 목록·상세) */
.qna-sec { padding: 48px 0 96px; }
.qna-sec .wrap { max-width: 1040px; }
.qna-sec h1 { margin: 0 0 10px; font-size: clamp(26px, 5vw, 40px); line-height: 1.3; }
.qna-sec h2 { margin: 0; font-size: clamp(20px, 3.4vw, 26px); line-height: 1.4; overflow-wrap: anywhere; }
.qna-sec .lede { margin: 0 0 32px; }
.qna-list { margin: 0; padding: 0; list-style: none; border-top: 1.5px solid var(--ink); }
.qna-list li { border-bottom: 1px solid var(--line); }
.qna-list li > a, .qna-list li > div { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; padding: 16px 4px; color: var(--ink); text-decoration: none; }
.qna-list li > a:hover b { text-decoration: underline; text-underline-offset: 4px; }
.qna-list li > a:focus-visible { outline: 2px solid var(--ink); outline-offset: -2px; }
.qna-list b { flex: 1 0 100%; order: -1; font-size: 16px; font-weight: 600; line-height: 1.45; overflow-wrap: anywhere; }
.qna-list .qna-who, .qna-list time { font-size: 13px; color: var(--ink-mid); }
.qna-list time { font-family: var(--mono); font-size: 12.5px; }
.qna-st { display: inline-flex; align-items: center; justify-content: center; min-height: 24px; padding: 0 9px; border-radius: 999px; font-size: 12.5px; font-weight: 600; white-space: nowrap; background: #E6E8E2; color: var(--ink-mid); }
.qna-st.done { background: var(--lime); color: var(--ink); }
.qna-cat { display: inline-flex; align-items: center; min-height: 22px; padding: 0 8px; border-radius: 6px; font-size: 12px; font-weight: 600; white-space: nowrap; box-shadow: inset 0 0 0 1px var(--line); color: var(--ink-mid); }
.qna-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.qna-list li.secret b { font-weight: 500; color: var(--ink-mid); }
.qna-lock { display: inline-flex; align-items: center; gap: 6px; }
.qna-lock::before { content: ""; flex: none; width: 14px; height: 14px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 7V5a3.5 3.5 0 0 1 7 0v2h.5a1 1 0 0 1 1 1v6a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V8a1 1 0 0 1 1-1zm1.6 0h3.8V5a1.9 1.9 0 0 0-3.8 0z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 7V5a3.5 3.5 0 0 1 7 0v2h.5a1 1 0 0 1 1 1v6a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V8a1 1 0 0 1 1-1zm1.6 0h3.8V5a1.9 1.9 0 0 0-3.8 0z'/%3E%3C/svg%3E") center / contain no-repeat; }
.qna-empty { margin: 0; padding: 32px 4px; color: var(--ink-mid); border-bottom: 1px solid var(--line); }

.qna-q, .qna-a { display: grid; gap: 10px; padding: 20px; border-radius: 14px; background: var(--surface); }
.qna-a { background: #E9ECE4; }
.qna-a.wait { background: transparent; box-shadow: inset 0 0 0 1px var(--line); color: var(--ink-mid); }
.qna-label { justify-self: start; display: inline-flex; align-items: center; min-height: 26px; padding: 0 10px; border-radius: 6px; background: var(--ink); color: var(--lime); font-size: 12.5px; font-weight: 700; }
.qna-a.wait .qna-label { background: #E6E8E2; color: var(--ink-mid); }
.qna-text { white-space: pre-wrap; overflow-wrap: anywhere; font-size: 15.5px; line-height: 1.75; }
.qna-wait { margin: 0; padding: 18px 20px; border-radius: 14px; box-shadow: inset 0 0 0 1px var(--line); color: var(--ink-mid); }
.qna-sec .qna-q, .qna-sec .qna-a, .qna-sec .qna-wait { margin-top: 12px; }
.qna-sec .qna-meta + .qna-q, .qna-sec h2 + .qna-q { margin-top: 20px; }
.qna-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 32px; padding: 22px 20px; border-radius: 14px; background: var(--surface); }
.qna-cta p { margin: 0 auto 0 0; color: var(--ink-mid); }
.qna-pager { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 28px; }
.qna-pager[hidden] { display: none; }
.qna-pager a { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 10px; border-radius: 10px; font-size: 15px; font-weight: 600; color: var(--ink); text-decoration: none; }
.qna-pager a:hover { background: #E6E8E2; }
.qna-pager a[aria-current="page"] { background: var(--ink); color: #fff; }
.qna-pager .pg-nums { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; }
.qna-pager .pg-prev, .qna-pager .pg-next { min-width: 72px; }
.qna-pager .pg-next { justify-content: flex-end; }
@media (min-width: 860px) {
  /* PC: 상태 | 제목 + 분야 | 이름 | 날짜 */
  .qna-list li > a, .qna-list li > div { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto 150px 84px; gap: 16px; padding: 18px 8px; }
  .qna-list b { order: 0; }
  .qna-list .qna-cat { justify-self: start; }
  .qna-list .qna-who { text-align: left; }
  .qna-list time { text-align: left; }
  .qna-list .qna-st { justify-self: end; margin-left: 0; }
  .qna-list li:not(:has(.qna-cat)) b { grid-column: 2 / 4; }
}

/* 헤더 로그인·계정 메뉴 */
.hdr-auth { position: relative; display: flex; }
.hdr-login, .hdr-user { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 44px; min-height: 44px; padding: 0; border: 0; border-radius: 8px; background: none; font: inherit; font-size: 15px; font-weight: 600; color: var(--on-dark-mid); cursor: pointer; }
.hdr-login:hover, .hdr-user:hover, .hdr-user[aria-expanded="true"] { color: var(--on-dark); }
.hdr-login[hidden], .hdr-user[hidden] { display: none; }
.hdr-login svg, .hdr-user svg { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.hdr-login { padding: 0 6px; white-space: nowrap; }
.hdr-login svg { display: none; } /* 로그인 전에는 글자로만 (사람 아이콘은 로그인 후 계정 메뉴에만) */
.hdr-name { display: none; max-width: 140px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hdr-user::after { content: ""; width: 7px; height: 7px; margin: -3px 2px 0 0; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: rotate(45deg); display: none; }
.hdr-menu { position: absolute; right: 0; top: calc(100% + 8px); z-index: 70; min-width: 196px; margin: 0; padding: 6px; list-style: none; border-radius: 12px; background: var(--surface); color: var(--ink); box-shadow: 0 18px 40px rgba(0,0,0,.28), 0 0 0 1px rgba(0,0,0,.06); }
.hdr-menu[hidden], .hdr-menu li[hidden] { display: none; }
.hdr-menu a, .hdr-menu button { display: flex; align-items: center; width: 100%; min-height: 44px; padding: 0 12px; border: 0; border-radius: 8px; background: none; font: inherit; font-size: 15px; color: inherit; text-align: left; text-decoration: none; cursor: pointer; }
.hdr-menu a:hover, .hdr-menu button:hover, .hdr-menu a:focus-visible, .hdr-menu button:focus-visible { background: #F2F3EF; outline: none; }
.hdr-menu li:last-child { margin-top: 4px; padding-top: 4px; border-top: 1px solid var(--line); }
.m-menu .m-login { display: flex; justify-content: space-between; padding: 17px 2px; border: 0; border-bottom: 1px solid var(--line-dark); background: none; font: inherit; font-size: 20px; font-weight: 600; color: inherit; text-align: left; cursor: pointer; }
.m-menu .m-login::after { content: "→"; color: var(--lime); }
.qna-in .m-menu .m-login { display: none; }
/* 로그인했을 때만 모바일 메뉴에 '내 정보' */
.m-menu .m-login.m-account { display: none; }
.qna-in .m-menu .m-login.m-account { display: flex; }
/* 내 정보 */
.acct { display: grid; gap: 20px; }
.acct { gap: 0; }
.acct-card { padding: 4px 0 28px; margin-bottom: 28px; border-bottom: 1px solid var(--line); }
.acct-card.qform { padding: 4px 0 28px; border-radius: 0; background: none; box-shadow: none; border: 0; border-bottom: 1px solid var(--line); }
.acct-card:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: 0; }
.acct-card .acct-ok:empty { display: none; }
.acct-card form, .acct-card .btn { margin-top: 4px; }
.acct-card h2 { margin: 0 0 18px; font-size: 18px; }
.acct-dl { display: grid; grid-template-columns: 110px 1fr; gap: 10px 16px; margin: 0 0 20px; font-size: 15px; }
.acct-dl dt { color: var(--muted); }
.acct-dl dd { margin: 0; word-break: break-all; }
.acct-ok { min-height: 1.5em; margin: 10px 0 0; font-size: 14px; color: #3d7a3a; }
.acct-ok.bad { color: #c0392b; }
.acct-mkt { display: flex; align-items: flex-start; gap: 12px; }
.acct-mkt b { display: block; margin-bottom: 2px; }
.acct-state { font-size: 14px; color: var(--muted); }
.acct-links { display: flex; flex-wrap: wrap; gap: 10px; }
.acct-note { margin: 12px 0 0; font-size: 13px; color: var(--muted); }
.acct-wd-open { margin-top: 20px; padding: 0; border: 0; background: none; font: inherit; font-size: 14px; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.acct-wd-open:hover { color: #b3261e; }
.acct-wd { margin-top: 20px; padding: 20px; border: 1px solid #f0c9c5; border-radius: 12px; background: #fdf5f4; }
.acct-wd h3 { margin: 0 0 10px; font-size: 16px; color: #b3261e; }
.acct-wd ul { margin: 0 0 16px; padding-left: 18px; font-size: 14px; line-height: 1.7; }
.acct-wd .consent { margin-bottom: 16px; }
.btn.btn-danger { background: #b3261e; border-color: #b3261e; color: #fff; }
.btn.btn-danger:hover { background: #8f1e18; border-color: #8f1e18; }
.btn.btn-danger:disabled { opacity: .6; cursor: default; }
.acct-skel { height: 180px; border-radius: 16px; margin-bottom: 20px; }
@media (max-width: 640px) { .acct-dl { grid-template-columns: 90px 1fr; } }
@media (max-width: 420px) {
  .site-header .wrap { gap: 10px; }
}
@media (min-width: 1024px) {
  .hdr-login, .hdr-user { padding: 0 8px; }
  .hdr-name { display: inline; }
  .hdr-user::after { display: block; }
}

/* 로그인 창 */

/* 문의하기 상단 줄 */
.qwho { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-bottom: 16px; }
.qwho[hidden] { display: none; }
.qwho p { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 0 auto 0 0; font-size: 15px; color: var(--ink-mid); }
.qwho p[hidden] { display: none; }
.qwho-in b { color: var(--ink); }
.qwho .btn { min-height: 40px; padding: 0 14px; font-size: 14.5px; }
.qwho-link { display: inline-flex; align-items: center; min-height: 44px; font-size: 14.5px; font-weight: 600; color: var(--ink); text-underline-offset: 4px; }
.qsecret-help { margin: -2px 0 6px 32px; }
.qchip.secret { background: var(--ink); color: #fff; }
.qchip.hidden-chip { background: #FFE9E6; color: #B42318; }

/* 관리자 */
.adm .wrap { max-width: 1280px; }
.adm-h { margin: 0 0 20px; font-size: 26px; }
.adm-login { max-width: 460px; }
.adm-tabs { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 16px; padding: 4px; border-radius: 12px; background: #E6E8E2; width: fit-content; max-width: 100%; }
.adm-grid { display: grid; gap: 16px; }
.adm-list { align-content: start; }
.adm-detail { display: grid; gap: 14px; align-content: start; padding: 22px 20px; border-radius: 16px; background: var(--surface); min-width: 0; }
.adm-detail .qna-q { background: #F2F3EF; }
.adm-meta { display: grid; gap: 6px 16px; margin: 0; font-size: 14px; }
.adm-meta div { display: grid; grid-template-columns: 84px 1fr; gap: 10px; }
.adm-meta dt { color: var(--ink-mid); }
.adm-meta dd { margin: 0; overflow-wrap: anywhere; }
form.qform.adm-form { padding: 0; }
.adm-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.adm-actions .btn { min-height: 44px; padding: 0 16px; font-size: 14.5px; }
.adm-actions .btn:disabled { opacity: .4; cursor: not-allowed; }
.adm-del { color: #B42318; }
.adm-ok { margin: 0; font-size: 14px; font-weight: 600; min-height: 1.4em; }

@media (min-width: 720px) {
  form.qform, .mybox, .qdone { padding: 36px; }
  .mygrid { grid-template-columns: 1fr 1fr; }
  .adm-meta { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
  .qna-page, .qna-sec { padding: 72px 0 128px; }
  .adm-grid { grid-template-columns: minmax(300px, 380px) 1fr; }
}
.qna-page [hidden], .qna-sec [hidden], .qwho [hidden] { display: none !important; }
.qna-sec .qna-meta .qna-who, .qna-sec .qna-meta time { font-size: 13px; color: var(--ink-mid); }
.qna-sec .qna-meta time { font-family: var(--mono); font-size: 12.5px; }
.qna-sec h2 + .qna-meta { margin-top: 10px; }
.qform .field > .field-hint { margin: 6px 0 0; }

/* 로그인·회원가입 페이지: 흰 카드 하나에 구글 버튼, 구분선, 이메일 양식 */
.auth-narrow { width: auto; max-width: 480px; margin: 0 max(var(--pad), calc((100% - 480px) / 2)); padding: 28px 24px; border-radius: 16px; background: var(--surface); color: var(--ink); }
.auth-narrow [hidden] { display: none !important; }
.auth-narrow .login-btns { max-width: none; }
.auth-or { display: flex; align-items: center; gap: 12px; margin: 20px 0 16px; font-size: 13.5px; color: var(--ink-mid); }
.auth-or::before, .auth-or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
form.qform.auth-form { padding: 0; border-radius: 0; }
form.qform.auth-form > .btn { justify-self: stretch; min-height: 50px; }
.auth-link { justify-self: center; min-height: 44px; padding: 0 8px; border: 0; background: none; font: inherit; font-size: 14px; color: var(--ink-mid); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.auth-link:hover { color: var(--ink); }
.auth-switch { margin: 20px 0 0; font-size: 14.5px; color: var(--ink-mid); text-align: center; }
.auth-switch a { font-weight: 700; color: var(--ink); }
.auth-as { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 12px 14px; border-radius: 10px; background: #F2F3EF; font-size: 14.5px; }
.auth-as span { color: var(--ink-mid); }
.auth-as b { overflow-wrap: anywhere; }
.qna-page .fsummary.ok { box-shadow: inset 0 0 0 1.5px rgba(23,92,52,.35); background: #F3FAF5; }
a.hdr-login, .m-menu a.m-login { text-decoration: none; }
@media (max-width: 560px) { .auth-narrow { padding: 22px 16px; } }
.header-cta { white-space: nowrap; }
/* 질문과 답변: 비밀글 열기 (로그인 또는 비회원 비밀번호) */
.qsec-acts { display: grid; gap: 16px; max-width: 480px; margin: 20px 0 24px; padding: 22px 20px; border-radius: 16px; background: var(--surface); color: var(--ink); }
.qsec-acts .btn { justify-self: start; }
.qsec-acts .btn[hidden] { display: none; }
.qsec-pw { display: grid; gap: 8px; }
.qsec-pw label { font-size: 14.5px; font-weight: 600; }
.qsec-pw > div { display: flex; gap: 8px; }
.qsec-pw input { flex: 1; min-width: 0; }
.qsec-pw .btn { flex: none; }
.qsec-pw input { padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px; background: #FAFAF8; font: inherit; font-size: 16px; color: var(--ink); }
.qsec-pw input:focus { outline: none; border-color: var(--ink); background: #fff; }

/* 질문과 답변 머리: 제목 왼쪽, '내 문의'·'문의하기' 오른쪽 위 */
.qna-top { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.qna-top .qna-h { margin: 0; }
.qna-tools { display: flex; gap: 8px; }
.qna-tools .btn { min-height: 44px; padding: 0 16px; font-size: 14.5px; }
.qna-tools [data-mine][aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.qna-list li[hidden], .qna-empty[hidden] { display: none; }
.qna-list .qna-st { margin-left: auto; }
/* PC 헤더 순서: … 질문과 답변 · 로그인 · KO/EN · 상담 문의 (모바일은 KO/EN · 로그인 · 메뉴 그대로) */
@media (min-width: 1024px) {
  .site-header .hdr-auth { order: 1; }
  .site-header .lang { order: 2; }
  .site-header .header-cta, .site-header .menu-btn { order: 3; }
}
.qna-tools [hidden] { display: none; }
/* 질문과 답변 상세: 문단 간격·글자 크기 정리, 모바일 최적화 */
.qna-q p, .qna-a p { margin: 0; font-size: 16px; line-height: 1.75; overflow-wrap: anywhere; }
.qna-q, .qna-a { gap: 12px; } /* 문단 간격은 grid gap 하나로 */
.qna-art .qna-h { margin: 0 0 12px; }
.qna-art .qna-meta { margin-bottom: 20px; }
.qna-more { margin-top: 28px; }
@media (max-width: 640px) {
  .qna-sec .crumbs li:nth-child(3) { display: none; } /* 긴 질문 제목은 빵부스러기에서 빼고 본문 제목으로만 */
  .qna-art .qna-h, .qna-top .qna-h { font-size: 24px; line-height: 1.35; }
  .qna-q, .qna-a { padding: 18px 16px; border-radius: 12px; }
  .qna-q p, .qna-a p { font-size: 15.5px; line-height: 1.7; }
  .qna-top { align-items: center; margin-bottom: 14px; }
  .qna-tools .btn { min-height: 40px; padding: 0 14px; font-size: 14px; }
  .qna-pager { gap: 6px; }
  .qna-pager .pg-prev, .qna-pager .pg-next { min-width: 0; font-size: 14px; }
  .qsec-acts { padding: 18px 16px; }
  .qsec-pw > div { flex-direction: column; }
  .qsec-pw .btn { width: 100%; }
}

/* 질문과 답변 페이지 번호 (list.js가 그린다): ‹ 1 2 3 › */
.qna-pager { justify-content: center; gap: 6px; }
.qna-pager button { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 10px; border: 0; border-radius: 10px; background: none; font: inherit; font-size: 15px; font-weight: 600; color: var(--ink); cursor: pointer; }
.qna-pager button:hover:not(:disabled) { background: #E6E8E2; }
.qna-pager button[aria-current="page"] { background: var(--ink); color: #fff; }
.qna-pager button:disabled { color: #B7BBB3; cursor: default; }
.qna-pager button svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.qna-pager .pg-nums { display: flex; gap: 4px; }
.qna-pager .pg-gap { display: inline-flex; align-items: center; min-width: 24px; justify-content: center; color: var(--ink-mid); }
.qna-list li.pg-off { display: none; }
@media (max-width: 640px) { .qna-pager button { min-width: 40px; min-height: 40px; } }
/* 답변 완료 칩: '문의하기' 버튼(라임)과 겹치지 않게 차분한 초록 */
.qna-st.done { background: #E1EEDB; color: #2D5A1B; }
/* 질문과 답변: 글이 적어도 바닥글이 끌려 올라오지 않게 화면 높이만큼 확보 */
.qna-sec { min-height: 70vh; min-height: 70svh; box-sizing: border-box; } /* 적당한 높이: 글이 적을 때 바닥글이 너무 올라오지 않게 */

/* 인사이트 관련 뉴스: 글 끝 출처 목록 */
.art-src ul { margin: 0; padding-left: 18px; display: grid; gap: 8px; }
.art-src li { font-size: 14.5px; line-height: 1.6; color: var(--ink-mid); }
.art-src a { color: inherit; text-underline-offset: 3px; overflow-wrap: anywhere; }
.art-src a:hover { color: var(--ink); }
/* 인사이트 목록: PC는 필터 + 6개씩 페이지, 모바일은 분류별 가로 슬라이드 */
.filters a { flex: none; display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); font-size: 14px; font-weight: 600; color: var(--ink-mid); text-decoration: none; }
.filters a:hover { color: var(--ink); }
.filters a[aria-current="page"] { background: var(--ink); color: var(--lime); box-shadow: none; }
.ins-pager { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 36px; }
.ins-pager a, .ins-pager > span { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 10px; border-radius: 10px; font-size: 15px; font-weight: 600; color: var(--ink); text-decoration: none; }
.ins-pager a:hover { background: #E6E8E2; }
.ins-pager a[aria-current="page"] { background: var(--ink); color: #fff; }
.ins-pager svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ins-pager .pg-nums { display: flex; gap: 4px; }
.ins-rows { display: none; }
@media (max-width: 767px) {
  .ins-pc { display: none; }
  .ins-rows { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .ins-row { min-width: 0; }
  .ins-row h2 { display: flex; align-items: baseline; gap: 8px; margin: 0 0 12px; font-size: 20px; }
  .ins-row h2 small { font-family: var(--mono); font-size: 13px; font-weight: 600; color: var(--ink-mid); }
  .ins-track { display: flex; gap: 12px; margin: 0 calc(var(--pad) * -1); padding: 4px var(--pad) 16px; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scroll-padding: 0 var(--pad); scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .ins-track::-webkit-scrollbar { display: none; }
  .ins-track .cover-card { flex: 0 0 78%; max-width: 320px; scroll-snap-align: start; }
  .ins-track .cover-card:hover { transform: none; }
  .ins-track .cover-card h3 { font-size: 16px; }
}
/* 질문 본문(글쓰기 에디터 HTML): 소제목·목록·인용·링크 */
.qna-rich { display: grid; gap: 12px; font-size: 16px; line-height: 1.75; overflow-wrap: anywhere; }
.qna-rich > * { margin: 0; }
.qna-rich h2 { margin-top: 8px; font-size: 19px; line-height: 1.45; }
.qna-rich h3 { margin-top: 4px; font-size: 17px; line-height: 1.45; }
.qna-rich ul, .qna-rich ol { padding-left: 22px; display: grid; gap: 4px; }
.qna-rich blockquote { padding: 10px 14px; border-radius: 10px; background: #F2F3EF; color: var(--ink-mid); }
.qna-rich a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.qna-rich code { padding: 1px 6px; border-radius: 6px; background: #F2F3EF; font-family: var(--mono); font-size: 14px; }
.qna-rich pre { padding: 12px 14px; border-radius: 10px; background: #F2F3EF; overflow-x: auto; font-size: 14px; }
.qna-rich hr { border: 0; border-top: 1px solid var(--line); }
@media (max-width: 640px) { .qna-rich { font-size: 15.5px; line-height: 1.7; } .qna-rich h2 { font-size: 18px; } }
/* 스켈레톤: 서버 데이터를 기다리는 동안 자리만 보여 준다 */
.skel { display: block; border-radius: 8px; background: linear-gradient(90deg, #E6E8E2 0%, #F1F2EE 40%, #E6E8E2 80%); background-size: 200% 100%; animation: skel 1.2s ease-in-out infinite; }
.skel-line { height: 14px; }
.skel-box { width: 100%; border-radius: 12px; }
@keyframes skel { from { background-position: 100% 0; } to { background-position: -100% 0; } }
@media (prefers-reduced-motion: reduce) { .skel { animation: none; } }
.qskel { display: grid; gap: 14px; }
.qskel[hidden] { display: none; }

/* 글쓰기 에디터 */
.flabel { display: block; margin-bottom: 6px; font-size: 14.5px; font-weight: 700; }
.qed { border: 1.5px solid var(--line); border-radius: 12px; background: #FAFAF8; overflow: hidden; }
.qed.focus { border-color: var(--ink); background: #fff; }
.qed.invalid { border-color: #B42318; }
.qed-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 2px; padding: 6px; border-bottom: 1px solid var(--line); background: #F2F3EF; }
.qed-bar button { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; padding: 0 8px; border: 0; border-radius: 8px; background: none; font: inherit; font-size: 13.5px; font-weight: 700; color: var(--ink-mid); cursor: pointer; }
.qed-bar button:hover { background: #E6E8E2; color: var(--ink); }
.qed-bar button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.qed-bar svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.qed-bar svg circle { fill: currentColor; stroke: none; }
.qed-sep { width: 1px; height: 22px; margin: 0 4px; background: var(--line); }
.qed-area { padding: 4px 0; }
.qed-area > .skel { margin: 10px 14px; width: auto; }
.qed-doc { min-height: 240px; padding: 12px 16px 16px; outline: none; font-size: 16px; line-height: 1.75; color: var(--ink); }
.qed-doc > * { margin: 0 0 10px; }
.qed-doc h2 { font-size: 19px; line-height: 1.45; margin-top: 6px; }
.qed-doc h3 { font-size: 17px; line-height: 1.45; margin-top: 4px; }
.qed-doc ul, .qed-doc ol { padding-left: 22px; }
.qed-doc blockquote { padding: 8px 12px; border-radius: 10px; background: #F2F3EF; color: var(--ink-mid); }
.qed-doc a { color: var(--ink); text-decoration: underline; }
.qed-doc p.is-editor-empty:first-child::before { content: attr(data-placeholder); float: left; height: 0; color: #9AA0A6; pointer-events: none; }
@media (max-width: 640px) { .qed-bar button { min-width: 38px; height: 38px; } .qed-doc { min-height: 200px; font-size: 15.5px; } }
.qna-list li.skel-row, .mylist li.skel-row { display: grid; gap: 8px; padding: 18px 8px; border-bottom: 1px solid var(--line); }
.qed-doc li > p, .qna-rich li > p { margin: 0; }
.qed-doc ul, .qed-doc ol { display: grid; gap: 2px; }

/* 페이지 이동 로딩 막대 */
.nav-bar { position: fixed; left: 0; top: 0; z-index: 200; width: 100%; height: 3px; pointer-events: none; transform: scaleX(0); transform-origin: 0 50%; background: var(--lime); box-shadow: 0 0 10px rgba(198,241,53,.6); opacity: 0; }
.nav-bar.on { opacity: 1; animation: navbar 8s cubic-bezier(.1,.7,.2,1) forwards; }
@keyframes navbar { 0% { transform: scaleX(0); } 15% { transform: scaleX(.45); } 50% { transform: scaleX(.75); } 100% { transform: scaleX(.95); } }
@media (prefers-reduced-motion: reduce) { .nav-bar.on { animation: none; transform: scaleX(.6); } }

/* 구글 로그인 진행 중 */
.lbtn.loading { pointer-events: none; opacity: .75; }
.lbtn.loading svg { display: none; }
.lbtn.loading::before { content: ""; width: 18px; height: 18px; border-radius: 50%; border: 2px solid #C9CCC4; border-top-color: #1F1F1F; animation: spin .8s linear infinite; }
.auth-busy { position: absolute; inset: 0; z-index: 5; display: grid; place-content: center; justify-items: center; gap: 14px; border-radius: inherit; background: rgba(255,255,255,.92); font-size: 15px; font-weight: 600; color: var(--ink); }
.auth-busy[hidden] { display: none; }
.auth-busy::before { content: ""; width: 32px; height: 32px; border-radius: 50%; border: 3px solid #E1E4DC; border-top-color: var(--ink); animation: spin .8s linear infinite; }
.auth-narrow { position: relative; }
@keyframes spin { to { transform: rotate(360deg); } }

/* 로그인한 사람에게만 보이는 UI: <html class="qna-in">(저장된 로그인 정보로 맨 처음에 붙음)를 보고 바로 보인다 */
.qna-tools [data-mine] { display: none; }
html.qna-in .qna-tools [data-mine] { display: inline-flex; }
html.qna-in [data-when-out] { display: none !important; }
html.qna-in .qna-page [data-when="wait"] { display: none; }
/* 문의 양식: 로그인 상태(html.qna-in)일 때만 보인다 */
.qna-page .q-in { display: none; }
html.qna-in .qna-page .q-in { display: block; }
/* 관리자: 질문 수정 */
.adm-edit-row { margin: 10px 0 0; }
.adm-qedit { margin-top: 14px; }
.adm-qedit[hidden] { display: none; }

/* 관리자: 목록 한 줄, 누른 질문 바로 아래에서 펼침 */
.adm .adm-grid { grid-template-columns: minmax(0, 1fr) !important; max-width: 960px; }
.adm-list li.adm-open { padding: 0; }
.adm-list li.adm-open .adm-detail { margin: -2px 0 6px; border-radius: 0 0 14px 14px; box-shadow: inset 0 0 0 1.5px var(--ink); }
.adm-list > li > button[aria-current="true"] { border-radius: 12px 12px 0 0; }
/* 인사이트 모바일 분류 줄: 공통 구역 여백(80px)을 쓰지 않는다 */
.ins-row { padding: 0; }
@media (max-width: 767px) { .ins-rows { gap: 28px; } }

/* 인사이트 검색 */
.ins-search { position: relative; display: flex; gap: 8px; max-width: 640px; margin: 0 0 28px; }
.ins-search > svg { position: absolute; left: 16px; top: 50%; width: 20px; height: 20px; margin-top: -10px; fill: none; stroke: var(--ink-mid); stroke-width: 2; stroke-linecap: round; pointer-events: none; }
.ins-search input { flex: 1; min-width: 0; height: 50px; padding: 0 44px 0 46px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--surface); font: inherit; font-size: 16px; color: var(--ink); }
.ins-search input:focus { outline: none; border-color: var(--ink); }
.ins-search input::-webkit-search-cancel-button { display: none; }
.ins-search .btn { flex: none; min-height: 50px; padding: 0 20px; }
.ins-search-x { position: absolute; right: 96px; top: 50%; display: grid; place-items: center; width: 36px; height: 36px; margin-top: -18px; border-radius: 8px; color: var(--ink-mid); }
.ins-search-x svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.ins-search-x:hover { background: #F2F3EF; color: var(--ink); }
.ins-found { margin: 0 0 20px; font-size: 15px; font-weight: 600; color: var(--ink-mid); }
.ins-results .link-arrow { display: inline-block; margin-top: 28px; }
@media (max-width: 767px) {
  .ins-search { margin-bottom: 24px; }
  .ins-search .btn { padding: 0 16px; }
  .ins-search-x { right: 82px; }
  .ins-results .covers { grid-template-columns: 1fr; }
}
/* 질문과 답변: 주제 칩, 주제 소개, 비슷한 질문·관련 링크 */
.qna-topics { display: flex; gap: 8px; margin: 0 0 20px; padding-bottom: 2px; overflow-x: auto; scrollbar-width: none; }
.qna-topics::-webkit-scrollbar { display: none; }
.qna-topics a { flex: none; display: inline-flex; align-items: center; min-height: 38px; padding: 0 14px; border-radius: 999px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); font-size: 14px; font-weight: 600; color: var(--ink-mid); text-decoration: none; }
.qna-topics a:hover { color: var(--ink); }
.qna-topics a[aria-current="page"] { background: var(--ink); color: var(--lime); box-shadow: none; }
.qna-topic-intro { max-width: 70ch; margin: -6px 0 18px; font-size: 15.5px; line-height: 1.7; color: var(--ink-mid); }
a.qna-cat { text-decoration: none; }
a.qna-cat:hover { text-decoration: underline; }
.qna-rel { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); }
.qna-rel h2 { margin: 0 0 12px; font-size: 17px; }
.qna-rel ul { display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; }
.qna-rel li a { display: block; padding: 10px 0; font-size: 15.5px; line-height: 1.5; color: var(--ink); text-decoration: none; }
.qna-rel li a:hover { text-decoration: underline; text-underline-offset: 4px; }
.qna-similar .link-arrow { display: inline-block; margin-top: 10px; }
/* 업종 상세: 이 분야 질문하기 */
.case-ask { display: grid; gap: 16px; margin: 0 0 28px; padding: 22px 20px; border-radius: 16px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.case-ask h3 { margin: 0; font-size: 18px; line-height: 1.4; }
.case-ask p { margin: 0; font-size: 15px; color: var(--ink-mid); }
.case-ask-acts { display: flex; flex-wrap: wrap; gap: 8px; }
@media (min-width: 900px) { .case-ask { grid-template-columns: 1fr auto; align-items: center; padding: 26px 28px; } }

/* 용어사전 */
.gl { padding-top: 40px; }
.gl-jump { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.gl-jump a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); font-size: 14px; font-weight: 600; color: var(--ink-mid); text-decoration: none; }
.gl-jump a:hover { color: var(--ink); }
.gl-group { margin-bottom: 40px; scroll-margin-top: calc(var(--header-h) + 16px); }
.gl-group h2 { margin: 0 0 14px; font-size: 22px; }
.gl-list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.gl-list a { display: grid; gap: 4px; height: 100%; padding: 18px 20px; border-radius: 14px; background: var(--surface); color: var(--ink); text-decoration: none; box-shadow: 0 1px 0 var(--line); transition: box-shadow .2s; }
.gl-list a:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.gl-list b { font-size: 17px; }
.gl-list small { font-family: var(--mono); font-size: 12px; color: var(--ink-mid); }
.gl-list span { margin-top: 4px; font-size: 14.5px; line-height: 1.6; color: var(--ink-mid); }
@media (min-width: 900px) { .gl-list { grid-template-columns: 1fr 1fr; } }
.gl-en { display: block; margin-top: 8px; font-family: var(--mono); font-size: 15px; font-weight: 500; color: var(--on-dark-mid); letter-spacing: 0; }
.gl-def { max-width: 62ch; font-size: 18px; line-height: 1.7; }
.gl-body { padding: 40px 0 72px; }
.gl-wrap { max-width: 820px; }
.gl-text p { margin: 0 0 18px; font-size: 17px; line-height: 1.85; }
.gl-rel { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); }
.gl-rel h2 { margin: 0 0 12px; font-size: 18px; }
.gl-rel ul { display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; }
.gl-rel li a { display: block; padding: 9px 0; font-size: 16px; color: var(--ink); text-decoration: none; }
.gl-rel li a:hover { text-decoration: underline; text-underline-offset: 4px; }
.gl-rel ul.gl-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.gl-rel .gl-chips a { display: inline-flex; align-items: center; min-height: 38px; padding: 0 14px; border-radius: 999px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); font-size: 14.5px; font-weight: 600; }
.gl-rel .gl-chips a:hover { text-decoration: none; box-shadow: inset 0 0 0 1.5px var(--ink); }
.gl-wrap > .link-arrow { display: inline-block; margin-top: 32px; }
@media (max-width: 640px) { .gl-def { font-size: 16.5px; } .gl-text p { font-size: 16px; } }
.ins-gl { margin: 40px 0 0; } /* 인사이트 목록 맨 아래 */

/* 페이지를 넘겨도 높이가 같게: 마지막 페이지 빈자리는 보이지 않는 카드로 채움 */
.cover-ghost { visibility: hidden; pointer-events: none; }
.cover-ghost .cover { background: none; }
/* 인사이트 카드 높이 통일: 제목은 두 줄 높이로 고정(넘치면 말줄임) → 줄마다 카드 높이가 같아 페이지를 넘겨도 높이가 변하지 않는다 */
.covers .cover-card h3 { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; min-height: calc(2 * 1.45em); }

/* 인사이트 목록: 모바일에서 제목 영역과 검색창 사이 여백 줄이기 */
.ins-sec { padding-top: 56px; }
@media (max-width: 767px) {
  .page-top:has(+ .ins-sec) { padding-bottom: 28px; } /* 실제 폰에서도 제목과 검색창이 붙어 보이게 */
  .ins-sec { padding-top: 16px; }
  .ins-search { margin-bottom: 18px; }
}
/* 상담 사례 상세 표지: 목록 썸네일 모양 그대로 */
.art-cover-card .cover img { display: block; height: 100%; width: 78%; }

/* 인사이트 분류 칩: 모바일에서도 검색창 아래에. 분류를 고르면 그 분류만 세로로 */
@media (max-width: 767px) {
  .ins-sec .filters { margin: 0 calc(var(--pad) * -1) 22px; padding: 0 var(--pad); }
  .ins-rows-one .ins-row h2 { display: none; }
  .ins-rows-one .ins-track { display: grid; gap: 14px; margin: 0; padding: 0; overflow: visible; scroll-snap-type: none; }
  .ins-rows-one .ins-track .cover-card { max-width: none; }
}
/* 모바일 페이지 머리(경로·영문 꼬리표·제목): 높이를 줄여 본문이 빨리 보이게 */
@media (max-width: 767px) {
  .page-top { padding: calc(var(--header-h) + 20px) 0 28px; }
  .page-top .crumbs { margin-bottom: 12px; }
  .page-top .eyebrow { margin-bottom: 8px; }
  .page-top h1 { font-size: 28px; line-height: 1.25; margin: 0; }
  .page-top .lede { margin-top: 12px; }
  .page-top:has(+ .ins-sec) { padding-bottom: 24px; }
}

/* 관리자: 관리 메뉴 탭 (문의 …) */
.adm-nav { display: flex; gap: 4px; margin: 0 0 20px; border-bottom: 1px solid var(--line); }
.adm-nav [role="tab"] { position: relative; min-height: 48px; padding: 0 18px; border: 0; background: none; font: inherit; font-size: 16px; font-weight: 700; color: var(--ink-mid); cursor: pointer; }
.adm-nav [role="tab"]:hover { color: var(--ink); }
.adm-nav [role="tab"][aria-selected="true"] { color: var(--ink); }
.adm-nav [role="tab"][aria-selected="true"]::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: -1px; height: 3px; border-radius: 3px; background: var(--ink); }
.adm-panel[hidden] { display: none; }

/* 업종 상세: 관리자 화면 캡처가 없으면 단계 목록만 한 줄로 */
@media (min-width: 1024px) {
  .cf.cf-noshot { display: block; max-width: 820px; }
  /* 그림이 없으니 단계를 번갈아 강조하지 않고 네 단계를 똑같이 보여 준다 */
  .cf-noshot .cf-steps { display: grid; gap: 10px; }
  .cf-noshot .cf-steps > li, .cf-noshot .cf-steps > li.on { padding: 20px 22px; border: 0; border-radius: 12px; background: var(--surface); box-shadow: none; cursor: default; }
  .cf-noshot .cf-steps > li:not(.on) .cf-text, .cf-noshot .cf-steps > li:not(.on) .cf-n { opacity: 1; }
}
/* 업종 상세 모바일: 그림이 없는 단계 카드는 위쪽 여백을 따로 준다 */
@media (max-width: 1023px) { .cf-noshot .cf-steps.mcar > li { padding: 20px 18px 20px 0; } }

/* PC에서만 보이는 짧은 설명 (모바일은 제목만) */
.pc-only { display: none; }
@media (min-width: 1024px) { .pc-only { display: block; } }
/* PC 페이지 머리 한 줄 설명: 제목과 균형 맞게 조금 크게 */
@media (min-width: 1024px) { .lede.pc-only { margin-top: 18px; font-size: 18px; line-height: 1.6; } }

/* 질문과 답변: 읽기 쉬운 본문 글꼴(Pretendard)과 크기 — 질문과 답변 페이지에서만 (날짜·코드는 고정폭 그대로) */
main[data-page="qna"], main[data-page="qna"] :where(h1, h2, h3, p, li, a, b, span, button, summary, label, input, textarea, div) { font-family: "Pretendard Variable", Pretendard, var(--sans); }
main[data-page="qna"] .qna-q p, main[data-page="qna"] .qna-a p, main[data-page="qna"] .qna-rich, main[data-page="qna"] .qna-ul { font-size: 17px; line-height: 1.8; color: var(--ink); }
main[data-page="qna"] .qna-a.wait p { color: var(--ink-mid); }
.qna-ul { margin: 0; padding-left: 20px; display: grid; gap: 2px; overflow-wrap: anywhere; }
.qna-ul li::marker { color: var(--ink-mid); }
@media (max-width: 640px) { main[data-page="qna"] .qna-q p, main[data-page="qna"] .qna-a p, main[data-page="qna"] .qna-rich, main[data-page="qna"] .qna-ul { font-size: 16.5px; line-height: 1.75; } }
/* 질문과 답변 목록: 제목은 조금 크게, 날짜·작성자·분야는 덜 흐리게 */
main[data-page="qna"] .qna-list b { font-size: 17px; font-weight: 600; letter-spacing: -0.01em; }
main[data-page="qna"] .qna-list .qna-who, main[data-page="qna"] .qna-list time { font-size: 14px; color: #3F454B; }
main[data-page="qna"] .qna-list .qna-cat { font-size: 13px; }

/* 구축 방식 상세 (/ko/deployment/closed-network/ · /cloud/) */
.dg-more { display: inline-block; margin-top: 14px; }
.dt-sec { padding-block: 56px; }
.dt-sec + .dt-sec:not(.dark) { padding-top: 0; }
.dt-wrap { max-width: 920px; }
.dt-parts { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.dt-parts li { display: grid; grid-template-columns: 36px 1fr; gap: 12px; padding: 18px 20px; border-radius: 14px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.dt-parts .ds-n { font-family: var(--mono); font-size: 13px; color: var(--ink-mid); padding-top: 3px; }
.dt-parts h3 { margin: 0 0 4px; font-size: 17px; }
.dt-parts p { margin: 0; color: var(--ink-mid); line-height: 1.65; }
.dt-body { display: grid; gap: 14px; font-size: 17px; line-height: 1.8; }
.dt-body p, .dt-body ul { margin: 0; }
.dt-body ul { padding-left: 20px; display: grid; gap: 4px; color: var(--ink-mid); }
.dt-steps .dt-sp { font-size: 14.5px; font-weight: 400; line-height: 1.6; opacity: .82; }
.dt-fit { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.dt-fit a { display: grid; gap: 4px; height: 100%; padding: 16px 18px; border-radius: 12px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); color: var(--ink); text-decoration: none; }
.dt-fit a:hover b { text-decoration: underline; text-underline-offset: 4px; }
.dt-fit small { font-size: 13px; color: var(--ink-mid); }
.dt-fit b { font-size: 15.5px; }
.dt-other p { margin: 0 0 12px; font-size: 17px; }
.dt-links { display: flex; flex-wrap: wrap; gap: 12px 24px; }
@media (max-width: 640px) { .dt-sec { padding-block: 40px; } .dt-fit { grid-template-columns: 1fr; } .dt-body { font-size: 16px; } .dt-parts li { grid-template-columns: 28px 1fr; padding: 16px; } }

@media (min-width: 900px) { .dt-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); } .dt-sec .dep-ops { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* 관리자 > 인사이트 */
.ains-form { display: grid; gap: 14px; }
.ains-form .field { margin: 0; }
.ains-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.ains-row select { width: 100%; min-height: 48px; padding: 0 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff; font: inherit; }
.ains-check { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 600; }
.ains-check input { width: 20px; height: 20px; }
.ains-cover { display: grid; grid-template-columns: 160px 1fr; gap: 14px; align-items: start; }
.ains-cover img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 10px; background: #111; }
.ains-cover .qhint { margin: 0 0 8px; overflow-wrap: anywhere; }
.ains-file { min-height: 40px; padding: 0 14px; font-size: 14px; cursor: pointer; }
.ains-json { font-family: var(--mono); font-size: 13px; line-height: 1.55; white-space: pre; overflow: auto; tab-size: 2; }
.ains-count { font-weight: 500; color: var(--ink-mid); margin-left: 6px; }
.ains-count.over, .ains-form .qhint.over { color: #B42318; font-weight: 600; }
.ains-view { margin-left: auto; font-size: 14px; font-weight: 600; color: var(--ink); text-underline-offset: 4px; }
@media (min-width: 720px) { .ains-row { grid-template-columns: 1.4fr 1fr 1fr 1.4fr; } .ains-cover { grid-template-columns: 240px 1fr; } }
