/* wace.me 2027 공통 틀 — 웹 밝은 판(디자인 가이드 v5.11 §0) · 홈 시안 sian_A2L_A3 문법을 사이트 공통으로 뽑은 것 (2026-11-22)
   흰 바탕 · 검정 타이포 · 앰버 #F5A623 은 버튼 · 도식 강조 면만(흰 바탕 위 앰버 글자 금지) · 모서리 0 · 그라데이션 · 그림자 없음 · Pretendard
   머리(.gh) · 바닥(.gf) · 수상 블록(.gaw) · 도입 진단 띠(.gband) · 3D 와이어(figure.wire) · 쪽 머리(.ph) · 장면(.scene)
   T4 사전(body.t4) · T6 문서(body.t6) 는 라이브 원본 마크업을 글자 그대로 두고 이 파일이 새 틀을 입힌다 */
:root{
  --canvas:#FFFFFF; --panel:#F4F6F8; --band:#EEF0F3;
  --high:#111214; --body:#3F4147; --caption:#6B6E75;
  --amber:#F5A623; --amber-bright:#FFB84D; --on-amber:#1A1204;
  --line:rgba(17,18,20,0.10); --line-strong:rgba(17,18,20,0.22);
  --mono:ui-monospace,"SF Mono",SFMono-Regular,Menlo,Consolas,"Liberation Mono",monospace;
  --sans:"Pretendard Variable",Pretendard,-apple-system,BlinkMacSystemFont,"Apple SD Gothic Neo","Noto Sans KR",sans-serif;
  --gut:48px; --gap:24px; --max:1440px; --measure:760px;
}
*{box-sizing:border-box;margin:0;padding:0}
html{background:var(--canvas);-webkit-text-size-adjust:100%}
body{background:var(--canvas);color:var(--body);font-family:var(--sans);font-size:18px;line-height:1.7;word-break:keep-all;overflow-wrap:break-word;-webkit-font-smoothing:antialiased}
img{display:block;max-width:100%}
a{color:inherit;text-decoration:none}
strong,b{color:var(--high);font-weight:700}
:focus-visible{outline:2px solid var(--high);outline-offset:2px}
.wrap{max-width:var(--max);margin:0 auto;padding:0 var(--gut)}
.grid{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));column-gap:var(--gap)}
h1,h2,h3{text-wrap:balance}p,li,td,dd{text-wrap:pretty}
.mono{font-family:var(--mono);font-size:12px;line-height:1.5;letter-spacing:.06em;text-transform:uppercase;color:var(--caption)}
.skip{position:absolute;left:8px;top:-60px;z-index:50;background:var(--high);color:#fff;padding:10px 14px;font-size:14px}
.skip:focus{top:8px}
.eb{font-family:var(--sans);font-size:13px;line-height:1.5;letter-spacing:0;font-weight:600;color:var(--caption)}
.nw{white-space:nowrap}
.tl{text-decoration:underline;text-underline-offset:3px;text-decoration-thickness:1px;color:var(--high)}

/* 버튼 — 앰버 면 + 진한 글자(대비 9.15:1) · 보조는 선 버튼 */
.btn{display:inline-flex;align-items:center;gap:12px;background:var(--amber);color:var(--on-amber);font-weight:700;font-size:16px;line-height:1;padding:16px 22px;white-space:nowrap;border:0;cursor:pointer}
.btn:hover{background:var(--amber-bright)}
.btn .ar{font-family:var(--mono);font-weight:400}
.btn.line{background:transparent;color:var(--high);border:1px solid var(--line-strong);font-weight:600}
.btn.line:hover{background:var(--panel)}
.btns{display:flex;gap:12px;flex-wrap:wrap}

/* ── 머리 ── */
.gh{position:sticky;top:0;z-index:30;background:var(--canvas);border-bottom:1px solid var(--line)}
.gh-in{display:flex;align-items:center;height:64px;gap:40px}
.gh-logo img{height:20px;width:auto;filter:brightness(0)}
.gh-nav{display:flex;gap:28px;font-size:15px;color:var(--body);flex:1}
.gh-nav a{padding:20px 0 18px;border-bottom:2px solid transparent}
.gh-nav a:hover,.gh-lang a:hover{color:var(--high)}
.gh-nav a[aria-current]{color:var(--high);font-weight:600;border-bottom-color:var(--high)}
.gh-lang{display:flex;gap:4px;font-family:var(--mono);font-size:12px;letter-spacing:.06em;color:var(--caption)}
.gh-lang a{display:inline-block;padding:8px 6px}
.gh-lang [aria-current]{color:var(--high)}
.gh-in .btn{padding:11px 16px;font-size:14px;transition:background-color .2s,box-shadow .2s}
.gh.quiet .gh-cta{background:transparent;color:var(--high);box-shadow:inset 0 0 0 1px var(--line-strong)}
.gh-menu{display:none;font:inherit;font-size:14px;color:var(--high);background:transparent;border:1px solid var(--line-strong);padding:0 14px;min-height:44px;min-width:56px;cursor:pointer;line-height:42px;text-align:center;text-decoration:none;box-sizing:border-box}
.gh-menu[aria-expanded="true"]{background:var(--band)}
.gh-panel{position:absolute;left:0;right:0;top:100%;background:var(--panel);border-bottom:1px solid var(--line-strong);padding:8px 16px 20px;display:flex;flex-direction:column;font-size:18px;color:var(--high);max-height:calc(100vh - 56px);max-height:calc(100dvh - 56px);overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
html.menu-open{overflow:hidden;overscroll-behavior:none}
.gh-panel[hidden]{display:none}
.gh-panel nav{display:flex;flex-direction:column}
.gh-panel nav a{padding:12px 0;border-bottom:1px solid var(--line);min-height:44px}
.gh-panel nav a[aria-current]{font-weight:700}
.gh-panel > .eb{margin-top:22px}
.gh-panel .gh-res a{font-size:16px;padding:10px 0;color:var(--body)}
.gh-panel .gh-lang{display:flex;margin:0 0 4px;font-size:13px;color:var(--body);border-bottom:1px solid var(--line)}
.gh-panel .gh-lang a{padding:12px 14px 12px 0}
@media (min-width:961px){.gh-panel{display:none !important}}
@media (max-width:1100px){.gh-nav{gap:18px;font-size:14px}.gh-in{gap:24px}}

/* ── 쪽 머리(T2 · T3 · T5 첫 화면) ── */
.ph{padding:20px 0 72px}
.ph-head{display:flex;justify-content:space-between;align-items:baseline;gap:16px;padding-bottom:14px;border-bottom:1px solid var(--line-strong)}
.ph-head .no{font-family:var(--mono);font-size:12px;color:var(--high);letter-spacing:.06em}
.ph-row{margin-top:48px;align-items:start}
.ph-txt{grid-column:1 / span 5}
.ph-fig{grid-column:6 / span 7}
.ph h1{font-size:clamp(36px,3.7vw,56px);line-height:1.12;letter-spacing:-.045em;font-weight:800;color:var(--high)}
.ph h1 .thin{display:block;margin-top:6px;color:var(--caption);font-weight:700}
.pname{font-size:17px;font-weight:700;color:var(--high);margin-bottom:12px}
.figs{margin-top:22px;font-size:15px;color:var(--high);border-top:1px solid var(--line);padding-top:12px}
.figs .cap{display:block;margin-top:4px;font-size:13px;color:var(--caption)}
.lk{align-self:center;font-size:16px;font-weight:600;padding:12px 4px}
.ph .sub{margin-top:28px;font-size:18px;line-height:1.7;max-width:34em}
.seat{margin-top:32px;border-top:1px solid var(--line-strong);padding-top:14px}
.seat .eb{display:block;margin-bottom:6px;color:var(--high)}
.seat p{font-size:19px;line-height:1.55;font-weight:600;color:var(--high);letter-spacing:-.01em}
.ph .meta{margin-top:24px}
.ph .btns{margin-top:28px}
.ph .fig{margin-top:0}
.cover-fig{margin-top:24px;font-size:17px;color:var(--high);border-top:1px solid var(--line);padding-top:12px}
.cover-fig .mono{display:block;margin-bottom:4px}
@media (max-width:1100px){.ph-txt,.ph-fig{grid-column:1 / -1}.ph-fig{margin-top:48px}}

/* ── 단계 띠(T3) — 지금 단계는 검정 면 + 앰버 밑줄 4px ── */
.stages{margin-top:24px;display:flex;flex-wrap:wrap;gap:6px 0;list-style:none;font-size:15px;color:var(--caption)}
.stages li{display:flex;align-items:baseline;gap:6px}
.stages li:not(:last-child)::after{content:"→";display:inline-block;margin:0 12px;color:var(--caption);text-decoration:none}
.stages li .mono{font-size:12px}
.stages li[aria-current]{color:var(--high);font-weight:700;text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:6px}

/* ── 장면(본문 절) — 왼쪽 번호 · 오른쪽 본문 ── */
.scene{border-top:1px solid var(--line-strong);padding:88px 0 104px}
.folio{grid-column:1 / span 3;display:flex;flex-direction:column;gap:14px}
.folio .eb{color:var(--high)}
.folio .no{font-family:var(--mono);font-size:48px;line-height:1;letter-spacing:-.02em;color:var(--high);font-weight:400}
.main{grid-column:4 / span 9;min-width:0}
.scene h2{font-size:clamp(28px,3.4vw,48px);line-height:1.2;letter-spacing:-.035em;font-weight:700;color:var(--high);max-width:18em}
.lead{margin-top:32px;max-width:36em;font-size:18px}
.lead p+p{margin-top:16px}
.say{margin-top:56px;padding-top:24px;border-top:1px solid var(--line);font-size:clamp(21px,2vw,28px);line-height:1.4;letter-spacing:-.02em;font-weight:600;color:var(--high)}
.note{margin-top:24px;font-size:15px;color:var(--body);max-width:44em}
.ledger{margin-top:48px;border-top:1px solid var(--line-strong)}
.ledger .row{display:grid;grid-template-columns:repeat(9,minmax(0,1fr));column-gap:var(--gap);padding:22px 0;border-bottom:1px solid var(--line)}
.ledger .k{grid-column:1 / span 3;color:var(--high);font-weight:700;font-size:19px;line-height:1.45}
/* 배포 전 정리 2: flex 였을 때 글 안 nw 조각마다 16px 틈이 생겼다 — 한 덩이 글 + 번호는 내어쓰기 */
.ledger .k:has(> .mono:first-child){padding-left:48px}
.ledger .k > .mono:first-child{display:inline-block;width:32px;margin:0 16px 0 -48px;vertical-align:baseline}
.ledger .v{grid-column:4 / span 6;font-size:17px}
.ledger .v .mono{display:block;margin-top:10px;text-transform:none}
.cells{margin-top:48px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));column-gap:var(--gap);row-gap:32px}
.cells.c3{grid-template-columns:repeat(3,minmax(0,1fr))}
.cells.c2{grid-template-columns:repeat(2,minmax(0,1fr))}
.cells > div,.cells > a{border-top:1px solid var(--line-strong);padding-top:18px;display:block}
.cells h3{margin-top:10px;font-size:21px;line-height:1.35;letter-spacing:-.02em;color:var(--high);font-weight:700}
.cells p{margin-top:10px;font-size:16px}
.cells a:hover h3{text-decoration:underline;text-underline-offset:4px}
.cells.steps4 > div.now{border-top:2px solid var(--high)}
.cells .get{margin-top:12px;padding-top:10px;border-top:1px solid var(--line);font-size:15px;color:var(--high)}
.cells .get .eb{display:block}
.shot1{margin-top:40px}
.shot1 img{width:100%;height:auto;outline:1px solid var(--line-strong);outline-offset:-1px}
.shot1 figcaption{display:flex;justify-content:space-between;gap:16px;margin-top:10px;font-size:14px;color:var(--caption)}
.fig-cap{margin-top:10px;font-size:13px;color:var(--caption)}
table.tb.ed td{padding-right:24px}
table.tb.ed .m{display:inline-block;margin-bottom:4px}
.nums{margin-top:48px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));column-gap:var(--gap)}
.nums > div{border-top:1px solid var(--line-strong);padding-top:20px}
.nums .n{font-size:clamp(36px,3.6vw,54px);line-height:1;letter-spacing:-.04em;font-weight:700;color:var(--high);white-space:nowrap}
.nums .c{margin-top:14px;font-size:15px;line-height:1.6}
.nums .s{margin-top:6px;font-size:14px;color:var(--caption)}
table.tb{margin-top:40px;width:100%;border-collapse:collapse;font-size:16px}
table.tb th{font-size:13px;font-weight:500;color:var(--caption);text-align:left;padding:0 16px 12px 0;border-bottom:1px solid var(--line-strong);vertical-align:bottom}
table.tb td{padding:18px 16px 18px 0;border-bottom:1px solid var(--line);vertical-align:top}
table.tb td.k{color:var(--high);font-weight:700;width:20%}
table.tb .m{font-family:var(--sans);font-size:13px;letter-spacing:0;color:var(--caption)}
.path{margin-top:40px;display:flex;align-items:center;gap:16px;flex-wrap:wrap;font-size:20px;font-weight:600;color:var(--high);letter-spacing:-.02em}
.path a{border-bottom:1px solid var(--line-strong)}
.path svg{width:44px;height:12px;flex:none}
.path svg line,.path svg polyline{stroke:var(--caption);stroke-width:1.5;fill:none}
.hist{margin-top:40px;border-top:1px solid var(--line-strong)}
.hist > div{display:grid;grid-template-columns:repeat(9,minmax(0,1fr));column-gap:var(--gap);padding:26px 0;border-bottom:1px solid var(--line)}
.hist .y{grid-column:1 / span 2;font-family:var(--mono);font-size:28px;color:var(--high)}
.hist .b{grid-column:3 / span 7}
.hist .b > b{font-size:19px}
.hist ul{margin-top:10px;list-style:none;font-size:16px}
.hist li{padding:5px 0 5px 16px;position:relative}
.hist li::before{content:"";position:absolute;left:0;top:15px;width:6px;height:1px;background:var(--caption)}
.press .ttl{color:var(--high);font-weight:600;text-decoration:underline;text-decoration-color:var(--line-strong);text-underline-offset:4px}
.press .sum{display:block;margin-top:6px;font-size:15px}
.legal-cta{display:block;margin-top:8px;font-size:12px;line-height:1.5;color:var(--caption)}
.cred-img{float:left;height:72px;width:auto;margin:2px 18px 6px 0}
.cred-img.s{height:40px;float:none;display:inline-block;vertical-align:middle;margin:0 16px 0 0}
.wordmark{height:44px;width:auto;filter:brightness(0);margin:4px 0 26px}
.wordmark.v{height:28px;margin:0 0 16px}

/* ── 실제 화면(T2) ── */
.shots{margin-top:40px}
.shot-tabs{display:flex;flex-wrap:wrap;gap:6px;list-style:none}
.shot-tabs button{font:600 13px/1 var(--mono);letter-spacing:.04em;color:var(--body);background:transparent;border:1px solid var(--line-strong);padding:9px 10px;cursor:pointer}
.shot-tabs button:hover{color:var(--high);background:var(--panel)}
.shot-tabs button[aria-selected="true"]{background:var(--high);color:#fff;border-color:var(--high)}
.shot-frame{margin-top:16px;outline:1px solid var(--line-strong);outline-offset:-1px;background:#fff}
.shot-frame img{width:100%;height:auto}
.shot-bar{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:8px 10px 8px 12px;border-bottom:1px solid var(--line);font-family:var(--sans);font-size:13px;letter-spacing:0;color:var(--caption)}
.shot-bar .zoom,.zoomd-bar button{font:600 14px/1 var(--sans);color:var(--high);background:#fff;border:1px solid var(--line-strong);padding:0 14px;min-height:40px;cursor:pointer;white-space:nowrap}
.shot-bar .zoom:hover,.zoomd-bar button:hover{background:var(--panel)}
.zoomd{border:0;padding:0;width:100vw;height:100vh;max-width:none;max-height:none;background:#fff;color:var(--high)}
.zoomd::backdrop{background:rgba(17,18,20,.6)}
.zoomd-bar{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:10px 16px;border-bottom:1px solid var(--line-strong);font-size:15px;font-weight:600}
.zoomd-body{overflow:auto;height:calc(100vh - 110px);-webkit-overflow-scrolling:touch}
.zoomd-body img{width:100%;min-width:1200px;height:auto}
.zoomd-hint{padding:10px 16px;font-size:14px;color:var(--body)}
.m-only{display:none}
.shot-cap{display:flex;justify-content:space-between;gap:16px;margin-top:10px;font-size:13px;color:var(--caption)}
.demo{display:inline-block;font-size:13px;color:var(--high);border:1px solid var(--line-strong);padding:5px 10px;white-space:nowrap}
.hint{margin-top:16px;font-size:14px;color:var(--caption)}

/* ── 3D 와이어(figure.wire) — 정적 SVG 기본, WebGL 이 첫 그림을 그리면 .live.drawn(문맥을 내려놓거나 잃으면 다시 SVG) ── */
.fig{margin-top:56px}
.fig.wire{position:relative}
.fig svg{display:block;width:100%;height:auto;overflow:visible}
.fig .fn{display:none}
.wire-live{display:none;position:relative;width:100%}
.fig.wire.live.drawn .wire-svg{display:none}
.fig.wire.live.drawn .wire-live{display:block}
.wire-live canvas{display:block;width:100%;height:100%;cursor:grab;touch-action:pan-y}
.wire-live canvas:active{cursor:grabbing}
.wire-live .ov{position:absolute;inset:0;pointer-events:none;overflow:visible}
.wire-live .wl{position:absolute;left:0;top:0;white-space:nowrap;color:#111214;font-size:14px;line-height:1.35;pointer-events:none}
.wire-live .wl b{display:block;font-size:16px;font-weight:700}
.wire-live .wl span{display:block;color:#3F4147}
.wire-live .wl.big b{font-size:22px;letter-spacing:-.02em}
.wire-live .pin{display:none}
.wire-list{display:none;list-style:none;margin-top:12px;border-top:1px solid var(--line-strong)}
.wire-list li{display:flex;gap:12px;align-items:baseline;padding:10px 0;border-bottom:1px solid var(--line);font-size:14px;line-height:1.5;color:var(--body)}
.wire-list li i{flex:none;width:20px;height:20px;background:#111214;color:#fff;font-style:normal;font-size:13px;font-weight:700;line-height:20px;text-align:center;font-family:var(--mono)}
.wire-list li b{color:var(--high);display:block;font-size:15px}

/* ── 수상 블록 — 문구는 sian_A2L_A3 첫 화면 그대로 ── */
.gaw{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));column-gap:var(--gap);align-items:center;border-top:1px solid var(--line-strong);padding:20px 0}
.gaw-marks{grid-column:1 / span 3;display:flex;align-items:center;gap:20px}
.gaw-plate{background:#FFFFFF;padding:5px;line-height:0;flex:none}
.gaw-plate img{height:66px;width:auto}
.gaw-fix{height:36px;width:auto;flex:none}
.gaw-txt{grid-column:4 / span 9}
.gaw-txt ul{list-style:none;display:flex;flex-wrap:wrap;gap:4px 0;font-size:15px;font-weight:700;color:var(--high)}
.gaw-txt li:not(:last-child)::after{content:"·";color:var(--caption);margin:0 10px;font-weight:400}
.gaw-txt .cta-legal{margin-top:6px;font-size:11.5px;line-height:1.5;color:var(--caption);max-width:80em}
.gaw-txt ul.sel{margin-top:8px;padding-top:8px;border-top:1px solid var(--line);font-weight:500;color:var(--body);font-size:14px}

/* ── 도입 진단 띠 — 문구는 sian_A2L_A3 10장면 · 맺음 그대로 ── */
.gband{background:var(--panel);border-top:1px solid var(--line-strong);padding:104px 0 112px}
.gband .ttl{grid-column:1 / span 6}
.gband .ttl h2{font-size:clamp(32px,3.9vw,58px);line-height:1.12;letter-spacing:-.045em;font-weight:700;color:var(--high);max-width:12em}
.gband .ttl p{margin-top:28px;max-width:30em;font-size:18px}
.gband .ttl p.gband-sub{margin-top:22px;font-size:20px;line-height:1.5;font-weight:600;color:var(--high)}
.gband .ttl p.gband-sub + p{margin-top:14px}
.gband .ttl .btn{margin-top:36px}
.gband .steps{grid-column:8 / span 5;align-self:end}
.gband .steps .mono{display:block;margin-bottom:14px;color:var(--high)}
.gband ol{list-style:none;border-top:1px solid var(--line-strong)}
.gband li{display:grid;grid-template-columns:2.2em 1fr;padding:14px 0;border-bottom:1px solid var(--line)}
.gband li span{font-family:var(--mono);font-size:14px;color:var(--caption)}
.gband li b{display:block;font-size:18px}
.gband li b a:hover{text-decoration:underline;text-underline-offset:3px}
.gband .steps .eb{display:block;margin-bottom:14px;color:var(--high);font-size:14px}
.gband li em{font-style:normal;font-size:15px}

/* ── 바닥 ── */
.gf{border-top:1px solid var(--line-strong);padding:0 0 48px;font-size:14px;color:var(--caption)}
.gf .gaw{border-top:0;padding:28px 0 32px;border-bottom:1px solid var(--line)}
.gf-main{padding-top:40px}
.gf-co{grid-column:1 / span 5;line-height:1.9}
.gf-co .gh-logo{display:inline-block;margin-bottom:18px}
.gf-co .gh-logo img{height:18px}
.gf-co b{color:var(--body);font-weight:600}
.gf-co a{color:var(--body);text-decoration:underline;text-decoration-color:var(--line-strong);text-underline-offset:3px}
.gf-col{grid-column:span 3}
.gf-col:first-of-type{grid-column:7 / span 3}
.gf-col .eb{color:var(--high);margin-bottom:10px}
.gf-col ul{list-style:none;font-size:15px;color:var(--body)}
.gf-col li a{display:inline-block;padding:4px 0}
.gf-col a:hover{color:var(--high);text-decoration:underline;text-underline-offset:3px}
.gf-bot{margin-top:40px;display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap}
.gf-bot .copy{font-family:var(--mono);font-size:12px;letter-spacing:.06em}
.gf-lang{display:flex;gap:4px;font-size:13px}.gf-lang a{padding:10px 12px 10px 0}
.gf-co .gf-brand{line-height:1.7;margin-bottom:14px;color:var(--body)}.gf-co .gf-brand b{display:block;color:var(--high)}
.gf-bot a{color:var(--body)}

/* ── T4 사전 · T6 문서 — 라이브 원본 마크업(글자 불변)에 입히는 틀 ── */
.t4 .page-hero,.t6 .page-hero{padding:56px 0 48px;border-bottom:1px solid var(--line-strong)}
.t4 .page-hero .wrap > *,.t6 .page-hero .wrap > *{max-width:var(--measure)}
.t4 .page-hero .k,.t6 .page-hero .k{font-family:var(--sans);font-size:13px;font-weight:600;letter-spacing:0;color:var(--caption)}
.t4 .page-hero .k a{text-decoration:underline;text-underline-offset:3px}
.t4 .page-hero h1,.t6 .page-hero h1{margin-top:20px;font-size:clamp(34px,4vw,56px);line-height:1.12;letter-spacing:-.04em;font-weight:800;color:var(--high)}
.t4 .page-hero h1 .thin{display:block;margin-top:8px;font-size:.42em;letter-spacing:-.02em;color:var(--caption);font-weight:600}
.t4 .page-hero .sub,.t6 .page-hero .sub{margin-top:24px;font-size:19px;line-height:1.65;color:var(--high);font-weight:500}
.t4 .page-hero .meta{margin-top:20px;font-size:13px;color:var(--caption)}
.t4 section,.t6 section{padding:56px 0;border-top:1px solid var(--line)}
.t4 .page-hero + section{border-top:0}
.t4 section .wrap,.t6 section .wrap{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));column-gap:var(--gap)}
.t4 section .wrap > *{grid-column:4 / span 7;min-width:0}
.t4 section .wrap > .sec-head{grid-column:1 / span 3;grid-row:1 / span 9;align-self:start}
.t4 .sec-head{display:flex;flex-direction:column;gap:10px}
.t4 .sec-head .idx{font-family:var(--mono);font-size:12px;letter-spacing:.06em;color:var(--caption)}
.t4 .sec-head .idx b{display:block;font-family:var(--mono);font-weight:400;font-size:36px;line-height:1;color:var(--high);margin-bottom:10px;letter-spacing:-.02em}
.t4 .sec-head .note{font-size:14px;color:var(--body)}
.t4 .dtable{width:100%;border-collapse:collapse;font-size:17px;border-top:1px solid var(--line-strong)}
.t4 .dtable th{font-size:13px;font-weight:500;color:var(--caption);text-align:left;padding:12px 16px 12px 0;border-bottom:1px solid var(--line-strong)}
.t4 .dtable td{padding:16px 16px 16px 0;border-bottom:1px solid var(--line);vertical-align:top}
.t4 .dtable td.k{color:var(--high);font-weight:700;width:5.5em;white-space:nowrap}
.t4 .dx-out{display:flex;flex-wrap:wrap;gap:12px 28px}
.t4 .link-more{color:var(--high);font-weight:600;font-size:16px;border-bottom:1px solid var(--line-strong);padding-bottom:2px}
.t4 .link-more:hover{border-bottom-color:var(--high)}
.t4 .to-prod{margin-top:20px;font-size:16px;font-weight:600}
.t4 .dtable{max-width:680px}
.t4 .dx-detail{max-width:680px;font-size:17.5px;line-height:1.8}
.t4 .dx-detail h3{margin-top:48px;font-size:24px;line-height:1.35;letter-spacing:-.02em;color:var(--high);font-weight:700}
.t4 .dx-detail h3:first-child{margin-top:0}
.t4 .dx-detail p{margin-top:16px}
.t4 .dx-detail ul{margin-top:16px;list-style:none;border-top:1px solid var(--line)}
.t4 .dx-detail li{padding:12px 0 12px 18px;border-bottom:1px solid var(--line);position:relative}
.t4 .dx-detail li::before{content:"";position:absolute;left:0;top:25px;width:8px;height:1px;background:var(--high)}
.t4 .dx-detail figure{margin-top:32px}
.t4 .dx-detail figure img{width:100%;height:auto;outline:1px solid var(--line-strong);outline-offset:-1px}
.t4 .dx-detail figcaption{margin-top:10px;font-size:13.5px;line-height:1.6;color:var(--caption)}
.t4 .ledger{margin-top:0}
.t4 .ledger-row{display:grid;grid-template-columns:7.5em 9em 1fr;column-gap:20px;padding:18px 0;border-bottom:1px solid var(--line);font-size:16px}
.t4 .ledger-row .no{font-size:13px;color:var(--caption);padding-top:3px}
.t4 .ledger-row .name a{color:var(--high);font-weight:700;font-size:17px;text-decoration:underline;text-decoration-color:var(--line-strong);text-underline-offset:4px}
.t4 .ledger-row .spec{grid-column:3;margin-top:6px;font-family:var(--sans);font-size:13px;letter-spacing:0;color:var(--caption)}
.t4 .cta-band{background:var(--panel);border-top:1px solid var(--line-strong);padding:88px 0}
.t4 .cta-band .row{display:flex;justify-content:space-between;align-items:flex-end;gap:32px;flex-wrap:wrap}
.t4 .cta-band .wrap > .row{grid-column:1 / -1}
.t4 .cta-band h2{font-size:clamp(28px,3.4vw,48px);line-height:1.2;letter-spacing:-.04em;font-weight:700;color:var(--high)}
.t4 .cta-band p{margin-top:14px;font-size:18px}
.t6 section .wrap > *{grid-column:3 / span 8;min-width:0}
.t6 .page-hero .wrap{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));column-gap:var(--gap)}
.t6 .page-hero .wrap > *{grid-column:3 / span 8}
.t6 .legal-wrap{font-size:16.5px;line-height:1.8}
.t6 .legal-wrap > *{max-width:var(--measure)}
.t6 .legal-wrap h2{margin-top:48px;padding-top:20px;border-top:1px solid var(--line-strong);font-size:21px;line-height:1.4;letter-spacing:-.02em;color:var(--high);font-weight:700}
.t6 .legal-wrap h2:first-child{margin-top:0}
.t6 .legal-wrap p{margin-top:14px}
.t6 .legal-wrap ul{margin-top:14px;padding-left:1.2em}
.t6 .legal-wrap li{margin-top:6px}
.t6 .legal-wrap table{margin-top:18px;width:100%;border-collapse:collapse;font-size:15px;line-height:1.65}
.t6 .legal-wrap th{font-size:13px;font-weight:500;color:var(--caption);text-align:left;padding:10px 14px 10px 0;border-bottom:1px solid var(--line-strong);vertical-align:bottom}
.t6 .legal-wrap td{padding:12px 14px 12px 0;border-bottom:1px solid var(--line);vertical-align:top}
.t6 .legal-wrap td:first-child{color:var(--high);font-weight:600;width:28%}
.t6 .legal-wrap .eff{margin:0 0 32px;padding:14px 0;border-top:1px solid var(--line-strong);border-bottom:1px solid var(--line);font-size:14px;color:var(--body)}
.t6 .toc{margin-bottom:24px}
.t6 .toc ul{margin-top:8px;padding-left:0;list-style:none;columns:2;column-gap:32px;font-size:15px}
.t6 .toc li{margin-top:4px;break-inside:avoid}
.t6 .toc a{text-decoration:underline;text-decoration-color:var(--line-strong);text-underline-offset:3px}

/* ── 좁은 화면(390 기준) ── */
@media (max-width:960px){
  :root{--gut:16px;--gap:16px}
  body{font-size:17px}
  .grid{grid-template-columns:repeat(4,minmax(0,1fr))}
  .grid > *{grid-column:1 / -1 !important}
  .gh-nav,.gh-in > .gh-lang{display:none}
  .gh-in{height:56px;gap:10px}
  .gh-logo{margin-right:auto}
  .gh-in .btn{padding:9px 11px;font-size:13px}
  .gh-menu{display:block}
  .ph{padding-bottom:48px}
  .ph-row{margin-top:32px}
  .ph h1{font-size:clamp(32px,9vw,44px);line-height:1.18}
  .ph .sub{font-size:17px}
  .seat p{font-size:17px}
  .stages{display:none}
  .m-only{display:inline}
  .zoomd-body{height:calc(100vh - 130px)}
  .shot1 figcaption{flex-direction:column;gap:6px}
  .gf-col,.gf-col:first-of-type{grid-column:1 / -1 !important;margin-top:28px}
  .t6 .toc ul{columns:1}
  .t4 .dtable,.t4 .dtable tbody,.t4 .dtable tr,.t4 .dtable td,.t4 .dtable th{display:block;width:auto !important}
  .t4 .dtable tr{padding:12px 0;border-bottom:1px solid var(--line)}
  .t4 .dtable td,.t4 .dtable th{border:0;padding:2px 0}
  .t4 .dtable tr:first-child th{display:none}
  .scene{padding:56px 0 72px}
  .folio{flex-direction:row;align-items:baseline;gap:14px;margin-bottom:24px}
  .folio .no{font-size:32px}
  .scene h2{font-size:clamp(26px,7.2vw,36px);line-height:1.28}
  .lead{margin-top:20px;font-size:17px}
  .say{margin-top:36px;font-size:20px}
  .fig{margin-top:36px}
  .fig .fw{display:none}
  .fig .fn{display:block}
  .wire-live .wl,.wire-live .ov{display:none}
  .wire-live .pin{display:block;position:absolute;left:0;top:0;width:22px;height:22px;border-radius:50%;background:#111214;color:#fff;font:700 13px/22px var(--mono);text-align:center}
  .fig.wire.live.drawn .wire-list{display:block}
  .ledger{margin-top:32px}
  .ledger .row,.hist > div{grid-template-columns:1fr;row-gap:8px}
  .ledger .k,.ledger .v,.hist .y,.hist .b{grid-column:1 / -1}
  .ledger .k{font-size:17px}
  .ledger .v{font-size:16px}
  .hist .y{font-size:22px}
  .cells,.cells.c3,.cells.c2{grid-template-columns:1fr;row-gap:24px;margin-top:32px}
  .nums{grid-template-columns:1fr 1fr;column-gap:16px;row-gap:28px;margin-top:32px}
  .nums .n{font-size:clamp(28px,8.5vw,40px)}
  .nums .c{font-size:14px}
  .path{font-size:18px;flex-direction:column;align-items:flex-start;gap:8px}
  .path svg{transform:rotate(90deg);width:24px;margin-left:-4px}
  table.tb,table.tb tbody,table.tb tr,table.tb td{display:block;width:auto !important}
  table.tb thead,table.tb tr.hd,table.tb.ed tr:first-child{display:none}
  table.tb{margin-top:28px;border-top:1px solid var(--line-strong)}
  table.tb tr{padding:16px 0;border-bottom:1px solid var(--line)}
  table.tb td{border:0;padding:0}
  table.tb td+td{margin-top:8px}
  table.tb td[data-label]::before{content:attr(data-label);display:block;color:var(--caption);margin-bottom:2px;font-size:13px}
  .shot-tabs{flex-wrap:nowrap;overflow-x:auto;padding-bottom:6px;-webkit-overflow-scrolling:touch}
  .shot-tabs button{flex:none}
  .shot-cap{flex-direction:column;gap:6px}
  .cred-img{float:none;display:block;margin:0 0 10px;height:64px}
  .gaw{padding:24px 0 28px}
  .gaw{grid-template-columns:minmax(0,1fr)}
  .gaw-marks,.gaw-txt{grid-column:1 / -1}
  .gaw-marks{margin-bottom:18px}
  .gaw-plate img{height:64px}
  .gaw-fix{height:30px}
  .gaw-txt ul{flex-direction:column}
  .gaw-txt li:not(:last-child)::after{content:none}
  .gband{padding:64px 0 72px}
  .gband .steps{margin-top:44px}
  /* T4 · T6 */
  .t4 section,.t6 section{padding:40px 0}
  .t4 section .wrap > *,.t4 section .wrap > .sec-head,.t6 section .wrap > *,.t6 .page-hero .wrap > *{grid-column:1 / -1;grid-row:auto}
  .t4 section .wrap,.t6 section .wrap,.t6 .page-hero .wrap{grid-template-columns:minmax(0,1fr)}
  .t4 .sec-head{flex-direction:row;align-items:baseline;gap:12px;margin-bottom:20px}
  .t4 .sec-head .idx b{display:inline;font-size:24px;margin:0 8px 0 0}
  .t4 .dx-detail{font-size:16.5px}
  .t4 .dx-detail h3{font-size:21px;margin-top:40px}
  .t4 .ledger-row{grid-template-columns:1fr;row-gap:4px}
  .t4 .ledger-row .spec{grid-column:1}
  .t4 .cta-band{padding:56px 0}
  .t6 .legal-wrap table,.t6 .legal-wrap tbody,.t6 .legal-wrap tr,.t6 .legal-wrap td{display:block;width:auto !important}
  .t6 .legal-wrap tr:first-child{display:none}
  .t6 .legal-wrap tr{padding:12px 0;border-bottom:1px solid var(--line)}
  .t6 .legal-wrap td{border:0;padding:0}
  .t6 .legal-wrap td+td{margin-top:6px}
  .t6 .legal-wrap td[data-label]::before{content:attr(data-label);display:block;color:var(--caption);font-size:12.5px;font-weight:500}
}
@media (prefers-reduced-motion:reduce){*{transition:none !important;animation:none !important;scroll-behavior:auto !important}}
/* 4차판 — 홈 첫 화면 꼬리표(390 에서는 한국어만) · 장면 맺음 다음 쪽 링크 */
.hero-ko{display:inline;margin-left:12px;white-space:nowrap}
.next-link{margin-top:32px;font-size:16px}
@media (max-width:600px){.hero-en{display:none}.hero-ko{margin-left:0}}
/* 4차판 — LS 2.5 변경 사유 칸: 원래 크기의 1.2배까지(글자 약 14px) */
.shot1.field img{display:block;width:100%;max-width:1032px}
@media (max-width:600px){.shot1.field img{max-width:none}}
/* 5차판: 문장 끝 꼬리표는 본문 아래 따로 한 줄 · 마디 단위로만 꺾임 */
.ledger .v .eb{display:block;margin-top:10px;clear:both}
.eb.nwb{white-space:nowrap}
/* 5차판: 실제 화면 그림은 원본 배율 이하로만(늘리지 않는다) · 칸을 자른 오른쪽은 흐리게 끝내 화면이 더 있음을 보인다 */
.crop.fade-r{-webkit-mask-image:linear-gradient(to right,#000 84%,transparent);mask-image:linear-gradient(to right,#000 84%,transparent)}
.shot1.field img{max-width:860px}
@media (max-width:600px){.shot1.field img{max-width:314px;-webkit-mask-image:linear-gradient(to right,#000 84%,transparent);mask-image:linear-gradient(to right,#000 84%,transparent)}}
/* 6차판: 흐림은 그림에 마스크를 거는 대신 위에 얹은 흰 덮개로 — 지연 로딩 그림에 마스크를 걸면 크롬이 그림을 불러오지 않는다(5차 시각 FAIL) */
.crop.fade-r,.shot1.field img{-webkit-mask-image:none;mask-image:none}
.crop.fade-r::after{content:"";position:absolute;top:0;right:0;bottom:0;width:16%;background:linear-gradient(to right,rgba(255,255,255,0),#fff);pointer-events:none}
@media (max-width:600px){
  .shot1.field picture{display:block;position:relative;max-width:314px}
  .shot1.field picture::after{content:"";position:absolute;top:0;right:0;bottom:0;width:16%;background:linear-gradient(to right,rgba(255,255,255,0),#fff);pointer-events:none}
}

/* 8차판: 실제 화면 조각 — 가림 상자(.cv)는 원본 바탕색으로 문장 뒤쪽을 덮는다. LS 2.5 도 조각 방식(옛 picture 규칙이 조각 img 를 줄이지 않게) */
.crop .cv{position:absolute;display:block;pointer-events:none}
.shot1 .crop img{max-width:none!important;outline:0;-webkit-mask-image:none;mask-image:none}
.shot1 .crop + .crop{margin-top:10px}
.shot1 .crop{position:relative;overflow:hidden;outline:1px solid var(--line-strong);outline-offset:-1px;background:#fff}
.shot1 .crop img{position:absolute;height:auto}
.shot1 .crop.m-only{display:none}
@media (max-width:960px){.shot1 .crop.d-only{display:none}.shot1 .crop.m-only{display:block}}
/* 8차 보충 2: 6.2 · 6.3 한 묶음 — 데스크톱은 왼쪽 열에 글 둘, 휴대폰은 6.2 글 → 그림 → 6.3 글 */
.step.two-t{grid-template-rows:auto 1fr}
.step.two-t > .t:first-child{grid-row:1}
.step.two-t > figure{grid-row:1 / span 2}
.step.two-t > .t-sub{grid-column:1 / span 3;grid-row:2;align-self:start;padding-top:28px}
@media (max-width:960px){.step.two-t > .t:first-child,.step.two-t > figure,.step.two-t > .t-sub{grid-row:auto;grid-column:1 / -1}.step.two-t > .t-sub{padding-top:8px}}

/* 생성기 · 옛 손 쪽(body.lg) 버튼 — 앰버는 한 곳만. 옛 btn-line · 두 번째 btn-teal 은 선 버튼 */
.lg .btn-line,.lg .btn-teal ~ .btn-teal,.lg .btn-teal ~ .btn-line{background:transparent;color:var(--high);border:1px solid var(--line-strong);font-weight:600}
.lg .btn-line:hover,.lg .btn-teal ~ .btn-teal:hover{background:var(--panel)}
@media (max-width:640px){.lg .btn{white-space:normal;line-height:1.35}}

/* exhibition(전시 리플릿 쪽) — 한 section 에 절 머리가 셋이라 머리를 왼쪽 열에 겹쳐 쌓지 않고 행마다 흐르게 둔다 · 옛 다크 글자색 덮기(2026-11-23 내용 검수) */
@media (min-width:721px){
.t4 section .wrap:has(> .exh) > .sec-head{grid-column:1 / span 3;grid-row:auto;margin-top:0!important}
.t4 section .wrap:has(> .exh) > .exh{grid-column:4 / span 9;margin-top:0}
.t4 section .wrap:has(> .exh) > .sec-head ~ .sec-head,.t4 section .wrap:has(> .exh) > .sec-head ~ .sec-head + .exh{margin-top:64px!important}
}
@media (max-width:720px){  /* 휴대폰: 한 열 — 절 머리를 행 위에 쌓는다(2026-11-23 HTML 2차 재검수 2) */
.t4 section .wrap:has(> .exh) > *{grid-column:1 / -1;grid-row:auto}
.t4 section .wrap:has(> .exh) > .sec-head{flex-direction:row;align-items:baseline;flex-wrap:wrap;gap:6px 14px}
.t4 section .wrap:has(> .exh) > .sec-head .idx b{display:inline;font-size:28px;margin:0 10px 0 0}
.t4 section .wrap:has(> .exh) > .exh{margin-top:16px}
.t4 section .wrap:has(> .exh) > .sec-head ~ .sec-head{margin-top:48px!important}
.t4 section .wrap:has(> .exh) > .direct{overflow-wrap:anywhere}
}
.exh-row .nm{color:var(--high)}
.exh-row.main .nm,.exh-row .no,.exh-row .go{color:var(--high)}
.exh-row .ds{color:var(--body)}

/* 생성기 쪽 표(dtable — smart-factory-2027 등) — 휴대폰에서 표만 가로로 밀어 보게 감싼다(문서 폭은 창 폭 그대로, 2026-11-23 사용자 검수 12) */
@media (max-width:720px){
  table.dtable{display:block;max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
}

/* 선택 절 접기(details.optd — 빌더 fold) — 데스크톱은 늘 펼친 채 · 제목 그대로, 휴대폰은 제목을 눌러 펼친다(기획 §3 T2 · 2026-11-23 사용자 검수 11) */
details.optd > summary{list-style:none;display:block}
details.optd > summary::-webkit-details-marker{display:none}
@media (min-width:721px){details.optd > summary{pointer-events:none}}
@media (max-width:720px){
  details.optd > summary{cursor:pointer;position:relative;padding-right:40px}
  details.optd > summary::after{content:"펼치기 +";position:absolute;right:0;top:.35em;font-family:var(--mono);font-size:12px;letter-spacing:.04em;color:var(--body)}
  details.optd[open] > summary::after{content:"접기 −"}
  details.optd:not([open]) > summary :is(h2,h3){margin-bottom:0}
}

/* 생성기 쪽의 옛 다크 틀 글자색 덮기(2026-11-23 HTML 2차 재검수 3 · 4 — 흰 바탕에 흰 글자)
   ① 쪽 인라인 스타일이 부르는 옛 변수를 밝은 판 토큰에 연결한다(정의가 없으면 부모의 흰 글자를 물려받았다)
   ② 옛 틀이 #fff 로 박아 둔 글자를 진한 글자로 */
body.lg{--tx:var(--high);--tx2:var(--body);--sub:var(--caption);--bg2:var(--panel);--line2:var(--line-strong);
  --teal:var(--high);--teal-bright:var(--high);--faintd:var(--caption);--panel-d:var(--panel)}
body.lg .ax h3,body.lg .ax .fit b,body.lg .tier h3,body.lg .rung b,body.lg .num b,body.lg .info-tbl td b,body.lg .steps b,
body.lg .tr-row .name,body.lg .tr-rule b,
body.lg .guide-note strong,body.lg .cost-h,body.lg .cost-p strong,body.lg .biz h3,body.lg .biz-sub{color:var(--high)}
body.lg .biz-lead{color:var(--body)}
body.lg [style*="color:#fff"]:not([style*="background"]){color:var(--high)!important}
body.lg .tier .rank,body.lg .ax .badge,body.lg .rung.r1 .rl{color:#fff}
/* 숫자 칸에 「A · B」 두 낱말이면 칸이 좁을 때 가운뎃점 뒤에서 줄을 바꾼다(platform-connect 「OPC-UA · MQTT」가 옆 칸과 겹침, 2026-11-23 전수 검사) */
.nums .n:has(> .nw){white-space:normal}
/* 배포 전 정리 2: 390 흐름 줄 — 단계마다 한 줄, 단계 사이는 아래 화살표 한 줄(낱말 끊김 · 홀로 선 → 없이) */
@media (max-width:960px){p.path{font-size:0;gap:0}p.path > span{display:block;font-size:18px}p.path > span + span::before{content:"↓";display:block;margin:4px 0;color:var(--caption);font-size:16px;font-weight:400}}
/* 배포 전 정리 2: 휴대폰에서 행으로 쌓인 표의 행 제목(td.k)은 줄을 바꾼다 — nowrap 이면 오른쪽이 잘렸다(smart-factory-2027) */
@media (max-width:960px){.t4 .dtable td.k{white-space:normal}}
/* 배포 전 정리 3: 3D 장면이 열렸다 닫히는 동안 라벨 · 지시선(데스크톱 .ov · 휴대폰 배지선) · 번호 표지를 숨긴다(분해 중 라벨끼리 겹침). 멈추면 0.3초에 걸쳐 나타난다. 움직임 줄이기는 장면이 움직이지 않으므로 처음부터 보인다 */
.wire-live .wl,.wire-live > svg,.wire-live .pin{transition:opacity .3s ease}
.fig.wire.moving .wire-live .wl,.fig.wire.moving .wire-live > svg,.fig.wire.moving .wire-live .pin{opacity:0;transition:none}
/* 배포 전 정리 3: 휴대폰에서 행으로 쌓인 표(.t4 .dtable)는 칸마다 열 이름(data-label)을 작은 머리 글자로 — 「해당」 · 금액만 남지 않게(smart-factory-2027) */
@media (max-width:960px){.t4 .dtable td[data-label]::before{content:attr(data-label);display:block;color:var(--caption);font-size:13px;font-weight:500;line-height:1.5;margin:6px 0 2px}}
